diff options
author | Siddhesh Poyarekar <siddhesh@sourceware.org> | 2017-08-02 20:45:20 +0530 |
---|---|---|
committer | Siddhesh Poyarekar <siddhesh@sourceware.org> | 2017-08-02 20:45:20 +0530 |
commit | 92c3af3c140f671ea49c751368d17df2e10d0eeb (patch) | |
tree | d9528c7f8aff5b568f696bbbaa000a8480950a9e /ChangeLog.13 | |
parent | 00cdcf5a4110f7ac68651f5662693c82f7bffaca (diff) | |
download | glibc-92c3af3c140f671ea49c751368d17df2e10d0eeb.tar glibc-92c3af3c140f671ea49c751368d17df2e10d0eeb.tar.gz glibc-92c3af3c140f671ea49c751368d17df2e10d0eeb.tar.bz2 glibc-92c3af3c140f671ea49c751368d17df2e10d0eeb.zip |
Rotate ChangeLog
Diffstat (limited to 'ChangeLog.13')
-rw-r--r-- | ChangeLog.13 | 19557 |
1 files changed, 7913 insertions, 11644 deletions
diff --git a/ChangeLog.13 b/ChangeLog.13 index 241861369e..2a4620e56d 100644 --- a/ChangeLog.13 +++ b/ChangeLog.13 @@ -1,7473 +1,3896 @@ -2002-10-03 Richard Henderson <rth@redhat.com> +2001-08-15 Ulrich Drepper <drepper@redhat.com> - * sysdeps/alpha/stxncpy.S: Don't access memory beyond the source - buffer. - * sysdeps/alpha/alphaev6/stxncpy.S: Likewise. + * libio/iofwide.c (_IO_fwide): Don't reset file position to + beginning of file, really get current position. -2002-10-02 Andreas Jaeger <aj@suse.de> - Guido Guenther <agx@sigxcpu.org> +2001-08-15 Andreas Schwab <schwab@suse.de> - * sysdeps/mips/fpu/fraiseexcpt.c: Add internal definition. - * sysdeps/mips/fpu/fesetenv.c: Likewise. + * sysdeps/m68k/m68020/atomicity.h (atomic_add): Don't allow + address register for operand 0. -2002-10-03 Jakub Jelinek <jakub@redhat.com> +2001-08-14 Ulrich Drepper <drepper@redhat.com> - * sysdeps/unix/sysv/linux/net/route.h: Include bits/wordsize.h. - (struct rtentry): Make rt_pad4 6 bytes long if __WORDSIZE == 64. - * sysdeps/unix/sysv/linux/alpha/Dist: Remove net/route.h. - * sysdeps/unix/sysv/linux/alpha/net/route.h: Remove. - * sysdeps/unix/sysv/linux/ia64/Dist: Remove net/route.h. - * sysdeps/unix/sysv/linux/ia64/net/route.h: Remove. - * sysdeps/unix/sysv/linux/s390/Dist: Remove net/route.h. - * sysdeps/unix/sysv/linux/s390/net/route.h: Remove. + * stdio-common/perror.c (perror): Use _IO_fwide instead of fwide. -2002-10-03 Ulrich Drepper <drepper@redhat.com> + * libio/libio.h (_IO_fwide): Handle zero as second parameter more + efficiently in macro. - * libio/freopen.c: Don't re-set _wide_data element if the stream - is of old style which didn't have the element. - * libio/freopen64.c: Likewise. +2001-08-14 Jakub Jelinek <jakub@redhat.com> + + * resolv/nss_dns/dns-host.c (RESOLVSORT): Define. + (addrsort): New function. + * resolv/gethnamaddr.c (RESOLVSORT): Define. + +2001-08-14 Jakub Jelinek <jakub@redhat.com> + + * string/strsignal.c (free_mem): Remove. + +2001-08-14 Andreas Jaeger <aj@suse.de> + + * inet/inet_ntoa.c (free_mem): Remove, it's not used anymore. + Closes PR libc/2477, reported by Dylan Alex Simon + <dylan@dylex.caltech.edu>. + +2001-08-14 Ulrich Drepper <drepper@redhat.com> + + * locale/Makefile (aux): Add xlocale. + * locale/xlocale.c: New file. + * include/locale.c (_nl_C_locobj): Declare. + * iconv/gconv_charset.h: Use __tolower_l, __isdigit_l, __isspace_l + with _nl_C_locobj instead of tolower, isdigit, isspace. + * iconv/gconv_conf.c: Likewise. + * iconv/gconv_int.h: Likewise. + * iconv/gconv_open.c: Likewise. + + * locale/newlocale.c: Minor cleanups. + +2001-08-14 Andreas Jaeger <aj@suse.de> + + * sysdeps/ieee754/ldbl-128/w_expl.c: New file, copy from + ldbl-96/w_expl.c with tweaked constants. Patch by Stephen L + Moshier. + +2001-08-13 Ulrich Drepper <drepper@redhat.com> + + * malloc/memusage.c (me): Allow creating the output file. + + * sysdeps/unix/sysv/linux/Makefile: Remove -fkeep-inline-functions + flag for init-first. -2002-10-02 Ulrich Drepper <drepper@redhat.com> + * po/fr.po: Update from translation team. + +2001-08-13 Andreas Jaeger <aj@suse.de> + + * sysdeps/mips/machine-gmon.h (MCOUNT): Don't use delay slot for + jal since it's a macro. + Patch by Simon Gee <simong@oz.agile.tv>. + +2001-08-12 Ulrich Drepper <drepper@redhat.com> + + * iconvdata/Makefile: Add rules to build ISO-IR-209 and MAC-SAMI. + * iconvdata/iso-ir-209.c: New file. + * iconvdata/mac-sami.c: New file. + * iconvdata/gconv-modules: Add entries for ISO-IR-209 and MAC-SAMI. + * iconvdata/tst-tables.sh: Likewise. + + * posix/getopt.c: Remove store_args_and_env which is not needed since + USE_NONOPTION_FLAGS is undefined anyhow. Use __libc_argc and + __libc_argv variables. + +2001-08-12 Roland McGrath <roland@frob.com> + + * sysdeps/mach/hurd/clock.c: New file. + * sysdeps/mach/hurd/times.c: New file. + * sysdeps/mach/hurd/getclktck.c (__getclktck): Always return 1000000. + * sysdeps/mach/hurd/init-posix.c: New file. - * sysdeps/unix/sysv/linux/x86_64/Dist: Add bits/utmpx.h. - * sysdeps/unix/sysv/linux/sparc/Dist: Likewise. - * sysdeps/unix/sysv/linux/powerpc/Dist: Likewise. + * hurd/hurdlookup.c (__hurd_file_name_lookup): Comment fix. - * sysdeps/s390/s390-32/initfini.c: Avoid unterminated string literals. - * sysdeps/sh/elf/initfini.c: Likewise. +2001-08-11 Roland McGrath <roland@frob.com> + + * sysdeps/mach/hurd/bits/time.h + (CLOCK_PROCESS_CPUTIME_ID, CLOCK_THREAD_CPUTIME_ID): New macros. + * sysdeps/mach/hurd/i386/bits/time.h: File removed. + + * posix/getopt.c (nonoption_flags_max_len, nonoption_flags_len): + Make these defns conditional on [USE_NONOPTION_FLAGS]. + +2001-08-11 Ulrich Drepper <drepper@redhat.com> + + * config.h.in: Add #undef line for USE_NONOPTION_FLAGS. + * posix/getopt_init.c: Produce code only if USE_NONOPTION_FLAGS is + defined. + * posix/getopt.c: Use __getopt_nonoption_flags only if + USE_NONOPTION_FLAGS is defined. + * sysdeps/mach/hurd/i386/init-first.c: Use __getopt_clean_environment + only if USE_NONOPTION_FLAGS is defined. * sysdeps/mach/hurd/mips/init-first.c: Likewise. - * sysdeps/hppa/elf/initfini.c: Likewise. - * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h: Likewise. - -2002-10-02 Steven Munroe <sjmunroe@us.ibm.com> - Jakub Jelinek <jakub@redhat.com> - - * login/programs/utmpdump.c (print_entry): Copy up->ut_tv fields - to struct timeval temp_tv before printing to be 32-/64-bit agnostic. - * sysdeps/powerpc/bits/wordsize.h: Move to... - * sysdeps/powerpc/powerpc32/bits/wordsize.h: ...here. - (__WORDSIZE_COMPAT32): Define. - * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise. - * sysdeps/sparc/sparc32/bits/wordsize.h (__WORDSIZE_COMPAT32): - Define. - * sysdeps/sparc/sparc64/bits/wordsize.h (__WORDSIZE_COMPAT32): - Define. - * sysdeps/s390/bits/wordsize.h: Move to... - * sysdeps/s390/s390-32/bits/wordsize.h: ...here. - * sysdeps/s390/s390-64/bits/wordsize.h: Likewise. - * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Define. - * sysdeps/unix/sysv/linux/powerpc/bits/utmp.h: New file. - * sysdeps/unix/sysv/linux/powerpc/bits/utmpx.h: New file. - * sysdeps/unix/sysv/linux/sparc/bits/utmp.h: New file. - * sysdeps/unix/sysv/linux/sparc/bits/utmpx.h: New file. - * sysdeps/unix/sysv/linux/x86_64/bits/utmp.h: New file. - * sysdeps/unix/sysv/linux/x86_64/bits/utmpx.h: New file. - -2002-10-02 Jakub Jelinek <jakub@redhat.com> - - * sysdeps/alpha/dl-machine.h (elf_machine_rela): Fix comment typo. - Temporarily enable R_ALPHA_NONE relocs in ld.so. - * sysdeps/ia64/dl-machine.h (elf_machine_rela): Temporarily enable - R_IA64_NONE relocs in ld.so. - -2002-09-27 Steven Munroe <sjmunroe@us.ibm.com> - - * README.template: Minimum Linux kernel for powerpc64 is 2.4.19. - - * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h (struct ipc_perm): - Use __uint32_t and __uint64_t for __seq, __pad1, __unused[12] fields - so they are consistent between PPC32 and PPC64. - - * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__WORDSIZE != 32]: - (_STAT_VER): Define to _STAT_VER_KERNEL. - (stru stat, struct stat64): Define to match the PPC64 kernel. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions - (libc: GLIBC_2.2): Remove __xstat64, __fxstat64, and __lxstat64. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/kernel_stat.h: New file. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/fxstat64.c: New file. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/lxstat64.c: New file. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/xstat64.c: New file. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/Dist: Add kernel_stat.h. - -2002-10-02 Roland McGrath <roland@redhat.com> - - * sysdeps/unix/sysv/linux/xstatconv.c [STAT_IS_KERNEL_STAT]: - Conditionalize the function definitions on this. - * sysdeps/unix/sysv/linux/xstat.c (__xstat) [STAT_IS_KERNEL_STAT]: - Don't use xstat_conv, just fail if VERS != _STAT_VER_KERNEL. - * sysdeps/unix/sysv/linux/fxstat.c (__fxstat) [STAT_IS_KERNEL_STAT]: - Likewise. - * sysdeps/unix/sysv/linux/lxstat.c (__lxstat) [STAT_IS_KERNEL_STAT]: + * sysdeps/unix/sysv/linux/init-first.c: Likewise. + * sysdeps/arm/init-first.c: Likewise. + * sysdeps/generic/init-first.c: Likewise. + * sysdeps/i386/init-first.c: Likewise. + * sysdeps/sh/init-first.c: Likewise. + +2001-08-11 Andreas Jaeger <aj@suse.de> + + * sysdeps/ieee754/ldbl-128/e_j0l.c: New file. + Contributed by Stephen L Moshier <moshier@mediaone.net>. + +2001-08-11 Ulrich Drepper <drepper@redhat.com> + + * assert/assert.c (set_progname): Removed. + (__assert_fail): Use __progname instead of __assert_program_name. + * assert/assert-perr.c (__assert_perror_fail): Likewise. + + * malloc/malloc.c (ptmalloc_init): Don't call getenv five times. + Instead use new function next_env_entry which iterates over the + environment once. + + * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): Only set + _dl_profile_map for the right object. + + * elf/dl-reloc.c (_dl_relocate_object): Allocate l_reloc_result + only if consider_profiling is != 0, not if _dl_profile != NULL. + + * sysdeps/generic/dl-environ.c (_dl_next_ld_env_entry): Optimize a bit. + Now returns pointer to first character after "LD_". + * elf/rtld.c (process_envvars): Adjust for change above. + * sysdeps/unix/sysv/linux/dl-librecon.h (EXTRA_LD_ENVVARS): Likewise. + * sysdeps/unix/sysv/linux/i386/dl-librecon.h (EXTRA_LD_ENVVARS): Likewise. -2002-10-02 Ulrich Drepper <drepper@redhat.com> +2001-08-10 Wolfram Gloger <wg@malloc.de> - * version.h (VERSION): Bump to 2.3. + * malloc/malloc.c (grow_heap): Use mmap() rather than mprotect() + to allocate new memory, for better performance with Linux-2.4.x. - * elf/Makefile (distribute): Add tst-tlsmod1.c, tst-tlsmod2.c, - tst-tlsmod3.c, tst-tlsmod4.c, circlemod1.c, circlemod1a.c, - circlemod2.c, circlemod2a.c, circlemod3.c, circlemod3a.c, - and nodlopenmod2.c. +2001-08-10 Ulrich Drepper <drepper@redhat.com> - * login/Makefile (distribute): Add utmp-equal.h. + * posix/getopt_init.c (__getopt_clean_environment): Avoid making + the strncmp calls most of the time by testing for '_' as the first + character of the name. - * iconvdata/Makefile (distribute): Add TSCII.precomposed and - TSCII.irreversible. + * elf/dl-open.c (add_to_global): Remove stale comment. - * Make-dist (dist): Create .bz2 file. Add rule to create .bz2 files. - Also distribute xtests sources. + * elf/dl-load.c (fillin_rpath): In SUID binaries, don't mark + non-system-dirs in LD_LIBRARY_PATH as nonexisting, simply drop them. -2002-10-02 Kaz Kojima <kkojima@rr.iij4u.or.jp> + * libio/iovdprintf.c (_IO_vdprintf): Set _IO_USER_LOCK flag for + temporary stream. Don't define lock. + * libio/obprintf.c (_IO_obstack_vprintf): Likewise. + * libio/strops.c (_IO_str_init_static): Likewise. + * libio/vasprintf.c (_IO_vasprintf): Likewise. + * libio/wstrops.c (_IO_wstr_init_static): Likewise. + * libio/iovsprintf.c: Likewise. + * libio/iovsnprintf.c: Likewise. + * libio/iovswprintf.c: Likewise. + * libio/iovsscanf.c: Likewise. + * libio/iovswscanf.c: Likewise. + * stdio-common/vfprintf.c [USE_IN_LIBIO] (buffered_vfprintf): Likewise. + * libio/genops.c (_IO_no_init): Don't call _IO_lock_init if _lock + is NULL. + (_IO_default_finish): Likewise. + * libio/wgenops.c (_IO_wdefault_finish): Likewise. - * elf/elf.h: Change TLS ELF relocation numbers. - * elf/tls-macros.h: Fix code sequences for SH TLS_LD and TLS_GD - macros. - * sysdeps/sh/dl-machine.h (dl_machine_rela) [case R_SH_TLS_TPOFF32]: - Use addend. - * sysdeps/sh/elf/initfini.c: Move __fpscr_values to... - * sysdeps/sh/elf/start.S: ...here. +2001-08-10 Andreas Jaeger <aj@suse.de> -2002-10-01 Jakub Jelinek <jakub@redhat.com> + * stdio-common/stdio_ext.h: Fix typo. - * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h (MINSIGSTKSZ, - SIGSTKSZ): Changed to match kernel. - * sysdeps/unix/sysv/linux/sparc/bits/sigstack.h: New file. +2001-08-09 Ulrich Drepper <drepper@redhat.com> -2002-10-01 Carlos O'Donell <carlos@baldric.uwo.ca> + * posix/fnmatch_loop.c: Fix computation of alignment. - * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h - [__USE_GNU] (F_SETLEASE, F_GETLEASE, F_NOTIFY): New macros. - [__USE_GNU] (DN_ACCESS, DN_MODIFY, DN_CREATE, DN_DELETE, DN_RENAME, - DN_ATTRIB, DN_MULTISHOT): New macros. +2001-08-09 Isamu Hasegawa <isamu@yamato.ibm.com> -2002-02-08 Randolph Chung <tausq@debian.org> + * posix/regex.c (wcs_regex_compile): Use appropriate string + to compare with collating element. + Fix the padding for the alignment. - * sysdeps/hppa/elf/start.S: Define __data_start. +2001-08-09 Isamu Hasegawa <isamu@yamato.ibm.com> -2002-10-01 Isamu Hasegawa <isamu@yamato.ibm.com> + * locale/programs/ld-collate.c (collate_output): Exclude + characters from elem_table. + Reduce if clause to write collating elements correctly. + * posix/Makefile (tests): Add bug-regex5. + * posix/bug-regex5.c: New file. - * posix/regex_internal.c (re_string_reconstruct): Reset the member - LEN and STOP. - * posix/regexec.c (re_search_stub): Remove incorrect condition of - "range < 0". - Round RANGE in case that it is too small. +2001-08-09 Ulrich Drepper <drepper@redhat.com> -2002-10-01 Roland McGrath <roland@frob.com> + * locale/lc-time.c (_nl_parse_alt_digit): New function. + * locale/localeinfo.h: Add prototype for it. + * time/strptime.c (get_alt_number): Use _nl_parse_alt_digit to get + the value. Correct computation of hour for %OI. If no %EC given + but %Ey use numeric formular. - * config.h.in (NO_HIDDEN): New #undef. - * include/libc-symbols.h [! NO_HIDDEN]: Add this condition to - nonempty definitions of hidden_proto et al. - * configure.in: Grok --disable-hidden-plt to define NO_HIDDEN. - * configure: Regenerated. - * sysdeps/mach/hurd/configure.in: Always define NO_HIDDEN. - * sysdeps/mach/hurd/configure: Regenerated. + * dlfcn/Makefile (tststatic-ENV): Also add $(common-objpfx)elf for + ld.so. -2002-09-19 David Mosberger <davidm@hpl.hp.com> + * time/tst-strptime.c: Add tests in different locales. + * time/Makefile (tst-strptime-ENV): Define. - * sysdeps/ia64/dl-fptr.c (make_fdesc): Load address of "local" via - a 64-bit gp-relative address to enable binaries with large data - sections. +2001-08-09 Jakub Jelinek <jakub@redhat.com> -2002-09-30 Ulrich Drepper <drepper@redhat.com> + * catgets/catgets.c (catclose): Be liberal about catalog_desc in + catclose too. - * stdlib/cxa_finalize.c (__cxa_finalize): Call UNREGISTER_ATFORK - if it is defined. - * posix/Makefile (distribute): Add fork.h. - * sysdeps/generic/fork.h: New file. +2001-08-09 Ulrich Drepper <drepper@redhat.com> -2002-09-29 Bruno Haible <bruno@clisp.org> + * time/strptime.c (strptime_internal): Add handling of year + + %U/%W week + week day. + * time/tst-strptime.c: Add test case for %U and %W handling. - * sysdeps/generic/utmp_file.c (LOCKING_FAILED): New macro. - (UNLOCK_FILE): Add a label. - (getutent_r_file, internal_getut_r, getutline_r_file, pututline_file, - updwtmp_file): Shut off the alarm clock when locking failed. + * stdio-common/vfscanf.c: Fix reading of wide chars and strings if + not COMPILE_WSCANF. -2002-09-30 Isamu Hasegawa <isamu@yamato.ibm.com> + * libio/vswprintf.c (_IO_vswprintf): Fix return value handling + which is different from snprintf. + * libio/tst_swprintf.c: Add tests for too small output buffer. - * posix/regex_internal.h (re_match_context_t): Add a new member. - (re_fail_stack_ent_t): New structure. - (re_fail_stack_t): Likewise. - * posix/regexec.c (re_search_internal): Use the new member of - re_match_context_t. - Use fail stack only if it has back references and there are plural - matching candidates. - (proceed_next_node): Use fail stack if it is indicated. - (set_regs): Likewise. - (push_fail_stack): New function. - (pop_fail_stack): New function. - (check_dst_limits): Likewise. - (check_dst_limits_calc_pos): Likewise. - (search_subexp): Check the limitations on the top of subexpressions. - (sift_states_bkref): Check the limitations of the destination node. - Reuse the array sctx->sifted_states. + * stdio-common/vfscanf.c: Fix handling of %[] for COMPILE_WSCANF. + * libio/Makefile (tests): Add tst-swscanf. + * libio/tst-swscanf.c: New file. -2002-09-30 Ulrich Drepper <drepper@redhat.com> +2001-08-09 Jakub Jelinek <jakub@redhat.com> - * stdio-common/printf_fp.c: Shuffle a few lines around to help the - compiler optimizing. No semantical changes intended. + * posix/globtest.sh: Robustify tilde tests. -2002-09-30 Jakub Jelinek <jakub@redhat.com> +2001-08-09 Andreas Jaeger <aj@suse.de> - * sysdeps/ia64/strncpy.S: Only segfault in .recovery2 if some bits - from the next quad are needed. + * locale/programs/ld-ctype.c (DEFAULT): Fix expression. + (EMPTY): New. + (wctype_table_finalize): Use it. + (find_idx): Likewise. + (wctype_table_get): Likewise. -2002-09-30 Roland McGrath <roland@redhat.com> + * configure.in: Add check for GCC 3.x. - * elf/tls-macros.h (TLS_LD, TLS_GD): Use call insn, not callq. +2001-08-09 Ulrich Drepper <drepper@redhat.com> - * sysdeps/unix/x86_64/sysdep.S [USE_TLS && HAVE___THREAD] [! PIC]: - Use direct-%fs form of TLS access for errno. + * libio/wfileops.c (_IO_wfile_seekoff): Don't even try to handle + seeking with backup buffer present. + Correct determining of internal buffer position. + Reset also wide buffers if we reset the internal buffers. + * libio/iofwide.c (_IO_fwide): Always determine file offset for wide + streams. + * libio/ioseekoff.c: Catch one unimplemented case. + * libio/ftello.c: Don't abort if the wide stream has backup buffer. + * libio/ftello64.c: Likewise. + * libio/iofgetpos.c: Likewise. + * libio/iofgetpos64.c: Likewise. + * libio/ftell.c: Likewise. + * libio/Makefile (tests): Add tst-ungetwc2. + * libio/tst-ungetwc2.c: New file. - * sysdeps/unix/sysv/linux/i386/i686/sysdep.h: File removed, since - the i386 version has all the same asm now. +2001-08-08 Ulrich Drepper <drepper@redhat.com> - * sysdeps/i386/elf/configure.in: Add @GOTNTPOFF and @NTPOFF uses to - the TLS support check. - * sysdeps/i386/elf/configure: Regenerated. + * locale/elem-hash.h (elem_hash): Correct stupid mistake and + create real hash values now. + Patch by Isamu Hasegawa <isamu@yamato.ibm.com>. - * sysdeps/unix/sysv/linux/i386/sysdep.h [USE_TLS && HAVE___THREAD] - (SYSCALL_ERROR_HANDLER): Use direct-%gs form of TLS access for errno. + * libio/iofgetpos.c (_IO_new_fgetpos): Correct a few problems in + the handling of wide streams. - * sysdeps/unix/i386/sysdep.S (syscall_error) - [USE_TLS && HAVE___THREAD]: Use TLS access for errno. + * libio/ioungetwc.c (ungetwc): Orient stream first. + * libio/Makefile (tests): Add tst-ungetwc1. + * libio/tst-ungetwc1.c: New file. - * sysdeps/unix/sysv/linux/x86_64/sysdep.h - [USE_TLS && HAVE___THREAD] (SYSCALL_ERROR_HANDLER): Use TLS access. + * libio/wfileops.c (_IO_wfile_underflow): Remove incorrect test + for possible conversion using __codecvt_do_in. + * libio/Makefile (tests): Add tst-fgetws. + * libio/tst-fgetws.c: New file. - * rt/tst-aio7.c (do_test): Don't read from stdin, which could be the - terminal when the test is running in a background job. Instead, make - a pipe and read from its read half while never writing anything to it. + * libio/iofgetws.c: Use _IO_ferror_unlocked macros instead of + coding the test here. -2002-09-30 Andreas Jaeger <aj@suse.de> + * catgets/open_catalog.c: Rewrite code to assume that the function + is called at catopen time and not delayed in catgets. + * catgets/catgets.c (catopen): Call __open_catalog and fail if that + function failed. + (catgets): Remove code for delayed opening of catalog. + * catgets/catgetsinfo.h: Remove now unnecessary information from + struct catalog_info. Change __open_catalog prototype. + * catgets/gencat.c: Adjust __open_catalog call. + * catgets/test-gencat.c: Stop program if catopen failed. - * stdlib/tst-bsearch.c (main): Fix format strings. - * stdio-common/tst-rndseek.c (do_test): Likewise. - * libio/tst_swprintf.c (main): Likewise. - * catgets/tst-catgets.c (main): Likewise. - * libio/tst-fgetws.c (main): Likewise. - * posix/tst-mmap.c (main): Likewise. - * posix/bug-regex12.c (main): Likewise. - * posix/bug-regex11.c (main): Likewise. - * io/tst-getcwd.c (do_test): Likewise. + * locale/C-monetary.c (_nl_C_LC_MONETARY): Provide correct value + for CRNCYSTR. - * iconvdata/tst-e2big.c (test): Use %td in printf for ptrdiff_t. + * locale/programs/ld-messages.c (messages_finish): Provide POSIX + locale compliant default values for fields without definition. + * locale/programs/ld-time.c (time_finish): Likewise. + * locale/programs/ld-monetary.c (monetary_finish): Likewise. - * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER): - Store 4 bytes into errno, not 8 bytes. +2001-08-08 Andreas Jaeger <aj@suse.de> -2002-09-29 Ulrich Drepper <drepper@redhat.com> + * sysdeps/ieee754/ldbl-96/s_ilogbl.c (__ilogbl): Fix test for + infinity. - * posix/regexec.c (sift_states_bkref): Remove ret variable. Use - err instead. +2001-08-07 Ulrich Drepper <drepper@redhat.com> -2002-09-29 Roland McGrath <roland@redhat.com> + * sysdeps/ia64/memusage.h (GETTIME): Define using hp-timing.h + functionality. - * test-skeleton.c (timeout_handler): Use WUNTRACED flag in waitpid. - Examine the child's status and print something different if it wasn't - just killed by our SIGKILL. - (main): In the child process call setpgid to put it in its own pgrp. + * sysdeps/ia64/hp-timing.h (HP_TIMING_NOW): Fix comment. -2002-09-29 Ulrich Drepper <drepper@redhat.com> +2001-08-07 Jakub Jelinek <jakub@redhat.com> - * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): The return value - semantics for sigtimedwait is different. Rework the return value - handling and don't pass in a siginfo variable. + * malloc/memusage.c (initialized): New variable. + (init): If not yet initialized, call me(). + (me): Do all dlsym calls here. + (malloc, realloc, calloc, free): If not yet initialized, + call me(). If in the middle of initializing, return NULL or + do nothing. -2002-09-29 Roland McGrath <roland@redhat.com> +2001-08-07 Jakub Jelinek <jakub@redhat.com> - * malloc/malloc.c [! MALLOC_DEBUG] (assert): #undef before defining. + * sysdeps/unix/seekdir.c (seekdir): Set dirp->filepos. - * sysdeps/mach/hurd/Versions (ld: GLIBC_2.2.6): Add __errno_location. + * dirent/tst-seekdir.c (main): Check whether telldir right after + seekdir returns 2nd argument given to seekdir. - * sysdeps/unix/sysv/linux/x86_64/sysdep.S [USE_TLS && HAVE___THREAD]: - Define errno in .tbss. - * sysdeps/unix/x86_64/sysdep.S [USE_TLS && HAVE___THREAD]: Use TLS - access for setting errno. +2001-08-07 Franz Sirl <Franz.Sirl-kernel@lauterbach.com> - * sysdeps/unix/x86_64/sysdep.S: Store 32 bits at errno, not 64 bits. - AFAICT, it was just blind luck that the word following errno in .bss - was just alignment padding and not some other variable to be clobbered. + * dlfcn/Makefile (tststatic-ENV): Add $(common-objpfx) to + LD_LIBRARY_PATH. -2002-09-29 Jakub Jelinek <jakub@redhat.com> +2001-08-07 Andreas Jaeger <aj@suse.de> + Andreas Schwab <schwab@suse.de> + Bruno Haible <haible@clisp.cons.org> - * sysdeps/unix/sysv/linux/kernel-features.h - (__ASSUME_SETRESUID_SYSCALL): On the sparc, define to 1, not empty. + * locale/programs/3level.h (EMPTY): New macro. + (*_get, *_add, *_iterate, *_finalize): Use it instead of ~(uint32_t) 0. -2002-09-29 Jakub Jelinek <jakub@redhat.com> +2001-08-08 GOTO Masanori <gotom@debian.or.jp> - * nss/bug-erange.c (main): Don't fail if /etc/resolv.conf doesn't - exist. + * locale/iso-3166.def: Updates from latest official list. -2002-09-29 Ulrich Drepper <drepper@redhat.com> +2001-08-07 Andreas Jaeger <aj@suse.de> - * nss/Makefile: Move bug-erange from tests to xtests. + * stdlib/tst-strtod.c: Disable HUGE_VAL tests for older GCCs. -2002-09-29 Jakub Jelinek <jakub@redhat.com> + * iconv/gconv_charset.h (upstr): Add unused attribute to avoid warning. - * stdlib/longlong.h (__udiv_qrnnd): Remove PARAMS from prototype. + * libio/iopopen.c (_IO_new_proc_open): Fix typos, it's _IO_MTSAFE_IO. + (_IO_new_proc_close): Likewise. + * libio/oldiopopen.c (_IO_old_proc_open): Likewise. + (_IO_old_proc_close): Likewise. -2002-09-29 Jakub Jelinek <jakub@redhat.com> +2001-08-06 Ulrich Drepper <drepper@redhat.com> - * sysdeps/unix/sysv/linux/sparc/sysdep.h (inline_syscall0): Make asm - volatile. - (inline_syscall1, inline_syscall2, inline_syscall3, inline_syscall4, - inline_syscall5, inline_syscall6): Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h (INLINE_SYSCALL): - Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h (INLINE_SYSCALL): - Likewise. + * manual/locale.texi: Add documentation for rpmatch. + Patch by Jochen Hein <jochen@jochen.org>. -2002-09-29 Roland McGrath <roland@redhat.com> +2001-08-06 Jakub Jelinek <jakub@redhat.com> - * configure.in (libc_cv_ranlib_necessary check): Put the .o file in - the archive, not the .c file. - * configure: Regenerated. + * stdlib/strtod.c (STRTOF): Skip whole infinity, not just inf. + * stdio-common/vfscanf.c (__vfscanf): +- can be followed by i in +-Inf. -2002-09-29 Roland McGrath <roland@redhat.com> + * stdlib/tst-strtod.c (tests): Add Inf tests. + * stdio-common/tstscanf.c (main): Add tests for +- before Inf. - * configure: Regenerated after aclocal.m4 change. +2001-08-06 Ulrich Drepper <drepper@redhat.com> - * sysdeps/x86_64/sysdep.h [HAVE_ELF] (L): Define with .L##name form. - * sysdeps/unix/sysv/linux/x86_64/sysdep.h (L): Don't define it here. + * locale/weightwc.h (findidx): Change type of i to int32_t. - * sysdeps/generic/dl-lookupcfg.h [USE_TLS] (DL_LOOKUP_RETURNS_MAP): - Define it, because _dl_sym presumes it (for any platform). + * wcsmbs/wcsmbs-tst1.c (main): Avoid warning. Pretty printing. - * sysdeps/x86_64/dl-tls.h: New file. +2001-08-05 Roland McGrath <roland@frob.com> - * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Add a cast. + * sysdeps/unix/bsd/bsd4.4/bits/dirent.h (struct dirent): Rename member + d_fileno to d_ino. + (struct dirent64): Likewise. + (d_fileno): Define as macro. - * sysdeps/x86_64/elf/configure.in: New file. - * sysdeps/x86_64/elf/configure: New generated file. +2001-08-04 Roland McGrath <roland@frob.com> -2002-09-28 Roland McGrath <roland@redhat.com> + * sysdeps/mach/hurd/getrusage.c: Use TASK_EVENTS_INFO if implemented + by the microkernel (which it's not). - * elf/rtld.c (_dl_start): Fix conditional for declaring CNT. +2001-08-04 Ulrich Drepper <drepper@redhat.com> - * aclocal.m4 (LIBC_PROG_BINUTILS): Don't clobber $RANLIB with ranlib - before we check it. + * libio/fileops.c (_IO_new_file_underflow): Don't call + _IO_flush_all_linebuffered. This isn't required in any standard. + Instead flush only stdout. + * libio/wfileops.c (_IO_wfile_underflow): Likewise. -2002-09-28 Ulrich Drepper <drepper@redhat.com> +2001-08-04 Franz Sirl <Franz.Sirl-kernel@lauterbach.com> - * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add __syscall_exit - entry point. + * dlfcn/Makefile: Add rules for new testcase tststatic. + * dlfcn/tststatic.c: New file. + * dlfcn/modstatic.c: New file. -2002-09-28 Jakub Jelinek <jakub@redhat.com> +2001-08-04 Ulrich Drepper <drepper@redhat.com> - * posix/bug-regex11.c (tests): Add flags field. - (main): Avoid warnings. Use test[i].flags. Return nonzero - if any of the tests failed. - * posix/bug-regex12.c: New file. - * posix/Makefile (tests): Add bug-regex12. + * manual/summary.awk: Fix value used for FF. -2002-03-02 Thorsten Kukuk <kukuk@suse.de> + * elf/rtld.c: Correct use of __builtin_expect. - * sysdeps/unix/nice.c (nice): Use getpriority() for the return value. + * elf/dl-close.c: Remove commented-out code. -2002-09-28 Jeff Bailey <jbailey@gnu.org> + * libio/genops.c (_IO_unbuffer_write): Force streams in narrow + orientation so that conversion modules aren't used anymore. + * malloc/set-freeres.c: Call _IO_cleanup before running subfreeres + functions to avoid using wide streams afterwards. - * sysdeps/unix/sysv/sysv4/solaris2/configure.in: Delete. - * sysdeps/unix/sysv/aix/configure.in: Update comment and remove - stdio=libio setting. + * iconvdata/Makefile: Add rules to build GEORGIAN-PS and + GEORGIAN-ACADEMY. + * iconvdata/georgian-ps.c: New file. + * iconvdata/georgian-academy.c: New file. + * iconvdata/gconv-modules: Add entries for GEORGIAN-PS and + GEORGIAN-ACADEMY. + * iconvdata/tst-tables.sh: Add GEORGIAN-PS and GEORGIAN-ACADEMY. -2002-09-28 Roland McGrath <roland@redhat.com> +2001-08-03 Ulrich Drepper <drepper@redhat.com> - * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Use INTUSE for - _dl_signal_error. - * sysdeps/mips/dl-machine.h (elf_machine_runtime_link_map): Likewise. - * sysdeps/powerpc/powerpc64/dl-machine.c - (_dl_reloc_overflow): Likewise. - * sysdeps/arm/dl-machine.h (elf_machine_rel): Likewise. - (elf_machine_rela): Likewise. + * locale/programs/ld-collate (insert_value): If symbol in order + definition does not exist create it as a sequence without + associated multibyte and wide representation. -2002-09-27 Steven Munroe <sjmunroe@us.ibm.com> +2001-07-30 Roland McGrath <roland@frob.com> - * include/libc-symbols.h (__hidden_dot_weak1): Fix typo. Replace - ASM_GLOBAL_DIRECTIVE with .weak. + * sysdeps/mach/bits/libc-lock.h (__libc_cleanup_region_start): Diddle + syntax so both function and pointer-to-function arguments work right. -2002-09-28 Andreas Jaeger <aj@suse.de> +2001-08-03 Tom Rix <trix@redhat.com> - * sysdeps/unix/sysv/linux/mips/truncate64.c (truncate64): Fix - number of args to syscall. - * sysdeps/unix/sysv/linux/mips/ftruncate64.c (__ftruncate64): Likewise. - Patch by Guido Guenther <agx@sigxcpu.org>. + * config.h.in: Add HAVE_XCOFF for AIX. + * configure.in: Add --with-xcoff option. + * include/libc-symbols.h: Disable the .stabs macros. -2002-09-27 Roland McGrath <roland@redhat.com> +2001-08-03 Ulrich Drepper <drepper@redhat.com> - * sysdeps/unix/sysv/linux/x86_64/sysdep.h (__NR_pread, __NR_pwrite): - Define these to __NR_pread64, __NR_pwrite64 if not defined. + * iconvdata/8bit-gap.c: Correctly use __builtin_expect. + * iconvdata/ansi_x3.110.c: Likewise. + * iconvdata/big5.c: Likewise. + * iconvdata/euc-cn.c: Likewise. + * iconvdata/euc-jp.c: Likewise. + * iconvdata/euc-kr.c: Likewise. + * iconvdata/gb18030.c: Likewise. + * iconvdata/gbbig5.c: Likewise. + * iconvdata/gbgbk.c: Likewise. + * iconvdata/gbk.c: Likewise. + * iconvdata/ibm930.c: Likewise. + * iconvdata/ibm932.c: Likewise. + * iconvdata/ibm933.c: Likewise. + * iconvdata/ibm935.c: Likewise. + * iconvdata/ibm939.c: Likewise. + * iconvdata/ibm943.c: Likewise. + * iconvdata/iso-2022-cn.c: Likewise. + * iconvdata/iso-2022-kr.c: Likewise. + * iconvdata/iso646.c: Likewise. + * iconvdata/iso8859-1.c: Likewise. + * iconvdata/iso_6937-2.c: Likewise. + * iconvdata/iso_6937.c: Likewise. + * iconvdata/johab.c: Likewise. + * iconvdata/sjis.c: Likewise. + * iconvdata/t.61.c: Likewise. + * iconvdata/uhc.c: Likewise. + * iconvdata/unicode.c: Likewise. + * iconvdata/utf-16.c: Likewise. + * iconv/gconv_simple.c: Likewise. Convert assert() in real error + handling. - * sysdeps/unix/sysv/linux/powerpc/lchown.S - [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)]: Use this condition - on chown compatibility symbol; use compat_symbol, not symbol_version. + * iconvdata/Makefile: Add rules to build KOI8-T module. + * iconvdata/koi8-t.c: New file. + * iconvdata/gconv-modules: Add entries for KOI8-T. + * iconvdata/tst-tables.sh: Add KOI8-T. -2002-09-27 Isamu Hasegawa <isamu@yamato.ibm.com> + * locale/iso-639.def: Correct Javanese 2 letter code. Add Tonga. + Add Tigrinya. - * posix/regcomp.c (reg_free): Free the debug area. - (re_compile_internal): Allocate debug area for the input string. - (create_initial_state): Check the back references in initial states - if they are really match null string in the initial state. - (parse_reg_exp): Mark the dfa that the dfa can have plural matchings. - (parse_expression): Likewise. - (parse_bracket_exp): Likewise. - * posix/regex_internal.c (re_node_set_intersect): Remove unused - function. - (re_node_set_contains): Change to return the index of node. - * posix/regex_internal.h (re_backref_cache_entry): Change the members. - (re_match_context_t): Likewise. - (struct re_dfa_t): Likewise. - (re_sift_context_t): New structure. - * posix/regexec.c (match_ctx_clear_flag): New function. - (sift_ctx_init): Likewise. - (update_cur_sifted_state): Likewise. - (add_epsilon_src_nodes): Likewise. - (sub_epsilon_src_nodes): Likewise. - (check_subexp_limits): Likewise. - (search_subexp): Likewise. - (sift_states_bkref): Likewise. - (merge_state_array): Likewise. - (sift_states_iter_bkref): Remove unused function. - (add_epsilon_backreference): Remove unused function. - (re_search_internal): Adapt new members and interfaces. - (check_matching): Check the back references in initial states - if they are really match null string in the initial state. - (proceed_next_node): Change the evaluation of back references, - since we have real registers here. - (set_regs): Adapt new interface of proceed_next_node. - (sift_states_backward): Add invocation of update_cur_sifted_state - instead of add_epsilon_backreference. - Add a sentinel to the outermost while loop. - Move the handling of back references to sift_states_bkref function, - since we can't handle some back references (e.g. a back reference - which match NULL string) here. - (transit_state_mb): Handle the new member max_mb_elem_len. - (transit_state_bkref_loop): Move the evaluation of back references to - search_subexp function, since we can't evaluate some back references - (e.g. a back reference which can have plural matchings) here. - (match_ctx_init): Adapt the new member. - (match_ctx_add_entry): Adapt the new members. - -2002-09-25 Alan Modra <amodra@bigpond.net.au> - - * elf/do-rel.h: Define macro DO_ELF_MACHINE_REL_RELATIVE for - 'elf_machine_rel_relative' - (elf_dynamic_do_rel): Call DO_ELF_MACHINE_REL_RELATIVE macro - instead of 'elf_machine_rel_relative'. - * sysdeps/hppa/dl-machine.h: - Define macro DO_ELF_MACHINE_REL_RELATIVE for - 'elf_machine_rel_relative' with extra map parameter - required by HPPA. - (elf_machine_rela_relative): Add plt relocation changes. +2001-08-02 Ulrich Drepper <drepper@redhat.com> -2001-11-14 Matthew Wilcox <willy@debian.org> + * locale/programs/ld-collate.c (collate_read): Handle collating-element + and reorder_after following copy statement correctly. - * sysdeps/unix/sysv/linux/hppa/bits/ipc.h: New file. - * sysdeps/unix/sysv/linux/hppa/bits/msq.h: New file. - * sysdeps/unix/sysv/linux/hppa/bits/sem.h: New file. - * sysdeps/unix/sysv/linux/hppa/bits/shm.h: New file. +2001-08-02 Andreas Jaeger <aj@suse.de> -2002-09-27 Steven Munroe <sjmunroe@us.ibm.com> + * libio/bits/stdio.h (printf): Remove printf optimization since + GCC 3.0 can optimize printf. - * sysdeps/powerpc/powerpc32/Makefile: Fix typo in comment. +2001-08-02 Ulrich Weigand <uweigand@de.ibm.com> - * sysdeps/powerpc/powerpc64/Makefile - [$(build-shared) = yes] (pic-ccflag): Define it. - [$(subdir) = csu] (CFLAGS-initfini.s): Add -fpic here too. + * sysdeps/s390/s390-32/memcpy.S: Fixed incorrect use of + mvcle introduced by 2001-07-12 change. + * sysdeps/s390/s390-64/memcpy.S: Likewise. -2002-09-27 Roland McGrath <roland@redhat.com> +2001-07-31 Ulrich Drepper <drepper@redhat.com> - * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Remove - unneeded TLS cases. + * sysdeps/unix/sysv/linux/i386/getcontext.S: Don't touch the %gs + register so that contexts can be used in different threads. + * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise. + * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise. -2002-09-27 Jakub Jelinek <jakub@redhat.com> + * sysdeps/unix/sysv/linux/cmsg_nxthdr.c (__cmsg_nxthdr): Correct + test for cmsg struct size. + * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Likewise. - * elf/dl-addr.c (_dl_addr): Set dli_fbase to l_map_start - unconditionally. Set dli_fname to _dl_argv[0] only for main program. + * sysdeps/unix/sysv/linux/i386/makecontext.S: Remove unnecessary + initializations. -2002-09-27 Roland McGrath <roland@redhat.com> + * libio/iopopen.c: Add lock for proc_file_chain access. + * libio/oldiopopen.c: Add lock for old_proc_file_chain access. + Reported by Padraig Brady <Padraig@linux.ie>. - * elf/dl-addr.c (_dl_addr): Add a cast. +2001-07-31 Andreas Jaeger <aj@suse.de> - * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [USE_TLS]: Handle new - TLS relocs R_X86_64_DTPMOD64, R_X86_64_DTPOFF64, and R_X86_64_TPOFF64. + * sysdeps/unix/sysv/linux/sparc/bits/poll.h (NPOLLFILE): Removed. + * sysdeps/unix/sysv/linux/mips/bits/poll.h (NPOLLFILE): Removed. + * sysdeps/unix/sysv/linux/m68k/bits/poll.h (NPOLLFILE): Removed. + * sysdeps/unix/sysv/linux/bits/poll.h (NPOLLFILE): Removed. + * sysdeps/generic/bits/poll.h (NPOLLFILE): Removed. - * elf/elf.h (R_X86_64_DTPMOD64, R_X86_64_DTPOFF64, R_X86_64_TPOFF64, - R_X86_64_TLSGD, R_X86_64_TLSLD, R_X86_64_DTPOFF32, - R_x86_64_GOTTPOFF, R_X86_64_TPOFF32): New macros. - (R_X86_64_NUM): Update the value. + * libio/genops.c (flush_cleanup): Guard list_all_lock to allow + compilation without threads. -2002-09-24 Jakub Jelinek <jakub@redhat.com> +2001-07-30 Ulrich Drepper <drepper@redhat.com> - * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_load_address): Don't - rely on *r_offset of R_SPARC_RELATIVE reloc in .got to contain the - addend. - * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_load_address): Use - the same l_addr computation. - * sysdeps/sparc/sparc64/configure.in: Removed. - * sysdeps/sparc/sparc64/configure: Removed. - * config.h.in (SPARC64_DYNAMIC_BEFORE_GOT): Remove. + * po/fr.po: Update from translation team. -2002-09-26 Ulrich Drepper <drepper@redhat.com> +2001-07-30 Andreas Jaeger <aj@suse.de> - * elf/dynamic-link.h (elf_get_dynamic_info): Relocate DT_HASH entry - if necessary. - * elf/dl-lookup.c (_dl_setup_hash): DT_HASH entry is already relocated. - * elf/dl-addr.c (_dl_addr): Use .hash[1] entry to determine end of the - symbol table if necessary. + * sysdeps/ieee754/ldbl-128/e_atanhl.c: New file, contributed by + Stephen L Moshier. -2002-09-26 Roland McGrath <roland@redhat.com> + * posix/regex.c: Declare wcs functions only if compiling with + MBS_SUPPORT. + Don't use #elif for traditional C. - * stdlib/longlong.h: Replaced with current version from GCC mainline, - last modified 2002-09-22 Kazu Hirata <kazu@cs.umass.edu>. +2001-07-29 Mark Kettenis <kettenis@gnu.org> -2002-09-25 Andreas Jaeger <aj@suse.de> + * sysdeps/mach/hurd/recvmsg.c: New file. + * sysdeps/mach/hurd/sendmsg.c: New file. - * sysdeps/unix/sysv/linux/mips/syscalls.list: Add syscall_exit. - Patch by Guido Guenther <agx@sigxcpu.org>. +2001-07-27 Ulrich Drepper <drepper@redhat.com> + + * version.h (VERSION): Bump to 2.2.4. + + * sysdeps/mips/Dist: Remove non-existing files. + * sysdeps/mips/mips64/Dist: Likewise. + * sysdeps/mips/mipsel/Dist: Removed. + * iconv/Makefile (distribute): Add strtab.c and iconvconfig.h. + * sysdeps/generic/Dist: Add bits/link.h. + * sysdeps/unix/sysv/linux/m68k/Dist: Add sys/procfs.h. + * sysdeps/unix/sysv/aix/Dist: Add dl-support.c, dl-addr.c, and + dl-error.c. + * sysdeps/ia64/Dist: Add bits/link.h. + + * libio/vasprintf.c (_IO_vasprintf): Don't copy uninitialized byte + from stream buffer to result buffer. + Reported by Michael Meeks <michael@ximian.com>. + + * libio/Makefile: Add rules to check output of tst-fopenloc and + for memory leaks. + * libio/tst-fopenloc.c: New file. + + * iconv/gconv_cache.c (__gconv_compare_alias_cache): New function. + * iconv/gconv_int.h: Add prototype for __gconv_compare_alias_cache. + * iconv/gconv_charset.h: Replace __gconv_lookup_alias prototype with + __gconv_compare_alias prototype. + * iconv/gconv_db.c (__gconv_lookup_alias): Removed. + (__gconv_compare_alias): New function. + * locale/findlocale.c (_nl_find_locale): Use __gconv_compare_alias + instead of calling __gconv_lookup_alias twice and compare here. + +2001-07-26 Mark Kettenis <kettenis@gnu.org> + + * hurd/hurdsig.c (_hurd_internal_post_signal): Fix handling of + SA_RESETHAND and SA_NODEFER. + +2001-07-27 Ulrich Drepper <drepper@redhat.com> + + * libio/fileops.c (_IO_new_file_fopen): Correctly locate ccs= + substring. Don't handle ccs= if no descriptor was allocated. + Normalize codeset name before calling __wcsmbs_named_conv. + Initialize transliteration elements. Free step data structure. + * libio/iofclose.c (_IO_new_fclose): Correct freeing of the step data. + * libio/iofwide.c (__libio_translit): Renamed from libio_translit + and made public. Various little cleanup changes. + * wcsmbs/wcsmbsload.h (struct gconv_fcts): Add towc_nsteps and + tomb_nsteps member. + * wcsmbs/wcsmbsload.c: Add some casts to avoid warnings. + (__wcsmbs_gconv_fcts): Initialize towc_nsteps and tomb_nsteps member. + (getfct): Take additional parameter with pointer to variable where the + number of steps is stored in. Disable code which allows to use more + than one step for now. Adjust all callers. + (free_mem): New function. Frees data associated with currently + selected converters. + + * malloc/mtrace.pl: Extract addresses from DSOs. + +2001-07-26 Ulrich Drepper <drepper@redhat.com> + + * malloc/mcheck.c (checkhdr): Disable mcheck before reporting an + error. Don't run any tests if mcheck is disabled. + + * elf/dl-support.c (_dl_important_hwcaps): Avoid using malloc + early in the program. + +2001-07-27 Andreas Jaeger <aj@suse.de> + + * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.h (SC_GPRS): Fix + value following change from 2001-05-30. + + * sysdeps/s390/s390-64/bits/setjmp.h (_JMPBUF_UNWINDS): Follow + rename change from 2001-07-12 for __jmp_buf. + Patches by Ulrich Weigand <Ulrich.Weigand@de.ibm.com>. + +2001-07-26 Roland McGrath <roland@frob.com> + + * sysdeps/generic/bits/termios.h (EXTA, EXTB): Make these conditional + on __USE_MISC rather than __USE_BSD. + (B57600, B115200, B230400, B460800, B500000, B576000, B921600, + B1000000, B1152000, B1500000, B2000000, B2500000, B3000000, + B3500000, B4000000): New macros. + * sysdeps/generic/tcsetattr.c (bad_speed): Accept those values. + * termios/cfsetspeed.c (speeds): Likewise. + +2001-07-26 kaz Kojima <kkojima@rr.iij4u.or.jp> + + * sysdeps/sh/dl-machine.h (elf_machine_load_address): Don't use + multi-line strings. + (FUN_ADDR, FGR_SAVE, ELF_MACHINE_RUNTIME_TRAMPOLINE): Likewise. + (elf_machine_rela): Handle unaligned relocation. + +2001-06-07 David Mosberger <davidm@hpl.hp.com> + + * sysdeps/ia64/dl-symaddr.c (_dl_symbol_address): Update call to + __ia64_make_fptr() for new interface. + (_dl_function_address): Remove. + + * sysdeps/ia64/dl-machine.h (IA64_BOOT_FPTR_TABLE_LEN): Rename + from IA64_BOOT_FPTR_SIZE and reduce its value from 256 to 200. + (struct ia64_fdesc): Rename from struct ia64_fptr and drop "next" + pointer. Rename member "func" to "ip". + (struct ia64_fdesc_table): New type. + (__ia64_make_fptr): Change prototype. + (__ia64_init_bootstrap_fdesc_table): New function. + (ELF_MACHINE_BEFORE_RTLD_RELOC): New macro. + (__boot_ldso_fptr): Removed. + (__fptr_next): Removed. + (__fptr_root): Removed. + (__fptr_count): Removed. + (TRAMPOLINE_TEMPLATE): Fix typo in comment. Don't use multi-line + strings to avoid warning from gcc3. + (RTLD_START): Don't use multi-line strings. + (ELF_MACHINE_START_ADDRESS): Use DL_STATIC_FUNCTION_ADDRESS. + (elf_machine_fixup_plt): Update the code entry point in the + function descriptor through a "volatile" pointer to ensure proper + write ordering. + (elf_machine_rela): Simplify handling of FPTR relocs: always call + __ia64_make_fptr(). + + * sysdeps/ia64/dl-lookupcfg.h (DL_AUTO_FUNCTION_ADDRESS): New macro. + (DL_STATIC_FUNCTION_ADDRESS): Likewise. + (DL_DT_INIT_ADDRESS): Use DL_AUTO_FUNCTION_ADDRESS. + (DL_DT_FINI_ADDRESS): Likewise. -2002-09-25 Roland McGrath <roland@redhat.com> + * sysdeps/ia64/dl-fptr.c: Rewrite for better scalability and to + avoid deadlocks. - * Makeconfig (%.v.i pattern rule): Use $(CPPFLAGS). + * include/link.h: Add member machine specific "l_mach" member to + link_map. -2002-09-24 Ulrich Drepper <drepper@redhat.com> + * sysdeps/generic/bits/link.h: New file. + * sysdeps/ia64/bits/link.h: Likewise. - * sysdeps/unix/sysv/linux/configure.in: Recognize nptl add-on name. + * elf/rtld.c (_dl_start): Fix typo in comment. + (_dl_start_final): Copy new "l_mach" member from temporary to + final bootstrap map. -2002-09-24 Roland McGrath <roland@redhat.com> +2001-07-25 Ulrich Drepper <drepper@redhat.com> - * sysdeps/mach/hurd/Versions (ld: GLIBC_2.0): Move __libc_read, - __libc_write, __libc_lseek64, to ... - (ld: GLIBC_PRIVATE): ... here. + * csu/gmon-start.c: Use ENTRY_POINT_DECL if defined instead of a + declaration using ENTRY_POINT. + * sysdeps/ia64/elf/entry.h (ENTRY_POINT_DECL): New definition. - * csu/Versions: Use %include <tls.h> to get USE_TLS defined. - (libc: GLIBC_2.0) [USE_TLS && HAVE___THREAD]: Remove _errno, errno. - (libc: GLIBC_2.3) [USE_TLS && HAVE___THREAD]: Put errno here instead. - * resolv/Versions: Use %include <tls.h> to get USE_TLS defined. - (libc: GLIBC_2.0) [USE_TLS && HAVE___THREAD]: Remove _h_errno, h_errno, - and _res. - (libc: GLIBC_2.3) [USE_TLS && HAVE___THREAD]: Put h_errno, _res here. +2001-07-25 H.J. Lu <hjl@gnu.org> - * elf/tls-macros.h [__x86_64__] (TLS_LE, TLS_IE, TLS_LD, TLS_GD): - New macros for x86-64. + * csu/gmon-start.c: Include <entry.h> + (_start): Replaced with ENTRY_POINT. - * sysdeps/unix/sysv/linux/alpha/bits/time.h: File removed. - It was indentical to the linux/bits/time.h file. +2001-07-25 Mark Kettenis <kettenis@gnu.org> - * nscd/nscd_gethst_r.c (nscd_gethst_r): Add a cast to silence warning. + * sysdeps/unix/bsd/bsd4.4/bits/socket.h: New file. - * resolv/gethnamaddr.c (gethostbyaddr): Use socklen_t for SIZE. +2001-07-25 Ulrich Drepper <drepper@redhat.com> -2002-09-23 Ulrich Drepper <drepper@redhat.com> + * iconv/iconvconfig.c (main): Don't write an output file if we + have seen an error. + (write_output): Don't overwrite old cache file until we know we + have a new one. - * po/zh_CN.po: New file. + * iconv/Makefile (install-sbin): Add iconvconfig. -2002-09-23 Roland McGrath <roland@redhat.com> +2001-07-25 Jakub Jelinek <jakub@redhat.com> - * posix/unistd.h: Test [__USE_UNIX98] instead of [__USE_OPEN2K] - for gethostname declaration. + * elf/Makefile (routines): Add dl-iteratephdr and + dl-iteratephdr-static. + (elide-routines.os): Add dl-iteratephdr-static. + * elf/dl-iteratephdr.c: New file. + * elf/link.h (struct dl_phdr_info): New definition. + (dl_iterate_phdr): New prototype. + * elf/Versions (dl_iterate_phdr): Add at GLIBC_2.2.4. + * include/link.h (struct dl_phdr_info): New definition. + (dl_iterate_phdr, __dl_iterate_phdr): New prototypes. + * sysdeps/generic/dl-iteratephdr-static.c: New file. + * sysdeps/unix/sysv/linux/ia64/dl-iteratephdr-static.c: New file. - * catgets/open_catalog.c (__open_catalog): Don't use a value type - as the __builtin_expect expression, just the Boolean value. +2001-07-24 Igor Khavkine <i_khavki@alcor.concordia.ca> - * sysdeps/generic/wordexp.c (parse_glob): int -> size_t for counter. - * sysdeps/unix/sysv/linux/opensock.c (__opensock): Likewise. - * resolv/res_hconf.c (arg_service_list, parse_line): Likewise. - * iconvdata/tst-loading.c (main): Likewise. - * catgets/tst-catgets.c (main): Likewise. - * stdlib/tst-xpg-basename.c (main): Likewise. - * stdlib/tst-bsearch.c (main): Likewise. - * stdio-common/test-vfprintf.c (main): Likewise. - * stdio-common/tst-rndseek.c (do_test): Likewise. - * libio/tst_swprintf.c (main): Likewise. - * libio/tst-fgetws.c (main): Likewise. - * wcsmbs/tst-mbrtowc.c (check_ascii): Likewise. - * time/tst-posixtz.c (main): Likewise. - * time/tst-strptime.c (test_tm): Likewise. - * time/tst-strptime.c (main): Likewise. - * time/tst-getdate.c (main): Likewise. - * posix/tst-mmap.c (main): Likewise. - * posix/tst-getaddrinfo.c (do_test): Likewise. - * io/tst-getcwd.c (do_test): Likewise. - * resolv/tst-aton.c (main): Likewise. - * inet/tst-network.c (main): Likewise. - * libio/tst-fgetws.c (main): Likewise. - * sysdeps/posix/sprofil.c (add_region): int -> unsigned int for I. - * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_r): int -> unsigned int - for PTYNO. - - * stdlib/msort.c (qsort): Add a cast to silence warning. - * stdio-common/vfprintf.c (process_string_arg): Likewise. - * libio/oldfileops.c (_IO_old_do_write): Likewise. - * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Likewise. - * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise. - * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise. - * argp/argp-fmtstream.c (__argp_fmtstream_printf): Likewise. - * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise. - * sysdeps/unix/grantpt.c (grantpt): Likewise. - * libio/tst-widetext.c (main): Likewise. - * libio/tst-mmap2-eofsync.c (do_test): Likewise. - * rt/tst-aio.c (test_file): Likewise. - * rt/tst-aio64.c (test_file): Likewise. - * resolv/tst-aton.c (main): Likewise. - - * catgets/catgetsinfo.h (CATGETS_MAGIC): Use U suffix on the constant. - - * ctype/ctype.c (__ctype_tolower, __ctype_toupper): Cast to int32_t - instead of uint32_t in these macros. - -2002-09-22 Bruno Haible <bruno@clisp.org> - - * iconv/iconv_prog.c (main): Provide an error message that identifies - the wrong encoding. - - * iconvdata/tscii.c: New file. - * iconvdata/testdata/TSCII: New file. - * iconvdata/testdata/TSCII..UTF8: New file. - * iconvdata/TSCII.precomposed: New file. - * iconvdata/TSCII.irreversible: New file. - * iconvdata/gconv-modules (TSCII): New module. - * iconvdata/Makefile (modules): Add TSCII. - (distribute): Add tscii.c. - * iconvdata/tst-table-from.c (try, utf8_decode, main): Double output - buffer size. - * iconvdata/tst-tables.sh: Add TSCII. - * iconvdata/TESTS: Add TSCII. - - Revert 2002-04-18 patch. - * iconvdata/euc-jisx0213.c (EMIT_SHIFT_TO_INIT, BODY for - FROM_DIRECTION): Make the FROM direction stateful again. - * iconvdata/shift_jisx0213.c (EMIT_SHIFT_TO_INIT, BODY for - FROM_DIRECTION): Likewise. - - * iconvdata/tst-e2big.c: New file. - * iconvdata/Makefile (tests): Add tst-e2big. - -2002-09-23 Roland McGrath <roland@redhat.com> - - * elf/Makefile (test-extras): Define this instead of test-srcs. - * Makerules (all-nonlib): Include $(test-extras) too. - -2002-09-21 Carlos O'Donell <carlos@baldric.uwo.ca> - - * sysdeps/hppa/abort-instr.h: New file. - -2002-09-22 Roland McGrath <roland@frob.com> - - * sysdeps/mach/hurd/Versions (ld: GLIBC_2.0): Remove duplicate entry. - - * sysdeps/mach/hurd/dl-sysdep.c (_exit): Add alias __GI__exit. - -2002-09-22 Andreas Schwab <schwab@suse.de> - - * cppflags-iterator.mk (CPPFLAGS-$(cpp-src)): Append, not overwrite. - - * sysdeps/m68k/fpu/bits/mathinline.h (isgreater, isgreaterequal) - (isless, islessequal, islessgreater, isunordered) [GCC >= 3.1]: - Use GCC builtins. - -2002-09-21 Roland McGrath <roland@redhat.com> - - * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (_DL_HWCAP_PLATFORM): - Correct the value so it covers all platforms, and is computed - from _DL_PLATFORMS_COUNT rather than hard-wired. - From Andrew Suffield <asuffield@debian.org>. + * hurd/hurdsig.c (_hurdsig_init): Fix incorrect initialization + of pending signals. -2002-09-20 Ulrich Drepper <drepper@redhat.com> +2001-06-22 Jakub Jelinek <jakub@redhat.com> - * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path): Avoid - locking when using mount tab file. - * sysdeps/unix/sysv/linux/internal_statvfs.c: Likewise. - * sysdeps/unix/sysv/linux/statvfs.c: Include <stdio_ext.h>. - * sysdeps/unix/sysv/linux/fstatvfs.c: Likewise. + * sysdeps/powerpc/dl-machine.c (__elf_preferred_address): Prefer + gaps below main executable. - * elf/dl-init.c (_dl_init): Fix test of the size of the - preinit_array section. - (call_init): Optimize access to DT_INIT_ARRAY entry a bit. - Reported by Brian Cabral <cabral@ikuni.com>. +2001-07-22 Bruno Haible <haible@clisp.cons.org> -2002-09-20 Steven Munroe <sjmunroe@us.ibm.com> + * intl/libintl.h (ngettext, dngettext, dcngettext): Use both msgid1 + and msgid2 for printf format argument checking. - * sysdeps/powerpc/sysdep.h: Remove powerpc32 specific macros. - * sysdeps/powerpc/powerpc32/sysdep.h: New file. Define powerpc32 - specific macros copied from sysdeps/powerpc/sysdep.h. - * sysdeps/powerpc/powerpc64/sysdep.h: New file. Define powerpc64 - specific macros. - * sysdeps/unix/powerpc/sysdep.h: Include <bits/wordsize.h>. - [__WORDSIZE==64]: Include sysdeps/powerpc/powerpc64/sysdep.h. - [!__WORDSIZE==64]: Include sysdeps/powerpc/powerpc32/sysdep.h. +2001-07-24 Ulrich Drepper <drepper@redhat.com> -2002-09-19 Bruno Haible <bruno@clisp.org> + * iconv/gconv_cache.c (find_module): Don't allocate room for the + filename. Use alloca, we don't need it beyond this function. + (__gconv_release_cache): New function. + * iconv/gconv_db.c (__gconv_close_transform): Call + __gconv_release_cache after the steps are handled. + * iconv/gconv_dl.c (__gconv_find_shlib): Allocate file name in the + record as well. + * iconv/gconv_int.h: Add prototype for __gconv_release_cache. - * intl/dcigettext.c (DCIGETTEXT): Restore errno only right before - returning. + * iconv/gconv_cache.c (__gconv_lookup_cache): Catch one more + boundary case and reject it. -2002-09-17 Bruno Haible <bruno@clisp.org> +2001-07-24 Andreas Jaeger <aj@suse.de> - * sysdeps/generic/utmp-equal.h: New file, extracted from utmp_file.c. - * sysdeps/generic/utmp_file.c (setutent_file): Invalidate last_entry - also on platforms with !HAVE_UT_TYPE. - (proc_utmp_eq): Remove function. - (internal_getut_r, pututline_file): Call __utmp_equal instead. + * manual/examples/longopt.c (main): Fix which options take arguments. -2002-09-20 Bruno Haible <bruno@clisp.org> +2001-07-24 Ulrich Drepper <drepper@redhat.com> - * abi-tags: Add support for FreeBSD with ABI OS value 3. - * elf/cache.c (print_entry): Support the GNU/FreeBSD ABI tag. + * iconvdata/Makefile: Add dependencies for tst-loading test. -2002-09-20 Roland McGrath <roland@redhat.com> +2001-07-24 Andreas Jaeger <aj@suse.de> - * sysdeps/generic/gmp-mparam.h: Include <bits/wordsize.h>. - (BITS_PER_MP_LIMB, BYTES_PER_MP_LIMB, BITS_PER_LONGINT): Define in - terms of __WORDSIZE. - * sysdeps/x86_64/gmp-mparam.h: File removed. - * sysdeps/sparc/gmp-mparam.h: File removed. - * sysdeps/mips/mips64/gmp-mparam.h: File removed. - * sysdeps/ia64/gmp-mparam.h: File removed. - * sysdeps/alpha/gmp-mparam.h: File removed. + * iconv/iconvconfig.c (name_insert): Make static to avoid warning. -2002-09-20 Steven Munroe <sjmunroe@us.ibm.com> +2001-07-23 Ulrich Drepper <drepper@redhat.com> - * sysdeps/powerpc/elf/libc-start.c: Use long in place of int for argc - load, so as to work on both 32-bit and 64-bit. Remove unnecessary - casts. Align __libc_stack_end to 8 bytes. + * locale/programs/locale.c (write_locales): Disable implicit + locking for the stream. Use feof_unlocked instead of feof. -2002-09-20 Roland McGrath <roland@redhat.com> + * sysdeps/unix/sysv/linux/i386/makecontext.S: Initialize %fs, %gs, + and floating-point status as well. - * sysdeps/powerpc/fpu/s_lrint.c: Use strong_alias/weak_alias macros - instead of asm for lrintf, __lrintf aliases. + * libio/iofclose.c (_IO_new_fclose): Unlink descriptor first to + avoid deadlock. + * libio/oldiofclose.c (_IO_old_fclose): Likewise. + * libio/genops.c (_IO_un_link): Get stream lock since it's not + always done in the caller. + (_IO_link_in): Likewise. - * sysdeps/powerpc/fpu/s_lrint.c (__lrint): Change union long array to - int array for 32-/64-bit compatibility. - From Steven Munroe <sjmunroe@us.ibm.com>. + * libio/genops.c (_IO_list_all_stamp): New variable. + (_IO_un_link): Bump _IO_list_all_stamp after removing from list. + (_IO_link): Likewise for insertion. + (flush_cleanup): New function. + (_IO_flush_all): Get list_all_lock and all individual locks for the + streams. Detect and handle changes to the _IO_list_all list. + (_IO_flush_all_linebuffered): Likewise. + * sysdeps/generic/bits/stdio-lock.h: Define + _IO_cleanup_region_start_noarg. + * sysdeps/mach/hurd/bits/stdio-lock.c: Likewise. -2002-09-17 Bruno Haible <bruno@clisp.org> + * stdio-common/printf.h: Fix typo in comment. - * sysdeps/generic/ifreq.h (__if_nextreq): New function. - * sysdeps/unix/sysv/linux/ifreq.h (__if_nextreq): New function. - * sysdeps/mach/hurd/ifreq.h (__if_nextreq): New function. - * sysdeps/gnu/ifaddrs.c (getifaddrs): Use __if_nextreq - for iterating through the list of interfaces. - * resolv/res_hconf.c (_res_hconf_reorder_addrs): Likewise. + * iconv/gconv_cache.c (__gconv_lookup_cache): Handle encoding from + and to INTERNAL. + * iconv/iconvconfig.c: Create a special record for the INTERNAL + encoding name in the output file. -2002-09-20 Roland McGrath <roland@redhat.com> +2001-07-23 Jakub Jelinek <jakub@redhat.com> - * sysdeps/unix/grantpt.c (pts_name): Set errno when __ptsname_r fails. - Reported by Bruno Haible <bruno@clisp.org>. + * sunrpc/svc_tcp.c (svctcp_rendezvous_abort): New function. + (svctcp_rendezvous_op): Use it. + * sunrpc/svc_unix.c (svcunix_rendezvous_abort): New function. + (svcunix_rendezvous_op): Use it. - * sysdeps/unix/bsd/bsd4.4/isatty.c: New file. +2001-07-23 Andreas Schwab <schwab@suse.de> - * sysdeps/unix/bsd/isatty.c (__isatty): Don't save and restore errno. - * sysdeps/unix/bsd/ptsname.c (__ptsname_r): Return errno value from - isatty unmodified. Reported by Bruno Haible <bruno@clisp.org>. + * math/Makefile (CPPFLAGS-test-ifloat.c, CPPFLAGS-test-idouble.c, + CPPFLAGS-test-ildoubl.c): Renamed from CFLAGS-*. + (math-CPPFLAGS): Set this instead of CPPFLAGS. -2002-09-20 Steven Munroe <sjmunroe@us.ibm.com> +2001-07-23 Ulrich Drepper <drepper@redhat.com> - * sysdeps/powerpc/bits/setjmp.h [__WORDSIZE]: Add 64-bit jmpbuf. - * sysdeps/powerpc/bits/wordsize.h: New file. - * sysdeps/powerpc/fpu/bits/mathinline.h (lrint, lrintf): Change long - array to int array for 32-/64-bit compatibility. + * elf/elf.h: Add more definitions from Sun's latest version. -2002-09-20 Roland McGrath <roland@redhat.com> +2001-07-23 Stephen L Moshier <moshier@mediaone.net> - * login/programs/utmpdump.c: Don't include <error.h>, <errno.h>. + * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Return proper + sign for 0 input and set divide by zero exception for -1 input. + Return argument if NaN or infinity. - * sysdeps/generic/utimes.c (__utimes): Don't check TVP for null. - Reported by Bruno Haible <bruno@clisp.org>. +2001-07-23 Andreas Jaeger <aj@suse.de> - * sysdeps/generic/ifreq.h (__ifreq): Compute termination condition - before doubling RQ_LEN. - * sysdeps/unix/sysv/linux/ifreq.h (__ifreq): Likewise. - Reported by Bruno Haible <bruno@clisp.org>. + * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Add some deltas. -2002-09-18 Bruno Haible <bruno@clisp.org> +2001-07-23 Ulrich Drepper <drepper@redhat.com> - * login/logout.c (logout): Don't assume ut_time has the same size as - a time_t. - * login/logwtmp.c (logwtmp): Likewise. + * iconv/gconv_cache.c (__gconv_lookup_cache): Select correct + module for conversion direction. - * sysdeps/pthread/configure: New file, moved here from - linuxthreads/sysdeps/unix/sysv/linux/configure. +2001-07-23 Stephen L Moshier <moshier@mediaone.net> -2002-09-19 Ulrich Drepper <drepper@redhat.com> + * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Return proper + sign for 0 input. Return NaN with no exception for NaN input. - * sysdeps/unix/sysv/linux/_exit.c: Include <errno.h>. - (_exit): Don't use ABORT_INSTRUCTION if it is not defined. - Reported by Glen Nakamura <glen@imodulo.com>. +2001-07-23 Ulrich Drepper <drepper@redhat.com> -2002-09-19 Neal H. Walfield <neal@cs.uml.edu> + * iconv/gconv_builtin.h: ISO-106464/UTF-8/ transformation must + really be an alias. - * sysdeps/mach/hurd/fork.c (__fork): Do not free the signal - thread's sigstate data structure if it has been allocated. +2001-07-23 Andreas Jaeger <aj@suse.de> -2002-09-19 Roland McGrath <roland@redhat.com> + * iconv/iconvconfig.c: Include <sys/cdefs.h> and use + __attribute_malloc__ for older GCC versions. + * iconv/strtab.c: Likewise. + Add prototypes to avoid warnings. - * include/libc-symbols.h [HAVE_ASM_SET_DIRECTIVE] - [! HAVE_ASM_GLOBAL_DOT_NAME] (__hidden_dot_def1): Fix typo'd name. +2001-07-22 Roland McGrath <roland@frob.com> -2002-09-18 Ulrich Drepper <drepper@redhat.com> + * hurd/hurdsig.c (_hurd_internal_post_signal): Support SA_RESETHAND + and SA_NODEFER options. Spurred to action by Igor Khavkine. - * version.h (VERSION): Bump to 2.2.94. + * sysdeps/generic/bits/sigaction.h [__USE_UNIX98 || __USE_MISC] + (SA_NODEFER, SA_RESETHAND): New macros, same bit values as FreeBSD. + [__USE_MISC] (SA_INTERRUPT): New macro, value 0. + [__USE_MISC] (SA_NOMASK, SA_ONESHOT, SA_STACK): New macros, aliases + as in other sysdeps versions of this file. - * sysdeps/powerpc/fpu/Dist: Move fprrest.S and fprsave.S to... - * sysdeps/powerpc/powerpc32/fpu/Dist: ...here. New file. - * sysdeps/unix/sysv/linux/powerpc/Dist: Move kernel_stat.h to... - * sysdeps/unix/sysv/linux/powerpc/powerpc32/Dist: ...here. + * sysdeps/generic/bits/sigaction.h (struct sigaction): Use a union + and provide sa_handler and sa_sigaction member names as macros, as + done in other sysdeps versions of this file. + Suggested by Igor Khavkine <i_khavki@alcor.concordia.ca>. - * sysdeps/i386/Makefile: Remove obsolete db2 rules. +2001-07-23 Ulrich Drepper <drepper@redhat.com> - * sysdeps/unix/sysv/linux/Makefile: Add exit-thread.S. + * posix/regex.c: Revamp memory allocation for WCHAR functions to + not use too much stack. - * sysdeps/unix/sysv/linux/powerpc/Dist: Add ldd-rewrite.sh. +2001-07-22 Ulrich Drepper <drepper@redhat.com> - * sysdeps/unix/sysv/linux/powerpc/powerpc64/Dist: New file. + * iconv/iconvconfig.c (write_output): Update comment explaining + output format. -2002-09-19 Jakub Jelinek <jakub@redhat.com> + * elf/dl-load.c (_dl_dst_count): In SUID binaries expand $ORIGIN + if it is alone. + (_dl_dst_substitute): Likewise. - * sysdeps/wordsize-32/Makefile: New file. - * sysdeps/arm/Makefile: Removed. - * sysdeps/i386/Makefile (sysdep_routines, shared-only-routines): - Don't add divdi3 here. - * sysdeps/m68k/Makefile: Likewise. - * sysdeps/powerpc/powerpc32/Makefile: Likewise. - * sysdeps/sh/Makefile: Likewise. - * sysdeps/s390/s390-32/Makefile: Likewise. - -2002-09-18 Roland McGrath <roland@redhat.com> - - * locale/lc-ctype.c (_nl_postload_ctype): Add compat_symbol decls for - the __ctype_* compat symbols, so the relocs generated bind to the - right versioned global symbol in the shared object. - - * elf/do-rel.h (elf_dynamic_do_rel): Mask off 0x8000 bit (hidden flag) - from the value taken from the DT_VERSYM table. - * elf/dl-runtime.c (fixup, profile_fixup): Likewise. - * sysdeps/mips/dl-machine.h (__dl_runtime_resolve): Likewise. - (RESOLVE_GOTSYM): Likewise. - - * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction): - Add libc_hidden_def. - * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise. - * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise. - * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise. - * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise. - * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise. - * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise. - -2002-09-18 Ulrich Drepper <drepper@redhat.com> - - * include/signal.h: Add libc_hidden_proto for __libc_sigaction. - - * sysdeps/unix/sysv/linux/sigaction.c: If SIGCANCEL is defined - define sigaction and __sigaction as wrappers around - __libc_sigaction which rejects changing SIGCANCEL. - * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise. - - * sysdeps/unix/sysv/linux/i386/clone.S: Add support for SETTLS and - SETTID/CLEARTID. - - * signal/allocrtsig.c: Move to... - * sysdeps/generic/allocrtsig.c: ...here. New file. - -2002-09-17 Jakub Jelinek <jakub@redhat.com> - - * elf/dl-lookup.c (_dl_debug_bindings): Print TLS lookups always. - - * elf/elf.h (R_386_TLS_TPOFF, R_386_TLS_IE, R_386_TLS_GOTIE, - R_386_TLS_LE): Define. - (R_386_TLS_IE_32, R_386_TLS_LE_32, R_386_TLS_TPOFF32): Update - comments. - * sysdeps/i386/dl-machine.h (elf_machine_type_class): Return - ELF_RTYPE_CLASS_PLT for R_386_TLS_TPOFF. - (elf_machine_rel): Handle R_386_TLS_TPOFF. - (elf_machine_rela): Likewise. - Remove unnecessary RTLD_BOOTSTRAP #ifdefs. - -2002-09-17 Roland McGrath <roland@redhat.com> - - * malloc/Makefile ($(objpfx)memusagestat.o: sysincludes): Define - file-specific variable override so it compiles properly when using - --with-headers. - -2002-09-17 Steven Munroe <sjmunroe@us.ibm.com> - - Ported to PowerPC64 running Linux. - * sysdeps/powerpc/powerpc64/Dist: New file. - * sysdeps/powerpc/powerpc64/Implies: New file. - * sysdeps/powerpc/powerpc64/Makefile: New file. - * sysdeps/powerpc/powerpc64/__longjmp.S: New file. - * sysdeps/powerpc/powerpc64/atomicity.h: New file. - * sysdeps/powerpc/powerpc64/backtrace.c: New file. - * sysdeps/powerpc/powerpc64/bp-asm.h: New file. - * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: New file. - * sysdeps/powerpc/powerpc64/bsd-setjmp.S: New file. - * sysdeps/powerpc/powerpc64/dl-dtprocnum.h: New file. - * sysdeps/powerpc/powerpc64/dl-lookupcfg.h: New file. - * sysdeps/powerpc/powerpc64/dl-machine.c: New file. - * sysdeps/powerpc/powerpc64/dl-machine.h: New file. - * sysdeps/powerpc/powerpc64/memset.S: New file. - * sysdeps/powerpc/powerpc64/ppc-mcount.S: New file. - * sysdeps/powerpc/powerpc64/register-dump.h: New file. - * sysdeps/powerpc/powerpc64/setjmp.S: New file. - * sysdeps/powerpc/powerpc64/stpcpy.S: New file. - * sysdeps/powerpc/powerpc64/strchr.S: New file. - * sysdeps/powerpc/powerpc64/strcmp.S: New file. - * sysdeps/powerpc/powerpc64/strcpy.S: New file. - * sysdeps/powerpc/powerpc64/strlen.S: New file. - * sysdeps/powerpc/powerpc64/elf/bzero.S: New file. - * sysdeps/powerpc/powerpc64/elf/start.S: New file. - * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: New file. - * sysdeps/powerpc/powerpc64/fpu/s_copysignf.S: New file. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: New File. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: New file. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: New file. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/glob64.c: New file. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: New file. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list: New file. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: New file. - - * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] - (C_SYMBOL_DOT_NAME): Insure that C_SYMBOL_DOT_NAME works for - various gcc versions. Dot names required for powerpc64. - [HAVE_ASM_GLOBAL_DOT_NAME] (_weak_extern): Add .weakext '.'ed symbol. - [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias): Add .global - C_SYMBOL_DOT_NAME(alias). - [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): New macro. Same as - original strong_alias macro. - [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Add .weakext/.weak - C_SYMBOL_DOT_NAME(alias). - [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Add .symver '.'ed name. - [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Add .symver - '.'ed name. - Add comments on libc_hidden_data_def and libc_hidden_data_weak usage. - [HAVE_ASM_GLOBAL_DOT_NAME] (hidden_dot_def1): New macro. Generate - .global C_SYMBOL_DOT_NAME(alias). Otherwise an empty macro. - (hidden_def): Append hidden_dot_def1 macro to definition. - (hidden_ver): Append hidden_dot_def1 macro to definition. - (hidden_data_def): New macro. Same as original hidden_def macro. - (hidden_data_ver): New macro. Same as original hidden_ver macro. - [HAVE_ASM_GLOBAL_DOT_NAME] (hidden_dot_weak1): New macro. Generate - .weakext C_SYMBOL_DOT_NAME(alias). Otherwise an empty macro. - (hidden_weak): Append hidden_dot_weak1 macro to definition. - (hidden_data_weak): New macro. Same as original hidden_weak macro. - [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Define as .__GI_name. - Otherwise defined as __GI_name. - (libc_hidden_data_def): New macro. Use hidden_data_def. - (libc_hidden_data_weak): New macro. Use hidden_data_weak. - (libc_hidden_data_ver): New macro. Use hidden_data_ver. - (rtld_hidden_data_def): New macro. Use hidden_data_def. - (rtld_hidden_data_weak): New macro. Use hidden_data_weak. - (rtld_hidden_data_ver): New macro. Use hidden_data_ver. - (libm_hidden_data_def): New macro. Use hidden_data_def. - (libm_hidden_data_weak): New macro. Use hidden_data_weak. - (libm_hidden_data_ver): New macro. Use hidden_data_ver. - * inet/in6_addr.c: Replace libc_hidden_def with libc_hidden_data_def. - -2002-09-17 Ulrich Drepper <drepper@redhat.com> - - * include/libc-symbols.h: Change *hidden_proto macros to accept - option parameters and pass those to the attribute definition. - * include/unistd.h (_exit): Add __noreturn__ to libc_hidden_proto call. - - * include/unistd.h: Declare __libc_pause. - - * include/sys/socket.h: Declare __libc_send, __libc_recv, - __libc_sendto, __libc_sendmsg, __libc_recvmsg, and __libc_accept. - - * include/unistd.h: Declare __libc_fork. - -2002-09-17 Roland McGrath <roland@redhat.com> - - * sunrpc/xcrypt.c (passwd2des_internal): Renamed fom passwd2des. - (passwd2des): Define it as an alias. - (xencrypt, xdecrypt): Call passwd2des_internal instead of passwd2des. - -2002-09-12 Bruno Haible <bruno@clisp.org> - - * include/sys/sysctl.h (__sysctl): Add libc_hidden_proto. - * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Add libc_hidden_def. - - * include/rpc/xdr.h (xdrstdio_create): Add libc_hidden_proto. - * sunrpc/xdr_stdio.c (xdrstdio_create): Add libc_hidden_def. - -2002-09-05 Steven Munroe <sjmunroe@us.ibm.com> - - * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc64__] - (__ASSUME_TRUNCATE64_SYSCALL, __ASSUME_STAT64_SYSCALL, __ASSUME_IPC64, - __ASSUME_FCNTL64, __ASSUME_MMAP2_SYSCALL): Don't define these. - PowerPC64 does not have separate 64-bit syscalls. - -2002-09-16 Roland McGrath <roland@redhat.com> - - * sysdeps/unix/sysv/linux/powerpc/mmap64.c (__mmap64): Add a cast. - - * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h (INLINE_SYSCALL): - New macro. - - * elf/rtld.c [HP_TIMING_NONAVAIL]: Fix last change for this case. - - * include/unistd.h: Uncomment libc_hidden_proto for _exit. - * sysdeps/mach/hurd/_exit.c: Add libc_hidden_def. - * sysdeps/generic/_exit.c: Likewise. + * iconv/iconvconfig.c: Remove --verbose option. Comment out + mcheck_verbose call. + + * iconv/strtab.c (morememory): Fix little memory handling problem. + +2001-07-22 Andreas Schwab <schwab@suse.de> + + * sysdeps/unix/sysv/linux/m68k/sysdep.h (INLINE_SYSCALL): Don't + mark asm input operand as clobbered. + * sysdeps/unix/sysv/linux/m68k/brk.c (__brk): Likewise. + +2001-07-22 Ulrich Drepper <drepper@redhat.com> + + * iconv/gconv_builtin.c (struct builtin_map): Remove init and end + elements. + (BUILTIN_TRANSFORMATION): Remove Init and End parameters. + (__gconv_get_builtin_trans): Initialize __init_fct and __end_fct to + NULL. + * iconv/gconv_builtin.h: Remove NULL parameters for Init and End in + all BUILTIN_TRANSFORMATION calls. + * iconv/gconv_conf.c (BUILTIN_TRANSFORMATION): Remove Init and End + parameters. + * iconv/gconv_simple.c: Likewise. + * iconv/gconv_db.c (gen_steps): Internal converters don't have + initializers, move the code accordingly. + + * iconv/gconv_conf.c (__gconv_read_conf): Don't read configuration + file if STATIC_GCONV is defined. + + * iconv/gconv_conf.c (__gconv_path_envvar): New global variable. + (__gconv_get_path): Use it instead of call getenv. + (__gconv_read_conf): First see whether cache can be used. If yes, + don't do any work here. + * iconv/gconv_db.c (__gconv_release_step): Renamed from release_step + and exported. Change callers. + (__gconv_find_transform): First call __gconv_lookup_cache and only + continue if it signals no cache available. Remove some unnecessary + tests. + * iconv/gconv_int.h: Declare __gconv_path_envvar, __gconv_lookup_cache, + __gconv_release_step, and __gconv_loaded_cache. + * iconv/gconv_cache.c: New file. + * iconv/iconvconfig.c: New file. + * iconv/iconvconfig.h: New file. + * iconv/strtab.c: New file. + * iconv/Makefile: Add rules to build new files and programs. + +2001-07-20 Roland McGrath <roland@frob.com> + + * sysdeps/generic/device-nrs.h (DEV_TTY_P): Change argument type + from `dev_t' (st_rdev value) `const struct stat *'. + * sysdeps/unix/sysv/linux/device-nrs.h (DEV_TTY_P): Likewise. + * libio/filedoalloc.c (_IO_file_doallocate): Change caller. + * sysdeps/mach/hurd/device-nrs.h: New file. + + * libio/stdio_ext.h: Moved to ... + * stdio-common/stdio_ext.h: ... here. + * libio/Makefile (headers): Move stdio_ext.h from here ... + * stdio-common/Makefile (headers): ... to here. + * include/stdio_ext.h: New file. + * stdio/Makefile (routines): Add the stdio_ext.h functions here. + * stdio/Versions (GLIBC_2.2.4): Export the stdio_ext.h functions. + * stdio/__flbf.c: New file. + * stdio/__fbufsize.c: New file. + * stdio/__fpending.c: New file. + * stdio/__fpurge.c: New file. + * stdio/__freadable.c: New file. + * stdio/__freading.c: New file. + * stdio/__fsetlocking.c: New file. + * stdio/__fwritable.c: New file. + * stdio/__fwriting.c: New file. + +2001-07-20 Ulrich Drepper <drepper@redhat.com> + Andreas Jaeger <aj@suse.de> + + * elf/ldconfig.c (search_dir): Avoid use of uninitialized memory. + Add a few __builtin_expect to mark unlikely error cases. + +2001-07-20 Andreas Jaeger <aj@suse.de> + + * sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Synch with kernel. + Patch by Daniel Jacobowitz <dan@debian.org>. + +2001-07-19 Ulrich Drepper <drepper@redhat.com> + + * intl/localealias.c: Remove unnecessary prototype. + + * Makefile: Add html goal. + * manual/Makefile: Likewise. -2002-09-12 Jakub Jelinek <jakub@redhat.com> +2001-07-18 Ulrich Drepper <drepper@redhat.com> - * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Regenerate. + * libio/filedoalloc.c (_IO_file_doallocate): A few more minor + cleanups and improvements. - * elf/rtld.c (struct dl_start_final_info): New. - (_dl_start_final): Change second argument to struct - dl_start_final_info *. Set start_time from info. - (_dl_start): Remove bootstrap_map variable, add info. - Define bootstrap_map as macro. If not DONT_USE_BOOTSTRAP_MAP, - store HP_TIMING_NOW result into info.start_time. +2001-07-18 Andreas Schwab <schwab@suse.de> -2002-09-16 Andreas Jaeger <aj@suse.de> + * posix/regex.c (WORDCHAR_P) [WCHAR]: Also return true for the + underscore character. - * sysdeps/unix/sysv/linux/_exit.c: Add libc_hidden_def and weak_alias - to _Exit. - * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise. +2001-07-18 Jakub Jelinek <jakub@redhat.com> -2002-09-15 Franz Sirl <Franz.Sirl-kernel@lauterbach.com> + * malloc/malloc (new_heap): Don't call munmap for zero length. - * sysdeps/powerpc/abort-instr.h: New file. +2001-07-18 Ulrich Drepper <drepper@redhat.com> -2002-09-14 Ulrich Drepper <drepper@redhat.com> + * libio/filedoalloc.c (_IO_file_doallocate): Use DEV_TTY_P if + available to determine whether descriptor is for tty before + calling isatty. - * sysdeps/generic/libc-start.c (__libc_start_main): Remove bogus - comment. + * sysdeps/unix/sysv/linux/device-nrs.h: Define DEV_TTY_P. + * sysdeps/generic/device-nrs.h: Likewise. - * test-skeleton.c (main): Provide more information in case waitpid - fails. +2001-07-18 Andreas Jaeger <aj@suse.de> - * include/unistd.h: Declare __exit_thread. - * sysdeps/generic/libc-start.c (__libc_start_main): Remove dummy_addr. - Wrap call to main in setjmp if HAVE_CANCELBUF is defined. - * sysdeps/unix/sysv/linux/exit-thread.S: New file. - * sysdeps/unix/sysv/linux/_exit.c: New file. - * sysdeps/unix/sysv/linux/i386/_exit.S: New file. - * sysdeps/unix/sysv/linux/Makefile [subdir==posix] (sysdep_routines): - Add exit-thread. + * time/Makefile (tst-getdate-ENV): Add TZDIR to environment. - * configure.in: Add dl_iterate_phdr to test using -nostdlib. + * time/Depend: New, add dependency on timezone. -2002-09-12 Jakub Jelinek <jakub@redhat.com> + * time/tst-getdate.c: Add testcase for bug report by Hendrik + Uhlmann <HUhlmann@stn-atlas.de>. + * time/datemsk: Likewise. - * sysdeps/i386/dl-machine.h (elf_machine_rel) - (case R_386_TLS_DTPMOD32): Don't use addend. - [case R_386_TLS_TPOFF32]: Remove redundant SYM_MAP != NULL check. - (elf_machine_rela): Add support for TLS relocs. +2001-07-17 Ulrich Drepper <drepper@redhat.com> -2002-09-14 Roland McGrath <roland@redhat.com> + * elf/ldconfig.c (parse_conf): Disable implicit locking for the + stream. Remove some unnecessary initializers. - * Makefile (manual/%): Add this pattern target to the iconvdata/% rule. +2001-07-17 Andreas Jaeger <aj@suse.de> -2002-07-29 Steven Munroe <sjmunroe@us.ibm.com> + * elf/ldconfig.c: Add new variable hwcap_mask to honour LD_HWCAP_MASK. + (is_hwcap_platform): Use it. + (set_hwcap): New function to set hwcap_mask. + (main): Call set_hwcap. - * stdlib/longlong.h [_ARCH_PPC && W_TYPE_SIZE!=32]: Add powerpc64 - specific asm macros for multiple percision integer math. +2001-07-17 Jakub Jelinek <jakub@redhat.com> -2002-06-04 Steven Munroe <sjmunroe@us.ibm.com> + * time/getdate.c (__getdate_r): Initialize tm_isdst, tm_gmtoff and + tm_zone before calling strptime. - * sysdeps/generic/ldconfig.h (FLAG_POWERPC_LIB64) New macro. - * elf/cache.c (print_entry): Add case for FLAG_POWERPC_LIB64. - Remove per-machine conditionals for FLAG_* cases. - * sysdeps/unix/sysv/linux/powerpc/ldconfig.h: New file. - * sysdeps/unix/sysv/linux/powerpc/readelflib.c: New file. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/dl-cache.h: New file. +2001-07-17 Andreas Schwab <schwab@suse.de> -2002-09-10 Alan Modra <amodra@bigpond.net.au> + * sysdeps/unix/sysv/linux/m68k/getpagesize.c: Fix last change. - * csu/gmon-start.c [!TEXT_START]: Define TEXT_START if not already - defined in entry.h. - (__gmon_start__) [!ENTRY_POINT_DECL]: Use TEXT_START macro to obtain - lowest address for profiling in __monstartup call. - * sysdeps/powerpc/powerpc64/elf/entry.h: New file. +2001-07-17 Ulrich Drepper <drepper@redhat.com> -2002-09-14 Roland McGrath <roland@redhat.com> + * inet/rcmd.c (iruserfopen): Disable implicit locking for the stream. + * inet/ruserpass.c (ruserpass): Likewise. + * nss/nsswitch.c (nss_parse_file): Likewise. + * resolv/res_hconf.c (_res_hconf_init): Likewise. + * resolv/res_init.c (__res_vinit): Likewise. + * gmon/bb_exit_func.c (__bb_exit_func): Likewise. + * misc/getpass.c (getpass): Likewise. + * misc/getusershell.c (initshells): Likewise. + * misc/getttyent.c (setttyent): Likewise. + * misc/mntent_r.c (__setmntent): Likewise. + * time/getdate.c (__getdate_r): Likewise. + * time/tzfile.c (__tzfile_read): Likewise. + * iconv/gconv_conf.c (read_conf_file): Likewise. + * intl/localealias.c (read_alias_file): Disable implicit locking + for the stream. Use _unlocked functions for glibc. + * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Disable + implicit locking for the stream. + (__get_nprocs_conf): Likewise. + (phys_pages_info): Likewise. - * sysdeps/unix/sysv/linux/pread.c: __NR_pread64 may be defined - instead of __NR_pread. - * sysdeps/unix/sysv/linux/pread64.c: Likewise. - * sysdeps/unix/sysv/linux/pwrite.c: __NR_pwrite64 may be defined - instead of __NR_pwrite. - * sysdeps/unix/sysv/linux/pwrite64.c: Likewise. +2001-07-16 Ulrich Drepper <drepper@redhat.com> -2002-09-13 Roland McGrath <roland@redhat.com> + * nscd/connections.c: Print messages caused by user application + only if debug_level > 0. Add little performance improvements. + Use TEMP_FAILURE_RETRY around write calls. + * nscd/grpcache.c: Likewise. + * nscd/hstcache.c: Likewise. + * nscd/pwdcache.c: Likewise. - * manual/libc.texinfo: @ifinfo -> @ifnottex around copyright notice. +2001-07-13 H.J. Lu <hjl@gnu.org> -2002-09-13 Andreas Jaeger <aj@suse.de> + * sysdeps/mips/dl-machine.h (MAP_BASE_ADDR): Removed. + (elf_machine_got_rel): Defined only if RTLD_BOOTSTRAP is not defined. + (RESOLVE_GOTSYM): Rewrite to use RESOLVE. - * sysdeps/unix/sysv/linux/mips/syscalls.list: Add readahead - syscall. Patch by Guido Guenther <agx@sigxcpu.org>. + * sysdeps/mips/rtld-ldscript.in: Removed. + * sysdeps/mips/rtld-parms: Likewise. + * sysdeps/mips/mips64/rtld-parms: Likewise. + * sysdeps/mips/mipsel/rtld-parms: Likewise. -2002-09-12 Ulrich Drepper <drepper@redhat.com> +2001-07-16 Ulrich Drepper <drepper@redhat.com> - * elf/elf.h: Correct DT_LOOS and DT_HIOS values. + * catgets/test-gencat.sh: Use <<"EOF" instead of <<EOF to prevent + substitution in here document. -2002-09-10 Ulrich Drepper <drepper@redhat.com> +2001-07-16 Andreas Schwab <schwab@suse.de> - * sysdeps/powerpc/fpu/s_isnan.c: #undef __isnanf and isnanf after - reading the headers. + * sysdeps/posix/spawni.c: Fix typo when iterating over signal numbers. -2002-09-12 Roland McGrath <roland@redhat.com> +2001-07-16 Andreas Schwab <schwab@suse.de> - * elf/rtld.c (_dl_start_final): Move _begin, _end decls outside the fn. - (_dl_start) [DONT_USE_BOOTSTRAP_MAP]: Use &_begin instead of l_addr to - find the ELF header. + * math/libm-test.inc (check_float_internal): Fix sign bit test of + infinities. - * elf/rtld.c (dl_main) [USE_TLS]: Adjust l_tls_initimage of main - executable if needed, in case it's actually a shared object. +2001-07-16 Jakub Jelinek <jakub@redhat.com> -2002-09-11 Roland McGrath <roland@redhat.com> + * sysdeps/i386/fpu/e_expl.c (__ieee754_expl): Make it PIC friendly. - * elf/dl-load.c (_dl_map_object_from_fd): Use l_addr instead of - l_map_start to adjust l_tls_initimage. +2001-07-15 Ulrich Drepper <drepper@redhat.com> - * nss/getnssent_r.c (__nss_getent_r): Use EAGAIN instead of errno - when using h_errno and it's not set to NETDB_INTERNAL. - * nss/getXXbyYY_r.c [NEED_H_ERRNO]: Likewise. + * malloc/obstack.c: Define __attribute__ for non-gcc compilers. + Patch by Jim Meyering <jim@meyering.net>. - * Makefile ($(common-objpfx)testrun.sh): New target. - (others): Depend on it. - (postclean-generated): Append it. +2001-07-12 Martin Schwidefsky <schwidefsky@de.ibm.com> - * nss/bug-erange.c: New file. - * nss/Makefile (tests): Add it. + * sysdeps/unix/sysv/linux/s390/s390-64/bits/sigaction.h: Reorder + fields in the sigaction struct to match the definition in the kernel. - * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Return errno - instead of always EAGAIN when status is NSS_STATUS_TRYAGAIN. - - * sysdeps/generic/dl-environ.c (unsetenv): Redo last fix without - strncmp, keeps the code smaller for a non-performance-critical case. - - * sysdeps/generic/dl-environ.c (unsetenv): Rewritten using strncmp, - no longer wrongly matches arbitrary prefixes of NAME. - Reported by Jakub Jelinek <jakub@redhat.com>. - -2002-09-11 Jakub Jelinek <jakub@redhat.com> - - * posix/bug-regex11.c (tests): New array. - (main): Rewritten to run more different tests. - -2002-09-10 Roland McGrath <roland@redhat.com> - - * nscd/Makefile (CPPFLAGS-nscd, CPPFLAGS-nscd_conf, CPPFLAGS-dbg_log) - (CPPFLAGS-connections, CPPFLAGS-hstcache): Variables removed. - Instead, catch all of $(nscd-modules) via cppflags-iterator.mk. - - * sysdeps/powerpc/fpu/s_isnan.c: Do macro hackery on __GI___isnanf as - well so we don't get it declared by include/math.h's hidden_proto. - Then do hidden_proto for __isnanf locally so hidden_def works right. - - * posix/bug-regex5.c (main): Use `union locale_data_value' rather than - a cast to turn nl_langinfo return value into an integer. - -2002-09-10 Isamu Hasegawa <isamu@yamato.ibm.com> - - * posix/regexec.c (build_trtable): Fix the destination of - newline to prevent wrong states from overwriting. - Append break statements to optimization. - -2002-09-10 Isamu Hasegawa <isamu@yamato.ibm.com> - - * posix/regcomp.c: Wrap #include wchar.h and wctype.h in #if. - (build_range_exp): Add castings to strlen invocations. - (build_collating_symbol): Restore the type of characters from "char" - to "unsigned char", and supplement castings. - (build_collating_symbol): Likewise. - (build_equiv_class): Likewise. - (build_charclass): Likewise. - (seek_collating_symbol_entry): Likewise. - (parse_bracket_exp): Likewise. - (build_word_op): Supplement a casting. - * posix/regex_internal.c: Wrap #include wchar.h and wctype.h in #if. - (re_string_allocate): Fix castings. - (re_string_construct): Likewise. - (re_string_construct_common): Likewise. - (re_string_realloc_buffers): Likewise. - (build_wcs_buffer): Likewise. - (build_wcs_upper_buffer): Likewise. - (re_string_skip_chars): Likewise. - (re_string_reconstruct): Likewise. - * posix/regex_internal.h: Restore the type of characters in - re_string_t and bracket_elem_t from "char" to "unsigned char". - (re_string_elem_size_at): Fix castings. - * posix/regexec.c: Wrap #include wchar.h and wctype.h in #if. - (transit_state_bkref_loop): Restore the type of characters from - "char" to "unsigned char", and append a cast to "char*" pointer in - array subscript. - (check_node_accept_bytes): Likewise. - (find_collation_sequence_value): Likewise. - -2002-09-10 Hartvig Ekner <hartvige@mips.com> - - * sysdeps/mips/memcpy.S: New file. - * sysdeps/mips/memset.S: New file. - * sysdeps/mips/fpu/e_sqrt.c: New file. - * sysdeps/mips/fpu/e_sqrtf.c: New file. - - * fpu/fclrexcpt.c: Cleaned up the FPU exception stuff - was not - functional before. Also removed all SHLIB_COMPAT stuff. - * fpu/fegetenv.c: Likewise. - * fpu/fesetenv.c:: Likewise. - * fpu/feupdateenv.c: Likewise. - * fpu/fgetexcptflg.c: Likewise. - * fpu/fraiseexcpt.c: Likewise. - - * sysdeps/mips/fpu/fsetexcptflg.c: New file. - -2002-09-09 Jakub Jelinek <jakub@redhat.com> - - * include/math.h (__finite_internal, __finitef_internal, - __finitel_internal, __isinf_internal, __isnan_internal): Remove. - (isfinite): Remove. - (__finite, __isinf, __isnan, __finitef, __isinff, __isnanf, __finitel, - __isinfl, __isnanl): Add hidden_proto. - (__fpclassify, __fpclassifyf, __fpclassifyl, __expm1l): Add - libm_hidden_proto. - * math/Makefile (libm-calls): Add s_isinf and s_isnan. - * stdio-common/printf_fp.c (__printf_fp): Remove INTUSE from - __is{inf,nan} calls. - * stdio-common/printf_size.c (printf_size): Likewise. - * sysdeps/generic/printf_fphex.c (__printf_fphex): Likewise. - * sysdeps/generic/s_ldexp.c (__ldexp): Likewise. - * sysdeps/generic/s_ldexpf.c (__ldexpf): Likewise. - * sysdeps/generic/s_ldexpl.c (__ldexpl): Likewise. - * sysdeps/generic/s_expm1l.c (__expm1l): Add libm_hidden_def. - * sysdeps/i386/fpu/s_finite.S (__finite_internal): Remove alias. - (__finite): Add hidden_def. - * sysdeps/i386/fpu/s_finitef.S (__finitef_internal): Remove alias. - (__finitef): Add hidden_def. - * sysdeps/i386/fpu/s_finitel.S (__finitel_internal): Remove alias. - (__finitel): Add hidden_def. - * sysdeps/i386/fpu/s_isinfl.c (__isinfl): Remove INTDEF. Add - hidden_def. - * sysdeps/i386/fpu/s_isnanl.c (__isnanl): Likewise. - * sysdeps/i386/fpu/s_fpclassifyl.c (__fpclassifyl): Add - libm_hidden_def. - * sysdeps/i386/fpu/s_expm1l.S (__expm1l): Likewise. - * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Remove INTDEF. Add - hidden_def. - * sysdeps/ieee754/dbl-64/s_isinf.c (__isinf): Likewise. - (__isinfl): Remove INTDEF. - * sysdeps/ieee754/dbl-64/s_isnan.c (__isnan): Remove INTDEF. Add - hidden_def. - (__isnanl): Remove INTDEF. - * sysdeps/ieee754/dbl-64/s_fpclassify.c (__fpclassify): Add - libm_hidden_def. - * sysdeps/ieee754/dbl-64/e_lgamma_r.c (sin_pi): Use __sin and __cos - instead of sin and cos. - * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Remove INTDEF. - Add hidden_def. - * sysdeps/ieee754/flt-32/s_isinff.c (__isinff): Likewise. - * sysdeps/ieee754/flt-32/s_isnanf.c (__isnanf): Likewise. - * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf): Add - libm_hidden_def. - * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Remove INTDEF. - Add hidden_def. - * sysdeps/ieee754/ldbl-128/s_isinfl.c (__isinfl): Likewise. - * sysdeps/ieee754/ldbl-128/s_isnanl.c (__isnanl): Likewise. - * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c (__fpclassifyl): Add - libm_hidden_def. - * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Add - libm_hidden_def. - * sysdeps/ieee754/ldbl-96/s_finitel.c (__finitel): Remove INTDEF. - Add hidden_def. - * sysdeps/ieee754/ldbl-96/s_isinfl.c (__isinfl): Likewise. - * sysdeps/ieee754/ldbl-96/s_isnanl.c (__isnanl): Likewise. - * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c (__fpclassifyl): Add - libm_hidden_def. - * sysdeps/ia64/fpu/s_finite.S (__finite_internal, __finitef_internal, - __finitel_internal): Remove aliases. - (__finite, __finitef, __finitel): Add hidden_def. - * sysdeps/ia64/fpu/s_isnan.S (__isnan_internal, __isnanf_internal, - __isnanl_internal): Remove aliases. - (__isnan, __isnanf, __isnanl): Add hidden_def. - * sysdeps/ia64/fpu/s_isinf.S (__isinf_internal, __isinff_internal, - __isinfl_internal): Remove aliases. - (__isinf, __isinff, __isinfl): Add hidden_def. - * sysdeps/ia64/fpu/s_fpclassify.S (__fpclassify, __fpclassifyf, - __fpclassifyl): Add libm_hidden_def. - * sysdeps/ia64/fpu/s_expm1l.S (__expm1l): Likewise. - * sysdeps/m68k/s_isinfl.c (__isinfl): Remove INTDEF. Add hidden_def. - * sysdeps/m68k/fpu/s_isinf.c (INTDEFX): Remove. - (hidden_defx): Define and use. - * sysdeps/m68k/fpu/s_fpclassifyl.c (__fpclassifyl): Add - libm_hidden_def. - * sysdeps/m68k/fpu/s_expm1l.c (__expm1l): Likewise. - * sysdeps/m68k/s_isnanl.c (__isnanl): Add hidden_def. - * sysdeps/powerpc/fpu/s_isnan.c (__isnan, __isnanf, __isnanl): - Remove INTDEF. - (__isnan, __isnanf): Add hidden_def. - * sysdeps/x86_64/fpu/s_finitel.S (__finitel_internal): Remove alias. - (__finitel): Add libm_hidden_def. - * sysdeps/x86_64/fpu/s_expm1l.S (__expm1l): Likewise. - - * include/fenv.h (feraiseexcept, fesetenv): Add libm_hidden_proto. - * sysdeps/alpha/fpu/fesetenv.c (fesetenv): Add libm_hidden_ver. - * sysdeps/alpha/fpu/fraiseexcpt.c (feraiseexcept): Likewise. - * sysdeps/arm/fpu/fesetenv.c (fesetenv): Likewise. - * sysdeps/arm/fpu/fraiseexcpt.c (feraiseexcept): Likewise. - * sysdeps/generic/fesetenv.c (fesetenv): Likewise. - * sysdeps/generic/fraiseexcpt.c (feraiseexcept): Likewise. - * sysdeps/i386/fpu/fesetenv.c (fesetenv): Likewise. - * sysdeps/i386/fpu/fraiseexcpt.c (feraiseexcept): Likewise. - * sysdeps/m68k/fpu/fesetenv.c (fesetenv): Likewise. - * sysdeps/m68k/fpu/fraiseexcpt.c (feraiseexcept): Likewise. - * sysdeps/mips/fpu/fesetenv.c (fesetenv): Likewise. - * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Likewise. - * sysdeps/powerpc/fpu/fesetenv.c (fesetenv): Likewise. - * sysdeps/powerpc/fpu/fraiseexcpt.c (feraiseexcept): Likewise. - * sysdeps/sparc/fpu/fesetenv.c (fesetenv): Likewise. - * sysdeps/sparc/fpu/fraiseexcpt.c (feraiseexcept): Likewise. - * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Add libm_hidden_def. - * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise. - * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Likewise. - * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Likewise. - * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise. - * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise. - * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise. - * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Likewise. - * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Likewise. - * sysdeps/x86_64/fpu/fraiseexcpt.c (feraiseexcept): Likewise. - -2002-09-09 Steven Munroe <sjmunroe@us.ibm.com> - - * elf/elf.h: Add powerpc64 specific elf relocation and dynamic types. - -2002-09-09 Jakub Jelinek <jakub@redhat.com> - - * elf/dl-error.c (_dl_signal_cerror): Don't print anything if only - LD_DEBUG=statistics or LD_TRACE_PRELINKING. - -2002-09-09 Ulrich Drepper <drepper@redhat.com> - - * string/stratcliff.c: Some more strncpy tests. - Patch by Daniel Jacobowitz <drow@mvista.com>. - -2002-09-08 Roland McGrath <roland@redhat.com> - - * resolv/resolv.h: Include <sys/types.h> for u_long even in - the [__need_res_state] case. - Reported by Bruno Haible <bruno@clisp.org>. - -2002-09-04 Bruno Haible <bruno@clisp.org> - - * sysdeps/generic/bits/ustat.h: Comment fix. - * io/sys/sendfile.h: Comment fix. - * sysdeps/posix/pread.c: Comment fix. - * sysdeps/posix/pread64.c: Comment fix. - * sysdeps/posix/pwrite.c: Comment fix. - * sysdeps/posix/pwrite64.c: Comment fix. - -2002-09-06 Roland McGrath <roland@redhat.com> - - * posix/sys/utsname.h (_UTSNAME_SYSNAME_LENGTH): New macro, defined - to _UTSNAME_LENGTH if not already defined by <bits/utsname.h>. - (_UTSNAME_RELEASE_LENGTH, _UTSNAME_VERSION_LENGTH): Likewise. - (_UTSNAME_MACHINE_LENGTH): Likewise. - (struct utsname): Use new macros instead of _UTSNAME_LENGTH. - -2002-09-06 Ulrich Drepper <drepper@redhat.com> - - * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Correct - test for filesystem type name of mount points. - - * include/errno.h: Use errno definition with __thread for now only - in libc and ld.so. - - * test-skeleton.c (main): Improve error message for unexpected - signal case. - -2002-09-05 Roland McGrath <roland@redhat.com> - - * ctype/ctype-info.c: Renamed __ctype_old_* symbols to __ctype_*. - * locale/lc-ctype.c (_nl_postload_ctype): Likewise. - -2002-09-05 Jakub Jelinek <jakub@redhat.com> - - * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Unlock and return in - case of failure. - -2002-09-04 Bruno Haible <bruno@clisp.org> - - * sysdeps/unix/sysv/linux/sigset-cvt-mask.h (sigset_set_old_mask, - sigset_get_old_mask): Turn into inline functions. - * sysdeps/unix/sysv/aix/sigset-cvt-mask.h (sigset_set_old_mask, - sigset_get_old_mask): Likewise. - * sysdeps/unix/sysv/sysv4/sigset-cvt-mask.h (sigset_set_old_mask, - sigset_get_old_mask): Likewise. - * sysdeps/generic/sigset-cvt-mask.h (sigset_set_old_mask): Declutter - syntax. +2001-07-12 Martin Schwidefsky <schwidefsky@de.ibm.com> - * elf/readlib.c (process_file): Conditionalize check for QMAGIC. - - * sysdeps/generic/_strerror.c (_sys_errlist, _sys_nerr): Remove - default definitions. - (__strerror_r): Use _sys_errlist_internal instead of _sys_errlist, - _sys_nerr_internal instead of _sys_nerr. - - * nscd/connections.c (handle_request): Declare CALLER inside #if. - -2002-07-29 Steven Munroe <sjmunroe@us.ibm.com> - - * sysdeps/powerpc/__longjmp.S: Moved to... - * sysdeps/powerpc/powerpc32/__longjmp.S: ...here. - * sysdeps/powerpc/add_n.S: Moved to... - * sysdeps/powerpc/powerpc32/add_n.S: ...here. - * sysdeps/powerpc/addmul_1.S: Moved to... - * sysdeps/powerpc/powerpc32/addmul_1.S: ...here. - * sysdeps/powerpc/atomicity.h: Moved to... - * sysdeps/powerpc/powerpc32/atomicity.h: ...here. - * sysdeps/powerpc/backtrace.c: Moved to... - * sysdeps/powerpc/powerpc32/backtrace.c: ...here. - * sysdeps/powerpc/bp-asm.h: Moved to... - * sysdeps/powerpc/powerpc32/bp-asm.h: ...here. - * sysdeps/powerpc/bsd-_setjmp.S: Moved to... - * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: ...here. - * sysdeps/powerpc/bsd-setjmp.S: Moved to... - * sysdeps/powerpc/powerpc32/bsd-setjmp.S: ...here. - * sysdeps/powerpc/dl-machine.c: Moved to... - * sysdeps/powerpc/powerpc32/dl-machine.c: ...here. - * sysdeps/powerpc/dl-machine.h: Moved to... - * sysdeps/powerpc/powerpc32/dl-machine.h: ...here. - * sysdeps/powerpc/dl-start.S: Moved to... - * sysdeps/powerpc/powerpc32/dl-start.S: ...here. - * sysdeps/powerpc/gprrest0.S: Moved to... - * sysdeps/powerpc/powerpc32/gprrest0.S: ...here. - * sysdeps/powerpc/gprrest1.S: Moved to... - * sysdeps/powerpc/powerpc32/gprrest1.S: ...here. - * sysdeps/powerpc/gprsave0.S: Moved to... - * sysdeps/powerpc/powerpc32/gprsave0.S: ...here. - * sysdeps/powerpc/gprsave1.S: Moved to... - * sysdeps/powerpc/powerpc32/gprsave1.S: ...here. - * sysdeps/powerpc/lshift.S: Moved to... - * sysdeps/powerpc/powerpc32/lshift.S: ...here. - * sysdeps/powerpc/memset.S: Moved to... - * sysdeps/powerpc/powerpc32/memset.S: ...here. - * sysdeps/powerpc/mul_1.S: Moved to... - * sysdeps/powerpc/powerpc32/mul_1.S: ...here. - * sysdeps/powerpc/ppc-mcount.S: Moved to... - * sysdeps/powerpc/powerpc32/ppc-mcount.S: ...here. - * sysdeps/powerpc/register-dump.h: Moved to... - * sysdeps/powerpc/powerpc32/register-dump.h: ...here. - * sysdeps/powerpc/rshift.S: Moved to... - * sysdeps/powerpc/powerpc32/rshift.S: ...here. - * sysdeps/powerpc/setjmp.S: Moved to... - * sysdeps/powerpc/powerpc32/setjmp.S: ...here. - * sysdeps/powerpc/stpcpy.S: Moved to... - * sysdeps/powerpc/powerpc32/stpcpy.S: ...here. - * sysdeps/powerpc/strchr.S: Moved to... - * sysdeps/powerpc/powerpc32/strchr.S: ...here. - * sysdeps/powerpc/strcmp.S: Moved to... - * sysdeps/powerpc/powerpc32/strcmp.S: ...here. - * sysdeps/powerpc/strcpy.S: Moved to... - * sysdeps/powerpc/powerpc32/strcpy.S: ...here. - * sysdeps/powerpc/strlen.S: Moved to... - * sysdeps/powerpc/powerpc32/strlen.S: ...here. - * sysdeps/powerpc/sub_n.S: Moved to... - * sysdeps/powerpc/powerpc32/sub_n.S: ...here. - * sysdeps/powerpc/submul_1.S: Moved to... - * sysdeps/powerpc/powerpc32/submul_1.S: ...here. - * sysdeps/powerpc/elf/bzero.S: Moved to... - * sysdeps/powerpc/powerpc32/elf/bzero.S: ...here. - * sysdeps/powerpc/elf/start.S: Moved to... - * sysdeps/powerpc/powerpc32/elf/start.S: ...here. - * sysdeps/powerpc/fpu/__longjmp.S: Moved to... - * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: ...here. - * sysdeps/powerpc/fpu/fprrest.S: Moved to... - * sysdeps/powerpc/powerpc32/fpu/fprrest.S: ...here. - * sysdeps/powerpc/fpu/fprsave.S: Moved to... - * sysdeps/powerpc/powerpc32/fpu/fprsave.S: ...here. - * sysdeps/powerpc/fpu/setjmp.S: Moved to... - * sysdeps/powerpc/powerpc32/fpu/setjmp.S: ...here. - * sysdeps/powerpc/fpu/s_copysign.S: Moved to... - * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: ...here. - * sysdeps/powerpc/fpu/s_copysignf.S: Moved to... - * sysdeps/powerpc/powerpc32/fpu/s_copysignf.S: ...here. - * sysdeps/unix/sysv/linux/powerpc/brk.S: Moved to... - * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: ...here. - * sysdeps/unix/sysv/linux/powerpc/clone.S: Moved to... - * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: ...here. - * sysdeps/unix/sysv/linux/powerpc/glob64.c: Moved to... - * sysdeps/unix/sysv/linux/powerpc/powerpc32/glob64.c: ...here. - * sysdeps/unix/sysv/linux/powerpc/kernel_stat.h: Moved to... - * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: ...here. - * sysdeps/unix/sysv/linux/powerpc/socket.S: Moved to... - * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: ...here. - * sysdeps/unix/sysv/linux/powerpc/sysdep.h: Moved to... - * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: ...here. - * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Moved to... - * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: ...here. - Support PowerPC64. Separate powerpc into powerpc/powerpc32 and - powerpc/powerpc64. - -2002-07-29 Steven Munroe <sjmunroe@us.ibm.com> - - * FAQ.in: Add powerpc64 to supported targets list. Also state the - minimum gcc version is 3.2 - * README: Add powerpc64 to supported targets list. - * configure.in: Change machine=powerpc to machine=powerpc/powerpc32. - Add powerpc64 and machine=powerpc/powerpc64. - (HAVE_ASM_GLOBAL_DOT_NAME): Define if linux*powerpc/powerpc64*. - * shlib-versions: Set DEFAULT version to 2.2.5 for powerpc64. - * sysdeps/powerpc/Dist: Remove dl-machine.c, dl-start.S, ppc-mcount.S, - gprsave1.S, gprsave0.S, gprrest1.S, and gprrest0.S. - * sysdeps/powerpc/powerpc32/Dist: New file. - * sysdeps/powerpc/Implies: Remove wordsize-32 and powerpc/soft-fp. - * sysdeps/powerpc/powerpc32/Implies: New file. - * sysdeps/powerpc/Makefile(cflags): Remove powerpc32 specific cflags. - ($(with-fp) = no): Move test to powerpc32/Makefile. - ($(subdir) = misc): Move to powerpc32/Makefile. - ($(build-shared) = yes): Move to powerpc32/Makefile. - ($(subdir) = csu): Move to powerpc32/Makefile. - (sysdep-rtld-routines): Remove dl-start. Moved these bits to ... - * sysdeps/powerpc/powerpc32/Makefile: New file. - * sysdeps/powerpc/Versions: Remove libgcc functions. - * sysdeps/powerpc/powerpc32/Versions: New file. - * sysdeps/powerpc/fpu/Makefile: Remove fprsave and fprrest. - * sysdeps/powerpc/powerpc32/fpu/Makefile: New file. - * sysdeps/unix/sysv/linux/configure.in (powerpc*): - Set arch_minimum_kernel=2.4.19 for powerpc/powerpc64. Also set - libc_cv_gcc_unwind_find_fde=yes only if !powerpc/powerpc64. - ($machine): Add powerpc/powerpc64 to if ... | for - libc_cv_slibdir=/libc64. - (powerpc*): Set ldd_rewrite_script. - * sysdeps/unix/sysv/linux/powerpc/ldd-rewrite.sed: New file. - * sysdeps/unix/sysv/linux/powerpc/Dist: Remove clone.S. - * sysdeps/unix/sysv/linux/powerpc/powerpc32/Dist: New file. - Add clone.S. - * sysdeps/unix/sysv/linux/powerpc/Makefile: Remove oldgetrlimit64. - * sysdeps/unix/sysv/linux/powerpc/Versions: Remove GLIBC_2.0 - functions. Remove GLIBC_2.2 functions except getrlimit and - setrlimit. Moved them to ... - * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: New file. - -2002-09-04 Ulrich Drepper <drepper@redhat.com> - - * libio/tst-atime.c: Include <errno.h>. - (do_test): Only perform fstatvfs check if ST_NOATIME is defined. - -2002-09-03 Isamu Hasegawa <isamu@yamato.ibm.com> - - * posix/regcomp.c (regcomp): Append "__restrict" modifier to avoid - warnings of some compilers. - (build_collating_symbol): Change the type of characters from - "unsigned char" to "char", and append a cast to "char*" pointer in - array subscript. - (build_collating_symbol): Likewise. - (build_equiv_class): Likewise. - (build_charclass): Likewise. - (re_compile_pattern): Remove incorrect cast. - (re_compile_fastmap_iter): Change the type of characters from - "unsigned char" to "char", and append a cast to "char*" pointer - in array subscript. - (parse_bracket_exp): Likewise. - * posix/regex_internal.c (re_string_construct_common): Likewise. - (re_string_allocate): Likewise. - (re_string_construct): Likewise. - (re_string_realloc_buffers): Likewise. - (build_wcs_buffer): Likewise. - (re_string_reconstruct): Likewise. - * posix/regex_internal.h: Change the type of characters in - re_string_t and bracket_elem_t from "unsigned char" to "char". - * posix/regexec.c (regexec): Append "__restrict" modifier to avoid - warnings of some compilers. - (transit_state_bkref_loop): Change the type of characters from - "unsigned char" to "char", and append a cast to "char*" pointer in - array subscript. - (check_node_accept_bytes): Likewise. - (find_collation_sequence_value): Likewise. - -2002-09-04 Roland McGrath <roland@redhat.com> - - * resolv/nss_dns/dns-network.c (MAXPACKET): Increase minimum value - from 1024 to 65536, to avoid buffer overrun. - -2002-09-03 Gerhard Tonn <ton@de.ibm.com> - - * sysdeps/s390/s390/fpu/libm-test-ulps: Regenerate. - -2002-09-04 Ulrich Drepper <drepper@redhat.com> - - * libio/tst-atime.c (do_test): Make sure noatime flag isn't set - for filesystem. - -2002-09-04 Jakub Jelinek <jakub@redhat.com> - - * posix/bug-regex11.c: New test. - * posix/Makefile (tests): Add bug-regex11. - -2002-09-03 Jakub Jelinek <jakub@redhat.com> - - * locale/tst-C_locale.c (run_test): Pass LC_ALL_MASK not LC_ALL to - newlocale. - -2002-09-02 Roland McGrath <roland@redhat.com> - - * sysdeps/powerpc/elf/libc-start.c [! SHARED]: Call - __pthread_initialize_minimal and __libc_check_standard_fds to - match the generic version. - - * sysdeps/unix/sysv/linux/shmat.c (shmat): Add a cast to avoid a - warning when INLINE_SYSCALL macro uses the __syscall_ipc function. - - * locale/localeconv.c (__localeconv): Cast -1 to char to avoid - warnings on platorms where char is unsigned. - -2002-09-02 Ulrich Drepper <drepper@redhat.com> - - * version.h (VERSION): Bump to 2.2.93. - - * sysdeps/unix/sysv/linux/x86_64/Dist: Add __start_context.S. - -2002-09-02 Jakub Jelinek <jakub@redhat.com> - - * elf/rtld.c (dl_main): If prelinking succeeded, mark all objects - as relocated. - -2002-09-02 Jack Howarth <howarth@bromo.msbb.uc.edu> - - * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated. - -2002-09-02 Jakub Jelinek <jakub@redhat.com> - - * locale/localeinfo.h (struct locale_data): Add private.ctype. - * wcsmbs/wcsmbsload.h (__wcsmbs_gconv_fcts, __wcsmbs_last_locale, - __wcsmbs_to_wc, update_conversion_ptrs): Removed. - (__wcsmbs_gconv_fcts_c, _nl_C_LC_CTYPE): New externs. - (__wcsmbs_load_conv): Remove const from argument. - (_nl_cleanup_ctype): New proto. - (get_gconv_fcts): New function. - * wcsmbs/wcsmbsload.c (__wcsmbs_last_locale): Removed. - (__wcsmbs_to_wc): Rename back to... - (to_wc): ... this. - (__wcsmbs_gconv_fcts): Rename to... - (__wcsmbs_gconv_fcts_c): ... this. Make const. Use to_wc. - (lock): Removed. - (__libc_setlocale_lock): New extern. - (__wcsmbs_load_conv): Remove const from argument. - Initialize new_category->private.ctype instead of a global - variable. - (__wcsmbs_clone_conv): Use get_gconv_fcts instead of - update_function_ptrs. No locking is necessary. - (_nl_cleanup_ctype): New function. - * wcsmbs/btowc.c (__btowc): Use get_gconv_fcts instead of - update_function_ptrs and a global __wcsmbs_gconv_fcts variable. - * wcsmbs/mbrtowc.c (__mbrtowc): Likewise. - * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise. - * wcsmbs/wcrtomb.c (__wcrtomb): Likewise. - * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise. - * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise. - * wcsmbs/wctob.c (wctob): Likewise. - * stdlib/mblen.c (mblen): Likewise. - * stdlib/mbtowc.c (mbtowc): Likewise. - * stdlib/wctomb.c (wctomb): Likewise. - * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise. - Remove calls to wcsmbs_get_towc_func and wcsmbs_free_funcs. - * wcsmbs/mbsrtowcs_l.c (wcsmbs_get_towc_func, wcsmbs_free_funcs): - Removed. - -2002-09-02 Roland McGrath <roland@frob.com> - - * sysdeps/mach/hurd/Versions (ld: GLIBC_2.0): Add __fxstat64. - -2002-09-01 Roland McGrath <roland@redhat.com> - - * ctype/ctype.h (__ctype_b, __ctype_toupper, __ctype_tolower): - Variable declarations removed. - (__ctype_b_loc, __ctype_toupper_loc, __ctype_tolower_loc): Declare - these functions to replace them. - (__isctype, tolower, toupper, _tolower, _toupper): Use those accessor - functions plus an indirection rather than the old global variables. - * include/ctype.h (__isctype, tolower, _tolower, toupper, _toupper): - Macros removed. - (__ctype_b_loc, __ctype_toupper_loc, __ctype_tolower_loc): New extern - inline functions. - * ctype/ctype-info.c: Revert last reversion back the other way. - Define tsd vars CTYPE_B, CTYPE_TOLOWER, CTYPE_TOUPPER. - Define real function versions of include/ctype.h inlines here. - * ctype/Versions (libc: GLIBC_2.3): Add __ctype_b_loc, - __ctype_tolower_loc, __ctype_toupper_loc. - * locale/lc-ctype.c: Revert last reversion back the other way. - (_nl_postload_ctype): If current thread uses the global locale, - update its tsd vars. - * locale/uselocale.c (__uselocale): Update tsd vars from new locale. - * hurd/hurd/threadvar.h (enum __hurd_threadvar_index): Add CTYPE_B, - CTYPE_TOLOWER, CTYPE_TOUPPER. - - * sysdeps/generic/bits/libc-tsd.h (__libc_tsd_address): New macro. - * sysdeps/mach/hurd/bits/libc-tsd.h (__libc_tsd_address): Renamed - from __libc_tsd_threadvar_location. - (__libc_tsd_set, __libc_tsd_get): Update uses. - -2002-09-01 Ulrich Drepper <drepper@redhat.com> - - * ctype/ctype.h: Undo the patch before the last one. Put back the - macro definitions for the standard functions to access the - classification and mapping arrays. - * include/ctype.h: Partly revert last patch. Move the macro - definitions for the exported functions back to the public header. - #undef all the macros defined here before redefining. - * ctype/ctype-info.c: Revert last patch. - * locale/lc-ctype.c: Revert last patch. - - * ctype/Makefile (routines): Add isctype. - * ctype/Versions (libc): Export isctype and __isctype for GLIBC_2.3. - * ctype/ctype.h: Add declaration of isctype. - * include/ctype.h: Declare __isctype. - * ctype/isctype.c: New file. - -2002-09-01 Roland McGrath <roland@redhat.com> - - * sysdeps/generic/libc-tls.c (__pthread_initialize_minimal): Pass - TLS_INIT_TCB_SIZE, TLS_INIT_TCB_ALIGN instead of 0, 1. - - * include/getopt.h: Include <features.h> before <posix/getopt.h>. - - * locale/findlocale.c (_nl_remove_locale): Don't search in - _nl_locale_file_list if DATA->alloc is ld_archive. - Use _nl_unload_locale to do the rest of the work. - - * locale/loadarchive.c (_nl_load_locale_from_archive): Set usage_count - of new structure to UNDELETABLE. - - * wctype/wctype.h (iswalnum, iswalpha, iswcntrl, iswdigit, iswlower, - iswgraph, iswprint, iswpunct, iswspace, iswupper, iswxdigit, iswblank, - towlower, towupper): Macros removed. - * ctype/ctype.h (__tobody): Put parens around macro argument. - (__isctype): Macro removed. - (__ctype_b, __ctype_tolower, __ctype_toupper): Decls removed. - (isalnum, isalpha, iscntrl, isdigit, islower, isgraph, isprint, - ispunct, isspace, isupper, isxdigit, isblank, _tolower, _toupper, - tolower, toupper): Macros and inlines removed. - * include/ctype.h [! NOT_IN_libc] - (isalnum, isalpha, iscntrl, isdigit, islower, isgraph, isprint, - ispunct, isspace, isupper, isxdigit, isblank, _tolower, _toupper, - tolower, toupper): Define here instead, using _NL_CURRENT. - * ctype/ctype.c (__ctype_tolower, __ctype_toupper): Define as macros - using _NL_CURRENT. - * ctype/ctype-extn.c (__ctype_tolower, __ctype_toupper): Likewise. - * ctype/ctype-info.c (__ctype_b, __ctype_tolower, __ctype_toupper): - Renamed these to __ctype_old_*. Define old names only for SHLIB_COMPAT. - (__ctype32_b, __ctype32_tolower, __ctype32_toupper): Likewise. - (__ctype32_wctrans, __ctype32_wctrans, __ctype32_width): Removed. - * locale/lc-ctype.c (_nl_postload_ctype): Use renamed variables, - conditional on SHLIB_COMPAT. Don't set removed variables at all. - * wctype/wcfuncs.c: Use _NL_CURRENT instead of those globals. - * wcsmbs/wcwidth.h (internal_wcwidth): Likewise. - * resolv/res_init.c [RESOLVSORT] (sort_mask): Renamed sort_mask_chars. - (ISSORTMASK): Update use. - * intl/localealias.c [__GNUC__]: #undef alloca before #define. - * nss/nss_files/files-XXX.c (last_use): Rename `none' to `nouse'. - (_nss_files_getENTNAME_r): Likewise. - * nss/nss_files/files-alias.c (last_use, _nss_files_getaliasent_r): - Likewise. + * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Correct the + test for ENOSYS. - * Makerules (all-nonlib): Renamed from all-tests. - Include $(others) here too. - * locale/Makefile (CPPFLAGS-locale, CPPFLAGS-localedef, - CPPFLAGS-ld-ctype, CPPFLAGS-ld-time, CPPFLAGS-ld-numeric, - CPPFLAGS-ld-monetary, CPPFLAGS-ld-collate, CPPFLAGS-ld-identification, - CPPFLAGS-charmap, CPPFLAGS-locarchive, CPPFLAGS-linereader, - CPPFLAGS-charmap-dir): Variables removed. Instead, catch all - the program modules via cppflags-iterator.mk. - * sunrpc/Makefile (CPPFLAGS-rpc_main): Variable removed. - Instead, catch all rpcgen-objs via cppflags-iterator.mk. +2001-07-12 Martin Schwidefsky <schwidefsky@de.ibm.com> -2002-08-31 Roland McGrath <roland@redhat.com> + * sysdeps/s390/s390-32/bits/setjmp.h: Add leading underscores + to the entries in the __jmp_buf structure. + * sysdeps/s390/s390-64/bits/setjmp.h: Likewise. - * posix/tst-getconf.sh: If no third arg, work with static linking. +2001-07-12 Martin Schwidefsky <schwidefsky@de.ibm.com> - * locale/categories.def (LC_TIME): No more _nl_postload_time. + * sysdeps/s390/s390-32/bcopy.S: Use mvcle for big blocks + (> 64K) and a mvc loop for small blocks. + * sysdeps/s390/s390-32/memcpy.S: Likewise. + * sysdeps/s390/s390-64/bcopy.S: Likewise. + * sysdeps/s390/s390-64/memcpy.S: Likewise. - * locale/setlocale.c (_nl_category_postload): Use weak refs only under - [_NL_CURRENT_INDIRECT]. +2001-07-15 Andreas Schwab <schwab@suse.de> -2002-08-31 Ulrich Drepper <drepper@redhat.com> + * sysdeps/unix/sysv/linux/m68k/sys/procfs.h: New file. + * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: New file. - * time/tst-ftime_l.c (main): Also test strftime with uselocale. + * sysdeps/unix/sysv/linux/m68k/getpagesize.c: Check _dl_pagesize + first. Default to 4096, not EXEC_PAGESIZE. -2002-08-31 Roland McGrath <roland@redhat.com> + * iconv/loop.c (put16) [!_STRING_ARCH_unaligned && BIG_ENDIAN]: + Fix index. - * locale/newlocale.c (__newlocale): Don't use strdup for names. - Instead, make the single allocation of the structure larger to hold - the name strings. - * locale/duplocale.c (__duplocale): Don't strdup names individually. - Instead, calculate size for a single allocation and copy into it. - * locale/freelocale.c (__freelocale): Don't free names individually. +2001-07-09 Andreas Jaeger <aj@suse.de> - * locale/newlocale.c (__newlocale): Don't leak old data or names. + * sysdeps/unix/sysv/linux/i386/dl-procinfo.c: Name entry for xmm2. - * locale/xlocale.h (__locale_struct): Move __names member last, - for binary compatibility. + * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Add HWCAP_I386_XMM, + HWCAP_I386_XMM2 to enum. - * locale/duplocale.c (__duplocale): Free names from the right array. +2001-07-13 Andreas Jaeger <aj@suse.de> - * locale/uselocale.c (__uselocale): Return previous locale when - setting a new one. + * libio/fileops.c: Include unistd.h for lseek64 prototype. Closes + PR libc/2372. - * locale/newlocale.c: Commit changes from 2002-08-30 - batch where I failed to commit this file: - (__newlocale): Fill in __names array. +2001-07-12 Ulrich Drepper <drepper@redhat.com> -2002-08-31 Ulrich Drepper <drepper@redhat.com> + * Makeconfig: Add some more changes to handle AIX linker better. - * sysdeps/gnu/Makefile: Only depend on Versions.v.i for - errlist-compat.c if versioning==yes. +2001-07-12 H.J. Lu <hjl@gnu.org> -2002-08-31 Andreas Jaeger <aj@suse.de> + * sysdeps/generic/segfault.c: Include <errno.h>. - * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup): Declare - external functions with hidden attribute. - (elf_machine_rela): Optimize. +2001-07-01 Andreas Jaeger <aj@suse.de> - * sysdeps/x86_64/memset.S: New file. - * sysdeps/x86_64/bzero.S: New file. - * sysdeps/x86_64/stpcpy.S: New file. - * sysdeps/x86_64/strcat.S: New file. - * sysdeps/x86_64/strchr.S: New file. - * sysdeps/x86_64/strcpy.S: New file. - * sysdeps/x86_64/strcspn.S: New file. - * sysdeps/x86_64/strlen.S: New file. - * sysdeps/x86_64/strpbrk.S: New file. - * sysdeps/x86_64/strspn.S: New file. - * sysdeps/x86_64/strcmp.S: New file. - * sysdeps/x86_64/strtok_r.S: New file. - * sysdeps/x86_64/strtok.S: New file. - * sysdeps/x86_64/memcpy.S: New file. - * sysdeps/x86_64/mempcpy.S: New file. + * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk): Remove duplicate + sbrk. Closes PR libc/2312. - * sysdeps/x86_64/fpu/s_copysign.S: Fix algorithm. +2001-07-01 Andreas Jaeger <aj@suse.de> - * sysdeps/x86_64/fpu/libm-test-ulps: Add ulps for double tests. + * sysdeps/generic/segfault.c (install_handler): Handle case that + the output file does not exists. Closes PR libc/2345. -2002-08-31 Ulrich Drepper <drepper@redhat.com> +2001-07-11 Ulrich Drepper <drepper@redhat.com> - * stdio-common/Makefile (generated): Add errlist-compat.c. + * intl/locale.alias: Use he language code for hebrew, not il + [PR libc/2382]. - * locale/Makefile (extra-objs): Add $(localedef-aux:=.o). +2001-07-11 Jakub Jelinek <jakub@redhat.com> - * locale/localeinfo.h: Pretty printing. + * iconv/gconv_int.h: Fix comment typo. - * stdio-common/vfprintf.c (vfprintf): Remove duplicate ifs in - form_number handling. +2001-07-11 Igor Khavkine <i_khavki@alcor.concordia.ca> -2002-08-31 Andreas Jaeger <aj@suse.de> + * hurd/hurdsig.c (_hurdsig_init): Remove a useless line of code. - * sysdeps/x86_64/fpu/libm-test-ulps: Add ulps for float and long - double tests. +2001-07-07 Roland McGrath <roland@frob.com> - * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_routines): Add - __start_context. + * hurd/hurdsig.c (_hurd_thread_sigstate): Use MACH_PORT_NULL, not 0. - * sysdeps/unix/sysv/linux/x86_64/__start_context.S: New file. +2001-07-10 Stephen L Moshier <moshier@mediaone.net> - * sysdeps/unix/sysv/linux/x86_64/makecontext.c: New file. + * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Fix + backwards conditional in test for x == 1.0. - * sysdeps/unix/sysv/linux/x86_64/ucontext_i.h: Add defines for - registers used for passing args. +2001-07-10 Andreas Jaeger <aj@suse.de> - * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Save and restore - all needed registers. + * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Add ulps for tanh + (-0.7). - * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Restore all - registers. +2001-07-09 Andreas Jaeger <aj@suse.de> - * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Save all needed - registers. + * sysdeps/unix/sysv/linux/configure.in: Revert patch from + 2001-07-05 for sysconfdir handling. + * config.make.in (sysconfdir): Likewise. + * configure.in: Likewise. -2002-08-30 Ulrich Drepper <drepper@redhat.com> + * configure.in: Always assign libc_cv_sysconfdir. - * elf/dynamic-link.h (elf_get_dynamic_info): Mark with - always_inline attribute. +2001-07-08 Ulrich Drepper <drepper@redhat.com> -2002-08-30 Roland McGrath <roland@redhat.com> + * Makerules [AIX] (build-shlib-helper): Precede linker options + with -Wl. - * stdlib/tst-setcontext.c (main): If makecontext does nothing, - presume it's the stub and bail without error. + * Makeconfig (config-LDFLAGS): Add ld.so only for ELF. - * nss/getnssent_r.c (__nss_getent_r): Return ENOENT if status is - neither SUCCESS nor TRYAGAIN (see 2002-08-25 change [PR libc/4259]). + * sysdeps/unix/make_errlist.c: Adjust sys_errlist declaration to + what we define in <stdio.h>. - * nss/getnssent_r.c (__nss_getent_r): Set *H_ERRNOP, not global one. + * iconv/iconv_prog.c (main): Don't unconditionally define + variables only use if _POSIX_MAPPED_FILES is defined. - * sysdeps/x86_64/hp-timing.h (HP_TIMING_NOW, HP_TIMING_ACCUM): New - macros replace the i686 versions for 64-bit mode. + * sysdeps/unix/sysv/aix/sendmsg.c (sendmsg): Fix return type. + * sysdeps/unix/sysv/aix/recvmsg.c (recvmsg): Likewise. - * locale/duplocale.c: Include <string.h>. + * sysdeps/unix/sysv/aix/recv.c: New file. - * intl/dcigettext.c (DCIGETTEXT) [_LIBC]: Check for bogus CATEGORY. - [_LIBC] (category_to_name): Don't define the function. Instead - define a macro using _nl_category_names. + * sysdeps/unix/sysv/aix/recvfrom.c: Fix various types. - * locale/xlocale.h (struct __locale_struct): New member `__names'. - * locale/xlocale.c (_nl_C_locobj): Update initializer. - * locale/global-locale.c (_nl_global_locale): Likewise. - * locale/duplocale.c (__duplocale): strdup __names elements. - * locale/freelocale.c (__freelocale): Free __names elements. - * locale/localename.c (_nl_current_names): Variable removed. - (__current_locale_name): Use _NL_CURRENT_LOCALE->__names instead. - * locale/localeinfo.h (_nl_current_names): Removed decl. - * locale/setlocale.c: Use _nl_global_locale->__names in place of - _nl_current_names throughout. +2001-07-07 Ulrich Drepper <drepper@redhat.com> - * locale/setlocale.c (setlocale): strdup -> __strdup (not ISO C). + * sysdeps/generic/recv.c: Fix return type. - * sysdeps/gnu/errlist-compat.awk: Emit link_warnings for sys_errlist - and sys_nerr in the output file. + * sysdeps/unix/sysv/aix/dl-libc.c (__libc_dlclose): Fix typo. - * sunrpc/Makefile (rpcgen-cmd): Pass CPP in rpcgen's environment. - * scripts/cpp: Just use the environment variable. + * sysdeps/unix/sysv/aix/gettimeofday.c (__gettimeofday): Add + declarations for asm functions. - * libio/tst-mmap-setvbuf.c (main): Use 'm' fopen flag. - * libio/tst-mmap-offend.c (do_test): Likewise. - * libio/tst-mmap-fflushsync.c (do_test): Likewise. - * libio/tst-mmap-eofsync.c (do_test): Likewise. - * libio/tst-mmap2-eofsync.c (do_test): Likewise. + * include/libc-symbols.h: Provide more dummy definitions for the + case if GNU ld isn't used. - * locale/localename.c: If the current locale is the global locale, use - _nl_current_names; otherwise use the locale object. + * libio/freopen.c: Include <stdlib.h> for free declaration. + * libio/freopen64.c: Likewise. -2002-08-29 Ulrich Drepper <drepper@redhat.com> + * sysdeps/alpha/fpu/libm-test-ulps: Add deltas for tanh(-0.7). - * libio/fileops.c (_IO_new_file_fopen): Recognize new mode specifier - 'm' to enable mmap I/O. - * libio/libio.h (_IO_FILE): Rename _blksize field to _flags2. The - former wasn't used (anymore?). - (_IO_FLAGS2_MMAP): New define. - * libio/genops.c (_IO_no_init): Initialize _flags2 field. - * libio/iofopen.c (__fopen_maybe_mmap): Use mmap callbacks only if - _IO_FLAGS2_MMAP bit is set. - * libio/iofdopen.c (_IO_new_fdopen): Recognize 'm' mode specifier. - Enable mmap-using mode only if 'm' was set. +2001-07-06 Jakub Jelinek <jakub@redhat.com> -2002-08-29 Roland McGrath <roland@frob.com> + * sysdeps/unix/sysv/linux/i386/sigaction.c (RESTORE2): Put asm + explicitly into .text section. - * sysdeps/mach/hurd/bits/local_lim.h (NAME_MAX): New macro. +2001-04-16 Jes Sorensen <jes@linuxcare.com> - * sysdeps/mach/hurd/i386/init-first.c (_hurd_stack_setup: doinit): - Change argument type from int to intptr_t. + * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h (struct sigcontext): + Add 16 longwords reserved for future use to match changes in the + kernel. - * locale/global-locale.c (__libc_tsd_LOCALE_data): Conditionalize the - initializer on [! _HURD_THREADVAR_H] (bad kludge). - * sysdeps/mach/hurd/i386/init-first.c (init): Initialize - _HURD_THREADVAR_LOCALE slot to &_nl_global_locale. - * hurd/hurdsig.c (_hurdsig_init): Likewise. Zero other slots. +2001-07-03 Jes Sorensen <jes@trained-monkey.org> - * sysdeps/mach/_strerror.c (__strerror_r): Add libc_hidden_def. + * sysdeps/ia64/strncpy.S: Call strnlen() when determining the + string length rather than strlen(). Solves the performance problem + of doing strlen on a 5MB string when strncpy was called with a + length argument of 5 bytes. - * sysdeps/mach/hurd/pwrite64.c: No libc_hidden_def (__libc_pwrite64). +2001-07-02 Jakub Jelinek <jakub@redhat.com> - * sysdeps/mach/hurd/dl-sysdep.c (__GI_abort): Define alias for abort. + * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle + R_SPARC_UA16 and R_SPARC_UA32. + * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise. - * include/assert.h (__assert_perror_fail): Declare it, do hidden_proto. - * assert/assert-perr.c: Add libc_hidden_def. - * elf/dl-minimal.c [! NDEBUG] (__assert_perror_fail): New function. +2001-07-01 Stephen L Moshier <moshier@mediaone.net> - * sysdeps/gnu/errlist-compat.awk: Don't fail if there are no versions - found at all. - * sysdeps/gnu/Versions: File removed. Moved all #errlist-compat - sys_errlist stuff to ... - * sysdeps/unix/sysv/linux/Versions: ... here. + * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): + acosh(x) = ln(2x) if x > 2^30. + * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl): + acosh(x) = ln(2x) if x > 2^54. - * mach/mach.h: Include <features.h>. +2001-07-07 Mark Kettenis <kettenis@gnu.org> -2002-08-29 Roland McGrath <roland@redhat.com> + * sysdeps/mach/hurd/i386/exc2signal.c (_hurd_exception2signal): + Generate SIGSEGV instead of SIGBUS for KERN_INVALID_ADDRESS and + KERN_WRITE_PROTECTION_FAILURE. - * elf/dl-runtime.c (IN_DL_RUNTIME): Define this macro first thing. - * sysdeps/i386/dl-machine.h: Only declare fixup, profile_fixup and - define ELF_MACHINE_RUNTIME_TRAMPOLINE under #ifdef IN_DL_RUNTIME. +2001-07-07 Ulrich Drepper <drepper@redhat.com> - * sysdeps/generic/readelflib.c (process_elf_file): Fix typo. + * posix/regex.c: Limit string length printed in debug messages to + 100 chars. - * iconv/gconv_int.h: Include <stdlib.h> for alloca decl. - (norm_add_slashes): alloca -> __alloca + * configure.in: Don't warn about versioning if not on ELF system. -2002-08-29 Jakub Jelinek <jakub@redhat.com> +2001-07-07 Andreas Jaeger <aj@suse.de> - * stdio-common/vfprintf.c (vfprintf): Add builtin_expect for - string_malloced, it is unlikely to be set. - Only call free with non-NULL workspace. - * sysdeps/sparc/sparc32/sparcv9/Makefile (sysdep-CFLAGS): Use - -mcpu=ultrasparc, not only tune for it. - (ASFLAGS*): Set unconditionally. + * sysdeps/*: Put files from GNU MP Library under LGPL v2.1. - * sysdeps/generic/readelflib.c (process_elf_file): Make LOADADDR - ElfW(Addr). Don't mask upper 32-bits and lower 12 bits off from - p_vaddr/p_offset when computing LOADADDR. +2001-07-06 Ulrich Drepper <drepper@redhat.com> -2002-08-29 Ulrich Drepper <drepper@redhat.com> + * po/gl.po: Update from translation team. - * version.h (VERSION): Bump to 2.2.92. +2001-07-06 Andreas Jaeger <aj@suse.de> - * time/Makefile (tst-ftime_l-ENV): New variable. + * sysdeps/unix/sysv/linux/configure.in: Fix handling of + sysconfdir. - * iconvdata/ibm870.c: All bytes are now used, no holes anymore. + * manual/libc-texinfo.sh: Add note for the FDL. - * localedata/charmaps/IBM870: Add correct mapping for <U017E>, - <U017A>, <U017D> and <U0179>. Add missing mappings. - Patch by Antonin Kopecky <akopecky@tajmac-zps.cz>. + * manual/argp.texi (Argp Example 4): Fix texinfo warning. - * gmon/sys/gmon.h (ARCDENSITY): Bump to 3. - Define ARCINDEX. Bump MAXARCS to 1 << 20. - (struct tostruct): Use ACRINDEX as type for link field. - (statuc gmonparam): Likewise for froms. - * gmon/gmon.c (__monstartup): Use currect cast for assignments to - kcount and froms. - (write_call_graph): Use correct type for from_index and to_index. - * gmon/mcount.c: Use correct types for frompcindex and toindex - variables. - Patches by Dan Kegel <dank@kegel.com>. - - * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix code to determine - canonical name. - - * time/strptime.c (ISSPACE): New #define. Use isspace or - __isspace_l. Replace calls to isspace. - (match_string): Define variant for USE_IN_EXTENDED_LOCALE_MODEL. - -2002-08-29 Roland McGrath <roland@redhat.com> - - * string/tst-strxfrm.c: Remove __ from function names. - -2002-08-28 Ulrich Drepper <drepper@redhat.com> - - * include/wchar.h: Declare __mbsrtowcs_l. - * wcsmbs/Makefile (routines): Add mbsrtowcs_l. - * wcsmbs/mbsrtowcs.c: Add support for compilation with - USE_IN_EXTENDED_LOCALE_MODEL. - * wcsmbs/mbsrtowcs_l: New file. - * wcsmbs/wcsmbsload.c (__wcsmbs_to_wc): Renamed from to_wc. Don't - define as static. Change all uses. - (__wcsmbs_getfct): Renamed from getfct. Don't define as static. - Change all callers. - * wcsmbs/wcsmbsload.h: Declare __wcsmbs_to_wc and __wcsmbs_getfct. - * time/strftime.c: When translating for the extended locale model - use the _l functions. - * time/Makefile (tests): Add tst-ftime_l. - * time/tst-ftime_l.c: New file. - -2002-08-28 Roland McGrath <roland@redhat.com> - - * locale/findlocale.c [NL_CURRENT_INDIRECT] (_nl_C): New variable. - * locale/setlocale.c (setlocale) [NL_CURRENT_INDIRECT]: Null return - from _nl_find_locale ok if for _nl_C_name. - - * locale/nl_langinfo.c [NL_CURRENT_INDIRECT]: Use a categories.def - iterator to refer to each category's _nl_current_LC_FOO symbol, so - we know they are all linked in. - - * NEWS: Added 2.2.6 text from 2.2 branch version. - - * time/strptime.c (strptime_internal): Remove spurious const. - - * locale/lc-time.c (_nl_init_era_entries, _nl_get_era_entry, - _nl_select_era_entry): Moved to ... - * time/era.c: ... here, new file. - (_nl_init_era_entries, _nl_get_era_entry, _nl_select_era_entry): - Add internal_function to definitions. Take an additional argument - giving the `struct locale_data *' to use. - * locale/lc-time.c (_get_alt_digit, _nl_get_walt_digit, - _nl_parse_alt_digit): Moved to ... - * time/alt_digit.c: ... here, new file. - * time/lc-time-cleanup.c: New file. - * locale/lc-time.c (_nl_postload_time, free_mem): Functions removed. - * locale/localeinfo.h (_nl_postload_time): Remove decl. - (_nl_cleanup_time): Declare it. - (_nl_get_era_entry, _nl_select_era_entry): Update decls. - (_get_alt_digit, _nl_get_walt_digit, _nl_parse_alt_digit): Likewise. - * time/Makefile (aux): New variable: era, alt_digit, lc-time-cleanup. - * time/strftime.c: Pass locale data to helper functions. - * time/strptime.c: Likewise. - - * locale/localeinfo.h (struct locale_data): New member `private' - * locale/loadlocale.c (_nl_intern_locale_data): Initialize it. - (_nl_unload_locale): Call LOCALE->private.cleanup if it is set. - * locale/C-collate.c: Update initializer. - * locale/C-identification.c: Likewise. - * locale/C-measurement.c: Likewise. - * locale/C-telephone.c: Likewise. - * locale/C-address.c: Likewise. - * locale/C-name.c: Likewise. - * locale/C-paper.c: Likewise. - * locale/C-time.c: Likewise. - * locale/C-numeric.c: Likewise. - * locale/C-monetary.c: Likewise. - * locale/C-messages.c : Likewise. - * locale/C-ctype.c: Likewise. - - * time/strptime.c [USE_IN_EXTENDED_LOCALE_MODEL] (_NL_CURRENT_WORD): - Redefine this too. - -2002-08-28 Jakub Jelinek <jakub@redhat.com> - - * sysdeps/generic/ldsodefs.h (__rtld_global_attribute__): Define. - (_rtld_global): Use it. - - * sysdeps/gnu/Dist: Remove errlist-compat.c. - * sysdeps/gnu/Makefile (errlist-compat.c): Build this file in the - object directory. Pass all Versions files to the awk script. - * sysdeps/gnu/errlist-compat.c: Removed. - * sysdeps/gnu/errlist.awk: Use #errlist-compat comments from the - first Versions file in the search path which has them. - Allow multiple errlist symbol versions to have the same count of - errors. - * sysdeps/gnu/errlist-compat.awk: Include <errlist-compat.c> instead - of "errlist-compat.c". - * sysdeps/gnu/errlist.c: Regenerated. - * sysdeps/unix/sysv/linux/mips/Versions (libc): Add #errlist-compat - comments at GLIBC_2.0, GLIBC_2.1 and GLIBC_2.3. - * sysdeps/unix/sysv/linux/alpha/Versions: Likewise. - (librt): Add aio_cancel and aio_cancel64 as GLIBC_2.3. - * sysdeps/unix/sysv/linux/hppa/Versions: Likewise. - * sysdeps/unix/sysv/linux/sparc/Versions: New file. - * sysdeps/unix/sysv/linux/alpha/bits/errno.h: New file. - * sysdeps/unix/sysv/linux/hppa/bits/errno.h (ECANCELED): Define to - ECANCELLED if not defined by kernel headers. - * sysdeps/unix/sysv/linux/bits/errno.h: Don't redefine ECANCELED if - already defined by kernel headers. - * sysdeps/unix/sysv/linux/sparc/bits/errno.h: New file. - * sysdeps/pthread/aio_cancel.c: Don't include aio.h and its - aio_cancel64 renaming hack nor provide weak_alias if aio_cancel - is a macro. - * Versions.def (GLIBC_2.3) [librt]: Add. - - * sysdeps/unix/sysv/linux/alpha/pipe.S: New file. - -2002-08-28 Ulrich Drepper <drepper@redhat.com> - - * include/libc-symbols.h [!__ASSEMBLER__] (declare_symbol_1): Add - missing comma to .type directive. - -2002-08-28 Jakub Jelinek <jakub@redhat.com> - - * sysdeps/ia64/elf/configure.in (PI_STATIC_AND_HIDDEN): Define - unconditionally. - * sysdeps/alpha/elf/configure.in (libc_cv_alpha_hidden_gprel): New - check. - (PI_STATIC_AND_HIDDEN): Define if check succeeded. - -2002-08-28 Jakub Jelinek <jakub@redhat.com> - - * locale/loadarchive.c (_nl_load_locale_from_archive): Add fd >= 0 - check to close_and_out close. Replace return NULL statements where - fd might be >= 0 with goto close_and_out. Close the file descriptor - when it is no longer needed. - -2002-08-28 Ulrich Drepper <drepper@redhat.com> - - * sysdeps/s390/s390-64/dl-machine.h: Avoid unescaped newlines in - string constants. - * sysdeps/sparc/sparc32/dl-machine.h: Likewise. - * sysdeps/arm/dl-machine.h: Likewise. - * sysdeps/cris/dl-machine.h: Likewise. - * sysdeps/unix/sysv/linux/m68k/register-dump.h: Likewise. - * sysdeps/unix/sysv/aix/gettimeofday.c: Likewise. + * manual/libc.texinfo: Regenerated. -2002-08-28 Roland McGrath <roland@redhat.com> + * manual/fdl.texi: Fix node. - * Makeconfig (default_cflags): Revert unintended change. + * config.make.in (sysconfdir): Replace correctly. + Closes PR libc/2369, reported by Peter Simons <simons@cryp.to>. -2002-08-28 Ulrich Drepper <drepper@redhat.com> + * sysdeps/unix/sysv/linux/alpha/configure.in: Removed, it's no + longer needed. - * version.h (VERSION): Bump to 2.2.91. + * sysdeps/unix/sysv/linux/configure.in (libc_cv_linuxVER): Add + case for alpha. + Rework handling of missing linuxthreads add-on. - * configure.in: Disable TLS support by default for now. + * configure.in: Remove unused sysconfdir substitution. - * sysdeps/i386/fpu/libm-test-ulps: Adjust ulp for yn for float. + * manual/Makefile (texis): Add fdl.texi. + * manual/fdl.texi: New. + * manual/socket.texi (Host Names): Improve grammar, fix overflow hbox. + * manual/libc.texinfo: Add fdl, update titlepage. + Patches by Brian Youmans <3diff@gnu.org>. - * sysdeps/generic/strtol.c (strtol): Add some more casts to avoid - warnings. + * sysdeps/unix/make_errlist.c (main): Print LGPL v2.1 for + generated file. - * stdlib/strtod.c (STRTOF): Correct type in cast of last patch. +2001-07-06 Paul Eggert <eggert@twinsun.com> - * stdlib/fmtmsg.c (fmtmsg): Use correct test for failure of - fprintf/fwprintf calls. + * manual/argp.texi: Remove ignored LGPL copyright notice; it's + not appropriate for documentation anyway. + * manual/libc-texinfo.sh: "Library General Public License" -> + "Lesser General Public License". + * COPYING: Fix Y2k bug in sample copyright notices. + * manual/lesser.texi: Renamed from manual/lgpl.texinfo, + as fsf.org uses the name "lesser.texi". + * manual/Makefile (texis): Follow rename. -2002-08-28 Roland McGrath <roland@redhat.com> +2001-07-06 Andreas Jaeger <aj@suse.de> - * Makeconfig (run-program-prefix): Fix bogus use of $(findstring ...) - to use $(filter ...) instead. Same bug fixed in aix conditionals. + * All files under GPL/LGPL version 2: Place under LGPL version + 2.1. - * locale/setlocale.c: Declare postload functions weak. +2001-07-05 Andreas Jaeger <aj@suse.de> - * elf/tst-tls1-static.c: New file. - * elf/tst-tls2-static.c: New file. - * elf/Makefile ($(tests-static):%=$(objfpx)%.o): Remove rule. + Synch with Linux 2.4.6: + * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_BLUETOOTH): + New. + (AF_BLUETOOTH): New. - Make uselocale support static linking. - * locale/xlocale.c: Revert changes putting _nl_global_locale here. - This file again just defines _nl_C_locobj. - (_nl_C_locobj): Use a categories.def iterator in the initializer. - * locale/global-locale.c: New file. Define _nl_global_locale here, - using all weak references in the initializer. - * locale/Makefile (aux): Add global-locale. - * locale/localeinfo.h (_nl_global_locale, _NL_CURRENT_LOCALE): Make - these unconditional, along with the tsd decl. - [!SHARED && HAVE___THREAD && HAVE_WEAK_SYMBOLS] (NL_CURRENT_INDIRECT): - Define it under these conditions. - [NL_CURRENT_INDIRECT]: Test this instead of [! SHARED]. - Don't declare _nl_current. Declare _nl_current_LC_FOO as - `extern __thread struct locale_data *const *'. - [NL_CURRENT_INDIRECT] - (_NL_CURRENT_DATA, _NL_CURRENT, _NL_CURRENT_WSTR): Add indirection. - [NL_CURRENT_INDIRECT] (_NL_CURRENT_DEFINE): Rewritten. Define - the thread variable _nl_current_LC_FOO and also a special absolute - symbol _nl_current_LC_FOO_used. - * locale/uselocale.c (__uselocale) [NL_CURRENT_INDIRECT]: - Set each _nl_current_LC_FOO symbol to point into the new locale, - using weak references to test if _nl_current_LC_FOO_used was linked in. - * locale/setlocale.c [! SHARED]: Replace this conditional ... - [NL_CURRENT_INDIRECT]: ... with this one. - (_nl_current, _nl_C): Variables removed. - [NL_CURRENT_INDIRECT] (_nl_current_used): New variable, table of - weak references to _nl_current_LC_FOO_used. - [NL_CURRENT_INDIRECT] (CATEGORY_USED): Define using that table. - (free_category): New function, broken out of ... - (free_mem): ... here. Call that. - (free_mem) [NL_CURRENT_INDIRECT]: Use a categories.def iterator - instead of a loop. + * sysdeps/unix/sysv/linux/s390/s390-64/bits/socket.h + (PF_BLUETOOTH): New. + (AF_BLUETOOTH): New. - * sysdeps/generic/libc-tls.c (__libc_setup_tls): Don't check for - PT_LOAD program headers and don't try to relocate PT_TLS's p_vaddr; - it is already absolute. + * sysdeps/unix/sysv/linux/mips/bits/socket.h (AF_BLUETOOTH): New. + (PF_BLUETOOTH): New. - * elf/Makefile (tests): List tst-tls1 and tst-tls2 unconditionally. - [$(build-static) = yes] (tests): Add tst-tls1-static, tst-tls2-static. - [$(build-static) = yes] (tests-static): New variable. - ($(tests-static):%=$(objfpx)%.o)): New static pattern rule. + * sysdeps/unix/sysv/linux/ia64/bits/socket.h (AF_BLUETOOTH): New. + (PF_BLUETOOTH): New. -2002-08-26 Christoph Hellwig <hch@lst.de> + * sysdeps/unix/sysv/linux/alpha/bits/socket.h (PF_BLUETOOTH): New. + (AF_BLUETOOTH): New. - * sysdeps/unix/sysv/linux/sys/personality.h: Remark origin, fix - formating braindamage, add missing PER_HPUX and PER_OSF1 values. + * sysdeps/unix/sysv/linux/bits/socket.h (PF_BLUETOOTH): New. + (AF_BLUETOOTH): New. -2002-08-28 Ulrich Drepper <drepper@redhat.com> + * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_IEEE80211): New. - * sysdeps/x86_64/Dist: Add _mcount.S and bits/link.h. + * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (N_HCI): New. - * sysdeps/s390/Dist: Add bits/link.h. + * sysdeps/unix/sysv/linux/mips/bits/ioctl-types.h (N_HCI): New. - * sysdeps/sh/Dist: New file. + * sysdeps/unix/sysv/linux/bits/ioctl-types.h (N_HCI): New. - * sysdeps/ia64/Dist: Add ia64libgcc.S. +2001-07-04 Roland McGrath <roland@frob.com> - * sysdeps/wordsize-32/Dist: New file. + * hurd/hurdsig.c (_hurd_internal_post_signal): For SS->suspended + wakeup message, use MACH_MSG_TYPE_MAKE_SEND for the receiver port + rather than doing a mach_port_insert_right call first. - * sysdeps/unix/sysv/linux/alpha/Dist: Add dl-brk.S. - * sysdeps/unix/sysv/linux/powerpc/Dist: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc64/Dist: Likewise. +2001-06-26 Roland McGrath <roland@frob.com> - * sysdeps/unix/sysv/linux/Dist: Add dl-brk.c, dl-sbrk.c, and - sys/personality.h. + * hurd/hurdioctl.c: Include <string.h> for memcpy decl. - * sysdeps/unix/Dist: Add i386/dl-brk.S, mips/dl-brk.S, and - sparc/dl-brk.S. +2001-07-03 Andreas Jaeger <aj@suse.de> - * sysdeps/unix/bsd/Dist: Add vax/dl-brk.S. + * sysdeps/unix/sysv/sysv4/solaris2/configure.in: Remove check for + crypt add-on. - * sysdeps/unix/bsd/sun/Dist: New file. +2001-07-01 Mark Kettenis <kettenis@gnu.org> - * sysdeps/unix/bsd/osf/Dist: New file. + * sysdeps/mach/hurd/if_index.c: Redone to use new interfaces in + the Hurd pfinet server, using equivalent code from the Linux + version in sysdeps/unix/sysv/linux/if_index.c. In detail: + Include <unistd.h>, <error.h>, <sys/ioctl.h>, <hurd/ioctl.h> and + <hurd/pfinet.h>. Don't include <sys/mman.h> and <hurd/fsys.h> + anymore. + (if_nametoindex): New implementation using SIOCGIFINDEX. + (if_freenameindex): Straight copy of the Linux version. + (if_nameindex): New implementation based on pfinet_siocgifconf and + SIOCGIFINDEX. + (if_indextoname): New implementation using SIOCGIFNAME. + (map_interfaces): Function removed. + From Marcus Brinkmann <marcus@gnu.org>. - * sysdeps/unix/bsd/hp/Dist: New file. +2001-06-30 Jakub Jelinek <jakub@redhat.com> - * sysdeps/unix/arm/Dist: New file. + * sysdeps/powerpc/dl-machine.c (__elf_preferred_address): Prefer + gaps below main executable. - * sysdeps/powerpc/Dist: Add divdi3.c and libgcc-compat.S. +2001-06-19 Andreas Jaeger <aj@suse.de> - * sysdeps/mach/hurd/Dist: Add set-init.c. + * sysdeps/powerpc/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE): + Handle profiling. - * sysdeps/i386/Dist: Add bits/link.h. +2001-06-29 Andreas Jaeger <aj@suse.de> - * sysdeps/gnu/Dist: Add errlist-compat.c errlist-compat.awk. + * sysdeps/ieee754/ldbl-128/s_asinhl.c: New file. + Patch by Stephen L Moshier <moshier@mediaone.net>. - * sysdeps/generic/Dist: Add dl-brk.c and dl-sbrk.c. +2001-06-28 Ulrich Drepper <drepper@redhat.com> - * locale/Makefile (distribute): Add hashval.h. + * manual/argp.texi: Tons of cleanups. + Patch by Clifford U. Smith <cuel@swbell.net>. - * iconvdata/Makefile (distribute): Add tcvn5712-1.c and armscii-8.c. +2001-06-28 Mark Kettenis <kettenis@gnu.org> - * sysdeps/unix/sysv/linux/Dist: Remove errlist.h. + * manual/users.texi (Setting Groups): Correct initgroups + documentation. Add documentation for getgrouplist. - * misc/sys/cdefs.h: Define __BEGIN_NAMESPACE_STD, __END_NAMESPACE_STD, - __USING_NAMESPACE_STD, __BEGIN_NAMESPACE_C99, __END_NAMESPACE_C99, and - __USING_NAMESPACE_C99 depending on _GLIBCPP_USE_NAMESPACES. - * ctype/ctype.h: Prepare headers for use in ISO C++ compliant - implementations. - * libio/stdio.h: Likewise. - * locale/locale.h: Likewise. - * math/math.h: Likewise. - * math/bits/mathcalls.h: Likewise. - * setjmp/setjmp.h: Likewise. - * signal/signal.h: Likewise. - * stdlib/stdlib.h: Likewise. - * string/string.h: Likewise. - * time/time.h: Likewise. - * wcsmbs/wchar.h: Likewise. - * wctype/wctype.h: Likewise. - -2002-08-28 Roland McGrath <roland@redhat.com> - - * locale/tst-C-locale.c (run_test): Remove __ from function names. - -2002-08-28 Jakub Jelinek <jakub@redhat.com> - Roland McGrath <roland@redhat.com> - - * locale/hashval.h (compute_hashval): Use prototype defn. - (hashval_t): New macro, defined to unsigned long int - if not already defined. - (compute_hashval): Return hashval_t instead of unsigned long int. - * locale/loadarchive.c (hashval_t): New macro. - * locale/programs/locarchive.c: Include hashval.h directly instead - of simple-hash.h. - (compute_hashval, hashval_t): Define these macros first. - (insert_name): Use archive_hashval instead of compute_hashval. - (add_locale, delete_locales_from_archive): Likewise. - -2002-08-28 Jakub Jelinek <jakub@redhat.com> - - * locale/programs/locarchive.c (insert_name): Suppress warnings about - hash collisions if be_quiet. - -2002-08-27 Roland McGrath <roland@redhat.com> - - * locale/locale.h (__newlocale, __duplocale, __freelocale, - __uselocale): Don't declare these any more. - * include/locale.h (__uselocale): Declare here instead, using __typeof. - - * sysdeps/unix/readdir.c: If getdents fails with ENOENT, restore errno - and treat it as an EOF return. - * sysdeps/unix/readdir_r.c: Likewise. +2001-06-28 H.J. Lu <hjl@gnu.org> - * sysdeps/gnu/errlist-compat.awk: Include <bits/wordsize.h> in output. - From Alexandre Oliva <aoliva@redhat.com>. - * sysdeps/gnu/errlist-compat.c: Regenerated. + * locale/findlocale.c (locale_file_list): Renamed to ... + (_nl_locale_file_list): This. Make it extern. + (free_mem): Move to ... + * locale/setlocale.c (free_mem): Here. -2002-08-27 Brian Youmans <3diff@gnu.org> +2001-06-28 Mark Kettenis <kettenis@gnu.org> - * sysdeps/ieee754/flt-32/e_asinf.c: Modified copying permission - wording at request of copyright holder Stephen Moshier. - * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise. - * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise. - * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise. - * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise. - * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise. - * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise. - * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise. - * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise. - * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise. - * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise. - * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise. - * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise. - * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise. - * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise. + * sysdeps/mach/hurd/read.c: Include <hurd/fd.h>. + (__libc_read): Don't call __pread. Use _hurd_fd_read directly + instead. + * sysdeps/mach/hurd/write.c: Include <hurd/fd.h>. + (__libc_write): Don't call __pwrite. Use _hurd_fd_write directly + instead. -2002-08-28 Jakub Jelinek <jakub@redhat.com> + * sysdeps/mach/hurd/Makefile ($(link-rpcuserlibs)): Add back + -Wl,-soname option lost in 2001-06-16 change. - * ctype/ctype.h (isascii_l, toascii_l): Define to __*_l counterparts. - * ctype/ctype-extn.c (isblank_l): Add weak alias. - * sysdeps/generic/strtol_l.c (strtol_l): Likewise. - * sysdeps/generic/strtoll_l.c (strtoll_l): Likewise. - * sysdeps/generic/strtoul_l.c (strtoul_l): Likewise. - * sysdeps/generic/strtoull_l.c (strtoull_l): Likewise. - * wctype/iswctype_l.c (iswctype_l): Likewise. - -2002-08-27 Roland McGrath <roland@redhat.com> - - * time/strftime.c [USE_IN_EXTENDED_LOCALE_MODEL]: No libc_hidden_def. - - * ctype/ctype.h (__exctype_l): Don't declare __ name. - * stdlib/stdlib.h: Don't declare __*_l names. - * include/stdlib.h: Declare them here instead. - * include/string.h: Don't declare __*_l names. - * string/string.h: Declare them here instead. - * time/time.h: Don't declare __*_l names. - * include/time.h: Declare them here instead. - * wcsmbs/wchar.h: Don't declare __*_l names. - * include/wchar.h: Declare them here instead. - * wctype/wctype.h: Declare iswalnum_l, not __iswalnum_l. - Don't declare __*_l names. - * include/wctype.h: Declare them here instead. - * stdlib/monetary.h: Declare strfmon_l, not __strfmon_l. - * stdlib/strfmon_l.c (strfmon_l): Define as weak alias. - * locale/langinfo.h: Don't declare __nl_langinfo_l. - * include/langinfo.h: Declare it here with __typeof. - - * time/strptime.c [USE_IN_EXTENDED_LOCALE_MODEL]: Define __strptime_l - instead, taking an extra __locale_t argument. - * time/Makefile (routines): Add strptime_l. - * time/time.h (__strptime_l, strptime_l): Declare them. - * time/strptime_l.c: New file. - - * time/time.h (__strftime_l, strftime_l): Declare them. - * wcsmbs/wchar.h (__wcsftime_l, wcsftime_l): Declare them. - * time/strftime_l.c: New file. - * time/wcsftime_l.c: New file. - * time/Makefile (routines): Add strftime_l, wcsftime_l. - * time/Versions (libc: GLIBC_2.3): Add __strftime_l, __wcsftime_l, - strftime_l, wcsftime_l. - * time/strftime.c [USE_IN_EXTENDED_LOCALE_MODEL]: Define __strftime_l - or __wcsftime_l instead, taking an extra __locale_t argument. - - * locale/Versions (libc: GLIBC_PRIVATE): Move __uselocale to ... - (libc: GLIBC_2.3): ... here. - -2002-08-27 Ulrich Drepper <drepper@redhat.com> - - * stdio-common/Makefile: Fix typo in stdio_lim.h installation rule. - - * Makefile (distribute): Add LICENSES. - - * sysdeps/unix/sysv/linux/x86_64/Dist: Add ucontext_i.h and - sys/debugreg.h. - - * sysdeps/unix/sysv/linux/s390/Dist: Add new/route.h. - - * sysdeps/unix/sysv/linux/ia64/Dist: Add dl-brk.S and sys/user.h. - - * sysdeps/unix/sysv/linux/mips/Dist: Add sys/user.h. - - * sysdeps/unix/sysv/linux/Dist: Add readahead.c. - - * sysdeps/mach/hurd/alpha/Dist: New file. - - * sysdeps/arm/Dist: Add bits/link.h. - - * sunrpc/Makefile: Distribute thrsvc. - - * stdio-common/Makefile: Remove more left-overs from old stdio. - - * include/linewrap.h: Removed. - - * libio/bug-mmap-fflush.c: Rewrite to not touch source directory. - - * intl/Makefile (distribute): Add plural-eval.c. - -2002-08-27 Roland McGrath <roland@redhat.com> - - * manual/sysinfo.texi (Mount Information): Correct file name to macro - assocations for _PATH_MNTTAB, MNTTAB, _PATH_MOUNTED, MOUNTED. - Say mtab is in either /var/run or /etc. - -2002-08-26 Roland McGrath <roland@redhat.com> - - * manual/errno.texi (Error Codes): Added ECANCELED (118 for Hurd). - * sysdeps/mach/hurd/bits/errno.h: Regenerated. - - * sysdeps/gnu/Versions: New file. - * sysdeps/unix/sysv/linux/Versions (libc: GLIBC_2.1): Remove - _sys_errlist; sys_errlist; _sys_nerr; sys_nerr; from here. - * sysdeps/gnu/Makefile ($(..)sysdeps/gnu/errlist-compat.c): New target. - ($(objpfx)errlist.d): Depend on $(..)sysdeps/gnu/errlist-compat.c. - * sysdeps/gnu/errlist.awk: Make output define _sys_errlist_internal - and _sys_nerr_internal instead of anything else. Make it include - "errlist-compat.c" if [!NOT_IN_libc && !ERRLIST_NO_COMPAT]. - Make it emit some asm magic if [EMIT_ERR_MAX]. - * sysdeps/gnu/errlist.c: Regenerated. - * sysdeps/gnu/errlist-compat.awk: New file. - * sysdeps/gnu/errlist-compat.c: New file (generated). - * sysdeps/mach/hurd/errlist.c (ERRLIST_NO_COMPAT): New macro. - (_sys_errlist_internal): Define this as a macro for _hurd_errlist. - (_sys_nerr_internal): Define this is a macro for _hurd_nerr. - (SYS_ERRLIST, SYS_NERR): Macros removed. - (sys_nerr, _sys_nerr): Remove these weak aliases. - * sysdeps/unix/sysv/linux/errlist.c: File removed. - * sysdeps/unix/sysv/linux/errlist.h: File removed. - * sysdeps/unix/sysv/linux/arm/errlist.c: File removed. - - * include/libc-symbols.h (declare_symbol): New macro. - * config.h.in (ASM_TYPE_DIRECTIVE_PREFIX): New #undef. - * configure.in: New check to define it. - * configure: Regenerated. +2001-06-27 Ulrich Drepper <drepper@redhat.com> -2002-08-27 Ulrich Drepper <drepper@redhat.com> + * posix/tst-regex.c: Pass REG_NEWLINE to regcomp. Add extra tests. + Restrict printing of string in debug mode to 100 characters to make + the output useful for long input texts. - * stdio-common/Makefile (headers): Remove bits/stdio_lim.h. This - file isn't distributed. Add special rules to install bits/stdio_lim.h. + * posix/Makefile: Add rules to build and run tst-regex. - * Make-dist: Remove traces of old stdio. - * Makeconfig: Likewise. +2001-06-20 Isamu Hasegawa <isamu@yamato.ibm.com> - * locale/Makefile (localedef-aux): New variable. Only md5 - assigned to it. These files are not ddistributed in this directory. + * posix/regex.c (FREE_WCS_BUFFERS): New macro to free buffers. + (re_search_2): Invoke convert_mbs_to_wcs and FREE_WCS_BUFFERS. + (wcs_re_match_2_internal): Check whether the wcs buffers need + seting up or not, and skip seting up routin if not needed. - * sysdeps/unix/sysv/linux/s390/Dist: Add sys/procfs.h. - * sysdeps/unix/sysv/linux/s390/s390-64/Dist: Remove sys/procfs.h. - * sysdeps/unix/sysv/linux/s390/s390-32/Dist: Likewise. +2001-06-26 Isamu Hasegawa <isamu@yamato.ibm.com> - * sysdeps/unix/sysv/linux/Dist: Remove sys/sendfile.h. + * posix/regex.c (count_mbs_length): Use binary search for optimization. - * nss/getXXbyYY_r.c (REENTRANT_NAME): If no service is available - set h_errno to NO_RECOVERY [PR libc/4360]. +2001-06-27 Ulrich Drepper <drepper@redhat.com> -2002-08-26 Ulrich Drepper <drepper@redhat.com> + * posix/tst-regex.c: Fix several bugs. Add more tests. - * libio/Makefile (tests): Add bug-fopena+. - * libio/bug-fopena+.c: New file. - * libio/fileops.c (_IO_file_open): Only set file pointer to end of the - file for _IO_IS_APPENDING if file isn't opened for reading, too. +2001-06-26 Mark Kettenis <kettenis@gnu.org> - * stdio-common/tst-swprintf.c (main): Add casts to avoid warnings. + * hurd/Makefile (user-interfaces): Add pfinet. + * hurd/hurdioctl.c: Include <hurd/pfinet.h>, <net/if.h> and + <netinet/in.h>. + (siocgifconf): New function. Register it with HURD_HANDLE_IOCTL + as the handler for SIOCGIFCONF. + * sysdeps/mach/hurd/bits/ioctls.h: Modify SIOCSIFFLAGS and + SIOCGIFFLAGS to be of IOC type ifreq_short. Modify SIOCSIFMETRIC + and SIOCGIFMETRIC to be of IOC type ifreq_int. Add new macro + definitions for SIOCGIFMTU, SIOCSIFMTU, SIOCGIFINDEX and + SIOCGIFNAME. + From Marcus Brunkmann <marcus@gnu.org>. - * locale/xlocale.c: Fix the last change. The variable still has - to end in _data. - * sysdeps/generic/bits/libc-tsd.h [!(USE_TLS && HAVE___THREAD)] - (__libc_tsd_set): Add _data prefix to variable name. +2001-06-25 Ulrich Drepper <drepper@redhat.com> -2002-08-26 Roland McGrath <roland@redhat.com> + * sysdeps/gnu/net/if.h: Correct _IOT_ifreq and add _IOT_ifreq_short + and _IOT_ifreq_int. Patch by Mark Kettenis <kettenis@wins.uva.nl>. - * sysdeps/generic/sigset-cvt-mask.h (sigset_set_old_mask): Replace - macro with inline function. - (sigset_get_old_mask): Likewise. - * sysdeps/posix/sigblock.c (__sigblock): Update callers. - * sysdeps/posix/sigsetmask.c (__sigsetmask): Likewise. - * sysdeps/posix/sigpause.c (__sigpause): Likewise. - * sysdeps/posix/sigvec.c (__sigvec, sigvec_wrapper_handler): Likewise. - * sysdeps/unix/sysv/aix/sigset-cvt-mask.h - (sigset_set_old_mask, sigset_get_old_mask): Make these macros return - values. - * sysdeps/unix/sysv/linux/sigset-cvt-mask.h: Likewise. - * sysdeps/unix/sysv/sysv4/sigset-cvt-mask.h: Likewise. + * elf/dl-deps.c (_dl_map_object_deps): Fix handling of failing + _dl_catch_error calls. -2002-07-06 Bruno Haible <bruno@clisp.org> +2001-06-22 Jakub Jelinek <jakub@redhat.com> - * sysdeps/generic/sigset-cvt-mask.h (sigset_set_old_mask, - sigset_get_old_mask): Make it work with larger sigset_t. - * sysdeps/posix/sigblock.c (__sigblock): Use those macros. - * sysdeps/posix/sigsetmask.c (__sigsetmask): Likewise. - * sysdeps/posix/sigpause.c (__sigpause): Likewise. + * posix/regex.c (regex_compile, re_match_2_internal): Fix comment + typos. -2002-08-26 Roland McGrath <roland@redhat.com> +2001-06-01 Wolfram Gloger <wg@malloc.de> - * time/sys/time.h [__USE_BSD] (lutimes, futimes): Declare them. - * manual/filesys.texi (File Times): Document lutimes and futimes. - * misc/Makefile (routines): Add them. - * misc/Versions (libc: GLIBC_2.3): Likewise. - * sysdeps/generic/lutimes.c: New file. - * sysdeps/generic/futimes.c: New file. - * sysdeps/mach/hurd/lutimes.c: New file. - * sysdeps/mach/hurd/futimes.c: New file. + * malloc/malloc.c (malloc_atfork, free_atfork): Use a unique value + ATFORK_ARENA_PTR, not 0, for the thread-specific arena pointer + when malloc_atfork is in use. - * manual/filesys.texi (File Times): Add explicit note about null - pointer argument to utimes. +2001-06-22 Andreas Jaeger <aj@suse.de> -2002-08-26 Roland McGrath <roland@frob.com> + * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Add parenthese + to avoid warnings. - * sysdeps/mach/hurd/ifreq.h (__if_freereq): Add missing semicolon. - (__ifreq): Add a cast. Remove an unused variable. + * sysdeps/i386/fpu/e_expl.c (__ieee754_expl): Remove unused + variable. + Add unused attributes to avoid warnings. - * hurd/hurd/threadvar.h (enum __hurd_threadvar_index): Add - _HURD_THREADVAR_LOCALE. - -2002-08-26 Jakub Jelinek <jakub@redhat.com> - - * posix/regexec.c (re_search_stub): Return correct match length - if start != 0. - * posix/bug-regex10.c: New test. - * posix/Makefile (tests): Add bug-regex10. - -2002-08-26 Brian Youmans <3diff@gnu.org> - - * COPYING.LIB: Replaced with fresh copy from - ftp://ftp.gnu.org/gnu/Licenses/COPYING.LIB-2.1; - suggested copying permission notice now says version 2.1 instead - of version 2. - - * crypt/crypt.c: Changed copying permission notice to Lesser GPL - from Library GPL. - * crypt/crypt_util.c: Likewise. - * crypt/ufc.c: Likewise. - * elf/dl-conflict.c: Likewise. - * elf/dl-iteratephdr.c: Likewise. - * iconv/iconvconfig.h: Likewise. - * malloc/arena.c: Likewise. - * malloc/hooks.c: Likewise. - * malloc/malloc.c: Likewise. - * posix/glob/Makefile.ami: Likewise. - * posix/glob/Makefile.in: Likewise. - * stdlib/gmp-impl.h: Likewise. - * stdlib/gmp.h: Likewise. - * sysdeps/generic/dl-iteratephdr-static.c: Likewise. - * sysdeps/generic/strnlen.c: Likewise. - * sysdeps/mach/hurd/powerpc/bits/sigcontext.h: Likewise. - * sysdeps/mach/hurd/recvmsg.c: Likewise. - * sysdeps/mach/hurd/sendmsg.c: Likewise. - * sysdeps/mach/hurd/spawni.c: Likewise. - * sysdeps/mach/powerpc/machine-sp.h: Likewise. - * sysdeps/mach/powerpc/sysdep.h: Likewise. - * sysdeps/mach/powerpc/thread_state.h: Likewise. - * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Likewise. - * sysdeps/unix/sysv/linux/ia64/dl-iteratephdr-static.c: Likewise. - * sysdeps/x86_64/gmp-mparam.h: Likewise. - - * sysdeps/ieee754/dbl-64/MathLib.h: Corrected version number in - Lesser GPL copying permission notice from 2 to 2.1. - * sysdeps/ieee754/dbl-64/asincos.tbl: Likewise. - * sysdeps/ieee754/dbl-64/atnat.h: Likewise. - * sysdeps/ieee754/dbl-64/atnat2.h: Likewise. - * sysdeps/ieee754/dbl-64/branred.c: Likewise. - * sysdeps/ieee754/dbl-64/branred.h: Likewise. - * sysdeps/ieee754/dbl-64/dla.h: Likewise. - * sysdeps/ieee754/dbl-64/doasin.c: Likewise. - * sysdeps/ieee754/dbl-64/doasin.h: Likewise. - * sysdeps/ieee754/dbl-64/dosincos.c: Likewise. - * sysdeps/ieee754/dbl-64/dosincos.h: 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/mpa.h: Likewise. - * sysdeps/ieee754/dbl-64/mpa2.h: Likewise. - * sysdeps/ieee754/dbl-64/mpatan.c: Likewise. - * sysdeps/ieee754/dbl-64/mpatan.h: Likewise. - * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise. - * sysdeps/ieee754/dbl-64/mpexp.c: Likewise. - * sysdeps/ieee754/dbl-64/mpexp.h: Likewise. - * sysdeps/ieee754/dbl-64/mplog.c: Likewise. - * sysdeps/ieee754/dbl-64/mplog.h: Likewise. - * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise. - * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise. - * sysdeps/ieee754/dbl-64/mptan.c: Likewise. - * sysdeps/ieee754/dbl-64/mydefs.h: Likewise. - * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise. - * sysdeps/ieee754/dbl-64/root.tbl: 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/sincos.tbl: Likewise. - * sysdeps/ieee754/dbl-64/sincos32.c: Likewise. - * sysdeps/ieee754/dbl-64/sincos32.h: Likewise. - * sysdeps/ieee754/dbl-64/slowexp.c: Likewise. - * sysdeps/ieee754/dbl-64/slowpow.c: Likewise. - * sysdeps/ieee754/dbl-64/uasncs.h: Likewise. - * sysdeps/ieee754/dbl-64/uatan.tbl: Likewise. - * sysdeps/ieee754/dbl-64/uexp.h: Likewise. - * sysdeps/ieee754/dbl-64/uexp.tbl: Likewise. - * sysdeps/ieee754/dbl-64/ulog.h: Likewise. - * sysdeps/ieee754/dbl-64/ulog.tbl: Likewise. - * sysdeps/ieee754/dbl-64/upow.h: Likewise. - * sysdeps/ieee754/dbl-64/upow.tbl: Likewise. - * sysdeps/ieee754/dbl-64/urem.h: Likewise. - * sysdeps/ieee754/dbl-64/uroot.h: Likewise. - * sysdeps/ieee754/dbl-64/usncs.h: Likewise. - * sysdeps/ieee754/dbl-64/utan.h: Likewise. - * sysdeps/ieee754/dbl-64/utan.tbl: Likewise. - - * sysdeps/ieee754/flt-32/e_asinf.c: Added copyright notice for Stephen - Moshier and Lesser GPL copying permission notice, per license from - Moshier. - * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise. - * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise. - * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise. - * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise. - * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise. - * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise. - * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise. - * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise. - * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise. - * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise. - * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise. - * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise. - * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise. - * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise. - - * sysdeps/ieee754/ldbl-128/e_j0l.c: Added Lesser GPL copying permission - notice, per license from copyright holder Stephen Moshier. - * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise. - * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise. - * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise. - * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise. - * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise. - * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise. - * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise. - * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise. - * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise. - -2002-08-26 Kaz Kojima <kkojima@rr.iij4u.or.jp> - - * sysdeps/sh/Makefile (sysdeps_routines): Add divdi3 in csu dir. - (shared-only-routines): Likewise. - -2002-08-26 Roland McGrath <roland@redhat.com> - - * locale/programs/ld-ctype.c (ctype_read): When given a repertoire - name of "", store a null pointer instead. - - * configure.in (elf): Set to yes for freebsd*, netbsd*. - * configure: Regenerated. + * elf/reldep4mod4.c: Add prototype to avoid warning. + * elf/reldep4mod2.c: Likewise. - * locale/xlocale.c [! (USE_TLS && HAVE___THREAD)] (__libc_tsd_LOCALE): - Initialize this instead of __libc_tsd_LOCALE_data. + * sysdeps/i386/fpu/e_expl.c: Include <math_private.h> for + prototypes. - * sysdeps/unix/grantpt.c (pts_name): Convert ENOTTY return from - ptsname_r to EINVAL. +2001-06-18 Roland McGrath <roland@frob.com> - * sysdeps/generic/ptsname.c (__ptsname_r): Return ENOSYS instead of 0. + * hurd/hurd/fd.h (_hurd_fd_error_signal): Change return type to int. - * rt/Makefile: Revert last change, it was inappropriate to presume aio - implementations depend on pthreads. - * rt/tst-aio.c (do_test): Exit happy if first failure is ENOSYS. - * rt/tst-aio64.c (do_test): Likewise. - * rt/tst-aio2.c (do_test): Likewise. - * rt/tst-aio3.c (do_test): Likewise. - * rt/tst-aio4.c (do_test): Likewise. - * rt/tst-aio5.c (do_test): Likewise. - * rt/tst-aio6.c (do_test): Likewise. - * rt/tst-aio7.c (do_test): Likewise. - - * sysdeps/generic/bits/libc-lock.h (__libc_setspecific): Use a cast to - void so as to avoid compiler warnings. - - * libio/oldstdfiles.c [! _IO_MTSAFE_IO] (DEF_STDFILE): Don't define - _IO_wide_data_FD, which is never used here. - - * libio/iofread.c - [! _IO_MTSAFE_IO] (fread_unlocked): Add libc_hidden_ver defn. - * libio/iofputs.c [! _IO_MTSAFE_IO] (fputs_unlocked): Likewise. - * libio/iofgets.c [! _IO_MTSAFE_IO] (fgets_unlocked): Likewise. - - * include/resolv.h [! _LIBC_REENTRANT] (_res): #undef it before decl. - * include/netdb.h [! _LIBC_REENTRANT] (h_errno): Declare normal extern. - - * misc/syslog.c (openlog): Conditionalize locking on [_LIBC_REENTRANT]. - (closelog): Likewise. +2001-06-20 Alexandre Oliva <aoliva@redhat.com> -2002-07-06 Bruno Haible <bruno@clisp.org> + * sysdeps/unix/sysv/settimeofday.c: Include time.h. - * sysdeps/alpha/fpu/fpu_control.h: Comment fix. +2001-06-19 Martin Schwidefsky <schwidefsky@de.ibm.com> - * sysdeps/unix/sysv/linux/alpha/pipe.S: Moved to ... - * sysdeps/unix/alpha/pipe.S: ... here. - * sysdeps/unix/bsd/osf/alpha/pipe.S: File removed. + * sysdeps/unix/sysv/linux/s390/s390-64/dl-cache.h: New file. - * sysdeps/unix/i386/brk.S: Rename local label to '.Lhere' in ELF. - - * sysdeps/unix/i386/brk.S: Add PSEUDO_END invocation. - * sysdeps/unix/i386/fork.S: Likewise. - * sysdeps/unix/i386/pipe.S: Likewise. - * sysdeps/unix/i386/wait.S: Likewise. +2001-05-09 Michael Keezer <mkeezer@redhat.com> - * sysdeps/unix/fork.S: Fix PSEUDO_END argument. - * sysdeps/unix/arm/fork.S: Likewise. + * Makeconfig: Added AIX-ld support for DSO. + * Makerules: Likewise. + * dlfcn/Makefile (defaultmod1.so): Added libc_nonshared. + (defaultmod2.so): Likewise. + * debug/Makefile: Conditionalize use of elf/ld.so. + * iconvdata/Makefile: Moved LDFLAG rpath/soname info into Makeconfig. + + * sysdeps/unix/sysv/aix/Makefile: Added dl-support.c and dl-error.c. + * sysdeps/unix/sysv/aix/Makefile: Made (f/g)rsave(0/1) & + (f/g)prrest(0/1) static only. + * sysdeps/unix/sysv/aix/gettimeofday.c: Removed #if 0. + * sysdeps/unix/sysv/aix/start.c: Define __dso_handle if not ELF but + shared. + * sysdeps/unix/sysv/aix/setitimer.c: New file. + * sysdeps/unix/sysv/aix/sleep.c: New file. + * sysdeps/unix/sysv/aix/usleep.c: New file. + * sysdeps/unix/sysv/aix/dl-addr.c: New file. + * sysdeps/unix/sysv/aix/dl-error.c: New file. + * sysdeps/unix/sysv/aix/dl-support.c: New file. + * sysdeps/unix/sysv/aix/powerpc/register-dump.h: New file. + +2001-06-19 Ulrich Drepper <drepper@redhat.com> - * sysdeps/unix/sysv/linux/arm/sysdep.h (PSEUDO): Swap DO_CALL - arguments. - (DO_CALL): Swap argument order. - * sysdeps/unix/sysv/linux/hppa/sysdep.h (PSEUDO): Swap DO_CALL - arguments. - (DO_CALL): Swap argument order. - * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Swap DO_CALL - arguments. - (DO_CALL): Swap argument order. - * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (PSEUDO): Swap DO_CALL - arguments. - (DO_CALL): Swap argument order. - * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (PSEUDO): Swap DO_CALL - arguments. - (DO_CALL): Swap argument order. - * sysdeps/unix/sysv/linux/sh/sysdep.h (PSEUDO): Swap DO_CALL - arguments. - (DO_CALL): Swap argument order. - * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Swap DO_CALL - arguments. - (DO_CALL): Swap argument order. - - * sysdeps/i386/sysdep.h (PSEUDO): Fix syntax error. - (L): Define right for ELF. - * sysdeps/unix/sysv/linux/i386/sysdep.h (L): Remove definition. - Now defined in sysdeps/i386/sysdep.h. - - * sysdeps/posix/readv.c: Ansify function definition. - * sysdeps/posix/writev.c: Likewise. - - * stdio-common/tst-fseek.c (main): Don't assume that off_t and size_t - have the same size. Avoid direct cast from size_t to off_t. - - * login/tst-utmp.c (simulate_login): Don't leave garbage after the - nul byte in entry[n].ut_user. - (simulate_logout): Likewise. - - * login/programs/utmpdump.c (print_entry): Test _HAVE_UT_TYPE, - _HAVE_UT_PID, _HAVE_UT_ID, _HAVE_UT_HOST, instead of assuming the - existence of corresponding members of 'struct utmp'. - * login/tst-utmp.c: Trivialize the test if testing 'struct utmp' and - !_HAVE_UT_TYPE. - - * sysdeps/unix/opendir.c (__opendir): If st_blksize is 0 or too small, - allocate a buffer of at least BUFSIZ bytes, not just of - sizeof (struct dirent). - - * sysdeps/generic/glob.c: Include <limits.h>. - (NAME_MAX): Define a fallback. - (glob_in_dir): Allocate enough room for a 'struct dirent64' on the - stack. - * posix/tst-dir.c: Include <stddef.h>, for offsetof. - (main): Allocate enough room for a 'struct dirent64' on the stack. - * posix/tst-gnuglob.c (my_DIR): Allocate enough room for a - 'struct dirent'. - - * sysdeps/unix/sysv/linux/init-first.c: Don't include - kernel-features.h. - - * inet/htontest.c: Include <sys/types.h>. - - * sysdeps/generic/sys/sysinfo.h: Surround with __{BEGIN,END}_DECLS. - - * include/sys/sysctl.h: Comment fix. + * po/es.po: Update from translation team. - * elf/rtld.c (_rtld_global) [! _LIBC_REENTRANT]: Don't initialize - _dl_load_lock. - * libio/fileno.c (fileno_unlocked): Define regardless of _IO_MTSAFE_IO. - - * sysdeps/unix/bsd/bsd4.4/syscalls.list (__sigaltstack): New alias. - - * sysdeps/unix/inet/syscalls.list (__connect_internal): New alias. - (__getpeername): New alias. - (__getsockname): New alias. - (__socket): New alias. - - * sysdeps/unix/common/syscalls.list (getpgid): Remove. - - * sysdeps/unix/syscalls.list (__chown_internal): New alias. - (__fcntl_internal): New alias. - (__profil): New alias. - -2002-08-26 Ulrich Drepper <drepper@redhat.com> - - * nscd/hstcache.c (cache_addhst): Add new parameter saying whether - entry was for getaddr* lookup or not. Add only matching cache - entry. Change all callers [PR libc/4317]. - - * libio/wfileops.c (_IO_wfile_seekoff): Set fp->_offset after - finding the read position [PR libc/4265]. - * libio/Makefile (tests): Add bug-rewind2. - * libio/bug-rewind2.c: New file. - - * libio/bug-rewind.c: Fix creation of temp file. - -2002-08-25 Ulrich Drepper <drepper@redhat.com> - - * nss/getXXbyYY_r.c (REENTRANT_NAME): Return ENOENT if status is - neither SUCCESS nor TRYAGAIN [PR libc/4259]. - * nss/nss_files/files-XXX.c (internal_getent): Don't set *errnop - to ENOENT if no entry is found. - * nis/nss_compat/compat-grp.c: Don't set errno in case of lookup - failure. - * nis/nss_compat/compat-initgroups.c: Likewise. - * nis/nss_compat/compat-pwd.c: Likewise. - * nis/nss_compat/compat-spwd.c: Likewise. - * nis/nss_nis/nis-alias.c: Likewise. - * nis/nss_nis/nis-ethers.c: Likewise. - * nis/nss_nis/nis-grp.c: Likewise. - * nis/nss_nis/nis-hosts.c: Likewise. - * nis/nss_nis/nis-initgroups.c: Likewise. - * nis/nss_nis/nis-netgrp.c: Likewise. - * nis/nss_nis/nis-network.c: Likewise. - * nis/nss_nis/nis-proto.c: Likewise. - * nis/nss_nis/nis-publickey.c: Likewise. - * nis/nss_nis/nis-pwd.c: Likewise. - * nis/nss_nis/nis-rpc.c: Likewise. - * nis/nss_nis/nis-service.c: Likewise. - * nis/nss_nis/nis-spwd.c: Likewise. - * resolv/nss_dns/dns-host.c: Likewise. - * resolv/nss_dns/dns-network.c: Likewise. - * nis/nss_nisplus/nisplus-alias.c: Save errno around NIS calls. - * nis/nss_nisplus/nisplus-ethers.c: Likewise. - * nis/nss_nisplus/nisplus-grp.c: Likewise. - * nis/nss_nisplus/nisplus-hosts.c: Likewise. - * nis/nss_nisplus/nisplus-network.c: Likewise. - * nis/nss_nisplus/nisplus-proto.c: Likewise. - * nis/nss_nisplus/nisplus-pwd.c: Likewise. - * nis/nss_nisplus/nisplus-rpc.c: Likewise. - * nis/nss_nisplus/nisplus-service.c: Likewise. - * nis/nss_nisplus/nisplus-spwd.c: Likewise. - * hesiod/nss_hesiod/hesiod-pwd.c (lookup): Preserve errno value. - * hesiod/nss_hesiod/hesiod-proto.c (lookup): Likewise. - * hesiod/nss_hesiod/hesiod-grp.c (lookup): Likewise. - * hesiod/nss_hesiod/hesiod-service.c (lookup): Likewise. +2001-06-19 Andreas Jaeger <aj@suse.de> - * sysdeps/unix/sysv/linux/i386/sigaction.c: Avoid warnings by - declaring __restore and __restore_rt as hidden (if possible). + * sysdeps/ieee754/ldbl-128/s_tanhl.c: New file. -2002-08-25 Roland McGrath <roland@redhat.com> + * math/libm-test.inc (tanh_test): Test for 2^-56. - * manual/llio.texi (Access Modes): Fix typos in O_READ/O_WRITE defns. + * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Make sure result + equals argument when x < 2^-55. + Patches by Stephen L. Moshier <moshier@na-net.ornl.gov>. - * sysdeps/generic/utmp_file.c (LOCK_FILE): Check for error from fcntl. - (getutent_r_file, internal_getut_r): Updated all callers. - (getutline_r_file, pututline_file, updwtmp_file): Likewise. +2001-06-17 Alan Modra <amodra@bigpond.net.au> -2002-08-25 Ulrich Drepper <drepper@redhat.com> + * sysdeps/hppa/dl-machine.h (elf_machine_rela): Handle relocs + at unaligned address. - * locale/programs/locale.c: Don't print aliases for non-existing - locales for 'locale -a'. - Patch by Noah Levitt <nlevitt@columbia.edu> [PR libc/4166]. +2001-06-18 Ulrich Drepper <drepper@redhat.com> -2002-07-19 H.J. Lu <hjl@gnu.org> + * posix/regex.c: Reorganize code to build code twice, once for single + byte, once for multi-byte charsets. Choose function set adequate for + locale at runtime. + Patch by Isamu Hasegawa <isamu@yamato.ibm.com>. - * sysdeps/unix/sysv/linux/mips/bits/msq.h: New file. + * po/nl.po: Update from translation team. -2002-07-16 H.J. Lu <hjl@gnu.org> +2001-06-09 Bruno Haible <haible@clisp.cons.org> - * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add - sys/personality.h. - * sysdeps/unix/sysv/linux/sys/personality.h: New file. + * iconvdata/gconv-modules (BIG5HKSCS): New alias BIG5-HKSCS. + (ISO-8859-14): New aliases ISO_8859-14 and ISO-CELTIC. + * iconvdata/tst-tables.sh: For BIG5HKSCS, use BIG5-HKSCS charmap. -2002-08-25 Ulrich Drepper <drepper@redhat.com> +2001-05-26 Bruno Haible <haible@clisp.cons.org> - * elf/tst-tlsmod1.c (in_dso): Make sure the TLS variable access is - not moved ahead of the fputs call. - * elf/tst-tlsmod2.c (in_dso): Likewise. - * elf/tst-tlsmod3.c (in_dso2): Likewise. - * elf/tst-tlsmod4.c (in_dso): Likewise. + * iconvdata/tst-tables.sh: For SJIS module, use SHIFT_JIS charmap. + * manual/charset.texi: Write Shift_JIS, not Shift-JIS. -2002-08-25 Andreas Schwab <schwab@suse.de> +2001-06-17 Roland McGrath <roland@frob.com> - * elf/dl-reloc.c (_dl_reloc_bad_type): Nul-terminate message. + * sysdeps/pthread/aio_misc.h (LIO_DSYNC): Define to LIO_NOP + 1, + not LIO_READ + 1 (which is the value of LIO_WRITE!). -2002-08-25 Roland McGrath <roland@redhat.com> + * Makerules (build-module-helper-objlist): New variable, + broken out of build-module. Insert --whole-archive/--no-whole-archive + immediately each *_pic.a file in the link object list. + (whole-archive): New variable, used by that. + (build-module-objlist): New variable using build-module-helper-objlist. + (build-module, build-module-helper): Use it. + (build-shlib-objlist): New variable using build-module-helper-objlist. + (build-shlib): Use that. + * sysdeps/mach/hurd/Makefile ($(link-rpcuserlibs)): Likewise. - * sysdeps/generic/utmp_file.c (UNLOCK_FILE): Clear alarm before - resetting handler, to avoid the possibility of a spurious SIGALRM - delivered to the user's handler. - Reported by Amit D. Chaudhary <amitc@brocade.com>, + * posix/spawni.c: Moved to ... + * sysdeps/posix/spawni.c: ... here. + * sysdeps/generic/spawni.c: New file. - * misc/Makefile (CFLAGS-init-misc.c): Variable removed. It served to - set -fkeep-inline-functions, which is not needed for the current file. +2001-06-16 Roland McGrath <roland@frob.com> - * sysdeps/generic/ldsodefs.h: Add attribute_hidden to *_internal decls. - (_dl_setup_hash): Add attribute_hidden. - (_dl_sysdep_start, _dl_sysdep_start_cleanup): Likewise. - (_dl_sysdep_read_whole_file, _dl_dprintf): Likewise. - (_dl_new_object, _dl_map_object_deps): Likewise. - (_dl_map_object_deps_internal): Remove decl. - * elf/rtld.c (__mempcpy, _exit): Redeclare locally as hidden. + * hurd/Makefile (routines): Add lookup-retry. + * hurd/hurdlookup.c (__hurd_file_name_lookup_retry): Broken out ... + * hurd/lookup-retry.c: ... into here, new file. + * sysdeps/mach/hurd/dl-sysdep.c (open_file): Call that instead + using of duplicate code here. - * sysdeps/i386/dl-machine.h [PI_STATIC_AND_HIDDEN - && HAVE_VISIBILITY_ATTRIBUTE && HAVE_HIDDEN - && !HAVE_BROKEN_VISIBILITY_ATTRIBUTE] - (elf_machine_dynamic, elf_machine_load_address): Rewritten without asm, - instead relying on the compiler to produce only GOTOFF variable refs. + * hurd/hurdexec.c (_hurd_exec): Be robust for DTABLESIZE==0. -2002-08-25 Ulrich Drepper <drepper@redhat.com> +2001-06-17 Ulrich Drepper <drepper@redhat.com> - * elf/dl-load.c: Fix typo in comment. Add a few more __builtin_expect. + * po/ja.po: Update from translation team. - * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Define as static - inline to avoid defining it in every file which includes this header. +2001-06-04 Bruno Haible <haible@clisp.cons.org> + + * locale/programs/locfile.c (siblings_uncached, siblings, full_read, + compare_files): New functions. + (write_locale_data): Use xmalloc. Compare the file with the locale + data files for the same category in other locales, and reuse it if + possible and safe. + +2001-06-07 Mark Kettenis <kettenis@gnu.org> + + * grp/initgroups.c (initgroups): Factor out re-usable code into... + (internal_getgrouplist): ... new function. + (getgrouplist): New function. + * grp/grp.h (getgrouplist): New prototype. + * grp/Versions [2.2.4]: Add getgrouplist. + +2001-06-16 Ulrich Drepper <drepper@redhat.com> + + * inet/netinet/ip6.h: Fix comments in ip6_hdr. + Patch by Pekka Savola <pekkas@netcore.fi>. + +2001-06-15 Roland McGrath <roland@frob.com> + + * rt/Makefile (aio-routines, clock-routines, timer-routines): New + variables, broken out of librt-routines. + (librt-routines): Set using those. + (extra-libs, extra-libc-others, tests): Set these unconditionally. + (distribute): No need for $(librt-map) or $(librt-routines:=.c) here. + * sysdeps/generic/aio_fsync.c: New file. + * sysdeps/generic/aio_misc.c: New file. + * sysdeps/generic/aio_write.c: New file. + * sysdeps/generic/aio_write64.c: New file. + * sysdeps/generic/aio_read64.c: New file. + * sysdeps/generic/aio_read.c: New file. + * sysdeps/generic/aio_notify.c: New file. + * sysdeps/generic/lio_listio64.c: New file. + * sysdeps/generic/lio_listio.c: New file. + * sysdeps/generic/aio_cancel.c: New file. + * sysdeps/generic/aio_misc.h: New file. + * sysdeps/generic/aio_suspend.c: New file. + * rt/aio_cancel.c: Moved to ... + * sysdeps/pthread/aio_cancel.c: ... here. + * rt/aio_fsync.c: Moved to ... + * sysdeps/pthread/aio_fsync.c: ... here. + * rt/aio_misc.c: Moved to ... + * sysdeps/pthread/aio_misc.c: ... here. + * rt/aio_misc.h: Moved to ... + * sysdeps/pthread/aio_misc.h: ... here. + * rt/aio_notify.c: Moved to ... + * sysdeps/pthread/aio_notify.c: ... here. + * rt/aio_read.c: Moved to ... + * sysdeps/pthread/aio_read.c: ... here. + * rt/aio_read64.c: Moved to ... + * sysdeps/pthread/aio_read64.c: ... here. + * rt/aio_suspend.c: Moved to ... + * sysdeps/pthread/aio_suspend.c: ... here. + * rt/aio_write.c: Moved to ... + * sysdeps/pthread/aio_write.c: ... here. + * rt/aio_write64.c: Moved to ... + * sysdeps/pthread/aio_write64.c: ... here. + * rt/lio_listio.c: Moved to ... + * sysdeps/pthread/lio_listio.c: ... here. + * rt/lio_listio64.c: Moved to ... + * sysdeps/pthread/lio_listio64.c: ... here. + +2001-06-14 Roland McGrath <roland@frob.com> + + * configure.in: Let sysdeps Implies files in add-ons bring in + sysdeps directories from the main source and other add-ons too. + +2001-06-15 Jakub Jelinek <jakub@redhat.com> + + * math/test-misc.c (main): Add tests for nextafter and nexttoward + with +-Inf as second argument. + + * sysdeps/generic/s_nexttowardf.c (__nexttowardf): Only check for + NaN, not Inf. + * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Fix check for NaN. + * sysdeps/i386/fpu/s_nexttoward.c: New. + * sysdeps/i386/fpu/s_nexttowardf.c: New. + * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Simplify + check for NaN, optimize x==+-0 handling. + * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf): Likewise. + * sysdeps/ieee754/ldbl-96/s_nextafterl.c (__nextafterl): Simplify + check for NaN, fix sign in x==+-0 case. + * sysdeps/ia64/fpu/s_nexttoward.c: New. + * sysdeps/ia64/fpu/s_nexttowardf.c: New. + +2001-06-15 H.J. Lu <hjl@gnu.org> + + * rt/tst-aio2.c (do_test): Initialize cb.aio_offset to 0. + * rt/tst-aio3.c (do_test): Likewise. + * rt/tst-aio4.c (do_test): Likewise. + * rt/tst-aio5.c (do_test): Likewise. + * rt/tst-aio6.c (do_test): Likewise. - * elf/rtld.c: Also test for HAVE_VISIBILITY_ATTRIBUTE before - defining DONT_USE_BOOTSTRAP_MAP. +2001-06-15 Andreas Schwab <schwab@suse.de> - * libio/tst-freopen.c (main): Use correct formats for __LINE__. - * libio/tst-mmap-setvbuf.c (main): Likewise. - * libio/tst-widetext.c (main): Likewise. + * sysdeps/m68k/fpu/bits/mathinline.h: Don't define log2 as inline. + * sysdeps/m68k/fpu/mathimpl.h: Define __ieee754_log2 as inline. - * libio/tst-mmap-eofsync.c (do_test): Use correct format in error - message. - * libio/tst-mmap-fflushsync.c (do_test): Likewise. - * libio/tst-mmap2-eofsync.c (do_test): Likewise. +2001-06-15 Andreas Jaeger <aj@suse.de> - * sysdeps/i386/elf/configure.in: Unconditionally define - PI_STATIC_AND_HIDDEN. - * elf/rtld.c (DONT_USE_BOOTSTRAP_MAP): Define only if - PI_STATIC_AND_HIDDEN is defined as well. - * config.h.in: Add PI_STATIC_AND_HIDDEN entry. + * gmon/tst-sprofil.c (fac): Make static to avoid compiler warning. -2002-08-24 Ulrich Drepper <drepper@redhat.com> +2001-06-14 Andreas Schwab <schwab@suse.de> - * sysdeps/ia64/bzero.S: Define __bzero as well. + * elf/ldconfig.c (search_dir): Fix check for regular file. - * locale/programs/charmap.c (charmap_new_char): Don't use - ULONG_MAX as maximum UCS4 value. + * sysdeps/m68k/fpu/e_log2f.c: Fix typo. + * sysdeps/m68k/fpu/e_log2l.c: Fix typo. - * sysdeps/unix/sysv/linux/ia64/sys/user.h: New file. +2001-06-14 Roland McGrath <roland@frob.com> - * sysdeps/generic/strtol.c: We don't need the isascii test in glibc. + * sysdeps/mach/hurd/bits/fcntl.h [ __USE_POSIX199309 || __USE_UNIX98]: + (O_DSYNC, O_RSYNC): New macros, both defined to O_SYNC as Linux does. - * malloc/hooks.c (public_sET_STATe): use size_t as type for i. - * malloc/malloc.c (mALLINFo): Likewise. +2001-06-13 Roland McGrath <roland@frob.com> - * libio/wstrops.c (_IO_wstr_pbackfail): Use WEOF in comparison. + * rt/aio_notify.c: Include <unistd.h> for _POSIX_REALTIME_SIGNALS. - * libio/wfileops.c (_IO_wfile_overflow): Use EOF not WEOF when - examining result of _IO_do_flush call. + * sysdeps/mach/hurd/fork.c (LOSE): Put `goto lose' in dead code + so the label is not considered unused. - * stdio-common/vfprintf.c (vfprintf): Use correct type in va_arg. - Use prec not spec when sizing buffers. + * sysdeps/mach/hurd/pwrite64.c: New file. + * sysdeps/mach/hurd/pread64.c: New file. - * catgets/open_catalog.c (__open_catalog): Add casts to avoid warnings. - * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise. - * locale/loadlocale.c (_nl_intern_locale_data): Likewise. - * stdio-common/vfscanf.c (inchar): Likewise. - * misc/efgcvt_r.c (fcvt_r): Likewise. - * elf/dl-misc.c (_dl_debug_vdprintf): Likewise. - * elf/readlib.c (process_file): Likewise. - * elf/sprof.c (load_profdata): Likewise. - * sysdeps/ia64/hp-timing.h (HP_TIMING_PRINT): Likewise. - * locale/programs/linereader.c (get_toplvl_escape): Likewise. - * locale/programs/charmap.c (charmap_read): Likewise. - * libio/fileops.c: Likewise. - * libio/fmemopen.c: Likewise. - * stdlib/strtod.c: Likewise. - * elf/dl-load.c: Likewise. - * iconv/iconvconfig.c: Likewise. - * iconv/iconv_prog.c (process_block): Likewise. - * elf/rtld.c (dl_main): Likewise. + * sysdeps/mach/hurd/pread.c + (__libc_pread): Define this name, with __pread as an alias. + * sysdeps/mach/hurd/pwrite.c + (__libc_pwrite): Define this name, with __pwrite as an alias. - * sysdeps/unix/sysv/linux/ia64/Makefile: Define _ASM_IA64_CURRENT_H - macro to calm down the compiler. + Implement POSIX "shared memory objects" as regular + files residing in the /var/run/shm/ directory. + This works on any system that supports _POSIX_MAPPED_FILES, + to make it also support _POSIX_SHARED_MEMORY_OBJECTS. + * sysdeps/posix/shm_open.c: New file. + * sysdeps/posix/shm_unlink.c: New file. + * sysdeps/mach/hurd/bits/posix_opt.h + (_POSIX_SHARED_MEMORY_OBJECTS): Define it. - * iconv/gconv_cache.c (__gconv_load_cache): Add cast to avoid warning. + * rt/aio_notify.c (__aio_notify_only) [! _POSIX_REALTIME_SIGNALS]: + Use raise instead of __aio_sigqueue. - * sysdeps/ia64/elf/initfini.c: Don't use newlines embedded in string. + * sysdeps/mach/hurd/pread.c: Fail with EINVAL if OFFSET is negative. + * sysdeps/mach/hurd/pwrite.c: Likewise. - * sysdeps/unix/sysv/linux/i386/sysdep.S: Update comment regarding - placement of errno definition. - * sysdeps/unix/sysv/linux/m68k/sysdep.S: Likewise. - * sysdeps/unix/sysv/linux/mips/sysdep.S: Likewise. - * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Likewise. - * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise. - * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise. + * shlib-versions [USE_IN_LIBIO] (.*-.*-gnu-gnu.*): libc=0.3 + [USE_IN_LIBIO && !GLIBC_OLDEST_ABI] (.*-.*-gnu-gnu.*): Use GLIBC_2.2.4 + as default version set. - * resolv/nss_dns/dns-host.c (MAXPACKET): Increase minimum value - from 1024 to 65536, to avoid buffer overrun. +2001-06-13 Ulrich Drepper <drepper@redhat.com> -2002-08-16 Paul Eggert <eggert@twinsun.com> + * libio/iolibio.h (_IO_freopen): Correct last parameter to + _IO_file_open. + (_IO_freopen64): Likewise. + Reported by simanek@quantum.karlov.mff.cuni.cz [PR libc/2326]. - * resolv/gethnamaddr.c (MAXPACKET): Increase minimum value - from 1024 to 65536, to avoid buffer overrun. - * resolv/res_query.c (MAXPACKET): Likewise. + * elf/elf.h: Add a few more EM_* constants. -2002-08-24 Andreas Jaeger <aj@suse.de> +2001-06-12 Bruno Haible <haible@clisp.cons.org> - * sysdeps/unix/sysv/linux/i386/Versions: Remove *xattr syscalls. + * intl/dcigettext.c (DCIGETTEXT): Release the lock before returning. -2002-08-23 Ulrich Drepper <drepper@redhat.com> +2001-06-09 Ben Collins <bcollins@debian.org> - * sysdeps/ieee754/dbl-64/e_pow.c (log1): Define and initialize - two52 locally. - (log2): Likewise. - * sysdeps/ieee754/dbl-64/upow.h: Remove definition of two52. - Patch by Simon Gee <simong@agile.tv>. + * sysdeps/unix/sysv/linux/bits/termios.h: Define __MAX_BAUD. + * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise. + * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise. + * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise. + * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise. + * sysdeps/unix/sysv/linux/speed.c: Use __MAX_BAUD instead of + hardcoded B400000. - * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs_conf): - Prefer reading /proc/stat since it is more uniform across - architectures. +2001-06-13 Ulrich Drepper <drepper@redhat.com> - * manual/texinfo.tex: Update to latest official version. + * time/sys/time.h: Don't use enum __itimer_which ever for + __itimer_which_t for C++. + Reported by Martin Buchholz <martin@xemacs.org>. - * sysvipc/sys/shm.h: Remove SHMLBA definition. - * sysdeps/generic/bits/shm.h: Define SHMLBA here. - * sysdeps/gnu/bits/shm.h: Likewise. - * sysdeps/unix/sysv/linux/alpha/bits/shm.h: Likewise. - * sysdeps/unix/sysv/linux/bits/shm.h: Likewise. - * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise. - * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise. - * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise. - * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise. - * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Likewise. - * sysdeps/unix/sysv/linux/ia64/bits/shm.h: Define SHMLBA to 2^20 - since this is what the kernel says. - - * misc/sys/xattr.h: Include <sys/types.h> instead of <stddef.h> - since ssize_t is needed as well. Replace const with __const. - -2002-08-23 Roland McGrath <roland@redhat.com> - - * malloc/hooks.c (__malloc_initialize_hook, __free_hook, - __malloc_hook, __realloc_hook, __memalign_hook, - __after_morecore_hook): Variable definitions moved to ... - * malloc/malloc.c: ... here, so as to be before all references. - - * sysdeps/i386/dl-machine.h (elf_machine_load_address): Add a dummy - global variable reference in an unused asm parameter, to ensure the - compiler has set up the GOT register before we use it. - - * malloc/hooks.c: Move variable definitions ahead of uses. - * libio/fileops.c: Move versioned_symbol defns ahead of _IO_jump_t - initializers that make reference to variables they define. - -2002-08-23 Andreas Jaeger <aj@suse.de> - - * locale/loadarchive.c: Include <stdlib.h> for prototypes of - alloca, free, qsort. - - * dlfcn/bug-dlsym1-lib1.c (foo): Add prototype to avoid warning. - - * sysdeps/ieee754/flt-32/e_jnf.c: Remove unused variable. - * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise. - - * misc/sys/xattr.h: New file, contributed by Christoph Hellwig - <hch@lst.de>. - * sysdeps/generic/fgetxattr.c: New file. - * sysdeps/generic/flistxattr.c: New file. - * sysdeps/generic/fremovexattr.c: New file. - * sysdeps/generic/fsetxattr.c: New file. - * sysdeps/generic/getxattr.c: New file. - * sysdeps/generic/listxattr.c: New file. - * sysdeps/generic/lgetxattr.c: New file. - * sysdeps/generic/llistxattr.c: New file. - * sysdeps/generic/lremovexattr.c: New file. - * sysdeps/generic/lsetxattr.c: New file. - * sysdeps/generic/removexattr.c: New file. - * sysdeps/generic/setxattr.c: New file. - * misc/Makefile (headers): Add sys/xattr.h. - (routines): Add *xattr calls. - * misc/Versions: Add *xattr calls with version 2.3. - * sysdeps/unix/sysv/linux/m68k/Versions: Remove *xattr syscalls. - * sysdeps/unix/sysv/linux/s390/s390-32/Versions: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc32/Versions: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc64/Versions: Likewise. - * sysdeps/unix/sysv/linux/x86_64/Versions: Likewise. - * sysdeps/unix/sysv/linux/ia64/Versions: Likewise. - * sysdeps/unix/sysv/linux/alpha/Versions: Likewise. - * sysdeps/unix/sysv/linux/arm/Versions: Likewise. + * po/fr.po: Update from translation team. -2002-08-22 Steven Munroe <sjmunroe@us.ibm.com> +2001-06-12 H.J. Lu <hjl@gnu.org> - * sysdeps/powerpc/elf/libc-start.c - (__cache_line_size): Declare. - (__aux_init_cache): New function. - (__libc_start_main): Change type of `auxvec' parameter to - `ElfW(auxv_t) *'. Correct walking of aux vector. Call - __aux_init_cache. - * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c - (__cache_line_size): Declare. - (__aux_init_cache): New function. - (DL_PLATFORM_INIT): Define. - * sysdeps/powerpc/memset.S: Define __cache_line_size and use its - value to select the correct stride for dcbz. + * configure.in: Fix typos in missing program names. + * configure: Regenerated. -2002-08-22 Andreas Jaeger <aj@suse.de> +2001-06-12 Andreas Jaeger <aj@suse.de> - * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Fix arguments of - shmat. + * iconvdata/tst-table-to.c: Include string.h for strcmp prototype. -2002-08-22 Roland McGrath <roland@redhat.com> + * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Add ULPs for tanh (-0.7). - * locale/loadarchive.c (_nl_load_locale_from_archive): Check max file - position indicated by locrectab against file bounds before rounding to - page size. In mapping loop, always set TO before breaking out of - contiguous range coalescing loop. +2001-06-11 Andreas Jaeger <aj@suse.de> - * locale/loadarchive.c (_nl_load_locale_from_archive): Use MAP_PRIVATE - (or MAP_COPY if available) instead of MAP_SHARED. + * sysdeps/ieee754/ldbl-128/e_coshl.c: New file. Contributed by + Stephen L Moshier <moshier@mediaone.net>. - * scripts/firstversions.awk: When encountering a version newer than - the specified earliest version, be sure to emit the specified earliest - version first if any renaming of an older version to that has been. + * aclocal.m4: Quote AC_FD_MSG and AC_FD_CC. -2002-08-21 Roland McGrath <roland@redhat.com> + * sysdeps/powerpc/fpu/libm-test-ulps: Add ULPs for tanh (-0.7). + * sysdeps/s390/fpu/libm-test-ulps: Likewise. - * configure.in: Make GCC version check require 3.[2-9]* and no others. - * manual/install.texi (Tools for Compilation): Say 3.2 is required. - (Configuring and compiling): Don't mention older GCC versions any more. - * INSTALL: Regenerated. - - * manual/install.texi (Configuring and compiling, Installation, - Running make install, Linux): Linux -> GNU/Linux where appropriate. - - * elf/rtld.c (_dl_start_final): Move defn before _dl_start so it can - be inlined. Declare it with always_inline if [DONT_USE_BOOTSTRAP_MAP] - and with noinline otherwise. Remove hack alloca use to prevent - inlining, we can ask for it explicitly nowadays. - - * dlfcn/bug-dlsym1.c: New file. - * dlfcn/bug-dlsym1-lib1.c, dlfcn/bug-dlsym1-lib2.c: New files. - * dlfcn/Makefile (distribute): Add them. - (tests): Add bug-dlsym1 here. - (modules-names): Add bug-dlsym1-lib1 and bug-dlsym1-lib2 here. - ($(objpfx)bug-dlsym1, $(objpfx)bug-dlsym1.out): New targets. - ($(objpfx)bug-dlsym1-lib1.so, $(objpfx)bug-dlsym1-lib2.so): Likewise. - -2002-08-21 Ulrich Drepper <drepper@redhat.com> - - * elf/rtld.c (start_time): New global variable. Moved from _dl_start. - (DONT_USE_BOOTSTRAP_MAP): Define if we can use non-exported symbols - before relocation. - (_dl_start): Don't use local bootstrap_map variable if - DONT_USE_BOOTSTRAP_MAP is defined. Use GL(dl_rtld_map). Don't - pass bootstrap_map to _dl_start_final in this case either. Don't - pass start_time to _dl_start_final ever. - (_dl_start_final): Don't copy bootstrap_map if DONT_USE_BOOTSTRAP_MAP. - - * elf/dl-deps.c (_dl_map_object_deps): Revert patch from 2002-05-28. - This cripples the scope lists necessary to search for symbols in - dependencies which are not in the global scope. - - * include/setjmp.h (__libc_longjmp): Add declaration. - -2002-08-21 Andreas Jaeger <aj@suse.de> - - * sysdeps/x86_64/_mcount.S: Fix assembler. - - * sysdeps/unix/sysv/linux/x86_64/Makefile: Generate bits/syscall.h - with biarch support. - -2002-08-21 Andreas Jaeger <aj@suse.de> - - * sysdeps/x86_64/sysdep.h (CALL_MCOUNT): Fix it. - - * sysdeps/x86_64/Makefile (sysdep_routines): Add _mcount. - - * sysdeps/x86_64/machine-gmon.h: New file. - * sysdeps/x86_64/_mcount.S: New file. - -2002-08-20 Ulrich Drepper <drepper@redhat.com> - - * elf/rtld.c (_dl_start): Pass zero to TLS_INIT_TP. Set - bootstrap_map.l_tls_tp_initialized to 1 if TLS_INIT_TP was called. - (_dl_start_final): Copy l_tls_tp_initialized to GL(dl_rtld_map). - (dl_main): If HAVE___THREAD is not defined pass l_tls_tp_initialized - to TL_INIT_TP. Otherwise pass 1. - * include/link.h (struct link_map): Add l_tls_tp_initialized. - * sysdeps/generic/libc-tls.c (__libc_setup_tls): Pass 0 to TL_INIT_TP. - -2002-08-15 Jakub Jelinek <jakub@redhat.com> - - * locale/programs/localedef.c (add_to_readlist): Error about - circular dependencies only if the locale in question hasn't - been finished. - * locale/programs/linereader.c (get_string): Pass LC_CTYPE not - CTYPE_LOCALE to load_locale. - * locale/programs/locfile.c (locfile_read): Don't include - unneeded but available locales in locale_mask. - - * locale/programs/locarchive.c (enlarge_archive): If quiet, don't - print any messages about enlarging archive. - -2002-08-20 Brian Youmans <3diff@gnu.org> - - * manual/contrib.texi: Removed licenses, added acknowledgements - for contributions by Intel, IBM, Craig Metz. - * LICENSES: New file, contains the text of all non-FSF licenses in the - distribution that require putting the notice in the accompanying - documentation. - * README.template, README: Mention LICENSES. - - * sysdeps/mach/hurd/net/if_ppp.h: Replaced CMU license with a - new one modelled on the modern BSD license, per recent letter - of permission from CMU. - * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise. - - * sysdeps/ieee754/dbl-64/MathLib.h: Changed the copyright holder - from IBM to FSF, per the recent Software Letter. Changed the - distribution terms from GPL to LGPL. - - * sysdeps/ieee754/dbl-64/asincos.tbl: Added FSF copyright and - copying permission notice (Lesser GPL), per recent IBM Software Letter. - * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise. - * sysdeps/ieee754/dbl-64/root.tbl: Likewise. - * sysdeps/ieee754/dbl-64/sincos.tbl: Likewise. - * sysdeps/ieee754/dbl-64/uatan.tbl: Likewise. - * sysdeps/ieee754/dbl-64/uexp.tbl: Likewise. - * sysdeps/ieee754/dbl-64/ulog.tbl: Likewise. - * sysdeps/ieee754/dbl-64/upow.tbl: Likewise. - * sysdeps/ieee754/dbl-64/utan.tbl: Likewise. - - * sysdeps/ieee754/dbl-64/atnat.h: Changed the copyright holder - from IBM to FSF, per the recent Software Letter. Corrected the - text of the copying permission notice to say Lesser GPL instead - of GPL in warranty disclaimer paragraph. - * sysdeps/ieee754/dbl-64/atnat2.h: Likewise. - * sysdeps/ieee754/dbl-64/branred.h: Likewise. - * sysdeps/ieee754/dbl-64/dla.h: Likewise. - * sysdeps/ieee754/dbl-64/doasin.h: Likewise. - * sysdeps/ieee754/dbl-64/dosincos.h: Likewise. - * sysdeps/ieee754/dbl-64/mpa.h: Likewise. - * sysdeps/ieee754/dbl-64/mpa2.h: Likewise. - * sysdeps/ieee754/dbl-64/mpatan.h: Likewise. - * sysdeps/ieee754/dbl-64/mpexp.h: Likewise. - * sysdeps/ieee754/dbl-64/mplog.h: Likewise. - * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise. - * sysdeps/ieee754/dbl-64/mydefs.h: Likewise. - * sysdeps/ieee754/dbl-64/sincos32.h: Likewise. - * sysdeps/ieee754/dbl-64/uasncs.h: Likewise. - * sysdeps/ieee754/dbl-64/uexp.h: Likewise. - * sysdeps/ieee754/dbl-64/ulog.h: Likewise. - * sysdeps/ieee754/dbl-64/upow.h: Likewise. - * sysdeps/ieee754/dbl-64/urem.h: Likewise. - * sysdeps/ieee754/dbl-64/uroot.h: Likewise. - * sysdeps/ieee754/dbl-64/usncs.h: Likewise. - * sysdeps/ieee754/dbl-64/utan.h: Likewise. - - * sysdeps/ieee754/dbl-64/branred.c: Corrected the text of the copying - permission notice to say Lesser GPL instead of GPL in warranty - disclaimer paragraph. - * sysdeps/ieee754/dbl-64/doasin.c: Likewise. - * 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. +2001-06-11 Michael Deutschmann <michael@talamasca.ocis.net> -2002-08-20 Roland McGrath <roland@redhat.com> + * rt/tst-aio4.c (do_test): Test whether rt signals are supported. + Use my_signo instead of MY_SIGNO and initialize it so that the + used signal is always available. - Fix ABI compatibility with libc compiled with old tools on powerpc. - Changes contributed by Franz Sirl <Franz.Sirl-kernel@lauterbach.com> - and Jack Howarth <howarth@bromo.med.uc.edu>. - * sysdeps/powerpc/Makefile [$(have-protected) = yes] - (CPPFLAGS-divdi3.c, CPPFLAGS-libgcc-compat.S): New variables, - pass -DHAVE_DOT_HIDDEN for these files. - * sysdeps/powerpc/Versions (libc: GLIBC_2.0): Added __floatdidf, - __floatdisf. - * sysdeps/powerpc/divdi3.c: New file. - * sysdeps/powerpc/libgcc-compat.S: New file, replacement for ... - * sysdeps/powerpc/libgcc-compat.c: ... this, file removed. +2001-06-11 Andreas Jaeger <aj@suse.de>, + Michael Deutschmann <michael@talamasca.ocis.net> -2002-08-20 Jakub Jelinek <jakub@redhat.com> + * io/test-lfs.c (do_prepare): Clean up error messages. + (test_ftello): Check for EFBIG and ENOSPC, clean up error messages. + (do_test): Likewise. - * locale/loadarchive.c (_nl_load_locale_from_archive): Handle - partially overlapping mappings. Remove unneeded (char *) casts. - Never allow duplication of ranges in mapped areas. +2001-06-11 Andreas Jaeger <aj@suse.de> -2002-08-20 Roland McGrath <roland@redhat.com> + * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (IXANY, IUCLC, + IMAXBEL): Make always visible since they're needed by POSIX. + Closes PR libc/2320, reported by Chris Yeoh <cyeoh@samba.org>. - * elf/Makefile ($(objpfx)ld.so): Separate commands in rule so errors - can be detected by make. Reported by H.J. Lu <hjl@gnu.org>. +2001-06-10 Ben Collins <bcollins@debian.org> -2002-08-20 Ulrich Drepper <drepper@redhat.com> + * sysdeps/arm/elf/start.S: Use #function, not @function, for + .type of _start. - * include/unistd.h: Don't hide _exit. + * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Include limits.h to get + INT_MAX. - * elf/rtld.c (_dl_start): Pass extra argument 1 to TLS_INIT_TP. - (dl_main): Pass extra argument 0 to TLS_INIT_TP. - * sysdeps/generic/libc-tls.c (__libc_setup_tls): Pass extra - argument 1 to TLS_INIT_TP. - * sysdeps/generic/tls.h (TLS_INIT_TP): Describe new parameter. +2001-06-07 H.J. Lu <hjl@gnu.org> - * sysdeps/generic/dl-tls.c (allocate_dtv): Optimize a bit. + * sunrpc/rpc/rpc.h: Add __BEGIN_DECLS/__END_DECLS. - * elf/Versions [ld] (GLIBC_PRIVATE): Add _dl_get_tls_static_info. - * sysdeps/generic/dl-tls.c (_dl_allocate_tls_storage): Move dtv - memory allocation to... - (allocate_dtv): ...here. New function. - (_dl_allocate_tls): Change to take parameter. If parameter is non-NULL - call allocate_dtv instead of _dl_allocate_tls_storage. - (_dl_deallocate_tls): New parameter. Deallocate TCB only if true. - (_dl_get_tls_static_info): New function. - * sysdeps/generic/ldsodefs.h: Adjust prototypes of _dl_allocate_tls - and _dl_deallocate_tls. Add prototype for _dl_get_tls_static_info. +2001-06-10 Roland McGrath <roland@frob.com> -2002-08-19 Ulrich Drepper <drepper@redhat.com> + * elf/reldep4mod2.c: Use fully typed decls to avoid warnings. + * elf/reldep4mod4.c: Likewise. - * sysdeps/generic/dl-tls.c (_dl_allocate_tls_init): Return - immediately if result == NULL. +2001-06-10 Mark Kettenis <kettenis@gnu.org> -2002-08-16 Jakub Jelinek <jakub@redhat.com> + * hurd/hurd/threadvar.h: Add prototype for __hurd_errno_location. - * sysdeps/alpha/fpu/libm-test-ulps: Regenerate. +2001-06-08 Andreas Schwab <schwab@suse.de> -2002-08-18 Roland McGrath <roland@frob.com> + * posix/regex.c (re_match_2_internal) [case wordbeg, wordend]: + Don't dereference at end of string. - * sysdeps/mach/hurd/mkdir.c (__mkdir): Use __directory_name_split - instead of __file_name_split. - * sysdeps/mach/hurd/unlink.c (__unlink): Likewise. +2001-06-06 Roland McGrath <roland@frob.com> - * sysdeps/mach/hurd/dl-sysdep.c - [HP_TIMING_AVAIL] (_dl_cpuclock_offset): New variable. - [HP_TIMING_AVAIL] (_dl_sysdep_start): Set it with HP_TIMING_NOW. + * sysdeps/mach/hurd/getsockopt.c: Fix handling of returned buffer size. + From Robert Bihlmeyer <robbe@orcus.priv.at>. -2002-08-16 Jakub Jelinek <jakub@redhat.com> +2001-06-06 Ulrich Drepper <drepper@redhat.com> - * locale/loadarchive.c (_nl_load_locale_from_archive): Braino fix - in change before last: MAX -> MIN. + * po/ko.po: Update from translation team. -2002-08-15 Roland McGrath <roland@redhat.com> +2001-06-06 Andreas Jaeger <aj@suse.de> - * libio/fileops.c (_IO_file_seekoff_mmap): Leave read pointers at EOF - if seek would go past it. - (mmap_remap_check): If file position is at or past EOF after check, - leave read pointers at EOF and don't seek. + * manual/llio.texi (Memory-mapped I/O): Clarify that mapping is to + offset+length-1. + Reported by Robert Bernecky <bernecky@acm.org>. - * libio/tst-mmap-offend.c: New file. - * libio/Makefile (tests): Add it. +2001-06-06 Jakub Jelinek <jakub@redhat.com> - * locale/loadarchive.c (_nl_load_locale_from_archive): Store strdup of - the name as passed, rather than the name in the archive dictionary. + * sysdeps/cris/elf/start.S: Fix a typo introduced by last patch. + * sysdeps/ia64/elf/start.S: Likewise. + * sysdeps/sh/elf/start.S: Likewise. + * sysdeps/s390/s390-32/elf/start.S: Likewise. + * sysdeps/s390/s390-64/elf/start.S: Likewise. -2002-08-15 Ulrich Drepper <drepper@redhat.com> +2001-06-05 Matthew Wilcox <willy@ldl.fc.hp.com> - * csu/Makefile: Define elide-routines.os not static-only-routines. + * sysdeps/hppa/bsd-_setjmp.S: New. + * sysdeps/hppa/bsd-setjmp.S: New. - * include/sched.h (__clone): Add varargs at the end. + * sysdeps/hppa/dl-machine.h: Reformat asm statements to remove new + gcc warnings about multi-line strings. - * elf/rtld.c (_dl_start): Allow TLS_INIT_TP to fail, and stop in that - case. - (TLS_INIT_HELPER): If defined, use it. - * sysdeps/generic/libc-tls.c (TLS_INIT_HELPER): Likewise. + * sysdeps/unix/sysv/linux/hppa/getrlimit.c: Remove. + * sysdeps/unix/sysv/linux/hppa/setrlimit.c: Remove. -2002-08-15 Roland McGrath <roland@redhat.com> + * sysdeps/unix/sysv/linux/hppa/syscalls.list: Call getrlimit, + setrlimit directly instead of using wrappers. - * elf/dl-load.c (lose): Remove [!SHARED] conditional from null check - on L->l_prev; it can happen under rtld --verify too. +2001-05-01 Richard Hirst <rhirst@linuxcare.com> - * locale/loadarchive.c (_nl_load_locale_from_archive): Don't read the - header separately, just map an initial window of 2MB from the file - and remap if that is not large enough to cover the whole header. + * sysdeps/unix/sysv/linux/hppa/syscall.S: remove dummy syscall. + * sysdeps/unix/sysv/linux/hppa/sysdep.c: implement syscall. -2002-08-15 Andreas Jaeger <aj@suse.de> +2001-06-05 Philipp Thomas <pthomas@suse.de> - * sysdeps/unix/sysv/linux/m68k/Versions: Add *xattr syscalls with - version 2.3. - * sysdeps/unix/sysv/linux/arm/Versions: Likewise. - * sysdeps/unix/sysv/linux/alpha/Versions: Likewise. - * sysdeps/unix/sysv/linux/ia64/Versions: Likewise. - * sysdeps/unix/sysv/linux/x86_64/Versions: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc64/Versions: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc32/Versions: Likewise. - * sysdeps/unix/sysv/linux/s390/s390-32/Versions: Likewise. - * sysdeps/unix/sysv/linux/powerpc/Versions: Likewise. - * sysdeps/unix/sysv/linux/mips/Versions: Likewise. - Patch by Andreas Gruenbacher <agruen@suse.de>. - - * sysdeps/unix/sysv/linux/syscalls.list: Add *xattr syscalls. - -2002-08-14 Roland McGrath <roland@redhat.com> - - * locale/locarchive.h (struct locale_category_data): Give this name to - the type of locale_data_t's elements. - * locale/programs/locarchive.c (cmpcategorysize): New static function. - (add_locale): Use that to sort the categories by size and put all - those that fit into two pages into the LC_ALL block, instead of - hard-coding it to do everything but LC_CTYPE and LC_COLLATE. - (show_archive_content): Detect categories inside LC_ALL block - directly, instead of hard-coding. - (oldlocrecentcmp): Compare just on file locations used. - -2002-08-14 Jakub Jelinek <jakub@redhat.com> - - * locale/programs/locarchive.c (struct oldlocrecent): New type. - (oldlocrecentcmp): New function. - (enlarge_archive): Re-add locales in the order they were added - to the archive. - (add_locale): Put all the small locale files together, if the small - locale file block would occupy less pages if page size aligned, align - it. - (show_archive_content): Adjust for locale archives optimized for speed. - -2002-08-14 Roland McGrath <roland@frob.com> - - * configure.in: Use "MISSING" as not-found value for MIG. - * sysdeps/mach/configure.in: Fatal if mig not found. - * configure, sysdeps/mach/configure: Regenerated. - -2002-08-13 Jakub Jelinek <jakub@redhat.com> - - * locale/loadarchive.c (archfname): Add missing slash. - - * sysdeps/generic/strtold.c (__strtold_internal): Add libc_hidden_def. - * wcsmbs/wcstold.c (__wcstold_internal): Add libc_hidden_def. - -2002-08-12 Roland McGrath <roland@redhat.com> - - * include/sys/wait.h (__waitpid): Add libc_hidden_proto. - * sysdeps/unix/sysv/sco3.2.4/waitpid.S: Add libc_hidden_def. - * sysdeps/unix/sysv/sysv4/waitpid.c: Add libc_hidden_weak. - * sysdeps/unix/sysv/linux/waitpid.c: Likewise. - * sysdeps/unix/sysv/aix/waitpid.c: Likewise. - * sysdeps/unix/bsd/bsd4.4/waitpid.c: Likewise. - * sysdeps/generic/waitpid.c: Likewise. - - * include/net/if.h: New file. Use libc_hidden_proto - for if_nametoindex and if_indextoname. - * sysdeps/generic/if_index.c: Add libc_hidden_def. - * sysdeps/mach/hurd/if_index.c: Likewise. - * sysdeps/unix/sysv/linux/if_index.c: Likewise. - - * include/grp.h (setgroups): Add libc_hidden_proto. - * sysdeps/generic/setgroups.c: Add libc_hidden_def. - * sysdeps/mach/hurd/setgroups.c: Likewise. - * sysdeps/unix/sysv/irix4/setgroups.c: Likewise. - * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise. - -2002-08-13 Jakub Jelinek <jakub@redhat.com> - - * include/unistd.h (seteuid, setegid): Add libc_hidden_proto. - * sysdeps/generic/seteuid.c (seteuid): Add libc_hidden_def. - * sysdeps/generic/setegid.c (setegid): Likewise. - * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise. - * sysdeps/mach/hurd/setegid.c (setegid): Likewise. - * sysdeps/unix/bsd/seteuid.c (seteuid): Likewise. - * sysdeps/unix/bsd/setegid.c (setegid): Likewise. - * sysdeps/unix/sysv/aix/seteuid.c (seteuid): Likewise. - * sysdeps/unix/sysv/aix/setegid.c (setegid): Likewise. - * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc32/seteuid.c (seteuid): Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc32/setegid.c (setegid): Likewise. - * sysdeps/unix/sysv/linux/seteuid.c (seteuid): Likewise. - * sysdeps/unix/sysv/linux/setegid.c (setegid): Likewise. - * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise. - Remove fallback if __ASSUME_SETRESUID_SYSCALL. - - * include/sys/stat.h (__fxstat_internal, __fxstat64_internal, - __lxstat_internal, __lxstat64_internal): Remove. - (__fxstat, __fxstat64, __lxstat, __lxstat64, __xstat, __xstat64): - Add hidden_proto. - * sysdeps/generic/fxstat.c (__fxstat): Add hidden_def. - Remove INTDEF where present, remove #undef at the beginning. - * sysdeps/generic/fxstat64.c (__fxstat64): Likewise. - * sysdeps/generic/lxstat.c (__lxstat): Likewise. - * sysdeps/generic/lxstat64.c (__lxstat64): Likewise. - * sysdeps/generic/xstat.c (__xstat): Likewise. - * sysdeps/generic/xstat64.c (__xstat64): Likewise. - * sysdeps/mach/hurd/dl-sysdep.c (__xstat64, __fxstat64): Likewise. - * sysdeps/mach/hurd/fxstat.c (__fxstat): Likewise. - * sysdeps/mach/hurd/fxstat64.c (__fxstat64): Likewise. - * sysdeps/mach/hurd/lxstat.c (__lxstat): Likewise. - * sysdeps/mach/hurd/lxstat64.c (__lxstat64): Likewise. - * sysdeps/mach/hurd/xstat.c (__xstat): Likewise. - * sysdeps/mach/hurd/xstat64.c (__xstat64): Likewise. - * sysdeps/unix/fxstat.c (__fxstat): Likewise. - * sysdeps/unix/common/lxstat.c (__lxstat): Likewise. - * sysdeps/unix/sysv/aix/fxstat.c (__fxstat): Likewise. - * sysdeps/unix/sysv/aix/fxstat64.c (__fxstat64): Likewise. - * sysdeps/unix/sysv/aix/lxstat.c (__lxstat): Likewise. - * sysdeps/unix/sysv/aix/lxstat64.c (__lxstat64): Likewise. - * sysdeps/unix/sysv/aix/xstat.c (__xstat): Likewise. - * sysdeps/unix/sysv/aix/xstat64.c (__xstat64): Likewise. - * sysdeps/unix/sysv/linux/ia64/fxstat.c (__fxstat): Likewise. - * sysdeps/unix/sysv/linux/ia64/lxstat.c (__lxstat): Likewise. - * sysdeps/unix/sysv/linux/ia64/xstat.c (__xstat): Likewise. - * sysdeps/unix/sysv/linux/s390/s390-64/fxstat.c (__fxstat): Likewise. - * sysdeps/unix/sysv/linux/s390/s390-64/lxstat.c (__lxstat): Likewise. - * sysdeps/unix/sysv/linux/s390/s390-64/xstat.c (__xstat): Likewise. - * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise. - * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise. - * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise. - * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise. - * sysdeps/unix/sysv/linux/xstat64.c (__xstat64): Likewise. - * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise. - * sysdeps/unix/sysv/linux/fxstat64.c (__fxstat64): Likewise. - * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise. - * sysdeps/unix/sysv/linux/lxstat64.c (__lxstat64): Likewise. - * sysdeps/unix/xstat.c (__xstat): Likewise. - - * include/sys/statvfs.h (statvfs, fstatvfs): Add libc_hidden_proto. - * sysdeps/generic/statvfs.c (statvfs): Add libc_hidden_def. - * sysdeps/generic/fstatvfs.c (fstatvfs): Likewise. - * sysdeps/mach/hurd/statvfs.c (statvfs): Likewise. - * sysdeps/mach/hurd/fstatvfs.c (fstatvfs): Likewise. - * sysdeps/unix/sysv/linux/statvfs.c (statvfs): Likewise. - * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Likewise. - - * include/unistd.h (tcgetpgrp): Add libc_hidden_proto. - * include/termios.h (tcsetattr, cfsetispeed, cfsetospeed): Likewise. - * sysdeps/generic/tcgetpgrp.c (tcgetpgrp): Add libc_hidden_def. - * sysdeps/generic/tcsetattr.c (tcsetattr): Likewise. - * sysdeps/generic/speed.c (cfsetispeed, cfsetospeed): Likewise. - * sysdeps/unix/bsd/bsd4.4/tcsetattr.c (tcgetpgrp): Likewise. - * sysdeps/unix/bsd/sun/sunos4/tcsetattr.c (tcsetattr): Likewise. - * sysdeps/unix/bsd/sun/sunos4/speed.c (cfsetispeed, cfsetospeed): - Likewise. - * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise. - * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise. - * sysdeps/unix/sysv/aix/tcsetattr.c (tcsetattr): Likewise. - * sysdeps/unix/sysv/aix/speed.c (cfsetispeed, cfsetospeed): Likewise. - * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise. - * sysdeps/unix/sysv/linux/speed.c (cfsetispeed, cfsetospeed): Likewise. - * sysdeps/unix/sysv/tcgetpgrp.c (tcgetpgrp): Likewise. - * sysdeps/unix/sysv/tcsetattr.c (tcsetattr): Likewise. + * nis/nis_call.c (__nisbind_connect): Don't mark for translation + what can't be translated. - * include/string.h (strcoll): Add libc_hidden_proto. - * string/strcoll.c (strcoll): Add libc_hidden_def. +2001-06-06 Ulrich Drepper <drepper@redhat.com> - * misc/err.c (vwarn): Fix pasto in libc_hidden_def. + * timezone/zic.c: Update from tzcode2001c. + * timezone/private.h: Likewise. + * timezone/africa: Update from tzdata2001c. + * timezone/asia: Likewise. + * timezone/europe: Likewise. + * timezone/northamerica: Likewise. + * timezone/southamerica: Likewise. + * timezone/zone.tab: Likewise. -2002-08-11 Philip Blundell <philb@gnu.org> +2001-06-04 Bruno Haible <haible@clisp.cons.org> + + * iconv/loop.c (UNICODE_TAG_HANDLER): New macro. + * iconv/gconv_simple.c (__gconv_transform_internal_ascii): Invoke + UNICODE_TAG_HANDLER. + (__gconv_transform_internal_ucs2): Likewise. + (__gconv_transform_internal_ucs2reverse): Likewise. + * iconvdata/8bit-gap.c (BODY for TO_LOOP): Invoke UNICODE_TAG_HANDLER. + * iconvdata/8bit-generic.c (BODY for TO_LOOP): Likewise. + * iconvdata/ansi_x3.110.c (BODY for TO_LOOP): Likewise. + * iconvdata/big5.c (BODY for TO_LOOP): Likewise. + * iconvdata/big5hkscs.c (BODY for TO_LOOP): Likewise. + * iconvdata/cp1255.c (BODY for TO_LOOP): Likewise. + * iconvdata/cp1258.c (BODY for TO_LOOP): Likewise. + * iconvdata/euc-cn.c (BODY for TO_LOOP): Likewise. + * iconvdata/euc-jp.c (BODY for TO_LOOP): Likewise. + * iconvdata/euc-kr.c (BODY for TO_LOOP): Likewise. + * iconvdata/euc-tw.c (BODY for TO_LOOP): Likewise. + * iconvdata/gbk.c (BODY for TO_LOOP): Likewise. + * iconvdata/ibm930.c (BODY for TO_LOOP): Likewise. + * iconvdata/ibm932.c (BODY for TO_LOOP): Likewise. + * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise. + * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise. + * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise. + * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise. + * iconvdata/ibm943.c (BODY for TO_LOOP): Likewise. + * iconvdata/iso646.c (BODY for TO_LOOP): Likewise. + * iconvdata/iso8859-1.c (BODY for TO_LOOP): Likewise. + * iconvdata/iso_6937.c (BODY for TO_LOOP): Likewise. + * iconvdata/iso_6937-2.c (BODY for TO_LOOP): Likewise. + * iconvdata/iso-2022-cn.c (BODY for TO_LOOP): Likewise. + * iconvdata/iso-2022-cn-ext.c (BODY for TO_LOOP): Likewise. + * iconvdata/iso-2022-kr.c (BODY for TO_LOOP): Likewise. + * iconvdata/johab.c (BODY for TO_LOOP): Likewise. + * iconvdata/sjis.c (BODY for TO_LOOP): Likewise. + * iconvdata/t.61.c (BODY for TO_LOOP): Likewise. + * iconvdata/uhc.c (BODY for TO_LOOP): Likewise. + * iconvdata/unicode.c (BODY for TO_LOOP): Likewise. + * iconvdata/iso-2022-jp.c (TAG_none, TAG_language, TAG_language_j, + TAG_language_ja, TAG_language_k, TAG_language_ko, TAG_language_z, + TAG_language_zh, CURRENT_TAG_MASK): New enum values. + (EMIT_SHIFT_TO_INIT): Don't emit an escape sequence if ASCII_set + is already selected but set2 or tag are set. + (conversion): New enum type. + (cvlist_t): New type. + (CVLIST, CVLIST_FIRST, CVLIST_REST): New macros. + (conversion_lists): New array. + (BODY for TO_LOOP): Keep track of Unicode 3.1 language tag. If "ja", + prefer conversion to Japanese character sets. If "zh", prefer + conversion to GB2312. If "ko", prefer conversion to KSC5601. Small + optimizations. + (INIT_PARAMS): Add tag. + (UPDATE_PARAMS): Add tag. + +2001-06-04 Bruno Haible <haible@clisp.cons.org> + + * locale/programs/locfile.c (write_locale_data): Before creat(), + unlink the file, to avoid crashing the processes that mmap it. Change + a double slash to a single slash. Free fname in case of error return. + +2001-06-02 Jakub Jelinek <jakub@redhat.com> + + * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Mostly revert 2000-12-03 + changes, do the special handling for denormal numbers, not for + normalized numbers (patch by <trevin@xmission.com>). + + * math/test-misc.c (main): Test frexpl with denormal arguments. + +2001-06-04 Jakub Jelinek <jakub@redhat.com> + + * math/libm-test.inc (llround_test): Add two new llround tests. + * sysdeps/ieee754/ldbl-96/s_llroundl.c (__llroundl): Don't allow + overflow when rounding away from zero. + +2001-06-04 Jakub Jelinek <jakub@redhat.com> + + * math/Makefile (libm-calls): Add e_log2, w_log2, remove s_log2. + * math/math_private.h (__ieee754_log2, __ieee754_log2f, + __ieee754_log2l): New prototypes. + * sysdeps/generic/w_log2.c: New file. + * sysdeps/generic/w_log2f.c: New file. + * sysdeps/generic/w_log2l.c: New file. + * sysdeps/generic/s_log2l.c: Move... + * sysdeps/generic/e_log2l.c: ...to here. Rename to __ieee754_log2l. + * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle log2(0) + and log2(x < 0). + * sysdeps/i386/fpu/s_log2.S: Move... + * sysdeps/i386/fpu/e_log2.S: ...to here. Rename to __ieee754_log2. + * sysdeps/i386/fpu/s_log2f.S: Move... + * sysdeps/i386/fpu/e_log2f.S: ...to here. Rename to __ieee754_log2f. + * sysdeps/i386/fpu/s_log2l.S: Move... + * sysdeps/i386/fpu/e_log2l.S: ...to here. Rename to __ieee754_log2l. + * sysdeps/m68k/fpu/s_log2.c: Move... + * sysdeps/m68k/fpu/e_log2.c: ...to here. Rename to __ieee754_log2. + * sysdeps/m68k/fpu/s_log2f.c: Move... + * sysdeps/m68k/fpu/e_log2f.c: ...to here. Rename to __ieee754_log2f. + * sysdeps/m68k/fpu/s_log2l.c: Move... + * sysdeps/m68k/fpu/e_log2l.c: ...to here. Rename to __ieee754_log2l. + * sysdeps/ieee754/dbl-64/s_log2.c: Move... + * sysdeps/ieee754/dbl-64/e_log2.c: ...to here. Rename to + __ieee754_log2. + * sysdeps/ieee754/flt-32/s_log2f.c: Move... + * sysdeps/ieee754/flt-32/e_log2f.c: ...to here. Rename to + __ieee754_log2f. + +2001-06-04 Jakub Jelinek <jakub@redhat.com> + + * sysdeps/generic/w_exp2.c (u_threshold): Lower threshold so that + even arguments which result in denormalized exp2 are accepted. + (__exp2): Arguments equal to u_threshold already result into + underflow. + * sysdeps/generic/w_exp2f.c (u_threshold, __exp2f): Likewise. + * sysdeps/generic/w_exp2l.c (u_threshold, __exp2l): Likewise. + * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Lomark was too + low, with corrected lowmark use greaterequal, not greater. + * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise. + +2001-06-04 Jakub Jelinek <jakub@redhat.com> + + * math/libm-test.inc (ilogb_test): Test that ilogb(+-Inf) == INT_MAX. + * sysdeps/i386/fpu/s_ilogb.S (__ilogb): Return INT_MAX for +-Inf. + * sysdeps/i386/fpu/s_ilogbf.S (__ilogbf): Likewise. + * sysdeps/i386/fpu/s_ilogbl.S (__ilogbl): Likewise. + * sysdeps/ieee754/dbl-64/s_ilogb.c (__ilogb): Likewise. + * sysdeps/ieee754/flt-32/s_ilogbf.c (__ilogbf): Likewise. + * sysdeps/ieee754/ldbl-128/s_ilogbl.c (__ilogbl): Likewise. + * sysdeps/ieee754/ldbl-96/s_ilogbl.c (__ilogbl): Likewise. + +2001-06-04 Jakub Jelinek <jakub@redhat.com> + + * sysdeps/generic/w_coshl.c (__coshl): Test if finite argument + gave non-finite result instead of using constant in generic + version. + * sysdeps/generic/w_coshf.c (__coshf): Likewise. + * sysdeps/generic/w_cosh.c (__cosh): Likewise. + * sysdeps/generic/w_exp10.c (o_threshold, u_threshold): Remove. + (__exp10): Test if finite argument gave non-finite result. + * sysdeps/generic/w_exp10f.c (o_threshold, u_threshold, __exp10f): + Likewise. + * sysdeps/generic/w_exp10l.c (o_threshold, u_threshold, __exp10l): + Likewise. - * sysdeps/arm/Makefile: New file. +2001-06-04 Jakub Jelinek <jakub@redhat.com> -2002-08-08 Jakub Jelinek <jakub@redhat.com> + * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Fix + overflow threshold constant (log(LDBL_MAX)+M_LN2l). - * posix/regcomp.c (parse_reg_exp): If '|' is immediately followed - by another '|', end of regex or enclosing ')', clear branch. - * posix/bug-regex9.c: New test. - * posix/Makefile (tests): Add bug-regex9. +2001-05-29 Bruno Haible <haible@clisp.cons.org> -2002-08-12 Roland McGrath <roland@redhat.com> + * locale/programs/ld-ctype.c (idx_table): New struct type. + (idx_table_init, idx_table_get, idx_table_add): New functions. + (MAX_CHARNAMES_IDX): Remove macro. + (locale_ctype_t): Change type of charnames_idx field. + (ctype_startup): Change initialization of charnames_idx field. + (find_idx): Use idx_table_get and idx_table_add for speed. - * sysdeps/generic/dl-tls.c (_dl_allocate_tls_init): Fix inner loop - start count condition, use TOTAL instead of variable that was never - set. Fix outer loop termination condition to TOTAL >= after update. + * locale/programs/charmap.c (charmap_new_char): Fix ucs4 value + computation of characters in a range. - * sysdeps/generic/libc-tls.c (__libc_setup_tls): Initialize - dl_tls_static_align and dl_tls_static_nelem. +2001-05-29 Bruno Haible <haible@clisp.cons.org> -2002-08-11 Roland McGrath <roland@redhat.com> + * iconvdata/gb18030.c (__fourbyte_to_ucs1): Add mappings for <U03F4>, + <U03F5>. + (__ucs_to_gb18030_tab1): Likewise. + (BODY for FROM_LOOP): Add mapping for <U00010000>..<U0010FFFF>. + (BODY for TO_LOOP): Likewise. + * iconvdata/tst-table-charmap.sh: Update for charmaps containing + <U00xxxxxx> syntax. + * iconvdata/tst-table-from.c (bmp_only): New variable. + (utf8_decode): If bmp_only, don't return characters outside Unicode + plane 0. + (main): When testing UTF-8 or GB18030, set bmp_only to 1. Don't print + a conversion line if utf8_decode returns NULL. + * iconvdata/tst-table-to.c (main): When testing encodings other than + UTF-8 and GB18030, loop upto U+30000 instead of U+10000. Use UTF-8 + instead of UCS-2 as input. + * iconvdata/tst-table.sh: For GB18030, use only the part < 0x10000 + of the charmap. + +2001-05-29 Bruno Haible <haible@clisp.cons.org> + + * iconvdata/cns11643l1.c: Update to Unicode 3.1. + (__cns11643l1_to_ucs4_tab): Regenerated. + (__cns11643l1_from_ucs4_tab12): Regenerated. + * iconvdata/cns11643.c: Update to Unicode 3.1. + (__cns11643l14_to_ucs4_tab): Remove array. + (__cns11643l3_to_ucs4_tab, __cns11643l4_to_ucs4_tab, + __cns11643l5_to_ucs4_tab, __cns11643l6_to_ucs4_tab, + __cns11643l7_to_ucs4_tab, __cns11643l15_to_ucs4_tab): New arrays. + (__cns11643_from_ucs4p0_tab): Renamed from __cns11643_from_ucs4_tab. + (__cns11643_from_ucs4p2_tab): New array. + * iconvdata/cns11643.h (__cns11643l14_to_ucs4_tab): Remove declaration. + (__cns11643l3_to_ucs4_tab, __cns11643l4_to_ucs4_tab, + __cns11643l5_to_ucs4_tab, __cns11643l6_to_ucs4_tab, + __cns11643l7_to_ucs4_tab, __cns11643l15_to_ucs4_tab): New declarations. + (cns11643_to_ucs4): Treat planes 3, 4, 5, 6, 7, 15 instead of 14. + (__cns11643_from_ucs4_tab): Remove declaration. + (__cns11643_from_ucs4p0_tab, __cns11643_from_ucs4p2_tab): New + declarations. + (ucs4_to_cns11643): Update for new arrays. Treat U+3400..U+4DFF and + U+20000..U+2A6D6. + * iconvdata/cns11643l2.h (__cns11643_from_ucs4_tab): Remove + declaration. + (__cns11643_from_ucs4p0_tab): New declaration. + (ucs4_to_cns11643l2): Update for new arrays. + * iconvdata/iso-2022-cn-ext.c (BODY for FROM_LOOP): Handle planes + 3 to 7. + (BODY for TO_LOOP): Handle planes 3 to 7, instead of plane 14. + * iconvdata/EUC-TW.irreversible: New file. + * iconvdata/tst-table.sh: Use it. + * iconvdata/Makefile (distribute): Add CP1255.irreversible, + CP1258.irreversible, EUC-TW.irreversible. - * elf/tst-tlsmod4.c (in_dso): Insert a random library call before use - of the TLS macros, otherwise the compiler might not have initialized - the PIC register yet when we use the PLT via asm. - * elf/tst-tlsmod3.c (in_dso2): Likewise. - * elf/tst-tlsmod2.c (in_dso): Likewise. +2001-05-29 Bruno Haible <haible@clisp.cons.org> - * sunrpc/svc_authux.c (_svcauth_unix): Remove spurious printf (ugh!). + * locale/C-translit.h.in: Add transliterations for new Unicode 3.1 + mathematical symbols. - * sysdeps/i386/bits/byteswap.h (__bswap_16, __bswap_32, __bswap_64): - Evaluate argument exactly once. Remove __volatile__ from asm's. +2001-06-05 Andreas Jaeger <aj@suse.de> - * include/unistd.h: Use libc_hidden_proto for getdomainname - and getlogin_r. - * sysdeps/generic/getdomain.c: Add libc_hidden_def. - * sysdeps/mach/hurd/getdomain.c: Likewise. - * sysdeps/unix/getlogin_r.c: Likewise. - * sysdeps/mach/hurd/getlogin_r.c: Likewise. - * sysdeps/generic/getlogin_r.c: Likewise. + * manual/stdio.texi (Portable Positioning): Fix description of + fpos_t and fpos64_t. - * include/rpc/auth_des.h: Use libc_hidden_proto for rtime. - * sunrpc/rtime.c: Add libc_hidden_def. +2001-06-06 Ulrich Drepper <drepper@redhat.com> - * include/string.h: Use libc_hidden_proto for basename. - * string/basename.c [_LIBC]: Add libc_hidden_def. + * sysdeps/generic/wordexp.c: Undo last patch. Use strndupa instead. - * sysdeps/unix/sysv/linux/opensock.c (__opensock): socket -> __socket. + * po/sk.po: Update from translation team. - * locale/loadarchive.c: munmap -> __munmap throughout. +2001-06-05 Andreas Jaeger <aj@suse.de> - * include/netdb.h: Use libc_hidden_proto for gai_strerror. - * sysdeps/posix/gai_strerror.c: Add libc_hidden_def. - * sysdeps/generic/gai_strerror.c: Likewise. + * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Recognize + tmpfs, patch by Stanislav Brabec <utx@penguin.cz>. + Closes PR libc/2315. - * include/sys/errno.h: New file. +2001-06-05 Ulrich Drepper <drepper@redhat.com> - * include/signal.h: No libc_hidden_proto for raise, - __libc_current_sigrtmin, __libc_current_sigrtmax. - These need to be overridden by linuxthreads. - * sysdeps/posix/raise.c: Reverted. - * sysdeps/generic/raise.c: Reverted. - * signal/allocrtsig.c: Reverted. + * sysdeps/generic/wordexp.c: Add missing free. + Patch by yeti@physics.muni.cz. - * locale/loadarchive.c (LOCALEDIR): Remove debugging defn. Oops. +2001-06-02 Tom Browder <tbrowder@home.com> -2002-08-10 Roland McGrath <roland@redhat.com> + * misc/tst-tsearch.c (mangle_tree): Ensure array indices are + within bounds when lag > 0. - * locale/loadarchive.c (_nl_archive_subfreeres): New function. - * locale/localeinfo.h: Declare it. - * locale/setlocale.c (free_mem): Don't call _nl_unload_locale on the - current locale if it's not in the file list. - Call _nl_archive_subfreeres. +2001-06-05 Ulrich Drepper <drepper@redhat.com> -2002-08-10 Andreas Jaeger <aj@suse.de> + * po/tr.po: New file. - * sysdeps/i386/strchr.S: Add comment. +2001-06-05 Andreas Jaeger <aj@suse.de> -2002-08-10 Roland McGrath <roland@redhat.com> + * manual/libm-err-tab.pl (parse_ulps): Fix typo. - * include/wchar.h (putwc): Use libc_hidden_proto. - * include/stdio.h (dprintf, fprintf, vfprintf, sprintf, - sscanf, fwrite, perror, remove, rewind, open_memstream): Likewise. - * stdio-common/dprintf.c: Add libc_hidden_def. - * stdio-common/fprintf.c: Likewise. - * stdio-common/sprintf.c: Likewise. - * stdio-common/sscanf.c: Likewise. - * libio/iofwrite.c: Likewise. - * libio/memstream.c: Likewise. - * libio/putwc.c: Likewise. - * stdio-common/perror.c: Likewise. - * sysdeps/posix/remove.c: Likewise. - * sysdeps/generic/remove.c: Likewise. - * libio/rewind.c: Likewise. Use <stdio.h> instead of "stdio.h". - * stdio-common/vfprintf.c: Add libc_hidden_def. Include <stdio.h>. +2001-06-04 H.J. Lu <hjl@gnu.org> -2002-08-09 Jakub Jelinek <jakub@redhat.com> + * sysdeps/alpha/elf/start.S: Add .type for the entry point. + * sysdeps/arm/elf/start.S: Likewise. + * sysdeps/hppa/elf/start.S: Likewise. + * sysdeps/i386/elf/start.S: Likewise. + * sysdeps/m68k/elf/start.S: Likewise. + * sysdeps/mips/elf/start.S: Likewise. + * sysdeps/ia64/elf/start.S: Likewise. + * sysdeps/sh/elf/start.S: Likewise. + * sysdeps/s390/s390-32/elf/start.S: Likewise. + * sysdeps/s390/s390-64/elf/start.S: Likewise. + * sysdeps/cris/elf/start.S: Likewise. - * include/wctype.h (iswalpha, iswdigit, iswlower, iswspace, iswxdigit, - towlower, towupper): Add prototypes here too. Add libc_hidden_proto. - * wctype/wcfuncs.c (iswalpha, iswdigit, iswlower, iswspace, iswxdigit, - towlower, towupper): Add libc_hidden_weak. +2001-06-04 Bruce Mitchener <bruce@cubik.org> - * include/bits/dlfcn.h: New file. - * elf/dl-profstub.c (_dl_mcount_wrapper_check): Add libc_hidden_def. + * manual/resource.texi: Correct setpriority/nice documentation. - * include/grp.h (_nss_files_parse_grent): Add libc_hidden_proto. - * include/netinet/ether.h (_nss_files_parse_etherent): Likewise. - * include/rpc/netdb.h (_nss_files_parse_rpcent): Likewise. - * include/pwd.h (_nss_files_parse_pwent): Likewise. - * include/shadow.h (_nss_files_parse_spent): Likewise. - * include/netdb.h (_nss_files_parse_protoent, - _nss_files_parse_servent, _nss_files_parse_netent): Likewise. - * nss/nss_files/files-parse.c (nss_files_parse_hidden_def): Define. - (LINE_PARSER): Use it. - * nss/nsswitch.h (__nss_hostname_digits_dots): Add libc_hidden_proto. - * nss/digits_dots.c (__nss_hostname_digits_dots): Add libc_hidden_def. - - * libio/oldiopopen.c: Move #if SHLIB_COMPAT after _IO_HAVE_SYS_WAIT - #endif. - - * manual/debug.texi (%MENU%): Remove trailing dot. - Reported by <hayastan132@hotmail.com>. - - * sysdeps/unix/sysv/linux/ia64/syscalls.list (llseek): Add lseek - aliases. - (lseek): Dummy. - * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (llseek, lseek): - Likewise. + * sysdeps/unix/nice.c: Correct nice() implementation. -2002-08-09 Roland McGrath <roland@redhat.com> - - * locale/loadarchive.c (_nl_load_locale_from_archive): Parse locale - name to find codeset name (if any) and normalize it. If the - normalized name differs, look up only that in the archive. - * locale/programs/locarchive.c (add_locale_to_archive): If the name - contains a codeset, normalize the codeset store only the normalized - name in the archive. If not, add an alias containing the locale's - normalized codeset name. Apply codeset name normalization when - matching entries in the alias file. - - * locale/programs/locarchive.c (delete_locales_from_archive): Don't - decrement HEAD->namehash_used here. - (add_locale): Only need to insert name string when name_offset != 0. - - * locale/programs/localedef.c (options): Add -A/--alias-file. - (alias_file): New variable. - (parse_opt): Grok -A, set that. - * locale/programs/localedef.h: Declare it. - - * locale/locarchive.h (struct locrecent): Add `refs' member. - * locale/programs/locarchive.c (insert_name): New function, broken out - of ... - (add_locale_to_archive): ... here. Call that. - (add_alias): New function. - (add_locale): New static function, add_locale_to_archive renamed. - (add_locale_to_archive): Call that and use add_alias to add an alias - for the name with codeset if the given name lacks it. - (enlarge_archive): Call add_locale instead of add_locale_to_archive. - - * locale/Makefile (routines): Add loadarchive. - * locale/loadarchive.c: New file, started from code by Ulrich Drepper. - (_nl_load_locale_from_archive): New function. - * locale/localeinfo.h: Declare it. - * locale/findlocale.c (_nl_find_locale): If using default locale path, - try _nl_load_locale_from_archive first. - - * locale/loadlocale.c (_nl_intern_locale_data): New function, - broken out of _nl_load_locale. - (_nl_load_locale): Call that. - * locale/localeinfo.h: Declare it. - (struct locale_data): Replace member `mmaped' with `alloc', an enum. - (struct locale_data): Remove unused member `options'. - * locale/findlocale.c (_nl_remove_locale): Update uses. - * locale/loadlocale.c (_nl_load_locale, _nl_unload_locale): Likewise. - * locale/C-collate.c: Update initializer. - * locale/C-identification.c: Likewise. - * locale/C-measurement.c: Likewise. - * locale/C-telephone.c: Likewise. - * locale/C-address.c: Likewise. - * locale/C-name.c: Likewise. - * locale/C-paper.c: Likewise. - * locale/C-time.c: Likewise. - * locale/C-numeric.c: Likewise. - * locale/C-monetary.c: Likewise. - * locale/C-messages.c : Likewise. - * locale/C-ctype.c: Likewise. +2001-06-04 Andreas Jaeger <aj@suse.de> - * locale/hashval.h [! LONGBITS]: Include <limits.h> here and - use CHAR_BIT instead of BITSPERBYTE. + * sysdeps/ieee754/ldbl-128/e_sinhl.c: New file, contributed by + Stephen L Moshier <moshier@mediaone.net>. - * locale/localeinfo.h (_nl_find_locale, _nl_load_locale, - _nl_unload_locale): Add `internal_function attribute_hidden' to decls. - * locale/findlocale.c (_nl_find_locale): Add internal_function to defn. - (_nl_remove_locale): Likewise. - * locale/loadlocale.c (_nl_load_locale, _nl_unload_locale): Likewise. +2001-06-03 Roland McGrath <roland@frob.com> + + * Makefile (postclean): Remove obsolete sysd-Makefile. + +2001-06-01 Roland McGrath <roland@frob.com> + + * sysdeps/alpha/fpu/fclrexcpt.c: #include <shlib-compat.h> + and use compat_symbol/versioned_symbol instead of plain + symbol_version/default_symbol_version. + * sysdeps/alpha/fpu/fegetenv.c: Likewise. + * sysdeps/alpha/fpu/fesetenv.c: Likewise. + * sysdeps/alpha/fpu/feupdateenv.c: Likewise. + * sysdeps/alpha/fpu/fgetexcptflg.c: Likewise. + * sysdeps/alpha/fpu/fraiseexcpt.c: Likewise. + * sysdeps/alpha/fpu/fsetexcptflg.c: Likewise. + * sysdeps/arm/fpu/fclrexcpt.c: Likewise. + * sysdeps/arm/fpu/fegetenv.c: Likewise. + * sysdeps/arm/fpu/fesetenv.c: Likewise. + * sysdeps/arm/fpu/fraiseexcpt.c: Likewise. + * sysdeps/arm/fpu/fsetexcptflg.c: Likewise. + * sysdeps/i386/fpu/fclrexcpt.c: Likewise. + * sysdeps/i386/fpu/fegetenv.c: Likewise. + * sysdeps/i386/fpu/fesetenv.c: Likewise. + * sysdeps/i386/fpu/feupdateenv.c: Likewise. + * sysdeps/i386/fpu/fgetexcptflg.c: Likewise. + * sysdeps/i386/fpu/fraiseexcpt.c: Likewise. + * sysdeps/i386/fpu/fsetexcptflg.c: Likewise. + * sysdeps/m68k/fpu/fclrexcpt.c: Likewise. + * sysdeps/m68k/fpu/fegetenv.c: Likewise. + * sysdeps/m68k/fpu/fesetenv.c: Likewise. + * sysdeps/m68k/fpu/feupdateenv.c: Likewise. + * sysdeps/m68k/fpu/fgetexcptflg.c: Likewise. + * sysdeps/m68k/fpu/fraiseexcpt.c: Likewise. + * sysdeps/m68k/fpu/fsetexcptflg.c: Likewise. + * sysdeps/powerpc/fclrexcpt.c: Likewise. + * sysdeps/powerpc/fpu/fegetenv.c: Likewise. + * sysdeps/powerpc/fpu/fesetenv.c: Likewise. + * sysdeps/powerpc/fpu/feupdateenv.c: Likewise. + * sysdeps/powerpc/fpu/fgetexcptflg.c: Likewise. + * sysdeps/powerpc/fpu/fraiseexcpt.c: Likewise. + * sysdeps/powerpc/fpu/fsetexcptflg.c: Likewise. + + * iconvdata/cp1258.c: Include <stdlib.h> for abort decl. + * iconvdata/iso-2022-cn-ext.c: Likewise. - * locale/findlocale.c (_nl_default_locale_path): New variable. - (_nl_find_locale): If LOCALE_PATH is null, default to that. - * locale/localeinfo.h: Declare it. - * locale/setlocale.c (setlocale): Use _nl_default_locale_path - in place of LOCALEDIR. If no LOCPATH, pass null to _nl_find_locale. - * locale/newlocale.c (__newlocale): Likewise. +2001-06-01 Andreas Jaeger <aj@suse.de> - * misc/err.c (vwarnx, vwarn): Fix typos in libc_hidden_def uses. - * inet/rexec.c (rexec_af): Add libc_hidden_def. - * sysdeps/generic/morecore.c: Likewise. - * signal/allocrtsig.c (__libc_current_sigrtmin): Likewise. - (__libc_current_sigrtmax): Likewise. + * Versions.def: Add version 2.2.4. -2002-08-08 Roland McGrath <roland@redhat.com> +2001-06-01 Ulrich Drepper <drepper@redhat.com> - * locale/loadlocale.c (_nl_load_locale): Don't use MAP_INHERIT. - * catgets/open_catalog.c (__open_catalog): Likewise. + * socket/Makefile (routines): Add sockatmark. + * socket/Versions [GLIBC_2.2.4]: Add sockatmark. + * socket/sys/socket.h: Add prototype for sockatmark. + * sysdeps/generic/sockatmark.c: New file. + * sysdeps/unix/sockatmark.c: New file. - * locale/programs/locarchive.c (INITIAL_NUM_NAMES): Renamed - from typo INITIAL_NUM_NANES. - (create_archive): Update use. +2001-06-01 Andreas Jaeger <aj@suse.de> -2002-08-08 Ulrich Drepper <drepper@redhat.com> + * sysdeps/unix/sysv/linux/speed.c (cfsetispeed): Max speed is + B4000000. + (cfsetospeed): Likewise. + Reported by Lukasz Trabinski <lukasz@lt.wsisiz.edu.pl>. - * sysdeps/unix/sysv/linux/sigwait.c: New file. +2001-05-31 Joseph S. Myers <jsm28@cam.ac.uk> -2002-08-08 Roland McGrath <roland@frob.com> + * misc/sys/cdefs.h (__restrict_arr): Define to empty for C++. - * resolv/netdb.h: Don't declare h_errno as a plain global any more. +2001-05-30 Martin Schwidefsky <schwidefsky@de.ibm.com> -2002-08-08 Jakub Jelinek <jakub@redhat.com> + * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: greg_t + needs to have the same aligment as the kernel structure. - * sysdeps/wordsize-64/wcstol_l.c (wcstoll_l): Define to something - else and undefine after including wcstol_l.c. - * sysdeps/wordsize-64/wcstoul_l.c (wcstoull_l): Similarly. +2001-05-29 Jakub Jelinek <jakub@redhat.com> -2002-08-08 Ulrich Drepper <drepper@redhat.com> + * sunrpc/rpc/types.h (u_char, u_short, u_int, u_long, quad_t, + u_quad_t, fsid_t, daddr_t, caddr_t): Make sure the types are defined. + * posix/sys/types.h (u_char, u_short, u_int, u_long, quad_t, + u_quad_t, fsid_t, daddr_t, caddr_t): Protect the __USE_BSD typedefs + against multiple definition. - * gmon/gmon.c (write_gmon): Use O_NOFOLLOW in open calls if available. +2001-05-30 Ulrich Drepper <drepper@redhat.com> -2002-08-08 Alexandre Oliva <aoliva@redhat.com> + * po/da.po: Update from translation team. - * configure.in: Make the test for broken_alias_attribute stricter. +2001-05-29 Andreas Jaeger <aj@suse.de> -2002-05-24 Robert Love <rml@tech9.net> + * sysdeps/ieee754/ldbl-128/e_acosl.c: New file, contributed by + Stephen L Moshier <moshier@mediaone.net>. - * posix/Makefile (routines): Add sched_getaffinity and - sched_setaffinity. - * posix/sched.h: Add declarations for sched_getaffinity and - sched_setaffinity. - * sysdeps/generic/sched_getaffinity.c: New file. - * sysdeps/generic/sched_setaffinity.c: New file. - * sysdeps/unix/sysv/linux/syscalls.list: Add sched_getaffinity and - sched_setaffinity. + * math/libm-test.inc (sinh_test): Add new test case. -2002-08-06 Andreas Schwab <schwab@suse.de> + * sysdeps/ieee754/ldbl_96/e_sinhl.c (__ieee754_sinhl): sinhl(x) = + x when x < 2^-32. + Patch by Stephen L Moshier <moshier@mediaone.net>. - * sysdeps/unix/utime.c: If TIMES is NULL pass it through to utimes. +2001-05-23 Andreas Jaeger <aj@suse.de> -2002-08-07 Ulrich Drepper <drepper@redhat.com> + * iconvdata/testdata/WINDOWS-1255..UTF-8: Renamed to... + * iconvdata/testdata/WINDOWS-1255..UTF8: this. - * elf/dl-load.c (_dl_map_object_from_fd): Add missing \n in error - message. +2001-05-27 Andreas Jaeger <aj@suse.de> - * stdlib/isomac.c (get_null_defines): Treat NOT_IN_libc special. - It is known to be defined. + * manual/stdio.texi (String Streams): Fix fmemopen description. + Reported by Michal Kochanowicz <michal@michal.waw.pl>. - * include/string.h: Define index and rindex only if _ISOMAC is not - defined. +2001-05-26 H.J. Lu <hjl@gnu.org> - * elf/rtld.c: Include <errno.h>. - * sysdeps/generic/libc-tls.c: Likewise. - -2002-08-07 Roland McGrath <roland@redhat.com> - - * resolv/res_debug.c (latlon2ul): Add const to argument type, and use - it internally. - (precsize_aton): Likewise. - - * inet/getnetgrent_r.c (endnetgrent, __getnetgrent_r): Actually call - the static symbols added in the last change (doofus is me). - - * locale/newlocale.c (__newlocale): Use a bit mask instead of a second - loop to notice missing categories in a composite name. - - * locale/locale.h (LC_CTYPE_MASK, LC_NUMERIC_MASK, LC_TIME_MASK, - LC_COLLATE_MASK, LC_MONETARY_MASK, LC_MESSAGES_MASK, LC_ALL_MASK, - LC_PAPER_MASK, LC_NAME_MASK, LC_ADDRESS_MASK, LC_TELEPHONE_MASK, - LC_MEASUREMENT_MASK, LC_IDENTIFICATION_MASK, LC_ALL_MASK): New macros. - -2002-08-07 Ulrich Drepper <drepper@redhat.com> - - * malloc/tst-calloc.c: Add tests for one or both parameters being zero. - -2002-08-07 Roland McGrath <roland@redhat.com> - - * sysdeps/i386/dl-machine.h (elf_machine_rel): Add to, don't clobber, - unrelocated initial value for DTPOFF32 and TPOFF32 relocs. - Reported by Jakub Jelinek <jakub@redhat.com>. - -2002-08-07 Jakub Jelinek <jakub@redhat.com> - - * malloc/malloc.c (public_cALLOc): Check ELEM_SIZE != 0 before - division. - -2002-08-06 Roland McGrath <roland@redhat.com> - - * include/getopt.h: Put private decls inside [_GETOPT_H]. - Use libc_hidden_proto for getopt_long, getopt_long_only. - * posix/getopt1.c [_LIBC]: Include <getopt.h> instead of "getopt.h". - Add libc_hidden_def. - - * sysdeps/generic/unwind-dw2-fde-glibc.c [_LIBC] (dl_iterate_phdr): - Define as a macro for __dl_iterate_phdr. - - * inet/getnetgrent_r.c (internal_setnetgrent): Renamed from __ name, - made static. Add __ name as a strong alias. - (internal_endnetgrent): Likewise. - (internal_getnetgrent_r): Likewise. - - * locale/Versions (libc: GLIBC_2.3): Add all the *_l functions - with no __ prefix. - * locale/langinfo.h [__USE_GNU]: Declare nl_langinfo_l. - * ctype/ctype.h [__USE_GNU]: Add declarations and macros for - all *_l functions with no __ prefix. - * wctype/wcfuncs_l.c: Define weak aliases without __ for all fns. - * ctype/ctype_l.c: Likewise. - * locale/nl_langinfo.c: Likewise. - * string/string.h [__USE_GNU]: Add decls for all *_l fns with no __. - * stdlib/stdlib.h [__USE_GNU]: Likewise. - * wcsmbs/wchar.h [__USE_GNU]: Likewise. - * wctype/wctype.h [__USE_GNU]: Likewise. - * string/strcoll_l.c (strcoll_l): Define as weak alias. - * string/strxfrm_l.c (strxfrm_l): Define as weak alias. - * sysdeps/generic/strcasecmp_l.c (strcasecmp_l): Define as weak alias. - * sysdeps/generic/strncase_l.c (strncasecmp_l): Define as weak alias. - * stdlib/strtod_l.c (strtod_l): Define as weak alias. - * stdlib/strtof_l.c (strtof_l): Define as weak alias. - * stdlib/strtold_l.c (strtold_l): Define as weak alias. - * wcsmbs/wcscasecmp_l.c (wcscasecmp_l): Define as weak alias. - (__wcscasecmp_l): Add libc_hidden_def. - * wcsmbs/wcsncase_l.c (wcsncasecmp_l): Define as weak alias. - (__wcsncasecmp_l): Add libc_hidden_def. - * wcsmbs/wcstof_l.c (wcstof_l): Define as weak alias. - * wcsmbs/wcstod_l.c (wcstod_l): Define as weak alias. - * wcsmbs/wcstold_l.c (wcstold_l): Define as weak alias. - * wcsmbs/wcscoll_l.c (wcscoll_l): Define as weak alias. - * wcsmbs/wcsxfrm_l.c (wcsxfrm_l): Define as weak alias. - * sysdeps/generic/wcstol_l.c (wcstol_l): Define as weak alias. - * sysdeps/generic/wcstoll_l.c (wcstoll_l): Define as weak alias. - * sysdeps/generic/wcstoul_l.c (wcstoul_l): Define as weak alias. - * sysdeps/generic/wcstoull_l.c (wcstoull_l): Define as weak alias. - * sysdeps/wordsize-64/wcstol_l.c (wcstoll_l): Define as weak alias. - * sysdeps/wordsize-64/wcstoul_l.c (wcstoull_l): Define as weak alias. - * wctype/wctrans_l.c (wctrans_l) Define as weak alias. - * wctype/towctrans_l.c (towctrans_l) Define as weak alias. - * wctype/wctype_l.c (wctype_l) Define as weak alias. - -2002-08-05 Roland McGrath <roland@redhat.com> - - * include/rpc/auth.h: Use libc_hidden_proto for getnetname, - netname2user, host2netname, user2netname, key_gendes. - * sunrpc/netname.c: Add libc_hidden_def. - * sunrpc/key_call.c: Likewise. + * sysdeps/unix/sysv/linux/mips/syscalls.list: Change sigsuspend + to s_sigsuspend. Add s_mmap2. - * include/netdb.h: Use libc_hidden_proto for getaddrinfo, getnameinfo, - freeaddrinfo. - * inet/getnameinfo.c: Add libc_hidden_def. - * sysdeps/generic/getaddrinfo.c: Likewise. - * sysdeps/posix/getaddrinfo.c: Likewise. + * sysdeps/mips/atomicity.h: New file. - * include/wchar.h: Use libc_hidden_proto for wmemchr, wmemset. - * wcsmbs/wmemchr.c: Add libc_hidden_def. - * wcsmbs/wmemset.c: Add libc_hidden_def. + * sysdeps/unix/sysv/linux/mips/getsysstats.c: New file. - * include/string.h: Move libc_hidden_proto's inside #ifndef _STRING_H. - (index, rindex): Define as macros for strchr, strrchr. + * sysdeps/unix/sysv/linux/mips/bits/ipc.h (ipc_perm): Put + back __key. - * string/envz.c (envz_strip): index -> strchr +2001-05-25 Bruce Mitchener <bruce@cubik.org> - * include/rpc/rpc_msg.h: Use libc_hidden_proto for _seterr_reply. - * sunrpc/rpc_prot.c: Add libc_hidden_def. + * manual/ctype.texi: Minor fix. + * manual/install.texi: Likewise. + * manual/startup.texi: Likewise. + * manual/examples/dir.c: Use perror() rather than puts(). - * include/wchar.h: Use libc_hidden_proto for mbrtowc. - * wcsmbs/mbrtowc.c: Add libc_hidden_weak. +2001-05-25 David Mosberger <davidm@hpl.hp.com> - * include/stdlib.h: Use libc_hidden_proto for wctomb. - * stdlib/wctomb.c: Add libc_hidden_def. + * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h: Put stuff following + #endif directive inside a comment to avoid compiler warnings. - * include/netdb.h: Use libc_hidden_proto for innetgr, rcmd_af, - rexec_af, rresvport_af, ruserok_af, iruserok_af, ruserpass, hstrerror. - * resolv/herror.c: Likewise. - * inet/rcmd.c: Add libc_hidden_def. - * inet/ruserpass.c: Likewise. - * inet/getnetgrent_r.c: Likewise. +2001-05-25 Philipp Thomas <pthomas@suse.de> - * include/rpc/svc.h: Use libc_hidden_proto for svc_register, - svc_unregister, remove *_internal decls. Use libc_hidden_proto - for svcerr_auth, svcerr_noprog, svcerr_progvers. - * sunrpc/svc.c (svc_register, svc_unregister): Change INTDEF to - libc_hidden_def. - (svcerr_auth, svcerr_noprog, svcerr_progvers): Add libc_hidden_def. - * sunrpc/svc_simple.c (registerrpc): Nix INTUSE for svc_register. + * nis/nis_print.c (nis_nstype2str): Don't mark names of + naming services for translation, only UNKNOWN needs it. + Add comment to prevent it for the future. - * sysdeps/posix/system.c (do_system): New function, guts broken out of - __libc_system. - (__libc_system): Call it, putting just the line == NULL test here. +2001-05-25 Joseph S. Myers <jsm28@cam.ac.uk> - * include/libc-symbols.h (__hidden_proto): Add extern keywords so - variables work right. + * misc/sys/cdefs.h (__restrict_arr): Define appropriately for GCC + 3.1 and non-GCC C99 compilers. - * elf/dl-open.c (dl_open_worker): Use _ macro instead of gettext. - * elf/dl-close.c (_dl_close): Likewise. +2001-05-22 David Mosberger <davidm@hpl.hp.com> - * include/netinet/in.h: Use libc_hidden_proto for bindresvport, - in6addr_any, in6addr_loopback. Remove decls for - bindresvport_internal, in6addr_any_internal, in6addr_loopback_internal. - * sunrpc/svc_udp.c (svcudp_bufcreate): Nix INTUSE for bindresvport. - * sunrpc/svc_tcp.c (svctcp_create): Likewise. - * sunrpc/clnt_udp.c (clntudp_bufcreate): Likewise. - * sunrpc/bindrsvprt.c: Change INTDEF to libc_hidden_def. - * inet/in6_addr.c: Change INTVARDEF to libc_hidden_def. - * sysdeps/posix/getaddrinfo.c (gaih_inet): Nix INTUSE for - in6addr_loopback. - * inet/gethstbyad_r.c (PREPROCESS): Nix INTUSE for in6addr_any. - - * include/netinet/ether.h: Use libc_hidden_proto for ether_ntoa_r, - ether_aton_r. - * inet/ether_aton_r.c: Add libc_hidden_def. - * inet/ether_ntoa_r.c: Likewise. - - * include/rpc/svc.h: Use libc_hidden_proto for xprt_register, - xprt_unregister. - * sunrpc/svc.c: Add libc_hidden_def. - * include/rpc/pmap_clnt.h: Use libc_hidden_proto for pmap_getport, - pmap_set, pmap_unset. - * sunrpc/pmap_clnt.c: Add libc_hidden_def. - * sunrpc/pm_getport.c: Likewise. - * include/rpc/auth_des.h: Use libc_hidden_proto for getpublickey. - * sunrpc/publickey.c: Add libc_hidden_def. - -2002-08-05 Ulrich Drepper <drepper@redhat.com> - - * elf/rtld.c (_dl_start): Don't use memset. Use same tricks as for - the other memset call in this function. - - * sysdeps/generic/dl-tls.c (_dl_allocate_tls_init): Store dtv pointer - at correct index. Clear BSS region now that memalign is used. - -2002-08-05 Roland McGrath <roland@redhat.com> - - * include/sys/utsname.h: Use libc_hidden_proto for uname, __uname. - * sysdeps/generic/uname.c: Add libc_hidden_def. - * sysdeps/mach/hurd/uname.c: Likewise. - -2002-08-05 Jakub Jelinek <jakub@redhat.com> - - * include/wchar.h (wcrtomb, wcscmp, wcsftime, wcsspn, wcschr, wcscoll, - wcspbrk): Add libc_hidden_proto. - * time/strftime.c (my_strftime): Add libc_hidden_def. - (strftime): Remove libc_hidden_def. - * wcsmbs/wcschr.c (wcschr): Add libc_hidden_def. - * wcsmbs/wcspbrk.c (wcspbrk): Likewise. - * wcsmbs/wcsspn.c (wcsspn): Likewise. - * wcsmbs/wcscmp.c (wcscmp): Likewise. - * wcsmbs/wcrtomb.c (wcrtomb): Add libc_hidden_weak. - * wcsmbs/wcscoll.c (wcscoll): Likewise. - - * include/rpc/rpc.h (__rpc_thread_svc_max_pollfd, - __rpc_thread_svc_pollfd, __rpc_thread_svc_fdset, - __rpc_thread_createerr): Add libc_hidden_proto. - * sunrpc/rpc_thread.c (__rpc_thread_svc_max_pollfd, - __rpc_thread_svc_pollfd, __rpc_thread_svc_fdset, - __rpc_thread_createerr): Add libc_hidden_def. - - * include/rpc/clnt.h (clnt_sperrno, clnt_spcreateerror, - clnt_perror, clnt_sperror, _rpc_dtablesize): Add libc_hidden_proto. - * sunrpc/clnt_perr.c (clnt_sperrno, clnt_spcreateerror, - clnt_perror, clnt_sperror): Add libc_hidden_def. - * sunrpc/rpc_dtable.c (_rpc_dtablesize): Likewise. - - * include/rpc/des_crypt.h (des_setparity, ecb_crypt, cbc_crypt): Add - libc_hidden_proto. - * sunrpc/des_crypt.c (ecb_crypt, cbc_crypt): Add libc_hidden_proto. - * sunrpc/des_soft.c (des_setparity): Likewise. - - * include/rpc/auth.h (key_encryptsession_pk, key_decryptsession_pk): - Add libc_hidden_proto. - * sunrpc/key_call.c (key_encryptsession_pk, key_decryptsession_pk): - Add libc_hidden_def. - -2002-08-05 Roland McGrath <roland@redhat.com> - - * sysdeps/generic/ldsodefs.h (struct rtld_global): Replace member - `bool _dl_initial_dtv_malloced' with `void *_dl_initial_dtv'. - * elf/rtld.c (dl_main): Set it to the new dtv for the main thread. - * sysdeps/generic/dl-tls.c (__tls_get_addr): When reallocating the - dtv, check if it matches _dl_initial_dtv; if so, malloc and copy the - old data, abandoning the original memory allocated by rtld at startup, - instead of calling realloc normally. - -2002-08-05 Ulrich Drepper <drepper@redhat.com> + * sysdeps/ia64/memmove.S: Increase MEMLAT from 6 to 21 for better + performance. + * sysdeps/ia64/memcpy.S: Likewise. - * po/fr.po: Update from translation team. + * sysdeps/ia64/bcopy.S: New file. -2002-08-04 Roland McGrath <roland@redhat.com> - - * sysdeps/unix/make-syscalls.sh: If the syscall name field is - - then generate a dummy module under the given name, obeying the - normal rules for the "caller" field. - - * sysdeps/generic/libc-tls.c (__libc_setup_tls): Make the phdr loop - actually iterate over the elements. Fix typo p_type -> p_vaddr. - - * include/pthread.h: Don't declare __pthread_initialize_minimal as - weak here; we declare it weak or strong in the one place we use it. - * sysdeps/generic/libc-start.c: ... which is here. - Don't make the decl weak if [USE_TLS], since static programs need TLS - setup even when single-threaded. - - * stdlib/isomac.c (fmt): Add -DNOT_IN_libc to the compiler command. - - * elf/Makefile (test-srcs): Add $(modules-names) to it. - (CFLAGS-vismod2.c, CFLAGS-failobj.c, CFLAGS-constload2.c, - CFLAGS-reldepmod3.c, CFLAGS-reldepmod4.c, CFLAGS-ltglobmod2.c): Remove - all these variables. - -2002-08-04 Ulrich Drepper <drepper@redhat.com> - - * include/stdio.h: Don't define macro magic to redirect function - calls if _ISOMAC is defined. - - * sysdeps/i386/fpu/libm-test-ulps: Add epsilons for inlined - ldouble asin tests. - -2002-08-04 Roland McGrath <roland@redhat.com> - - * stdlib/lrand48_r.c: Add libc_hidden_def. - - * sysdeps/generic/dl-tls.c (_dl_allocate_tls_storage): Allocate the - TCB with __libc_memalign instead of mmap. - (_dl_deallocate_tls): Free it with free instead of munmap. - - * Makerules (cpp-srcs-left): When setting this to run - cppflags-iterator.mk, must append .c to $(tests) and $(xtests) - words. Combine the two loops into one on the concatenated list, - including those as well as $(test-srcs). - - * elf/dl-minimal.c (__libc_memalign): Guts of malloc moved here, - since we align here with optimally minimal waste anyway. - (malloc): Just call that. - - * sysdeps/generic/libc-tls.c (__libc_setup_tls): Set l_tls_offset to - the right variable. - - * elf/dl-load.c (_dl_map_object_from_fd): Use p_vaddr, not p_offset, - to compute memory location for l_tls_initimage. - * elf/rtld.c (_dl_start): Likewise. - * sysdeps/generic/libc-tls.c (__libc_setup_tls): Likewise. - - * libio/oldiopopen.c: Move #include's before #if SHLIB_COMPAT, - because the .d file is generated in the non-shared case and - so fails to catch them otherwise. - - * sysdeps/generic/dl-tls.c (_dl_allocate_tls_storage): New function, - split out of _dl_allocate_tls. - (_dl_allocate_tls_init): Likewise. - (_dl_allocate_tls): Call those. - * sysdeps/generic/ldsodefs.h: Declare them with attribute_hidden. - * elf/rtld.c (dl_main): Call them separately instead of calling - _dl_allocate_tls. Delay _dl_allocate_tls_init until after relocation - is finished, so that the initializer data has been relocated before we - copy it into the main thread's TLS block. - - * sysdeps/generic/dl-tls.c (_dl_allocate_tls): Fix off-by-one error in - loop conditions, prevented the last used module from being initialized. - -2002-08-04 Jakub Jelinek <jakub@redhat.com> - - * sysdeps/generic/glob.c (glob, globfree): Only use libc_hidden_def - if glob resp. globfree are not macros. - * sysdeps/gnu/glob64.c (globfree64): Add libc_hidden_def. - * sysdeps/unix/sysv/linux/alpha/glob.c (glob, globfree, globfree64): - Add libc_hidden_ver. - * sysdeps/unix/sysv/linux/i386/glob64.c (globfree64): Add - libc_hidden_def. - * sysdeps/wordsize-64/glob.c (globfree64): Use libc_hidden_ver - instead of libc_hidden_weak. - * sysdeps/wordsize-64/strtol.c (__strtoll_internal): Use - libc_hidden_ver instead of libc_hidden_def. - * sysdeps/wordsize-64/wcstol.c (__wcstoll_internal): Use - libc_hidden_ver instead of libc_hidden_def. - (wcstoll, wcstoq): Remove libc_hidden_weak. - * sysdeps/wordsize-64/strtol_l.c (____strtoll_l_internal): Add - libc_hidden_ver. - * sysdeps/wordsize-64/strtoul.c (__strtoull_internal): Add - libc_hidden_ver. - * sysdeps/wordsize-64/strtoul_l.c (____strtoull_l_internal): Add - libc_hidden_ver. - * sysdeps/wordsize-64/wcstoul.c (__wcstoull_internal): Add - libc_hidden_ver. - -2002-08-04 Ulrich Drepper <drepper@redhat.com> - - * stdio-common/psignal.c: Declare _sys_siglist_internal. Use USEINT - to access _sys_siglist. - * string/strsignal.c: Likewise. - * sysdeps/generic/siglist.c: Add _sys_siglist_internal alias. - * sysdeps/gnu/siglist.c: Likewise. - * sysdeps/unix/siglist.c: Likewise. - * sysdeps/unix/sysv/linux/arm/siglist.c: Likewise. - - * libio/fileops.c: Add missing INTUSEs for _IO_file_jumps. - - * libio/wfileops.c: Add missing INTUSE for _IO_file_close. - - * intl/dcigettext.c: Define _nl_default_dirname_internal as hidden - alias and use it. - * intl/bindtextdom.c: Use _nl_default_dirname_internal. - - * include/netinet/in.h: Add declaration of in6addr_loopback_internal. - * inet/in6_addr.c: Add INTVARDEF for in6addr_loopback. - * sysdeps/posix/getaddrinfo.c: Use INTUSE for in6addr_loopback access. - - * include/time.h: Add libc_hidden_proto for __gmtime_r. - * time/gmtime.c (__gmtime_r): Add libc_hidden_def. - - * iconv/Versions: Replace __gconv_alias_db, __gconv_modules_db, - and __gconv_cache with __gconv_get_alias_db, __gconv_get_modules_db, - and __gconv_get_cache respectively. - * iconv/gconv_cache.c (gconv_cache): Renamed for __gconv_cache and - defined static. Change all users. - (__gconv_get_cache): New function. - * iconv/gconv_db.c (__gconv_get_modules_db): New function. - (__gconv_get_alias_db): New function. - * iconv/gconv_int.h (__gconv_alias_db): Declare as hidden. - (__conv_modules_db): Likewise. - Add prototypes for __gconv_get_cache, __gconv_get_modules_db, - and __gconv_get_alias_db. - * iconv/iconv_prog.c: Use the new functions instead of accessing the - variables. + * sysdeps/ia64/bzero.S: New file (derived from memset.S). - * include/stdlib.h: Add prototype and libc_hidden_proto for - __default_morecore. - * sysdeps/generic/morecore.c: Include <stdlib.h>. - - * malloc/obstack.c: Remove fputs macro. - - * malloc/mtrace.c: Remove fopen macro. - -2002-08-04 Jakub Jelinek <jakub@redhat.com> - - * manual/debug.texi: Fix spelling to programmatically. - Reported by <hayastan132@hotmail.com>. - -2002-08-04 Ulrich Drepper <drepper@redhat.com> - - * include/libio.h: Add libc_hidden_proto for __uflow. - * include/stdio.h: Map fopen, fdopen, fclose, fputs, fsetpos, and - fgetpos to _IO_* names. - Add libc_hidden_proto for fileno, fwrite, fseek, fflush_unlocked, - fread_unlocked, fwrite_unlocked, fgets_unlocked, fputs_unlocked. - * include/wchar.h: Add libc_hidden_proto for fputws_unlocked, - putwc_unlocked, vswscanf. - * libio/iolibio.h: Add libc_hidden_proto for _IO_fputs. - * libio/fileno.c: Use <stdio.h> and libc_hidden_def. - * libio/fseek.c: Likewise. - * libio/fmemopen.c: Include "libioP.h". Call _IO_fopencookie and - not fopencookie. - * libio/genops.c (__uflow): Add libc_hidden_def. - * libio/iofflush_u.c (fflush_unlocked): Likewise. - * libio/iofgets_u.c (fgets_unlocked): Likewise. - * libio/iofputs_u.c (fputs_unlocked): Likewise. - * libio/iofputws_u.c (fputws_unlocked): Likewise. - * libio/iofread_u.c (fread_unlocked): Likewise. - * libio/iofwrite_u.c (fwrite_unlocked): Likewise. - * libio/iovswscanf.c (vswscanf): Likewise. - * libio/putwc_u.c (putwc_unlocked): Likewise. - * libio/iofputs.c: Use libc_hidden_def instead of INTDEF. - * malloc/malloc.c: Redirect fwrite calls to _IO_fwrite. - * malloc/mtrace.c: Likewise. +2001-05-26 Ulrich Drepper <drepper@redhat.com> - * sunrpc/clnt_perr.c: Remove fputs macro. - * sunrpc/svc_simple.c: Likewise. - * sunrpc/svc_tcp.c: Likewise. - * sunrpc/svc_udp.c: Likewise. - * sunrpc/xdr_rec.c: Likewise. - * sunrpc/xdr_ref.c: Likewise. - - * iconv/Makefile: Add CPPFLAGS definitions with -DNOT_in_libc for - iconv_prog, linereader, and charmap-dir. - * locale/Makefile: Likewise for locale and charmap-dir. - * malloc/Makefile: Likewise for memusagestat. - * nscd/Makefile: Likewise for nscd, nscd_conf, and dbg_log. - * sunrpc/Makefile: Likewise for rpc_main. - * sysdeps/unix/sysv/linux/Makefile: Likewise for lddlibc4. - * timezone/Makefile: Likewise for zic. - - * stdio-common/perror.c: Avoid multiple calls to fileno_unlocked. - - * elf/dl-addr.c (_dl_addr): Add libc_hidden_def. - * elf/dl-close.c (_dl_close): Add libc_hidden_def. - * elf/dl-open.c (_dl_open): Add libc_hidden_def. - * include/dlfcn.h: Add libc_hidden_proto for _dl_addr, _dl_open, - _dl_close. - - * include/libio.h: Add libc_hidden_proto for __underflow, __wuflow, - __wunderflow. - * libio/genops.c (__underflow): Add libc_hidden_def. - * libio/wgenops.c (__wuflow): Likewise. - (__wunderflow): Likewise. - - * include/obstack.h: Add libc_hidden_proto for _obstack_newchunk. - * malloc/obstack.c (_obstack_newchunk): Add libc_hidden_def. - - * include/stdio.h: Add libc_hidden_proto for __vfscanf. - * stdio-common/vfscanf.c (__vfscanf): Add libc_hidden_def. - - * include/string.h: Add libc_hidden_proto for __strverscmp. - * string/strverscmp.c (__strverscmp): Add libc_hidden_def. - - * include/unistd.h: Add libc_hidden_proto for __sysconf. - * sysdeps/generic/sysconf.c (__sysconf): Add libc_hidden_def. - * sysdeps/posix/sysconf.c: Likewise. - * sysdeps/unix/sysv/irix4/sysconf.c: Likewise. - * sysdeps/unix/sysv/sysv4/sysconf.c: Likewise. - - * include/wctype.h: Use libc_hidden_proto for __iswctype, __iswalnum_l, - __iswalpha_l, __iswblank_l, __iswcntrl_l, __iswdigit_l, __iswlower_l, - __iswgraph_l, __iswprint_l, __iswpunct_l, __iswspace_l, __iswupper_l, - __iswxdigit_l, __towlower_l, __towupper_l. - * wcsmbs/wcstype.c (__iswctype): Use libc_hidden_def. - * wcsmbs/wcfuncs_l.c: Use libc_hidden_def for all functions. - - * include/sys/wait.h: Add libc_hidden_proto for __xmknod. - * sysdeps/generic/xmknod.c (__xmknod): Add libc_hidden_def. - * sysdeps/mach/hurd/xmknod.c: Likewise. - * sysdeps/unix/xmknod.c: Likewise. - * sysdeps/unix/sysv/linux/xmknod.c: Likewise. - * sysdeps/unix/sysv/linux/alpha/xmknod.c: Likewise. - * sysdeps/unix/sysv/linux/mips/xmknod.c: Likewise. - - * sunrpc/svc.c: Add missing INTUSE for _authenticate. - -2002-08-03 Roland McGrath <roland@redhat.com> - - * include/sys/resource.h: Use libc_hidden_proto for getpriority, - setpriority. - * sysdeps/unix/sysv/linux/getpriority.c: Add libc_hidden_def. - * sysdeps/unix/sysv/irix4/getpriority.c: Likewise. - * sysdeps/unix/sysv/irix4/setpriority.c: Likewise. - * sysdeps/mach/hurd/setpriority.c: Likewise. - * sysdeps/mach/hurd/getpriority.c: Likewise. - * sysdeps/generic/setpriority.c: Likewise. - * sysdeps/generic/getpriority.c: Likewise. - - * include/mcheck.h: Use libc_hidden_proto for mcheck_check_all. - * malloc/mcheck.c: Add libc_hidden_def. - - * include/search.h: Use libc_hidden_proto for hcreate_r, hdestroy_r. - * misc/hsearch_r.c: Add libc_hidden_def. - - * include/fnmatch.h: Use libc_hidden_proto for fnmatch. - * posix/fnmatch.c: Add libc_hidden_weak. - - * include/unistd.h: Use libc_hidden_proto for _exit, alarm, confstr, - execl, execle, execlp, execvp, getpid, getsid. - * sysdeps/generic/alarm.c: Add libc_hidden_def. - * sysdeps/unix/alarm.c: Likewise. - * posix/confstr.c: Likewise. - * posix/execvp.c: Likewise. - * posix/execlp.c: Likewise. - * posix/execle.c: Likewise. - * posix/execl.c: Likewise. - * sysdeps/generic/getsid.c: Likewise. - * sysdeps/mach/hurd/getsid.c: Likewise. - * sysdeps/generic/getpid.c: Add libc_hidden_weak. - * sysdeps/mach/hurd/getpid.c: Likewise. - - * include/stdlib.h: Use libc_hidden_proto for ecvt_r, fcvt_r, - qecvt_r, qfcvt_r, lrand48_r. - * misc/efgcvt_r.c: Add libc_hidden_def. - - * include/wordexp.h: Use libc_hidden_proto for wordfree. - * sysdeps/generic/wordexp.c: Add libc_hidden_def. - - * include/langinfo.h: Use libc_hidden_proto for nl_langinfo. - * locale/nl_langinfo.c: Add libc_hidden_def. - - * include/glob.h: Use libc_hidden_proto for glob, globfree, globfree64. - * sysdeps/generic/glob.c: Add libc_hidden_def. - * sysdeps/generic/glob64.c: Likewise. - * sysdeps/wordsize-64/glob.c (globfree64): Add libc_hidden_weak. - - * locale/nl_langinfo.c: Use _NL_CURRENT_DATA. - - * elf/Makefile (CFLAGS-vismod2.c): New variable. - - * locale/setlocale.c (_nl_current_names): Variable moved ... - * locale/localename.c (_nl_current_names): ... here, new file. - Make it global, with attribute_hidden. - * locale/localeinfo.h: Declare it. - * locale/Makefile (aux): Add localename. - * locale/localename.c (__current_locale_name): New function. - * include/locale.h (__current_locale_name): Declare it. - * intl/dcigettext.c (guess_category_value): Use that instead of - calling setlocale. - - * locale/locale.h [__USE_GNU] (locale_t): New type alias of __locale_t. - [__USE_GNU] (newlocale, duplocale, freelocale, uselocale): New decls. - [__USE_GNU] (LC_GLOBAL_LOCALE): New macro. - * locale/newlocale.c: Add alias to __ name. - * locale/duplocale.c: Likewise. - * locale/freelocale.c: Likewise. - * locale/uselocale.c: New file. - * locale/Makefile (routines): Add it. - * locale/Versions (libc: GLIBC_2.3): New set. - Add newlocale, duplocale, freelocale, uselocale. - (libc: GLIBC_PRIVATE): Add __uselocale. - - * locale/localeinfo.h [SHARED] - (_NL_CURRENT_LOCALE): New macro, defined to fetch a tsd value. - (_NL_CURRENT_DATA): Define using that. - (_NL_CURRENT, _NL_CURRENT_WSTR, _NL_CURRENT_WORD): Define using that. - (_NL_CURRENT_DEFINE): Define to empty. - [! SHARED]: Decls of _nl_current_CATEGORY and _nl_current - conditionalized on this. - * locale/xlocale.c (NL_C_INTIIALIZER): New macro, - taking initializer of _nl_C_locobj. - [SHARED] (_nl_global_locale): New variable, using that initializer. - (_nl_C_locobj): Use new macro for initialzier. - * locale/setlocale.c [! SHARED] (_nl_current): Conditionalize on this. - [! SHARED] (CATEGORY_USED): New macro. - [SHARED] (CATEGORY_USED, _nl_C): New macros. - (setdata, setlocale): Use that macro instead of examining _nl_current. - (setdata): Set the slot in _nl_global_locale. - Conditionalize setting of _nl_current on [! SHARED]. - * locale/findlocale.c [SHARED] (_nl_C): Define as a macro instead of - declaration as an extern. - * locale/newlocale.c (__newlocale): Use _nl_C_locobj instead of _nl_C. - - * include/locale.h: Use libc_hidden_proto for setlocale. - * locale/setlocale.c: Add libc_hidden_def. - - * locale/setlocale.c (free_mem): Use _NL_CURRENT_DATA. - - * include/search.h: Use libc_hidden_proto for hsearch_r, lfind. - * misc/hsearch_r.c: Add libc_hidden_def. - * misc/lsearch.c: Likewise. - - * include/ttyent.h: Use libc_hidden_proto for getttyent, setttyent, - endttyent. - * misc/getttyent.c: Add libc_hidden_def. - - * include/mcheck.h: Use libc_hidden_proto for mcheck. - * malloc/mcheck.c: Add libc_hidden_def. - - * include/envz.h: Use libc_hidden_proto for envz_entry, enz_remove. - * include/argz.h: Use libc_hidden_proto for argz_delete. - * string/argz-delete.c: Add libc_hidden_def. - * string/envz.c: Likewise. Use <envz.h>, not "envz.h". - - * sysdeps/unix/sysv/linux/x86_64/clone.S (thread_start): Use - HIDDEN_JUMPTARGET for _exit. - * sysdeps/unix/sysv/linux/m68k/clone.S (thread_start): Likewise. - * sysdeps/unix/sysv/linux/i386/clone.S (thread_start): Likewise. - * sysdeps/unix/sysv/linux/powerpc/clone.S: Likewise. - * sysdeps/unix/_exit.S (_exit): Add libc_hidden_def. - - * include/libc-symbols.h: Fix [__ASSEMBLY__] -> [__ASSEMBLER__]. - [__ASSEMBLER__] (hidden_weak): Define using hidden_def, or to empty. - [__ASSEMBLER__] (HIDDEN_JUMPTARGET): New macro. - * sysdeps/unix/sysv/linux/i386/makecontext.S: Use it for exit. - - * include/stdlib.h: Use libc_hidden_proto for abort, - __strtof_internal, __strtod_internal, __strtold_internal, - __strtol_internal, __strtoll_internal, __strtoul_internal, - __strtoull_internal. __strtof_l_internal, __strtod_l_internal, - __strtold_l_internal, __strtol_l_internal, __strtoll_l_internal, - __strtoul_l_internal, __strtoull_l_internal. - * include/wchar.h: Use libc_hidden_proto for __wcstof_internal, - __wcstod_internal, __wcstold_internal, __wcstol_internal, - __wcstoll_internal, __wcstoul_internal, ____wcstof_l_internal, - ____wcstod_l_internal, ____wcstold_l_internal, ____wcstol_l_internal, - ____wcstoll_l_internal, ____wcstoul_l_internal, __wcscasecmp_l, - __wcsncasecmp_l. - * sysdeps/generic/abort.c: Add libc_hidden_def. - * stdlib/strtod.c: Likewise. - * sysdeps/generic/strtol.c: Likewise. - * sysdeps/wordsize-64/strtol.c: Likewise. - * sysdeps/wordsize-64/wcstol.c: Likewise. - * sysdeps/wordsize-64/wcstol_l.c: Likewise. - - * include/stdlib.h: Use libc_hidden_proto for qsort. - * stdlib/msort.c: Add libc_hidden_def. - - * include/utime.h: Use libc_hidden_proto for utime. - * sysdeps/generic/utime.c: Add libc_hidden_def. - * sysdeps/unix/utime.c: Likewise. - - * sysdeps/generic/utmp_file.c (LOCK_FILE): sigemptyset -> __sigemptyset - * sysdeps/posix/profil.c (__profil): sigfillset -> __sigfillset - * sysdeps/posix/sprofil.c (__sprofil): Likewise. - * shadow/lckpwdf.c (__lckpwdf): Likewise (both). - * sysdeps/posix/spawni.c (__spawni): sigismember -> __sigismember - - * include/signal.h: Use libc_hidden_proto for raise, sigemptyset, - sigfillset, sigismember, __sigpause, __libc_current_sigrtmin, - and __libc_current_sigrtmax. - * signal/sigismem.c: Add libc_hidden_def. - * signal/sigfillset.c: Likewise. - * signal/sigempty.c: Likewise. - * sysdeps/generic/sigpause.c (__sigpause): Likewise. - * sysdeps/posix/sigpause.c (__sigpause): Likewise. - * sysdeps/unix/bsd/osf/alpha/sigpause.S: Likewise. - * sysdeps/posix/raise.c: Likewise. - * sysdeps/generic/raise.c: Likewise. - -2002-08-03 Ulrich Drepper <drepper@redhat.com> - - * include/string.h: Use libc_hidden_proto for __stpcpy. - * sysdeps/alpha/stpcpy.S (__stpcpy): Add libc_hidden_def. - * sysdeps/alpha/alphaev67/stpcpy.S: Likewise. - * sysdeps/generic/stpcpy.c: Likewise. - * sysdeps/i386/stpcpy.S: Likewise. - * sysdeps/i386/i586/stpcpy.S: Likewise. - * sysdeps/powerpc/stpcpy.S: Likewise. - * sysdeps/sparc/sparc32/stpcpy.S: Likewise. - * sysdeps/sparc/sparc64/stpcpy.S: Likewise. - - * include/string.h: Use libc_hidden_proto for __strcasecmp_l, - __strncasecmp_l, __strdup, __strndup, __strerror_r. - * sysdeps/generic/strcasecmp_l.c (__strcasecmp_l): Add - libc_hidden_def. - * string/strdup.c (__strdup): Likewise. - * string/strndup.c (__strndup): Likewise. - * sysdeps/generic/_strerror.c (__strerror_r): Likewise. - * sysdeps/generic/strncase_l.c (__strncasecmp_l): Likewise. - -2002-08-03 Jakub Jelinek <jakub@redhat.com> - - * include/libio.h: New file. - * libio/libioP.h (__overflow, __woverflow): Remove libc_hidden_proto. - * libio/iolibio.h: #include <libio.h>, not "libio.h". - * sysdeps/generic/morecore.c (__sbrk): Add libc_hidden_proto. - * sysdeps/unix/bsd/syscalls.list: Remove all __GI_* aliases. - * sysdeps/unix/common/syscalls.list: Likewise. - * sysdeps/unix/inet/syscalls.list: Likewise. - * sysdeps/unix/sysv/irix4/syscalls.list: Likewise. - * sysdeps/unix/sysv/linux/alpha/syscalls.list: Likewise. - * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise. - * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise. - * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise. - * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise. - * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise. - * sysdeps/unix/sysv/linux/syscalls.list: Likewise. - * sysdeps/unix/sysv/sysv4/solaris2/syscalls.list: Likewise. - * sysdeps/unix/syscalls.list: Likewise. - -2002-08-03 Jakub Jelinek <jakub@redhat.com> - Ulrich Drepper <drepper@redhat.com> - - * malloc/malloc.c (public_cALLOc): Only divide if at least one of - the arguments is big enough to cause an overflow. - -2002-08-03 Ulrich Drepper <drepper@redhat.com> - - * assert/assert.c: Use hidden_def not INTDEF. - -2002-08-03 Jakub Jelinek <jakub@redhat.com> - - * include/libc-symbols.h: Optimize if HAVE_BROKEN_ALIAS_ATTRIBUTE is - not defined. + * sysdeps/ia64/fpu/libm-test-ulps: Add deltas for tanh(-0.7). -2002-08-03 Roland McGrath <roland@redhat.com> - - * include/sys/syslog.h: Use libc_hidden_proto for syslog, vsyslog. - * include/err.h: Use libc_hidden_proto for warn, warnx, vwarn, vwarn, - verr, verrx. - * include/stdlib.h: Use libc_hidden_proto for exit, getenv, bsearch. - * misc/syslog.c: Add libc_hidden_def. - * misc/err.c: Likewise. - * stdlib/exit.c: Likewise. - * stdlib/bsearch.c: Likewise. - * sysdeps/generic/getenv.c: Likewise. - - * include/libc-symbols.h (hidden_weak): Define it for [__ASSEMBLER__]. - - * sysdeps/unix/make-syscalls.sh: Generate libc_hidden_def or - libc_hidden_weak for every system call symbol defined. - - * include/time.h: Use libc_hidden_proto for time, asctime, mktime, - timelocal, localtime, strftime. - * time/asctime.c: Add libc_hidden_def. - * time/mktime.c: Likewise. - * time/localtime.c: Likewise. - * time/strftime.c: Likewise. - * time/strptime.c: Likewise. - * sysdeps/generic/time.c: Likewise. - * sysdeps/unix/time.c: Likewise. - * sysdeps/unix/sysv/i386/time.S: Likewise. - * sysdeps/unix/sysv/linux/x86_64/time.S: Likewise. - - * include/arpa/inet.h: Use libc_hidden_proto for inet_ntop, inet_pton. - inet_makeaddr, inet_netof, inet_addr, __inet_addr. - * resolv/inet_ntop.c: Likewise. - * resolv/inet_pton.c: Likewise. - * inet/inet_mkadr.c: Add libc_hidden_def. - * inet/inet_netof.c: Likewise. - * resolv/inet_addr.c: Likewise. - - * include/libc-symbols.h: Remove `defined HAVE_BROKEN_ALIAS_ATTRIBUTE' - clauses from conditionals for now. Will have to be fixed later - for older compilers. - - * sysdeps/generic/mempcpy.c (__mempcpy): #undef it before defn. - -2002-08-02 Ulrich Drepper <drepper@redhat.com> - - * configure.in (HAVE_BROKEN_ALIAS_ATTRIBUTE): Add check for - broken alias attribute handling. - * config.h.in (HAVE_BROKEN_ALIAS_ATTRIBUTE): Add. - -2002-08-02 Roland McGrath <roland@frob.com> - - * elf/Makefile ($(objpfx)interp.os): Depend on config.make, - since it sets the variables we use in a -D switch. - -2002-08-02 Roland McGrath <roland@redhat.com> - - * posix/bits/posix1_lim.h (SSIZE_MAX): Define to LONG_MAX, not INT_MAX. - On 32-bit platforms they are the same; on 64-bit platforms ssize_t - matches long int, not int. - - * locale/localeinfo.h (_NL_CURRENT_DATA): New macro. - * wcsmbs/wcsmbsload.h (update_conversion_ptrs): Use it. - * locale/lc-ctype.c (_nl_postload_ctype): Likewise. - * wctype/wctrans.c (wctrans): Likewise. - * wctype/wctype.c (__wctype): Likewise. - * intl/loadmsgcat.c (_nl_init_domain_conv): Use _NL_CURRENT. - -2002-08-02 Ulrich Drepper <drepper@redhat.com> - - * assert/assert.c (__assert_fail): Fix typo in comment. - - * include/rpc/rpc.h: Declare RPC_VARS tsd as extern. - * sunrpc/rpc_thread.c: Define it without static. - * sunrpc/Versions [libc] (GLIBC_PRIVATE): Export __libc_tsd_RPC_VARS. - -2002-08-02 Jakub Jelinek <jakub@redhat.com> - - * assert/assert.c (__assert_fail): Remove undef. - Replace INTDEF with libc_hidden_def. - * assert/__assert.c (__assert): Remove INTUSE. - * elf/dl-minimal.c (__assert_fail): Replace INTDEF with - libc_hidden_weak. - * include/libc-symbols.h (hidden_proto, hidden_def, hidden_weak, - hidden_ver, libc_hidden_proto, libc_hidden_def, libc_hidden_weak, - libc_hidden_ver, rtld_hidden_proto, rtld_hidden_def, rtld_hidden_weak, - rltd_hidden_ver, libm_hidden_proto, libm_hidden_def, libm_hidden_weak, - libm_hiden_ver): Define. - * include/assert.h (__assert_fail_internal): Remove. - (__assert_fail): Add prototype. Add hidden_proto. - * include/libc-internal.h (__libc_freeres, __profile_frequency): Add - libc_hidden_proto. - * include/wchar.h (__mbrtowc_internal, __mbrlen_internal): Remove. - (__mbrtowc, __mbrlen): Use libc_hidden_proto. Remove macros. - * include/string.h (__mempcpy, __stpncpy, __rawmemchr, __strcasecmp): - Add libc_hidden_proto. - * include/fcntl.h (__open64, __libc_open, __libc_fcntl, __open, - __fcntl): Add libc_hidden_proto. Remove macros. - (__open_internal, __fcntl_internal): Remove. - * libio/iofdopen.c (_IO_fcntl): Remove INTUSE from __fcntl. - * malloc/set-freeres.c (__libc_freeres): Add libc_hidden_def. - * nss/nsswitch.h (__nss_database_lookup, __nss_next): Add - libc_hiden_proto. - * nss/nsswitch.c (__nss_database_lookup, __nss_next): Add - libc_hidden_def. - * sysdeps/generic/mempcpy.c (__mempcpy): Remove undef. - Add libc_hidden_def. - * sysdeps/generic/open64.c (__open64): Add libc_hidden_def. - * sysdeps/generic/open.c (__open): Remove undef. - Add libc_hidden_def. Remove INTDEF. - * sysdeps/generic/fcntl.c (__fcntl): Remove undef. - Add libc_hidden_def. - * sysdeps/mach/hurd/fcntl.c (__fcntl): Likewise. - * sysdeps/i386/i586/mempcpy.S (__mempcpy): Add libc_hidden_def. - * sysdeps/i386/i686/mempcpy.S (__mempcpy): Likewise. - * sysdeps/mach/hurd/fcntl.c (__libc_fcntl, __fcntl): Remove undef. - (__fcntl): Remove INTDEF2. Add libc_hidden_weak. - (__libc_fcntl): Add libc_hidden_def. - * sysdeps/mach/hurd/open.c (__libc_open, __open): Remove undef. - (__open): Remove INTDEF2. Add libc_hidden_weak. - (__libc_open): Add libc_hidden_def. - * sysdeps/posix/open64.c (__open64): Add libc_hidden_weak. - * sysdeps/standalone/open.c (__open): Add libc_hidden_def. - * sysdeps/unix/sysv/aix/fcntl.c (__libc_fcntl, __fcntl): Remove undef. - Add libc_hidden_def. - * sysdeps/unix/sysv/aix/open.c (__libc_open, __open): Remove undef. - Add libc_hidden_def. - * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl, __fcntl): Remove - undef. - (__fcntl): Remove INTDEF2. Add libc_hidden_weak. - (__libc_fcntl): Add libc_hidden_def. - * sysdeps/unix/sysv/linux/syscalls.list (__fcntl_internal, - __getpgid_internal, __chown_internal): Remove. - (__GI___fcntl, __GI___libc_fcntl, __GI___getpgid, __GI___pipe, - __GI___sched_setscheduler, __GI___select, __GI___setpgid, - __GI___chown): Add. - * sysdeps/unix/syscalls.list (__close_internal, __dup2_internal, - __getpid_internal, __open_internal, __write_internal): Remove. - (__GI___fcntl, __GI___libc_fcntl, __GI___open, __GI___libc_open, - __GI___chown, __GI___close, __GI___dup2, __GI___getpid, - __GI___libc_open, __GI___open, __GI___read, __GI___libc_read, - __GI___select, __GI___statfs, __GI___write, __GI___libc_write): Add. - * wcsmbs/mbrlen.c (__mbrlen): Remove undef. - Replace INTDEF with libc_hidden_def. - * wcsmbs/mbrtowc.c (__mbrtowc): Likewise. - * catgets/catgetsinfo.h (__open_catalog): Add libc_hidden_proto. - * catgets/open_catalog.c (__open_catalog): Add libc_hidden_def. - * elf/dl-profile.c (__profile_frequency): Add libc_hidden_proto. - * include/rpc/rpc.h (__rpc_thread_svc_fdset, __rpc_thread_createerr): - Add libc_hidden_proto. - * include/sys/poll.h (__poll): Add libc_hidden_proto. - * include/sys/select.h (__select): Likewise. - * include/sys/socket.h (__send): Likewise. - * include/sys/statfs.h (__statfs): Likewise. - * include/unistd.h (__pwrite64, __libc_read, __pipe, __chown, __dup2, - __getpid, __getpgid, __setpgid, __close, __read, __write, - __getpagesize, __sbrk): Likewise. - (__chown_internal, __dup2_internal, __getpid_internal, - __getpgid_internal, __close_internal, __write_internal, - __getpagesize_internal): Remove. - (__close, __dup2, __getpagesize, __getpgid, __getpid, __libc_write): - Remove macros. - * include/printf.h (__printf_fp): Add libc_hidden_proto. - * include/sched.h (__sched_setscheduler): Likewise. - * include/resolv.h (__res_ninit, __res_randomid): Likewise. - * include/stdlib.h (__secure_getenv): Likewise. - * include/signal.h (__sigaction, __sigsuspend): Likewise. - * inet/getaliasent_r.c (NSS_attribute_hidden): Remove. - * inet/getaliasname_r.c (NSS_attribute_hidden): Remove. - * inet/getnetbyad_r.c (NSS_attribute_hidden): Remove. - * inet/getnetbynm_r.c (NSS_attribute_hidden): Remove. - * inet/getnetent_r.c (NSS_attribute_hidden): Remove. - * inet/getproto_r.c (NSS_attribute_hidden): Remove. - * inet/getprtent_r.c (NSS_attribute_hidden): Remove. - * inet/getprtname_r.c (NSS_attribute_hidden): Remove. - * inet/getrpcbyname_r.c (NSS_attribute_hidden): Remove. - * inet/getrpcbynumber_r.c (NSS_attribute_hidden): Remove. - * inet/getrpcent_r.c (NSS_attribute_hidden): Remove. - * inet/getservent_r.c (NSS_attribute_hidden): Remove. - * inet/getsrvbynm_r.c (NSS_attribute_hidden): Remove. - * inet/getsrvbypt_r.c (NSS_attribute_hidden): Remove. - * inet/gethstbyad_r.c (DB_LOOKUP_FCT): Remove INTUSE. - * inet/gethstbynm2_r.c (DB_LOOKUP_FCT): Likewise. - * inet/gethstbynm_r.c (DB_LOOKUP_FCT): Likewise. - * inet/gethstent_r.c (DB_LOOKUP_FCT): Likewise. - * libio/genops.c (__overflow): Add libc_hidden_def. - * libio/iovdprintf.c: Remove libio.h include. - * libio/libioP.h (libc_hidden_proto, libc_hidden_def, - libc_hidden_weak): Define to nothing if not defined. - (__overflow, __woverflow): Add libc_hidden_proto. - * libio/wgenops.c (__woverflow): Add libc_hidden_def. - * nss/getXXent_r.c (NSS_attribute_hidden): Remove. - (DB_LOOKUP_FCT): Add libc_hidden_proto. - * nss/getXXbyYY_r.c (NSS_attribute_hidden): Remove. - (DB_LOOKUP_FCT): Add libc_hidden_proto. - * nss/XXX-lookup.c (DB_LOOKUP_FCT): Add libc_hidden_proto - and libc_hidden_def. - * nss/hosts-lookup.c (__nss_hosts_lookup): Remove INTDEF. - * posix/bsd-getpgrp.c (__getpgid_internal): Remove. - (__getpgid): Add libc_hidden_proto. - (__bsd_getpgrp): Remove INTUSE. - * resolv/res_init.c (__res_ninit, __res_randomid): Add - libc_hidden_def. - * shadow/getspent_r.c (NSS_attribute_hidden): Remove. - * shadow/getspnam_r.c (NSS_attribute_hidden): Remove. - * stdio-common/printf_fp.c (__printf_fp): Add libc_hidden_def. - * stdlib/strfmon.c (__printf_fp): Add libc_hidden_proto. - * stdlib/secure-getenv.c (__secure_getenv): Add libc_hidden_def. - * sunrpc/rpc_thread.c (__rpc_thread_svc_fdset, - __rpc_thread_createerr): Add libc_hidden_def. - * sysdeps/alpha/alphaev67/rawmemchr.S (__rawmemchr): Add - libc_hidden_def. - * sysdeps/alpha/alphaev67/stpncpy.S (__stpncpy): Likewise. - * sysdeps/alpha/rawmemchr.S (__rawmemchr): Likewise. - * sysdeps/alpha/stpncpy.S (__stpncpy): Likewise. - * sysdeps/generic/chown.c (__chown): Likewise. - * sysdeps/generic/close.c (__close): Likewise. - * sysdeps/generic/dup2.c (__dup2): Likewise. - * sysdeps/generic/pipe.c (__pipe): Likewise. - * sysdeps/generic/prof-freq.c (__profile_frequency): Likewise. - * sysdeps/generic/pwrite64.c (__pwrite64): Likewise. - * sysdeps/generic/rawmemchr.c (__rawmemchr): Likewise. - * sysdeps/generic/read.c (__libc_read): Likewise. - (__read): Add libc_hidden_weak. - * sysdeps/generic/sbrk.c (__sbrk): Add libc_hidden_def. - * sysdeps/generic/sched_sets.c (__sched_setscheduler): Likewise. - * sysdeps/generic/select.c (__select): Likewise. - * sysdeps/generic/send.c (__send): Likewise. - * sysdeps/generic/setpgid.c (__setpgid): Likewise. - * sysdeps/generic/sigaction.c (__sigaction): Likewise. - * sysdeps/generic/sigsuspend.c (__sigsuspend): Likewise. - * sysdeps/generic/statfs.c (__statfs): Likewise. - * sysdeps/generic/stpncpy.c (__stpncpy): Likewise. - * sysdeps/generic/strcasecmp.c (__strcasecmp): Likewise. - * sysdeps/generic/getpagesize.c (__getpagesize): Likewise. - Remove undef and INTDEF. - * sysdeps/generic/getpgid.c (__getpgid): Likewise. - * sysdeps/generic/getpid.c (__getpid): Likewise. - * sysdeps/generic/write.c (__libc_write): Likewise. - (__write): Add libc_hidden_weak. Remove undef and INTDEF. - * sysdeps/i386/rawmemchr.S (__rawmemchr): Add libc_hidden_def. - * sysdeps/i386/stpncpy.S (__stpncpy): Likewise. - * sysdeps/m68k/rawmemchr.S (__rawmemchr): Likewise. - * sysdeps/mach/hurd/chown.c (__chown): Likewise. Remove INTDEF. - * sysdeps/mach/hurd/close.c (__close): Add libc_hidden_def. - Remove undef and INTDEF. - * sysdeps/mach/hurd/dup2.c (__dup2): Likewise. - * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise. - * sysdeps/mach/hurd/getpid.c (__getpid): Likewise. - * sysdeps/mach/getpagesize.c (__getpagesize): Likewise. - * sysdeps/mach/hurd/write.c (__libc_write): Likewise. - (__write): Add libc_hidden_weak. Remove undef and INTDEF. - * sysdeps/mach/hurd/pipe.c: Include unistd.h. - (__pipe): Add libc_hidden_def. - * sysdeps/mach/hurd/dl-sysdep.c (__libc_read, __libc_write): Add - libc_hidden_weak. - * sysdeps/mach/hurd/poll.c (__poll): Add libc_hidden_def. - * sysdeps/mach/hurd/profil.c (__profile_frequency): Likewise. - * sysdeps/mach/hurd/read.c (__libc_read): Likewise. - (__read): Add libc_hidden_weak. - * sysdeps/mach/hurd/pwrite64.c (__pwrite64): Likewise. - (__libc_pwrite64): Add libc_hidden_def. - * sysdeps/mach/hurd/sbrk.c (__sbrk): Likewise. - * sysdeps/mach/hurd/select.c (__select): Likewise. - * sysdeps/mach/hurd/send.c (__send): Likewise. - * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise. - * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise. - * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise. - * sysdeps/mach/hurd/statfs.c (__statfs): Likewise. - * sysdeps/posix/dup2.c: Likewise. - Remove undef and INTDEF. - * sysdeps/posix/getpagesize.c (__getpagesize): Likewise. - * sysdeps/posix/pwrite64.c (__libc_pwrite64): Add libc_hidden_def. - (__pwrite64): Add libc_hidden_weak. - * sysdeps/posix/sigsuspend.c (__sigsuspend): Add libc_hidden_def. - * sysdeps/sparc/sparc64/rawmemchr.S (__rawmemchr): Likewise. - * sysdeps/sparc/sparc64/stpncpy.S (__stpncpy): Likewise. - * sysdeps/standalone/close.c (__close): Likewise. - * sysdeps/standalone/write.c (__libc_write): Likewise. - (__write): Add libc_hidden_weak. - * sysdeps/standalone/read.c (__read): Likewise. - (__libc_read): Add libc_hidden_def. - * sysdeps/unix/grantpt.c (grantpt): Remove INTUSE. - * sysdeps/unix/bsd/m68k/pipe.S (__pipe): Add libc_hidden_def. - * sysdeps/unix/bsd/osf/alpha/pipe.S (__pipe): Likewise. - * sysdeps/unix/bsd/vax/pipe.S (__pipe): Likewise. - * sysdeps/unix/bsd/syscalls.list (__GI___getpagesize): Likewise. - * sysdeps/unix/bsd/poll.c (__poll): Likewise. - * sysdeps/unix/bsd/sigaction.c (__sigaction): Likewise. - * sysdeps/unix/bsd/sigsuspend.c (__sigsuspend): Likewise. - * sysdeps/unix/common/syscalls.list (__GI___getpgid, __GI___setpgid, - __GI___sigaction): Add. - * sysdeps/unix/i386/pipe.S (__pipe): Add libc_hidden_def. - * sysdeps/unix/inet/syscalls.list (__GI___send): Add. - * sysdeps/unix/mips/pipe.S (__pipe): Add libc_hidden_def. - * sysdeps/unix/sparc/pipe.S (__pipe): Likewise. - * sysdeps/unix/sysv/irix4/syscalls.list (__GI___getpgid, - __GI___setpgid): Add. - * sysdeps/unix/sysv/aix/chown.c (__chown): Add libc_hidden_def. - Remove undef and INTDEF. - * sysdeps/unix/sysv/aix/getpgid.c (__getpgid): Likewise. - * sysdeps/unix/sysv/aix/write.c (__write, __libc_write): Likewise. - * sysdeps/unix/sysv/aix/close.c (__close): Add libc_hidden_def. - * sysdeps/unix/sysv/aix/getpid.c (__getpid): Likewise. - * sysdeps/unix/sysv/aix/pipe.c (__pipe): Likewise. - * sysdeps/unix/sysv/aix/read.c (__read, __libc_read): Likewise. - * sysdeps/unix/sysv/aix/poll.c (__poll): Likewise. - * sysdeps/unix/sysv/aix/sbrk.c (__sbrk): Likewise. - * sysdeps/unix/sysv/aix/sigaction.c (__sigaction): Likewise. - * sysdeps/unix/sysv/aix/sigsuspend.c (__sigsuspend): Likewise. - * sysdeps/unix/sysv/aix/statfs.c (__statfs): Likewise. - * sysdeps/unix/sysv/aix/select.c (__select): Likewise. - * sysdeps/unix/sysv/aix/setpgid.c (__setpgid): Likewise. - * sysdeps/unix/sysv/linux/alpha/pipe.S (__pipe): Likewise. - * sysdeps/unix/sysv/linux/alpha/syscalls.list (__GI___pwrite64, - __GI___statfs, __GI___send): Add. - * sysdeps/unix/sysv/linux/alpha/select.S (__select): Add - libc_hidden_ver resp. libc_hidden_def. - * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend): Add - libc_hidden_def. - * sysdeps/unix/sysv/linux/ia64/getpagesize.c (__getpagesize): - Likewise. Remove undef and INTDEF. - * sysdeps/unix/sysv/linux/ia64/pipe.S (__pipe): Add libc_hidden_def. - * sysdeps/unix/sysv/linux/ia64/syscalls.list (__GI___pwrite64, - __GI___statfs, __GI___send): Add. - * sysdeps/unix/sysv/linux/ia64/sigaction.c (__sigaction): Add - libc_hidden_def. - * sysdeps/unix/sysv/linux/ia64/sigsuspend.c (__sigsuspend): - Likewise. - * sysdeps/unix/sysv/linux/sh/pipe.S (__pipe): Likewise. - * sysdeps/unix/sysv/linux/s390/s390-32/chown.c (__chown): Add - libc_hidden_ver resp. libc_hidden_def. - * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (__GI___pwrite64, - __GI___send): Add. - * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c (__sigaction): - Add libc_hidden_weak. - * sysdeps/unix/sysv/linux/s390/s390-64/sigsuspend.c (__sigsuspend): - Add libc_hidden_def. - * sysdeps/unix/sysv/linux/hppa/syscalls.list (__GI___send): Add. - * sysdeps/unix/sysv/linux/arm/sigaction.c (__sigaction): Add - libc_hidden_weak. - * sysdeps/unix/sysv/linux/i386/chown.c (__chown): Add libc_hidden_ver - resp. libc_hidden_def. - * sysdeps/unix/sysv/linux/i386/sigaction.c (__sigaction): Add - libc_hidden_weak. - * sysdeps/unix/sysv/linux/m68k/chown.c (__chown): Likewise. Remove - INTDEF. - * sysdeps/unix/sysv/linux/m68k/getpagesize.c (__getpagesize): - Likewise. Remove undef. - * sysdeps/unix/sysv/linux/mips/pwrite64.c (__pwrite64): Add - libc_hidden_weak. - * sysdeps/unix/sysv/linux/mips/syscalls.list (__GI___send): Add. - * sysdeps/unix/sysv/linux/mips/sigaction.c (__sigaction): Add - libc_hidden_weak. - * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown): Add - libc_hidden_def. - * sysdeps/unix/sysv/linux/powerpc/pwrite64.c (__pwrite64): Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c (__getpagesize): - Likewise. Remove undef and INTDEF. - * sysdeps/unix/sysv/linux/sparc/sparc32/pipe.S (__pipe): Add - libc_hidden_def. - * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c (__sigaction): Add - libc_hidden_weak. - * sysdeps/unix/sysv/linux/sparc/sparc64/pipe.S (__pipe): Add - libc_hidden_def. - * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list - (__GI___pwrite64, __GI___statfs, __GI___select, __GI___send): Add. - * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c (__sigaction): Add - libc_hidden_weak. - * sysdeps/unix/sysv/linux/sparc/sparc64/sigsuspend.c (__sigsuspend): - Add libc_hidden_def. - * sysdeps/unix/sysv/linux/x86_64/syscalls.list (__GI___pwrite64, - __GI___statfs): Add. - * sysdeps/unix/sysv/linux/x86_64/send.c (__send): Add - libc_hidden_weak. - * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__sigaction): Likewise. - * sysdeps/unix/sysv/linux/getpagesize.c: Add libc_hidden_def. - Remove undef and INTDEF. - * sysdeps/unix/sysv/linux/poll.c (__poll): Add libc_hidden_def. - * sysdeps/unix/sysv/linux/pwrite64.c (__pwrite64): Add - libc_hidden_def. - * sysdeps/unix/sysv/linux/send.S (__send): Likewise. - * sysdeps/unix/sysv/linux/sigaction.c (__sigaction): Add - libc_hidden_weak. - * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Add - libc_hidden_def. - * sysdeps/unix/sysv/sco3.2.4/__setpgid.c (__setpgid): Likewise. - * sysdeps/unix/sysv/sco3.2.4/sigaction.S (__sigaction): Likewise. - * sysdeps/unix/sysv/sysv4/solaris2/syscalls.list (__GI___sigaction): - Add. - * sysdeps/unix/sysv/sysv4/__getpgid.c (__getpgid): Add - libc_hidden_def. Remove undef and INTDEF. - * sysdeps/unix/sysv/sysv4/getpgid.c (__getpgid): Likewise. - * sysdeps/unix/sysv/sysv4/__setpgid.c (__setpgid): Add - libc_hidden_def. - * sysdeps/unix/sysv/sysv4/setpgid.c (__setpgid): Likewise. - * sysdeps/unix/sysv/sysv4/sigaction.c (__sigaction): Likewise. - * sysdeps/unix/sysv/sigaction.c (__sigaction): Likewise. - * sysdeps/unix/getpagesize.c (__getpagesize): Add libc_hidden_def. - Remove undef and INTDEF. - * configure.in (HAVE_BROKEN_VISIBILITY_ATTRIBUTE): Add check for - broken visibility attribute handling. - * config.h.in (HAVE_BROKEN_VISIBILITY_ATTRIBUTE): Add. - -2002-08-02 Ulrich Drepper <drepper@redhat.com> - - * locale/iso-639.def: Add entries for Venda and Nothern Sotho. - Reported by Dwayne Bailey <dwayne@obsidian.co.za>. - - * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Adapt - previous patch. - -2002-06-29 Todd Fries <todd@openbsd.org> - - * resolv/gethnamaddr.c (gethostbyaddr): Try ip6.int if ip6.arpa fails. - -2002-08-02 Jakub Jelinek <jakub@redhat.com> - - * include/errno.h: Don't include tls.h if _ISOMAC is defined. - -2002-07-30 Roland McGrath <roland@redhat.com> - - * resolv/resolv.h (_res): Define macro unconditionally. - [! _LIBC_REENTRANT] (_res): Move this conditional decl to ... - * include/resolv.h: ... here. - [USE_TLS && HAVE___THREAD] (_res): #undef it and declare - as a __thread variable. - * resolv/res_libc.c [USE_TLS && HAVE___THREAD] (_res): Define it as - a __thread variable instead of a global. - * resolv/res_data.c [_LIBC]: Don't #undef _res. - - * include/errno.h: Include <tls.h> to make sure USE_TLS defined by the - time we test it. - - * intl/loadmsgcat.c [__GNUC__]: #undef alloca before defining it. - - * malloc/malloc.c [_LIBC]: Include <string.h> instead of using local - decls of memset and memcpy. - - * sysdeps/generic/sysdep.h (END): Conditionalize on [__ASSEMBLER__]. - * sysdeps/unix/sysv/linux/i386/sysdep.h (L): Likewise. - - * elf/dl-load.c (_dl_map_object_from_fd): Comment fix. - - * sysdeps/generic/bits/libc-tsd.h [USE_TLS && HAVE___THREAD] - (__libc_tsd_define): Define using __thread. - - * sunrpc/rpc_thread.c: Use __libc_tsd_define. - (__rpc_thread_variables): Use __libc_tsd_get. - (__rpc_thread_destroy): Use __libc_tsd_get instead of calling - __rpc_thread_variables, which might allocate what we're about to free. - - * inet/herrno.c [USE_TLS && HAVE___THREAD] (h_errno): Define as a - thread-local variable. - * resolv/netdb.h (h_errno): Define macro unconditionally. - [_LIBC] (__set_h_errno): Macro moved to ... - * include/netdb.h: ... here. - [USE_TLS && HAVE___THREAD] (h_errno): Declare __thread variable. - [USE_TLS && HAVE___THREAD] (__set_h_errno): Define using that. - [! _LIBC_REENTRANT]: #undef h_errno here. - - * include/errno.h: Protect from multiple inclusion. - - * misc/sys/select.h (__NFDBITS, __FDELT, __FDMASK): #undef these - before defining them, since Linux's <linux/posix_types.h> might have - defined them. - -2002-08-02 Jakub Jelinek <jakub@redhat.com> - - * malloc/malloc.c (public_cALLOc): Check for overflow on - multiplication. - * sunrpc/xdr_array.c (xdr_array): Likewise. - * sunrpc/rpc/types.h (mem_free): Add comment. - Patch by Solar Designer <solar@openwall.com>. +2001-05-24 Ulrich Drepper <drepper@redhat.com> -2002-08-02 Jakub Jelinek <jakub@redhat.com> + * iconvdata/Makefile: Add rules for CP10007. + * iconvdata/gconv-modules: Add entries for CP10007 ad MacCyrillic. + * iconvdata/cp10007.c: New file. + * iconvdata/tst-tables.sh: Add CP10007. - * sysdeps/unix/sysv/linux/kernel-features.h - (__ASSUME_SET_THREAD_AREA_SYSCALL): Define. +2001-05-23 kaz Kojima <kkojima@rr.iij4u.or.jp> -2002-08-01 Roland McGrath <roland@redhat.com> + * sysdeps/sh/dl-machine.h (_dl_runtime_resolve): Handle newer PLT. + (_dl_runtime_profile): Likewise.. - * libio/fileops.c (_IO_file_sync_mmap): New function. - (_IO_file_jumps_mmap): Use it. - (_IO_file_underflow_mmap): Rewritten. If after EOF or fflush, - repeat the stat check and resize the mapped buffer as necessary. +2001-05-23 Thorsten Kukuk <kukuk@suse.de> -2002-07-31 Roland McGrath <roland@redhat.com> + * sysdeps/posix/getaddrinfo.c: Support for AF_UNIX commented out. + * posix/tst-getaddrinfo.c: Remove AF_UNIX test. - * libio/fileops.c (decide_maybe_mmap): New static function. - Code taken from libio/iofopen.c:__fopen_maybe_mmap to try to - mmap the file contents. Then switch the jump tables to the mmap - tables if it worked, or the vanilla file tables if not. - (_IO_file_underflow_maybe_mmap): New function. - (_IO_file_seekoff_maybe_mmap): New function. - (_IO_file_xsgetn_maybe_mmap): New function. - (_IO_file_jumps_maybe_mmap): New variable, jump table using those. - * libio/libioP.h: Declare those. - * libio/wfileops.c (_IO_wfile_underflow_maybe_mmap): New function. - (_IO_wfile_jumps_maybe_mmap): New variable, jump table using that. - * libio/iofopen.c (__fopen_maybe_mmap): Don't try to mmap here. - If the stream is read-only, set its jump tables to those new ones. - * libio/iofdopen.c (_IO_new_fdopen) [_G_HAVE_MMAP]: Set the initial - jump tables to the maybe_mmap ones, and don't call __fopen_maybe_mmap. - We need the tables set before _IO_file_attach. +2001-05-19 H.J. Lu <hjl@gnu.org> - * libio/tst-mmap-eofsync.c: New file. - * libio/tst-mmap-fflushsync.c: New file. - * libio/bug-mmap-fflush.c: New file. - * libio/tst-mmap2-eofsync.c: New file. - * libio/Makefile (tests): Add them. + * elf/dl-deps.c (_dl_map_object_deps): Pass objname and + errstring of the failed DSO to _dl_signal_error (). - * libio/wfileops.c (_IO_wfile_underflow_mmap): Don't set EOF bit when - _IO_file_underflow_mmap fails, it already set the appropriate bit. +2001-05-23 Ulrich Drepper <drepper@redhat.com> -2002-07-31 Jeff Bailey <jbailey@gnu.org> + * iconvdata/gconv-modules: Add more aliases to enable use in + locale names. - * libio/stdio.h (sys_errlist, sys_nerr, _sys_errlist, _sys_nerr): - Declarations moved to <bits/sys_errlist.h>. Include that file. - * libio/Makefile (headers): Add bits/sys_errlist.h to the list. - * sysdeps/generic/bits/sys_errlist.h: New file. This does *not* - declare sys_errlist and sys_nerr. - * sysdeps/unix/sysv/linux/bits/sys_errlist.h: New file. Does - provide declarations. +2001-05-23 Andreas Jaeger <aj@suse.de> -2002-07-31 Roland McGrath <roland@redhat.com> + * sysdeps/unix/sysv/linux/ia64/Makefile (CFLAGS-initfini.s): + Remove, it's not used anywhere anymore. + * sysdeps/unix/sysv/linux/s390/s390-64/Makefile + (CFLAGS-initfini.s): Likewise. + * sysdeps/unix/sysv/linux/s390/s390-32/Makefile + (CFLAGS-initfini.s): Likewise. + * sysdeps/unix/sysv/linux/powerpc/Makefile (CFLAGS-initfini.s): + Likewise. + * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-initfini.s): + Likewise. - * elf/rtld.c (dl_main): Fix typo in error message. +2001-05-21 Bruno Haible <haible@clisp.cons.org> + + * wcsmbs/mbrtowc.c (mbrtowc): Remove local variable 'flush', always + use 0 instead, and rely on the converter to do the flush. + * wcsmbs/tst-mbrtowc.c (utf8_test_1): New function, taken from + utf8_test. + (utf8_test_2, utf8_test_3): New function. + (utf8_test): Call utf8_test_1, utf8_test_2, utf8_test_3. + +2001-05-22 Jakub Jelinek <jakub@redhat.com> + + * elf/dl-close.c (_dl_close): Save imap->l_reldeps, not map->l_reldeps. + + * elf/Makefile (distribute): Add reldep4mod[1234].c. + (tests): Add reldep4. + (modules-names): Add reldep4mod[1234]. + (reldep4mod1.so, reldep4mod2.so, reldep4, reldep4.out): New rules. + * elf/reldep4.c: New file. + * elf/reldep4mod1.c: Likewise. + * elf/reldep4mod2.c: Likewise. + * elf/reldep4mod3.c: Likewise. + * elf/reldep4mod4.c: Likewise. + +2001-05-18 Jakub Jelinek <jakub@redhat.com> + + * elf/dl-lookup.c (PROTECTED): Remove defines. + (add_dependency): Mark it with internal_function. + (_dl_do_lookup, _dl_do_lookup_versioned): New functions. + (_dl_lookup_symbol, _dl_lookup_symbol_skip, + _dl_lookup_versioned_symbol, _dl_lookup_versioned_symbol_skip): Use + it if we don't want do_lookup* inlined. + +2001-05-18 Jakub Jelinek <jakub@redhat.com> + + * include/link.h (struct r_scope_elem): Remove r_duplist and + r_nduplist fields. + * elf/dl-load.c (_dl_map_object_from_fd): Don't initialize them. + * elf/dl-lookup.c (_dl_lookup_symbol_skip): Look in r_list, not + r_duplist. + (_dl_lookup_versioned_symbol_skip): Likewise. + * elf/dl-deps.c (struct list): Remove dup field, rename unique to next. + (_dl_map_object_deps): Don't compute duplicate list. + + * elf/dl-symbol.c: Removed. + * elf/Makefile (routines): Remove dl-symbol. + +2001-05-22 Ulrich Drepper <drepper@redhat.com> + + * po/el.po: Update from translation team. + * po/sv.po: Likewise. + +2001-05-20 Bruno Haible <haible@clisp.cons.org> + + * iconvdata/cp1255.c: Completely rewritten. + * iconvdata/Makefile (gen-8bit-gap-modules): Remove cp1255. + * iconvdata/testdata/WINDOWS-1255: New file. + * iconvdata/testdata/WINDOWS-1255..UTF8: New file. + * iconvdata/TESTS: Add WINDOWS-1255 test. + * iconvdata/CP1255.irreversible: New file. + +2001-05-20 Bruno Haible <haible@clisp.cons.org> + + * iconvdata/cp1258.c: Completely rewritten. + * iconvdata/Makefile (gen-8bit-gap-modules): Remove cp1258. + * iconvdata/testdata/WINDOWS-1258: New file. + * iconvdata/testdata/WINDOWS-1258..UTF8: New file. + * iconvdata/TESTS: Add WINDOWS-1258 test. + * iconvdata/tst-table-from.c (try): Reset the iconv descriptor before + the main call, and flush it afterwards. + (utf8_decode): Return a string, possibly containing several Unicode + characters. + (main): Update all utf8_decode calls. + * iconvdata/CP1258.irreversible: New file. + +2001-05-20 Bruno Haible <haible@clisp.cons.org> + + * iconv/gconv.c (__gconv): For flush without output, pass do_flush = 2. + * iconv/skeleton.c: Distinguish do_flush = 1 and do_flush = 2. In the + first case, set outbuf, outstart, outend, and call PREPARE_LOOP before + EMIT_SHIFT_TO_INIT; then pass the output produced by this step down to + the next step. In the second case, clear the state without calling + EMIT_SHIFT_TO_INIT. + * iconvdata/ibm930.c (EMIT_SHIFT_TO_INIT): Use outbuf instead of + data->__outbuf, and outend instead of data->__outbufend. + * iconvdata/ibm933.c (EMIT_SHIFT_TO_INIT): Likewise. + * iconvdata/ibm935.c (EMIT_SHIFT_TO_INIT): Likewise. + * iconvdata/ibm937.c (EMIT_SHIFT_TO_INIT): Likewise. + * iconvdata/ibm939.c (EMIT_SHIFT_TO_INIT): Likewise. + * iconvdata/iso-2022-cn.c (EMIT_SHIFT_TO_INIT): Likewise. + * iconvdata/iso-2022-cn-ext.c (EMIT_SHIFT_TO_INIT): Likewise. + * iconvdata/iso-2022-jp.c (EMIT_SHIFT_TO_INIT): Likewise. + * iconvdata/iso-2022-kr.c (EMIT_SHIFT_TO_INIT): Likewise. + * iconvdata/utf-7.c (EMIT_SHIFT_TO_INIT): Likewise. + +2001-05-21 Jakub Jelinek <jakub@redhat.com> + + * elf/rtld.c (dl_main): Compute l_map_end for the main program. + * elf/dl-sym.c (_dl_sym): Don't check for l_addr == 0. + If match == _dl_loaded, caller can still come from the main program. + (_dl_vsym): Likewise. + * elf/dl-open.c (dl_open_worker): Don't check for l_addr == 0. + * elf/dl-error.c (_dl_signal_error): Change NULL objname into "". + * elf/restest2.c: New test. + * elf/Makefile (tests): Add restest2. + (restest2, LDFLAGS-restest2): Add rules. -2002-07-31 Roland McGrath <roland@frob.com> +2001-05-22 Ulrich Drepper <drepper@redhat.com> - * sysdeps/mach/hurd/Versions (ld: GLIBC_2.0): __fxstat -> __fxstat64, - __xstat -> __xstat64, __lseek -> __libc_lseek64. Completes 2002-06-09 - sysdeps/mach/hurd/dl-sysdep.c change. + * intl/Makefile: Add a few more dependencies to avoid races in the + test shell scripts. -2002-07-28 Ulrich Drepper <drepper@redhat.com> +2001-05-22 Andreas Jaeger <aj@suse.de> - * sysdeps/unix/sysv/linux/configure.in: Check /lib/modules/`uname - -r`/build/include for kernel headers. + * sysdeps/ieee754/ldbl-128/s_log1pl.c: New file, contributed by + Stephen L Moshier <moshier@mediaone.net>. - * po/fi.po: New file. +2001-05-22 Martin Schwidefsky <schwidefsky@de.ibm.com> -2002-07-15 Alexandre Oliva <aoliva@redhat.com> + * sysdeps/s390/s390-32/backtrace.c: Make backtrace return the + return addresses instead of the stack pointers. + * sysdeps/s390/s390-64/backtrace.c: Likewise. - * configure.in (static_nss): Set to `yes' if --disable-shared. +2001-05-21 Jakub Jelinek <jakub@redhat.com> -2002-07-23 Bruno Haible <bruno@clisp.org> + * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Include + bits/sigcontext.h instead of bits/sigstack.h. + * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h: Add + multiple-inclusion guards. - * intl/loadmsgcat.c (PRI*): Redefine the macros if PRI_MACROS_BROKEN - is set. +2001-05-21 Andreas Jaeger <aj@suse.de> -2002-07-25 Jakub Jelinek <jakub@redhat.com> + * locale/programs/ld-collate.c (handle_ellipsis): Fix message. + Patch by Philipp Thomas <pthomas@suse.de>. - * sysdeps/unix/sysv/linux/ia64/sigcontextinfo.h: New file. - * sysdeps/unix/sysv/linux/ia64/profil-counter.h: Fix profil_counter - arguments. +2001-05-17 Bruce Mitchener <bruce@cubik.org> -2002-07-25 Jakub Jelinek <jakub@redhat.com> + * manual/arpg.texi: Spelling, misc fixes. + * manual/arith.texi: Likewise. + * manual/crypt.texi: Likewise. + * manual/debug.texi: Likewise. + * manual/getopt.texi: Likewise. + * manual/intro.texi: Likewise. + * manual/memory.texi: Likewise. + * manual/nss.texi: Likewise. + * manual/pattern.texi: Likewise. + * manual/process.texi: Likewise. + * manual/resource.texi: Likewise. + * manual/search.texi: Likewise. + * manual/setjmp.texi: Likewise. + * manual/signal.texi: Likewise. + * manual/socket.texi: Likewise. + * manual/stdio.texi: Likewise. + * manual/string.texi: Likewise. + * manual/sysinfo.texi: Likewise. + * manual/terminal.texi: Likewise. + * manual/llio.texi: Document madvise(). - * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal): Add - alias. +2001-05-20 Roland McGrath <roland@frob.com> -2002-07-21 Bruno Haible <bruno@clisp.org> - - * intl/libintl.h (__GNU_GETTEXT_SUPPORTED_REVISION): New macro. - * intl/gettext.h (struct mo_file_header): New fields n_sysdep_segments, - sysdep_segments_offset, n_sysdep_strings, orig_sysdep_tab_offset, - trans_sysdep_tab_offset. - (struct sysdep_segment): New type. - (struct sysdep_string): New type. - (SEGMENTS_END): New macro. - * intl/gettextP.h (struct sysdep_string_desc): New type. - (struct loaded_domain): New fields malloced, n_sysdep_strings, - orig_sysdep_tab, trans_sysdep_tab, must_swap_hash_tab. Make fields - orig_tab, trans_tab, hash_tab to const pointers because they point - into read-only memory. - * intl/loadmsgcat.c: Include stdint.h, inttypes.h, hash-string.h. - (PRI*): Define fallback values. - (get_sysdep_segment_value): New function. - (_nl_load_domain): Distinguish major and minor revision parts. Add - support for minor revision 1 with system dependent strings. - (_nl_unload_domain): Also free the 'malloced' field. - * intl/dcigettext.c (_nl_find_msg): Remove test for domain->hash_size, - now done in loadmsgcat.c. Add support for system dependent strings. - -2002-07-16 Stepan Kasal <kasal@math.cas.cz> - - * posix/bug-regex7.c: New file. - * posix/bug-regex8.c: New file. - * posix/Makefile (tests): Add bug-regex7 and bug-regex8. - -2002-07-16 Stepan Kasal <kasal@math.cas.cz> - - * posix/bug-regex4.c (main): Fix typos. - * posix/bug-regex6.c (main): Likewise. - -2002-07-27 Ulrich Drepper <drepper@redhat.com> - - * posix/bug-regex6.c (main): Fix warnings. - - * iconvdata/Makefile (CPPFLAGS): Add NOT_IN_libc. - - * iconv/iconv_prog.c (main): Improve error message for the cases - where -t and/or -f parameter are missing. - -2002-07-10 Stepan Kasal <kasal@math.cas.cz> - - * posix/regexec.c (re_match): Reorganize to remove duplicate code. - (re_search): Likewise. - (re_match_2): Likewise. - (re_search_2): Likewise. - (re_search_stub): New function. - (re_search_2_stub): New function. - * regcomp.c (re_compile_pattern): Typo in a comment fixed. - -2002-07-10 Isamu Hasegawa <isamu@yamato.ibm.com> - - * posix/regex_internal.h: Add new member STOP to struct re_string_t. - (re_string_eoi): Use STOP instead of LEN. - * posix/regex_internal.c (re_string_allocate): Initialize pstr->len. - (re_string_construct): Likewise. - (re_string_reconstruct): Adjust pstr->stop like pstr->len. - * posix/regexec.c (re_search_internal): Add a new argument STOP - so that it can handle the argument STOP of re_search_2 and re_match_2 - correctly. - (regexec): Adapt to new I/F of re_search_internal. - (re_search_stub): Likewise. + * Makeconfig (sysdep-makeconfigs): Include any Makeconfig files + found within $(add-ons) directories too. + [linuxthreads add-on]: Move variable settings for linuxthreads + to new file linuxthreads/Makeconfig. -2002-07-25 Ulrich Drepper <drepper@redhat.com> +2001-05-20 Franz Sirl <Franz.Sirl-kernel@lauterbach.com> - * sunrpc/clnt_gen.c: Don't include <sys/errno.h>. + * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_STD_AUXV): + Define for linux >= 2.4.5 on powerpc. + (__ASSUME_MMAP2_SYSCALL): Likewise. - * elf/dl-minimal.c: Remove definition of __assert_perror_fail. +2001-05-19 Roland McGrath <roland@frob.com> - * sysdeps/wordsize-32/divdi3.c: Define __divdi3_internal. - * sysdeps/wordsize-32/lldiv.c: Make gcc use __divdi3_internal instead - of __divdi3. + * hurd/hurdlookup.c (__hurd_file_name_lookup_retry): Don't leak the + result port when failing with ELOOP. Do the ELOOP check when + following an absolute symlink target as well as relative. + Remove #ifdef SYMLOOP_MAX conditional--it should always be defined. - * sysdeps/unix/sysv/linux/adjtime.c: Use __adjtimex_internal. - * sysdeps/unix/sysv/linux/ntp_gettime.c: Likewise. - * sysdeps/unix/sysv/linux/syscalls.list: Add __adjtimex_internal - alias for adjtimex syscall. +2001-05-18 Andreas Jaeger <aj@suse.de> - * elf/dl-minimal.c: Define __assert_fail_internal. - * assert/assert.c: Likewise. - * include/assert.h: Define __assert_file macro if !SHARED and not - NOT_IN_libc. + * po/fr.po: Free software is "logiciel libre". + Patch by Martin Michlmayr <tbm@cyrius.com>. - * iconv/Makefile: Define NOT_IN_libc for objects in standalone - programs. - * locale/Makefile: Likewise. - * nscd/Makefile: Likewise. - * catgets/Makefile: Likewise. + * sysdeps/powerpc/elf/libc-start.c: Use __cxa_atexit. + Patch by ekato@ees.hokudai.ac.jp, closes PR libc/2271. -2002-07-24 Ulrich Drepper <drepper@redhat.com> +2001-05-17 David Mosberger <davidm@hpl.hp.com> - * libio/fileops.c (_IO_file_seekoff_mmap): Do use fp->_offset to - compute current position. + * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: New file. - * stdio-common/tst-fseek.c (main): Improve error messages. +2001-05-17 Ulrich Drepper <drepper@redhat.com> - * libio/tst-freopen.c (main): Remove unused variable. + * elf/dl-profile.c (_dl_mcount): Check whether state is + GMON_PROF_ON before doing anything. - * libio/fileops.c (_IO_file_seekoff_mmap): Set fp->_offset after - succesful seek call. Simplify error checking. +2001-05-17 H.J. Lu <hjl@gnu.org> -2002-07-25 Jakub Jelinek <jakub@redhat.com> + * elf/sprof.c (read_symbols): Move "++symtab" into the while loop. - * config.h.in: Use __ASSEMBLER__ test macro not ASSEMBLER. - * sysdeps/ia64/fpu/libm_support.h: Likewise. +2001-05-17 Ulrich Drepper <drepper@redhat.com> -2002-07-19 Roland McGrath <roland@frob.com> + * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Use + CHECK_SIGSET_NULL_OK and not CHECK_SIGSET for all parameters. + Reported by Mark Burton <markb@ordern.com>. - * hurd/hurdsig.c (_hurdsig_getenv): Always return null if - __libc_enable_secure is set. +2001-05-17 Jakub Jelinek <jakub@redhat.com> -2002-07-24 Roland McGrath <roland@frob.com> + * elf/ldconfig.c (add_dir): Only warn about stat failure if + opt_verbose. + (search_dir): Likewise. - Added <ifaddrs.h> interface with functions `getifaddrs', `freeifaddrs'. - This implementation supports only IPv4. - * inet/ifaddrs.h: New file. - * sysdeps/generic/ifaddrs.c: New file. - * sysdeps/gnu/ifaddrs.c: New file. - * inet/test-ifaddrs.c: New file. - * inet/Makefile (routines): Add ifaddrs. - (headers): Add ifaddrs.h here. - (tests): Add test-ifaddrs. - * inet/Versions (GLIBC_2.3): New set, add getifaddrs and freeifaddrs. +2001-05-17 Ulrich Drepper <drepper@redhat.com> - * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use an explicit - socket call to get an AF_INET socket, instead of using __opensock. - The SIOCGIFNETMASK ioctl will work only with a PF_INET socket. + * sysdeps/i386/i486/atomicity.h (exchange_and_add): Correct second + parameter of xaddl. Patch by H . J . Lu <hjl@lucon.org>. - * sysdeps/generic/ifreq.h (__ifreq): Take third argument SOCKFD, - if not -1 use it instead of calling __opensock. - * sysdeps/unix/sysv/linux/ifreq.h (__ifreq): Likewise. - * sysdeps/mach/hurd/ifreq.h (__ifreq): Take new argument and ignore it. - * resolv/res_hconf.c (_res_hconf_reorder_addrs): Pass new argument. +2001-05-14 Bruno Haible <haible@clisp.cons.org> - * sysdeps/mach/hurd/ifreq.h: New file. - * sysdeps/generic/ifreq.h (__if_freereq): Take second argument NUM_IFS. - * sysdeps/unix/sysv/linux/ifreq.h (__if_freereq): Likewise. - * resolv/res_hconf.c (_res_hconf_reorder_addrs): Update caller. + * iconvdata/iso-2022-cn-ext.c (BODY for FROM_LOOP): If SO is seen + without previous announcement, reject it regularly, don't abort. - * libio/fileops.c (_IO_file_seekoff_mmap): Don't rely on FP->_offset, - which gets moved around. Calculate size of mmap'd buffer instead. +2001-05-16 Ulrich Drepper <drepper@redhat.com> -2002-07-24 Philip Blundell <philb@gnu.org> + * math/tgmath.h: Fix handling of int parameters to binary and + ternary functions. Reported by mitr@volny.cz. - * sysdeps/unix/arm/brk.S: Improve schedule. - * sysdeps/unix/sysv/linux/arm/socket.S (PUSHARGS_1): Use more - efficient instruction. - (__socket): Optimize return sequence. + * math/test-tgmath.c: Add tests for calls with integer parameters. -2002-07-24 Ulrich Drepper <drepper@redhat.com> +2001-05-15 Jakub Jelinek <jakub@redhat.com> - * sysdeps/unix/sysv/linux/opensock.c (__opensock): Prefer inet - sockets on old kernels. + * sunrpc/rpc_thread.c (rpc_default): Remove. + (__rpc_thread_destroy): Use __libc_tsd_RPC_VARS_mem instead of + rpc_default. + (rpc_thread_multi, __rpc_thread_svc_fdset, __rpc_thread_createerr, + __rpc_thread_svc_pollfd, __rpc_thread_svc_max_pollfd): Likewise. + * sunrpc/auth_none.c (authnone_private): Fix a typo. -2002-07-22 Philip Blundell <philb@gnu.org> +2001-05-16 Martin Schwidefsky <schwidefsky@de.ibm.com> - * sysdeps/unix/sysv/linux/arm/errlist.c: Remove extra weak alias - definiton of _old_sys_nerr. Define _old_sys_errlist as strong - alias. + * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Fix stack allocation. -2002-07-24 Ulrich Drepper <drepper@redhat.com> +2001-05-16 Bruce Mitchener <bruce@cubik.org> - * locale/hashval.h: Make more self-contained by defining LONG_BITS. - * locale/programs/simple-hash.c: Remove LONG_BITS definition. + * manual/llio.texi: Many grammar and typo fixes to the section on AIO. - * locale/programs/locarchive.c (add_locale_to_archive): Correct - test to detect duplicate locales. +2001-05-15 Andreas Jaeger <aj@suse.de> - * libio/fileops.c (_IO_new_file_seekoff): Fail if relative - position would be before beginning of file. - (_IO_file_seekoff_mmap): Likewise. - * libio/Makefile (tests): Add bug-fseek. - * libio/bug-fseek.c: New file. + * sysdeps/ieee754/ldbl-128/s_expm1l.c: New file, contributed by + Stephen L Moshier <moshier@mediaone.net>. - * intl/explodename.c: Remove support for CEN-style locale variables. - It was never used and shouldn't be since it's not portable. - * intl/finddomain.c: Likewise. - * intl/l10nflist.c: Likewise. - * intl/loadinfo.h: Likewise. - * locale/findlocale.c: Likewise. - -2002-07-24 Roland McGrath <roland@frob.com> - - * libio/fileops.c (_IO_file_seekoff_mmap): When just examining the - position, calculate it to take into account an active pushback buffer. - - * libio/Makefile (tests): Add bug-ungetc. - * libio/bug-ungetc.c: New file. - -2002-07-23 Ulrich Drepper <drepper@redhat.com> - - * sysdeps/generic/libc-tls.c: New file. - * csu/Makefile (routines): Add libc-tls. - (static-only-routines): Add libc-tls. - * elf/dl-support.c (_dl_phdr): New variable. - (_dl_phnum): New variable. - (_dl_aux_init): Initialize _dl_phdr and _dl_phnum from aux vector. - * sysdeps/generic/libc-start.c (__libc_start_main): Reorganize code - for !SHARED. First look through auxiliary vector. If TLS always - call __pthread_initialize_minimal. - - * sysdeps/generic/dl-tls.c (_dl_allocate_tls): Make sure size argument - in mmap call is never zero. - -2002-07-23 Andreas Jaeger <aj@suse.de> - - * sysdeps/x86_64/fpu/s_copysign.S: Use optimized version. - * sysdeps/x86_64/fpu/s_copysignf.S: Likewise. - -2002-07-22 Ulrich Drepper <drepper@redhat.com> - - * libio/tst-eof.c: Rewrite to let test-skeleton.c deal with - creation and removal of the temp file. - - * libio/bug-rewind.c: Use test skeleton. Use create_temp_file for - file creation. - * test-skeleton.c (create_temp_file): New function. - -2002-07-22 Andreas Jaeger <aj@suse.de> - - * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Use - local label. - -2002-07-21 Roland McGrath <roland@frob.com> - - * wcsmbs/Makefile (strtox-CFLAGS): New variable, - put -I../include before -I../stdlib so we get the right errno.h et al. - (CFLAGS-wcstod.c): Use that variable instead of -I../stdlib. - (CFLAGS-wcstof.c): Likewise. - (CFLAGS-wcstold.c): Likewise. - (CFLAGS-wcstod_l.c): Likewise. - (CFLAGS-wcstof_l.c): Likewise. - (CFLAGS-wcstold_l.c): Likewise. - -2002-07-19 Roland McGrath <roland@frob.com> - - * sysdeps/mach/hurd/errnos.awk: Remove __set_errno defn from output. - -2002-07-20 Ulrich Drepper <drepper@redhat.com> - - * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define if - __ASSUME_AT_XID is defined. - * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_XID): Define - for 2.4.1 and up. - * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Optimize handling - of AT_UID, AT_EUID, AT_GID, and AT_EGID. - - * wcsmbs/Makefile (CFLAGS-wcstod.c): Add -I../stdlib. - (CFLAGS-wcstof.c): Likewise. - (CFLAGS-wcstold.c): Likewise. - (CFLAGS-wcstod_l.c): Likewise. - (CFLAGS-wcstof_l.c): Likewise. - (CFLAGS-wcstold_l.c): Likewise. - -2002-07-18 Jakub Jelinek <jakub@redhat.com> - - * resource/sys/resource.h (__rlimit_resource_t, __rusage_who_t, - __priority_which_t): Always typedef to int for C++. - -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/i386/fpu/libm-test-ulps: Adjust for change. - * 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. + * math/libm-test.inc: Add comment with ToDo. - * 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): 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. + * sysdeps/i386/fpu/e_expl.c: Rewritten to C and using a more + accurate algorithm. Patch by Stephen L Moshier <moshier@mediaone.net>. -2002-07-03 Jakub Jelinek <jakub@redhat.com> + * sysdeps/i386/fpu/e_expl.S: Removed. - * libio/stdio.h (obstack_printf): Add format attribute. - (obstack_vprintf): Likewise. +2001-05-14 Roland McGrath <roland@frob.com> -2002-07-04 Jakub Jelinek <jakub@redhat.com> + * csu/Makefile ($(objpfx)g$(start-installed-name)): Turn this into a + static pattern rule also that also covers + $(objpx)g$(static-start-installed-name). + [$(start-installed-name) != $(static-start-installed-name)] + (extra-objs, omit-deps, install-lib): Add + $(static-start-installed-name) and g$(static-start-installed-name). + * sysdeps/mach/hurd/i386/Makefile: Don't add crt0.o to those here; + just setting static-start-installed-name is now sufficient. + (extra-objs): Add static-start.o here. + (CFLAGS-initfini.s): Remove obsolete variable. + * sysdeps/mach/hurd/i386/Makeconfig: New file. + Define static-start-installed-name here. - * 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. + * Makeconfig: Include existing $(full_config_sysdirs:=/Makeconfig). + * Make-dist (+sysdep-tsrcs): Look for Makeconfig files. -2002-07-04 Jakub Jelinek <jakub@redhat.com> + * Makerules ($(+sysdir_pfx)sysd-Makefile): Remove this target and + associated hair. Instead, just use $(wildcard ...) in the include. - * posix/regcomp.c (re_compile_internal): Move clearing of dfa... - (init_dfa): ...here. + * configure.in (critic_missing, aux_missing): Collect in these vars + the names of the missing programs, and include them in the error msgs. + * configure: Regenerated. -2002-07-05 Isamu Hasegawa <isamu@yamato.ibm.com> +2001-05-14 Andreas Jaeger <aj@suse.de> - * 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. + * sysdeps/i386/fpu/libm-test-ulps: Adjust for new tests. -2002-07-03 Jakub Jelinek <jakub@redhat.com> + * math/libm-test.inc (tanh_test): Add testcases for last tanh bug. - * 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. +2001-05-14 Stephen L Moshier <moshier@mediaone.net> -2002-07-10 Ulrich Drepper <drepper@redhat.com> + * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Fix sign test. - * Versions.def [libpthread]: Add GLIBC_2.2.6. - * posix/Versions [libc] (GLIBC_2.2.6): Add __nanosleep. +2001-05-11 Jakub Jelinek <jakub@redhat.com> -2002-07-06 Bruno Haible <bruno@clisp.org> + * posix/regex.c (re_match_2_internal): Swap mbs_offset and csize + as well if swapping strings. + Make sure stop is not past end of second string. + * posix/bug-regex4.c: New test. + * posix/Makefile (tests): Add bug-regex4. - * sysdeps/unix/sysv/sysv4/bits/sigset.h (__NSSBITS): Correct value. +2001-05-10 Andreas Jaeger <aj@suse.de> -2002-07-06 Bruno Haible <bruno@clisp.org> + * manual/install.texi (Linux): Clarify that Linux 2.2 is minimal + requirement. - * include/sys/socket.h (__libc_sendto, __libc_recvfrom): New - declarations. +2001-05-12 Andreas Jaeger <aj@suse.de> - * 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 file. - * sysdeps/x86_64/fpu/s_copysign.S: New file. - * sysdeps/x86_64/fpu/s_copysignf.S: New file. - * sysdeps/x86_64/fpu/s_copysignl.S: New file. - * sysdeps/x86_64/fpu/s_finitel.S: New file. - * sysdeps/x86_64/fpu/s_fmax.S: New file. - * sysdeps/x86_64/fpu/s_fmaxf.S: New file. - * sysdeps/x86_64/fpu/s_fmaxl.S: New file. - * sysdeps/x86_64/fpu/s_fmin.S: New file. - * sysdeps/x86_64/fpu/s_fminf.S: New file. - * sysdeps/x86_64/fpu/s_fminl.S: New file. - -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/s_sin.c: Include "math_private.h" for + internal prototypes. + * sysdeps/ieee754/dbl-64/doasin.c: Likewise. * 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. + * sysdeps/ieee754/dbl-64/branred.c: Likewise. + + * math/math_private.h: Add prototypes for internal functions of + the IBM Accurate Mathematical Library. + + * sysdeps/ieee754/dbl-64/s_atan.c: Include "math.h" for + prototypes. + * sysdeps/ieee754/dbl-64/s_tan.c: Likewise. + + * sysdeps/ieee754/dbl-64/e_asin.c: Include "math_private.h" for + internal prototypes. + * sysdeps/ieee754/dbl-64/s_atan.c: Likewise. + * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise. + * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise. + * sysdeps/ieee754/dbl-64/e_pow.c: Likewise. + * sysdeps/ieee754/dbl-64/e_log.c: Likewise. + * sysdeps/ieee754/dbl-64/e_exp.c: Likewise. + * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. + * sysdeps/generic/e_rem_pio2l.c: Likewise. + (__ieee754_rem_pio2l): Fix prototype. + + * math/math_private.h (__copysign): Add internal prototype. + +2001-05-11 Andreas Jaeger <aj@suse.de> + + * sysdeps/unix/sysv/linux/configure.in: Move binutils check to... + * sysdeps/unix/sysv/linux/mips/configure.in: ...here. New file. + +2001-05-11 Andreas Jaeger <aj@suse.de> + + * sysdeps/unix/sysv/linux/configure.in: Check binutils version on + MIPS. + + * sysdeps/mips/rtld-ldscript.in: Removed unneeded binary output + format directive. Patch by Steven J. Hill <sjhill@cotw.com>. + +2001-05-11 Roland McGrath <roland@frob.com> + + * sysdeps/mach/hurd/Makefile ($(link-rpcuserlibs)): Don't use + $(build-module) here, since we don't need the full magilla. + Just use $(build-module-helper) and append our special options. + +2001-05-09 Andreas Schwab <schwab@suse.de> + + * sysdeps/unix/readdir.c: Make sure we don't modify errno when we + reached EOF. + +2001-05-07 H.J. Lu <hjl@gnu.org> + + * elf/ldconfig.c (dir_entry): Add ino and dev. + (add_single_dir): Compare ino and dev to check if 2 directory + paths are the same or not. Free entry->path for duplicates. + (add_dir): Initialize ino and dev for entry. + (search_dir): Handle symlink to directory. + +2001-05-07 Andreas Jaeger <aj@suse.de> + + * sysdeps/i386/fpu/libm-test-ulps: Add ulps for new exp tests. + + * math/libm-test.inc (exp_test): Add some more tests. + (pow_test): Run double only test also for long double. + + * math/test-ldouble.c (TEST_LDOUBLE): Define. + * math/test-ildoubl.c (TEST_LDOUBLE): Likewise. + + * sysdeps/generic/bits/confname.h: Remove extra comma at end of + enumeration. + Closes PR libc/2240. + + * scripts/config.guess: Imported from gnu.org. * scripts/config.sub: Likewise. -2002-07-02 Andreas Schwab <schwab@suse.de> +2001-05-05 Jakub Jelinek <jakub@redhat.com> - * resolv/nss_dns/dns-network.c (getanswer_r): Reduce linebuflen - in parallel to bumping up the buffer pointer. + * include/features.h (__USE_EXTERN_INLINES): Don't define if + __NO_INLINE__ is defined. + * ctype/ctype.h (tolower, toupper): Change the guard condition to + __USE_EXTERN_INLINES check only. + * stdlib/stdlib.h (strtod, ...): Likewise. + * wcsmbs/wchar.h (mbrlen): Likewise. + * string/string.h: Only include bits/string.h and bits/string2.h + if __NO_INLINE__ is not defined. -2002-07-01 Jakub Jelinek <jakub@redhat.com> +2001-05-07 Andreas Jaeger <aj@suse.de> - * 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). + * debug/Makefile ($(objpfx)xtrace): Substitute @SLIBDIR@ instead + of @LIBDIR@. -2002-06-30 Ulrich Drepper <drepper@redhat.com> +2001-05-04 H.J. Lu <hjl@gnu.org> - * 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. + * malloc/Makefile ($(objpfx)memusage): Substitute @SLIBDIR@ + not @LIBDIR@. -2002-06-28 Kaz Kojima <kkojima@rr.iij4u.or.jp> +2001-05-06 Andreas Jaeger <aj@suse.de> - * sysdeps/sh/dl-machine.h (elf_machine_load_address): Use local - labels in assembler instructions. + * sysdeps/i386/fpu/e_fmodl.c: New, rewrite of e_fmodl.S. + * sysdeps/i386/fpu/e_fmodl.S: Removed. + * sysdeps/i386/fpu/e_atan2l.c: New, rewrite of e_atan2l.S. + * sysdeps/i386/fpu/e_atan2l.S: Removed. + * sysdeps/i386/fpu/e_acosl.c: New, rewrite of e_acos.S. + * sysdeps/i386/fpu/s_atanl.c: New, rewrite of e_atanl.S. + * sysdeps/i386/fpu/e_sqrtl.c: New, rewrite of e_sqrt.S. + * sysdeps/i386/fpu/e_acosl.S: Removed. + * sysdeps/i386/fpu/s_atanl.S: Removed. + * sysdeps/i386/fpu/e_sqrtl.S: Removed. -2002-06-25 Ulrich Drepper <drepper@redhat.com> +2001-05-05 Mark Kettenis <kettenis@gnu.org> - * 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. + * sysdeps/mach/hurd/bits/environments.h: Add comment from + sysdeps/generic/bits/environments.h. Define _POSIX_V6_* values. - * 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. +2001-04-30 Jakub Jelinek <jakub@redhat.com> - * argp/argp-fmtstream.c (__argp_fmtstream_update): Avoid crash in - handling of overly long words. + * posix/confstr.c (confstr) [_CS_V6_WIDTH_RESTRICTED_ENVS]: Move so + that _CS_LFS_CFLAGS can fall through to the empty returned string + case. Add FALLTHROUGH comment. -2002-06-25 Andreas Jaeger <aj@suse.de> +2001-04-29 Ralf Baechle <ralf@gnu.org> - * sysdeps/x86-64/dl-machine.h (elf_machine_load_address): Rewrite - to not use 32-bit pc relative relocations. - (elf_machine_dynamic): Likewise. + * sysdeps/unix/sysv/linux/mips/bits/sem.h: Make structure + definitions match the kernel definitions. + * sysdeps/unix/sysv/linux/mips/bits/ipc.h: Likewise. + * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise. -2002-06-21 Ulrich Drepper <drepper@redhat.com> +2001-04-29 Ben Collins <bcollins@debian.org> - * 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. + * sysdeps/sparc/sparc64/dl-machine.h: Fix multiline strings + warnings. + * sysdeps/sparc/sparc64/soft-fp/qp_add.c: Likewise. + * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise. + * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise. + * sysdeps/sparc/sparc64/soft-fp/qp_div.c: Likewise. + * sysdeps/sparc/sparc64/soft-fp/qp_dtoq.c: Likewise. + * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise. + * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise. + * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise. + * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise. + * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise. + * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise. + * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise. + * sysdeps/sparc/sparc64/soft-fp/qp_qtod.c: Likewise. + * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise. + * sysdeps/sparc/sparc64/soft-fp/qp_qtos.c: Likewise. + * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise. + * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise. + * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise. + * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise. + * sysdeps/sparc/sparc64/soft-fp/qp_sqrt.c: Likewise. + * sysdeps/sparc/sparc64/soft-fp/qp_stoq.c: Likewise. + * sysdeps/sparc/sparc64/soft-fp/qp_sub.c: Likewise. + * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise. + +2001-04-29 Andreas Schwab <schwab@suse.de> + + * sysdeps/unix/sysv/linux/kernel-features.h: Fix missing backslash + in last change. + +2001-04-29 Andreas Jaeger <aj@suse.de> + + * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64): + Define for Arm, PowerPC and SH if kernel is 2.4.4 or newer. + + * sysdeps/unix/sysv/linux/bits/socket.h (PF_WANPIPE): New, from + Linux 2.4.4. + (AF_WANPIPE): Likewise. + (MSG_MORE): New. + + * sysdeps/unix/sysv/linux/alpha/bits/socket.h: Add same changes as + for Linux generic version. + * sysdeps/unix/sysv/linux/s390/s390-64/bits/socket.h: Likewise. + * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise. + * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise. + * sysdeps/unix/sysv/linux/ia64/bits/socket.h: Likewise. -2002-06-17 Jakub Jelinek <jakub@redhat.com> + * sysdeps/gnu/netinet/tcp.h (TCP_QUICKACK): New. - * 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. +2001-04-27 Ulrich Drepper <drepper@redhat.com> -2002-06-09 Jakub Jelinek <jakub@redhat.com> + * nis/nss-nis.h: Correct test for invalid error number. + * nis/nss-nisplus.h: Likewise. - * 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. + * nis/Makefile (libnss_compat-rountines): Add nss-nisplus. -2002-06-07 Jakub Jelinek <jakub@redhat.com> +2001-04-26 Ulrich Drepper <drepper@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). + * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add getunwind. -2002-06-21 Ulrich Drepper <drepper@redhat.com> + * string/strcoll.c: Fix two memory allocation problems. + * string/Makefile (tests): Add bug-strcoll1. + * string/bug-strcoll1.c: New file. - * 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. + * malloc/mcheck.c (mcheck): Call malloc once before setting the + hooks to allow the internal check hooks to be set up if necessary. -2002-06-05 Jakub Jelinek <jakub@redhat.com> + * nis/nss-nis.h: Move yperr2nss_tab definition into separate file + and rename to __yperr2nss_tab. Change YPERR_COUNT into variable + __yperr2nss_count. + * nis/nss-nis.c: New file. + * nis/nss-nisplus.h: Move niserr2nss_tab definition into separate file + and rename to __niserr2nss_tab. Change NISERR_COUNT into variable + __niserr2nss_count. + * nis/nss-nisplus.c: New file. + * nis/Makefile (libnss_compat-routines): Add nss-nis. + (libnss_nis-routines): Likewise. + (libnss_nisplus-routines): Add nss-nisplus. - * libio/Makefile (tests): Add tst-mmap-setvbuf. - * libio/tst-mmap-setvbuf.c: New test. + * nis/nss_nisplus/nisplus-alias.c: Remove unnecessary initializations. + * nis/nss_nisplus/nisplus-ethers.c: Likewise. + * nis/nss_nisplus/nisplus-grp.c: Likewise. + * nis/nss_nisplus/nisplus-hosts.c: Likewise. + * nis/nss_nisplus/nisplus-network.c: Likewise. + * nis/nss_nisplus/nisplus-proto.c: Likewise. + * nis/nss_nisplus/nisplus-pwd.c: Likewise. + * nis/nss_nisplus/nisplus-rpc.c: Likewise. + * nis/nss_nisplus/nisplus-service.c: Likewise. + * nis/nss_nisplus/nisplus-spwd.c: Likewise. + * nis/nss_nis/nis-alias.c: Likewise. + * nis/nss_nis/nis-ethers.c: Likewise. + * nis/nss_nis/nis-grp.c: Likewise. + * nis/nss_nis/nis-network.c: Likewise. + * nis/nss_nis/nis-proto.c: Likewise. + * nis/nss_nis/nis-pwd.c: Likewise. + * nis/nss_nis/nis-spwd.c: Likewise. + * nis/nss_compat/compat-grp.c: Likewise. + * nis/nss_compat/compat-initgroups.c: Likewise. + * nis/nss_compat/compat-pwd.c: Likewise. + * nis/nss_compat/compat-spwd.c: Likewise. -2002-06-21 Andreas Jaeger <aj@suse.de> + * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Some more + optimizations. Patch by Jakub Jelinek <jakub@redhat.com>. - * sysdeps/i386/fpu/libm-test-ulps: Add some ulps from my P3. +2001-04-26 Andreas Jaeger <aj@suse.de> -2002-06-18 Jakub Jelinek <jakub@redhat.com> + * po/zh_TW.po: Update. + Patch by Tung-Han Hsieh <thhsieh@tlug.sinica.edu.tw>. - * 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. +2001-04-25 Ulrich Drepper <drepper@redhat.com> -2002-06-20 Ulrich Drepper <drepper@redhat.com> + * malloc/malloc.c: Allow MALLOC_ALIGNMENT to be defined on the + compiler command line. + * sysdeps/hppa/Makefile: Add -DMALLOC_ALIGNMENT=16 to compiler + command line for malloc.c. - * po/hr.po: New file. +2001-04-25 Jakub Jelinek <jakub@redhat.com> -2002-06-11 Wolfram Gloger <wg@malloc.de> + * sysdeps/unix/sysv/linux/sparc/sparc64/bits/time.h: Move to... + * sysdeps/unix/sysv/linux/sparc/bits/time.h: ...here. + * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/bits/time.h: Remove. + * sysdeps/unix/sysv/linux/sparc/sparc64/bits/socket.h: Move to... + * sysdeps/unix/sysv/linux/sparc/bits/socket.h: ...here. Adjust + struct msghdr for __WORDSIZE == 32. + * sysdeps/unix/sysv/linux/sparc/sparc64/bits/statvfs.h: Move to... + * sysdeps/unix/sysv/linux/sparc/bits/statvfs.h: ...here. Adjust + for __WORDSIZE == 32. + * sysdeps/unix/sysv/linux/sparc/sparc64/bits/siginfo.h: Remove. + * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/get_clockfreq.c: New + file. + * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S (__libc_siglongjmp): + Rename from longjmp, make longjmp weak alias to it. - * malloc/malloc.c: Fix error path when new_heap() returns NULL. - Reported by Michael Meissner <meissner@redhat.com>. +2001-04-24 David S. Miller <davem@redhat.com> -2002-06-20 Ulrich Drepper <drepper@redhat.com> + * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: New file. - * sysdeps/unix/sysv/linux/ia64/getcontext.S: Fix typo. - Patch by Hans Boehm <hans_boehm@hp.com>. +2001-04-25 Matthew Wilcox <willy@ldl.fc.hp.com> -2002-06-20 Andreas Jaeger <aj@suse.de> + * sysdeps/hppa/stackinfo.h: New file. + * sysdeps/unix/sysv/linux/hppa/getdents64.c: New file. + * sysdeps/unix/sysv/linux/hppa/mmap64.c: New file. + * sysdeps/unix/sysv/linux/hppa/bits/resource.h: New file. + * sysdeps/unix/sysv/linux/kernel-features.h: Add descriptions + of PA kernel features. - * 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. +2001-04-25 Ulrich Drepper <drepper@redhat.com> -2002-06-13 Stephen L Moshier <steve@moshier.net> + * locale/programs/localedef.c (main): Always set a file name for + the initial locale. + * locale/programs/locfile.c (locfile_read): filename is allowed to + be NULL. - * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Fix cases in which - argument or result is subnormal. +2001-04-12 Paul Bame <paul_bame@hp.com> -2002-06-19 Ulrich Drepper <drepper@redhat.com> + * sysdeps/hppa/fpu/fclrexcpt.c: Clear the exception flags, not the + enable flags. - * 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. +2001-04-24 Ulrich Drepper <drepper@redhat.com> - * sysdeps/hppa/dl-machine.h: Don't use multi-line string literals. + * sysdeps/generic/bits/environments.h (_POSIX_V6_LPBIG_OFFBIG, + _XBS5_LPBIG_OFFBIG): Define to -1. + Fix typos. -2002-06-17 David Mosberger <davidm@hpl.hp.com> + * sysdeps/generic/bits/confname.h: Add _CS_V6_WIDTH_RESTRICTED_ENVS. + * posix/confstr.c: Handle _CS_V6_WIDTH_RESTRICTED_ENVS. + * posix/getconf.c: Handle _POSIX_V6_WIDTH_RESTRICTED_ENVS. + * posix/tst-getconf.sh: Add _POSIX_V6_WIDTH_RESTRICTED_ENVS. - * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h (uc_sigmask): Fix - typo: corresponding sigcontext field is called sc_mask, not sc_sigmask. - Reported by Peter A. Buhr. + * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9b/Implies: New file. + * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9b/bits/time.h: Removed. -2002-06-15 Roland McGrath <roland@frob.com> +2001-03-21 Alan Modra <alan@one.net.au> - * sysdeps/mach/hurd/mmap.c (__mmap): Add a dead case that quiets a - warning. + * sysdeps/hppa/dl-machine.h (RTLD_START): Set up dp with DT_PLTGOT + value from application so that constructors in non-PIC libs work. - * sysdeps/mach/hurd/getcwd.c - (_hurd_canonicalize_directory_name_internal): unsigned int -> size_t - - * sysdeps/unix/sysv/linux/bits/ustat.h: Moved to ... - * sysdeps/generic/bits/ustat.h: ... here (was almost identical). - - * sysdeps/alpha/divrem.h: Use local label instead of global one for - jump to local subroutine. - -2002-06-14 Roland McGrath <roland@frob.com> - - * sysdeps/mach/hurd/i386/Makeconfig: File moved to ... - * sysdeps/mach/hurd/Makeconfig: ... here. - -2002-06-13 Andreas Schwab <schwab@suse.de> - - * sysdeps/m68k/fpu/s_finite.c: Remove INTDEF. - * sysdeps/m68k/fpu/s_finitef.c: Likewise. - * sysdeps/m68k/fpu/s_finitel.c: Likewise. - -2002-06-13 Roland McGrath <roland@frob.com> - - * hurd/hurdstartup.h (_hurd_startup): int -> intptr_t in MAIN arg type. - * hurd/hurdstartup.c (_hurd_startup): Likewise. - Use intptr_t instead of int for argc in stack layout. - * sysdeps/mach/hurd/alpha/init-first.c (init): Fix argument type. - (_dl_init_first): Likewise. - (_hurd_stack_setup): Likewise. - (init1): Add a cast. - * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start: go): Fix arg type. - - * sysdeps/mach/hurd/if_index.c (if_nameindex): Use size_t for AMOUNT - argument to pfinet_siocgifconf RPC. - -2002-06-13 Andreas Schwab <schwab@suse.de> - - * sysdeps/m68k/fpu/s_isinf.c (INTDEFX): Define to get correct - expansion order. - -2002-06-12 Roland McGrath <roland@frob.com> - - * sysdeps/generic/tmpfile.c [USE_IN_LIBIO] (tmpfile): Don't #define - if already defined. - [USE_IN_LIBIO]: Conditionalize versioned_symbol use on - [GEN_THIS == __GT_FILE] so that tmpfile64.c's inclusion doesn't get it. - -2002-06-11 Roland McGrath <roland@frob.com> - - * sysdeps/mach/hurd/xstat64.c: Conditionalize entire contents of the - file on [!RTLD_STAT64]. - * sysdeps/mach/hurd/fxstat64.c: Likewise. - - * sysdeps/mach/hurd/tmpfile.c (tmpfile64): Define as alias of tmpfile. - (__fdopen): Use INTUSE. - * sysdeps/mach/hurd/tmpfile64.c: New file, empty placeholder. - - * stdio-common/tmpfile64.c: File removed. - * sysdeps/generic/tmpfile64.c: New file. - * sysdeps/generic/tmpfile.c (GEN_THIS): New macro, define to __GT_FILE - if not already defined. - (tmpfile): Use it in place of __GT_FILE. - - * include/unistd.h: Declare __chown_internal. - - * sysdeps/mach/hurd/sendfile64.c (sendfile64): Do real work here. - * sysdeps/mach/hurd/sendfile.c (sendfile): Call that. - -2002-06-09 Roland McGrath <roland@frob.com> - - Update to new Hurd RPC interfaces supporting 64-bit file sizes. - * sysdeps/mach/hurd/configure.in: Check for <hurd/version.h> with - value of HURD_INTERFACE_VERSION >= 20020609. - * sysdeps/mach/hurd/configure: Regenerated. - * shlib-versions (.*-.*-gnu-gnu.*): Set libhurduser=0.3. - * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Rewritten to - convert a struct stat64 into a struct stat and return 0 or -1 - with errno set to EOVERFLOW. - * sysdeps/mach/hurd/statfsconv.c (statfs64_conv): Likewise - for struct statfs64 to struct statfs. - * sysdeps/mach/hurd/xstat.c (__xstat): Use converter and call ... - * sysdeps/mach/hurd/xstat64.c (__xstat64): ... this, real work here. - * sysdeps/mach/hurd/fxstat.c (__fxstat): Likewise. - * sysdeps/mach/hurd/fxstat64.c (__fxstat64): Likewise. - * sysdeps/mach/hurd/lxstat.c (__lxstat): Likewise. - * sysdeps/mach/hurd/lxstat64.c (__lxstat64): Likewise. - * sysdeps/mach/hurd/statfs.c (__statfs): Likewise. - * sysdeps/mach/hurd/statfs64.c (__statfs64): Likewise. - * sysdeps/mach/hurd/fstatfs.c (__fstatfs): Likewise. - * sysdeps/mach/hurd/fstatfs64.c (__fstatfs64): Likewise. - * sysdeps/mach/hurd/pwrite64.c (__libc_pwrite64): Do real work here. - * sysdeps/mach/hurd/pwrite.c (__libc_pwrite): Call that. - * sysdeps/mach/hurd/pread64.c (__libc_pread64): Do real work here. - * sysdeps/mach/hurd/pread.c (__libc_pread): Call that. - * sysdeps/mach/hurd/lseek64.c (__libc_lseek64): Do real work here. - * sysdeps/mach/hurd/lseek.c (__libc_lseek): Call that. - * sysdeps/mach/hurd/readdir64.c (__readdir64): Do real work here. - * sysdeps/mach/hurd/readdir.c (__readdir): Call that. - * sysdeps/mach/hurd/readdir64_r.c (__readdir64_r): Do real work here. - * sysdeps/mach/hurd/readdir_r.c (__readdir64_r): Call that. - * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): - Use struct stat64 for io_stat argument. - * sysdeps/mach/hurd/readlink.c (__readlink): Likewise. - * hurd/fopenport.c (seekio): Remove EOVERFLOW check, pass POS directly - to io_seek. - * hurd/fd-read.c (_hurd_fd_read): Use loff_t for OFFSET argument. - * hurd/fd-write.c (_hurd_fd_write): Likewise. - * hurd/hurd/fd.h: Update decls. - * sysdeps/mach/hurd/getcwd.c - (_hurd_canonicalize_directory_name_internal): Use ino64_t - and struct dirent64. - * sysdeps/mach/hurd/dl-sysdep.c (open_file): Use struct stat64. - (__xstat): Renamed to __xstat64, use struct stat64 for argument. - (__fxstat): Renamed to __fxstat64, use struct stat64 for argument. - (__lseek): Renamed to __libc_lseek64, use off64_t for argument. - -2002-06-08 Roland McGrath <roland@frob.com> - - * sysdeps/mach/hurd/dirstream.h (struct __dirstream): Use size_t - instead of unsigned long int for __allocation and __size members. - -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 Roland McGrath <roland@frob.com> - - * sysdeps/mach/hurd/bits/environments.h: File removed. - -2002-06-07 Jakub Jelinek <jakub@redhat.com> - - * 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. - * sysdeps/unix/sysv/linux/ia64/syscalls.list (sendfile): Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (sendfile): - Likewise. - * sysdeps/unix/sysv/linux/x86_64/syscalls.list (sendfile): Likewise. +2000-12-13 Jes Sorensen <jes@linuxcare.com> - * include/sys/stat.h (__fxstat64, __lxstat64): Only define if not - already defined. + * sysdeps/hppa/dl-machine.h (RTLD_START): _dl_init now returns a + function pointer, hence load the jump address and gp from the + function pointer before jumping. -2002-06-04 Bruno Haible <bruno@clisp.org> +2001-04-24 Andreas Jaeger <aj@suse.de> - * sysdeps/cris/stackinfo.h: New file. + * sysdeps/generic/send.c (__send): Return ssize_t. + * sysdeps/mach/hurd/send.c (__send): Likewise. + * sysdeps/mach/hurd/recv.c (recv): Likewise. + * sysdeps/mach/hurd/sendto.c (sendto): Likewise. + * sysdeps/generic/sendto.c (sendto): Likewise. + * sysdeps/generic/recvmsg.c (recvmsg): Likewise. + * sysdeps/mach/hurd/recvfrom.c (recvfrom): Likewise. + * sysdeps/generic/recvfrom.c (recvfrom): Likewise. + * sysdeps/generic/sendmsg.c (sendmsg): Likewise. + + * socket/sys/socket.h: send* and recv* return ssize_t. + + * include/sys/socket.h: send returns ssize_t. + + * sysdeps/i386/fpu_control.h: Fix comments. + +2001-04-24 Ulrich Drepper <drepper@redhat.com> + + * sysdeps/ia64/Dist: Add hp-timing.c. + * sysdeps/unix/sysv/linux/sparc/sparc64/Dist: Add ucontext_i.h. + * posix/Makefile (distribute): Add tst-getconf.sh. + * po/Makefile (distribute): Add $(BROKEN_LINGUAS:=.po). + +2001-04-23 Ulrich Drepper <drepper@redhat.com> + + * sysdeps/ia64/Makefile [subdir=csu] (sysdep_routines): Add hp-timing. + * sysdeps/ia64/Versions: Add _dl_cpuclock_offset for ld in 2.2.3. + * sysdeps/ia64/hp-timing.c: New file. + * sysdeps/ia64/hp-timing.h: New file. + * sysdeps/unix/sysv/linux/ia64/bits/time.h: Add definitions for + CLOCK_PROCESS_CPUTIME_ID and CLOCK_THREAD_CPUTIME_ID. + + * sysdeps/generic/clock_getcpuclockid.c: Make function generic, test + using #ifdef whether the clock is available. + * sysdeps/unix/i386/clock_getcpuclockid.c: Not needed anymore. + + * sysdeps/generic/dl-sysdep.c: Initialize _dl_cpuclock_offset to move + it into data section. + + * sysdeps/unix/i386/i586/clock_getres.c: Removed. + * sysdeps/unix/i386/i586/clock_gettime.c: Removed. + * sysdeps/unix/i386/i586/clock_nanosleep.c: Removed. + * sysdeps/unix/i386/i586/clock_settime.c: Removed. + * sysdeps/unix/i386/i586/cpuclock-init.h: Removed. + * sysdeps/generic/cpuclock-init.h: Removed. + * sysdeps/unix/i386/i686/Implies: Removed. + * sysdeps/unix/i386/i686/tempname.c: Removed. + * sysdeps/i386/i686/Versions: New file. + * sysdeps/unix/i386/i586/Versions: Removed. + + * sysdeps/posix/clock_getres.c: If HP_TIMING_AVAIL is nonzero handle + CLOCK_PROCESS_CPUTIME_ID and CLOCK_THREAD_CPUTIME_ID. + * sysdeps/unix/clock_gettime.c: Likewise. + * sysdeps/unix/clock_nanosleep.c: Likewise. + * sysdeps/unix/clock_settime.c: Likewise. + * sysdeps/posix/tempname.c: Is HP_TIMING_AVAIL is nonzero define + RANDOM_BITS use CPU clock. - * sysdeps/hppa/dl-machine.h (elf_machine_rela): Cast reloc_addr - to an integer type before performing bit operations on it. + * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/bits/time.h: New file. + * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9b/bits/time.h: New file. + * sysdeps/unix/sysv/linux/sparc/sparc64/bits/time.h: New file. + * sysdeps/sparc/Versions: New file. -2002-06-05 Roland McGrath <roland@frob.com> + * elf/dl-support.c: Don't use cpuclock-init.h definitions, use + hp-timing.h definitions. + * sysdeps/generic/dl-sysdep.c: Likewise. - * sysdeps/generic/sendfile.c: Include <errno.h>. - * sysdeps/generic/sendfile64.c: Likewise. + * include/libc-internal.h: Include hp-timing.h. Use hp_timing_t in + __get_clockfreq prototype. - * io/Makefile (routines): Add sendfile and sendfile64. - (headers): Add sys/sendfile.h to the list. - * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it here. - * sysdeps/unix/sysv/linux/sys/sendfile.h: Moved to ... - * io/sys/sendfile.h: ... here. - * sysdeps/generic/sendfile.c: New file. - * sysdeps/generic/sendfile64.c: New file. + * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq): + Use hp_timing_t type. + * sysdeps/generic/get_clockfreq.c (__get_clockfreq): Likewise. - * sysdeps/unix/sysv/linux/Versions (GLIBC_2.1, GLIBC_2.3): - Move sendfile, sendfile64 to ... - * io/Versions (GLIBC_2.1, GLIBC_2.3): ... here. - * sysdeps/mach/hurd/sendfile.c: New file. - * sysdeps/mach/hurd/sendfile64.c: New file. + * sysdeps/unix/sysv/linux/ia64/get_clockfreq.c: New file. - * sysdeps/mach/nanosleep.c: New file. + * sysdeps/posix/pathconf.c (__pathconf): For _PC_ASYNC_IO test + whether named file is a regular file or a block device. + * sysdeps/posix/fpathconf.c (__fpathconf): Likewise. -2002-06-04 Roland McGrath <roland@frob.com> +2001-04-23 Andreas Jaeger <aj@suse.de> - * sysdeps/alpha/elf/configure.in: New file. Check for TLS support. - * sysdeps/alpha/elf/configure: New file (generated). + * nscd/nscd.h: Add noreturn attribute for start_threads. -2002-06-02 Roland McGrath <roland@frob.com> +2001-04-22 Ulrich Drepper <drepper@redhat.com> - * include/link.h: Include <tls.h> to make sure USE_TLS is defined. + * posix/getconf.c: Fix names of XBS5 LFS test variables. + Add missing configuration variables from XPG6. + * posix/tst-getconf.c: New file. + * posix/Makefile (generated): Add tst-getconf.out. + (tests): Add ($objpfx)tst-getconf.out. + Add rule to run tst-getconf.sh. + * sysdeps/generic/bits/confname.h: Add missing _PC_ and _SC_ values + from XPG6. + * sysdeps/posix/fpathconf.c: Add handling of _PC_ALLOC_SIZE_MIN and + _PC_SYMLINK_MAX. + * sysdeps/posix/pathconf.c: Likewise. + * sysdeps/posix/sysconf.c: Correct spelling of _SC_MULTI_PROCESS + and _SC_SYMLOOP_MAX. -2002-06-01 Roland McGrath <roland@frob.com> +2001-04-22 Philip Blundell <philb@gnu.org> - * sysdeps/mach/hurd/alpha/init-first.c: New file, modified from - i386/init-first.c by Andrew M. Miklic <miklic@attglobal.net>. + * sysdeps/arm/fpu/feenablxcpt.c: New file. + * sysdeps/arm/fpu/fedisablxcpt.c: New file. + * sysdeps/arm/fpu/fegetexcpt.c: New file. -2002-05-19 Ulrich Drepper <drepper@redhat.com> +2001-04-22 Philip Blundell <philb@gnu.org> - * resolv/resolv.h (struct __res_state): Remove unused nstimes. - Add nsmap. - * resolv/res_init.c (__res_vinit): Initialize nsmap array. - Remove nstimes setting. - (res_nclose): Check all MAXNS nameservers with non-NULL nsaddrs. - * resolv/res_send.c (res_nsend): Don't close unconditionally if - there is mix of IPv6 and IPv4 nameservers. - Use nsmap array to find free slots and preserve nameserver ordering. - Fix RES_ROTATE. + * sysdeps/unix/sysv/linux/arm/sys/user.h (struct user_fpregs): + Renamed from struct user_fp. + (struct user_regs): New. + (struct user): Use struct user_regs rather than struct pt_regs to + avoid dependency on asm/ptrace.h. Use struct user_fpregs in place + of struct user_fp and struct user_fp_struct. + * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Include sys/procfs.h + not sys/elf.h. -2002-05-30 Ulrich Drepper <drepper@redhat.com> +2001-04-22 Philip Blundell <philb@gnu.org> - * sysdeps/unix/sysv/linux/sys/sendfile.h: It is now possible to - use this header with LFS. + * sysdeps/unix/sysv/linux/arm/sys/elf.h: Move contents to + sys/procfs.h, and tell the user to include that file instead. + * sysdeps/unix/sysv/linux/arm/sys/procfs.h: Remove old cruft + surrounded with #if 0. + (elf_greg_t, ELF_NGREG, elf_gregset_t, elf_fpregset_t): Moved here + from sys/elf.h. + (prgregset_t, prfpregset_t): Define in terms of elf_gregset_t and + elf_fpregset_t respectively. - * po/sk.po: Update from translation team. +2001-04-22 Philip Blundell <philb@gnu.org> -2002-05-28 Andreas Schwab <schwab@suse.de> + * sysdeps/unix/sysv/linux/arm/register-dump.h: Also print the + address that faulted. - * sysdeps/generic/readelflib.c (process_elf_file): Give correct - message when finding object of wrong class. +2001-04-21 Ulrich Drepper <drepper@redhat.com> -2002-05-28 Jakub Jelinek <jakub@redhat.com> + * sysdeps/generic/bits/confname.h: Add _SC_V6_* and _CS_POSIX_V6_* + values. + * sysdeps/generic/bits/environments.h: Define _POSIX_V6_* values. + * posix/confstr.c: Handle _CS_POSIX_V6_* values. + * posix/getconf.c: Handle _CS_POSIX_V6_* and _SC_V6_* values. + * sysdeps/posix/sysconf.c: Handle _SC_V6_* values. - * sysdeps/wordsize-32/divdi3.c (__moddi3): Fix pasto. - Patch by <radu@netsoft.ro>. + * sysdeps/powerpc/fpu/libm-test-ulps: Add deltas for atan2f. + * sysdeps/s390/fpu/libm-test-ulps: Likewise. + * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise. + * sysdeps/mips/fpu/libm-test-ulps: Likewise. -2002-05-30 Ulrich Drepper <drepper@redhat.com> +2001-04-21 Franz Sirl <Franz.Sirl-kernel@lauterbach.com> - * sysdeps/unix/sysv/linux/Makefile [$(subdir)==misc] (sysdep_routines): - Add readahead. - * sysdeps/unix/sysv/linux/readahead.c: New file. - * sysdeps/unix/sysv/linux/syscalls.list: Add sendfile64 syscall. - * sysdeps/unix/sysv/linux/Versions: Export readahead and sendfile64. - * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add readahead syscall. - Add sendfile64 alias to sendfile syscall. - * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise. - * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise. - * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add s_readahead - syscall. + * sysdeps/unix/sysv/linux/powerpc/mmap64.c: Correct check for invalid + offset. - * sysdeps/unix/sysv/linux/i386/sysdep.h: Use __i686.get_pc_thunk.XX - special section for PIC register loading. - * sysdeps/unix/sysv/linux/i386/i686/sysdep.h: Likewise. +2001-04-21 Ulrich Drepper <drepper@redhat.com> - * config.h.in: Define HAVE_HIDDEN. - * configure.in: Also define HAVE_HIDDEN if HAVE_PROTECTED is defined. + * posix/getopt.h: Treat __cplusplus like __STDC__. - * elf/elf.h: Correct Alpha TLS relocations according to last spec. +2001-04-20 John S. Marvin <jsm@fc.hp.com> -2002-05-28 Roland McGrath <roland@frob.com> + * sysdeps/unix/sysv/linux/hppa/clone.S: Fix clone system call + entry point stub. - * sysdeps/mach/alpha/setfpucw.c: New file. +2001-04-20 Richard Hirst <rhirst@linuxcare.com> -2002-05-26 Roland McGrath <roland@frob.com> + * elf/elf.h: Corrected R_PARISC_DIR14R (should be 6, not 5), + and added R_PARISC_DPREL21L and R_PARISC_DPREL14R for modutils. - * sysdeps/mach/hurd/ioctl.c (__ioctl): Don't use sizeof in _IOTS. - Use integer_t instead of int for IOC_VOID case. + * sysdeps/unix/sysv/linux/hppa/syscalls.list: Removed ptrace + entry so the ptrace.c wrapper is used. -2002-05-27 Alexandre Oliva <aoliva@redhat.com> +2001-04-20 Alan Modra <amodra@one.net.au> - * configure.in (DO_STATIC_NSS): Define if --disable-shared. + * sysdeps/hppa/dl-lookupcfg.h (_dl_function_address): Prototype. + (DL_FUNCTION_ADDRESS): Define. + (DL_DT_INIT_ADDRESS): Define. + (DL_DT_FINI_ADDRESS): Define. + * sysdeps/hppa/Versions: Add _dl_function_address. + * sysdeps/hppa/dl-machine.h (ELF_MACHINE_START_ADDRESS): Define. + * sysdeps/hppa/dl-symaddr.c (_dl_start_address): Rename to + _dl_function_address. -2002-05-26 Bruno Haible <bruno@clisp.org> +2001-04-21 Andreas Jaeger <aj@suse.de> - * iconvdata/iso-2022-jp.c (BODY for TO_LOOP): Avoid running off the - end of the ISO-8859-7 from idx table. + * rt/aio_misc.c (handle_fildes_io): Add noreturn attribute. + * resolv/gai_misc.c (handle_requests): Likewise. + * malloc/obstack.c (print_and_abort): Likewise. + * malloc/mcheck.c (mabort): Likewise. -2002-05-27 Ulrich Drepper <drepper@redhat.com> + * sysdeps/unix/i386/i586/clock_settime.c: Include + "libc-internal.h" for __get_clockfreq declaration. - * manual/lang.texi: Fix FLT_EPSILON description [PR libc/3649]. +2001-04-21 Ulrich Drepper <drepper@redhat.com> -2002-05-24 David S. Miller <davem@redhat.com> + * elf/dl-support.c: Include cpuclock-init.h. Use CPUCLOCK_VARDEF and + CPUCLOCK_INIT if defined. + * sysdeps/generic/dl-sysdep.c: Likewise. + * sysdeps/generic/cpuclock-init.h: New file. + * sysdeps/unix/i386/i586/cpuclock-init.h: New file. + * sysdeps/unix/i386/i586/Versions: New file. + * sysdeps/unix/i386/i586/clock_settime.c: New file. + * sysdeps/unix/i386/i586/clock_gettime.c: Handle thread CPU clock + separately by calling __pthread_clock_gettime if this function is + available. Subtract offset from tsc value before computing time value. - * string/bits/string2.h (memset): Do not try to optimize when - not _STRING_ARCH_unaligned if GCC will do the right thing. +2001-04-20 Ulrich Drepper <drepper@redhat.com> -2002-05-21 Isamu Hasegawa <isamu@yamato.ibm.com> + * iconv/iconv_prog.c (print_known_names): If printing goes not to + a tty print in a more machine-friendly way. - * posix/regex.c: Define `inline' as a macro into nothing for the - compilers which lack the keyword. - * posix/regex.h: (RE_SYNTAX_GNU_AWK): Remove RE_CONTEXT_INVALID_OPS - for the compatibility of gawk. - * posix/regcomp.c: Add fake implementation of isblank() for the - environments which lack the function. - Don't use free_charset() in case of non-i18n envs. - (build_range_exp): Don't use i18n related code in case of non-i18n - envs. - (build_collating_symbol): Likewise. - (build_equiv_class): Likewise. - (build_charclass): Likewise. - (re_compile_fastmap_iter): Likewise. - (parse_bracket_exp): Likewise. - (build_word_op): Likewise. - (regfree): Don't use free_charset() in case of non-i18n envs. - * posix/regex_internal.h: Remove COMPLEX_BRACKET from - re_token_type_t in case of non-i18n envs. - Don't define re_charset_t in case of non-i18n envs. - Change the type of wcs of re_string_t from wchar_t to wint_t, - since we store also WEOF. - * posix/regex_internal.c: (re_string_realloc_buffers): Change - the type of wcs of re_string_t from wchar_t to wint_t. - (re_string_reconstruct): Likewise. - (create_ci_newstate): Don't use i18n related code in case of - non-i18n envs. - (create_cd_newstate): Likewise. + * sysdeps/ieee754/ldbl-128/e_asinl.c: New file. + Contributed by Stephen L Moshier <moshier@mediaone.net>. -2002-05-24 Ulrich Drepper <drepper@redhat.com> +2001-04-20 Andreas Jaeger <aj@suse.de> - * iconv/loop.c: Fix typo. + * intl/Makefile (tests): Reorder conditions, tst-gettext needs msgfmt. -2002-05-23 Jakub Jelinek <jakub@redhat.com> +2001-04-20 Andreas Schwab <schwab@suse.de> - * inet/ether_line.c (ether_line): Fix a typo causing only - lower 4 bits of each ethernet address byte being assigned. - Don't modify what line points to. - * inet/tst-ether_aton.c (main): Add ether_line tests. + * sysdeps/m68k/fpu/libm-test-ulps: Update. -2002-05-23 Marcus Brinkmann <marcus@gnu.org> +2001-04-19 Alan Modra <amodra@one.net.au> - * manual/filesys.texi: Don't make readlink example leak memory - when readlink fails. + * Makerules (libc_pic.os): Add $(LDFLAGS-c_pic.os). + * sysdeps/hppa/Makefile (LDFLAGS-c_pic.os): Define. + (CFLAGS-.os): Remove. -2002-05-20 Ulrich Drepper <drepper@redhat.com> + * sysdeps/unix/sysv/linux/hppa/sysdep.h (CALL_MCOUNT): Update comment. - * iconv/loop.c: Fix condition for defining unaligned loop. Add - some more security checks. + * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (NGREG, NFPREG, + gregset): Correct for new kernel definitions. -2002-05-17 David S. Miller <davem@redhat.com> +2001-04-19 Alan Modra <alan@linuxcare.com.au> - * sysdeps/unix/sysv/linux/sparc/fork.S: Define _internal aliases. + * sysdeps/hppa/elf/initfini.c: Change dlt reg save to r3 and + generate unwind info by hand. -2002-05-16 David S. Miller <davem@redhat.com> +2001-04-19 Ulrich Drepper <drepper@redhat.com> - * sysdeps/sparc/sparc32/dl-machine.h (LOAD_PIC_REG): Define. - (elf_machine_dynamic): Use it to force PIC register to be loaded. - (elf_machine_load_address): Likewise. - * sysdeps/sparc/sparc64/dl-machine.h: Mirror sparc32 changes. + * sysdeps/unix/sysv/linux/powerpc/mmap64.c (__mmap64): Optimize a bit. - * sysdeps/sparc/sparc64/strncmp.S: When second argument pointer - is unaligned, do not forget to fully initialize %g1 magic value. + * configure.in: Correct regular expression for msgfmt. + Patch by Bruno Haible <haible@ilog.fr>. - * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Fix 64-bit elf - register definitions and provide 32-bit variants of structures - during 64-bit builds. +2001-04-19 Andreas Jaeger <aj@suse.de> - * soft-fp/op-1.h (_FP_FRAC_CLEAR_OVERP_1): Define. - * soft-fp/op-2.h (_FP_FRAC_CLEAR_OVERP_2): Define. - * soft-fp/op-4.h (_FP_FRAC_CLEAR_OVERP_4): Define. - * soft-fp/op-common.h (_FP_PACK_CANONICAL): After rounding, if - _FP_FRAC_OVERP_X is set, use _FP_FRAC_CLEAR_OVERP_X to clear it. - (_FP_FROM_INT): Perform right shifts on unsigned integer type. - Do not clear implicit one bit here, it must be done post-rounding. - Only pad to the left using left shift if value uses less than the - available fractional bits. + * po/el.po: Add comment explaining what's broken. -2002-05-20 Franz Sirl <Franz.Sirl-kernel@lauterbach.com> + * po/Makefile (BROKEN_LINGUAS): New. + (ALL_LINGUAS): Don't add broken languages. - * sysdeps/powerpc/Makefile (sysdeps_routines): Use libgcc-compat - instead of cmpdi2, shdi3, fixdfdi, fixsfdi in csu dir. - (shared-only-routines): Likewise. - * sysdeps/powerpc/libgcc-compat.c: New file. - * sysdeps/wordsize-32/cmpdi2.c: Removed. - * sysdeps/wordsize-32/fixdfdi.c: Removed. - * sysdeps/wordsize-32/fixsfdi.c: Removed. - * sysdeps/wordsize-32/shdi3.c: Removed. +2001-04-19 Roland McGrath <roland@frob.com> -2002-05-16 Bruno Haible <bruno@clisp.org> + * sysdeps/mach/hurd/mlock.c: New file. + * sysdeps/mach/hurd/munlock.c: New file. + * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_MEMLOCK_RANGE): Define it. - * MakeTAGS (libc.pot): Don't sort the output. - * po/header.pot: Update to match xgettext 0.11 output. + * misc/Makefile (routines): Add mlock munlock mlockall munlockall. + * sysdeps/generic/mlock.c: New file. + * sysdeps/generic/munlock.c: New file. + * sysdeps/generic/mlockall.c: New file. + * sysdeps/generic/munlockall.c: New file. + * sysdeps/generic/bits/mman.h (MCL_CURRENT, MCL_FUTURE): New macros. + * sysdeps/unix/sysv/linux/syscalls.list (mlock, munlock, + mlockall, munlockall): Change caller field to - from EXTRA. + Don't use __ names; not used (and not declared in include/sys/mman.h). -2002-05-16 Bruno Haible <bruno@clisp.org> + * hurd/privports.c (__get_privileged_ports): Renamed with __. + Use __ names for calls we make. + (get_privileged_ports): Add alias. + * hurd/hurd.h: Declare it with the __ name. + * sysdeps/mach/hurd/reboot.c (reboot): Use __get_privileged_ports. + * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise. + * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise. - * MakeTAGS (subdirs): Remove duplicates. - -2002-05-19 Ulrich Drepper <drepper@redhat.com> - - * sysdeps/unix/sysv/linux/errlist.c: Remove extra weak alias - definiton of _old_sys_nerr. Define _old_sys_errlist as strong - alias. + * hurd/hurdsig.c (write_corefile): Check RLIMIT_CORE limit and do + nothing if it's zero. -2002-05-19 Andreas Jaeger <aj@suse.de> +2001-04-19 Matthew Wilcox <willy@ldl.fc.hp.com> - * sysdeps/unix/sysv/linux/configure.in: Warn against an - installation in /usr/local. + * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): + Change to return a signed result for compatibility with other + architectures, and correctness. -2002-05-16 Bruno Haible <bruno@clisp.org> +2001-04-19 Ulrich Drepper <drepper@redhat.com> - * sysdeps/unix/sysv/aix/bits/ioctl-types.h: Don't use multiline - string as argument of #error. + * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_32BITUIDS): + HPPA always had them. Patch by Matthew Wilcox <matthew@wil.cx>. -2002-05-15 Ulrich Drepper <drepper@redhat.com> +2001-04-19 Andreas Jaeger <aj@suse.de> - * stdlib/canonicalize.c (canonicalize): Rename to __realpath and - don't define static. Remove old __realpath function. TC1 of - POSIX 2001 will allow the second parameter to be NULL. - * stdlib/test-canon.c: Comment out test for NULL as second - parameter of realpath. + * configure.in: Require gettext 0.10.36 or newer. - * time/offtime.c (__offtime): Set errno if overflow is detected. + * manual/install.texi (Tools for Compilation): Mention gettext 0.10.36. - * elf/Makefile (rtld-routines): Remove dl-brk and dl-sbrk. - * sysdeps/unix/sysv/linux/Makefile (sysdep-rtld-routines): Add - dl-brk and dl-sbrk. + * po/zh_TW.po: Remove extraneous backslashes. - * sysdeps/sparc/fpu/bits/mathinline.h (fdim): Add __THROW. - (fdimf): Likewise. + * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Remove unused + variables b and n. -2002-05-15 Roland McGrath <roland@frob.com> +2001-04-18 Jakub Jelinek <jakub@redhat.com> - * hurd/report-wait.c (_S_msg_report_wait): Use mach_msg_id_t for arg. + * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Update. + * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c: New file. + * sysdeps/unix/sysv/linux/sparc/sparc64/swapcontext.c: New file. + * sysdeps/unix/sysv/linux/sparc/sparc64/setcontext.S (__setcontext): + Copy first word of uc_sigmask into __uc_sigmask. + * sysdeps/unix/sysv/linux/sparc/sparc64/getcontext.S (__getcontext): + Save uc_link around trap. Copy __uc_sigmask into first word of + uc_sigmask, clear the rest. Make sure setcontext to the created + context doesn't do this though. + * sysdeps/unix/sysv/linux/sparc/sparc64/ucontext_i.h: New file. + * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (ucontext_t): Add + uc_stack and uc_sigmask, rename old uc_sigmask to __uc_sigmask in the + 64bit version, make uc_sigmask __sigset_t in the 32bit version. -2002-05-12 Bruno Haible <bruno@clisp.org> +2001-04-19 Andreas Jaeger <aj@suse.de> - * iconvdata/testdata/EUC-JISX0213: New file. - * iconvdata/testdata/EUC-JISX0213..UTF8: New file. - * iconvdata/testdata/SHIFT_JISX0213: New file. - * iconvdata/testdata/SHIFT_JISX0213..UTF8: New file. - * iconvdata/testdata/ISO-2022-JP-3: New file. - * iconvdata/testdata/ISO-2022-JP-3..UTF8: New file. - * iconvdata/TESTS: Add EUC-JISX0213, SHIFT_JISX0213, ISO-2022-JP-3. - * iconvdata/run-iconv-test.sh: Skip the charmap test if the charmap - contains comments indicating precomposed characters. + * sysdeps/unix/sysv/linux/hppa/umount.c: Fix typos in last patch. -2002-04-21 Bruno Haible <bruno@clisp.org> + * rt/Makefile (otherlibs): Added for static NSS. - * iconvdata/iso-2022-jp-3.c: New file. - * iconvdata/gconv-modules (ISO-2022-JP-3): New module. - * iconvdata/Makefile (modules): Add ISO-2022-JP-3. - (LDFLAGS-ISO-2022-JP-3.so): New variable. - (ISO-2022-JP-3.so): Depend on libJIS.so and libJISX0213.so. - (distribute): Add iso-2022-jp-3.c. + * glibcbug.in (BUGGLIBC): Send to new alias. -2002-05-12 Bruno Haible <bruno@clisp.org> +2001-04-02 Andreas Schwab <schwab@suse.de> - * iconvdata/tst-table-to.c (main): Restore handling of - transliterations, broken by last patch. + * Makerules (build-module): Make sure exit codes get checked + properly and remove unnecessary slashes. -2002-05-12 Bruno Haible <bruno@clisp.org> +2001-04-17 Ulrich Drepper <drepper@redhat.com> - * iconvdata/TESTS: Add IBM922, IBM1124, IBM1129. + * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq): + Handle kernels which report only three digits after the decimal point. + Reported by Van Okamura <van.okamura@oracle.com>. -2002-05-12 Bruno Haible <bruno@clisp.org> + * sysdeps/alpha/fpu/libm-test-ulps: Adjust error values for atan2f. - * iconvdata/euc-jisx0213.c (BODY for FROM_LOOP): Don't advance inptr - when there is not enough room in the output buffer. - * iconvdata/shift_jisx0213.c (BODY for FROM_LOOP): Likewise. +2001-04-17 David S. Miller <davem@redhat.com> -2002-04-20 Bruno Haible <bruno@clisp.org> + * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Update for new atan2 tests. + * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise. - * iconv/skeleton.c ({FROM,TO}_LOOP_{MIN,MAX}_NEEDED_{FROM,TO}): New - macros. - (RESET_INPUT_BUFFER): Use them instead of {MIN,MAX}_NEEDED_{FROM,TO}. - Also make this macro work if FROM_DIRECTION evaluates to 0. - (gconv_init): Use the new macros instead of {MIN,MAX}_NEEDED_{FROM,TO}. - (FUNCTION_NAME): Likewise, in the handling of unaligned accesses and - of consume_incomplete. - * iconvdata/cp1255.c: Define {FROM,TO}_LOOP_{MIN,MAX}_NEEDED_{FROM,TO} - instead of {MIN,MAX}_NEEDED_{FROM,TO}. Set FROM_LOOP_MAX_NEEDED_TO to - 4, not 8. - * iconvdata/cp1258.c: Likewise. - * iconvdata/ibm930.c: Define {FROM,TO}_LOOP_{MIN,MAX}_NEEDED_{FROM,TO} - instead of {MIN,MAX}_NEEDED_{FROM,TO}. Set TO_LOOP_MAX_NEEDED_TO to 3, - not 2. - * iconvdata/ibm933.c: Likewise. - * iconvdata/ibm935.c: Likewise. - * iconvdata/ibm937.c: Likewise. - * iconvdata/ibm939.c: Likewise. - * iconvdata/iso-2022-cn.c: Define - {FROM,TO}_LOOP_{MIN,MAX}_NEEDED_{FROM,TO} instead of - {MIN,MAX}_NEEDED_{FROM,TO}. Set TO_LOOP_MAX_NEEDED_TO to 6, not 4. - * iconvdata/iso-2022-cn-ext.c: Likewise. - * iconvdata/iso-2022-jp.c: Define - {FROM,TO}_LOOP_{MIN,MAX}_NEEDED_{FROM,TO} instead of - {MIN,MAX}_NEEDED_{FROM,TO}. - * iconvdata/tcvn5712-1.c: Define - {FROM,TO}_LOOP_{MIN,MAX}_NEEDED_{FROM,TO} instead of - {MIN,MAX}_NEEDED_{FROM,TO}. Set FROM_LOOP_MAX_NEEDED_FROM to 1, not 2. - * iconvdata/euc-jisx0213.c: Define - {FROM,TO}_LOOP_{MIN,MAX}_NEEDED_{FROM,TO} instead of - {MIN,MAX}_NEEDED_{FROM,TO}. Set FROM_LOOP_MAX_NEEDED_TO to 8, not 4. - * iconvdata/shift_jisx0213.c: Likewise. - -2002-05-14 Franz Sirl <Franz.Sirl-kernel@lauterbach.com> - - * sysdeps/powerpc/Makefile (sysdeps_routines): Add divdi3, cmpdi2, - shdi3, fixdfdi, fixsfdi in csu dir. - (shared-only-routines): Likewise. - * sysdeps/wordsize-32/cmpdi2.c: New file. - * sysdeps/wordsize-32/shdi3.c: New file. - * sysdeps/wordsize-32/fixdfdi.c: New file. - * sysdeps/wordsize-32/fixsfdi.c: New file. - * sysdeps/powerpc/Versions (__divdi3, __moddi3, __udivdi3, __umoddi3, - __ashldi3, __ashrdi3, __lshrdi3, __cmpdi2, __ucmpdi2, __fixdfdi, - __fixsfdi, __fixunsdfdi, __fixunssfdi): Export at GLIBC_2.0. - - * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl): - Only use va_arg if the argument will be used [PR libc/3259]. - -2002-05-06 Michael A. Schmidt <mmaass@us.ibm.com> - - * catgets/catgets.c (catopen): Free buffer if internal catalog - open fails. - -2002-05-14 Ulrich Drepper <drepper@redhat.com> - - * debug/xtrace.sh: Make more robust. For realtime tracking use - non-buffering methods. - * debug/pcprofiledump.c: Implement -u option. - Patch by Roger Luethi <rl@hellgate.ch>. - -2002-05-11 Jakub Jelinek <jakub@redhat.com> - - * include/netinet/in.h (bindresvport_internal): Add prototype. - * include/rpc/auth.h (authunix_create_internal, - authunix_create_default_internal, authnone_create_internal, - authdes_pk_create_internal): Add prototypes. - * include/rpc/clnt.h (clnt_create_internal, clnttcp_create_internal, - clntudp_create_internal, clntudp_bufcreate_internal, - clntunix_create_internal): Add prototypes. - * include/rpc/svc.h (svc_sendreply_internal, svcerr_decode_internal, - svc_getreq_internal, svc_getreq_common_internal, - svc_getreqset_internal, svc_getreq_poll_internal, - svc_register_internal, svc_unregister_internal, - svcudp_create_internal, svcudp_bufcreate_internal): Add prototypes. - * include/rpc/svc_auth.h (_authenticate_internal): Add prototype. - * include/sys/socket.h (__sendto, __recvfrom, __sendmsg, __recvmsg, - __setsockopt, __getsockname, __bind, __listen): Add prototypes. - * inet/rexec.c (rexec_af): Use __listen and __getsockname. - * inet/rcmd.c (rcmd_af): Use __listen. - (rresvport_af): Use __bind. - * sunrpc/clnt_udp.c: Use INTUSE calls to bindresvport, - authunix_create, authunix_create_default, authnone_create, - authdes_pk_create, clnt_create, clnttcp_create, clntudp_create, - clntudp_bufcreate, clntunix_create svc_sendreply, svcerr_decode, - svc_getreq, svc_getreq_common, svc_getreqset, svc_getreq_poll, - svc_register, svc_unregister, svcudp_create, svcudp_bufcreate, - _authenticate, add INTDEF after such function definitions. - Use __listen, __bind, __sendto, __recvfrom, __sendmsg, __recvmsg, - __setsockopt, __getsockname instead of non-__ variants. - * sunrpc/pmap_rmt.c: Likewise. - * sunrpc/rtime.c: Likewise. - * sunrpc/svc_udp.c: Likewise. - * sunrpc/clnt_unix.c: Likewise. - * sunrpc/svc_unix.c: Likewise. - * sunrpc/bindrsvprt.c: Likewise. - * sunrpc/svc_tcp.c: Likewise. - * sunrpc/auth_none.c: Likewise. - * sunrpc/clnt_raw.c: Likewise. - * sunrpc/clnt_tcp.c: Likewise. - * sunrpc/auth_unix.c: Likewise. - * sunrpc/key_call.c: Likewise. - * sunrpc/clnt_gen.c: Likewise. - * sunrpc/pm_getmaps.c: Likewise. - * sunrpc/clnt_simp.c: Likewise. - * sunrpc/pmap_clnt.c: Likewise. - * sunrpc/svc_run.c: Likewise. - * sunrpc/svc.c: Likewise. - * sunrpc/svc_simple.c: Likewise. - * sunrpc/pm_getport.c: Likewise. - * sunrpc/auth_des.c: Likewise. - * sunrpc/svc_auth.c: Likewise. - * sysdeps/generic/unwind-dw2-fde.c (__register_frame_info_bases, - __register_frame_info_table_bases, __deregister_frame_info_bases): - Add INTDEF. - (__register_frame_info_bases_internal, - __register_frame_info_table_bases_internal, - __deregister_frame_info_bases_internal): Add prototypes. - (__register_frame_info, __register_frame): Use INTUSE in call to - __register_frame_info_bases. - (__register_frame_info_table): Similarly. - (__deregister_frame_info, __deregister_frame): Similarly. - * sysdeps/generic/sendto.c (__sendto): Renamed from sendto, add - sendto as weak alias. - * sysdeps/mach/hurd/sendto.c: Likewise. - * sysdeps/generic/recvfrom.c (__recvfrom): Renamed from recvfrom, add - recvfrom as weak alias. - * sysdeps/mach/hurd/recvfrom.c: Likewise. - * sysdeps/unix/sysv/aix/recvfrom.c: Likewise. - * sysdeps/generic/recvmsg.c (__recvmsg): Renamed from recvmsg, add - recvmsg as weak alias. - * sysdeps/unix/sysv/aix/recvmsg.c: Likewise. - * sysdeps/generic/sendmsg.c (__sendmsg): Renamed from sendmsg, add - sendmsg as weak alias. - * sysdeps/unix/sysv/aix/sendmsg.c: Likewise. - * sysdeps/generic/setsockopt.c (__setsockopt): Renamed from - setsockopt, add setsockopt as weak alias. - * sysdeps/mach/hurd/setsockopt.c: Likewise. - * sysdeps/generic/bind.c (__bind): Renamed from bind, add bind as - weak alias. - * sysdeps/mach/hurd/bind.c: Likewise. - * sysdeps/generic/listen.c (__listen): Renamed from listen, add listen - as weak alias. - * sysdeps/mach/hurd/listen.c: Likewise. - * sysdeps/generic/getsockname.c (__getsockname): Renamed from - getsockname, add getsockname as weak alias. - * sysdeps/mach/hurd/getsockname.c: Likewise. - * sysdeps/unix/sysv/aix/getsockname.c: Likewise. - * sysdeps/mach/hurd/recvmsg.c (__recvmsg): Add weak alias. - * sysdeps/mach/hurd/sendmsg.c (__sendmsg): Add weak alias. - * sysdeps/unix/inet/syscalls.list (__bind, __listen, __recvmsg, - __recvfrom, __sendmsg, __sendto, __setsockopt): Add aliases. - * sysdeps/unix/sysv/linux/alpha/syscalls.list (__recvmsg, __sendmsg): - Add aliases. - * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise. - * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise. - * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise. - * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise. - * sysdeps/unix/sysv/linux/recvfrom.S (__recvfrom): Add weak alias. - * sysdeps/unix/sysv/linux/recvmsg.S (__recvmsg): Likewise. - * sysdeps/unix/sysv/linux/sendmsg.S (__sendmsg): Likewise. - * sysdeps/unix/sysv/linux/sendto.S (__sendto): Likewise. - * sysdeps/unix/sysv/linux/setsockopt.S (__setsockopt): Likewise. - * sysdeps/unix/sysv/linux/bind.S (__bind): Likewise. - * sysdeps/unix/sysv/linux/listen.S (__listen): Likewise. - * sysdeps/unix/sysv/linux/getsockname.S (__getsockname): Likewise. - -2002-05-10 Jakub Jelinek <jakub@redhat.com> - - * locale/programs/localedef.h (show_archive_content): Add verbose - argument. - * locale/programs/localedef.c (main): Adjust caller. - * locale/programs/locarchive.c (struct nameent, struct dataent): New - types. - (nameentcmp, dataentcmp): New functions. - (xstrcmp): Remove. - (show_archive_content): Print verbose listing with --list-archive -v. +2001-04-17 Jakub Jelinek <jakub@redhat.com> -2002-05-14 Ulrich Drepper <drepper@redhat.com> + * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Make sure + desired exceptions are raised for exceptional values. + * math/libm-test.inc (acosh_test, atan_test, atan2_test, cacos_test, + cacosh_test, casin_test, casinh_test, catan_test, catanh_test, + clog_test, log_test, log1p_test, tan_test): Increase precision of + expected values to satisfy ldbl-128. + * sysdeps/alpha/fpu/libm-test-ulps: Adjust accordingly. + * sysdeps/arm/libm-test-ulps: Likewise. + * sysdeps/i386/fpu/libm-test-ulps: Likewise. + * sysdeps/ia64/fpu/libm-test-ulps: Likewise. + * sysdeps/m68k/fpu/libm-test-ulps: Likewise. + * sysdeps/mips/fpu/libm-test-ulps: Likewise. + * sysdeps/powerpc/fpu/libm-test-ulps: Likewise. + * sysdeps/s390/fpu/libm-test-ulps: Likewise. + * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise. + * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise. + * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise. - * locale/programs/locarchive.c (open_archive): Take extra argument - readonly. If true open file with O_RDONLY and don't create the - archive if it doesn't exist. - Adapt all callers. - (close_archive): Don't do anything if fd element is -1. - * locale/programs/localedef.h (open_archive): Adjust prototype. - * locale/programs/locfile.c (write_all_categories): Adjust open_archive - call. +2001-04-17 Andreas Jaeger <aj@suse.de> - * malloc/malloc.c (__posix_memalign): Correct check for size of - alignment value [PR libc/3444]. + * configure.in: Move test for critical programs up. - * include/stdio.h: Remove references to old stdio implementation. +2001-04-16 Stephen L Moshier <moshier@mediaone.net> - * libio/Makefile (bug-ungetwc2-ENV): Define. + * sysdeps/ieee754/flt-32/e_asinf.c (pio2_hi, pio2_lo, pio4_hi): + Correct the values. + (pSx, qSx): Replace by shorter approximation. + Use f suffix on float constants. -2002-05-13 Roland McGrath <roland@frob.com> +2001-04-16 Ulrich Drepper <drepper@redhat.com> - * iconv/gconv_charset.h (upstr): Add inline keyword, quiets warning. + * sysdeps/ieee754/ldbl-128/k_tanl.c: New file. + Contributed by Stephen L Moshier <moshier@mediaone.net>. - * hurd/hurdinit.c (_hurd_init): Use internal name _hurd_new_proc_init. + * string/string.h: Replace const in attribute list with __const__. -2002-05-13 Marcus Brinkmann <marcus@gnu.org> +2001-04-16 Roland McGrath <roland@frob.com> - * hurd/hurdchdir.c (_hurd_change_directory_port_from_name): - Allocate three, not two, more than LEN when appending '/.'. - * sysdeps/mach/hurd/chroot.c (chroot): Likewise. Don't check - if NAME ends with '/.' if it is shorter than 2 chars. + * grp/initgroups.c (initgroups) [NGROUPS_MAX != 0]: Always use sysconf + instead of the constant NGROUPS_MAX. That way, the limit can be + raised in the kernel configuration without having to recompile libc. -2002-05-12 Roland McGrath <roland@frob.com> + * sysdeps/posix/euidaccess.c: Don't #include <limits.h> or try to + define NGROUPS_MAX; we don't use it here. - * mach/Makefile ($(mach-syscalls:%=$(objpfx)%.S)): Make the generated - files #include <sysdep.h> instead of <mach/machine/syscall_sw.h>. +2001-04-16 Andreas Jaeger <aj@suse.de> - * hurd/hurdexec.c (_hurd_exec): Reauthenticate ports/dtable used in - file_exec to effect svuid=euid, svgid=egid if that is not a no-op. + * math/libm-test.inc (atan2_test): Add more testcases. -2002-05-10 Jakub Jelinek <jakub@redhat.com> + * iconv/gconv_db.c: Include gconv_charset.h for + __gconv_lookup_alias prototype. - * sysdeps/ia64/Makefile: Remove extra endif. - * sysdeps/ia64/ia64libgcc.S (__divsf3): Fix typo in symbol version. +2001-04-13 Ulrich Drepper <drepper@redhat.com> -2002-05-10 Andreas Schwab <schwab@suse.de> + * sysdeps/ieee754/ldbl-128/s_atanl.c: New file. + Contributed by Stephen L Moshier <moshier@mediaone.net>. - * sysdeps/powerpc/fpu/w_sqrt.c: Add sqrtl alias. +2001-04-13 Jes Sorensen <jes@linuxcare.com> -2002-05-09 Andreas Jaeger <aj@suse.de> + * intl/tst-codeset.c: Include string.h to get prototype for strcmp(). - * sysdeps/unix/sysv/linux/x86_64/sys/io.h: New file. - * sysdeps/unix/sysv/linux/x86_64/Dist: Add it. - * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers): Add it. +2001-04-13 Jes Sorensen <jes@linuxcare.com> - * sysdeps/unix/sysv/linux/ia64/glob.c: Move to ... - * sysdeps/wordsize-64/glob.c: ...here. - * sysdeps/unix/sysv/linux/x86_64/glob.c: Remove. - * sysdeps/unix/sysv/linux/s390/s390-64/glob.c: Remove. - * sysdeps/unix/sysv/linux/sparc/sparc64/glob.c: Remove. + * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Add __pad0 to + explicitly pad struct siginfo instead of relying on compiler padding. -2002-05-08 Roland McGrath <roland@frob.com> +2001-04-12 Ulrich Drepper <drepper@redhat.com> - * hurd/hurdfchdir.c (_hurd_change_directory_port_from_fd): Use - O_NOTRANS flag in "." lookup. + * sysdeps/ia64/Dist: Add elf/entry.h. -2002-05-05 Ulrich Drepper <drepper@redhat.com> + * iconvdata/Makefile (distribute): Add TESTS2. - * malloc/mtrace.c: Comment out use of _mtrace_file and _mtrace_len. +2001-04-13 Jakub Jelinek <jakub@redhat.com> -2002-05-04 Ulrich Drepper <drepper@redhat.com> + * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_load_address): + Calculate load address differently. - * locale/duplocale.c (__duplocale): Update special members only - when allocation succeeded. +2001-04-12 Bruno Haible <haible@clisp.cons.org> -2002-05-03 Roland McGrath <roland@frob.com> + * iconvdata/TESTS2: New file. + * iconvdata/run-iconv-test.sh: Also run tests from TESTS2. + * iconvdata/testdata/alfabeta..UTF-8: New file. + * iconvdata/testdata/alfabeta..UTF-16.BE: New file. + * iconvdata/testdata/alfabeta..UTF-16.LE: New file. + * iconvdata/testdata/alfabeta..UTF-32.BE: New file. + * iconvdata/testdata/alfabeta..UTF-32.LE: New file. - * shlib-versions (.*-.*-gnu-gnu.*): Remove USE_IN_LIBIO conditionals; - we can only build libc.so.0.3(GLIBC_2.2.6) now. +2001-04-11 Bruno Haible <haible@clisp.cons.org> -2002-05-02 Jakub Jelinek <jakub@redhat.com> + * iconvdata/utf-32.c: New file. + * iconvdata/gconv-modules: Add entries for UTF-32, UTF-32LE, UTF-32BE. + * iconvdata/Makefile (modules): Add UTF-32. + (distribute): Add utf-32.c. - * sysdeps/ia64/Makefile: Add ia64libgcc in csu subdir. - * sysdeps/ia64/Versions (__divtf3, __divdf3, __divsf3, __divdi3, - __moddi3, __udivdi3, __umoddi3, __multi3): Export at GLIBC_2.0. - * sysdeps/ia64/ia64libgcc.S: New file. +2001-04-11 Bruno Haible <haible@clisp.cons.org> -2002-05-02 Ulrich Drepper <drepper@redhat.com> + * iconvdata/utf-16.c (PREPARE_LOOP): Initialize 'swap' after possibly + changing it in the state. After incrementing 'inptr', store it back. + * iconvdata/unicode.c (PREPARE_LOOP): After incrementing 'inptr', + store it back. - * sysdeps/generic/dl-tls.c (oom): Implement using _dl_fatal_printf. +2001-04-11 Bruno Haible <haible@clisp.cons.org> - * malloc/memusage.c: Distinguish anonymous mmap. + * iconvdata/utf-16.c (gconv_init): Use MAX_NEEDED_FROM, not + MIN_NEEDED_FROM. -2002-05-01 Roland McGrath <roland@frob.com> +2001-04-11 David Mosberger <davidm@hpl.hp.com> - * sysdeps/mach/hurd/close.c: #undef __close before function defn, - and use INTDEF on it. - * sysdeps/mach/hurd/fcntl.c: Use INTDEF2. + * sysdeps/ia64/htonl.S: Drop superfluous "alloc". + * sysdeps/ia64/htons.S: Likewise. - * sysdeps/mach/hurd/dl-sysdep.c (errno): New variable. + * sysdeps/ia64/memset.S: Add unwind directives. + * sysdeps/ia64/strncpy.S: Likewise. + * sysdeps/ia64/strcat.S: Likewise. - * sysdeps/mach/hurd/alpha/static-start.S: New file (unfinished). + * sysdeps/ia64/memccpy.S: Add unwind directives. Drop superfluous + restore of ar.pfs. + * sysdeps/ia64/strchr.S: Likewise. + * sysdeps/ia64/memmove.S: Likewise. + * sysdeps/ia64/memcpy.S: Likewise. + * sysdeps/ia64/memcmp.S: Likewise. + * sysdeps/ia64/memchr.S: Likewise. + * sysdeps/ia64/strcmp.S: Likewise. + * sysdeps/ia64/strlen.S: Likewise. + * sysdeps/ia64/strcpy.S: Likewise. + * sysdeps/ia64/strncmp.S: Likewise. -2002-05-01 Ulrich Drepper <drepper@redhat.com> +2001-04-11 Jakub Jelinek <jakub@redhat.com> - * malloc/memusage.c: Add support for tracking mmap & friends. - * malloc/memusage.sh: Implement -m/--mmap option. + * wcsmbs/wchar.h (fgetwc, getwc, getwchar, fputwc, putwc, putwchar, + fgetws, fputws, ungetwc, getwc_unlocked, getwchar_unlocked, + fgetwc_unlocked, fputwc_unlocked, putwc_unlocked, putwchar_unlocked, + fgetws_unlocked, fputws_unlocked, wcsftime): Add __THROW. -2002-04-30 Jakub Jelinek <jakub@redhat.com> +2001-04-11 Andreas Jaeger <aj@suse.de> - * locale/programs/locarchive.c (create_archive): Add archivefname - argument, create fname from it. - (enlarge_archive): Honour output_prefix. - (open_archive): Likewise. + * sysdeps/mips/elf/start.S [__ASSEMBLY__]: Define it. -2002-04-30 Jakub Jelinek <jakub@redhat.com> +2001-04-11 Andreas Schwab <schwab@suse.de> - * locale/programs/locarchive.c (add_locales_to_archive): Don't nest - too many stpcpy macros. + * sysdeps/m68k/fpu/libm-test-ulps: Adjusted. -2002-04-26 Bruno Haible <bruno@clisp.org> +2001-04-11 Ulrich Drepper <drepper@redhat.com> - * locale/programs/ld-collate.c (collate_read): Cast first argument - for "%.*s" to int. + * sysdeps/arm/stackinfo.h: New file. -2002-04-26 Bruno Haible <bruno@clisp.org> +2001-04-08 Thorsten Kukuk <kukuk@suse.de> - * include/libintl.h (__ngettext, __dngettext, __dcngettext, - __dcngettext_internal): New declarations. - (__gettext, __dgettext, __dcgettext, __dcgettext_internal): Add - attribute declarations. + * sunrpc/rpc_main.c: If we compile RPC thread safe, allow + rpcgen to generate thread safe code. -2002-04-30 Roland McGrath <roland@frob.com> +2001-04-10 Andreas Jaeger <aj@suse.de> - Removed old GNU stdio implementation; GNU libio is now the only option. - * configure.in: Removed --enable-libio option and @stdio@ subst var. - Define USE_IN_LIBIO unconditionally. - * configure: Regenerated. - * Makeconfig (stdio): Set to libio by default. - * config.make.in (stdio): Variable removed. - * sysdeps/unix/sysv/linux/configure.in: Don't set $stdio. - * sysdeps/unix/sysv/linux/configure: Regenerated. - * sysdeps/mach/hurd/configure.in: Don't test $stdio. - * sysdeps/mach/hurd/configure: Regenerated. - * stdio/.cvsignore: File removed. - * stdio/Makefile: File removed. - * stdio/Versions: File removed. - * stdio/__fbufsize.c: File removed. - * stdio/__flbf.c: File removed. - * stdio/__fpending.c: File removed. - * stdio/__fpurge.c: File removed. - * stdio/__freadable.c: File removed. - * stdio/__freading.c: File removed. - * stdio/__fsetlocking.c: File removed. - * stdio/__fwritable.c: File removed. - * stdio/__fwriting.c: File removed. - * stdio/clearerr.c: File removed. - * stdio/fclose.c: File removed. - * stdio/fcloseall.c: File removed. - * stdio/feof.c: File removed. - * stdio/ferror.c: File removed. - * stdio/fflush.c: File removed. - * stdio/fgetc.c: File removed. - * stdio/fgetpos.c: File removed. - * stdio/fgets.c: File removed. - * stdio/fileno.c: File removed. - * stdio/fmemopen.c: File removed. - * stdio/fopen.c: File removed. - * stdio/fopncook.c: File removed. - * stdio/fputc.c: File removed. - * stdio/fputs.c: File removed. - * stdio/fread.c: File removed. - * stdio/freopen.c: File removed. - * stdio/fseek.c: File removed. - * stdio/fsetpos.c: File removed. - * stdio/ftell.c: File removed. - * stdio/fwrite.c: File removed. - * stdio/getc.c: File removed. - * stdio/getchar.c: File removed. - * stdio/getdelim.c: File removed. - * stdio/gets.c: File removed. - * stdio/glue.c: File removed. - * stdio/internals.c: File removed. - * stdio/linewrap.c: File removed. - * stdio/linewrap.h: File removed. - * stdio/memstream.c: File removed. - * stdio/newstream.c: File removed. - * stdio/obstream.c: File removed. - * stdio/putc.c: File removed. - * stdio/putchar.c: File removed. - * stdio/puts.c: File removed. - * stdio/rewind.c: File removed. - * stdio/setbuf.c: File removed. - * stdio/setbuffer.c: File removed. - * stdio/setlinebuf.c: File removed. - * stdio/setvbuf.c: File removed. - * stdio/stdio.h: File removed. - * stdio/ungetc.c: File removed. - * stdio/vasprintf.c: File removed. - * stdio/vscanf.c: File removed. - * stdio/vsnprintf.c: File removed. - * stdio/vsprintf.c: File removed. - * stdio/vsscanf.c: File removed. - * sysdeps/generic/defs.c: File removed. - * sysdeps/generic/fdopen.c: File removed. - * sysdeps/generic/pipestream.c: File removed. - * sysdeps/generic/stdio_init.c: File removed. - * sysdeps/generic/sysd-stdio.c: File removed. - * sysdeps/generic/vdprintf.c: File removed. - * sysdeps/mach/hurd/defs.c: File removed. - * sysdeps/mach/hurd/fdopen.c: File removed. - * sysdeps/mach/hurd/pipestream.c: File removed. - * sysdeps/mach/hurd/stdio_init.c: File removed. - * sysdeps/mach/hurd/sysd-stdio.c: File removed. - * sysdeps/mach/hurd/vdprintf.c: File removed. - * sysdeps/posix/defs.c: File removed. - * sysdeps/posix/fdopen.c: File removed. - * sysdeps/posix/pipestream.c: File removed. - * sysdeps/posix/stdio_init.c: File removed. - * sysdeps/posix/vdprintf.c: File removed. - * sysdeps/unix/pipestream.c: File removed. - * sysdeps/unix/sysv/sysd-stdio.c: File removed. - * sysdeps/unix/sysv/sco3.2.4/pipestream.c: File removed. - * sysdeps/unix/sysv/sysv4/pipestream.c: File removed. - -2002-04-29 Roland McGrath <roland@frob.com> - - * include/libc-symbols.h (link_warning): Use `unused' attribute. - -2002-04-28 Ulrich Drepper <drepper@redhat.com> - - * sysdeps/generic/tls.h: Describe what must be defined. - - * sysdeps/generic/glob.c (glob): Don't pass GLOB_NOMAGIC flag to - glob_in_dir [PR libc/3385]. - * posix/globtest.sh: Add test case. - - * intl/loadmsgcat.c [!_LIBC] (_nl_init_domain_conv): Don't add - //TRANSLIT twice. - -2002-04-27 Ulrich Drepper <drepper@redhat.com> - - * sysdeps/unix/sysv/linux/ia64/fxstat.c: Fix a few issues with the - _internal symbol handling. - * sysdeps/unix/sysv/linux/ia64/lxstat.c: Likewise. - -2002-04-26 Ulrich Drepper <drepper@redhat.com> - - * sysdeps/ia64/fpu/s_finite.S: Define _internal aliases. - * sysdeps/unix/sysv/linux/ia64/fork.S: Likewise. - -2002-04-26 Isamu Hasegawa <isamu@yamato.ibm.com> - - * posix/regcomp.c (re_compile_fastmap_iter): Fix fastmap in case of - not _LIBC and RE_ENABLE_I18N. - (build_range_exp): Implement for not _LIBC. - (build_collating_symbol): Likewise. - (parse_bracket_exp): Unify redundant error handlings. - Don't erase mbcset for non matching list in multibyte envs. - (build_word_op): Add '_' to matching list for \w operator. - * posix/regex_internal.c (re_string_construct): Invoke - build_upper_buffer in case of not RE_ENABLE_I18N. - (re_string_reconstruct): Don't touch cur_state in case of not - RE_ENABLE_I18N. - * posix/regex_internal.h (attribute_hidden): New macro in case of - not _LIBC. - (re_charset_t): Define range_starts/ends in case of not _LIBC. - * posix/regexec.c (sift_states_iter_mb): Hide in case of not - RE_ENABLE_I18N. - (transit_state_mb): Likewise. - (check_node_accept_bytes): Implement the code evaluating range - expression in case of not _LIBC. - (find_collation_sequence_value): Hide in case of not _LIBC. - -2002-04-26 Jakub Jelinek <jakub@redhat.com> - - * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Copied from - i386/semctl.c. - (__old_semctl, __new_semctl): Only use va_arg if the argument will - be used. - -2002-04-26 Ulrich Drepper <drepper@redhat.com> - - * sysdeps/ia64/fpu/s_isinf.S: Fix definition of _internal names. - - * sysdeps/ia64/strncpy.S: Fix recovery code. - Patch by David Mosberger <davidm@hpl.hp.com>. - -2002-04-24 Ulrich Drepper <drepper@redhat.com> - - * sysdeps/unix/sysv/linux/ia64/Versions [libc]: Add getunwind for - GLIBC_2.2.6. - -2002-04-14 Bruno Haible <bruno@clisp.org> - - * posix/regex.c (re_max_failures): Add back symbol for binary - compatibility. - -2002-04-22 Isamu Hasegawa <isamu@yamato.ibm.com> - - * posix/regcomp.c (re_compile_internal): Adapt it to new interface - of buffer building functions. - * posix/regex_internal.c (re_string_allocate): New function. - (re_string_realloc_buffers): New function. - (re_string_skip_chars): New function. - (re_string_reconstruct): New function. - (re_string_construct): Adapt it to new interface of buffer building - functions. - (re_string_construct_common): Likewise. - (build_wcs_buffer): Likewise. - (build_wcs_upper_buffer): Likewise. - (build_upper_buffer): Likewise. - (re_string_translate_buffer): Likewise. - (re_string_context_at): Adapt it to variable length buffers. - * posix/regex_internal.h (re_string_t): Add new fields to handle - variable length buffers. - (re_match_context_t): Likewise. - * posix/regexec.c (re_search_internal): Adapt it to new interface - of re_string_t and re_match_context_t. - (acquire_init_state_context): Likewise. - (check_matching): Likewise. - (check_halt_state_context): Likewise. - (proceed_next_node): Likewise. - (set_regs): Likewise. - (sift_states_backward): Likewise. - (clean_state_log_if_need): Likewise. - (sift_states_iter_mb): Likewise. - (sift_states_iter_bkref): Likewise. - (add_epsilon_backreference): Likewise. - (transit_state): Likewise. - (transit_state_sb): Likewise. - (transit_state_mb): Likewise. - (transit_state_bkref): Likewise. - (transit_state_bkref_loop): Likewise. - (check_node_accept): Likewise. - (match_ctx_init): Likewise. - (extend_buffers): New function. + * math/test-fenv.c (initial_tests): Protect FE_TONEAREST declaration. -2002-04-21 Bruno Haible <bruno@clisp.org> +2001-04-10 Ulrich Drepper <drepper@redhat.com> - * iconvdata/tst-table.sh: For the second check, use the truncated - GB18030 charmap table, like for the first check. + * elf/dl-minimal.c (__assert_fail): Change error string. It's + most of the time no bug in ld.so. + (__assert_perror_fail): Likewise. -2002-04-24 Ulrich Drepper <drepper@redhat.com> +2001-04-11 Hans-Peter Nilsson <hp@axis.com> - * elf/dl-load.c (open_verify): Correct __lseek parameters. - Patch by Simon Hildrew <simon@hildrew.net> [PR libc/3354]. + * sysdeps/generic/bits/fenv.h (fexcept_t): Change default type + from struct to unsigned int. -2002-04-23 H.J. Lu <hjl@gnu.org> +2001-04-10 Franz Sirl <Franz.Sirl-kernel@lauterbach.com> - * include/math.h (isfinite): Fix a typo. + * elf/elf.h (AT_DCACHEBSIZE, AT_ICACHEBSIZE, AT_UCACHEBSIZE, + AT_IGNOREPPC): New defines. + * sysdeps/generic/dl-sysdep.c (_dl_show_auxv): Print them. + * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_STD_AUXV): + Define for newer powerpc kernels. + * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Use the standard + DL_FIND_ARG_COMPONENTS if __ASSUME_STD_AUXV is defined. -2002-04-24 Ulrich Drepper <drepper@redhat.com> +2000-4-10 kaz Kojima <kkojima@rr.iij4u.or.jp> - * libio/bug-ungetwc2.c (test_locale): Use the de_DE.UTF-8 locale - which is created by the test suite. + * sysdeps/sh/stackinfo.h: New file. -2002-04-20 Bruno Haible <bruno@clisp.org> +2001-04-10 Ulrich Drepper <drepper@redhat.com> - * iconvdata/iso-2002-kr.c (MAX_NEEDED_FROM): Set to 4. - (BODY for FROM_LOOP): Fix comparisons between inptr and inend. + * locale/tst-C-locale.c (run_test): Add tests for locale objects. + * locale/newlocale.c (__newlocale): Correct setting __ctype_b, + __ctype_tolower, and __ctype_toupper elements. -2002-04-20 Bruno Haible <bruno@clisp.org> + * ctype/ctype_l.c: Fix definitions of __tolower_l and __toupper_l. + Reported by Konstantin Osipov <rabid@spylog.ru>. - * iconvdata/johab.c (BODY for FROM_LOOP): Change type of i, m, f, - to avoid gcc warning. + * sysdeps/i386/fpu/libm-test-ulps: Add deltas for tgamma to help + the lousy AMD FPU. -2002-04-20 Bruno Haible <bruno@clisp.org> +2001-04-10 Franz Sirl <Franz.Sirl-kernel@lauterbach.com> - * iconvdata/iso-2022-jp.c (EMIT_SHIFT_TO_INIT): Fix modification mask - of data->__statep->__count. + * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: New file. + * sysdeps/unix/sysv/linux/powerpc/Dist: Add sys/ptrace.h. + * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Delete wrong stuff. + * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Correct typedefs. -2002-04-20 Bruno Haible <bruno@clisp.org> +2001-04-10 Ulrich Drepper <drepper@redhat.com> - * iconvdata/euc-jisx0213.c (BODY for TO_LOOP): Really ignore Unicode - tag characters. - * iconvdata/shift_jisx0213.c (BODY for TO_LOOP): Likewise. + * elf/dl-deps.c (_dl_map_object_deps): Provide complete error + message. Based on a patch by HJ Lu. -2002-04-24 Roland McGrath <roland@frob.com> +2001-04-10 Andreas Schwab <schwab@suse.de> - * sysdeps/mach/alpha/syscall.S: Don't use .frame, ENTRY will have it; - use END macro instead of our own .end directive. - Use `callsys' insn mnemonic instead of `call_pal'. + * math/libm-test.inc (csinh_test): Don't require the invalid + exception for csinh (x + iNaN), but make it optional. - * sysdeps/mach/alpha/sysdep.h (ENTRY): New macro. +2001-04-09 David Mosberger <davidm@hpl.hp.com> - * sysdeps/alpha/dl-machine.h (ELF_MACHINE_USER_ADDRESS_MASK): New - macro; we need this for Hurd. + * sysdeps/ia64/elf/start.S (_start): Add unwind directives. - Log entry was missing for 2002/03/24 commit of rev 1.8, - goes with 2002-03-17 changes. - * sysdeps/mach/hurd/i386/Makefile [$(subdir) = misc] - (sysdep_routines): Append ioperm here. - (sysdep_headers): Append sys/io.h here. + * sysdeps/generic/entry.h [!__ASSEMBLY__]: Declare _start. + * sysdeps/ia64/elf/entry.h: New file. + * sysdeps/unix/sysv/linux/mips/entry.h [!__ASSEMBLY__]: Declare + __start. + * elf/rtld.c: Don't declare ENTRY_POINT. Use ENTRY_POINT instead + of &ENTRY_POINT. + * sysdeps/generic/dl-sysdep.c: Likewise. + * sysdeps/mach/hurd/dl-sysdep.c: Likewise. + * sysdeps/ia64/elf/start.S: Save base address of register backing + store in __libc_ia64_register_backing_store_base. -2002-04-23 Roland McGrath <roland@frob.com> +2001-04-10 Martin Schwidefsky <schwidefsky@de.ibm.com> - * sysdeps/mach/hurd/send.c: int -> size_t for WROTE. - * sysdeps/mach/hurd/sendto.c: Likewise. - * hurd/hurdioctl.c (siocgifconf): int -> size_t for DATA_LEN. - * sysdeps/mach/hurd/wait4.c (__wait4): natural_t -> int for SIGCODE. - * sysdeps/mach/hurd/getpriority.c: unsigned int -> size_t for PISIZE. + * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Fix return + value of getcontext. + * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise. + * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Fix return + value of setcontext. + * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise. + * sysdeps/unix/sysv/linux/s390/swapcontext.c: Skip setcontext + call by changing the saved context. -2002-04-22 Roland McGrath <roland@frob.com> +2001-04-10 Ulrich Drepper <drepper@redhat.com> - * sysdeps/mach/hurd/i386/ioperm.c (ioperm): Translate MIG_BAD_ID - failure from i386_io_perm_* RPCs to ENOSYS. + * sysdeps/alpha/stackinfo.h: New file. + * sysdeps/ia64/stackinfo.h: New file. -2002-04-22 Andreas Jaeger <aj@suse.de> +2001-04-10 Andreas Schwab <schwab@suse.de> - * sysdeps/unix/sysv/linux/x86_64/ldconfig.h: New file. + * sysdeps/m68k/fpu/e_pow.c: Correct handling of some exceptional + values. + * sysdeps/m68k/fpu/e_scalb.c: Likewise. - * sysdeps/unix/sysv/linux/x86_64/dl-cache.h: New file. +2001-04-09 Ulrich Drepper <drepper@redhat.com> - * sysdeps/unix/sysv/linux/x86_64/vfork.S: Use %rdi as temp - register instead of destroying %rbx. + * sysdeps/sparc/sparc32/sparcv9/Dist: Add hp-timing.c. + * sysdeps/sparc/sparc64/Dist: Add hp-timing.c. -2002-04-21 Ulrich Drepper <drepper@redhat.com> + * libio/Makefile (distribute): Add fd_to_filename.h. - * string/string.h: Declare strerror_r also for XPG6. +2001-04-05 David S. Miller <davem@redhat.com> -2002-04-19 Roland McGrath <roland@frob.com> + Add hp-timing support for sparcv9/sparc64 targets. + * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: New file + * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: New file + * sysdeps/sparc/sparc64/hp-timing.c: New file + * sysdeps/sparc/sparc64/hp-timing.h: New file + * sysdeps/sparc/sparc32/sparcv9/Makefile: Build hp-timing. + * sysdeps/sparc/sparc64/Makefile: Likewise. - * sysdeps/mach/hurd/tmpfile.c: Create a file descriptor and use fdopen. +2001-04-09 Jakub Jelinek <jakub@redhat.com> -2002-04-20 Ulrich Drepper <drepper@redhat.com> + * sysdeps/generic/fd_to_filename.h: New file. + * sysdeps/unix/sysv/linux/fd_to_filename.h: New file. + * libio/freopen.c (freopen): If FILENAME is NULL, try to get + filename from the open file descriptor. + * libio/freopen64.c (freopen64): Likewise. - * Makefile: Add handling of xtests and xcheck targets. - * MakeTAGS: Likewise. - * Makeconfig: Likewise. - * Makerules: Likewise. - * Rules: Likewise. - * manual/Makefile: Likewise. - * sunrpc/Makefile (xtests): Add thrsvc if thread library available. - * sunrpc/thrsvc.c: New file. By Zack Weinberg. - -2002-04-11 Zack Weinberg <zack@codesourcery.com> - - * include/rpc/rpc.h (struct rpc_thread_variables): Remove - authnone_private_s. - * sunrpc/auth_none.c: Include bits/libc-lock.h. - Delete #ifdef _RPC_THREAD_SAFE_ block. - (authnone_private): Make a struct, not a pointer to struct. - (authnone_private_guard): New once-control variable. - (authnone_create_once): New function, split out of - authnone_create. No need to allocate memory. - (authnone_create): Just call authnone_create_once via - __libc_once, then return &authnone_private->no_client. - (authnone_marshal): Access private data via CLIENT argument, - not authnone_private pointer. - Fix typo (MAX_MARSHEL_SIZE -> MAX_MARSHAL_SIZE). - * sunrpc/rpc_thread.c (__rpc_thread_destroy): No need to free - authnone_private_s. - -2002-04-12 H.J. Lu <hjl@gnu.org> - - * sunrpc/clnt_raw.c (clntraw_create): Properly set xdrs and client. - -2002-04-18 Bruno Haible <bruno@clisp.org> - - * iconvdata/euc-jisx0213.c (EMIT_SHIFT_TO_INIT, BODY for - FROM_DIRECTION): Make the FROM direction stateless. - * iconvdata/shift_jisx0213.c (EMIT_SHIFT_TO_INIT, BODY for - FROM_DIRECTION): Likewise. - -2002-04-15 Bruno Haible <bruno@clisp.org> - - * iconvdata/JISX0213.TXT: New file. - * iconvdata/jisx0213.h: New file. - * iconvdata/jisx0213.c: New file. - * iconvdata/euc-jisx0213.c: New file. - * iconvdata/shift_jisx0213.c: New file. - * iconvdata/gconv-modules (EUC-JISX0213, SHIFT_JISX0213): New modules. - * iconvdata/EUC-JISX0213.precomposed: New file. - * iconvdata/SHIFT_JISX0213.precomposed: New file. - * iconvdata/SHIFT_JISX0213.irreversible: New file. - * iconvdata/tst-table-to.c (main): Make it work for encodings for - which the "to" direction is stateful. - * iconvdata/tst-tables.sh: Add EUC-JISX0213, SHIFT_JISX0213. - * iconvdata/Makefile (modules): Add libJISX0213, EUC-JISX0213, - SHIFT_JISX0213. - (libJISX0213-routines): New variable. - (LDFLAGS-EUC-JISX0213.so, LDFLAGS-SHIFT_JISX0213.so): New variables. - (EUC-JISX0213.so, SHIFT_JISX0213.so): Depend on libJISX0213.so. - (LDFLAGS-libJISX0213.so): New variable. - (distribute): Add JISX0213.TXT, EUC-JISX0213.precomposed, - SHIFT_JISX0213.precomposed, SHIFT_JISX0213.irreversible, - jisx0213.c, jisx0213.h, euc-jisx0213.c, shift_jisx0213.c. - -2002-04-15 Bruno Haible <bruno@clisp.org> - - * iconvdata/big5hkscs.c (big5hkscs_to_ucs): Change element type to - uint32_t. Update to Unicode 3.2. - (from_ucs4, from_ucs4_idx): Update to Unicode 3.2. - (BODY for TO_LOOP): Handle the ASCII range specially. - * iconvdata/BIG5HKSCS.irreversible: Add one more entry. - * iconvdata/testdata/BIG5HKSCS: Remove a character. - * iconvdata/testdata/BIG5HKSCS..UTF-8: Regenerated. - -2002-04-15 Bruno Haible <bruno@clisp.org> - - * iconvdata/gb18030.c (__twobyte_to_ucs, __fourbyte_to_ucs, - __ucs_to_gb18030_tab1, __ucs_to_gb18030_tab2): Update to Unicode 3.2. - -2002-04-15 Bruno Haible <bruno@clisp.org> - - * iconvdata/cns11643.h (__cns11643_from_ucs4p2c_tab): New declaration. - (ucs4_to_cns11643): Update. - * iconvdata/cns11643.c: Update to Unicode 3.2. - (__cns11643l2*_to_ucs4_tab, __cns11643_from_ucs4p0_tab, - __cns11643_from_ucs4p2_tab): Regenerated. - (__cns11643_from_ucs4p2c_tab): New array. - * iconvdata/cvs11643l1.c: Update comments. - * iconvdata/EUC-TW.irreversible: Remove two entries. - -2002-04-15 Bruno Haible <bruno@clisp.org> - - * locale/C-translit.h.in: Update to Unicode 3.2. - Add <U2047>, <U205F>..<U2063>, <U2145>..<U2149>, <U2A74>..<U2A76>, - <U30A0>, <U3251>..<U325F>, <U32B1>..<U32BF>, <UFE00>..<UFE0F>. - -2002-04-15 Bruno Haible <bruno@clisp.org> - - * iconvdata/sjis.c (halfkana_to_ucs4): Remove array. - (BODY for FROM_LOOP): Optimize the JISX0201:GR to Unicode conversion. - -2002-04-15 Bruno Haible <bruno@clisp.org> - - * iconvdata/euc-jp.c (BODY for FROM_LOOP): When encountering an - invalid input (e.g. a byte > 0x80 followed by a byte < 0x80), skip - always one byte, not 0 bytes in some cases and 2 bytes in others. - - * iconvdata/tst-table-from.c (main): Correct the usage message. - -2002-04-19 Isamu Hasegawa <isamu@yamato.ibm.com> - - * posix/regcomp.c (parse_expression): Fix incorrect error code. - (parse_dup_op): Fix error handling like "a{}". - (parse_bracket_exp): Add error handling. - (fetch_number): Add error handling for "a{<very_large_number>}". - -2002-04-19 Isamu Hasegawa <isamu@yamato.ibm.com> - - * posix/regcomp.c (parse_bracket_symbol): Add error handling - in case that the symbol name is too long. - (build_charclass): Handle [:lower:]/[:uppper:] correctly - in case of REG_ICASE. +2001-04-09 Bruno Haible <haible@clisp.cons.org> -2002-04-19 Andreas Jaeger <aj@suse.de> + * misc/error.c (error): fflush stdout also if + error_print_progname != NULL. + (error_at_line): Likewise. - * math/libm-test.inc: Fix comment, suggested by Hartvig Ekner - <hartvige@mips.com>. +2001-04-07 Bruno Haible <haible@clisp.cons.org> + + * intl/gettextP.h (struct loaded_domain): Add codeset_cntr field. + (struct binding): Add codeset_cntr field. + (_nl_load_domain): Add domainbinding argument. + (_nl_init_domain_conv, _nl_free_domain_conv): New declarations. + (_nl_find_msg): New declaration, moved here from loadinfo.h. + * intl/loadinfo.h (struct loaded_l10nfile): Remove domainbinding field. + (_nl_make_l10nflist): Remove domainbinding argument. + (_nl_find_msg): Move declaration to gettextP.h. + * intl/bindtextdom.c (set_binding_values): Initialize ->codeset_cntr + to 0. Increment it when ->codeset is changed. + * intl/dcigettext.c (DCIGETTEXT): Pass binding to _nl_find_msg. + (_nl_find_msg): Add domainbinding argument. Reinitialize the converter + if domainbinding->codeset_cntr has been incremented. + * intl/finddomain.c (_nl_find_domain): Don't pass domainbinding to + _nl_make_l10nflist(). Pass it to _nl_load_domain() instead. + * intl/l10nflist.c (_nl_make_l10nflist): Remove domainbinding argument. + * intl/loadmsgcat.c (_nl_init_domain_conv): New function, extracted + from _nl_load_domain. Append //TRANSLIT also when using libiconv. + (_nl_free_domain_conv): New function, extracted from _nl_unload_domain. + (_nl_load_domain): Add domainbinding argument. Call + _nl_init_domain_conv. + (_nl_unload_domain): Call _nl_free_domain_conv. + * intl/Makefile (distribute): Add tst-codeset.sh, tstcodeset.po. + (test-srcs): Add tst-codeset. + (tests): Depend on tst-codeset.out. + (tst-codeset.out): New rule. + (CFLAGS-tst-codeset.c): New variable. + * intl/tst-codeset.sh: New file. + * intl/tstcodeset.po: New file. + * intl/tst-codeset.c: New file. + * locale/findlocale.c (_nl_find_locale): Update _nl_make_l10nflist + calls. -2002-04-15 H.J. Lu <hjl@gnu.org> +2001-04-07 Roland McGrath <roland@frob.com> + + * mach/msgserver.c (__mach_msg_server_timeout): Add an assert. + +2001-03-31 Roland McGrath <roland@frob.com> + + * sysdeps/mach/hurd/fork.c: Skip NEWPROC just like NEWTASK when + copying send rights into child. When we hit our name for our proc + port, just copy NEWPROC directly instead of repeating proc_task2proc + to install the child's port. + +2001-04-08 Roland McGrath <roland@frob.com> + + * Makeconfig ($(common-objpfx)soversions.i): Grok entries with DEFAULT + in second column, to provide default values for third column. + * shlib-versions: Add comments about using DEFAULT in second column. + (s390x-.*-linux.*): Replace individual entries with a DEFAULT entry. + (cris-.*-linux.*): Likewise. + +2001-04-09 Ulrich Drepper <drepper@redhat.com> + + * Makefile (distribute): Add scripts/documented.sh. + * scripts/documented.sh: New file. + +2001-04-08 Hans-Peter Nilsson <hp@axis.com> + + * sysdeps/unix/sysv/linux/cris/Dist: New file. + * sysdeps/unix/sysv/linux/cris/Makefile: New file. + * sysdeps/unix/sysv/linux/cris/_G_config.h: New file. + * sysdeps/unix/sysv/linux/cris/bits/fcntl.h: New file. + * sysdeps/unix/sysv/linux/cris/bits/mman.h: New file. + * sysdeps/unix/sysv/linux/cris/bits/resource.h: New file. + * sysdeps/unix/sysv/linux/cris/brk.c: New file. + * sysdeps/unix/sysv/linux/cris/chown.c: New file. + * sysdeps/unix/sysv/linux/cris/clone.S: New file. + * sysdeps/unix/sysv/linux/cris/fchown.c: New file. + * sysdeps/unix/sysv/linux/cris/fcntl.c: New file. + * sysdeps/unix/sysv/linux/cris/fxstat.c: New file. + * sysdeps/unix/sysv/linux/cris/getegid.c: New file. + * sysdeps/unix/sysv/linux/cris/geteuid.c: New file. + * sysdeps/unix/sysv/linux/cris/getgid.c: New file. + * sysdeps/unix/sysv/linux/cris/getgroups.c: New file. + * sysdeps/unix/sysv/linux/cris/getresgid.c: New file. + * sysdeps/unix/sysv/linux/cris/getresuid.c: New file. + * sysdeps/unix/sysv/linux/cris/getrlimit.c: New file. + * sysdeps/unix/sysv/linux/cris/getrlimit64.c: New file. + * sysdeps/unix/sysv/linux/cris/getuid.c: New file. + * sysdeps/unix/sysv/linux/cris/lchown.c: New file. + * sysdeps/unix/sysv/linux/cris/lockf64.c: New file. + * sysdeps/unix/sysv/linux/cris/lxstat.c: New file. + * sysdeps/unix/sysv/linux/cris/mmap.S: New file. + * sysdeps/unix/sysv/linux/cris/mmap64.S: New file. + * sysdeps/unix/sysv/linux/cris/msgctl.c: New file. + * sysdeps/unix/sysv/linux/cris/profil-counter.h: New file. + * sysdeps/unix/sysv/linux/cris/register-dump.h: New file. + * sysdeps/unix/sysv/linux/cris/semctl.c: New file. + * sysdeps/unix/sysv/linux/cris/setegid.c: New file. + * sysdeps/unix/sysv/linux/cris/seteuid.c: New file. + * sysdeps/unix/sysv/linux/cris/setfsgid.c: New file. + * sysdeps/unix/sysv/linux/cris/setfsuid.c: New file. + * sysdeps/unix/sysv/linux/cris/setgid.c: New file. + * sysdeps/unix/sysv/linux/cris/setgroups.c: New file. + * sysdeps/unix/sysv/linux/cris/setregid.c: New file. + * sysdeps/unix/sysv/linux/cris/setresgid.c: New file. + * sysdeps/unix/sysv/linux/cris/setresuid.c: New file. + * sysdeps/unix/sysv/linux/cris/setreuid.c: New file. + * sysdeps/unix/sysv/linux/cris/setrlimit.c: New file. + * sysdeps/unix/sysv/linux/cris/setuid.c: New file. + * sysdeps/unix/sysv/linux/cris/shmctl.c: New file. + * sysdeps/unix/sysv/linux/cris/socket.S: New file. + * sysdeps/unix/sysv/linux/cris/sys/ucontext.h: New file. + * sysdeps/unix/sysv/linux/cris/syscall.S: New file. + * sysdeps/unix/sysv/linux/cris/sysdep.S: New file. + * sysdeps/unix/sysv/linux/cris/sysdep.h: New file. + * sysdeps/unix/sysv/linux/cris/vfork.S: New file. + * sysdeps/unix/sysv/linux/cris/xstat.c: New file. + +2001-04-08 Hans-Peter Nilsson <hp@axis.com> + + * sysdeps/cris/Dist: New file. + * sysdeps/cris/Implies: New file. + * sysdeps/cris/Makefile: New file. + * sysdeps/cris/__longjmp.S: New file. + * sysdeps/cris/_mcount.S: New file. + * sysdeps/cris/bits/endian.h: New file. + * sysdeps/cris/bits/setjmp.h: New file. + * sysdeps/cris/bits/string.h: New file. + * sysdeps/cris/dl-machine.h: New file. + * sysdeps/cris/elf/start.S: New file. + * sysdeps/cris/machine-gmon.h: New file. + * sysdeps/cris/memcopy.h: New file. + * sysdeps/cris/memusage.h: New file. + * sysdeps/cris/setjmp.S: New file. + * sysdeps/cris/sysdep.h: New file. + * sysdeps/cris/wordcopy.c: New file. + +2001-04-08 Hans-Peter Nilsson <hp@axis.com> + + * elf/elf.h: Add new relocations for CRIS. + +2001-04-08 Hans-Peter Nilsson <hp@axis.com> + + * shlib-versions: Add cases for Linux on CRIS. + +2001-04-08 Hans-Peter Nilsson <hp@axis.com> + + * configure.in (ASM_LINE_SEP tests): Handle CRIS assembly, with + ';' for comments and '@' for line separator. + +2001-04-08 Hans-Peter Nilsson <hp@axis.com> + + * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Fix + typo; s/==/=/ for assignment. + +2001-04-08 Hans-Peter Nilsson <hp@axis.com> + + * malloc/Makefile: Correct comment; mtrace is Perl, not AWK. + +2001-04-08 Hans-Peter Nilsson <hp@axis.com> + + * iconv/gconv_simple.c (internal_ucs4_loop_unaligned): Check for + empty input before checking full output. + +2001-04-08 Hans-Peter Nilsson <hp@axis.com> + + * iconv/gconv.c (__gconv): Don't derefer parameter cd before + checking if == -1L. + +2001-04-08 Ulrich Drepper <drepper@redhat.com> + + * inet/rexec.c (rexec_af): Avoid calling perror with errno being set. + +2001-04-07 Stephen L Moshier <moshier@mediaone.net> + + * sysdeps/ieee754/ldbl-128/e_logl.c: Correct infinity and NaN + return values. + +2001-04-07 Ulrich Drepper <drepper@redhat.com> + + * stdlib/tst-setcontext.c (main): Add a test for setcontext. - * include/math.h (__finitel_internal): Declare only if - __NO_LONG_DOUBLE_MATH is not defined. - (__isinfl_internal): Likewise. - (__isnanl_internal): Likewise. + * sysdeps/unix/sysv/linux/i386/getcontext.S: New file. + * sysdeps/unix/sysv/linux/i386/setcontext.S: New file. + * sysdeps/unix/sysv/linux/i386/makecontext.S: New file. + * sysdeps/unix/sysv/linux/i386/swapcontext.S: New file. + * sysdeps/unix/sysv/linux/i386/ucontext_i.h: New file. + * sysdeps/unix/sysv/linux/i386/Dist: Add ucontext_i.h. - * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add __connect_internal. - * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise. - * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise. - * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise. - * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise. - * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise. - - * sysdeps/unix/sysv/linux/syscalls.list: Add __chown_internal and - __fcntl_internal. +2001-04-07 Andreas Jaeger <aj@suse.de> - * sysdeps/unix/sysv/linux/fxstat.c (__fxstat64_internal): Added. - * sysdeps/unix/sysv/linux/lxstat.c (__lxstat64_internal): Added. + * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Use sincos + instead of separate sin and cos. + (__ieee754_j1l): Likewise. -2002-04-15 Bruno Haible <bruno@clisp.org> +2001-04-06 Ulrich Drepper <drepper@redhat.com> - * iconvdata/armscii-8.c (BODY for FROM_LOOP): Fix array access. - (BODY for TO_LOOP): Likewise. - * iconvdata/tcvn5712-1.c (from_ucs4): Map U+0309 to 0xB1. - * iconvdata/tst-table.sh: Add support for encodings which contain - precomposed Unicode characters, known to the iconv converter in both - directions but not listed in the charmap. - * iconvdata/IBM856.irreversible: New file. - * iconvdata/IBM922.irreversible: New file. - * iconvdata/IBM1132.irreversible: New file. - * iconvdata/IBM1133.irreversible: New file. - * iconvdata/IBM1160.irreversible: New file. - * iconvdata/IBM1161.irreversible: New file. - * iconvdata/IBM1163.irreversible: New file. - * iconvdata/IBM1164.irreversible: New file. - * iconvdata/ARMSCII-8.irreversible: New file. - * iconvdata/TCVN5712-1.precomposed: New file. - * iconvdata/tst-tables.sh: Add IBM856, IBM922, IBM1124, IBM1129, - IBM1160, IBM1161, IBM1132, IBM1133, IBM1162, IBM1163, IBM1164, - ARMSCII-8, TCVN5712-1. - * iconvdata/Makefile (distribute): Add IBM856.irreversible, - IBM922.irreversible, IBM1132.irreversible, IBM1133.irreversible, - IBM1160.irreversible, IBM1161.irreversible, IBM1163.irreversible, - IBM1164.irreversible, ARMSCII-8.irreversible, TCVN5712-1.precomposed. - -2002-04-17 Jakub Jelinek <jakub@redhat.com> - - * time/tst-mktime.c: Include <stdlib.h>. Use %d, not %ld format - for EVENING69. Include offsets in TZ environment variable. - -2002-04-18 Ulrich Drepper <drepper@redhat.com> - - * iconv/skeleton.c (RESET_INPUT_BUFFER): Replace ifs with #ifs to - avoid compiler warnings. - - * locale/programs/localedef.c (main): Always call - construct_output_path. - - * iconv/Makefile (CFLAGS-simple-hash.c): Define to find hashval.h. - - * locale/programs/locfile.c (to_archive): New variable. To collect - data which has to be added to the locale archive. - (write_all_categories): Take new third parameter with locale name. - Unless no_archive flag set add new locale data to the archive - (write_locale_data): Unless no-archive flag set store generated data - in to_archive data structure instead of generation output file. - Add new parameter with locale category index. - * locale/programs/locfile.h: Add new parameters in declaractions of - write_all_categories and write_locale_data. - * locale/programs/localedef.c: Recognize --no-archive, --list-archive, - --add-to-archive, and --delete-from-archive options. Pass extra - parameter to write_all_categories. - * locale/programs/localedef.h: Add prototypes for functions in - locarchive.c. - * locale/locarchive.h: New file. - * locale/programs/locarchive.c: New file. - * locale/Makefile (distribute): Add programs/locarchive.c and - locarchive.h. - (localedef-modules): Add md5 and locarchive. - Add vpath to crypt subdir for md5.c. - - * locale/programs/ld-address.c: Pass locale category ID as new second - parameter to write_locale_data. + * sysdeps/ia64/abort-instr.h: New file. Code by David Mosberger. + + * sysdeps/ia64/atomicity.h: New file. Copied from libstdc++. + + * sysdeps/i386/i486/atomicity.h: Clean up the asms. + + * sysdeps/generic/e_scalb.c: Don't use FE_INVALID unless it's + available. + * sysdeps/generic/e_scalbf.c: Likewise. + * sysdeps/generic/e_scalbl.c: Likewise. + Patch by Mark Hatle <fray@mvista.com>. + +2001-04-05 David S. Miller <davem@redhat.com> + + * sysdeps/sparc/abort-instr.h: New file. + +2001-04-05 Matt Wilson <msw@redhat.com> + + * sysdeps/unix/sysv/linux/alpha/getsysstats.c (GET_NPROCS_PARSER): + added code to parse new 2.4 format. + (GET_NPROCS_CONF_PARSER): Likewise. + +2001-04-05 David S. Miller <davem@redhat.com> + + * scripts/config.sub: Recognize sparcv9b like sparcv9. + * configure.in: Add sparcv9b. + * sysdeps/sparc/sparc32/sparcv9b/Implies: New file + * sysdeps/sparc/sparc32/sparcv9b/memcpy.S: New file + * sysdeps/sparc/sparc64/sparcv9b/memcpy.S: New file + +2001-04-06 David Mosberger <davidm@hpl.hp.com> + + * stdlib/tst-setcontext.c: Move st2[] to global scope. + (f2): Verify that stack pointer is inside st2[]. + + * sysdeps/unix/sysv/linux/ia64/getcontext.S: It helps to save r12. + * sysdeps/unix/sysv/linux/ia64/setcontext.S: It helps to restore r12. + +2001-04-06 Ulrich Drepper <drepper@redhat.com> + + * timezone/antarctica: Update from tzdata2001b. + * timezone/asia: Likewise. + * timezone/australasia: Likewise. + * timezone/europe: Likewise. + * timezone/northamerica: Likewise. + + * iconv/iconv_open.c: Move strip and upstr definitions... + * iconv/gconv_charset.h: ...here. New file. + * iconv/gconv_db.c (once): Move to file level. + (do_lookup_alias): Split out from __gconv_find_transform. + (__gconv_find_transform): Call do_lookup_alias. + (__gconv_loopup_alias): New function. + * locale/langinfo.h: Define _NL_*_CODESET values for all categories + but LC_CTYPE. + * locale/categories.def: Add entries for new _NL_*_CODESET values. + * locale/C-ctype.c: Use _nl_C_codeset to initialize CODESET entry. + * locale/C-address.c: Initialize _NL_*_CODESET element. + * locale/C-collate.c: Likewise. + * locale/C-identification.c: Likewise. + * locale/C-measurement.c: Likewise. + * locale/C-messages.c: Likewise. + * locale/C-monetary.c: Likewise. + * locale/C-name.c: Likewise. + * locale/C-numeric.c: Likewise. + * locale/C-paper.c: Likewise. + * locale/C-telephone.c: Likewise. + * locale/C-time.c: Likewise. + * locale/localeinfo.h: Declare _nl_C_codeset. + * locale/C_name.c: Define _nl_C_codeset. + * locale/findlocale.c: Before accepting locale check that the used + charset does not conflict with what the locale name said. + * locale/programs/ld-address.c: Emit codeset information. * locale/programs/ld-collate.c: Likewise. - * locale/programs/ld-ctype.c: Likewise. * locale/programs/ld-identification.c: Likewise. * locale/programs/ld-measurement.c: Likewise. * locale/programs/ld-messages.c: Likewise. @@ -7478,2707 +3901,2933 @@ * locale/programs/ld-telephone.c: Likewise. * locale/programs/ld-time.c: Likewise. - * locale/simple-hash.c: Move compute_hashval function from here... - * locale/hashval.h: ...to here. New file. - * locale/simple-hash.h: Add prototype for compute_hashval. + * localedata/tests-mbwc/tst_funcs.h (TST_HEAD_LOCALE): It is an error + if the locale data couldn't be found. - * include/libintl.h: Minor cleanups. + * string/Makefile: Define tst-strxfrm-ENV. -2002-04-16 Ulrich Drepper <drepper@redhat.com> + * ysdeps/unix/sysv/linux/ia64/getcontext.S: Fix comment. - * posix/regcomp.c (gettext): Use INTUSE for _libc_intl_domainname. +2001-04-06 Andreas Jaeger <aj@suse.de> -2002-04-15 Ulrich Drepper <drepper@redhat.com> + * include/sys/profil.h: New file. - * include/sys/stat.h: Fix typo. Patch by HJ Lu. + * dlfcn/modatexit.c: Add prototypes to silence GCC. + * dlfcn/modcxaatexit.c: Likewise. + * elf/globalmod1.c: Likewise. -2002-04-14 Bruno Haible <bruno@clisp.org> +2001-04-05 David S. Miller <davem@redhat.com> - * locale/programs/charmap.c (charmap_read): Don't access result if - result == NULL. + * elf/elf.h (HWCAP_SPARC_ULTRA3): Define it. + * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h: Add it to + capability flags table and HWCAP_IMPORTANT, increase + _DL_HWCAP_COUNT to 6. + * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h: Likewise. -2002-02-17 Andreas Schwab <schwab@suse.de> +2001-04-04 David Mosberger <davidm@hpl.hp.com> - * elf/reldep7.c: New file. - * elf/reldep7mod1.c: New file. - * elf/reldep7mod2.c: New file. - * elf/Makefile: Add rules to build and run reldep7. + * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext): Fix + initialization of stack_end (bug reported by Zheng Gengbin + <gzheng@students.uiuc.edu>). -2002-04-14 Jakub Jelinek <jakub@redhat.com> +2001-04-05 Ulrich Drepper <drepper@redhat.com> - * elf/dl-lookup.c (_dl_lookup_symbol): Move add_dependency call to - the end of the function. Pass original flags to recursive call if - add_dependency failed. - (_dl_lookup_versioned_symbol): Likewise. + * sysdeps/i386/fpu/libm-test-ulps: Relax errors for asinl. -2002-04-13 Jakub Jelinek <jakub@redhat.com> +2001-04-05 Martin Schwidefsky <schwidefsky@de.ibm.com> - * time/mktime.c (__mktime_internal): If year is 69, don't bail out - early, but check whether it overflowed afterwards. - * time/tst-mktime.c (main): Add new tests. + * sysdeps/unix/sysv/linux/s390/s390-64/bits/socket.h: New file. -2002-04-14 Ulrich Drepper <drepper@redhat.com> +2001-04-05 Ulrich Drepper <drepper@redhat.com> - * debug/xtrace.sh: Fix program name in help message. - Patch by Roger Luethi <rl@hellgate.ch>. + * sysdeps/ieee754/ldbl-96/e_asinl.c: Correct handling of +-Inf. + * sysdeps/i386/fpu/e_asinl.S: Removed. Too inaccurate. - * include/sys/stat.h: Add prototypes for __lxstat_internal and - __lxstat64_internal. Add macros __lxstat and __lxstat64 if not - NOT_IN_libc. - * sysdeps/generic/lxstat.c: Use INTDEF for __lxstat. - * sysdeps/mach/hurd/lxstat.c: Likewise. - * sysdeps/unix/common/lxstat.c: Likewise. - * sysdeps/unix/sysv/aix/lxstat.c: Likewise. - * sysdeps/unix/sysv/linux/lxstat.c: Likewise. - * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise. - * sysdeps/unix/sysv/linux/ia64/lxstat.c: Likewise. - * sysdeps/unix/sysv/linux/s390/s390-64/lxstat.c: Likewise. - * sysdeps/generic/lxstat64.c: Use INTDEF for __lxstat64. - * sysdeps/mach/hurd/lxstat64.c: Likewise. - * sysdeps/unix/sysv/aix/lxstat64.c: Likewise. - * sysdeps/unix/sysv/linux/lxstat64.c: Likewise. + * login/tst-utmp.c: Make file usable again in tst-utmpx.c. - * include/wchar.h: Declare __mbrtowc_internal and __mbrlen_internal - prototypes. Add __mbrlen and __mbrtowc macros. - * wcsmbs/mbrlen.c: Use INTDEF for __mbrlen. - * wcsmbs/mbrtowc.c: Use INTDEF for __mbrtowc. - - * include/unistd.h: Add prototype for __write_internal and add - __libc_write macro is SHARED. - * sysdeps/generic/write.c: Use INTDEF for __write. - * sysdeps/mach/hurd/write.c: Likewise. - * sysdeps/unix/sysv/aix/write.c: Likewise. - * sysdeps/unix/syscalls.list: Add __libc_write alias. - - * assert/assert.c: Replace STR_N_SIZE with something usable in - macro arguments. - * assert/assert-perr.c: Likewise. - - * include/sys/socket.h: Declare __libc_sa_len_internal and define - SA_LEN macro to use it if not NOT_IN_libc. - * sysdeps/unix/sysv/linux/sa_len.c: Use INTDEF for __libc_sa_len. - - * include/fcntl.h: Declare __open_internal and define __open and - __libc_open macros if not NOT_IN_libc. - * sysdeps/generic/open.c: Use INTDEF for __open. - * sysdeps/mach/hurd/open.c: Likewise. - * sysdeps/unix/sysv/aix/open.c: Likewise. - * sysdeps/unix/syscalls.list: Add __open_internal alias. - - * sysdeps/generic/check_fds.c: Make sure newly opened file descriptor - has correct number. - - * include/fcntl.h: Define __libc_fcntl macro if not NOT_IN_libc. - * sysdeps/mach/hurd/fcntl.c: Undefine __libc_fcntl as well. - * sysdeps/unix/sysv/aix/fcntl.c: Likewise. - * sysdeps/unix/sysv/linux/i386/fcntl.c: Likewise. - - * include/wctype.h: Declare __iswalpha_l_internal, - __iswdigit_l_internal, __iswspace_l_internal, - __iswxdigit_l_internal, and __iswctype_internal. Define - __iswalpha_l, __iswctype, __iswdigit_l, __iswspace_l, and - __iswxdigit_l macros if not NOT_IN_libc. - * wctype/iswctype.c: Use INTDEF for __iswctype. - * wctype/wcfuncs_l.c: Use INTDEF for all __iswXXX_l. - - * include/math.h: Declare __isinf_internal, __isinfl_internal, - __isnan_internal, and __isnanl_internal. - * stdio-common/printf_fp.c: Use INTUSE for calls to __isinf, __isinfl, - __isnan, and __isnanl. - * stdio-common/printf_size.c: Likewise. - * sysdeps/generic/printf_fphex.c: Likewise. - * sysdeps/i386/fpu/s_isinfl.c: Also define _internal alias. - * sysdeps/i386/fpu/s_isnanl.c: Likewise. - * sysdeps/ia64/fpu/s_isinf.S: Likewise. - * sysdeps/ia64/fpu/s_isnan.S: Likewise. - * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise. - * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise. - * sysdeps/ieee754/flt-32/s_isinff.c: Likewise. - * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise. - * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise. - * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise. - * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise. - * sysdeps/m68k/s_isinfl.c: Likewise. - * sysdeps/m68k/fpu/s_isinf.c: Likewise. - * sysdeps/powerpc/fpu/s_isnan.c: Likewise. - - * include/sys/time.h: Declare __gettimeofday_internal and define - __gettimeofday macro if not NOT_IN_libc. - * sysdeps/generic/gettimeofday.c: Use INTEDEF for __gettimeofday. - * sysdeps/mach/gettimeofday.c: Likewise. - * sysdeps/posix/gettimeofday.c: Likewise. - * sysdeps/unix/sysv/aix/gettimeofday.c: Likewise. - * sysdeps/unix/common/syscalls.list: Define __gettimeofday alias. - * sysdeps/unix/sysv/linux/alpha/gettimeofday.S: Likewise. - * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Likewise. - - * include/sys/stat.h: Declare __fxstat_internal and __fxstat64_internal - and define __fxstate and __fxstat64 macros if not NOT_IN_libc. - Remove __lstat and __fstat inline functions. - * sysdeps/generic/fxstat.c: Use INTDEF for __fxstat. - * sysdeps/mach/hurd/fxstat.c: Likewise. - * sysdeps/unix/fxstat.c: Likewise. - * sysdeps/unix/sysv/aix/fxstat.c: Likewise. - * sysdeps/unix/sysv/linux/fxstat.c: Likewise. - * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise. - * sysdeps/unix/sysv/linux/ia64/fxstat.c: Likewise. - * sysdeps/unix/sysv/linux/s390/s390-64/fxstat.c: Likewise. - * sysdeps/generic/fxstat64.c: Use INTDEF for __fxstat64. - * sysdeps/mach/hurd/fxstat64.c: Likewise. - * sysdeps/unix/sysv/aix/fxstat64.c: Likewise. - * sysdeps/unix/sysv/linux/fxstat64.c: Likewise. - - * include/unistd.h: Declare __getpid_internal and define - __getpid macro if not NOT_IN_libc. - * sysdeps/mach/hurd/getpid.c: Use INTDEF for __getpid. - * sysdeps/generic/getpid.c: Likewise. - * sysdeps/unix/syscalls.list: Add __getpid_internal alias. - * posix/bsd-getpgrp.c: Use INTUSE for __getpgid call. - - * include/unistd.h: Declare __getpgid_internal and define - __getpgid macro if not NOT_IN_libc. - * sysdeps/generic/getpgid.c: Use INTDEF for __getpgid. - * sysdeps/mach/hurd/getpgid.c: Likewise. - * sysdeps/unix/sysv/aix/getpgid.c: Likewise. - * sysdeps/unix/sysv/sysv4/__getpgid.c: Likewise. - * sysdeps/unix/sysv/sysv4/getpgid.c: Likewise. - * sysdeps/unix/sysv/linux/syscalls.list: Add _getpgid_internal alias. - - * include/unistd.h: Declare __getpagesize_internal and define - __getpagesize macro if not NOT_IN_libc. - * sysdeps/unix/sysv/linux/shmat.c: Include <unistd.h> for - __getpagesize. - * sysdeps/generic/getpagesize.c: Use INTDEF for __getpagesize. - * sysdeps/mach/getpagesize.c: Likewise. - * sysdeps/posix/getpagesize.c: Likewise. - * sysdeps/unix/getpagesize.c: Likewise. - * sysdeps/unix/sysv/linux/getpagesize.c: Likewise. - * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Likewise. - * sysdeps/unix/sysv/linux/m68k/getpagesize.c: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Likewise. - -2002-04-13 Andreas Jaeger <aj@suse.de> - - * sysdeps/i386/i486/bits/string.h (__strcspn_cg): Use only memory - as clobber to reduce register pressure. - (__strpbrk_cg): Likewise. - (__mempcpy_by4): Likewise. - (__strstr_cg): Likewise. - Add prototype for __memrchr. - -2002-04-13 Andreas Schwab <schwab@suse.de> - - * sysdeps/m68k/fpu/s_finite.c: Add internal alias. - * sysdeps/m68k/fpu/s_finitef.c: Likewise. - * sysdeps/m68k/fpu/s_finitel.c: Likewise. - -2002-04-13 Ulrich Drepper <drepper@redhat.com> - - * elf/do-lookup.h [!VERSIONED]: Add new parameter flags. Use it to - check whether the caller prefers getting the most recent version of - a symbol of the earliest version. - * elf/dl-lookup.c: Adjust all callers of do_lookup. Change - _dl_do_lookup to also take the new parameter and pass it on. - Change 'explicit' parameter of _dl_lookup_symbol and - _dl_lookup_versioned_symbol to flags. Adjust tests. - * sysdeps/generic/ldsodefs.h: Adjust prototypes. - * elf/dl-libc.c: Adjust all callers of _dl_lookup_symbol and - _dl_lookup_versioned_symbol. - * elf/dl-reloc.c: Likewise. - * elf/dl-runtime.c: Likewise. - * elf/dl-sym.c: Likewise. - * sysdeps/mips/dl-machine.h: Likewise. +2001-04-04 Ulrich Drepper <drepper@redhat.com> -2002-04-11 Jakub Jelinek <jakub@redhat.com> + * sysdeps/unix/sysv/aix/dl-libc.c: Don't use the ELF version, + define simple replacements here. Patch by Michael Keezer. - * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (LOC): Don't paste - in a token. - * sysdeps/unix/sysv/sysv4/solaris2/sparc/sysdep.h (LOC): Likewise. + * sysdeps/ieee754/ldbl-128/e_logl.c: New file. + * sysdeps/ieee754/ldbl-96/e_asinl.c: New file. + Contributed by Stephen L Moshier <moshier@mediaone.net>. -2002-04-10 Andreas Jaeger <aj@suse.de> + * posix/fnmatch_loop.c: Undefine NEW_PATTERN when it is not used + anymore. - * sysdeps/unix/sysv/linux/x86_64/glob.c: New file. +2001-04-01 Andreas Jaeger <aj@suse.de> - * include/argz.h: Remove extra char from last patch. + * sysdeps/generic/s_nextafter.c (NO_LONG_DOUBLE): Add nexttowardl + alias. -2002-04-09 Ulrich Drepper <drepper@redhat.com> + * sysdeps/generic/s_fma.c (NO_LONG_DOUBLE): Add fmal alias. - * sysdeps/mach/hurd/chown.c: Use INTDEF for __chown. - * sysdeps/unix/sysv/aix/chown.c: Likewise. - * sysdeps/unix/grantpt.c: Use INTUSE for __chown calls. - * sysdeps/unix/sysv/linux/m68k/chown.c: Likewise. - * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise. - * sysdeps/unix/sysv/linux/i386/chown.c: Use INTDEF2 to define - __chown_internal. - * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise. +2001-04-04 Ulrich Drepper <drepper@redhat.com> - * intl/dcngettext.c [_LIBC]: Use INTUSE for __dcngettext. - * intl/dngettext.c [_LIBC] (DCNGETTEXT): Use INTUSE. - * intl/ngettext.c: Likewise. + * sysdeps/unix/sysv/linux/s390/s390-64/Dist: Add ucontext_i.h. + * sysdeps/unix/sysv/linux/s390/s390-32/Dist: Likewise. - * include/sys/socket.h: Declare __connect_internal and define - __connect macro if not NOT_IN_libc. - * sysdeps/mach/hurd/connect.c: Use INTDEF for __connect. - * sysdeps/unix/sysv/aix/connect.c: Likewise. - * sysdeps/unix/sysv/linux/connect.S: Add __connect_internal alias. - - * include/unistd.h: Declare __close_internal and define __close macro - if not NOT_IN_libc. - * libio/libioP.h (JUMO0, JUMP1, JUMP2, JUMP3, WJUMP0, WJUMP1, WJUMP2, - WJUMP3): Add extra parenthesis to avoid expanding element names with - macors like __close. - * sysdeps/unix/syscalls.list: Add __close_internal alias. - - * include/unistd.h: Declare __dup2_internal and define __dup2 macro - if not NOT_IN_libc. - * sysdeps/mach/hurd/dup2.c: Use INTDEF for __dup2. - * sysdeps/posix/dup2.c: Use INTDEF for __dup2. - * sysdeps/unix/syscalls.list: Add __dup2_internal alias. - - * include/unistd.h: Declare __fork_internal and define __fork macro - if not NOT_IN_libc. - * sysdeps/mach/hurd/fork.c: Use INTDEF for __fork. - * sysdeps/unix/sysv/aix/fork.c: Likewise. - * sysdeps/unix/sysv/linux/syscalls.list: Add __fork_internal alias. - - * include/stdio_ext.h: Declare __fsetlocking_internal and define - __fsetlocking macro to use it if not NOT_IN_libc. - * libio/__fsetlocking.c: Use INTDEF for __fsetlocking. - - * libio/__fbufsize.c: Correct copyright. - * libio/__flbf.c: Likewise. - * libio/__fpending.c: Likewise. - * libio/__fpurge.c: Likewise. - * libio/__freadable.c: Likewise. - * libio/__freading.c: Likewise. - * libio/__fsetlocking.c: Likewise. - * libio/__fwritable.c: Likewise. - * libio/__fwriting.c: Likewise. - - * include/stdio.h: Declare __asprintf_internal and define __asprintf - macro to use it if not NOT_IN_libc. - * stdio-common/asprintf.c: Use INTDEF for __asprintf. - - * include/mntent.h: Declare __setmntent_internal, - __getmntent_r_internal, __endmntent_internal. Define __setmntent, - __getmntent_r, and __endmntent macros to use these functions if not - NOT_IN_libc. - * misc/mntent_r.c: Use INTDEF for __setmntent, __getmntent_r, and - __endmntent. - - * include/math.h: Declare __finite_internal, __finitef_internal, and - __finitel_internal. Redefine isfinite macro if in libc or libm using - these functions. - * sysdeps/generic/s_ldexp.c: Use INTUSE for __finite calls. - * sysdeps/generic/s_ldexpf.c: Use INTUSE for __finitef calls. - * sysdeps/generic/s_ldexpl.c: Use INTUSE for __finitel calls. - * sysdeps/i386/fpu/s_finite.S: Define _internal alias. - * sysdeps/i386/fpu/s_finitef.S: Likewise. - * sysdeps/i386/fpu/s_finitel.S: Likewise. - * sysdeps/ieee754/dbl-64/s_finite.c: Likewise. - * sysdeps/ieee754/flt-32/s_finitef.c: Likewise. - * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise. - * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise. - - * include/fcntl.h: Declare __fcntl_internal. Define __fcntl macro - to use this function if not NOT_IN_libc. - * libio/iofdopen.c (_IO_fcntl): Use INTUSE. - * sysdeps/generic/fcntl.c: Use INTDEF for __fcntl. - * sysdeps/mach/hurd/fcntl.c: Likewise. - * sysdeps/unix/sysv/aix/fcntl.c: Likewise. - * sysdeps/unix/sysv/linux/i386/fcntl.c: Likewise. - - * include/argz.h: Declare __argz_count_internal and - __argz_stringify_internal. - * intl/l10nflist.c [_LIBC]: Use INTUSE for __argz_count and - __argz_stringify. - * string/argz-count.c: Use INTDEF for __argz_count. - * string/argz-stringify.c: Use INTDEF for __argz_stringify. - - * include/stdlib.h: Declare __cxa_atexit_internal and define - __cxa_atexit macro if not NOT_IN_libc. - * stdlib/cxa_atexit.c: Use INTDEF for __cxa_atexit. - * dlfcn/Makefile: Define NOT_IN_libc when compiling modcxaatexit.c. - - * assert/assert.c: Use INTDEF for __assert_fail. - * assert/__assert.c: Use INTUSE for call to __assert_fail. - * include/assert.h: Declare __assert_fail_internal. - - * extra-lib.mk: Mark assignment to lib with override. - -2002-04-08 Ulrich Drepper <drepper@redhat.com> - - * Makerules: Use cppflags-iterator.mk to add defines for all test - source files. - -2002-04-08 kaz Kojima <kkojima@rr.iij4u.or.jp> - - * elf/elf.h: Define R_SH_TLS_xxx macros. - * elf/rtld.c: Remove an extra parenthesis. - * elf/tls-macros.h: Define SH version TLS_LE, TLS_IE, TLS_LD and - TLS_GD macros. - * sysdeps/generic/dl-tls.c: Add a missing semi-colon. - * sysdeps/sh/dl-lookupcfg.h: New file. - * sysdeps/sh/dl-tls.h: New file. - * sysdeps/sh/dl-machine.h (elf_machine_type_class): Set - ELF_RTYPE_CLASS_PLT also for the three TLS relocations. - (elf_machine_rela): Handle R_SH_TLS_DTPMOD32, R_SH_TLS_DTPOFF32 and - R_SH_TLS_TPOFF32 relocations. - -2002-04-08 Ulrich Drepper <drepper@redhat.com> - - * cppflags-iterator.mk (cpp-srcs-left): Define NOT_IN_libc instead - of NOT_IN_LIBC. - * include/libintl.h: Test for NOT_IN_libc not NOT_IN_LIBC. - * include/stdlib.h: Likewise. +2001-04-04 Martin Schwidefsky <schwidefsky@de.ibm.com> -2002-04-08 Jakub Jelinek <jakub@redhat.com> + * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: New file. + * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: New file. + * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: New file. + * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.h: New file. + * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: New file. + * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: New file. + * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: New file. + * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.h: New file. + * sysdeps/unix/sysv/linux/s390/swapcontext.c: New file. - * elf/Makefile (CFLAGS-.os): Define NOT_IN_libc and IS_IN_rtld - instead of _RTLD_LOCAL. - * elf/dl-dst.h: Use IS_IN_rtld instead of _RTLD_LOCAL. - * include/unistd.h: Likewise. - * sysdeps/generic/ldsodefs.h: Likewise. +2001-04-04 Andreas Jaeger <aj@suse.de> - * stdio-common/_itoa.h (_itoa_word): Only use internal digit arrays - if in libc or ld.so. - -2002-04-08 Andreas Jaeger <aj@suse.de> - - * elf/cache.c (print_entry): Support x86-64. - -2002-04-08 Ulrich Drepper <drepper@redhat.com> - - * include/stdlib.h: For libc itself replace MB_CUR_MAX definition - with one accessing the locale data structures directly. - * stdio-common/printf-prs.c: Include localeinfo.h for new - MB_CUR_MAX definition. - - * Makeconfig (CPPFLAGS): Also add CPPFLAGS-<basename> where <basename> - is the name of the source file without extension. - * Makefile (distribute): Add cppflags-iterator.mk. - * cppflags-iterator.mk: New file. - * extra-lib.mk: For the sources of the library run - cppflags-iterator.mk. - - * include/libintl.h: Declare __dcgettext_internal and - _libc_intl_domainname_internal. Define __dcgettext using these - two symbols if used in libc itself. - * argp/argp-help.c: Define dgettext using __dcgettext_internal and - _libc_intl_domainname_internal. - * argp/argp-parse.c: Likewise. - * intl/dcgettext.c (__dcgettext): Use INTDEF to define alias. - * intl/dgettext.c: Call __dcgettext_internal instead of __dcgettext. - * intl/gettext.c: Likewise. - * locale/SYS_libc.c (_libc_intl_domainname): Use INTDEF to define - alias. - * posix/regcomp.c (gettext): Use __dcgettext_internal instead of - __dcgettext. - * posix/regex_internal.c (gettext): Likewise. + * sysdeps/powerpc/dl-machine.h (ELF_MACHINE_NO_REL): Move to right + place. -2002-04-08 Andreas Jaeger <aj@suse.de> +2001-04-04 Ulrich Drepper <drepper@redhat.com> - * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Fix rewrite rule. + * sunrpc/rpc_scan.c (symbols): Add entry for HYPER. + * sunrpc/rpc_scan.h (enum tok_kind): Add TOK_HYPER. + * sunrpc/rpc_parse.c (get_type): Handle TOK_HYPER. + (unsigned_dec): Likewise. + Patch by atai@jezebel.dreamhost.com. - * sysdeps/x86_64/fpu/s_llrint.S: New file. - * sysdeps/x86_64/fpu/s_llrintf.S: New file. - * sysdeps/x86_64/fpu/s_llrintl.S: New file. - * sysdeps/x86_64/fpu/s_lrint.S: New file. - * sysdeps/x86_64/fpu/s_lrintf.S: New file. - * sysdeps/x86_64/fpu/s_lrintl.S: New file. + * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r): Pass + pointer to int as last parameter of yp_match. + Patch by kanazawa@flab.fujitsu.co.jp. -2002-04-08 Roland McGrath <roland@frob.com> +2001-04-03 Ulrich Drepper <drepper@redhat.com> - * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Use MAP_FAILED instead of - widening __hurd_fail value. + * resolv/netdb.h (gai_strerror): Make return value const. + * sysdeps/generic/gai_strerror.c (gai_strerror): Likewise. + * sysdeps/posix/gai_strerror.c (gai_strerror): Likewise. + Add strings for new error values. -2002-04-07 Roland McGrath <roland@frob.com> +2001-03-29 Michael Keezer <mkeezer@redhat.com> - * sysdeps/mach/hurd/alpha/trampoline.c: Don't include - <mach/machine/alpha_instruction.h>. - (_hurd_setup_sighandler): Take proper arguments for current decls. - Update code to use _hurdsig_catch_fault. - Use `callsys' instruction instead of `call_pal'. - * sysdeps/mach/hurd/alpha/intr-msg.h: New file. + * posix/tst-gnuglob.c: Added ifdef _DIRENT_HAVE_D_TYPE. + * login/tst-utmp.c: Handle case where ut_tv is not available but + ut_time is. + * sysdeps/unix/sysv/aix/utmpx.h: New file. + * sysdeps/unix/sysv/aix/bits/utmpx.h: Added + _HAVE_UT_TYPE/PID/ID/TV/HOST defines. + * sysdeps/unix/sysv/aix/libc-start.c: Removed temp code and made stub. + * sysdeps/unix/sysv/aix/gettimeofday.c: New file added routines + to access RTCU timer reg. + * sysdeps/unix/sysv/aix/Makefile: Remove /usr/lib/crt0.o + added dl-libc, dl-open,dl-sym, dl-close to misc. + * sysdeps/unix/sysv/aix/start.c: New file. Start code. + * sysdeps/unix/sysv/aix/dlldr.h: New file. AIX __loadx defines. + * sysdeps/unix/sysv/aix/dl-close.c: New file. AIX dl-close. + * sysdeps/unix/sysv/aix/dl-open.c: New file. AIX dl-open. + * sysdeps/unix/sysv/aix/dl-sym.c: New file. AIX dl-sym. + * sysdeps/unix/sysv/aix/dl-libc.c: New file. libc_dl-xxx support. + * sysdeps/generic/strtoll.c: Added SHLIB_COMPAT(libc,GLIBC_2_0, + GLIBC_2_2). + * sysdeps/generic/strtoull.c: Likewise. + * sysdeps/powerpc/ppc-mcount.S: Added nop after bl instruction. + * sysdeps/unix/sysv/aix/powerpc/memset.c: New file to include + sysdeps/generic/memset.c. + * sysdeps/unix/sysv/aix/getpeername.c: Define __getpeername. - * sysdeps/mach/alpha/sysdep.h: Include <mach/alpha/asm.h>. - (ALIGN, at, AT, fp): New macros. +2001-04-03 Ulrich Drepper <drepper@redhat.com> -2002-04-06 Roland McGrath <roland@frob.com> + * iconv/Makefile (CFLAGS-charmap.c): Add -DNEED_NULL_POINTER. + * locale/programs/charmap.c: Define null_pointer if + NEED_NULL_POINTER is defined. - * mach/setup-thread.c (__mach_setup_thread): int -> natural_t + * misc/dirname.c (dirname): Handle multiple slashes correctly. - * sysdeps/mach/hurd/dl-sysdep.c: Use ElfW(TYPE) in place of Elf32_TYPE. - (__mmap): Use MAP_FAILED instead of widening __hurd_fail value. +2001-04-03 Martin Schwidefsky <schwidefsky@de.ibm.com> - * sysdeps/mach/hurd/bind.c: Use prototype definition. - * sysdeps/mach/hurd/connect.c: Likewise. - * sysdeps/mach/hurd/getsockopt.c: Likewise. - * sysdeps/mach/hurd/setsockopt.c: Likewise. + * sysdeps/s390/s390-64/initfini.c: Fix __gmon_start__ GOT access. - * sysdeps/mach/hurd/alpha/sigreturn.c: Pass missing argument to - __msg_sig_post RPC. +2001-04-03 Martin Schwidefsky <schwidefsky@de.ibm.com> - * hurd/catch-exc.c: Use integer_t instead of int. - * hurd/hurdfault.c: Likewise. + * sysdeps/s390/s390-32/bcopy.S: Optimize for speed. + * sysdeps/s390/s390-64/bcopy.S: Likewise. + * sysdeps/s390/s390-32/mempcy.S: Likewise. + * sysdeps/s390/s390-64/memcpy.S: Likewise. - * sysdeps/mach/hurd/alpha/exc2signal.c - (_hurd_exception2signal): Rewritten. - * sysdeps/mach/hurd/alpha/longjmp-ts.c - (_hurd_longjmp_thread_state): Rewritten. +2001-04-02 Bruno Haible <haible@clisp.cons.org> -2002-04-07 Ulrich Drepper <drepper@redhat.com> + * manual/message.texi (Advanced gettext functions): More specific + syntax in the plural formula examples. - * nss/getXXbyYY_r.c: If NSS_attribute_hidden is defined use it with the - DB_LOOKUP_FCT prototype. - * nss/getXXent_r.c: Likewise. - * inet/getaliasent_r.c: Define NSS_attribute_hidden. - * inet/getaliasname_r.c: Likewise. - * inet/getnetbyad_r.c: Likewise. - * inet/getnetbynm_r.c: Likewise. - * inet/getnetent_r.c: Likewise. - * inet/getproto_r.c: Likewise. - * inet/getprtent_r.c: Likewise. - * inet/getprtname_r.c: Likewise. - * inet/getrpcbyname_r.c: Likewise. - * inet/getrpcbynumber_r.c: Likewise. - * inet/getrpcent_r.c: Likewise. - * inet/getservent_r.c: Likewise. - * inet/getsrvbynm_r.c: Likewise. - * inet/getsrvbypt_r.c: Likewise. - * shadow/getspent_r.c: Likewise. - * shadow/getspnam_r.c: Likewise. - - * malloc/thread-m.h: Define __libc_tsd_MALLOC_data as static. - - * sysdeps/i386/elf/bsd-setjmp.S: Use GOTOFF for __sigjmp_save access. - Use i686-friendly PIC code. - * sysdeps/i386/elf/setjmp.S: Likewise. +2001-04-02 Franz Sirl <Franz.Sirl-kernel@lauterbach.com> - * sysdeps/unix/sysv/linux/i386/sysdep.h: Use i686-friendly PIC code. + * sysdeps/powerpc/atomicity.h: Silence warnings. + * sysdeps/powerpc/dl-machine.h: Likewise. + * sysdeps/powerpc/register-dump.h: Likewise. + * sysdeps/powerpc/fpu/s_lrint.c: Likewise. - * sysdeps/mach/hurd/Versions: Add _dl_init_first to libc and ld export - list. - * elf/Versions: Remove it here. +2001-04-02 Andreas Jaeger <aj@suse.de> -2002-04-06 Ulrich Drepper <drepper@redhat.com> + * misc/tst-dirname.c (main): Add more tests, derived from a bug + report by Michael Kerrisk <mtk16@ext.canterbury.ac.nz>. - * iconvdata/tcvn5712-1.c (MAX_NEEDED_INPUT): Define for from - direction. Reported by H . J . Lu <hjl@lucon.org>. +2001-04-01 Andreas Jaeger <aj@suse.de> -2002-04-05 Ulrich Drepper <drepper@redhat.com> + * debug/xtrace.sh (pcprofileso): Use SLIBDIR since libpcprofile.so + is installed there. + * malloc/memusage.sh (memusageso): Likewise for libmemusage.so. - * intl/tst-gettext.sh: Set GCONV_PATH and LOCPATH to values for the - test just before the test runs. - * intl/tst-translit.sh: Likewise. - * intl/tst-codeset.sh: Likewise. +2001-04-01 H.J. Lu <hjl@gnu.org> - * timezone/zic.c: Update from tzcode2002c. - * timezone/asia: Update from tzdata2002c. - * timezone/backward: Likewise. - * timezone/europe: Likewise. - * timezone/northamerica: Likewise. - * timezone/northamerica: Likewise. - * timezone/northamerica: Likewise. - * timezone/southamerica: Likewise. - * timezone/zone.tab: Likewise. + * posix/annexc.c (macrofile): Renamed from TMPFILE and set to + tmpnam (NULL). + * stdlib/isomac.c (macrofile): Likewise. -2002-03-23 Jakub Jelinek <jakub@redhat.com> +2001-03-30 Thorsten Kukuk <kukuk@suse.de> - * sysdeps/generic/brk.c (__curbrk): Declare. - * sysdeps/generic/dl-brk.c: Add attribute_hidden to __curbrk. - * sysdeps/generic/dl-sbrk.c: Likewise. - * sysdeps/unix/arm/dl-brk.S: New file. - * sysdeps/unix/bsd/hp/m68k/dl-brk.S: New file. - * sysdeps/unix/bsd/osf/alpha/dl-brk.S: New file. - * sysdeps/unix/bsd/sun/m68k/dl-brk.S: New file. - * sysdeps/unix/bsd/vax/dl-brk.S: New file. - * sysdeps/unix/i386/dl-brk.S: New file. - * sysdeps/unix/mips/dl-brk.S: New file. - * sysdeps/unix/sparc/dl-brk.S: New file. - * sysdeps/unix/sysv/linux/alpha/dl-brk.S: New file. - * sysdeps/unix/sysv/linux/ia64/dl-brk.S: New file. - * sysdeps/unix/sysv/linux/powerpc/dl-brk.S: New file. - * sysdeps/unix/sysv/linux/sparc/sparc64/dl-brk.S: New file. + * inet/rcmd.c: Allow AF_UNSPEC as parameter. + * nis/ypclnt.c (yp_all): Print error message only at last try, + check for protocoll error only if we don't have a network error. -2002-04-03 Andreas Schwab <schwab@suse.de> +2001-04-02 Andreas Schwab <schwab@suse.de> - * Makefile (headers): Add gnu/lib-names.h here instead of - install-others. - ($(inst_includedir)/gnu/lib-names.h): Remove explicit - installation rule. - (install-headers): Add dependency on install-headers-nosubdir. - * stdio-common/Makefile (headers): Add bits/stdio_lim.h here - instead of install-others. - ($(inst_includedir)/bits/stdio_lim.h): Remove explicit - installation rule. + * resolv/res_data.c (res_isourserver): Fix cast. -2002-04-05 Ulrich Drepper <drepper@redhat.com> +2001-04-02 Andreas Jaeger <aj@suse.de> - * manual/users.tex (Enable/Disable Setuid): Fix typo in example. - Reported by Sam Roberts <sroberts@uniserve.com>. + * sysdeps/unix/sysv/linux/hppa/umount.c: Add prototype for + __umount2. -2002-04-03 Jakub Jelinek <jakub@redhat.com> + * sysdeps/i386/dl-machine.h (RTLD_START): Don't use multi-line + strings. + (ELF_MACHINE_RUNTIME_TRAMPOLINE): Likewise. - * elf/do-rel.h (elf_dynamic_do_rel): Skip relative relocs if - l_addr == 0 and ELF_MACHINE_REL_RELATIVE. - * sysdeps/alpha/dl-machine.h (ELF_MACHINE_REL_RELATIVE): Define. - * sysdeps/ia64/dl-machine.h (ELF_MACHINE_REL_RELATIVE): Define. + * sysdeps/ieee754/dbl-64/uroot.h: Add missing braces arount + initializers. + * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Likewise. -2002-04-03 David Mosberger <davidm@hpl.hp.com> + * elf/rtld.c (print_statistics)[!HP_TIMING_NONAVAIL]: Avoid + warning about unused variable. - * sysdeps/ia64/dl-machine.h (TRAMPOLINE_TEMPLATE): Add unwind info. - (RTLD_START): Ditto. - (__ia64_init_bootstrap_fdesc_table): Insert stop bit to avoid RAW - dependency violation. + * string/string.h (strndupa): Add cast for C++ conformance. + (strdupa): Likewise. + Fixes PR libc/2173, reported by tbrowder@home.com. -2002-04-05 Jakub Jelinek <jakub@redhat.com> +2001-03-30 Roland McGrath <roland@frob.com> - * time/mktime.c (__mktime_internal): Move check for year < 70 below - all variable declarations. + * sysdeps/mach/hurd/Makefile ($(link-rpcuserlibs)): Don't append + options after $(build-module), which is no longer a single command. + (LDFLAGS-link-rpcuserlibs): New variable to hold those options. + (LDFLAGS-libmachuser-link.so, LDFLAGS-libhurduser-link.so): New + variables using it. Reported by Mark Kettenis <kettenis@gnu.org>. -2002-04-04 Andreas Schwab <schwab@suse.de> +2001-03-11 Roland McGrath <roland@frob.com> - * sysdeps/unix/sysv/linux/ia64/pipe.S: Don't overwrite r8 on error. + * elf/rtld.c (dl_main): Add cast to quiet warning. + * elf/dl-load.c (_dl_map_object_from_fd): Likewise. + * iconv/gconv_conf.c (__gconv_get_path): Likewise. + (__gconv_read_conf): Likewise. + * iconv/gconv_db.c (gen_steps): Likewise. + (__gconv_find_transform): Likewise. + * locale/programs/charmap-dir.c (fopen_uncompressed): Likewise. + (fopen_uncompressed): Use const in second argument's type. -2002-04-04 Andreas Jaeger <aj@suse.de> +2001-03-11 Roland McGrath <roland@frob.com> - * sysdeps/x86_64/fpu/e_sqrt.c: New file. - * sysdeps/x86_64/fpu/e_sqrtf.c: New file. + * sysdeps/mach/hurd/dl-sysdep.c (__writev): New function. - * sysdeps/x86_64/fpu/s_fabs.c: New file. - * sysdeps/x86_64/fpu/s_fabsf.c: New file. - * sysdeps/x86_64/fpu/s_fabsl.c: New file. + * mach/mach_error.h: Fix ancient #endif syntax. + * hurd/hurdmalloc.c: Likewise. - * sysdeps/unix/sysv/linux/x86_64/time.S: New file. + * sysdeps/generic/atomicity.h (exchange_and_add, atomic_add, + compare_and_swap): Add volatile qualifier to first arg, to bring + these prototypes in line with all the other implementations. + Add a #warning to remind the builder that these are not atomic. - * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: New file. +2001-03-04 Roland McGrath <roland@frob.com> - * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Removed. - * sysdeps/unix/sysv/linux/x86_64/time.c: Removed. + * hurd/vpprintf.c (vpprintf) [USE_IN_LIBIO]: Use innermore first + member of TEMP_F so its type is _IO_FILE * as expected. - * configure.in: Handle all mips entries the same. + * hurd/fopenport.c (seekio): Conditionalize type of POS argument + on [USE_IN_LIBIO]. Check the value for overflow, since for libio + it might exceed off_t's range. - * sysdeps/mips/dec/bits/endian.h: Removed since arch is not supported. - * sysdeps/mips/mips3/*: Likewise. - * sysdeps/mips/p40/bits/endian.h: Likewise. +2001-02-25 Roland McGrath <roland@frob.com> -2002-04-04 Ulrich Drepper <drepper@redhat.com> + * sysdeps/mach/hurd/sysd-stdio.c (__stdio_reopen): Use prototype. + * sysdeps/unix/bsd/getpt.c (__posix_openpt): Likewise. - * misc/dirname.c (dirname): Ignore trailing slashes at end of - non-null result [PR libc/2600]. + * sysdeps/mach/hurd/i386/intr-msg.h (SYSCALL_EXAMINE): Make this a + macro instead of an inline function, + (MSG_EXAMINE): Likewise. - * misc/tst-dirname.c: Add more tests. + * hurd/hurd/ioctl.h (_HURD_HANDLE_IOCTLS_1): Remove extraneous ##. -2002-04-03 Ulrich Drepper <drepper@redhat.com> + * hurd/get-host.c: Include <string.h> for decls of built-ins. + * hurd/hurdchdir.c: Likewise. + * sysdeps/mach/hurd/i386/sigreturn.c: Likweise. + * sysdeps/mach/hurd/opendir.c: Likewise. - * locale/programs/charmap.c (charmap_read): If the charmap doesn't - define a code_set_name provide one based on the filename. + * mach/mach_init.c: Include <unistd.h> for _exit decl. - * malloc/hooks.c: Define weak_variable correctly for _LIBC. + * mach/errsystems.awk: Give output file a trailing newline. -2001-12-28 Andreas Jaeger <aj@suse.de> + * mach/Machrules (MIG): Prepend CC='${CC}' to the mig command, so that + the script will use our compiler for the cpp stage. - * time/mktime.c (__mktime_internal): Check for year < 70 - [PR libc/2738]. + With --enable-all-warnings we get a whole bunch of warnings, + and these are just a few fixes; there are more needed to silence it. + * mach/mach/mig_support.h (__mig_strncpy, mig_strncpy): Add extern + decls before extern inline defns to quiet gcc warning. + * hurd/hurd/threadvar.h (__hurd_threadvar_location_from_sp): Likewise. + * sysdeps/mach/i386/machine-sp.h (__thread_stack_pointer): Likewise. -2002-04-03 Andreas Jaeger <aj@suse.de> +2001-03-31 Andreas Jaeger <aj@suse.de> - * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Fix arguments for - shmat. - Reported by Andi Kleen <ak@suse.de>. + * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_RAWHDLC): Added. + (ARPHRD_HDLC): Define as alias for ARPHRD_CISCO. + (ARPHRD_CISCO): New. + Changes from Linux 2.4.3. -2002-04-03 Ulrich Drepper <drepper@redhat.com> +2001-03-30 Isamu Hasegawa <isamu@yamato.ibm.com> - * sysdeps/generic/w_lgamma.c: Initialized local_signgam. - * sysdeps/generic/w_lgammaf.c: Likewise. - * sysdeps/generic/w_lgammal.c: Likewise [PR libc/2854]. + * posix/regex.c: Avoid an access violation if malloc fails. - * debug/catchsegv.sh (exval): Quote [ in pattern [PR libc/2902]. - Adjust for new output format of the backtrace functions. +2001-03-30 Andreas Jaeger <aj@suse.de> - * misc/syslog.c (vsyslog): Only use cleanup handler if - _LIBC_REENTRANT is defined [PR libc/2924]. + * sysdeps/alpha/ldiv.S (ldiv): Add alias for imaxdiv. - * libio/Makefile (tests): Add bug-ungetwc2. - * libio/bug-ungetwc2.c: New file. +2001-03-29 Ulrich Drepper <drepper@redhat.com> - * manual/install.texi: Typographical and grammatical cleanup. - Patch by Dennis Grace <dgrace@us.ibm.com>. + * posix/regex.c: Remove unnecessary ifs. - * sunrpc/rpc_svcout.c (write_real_program): Write "result, " - parameter if mtflag. Patch by <jeongyun@innovay.com>. + * math/bits/mathcalls.h: Remove infnan declaration. - * sunrpc/rpc_svcout.c (printif): Remove third parameter. It was - always "&". Adjust callers. - Add "_" prefix to several generated definitions. - Patch by paul@serice.net [PR libc/3158]. +2001-03-29 H.J. Lu <hjl@gnu.org> -2002-04-02 Ulrich Drepper <drepper@redhat.com> + * include/endian.h: Define BIG_ENDI, LITTLE_ENDI, HIGH_HALF, + and LOW_HALF only if _LIBC is defined and _ISOMAC is not defined. + * stdlib/isomac.c (fmt): Define _LIBC and _ISOMAC. - * sysdeps/unix/sysv/linux/arm/dl-procinfo.c: Completely specify - size of _dl_arm_cap_flags. - Patch by enrico.scholz@informatik.tu-chemnitz.de [PR libc/3155]. +2001-03-29 Isamu Hasegawa <isamu@yamato.ibm.com> - * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT): - Define as 8. + * posix/regex.c: Fix typo and add a sentinel. -2002-03-22 H.J. Lu <hjl@gnu.org> +2001-03-29 Ulrich Drepper <drepper@redhat.com> - * scripts/firstversions.awk: Check the first version. + * sysdeps/unix/sysv/linux/shm_open.c: Open new file always with + O_NOFOLLOW. Suggested by Christoph Roland. -2002-04-02 Ulrich Drepper <drepper@redhat.com> +2001-03-27 Martin Schwidefsky <schwidefsky@de.ibm.com> - * elf/dl-deps.c (_dl_map_object_deps): The sorting of the - dependencies must be stable to work correctly. - Reported by martin.lubich@datacon.at. + * sysdeps/s390/bits/string.h: New unified 31/64 bit string.h. + * sysdeps/s390/s390-32/bits/string.h: Remove. + * sysdeps/s390/s390-64/bits/string.h: Remove. + * sysdeps/s390/s390-32/strcmp.S: New file. + * sysdeps/s390/s390-64/strcmp.S: New file. - * libio/bug-ungetwc1.c: New file. - * libio/Makefile (tests): Add bug-ungetwc1. +2001-03-27 Martin Schwidefsky <schwidefsky@de.ibm.com> - * libio/fileops.c (_IO_new_file_close_it): Only call _IO_do_flush - if stream was last used for writing. + * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Fix typo. + * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise. - * elf/do-lookup.h (do_lookup): 2 is the first user-defined version - number [PR libc/3111]. +2001-03-27 Ulrich Drepper <drepper@redhat.com> - * libio/iofclose.c (_IO_new_fclose): Move freeing of backup buffer - to ... - * libio/fileops.c (_IO_new_file_close_it): ...here [PR libc/3190]. + * version.h (VERSION): Bump to 2.2.3. -2002-04-02 Jakub Jelinek <jakub@redhat.com> + * stdlib/isomac.c (fmt): Don't define _LIBC. + * include/endian.h: Define BIG_ENDI, LITTLE_ENDI, HIGH_HALF, and + LOW_HALF only if _LIBC is defined. - * inet/ether_ntoh.c (__nss_ethers_lookup): Add internal_function. - * inet/ether_hton.c (__nss_ethers_lookup): Likewise. - * inet/getnetgrent_r.c (__nss_netgroup_lookup): Likewise. - * sunrpc/netname.c (__nss_publickey_lookup): Likewise. - * sunrpc/publickey.c (__nss_publickey_lookup): Likewise. + * sysdeps/i386/fpu/libm-test-ulps: Slight adjustment of yn() error. -2002-03-30 Jakub Jelinek <jakub@redhat.com> + * posix/fnmatch_loop.c (FCT): Handle !() after * special like @() + and +(). + * posix/tst-fnmatch.input: Add test cases for matching empty strings. - * elf/dynamic-link.h (elf_get_dynamic_info): Don't abort on unknown - dynamic tags. + * sysdeps/ieee754/dbl-64/endian.h: Removed. Move definitions... + * include/endian.h: ...to here. -2002-03-29 Jakub Jelinek <jakub@redhat.com> +2001-03-27 kaz Kojima <kkojima@rr.iij4u.or.jp> - * sysdeps/i386/fpu/s_fabs.S: New file. - * sysdeps/i386/fpu/s_fabsf.S: New file. - * sysdeps/i386/fpu/s_fabsl.S: New file. - * sysdeps/sparc/sparc64/fpu/s_fabs.c: New file. - * sysdeps/sparc/sparc64/fpu/s_fabsf.c: New file. - * sysdeps/sparc/sparc64/fpu/s_fabsl.c: New file. + * sysdeps/sh/sys/ucontext.h (NFREG): Rename to NFPREG. + * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (NFREG): Likewise. -2002-04-02 Ulrich Drepper <drepper@redhat.com> +2001-03-27 Martin Schwidefsky <schwidefsky@de.ibm.com> - * rt/tst-shm.c (do_test): Add one more test for size of shared - memory object. + * sysdeps/unix/sysv/linux/s390/ldconfig.h: Fix typo. -2002-03-29 Wolfram Gloger <wg@malloc.de> +2001-03-26 Ulrich Drepper <drepper@redhat.com> - * malloc/malloc.c: Add short description and prototypes for - malloc_get_state, malloc_set_state and posix_memalign, for - consistency and to avoid warnings with -Wstrict-prototypes. - Reported by Andreas Jaeger <aj@suse.de>. + * sysdeps/ia64/fpu/Dist: Add new files to distribute. + * sysdeps/unix/sysv/linux/s390/s390-64/Dist: Likewise. + * sysdeps/unix/sysv/linux/ia64/Dist: Likewise. -2002-04-02 Ulrich Drepper <drepper@redhat.com> + * gmon/Makefile (headers): Add sys/profil.h. - * po/gl.po: Update from translation team. +2001-03-18 Andreas Jaeger <aj@suse.de> -2002-03-31 Roland McGrath <roland@frob.com> + * manual/install.texi (Tools for Compilation): Advise to use GCC + 2.95.3. + (Supported Configurations): Mention s390x. - * hurd/hurdselect.c (_hurd_select): Fix - MACH_MSG_TYPE_INTEGER_T -> integer_t in sizeof. - Use a union rather than casts to compare mach_msg_type_t as int. +2001-03-26 Ben Collins <bcollins@debian.org> -2002-03-25 Roland McGrath <roland@frob.com> + * sysdeps/unix/sysv/linux/mips/bits/mman.h: Add MAP_* and MADV_* + defines to match other architectures. - * hurd/hurdchdir.c (_hurd_change_directory_port_from_name): Don't - check off the end of NAME when it's shorter than 2 chars. - Reported by Ognyan Kulev <ogi@fmi.uni-sofia.bg>. +2001-03-26 Ulrich Drepper <drepper@redhat.com> -2002-03-17 Roland McGrath <roland@frob.com> + * libio/Makefile (tests): Add tst-ext. + * libio/tst-ext.c: New file. - * sysdeps/mach/hurd/i386/sys/io.h: New file. - * sysdeps/mach/hurd/i386/ioperm.c: New file. - * sysdeps/mach/hurd/i386/Dist: Add them. - * sysdeps/mach/hurd/i386/Versions - (libc: GLIBC_2.2.6): New set, add ioperm. - * sysdeps/mach/configure.in: New check to set HAVE_I386_IO_PERM_MODIFY. - (mach_interface_list): Check for mach_i386.defs. - * config.h.in (HAVE_I386_IO_PERM_MODIFY): #undef it. - * sysdeps/mach/configure: Regenerated. + * libio/iosetvbuf.c (_IO_setvbuf): Clear line buffer flag for _IONBF. -2002-03-22 Ulrich Drepper <drepper@redhat.com> +2001-03-25 Ulrich Drepper <drepper@redhat.com> - * po/fr.po: Update from translation team. + Add changes which were in this form in the original patch by + Eric Norum <eric.norum@usask.ca>. + * include/rpc/rpc.h: Remove svc_fdset, rpc_createerr, svc_pollfd, and + svc_max_pollfd. + * sunrpc/rpc/rpc.h: Declare __rpc_thread_svc_fdset, + __rpc_thread_createerr, __rpc_thread_svc_pollfd, and + __rpc_thread_svc_max_pollfd. + Define svc_fdset, get_rpc_createerr, svc_pollfd, and + svc_max_pollfd. + * sunrpc/rpc_thread.c: Handle first thread special, it uses the + global variables. + Define __rpc_thread_svc_fdset, __rpc_thread_createerr, + __rpc_thread_svc_pollfd, and __rpc_thread_svc_max_pollfd. + * sunrpc/Versions [libc] (GLIBC_2.2.3): Export __rpc_thread_svc_fdset, + __rpc_thread_createerr, __rpc_thread_svc_pollfd, and + __rpc_thread_svc_max_pollfd. + * sunrpc/clnt_gen.c: Replace use of rpc_createerr by call to + get_rpc_createerr. + * sunrpc/clnt_perr.c: Likewise. + * sunrpc/clnt_simp.c: Likewise. + * sunrpc/clnt_tcp.c: Likewise. + * sunrpc/clnt_udp.c: Likewise. + * sunrpc/clnt_unix.c: Likewise. + * sunrpc/pm_getport.c: Likewise. -2002-03-21 Martin Schwidefsky <schwidefsky@de.ibm.com> - - * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Remove - getpriority from syscalls list. - -2002-03-28 Andreas Jaeger <aj@suse.de> - - * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: New file. - * sysdeps/unix/sysv/linux/x86_64/getcontext.S: New file. - * sysdeps/unix/sysv/linux/x86_64/setcontext.S: New file. - * sysdeps/unix/sysv/linux/x86_64/ucontext_i.h: New file. - -2002-03-27 Andreas Jaeger <aj@suse.de> - - * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (struct - sigcontext): Follow further kernel change. - - * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Follow further - kernel change. - - * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h (GET_STACK): - Change for struct sigcontext change. - - * sysdeps/unix/sysv/linux/x86_64/register-dump.h (register_dump): - Follow changes in struct sigcontext. - - * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Remove ptrace - sysycall, use wrapper instead. - -2002-03-26 Andreas Jaeger <aj@suse.de> - - * sysdeps/i386/i486/bits/string.h (__memcpy_by4): Describe memory - read and write accesses as detailed as possible. - (__memcpy_by2): Likewise. - (__memcpy_g): Likewise. - (memmove): Likewise. - (memcmp): Likewise. - (__memset_ccn_by4): Likewise. - (__memset_ccn_by2): Likewise. - (__memset_gcn_by4): Likewise. - (__memset_gcn_by2): Likewise. - (memchr): Likewise. - (__memrchr): Likewise. - (rawmemchr): Likewise. - (__strlen_g): Likewise. - (__strcpy_g): Likewise. - (__mempcpy_by4): Likewise. - (__mempcpy_by2): Likewise. - (__mempcpy_byn): Likewise. - (__stpcpy_g): Likewise. - (__strncpy_by4): Likewise. - (__strncpy_by2): Likewise. - (__strncpy_byn): Likewise. - (__strncpy_gg): Likewise. - (__strcat_c): Likewise. - (__strcat_g): Likewise. - (__strncat_g): Likewise. - (__strcmp_gg): Likewise. - (__strncmp_g): Likewise. - (__strchr_c): Likewise. - (__strchr_g): Likewise. - (__strchrnul_c): Likewise. - (__strchrnul_g): Likewise. - (__strrchr_c): Likewise. - (__strrchr_g): Likewise. - (__strrchr_c): Likewise. - (__strrchr_g): Likewise. - (__strcspn_c1): Likewise. - (__strcspn_cg): Likewise. - (__strcspn_g): Likewise. - (__strcspn_g): Likewise. - (__strspn_c1): Likewise. - (__strspn_cg): Likewise. - (__strspn_g): Likewise. - (__strspn_g): Likewise. - (__strpbrk_cg): Likewise. - (__strpbrk_g): Likewise. - (__strstr_cg): Likewise. - (__strstr_g): Likewise. - - * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Fix typo. Reported by - Michal Ludvig <mludvig@suse.cz>. - - * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Add 32-bit - compatibilty, adjust for kernel changes. - - * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (struct - sigcontext): Adjust for kernel changes. - -2002-03-25 Andreas Jaeger <aj@suse.de> - - * iconv/gconv_simple.c (ucs4le_internal_loop_single): Handle - little endian. - Reported by Artur Zaprzala <zybi@talex.com.pl>. - -2002-03-24 Andreas Jaeger <aj@suse.de> - - * manual/memory.texi (Aligned Memory Blocks): Fix typo. - - * stdio-common/tst-fdopen.c (main): Remove unused variable. - - * iconv/tst-iconv3.c (main): Use correct printf strings. - -2002-03-18 Roland McGrath <roland@frob.com> - - * sysdeps/unix/bsd/bsd4.4/bits/socket.h (struct cmsgcred): New type. - (CMGROUP_MAX): New macro. - -2002-03-23 Roland McGrath <roland@frob.com> - - * sysdeps/posix/shm_open.c (SHMDIR): /var/run/shm -> /dev/shm - * sysdeps/posix/shm_unlink.c: Likewise. - -2002-03-22 Roland McGrath <roland@frob.com> - - * shlib-versions [USE_IN_LIBIO] (.*-.*-gnu-gnu.*): Make 2.2.6 default. - * sysdeps/mach/hurd/configure.in: Default oldest ABI is 2.2.6 - under --enable-libio. - * sysdeps/mach/hurd/configure: Regenerated. - -2002-03-23 Roland McGrath <roland@frob.com> - - * sysdeps/mach/hurd/i386/Makefile - (sysdep_routines, shared-only-routines): Don't add framestate, - reverting 2001-10-02 change. - * sysdeps/unix/sysv/linux/arm/Makefile: Likewise. - * sysdeps/unix/sysv/linux/alpha/Makefile: Likewise. - * sysdeps/unix/sysv/linux/i386/Makefile: Likewise. - * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise. - * sysdeps/unix/sysv/linux/mips/Makefile: Likewise. - * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise. - * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Likewise. - * sysdeps/unix/sysv/linux/sparc/Makefile: Likewise. - * sysdeps/generic/Makefile (sysdep_routines, shared-only-routines): - Do it here instead, only if [$(unwind-find-fde) = yes]. - -2002-03-23 Andreas Jaeger <aj@suse.de> - - * signal/signal.h: Fix typo. Patch by Steve Kemp - <skx@tardis.ed.ac.uk>. - -2002-03-22 Andreas Jaeger <aj@suse.de> - - * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add getresgid and - getresuid. - - * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (struct - _fpstate): Rename fwd to ftw, use _fpxreg and _xmmreg. - * sysdeps/unix/sysv/linux/x86_64/sys/user.h (struct - user_fpregs_struct): Rename fwd. - - * sysdeps/unix/sysv/linux/x86_64/register-dump.h (register_dump): - Follow sigcontext changes. - -2002-03-22 Andreas Jaeger <aj@suse.de> - - * sysdeps/mips/bits/nan.h: New file. Copy from generic one with - changes for NaNs on MIPS. - Patch by Hartvig Ekner <hartvige@mips.com>. + * sysdeps/unix/sysv/linux/i386/getgroups.c (__getgroups): getgroups32 + syscall checks for negative n so don't test here as well. -2002-03-21 Ulrich Drepper <drepper@redhat.com> +2001-03-23 Jes Sorensen <jes@linuxcare.com> - * nscd/grpcache.c (addgrbyname): Improve buffer allocate with alloca. - Use realloc if too large. - (addgrbyid): Likewise. - * nscd/hstcache.c (addhstbyname): Likewise. - (addhstbyaddr): Likewise. - (addhstbynamev6): Likewise. - (addhstbyaddrv6): Likewise. - * nscd/pwdcache.c (addpwbyname): Likewise. - (addpwbyuid): Likewise. + * sysdeps/unix/sysv/linux/ia64/sysdep.h (ENTRY): Moved to ... + * sysdeps/ia64/sysdep.h: ...here. -2002-03-21 Andreas Jaeger <aj@suse.de> + * sysdeps/ia64/sysdep.h (LOCAL_ENTRY): Define. + * sysdeps/ia64/sysdep.h (LOCAL_LEAF): Define. - * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (struct - _fpstate): Add separate struct for x86-64. + * sysdeps/ia64/_mcount.S (_mcount_ret_helper): Use LOCAL_LEAF() to + declare instead of LEAF(). Suggestion from David Mosberger. - * sysdeps/unix/sysv/linux/x86_64/sys/user.h (struct - user_fpregs_struct): Change member names to follow kernel. +2001-03-21 David Mosberger <davidm@hpl.hp.com> -2002-03-20 Ulrich Drepper <drepper@redhat.com> + * sysdeps/unix/sysv/linux/ia64/sysdep.h (CALL_MCOUNT): Add unwind + directives. + (PSEUDO): Drop .psr and .lsb directives. - * nis/ypclnt.c (yp_all): Remove the hack introduced on 1998-09-29. - Correctly close the UDP connection right away [PR libc/3120]. + * sysdeps/unix/sysv/linux/ia64/setjmp.S: Ditto. Add unwind + directives. + * sysdeps/unix/sysv/linux/ia64/sysdep.S: Ditto. -2002-03-20 Andreas Jaeger <aj@suse.de> + * sysdeps/ia64/elf/start.S: Misc cleanup: remove .psr and .lsb + directives etc. + * sysdeps/unix/sysv/linux/ia64/brk.S: Ditto. + * sysdeps/unix/sysv/linux/ia64/__longjmp.S: Ditto. + * sysdeps/ia64/_mcount.S: Remove .psr and .lsb directives (no + longer needed). Add unwind directives. - * sysdeps/unix/sysv/linux/x86_64/sys/user.h (struct - user_fpregs_struct): Fix for changed kernel struct. - (struct user_regs_struct): Likewise. - (struct user): Likewise. - Add 32-bit x86 compatibility. + * sysdeps/ia64/sysdep.h: Define ASM_UNW_PRLG_RP, ASM_UNW_PRLG_PFS, + ASM_UNW_PRLG_PSP, ASM_UNW_PRLG_PR, and ASM_UNW_PRLG_GRSAVE. - * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Add more registers. +2001-03-21 Paul Eggert <eggert@twinsun.com> -2002-03-19 Andreas Jaeger <aj@suse.de> + * posix/regex.h (RE_INVALID_INTERVAL_ORD): New macro. + (RE_SYNTAX_POSIX_EGREP): Use it. + * posix/regex.c (regex_compile): Implement it. - * sysdeps/unix/sysv/linux/x86_64/bits/types.h: Cleanup x86 types. +2001-03-21 Paul Eggert <eggert@twinsun.com> -2002-03-18 Andreas Jaeger <aj@suse.de> + * posix/regex.c (GET_UNSIGNED_NUMBER): Check for overflow. + Rewrite to avoid duplicate code. - * iconvdata/Makefile: Only run tests when shared libs are - available. +2001-03-21 H.J. Lu <hjl@gnu.org> -2002-03-17 Andreas Jaeger <aj@suse.de> + * elf/Makefile (tests): Don't depend on $(objpfx)tst-pathopt.out + for cross-compiling. + ($(objpfx)tst-pathopt.out): Undo the last change. - * sysdeps/mips/fpu/fraiseexcpt.c (__feraiseexcept): Set cause bits. +2001-03-24 Mark Kettenis <kettenis@gnu.org> - * sysdeps/mips/fpu/fgetexcptflg.c (__fegetexceptflag): Add comment. + * sysdeps/mach/hurd/i386/bits/sigcontext.h (sc_sp, sc_fp, sc_pc, + sc_ps): Define as aliases for sc_uesp, sc_ebl, sc_eip and sc_efl. - * sysdeps/mips/fpu/fclrexcpt.c (__feclearexcept): Clear also cause - bits. + * sysdeps/mach/hurd/i386/init-first.c: Include <assert.h>. + (_dl_argv): Declare. + (init) [SHARED]: Readjust _dl_argv if we switched to a new stack. - * sysdeps/mips/fpu/fenv_libc.h (CAUSE_MASK): New macro. - (CAUSE_SHIFT): New macro. - Patch by Hartvig Ekner <hartvige@mips.com>. +2001-03-22 Andreas Jaeger <aj@suse.de> - * sysdeps/generic/unwind-dw2-fde-glibc.c: Add prototypes. - * sysdeps/generic/unwind-pe.h: Likewise. + * iconvdata/Makefile (generated): Add iconv-test.xxx. - * libio/iofdopen.c (_IO_new_fdopen): Pass parameter of correct - type to _IO_setb. + * posix/Makefile (generated): Add bug-regex2.mtrace and + bug-regex2-mem. - * libio/stdio.c (AL2): Define variant when visibility attribute is - not supported. +2001-03-21 Ulrich Drepper <drepper@redhat.com> - * include/libc-symbols.h (_INTVARDEF): Define variant when - visibility attribute is not supported. + * csu/version.c (__gnu_get_libc_release): Add prototype. + (__gnu_get_libc_version): Likewise. + * include/gnu/libc-version.h: Remove prototypes for not exported + functions. -2002-03-16 Ulrich Drepper <drepper@redhat.com> +2001-03-21 Jes Sorensen <jes@linuxcare.com> - * po/fr.po: Update from translation team. + * sysdeps/unix/sysv/linux/ia64/makecontext.c: Include libintl.h + for internationalized printfs to work. -2002-02-25 Bruno Haible <bruno@clisp.org> +2001-03-09 Bruno Haible <haible@clisp.cons.org> - * MakeTAGS (extract): Use --sort-by-file instead of --sort-output. + * intl/dcigettext.c (transmem_block_t): Change to unsigned char, to + avoid compiler warning. + (_nl_find_msg): Add casts to avoid compiler warnings. -2002-03-15 Ulrich Drepper <drepper@redhat.com> +2001-03-21 Ulrich Drepper <drepper@redhat.com> - * libio/iofdopen.c (_IO_new_fdopen): Call _IO_setb to deallocate - buffers if _IO_file_attach failed. + * gmon/Makefile (routines): Add sprofil. + (tests): Add tst-sprofil. + (noprof): Add sprofil. + * gmon/Versions [libc] (GLIBC_2.2.3): Add sprofil. - * libio/fileops.c (_IO_file_open): Close file descriptor if - _IO_SEEKOFF call failed. +2001-03-20 David Mosberger <davidm@hpl.hp.com> -2002-03-15 H.J. Lu <hjl@gnu.org> - Ulrich Drepper <drepper@redhat.com> + * sysdeps/generic/sprofil.c: New file. + * sysdeps/posix/sprofil.c: New file. + * gmon/tst-sprofil.c: New file. + * gmon/sys/profil.h: New file. - * configure.in: Check for availability of - init_array/fini_array/preinit_array handling in binutils. - * config.h.in (HAVE_INITFINI_ARRAY): New macro. - * config.make.in (have-initfini-array): New variable. +2001-03-20 Andreas Schwab <schwab@suse.de> -2002-03-15 Ulrich Drepper <drepper@redhat.com> + * include/unistd.h: Adjust prototype of __gethostname. - * stdio-common/tst-printf.c (main): Comment out one test which - checked the compiler's ability to fold floating-point constants - but not really printf. - (rfg3): Make s const. - * stdio-common/tst-printf.sh: Adjust for removed test. +2001-03-20 Jakub Jelinek <jakub@redhat.com> - * sysdeps/i386/i386-mcount.S: Just call __mcount_internal, it is an - internal function. Adjust for internal_function calling convention. - * sysdeps/i386/machine-gmon.h: Declare and define __mcount_internal - as internal_function. + * sysdeps/sparc/stackinfo.h: New file. - * sysdeps/generic/framestate.c: Declare fallback_frame_state_for as - hidden. +2001-03-21 Andreas Jaeger <aj@suse.de> - * nss/XXX-lookup.c (DB_LOOKUP_FCT): Add internal_function to - declaration and definition. - * nss/getXXbyYY_r.c (DB_LOOKUP_FCT): Add internal_function to - declaration. - * nss/getXXent_r.c: Likewise. - * nss/nsswitch.h (db_lookup_function): Add internal_function to - definition. + * elf/global.c (main): Use proper prototype. - * include/time.h: Declare __localtime_r as hidden. +2001-03-20 Ulrich Drepper <drepper@redhat.com> - * include/aliases.h: Declare __getaliasent_r as hidden. - * include/grp.h: Declare __getgrent_r as hidden. - * include/netdb.h: Declare __gethostent_r, __getnetent_r, - __getservent_r, and __getprotoent_r as hidden. - * include/pwd.h: Declare __getpwent_r as hidden. - * include/shadow.h: Declare __getspent_r as hidden. - * include/rpc/netdb.h: Declare __getrpcent_r as hidden. + * sunrpc/Makefile (routines): Add rpc_thread. + (CPPFLAGS): Add -D_RPC_THREAD_SAFE. + * sunrpc/rpc_thread.c: New file. + * sunrpc/Versions [libc] (GLIBC_2.2.3): Export __rpc_thread_destroy. + * sunrpc/auth_none.c: Don't use global variables. Access state in + thread-local storage. + * sunrpc/clnt_perr.c: Likewise. + * sunrpc/clnt_raw.c: Likewise. + * sunrpc/clnt_simp.c: Likewise. + * sunrpc/key_call.c: Likewise. + * sunrpc/rpc_common.c: Likewise. + * sunrpc/svc.c: Likewise. + * sunrpc/svc_raw.c: Likewise. + * sunrpc/svc_simple.c: Likewise. + * sunrpc/svcauth_des.c: Likewise. + * hurd/hurd/threadvar.h (enum __hurd_threadvar_index): Add + _HURD_THREADVAR_RPC_VARS. + * sysdeps/generic/bits/libc-tsd.h: Mention _LIBC_TSD_KEY_RPC_VARS. + * include/rpc/rpc.h: Define data structures for internal thread-local + "global" variables. + Based on patches by Eric Norum <eric.norum@usask.ca>. - * iconv/gconv_int.h: Declare __gconv_read_conf, __gconv_alias_compare, - and __gconv_transliterate as hidden. - Add internal_function to __gconv_get_path declaration. - * iconv/gconv_conf.c: Add internal_function to __gconv_get_path - definition. Add attribute_hidden to __gconv_read_conf definition. + * elf/dl-load.c: Various little optimizations. -2002-03-14 Ulrich Drepper <drepper@redhat.com> + * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Return + LINUX_LINK_MAX only if the statfs function is not implemented for + the filesystem. - * elf/rtld.c: Declare _environ as hidden. - * sysdeps/generic/dl-environ.c: Likewise. - * sysdeps/generic/dl-sysdep.c: Likewise. + * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Return + LINUX_LINK_MAX only if the fstatfs function is not implemented for + the filesystem. - * sysdeps/generic/ldsodefs.h: Declare _dl_debug_state_internal and - _dl_mcount_internal as hidden. - - * elf/Makefile (rtld-routines): Add dl-sbrk and dl-brk. - * sysdeps/generic/dl-brk.c: New file. - * sysdeps/generic/dl-sbrk.c: New file. - * sysdeps/unix/sysv/linux/i386/dl-brk.c: New file. - * sysdeps/unix/sysv/linux/i386/dl-sbrk.c: New file. - - * elf/dl-minimal.c (malloc): Declare _end as hidden. - (__errno_location): New function. Declare errno as hidden. - * elf/rtld.c (_dl_argc): Define as hidden. - (_dl_skip_args): Define as hidden. - (_begin, _end): Declare as hidden. - * sysdeps/generic/dl-sysdep.c (_end): Declare as hidden. - * sysdeps/generic/entry.h (_start): Declare as hidden. - * sysdeps/generic/ldsodefs.h (_dl_argc): Declare as hidden. - * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup): Declare - _dl_runtime_resolve and _dl_runtime_profile as hidden. - (RTLD_START): Use GOTOFF to access _dl_skip_args and _dl_fini. +2001-03-19 Ulrich Drepper <drepper@redhat.com> -2002-03-14 Roland McGrath <roland@frob.com> + * elf/dl-dst.h (DL_DST_COUNT): Add __builtin_expect. - * Makerules ($(common-objpfx)Versions.v.i): Depend on abi-versions.h. + * elf/dl-load.c (_dl_dst_count): Make DST recognition more robust. + (_dl_dst_substitute): Likewise. - * Makeconfig (%.v.i, %.v): New implicit rules. - (preprocess-versions): Variable removed. - ($(common-objpfx)shlib-versions.v.i): New target giving just the - shlib-versions input files as dependencies. - ($(common-objpfx)soversions.i): Depend on that instead of the input - files. Use it as input instead of using a pipeline. - (postclean-generated): Append soversions.i, shlib-versions.v, and - shlib-versions.v.i here. - * Makerules ($(common-objpfx)Versions.def.v.i): New target giving just - the Versions.def input files as dependencies. - ($(common-objpfx)Versions.v.i): Likewise for Versions files. - ($(common-objpfx)Versions.all): Depend on that instead of the input - files. Use it as input instead of using a pipeline. - ($(common-objpfx)sysd-versions): Likewise with Versions.v.i. - (postclean-generated): Append those .v and .v.i files here. +2001-03-17 Bruno Haible <haible@clisp.cons.org> + + * intl/loadmsgcat.c (_nl_load_domain) [!_LIBC]: Use fstat, not fstat64. + +2001-03-17 Bruno Haible <haible@clisp.cons.org> + + * intl/gettextP.h (struct expression): Add operators lnot, less_than, + greater_than, less_or_equal, greater_or_equal. Replace args2/args3 + union by a 'nargs' counter and an 'args[]' array. + * intl/plural.y: Don't include stdarg.h. + (new_exp): Take an array of arguments instead of varargs. + (new_exp_0, new_exp_1, new_exp_2, new_exp_3): New functions. + ('?' ':'): Make right-associative. + (EQUOP2): New token, replaces '=' and '!'. + (CMPOP2): New token. + (ADDOP2): New token, replaces '+' and '-'. + (MULOP2): New token, replaces '*', '/' and '%'. + ('!'): New token. + (exp): Add rules for CMPOP2 and '!'. Don't call YYABORT. + (start): Call YYABORT here. + (FREE_EXPRESSION): Update. + (yylex): Don't skip "\\n". Recognize comparison and '!' operators. + Update for new token symbols. + * intl/loadmsgcat.c (plvar, plone, germanic_plural, + init_germanic_plural): Update. + * intl/dcigettext.c (_nl_find_msg): Optimize for space. + (plural_eval): Recognize comparison and '!' operators. Optimize for + space. + +2001-03-10 Bruno Haible <haible@clisp.cons.org> + + * intl/loadmsgcat.c (_nl_load_domain): locale_charset() doesn't return + NULL any more. + +2001-01-05 Bruno Haible <haible@clisp.cons.org> + + * intl/loadmsgcat.c: Include headers needed for alloca(). + (freea): New macro. + (_nl_load_domain): Add fallback code for platforms lacking alloca. + * intl/localealias.c: (ADD_BLOCK, FREE_BLOCK): Remove macros. + (freea): New macro. + (read_alias_file): Simplify fallback code for platforms lacking + alloca. + +2001-01-07 Bruno Haible <haible@clisp.cons.org> + + * intl/gettextP.h (__gettextdebug): Remove declaration. + (__gettext_free_exp, __gettextparse): Convert prototype to K&R C + syntax. + (gettext_free_exp__, gettextparse__): New non-libc declarations. + * intl/plural.y [!_LIBC]: Define gettextparse__, gettext_free_exp__, + not __gettextparse, __gettext_free_exp. + * intl/loadmsgcat.c [!_LIBC]: Use gettextparse__, not __gettextparse. -2002-03-14 Jakub Jelinek <jakub@redhat.com> +2001-02-24 Bruno Haible <haible@clisp.cons.org> - * locale/broken_cur_max.c (__ctype_get_mb_cur_max): Use nl_langinfo. - * locale/Versions (_nl_current_LC_COLLATE, _nl_current_LC_CTYPE): - Remove. + * intl/dcigettext.c: Update comment about HAVE_LOCALE_NULL. -2002-03-14 Jakub Jelinek <jakub@redhat.com> +2001-01-05 Bruno Haible <haible@clisp.cons.org> - * sysdeps/generic/mp_clz_tab.c: New file. - * sysdeps/i386/mp_clz_tab.c: New file. - * sysdeps/hppa/mp_clz_tab.c: New file. - * sysdeps/powerpc/mp_clz_tab.c: New file. - * stdlib/Makefile (aux): Revert last patch. - * math/Makefile (gmp-objs): Likewise. + * intl/loadmsgcat.c (_nl_load_domain): Add fallback code for platforms + lacking strtoul, like SunOS4. -2002-03-13 Paul Eggert <eggert@twinsun.com> +2001-01-05 Bruno Haible <haible@clisp.cons.org> - * time/strftime.c: Comment fixes for references to obsolescent - standards, In most cases the simplest fix is to remove the - confusing comments. Cross-referencing all the standards properly - is a bit of a pain, and it should be enough to put that info in - the documentation as I did in my recent time.texi patch. - -2002-03-13 Paul Eggert <eggert@twinsun.com> - - * manual/time.texi (Formatting Calendar Time): - ISO C99 also specifies the E and O modifiers. - %P is a GNU extension, and is not in ISO C99. - Mention that %r is equivalent to %I:%M:%S %p in the POSIX locale. - %T is also in ISO C99. - The RFC 822 example is not valid in arbitrary locales. - Reword the POSIX.2 wording slightly, to make it a bit clearer - that POSIX.2 formats are also supported by later POSIX versions. - If a format was introduced in ISO C99 it is also required by - POSIX.1-2001. - -2002-03-13 Ulrich Drepper <drepper@redhat.com> - - * sysdeps/gnu/errlist.awk: Define _sys_errlist_internal and - _sys_nerr_internal with INTVARDEF2. - * include/libc-symbols.h (INTVARDEF2): New macro. - * include/stdio.h (_sys_errlist_internal): Declare as hidden. - (_sys_nerr_internal): Library. - - * sysdeps/posix/signal.c (_sigintr): Define as hidden. - * sysdeps/posix/sigintr.c (_sigintr): Declare as hidden. - - * stdio-common/tst-printf.sh: Adjust for last change in tst-printf.c. - -2002-03-13 Wolfram Gloger <wg@malloc.de> - - * malloc/malloc.c (sYSMALLOc): Don't change brk if mmap failed. - -2002-03-02 Andreas Schwab <schwab@suse.de> - - * stdio-common/vfprintf.c (process_arg): Fix decimal format with - 'h' flag and positional arg. - * stdio-common/tst-printf.c (rfg3): New function to test - positional arguments. - (main): Fix some warnings. - -2002-03-13 Jakub Jelinek <jakub@redhat.com> - - * elf/dl-minimal.c (_itoa): Use _itoa_lower_digits_internal if SHARED. - * elf/dl-reloc.c (_dl_reloc_bad_type): Likewise. - -2002-03-13 Ulrich Drepper <drepper@redhat.com> - - * grp/initgroups.c (__nss_group_data): Declare as hidden. - - * include/locale.h (_nl_C_locobj): Declare as hidden. - - * time/asctime.c (_nl_C_LC_TIME): Declare as hidden. - * time/strptime.c (_nl_C_LC_TIME): Likewise. - - * include/netinet/in.h (in6addr_any_internal): Mark as hidden. - - * include/sys/gmon.h: Declare _gmonparam as hidden. - - * locale/lc-ctype.c (__ctype32_wctype): Declare as hidden. - (__ctype32_wctrans): Likewise. - (__ctype32_width): Likewise. - - * sysdeps/unix/sysv/linux/ttyname.c: Comment out definition and - use of __ttyname. - - * posix/regcomp.c (__re_error_msgid): Renamed from re_error_msgid. - Define as hidden. - (__re_error_msgid_idx): Renamed from re_error_msgid_idx. Define as - hidden. Change all users of these variables. - - * posix/regex_internal.h (__re_error_msgid): Renamed from - re_error_msgid. Declare as hidden. - (__re_error_msgid_idx): Renamed from re_error_msgid_idx. Declare as - hidden. - - * stdio-common/reg-printf.c (__printf_arginfo_table): Define as hidden. - (__printf_function_table): Likewise. - * stdio-common/printf-parse.h (__printf_arginfo_table): Declare as - hidden. - (__printf_function_table): Likewise. - - * nscd/nscd_proto.h: Declare __nss_not_use_nscd_passwd, - __nss_not_use_nscd_group, and __nss_not_use_nscd_hosts as hidden. - - * nss/XXX-lookup.c (DATABASE_NAME_SYMBOL): Define as hidden. - * nss/nsswitch.c: Declare _nss_*_database as hidden. - - * stdlib/wctomb.c (__no_r_state): Declare as hidden. - * stdlib/mbtowc.c (__no_r_state): Define as hidden. - -2002-03-12 Ulrich Drepper <drepper@redhat.com> - - * ctype/ctype-info.c: Declare _nl_C_LC_CTYPE_class, - _nl_C_LC_CTYPE_class32, _nl_C_LC_CTYPE_toupper, _nl_C_LC_CTYPE_tolower, - _nl_C_LC_CTYPE_class_upper, _nl_C_LC_CTYPE_class_lower, - _nl_C_LC_CTYPE_class_alpha, _nl_C_LC_CTYPE_class_digit, - _nl_C_LC_CTYPE_class_xdigit, _nl_C_LC_CTYPE_class_space, - _nl_C_LC_CTYPE_class_print, _nl_C_LC_CTYPE_class_graph, - _nl_C_LC_CTYPE_class_blank, _nl_C_LC_CTYPE_class_cntrl, - _nl_C_LC_CTYPE_class_punct, _nl_C_LC_CTYPE_class_alnum, - _nl_C_LC_CTYPE_map_toupper, _nl_C_LC_CTYPE_map_tolower, and - _nl_C_LC_CTYPE_width: Declare as hidden. - * include/locale.h: Declare _nl_locale_file_list. - * locale/C-address.c: Define _nl_C_LC_ADDRESS as hidden. - * locale/C-collate.c: Define _nl_C_LC_COLLATE as hidden. - * locale/C-identification.c: Define _nl_C_LC_IDENTIFICATION as hidden. - * locale/C-measurement.c: Define _nl_C_LC_MEASUREMENT as hidden. - * locale/C-messages.c: Define _nl_C_LC_MESSAGES as hidden. - * locale/C-monetary.c: Define _nl_C_LC_MONETARY as hidden. - * locale/C-name.c: Define _nl_C_LC_NAME as hidden. - * locale/C-numeric.c: Define _nl_C_LC_NUMERIC as hidden. - * locale/C-paper.c: Define _nl_C_LC_PAPER as hidden. - * locale/C-telephone.c: Define _nl_C_LC_TELEPHONE as hidden. - * locale/C-time.c: Define _nl_C_LC_TIME as hidden. - * locale/C-ctype.c: Define _nl_C_LC_CTYPE_class, - _nl_C_LC_CTYPE_class32, _nl_C_LC_CTYPE_toupper, _nl_C_LC_CTYPE_tolower, - _nl_C_LC_CTYPE_class_upper, _nl_C_LC_CTYPE_class_lower, - _nl_C_LC_CTYPE_class_alpha, _nl_C_LC_CTYPE_class_digit, - _nl_C_LC_CTYPE_class_xdigit, _nl_C_LC_CTYPE_class_space, - _nl_C_LC_CTYPE_class_print, _nl_C_LC_CTYPE_class_graph, - _nl_C_LC_CTYPE_class_blank, _nl_C_LC_CTYPE_class_cntrl, - _nl_C_LC_CTYPE_class_punct, _nl_C_LC_CTYPE_class_alnum, - _nl_C_LC_CTYPE_map_toupper, _nl_C_LC_CTYPE_map_tolower, - _nl_C_LC_CTYPE_width, and as hidden. - * locale/findlocale.c: Declare _nl_C as hidden. - * locale/newlocale.c: Likewise. - * locale/setlocale.c: Define _nl_C as hidden. Remove declaration of - _nl_locale_file_list. - * locale/xlocale.c: Declare _nl_C_LC_CTYPE_class, - _nl_C_LC_CTYPE_toupper, and _nl_C_LC_CTYPE_tolower as hidden. - Define _nl_C_locobj as hidden. - - * malloc/mtrace.c (_mtrace_file): Define as hidden. - (_mtrace_line): Likewise. - - * include/time.h: Declare __mon_yday as hidden. - * time/strptime.c [_LIBC] (__mon_yday): Remove declaration. - - * libio/libioP.h: Declare __libio_codecvt as hidden. - * libio/fileops.c: Declare __libio_translit as hidden. - * libio/iofwide.c: Define __libio_translit as hidden. - - * login/getutent_r.c: Define __libc_utmp_lock as hidden. - * login/getutid_r.c: Declare __libc_utmp_lock as hidden. - * login/getutline_r.c: Likewise. - * login/utmpname.c: Likewise. - - * login/utmp-private.h: Declare __libc_utmp_file_functions, - __libc_utmp_unknown_functions, __libc_utmp_jump_table, and - __libc_utmp_file_name as hidden. - - * locale/setlocale.c (__libc_setlocale_lock): Define as hidden. - * locale/duplocale.c (__libc_setlocale_lock): Declare as hidden. - * locale/freelocale.c: Likewise. - * locale/lc-time.c: Likewise. - - * sysdeps/unix/bsd/getpt.c (__libc_ptyname1): Define as hidden. - (__libc_ptyname2): Likewise. - * sysdeps/unix/sysv/linux/ptsname.c (__libc_ptyname1): Declare as - hidden. - (__libc_ptyname2): Likewise. - - * sysdeps/generic/sbrk.c: Declare __libc_multiple_libcs as hidden. - * sysdeps/arm/init-first.c (__libc_multiple_libcs): Define as hidden. - * sysdeps/generic/init-first.c: Likewise. - * sysdeps/i386/init-first.c: Likewise. - * sysdeps/mach/hurd/i386/init-first.c: Likewise. - * sysdeps/mach/hurd/mips/init-first.c: Likewise. - * sysdeps/mach/hurd/powerpc/init-first.c: Likewise. - * sysdeps/sh/init-first.c: Likewise. - * sysdeps/unix/sysv/aix/init-first.c: Likewise. - * sysdeps/unix/sysv/linux/init-first.c: Likewise. + * intl/l10nflist.c (_nl_normalize_codeset): Use tolower, not _tolower. - * stdio-common/itowa-digits.c (_itowa_lower_digits): Define as hidden. - (_itowa_upper_digits): Likewise. +2001-01-05 Bruno Haible <haible@clisp.cons.org> - * libio/stdio.c (_IO_stdin, _IO_stdout, _IO_stderr): Define as hidden. - * libio/libio.h [_LIBC] (_IO_stdin, _IO_stdout, _IO_stderr): Declare - as hidden. + * intl/bindtextdom.c (set_binding_values): Convert prototype to K&R C + syntax. + * intl/dcigettext.c (transcmp): Convert to K&R C syntax. + * intl/explodename.c (_nl_find_language): Convert to K&R C syntax. + * intl/plural.y (__gettext_free_exp, yylex, yyerror): Convert to K&R C + syntax. - * libio/libioP.h: Declare _IO_file_jumps_mmap, _IO_wfile_jumps, - _IO_wfile_jumps_mmap, _IO_proc_jumps, _IO_old_proc_jumps, - _IO_str_jumps, _IO_wstr_jumps, _IO_file_jumps_internal, - _IO_wfile_jumps_internal, and _IO_list_all_internal as hidden. +2001-01-07 Bruno Haible <haible@clisp.cons.org> - * gmon/gmon.c (__bb_head): Define as hidden. - * gmon/bb_exit_func.c (__bb_head): Declare as hidden. + * intl/gettextP.h (gettext__, dgettext__, dcgettext__, textdomain__, + bindtextdomain__, bind_textdomain_codeset__): New declarations, from + old libgettext.h. + * intl/bindtextdom.c: Include libgnuintl.h instead of libgettext.h. + * intl/dcgettext.c: Likewise. + * intl/dcigettext.c: Likewise. + * intl/dcngettext.c: Likewise. + * intl/dngettext.c: Likewise. + * intl/finddomain.c: Likewise. + * intl/ngettext.c: Likewise. + * intl/textdomain.c: Likewise. + * intl/dgettext.c: Include libgnuintl.h instead of libgettext.h. + Include gettextP.h. + * intl/gettext.c: Likewise. Don't include locale.h. + +2001-03-17 Bruno Haible <haible@clisp.cons.org> + + * intl/gettextP.h (ZERO): New macro. + (struct binding): Always use ZERO. + * intl/bindtextdom.c (offsetof): Provide fallback for platforms that + lack it, like SunOS4. + (set_binding_values): Use offsetof, not sizeof. + * intl/dcigettext.c (offsetof): Provide fallback for platforms that + lack it, like SunOS4. + (ZERO): Remove macro. + (struct transmem_list): Use ZERO. + (DCIGETTEXT): Use offsetof, not sizeof. + +2001-03-17 Bruno Haible <haible@clisp.cons.org> + + * intl/gettextP.h: Include <stddef.h>. Include gettext.h, for + nls_uint32. + * intl/bindtextdom.c: Don't include gettext.h. + * intl/dcgettext.c: Likewise. + * intl/dcigettext.c: Likewise. + * intl/dcngettext.c: Likewise. + * intl/dngettext.c: Likewise. + * intl/finddomain.c: Likewise. + * intl/localealias.c: Likewise. + * intl/ngettext.c: Likewise. + * intl/plural.y: Likewise. + * intl/textdomain.c: Likewise. - * argp/argp-parse.c (_argp_hang): Define as static. +2001-03-17 Bruno Haible <haible@clisp.cons.org> - * include/libc-symbols.h (_INTVARDEF): Adjust for visibility - handling in latest compilers. + * intl/gettext.h: Don't include <stdio.h>. - * inet/in6_addr.c (in6addr_any): Use INTVARDEF not INTDEF to - define alias. - * libio/fileops.c (_IO_file_jumps): Likewise. - * libio/stdfiles.c (_IO_list_all): Likewise. - * libio/wfileops.c (_IO_wfile_jumps): Likewise. +2001-03-17 Bruno Haible <haible@clisp.cons.org> - * malloc/malloc.h: Move __libc_malloc_initialized declaration to - include/malloc.h. - * include/malloc.h: Add __libc_malloc_initialized declaration - here. Mark variable hidden. - * malloc/malloc.c: Include <malloc.h> not "malloc.h". + * intl/Makefile (CPPFLAGS): Set LOCALEDIR instead of GNULOCALEDIR. + * intl/dcigettext.c (_nl_default_dirname): Initialize with LOCALEDIR. - * elf/dl-open.c (__libc_argc): Declare as hidden. - (__libc_argv): Likewise. - * sysdeps/generic/wordexp.c (__libc_argc): Declare as hidden. - (__libc_argv): Likewise. - * sysdeps/mach/hurd/i386/init-first.c: Define __libc_argc and - __libc_argv as hidden. - * sysdeps/mach/hurd/mips/init-first.c: Likewise. - * sysdeps/mach/hurd/powerpc/init-first.c: Likewise. - * sysdeps/unix/sysv/aix/init-first.c: Likewise. - * sysdeps/unix/sysv/linux/init-first.c: Likewise. +2001-03-19 Ulrich Drepper <drepper@redhat.com> - * include/stdlib.h (__libc_drand48_data): Declare as hidden. - * stdlib/drand48.c: Remove declaration of __libc_drand48_data here. - * stdlib/erand48.c: Likewise. - * stdlib/jrand48.c: Likewise. - * stdlib/lcong48.c: Likewise. - * stdlib/lrand48.c: Likewise. - * stdlib/mrand48.c: Likewise. - * stdlib/nrand48.c: Likewise. - * stdlib/seed48.c: Likewise. - * stdlib/srand48.c: Likewise. + * sysdeps/unix/i386/i686/tempname.c: New file. - * stdio-common/_itoa.c (_itoa_base_table): Declare as hidden. - (_itoa_lower_digits_internal): New declaration. - (_itoa_upper_digits_internal): New declaration. - (_itoa): Use INTUSE to acces _itoa_upper_digits and _itoa_lower_digits. - * stdio-common.h (_itoa_lower_digits_internal): New declaration. - (_itoa_upper_digits_internal): New declaration. - (_itoa_word): Use INTUSE to acces _itoa_upper_digits and - _itoa_lower_digits. - * stdio-common/itoa-digits.c: Use INTVARDEF with _itoa_lower_digits. - * stdio-common/itoa-udigits.c: Use INTVARDEF with _itoa_upper_digits. + * sysdeps/posix/tempname.c (__gen_tempname): If RANDOM_BITS is + defined use this macro to get some bits of randomness instead of + the usual gettimeofday or time calls. - * elf/dl-minimal.c (_itoa): Declare _itoa_lower_digits as hidden. - * elf/dl-reloc.c (_dl_reloc_bad_type): Likewise. +2001-03-16 Paul Eggert <eggert@twinsun.com> - * stdio-common/_itowa.c (_itoa_base_table): Declare as hidden. - (_itowa_lower_digits): Likewise. - (_itowa_upper_digits): Likewise. - * stdio-common/_itowa.h (_itowa_lower_digits): Likewise. - (_itowa_upper_digits): Likewise. + * sysdeps/posix/tempname.c (uint64_t): Define to uintmax_t if + not defined, and if UINT64_MAX is not defined. - * intl/plural-exp.h (attribute_hidden): Define as empty macro if - not already defined. - (GERMANIC_PLURAL): Declare as hidden. +2001-03-19 Ulrich Drepper <drepper@redhat.com> - * posix/getopt.c (__getopt_initialized): Declare as hidden. - (attribute_hidden): Define as empty macro if not already defined. + * elf/cache.c: Mark and have translated a few more messages. - * iconv/gconv_int.h (__gconv_path_elem): Declare hidden. - (__gconv_max_path_elem_len): Likewise. - (__gconv_path_envvar): Likewise. - - * math/Makefile (gmp-objs): Remove mp_clz_tab. - * stdlib/Makefile (aux): Remove mp_clz_tab. - * stdlib/mp_clz_tab.c: Removed. Not needed anywhere. - - * stdlib/exit.h (__exit_funcs): Declare as hidden. - - * posix/bug-regex5.c (main): Use nl_langinfo instead of _NL_CURRENT. - - * locale/localeinfo.h: Add attribute_hidden to _nl_current_LC_XXX, - _nl_category_names, _nl_category_name_sizes, _nl_current, - _nl_C_name, _nl_POSIX_name, _nl_C_codeset, and _nl_C_LC_XXX. - - * intl/dcigettext.c (_nl_default_default_domain): Define as hidden. - (_nl_current_default_domain): Likewise - (_nl_state_lock): Likewise. - * intl/textdomain.c (_nl_default_default_domain): Declare as hidden. - (_nl_current_default_domain): Likewise - (_nl_state_lock): Likewise. - * intl/bindtextdom.c (_nl_state_lock): Likewise. - - * stdlib/fpioconst.h (__tens): Add attribute_hidden. - (_fpioconst_pow10): Likewise. - - * include/time.h (_tmbuf): Add attribute_hidden. - - * time/tzset.c (tzstring_list): Define as static. - - * include/time.h: Add attribute_hidden to __tzname_cur_max and - __use_tzfile declaration. - - * wcsmbs/wcsmbsload.h: Add attribute_hidden to __wcsmbs_gconv_fcts - and __wcsmbs_last_locale declaration. - -2002-02-25 Paul Eggert <eggert@twinsun.com> - - * timezone/Makefile (tzbases): Move systemv from here... - (tzlinks): to here, since the entries in systemv were all changed - from Zone to Link lines in tz-2001a. Bug reported (and patch - tested) by Peter Breitenlohner. - -2002-03-07 Jakub Jelinek <jakub@redhat.com> - - * time/tst-posixtz.c (tests): Add new tests. - (main): Test whether tzset() sets daylight properly. - -2002-03-06 Jakub Jelinek <jakub@redhat.com> - - * time/tzset.c (tz_compute): Move __daylight, __tzname and - __tzname_cur_max setting... - (tzset_internal): ...here. - -2002-03-06 Jakub Jelinek <jakub@redhat.com> - - * time/tzset.c (compute_change): Don't return any value. - (tz_compute): Likewise. Don't handle southern hemisphere here. - (__tz_convert): But here. - -2002-03-11 Ulrich Drepper <drepper@redhat.com> - - * manual/examples/mkfsock.c: Include <string.h> as well. - Patch by Alain De Carolis <alaind@wseurope.com>. - -2002-03-06 Isamu Hasegawa <isamu@yamato.ibm.com> - - * posix/regexec.c (re_match): Fix incorrect register sizes. - (re_search): Likewise. - -2002-03-05 Isamu Hasegawa <isamu@yamato.ibm.com> - - * posix/regcomp.c (regfree): Remove a disused condition. - * posix/regex_internal.c (re_acquire_state): Likewise. - (re_acquire_state_context): Likewise. - (register_state): Remove a redundant malloc invocation. - * posix/regex_internal.h: (re_state_table_entry): Simplify - the structure. - -2002-03-05 Isamu Hasegawa <isamu@yamato.ibm.com> - - * posix/regcomp.c (regcomp): Add __builtin_expect to error - handling conditions. - (regerror): Likewise. - (regfree): Likewise. - (re_compile_internal): Likewise. - (init_dfa): Likewise. - (init_word_char): Likewise. - (create_initial_state): Likewise. - (analyze): Likewise. - (analyze_tree): Likewise. - (duplicate_node): Likewise. - (calc_eclosure): Likewise. - (calc_eclosure_iter): Likewise. - (parse): Likewise. - (parse_reg_exp): Likewise. - (parse_branch): Likewise. - (parse_expression): Likewise. - (parse_subexp): Likewise. - (parse_dup_op): Likewise. - (parse_bracket_exp): Likewise. - (build_equiv_class): Likewise. - (build_charclass): Likewise. - (build_word_op): Likewise. - (fetch_number): Likewise. - (create_tree): Likewise. - (duplicate_tree): Likewise. - * posix/regex.c (BE): New macro. - * posix/regexec.c (re_match): Add __builtin_expect to error - handling conditions. - (re_match_2): Likewise. - (re_search): Likewise. - (re_search_internal): Likewise. - (check_matching): Likewise. - (proceed_next_node): Likewise. - (set_regs): Likewise. - (sift_states_backward): Likewise. - (add_epsilon_backreference): Likewise. - (transit_state): Likewise. - (transit_state_sb): Likewise. - (transit_state_mb): Likewise. - (transit_state_bkref): Likewise. - (transit_state_bkref_loop): Likewise. - (build_trtable): Likewise. - (group_nodes_into_DFAstates): Likewise. - (match_ctx_init): Likewise. - (match_ctx_add_entry): Likewise. - * posix/regex_internal.c (re_string_construct): Add __builtin_expect - to error handling conditions. - (re_string_construct_toupper): Likewise. - (build_wcs_buffer): Likewise. - (build_wcs_upper_buffer): Likewise. - (build_upper_buffer): Likewise. - (re_string_translate_buffer): Likewise. - (re_node_set_alloc): Likewise. - (re_node_set_init_1): Likewise. - (re_node_set_init_2): Likewise. - (re_node_set_init_copy): Likewise. - (re_node_set_intersect): Likewise. - (re_node_set_init_union): Likewise. - (re_node_set_merge): Likewise. - (re_node_set_insert): Likewise. - (re_dfa_add_node): Likewise. - (re_acquire_state): Likewise. - (re_acquire_state_context): Likewise. - (create_new_state_common): Likewise. - (register_state): Likewise. - (create_ci_new_state): Likewise. - (create_cd_new_state): Likewise. - (re_string_context_at): Remove redundant condition. - -2002-01-16 Roger Sayle <roger@eyesopen.com> - - * sysdeps/i386/i686/strcmp.S: Avoid unconditional jump to a ret. - - * sysdeps/i386/i586/strlen.S: Fix typo in comment. - -2002-03-11 Jakub Jelinek <jakub@redhat.com> - - * sysdeps/i386/elf/configure.in: Fix comment. - - * sysdeps/sparc/sparc64/configure.in: New file. - * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_load_address): Fix - if .dynamic comes before .got. - * config.h.in (SPARC64_DYNAMIC_BEFORE_GOT): Add. - - * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF, - HP_TIMING_ACCUM): Fix typos. - -2002-03-11 Ulrich Drepper <drepper@redhat.com> - - * string/strfry.c: Add some more randomness to the seed. - Patch by James A Morrison <ja2morri@student.math.uwaterloo.ca>. +2001-03-19 Martin Schwidefsky <schwidefsky@de.ibm.com> - * po/es.po: Update from translation team. - * po/fr.po: Likewise. + * elf/cache.c: Add case for FLAG_S390_LIB64. + * sysdeps/generic/ldconfig.h: Add define for FLAG_S390_LIB64. + * sysdeps/unix/sysv/linux/s390/ldconfig.h: New file. + * sysdeps/unix/sysv/linux/s390/readelflib.c: New file. - * stdio-common/tfformat.c (sprint_doubles): A test for %F format. +2001-03-19 Ulrich Drepper <drepper@redhat.com> - * stdio-common/printf_fp.c (__printf_fp): Correct check for %F format - when determining type of format. - Patch by James Antill <james@anqd.org> [PR libc/2787]. + * string/Makefile (tests): Add tst-strxfrm. + * string/tst-strxfrm.c: New file. Based on a test case by Paul Eggert. + * string/Depend: New file. -2002-03-04 Jakub Jelinek <jakub@redhat.com> +2001-03-19 Paul Eggert <eggert@twinsun.com> - * sysdeps/unix/bsd/ftime.c (ftime): Don't return 1000 in millitm. + * string/strxfrm.c (strxfrm): strxfrm should return 0, not 1, + when given the empty string in nontrivial locales. -2002-03-11 Roland McGrath <roland@frob.com> +2001-03-17 H.J. Lu <hjl@gnu.org> - * hurd/hurd/threadvar.h: Include <features.h> for __THROW macro. + * manual/Makefile (install): Use $(INSTALL_DATA) instead of + cp to install `dir'. - * Versions.def (libc): Add GLIBC_2.2.6. - * hurd/Versions (libc: GLIBC_2.2.6): Add __errno_location. - * sysdeps/mach/hurd/errnos.awk: In generated macro, use - __errno_location instead of __hurd_errno_location, and don't inline it. - * sysdeps/mach/hurd/bits/errno.h: Regenerated. - * hurd/errno.c: New file. - * hurd/Makefile (routines): Add errno. +2001-03-19 Andreas Schwab <schwab@suse.de> -2002-03-11 Ulrich Drepper <drepper@redhat.com> + * Makerules (build-shlib): Make sure exit codes get checked + properly. - * stdio-common/vfprintf.c (vfprintf): Avoid crashing for - ridiculously large widths and precisions [PR libc/3026]. +2001-03-18 Ulrich Drepper <drepper@redhat.com> -2002-03-11 Andreas Jaeger <aj@suse.de> + * Makerules (build-shlib): Remove unnecessary slashes introduced in + last change. - * sysdeps/unix/sysv/linux/s390/ldd-rewrite.sed: Fix for bi-arch - support. - Patch by Susanne Oberhauser <froh@SuSE.de>. + * configure.in: Test for -Bgroup option of linker. + * config.make.in: Define have-Bgroup. -2002-03-11 Ulrich Drepper <drepper@redhat.com> + * conform/data/unistd.h-data: Require gethostname. + * posix/unistd.h: Make gethostname prototype available for + __USE_XOPEN2K. - * inet/rexec.c (ahostbuf): Define as static. + * crypt/Makefile: When generating DSO link with libc_nonshared.a. + * debug/Makefile: Likewise. + * dlfcn/Makefile: Likewise. + * hesiod/Makefile: Likewise. + * iconvdata/extra-module.mk: Likewise. + * locale/Makefile: Likewise. + * login/Makefile: Likewise. + * math/Makefile: Likewise. + * nis/Makefile: Likewise. + * nss/Makefile: Likewise. + * resolv/Makefile: Likewise. + * rt/Makefile: Likewise. - * wctype/wcfuncs.c (__ctype32_wctype): Declare as hidden. - (__ctype32_wctrans): Likewise. - * wcsmbs/wcwidth.h (__ctype32_width): Declare as hidden. - * ctype/ctype-info.c (__ctype32_wctype): Add attribute_hidden. - (__ctype32_wctrans): Likewise. - (__ctype32_width): Likewise. +2001-03-17 Ulrich Drepper <drepper@redhat.com> - * gmon/Makefile (elide-routines.os): Add bb_init_func and bb_exit_func. - They were never exported anyway. + * inet/Makefile (tests): Remove left-over comment. - * gmon/gmon.c (_gmonparam): Add attribute_hidden. - * gmon/sys/gmon.h: Remove declaration of _gmonparam. It wasn't - exported. - * include/sys/gmon.h: Declare _gmonparam. + * posix/unistd.h (gethostname): Change type of second parameter + back to size_t as per upcoming XPG6. + * sysdeps/unix/sysv/aix/gethostname.c: Change type of second + parameter back to size_t as per upcoming XPG6. + * sysdeps/unix/sysv/sysv4/gethostname.c: Likewise. + * sysdeps/unix/sysv/gethostname.c: Likewise. + * sysdeps/mach/hurd/gethostname.c: Likewise. + * sysdeps/generic/gethostname.c: Likewise. - * sysdeps/unix/sysv/linux/i386/getdents64.c: Don't define compatibility - symbols for getdents64. They were never exported. +2001-03-16 Ulrich Drepper <drepper@redhat.com> -2002-03-09 Roland McGrath <roland@frob.com> + * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): + Handle NaN here. - * hurd/hurdsig.c (write_corefile): Fix swapped arguments to __dir_link. - Reported by Jon Arney <jarney1@cox.net>. + * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext): + Internationalize. -2002-02-23 Roland McGrath <roland@frob.com> +2001-02-06 Jakub Jelinek <jakub@redhat.com> - * hurd/hurd/threadvar.h (__hurd_threadvar_location): Add __THROW to - declaration. - (__hurd_errno_location): Function removed. + * elf/dl-load.c (_dl_map_object): Don't test l_opencount when + looking for name matches. -2002-03-06 Andreas Jaeger <aj@suse.de> +2001-02-26 Jakub Jelinek <jakub@redhat.com> - * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Add compatibility for - 32-bit. + * sysdeps/generic/sigcontextinfo.h (CALL_SIGHANDLER): Define. + * sysdeps/mach/hurd/i386/sigcontextinfo.h: Likewise. + * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h: Likewise. + * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise. + * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h: Likewise. + * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h: Likewise. + * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h: Likewise. + * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h: Likewise. + * sysdeps/unix/sysv/linux/s390/sigcontextinfo.h: Likewise. + * sysdeps/unix/sysv/linux/sh/sigcontextinfo.h: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h: Likewise. -2002-03-04 Andreas Jaeger <aj@suse.de> +2001-03-16 Ulrich Drepper <drepper@redhat.com> - * sysdeps/unix/sysv/linux/x86_64/readelflib.c: New file. + * sysdeps/ieee754/ldbl-96/s_erfl.c: New file. + Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>. - * sysdeps/unix/sysv/linux/kernel-features.h: Add defines for - x86-64. + * sysdeps/i386/fpu/libm-test-ulps: Adjust for addition of erfl and + erfcl. + * sysdeps/ia64/fpu/libm-test-ulps: Likewise. - * sysdeps/unix/sysv/linux/x86_64/bits/socket.h: New file. +2001-03-16 David Mosberger <davidm@hpl.hp.com> - * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: New file. + * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h (struct sigcontext): + Drop hack that was needed for 2.1.1 kernel headers. + + * sysdeps/unix/sysv/linux/ia64/ucontext_i.h: New file. + + * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Rewrite to make it + overlay with kernel's "struct sigcontext". + + * sysdeps/unix/sysv/linux/ia64/Makefile (sysdep_headers): Add + sys/rse.h for "misc" subdir. + (sysdep_routines): Add __start_context for "stdlib" subdir. + + * sysdeps/unix/sysv/linux/ia64/sys/rse.h: New file (based on + kernel file of the same name). + + * stdlib/Makefile (tests): Add tst-setcontext. + * stdlib/tst-setcontext.c: New file (based on a sample program by + Uli Drepper). + + * sysdeps/unix/sysv/linux/ia64/setcontext.S: New file. + * sysdeps/unix/sysv/linux/ia64/getcontext.S: New file. + * sysdeps/unix/sysv/linux/ia64/__start_context.S: New file. + * sysdeps/unix/sysv/linux/ia64/makecontext.c: New file. + * sysdeps/unix/sysv/linux/ia64/swapcontext.c: New file. + + * sysdeps/unix/sysv/linux/ia64/__longjmp.S (__longjmp): Use extr.u + instead of shift & and. + +2001-03-16 Martin Schwidefsky <schwidefsky@de.ibm.com> + + * sysdeps/s390/s390-64/bits/huge_val.h: Move to... + * sysdeps/s390/bits/huge_val.h: ...here. + * sysdeps/s390/s390-32/bit/huge_val.h: Remove. + * sysdeps/s390/s390-64/ffs.c: Move to... + * sysdeps/s390/ffs.c: ...here. + * sysdeps/s390/s390-32/ffs.c: Remove. + +2001-03-16 Jakub Jelinek <jakub@redhat.com> + + * elf/ldconfig.c (search_dir): Remove bogus diagnostic, instead + update osversion from more recent library. + +2001-03-13 Martin Schwidefsky <schwidefsky@de.ibm.com> + + * sysdeps/unix/sysv/linux/s390/Dist: Move to... + * sysdeps/unix/sysv/linux/s390/s390-32/Dist: ...here. + * sysdeps/unix/sysv/linux/s390/Makefile: Move to... + * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: ...here. + * sysdeps/unix/sysv/linux/s390/Versions: Move to... + * sysdeps/unix/sysv/linux/s390/s390-32/Versions: ...here. + * sysdeps/unix/sysv/linux/s390/alphasort64.c: Move to... + * sysdeps/unix/sysv/linux/s390/s390-32/alphasort64.c: ...here. + * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Move to... + * sysdeps/unix/sysv/linux/s390/s390-32/bits/fcntl.h: ...here. + * sysdeps/unix/sysv/linux/s390/bits/mman.h: Move to... + * sysdeps/unix/sysv/linux/s390/s390-32/bits/mman.h: ...here. + * sysdeps/unix/sysv/linux/s390/bits/resource.h: Move to... + * sysdeps/unix/sysv/linux/s390/s390-32/bits/resource.h: ...here. + * sysdeps/unix/sysv/linux/s390/bits/stat.h: Move to... + * sysdeps/unix/sysv/linux/s390/s390-32/bits/stat.h: ...here. + * sysdeps/unix/sysv/linux/s390/chown.c: Move to... + * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: ...here. + * sysdeps/unix/sysv/linux/s390/clone.S: Move to... + * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: ...here. + * sysdeps/unix/sysv/linux/s390/fchown.c: Move to... + * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: ...here. + * sysdeps/unix/sysv/linux/s390/fcntl.c: Move to... + * sysdeps/unix/sysv/linux/s390/s390-32/fcntl.c: ...here. + * sysdeps/unix/sysv/linux/s390/fxstat.c: Move to... + * sysdeps/unix/sysv/linux/s390/s390-32/fxstat.c: ...here. + * sysdeps/unix/sysv/linux/s390/getdents64.c: Move to... + * sysdeps/unix/sysv/linux/s390/s390-32/getdents64.c: ...here. + * sysdeps/unix/sysv/linux/s390/getegid.c: Move to... + * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: ...here. + * sysdeps/unix/sysv/linux/s390/geteuid.c: Move to... + * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: ...here. + * sysdeps/unix/sysv/linux/s390/getgid.c: Move to... + * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: ...here. + * sysdeps/unix/sysv/linux/s390/getgroups.c: Move to... + * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: ...here. + * sysdeps/unix/sysv/linux/s390/getresgid.c: Move to... + * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: ...here. + * sysdeps/unix/sysv/linux/s390/getresuid.c: Move to... + * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: ...here. + * sysdeps/unix/sysv/linux/s390/getrlimit.c: Move to... + * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: ...here. + * sysdeps/unix/sysv/linux/s390/getrlimit64.c: Move to... + * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit64.c: ...here. + * sysdeps/unix/sysv/linux/s390/getuid.c: Move to... + * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: ...here. + * sysdeps/unix/sysv/linux/s390/lchown.c: Move to... + * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: ...here. + * sysdeps/unix/sysv/linux/s390/lockf64.c: Move to... + * sysdeps/unix/sysv/linux/s390/s390-32/lockf64.c: ...here. + * sysdeps/unix/sysv/linux/s390/lxstat.c: Move to... + * sysdeps/unix/sysv/linux/s390/s390-32/lxstat.c: ...here. + * sysdeps/unix/sysv/linux/s390/mmap.S: Move to... + * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: ...here. + * sysdeps/unix/sysv/linux/s390/mmap64.S: Move to... + * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: ...here. + * sysdeps/unix/sysv/linux/s390/msgctl.c: Move to... + * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: ...here. + * sysdeps/unix/sysv/linux/s390/oldgetrlimit64.c: Move to... + * sysdeps/unix/sysv/linux/s390/s390-32/oldgetrlimit64.c: ...here. + * sysdeps/unix/sysv/linux/s390/readdir64.c: Move to... + * sysdeps/unix/sysv/linux/s390/s390-32/readdir64.c: ...here. + * sysdeps/unix/sysv/linux/s390/readdir64_r.c: Move to... + * sysdeps/unix/sysv/linux/s390/s390-32/readdir64_r.c: ...here. + * sysdeps/unix/sysv/linux/s390/register-dump.h: Move to... + * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: ...here. + * sysdeps/unix/sysv/linux/s390/scandir64.c: Move to... + * sysdeps/unix/sysv/linux/s390/s390-32/scandir64.c: ...here. + * sysdeps/unix/sysv/linux/s390/semctl.c: Move to... + * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: ...here. + * sysdeps/unix/sysv/linux/s390/setegid.c: Move to... + * sysdeps/unix/sysv/linux/s390/s390-32/setegid.c: ...here. + * sysdeps/unix/sysv/linux/s390/seteuid.c: Move to... + * sysdeps/unix/sysv/linux/s390/s390-32/seteuid.c: ...here. + * sysdeps/unix/sysv/linux/s390/setfsgid.c: Move to... + * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: ...here. + * sysdeps/unix/sysv/linux/s390/setfsuid.c: Move to... + * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: ...here. + * sysdeps/unix/sysv/linux/s390/setgid.c: Move to... + * sysdeps/unix/sysv/linux/s390/s390-32/setgid.c: ...here. + * sysdeps/unix/sysv/linux/s390/setgroups.c: Move to... + * sysdeps/unix/sysv/linux/s390/s390-32/setgroups.c: ...here. + * sysdeps/unix/sysv/linux/s390/setregid.c: Move to... + * sysdeps/unix/sysv/linux/s390/s390-32/setregid.c: ...here. + * sysdeps/unix/sysv/linux/s390/setresgid.c: Move to... + * sysdeps/unix/sysv/linux/s390/s390-32/setresgid.c: ...here. + * sysdeps/unix/sysv/linux/s390/setresuid.c: Move to... + * sysdeps/unix/sysv/linux/s390/s390-32/setresuid.c: ...here. + * sysdeps/unix/sysv/linux/s390/setreuid.c: Move to... + * sysdeps/unix/sysv/linux/s390/s390-32/setreuid.c: ...here. + * sysdeps/unix/sysv/linux/s390/setrlimit.c: Move to... + * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: ...here. + * sysdeps/unix/sysv/linux/s390/setuid.c: Move to... + * sysdeps/unix/sysv/linux/s390/s390-32/setuid.c: ...here. + * sysdeps/unix/sysv/linux/s390/shmctl.c: Move to... + * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: ...here. + * sysdeps/unix/sysv/linux/s390/socket.S: Move to... + * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: ...here. + * sysdeps/unix/sysv/linux/s390/sys/procfs.h: Move to... + * sysdeps/unix/sysv/linux/s390/s390-32/sys/procfs.h: ...here. + * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Move to... + * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: ...here. + * sysdeps/unix/sysv/linux/s390/syscall.S: Move to... + * sysdeps/unix/sysv/linux/s390/s390-32/syscall.S: ...here. + * sysdeps/unix/sysv/linux/s390/syscalls.list: Move to... + * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: ...here. + * sysdeps/unix/sysv/linux/s390/sysdep.S: Move to... + * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: ...here. + * sysdeps/unix/sysv/linux/s390/sysdep.h: Move to... + * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: ...here. + * sysdeps/unix/sysv/linux/s390/versionsort64.c: Move to... + * sysdeps/unix/sysv/linux/s390/s390-32/versionsort64.c: ...here. + * sysdeps/unix/sysv/linux/s390/xstat.c: Move to... + * sysdeps/unix/sysv/linux/s390/s390-32/xstat.c: ...here. + +2001-03-13 Martin Schwidefsky <schwidefsky@de.ibm.com> + + * sysdeps/unix/sysv/linux/s390/s390-64/Dist: New file. + * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: New file. + * sysdeps/unix/sysv/linux/s390/s390-64/bits/elfclass.h: New file. + * sysdeps/unix/sysv/linux/s390/s390-64/bits/fcntl.h: New file. + * sysdeps/unix/sysv/linux/s390/s390-64/bits/ipc.h: New file. + * sysdeps/unix/sysv/linux/s390/s390-64/bits/mman.h: New file. + * sysdeps/unix/sysv/linux/s390/s390-64/bits/msq.h: New file. + * sysdeps/unix/sysv/linux/s390/s390-64/bits/resource.h: New file. + * sysdeps/unix/sysv/linux/s390/s390-64/bits/sem.h: New file. + * sysdeps/unix/sysv/linux/s390/s390-64/bits/shm.h: New file. + * sysdeps/unix/sysv/linux/s390/s390-64/bits/sigaction.h: New file. + * sysdeps/unix/sysv/linux/s390/s390-64/bits/siginfo.h: New file. + * sysdeps/unix/sysv/linux/s390/s390-64/bits/sigstack.h: New file. + * sysdeps/unix/sysv/linux/s390/s390-64/bits/stat.h: New file. + * sysdeps/unix/sysv/linux/s390/s390-64/bits/types.h: New file. + * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: New file. + * sysdeps/unix/sysv/linux/s390/s390-64/fstatfs64.c: New file. + * sysdeps/unix/sysv/linux/s390/s390-64/ftruncate64.c: New file. + * sysdeps/unix/sysv/linux/s390/s390-64/fxstat.c: New file. + * sysdeps/unix/sysv/linux/s390/s390-64/fxstat64.c: New file. + * sysdeps/unix/sysv/linux/s390/s390-64/getdents.c: New file. + * sysdeps/unix/sysv/linux/s390/s390-64/getdents64.c: New file. + * sysdeps/unix/sysv/linux/s390/s390-64/getrlimit64.c: New file. + * sysdeps/unix/sysv/linux/s390/s390-64/glob.c: New file. + * sysdeps/unix/sysv/linux/s390/s390-64/glob64.c: New file. + * sysdeps/unix/sysv/linux/s390/s390-64/kernel_stat.h: New file. + * sysdeps/unix/sysv/linux/s390/s390-64/lxstat.c: New file. + * sysdeps/unix/sysv/linux/s390/s390-64/lxstat64.c: New file. + * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: New file. + * sysdeps/unix/sysv/linux/s390/s390-64/mmap64.c: New file. + * sysdeps/unix/sysv/linux/s390/s390-64/pread64.c: New file. + * sysdeps/unix/sysv/linux/s390/s390-64/pwrite64.c: New file. + * sysdeps/unix/sysv/linux/s390/s390-64/readdir.c: New file. + * sysdeps/unix/sysv/linux/s390/s390-64/readdir64.c: New file. + * sysdeps/unix/sysv/linux/s390/s390-64/readdir64_r.c: New file. + * sysdeps/unix/sysv/linux/s390/s390-64/readdir_r.c : New file. + * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: New file. + * sysdeps/unix/sysv/linux/s390/s390-64/setrlimit64.c: New file. + * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: New file. + * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c: New file. + * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c: New file. + * sysdeps/unix/sysv/linux/s390/s390-64/sigsuspend.c: New file. + * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: New file. + * sysdeps/unix/sysv/linux/s390/s390-64/statfs64.c: New file. + * sysdeps/unix/sysv/linux/s390/s390-64/sys/procfs.h: New file. + * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: New file. + * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: New file. + * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: New file. + * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: New file. + * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: New file. + * sysdeps/unix/sysv/linux/s390/s390-64/truncate64.c: New file. + * sysdeps/unix/sysv/linux/s390/s390-64/xstat.c: New file. + * sysdeps/unix/sysv/linux/s390/s390-64/xstat64.c: New file. + +2001-03-13 Martin Schwidefsky <schwidefsky@de.ibm.com> + + * sysdeps/s390/Dist: Move to... + * sysdeps/s390/390-32/Dist: ...here. + * sysdeps/s390/Implies: Move to... + * sysdeps/s390/s390-32/Implies: ...here. + * sysdeps/s390/Makefile: Move to... + * sysdeps/s390/s390-32/Makefile: ...here. + * sysdeps/s390/Versions: Move to... + * sysdeps/s390-32/s390/Versions: ...here. + * sysdeps/s390/add_n.S: Move to... + * sysdeps/s390/s390-32/add_n.S: ...here. + * sysdeps/s390/addmul_1.S: Move to... + * sysdeps/s390/s390-32/addmul_1.S: ...here. + * sysdeps/s390/atomicity.h: Move to... + * sysdeps/s390/s390-32/atomicity.h: ...here. + * sysdeps/s390/backtrace.c: Move to... + * sysdeps/s390/s390-32/backtrace.c: ...here. + * sysdeps/s390/bcopy.S: Move to... + * sysdeps/s390/s390-32/bcopy.S: ...here. + * sysdeps/s390/bits/byteswap.h: Move to... + * sysdeps/s390/s390-32/bits/byteswap.h: ...here. + * sysdeps/s390/bits/huge_val.h: Move to... + * sysdeps/s390/s390-32/bits/huge_val.h: ...here. + * sysdeps/s390/bsd-_setjmp.S: Move to... + * sysdeps/s390/s390-32/bsd-_setjmp.S: ...here. + * sysdeps/s390/bsd-setjmp.S: Move to... + * sysdeps/s390/s390-32/bsd-setjmp.S: ...here. + * sysdeps/s390/bzero.S: Move to... + * sysdeps/s390/s390-32/bzero.S: ...here. + * sysdeps/s390/elf/bsd-_setjmp.S: Move to... + * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: ...here. + * sysdeps/s390/elf/bsd-setjmp.S: Move to... + * sysdeps/s390/s390-32/elf/bsd-setjmp.S: ...here. + * sysdeps/s390/elf/start.S: Move to... + * sysdeps/s390/s390-32/elf/start.S: ...here. + * sysdeps/s390/ffs.c: Move to... + * sysdeps/s390/s390-32/ffs.c: ...here. + * sysdeps/s390/memchr.S: Move to... + * sysdeps/s390/s390-32/memchr.S: ...here. + * sysdeps/s390/memcpy.S: Move to... + * sysdeps/s390/s390-32/memcpy.S: ...here. + * sysdeps/s390/memset.S: Move to... + * sysdeps/s390/s390-32/memset.S: ...here. + * sysdeps/s390/mul_1.S: Move to... + * sysdeps/s390/s390-32/mul_1.S: ...here. + * sysdeps/s390/s390-mcount.S: Move to... + * sysdeps/s390/s390-32/s390-mcount.S: ...here. + * sysdeps/s390/strcpy.S: Move to... + * sysdeps/s390/s390-32/strcpy.S: ...here. + * sysdeps/s390/strncpy.S: Move to... + * sysdeps/s390/s390-32/strncpy.S: ...here. + * sysdeps/s390/sub_n.S: Move to... + * sysdeps/s390/s390-32/sub_n.S: ...here. + +2001-03-13 Martin Schwidefsky <schwidefsky@de.ibm.com> + + * sysdeps/s390/s390-64/Dist: New file. + * sysdeps/s390/s390-64/Implies: New file. + * sysdeps/s390/s390-64/Makefile: New file. + * sysdeps/s390/s390-64/__longjmp.c: New file. + * sysdeps/s390/s390-64/add_n.S: New file. + * sysdeps/s390/s390-64/atomicity.h: New file. + * sysdeps/s390/s390-64/backtrace.c: New file. + * sysdeps/s390/s390-64/bcopy.S: New file. + * sysdeps/s390/s390-64/bits/byteswap.h: New file. + * sysdeps/s390/s390-64/bits/huge_val.h: New file. + * sysdeps/s390/s390-64/bits/setjmp.h: New file. + * sysdeps/s390/s390-64/bits/string.h: New file. + * sysdeps/s390/s390-64/bsd-_setjmp.S: New file. + * sysdeps/s390/s390-64/bsd-setjmp.S: New file. + * sysdeps/s390/s390-64/bzero.S: New file. + * sysdeps/s390/s390-64/dl-machine.h: New file. + * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: New file. + * sysdeps/s390/s390-64/elf/bsd-setjmp.S: New file. + * sysdeps/s390/s390-64/elf/setjmp.S: New file. + * sysdeps/s390/s390-64/elf/start.S: New file. + * sysdeps/s390/s390-64/ffs.c: New file. + * sysdeps/s390/s390-64/initfini.c: New file. + * sysdeps/s390/s390-64/memchr.S: New file. + * sysdeps/s390/s390-64/memcpy.S: New file. + * sysdeps/s390/s390-64/memset.S: New file. + * sysdeps/s390/s390-64/s390x-mcount.S: New file. + * sysdeps/s390/s390-64/setjmp.S: New file. + * sysdeps/s390/s390-64/strcpy.S: New file. + * sysdeps/s390/s390-64/strncpy.S: New file. + * sysdeps/s390/s390-64/sub_n.S: New file. + * sysdeps/s390/s390-64/sysdep.h: New file. + +2001-03-13 Martin Schwidefsky <schwidefsky@de.ibm.com> + + * scripts/config.guess: Add support for Linux on 64 bit S/390. + * scripts/config.sub: Likewise. - * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: New file. +2001-03-13 Martin Schwidefsky <schwidefsky@de.ibm.com> - * sysdeps/x86_64/bits/setjmp.h: New file. + * configure.in: Add support for 64 bit S/390. - * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: New file. + * elf/elf.h: Add new relocations for 64 bit S/390. - * sysdeps/unix/sysv/linux/x86_64/bits/resource.h: New file. + * shlib-versions: Add rules for Linux on 64 bit S/390. - * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Add compatibilty - for x86. - * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Likewise. - * sysdeps/unix/sysv/linux/x86_64/bits/types.h: Likewise. +2001-03-13 Martin Schwidefsky <schwidefsky@de.ibm.com> -2002-02-28 Bo Thorsen <bo@suse.de> + * sysdeps/s390/__longjmp.c: Move to... + * sysdeps/s390/s390-32/__longjmp.c: ...here. Add code + to load the floating point registers that should be saved + according to the ABI. - * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Merge with i386 - version. + * sysdeps/s390/bits/setjmp.h: Move to... + * sysdeps/s390/s390-32/bits/setjmp.h: ...here. Avoid + the use of long long in the __jmp_buf type definition. -2002-03-03 Andreas Jaeger <aj@suse.de> + * sysdeps/s390/bits/string.h: Move to... + * sysdeps/s390/s390-32/bits/string.h: ...here. Add several missing + #ifndef _FORCE_INLINES. - * sysdeps/x86_64/bits/wordsize.h: New file. + * sysdeps/s390/dl-machine.h: Move to... + * sysdeps/s390/s390-32/dl-machine.h: ...here. Add a check for the + executables EI_CLASS in elf_machine_matches_host. - * elf/nodlopenmod2.c: Provide prototype to avoid warning. - * elf/tst-tlsmod1.c: Likewise. + * sysdeps/s390/elf/setjmp.S: Move to... + * sysdeps/s390/s390-32/elf/setjmp.S: ...here. Replace + branches to globally defined symbol __sigsetjmp by branches to + a local label (this avoids the generation of a R_390_PC16DBL + relocation in -fpic code). - * posix/regcomp.c: Get regex.h from include dir for internal - prototypes. + * sysdeps/s390/gmp-mparam.h: Use defines from <bits/wordsize.h> to + calculate BITS_PER_MP_LIMB, BYTES_PER_MP_LIMB and BITS_PER_LONGINT. + + * sysdeps/s390/initfini.c: Move to... + * sysdeps/s390/s390-32/initfini.c: ...here. Replace ALIGN with + ".align 4,0x07". + + * sysdeps/s390/setjmp.S: Move to... + * sysdeps/s390/s390-32/setjmp.S: ...here. Add code to store the + floating point registers that should be saved according to the ABI. - * sysdeps/unix/sysv/linux/init-first.c: Move __init_misc prototype - to libc-internal.h and include it. - * include/libc-internal.h: Add __init_misc. + * sysdeps/s390/sys/ucontext.h: Remove since it is unused. - * misc/init-misc.c: Include libc-internal.h for prototypes. + * sysdeps/unix/sysv/linux/s390/sysdep.h: Move to... + * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: ...here. Include + sysdeps/s390/s390-32/sysdep.h instead of sysdeps/s390/sysdep.h. - * sysdeps/wordsize-32/divdi3.c: Add prototypes to avoid warnings. +2001-03-13 Martin Schwidefsky <schwidefsky@de.ibm.com> - * misc/error.c [_LIBC]: Include libioP.h for prototype of - _IO_putc_internal. + * configure.in: Change machine=s390 to machine=s390/s390-32. -2002-03-03 Ulrich Drepper <drepper@redhat.com> + * elf/elf.h: Correct comment for R_390_PLT16DBL. - * posix/regcomp.c: Compatibility changes to allow using the code - outside glibc. +2001-03-12 Jakub Jelinek <jakub@redhat.com> -2002-02-28 Hartvig Ekner <hartvige@mips.com> + * csu/Makefile (abi-tag.h): Define OS and version separately, allow + version to be overriden from config.h. + * csu/abi-note.S: Use OS and version separately, include config.h. + * elf/dl-load.c (_dl_osversion): New. + (_dl_map_object_from_fd): Kill some warnings. + (open_verify): Check .note.ABI-tag of the library if present. + * elf/Makefile (CPPFLAGS-dl-load.c): Add -I$(csu-objpfx). + * elf/cache.c (struct cache_entry): Add osversion. + (print_entry): Print osversion. + (print_cache): Pass osversion to it. + (compare): Sort according to osversion. + (save_cache): Set osversion. + (add_to_cache): Add osversion argument. + * sysdeps/generic/ldconfig.h (add_to_cache, process_file, + process_elf_file): Add osversion argument. + * elf/readlib.c (process_file): Likewise. + * sysdeps/generic/readelflib.c (process_elf_file): Likewise. + * sysdeps/unix/sysv/linux/ia64/readelflib.c (process_elf_file, + process_elf32_file, process_elf64_file): Likewise. + * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file, + process_elf32_file, process_elf64_file): Likewise. + * sysdeps/unix/sysv/linux/sparc/readelflib.c (process_elf_file, + process_elf32_file, process_elf64_file): Likewise. + * elf/ldconfig.c (manual_link): Pass it. + (search_dir): Issue diagnostic if two libs with the same soname in + the same directory have different .note.ABI-tag. Record osversion in + dlib_entry and use it from there. + (struct lib_entry): Remove. + (struct dlib_entry): Add osversion. + * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Check + osversion. + * sysdeps/generic/dl-cache.h (struct file_entry_new): Replace __unused + field with osversion. + * sysdeps/generic/ldsodefs.h (_dl_osversion): Declare. + * sysdeps/unix/sysv/linux/init-first.c: Include ldsodefs.h. + * sysdeps/unix/sysv/linux/dl-osinfo.h (DL_SYSDEP_OSCHECK): Save kernel + version in _dl_osversion. + * sysdeps/unix/sysv/linux/configure.in: Define __ABI_TAG_VERSION. + * Makerules (build-shlib-helper, build-module-helper): New. + (build-shlib, build-module-helper): Make sure .note.ABI-tag comes + early. + * config.h.in (__ABI_TAG_VERSION): Add. + * elf/dl-minimal.c (__strtoul_internal): Set endptr on return. + * sysdeps/unix/sysv/linux/i386/dl-librecon.h (EXTRA_LD_ENVVARS): + Handle LD_ASSUME_KERNEL. + * sysdeps/unix/sysv/linux/dl-librecon.h: New. + +2001-03-15 Ulrich Drepper <drepper@redhat.com> + + * timezone/antarctica: Update from tzdata2001a. + * timezone/asia: Likewise. + * timezone/australasia: Likewise. + * timezone/backward: Likewise. + * timezone/etcetera: Likewise. + * timezone/europe: Likewise. + * timezone/leapseconds: Likewise. + * timezone/northamerica: Likewise. + * timezone/southamerica: Likewise. + * timezone/systemv: Likewise. + * timezone/yearistype: Likewise. + * timezone/zone.tab: Likewise. + * timezone/tzdump.c: Update from tzcode2001a. - * sysdeps/mips/elf/start.S: Added initialization of GP (to _gp) if - compiled non-PIC. +2001-03-15 H.J. Lu <hjl@gnu.org> -2002-03-02 Ulrich Drepper <drepper@redhat.com> + * intl/Makefile: Fix a typo. - * sysdeps/generic/dl-sysdep.c (_dl_important_hwcaps): Fix creation - of .str elements in the returned data structure. +2001-03-14 David Mosberger <davidm@hpl.hp.com> - * elf/elf.h: Add Alpha TLS bits. + * gmon/gmon.c (write_call_graph): Avoid unaligned accesses when + writing arc structures. -2002-02-28 Jakub Jelinek <jakub@redhat.com> +2001-03-15 H.J. Lu <hjl@gnu.org> - * sysdeps/unix/sysv/linux/nice.c: New file. + * elf/Makefile ($(objpfx)tst-pathopt.out): Protected against + cross-compiling. -2002-03-01 Ulrich Drepper <drepper@redhat.com> +2001-03-13 Andreas Schwab <schwab@suse.de> - * elf/Makefile (dl-routines): Add dl-origin. - (elide-routines.os): Add dl-origin. - * elf/Versions [ld] (GLIBC_PRIVATE): Add _dl_get_origin. - * elf/dl-debug.c (_dl_debug_initialize): Add missing INTUSE around - _dl_debug_state. - * include/libc-symbols.c: Define attribute_hidden depending on - HAVE_VISIBILITY_ATTRIBUTE. Add definition of INTVARDEF. + * posix/PTESTS2C.sed: Replace literal CRs by `\r'. - * elf/dl-deps.c: Use INTUSE with __libc_enable_secure. - * elf/dl-load.c: Likewise. - * elf/rtld.c: Likewise. - * include/unistd.h: Declare __libc_enable_secure_internal. - * sysdeps/generic/dl-sysdep.c: Use INTVARDEF with __libc_enable_secure. - Use INTUSE with __libc_enable_secure. - * sysdeps/mach/hurd/dl-sysdep.c: Likewise. +2001-03-15 Ulrich Drepper <drepper@redhat.com> + + * sysdeps/unix/sysv/linux/cmsg_nxthdr.c (__cmsg_nxthdr): Fix test + for control message fitting into message data. + Patch by James Antill <james@and.org>. + + * posix/tst-fnmatch.input: Add test case for FNM_PERIOD handling with + FNM_EXTMATCH. + + * posix/fnmatch_loop.c: Optimize handling of ?() and @(). + * posix/fnmatch.c: Define STRLEN and STRCAT appropriately. + + * posix/Versions [libc] (GLIBC_2.2.3): Add fnmatch. + * posix/fnmatch.c: Define with new default version GLIBC_2.2.3 to + avoid running binaries with libc versions without FNM_EXTMATCH support. + + * include/wchar.h: Add prototype for __wcscat. + * wcsmbs/wcscat.c: Define __wcscat and make wcscat weak alias. + + * posix/fnmatch.h (FNM_EXTMATCH): Define. + * posix/fnmatch.c (NO_LEADING_PERIOD): Define. + (posixly_correct): Move global variable here. + (INT, EXT, END): Name new functions defined in fnmatch_loop.c. + (fnmatch): Pretty printing. + * posix/fnmatch_loop.c: Add code to handle FNM_EXTMATCH. + * posix/tst-fnmatch.c: Recognize EXTMATCH flag. + * posix/tst-fnmatch.input: Add tests for extended matching. + + * posix/testfnm.c: Add test for patterns with multiple ** before /. + * posix/fnmatch_loop.c: Fix problem with the test above. + +2001-03-14 Ulrich Drepper <drepper@redhat.com> + + * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Remove + reference to usqrt. + + * resolv/res_data.c (fp_nquery): Call __res_ninit not __res_init. + +2001-03-12 Andreas Jaeger <aj@suse.de> + + * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file): + Use EM_X86_64 instead of EM_X8664. + +2001-03-12 Ulrich Drepper <drepper@redhat.com> + + * sysdeps/ieee754/dbl-64/upow.h: Define nZERO and nINF. + + * sysdeps/ieee754/dbl-64/e_remainder.c: Fix handling of boundary + conditions. + + * sysdeps/ieee754/dbl-64/e_pow.c: Fix handling of boundary + conditions. + + * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Handle Inf and NaN + correctly. + (__cos): Likewise. + + * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Handle NaN + correctly. + (__ieee754_acos): Likewise. + +2001-03-12 Andreas Jaeger <aj@suse.de> + + * sysdeps/unix/sysv/linux/s390/sysdep.h (_LINUX_S390_SYSDEP_H): + Fix typo. Patch by Martin Schwidefsky <schwidefsky@de.ibm.com>. + + * sysdeps/s390/bits/string.h: Protect __STRING_INLINE against + redefinition. + +2001-03-11 Roland McGrath <roland@frob.com> + + * sysdeps/mach/hurd/configure.in: Add a sanity check on $prefix. + +2001-03-11 Ulrich Drepper <drepper@redhat.com> + + * sysdeps/ieee754/dbl-64/endian.h: Define also one of BIG_ENDI and + LITTLE_ENDI. + + * sysdeps/ieee754/dbl-64/MathLib.h (Init_Lib): Use void as + parameter list. + + Last-bit accurate math library implementation by IBM Haifa. + Contributed by Abraham Ziv <ziv@il.ibm.com>, Moshe Olshansky + <olshansk@il.ibm.com>, Ealan Henis <ealan@il.ibm.com>, and + Anna Reitman <reitman@il.ibm.com>. + * math/Makefile (dbl-only-routines): New variable. + (libm-routines): Add $(dbl-only-routines). + * sysdeps/ieee754/dbl-64/e_acos.c: Empty, definition is in e_asin.c. + * sysdeps/ieee754/dbl-64/e_asin.c: Replaced with accurate asin + implementation. + * sysdeps/ieee754/dbl-64/e_atan2.c: Replaced with accurate atan2 + implementation. + * sysdeps/ieee754/dbl-64/e_exp.c: Replaced with accurate exp + implementation. + * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Don't use __kernel_sin and + __kernel_cos. + * sysdeps/ieee754/dbl-64/e_log.c: Replaced with accurate log + implementation. + * sysdeps/ieee754/dbl-64/e_remainder.c: Replaced with accurate + remainder implementation. + * sysdeps/ieee754/dbl-64/e_pow.c: Replaced with accurate pow + implementation. + * sysdeps/ieee754/dbl-64/e_sqrt.c: Replaced with accurate sqrt + implementation. + * sysdeps/ieee754/dbl-64/k_cos.c: Empty, definition is in s_sin.c. + * sysdeps/ieee754/dbl-64/k_sin.c: Empty, definition is in s_sin.c. + * sysdeps/ieee754/dbl-64/s_atan.c: Replaced with accurate atan + implementation. + * sysdeps/ieee754/dbl-64/s_cos.c: Empty, definition is in s_sin.c. + * sysdeps/ieee754/dbl-64/s_sin.c: Replaced with accurate sin/cos + implementation. + * sysdeps/ieee754/dbl-64/s_sincos.c: Rewritten to not use __kernel_sin + and __kernel_cos. + * sysdeps/ieee754/dbl-64/s_tan.c: Replaced with accurate tan + implementation. + * sysdeps/ieee754/dbl-64/Dist: Add new non-code files. + * sysdeps/ieee754/dbl-64/MathLib.h: New file. + * sysdeps/ieee754/dbl-64/asincos.tbl: New file. + * sysdeps/ieee754/dbl-64/atnat.h: New file. + * sysdeps/ieee754/dbl-64/atnat2.h: New file. + * sysdeps/ieee754/dbl-64/branred.c: New file. + * sysdeps/ieee754/dbl-64/branred.h: New file. + * sysdeps/ieee754/dbl-64/dla.h: New file. + * sysdeps/ieee754/dbl-64/doasin.c: New file. + * sysdeps/ieee754/dbl-64/doasin.h: New file. + * sysdeps/ieee754/dbl-64/dosincos.c: New file. + * sysdeps/ieee754/dbl-64/dosincos.h: New file. + * sysdeps/ieee754/dbl-64/endian.h: New file. + * sysdeps/ieee754/dbl-64/halfulp.c: New file. + * sysdeps/ieee754/dbl-64/mpa.c: New file. + * sysdeps/ieee754/dbl-64/mpa.h: New file. + * sysdeps/ieee754/dbl-64/mpa2.h: New file. + * sysdeps/ieee754/dbl-64/mpatan.c: New file. + * sysdeps/ieee754/dbl-64/mpatan.h: New file. + * sysdeps/ieee754/dbl-64/mpatan2.c: New file. + * sysdeps/ieee754/dbl-64/mpexp.c: New file. + * sysdeps/ieee754/dbl-64/mpexp.h: New file. + * sysdeps/ieee754/dbl-64/mplog.c: New file. + * sysdeps/ieee754/dbl-64/mplog.h: New file. + * sysdeps/ieee754/dbl-64/mpsqrt.c: New file. + * sysdeps/ieee754/dbl-64/mpsqrt.h: New file. + * sysdeps/ieee754/dbl-64/mptan.c: New file. + * sysdeps/ieee754/dbl-64/mydefs.h: New file. + * sysdeps/ieee754/dbl-64/powtwo.tbl: New file. + * sysdeps/ieee754/dbl-64/root.tbl: New file. + * sysdeps/ieee754/dbl-64/sincos.tbl: New file. + * sysdeps/ieee754/dbl-64/sincos32.c: New file. + * sysdeps/ieee754/dbl-64/sincos32.h: New file. + * sysdeps/ieee754/dbl-64/slowexp.c: New file. + * sysdeps/ieee754/dbl-64/slowpow.c: New file. + * sysdeps/ieee754/dbl-64/uasncs.h: New file. + * sysdeps/ieee754/dbl-64/uatan.tbl: New file. + * sysdeps/ieee754/dbl-64/uexp.h: New file. + * sysdeps/ieee754/dbl-64/uexp.tbl: New file. + * sysdeps/ieee754/dbl-64/ulog.h: New file. + * sysdeps/ieee754/dbl-64/ulog.tbl: New file. + * sysdeps/ieee754/dbl-64/upow.h: New file. + * sysdeps/ieee754/dbl-64/upow.tbl: New file. + * sysdeps/ieee754/dbl-64/urem.h: New file. + * sysdeps/ieee754/dbl-64/uroot.h: New file. + * sysdeps/ieee754/dbl-64/usncs.h: New file. + * sysdeps/ieee754/dbl-64/utan.h: New file. + * sysdeps/ieee754/dbl-64/utan.tbl: New file. + * sysdeps/i386/fpu/branred.c: New file. + * sysdeps/i386/fpu/doasin.c: New file. + * sysdeps/i386/fpu/dosincos.c: New file. + * sysdeps/i386/fpu/halfulp.c: New file. + * sysdeps/i386/fpu/mpa.c: New file. + * sysdeps/i386/fpu/mpatan.c: New file. + * sysdeps/i386/fpu/mpatan2.c: New file. + * sysdeps/i386/fpu/mpexp.c: New file. + * sysdeps/i386/fpu/mplog.c: New file. + * sysdeps/i386/fpu/mpsqrt.c: New file. + * sysdeps/i386/fpu/mptan.c: New file. + * sysdeps/i386/fpu/sincos32.c: New file. + * sysdeps/i386/fpu/slowexp.c: New file. + * sysdeps/i386/fpu/slowpow.c: New file. + * sysdeps/ia64/fpu/branred.c: New file. + * sysdeps/ia64/fpu/doasin.c: New file. + * sysdeps/ia64/fpu/dosincos.c: New file. + * sysdeps/ia64/fpu/halfulp.c: New file. + * sysdeps/ia64/fpu/mpa.c: New file. + * sysdeps/ia64/fpu/mpatan.c: New file. + * sysdeps/ia64/fpu/mpatan2.c: New file. + * sysdeps/ia64/fpu/mpexp.c: New file. + * sysdeps/ia64/fpu/mplog.c: New file. + * sysdeps/ia64/fpu/mpsqrt.c: New file. + * sysdeps/ia64/fpu/mptan.c: New file. + * sysdeps/ia64/fpu/sincos32.c: New file. + * sysdeps/ia64/fpu/slowexp.c: New file. + * sysdeps/ia64/fpu/slowpow.c: New file. + * sysdeps/m68k/fpu/branred.c: New file. + * sysdeps/m68k/fpu/doasin.c: New file. + * sysdeps/m68k/fpu/dosincos.c: New file. + * sysdeps/m68k/fpu/halfulp.c: New file. + * sysdeps/m68k/fpu/mpa.c: New file. + * sysdeps/m68k/fpu/mpatan.c: New file. + * sysdeps/m68k/fpu/mpatan2.c: New file. + * sysdeps/m68k/fpu/mpexp.c: New file. + * sysdeps/m68k/fpu/mplog.c: New file. + * sysdeps/m68k/fpu/mpsqrt.c: New file. + * sysdeps/m68k/fpu/mptan.c: New file. + * sysdeps/m68k/fpu/sincos32.c: New file. + * sysdeps/m68k/fpu/slowexp.c: New file. + * sysdeps/m68k/fpu/slowpow.c: New file. + + * iconvdata/gconv-modules: Add a number of alias, mostly for IBM + codepages. + +2001-03-11 Andreas Jaeger <aj@suse.de> + + * elf/elf.h (EM_*): Synch with official list. + +2001-03-07 David Mosberger <davidm@hpl.hp.com> + + * sysdeps/ia64/bits/fenv.h (FE_NONIEEE_ENV): New macro. + +2001-03-07 Jes Sorensen <jes@linuxcare.com> + + * sysdeps/unix/sysv/linux/ia64/ioperm.c (_ioperm): Remove unused + variables addr & len. + +2001-02-22 Jes Sorensen <jes@linuxcare.com> + + * sysdeps/ia64/fpu/feenablxcpt.c (feenableexcept): Remove + punctuation in asm constraint. + +2001-03-07 Mark Kettenis <kettenis@gnu.org> + + * resolv/netdb.h [__USE_GNU]: Define __need_timespec and include + <time.h> to get definition of `struct timespec'. + +2001-03-08 Jakub Jelinek <jakub@redhat.com> + + * elf/rtld.c (dl_main): If tracing, warn about undefined symbols if + LD_WARN=1, not if LD_WARN is unset. + +2001-03-07 Andreas Schwab <schwab@suse.de> + + * elf/ldconfig.h: Moved to ... + * sysdeps/generic/ldconfig.h: ... here. + * sysdeps/unix/sysv/linux/i386/ldconfig.h: New file. + * sysdeps/unix/sysv/linux/m68k/ldconfig.h: New file. + * sysdeps/unix/sysv/linux/ia64/ldconfig.h: New file. + * elf/readlib.c (interpreters, known_libs): Use + SYSDEP_KNOWN_INTERPRETER_NAMES and SYSDEP_KNOWN_LIBRARY_NAMES + instead of hard coding old names. + +2001-03-09 Ulrich Drepper <drepper@redhat.com> + + * catgets/Makefile (generated): Add test-gencat.h. + (sample.SJIS.cat): Also generate header. + * catgets/sample.SJIS: Add new set and message, both with symbolic + names. + * catgets/test-gencat.sh: Also compare generated header with what + we expect. + +2001-03-07 Jakub Jelinek <jakub@redhat.com> + + * catgets/gencat.c (read_input_file): Preserve properly symbolic + names. + +2001-03-06 Andreas Jaeger <aj@suse.de> + + * sysdeps/s390/dl-machine.h (elf_machine_relplt): Removed, it's not + needed. + (elf_machine_pltrel_p): Likewise. + * sysdeps/powerpc/dl-machine.h: Likewise. + * sysdeps/generic/dl-machine.h (elf_machine_pltrel_p): Likewise. + +2001-03-09 Ulrich Drepper <drepper@redhat.com> + + * sysdeps/unix/sysv/linux/arm/Dist: Add dl-procinfo.c and + dl-procinfo.h. + +2001-03-05 Philip Blundell <philb@gnu.org> + + * sysdeps/unix/sysv/linux/arm/dl-procinfo.c: New file. + * sysdeps/unix/sysv/linux/arm/dl-procinfo.h: New file. + * sysdeps/unix/sysv/linux/arm/Makefile [subdir=elf] + (sysdep-dl-routines, sysdep_routines, sysdep-rtld-routines): Add + dl-procinfo. + +2001-03-09 Ulrich Drepper <drepper@redhat.com> + + * dlfcn/tstatexit.c (main): Don't perform the test if __dso_handle + is not available. + * dlfcn/tstcxaatexit.c (main): Likewise. + +2001-03-10 Andreas Jaeger <aj@suse.de> - * elf/dl-deps.c: Use INTUSE with _dl_out_of_memory. - * elf/dl-error.c: Likewise, - * sysdeps/generic/ldsodefs.h: Declare _dl_out_of_memory_internal. + * sysdeps/i386/fpu/libm-test-ulps: Revert last patch. - * elf/dl-dst.h [_RTLD_GLOBAL]: Define _dl_get_origin to use INTUSE. - * sysdeps/generic/dl-origin.c: Undefine _dl_get_origin macro before - function definition. Use INTDEF with _dl_get_origin. - * sysdeps/unix/sysv/linux/dl-origin.c: Likewise. +2001-03-09 Andreas Jaeger <aj@suse.de> - * elf/dl-init.c: Use INTUSE with _dl_starting_up. - * elf/rtld.c: Likewise. Use INTVARDEF for _dl_starting_up. + * sysdeps/s390/dl-machine.h (elf_machine_matches_host): Handle + both new and old EM_S390 values. + (EM_S390_OLD): New constant. - * elf/dl-profile.c: Use INTDEF for _dl_mcount. - * elf/dl-runtime.c: Use INTUSE with _dl_mcount. - * sysdeps/generic/ldsodefs.h: Declare _dl_mcount_internal. + * elf/elf.h (EM_S390): Use official value. - * elf/dl-conflict.c: Use rtld_progrname instead of _dl_argv[0]. +2001-03-09 Ulrich Drepper <drepper@redhat.com> + + * conform/data/sys/socket.h-data: Allow SO* symbols. + +2001-03-07 Andreas Schwab <schwab@suse.de> + + * sysdeps/ia64/fpu/Makefile: Modify sysdep_routines instead of + routines, and sysdep-CPPFLAGS instead of CPPFLAGS. + +2001-03-07 Andreas Jaeger <aj@suse.de> + + * resolv/Makefile (routines): Only build gai_sigqueue when threads + are available. + +2001-03-07 Jakub Jelinek <jakub@redhat.com> + + * elf/ldconfig.c (_dl_sysdep_message): Remove. + * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h: Include + ldsodefs.h. + * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h: Likewise. + + * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Use + _dl_error_printf instead of _dl_sysdep_error. + * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h (_dl_procinfo): + Use _dl_printf instead of _dl_sysdep_message. + * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h (_dl_procinfo): + Likewise. + +2001-03-06 Ben Collins <bcollins@debian.org> + + * manual/arith.texi (Integers): Fix documentation of fast and + least integer typedefs. + +2001-03-06 Jakub Jelinek <jakub@redhat.com> + + * resolv/Depend: New file. + * resolv/Makefile (extra-libs, tests): Build libanl and ga_test only + when libpthread is built. + +2001-03-06 Andreas Jaeger <aj@suse.de> + + * sysdeps/i386/fpu/libm-test-ulps: Add some deltas. + + * sysdeps/sh/dl-machine.h (elf_machine_rela): Add missing comma. + Patch by kaz Kojima <kkojima@rr.iij4u.or.jp>. + +2001-03-05 Ulrich Drepper <drepper@redhat.com> + + * stdlib/Versions: Remove __new_exitfn again. Not needed. + +2001-03-05 Andreas Jaeger <aj@suse.de> + + * stdlib/msort.c (qsort): Don't use alloca in a function call. + +2001-03-05 Ulrich Drepper <drepper@redhat.com> + + * sysdeps/unix/sysv/linux/bits/stat.h (__S_TYPEISMQ, __S_TYPEISSEM, + __S_TYPEISSHM): Rewrite to enforce correct use the macros. They still + always return zero. + * sysdeps/unix/sysv/linux/alpha/bits/stat.h: Likewise. + * sysdeps/unix/sysv/linux/ia64/bits/stat.h: Likewise. + * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise. + * sysdeps/unix/sysv/linux/m68k/bits/stat.h: Likewise. + * sysdeps/unix/sysv/linux/mips/bits/stat.h: Likewise. + * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise. + * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise. + +2001-03-04 Andreas Jaeger <aj@suse.de> + + * stdlib/longlong.h: Don't use multi-line strings. + * iconvdata/tst-loading.c: Likewise. + + * csu/Makefile ($(objpfx)version-info.h): Don't use multi-line + string. + +2001-03-04 Ulrich Drepper <drepper@redhat.com> + + * sysdeps/ia64/fpu/libm-test-ulps: Adjust for addition of lgammal. + + * rt/lio_listio.c: Add a few asserts. + + * elf/global.c: New file. + * elf/globalmod1.c: New file. + * elf/Makefile: Add rules to build and run global. + + * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Define SI_ASYNCNL. + * 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. + + * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: New file. + Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>. + + * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Fix handling of boundary cases. + + * sysdeps/ieee754/dbl-64/e_gamma_r.c: Always initialize sign variable. + * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise. + + * sysdeps/i386/fpu/libm-test-ulps: Adjust after addition of lgammal. + + * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Fix typo in last change. + +2001-03-04 Andreas Jaeger <aj@suse.de> + + * resolv/tst-aton.c: Add testcase for IP with four periods. + + * resolv/inet_addr.c: Don't recognize an IP with four periods. + Patch by Andre' Breiler <A.Breiler@gmx.net>. + +2001-02-27 Philip Blundell <pb@futuretv.com> + + * elf/elf.h: Add new ARM definitions from latest (B-01) + specification. Correct naming of EF_ARM_ALIGN8 et al. + +2001-03-04 Ulrich Drepper <drepper@redhat.com> + + * stdio-common/tst-printf.sh: Remove bashisms. + Patch by Matthew Clarke <Matthew_Clarke@mindlink.bc.ca>. + +2001-03-03 Ulrich Drepper <drepper@redhat.com> + + * Versions.def: Add libanl definition. + * shlib-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/cris/dl-machine.h: Likewise. * sysdeps/hppa/dl-machine.h: Likewise. - * sysdeps/i386/dl-machine.h: Likewise. * sysdeps/m68k/dl-machine.h: Likewise. * sysdeps/powerpc/dl-machine.h: Likewise. - * sysdeps/s390/s390-32/dl-machine.h: Likewise. - * sysdeps/s390/s390-64/dl-machine.h: Likewise. + * sysdeps/s390/dl-machine.h: Likewise. * sysdeps/sh/dl-machine.h: Likewise. - * sysdeps/sparc/sparc-32/dl-machine.h: Likewise. - * sysdeps/sparc/sparc-64/dl-machine.h: Likewise. - * sysdeps/x86_64/dl-machine.h: Likewise. - * elf/rtld.c: Use INTDEF for _dl_argv. Use rtld_progrname instead of - _dl_argv[0]. Use INTUSE with _dl_argv. - * sysdeps/generic/dl-sysdep.c: Use INTUSE with _dl_argv. - * sysdeps/generic/ldsodefs.h: Define rtld_progname macro. - -2002-02-28 Jakub Jelinek <jakub@redhat.com> - - * elf/rtld.c (_rtld_global): Remove .protected. - (_rtld_local): Strong alias to _rtld_global. - * elf/Makefile (CFLAGS-.os): Add -D_RTLD_LOCAL if compiling rtld - only .os object. - * sysdeps/generic/ldsodefs.h (GL): If SHARED and _RTLD_LOCAL, use - _rtld_local instead of _rtld_global. - (_rtld_local): Add hidden extern, possibly in .sdata section. - * configure.in: Add tests for visibility attribute and .sdata. - * config.h.in: Add HAVE_VISIBILITY_ATTRIBUTE and HAVE_SDATA_SECTION. - * sysdeps/alpha/dl-machine.h: Use _rtld_local instead of _rtld_global. - * sysdeps/arm/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/hppa/dl-machine.h: Likewise. - * sysdeps/cris/dl-machine.h: Likewise. - * sysdeps/i386/dl-machine.h: Likewise. - * sysdeps/ia64/dl-machine.h: Likewise. - * sysdeps/m68k/dl-machine.h: Likewise. - * sysdeps/mips/mips64/dl-machine.h: Likewise. - * sysdeps/mips/dl-machine.h: Likewise. - * sysdeps/sparc/sparc32/dl-machine.h: Likewise. - * sysdeps/sparc/sparc64/dl-machine.h: Likewise. - * sysdeps/sh/dl-machine.h: Likewise. - * sysdeps/s390/s390-32/dl-machine.h: Likewise. - * sysdeps/s390/s390-64/dl-machine.h: Likewise. - * sysdeps/x86_64/dl-machine.h: Likewise. - -2002-02-28 Ulrich Drepper <drepper@redhat.com> - - * login/login.c (login): Always initialize ut_line field - [PR libc/2991]. - -2002-02-28 Jakub Jelinek <jakub@redhat.com> - - * sysdeps/i386/Makefile (sysdep_routines): Add - divdi3 in csu dir. - (shared-only-routines): Likewise. - * sysdeps/m68k/Makefile (sysdep_routines): Likewise. - (shared-only-routines): Likewise. - * sysdeps/s390/s390-32/Makefile (sysdep_routines): Likewise. - (shared-only-routines): Likewise. - * sysdeps/wordsize-32/divdi3.c: New file. - -2002-02-28 Ulrich Drepper <drepper@redhat.com> - - * locale/iso-4217.def: Remove obsolete currencies for countries - with Euro. - -2002-02-28 Isamu Hasegawa <isamu@yamato.ibm.com> - - * posix/regcomp.c (regcomp): Remove a redundant condition. - (init_word_char): Add a check on malloc failure. - (create_initial_state): Likewise. - (duplicate_node): Likewise. - (calc_eclosure): Likewise. - (calc_eclosure_iter): Likewise. - (parse_expression): Likewise. - (parse_bracket_exp): Remove unnecessary malloc invocations. - (build_equiv_class): Likewise. - (build_charclass): Likewise. - * posix/regex_internal.c (re_node_set_intersect): Add a check - on malloc failure. - (re_node_set_add_intersect): Likewise. - (re_node_set_merge): Likewise. - (re_acquire_state): Likewise. - (re_acquire_state_context): Likewise. - (create_newstate_common): Likewise. - (register_state): Likewise. - (create_ci_newstate): Likewise. - (create_cd_newstate): Likewise. - * posix/regex_internal.h: Fix prototypes of re_acquire_state - and re_acquire_state_context. - * posix/regexec.c (regexec): Suit it to the error handling of - re_search_internal. - (re_match): Likewise. - (re_search): Likewise. - (re_search_internal): Add a check on malloc failure. - (acquire_init_state_context): Likewise. - (check_matching): Likewise. - (proceed_next_node): Likewise. - (set_regs): Likewise. - (sift_states_backward): Likewise. - (sift_states_iter_bkref): Likewise. - (add_epsilon_backreference): Likewise. - (transit_state): Likewise. - (transit_state_sb): Likewise. - (transit_state_mb): Likewise. - (transit_state_bkref_loop): Likewise. - (build_trtable): Likewise. - (group_nodes_into_DFAstates): Likewise. - (match_ctx_init): Likewise. - (match_ctx_add_entry): Likewise. - -2002-02-27 Ulrich Drepper <drepper@redhat.com> - - * elf/dl-load.c (_dl_map_object_from_fd): Always add SONAME to - l_libname if profiling is enabled [PR libc/2916]. - - * sysdeps/ia64/dl-tls.h: New file. - -2002-02-27 Jakub Jelinek <jakub@redhat.com> - - * sysdeps/alpha/dl-machine.h (elf_machine_load_address, RTLD_START): - Work around an Alpha gas bug. - -2002-02-27 Ulrich Drepper <drepper@redhat.com> - - * catgets/open_catalog.c (__open_catalog): Fix typo in code which - uses read to load the catalog. - Patch by Andy Isaacson <adi@unlimitedscale.com> [PR libc/3011]. - -2002-02-26 Ulrich Drepper <drepper@redhat.com> - - * posix/Makefile (distribute): Add regcomp.c, regexec.c, - regex_internal.c, and regex_internal.h. - (CFLAGS-regex.c): Replace -DMBS_SUPPORT with -DRE_ENABLE_I18N. - * posix/regex.c: Complete rewrite. - * posix/regexec.c: New file. - * posix/regcomp.c: New file. - * posix/regex_internal.c: New file. - * posix/regex_internal.h: New file. - * posix/regex.h (RE_ICASE): New macro. - Contributed by Isamu Hasegawa <isamu@yamato.ibm.com>. - - * stdio-common/vfscanf.c (_IO_vfwscanf): Always use ungetc, never - ungetwc. It's a macro. - * libio/tst-swscanf.c (do_test): Adjust for now fixed wscanf - implementation. - Reported by Jason Merrill <jason@redhat.com>. + * 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. -2002-02-25 Jakub Jelinek <jakub@redhat.com> + * 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. - * libio/iofopen.c (__fopen_maybe_mmap): Set the initial - position to fp->_offset if it is set. - * stdio-common/Makefile (tests): Add tst-fdopen. - * stdio-common/tst-fdopen.c: New test. + * intl/Makefile: Remove bogus endif. -2002-02-25 Jakub Jelinek <jakub@redhat.com> +2001-02-26 Andreas Jaeger <aj@suse.de> - * libio/fileops.c (_IO_file_xsgetn_mmap): Handle reading from backup. - * stdio-common/tst-ungetc.c (main): Add another test. + * iconvdata/Makefile (tests): Fix typo in last patch. -2002-02-25 Ulrich Drepper <drepper@redhat.com> + * intl/Makefile (tests): Run mtrace-tst-gettext only when perl is + available. + Reported by Achim Gottinger <achim@gentoo.org>. - * assert/assert-perr.c: Use INTUSE to reference functions and variables - inside libc itself. Use INTDEF and INTDEF2 to define appropriate - aliases. Add prototypes for the new aliases. - * assert/assert.c: Likewise. - * include/libc-symbols.h: Likewise. - * include/stdio.h: Likewise. - * include/netinet/in.h: Likewise. - * include/rpc/auth.h: Likewise. - * include/rpc/auth_unix.h: Likewise. - * include/rpc/key_prot.h: Likewise. - * include/rpc/pmap_prot.h: Likewise. - * include/rpc/pmap_rmt.h: Likewise. - * include/rpc/rpc_msg.h: Likewise. - * include/rpc/xdr.h: Likewise. - * inet/gethstbyad_r.c: Likewise. - * inet/gethstbynm2_r.c: Likewise. - * inet/gethstbynm_r.c: Likewise. - * inet/gethstent_r.c: Likewise. - * inet/in6_addr.c: Likewise. - * libio/__fpurge.c: Likewise. - * libio/filedoalloc.c: Likewise. - * libio/fileops.c: Likewise. - * libio/ftello.c: Likewise. - * libio/ftello64.c: Likewise. - * libio/genops.c: Likewise. - * libio/iofclose.c: Likewise. - * libio/iofdopen.c: Likewise. - * libio/iofflush.c: Likewise. - * libio/iofflush_u.c: Likewise. - * libio/iofgetpos.c: Likewise. - * libio/iofgetpos64.c: Likewise. - * libio/iofgets.c: Likewise. - * libio/iofgets_u.c: Likewise. - * libio/iofopen.c: Likewise. - * libio/iofopncook.c: Likewise. - * libio/iofputs.c: Likewise. - * libio/iofread.c: Likewise. - * libio/iofread_u.c: Likewise. - * libio/iofsetpos.c: Likewise. - * libio/iofsetpos64.c: Likewise. - * libio/ioftell.c: Likewise. - * libio/iofwrite.c: Likewise. - * libio/iogetline.c: Likewise. - * libio/iogets.c: Likewise. - * libio/iogetwline.c: Likewise. - * libio/iolibio.h: Likewise. - * libio/iopadn.c: Likewise. - * libio/iopopen.c: Likewise. - * libio/ioseekoff.c: Likewise. - * libio/ioseekpos.c: Likewise. - * libio/iosetbuffer.c: Likewise. - * libio/iosetvbuf.c: Likewise. - * libio/ioungetc.c: Likewise. - * libio/ioungetwc.c: Likewise. - * libio/iovdprintf.c: Likewise. - * libio/iovsprintf.c: Likewise. - * libio/iovsscanf.c: Likewise. - * libio/libioP.h: Likewise. - * libio/memstream.c: Likewise. - * libio/obprintf.c: Likewise. - * libio/oldfileops.c: Likewise. - * libio/oldiofclose.c: Likewise. - * libio/oldiofdopen.c: Likewise. - * libio/oldiofgetpos.c: Likewise. - * libio/oldiofgetpos64.c: Likewise. - * libio/oldiofopen.c: Likewise. - * libio/oldiofsetpos.c: Likewise. - * libio/oldiofsetpos64.c: Likewise. - * libio/oldiopopen.c: Likewise. - * libio/oldstdfiles.c: Likewise. - * libio/putc.c: Likewise. - * libio/setbuf.c: Likewise. - * libio/setlinebuf.c: Likewise. - * libio/stdfiles.c: Likewise. - * libio/stdio.c: Likewise. - * libio/strops.c: Likewise. - * libio/vasprintf.c: Likewise. - * libio/vscanf.c: Likewise. - * libio/vsnprintf.c: Likewise. - * libio/vswprintf.c: Likewise. - * libio/wfiledoalloc.c: Likewise. - * libio/wfileops.c: Likewise. - * libio/wgenops.c: Likewise. - * libio/wstrops.c: Likewise. - * malloc/mtrace.c: Likewise. - * misc/error.c: Likewise. - * misc/syslog.c: Likewise. - * nss/getXXbyYY_r.c: Likewise. - * nss/getXXent_r.c: Likewise. - * nss/hosts-lookup.c: Likewise. - * stdio-common/getw.c - * stdio-common/printf-prs.c: Likewise. - * stdio-common/printf_fp.c: Likewise. - * stdio-common/printf_size.c: Likewise. - * stdio-common/putw.c: Likewise. - * stdio-common/scanf.c: Likewise. - * stdio-common/sprintf.c: Likewise. - * stdio-common/tmpfile64.c: Likewise. - * stdio-common/vfprintf.c: Likewise. - * stdio-common/vfscanf.c: Likewise. - * stdlib/strfmon.c: Likewise. - * sunrpc/auth_des.c: Likewise. - * sunrpc/auth_none.c: Likewise. - * sunrpc/auth_unix.c: Likewise. - * sunrpc/authdes_prot.c: Likewise. - * sunrpc/authuxprot.c: Likewise. - * sunrpc/clnt_perr.c: Likewise. - * sunrpc/clnt_raw.c: Likewise. - * sunrpc/clnt_tcp.c: Likewise. - * sunrpc/clnt_udp.c: Likewise. - * sunrpc/clnt_unix.c: Likewise. - * sunrpc/key_call.c: Likewise. - * sunrpc/key_prot.c: Likewise. - * sunrpc/openchild.c: Likewise. - * sunrpc/pm_getmaps.c: Likewise. - * sunrpc/pm_getport.c: Likewise. - * sunrpc/pmap_clnt.c: Likewise. - * sunrpc/pmap_prot.c: Likewise. - * sunrpc/pmap_prot2.c: Likewise. - * sunrpc/pmap_rmt.c: Likewise. - * sunrpc/rpc_cmsg.c: Likewise. - * sunrpc/rpc_prot.c: Likewise. - * sunrpc/svc_authux.c: Likewise. - * sunrpc/svc_raw.c: Likewise. - * sunrpc/svc_simple.c: Likewise. - * sunrpc/svc_tcp.c: Likewise. - * sunrpc/svc_udp.c: Likewise. - * sunrpc/svc_unix.c: Likewise. - * sunrpc/xdr.c: Likewise. - * sunrpc/xdr_array.c: Likewise. - * sunrpc/xdr_mem.c: Likewise. - * sunrpc/xdr_rec.c: Likewise. - * sunrpc/xdr_ref.c: Likewise. - * sunrpc/xdr_stdio.c: Likewise. - * sysdeps/generic/_strerror.c: Likewise. - * sysdeps/generic/printf_fphex.c: Likewise. - * sysdeps/generic/tmpfile.c: Likewise. - * sysdeps/gnu/errlist.awk: Likewise. - * sysdeps/gnu/errlist.c: Likewise. +2001-02-25 Andreas Jaeger <aj@suse.de> - * libio/Makefile (routines): Remove iosprint. - * libio/iosprintf.c: Removed + * intl/Makefile (plural.c): Reorder rules so that they work if + BISON doesn't exist. +2001-02-25 Ulrich Drepper <drepper@redhat.com> -2002-02-24 Ulrich Drepper <drepper@redhat.com> + * intl/locale.alias: Don't use nb_NO but define aliases for it. - * elf/dl-support.c (_dl_non_dynamic_init): Renamed from - non_dynamic_init and exported now. - * sysdeps/unix/sysv/linux/ldsodefs.h: Declare _dl_non_dynamic_init. - * sysdeps/unix/sysv/linux/init-first.c: Call _dl_non_dynamic_init for - !SHARED. - * sysdeps/mach/hurd/i386/init-first.c: Likewise. - * sysdeps/mach/hurd/powerpc/init-first.c: Likewise. - * sysdeps/mach/hurd/mips/init-first.c: Likewise. +2001-02-23 Ulrich Drepper <drepper@redhat.com> -2002-02-23 Ulrich Drepper <drepper@redhat.com> + * sysdeps/i386/strtok.S: Continue to return NULL after the first + time this happened. - * elf/dl-close.c (free_slotinfo): Check for end of list and return - true in this case. +2001-02-23 Andreas Jaeger <aj@suse.de> - * locale/iso-639.def: Add language codes for Walloon. + * string/tester.c (test_strtok_r): Add testcase. + (test_strtok_r): Always initialize cp for proper checking. - * elf/dl-fini.c (_dl_fini): Print some final statistics on the - total number of relocations performed. + * 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. - * elf/sprof.c (load_profdata): If do_test provide information as - to why loading failed. - * elf/dl-profile.c (_dl_start_profile): Initialize all of - hist_hdr.dimen. +2001-02-23 Ulrich Drepper <drepper@redhat.com> - * csu/set-init.c: Moved to... - * sysdeps/mach/hurd/set-init.c: ...here. New file. - * csu/Makefile: Don't compile set-init. - * sysdeps/mach/hurd/Makefile: Compile set-init for subdir csu. - * sysdeps/mach/hurd/i386/init-first.c: Call __init_misc in addition - to __libc_init. - * sysdeps/mach/hurd/mips/init-first.c: Likewise. - * sysdeps/mach/hurd/powerpc/init-first.c: Likewise. - * sysdeps/unix/sysv/linux/init-first.c: Call __init_misc instead of - __libc_init. - * misc/init-misc.c: Always export __init_misc. Don't define hooks for - __libc_subinit. + * 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>. -2002-02-22 Ulrich Drepper <drepper@redhat.com> + * sysdeps/generic/ftime.c: Don't include <sys/time.h> at all. + Patch by Michael Keezer <mkeezer@redhat.com>. - * elf/Versions: Add _dl_allocate_tls and _dl_deallocate_tls. - * elf/rtld.c (dl_main): Use _dl_allocate_tls with INTUSE. - * sysdeps/generic/dl-tls.c: Add INTDEF for _dl_allocate_tls. - (_dl_deallocate_tls): New function. - * sysdeps/generic/ldsodefs.h: Declare _dl_allocate_tls_internal and - _dl_deallocate_tls. + * 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>. -2002-02-21 Jakub Jelinek <jakub@redhat.com> +2001-02-22 Ulrich Drepper <drepper@redhat.com> - * libio/fileops.c (_IO_file_seekoff_mmap): Fix fseek SEEK_END. - * stdio-common/tst-fseek.c (main): Add test for this. + * sysdeps/i386/elf/start.S (_fp_hw): Actually define label. -2002-02-19 Ulrich Drepper <drepper@redhat.com.> +2001-02-22 Andreas Jaeger <aj@suse.de> - * stdlib/Versions: Move __on_exit to GLIBC_PRIVATE. + * string/tst-strtok.c (main): Fix error messages. -2002-02-19 Jakub Jelinek <jakub@redhat.com> +2001-02-22 Andreas Jaeger <aj@suse.de> - * libio/fileops.c (_IO_file_underflow_mmap): Cast to unsigned char - pointer before dereferencing. + * math/Makefile: Remove omit-long-double-fcts. -2002-02-18 Roland McGrath <roland@frob.com> +2001-02-18 Maciej W. Rozycki <macro@ds2.pg.gda.pl> - * sysdeps/mach/hurd/times.c: Fix typo in last change. + * sysdeps/mips/bsd-_setjmp.S (_setjmp): Reorder instructions to + avoid problems on MIPS I. + * sysdeps/mips/bsd-setjmp.S (setjmp): Likewise. - * sysdeps/mach/hurd/setpriority.c [POLICY_TIMESHARE_BASE_COUNT]: - Use task_policy in place of task_priority. + * sysdeps/mips/dl-machine.h (RTLD_START): Remove duplicate ".set + noreorder". - * sysdeps/generic/bits/mman.h - (MS_ASYNC, MS_SYNC, MS_INVALIDATE): New macros. - * sysdeps/mach/msync.c: New file. +2001-02-21 Ulrich Drepper <drepper@redhat.com> - * sysdeps/mach/powerpc/syscall.S: New file. + * posix/fnmatch_loop.c: Handle ranges outside glibc correctly. - * mach/msg.c [MACH_MSG_OVERWRITE] - (__mach_msg_trap, __mach_msg_overwrite): New functions. - * mach/Versions (libc: GLIBC_2.0): Add mach_msg_overwrite and __ name. + * sysdeps/generic/ftime.c: Include <time.h>. - * sysdeps/mach/configure.in: Check for clock.defs to put into - mach_interface_list. - * sysdeps/mach/configure: Regenerated. + * configure.in: Don't check for libgd if user passed --without-gd. + Patch by Achim Gottinger <achim@gentoo.org>. - * mach/Makefile (mach-machine): New variable, set from $(base-machine). - ($(objpfx)mach-syscalls.mk): Use it in place of $(base-machine). - ($(mach-syscalls:%=$(objpfx)%.S) static pattern rule): - Use <mach/machine/syscall_sw.h> instead of <sysdep.h>. - (mach-shortcuts): Add device_read_overwrite_request, - device_read_overwrite, vm_read_overwrite, thread_switch. + * sysdeps/i386/i686/strtok.S: Continue to return NULL after the + first time this happened. + * string/Makefile (tests): Add tst-strtok. - * configure.in (base_machine): Set to $machine by default. - * configure: Regenerated. +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. - * sysdeps/mach/configure.in: Check for <mach/machine/ndr_def.h> - or <machine/ndr_def.h> and add -DNDR_DEF_HEADER=... to DEFINES. - * sysdeps/mach/configure: Regenerated. - * mach/mach_init.c [NDR_DEF_HEADER]: #include it. +2001-02-20 Andreas Jaeger <aj@suse.de> - * hurd/hurdfault.c (_hurdsig_fault_init): Add a cast. + * iconvdata/Makefile (tests): Only run mtrace-tst-loading if perl + is available. + Reported by Achim Gottinger <achim@gentoo.org>. - * hurd/hurd/signal.h: Include <setjmp.h> for `jmp_buf' decl. +2001-02-19 Ulrich Drepper <drepper@redhat.com> - * mach/msgserver.c (__mach_msg_server_timeout) [! MACH_RCV_LARGE]: - Double MAX_SIZE and don't retry on MACH_RCV_TOO_LARGE. + * iconv/tst-iconv1.c (main): Remove debugging code. -2002-02-17 Roland McGrath <roland@frob.com> + * sysdeps/ieee754/flt-32/e_powf.c: Handle x == +-1 correctly. + * sysdeps/ieee754/dbl-64/e_pow.c: Likewise. - * sysdeps/mach/hurd/times.c - [NO_CREATION_TIME] (startup_time): New static variable. - [NO_CREATION_TIME] (times_init): New static function in __libc_subinit. - (__times) [NO_CREATION_TIME]: Use startup_time in lieu of task - creation_time from task_basic_info. - (__times): Use __gettimeofday instead of __host_get_time. + * 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. + (routines): Replace libm_error with libc_libm_error. + * sysdeps/ia64/fpu/Dist: Add libc_libm_error.c. + * sysdeps/ia64/fpu/libc_libm_error.c: New file. + +2001-02-18 Mark Kettenis <kettenis@gnu.org> + + * malloc/mtrace.c [USE_IN_LIBIO]: Define fopen as _IO_fopen64. + (mtrace): Revert 2001-02-13 patch: use fopen instead of fopen64. + +2001-02-17 H.J. Lu <hjl@gnu.org> + + * sysdeps/unix/sysv/linux/ia64/clone2.S: Use clone2 and don't use + scratch registers across the system call. + +2001-02-19 Andreas Jaeger <aj@suse.de> + + * malloc/Makefile (tests): Run mtrace only when perl is available. + Reported by Achim Gottinger <achim@gentoo.org>. + +2001-02-19 Ulrich Drepper <drepper@redhat.com> + + * sysdeps/ieee754/ldbl-96/e_j1l.c: New file. + Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>. + + * sysdeps/i386/fpu/libm-test-ulps: Adjust error values for j1 and y1. + * sysdeps/ia64/fpu/libm-test-ulps: Adjust error values for y1. + * math/libm-test.inc (j1_test): Mark constants as long double. + (jn_test): Likewise. + (y1_test): Likewise. + (yn_test): Likewise. + + * libio/iogetline.c: Move return until after last statement. + + * localedata/show-ucs-data.c: Don't show < > for better readability. + + * sysdeps/ia64/fpu/Dist: New file. + * sysdeps/ia64/fpu/Makefile: New file. + * sysdeps/ia64/fpu/Versions: New file. + * sysdeps/ia64/fpu/e_acos.S: New file. + * sysdeps/ia64/fpu/e_acosf.S: New file. + * sysdeps/ia64/fpu/e_acosl.S: New file. + * sysdeps/ia64/fpu/e_asin.S: New file. + * sysdeps/ia64/fpu/e_asinf.S: New file. + * sysdeps/ia64/fpu/e_asinl.S: New file. + * sysdeps/ia64/fpu/e_atan2.S: New file. + * sysdeps/ia64/fpu/e_atan2f.S: New file. + * sysdeps/ia64/fpu/e_atan2l.c: New file. + * sysdeps/ia64/fpu/e_cosh.S: New file. + * sysdeps/ia64/fpu/e_coshf.S: New file. + * sysdeps/ia64/fpu/e_coshl.S: New file. + * sysdeps/ia64/fpu/e_exp.S: New file. + * sysdeps/ia64/fpu/e_expf.S: New file. + * sysdeps/ia64/fpu/e_expl.c: New file. + * sysdeps/ia64/fpu/e_fmod.S: New file. + * sysdeps/ia64/fpu/e_fmodf.S: New file. + * sysdeps/ia64/fpu/e_fmodl.S: New file. + * sysdeps/ia64/fpu/e_hypot.S: New file. + * sysdeps/ia64/fpu/e_hypotf.S: New file. + * sysdeps/ia64/fpu/e_hypotl.S: New file. + * sysdeps/ia64/fpu/e_log.S: New file. + * sysdeps/ia64/fpu/e_log10.c: New file. + * sysdeps/ia64/fpu/e_log10f.c: New file. + * sysdeps/ia64/fpu/e_log10l.c: New file. + * sysdeps/ia64/fpu/e_logf.S: New file. + * sysdeps/ia64/fpu/e_logl.c: New file. + * sysdeps/ia64/fpu/e_pow.S: New file. + * sysdeps/ia64/fpu/e_powf.S: New file. + * sysdeps/ia64/fpu/e_powl.S: New file. + * sysdeps/ia64/fpu/e_rem_pio2.c: New file. + * sysdeps/ia64/fpu/e_rem_pio2f.c: New file. + * sysdeps/ia64/fpu/e_remainder.S: New file. + * sysdeps/ia64/fpu/e_remainderf.S: New file. + * sysdeps/ia64/fpu/e_remainderl.S: New file. + * sysdeps/ia64/fpu/e_scalb.S: New file. + * sysdeps/ia64/fpu/e_scalbf.S: New file. + * sysdeps/ia64/fpu/e_scalbl.S: New file. + * sysdeps/ia64/fpu/e_sinh.S: New file. + * sysdeps/ia64/fpu/e_sinhf.S: New file. + * sysdeps/ia64/fpu/e_sinhl.S: New file. + * sysdeps/ia64/fpu/e_sqrt.S: New file. + * sysdeps/ia64/fpu/e_sqrtf.S: New file. + * sysdeps/ia64/fpu/e_sqrtl.S: New file. + * sysdeps/ia64/fpu/k_rem_pio2.c: New file. + * sysdeps/ia64/fpu/k_rem_pio2f.c: New file. + * sysdeps/ia64/fpu/k_rem_pio2l.c: New file. + * sysdeps/ia64/fpu/libm_atan2_reg.S: New file. + * sysdeps/ia64/fpu/libm_error.c: New file. + * sysdeps/ia64/fpu/libm_frexp4.S: New file. + * sysdeps/ia64/fpu/libm_frexp4f.S: New file. + * sysdeps/ia64/fpu/libm_frexp4l.S: New file. + * sysdeps/ia64/fpu/libm_reduce.S: New file. + * sysdeps/ia64/fpu/libm_support.h: New file. + * sysdeps/ia64/fpu/libm_tan.S: New file. + * sysdeps/ia64/fpu/s_atan.S: New file. + * sysdeps/ia64/fpu/s_atanf.S: New file. + * sysdeps/ia64/fpu/s_atanl.S: New file. + * sysdeps/ia64/fpu/s_cbrt.S: New file. + * sysdeps/ia64/fpu/s_cbrtf.S: New file. + * sysdeps/ia64/fpu/s_cbrtl.S: New file. + * sysdeps/ia64/fpu/s_ceil.S: New file. + * sysdeps/ia64/fpu/s_ceilf.S: New file. + * sysdeps/ia64/fpu/s_ceill.S: New file. + * sysdeps/ia64/fpu/s_cos.S: New file. + * sysdeps/ia64/fpu/s_cosf.S: New file. + * sysdeps/ia64/fpu/s_cosl.S: New file. + * sysdeps/ia64/fpu/s_expm1.S: New file. + * sysdeps/ia64/fpu/s_expm1f.S: New file. + * sysdeps/ia64/fpu/s_expm1l.S: New file. + * sysdeps/ia64/fpu/s_floor.S: New file. + * sysdeps/ia64/fpu/s_floorf.S: New file. + * sysdeps/ia64/fpu/s_floorl.S: New file. + * sysdeps/ia64/fpu/s_frexp.c: New file. + * sysdeps/ia64/fpu/s_frexpf.c: New file. + * sysdeps/ia64/fpu/s_frexpl.c: New file. + * sysdeps/ia64/fpu/s_ilogb.S: New file. + * sysdeps/ia64/fpu/s_ilogbf.S: New file. + * sysdeps/ia64/fpu/s_ilogbl.S: New file. + * sysdeps/ia64/fpu/s_ldexp.S: New file. + * sysdeps/ia64/fpu/s_ldexpf.S: New file. + * sysdeps/ia64/fpu/s_ldexpl.S: New file. + * sysdeps/ia64/fpu/s_log1p.S: New file. + * sysdeps/ia64/fpu/s_log1pf.S: New file. + * sysdeps/ia64/fpu/s_log1pl.S: New file. + * sysdeps/ia64/fpu/s_logb.S: New file. + * sysdeps/ia64/fpu/s_logbf.S: New file. + * sysdeps/ia64/fpu/s_logbl.S: New file. + * sysdeps/ia64/fpu/s_matherrf.c: New file. + * sysdeps/ia64/fpu/s_matherrl.c: New file. + * sysdeps/ia64/fpu/s_modf.S: New file. + * sysdeps/ia64/fpu/s_modff.S: New file. + * sysdeps/ia64/fpu/s_modfl.S: New file. + * sysdeps/ia64/fpu/s_nearbyint.S: New file. + * sysdeps/ia64/fpu/s_nearbyintf.S: New file. + * sysdeps/ia64/fpu/s_nearbyintl.S: New file. + * sysdeps/ia64/fpu/s_rint.S: New file. + * sysdeps/ia64/fpu/s_rintf.S: New file. + * sysdeps/ia64/fpu/s_rintl.S: New file. + * sysdeps/ia64/fpu/s_round.S: New file. + * sysdeps/ia64/fpu/s_roundf.S: New file. + * sysdeps/ia64/fpu/s_roundl.S: New file. + * sysdeps/ia64/fpu/s_scalbn.S: New file. + * sysdeps/ia64/fpu/s_scalbnf.S: New file. + * sysdeps/ia64/fpu/s_scalbnl.S: New file. + * sysdeps/ia64/fpu/s_significand.S: New file. + * sysdeps/ia64/fpu/s_significandf.S: New file. + * sysdeps/ia64/fpu/s_significandl.S: New file. + * sysdeps/ia64/fpu/s_sin.c: New file. + * sysdeps/ia64/fpu/s_sincos.c: New file. + * sysdeps/ia64/fpu/s_sincosf.c: New file. + * sysdeps/ia64/fpu/s_sincosl.c: New file. + * sysdeps/ia64/fpu/s_sinf.c: New file. + * sysdeps/ia64/fpu/s_sinl.c: New file. + * sysdeps/ia64/fpu/s_tan.S: New file. + * sysdeps/ia64/fpu/s_tanf.S: New file. + * sysdeps/ia64/fpu/s_tanl.S: New file. + * sysdeps/ia64/fpu/s_trunc.S: New file. + * sysdeps/ia64/fpu/s_truncf.S: New file. + * sysdeps/ia64/fpu/s_truncl.S: New file. + * sysdeps/ia64/fpu/w_acos.c: New file. + * sysdeps/ia64/fpu/w_acosf.c: New file. + * sysdeps/ia64/fpu/w_acosl.c: New file. + * sysdeps/ia64/fpu/w_asin.c: New file. + * sysdeps/ia64/fpu/w_asinf.c: New file. + * sysdeps/ia64/fpu/w_asinl.c: New file. + * sysdeps/ia64/fpu/w_atan2.c: New file. + * sysdeps/ia64/fpu/w_atan2f.c: New file. + * sysdeps/ia64/fpu/w_atan2l.c: New file. + * sysdeps/ia64/fpu/w_cosh.c: New file. + * sysdeps/ia64/fpu/w_coshf.c: New file. + * sysdeps/ia64/fpu/w_coshl.c: New file. + * sysdeps/ia64/fpu/w_exp.c: New file. + * sysdeps/ia64/fpu/w_expf.c: New file. + * sysdeps/ia64/fpu/w_fmod.c: New file. + * sysdeps/ia64/fpu/w_fmodf.c: New file. + * sysdeps/ia64/fpu/w_fmodl.c: New file. + * sysdeps/ia64/fpu/w_hypot.c: New file. + * sysdeps/ia64/fpu/w_hypotf.c: New file. + * sysdeps/ia64/fpu/w_hypotl.c: New file. + * sysdeps/ia64/fpu/w_log.c: New file. + * sysdeps/ia64/fpu/w_log10.c: New file. + * sysdeps/ia64/fpu/w_log10f.c: New file. + * sysdeps/ia64/fpu/w_log10l.c: New file. + * sysdeps/ia64/fpu/w_logf.c: New file. + * sysdeps/ia64/fpu/w_logl.c: New file. + * sysdeps/ia64/fpu/w_pow.c: New file. + * sysdeps/ia64/fpu/w_powf.c: New file. + * sysdeps/ia64/fpu/w_powl.c: New file. + * sysdeps/ia64/fpu/w_remainder.c: New file. + * sysdeps/ia64/fpu/w_remainderf.c: New file. + * sysdeps/ia64/fpu/w_remainderl.c: New file. + * sysdeps/ia64/fpu/w_scalb.c: New file. + * sysdeps/ia64/fpu/w_scalbf.c: New file. + * sysdeps/ia64/fpu/w_scalbl.c: New file. + * sysdeps/ia64/fpu/w_sqrt.c: New file. + * sysdeps/ia64/fpu/w_sqrtf.c: New file. + * sysdeps/ia64/fpu/w_sqrtl.c: New file. + * sysdeps/ia64/fpu/libm-test-ulps: Adjust for long double + implementation. + * sysdeps/ia64/fpu/bits/mathdef.h: Correct float_t and double_t types. + Change FP_ILOGBNAN for new implementation. + * Verions.def: Add 2.2.3 versions. + +2001-02-18 Ulrich Drepper <drepper@redhat.com> + + * math/libm-test.inc (scalb_test): Require invalid exception being + raised for invalid parameters. + * sysdeps/i386/fpu/e_scalb.S: Raise invalid exception if necessary. + * sysdeps/i386/fpu/e_scalbf.S: Likewise. + * sysdeps/i386/fpu/e_scalbl.S: Likewise. + +2001-02-18 Mark Kettenis <kettenis@gnu.org> + + * sysdeps/mach/getsysstats.c (__get_phys_pages): Change return + value to long int. + (__get_avphys_pages): Likewise. + +2001-02-18 Ulrich Drepper <drepper@redhat.com> + + * math/libm-test.inc (pow_test): Correct expected results for x == +-1. + * sysdeps/i386/fpu/e_pow.S: Handle x == +-1 correctly. + * sysdeps/i386/fpu/e_powf.S: Likewise. + * sysdeps/i386/fpu/e_powl.S: Likewise. + + * sysdeps/i386/fpu/bits/mathinline.h: Remove pow inline code. + +2001-02-17 Ulrich Drepper <drepper@redhat.com> + + * math/Makefile (libm-calls): It's e_exp2 not s_exp2. + + * sysdeps/generic/s_exp2l.c: Renamed to... + * sysdeps/generic/e_exp2l.c: ...this. New file. + * sysdeps/i386/fpu/s_exp2.S: Renamed to... + * sysdeps/i386/fpu/e_exp2.S: ...this. New file. + * sysdeps/i386/fpu/s_exp2f.S: Renamed to... + * sysdeps/i386/fpu/e_exp2f.S: ...this. New file. + * sysdeps/i386/fpu/s_exp2l.S: Renamed to... + * sysdeps/i386/fpu/e_exp2l.S: ...this. New file. + * sysdeps/ieee754/flt-32/s_exp2f.c: Renamed to... + * sysdeps/ieee754/flt-32/e_exp2f.c: ...this. New file. + * sysdeps/ieee754/dbl-64/s_exp2.c: Renamed to... + * sysdeps/ieee754/dbl-64/e_exp2.c: ...this. New file. + * sysdeps/m68k/fpu/s_exp2.c: Renamed to... + * sysdeps/m68k/fpu/e_exp2.c: ...this. New file. + * sysdeps/m68k/fpu/s_exp2f.c: Renamed to... + * sysdeps/m68k/fpu/e_exp2f.c: ...this. New file. + * sysdeps/m68k/fpu/s_exp2l.c: Renamed to... + * sysdeps/m68k/fpu/e_exp2l.c: ...this. New file. + +2001-02-17 Andreas Jaeger <aj@suse.de> + + * configure.in: Allow gcc 3. + +2001-02-16 Ulrich Drepper <drepper@redhat.com> + + * math/w_acos.c: Move to ... + * sysdeps/generic/w_acos.c: ...here. New file. + * math/w_acosf.c: Move to ... + * sysdeps/generic/w_acosf.c: ...here. New file. + * math/w_acosh.c: Move to ... + * sysdeps/generic/w_acosh.c: ...here. New file. + * math/w_acoshf.c: Move to ... + * sysdeps/generic/w_acoshf.c: ...here. New file. + * math/w_acoshl.c: Move to ... + * sysdeps/generic/w_acoshl.c: ...here. New file. + * math/w_acosl.c: Move to ... + * sysdeps/generic/w_acosl.c: ...here. New file. + * math/w_asin.c: Move to ... + * sysdeps/generic/w_asin.c: ...here. New file. + * math/w_asinf.c: Move to ... + * sysdeps/generic/w_asinf.c: ...here. New file. + * math/w_asinl.c: Move to ... + * sysdeps/generic/w_asinl.c: ...here. New file. + * math/w_atan2.c: Move to ... + * sysdeps/generic/w_atan2.c: ...here. New file. + * math/w_atan2f.c: Move to ... + * sysdeps/generic/w_atan2f.c: ...here. New file. + * math/w_atan2l.c: Move to ... + * sysdeps/generic/w_atan2l.c: ...here. New file. + * math/w_atanh.c: Move to ... + * sysdeps/generic/w_atanh.c: ...here. New file. + * math/w_atanhf.c: Move to ... + * sysdeps/generic/w_atanhf.c: ...here. New file. + * math/w_atanhl.c: Move to ... + * sysdeps/generic/w_atanhl.c: ...here. New file. + * math/w_cosh.c: Move to ... + * sysdeps/generic/w_cosh.c: ...here. New file. + * math/w_coshf.c: Move to ... + * sysdeps/generic/w_coshf.c: ...here. New file. + * math/w_coshl.c: Move to ... + * sysdeps/generic/w_coshl.c: ...here. New file. + * math/w_drem.c: Move to ... + * sysdeps/generic/w_drem.c: ...here. New file. + * math/w_dremf.c: Move to ... + * sysdeps/generic/w_dremf.c: ...here. New file. + * math/w_dreml.c: Move to ... + * sysdeps/generic/w_dreml.c: ...here. New file. + * math/w_exp10.c: Move to ... + * sysdeps/generic/w_exp10.c: ...here. New file. + * math/w_exp10f.c: Move to ... + * sysdeps/generic/w_exp10f.c: ...here. New file. + * math/w_exp10l.c: Move to ... + * sysdeps/generic/w_exp10l.c: ...here. New file. + * math/w_exp2.c: Move to ... + * sysdeps/generic/w_exp2.c: ...here. New file. + * math/w_exp2f.c: Move to ... + * sysdeps/generic/w_exp2f.c: ...here. New file. + * math/w_exp2l.c: Move to ... + * sysdeps/generic/w_exp2l.c: ...here. New file. + * math/w_fmod.c: Move to ... + * sysdeps/generic/w_fmod.c: ...here. New file. + * math/w_fmodf.c: Move to ... + * sysdeps/generic/w_fmodf.c: ...here. New file. + * math/w_fmodl.c: Move to ... + * sysdeps/generic/w_fmodl.c: ...here. New file. + * math/w_hypot.c: Move to ... + * sysdeps/generic/w_hypot.c: ...here. New file. + * math/w_hypotf.c: Move to ... + * sysdeps/generic/w_hypotf.c: ...here. New file. + * math/w_hypotl.c: Move to ... + * sysdeps/generic/w_hypotl.c: ...here. New file. + * math/w_j0.c: Move to ... + * sysdeps/generic/w_j0.c: ...here. New file. + * math/w_j0f.c: Move to ... + * sysdeps/generic/w_j0f.c: ...here. New file. + * math/w_j0l.c: Move to ... + * sysdeps/generic/w_j0l.c: ...here. New file. + * math/w_j1.c: Move to ... + * sysdeps/generic/w_j1.c: ...here. New file. + * math/w_j1f.c: Move to ... + * sysdeps/generic/w_j1f.c: ...here. New file. + * math/w_j1l.c: Move to ... + * sysdeps/generic/w_j1l.c: ...here. New file. + * math/w_jn.c: Move to ... + * sysdeps/generic/w_jn.c: ...here. New file. + * math/w_jnf.c: Move to ... + * sysdeps/generic/w_jnf.c: ...here. New file. + * math/w_jnl.c: Move to ... + * sysdeps/generic/w_jnl.c: ...here. New file. + * math/w_lgamma.c: Move to ... + * sysdeps/generic/w_lgamma.c: ...here. New file. + * math/w_lgammaf.c: Move to ... + * sysdeps/generic/w_lgammaf.c: ...here. New file. + * math/w_lgammaf_r.c: Move to ... + * sysdeps/generic/w_lgammaf_r.c: ...here. New file. + * math/w_lgammal.c: Move to ... + * sysdeps/generic/w_lgammal.c: ...here. New file. + * math/w_lgammal_r.c: Move to ... + * sysdeps/generic/w_lgammal_r.c: ...here. New file. + * math/w_lgamma_r.c: Move to ... + * sysdeps/generic/w_lgamma_r.c: ...here. New file. + * math/w_log10.c: Move to ... + * sysdeps/generic/w_log10.c: ...here. New file. + * math/w_log10f.c: Move to ... + * sysdeps/generic/w_log10f.c: ...here. New file. + * math/w_log10l.c: Move to ... + * sysdeps/generic/w_log10l.c: ...here. New file. + * math/w_log.c: Move to ... + * sysdeps/generic/w_log.c: ...here. New file. + * math/w_logf.c: Move to ... + * sysdeps/generic/w_logf.c: ...here. New file. + * math/w_logl.c: Move to ... + * sysdeps/generic/w_logl.c: ...here. New file. + * math/w_pow.c: Move to ... + * sysdeps/generic/w_pow.c: ...here. New file. + * math/w_powf.c: Move to ... + * sysdeps/generic/w_powf.c: ...here. New file. + * math/w_powl.c: Move to ... + * sysdeps/generic/w_powl.c: ...here. New file. + * math/w_remainder.c: Move to ... + * sysdeps/generic/w_remainder.c: ...here. New file. + * math/w_remainderf.c: Move to ... + * sysdeps/generic/w_remainderf.c: ...here. New file. + * math/w_remainderl.c: Move to ... + * sysdeps/generic/w_remainderl.c: ...here. New file. + * math/w_scalb.c: Move to ... + * sysdeps/generic/w_scalb.c: ...here. New file. + * math/w_scalbf.c: Move to ... + * sysdeps/generic/w_scalbf.c: ...here. New file. + * math/w_scalbl.c: Move to ... + * sysdeps/generic/w_scalbl.c: ...here. New file. + * math/w_sinh.c: Move to ... + * sysdeps/generic/w_sinh.c: ...here. New file. + * math/w_sinhf.c: Move to ... + * sysdeps/generic/w_sinhf.c: ...here. New file. + * math/w_sinhl.c: Move to ... + * sysdeps/generic/w_sinhl.c: ...here. New file. + * math/w_sqrtl.c: Move to ... + * sysdeps/generic/w_sqrtl.c: ...here. New file. + * math/w_tgamma.c: Move to ... + * sysdeps/generic/w_tgamma.c: ...here. New file. + * math/w_tgammaf.c: Move to ... + * sysdeps/generic/w_tgammaf.c: ...here. New file. + * math/w_tgammal.c: Move to ... + * sysdeps/generic/w_tgammal.c: ...here. New file. + + * locale/programs/ld-address.c (address_finish): Add 'S' to allow + formats for postal_fmt. + +2001-02-16 Jakub Jelinek <jakub@redhat.com> + + * sysdeps/unix/sysv/linux/alpha/syscalls.list (ftruncate): Add + __ftruncate64 alias. + * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (ftruncate): + Likewise. - * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg) [! MACH_MSG_TYPE_BIT]: - Use untyped Mach IPC message format. +2001-02-15 David Mosberger <davidm@hpl.hp.com> - * hurd/catch-exc.c: Include <assert.h>, missing from last change. + * sysdeps/unix/sysv/linux/ia64/__longjmp.S (__longjmp): No need to + do "loadrs". Writing to bspstore already takes care of + invalidating the "clean" partition. - * hurd/Versions (libc: GLIBC_2.0): Add _S_catch_exception_raise_state, - _S_catch_exception_raise_state_identity, - _hurdsig_fault_catch_exception_raise_state, - _hurdsig_fault_catch_exception_raise_state_identity. +2001-02-16 Andreas Schwab <schwab@suse.de> - * mach/shortcut.awk: Don't apply the /^}$/ rule when $proto == "". + * sysdeps/m68k/fpu/s_nextafterl.c: New file. + * sysdeps/m68k/fpu/s_fpclassifyl.c: New file. - * sysdeps/mach/getsysstats.c (__get_avphys_pages) [HOST_VM_INFO]: Use - __host_info with HOST_VM_INFO flavor instead of __vm_statistics. +2001-02-15 Jakub Jelinek <jakub@redhat.com> - * sysdeps/mach/hurd/getpriority.c [TASK_SCHED_TIMESHARE_INFO]: Find - `base_priority' in PIP->timeshare_base_info instead of PIP->taskinfo. + * posix/regex.c (init_syntax_once): Add prototype. + (TRANSLATE): If MBS_SUPPORT, translate all characters up to '\xff'. + (re_search_2): Avoid warning. + (count_mbs_length): Add prototype. + * posix/tst-regex3.c: New file. + * posix/Makefile (tests): Add bug-regex3. - * sysdeps/mach/hurd/dl-sysdep.c [FMH]: Define for i386 only. - (fmh, unfmh): Define these functions only #if FMH. Otherwise define - them as no-op macros. - [FMH] (ELF_MACHINE_USER_ADDRESS_MASK): Redefine it to zero. - (__mmap): Uncomment uses of ELF_MACHINE_USER_ADDRESS_MASK. +2001-02-15 Ulrich Drepper <drepper@redhat.com> - * sysdeps/powerpc/dl-machine.h - (ELF_MACHINE_USER_ADDRESS_MASK): New macro. + * stdio-common/Makefile (tests): Add tst-gets. + * stdio-common/tst-gets.c: New file. + * stdio-common/tst-gets.input: New file. - * hurd/hurdselect.c (_hurd_select) [MACH_MSG_TRAILER_MINIMUM_SIZE]: - Use untyped Mach IPC message format. + * elf/elf.h (DT_CHECKSUM): Define. - * sysdeps/mach/hurd/ioctl.c (__ioctl) [! MACH_MSG_TYPE_BIT]: - Handle untyped Mach IPC message formats. + * sysdeps/generic/strtoll.c: Don't export __strto*_internal as + default symbol. + * sysdeps/generic/strtoull.c: Likewise. - * hurd/catch-exc.c (_S_catch_exception_raise) [EXC_MASK_ALL]: - Expect different argument conventions when this is defined. - [EXC_MASK_ALL] (_S_catch_exception_raise_state): New stub function. - [EXC_MASK_ALL] (_S_catch_exception_raise_state_identity): Likewise. - * hurd/hurdfault.c: Likewise for _hurdsig_fault_catch_exception_*. - [NDR_CHAR_ASCII] (mig_reply_header_t): #define as mig_reply_error_t - for OSF Mach variant. - (faulted): Use mig_reply_error_t for REPLY. - (_hurdsig_fault_init) [EXC_MASK_ALL]: Use EXCEPTION_STATE_IDENTITY - in __thread_set_exception_ports call. - (_hurdsig_fault_init) [MACH_PORT_RECEIVE_STATUS]: Use - __mach_port_set_attributes in place of __mach_port_set_qlimit. +2001-02-14 Wolfram Gloger <wg@malloc.de> - * sysdeps/mach/powerpc/sysdep.h (_MACH_MACHINE_ASM_H): Define this - before include <sysdeps/mach/sysdep.h>, to inhibit <mach/machine/asm.h> - on Darwin, which includes bogons. + * malloc/malloc.c (new_heap): When allocating large chunk aligned + to HEAP_MAX_SIZE, prefer one with lower address, to avoid `holes' + between the heaps. - * sysdeps/powerpc/dl-machine.h (elf_machine_rela): Move local - variable LOADBASE so it's not declared when it's not used. +2001-02-14 Ulrich Drepper <drepper@redhat.com> -2002-02-16 Roland McGrath <roland@frob.com> + * math/libm-test.inc (j0_test): Check whether sincos is available. + (j1_test): Likewise. + (jn_test): Likewise. + (y0_test): Likewise. + (y1_test): Likewise. + (yn_test): Likewise. - * sysdeps/mach/hurd/times.c (__times) [NO_CREATION_TIME]: Don't try - to use BI.creation_time. + * posix/tst-gnuglob.c: Make a few entries DT_UNKNOWN and teach + fake filesystem routines to handle this. - * mach/Machrules (MIG): Add -x c to CPP value passed down. + * time/sys/time.h: Make settimeofday and adjtime available if + _BSD_SOURCE. - * config.h.in: Add #undef HAVE_HOST_PAGE_SIZE. - * sysdeps/mach/configure.in: Check for host_page_size RPC to define it. - * mach/mach_init.c (__mach_init) [HAVE_HOST_PAGE_SIZE]: Use - host_page_size instead of vm_statistics. + * time/sys/time.h: Make timer* macros available for BSD. - * sysdeps/mach/Makefile (mach-before-compile): Don't include - mach_interface.h here, since not all variants use that name. + * iconvdata/gb18030.c: Update for Dec 2000 re-release of GB18030. + Patch by Yong Li <rigel863@yahoo.com>. - * sysdeps/mach/configure.in: Add some checks for Mach headers - to ensure a sane installation. - (mach_interface_list): Define this variable by checking for .defs - files found in various variants. - * configure.in (mach_interface_list): AC_SUBST this. - * config.make.in (mach-interface-list): New substituted variable. - * mach/Makefile (user-interfaces): Define this using the value - of $(mach-interface-list) instead of mach, mach4. - Updated other references to mach_interface to use it as well. + * sysdeps/generic/glob.c (CONVERT_DIRENT_DIRENT64): Fix copying of + name. - * sysdeps/mach/powerpc/machine-lock.h: Avoid multi-line strings. + * posix/Makefile (tests): Add tst-gnuglob. + * posix/tst-gnuglob.c: New file. - * mach/msgserver.c [NDR_CHAR_ASCII] (mig_reply_header_t): #define as - mig_reply_error_t for OSF Mach variant. +2001-02-13 H.J. Lu <hjl@gnu.org> - * mach/Makefile (routines): Remove bootprivport. - * mach/bootprivport.c: File removed. It has never been used. + * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add __ftruncate64. - * mach/msg-destroy.c (__mach_msg_destroy) [MACH_MSG_PORT_DESCRIPTOR]: - Grok the OSF flavor of message format. - (mach_msg_destroy_port): For MAKE_SEND and - MAKE_SEND_ONCE rights, create an destroy a right to ensure proper - no-senders notification. +2001-02-13 Ulrich Drepper <drepper@redhat.com> -2002-02-06 Roland McGrath <roland@frob.com> + * locale/programs/ld-paper.c (paper_output): Pretty printing. - * hurd/Versions (libc: GLIBC_2.0): Move cthread_fork, cthread_detach - to here if 2.0 compatibility enabled ... - (libc: GLIBC_2.1.3): ... from here. + * iconvdata/Makefile (modules): Add GBBIG5. + (distribute): Add gbbig5.c. + * iconvdata/gconv-modules: Add entries for GBBIG5 module. -2002-02-15 Ulrich Drepper <drepper@redhat.com> + * iconvdata/gbbig5.c: New file. + Contributed by Yong Li <rigel863@yahoo.com>. - * elf/dl-open.c (dl_open_worker): Catch wrap-around of TLS - generation counter. - * elf/dl-close.c (_dl_close): Likewise. +2001-02-13 Philip Blundell <pb@futuretv.com> -2002-02-14 Ulrich Drepper <drepper@redhat.com> + * manual/crypt.texi: Remove outdated references to crypt add-on. - * elf/Makefile: Add rules to build and run tst-tls8. - * elf/tst-tls8.c: New file. - * elf/tst-tlsmod4.c: New file. + * manual/creature.texi: Improve wording slightly. - * stdlib/test-a64l.c (tests): Add more test cases. +2001-02-13 Ulrich Drepper <drepper@redhat.com> - * sunrpc/rtime.c (rtime): Change type of thetime to uint32_t. - Reported by Walter Harms <WHarms@bfs.de>. + * io/ftw.c: Always use readdir64. + * io/ftw64.c: Likewise. + * sysdeps/unix/sysv/linux/ttyname.c: Likewise. + * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise. + * sysdeps/generic/glob.c: Likewise. Convert results of gl_readdir + callback to dirent. Still allow compiling outside glibc. + * sysdeps/gnu/glob64.c: Define COMPILE_GLOB64. + * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise. -2002-02-11 Jes Sorensen <jes@trained-monkey.org> + * malloc/mtrace.c: Use fopen64. + * posix/spawni.c: Use __open64. + * sysdeps/unix/opendir.c: Likewise. + * sysdeps/unix/sysv/linux/gethostid.c: Likewise. - * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h: Add sc_flag bit - definitions for struct sigcontext. - Suggested by David Mosberger-Tang. + * sysdeps/generic/ftruncate64.c: Define __ftruncate64 and make old + name a weak alias. + * sysdeps/unix/sysv/aix/ftruncate64.c: Likewise. + * sysdeps/unix/sysv/linux/ftruncate64.c: Likewise. + * sysdeps/unix/sysv/linux/mips/ftruncate64.c: Likewise. + * sysdeps/unix/sysv/linux/powerpc/ftruncate64.c: Likewise. -2002-02-13 Ulrich Drepper <drepper@redhat.com> + * resolv/res_data.c: Add cast to avoid warning. - * elf/dl-close.c (remove_slotinfo): New function. Handles everything - for removing reference of module in slotinfo list. - (_dl_close): Use remove_slotinfo. - * sysdeps/generic/dl-tls.c: General pretty printing. - (oom): Define only if SHARED. - (_dl_next_tls_modid): Correct starting point for the case we assume - there is a gap. Add missing instruction grouping (doh!). Correct - tests for reaching maximum index. - * elf/Makefile: Add rules to build and run tst-tls7. - * elf/tst-tls7.c: New file. - * elf/tst-tlsmod3.c: New file. + * include/unistd.h: Declare __ftruncate64. - * elf/tst-tlsmod1.c: Move #include "tls-macros.h" instead #ifdef - USE_TLS. - * elf/tst-tlsmod2.c: Likewise. + * sysdeps/generic/utmp_file.c: Use LFS functions and types. - * elf/dl-close.c (_dl_close): When closing an object using TLS - either decrement dl_tls_max_dtv_idx or set dl_tls_dtv_gaps to - true. Increment dl_tls_generation only if we closed any TLS-using - object. - * elf/tst-tls6.c: New file. - * elf/Makefile: Add rules to build and run tst-tls6. + * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use __lseek64 + instead of __lseek. - * po/da.po: Update from translation team. +2001-02-13 Andreas Jaeger <aj@suse.de> - * locale/categories.def: Fix typo [PR libc/2948]. - * po/Makefile (BROKEN_LINGUAS): Works with current gettext - [PR libc/2949]. - * locale/iso-4217.def: Update from official version [PR libc/2950]. - * glibcbug.in: Honor TMPDIR [PR libc/2951]. - * locale/programs/ld-collate.c (collate_finish): Bail out with a - message if input is too confusion instead of using assert. - (collate_read): Don't crash on unknown symbol [PR libc/2952]. - Patches by Alastair McKinstry <alastair@pdd.3com.com>. - - * elf/tst-tls1.c: Move #include "tls-macros.h" inside #ifdef USE_TLS. - * elf/tst-tls2.c: Likewise. - * elf/tst-tls3.c: Likewise. - -2002-02-13 Jakub Jelinek <jakub@redhat.com> - - * elf/dl-close.c (free_slotinfo): Only define if TLS supported. - -2002-02-13 Ulrich Drepper <drepper@redhat.com> - - * elf/dl-open.c (dl_open_worker): Only bump the generation counter - if this is really necessary. - - * elf/dl-close.c (_dl_close): Implement freeing entries in the - slotinfo array. - (free_mem): Free memory for the slotinfo array if possible. - -2002-02-12 Andreas Schwab <schwab@suse.de> - - * csu/gmon-start.c (__gmon_start__): Remove '&' from ENTRY_POINT. - -2002-02-12 Ulrich Drepper <drepper@redhat.com> - - * sysdeps/generic/dl-tls.c (TLS_DTV_UNALLOCATED): Renamed from - TLS_DTV_UNALLOCATE. - (oom): New function. - (_dl_next_tls_modid): Rewrite to handle dl_tls_dtv_slotinfo_list. - (_dl_determine_tlsoffset): Likewise. - (_dl_allocate_tls): Likewise. - (__TLS_GET_ADDR): Define if not already defined. - (_dl_tls_symaddr): New function. - (allocate_and_init): New function. - (__tls_get_addr): Actually implement handling of generation counter - and deferred allocation. - * sysdeps/generic/ldsodefs.h (_rtld_global): Remove _dl_initimage_list, - add _dl_tls_dtv_slotinfo_list, _dl_tls_static_nelem, and - _dl_tls_generation. - Define TLS_SLOTINFO_SURPLUS and DTV_SURPLUS. - Declare _dl_tls_symaddr. - * sysdeps/i386/dl-tls.h: Disable __tls_get_addr handling unless - SHARED. - * include/link.h (struct link_map): Remove l_tls_nextimage and - l_tls_previmage. - * elf/dl-sym.c (_dl_sym): After successful lookup call _dl_tls_symaddr - instead of DL_SYMBOL_ADDRESS for STT_TLS symbols. - (_dl_vsym): Likewise. - * elf/rtld.c (_dl_start_final): Adjust initdtv initialization for new - layout. - (dl_main): Allow PT_TLS be present for empty segment. Remove - nextimage list handling. Instead add all modules using TLS to - dl_tls_dtv_slotinfo_list. - * elf/dl-open.c (dl_open_worker): After successfully loading all - objects add those with TLS to the dl_tls_dtv_slotinfo_list list. - * elf/dl-load.c (_dl_map_object_from_fd): If PT_TLS entry is for an - empty segment don't do anything. Remove handling of initimage list. - * elf/Versions [ld] (GLIBC_2.0): Add __libc_memalign. - (GLIBC_PRIVATE): Add _dl_tls_symaddr. - * elf/dl-minimal.c: Define __libc_memalign. - * elf/dl-support.c: Remove _dl_initimage_list. Add - _dl_tls_dtv_slotinfo_list, _dl_tls_static_nelem, and - _dl_tls_generation. - * include/stdlib.h: Declare __libc_memalign. + * login/getutent_r.c: Include <stdlib.h> for NULL. + * login/getutid_r.c: Likewise. - * elf/Makefile: Add rules to build and run tst-tls4 and tst-tls5. - * elf/tst-tls4.c: New file. - * elf/tst-tls5.c: New file. - * elf/tst-tlsmod2.c: New file. +2001-02-12 Ulrich Drepper <drepper@redhat.com> - * elf/tls-macros.h: asms using ___tls_get_addr destroy %ecx and %edx. + * sysdeps/dbl-64/e_j0.c: Little optimization, use sincos. + * sysdeps/dbl-64/e_j1.c: Likewise. + * sysdeps/dbl-64/e_jn.c: Likewise. + * sysdeps/flt-32/e_j0f.c: Likewise. + * sysdeps/flt-32/e_j1f.c: Likewise. + * sysdeps/ldbl-96/e_j0l.c: Likewise. - * elf/tst-tlsmod1.c: Don't define variables unles USE_TLS. +2000-12-02 H.J. Lu <hjl@gnu.org> - * elf/tst-tls1.c: Use test-skeleton.c. - * elf/tst-tls2.c: Likewise. - * elf/tst-tls3.c: Likewise. + * resolv/res_libc.c (res_init): Don't make it default. - * elf/dl-conflict.c (RESOLVE_MAP): Return NULL not 0. +2001-02-12 Ulrich Drepper <drepper@redhat.com> -2002-02-08 Daniel Jacobowitz <drow@mvista.com> + * manual/debug.texi: Improved the wording. + Patch by Philip Blundell <pb@futuretv.com>. - * sysdeps/mips/machine-gmon.h: Update MCOUNT for current GCC behavior. +2001-02-12 Andreas Jaeger <aj@suse.de> -2002-02-10 Ulrich Drepper <drepper@redhat.com> + * posix/Makefile (tests): Don't run bug-regex2 when + cross-compiling. - * elf/elf.h: Define R_386_TLS_GD and R_386_TLS_LDM. + * libio/Makefile (tests): Don't run test-freopen when + cross-compiling. - * elf/tst-tls3.c: New file. - * elf/tst-tlsmod1.c: New file. - * elf/Makefile: Add rules to build and run tst-tls3. + * manual/stdio.texi (Streams and I18N): Fix typos. - * sysdeps/i386/dl-machine.h: Include <tls.h>. - (elf_machine_type_class): Set ELF_RTYPE_CLASS_PLT also for the three - TLS relocations. +2001-02-12 Ulrich Drepper <drepper@redhat.com> - * elf/do-lookup.h (FCT): st_value can be zero for STT_TLS symbols. + * sysdeps/i386/fpu/libm-test-ulps: Adjust for errors in y0l. - * po/fr.po: Update from translation team. + * math/libm-test.inc (j0_test): Make expected results long double + constants. + (y0_test): Likewise. - * elf/tls-macros.h: Add alternative macros for use in PIC. + * sysdeps/ieee754/ldbl-96/e_j0l.c: New file. + Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>. - * elf/dl-lookup.c: Include <tls.h>. - * elf/do-lookup.h (FCT): Don't discard STT_TLS symbols. +2001-02-11 Jakub Jelinek <jakub@redhat.com> - * sysdeps/generic/dl-tls.c (_dl_determine_tlsoffset): More changes - required by passing pointer to last element of the list. + * sysdeps/generic/strtoll.c (__strtoq_internal): Ressurect alias + which was exported from libc. + * sysdeps/generic/strtoull.c (__strtouq_internal): Likewise. - * elf/dl-load.c (_dl_map_object_from_fd): Move adjustment of - l_tls_initimage to a place where it actually is performed. +2001-02-12 Andreas Jaeger <aj@suse.de> - * sysdeps/generic/glob.c (glob): Explicitly set gl_pathc to zero - after globfree() calls. + * manual/arith.texi (Parsing of Integers): Fix some wordings. - * elf/dl-deps.c (struct openaux_args): Add open_mode element. - (openaux): Pass open_mode as new last argument to _dl_map_object. - (_dl_map_object_deps): Add new argument open_mode. Initialize - open_mode element of args variable with it. - * elf/dl-open.c (dl_open_worker): Pass __RTLD_DLOPEN flag is set to - _dl_map_object_deps. - * elf/rtld.c (dl_main): Add zero as last parameter to - _dl_map_object_deps call. - * sysdeps/generic/ldsodefs.h: Adjust prototype of _dl_map_object_deps. - * elf/nodlopen2.c: New file. - * elf/nodlopenmod2.c: New file. - * elf/Makefile: Add rules to build and run nodlopen2. +2001-02-11 Ulrich Drepper <drepper@redhat.com> - * elf/tst-tls1.c: Move TLS helper macros to... - * elf/tls-macros.h: ...here. New file. - * elf/tst-tls2.c: New file. - * elf/Makefile (tests): Add tst-tls2. - (distribute): Add tls-macros.h. + * sysdeps/generic/getsysstat.c: Change return value of get_phys_pages + and get_avphys_page to long int. + * sysdeps/unix/sysv/linux/getsysstat.c: Likewise. + * include/sys/sysinfo.h: Likewise. + * sysdeps/generic/sys/sysinfo.h: Likewise. + * sysdeps/unix/sysv/linux/sys/sysinfo.h: Likewise. - * po/sv.po: Update from translation team. + * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Fail if we + cannot return as many values as the user asked for. - * elf/tst-tls1.c (main): Add complete set of tests. Split - architecture specific definitions from the actual test code. +2001-02-11 Andreas Jaeger <aj@suse.de> - * po/tr.po: Update from translation team. + * manual/resource.texi (Memory Resources): Fix typo. -2002-02-09 Ulrich Drepper <drepper@redhat.com> + * libio/Makefile ($(objpfx)test-freopen.out): Pass + run-program-prefix. - * elf/Makefile (tests): Add tst-tls1. - * elf/tst-tls1.c: New file. + * libio/test-freopen.sh: Use run_program_prefix. - * sysdeps/generic/dl-tls.c (_dl_determine_tlsoffset): Don't handle - alignment of TCB for now. +2001-02-10 Andreas Jaeger <aj@suse.de> - * elf/rtld.c (dl_main): Use p_vaddr as address of TLS - initialization image for the application itself. + * stdlib/Makefile (tests): Don't run tst-fmtmsg when + cross-compiling. + ($(objpfx)tst-fmtmsg.out): Pass run-program-prefix. - * sysdeps/generic/dl-tls.c (_dl_allocate_tls): Correctly terminate - loop to initialize TLS block. + * stdlib/tst-fmtmsg.sh (test): Use run_program_prefix for static + only builds. -2002-02-08 Richard Henderson <rth@redhat.com> + * elf/Makefile (tests): Only run tst-pathopt with shared libs. - * sysdeps/generic/ldsodefs.h (struct rtld_global): Also include - _dl_cpuclock_offset if HP_SMALL_TIMING_AVAIL. + * posix/Makefile: Fix typo, it's build-static-nss. - * sysdeps/alpha/elf/initfini.c: Use \n\ for multiline string. + * iconv/Makefile (extra-objs): New. -2002-02-09 Jakub Jelinek <jakub@redhat.com> +2001-02-10 Mark Kettenis <kettenis@gnu.org> - * sysdeps/generic/dl-environ.c (unsetenv): Clear cnt before use. + * sysdeps/unix/stime.c: Include <time.h>. -2002-02-08 Ulrich Drepper <drepper@redhat.com> + * sysdeps/mach/hurd/setitimer.c: Include <time.h>. - * po/ca.po: Update from translation team. - * po/sk.po: Likewise. +2001-02-10 Andreas Jaeger <aj@suse.de> - * elf/rtld.c (_dl_start_final): Install DTV explicitly. - (dl_main): Move dtv/static TLS handling before relocation. - Unconditionally call _dl_tlsoffset. Call _dl_allocate_tls and - TLS_INIT_TP to allocate and install the dtv/static TLS block. - * sysdeps/generic/dl-tls.c (_dl_determine_tlsoffset): If no object - so far uses TLS initialize GL(dl_tls_static_size) and - GL(dl_tls_static_align) to account for the TCB. - (_dl_allocate_tls): New function. - * sysdeps/generic/ldsodefs.h (rtld_global): Add - _dl_initial_dtv_malloced. + * manual/string.texi (Search Functions): Fix typo. - * configure.in: Test for __builtin_memset more realistically. +2001-02-10 Mark Kettenis <kettenis@gnu.org> - * csu/version.c (banner): If TLS support is available say so. + * sysdeps/unix/bsd/times.c: Reorder includes and add <time.h>. + (timeval_to_clock_t): Add clk_tck argument and use that instead of + CLK_TCK. + (__times): Use __getclktck to get the number of clock ticks per + second and use its return value instead of CLK_TCK. -2002-02-04 H.J. Lu <hjl@gnu.org> +2001-02-10 Mark Kettenis <kettenis@gnu.org> - * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Use - __attribute_used__. - (__dl_runtime_resolve): Likewise. + * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h (_HAVE_SA_LEN): Define. - * sysdeps/mips/machine-gmon.h (_MCOUNT_DECL): Make it a real - declaration. +2001-02-10 Mark Kettenis <kettenis@gnu.org> -2001-11-15 H.J. Lu <hjl@gnu.org> + * sysdeps/mach/gettimeofday.c: Include <stddef.h>. - * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Don't include - <signal.h>, <sys/ucontext.h> nor <asm/elf.h>. Updated for gdb. +2001-02-10 Andreas Jaeger <aj@suse.de> - * sysdeps/unix/sysv/linux/mips/sys/user.h: New file. + * wctype/wcfuncs.c (func): Add prototype declarations to avoid + warning. -2002-02-07 H.J. Lu <hjl@gnu.org> +2001-02-09 Ulrich Drepper <drepper@redhat.com> - * sysdeps/mips/atomicity.h (compare_and_swap): Remove - ".set noreorder". - * sysdeps/unix/sysv/linux/mips/sys/tas.h (_test_and_set): - Likewise. + * posix/Makefile: Add rules to build and run bug-regex2. + * posix/bug-regex2.c: New file. -2002-02-07 Ulrich Drepper <drepper@redhat.com> +2001-02-10 Jakub Jelinek <jakub@redhat.com> - * sysdeps/unix/sysv/linux/bits/stat.h: Undo last patch. + * posix/regex.c (convert_mbs_to_wcs): Change is_binary to char *. + (regex_compile): Likewise. + (FREE_VARIABLES): Don't free is_binary1 and is_binary2. + (re_match_2_internal): Use just is_binary instead of two variables. + Use REGEX_TALLOC to allocate it and FREE_VAR to free on failure. - * sysdeps/i386/dl-tls.h (__tls_get_addr): Call - ___tls_get_addr_internal. - (___tls_get_addr_internal): Define as alias for ___tls_get_addr. +2001-02-09 Ulrich Drepper <drepper@redhat.com> - * po/ko.po: Update from translation team. + * version.h (VERSION): Bump to 2.2.2. -2002-02-07 Jakub Jelinek <jakub@redhat.com> + * iconv/Makefile (distribute): Add iconv_charmap.c and + dummy-repertoire.c. + * elf/Makefile (distribute): Add firstobj.c. + * Makefile (distribute): Add include/pthread.h. - * sysdeps/unix/sysv/linux/bits/stat.h (struct stat): Remove packed - attribute, change __pad{1,2} type to unsigned int. - (struct stat64): Remove packed attribute. + * configure.in: Require makeinfo version 4. -2002-02-07 Ulrich Drepper <drepper@redhat.com> + * libio/tst_wscanf.c (main): Add cast to avoid warning. + * libio/tst_swscanf.c (main): Likewise.. - * sysdeps/i386/dl-tls.h: No need for #ifdef USE_TLS. +2001-02-09 Jakub Jelinek <jakub@redhat.com> -2002-02-07 Andreas Schwab <schwab@suse.de> + * sysdeps/generic/setenv.c (unsetenv): Remove const from len. + * sysdeps/sparc/fpu/bits/mathinline.h (sqrt, fdim): Don't define if + __NO_MATH_INLINES. + * sysdeps/i386/dl-machine.h (elf_machine_rel): Only declare refsym + if not RTLD_BOOTSTRAP. + * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise. + * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise. - * configure.in: Fix check for -zcombreloc. +2001-02-09 Ulrich Drepper <drepper@redhat.com> -2002-02-06 H.J. Lu <hjl@gnu.org> + * locale/programs/linereader.c (get_ident): Stop loop if EOF. Use + lr_ungetc to push back last read character. + * locale/programs/linereader.h (lr_ungetc): Don't push back is + character is EOF. + (lr_ignore_rest): Don't warn about garbage if it is really the end + of the file. - * config.h.in (HAVE_BUILTIN_MEMSET): New macro. - * configure.in: Check if __builtin_memset really works. - * elf/rtld.c (_dl_start): Check HAVE_BUILTIN_MEMSET instead of - __GNUC_PREREQ (2, 96) before using __builtin_memset. + * manual/Makefile: Use ifnottext and not ifinfo to protect Top node + definition. -2002-02-06 Jakub Jelinek <jakub@redhat.com> +2001-02-08 Ulrich Drepper <drepper@redhat.com> - * io/bug-ftw3.c (main): Don't try the test if root. + * Makerules (build-shlib): Work around different order of + processing of -B option in different gcc versions. -2002-02-06 Martin Schwidefsky <schwidefsky@de.ibm.com> + * posix/regex.c: Fix alignment problem. + Patch by Isamu Hasegawa <isamu@yamato.ibm.com>. - * sysdeps/unix/sysv/linux/s390/brk.c (__brk): Correct inline assembly - constraints. - * sysdeps/unix/sysv/linux/s390/s390-32/bits/resource.h (RLIMIT_LOCKS): - Add RLIMIT_LOCKS and adjust RLIMIT_NLIMITS. - * sysdeps/unix/sysv/linux/s390/s390-64/bits/resource.h (RLIMIT_LOCKS): - Likewise. - * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (clone): Make clone - a weak alias for __clone. - * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (clone): Likewise. - * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h: Fix typo. - * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add framestate. - * sysdeps/unix/sysv/linux/s390/s390-64/Versions: New file. - * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S (__mmap64): Make __mmap - a weak alias for __mmap64. + * sysdeps/alpha/strrchr.S: Little optimization. + Patch by Richard Henderson <rth@redhat.com>. -2002-02-05 H.J. Lu <hjl@gnu.org> + * sysdeps/alpha/alphaev67/strrchr.S: New file. + Contributed by Rick Gorton <rick.gorton@alpha-processor.com>. - * sysdeps/mips/atomicity.h (exchange_and_add): Not use branch likely. - (atomic_add): Likewise. - (compare_and_swap): Likewise. - * sysdeps/unix/sysv/linux/mips/sys/tas.h (_test_and_set): Likewise. +2001-02-08 kaz Kojima <kkojima@rr.iij4u.or.jp> -2002-02-07 Ulrich Drepper <drepper@redhat.com> + * sysdeps/sh/sh3/setjmp.S (__sigsetjmp): Correct function name + in the assembler end directive. - * sysdeps/generic/dl-tls.c: Don't read TLS header if TLS is not needed. +2001-02-08 Andreas Jaeger <aj@suse.de> - * sysdeps/generic/dl-tls.c (_dl_determine_tlsoffset): Account for - alignment of the TCB and store total size and alignment of static - TLS block in _dl_tls_static_size and _dl_tls_static_align. - tls_index is a typedef. - * sysdeps/generic/ldsodefs.h: Declare _dl_tls_static_size and - _dl_tls_static_align. - * sysdeps/i386/dl-tls.h: tls_index is a typedef. - * elf/dl-support.c: Define _dl_tls_static_size and - _dl_tls_static_align. + * manual/stdio.texi (Closing Streams): Fix typos. -2002-02-06 Ulrich Drepper <drepper@redhat.com> +2001-02-07 Ulrich Drepper <drepper@redhat.com> - * configure.in: Add --without-tls option. - * sysdeps/i386/elf/configure.in: Don't check for TLS support if - --without-tls is given. + * sysdeps/alpha/alphaev67/strncat.S: Align last write address. + Patch by Richard Henderson <rth@redhat.com>. + Reported by Claus-Justus Heine <heine@instmath.rwth-aachen.de>. - * sysdeps/generic/dl-tls.c: Include <tls.h>. + * stdlib/strfmon.c [USE_IN_LIBIO]: Define lock variable and store + pointer in FILE structure before calling _IO_init. + * stdlib/Makefile: Add -D_IO_MTSAFE_IO to CFLAGS for strfmon and + strfmon_l if necessary. + Reported by Jury Gerold <gjury@grips.com>. - * sysdeps/i386/dl-tls.h: Don't define anything if !USE_TLS. + * sysdeps/gnu/netinet/tcp.h: Correct values of TCP_ macros. + Patch by Pekka.Pietikainen@cern.ch. -2002-02-06 Roland McGrath <roland@frob.com> + * posix/regex.c: Correct several problems with 64-bit architectures + introduced in the MBS changes. + Patch by Isamu Hasegawa <isamu@yamato.ibm.com>. - * malloc/hooks.c [! HAVE_MREMAP]: Conditionalize unused decls. - * malloc/malloc.c [! HAVE_MREMAP]: Likewise. +2001-02-07 Jakub Jelinek <jakub@redhat.com> - * scripts/versions.awk: Improve error message for missing version. - Each version inherits from the last one only if they have the same - nonnumeric prefix, i.e. GLIBC_x.y and GLIBC_x.z or FOO_x and FOO_y - but not GLIBC_x and FOO_y. + * math/tgmath.h: Only add l suffixes if __NO_LONG_DOUBLE_MATH is + not defined. + * sysdeps/alpha/fpu/bits/mathinline.h: Honour __NO_MATH_INLINES. - * scripts/firstversions.awk: Handle libraries that don't have each - particular version named in the third column of shlib-versions. +2001-02-07 Andreas Jaeger <aj@suse.de> - * scripts/firstversions.awk: Don't mess with GLIBC_PRIVATE. + * manual/install.texi (Tools for Compilation): Fix typo. + Reported by Pavel Machek <pavel@bug.ucw.cz>. -2002-02-06 Ulrich Drepper <drepper@redhat.com> +2001-02-07 Ulrich Drepper <drepper@redhat.com> - * Versions.def [ld]: Add GLIBC_2.3. - * elf/Versions [ld]: Add __tls_get_addr to GLIBC_2.3. - * elf/Makefile (dl-routines): Add dl-tls. - (distribute): Add dl-tls.h. - * sysdeps/generic/ldsodefs.h (struct rtld_global): Remove - _dl_tls_module_cnt, add _dl_tls_max_dtv_idx and _dl_tls_dtv_gaps. - Add prototypes for _dl_next_tls_modid and _dl_determine_tlsoffset. - * elf/dl-load.c (_dl_map_object_from_fd): Store alignment requirement - along with the other info in the link map. Change queueing of init - images for double linked list. Use _dl_next_tls_modid to compute - l_tls_modid. - * elf/rtld.c (_dl_start_final): Store alignment requirement - along with the other info in rtld map and executable map. - (dl_main): Add ld.so to the init image list if necessary. Compute - final module ID with _dl_next_tls_modid. - * include/link.h (struct link_map): Add l_tls_previmage and - l_tls_align. - * eld/dl-support.c: Define _dl_tls_max_dtv_idx and _dl_tls_dtv_gaps. - * sysdeps/i386/elf/Versions: New file. - * sysdeps/generic/dl-tls.c: New file. - * sysdeps/generic/dl-tls.h: New file. - * sysdeps/i386/dl-tls.h: New file. + * stdlib/strtod.c: Never stop prematurely reading digits before the + decimal point is found. Compute exponent limit for negative exponents + correctly. For numbers ending in all zeros eat the zeros even before + the decimal point if the exponent is negative [PR libc/2072]. + * stdlib/Makefile (tests): Add bug-strtod. + * stdlib/bug-strtod.c: New file. -2002-02-06 Roland McGrath <roland@frob.com> +2001-02-07 Andreas Jaeger <aj@suse.de> - * sysdeps/unix/sysv/linux/netinet/ip.h: Moved to ... - * sysdeps/generic/netinet/ip.h: ... here, replacing old file. + * posix/bug-regex1.c: Include <wchar.h> for fwide. -2002-01-05 Roland McGrath <roland@frob.com> +2001-02-06 Ulrich Drepper <drepper@redhat.com> - * sysdeps/mach/configure.in: New file. - * sysdeps/mach/configure: New generated file. + * posix/regex.c (regex_compile): Don't store pointer in wchar_t array. + Store index. + (compile_range): Handle index being passed, not pointer. + Patch by Isamu Hasegawa <isamu@yamato.ibm.com>. - * mach/Makefile (user-interfaces): Remove default_pager_helper. - It has never been used by anything. + * posix/regex.c: Fix a cast in the code for bracket handling which + caused 8-bit uncleanliness. + Patch by Michal Jaegermann <michal@ellpspace.math.ualberta.ca>. -2002-02-06 H.J. Lu <hjl@gnu.org> + * posix/Makefile (tests): Add bug-regex1. + * posix/bug-regex1.c: New file. + Contributed by Jim Meyering <jim@meyering.net>. - * sysdeps/mips/elf/ldsodefs.h: Make sure the right <ldsodefs.h> - is included. + * posix/regex.c: Many cleanups for incorrect format strings. -2002-02-06 Ulrich Drepper <drepper@redhat.com> +2001-02-06 Andreas Jaeger <aj@suse.de> - * sysdeps/unix/sysv/linux/bits/stat.h (struct stat): Add - attribute((packed)) to counter stupid people misusing gcc options. - (struct stat64): Likewise. + * time/time.h (CLK_TCK): Check for !__STRICT_ANSI. -2002-02-05 Ulrich Drepper <drepper@redhat.com> +2001-02-06 Ulrich Drepper <drepper@redhat.com> - * elf/rtld.c (dl_main): Correct indentation. Use bool as type for - the variables which are used as booleans. + * locale/programs/locale.c (write_locales): Use scandir to read + directory so that the entries are sorted. -2002-02-06 Andreas Jaeger <aj@suse.de> +2001-02-06 Andreas Jaeger <aj@suse.de> - * include/libc-symbols.h (INTUSE): Renamed from INT. - * elf/dl-deps.c: Change users. - * sysdeps/generic/dl-sysdep.c: Likewise. - * sysdeps/generic/dl-cache.c: Likewise. - * elf/dl-reloc.c: Likewise. - * elf/rtld.c: Likewise. - * elf/dl-version.c: Likewise. - * elf/dl-load.c: Likewise. - * elf/dl-dst.h: Likewise. - * elf/dl-init.c: Likewise. - * elf/dl-error.c: Likewise. - * elf/dl-fini.c: Likewise. - * elf/dl-runtime.c: Likewise. - * elf/do-lookup.h: Likewise. + * include/pthread.h: New file. - * stdio-common/_itoa.h: Undefine SPECIAL to avoid duplicate - definition. - * stdio-common/_itowa.h: Likewise. + * wctype/wctype.h: Move internal interfaces from here to... + * include/wctype.h: ...here. + + * wcsmbs/wchar.h: Move __wcslen from here to... + * include/wchar.h: ...here. + + * posix/sys/wait.h: Move __wait from here to... + * include/sys/wait.h: ...here. + + * string/string.h: Move __ffs and __strerror_r from here to... + * include/string.h: ...here. + + * stdlib/stdlib.h: Move __on_exit from here to... + * include/stdlib.h: ...here. + + * libio/stdio.h: Move __vsnprintf from here to... + * include/stdio.h: ...here. -2002-02-05 Ulrich Drepper <drepper@redhat.com> +2001-02-06 Andreas Schwab <schwab@suse.de> - * elf/dl-minimal.c: Define _itoa_lower_digits. + * sysdeps/unix/sysv/linux/ia64/ioperm.c: Don't include kernel + headers. - * elf/dynamic-link.h (elf_get_dynamic_info): ld.so can have - DT_FLAGS set. + * timezone/Makefile: Don't assume that $(inst_zonedir) is a subdir + of $(inst_datadir). - * elf/dl-load.c (_dl_map_object_from_fd): Prevent dynamically - loading modules with the DF_STATIC_TLS flag set. - * elf/dynamic-link.h (elf_get_dynamic_info): Initialize l_flags - element. - * include/link.h (struct link_map): Add l_flags field. - * elf/elf.h (DF_STATIC_TLS): New definition. +2001-02-06 Ulrich Drepper <drepper@redhat.com> - * dlfcn/Makefile: Add rules to build and run bug-dlopen1. - * dlfcn/bug-dlopen1.c: New file. By Bruno Haible. + * iconvdata/Makefile: Add dependency for bug-iconv2.out. - * elf/rtld.c (process_dl_debug): Correct printing help message. - * elf/dl-misc.c (_dl_debug_vdprintf): Implement precision handling - for %s. +2001-02-06 Andreas Jaeger <aj@suse.de> - * inet/getnetgrent_r.c (innetgr): Add int* parameter to getfct - definition and pass &errno in use of this variable. - Reported by Simon Wilkinson <simon@sxw.org.uk> [PR libc/2911]. + * elf/firstobj.c: Add prototype. -2002-02-04 Andreas Schwab <schwab@suse.de> + * posix/regex.c (convert_mbs_to_wcs): Make static, add prototype + (truncate_wchar): Likewise. - * locale/programs/localedef.h (WITH_CUR_LOCALE): Define. - * locale/programs/charmap-dir.c: Wrap calls that output messages - with WITH_CUR_LOCALE. Include "localedef.h" first. - * locale/programs/charmap.c: Likewise. +2001-02-06 Ulrich Drepper <drepper@redhat.com> + + * locale/programs/locale.c: Implement --verbose option for -a + which prints detailed information about the locales. + +2001-02-05 Ulrich Drepper <drepper@redhat.com> + + * sunrpc/xdr_rec.c (set_input_fragment): Change type of header + variable to uint32_t. + Reported by Ulrich Weigand <weigand@immd1.informatik.uni-erlangen.de>. + +2001-02-04 Bruno Haible <haible@clisp.cons.org> + + * locale/C-translit.h.in: Add transliterations for CJK units of + measurement. + +2001-02-05 Ulrich Drepper <drepper@redhat.com> + + * elf/cache.c (print_entry): Use PRIx64 instead of Lx in printf + string. Include <inttypes.h> instead of <stdint.h>. + + * localedata/Makefile (tests): Add bug-iconv-trans. + Define bug-iconv-trans-ENV. + * localedata/bug-iconv-trans.c: New file. + +2001-02-04 Bruno Haible <haible@clisp.cons.org> + + * iconv/gconv_trans.c (__gconv_transliterate): Use a temporary output + pointer, to avoid accumulating output from incomplete (unsuccessful) + transliteration attempts. + +2001-02-05 Ulrich Drepper <drepper@redhat.com> + + * elf/ldconfig.c (search_dir): Use PRIx64 instead of Lx in printf + string. Include <inttypes.h> instead of <stdint.h>. + + * configure.in: Add check for bison. + * config.make.in: Define BISON variable. + * intl/Makefile: Use BISON instead of YACC when generating plural.c. + Rename YFLAGS to BISONFLAGS. + +2001-02-05 Andreas Jaeger <aj@suse.de> + + * io/test-lfs.c (do_test): Test lseek64 return value, call + test_ftello. + (test_ftello): New function to test ftello64 and fseeko64. + + * signal/signal.h: Move __sigaction from here to... + * include/signal.h: ...here. + + * io/fcntl.h: Move __fcntl and __open to... + * include/fcntl.h: ...here. + +2001-02-04 Philip Blundell <philb@gnu.org> + + * configure.in: Distinguish ARM from Thumb. + +2001-02-04 Philip Blundell <philb@gnu.org> + + * sysdeps/arm/dl-machine.h (elf_machine_rel): Correct handling of + PC24 relocs with negative value. + +2001-02-04 Ulrich Drepper <drepper@redhat.com> + + * iconv/Makefile (iconv_prog-modules): Define. Add vpath to find + files in locale/programs. Add CFLAGS definition to allow compiling + localedef files. + * iconv/dummy-repertoire.c: New file. + * iconv/iconv_charmap.c: New file. + * iconv/iconv_prog.h: New file. + * iconv/iconv_prog.c: Make verbose and omit_invalid global. + (main): If parameter for -f and -t contain slashes try first to resolve + the strings as filenames of charmap files. Use them for conversion + in this case. + * iconvdata/run-iconv-test.sh: If charmaps exist also run tests with + iconv getting charmap names as parameters. + * locale/programs/linereader.c (lr_token): Take extra parameters + verbose and pass it to get_string. + (get_string): Take extra parameters verbose. + * locale/programs/charmap.c (parse_charmap): Take extra parameters + verbose and be_quiet. Change all callers of lr_token and + parse_charmap. + * locale/programs/charmap.h: Likewise. * locale/programs/ld-address.c: Likewise. * locale/programs/ld-collate.c: Likewise. * locale/programs/ld-ctype.c: Likewise. @@ -10195,3635 +6844,3255 @@ * locale/programs/linereader.h: Likewise. * locale/programs/localedef.c: Likewise. * locale/programs/locfile.c: Likewise. + * locale/programs/locfile.h: Likewise. * locale/programs/repertoire.c: Likewise. -2002-02-05 Ulrich Drepper <drepper@redhat.com> - - * elf/rtld.c (_dl_start_final): Determine load address to locate - ehdr with GL(dl_rtld_map).l_map_start. - - * po/ca.po: Update from translation team. - - * elf/rtld.c (dl_main): Read PT_TLS entry of the executable. - * elf/dl-load.c (_dl_map_object_from_fd): Handle PT_TLS program - header entry. - * sysdeps/generic/ldsodefs.h (struct rtld_global): Add - _dl_tls_module_cnt. - * elf/dl-support.c: Define _dl_initimage_list and _dl_tls_module_cnt. - -2002-02-04 Ulrich Drepper <drepper@redhat.com> - - * elf/rtld.c (_dl_start): Fill TLS values in link map for rtld. - * include/link.h (struct link_map): Add various members for TLS - information. - * sysdeps/generic/ldsodefs.h (struct rtld_global): Remove - _rtld_tlsoffset, add _dl_initimage_list. - * sysdeps/i386/dl-lookupcfg.h: New file. - * sysdeps/i386/dl-machine.h (elf_machine_rel): Implement missing - TLS relocation. When using TLS we now use RESOLVE_MAP. - (elf_machine_rela): Use RESOLVE_MAP instead of RESOLVE_MAP if TLS - is used. - - * sysdeps/generic/dl-cache.c (_dl_cache_libcmp): Mark as possibly - unused. - - * elf/rtld.c (_dl_start_final): Allocate TLS and initialize - thread-pointer as soon as possible. - * sysdeps/generic/ldsodefs.h: Include <tls.h>. Define first TLS - elements in rtld_global. - * sysdeps/generic/tls.h: New file. - * elf/Makefile (distribute): Add tls.h. - * sysdeps/i386/dl-machine.h (elf_machine_rel): Add support for TLS - relocations. Not complete yet. - - * resolv/resolv.h: Allow user to define __need_res_state and only - define __res_start structure then. - * include/resolv.h: Only declare functions if _RESOLV_H_ is defined. - - * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Move - dl_cpuclock_offset initialization to _dl_start_final. - (_dl_show_auxv): Avoid unnecessary sign extension. - * elf/rtld.c (_dl_start_final): Initialize dl_cpuclock_offset. - -2002-02-03 Ulrich Drepper <drepper@redhat.com> - - * config.h.in: Add HAVE_TLS_SUPPORT. - * sysdeps/i386/elf/configure.in: New file. - -2002-02-03 Andreas Schwab <schwab@suse.de> - - * sysdeps/posix/readv.c: Use ssize_t for bytes_read. - * sysdeps/posix/writev.c: Use ssize_t for bytes_written. Fix comment. - -2002-02-03 Thorsten Kukuk <kukuk@suse.de> - - * sysdeps/posix/writev.c: Check for ssize_t overflow, don't use - alloca if the memory reqirements are too high. - -2002-02-03 Ulrich Drepper <drepper@redhat.com> - - * elf/dl-load.c (decompose_rpath): Avoid using strstr. - * elf/dl-minimal.c (_strerror_r): Use _itoa instead of _itoa_word since - the former is available anyway and speed isn't important here. - * elf/dl-misc.c (_dl_debug_vdprintf): Likewise. - * elf/dl-version.c (match_symbol): Likewise. - (_dl_check_map_versions): Likewise. - * elf/rtld.c (process_envvars): Likewise. - (print_statistics): Likewise. - * sysdeps/generic/dl-sysdep.c (_dl_show_auxv): Likewise. - * elf/dl-minimal.c (_itoa): Always define it. Make it work for all - bases. Add assert to catch uses of unimplemented features. - (__strsep): Add assert to catch uses of unimplemented features. - * elf/dl-object.c (_dl_new_object): Don't use rawmemchr. Use strchr - and avoid inline optimization. - * elf/rtld.c (process_envvars): Likewise. - * elf/dl-open.c: Don't include <stdio-common/_itoa.h>. - * elf/dl-profile.c (_dl_start_profile): Help compiler to avoid ffs. - * elf/rtld.c (dl_main): Avoid strsep inline optimization. - -2002-02-02 Ulrich Drepper <drepper@redhat.com> - - * stdio-common/_itoa.h: Minor simplifications of the code. - * stdio-common/_itoa.c: Likewise. +2001-02-03 Ulrich Drepper <drepper@redhat.com> - * elf/dl-reloc.c (_dl_relocate_object): Use _dl_debug_printf - instead of _dl_printf for debugging info output. + * iconv/iconv_prog.c (main): If output file name is "-" write to + stdout. + (main): If -f or -t argument is missing use charset of the current + locale. - * manual/examples/mkfsock.c (make_named_socket): Make sure name is - always NUL-terminated. Patch by Chris D. Sloan <cds@cs.hmc.edu>. +2001-02-03 Andreas Jaeger <aj@suse.de> -2002-02-01 H.J. Lu <hjl@gnu.org> + * sysdeps/i386/elf/start.S (_start): Align stack to 16-byte + boundary for SSE/SSE-2 alignment. - * sysdeps/mips/atomicity.h (exchange_and_add): Use branch likely. - (atomic_add): Likewise. - (compare_and_swap): Return 0 only when failed to compare. Use - branch likely. + * posix/Makefile ($(objpfx)annexc.out): Also pass sysincludes to + annexc. - * sysdeps/unix/sysv/linux/mips/sys/tas.h (_test_and_set): Use - branch likely. +2001-02-03 Ulrich Drepper <drepper@redhat.com> -2002-02-03 kaz Kojima <kkojima@rr.iij4u.or.jp> + * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: File was using crlf. + Remove comma at end of enum. - * sysdeps/sh/dl-machine.h (elf_machine_rela): Fix a typo. + * elf/dl-init.c: Add a few __builtin_expect. -2002-02-02 Ulrich Drepper <drepper@redhat.com> + * hesiod/hesiod.c: Remove unnecessary code. Remove all uses of strcat. - * elf/dl-minimal.c (__strsep): New minimal implementation. +2001-02-02 Ulrich Drepper <drepper@redhat.com> -2002-02-02 Paul Eggert <eggert@twinsun.com> + * hesiod/hesiod.c (hesiod_resolve): Also search HS records if + errno is ECONNREFUSED. - * src/mktime.c [defined DEBUG && STDC_HEADERS]: Include <string.h>. - (__mktime_internal): If no tm_isdst is requested, prefer solutions - with tm_isdst > 0 when the requested time falls within a - spring-forward gap [PR libc/2894]. + * posix/Makefile: Define MBS_SUPPORT for regex.c. + * posix/regex.c: Implement multibyte character handling. + Patch by Isamu Hasegawa <isamu@yamato.ibm.co.jp>. -2002-02-03 Andreas Schwab <schwab@suse.de> + * string/tst-svc.input: Add two more test cases. + * string/tst-svc.expect: Modify to reflect new test cases. - * stdio-common/tst-rndseek.c: Increase timeout. +2001-02-01 Jakub Jelinek <jakub@redhat.com> -2002-02-02 Ulrich Drepper <drepper@redhat.com> + * sysdeps/posix/getaddrinfo.c (gaih_local, gaih_inet): Replace all + tp->name tests with tp->name[0] tests. - Change ld.so to not use functions which are exported. One cannot - interpose them anyway. Use INT() to mark uses, INTDEF() to mark - definitions. - * include/libc-symbols.h: Define INT and INTDEF. - * sysdeps/generic/ldsodefs.h: Declare _dl_debug_printf_internal, - _dl_signal_error_internal, _dl_map_object_internal, - _dl_map_object_deps_internal, _dl_lookup_symbol_internal, - _dl_lookup_versioned_symbol_internal, - _dl_relocate_object_internal, _dl_debug_state_internal, - _dl_start_profile_internal, and _dl_unload_cache_internal. - * include/dlfcn.h: Declare _dl_catch_error_internal. - * elf/rtld.c: Use INT for calls to any of the *_internal functions - above. Add INTDEF to function definitions. - * elf/dl-debug.c: Likewise. - * elf/dl-deps.c: Likewise. - * elf/dl-dst.h: 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-misc.c: Likewise. - * elf/dl-open.c: Likewise. - * elf/dl-profile.c: Likewise. - * elf/dl-reloc.c: Likewise. - * elf/dl-runtime.c: Likewise. - * elf/dl-version.c: Likewise. - * elf/do-lookup.h: Likewise. - * sysdeps/generic/dl-cache.c: Likewise. - * sysdeps/generic/dl-sysdep.c: Likewise. - * sysdeps/alpha/dl-machine.h (RTLD_START): Call _dl_init_internal - instead of _dl_init. - * sysdeps/arm/dl-machine.h: Likewise. - * sysdeps/cris/dl-machine.h: Likewise. - * sysdeps/hppa/dl-machine.h: Likewise. - * sysdeps/i386/dl-machine.h: Likewise. - * sysdeps/ia64/dl-machine.h: Likewise. - * sysdeps/m68k/dl-machine.h: Likewise. - * sysdeps/mips/dl-machine.h: Likewise. - * sysdeps/mips/mips64/dl-machine.h: Likewise. - * sysdeps/s390/s390-32/dl-machine.h: Likewise. - * sysdeps/s390/s390-64/dl-machine.h: Likewise. - * sysdeps/sh/dl-machine.h: Likewise. - * sysdeps/sparc/sparc32/dl-machine.h: Likewise. - * sysdeps/sparc/sparc64/dl-machine.h: Likewise. - * sysdeps/x86_64/dl-machine.h: Likewise. - * sysdeps/powerpc/dl-start.S (_dl_start_user): Likewise. +2001-01-29 Ben Collins <bcollins@debian.org> - * elf/Versions: Don't export _dl_check_all_versions, _dl_sysdep_start, - and _dl_debug_initialize. + * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r): + Fix check for name == NULL. - * elf/dl-object.c (_dl_new_object): Avoid using strrchr. We have - more information. - * elf/rtld.c (dl_main): Avoid strrchr. - * sysdeps/unix/sysv/linux/dl-origin.c (_dl_get_origin): Use the - result of readlink. Search from the back for '/'. +2001-02-01 Ulrich Drepper <drepper@redhat.com> - * elf/dl-profile.c (_dl_start_profile): Help the compiler to avoid - strncpy if possible. + * elf/Makefile: Add rules to build and run initfirst test. + * elf/initfirst.c: New file. + * elf/firstobj.c: New file. - * sysdeps/generic/dl-environ.c (unsetenv): Optimize. Don't use - strncmp. - * elf/dl-load.c (is_dst): Optimize. Don't call strncmp twice. - * elf/rtld.c (process_dl_debug): Optimize. Avoid calls to strncmp, - strspn, and strcspn. - (process_envvars): Don't use strcspn. + * Makerules (build-shlib): Add $(extra-B-$(@F:lib%.so=%).so). + * configure.in: Test for -z initfirst linker option. + * config.make.in: Add have-z-initfirst. + * elf/dl-init.c (_dl_init): Split out actual initialization code in + new function call_init. If _dl_initfirst is non-NULL initialize first. + * elf/dl-load.c (_dl_map_from_fd): If DF_1_INITFIRST flag is set + remember object in _dl_initfirst. + * elf/soinit.c: Remove special support for calling + __pthread_initialize_minimal. - * elf/dl-load.c (_dl_dst_count): Fix possible endless loop. - (_dl_dst_substitute): Likewise. + * conform/conformtest.pl: Add missing $prepend in type test. -2002-02-01 Ulrich Drepper <drepper@redhat.com> - - * elf/do-rel.h (elf_dynamic_do_rel): Help the compiler recognize - code which is never used when relocating ld.so itself. - - * elf/dynamic-link.h (elf_get_dynamic_info): Optimize a bit for - starting ld.so itself. Move l_addr variable initialization closer - to use. - (_ELF_DYNAMIC_DO_RELOC): Help the compiler optimize a bit. - -2002-02-01 Jakub Jelinek <jakub@redhat.com> - - * Versions.def (libc): Add GLIBC_PRIVATE. - (libdb, libnss_db, libdb1): Remove. - (libnss_compat, libnss_dns, libnss_files, libnss_hesiod, libnss_nis, - libnss_nisplus): Move all symbols to GLIBC_PRIVATE. - (libpthread): Add GLIBC_PRIVATE. - (libresolv): Likewise, remove GLIBC_2.1. - (ld): Add GLIBC_PRIVATE, remove GLIBC_2.1.1, GLIBC_2.2, GLIBC_2.2.1, - GLIBC_2.2.3, GLIBC_2.3. - * catgets/Versions (__open_catalog): Move to GLIBC_PRIVATE. - * elf/Versions (_dl_open, _dl_close, _dl_addr, _dl_init_first, - _dl_sym, _dl_vsym): Likewise. - (__libc_enable_secure, __libc_stack_end, _dl_argv, _dl_catch_error, - _dl_check_all_versions, _dl_check_map_versions, _dl_debug_initialize, - _dl_debug_printf, _dl_debug_state, _dl_dst_count, _dl_dst_substitute, - _dl_init, _dl_lookup_symbol, _dl_lookup_symbol_skip, - _dl_lookup_versioned_symbol, _dl_lookup_versioned_symbol_skip, - _dl_map_object, _dl_map_object_deps, _dl_out_of_memory, - _dl_relocate_object, _dl_signal_error, _dl_start_profile, - _dl_starting_up, _dl_sysdep_start, _dl_unload_cache, _rtld_global): - Likewise. - (_dl_object_relocation_scope): Remove. - * hesiod/Versions: Move all symbols to GLIBC_PRIVATE. - * iconv/Versions (__gconv_alias_db, __gconv_modules_db, - __gconv_cache): Move to GLIBC_PRIVATE. - * inet/Versions (__internal_endnetgrent, __internal_getnetgrent_r, - __internal_setnetgrent): Likewise. - * io/Versions (__libc_open, __libc_close, __libc_read, __libc_write, - __libc_lseek, __libc_fcntl, __libc_open64, __libc_lseek64): Likewise. - * locale/Versions (__collate_element_hash, __collate_element_strings, - __collate_symbol_classes, __collate_symbol_hash, - __collate_symbol_strings, _nl_current_LC_COLLATE, - _nl_current_LC_CTYPE): Likewise. - * misc/Versions (__libc_fsync, __libc_msync): Likewise. - * nis/Versions (libnss_compat): Move all symbols to GLIBC_PRIVATE. - (libnss_nis, libnss_nisplus): Likewise. - * nss/Versions (_nss_files_parse_grent, _nss_files_parse_pwent, - _nss_files_parse_spent): Move to GLIBC_PRIVATE. - (libnss_files): Move all symbols to GLIBC_PRIVATE. - * posix/Versions (__libc_wait, __libc_waitpid, __libc_pause, - __libc_nanosleep, __libc_fork, __libc_pread, __libc_pread64, - __libc_pwrite, __libc_pwrite64): Move to GLIBC_PRIVATE. - * resolv/Versions (__gai_sigqueue, __ns_name_unpack, __ns_name_ntop, - __ns_get16, __ns_samename): Likewise. - (libnss_dns): Move all symbols to GLIBC_PRIVATE. - * setjmp/Versions (__libc_longjmp, __libc_siglongjmp): Move to - GLIBC_PRIVATE. - * socket/Versions (__libc_accept, __libc_send, __libc_recvfrom, - __libc_recvmsg, __libc_sendmsg, __libc_recv, __libc_sendto, - __libc_connect): Likewise. - * stdio-common/Versions (_itoa_lower_digits, _itoa_upper_digits): - Likewise. - * stdlib/Versions (__libc_system): Likewise. - * sunrpc/Versions (__rpc_thread_destroy): Likewise. - * sysdeps/hppa/Versions: Move all symbols to GLIBC_PRIVATE. - * sysdeps/ia64/fpu/Versions: Likewise. - * sysdeps/ia64/Versions: Likewise. - * sysdeps/unix/sysv/linux/ia64/Versions: Likewise. - * sysdeps/unix/sysv/linux/i386/Versions (__modify_ldt): Move - to GLIBC_PRIVATE. - * sysdeps/unix/sysv/linux/x86_64/Versions (__modify_ldt): Likewise. - * sysdeps/unix/sysv/linux/Versions (__syscall_rt_sigqueueinfo, - __libc_sigaction): Likewise. - * termios/Versions (__libc_tcdrain): Likewise. +2001-01-31 Ulrich Drepper <drepper@redhat.com> - * misc/sys/cdefs (__attribute_noinline__): Define. - * elf/dl-lookup.c (_dl_do_lookup, _dl_do_lookup_versioned): Add - __attribute_noinline__. + * elf/elf.h (SHT_CHECKSUM): New definition. - * elf/Makefile (rtld-routines): Add dl-xstat64, dl-fxstat64. - * elf/dl-xstat64.c: New file. - * elf/dl-fxstat64.c: New file. - * sysdeps/unix/sysv/linux/fxstat64.c: If RTLD_STAT64 is defined, - don't export __fxstat64 at multiple versions. - * sysdeps/unix/sysv/linux/lxstat64.c: Similarly. - * sysdeps/unix/sysv/linux/xstat64.c: Similarly. + * posix/fnmatch_loop.c: Remove incorrect reverse condition in + [. .] matching. Patch by Isamu Hasegawa <isamu@yamato.ibm.com>. + * posix/tst-fnmatch.input: Add tests for [. .] in locales. -2002-01-18 Isamu Hasegawa <isamu@yamato.ibm.com> +2001-01-31 Mark Kettenis <kettenis@gnu.org> - * locale/program/ld-collate.c (collate_finish): Assign a wide - char collation sequence value to multi character collating - elements, and avoid over writing by non-character elements. + * misc/sys/select.h: Include <bits/time.h> instead of <sys/time.h> + to get definition of `struct timeval'. -2002-02-01 Ulrich Drepper <drepper@redhat.com> +2001-01-31 Ulrich Drepper <drepper@redhat.com> - * elf/Makefile (distribute): Add dl-procinfo.c. - * sysdeps/unix/sysv/linux/i386/Dist: Remove dl-procinfo.c. - * sysdeps/unix/sysv/linux/arm/Dist: Likewise. + * posix/tst-fnmatch.input: Add test cases for de_DE.UTF-8 locale. + * posix/fnmatch_loop.c: Fix handling of [= =] for multibyte charsets. -2002-02-01 Jakub Jelinek <jakub@redhat.com> +2001-01-30 Ulrich Drepper <drepper@redhat.com> - * sysdeps/generic/ldsodefs.h (_dl_load_lock): Remove duplicate - definition. - * sysdeps/ia64/hp-timing.h: Move _dl_hp_timing_overhead in - _rtld_global struct. - * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise. - * sysdeps/sparc/sparc64/hp-timing.c: Likewise. - * sysdeps/sparc/sparc64/hp-timing.h: Likewise. - * sysdeps/sparc/sparc64/Makefile: Make hp-timing static only. - * sysdeps/unix/sysv/aix/init-first.c (_dl_fpu_control, - _dl_fpu_control_set): Remove unused externs. - * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.c: New file. - * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.c: New file. - * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h: Move procinfo - related variables in _rtld_global struct. - * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h: Likewise. - * sysdeps/unix/sysv/linux/init-first.c (_dl_fpu_control_set): Remove - unused extern. + * iconv/gconv_open.c (__gconv_open): Set conv_flags if IGNORE is + seen, not flags. -2002-02-01 Ulrich Drepper <drepper@redhat.com> + * nis/nis_findserv.c: Include <time.h>. - * sysdeps/generic/dl-procinfo.c: New file. +2001-01-30 Yong Li <yong.li@asu.edu> -2002-02-01 Andreas Schwab <schwab@suse.de> + * iconv/iconv_prog.c (main): Correct error handling method name. - * sysdeps/m68k/dl-machine.h: Don't use multi-line string literals. +2001-01-29 Ben Collins <bcollins@debian.org> -2002-02-01 Ulrich Drepper <drepper@redhat.com> + * sysdeps/sparc/fpu/fraiseexcpt.c: Include <float.h>. + * sysdeps/hppa/fpu/fraiseexcpt.c: Likewise. + * sysdeps/m68k/fpu/fraiseexcpt.c: Likewise. + * sysdeps/s390/fpu/fraiseexcpt.c: Likewise. - * elf/rtld.c (_dl_start): Mark as internal_function. - * sysdeps/i386/dl-machine.h (RTLD_START): Pass parameter for _dl_start - in register. - (elf_machine_rel): Cleanup and minor optimization for RTLD_BOOTSTRAP. - General pretty printing. +2001-01-30 Ulrich Drepper <drepper@redhat.com> -2002-01-31 Ulrich Drepper <drepper@redhat.com> + * locale/programs/ld-measurement.c (measurement_finish): Fix a typo. + Patch by Marko Myllynen <myllynen@lut.fi>. - * elf/dl-minimal.c: Define _itoa for 32-bit machines with HP timing. - * elf/dl-reloc.c: Pretty printing. - * sysdeps/generic/ldsodefs.h: Move _dl_hp_timing_overhead and - procinfo-related variables in rtld_global struct. - * elf/dl-support.c: Likewise. - * elf/rtld.c: Likewise. - * sysdeps/i386/i686/Makefile: Likewise. - * sysdeps/i386/i686/hp-timing.c: Likewise. - * sysdeps/i386/i686/hp-timing.h: Likewise. - * sysdeps/ia64/Makefile: Likewise. - * sysdeps/ia64/hp-timing.c: Likewise. - * sysdeps/sparc/sparc32/sparcv9/Makefile: Likewise. - * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Likewise. - * sysdeps/unix/sysv/linux/arm/dl-procinfo.c: Likewise. - * sysdeps/unix/sysv/linux/arm/dl-procinfo.h: Likewise. - * sysdeps/unix/sysv/linux/i386/Makefile: Likewise. - * sysdeps/unix/sysv/linux/i386/dl-procinfo.c: Likewise. - * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise. - * sysdeps/x86_64/Makefile: Likewise. - - * sysdeps/generic/ldsodefs.h: Add _dl_load_lock, _dl_lazy, - _dl_dynamic_weak, _dl_fpu_control, _dl_cpuclock_offset, and - _dl_debug_fd to rtld_global. - * elf/Versions: Likewise. - * elf/dl-close.c: Likewise. - * elf/dl-iteratephdr.c: Likewise. - * elf/dl-lookup.c: Likewise. - * elf/dl-misc.c: Likewise. - * elf/dl-open.c: Likewise. - * elf/dl-support.c: Likewise. - * elf/do-lookup.h: Likewise. - * elf/rtld.c: Likewise. - * sysdeps/generic/dl-cache.c: Likewise. - * sysdeps/generic/dl-sysdep.c: Likewise. - * sysdeps/ia64/Versions: Likewise. - * sysdeps/unix/clock_gettime.c: Likewise. - * sysdeps/unix/clock_settime.c: Likewise. - * sysdeps/unix/sysv/linux/init-first.c: Likewise. - * sysdeps/sparc/Versions: Removed. - * sysdeps/i386/i686/Versions : Removed. - * sysdeps/x86_64/Versions: Removed. - * configure.in: Define HAVE_PROTECTED if .protected is available. - * config.h.in: Add entry for HAVE_PROTECTED. - -2002-01-31 Jakub Jelinek <jakub@redhat.com. - - * sysdeps/alpha/dl-machine.h: Move global variables for SHARED - code in struct _rtld_global. Export this struct, remove all - exports for the signal variables. - * sysdeps/arm/dl-machine: Likewise. - * sysdeps/generic/dl-origin: Likewise. - * sysdeps/generic/dl-sysdep: Likewise. - * sysdeps/generic/dl-cache: Likewise. - * sysdeps/hppa/dl-fptr: Likewise. - * sysdeps/hppa/dl-machine: Likewise. - * sysdeps/cris/dl-machine: Likewise. - * sysdeps/i386/dl-machine: Likewise. - * sysdeps/ia64/dl-machine: Likewise. - * sysdeps/m68k/dl-machine: Likewise. - * sysdeps/mach/hurd/dl-sysdep: Likewise. - * sysdeps/mips/mips64/dl-machine: Likewise. - * sysdeps/mips/dl-machine: Likewise. - * sysdeps/powerpc/elf/libc-start: Likewise. - * sysdeps/powerpc/dl-machine: Likewise. - * sysdeps/powerpc/dl-start: Likewise. - * sysdeps/sparc/sparc32/dl-machine: Likewise. - * sysdeps/sparc/sparc64/dl-machine: Likewise. - * sysdeps/sh/dl-machine: Likewise. - * sysdeps/s390/s390-32/dl-machine: Likewise. - * sysdeps/s390/s390-64/dl-machine: Likewise. - * sysdeps/unix/sysv/aix/libc-start: Likewise. - * sysdeps/unix/sysv/aix/start-libc: Likewise. - * sysdeps/unix/sysv/linux/ia64/dl-static: Likewise. - * sysdeps/unix/sysv/linux/m68k/getpagesize: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize: Likewise. - * sysdeps/x86_64/dl-machine: Likewise. - -2002-01-31 Ulrich Drepper <drepper@redhat.com> - - * sysdeps/posix/readv.c: Don't use alloca if the memory requirements - are too high. - -2002-01-31 Andreas Schwab <schwab@suse.de> - - * sysdeps/posix/readv.c: Check for ssize_t overflow. - -2002-01-31 Andreas Schwab <schwab@suse.de> - - * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Fix leftover - reference to _dl_pagesize. - -2002-01-30 Ulrich Drepper <drepper@redhat.com> - - * Versions.def [ld]: Add GLIBC_2.3. - * elf/dl-addr.c: Move global variables for SHARED code in struct - _rtld_global. Export this struct, remove all exports for the - signal variables. - * elf/dl-close.c: Likewise. - * elf/dl-conflict.c: Likewise. - * elf/dl-debug.c: Likewise. - * elf/dl-deps.c: Likewise. - * elf/dl-dst.h: Likewise. - * elf/dl-error.c: Likewise. - * elf/dl-fini.c: Likewise. - * elf/dl-init.c: Likewise. - * elf/dl-iteratephdr.c: Likewise. - * elf/dl-libc.c: Likewise. - * elf/dl-load.c: Likewise. - * elf/dl-lookup.c: Likewise. - * elf/dl-minimal.c: Likewise. - * elf/dl-object.c: Likewise. - * elf/dl-open.c: Likewise. - * elf/dl-profile.c: Likewise. - * elf/dl-profstub.c: Likewise. - * elf/dl-reloc.c: Likewise. - * elf/dl-runtime.c: Likewise. - * elf/dl-support.c: Likewise. - * elf/dl-sym.c: Likewise. - * elf/dl-version.c: Likewise. - * elf/do-lookup.h: Likewise. - * elf/do-rel.h: Likewise. - * elf/dynamic-link.h: Likewise. - * elf/rtld.c: Likewise. - * sysdeps/generic/dl-cache.c: Likewise. - * sysdeps/generic/dl-sysdep.c: Likewise. - * sysdeps/generic/ldsodefs.h: Likewise. - * sysdeps/generic/libc-start.c: Likewise. - * sysdeps/i386/dl-machine.h: Likewise. - * sysdeps/ia64/dl-fptr.c: Likewise. - * sysdeps/ia64/dl-machine.h: Likewise. - * sysdeps/unix/sysv/linux/dl-librecon.h: Likewise. - * sysdeps/unix/sysv/linux/dl-origin.c: Likewise. - * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise. - * sysdeps/unix/sysv/linux/getclktck.c: Likewise. - * sysdeps/unix/sysv/linux/getpagesize.c: Likewise. - * sysdeps/unix/sysv/linux/i386/dl-librecon.h: Likewise. - * sysdeps/unix/sysv/linux/ia64/dl-static.c: Likewise. - * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Likewise. + * string/bits/string2.h (__strpbrk_c2): Correct parameter types + (int instead of char). + (__strpbrk_c3): Likewise. + Reported by GOTO Masanori <gotom@debian.or.jp>. -2002-01-29 Ulrich Drepper <drepper@redhat.com> + * sysdeps/generic/bits/sockaddr.h: Remove SA_LEN macro. + * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Likewise. + * include/sys/socket.h: Add SA_LEN here for internal use. + Reported by Arkadiusz Miskiewicz <misiek@pld.ORG.PL>. - * sysdeps/ia64/dl-lookupcfg.h (DL_AUTO_FUNCTION_ADDRESS): Add cast - to avoid warning - (DL_STATIC_FUNCTION_ADDRESS): Likewise. +2001-01-29 Ulrich Drepper <drepper@redhat.com> - * elf/dl-lookup.c: Only define or handle _dl_num_relocations for the - SHARED version. - * elf/dl-reloc.c: Likewise for _dl_num_cache_relocations. + * malloc/Makefile: Don't build memusagestat if cross-compiling. - * elf/rtld.c (_dl_start): Use __builtin_memset if available. + * sysdeps/generic/dl-sysdep.c (set_seen): Fix typo. -2002-01-29 Ben Collins <bcollins@debian.org> + * math/libm-test.inc (rint_test): Add a few more tests for round + to even rounding. - * string/bits/string2.h (__mempcpy): Protect size arg for - addition when using __builtin_memcpy. +2001-01-28 Ulrich Drepper <drepper@redhat.com> -2002-01-29 Ulrich Drepper <drepper@redhat.com> + * conform/data/pthread.h-data: Correct return type of pthread_exit. - * stdlib/Makefile (tests): Add tst-qsort. - * stdlib/tst-qsort.c: New file. Written by Paul Eggert. + * conform/conformtest.pl: Add -fno-builtin to CFLAGS. - * manual/signal.texi (Process Signal Mask): Document that - pthread_sigmask, not sigprocmask, must be used in MT programs. - Patch by Bertold Kolics <Bertold.Kolics@Sun.COM>. + * conform/data/stdlib.h-data: Add _Exit. - * misc/hsearch_r.c (hsearch_r): Don't insert anything if entry is - found. - * misc/Makefile (tests): Add tst-hsearch. - * misc/tst-hsearch.c: New file. + * inet/arpa/inet.h: Don't include <sys/types.h>. Define socklen_t + if not already happened. + * inet/netinet/in.h: Don't include <sys/types.h>, use <bits/types.h>. + Don't include <limits.h> and <bits/sockaddr.h>. -2002-01-18 Wolfram Gloger <wg@malloc.de> + * conform/data/netinet/in.h-data: Allow all of <inttypes.h>. - * malloc/malloc.c: Rewrite, adapted from Doug Lea's malloc-2.7.0.c. - * malloc/malloc.h: Likewise. - * malloc/thread-m.h: Spinlock definitions for x86/x86_64. - * malloc/arena.c: New file. - * malloc/hooks.c: New file. - * malloc/tst-mallocstate.c: New file. - * malloc/Makefile: Add new testcase tst-mallocstate. - Add arena.c and hooks.c to distribute. Fix commented CPPFLAGS. + * conform/data/spawn.h-data: Allow all of <sched.h>. -2002-01-28 Ulrich Drepper <drepper@redhat.com> + * sysdeps/ia64/fpu/fraiseexcpt.c: Include <float.h>. Removed + unused variable. - * stdlib/msort.c: Remove last patch. The optimization violates the - same rule which qsort.c had problems with. + * sunrpc/xdr_rec.c (xdrrec_getpos): Add cast to long to avoid warning. + * sunrpc/xdr_sizeof.c (x_inline): Likewise. -2002-01-27 Paul Eggert <eggert@twinsun.com> + * sysdeps/ieee754/ldbl-96/s_frexpl.c: Include <float.h>. - * stdlib/qsort.c (_quicksort): Do not apply the comparison function - to a pivot element that lies outside the array to be sorted, as - ISO C99 requires that the comparison function be called only with - addresses of array elements [PR libc/2880]. + * conform/conformtest.pl: Define $mustprepend{"stdio.h"}. + * libio/stdio.h: Define va_list correctly. -2002-01-28 Ulrich Drepper <drepper@redhat.com> + * conform/data/pthread.h-data: Make priority protocol related + functions optional. Fix typos. - * elf/dl-load.c (_dl_map_object): Remove incorrect optimization - for SHARED code. Reported by Ben Collins <bcollins@debian.org>. + * posix/sched.h: Define sched_priority as __sched_priority. + * sysdeps/generic/bits/sched.h (struct sched_param): Rename element + to __sched_priority. + * sysdeps/unix/sysv/linux/bits/sched.h: Likewise. - * timezone/asia: Update from tzdata2002b. - * timezone/australasia: Likewise. - * timezone/backward: Likewise. - * timezone/europe: Likewise. - * timezone/leapseconds: Likewise. - * timezone/iso3166.tab: Likewise. - * timezone/zone.tab: Likewise. +2001-01-27 Ulrich Drepper <drepper@redhat.com> + + * sysdeps/generic/clock_getcpuclockid.c: Include <time.h> instead + of <sys/time.h>. + + * sysdeps/unix/stime.c: Include <stddef.h> for NULL. + * sysdeps/unix/time.c: Likewise. + + * conform/data/time.h-data: CLK_TCK is not in XPG6. Fix tzname entry. + * sysdeps/mach/hurd/bits/time.h: Don't define CLK_TCK for XPG6. + * sysdeps/mach/hurd/i386/bits/time.h: Likewise. + * sysdeps/unix/sysv/linux/bits/time.h: Likewise. + * sysdeps/unix/sysv/linux/alpha/bits/time.h: Likewise. + * sysdeps/unix/sysv/linux/i386/bits/time.h: Likewise. + * sysdeps/unix/sysv/linux/ia64/bits/time.h: Likewise. + * time/time.h: Likewise. + + * conform/conformtest.pl (@headers): Add complex.h and tgmath.h. + * conform/data/complex.h-data: New file. + * conform/data/tgmath.h-data: New file. -2002-01-23 Richard Henderson <rth@redhat.com> + * conform/data/wchar.h-data: Add missing functions. - * sysdeps/alpha/Makefile (pic-ccflag): New variable. + * sysdeps/gnu/bits/utmpx.h: Define RUN_LVL only if __USE_GNU. -2002-01-28 Ulrich Drepper <drepper@redhat.com> + * conform/data/termios.h-data: Add missing const in tcsetattr() + prototype. - * string/strxfrm.c: Allocate one more byte for rulearr and clear - this element [PR libc/2855]. + * posix/sys/wait.h: Include <signal.h> and <sys/resource.h>. + Don't define pid_t here. - * string/strcoll.c: Handle zero-length arguments specially - [PR libc/2856]. + * conform/data/sys/utsname.h-data: Don't provide fixed array sizes. -2002-01-23 Jakub Jelinek <jakub@redhat.com> + * conform/data/sys/time.h-data: Allow sys/select.h. + * conform/data/sys/un.h-data: Fix typo. + * time/sys/time.h: Don't include all of <time.h>, just struct timeval. + * sysdeps/posix/clock_getres.c: Include <time.h> instead of + <sys/time.h>. + * sysdeps/unix/clock_nanosleep.c: Likewise. + * sysdeps/unix/i386/clock_getcpuclockid.c: Likewise. + * sysdeps/unix/i386/i586/clock_getres.c: Likewise. + * sysdeps/unix/clock_gettime.c: Also include <time.h>. + * sysdeps/unix/clock_settime.c: Likewise. - * string/bits/string2.h (__mempcpy): For gcc 3.0+, don't use - __mempcpy_small but instead use __builtin_memcpy ( , , n) + n for - short lengths and constant src. - (strcpy): Don't optimize for gcc 3.0+. - (__stpcpy): For gcc 3.0+, don't use - __stpcpy_small but instead use __builtin_strcpy (, src) + strlen (src) - for short string literal src. + * sysdeps/generic/pselect.c: Include <stddef.h> for NULL. + * login/getutent.c: Likewise. + * login/getutid.c: Likewise. + * login/getutline.c: Likewise. + + * socket/sys/un.h: Define SUN_LEN only if __USE_MISC. + + * sysdeps/unix/sysv/linux/bits/statvfs.h: Change type of f_fsid field + to unsigned long. Add __f_unused. Define _STATVFSBUF_F_UNUSED. + * sysdeps/unix/sysv/linux/internal_statvfs.c: Adjust initialization of + f_fsid field after change in struct statvfs. + * sysdeps/unix/sysv/linux/alpha/bits/statvfs.h: New file. + * sysdeps/unix/sysv/linux/ia64/bits/statvfs.h: New file. + * sysdeps/unix/sysv/linux/sparc/sparc64/bits/statvfs.h: New file. + + * conform/data/sys/stat.h-data: Remove isfdtype. Use + optional-macro. + + * conform/data/sys/socket.h-data: Fix typos. Correct getsockopt, + recvfrom, send, and socketpair prototypes. Add allow lines. + * socket/sys/socket.h: Include <sys/uio.h>. + Don't use fancy __SOCKADDR_ARG definition unless __USE_GNU. + Fix type of second parameter of listen. + Don't declare isfdtype unless __USE_MISC. + * sysdeps/generic/listen.c: Fix type of second parameter of listen. + * sysdeps/mach/hurd/listen.c: Likewise. + * sysdeps/generic/bits/socket.h (struct sockaddr_storage): Define + ss_family and __ss_family. + * sysdeps/unix/sysv/aix/bits/socket.h: Likewise. + * sysdeps/unix/sysv/linux/bits/socket.h: Likewise. + (struct msghdr): Change type of msg_iovlen to int and type of + msg_controllen to socklen_t. + * sysdeps/unix/sysv/linux/alpha/bits/socket.h: New file. + * sysdeps/unix/sysv/linux/ia64/bits/socket.h: New file. + * sysdeps/unix/sysv/linux/sparc/sparc64/bits/socket.h: New file. + * inet/rcmd.c (rcmd_af): __ss_family is now ss_family. + (rresvport_af): Likewise. + + * conform/data/sys/shm.h-data: SHMLBA is not required to by a constant. + * conform/conformtest.pl: Implement handling of symbol. + + * signal/signal.h: Fix handling of __need_* symbols. + * misc/sys/select.c: Define fd_set here. Remove __fd_set. Define + fd_mask only if __USE_MISC. Declare pselect for __USE_XOPEN2K. + * include/sys/select.h: Use fd_set not __fd_set. + * sysdeps/generic/bits/select.h: Likewise. + * sysdeps/i386/bits/select.h: Likewise. + * sysdeps/generic/bits/types.h: Don't define __fd_mask, __NFDBITS, + __FDELT, __FDMASK, and __fd_set here. + * sysdeps/unix/sysv/aix/bits/types.h: Likewise. + * sysdeps/unix/sysv/hpux/bits/types.h: Likewise. + * sysdeps/unix/sysv/linux/bits/types.h: Likewise. + * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise. + * sysdeps/unix/sysv/linux/ia64/bits/types.h: Likewise. + * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise. + * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise. + * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise. + * time/sys/time.h: Define struct timeval before including <time.h> + and <sys/select.h>. + + * conform/data/sys/time.h-data: fd_set is a typedef. + * conform/data/sys/select.h-data: New file. + * conform/data/sys/mman.h-data: Make typed mem stuff optional. + * conform/conformtest.pl (@headers): Add sys/select.h. + (type, optional-type): Unless testing a typedef instantiate object. + Implement optional-function. + + * math/test-misc.c: Include <float.h>. + +2001-01-27 Andreas Jaeger <aj@suse.de> + + * misc/efgcvt_r.c: Include <float.h>. + +2001-01-26 Ulrich Drepper <drepper@redhat.com> + + * conform/data/stdlib.h-data: Account for XPG6 changes. + * stdlib/stdlib.h (__random): Change return value type to long. + (posix_memalign): Cleanup parameter names. + (setenv, unsetenv): Make available for __USE_XOPEN2K. + Change return type of unsetenv to int. + (qecvt, qgcvt, qfcvt): Declare only if __USE_MISC. + * include/stdlib.h: Change return type of unsetenv to int. + Change return type of random to long int. + * sysdeps/generic/setenv.c (unsetenv): Change return type to int. + Return -1 and set errno if parameter is invalid. + * stdlib/random.c (__random): Change return value type to long. + + * conform/data/stdio.h-data: Account for changes in XPG6. + + * conform/data/spawn.h-data: Correct posix_spawnattr_setflags + prototype. -2002-01-23 Jeroen Dobbelaere <jeroen.dobbelaere@acunia.com> + * conform/conformtest.pl: Define $mustprepend{"signal.h"}. + * conform/data/signal.h-data: Fix sigev_notify_function entry. + Fix typo (SIGVALRM -> SIGVTALRM). + * sysdeps/unix/sysv/linux/bits/siginfo.h: Define sigev_notify_attr + with real type. + * sysdeps/unix/sysv/linux/alpha/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. - * sysdeps/unix/sysv/linux/configure.in (libc_cv_gcc_unwind_find_fde): - Set for arm, too. + * conform/conformtest.pl: Implement optional-element. Define + $mustprepend{"sched.h"}. + * conform/data/sched.h-data: Make sporadic scheduler definitions + optional. -2001-01-22 Paul Eggert <eggert@twinsun.com> + * pwd/pwd.h: Don't define getpwent_r for XPG. - * manual/llio.texi (Linked Channels, Cleaning Streams): - Make it clearer that a just-opened input stream might need cleaning. + * io/sys/poll.h: Define nfds_t and use it in poll prototype. + * sysdeps/generic/poll.c: Use nfds_t type in function definition. + * sysdeps/mach/hurd/poll.c: Likewise. + * sysdeps/unix/bsd/poll.c: Likewise. + * sysdeps/unix/sysv/linux/poll.c: Likewise. + * sysdeps/unix/sysv/aix/poll.c: Likewise. + * sysdeps/generic/bits/poll.h: Define NPOLLFILE only if __USE_MISC. + * sysdeps/unix/sysv/linux/bits/poll.h: Likewise. + * sysdeps/unix/sysv/linux/m68k/bits/poll.h: Likewise. + * sysdeps/unix/sysv/linux/mips/bits/poll.h: Likewise. + * sysdeps/unix/sysv/linux/sparc/bits/poll.h: Likewise. + * conform/data/poll.h-data: Fix typo in poll prototype. -2002-01-21 H.J. Lu <hjl@gnu.org> + * sysdeps/gnu/netinet/tcp.h: Define everything but TCP_ macros + only if __USE_MISC. + * conform/data/netinet/tcp.h-data: Reserved prefix TCP_. - * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC): - Don't use label at end of compound statement. + * sysdeps/gnu/net/if.h: Cleanup namespace. Define IF_NAMESIZE. -2002-01-28 Stephen L Moshier <moshier@mediaone.net> + * inet/netinet/in.h: Make IPPROTO_ constants also macros. - * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r): - Remove test for negative integer arg; sin_pi does it correctly. + * conform/conformtest.pl: Implement optional-type. -2002-01-20 Ulrich Drepper <drepper@redhat.com> + * resolv/netdb.h: Include <netinet/in.h> not <sys/socket.h>. Include + <rpc/netdb.h> only if __USE_MISC. Include <stdint.h> instead of + defining uint32_t here. Define IPPORT_RESERVED. + (struct hostent): Type of h_length element is int. + (getnameinfo): Type of flags parameter is unsigned int. + * inet/getnameinfo.c (getnameinfo): flags argument is unsigned. + * conform/data/netdb.h-data: Add many missing definitions. - * nscd/Makefile (distribute): Filter out xmalloc.c. + * conform/conformtest.pl: Implement optional-macro. + * conform/data/math.h-data: Update for XPG6. -2002-01-19 Ulrich Drepper <drepper@redhat.com> + * math/math.h (HUGE): Define as FLT_MAX value but don't use + FLT_MAX. Don't include <float.h>. + (MAXFLOAT): Likewise. - * libio/fileops.c (_IO_file_underflow_mmap): Don't define as static. - Set offset if read end wasn't the buffer end. - (_IO_file_seekoff_mmap): New function. - (_IO_file_xsgetn_mmap): New function. - (_IO_file_jumps_mmap): Use the two new functions. - * libio/wfileops.c (_IO_wfile_underflow_mmap): Handle end read buffer - != end buffer. - * libio/libioP.h: Declare _IO_file_seekoff_mmap and - _IO_file_underflow_mmap. - * libio/iofopen.c: Don't position file descriptor at end of file. - * libio/tst-widetext.c: Improve error messages. - * stdio-common/tst-rndseek.c: Likewise. + * math/math.h: Define MATH_ERRNO and MATH_ERREXCEPT. -2002-01-18 Ulrich Drepper <drepper@redhat.com> + * include/bits/xopen_lim.h: Don't define FOPEN_MAX here. - * sysdeps/unix/sysv/linux/bits/statvfs.h: Avoid warning about comma at - end of enum for !_GNU_SOURCE. - * sysdeps/unix/sysv/linux/alpha/bits/statvfs.h: Likewise. - * sysdeps/unix/sysv/linux/ia64/bits/statvfs.h: Likewise. - * sysdeps/unix/sysv/linux/sparc/bits/statvfs.h: Likewise. - * sysdeps/mach/hurd/bits/statvfs.h: Don't define non-standard ST_* - values unless _GNU_SOURCE. + * conform/data/limits.h-data: Mark constants as optional wherever + appropriate. - * iconvdata/tcvn5712-1.c: Minor cleanups. + * posix/bits/posix2_lim.h: Set correct values for + _POSIX2_COLL_WEIGHTS_MAX and _POSIX2_CHARCLASS_NAME_MAX. Remove + EQUIV_CLASS_MAX. -2002-01-18 Andreas Schwab <schwab@suse.de> + * posix/bits/posix1_lim.h: Define _POSIX_TZNAME_MAX as 6. + Required by POSIX. - * sysdeps/unix/sysv/linux/configure.in - (libc_cv_gcc_unwind_find_fde): Set for m68k, too. + * intl/loadmsgcat.c: Include <locale.h.> for _LIBC. -2002-01-16 Roger Sayle <roger@eyesopen.com> + * conform/data/netinet/in.h-data: Add reserved prefixes. - * stdlib/msort.c (msort_with_tmp): Replace implementation with - more efficient "Towers of Hanoi" mergesort. - (hanoi_sort, hanoi_sort_int, hanoi_sort_long): New functions, - for generic, sizeof(int) and sizeof(long) variants respectively. + * conform/data/arpa/inet.h-data: Fix a few typos. -2002-01-17 Ulrich Drepper <drepper@redhat.com> +2001-01-26 Andreas Jaeger <aj@suse.de> - * manual/syslog.texi (openlog): Describe possible problems with - first parameter. - Patch by Christopher Allen Wing <wingc@engin.umich.edu>. + * sysdeps/generic/strtol.c: Include <locale.h> + * stdlib/strtod.c: Likewise + * stdlib/strfmon.c: Likewise. + * string/strcoll.c: Likewise. + * string/strxfrm.c: Likewise. + * wctype/wcfuncs_l.c: Likewise. + * wctype/wctype_l.c: Likewise. + * wctype/wctrans_l.c: Likewise. - * nscd/nscd.c (drop_privileges): Removed. Adjust caller. - * nscd/connections.c (begin_drop_privileges): New function. - (finish_drop_privileges): New function. - (nscd_init): Call the new functions which also install all groups - for the server user. - * nscd/Makefile (nscd-modules): Add xmalloc for nscd. - Patch by Christopher Allen Wing <wingc@engin.umich.edu>. + * include/bits/locale.h: New file. -2002-01-17 H.J. Lu <hjl@gnu.org> +2001-01-26 Ulrich Drepper <drepper@redhat.com> - * sysdeps/mips/dl-machine.h (__dl_runtime_resolve): Remove - `const' from `got'. + * locale/langinfo.h: Correct logic in #ifs when defining YESSTR + and NOSTR. -2002-01-17 Martin Schwidefsky <schwidefsky@de.ibm.com> + * locale/Makefile (headers): Add bits/locale.h. + * locale/langinfo.h: Don't include <locale.h>. Include <bits/locale.h> + and use __LC_ constants instead of LC_. + * locale/locale.h: Include <bits/locale.h> and define LC_ constants + using __LC_ constants. + * locale/bits/locale.h: New file. + * locale/loadlocale.c: Include <locale.h>. + * locale/nl_langinfo.h: Likewise. - * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Use 64 bit - instructions for pointer operations. - * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise. + * posix/glob.h: Cleanup namespace for non-_GNU_SOURCE case. -2002-01-17 Andreas Jaeger <aj@suse.de> + * io/sys/stat.h: Define S_IFSOCK for XPG6. - * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: GCC 3.1 has - __uint128_t build-in. + * conform/data/fcntl.h-data: posix_madvise is not expected here. - * sysdeps/unix/sysv/linux/configure.in: Fix check for S390 and - PowerPC, sync with 2.2 branch. + * conform/conformtest.pl: Fix handling of macro-str. -2002-01-16 Ulrich Drepper <drepper@redhat.com> + * conform/data/inttypes.h-data: Add missing definition and all of + stdint.h-data. - * posix/getconf.c: Update copyright year. - * nss/getent.c: Likewise. - * nscd/nscd_nischeck.c: Likewise. - * iconv/iconvconfig.c: Likewise. - * iconv/iconv_prog.c: Likewise. - * elf/ldconfig.c: Likewise. - * catgets/gencat.c: Likewise. - * csu/version.c: Likewise. - * elf/ldd.bash.in: Likewise. - * elf/sprof.c (print_version): Likewise. - * locale/programs/locale.c: Likewise. - * locale/programs/localedef.c: Likewise. - * nscd/nscd.c (print_version): Likewise. - * debug/xtrace.sh: Likewise. - * malloc/memusage.sh: Likewise. - * malloc/mtrace.pl: Likewise. + * sysdeps/unix/sysv/linux/sys/param.h (MAXSYMLINKS): Bump to 20. -2002-01-16 Andreas Schwab <schwab@suse.de> +2001-01-25 Ulrich Drepper <drepper@redhat.com> - * sysdeps/unix/sysv/linux/ia64/ldd-rewrite.sed: Fix regexp to - reliably remove "-ia64" from rtld name. + * conform/conformtest.pl (@headers): Add stdint.h. + * conform/data/stdint.h-data: New file. -2002-01-16 Ulrich Drepper <drepper@redhat.com> + * conform/conformtest.pl: Recognize options --headers and + --dialect. Add dialect-specific CFLAGS. - * iconvdata/gb18030.c: Bug fixes and support for more characters. - Patch by Yu Shao <yshao@redhat.com>. + * conform/conformtest.pl: Implement handling of recursive + allow-header. -2002-01-16 Martin Schwidefsky <schwidefsky@de.ibm.com> + * conform/data/locale.h-data: Add new struct lconv members. - * sysdeps/unix/sysv/linux/s390/swapcontext.c: Remove. - * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: New file. - * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: New file. + * posix/wordexp.h: Correct definition of wordexp_t. + * posix/wordexp.c: Moved to ... + * sysdeps/generic/wordexp.c: ...here. New file. + * sysdeps/unix/sysv/linux/alpha/wordexp.c: New file. + * sysdeps/unix/sysv/linux/ia64/wordexp.c: New file. + * sysdeps/unix/sysv/linux/sparc/sparc64/wordexp.c: New file. + * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.2.2): Add + wordexp. + * sysdeps/unix/sysv/linux/ia64/Versions: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc64/Versions: Likewise. -2002-01-14 Martin Schwidefsky <schwidefsky@de.ibm.com> + * math/tgmath.h: Pretty printing. - * sysdeps/s390/fpu/libm-test-ulps: Update. + * math/Makefile (tests): Add test-tgmath. + (CFLAGS-test-tgmath.c): New variable. + * math/test-tgmath.c: New file. Contributed by Jakub Jelinek. -2002-01-11 Ulrich Drepper <drepper@redhat.com> + * conform/conformtest.pl: Handle allow-header in secondary headers + correctly. - * elf/elf.h: Update x86 relocations. + * conform/data/fcntl.h-data: Mark symbols introduced in XPG6 with + #ifdef. -2002-01-10 Ulrich Drepper <drepper@redhat.com> + * conform/data/netinet/in.h-data: Use correct comment character. + * conform/data/sys/stat.h-data: Likewise. - * locale/programs/charmap.c (new_width): Check whether byte - sequences for both ends of range have the same length. +2001-01-25 Jakub Jelinek <jakub@redhat.com> -2002-01-09 Jakub Jelinek <jakub@redhat.com> + * math/tgmath.h (__TGMATH_BINARY_FIRST_REAL_ONLY, + __TGMATH_BINARY_REAL_ONLY, __TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY, + __TGMATH_TERNARY_REAL_ONLY): Use proper arguments to + __builtin_classify_type, add ##f suffixes where appropriate. + (__TGMATH_UNARY_REAL_IMAG): Remove extraneous left parenthesis. + (__TGMATH_BINARY_REAL_IMAG): Likewise, use proper arguments to + __builtin_classify_type. + (fma): Fix spelling of first argument. - * elf/elf.h (SHN_UNDEF): Remove duplicate definition. +2001-01-25 Ulrich Drepper <drepper@redhat.com> -2002-01-09 Jakub Jelinek <jakub@redhat.com> + * conform/data/unistd.h-data: Mark functions removed in XPG6 + correctly. - * sysdeps/alpha/fpu/e_sqrt.c (__ieee754_sqrt): Don't use multi-line - string literals. - (__full_ieee754_sqrt): Add __attribute_used__. + * posix/unistd.h: Don't make functions removed in XPG6 available if + __USE_XOPEN2K. -2002-01-10 Ulrich Drepper <drepper@redhat.com> + * conform/conformtest.pl: Implement optional-constant. + * conform/data/unistd.h-data: Use optional-constant wherever + appropriate. - * sysdeps/generic/group_member.c (__group_member): Also check - groups[0] [PR libc/2781]. + * sysdeps/generic/bits/confname.h: Correct names of _SC_PBS + constants and add _SC_STREAMS. + * sysdeps/posix/sysconf.c (__sysconf): Likewise. -2002-01-08 Ulrich Drepper <drepper@redhat.com> + * sysdeps/unix/sysv/linux/statvfs64.c: Rename to __statvfs64 and + make old name weak alias. + * sysdeps/generic/statvfs64.c: Likewise. + * sysdeps/unix/sysv/linux/fstatvfs64.c: Rename to __fstatvfs64 and + make old name weak alias. + * sysdeps/generic/fstatvfs64.c: Likewise. + * include/sys/statvfs.h: New file. - * Makefile (distribute): Add scripts/cpp. - * elf/Makefile (distribute): Add reldep6mod[01234].c, - unwind-dw2.c, unwind-dw2-fde.c, unwind.h, unwind-pe.h, - unwind-dw2-fde.h, and dwarf2.h. - * sysdeps/unix/bsd/bsd4.4/Dist: New file. - * sysdeps/unix/sysv/aix/Dist: Add sysv_termio.h and start-libc.c. - * sysdeps/unix/sysv/linux/ia64/Dist: Add ldd-rewrite.sed. - * sysdeps/unix/sysv/linux/s390/Dist: Likewise. + * sysdeps/generic/bits/confname.h: Define _PC_REC_INCR_XFER_SIZE, + _PC_REC_MAX_XFER_SIZE, _PC_REC_MIN_XFER_SIZE, and + _PC_REC_XFER_ALIGN. + * sysdeps/posix/pathconf.c (__pathconf): Implement handling of + _PC_REC_INCR_XFER_SIZE, _PC_REC_MAX_XFER_SIZE, + _PC_REC_MIN_XFER_SIZE, and _PC_REC_XFER_ALIGN. + * sysdeps/posix/fpathconf.c (__fpathconf): Likewise. -2002-01-07 Roland McGrath <roland@frob.com> + * conform/conformtest.pl: Run Unix tests for XPG6. + Implement handling of known namespace violations. + Improve printing of results. - * sysdeps/mach/hurd/i386/init-first.c (_hurd_stack_setup): Use - volatile on type of ARGC so the compiler doesn't get clever. + * posix/unistd.h (usleep): Correct return type. + * sysdeps/unix/sysv/linux/usleep.c: Correct return type. + * sysdeps/unix/bsd/usleep.c: Correct return type. + * sysdeps/mach/usleep.c: Correct return type. + * sysdeps/generic/usleep.c: Correct return type. -2002-01-07 Andreas Jaeger <aj@suse.de> + * posix/unistd.h (sync): Correct return type. + * sysdeps/generic/sync.c: Likewise. + * sysdeps/mach/hurd/sync.c: Likewise. - * sysdeps/generic/bits/byteswap.h: Prevent double inclusion. - * sysdeps/i386/bits/byteswap.h: Likewise. - * sysdeps/ia64/bits/byteswap.h: Likewise. - * sysdeps/m68k/bits/byteswap.h: Likewise. - * sysdeps/s390/s390-32/bits/byteswap.h: Likewise. - * sysdeps/s390/s390-64/bits/byteswap.h: Likewise [PR libc/2757]. + * sysdeps/generic/bits/confname.h (_SC_IOV_MAX): New definition. -2002-01-02 Bruno Haible <bruno@clisp.org> + * posix/unistd.h: Make seteuid and setegid available for XPG6. - * intl/plural.y: Fix %expect count. + * wcsmbs/wchar.h: Get FILE definition for XPG5. -2002-01-03 Jakub Jelinek <jakub@redhat.com> + * conform/data/ctype.h-data: Use correct comment form. + * conform/data/errno.h-data: Likewise. + * conform/data/math.h-data: Likewise. + * conform/data/mqueue.h-data: Likewise. + * conform/data/netdb.h-data: Likewise. + * conform/data/pthread.h-data: Likewise. - * elf/Makefile (routines, shared-only-routines): Add - unwind-dw2-fde-glibc instead of unwind-dw2-fde. - * elf/elf.h (PT_GNU_EH_FRAME): Define. - * sysdeps/generic/unwind-dw2-fde-glibc.c: New file. - * sysdeps/generic/unwind-dw2-fde.c (__register_frame_info_bases): - Optimize if .eh_frame section contains no FDEs. - (__register_frame, __deregister_frame_info_bases, - __deregister_frame): Likewise. - * sysdeps/generic/unwind-dw2.c (execute_cfa_program): Fix - DW_CFA_restore handling. +2001-01-24 Ulrich Drepper <drepper@redhat.com> -2002-01-07 Stephen L Moshier <moshier@mediaone.net> + * conform/data/wordexp.h-data: Fix typo. - * sysdeps/ieee754/ldbl-96/s_erfl.c (erfcl): Fix K&R header. + * conform/conformtest.pl: Handle allow-header correctly. - * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Fix typo in test - for x < 0.25 and restore original range reduction method. - (__ieee754_lgammal_r): Make sure signgam is set before returning. + * conform/data/time.h-data: Use correct comment form. -2002-01-07 Ulrich Drepper <drepper@redhat.com> + * conform/conformtest.pl (checknamespace): Ignore #undef lines. - * libio/fileops.c (_IO_file_underflow_mmap): New function. - (_IO_file_close_mmap): New function. - (_IO_file_jumps_mmap): New variable. - * libio/wfileops.c (_IO_wfile_underflow): Reset read pointer before - trying to convert rest of byte buffer. - (_IO_wfile_underflow_mmap): New function. - (_IO_wfile_jumps_mmap): New variable. - * libio/iofopen.c (__fopen_maybe_mmap): New function. - (__fopen_internal): New function. Split out from _IO_new_fopen. - (_IO_new_fopen): Call __fopen_internal. - * libio/iofopen64.c: Just call __fopen_internal. - * libio/iofdopen.c: Call __fopen_maybe_mmap before returning - successfully. - * libio/iolibio.h: Declare __fopen_internal and __fopen_maybe_mmap. - * libio/libioP.h: Declare _IO_file_jumps_mmap, _IO_wfile_jumps_mmap, - _IO_file_close_mmap. + * configure.in: Comment out binutils version test. - * sysdeps/gnu/_G_config.h: Define _G_MMAP64. - * sysdeps/unix/sysv/linux/cris/_G_config.h: Likewise. + * stdlib/strtod.c (str_to_mpn): Correct parsing of thousands + separators. + Reported by Lagardere Jean-Francois <LAGARDEREJ@thmulti.com>. - * stdio-common/Makefile (tests): Add tst-rndseek. - * stdio-common/tst-rndseek.c: New file. + * stdlib/tst-strtod.c (locale_test): New function. + (main): Call locale_test. + * stdlib/Makefile (tst-strtod-ENV): New variable. -2002-01-05 Roland McGrath <roland@frob.com> +2001-01-24 Mark Kettenis <kettenis@gnu.org> - * config.h.in (HAVE_MIG_RETCODE): New #undef. - * sysdeps/mach/hurd/configure.in (hurd_MIG_RETCODE: New macro - swiped from hurd package's aclocal.m4; use it to set HAVE_MIG_RETCODE. - * sysdeps/mach/hurd/configure: Regenerated. + * hurd/hurdsig.c (_hurdsig_getenv): Remove spurious innermost + declaration of value such that we actually return the value of the + environment variable. -2002-01-03 Ulrich Drepper <drepper@redhat.com> +2001-01-24 Andreas Jaeger <aj@suse.de> - * elf/elf.h: Add more TLS definitions. + * sysdeps/unix/sysv/linux/init-first.c: Remove extra __sysctl + prototype. + * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise. -2002-01-02 Ulrich Drepper <drepper@redhat.com> + * include/sys/sysctl.h: New file. - * include/features.h (__GLIBC_MINOR__): Bump to 3. +2001-01-23 Andreas Jaeger <aj@suse.de> -2002-01-02 Roland McGrath <roland@frob.com> + * stdlib/Makefile ($(objpfx)isomac.out): Also pass sysincludes to + isomac. - * sysdeps/mach/hurd/sigwait.c (__sigwait): Use __sigandset, - __sigisemptyset. Don't use MASK uninitialized. + * elf/dl-load.c (_dl_init_paths): Don't use strdupa in function + arguments. Reported by Jiri Kubicek <kubicek@bitsmart.com>, + closes PR libc/2039. - * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Use __sigorset. - * hurd/hurdinit.c (_hurd_new_proc_init): Use __sigisemptyset. - * hurd/hurdsig.c (_hurd_internal_post_signal): Use __sigismember, - __sigdelset, __sigaddset, __sigorset. + * manual/install.texi (Tools for Compilation): Change required + binutils version. - * sysdeps/generic/htonl.c: Use uint32_t instead of u_int32_t. - * sysdeps/generic/htons.c: Use uint16_t instead of u_int16_t. +2001-01-22 Andreas Jaeger <aj@suse.de> - * hurd/hurdinit.c (_hurd_ports_use): Return EGRATUITOUS when - _hurd_ports is null. + * configure.in: Add test for new enough binutils version, move + compiler/binutils test up. - * hurd/hurdsig.c (_hurdsig_init): Conditionalize exception port setup - for old CMU and new OSF Mach interface flavors. - * hurd/hurdfault.c (_hurdsig_fault_init): Likewise. - * sysdeps/mach/hurd/fork.c (__fork): Likewise. + * Versions.def: Add version GLIBC_2.2.2. - * hurd/hurdsig.c (_hurd_internal_post_signal): Leave msgh_seqno unset. +2001-01-21 Ulrich Drepper <drepper@redhat.com> - * sysdeps/mach/hurd/spawni.c (__spawni) [KERN_INVALID_LEDGER]: - Pass extra arguments to task_create for OSF variant. - * sysdeps/mach/hurd/fork.c (__fork): Likewise. + * iconvdata/TESTS: UTF-8 test data for IBM932 and IBM943 are now + available. + * iconvdata/testdata/IBM932: New file. + * iconvdata/testdata/IBM932..UTF8: New file. + * iconvdata/testdata/IBM943: New file. + * iconvdata/testdata/IBM943..UTF8: New file. + Contributed by Masahide Washizawa <washi@jp.ibm.com>. - * sysdeps/powerpc/elf/libc-start.c: Make AUXVEC diddling code - conditional on [HAVE_AUX_VECTOR]. +2001-01-21 Franz Sirl <Franz.Sirl-kernel@lauterbach.com> - * mach/mach/mach_traps.h (thread_switch, __thread_switch): Use - mach_msg_timeout_t as type of final argument. + * sysdeps/unix/sysv/linux/powerpc/mmap64.c: Correctly mask offset. - * hurd/privports.c (__get_privileged_ports): - Change host_priv_t to mach_port_t in argument type. - * hurd/hurd.h (get_privileged_ports, __get_privileged_ports): - Update decls. +2001-01-21 Ulrich Drepper <drepper@redhat.com> - * sysdeps/mach/hurd/i386/bits/sigcontext.h: Protect from - multiple inclusion. Inhibit #error under [_SYS_UCONTEXT_H]. - * sysdeps/mach/hurd/alpha/bits/sigcontext.h: Likewise. - * sysdeps/mach/hurd/hppa/bits/sigcontext.h: Likewise. - * sysdeps/mach/hurd/mips/bits/sigcontext.h: Likewise. - * sysdeps/mach/hurd/powerpc/bits/sigcontext.h: Likewise. + * malloc/malloc.c: Remove a few unnecessary initializers of global + variables. -2002-01-01 Roland McGrath <roland@frob.com> +2000-12-09 H.J. Lu <hjl@gnu.org> - * sysdeps/mach/hurd/errnos.awk: Tighten up device_types.h matching. + * nss/Makefile (routines): Add digits_dots. + * nss/Versions (libc): Add __nss_hostname_digits_dots to GLIBC_2.2.2. + * nss/digits_dots.c (__nss_hostname_digits_dots): Turn template + into a function. + * nss/nsswitch.h (__nss_hostname_digits_dots): New internal NSS + function. + * nss/getXXbyYY.c (H_ERRNO_VAR_P): New definition. + (TYPE_VAR_P): Likewise. + (FLAGS_VAR): Likewise. + (AF_VAR_P): Likewise. + (INTERNAL (REENTRANT_NAME)): Call __nss_hostname_digits_dots () + instead of including digits_dots.c. + * nss/getXXbyYY_r.c (H_ERRNO_VAR_P): New definition. + (TYPE_VAR_P): Likewise. + (FLAGS_VAR): Likewise. + (AF_VAR_P): Likewise. + (INTERNAL (REENTRANT_NAME)): Call __nss_hostname_digits_dots () + instead of including digits_dots.c. + +2001-01-21 Ulrich Drepper <drepper@redhat.com> + + * sysdeps/posix/getaddrinfo.c: Reduce .data size. + +2001-01-21 Andreas Jaeger <aj@suse.de> + + * elf/constload2.c: Add prototype for init. + +2001-01-21 Ulrich Drepper <drepper@redhat.com> + + * stdlib/stdlib.h (drand48_data): Make available only for + __USE_MISC. Rename elements to protect namespace. Change type + and position of a and init element. + * stdlib/drand48-iter.c: Don't handle unsigned short > 16 bit + differently. Adjust for drand48_data change. Don't compute a here, + it comes from drand48_data. + * stdlib/lcong48_r.c: Don't handle unsigned short > 16 bit + differently. Adjust for drand48_data change. Compute a here. + * stdlib/srand48_r.c: Likewise. + * stdlib/drand48.c: Adjust for drand48_data change. + * stdlib/lrand48.c: Likewise. + * stdlib/mrand48.c: Likewise. + * stdlib/seek48.c: Likewise. + * stdlib/drand48_r.c: Likewise. + * stdlib/lrand48_r.c: Likewise. + * stdlib/mrand48_r.c: Likewise. + * stdlib/seed48_r.c: Likewise. Don't handle unsigned short > 16 bit + differently. + * stdlib/erand48_r.c: Don't handle unsigned short > 16 bit differently. + * stdlib/jrand48_r.c: Likewise. -2002-01-01 Ulrich Drepper <drepper@redhat.com> + * po/sv.po: Update from translation team. - * include/stdlib.h: Define inlines for the _l variants of the strto* - functions. +2001-01-21 Andreas Jaeger <aj@suse.de> -2002-01-01 Roland McGrath <roland@frob.com> + * stdio-common/vfprintf.c (vfprintf): Add casts. - * sysdeps/mach/hurd/powerpc/intr-msg.h: Remove extraneous backslash. +2001-01-20 Ulrich Drepper <drepper@redhat.com> - * mach/Machrules (MIG): Set CPP as well as CC. + * iconvdata/run-iconv-test.sh: Reorgnize a bit to allow running only + the ASCII test. + * iconvdata/TESTS: Add entries for IBM932 and IBM943. -2001-12-31 Ulrich Drepper <drepper@redhat.com> + * iconvdata/Makefile (modules): Add IBM932 and IBM943. + * iconvdata/gconv-modules: Add entries for IBM932 and IBM943. + * iconvdata/ibm932.c: New file. + * iconvdata/ibm932.h: New file. + * iconvdata/ibm943.c: New file. + * iconvdata/ibm943.h: New file. + Patches by Masahide Washizawa <washi@jp.ibm.com>. - * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Always use C - locale to parse /proc/loadavg [PR libc/2760]. + * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Fix typo + preventing optimization from being done. Set the correct type bit + in seen. Don't define and use _dl_base_addr unless + NEED_DL_BASE_ADDR is defined. -2001-12-31 Jakub Jelinek <jakub@redhat.com> + * io/ftw.c (ftw_dir): Add slash after directory name if there + wasn't any. Reported by loris <loris@iol.it>. + * io/Makefile (tests): Add bug-ftw2. + * io/bug-ftw2.c: New file. - * elf/dl-conflict.c: Include sys/param.h. - (RESOLVE_CONFLICT_FIND_MAP): Cast r_offset to ElfW(Addr). - * sysdeps/alpha/dl-machine.h (elf_machine_runtime_setup): Avoid - warning. - (TRAMPOLINE_TEMPLATE, RTLD_START): Don't use multi-line string - literals to avoid warnings. +2001-01-19 Ulrich Drepper <drepper@redhat.com> -2001-12-31 Andreas Jaeger <aj@suse.de> + * stdlib/jrand48_r.c (__jrand48_r): Correct constructing of + results. Reported by Jeff Higham <jhigham@algorithmics.com>. + * stdlib/tst-rand48.c: New file. + * stdlib/Makefile (tests): Add tst-rand48. - * configure.in: Don't check for gsed since we do not use it anywhere. + * locale/newlocale.c (__newlocale): Fix test for setting all + categories. -2001-12-25 Dmitry V. Levin <ldv@alt-linux.org> +2001-01-19 Mark Kettenis <kettenis@gnu.org> - * io/fts.c: Update from BSD to fix memory leaks. + * sysdeps/mach/hurd/chroot.c (chroot): Revert 1999-02-27 changes, + but change looking up the initial directory port in a similar way + as done by _hurd_change_directory_port_from_name. + * hurd/fchroot.c (fchroot): Likewise. -2001-12-25 Dmitry V. Levin <ldv@alt-linux.org> +2001-01-18 Ulrich Drepper <drepper@redhat.com> - * crypt/md5-crypt.c: Realloc error handling memory leak fix. - * elf/chroot_canon.c: Likewise. - * elf/dl-object.c: Likewise. - * iconv/iconv_charmap.c: Likewise. - * iconv/iconv_prog.c: Likewise. - * libio/iogetdelim.c: Likewise. - * locale/lc-time.c: Likewise. - * stdlib/canonicalize.c: Likewise. - * sunrpc/svc.c: Likewise. - * sysdeps/generic/glob.c: Likewise. + * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): If HAVE_AUX_XID is + defined don't look whether the AT_*ID values were set. + If HAVE_AUX_PAGESIZE is defined don't look whether the pagesize is set. + (_dl_show_auxv): Rewrite to avoid switch statement. + * sysdeps/unix/sysv/linux/kernel-features.h: Define + __ASSUME_AT_PAGESIZE for kernel >= 2.4.1. + * sysdeps/unix/sysv/linux/ldsodefs.h: Define HAVE_AUX_XID. + Define HAVE_AUX_PAGESIZE if __ASSUME_AT_PAGESIZE is defined. -2001-12-19 Martin Schwidefsky <schwidefsky@de.ibm.com> + * sysdeps/unix/sysv/linux/fxstat64.c: Add one __builtin_expect. + * sysdeps/unix/sysv/linux/lxstat64.c: Likewise. + * sysdeps/unix/sysv/linux/xstat64.c: Likewise. - * sysdeps/unix/sysv/linux/s390/profil-counter.h: Move/copy to ... - * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h: ... here, - remove high order bit from the program counter. - * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h: ... and here. + * elf/rtld.c (process_envvars): Call __strtoul_internal instead of + strtoul. + * elf/dl-minimal.c (strtol, __strtol_internal, strtoul): Removed. + (__sigjmp_save): Set __mask_was_saved to zero since we don't save + anything. + * dlfcn/eval.c (__strtol_internal): Define here. + (eval): Use __strtol_internal instead of strtol. -2001-12-19 Martin Schwidefsky <schwidefsky@de.ibm.com> + * elf/elf.h: Add a few more EF_MIPS_* constants. - * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Remove - unnecessary code and add missing reloc types. - * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Add empty - case for reloc type R_390_NONE. +2001-01-17 Ulrich Drepper <drepper@redhat.com> -2001-12-28 Andreas Jaeger <aj@suse.de> + * manual/Makefile (chapters): Add debug. + * manual/debug.texi: New file. + * manual/examples/execinfo.c: New file. + Patch by suckfish@ihug.co.nz. - * io/bug-ftw3.c: Include string.h for prototypes. +2001-01-17 Andreas Schwab <schwab@suse.de> - * crypt/md5test.c (main): Remove unused variable. + * sysdeps/m68k/bits/byteswap.h (__bswap_32): Add cast to avoid + invalid asm. - * dlfcn/modstatic.c: Add prototype to avoid warning. +2001-01-17 Andreas Jaeger <aj@suse.de> -2001-12-26 Roland McGrath <roland@frob.com> + * nscd/connections.c (nscd_run): Use proper format specifier. - * sysdeps/mach/hurd/sigwait.c (__sigwait): When returning immediately, - check only (SS->pending & MASK) for the signal to return. - From Jeroen Dekkers <jeroen@dekkers.cx>. +2001-01-16 Ulrich Drepper <drepper@redhat.com> -2001-12-22 Roland McGrath <roland@frob.com> + * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Move x86_cap_flags and + x86_platforms data into new file after prepending _dl_. Change + users. + * sysdeps/unix/sysv/linux/i386/dl-procinfo.c: New file. + * sysdeps/unix/sysv/linux/i386/Dist: Add dl-procinfo.c. + * sysdeps/unix/sysv/linux/i386/Makefile: Add rules to build + dl-procinfo.c. - * iconv/skeleton.c [!RESET_INPUT_BUFFER && !SAVE_RESET_STATE]: - Use preprocessor #if conditionals instead of `if' to avoid - warnings about divide by zero in dead code. + * setjmp/setjmp.h: Cleanup definition of setjmp macro. - * hurd/Versions (libc: GLIBC_2.2.5): Add _hurd_port_set, - _hurd_port_init, and __hurd_self_sigstate. + * sysdeps/i386/elf/bsd-setjmp.S: Real implementation. + * sysdeps/i386/elf/bsd-_setjmp.S: Removed. + * sysdeps/i386/elf/setjmp.S (setjmp): Removed here. + (_setjmp): Likewise. + * sysdeps/i386/bsd-_setjmp.S: Real implementation. + * sysdeps/i386/bsd-setjmp.S: Real implementation. + * sysdeps/i386/bits/setjmp.h: Remove PUSH_SIGNAL_MASK definition. + * sysdeps/i386/setjmp.S: Remove PIC support. This is the non-ELF + version. - * mach/Versions (libc: GLIBC_2.2.5): Add mig_strncpy. +2001-01-16 Andreas Jaeger <aj@suse.de> -2001-12-21 Andreas Jaeger <aj@suse.de> + * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h (SIGCONTEXT): Fix + misapplied last patch. - * elf/dblloadmod1.c: Add prototype to avoid warning. - * elf/dblloadmod2.c: Likewise. - * elf/dblloadmod3.c: Likewise. - * elf/reldepmod5.c: Likewise. - * elf/reldepmod6.c: Likewise. +2001-01-15 Ulrich Drepper <drepper@redhat.com> - * elf/dl-conflict.c (_dl_resolve_conflicts): Add unused attribute - for resolve_conflict_map since RESOLVE_CONFLICT_FIND_MAP is not - used on all architectures. + * stdlib/random.c (__initstate): Clean up a cast. + (__setstate): Likewise. - * sunrpc/svc_tcp.c: Add noreturn attribute for - svctcp_rendezvous_abort. - * sunrpc/svc_unix.c: Likewise for svcunix_rendezvous_abort. + * sysdeps/unix/sysv/linux/mips/syscalls.list: Remove select + syscall handling. The generic Linux version should work. - * sysdeps/generic/strstr.c (strstr): Add paranthese for assignment - to avoid warning. +2001-01-15 Andreas Jaeger <aj@suse.de> -2001-12-19 Jakub Jelinek <jakub@redhat.com> + * sysdeps/unix/sysv/linux/sys/sendfile.h: Fix typo. - * manual/llio.texi (aio_fsync): Fix a typo. - Patch by Tammy Fox <tfox@redhat.com>. + * stdio-common/tstscanf.c (main): Add two testcases for '*' modifier. -2001-12-18 Jakub Jelinek <jakub@redhat.com> +2001-01-14 Jakub Jelinek <jakub@redhat.com> - * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (clone): Subtract - stack bias from child stack pointer before passing it to clone syscall. + * nss/getent.c (print_aliases, aliases_keys, ethers_keys, + netgroup_keys, print_rpc, rpc_keys, print_shadow, shadow_keys): + New functions. + (group_keys, hosts_keys, network_keys, passwd_keys, protocols_keys): + If number is 0, list all. + (services_keys): Likewise. Lookup aliases as well. + (databases): New table. + (build_doc): Prepare argp doc text with list of supported databases. + (main): Change to table driven processing. -2001-12-18 Ulrich Drepper <drepper@redhat.com> +2001-01-14 Thorsten Kukuk <kukuk@suse.de> - * sysdeps/posix/sysconf.c (__sysconf): Respect POSIX minimum for - _SC_TZNAME_MAX. - * sysdeps/generic/sysconf.c (__sysconf): Likewise. - Reported by Thorsten Kukuk <kukuk@suse.de>. + * sunrpc/xdr.c (xdr_long, xdr_u_long): Fix comments about these + functions. - * sysdeps/unix/grantpt.c (grantpt): Correct typo in comment and - add some casts. +2001-01-03 Jakub Jelinek <jakub@redhat.com> - * sysdeps/unix/sysv/linux/grantpt.c: Make __unix_grantpt static. + * sunrpc/xdr.c (xdr_long, xdr_u_long): Return FALSE if trying to + encode value which does not fit in the 32bit type. -2001-12-18 Thorsten Kukuk <kukuk@suse.de> +2001-01-15 Hiroyuki Machida <machida@sm.sony.co.jp> - * sysdeps/unix/sysv/linux/grantpt.c: Make errno results standard - conforming: return EBADF if file descriptor is invalid and EINVAL - if file descriptor is no valid tty. - * login/tst-grantpt.c: New file. - * login/Makefile (tests): Add tst-grantpt. + * sysdeps/unix/sysv/linux/mips/register-dump.h (REGISTER_DUMP): + Change type of CTX to (struct sigcontext *). + * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h (GET_PC): Likewise. + (GET_FRAME): Likewise. + (GET_STACK): Likewise. + (SIGCONTEXT): Likewise. Add 2nd arg _code. + (SIGCONTEXT_EXTRA_ARGS): Add 2nd arg _code. -2001-12-17 Ulrich Drepper <drepper@redhat.com> +2001-01-13 Ulrich Drepper <drepper@redhat.com> - * io/ftw.c (ftw_dir): Handle inaccessibility of toplevel dir - different than implemented in last patch. - * io/bug-ftw3.c: Adjust test for changed handling of - inaccessibility of toplevel dir. + * manual/texinfo.tex: Update from upstream version. -2001-12-16 Roland McGrath <roland@frob.com> +2001-01-13 Jakub Jelinek <jakub@redhat.com> - * nss/nsswitch.c (__nss_next): Don't use __FUNCTION__ as literal. - * grp/initgroups.c (internal_getgrouplist): Likewise. + * inet/ether_ntoh.c (lookup_function): Change arguments to match + _nss_*_getntohost_r prototype. + (ether_ntohost): Pass errno pointer to NSS function. - * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Add `break' after - `default:' to silence new GCC warning. - Rewrite cast of lvalue to silence new GCC warning. +2001-01-12 Franz Sirl <Franz.Sirl-kernel@lauterbach.com> - * sysdeps/mach/hurd/i386/init-first.c: Avoid multi-line strings in asm. + * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MS_SYNC): Fix value. + (MAP_LOCKED): New definition. + (MAP_NORESERVE): New definition. - * sysdeps/mach/hurd/spawni.c: New file, by me with a - couple fixes by Neal H Walfield <neal@cs.uml.edu>. +2001-01-12 Ulrich Drepper <drepper@redhat.com> -2001-12-14 Ulrich Drepper <drepper@redhat.com> + * assert/assert.h: Use static_cast instead of C-style cast for C++. + Patch by Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>. - * sysdeps/generic/strstr.c (strstr): Update. New optimized version. - Patch by Stephen R. van den Berg. +2001-01-12 Ben Collins <bcollins@debian.org> - * crypt/md5.h: Define md5_uintptr. + * sysdeps/generic/segfault.c (install_handler): Use access, not + __access. -2001-12-13 Ulrich Drepper <drepper@redhat.com> +2001-01-12 Andreas Jaeger <aj@suse.de> - * libio/tst_swprintf.c (main): Add test for string argument with - zero precision. - * stdio-common/Makefile (tests): Add tst-sprintf. - * stdio-common/tst-sprintf.c: New file. + * posix/fnmatch_loop.c (FCT): Remove signed warnings. + * posix/wordexp.c (do_parse_glob): Likewise. + * sysdeps/posix/sigblock.c (__sigblock): Likewise. + * sysdeps/posix/sigsetmask.c (__sigsetmask): Likewise. + * elf/dl-open.c (_dl_open): Likewise. + * elf/dl-close.c (_dl_close): Likewise. + * elf/dl-load.c (_dl_map_object): Likewise. + * iconv/iconv_prog.c (process_fd): Likewise. + * stdio-common/vfscanf.c (_IO_vfscanf): Likewise. -2001-12-13 Andreas Schwab <schwab@suse.de> + * locale/localeinfo.h (struct locale_data): Use __flexarr instead + of a zero-length array. - * stdio-common/vfprintf.c (process_string_arg): Correctly handle - zero precision with wide character string format. +2001-01-11 Jakub Jelinek <jakub@redhat.com> -2001-12-13 Thorsten Kukuk <kukuk@suse.de> + * stdlib/cxa_atexit.c (__cxa_atexit): Cast to (void *, int) func. + * stdlib/cxa_finalize.c (__cxa_finalize): Add hidden second argument. + * stdlib/cxa_on_exit.c: Remove. + * stdlib/Makefile: Revert last patch. + * stdlib/Versions: Likewise. + * include/stdlib.h: Likewise. + * stdlib/exit.h: Revert last patch. + (struct exit_function): Add second argument to cxa fn. + * stdlib/exit.c: Revert last patch. + (exit): Add hidden second argument. - * sysdeps/posix/cuserid.c (cuserid): If we don't find the UID, - but have a user supplied buffer, return the empty buffer, not NULL. +2001-01-11 H.J. Lu <hjl@gnu.org> -2001-12-13 Ulrich Drepper <drepper@redhat.com> + * elf/dl-libc.c (do_dlopen): Move DL_STATIC_INIT to ... + * elf/dl-open.c (_dl_open): Here. + * sysdeps/unix/sysv/linux/ia64/dl-static.c (_dl_static_lock): + Make it static. + (_dl_static_init): Initialize the variables every time when possible. + * sysdeps/unix/sysv/linux/ia64/ldsodefs.h (DL_STATIC_INIT): + Undefine it first. - * crypt/md5.c (md5_process_bytes): Correct handling of alignment. - Patch by Eric Sharkey <sharkey@netrics.com>. +2001-01-11 Ulrich Drepper <drepper@redhat.com> - * crypt/md5test.c (main): Add test for multiple calls to - __md5_process_bytes to itererate over input string. + * stdlib/Makefile (routines): Add cxa_on_exit. + * stdlib/Versions [libc] (GLIBC_2.2.1): Add __cxa_on_exit. + * stdlib/cxa_on_exit.c: New file. + * include/stdlib.h: Add prototype for __cxa_on_exit. + * stdlib/exit.c: Handle ef_cxa2. + * stdlib/exit.h (enum): Add ef_cxa2. + (struct exit_function): Add cxa2. -2001-12-12 Ulrich Drepper <drepper@redhat.com> + * Versions.def [ld]: Add GLIBC_2.2.1. - * nis/nis_findserv.c (__nis_findfastest_with_timeout): Mostly the code - from __nis_findfastest. Take timeout value from parameter. - (__nis_findfastest): Call __nis_findfastest_with_timeout repeatedly. - * nis/nis_intern.h: Define parameters controlling __nis_findfastest - [PR libc/2520]. Patch by Alexander Belopolsky <alexb@rentec.com>. +2001-01-10 H.J. Lu <hjl@gnu.org> -2001-12-12 Andreas Jaeger <aj@suse.de> + * elf/dl-libc.c (do_dlopen): Call DL_STATIC_INIT for static binaries. + * sysdeps/unix/sysv/linux/ia64/Makefile (sysdep-dl-routines): Add + dl-static. + * sysdeps/unix/sysv/linux/ia64/Versions (ld): Add _dl_var_init. + * sysdeps/generic/ldsodefs.h (DL_STATIC_INIT): Defined if not defined. + * sysdeps/unix/sysv/linux/ia64/ldsodefs.h: New file. + * sysdeps/unix/sysv/linux/ia64/dl-static.c: New file. + * sysdeps/unix/sysv/linux/ia64/Dist: Add dl-static.c. - * configure.in: Use -nostartfiles -nostdlib for linker tests, fix - combreloc test so that it works in this case. +2001-01-11 Ulrich Drepper <drepper@redhat.com> - * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix typo in last patch. + * libio/stdio.h: Remove definition of off_t. -2001-12-12 NIIBE Yutaka <gniibe@m17n.org> +2001-01-11 Andreas Jaeger <aj@suse.de> - * sysdeps/sh/Makefile: New file. - * sysdeps/sh/_mcount.S: New file. - * sysdeps/sh/sysdep.h (CALL_MCOUNT): Implemented. - * sysdeps/sh/machine-gmon.h: Remove "NOTYET" comment, as we are ready. + * wcsmbs/tst-mbrtowc.c (utf8_test): New function by Markus Kuhn + <mkuhn@acm.org>. -2001-12-11 Ulrich Drepper <drepper@redhat.com> +2001-01-10 Ulrich Drepper <drepper@redhat.com> - * resolv/nss_dns/dns-host.c (getanswer_r): Remove MAX_NR_ADDRS - limitation [PR libc/2564]. + * sunrpc/Makefile (distribute): Add errqueue.h. -2001-12-11 Jakub Jelinek <jakub@redhat.com> +2001-01-10 H.J. Lu <hjl@gnu.org> - * elf/Makefile (dl-routines): Add conflict. - (rtld-ldscript-in, rtld-ldscript, rtld-parms): Remove. - (ld.so): Add _begin local symbol. - * elf/elf.h (DT_VALTAGIDX, DT_VALNUM, DT_ADDRTAGIDX, DT_ADDRNUM): - Define. - * elf/dl-deps.c (_dl_build_local_scope): New function. - (_dl_map_object_deps): If LD_TRACE_PRELINKING, compute local scopes - of all libraries. - * elf/do-rel.h (VALIDX): Define. - (elf_dynamic_do_rel): If ELF_MACHINE_PLT_REL is defined, don't do - lazy binding for RELA. If DT_GNU_PRELINKED, DT_RELACOUNT relocations - can be skipped. - * elf/dl-conflict.c: New file. - * elf/dl-lookup.c (_dl_debug_bindings): New function. - (_dl_lookup_symbol): Use _dl_debug_bindings. Reference_name is always - non-NULL. - (_dl_lookup_symbol_skip): Likewise. - (_dl_lookup_versioned_symbol): Likewise. - (_dl_lookup_versioned_symbol_skip): Likewise. - * elf/dl-runtime.c (PLTREL): If ELF_MACHINE_PLT_REL is defined, - define to ElfW(Rel). - * elf/dynamic-link.h (elf_get_dynamic_info): Record selected dynamic - tags in the DT_VALRNGLO..DT_VALRNGHI and DT_ADDRRNGLO..DT_ADDRRNGHI - ranges. - Don't adjust address dynamic tags if l_addr is 0. - * elf/rtld.c (_dl_trace_prelink, _dl_trace_prelink_map): New variables. - (_dl_start): Skip ELF_DYNAMIC_RELOCATE if ld.so is prelinked. - (VALIDX, ADDRIDX): Define. - (_dl_start_final): Initialize _dl_rtld_map's l_map_start and l_map_end. - (dl_main): Print library list for LD_TRACE_PRELINKING. - If prelinking information can be used, skip relocating libraries and - call _dl_resolve_conflicts instead. - (process_envvars): Handle LD_TRACE_PRELINKING envvar. - * elf/dl-load.c (_dl_map_object): Don't create fake libs - if LD_TRACE_PRELINKING. - * include/link.h (struct link_map) [l_info]: Add DT_VALNUM - + DT_ADDRNUM. - * sysdeps/generic/ldsodefs.h (_dl_trace_prelink_map): New declaration. - (DL_DEBUG_PRELINK): Define. - (_dl_resolve_conflicts): Add prototype. - - * sysdeps/alpha/dl-machine.h (elf_machine_runtime_setup): Reinitialize - .plt for prelinked libraries where prelinking info cannot be used. - (elf_machine_rela): If relocating R_ALPHA_JMP_SLOT in .gnu.conflict - section, use RESOLVE_CONFLICT_FIND_MAP to find out reloc's link_map. - * sysdeps/arm/bits/link.h: New file. - * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): Save original - content of .got[1]. - (ELF_MACHINE_NO_RELA): Only define if RTLD_BOOTSTRAP. - (ELF_MACHINE_PLT_REL): Define. - (elf_machine_rela, elf_machine_rela_relative): New functions. - (elf_machine_lazy_rel): Reinitialize R_ARM_JUMP_SLOT address instead - of adjusting it if prelinked and prelinking cannot be used. - * sysdeps/i386/bits/link.h: New file. - * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup): Save original - content of .got[1]. - (ELF_MACHINE_NO_RELA): Only define if RTLD_BOOTSTRAP. - (ELF_MACHINE_PLT_REL): Define. - (elf_machine_rela, elf_machine_rela_relative): New functions. - (elf_machine_lazy_rel): Reinitialize R_386_JUMP_SLOT address instead - of adjusting it if prelinked and prelinking cannot be used. - * sysdeps/powerpc/dl-machine.h (elf_machine_rela): If relocating - conflicts, skip finaladdr computation. Use RESOLVE_CONFLICT_FIND_MAP - to find out map for R_PPC_JMP_SLOT relocs. - * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Define. - (OPCODE_BA): Define. - (elf_machine_runtime_setup): Reinitialize .plt for prelinked - libraries where prelinking info cannot be used. - (sparc_fixup_plt): Renamed from elf_machine_fixup_plt. - (elf_machine_fixup_plt): Call sparc_fixup_plt. - (elf_machine_rela): Set value to 0 if relocating conflicts. - Call sparc_fixup_plt for R_SPARC_JMP_SLOT. - * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Define. - (sparc64_fixup_plt): Fix a typo. - (elf_machine_rela): Set value to 0 if relocating conflicts. - Handle R_SPARC_JMP_SLOT relocs when relocating conflicts. - (elf_machine_runtime_setup): Reinitialize .plt for prelinked - libraries where prelinking info cannot be used. - * sysdeps/sh/bits/link.h: New file. - * sysdeps/sh/dl-machine.h (elf_machine_runtime_setup): Save original - content of .got[1]. - (elf_machine_lazy_rel): Reinitialize R_SH_JMP_SLOT address instead - of adjusting it if prelinked and prelinking cannot be used. - * sysdeps/s390/s390-32/bits/link.h: New file. - * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup): - Save original content of .got[1]. - (elf_machine_lazy_rel): Reinitialize R_390_JMP_SLOT address instead - of adjusting it if prelinked and prelinking cannot be used. - * sysdeps/s390/s390-64/bits/link.h: New file. - * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup): - Save original content of .got[1]. - (elf_machine_lazy_rel): Reinitialize R_390_JMP_SLOT address instead - of adjusting it if prelinked and prelinking cannot be used. - * sysdeps/x86_64/bits/link.h: New file. - * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup): - Save original content of .got[1]. - (elf_machine_lazy_rel): Reinitialize R_X86_64_JMP_SLOT address instead - of adjusting it if prelinked and prelinking cannot be used. - -2001-12-11 Ulrich Drepper <drepper@redhat.com> - - * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_r): Use sizeof - where appropriate instead of numbers. Little optimizations. - -2001-12-10 Roland McGrath <roland@frob.com> - - * sysdeps/mach/hurd/bind.c (bind): Don't deallocate IFSOCK if we never - set it. - - * shlib-versions [USE_IN_LIBIO] (.*-.*-gnu-gnu.*): Set default - set to GLIBC_2.2.5, not GLIBC_2.2.4. - - * sysdeps/mach/hurd/configure.in (libc_cv_gcc_unwind_find_fde): - Fix conditionals so this is set by default for stdio and not for libio. - * sysdeps/mach/hurd/configure: Regenerated. - -2001-12-10 Thorsten Kukuk <kukuk@suse.de> - - * io/ftw.c (ftw_startup): Check, if the path is search and readable. - -2001-12-10 Ulrich Drepper <drepper@redhat.com> - - * io/Makefile (tests): Add bug-ftw3. - * io/bug-ftw3.c: New file. - - * sysdeps/generic/glob.c (glob): Return only pattern if nothing - matches and GLOB_NOCHECK is set. - * posix/globtest.sh: Correct expected result for NOCHECK test. - - * po/ca.po: Update from translation team. - -2001-12-09 Ulrich Drepper <drepper@redhat.com> - - Implement transliteration of characters in strings of the locale - definitions. - * locale/programs/linereader.c: Adjust for additional parameter to - lr_token. - (get_string): If character <Uxxxx> is not found try to transliterate - it. - * locale/programs/ld-ctype.c: Adjust for additional parameter to - lr_token. Add const to charmap parameter of all functions. - (find_translit, find_translit2): New functions. - * locale/programs/charmap.c: Adjust for additional parameter to - lr_token. - * locale/programs/repertoire.c: Likewise. - * locale/programs/linereader.h: Likewise. - * locale/programs/ld-address.c: Likewise. Add const to charmap - parameter of all functions. - * locale/programs/ld-collate.c: Likewise. - * locale/programs/ld-identification.c: Likewise. - * locale/programs/ld-measurement.c: Likewise. - * locale/programs/ld-messages.c: Likewise. - * locale/programs/ld-monetary.c: Likewise. - * locale/programs/ld-name.c: Likewise. - * locale/programs/ld-numeric.c: Likewise. - * locale/programs/ld-paper.c: Likewise. - * locale/programs/ld-paper.c: Likewise. - * locale/programs/ld-telephone.c: Likewise. - * locale/programs/ld-time.c: Likewise. - * locale/programs/locfile.c: Likewise. - * locale/programs/localedef.c: Likewise. - * locale/programs/localedef.h: Likewise. - * locale/programs/locfile.h: Likewise. Add declaration for - find_translit. - * locale/programs/simple-hash.c: Add const to first parameter of - find_entry, iterate_table, and lookup. - * locale/programs/simple-hash.h: Likewise. - * locale/localeinfo.h: Don't define __LC_LAST here. Include <locale.h> - instead. - * include/locale.h: Define __LC_LAST. - * iconv/Makefile (CFLAGS-linereader.c): Define to -DNO_TRANSLITERATION. + * sysdeps/ia64/dl-machine.h (TRAMPOLINE_TEMPLATE): Also preserve + r9, r10 and r11 for language specific registers. -2001-12-07 Geoff Keating <geoffk@redhat.com> +2001-01-10 Jakub Jelinek <jakub@redhat.com> - * sysdeps/powerpc/Dist: Update for recent FP changes. - * sysdeps/powerpc/fpu/Dist: Likewise. + * sunrpc/clnt_udp.c (clntudp_bufcreate): Set IP_RECVERR on the + UDP socket. + (clntudp_call): Handle MSG_ERRQUEUE. + * sysdeps/generic/errqueue.h: New file. + * sysdeps/unix/sysv/linux/errqueue.h: New file. -2001-12-07 Andreas Schwab <schwab@suse.de> +2001-01-10 H.J. Lu <hjl@gnu.org> - * sysdeps/unix/sysv/linux/opensock.c: Include <string.h>. + * sysdeps/unix/sysv/linux/ia64/syscalls.list (s_getpagesize): Removed. -2001-12-06 Geoff Keating <geoffk@redhat.com> +2001-01-10 Joseph S. Myers <jsm28@cam.ac.uk> - * sysdeps/powerpc/Makefile (sysdep_routines): Don't build the fpr - save/restore functions here. - (libm-support): Don't define these functions here. - * sysdeps/powerpc/fpu/Makefile: Build the fpr save/restore - functions here. - * sysdeps/powerpc/fe_nomask.c: Move to... - * sysdeps/powerpc/fpu/fe_nomask.c: ... here. - * sysdeps/powerpc/fprrest.S: Move to... - * sysdeps/powerpc/fpu/fprrest.S: ... here. - * sysdeps/powerpc/fprsave.S: Move to... - * sysdeps/powerpc/fpu/fprsave.S: ... here. + * CONFORMANCE: Update. -2001-12-06 Ulrich Drepper <drepper@redhat.com> +2001-01-09 Ulrich Drepper <drepper@redhat.com> - * sysdeps/unix/sysv/linux/opensock.c: New file. + * sysdeps/generic/elf/backtracesyms.c (__backtrace_symbols): + Minimal cleanups. Add assert to ensure memory handling is correct. -2001-12-06 Geoff Keating <geoffk@redhat.com> + * manual/conf.texi (File Minimums): Fix _POSIX_PATH_MAX value. + Reported by Ben Collins <bcollins@debian.org>. - * config.make.in (with-fp): Define from configure. - * configure.in: Substitute with_fp. - * configure: Regenerate. - * sysdeps/powerpc/Makefile: Set -msoft-float when --without-fp is - specified, and don't change FPU environment. + * time/strftime.c (my_strftime): Mark previous GNU extensions + which are now in C99 as such. -2001-12-06 Ulrich Drepper <drepper@redhat.com> +2001-01-08 Ulrich Drepper <drepper@redhat.com> - * libio/vasprintf.c (_IO_vasprintf): Free buffer on failure. - * assert/assert.c: Check result of __asprintf call and don't use - string if it failed. - * assert/assert-perr.c: Likewise. - * inet/rcmd.c: Likewise. - * locale/programs/localedef.c (main): Check result of - construct_output_path and exit if it failed. - (construct_output_path): Check result of asprintf and mkdir calls and - fail if they failed. - * posix/getopt.c: Check result of __asprintf calls and fail if - they failed. - Patch by Dmitry V. Levin <ldv@alt-linux.org>. + * elf/rtld.c (process_envvars): Place output files for profiling + in SUID binaries in /var/profile. -2001-12-05 Ulrich Drepper <drepper@redhat.com> + * elf/dl-load.c (_dl_map_object): Don't look in cache for + preloading in SUID binaries. - * sysdeps/generic/strcasecmp.c (__strcasecmp): Little performance - patch. - * sysdeps/generic/strncase.c: Likewise. - * string/tester.c: Add tests for strcasecmp and strncasecmp. + * elf/dl-profile.c (_dl_start_profile): Open the output file with + O_NOFOLLOW if possible. -2001-12-05 Geoff Keating <geoffk@redhat.com> + * include/stdlib.h: Add __posix_openpt declaration. + * stdlib/stdlib.h: Add posix_openpt declaration. + * login/Versions: Add posix_openpt for GLIBC_2.2.1. + * sysdeps/generic/getpt.c: Define posix_openpt. + * sysdeps/unix/bsd/getpt.c: Likewise. + * sysdeps/unix/sysv/linux/getpt.c: Likewise. - * scripts/cpp: Test the exit status from 'type', not 'awk'. + * time/Makefile (tests): Add tst-mktime. + * time/tst-mktime.c: New file. - * sysdeps/powerpc/__longjmp.S: Don't restore FP registers. - * sysdeps/powerpc/fpu/__longjmp.S: Do restore FP registers. - * sysdeps/powerpc/setjmp.S: Don't save FP registers. - * sysdeps/powerpc/fpu/setjmp.S: Do save FP registers. - * sysdeps/powerpc/fclrexcpt.c: Move to... - * sysdeps/powerpc/fpu/fclrexcpt.c: ... here. - * sysdeps/powerpc/fpu_control.h: Move to... - * sysdeps/powerpc/fpu/fpu_control.h: ... here. + * posix/tst-dir.c (main): One more mkdir() test. -2001-12-05 Ulrich Drepper <drepper@redhat.com> + * sysdeps/unix/sysv/linux/ia64/getpagesize.c (__getpagesize): + Remove getpagesize syscall. We assume that the pagesize is always + determined from the auxiliary vector. - * iconvdata/ibm1129.h: Remove duplicate mappings. - * iconvdata/ibm937.c: Handle overflow errors. Handle new tables. - * iconvdata/ibm937.h: Reorganize table to safe a lot of space. - Patch by Masahide Washizawa <WASHI@jp.ibm.com>. + * intl/dcigettext.c: Fix a few warnings. + Patch by Bruno Haible <haible@ilog.fr>. - * timezone/zic.c: Fix handling of turnaround times. - Patch by Arthur David Olson <olsona@dc37a.nci.nih.gov>. +2001-01-08 Andreas Jaeger <aj@suse.de> -2001-12-02 Moshe Olshansky <OLSHANSK@il.ibm.com> + * io/test-lfs.c (do_test): Check lseek64 return for EINVAL. + Reported by Joseph S. Myers <jsm28@cam.ac.uk>. - * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Fix - overflow problem. +2001-01-08 Ulrich Drepper <drepper@redhat.com> -2001-12-05 Ulrich Drepper <drepper@redhat.com> + * sysdeps/generic/segfault.c (install_handler): Check output file + name with access(). - * posix/regex.c: For use outside glibc defined bounded pointer - macros here. Patch by Jim Meyering <jim@meyering.net>. + * resolv/res_query.c: Use simply getenv() for HOSTALIASES. + * sysdeps/generic/unsecvars.h (UNSECURE_ENVVARS): Add HOSTALIASES. - * iconvdata/Makefile (modules): Add TCVN5712-1. - * iconvdata/TESTS: Add TCVN5712-1. - * iconvdata/gconv-modules: Likewise. - * iconvdata/tcvn5712-1.c: New file. - * iconvdata/testdata/TCVN-5712: New file. - * iconvdata/testdata/TCVN-5712..UTF8: New file. + * sysdeps/generic/unsecvars.h (UNSECURE_ENVVARS): Add missing comma. -2001-12-04 Ulrich Drepper <drepper@redhat.com> + * malloc/memusage.c (me): Use access() to determine whether we + should write the output file or not. - * iconvdata/cp1258.c: Optimize conversion from UCS4. + * libio/bits/stdio.h (printf): Define macro to map printf call to + fprintf which gcc can optimize. + * stdio-common/printf.c: Undefine printf. -2001-12-02 Roland McGrath <roland@frob.com> +2001-01-07 Ulrich Drepper <drepper@redhat.com> - * mach/Makefile, mach/Machrules: Move comments out of \ continuations. + * sysdeps/generic/bits/byteswap.h (__bswap_64): Partly revert last + patch. We must use unsigned int for l member of union. - * hurd/hurd.h (__hurd_fail): Add `break;' to silence new gcc-3 warning. - Reported by Jeff Bailey <jbailey@nisa.net>. + * sysdeps/powerpc/elf/libc-start.c (__libc_start_main): Don't call + _dl_aux_init for shared libraries. - * hurd/hurd.h (_hurd_umask): Remove volatile qualifier from decl. - Reported by Jeff Bailey <jbailey@nisa.net>. + * sysdeps/unix/sysv/linux/glob64.c: Moved to ... + * sysdeps/gnu/glob64.c: ...here. New file. - * mach/Makefile ($(objpfx)mach-syscalls.mk): Pass $(CFLAGS) to $(CC). - * mach/Machrules ($(objpfx)%.udeps static pattern rule): Likewise. - Reported by Jeff Bailey <jbailey@nisa.net>. +2001-01-07 Ben Collins <bcollins@debian.org> -2001-12-01 Roland McGrath <roland@frob.com> + * manual/examples/longopt.c: Make the "struct option" a little + more like it should be, adding usage of required_argument, + noargument and such, and also setting the options string right. - * sysdeps/mach/hurd/configure.in (libc_cv_gcc_unwind_find_fde): Add - missing backslash in test arguments. - * sysdeps/mach/hurd/configure: Regenerated. + * manual/sysinfo.texi (Load Average): New section, documents + getloadavg(). -2001-11-26 Roland McGrath <roland@frob.com> +2001-01-06 Ulrich Drepper <drepper@redhat.com> - * hurd/hurdinit.c (_hurd_ports_use): Check if _hurd_ports is null. - Reported by John Tobey <jtobey@john-edwin-tobey.org>. + * version.h (VERSION): Bump to 2.2.1. -2001-11-30 Ulrich Drepper <drepper@redhat.com> + * sysdeps/unix/sysv/linux/mips/Dist: Remove sys/acct.h. + * sysdeps/alpha/Dist: Add alphaev6/stxncpy.S and alphaev6/stxcpy.S. + * sysdeps/unix/sysv/aix/Dist: Add uitrunc.c, savef.S, and restf.S. + * dlfcn/Makefile (distribute): Add errmsg1mod.c. + * Makefile (distribute): Add include/libc-internal.h. + * libio/Makefile (distribute): Avoid overwriting. - * iconvdata/Makefile (modules): Add ARMSCII-8. - * iconvdata/gconv-modules: Add entries for ARMSCII-8. - * iconvdata/armscii-8.c: New file. + * iconvdata/ibm937.c (BODY to IBM937): Correct several mistakes in + buffer and table handling. -2001-11-29 Jakub Jelinek <jakub@redhat.com> +2001-01-05 H.J. Lu <hjl@gnu.org> - * sysdeps/generic/glob.c (next_brace_sub): Return NULL if braces - don't match, fix {{a,b},c} globbing, clean up. - Patch by Flavio Veloso <flaviovs@magnux.com>. - * posix/globtest.sh: Add new tests. + * elf/dl-support.c (non_dynamic_init): Move the auxiliary + vector checking to ... + (_dl_aux_init): Here. New function. Defined only if + HAVE_AUX_VECTOR is defined. -2001-11-29 Andreas Jaeger <aj@suse.de> + * sysdeps/generic/libc-start.c (__libc_start_main): Call + _dl_aux_init for static binaries if HAVE_AUX_VECTOR is defined. - * sysdeps/unix/sysv/linux/x86_64/Versions: Add arch_prctl. - * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add arch_prctl call. + * sysdeps/powerpc/elf/libc-start.c (__libc_start_main): Call + _dl_aux_init. - * sysdeps/generic/abort.c: Include libioP.h for - _IO_flush_all_lockp prototype. + * sysdeps/unix/sysv/linux/ldsodefs.h (DL_FIND_AUXV): Removed. + (HAVE_AUX_VECTOR): Defined. + (_dl_aux_init): Declared. -2001-11-29 Ulrich Drepper <drepper@redhat.com> +2001-01-05 Ben Collins <bcollins@debian.org> - * posix/regex.h: Define __restrict_arr correctly. + * manual/string.texi (Finding Tokens in a String): Document XPG + basename() and dirname(), as well as GNU basename(). -2001-11-28 Ulrich Drepper <drepper@redhat.com> +2001-01-05 Jakub Jelinek <jakub@redhat.com> - * iconvdata/ibm1163.c: New file. - * iconvdata/ibm1163.h: New file. - * iconvdata/ibm1164.c: New file. - * iconvdata/ibm1164.h: New file. - * iconvdata/TESTS: Add entries for IBM1163 and IBM1164. - * iconvdata/Makefile: Likewise. - * iconvdata/testdata/IBM1163: New file. - * iconvdata/testdata/IBM1163..UTF8: New file. - * iconvdata/testdata/IBM1164: New file. - * iconvdata/testdata/IBM1164..UTF8: New file. - Patch by Masahide Washizawa <WASHI@jp.ibm.com>. + * Makeconfig (preprocess-version): Replace -traditional with + -x assembler-with-cpp. - * iconvdata/ibm1046.h: Optimize. Remove duplicate mappings. - * iconvdata/ibm1124.h: Likewise. - * iconvdata/ibm1132.h: Likewise. - * iconvdata/ibm1133.h: Likewise. - * iconvdata/ibm1160.h: Likewise. - * iconvdata/ibm1161.h: Likewise. - * iconvdata/ibm1162.h: Likewise. - * iconvdata/ibm856.h: Likewise. - * iconvdata/ibm922.h: Likewise. - * iconvdata/ibm930.h: Likewise. - * iconvdata/ibm932.h: Likewise. - * iconvdata/ibm933.h: Likewise. - * iconvdata/ibm935.h: Likewise. - * iconvdata/ibm937.h: Likewise. - * iconvdata/ibm939.h: Likewise. - * iconvdata/ibm943.h: Likewise. - * iconvdata/ibm930.c: Pretty printing. - * iconvdata/ibm937.c: Avoid access accross array boundary. +2001-01-05 Joseph S. Myers <jsm28@cam.ac.uk> - * iconv/gconv_open.c (__gconv_open): Empty codeset name now means using - the current locale's codeset. - * iconv/iconv_open.c (iconv_open): Don't strip out everything for - empty input string. - * iconv/iconv_prog.c: Pass empty strings as default value for to- - and from-charset. Don't determine locale's charset here. + * math/bits/cmathcalls.h: Don't define inline cimag, creal or conj + for GCC 2.97 or later. - * libio/genops.c (_IO_flush_all_lockp): New function. The same code - as the old _IO_flush_all but lock only if parameter is nonzero. - (_IO_flush_all): Call _IO_flush_all_lockp with 1 as parameter. - * libio/libioP.h: Add prototype for _IO_flush_all_lockp. - * sysdeps/generic/abort.c (fflush): Define to _IO_flush_all_lockp(0) - if libio is used [PR libc/2575]. +2001-01-05 Ben Collins <bcollins@debian.org> -2001-11-28 Jakub Jelinek <jakub@redhat.com> + * manual/stdio.texi (getline): Clarify the return value in the + case of EOF being reached before a newline. - * sysdeps/sparc/fpu/bits/mathinline.h (__signbitf, __signbit, - __signbitl): Only define for ISO C99. +2001-01-04 Jakub Jelinek <jakub@redhat.com> -2001-11-22 Thorsten Kukuk <kukuk@suse.de> + * sunrpc/pmap_clnt.c (__get_myaddress): Return TRUE if successful, + FALSE otherwise. + (pmap_set, pmap_unset): Check __get_myaddress return value. - * nss/nss_files/files-hosts.c (_nss_files_get##name##_r): Set - herrnop to NETDB_INTERNAL if we run out of buffer space. +2001-01-05 Mark Kettenis <kettenis@gnu.org> -2001-11-28 Ulrich Drepper <drepper@redhat.com> + * sysdeps/generic/netinet/if_ether.h: Include <sys/types.h>. + (struct ether_addr): Declare ether_addr_octet member as + `u_int8_t'. Add __attribute__ ((__packed__)). - * nss/nss_files/files-XXX.c (internal_getent): Correct input - overflow test for platforms with signed char. - Reported by Andrew Haley <aph@cambridge.redhat.com>. +2001-01-06 Mark Kettenis <kettenis@gnu.org> -2001-11-28 Bruno Haible <bruno@clisp.org> + * sysdeps/mach/hurd/readdir64.c: New file. + * sysdeps/mach/hurd/readdir64_r.c: New file. - * locale/programs/simple-hash.c (lookup_2): Remove function. - (insert_entry_2): Call lookup instead of lookup_2. +2001-01-07 Mark Kettenis <kettenis@gnu.org> -2001-03-04 Bruno Haible <bruno@clisp.org> + * sysdeps/mach/hurd/fstatvfs.c (fstatvfs): Add comment about + `struct statfs' and `struct statvfs' being identical. + * sysdeps/mach/hurd/statvfs.c (statvfs): Likewise. - * intl/dcigettext.c (DCIGETTEXT): Increment path_max proportionally. +2001-01-06 Mark Kettenis <kettenis@gnu.org> -2001-10-31 Bruno Haible <bruno@clisp.org> + * sysdeps/mach/hurd/fstatfs64.c: New file. + * sysdeps/mach/hurd/fstatvfs64.c: New file. + * sysdeps/mach/hurd/statfs64.c: New file. + * sysdeps/mach/hurd/statvfs64.c: New file. + * sysdeps/mach/hurd/statfsconv.c: New file. + * sysdeps/mach/hurd/Dist: Add statfsconv.c. - * intl/plural.y: Include <stddef.h>, needed for NULL with SunOS 4 cc. +2001-01-06 Ulrich Drepper <drepper@redhat.com> -2001-03-21 Bruno Haible <bruno@clisp.org> + * iconv/skeleton.c: Reset outbuf for next round of the loop. + Reported by Owen Taylor <otaylor@redhat.com>. + * iconv/Makefile (tests): Add tst-iconv3. + * iconv/tst-iconv3.c: New file. - * intl/dcigettext.c (_nl_state_lock): Mark as #ifdef _LIBC. AIX 3 xlc - chokes on empty macro arguments. - * intl/plural.y: Add #pragma for alloca on AIX 3. + * iconvdata/ibm930.c: Fix handling of state. Optimize a bit. + * iconvdata/ibm933.c: Likewise. + * iconvdata/ibm935.c: Likewise. + * iconvdata/ibm937.c: Likewise. + * iconvdata/ibm939.c: Likewise. + * iconvdata/ibm930.h: Adjust single byte table for optimization. + * iconvdata/ibm933.h: Likewise. + * iconvdata/ibm935.h: Likewise. + * iconvdata/ibm939.h: Likewise. -2001-11-27 Ulrich Drepper <drepper@redhat.com> + * iconvdata/testdata/IBM930: Add misssing SI. + * iconvdata/testdata/IBM933: Likewise. + * iconvdata/testdata/IBM935: Likewise. + * iconvdata/testdata/IBM937: Likewise. + * iconvdata/testdata/IBM939: Likewise. + +2001-01-06 Andreas Jaeger <aj@suse.de> + + * configure.in: Check for old add-ons that shouldn't be used with + current glibc anymore. + +2001-01-06 Mark Kettenis <kettenis@gnu.org> + + * sysdeps/mach/hurd/readdir_r.c (__readdir_r): Return error number + instead of -1 on failure. Don't forget to copy file name into + *ENTRY if successful. Set *RESULT to NULL upon reaching the end + of the directory. + +2001-01-06 Mark Kettenis <kettenis@gnu.org> + + * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Don't forget to + copy st_atime member. + +2001-01-05 Ulrich Drepper <drepper@redhat.com> + + * io/ftw.c (ftw_dir): Don't add a second slash at the beginning + for searches from the root directory. + Reported by loris <loris@iol.it> [PR libc/1991]. + * io/Makefile (tests): Add bug-ftw1. + * io/bug-ftw1.c: New file. + + * elf/dl-support.c (non_dynamic_init): Don't define DL_FIND_AUXV + if it is not available. Instead use it only if it is available. + * sysdeps/unix/sysv/linux/ldsodefs.h: New file. + + * iconv/gconv_simple.c (internal_ics4_loop): Correct test for + overflowing output buffer. + (internal_ucs4_loop_unaligned): Likewise. + (ucs4_internal_loop): Likewise. + (ucs4_internal_loop_unaligned): Likewise. + (internal_ucs4le_loop): Likewise. + (internal_ucs4le_loop_unaligned): Likewise. + (ucs4le_internal_loop): Likewise. + (ucs4le_internal_loop_unaligned): Likewise. + Reported by Owen Taylor <otaylor@redhat.com>. + * iconv/Makefile (tests): Add tst-iconv2. + * iconv/tst-iconv2.c: New file. + +2001-01-04 H.J. Lu <hjl@gnu.org> + + * elf/dl-support.c (DL_FIND_AUXV): New. Defined if not defined. + (_dl_clktck): Declared. + (non_dynamic_init): Take 3 arguments. + Set _dl_pagesize, _dl_platform and _dl_clktck from AUX. + +2001-01-01 Bruno Haible <haible@clisp.cons.org> + + Finish implementation of plural form handling. + * intl/dcigettext.c (known_translation_t): Rename 'domain' field to + 'domainname'. Remove 'plindex' field. Add 'domain' and + 'translation_length' fields. + (transcmp): Don't compare 'plindex' fields. + (plural_lookup): New function. + (DCIGETTEXT): Change cache handing in the plural case. Don't call + plural_eval before the translation and its catalog file have been + found. Remove plindex from cache key. Add 'translation_length' and + 'domain' to cache result. + (_nl_find_msg): Remove index argument, return length of translation + to the caller instead. Weaken comparison of string lengths, to account + for plural entries. Call iconv() on the entire result string, not + only on the portion needed so far. + * intl/loadinfo.h (_nl_find_msg): Remove index argument, add lengthp + argument. + * intl/loadmsgcat.c (_nl_load_domain): Adapt to _nl_find_msg change. - * intl/dcigettext.c (guess_category_value): Only implement for - glibc. Otherwise rely on function _nl_locale_name which isn't - present in the glibc sources. +2001-01-04 Ulrich Drepper <drepper@redhat.com> -2001-09-24 Bruno Haible <bruno@clisp.org> + * intl/plural.y (yylex): Minimal improvement in number scanner. - * intl/loadmsgcat.c (_nl_init_domain_conv): Also enable - transliteration when building on a glibc system but outside glibc. +2000-07-31 Bruno Haible <haible@clisp.cons.org> -2001-09-22 Bruno Haible <bruno@clisp.org> + * intl/plural.y: Include config.h. Needed to define 'inline' away for + C compilers that don't support it. + (yylex): Don't use gcc specific case range syntax. + * intl/loadmsgcat.c (INIT_GERMANIC_PLURAL): New macro, for old + compilers. - * intl/plural-eval.c: New file, extracted from dcigettext.c. - * intl/dcigettext.c (plural_eval): Remove function, moved to - intl/plural-eval.c. - (plural_lookup): Call PLURAL_EVAL instead of plural_eval. - Include plural-eval.c. +2000-10-12 Bruno Haible <haible@clisp.cons.org> -2001-09-22 Bruno Haible <bruno@clisp.org> + * intl/finddomain.c: Remove unneeded includes. - * intl/plural-exp.c (EXTRACT_PLURAL_EXPRESSION): Reject numbers that - don't start with a digit; nplurals must be positive. +2000-10-12 Bruno Haible <haible@clisp.cons.org> -2001-09-02 Bruno Haible <bruno@clisp.org> + * intl/localealias.c (memcpy): Return first argument, just like the + real memcpy function does. + * intl/bindtextdom.c (memcpy): Likewise. + * intl/finddomain.c (memcpy): Likewise. + * intl/l10nflist.c (memcpy): Likewise. + * intl/textdomain.c (memcpy): Likewise. + From Paul Eggert <eggert@twinsun.com>. - * intl/plural-exp.h: New file, extracted from gettextP.h. - * intl/plural-exp.c: New file, extracted from loadmsgcat.c. - * intl/gettextP.h (struct expression, struct parse_args, - __gettext_free_exp, __gettextparse): Move to plural-exp.h. - * intl/loadmsgcat.c: Include plural-exp.h. - (PLURAL_PARSE): Move macro to plural-exp.h. - (plvar, plone, germanic_plural, INIT_GERMANIC_PLURAL): Move to - plural-exp.c. - (_nl_load_domain): Move plural handling code to plural-exp.c. Call - EXTRACT_PLURAL_EXPRESSION. - (_nl_unload_domain): Update. - * intl/dcigettext.c: Include plural-exp.h. - * intl/plural.y: Include plural-exp.h, not gettextP.h. - (FREE_EXPRESSION): Move macro to plural-exp.h. - * intl/Makefile (routines): Add plural-exp. - (distribute): Add plural-exp.h. +2001-01-03 Jakub Jelinek <jakub@redhat.com> -2001-07-28 Bruno Haible <bruno@clisp.org> + * resolv/resolv.h (struct __res_state): Add nsinit field. + * resolv/res_send.c (res_nsend): Use it instead of nscount. + * resolv/res_init.c (__res_vinit): Initialize it. + (res_nclose): Clear it instead of nscount. - * intl/l10nflist.c (_nl_normalize_codeset): Cast isalnum, isalpha, - isdigit, tolower argument to 'unsigned char'. - * intl/loadmsgcat.c (_nl_load_domain): Cast isspace argument to - 'unsigned char'. - * intl/localealias.c (read_alias_file): Cast isspace argument to - 'unsigned char'. +2001-01-04 Ulrich Drepper <drepper@redhat.com> -2001-10-20 Bruno Haible <bruno@clisp.org> + * malloc/mtrace.pl: Fix matching of addresses. + Patch by Aharon Robbins <arnold@skeeve.com>. - Assume strchr() exists. (Without it, intl/explodename.c wouldn't link - anyway.) - * intl/dcigettext.c (strchr): Remove fallback definition; it conflicts - with the variable 'index' in plural_lookup. - * intl/l10nflist.c (strchr): Likewise. - * intl/localealias.c (strchr): Likewise. + * Versions.def (ld): Add GLIBC_2.2. - Assume <stddef.h>, <stdlib.h>, <string.h>, <locale.h> exist. - * intl/bindtextdom.c: Likewise. - * intl/dcigettext.c: Likewise. - * intl/dgettext.c: Likewise. - * intl/dngettext.c: Likewise. - * intl/explodename.c: Likewise. - * intl/finddomain.c: Likewise. - * intl/gettext.c: Likewise. - * intl/l10nflist.c: Likewise. - * intl/loadmsgcat.c: Likewise. - * intl/localealias.c: Likewise. - * intl/ngettext.c: Likewise. - * intl/textdomain.c: Likewise. - * intl/gettext.h: Assume <limits.h> exists. + * catgets/gencat.c: Copyright 2001. + * csu/version.c: Likewise. + * debug/catchsegv.sh: Likewise. + * debug/xtrace.sh: Likewise. + * elf/ldconfig.c: Likewise. + * elf/sprof.c: Likewise. + * iconv/iconv_prog.c: Likewise. + * locale/locale.c: Likewise. + * locale/localedef.c: Likewise. + * malloc/memusage.sh: Likewise. + * malloc/mtrace.pl: Likewise. + * nscd/nscd.c: Likewise. + * posix/getconf.c: Likewise. -2001-11-27 Ulrich Drepper <drepper@redhat.com> +2001-01-04 Mark Kettenis <kettenis@gnu.org> - * stdio-common/Makefile (tests): Add scanf11. - * stdio-common/scanf11.c: New file. + * include/stdio.h: Only provide __getwc_unlocked prototype if + USE_IN_LIBIO is defined. -2001-11-26 Ulrich Drepper <drepper@redhat.com> +2001-01-04 Kaz Kojima <kkojima@rr.iij4u.or.jp> - * version.h (RELEASE): Define as development. - (VERSION): Set to 2.2.90. + * sysdeps/unix/sysv/linux/sh/socket.S (__socket): Fix error code + handling. -2001-11-22 Thorsten Kukuk <kukuk@suse.de> +2001-01-03 Andreas Schwab <schwab@suse.de> - * nis/nss_compat/compat-grp.c: Print group id as unsigned long. - * nis/nss_nis/nis-grp.c: Likewise. - * nis/nss_nisplus/nisplus-grp.c: Likewise. + * sysdeps/generic/strtoll.c: Remove unused __strtoq_internal alias. + * sysdeps/generic/strtoull.c: Remove unused __strtouq_internal alias. - * nis/nss_compat/compat-pwd.c: Print user id as unsigned long. - * nis/nss_nis/nis-pwd.c: Likewise. - * nis/nss_nisplus/nisplus-pwd.c: Likewise. + * sysdeps/wordsize-64/strtol.c: Add strtoq alias and fix strtoll alias. + * sysdeps/wordsize-64/strtoul.c: Add strtouq alias and fix + strtoull alias. + * sysdeps/wordsize-64/wcstol.c: Add wcstoq alias and fix wcstoll alias. + * sysdeps/wordsize-64/wcstoul.c: Add wcstouq alias and fix + wcstoull alias. - * nis/nss_nis/nis-publickey.c: Use strtoul instead of atoi. - * nis/nss_nisplus/nisplus-parser.c: Likewise. - * nis/nss_nisplus/nisplus-publickey.c: Likewise. + * sysdeps/generic/strtoul.c: Make sure we find strtol.c in this + directory. + * sysdeps/generic/strtol_l.c: Likewise. + * sysdeps/generic/strtoul_l.c: Likewise. + * sysdeps/generic/wcstoul.c: Likewise, for wcstol.c. - * nscd/grpcache.c: Use strtoul instead of atol. - * nscd/pwdcache.c: Likewise. - * nss/getent.c: Likewise. + * sysdeps/wordsize-64/strtol_l.c: Fix alias. + * sysdeps/wordsize-64/strtoul_l.c: Likewise. + * sysdeps/wordsize-64/wcstol_l.c: Fix alias. + * sysdeps/wordsize-64/wcstoul_l.c: Likewise. -2001-11-27 Paul Eggert <eggert@twinsun.com> +2001-01-04 Andreas Jaeger <aj@suse.de> - * sysdeps/posix/tempname.c (__gen_tempname): Try at least - ATTEMPTS_MIN or TMP_MAX times, whichever is greater. + * nss/nsswitch.c: Include files for missing prototypes, remove + buggy declaration of prototypes. -2001-11-19 Bruno Haible <bruno@clisp.org> +2001-01-03 Franz Sirl <Franz.Sirl-kernel@lauterbach.com> - * locale/programs/simple-hash.c (insert_entry_2): Resize at 75%, not - 90%. - (compute_hashval): Shift by 9 bits, not by 4 bits. This drastically - improves the quality of the hash function, especially for short - strings. + * resolv/Versions: Fix bracing. + * sysdeps/powerpc/soft-fp/Versions: Likewise. + * sysdeps/sparc/sparc64/soft-fp/Versions: Likewise. -2001-11-26 Ulrich Drepper <drepper@redhat.com> +2001-01-02 Franz Sirl <Franz.Sirl-kernel@lauterbach.com> - * stdio-common/vfscanf.c: If incomplete nan of inf(inity) strings - are found call conv_error and not input_error [PR libc/2669]. + * sysdeps/powerpc/dl-machine.c (__process_machine_rela): Fix typo. - * math/bits/mathcalls.h: Mark ceil and floor as const. - Reported by David Mosberger. +2001-01-02 Ulrich Drepper <drepper@redhat.com> -2001-11-21 Jim Meyering <meyering@lucent.com> + * manual/Makefile (TEXI2PDF): Change to texi2dvi --pdf. + Suggested by Minko Markov <mmarkov@home.com>. - * posix/regex.c (iswctype, mbrtowc, wcslen, wcscoll, wcrtomb) [_LIBC]: - Define to be __-prefixed. - Remove unnecessary duplication in `#ifdef _LIBC' blocks. +2001-01-02 Franz Sirl <Franz.Sirl-kernel@lauterbach.com> -2001-11-26 Andreas Jaeger <aj@suse.de> + * sysdeps/powerpc/elf/start.S (__data_start): Make it global. + * sysdeps/powerpc/dl-machine.c (dl_reloc_overflow): Print the name of + the failing symbol. + (__process_machine_rela): Pass symbol to dl_reloc_overflow(). - * sysdeps/unix/sysv/linux/hppa/brk.c: Remove __brk_addr alias, - avoid warning. +2001-01-02 Ben Collins <bcollins@debian.org> -2001-11-26 Stephen L Moshier <moshier@mediaone.net> + * time/tzset.c (tzset_internal): Make sure we fall back to UTC + if TZ is not set and TZDEFAULT is not present. - * sysdeps/ieee754/ldbl-128/e_log10l.c (L102B): Fix typo in - initialization. +2001-01-01 Ben Collins <bcollins@debian.org> - * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Remove - unused variables. Fix threshold for returning 1.0. + * string/strings.h: Make sure we declare our functions even if + string.h is already included, based on whether or not __USE_BSD is + defined. - * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (neval, deval): Constify - argument. +2001-01-02 Ulrich Drepper <drepper@redhat.com> - * sysdeps/ieee754/ldbl-128/s_erfl.c (neval, deval): Likewise, and - remove unused variables. + * dlfcn/dlerror.c (dlerror): Handle call of dlerror() before any + other dlopen() and dlsym(). + Based on a patch by Ben Collins <bcollins@debian.org>. - * sysdeps/ieee754/ldbl-128/e_j0l.c (neval, deval): Likewise. +2001-01-02 Andreas Jaeger <aj@suse.de> - * sysdeps/ieee754/ldbl-128/e_j1l.c (neval, deval): Likewise, and - include local math header files. + * dlfcn/errmsg1.c (main): Call dlerror initially. + Reported by Ben Collins <bcollins@debian.org>. -2001-11-22 Andreas Jaeger <aj@suse.de> +2001-01-02 Ulrich Drepper <drepper@redhat.com> - * sysdeps/ieee754/ldbl-96/s_ilogbl.c (__ilogbl): Add brace to - avoid warning. + * intl/dcigettext.c (guess_category_value): Rewrite so that LANGUAGE + value is ignored if the selected locale is the C locale. + * intl/tst-gettext.c: Set locale for above change. + * intl/tst-translit.c: Likewise. -2001-11-21 Andreas Jaeger <aj@suse.de> +2001-01-02 Andreas Jaeger <aj@suse.de> - * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: New file. + * libio/wgenops.c (_IO_wdoallocbuf): Use correct wide access macro. + (_IO_switch_to_wget_mode): Likewise. + (_IO_sputbackwc): Likewise. + (_IO_sungetwc): Use wint_t for result. - * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers): Add - sys/debugreg.h + * stdio-common/vfscanf.c (__vfscanf): Use WINT_T for done. -2001-11-15 Andreas Jaeger <aj@suse.de> + * sysdeps/generic/strtol.c (strtol): Make cnt size_t for correct + signedness. - * include/features.h (__GLIBC_HAVE_LONG_LONG): Define for - compilers that support it. + * sysdeps/generic/printf_fphex.c (putc): Cast _IO_putwc_unlocked + to (int) to avoid warnings. + * stdio-common/printf_fp.c (putc): Likewise. + * stdio-common/printf_size.c (putc): Likewise. - * posix/sys/types.h: Use __GLIBC_HAVE_LONG_LONG. - * sysdeps/unix/sysv/linux/bits/types.h: Likewise. - * stdlib/stdlib.h: Likewise. - -2001-11-17 Ulrich Drepper <drepper@redhat.com> - - * posix/regex.c (byte_re_match_2_internal): For gcc replace switch - statement with gotos. - Based on a patch by Paolo Bonzini <bonzini@pc-amo3.elet.polimi.it>. - -2001-11-16 Stephen L Moshier <moshier@mediaone.net> - - * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfcl): Fix K&R header. - -2001-11-15 Ulrich Drepper <drepper@redhat.com> - - * sysdeps/generic/unwind-dw2-fde.c: Don't use recursive mutexes. - -2001-10-02 Jakub Jelinek <jakub@redhat.com> - H.J. Lu <hjl@gnu.org> - - * Versions.def (libc): Add GCC_3.0. - * configure.in (libc_cv_gcc_static_libgcc): Set to -static-libgcc - if gcc supports this flag. - (EXPORT_UNWIND_FIND_FDE): Define unless target configure disables it. - (gcc3): Allow glibc to be compiled with gcc 3.x. - * config.h.in (EXPORT_UNWIND_FIND_FDE): Add. - * config.make.in (static-libgcc, unwind-find-fde): Add. - * Makerules (build-shlib-helper, build-module-helper): Use it. - * scripts/versions.awk: Make sure GLIBC_ versions come first. - * elf/soinit.c (__libc_global_ctors): Set tbases and dbases if - necessary. - (_fini): Call __deregister_frame_info_bases if - __register_frame_info_bases was used to register. - * elf/Versions (__register_frame_info, __deregister_frame_info): Add - for GLIBC_2.0. - (__register_frame_info_bases, __register_frame_info_table_bases, - __deregister_frame_info_bases, _Unwind_Find_FDE): Add for GCC_3.0. - * elf/Makefile (routines): Add unwind-dw2-fde. - (shared-only-routines): Add unwind-dw2-fde. - * sysdeps/alpha/gccframe.h: New file. - * sysdeps/arm/gccframe.h: New file. - * sysdeps/generic/framestate.c: New file. - * sysdeps/generic/dwarf2.h: New file. - * sysdeps/generic/gccframe.h (struct object): Update from gcc 3.0. - * sysdeps/generic/unwind-dw2-fde.c: New file. - * sysdeps/unix/sysv/linux/ia64/unwind-dw2-fde.c: New file. - * sysdeps/generic/unwind-dw2-fde.h: New file. - * sysdeps/generic/unwind-dw2.c: New file. - * sysdeps/generic/unwind-pe.h: New file. - * sysdeps/generic/unwind.h: New file. - * sysdeps/hppa/gccframe.h: New file. - * sysdeps/i386/gccframe.h: New file. - * sysdeps/m68k/gccframe.h: New file. - * sysdeps/mips/gccframe.h: New file. - * sysdeps/powerpc/gccframe.h: New file. - * sysdeps/s390/gccframe.h: New file. - * sysdeps/sh/gccframe.h: New file. - * sysdeps/sparc/gccframe.h: New file. - * sysdeps/vax/gccframe.h: New file. - * sysdeps/unix/sysv/linux/configure.in (libc_cv_gcc_unwind_find_fde): - Set on all architectures except ia64. - * sysdeps/mach/hurd/configure.in (libc_cv_gcc_unwind_find_fde): Set - for i386. - * sysdeps/mach/hurd/i386/Versions (__register_frame_info, - __deregister_frame_info): Move to elf/Versions. - * sysdeps/unix/sysv/linux/m68k/Versions: Likewise. - * sysdeps/unix/sysv/linux/arm/Versions: Likewise. - * sysdeps/unix/sysv/linux/alpha/Versions: Likewise. - * sysdeps/unix/sysv/linux/i386/Versions: Likewise. - * sysdeps/unix/sysv/linux/mips/Versions: Likewise. - * sysdeps/unix/sysv/linux/powerpc/Versions: Likewise. - * sysdeps/unix/sysv/linux/s390/s390-32/Versions: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc32/Versions: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc64/Versions: Likewise. - * sysdeps/mach/hurd/i386/Makefile (sysdep-routines): Add framestate. - * sysdeps/unix/sysv/linux/arm/Makefile: Likewise. - * sysdeps/unix/sysv/linux/alpha/Makefile: Likewise. - * sysdeps/unix/sysv/linux/i386/Makefile: Likewise. - * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise. - * sysdeps/unix/sysv/linux/mips/Makefile: Likewise. - * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise. - * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Likewise. - * sysdeps/unix/sysv/linux/sparc/Makefile: Likewise. + * sysdeps/generic/dl-sysdep.c (_dl_important_hwcaps): Make + constant unsigned. -2001-11-15 Jeff Law <law@redhat.com> +2001-01-01 Andreas Jaeger <aj@suse.de> - * posix/regex.c (uintptr_t): Do not provide a definition if the - system provided one. + * inet/rcmd.c (rcmd_af): Use socklen_t for len. -2001-11-13 Roland McGrath <roland@frob.com> +2000-12-31 Andreas Jaeger <aj@suse.de> - * stdio-common/tmpfile.c: Moved to ... - * sysdeps/generic/tmpfile.c: ... here. - * sysdeps/mach/hurd/tmpfile.c: New file. + * include/libc-internal.h: Add prototype for __libc_freeres. - * hurd/fopenport.c (__fopenport): Renamed from fopenport. - [USE_IN_LIBIO] (fopencookie): #define as _IO_fopencookie. - (fopenport): Define as weak alias. + * sysdeps/unix/sysv/linux/init-first.c: Include <libc-internals.h> + for prototypes, remove redundant prototypes. + * gmon/gmon.c: Likewise. + * sysdeps/unix/i386/i586/clock_getres.c: Likewise. + * sysdeps/unix/i386/i586/clock_gettime.c: Likewise. + * malloc/mtrace.c: Likewise. - * libio/iofopncook.c (_IO_fopencookie): Move forward declaration ... - * libio/libioP.h: ... to here. + * sysdeps/generic/enbl-secure.c: Include <libc-internals.h> for + prototypes. + * elf/soinit.c: Likewise. + * sysdeps/generic/prof-freq.c: Likewise. + * sysdeps/mach/hurd/profil.c: Likewise. + * debug/noophooks.c: Likewise. + * debug/pcprofile.c: Likewise. + * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Likewise. + * sysdeps/generic/get_clockfreq.c: Likewise. + * malloc/set-freeres.c: Likewise. -2001-11-12 Ulrich Drepper <drepper@redhat.com> + * locale/localeinfo.h: Add internal prototypes. - * elf/dl-reloc.c (_dl_relocate_object): Avoid iterating over - program header twice. Construct list with the needed information. + * elf/rtld.c (dl_main): Fix prototype. -2001-11-10 Ulrich Drepper <drepper@redhat.com> + * iconvdata/tst-table-to.c (main): Use return instead of exit to + avoid warning. - * po/ca.po: Update from translation team. + * nis/rpcsvc/yp_prot.h: Remove __P. + * nis/rpcsvc/ypupd.h: Likewise. + * nis/rpcsvc/yp.h: Likewise. - * elf/dl-load.c (_dl_map_object_from_fd): Remove use of - _dl_pf_to_prot. Use arithmetic operation using PF_TO_PROT macro. - * sysdeps/generic/ldsodefs.h (PF_TO_PROT): New macro. - * elf/dl-reloc.c (_dl_relocate_object): Likewise. + * sunrpc/rpc_main.c: Add noreturn attributes. + * sunrpc/rpc_scan.h: Likewise. -2001-11-10 Andreas Jaeger <aj@suse.de> + * sunrpc/rpc_hout.c (storexdrfuncdecl): Make static. - * sysdeps/ieee754/ldbl-128/e_log2l.c: New file. - * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise. - Contributed by Stephen L Moshier <moshier@mediaone.net>. + * sunrpc/rpcinfo.c: Add noreturn attribute to brdcst. -2001-11-09 Ulrich Drepper <drepper@redhat.com> + * sunrpc/proto.h: Add noreturn attributes to error and crash. - * elf/dl-minimal.c (realloc): Handle NULL for first parameter - correctly. - * elf/dl-load.c (is_dst): New function. - (_dl_dst_count): Use is_dst to check for DST variable. - (_dl_dst_substitute): Likewise. + * posix/bsd-getpgrp.c: Add prototype to avoid warning. -2001-11-09 Roland McGrath <roland@frob.com> + * sunrpc/svc_unix.c: Include <rpc/svc.h> for prototypes. - Hurd/PowerPC port contributed by Peter Bruin <pjbruin@dds.nl>. - * sysdeps/mach/hurd/powerpc/exc2signal.c: New file. - * sysdeps/mach/hurd/powerpc/init-first.c: New file. - * sysdeps/mach/hurd/powerpc/intr-msg.h: New file. - * sysdeps/mach/hurd/powerpc/longjmp-ts.c: New file. - * sysdeps/mach/hurd/powerpc/register-dump.h: New file. - * sysdeps/mach/hurd/powerpc/sigreturn.c: New file. - * sysdeps/mach/hurd/powerpc/static-start.S: New file. - * sysdeps/mach/hurd/powerpc/trampoline.c: New file. - * sysdeps/mach/hurd/powerpc/bits/sigcontext.h: New file. - * sysdeps/mach/hurd/powerpc/Dist: New file. + * sunrpc/create_xid.c: Include <rpc/svc.h> for prototypes. - * hurd/privports.c (__get_privileged_ports): - Only contact the proc server if necessary for this call. - Suggested by Neal H Walfield <neal@cs.uml.edu>. - Check error return for mach_port_mod_refs. + * include/rpc/rpc_msg.h: Add prototypes for some functions. + * include/rpc/auth.h: Likewise. + * include/rpc/auth_des.h: Likewise. + * include/rpc/clnt.h: Likewise. + * include/rpc/rpc.h: Likewise. + * include/rpc/svc.h: Likewise. + * include/rpc/svc_auth.h: Likewise. -2001-11-09 Andreas Schwab <schwab@suse.de> + * include/rpc/des_crypt.h: New file. - * sysdeps/unix/sysv/linux/m68k/bits/resource.h: New file. + * malloc/memusagestat.c (main): Use return instead of exit to + avoid warning. + * io/pwd.c (main): Likewise. + * iconvdata/tst-table-from.c (main): Likewise. + * ctype/test_ctype.c (main): Likewise. + * setjmp/tst-setjmp.c (main): Likewise. + * signal/tst-signal.c (main): Likewise. + * stdlib/tst-strtol.c (main): Likewise. + * stdlib/tst-strtod.c (main): Likewise. + * stdlib/tst-strtoll.c (main): Likewise. + * stdlib/tst-xpg-basename.c (main): Likewise. + * dirent/tst-seekdir.c (main): Likewise. + * grp/testgrp.c (main): Likewise. + * inet/test_ifindex.c (main): Likewise. + * io/test-utime.c (main): Likewise. + * posix/test-vfork.c (main): Likewise. + * posix/testfnm.c (main): Likewise. + * stdio-common/temptest.c (main): Likewise. + * stdio-common/test_rdwr.c (main): Likewise. + * stdio-common/tst-fileno.c (main): Likewise. + * stdio-common/tst-sscanf.c (main): Likewise. + * stdio-common/tstscanf.c (main): Likewise. + * string/bug-strncat1.c (main): Likewise. + * string/bug-strpbrk1.c (main): Likewise. + * string/bug-strspn1.c (main): Likewise. + * string/test-ffs.c (main): Likewise. + * string/tst-inlcall.c (main): Likewise. + * string/tst-svc.c (main): Likewise. + * timezone/test-tz.c (main): Likewise. + * wctype/test_wcfuncs.c (main): Likewise. + * wctype/test_wctype.c (main): Likewise. -2001-11-09 Ulrich Drepper <drepper@redhat.com> + * stdlib/tst-random.c: Add attribute noreturn to fail. - * elf/dl-load.c (lose): Remove some unnecessary code. The new - object is always the last in the list. - (_dl_map_object_from_fd): Delete code to remove from object list - when DF_1_NOOPEN is seen. This is done in lose. +2000-12-28 Wolfram Gloger <wg@malloc.de> -2001-11-08 Ulrich Drepper <drepper@redhat.com> + * malloc/malloc.c (MALLOC_COPY): Handle case if source and + destination overlap. Assume dest is always below source if + overlapping. - * elf/dl-object.c (_dl_new_object): Various small optimizations. +2000-12-30 Ulrich Drepper <drepper@redhat.com> -2001-11-07 Ulrich Drepper <drepper@redhat.com> + * elf/dl-close.c (_dl_close): We can ignore the NODELETE flag if the + object was not yet initialized. - * sysdeps/generic/dl-cache.c: Optimize SEARCH_CACHE and - HWCAP_CHECK macro code. +2000-12-28 H.J. Lu <hjl@gnu.org> - * elf/dl-misc.c (_dl_sysdep_read_whole_file): Optimize code a bit. - Now returns MAP_FAILED on error. - * elf/rtld.c: Adjust caller. - * sysdeps/generic/dl-cache.c: Likewise. - * sysdeps/generic/ldsodefs.h: Adjust description. + * elf/dl-deps.c (_dl_map_object_deps): Make sure the DSO state + is always consistent even if its dependency is failed. - * elf/dl-version.c (match_symbol): Optimize error handling for size. - (_dl_check_map_versions): Likewise. + * elf/dl-open.c (_dl_open): Increment the open count before + calling _dl_close () in case of failure. -2001-11-06 Ulrich Drepper <drepper@redhat.com> + * elf/neededtest4.c: New file. + * elf/neededobj5.c: New file. + * elf/neededobj6.c: New file. - * elf/dl-load.c (_dl_map_object_from_fd): Don't call - _dl_signal_error directly, always use lose. Set fd to -1 after - file is closed. - (lose): Don't call close if fd == -1. + * elf/Makefile (distribute): Add neededobj5.c and neededobj6.c. + (tests): Add neededtest4. + (modules-names): Add neededobj5 and neededobj6. + ($(objpfx)neededobj6.so): New target. + ($(objpfx)neededtest4): New target. + ($(objpfx)neededtest4.out): New target. -2001-11-07 Kaoru Fukui <k_fukui@highway.ne.jp> +2000-12-28 Joseph S. Myers <jsm28@cam.ac.uk> - * manual/charset.texi: Fix typo @w[ISO 6937] to @w{ISO 6937}. - Also fix typo @code {mbsinit} to @code{mbsinit}. + * misc/sys/cdefs.h (__attribute_format_strfmon__): Define. + * stdlib/monetary.h: Add strfmon format attributes. -2001-11-06 Ulrich Drepper <drepper@redhat.com> +2000-12-28 Roland McGrath <roland@frob.com> - * elf/dl-profile.c: Replace state variable with simple flag named - running. Remove commented-out code. + * sysdeps/mach/hurd/ioctl.c (do_ioctl): Avoid double-increment after + __mempcpy does it for us. - * elf/dl-load.c (decompose_rpath): Optimize error handling for size. - (_dl_init_paths): Likewise. - (_dl_map_object_from_fd): Likewise. - * elf/dl-reloc.c (_dl_relocate_object): Likewise. +2000-12-28 Andreas Jaeger <aj@suse.de> -2001-11-06 Roland McGrath <roland@frob.com> + * sysdeps/generic/dl-environ.c: Add prototype for unsetenv. - * sysdeps/mach/powerpc/sysdep.h: Include sysdeps/unix/powerpc/sysdep.h - instead of sysdeps/powerpc/elf/sysdep.h and sysdeps/unix/sysdep.h. + * sysdeps/unix/sysv/linux/i386/setrlimit.c: Add prototype for + __new_setrlimit. - * sysdeps/unix/sysv/linux/powerpc/sysdep.h: Don't include - sysdeps/powerpc/elf/sysdep.h. - Reported by Kaoru Fukui <k_fukui@highway.ne.jp>. + * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Add prototype for + __old_getrlimit64. -2001-11-05 Ulrich Drepper <drepper@redhat.com> + * sysdeps/unix/sysv/linux/i386/getrlimit.c: Add prototype for + __new_getrlimit. - * elf/rtld.c (process_dl_debug): Rewritten. Optimized for size not - speed. - (process_envvars): Some more optimizations. - * sysdeps/generic/ldsodefs.h (DL_DEBUG_HELP): New macro. + * sysdeps/unix/sysv/linux/i386/chown.c: Add prototypes for + __chown_is_lchown and __real_chown. - * elf/elf.h: Add dynamic tag definitions for prelinking. + * sysdeps/generic/ldsodefs.h: Add noreturn attribute to + _dl_reloc_bad_type. - * elf/rtld.c (process_envvars): Avoid using array of string pointers. - Rewrite code to remove environment varables for SUID binaries. - Small optimization in LD_PROFILE handling. - * sysdeps/generic/unsecvars.h: Adjust format for process_envvars - changes. - * sysdeps/unix/sysv/linux/i386/dl-librecon.h: Likewise. + * sunrpc/rpc_hout.c (print_funcdef): Add break statement to shut + up GCC's warning about "deprecated use of label at end of compound + statement." + * sunrpc/rpc_cout.c (emit_inline): Likewise. - * sysdeps/generic/dl-sysdep.c: Don't initialize _dl_cpuclock_offset. + * gmon/bb_exit_func.c: Include <sys/gmon.h> for internal + prototypes. + Remove struct bb and __bb_head since those are declared by + sys/gmon.h. - * elf/dl-reloc.c (_dl_reloc_bad_type): Rewrite to not use writable - strings. Change type of second parameter. - * sysdeps/generic/ldsodefs.h: Adjust _dl_reloc_bad_type prototype - for last change. +2000-12-22 Ben Collins <bcollins@debian.org> - * io/fts.h: Prevent using <fts.h> with _FILE_OFFSET_BITS=64. + * manual/charset.texi: Fix typo in description of WCHAR_MAX. -2001-11-04 Joseph S. Myers <jsm28@cam.ac.uk> + * manual/argp.texi: Document argp_domain as part of struct argp. - * manual/string.texi: Fix typos. - * manual/examples/argp-ex2.c: Likewise. +2000-12-28 Andreas Jaeger <aj@suse.de> -2001-11-05 Roland McGrath <roland@frob.com> + * catgets/Makefile (generated): Add sample.SJIS.cat. - * sysdeps/powerpc/elf/sysdep.h: Remove this file, because it overrides - the more-specific unix/sysv/linux/powerpc file and breaks everything. - * sysdeps/powerpc/sysdep.h (ALIGNARG, ASM_TYPE_DIRECTIVE, - ASM_SIZE_DIRECTIVE, CALL_MCOUNT, ENTRY, EALIGN, DO_CALL, JUMPTARGET, - PSEUDO, PSEUDO_RET, PSEUDO_END, L, C_TEXT): These macros moved here - here, put under [__ELF__]. + * sunrpc/rpc_dtable.c: Include rpc/clnt.h for prototypes. -2001-11-05 Ulrich Drepper <drepper@redhat.com> + * elf/dl-minimal.c: Add prototypes. - * manual/charset.texi: Extensive editing work. - * manual/nss.texi: Likewise. - Changes by Dennis Grace <dgrace@us.ibm.com>. + * include/locale.h: Add internal prototypes. + * include/sys/gmon.h: Likewise. -2001-11-04 Roland McGrath <roland@frob.com> + * dlfcn/errmsg1mod.c: Add prototype for foo to shut up GCC. - * hurd/set-host.c (_hurd_set_host_config): Use O_WRONLY in flags - parameter to dir_mkfile. +2000-12-27 Ben Collins <bcollins@debian.org> -2001-11-02 Jakub Jelinek <jakub@redhat.com> + * elf/dl-open.c (_dl_open): Correctly set the new objname pointer + when reallocating the error strings. + Reported by Kalle Olavi Niemitalo <kon@iki.fi> - * string/bits/string2.h (__strndup): If n is smaller than len, set - len to n + 1. - * string/tester.c (test_strndup): New function. - (main): Call it. +2000-12-27 Ulrich Drepper <drepper@redhat.com> -2001-11-01 Ulrich Drepper <drepper@redhat.com> + * dlfcn/Makefile (tests): Add errmsg1. + (modules-names): Add errmsg1mod. + Add rules to run errmsg1. + * dlfcn/errmsg1.c: New file. + * dlfcn/errmsg1mod.c: New file. - * sunrpc/rpc_main.c: Optimize variable definitions a bit. + * dlfcn/dlerror.c (dlerror): Always create output string which + includes object file name. - * sunrpc/Makefile (rpcgen-cmd): Use ../scripts/cpp in rpcgen calls. - * scripts/cpp: New file. + * sysdeps/alpha/alphaev6/memcpy.S: Don't go through unrolled loop + if we would go through it only once. + Patch by Rick Gorton <rick.gorton@api-networks.com>. - * elf/dl-load.c (_dl_map_object): Correct test of DF_1_NODEFLIB - for rtld_search_dirs content. Minor optimizations. + * sysdeps/alpha/alphaev67/strncat.S: Fix handling of numeric parameter. + Patch by Richard Henderson <rth@redhat.com>. -2001-10-31 Ulrich Drepper <drepper@redhat.com> +2000-12-27 Jakub Jelinek <jakub@redhat.com> - * elf/dl-load.c (_dl_map_object): Make code a bit more compact by - avoiding unnecessary duplication. + * malloc/malloc.c (memmove): Add prototypes. + (MALLOC_MEMMOVE): Define. + (chunk_realloc): Use it instead of MALLOC_COPY if source and + destination might overlap. -2001-10-31 Jakub Jelinek <jakub@redhat.com> +2000-12-27 Andreas Jaeger <aj@suse.de> - * elf/dl-load.c (_dl_map_object): If library was found using - LD_LIBRARY_PATH, don't try RUNPATH list. + * stdio-common/printf_fp.c (__printf_fp): Add prototype for nested + function. + * elf/dl-load.c (_dl_map_object_from_fd): Likewise. + * locale/programs/locale.c (show_locale_vars): Likewise. + (show_info): Likewise. + * locale/programs/ld-collate.c (collate_output): Likewise. + * locale/programs/ld-ctype.c (set_class_defaults): Likewise. + * elf/dl-deps.c (_dl_map_object_deps): Likewise. + * stdlib/rpmatch.c (rpmatch): Likewise. -2001-10-31 Martin Schwidefsky <schwidefsky@de.ibm.com> + * setjmp/tst-setjmp.c: Make local functions static. + * setjmp/jmpbug.c: Likewise. + * signal/tst-signal.c: Likewise. + * stdio-common/tfformat.c: Likewise. + * string/tst-svc.c: Likewise. + * time/clocktest.c: Likewise. + * time/tst-getdate.c: Likewise. + * dirent/list.c: Likewise. + * dirent/opendir-tst1.c: Likewise. + * posix/runtests.c: Likewise. + * posix/tst-getaddrinfo.c: Likewise. + * posix/tst-chmod.c: Likewise. + * posix/wordexp-test.c: Likewise. + * misc/tst-efgcvt.c: Likewise. + * timezone/tst-timezone.c: Likewise. + * rt/tst-clock.c: Likewise. + * rt/tst-shm.c: Likewise. + * rt/tst-aio2.c: Likewise. + * rt/tst-aio3.c: Likewise. + * rt/tst-aio4.c: Likewise. + * rt/tst-aio5.c: Likewise. - * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h (REGISTER_DUMP): - Correct second argument of register_dump call. - * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h (REGISTER_DUMP): - Likewise. + * dlfcn/failtest.c: Add prototype for foo. -2001-10-31 Ulrich Drepper <drepper@redhat.com> + * dlfcn/glrefmain.c: Add prototype for do_test. - * iconvdata/Makefile: Add support for IBM1132, IBM1133, and IBM1162 - modules. - * iconvdata/TESTS: Likewise. - * iconvdata/gconv-modules: Likewise. - * iconvdata/ibm1132.c: New file. - * iconvdata/ibm1132.h: New file. - * iconvdata/ibm1133.c: New file. - * iconvdata/ibm1133.h: New file. - * iconvdata/ibm1162.c: New file. - * iconvdata/ibm1162.h: New file. - * iconvdata/testdata/IBM1132: New file. - * iconvdata/testdata/IBM1132..UTF8: New file. - * iconvdata/testdata/IBM1133: New file. - * iconvdata/testdata/IBM1133..UTF8: New file. - * iconvdata/testdata/IBM1162: New file. - * iconvdata/testdata/IBM1162..UTF8: New file. - Patches by Masahide Washizawa <WASHI@jp.ibm.com>. + * dlfcn/tst-dladdr.c: Add prototype for do_test. - * string/string.h: Fix typo in comment. - * wcsmbs/wchar.h: Likewise. + * string/test-ffs.c (main): Add prototype for nested function. -2001-10-30 Joseph S. Myers <jsm28@cam.ac.uk> + * sunrpc/des_soft.c: Include rpc/des_crypt.h for prototype. - * manual/getopt.texi (getopt_long, getopt_long_only): Include - const in type of longopts parameter. + * nss/XXX-lookup.c: Add prototype to shut up GCC. -2001-10-29 Andreas Jaeger <aj@suse.de> + * include/netinet/ether.h (DECLARE_NSS_PROTOTYPES): Fix + setetherent prototype. + Add internal interfaces. - * sysdeps/ieee754/dbl-64/mpa.h: Add prototypes for internal functions. + * nis/nss_nis/nis-ethers.c (_nss_nis_setetherent): Likewise. + * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent): Likewise. -2001-10-29 Kevin Ryde <user42@zip.com.au> + * resolv/res_data.c: Don't add (conflicting) prototypes for _LIBC. - * manual/stdio.texi (Integer Conversions): Corrections to sample printf - output, clarify `#' behaviour on 0. - (Floating-Point Conversions): Clarify that %g only uses %e when - the exponent would be greater than 1. + * nis/nis_intern.h: Add prototype for __pmap_getnisport. -2001-10-28 Roland McGrath <roland@frob.com> + * nss/nss_files/files-ethers.c: Include netinet/ether.h to get + prototypes, remove struct etherent since it's declared in ether.h. + Fix ntohost declaration. - Support for Mach/PowerPC contributed by Peter Bruin <pjbruin@dds.nl>. - * sysdeps/mach/powerpc/machine-sp.h: New file. - * sysdeps/mach/powerpc/sysdep.h: New file. - * sysdeps/mach/powerpc/thread_state.h: New file. + * elf/dl-profile.c (_dl_mcount): Add empty statement to shut up GCC. - * sysdeps/mach/hurd/i386/Makefile: File removed; crt0.o rules moved ... - * sysdeps/mach/hurd/Makefile: ... to here. For the time being, we can - expect to need the same thing on every platform. + * include/getopt.h: Add internal interfaces. + * include/termios.h: Likewise. + * include/resolv.h: Likewise. + * include/netdb.h: Likewise. + * include/grp.h: Likewise. + * include/pwd.h: Likewise. + * include/shadow.h: Likewise. + * include/rpc/netdb.h: Likewise. + * include/setjmp.h: Likewise. - * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: File moved ... - * sysdeps/generic/sys/ucontext.h: ... to replace this one. + * include/stdio.h: Add prototypes for compatibility functions. + * include/grp.h: Likewise. + * include/pwd.h: Likewise. + * include/shadow.h: Likewise. - * sysdeps/unix/sysv/linux/powerpc/sysdep.h (ALIGNARG, - ASM_TYPE_DIRECTIVE, ASM_SIZE_DIRECTIVE, CALL_MCOUNT, ENTRY, EALIGN, - DO_CALL, JUMPTARGET, PSEUDO, PSEUDO_RET, PSEUDO_END, L, C_TEXT): - Move all these assembly-related definitions to ... - * sysdeps/powerpc/elf/sysdep.h: ... this new file. + * include/fenv.h: Define internal interfaces. - * sysdeps/mach/powerpc/machine-lock.h: Assembly code rewritten - by Peter Bruin <pjbruin@dds.nl>. +2000-12-27 Ulrich Drepper <drepper@redhat.com> - * hurd/hurdselect.c (_hurd_select): Check SELECT_RETURNED bit when - packing results for a `poll' call. + * sysdeps/generic/bits/byteswap.h (__bswap_64): Handle constant + argument case separately. + * sysdeps/i386/bits/byteswap.h (__bswap_64): Likewise. -2001-10-26 Ulrich Drepper <drepper@redhat.com> +2000-12-27 Andreas Jaeger <aj@suse.de> - * posix/fnmatch_loop.c: Recognize - at end of bracket expression - correctly. - * posix/tst-fnmatch.input: Add tests for - at beginning and end of - bracket expression. + * include/sys/wait.h: Add some prototypes. + * Rules (dummy.c): Create also prototype to shut up GCC. - * string/strxfrm.c [USE_IN_EXTENDED_LOCALE_MODEL]: Correctly get - nrules value. - * string/tst-strxfrm.c (test): Also test __strxfrm_l. +2000-12-27 Andreas Jaeger <aj@suse.de> -2001-10-24 H.J. Lu <hjl@gnu.org> + * sysdeps/mach/hurd/if_index.c (__protocol_available): Uncomment, + it's not needed at the moment. + * sysdeps/generic/if_index.c (__protocol_available): Likewise. + * sysdeps/unix/sysv/linux/if_index.c (__protocol_available): Likewise. - * sysdeps/generic/bits/dlfcn.h (DL_CALL_FCT): Cast to void *. - Use __BEGIN_DECLS/__END_DECLS around prototypes. - * sysdeps/mips/bits/dlfcn.h (DL_CALL_FCT): Likewise. +2000-12-26 Andreas Jaeger <aj@suse.de> -2001-10-21 Jim Meyering <meyering@lucent.com> + * libio/getc_u.c: Include stdio.h via system path to get internal + prototypes. + * libio/getwc_u.c: Likewise. - * malloc/obstack.c (_): Honor the setting of ENABLE_NLS. Otherwise, - this code would end up calling gettext even in packages built - with --disable-nls. - * posix/getopt.c (_): Likewise. - * posix/regex.c (_): Likewise. + * stdlib/strfmon.c: Fix prototype of __printf_fp. -2001-10-26 Ulrich Drepper <drepper@redhat.com> + * stdio-common/vfprintf.c (process_arg): Move __printf_fphex and + __printf_fp prototypes to ... + * include/printf.h: ...here. - * resolv/gethnamaddr.c (gethostbyaddr): Use ip6.addr for reverse - lookup not ip6.int. - * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Likewise. - Reported by Martin.v.Loewis@t-online.de [PR libc/2598]. + * include/stdio.h: Add some internal prototypes to shut up GCC. + * include/stdlib.h: Likewise. -2001-10-19 Jakub Jelinek <jakub@redhat.com> + * sysdeps/posix/sigpause.c (__sigpause): Use ISO C prototype + declaration. - * misc/sys/cdefs.h (__attribute_used__): Define. - * elf/rtld.c (_dl_start): Add __attribute_used__. - * elf/dl-runtime.c (fixup, profile_fixup): Likewise. + * include/signal.h: Add prototypes for internal sigpause + interfaces. -2001-10-25 Andreas Schwab <schwab@suse.de> +2000-12-26 Ulrich Drepper <drepper@redhat.com> - * stdlib/a64l.c: Expect least significant digit first. - * stdlib/l64a.c: Produce least significant digit first. - * stdlib/Makefile (tests): Add test-a64l. - * stdlib/test-a64l.c: New file. - Reported by Masaki Hasegawa <masaki-h@pp.iij4u.or.jp>. + * sysdeps/generic/bits/byteswap.h (__bswap_64): Make it usable for + 64bit platforms. Reported by Dave Gilbert <gilbertd@treblig.org>. -2001-10-21 Ulrich Drepper <drepper@redhat.com> + * string/Makefile (tests): Add tst-bswap. + * string/tst-bswap.c: New file. - * po/sk.po: Update from translation team. +2000-12-11 Bruno Haible <haible@clisp.cons.org> -2001-10-18 Ulrich Drepper <drepper@redhat.com> + * Makefile ($(inst_includedir)/gnu/stubs.h): Sort in the C locale. - * sysdeps/i386/elf/start.S (_fp_hw): Define object type. +2000-12-26 Ulrich Drepper <drepper@redhat.com> -2001-10-18 Andreas Schwab <schwab@suse.de> + * sunrpc/Makefile (rpcgen-cmd): Use single quotes in sed call. + Patch by Ed Connell <Ed.Connell@sas.com>. - * math/libm-test.inc (print_ulps): Print ulp values rounded to - next whole number. - (print_function_ulps): Likewise. - (print_complex_function_ulps): Likewise. - (print_max_error): Likewise. - (print_complex_max_error): Likewise. Handle ignore_max_ulp. +2000-12-24 Ulrich Drepper <drepper@redhat.com> -2001-10-16 Andreas Schwab <schwab@suse.de> + * locale/iso-639.def: Correct one entry. Add two missing entries. - * sysdeps/m68k/fpu/libm-test-ulps: Updated for fixed cbrtl - implementation. + * locale/iso-4217.def: Change entry for Eritrea. + Reported by Daniel Yacob <yacob@geez.org>. - * sysdeps/m68k/setjmp.c: Also define setjmp and _setjmp if - BSD_SETJMP or BSD__SETJMP is defined, resp. - * sysdeps/m68k/bsd-setjmp.c: Inline setjmp code instead of making - a tail call to __sigsetjmp that would require extending the - caller's frame. - * sysdeps/m68k/bsd-_setjmp.c: Likewise. - * sysdeps/m68k/bsd-setjmp.S: Deleted. - * sysdeps/m68k/bsd-_setjmp.S: Deleted. - Reported by Jes Sorensen <jes@trained-monkey.org>. +2000-12-23 Ben Collins <bcollins@debian.org> -2001-10-16 Andreas Jaeger <aj@suse.de> + * manual/charset.texi (Extended Char Intro): Fix typo in ISO 6937 + description. - * sysdeps/ieee754/ldbl-96/s_nextafterl.c (__nextafterl): Fix - parentheses. Reported by David Byron <dbyron@porto.coactive.com>, - close PR libc/2589. + * manual/stdio.texi (Dynamic Output): Document the return value of + asprintf. Also make the asprintf/snprintf examples a little + better (check for some error returns). -2001-10-15 Ulrich Drepper <drepper@redhat.com> +2000-12-22 Andreas Jaeger <aj@suse.de> - * po/ca.po: New file. Contributed by the translation team. + * include/stdio.h: Add __ftrylockfile prototype. -2001-10-15 Ralf Baechle <ralf@gnu.org> +2000-12-21 H.J. Lu <hjl@gnu.org> - * sysdeps/unix/sysv/linux/mips/sys/sysmips.h: Make sysmips() prototype - a varargs prototype. Remove dependency from kernel header files. + * sysdeps/ia64/fpu/math_ldbl.h (ieee_long_double_shape_type): + Make sign_exponent element signed. - * sysdeps/unix/sysv/linux/mips/bits/termios.h: General cleanup, use - __USE_MISC / __USE_XOPEN not __USE_BSD where appropriate. + * sysdeps/ieee754/ldbl-96/math_ldbl.h (ieee_long_double_shape_type): + Fix a typo. -2001-10-14 Ulrich Drepper <drepper@redhat.com> + * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Remove dead branch. - * locale/programs/ld-collate.c (handle_ellipsis): Use %lX not %lx - to generate hexadecimal identifier. - Patch by Jungshik Shin <jungshik.shin@yale.edu>. +2000-12-21 Andreas Jaeger <aj@suse.de> -2001-10-09 Stephen L Moshier <moshier@mediaone.net> + * nis/nss_nisplus/nisplus-ethers.c (struct etherent): Removed. + * inet/ether_hton.c: Likewise + * inet/ether_ntoh.c: Likewise. - * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Fix algorithm. + * nis/nss_nis/nis-ethers.c (_nss_nis_getntohost_r): Fix + declaration to match prototype. -2001-10-14 Ulrich Drepper <drepper@redhat.com> + * include/netinet/ether.h (struct etherent): Declare here so that + all implementations use the same struct. - * sysdeps/ieee754/ldbl-128/e_powl.c: New file. - * sysdeps/ieee754/ldbl-128/s_cbrtl.c: New file. - Contributed by Stephen L Moshier <moshier@mediaone.net>. + * nis/nss_nis/nis-ethers.c: Include netinet/ether.h to get + prototypes. + (struct ether): Removed. + Use struct etherent instead of ether everywhere. - * sysdeps/ieee754/ldbl-128/e_j0l.c: Constify float variables. - * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise. - * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise - * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise - * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise - * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise + * include/rpc/auth.h (DECLARE_NSS_PROTOTYPES): New. - * timezone/africa: Update from tzdata2001d. - * timezone/asia: Likewise. - * timezone/australasia: Likewise. - * timezone/backward: Likewise. - * timezone/europe: Likewise. - * timezone/leapseconds: Likewise. - * timezone/northamerica: Likewise. - * timezone/southamerica: Likewise. - * timezone/zone.tab: Likewise. + * include/rpc/auth_des.h (DECLARE_NSS_PROTOTYPES): New. -2001-10-09 Martin Schwidefsky <schwidefsky@de.ibm.com> + * sunrpc/publickey.c: Include auth_des.h for prototypes. - * sysdeps/s390/s390-32/sys/ucontext.h: Correct __psw_t typedef. - * sysdeps/s390/s390-64/sys/ucontext.h: Likewise. +2000-12-20 Ulrich Drepper <drepper@redhat.com> -2001-10-12 Ulrich Drepper <drepper@redhat.com> + * math/test-misc.c: Add more tests for nextafter functions. - * elf/elf.h (PT_TLS): New definition. + * sysdeps/i386/fpu/s_nextafterl.c: Handle change from denormal to + normal correctly. Correct test for sign. + Based on a patch by HJ Lu. -2001-10-10 Jeff Bailey <jbailey@nisa.net> +2000-12-19 Ulrich Drepper <drepper@redhat.com> - * sysdeps/mach/hurd/Makefile: Add $(CFLAGS) for generation of - bits/errno.h + * Makeconfig (preprocess-version): Add -traditional to gcc call. + Cleanup sed calls. -2001-10-07 Roland McGrath <roland@frob.com> +2000-12-19 Andreas Jaeger <aj@suse.de> - * sysdeps/mach/hurd/setrlimit.c (__setrlimit): Never return ENOSYS. + * include/netinet/ether.h (DECLARE_NSS_PROTOTYPES): New. -2001-10-10 Ulrich Drepper <drepper@redhat.com> + * nis/nis_intern.h: Add prototype for __do_niscall3. - * elf/elf.h: Add more ELFOSABI_* constants. + * nis/nss_nis/nis-rpc.c (_nss_nis_setrpcent): Fix declaration to + match prototype. -2001-10-04 Ben Collins <bcollins@debian.org> + * include/netdb.h (DECLARE_NSS_PROTOTYPES): Reformat. - * sysdeps/generic/inttypes.h: Fix typo (define, not defined) in - decleration of __need_wchar_t. + * include/rpc/netdb.h (DECLARE_NSS_PROTOTYPES): New. -2001-10-03 Jakub Jelinek <jakub@redhat.com> + * include/aliases.h (DECLARE_NSS_PROTOTYPES): New. - * string/bits/string2.h (__strsep_g): Add prototype. - (__strsep): Use it. - * string/Versions (__strsep): Remove. - * sysdeps/generic/strsep.c (__strsep_g): Add alias to __strsep. +2000-12-18 Ulrich Drepper <drepper@redhat.com> -2001-10-07 Ulrich Drepper <drepper@redhat.com> + * math/test-misc.c: Add more tests for nextafter. + * sysdeps/i386/fpu/s_nextafterl.c: Handle decrement for x<0 correctly. + * sysdeps/ieee754/ldbl-96/math_ldbl.h + (ieee_long_double_shape_type): Make sign_exponent element signed. - * manua/llio.texi: Clarify file references added by mmap. - Patch by Marcus Brinkmann <Marcus.Brinkmann@ruhr-uni-bochum.de>. + * manual/message.texi: Add Estonian to plural overview list. + Correct rule for Slavic languages. + Patch by Stanislav Brabec <utx@penguin.cz>. -2001-09-29 Jes Sorensen <jes@trained-monkey.org> + * nis/nss_nis/nis-netgrp.c: Remove unnecessary initializations. - * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h (struct sigcontext): - Add sc_loadrs and sc_rbs_bas to match current kernel. +2000-12-18 Andreas Jaeger <aj@suse.de> -2001-09-27 Jakub Jelinek <jakub@redhat.com> + * test-skeleton.c: Use temp_name_list instead of name_list to + avoid collision with name_list from inet/netgroup.h. - * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Update. + * nss/nss_files/files-network.c (NEED_H_ERRNO): Define. - * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Fix erfc(-inf). + * include/grp.h (DECLARE_NSS_PROTOTYPES): New. + * include/pwd.h (DECLARE_NSS_PROTOTYPES): New. + * include/netdb.h (DECLARE_NSS_PROTOTYPES): New. + * include/shadow.h (DECLARE_NSS_PROTOTYPES): New. -2001-09-27 Jakub Jelinek <jakub@redhat.com> + * hesiod/nss_hesiod/hesiod-proto.c (_nss_hesiod_setprotoent): Fix + declaration to match prototype. + * hesiod/nss_hesiod/hesiod-pwd.c (_nss_hesiod_setpwent): Likewise. + * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_setgrent): Likewise. + * hesiod/nss_hesiod/hesiod-service.c (_nss_hesiod_setservent): + Likewise. + * nis/nss_nis/nis-grp.c (_nss_nis_setgrent): Likewise. + * nis/nss_nis/nis-pwd.c (_nss_nis_setpwent): Likewise. + * nis/nss_nis/nis-proto.c (_nss_nis_setprotoent): Likewise. + * nis/nss_nis/nis-service.c (_nss_nis_setservent): Likewise. + (_nss_nis_getservbyport_r): Likewise. + * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent): Likewise. + * nis/nss_nis/nis-spwd.c (_nss_nis_setspent): Likewise. + * nis/nss_nis/nis-network.c (_nss_nis_getnetent_r): Likewise. + (_nss_nis_setnetent): Likewise + * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise. + (_nss_nis_endnetgrent): Likewise. + * nis/nss_nisplus/nisplus-netgrp.c (_nss_nisplus_endnetgrent): + Likewise. + (_nss_nisplus_setnetgrent): Likewise. + * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Likewise. + * nis/nss_nisplus/nisplus-pwd.c (_nss_nisplus_setpwent): Likewise. + * nis/nss_nisplus/nisplus-grp.c (_nss_nisplus_setgrent): Likewise. + * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_setnetent): + Likewise. + * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_sethostent): + Likewise. + * nis/nss_nisplus/nisplus-service.c (_nss_nisplus_setservent): + Likewise. + * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_setprotoent): + Likewise. + * nis/nss_compat/compat-spwd.c (_nss_compat_setspent): Likewise. + * nis/nss_compat/compat-pwd.c (_nss_compat_setpwent): Likewise. + * nis/nss_compat/compat-grp.c (_nss_compat_setgrent): Likewise. + * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Likewise. + * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Likewise. + (_nss_dns_getnetbyaddr_r): Likewise. + +2000-12-17 Andreas Jaeger <aj@suse.de> + + * sysdeps/generic/k_sinl.c (__kernel_sinl): Fix functions + parameter. + + * sysdeps/unix/sysv/linux/shm_open.c (freeit): Make static and add + unused attribute to shut up gcc warnings. + + * sysdeps/generic/k_sinl.c: Include math_private for prototypes. + * sysdeps/generic/k_tanl.c: Likewise. + * sysdeps/generic/k_cosl.c: Likewise. + * sysdeps/generic/e_j0l.c: Likewise. + * sysdeps/generic/e_j1l.c: Likewise. + * sysdeps/generic/e_jnl.c: Likewise. + * sysdeps/generic/e_lgammal_r.c: Likewise. + + * elf/vismain.c: Move prototypes for functions in vismod*.c to + vismod.h. + * elf/vismod.h: New file. + * elf/Makefile (distribute): Add vismod.h. + * elf/vismod1.c: Include vismod.h. + * elf/vismod2.c: Likewise. + * elf/vismod3.c: Likewise. + + * elf/constload3.c: Add prototype declarations to shut up gcc. + * elf/failobj.c: Likewise. + * elf/nodelmod3.c: Likewise. + * elf/filtmod1.c: Likewise. + * elf/filtmod2.c: Likewise. + * elf/reldepmod1.c: Likewise. + * elf/reldepmod2.c: Likewise. + * elf/reldepmod3.c: Likewise. + * elf/reldepmod4.c: Likewise. + * elf/unload2dep.c: Likewise. + * elf/unload2mod.c: Likewise. + * elf/ltglobmod1.c: Likewise. + * elf/pathoptobj.c: Likewise. + * elf/neededobj1.c: Likewise. + * elf/neededobj2.c: Likewise. + * elf/neededobj3.c: Likewise. + * elf/neededobj4.c: Likewise. + * elf/nextmod1.c: Likewise. + * elf/nextmod2.c: Likewise. + + * locale/programs/ld-collate.c (collate_finish): Don't use labels + at end of compound statement. + * locale/programs/locale.c (show_info): Likewise. + * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Likewise. - * elf/dl-open.c (dl_open_worker): If l_opencount of freshly loaded - object has been bumped because of relocation dependency, avoid - duplicates in l_scope. - (show_scope): Fix typos. - * elf/Makefile: Add rules to build and run reldep6. - * elf/reldep6.c: New file. - * elf/reldep6mod0.c: New file. - * elf/reldep6mod1.c: New file. - * elf/reldep6mod2.c: New file. - * elf/reldep6mod3.c: New file. - * elf/reldep6mod4.c: New file. +2000-12-16 Jakub Jelinek <jakub@redhat.com> -2001-09-26 Jakub Jelinek <jakub@redhat.com> + * catgets/gencat.c (read_input_file): Avoid calling obstack_free + with a pointer not returned by obstack_ functions. - * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_fixup_plt): Call - sparc64_fixup_plt. - (sparc64_fixup_plt): Moved from elf_machine_fixup_plt. Optimize - near jumps and 0xfffff800XXXXXXXX target addresses, no thread safety - for non-lazy binding. Fix .plt[32768+] handling. - (elf_machine_plt_value): Don't add addend. - (elf_machine_rela): Call sparc64_fixup_plt instead of - elf_machine_fixup_plt. - (elf_machine_runtime_setup, TRAMPOLINE_TEMPLATE): Optimize for - dynamic linker at 0xfffff800XXXXXXXX. +2000-12-16 Ulrich Drepper <drepper@redhat.com> - * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Update. + * sysdeps/unix/sysv/aix/bits/stat.h (struct stat): Align with AIX + version. + (struct stat64): Likewise. + Reported by Michael Keezer <mkeezer@redhat.com>. -2001-09-28 Ulrich Drepper <drepper@redhat.com> + * timezone/asia: Update from tzdata2000h. + * timezone/australasia: Likewise. + * timezone/backward: Likewise. + * timezone/europe: Likewise. + * timezone/northamerica: Likewise. + * timezone/southamerica: Likewise. + * timezone/zone.tab: Likewise. - * elf/elf.h: Define SHF_GROUP and SHF_TLS. +2000-12-14 Jakub Jelinek <jakub@redhat.com> -2001-09-25 Jakub Jelinek <jakub@redhat.com> + * io/ftw.c (ftw_dir): If process_entry returned non-zero result + and dir.stream is NULL, only free dir.content. + * io/ftwtest.c (cb, main): Add --early-exit option to test it. + * io/ftwtest-sh: Test with --early-exit. - * sysdeps/unix/bsd/bsd4.4/bits/socket.h (struct cmsghdr): Don't - declare __cmsg_data field if its size would be bigger than 0. - (CMSG_DATA): Adjust accordingly. - * sysdeps/unix/sysv/aix/bits/socket.h: Likewise. - * sysdeps/unix/sysv/linux/alpha/bits/socket.h: Likewise. - * sysdeps/unix/sysv/linux/ia64/bits/socket.h: Likewise. - * sysdeps/unix/sysv/linux/s390/s390-64/bits/socket.h: Likewise. - * sysdeps/unix/sysv/linux/bits/socket.h: Likewise. - * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise. - * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise. +2000-12-13 Jakub Jelinek <jakub@redhat.com> -2001-09-25 Ulrich Drepper <drepper@redhat.com> + * misc/efgcvt.c (FCVT_MAXDIG): Define. + (FCVT_BUFPTR): New variable. + (fcvt): If fcvt_r returns -1 on the static short buffer, + try to malloc a sufficiently large one and retry. + (free_mem): New function. + * misc/qefgcvt.c (FCVT_MAXDIG): Define. + * misc/tst-efgcvt.c (fcvt_tests): Add new test. - * iconvdata/TESTS: Add entries for IBM1160 and IBM1161. - * iconvdata/testdata/IBM1160: New file. - * iconvdata/testdata/IBM1160..UTF8: New file. - * iconvdata/testdata/IBM1161: New file. - * iconvdata/testdata/IBM1161..UTF8: New file. - Patch by Masahide Washizawa <WASHI@jp.ibm.com>. +2000-12-15 Ulrich Drepper <drepper@redhat.com> -2001-09-24 Ulrich Drepper <drepper@redhat.com> + * misc/dirname.c (dirname): Fix search for second to last slash. - * sysdeps/unix/bsd/ulimit.c (ulimit): Handle overflow in - UL_SETFSIZE computations better. +2000-12-13 Andreas Jaeger <aj@suse.de> - * rt/Makefile: Remove use of filter for librt again. + * misc/tst-dirname.c (main): Fix typo in test to really use + the examples from Unix98. + Reported by Michael Kerrisk <mtk16@ext.canterbury.ac.nz>. - * sysdeps/unix/sysv/linux/ulimit.c (__ulimit): Handle overflow in - UL_SETFSIZE computations better. +2000-12-09 H.J. Lu <hjl@gnu.org> - * string/Versions: Export __strsep for GLIBC_2.2.5. - * string/bits/string2.h: Define all __STRING_INLINE functions if - _FORCE_INLINES is defined. - Use int instead of char of parameter types. - (__strsep): Don't use __strsep_g. Don't define it. - (__strsep_1c, __strsep_2c, __strsep_3c): Optimize. - * sysdeps/i386/i486/string.h (__strcpy_a_small): Renamed from - __strcpy_small. - (__stpcpy_a_small): Renamed from __stpcpy_small. - (__strcspn_c1): Don't define if _FORCE_INLINES. - (__strspn_c1): Likewise. + * sysdeps/ia64/fpu/s_fabs.S: New file. + * sysdeps/ia64/fpu/s_fabsf.S: New file. + * sysdeps/ia64/fpu/s_fabsl.S: New file. -2001-09-22 Ben Collins <bcollins@debian.org> +2000-12-15 Andreas Jaeger <aj@suse.de> - * sysdeps/sparc/bits/sigaction.h: Define SA_RESTART and friends when - _UNIX98_SOURCE is defined too. Matches generic/bits/sigaction.h. - * sysdeps/ia64/bits/sigaction.h: Likewise. - * sysdeps/s390/s390-64/bits/sigaction.h: Likewise. + * stdio-common/scanf9.c (main): Reformat and change to avoid + warnings. -2001-09-24 Andrew Haley <aph@cambridge.redhat.com> + * stdio-common/tstdiomisc.c: Make local functions static. + * stdio-common/tst-printf.c: Likewise. - * sysdeps/unix/sysv/linux/sh/Makefile (sysdep_headers): Add sys/io.h. + * elf/constload2.c: Add prototype declarations to shut up gcc. + * elf/dep1.c: Likewise. + * elf/dep2.c: Likewise. + * elf/dep3.c: Likewise. + * elf/dep4.c: Likewise. + * elf/ltglobmod2.c: Likewise. -2001-09-24 Jakub Jelinek <jakub@redhat.com> + * libio/fmemopen.c: Make local functions static. - * elf/dl-open.c (dl_open_worker): Update l_scope_max. + * elf/Makefile (distribute): Added testobj.h. -2001-09-24 Ulrich Drepper <drepper@redhat.com> + * elf/testobj.h: New file. - * wcsmbs/wchar.h: Add __attribute_pure__ to mbsinit prototype. + * elf/testobj1.c: Include testobj.h and move prototype + declarations to testobj.h. + * elf/testobj2.c: Likewise. + * elf/testobj3.c: Likewise. + * elf/testobj4.c: Likewise. + * elf/testobj5.c: Likewise. + * elf/testobj6.c: Likewise. + * elf/testobj1_1.c: Likewise. + * elf/preloadtest.c: Likewise. -2001-09-20 H.J. Lu <hjl@gnu.org> +2000-12-15 Ben Collins <bcollins@debian.org> - * include/dlfcn.h (__RTLD_SPROF): New definiton. - * elf/dl-open.c (dl_open_worker): Return immediately after loading - for __RTLD_SPROF. - * elf/sprof.c (main): Default to the filename if soname doesn't exist. - (load_shobj): Call dlopen with `RTLD_LAZY | __RTLD_SPROF'. + * misc/sys/cdefs.h: Fix thinko in checks for flexarr macros. + Patch by Akim Demaille <akim@epita.fr> in Debian bug report. -2001-09-20 H.J. Lu <hjl@gnu.org> +2000-12-14 H.J. Lu <hjl@gnu.org> - * elf/dl-profile.c (_dl_mcount): Use old *narcsp value for newarc, - don't add 1. + * sysdeps/ieee754/flt-32/s_sincosf.c (__sincosf): The exponent + field in a float is 8 bits, not 11 bits. -2001-09-22 Ulrich Drepper <drepper@redhat.com> +2000-12-13 Jakub Jelinek <jakub@redhat.com> - * nss/getent.c: Accept -s parameter to overwrite rules in - nsswitch.conf. Patch by Nalin Dahyabhai <nalin@redhat.com>. + * math/test-misc.c (main): Adjust m for IEEE quad long double. - * nss/nss_files/files-network.c (LINE_PARSER): Pad addr string - with as many ".0" as necessary to form a complete address - inet_network understands. +2000-12-13 Andreas Jaeger <aj@suse.de> - * nss/getent.c: Various cleanups. Use simpler and fewer function - calls. + * manual/message.texi (Using gettextized software): Fix typo. -2001-09-20 Martin Schwidefsky <schwidefsky@de.ibm.com> + * manual/charset.texi (Converting a Character): Fix mbstouwcs + program to compile. + Patch by Martin Buchholz <martin@xemacs.org>. - * sysdeps/s390/s390-32/bits/setjmp.h: Correct pointer comparison in - _JMPBUF_UNWINDS. - * sysdeps/s390/s390-64/bits/setjmp.h: Likewise. + * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Fix typo. + Reported by Michael Kerrisk <mtk16@ext.canterbury.ac.nz>. -2001-09-22 Ulrich Drepper <drepper@redhat.com> +2000-12-11 Andreas Jaeger <aj@suse.de> - * iconvdata/Makefile: Add rules to build and distribute IBM1160 and - IBM1161. - * iconvdata/gconv-modules: Add entries for IBM1160 and IBM1161. - * iconvdata/ibm1160.c: New file. - * iconvdata/ibm1160.h: New file. - * iconvdata/ibm1161.c: New file. - * iconvdata/ibm1161.h: New file. - Patch by Masahide Washizawa <WASHI@jp.ibm.com>. + * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Declare + kernel_sigset_t and use it. + Patch by Hiroyuki Machida <machida@sm.sony.co.jp>. -2001-09-19 Jakub Jelinek <jakub@redhat.com> +2000-12-10 Richard Henderson <rth@redhat.com> - * sysdeps/alpha/dl-machine.h (elf_machine_load_address): Compute the - difference between base address and first PT_LOAD's virtual address, - not the base address. + * sysdeps/alpha/alphaev67/fpu/Implies: New file. + * sysdeps/alpha/alphaev6/fpu/e_sqrtf.S: New file. + * sysdeps/alpha/alphaev6/fpu/e_sqrt.S: New file. -2001-09-11 Tom Rix <trix@redhat.com> +2000-12-10 Jakub Jelinek <jakub@redhat.com> - * sysdeps/unix/sysv/aix/init-first.c (init): Use USE_NONONPTION_FLAG - ifdef for __getopt_clean_environment. - * sysdeps/unix/sysv/aix/libc-start.c: Add real implementation. + * sysdeps/alpha/htonl.S: Fix a typo. -2001-09-22 Andreas Jaeger <aj@suse.de> +2000-12-10 Jakub Jelinek <jakub@redhat.com> - * elf/reldep4.c (main): Add proper prototype to fix warning. + * sysdeps/alpha/alphaev6/stxcpy.S: Exchange t8 with t10. - * elf/reldep5.c (main): Remove unused variable. +2000-12-10 Andreas Jaeger <aj@suse.de> - * math/math_private.h: Add prototypes. + * locale/programs/ld-ctype.c (charclass_symbolic_ellipsis): Fixed + cast as suggested by Jakub Jelinek <jakub@redhat.com> and Ulrich + Drepper <drepper@redhat.com>. -2001-09-21 Andreas Jaeger <aj@suse.de> +2000-12-09 Andreas Jaeger <aj@suse.de> - * sysdeps/unix/sysv/linux/x86_64/Dist: New file. - * sysdeps/x86_64/Dist: New file. - * sysdeps/x86_64/soft-fp/Dist: New file. + * sysdeps/unix/sysv/linux/mips/sigaction.c: New file. - * sysdeps/gnu/Dist: Remove eval.c. + * sysdeps/unix/sysv/linux/mips/sys/acct.h: Removed, we can use the + generic version. + Patches by Hiroyuki Machida <machida@sm.sony.co.jp>. -2001-09-20 Ulrich Drepper <drepper@redhat.com> + * locale/programs/ld-collate.c (handle_ellipsis): Fix format + string. - * malloc/memusage.c (realloc): Don't count already allocated - memory in the sums. - (me): Always use dlsym() to find the real implementations. + * locale/programs/ld-ctype.c (charclass_symbolic_ellipsis): Fix + format string. - * malloc/memusage.sh: Make -n option actually do something. + * nscd/hstcache.c (addhstbyname): Add cast to avoid warning. + * nscd/connections.c (handle_request): Likewise. + * nscd/pwdcache.c (addpwbyname): Likewise. + * nscd/grpcache.c (addgrbyname): Likewise. + + * nscd/nscd_conf.c (nscd_parse_file): Remove extra argument. + +2000-12-09 Ulrich Drepper <drepper@redhat.com> + + * string/stratcliff.c: Add tests for stpncpy, memcpy, and mempcpy. + + * Makeconfig (default_cflags): Make -O2 the default for stable + releases. + +2000-12-08 H.J. Lu <hjl@gnu.org> + + * sysdeps/ia64/fpu/s_isinfl.S: Renamed to ... + * sysdeps/ia64/fpu/s_isinf.S: This. + Add a .pred.rel.mutex note to avoid false report. + + * sysdeps/ia64/fpu/s_isnanl.S: Renamed to ... + * sysdeps/ia64/fpu/s_isnan.S: This. + + * sysdeps/ia64/fpu/s_fpclassify.S: New file. + * sysdeps/ia64/fpu/s_fpclassifyf.S: New file. + * sysdeps/ia64/fpu/s_fpclassifyl.S: New file. + * sysdeps/ia64/fpu/s_isinff.S: New file. + * sysdeps/ia64/fpu/s_isinfl.S: New file. + * sysdeps/ia64/fpu/s_isnanf.S: New file. + * sysdeps/ia64/fpu/s_isnanl.S: New file. + * sysdeps/ia64/fpu/s_finite.S: New file. + * sysdeps/ia64/fpu/s_finitef.S: New file. + * sysdeps/ia64/fpu/s_finitel.S: New file. + * sysdeps/ia64/fpu/s_signbit.S: New file. + * sysdeps/ia64/fpu/s_signbitf.S: New file. + * sysdeps/ia64/fpu/s_signbitl.S: New file. + * sysdeps/ia64/fpu/s_copysign.S: New file. + * sysdeps/ia64/fpu/s_copysignf.S: New file. + * sysdeps/ia64/fpu/s_copysignl.S: New file. -2001-09-20 Andreas Jaeger <aj@suse.de> +2000-12-08 Ulrich Drepper <drepper@redhat.com> - * elf/elf.h (R_390_NUM): Correct value. + * math/libm-test.inc (main): Fix typos in messages. - * Versions.def: Add missing versions 2.2.3 for libthread_db and - libpthread. + * string/stratcliff.c: Add test for rawmemchr. - * sysdeps/unix/sysv/linux/configure.in: Add minimal kernel version - for x86-64, install x86-64 into */lib64. +2000-12-08 Jakub Jelinek <jakub@redhat.com> - * shlib-versions: Add x86-64. + * elf/dl-open.c (_dl_open): If objname points right after errstring, + allocate it together with errstring using alloca. + * elf/dl-error.c (_dl_signal_error): If malloc failed, set objname + to "", because it might point to local stack. - * elf/elf.h: Add x86-64 relocations. +2000-12-05 H.J. Lu <hjl@gnu.org> -2001-09-19 Ulrich Drepper <drepper@redhat.com> + * nss/Makefile (routines): Add getnssent and getnssent_r. + * nss/nsswitch.h (__nss_setent): New internal NSS function. + (__nss_endent): Likewise. + (__nss_getent_r): Likewise. + (__nss_getent): Likewise. + * nss/getnssent_r.c: New file. + * nss/getnssent.c: New file. + * nss/getXXent.c (H_ERRNO_VAR): Updated. + (GETFUNC_NAME): Updated to call __nss_getent (). + * nss/getXXent_r.c (H_ERRNO_VAR_P): New. + (STAYOPEN_TMPVAR): Updated. + (STAYOPEN_VAR): Updated. + (SETFUNC_NAME): Updated to call __nss_setent (). + (ENDFUNC_NAME): Updated to call __nss_endent (). + (INTERNAL (REENTRANT_GETNAME)): Updated to call __nss_getent_r (). - * po/fr.po: Update from translation team. +2000-12-08 Andreas Jaeger <aj@suse.de> -2001-09-19 Andreas Jaeger <aj@suse.de> - - * sysdeps/unix/sysv/linux/x86_64/Makefile: New file. - * sysdeps/unix/sysv/linux/x86_64/Versions: New file. - * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: New file. - * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: New file. - * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: New file. - * sysdeps/unix/sysv/linux/x86_64/bits/statfs.h: New file. - * sysdeps/unix/sysv/linux/x86_64/bits/time.h: New file. - * sysdeps/unix/sysv/linux/x86_64/bits/types.h: New file. - * sysdeps/unix/sysv/linux/x86_64/brk.c: New file. - * sysdeps/unix/sysv/linux/x86_64/clone.S: New file. - * sysdeps/unix/sysv/linux/x86_64/fstatfs64.c: New file. - * sysdeps/unix/sysv/linux/x86_64/ftruncate64.c: New file. - * sysdeps/unix/sysv/linux/x86_64/fxstat.c: New file. - * sysdeps/unix/sysv/linux/x86_64/fxstat64.c: New file. - * sysdeps/unix/sysv/linux/x86_64/getdents.c: New file. - * sysdeps/unix/sysv/linux/x86_64/getdents64.c: New file. - * sysdeps/unix/sysv/linux/x86_64/getrlimit64.c: New file. - * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file. - * sysdeps/unix/sysv/linux/x86_64/glob64.c: New file. - * sysdeps/unix/sysv/linux/x86_64/lxstat.c: New file. - * sysdeps/unix/sysv/linux/x86_64/lxstat64.c: New file. - * sysdeps/unix/sysv/linux/x86_64/mmap64.c: New file. - * sysdeps/unix/sysv/linux/x86_64/pread64.c: New file. - * sysdeps/unix/sysv/linux/x86_64/profil-counter.h: New file. - * sysdeps/unix/sysv/linux/x86_64/pwrite64.c: New file. - * sysdeps/unix/sysv/linux/x86_64/readdir.c: New file. - * sysdeps/unix/sysv/linux/x86_64/readdir64.c: New file. - * sysdeps/unix/sysv/linux/x86_64/readdir64_r.c: New file. - * sysdeps/unix/sysv/linux/x86_64/readdir_r.c: New file. - * sysdeps/unix/sysv/linux/x86_64/recv.c: New file. - * sysdeps/unix/sysv/linux/x86_64/register-dump.h: New file. - * sysdeps/unix/sysv/linux/x86_64/send.c: New file. - * sysdeps/unix/sysv/linux/x86_64/setrlimit64.c: New file. - * sysdeps/unix/sysv/linux/x86_64/sigaction.c: New file. - * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: New file. - * sysdeps/unix/sysv/linux/x86_64/sigpending.c: New file. - * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: New file. - * sysdeps/unix/sysv/linux/x86_64/sigsuspend.c: New file. - * sysdeps/unix/sysv/linux/x86_64/statfs64.c: New file. - * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: New file. - * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: New file. - * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: New file. - * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: New file. - * sysdeps/unix/sysv/linux/x86_64/sys/user.h: New file. - * sysdeps/unix/sysv/linux/x86_64/syscall.S: New file. - * sysdeps/unix/sysv/linux/x86_64/syscalls.list: New file. - * sysdeps/unix/sysv/linux/x86_64/sysdep.S: New file. - * sysdeps/unix/sysv/linux/x86_64/sysdep.h: New file. - * sysdeps/unix/sysv/linux/x86_64/time.c: New file. - * sysdeps/unix/sysv/linux/x86_64/truncate64.c: New file. - * sysdeps/unix/sysv/linux/x86_64/umount.c: New file. - * sysdeps/unix/sysv/linux/x86_64/vfork.S: New file. - * sysdeps/unix/sysv/linux/x86_64/xstat.c: New file. - * sysdeps/unix/sysv/linux/x86_64/xstat64.c: New file. - * sysdeps/unix/x86_64/sysdep.S: New file. - * sysdeps/unix/x86_64/sysdep.h: New file. - * sysdeps/x86_64/Implies: New file. - * sysdeps/x86_64/Makefile: New file. - * sysdeps/x86_64/Versions: New file. - * sysdeps/x86_64/__longjmp.S: New file. - * sysdeps/x86_64/abort-instr.h: New file. - * sysdeps/x86_64/atomicity.h: New file. - * sysdeps/x86_64/bits/endian.h: New file. - * sysdeps/x86_64/bits/setjmp.h: New file. - * sysdeps/x86_64/bits/string.h: New file. - * sysdeps/x86_64/bp-asm.h: New file. - * sysdeps/x86_64/bsd-_setjmp.S: New file. - * sysdeps/x86_64/bsd-setjmp.S: New file. - * sysdeps/x86_64/dl-machine.h: New file. - * sysdeps/x86_64/elf/initfini.c: New file. - * sysdeps/x86_64/elf/start.S: New file. - * sysdeps/x86_64/ffs.c: New file. - * sysdeps/x86_64/ffsll.c: New file. - * sysdeps/x86_64/fpu/bits/fenv.h: New file. - * sysdeps/x86_64/fpu/bits/mathdef.h: New file. - * sysdeps/x86_64/fpu/e_acosl.c: New file. - * sysdeps/x86_64/fpu/e_atan2l.c: New file. - * sysdeps/x86_64/fpu/e_exp2l.S: New file. - * sysdeps/x86_64/fpu/e_expl.c: New file. - * sysdeps/x86_64/fpu/e_fmodl.S: New file. - * sysdeps/x86_64/fpu/e_log10l.S: New file. - * sysdeps/x86_64/fpu/e_log2l.S: New file. - * sysdeps/x86_64/fpu/e_logl.S: New file. - * sysdeps/x86_64/fpu/e_powl.S: New file. - * sysdeps/x86_64/fpu/e_rem_pio2l.c: New file. - * sysdeps/x86_64/fpu/e_scalbl.S: New file. - * sysdeps/x86_64/fpu/e_sqrtl.c: New file. - * sysdeps/x86_64/fpu/fclrexcpt.c: New file. - * sysdeps/x86_64/fpu/fedisblxcpt.c: New file. - * sysdeps/x86_64/fpu/feenablxcpt.c: New file. - * sysdeps/x86_64/fpu/fegetenv.c: New file. - * sysdeps/x86_64/fpu/fegetexcept.c: New file. - * sysdeps/x86_64/fpu/fegetround.c: New file. - * sysdeps/x86_64/fpu/feholdexcpt.c: New file. - * sysdeps/x86_64/fpu/fesetenv.c: New file. - * sysdeps/x86_64/fpu/fesetround.c: New file. - * sysdeps/x86_64/fpu/fgetexcptflg.c: New file. - * sysdeps/x86_64/fpu/fraiseexcpt.c: New file. - * sysdeps/x86_64/fpu/fsetexcptflg.c: New file. - * sysdeps/x86_64/fpu/ftestexcept.c: New file. - * sysdeps/x86_64/fpu/libm-test-ulps: New file. - * sysdeps/x86_64/fpu/math_ldbl.h: New file. - * sysdeps/x86_64/fpu/printf_fphex.c: New file. - * sysdeps/x86_64/fpu/s_atanl.c: New file. - * sysdeps/x86_64/fpu/s_cosl.S: New file. - * sysdeps/x86_64/fpu/s_expm1l.S: New file. - * sysdeps/x86_64/fpu/s_fpclassifyl.c: New file. - * sysdeps/x86_64/fpu/s_isinfl.c: New file. - * sysdeps/x86_64/fpu/s_isnanl.c: New file. - * sysdeps/x86_64/fpu/s_log1pl.S: New file. - * sysdeps/x86_64/fpu/s_logbl.c: New file. - * sysdeps/x86_64/fpu/s_nextafterl.c: New file. - * sysdeps/x86_64/fpu/s_nexttoward.c: New file. - * sysdeps/x86_64/fpu/s_nexttowardf.c: New file. - * sysdeps/x86_64/fpu/s_rintl.c: New file. - * sysdeps/x86_64/fpu/s_significandl.c: New file. - * sysdeps/x86_64/fpu/s_sincosl.S: New file. - * sysdeps/x86_64/fpu/s_sinl.S: New file. - * sysdeps/x86_64/fpu/s_tanl.S: New file. - * sysdeps/x86_64/gmp-mparam.h: New file. - * sysdeps/x86_64/hp-timing.c: New file. - * sysdeps/x86_64/hp-timing.h: New file. - * sysdeps/x86_64/htonl.S: New file. - * sysdeps/x86_64/memusage.h: New file. - * sysdeps/x86_64/setjmp.S: New file. - * sysdeps/x86_64/soft-fp/sfp-machine.h: New file. - * sysdeps/x86_64/stackinfo.h: New file. - * sysdeps/x86_64/sysdep.h: New file. - * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: New file. - - * sysdeps/ieee754/ldbl-128/s_erfl.c: New file, contributed Stephen - L Moshier. - -2001-09-18 Ulrich Drepper <drepper@redhat.com> - - * malloc/malloc.c (ptmalloc_init): Handle _environ==NULL. - Reported by B. D. Elliott <bde@nwlink.com> [PR libc/2541]. - -2001-09-18 Andreas Schwab <schwab@suse.de> - - * elf/dl-load.c (_dl_map_object_from_fd): Update handling of scope - list, now that l_scope is a pointer. - - * elf/dl-open.c (dl_open_worker): Fix thinko when enlarging the - scope list. - -2001-09-18 kaz Kojima <kkojima@rr.iij4u.or.jp> - - * sysdeps/sh/dl-machine.h (elf_machine_rela): Fix reverse condition. - (elf_machine_rela_relative): Add a missing declaration. - -2001-09-18 Jakub Jelinek <jakub@redhat.com> - - * sysdeps/unix/sysv/linux/ia64/ldd-rewrite.sed: New file. - * sysdeps/unix/sysv/linux/s390/ldd-rewrite.sed: New file. - * sysdeps/unix/sysv/linux/configure.in: Add ia64 and s390 - ldd-rewrite scripts. - -2001-09-18 Ulrich Drepper <drepper@redhat.com> - - * elf/ldd.bash.in: Update copyright message. - -2001-09-17 H.J. Lu <hjl@gnu.org> - - * hurd/hurdmalloc.c (bcopy): Removed. - (realloc): Replace bcopy with memcpy. - * hurd/path-lookup.c (file_name_path_scan): Likewise. - * resolv/gethnamaddr.c (map_v4v6_address): Likewise. - * sunrpc/rpcinfo.c (pmapdump): Likewise. + * nscd/dbg_log.h (dbg_log): Correct attribute. - * resolv/gethnamaddr.c (getanswer): Replace bcopy with memmove. - (gethostbyaddr): Likewise. - * sunrpc/rpcinfo.c (get_inet_address): Likewise. +2000-12-08 Jakub Jelinek <jakub@redhat.com> -2001-09-18 Ulrich Drepper <drepper@redhat.com> + * elf/dl-load.c (fillin_rpath): Don't assume there is '\0' at + cp + len. Compute where from dirname. + Reported by <jreiser@BitWagon.com>. - * sysdeps/gnu/eval.c: Removed. +2000-12-08 Richard Henderson <rth@twiddle.net> -2001-09-18 Andreas Jaeger <aj@suse.de> + * sysdeps/alpha/_mcount.S: Fix typo. + * sysdeps/alpha/strncpy.S: Likewise. - * sysdeps/i386/fpu/s_logbl.S: Move to ... - * sysdeps/i386/fpu/s_logbl.c: ...here, use inline assembler. + * sysdeps/alpha/alphaev6/Implies: New file. + * sysdeps/alpha/alphaev67/Implies: New file. + * sysdeps/alpha/alphaev67/ffs.S: New file. + * sysdeps/alpha/alphaev67/ffsll.S: New file. + * sysdeps/alpha/alphaev67/rawmemchr.S: New file. + * sysdeps/alpha/alphaev67/stpcpy.S: New file. + * sysdeps/alpha/alphaev67/stpncpy.S: New file. + * sysdeps/alpha/rawmemchr.S: New file. + * sysdeps/alpha/strcat.S: Tail call to __stxcpy. + * sysdeps/alpha/strcpy.S: Likewise. - * sysdeps/i386/fpu/s_rintl.S: Move to ... - * sysdeps/i386/fpu/s_rintl.c: ...here, use inline assembler. + From GMP 3.1.1: + * sysdeps/alpha/alphaev6/addmul_1.s: New file. - * sysdeps/i386/fpu/s_significandl.S: Move to ... - * sysdeps/i386/fpu/s_significandl.c: ...here, use inline assembler. + From rick.gorton@alpha-processor.com: + * sysdeps/alpha/alphaev6/memchr.S: New file. + * sysdeps/alpha/alphaev6/memcpy.S: New file. + * sysdeps/alpha/alphaev6/memset.S: New file. + * sysdeps/alpha/alphaev6/stxcpy.S: New file. + * sysdeps/alpha/alphaev6/stxncpy.S: New file. + * sysdeps/alpha/alphaev67/strcat.S: New file. + * sysdeps/alpha/alphaev67/strchr.S: New file. + * sysdeps/alpha/alphaev67/strlen.S: New file. + * sysdeps/alpha/alphaev67/strncat.S: New file. + * sysdeps/alpha/htonl.S: Use a shorter sequence. -2001-09-16 Ulrich Drepper <drepper@redhat.com> +2000-12-08 Jakub Jelinek <jakub@redhat.com> - * string/strcoll.c [USE_IN_EXTENDED_LOCALE_MODEL]: Correctly get - nrules value. + * inet/getnameinfo.c (getnameinfo): Fix NI_NOFQDN support. + Reported by <pspencer@fields.utoronto.ca>. -2001-09-14 H.J. Lu <hjl@gnu.org> +2000-12-07 Jes Sorensen <jes@linuxcare.com> - * sysdeps/mips/fpu/libm-test-ulps: Updated. + * sysdeps/ia64/elf/start.S (__data_start): Add __data_start variable. + Pointed out by Hans Boehm. -2001-09-14 Ulrich Drepper <drepper@redhat.com> +2000-12-07 H.J. Lu <hjl@gnu.org> - * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Fix a typo. - Patch by Florian La Roche <laroche@redhat.com>. + * elf/dl-version.c (match_symbol): Check map->l_name[0] for printing. - * string/bits/string2.h (__strtok_r_1c): Optimize a bit. +2000-12-07 Andreas Jaeger <aj@suse.de> - * sysdeps/unix/sysv/linux/net/ethernet.h: Correct references to - ETHER_CRC_LEN. + * misc/error.c: Add format attributes for __error and __error_at_line. -2001-09-14 Andreas Schwab <schwab@suse.de> + * nscd/dbg_log.h: Add format attribute. - * posix/execl.c: Fix last argument of memcpy. Reported by Brian - Sumner <bls@sgi.com>. - * posix/execlp.c: Likewise. +2000-12-08 Ulrich Drepper <drepper@redhat.com> -2001-09-13 Jakub Jelinek <jakub@redhat.com> + * misc/sys/syslog.h: Add format attributes to syslog and vsyslog. + Patch by Joseph S. Myers <jsm28@cam.ac.uk>. - * elf/dl-deps.c (_dl_map_object_deps): Fix filter handling if filter - is already found earlier in the search scope. +2000-12-07 Dan Pop <Dan.Pop@cern.ch> -2001-09-12 Jakub Jelinek <jakub@redhat.com> + * sysdeps/ia64/strcpy.S: Fix a bug in a recovery code sequence. - * rt/Makefile (LDFLAGS-rt.so): Use shared thread library as librt's - filter. +2000-12-06 Ulrich Drepper <drepper@redhat.com> -2001-09-13 Ulrich Drepper <drepper@redhat.com> + * sysdeps/unix/sysv/aix/Makefile [$(subdir)==misc] + (sysdep_routines): Add uitrunc. + * sysdeps/unix/sysv/aix/uitrunc.c: New file. + Patches by Michael Keezer <mkeezer@redhat.com>. - * sysdeps/powerpc/fpu/libm-test-ulps: Adjust expected errors for j0. +2000-12-06 Roland McGrath <roland@frob.com> -2001-09-12 Ulrich Drepper <drepper@redhat.com> + * sysdeps/mach/hurd/ioctl.c (__ioctl): Don't clobber ARG as we copy in + argument data, since it will be used to copy out too (for INOUT). + Reported by Marcus Brinkmann <marcus@gnu.org>. - * config.h.in: Enforce optimization to be used. - * Makeconfig (preprocess-versions): Define ASSEMBLER. - * stdlib/Makefile (isomac-CFLAGS): Define to -O. - * posix/Makefile (annexc-CFLAGS): Define to -O. - * sysdeps/unix/make-syscalls.sh: Define __OPTIMIZE__ in use of asm_CPP. + * sysdeps/mach/hurd/ioctl.c: Include <stdint.h>. + (__ioctl): Use uintptr_t instead of unsigned long int. -2001-09-11 Ulrich Drepper <drepper@redhat.com> +2000-12-06 Jim Wilson <wilson@redhat.com> - * nscd/nscd_gethst_r.c: Don't expect IPv6 addresses for IPv4 lookup. - Patch by Stephan Kulow. + * stdlib/l64a.c (l64a): Truncate M to 32-bit value. -2001-09-08 Ben Collins <bcollins@debian.org> +2000-12-06 Ulrich Drepper <drepper@redhat.com> - * sysdeps/arm/dl-machine.h (elf_machine_rel): Fix thinko in - usage of RESOLVE() (r_type, not reloc->r_type). + * stdio-common/printf_fp.c (__printf_fp): Handle decimal point in + x.5 rounding correctly. -2001-09-08 Ulrich Drepper <drepper@redhat.com> +2000-12-06 Mark Kettenis <kettenis@gnu.org> - * elf/dl-object.c: Avoid allocating extra memory block for name. - * elf/dl-close.c (_dl_close): Don't free l_libname if it is not - allocated separately. - * elf/dl-load.c (_dl_map_object_from_fd): Likewise. + * stdio-common/perror.c (perror): Conditionalize code dealing with + wide-oriented streams on USE_IN_LIBIO. -2001-09-08 H.J. Lu <hjl@gnu.org> +2000-12-06 Mark Kettenis <kettenis@gnu.org> - * po/zh_TW.po: Fix a typo. + * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup): Mark + as internal_function. -2001-09-07 Tom Rix <trix@redhat.com> +2000-12-05 Ulrich Drepper <drepper@redhat.com> - * sysdeps/unix/sysv/aix/sysv_termio.h: New file. + * sysdeps/alpha/elf/start.S (__data_start): Define. -2001-08-26 Tom Rix <trix@redhat.com> +2000-12-05 H.J. Lu <hjl@gnu.org> - * sysdeps/unix/sysv/aix/Makefile (aix-syscalls.o): More linker - command line options. - * sysdeps/unix/sysv/aix/start.s: New file, rework of start.c - * sysdeps/unix/sysv/aix/start.c: Removed. - * sysdeps/unix/sysv/aix/start-libc.c: New file. - * sysdeps/unix/sysv/aix/init-first.c: New file. - * sysdeps/unix/sysv/aix/fcntl.c: Alias __libc_fcntl to __fcntl. + * nss/getXXent_r.c (setup): Change the return type to int. -2001-09-08 Ben Collins <bcollins@debian.org> +2000-12-05 Ulrich Drepper <drepper@redhat.com> - * sysdeps/arm/dl-machine.h: Fix usage of new _dl_signal_error() format. - * sysdeps/generic/dl-machine.h: Likewise. - * sysdeps/hppa/dl-fptr.c: Likewise. - * sysdeps/ia64/dl-fptr.c: Likewise. - * sysdeps/mach/hurd/dl-sysdep.c: Likewise. - * sysdeps/mips/dl-machine.h: Likewise. - * sysdeps/mips/mips64/dl-machine.h: Likewise. - * sysdeps/powerpc/dl-machine.c: Likewise. - -2001-09-07 Ben Collins <bcollins@debian.org> - - * sysdeps/sparc/sparc32/dl-machine.h: Fix typo. - - * sysdeps/hppa/dl-lookupcfg.h: Forward declare struct link_map. - -2001-09-08 Ulrich Drepper <drepper@redhat.com> - - * elf/dl-lookup.c (add_dependency): Bump l_opencount of all - dependencies if necessary. - - * elf/dl-close.c (_dl_close): If object has no r_list (i.e., wasn't - loaded directly) determine length if l_initfini list by iterating - over its elements. Minor optimizations. - * elf/dl-deps.c (_dl_map_object_deps): Always add own map to l_initfini - for dependency objects. - If object was already loaded check whether any of the dependencies - is already on the relocation dependency list. If yes, remove the - latter. Minor optimizations. - * elf/dl-lookup.c (add_dependency): Add check for self reference of - maps here. Search l_initfini list only if the object was loaded - directly and not only as a dependency. - (_dl_lookup_symbol): Add relocation dependency also if object - is not in global scope. Remove test for self-reference here. - (_dl_lookup_versioned_symbol): Likewise. - * elf/dl-object (_dl_new_object): Cleanup. Initialize dont_free - element of first name record. - * elf/loadtest.c: Add some more test to recognize early if an object - wasn't unloaded. - * elf/Makefile: Add rules to build and run reldep5. - * elf/reldep5.c: New file. - * elf/reldepmod5.c: New file. - * elf/reldepmod6.c: New file. - - * elf/reldep2.c: Fix typo. - -2001-09-07 Ulrich Drepper <drepper@redhat.com> - - * include/link.h (struct link_map): Add l_scope_mem and l_scope_max - elements. Change l_scope to be a pointer only. - * elf/dl-object.c (_dl_new_object): Initialize l_scope and l_scope_max. - * elf/dl-open.c (dl_open_worker): If dependency wasn't just opened - here add searchlist of newly open file to the dependency's scope. - * elf/dl-close.c (_dl_close): If dependency is used otherwise remove - only searchlist from its scope. Free own scope array if necessary. - * elf/Makefile (tests): Add dblload and dblunload now. - -2001-09-06 Andreas Jaeger <aj@suse.de> - - * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: New file, contributed - Stephen L Moshier. + * sysdeps/unix/sysv/aix/Makefile [$(subdir)==misc] + (sysdep_routines): Add restf and savef. + * sysdeps/unix/sysv/aix/restf.c: New file. + * sysdeps/unix/sysv/aix/savef.c: New file. + Patches by Michael Keezer <mkeezer@redhat.com>. -2001-09-05 Ulrich Drepper <drepper@redhat.com> + * sysdeps/unix/opendir.c (__opendir): Don't use o_directory_works + if O_DIRECTORY is not defined. + Patch by Michael Keezer <mkeezer@redhat.com>. - * elf/Makefile: Add rules to build new tests. Don't run them yet since - they both fail. - * elf/dblload.c: New file. - * elf/dblloadmod1.c: New file. - * elf/dblloadmod2.c: New file. - * elf/dblloadmod3.c: New file. - * elf/dblunload.c: New file. + * include/libc-symbols.h (C_SYMBOL_DOT_NAME): Define. + Patch by Michael Keezer <mkeezer@redhat.com>. -2001-09-04 Richard Henderson <rth@redhat.com> + * locale/programs/linereader.c (get_toplvl_escape): Recognize more + than 4 bytes in escape sequence. + Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>. - * elf/elf.h (R_ALPHA_OP_*, R_ALPHA_IMMED_*): Remove. - (R_ALPHA_GPREL16): Rename from R_ALPHA_IMMED_GP_16. +2000-12-05 Andreas Jaeger <aj@suse.de> -2001-09-04 Ulrich Drepper <drepper@redhat.com> + * sysdeps/unix/sysv/linux/mips/sys/tas.h (_test_and_set): Don't + set mips2. - Correct very misleading message for error in failed runtime relocation. - * elf/dl-error.c (_dl_signal_error): Take extra parameter to describe - place of the error. - (_dl_signal_cerror): Likewise. - * sysdeps/generic/ldsodefs.h: Adjust prototypes. - * elf/dl-close.c: Likewise. - * elf/dl-deps.c: Likewise. - * elf/dl-load.c: Likewise. - * elf/dl-lookup.c: Likewise. - * elf/dl-open.c: Likewise. - * elf/dl-reloc.c: Likewise. - * elf/dl-sym.c: Likewise. - * elf/dl-version.c: Likewise. - * sysdeps/generic/dl-sysdep.c: Likewise. + * sysdeps/unix/sysv/linux/mips/sysdep.h: New file. -2001-09-04 Jakub Jelinek <jakub@redhat.com> + * sysdeps/unix/sysv/linux/mips/sys/syscall.h: Removed. - * iconv/strtab.c (strtabinit): Initialize null Strent. - (newstring): Move len == 0 handling... - (strtabadd): ...here. - If len == 1, return null Strent. - When inserting a suffix of an existing string, check if - it is not equal to some suffix already recorded. - Copy left and right members over if adding longer string. + * sysdeps/unix/mips/sysdep.h: Use SYS_ify. + Patches by Maciej W. Rozycki <macro@ds2.pg.gda.pl>. -2001-09-04 Jakub Jelinek <jakub@redhat.com> + * elf/dl-misc.c (_dl_sysdep_read_whole_file): Mark as + internal_function. + * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Likewise. + * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start_cleanup): Likewise. - * sunrpc/rpc_cout.c (upcase): Account for trailing '\0'. + * sysdeps/generic/dl-cache.c: Remove declaration of + _dl_sysdep_read_whole_file. - * sysdeps/unix/sysv/linux/alpha/gethostname.c: Include <errno.h>. - (__syscall_gethostname): Add prototype. + * elf/dl-load.c (_dl_map_object): Remove declaration of + _dl_load_cache_lookup. -2001-09-04 Ulrich Drepper <drepper@redhat.com> + * sysdeps/generic/ldsodefs.h: Add declarations of + _dl_load_cache_lookup, _dl_unload_cache, + _dl_sysdep_read_whole_file, _dl_sysdep_start and + _dl_sysdep_start_cleanup. - * elf/dl-object.c (_dl_new_object): Remove unnecessary if. + * elf/rtld.c: Remove prototypes that are defined in ldsodefs.h + now. -2001-09-02 Ulrich Drepper <drepper@redhat.com> + * elf/dl-misc.c: Include <ldsodefs.h> to get prototypes. + * sysdeps/generic/dl-environ.c: Likewise. - * elf/rtld.c (dl_main): Increment l_opencount for main binary. + * stdio-common/printf_fp.c: Include <gmp.h> instead of + <stdlib/gmp.h>. + * math/atest-exp.c: Likewise. + * math/atest-exp2.c: Likewise. + * math/atest-sincos.c: Likewise. + * stdio-common/_itoa.c: Likewise. + * stdio-common/_itowa.c: Likewise. -2001-08-27 Roland McGrath <roland@frob.com> + * include/gmp.h: New file with internal prototypes. - * sysdeps/unix/sysv/gethostname.c (__gethostname): When LEN is too - short, copy that much into NAME anyway before returning error. + * sysdeps/generic/longjmp.c: Move _longjmp_unwind declaration from + here to... + * include/setjmp.h: ...here. -2001-09-01 Richard Henderson <rth@redhat.com> + * locale/Makefile (routines): Remove codeset_name since it's not + needed anywhere. - * sysdeps/alpha/elf/Dist: Remove file. - * sysdeps/alpha/elf/Makefile: Remove file. - * sysdeps/alpha/elf/crtbegin.S: Remove file. - * sysdeps/alpha/elf/crtend.S: Remove file. - * sysdeps/alpha/elf/initfini.c: New file. + * locale/codeset_name.c: Removed. -2001-09-01 Mark Kettenis <kettenis@gnu.org> +2000-12-05 Ulrich Drepper <drepper@redhat.com> - * iconv/tst-iconv1.c: Include <stddef.h> for wchar_t. - * iconv/tst-iconv3.c: Likewise. + * sysdeps/unix/sysv/aix/sys/param.h: Define MAXHOSTNAMELEN here. -2001-09-01 Jakub Jelinek <jakub@redhat.com> +2000-12-05 Andreas Jaeger <aj@suse.de> - * sysdeps/generic/inttypes.h (__gwchar_t): Define to wchar_t for C++. + * sysdeps/unix/sysv/linux/sys/param.h: Revert last patch. -2001-09-01 Ulrich Drepper <drepper@redhat.com> +2000-12-05 Martin Schwidefsky <schwidefsky@de.ibm.com> - * iconv/gconv_cache.c: Rename variable cache to __gconv_cache and - export it. - * iconv/Versions (libc) [GLIBC_2.2.5]: Export __gconv_cache. - * iconv/iconv_prog.c (insert_cache): New function. - (print_known_names): If cache is used call insert_cache to use the - information from the cache [PR libc/2509]. + * sysdeps/unix/sysv/linux/s390/mmap64.S: Use mmap if mmap2 isn't + available. -2001-08-31 Ulrich Drepper <drepper@redhat.com> +2000-12-05 Andreas Jaeger <aj@suse.de> - * time/strptime.c (strptime_internal): Recognize 'l' format and - handle it like 'I' for symmetry with strftime. + * nss/test-netdb.c: Mark local functions as static to avoid + warnings. + (main): Use return to silence warning. -2001-08-31 Richard Henderson <rth@redhat.com> + * stdlib/test-canon.c (check_path): Mark as static to avoid warning. - * elf/dl-support.c (_dl_cpuclock_offset): Protect with NONAVAIL. - (HP_TIMING_AVAIL): Set to HP_SMALL_TIMING_AVAIL if present. - * elf/rtld.c (HP_TIMING_AVAIL): Likewise. - (print_statistics): Make scalar unsigned long long. - * sysdeps/alpha/hp-timing.h: New file. + * stdio-common/test-popen.c: Mark local functions as static to + avoid warnings. + (main): Use return to silence warning. -2001-08-31 Jakub Jelinek <jakub@redhat.com> + * stdlib/testsort.c (compare): Mark as static to avoid warning. - * stdio-common/perror.c (perror): Save errno early, pass it - down to perror_internal. - (perror_internal): Add errnum argument. + * assert/test-assert.c: Mark local functions as static to avoid + warnings. + * assert/test-assert-perr.c: Likewise. -2001-08-31 Jakub Jelinek <jakub@redhat.com> + * math/libm-test.inc (main): Use return to silence warnings. + +2000-12-04 Ulrich Drepper <drepper@redhat.com> - * sysdeps/alpha/dl-machine.h (elf_machine_rela): Remove unused code. - Don't add old memory content for R_ALPHA_REFQUAD. + * math/fenv.h: Fix typo in comment. -2001-08-30 Ulrich Drepper <drepper@redhat.com> + * math/test-misc.c (main): Add a few more over and underflow tests + for scalb. - * crypt/md5-crypt.c (__md5_crypt_r): Compute used and required - memory correctly. + * sysdeps/i386/fpu/e_scalb.S: Handle NaN as first parameter correctly. + * sysdeps/i386/fpu/e_scalbf.S: Likewise. + * sysdeps/i386/fpu/e_scalbl.S: Likewise. + * math/w_scalb.c: Don't use matherr except in SVID mode. + * math/w_scalbf.c: Likewise. + * math/w_scalbl.c: Likewise. + * math/test-misc.c: Add test for NaN and scalbl. + Reported by Fred J. Tydeman <tydeman@tybor.com>. - * sysdeps/unix/sysv/linux/ia64/ioperm.c (_ioperm): Use __open - instead of open, __close instead of close, __getpagesize instead - of getpagesize. +2000-12-04 Ulrich Drepper <drepper@redhat.com> - * string/argz-stringify.c (__argz_stringify): Use __strnlen - instead of strnlen. - * include/string.h (strndupa): Redefine here to use __strnlen - instead of strnlen. - * string/strndup.c (__strndup): Use __strnlen not strnlen. + * configure.in: Define HAVE_ASM_GLOBAL_DOT_NAME for AIX. + * config.h.in: Add HAVE_ASM_GLOBAL_DOT_NAME. + * include/libc-symbols.h (strong_alias): Define special version + for HAVE_ASM_GLOBAL_DOT_NAME. + (weak_alias): Likewise. + * sysdeps/powerpc/bsd-setjmp.S: Use strong_alias not .set. + * sysdeps/unix/sysv/aix/Makefile [$(subdir)==login] + (sysdep_routines): Add setutxent, getutxent, endutxent, getutxid, + getutxline, pututxline, and utmpxname. + * sysdeps/unix/sysv/aix/fchdir.c: Define __fchdir. + * sysdeps/unix/sysv/aix/lseek.c: Define __libc_lseek alias. + * sysdeps/unix/sysv/aix/open.c: Define __libc_open alias. + * sysdeps/unix/sysv/aix/pread.c: Define pread alias. + * sysdeps/unix/sysv/aix/pread64.c: Define pread64 alias. + * sysdeps/unix/sysv/aix/sysdep.h (JUMPTARGET): Use C_TEXT. + * sysdeps/unix/sysv/aix/bits/types.h: Define __clockid_t and __timer_t. + * sysdeps/unix/sysv/aix/bits/utmp.h: Cleanup. Add comments. + * sysdeps/unix/sysv/linux/sys/param.h (MAXHOSTNAMELEN): Define. + Patches by Michael Keezer <mkeezer@redhat.com>. - * misc/syslog.c (vsyslog): Fix typo in last change (connect -> - connected). +2000-12-04 H.J. Lu <hjl@gnu.org> -2001-08-30 Jakub Jelinek <jakub@redhat.com> + * configure.in: Change --with-oldest-abi=ABI to + --enable-oldest-abi=ABI. - * sysdeps/alpha/dl-machine.h (elf_machine_rela): Don't handle - R_ALPHA_RELATIVE if RTLD_BOOTSTRAP and HAVE_Z_COMBRELOC. Only check - for rtld map if neither RTLD_BOOTSTRAP nor HAVE_Z_COMBRELOC is defined. - * sysdeps/i386/dl-machine.h (elf_machine_rel): Similarly. - * sysdeps/ia64/dl-machine.h (elf_machine_rel): Similarly. - * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rel): Similarly. - * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rel): Similarly. +2000-12-02 Bruno Haible <haible@clisp.cons.org> -2001-08-30 Ulrich Drepper <drepper@redhat.com> + * stdio-common/perror.c (perror): If stderr is wide-oriented, use + fwprintf instead of fprintf. - * sysdeps/alpha/fpu/libm-test-ulps: Adjust j0 ULPs. +2000-12-04 Ulrich Drepper <drepper@redhat.com> -2001-08-30 Andreas Jaeger <aj@suse.de> + * sysdeps/alpha/fpu/bits/mathdef.h: Remove FLT_EVAL_METHOD and + DECIMAL_DIG definitions. + * sysdeps/arm/fpu/bits/mathdef.h: Likewise + * sysdeps/generic/bits/mathdef.h: Likewise + * sysdeps/i386/fpu/bits/mathdef.h: Likewise + * sysdeps/ia64/fpu/bits/mathdef.h: Likewise + * sysdeps/m68k/fpu/bits/mathdef.h: Likewise + * sysdeps/powerpc/fpu/bits/mathdef.h: Likewise + * sysdeps/sparc/fpu/bits/mathdef.h: Likewise + * sysdeps/sh/sh4/fpu/bits/mathdef.h: Likewise - * sysdeps/ieee754/ldbl-128/e_jnl.c: New file, - contributed Stephen L Moshier. +2000-12-03 Ulrich Drepper <drepper@redhat.com> -2001-08-30 Jakub Jelinek <jakub@redhat.com> + * math/test-fenv.c (main): Use return instead of exit to avoid warning. - * sunrpc/etc.rpc (sgi_fam): Add. + * math/atest-exp.c: Mark local functions as static to avoid warnings. + * math/atest-exp2.c: Likewise. + * math/atest-sincos.c: Likewise. -2001-08-30 Ulrich Drepper <drepper@redhat.com> + * sysdeps/i386/fpu/bits/mathdef.h (DECIMAL_DIG): Correct value. + Reported by Fred J. Tydeman <tydeman@tybor.com>. - * sysdeps/unix/sysv/linux/alpha/gethostname.c: New file. + * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Hopefully fix + the handling of denormalized numbers. -2001-08-29 Ulrich Drepper <drepper@redhat.com> + * math/test-misc.c (main): Test for fpclassify and pseudo denormal + numbers on x86. + * sysdeps/i386/fpu/fpclassifyl.c: New file. - * nis/nis_findserv.c (__nis_findfastest): Don't fail if reply received - first is from a previous call. - Patch by Alexander Belopolsky <alexb@rentec.com> for [PR libc/3670]. + * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Handle the + pseudo denormal representation of LDBL_MIN. -2001-08-29 Andreas Schwab <schwab@suse.de> + * iconvdata/SJIS.irreversible: Remove unnecessary entries. + * iconvdata/EUC-JP.irreversible: Remove unnecessary entries. - * sysdeps/ia64/fpu/libm-test-ulps: Updated. + * iconvdata/sjis.c: Enable round-trip mapping of backslash and tilde. + * iconvdata/jis0208.c: Likewise. + * iconvdata/jis0212.c: Likewise. + Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>. -2001-08-25 Maciej W. Rozycki <macro@ds2.pg.gda.pl> + * math/test-misc.c (main): More tests for frexp and some for + fpclassify and isnormal. - * config.make.in (INSTALL_SCRIPT): Define. - * Makeconfig (INSTALL_SCRIPT): Define. - * Makerules (do-install-script): New macro to install scripts using - INSTALL_SCRIPT. - (install-bin-script): New rule to install scripts with - do-install-script. - (install-bin-script-nosubdir): New rule. - (install-no-libc.a-nosubdir): Add install-bin-script-nosubdir. - (distinfo-vars): Add $(install-bin-script). - * Rules (others): Likewise. - * Makefile (glibcbug): Install with install-bin-script. - * debug/Makefile (xtrace): Likewise. - (catchsegv): Likewise. - * elf/Makefile (ldd): Likewise. - * malloc/Makefile (mtrace): Likewise. - * timezone/Makefile (tzselect): Likewise. + * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf): Correct + test for subnormal. + Reported by Fred J. Tydeman <tydeman@tybor.com>. -2001-08-29 H.J. Lu <hjl@gnu.org> + * math/test-misc.c (main): Add tests for frexp. + Reported by Fred J. Tydeman <tydeman@tybor.com>. + * sysdeps/i386/fpu/s_frexpl.S: Don't overflow during the computation. - * sysdeps/mips/dl-machine.h (__dl_runtime_resolve): Pass - ELF_RTYPE_CLASS_PLT, instead of R_MIPS_REL32, to - _dl_lookup_versioned_symbol () and _dl_lookup_symbol (). +2000-12-02 H.J. Lu <hjl@gnu.org> -2001-08-29 Andreas Schwab <schwab@suse.de> + * locale/lc-time.c (_nl_init_era_entries): Pass L'\0' instead of + '\0' to wcschr. + +2000-12-02 Ulrich Drepper <drepper@redhat.com> + + * sysdeps/i386/fpu/s_frexp.S: Add missing fwait. + * sysdeps/i386/fpu/s_frexpf.S: Likewise. + * sysdeps/i386/fpu/s_frexpl.S: Likewise. - * sysdeps/m68k/fpu/libm-test-ulps: Updated. + * sysdeps/generic/glob.c: Adjust types of several variables to + avoid warnings. -2001-08-28 H.J. Lu <hjl@gnu.org> +2000-12-01 Ulrich Drepper <drepper@redhat.com> - * Makeconfig (combreloc-LDFLAGS): New variable. - Add it to LDFLAGS.so, LDFLAGS-rtld, and +link. - * config.make.in (have-z-combreloc): New variable. - * configure.in: Substitute libc_cv_z_combreloc. + * sysdeps/unix/sysv/linux/shm_open.c: Remove incorrect comment. -2001-08-29 Ulrich Drepper <drepper@redhat.com> +2000-11-30 Roland McGrath <roland@frob.com> - * po/sv.po: Update from translation team. - * po/fr.po: Likewise. - * po/da.po: Likewise. + * hurd/hurd/ioctl.h (_HURD_HANDLE_IOCTLS_1): New macro. + (_HURD_HANDLE_IOCTLS, _HURD_HANDLE_IOCTL): Redefine using it, so as to + allow multiple instances using the same function name in one file. -2001-08-28 Maciej W. Rozycki <macro@ds2.pg.gda.pl> +2000-12-01 Ulrich Drepper <drepper@redhat.com> - * Makerules: Fix a typo: MD% -> MD5. + * configure.in: Correct test for pserver CVS access. -2001-08-28 Ulrich Drepper <drepper@redhat.com> +2000-11-28 H.J. Lu <hjl@gnu.org> - * sunrpc/rpc_hout.c (pargdef): Function must take pointer to object. - Patch by Patrick Duval <Patrick.Duval@devinci.fr>. + * libio/libio.h: Remove extra "#if ... #endif". -2001-08-28 Andreas Jaeger <aj@suse.de> +2000-11-29 H.J. Lu <hjl@gnu.org> - * manual/libc-texinfo.sh: Add entry about free manuals. + * stdio-common/vfscanf.c (ORIENT): Swap the COMPILE_WSCANF case. - * manual/contrib.texi (Contributors): Fix cross reference. +2000-12-01 H.J. Lu <hjl@gnu.org> - * manual/libc.texinfo (Copying): Include freemanuals. + * nss/getXXbyYY_r.c: Fix verioned symbol handling. + * nss/getXXent_r.c: Likewise. + * sysdeps/unix/sysv/linux/i386/chown.c: Likewise. - * manual/Makefile (appendices): Add freemanuals. +2000-11-30 H.J. Lu <hjl@gnu.org> - * manual/freemanuals.texi: New file. - Patch by Brian Youmans <3diff@gnu.org>. + * scripts/abi-versions.awk (oldest_abi): New variable. + Handle the oldest ABI supported. - * manual/libm-err-tab.pl: Pretty print more platforms, print a - smaller table. + * Makerules ($(common-objpfx)abi-versions.h): Set oldest_abi + for scripts/abi-versions.awk. - * manual/math.texi (Errors in Math Functions): Fix grammar, start - table on separate page. - Patch by Brian Youmans <3diff@gnu.org>. + * configure.in: Add --with-oldest-abi=ABI. + * configure: Rebuild. -2001-08-27 Ulrich Drepper <drepper@redhat.com> + * config.make.in (oldest-abi): New. - * misc/syslog.c (vsyslog): Try a bit harder to use syslogd. If - the connection went down after we first used it try to connect - again and resend the message before printing to the console. - Reported by Coserea Gh. Tudor <tudore@tudore.gecadsoftware.com>. + * config.h.in (GLIBC_OLDEST_ABI): New. -2001-08-27 Jakub Jelinek <jakub@redhat.com> + * csu/version.c (banner): Support GLIBC_OLDEST_ABI. - * string/tst-strlen.c (main): Test strnlen (, -1) too. - * sysdeps/generic/strnlen.c (__strnlen): Fix for maxlens with top - bit set. +2000-11-30 Jakub Jelinek <jakub@redhat.com> -2001-08-27 Ulrich Drepper <drepper@redhat.com> + * locale/setlocale.c (setname): Free for all categories, not just + LC_ALL. + (setlocale): Store a copy of string passed by user, not the string + itself. - * iconv/strtab.c (searchstring): Use correct length for comparison. - (strtabadd): Account total size correct if new string has old string as - substring. +2000-11-30 Roland McGrath <roland@frob.com> -2001-08-27 Jakub Jelinek <jakub@redhat.com> + * sysdeps/mach/hurd/defs.c (init_stdio): Put this on __libc_subinit + rather than _hurd_fd_subinit, so it happens after it's safe to use + libc facilities like malloc. - * elf/rtld.c (dl_main): Update call to _dl_lookup_symbol. +2000-11-28 Andreas Jaeger <aj@suse.de> -2001-08-27 Andreas Jaeger <aj@suse.de> + * sysdeps/unix/sysv/linux/getdents.c: Add _syscall_getdents64 + declaration, adjust declaration of __syscall_getdents to match + kernel. - * sysdeps/i386/fpu/libm-test-ulps (float): Add ulps for new tests. +2000-11-29 H.J. Lu <hjl@gnu.org> - * math/libm-test.inc (j0_test): Add extra tests. - * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Use |x|, - not x, in Hankel approximation. - Patches by Stephen L Moshier. + * sysdeps/generic/readelflib.c (check_ptr): Undefine it first. -2001-08-26 Ulrich Drepper <drepper@redhat.com> +2000-11-29 Andreas Jaeger <aj@suse.de> - * sysdeps/ia64/dl-lookupcfg.h: Add forward declaration for struct - link_map. + * sysdeps/unix/sysv/linux/hppa/brk.c (__brk): Remove unused variable. - * configure.in: Fix test for .rela.dyn section. +2000-11-28 Ulrich Drepper <drepper@redhat.com> - * elf/dl-runtime.c: Update calls to _dl_lookup_*. + * dlfcn/defaultmod1.c: Add prototypes to avoid warnings. + * dlfcn/defaultmod2.c: Likewise. + * dlfcn/dlopen.c: Likewise. + * dlfcn/dlopenold.c: Likewise. + * dlfcn/failtestmod.c: Likewise. + * dlfcn/glreflib1.c: Likewise. + * dlfcn/glreflib2.c: Likewise. + * dlfcn/eval.c: Likewise. Add attributes. -2001-08-26 Jakub Jelinek <jakub@redhat.com> + * ctype/ctype-extn.c: Define isblank and not __isblank. - * elf/dl-reloc.c (RESOLVE_MAP, RESOLVE): Use elf_machine_type_class - instead of elf_machine_lookup_noexec_p and elf_machine_lookup_noplt_p. - Pass type_class to _dl_lookup_*. - * elf/dl-lookup.c (_dl_lookup_symbol): Take type_class parameter now. - Pass around just type_class instead of noexec, noplt pair. - (_dl_lookup_versioned_symbol): Likewise. - (_dl_lookup_symbol_skip): Pass around just type_class instead of - noexec, noplt pair. - (_dl_lookup_versioned_symbol_skip): Likewise. - (_dl_do_lookup, _dl_do_lookup_versioned): Likewise. - * elf/do-lookup.h (do_lookup): Likewise. - * include/link.h (struct link_map): Replace noexec and noplt fields - in l_lookup_cache with type_class field. - * sysdeps/generic/ldsodefs.h (ELF_RTYPE_CLASS_PLT, - ELF_RTYPE_CLASS_COPY): Define. - Adjust prototypes for _dl_lookup_symbol and - _dl_lookup_versioned_symbol. - * sysdeps/alpha/dl-machine.h (elf_machine_lookup_noplt_p, - elf_machine_lookup_noexec_p): Remove. - (elf_machine_type_class): Define. - * sysdeps/arm/dl-machine.h: Likewise. - * sysdeps/hppa/dl-machine.h: Likewise. - * sysdeps/cris/dl-machine.h: Likewise. - * sysdeps/i386/dl-machine.h: Likewise. - * sysdeps/ia64/dl-machine.h: Likewise. - * sysdeps/m68k/dl-machine.h: Likewise. - * sysdeps/mips/mips64/dl-machine.h: Likewise. - * sysdeps/mips/dl-machine.h: Likewise. - * sysdeps/powerpc/dl-machine.h: Likewise. - * sysdeps/sparc/sparc32/dl-machine.h: Likewise. - * sysdeps/sparc/sparc64/dl-machine.h: Likewise. - * sysdeps/sh/dl-machine.h: Likewise. - * sysdeps/s390/s390-32/dl-machine.h: Likewise. - * sysdeps/s390/s390-64/dl-machine.h: Likewise. + * time/strftime.c: Add const where necessary to avoid warnings. + * time/strptime.c (strptime_internal): Add casts to avoid warnings. -2001-08-26 Ulrich Drepper <drepper@redhat.com> +2000-11-22 Paul Eggert <eggert@twinsun.com> - * manual/message.texi (Advanced gettext functions): Change - description of plural forms for Slovak. - Reported by Marcel Telka <marcel@telka.sk>. + * time/strftime.c (my_strftime): Do not invoke mbrlen with a + size of (size_t) -1; it's not portable. - * manuaL/time.texi (Low-Level Time String Parsing): Fix description of - %z. Reported by C. Scott Ananian <cananian@lesser-magoo.lcs.mit.edu>. +2000-11-28 Ulrich Drepper <drepper@redhat.com> -2001-08-26 Jakub Jelinek <jakub@redhat.com> + * sysdeps/i386/fpu/libm-test-ulps: Adjust some values for the + crappy i486 FPU. + Reported by Michael Deutschmann <michael@talamasca.ocis.net>. - * sysdeps/s390/s390-32/dl-machine.h (elf_machine_lazy_rel): Fix a - typo. Patch by Florian La Roche <laroche@redhat.com>. +2000-11-14 Jes Sorensen <jes@linuxcare.com> -2001-08-26 Ulrich Drepper <drepper@redhat.com> + * sysdeps/ia64/_mcount.S: Call __mcount instead of __mcount_internal. - * include/link.h (struct link_map): Add l_lookup_cache element. - * elf/dl-reloc.c (RESOLVE): Add symbol caching here. - (RESOLVE_MAP): Likewise. - (_dl_relocate_object): Remove cache initialization. - * elf/dl-lookup.c: Rip out cache handling code. - * sysdeps/generic/ldsodefs.h: Remove lookup_cache struct and variable - declarations. + * sysdeps/ia64/Makefile: Compile _mcount.S in subdir gmon as + _mcount is required by profiled binaries. - * elf/dl-lookup.c (_dl_lookup_symbol): Reorder some conditions and - remove some __builtin_expect. - (_dl_lookup_versioned_symbol): Likewise. + * sysdeps/unix/sysv/linux/ia64/machine-gmon.h: Moved to... + * sysdeps/ia64/machine-gmon.h: ...here. - * config.h.in: Add HAVE_Z_COMBRELOC. - * configure.in: Add test for -z combreloc. +2000-11-28 Masahide Washizawa <washi@jp.ibm.com> - * sysdeps/i386/dl-machine.h (elf_machine_rel): Minor cleanups and - optimizations. Use HAVE_Z_COMBRELOC to avoid generaton of - R_386_RELATIVE handling for ld.so startup. Reduce RTLD_BOOTSTRAP - case to almost no code. + * iconvdata/Makefile (modules): Add IBM922, IBM1124, and IBM1129. + (distribute): Add ibm922.c, ibm1124.c, ibm1129.c, ibm922.h, ibm1124.h, + and ibm1129.h. + * iconvdata/gconv-modules: Add entries for IBM922, IBM1124, and + IBM1129. + * iconvdata/ibm922.c: New file. + * iconvdata/ibm922.h: New file. + * iconvdata/ibm1124.c: New file. + * iconvdata/ibm1124.h: New file. + * iconvdata/ibm1129.c: New file. + * iconvdata/ibm1129.h: New file. + * iconvdata/testdata/IBM922: New file. + * iconvdata/testdata/IBM922..UTF8: New file. + * iconvdata/testdata/IBM1124: New file. + * iconvdata/testdata/IBM1124..UTF8: New file. + * iconvdata/testdata/IBM1129: New file. + * iconvdata/testdata/IBM1129..UTF8: New file. -2001-08-25 Ulrich Drepper <drepper@redhat.com> +2000-11-28 Ulrich Drepper <drepper@redhat.com> - * po/tr.po: Update from translation team. + * catgets/gencat.c (normalize_line): Take extra parameter with escape + character. Change callers. + (open_conversion): Determine mapping of 0x5c as wchar_t value. + * catgets/Makefile: Add rules to build and run test-gencat. + * catgets/sample.SJIS: New file. + * catgets/test-gencat.c: New file. + * catgets/test-gencat.sh: New file. + Report and test case by Shinya Hanataka <hanataka@abyss.rim.or.jp>. -2001-08-24 Andreas Jaeger <aj@suse.de> +2000-11-28 Andreas Jaeger <aj@suse.de> - * iconv/Makefile (extra-objs): Add iconvconfig-modules so that - make clean works. + * sysdeps/unix/sysv/linux/mips/bits/socket.h: Synch with generic + Linux version. -2001-08-24 Ulrich Drepper <drepper@redhat.com> +2000-11-28 Ulrich Drepper <drepper@redhat.com> - * elf/rtld.c (print_statistics): Printf % after percent values. - * elf/dl-misc.c (_dl_debug_vdprintf): Implement %%. + * sysdeps/unix/sysv/linux/bits/socket.h: Fix last patch. - * elf/dl-lookup.c (_dl_lookup_symbol): If we use the cache we - don't have to compute the hash value and initialize current_value. - Move reference_name variable to where it is needed. - (_dl_lookup_versioned_symbol): Likewise. +2000-11-28 Andreas Jaeger <aj@suse.de> -2001-08-24 Roland McGrath <roland@frob.com> + * sysdeps/unix/sysv/linux/bits/socket.h (struct cmsghdr): Use + __flexarr. + * sysdeps/unix/sysv/linux/mips/bits/socket.h (struct cmsghdr): + Likewise. - * string/tester.c (test_strerror): Don't use _sys_errlist/_sys_nerr. - Just test that strerror returns non-null for a few errno codes. +2000-11-27 Ulrich Drepper <drepper@redhat.com> + + * misc/getusershell.c: Make strings in okshells array const. + * misc/regexp.c: Add const to cast to avoid warnings. + * sysdeps/unix/sysv/linux/llseek.c: Add prototype for __llseek. + * sysdeps/unix/sysv/linux/i386/setresuid.c: Add prototype for + __setresuid. + * sysdeps/unix/sysv/linux/i386/setresgid.c: Add prototype for + setresgid. + * misc/error.c: Add prototypes for __error and __error_at_line. + * misc/mntent_r.c (__getmntent_r): Add break at end of switch + statement to avoid warning. + * test-skeleton.c: Mark timeout_handler with noreturn. + * iconv/skeleton.c (get16u): Add const to cast. + (get32u): Likewise. + * iconvdata/gb18030.c: Likewise. + * iconvdata/iso-2022-cn-ext.c: Likewise. + * iconvdata/ansi_x3.110.c: Add cast to avoid warning. + * iconvdata/big5.c: Likewise. + * iconvdata/big5hkscs.c: Likewise. + * iconvdata/iso_6937.c: Likewise. + * iconvdata/iso_6937-2.c: Likewise. + * iconvdata/t.61.c: Likewise. + * iconvdata/iso646.c: Add prototypes for gconv_init and gconv_env. + * iconvdata/unicode.c: Likewise. + * iconvdata/utf-16.c: Likewise. + * iconvdata/cns11643.h (ucs4_to_cns11643): Define needed as size_t. + * iconv/gconv_trans.c (__gconv_translit_find): Avoid one warning + with little code shuffling. + + * sysdeps/powerpc/Makefile (CFLAGS-initfini.s): Add -O1 to avoid + the problems introduced when the user selects -O3. + + * iconv/gconv.h (__gconv_info): Define __data element using __flexarr. + * misc/sys/cdefs.h: Define __flexarr. + Proposed by Joseph S. Myers <jsm28@cam.ac.uk>. + + * iconvdata/iso-2022-jp.c: Add prototypes to avoid warnings. + * iconv/skeleton.c: Likewise. + * iconvdata/iso8859-1.c (BODY to 8859-1): Add const to cast. + * iconv/loop.c (get16): Add const to cast. + (get32): Likewise. + +2000-11-27 Andreas Jaeger <aj@suse.de> + + * login/programs/pt_chown.c (do_pt_chown): Mark function as static + to avoid warning. + * login/programs/utmpdump.c (print_entry): Likewise. -2001-08-23 Roland McGrath <roland@frob.com> +2000-11-25 Maciej W. Rozycki <macro@ds2.pg.gda.pl> - * hurd/Versions (libc: GLIBC_2.2.5): New set; add _hurd_raise_signal, - _hurdsig_interrupt_timeout, _hurdsig_fault_preemptor. + * sysdeps/mips/__longjmp.c (__longjmp): Restore SP and FP last and + in a single asm as they may be used to access other stored + registers. + * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise. - * sysdeps/posix/shm_unlink.c (shm_unlink): __unlink -> unlink. +2000-11-27 Andreas Jaeger <aj@suse.de> - * mach/Versions (libc: GLIBC_2.2.5): New set; add __mach_msg_destroy, - __mach_reply_port. + * rt/tst-aio.c: Mark test functions as static to avoid warnings. + * rt/tst-aio64.c: Likewise. -2001-08-24 Ulrich Drepper <drepper@redhat.com> +2000-11-27 Ulrich Drepper <drepper@redhat.com> - * nss/test-netdb.c (test_hosts): Don't segfault if gethostname - returns NULL. + * catgets/Makefile (test1.cat): Set LC_ALL, LOCPATH, and GCONV_PATH + for gencat run. + (libc.cat): Likewise. + * catgets/gencat.c: Implement handling of message catalogs encoded + with stateful character sets. + Based on a patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>. - * elf/do-rel.h (elf_dynamic_do_rel): Fix problem with ld.so - startup. Explicitly remove lazy part for RTLD_BOOTSTRAP since gcc - doesn't do it. - * elf/rtld.c: Include <sys/param.h>. - * elf/dl-reloc.c: Likewise. +2000-11-26 Ulrich Drepper <drepper@redhat.com> -2001-08-24 Maciej W. Rozycki <macro@ds2.pg.gda.pl> + * sysdeps/unix/opendir.c (__opendir): Add cast to avoid warning. - * sysdeps/unix/sysv/linux/mips/configure.in: Define AC_SUBST to - empty to prevent junk from being generated. - * sysdeps/unix/sysv/linux/mips/configure: Regenerated. + * inet/getnameinfo.c: Adjust casts to avoid warnings. + * inet/rcmd.c: Likewise. + * inet/ruserpass.c: Likewise. + * inet/netinet/in.h (IN6_IS_ADDR_UNSPECIFIED, IN6_IS_ADDR_LOOPBACK, + IN6_IS_ADDR_MULTICAST, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL, + IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, IN6_ARE_ADDR_EQUAL, + IN6_IS_ADDR_MC_NODELOCAL, IN6_IS_ADDR_MC_LINKLOCAL, + IN6_IS_ADDR_MC_SITELOCAL, IN6_IS_ADDR_MC_ORGLOCAL, + IN6_IS_ADDR_MC_GLOBAL): Preserve const in cast. + * include/aliases.h: Add prototypes for internal __getalias* functions. + * include/netdb.h: Add prototypes for __old_gethostent_r, + __old_gethostbyaddr_r, __old_gethostbyname_r, __old_gethostbyname2_r, + __old_getnetent_r, __old_getnetbyaddr_r, __old_getnetbyname_r, + __old_getservent_r, __old_getservbyname_r, __old_getservbyport_r, + __old_getprotoent_r, __old_getprotobyname_r, __old_getprotobynumber_r. + * include/rpc/netdb.h: Add prototypes for __old_getrpcbyname_r, + __old_getrpcbynumber_r, __old_getrpcent_r. + + * include/rpc/netdb.h: Add __getrpcbyname_r, __getrpcbynumber_r, + __getrpcent_r prototypes. + +2000-11-25 Ulrich Drepper <drepper@redhat.com> + + * string/strcoll.c: Add casts to avoid warnings. + * string/strnlen.c: Likewise. + * string/strxfrm.c: Likewise. + * sysdeps/generic/_strerror.c: Likewise. + * sysdeps/generic/memrchr.c: Likewise. + * sysdeps/generic/strcasestr.c: Likewise. + * sysdeps/generic/strstr.c: Likewise. -2001-08-24 Jakub Jelinek <jakub@redhat.com> + * locale/weight.h (findidx): Add const to cast to avoid warning. - * elf/do-rel.h (elf_dynamic_do_rel): If l_addr is 0, skip relative - records. Rename endrel to relative, initialize it to r, and use it - in elf_machine_rel_relative calls. Point r after relative relocs. + * elf/loadfail.c: Little cosmetic changes to avoid warnings. + * elf/loadtest.c: Likewise. + * elf/multiload.c: Likewise. + * elf/next.c: Likewise. + * elf/nodelete.c: Likewise. + * elf/noload.c: Likewise. + * elf/order.c: Likewise. + * elf/origtest.c: Likewise. + * elf/preloadtest.c: Likewise. + * elf/restest1.c: Likewise. -2001-08-24 Ulrich Drepper <drepper@redhat.com> + * sysdeps/i386/i486/bits/string.h (__strncat_g) [i686]: Fourth + parameter of asm must be in %ecx. - * sysdeps/i386/dl-machine.h (elf_machine_rel): Correct prediction - of R_386_NONE. + * string/tester.c: Mark test functions as static to avoid warnings. -2001-08-24 Jakub Jelinek <jakub@redhat.com> + * iconv/gconv_conf.c (read_conf_file): Make mod_counter static to + preserve value over different gconv-modules files. - * elf/do-rel.h (elf_machine_rel_relative): Define for rela if - necessary. Undefine newly defined macros at the end. - * sysdeps/hppa/dl-machine.h (elf_machine_rela_relative): - Rename from elf_machine_rel_relative. - * sysdeps/cris/dl-machine.h (elf_machine_rela_relative): Likewise. - * sysdeps/m68k/dl-machine.h (elf_machine_rela_relative): Likewise. - * sysdeps/powerpc/dl-machine.h (elf_machine_rela_relative): Likewise. - * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela_relative): - Likewise. - * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela_relative): - Likewise. - * sysdeps/ia64/dl-machine.h (elf_machine_rela_relative): Likewise. - Fix argument types. - * sysdeps/alpha/dl-machine.h (elf_machine_rela_relative): Likewise. - Fix argument types. - * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela_relative): - Likewise. Fix argument types. - * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela_relative): - Likewise. Fix argument types. - * sysdeps/sh/dl-machine.h (elf_machine_rela_relative): Likewise. - Fix argument types. - * sysdeps/mips/dl-machine.h (elf_machine_rel_relative): Use - ElfW(Rel) in argument. - * sysdeps/mips/mips64/dl-machine.h (elf_machine_rel_relative): New - function. +2000-11-24 Ulrich Drepper <drepper@redhat.com> -2001-08-24 Alexandre Oliva <aoliva@redhat.com> + * locale/findlocale.c: Add casts to avoid warnings. + * locale/localeinfo.h (LIMAGIC): Add cast to avoid warnings. + * misc/efgcvt_r.c (fcvt_r): Use ssize_t instead of int and add cast + to avoid warnings. + * misc/tsearch.c (const_node): New type. + (trecurse): Correct casts to avoid warnings. + (__twalk): Likewise. + * stdlib/tst-limits.c: Add z modifier to formats for WORD_BIT and + LONG_BIT. - * sysdeps/sh/dl-machine.h (elf_machine_rela): Fix typo. + * debug/backtrace-tst.c (compare): Add casts to avoid warnings. -2001-08-24 Andreas Jaeger <aj@suse.de> + * test-skeleton.c: Mark local functions as static to avoid warnings. - * sysdeps/ieee754/ldbl-128/e_j1l.c: New file, contributed by - Stephen L Moshier <moshier@mediaone.net>. +2000-11-23 H.J. Lu <hjl@gnu.org> -2001-08-24 Ulrich Drepper <drepper@redhat.com> + * rt/tst-aio6.c (do_test): Use pipe instead of STDIN_FILENO to + support the background job. + Fix a typo. - * elf/do-rel.h (elf_dynamic_do_rel): RELATIVE relocations comes - first if RELCOUNT is set. +2000-11-24 Ulrich Drepper <drepper@redhat.com> - * elf/do-rel.h (elf_dynamic_do_rel): If not relocating lazily, don't - call elf_machine_rel for the last DT_RELCOUNT relocations but instead - elf_machine_rel_relative. - * sysdeps/alpha/dl-machine.h: Define elf_machine_rel_relative. - Minor optimizations. - * sysdeps/arm/dl-machine.h: Likewise. - * sysdeps/cris/dl-machine.h: Likewise. - * sysdeps/hppa/dl-machine.h: Likewise. - * sysdeps/i386/dl-machine.h: Likewise. - * sysdeps/ia64/dl-machine.h: Likewise. - * sysdeps/m68k/dl-machine.h: Likewise. - * sysdeps/mips/dl-machine.h: Likewise. - * sysdeps/powerpc/dl-machine.h: Likewise. - * sysdeps/s390/s390-32/dl-machine.h: Likewise. - * sysdeps/s390/s390-64/dl-machine.h: Likewise. - * sysdeps/sh/dl-machine.h: Likewise. - * sysdeps/sparc/sparc32/dl-machine.h: Likewise. + * iconv/gconv_conf.c (insert_module): Replace old entry if new one + has same names but lower cost. + +2000-11-23 Jakub Jelinek <jakub@redhat.com> + + * sysdeps/sparc/sparc32/dl-machine.h: Ifdef out handling for relocs + which never occur during bootstrap. * sysdeps/sparc/sparc64/dl-machine.h: Likewise. -2001-08-23 Roland McGrath <roland@frob.com> - - * rt/tst-aio4.c [! SIGRTMIN] (SIGRTMIN, SIGRTMAX): Define as -1. - - * sysdeps/mach/hurd/bits/libc-lock.h: New file, initially copied from - sysdeps/mach version. Implement counting ("recursive") mutexes - on top of cthreads mutexes. - * sysdeps/mach/hurd/bits/stdio-lock.h: File removed; generic now works. - - * sysdeps/generic/bits/stdio-lock.h (_IO_lock_initializer): Define to - _LIBC_LOCK_RECURSIVE_INITIALIZER if defined, else do an #error. - (__libc_cleanup_region_start, __libc_cleanup_region_end, - __libc_clean_end): Define these to call the cleanup function after - normal exit when they're supposed to. - - * sysdeps/mach/bits/libc-lock.h (__libc_cleanup_region_start): - Take new first arg DOIT, a boolean saying whether to really install - any cleanup handler. - (__libc_cleanup_region_end): Do nothing if start's DOIT arg was zero. - (__libc_cleanup_end): Likewise. - * sysdeps/generic/bits/libc-lock.h: Same changes. - * stdio-common/vfscanf.c (LOCK_STREAM): Pass new arg. - * stdio-common/vfprintf.c (buffered_vfprintf, vfprintf): Likewise. - * sysdeps/mach/hurd/bits/stdio-lock.h (_IO_cleanup_region_start): - Likewise. - * misc/syslog.c (vsyslog, openlog, closelog): Likewise. - * sysdeps/generic/bits/stdio-lock.h - (_IO_cleanup_region_start, _IO_cleanup_region_start_noarg): Likewise. +2000-11-23 Andreas Jaeger <aj@suse.de> -2001-08-23 Jakub Jelinek <jakub@redhat.com> + * nss/nss_files/files-hosts.c: Remove getipnodebyname. - * elf/ldconfig.c (search_dir): Remove stale symlinks. + * nss/Versions: Remove _nss_files_getipnodebyname_r. -2001-08-23 Jakub Jelinek <jakub@redhat.com> + * sysdeps/unix/sysv/linux/Versions: Fix typo in last patch. - * elf/dl-lookup.c (lookup_cache, lookup_cache_versioned): New - functions. - (_dl_lookup_symbol): Lookup relocations in cache and store successfull - lookups in cache. - (_dl_lookup_versioned_symbol): Likewise. - * elf/dl-reloc.c (_dl_relocate_object): Initialize cache for - relocation lookup. - * elf/rtld.c (print_statistics): Output _dl_num_cache_relocations. - * sysdeps/generic/ldsodefs.h (struct lookup_cache): New definition. - (lookup_cache, lookup_cache_versioned): Add declarations. +2000-11-18 Martin Buchholz <martin@xemacs.org> -2001-08-23 Ulrich Drepper <drepper@redhat.com> + * csu/gmon-start.c (__gmon_start__): Avoid over-clever trick `if + (called++) return;' - * stdlib/tst-random.c (main): Swap parameters in fail call. - Patch by Pete Bevin <pete@petebevin.com>. +2000-11-21 Alan Modra <alan@linuxcare.com.au> -2001-08-23 Jakub Jelinek <jakub@redhat.com> + * sysdeps/generic/bsd-_setjmp.c (setjmp): Rename to _setjmp. - * sysdeps/generic/inttypes.h: Use __gwchar_t instead of __wchar_t. + * csu/abi-note.S: Correct comment for operating system number. -2001-08-23 Ulrich Drepper <drepper@redhat.com> +2000-11-22 Ulrich Drepper <drepper@redhat.com> - * malloc/obstack.c: Indent preprocessor directives. - Patch by Jim Meyering <meyering@ascend.com>. + * Versions.def: Add GLIBC_2.2.1 for glibc. - * po/ja.po: Update from translation team. +2000-11-22 Andreas Schwab <schwab@suse.de> -2001-08-23 Roland McGrath <roland@frob.com> + * sysdeps/unix/sysv/linux/syscalls.list: Add pivot_root. + * sysdeps/unix/sysv/linux/Versions: Add pivot_root at GLIBC_2.2.1. - * libio/tst-ungetwc1.c (main): Add a const to quiet a warning. +2000-11-22 Ulrich Drepper <drepper@redhat.com> - * nss/test-netdb.c (test_hosts): Don't use MAXHOSTNAMELEN. - Instead, use dynamic buffer to test gethostname's ENAMETOOLONG error. + * rt/aio_suspend.c (aio_suspend): Convert timeout value to + absolute time for pthread_cond_timedwait call. + Reported by Lawrence Chen <lchen@opentext.com> [libc/1930]. -2001-08-22 Roland McGrath <roland@frob.com> + * rt/Makefile (tests): Add tst-aio6. + * rt/tst-aio6.c: New file. - * sysdeps/generic/ldsodefs.h (_dl_load_lock): Declare it here with - __libc_lock_define_recursive. - * elf/dl-open.c: Don't declare it here any more. - * elf/dl-close.c: Likewise. - * elf/dl-lookup.c: Likewise. - * elf/dl-iteratephdr.c: Likewise. - * elf/dl-lookup.c (add_dependency): Use __libc_lock_lock_recursive and - __libc_lock_unlock_recursive. - * elf/dl-close.c (_dl_close): Likewise - * elf/dl-iteratephdr.c (__dl_iterate_phdr): Likewise - * elf/dl-open.c (_dl_open): Likewise +2000-11-23 Andreas Jaeger <aj@suse.de> - * sysdeps/generic/bits/libc-lock.h - (__libc_lock_define_recursive): New macro. - * sysdeps/generic/bits/stdio-lock.h (_IO_lock_t): Use it. - (_IO_lock_lock): Use __libc_lock_lock_recursive. - (_IO_lock_unlock): Use __libc_lock_unlock_recursive. + * sysdeps/s390/bits/string.h (strncat): Fix one more typo. - * conform/conformtest.pl (checknamespace): Sort the output list. +2000-11-22 Andreas Jaeger <aj@suse.de> - * sysdeps/generic/bits/poll.h (POLLWRBAND): New alias for POLLOUT. - (POLLRDNORM, POLLRDBAND, POLLWRNORM, POLLWRBAND): Make these - definitions conditional on [__USE_XOPEN]. + * sysdeps/s390/bits/string.h (strncat): Add missing quotation marks. - * sysdeps/mach/hurd/bits/fcntl.h (O_ASYNC, O_FSYNC, O_SYNC): Define - these unconditionally, not only use [__USE_BSD], so as to match - the sysdeps/unix/sysv/linux files. +2000-11-21 Martin Schwidefsky <schwidefsky@de.ibm.com> -2001-08-22 Ulrich Drepper <drepper@redhat.com> + * sysdeps/s390/bits/string.h: Make strncat always add a \0. - * test-skeleton.c (add_temp_file): Add __attribute__ ((unused)) to - avoid warnings. +2000-11-21 Andreas Schwab <schwab@suse.de> - * dlfcn/tst-dladdr.c (do_test): Get address of ref1 using - DL_LOOKUP_ADDRESS. + * sysdeps/alpha/setjmp.S: Remove __setjmp entry point. + * sysdeps/arm/setjmp.S: Likewise. + * sysdeps/arm/fpu/setjmp.S: Likewise. + * sysdeps/i386/setjmp.S: Likewise. + * sysdeps/i386/elf/setjmp.S: Likewise. + * sysdeps/s390/setjmp.S: Likewise. + * sysdeps/s390/elf/setjmp.S: Likewise. + * sysdeps/sh/sh3/setjmp.S: Likewise. + * sysdeps/sh/sh4/setjmp.S: Likewise. + * sysdeps/sparc/sparc32/setjmp.S: Likewise. + * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S: Likewise. + * sysdeps/unix/sysv/linux/m68k/setjmp.c: Removed. + +2000-11-21 Andreas Jaeger <aj@suse.de> + + * sysdeps/generic/__longjmp.c (__longjmp): Remove obsolete + NORETURN, fix parameter list. + + * string/bug-strncat1.c (main): Fix typo. + Patch by Bernhard Kaindl <bernhard.kaindl@suse.de>. + +2000-11-20 Ulrich Drepper <drepper@redhat.com> + + * configure.in: Add --enable-all-warnings. + * config.make.in (all-warnings): New variable. + * Makeconfig (+gccwarn): Define with many more warnings if + all-warnings is yes. + +2000-11-20 Jakub Jelinek <jakub@redhat.com> + + * iconvdata/bug-iconv2.c (main): Use %zd in format string. + * io/test-lfs.c (do_test): Cast statbuf.st_size to long long. + * malloc/tst-valloc.c (main): Cast valloc return value to long. + * malloc/tst-obstack.c (verbose_malloc): Use %zd in format string. + * math/test-fpucw.c (main): Use %lx in format string, cast + control words to long. + * stdio-common/tst-fmemopen.c (main): Use %td in format strings. + * stdlib/tst-strtol.c (tests): Avoid (bogus?) decimal constant is so + large that it is unsigned warning. + + * sysdeps/unix/sysv/linux/sparc/bits/types.h (__ssize_t): Changing + it to long on sparc64. + +2000-11-20 Andreas Jaeger <aj@suse.de> + + * nscd/nscd.h (termination_handler): Add noreturn attribute. + (receiv_print_stats): Likewise. + + * elf/ldconfig.c (path_hwcap): Cast -1 for proper comparison. + +2000-11-20 Ulrich Drepper <drepper@redhat.com> + + * malloc/thread-m.h: gcc doesn't tolerate zero-sized types anymore. + + * csu/gmon-start.c: Always have prototype for __gmon_start. + * csu/version.c: Add prototypes for __libc_print_version and + __libc_main. + * iconv/gconv.c: Include gconv_int.h and gconv.h. + * iconv/gconv.h (struct __gconv_step): Remove const from __from_name + and __to_name. + * iconv/gconv_builtin.h: Add ASCII module definitions. + * iconv/gconv_conf.c (__gconv_path_elem): Remove const. + (add_module): Add cast to avoid warning. Rework construction of + strings for new module. + * iconv/gconv_db.c (__gconv_alias_compare): Make s1 and s2 const. + (derivation_compare): Likewise. + * iconv/gconv_dl.c (do_release_shlib): Remove const from nodep. + (__gconv_release_shlib): Cast do_release_shlib as parameter for twalk. + * iconv/gconv_int.h (__gconv_path_elem): Remove const. + (struct gconv_alias): Remove const from fromname and toname. + * iconv/gconv_simple.c: Include gconv_builtin.h to get prototypes + for loop functions. + (internal_ucs4_loop): Use correct const-ness. + (ucs4_internal_loop): Likewise. + (internal_ucs4le_loop): Likewise. + (ucs4le_internal_loop_single): Likewise. + * iconv/gconv_trans.c (__gconv_transliterate): Make from_idx, from_tbl, + to_idx, to_tbl, winbuf, winbufend const. Change casts in + assignments appropriately. + (struct known_trans): Remove const from fname. + (trans_compare): Make s1 and s2 const. + * iconv/loop.c (LOOPFC): Make outend parameter const. Add cast to + avoid warning. + * iconv/skeleton.c: Remove cast in calls of loop functions. + * iconvdata/gconv-modules: Remove US-ASCII definitions. + * iconvdata/iso646.c: Remove US_ASCII support. + * include/set-hooks.h (DEFINE_HOOK): Also generate prototype. + * include/unistd.h: Add __libc_check_standard_fds prototype. + * string/bits/string2.h (__mempcpy_args): Add const to casts. + * sysdeps/generic/initfini.c: Add prototypes for dummy, _init, and + _fini. + * sysdeps/generic/libc-start.c: Add prototype for __libc_start_main. + * sysdeps/i386/i486/bits/string.h (strcmp): Add const to casts. + * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Add cast to avoid + warning. + * sysdeps/unix/sysv/linux/init-first.c: Add prototypes for + __libc_init_first and _dl_start. + * intl/dcigettext.c (transcmp): Make s1 and s2 const. + (DCIGETTEXT): Make domaindata variable const. + * intl/loadmsgcat.c (_nl_load_domain): Rearrange domain initialization + to avoid warning. -2001-08-22 Roland McGrath <roland@frob.com> +2000-11-20 Hiroyuki Machida <machida@sm.sony.co.jp> - * sysdeps/generic/bits/sigaction.h (struct sigaction): Fix up - conditionalization of sa_handler/sa_sigaction member types to - match the sysdeps/unix/sysv/linux file. + * sysdeps/unix/sysv/linux/mips/clone.S: Fix comments. -2001-08-22 Ulrich Drepper <drepper@redhat.com> + * sysdeps/unix/sysv/linux/mips/kernel_stat.h (kernel_stat): Expand + time_t to 'long int' not, 'unsigned int'. Use 'long int' for + __unused? members. - * elf/dl-addr.c (_dl_addr): Handle broken binaries with zero - symbol sizes a bit better. + * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (O_NOFOLLOW): Use same + value defined in /usr/include/asm-mips/fcntl.h. - * sysdeps/ia64/strncpy.S: Complete rewrite. - Contributed by Jakub Jelinek <jakub@redhat.com>. +2000-11-18 Ulrich Drepper <drepper@redhat.com> - * string/stratcliff.c (main): Add strncpy test. + * stdio-common/Makefile (tests): Add test-vfprintf. + (test-vfprintf-ENV): New variable. + * stdio-common/test-vfprintf.c: New file. -2001-08-22 Roland McGrath <roland@frob.com> + * wcsmbs/mbrtowc.c (__mbrtowc): Do not only flush if input is '\0'. - * sysdeps/generic/dl-environ.c: Include <stdlib.h> and <unistd.h>, - and don't declare unsetenv or _environ directly. - (unsetenv): Return int, not void. Use __environ instead of _environ. + * wcsmbs/Makefile (tests): Add tst-mbrtowc and tst-wcrtomb. + (tst-mbrtowc-ENV): New variable. + (tst-wcrtomb-ENV): New variable. + * wcsmbs/tst-mbrtowc.c: New file. + * wcsmbs/tst-wcrtomb.c: New file. -2001-08-01 Mark Kettenis <kettenis@gnu.org> +2000-11-16 Andreas Jaeger <aj@suse.de> - * sysdeps/unix/bsd/bsd4.4/Makefile: New file. - * sysdeps/unix/bsd/bsd4.4/Versions: New file. - * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: New file. - * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Correct - test for cmsg struct size. + * manual/install.texi (Tools for Compilation): Update + documentation for GCC 2.95.2. -2001-04-23 Paul Eggert <eggert@twinsun.com> +2000-11-18 Ulrich Drepper <drepper@redhat.com> - * posix/getopt.h (getopt_long, getopt_long_only, _getopt_internal): - Rename __argc to ___argc in prototypes to avoid compatibility - problems with systems that reserve the identifier "__argc". - Similarly for __argv. + * sysdeps/posix/getaddrinfo.c (gaih_inet): Only return -EAI_AGAIN + if IPv4 and IPv6 requests timed out. -2001-08-21 Roland McGrath <roland@frob.com> +2000-11-18 Akim Demaille <akim@epita.fr> - * stdio-common/tst-fseek.c: Include <time.h> for `time' declaration. + * malloc/obstack.h: Formatting changes. + (obstack_grow, obstack_grow0): Don't cast WHERE at all: it + prevents type checking. + (obstack_ptr_grow, obstack_ptr_grow_fast): When assigning, don't + cast the value to (void *): assigning a `foo *' to a `void *' + variable is valid. + (obstack_int_grow, obstack_int_grow_fast): Don't cast AINT to int. - * mach/Makefile (tests): Removed. - * mach/hello.c: File removed. +2000-11-17 Ulrich Drepper <drepper@redhat.com> -2001-08-22 Ulrich Drepper <drepper@redhat.com> + * scripts/config.guess: Update from upstream maintainer. + * scripts/config.sub: Likewise. - * po/sv.po: Update from translation team. +2000-11-16 Ulrich Drepper <drepper@redhat.com> - * stdio-common/vfscanf.c: Fix handling of %l[]. - Reported by Mitsuru Chinen <mchinen@yamato.ibm.com>. + * libio/freopen.c (freopen): Reset _mode after succesful reopening. + * libio/freopen64.c (freopen64): Likewise. + Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>. - * libio/Makefile (tests): Add tst-sscanf. - * libio/tst-sscanf.c: New file. + * libio/Makefile: Add rules to build and run test-freopen. + * libio/test-freopen.c: New file. + * libio/test-freopen.sh: New file. - * elf/dl-addr.c (_dl_addr): Fix tests to determine dli_sname. - * malloc/mtrace.c (tr_where): dli_sname always points to a - non-empty string if != NULL. - Reported by Tim Janik <timj@gtk.org>. +2000-11-15 H.J. Lu <hjl@gnu.org> -2001-08-22 Jakub Jelinek <jakub@redhat.com> + * sysdeps/generic/ldsodefs.h (DL_DT_INIT_ADDRESS): Defined if + ELF_FUNCTION_PTR_IS_SPECIAL is not defined. + (DL_DT_FINI_ADDRESS): Likewise. - * sunrpc/xdr_rec.c (xdrrec_create): Fix buf sizes before allocating - buf. Free resources on failure. - * sunrpc/svc_unix.c (svcunix_create): Free resources on failure. - (makefd_xprt): Likewise. - * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise. - * sunrpc/svc_tcp.c (svctcp_create, makefd_xprt): Likewise. - * sunrpc/auth_unix.c (authunix_create): Likewise. + * sysdeps/ia64/dl-lookupcfg.h (_dl_lookup_address): Set the + return type to ElfW(Addr). + (_dl_function_address): New prototype. + (DL_FUNCTION_ADDRESS): Defined. + (DL_DT_INIT_ADDRESS): Defined as DL_FUNCTION_ADDRESS. + (DL_DT_FINI_ADDRESS): Likewise. -2001-08-21 Jakub Jelinek <jakub@redhat.com> + * sysdeps/ia64/Versions (GLIBC_2.2): Add _dl_function_address. - * string/strnlen.c: Remove. - * sysdeps/generic/strnlen.c: New file. - * sysdeps/i386/i486/bits/string.h (strnlen): Remove. + * sysdeps/ia64/dl-machine.h (_dl_start_address): Removed. + (ELF_MACHINE_START_ADDRESS): Changed to DL_FUNCTION_ADDRESS. -2001-08-21 Roland McGrath <roland@frob.com> + * sysdeps/ia64/dl-symaddr.c (_dl_start_address): Renamed to ... + (_dl_function_address): This. - * sysdeps/mach/i386/machine-sp.h (__thread_stack_pointer): Define this - as a macro, not an extern inline function. + * elf/dl-fini.c (_dl_fini): Use DL_DT_FINI_ADDRESS to get the + function pointer for DT_FINI. + * elf/dl-close.c (_dl_close): Likewise. - * hurd/Versions (GLIBC_2.2.5): New set, define __hurd_fail here. - * Versions.def (libc): Add GLIBC_2.2.5 set. - * hurd/hurd.h (_HURD_H_EXTERN_INLINE): New macro. - (__hurd_fail): Use that instead of _EXTERN_INLINE in decl. + * elf/dl-init.c (_dl_init): Use DL_DT_INIT_ADDRESS to get the + function pointer for DT_INIT. -2001-08-20 Roland McGrath <roland@frob.com> +2000-11-16 Jakub Jelinek <jakub@redhat.com> - * hurd/hurdlookup.c (__hurd_file_name_lookup): Fail with ENOENT for "". - (__hurd_file_name_split, __hurd_directory_name_split): Likewise. + * sysdeps/generic/printf_fphex.c (__printf_fphex): Compute correctly + end of wexpbuf buffer. -2001-08-21 Ulrich Drepper <drepper@redhat.com> +2000-11-16 Andreas Jaeger <aj@suse.de> - * string/bits/string2.h: Remove strnlen optimization here. - * sysdeps/i386/i486/bits/string.h: Add it here. + * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove duplicate + definition of F_GETLK, F_SETLK, F_SETLKW. -2001-08-21 Wolfram Gloger <wg@malloc.de> +2000-11-16 Andreas Jaeger <aj@suse.de> - * malloc/malloc.c: Make access to ..._hook pointers thread-safe. + * sysdeps/generic/dl-cache.c (_DL_PLATFORMS_COUNT): Define to 0 if + it's not defined. -2001-08-21 Ulrich Drepper <drepper@redhat.com> +2000-11-15 Jakub Jelinek <jakub@redhat.com> - * po/gl.po: Update from translation team. + * dlfcn/default.c (main): Add test for dladdr of main returning + argv[0] in dli_fname field. -2001-08-20 Ulrich Drepper <drepper@redhat.com> +2000-11-15 Jakub Jelinek <jakub@redhat.com> - * misc/error.c (error_tail): Use fputws_unlocked instead of fputws. - * misc/err.c (convert_and_print): Likewise. + * Makeconfig (run-program-prefix): Move test-static test into the + variable. - * malloc/obstack.c (print_and_abort): Use fprintf instead of two - function calls. + * sysdeps/alpha/dl-machine.h (RTLD_START): Update _dl_argv. + * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise, + schedule instructions. + * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise, + schedule instructions, fix a bug in copying auxiliary data. -2001-08-20 Martin Schwidefsky <schwidefsky@de.ibm.com> +2000-11-15 Ulrich Drepper <drepper@redhat.com> - * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Revert the - change of the gregset_t type. - * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise. + * manual/startup.texi (Program Arguments): Fix type of main's envp + parameter. + Reported by Raúl Núñez de Arenas Coronado <dervishd@linuxfreak.com>. -2001-08-20 kaz Kojima <kkojima@rr.iij4u.or.jp> + * iconvdata/gconv-modules: Add CP950 alias. - * sysdeps/unix/sysv/linux/sh/sysdep.S: Align errno. +2000-11-13 Jakub Jelinek <jakub@redhat.com> -2001-08-20 Ulrich Drepper <drepper@redhat.com> + * sysdeps/unix/sysv/linux/Makefile: Allow ports to override + syscall-list.h goal. + * sysdeps/unix/sysv/linux/sparc/Makefile: New file. - * posix/regex.c (truncate_wchar): Use wcrtomb not wctomb. +2000-11-15 Ulrich Drepper <drepper@redhat.com> - * string/strnlen.c: Fix the implementation. We cannot use memchr. + * intl/Makefile: tst-gettext2.sh does not need a third parameter. -2001-08-18 Mark Kettenis <kettenis@gnu.org> + * intl/tst-gettext2.sh: Copy locale data. Adjust LOCPATH. Verify + output of program. - * sysdeps/mach/hurd/i386/init-first.c (init): Initialize __environ - before calling the cthreads initialization code. + * intl/tst-gettext2.c: Set C locale if setting other locale + failed. Use gettext() not _(). -2001-08-20 Ulrich Drepper <drepper@redhat.com> + * locale/setlocale.c: Increment _nl_msg_cat_cntr whenever we + successfully loaded a new locale. - * argp/argp-help.c: Fix two problems introduced in last change. +2000-11-13 Andreas Jaeger <aj@suse.de> - * include/dirent.h: Include <dirstream.h> first. + * configure.in: Require gcc 2.95 or newer. -2001-08-19 Ulrich Drepper <drepper@redhat.com> +2000-11-15 Ulrich Drepper <drepper@redhat.com> - * io/fts.c (fts_safe_changedir): Use __fxstat64 instead of __fstat. + * sysdeps/unix/sysv/linux/paths.h: Adjust for FHS. + Patch by Arkadiusz Miskiewicz <misiek@pld.ORG.PL>. - * sunrpc/svcauth_des.c (_svcauth_des): Avoid using bcopy. - * sunrpc/xdr_rec.c: Likewise. - * sunrpc/xdr_mem.c: Likewise. - * sunrpc/svc_authux.c (_svcauth_unix): Likewise. - * sunrpc/rpc_cmsg.c: Likewise. - * sunrpc/getrpcport.c (getrpcport): Likewise. - * sunrpc/clnt_simp.c (callrpc): Likewise. - * sunrpc/clnt_gen.c (clnt_create): Likewise. - * string/envz.c: Likewise. +2000-11-11 Jim Meyering <meyering@lucent.com> - * po/ko.po: Update from translation team. + * string/strndup.c (strndup): Cast return value to `char *'. - * argp/argp-help.c: Handle wide oriented stderr stream. +2000-11-15 Jim Meyering <meyering@ascend.com> -2001-08-18 Ulrich Drepper <drepper@redhat.com> + * sysdeps/generic/memchr.c: Remove some useless parentheses. + [HAVE_STDLIB_H || defined _LIBC]: Include <stdlib.h>. + [HAVE_BP_SYM_H || defined _LIBC]: Guard inclusion of bp-sym.h. + [! (HAVE_BP_SYM_H || defined _LIBC)] (BP_SYM): Define as no-op. + Also #undef __memchr. + Use `weak_alias' only if it's defined. - * sysdeps/generic/strtol.c: Little optimizations. Add some - __builtin_expect. +2000-11-10 H.J. Lu <hjl@gnu.org> - * conform/conformtest.pl: <inttypes.h> test requires <stddef.h>. + * Makefile.in (install): Set LANGUAGE=C LC_ALL=C. - * wcsmbs/wchar.h (wcwdith): Change parameter type to wchar_t. - * wcsmbs/wcwidth.c (wcwdith): Likewise. - * wcsmbs/wcwidth.h (internal_wcwdith): Likewise. +2000-11-15 Andreas Jaeger <aj@suse.de> - * conform/data/unistd.h-data: Remove _SC_MULTIPLE_PROCESS. + * elf/chroot_canon.c: Include <stdint.h>. - * conform/data/ucontext.h-data: Fix typos in ucontext_t element tests. + * elf/cache.c (struct cache_entry): Use uint64_t for hwcap. + (print_entry): Likewise. + (add_to_cache): Likewise. - * time/time.h (struct timespec): Use __time_t for tv_sec element. + * elf/ldconfig.h (add_to_cache): Change prototype for hwcap change. - * sysdeps/generic/inttypes.h: Define __wchar_t. Use it instead of - wchar_t for function declarations and defintions. + * elf/ldconfig.c (struct lib_entry): Use uint64_t for hwcap. + (path_hwcap): Likewise. + (search_dir): Likewise. - * misc/sys/select.h: Define __need_time_t before including <time.h>. - Define suseconds_t if it hasn't happened yet. + * sysdeps/generic/dl-cache.c (HWCAP_CHECK): Handle platform. - * iconv/gconv.h: Define __need_wchar_t before including <stddef.h>. + * elf/cache.c (add_to_cache): Handle 64 bit hwcap entry. - * conform/data/sys/uio.h-data: Allow UIO_MAXIOV to be defined. + * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h + (_dl_platform_string): New. + (_DL_HWCAP_PLATFORM): New. + (_dl_string_platform): New. + * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h: Likewise. - * sysdeps/generic/stdint.h: Don't get definition of wchar_t from - <stddef.h>. + * sysdeps/generic/dl-procinfo.h (_DL_HWCAP_COUNT): New. + (_dl_string_platform): New. + (_DL_HWCAP_PLATFORM): New. + (_dl_platform_string): New. - * conform/data/stddef.h-data: Remove wint_t. + * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Added x86 platform + recognition. + (_DL_HWCAP_COUNT): New. + (_dl_string_platform): New. + (_DL_HWCAP_PLATFORM): New. + (_dl_platform_string): New. - * conform/conformtest.pl: Change namespace test to take #undef - lines into account. +2000-11-14 Ulrich Drepper <drepper@redhat.com> - * conform/data/netinet/in.h-data: Fix typo in allow-header line. + * iconvdata/gconv-modules: Add CP936 as alias for GBK. - * conform/data/sys/socket.h-data: Add sockatmark. +2000-11-14 Andreas Jaeger <aj@suse.de> -2001-08-17 Ulrich Drepper <drepper@redhat.com> + * sysdeps/generic/dl-cache.c (HWCAP_CHECK): Fix access to _dl_hwcap. - * io/fts.c: Update from recent BSD source. +2000-11-13 Roland McGrath <roland@frob.com> -2001-08-17 Roland McGrath <roland@frob.com> + * hurd/get-host.c (_hurd_get_host_config): Fix last change. - * stdio-common/perror.c (perror) [! USE_IN_LIBIO]: Don't use _IO_fwide. - * misc/error.c (error_tail, error, error_at_line) [! USE_IN_LIBIO]: - Likewise. +2000-11-13 Marcus Brinkmann <marcus@gnu.org> -2001-08-17 Ulrich Drepper <drepper@redhat.com> + * hurd/get-host.c (_hurd_get_host_config): Fix possible buffer + underrun and make sure the result is null terminated even if there + is no trailing newline. - * locale/duplocale.c (__duplocale): Also initialize the special - __ctype_* elements. +2000-11-13 Jakub Jelinek <jakub@redhat.com> - * conform/data/netdb.h-data: Adjust gai_strerror return type. + * sysdeps/alpha/fpu/libm-test-ulps: Update. -2001-08-17 Andreas Jaeger <aj@suse.de> +2000-11-10 H.J. Lu <hjl@gnu.org> - * misc/getpass.c: Include wchar.h for prototypes. - * malloc/obstack.c: Likewise. + * sysdeps/ia64/fpu/libm-test-ulps: Updated. -2001-08-17 Ulrich Drepper <drepper@redhat.com> +2000-11-10 Andreas Jaeger <aj@suse.de> - * sunrpc/svc_simple.c (universal): Use __write instead of write. + * elf/ldconfig.c (create_links): Fix alloca calculation. + Patch by Ben Collins <bcollins@debian.org>. - * wcsmbs/wcscoll.c: Also define __wcscoll. - * include/wchar.h: Declare __wcscoll. +2000-11-09 Ulrich Drepper <drepper@redhat.com> - * libio/fwprintf.c: Use __vfwprintf instead of vfwprintf. - * libio/vwprintf.c: Likewise. - * libio/wprintf.c: Likewise. + * inet/getnameinfo.c (getnameinfo): Use correct destination + parameter for if_indextoname. + Patch by Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>. - * iconv/gconv_cache.c: Use __munmap instead of munmap. +2000-11-09 H.J. Lu <hjl@gnu.org> -2001-08-16 Ulrich Drepper <drepper@redhat.com> + * sunrpc/Versions (GLIBC_2.1): Remove xdr_cryptkeyarg, + xdr_cryptkeyarg2, xdr_cryptkeyres, xdr_des_block, + xdr_key_netstarg, xdr_key_netstres, xdr_keybuf and + xdr_keystatus. - * posix/regex.c [_LIBC] (convert_mbs_to_wcs): Use __mbrtowc - instead of mbrtowc. - [_LIBC]: Use __iswctype instead of iswctype, __wcslen instead of - wcslen, and __wcscoll instead of wcscoll. + * time/Versions (GLIBC_2.1): Move getitimer to... + * sysdeps/unix/sysv/linux/alpha/Versions (GLIBC_2.1): ...here. - * sysdeps/unix/sockatmark.c (sockatmark): Use __ioctl instead of ioctl. +2000-11-03 Bruno Haible <haible@clisp.cons.org> - * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue): Use - __getuid instead of getuid. + * manual/install.texi: Recommend to set LANGUAGE=C LC_ALL=C during + "make install", to work around a binary incompatibility between + glibc 2.1 and glibc 2.2 gconv modules. - * stdio-common/perror.c (perror): Use __close instead of close. - * iconv/gconv_cache.c (__gconv_load_cache): Likewise. - * libio/freopen.c (freopen): Likewise. - * libio/freopen64.c (freopen64): Likewise. +2000-11-09 Ulrich Drepper <drepper@redhat.com> - * libio/tst-ungetwc2.c (main): Define str const. + * intl/locale.alias: Add thai. + Patch by Chanop Silpa-Anan <chanop@syseng.anu.edu.au>. - * include/wchar.h: Add prototypes for __fwprintf and __vfwprintf. - * libio/fwprintf.c: Also define __fwprintf. - * stdio-common/vfprintf.c [COMPILE_WPRINTF]: Also define __vfwprintf. - * argp/argp-fmtstream.c: Handle wide oriented stderr stream. - * assert/assert-perr.c: Likewise. - * assert/assert.c: Likewise. - * gmon/gmon.c: Likewise. - * inet/rcmd.c: Likewise. - * malloc/obstack.c: Likewise. - * misc/err.c: Likewise. - * misc/error.c: Likewise. - * misc/getpass.c: Likewise. - * posix/getopt.c: Likewise. - * resolv/res_hconf.c: Likewise. - * stdio-common/perror.c: Likewise. - * stdio-common/psignal.c: Likewise. - * stdlib/fmtmsg.c: Likewise. - * sunrpc/auth_unix.c: Likewise. - * sunrpc/clnt_perr.c: Likewise. - * sunrpc/clnt_tcp.c: Likewise. - * sunrpc/clnt_udp.c: Likewise. - * sunrpc/clnt_unix.c: Likewise. - * sunrpc/svc_simple.c: Likewise. - * sunrpc/svc_tcp.c: Likewise. - * sunrpc/svc_udp.c: Likewise. - * sunrpc/svc_unix.c: Likewise. - * sunrpc/xdr.c: Likewise. - * sunrpc/xdr_array.c: Likewise. - * sunrpc/xdr_rec.c: Likewise. - * sunrpc/xdr_ref.c: Likewise. - * sysdeps/generic/wordexp.c: Likewise. +2000-11-07 Akim Demaille <akim@epita.fr> - * po/it.po: Update from translation team. + * malloc/obstack.c (obstack_grow, obstack_grow0): Rename the second + argument `data' for consistency with the prototypes. + Qualify it `const'. + (obstack_copy, obstack_copy0): Rename the second argument as + `address' for consistency. Qualify it `const'. + * malloc/obstack.h (obstack_copy, obstack_copy0, obstack_grow) + (obstack_grow0, obstack_ptr_grow, obstack_ptr_grow_fast): Qualify + `const' their input argument (`data' or `address'). + Adjust the corresponding macros to include `const' in casts. - * misc/err.c: Handle wide oriented stderr stream. +2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org> -2001-08-14 Tom Rix <trix@redhat.com> + * sysdeps/posix/getaddrinfo.c: Clean-up: define family to hold + target family. - * iconv/gconv_cache.c (find_module): Add #ifndef STATIC_GCONV. - * iconv/Makefile: Fix gconv_cache.c CFLAGS. +2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org> -2001-08-13 Tom Rix <trix@redhat.com> + * sysdeps/posix/getaddrinfo.c: Loosen protocol check to ease raw + socket creation. - * sysdeps/unix/sysv/aix/Makefile: Add rule to import kernel symbols. - * sysdeps/unix/sysv/aix/bits/types.h: Fix type of __id_t, __useconds_t - and __intptr_t. +2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org> -2001-08-15 Martin Schwidefsky <schwidefsky@de.ibm.com> + * sysdeps/posix/getaddrinfo.c: Ensure to fill ai_socktype and + ai_protocol by internal table if service was not given. - * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S (__getcontext): - Store the access registers to the ucontext structure. - * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S (__getcontext): - Likewise. +2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org> - * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S (__setcontext): - Load the access registers from the ucontext structure. - * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S (__setcontext): - Likewise. + * sysdeps/posix/getaddrinfo.c: Don't raise an error even if + numerical port was specified with protocol without socktype. - * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.h: Adjust the SC_xxx - offsets to the new ucontext layout. - * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.h: Likewise. +2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org> - * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Fix the layout - of the ucontext structure. - * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise. + * sysdeps/posix/getaddrinfo.c: Ensure to check if protocol is ok. -2001-08-15 Ulrich Drepper <drepper@redhat.com> +2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org> - * misc/error.c (error): Handle wide oriented stderr stream correctly. - (error_at_line): Likewise. + * inet/getnameinfo.c: getnameinfo() NI_xxx flag validation. + +2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org> + + * sysdeps/posix/getaddrinfo.c: Ensure not to fill garbage value in + sin6_scope_id field. + +2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org> + + * inet/getnameinfo.c: Repair getnameinfo() sin6_socpe_id support. + +2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org> + + * inet/getnameinfo.c: Repair NI_NOFQDN flag support. + +2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org> + + * inet/getnameinfo.c: Wake-up sin6_scope_id support in + getnameinfo(): check for whether sin6_socpe_id exist was wrong. + +2000-11-09 Martin Schwidefsky <mschwide@nc.boeblingen.de.ibm.com> + + * sysdeps/unix/sysv/linux/s390/mmap.S: Use mmap2 if it is present. + * sysdeps/unix/sysv/linux/s390/mmap64.S: New file. + +2000-11-09 H.J. Lu <hjl@gnu.org> - * stdio-common/perror.c (perror): Implement according to standard. - The stream orientation must not be changed if the stream was not - oriented before the call. - * stdio-common/Makefile (tests): Add tst-perror. - * stdio-common/tst-perror.c: New file. + * io/Versions (GLIBC_2.1.1): Remove lockf64. -See ChangeLog.12 for earlier changes. +See ChangeLog.11 for earlier changes. |