diff options
author | Siddhesh Poyarekar <siddhesh@sourceware.org> | 2017-08-02 20:57:34 +0530 |
---|---|---|
committer | Siddhesh Poyarekar <siddhesh@sourceware.org> | 2017-08-02 20:57:34 +0530 |
commit | edf66db113cdaded68871e13ccaae158eef2a321 (patch) | |
tree | 98ceb2df248d99dabeee311dacf6c487df4d81fc /ChangeLog.12 | |
parent | 92c3af3c140f671ea49c751368d17df2e10d0eeb (diff) | |
download | glibc-edf66db113cdaded68871e13ccaae158eef2a321.zip glibc-edf66db113cdaded68871e13ccaae158eef2a321.tar.gz glibc-edf66db113cdaded68871e13ccaae158eef2a321.tar.bz2 |
Rotate ChangeLog correctly
I incorrectly assumed that the ChangeLog numbers (.1, .2, etc.) are in
order. They're not and the latest non-current ChangeLog is the one
with the highest number. Fixed.
Diffstat (limited to 'ChangeLog.12')
-rw-r--r-- | ChangeLog.12 | 18821 |
1 files changed, 7757 insertions, 11064 deletions
diff --git a/ChangeLog.12 b/ChangeLog.12 index 356da03..2a4620e 100644 --- a/ChangeLog.12 +++ b/ChangeLog.12 @@ -1,13405 +1,10098 @@ -2000-11-09 Ulrich Drepper <drepper@redhat.com> - - * version.h (VERSION): Bump to 2.2. - (RELEASE): Set to stable. - - * posix/Makefile (tst-dir-ARGS): Fix problem with compiling in - source directory. - (tst-chmod-ARGS): Likewise. - -2000-11-09 H.J. Lu <hjl@gnu.org> - - * io/Versions (GLIBC_2.2): Add __open64. - -2000-11-09 Jakub Jelinek <jakub@redhat.com> - - * locale/C-time.c (_nl_C_LC_TIME): Fix value for _NL_TIME_WEEK_1STWEEK. - -2000-11-09 Jakub Jelinek <jakub@redhat.com> - - * locale/programs/ld-paper.c (paper_output): Fix offset into width - field. - -2000-10-27 Bruno Haible <haible@clisp.cons.org> - - * locale/programs/charmap.c (charmap_read): Verify ASCII - compatibility of charmap. - -2000-11-08 Ulrich Drepper <drepper@redhat.com> - - * catgets/gencat.c (main): Don't use exit() to avoid warnings with - broken compilers. - - * include/features.h (__STDC_ISO_10646__): Correct value to be - 200009L. Patch by Markus Kuhn <Markus.Kuhn@cl.cam.ac.uk>. - -2000-11-08 H.J. Lu <hjl@gnu.org> - - * pwd/Versions (GLIBC_2.1.2): Add getpwnam_r. - -2000-11-08 Jakub Jelinek <jakub@redhat.com> - - * string/bits/string2.h: Check if _USE_STRING_ARCH_ macros are - defined, not _HAVE_STRING_ARCH_. - * sysdeps/i386/bits/string.h (_USE_STRING_ARCH_memset, - _USE_STRING_ARCH_strchr): Define. - * sysdeps/i386/i486/bits/string.h (_USE_STRING_ARCH_memset, - _USE_STRING_ARCH_strchr): Define. - * sysdeps/sparc/bits/string.h: New file. - -2000-11-08 Bruno Haible <haible@clisp.cons.org> - - * locale/C-translit.h.in: Tweak <U2014> result. - * locale/C-translit.h: Regenerated. - -2000-11-08 Ulrich Drepper <drepper@redhat.com> - - * posix/unistd.h: Add attribute((const)) to sysconf prototype. - - * iconvdata/euc-kr.c (euckr_from_ucs4): Map 0x20a9 to \xa3dc. - (BODY from direction): Remove special handling of \x5c. - * iconvdata/EUC-KR.irreversible: Adjust for this change. - * iconvdata/testdata/EUC-KR..UTF8: Likewise. - Reported by Jungshik Shin <jshin@pantheon.yale.edu>. - -2000-11-07 Kazumoto Kojima <kkojima@rr.iij4u.or.jp> - - * sysdeps/sh/sh3/setjmp.S (__sigsetjmp): Skip FPU fields. - -2000-11-06 Ulrich Drepper <drepper@redhat.com> - - * iconvdata/big5.c: Regenerated after BIG5 charmap change. - Patch by Tung-Han Hsieh <thhsieh@twcpro.phys.ntu.edu.tw>. - - * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Fix typo in - comparison with new cache magic bytes. - Patch by Denis Zaitsev <zzz@cd-club.ru>. - -2000-11-03 Bruno Haible <haible@clisp.cons.org> - - * locale/C-translit.h.in: Update from translit_neutral. - * locale/C-translit.h: Regenerated. - * intl/tst-translit.c: Update. - -2000-11-04 Mark Kettenis <kettenis@gnu.org> - - * sysdeps/mach/hurd/Dist: Remove clk_tck.c. - - * sysdeps/mach/hurd/Versions [libc] (GLIBC_2.1.1): Remove - __libc_clk_tck. - * sysdeps/mach/hurd/Makefile [$(subdir)==posix] (sysdep_routines): - Remove clk_tck. - * sysdeps/mach/hurd/clk_tck.c: Removed. - * sysdeps/mach/hurd/getclktck.c: New file. - * sysdeps/mach/hurd/setitimer.c (quantize_timeval): Use - __getclktck instead of __libc_clk_tck. - * sysdeps/mach/hurd/bits/time.h: Use __sysconf for CLK_TCK instead - of __libc_clk_tck. - * sysdeps/mach/hurd/i386/bits/time.h: Likewise. - -2000-11-03 Ulrich Drepper <drepper@redhat.com> - - * posix/Versions: Export __sysconf. - -2000-11-02 Ulrich Drepper <drepper@redhat.com> - - * version.h (VERSION): Bump to 2.1.97. - - * iconvdata/Makefile (distribute): Add viscii.c. - - * elf/Makefile (distribute): Add tst-pathopt.sh. - - * sysdeps/i386/i486/bits/string.h (strcmp): Cast arguments to - __strcmp_cc, __strcmp_cg, and __strcmp_gc to unsigned char *. - (__strcmp_cc, __strcmp_cg, __strcmp_gc): Remove casts of values here. - Reported by Denis Zaitsev <zzz@cd-club.ru>. - - * iconvdata/utf-16.c (PREPARE_LOOP): Correct typo preventing BOM from - being written. - - * manual/socket.texi (Local Namespace Concepts): Don't mention what - permissions are necessary to connect to a socket. - Reported by Peter Eisentraut <peter_e@gmx.net>. - - * sysdeps/generic/backtracesyms.c (__backtrace_symbols): Fix - computation of total for 64-bit machines. - Patch by Byron Stanoszek <gandalf@winds.org>. - - * manual/arith.texi (Rounding): Correct description of fesetround - return value. Patch by Conrado Badenas <Conrado.Badenas@uv.es>. - -2000-10-30 Maciej W. Rozycki <macro@ds2.pg.gda.pl> - - * sysdeps/mips/dl-machine.h (elf_machine_rel): Add the symbol's - value plus the run-time displacement to the relocation for non-GOT - symbols. Set the relocation to the GOT entry for GOT symbols. - -2000-11-02 Ulrich Drepper <drepper@redhat.com> - - * sysdeps/unix/sysv/linux/s390/bits/time.h: Removed. - -2000-11-01 Ulrich Drepper <drepper@redhat.com> - - * iconvdata/TESTS: Add entries for IBM856, IBM930, IBM933, IBM935, - IBM937, IBM939, and IBM1046. - * iconvdata/testdata/IBM1046: New file. - * iconvdata/testdata/IBM930..UTF8: New file. - * iconvdata/testdata/IBM1046..UTF8: New file. - * iconvdata/testdata/IBM933: New file. - * iconvdata/testdata/IBM935: New file. - * iconvdata/testdata/IBM937: New file. - * iconvdata/testdata/IBM856..UTF8: New file. - * iconvdata/testdata/IBM939: New file. - * iconvdata/testdata/IBM933..UTF8: New file. - * iconvdata/testdata/IBM935..UTF8: New file. - * iconvdata/testdata/IBM930: New file. - * iconvdata/testdata/IBM856: New file. - * iconvdata/testdata/IBM937..UTF8: New file. - * iconvdata/testdata/IBM939..UTF8: New file. - Contributed by Masahide Washizawa <washi@yamato.ibm.co.jp>. - -2000-11-01 Martin Buchholz <martin@xemacs.org> - - * manual/memory.texi (Hooks for Malloc): Fix `caller' arg docs to - agree with implementation. - -2000-11-01 Ulrich Drepper <drepper@redhat.com> - - * sysdeps/unix/sysv/linux/bits/time.h (CLK_TCK): Cast sysconf result - to __clock_t. - * 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. - * sysdeps/unix/sysv/linux/s390/bits/time.h: Likewise. - - * sysdeps/unix/sysv/linux/bits/socket.h (CMSG_ALIGN): Cast result - of unary ~ to size_t. - - * stdlib/strtod.c: Make gcc shut up about SWAP use. - - * sysdeps/i386/fpu/bits/mathinline.h: Add support for builtin - unordered compare functions to gcc 2.97 and up. - - * string/bits/string2.h: Disable strstr optimizations for newer - gcc versions. Patch by Joseph S. Myers <jsm28@cam.ac.uk>. - - * configure.in (with_cvs): Test for pserver access. - -2000-10-31 Ulrich Drepper <drepper@redhat.com> - - * elf/Versions [ld] (GLIBC_2.2): Export _dl_clktck and _dl_pagesize. - * elf/dl-load.c: Define _dl_clktck. - * elf/elf.h: Define AT_CLKTCK. - * include/time.h: Declare __getclktck. - * misc/Makefile (routines): Add getclktck. - * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Handle AT_CLKTCK. - (_dl_show_auxv): Show AT_CLKTCK value. - * sysdeps/generic/getclktck.c: New file. - * sysdeps/unix/sysv/linux/getclktck.c: New file. - * sysdeps/unix/sysv/linux/alpha/getclktck.c: New file. - * sysdeps/unix/sysv/linux/ia64/getclktck.c: New file. - * sysdeps/posix/sysconf.c: Use __getclktck to handle _SC_CLK_TCK. - * sysdeps/unix/sysv/linux/getpagesize.c: New file. - * sysdeps/unix/sysv/linux/bits/time.h: Use __sysconf to for CLK_TCK. - * 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. - * sysdeps/unix/sysv/linux/s390/bits/time.h: Likewise. - - * sunrpc/clnt_gen.c (clnt_create): Don't set timeout with - clnt_control for any protocol. This would make it impossible for - the user to provide one in clnt_call(). - Reported by Hitoshi Guutara Maruyama <maruyama@sh.rim.or.jp>. - * sunrpc/clnt_tcp.c (clnt_call): Don't use timeout in tests with zero, - use ct->ct_wait. - * sunrpc/clnt_unix.c (clnt_call): Likewise. - -2000-10-31 Jes Sorensen <jes@linuxcare.com> - - * sysdeps/ia64/fpu/s_isinfl.S: New file, - assembly based - implementation based on suggestion by Richard Henderson. - * sysdeps/ia64/fpu/s_isinfl.c: Removed. - -2000-10-30 Jes Sorensen <jes@linuxcare.com> - - * sysdeps/ia64/fpu/s_isnanl.S: New file - assembly based - implementation based on suggestion by Richard Henderson. - * sysdeps/ia64/fpu/s_isnanl.c: Removed. - -2000-10-31 Ulrich Drepper <drepper@redhat.com> - - * locale/programs/locale.c (print_item): Fix one more problem with - string lists. Patch by Chen Xiangyang <chenxy@opencjk.org>. - - * locale/categories.def: Add number of arguments to ctype-map-names - and ctype-class-names entries. Mark era as stringlist. - - * iconvdata/Makefile (modules): Add IBM856, IBM930, IBM933, IBM935, - IBM937, IBM939, and IBM1046. - (distribute): Add ibm856.c, ibm930.c, ibm933.c, ibm935.c, ibm937.c, - ibm939.c, ibm1046.c, ibm856.h, ibm930.h, ibm933.h, ibm935.h, ibm937.h, - ibm939.h, and ibm1046.h. - * iconvdata/gconv-modules: Add entries for IBM856, IBM930, IBM933, - IBM935, IBM937, IBM939, and IBM1046. - * iconvdata/ibm1046.c: New file. - * iconvdata/ibm1046.h: New file. - * iconvdata/ibm856.c: New file. - * iconvdata/ibm856.h: New file. - * iconvdata/ibm930.c: New file. - * iconvdata/ibm930.h: New file. - * iconvdata/ibm933.c: New file. - * iconvdata/ibm933.h: New file. - * iconvdata/ibm935.c: New file. - * iconvdata/ibm935.h: New file. - * iconvdata/ibm937.c: New file. - * iconvdata/ibm937.h: New file. - * iconvdata/ibm939.c: New file. - * iconvdata/ibm939.h: New file. - Patches by Masahide Washizawa <washi@yamato.ibm.co.jp>. - -2000-10-30 Ulrich Drepper <drepper@redhat.com> - - * locale/localeinfo.h (enum value_type): Add wstring, wstringarray, - and wstringlist. - * locale/categories.def: Mark wide char strings as wstring or - stringarray. - * locale/programs/locale.c (show_info): Handle wstring, wstringarray, - and wstringlist. Print keywords only if there is real output. - Reported by Chen Xiangyang <chenxy@opencjk.org>. - - * sysdeps/sparc/fpu/bits/mathinline.h: Add __THROW where necessary. - Patch by Ben Collins <bcollins@debian.org>. - - * stdio-common/Makefile (tests): Add tst-fmemopen. - * stdio-common/tst-fmemopen.c: New file. - Test case by Ben Collins <bcollins@debian.org>. - - * libio/iofopncook.c (_IO_cookie_seek): Correct test for error. - - * libio/fmemopen.c (fmemopen_read): Return 0 at end of buffer. - (fmemopen_write): Set errno at end of buffer. - - * posix/runtests.c (main): Don't use exit() to avoid warning with - broken compilers. - - * string/bug-strncat1.c: Undefine __USE_STRING_INLINES before - defining it again to avoid warning. - * string/bug-strpbrk1.c: Likewise. - * string/bug-strspn1.c: Likewise. - -2000-10-29 Bruno Haible <haible@clisp.cons.org> - - * locale/C-translit.h.in: Include more rules from translit_neutral. - Remove a few German and Danish specific rules. - * locale/gen-translit.pl: Avoid an error when printing a string - containing a '%' character. - * locale/C-translit.h: Regenerated. - * intl/translit.po: Choose different translations. - * intl/tst-translit.c: Update. - -2000-10-29 Bruno Haible <haible@clisp.cons.org> - - * locale/programs/ld-ctype.c (translit_include_t): New type. - (locale_ctype_t): Remove translit_copy_locale, translit_copy_repertoire - fields, add translit_include field. - (ctype_read): After seeing "translit_start" in ignore_content mode, - skip the entire translit section, not only one line. Remove dead test - for tok_translit_end. Enqueue include statements into a list. - Signal error if tok_eof seen before tok_translit_end. - (translit_flatten): New function. - (allocate_arrays): Call translit_flatten. - -2000-10-30 Ulrich Drepper <drepper@redhat.com> - - * locale/findlocale.c (free_mem): We can remove NODELETE marked - data, just not the C locale data. +2001-08-15 Ulrich Drepper <drepper@redhat.com> - * intl/tst-gettext.c: Use setlocale() in addition to setting envvar. - * intl/tst-gettext.sh: Copy locale data if necessary. - * intl/Makefile (generated-dirs): Add localedir. + * libio/iofwide.c (_IO_fwide): Don't reset file position to + beginning of file, really get current position. - * intl/dcigettext.c (guess_category_value): For libc always use - the setlocale() method. +2001-08-15 Andreas Schwab <schwab@suse.de> - * intl/Makefile: Add rules to build, run and, distribute tst-gettext2. - * intl/tst-gettext2.c: New file. - * intl/tst-gettext2.sh: New file. - * intl/tstlang1.po: New file. - * intl/tstlang2.po: New file. - Patch by Andreas Jaeger <aj@suse.de>. + * sysdeps/m68k/m68020/atomicity.h (atomic_add): Don't allow + address register for operand 0. -2000-10-26 GOTO Masanori <gotom@debian.or.jp> +2001-08-14 Ulrich Drepper <drepper@redhat.com> - * intl/locale.alias: Add ja_JP.ujis alias. + * stdio-common/perror.c (perror): Use _IO_fwide instead of fwide. -2000-10-30 Ulrich Drepper <drepper@redhat.com> + * libio/libio.h (_IO_fwide): Handle zero as second parameter more + efficiently in macro. - * locale/findlocale.c (_nl_find_locale): Don't store normalized - name in *NAME. +2001-08-14 Jakub Jelinek <jakub@redhat.com> -2000-10-29 Ben Collins <bcollins@debian.org> + * resolv/nss_dns/dns-host.c (RESOLVSORT): Define. + (addrsort): New function. + * resolv/gethnamaddr.c (RESOLVSORT): Define. - * sysdeps/generic/lockf64.c: In the case of F_TEST, set l_type to - F_RDLCK explicitly. - * sysdeps/unix/sysv/linux/i386/lockf64.c: Likewise. +2001-08-14 Jakub Jelinek <jakub@redhat.com> -2000-10-29 Ulrich Drepper <drepper@redhat.com> + * string/strsignal.c (free_mem): Remove. - * iconvdata/big5.c: Update. - Patch by Tung-Han Hsieh <thhsieh@twcpro.phys.ntu.edu.tw>. +2001-08-14 Andreas Jaeger <aj@suse.de> - * iconvdata/Makefile (distribute): Add BIG5.irreversible. - * iconvdata/BIG5.irreversible: New file. + * 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>. -2000-10-29 Greg Louis <glouis@dynamicro.on.ca> +2001-08-14 Ulrich Drepper <drepper@redhat.com> - * posix/regex.h (__restrict_arr): Move definition out of #ifndef block. - Required because egcs-2.91.66 (aka 1.1.2) defines __restrict, but - doesn't define __restrict_arr. - -2000-10-29 Ulrich Drepper <drepper@redhat.com> - - * manual/search.texi: Correct description if VISIT values. - Patch by Ben Collins <bcollins@debian.org>. - - * string/bits/string2.h (strspn): Evaluate first argument if - second is "". - (strpbrk): Likewise. - * sysdeps/i386/i486/bits/string.h: Likewise. - * string/Makefile (tests): Add bug-strspn1 and bug-strpbrk1. - * string/bug-strspn1.c: New file. - * string/bug-strpbrk1.c: New file. - Test cases by Joseph S. Myers <jsm28@cam.ac.uk>. - - * string/bits/string2.h (strncat): Terminate string correctly. - * sysdeps/i386/i486/bits/string.h (strncat): Likewise. - * string/Makefile (tests): Add bug-strncat1. - * string/bug-strncat1.c: New file. - Test case by Joseph S. Myers <jsm28@cam.ac.uk>. - -2000-10-27 Ben Collins <bcollins@debian.org> - - * sysdeps/generic/lockf.c (lockf): Set l_type to F_RDLCK before - calling for F_GETLK. - -2000-10-29 Ulrich Drepper <drepper@redhat.com> - - * elf/dl-load.c (open_path): Don't exit loop early if we didn't - use a directory at all. - - * elf/Makefile: Add rules to build and run tst-pathopt. - * elf/tst-pathopt.c: New file. - * elf/tst-pathopt.sh: New file. - * elf/pathoptobj.c: New file. - - * elf/elf.h (SHN_XINDEX): Define. - -2000-10-28 Ulrich Drepper <drepper@redhat.com> - - * io/Makefile (tests): Add test-stat2. - (test-stat2-ARS): New variable. - * io/test-stat2.c: New file. - - * Makeconfig (ETAGS): Remove -T flag. - - * elf/dl-load.c (open_verify): Only try to load ET_DYN and ET_EXEC - objects. Reject all other types. - (_dl_map_object_from_fd): Optimize a bit. - -2000-10-27 Ulrich Drepper <drepper@redhat.com> - - * stdio-common/Makefile (tests): Add tst-fseek. - * stdio-common/tst-fseek.c: New file. - - * posix/regex.c (gettext): Use correct translation domain for glibc. - - * argp/argp-parse.c: Use __dcgettext instead of dcgettext for glibc. - * argp/argp-help.c: Likewise. - * inet/getnameinfo.c (getnameinfo): Use __snprintf instead of snprintf. - * inet/rexec.c (rexec_af): Use __snprintf instead of snprintf. - * misc/regexp.c (__step): Use __regexec instead of regexec. - (__advance): Likewise. - * nss/digits_dots.c: Use __inet_aton instead of inet_aton. - * nscd/gethstbynm2_r.c (__inet_aton): Define as inet_aton since - the former is not exported. - * misc/daemon.c (daemon): Use __fork instead of fork. - - * stdlib/fmtmsg.c (fmtmsg): Change output format slightly to make - it look better and bring it closer to SysV behavior. - * stdlib/Makefile (distribute): Add tst-fmtmsg.sh. - (test-srcs): Add tst-fmtmsg. - (tests): Add $(objpfx)tst-fmtmsg.out. Add rule to generate it. - * stdlib/tst-fmtmsg.sh: New file. - * stdlib/tst-fmtmsg.c: New file. - - * iconvdata/Makefile (modules): Add VISCII. - (gen-8bit-modules): Add viscii. - * iconvdata/viscii.c: New file. - * iconvdata/gconv-modules: Add entries for VISCII. - * iconvdata/tst-tables.sh: Add VISCII. + * 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. -2000-10-27 Andreas Schwab <schwab@suse.de> + * locale/newlocale.c: Minor cleanups. - * sysdeps/m68k/fpu/libm-test-ulps: Add some more ulps. +2001-08-14 Andreas Jaeger <aj@suse.de> -2000-10-26 Ulrich Drepper <drepper@redhat.com> + * sysdeps/ieee754/ldbl-128/w_expl.c: New file, copy from + ldbl-96/w_expl.c with tweaked constants. Patch by Stephen L + Moshier. - * version.h (VERSION): Bump to 2.1.96. +2001-08-13 Ulrich Drepper <drepper@redhat.com> - * inet/getipnodebyad.c: Removed. - * inet/getipnodebynm.c: Removed. - * inet/tst-ipnode.c: Removed. - * inet/freehostent.c: Removed. + * malloc/memusage.c (me): Allow creating the output file. - * sysdeps/unix/bsd/osf/=dirstream.h: Removed. + * sysdeps/unix/sysv/linux/Makefile: Remove -fkeep-inline-functions + flag for init-first. - * sysdeps/unix/sysv/linux/Dist: Add bits/initspin.h. + * po/fr.po: Update from translation team. - * elf/Makefile (distribute): Add neededobj4.c. +2001-08-13 Andreas Jaeger <aj@suse.de> - * iconvdata/Makefile (distribute): Add BIG5HKSCS.irreversible. + * 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>. - * sysdeps/hppa/Dist: New file. - * sysdeps/unix/sysv/linux/hppa/Dist: New file. +2001-08-12 Ulrich Drepper <drepper@redhat.com> - * posix/tst-chmod.c (do_test): Account for people running the - tests as root. + * 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. - * locale/langinfo.h (THOUSEP): Define this and don't duplicate - definition of THOUSANDS_SEP. + * 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. - * locale/C-monetary.c: Set mon_decimal to empty string. - Add missing entry _NL_MONETARY_CRNCYSTR. - * stdio-common/printf_fp.c: If MON_DECIAL_POINT is not provided use - DECIMAL_POINT information. - * locale/C-numeric.c: Set mon_grouping entry to empty string. - * locale/C-time.c: Add date_fmt entries. Remove two wrong entries. - Correct value for number of entries. - * locale/localeconv.c: Normalize result passed back in .grouping. - Fix assignment to .int_* entries. +2001-08-12 Roland McGrath <roland@frob.com> - * locale/Makefile (tests): Add tst-C-locale. - * locale/tst-C-locale.c: New file. + * 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. - * locale/setlocale.c: Use LOCALEDIR and not LOCALE_PATH to locate - locale files. - * locale/newlocale.c: Likewise. + * hurd/hurdlookup.c (__hurd_file_name_lookup): Comment fix. -2000-10-26 GOTO Masanori <gotom@debian.or.jp> +2001-08-11 Roland McGrath <roland@frob.com> - * locale/langinfo.h: Define _DATE_FMT and _NL_W_DATE_FMT. - * locale/categories.def: New support for date_fmt. - * locale/programs/ld-time.c: Likewise. - * locale/programs/locfile-kw.gperf: Likewise. - * locale/programs/locfile-kw.h: Likewise. - * locale/programs/locfile-token.h: Likewise. + * 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. -2000-10-26 Jakub Jelinek <jakub@redhat.com> + * posix/getopt.c (nonoption_flags_max_len, nonoption_flags_len): + Make these defns conditional on [USE_NONOPTION_FLAGS]. - * sysdeps/ieee754/ldbl-128/e_hypotl.c: New. +2001-08-11 Ulrich Drepper <drepper@redhat.com> - * math/libm-test.inc (cabs_test, cexp_test, csqrt_test, hypot_test): - Increase precision of constants. - * sysdeps/alpha/fpu/libm-test-ulps: Update. - * sysdeps/arm/libm-test-ulps: Update. - * sysdeps/i386/fpu/libm-test-ulps: Update. - * sysdeps/ia64/fpu/libm-test-ulps: Update. - * sysdeps/m68k/fpu/libm-test-ulps: Update. - * sysdeps/mips/fpu/libm-test-ulps: Update. - * sysdeps/powerpc/fpu/libm-test-ulps: Update. - * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Update. - * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Update. - * sysdeps/sh/sh4/fpu/libm-test-ulps: Update. - * sysdeps/s390/fpu/libm-test-ulps: Update. - -2000-10-26 Ulrich Drepper <drepper@redhat.com> - - * io/Makefile (tests): Add tst-fcntl. - * io/tst-fcntl.c: New file. - - * posix/Makefile (tests): Add tst-chmod. - (tst-chmod-ARGS): Define. - * posix/tst-chmod.c: New file. - - * test-skeleton.c: Before calling user-defined function remove - parameters from argument list. - * posix/tst-exec.c: Adjust to this change. - * posix/tst-spawn.c: Likewise. - - * sysdeps/unix/opendir.c (__opendir): Optimize a bit. Add - __builtin_expect. - -2000-10-25 Ulrich Drepper <drepper@redhat.com> - - * intl/Makefile (tests): Add tst-ngettext. - * intl/tst-ngettext.c: New file. - -2000-10-25 Bruno Haible <haible@clisp.cons.org> - - * manual/charset.texi: Fix spelling of __GCONV_FULL_OUTPUT. - * manual/message.texi (Translation with gettext): Remove paragraph - about macros contained in libintl.h. - (bind_textdomain_codeset): Describe codeset argument. - (Using gettextized software): Add setlocale call to sample code. - -2000-10-26 Kazumoto Kojima <kkojima@rr.iij4u.or.jp> - Yutaka Niibe <gniibe@chroot.org> - - * sysdeps/sh/dl-machine.h (elf_machine_rela): Handle in place - relocation which is generated by new ld. - * sysdeps/sh/elf/initfini.c (_init): Preseted __fpscr_values. - (_fini): Delete an obsolete register prefix. - * sysdeps/unix/sysv/linux/sh/Versions: Add __xstat64, __fxstat64, - __lxstat64, alphasort64, glob64, readdir64, readdir64_r, scandir64 - and versionsort64 as the 2.2-versioned symbols. - * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: New file. - * sysdeps/unix/sysv/linux/sh/brk.c: Changes for the new system call - calling convention of the kernel. - * sysdeps/unix/sysv/linux/sh/pipe.S: Likewise. - * sysdeps/unix/sysv/linux/sh/socket.S: Likewise. - * sysdeps/unix/sysv/linux/sh/clone.S: Likewise. - * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise. - * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise. - * sysdeps/unix/sysv/linux/sh/fcntl.c: New file. - * sysdeps/unix/sysv/linux/sh/lockf64.c: New file. - * sysdeps/unix/sysv/linux/sh/sys/user.h: Include the kernel header - file and delete the definitions of struct user and user_fp. - * sysdeps/unix/sysv/linux/sh/syscall.S: New file. - * sysdeps/unix/sysv/linux/sh/syscalls.list: Remove entries for - s_ioctl, s_ipc, s_llseek, s_chown, s_fchown, s_lchown, s_execve, - rt_sigaction, rt_sigpending, rt_sigprocmask, rt_sigqueueinfo, - rt_sigsuspend, rt_sigtimedwait, s_getcwd, s_getdents, s_getgroups, - s_getpriority, s_getegid, s_geteuid, s_getuid, getresgid, getresuid, - s_getrlimit, s_poll, s_pread64, s_ptrace, s_pwrite64, s_reboot, - s_setrlimit, s_sigaction, s_sigpending, s_sigprocmask, s_sigsuspend, - s_setfsgid, s_setfsuid, s_setgid, s_setgroups, s_setregid, - s_setresgid, s_setresuid, s_setreuid, s_setuid, s_sysctl, - s_ugetrlimit, s_ustat, sys_fstat, sys_lstat, sys_mknod, sys_readv, - sys_stat, sys_writev and syscall. - -2000-10-25 Ulrich Drepper <drepper@redhat.com> - - * io/test-lfs.c (do_prepare): Rewrite so it doesn't fail on systems - without LFS support. - - * sysdeps/ieee754/dbl-64/e_jn.c: Use __ieee754_sqrt instead of __sqrt. - * sysdeps/ieee754/dbl-64/e_j1.c: Likewise. - * sysdeps/ieee754/dbl-64/e_j0.c: Likewise. - * sysdeps/ieee754/flt-32/e_j1f.c: Likewise. - * sysdeps/ieee754/flt-32/e_j0f.c: Likewise. - -2000-10-25 David Mosberger <davidm@hpl.hp.com> - - * sysdeps/unix/sysv/linux/ia64/profil-counter.h: Multiply slot - number by four to use bins of width 4 to get accurate - instruction-level profiling. - -2000-10-25 Andreas Jaeger <aj@suse.de> - - * sysdeps/generic/dl-cache.h (CACHEMAGIC_VERSION_NEW): Correct string. - -2000-10-25 Jakub Jelinek <jakub@redhat.com> - - * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): When - converting struct flock64 to struct flock and back, use fcntl commands - which work on struct flock. - -2000-10-25 Jakub Jelinek <jakub@redhat.com> - - * math/test-misc.c (main): Only check modfl if NO_LONG_DOUBLE is not + * config.h.in: Add #undef line for USE_NONOPTION_FLAGS. + * posix/getopt_init.c: Produce code only if USE_NONOPTION_FLAGS is defined. - * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Update. - * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Update. - -2000-10-25 Ulrich Drepper <drepper@redhat.com> - - * sysdeps/arm/libm-test-ulps: Updated. - - * sysdeps/generic/dl-cache.h (CACHEMAGIC_VERSION_NEW): New value. - -2000-10-25 Andreas Jaeger <aj@suse.de> - - * elf/dl-load.c (_dl_map_object_from_fd): Remove unused variable. - (_dl_map_object): Likewise. - -2000-10-24 Paul Eggert <eggert@twinsun.com> - - * time/strftime.c (my_strftime macro) - [!defined _LIBC && HAVE_TZNAME && HAVE_TZSET]: - When redefining, do it without args, so that it works even if - emacs is defined and an extra argument is passed to my_stftime. - (my_strftime function): When evaluating a subformat, pass - ut_argument as well. - -2000-10-24 Andreas Schwab <schwab@suse.de> - - * sysdeps/unix/sysv/linux/ia64/Versions: Add pciconfig_read and - pciconfig_write. - -2000-10-25 Ulrich Drepper <drepper@redhat.com> - - * sysdeps/generic/dl-cache.c (_dl_cache_verify_ptr): Correct test - for files with new cache format. - (_dl_load_cache_lookup): Add variable cache_data_size for size of the - data. Correctly report error if neither old not new signature is - found. Little optimizations. - Mostly based on a patch by Denis Zaitsev <zzz@cd-club.ru>. - - * elf/dl-close.c (_dl_close): Optimize a bit by optimizing out the - nsearchlist variable. - -2000-10-24 Ulrich Drepper <drepper@redhat.com> - - * elf/dl-lookup.c (add_dependency): Fix test to check whether - dependency already exists. - * elf/Makefile: Add testobj1 and testobj2 as dependencies of testobj6. - * elf/loadtest.c (main): Add test at the end that everything is - unloaded. - - * elf/dl-open.c (dl_open_worker): Fix typo in comment. - - * elf/elf.h: Add even more IA-64 relocations. - -2000-10-24 Geoffrey Keating <geoffk@cygnus.com> - - * io/test-lfs.c (do_prepare): Call setrlimit64, in case the user - has a limit set---for instance, a limit of 2^31 bytes, which can't - easily be reset by non-LFS-aware shells. - - * sysdeps/unix/sysv/linux/powerpc/mmap64.c: Define PAGE_SHIFT - explicitly rather than getting it from <asm/page.h>. - -2000-10-24 Ulrich Drepper <drepper@redhat.com> - - * elf/dl-close.c (_dl_close): Handle relocation dependencies of - the dependencies of the object currently unloaded. - - * elf/dl-close.c (_dl_close): Don't free memory for global scope - list immediately when empty. Move code to... - (free_mem): ...here. Called as part of __libc_subfreeres list. - - * elf/dl-deps.c (_dl_map_object_deps): Put l_initfini array before - r_list array in allocated memory. - * elf/dl-close.c (_dl_close): Optimize access to l_initfini list - and remove use of r_list. - - * elf/dl-close.c (_dl_close): Use correct list (l_initfini) when - computing new opencounts. - * elf/Makefile: Add rules to build and run neededtest3. - * neededtest3.c: New file. - * neededobj4.c: New file. - - * elf/neededtest.c (main): Correct tests for failing dlopen. - -2000-10-24 Andreas Jaeger <aj@suse.de> - - * elf/dl-lookup.c (add_dependency): Remove unused variable j. - -2000-10-24 Ulrich Drepper <drepper@redhat.com> - - * malloc/obstack.c (_obstack_newchunk): Correctly align first returned - block. - * malloc/tst-obstack.c: New file. - Patch and test case by Alexandre Duret-Lutz <duret_g@epita.fr>. - * malloc/Makefile (tests): Add tst-obstack. - - Complete revamp of the reference counter handling. - * include/link.h (struct link_map): Add l_idx field. - * elf/dl-close.c: Handle decrementing of reference counters more - correctly. If necessary decrement reference counters of dependencies - of dependencies. - * elf/dl-lookup.c (add_dependency): Only increment reference counter - of the object itself and not also its dependencies. - * elf/dl-open.c: Increment reference counters here. - * elf/dl-deps.c: Remove reference counter handling here. - * elf/dl-load.c: Likewise. - * elf/rtld.c: Adjust for _dl_map_deps not handling reference counters. - - * elf/loadtest.c: Print loaded objects at the beginning. - -2000-10-24 Andreas Jaeger <aj@suse.de> - - * sysdeps/mips/dl-machine.h: Partly revert patch from 2000-10-18. - -2000-10-23 Ulrich Drepper <drepper@redhat.com> - - * include/link.h (struct link_map): New bit field l_faked. - * elf/dl-deps.c: Use l_faked field in struct link_map instead of - the magic l_opencount==0. - * elf/dl-load.c: Likewise. - * elf/dl-version.c: Likewise. - * elf/rtld.c: Likewise. - - * elf/dl-close.c (_dl_close): Add a few more __builtin_expect. - -2000-10-23 Jim Meyering <meyering@ascend.com> - - Allow this code to be used outside of glibc. - * sysdeps/generic/memrchr.c: Undef __memrchr, too. - [!weak_alias]: Define __memrchr to memrchr. - Guard weak_alias use with `#ifdef weak_alias'. - -2000-10-23 Ulrich Drepper <drepper@redhat.com> - - * elf/unload.c: Generate more debugging output. - - * elf/neededtest.c: Make it more complicated. - * elf/neededtest2.c: New file. - * elf/Makefile: Add rules to build and run neededtest2. - - * elf/dl-sym.c (_dl_sym): Use exact check for caller PC in range - of DSO address space. - (_dl_vsym): Likewise. - - * elf/dl-sym.c (_dl_sym): For RTLD_DEFAULT, search in objects - global scope if we can determine it. - -2000-10-23 Andreas Schwab <schwab@suse.de> - - * sysdeps/unix/sysv/linux/ia64/bits/resource.h (RLIMIT_LOCKS): Added. - (RLIMIT_NLIMITS): Sync with kernel definition. - (PRIO_PROCESS, PRIO_PGRP, PRIO_USER): Also define as macros. - -2000-10-23 Andreas Schwab <schwab@suse.de> - - * sysdeps/m68k/fpu/libm-test-ulps: Updated. - -2000-10-23 Ulrich Drepper <drepper@redhat.com> - - * elf/elf.h (R_IA64_GPREL32MSB, R_IA64_GPREL32LSB): New definitions. - -2000-10-22 Bruno Haible <haible@clisp.cons.org> - - * iconvdata/big5hkscs.c (big5hkscs_to_ucs): Add irreversible mappings - for 0x8BF8, 0xA27E..0xA2A7. - * iconvdata/BIG5HKSCS.irreversible: New file. - -2000-10-23 Jakub Jelinek <jakub@redhat.com> - - * timezone/zdump.c (main): setlocale LC_CTYPE as well as LC_MESSAGES. - * timezone/zic.c (main): Likewise. - -2000-10-23 Thorsten Kukuk <kukuk@suse.de> - - * nscd/connections.c (invalidate_cache): Don't invalidate a cache - if it is not enabled. - -2000-10-23 Andreas Jaeger <aj@suse.de> - - * sysdeps/s390/fpu/libm-test-ulps: New ulps. - - * sysdeps/unix/sysv/linux/mips/syscalls.list: Add fcntl64. - Patch by Ralf Baechle <ralf@gnu.org>. - -2000-10-21 Ulrich Drepper <drepper@redhat.com> - - * elf/dl-load.c (_dl_map_object_from_fd): Split out ELF file - verification in open_verify. - (open_verify): New function. Called instead of open. Ignores valid - files for other architectures. - (open_path): Call open_verify instead of open. - (_dl_map_object): Likewise. - Somewhat based on a patch by Don Dugger <n0ano@valinux.com>. - - * io/pwd.c (main): The output was missing a newline. - - * posix/fnmatch_loop.c: Make FNM_LEADING_DIR behave as GNU tar - expects it. Patch by Colin Watson <riva.ucam.org>. - * posix/tst-fnmatch.input: Add test cases for FNM_LEADING_DIR. - - * elf/dl-open.c (add_to_global): New function. Split out from - dl_open_worker. - (dl_open_worker): Call add_to_global not only for new objects, also for - previously loaded objects when (mode & RTLD_GLOBAL) and the object - was not yet in the global scope. - * elf/Makefile: Add rules to build and run lateglobal. - * elf/lateglobal.c: New file. - * elf/ltglobmod1.c: New file. - * elf/ltglobmod2.c: New file. - -2000-10-20 Ulrich Drepper <drepper@redhat.com> - - * include/link.h (struct link_map): Add l_soname_added bitfield. - * elf/dl-load.c (_dl_map_object): Remember when we added the - SONAME to the l_libname list and don't try it again. - - * elf/dl-close.c: Decrement opencount for all dependencies which can - be removed even if the object is not yet unloaded. - * elf/dl-deps.c (_dl_map_object_deps): If dependency is already in - the list decrement opencount of all dependencies. - * elf/dl-load.c (_dl_map_object_from_fd): Increment object of object - and all dependencies. - (_dl_map_object): Likewise. - * elf/dl-lookup.c (add_dependency): Likewise. - - * elf/loadtest.c: Add debug when with more output. - - * elf/Makefile: Add rules to build and run unload2. - * elf/unload2.c: New file. - * elf/unload2mod.c: New file. - * elf/unload2dep.c: New file. - - * intl/libintl.h (ngettext macro): Add missing parameter. - (dngettext macro): Likewise. - -2000-10-19 H.J. Lu <hjl@gnu.org> - - * elf/Makefile (distribute): Add neededtest.c, neededobj1.c, - neededobj2.c and neededobj3.c. - (tests): Add neededtest. - (modules-names): Add neededobj1, neededobj2 and neededobj3. - ($(objpfx)neededobj1.so): New target. - ($(objpfx)neededobj2.so): Likewise. - ($(objpfx)neededobj3.so): Likewise. - ($(objpfx)neededtest): Likewise. - ($(objpfx)neededtest.out): Likewise. - * elf/neededtest.c: New. Based on the bug report from - Allen Bauer <kylix_rd@hotmail.com>. - * elf/neededobj1.c: Likewise. - * elf/neededobj2.c: Likewise. - * elf/neededobj3.c: Likewise. - -2000-10-20 Ulrich Drepper <drepper@redhat.com> - - * elf/dl-load.c (_dl_map_object_from_fd): Pass pointer to ELF header - to elf_machine_matches_host. - * sysdeps/alpha/dl-machine.h (elf_machine_matches_host): Parameter - is now pointer to ELF header. - * sysdeps/arm/dl-machine.h: Likewise. - * sysdeps/generic/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/powerpc/dl-machine.h: Likewise. - * sysdeps/s390/dl-machine.h: Likewise. - * sysdeps/sh/dl-machine.h: Likewise. - * sysdeps/sparc/sparc32/dl-machine.h: Likewise. - * sysdeps/sparc/sparc64/dl-machine.h: Likewise. - Patch by Martin Schwidefsksy <schwidefsky@de.ibm.com>. - -2000-10-20 Jakub Jelinek <jakub@redhat.com> - - * include/limits.h: Include bits/wordsize.h, use #if __WORDSIZE == 64 - check instead of #ifdef __alpha__. - * include/bits/xopen_lim.h (WORD_BIT, LONG_BIT): Don't count on - INT_MAX, __INT_MAX__, LONG_MAX or __LONG_MAX__ being defined when - this is included. - -2000-10-20 Ulrich Drepper <drepper@redhat.com> - - * posix/wordexp-tst.sh (testout): Place output file in build - directory. Patch by Joseph S. Myers <jsm28@cam.ac.uk>. - - * sysdeps/powerpc/fpu/bits/mathinline.h: Pretty print. - -2000-10-19 Ulrich Drepper <drepper@redhat.com> - - * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn): - Correctly handle numeric group member information. - Patch by tomasw@cs.huji.ac.il. - - * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn): - Complete test for strtol overflow. - -2000-10-19 Jakub Jelinek <jakub@redhat.com> - - * sysdeps/unix/sysv/linux/alpha/semctl.c (__new_semctl): Pass union - semun as 4th argument to semctl syscall, not address of it. - -2000-10-18 Franz Sirl <Franz.Sirl-kernel@lauterbach.com> - - * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add fcntl64() syscall. - -2000-10-17 Andreas Schwab <schwab@suse.de> - - * string/string.h: Remove declaration of __strcasecmp and __strcasestr. - * include/string.h: Declare them here. - -2000-10-18 Ralf Baechle <ralf@gnu.org> - - * sysdeps/unix/sysv/linux/mips/sys/syscall.h: Include <asm/unistd.h>. - -2000-10-19 Geoffrey Keating <geoffk@cygnus.com> - - * sysdeps/powerpc/fpu/bits/mathinline.h: Add versions - of the unordered comparison functions that use the GCC builtins. - - * sysdeps/powerpc/dl-machine.c (dl_reloc_overflow): New function. - (__process_machine_rela): Print the address of an overflowing - reloc. - -2000-10-18 Ulrich Drepper <drepper@redhat.com> - - * sysdeps/unix/sysv/linux/shm_open.c: Correct default mount point - in comments. - (freeit): Remove unnecessary test. - -2000-10-18 Andreas Jaeger <aj@suse.de> - - * sysdeps/mips/dl-machine.h (ELF_MIPS_GNU_GOT1_OK): New. - (ELF_MACHINE_BEFORE_RTLD_RELOC): Handle newer linkers. - (elf_machine_runtime_link_map): Likewise. - (elf_machine_runtime_setup): Likewise. - Handle dynamic linker's local got entries. - Patches by Ralf Baechle <ralf@gnu.org>. - -2000-10-09 Maciej W. Rozycki <macro@ds2.pg.gda.pl> - - * sysdeps/mips/dl-machine.h (_dl_runtime_resolve): Define $sp as - the frame pointer. Allocate stack space for $a0 for - __dl_runtime_resolve(). Do not save $sp in $s0 as it's - callee-saved anyway. - -2000-10-17 Ulrich Drepper <drepper@redhat.com> - - * sysdeps/powerpc/fpu/libm-test-ulps: Update for changes in - libm-test.inc. - -2000-10-17 Andreas Schwab <schwab@suse.de> - - * sysdeps/m68k/fpu/libm-test-ulps: Update for changes in - libm-test.inc. - -2000-10-17 Jakub Jelinek <jakub@redhat.com> - - * sysdeps/ieee754/ldbl-128/printf_fphex.c (PRINT_FPHEX_LONG_DOUBLE): - Add missing backslash. - -2000-10-16 Ulrich Drepper <drepper@redhat.com> - - * sysdeps/generic/dl-sysdep.c (DL_FIND_ARG_COMPONENTS): Little cleanup. - - * sysdeps/i386/fpu/libm-test-ulps: Update for changes in libm-test.inc. - -2000-10-16 Jakub Jelinek <jakub@redhat.com> - - * math/libm-test.inc (M_LOG_SQRT_PIl, M_LOG_2_SQRT_PIl): Increase - precision. - (acos_test, asin_text, cexp_test, cos_test, cproj_test, exp10_test, - sin_test, sincos_test, sqrt_test): Likewise. Add L suffixes also - to parameters. - (acosh_test, asinh_test, atan2_test, atanh_test, atan_test, cabs_test, - cacosh_test, cacos_test, casinh_test, casin_test, catanh_test, - catan_test, cbrt_test, ccosh_test, ccos_test, clog10_test, cosh_test, - csinh_test, csin_test, csqrt_test, ctanh_test, ctan_test, erfc_test, - erf_test, exp2_test, expm1_test, exp_test, fmod_test, hypot_test, - j0_test, j1_test, jn_test, lgamma_test, llrint_test, llround_test, - log10_test, log1p_test, log2_test, log_test, lrint_test, lround_test, - nextafter_test, nexttoward_test, pow_test, round_test, scalb_test, - sinh_test, static void, tanh_test, tan_test, tgamma_test, y0_test, - y1_test, yn_test): Add L suffixes also to parameters. - * sysdeps/ieee754/ldbl-128/s_ceill.c (__ceill): Fix mask. - * sysdeps/ieee754/ldbl-128/s_floorl.c (__floorl): Likewise. - * soft-fp/op-2.h (_FP_FRAC_SRS_2): Fix computation of sticky bit. - -2000-10-16 Ulrich Drepper <drepper@redhat.com> - - * timezone/Makefile: Define HAVE_GETTEXT for zdump.c, zic.c, - ialloc.c, and scheck.c. - * malloc/obstack.c: Always include <libintl.h> for glibc. - * posix/getopt.c: Likewise. - Reported by Petr Vandrovec <VANDROVE@vc.cvut.cz>. - -2000-10-15 Pete Wyckoff <pw@osc.edu> - - * Rules: Define _LIBC during generation of bits/stdio_lim.d. - -2000-10-15 Pete Wyckoff <pw@osc.edu> - - * iconvdata/tst-tables.sh: Invoke other shell scripts through ${SHELL}. - * iconvdata/tst-table.sh: Likewise. + * 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/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. -2000-10-15 Ulrich Drepper <drepper@redhat.com> +2001-08-11 Andreas Jaeger <aj@suse.de> - * elf/dl-error.c (_dl_signal_error): Allocate memory for objname - as well. Reported by Alexander V. Lukyanov <lav@yars.free.net>. + * sysdeps/ieee754/ldbl-128/e_j0l.c: New file. + Contributed by Stephen L Moshier <moshier@mediaone.net>. - * iconvdata/gconv-modules: Add aliases for Windows charsets. - Patch by Joseph S. Myers <jsm28@cam.ac.uk>. +2001-08-11 Ulrich Drepper <drepper@redhat.com> -2000-10-13 Andreas Schwab <schwab@suse.de> + * assert/assert.c (set_progname): Removed. + (__assert_fail): Use __progname instead of __assert_program_name. + * assert/assert-perr.c (__assert_perror_fail): Likewise. - * elf/elf.h (R_IA64_PCREL60B): Add relocation. + * malloc/malloc.c (ptmalloc_init): Don't call getenv five times. + Instead use new function next_env_entry which iterates over the + environment once. -2000-10-15 Ulrich Drepper <drepper@redhat.com> + * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): Only set + _dl_profile_map for the right object. - * sysdeps/unix/sysv/linux/hppa/brk.c: Cleanups. - * sysdeps/unix/sysv/linux/hppa/umount.c: Likewise. - * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Likewise. - * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Likewise. - * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Likewise. + * elf/dl-reloc.c (_dl_relocate_object): Allocate l_reloc_result + only if consider_profiling is != 0, not if _dl_profile != NULL. -2000-10-14 Ulrich Drepper <drepper@redhat.com> + * 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. - * math/libm-test.inc (frexp_test): Add L suffix also to parameters. - (hypot_test): Likewise. +2001-08-10 Wolfram Gloger <wg@malloc.de> - * sysdeps/generic/printf_fphex.c: Compute width of decimal point - string correctly. Handle padding correctly. + * malloc/malloc.c (grow_heap): Use mmap() rather than mprotect() + to allocate new memory, for better performance with Linux-2.4.x. - * sysdeps/ia64/fpu/printf_fphex.c: Use sizeof in _itowa parameters - correctly. - * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise. - * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise. - -2000-10-12 Alan Modra <alan@linuxcare.com.au> - - * FAQ.in: Add --start-group and --end-group. - -2000-10-12 Alan Modra <alan@linuxcare.com.au> - - * malloc/memusage.c: Conditionalize stack usage calculation on - stack direction. - -2000-10-12 Alan Modra <alan@linuxcare.com.au> - - * config.h.in: Add ASM_LINE_SEP. - * configure.in: Add test for comment and line separators. - * include/libc-symbols.h: Define and use ASM_LINE_SEP, and add tabs to - placate some hppa assemblers. - * sysdeps/hppa/sysdep.h: Likewise. - * sysdeps/gnu/siglist.c: Insert \n and \t into inline asm. - * sysdeps/unix/sysv/linux/errlist.c: Likewise. - -2000-10-12 David Huggins-Daines <dhd@linuxcare.com> - - * sysdeps/unix/sysv/linux/Makefile: Include <bits/initspin> in - $(sysdep_headers). - * sysdeps/unix/sysv/linux/bits/initspin.h: Dummy version for - non-threaded platforms. - -2000-10-12 David Huggins-Daines <dhd@linuxcare.com> - - * configure.in: Add definitions for hppa. - * elf/elf.h: Add PLABEL32 relocation for hppa ELF32, comments - for IPLT and EPLT relocations. - * shlib-versions: Version symbol definitions for hppa-linux. - * sysdeps/unix/sysv/linux/configure.in: Define $arch_minimum_kernel - for hppa. - -2000-10-12 David Huggins-Daines <dhd@linuxcare.com> - - * sysdeps/hppa/Makefile: New file. - * sysdeps/hppa/Versions: New file. - - * sysdeps/hppa/setjmp.S: New file. - * sysdeps/hppa/__longjmp.S: New file. - * sysdeps/hppa/bits/setjmp.h: New file. - * sysdeps/hppa/frame.h: New file. - - * sysdeps/hppa/add_n.s: Don't use %r19 (linkage table pointer). - * sysdeps/hppa/sub_n.s: Likewise. - * sysdeps/hppa/lshift.s: Likewise. - * sysdeps/hppa/rshift.s: Likewise. - * sysdeps/hppa/udiv_qrnnd.s: Likewise. - * sysdeps/hppa/hppa1.1/addmul_1.s: Likewise. - * sysdeps/hppa/hppa1.1/submul_1.s: Likewise. - * sysdeps/hppa/hppa1.1/mul_1.s: Likewise. - * sysdeps/hppa/hppa1.1/udiv_qrnnd.s: Likewise. - - * sysdeps/hppa/dl-machine.h: New file. - * sysdeps/hppa/dl-fptr.c: New file (note that this is almost - identical to the IA-64 one). - * sysdeps/hppa/dl-lookupcfg.h: Likewise. - * sysdeps/hppa/dl-symaddr.c: Likewise. - - * sysdeps/hppa/elf/initfini.c: New file. - * sysdeps/hppa/elf/start.S: New file. - - * sysdeps/hppa/fpu/bits/fenv.h: New file. - * sysdeps/hppa/fpu/fclrexcpt.c: New file. - * sysdeps/hppa/fpu/fedisblxcpt.c: New file. - * sysdeps/hppa/fpu/feenablxcpt.c: New file. - * sysdeps/hppa/fpu/fegetenv.c: New file. - * sysdeps/hppa/fpu/fegetexcept.c: New file. - * sysdeps/hppa/fpu/fegetround.c: New file. - * sysdeps/hppa/fpu/feholdexcpt.c: New file. - * sysdeps/hppa/fpu/fesetenv.c: New file. - * sysdeps/hppa/fpu/fesetround.c: New file. - * sysdeps/hppa/fpu/feupdateenv.c: New file. - * sysdeps/hppa/fpu/fegetexcptflg.c: New file. - * sysdeps/hppa/fpu/fraiseexcpt.c: New file. - * sysdeps/hppa/fpu/fsetexcptflg.c: New file. - * sysdeps/hppa/fpu/ftestexcept.c: New file. - - * sysdeps/unix/sysv/linux/hppa/Makefile: New file. - * sysdeps/unix/sysv/linux/hppa/Versions: New file. - * sysdeps/unix/sysv/linux/hppa/syscalls.list: New file. - * sysdeps/unix/sysv/linux/hppa/sysdep.c: New file. - * sysdeps/unix/sysv/linux/hppa/sysdep.h: New file. - - - * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h: New file. - * sysdeps/unix/sysv/linux/hppa/bits/ioctls.h: New file. - * sysdeps/unix/sysv/linux/hppa/bits/mman.h: New file. - * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: New file. - * sysdeps/unix/sysv/linux/hppa/bits/signum.h: New file. - * sysdeps/unix/sysv/linux/hppa/brk.c: New file. - * sysdeps/unix/sysv/linux/hppa/clone.S: New file. - * sysdeps/unix/sysv/linux/hppa/socket.S: New file. - * sysdeps/unix/sysv/linux/hppa/syscall.S: New file. - * sysdeps/unix/sysv/linux/hppa/setrlimit.c: New file. - * sysdeps/unix/sysv/linux/hppa/getrlimit.c: New file. - * sysdeps/unix/sysv/linux/hppa/getrlimit64.c: New file. - * sysdeps/unix/sysv/linux/hppa/kernel_sigaction.h: New file. - * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: New file. - * sysdeps/unix/sysv/linux/hppa/mmap.c: New file. - * sysdeps/unix/sysv/linux/hppa/profil-counter.h: New file. - * sysdeps/unix/sysv/linux/hppa/procfs.h: New file. - * sysdeps/unix/sysv/linux/hppa/ucontext.h: New file. - * sysdeps/unix/sysv/linux/hppa/umount.c: New file. - -2000-10-12 Alan Modra <alan@linuxcare.com.au> - - * sysdeps/hppa/hppa1.1/Implies: New file. - * sysdeps/hppa/memusage.h: New file. - -2000-10-28 Jes Sorensen <jes@linuxcare.com> - - * sysdeps/unix/sysv/linux/ia64/Versions: Export ioperm, iopl, inb, - inw, inl, _inb, _inw, _inl, outb, outw, outl, _outb, _outw, - _outl. Reported by Bill Nottingham. - -2000-04-06 Andreas Schwab <schwab@suse.de> - - * sysdeps/ia64/dl-machine.h (TRAMPOLINE_TEMPLATE): Save and - restore register r8 for functions that return a structure. - -2000-10-12 Jakub Jelinek <jakub@redhat.com> - - * math/libm-test.inc (M_PI_6l, M_E2l, M_E3l, M_2_SQRT_PIl, - M_SQRT_PIl): Increase precision. - (cbrt_test): If cbrt is not implemented, don't test it. - Add L suffix to double constants in results which differ from their - L suffixed counterparts. - (exp10_test, fmod_test, frexp_test, hypot_test, sqrt_test): Likewise. +2001-08-10 Ulrich Drepper <drepper@redhat.com> - * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Update. + * 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. -2000-10-11 Jakub Jelinek <jakub@redhat.com> + * elf/dl-open.c (add_to_global): Remove stale comment. - * inet/rexec.c (rexec_af): Convert rport to host order before - passing it to snprintf. + * elf/dl-load.c (fillin_rpath): In SUID binaries, don't mark + non-system-dirs in LD_LIBRARY_PATH as nonexisting, simply drop them. -2000-10-14 Ulrich Drepper <drepper@redhat.com> + * 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. - * sysdeps/gnu/netinet/tcp.h: Use u_intXX_t types instead of - uintXX_t since this is what <sys/types.h> defines and we include - this header. Reported by Bernhard Rosenkraenzer <bero@redhat.de>. +2001-08-10 Andreas Jaeger <aj@suse.de> - * intl/localealias.c (read_alias_file): Update string pointers - in map[] if realloc() changed the values. - Patch by Jakub Jelinek <jakub@redhat.com>. + * stdio-common/stdio_ext.h: Fix typo. - * manual/stdio.texi: Update printf extension documentation after - z became a valid modifier. - Patch by Joseph S. Myers <jsm28@cam.ac.uk>. +2001-08-09 Ulrich Drepper <drepper@redhat.com> - * timezone/africa: Update from tzcode2000g and tzdata2000g. - * timezone/asia: Likewise. - * timezone/australasia: Likewise. - * timezone/backward: Likewise. - * timezone/europe: Likewise. - * timezone/iso3166.tab: Likewise. - * timezone/northamerica: Likewise. - * timezone/southamerica: Likewise. - * timezone/zone.tab: Likewise. + * posix/fnmatch_loop.c: Fix computation of alignment. -2000-10-14 Geoffrey Keating <geoffk@cygnus.com> +2001-08-09 Isamu Hasegawa <isamu@yamato.ibm.com> - * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add fcntl() - syscall. + * posix/regex.c (wcs_regex_compile): Use appropriate string + to compare with collating element. + Fix the padding for the alignment. -2000-10-13 Michael Fedrowitz <michael@fedrowitz.de> +2001-08-09 Isamu Hasegawa <isamu@yamato.ibm.com> - * sysdeps/unix/sysv/linux/m68k/alphasort64.c: New file. - * sysdeps/unix/sysv/linux/m68k/fcntl.c: New file. - * sysdeps/unix/sysv/linux/m68k/getdents64.c: New file. - * sysdeps/unix/sysv/linux/m68k/getrlimit.c: New file. - * sysdeps/unix/sysv/linux/m68k/getrlimit64.c: New file. - * sysdeps/unix/sysv/linux/m68k/glob64.c: New file. - * sysdeps/unix/sysv/linux/m68k/lockf64.c: New file. - * sysdeps/unix/sysv/linux/m68k/oldgetrlimit64.c: New file. - * sysdeps/unix/sysv/linux/m68k/readdir64.c: New file. - * sysdeps/unix/sysv/linux/m68k/readdir64_r.c: New file. - * sysdeps/unix/sysv/linux/m68k/scandir64.c: New file. - * sysdeps/unix/sysv/linux/m68k/setrlimit.c: New file. - * sysdeps/unix/sysv/linux/m68k/versionsort64.c: New file. - * sysdeps/unix/sysv/linux/m68k/Dist: Add oldgetrlimit64.c. - * sysdeps/unix/sysv/linux/m68k/Makefile: Add oldgetrlimit64. - * sysdeps/unix/sysv/linux/m68k/Versions: Export __xstat64, - __fxstat64, __lxstat64, alphasort64, glob64, getrlimit, setrlimit, - getrlimit64, readdir64, readdir64_r, scandir64, versionsort64 at - GLIBC_2.2. - * sysdeps/unix/sysv/linux/m68k/syscalls.list: Add oldgetrlimit, - oldsetrlimit for GLIBC_2.0. + * 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. - * sysdeps/m68k/dl-machine.h (_dl_start_user): Pass correct - arguments to _dl_init. +2001-08-09 Ulrich Drepper <drepper@redhat.com> -2000-10-13 Geoffrey Keating <geoffk@cygnus.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. - * sysdeps/i386/fpu/libm-test-ulps: Update ULPs for my Pentium III - building with the default options. + * dlfcn/Makefile (tststatic-ENV): Also add $(common-objpfx)elf for + ld.so. -2000-10-11 Andreas Jaeger <aj@suse.de> + * time/tst-strptime.c: Add tests in different locales. + * time/Makefile (tst-strptime-ENV): Define. - * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Set cache. - Patch by Denis Zaitsev <zzz@cd-club.ru>. +2001-08-09 Jakub Jelinek <jakub@redhat.com> -2000-10-09 Jakub Jelinek <jakub@redhat.com> + * catgets/catgets.c (catclose): Be liberal about catalog_desc in + catclose too. - * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): If x == y, - return y not x. - * manual/arith.texi (nextafter): Document it. - * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Fix a comment. +2001-08-09 Ulrich Drepper <drepper@redhat.com> -2000-10-08 Ulrich Drepper <drepper@redhat.com> + * 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. - * version.h (VERSION): Bump to 2.1.95. + * stdio-common/vfscanf.c: Fix reading of wide chars and strings if + not COMPILE_WSCANF. - * configure.in: Remove warning message. + * 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. - * nscd/Makefile (distribute): Add nscd-types.h. - * elf/Makefile (distribute): Add gccframe.h. - * sysdeps/sparc/sparc32/Dist: Add ieee754.h. - * sysdeps/ia64/Dist: Add ieee754.h. + * stdio-common/vfscanf.c: Fix handling of %[] for COMPILE_WSCANF. + * libio/Makefile (tests): Add tst-swscanf. + * libio/tst-swscanf.c: New file. -2000-10-07 Ulrich Drepper <drepper@redhat.com> +2001-08-09 Jakub Jelinek <jakub@redhat.com> - * elf/elf.h: Add a few section-related symbols. + * posix/globtest.sh: Robustify tilde tests. - * include/features.h (__STDC_ISO_10646__): Set to correct date. - Patch by Markus Kuhn <Markus.Kuhn@cl.cam.ac.uk>. +2001-08-09 Andreas Jaeger <aj@suse.de> -2000-10-06 Jes Sorensen <jes@linuxcare.com> + * locale/programs/ld-ctype.c (DEFAULT): Fix expression. + (EMPTY): New. + (wctype_table_finalize): Use it. + (find_idx): Likewise. + (wctype_table_get): Likewise. - * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Implement - overflow generation by adding DBL_MAX to DBL_MAX instead of - setting the bits manually in the fpsr and generating the exception - with kill() if necessary. - (feraiseexcept): Implement underflow by dividing DBL_MIN by - DBL_MIN - similar to the overflow change described above. + * configure.in: Add check for GCC 3.x. -2000-08-27 H.J. Lu <hjl@gnu.org> +2001-08-09 Ulrich Drepper <drepper@redhat.com> - * sysdeps/unix/sysv/linux/ia64/clone.S: Make it a dummy as clone - is not supported under Linux/ia64, use clone2. + * 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. -2000-10-06 Jakub Jelinek <jakub@redhat.com> +2001-08-08 Ulrich Drepper <drepper@redhat.com> - * malloc/malloc.h (__THROW): Define to nothing if not gcc. - * misc/sys/cdefs.h (__THROW): Likewise. + * locale/elem-hash.h (elem_hash): Correct stupid mistake and + create real hash values now. + Patch by Isamu Hasegawa <isamu@yamato.ibm.com>. -2000-10-05 Jakub Jelinek <jakub@redhat.com> + * libio/iofgetpos.c (_IO_new_fgetpos): Correct a few problems in + the handling of wide streams. - * sysdeps/sparc/sparc64/fpu/libm-test-ulps: New file. + * libio/ioungetwc.c (ungetwc): Orient stream first. + * libio/Makefile (tests): Add tst-ungetwc1. + * libio/tst-ungetwc1.c: New file. -2000-10-02 Jakub Jelinek <jakub@redhat.com> + * 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. - * sunrpc/svc_udp.c (svcudp_recv): Set msg_controllen to all - remaining xp_pad space. + * libio/iofgetws.c: Use _IO_ferror_unlocked macros instead of + coding the test here. -2000-10-05 Jakub Jelinek <jakub@redhat.com> + * 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. - * elf/dl-close.c (_dl_close): Check imap's l_flags_1 for - DF_1_NODELETE, not list[i]'s. + * locale/C-monetary.c (_nl_C_LC_MONETARY): Provide correct value + for CRNCYSTR. -2000-10-04 Ulrich Drepper <drepper@redhat.com> + * 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. - * iconvdata/euc-kr.c (euckr_from_ucs4): Handle U20a9. - (BODY from direction): Map \x5c to U20a9. - * iconvdata/testdata/EUC-KR..UTF8: Adjust to this change. - * iconvdata/EUC-KR.irreversible: New file. - * iconvdata/Makefile (distribute): Add EUC-KR.irreversible. +2001-08-08 Andreas Jaeger <aj@suse.de> - * argp/argp-parse.c (argp_default_argp): Set libc as message domain. - (argp_version_argp): Likewise. + * sysdeps/ieee754/ldbl-96/s_ilogbl.c (__ilogbl): Fix test for + infinity. -2000-10-04 Jakub Jelinek <jakub@redhat.com> +2001-08-07 Ulrich Drepper <drepper@redhat.com> - * stdio-common/vfscanf.c (_IO_vfscanf): For [ conversion do - input_error() if EOF is seen before processing. - * stdio-common/tstscanf.c (main): Add testcase. + * sysdeps/ia64/memusage.h (GETTIME): Define using hp-timing.h + functionality. -2000-10-04 Ulrich Drepper <drepper@redhat.com> + * sysdeps/ia64/hp-timing.h (HP_TIMING_NOW): Fix comment. - * argp/argp-help.c: Make sure we get the correct gettext and - dgettext definitions. - * argp/argp-parse.c: Likewise. +2001-08-07 Jakub Jelinek <jakub@redhat.com> -2000-10-03 Ulrich Drepper <drepper@redhat.com> + * 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. - * locale/programs/linereader.c (get_string): Also clear wide - string info if illegal_string. +2001-08-07 Jakub Jelinek <jakub@redhat.com> -2000-10-03 Andreas Schwab <schwab@suse.de> + * sysdeps/unix/seekdir.c (seekdir): Set dirp->filepos. - * sysdeps/unix/sysv/linux/m68k/bits/stat.h: New file. + * dirent/tst-seekdir.c (main): Check whether telldir right after + seekdir returns 2nd argument given to seekdir. -2000-10-02 Jakub Jelinek <jakub@redhat.com> +2001-08-07 Franz Sirl <Franz.Sirl-kernel@lauterbach.com> - * elf/nextmod1.c (failing_rtld_next_use): Ensure it is not tail call - optimized. + * dlfcn/Makefile (tststatic-ENV): Add $(common-objpfx) to + LD_LIBRARY_PATH. - * sysdeps/sparc/sparc32/fpu/libm-test-ulps: New file. +2001-08-07 Andreas Jaeger <aj@suse.de> + Andreas Schwab <schwab@suse.de> + Bruno Haible <haible@clisp.cons.org> -2000-10-02 Ralf Baechle <ralf@gnu.org> + * locale/programs/3level.h (EMPTY): New macro. + (*_get, *_add, *_iterate, *_finalize): Use it instead of ~(uint32_t) 0. - * sysdeps/unix/sysv/linux/mips/sys/tas.h: Add missing .mips0 at the - end of inline assembler code. +2001-08-08 GOTO Masanori <gotom@debian.or.jp> -2000-10-02 Ulrich Drepper <drepper@redhat.com> + * locale/iso-3166.def: Updates from latest official list. - * include/features.h [__USE_FILE_OFFSET && !__REDIRECT]: Define - __USE_LARGEFILE64 and __USE_LARGEFILE to 1 and not nothing. +2001-08-07 Andreas Jaeger <aj@suse.de> -2000-10-02 Andreas Jaeger <aj@suse.de> + * stdlib/tst-strtod.c: Disable HUGE_VAL tests for older GCCs. - * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Synch with Linux - 2.4.0-test9-pre8. + * iconv/gconv_charset.h (upstr): Add unused attribute to avoid warning. - * sysdeps/unix/sysv/linux/alpha/bits/resource.h: Add RLIMIT_LOCKS. + * 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. -2000-10-01 Ralf Baechle <ralf@gnu.org> +2001-08-06 Ulrich Drepper <drepper@redhat.com> - * sysdeps/mips/dl-machine.h (RTLD_START): Fix computation of envp - argument passed to _dl_init. + * manual/locale.texi: Add documentation for rpmatch. + Patch by Jochen Hein <jochen@jochen.org>. -2000-09-30 Bruno Haible <haible@clisp.cons.org> +2001-08-06 Jakub Jelinek <jakub@redhat.com> - * locale/programs/charmap-dir.h: New file. - * locale/programs/charmap-dir.c: New file. - * locale/programs/linereader.h (lr_create): New declaration. - * locale/programs/linereader.c (lr_create): New function, split out - from lr_open. - (lr_open): Tailcall lr_create. - * locale/programs/locale.c: Include "charmap-dir.h". Don't include - <unistd.h>. - (xstrdup): New declaration. - (more_help): Use xstrdup instead of strdup. - (write_locales): Likewise. When encountering a symbolic link, call - stat. - (write_charmaps): Simplify using the charmap-dir.h functions. - Use xstrdup instead of strdup. - * locale/programs/charmap.c: Include "charmap-dir.h". Don't include - <dirent.h> and <unistd.h>. - (cmlr_open): New function. - (charmap_read): Use cmlr_open instead of lr_open. Simplify using the - charmap-dir.h functions. - * locale/Makefile (distribute): Add charmap-dir.h. - (lib-modules): Add charmap-dir. - (CFLAGS-charmap-dir.c): Set to -Wno-write-strings, because posix_spawn - wants a 'char **', not a 'const char **'. - * include/spawn.h: New file. + * stdlib/strtod.c (STRTOF): Skip whole infinity, not just inf. + * stdio-common/vfscanf.c (__vfscanf): +- can be followed by i in +-Inf. -2000-09-30 Bruno Haible <haible@clisp.cons.org> + * stdlib/tst-strtod.c (tests): Add Inf tests. + * stdio-common/tstscanf.c (main): Add tests for +- before Inf. - * posix/spawn_faction_init.c: Include "spawn_int.h". - (__posix_spawn_file_actions_realloc): Fix second realloc argument. +2001-08-06 Ulrich Drepper <drepper@redhat.com> -2000-09-30 Bruno Haible <haible@clisp.cons.org> + * locale/weightwc.h (findidx): Change type of i to int32_t. - * locale/programs/config.h (DEFAULT_CHARMAP): Set to ANSI_X3.4-1968. + * wcsmbs/wcsmbs-tst1.c (main): Avoid warning. Pretty printing. -2000-09-30 Bruno Haible <haible@clisp.cons.org> +2001-08-05 Roland McGrath <roland@frob.com> - * wcsmbs/wcwidth.h (__ctype32_wctype): Remove declaration. - (internal_wcwidth): Remove the tests for L'\0' and iswprint. - * locale/programs/ld-ctype.c (find_idx): If max == NULL, return - a pointer to the table entry, without extending the table. - (allocate_arrays): Set a width only for characters with 'print' - property. Set the width of L'\0' to 0. - * locale/C-ctype.c (_nl_C_LC_CTYPE_width): Use default entry 0xff - for unprintable characters. Set entry of NUL to 0. + * 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. -2000-09-30 Bruno Haible <haible@clisp.cons.org> +2001-08-04 Roland McGrath <roland@frob.com> - * locale/programs/charmap.c (charmap_read): Avoid redundant tests. - Don't forget to call closedir when the filename was found as a - code_set_name. + * sysdeps/mach/hurd/getrusage.c: Use TASK_EVENTS_INFO if implemented + by the microkernel (which it's not). -2000-09-30 Bruno Haible <haible@clisp.cons.org> +2001-08-04 Ulrich Drepper <drepper@redhat.com> - * iconv/gconv.h (__gconv_trans_context_fct): Change first argument's - type to 'void *'. + * 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. -2000-09-30 Bruno Haible <haible@clisp.cons.org> +2001-08-04 Franz Sirl <Franz.Sirl-kernel@lauterbach.com> - * locale/programs/ld-ctype.c (wctype_table_init): Initialize level1, - level2, and level3 as well. - (wctype_table_add): Remove a few unnecessary conditionals. + * dlfcn/Makefile: Add rules for new testcase tststatic. + * dlfcn/tststatic.c: New file. + * dlfcn/modstatic.c: New file. -2000-09-30 Ralf Baechle <ralf@gnu.org> +2001-08-04 Ulrich Drepper <drepper@redhat.com> - * wcsmbs/Versions [libc] (GLIBC_2.0): Add __mbrtowc. + * manual/summary.awk: Fix value used for FF. -2000-09-30 H.J. Lu <hjl@gnu.org> + * elf/rtld.c: Correct use of __builtin_expect. - * sysdeps/ieee754/ldbl-96/s_ceill.c (__ceill): Handle overflow. - * sysdeps/ieee754/ldbl-96/s_floorl.c (__floorl): Likewise. + * elf/dl-close.c: Remove commented-out code. -2000-09-29 H.J. Lu <hjl@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. - * math/libm-test.inc (init_max_error): Clear all exceptions - before starting test. - (acosh_test): Test for existence of function. - (asinh_test): Likewise. - (atan2_test): Likewise. - (cabs_test): Likewise. - (cacos_test): Likewise. - (cacosh_test): Likewise. - (casin_test): Likewise. - (casinh_test): Likewise. - (catan_test): Likewise. - (catanh_test): Likewise. - (ccos_test): Likewise. - (ccosh_test): Likewise. - (cexp_test): Likewise. - (clog_test): Likewise. - (clog10_test): Likewise. - (cosh_test): Likewise. - (cpow_test): Likewise. - (csin_test): Likewise. - (csinh_test): Likewise. - (csqrt_test): Likewise. - (ctan_test): Likewise. - (ctanh_test): Likewise. - (fmod_test): Likewise. - (hypot_test): Likewise. - (remainder_test): Likewise. - (remquo_test): Likewise. - (sincos_test): Likewise. - (sinh_test): Likewise. - (tanh_test): Likewise. + * 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. -2000-09-29 H.J. Lu <hjl@gnu.org> +2001-08-03 Ulrich Drepper <drepper@redhat.com> - * sysdeps/ia64/ieee754.h: New file. + * 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. - * sysdeps/ia64/fpu/math_ldbl.h: New file. +2001-07-30 Roland McGrath <roland@frob.com> -2000-09-30 Jakub Jelinek <jakub@redhat.com> + * sysdeps/mach/bits/libc-lock.h (__libc_cleanup_region_start): Diddle + syntax so both function and pointer-to-function arguments work right. - * elf/ldconfig.h (FLAG_X8664_LIB64): Define. - * sysdeps/unix/sysv/linux/i386/readelflib.c: New file. +2001-08-03 Tom Rix <trix@redhat.com> -2000-09-30 Ulrich Drepper <drepper@redhat.com> + * config.h.in: Add HAVE_XCOFF for AIX. + * configure.in: Add --with-xcoff option. + * include/libc-symbols.h: Disable the .stabs macros. - * manual/charset.texi: Correct notations, reference to C90 amd 1, - and some other details. - * manual/ctype.texi: Likewise. - Patches by Markus Kuhn <Markus.Kuhn@cl.cam.ac.uk>. +2001-08-03 Ulrich Drepper <drepper@redhat.com> -2000-09-30 Franz Sirl <Franz.Sirl-kernel@lauterbach.com> + * 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/ieee754/flt-32/s_frexpf.c: Make it aliasing safe. + * 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. -2000-09-29 Ulrich Drepper <drepper@redhat.com> + * locale/iso-639.def: Correct Javanese 2 letter code. Add Tonga. + Add Tigrinya. - * elf/cache.c (save_cache): Initialize __unused field in new cache - as well to get reproducable results. +2001-08-02 Ulrich Drepper <drepper@redhat.com> -2000-09-29 H.J. Lu <hjl@gnu.org> + * locale/programs/ld-collate.c (collate_read): Handle collating-element + and reorder_after following copy statement correctly. - * sysdeps/ia64/fpu/libm-test-ulps: Updated for long double. +2001-08-02 Andreas Jaeger <aj@suse.de> -2000-09-29 H.J. Lu <hjl@gnu.org> + * libio/bits/stdio.h (printf): Remove printf optimization since + GCC 3.0 can optimize printf. - * sysdeps/ia64/bits/huge_val.h: New file. +2001-08-02 Ulrich Weigand <uweigand@de.ibm.com> -2000-09-29 Ulrich Drepper <drepper@redhat.com> + * sysdeps/s390/s390-32/memcpy.S: Fixed incorrect use of + mvcle introduced by 2001-07-12 change. + * sysdeps/s390/s390-64/memcpy.S: Likewise. - * elf/chroot_canon.c: Don't report a failure if the last path - component is not available. - * elf/ldconfig.c (parse_conf): Use canonicalized name when reporting - error. +2001-07-31 Ulrich Drepper <drepper@redhat.com> - * elf/cache.c (print_cache): Use stat64 instead of stat. - * elf/ldconfig.c (chroot_stat): Likewise. - (create_links): Likewise. - (manual_link): Likewise. - (search_dir): Likewise. - * elf/readlib.c (process_file): Likewise. + * 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. - * Makefile (install): Set LC_ALL and LANGUAGE to C before running - ldconfig. + * 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. -2000-09-29 Jakub Jelinek <jakub@redhat.com> + * sysdeps/unix/sysv/linux/i386/makecontext.S: Remove unnecessary + initializations. - * elf/chroot_canon.c: New file. - * elf/Makefile: Build and distribute it. - * elf/ldconfig.h (process_file): Add real_file_name argument. - (chroot_canon): Add prototype. - * elf/ldconfig.c (cache_file): Remove const. - (chroot_stat): New. - (create_links): Add real_path argument. - If opt_chroot, maintain both real and given filenames. - (manual_link): Likewise. - (search_dir): Likewise. - (parse_conf): If opt_chroot, use chroot_canon to find the real - config file. - (main): For -r, try to use chroot, if it fails, leave opt_chroot set - and use chroot_canon where appropriate to do the same as if chroot - succeeded. - * elf/readlib.c (process_file): Add real_file_name argument, pass it - to fopen. + * 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>. -2000-09-29 Ulrich Drepper <drepper@redhat.com> +2001-07-31 Andreas Jaeger <aj@suse.de> - * math/complex.h (_Complex): We can be more specific when _Complex - is defined by the compiler. + * 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. -2000-09-29 H.J. Lu <hjl@gnu.org> + * libio/genops.c (flush_cleanup): Guard list_all_lock to allow + compilation without threads. - * sysdeps/unix/sysv/linux/ia64/dl-cache.h: New. +2001-07-30 Ulrich Drepper <drepper@redhat.com> - * elf/cache.c (print_entry): Replace 64bit with IA-64 in message - for x86/IA-64 binary. + * po/fr.po: Update from translation team. -2000-09-29 Andreas Schwab <schwab@suse.de> +2001-07-30 Andreas Jaeger <aj@suse.de> - * sysdeps/unix/sysv/linux/ia64/readelflib.c: New file. + * sysdeps/ieee754/ldbl-128/e_atanhl.c: New file, contributed by + Stephen L Moshier. - * elf/cache.c (print_entry): Check for FLAG_IA64_LIB64. + * posix/regex.c: Declare wcs functions only if compiling with + MBS_SUPPORT. + Don't use #elif for traditional C. -2000-09-29 Mark Kettenis <kettenis@gnu.org> +2001-07-29 Mark Kettenis <kettenis@gnu.org> - * sysdeps/mach/hurd/dl-sysdep.c (__access): New function. Dummy - implementation for use by the dynamic linker. + * sysdeps/mach/hurd/recvmsg.c: New file. + * sysdeps/mach/hurd/sendmsg.c: New file. -2000-09-29 Andreas Jaeger <aj@suse.de> +2001-07-27 Ulrich Drepper <drepper@redhat.com> - * sysdeps/unix/sysv/linux/arm/bits/fcntl.h: Protect DN_* by - __USE_GNU. - * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise. - * sysdeps/unix/sysv/linux/m68k/bits/fcntl.h: Likewise. - * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise. - * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise. - * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise. - * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise. + * version.h (VERSION): Bump to 2.2.4. -2000-09-29 Andreas Jaeger <aj@suse.de> + * 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. - * sysdeps/unix/sysv/linux/arm/bits/fcntl.h: Synch with Linux - 2.4.0-test9-pre7. - * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise. - * sysdeps/unix/sysv/linux/m68k/bits/fcntl.h: Likewise. - * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise. - * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise. - * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise. - * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise. + * malloc/mtrace.pl: Extract addresses from DSOs. + +2001-07-26 Ulrich Drepper <drepper@redhat.com> -2000-09-29 David Mosberger <davidm@hpl.hp.com> + * malloc/mcheck.c (checkhdr): Disable mcheck before reporting an + error. Don't run any tests if mcheck is disabled. - * sysdeps/unix/sysv/linux/ia64/sysdep.S (__ia64_syscall): Cleanup. + * elf/dl-support.c (_dl_important_hwcaps): Avoid using malloc + early in the program. - * sysdeps/unix/sysv/linux/ia64/sysdep.h (CALL_MCOUNT): Implement. +2001-07-27 Andreas Jaeger <aj@suse.de> -2000-06-10 David Mosberger <davidm@hpl.hp.com> + * 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. - * sysdeps/unix/sysv/linux/ia64/setjmp.S: Fix it so it actually - works: call to __sigjmp_save must be done unconditionally to - ensure jmp_buf is initialized properly. +2001-07-26 kaz Kojima <kkojima@rr.iij4u.or.jp> -2000-09-27 Andreas Jaeger <aj@suse.de> + * 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. - * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Synch with Linux - 2.4.0-test9-pre7. +2001-06-07 David Mosberger <davidm@hpl.hp.com> -2000-09-29 Jakub Jelinek <jakub@redhat.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(). - * nscd/nscd-client.h (NSCD_VERSION): Bump to 3. - Use nscd_ssize_t where appropriate. - * nscd/nscd_gethst_r.c (nscd_gethst_r): Use nscd_ssize_t instead of - ssize_t where appropriate. - * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise. - * nscd/hstcache.c (cache_addhst): Likewise. - * nscd/grpcache.c (cache_addgr): Likewise. - * sysdeps/generic/nscd-types.h: New file. - * sysdeps/alpha/nscd-types.h: New file. + * 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. -2000-09-29 Ulrich Drepper <drepper@redhat.com> + * sysdeps/ia64/dl-fptr.c: Rewrite for better scalability and to + avoid deadlocks. - * inet/getnameinfo.c (nrl_domainname): Use symbolic constant - INADDR_LOOPBACK instead of numeric value. + * include/link.h: Add member machine specific "l_mach" member to + link_map. -2000-09-28 H.J. Lu <hjl@gnu.org> + * sysdeps/generic/bits/link.h: New file. + * sysdeps/ia64/bits/link.h: Likewise. - * sysdeps/ia64/dl-machine.h (RTLD_START): Adjust _dl_argv by - _dl_skip_args. - (ELF_MACHINE_FIXED_STACK): Removed. + * elf/rtld.c (_dl_start): Fix typo in comment. + (_dl_start_final): Copy new "l_mach" member from temporary to + final bootstrap map. -2000-09-29 Andreas Jaeger <aj@suse.de> +2001-07-25 Ulrich Drepper <drepper@redhat.com> - * sysdeps/unix/sysv/linux/s390/lockf64.c: New file. + * 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. - * sysdeps/unix/sysv/linux/s390/fcntl.c: New file. +2001-07-25 H.J. Lu <hjl@gnu.org> - * sysdeps/unix/sysv/linux/powerpc/lockf64.c: New file. + * csu/gmon-start.c: Include <entry.h> + (_start): Replaced with ENTRY_POINT. - * sysdeps/unix/sysv/linux/powerpc/fcntl.c: New file. +2001-07-25 Mark Kettenis <kettenis@gnu.org> -2000-09-28 Ulrich Drepper <drepper@redhat.com> + * sysdeps/unix/bsd/bsd4.4/bits/socket.h: New file. - * sysdeps/alpha/dl-machine.h (elf_machine_rela): Handle unaligned - relocation also for R_ALPHA_RELATIVE. - Reported by Ivan Kokshaysky <ink@jurassic.park.msu.ru>. +2001-07-25 Ulrich Drepper <drepper@redhat.com> -2000-09-18 Bruno Haible <haible@clisp.cons.org> + * 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. - * intl/dcigettext.c: Outside libc, use local variable names that don't - clash with those in libc. - * intl/bindtextdom.c: Likewise. - * intl/textdomain.c: Likewise. + * iconv/Makefile (install-sbin): Add iconvconfig. -2000-09-28 Ulrich Drepper <drepper@redhat.com> +2001-07-25 Jakub Jelinek <jakub@redhat.com> - * elf/ldconfig.c (parse_conf): Print full name of config dir - including chroot() path. - (main): Remove trailing / from opt_chroot string. + * 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. - * include/features.h: Correct description of what happens if no - *_SOURCE macro is defined. +2001-07-24 Igor Khavkine <i_khavki@alcor.concordia.ca> - * sysdeps/posix/getaddrinfo.c (gaih_inet): Handle req->ai_socktype - correctly. Reported by Felix von Leitner <leitner@convergence.de>. + * hurd/hurdsig.c (_hurdsig_init): Fix incorrect initialization + of pending signals. -2000-09-19 H.J. Lu <hjl@gnu.org> +2001-06-22 Jakub Jelinek <jakub@redhat.com> - * malloc/malloc.h (__memalign_hook): Fix the parameter order. - * malloc/malloc.c (__memalign_hook): Likewise. - (memalign_hook_ini): Likewise. + * sysdeps/powerpc/dl-machine.c (__elf_preferred_address): Prefer + gaps below main executable. -2000-09-28 Ulrich Drepper <drepper@redhat.com> +2001-07-22 Bruno Haible <haible@clisp.cons.org> - * stdio-common/tmpnam.c (tmpnam): Optimize a bit. + * intl/libintl.h (ngettext, dngettext, dcngettext): Use both msgid1 + and msgid2 for printf format argument checking. - * sysdeps/posix/getaddrinfo.c (gaih_local): Don't use tmpnam, use - underlying functions directly. +2001-07-24 Ulrich Drepper <drepper@redhat.com> - * sysdeps/unix/sysv/linux/bits/resource.h: Add RLIMIT_LOCKS. - * sysdeps/unix/sysv/linux/arm/bits/resource.h: Likewise. - * sysdeps/unix/sysv/linux/i386/bits/resource.h: Likewise. - * sysdeps/unix/sysv/linux/mips/bits/resource.h: Likewise. - * sysdeps/unix/sysv/linux/powerpc/bits/resource.h: Likewise. - * sysdeps/unix/sysv/linux/sh/bits/resource.h: Likewise. - * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise. + * 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. -2000-09-28 Franz Sirl <Franz.Sirl-kernel@lauterbach.com> + * iconv/gconv_cache.c (__gconv_lookup_cache): Catch one more + boundary case and reject it. - * sysdeps/unix/sysv/linux/kernel-features.h: Add __ASSUME_IPC64, only - define it for powerpc for kernel >= 2.4.0. - * sysdeps/unix/sysv/linux/msgctl.c: Test for __ASSUME_IPC64, not - __ASSUME_32BITUIDS. - * sysdeps/unix/sysv/linux/semctl.c: Likewise. - * sysdeps/unix/sysv/linux/shmctl.c: Likewise. - * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Sync with kernel. - * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: New file. - * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: New file. - * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: New file. +2001-07-24 Andreas Jaeger <aj@suse.de> -2000-09-28 Martin Schwidefsksy <schwidefsky@de.ibm.com> + * manual/examples/longopt.c (main): Fix which options take arguments. - * sysdeps/s390/atomicity.h: Fix compare_and_swap. +2001-07-24 Ulrich Drepper <drepper@redhat.com> - * sysdeps/unix/sysv/linux/s390/bits/fcntl.h - (F_GETLK64,F_SETLK64,F_SETLKW64): Use values from 2.4.0-test8. + * iconvdata/Makefile: Add dependencies for tst-loading test. -2000-09-28 Denis Joseph Barrow <djbarrow@de.ibm.com> +2001-07-24 Andreas Jaeger <aj@suse.de> - * sysdeps/unix/sysv/linux/s390/sys/procfs.h: Use definitions from - ucontext.h. - * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Fix ucontext structure. + * iconv/iconvconfig.c (name_insert): Make static to avoid warning. -2000-09-27 Andreas Schwab <schwab@suse.de> +2001-07-23 Ulrich Drepper <drepper@redhat.com> - * math/Makefile (distribute): Explicitly add the long double test - sources, to get them included even if long double is not supported. + * locale/programs/locale.c (write_locales): Disable implicit + locking for the stream. Use feof_unlocked instead of feof. -2000-09-27 Jes Sorensen <jes@linuxcare.com> + * sysdeps/unix/sysv/linux/i386/makecontext.S: Initialize %fs, %gs, + and floating-point status as well. - * elf/soinit.c (struct object): Move definition to gccframe.h and - include it. Problem identified by HJ Lu. + * 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/ia64/gccframe.h: New file. ia64 specific version of - struct object to be searched for frame unwind info. - * sysdeps/generic/gccframe.h: New file. Generic version of - struct object to be searched for frame unwind info. + * 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. -2000-09-28 Ulrich Drepper <drepper@redhat.com> + * stdio-common/printf.h: Fix typo in comment. - * manual/errno.texi: Correct error text for ENXIO. - Reported by Jörg Schilling <schilling@fokus.gmd.de>. + * 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. -2000-09-27 Jes Sorensen <jes@linuxcare.com> +2001-07-23 Jakub Jelinek <jakub@redhat.com> - * sysdeps/ia64/fpu/fsetexcptflg.c (fesetexceptflag): Set the - exception status bits rather than the exception disable bits. - Don't include math.h. + * 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/ia64/fpu/fgetexcptflg.c (fegetexceptflag): Report the - status of exceptions currently raised rather than which exceptions - are enabled. +2001-07-23 Andreas Schwab <schwab@suse.de> - * sysdeps/ia64/fpu/fclrexcpt.c (feclearexcept): Typecase to fenv_t - rather than unsigned long int. + * math/Makefile (CPPFLAGS-test-ifloat.c, CPPFLAGS-test-idouble.c, + CPPFLAGS-test-ildoubl.c): Renamed from CFLAGS-*. + (math-CPPFLAGS): Set this instead of CPPFLAGS. - * sysdeps/ia64/fpu/fedisblxcpt.c (fedisableexcept): Only disable - the exceptions actually requested by the caller and not just - disable all exceptions. +2001-07-23 Ulrich Drepper <drepper@redhat.com> - * sysdeps/ia64/fpu/feenablxcpt.c (feenableexcept): Exceptions on - the ia64 are enabled by clearing the respective bits in the fpsr, - not setting them. + * elf/elf.h: Add more definitions from Sun's latest version. - * sysdeps/ia64/bits/fenv.h: typedef fexcept_t and fenv_t to - unsigned long int rather than unsigned long to be consistent with - the coding conventions. +2001-07-23 Stephen L Moshier <moshier@mediaone.net> -2000-09-20 H.J. Lu <hjl@gnu.org> + * 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/ia64/fpu/fesetenv.c (fesetenv): Use fenv_t instead of - unsigned long int. - * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise. +2001-07-23 Andreas Jaeger <aj@suse.de> -2000-09-28 Ulrich Drepper <drepper@redhat.com> + * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Add some deltas. - * string/bits/string2.h: Unify #if usage. +2001-07-23 Ulrich Drepper <drepper@redhat.com> -2000-09-27 Jakub Jelinek <jakub@redhat.com> + * iconv/gconv_cache.c (__gconv_lookup_cache): Select correct + module for conversion direction. - * math/test-fenv.c (feexcp_mask_test): If enabling all exceptions - and disabling underflow or overflow, disable inexact as well. +2001-07-23 Stephen L Moshier <moshier@mediaone.net> -2000-09-26 Andreas Jaeger <aj@suse.de> + * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Return proper + sign for 0 input. Return NaN with no exception for NaN input. - * sysdeps/gnu/netinet/tcp.h: Add tcp_info defines and types. +2001-07-23 Ulrich Drepper <drepper@redhat.com> - * sysdeps/unix/sysv/linux/sys/mount.h (enum): New flag MS_BIND. + * iconv/gconv_builtin.h: ISO-106464/UTF-8/ transformation must + really be an alias. - * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h (F_SETLKW64, - F_GETLK64, F_SETLK64): Update from Linux-2.4.0-test9-pre4. +2001-07-23 Andreas Jaeger <aj@suse.de> - * elf/ldconfig.c (search_dir): Allow unlimited path length. - (create_links): Likewise. + * iconv/iconvconfig.c: Include <sys/cdefs.h> and use + __attribute_malloc__ for older GCC versions. + * iconv/strtab.c: Likewise. + Add prototypes to avoid warnings. -2000-09-27 Ulrich Drepper <drepper@redhat.com> +2001-07-22 Roland McGrath <roland@frob.com> - * posix/tst-dir.c: Test a few error cases of chdir. + * hurd/hurdsig.c (_hurd_internal_post_signal): Support SA_RESETHAND + and SA_NODEFER options. Spurred to action by Igor Khavkine. -2000-09-26 Ulrich Drepper <drepper@redhat.com> + * 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. - * math/math_private.h: Don't add long double prototypes if - NO_LONG_DOUBLE is defined. + * 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/unix/i386/i586/clock_nanosleep.c (CLOCK_P): Remove - CLOCK_MONOTONIC. - * sysdeps/unix/i386/i586/clock_gettime.c (EXTRA_CLOCK_CASES): Likewise. - * sysdeps/unix/i386/i586/clock_getres.c (EXTRA_CLOCK_CASES): Likewise. +2001-07-23 Ulrich Drepper <drepper@redhat.com> - * sysdeps/unix/sysv/linux/i386/bits/time.h: Remove CLOCK_MONOTONIC. + * posix/regex.c: Revamp memory allocation for WCHAR functions to + not use too much stack. -2000-09-26 Jakub Jelinek <jakub@redhat.com> +2001-07-22 Ulrich Drepper <drepper@redhat.com> - * sysdeps/sparc/sparc32/bits/endian.h: Remove. - * sysdeps/sparc/sparc32/ieee754.h: New. - * sysdeps/sparc/sparc64/bits/endian.h: Move... - * sysdeps/sparc/bits/endian.h: ...here. - * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Optimize. - * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Check - %o1, not %o0 to see if we're parent or child. Optimize. + * iconv/iconvconfig.c (write_output): Update comment explaining + output format. -2000-09-26 Jes Sorensen <jes@linuxcare.com> + * elf/dl-load.c (_dl_dst_count): In SUID binaries expand $ORIGIN + if it is alone. + (_dl_dst_substitute): Likewise. - * sysdeps/unix/sysv/linux/ia64/fork.S: New file (based on code - by Hans Boehm). - * sysdeps/unix/sysv/linux/ia64/vfork.S: New file (based on - code by Hans Boehm). - * sysdeps/unix/sysv/linux/ia64/fork.c: Deleted (obsoleted by fork.S). + * iconv/iconvconfig.c: Remove --verbose option. Comment out + mcheck_verbose call. -2000-09-20 H.J. Lu <hjl@gnu.org> + * iconv/strtab.c (morememory): Fix little memory handling problem. - * sysdeps/ia64/fpu/printf_fphex.c: New file. +2001-07-22 Andreas Schwab <schwab@suse.de> - * sysdeps/ia64/fpu/libm-test-ulps: New file. + * 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. -2000-09-17 H.J. Lu <hjl@gnu.org> +2001-07-22 Ulrich Drepper <drepper@redhat.com> - * sysdeps/ia64/Makefile (long-double-fcts): New. Defined as yes. + * 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. - * sysdeps/ia64/fpu/s_isinfl.c: New file. Include - sysdeps/i386/fpu/s_isinfl.c. + * iconv/gconv_conf.c (__gconv_read_conf): Don't read configuration + file if STATIC_GCONV is defined. - * sysdeps/ia64/fpu/s_isnanl.c: New file. Include - sysdeps/i386/fpu/s_isnanl.c. + * 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. - * sysdeps/ia64/fpu/s_nextafterl.c: New file. Include - sysdeps/i386/fpu/s_nextafterl.c. +2001-07-20 Roland McGrath <roland@frob.com> - * sysdeps/ia64/fpu/bits/mathdef.h: New file. Copied from - sysdeps/i386/fpu/bits/mathdef.h. + * 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. -2000-09-16 H.J. Lu <hjl@gnu.org> + * 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. - * sysdeps/generic/ldsodefs.h (DL_UNMAP): New. Defined if - DL_UNMAP_IS_SPECIAL is not defined. +2001-07-20 Ulrich Drepper <drepper@redhat.com> + Andreas Jaeger <aj@suse.de> - * sysdeps/ia64/dl-lookupcfg.h (DL_UNMAP_IS_SPECIAL): Defined. - (_dl_unmap): New prototype. - (DL_UNMAP): New. Defined as _dl_unmap. + * elf/ldconfig.c (search_dir): Avoid use of uninitialized memory. + Add a few __builtin_expect to mark unlikely error cases. - * sysdeps/ia64/Versions [ld] (GLIBC_2.2): Add _dl_unmap. +2001-07-20 Andreas Jaeger <aj@suse.de> - * elf/dl-close.c (_dl_close): Replace __munmap with DL_UNMAP. + * sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Synch with kernel. + Patch by Daniel Jacobowitz <dan@debian.org>. -2000-09-16 H.J. Lu <hjl@gnu.org> +2001-07-19 Ulrich Drepper <drepper@redhat.com> - * sysdeps/generic/ldsodefs.h (DL_LOOKUP_ADDRESS): New. Defined - if ELF_FUNCTION_PTR_IS_SPECIAL is not defined. + * intl/localealias.c: Remove unnecessary prototype. - * sysdeps/ia64/dl-lookupcfg.h (_dl_lookup_address): New - prototype. - (DL_LOOKUP_ADDRESS): New. Defined as _dl_lookup_address. + * Makefile: Add html goal. + * manual/Makefile: Likewise. - * sysdeps/ia64/dl-fptr.c (_dl_lookup_address): New. Lookup - the memory location of a function from a function descriptor. +2001-07-18 Ulrich Drepper <drepper@redhat.com> - * sysdeps/ia64/Versions [ld] (GLIBC_2.2): Add _dl_lookup_address. + * libio/filedoalloc.c (_IO_file_doallocate): A few more minor + cleanups and improvements. - * elf/dl-addr.c (_dl_addr): Use DL_LOOKUP_ADDRESS to get the - memory location. +2001-07-18 Andreas Schwab <schwab@suse.de> -2000-09-14 Jes Sorensen <jes@linuxcare.com> + * posix/regex.c (WORDCHAR_P) [WCHAR]: Also return true for the + underscore character. - * sysdeps/ia64/bits/byteswap.h (__bswap_16): Don't mark output - variable as input argument. - (__bswap_32): Likewise. +2001-07-18 Jakub Jelinek <jakub@redhat.com> - * sysdeps/ia64/dl-machine.h: Add missing stop bit in RTLD_START() - - found by Jim Wilson <wilson@cygnus.com> + * malloc/malloc (new_heap): Don't call munmap for zero length. -2000-09-26 Ulrich Drepper <drepper@redhat.com> +2001-07-18 Ulrich Drepper <drepper@redhat.com> - * string/strxfrm.c: Only require alignment on __alignof__ (int32_t) - instead of 4. + * libio/filedoalloc.c (_IO_file_doallocate): Use DEV_TTY_P if + available to determine whether descriptor is for tty before + calling isatty. -2000-09-26 Andreas Schwab <schwab@suse.de> + * sysdeps/unix/sysv/linux/device-nrs.h: Define DEV_TTY_P. + * sysdeps/generic/device-nrs.h: Likewise. - * locale/programs/ld-collate.c (collate_output): Only require - alignment on __alignof__ (int32_t) instead of 4. - * locale/loadlocale.c (_nl_load_locale): Likewise. - * string/strcoll.c: Likewise. +2001-07-18 Andreas Jaeger <aj@suse.de> -2000-09-26 Jes Sorensen <jes@linuxcare.com> + * time/Makefile (tst-getdate-ENV): Add TZDIR to environment. - * sysdeps/ieee754/ldbl-96/e_atan2l.c (__ieee754_atan2l): Add - parentheses around arithmetic used in | statement to kill compiler - warning. + * time/Depend: New, add dependency on timezone. - * math/math_private.h: Add prototype for __finitel. - (__ilogbl): Likewise. - (__isinfl): Likewise. - (__isnanl): Likewise. - (__atanl): Likewise. - (__copysignl): Likewise. - (__expm1l): Likewise. - (__floorl): Likewise. - (__frexpl): Likewise. - (__ldexpl): Likewise. - (__log1pl): Likewise. - (__nanl): Likewise. - (__rintl): Likewise. - (__scalbnl): Likewise. - (__sqrtl): Likewise. - (fabsl): Likewise. - (__sincosl): Likewise. + * time/tst-getdate.c: Add testcase for bug report by Hendrik + Uhlmann <HUhlmann@stn-atlas.de>. + * time/datemsk: Likewise. -2000-09-26 Andreas Schwab <schwab@suse.de> +2001-07-17 Ulrich Drepper <drepper@redhat.com> - * sysdeps/m68k/fpu/libm-test-ulps: New file + * elf/ldconfig.c (parse_conf): Disable implicit locking for the + stream. Remove some unnecessary initializers. -2000-09-26 Ulrich Drepper <drepper@redhat.com> +2001-07-17 Andreas Jaeger <aj@suse.de> - * locale/langinfo.h (__nl_langinfo_l): Add prototype. + * 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. -2000-09-26 Andreas Jaeger <aj@suse.de> +2001-07-17 Jakub Jelinek <jakub@redhat.com> - * misc/mkstemp64.c: New file. - * misc/Makefile (routines): Add mkstemp64. - * stdlib/stdlib.h: Add prototype and redirection magic. - * misc/Versions: Add mkstemp64. + * time/getdate.c (__getdate_r): Initialize tm_isdst, tm_gmtoff and + tm_zone before calling strptime. -2000-09-26 Thorsten Kukuk <kukuk@suse.de> +2001-07-17 Andreas Schwab <schwab@suse.de> - * nscd/dbg_log.c (dbg_log): Add missing format string. + * sysdeps/unix/sysv/linux/m68k/getpagesize.c: Fix last change. -2000-09-26 Ulrich Drepper <drepper@redhat.com> +2001-07-17 Ulrich Drepper <drepper@redhat.com> - * catgets/catgets.c (catopen): Use getenv instead of __secure_getenv - since we filter out the variable once. - * iconv/gconv_conf.c (__gconv_get_path): Likewise. - * locale/newlocale.c (__newlocale): Likewise. - * locale/setlocale.c (setlocale): Likewise. - * malloc/malloc.c (ptmalloc_init): Likewise. + * 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. - * sysdeps/generic/unsecvars.h: New file. - * elf/dl-support.c (non_dynamic_init): Use it here to remove variables. - * elf/rtld.c (process_envvars): Likewise. - * elf/Makefile (distribute): Add unsecvars.h. - - * misc/daemon.c (daemon): Fail if !noclose and we cannot open the - real /dev/null device. - - * sysdeps/generic/check_fds.c: Include device-nrs.h. - * sysdeps/generic/device-nrs.h: New file. - * sysdeps/unix/sysv/linux/device-nrs.h: New file. - * misc/Makefile (distribute): Add device-nrs.h. - - * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Use O_TRUNC to - remove possible garbage at the end of the file. - -2000-09-25 Ulrich Drepper <drepper@redhat.com> - - * stdio-common/tmpnam_r.c: Warn about insecure tmpnam_r. - * stdio-common/tmpnam.c: Warn about insecure tmpnam. - * stdio-common/tempnam.c: Warn about insecure tempnam. - * misc/mktemp.c: Warn about insecure mktemp. - - * sysdeps/generic/check_fds.c: Check that file opened is really - /dev/null. - * posix/wordexp.c (exec_comm_child): Likewise. - - * elf/rtld.c (process_envvars): Open debug output file with O_NOFOLLOW. - - * locale/Makefile (routines): Add nl_langinfo_l. - * locale/Versions [libc] (GLIBC_2.2): Add __nl_langinfo_l. - * locale/nl_langinfo_l.c: New file. - * locale/nl_langinfo.c: Allow use of file for __nl_langinfo_l - definition. - -2000-09-23 Bruno Haible <haible@clisp.cons.org> - - * iconvdata/gbk.c (USE_PRIVATE_AREA): Define to 0. - (__gbk_to_ucs): Conditionalize private area mappings. - (__gbk_from_ucs4_tab9): Likewise. - (BODY for TO_LOOP): Likewise. - * iconvdata/testdata/GBK: Don't use characters not yet in Unicode. - * iconvdata/testdata/GBK..UTF-8: Likewise. - * iconvdata/tst-tables.sh: Enable GBK test. - -2000-09-23 Bruno Haible <haible@clisp.cons.org> - - * iconvdata/gbk.c (__gbk_to_ucs): Swap U+2014 and U+2015. - (__gbk_from_ucs4_tab4): Swap entries for U+2014 and U+2015. - (BODY for FROM_LOOP): Reject input > 0xFEA0, avoids out-of-bounds - array access. - * iconvdata/gbgbk.c (BODY for FROM_LOOP): Map 0xA844 to 0xA1AA. - * iconvdata/testdata/GBK..UTF8: Swap U+2014 and U+2015. - -2000-09-23 Bruno Haible <haible@clisp.cons.org> - - * iconvdata/johab.c (final_to_ucs): Fix typos. - (jamo_from_ucs_table): Likewise. - (BODY for FROM_LOOP): Map 0x5c to U+20A9. Reject ranges - 0xD9E6..0xD9FE and 0xDEF2..0xDEFE. - (BODY for TO_LOOP): Map U+20A9 to 0x5c. Don't produce values in - the range 0xD9E6..0xD9FE. - * iconvdata/tst-tables.sh: Enable JOHAB testing. - -2000-09-25 Ulrich Drepper <drepper@redhat.com> - - * iconv/gconv_conf.c (__gconv_get_path): Fix problem with relative - GCONV_PATH. - -2000-09-24 Ulrich Drepper <drepper@redhat.com> - - * libio/genops.c (_IO_doallocbuf): Don't use single byte buffer if - stream is in wide mode. - - * stdio-common/vfprintf.c (buffered_vfprintf): Orient stream. - -2000-09-21 Bruno Haible <haible@clisp.cons.org> - - * iconvdata/iso-2022-cn-ext.c (EMIT_SHIFT_TO_INIT): Shift __count - by 3, not 2. - (INIT_PARAMS, UPDATE_PARAMS): Likewise. - -2000-09-21 Bruno Haible <haible@clisp.cons.org> - - * stdio-common/vfscanf.c (__vfscanf, _IO_vfscanf): Fix bugs in - reallocation logic for MALLOC (%as, %aS formats). - -2000-09-24 Ulrich Drepper <drepper@redhat.com> - - * stdio-common/vfprintf.c (process_arg): Handle %hhn. - Add missing case in va_arg handling for numbers. - * stdio-common/tst-printf.c (main): Add tests for %hhu and %hhn - handling. - * stdio/tst-printf.sh: Adjust expected results. - Reported by Joseph S. Myers <jsm28@cam.ac.uk>. - -2000-09-20 Bruno Haible <haible@clisp.cons.org> - - * iconvdata/iso-2022-jp.c (BODY for FROM_LOOP): Reject 0x80. - (BODY for TO_LOOP): Clear bit 7 when outputting ISO-8859-1 upper half - characters. - * iconvdata/gen-8bit-gap-1.sh: Recognize lowercase hexadecimal digits - as equivalent to uppercase hexadecimal digits. - -2000-09-20 Bruno Haible <haible@clisp.cons.org> - - * iconvdata/testdata/EUC-KR..UTF8: New file. - * iconvdata/testdata/EUC-TW: New file. - * iconvdata/testdata/EUC-TW..UTF8: New file. - * iconvdata/testdata/EUC-JP: New file. - * iconvdata/testdata/EUC-JP..UTF8: New file. - * iconvdata/testdata/ISO-2022-JP: New file. - * iconvdata/testdata/ISO-2022-JP..UTF8: New file. - * iconvdata/testdata/ISO-2022-JP-2: New file. - * iconvdata/testdata/ISO-2022-JP-2..UTF8: New file. - * iconvdata/testdata/ISO-2022-KR: Add a few more lines. - * iconvdata/testdata/ISO-2022-KR..UTF8: New file. - * iconvdata/testdata/ISO-2022-CN: New file. - * iconvdata/testdata/ISO-2022-CN..UTF8: New file. - * iconvdata/testdata/ISO-2022-CN-EXT: New file. - * iconvdata/testdata/ISO-2022-CN-EXT..UTF8: New file. - * iconvdata/TESTS: Enable tests for ISO-2022-JP, ISO-2022-JP-2, - ISO-2022-CN, ISO-2022-CN-EXT, EUC-JP, EUC-TW. - -2000-09-24 Andreas Jaeger <aj@suse.de> - - * elf/ldconfig.c (add_dir): Move logic to add entry to list to new - function add_single_dir. - (add_single_dir): New function. - (search_dir): Use add_single_dir instead of recursing. - - * sysdeps/generic/dl-cache.h: Include stdint.h. - (struct file_entry_new): Use fixed sizes for interoperability - between 32bit and 64bit systems, add __unused to make alignment - explicit. - (CACHE_VERSION): Increment. - (struct cache_file_new): Use fixed sizes, add one more unused - entry to make alignment explicit. - -2000-09-24 Ulrich Drepper <drepper@redhat.com> - - * elf/ldconfig.c (search_dir): Make more use of d_type information. - -2000-09-23 Ulrich Drepper <drepper@redhat.com> - - * stdio-common/printf-parse.h (parse_one_spec): Clear - spec->info.i18n. Patch by Joseph S. Myers <jsm28@cam.ac.uk>. - -2000-09-18 Mark Kettenis <kettenis@gnu.org> - - * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_SYNCHRONIZED_IO): - #undef since we don't have msync. - - * sysdeps/mach/hurd/bits/time.h: (CLOCKS_PER_SEC): Make a long int - constant since that is what clock_t is. - * sysdeps/mach/hurd/i386/bits/time.h: Likewise. - -2000-09-11 Mark Kettenis <kettenis@gnu.org> - - * sysdeps/mach/getloadavg.c (getloadavg): Divide instead of - multiply by LOAD_SCALE. - -2000-09-22 Jakub Jelinek <jakub@redhat.com> - - * crypt/crypt.h (crypt, setkey, encrypt): Add __THROW. - (crypt_r, setkey_r, encrypt_r): Likewise. - -2000-09-22 Andreas Jaeger <aj@suse.de> - - * locale/programs/repertoire.c (repertoiremap_hash): Don't specify - array size. - - * sysdeps/alpha/fpu/libm-test-ulps: New file. - From Christian Iseli <chris@ludwig-alpha.unil.ch>. - -2000-09-21 Andreas Jaeger <aj@suse.de> - - * math/libm-test.inc (atan_test): Test for existence of function. - (expm1_test): Likewise. - (acos_test): Likewise. - (asin_test): Likewise. - (exp_test): Likewise. - (log10_test): Likewise. - (log_test): Likewise. - (pow_test): Likewise. - (sqrt_test): Likewise. - (cos_test): Likewise. - (sin_test): Likewise. - (tan_test): Likewise. - (log1p_test): Likewise. - (log2_test): Likewise. - - * sysdeps/i386/fpu/libm-test-ulps: Tweak some values for K6. - - * libio/oldiofsetpos64.c: Fix alias names. - -2000-09-21 Martin Buchholz <martin@xemacs.org> - - * manual/terminal.texi (Allocation): Sample code correction. - -2000-09-20 Andreas Jaeger <aj@suse.de> - - * iconvdata/Makefile (generated): Add tst-tables.out. - - * intl/Makefile (generated): Add test output. - -2000-09-19 Andreas Jaeger <aj@suse.de> - - * sunrpc/clnt_simp.c (callrpc): Fix write beyond end of buffer. - Reported by Jens-Uwe Mager <jum@helios.de>. - -2000-09-18 Ulrich Drepper <drepper@redhat.com> - - * version.h (VERSION): Bump to 2.1.94. - - * sysdeps/mips/Dist: Add fpu/fenv_libc.h. - * sysdeps/sparc/sparc32/soft-fp/Dist: Add q_add.c. - * sysdeps/sparc/sparc64/soft-fp/Dist: Add qp_add.c. - * sysdeps/unix/sysv/linux/ia64/Dist: Add net/route.h. - - * malloc/mtrace.c (mtrace): Mark stream as close on exec. - -2000-09-17 Bruno Haible <haible@clisp.cons.org> - - * iconvdata/utf-16.c (BODY for TO_LOOP): Reject UCS-4 input in the - range 0xD800..0xDFFF. - * iconvdata/unicode.c (BODY for TO_LOOP): Likewise. - (BODY for FROM_LOOP): Likewise. - * iconv/gconv_simple.c (ucs2_internal_loop): Likewise. - (internal_ucs2_loop): Likewise. - (ucs2reverse_internal_loop): Likewise. - (internal_ucs2reverse_loop): Likewise. - -2000-09-17 Bruno Haible <haible@clisp.cons.org> - - * iconvdata/utf-16.c (gconv_init): Add missing slashes to encoding - names. - -2000-09-17 Bruno Haible <haible@clisp.cons.org> - - * iconvdata/tst-table-from.c (main): Fix test for error on stdout. - * iconvdata/tst-table-to.c (main): Likewise. - -2000-09-17 Bruno Haible <haible@clisp.cons.org> - - * iconvdata/iso-ir-165.c (__isoir165_from_tab): Renamed from - __isoir165_tab. - * iconvdata/cns11643.h (__cns11643l1_to_ucs4_tab): New declaration. - * iconvdata/iso-2022-cn-ext.c: Include "cns11643.h". - (GB7590_set, GB13132_set, CNS11643_3_set, CNS11643_4_set, - CNS11643_5_set, CNS11643_6_set, CNS11643_7_set): Change enum values. - (BODY for FROM_LOOP): Fix buffer overrun. Treat CNS11643 plane 3. - Return __GCONV_INCOMPLETE_INPUT instead of __GCONV_EMPTY_INPUT. - (BODY for TO_LOOP): Fix usage of `set' vs. `used'. Fix typo that - caused GB2312 to be used instead of ISO-IR-165. Treat CNS11643 - plane 3. Fix shift sequences. Output announcement for SS2 and SS3 - encodings when needed. When outputting an announcement, don't clear - most other announcements. - -2000-09-17 Bruno Haible <haible@clisp.cons.org> - - * iconvdata/iso-2022-cn.c (BODY for FROM_LOOP): Fix buffer overrun. - (BODY for TO_LOOP): Fix usage of `set' vs. `used'. - -2000-09-14 Bruno Haible <haible@clisp.cons.org> - - * intl/Versions: Add bind_textdomain_codeset. - -2000-09-16 Ralf Baechle <ralf@gnu.org> - - * sysdeps/mips/dl-machine.h (_RTLD_PROLOGUE): Reformat. Declare - as function. - (_RTLD_EPILOGUE): Reformat. Declare size of entry function. - (ELF_MACHINE_BEFORE_RTLD_RELOC): Relocate the dynamic linker itself so - it will even work when not loaded to the standard address. - (RTLD_START): Reformat. Call _dl_start in a way that is safe even - before the dynamic linker itself is relocated. - -2000-09-18 Andreas Jaeger <aj@suse.de> - - * sysdeps/unix/sysv/linux/kernel-features.h: Always define - __ASSUME_32BITUIDS for MIPS. - * sysdeps/unix/sysv/linux/mips/ipc_priv.h: New file. - * sysdeps/unix/sysv/linux/mips/Dist: Add ipc_priv.h. - -2000-09-17 H.J. Lu <hjl@gnu.org> - - * catgets/Makefile ($(objpfx)de/libc.cat): Use - $(make-target-directory) instead of mkdir. - -2000-09-17 Franz Sirl <Franz.Sirl-kernel@lauterbach.com> - - * sysdeps/unix/sysv/linux/kernel-features.h: Always define - __ASSUME_32BITUIDS for __powerpc__. - * sysdeps/unix/sysv/linux/powerpc/ipc_priv.h: New file. - * sysdeps/unix/sysv/linux/powerpc/Dist: Add ipc_priv.h. - -2000-09-17 Ulrich Drepper <drepper@redhat.com> - - * sysdeps/unix/sysv/linux/m68k/sysdep.h (INLINE_SYSCALL): Fix last - patch. - * sysdeps/unix/sysv/linux/arm/sysdep.h (INLINE_SYSCALL): Likewise. - -2000-09-16 Jakub Jelinek <jakub@redhat.com> - - * sysdeps/ia64/Implies: Reorder ieee754 implies so that ldbl-* comes - first. - * sysdeps/m68k/Implies: Likewise. - * sysdeps/sparc/sparc64/Implies: Likewise. - -2000-09-16 Jakub Jelinek <jakub@redhat.com> - - * elf/readlib.c (process_file): Don't error for stale .so links either. - -2000-09-16 Ulrich Drepper <drepper@redhat.com> - - * elf/dl-load.c (_dl_map_object_from_fd): Add one more - __builtin_expect. - - * include/bits/xopen_lim.h (LONG_BIT): Use LONG_MAX, not INT_MAX. - Patch by Thorsten Kukuk <kukuk@suse.de>. - - * dlfcn/Makefile (distribute): Add defaultmod1.c and defaultmod2.c. - (test): Add default. - (modules-names): Add defaultmod1 and defaultmod2. - Add rules to build test objects. - -2000-09-15 Ulrich Drepper <drepper@redhat.com> - - * wctype/wctype.h: Always include <bits/types.h>. - Reported by Jim Meyering <meyering@ascend.com>. - - * elf/rtld.c (_dl_dynamic_weak): Set to 1 by default for now. - * elf/dl-support.c: Likewise. - - * sysdeps/unix/sysv/linux/ia64/bits/stat.h: Correct position of - st_blocks member in stat and stat64 structs. - Patch by Bill Nottingham <notting@redhat.com>. - - * iconvdata/tst-tables.sh: Add warning that GB18030 test might - take longer. - - * math/complex.h: Don't define _Complex macro for gcc 3. Add - __extension__ to _Complex_I definition since gcc warns if -pedantic. - * math/bits/cmathcalls.h (conj): Add __extension__ since we use ~. - Patches by Joseph S. Myers <jsm28@cam.ac.uk>. - - * include/limits.h: Define LLONG_MIN, LLONG_MAX, ULLONG_MAX if - necessary. Move includes of POSIX and Unix limits files to the end. - * stdlib/Makefile (tests): Add tst-limits. - * stdlib/tst-limits.h: New file. - -2000-09-15 Andreas Jaeger <aj@suse.de> - - * sysdeps/mips/fpu/fesetenv.c (__fesetenv): Handle FE_NOMASK_ENV. - - * sysdeps/mips/bits/fenv.h (FE_NOMASK_ENV): Define. - -2000-09-15 Jakub Jelinek <jakub@redhat.com> - - * sysdeps/unix/alpha/sysdep.h (inline_syscall_clobbers): Add memory - clobber. - * sysdeps/unix/sysv/linux/arm/sysdep.h (INLINE_SYSCALL): Likewise. - * sysdeps/unix/sysv/linux/m68k/sysdep.h (INLINE_SYSCALL): Likewise. - -2000-09-15 Ulrich Drepper <drepper@redhat.com> - - * elf/Makefile (distribute): Add nextmod1.c and nextmod2.c. - (tests): Add next. - (modules-names): Add nextmod1 and nextmod2. - Add rules to build and run next. - * elf/next.c: New file. - * elf/nextmod1.c: New file. - * elf/nextmod2.c: New file. - -2000-09-14 Jakub Jelinek <jakub@redhat.com> - - * elf/dl-lookup.c (_dl_lookup_symbol_skip): Fix a typo. - -2000-09-15 Andreas Jaeger <aj@suse.de> - - * sysdeps/mips/fpu/fenv_libc.h: New file. - * sysdeps/mips/fpu/feenablxcpt.c: Use fenv_libc.h - * sysdeps/mips/fpu/fegetexcept.c: Likewise. - * sysdeps/mips/fpu/fedisblxcpt.c: Likewise. - - * sysdeps/mips/fpu/feenablxcpt.c: New file. - * sysdeps/mips/fpu/fegetexcept.c: New file. - * sysdeps/mips/fpu/fedisblxcpt.c: New file. - -2000-09-14 Ulrich Drepper <drepper@redhat.com> - - * intl/Makefile: Avoid unnecessary test reruns. - - * stdio-common/tst-printf.sh: Also allow output from 64-bit machines. - - * sysdeps/unix/sysv/linux/dl-osinfo.h (DL_SYSDEP_OSCHECK): Change - to not use sysctl(). Too many architectures have problems with it. - -2000-09-14 Andreas Jaeger <aj@suse.de> - - * scripts/config.sub: New version from subversions.gnu.org. - - * time/clocktest.c (main): Change format, CLOCKS_PER_SEC is now - long. - -2000-09-14 Jakub Jelinek <jakub@redhat.com> - - * posix/regex.c (compile_range): Cast collseq index to unsigned char - to avoid accessing data before collseq. - - * sysdeps/sparc/fpu/bits/mathinline.h (__unordered_v9cmp): Avoid - pasting strings together. - -2000-09-14 Greg McGary <greg@mcgary.org> - - * sysdeps/generic/bp-checks.h: Remove bogus reference to GNU MP in - copyright notice. - * sysdeps/generic/bp-semctl.h: Likewise. - * sysdeps/generic/bp-start.h: Likewise. - * sysdeps/generic/bp-sym.h: Likewise. - * sysdeps/generic/bp-thunks.h: Likewise. Include <stdio.h> to get - rename prototype. - -2000-09-13 Ulrich Drepper <drepper@redhat.com> - - * io/test-lfs.c (do_test): Allow stat64() to return EOVERFLOW and - don't fail. - - * elf/elf.h: Add missing official relocations. - - * libio/stdio.h: Define __FILE if __need___FILE is defined. - * stdio/stdio.h: Likewise. - * wcsmbs/wchar.h: Get definition of __FILE. Use __FILE instead of FILE. - * include/stdio.h: Handle __need___FILE like __need_FILE. - * include/wchar.h: Use __FILE instead of FILE. - * libio/fwprintf.c: Include <stdio.h> for FILE definition. - * libio/fwscanf.c: Likewise. - * libio/getwc.c: Likewise. - - * sysdeps/generic/stdint.h (WINT_MAX): Define to 4294967295u. - * sysdeps/generic/bits/wchar.h (WCHAR_MIN): Define to -2147483647 - 1. - * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Likewise. - - * assert/assert.h: Update comment header about ISO C section. - * math/complex.h: Likewise. - * ctype/ctype.h: Likewise. - * include/errno.h: Likewise. - * include/limits.h: Likewise. - * locale/locale.h: Likewise. - * math/math.h: Likewise. - * setjmp/setjmp.h: Likewise. - * signal/signal.h: Likewise. - * stdio/stdio.h: Likewise. - * libio/stdio.h: Likewise. - * stdlib/stdlib.h: Likewise. - * string/string.h: Likewise. - * time/time.h: Likewise. - * wcsmbs/wchar.h: Likewise. - * wctype/wctype.h: Likewise. - Patches by Joseph S. Myers <jsm28@cam.ac.uk>. - -2000-09-13 Andreas Jaeger <aj@suse.de> - - * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Fix test - for no more entries. - * sysdeps/unix/sysv/aix/bits/socket.h (__cmsg_nxthdr): Likewise. - * sysdeps/unix/sysv/linux/mips/bits/socket.h (__cmsg_nxthdr): Likewise. - Reported by Eric S. Johnson <esj@cs.fiu.edu>, closes PR libc/1887. - -2000-09-13 Ulrich Drepper <drepper@redhat.com> - - * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Make a long int - constant since this is what clock_t is. - * 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. - * sysdeps/unix/sysv/linux/s390/bits/time.h: Likewise. - - * time/time.h: Don't defined clockid_t and timer_t unless POSIX - definitions are requested. - -2000-09-13 Andreas Jaeger <aj@suse.de> - - * shlib-versions: libBrokenLocale needs minimal version for ia64, - sparc64 and sh to synch with libc. - -2000-09-13 Ulrich Drepper <drepper@redhat.com> - - * iconvdata/Makefile (modules): Add ISO-2022-CN-EXT. - (distribute): Add iso-2022-cn-ext.c. - Add definitions to compile the new module. - * iconvdata/gconv-modules: Add entries for ISO-2022-CN-EXT. - * iconvdata/iso-2022-cn-ext.c: New file. - * iconvdata/iso-ir-165.h (isoir165_to_ucs4): Renamed from - ucs4_from_isoir165. Increment input pointer if successful. - - * csu/Makefile: Work around a gcc bug when creating csu-dummies. - - * sysdeps/unix/sysv/linux/getdents.c: Pretty print. - -2000-09-01 Jes Sorensen <jes@linuxcare.com> - - * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add - __syscall_getdents64 wrapper. - - * sysdeps/unix/sysv/linux/ia64/net/route.h: New file. - -2000-09-12 Ulrich Drepper <drepper@redhat.com> - - * iconvdata/gb18030.c: Many many changes. Make consistent with - charmap and with itself. - * iconvdata/tst-tables.sh: Test GB18030. - -2000-09-11 Ulrich Drepper <drepper@redhat.com> - - * iconv/skeleton.c: Fix last patch, add missing parameter to - unaligned function call. - -2000-09-10 Bruno Haible <haible@clisp.cons.org> - - * locale/programs/ld-collate.c (collate_read): Fix typo in handling - of decimal ellipsis. - -2000-09-11 Bruno Haible <haible@clisp.cons.org> - - * locale/programs/ld-collate.c (collate_read): Always initialize - error_section.next. - -2000-09-10 Bruno Haible <haible@clisp.cons.org> - - * locale/programs/ld-collate.c (collate_finish): Upper bound for - ruleidx is 128, not 256. + * 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. + +2001-07-16 Ulrich Drepper <drepper@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. -2000-09-11 Ulrich Drepper <drepper@redhat.com> +2001-07-13 H.J. Lu <hjl@gnu.org> - * locale/programs/ld-collate.c (collate_read): Correct check for - already inserted entries. + * 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. -2000-09-10 Bruno Haible <haible@clisp.cons.org> + * sysdeps/mips/rtld-ldscript.in: Removed. + * sysdeps/mips/rtld-parms: Likewise. + * sysdeps/mips/mips64/rtld-parms: Likewise. + * sysdeps/mips/mipsel/rtld-parms: Likewise. - * iconv/skeleton.c (FUNCTION_NAME): Handle unaligned access in - second try as well. +2001-07-16 Ulrich Drepper <drepper@redhat.com> -2000-09-10 Bruno Haible <haible@clisp.cons.org> + * catgets/test-gencat.sh: Use <<"EOF" instead of <<EOF to prevent + substitution in here document. - * iconv/skeleton.c (FUNCTION_NAME): Optimize an `if' if - MAX_NEEDED_FROM > 1 && MAX_NEEDED_TO > 1. +2001-07-16 Andreas Schwab <schwab@suse.de> -2000-09-10 Bruno Haible <haible@clisp.cons.org> + * sysdeps/posix/spawni.c: Fix typo when iterating over signal numbers. - * iconv/skeleton.c (gconv_init): Replace all uses of RESET_STATE with - SAVE_RESET_STATE. +2001-07-16 Andreas Schwab <schwab@suse.de> -2000-09-10 Bruno Haible <haible@clisp.cons.org> + * math/libm-test.inc (check_float_internal): Fix sign bit test of + infinities. - * iconvdata/utf-7.c: New file. - * iconvdata/gconv-modules (UTF-7): New module entries. - * iconvdata/Makefile (modules): Add UTF-7. - (distribute): Add utf-7.c. - * iconvdata/testdata/UTF-7: New file. - * iconvdata/testdata/UTF-7..UTF8: New file. - * iconvdata/TESTS (UTF-7): New entry. - * iconvdata/run-iconv-test.sh: Fix confusing output. +2001-07-16 Jakub Jelinek <jakub@redhat.com> -2000-09-11 Ulrich Drepper <drepper@redhat.com> + * sysdeps/i386/fpu/e_expl.c (__ieee754_expl): Make it PIC friendly. - * sysdeps/posix/tempname.c (__gen_tempname): Use __lxstat and __xstat. +2001-07-15 Ulrich Drepper <drepper@redhat.com> -2000-09-10 David S. Miller <davem@redhat.com> + * malloc/obstack.c: Define __attribute__ for non-gcc compilers. + Patch by Jim Meyering <jim@meyering.net>. - * sysdeps/sparc/sparc32/__longjmp.S (__longjmp): Correct %fp - frame pointer offset for non-fast path. +2001-07-12 Martin Schwidefsky <schwidefsky@de.ibm.com> -2000-09-10 Ulrich Drepper <drepper@redhat.com> + * sysdeps/unix/sysv/linux/s390/s390-64/bits/sigaction.h: Reorder + fields in the sigaction struct to match the definition in the kernel. - * locale/programs/3level.h (*_init): Initialize level1, level2, - and level3 as well. - (*_add): Remove a few unnecessary conditionals. +2001-07-12 Martin Schwidefsky <schwidefsky@de.ibm.com> -2000-09-05 Wolfram Gloger <wg@malloc.de> + * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Correct the + test for ENOSYS. - * malloc/thread-m.h [_LIBC]: Even if not linking with libpthread, - ensure usability of mutex as an `in use' flag. +2001-07-12 Martin Schwidefsky <schwidefsky@de.ibm.com> -2000-09-10 Ulrich Drepper <drepper@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. - * shlib-versions: Simplify libm entries. Correct a few Hurd entries. +2001-07-12 Martin Schwidefsky <schwidefsky@de.ibm.com> - * sysdeps/generic/initfini.c: Rewrite slightly to get rid of the - ugly GMON_WEAK_START hack. - Patch by Philip Blundell <philb@gnu.org>. + * 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. - * sysdeps/i386/i486/bits/string.h: Pretty printing. +2001-07-15 Andreas Schwab <schwab@suse.de> -2000-09-09 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. - * sysdeps/powerpc/dl-machine.c: Add volatile to PPC_DCBST, PPC_SYNC, - and PPC_ICBI asm for broken compilers. - Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>. + * sysdeps/unix/sysv/linux/m68k/getpagesize.c: Check _dl_pagesize + first. Default to 4096, not EXEC_PAGESIZE. -2000-09-09 Andreas Jaeger <aj@suse.de> + * iconv/loop.c (put16) [!_STRING_ARCH_unaligned && BIG_ENDIAN]: + Fix index. - * manual/message.texi (Advanced gettext functions): Fix typo. +2001-07-09 Andreas Jaeger <aj@suse.de> - * sysdeps/unix/sysv/linux/dl-osinfo.h: Include <string.h> for - strncpy prototype. + * sysdeps/unix/sysv/linux/i386/dl-procinfo.c: Name entry for xmm2. -2000-09-09 Ulrich Drepper <drepper@redhat.com> + * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Add HWCAP_I386_XMM, + HWCAP_I386_XMM2 to enum. - * sysdeps/ia64/memchr.S: Add .pred.rel to avoid wrong assembler - warnings. - * sysdeps/ia64/memccpy.S: Likewise. - Patches by Jim Wilson <wilson@redhat.com>. +2001-07-13 Andreas Jaeger <aj@suse.de> - * sysdeps/unix/sysv/linux/dl-osinfo.h (DL_SYSDEP_OSCHECK): Use uname - before trying to read /proc. - Patch by Matt Wilson <msw@redhat.com>. - * include/sys/utsname.h: Declare __uname. - * sysdeps/generic/uname.c: Make uname a weak alias of __uname. - * sysdeps/mach/hurd/uname.c: Likewise. - * sysdeps/unix/syscalls.list: Likewise. + * libio/fileops.c: Include unistd.h for lseek64 prototype. Closes + PR libc/2372. - * iconv/gconv_dl.c (do_release_shlib): Rewrite condition for - unloading a bit. +2001-07-12 Ulrich Drepper <drepper@redhat.com> -2000-09-08 Ulrich Drepper <drepper@redhat.com> + * Makeconfig: Add some more changes to handle AIX linker better. - * posix/getopt.c (_getopt_internal): When long_only is set always - recognize conflicts just like before. +2001-07-12 H.J. Lu <hjl@gnu.org> -2000-09-08 Franz Sirl <Franz.Sirl-kernel@lauterbach.com> + * sysdeps/generic/segfault.c: Include <errno.h>. - * sysdeps/ia64/Makefile (sysdep-rtld-routines): New variable. +2001-07-01 Andreas Jaeger <aj@suse.de> -2000-09-08 Greg McGary <greg@mcgary.org> + * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk): Remove duplicate + sbrk. Closes PR libc/2312. - * sysdeps/unix/sysv/linux/syscalls.list (mincore): Fix arg signature. - * sysdeps/unix/make-syscalls.sh: New signature keyletter `V'. - * sysdeps/generic/bp-checks.h (CHECK_N_PAGES): New macro. +2001-07-01 Andreas Jaeger <aj@suse.de> -2000-09-08 Andreas Jaeger <aj@suse.de> + * sysdeps/generic/segfault.c (install_handler): Handle case that + the output file does not exists. Closes PR libc/2345. - * sysdeps/unix/sysv/linux/arm/lockf64.c: New file. +2001-07-11 Ulrich Drepper <drepper@redhat.com> - * sysdeps/unix/sysv/linux/arm/fcntl.c: New file. + * intl/locale.alias: Use he language code for hebrew, not il + [PR libc/2382]. - * sysdeps/unix/sysv/linux/arm/bits/fcntl.h - (F_GETLK64,F_SETLK64,F_SETLKW64): Use values from 2.4.0-test8. - (F_GETLK,F_SETLK,F_SETLKW): Handle __USE_FILE_OFFSET64 correctly. +2001-07-11 Jakub Jelinek <jakub@redhat.com> -2000-09-07 Ulrich Drepper <drepper@redhat.com> + * iconv/gconv_int.h: Fix comment typo. - * iconvdata/tst-tables.sh: Enable EUC-KR test. +2001-07-11 Igor Khavkine <i_khavki@alcor.concordia.ca> - * elf/dl-load.c (lose): Decrement _nl_loaded. - (_dl_map_object_from_fd): Don't try to dlopen executables. + * hurd/hurdsig.c (_hurdsig_init): Remove a useless line of code. - * iconvdata/tst-tables.sh: Actually return with an error if - something goes wrong. - * iconvdata/tst-table.sh: Return with an error if any of the cmp fails. - * iconvdata/big5hkscs.c (BODY of FROM_LOOP): Reject 0xff as input. +2001-07-07 Roland McGrath <roland@frob.com> - * iconvdata/tst-tables.sh: Add BIG5HKSCS. + * hurd/hurdsig.c (_hurd_thread_sigstate): Use MACH_PORT_NULL, not 0. - * iconvdata/tst-table-to.c (main): Correct cast in iconv call. - * iconvdata/tst-table-from.c: Include <string.h>. - (try): Correct cast in iconv call. +2001-07-10 Stephen L Moshier <moshier@mediaone.net> - * elf/Makefile (all-rtld-routines): Evaluate $(sysdep-rtld-routines) - too. - * sysdeps/powerpc/Makefile (sysdep-rtld-routines): New variable. - (sysdep_routines): Remove dl-start. - Patches by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>. + * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Fix + backwards conditional in test for x == 1.0. - * assert/__assert.c: Undefine NDEBUG before include <assert.h>. +2001-07-10 Andreas Jaeger <aj@suse.de> - * sysdeps/unix/sysv/linux/msgsnd.c (msgsnd): Add cast to avoid warning. - * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise. + * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Add ulps for tanh + (-0.7). -2000-09-06 Andreas Schwab <schwab@suse.de> +2001-07-09 Andreas Jaeger <aj@suse.de> - * sysdeps/unix/sysv/linux/ia64/bits/time.h: New file. + * sysdeps/unix/sysv/linux/configure.in: Revert patch from + 2001-07-05 for sysconfdir handling. + * config.make.in (sysconfdir): Likewise. + * configure.in: Likewise. -2000-09-07 Ulrich Drepper <drepper@redhat.com> + * configure.in: Always assign libc_cv_sysconfdir. - * sysdeps/unix/sysv/linux/gethostid.c: Find hostid file in /etc. +2001-07-08 Ulrich Drepper <drepper@redhat.com> - * scripts/config.sub: Strip out -unknown for Linux targets. - Patch by Scott Bambrough <scottb@netwinder.org>. + * Makerules [AIX] (build-shlib-helper): Precede linker options + with -Wl. - * posix/tst-dir.c (main): Correct one bug (missing NULL test) and - add one more test. + * Makeconfig (config-LDFLAGS): Add ld.so only for ELF. -2000-09-07 Andreas Jaeger <aj@suse.de> + * sysdeps/unix/make_errlist.c: Adjust sys_errlist declaration to + what we define in <stdio.h>. - * sysdeps/unix/sysv/linux/mips/lockf64.c: New file. + * iconv/iconv_prog.c (main): Don't unconditionally define + variables only use if _POSIX_MAPPED_FILES is defined. - * sysdeps/unix/sysv/linux/i386/fcntl.c: Add prototypes for the - syscalls. + * sysdeps/unix/sysv/aix/sendmsg.c (sendmsg): Fix return type. + * sysdeps/unix/sysv/aix/recvmsg.c (recvmsg): Likewise. - * sysdeps/unix/sysv/linux/mips/syscalls.list: Add __syscall_fcntl. + * sysdeps/unix/sysv/aix/recv.c: New file. - * sysdeps/mips/dl-machine.h (RESOLVE_GOTSYM): Fix calls to dl_lookup. - (ELF_MACHINE_RUNTIME_TRAMPOLINE): Likewise. + * sysdeps/unix/sysv/aix/recvfrom.c: Fix various types. - * sysdeps/unix/sysv/linux/mips/fcntl.c: New file. +2001-07-07 Ulrich Drepper <drepper@redhat.com> - * stdlib/tst-bsearch.c (main): Add more test cases. + * sysdeps/generic/recv.c: Fix return type. - * locale/programs/ld-collate.c (handle_ellipsis): Fix typo. - * elf/dl-load.c (_dl_map_object_from_fd): Likewise. - Reported by GOTO Masanori <gotom@debian.or.jp>. + * sysdeps/unix/sysv/aix/dl-libc.c (__libc_dlclose): Fix typo. -2000-09-07 Ulrich Drepper <drepper@redhat.com> + * sysdeps/unix/sysv/aix/gettimeofday.c (__gettimeofday): Add + declarations for asm functions. - * posix/Makefile (tests): Add tst-dir. - (tst-dir-ARGS): New variable. - * posix/tst-dir.c: New file. + * include/libc-symbols.h: Provide more dummy definitions for the + case if GNU ld isn't used. -2000-09-07 Andreas Jaeger <aj@suse.de> + * libio/freopen.c: Include <stdlib.h> for free declaration. + * libio/freopen64.c: Likewise. - * sysdeps/unix/sysv/linux/mips/sys/syscall.h (SYS_getdents64): New. - (SYS_fcntl64): New. + * sysdeps/alpha/fpu/libm-test-ulps: Add deltas for tanh(-0.7). - * sysdeps/unix/sysv/linux/mips/syscalls.list: Add getdents64. +2001-07-06 Jakub Jelinek <jakub@redhat.com> -2000-09-06 Ulrich Drepper <drepper@redhat.com> + * sysdeps/unix/sysv/linux/i386/sigaction.c (RESTORE2): Put asm + explicitly into .text section. - * sysdeps/unix/opendir.c: If O_DIRECTORY_WORKS is defined don't - use the hack with tryopen_o_directory to determine at runtime - whether it works. - * sysdeps/unix/sysv/linux/opendir.c: New file. - * sysdeps/unix/sysv/linux/kernel-features.h: Define - __ASSUME_O_DIRECTORY if kernel knows O_DIRECTORY. +2001-04-16 Jes Sorensen <jes@linuxcare.com> - * catgets/Depend: New file. Add intl. - * catgets/Makefile (tests): Add tst-catgets. - (generated): Remove de.msg. - (generated-dirs): Add de. - Add dependency if tst-catgets output on de/libc.cat. - * catgets/tst-catgets.c: New file. + * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h (struct sigcontext): + Add 16 longwords reserved for future use to match changes in the + kernel. - * po/ja.po: New file. - * po/el.po: Update from translation team. +2001-07-03 Jes Sorensen <jes@trained-monkey.org> - * wcsmbs/Depend: New file. - * wcsmbs/Makefile (tests): Add tst-btowc. - (tst-btowc-ENV): Define. - * wcsmbs/tst-btowc.c: New file. + * 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/unix/sysv/linux/_G_config.h: Moved to... - * sysdeps/gnu/_G_config.h: ...here to be shared with Hurd. +2001-07-02 Jakub Jelinek <jakub@redhat.com> - * sysdeps/posix/signal.c: Add sig to act.sa_mask for completeness. + * 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. - * stdlib/Makefile (tests): Add tst-bsearch. - * stdlib/tst-bsearch.c: New file. +2001-07-01 Stephen L Moshier <moshier@mediaone.net> - * posix/getopt.c (_getopt_internal): Don't recognize an option - name as ambiguous if it's a prefix for more than one name but the - other struct option values are identical. + * 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. - * posix/tstgetopt.c: Add test for improved ambiguity recognition. - Don't depend on visual inspection of the output file to recognize - errors. - * posix/Makefile (tstgetopt-ARGS): Add a few more parameters. +2001-07-07 Mark Kettenis <kettenis@gnu.org> -2000-09-06 Andreas Jaeger <aj@suse.de> + * sysdeps/mach/hurd/i386/exc2signal.c (_hurd_exception2signal): + Generate SIGSEGV instead of SIGBUS for KERN_INVALID_ADDRESS and + KERN_WRITE_PROTECTION_FAILURE. - * sysdeps/alpha/soft-fp/Dist: New file. - * sysdeps/i386/soft-fp/Dist: New file. - * sysdeps/mips/mips64/soft-fp/Dist: New file. - * sysdeps/mips/soft-fp/Dist: New file. - * sysdeps/powerpc/soft-fp/Dist: New file. - * sysdeps/sparc/sparc32/soft-fp/Dist: New file. - * sysdeps/sparc/sparc64/soft-fp/Dist: New file. +2001-07-07 Ulrich Drepper <drepper@redhat.com> - * sysdeps/sparc/sparc64/soft-fp/Makefile [$(subdir) = soft-fp]: - Use sysdep_routines instead of routines to fix make dist failure. - * sysdeps/sparc/sparc32/soft-fp/Makefile: Likewise (in commented - out code). - * sysdeps/powerpc/soft-fp/Makefile [$(subdir) = soft-fp]: Likewise. + * posix/regex.c: Limit string length printed in debug messages to + 100 chars. - * sysdeps/mips/Makefile [$(subdir) = misc]: Use - sysdep_headers instead of headers for make dist. + * configure.in: Don't warn about versioning if not on ELF system. - * sysdeps/unix/sysv/linux/mips/Makefile [$(subdir) = misc]: - Likewise. +2001-07-07 Andreas Jaeger <aj@suse.de> -2000-09-06 Andreas Schwab <schwab@suse.de> + * sysdeps/*: Put files from GNU MP Library under LGPL v2.1. - * sysdeps/unix/sysv/linux/m68k/bits/fcntl.h: New file. +2001-07-06 Ulrich Drepper <drepper@redhat.com> -2000-09-06 Andreas Jaeger <aj@suse.de> + * po/gl.po: Update from translation team. - * soft-fp/Makefile (distribute): Remove ChangeLog. +2001-07-06 Andreas Jaeger <aj@suse.de> - * sysdeps/sparc/sparc32/Makefile [$(subdir) = gnulib]: Use - sysdep_routines instead of routines for make dist. + * sysdeps/unix/sysv/linux/configure.in: Fix handling of + sysconfdir. -2000-09-05 Ulrich Drepper <drepper@redhat.com> + * manual/libc-texinfo.sh: Add note for the FDL. - * libio/libio.h (_IO_fwide_maybe_incompatible): For glibc 2.0 - compatibility check for old stream and call _IO_wide in doubt. - (_IO_fwide): Use _IO_fwide_maybe_incompatible macro. - * libio/iofwide.c (_IO_fwide): If compatibility with glibc 2.0 is - needed tst for such an old structure and don't do anything. - * libio/freopen.c: Remove declaration of _IO_stdin_used. + * manual/argp.texi (Argp Example 4): Fix texinfo warning. -2000-09-06 Andreas Jaeger <aj@suse.de> + * manual/libc.texinfo: Regenerated. - * sysdeps/powerpc/Makefile [$(subdir) = elf]: Modify - sysdep-dl-routines and sysdep_routines instead of rtld-routines - and dl-routines. + * manual/fdl.texi: Fix node. - * soft-fp/ChangeLog: Merged with this file. + * config.make.in (sysconfdir): Replace correctly. + Closes PR libc/2369, reported by Peter Simons <simons@cryp.to>. -2000-06-13 Ulrich Drepper <drepper@redhat.com> + * sysdeps/unix/sysv/linux/alpha/configure.in: Removed, it's no + longer needed. - * soft-fp/Makefile (distribute): Add op-8.h and testit.c. + * sysdeps/unix/sysv/linux/configure.in (libc_cv_linuxVER): Add + case for alpha. + Rework handling of missing linuxthreads add-on. - * soft-fp/Makefile (distribute): Add the math functions, too. + * configure.in: Remove unused sysconfdir substitution. - * soft-fp/Makefile (distribute): Add ChangeLog, Banner, and configure. + * 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>. -2000-03-03 Geoff Keating <geoffk@cygnus.com> + * sysdeps/unix/make_errlist.c (main): Print LGPL v2.1 for + generated file. - * soft-fp/soft-fp.h (_FP_ROUND_ZERO): Cast 0 to void before using it - as a statement. +2001-07-06 Paul Eggert <eggert@twinsun.com> - * soft-fp/sysdeps/powerpc/Makefile (routines): New file. - * soft-fp/sysdeps/powerpc/q_*: New files. + * 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. -2000-09-05 Ulrich Drepper <drepper@redhat.com> +2001-07-06 Andreas Jaeger <aj@suse.de> - * stdio-common/vfprintf.c (process_string_arg): Handle precision - in wide char case correctly. Don't allocate too long temporary - strings with alloca. + * All files under GPL/LGPL version 2: Place under LGPL version + 2.1. - * stdio-common/Makefile (tests): Add tst-swprintf. - (tst-swprintf-ENV): New variable. - * stdio-common/tst-swprintf.c: New file. +2001-07-05 Andreas Jaeger <aj@suse.de> -2000-09-05 Andreas Jaeger <aj@suse.de> + Synch with Linux 2.4.6: + * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_BLUETOOTH): + New. + (AF_BLUETOOTH): New. - * sysdeps/unix/sysv/linux/mips/bits/stat.h: Use st_pad5. - * sysdeps/unix/sysv/linux/mips/xstatconv.c: Fix assignments. - Patch by Maciej W. Rozycki <macro@ds2.pg.gda.pl>. + * sysdeps/unix/sysv/linux/s390/s390-64/bits/socket.h + (PF_BLUETOOTH): New. + (AF_BLUETOOTH): New. -2000-09-05 Ulrich Drepper <drepper@redhat.com> + * sysdeps/unix/sysv/linux/mips/bits/socket.h (AF_BLUETOOTH): New. + (PF_BLUETOOTH): New. - * configure.in: Strip out "unknown" from configuration names. + * sysdeps/unix/sysv/linux/ia64/bits/socket.h (AF_BLUETOOTH): New. + (PF_BLUETOOTH): New. -2000-09-05 Andreas Jaeger <aj@suse.de> + * sysdeps/unix/sysv/linux/alpha/bits/socket.h (PF_BLUETOOTH): New. + (AF_BLUETOOTH): New. - * sysdeps/powerpc/Subdirs: New file, adds soft-fp. + * sysdeps/unix/sysv/linux/bits/socket.h (PF_BLUETOOTH): New. + (AF_BLUETOOTH): New. - * sysdeps/sparc/sparc64/Implies: Add soft-fp. - * sysdeps/sparc/sparc32/Implies: Likewise. - * sysdeps/powerpc/Implies: Likewise. + * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_IEEE80211): New. - * libio/oldiofsetpos64.c: Check for compatibility with glibc 2.1. - * libio/oldiofgetpos64.c: Likewise. + * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (N_HCI): New. - * soft-fp/Makefile (distribute): Remove configure. + * sysdeps/unix/sysv/linux/mips/bits/ioctl-types.h (N_HCI): New. - * sysdeps/sparc/sparc64/soft-fp/Versions: Use version glibc 2.2. + * sysdeps/unix/sysv/linux/bits/ioctl-types.h (N_HCI): New. - * soft-fp/configure: Remove. +2001-07-04 Roland McGrath <roland@frob.com> - * soft-fp/sysdeps/sparc/sparc64/qp_neg.S: Move from here... - * sysdeps/sparc/sparc64/soft-fp/qp_neg.S: ... to here. + * 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. - * soft-fp/sysdeps/sparc/sparc32/Makefile: Move from here... - * sysdeps/sparc/sparc32/soft-fp/Makefile: ... to here. +2001-06-26 Roland McGrath <roland@frob.com> - * soft-fp/sysdeps/powerpc/Makefile: Move from here... - * sysdeps/powerpc/soft-fp/Makefile: ... to here. + * hurd/hurdioctl.c: Include <string.h> for memcpy decl. - * soft-fp/sysdeps/sparc/sparc64/Makefile: Move from here... - * sysdeps/sparc/sparc64/soft-fp/Makefile: ... to here. +2001-07-03 Andreas Jaeger <aj@suse.de> - * soft-fp/sysdeps/sparc/sparc64/qp_neg.S: Move from here... - * sysdeps/sparc/sparc64/soft-fp/qp_neg.S: ... to here. + * sysdeps/unix/sysv/sysv4/solaris2/configure.in: Remove check for + crypt add-on. - * soft-fp/sysdeps/powerpc/q_add.c: Move from here... - * sysdeps/powerpc/soft-fp/q_add.c: ... to here. +2001-07-01 Mark Kettenis <kettenis@gnu.org> - * soft-fp/sysdeps/powerpc/q_cmp.c: Move from here... - * sysdeps/powerpc/soft-fp/q_cmp.c: ... to here. + * 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>. - * soft-fp/sysdeps/powerpc/q_cmpe.c: Move from here... - * sysdeps/powerpc/soft-fp/q_cmpe.c: ... to here. +2001-06-30 Jakub Jelinek <jakub@redhat.com> - * soft-fp/sysdeps/powerpc/q_div.c: Move from here... - * sysdeps/powerpc/soft-fp/q_div.c: ... to here. + * sysdeps/powerpc/dl-machine.c (__elf_preferred_address): Prefer + gaps below main executable. - * soft-fp/sysdeps/powerpc/q_dtoq.c: Move from here... - * sysdeps/powerpc/soft-fp/q_dtoq.c: ... to here. +2001-06-19 Andreas Jaeger <aj@suse.de> - * soft-fp/sysdeps/powerpc/q_feq.c: Move from here... - * sysdeps/powerpc/soft-fp/q_feq.c: ... to here. + * sysdeps/powerpc/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE): + Handle profiling. - * soft-fp/sysdeps/powerpc/q_fge.c: Move from here... - * sysdeps/powerpc/soft-fp/q_fge.c: ... to here. +2001-06-29 Andreas Jaeger <aj@suse.de> - * soft-fp/sysdeps/powerpc/q_fgt.c: Move from here... - * sysdeps/powerpc/soft-fp/q_fgt.c: ... to here. + * sysdeps/ieee754/ldbl-128/s_asinhl.c: New file. + Patch by Stephen L Moshier <moshier@mediaone.net>. - * soft-fp/sysdeps/powerpc/q_fle.c: Move from here... - * sysdeps/powerpc/soft-fp/q_fle.c: ... to here. +2001-06-28 Ulrich Drepper <drepper@redhat.com> - * soft-fp/sysdeps/powerpc/q_flt.c: Move from here... - * sysdeps/powerpc/soft-fp/q_flt.c: ... to here. + * manual/argp.texi: Tons of cleanups. + Patch by Clifford U. Smith <cuel@swbell.net>. - * soft-fp/sysdeps/powerpc/q_fne.c: Move from here... - * sysdeps/powerpc/soft-fp/q_fne.c: ... to here. +2001-06-28 Mark Kettenis <kettenis@gnu.org> - * soft-fp/sysdeps/powerpc/q_itoq.c: Move from here... - * sysdeps/powerpc/soft-fp/q_itoq.c: ... to here. + * manual/users.texi (Setting Groups): Correct initgroups + documentation. Add documentation for getgrouplist. - * soft-fp/sysdeps/powerpc/q_lltoq.c: Move from here... - * sysdeps/powerpc/soft-fp/q_lltoq.c: ... to here. +2001-06-28 H.J. Lu <hjl@gnu.org> - * soft-fp/sysdeps/powerpc/q_mul.c: Move from here... - * sysdeps/powerpc/soft-fp/q_mul.c: ... to here. + * 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. - * soft-fp/sysdeps/powerpc/q_neg.c: Move from here... - * sysdeps/powerpc/soft-fp/q_neg.c: ... to here. +2001-06-28 Mark Kettenis <kettenis@gnu.org> - * soft-fp/sysdeps/powerpc/q_qtod.c: Move from here... - * sysdeps/powerpc/soft-fp/q_qtod.c: ... to here. + * 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. - * soft-fp/sysdeps/powerpc/q_qtoi.c: Move from here... - * sysdeps/powerpc/soft-fp/q_qtoi.c: ... to here. + * sysdeps/mach/hurd/Makefile ($(link-rpcuserlibs)): Add back + -Wl,-soname option lost in 2001-06-16 change. - * soft-fp/sysdeps/powerpc/q_qtoll.c: Move from here... - * sysdeps/powerpc/soft-fp/q_qtoll.c: ... to here. +2001-06-27 Ulrich Drepper <drepper@redhat.com> - * soft-fp/sysdeps/powerpc/q_qtos.c: Move from here... - * sysdeps/powerpc/soft-fp/q_qtos.c: ... to here. + * 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. - * soft-fp/sysdeps/powerpc/q_qtou.c: Move from here... - * sysdeps/powerpc/soft-fp/q_qtou.c: ... to here. + * posix/Makefile: Add rules to build and run tst-regex. - * soft-fp/sysdeps/powerpc/q_qtoull.c: Move from here... - * sysdeps/powerpc/soft-fp/q_qtoull.c: ... to here. +2001-06-20 Isamu Hasegawa <isamu@yamato.ibm.com> - * soft-fp/sysdeps/powerpc/q_sqrt.c: Move from here... - * sysdeps/powerpc/soft-fp/q_sqrt.c: ... to here. + * 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. - * soft-fp/sysdeps/powerpc/q_stoq.c: Move from here... - * sysdeps/powerpc/soft-fp/q_stoq.c: ... to here. +2001-06-26 Isamu Hasegawa <isamu@yamato.ibm.com> - * soft-fp/sysdeps/powerpc/q_sub.c: Move from here... - * sysdeps/powerpc/soft-fp/q_sub.c: ... to here. + * posix/regex.c (count_mbs_length): Use binary search for optimization. - * soft-fp/sysdeps/powerpc/q_ulltoq.c: Move from here... - * sysdeps/powerpc/soft-fp/q_ulltoq.c: ... to here. +2001-06-27 Ulrich Drepper <drepper@redhat.com> - * soft-fp/sysdeps/powerpc/q_util.c: Move from here... - * sysdeps/powerpc/soft-fp/q_util.c: ... to here. + * posix/tst-regex.c: Fix several bugs. Add more tests. - * soft-fp/sysdeps/powerpc/q_utoq.c: Move from here... - * sysdeps/powerpc/soft-fp/q_utoq.c: ... to here. +2001-06-26 Mark Kettenis <kettenis@gnu.org> - * soft-fp/sysdeps/sparc/sparc32/q_add.c: Move from here... - * sysdeps/sparc/sparc32/soft-fp/q_add.c: ... to here. + * 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>. - * soft-fp/sysdeps/sparc/sparc32/q_cmp.c: Move from here... - * sysdeps/sparc/sparc32/soft-fp/q_cmp.c: ... to here. +2001-06-25 Ulrich Drepper <drepper@redhat.com> - * soft-fp/sysdeps/sparc/sparc32/q_cmpe.c: Move from here... - * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c: ... to here. + * 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>. - * soft-fp/sysdeps/sparc/sparc32/q_div.c: Move from here... - * sysdeps/sparc/sparc32/soft-fp/q_div.c: ... to here. + * elf/dl-deps.c (_dl_map_object_deps): Fix handling of failing + _dl_catch_error calls. - * soft-fp/sysdeps/sparc/sparc32/q_dtoq.c: Move from here... - * sysdeps/sparc/sparc32/soft-fp/q_dtoq.c: ... to here. +2001-06-22 Jakub Jelinek <jakub@redhat.com> - * soft-fp/sysdeps/sparc/sparc32/q_feq.c: Move from here... - * sysdeps/sparc/sparc32/soft-fp/q_feq.c: ... to here. + * posix/regex.c (regex_compile, re_match_2_internal): Fix comment + typos. - * soft-fp/sysdeps/sparc/sparc32/q_fge.c: Move from here... - * sysdeps/sparc/sparc32/soft-fp/q_fge.c: ... to here. +2001-06-01 Wolfram Gloger <wg@malloc.de> - * soft-fp/sysdeps/sparc/sparc32/q_fgt.c: Move from here... - * sysdeps/sparc/sparc32/soft-fp/q_fgt.c: ... to here. + * 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. - * soft-fp/sysdeps/sparc/sparc32/q_fle.c: Move from here... - * sysdeps/sparc/sparc32/soft-fp/q_fle.c: ... to here. +2001-06-22 Andreas Jaeger <aj@suse.de> - * soft-fp/sysdeps/sparc/sparc32/q_flt.c: Move from here... - * sysdeps/sparc/sparc32/soft-fp/q_flt.c: ... to here. + * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Add parenthese + to avoid warnings. - * soft-fp/sysdeps/sparc/sparc32/q_fne.c: Move from here... - * sysdeps/sparc/sparc32/soft-fp/q_fne.c: ... to here. + * sysdeps/i386/fpu/e_expl.c (__ieee754_expl): Remove unused + variable. + Add unused attributes to avoid warnings. - * soft-fp/sysdeps/sparc/sparc32/q_itoq.c: Move from here... - * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: ... to here. + * elf/reldep4mod4.c: Add prototype to avoid warning. + * elf/reldep4mod2.c: Likewise. - * soft-fp/sysdeps/sparc/sparc32/q_mul.c: Move from here... - * sysdeps/sparc/sparc32/soft-fp/q_mul.c: ... to here. + * sysdeps/i386/fpu/e_expl.c: Include <math_private.h> for + prototypes. - * soft-fp/sysdeps/sparc/sparc32/q_neg.c: Move from here... - * sysdeps/sparc/sparc32/soft-fp/q_neg.c: ... to here. +2001-06-18 Roland McGrath <roland@frob.com> - * soft-fp/sysdeps/sparc/sparc32/q_qtod.c: Move from here... - * sysdeps/sparc/sparc32/soft-fp/q_qtod.c: ... to here. + * hurd/hurd/fd.h (_hurd_fd_error_signal): Change return type to int. - * soft-fp/sysdeps/sparc/sparc32/q_qtoi.c: Move from here... - * sysdeps/sparc/sparc32/soft-fp/q_qtoi.c: ... to here. +2001-06-20 Alexandre Oliva <aoliva@redhat.com> - * soft-fp/sysdeps/sparc/sparc32/q_qtos.c: Move from here... - * sysdeps/sparc/sparc32/soft-fp/q_qtos.c: ... to here. + * sysdeps/unix/sysv/settimeofday.c: Include time.h. - * soft-fp/sysdeps/sparc/sparc32/q_qtoui.c: Move from here... - * sysdeps/sparc/sparc32/soft-fp/q_qtoui.c: ... to here. +2001-06-19 Martin Schwidefsky <schwidefsky@de.ibm.com> - * soft-fp/sysdeps/sparc/sparc32/q_qtoux.c: Move from here... - * sysdeps/sparc/sparc32/soft-fp/q_qtoux.c: ... to here. + * sysdeps/unix/sysv/linux/s390/s390-64/dl-cache.h: New file. - * soft-fp/sysdeps/sparc/sparc32/q_qtox.c: Move from here... - * sysdeps/sparc/sparc32/soft-fp/q_qtox.c: ... to here. +2001-05-09 Michael Keezer <mkeezer@redhat.com> - * soft-fp/sysdeps/sparc/sparc32/q_sqrt.c: Move from here... - * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c: ... to here. + * 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. - * soft-fp/sysdeps/sparc/sparc32/q_stoq.c: Move from here... - * sysdeps/sparc/sparc32/soft-fp/q_stoq.c: ... to here. + * 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. - * soft-fp/sysdeps/sparc/sparc32/q_sub.c: Move from here... - * sysdeps/sparc/sparc32/soft-fp/q_sub.c: ... to here. +2001-06-19 Ulrich Drepper <drepper@redhat.com> - * soft-fp/sysdeps/sparc/sparc32/q_uitoq.c: Move from here... - * sysdeps/sparc/sparc32/soft-fp/q_uitoq.c: ... to here. + * po/es.po: Update from translation team. - * soft-fp/sysdeps/sparc/sparc32/q_util.c: Move from here... - * sysdeps/sparc/sparc32/soft-fp/q_util.c: ... to here. +2001-06-19 Andreas Jaeger <aj@suse.de> - * soft-fp/sysdeps/sparc/sparc32/q_uxtoq.c: Move from here... - * sysdeps/sparc/sparc32/soft-fp/q_uxtoq.c: ... to here. + * sysdeps/ieee754/ldbl-128/s_tanhl.c: New file. - * soft-fp/sysdeps/sparc/sparc32/q_xtoq.c: Move from here... - * sysdeps/sparc/sparc32/soft-fp/q_xtoq.c: ... to here. + * math/libm-test.inc (tanh_test): Test for 2^-56. - * soft-fp/sysdeps/sparc/sparc64/qp_add.c: Move from here... - * sysdeps/sparc/sparc64/soft-fp/qp_add.c: ... to here. + * 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>. - * soft-fp/sysdeps/sparc/sparc64/qp_cmp.c: Move from here... - * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: ... to here. +2001-06-17 Alan Modra <amodra@bigpond.net.au> - * soft-fp/sysdeps/sparc/sparc64/qp_cmpe.c: Move from here... - * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: ... to here. + * sysdeps/hppa/dl-machine.h (elf_machine_rela): Handle relocs + at unaligned address. - * soft-fp/sysdeps/sparc/sparc64/qp_div.c: Move from here... - * sysdeps/sparc/sparc64/soft-fp/qp_div.c: ... to here. +2001-06-18 Ulrich Drepper <drepper@redhat.com> - * soft-fp/sysdeps/sparc/sparc64/qp_dtoq.c: Move from here... - * sysdeps/sparc/sparc64/soft-fp/qp_dtoq.c: ... to here. + * 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>. - * soft-fp/sysdeps/sparc/sparc64/qp_feq.c: Move from here... - * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: ... to here. + * po/nl.po: Update from translation team. - * soft-fp/sysdeps/sparc/sparc64/qp_fge.c: Move from here... - * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: ... to here. +2001-06-09 Bruno Haible <haible@clisp.cons.org> - * soft-fp/sysdeps/sparc/sparc64/qp_fgt.c: Move from here... - * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: ... to here. + * 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. + +2001-05-26 Bruno Haible <haible@clisp.cons.org> + + * iconvdata/tst-tables.sh: For SJIS module, use SHIFT_JIS charmap. + * manual/charset.texi: Write Shift_JIS, not Shift-JIS. - * soft-fp/sysdeps/sparc/sparc64/qp_fle.c: Move from here... - * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: ... to here. +2001-06-17 Roland McGrath <roland@frob.com> + + * sysdeps/pthread/aio_misc.h (LIO_DSYNC): Define to LIO_NOP + 1, + not LIO_READ + 1 (which is the value of LIO_WRITE!). - * soft-fp/sysdeps/sparc/sparc64/qp_flt.c: Move from here... - * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: ... to here. + * 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. + + * posix/spawni.c: Moved to ... + * sysdeps/posix/spawni.c: ... here. + * sysdeps/generic/spawni.c: New file. + +2001-06-16 Roland McGrath <roland@frob.com> + + * 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. + + * hurd/hurdexec.c (_hurd_exec): Be robust for DTABLESIZE==0. + +2001-06-17 Ulrich Drepper <drepper@redhat.com> + + * po/ja.po: Update from translation team. + +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. - * soft-fp/sysdeps/sparc/sparc64/qp_fne.c: Move from here... - * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: ... to here. +2001-06-15 Andreas Schwab <schwab@suse.de> - * soft-fp/sysdeps/sparc/sparc64/qp_itoq.c: Move from here... - * sysdeps/sparc/sparc64/soft-fp/qp_itoq.c: ... to here. + * sysdeps/m68k/fpu/bits/mathinline.h: Don't define log2 as inline. + * sysdeps/m68k/fpu/mathimpl.h: Define __ieee754_log2 as inline. - * soft-fp/sysdeps/sparc/sparc64/qp_mul.c: Move from here... - * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: ... to here. +2001-06-15 Andreas Jaeger <aj@suse.de> - * soft-fp/sysdeps/sparc/sparc64/qp_qtod.c: Move from here... - * sysdeps/sparc/sparc64/soft-fp/qp_qtod.c: ... to here. + * gmon/tst-sprofil.c (fac): Make static to avoid compiler warning. - * soft-fp/sysdeps/sparc/sparc64/qp_qtoi.c: Move from here... - * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: ... to here. +2001-06-14 Andreas Schwab <schwab@suse.de> - * soft-fp/sysdeps/sparc/sparc64/qp_qtos.c: Move from here... - * sysdeps/sparc/sparc64/soft-fp/qp_qtos.c: ... to here. + * elf/ldconfig.c (search_dir): Fix check for regular file. - * soft-fp/sysdeps/sparc/sparc64/qp_qtoui.c: Move from here... - * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: ... to here. + * sysdeps/m68k/fpu/e_log2f.c: Fix typo. + * sysdeps/m68k/fpu/e_log2l.c: Fix typo. - * soft-fp/sysdeps/sparc/sparc64/qp_qtoux.c: Move from here... - * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: ... to here. +2001-06-14 Roland McGrath <roland@frob.com> - * soft-fp/sysdeps/sparc/sparc64/qp_qtox.c: Move from here... - * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: ... to here. + * sysdeps/mach/hurd/bits/fcntl.h [ __USE_POSIX199309 || __USE_UNIX98]: + (O_DSYNC, O_RSYNC): New macros, both defined to O_SYNC as Linux does. - * soft-fp/sysdeps/sparc/sparc64/qp_sqrt.c: Move from here... - * sysdeps/sparc/sparc64/soft-fp/qp_sqrt.c: ... to here. +2001-06-13 Roland McGrath <roland@frob.com> - * soft-fp/sysdeps/sparc/sparc64/qp_stoq.c: Move from here... - * sysdeps/sparc/sparc64/soft-fp/qp_stoq.c: ... to here. + * rt/aio_notify.c: Include <unistd.h> for _POSIX_REALTIME_SIGNALS. - * soft-fp/sysdeps/sparc/sparc64/qp_sub.c: Move from here... - * sysdeps/sparc/sparc64/soft-fp/qp_sub.c: ... to here. + * sysdeps/mach/hurd/fork.c (LOSE): Put `goto lose' in dead code + so the label is not considered unused. - * soft-fp/sysdeps/sparc/sparc64/qp_uitoq.c: Move from here... - * sysdeps/sparc/sparc64/soft-fp/qp_uitoq.c: ... to here. + * sysdeps/mach/hurd/pwrite64.c: New file. + * sysdeps/mach/hurd/pread64.c: New file. - * soft-fp/sysdeps/sparc/sparc64/qp_util.c: Move from here... - * sysdeps/sparc/sparc64/soft-fp/qp_util.c: ... to here. + * 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. - * soft-fp/sysdeps/sparc/sparc64/qp_uxtoq.c: Move from here... - * sysdeps/sparc/sparc64/soft-fp/qp_uxtoq.c: ... to here. + 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. - * soft-fp/sysdeps/sparc/sparc64/qp_xtoq.c: Move from here... - * sysdeps/sparc/sparc64/soft-fp/qp_xtoq.c: ... to here. + * rt/aio_notify.c (__aio_notify_only) [! _POSIX_REALTIME_SIGNALS]: + Use raise instead of __aio_sigqueue. - * soft-fp/sysdeps/sparc/sparc64/s_frexpl.c: Move from here... - * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: ... to here. + * sysdeps/mach/hurd/pread.c: Fail with EINVAL if OFFSET is negative. + * sysdeps/mach/hurd/pwrite.c: Likewise. - * soft-fp/sysdeps/sparc/sparc64/s_ilogbl.c: Move from here... - * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: ... to here. + * 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. - * soft-fp/sysdeps/sparc/sparc64/s_scalblnl.c: Move from here... - * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: ... to here. +2001-06-13 Ulrich Drepper <drepper@redhat.com> - * soft-fp/sysdeps/sparc/sparc64/s_scalbnl.c: Move from here... - * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c: ... to here. + * 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]. - * soft-fp/sysdeps/alpha/sfp-machine.h: Move from here... - * sysdeps/alpha/soft-fp/sfp-machine.h: ... to here. + * elf/elf.h: Add a few more EM_* constants. - * soft-fp/sysdeps/i386/sfp-machine.h: Move from here... - * sysdeps/i386/soft-fp/sfp-machine.h: ... to here. +2001-06-12 Bruno Haible <haible@clisp.cons.org> - * soft-fp/sysdeps/mips/mips64/sfp-machine.h: Move from here... - * sysdeps/mips/mips64/soft-fp/sfp-machine.h: ... to here. + * intl/dcigettext.c (DCIGETTEXT): Release the lock before returning. - * soft-fp/sysdeps/mips/sfp-machine.h: Move from here... - * sysdeps/mips/soft-fp/sfp-machine.h: ... to here. +2001-06-09 Ben Collins <bcollins@debian.org> - * soft-fp/sysdeps/powerpc/sfp-machine.h: Move from here... - * sysdeps/powerpc/soft-fp/sfp-machine.h: ... to here. + * 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. - * soft-fp/sysdeps/sparc/sparc32/sfp-machine.h: Move from here... - * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h: ... to here. +2001-06-13 Ulrich Drepper <drepper@redhat.com> - * soft-fp/sysdeps/sparc/sparc64/sfp-machine.h: Move from here... - * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: ... to here. + * time/sys/time.h: Don't use enum __itimer_which ever for + __itimer_which_t for C++. + Reported by Martin Buchholz <martin@xemacs.org>. - * soft-fp/sysdeps/powerpc/Versions: Move from here... - * sysdeps/powerpc/soft-fp/Versions: ... to here. + * po/fr.po: Update from translation team. - * soft-fp/sysdeps/sparc/sparc64/Versions: Move from here... - * sysdeps/sparc/sparc64/soft-fp/Versions: ... to here. +2001-06-12 H.J. Lu <hjl@gnu.org> - * libio/oldiofsetpos64.c: iofsetpos was introduced in glibc 2.1, - change symbol version. - * libio/oldiofgetpos64.c: Likewise. - Reported by Martin v. Loewis <martin@loewis.home.cs.tu-berlin.de>. + * configure.in: Fix typos in missing program names. + * configure: Regenerated. - * locale/programs/ld-ctype.c (charclass_charcode_ellipsis): Fix - typo. - Reported by dyky@kondara.org, closes PR libc/1886. +2001-06-12 Andreas Jaeger <aj@suse.de> - * stdlib/tst-strtod.c: Add testcases for denormal numbers from PR - libc/1880. + * iconvdata/tst-table-to.c: Include string.h for strcmp prototype. -2000-09-04 Ulrich Drepper <drepper@redhat.com> + * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Add ULPs for tanh (-0.7). - * iconvdata/run-iconv-test.sh: Add code to immediately stop the - script when ^C is hit. +2001-06-11 Andreas Jaeger <aj@suse.de> - * locale/programs/localedef.c (construct_output_path): Correct - computation of endp after asprintf. - * locale/programs/locfile.c (write_locale_data): Don't add extra - slash in filename. + * sysdeps/ieee754/ldbl-128/e_coshl.c: New file. Contributed by + Stephen L Moshier <moshier@mediaone.net>. -2000-09-05 Andreas Jaeger <aj@suse.de> + * aclocal.m4: Quote AC_FD_MSG and AC_FD_CC. - * scripts/config.guess: New upstream version. - * scripts/config.sub: Likewise. - * manual/texinfo.tex: Likewise. - -2000-09-04 Andreas Schwab <schwab@suse.de> - - * elf/Makefile (all-dl-routines): New variable. - (elide-routines.os): Use it instead of $(dl-routines). - (all-rtld-routines): New variable. - (extra-objs): Use it instead of $(rtld-routines). - ($(objpfx)dl-allobjs.os): Likewise. - * sysdeps/ia64/Makefile [$(subdir) = elf]: Modify - sysdep-dl-routines and sysdep_routines instead of rtld-routines - and dl-routines. + * sysdeps/powerpc/fpu/libm-test-ulps: Add ULPs for tanh (-0.7). + * sysdeps/s390/fpu/libm-test-ulps: Likewise. -2000-09-03 Bruno Haible <haible@clisp.cons.org> +2001-06-11 Michael Deutschmann <michael@talamasca.ocis.net> - * iconv/gconv_trans.c (__gconv_translit_find): Update open_count. - Set fname to NULL if the module wasn't found. + * 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. -2000-09-03 Bruno Haible <haible@clisp.cons.org> +2001-06-11 Andreas Jaeger <aj@suse.de>, + Michael Deutschmann <michael@talamasca.ocis.net> - * iconv/gconv_trans.c (__gconv_translit_find): Don't set need_so to - true if trans->name already ends in ".so". + * io/test-lfs.c (do_prepare): Clean up error messages. + (test_ftello): Check for EFBIG and ENOSPC, clean up error messages. + (do_test): Likewise. -2000-09-03 Bruno Haible <haible@clisp.cons.org> +2001-06-11 Andreas Jaeger <aj@suse.de> - * iconv/gconv_int.h (__gconv_release_shlib): Change return type to - void. - * iconv/gconv_dl.c (do_release_shlib): Don't decrement the counter - below -TRIES_BEFORE_UNLOAD-1, to avoid wraparound. - (__gconv_release_shlib): Change return type to void. - * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Don't set - step->__counter here. - * iconv/gconv_db.c (free_derivation): Don't call a step's destructor - if the reference is zero. - (release_step): New function. - (gen_steps): Always initialize the __counter to 1. Use release_step. - Don't call the destructor on the step whose initializer failed. - (increment_counter): Use release_step. Don't normally run destructors - here. - (__gconv_close_transform): Use release_step. + * 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>. -2000-09-03 Bruno Haible <haible@clisp.cons.org> +2001-06-10 Ben Collins <bcollins@debian.org> - * iconv/gconv_simple.c (encoding_mask, encoding_byte): Remove. - (__gconv_transform_internal_utf8) [BODY]: Use simple shifts instead. + * sysdeps/arm/elf/start.S: Use #function, not @function, for + .type of _start. -2000-09-03 Bruno Haible <haible@clisp.cons.org> + * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Include limits.h to get + INT_MAX. - * iconvdata/euc-tw.c (BODY for FROM_LOOP): Initialize ch2 correctly. - If the first byte is 0x8E, don't ask for 4 bytes until it has been - verified that the second byte is valid. Leave it to cns11643_to_ucs4 - to check for incomplete input. - * iconvdata/cns11643.h (cns11643_to_ucs4): The plane number is - ch - 0x20 - offset, not ch - 0x21 - offset. Upper bound for - __cns11643l1_to_ucs4_tab is 0x21f2, not 0x2196. - (ucs4_to_cns11643): Fix mapping for ranges 0x3105..0x3129 and - 0x9f9d..0x9fa5. - * iconvdata/cns11643l1.h (cns11643l1_to_ucs4): Upper bound for - __cns11643l1_to_ucs4_tab is 0x21f2, not 0x2196. - (ucs4_to_cns11643l1): Fix mapping for range 0x3105..0x3129. - * iconvdata/cns11643l1.c (__cns11643l1_from_ucs4_tab6): Extend - upto index 0x0052. +2001-06-07 H.J. Lu <hjl@gnu.org> -2000-09-03 Bruno Haible <haible@clisp.cons.org> + * sunrpc/rpc/rpc.h: Add __BEGIN_DECLS/__END_DECLS. - * iconv/gconv_db.c (find_derivation): Always use the least-cost - solution. +2001-06-10 Roland McGrath <roland@frob.com> -2000-09-03 Bruno Haible <haible@clisp.cons.org> + * elf/reldep4mod2.c: Use fully typed decls to avoid warnings. + * elf/reldep4mod4.c: Likewise. - * iconvdata/big5.c (BODY for FROM_LOOP): Bytes 0x81..0xA0, 0xFA..0xFF - are invalid. +2001-06-10 Mark Kettenis <kettenis@gnu.org> -2000-09-03 Bruno Haible <haible@clisp.cons.org> + * hurd/hurd/threadvar.h: Add prototype for __hurd_errno_location. - * iconvdata/jis0208.c (__jis0208_to_ucs): Map EUC-JP 0xA1C0 to U+005C. - * iconvdata/jis0212.c (__jisx0212_to_ucs): Map EUC-JP 0x8FA2B7 to - U+007E. +2001-06-08 Andreas Schwab <schwab@suse.de> -2000-09-03 Bruno Haible <haible@clisp.cons.org> + * posix/regex.c (re_match_2_internal) [case wordbeg, wordend]: + Don't dereference at end of string. - * iconvdata/sjis.c (cjk_block1): Map 0x815F to U+005C. +2001-06-06 Roland McGrath <roland@frob.com> -2000-09-03 Bruno Haible <haible@clisp.cons.org> + * sysdeps/mach/hurd/getsockopt.c: Fix handling of returned buffer size. + From Robert Bihlmeyer <robbe@orcus.priv.at>. - * iconvdata/iso_6937-2.c (to_ucs4): Map 0xB4 to U+00D7. +2001-06-06 Ulrich Drepper <drepper@redhat.com> -2000-09-03 Bruno Haible <haible@clisp.cons.org> + * po/ko.po: Update from translation team. - * iconvdata/tst-tables.sh: New file. - * iconvdata/tst-table.sh: New file. - * iconvdata/tst-table-from.c: New file. - * iconvdata/tst-table-to.c: New file. - * iconvdata/tst-table-charmap.sh: New file. - * iconvdata/Makefile (test-srcs): Set to tst-table-from tst-table-to. - (distribute): Add tst-tables.sh, tst-table.sh, tst-table-charmap.sh, - tst-table-from.c, tst-table-to.c, EUC-JP.irreversible, - ISIRI-3342.irreversible, SJIS.irreversible. - (tests): Add dependency on tst-tables.out. - (tst-tables.out, tst-tables-clean): New rules. - (do-tests-clean, common-mostlyclean): Require tst-tables-clean. - * iconvdata/ISIRI-3342.irreversible: New file. - * iconvdata/EUC-JP.irreversible: New file. - * iconvdata/SJIS.irreversible: New file. +2001-06-06 Andreas Jaeger <aj@suse.de> -2000-09-04 Ulrich Drepper <drepper@redhat.com> + * manual/llio.texi (Memory-mapped I/O): Clarify that mapping is to + offset+length-1. + Reported by Robert Bernecky <bernecky@acm.org>. - * manual/locale.texi (General Numeric): Update description of - representation of the grouping information in the locale data. - Patch by Gaute B. Strokkenes <gs234@cam.ac.uk>. +2001-06-06 Jakub Jelinek <jakub@redhat.com> -2000-09-04 Andreas Jaeger <aj@suse.de> + * 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. - * locale/programs/ld-monetary.c (monetary_read): Fix typo. - * iconv/iconv_prog.c (options): Fix typo. - Reported by dyky@kondara.org, closes PR libc/1885. +2001-06-05 Matthew Wilcox <willy@ldl.fc.hp.com> -2000-09-04 Andreas Jaeger <aj@suse.de> + * sysdeps/hppa/bsd-_setjmp.S: New. + * sysdeps/hppa/bsd-setjmp.S: New. - * sysdeps/generic/fegetenv.c: It's __fegetenv. - Reported by Rob Levin <lilo@transvirtual.com>. + * sysdeps/hppa/dl-machine.h: Reformat asm statements to remove new + gcc warnings about multi-line strings. -2000-09-03 Ulrich Drepper <drepper@redhat.com> + * sysdeps/unix/sysv/linux/hppa/getrlimit.c: Remove. + * sysdeps/unix/sysv/linux/hppa/setrlimit.c: Remove. - * time/sys/time.h (gettimeofday): Move restrict for tz parameter - to the typedefs of __timezone_ptr_t. - Reported by MATSUMURA Hiromitsu <coji2@mb.infoweb.ne.jp>. + * sysdeps/unix/sysv/linux/hppa/syscalls.list: Call getrlimit, + setrlimit directly instead of using wrappers. -2000-09-02 Jakub Jelinek <jakub@redhat.com> +2001-05-01 Richard Hirst <rhirst@linuxcare.com> - * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Increment counter in - the loop. + * sysdeps/unix/sysv/linux/hppa/syscall.S: remove dummy syscall. + * sysdeps/unix/sysv/linux/hppa/sysdep.c: implement syscall. -2000-09-01 H.J. Lu <hjl@gnu.org> +2001-06-05 Philipp Thomas <pthomas@suse.de> - * Makeconfig (built-program-cmd): Don't use the dynamic linker - to run a binary if it is in $(tests-static). + * nis/nis_call.c (__nisbind_connect): Don't mark for translation + what can't be translated. - * Rules (binaries-static): Add $(tests-static). +2001-06-06 Ulrich Drepper <drepper@redhat.com> -2000-09-02 Andreas Jaeger <aj@suse.de> + * 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. - * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Fixes for fcntl64. +2001-06-04 Bruno Haible <haible@clisp.cons.org> - * libio/fmemopen.c (fmemopen_close): Revert one part of last - patch. + * 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. -2000-09-01 Ulrich Drepper <drepper@redhat.com> +2001-06-04 Jakub Jelinek <jakub@redhat.com> - * iconvdata/big5hkscs.c: Regenerated from charmap. - * iconvdata/testdata/BIG5HKSCS: Regenerated. - * iconvdata/testdata/BIG5HKSCS..UTF8: Regenerated. + * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Fix + overflow threshold constant (log(LDBL_MAX)+M_LN2l). - * libio/fmemopen.c (fmemopen_seek): Add default case in switch - statement. General cleanup. +2001-05-29 Bruno Haible <haible@clisp.cons.org> -2000-08-31 Bruno Haible <haible@clisp.cons.org> + * 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. - * wctype/wcfuncs.c (iswblank): New function. - * wctype/wcfuncs_l.c (__iswblank_l): New function. - * wctype/wcextra.c: Remove file. - * wctype/wcextra_l.c: Remove file. - * wctype/Makefile (distribute): Remove wcextra and wcextra_l. + * locale/programs/charmap.c (charmap_new_char): Fix ucs4 value + computation of characters in a range. -2000-08-31 Bruno Haible <haible@clisp.cons.org> +2001-05-29 Bruno Haible <haible@clisp.cons.org> - * locale/programs/ld-collate.c (collate_output): Remove redundant - assert call. - * string/strcoll.c: Likewise. - * string/strxfrm.c: Include assert.h. Add assert calls like in - string/strcoll.c. - -2000-08-31 Bruno Haible <haible@clisp.cons.org> - - * locale/categories.def (_NL_COLLATE_HASH_SIZE, - _NL_COLLATE_HASH_LAYERS, _NL_COLLATE_NAMES, _NL_CTYPE_NAMES, - _NL_CTYPE_HASH_SIZE, _NL_CTYPE_HASH_LAYERS): Remove definitions. - * locale/langinfo.h (_NL_COLLATE_HASH_SIZE, _NL_COLLATE_HASH_LAYERS, - _NL_COLLATE_NAMES): Rename to _NL_COLLATE_GAP1/2/3 respectively. - (_NL_CTYPE_NAMES): Rename to _NL_CTYPE_GAP3. - (_NL_CTYPE_GAP3): Rename to _NL_CTYPE_GAP4. - (_NL_CTYPE_HASH_SIZE, _NL_CTYPE_HASH_LAYERS): Rename to - _NL_CTYPE_GAP5/6 respectively. - - * locale/C-ctype.c (_nl_C_LC_CTYPE): Update. - * ctype/ctype-info.c (__ctype_names, __ctype_width): Remove variables. - * locale/lc-ctype.c (_nl_postload_ctype): Assume new locale format. - Don't initialize __ctype_names and __ctype_width. - * wctype/cname-lookup.h: Remove file. - * wctype/Makefile (distribute): Remove cname-lookup.h. - * wctype/wchar-lookup.h: Include stdint.h. - * wctype/wctype.c (__wctype): Assume new locale format. - * wctype/wctype_l.c (__wctype_l): Likewise. - * wctype/iswctype.c: Don't include cname-lookup.h. - (__iswctype): Assume new locale format. - * wctype/iswctype_l.c: Don't include cname-lookup.h. - (__iswctype_l): Assume new locale format. - * wctype/wctrans.c: Don't include ctype.h. - (wctrans): Assume new locale format. - * wctype/wctrans_l.c (__wctrans_l): Likewise. - * wctype/towctrans.c: Don't include cname-lookup.h. - (__towctrans): Assume new locale format. - * wctype/towctrans_l.c: Don't include cname-lookup.h. - (__towctrans_l): Assume new locale format. - * wctype/wcfuncs.c: Don't include ctype.h and cname-lookup.h. Include - localeinfo.h instead. - (__NO_WCTYPE): Remove unused macro. - (__ctype32_b, __ctype32_toupper, __ctype32_tolower): Remove + * 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. - (iswalnum, iswalpha, iswcntrl, iswdigit, iswlower, iswgraph, iswprint, - iswpunct, iswspace, iswupper, iswxdigit): Assume new locale format. - (towlower, towupper): Likewise. - * wctype/wcfuncs_l.c: Don't include cname-lookup.h. Include - localeinfo.h instead. - (__NO_WCTYPE): Remove unused macro. - (__iswalnum_l, __iswalpha_l, __iswcntrl_l, __iswdigit_l, __iswlower_l, - __iswgraph_l, __iswprint_l, __iswpunct_l, __iswspace_l, __iswupper_l, - __iswxdigit_l): Assume new locale format. - (__towlower_l, __towupper_l): Likewise. - * wcsmbs/wcwidth.h: Don't include cname-lookup.h. - (__ctype32_b): Remove declaration. - (internal_wcwidth): Assume new locale format. - * locale/programs/ld-ctype.c (struct locale_ctype_t): Remove fields - plane_size, plane_cnt, names, width. Rename map to map_b, rename map32 - to map32_b, rename width_3level to width. - (ctype_output): Always create new locale format. Don't emit - _NL_CTYPE_NAMES, _NL_CTYPE_HASH_SIZE, _NL_CTYPE_HASH_LAYERS any more. - (allocate_arrays): Always create new locale format. - - * locale/C-collate.c (_nl_C_LC_COLLATE): Update. - * locale/weightwc.h (findidx): Assume new locale format. - * string/strcoll.c (wcscoll): Remove local variables size, layers, - names. - * string/strxfrm.c (wcsxfrm): Likewise. - * posix/fnmatch_loop.c (internal_fnwmatch): Likewise. Change type of - local variable collseq to 'const char *'. - (SUFFIX): Don't use, don't undefine. - * posix/fnmatch.c: Remove SUFFIX definition. - * locale/programs/ld-collate.c (struct locale_collate_t): Remove - fields plane_size, plane_cnt, wcheads, wcseqorder. Rename - wcheads_3level to wcheads, rename wcseqorder_3level to wcseqorder. - (collate_finish): Always create new locale format. Remove local - variables min_total, act_size. - (collate_output): Always create new locale format. Remove local - variables table_size, names, tablewc. Rename tablewc_3level to - tablewc. - -2000-08-31 Bruno Haible <haible@clisp.cons.org> - - * locale/programs/ld-collate.c (obstack_int32_grow, - obstack_int32_grow_fast): New inline functions. - (output_weightwc, collate_output): Use them where possible. - -2000-09-01 Ulrich Drepper <drepper@redhat.com> - - * libio/libio.h (_IO_flockfile, _IO_funlockfile): Fix typo in last - patch (_mode -> _flags). - - * libio/Makefile (headers): Add stdio_ext.h. - (routines): Add __fbufsize, __freading, __fwriting, __freadable, - __fwritable, __flbf, __fpurge, __fpending, and __fsetlocking. - * libio/Versions [libc] (GLIBC_2.2): Add __fbufsize, __freading, - __fwriting, __freadable, __fwritable, __flbf, __fpurge, __fpending, - __fsetlocking, and _flushlbf. - * libio/__fbufsize.c: New file. - * libio/__flbf.c: New file. - * libio/__fpending.c: New file. - * libio/__fpurge.c: New file. - * libio/__freadable.c: New file. - * libio/__freading.c: New file. - * libio/__fsetlocking.c: New file. - * libio/__fwritable.c: New file. - * libio/__fwriting.c: New file. - * libio/stdio_ext.h: New file. - * libio/genops.c (_IO_flush_all_linebuffered): Add alias _flushlbf. - * libio/libio.h (_IO_USER_LOCK): Define. - [_IO_MTSAFE_IO] (_IO_flockfile, _IO_funlockfile): Add macros which - test _IO_USER_LOCK flag first. - - * iconv/gconv_open.c (__gconv_open): Set res to __GCONV_NOMEM is - malloc fails. - -2000-09-01 Andreas Jaeger <aj@suse.de> - - * sysdeps/unix/sysv/linux/bits/fcntl.h: Always fail. - - * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: New file. - -2000-08-31 Ulrich Drepper <drepper@redhat.com> - - * math/Makefile (tests): Add tst-defintions. - * math/tst-definitions.c: New file. - - * stdlib/Makefile (headers): Add bits/wchar.h. - * sysdeps/unix/sysv/linux/i386/bits/wchar.h: New file. - * sysdeps/generic/bits/wchar.h: New file. - * sysdeps/generic/stdint.h: Include <bits/wchar.h>. Use values in this - file to define WCHAR_MIN and WCHAR_MAX. - Change UINT*8_MAX and UIN*16_MAX value to type int. - * wcsmbs/wchar.h: Include <bits/wchar.h>. Use values in this - file to define WCHAR_MIN and WCHAR_MAX. - * sysdeps/alpha/fpu/bits/mathdef.h: Make FP_ILOGB0 and FP_ILOGBNAN - int values. - * sysdeps/arm/fpu/bits/mathdef.h: Likewise. - * sysdeps/generic/bits/mathdef.h: Likewise. - * sysdeps/i386/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. - * locale/locale.h (struct lconv): Add __ prefix to the new members - if not C99. - * sysdeps/generic/inttypes.h: Remove unnecessary imaxabs and - imaxdiv optimizations. - * sysdeps/wordsize-32/lldiv.c: Add hack to make alias work. - * sysdeps/wordsize-64/ldiv.c: Likewise. - * sysdeps/alpha/fpu/bits/fenv.h: Change type of FE_*_ENV macros to - const fenv_t*. - * sysdeps/generic/bits/fenv.h: Likewise. - * sysdeps/i386/fpu/bits/fenv.h: Likewise. - * sysdeps/ia64/bits/fenv.h: Likewise. - * sysdeps/m68k/fpu/bits/fenv.h: Likewise. - * sysdeps/mips/bits/fenv.h: Likewise. - * sysdeps/s390/fpu/bits/fenv.h: Likewise. - * sysdeps/sparc/fpu/bits/fenv.h: Likewise. - Reported by Joseph S. Myers <jsm28@cam.ac.uk>. + (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. - * inet/rcmd.c: Use *stat64 instead of *stat internally. - * inet/ruserpass.c: Likewise. - * catgets/open_catalog.c: Likewise. - * intl/loadmsgcat.c: Likewise. - * io/getdirname.c: Likewise. - * locale/loadlocale.c: Likewise. - * misc/getusershell.c: Likewise. - * stdlib/canonicalize.c: Likewise. - * sysdeps/posix/euidaccess.c: Likewise. - * sysdeps/posix/isfdtype.c: Likewise. - * sysdeps/posix/posix_fallocate.c: Likewise. - * sysdeps/posix/tempname.c: Likewise. - * sysdeps/unix/grantpt.c: Likewise. - * sysdeps/unix/opendir.c: Likewise. - * sysdeps/unix/sysv/linux/fstatvfs.c: Likewise. - * sysdeps/unix/sysv/linux/internal_statvfs.c: Likewise. - * sysdeps/unix/sysv/linux/ptsname.c: Likewise. - * sysdeps/unix/sysv/linux/statvfs.c: Likewise. - * sysdeps/unix/sysv/linux/ttyname.c: Likewise. - * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise. - * sysvipc/ftok.c: Likewise. - * time/getdate.c: Likewise. +2001-05-29 Bruno Haible <haible@clisp.cons.org> - * time/getdate.c: Add extra access test. + * locale/C-translit.h.in: Add transliterations for new Unicode 3.1 + mathematical symbols. -2000-08-31 Ulrich Drepper <drepper@redhat.com> +2001-06-05 Andreas Jaeger <aj@suse.de> - * version.h (VERSION): Bump to 2.1.93. + * manual/stdio.texi (Portable Positioning): Fix description of + fpos_t and fpos64_t. - * sysdeps/unix/sysv/linux/powerpc/Dist: Add fe_nomask.c. - * sysdeps/unix/sysv/linux/i386/Dist: Add olddirent.h. +2001-06-06 Ulrich Drepper <drepper@redhat.com> - * intl/Makefile (tests): Depend in mtrace-tst-gettext. - Make this a new rule depending on tst-gettext.out and run mtrace. - * intl/tst-gettext.c: Call mtrace. - * intl/tst-gettext.sh: Put MALLOC_TRACE in environment of tst-gettext. + * sysdeps/generic/wordexp.c: Undo last patch. Use strndupa instead. - * elf/dl-reloc.c: Add a few more __builtin_expect. + * po/sk.po: Update from translation team. - * configure.in: Remove --with-gettext option. +2001-06-05 Andreas Jaeger <aj@suse.de> - * intl/dcigettext.c (free_mem): Correct freeing of - _nl_domain_bindings list. + * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Recognize + tmpfs, patch by Stanislav Brabec <utx@penguin.cz>. + Closes PR libc/2315. - * sysdeps/generic/setenv.c (free_mem): New function. Free all - allocated memory. +2001-06-05 Ulrich Drepper <drepper@redhat.com> - * intl/locale.alias: Add aliases for bokmal and nynorsk. + * sysdeps/generic/wordexp.c: Add missing free. + Patch by yeti@physics.muni.cz. - * locale/iso-639.def: Fix 639-1 code for Bokmal. +2001-06-02 Tom Browder <tbrowder@home.com> - * stdio-common/itoa-digits.c: Move upper digits to... - * stdio-common/itoa-udigits.c: ...here. New file. - * stdio-common/Makefile (routines): Add itoa-udigits. + * misc/tst-tsearch.c (mangle_tree): Ensure array indices are + within bounds when lag > 0. - * sysdeps/i386/dl-machine.h (elf_machine_rel): For the version to - relocate ld.so don't add supprt for relocations which should not - appear in ld.so. +2001-06-05 Ulrich Drepper <drepper@redhat.com> - * malloc/malloc.c (ptmalloc_init): Optimize a bit by not calling - __secure_getenv. Instead test __libc_enable_secure once. + * po/tr.po: New file. - * io/pwd.c (main): Provide a good example, use *_unlocked function. +2001-06-05 Andreas Jaeger <aj@suse.de> -2000-08-30 Ulrich Drepper <drepper@redhat.com> + * manual/libm-err-tab.pl (parse_ulps): Fix typo. - * iconv/gconv_conf.c (insert_module): Take extra parameter to decide - whether the new record should be freed if it's a duplicate. - (add_module): Adjust insert_module call. - (__gconv_read_conf): Likewise. - * iconvdata/Makefile (generated): Add tst-loading.mtrace and - mtrace-tst-loading. - (tests): Make $(objpfx)mtrace-tst-loading a dependency. Add rule. +2001-06-04 H.J. Lu <hjl@gnu.org> - * sysdeps/generic/ldsodefs.h: Add declaration for _dl_all_dirs and - _dl_all_init_dirs. - * include/link.h (struct r_search_path_struct): New. - (struct link_map): Use it for l_rpath_dirs and l_runpath_dirs. - * elf/Versions [ld] (GLIBC_2.2): Add _dl_all_dirs and - _dl_all_init_dirs. - * elf/dl-close.c (_dl_close): Free l_rpath_dirs and l_runpath_dirs. - * elf/dl-libc.c (free_mem): Free _dl_all_dirs list except elements - added at startup time. - * elf/dl-load.c: Fix memory handling. r_search_path_struct - contains element to remember fact that we can free memory. - (all_dirs): Renamed to _dl_all_dirs. Made global. - (_dl_init_all_dirs): New variable. - (fillin_rpath): Save one malloc call. - (decompose_rpath): Change interface. New first parameter points to - r_search_path_struct. - (_dl_init_paths): Adjust for changes. Mark all memory as not - deletable. Set _dl_init_all_paths value. - (open_path): Remove may_free_dirs parameter. r_search_path_elem *** - parameter replaced with r_search_path_struct *. Information about - freeing now contained in r_search_path_struct. - (_dl_map_object): Adjust for above changes. + * 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. - * elf/dl-open.c (dl_open_worker): Change format of debug info a bit. +2001-06-04 Bruce Mitchener <bruce@cubik.org> - * elf/dl-load.c (fillin_rpath): Only check for trusted directories - when adding new entries. + * manual/resource.texi: Correct setpriority/nice documentation. - * elf/dl-load.c (fillin_rpath): Make local copy of where string - since the object being loaded can be unloaded. + * sysdeps/unix/nice.c: Correct nice() implementation. - * iconvdata/Makefile (tests): Add tst-loading. - * iconvdata/tst-loading.c: New file. +2001-06-04 Andreas Jaeger <aj@suse.de> -2000-08-29 Bruno Haible <haible@clisp.cons.org> + * sysdeps/ieee754/ldbl-128/e_sinhl.c: New file, contributed by + Stephen L Moshier <moshier@mediaone.net>. - * stdio-common/vfscanf.c (_IO_vfscanf): Back out last ungetc change. - When comparing a char with an int, always cast the char to - 'unsigned char'. New macro ungetc_not_eof, to avoid warnings when - compiling with -funsigned-char. Use UCHAR_MAX+1 instead of UCHAR_MAX. +2001-06-03 Roland McGrath <roland@frob.com> -2000-08-30 Ulrich Drepper <drepper@redhat.com> + * Makefile (postclean): Remove obsolete sysd-Makefile. - * time/strftime.c (my_strftime): Add compatibility code for use - outside glibc. Patch by Jim Meyering <meyering@ascend.com>. +2001-06-01 Roland McGrath <roland@frob.com> - * sysdeps/posix/getaddrinfo.c (gaih_local): uname does not everywhere - return 0 for success but always < 0 on failure. + * 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. - * nss/getXXbyYY_r.c: Define result to *result before including - digits_dots.c. + * iconvdata/cp1258.c: Include <stdlib.h> for abort decl. + * iconvdata/iso-2022-cn-ext.c: Likewise. -2000-08-30 Andreas Jaeger <aj@suse.de> +2001-06-01 Andreas Jaeger <aj@suse.de> - * math/gen-libm-test.pl (parse_ulps): Remove extra \. + * Versions.def: Add version 2.2.4. -2000-08-29 Ulrich Drepper <drepper@redhat.com> +2001-06-01 Ulrich Drepper <drepper@redhat.com> - * iconvdata/big5hkscs.c: Rewritten. Regenerate data from the - official file. - * iconvdata/TESTS: Add BIG5HKSCS entry. - * iconvdata/testdata/BIG5HKSCS: New file. - * iconvdata/testdata/BIG5HKSCS..UTF8: New file. + * 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. - * iconvdata/big5.c (BODY for FROM_LOOP): Remove condition which is - always true. +2001-06-01 Andreas Jaeger <aj@suse.de> - * libio/iogetline.c: Set mode before the loop in case n==0. - * libio/iogetwline.c: Likewise. + * sysdeps/unix/sysv/linux/speed.c (cfsetispeed): Max speed is + B4000000. + (cfsetospeed): Likewise. + Reported by Lukasz Trabinski <lukasz@lt.wsisiz.edu.pl>. -2000-08-29 H.J. Lu <hjl@gnu.org> +2001-05-31 Joseph S. Myers <jsm28@cam.ac.uk> - * libio/fileops.c (new_do_write): Check fp->_mode <= 0 instead - of fp->_mode < 0. - (_IO_new_file_overflow): Likewise. - * libio/genops.c (_IO_flush_all): Likewise. - * libio/ioftell.c (_IO_ftell): Likewise. + * misc/sys/cdefs.h (__restrict_arr): Define to empty for C++. -2000-08-29 Akira Higuchi <a@kondara.org> +2001-05-30 Martin Schwidefsky <schwidefsky@de.ibm.com> - * iconv/gconv_db.c (increment_counter): Reset __init_fct, __fct, - and __end_fct fields of struct __gconv_step. - * iconv/Makefile (tests): Add iconv-bug2. - * iconv/iconv-bug2.c: New file. + * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: greg_t + needs to have the same aligment as the kernel structure. - * iconvdata/euc-kr.c (BODY for FROM_LOOP): Pass 'inend - inptr' - instead of 'inptr - inend' to ksc5601_to_ucs4. +2001-05-29 Jakub Jelinek <jakub@redhat.com> - * iconvdata/sjis.c (BODY for FROM_LOOP): Allow 0x7f character. + * 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. - * iconvdata/iso-2022-cn.c (BODY for FROM_LOOP): If an incomplete - character or shift sequence is found at the end of the input - string, return__GCONV_INCOMPLETE_INPUT instead of - __GCONV_EMPTY_INPUT. - * iconvdata/iso-2022-jp.c (BODY for FROM_LOOP): Likewise. - * iconvdata/iso-2022-kr.c (BODY for FROM_LOOP): Likewise. +2001-05-30 Ulrich Drepper <drepper@redhat.com> - * iconvdata/iso-2022-jp.c (BODY for FROM_LOOP): Return - __GCONV_ILLEGAL_INPUT for 8bit characters. + * po/da.po: Update from translation team. -2000-08-29 Ulrich Drepper <drepper@redhat.com> +2001-05-29 Andreas Jaeger <aj@suse.de> - * signal/signal.h (sigpause): Move __THROW before __asm__. + * sysdeps/ieee754/ldbl-128/e_acosl.c: New file, contributed by + Stephen L Moshier <moshier@mediaone.net>. - * inet/rcmd.c (__checkhost_sa): If getnameinfo succeeds but the - names don't match don't return. - Patch by Olaf Kirch <okir@flash.lst.de>. + * math/libm-test.inc (sinh_test): Add new test case. -2000-08-28 Ulrich Drepper <drepper@redhat.com> + * sysdeps/ieee754/ldbl_96/e_sinhl.c (__ieee754_sinhl): sinhl(x) = + x when x < 2^-32. + Patch by Stephen L Moshier <moshier@mediaone.net>. - * time/strftime.c (my_strftime): Handle # flag for %b as well. +2001-05-23 Andreas Jaeger <aj@suse.de> -2000-08-27 H.J. Lu <hjl@gnu.org> + * iconvdata/testdata/WINDOWS-1255..UTF-8: Renamed to... + * iconvdata/testdata/WINDOWS-1255..UTF8: this. - * posix/Makefile (otherlibs): Add for building with static-nss - for "make check". +2001-05-27 Andreas Jaeger <aj@suse.de> -2000-08-28 Ulrich Drepper <drepper@redhat.com> + * manual/stdio.texi (String Streams): Fix fmemopen description. + Reported by Michal Kochanowicz <michal@michal.waw.pl>. - * libio/stdio.h: Add fmemopen prototype. +2001-05-26 H.J. Lu <hjl@gnu.org> -2000-08-25 Andreas Jaeger <aj@suse.de> + * sysdeps/unix/sysv/linux/mips/syscalls.list: Change sigsuspend + to s_sigsuspend. Add s_mmap2. - * libio/Makefile (routines): Add fmemopen. - (tests): Add test-fmemopen. - * libio/Versions: Add fmemopen with version GLIBC_2.2. - * libio/test-fmemopen.c: New file. - * libio/fmemopen.c: New file. - Patches by Hanno Mueller <kontakt@hanno.de>. + * sysdeps/mips/atomicity.h: New file. -2000-08-28 Ulrich Drepper <drepper@redhat.com> + * sysdeps/unix/sysv/linux/mips/getsysstats.c: New file. - * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h: Prevent double - inclusion. Patch by Jes Sorensen <jes@linuxcare.com>. + * sysdeps/unix/sysv/linux/mips/bits/ipc.h (ipc_perm): Put + back __key. - * locale/localeinfo.h (LIMAGIC): Change base number to 0x20000828 - to avoid crashing statically linked applications. +2001-05-25 Bruce Mitchener <bruce@cubik.org> -2000-08-27 Bruno Haible <haible@clisp.cons.org> + * manual/ctype.texi: Minor fix. + * manual/install.texi: Likewise. + * manual/startup.texi: Likewise. + * manual/examples/dir.c: Use perror() rather than puts(). - * string/strxfrm.c (strxfrm, wcsxfrm): Include <sys/param.h>. - If nrules == 0 and srclen < n, copy only srclen + 1 characters. +2001-05-25 David Mosberger <davidm@hpl.hp.com> - * sysdeps/generic/getdomain.c (getdomainname): Include <sys/param.h>. - If the result is fits in the buffer, copy only as many bytes as needed. + * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h: Put stuff following + #endif directive inside a comment to avoid compiler warnings. - * sysdeps/generic/_strerror.c (__strerror_r): Don't zero-fill the - buffer after copying numbuf into it. - * sysdeps/mach/_strerror.c (__strerror_r): Likewise. +2001-05-25 Philipp Thomas <pthomas@suse.de> -2000-08-27 Bruno Haible <haible@clisp.cons.org> + * 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. - * posix/confstr.c (confstr): When string_len > len, NUL-terminate - the result. When string_len < len, don't clear the rest of the buffer. +2001-05-25 Joseph S. Myers <jsm28@cam.ac.uk> -2000-08-27 Bruno Haible <haible@clisp.cons.org> - - Support for new LC_COLLATE format. - * locale/coll-lookup.h: New file. - * locale/weightwc.h (findidx): When size == 0, call - collidx_table_lookup. - * wcsmbs/wcscoll.c: Include coll-lookup.h. - * wcsmbs/wcsxfrm.c: Likewise. - * posix/fnmatch.c: Likewise. - * posix/fnmatch_loop.c (internal_fnwmatch): When size == 0, call - collseq_table_lookup. - * locale/programs/3level.h: New file. - * locale/programs/ld-ctype.c: (wcwidth_table, wctrans_table): Define - by including "3level.h". - * locale/programs/ld-collate.c (wchead_table, collidx_table, - collseq_table): New types, defined by including "3level.h". - (locale_collate_t): New wcheads_3level, wcseqorder_3level fields. - (encoding_mask, encoding_byte): Remove. - (utf8_encode): Use simple shifts instead. - (collate_finish): When !oldstyle_tables, set plane_size and plane_cnt - to 0, and initialize and fill wcheads_3level and wcseqorder_3level. - (collate_output): New local variable tablewc_3level. When - !oldstyle_tables, set table_size to 0 and names to NULL and fill - tablewc_3level instead of tablewc. Change format of TABLEWC and - COLLSEQWC entries written to the file. - * locale/C-collate.c (collseqwc): Change format. - (_nl_C_LC_COLLATE): Set HASH_SIZE and HASH_LAYERS to 0, change format - of COLLSEQWC. - * locale/Makefile (distribute): Add coll-lookup.h, programs/3level.h. - -2000-08-27 Bruno Haible <haible@clisp.cons.org> - - * locale/programs/ld-ctype.c (MAX_CHARNAMES_IDX): New macro. - (locale_ctype_t): New charnames_idx field. - (ctype_startup): Initialize charnames_idx field. - (find_idx): Speed up dramatically by using charnames_idx inverse table. - -2000-08-27 Bruno Haible <haible@clisp.cons.org> - - * locale/C-ctype.c: Switch to new locale format. - (_nl_C_LC_CTYPE_names): Remove array. - (STRUCT_CTYPE_CLASS): New macro. - (_nl_C_LC_CTYPE_class_{upper,lower,alpha,digit,xdigit,space,print, - graph,blank,cntrl,punct,alnum}, _nl_C_LC_CTYPE_map_{toupper,tolower}): - New three-level tables. - (_nl_C_LC_CTYPE_width): Change from array to three-level table. - (_nl_C_LC_CTYPE): Fix nstrings value. Set HASH_SIZE and HASH_LAYERS - to 0. Change WIDTH format. Set CLASS_OFFSET and MAP_OFFSET. Add - 12 class tables and 2 map tables at the end. - * ctype/ctype-info.c (_nl_C_LC_CTYPE_names): Remove declaration. - (_nl_C_LC_CTYPE_class_{upper,lower,alpha,digit,xdigit,space,print, - graph,blank,cntrl,punct,alnum}, _nl_C_LC_CTYPE_map_{toupper,tolower}): - New declarations. - (b): Remove trailing semicolon. - (__ctype_names, __ctype_width): Don't initialize. - (__ctype32_wctype, __ctype32_wctrans, __ctype32_width): Initialize. - -2000-08-27 Bruno Haible <haible@clisp.cons.org> - - * elf/dl-load.c (open_path): Add a argument telling whether *dirsp - is guaranteed to be allocated with the same malloc() and may be - passed to free(). - (_dl_map_object): Update open_path calls. If rtld_search_dirs has - been set to empty by an earlier open_path call, don't pass it again. - -2000-08-28 Ulrich Drepper <drepper@redhat.com> - - * include/libintl.h: Include <locale.h> since libintl.h doesn't if - we are not optimizing. - - * sysdeps/unix/sysv/linux/powerpc/sysdep.h: Protect against double - inclusion. - - * stdio-common/vfscanf.c (ungetc): Cast c to signed char first to - really match EOF. - Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>. - -2000-08-28 Andreas Jaeger <aj@suse.de> - - * sysdeps/i386/fpu/libm-test-ulps: Tweaks for AMD Athlon. - -2000-08-28 Mark Kettenis <kettenis@gnu.org> - - * sysdeps/mach/hurd/getpeername.c (__getpeername): Renamed from - getpeername. Use ISO C style function definition. - (getpeername): Provide weak alias. - * sysdeps/mach/hurd/setrlimit.c (__setrlimit): Renamed from - setrlimit. Use ISO C style function definition. - (setrlimit): Provide weak alias. - -2000-08-28 Martin Schwidefsky <schwidefsky@de.ibm.com> - - * shlib-versions: Add a rule for S/390 to the libm version list. - * sysdeps/s390/Versions: New file. - * sysdeps/unix/sysv/linux/s390/Dist: Add oldgetrlimit64.c. - * sysdeps/unix/sysv/linux/s390/Makefile: Add oldgetrlimit64. - * sysdeps/unix/sysv/linux/s390/Versions: New file. - * sysdeps/unix/sysv/linux/s390/alphasort64.c: New file. - * sysdeps/unix/sysv/linux/s390/chown.c: New file. - * sysdeps/unix/sysv/linux/s390/fxstat.c: New file. - * sysdeps/unix/sysv/linux/s390/getdents64.c: New file. - * sysdeps/unix/sysv/linux/s390/getrlimit.c: New file. - * sysdeps/unix/sysv/linux/s390/getrlimit64.c: New file. - * sysdeps/unix/sysv/linux/s390/lxstat.c: New file. - * sysdeps/unix/sysv/linux/s390/oldgetrlimit64.c: New file. - * sysdeps/unix/sysv/linux/s390/readdir64.c: New file. - * sysdeps/unix/sysv/linux/s390/readdir64_r.c: New file. - * sysdeps/unix/sysv/linux/s390/scandir64.c: New file. - * sysdeps/unix/sysv/linux/s390/setrlimit.c: New file. - * sysdeps/unix/sysv/linux/s390/syscalls.list: New file. - * sysdeps/unix/sysv/linux/s390/versionsort64.c: New file. - * sysdeps/unix/sysv/linux/s390/xstat.c: New file. - -2000-08-28 Ulrich Drepper <drepper@redhat.com> - - * sysdeps/unix/sysv/linux/powerpc/Makefile [$(subdir)==csu] - (CFLAGS-initfini.s): Add -DWEAK_GMON_START. - - * elf/Versions [ld] (GLIBC_2.2): Export _dl_debug_files. - * elf/dl-close.c (_dl_close): Print debug message if object is not - unloaded. - * elf/dl-open.c (dl_open_worked): Print message about opencount before - returning to caller. - - * po/zh.po: Renamed to... - * po/zh_TW.po: ...this. - -2000-08-27 Geoff Keating <geoffk@cygnus.com> - - * sysdeps/powerpc/fpu/feenablxcpt.c: Correct bogus checkin. - - * sysdeps/powerpc/fpu/fedisblxcpt.c: New file. - * sysdeps/powerpc/fpu/feenablxcpt.c: New file. - * sysdeps/powerpc/fpu/fegetexcept.c: New file. - * sysdeps/unix/sysv/linux/powerpc/fe_nomask.c: New file. - -2000-08-27 Ulrich Drepper <drepper@redhat.com> - - * locale/programs/ld-collate.c (insert_weights): Also update - backpointer of next element. - (collate_read): Allow definition of new collation symbols in stage 2. - Symbol after reorder-after can be UCS4 value. - Allow reordering of collation symbols and elements. - Do not only move reorder entry in new position. Instead call - insert_weight to do this and read the weights. - - * locale/findlocale.c (free_mem): Add cast to avoid warning. - - * intl/dcigettext.c (DCIGETTEXT): Remove _nl_find_language in code - to determine invalid locale name. - * locale/findlocale.c (_nl_find_locale): Likewise. - - * posix/annexc.c: Correct test for unavailable feature. - - * sysdeps/unix/sysv/linux/i386/sys/io.h (outw): Fix __INLINE -> - __inline. - -2000-08-26 Ulrich Drepper <drepper@redhat.com> - - * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add getdents64 - syscall. - - * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir)==resource] - (sysdep_routines): Add oldgetrlimit64. - - * elf/Makefile (distribute): Add unloadmod.c, reldepmod1.c, - reldepmod2.c, reldepmod3.c, and reldepmod4.c. - (tests): Add unload, reldep, reldep2, and reldep3. - (modules-names): Add unloadmod, reldepmod1, reldepmod2, reldepmod3, - and reldepmod4. - Add rules to build and run unload, reldep, reldep2, and reldep3. - * elf/dl-lookup.c (_dl_lookup_symbol): Add new parameter explicit. - Don't create relocation dependency if it is nonzero. - (_dl_lookup_symbol_skip): Remove relocation dependency stuff. This - can never happen here. - (_dl_lookup_versioned_symbol): Add new parameter explicit. - Don't create relocation dependency if it is nonzero. - (_dl_lookup_versioned_symbol_skip): Remove relocation dependency - stuff. This can never happen here. - * sysdeps/generic/ldsodefs.h: Change prototypes. - * elf/dl-reloc.c (RESOLVE_MAP): Pass 0 in explicit parameter to - _dl_lookup_up and _dl_lookup_versioned_symbol. - (RESOLV): Likewise. - * elf/dl-runtime.c (fixup): Likewise. - (profile_fixup): Likewise. - * elf/dl-libc.c (do_dlsym): Pass 1 in explicit parameter to - _dl_lookup_symbol. - * elf/dl-symbol.c (_dl_symbol_value): Likewise. - * elf/rtld.c (dl_main): Likewise. - * elf/dl-sym.c (_dl_sym): Pass 1 in explicit parameter to - _dl_lookup_symbol if handle is not RTLD_DEFAULT. Always compute - and pass down the caller map. - (_dl_vsym): Likewise. - * elf/reldep.c: New file. - * elf/reldep2.c: New file. - * elf/reldep3.c: New file. - * elf/reldepmod1.c: New file. - * elf/reldepmod2.c: New file. - * elf/reldepmod3.c: New file. - * elf/reldepmod4.c: New file. - * elf/unload.c: New file. - * elf/unloadmod.c: New file. - - * elf/do-lookup.h: Remove unused undef_name parameter. - * elf/dl-lookup.c: Adjust callers. - -2000-08-25 Ulrich Drepper <drepper@redhat.com> - - * iconv/gconv_trans.c (__gconv_transliterate): Pass NULL instead of - irreversible in recursive call of conversion function to signal that - no error handling is wanted. - * iconv/loop.c (ignore_errors_p): irreversible must be != NULL, too. - (STANDARD_ERR_HANDLER): Don't do anything if irreversible == NULL. - * iconv/skeleton.c (lirreversiblep): New variable. Set to NULL is - recursive error handling call, otherwise to &lirreversible. Use it - for calls to conversion functions. - * iconv/gconv_simple.c (ucs4_internal_loop): Don't handle errors when - transliterating. - (ucs4_internal_loop_unaligned): Likewise. - (ucs4le_internal_loop): Likewise. - (ucs4le_internal_loop_unaligned): Likewise. + * misc/sys/cdefs.h (__restrict_arr): Define appropriately for GCC + 3.1 and non-GCC C99 compilers. -2000-08-25 Greg McGary <greg@mcgary.org> +2001-05-22 David Mosberger <davidm@hpl.hp.com> - * sysdeps/i386/memchr.S: Check high bound against chars - actually scanned. - * sysdeps/i386/memcmp.S: Likewise. - * sysdeps/i386/stpncpy.S: Adjust high-bound check to - account for pointers that lie one beyond end-of-buffer. + * sysdeps/ia64/memmove.S: Increase MEMLAT from 6 to 21 for better + performance. + * sysdeps/ia64/memcpy.S: Likewise. -2000-08-25 Ulrich Drepper <drepper@redhat.com> + * sysdeps/ia64/bcopy.S: New file. - * elf/Makefile (LDFLAGS-nodelete): Add -rdynamic. - * elf/nodelete.c (fini_ran): New global variable. - (do_test): Before every dlclose call clear fini_ran and test - afterwards that it is not set by the destructors. - * elf/nodelmod1.c: Add destructor which sets fini_ran. - * elf/nodelmod2.c: Likewise. - * elf/nodelmod4.c: Likewise. + * sysdeps/ia64/bzero.S: New file (derived from memset.S). -2000-08-21 Jes Sorensen <jes@linuxcare.com> +2001-05-26 Ulrich Drepper <drepper@redhat.com> - * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add getrlimit and - getrlimit to the list. + * sysdeps/ia64/fpu/libm-test-ulps: Add deltas for tanh(-0.7). -2000-08-18 Jes Sorensen <jes@linuxcare.com> +2001-05-24 Ulrich Drepper <drepper@redhat.com> - * sysdeps/ia64/Implies: gcc now has support for the Intel 80 bit - long double format so use ldbl-96 instead of ldbl-128. + * 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. -2000-08-25 Ulrich Drepper <drepper@redhat.com> +2001-05-23 kaz Kojima <kkojima@rr.iij4u.or.jp> - * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap): Return -EINVAL - even if bits 10 a 11 are non-zero. - * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64): Likewise. + * sysdeps/sh/dl-machine.h (_dl_runtime_resolve): Handle newer PLT. + (_dl_runtime_profile): Likewise.. - * Makeconfig: Ensures the soversions.mk part of Makefile gets - included before building gnu/lib-names.h - Patch by Maciej W. Rozycki <macro@ds2.pg.gda.pl>. +2001-05-23 Thorsten Kukuk <kukuk@suse.de> - * elf/dl-close.c (_dl_close): Don't run destructors of objects - marked DF_1_NODELETE. + * sysdeps/posix/getaddrinfo.c: Support for AF_UNIX commented out. + * posix/tst-getaddrinfo.c: Remove AF_UNIX test. - * sysdeps/posix/system.c (__libc_system): We cannot use vfork here - since we call sigaction in the child. +2001-05-19 H.J. Lu <hjl@gnu.org> -2000-08-25 Andreas Jaeger <aj@suse.de> + * elf/dl-deps.c (_dl_map_object_deps): Pass objname and + errstring of the failed DSO to _dl_signal_error (). - * iconvdata/Makefile ($(objpfx)bug-iconv1.out): Depend on - gconv-modules. +2001-05-23 Ulrich Drepper <drepper@redhat.com> -2000-08-25 Andreas Jaeger <aj@suse.de> + * iconvdata/gconv-modules: Add more aliases to enable use in + locale names. - * manual/arith.texi (Control Functions): Clarify possible - arguments. Closes PR libc/1856. +2001-05-23 Andreas Jaeger <aj@suse.de> -2000-08-24 H.J. Lu <hjl@gnu.org> + * 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. - * stdio-common/Makefile (tests): Don't do it for cross compiling. - * malloc/Makefile (tests): Likewise. +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. -2000-08-24 Ulrich Drepper <drepper@redhat.com> + * elf/dl-symbol.c: Removed. + * elf/Makefile (routines): Remove dl-symbol. - * iconvdata/unicode.c (gconv_init): Correct test for direction. +2001-05-22 Ulrich Drepper <drepper@redhat.com> -2000-08-24 Andreas Jaeger <aj@suse.de> + * 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. - * malloc/Makefile (extra-objs): Fix last patch, build memusagestat - only if LIBGD is available. +2001-05-22 Ulrich Drepper <drepper@redhat.com> -2000-08-24 Ulrich Drepper <drepper@redhat.com> + * intl/Makefile: Add a few more dependencies to avoid races in the + test shell scripts. - * resolv/res_send.c (res_ourserver_p): Cleanup the type mess to avoid - problems with now restrict parameter types. - (convaddr4to6): Likewise. +2001-05-22 Andreas Jaeger <aj@suse.de> -2000-08-24 Denis Joseph Barrow <djbarrow@de.ibm.com> + * sysdeps/ieee754/ldbl-128/s_log1pl.c: New file, contributed by + Stephen L Moshier <moshier@mediaone.net>. - * sysdeps/s390/fpu/fedisblxcpt.c: New file. - * sysdeps/s390/fpu/feenablxcpt.c: New file. - * sysdeps/s390/fpu/fegetexcept.c: New file. - * sysdeps/s390/fpu/fenv_libc.h: Some reordering, new definition - FPC_VALID_MASK. +2001-05-22 Martin Schwidefsky <schwidefsky@de.ibm.com> -2000-08-24 Andreas Jaeger <aj@suse.de> + * sysdeps/s390/s390-32/backtrace.c: Make backtrace return the + return addresses instead of the stack pointers. + * sysdeps/s390/s390-64/backtrace.c: Likewise. - * malloc/Makefile (extra-objs): Add memusagestat.o. - (generated): Added memusage and memusagestat for make clean. +2001-05-21 Jakub Jelinek <jakub@redhat.com> - * libio/tst_putwc.c (do_test): Delete temporary file. - Move inclusion of test-skeleton to front to have prototype for - add_temp_file. + * 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. - * posix/Makefile (generated): Add wordexp-tst.out. +2001-05-21 Andreas Jaeger <aj@suse.de> -2000-08-24 Ulrich Drepper <drepper@redhat.com> + * locale/programs/ld-collate.c (handle_ellipsis): Fix message. + Patch by Philipp Thomas <pthomas@suse.de>. - * resolv/res_hconf.c (free_mem): Remove not needed if. +2001-05-17 Bruce Mitchener <bruce@cubik.org> - * time/tzset.c (free_mem): New function. - * string/strsignal.c (free_mem): New function. - * inet/inet_ntoa.c (free_mem): New function. - * sunrpc/clnt_perr.c (free_mem): New function. + * 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(). -2000-08-24 Andreas Jaeger <aj@suse.de> +2001-05-20 Roland McGrath <roland@frob.com> - * sysdeps/unix/syscalls.list: Use __setrlimit as strong name. - * sysdeps/unix/sysv/syscalls.list: 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. - * posix/unistd.h: Move internal prototypes from here ... - * include/unistd.h: ... to here. +2001-05-20 Franz Sirl <Franz.Sirl-kernel@lauterbach.com> - * sysvipc/sys/shm.h: Add const attribute to __getpagesize. + * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_STD_AUXV): + Define for linux >= 2.4.5 on powerpc. + (__ASSUME_MMAP2_SYSCALL): Likewise. -2000-08-24 Ulrich Drepper <drepper@redhat.com> +2001-05-19 Roland McGrath <roland@frob.com> - * grp/initgroups.c (initgroups): Deallocate groups array. - Reported by jani.raiha@sonera.com [PR libc/1868]. + * 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/s390/Dist: Add fpu/fenv_libc.h. - * sysdeps/alpha/Dist: Likewise. +2001-05-18 Andreas Jaeger <aj@suse.de> -2000-08-23 Ulrich Drepper <drepper@redhat.com> + * po/fr.po: Free software is "logiciel libre". + Patch by Martin Michlmayr <tbm@cyrius.com>. - * crypt/md5-crypt.c (free_mem): Fix typo (constructor -> - destructor). Reported by Solar Designer <solar@false.com>. + * sysdeps/powerpc/elf/libc-start.c: Use __cxa_atexit. + Patch by ekato@ees.hokudai.ac.jp, closes PR libc/2271. - * iconv/gconv_conf.c (add_module): Remove some unneeded code to - avoid adding double slashes. +2001-05-17 David Mosberger <davidm@hpl.hp.com> -2000-08-23 Jakub Jelinek <jakub@redhat.com> + * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: New file. - * dirent/dirent.h (alphasort, versionsort): Move __attribute_pure__ - out of the __REDIRECT macro. +2001-05-17 Ulrich Drepper <drepper@redhat.com> -2000-08-23 Ulrich Drepper <drepper@redhat.com> + * elf/dl-profile.c (_dl_mcount): Check whether state is + GMON_PROF_ON before doing anything. - * stdio-common/vfscanf.c: Add %F format support. +2001-05-17 H.J. Lu <hjl@gnu.org> - * locale/programs/ld-ctype.c (ctype_output): Make sure - _NL_CTYPE_TRANSLIT_DEFAULT_MISSING_LEN and - _NL_CTYPE_TRANSLIT_IGNORE_LEN are aligned. - (ctype_read): Enable returning of wide character strings for reading - transliteration information. + * elf/sprof.c (read_symbols): Move "++symtab" into the while loop. -2000-08-23 Andreas Jaeger <aj@suse.de> +2001-05-17 Ulrich Drepper <drepper@redhat.com> - * sysdeps/unix/sysv/linux/i386/sys/io.h (_EXTERN_INLINE): Remove. - Use static __inline instead of _EXTERN_INLINE. + * 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>. - * misc/sys/select.h: Move prototypes of __select from here ... - * include/sys/select.h: ... to here. +2001-05-17 Jakub Jelinek <jakub@redhat.com> - * socket/sys/socket.h: Move prototypes of __send and __connect - from here.... - * include/sys/socket.h: ... to here. + * elf/ldconfig.c (add_dir): Only warn about stat failure if + opt_verbose. + (search_dir): Likewise. - * locale/programs/ld-ctype.c (ctype_read): Fix parameter for - lr_error. +2001-05-17 Ulrich Drepper <drepper@redhat.com> -2000-08-23 Jakub Jelinek <jakub@redhat.com> + * sysdeps/i386/i486/atomicity.h (exchange_and_add): Correct second + parameter of xaddl. Patch by H . J . Lu <hjl@lucon.org>. - * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Use - __setrlimit as strong name. Takes only 2 arguments. +2001-05-14 Bruno Haible <haible@clisp.cons.org> - * sysdeps/unix/sysv/linux/sh/syscalls.list: __syscall_setrlimit - takes only 2 arguments. + * iconvdata/iso-2022-cn-ext.c (BODY for FROM_LOOP): If SO is seen + without previous announcement, reject it regularly, don't abort. -2000-08-23 Martin Schwidefsky <schwidefsky@de.ibm.com> +2001-05-16 Ulrich Drepper <drepper@redhat.com> - * sysdeps/s390/__longjmp.c: Add __ to JB_GPR*. + * math/tgmath.h: Fix handling of int parameters to binary and + ternary functions. Reported by mitr@volny.cz. - * sysdeps/s390/bits/setjmp.h: Add __ to JB_GPR* defines. + * math/test-tgmath.c: Add tests for calls with integer parameters. -2000-08-23 Ulrich Drepper <drepper@redhat.com> +2001-05-15 Jakub Jelinek <jakub@redhat.com> - * locale/programs/ld-ctype.c (ctype_read): Allow more than one - default_missing character being specified, pick the first - representable. + * 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. -2000-08-23 Andreas Jaeger <aj@suse.de> +2001-05-16 Martin Schwidefsky <schwidefsky@de.ibm.com> - * include/wchar.h: Add some pure attributes. + * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Fix stack allocation. - * time/time.h: Add const attribute for dysize. +2001-05-16 Bruce Mitchener <bruce@cubik.org> - * include/stdlib.h: Add malloc attribute to __posix memalign. + * manual/llio.texi: Many grammar and typo fixes to the section on AIO. - * stdlib/stdlib.h: Add some pure and malloc attributes. - * wcsmbs/wchar.h: Likewise. +2001-05-15 Andreas Jaeger <aj@suse.de> - * dirent/dirent.h: Add some pure attributes. - * include/dirent.h: Likewise. + * sysdeps/ieee754/ldbl-128/s_expm1l.c: New file, contributed by + Stephen L Moshier <moshier@mediaone.net>. -2000-08-23 Jakub Jelinek <jakub@redhat.com> + * sysdeps/i386/fpu/libm-test-ulps: Adjust for change. - * inet/netinet/in.h (struct in6_addr): Don't enforce 64bit alignment - on 64bit arches. + * math/libm-test.inc: Add comment with ToDo. -2000-08-22 Ulrich Drepper <drepper@redhat.com> + * sysdeps/i386/fpu/e_expl.c: Rewritten to C and using a more + accurate algorithm. Patch by Stephen L Moshier <moshier@mediaone.net>. - * iconvdata/iso-2022-jp.c: In conversion to ISO-2022-JP, add two - missing buffer size checks. + * sysdeps/i386/fpu/e_expl.S: Removed. -2000-08-23 Andreas Jaeger <aj@suse.de> +2001-05-14 Roland McGrath <roland@frob.com> - * sysdeps/unix/sysv/linux/alpha/syscalls.list: Use __setrlimit as - strong name. - * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise. + * 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. - * sysdeps/unix/sysv/linux/dl-osinfo.h: Include "kernel-features.h", - otherwise __LINUX_KERNEL_VERSION might not be defined. - (MIN): Define if not already defined. + * Makeconfig: Include existing $(full_config_sysdirs:=/Makeconfig). + * Make-dist (+sysdep-tsrcs): Look for Makeconfig files. -2000-08-22 Ulrich Drepper <drepper@redhat.com> + * Makerules ($(+sysdir_pfx)sysd-Makefile): Remove this target and + associated hair. Instead, just use $(wildcard ...) in the include. - * stdio-common/vfprintf.c: Handle %F format. - * stdio-common/printf-parse.h (parse_one_spec): Likewise. - Reported by Joseph S. Myers <jsm28@cam.ac.uk>. + * 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. - * stdio-common/tstdiomisc.c: Add test for %F printf format. +2001-05-14 Andreas Jaeger <aj@suse.de> - * po/zh.po: New file. + * sysdeps/i386/fpu/libm-test-ulps: Adjust for new tests. - * iconvdata/sjis.c: In conversion from UCS4, correct test for - enough room in target buffer. - Patch by KUSANO Takayuki <AE5T-KSN@asahi-net.or.jp> [PR libc/1865]. - * iconvdata/bug-iconv1.c: New file. - * iconvdata/Makefile (tests): Add bug-iconv1. + * math/libm-test.inc (tanh_test): Add testcases for last tanh bug. - * locale/iso-4217.def: Update entry for Nicaragua. +2001-05-14 Stephen L Moshier <moshier@mediaone.net> -2000-08-22 Mark Kettenis <kettenis@gnu.org> + * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Fix sign test. - * hurd/hurdsig.c: Rearrange headers a bit. - (_hurdsig_init): Block until _hurd_msgport_thread is initialized - when cthreads is being used. +2001-05-11 Jakub Jelinek <jakub@redhat.com> -2000-08-22 Ulrich Drepper <drepper@redhat.com> + * 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. - * elf/Makefile (distribute): Add dl-osinfo.h. - * sysdeps/generic/dl-osinfo.h: New file. - * sysdeps/unix/sysv/linux/dl-osinfo.h: New file. - * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Use DL_SYSDEP_OSCHECK - if defined. - * sysdeps/unix/sysv/linux/init-first.c: Perform kernel version test - only for !SHARED case. Get the code from dl-osinfo.h. +2001-05-10 Andreas Jaeger <aj@suse.de> - * stdlib/random_r.c: Cleanups. - * stdlib/tst-random.c: New file. - * stdlib/Makefile (tests): Add tst-random. - Patches by Michael Fischer <fischer-michael@cs.yale.edu>. + * manual/install.texi (Linux): Clarify that Linux 2.2 is minimal + requirement. -2000-08-21 Martin Schwidefsky <schwidefsky@de.ibm.com> +2001-05-12 Andreas Jaeger <aj@suse.de> - * sysdeps/unix/sysv/linux/s390/getmsg.c: Remove. - * sysdeps/unix/sysv/linux/s390/getpmsg.c: Remove. - * sysdeps/unix/sysv/linux/s390/putmsg.c: Remove. - * sysdeps/unix/sysv/linux/s390/putpmsg.c: Remove. + * 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/halfulp.c: Likewise. + * sysdeps/ieee754/dbl-64/sincos32.c: Likewise. + * sysdeps/ieee754/dbl-64/slowexp.c: Likewise. + * sysdeps/ieee754/dbl-64/slowpow.c: Likewise. + * sysdeps/ieee754/dbl-64/branred.c: Likewise. -2000-08-22 Jakub Jelinek <jakub@redhat.com> + * math/math_private.h: Add prototypes for internal functions of + the IBM Accurate Mathematical Library. - * sysdeps/unix/sysv/linux/alpha/syscalls.list (sysctl): Remove. - * sysdeps/unix/sysv/linux/ia64/syscalls.list (sysctl): Remove. - (__syscall__sysctl): Add. + * sysdeps/ieee754/dbl-64/s_atan.c: Include "math.h" for + prototypes. + * sysdeps/ieee754/dbl-64/s_tan.c: Likewise. -2000-08-21 Andreas Jaeger <aj@suse.de> + * 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. - * stdlib/tst-strtol.c: Add test for 0xFFFFFFFFFFFF00FF (from PR - libc/1864). - * stdlib/tst-strtoll.c: Likewise. + * math/math_private.h (__copysign): Add internal prototype. -2000-08-21 Ulrich Drepper <drepper@redhat.com> +2001-05-11 Andreas Jaeger <aj@suse.de> - * stdlib/random_r.c (__setstate_r): Also compute end_ptr - correctly. - (__initstate_r): Set errno on error. - (__random_r): Likewise. - (__setstate_r): Correct offset when computing - new rptr and fptr. Test for arg_state being NULL. - Reported by Michael Fischer <fischer@cs.yale.edu>. - - * posix/regex.h: Add macro definitions to allow compiling outside - glibc. - - * sysdeps/i370/Implies: Removed. - * sysdeps/mvs/Implies: Removed. - - * catgets/catgets.c (catopen): Filter out env_var values with / if - necessary. - - * locale/findlocale.c (_nl_find_locale): Move test for unusable - locale name after all getenvs. - - * configure.in: Allow sed versions like 3.02.8. - Patch by Rodrigo Barbosa <rodrigob@conectiva.com.br>. - -2000-08-21 Marko Myllynen <myllynen@lut.fi> - - * inet/netinet/icmp6.h: Add Mobile IPv6 extensions structures. - -2000-08-21 Ulrich Drepper <drepper@redhat.com> - - * sysdeps/posix/getaddrinfo.c (gethosts): Handle TRY_AGAIN error - of gethostbyname2_r call. - - * intl/locale.alias: Add aliases for Korean. - -2000-08-21 Martin Schwidefsky <schwidefsky@de.ibm.com> - - * sysdeps/s390/__longjmp.c: Remove unused variable result. - * sysdeps/s390/fpu/bits/fenv.h: Move FPC_* definitions to fenv_libc.h. - * sysdeps/s390/fpu/fclrexcpt.c: Include fenv_libc.h instead of fenv.h. - * sysdeps/s390/fpu/fegetenv.c: New file. - * sysdeps/s390/fpu/fegetround.c: Include fenv_libc.h instead of fenv.h. - * sysdeps/s390/fpu/feholdexcpt.c: New file. - * sysdeps/s390/fpu/fenv_libc.h: New file. - * sysdeps/s390/fpu/fesetenv.c: New file. - * sysdeps/s390/fpu/fesetround.c: Include fenv_libc.h instead of fenv.h. - * sysdeps/s390/fpu/feupdateenv.c: New file. - * sysdeps/s390/fpu/fgetexcptflg.c: Reformatted. - * sysdeps/s390/fpu/fpu_control.h: Corrected header. - * sysdeps/s390/fpu/fraiseexcpt.c: New file. - * sysdeps/s390/fpu/fsetexcptflg.c: New file. - * sysdeps/s390/fpu/ftestexcept.c: New file. - * sysdeps/s390/fpu/libm-test-ulps: New file. - * sysdeps/s390/gmp-mparam.h: Add end of comment. - * sysdeps/s390/initfini.c: New file. - * sysdeps/unix/sysv/linux/s390/Dist: Add sys/procfs.h. - * sysdeps/unix/sysv/linux/s390/Makefile: Remove sys/reg.h. - * sysdeps/unix/sysv/linux/s390/bits/stat.h: New file. - * sysdeps/unix/sysv/linux/s390/lchown.c: New file. - * sysdeps/unix/sysv/linux/s390/sys/elf.h: Move elf definitions to - sys/procfs.h as proposed by Mark Kettenis. - * sysdeps/unix/sysv/linux/s390/sys/procfs.h: New file. - -2000-08-21 Andreas Jaeger <aj@suse.de> - - * include/poll.h: Include include/sys/poll.h to get __poll - declaration. + * sysdeps/unix/sysv/linux/configure.in: Move binutils check to... + * sysdeps/unix/sysv/linux/mips/configure.in: ...here. New file. - * io/sys/poll.h: Move __poll declaration from here... - * include/sys/poll.h: ...to here. - - * include/sys/socket.h (__getpeername): Add declaration. - - * include/wchar.h (__vswprintf): Add declaration. - - * include/stdio.h (__flockfile): Add declaration. - (__funlockfile): Likewise. - -2000-08-20 Ulrich Drepper <drepper@redhat.com> - - * misc/sys/cdefs.h: Define __restrict_arr. - * include/sys/time.h: Add restrict where required by AGd4. - * inet/arpa/inet.h: Likewise. - * io/sys/stat.h: Likewise. - * io/sys/statvfs.h: Likewise. - * misc/search.h: Likewise. - * misc/sys/select.h: Likewise. - * posix/glob.h: Likewise. - * posix/regex.h: Likewise. - * posix/spawn.h: Likewise. - * posix/unistd.h: Likewise. - * rt/aio.h: Likewise. - * signal/signal.h: Likewise. - * socket/sys/socket.h: Likewise. - * stdlib/ucontext.h: Likewise. - * streams/stropts.h: Likewise. - * string/string.h: Likewise. - * time/time.h: Likewise. - * time/sys/time.h: Likewise. +2001-05-11 Andreas Jaeger <aj@suse.de> - * posix/spawn.h: Add declarations for posix_spawnattr_getscheparam - and posix_spawnattr_setscheparam. + * sysdeps/unix/sysv/linux/configure.in: Check binutils version on + MIPS. - * libio/stdio.h: Make cuserid prototype again available for all - XPG versions. + * sysdeps/mips/rtld-ldscript.in: Removed unneeded binary output + format directive. Patch by Steven J. Hill <sjhill@cotw.com>. - * argp/argp-help.c: Unify use of function aliases to make more compact - PLT. - * include/libintl.h: Likewise. - * inet/rcmd.c: Likewise. - * intl/dcigettext.c: Likewise. - * libio/iofputws.c: Likewise. - * libio/iofputws_u.c: Likewise. - * libio/iogetwline.c: Likewise. - * libio/swprintf.c: Likewise. - * malloc/malloc.c: Likewise. - * nss/digits_dots.c: Likewise. - * posix/fnmatch.c: Likewise. - * posix/spawn_faction_addclose.c: Likewise. - * posix/spawn_faction_adddup2.c: Likewise. - * posix/spawn_faction_addopen.c: Likewise. - * posix/spawni.c: Likewise. - * posix/wordexp.c: Likewise. - * posix/spawni.c: Likewise. - * resolv/res_hconf.c: Likewise. - * resolv/res_init.c: Likewise. - * shadow/lckpwdf.c: Likewise. - * signal/sighold.c: Likewise. - * signal/sigrelse.c: Likewise. - * stdio-common/printf-parse.h: Likewise. - * stdio-common/printf-prs.c: Likewise. - * stdio-common/printf_fp.c: Likewise. - * stdio-common/vfprintf.c: Likewise. - * stdio-common/vfscanf.c: Likewise. - * stdlib/rpmatch.c: Likewise. - * sunrpc/create_xid.c: Likewise. - * sunrpc/key_call.c: Likewise. - * sysdeps/generic/setrlimit64.c: Likewise. - * sysdeps/generic/utmp_file.c: Likewise. - * sysdeps/generic/vlimit.c: Likewise. - * sysdeps/posix/posix_fallocate.c: Likewise. - * sysdeps/posix/posix_fallocate64.c: Likewise. - * sysdeps/posix/sigpause.c: Likewise. - * sysdeps/posix/sigset.c: Likewise. - * sysdeps/unix/grantpt.c: Likewise. - * sysdeps/unix/bsd/ualarm.c: Likewise. - * sysdeps/unix/sysv/linux/dl-origin.c: Likewise. - * sysdeps/unix/sysv/linux/getloadavg.c: Likewise. - * sysdeps/unix/sysv/linux/ttyname.c: Likewise. - * sysdeps/unix/sysv/linux/ulimit.c: Likewise. - * time/strftime.c: Likewise. - * wcsmbs/wcscoll.c: Likewise. - * wcsmbs/wcsxfrm.c: Likewise. +2001-05-11 Roland McGrath <roland@frob.com> - * time/tst-getdate.c (main): Make error messages more human readable. + * 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. - * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Allow gcc to generate - postinc/predec instruction. - (_FPU_SETCW): Likewise. - Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>. +2001-05-09 Andreas Schwab <schwab@suse.de> -2000-08-20 Andreas Jaeger <aj@suse.de> + * sysdeps/unix/readdir.c: Make sure we don't modify errno when we + reached EOF. - * time/tst-getdate.c (main): Increase error in case of wrong - conversion. - Fix typo in test case. +2001-05-07 H.J. Lu <hjl@gnu.org> -2000-08-20 Ulrich Drepper <drepper@redhat.com> + * 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. - * ctype/ctype.h (isblank): Make available if ISO C99. - * wctype/wctype.h (iswblank): Make available if ISO C99. - * math/math.h (signgam): Don't make available if ISO C99. - * math/tgmath.h (tgamma): Renamed from gamma. - Patches by Joseph S. Myers <jsm28@cam.ac.uk>. +2001-05-07 Andreas Jaeger <aj@suse.de> - * intl/loadmsgcat.c (_nl_unload_domain): Also free conv_tab element. - Pretty printing. - * intl/plural.y (new_exp): Take number of optional parameters in - second parameter. Test for correct number of parameters and free - correctly in case of failure. Adjust all callers. - (yylex): Allow ';' as terminator character. + * sysdeps/i386/fpu/libm-test-ulps: Add ulps for new exp tests. -2000-08-19 Ulrich Drepper <drepper@redhat.com> + * math/libm-test.inc (exp_test): Add some more tests. + (pow_test): Run double only test also for long double. - * locale/lc-time.c (free_mem): New function. Free alt_digits and - walt_digits. + * math/test-ldouble.c (TEST_LDOUBLE): Define. + * math/test-ildoubl.c (TEST_LDOUBLE): Likewise. - * locale/findlocale.c (free_mem): Also free here->filename. + * sysdeps/generic/bits/confname.h: Remove extra comma at end of + enumeration. + Closes PR libc/2240. - * locale/loadlocale.c (_nl_unload_locale): Also free locale->name. + * scripts/config.guess: Imported from gnu.org. + * scripts/config.sub: Likewise. - * math/test-fenv.c (feenv_tests): Clear all exceptions before - first test. - (feexcp_nomask_test): Correct printf args. - (feexcp_mask_test): Likewise. +2001-05-05 Jakub Jelinek <jakub@redhat.com> -2000-08-19 Andreas Jaeger <aj@suse.de> + * 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. - * inet/tst-gethnm.c: Include string.h to provide prototype for - strcmp. +2001-05-07 Andreas Jaeger <aj@suse.de> - * malloc/mtrace.pl (usage): Inform about --help. + * debug/Makefile ($(objpfx)xtrace): Substitute @SLIBDIR@ instead + of @LIBDIR@. -2000-08-19 Wolfram Gloger <wg@malloc.de> +2001-05-04 H.J. Lu <hjl@gnu.org> - * malloc/malloc.c (new_heap): Try harder to get an aligned chunk of - size HEAP_MAX_SIZE. + * malloc/Makefile ($(objpfx)memusage): Substitute @SLIBDIR@ + not @LIBDIR@. -2000-08-19 Andreas Jaeger <aj@suse.de> +2001-05-06 Andreas Jaeger <aj@suse.de> - * shlib-versions: Remove libnss_db, libdb and libdb1. + * 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. -2000-08-19 Jakub Jelinek <jakub@redhat.com> +2001-05-05 Mark Kettenis <kettenis@gnu.org> - * sysdeps/unix/sysv/linux/alpha/readdir.c: Move... - * sysdeps/unix/sysv/linux/ia64/readdir.c: ...here and - * sysdeps/unix/sysv/linux/sparc/sparc64/readdir.c: ...here. - * sysdeps/unix/sysv/linux/alpha/readdir_r.c: Move... - * sysdeps/unix/sysv/linux/ia64/readdir_r.c: ...here and - * sysdeps/unix/sysv/linux/sparc/sparc64/readdir_r.c: ...here. - * sysdeps/unix/sysv/linux/alpha/readdir64.c: Remove. - * sysdeps/unix/sysv/linux/alpha/readdir64_r.c: Remove. - * sysdeps/unix/sysv/linux/alpha/getdents64.c: Remove. - * sysdeps/unix/sysv/linux/alpha/getdents.c: Only use for non-LFS - getdents. - * sysdeps/unix/sysv/linux/readdir64.c: Remove versioning. - * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise. + * sysdeps/mach/hurd/bits/environments.h: Add comment from + sysdeps/generic/bits/environments.h. Define _POSIX_V6_* values. -2000-08-18 Jakub Jelinek <jakub@redhat.com> +2001-04-30 Jakub Jelinek <jakub@redhat.com> - * include/glob.h (__glob64): Add prototype. - * sysdeps/generic/glob.c: If GLOB_ONLY_P is defined, only - define glob and glob_in_dir. - * sysdeps/unix/sysv/linux/i386/Versions: Add glob64@@GLIBC_2.2. - * sysdeps/unix/sysv/linux/arm/Versions: Likewise. - * sysdeps/unix/sysv/linux/powerpc/Versions: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc32/Versions: Likewise. - * sysdeps/unix/sysv/linux/i386/glob64.c: New file. - * sysdeps/unix/sysv/linux/arm/glob64.c: New file. - * sysdeps/unix/sysv/linux/powerpc/glob64.c: New file. - * sysdeps/unix/sysv/linux/sparc/sparc32/glob64.c: New file. + * 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. -2000-08-18 Jakub Jelinek <jakub@redhat.com> +2001-04-29 Ralf Baechle <ralf@gnu.org> - * malloc/Makefile (memusage): libmemusage.so is installed in slibdir. + * 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. -2000-08-17 Andreas Jaeger <aj@suse.de> +2001-04-29 Ben Collins <bcollins@debian.org> - * math/test-fenv.c (fe_single_test): New function. - (fe_env_tests): Use fe_single_test. - (feenable_test): New tests for feenable/fedisable and - fegetexcpetions. - (feexcp_mask_test): New function. - (feexcp_nomask_test): New function. + * 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> -2000-08-19 Richard Henderson <rth@cygnus.com> + * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64): + Define for Arm, PowerPC and SH if kernel is 2.4.4 or newer. - * sysdeps/alpha/fpu/fenv_libc.h: New file. - * sysdeps/alpha/fpu/fclrexcpt.c: Use it. - * sysdeps/alpha/fpu/fegetenv.c: Likewise. - * sysdeps/alpha/fpu/fesetround.c: Likewise. - * sysdeps/alpha/fpu/fegetround.c: Likewise. - * sysdeps/alpha/fpu/fgetexcptflg.c: Likewise. - * sysdeps/alpha/fpu/fraiseexcpt.c: Likewise. - * sysdeps/alpha/fpu/ftestexcept.c: Likewise. - * sysdeps/alpha/fpu/fedisblxcpt.c: Likewise. Use the smaller mask. - * sysdeps/alpha/fpu/feenablxcpt.c: Likewise. - * sysdeps/alpha/fpu/fegetexcept.c: Likewise. - * sysdeps/alpha/fpu/feholdexcpt.c: Retain the SWCR_MAP bits. - * sysdeps/alpha/fpu/fesetenv.c: Likewise. - * sysdeps/alpha/fpu/feupdateenv.c: Likewise. - * sysdeps/alpha/fpu/fsetexcptflg.c: Likewise. - * sysdeps/alpha/fpu/bits/fenv.h (FE_DENORMAL): New. - (FE_MAP_DMZ, FE_MAP_UMZ, FE_NONIEEE_ENV): New. + * sysdeps/unix/sysv/linux/bits/socket.h (PF_WANPIPE): New, from + Linux 2.4.4. + (AF_WANPIPE): Likewise. + (MSG_MORE): New. -2000-08-19 Andreas Jaeger <aj@suse.de> + * 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. + + * sysdeps/gnu/netinet/tcp.h (TCP_QUICKACK): New. + +2001-04-27 Ulrich Drepper <drepper@redhat.com> + + * nis/nss-nis.h: Correct test for invalid error number. + * nis/nss-nisplus.h: Likewise. + + * nis/Makefile (libnss_compat-rountines): Add nss-nisplus. + +2001-04-26 Ulrich Drepper <drepper@redhat.com> + + * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add getunwind. + + * string/strcoll.c: Fix two memory allocation problems. + * string/Makefile (tests): Add bug-strcoll1. + * string/bug-strcoll1.c: New file. + + * malloc/mcheck.c (mcheck): Call malloc once before setting the + hooks to allow the internal check hooks to be set up if necessary. + + * 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. + + * 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. - * elf/constload1.c: Include <stdio.h> for puts prototype. + * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Some more + optimizations. Patch by Jakub Jelinek <jakub@redhat.com>. -2000-08-19 Ulrich Drepper <drepper@redhat.com> +2001-04-26 Andreas Jaeger <aj@suse.de> - * elf/Versions [ld] (GLIBC_2.2): Export _dl_check_map_versions. - * elf/dl-deps.c (_dl_map_object_deps): If object was dependency of - a dynamically loaded object remove old l_initfini list. - * elf/dl-libc.c (free_mem): Used as __libc_subfreeres callback to - remove some dynamically allocated memory blocks in the dynamic - loading data structures. - * elf/dl-load.c (add_name_to_object): Initialize dont_free to 0. - * elf/dl-open.c (dl_open_workder): Don't call _dl_check_all_versions. - Instead call _dl_check_map_versions only for the dependencies. - * elf/rtld.c: Avoid unneccessary initializations. Mark l_libname - information of initial objects as not free-able. - * sysdeps/generic/ldsodefs.h (struct libname_list): Add dont_free - element. + * po/zh_TW.po: Update. + Patch by Tung-Han Hsieh <thhsieh@tlug.sinica.edu.tw>. - * elf/filter.c: Call mtrace. - * elf/restest1.c: Likewise. Close the objects. - * elf/loadtest.c: Call mtrace. Check result of dlclose. Print more - debug information. +2001-04-25 Ulrich Drepper <drepper@redhat.com> - * elf/constload1.c: Add comment explaining not freed memory. + * 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. -2000-08-18 Andreas Jaeger <aj@suse.de> +2001-04-25 Jakub Jelinek <jakub@redhat.com> - * sysdeps/unix/sysv/linux/mips/bits/stat.h: Add pads to show - alignment for structs stat and stat64. - Patch by Maciej W. Rozycki <macro@ds2.pg.gda.pl>. + * 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. -2000-08-17 Ulrich Drepper <drepper@redhat.com> +2001-04-24 David S. Miller <davem@redhat.com> - * sysdeps/unix/sysv/linux/alpha/getdents.c: Remove special d_ino - handling. Patch by Richard Henderson <rth@twiddle.net>. + * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: New file. - * nss/Versions: Remove libnss_db information. +2001-04-25 Matthew Wilcox <willy@ldl.fc.hp.com> -2000-08-16 Jakub Jelinek <jakub@redhat.com> + * 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. - * sysdeps/sparc/fpu/fedisblxcpt.c: New file. - * sysdeps/sparc/fpu/feenablxcpt.c: New file. - * sysdeps/sparc/fpu/fegetexcept.c: New file. - * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: New file. +2001-04-25 Ulrich Drepper <drepper@redhat.com> - * sysdeps/sparc/sparc64/dl-machine.h: Subtract 4 .rela.plt entries - to match Solaris. + * 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. -2000-08-17 Ulrich Drepper <drepper@redhat.com> +2001-04-12 Paul Bame <paul_bame@hp.com> - * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Use type-correct code. - (_FPU_SETCW): Likewise. - Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>. + * sysdeps/hppa/fpu/fclrexcpt.c: Clear the exception flags, not the + enable flags. - * stdio-common/printf_fp.c: Fix chars_needed computation. - Patch by Greg McGary <greg@mcgary.org>. +2001-04-24 Ulrich Drepper <drepper@redhat.com> -2000-08-17 Jakub Jelinek <jakub@redhat.com> + * sysdeps/generic/bits/environments.h (_POSIX_V6_LPBIG_OFFBIG, + _XBS5_LPBIG_OFFBIG): Define to -1. + Fix typos. - * elf/dl-load.c (_dl_map_object): Don't crash if both loader and - _dl_loaded are NULL. + * 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. -2000-08-17 Jakub Jelinek <jakub@redhat.com> + * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9b/Implies: New file. + * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9b/bits/time.h: Removed. - * manual/arith.texi (feholdexcept): Returns 0 on success. +2001-03-21 Alan Modra <alan@one.net.au> -2000-08-17 Andreas Jaeger <aj@suse.de> + * 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/gnu/net/if.h (struct ifreq): Add ifru_newname. - (ifr_newname): New. - Reported by Andi Kleen <ak@suse.de>. +2000-12-13 Jes Sorensen <jes@linuxcare.com> -2000-08-17 Jakub Jelinek <jakub@redhat.com> + * 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. - * sysdeps/alpha/fpu/fedisblxcpt.c: New file. - * sysdeps/alpha/fpu/feenablxcpt.c: New file. - * sysdeps/alpha/fpu/fegetexcept.c: New file. +2001-04-24 Andreas Jaeger <aj@suse.de> -2000-08-16 Jakub Jelinek <jakub@redhat.com> + * 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. - * sysdeps/unix/sysv/linux/xstatconv.c (xstat32_conv): Test sizes - of buf->st_ino and kbuf->st_ino, not __st_ino. - If _HAVE_STAT64___ST_INO is not defined, don't use __st_ino at all. - * sysdeps/unix/sysv/linux/getdents64.c: Change path in #include - directive so that only linux/getdents.c is used, not some - architecture specific one. + * socket/sys/socket.h: send* and recv* return ssize_t. -2000-08-16 Jakub Jelinek <jakub@redhat.com> + * include/sys/socket.h: send returns ssize_t. - * sysdeps/i386/fpu/fegetexcept.c (fegetexcept): Return currently - enabled, not disabled exceptions. - * sysdeps/i386/fpu/fedisblxcpt.c (fedisableexcept): Likewise. - * sysdeps/i386/fpu/feenablxcpt.c (feenableexcept): Likewise. + * sysdeps/i386/fpu_control.h: Fix comments. -2000-08-17 Greg McGary <greg@mcgary.org> +2001-04-24 Ulrich Drepper <drepper@redhat.com> - * Makeconfig (link-extra-libs-bounded): Strip `-bp' suffix - from test program name when constructing suffix for $(LDLIBS-*). - (bounded-thread-library): New variable. - * crypt/Makefile - [build-shared, build-static] (libcrypt-dep): Remove variable. - ($(addprefix $(objpfx),$(tests))): Consolidate individual dependencies. - [build-bounded] ($(tests:%=$(objpfx)%-bp)): Add dependencies. - * linuxthreads/Makefile (libpthread, librt): Remove variables. - (librt-tests): Add variable. (tests): Use it. - [build-shared, build-static] - ($(addprefix $(objpfx),$(tests)), - $(addprefix $(objpfx),$(librt-tests))): - Consolidate individual dependencies. - [build-bounded] - ($(tests:%=$(objpfx)%-bp), $(librt-tests:%=$(objpfx)%-bp)): - Add dependencies. - * math/Makefile (LDLIBS-*): Remove variables (they are redundant). - [build-bounded] ($(tests:%=$(objpfx)%-bp)): Add dependencies. - * misc/Makefile - [build-bounded] ($(objpfx)tst-tsearch-bp): Add dependencies. - * rt/Makefile - [build-shared, build-static] - ($(addprefix $(objpfx),$(tests))): Consolidate individual dependencies. - [build-bounded] ($(tests:%=$(objpfx)%-bp)): Add dependencies. + * 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). -2000-08-17 Greg McGary <greg@mcgary.org> +2001-04-23 Ulrich Drepper <drepper@redhat.com> - * sysdeps/generic/bp-checks.h: s/\(CHECK\w+\)opt/\1_NULL_OK/ - * sysdeps/unix/make-syscalls.sh: Likewise. - * sysdeps/unix/sysv/linux/shmctl.c: Likewise. - * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise. - * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise. - * sysdeps/unix/sysv/linux/ia64/sigprocmask.c: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Likewise. + * 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. -2000-08-17 Greg McGary <greg@mcgary.org> + * 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/i386/fpu/s_frexp.S: Check bounds. - Wrap extern symbols in BP_SYM (). - * sysdeps/i386/fpu/s_frexpf.S: Likewise. - * sysdeps/i386/fpu/s_frexpl.S: Likewise. - * sysdeps/i386/fpu/s_remquo.S: Likewise. - * sysdeps/i386/fpu/s_remquof.S: Likewise. - * sysdeps/i386/fpu/s_remquol.S: Likewise. - * sysdeps/i386/fpu/s_sincos.S: Likewise. - * sysdeps/i386/fpu/s_sincosf.S: Likewise. - * sysdeps/i386/fpu/s_sincosl.S: Likewise. - * sysdeps/unix/sysv/linux/i386/clone.S: Likewise. - * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise. - -2000-08-16 Andreas Schwab <schwab@suse.de> - - * sysdeps/m68k/fpu/fegetexcept.c: New file. - * sysdeps/m68k/fpu/fedisblxcpt.c: New file. - * sysdeps/m68k/fpu/feenablxcpt.c: New file. - -2000-08-15 Ulrich Drepper <drepper@redhat.com> - - * sysdeps/generic/ldsodefs.h: Declare _nl_nloaded. - * elf/Versions [ld] (GLIBC_2.2): Add _nl_nloaded. - * elf/dl-support.c: Define _nl_nloaded. - * elf/rtld.c: Likewise. Increment _nl_nloaded for rtld itself. - * elf/dl-object.c (_dl_new_object): Increment _nl_nloaded after adding - object to global list. - * elf/dl-close.c (_dl_close): Decrement _nl_nloaded after removing - from _dl_loaded list. - * elf/dl-load.c (_dl_map_object_from_fd): Likewise. - * elf/dl-fini.c (_dl_fini): Use _nl_nloaded instead of computing the - number here. + * sysdeps/generic/dl-sysdep.c: Initialize _dl_cpuclock_offset to move + it into data section. - * sysdeps/i386/fpu/fedisblxcpt.c (fedisableexcept): Mask, not - unmask, exceptions. - * sysdeps/i386/fpu/feenablxcpt.c (feenableexcept): Unmask, not mask, - exceptions. - Reported by Harvey J. Stein <hjstein@bfr.co.il>. + * 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. -2000-08-16 Andreas Jaeger <aj@suse.de> + * 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. - * elf/elf.h (EM_X8664): Add official x86-64 specific value. + * 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. -2000-08-15 Marko Myllynen <myllynen@lut.fi> + * elf/dl-support.c: Don't use cpuclock-init.h definitions, use + hp-timing.h definitions. + * sysdeps/generic/dl-sysdep.c: Likewise. - * inet/netinet/icmp6.h: Added Mobile IPv6 definitions. + * include/libc-internal.h: Include hp-timing.h. Use hp_timing_t in + __get_clockfreq prototype. -2000-08-15 Ulrich Drepper <drepper@redhat.com> + * 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/powerpc/Dist: Add oldgetrlimit64.c. - * sysdeps/unix/sysv/linux/powerpc/Makefile [$(subdir)=resource] - (sysdep_routines): Add oldgetrlimit64. - * sysdeps/unix/sysv/linux/powerpc/oldgetrlimit64.c: New file. - Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>. + * sysdeps/unix/sysv/linux/ia64/get_clockfreq.c: New file. - * include/link.h: Undo last patches. Hurd now has stat64. - * elf/Makefile: Likewise. - * elf/dl-load.c: Likewise. - * elf/dl-misc.c: Likewise. - * elf/dl-profile.c: Likewise. - * sysdeps/generic/sysd-link.h: Removed. - * sysdeps/unix/sysv/linux/sysd-link.h: Removed. + * 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. - * rt/aio_notify.c (notify_func_wrapper): Wrapper function to call - thread event callback function. - (__aio_notify_only): Use function above. - Patch by Kaz Kylheku <kaz@ashi.footprints.net>. +2001-04-23 Andreas Jaeger <aj@suse.de> -2000-08-16 Mark Kettenis <kettenis@gnu.org> + * nscd/nscd.h: Add noreturn attribute for start_threads. - * sysdeps/mach/hurd/lseek64.c: New file. +2001-04-22 Ulrich Drepper <drepper@redhat.com> -2000-08-15 Mark Kettenis <kettenis@gnu.org> + * 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. - * sysdeps/mach/hurd/i386/bits/time.h (__clockid_t, __timer_t): - Remove typedefs. - * sysdeps/mach/hurd/bits/time.h (__clockid_t, __timer_t): Remove - typedefs. - * sysdeps/generic/bits/time.h (__clockid_t, __timer_t): Remove - typedefs. - * sysdeps/generic/bits/types.h (__clockid_t, __timer_t): New typedefs. +2001-04-22 Philip Blundell <philb@gnu.org> -2000-08-15 Mark Kettenis <kettenis@gnu.org> + * sysdeps/arm/fpu/feenablxcpt.c: New file. + * sysdeps/arm/fpu/fedisablxcpt.c: New file. + * sysdeps/arm/fpu/fegetexcpt.c: New file. - * sysdeps/mach/hurd/xstatconv.c: New file. - * sysdeps/mach/hurd/fxstat64.c: New file. - * sysdeps/mach/hurd/lxstat64.c: New file. - * sysdeps/mach/hurd/xstat64.c: New file. - * sysdeps/mach/hurd/Dist: Add xstatconv.c. +2001-04-22 Philip Blundell <philb@gnu.org> -2000-08-15 Mark Kettenis <kettenis@gnu.org> + * 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. - * sysdeps/mach/hurd/dl-sysdep.c (__libc_multiple_libcs): - Initialize, needed for change in common symbol handling in newer - binutils. Mirrors 2000-01-03 change made by Andreas Schwab. +2001-04-22 Philip Blundell <philb@gnu.org> -2000-08-15 Ulrich Drepper <drepper@redhat.com> + * 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. - * elf/constload1.c: Call mtrace. Check return value of dlclose call. - * elf/constload2.c: Add destructor to unload constload3. +2001-04-22 Philip Blundell <philb@gnu.org> - * include/link.h: Include sysd-link.h. - * sysdeps/generic/sysd-link.h: New file. - * sysdeps/unix/sysv/linux/sysd-link.h: New file. - * elf/Makefile (distribute): Add sysd-link.h. - * elf/dl-load.c: Use definitions from sysd-link.h instead of stat - types and functions directly. - * elf/dl-misc.c: Likewise. - * elf/dl-profile.c: Likewise. + * sysdeps/unix/sysv/linux/arm/register-dump.h: Also print the + address that faulted. - * elf/loadfail.c (main): Close all successfully loaded objects. +2001-04-21 Ulrich Drepper <drepper@redhat.com> - * elf/multiload.c: Add mtrace call. Call dlclose for all handles and - free wd. - * elf/dl-deps.c (_dl_map_object_deps): Don't allocate needed list if - there is already one. + * 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. - * elf/dl-close.c: Pretty print. + * 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. -2000-08-14 Ulrich Drepper <drepper@redhat.com> +2001-04-21 Franz Sirl <Franz.Sirl-kernel@lauterbach.com> - * sysdeps/posix/ttyname.c: Make name variable from getttyname function - global (with file scope). Add __libc_subfreeres function to free the - string. - * sysdeps/unix/sysv/linux/ttyname.c: Likewise. Also for buf variable - in ttyname function. + * sysdeps/unix/sysv/linux/powerpc/mmap64.c: Correct check for invalid + offset. - * sysdeps/generic/strtok.c: Remove initializer for olds variable. +2001-04-21 Ulrich Drepper <drepper@redhat.com> - * crypt/md5-crypt.c: Let destructor deallocate static buffer. + * posix/getopt.h: Treat __cplusplus like __STDC__. - * iconvdata/sjis.c (from_ucs4_lat1): Handle U005C and U007E by - mapping them to /x5c and /x7e respectively. +2001-04-20 John S. Marvin <jsm@fc.hp.com> - * locale/programs/ld-ctype.c: Add support for more definitions after - copy statement. + * sysdeps/unix/sysv/linux/hppa/clone.S: Fix clone system call + entry point stub. -2000-08-14 Jakub Jelinek <jakub@redhat.com> +2001-04-20 Richard Hirst <rhirst@linuxcare.com> - * dirent/Versions (getdirentries64): Export at GLIBC_2.2. - * sysdeps/unix/sysv/linux/kernel-features.h - (__ASSUME_GETDENTS64_SYSCALL): Define. - * sysdeps/unix/sysv/linux/getdents.c (__getdents): Use getdents64 - syscall if available to get d_type fields. - * sysdeps/unix/sysv/linux/alpha/getdents.c (DIRENT_TYPE): Define. - * sysdeps/unix/sysv/linux/arm/Versions (__xstat64, __fxstat64, - __lxstat64): Export at GLIBC_2.2. - (alphasort64, readdir64, readdir64_r, scandir64, versionsort64): - Likewise. - * sysdeps/unix/sysv/linux/i386/Versions (getdirentries64): Remove. - * sysdeps/unix/sysv/linux/i386/getdents64.c (kernel_dirent64): Define. - * sysdeps/unix/sysv/linux/powerpc/Versions (alphasort64, - getdirentries64, versionsort64): Remove. - * sysdeps/unix/sysv/linux/sparc/sparc32/Versions (alphasort64, - getdirentries64, versionsort64): Remove. + * elf/elf.h: Corrected R_PARISC_DIR14R (should be 6, not 5), + and added R_PARISC_DPREL21L and R_PARISC_DPREL14R for modutils. -2000-08-13 Ulrich Drepper <drepper@redhat.com> + * sysdeps/unix/sysv/linux/hppa/syscalls.list: Removed ptrace + entry so the ptrace.c wrapper is used. - * posix/Makefile: Remove rules to generate glob package. +2001-04-20 Alan Modra <amodra@one.net.au> - * posix/Makefile (tests): Add tst-regexloc. - (tst-regexloc-ENV): Add LOCPATH. - * posix/tst-regexloc.c: New file. + * 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. -2000-08-12 Andreas Jaeger <aj@suse.de> +2001-04-21 Andreas Jaeger <aj@suse.de> - * include/features.h (__STDC_ISO_10646__): Define. - Reported by Markus Kuhn <Markus.Kuhn@cl.cam.ac.uk>. + * 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. -2000-08-13 Ulrich Drepper <drepper@redhat.com> + * sysdeps/unix/i386/i586/clock_settime.c: Include + "libc-internal.h" for __get_clockfreq declaration. - * include/features.h (__USE_ISOC99): Define for _XOPEN_SOURCE >= 600. +2001-04-21 Ulrich Drepper <drepper@redhat.com> - * locale/langinfo.h: Define YESSTR and NOSTR also for XPG4 (but not - for revision 6 and up). + * 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. - * posix/sys/types.h: Define __need_timer_t and __need_clockid_t before - including <time.h>. - * time/time.h: Allow __need_timer_t and __need_clockid_t to be defined - to get definitions of just these types. +2001-04-20 Ulrich Drepper <drepper@redhat.com> - * signal/signal.h: Define thread signal handling functions also for - POSIX95. + * iconv/iconv_prog.c (print_known_names): If printing goes not to + a tty print in a more machine-friendly way. - * sysdeps/unix/sysv/linux/bits/types.h: Define thread types also for - POSIX95. - * 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/ieee754/ldbl-128/e_asinl.c: New file. + Contributed by Stephen L Moshier <moshier@mediaone.net>. - * sysvipc/sys/shm.h: Define pid_t for XPG. +2001-04-20 Andreas Jaeger <aj@suse.de> - * posix/unistd.h: Remove setkey, rename, and cuserid prototypes as - they are not anymore required here. + * intl/Makefile (tests): Reorder conditions, tst-gettext needs msgfmt. - * wcsmbs/wchar.h: Make the various wide char string and stream - functions available for the respective XPG versions. +2001-04-20 Andreas Schwab <schwab@suse.de> - * nss/Makefile: Remove rules to build and distribute nss_db. + * sysdeps/m68k/fpu/libm-test-ulps: Update. - * sysdeps/generic/alphasort64.c: Remove unnecessary versioning. - * sysdeps/generic/scandir64.c: Likewise. - * sysdeps/generic/versionsort64.c: Likewise. +2001-04-19 Alan Modra <amodra@one.net.au> -2000-08-13 Ulrich Drepper <drepper@redhat.com> - Benjamin Koznik <bkoz@redhat.com> + * Makerules (libc_pic.os): Add $(LDFLAGS-c_pic.os). + * sysdeps/hppa/Makefile (LDFLAGS-c_pic.os): Define. + (CFLAGS-.os): Remove. - * libio/fileops.c: Merge with libstdc++-v3. - * libio/genops.c: Likewise. - * libio/iofclose.c: Likewise. - * libio/iofopen.c: Likewise. - * libio/iofwide.c: Likewise. - * libio/libio.h: Likewise. - * libio/libioP.h: Likewise. - * libio/stdfiles.c: Likewise. - * libio/stdio.c: Likewise. - * libio/wfileops.c: Likewise. - * libio/wgenops.c: Likewise. + * sysdeps/unix/sysv/linux/hppa/sysdep.h (CALL_MCOUNT): Update comment. - * libio/Versions: Export functions needed by libstdc++-v3 in GLIBC_2.2. + * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (NGREG, NFPREG, + gregset): Correct for new kernel definitions. -2000-08-12 Ulrich Drepper <drepper@redhat.com> +2001-04-19 Alan Modra <alan@linuxcare.com.au> - * locale/programs/localedef.c: Implement --prefix option to allow - writing in standard places of alternative install directories. + * sysdeps/hppa/elf/initfini.c: Change dlt reg save to r3 and + generate unwind info by hand. - * posix/regex.c (compile_range): Implement collation sequence - handling for glibc. Use simple character ordering otherwise and - not strcoll. +2001-04-19 Ulrich Drepper <drepper@redhat.com> -2000-08-12 Mark Kettenis <kettenis@gnu.org> + * sysdeps/unix/sysv/linux/powerpc/mmap64.c (__mmap64): Optimize a bit. - * sysdeps/generic/scandir64.c: Include <dirent.h>. + * configure.in: Correct regular expression for msgfmt. + Patch by Bruno Haible <haible@ilog.fr>. -2000-08-12 Andreas Jaeger <aj@suse.de> +2001-04-19 Andreas Jaeger <aj@suse.de> - * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Handle - __USE_FILE_OFFSET64 correctly for locking. - * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise. + * po/el.po: Add comment explaining what's broken. -2000-08-12 Jakub Jelinek <jakub@redhat.com> + * po/Makefile (BROKEN_LINGUAS): New. + (ALL_LINGUAS): Don't add broken languages. - * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64): - Define for 2.4.1 on sparc as well. - * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Fill in correct values - for F_GETLK64, F_SETLK64, and F_SETLKW64. - * sysdeps/unix/sysv/linux/sparc/sparc32/fcntl.c: New file. - * sysdeps/unix/sysv/linux/sparc/sparc32/lockf64.c: New file. +2001-04-19 Roland McGrath <roland@frob.com> -2000-08-12 Ulrich Drepper <drepper@redhat.com> + * 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. - * io/fts.c (fts_stat): Recognize DT_WHT only if S_IFWHT is also - defined. + * 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). -2000-08-12 Andreas Jaeger <aj@suse.de> + * 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. - * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h (F_GETLK64, - F_SETLK64, F_SETLKW64): Define with F_GETLK etc. + * hurd/hurdsig.c (write_corefile): Check RLIMIT_CORE limit and do + nothing if it's zero. - * sysdeps/unix/sysv/linux/mips/sys/tas.h (_test_and_set): Add .set - mips2 for assembler. +2001-04-19 Matthew Wilcox <willy@ldl.fc.hp.com> - * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Try fcntl - if fnctl64 is not available for F_*LK*64. + * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): + Change to return a signed result for compatibility with other + architectures, and correctness. - * sysdeps/unix/sysv/linux/i386/lockf64.c: New file. +2001-04-19 Ulrich Drepper <drepper@redhat.com> -2000-08-12 Ulrich Drepper <drepper@redhat.com> + * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_32BITUIDS): + HPPA always had them. Patch by Matthew Wilcox <matthew@wil.cx>. - * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64): - Define for 2.4.1 on x86. - * sysdeps/unix/sysv/linux/i386/fcntl.c: New file. - * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Fill in correct values - for F_GETLK64, F_SETLK64, and F_SETLKW64. - - * dirent/dirent.h: Define DT_WHT. - - * sysdeps/unix/sysv/linux/arm/alphasort64.c: New file. - * sysdeps/unix/sysv/linux/arm/getdents64.c: New file. - * sysdeps/unix/sysv/linux/arm/readdir64.c: New file. - * sysdeps/unix/sysv/linux/arm/readdir64_r.c: New file. - * sysdeps/unix/sysv/linux/arm/scandir64.c: New file. - * sysdeps/unix/sysv/linux/arm/versionsort64.c: New file. - -2000-08-11 Ulrich Drepper <drepper@redhat.com> - - * nss/digits_dots.c: Don't pass NULL in h_aliases for successful - lookup, pass pointer to array with NULL pointer [PR libc/1858]. - * inet/Makefile (tests): Add tst-gethnm. - * inet/tst-gethnm.c: New file. - - * rt/aio_cancel.c: If canceling a specific request which is running - *really* do nothing. - * rt/aio_misc.h: Add `done' to states of a request. - * rt/aio_misc.c: Add several tests for the correct state. - Simplify request table memory handling. - -2000-08-10 Jakub Jelinek <jakub@redhat.com> - - * dirent/scandir.c: Use it for scandir64 and old_scandir64 as well. - * dirent/scandir64.c: Move... - * sysdeps/generic/scandir64.c: ...here. - * dirent/alphasort64.c: Move... - * sysdeps/generic/alphasort64.c: ...here. - * dirent/versionsort64.c: Move... - * sysdeps/generic/versionsort64.c: ...here. - * sysdeps/unix/sysv/linux/i386/dirent/Versions (alphasort64, - getdirentries64, readdir64, readdir64_r, scandir64, versionsort64): - Export symbols at GLIBC_2.2. - * sysdeps/unix/sysv/linux/powerpc/dirent/Versions: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc32/dirent/Versions: Likewise. - * include/dirent.h (__readdir64_r, __scandir64, __alphasort64, - __versionsort64): Add prototypes. - * io/Versions (__xstat64, __fxstat64, __lxstat64): Export at GLIBC_2.2. - * sysdeps/unix/sysv/linux/alpha/kernel_stat.h (__xstat_conv): Remove - unused prototype. - * sysdeps/unix/sysv/linux/alpha/readdir.c: Export at both GLIBC_2.1 - and GLIBC_2.2. - * sysdeps/unix/sysv/linux/alpha/readdir_r.c: Likewise. - * sysdeps/unix/sysv/linux/alpha/getdents.c: New. - * sysdeps/unix/sysv/linux/alpha/getdents64.c: New. - * sysdeps/unix/sysv/linux/bits/types.h (__ino64_t): Change to - __u_quad_t. - * sysdeps/unix/sysv/linux/bits/stat.h (struct stat, struct stat64): - Adjust for kernel-2.4.0-test6 layout. - * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat64): Export at both - GLIBC_2.1 and GLIBC_2.2. - * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat64): Likewise. - * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat64): Likewise. - * sysdeps/unix/sysv/linux/i386/getdents64.c: New. - * sysdeps/unix/sysv/linux/i386/olddirent.h: New. - * sysdeps/unix/sysv/linux/i386/readdir64.c: New. - * sysdeps/unix/sysv/linux/i386/readdir64_r.c: New. - * sysdeps/unix/sysv/linux/i386/scandir64.c: New. - * sysdeps/unix/sysv/linux/i386/alphasort64.c: New. - * sysdeps/unix/sysv/linux/i386/versionsort64.c: New. - * sysdeps/unix/sysv/linux/ia64/getdents.c: New. - * sysdeps/unix/sysv/linux/ia64/getdents64.c: New. - * sysdeps/unix/sysv/linux/ia64/readdir.c: Include alpha/readdir.c. - * sysdeps/unix/sysv/linux/ia64/readdir_r.c: Include alpha/readdir_r.c. - * sysdeps/unix/sysv/linux/mips/bits/types.h (__ino64_t): Change to - __u_quad_t. - * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: New. - * sysdeps/unix/sysv/linux/powerpc/kernel_stat.h (_HAVE_STAT*): Define. - * sysdeps/unix/sysv/linux/powerpc/scandir64.c: New. - * sysdeps/unix/sysv/linux/powerpc/getdents64.c: New. - * sysdeps/unix/sysv/linux/powerpc/readdir64.c: New. - * sysdeps/unix/sysv/linux/powerpc/readdir64_r.c: New. - * sysdeps/unix/sysv/linux/sparc/bits/types.h (__ino64_t): Change to - __u_quad_t. - * sysdeps/unix/sysv/linux/sparc/bits/stat.h: New. - * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h (_HAVE_STAT*): - Define. - * sysdeps/unix/sysv/linux/sparc/sparc32/getdents64.c: New. - * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64.c: New. - * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64_r.c: New. - * sysdeps/unix/sysv/linux/sparc/sparc32/scandir64.c: New. - * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h (_HAVE_STAT*): - Define. - * sysdeps/unix/sysv/linux/sparc/sparc64/readdir.c: Include - alpha/readdir.c. - * sysdeps/unix/sysv/linux/sparc/sparc64/readdir_r.c: Include - alpha/readdir_r.c - * sysdeps/unix/sysv/linux/sparc/sparc64/getdents.c: New. - * sysdeps/unix/sysv/linux/sparc/sparc64/getdents64.c: New. - * sysdeps/unix/sysv/linux/fxstat64.c (__fxstat64): If - _HAVE_STAT64___ST_INO and __st_ino != (uint32_t)st_ino, set - st_ino from __st_ino. - * sysdeps/unix/sysv/linux/lxstat64.c (__lxstat64): Likewise. - * sysdeps/unix/sysv/linux/xstat64.c (__xstat64): Likewise. - * sysdeps/unix/sysv/linux/xstatconv.c (xstat_conv, xstat64_conv, - xstat32_conv): Use _HAVE_STAT* macros. If _HAVE_STAT64___ST_INO, - set __st_ino in addition to st_ino. - * sysdeps/unix/sysv/linux/kernel_stat.h (_HAVE_STAT*): Define. - * sysdeps/unix/sysv/linux/getdents.c: Use it for __getdents64 and - __old_getdents64 as well. - * sysdeps/unix/sysv/linux/getdirentries.c: Use it for - getdirentries64 and old_getdirentries64 as well. - * sysdeps/unix/sysv/linux/getdirentries64.c (GETDIRENTRIES, - __GETDENTS): Define. - (GETDENTS64): Remove. - * sysdeps/unix/sysv/linux/getdents64.c (__GETDENTS, DIRENT_TYPE): - Define. - (GETDENTS64): Remove. - * sysdeps/unix/sysv/linux/readdir64.c: Use sysdeps/unix/readdir.c. - * sysdeps/unix/sysv/linux/readdir64_r.c: Use sysdeps/unix/readdir_r.c. - * sysdeps/unix/readdir.c: Use it for readdir64 and __old_readdir64 - as well. - * sysdeps/unix/readdir_r.c: Use it for readdir64_r and - __old_readdir64_r as well. - * sysdeps/unix/sysv/linux/kernel-features.h: Define - __ASSUME_ST_INO_64_bit for kernel 2.4.1 and up. +2001-04-19 Andreas Jaeger <aj@suse.de> -2000-08-08 Jes Sorensen <jes@linuxcare.com> + * configure.in: Require gettext 0.10.36 or newer. - * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Add SI_KERNEL define. - Add missing ILL_BADIADDR to enum and make ILL_BREAK match the - define of the kernel. - Add missing __SEG_PSTKOVF definition. - Adjust the padding of struct siginfo and struct sigevent to - match the fact that sigval_t is 64 bit. + * manual/install.texi (Tools for Compilation): Mention gettext 0.10.36. -2000-08-10 Ulrich Drepper <drepper@redhat.com> + * po/zh_TW.po: Remove extraneous backslashes. - * timezone/zic.c: Update from tzcode2000f. - * timezone/australasia: Update from tzdata2000f. - * timezone/europe: Likewise. - * timezone/southamerica: Likewise. - * timezone/yearistype: Likewise. + * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Remove unused + variables b and n. -2000-08-10 Andreas Jaeger <aj@suse.de> +2001-04-18 Jakub Jelinek <jakub@redhat.com> - * sysdeps/unix/sysv/linux/mips/bits/stat.h: Synch struct stat64 and - stat with current MIPS kernel. + * 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. -2000-08-01 Mark Kettenis <kettenis@gnu.org> +2001-04-19 Andreas Jaeger <aj@suse.de> - * sysdeps/unix/sysv/linux/i386/sys/elf.h (elf_greg_t, ELF_NGREG, - elf_gregset_t, elf_fpregset_t, elf_fpxregset_t): Moved to - sysdeps/unix/sysv/linux/i386/sys/procfs.h. - Remove the junk that's only relevant in the Linux kernel itself. - Add a warning saying that this file is now obsolete, and include - <sys/procfs.h>. - * sysdeps/unix/sysv/linux/i386/sys/procfs.h (elf_greg_t, - ELF_NGREG, elf_gregset_t, elf_fpregset_t, elf_fpxregset_t): Moved - here from sysdeps/unix/sysv/linux/i386/sys/elf.h. Don't include - <signal.h>, <sys/ucontext.h> and <sys/elf.h>. Remove parts of - `struct elf_prstatus' that are #ifdef'ed out. Improve comments - and add the notice that the file is primarily there for GDB. - * sysdeps/unix/sysv/linux/i386/sys/user.h: Fix comment. + * sysdeps/unix/sysv/linux/hppa/umount.c: Fix typos in last patch. -2000-08-09 Jakub Jelinek <jakub@redhat.com> + * rt/Makefile (otherlibs): Added for static NSS. - * time/tzfile.c (__tzfile_compute): __tzstring zones - from zone_names. + * glibcbug.in (BUGGLIBC): Send to new alias. -2000-08-09 Jakub Jelinek <jakub@redhat.com> +2001-04-02 Andreas Schwab <schwab@suse.de> - * resolv/resolv.h (__res_state): Surround prototype with - __BEGIN_DECLS/__END_DECLS. - * sysdeps/unix/sysv/linux/m68k/chown.c: Include kernel-features.h. + * Makerules (build-module): Make sure exit codes get checked + properly and remove unnecessary slashes. -2000-08-04 Jes Sorensen <jes@linuxcare.com> +2001-04-17 Ulrich Drepper <drepper@redhat.com> - * sysdeps/unix/sysv/linux/ia64/bits/resource.h (__rlimit_resource): - Make independant of asm/resource.h from the Linux kernel. + * 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>. -2000-08-06 Bruno Haible <haible@clisp.cons.org> + * sysdeps/alpha/fpu/libm-test-ulps: Adjust error values for atan2f. - * iconv/gconv_conf.c (__gconv_read_conf): Don't call realpath. +2001-04-17 David S. Miller <davem@redhat.com> -2000-08-06 Bruno Haible <haible@clisp.cons.org> + * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Update for new atan2 tests. + * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise. - * intl/Makefile (CPPFLAGS): Remove $(i18ndir) from LOCALE_ALIAS_PATH. - * locale/Makefile (locale-CPPFLAGS): Likewise. +2001-04-17 Jakub Jelinek <jakub@redhat.com> -2000-08-09 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. - * sysdeps/i386/fpu/libm-test-ulps: Increase several error values - for AMD processors. +2001-04-17 Andreas Jaeger <aj@suse.de> -2000-08-03 Jakub Jelinek <jakub@redhat.com> + * configure.in: Move test for critical programs up. - * misc/Versions (mincore): Export at GLIBC_2.2. +2001-04-16 Stephen L Moshier <moshier@mediaone.net> -2000-08-03 Bruno Haible <haible@clisp.cons.org> + * 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. - * intl/libintl.h (gettext, dgettext, dcgettext): Add back __THROW. +2001-04-16 Ulrich Drepper <drepper@redhat.com> -2000-08-02 Mark Kettenis <kettenis@gnu.org> + * sysdeps/ieee754/ldbl-128/k_tanl.c: New file. + Contributed by Stephen L Moshier <moshier@mediaone.net>. - * sysdeps/mach/hurd/socketpair.c (__socketpair): Renamed from - socketpair. Made socketpair a weak alias. - * sysdeps/mach/hurd/pipe.c (__pipe): Reimplemented using - __socketpair. Use S_IFIFO protocol to make pipes POSIX - conforming, but fall back on the old protocol if the socket server - doesn't support it. - * include/sys/socket.h: Add prototype for __socketpair. + * string/string.h: Replace const in attribute list with __const__. -2000-08-09 Andreas Schwab <schwab@suse.de> +2001-04-16 Roland McGrath <roland@frob.com> - * stdio-common/vfprintf.c (vfprintf): Also set `is_long' if the - long long modifier is seen. + * 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. - * elf/nodelete.c (do_test): Remove reference to undefined member - sa_restorer. - * rt/tst-aio4.c (do_test): Likewise. + * sysdeps/posix/euidaccess.c: Don't #include <limits.h> or try to + define NGROUPS_MAX; we don't use it here. - * configure.in: Add `-lm' when checking for libgd. - * malloc/Makefile ($(objpfx)memusagestat): Add `-lm' during - linking. +2001-04-16 Andreas Jaeger <aj@suse.de> -2000-08-09 Andreas Jaeger <aj@suse.de> + * math/libm-test.inc (atan2_test): Add more testcases. - * configure.in: Change required make versions. + * iconv/gconv_db.c: Include gconv_charset.h for + __gconv_lookup_alias prototype. - * manual/install.texi (Tools for Compilation): Document required - make version. - (Supported Configurations): Update list of supported - configurations. +2001-04-13 Ulrich Drepper <drepper@redhat.com> -2000-08-08 Ulrich Drepper <drepper@redhat.com> + * sysdeps/ieee754/ldbl-128/s_atanl.c: New file. + Contributed by Stephen L Moshier <moshier@mediaone.net>. - * locale/linereader.c (get_string): Don't print an error is a string - contains an unknown character. +2001-04-13 Jes Sorensen <jes@linuxcare.com> -2000-08-06 Ulrich Drepper <drepper@redhat.com> + * intl/tst-codeset.c: Include string.h to get prototype for strcmp(). - * locale/programs/ld-collate.c (struct symbol_t): Add name element. - (new_symbol): Take new parameters with name of the symbol. - Adjust callers. - (handle_ellipsis): Don't only allow character symbols. - (collate_read): Allow string of collating elements contain invalid - characters; ignore entry in this case. - Handle ellipsis of collating symbols before first order_start. - Allow ellipsis in state 0. +2001-04-13 Jes Sorensen <jes@linuxcare.com> -2000-08-04 Ulrich Drepper <drepper@redhat.com> + * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Add __pad0 to + explicitly pad struct siginfo instead of relying on compiler padding. - * locale/programs/ld-collate.c (handle_ellipsis): Fix typo in - error message. - Reported by Tung-Han Hsieh <thhsieh@twcpro.phys.ntu.edu.tw>. +2001-04-12 Ulrich Drepper <drepper@redhat.com> -2000-08-04 Greg McGary <greg@mcgary.org> + * sysdeps/ia64/Dist: Add elf/entry.h. - * posix/regex.c (SET_HIGH_BOUND): New macro. - (MOVE_BUFFER_POINTER): Use it. - (ELSE_EXTEND_BUFFER_HIGH_BOUND): New macro. - (EXTEND_BUFFER): Use it. + * iconvdata/Makefile (distribute): Add TESTS2. -2000-08-03 Ulrich Drepper <drepper@redhat.com> +2001-04-13 Jakub Jelinek <jakub@redhat.com> - * libio/iofwide.c (_IO_fwide): Initialize fp->_codecvt as well. - * libio/fileops.c (_IO_new_file_fopen): Use _codecvt not from - _wide_data but from _IO_FILE directly. - * libio/iofclose.c: Likewise. - * libio/wfileops.c: Likewise. + * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_load_address): + Calculate load address differently. - * libio/genops.c (_IO_default_showmanyc): Change return type to size_t. - * libio/libioP.h: Change prototypes. +2001-04-12 Bruno Haible <haible@clisp.cons.org> -2000-08-03 Greg McGary <greg@mcgary.org> + * 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. - * sysdeps/i386/setjmp.S (__sigsetjmp): Pop our - frame pointer early so that we save caller's frame pointer. - * sysdeps/i386/elf/setjmp.S: Likewise. +2001-04-11 Bruno Haible <haible@clisp.cons.org> - * sysdeps/unix/sysv/syscalls.list (time, utime): Correct signatures. - * io/test-utime.c: Test passing NULL as utimbuf* arg. - - * posix/regex.c (EXTEND_BUFFER_HIGH_BOUND): Remove macro. - (MOVE_BUFFER_POINTER): Handle high_bound properly. - (EXTEND_BUFFER): Don't call EXTEND_BUFFER_HIGH_BOUND. - -2000-08-03 Ulrich Drepper <drepper@redhat.com> - - * iconvdata/big5.c: Updated. - Patch by Tung-Han Hsieh <thhsieh@twcpro.phys.ntu.edu.tw>. - -2000-08-02 Ulrich Drepper <drepper@redhat.com> - - * Makeconfig (all-subdirs): Add conform. - * conform/Makefile: Include ../Rules. - - * Makefile (README): Add rules to generate here as well. - -2000-08-02 Ulrich Drepper <drepper@redhat.com> - - * version.h (VERSION): Bump to 2.1.92. - - * sysdeps/ia64/Dist: Add _mcount.S. - - * sysdeps/unix/sysv/linux/ia64/Dist: Add clone.S. - - * sysdeps/unix/sysv/linux/mips/Dist: Add _test_and_set.c. - - * elf/Makefile (distribute): Add missing modules. - - * sysdeps/unix/sysv/linux/s390/Dist: Remove nonexisting files. - - * posix/regex.c (compile_range): Translate range start and end - characters to avoid empty range in case of REG_ICASE [PR libc/1842]. - - * sysdeps/unix/sysv/linux/ia64/bits/resource.h: Don't include - asm/resource.h. - - * sysdeps/unix/sysv/linux/arm/Makefile: Undo last change. - -2000-08-02 Andreas Jaeger <aj@suse.de> - - * elf/elf.h (EM_S390): Added. - (R_390_*): New relocs for S390. - - * sysdeps/unix/sysv/linux/s390/Dist: New file. - * sysdeps/unix/sysv/linux/s390/sysdep.h: New file. - * sysdeps/unix/sysv/linux/s390/sysdep.S: New file. - * sysdeps/unix/sysv/linux/s390/syscall.S: New file. - * sysdeps/unix/sysv/linux/s390/sys/user.h: New file. - * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file. - * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: New file. - * sysdeps/unix/sysv/linux/s390/sys/elf.h: New file. - * sysdeps/unix/sysv/linux/s390/socket.S: New file. - * sysdeps/unix/sysv/linux/s390/sigcontextinfo.h: New file. - * sysdeps/unix/sysv/linux/s390/shmctl.c: New file. - * sysdeps/unix/sysv/linux/s390/setreuid.c: New file. - * sysdeps/unix/sysv/linux/s390/setresuid.c: New file. - * sysdeps/unix/sysv/linux/s390/setresgid.c: New file. - * sysdeps/unix/sysv/linux/s390/setregid.c: New file. - * sysdeps/unix/sysv/linux/s390/setgroups.c: New file. - * sysdeps/unix/sysv/linux/s390/setgid.c: New file. - * sysdeps/unix/sysv/linux/s390/setfsuid.c: New file. - * sysdeps/unix/sysv/linux/s390/setfsgid.c: New file. - * sysdeps/unix/sysv/linux/s390/seteuid.c: New file. - * sysdeps/unix/sysv/linux/s390/setegid.c: New file. - * sysdeps/unix/sysv/linux/s390/semctl.c: New file. - * sysdeps/unix/sysv/linux/s390/register-dump.h: New file. - * sysdeps/unix/sysv/linux/s390/putpmsg.c: New file. - * sysdeps/unix/sysv/linux/s390/putmsg.c: New file. - * sysdeps/unix/sysv/linux/s390/profil-counter.h: New file. - * sysdeps/unix/sysv/linux/s390/msgctl.c: New file. - * sysdeps/unix/sysv/linux/s390/mmap.S: New file. - * sysdeps/unix/sysv/linux/s390/getuid.c: New file. - * sysdeps/unix/sysv/linux/s390/getresuid.c: New file. - * sysdeps/unix/sysv/linux/s390/getresgid.c: New file. - * sysdeps/unix/sysv/linux/s390/getpmsg.c: New file. - * sysdeps/unix/sysv/linux/s390/getmsg.c: New file. - * sysdeps/unix/sysv/linux/s390/getgroups.c: New file. - * sysdeps/unix/sysv/linux/s390/getegid.c: New file. - * sysdeps/unix/sysv/linux/s390/geteuid.c: New file. - * sysdeps/unix/sysv/linux/s390/fchown.c: New file. - * sysdeps/unix/sysv/linux/s390/clone.S: New file. - * sysdeps/unix/sysv/linux/s390/brk.c: New file. - * sysdeps/unix/sysv/linux/s390/bits/time.h: New file. - * sysdeps/unix/sysv/linux/s390/bits/resource.h: New file. - * sysdeps/unix/sysv/linux/s390/bits/mman.h: New file. - * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: New file. - * sysdeps/unix/sysv/linux/s390/Makefile: New file. - * sysdeps/s390/sysdep.h: New file. - * sysdeps/s390/sys/ucontext.h: New file. - * sysdeps/s390/sub_n.S: New file. - * sysdeps/s390/strncpy.S: New file. - * sysdeps/s390/strcpy.S: New file. - * sysdeps/s390/stackinfo.h: New file. - * sysdeps/s390/setjmp.S: New file. - * sysdeps/s390/s390-mcount.S: New file. - * sysdeps/s390/mul_1.S: New file. - * sysdeps/s390/memusage.h: New file. - * sysdeps/s390/memset.S: New file. - * sysdeps/s390/memcpy.S: New file. - * sysdeps/s390/memchr.S: New file. - * sysdeps/s390/machine-gmon.h: New file. - * sysdeps/s390/ldbl2mpn.c: New file. - * sysdeps/s390/gmp-mparam.h: New file. - * sysdeps/s390/fpu/fpu_control.h: New file. - * sysdeps/s390/fpu/fesetround.c: New file. - * sysdeps/s390/fpu/fegetround.c: New file. - * sysdeps/s390/fpu/fclrexcpt.c: New file. - * sysdeps/s390/fpu/bits/fenv.h: New file. - * sysdeps/s390/ffs.c: New file. - * sysdeps/s390/elf/start.S: New file. - * sysdeps/s390/elf/setjmp.S: New file. - * sysdeps/s390/elf/bsd-setjmp.S: New file. - * sysdeps/s390/elf/bsd-_setjmp.S: New file. - * sysdeps/s390/dl-machine.h: New file. - * sysdeps/s390/bzero.S: New file. - * sysdeps/s390/bsd-setjmp.S: New file. - * sysdeps/s390/bsd-_setjmp.S: New file. - * sysdeps/s390/bits/string.h: New file. - * sysdeps/s390/bits/setjmp.h: New file. - * sysdeps/s390/bits/huge_val.h: New file. - * sysdeps/s390/bits/endian.h: New file. - * sysdeps/s390/bits/byteswap.h: New file. - * sysdeps/s390/bcopy.S: New file. - * sysdeps/s390/backtrace.c: New file. - * sysdeps/s390/atomicity.h: New file. - * sysdeps/s390/asm-syntax.h: New file. - * sysdeps/s390/addmul_1.S: New file. - * sysdeps/s390/add_n.S: New file. - * sysdeps/s390/abort-instr.h: New file. - * sysdeps/s390/__longjmp.c: New file. - * sysdeps/s390/Makefile: New file. - * sysdeps/s390/Implies: New file. - * sysdeps/s390/Dist: New file. - Patches by Martin Schwidefsky <schwidefsky@de.ibm.com>. - -2000-08-01 Ulrich Drepper <drepper@redhat.com> - - Remove incompatible IPv6 extension of RPC. - * sunrpc/Makefile: Undo changes. - * sunrpc/rpc_main.c: Likewise. - * sunrpc/rpc/clnt.h: Likewise. - * sunrpc/rpc/svc.h: Likewise. - * sunrpc/bindrsvprt6.c: Removed. - * sunrpc/clnt_tcp6.c: Removed. - * sunrpc/clnt_udp6.c: Removed. - * sunrpc/svc_tcp6.c: Removed. - * sunrpc/svc_udp6.c: Removed. - - * intl/libintl.h: Don't use __attribute_format_arg__ for gettext, - dgettext, and dcgettetxt. - - * intl/locale.alias: Update japanese aliases. - - * sysdeps/ia64/bits/byteswap.h: New file. - Patch by Dan Pop <Dan.Pop@cern.ch>. - - * misc/sys/cdefs.h: Define __attribute_format_arg__. - * intl/libintl.h: Use it here instead of using __attribute__ directly. - -2000-07-13 H.J. Lu <hjl@gnu.org> - - * posix/regex.c (re_max_failures): Set to 4000. - -2000-08-01 Ulrich Drepper <drepper@redhat.com> - - * gnulib/Makefile (tests): Add tst-gcc. - * gnulib/tst-gcc.c: New file. - - * assert/Makefile (routines): Add __assert. - * assert/Versions: Export __assert for glibc 2.2. - * assert/__assert.c: New file. - * assert/assert.h: Declare __assert. - -2000-07-27 Bruno Haible <haible@clisp.cons.org> - - * locale/localeinfo.h (_ISCTYPE): New macro. - * posix/fnmatch_loop.c (internal_fnmatch): Use it, support new - LC_CTYPE locale format. - * locale/programs/ld-ctype.c (locale_ctype_t): New field class_b. - (ctype_output): Output class_b[nr] right before class_3level[nr]. - (allocate_arrays): Fill class_b, similarly to class_3level. - -2000-08-01 Ulrich Drepper <drepper@redhat.com> - Joseph S. Myers <jsm28@cam.ac.uk> - - * math/tgmath.h: Make standard compliant. Don't ask how. - -2000-07-04 H.J. Lu <hjl@gnu.org> - - * elf/Makefile ($(inst_slibdir)/$(rtld-version-installed-name)): - Use $(do-install-program) instead of "$(INSTALL_PROGRAM) $< $@.new". - ($(inst_slibdir)/$(rtld-installed-name)): Use $(make-shlib-link) only. - -2000-07-30 Maciej W. Rozycki <macro@ds2.pg.gda.pl> - - * include/features.h (_XOPEN_SOURCE): Update the explanation. - (__USE_LARGEFILE): Add an explanation. - (_POSIX_C_SOURCE): Define to 2 only if _XOPEN_SOURCE < 500. - (__USE_XOPEN2K): Define whenever _XOPEN_SOURCE >= 600. - -2000-08-01 Ulrich Drepper <drepper@redhat.com> - - * libio/Makefile: Enable exception handling for genops, wgenops, - fileops, and wfileops. - -2000-07-29 Mark Kettenis <kettenis@gnu.org> - - * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Take into - acount that elf/rtld's main program might remove some varibales - from the environment if we're trying to be secure. Move the Hurd - startup data if necessary, or, if we there is no startup data, - make sure the magical convention that ARGV[0] is stored just after - the environment list. + * 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. -2000-08-01 Philip Blundell <philb@gnu.org> +2001-04-11 Bruno Haible <haible@clisp.cons.org> - * sysdeps/unix/sysv/linux/arm/Makefile [subdir=resource] - (sysdep_routines): Add oldgetrlimit, oldsetrlimit. - * sysdeps/unix/sysv/linux/arm/syscalls.list: Add oldgetrlimit, - oldsetrlimit for GLIBC_2.0. + * 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. -2000-08-01 Andreas Jaeger <aj@suse.de> +2001-04-11 Bruno Haible <haible@clisp.cons.org> - * nss/nss_files/files-ethers.c: Use case-insensitive lookup. - (LINE_PARSER): Allow any number of spaces between ip address and - number. Fixes PR libc/1833, reported by rp010gf@voruta.vu.lt. + * iconvdata/utf-16.c (gconv_init): Use MAX_NEEDED_FROM, not + MIN_NEEDED_FROM. - * conform/data/netdb.h-data: Remove getipnodebyaddr and friends. +2001-04-11 David Mosberger <davidm@hpl.hp.com> - * include/netdb.h: Remove getipnodebyaddr and friends, leave - constants in. + * sysdeps/ia64/htonl.S: Drop superfluous "alloc". + * sysdeps/ia64/htons.S: Likewise. - * nis/Versions: Remove _nss_nis_getipnodebyname_r and - _nss_nisplus_getipnodebyname_r. + * sysdeps/ia64/memset.S: Add unwind directives. + * sysdeps/ia64/strncpy.S: Likewise. + * sysdeps/ia64/strcat.S: Likewise. - * nis/nss_nis/nis-hosts.c (_nss_nis_getipnodebyname_r): #if 0 for - now, getipnodebyname is deprecated. - * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_getipnodebyname_r): - Likewise. + * 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. - * inet/Makefile (routines): Don't build getipnodebyaddr and - friends. +2001-04-11 Jakub Jelinek <jakub@redhat.com> - * intl/Makefile (distribute): Add tst-translit.sh and translit.po. + * 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. - * hesiod/Makefile (distribute): Add nss_hesiod/nss_hesiod.h. +2001-04-11 Andreas Jaeger <aj@suse.de> - * elf/Makefile (distribute): Add filtmod1.c and filtmod2.c. + * sysdeps/mips/elf/start.S [__ASSEMBLY__]: Define it. - * wctype/Makefile (distribute): Add wchar-lookup.h. +2001-04-11 Andreas Schwab <schwab@suse.de> - * sysdeps/generic/Dist: Add bp-checks.h and bp-semctl.h. + * sysdeps/m68k/fpu/libm-test-ulps: Adjusted. - * iconvdata/Makefile (distribute): Add isiri-3342.h. +2001-04-11 Ulrich Drepper <drepper@redhat.com> -2000-08-01 Andreas Schwab <schwab@suse.de> + * sysdeps/arm/stackinfo.h: New file. - * Make-dist (dist): Resolve `..' in file names. +2001-04-08 Thorsten Kukuk <kukuk@suse.de> -2000-08-01 Andreas Jaeger <aj@suse.de> + * sunrpc/rpc_main.c: If we compile RPC thread safe, allow + rpcgen to generate thread safe code. - * stdio-common/Makefile (distribute): Remove removed files, add - new files. +2001-04-10 Andreas Jaeger <aj@suse.de> - * Makefile (distribute): Remove include/db_185.h and db.h. + * math/test-fenv.c (initial_tests): Protect FE_TONEAREST declaration. - * include/db_185.h: Remove, it's not needed anymore. - * include/db.h: Likewise. +2001-04-10 Ulrich Drepper <drepper@redhat.com> -2000-07-31 Ulrich Drepper <drepper@redhat.com> + * elf/dl-minimal.c (__assert_fail): Change error string. It's + most of the time no bug in ld.so. + (__assert_perror_fail): Likewise. - * inet/Makefile (tests): Remove tst-ipnode. - * include/netdb.h: Add stuff removed from resolv/netdb.h here for - now. +2001-04-11 Hans-Peter Nilsson <hp@axis.com> -2000-07-31 Jes Sorensen <jes@linuxcare.com> + * sysdeps/generic/bits/fenv.h (fexcept_t): Change default type + from struct to unsigned int. - * sysdeps/ia64/elf/initfini.c: Kill dummy section since align and - endp statements have already been added. +2001-04-10 Franz Sirl <Franz.Sirl-kernel@lauterbach.com> -2000-04-18 David Mosberger <davidm@hpl.hp.com> + * 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. - * sysdeps/unix/sysv/linux/ia64/sysdep.h: Include - <sysdeps/ia64/sysdep.h>. +2000-4-10 kaz Kojima <kkojima@rr.iij4u.or.jp> - * sysdeps/ia64/_mcount.S: New file. + * sysdeps/sh/stackinfo.h: New file. - * sysdeps/ia64/elf/initfini.c (_init): Preserve gp around call to - __gmon_start__. Fix up extraneous whitespace. +2001-04-10 Ulrich Drepper <drepper@redhat.com> -2000-01-12 H.J. Lu <hjl@gnu.org> + * 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. - * sysdeps/ia64/elf/initfini.c: New file. + * ctype/ctype_l.c: Fix definitions of __tolower_l and __toupper_l. + Reported by Konstantin Osipov <rabid@spylog.ru>. -2000-07-31 Jes Sorensen <jes@linuxcare.com> + * sysdeps/i386/fpu/libm-test-ulps: Add deltas for tgamma to help + the lousy AMD FPU. - * sysdeps/unix/sysv/linux/ia64/clone.S: Add stop bit to avoid WAW - dependency between branch and ar.pfs write. +2001-04-10 Franz Sirl <Franz.Sirl-kernel@lauterbach.com> -2000-07-31 H.J. Lu <hjl@gnu.org> + * 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. - * sysdeps/generic/printf_fphex.c (__printf_fphex): Correctly - handle the wchar_t array. +2001-04-10 Ulrich Drepper <drepper@redhat.com> -2000-07-31 Ulrich Drepper <drepper@redhat.com> + * elf/dl-deps.c (_dl_map_object_deps): Provide complete error + message. Based on a patch by HJ Lu. - * iconvdata/gb18030.c: Don't map to and from positions in ISO - 10646 which are not yet assigned. - Patch by wang shouhua <shouhuawang@redflag-linux.com>. +2001-04-10 Andreas Schwab <schwab@suse.de> -2000-07-31 Andreas Jaeger <aj@suse.de> + * math/libm-test.inc (csinh_test): Don't require the invalid + exception for csinh (x + iNaN), but make it optional. - * inet/Versions: Remove getipnodebyaddr and friends from - GLIBC_2.2. +2001-04-09 David Mosberger <davidm@hpl.hp.com> - * resolv/netdb.h: Remove getipnodebyaddr and friends. + * sysdeps/ia64/elf/start.S (_start): Add unwind directives. -2000-07-30 Bruno Haible <haible@clisp.cons.org> + * 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. + +2001-04-10 Martin Schwidefsky <schwidefsky@de.ibm.com> + + * 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. + +2001-04-10 Ulrich Drepper <drepper@redhat.com> + + * sysdeps/alpha/stackinfo.h: New file. + * sysdeps/ia64/stackinfo.h: New file. + +2001-04-10 Andreas Schwab <schwab@suse.de> + + * sysdeps/m68k/fpu/e_pow.c: Correct handling of some exceptional + values. + * sysdeps/m68k/fpu/e_scalb.c: Likewise. + +2001-04-09 Ulrich Drepper <drepper@redhat.com> + + * sysdeps/sparc/sparc32/sparcv9/Dist: Add hp-timing.c. + * sysdeps/sparc/sparc64/Dist: Add hp-timing.c. + + * libio/Makefile (distribute): Add fd_to_filename.h. + +2001-04-05 David S. Miller <davem@redhat.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. + +2001-04-09 Jakub Jelinek <jakub@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. + +2001-04-09 Bruno Haible <haible@clisp.cons.org> + + * misc/error.c (error): fflush stdout also if + error_print_progname != NULL. + (error_at_line): Likewise. + +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. + +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. - * iconvdata/sjis.c (BODY for FROM_LOOP): Treat the case - ch >= 0x81 && ch2 < 0x40 as invalid. + * 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. -2000-07-30 Bruno Haible <haible@clisp.cons.org> +2001-04-07 Andreas Jaeger <aj@suse.de> - * iconvdata/uhc.c (BODY for FROM_LOOP): Reject ch2 == 0xff as invalid. - (BODY for TO_LOOP): Accept 0x7f. Increment outptr as needed. + * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Use sincos + instead of separate sin and cos. + (__ieee754_j1l): Likewise. -2000-07-30 Bruno Haible <haible@clisp.cons.org> +2001-04-06 Ulrich Drepper <drepper@redhat.com> - * iconvdata/johab.c (BODY for TO_LOOP): After calling - ucs4_to_ksc5601_sym, fix the conversion to JOHAB. + * sysdeps/ia64/abort-instr.h: New file. Code by David Mosberger. -2000-07-30 Bruno Haible <haible@clisp.cons.org> + * sysdeps/ia64/atomicity.h: New file. Copied from libstdc++. - * iconvdata/t.61.c (to_ucs4): Change values of 0xa4, 0a6, 0xa8, 0xb4, - 0xb8. - (from_ucs4): Change values of U+00A4, U+00BB, U+00ED. + * sysdeps/i386/i486/atomicity.h: Clean up the asms. -2000-07-30 Bruno Haible <haible@clisp.cons.org> + * 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>. - * iconvdata/macintosh.c (HAS_HOLES): Set to 1. +2001-04-05 David S. Miller <davem@redhat.com> -2000-07-30 Bruno Haible <haible@clisp.cons.org> + * sysdeps/sparc/abort-instr.h: New file. - * iconvdata/iso_6937.c (to_ucs4): Change values of 0x24 and 0xb4. - (from_ucs4): Change values of U+00A4 and U+00ED. - (BODY of TO_LOOP): Remove mapping from U+02DC to 0x0020. +2001-04-05 Matt Wilson <msw@redhat.com> -2000-07-30 Bruno Haible <haible@clisp.cons.org> + * sysdeps/unix/sysv/linux/alpha/getsysstats.c (GET_NPROCS_PARSER): + added code to parse new 2.4 format. + (GET_NPROCS_CONF_PARSER): Likewise. - * iconvdata/ansi_x3.110.c (from_ucs4): Change entry for 0xed. - (BODY for TO_LOOP): Map U+2122, U+2126, not U+2022, U+2026. +2001-04-05 David S. Miller <davem@redhat.com> -2000-07-30 Bruno Haible <haible@clisp.cons.org> + * 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 - * iconvdata/Makefile (gen-8bit-gap-modules): Remove isiri-3342. - * iconvdata/isiri-3342.h: New file. - * iconvdata/isiri-3342.c (HAS_HOLES): Avoid gaps >= 0xe0, but don't - treat 0x80 as a gap. +2001-04-06 David Mosberger <davidm@hpl.hp.com> -2000-07-30 Bruno Haible <haible@clisp.cons.org> + * stdlib/tst-setcontext.c: Move st2[] to global scope. + (f2): Verify that stack pointer is inside st2[]. - * string/strxfrm.c (encoding_mask, encoding_byte): Remove. - (utf8_encode): Use simple shifts instead. Fix return value. + * sysdeps/unix/sysv/linux/ia64/getcontext.S: It helps to save r12. + * sysdeps/unix/sysv/linux/ia64/setcontext.S: It helps to restore r12. -2000-07-31 Ulrich Drepper <drepper@redhat.com> +2001-04-06 Ulrich Drepper <drepper@redhat.com> - * timezone/private.h: Update from tzcode2000e. - * timezone/asia: Update from tzdata2000e. + * timezone/antarctica: Update from tzdata2001b. + * timezone/asia: Likewise. * timezone/australasia: Likewise. * timezone/europe: Likewise. * timezone/northamerica: Likewise. - * timezone/zone-tab: Likewise. - -2000-07-30 Ralf Baechle <ralf@gnu.org> - - * sysdeps/unix/sysv/linux/mips/bits/sigstack.h: New file. On MIPS - the order of struct sigaltstack members is different. - -2000-07-26 Philip Blundell <philb@gnu.org> - - * sysdeps/unix/sysv/linux/arm/bits/fcntl.h: New file. - -2000-07-29 Ulrich Drepper <drepper@redhat.com> - - * locale/langinfo.h: Add entries for extra tables in CTYPE data. - * locale/programs/ld-ctype.c: Adjust for this. - - * locale/programs/ld-collate.c: Add more alignment checks. - * locale/string/strcoll.c: Likewise. - -2000-07-30 Mark Kettenis <kettenis@gnu.org> - - * stdio-common/vfprintf.c: Move inclusion of _i18n_number.h - outside USE_IN_LIBIO block. - -2000-07-26 Philip Blundell <philb@gnu.org> - - * sysdeps/arm/dl-machine.h (fix_bad_pc24): New function. - (elf_machine_rel): Use it for out-of-range PC24 relocs. - -2000-07-28 Philip Blundell <philb@gnu.org> - - * math/test-fpucw.c: Ignore reserved bits in control word. - -2000-07-28 Philip Blundell <philb@gnu.org> - - * sysdeps/unix/sysv/linux/arm/sysdep.h (PSEUDO_RET): New macro. - (ret): Redefine to PSEUDO_RET. - (PSEUDO): Remove jump to syscall_error. - -2000-07-29 Mark Kettenis <kettenis@gnu.org> - - * resolv/README: Add some information about using the resolver in - multi-threaded code and with C++. Spelling fixes. -2000-07-29 Mark Kettenis <kettenis@gnu.org> - - * resolv/resolv.h (struct __sockaddr_in): Remove. - (struct __res_state) [!_LIBC]: Remove reference to __sockaddr_in. - -2000-07-29 Greg McGary <greg@mcgary.org> - - * Rules (test-bp-inputs, make-test-out): New variables. - ($(objpfx)%-bp.out): New rule. - ($(objpfx)%.out): Rewrite in terms of new variables. - - * libio/iovswscanf.c (vswscanf): Pass _IO_FILE_plus pointer to - internal function that uses vtable. - * libio/vsnprintf.c (_IO_vsnprintf): Likewise. - * libio/vswprintf.c (_IO_vswprintf): Likewise. - - * malloc/malloc.c (mem2chunk): Define in terms of chunk_at_offset. - (malloc_extend_top): Convert brk to chunk using chunk_at_offset. - (chunk_align): Likewise. - - * time/asctime.c (ab_day_name, ab_month_name): Rewrite expression - in a way that conforms to decl, and avoids spurious bounds violation. - - * sysdeps/arm/frame.h (struct layout): Make pointers __unbounded. - * sysdeps/generic/frame.h: Likewise. - * sysdeps/generic/backtrace.c (ADVANCE_STACK_FRAME): Wrap bounds - around return value. - (__backtrace): Qualify frame-pointer chain and return address - pointers as __unbounded. Wrap bounds around variable `current'. - * sysdeps/generic/segfault.c (ADVANCE_STACK_FRAME): Wrap bounds - around return value. - (catch_segfault): Qualify frame-pointer chain and return address - pointers as __unbounded. Wrap bounds around variable `current'. - * sysdeps/i386/backtrace.c (struct layout): Make pointers __unbounded. - (ADVANCE_STACK_FRAME): Wrap bounds around return value. - * sysdeps/powerpc/backtrace.c (struct layout): Make pointers - __unbounded. - (__backtrace): Qualify frame-pointer chain and return address - pointers as __unbounded. Wrap bounds around variable `current'. - - * sysdeps/i386/addmul_1.S: s2_limb is scalar so remove bounds check. - * sysdeps/i386/mul_1.S: Likewise. - * sysdeps/i386/submul_1.S: Likewise. - * sysdeps/i386/i586/addmul_1.S: Likewise. - * sysdeps/i386/i586/mul_1.S: Add bounds checks. - * sysdeps/i386/i586/submul_1.S: Likewise. - -2000-07-27 Andreas Jaeger <aj@suse.de> - - * libio/Depend: New file, libio needs localedata for tests. - * posix/Depend: Likewise. - -2000-07-28 Ulrich Drepper <drepper@redhat.com> - - * stdio-common/_i18n_itoa.c: Removed. - * stdio-common/_i18n_itoa.h: Removed. - * stdio-common/_i18n_itowa.c: Removed. - * stdio-common/_i18n_itowa.h: Removed. - * stdio-common/_i18n_number.h: New file. - * stdio-common/Depend: New file. - * stdio-common/printf-parse.h: Handle I modifier correctly. Optimize. - * stdio-common/vfprintf.c: Rewrite buffer handling for integer - printing. Change printing of numbers with locale specific digits to - use new code in _i18n_number.h. - * stdio-common/Makefile (routines): Remove _i18n_itoa and - _i18n_itowa. - - * stdio-common/bug13.c: Improve messages. - - * locale/programs/ld-ctype.c (ctype_read): Improve error message. - (set_class_defaults): Always search also for Uxxxx names. - Detect insufficient number of outdigits. - - * locale/Makefile (C-translit.h): Use mv not $(move-if-changed). - -2000-07-27 Bruno Haible <haible@clisp.cons.org> - - * locale/C-ctype.c (_nl_C_LC_CTYPE): Swap the two names in - _NL_CTYPE_MAP_NAMES. - * locale/localeinfo.h (__TOW_toupper, __TOW_tolower): New enum values. - * wctype/wcfuncs.c (towlower, towupper): Use them. - * wctype/wcfuncs_l.c (__towlower_l, __towupper_l): Likewise. - * wctype/wctrans.c (wctrans): Likewise. - * wctype/wctrans_l.c (__wctrans_l): 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-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-telephone.c: Likewise. + * locale/programs/ld-time.c: Likewise. -2000-07-27 Bruno Haible <haible@clisp.cons.org> + * localedata/tests-mbwc/tst_funcs.h (TST_HEAD_LOCALE): It is an error + if the locale data couldn't be found. - * posix/fnmatch.c (is_char_class): Fix logic. Avoid buffer overrun. - Use the optimized version of this function outside glibc as well. + * string/Makefile: Define tst-strxfrm-ENV. -2000-07-27 Jakub Jelinek <jakub@redhat.com> + * ysdeps/unix/sysv/linux/ia64/getcontext.S: Fix comment. - * locale/indigits.h (indigit_value): Correct. - * locale/indigitswc.h (indigitwc_value): Correct. - * stdio-common/vfscanf.c (__vfscanf): Fix I18N number - conversion, add GROUP checking for it, fix GROUP number - conversion with strlen(thousands) > 1. - Honour width correctly in the presence of floating - decimal points and thousands separators. - * stdio-common/tst-sscanf.c: New test. - * stdio-common/Makefile: Add it to tests. - * sysdeps/generic/strtol.c (strtol): Fix conversion if there are - thousands separators and group argument is non-zero. +2001-04-06 Andreas Jaeger <aj@suse.de> -2000-07-25 Bruno Haible <haible@clisp.cons.org> + * include/sys/profil.h: New file. - * locale/Versions: Enumerate __*_l functions individually. __wctrans_l - starts at GLIBC_2.2. + * dlfcn/modatexit.c: Add prototypes to silence GCC. + * dlfcn/modcxaatexit.c: Likewise. + * elf/globalmod1.c: Likewise. -2000-07-12 Maciej W. Rozycki <macro@ds2.pg.gda.pl> +2001-04-05 David S. Miller <davem@redhat.com> - * sysdeps/unix/sysv/linux/mips/Dist: Add sys/tas.h. - * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines): Add - _test_and_set. - (headers): Add sys/tas.h. - * sysdeps/unix/sysv/linux/mips/Versions: Export _test_and_set for - GLIBC_2.2 from libc. - * sysdeps/unix/sysv/linux/mips/_test_and_set.c: New file. - * sysdeps/unix/sysv/linux/mips/sys/tas.h: New file for - _test_and_set. + * 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. -2000-07-28 Andreas Jaeger <aj@suse.de> +2001-04-04 David Mosberger <davidm@hpl.hp.com> - * sysdeps/gnu/netinet/tcp.h: Add TCP options from Linux 2.4. + * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext): Fix + initialization of stack_end (bug reported by Zheng Gengbin + <gzheng@students.uiuc.edu>). - * dlfcn/Makefile ($(objpfx)tst-dladdr): New. - ($(objpfx)tst-dladdr.out): new. - (tests): Add tst-dladdr. - ($(objpfx)glrefmain): Use libdl. +2001-04-05 Ulrich Drepper <drepper@redhat.com> - * dlfcn/tst-dladdr.c: New file. Based on a test by Volkmar Sieh - <vs@caldera.de>. + * sysdeps/i386/fpu/libm-test-ulps: Relax errors for asinl. -2000-07-27 Jes Sorensen <jes@linuxcare.com> +2001-04-05 Martin Schwidefsky <schwidefsky@de.ibm.com> - * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add truncate(64) and - ftruncate(64) calls. + * sysdeps/unix/sysv/linux/s390/s390-64/bits/socket.h: New file. -2000-07-27 Jes Sorensen <jes@linuxcare.com> +2001-04-05 Ulrich Drepper <drepper@redhat.com> - * intl/tst-translit.c: Include string.h to get prototype for - strcmp(). + * sysdeps/ieee754/ldbl-96/e_asinl.c: Correct handling of +-Inf. + * sysdeps/i386/fpu/e_asinl.S: Removed. Too inaccurate. -2000-07-27 Jes Sorensen <jes@linuxcare.com> + * login/tst-utmp.c: Make file usable again in tst-utmpx.c. - * sysdeps/unix/sysv/linux/ia64/fork.c: Make __libc_fork the strong - name and add weak alias for __fork. +2001-04-04 Ulrich Drepper <drepper@redhat.com> - * sysdeps/unix/sysv/linux/ia64/syscalls.list: Change llseek, pread - & pwrite to use __libc_<name> as strong names instead of - __syscall_<name>. + * sysdeps/unix/sysv/aix/dl-libc.c: Don't use the ELF version, + define simple replacements here. Patch by Michael Keezer. - * include/sched.h: Add clone2 prototype. + * 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>. -2000-07-26 Jes Sorensen <jes@linuxcare.com> + * posix/fnmatch_loop.c: Undefine NEW_PATTERN when it is not used + anymore. - * sysdeps/unix/sysv/linux/ia64/sysdep.h (ENTRY): Don't declare the - procedure name twice. +2001-04-01 Andreas Jaeger <aj@suse.de> -2000-07-27 Philip Blundell <philb@gnu.org> + * sysdeps/generic/s_nextafter.c (NO_LONG_DOUBLE): Add nexttowardl + alias. - * malloc/malloc.c (HAVE_MREMAP): Undo change of 1997-12-04. + * sysdeps/generic/s_fma.c (NO_LONG_DOUBLE): Add fmal alias. -2000-07-27 Andreas Jaeger <aj@suse.de> +2001-04-04 Ulrich Drepper <drepper@redhat.com> - * sysdeps/unix/sysv/linux/bits/socket.h: Rename MSG_URG TO - MSG_CONFIRM following kernel 2.4.0 (MSG_URG was never used). - * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise. - Reported by Andi Kleen <ak@suse.de>. + * sysdeps/unix/sysv/linux/s390/s390-64/Dist: Add ucontext_i.h. + * sysdeps/unix/sysv/linux/s390/s390-32/Dist: Likewise. - * rt/tst-aio64.c: Add tests for aio_fsync64 and aio_cancel64. - (do_wait): Test requests with aio_return64. - (do_test): Change callers of do_wait. +2001-04-04 Martin Schwidefsky <schwidefsky@de.ibm.com> -2000-07-26 Andreas Jaeger <aj@suse.de> + * 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. - * rt/tst-aio.c: Add tests for aio_fsync and aio_cancel. - (do_wait): Test requests with aio_return. - (do_test): Change callers of do_wait. +2001-04-04 Andreas Jaeger <aj@suse.de> -2000-07-27 Ulrich Drepper <drepper@redhat.com> + * sysdeps/powerpc/dl-machine.h (ELF_MACHINE_NO_REL): Move to right + place. - * rt/aio_misc.c (__aio_remove_request): New function. Handle removing - from request list. Don't do the list handling here, call - __aio_remove_request. - * rt/aio_misc.h: Add prototype for __aio_remove_request. - * rt/aio_cancel.c: Don't assume __aio_find_req_fd succeeds since the - request might already be processed. Don't do the list handling - here, call __aio_remove_request. +2001-04-04 Ulrich Drepper <drepper@redhat.com> - * rt/aio_misc.c: Don't depend on aio_reqprio field for LIO_SYNC and - LIO_DSYNC. + * 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. - * rt/aio_misc.c: Add comment explaining why writer memory barriers - are missing. + * 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. -2000-07-27 Greg McGary <greg@mcgary.org> +2001-04-03 Ulrich Drepper <drepper@redhat.com> - * sysdeps/generic/bp-checks.h (BOUNDED_N): Make it work for void*. - * sysdeps/generic/bp-semctl.h (check_semctl): Fix syntax error - in union init. Pass zero for ignored semnum arg to semctl. - * sysdeps/unix/sysv/linux/shmat.c (shmat): Fix typo. + * 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. -2000-07-26 Greg McGary <greg@mcgary.org> +2001-03-29 Michael Keezer <mkeezer@redhat.com> - * sysdeps/gnu/bits/msq.h: Qualify kernel's - data structure pointers as __unbounded. - * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise. - * sysdeps/generic/bp-semctl.h: New file. - * sysdeps/unix/sysv/linux/msgctl.c: Qualify kernel's data structure - pointers as __unbounded. Check bounds of syscall args. - * sysdeps/unix/sysv/linux/msgrcv.c: Likewise. - * sysdeps/unix/sysv/linux/msgsnd.c: Likewise. - * sysdeps/unix/sysv/linux/semctl.c: Likewise. - * sysdeps/unix/sysv/linux/semop.c: Likewise. - * sysdeps/unix/sysv/linux/shmat.c: Likewise. - * sysdeps/unix/sysv/linux/shmctl.c: Likewise. - * sysdeps/unix/sysv/linux/shmdt.c: Likewise. - * sysdeps/unix/sysv/linux/alpha/msgctl.c: Likewise. - * sysdeps/unix/sysv/linux/alpha/semctl.c: Likewise. - * sysdeps/unix/sysv/linux/alpha/shmctl.c: Likewise. - * sysdeps/unix/sysv/linux/i386/msgctl.c: Likewise. - * sysdeps/unix/sysv/linux/i386/semctl.c: Likewise. - * sysdeps/unix/sysv/linux/i386/shmctl.c: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Likewise. - -2000-07-26 Ulrich Drepper <drepper@redhat.com> - - * libio/iofwide.c: Enable transliteration for conversion from wchar_t - by default. - * locale/C-ctype.c: Likewise. - * wcsmbs/wcsmbsload.c: Likewise. - -2000-07-26 Greg McGary <greg@mcgary.org> - - * Makeconfig (+link-bounded, link-libc-bounded, - link-extra-libs-bounded): New variables. - (built-program-cmd): Omit $(run-program-prefix) for static BP tests. - * Makerules (do-tests-clean, common-mostlyclean): Remove BP test files. - * Rules (tests-bp.out): New variable. - (tests): Conditionally add BP tests. - (binaries-bounded): Add variable and associated rule. - * csu/Makefile [build-bounded] (extra-objs, install-lib): - Move conditional stuff after place where condition is defined. - - * malloc/malloc.c (bp-checks.h): Add #include. - (mem2chunk, chunk_at_offset, bin_at): Wrap BOUNDED_1 around expression. - (_bin_at): Add unbounded version of bin_at. - (IAV, chunk_alloc): Use unbounded _bin_at. - (mALLOc, rEALLOc, chunk_realloc, mEMALIGn, cALLOc, - chunk2mem_check, realloc_check, malloc_starter, malloc_atfork): - Wrap BOUNDED_N around return value. - (chunk_realloc): Adjust oldsize once. - - * sysdeps/generic/bp-checks.h (__memchr): Remove incorrect decl. - (__ubp_memchr): Add correct decl. - (_CHECK_STRING): Use __ubp_memchr. - * sysdeps/alpha/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr): - New alias for unbounded-pointer __memchr. - * sysdeps/i386/memchr.S: Likewise. - * sysdeps/ia64/memchr.S: Likewise. - * sysdeps/m68k/memchr.S: Likewise. - * sysdeps/sparc/sparc32/memchr.S: Likewise. - * sysdeps/sparc/sparc64/memchr.S: Likewise. - * sysdeps/vax/memchr.s: Likewise. + * 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/i386/strtok.S: Fix bounds checks to pass tests. - (SAVE_PTR): New macro. (save_ptr): Expand size as BP. - (strtok): Don't bother to write into SAVE_PTR when returning NULL. - * sysdeps/i386/i686/strtok.S: Likewise. - * sysdeps/i386/bp-asm.h (RETURN_BOUNDED_POINTER, - RETURN_NULL_BOUNDED_POINTER): Use %ecx as the scratch register. +2001-04-03 Ulrich Drepper <drepper@redhat.com> - * sysdeps/i386/bits/string.h [!__BOUNDED_POINTERS__]: Disable inlines. - * sysdeps/i386/i486/bits/string.h [!__BOUNDED_POINTERS__]: Likewise. + * iconv/Makefile (CFLAGS-charmap.c): Add -DNEED_NULL_POINTER. + * locale/programs/charmap.c: Define null_pointer if + NEED_NULL_POINTER is defined. - * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path): Copy - bounds of copy_result to mount_proc. + * misc/dirname.c (dirname): Handle multiple slashes correctly. -2000-07-25 Bruno Haible <haible@clisp.cons.org> +2001-04-03 Martin Schwidefsky <schwidefsky@de.ibm.com> - * wctype/wctype.h (__wctrans_l): New declaration. - * wctype/wctrans_l.c: New file. - * wctype/Makefile (routines): Add wctrans_l. + * sysdeps/s390/s390-64/initfini.c: Fix __gmon_start__ GOT access. -2000-07-26 Ulrich Drepper <drepper@redhat.com> +2001-04-03 Martin Schwidefsky <schwidefsky@de.ibm.com> - * posix/fnmatch_loop.c: Fixes for use outside glibc. - Patch by MacGyver <macgyver@tos.net>. + * 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. -2000-07-26 Andreas Jaeger <aj@suse.de> +2001-04-02 Bruno Haible <haible@clisp.cons.org> - * rt/tst-aio4.c: New file, slightly modified version of tst-aio2. - * rt/tst-aio5.c: New file, slightly modified version of tst-aio2. - * rt/Makefile: Add rules to build and run tst-aio4 and tst-aio5. + * manual/message.texi (Advanced gettext functions): More specific + syntax in the plural formula examples. - * rt/tst-aio.c (test_file): Fix typo. - * rt/tst-aio64.c (test_file): Likewise. +2001-04-02 Franz Sirl <Franz.Sirl-kernel@lauterbach.com> - * rt/tst-aio3.c: New file, slightly modified version of tst-aio2. - * rt/Makefile: Add rules to build and run tst-aio3. + * 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/unix/sysv/linux/netinet/ip.h: Removed ip_options since - it's not needed and confuses only. +2001-04-02 Andreas Jaeger <aj@suse.de> -2000-07-26 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>. - * resolv/res_init.c: Add support for nameserver communication with - IPv6. - * resolv/res_send.c: Likewise. - * resolv/resolv.h (struct __res_state): Store IPv6 address, not IPv4 - in nsaddrs field. - Patch by <venaas@nvg.ntnu.no>. +2001-04-01 Andreas Jaeger <aj@suse.de> -2000-07-25 Bruno Haible <haible@clisp.cons.org> + * debug/xtrace.sh (pcprofileso): Use SLIBDIR since libpcprofile.so + is installed there. + * malloc/memusage.sh (memusageso): Likewise for libmemusage.so. - * locale/programs/ld-ctype.c (wctype_table_get): New function. - (wcwidth_table_get): New function. - (wcwidth_table_add): Call it. - (wctrans_table_get): New function. - (wctrans_table_add): Call it. +2001-04-01 H.J. Lu <hjl@gnu.org> -2000-07-25 Ulrich Drepper <drepper@redhat.com> + * posix/annexc.c (macrofile): Renamed from TMPFILE and set to + tmpnam (NULL). + * stdlib/isomac.c (macrofile): Likewise. - * rt/lio_listio.c (lio_listio): Always disable individual - notification. - * rt/Makefile: Add rules to build and run tst-aio2. - * rt/tst-aio2.c: New file. +2001-03-30 Thorsten Kukuk <kukuk@suse.de> - * rt/lio_listio.c (lio_listio): Handle case of SIG == NULL correctly. - Reported by Kevin Beard <beardk@gatwick.Geco-Prakla.slb.com>. + * 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. -2000-07-25 Mark Kettenis <kettenis@gnu.org> +2001-04-02 Andreas Schwab <schwab@suse.de> - * nss/nss_files/files-netgrp.c (strip_whitespace): New function. - (_nss_netgroup_parseline): Use strip_whitespace to strip off any - leading and trailing spaces from host, user and domain name. + * resolv/res_data.c (res_isourserver): Fix cast. -2000-07-25 Jes Sorensen <jes@linuxcare.com> +2001-04-02 Andreas Jaeger <aj@suse.de> - * csu/defs.awk: Add support for need_endp. + * sysdeps/unix/sysv/linux/hppa/umount.c: Add prototype for + __umount2. -2000-07-25 Mark Kettenis <kettenis@gnu.org> + * sysdeps/i386/dl-machine.h (RTLD_START): Don't use multi-line + strings. + (ELF_MACHINE_RUNTIME_TRAMPOLINE): Likewise. - * resolv/resolv.h: Remove __P from res_send_qhook and - res_send_rhook typedefs. + * sysdeps/ieee754/dbl-64/uroot.h: Add missing braces arount + initializers. + * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Likewise. -2000-07-25 Bruno Haible <haible@clisp.cons.org> - - * intl/tst-translit.c (main): Unset OUTPUT_CHARSET. - -2000-07-25 Ulrich Drepper <drepper@redhat.com> - - * iconv/gconv_builtin.h: Add WCHAR_T alias. - -2000-07-25 Mark Kettenis <kettenis@gnu.org> - - * hurd/thread-cancel.c (hurd_thread_cancel): When cancelling the - calling thread, set the cancellation flag and return success - instead of EINTR. - -2000-07-25 Ulrich Drepper <drepper@redhat.com> - - * libio/Makefile: Add rules build, run, and distribute tst-widetext.c. - * libio/tst-widetext.c: New file. - * libio/tst-widetext.input: New file. - - * libio/iogetwline.c (_IO_getwline_info): Pretty print. - - * libio/wfileops.c (_IO_wfile_underflow): Handle not entirely - empty external buffer correctly. - -2000-07-25 Maciej W. Rozycki <macro@ds2.pg.gda.pl> - - * sysdeps/mips/dl-machine.h (_RTLD_PROLOGUE): Stringify using - __STRING(entry) and not #entry. - (_RTLD_EPILOGUE): Likewise. - * sysdeps/mips/mips64/dl-machine.h: Likewise. - -2000-07-25 Andreas Jaeger <aj@suse.de> - - * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Change parameter - according to changes in test program, run also with static only - builds. - ($(objpfx)tst-printf.out): Likewise. - - * stdio-common/tst-unbputc.sh: Likewise. - * stdio-common/tst-printf.sh: Likewise. - -2000-07-25 Ulrich Drepper <drepper@redhat.com> - - * libio/wfileops.c (_IO_wdo_write): Correct return value. - - * libio/wfileops.c (_IO_wdo_write): Allow partial conversions in the - loop. - - * libio/fileops.c: Pretty print. - -2000-07-23 Bruno Haible <haible@clisp.cons.org> - - * wctype/wchar-lookup.h: New file. - * wctype/iswctype.c: Include "wchar-lookup.h". - (__iswctype): Support alternate locale format with 3-level tables. - * wctype/iswctype_l.c (__iswctype_l): Likewise. - * wctype/towctrans.c (__towctrans): Likewise. - * wctype/towctrans_l.c (__towctrans_l): Likewise. - * wctype/wcfuncs.c: Include "wchar-lookup.h". - (__ctype32_wctype, __ctype32_wctrans): Declare external. - (__iswalnum, __iswalpha, __iswcntrl, __iswdigit, __iswlower, - __iswgraph, __iswprint, __iswpunct, __iswspace, __iswupper, - __iswxdigit, towlower, towupper): Support alternate locale format - with 3-level tables. - * wctype/wcextra.c (iswblank): Likewise. - * wctype/wcfuncs_l.c: Include "wchar-lookup.h". - (__iswalnum_l, __iswalpha_l, __iswcntrl_l, __iswdigit_l, __iswlower_l, - __iswgraph_l, __iswprint_l, __iswpunct_l, __iswspace_l, __iswupper_l, - __iswxdigit_l, __towlower_l, __towupper_l): Support alternate locale - format with 3-level tables. - * wctype/wcextra_l.c (__iswblank_l): Likewise. - * wctype/wctype.c (__wctype): Likewise. In the alternate locale - format, return a 3-level table pointer. - * wctype/wctype_l.c (__wctype_l): Likewise. - * wctype/wctrans.c (wctrans): Likewise. - * wctype/wctype.h (__ISwupper, __ISwlower, __ISwalpha, __ISwdigit, - __ISwxdigit, __ISwspace, __ISwprint, __ISwgraph, __ISwblank, - __ISwcntrl, __ISwpunct, __ISwalnum): New enum values. - (iswctype): Remove macro definition. - * wcsmbs/wcwidth.h: Include "wchar-lookup.h". - (internal_wcwidth): Support alternate locale format with 3-level - tables. - * locale/langinfo.h (_NL_CTYPE_CLASS_OFFSET, _NL_CTYPE_MAP_OFFSET): - New nl_items. - * locale/categories.def (_NL_CTYPE_CLASS_OFFSET, _NL_CTYPE_MAP_OFFSET): - Define them as being type "word". - * locale/C-ctype.c (_nl_C_LC_CTYPE): Add initializers for them. - * ctype/ctype-info.c (__ctype32_wctype, __ctype32_wctrans, - __ctype32_width): New exported variables. - * locale/lc-ctype.c (_nl_postload_ctype): Initialize them in the - alternate locale format. Don't initialize __ctype_names and - __ctype_width in the alternate locale format. - * locale/programs/localedef.h (oldstyle_tables): New declaration. - * locale/programs/localedef.c (oldstyle_tables): New variable. - (OPT_OLDSTYLE): New macro. - (options): Add --old-style option. - (parse_opt): Handle --old-style option. - * locale/programs/ld-ctype.c (locale_ctype_t): Add class_offset, - map_offset, class_3level, map_3level, width_3level members. - (ctype_output): Support for alternate locale format: Computation of - nelems changes. _NL_CTYPE_TOUPPER32, _NL_CTYPE_TOLOWER32 and - _NL_CTYPE_CLASS32 only 256 characters. _NL_CTYPE_NAMES empty. - New fields _NL_CTYPE_CLASS_OFFSET, _NL_CTYPE_MAP_OFFSET. Field - _NL_CTYPE_WIDTH now contains the three-level table. Extra elems - now contain both class and map tables. - (struct wctype_table): New type. - (wctype_table_init, wctype_table_add, wctype_table_finalize): New - functions. - (struct wcwidth_table): New type. - (wcwidth_table_init, wcwidth_table_add, wcwidth_table_finalize): New - functions. - (struct wctrans_table): New type. - (wctrans_table_init, wctrans_table_add, wctrans_table_finalize): New - functions. - (allocate_arrays): Support for alternate locale format: Set - plane_size and plane_cnt to 0. Restrict ctype->ctype32_b to the first - 256 characters. Compute ctype->class_3level. Restrict ctype->map32[idx] - to the first 256 characters. Compute ctype->map_3level. Set - ctype->class_offset and ctype->map_offset. Compute ctype->width_3level - instead of ctype->width. + * elf/rtld.c (print_statistics)[!HP_TIMING_NONAVAIL]: Avoid + warning about unused variable. -2000-07-24 Ulrich Drepper <drepper@redhat.com> + * string/string.h (strndupa): Add cast for C++ conformance. + (strdupa): Likewise. + Fixes PR libc/2173, reported by tbrowder@home.com. - * libio/iogetwline.c (_IO_getwline_info): Use wide character - string functions. +2001-03-30 Roland McGrath <roland@frob.com> -2000-07-24 Jakub Jelinek <jakub@redhat.com> + * 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>. - * libio/wfiledoalloc.c (_IO_wfile_doallocate): Measure size - in wide characters, not bytes. - * libio/tst_putwc.c (do_test): Add test for writing lots of data - into file. +2001-03-11 Roland McGrath <roland@frob.com> -2000-07-22 Bruno Haible <haible@clisp.cons.org> + * 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. - * locale/nl_langinfo.c (nl_langinfo): Accept items belonging to the - new categories LC_PAPER, LC_NAME, LC_ADDRESS, LC_TELEPHONE, - LC_MEASUREMENT, LC_IDENTIFICATION. +2001-03-11 Roland McGrath <roland@frob.com> - * locale/xlocale.h (struct __locale_struct): Increase size of - __locales array. - * locale/duplocale.c (__duplocale): Copy newly added categories as - well. - * locale/freelocale.c (__freelocale): Free newly added categories. - * locale/newlocale.c (__newlocale): Fix typo in sanity check. - If a base is given, use it, don't simply return it. + * sysdeps/mach/hurd/dl-sysdep.c (__writev): New function. -2000-07-22 Bruno Haible <haible@clisp.cons.org> + * mach/mach_error.h: Fix ancient #endif syntax. + * hurd/hurdmalloc.c: Likewise. - * crypt/md5-crypt.c (__md5_crypt_r): Avoid gcc warnings: Use pointer - variables, copied_key and copied_salt, instead of boolean variables. + * 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. -2000-07-24 Andreas Jaeger <aj@suse.de> +2001-03-04 Roland McGrath <roland@frob.com> - * sysdeps/unix/sysv/linux/powerpc/mmap64.c (__mmap64): Really fix - check for offset. + * hurd/vpprintf.c (vpprintf) [USE_IN_LIBIO]: Use innermore first + member of TEMP_F so its type is _IO_FILE * as expected. - * grp/initgroups.c (initgroups_dyn_function): Renamed from - initgroups_function, adopted prototype for change from 2000-07-23. - (initgroups): Follow type change. + * 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/unix/sysv/linux/powerpc/mmap64.c (__mmap64): Fix offset - & PAGE_MASK case, reformat. +2001-02-25 Roland McGrath <roland@frob.com> - * string/Makefile ($(objpfx)tst-svc.out): Fix rule to read input - from stdin and setup environment. + * sysdeps/mach/hurd/sysd-stdio.c (__stdio_reopen): Use prototype. + * sysdeps/unix/bsd/getpt.c (__posix_openpt): Likewise. -2000-07-24 Andreas Schwab <schwab@suse.de> + * sysdeps/mach/hurd/i386/intr-msg.h (SYSCALL_EXAMINE): Make this a + macro instead of an inline function, + (MSG_EXAMINE): Likewise. - * sysdeps/unix/sysv/linux/m68k/mmap.S: Remove mmap64 alias. + * hurd/hurd/ioctl.h (_HURD_HANDLE_IOCTLS_1): Remove extraneous ##. -2000-07-23 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. - * string/endian.h: Explain the _*_ENDIAN constant values a bit - more. Patch by scarlet@mit.edu [PR libc/1799]. + * mach/mach_init.c: Include <unistd.h> for _exit decl. - * io/ftwtest-sh: Add -f parameter to chmod if -R is also given. - [PR libc/1792]. + * mach/errsystems.awk: Give output file a trailing newline. - * argp/argp-parse.c (parser_finalize): Reverse order in which - parsers are run for ARGP_KEY_END. [PR libc/1755]. + * mach/Machrules (MIG): Prepend CC='${CC}' to the mig command, so that + the script will use our compiler for the cpp stage. - * grp/initgroups.c (initgroups): Don't limit the possible number - of groups to NGROUPS_MAX. Allow dynamic resizing. Loop around - the setgroups call while the call fails and descrease the number - of groups each round. - The name of the initgroups function in the NSS modules changed. - (compat_call): Adapt for dynamic resizing. - * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn): - Implement dynamic resizing. - * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn): - Likewise. - * nis/nss_nis/compat-initgroups.c (_nss_nis_initgroups_dyn): Likewise. - * hesiod/Versions: Change exported interface name. - * nis/Versions: Change exported interface name. + 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. -2000-07-23 Ulrich Drepper <drepper@redhat.com> +2001-03-31 Andreas Jaeger <aj@suse.de> - * locale/iso-639.def: Some errors corrected. - Patch by Keld Simonsen. + * 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. - * include/limits.h: Update non-gcc portion. - Patch by Joseph S. Myers <jsm28@cam.ac.uk>. +2001-03-30 Isamu Hasegawa <isamu@yamato.ibm.com> -2000-07-22 Mark Kettenis <kettenis@gnu.org> + * posix/regex.c: Avoid an access violation if malloc fails. - * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When shrinking the - program's data space, reallocate only the space that was just - deallocated to release its backing space. +2001-03-30 Andreas Jaeger <aj@suse.de> -2000-07-23 Ulrich Drepper <drepper@redhat.com> + * sysdeps/alpha/ldiv.S (ldiv): Add alias for imaxdiv. - * stdio-common/vfprintf.c (process_string_arg): For wide character - version, handle precision also correctly. +2001-03-29 Ulrich Drepper <drepper@redhat.com> - * nss/nss_files/files-hosts.c: Correct problem with three or more - entries with the same name. + * posix/regex.c: Remove unnecessary ifs. - * nss/nss_files/files-hosts.c: Implement multi handling. - * resolv/Versions: Export _res_hconf for GLIBC_2.2 from libc. + * math/bits/mathcalls.h: Remove infnan declaration. -2000-07-22 Ulrich Drepper <drepper@redhat.com> +2001-03-29 H.J. Lu <hjl@gnu.org> - * nss/nss_files/files-parse.c: Don't pollute namespace by using - strcasecmp. + * 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. - * grp/Makefile: Change Makefiles and tests to run only when necessary. - * malloc/Makefile: Likewise. - * malloc/tst-mtrace.sh: Likewise. - * posix/Makefile: Likewise. - * posix/globtest.sh: Likewise. - * posix/wordexp-tst.sh: Likewise. - * string/Makefile: Likewise. +2001-03-29 Isamu Hasegawa <isamu@yamato.ibm.com> -2000-07-22 Mark Kettenis <kettenis@gnu.org> + * posix/regex.c: Fix typo and add a sentinel. - * locale/findlocale.c (locale_file_list): Use __LC_LAST as array - size instead of LC_ALL to take into account the new locale - categories. +2001-03-29 Ulrich Drepper <drepper@redhat.com> -2000-07-22 Ulrich Drepper <drepper@redhat.com> + * sysdeps/unix/sysv/linux/shm_open.c: Open new file always with + O_NOFOLLOW. Suggested by Christoph Roland. - * iconv/gconv_trans.c: Correct a few bugs in the search loop. Remove - remainders of hash table. - * locale/categories.def: Remove remainders of transliteration - hash table. - * locale/langinfo.h: Likewise. - * locale/programs/ld-ctype.c: Likewise. Fix code to write out - transliteration tables. +2001-03-27 Martin Schwidefsky <schwidefsky@de.ibm.com> - * locale/gen-translit.pl: New file. - * locale/C-translit.h.in: New file. - * locale/C-ctype.c: Include C-translit.h. Initialize transliteration - data pointers with data from this file. - * locale/Makefile (distribute): Add C-translit.h.in, C-translit.h, - and gen-translit.pl. - Add rule to generate C-translit.h. - * intl/tst-translit.c (main): Update for now performed - transliteration. + * 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. - * stdio-common/vfscanf.c: Handle input -- with format %f correctly - (it's no input error). - * stdio-common/tstscanf.c: Add test case for format %f with input --. - * stdio-common/scanf12.c: Correct expected result for first scanf. +2001-03-27 Martin Schwidefsky <schwidefsky@de.ibm.com> - * stdio-common/vfprintf.c (process_string_arg): Correct handling - of multibyte character strings in %s format with precision. + * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Fix typo. + * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise. -2000-07-21 Ulrich Drepper <drepper@redhat.com> +2001-03-27 Ulrich Drepper <drepper@redhat.com> - * locale/programs/ld-collate.c (collate_read): Allow collating - symbols and elements be named in reorder-after instructions. - Reported by Yoshito Kawada <KAWADA@jp.ibm.com>. + * version.h (VERSION): Bump to 2.2.3. - * locale/programs/ld-collate.c (handle_ellipsis): Test for - duplication with generated name, not the name of the first - character. - Patch by Yong Li <yong.li@asu.edu>. + * 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. - * sysdeps/powerpc/strchr.S: Correct bugs introduced in BP-ification. - Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>. + * sysdeps/i386/fpu/libm-test-ulps: Slight adjustment of yn() error. -2000-07-21 Wolfram Gloger <wg@malloc.de> + * posix/fnmatch_loop.c (FCT): Handle !() after * special like @() + and +(). + * posix/tst-fnmatch.input: Add test cases for matching empty strings. - * malloc/malloc.c (chunk_alloc): Try mmap_chunk() for smaller - allocations only if a non-main arena cannot be extended. + * sysdeps/ieee754/dbl-64/endian.h: Removed. Move definitions... + * include/endian.h: ...to here. -2000-07-21 Ulrich Drepper <drepper@redhat.com> +2001-03-27 kaz Kojima <kkojima@rr.iij4u.or.jp> - * elf/dl-load.c (_dl_map_object): Take loader==NULL into account - in DF_1_NODEFLIB handling. + * sysdeps/sh/sys/ucontext.h (NFREG): Rename to NFPREG. + * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (NFREG): Likewise. -2000-07-21 Andreas Jaeger <aj@suse.de> +2001-03-27 Martin Schwidefsky <schwidefsky@de.ibm.com> - * elf/Makefile ($(test-modules)): Exclude filtmod1.so, it has its - own rule. + * sysdeps/unix/sysv/linux/s390/ldconfig.h: Fix typo. - * libio/fwide.c: Include <wchar.h> for prototype. +2001-03-26 Ulrich Drepper <drepper@redhat.com> -2000-07-21 Greg McGary <greg@mcgary.org> + * 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. - * malloc/malloc.c (next_chunk, prev_chunk, inuse_bit_at_offset, - set_inuse_bit_at_offset, clear_inuse_bit_at_offset, set_foot): - Define in terms of chunk_at_offset. - (inuse, set_inuse, clear_inuse): Define in terms of next_chunk. - (next_bin, prev_bin): offset by size of real array elements. - (chunk_align): Make `m' a scalar, since that's how it's used. + * gmon/Makefile (headers): Add sys/profil.h. -2000-07-21 Greg McGary <greg@mcgary.org> +2001-03-18 Andreas Jaeger <aj@suse.de> - * sysdeps/powerpc/bp-asm.h (DISCARD_BOUNDS): Rename from - UNCHECK_BOUNDS. - * sysdeps/powerpc/bits/setjmp.h (JB_SIZE): New constant. - * sysdeps/powerpc/elf/libc-start.c (__libc_start_main): - Wrap bounds around argv & envp and each of their string members. - * sysdeps/powerpc/elf/start.S: Designate BP symbols. - * sysdeps/unix/sysv/linux/powerpc/brk.S: Wrap entry-point - symbol in BP_SYM (). Discard bounds of address arg. - * sysdeps/unix/sysv/linux/powerpc/clone.S: Likewise. - * sysdeps/unix/sysv/linux/powerpc/mmap64.c (__mmap64): - Discard bounds on address arg, add bounds to return value. + * manual/install.texi (Tools for Compilation): Advise to use GCC + 2.95.3. + (Supported Configurations): Mention s390x. -2000-07-20 Ulrich Drepper <drepper@redhat.com> +2001-03-26 Ben Collins <bcollins@debian.org> - * elf/Makefile (tests): Add filter. Add rules to generate filter. - * elf/filter.c: New file. - * elf/filtmod1.c: New file. - * elf/filtmod2.c: New file. + * sysdeps/unix/sysv/linux/mips/bits/mman.h: Add MAP_* and MADV_* + defines to match other architectures. - * elf/rtld.c: Define _dl_bind_not variable. - (process_envvars): Recognize LD_BIND_NOT and set _dl_bind_not. - * elf/dl-support.c: Likewise. - * sysdeps/generic/ldsodefs.h: Declare _dl_bind_not. - * elf/dl-runtime.c (fixup): Don't remember looked up value if - _dl_bind_not. - (profile_fixup): Likewise. - - * libio/Makefile (routines): Add fwide. - * libio/iofwide.c (_IO_fwide): Remove locking. This is done in - fwide now. Internal calls to _IO_fwide must do locking themselves - or don't need locking. - * libio/fwide.c: New file. - - * elf/dl-load.c (_dl_map_object): Implement handling of DF_1_NODEFLIB. - - * elf/Makefile: Add no modules for nodelete test. - * elf/nodelmod3.c: New file. - * elf/nodelmod4.c: New file. - * elf/nodelete.c: Also test case where dependency of dlopen() object - is marked nodelete. - - * elf/Makefile (tests): Add nodlopen. Add rules to generate nodlopen. - * elf/nodlopen.c: New file. - * elf/nodlopenmod.c: New file. - * include/dlfcn.h: Define __RTLD_DLOPEN. - * elf/dl-load.c (_dl_map_object_from_fd): If DF_1_NOOPEN is set - and this is a dlopen() call, do not load the binary. - * dlfcn/dlopen.c: Add __RTLD_DLOPEN to mode passed down to _dl_open. - * dlfcn/dlopenold.c: Likewise. - * configure.in: Add test for -z nodelete option. - * config.make.in: Define have-z-nodelete with libc_cv_z_nodelete. - -2000-07-20 Mark Kettenis <kettenis@gnu.org> - - Make Hesiod NSS module thread-safe. - - * hesiod/README.hesiod: Update. - - * hesiod/Versions [GLIBC_2.2]: Add _nss_hesiod_getservbyport_r, - _nss_hesiod_setprotoent, _nss_hesiod_endprotoent, - _nss_hesiod_getprotobyname_r, and _nss_hesiod_getprotobynumber_r. - * hesiod/Makefile (libnss_hesiod-routines): Add hesiod-init and - hesiod-proto. - * hesiod/nss_hesiod/hesiod-init.c: New file. - * hesiod/nss_hesiod/hesiod-pwd.c: Rewritten for thread-safeness. - * hesiod/nss_hesiod/hesiod-grp.c: Likewise. - * hesiod/nss_hesiod/nss_hesiod.h: New file. - * hesiod/nss_hesiod/hesiod-service.c - (_nss_hesiod_getservbyport_r): New function. Provide support for - looking up services by port number. - * hesiod/nss_hesiod/hesiod-proto.c: New file. - - * hesiod/hesiod.c: Update from BIND 8.2.3-T5B. - * hesiod/hesiod.h: Likewise. - * hesiod/hesiod_p.h: Likewise. - -2000-07-20 Mark Kettenis <kettenis@gnu.org> - - Fix problems with `struct __res_state' getting too big. - * resolv/resolv.h (struct __sockaddr_in): New definition. - (struct __res_state): Use __sockaddr_in instead of sockaddr_in in - the private parts of the structure to save some space. - * resolv/res_send.c (res_nsend): Cast &EXT(statp).nsaddrs[ns] to - (struct sockaddr_in *) in call to sock_eq. - Use memcpy to copy statp->nsaddr_list[ns] to &EXT(statp).nsaddrs[ns]. - -2000-07-20 Ulrich Drepper <drepper@redhat.com> - - * elf/elf.h: Add various DF_1_*, DTF_1_*, and DF_P1_* entries. - * elf/dl-close.c (_dl_close): Don't close an object if it is marked - with nodelete. - * elf/dl-open.c (dl_open_worker): Pass RTLD_NOLOAD as new parameter - to _dl_map_object. Return immediately if no object loaded. - Set DF_1_NODELETE bit in l_flags_1 if RTLD_NODELETE was passed. - * elf/dynamic-link.h (elf_get_dynamic_info): Copy DT_FLAGS_1 entry - if it exists into l_flags_1 word. - * elf/dl-load.c (_dl_map_object_from_fd): Take no parameter and use - it to determine whether loading is wanted or not. - (_dl_map_object): Likewise. - Call _dl_map_object_from_fd with new parameter. - * sysdeps/generic/ldsodefs.h: Update prototype. - * elf/dl-deps.c: Add new parameter to _dl_map_object calls. - * elf/rtld.c: Likewise. - * sysdeps/mach/hurd/dl-sysdep.c: Likewise. - * elf/Makefile (tests): Add noload. Add rules to generate noload. - * elf/noload.c: New file. - * include/link.h (struct link_map): Add l_feature_1 and l_flags_1. - * sysdeps/generic/bits/dlfcn.h: Define RTLD_NOLOAD and RTLD_NODELETE. - * sysdeps/mips/bits/dlfcn.h: Likewise. - * elf/Makefile (tests): Add $(tests-nodelete-$(have-z-nodelete)). - (tests-nodelete-yes): Define. - (modules-names): Add $(modules-nodelete-$(have-z-nodelete)). - Add rules to build nodelete and modules. - * elf/nodelete.c: New file. - * elf/nodelmod1.c: New file. - * elf/nodelmod2.c: New file. - * configure.in: Add test for -z nodelete option. - * config.make.in: Define have-z-nodelete with libc_cv_z_nodelete. - - * libio/Makefile (tests): Add tst_wprintf2. - (tst_wprintf2-ARGS): Define. - * libio/tst_wprintf2.c: New file. - Based on a test case by Yoshito Kawada <KAWADA@jp.ibm.com>. - - * libio/wfiledoalloc.c: Only allocate external buffer if this - hasn't happened yet. - - * libio/wfileops.c (_IO_wdo_write): Overflow only if there is really - something in the buffer. gconv call can write up to end of the - buffer, not only _IO_write_end. - (_IO_wfile_overflow): Allocate also external buffer. - -2000-07-19 Ulrich Drepper <drepper@redhat.com> - - * stdio-common/vfprintf.c (process_string_arg): Handle multibyte - strings with precision in vfwprintf correctly. - * stdio-common/vfprintf.c: Fix completely broken handling of - unbuffered wide character streams. - Reported by Yoshito Kawada <KAWADA@jp.ibm.com>. - - * resolv/Makefile (distribute): Add README. - - * resolv/README: New file. By Mark Kettenis <kettenis@gnu.org>. - -2000-07-18 Mark Kettenis <kettenis@gnu.org> - - Update resolver code to BIND 8.2.3-T5B. - - * resolv/Versions [GLIBC_2.2] (libc): Add __res_init and - __res_nclose. - [GLIBC_2.2] (libresolv): Add __dn_expand, __ns_samename, - __res_mkquery, __res_nsend, __res_query, __res_querydomain and - __res_search. - * resolv/Banner: BIND-8.2.3-T5B. - - * resolv/base64.c: Update from BIND 8.2.3-T5B. - * resolv/herror.c: Likewise. - * resolv/inet_addr.c: Likewise. - * resolv/inet_net_ntop.c: Likewise. - * resolv/inet_net_pton.c: Likewise. - * resolv/inet_neta.c: Likewise. - * resolv/inet_ntop.c: Likewise. - * resolv/nsap_addr.c: Likewise. - * resolv/inet_pton.c: Likewise. Reject a few more more invalid - IPv6 addresses (ISC bug #520). - - * resolv/ns_name.c: Avoid emitting RCS ID in object file. - * resolv/ns_parse.c: Likewise. - * resolv/ns_netint.c: Likewise. - * resolv/ns_samedomain.c: Likewise. - * resolv/ns_ttl.c: Likewise. - * resolv/ns_print.c: Update from BIND 8.2.3-T5B. Avoid emitting - RCS ID in object file. - - * resolv/res_debug.c: Update from BIND 8.2.3-T5B. - * resolv/res_mkquery.c: Likewise. - * resolv/res_query.c: Likewise. - * resolv/res_init.c: Likewise. - (res_setoptions): Mark internal. - * resolv/res_send.c: Likewise. - [_LIBC]: Fully reinstate the code that avoids the FD_SETSIZE limit - by using poll instead. - * resolv/res_comp.c: Likewise. - [SHLIB_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_2)]: Make dn_expand a - weak alias for __dn_expand. - * resolv/res_data.c: Likewise. - (res_close) [_LIBC]: Don't call res_nclose if RES_INIT isn't set - in _res.options. Avoids a potential security risk by avoiding a - close (0). - [SHLIB_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_2)]: Make - res_mkquery, res_query, res_querydomain adn res_search weak - aliases for __res_mkquery, __res_query, __res_querydomain and - __res_search. - * resolv/res_libc.c: (_res): Don't initialize. Fix res_close - instead to avoid close(0). - (res_init): Always use the static resolver context. - [SHLIB_COMPAT (libc, GLIBC_2.0, GLIBC_2_2)]: Make res_init a weak - alias for __res_init. - - * resolv/resolv.h: Update from BIND 8.2.3-T5B. Move definition of - RES_SET_H_ERRNO and accompanying comment to... - * include/resolv.h: ... here. - - * resolv/arpa/namser.h: Update from BIND 8.2.3-T5B. - * resolv/arpa/nameser_compat.h: Likewise. - -2000-07-18 Ulrich Drepper <drepper@redhat.com> - - * nss/makedb.c (main): Compare result of load_db with - NSS_STATUS_SUCCESS and not 0. - Patch by Jan Rekorajski <baggins@sith.mimuw.edu.pl>. - - * sysdeps/unix/sysv/linux/Versions: Export __sysctl for GLIBC_2.2. - -2000-07-18 Greg McGary <greg@mcgary.org> - - * posix/regex.c (EXTEND_BUFFER_HIGH_BOUND): New macro. - (EXTEND_BUFFER): Use it. - -2000-07-18 Ulrich Drepper <drepper@redhat.com> - - * include/libc-symbols.h: Define RETURN_ADDRESS macro. - * dlfcn/dlopen.c: Use RETURN_ADDRESS instead of - __builtin_return_address. - * dlfcn/dlopenold.c: Likewise. - * dlfcn/dlsym.c: Likewise. - * dlfcn/dlvsym.c: Likewise. - * elf/dl-profstub.c: Likewise. - * malloc/malloc.c: Likewise. - * sysdeps/generic/machine-gmon.h: Likewise. - Based on a patch by schwidefsky@de.ibm.com. - -2000-07-18 Andreas Jaeger <aj@suse.de> - - * sysdeps/alpha/dl-machine.h (elf_machine_rela): Pass 0 instead of - NULL to elf_machine_fixup_plt t argument to silence GCC. - - * include/string.h: Add prototype for __memchr. - - * sysdeps/alpha/memchr.S: Fix copy & error in weak_alias. - - * sysdeps/generic/memchr.c: Fix copy & paste error: Use memchr - instead of memrchr. - -2000-07-18 Ulrich Drepper <drepper@redhat.com> - - * intl/Makefile: Make sure tst-translit is run after tst-gettext. - - * locale/C-ctype.c: Add initializers for gap elements. - * locale/programs/ld-ctype.c (ctype_output): Write out index entries - for gap elements. - -2000-07-16 Ulrich Drepper <drepper@redhat.com> - - * nscd/nscd.c (print_version): Update copyright year. - -2000-07-17 Greg McGary <greg@mcgary.org> - - * sysdeps/unix/make-syscalls.sh: Handle new arg signature - keyletters F, I, S, W. Remove unused keyletter V. Surround - signature argnames with angle-brackets for use as word delimiters, - and to induce syntax errors for any args not handled. Split - multi-echo echoes and comment each stage. - * sysdeps/unix/common/syscalls.list: Refine & correct signatures. - * sysdeps/unix/inet/syscalls.list: Likewise. - * sysdeps/unix/mman/syscalls.list: Likewise. - * sysdeps/unix/syscalls.list: Likewise. - * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise. - * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise. - * sysdeps/unix/sysv/linux/syscalls.list: Likewise. - * sysdeps/unix/sysv/syscalls.list: Likewise. - * sysdeps/unix/sysv/linux/powerpc/syscalls.list - - * sysdeps/generic/strcpy.c (strcpy): Stifle unused-value warnings. - * sysdeps/unix/sysv/linux/execve.c (__execve): Add const - qualifiers. Don't check NULL-terminator of argv & envp. - * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path): Use - unbounded pointer type in word-size assertion. - * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Add missing - cases to stifle warnings. - - * libio/iofdopen.c (_IO_new_fdopen): Pass _IO_FILE_plus pointer to - _IO_file_attach. - * libio/iovdprintf.c (_IO_vdprintf): Likewise. - - * include/libc-symbols.h (symbol_set_declare): Revert 2000-06-26 mods. - * include/set-hooks.h (RUN_HOOK): Revert 2000-06-26 mods. Qualify - ptr as __unbouned. - - * Makerules (o-objects): Supplement with $(o-objects$o). - * string/Makefile (o-objects.ob): Add variable to pull - unbounded versions of memcpy, memset and memchr into libc_b. - - * sysdeps/generic/bp-checks.h: Use unbounded __memchr - rather than non-existent __ubp_memchr. - (CHECK_STRINGopt, CHECK_FCNTL, BOUNDED_N, BOUNDED_1): New macros. - (_CHECK_STRING, _CHECK_N): New macros. - (CHECK_STRING, CHECK_N, CHECK_Nopt): Rewrite in terms of _CHECK_*. - (CHECK_IOCTL): Move inside `#if !__ASSEMBLER__'. - * sysdeps/alpha/memchr.S: Change strong name to "__memchr". - Add weak alias "memchr". - * sysdeps/generic/memchr.c: Likewise. - * sysdeps/i386/memchr.S: Likewise. - * sysdeps/ia64/memchr.S: Likewise. - * sysdeps/m68k/memchr.S: Likewise. - * sysdeps/sparc/sparc32/memchr.S: Likewise. - * sysdeps/sparc/sparc64/memchr.S: Likewise. - * sysdeps/vax/memchr.s: Likewise. +2001-03-26 Ulrich Drepper <drepper@redhat.com> - * iconv/gconv_trans.c: Add #include <stdlib.h> to get malloc decl. + * libio/Makefile (tests): Add tst-ext. + * libio/tst-ext.c: New file. - * elf/dl-runtime.c (fixup): Trampoline passes unbounded pointer. - (profile_fixup): Don't define for __BOUNDED_POINTERS__. - * sysdeps/i386/dl-machine.h: Don't use regparm attribute for - __BOUNDED_POINTERS__. - (ELF_MACHINE_RUNTIME_TRAMPOLINE): Use non-regparm version - for __BOUNDED_POINTERS__. + * libio/iosetvbuf.c (_IO_setvbuf): Clear line buffer flag for _IONBF. -2000-07-17 Bruno Haible <haible@clisp.cons.org> +2001-03-25 Ulrich Drepper <drepper@redhat.com> - * iconv/gconv_open.c (__gconv_open): Initialize the __data - field of struct __gconv_trans_data differently. Don't pass NULL to - trans_init_fct. Simplify list append operation. + 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. -2000-07-14 Bruno Haible <haible@clisp.cons.org> + * sysdeps/unix/sysv/linux/i386/getgroups.c (__getgroups): getgroups32 + syscall checks for negative n so don't test here as well. - * intl/dcigettext.c (dcigettext): Call plural_eval on all platforms, - not only those having tsearch. +2001-03-23 Jes Sorensen <jes@linuxcare.com> -2000-07-17 Ulrich Drepper <drepper@redhat.com> + * sysdeps/unix/sysv/linux/ia64/sysdep.h (ENTRY): Moved to ... + * sysdeps/ia64/sysdep.h: ...here. - * locale/langinfo.h: Add placeholder values in enum for removed - LC_CTYPE entries. + * sysdeps/ia64/sysdep.h (LOCAL_ENTRY): Define. + * sysdeps/ia64/sysdep.h (LOCAL_LEAF): Define. -2000-07-17 Jakub Jelinek <jakub@redhat.com> + * sysdeps/ia64/_mcount.S (_mcount_ret_helper): Use LOCAL_LEAF() to + declare instead of LEAF(). Suggestion from David Mosberger. - * elf/dl-addr.c (_dl_addr): Keep searching in the _dl_loaded - chain if the PHDR check fails. +2001-03-21 David Mosberger <davidm@hpl.hp.com> -2000-07-17 Mark Kettenis <kettenis@gnu.org> + * sysdeps/unix/sysv/linux/ia64/sysdep.h (CALL_MCOUNT): Add unwind + directives. + (PSEUDO): Drop .psr and .lsb directives. - * nss/getent.c (print_hosts): Make sure we always print a space - between numeric addresses and hostnames. + * sysdeps/unix/sysv/linux/ia64/setjmp.S: Ditto. Add unwind + directives. + * sysdeps/unix/sysv/linux/ia64/sysdep.S: Ditto. -2000-07-17 Wolfram Gloger <wg@malloc.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. - * malloc/malloc.c (chunk_alloc): Use mmap_chunk() only if allowed, - i.e. if n_mmaps_max>0. + * 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. -2000-07-16 Mark Kettenis <kettenis@gnu.org> +2001-03-21 Paul Eggert <eggert@twinsun.com> - * resolv/netdb.h (AI_V4MAPPED, AI_ALL, AI_ADDRCONFIG): Adjust - values to remove possible clash with other AI_* constants. - (AI_PASSIVE, AI_CANONNAME, AI_NUMERICHOST): Define as - hexadecimal constants to stress the fact they're in fact - bit flags. + * posix/regex.h (RE_INVALID_INTERVAL_ORD): New macro. + (RE_SYNTAX_POSIX_EGREP): Use it. + * posix/regex.c (regex_compile): Implement it. -2000-07-15 Mark Kettenis <kettenis@gnu.org> +2001-03-21 Paul Eggert <eggert@twinsun.com> - * nss/getXXent_r.c [NEED__RES]: Include <resolv.h>. - (SETFUNC_NAME, ENDFUNC_NAME, REENTRANT_GETNAME): Use res_ninit - instead of res_init. + * posix/regex.c (GET_UNSIGNED_NUMBER): Check for overflow. + Rewrite to avoid duplicate code. -2000-07-16 Ulrich Drepper <drepper@redhat.com> +2001-03-21 H.J. Lu <hjl@gnu.org> - * crypt/md5-crypt.c (__md5_crypt_r): Add casts for first - parameters of memset calls to avoid warnings. + * elf/Makefile (tests): Don't depend on $(objpfx)tst-pathopt.out + for cross-compiling. + ($(objpfx)tst-pathopt.out): Undo the last change. -2000-07-15 Ulrich Drepper <drepper@redhat.com> +2001-03-24 Mark Kettenis <kettenis@gnu.org> - * stdlib/Makefile: Rewrite rules to avoid running isomac unless - necessary. + * 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/unix/sysv/linux/getcwd.c: Correct last patch. - Patch by Greg McGary <greg@mcgary.org>. + * 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. - * io/Makefile (tests): Add tst-getcwd. - * io/tst-getcwd.c: New file. +2001-03-22 Andreas Jaeger <aj@suse.de> - * io/Makefile: Rewrite rules to avoid running ftwtest unless necessary. + * iconvdata/Makefile (generated): Add iconv-test.xxx. -2000-07-15 Jakub Jelinek <jakub@redhat.com> + * posix/Makefile (generated): Add bug-regex2.mtrace and + bug-regex2-mem. - * iconv/gconv_open (__gconv_open): Initialize whole __gconv_trans_data - structure. +2001-03-21 Ulrich Drepper <drepper@redhat.com> -2000-07-13 Jakub Jelinek <jakub@redhat.com> + * 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. - * sysdeps/posix/sysconf.c: Undef __sysconf before weak_alias. - * sysdeps/unix/bsd/getpt.c: Undef __getpt before weak_alias. +2001-03-21 Jes Sorensen <jes@linuxcare.com> -2000-07-12 H.J. Lu <hjl@gnu.org> + * sysdeps/unix/sysv/linux/ia64/makecontext.c: Include libintl.h + for internationalized printfs to work. - * sysdeps/unix/sysv/linux/ia64/Versions (libc): Add __clone2 to - GLIBC_2.2. - * sysdeps/unix/sysv/linux/ia64/Dist: Add clone2.S. - * sysdeps/unix/sysv/linux/ia64/Makefile [$(subdir)=misc] - (sysdep-routines): Add clone2. - * sysdeps/unix/sysv/linux/ia64/clone2.S: New. +2001-03-09 Bruno Haible <haible@clisp.cons.org> -2000-07-13 Jes Sorensen <jes@linuxcare.com> + * intl/dcigettext.c (transmem_block_t): Change to unsigned char, to + avoid compiler warning. + (_nl_find_msg): Add casts to avoid compiler warnings. - * sysdeps/unix/sysv/linux/ia64/clone.S: New file. - * sysdeps/unix/sysv/linux/ia64/fork.c: New file. +2001-03-21 Ulrich Drepper <drepper@redhat.com> -2000-06-05 David Mosberger <davidm@hpl.hp.com> + * gmon/Makefile (routines): Add sprofil. + (tests): Add tst-sprofil. + (noprof): Add sprofil. + * gmon/Versions [libc] (GLIBC_2.2.3): Add sprofil. - * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: New file - based on sysdeps/unix/sysv/linux/bits/siginfo.h. - Change type of si_band from "int" to "long". - (si_imm) [USE_GNU]: Define - (si_isr) [USE_GNU]: Likewise. - (ILL_BREAK) [USE_GNU]: Likewise. - (FPE_DECOVF) [USE_GNU]: Likewise. - (FPE_DECDIV) [USE_GNU]: Likewise. - (FPE_DECERR) [USE_GNU]: Likewise. - (FPE_INVASC) [USE_GNU]: Likewise. - (FPE_INVDEC) [USE_GNU]: Likewise. - (TRAP_BRANCH) [USE_GNU]: Likewise. - (TRAP_HWBKPT) [USE_GNU]: Likewise. +2001-03-20 David Mosberger <davidm@hpl.hp.com> -2000-07-06 Jes Sorensen <jes@linuxcare.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. - * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include - bits/sigcontext as struct mcontext does not depend on it. +2001-03-20 Andreas Schwab <schwab@suse.de> - * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h: New file. + * include/unistd.h: Adjust prototype of __gethostname. -2000-07-04 Jes Sorensen <jes@linuxcare.com> +2001-03-20 Jakub Jelinek <jakub@redhat.com> - * sysdeps/unix/sysv/linux/ia64/shmctl.c: Removed. + * sysdeps/sparc/stackinfo.h: New file. -2000-07-04 David Mosberger-Tang <davidm@hpl.hp.com> +2001-03-21 Andreas Jaeger <aj@suse.de> - * sysdeps/unix/sysv/linux/ia64/bits/msq.h: New file. + * elf/global.c (main): Use proper prototype. -2000-06-22 Jes Sorensen <jes@linuxcare.com> +2001-03-20 Ulrich Drepper <drepper@redhat.com> - * sysdeps/unix/sysv/linux/ia64/bits/mman.h: New file. + * 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>. + + * elf/dl-load.c: Various little optimizations. + + * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Return + LINUX_LINK_MAX only if the statfs function is not implemented for + the filesystem. + + * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Return + LINUX_LINK_MAX only if the fstatfs function is not implemented for + the filesystem. + +2001-03-19 Ulrich Drepper <drepper@redhat.com> + + * elf/dl-dst.h (DL_DST_COUNT): Add __builtin_expect. + + * elf/dl-load.c (_dl_dst_count): Make DST recognition more robust. + (_dl_dst_substitute): Likewise. + +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. + +2001-02-24 Bruno Haible <haible@clisp.cons.org> + + * intl/dcigettext.c: Update comment about HAVE_LOCALE_NULL. + +2001-01-05 Bruno Haible <haible@clisp.cons.org> + + * intl/loadmsgcat.c (_nl_load_domain): Add fallback code for platforms + lacking strtoul, like SunOS4. + +2001-01-05 Bruno Haible <haible@clisp.cons.org> + + * intl/l10nflist.c (_nl_normalize_codeset): Use tolower, not _tolower. + +2001-01-05 Bruno Haible <haible@clisp.cons.org> + + * 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. + +2001-01-07 Bruno Haible <haible@clisp.cons.org> -2000-07-15 Ulrich Drepper <drepper@redhat.com> + * 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. - * intl/Makefile (test-srcs): Add tst-translit. - (tests): Likewise. - Add rules to build and run tst-translit. - * intl/tst-translit.c: New file. - * intl/tst-translit.sh: New file. - * intl/translit.po: New file. +2001-03-17 Bruno Haible <haible@clisp.cons.org> -2000-07-14 Ulrich Drepper <drepper@redhat.com> + * intl/gettext.h: Don't include <stdio.h>. - * iconv/loop.c (STANDARD_ERR_HANDLER): If one of the - transliteration function did its job, continue, don't stop. +2001-03-17 Bruno Haible <haible@clisp.cons.org> - * iconvdata/iso646.c: Little optimizations in body for conversion - from UCS4. + * intl/Makefile (CPPFLAGS): Set LOCALEDIR instead of GNULOCALEDIR. + * intl/dcigettext.c (_nl_default_dirname): Initialize with LOCALEDIR. -2000-07-14 Mark Kettenis <kettenis@gnu.org> +2001-03-19 Ulrich Drepper <drepper@redhat.com> - * dlfcn/dlerror.c (free_key_mem): Add cast to silence compiler warning. + * sysdeps/unix/i386/i686/tempname.c: New file. -2000-07-14 Mark Kettenis <kettenis@gnu.org> + * 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. - * configure.in: Check for pwd binary. - * config.make.in: Add PWD_P to be subsituted. - * Makerules: Use $(PWD_P) instead of /bin/pwd. +2001-03-16 Paul Eggert <eggert@twinsun.com> -2000-07-14 Ulrich Drepper <drepper@redhat.com> + * sysdeps/posix/tempname.c (uint64_t): Define to uintmax_t if + not defined, and if UINT64_MAX is not defined. - * iconvdata/Makefile (modules): Add GB18030. - (distribute): Add gb18030.c. - * iconvdata/gconv-modules: Add entries for GB18030 module. - * iconvdata/gb18030.c: New file. - Contributed by Wang ShouHua <shouhuawang@redflag-linux.com> - and Wu Jian. +2001-03-19 Ulrich Drepper <drepper@redhat.com> -2000-07-13 Andreas Jaeger <aj@suse.de> + * elf/cache.c: Mark and have translated a few more messages. - * sysdeps/unix/sysv/linux/getsysstats.c (free_mem): Revert last - patch. +2001-03-19 Martin Schwidefsky <schwidefsky@de.ibm.com> - * grp/fgetgrent.c (free_mem): Remove if - free (0) is valid. - * inet/getnetgrent.c (free_mem): Likewise. - * misc/mntent.c (free_mem): Likewise. - * nss/getXXbyYY.c (free_mem): Likewise. - * nss/getXXent.c (free_mem): Likewise. - * pwd/fgetpwent.c (free_mem): Likewise. - * shadow/fgetspent.c (free_mem): 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. -2000-07-14 Ulrich Drepper <drepper@redhat.com> +2001-03-19 Ulrich Drepper <drepper@redhat.com> - * sunrpc/xdr.c (xdr_u_long): Handle reading of unsigned long on - 64-bit architecture correctly [PR libc/1794]. + * string/Makefile (tests): Add tst-strxfrm. + * string/tst-strxfrm.c: New file. Based on a test case by Paul Eggert. + * string/Depend: New file. -2000-07-13 Ulrich Drepper <drepper@redhat.com> +2001-03-19 Paul Eggert <eggert@twinsun.com> - * elf/Versions (ld): Export _dl_out_of_memory for GLIBC_2.2. - * dlfcn/dlerror.c (dlerror): Don't free the error string if it is the - report that we are out of memory. - * elf/dl-deps.c (_dl_map_object_deps): Likewise. - * elf/dl-libc.c (dlerror_run): Likewise. - * elf/dl-open.c (_dl_open): Likewise. - * elf/rtld.c (dl_main): Likewise. - * elf/dl-error.c: Define _dl_out_of_memory. - (_dl_signal_error): Return _dl_out_of_memory if we cannot duplicate - the error string. - * sysdeps/generic/ldsodefs.h: Declare _dl_out_of_memory. - [PR libc/1813]. + * string/strxfrm.c (strxfrm): strxfrm should return 0, not 1, + when given the empty string in nontrivial locales. - * dlfcn/dlerror.c (free_key_mem): Also free error string. +2001-03-17 H.J. Lu <hjl@gnu.org> - * iconv/loop.c: Fix comment. + * manual/Makefile (install): Use $(INSTALL_DATA) instead of + cp to install `dir'. - * malloc/mtrace.c (tr_freehook): Return immediately if ptr is NULL. +2001-03-19 Andreas Schwab <schwab@suse.de> -2000-07-13 Andreas Jaeger <aj@suse.de> + * Makerules (build-shlib): Make sure exit codes get checked + properly. - * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Correctly handle - getcwd (NULL, size) with size > 0. - Fixes PR libc/1788, reported by John Buddery <jvb@cyberscience.com>. +2001-03-18 Ulrich Drepper <drepper@redhat.com> + + * Makerules (build-shlib): Remove unnecessary slashes introduced in + last change. + + * configure.in: Test for -Bgroup option of linker. + * config.make.in: Define have-Bgroup. + + * conform/data/unistd.h-data: Require gethostname. + * posix/unistd.h: Make gethostname prototype available for + __USE_XOPEN2K. + + * 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. + +2001-03-17 Ulrich Drepper <drepper@redhat.com> + + * inet/Makefile (tests): Remove left-over comment. + + * 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. + +2001-03-16 Ulrich Drepper <drepper@redhat.com> + + * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): + Handle NaN here. + + * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext): + Internationalize. + +2001-02-06 Jakub Jelinek <jakub@redhat.com> + + * elf/dl-load.c (_dl_map_object): Don't test l_opencount when + looking for name matches. + +2001-02-26 Jakub Jelinek <jakub@redhat.com> + + * 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. + +2001-03-16 Ulrich Drepper <drepper@redhat.com> + + * sysdeps/ieee754/ldbl-96/s_erfl.c: New file. + Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>. + + * sysdeps/i386/fpu/libm-test-ulps: Adjust for addition of erfl and + erfcl. + * sysdeps/ia64/fpu/libm-test-ulps: Likewise. + +2001-03-16 David Mosberger <davidm@hpl.hp.com> + + * 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. -2000-07-13 Andreas Jaeger <aj@suse.de> +2001-03-13 Martin Schwidefsky <schwidefsky@de.ibm.com> - * posix/Makefile: Remove build rules for libposix. + * configure.in: Add support for 64 bit S/390. -2000-07-13 Andreas Schwab <schwab@suse.de> + * elf/elf.h: Add new relocations for 64 bit S/390. - * sysdeps/generic/glob.c (glob): Fix memory leak. - [SHELL]: Remove reference to undefined variable `files'. - Fixes PR libc/1782. + * shlib-versions: Add rules for Linux on 64 bit S/390. -2000-07-13 Andreas Jaeger <aj@suse.de> +2001-03-13 Martin Schwidefsky <schwidefsky@de.ibm.com> - * sysdeps/unix/sysv/linux/mips/Versions: Add libgcc frame handling - functions. + * 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/getsysstats.c (free_mem): Only free - memory if it was allocated. + * 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. -2000-07-12 Ulrich Drepper <drepper@redhat.com> + * sysdeps/s390/bits/string.h: Move to... + * sysdeps/s390/s390-32/bits/string.h: ...here. Add several missing + #ifndef _FORCE_INLINES. - * iconv/gconv_db.c (gen_steps): Always initialize __data field of - step. + * 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. - * iconv/gconv_open.c (__gconv_open): Reapply - 2000-07-12 Bruno Haible <haible@clisp.cons.org> + * 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). - * iconv/gconv_open.c (__gconv_open): Merge duplicated code. + * 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. - * iconv/gconv_open.c: Undo last two changes for now. They break - everything. + * sysdeps/s390/initfini.c: Move to... + * sysdeps/s390/s390-32/initfini.c: ...here. Replace ALIGN with + ".align 4,0x07". -2000-07-12 Andreas Jaeger <aj@suse.de> + * 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. - * elf/Makefile (SYSCONF-FLAGS): Added to pass sysconfdir to - compiler. - (CFLAGS-cache.c): Added, uses SYSCONF-FLAGS. - (CFLAGS-dl-cache.c): Likewise. - (CFLAGS-ldconfig.c): Added, passes directory locations. + * sysdeps/s390/sys/ucontext.h: Remove since it is unused. - * sysdeps/generic/dl-cache.h (LD_SO_CACHE): Use SYSCONFDIR to - locate cache. - * elf/ldconfig.c (LD_SO_CONF): Likewise. - (main): Use configured LIBDIR and SLIBDIR. + * 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. -2000-07-11 Jakub Jelinek <jakub@redhat.com> +2001-03-13 Martin Schwidefsky <schwidefsky@de.ibm.com> - * math/bits/cmathcalls.h (cimag): Add __THROW. - (creal, conj): Likewise. - * wctype/wctype.h (_ISwbit): Avoid warnings about shifting left - by negative value. + * configure.in: Change machine=s390 to machine=s390/s390-32. -2000-07-12 H.J. Lu <hjl@gnu.org> + * elf/elf.h: Correct comment for R_390_PLT16DBL. - * resolv/Versions (libresolv): Add __res_hostalias to GLIBC_2.2 - for _nss_dns_gethostbyname2_r in resolv/nss_dns/dns-host.c. +2001-03-12 Jakub Jelinek <jakub@redhat.com> -2000-07-12 Ulrich Drepper <drepper@redhat.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. - * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Shut gcc up although - it is wrong. +2001-03-15 H.J. Lu <hjl@gnu.org> -2000-07-12 Bruno Haible <haible@clisp.cons.org> + * intl/Makefile: Fix a typo. - * iconv/gconv_open.c (__gconv_open): Merge duplicated code. +2001-03-14 David Mosberger <davidm@hpl.hp.com> -2000-07-12 Bruno Haible <haible@clisp.cons.org> + * gmon/gmon.c (write_call_graph): Avoid unaligned accesses when + writing arc structures. - * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Initialize - __modname. +2001-03-15 H.J. Lu <hjl@gnu.org> -2000-07-12 Bruno Haible <haible@clisp.cons.org> + * elf/Makefile ($(objpfx)tst-pathopt.out): Protected against + cross-compiling. - * iconv/gconv_open.c (__gconv_open): Initialize - result->__steps[cnt].__data. +2001-03-13 Andreas Schwab <schwab@suse.de> -2000-07-12 Mark Kettenis <kettenis@gnu.org> + * posix/PTESTS2C.sed: Replace literal CRs by `\r'. - * nss/getent.c (services_keys): Pass port number in network byte - order in call to getservbyport. +2001-03-15 Ulrich Drepper <drepper@redhat.com> -2000-07-11 Andreas Jaeger <aj@suse.de> + * 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>. - * stdlib/Makefile (test-canon-ARGS): Fix for building in the - source dir. - * intl/Makefile (do-gettext-test): Likewise. - * dirent/Makefile (opendir-tst1-ARGS): Likewise. + * posix/tst-fnmatch.input: Add test case for FNM_PERIOD handling with + FNM_EXTMATCH. -2000-07-11 Andreas Schwab <schwab@suse.de> + * posix/fnmatch_loop.c: Optimize handling of ?() and @(). + * posix/fnmatch.c: Define STRLEN and STRCAT appropriately. - * Makeconfig (run-program-prefix): New rule. - (built-program-cmd): Use run-program-prefix. + * 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. -2000-07-12 Ulrich Drepper <drepper@redhat.com> + * include/wchar.h: Add prototype for __wcscat. + * wcsmbs/wcscat.c: Define __wcscat and make wcscat weak alias. - * locale/langinfo.h: Make CRNCYSTR, RADIXCHAR, THOUSANDS_SEP, YESEXPR, - and NOEXPR unconditionally available. + * 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. -2000-07-12 Greg McGary <greg@mcgary.org> + * posix/testfnm.c: Add test for patterns with multiple ** before /. + * posix/fnmatch_loop.c: Fix problem with the test above. - * sysdeps/generic/open64.c: Wrap extern symbols in BP_SYM (). - * sysdeps/posix/open64.c: Likewise. - * sysdeps/generic/fegetenv.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. +2001-03-14 Ulrich Drepper <drepper@redhat.com> -2000-07-11 Greg McGary <greg@mcgary.org> + * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Remove + reference to usqrt. - * include/libc-symbols.h [!__ASSEMBLER__] (strong_alias): - Add extra level of macro expansion. - [!__ASSEMBLER__ && HAVE_WEAK_SYMBOLS] (weak_alias): nLikewise. - * sysdeps/generic/bp-thunks.h: Ensure `struct timeval' definition - is available at the time `select' prototype is declared. - * sysdeps/unix/make-syscalls.sh: Remove unused variables. - Collect non-versioned weak aliases. Consider only non-versioned - aliases for the user-visible systemcall name. Do checks inline with - call to primitive system call. - * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Add void cast to - stand-alone bounds checks to suppress unused value warnings. - * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise. + * resolv/res_data.c (fp_nquery): Call __res_ninit not __res_init. -2000-07-10 Mark Kettenis <kettenis@gnu.org> +2001-03-12 Andreas Jaeger <aj@suse.de> - * sysdeps/mach/hurd/check_fds.c: New file. Implements - file descriptor checking in SUID programs for the Hurd. + * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file): + Use EM_X86_64 instead of EM_X8664. - * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname2_r): Use - res_hostalias instead of __hostalias for thread-safety. +2001-03-12 Ulrich Drepper <drepper@redhat.com> -2000-07-09 Mark Kettenis <kettenis@gnu.org> + * sysdeps/ieee754/dbl-64/upow.h: Define nZERO and nINF. - * elf/rtld.c (dl_main): Move call to __libc_check_standard_fds... - * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): ... to here. + * sysdeps/ieee754/dbl-64/e_remainder.c: Fix handling of boundary + conditions. -2000-07-10 Ulrich Drepper <drepper@redhat.com> + * sysdeps/ieee754/dbl-64/e_pow.c: Fix handling of boundary + conditions. - * include/features.h: Include ISO C99 features if the compiler used - is an ISO C99 compiler. - Patch by Joseph S. Myers <jsm28@cam.ac.uk>. + * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Handle Inf and NaN + correctly. + (__cos): Likewise. -2000-07-08 Mark Kettenis <kettenis@gnu.org> + * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Handle NaN + correctly. + (__ieee754_acos): Likewise. - * iconv/gconv_conf.c: Include <bits/libc-lock.h>. +2001-03-12 Andreas Jaeger <aj@suse.de> -2000-07-10 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/unix/sysv/linux/i386/sigaction.c: Make alias weak since - it's overridden by libpthreads. - * sysdeps/unix/sysv/linux/sigaction.c: Likewise. - * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise. - * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise. + * sysdeps/s390/bits/string.h: Protect __STRING_INLINE against + redefinition. - * malloc/Makefile: Run tst-mtrace only with shared libs. +2001-03-11 Roland McGrath <roland@frob.com> - * stdio-common/Makefile: Run unbputc and tst-printf tests only - with shared libs. + * sysdeps/mach/hurd/configure.in: Add a sanity check on $prefix. -2000-07-10 Maciej W. Rozycki <macro@ds2.pg.gda.pl> +2001-03-11 Ulrich Drepper <drepper@redhat.com> - * sysdeps/mips/dl-machine.h (elf_machine_runtime_link_map): Verify - that gpreg really points to the GOT section of the calling object. - Scan all PT_LOAD segments of objects for stub_pc, instead of only - checking a start address of first one. - Fix typos. - * sysdeps/mips/mips64/dl-machine.h (elf_machine_runtime_link_map): - Likewise. + * sysdeps/ieee754/dbl-64/endian.h: Define also one of BIG_ENDI and + LITTLE_ENDI. - * sysdeps/mips/dl-machine.h (__dl_runtime_resolve): Fix a typo. + * sysdeps/ieee754/dbl-64/MathLib.h (Init_Lib): Use void as + parameter list. -2000-07-10 Andreas Jaeger <aj@suse.de> + 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. - * sysdeps/unix/sysv/linux/sigaction.c: Fix typo - (string_alias->strong_alias). +2001-03-07 Jakub Jelinek <jakub@redhat.com> -2000-07-08 Mark Kettenis <kettenis@gnu.org> + * catgets/gencat.c (read_input_file): Preserve properly symbolic + names. - * hurd/hurd/fd.h: Include <cthreads.h> instead of <lock-intern.h>. +2001-03-06 Andreas Jaeger <aj@suse.de> -2000-07-07 Greg McGary <greg@mcgary.org> + * 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. - * sysdeps/unix/make-syscalls.sh: Tolerate syscalls that - have no names without leading underscores. +2001-03-09 Ulrich Drepper <drepper@redhat.com> -2000-07-07 Ulrich Drepper <drepper@redhat.com> + * sysdeps/unix/sysv/linux/arm/Dist: Add dl-procinfo.c and + dl-procinfo.h. - * iconvdata/sjis.c (from_ucs4_lat1): Fix mappng of U005C and - U007E. +2001-03-05 Philip Blundell <philb@gnu.org> - * stdio-common/Makefile (tests): Remove tst-printf here... - (tests-srcs): ...and add it here. - (distribute): Add tst-unbputc.sh and tst-printf.sh. - Add rules to run tst-printf.sh. - * stdio-common/tst-printf.c: Move code around so that there is really - no further output where it's stated. - * stdio-common/tst-printf.sh: New file. + * 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. -2000-07-07 Mark Kettenis <kettenis@gnu.org> +2001-03-09 Ulrich Drepper <drepper@redhat.com> - * hurd/vpprintf.c [USE_IN_LIBIO]: Include <libioP.h>. - (do_write): Renamed from pwrite. - (vpprintf) [USE_IN_LIBIO]: Adjust for renaming and reshufling of - `struct _IO_cookie_file'. + * dlfcn/tstatexit.c (main): Don't perform the test if __dso_handle + is not available. + * dlfcn/tstcxaatexit.c (main): Likewise. -2000-07-07 Ulrich Drepper <drepper@redhat.com> +2001-03-10 Andreas Jaeger <aj@suse.de> - * malloc/mtrace.pl: Exit with exit code 1 if any leak was - detected. - * malloc/tst-mtrace.sh: Run mtrace script. + * sysdeps/i386/fpu/libm-test-ulps: Revert last patch. -2000-07-07 Greg McGary <greg@mcgary.org> +2001-03-09 Andreas Jaeger <aj@suse.de> - * posix/regex.c (EXTEND_BUFFER): Compute increment once. - Move all three components of a bounded pointer. + * sysdeps/s390/dl-machine.h (elf_machine_matches_host): Handle + both new and old EM_S390 values. + (EM_S390_OLD): New constant. -2000-07-07 Ulrich Drepper <drepper@redhat.com> + * elf/elf.h (EM_S390): Use official value. - * locale/programs/locale.c (write_locales): Don't simply add all - directories found in the subdir, test whether at least the - LC_CTYPE file is in there. +2001-03-09 Ulrich Drepper <drepper@redhat.com> -2000-07-06 Ulrich Drepper <drepper@redhat.com> + * conform/data/sys/socket.h-data: Allow SO* symbols. - * iconvdata/euc-jp.c: Map characters in C1 area to itself. - * iconvdata/euc-kr.c: Likewise. +2001-03-07 Andreas Schwab <schwab@suse.de> - * stdio-common/vfprintf.c (process_string_arg): Check result of - wcrtomb call and bail out if it failed. + * sysdeps/ia64/fpu/Makefile: Modify sysdep_routines instead of + routines, and sysdep-CPPFLAGS instead of CPPFLAGS. - * malloc/Makefile (test-srcs): Add tst-mtrace. - (distribute): Add tst-mtrace.sh. - Add rule to run tst-mtrace.sh. - * malloc/tst-mtrace.c: New file. - * malloc/tst-mtrace.sh: New file. +2001-03-07 Andreas Jaeger <aj@suse.de> - * include/signal.h: Declare __libc_sigaction. - * sysdeps/unix/sysv/linux/Versions: Export __libc_sigaction. - * sysdeps/unix/sysv/linux/sigaction.c: Add __libc_sigaction alias. - * 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/sparc/sparc32/sigaction.c: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise. + * resolv/Makefile (routines): Only build gai_sigqueue when threads + are available. - * configure.in: Fix CFLAGS-memprofstat.c definition after - 2000-06-19 change. - Patch by Bradford W. Johnson <bradford@math.umn.edu>. +2001-03-07 Jakub Jelinek <jakub@redhat.com> -2000-07-06 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): Pass 0 - instead of NULL to elf_machine_fixup_plt t argument. + * 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/mmap64.c (__mmap64): Add - cast. - -2000-07-06 Andreas Jaeger <aj@suse.de> - - * crypt/Makefile (LDLIBS-cert): Removed. - (LDLIBS-md5c-test): Removed. - ($(objpfx)cert): Renamed from cert.out to fix dependencies. - ($(objpfx)md5c-test): Likewise for md5c-test.out. - -2000-07-06 Andreas Jaeger <aj@suse.de> - - * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path): The type - of the proc system is "proc". - - * sysdeps/generic/libc-start.c (__libc_start_main): Initialize - thread library for static programs. - -2000-07-06 Greg McGary <greg@mcgary.org> - - * sysdeps/generic/bp-checks.h (CHECK_SIGSET, CHECK_SIGSETopt): - New macros. - * sysdeps/generic/strcpy.c: Add bounds checks. - * sysdeps/unix/fxstat.c: Likewise. - * sysdeps/unix/xstat.c: Likewise. - * sysdeps/unix/common/lxstat.c: Likewise. - * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise. - * sysdeps/unix/sysv/linux/execve.c: Likewise. - * sysdeps/unix/sysv/linux/fxstat.c: Likewise. - * sysdeps/unix/sysv/linux/fxstat64.c: Likewise. - * sysdeps/unix/sysv/linux/getcwd.c: Likewise. - * sysdeps/unix/sysv/linux/getdents.c: Likewise. - * sysdeps/unix/sysv/linux/llseek.c: Likewise. - * sysdeps/unix/sysv/linux/lxstat.c: Likewise. - * sysdeps/unix/sysv/linux/lxstat64.c: Likewise. - * sysdeps/unix/sysv/linux/poll.c: Likewise. - * sysdeps/unix/sysv/linux/pread.c: Likewise. - * sysdeps/unix/sysv/linux/pread64.c: Likewise. - * sysdeps/unix/sysv/linux/ptrace.c: Likewise. - * sysdeps/unix/sysv/linux/pwrite.c: Likewise. - * sysdeps/unix/sysv/linux/pwrite64.c: Likewise. - * sysdeps/unix/sysv/linux/readv.c: Likewise. - * sysdeps/unix/sysv/linux/sigaction.c: Likewise. - * sysdeps/unix/sysv/linux/sigpending.c: Likewise. - * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise. - * sysdeps/unix/sysv/linux/sigqueue.c: Likewise. - * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise. - * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise. - * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise. - * sysdeps/unix/sysv/linux/sysctl.c: Likewise. - * sysdeps/unix/sysv/linux/truncate64.c: Likewise. - * sysdeps/unix/sysv/linux/ustat.c: Likewise. - * sysdeps/unix/sysv/linux/writev.c: Likewise. - * sysdeps/unix/sysv/linux/xmknod.c: Likewise. - * sysdeps/unix/sysv/linux/xstat.c: Likewise. - * sysdeps/unix/sysv/linux/xstat64.c: Likewise. - * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise. - * sysdeps/unix/sysv/linux/i386/brk.c: Likewise. - * sysdeps/unix/sysv/linux/i386/chown.c: Likewise. - * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise. - * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise. - * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise. - * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise. - * sysdeps/unix/sysv/linux/i386/getrlimit.c: Likewise. - * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise. - * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise. - * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise. - * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise. - * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise. - * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise. - * sysdeps/unix/sysv/linux/ia64/fxstat.c: Likewise. - * sysdeps/unix/sysv/linux/ia64/lxstat.c: Likewise. - * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise. - * sysdeps/unix/sysv/linux/ia64/sigpending.c: Likewise. - * sysdeps/unix/sysv/linux/ia64/sigprocmask.c: Likewise. - * sysdeps/unix/sysv/linux/ia64/sigsuspend.c: Likewise. - * sysdeps/unix/sysv/linux/ia64/xstat.c: Likewise. - * sysdeps/unix/sysv/linux/m68k/chown.c: Likewise. - * sysdeps/unix/sysv/linux/mips/pread.c: Likewise. - * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise. - * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise. - * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise. - * sysdeps/unix/sysv/linux/mips/truncate64.c: Likewise. - * sysdeps/unix/sysv/linux/mips/ustat.c: Likewise. - * sysdeps/unix/sysv/linux/mips/xmknod.c: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc32/mmap64.c: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc64/sigsuspend.c: Likewise. - - * string/endian.h (__LONG_LONG_PAIR): New macro. - * sysdeps/unix/sysv/linux/ftruncate64.c: Use it. - * sysdeps/unix/sysv/linux/pread.c: Likewise. - * sysdeps/unix/sysv/linux/pread64.c: Likewise. - * sysdeps/unix/sysv/linux/pwrite.c: Likewise. - * sysdeps/unix/sysv/linux/pwrite64.c: Likewise. - * sysdeps/unix/sysv/linux/truncate64.c: Likewise. - * sysdeps/unix/sysv/linux/mips/ftruncate64.c: Likewise. - * sysdeps/unix/sysv/linux/mips/pread.c: Likewise. - * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise. - * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise. - * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise. - * sysdeps/unix/sysv/linux/mips/truncate64.c: Likewise. - - * sysdeps/unix/sysv/linux/sys/ptrace.h (PT_SYSCALL): Fix LHS. + * 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. -2000-07-06 Andreas Jaeger <aj@suse.de> +2001-03-06 Ben Collins <bcollins@debian.org> - * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path): - Initialize result. + * manual/arith.texi (Integers): Fix documentation of fast and + least integer typedefs. - * math/test-fpucw.c: Include <stdio.h> for printf. +2001-03-06 Jakub Jelinek <jakub@redhat.com> -2000-07-05 Greg McGary <greg@mcgary.org> + * resolv/Depend: New file. + * resolv/Makefile (extra-libs, tests): Build libanl and ga_test only + when libpthread is built. - * sysdeps/generic/bp-checks.h: New file. - * sysdeps/generic/bp-thunks.h: Replace generic thunk definitions - with list of #include files. - * sysdeps/unix/make-syscalls.sh: Handle new arg signature - keyletters a, b, B, f, n, N, P, v, V. Fixup some indentation. - Don't generate BP thunk if `V' appears in signature. - Generate thunks with complete bounds checks. - * sysdeps/unix/syscalls.list: Refine signatures using new keyletters. - * sysdeps/unix/inet/syscalls.list: Likewise. - * sysdeps/unix/mman/syscalls.list: Likewise. - * sysdeps/unix/sysv/linux/syscalls.list: Likewise. - * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise. - * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise. - * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Likewise. +2001-03-06 Andreas Jaeger <aj@suse.de> -2000-07-05 Ulrich Drepper <drepper@redhat.com> + * sysdeps/i386/fpu/libm-test-ulps: Add some deltas. - * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path): Cache - result. Search first in /etc/mtab (proc/mounts would be stupid). - If mount not in the file fall back on /proc. + * sysdeps/sh/dl-machine.h (elf_machine_rela): Add missing comma. + Patch by kaz Kojima <kkojima@rr.iij4u.or.jp>. - * crypt/md5-crypt.c (__md5_crypt_r): Clear arrays the key and salt - string got copied in. - Patch by Solar Designer <solar@false.com>. +2001-03-05 Ulrich Drepper <drepper@redhat.com> -2000-07-05 Andreas Jaeger <aj@suse.de> + * stdlib/Versions: Remove __new_exitfn again. Not needed. - * manual/install.texi (Installation): Update information about - add-ons. - (Configuring and compiling): Update for glibc 2.2. +2001-03-05 Andreas Jaeger <aj@suse.de> -2000-07-04 Andreas Jaeger <aj@suse.de> + * stdlib/msort.c (qsort): Don't use alloca in a function call. - * sysdeps/i386/fpu_control.h (_FPU_DEFAULT): Correct value. - (_FPU_IEEE): Likewise. +2001-03-05 Ulrich Drepper <drepper@redhat.com> - * math/Makefile (tests): Add test-fpucw. + * 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. - * math/test-fpucw.c (main): New file. +2001-03-04 Andreas Jaeger <aj@suse.de> -2000-07-05 Ulrich Drepper <drepper@redhat.com> + * stdlib/longlong.h: Don't use multi-line strings. + * iconvdata/tst-loading.c: Likewise. - * locale/loadlocale.c (_nl_unload_locale): Add cast to avoid warning. + * csu/Makefile ($(objpfx)version-info.h): Don't use multi-line + string. - * locale/programs/ld-collate.c (collate_output): Also write out the - collation sequence values and the wide character string for the - collation symbol table. +2001-03-04 Ulrich Drepper <drepper@redhat.com> - * posix/fnmatch.c: Include "../locale/elem-hash.h". - * posix/fnmatch_loop.c: Implement collating symbol handling. - * posix/tst-fnmatch.input: Add more tests, especially for collating - symbol handling. + * sysdeps/ia64/fpu/libm-test-ulps: Adjust for addition of lgammal. - * posix/regex.c: Fix comment. + * rt/lio_listio.c: Add a few asserts. -2000-07-05 Andreas Jaeger <aj@suse.de> + * elf/global.c: New file. + * elf/globalmod1.c: New file. + * elf/Makefile: Add rules to build and run global. - * sysdeps/mips/fpu_control.h: Fix type of fpu_control_t. - (_FPU_GETCW): Remove extra colon. - Patch by Ralf Baechle <ralf@uni-koblenz.de>. + * 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. - * posix/fnmatch_loop.c (FCT): Only declare len if - !WIDE_CHAR_VERSION to silence GCC. + * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: New file. + Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>. - * sysdeps/generic/rawmemchr.c: Include <stdlib.h> for abort - prototype. - * sysdeps/generic/strchrnul.c: Likewise. - * sysdeps/generic/strlen.c: Likewise. - * sysdeps/generic/strchr.c: Likewise. - * sysdeps/generic/memchr.c: Likewise. + * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Fix handling of boundary cases. -2000-07-04 Ulrich Drepper <drepper@redhat.com> + * sysdeps/ieee754/dbl-64/e_gamma_r.c: Always initialize sign variable. + * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise. - * posix/fnmatch_loop.c: Implement equivalence class handling. - * posix/tst-fnmatch.input: Add tests for equivalence class - handling. + * sysdeps/i386/fpu/libm-test-ulps: Adjust after addition of lgammal. - * posix/fnmatch_loop.c: Improve performance for single-byte - character sets by not using btowc. + * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Fix typo in last change. - * posix/tst-fnmatch.input: Add tests for locale dependent - behaviour. - * posix/tst-fnmatch.c (main): Also set LC_CTYPE category. +2001-03-04 Andreas Jaeger <aj@suse.de> - * posix/tst-fnmatch.input: Add more test cases. + * resolv/tst-aton.c: Add testcase for IP with four periods. - * crypt/md5-crypt.c (__md5_crypt_r): If buffers for key and salt - are not aligned to alignof(md5_uint32) do it before calling - __md5_process_bytes. - * crypt/md5.c: Make sure buffers are aligned. - * crypt/md5.h: Likewise. - Reported by Solar Designer <solar@false.com>. + * resolv/inet_addr.c: Don't recognize an IP with four periods. + Patch by Andre' Breiler <A.Breiler@gmx.net>. - * crypt/Makefile: Add dependencies for test programs. +2001-02-27 Philip Blundell <pb@futuretv.com> - * Rules: Define LC_ALL=C in environments of all programs we run. + * elf/elf.h: Add new ARM definitions from latest (B-01) + specification. Correct naming of EF_ARM_ALIGN8 et al. - * intl/tst-gettext.sh (LC_ALL): Define to C and export. +2001-03-04 Ulrich Drepper <drepper@redhat.com> -2000-07-03 H.J. Lu <hjl@gnu.org> + * stdio-common/tst-printf.sh: Remove bashisms. + Patch by Matthew Clarke <Matthew_Clarke@mindlink.bc.ca>. - * locale/programs/ld-ctype.c (ctype_output): The size of iov - is 2 + elem + offset, not 2 + elem + offset + 2. +2001-03-03 Ulrich Drepper <drepper@redhat.com> -2000-07-04 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. - * posix/fnmatch_loop.c: Fix two problems uncovered by the new test - suite. - * posix/Makefile (tests): Add tst-fnmatch. - (tst-fnmatch-ENV): Define. - * posix/tst-fnmatch.c: New file. - * posix/tst-fnmatch.sh: New file. + * rt/aio_misc.c: Fix typos in comments. + * rt/lio_listio.c: Pretty printing. Little optimization in request + list handling. -2000-07-04 NIIBE Yutaka <gniibe@chroot.org> + * elf/rtld.c: Remove commented out code. - * locale/programs/charmap.c (charmap_read): Prepend - the condition filename == NULL. + * sysdeps/unix/sysv/linux/linux_fsinfo.h (SHMFS_SUPER_MAGIC): + Update for real 2.4 kernels. -2000-07-03 Greg McGary <greg@mcgary.org> +2001-03-01 Ulrich Drepper <drepper@redhat.com> - * sysdeps/i386/bits/setjmp.h (PUSH_SIGNAL_MASK): Fix typo. + * elf/dl-load.c: Pretty printing. - * csu/Makefile (extra-objs, install-lib): Add BP objects conditionally. - ($(objpfx)b$(start-installed-name)): Add non-elf rule. + * elf/dl-object.c (_dl_new_object): Don't add the loader's scope + twice. - * libio/libio.h (_IO_FILE): Revert type of _chain to _IO_FILE*. - * libio/libioP.h (_IO_ITER): Revert to type _IO_FILE*. - (FILEBUF_LITERAL): Add cast for CHAIN init. - * libio/genops.c (_IO_un_link, _IO_link_in, _IO_iter_begin): Add casts. - (_IO_flush_all, _IO_flush_all_linebuffered, _IO_unbuffer_write): - Revert type of `fp' to _IO_FILE*. - (_IO_iter_file): Remove cast. - (_IO_iter_next): Elide intermediate member reference. +2001-02-28 Ulrich Drepper <drepper@redhat.com> - * sysdeps/powerpc/strchr.S: Check bounds. - Wrap extern symbols in BP_SYM (). + * sysdeps/alpha/dl-machine.h (elf_machine_rela): Don't handle + relocations which are not in ld.so if RTLD_BOOTSTRAP is defined. -2000-07-03 Andreas Jaeger <aj@suse.de> + * sysdeps/powerpc/dl-machine.c (__process_machine_rela): Fix typo. - * dlfcn/Makefile (generated): New. + * elf/dl-misc.c (_dl_debug_vdprintf): Fix typo visible on 64-bit + machines. -2000-07-03 Ulrich Drepper <drepper@redhat.com> + * sysdeps/unix/sysv/linux/powerpc/sysdep.h (C_TEXT): Define. - * libio/genops.c (__overflow): Use _IO_fwide to orient the stream. - (__uflow): Likewise. - (__underflow): Likewise. - * libio/wgenops.c (__wunderflow): Likewise. - * stdio-common/tst-unbputc.c: New file. - * stdio-common/tst-unbputc.sh: New file. - * stdio-common/Makefile: Add rules to build and run tst-unbputc. +2001-02-27 Ulrich Drepper <drepper@redhat.com> - * po/en_GB.po: New file. - Contributed by Robert Brady <rwb197@ecs.soton.ac.uk>. + * sysdeps/powerpc/elf/libc-start.c: Use new output functions and + _dl_debug_mask. -2000-07-01 Andreas Jaeger <aj@suse.de> + * elf/Versions [ld]: Don't export _dl_debug_message anymore. Export + _dl_debug_printf. + * elf/dl-misc.c: Remove definition of _dl_sysdep_output and + _dl_debug_message. Define _dl_debug_vdprintf, _dl_debug_printf, + _dl_debug_printf_c, and _dl_printf. + * sysdeps/generic/ldsodefs.h: Don't declare _dl_sysdep_output, + _dl_debug_message, _dl_sysdep_message, _dl_sysdep_error, and + _dl_sysdep_fatal. Declare _dl_debug_printf, _dl_debug_printf_c, + _dl_printf, _dl_error_printf, and _dl_fatal_printf. + * elf/dl-close.c: Replace use of old output functions with the new + ones. + * elf/dl-deps.c: Likewise. + * elf/dl-error.c: Likewise. + * elf/dl-fini.c: Likewise. + * elf/dl-init.c: Likewise. + * elf/dl-load.c: Likewise. + * elf/dl-lookup.c: Likewise. + * elf/dl-minimal.c: Likewise. + * elf/dl-open.c: Likewise. + * elf/dl-profile.c: Likewise. + * elf/dl-reloc.c: Likewise. + * elf/dl-version.c: Likewise. + * elf/do-lookup.h: Likewise. + * elf/rtld.c: Likewise. + * sysdeps/generic/dl-cache.c: Likewise. + * sysdeps/generic/dl-sysdep.c: Likewise. + * sysdeps/generic/libc-start.c: Likewise. + * sysdeps/i386/dl-machine.h: Likewise. + * sysdeps/arm/dl-machine.h: Likewise. + * sysdeps/hppa/dl-machine.h: Likewise. + * sysdeps/m68k/dl-machine.h: Likewise. + * sysdeps/powerpc/dl-machine.h: Likewise. + * sysdeps/s390/dl-machine.h: Likewise. + * sysdeps/sh/dl-machine.h: Likewise. + * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise. + * sysdeps/unix/sysv/linux/i386/dl-librecon.h: Likewise. + * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise. - * intl/Makefile (generated-dirs): New. + * sysdeps/generic/ldsodefs.h: Remove _dl_secure declaration. - * elf/Makefile (generated): trusted-dirs.h is always generated, - move out of build-shared condition. - (generated): Merge the two entries for build-shared. + * dlfcn/Makefile: Don't run tstatexit test unless .hidden is + supported by assembler. -2000-07-01 Ulrich Drepper <drepper@redhat.com> + * sysdeps/generic/ldsodefs.h: Remove commented-out variable + declaractions. - * debug/Makefile (distribute): Add xtrace.sh. + * elf/rtld.c: Little optimizations in handling _dl_lazy. -2000-06-30 Ulrich Drepper <drepper@redhat.com> + * elf/cache.c (save_cache): Portability changes. + * elf/dl-profile.c (_dl_start_profile): Likewise. - * version.h (VERSION): Bump to 2.1.91. + * elf/sln.c: Cleanups. Remove arbitrary limits. - * configure.in: Update warning comment. glibc should not be - broken anymore. + * elf/dl-close.c: Replace _dl_debug_* variables with _dl_debug_mask. + * elf/dl-deps.c: Likewise. + * elf/dl-fini.c: Likewise. + * elf/dl-init.c: Likewise. + * elf/dl-load.c: Likewise. + * elf/dl-lookup.c: Likewise. + * elf/dl-open.c: Likewise. + * elf/dl-reloc.c: Likewise. + * elf/dl-support.c: Likewise. + * elf/dl-version.c: Likewise. + * elf/do-lookup.h: Likewise. + * elf/rtld.c: Likewise. + * sysdeps/generic/dl-cache.c: Likewise. + * sysdeps/generic/ldsodefs.h: Likewise. + * sysdeps/generic/libc-start.c: Likewise. + * elf/Versions: Don't export _dl_debug_impcalls and _dl_debug_files. + Export _dl_debug_mask. + * Versions.def: Define GLIBC_2.2.3 for ld. + +2001-02-26 Greg McGary <greg@mcgary.org> + + * sysdeps/unix/make-syscalls.sh (ptr): Handle `V' keyletter. + +2001-02-26 Paul Eggert <eggert@twinsun.com> + + Modify mkstemp.c and tempname.c so that they can be used by + GNU applications on non-glibc platforms. + + * misc/mkstemp.c (__GT_FILE): Define to zero if not defined. + + * sysdeps/posix/tempname.c: Include <config.h> if HAVE_CONFIG_H. + Include <stddef.h>, <stdint.h>, <string.h> only if + STDC_HEADERS || _LIBC. + Include <fcntl.h> only if HAVE_FCNTL_H || _LIBC. + Include <unistd.h> only if HAVE_UNISTD_H || _LIBC. + Include <sys/time.h> only if HAVE_SYS_TIME_H || _LIBC. + (__set_errno): Define this macro if <errno.h> doesn't. + (P_tmpdir, TMP_MAX, __GT_FILE, __GT_BIGFILE, __GT_DIR, __GT_NOCREATE): + Define these macros if <stdio.h> doesn't. + (S_ISDIR, S_IRUSR, S_IWUSR, S_IXUSR): + Define these macros if <sys/stat.h> doesn't. + Ignore <sys/stat.h> S_ISDIR if STAT_MACROS_BROKEN. + (stat64, __getpid, __gettimeofday, __mkdir, __open, __open64, + lxstat64, __xstat64): Define if not _LIBC. + (struct_stat64): New macro. + (direxists, __gen_tempname): Use it, to avoid a + portability problem with Solaris 8. + (__secure_getenv): Define if ! (HAVE___SECURE_GETENV || _LIBC). + (__gen_tempname): Invoke gettimeofday only if + HAVE_GETTIMEOFDAY || _LIBC; otherwise, fall back on plain "time". + Use portable macros like S_IRUSR | S_IWUSR rather than nonportable + octal values like 0600. + +2001-02-26 Ulrich Drepper <drepper@redhat.com> + + * sysdeps/ieee754/ldbl-96/e_jnl.c: New file. + Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>. + + * sysdeps/i386/fpu/libm-test-ulps: Update for jnl and ynl introduction. + * sysdeps/ia64/fpu/libm-test-ulps: Likewise. + + * posix/wordexp-test.c (testit): Remove warnings. + + * dlfcn/Makefile (distribute): Add modatexit.c and modcxaatexit.c. + (tests): Add tstatexit and tstcxaatexit. + (module-names): Add modatexit and modcxaatexit. + Add rules to build and run tstatexit and tstcxaatexit. + * dlfcn/modatexit.c: New file. + * dlfcn/modcxaatexit.c: New file. + * dlfcn/tstatexit.c: New file. + * dlfcn/tstcxaatexit.c: New file. + + * io/Makefile: Pass -DHAVE_DOT_HIDDEN to stat and mknod functions if + .hidden is available. + * io/stat.c: If .hidden is available use it to avoid exporting + functions. + * io/fstat.c: Likewise. + * io/lstat.c: Likewise. + * io/stat64.c: Likewise. + * io/fstat64.c: Likewise. + * io/lstat64.c: Likewise. + * sysdeps/generic/mknod.c: Likewise. + + * malloc/mtrace.c: Use __cxa_atexit and not atexit. + * sysdeps/generic/bb_init_func.c: Likewise. + * sysdeps/generic/libc-start.c: Likewise. - * sysdeps/unix/sysv/linux/ia64/Dist: Remove old content. Add - ioperm.c, sys/procfs.h, and sys/io.h. + * 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. - * sysdeps/powerpc/Dist: Add bp-asm.h. + * intl/Makefile: Remove bogus endif. - * assert/Depend: Add localedata. - * assert/Makefile (test-assert-ENV): New. Define LANGUAGE=C. - (test-assert-perr-ENV): New. Define LANGUAGE=C. +2001-02-26 Andreas Jaeger <aj@suse.de> - * sysdeps/alpha/dl-machine.h (elf_machine_rela) [r_type == - R_ALPHA_REFQUAD]: Use memcpy to load and store value from - relocation address to prevent unaligned trap. - Suggested by Richard Henderson <rth@cygnus.com>. + * iconvdata/Makefile (tests): Fix typo in last patch. -2000-06-30 Jakub Jelinek <jakub@redhat.com> + * intl/Makefile (tests): Run mtrace-tst-gettext only when perl is + available. + Reported by Achim Gottinger <achim@gentoo.org>. - * io/sys/stat.h (stat64, lstat64, fstat64): Don't define inlines - if redirecting and either redirection is done using defines or - not optimizing. +2001-02-25 Andreas Jaeger <aj@suse.de> -2000-06-30 Ulrich Drepper <drepper@redhat.com> + * intl/Makefile (plural.c): Reorder rules so that they work if + BISON doesn't exist. - * sunrpc/rpc_cout.c (inline_struct): Add missing parenthesis in - generated expressions. - Patch by Darren McClelland <dmcclell@zetec.com>. +2001-02-25 Ulrich Drepper <drepper@redhat.com> - * timezone/Makefile (build-testdata): Set LANGUAGE and LC_ALL - since zic uses setlocale and gettext but we cannot make it use the - new locale data since zic calls a shell which might not use the - new libc. + * intl/locale.alias: Don't use nb_NO but define aliases for it. - * stdlib/strfmon.c: Move somewhat closer to the standard wrt to - handling the internation currency symbol. POSIX says that the - fourth character is used to separate the currency symbol from the - value. Therefore it does not have to be printed. But we cannot - remove the space if the currency symbol is printed before the - number since this is what many locales expect. +2001-02-23 Ulrich Drepper <drepper@redhat.com> - * iconv/gconv_trans.c: Test with _NL_CTYPE_TRANSLIT_DEFAULT_MISSING_LEN - whether this information is available. + * sysdeps/i386/strtok.S: Continue to return NULL after the first + time this happened. - * intl/dcigettext.c (_nl_find_msg): Correct reallocation of - buffers in case the translation is too large. Remember allocated - memory blocks in a list. - (free_mem): Free memory for translations. +2001-02-23 Andreas Jaeger <aj@suse.de> - * intl/tst-gettext.c: Use correct locale. Improve error messages. + * string/tester.c (test_strtok_r): Add testcase. + (test_strtok_r): Always initialize cp for proper checking. - * locale/programs/ld-ctype.c (ctype_output): If no default_missing - information is available set the string length to zero. + * 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. - * sysdeps/i386/i686/strcmp.S: Little optimization in non-BP case. +2001-02-23 Ulrich Drepper <drepper@redhat.com> -2000-06-30 Greg McGary <greg@mcgary.org> + * sysdeps/unix/sysv/aix/bits/types.h: Define __need_NULL before + including <stddef.h>. + * sysdeps/unix/sysv/aix/write.c: Define alias __libc_write. + * include/libc-symbols.h (weak_alias): Don't use .weak if + HAVE_ASM_GLOBAL_DOT_NAME is defined. + Patches by Michael Keezer <mkeezer@redhat.com>. - * sysdeps/powerpc/bp-asm.h: New file. - * sysdeps/powerpc/__longjmp.S: Check bounds. - Wrap extern symbols in BP_SYM (). - * sysdeps/powerpc/bsd-_setjmp.S: Likewise. - * sysdeps/powerpc/bsd-setjmp.S: Likewise. - * sysdeps/powerpc/setjmp.S: Likewise. - * sysdeps/powerpc/add_n.S: Likewise. - * sysdeps/powerpc/addmul_1.S: Likewise. - * sysdeps/powerpc/lshift.S: Likewise. - * sysdeps/powerpc/rshift.S: Likewise. - * sysdeps/powerpc/mul_1.S: Likewise. - * sysdeps/powerpc/sub_n.S: Likewise. - * sysdeps/powerpc/submul_1.S: Likewise. - * sysdeps/powerpc/strlen.S: Likewise. - * sysdeps/powerpc/memset.S: Likewise. - * sysdeps/powerpc/stpcpy.S: Likewise. - * sysdeps/powerpc/strcmp.S: Likewise. - * sysdeps/powerpc/strcpy.S: Likewise. - * sysdeps/powerpc/elf/bzero.S: Likewise. + * sysdeps/generic/ftime.c: Don't include <sys/time.h> at all. + Patch by Michael Keezer <mkeezer@redhat.com>. - * sysdeps/powerpc/stpcpy.S: Define & use symbolic register names. - Line up operands column with tabs. + * 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>. -2000-06-30 Ulrich Drepper <drepper@redhat.com> +2001-02-22 Ulrich Drepper <drepper@redhat.com> - * elf/Makefile (LDFLAGS-origtest): Actually add it. + * sysdeps/i386/elf/start.S (_fp_hw): Actually define label. - * sysdeps/ia64/htonl.S: New file. - * sysdeps/ia64/htons.S: New file. - * sysdeps/ia64/memcpy.S: Replace with version which does not use - floating point registers. - Patches by Dan Pop <Dan.Pop@cern.ch>. +2001-02-22 Andreas Jaeger <aj@suse.de> -2000-06-30 Andreas Jaeger <aj@suse.de> + * string/tst-strtok.c (main): Fix error messages. - * posix/Makefile (tests): tst-exec and tst-spawn only work with - shared libraries. +2001-02-22 Andreas Jaeger <aj@suse.de> - * io/Makefile (CFLAGS-test-lfs.c): New. - (tests): Add test-lfs. + * math/Makefile: Remove omit-long-double-fcts. - * io/test-lfs.c: New file. +2001-02-18 Maciej W. Rozycki <macro@ds2.pg.gda.pl> -2000-06-30 Jakub Jelinek <jakub@redhat.com> + * sysdeps/mips/bsd-_setjmp.S (_setjmp): Reorder instructions to + avoid problems on MIPS I. + * sysdeps/mips/bsd-setjmp.S (setjmp): Likewise. - * sysdeps/i386/bits/string.h (strcmp): Use 8bit register in 8bit - instruction. + * sysdeps/mips/dl-machine.h (RTLD_START): Remove duplicate ".set + noreorder". -2000-06-29 David Mosberger-Tang <davidm@hpl.hp.com> +2001-02-21 Ulrich Drepper <drepper@redhat.com> - * sysdeps/unix/sysv/linux/ia64/ioperm.c: New file. + * posix/fnmatch_loop.c: Handle ranges outside glibc correctly. -2000-06-29 Jes Sorensen <jes@linuxcare.com> + * sysdeps/generic/ftime.c: Include <time.h>. - * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add __fstatfs64 - alias to the fstatfs call. + * configure.in: Don't check for libgd if user passed --without-gd. + Patch by Achim Gottinger <achim@gentoo.org>. - * sysdeps/unix/sysv/linux/ia64/getrlimit64.c: New file. - * sysdeps/unix/sysv/linux/ia64/setrlimit64.c: New file. + * sysdeps/i386/i686/strtok.S: Continue to return NULL after the + first time this happened. + * string/Makefile (tests): Add tst-strtok. - * sysdeps/unix/sysv/linux/ia64/ftruncate64.c: New file. - * sysdeps/unix/sysv/linux/ia64/truncate64.c: New file. +2001-02-21 Andreas Jaeger <aj@suse.de> - * sysdeps/unix/sysv/linux/ia64/readdir.c: New file. - * sysdeps/unix/sysv/linux/ia64/readdir_r.c: New file. - * sysdeps/unix/sysv/linux/ia64/readdir64.c: New file. - * sysdeps/unix/sysv/linux/ia64/readdir64_r.c: New file. + * string/tst-strtok.c: New testcase, reported by + Andrew Church <achurch@achurch.org>. - * sysdeps/unix/sysv/linux/ia64/glob.c: New file. - * sysdeps/unix/sysv/linux/ia64/glob64.c: New file. +2001-02-20 Ulrich Drepper <drepper@redhat.com> - * sysdeps/unix/sysv/linux/ia64/fstatfs64.c: New file. - * sysdeps/unix/sysv/linux/ia64/statfs64.c: New file. + * libio/iofwide.c: Remove fwide alias. - * sysdeps/unix/sysv/linux/ia64/pread64.c: New file. - * sysdeps/unix/sysv/linux/ia64/pwrite64.c: New file. +2001-02-20 Andreas Jaeger <aj@suse.de> - * sysdeps/unix/sysv/linux/ia64/shmctl.c: New file. + * iconvdata/Makefile (tests): Only run mtrace-tst-loading if perl + is available. + Reported by Achim Gottinger <achim@gentoo.org>. -2000-06-29 Andreas Jaeger <aj@suse.de> +2001-02-19 Ulrich Drepper <drepper@redhat.com> - * sunrpc/rpc_svcout.c (write_msg_out): Always use format string - with syslog. - (print_err_message): Likewise. - Reported by Chris Evans <chris@ferret.lmh.ox.ac.uk>. + * iconv/tst-iconv1.c (main): Remove debugging code. -2000-06-29 Ulrich Drepper <drepper@redhat.com> + * sysdeps/ieee754/flt-32/e_powf.c: Handle x == +-1 correctly. + * sysdeps/ieee754/dbl-64/e_pow.c: Likewise. - * locale/loadlocale.c (_nl_load_locale): Make sure all locale data - used as words is properly aligned. + * 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. - * locale/programs/ld-ctype.c (ctype_output): Don't generate unaligned - data files. +2001-02-15 David Mosberger <davidm@hpl.hp.com> -2000-06-29 Greg McGary <greg@mcgary.org> + * sysdeps/unix/sysv/linux/ia64/__longjmp.S (__longjmp): No need to + do "loadrs". Writing to bspstore already takes care of + invalidating the "clean" partition. - * sysdeps/generic/libc-start.c (__libc_stack_end): Chop __unbounded. - * sysdeps/unix/make-syscalls.sh: Handle signatures of - length 7..9, just in case... - * misc/sys/cdefs.h (__ptrvalue): Define as nothing for non-BP. +2001-02-16 Andreas Schwab <schwab@suse.de> - * sysdeps/i386/bp-asm.h (PCOFF): New constant. - (POP_ERRNO_LOCATION_RETURN): Fold insns. - * sysdeps/i386/bits/setjmp.h (JB_SIZE): New constant. - (PUSH_SIGNAL_MASK): New macro. - * sysdeps/i386/__longjmp.S (__longjmp): Wrap symbol in BP_SYM (). - LEAVE is unnecessary. Check bounds of jmp_buf. - * sysdeps/i386/elf/setjmp.S: Call PUSH_SIGNAL_MASK. Wrap symbols - in BP_SYM (). Check bounds of jmp_buf. Don't call LEAVE until - immediately before tail-call. - * sysdeps/i386/setjmp.S: Likewise. - * sysdeps/i386/bsd-_setjmp.S: Likewise. - * sysdeps/i386/bsd-setjmp.S: Likewise. - -2000-06-29 Jakub Jelinek <jakub@redhat.com> - - * sysdeps/sparc/fpu/fclrexcpt.c: Use SHLIB_COMPAT, compat_symbol and - versioned_symbol. - * sysdeps/sparc/fpu/fesetenv.c: Likewise. - * sysdeps/sparc/fpu/feupdateenv.c: Likewise. - * sysdeps/sparc/fpu/fgetexcptflg.c: Likewise. - * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise. - * sysdeps/sparc/fpu/fsetexcptflg.c: Likewise. - * sysdeps/sparc/fpu/fegetenv.c: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc64/Versions: New file. - * shlib-versions: Make sparc64 GLIBC_2.2+ only. - -2000-06-29 Ulrich Drepper <drepper@redhat.com> - - * stdio-common/printf_fp.c (__printf_fp): Don't clobber pointer which - we later need to calling free(). - Patch by Matt Wilson <msw@redhat.com>. - - * stdio-common/tst-printf.c: Add test for above problem. - -2000-06-27 David Mosberger-Tang <davidm@hpl.hp.com> - - * sysdeps/unix/sysv/linux/ia64/bits/ipc.h: New file. - * sysdeps/unix/sysv/linux/ia64/bits/shm.h: New file. - -2000-06-28 Jes Sorensen <jes@linuxcare.com> - - * sysdeps/ieee754/dbl-64/s_exp2.c: Add include stdlib.h to get - prototype for abs(). - * sysdeps/ieee754/flt-32/s_exp2f.c: Likewise. - -2000-06-23 Andreas Jaeger <aj@suse.de> - - * config.h.in: Don't use regparm with bounded pointers. - -2000-06-29 Ulrich Drepper <drepper@redhat.com> - - * stdlib/grouping.h: Correctly handle multibyte thousands - separator and decimal point. - * stdlib/stdtod.c: Likewise. - * sysdeps/generic/strtol.c: Likewise. - - * locale/categories.def: Add entries for wide character decimal point - and thousands separator in numeric and monetary category. - -2000-06-28 Ulrich Drepper <drepper@redhat.com> - - * stdio-common/printf_fp.c (__printf_fp): Remove unnecessary - second definition and initialization of decimal. - -2000-06-28 Greg McGary <greg@mcgary.org> - - * libio/libio.h (struct _IO_cookie_file): Move struct type defintion - out. - (_IO_FILE): Declare chain as (struct _IO_FILE_plus *). - * libio/libioP.h (struct _IO_cookie_file): Move struct type defintion - in. - (_IO_JUMPS): Don't cast THIS--expect arg to be a - (struct _IO_FILE_plus *). - (_IO_JUMPS_FUNC): Express in terms of _IO_JUMPS, and add cast to - THIS, since _IO_JUMPS no longer does it implicitly. - (_IO_file_init, _IO_old_file_init, _IO_new_file_init): Declare - arg type as (struct _IO_FILE_plus *). - (_IO_str_init_static, _IO_str_init_readonly): Declare 1st - arg as (_IO_strfile *). - * libio/strops.c (_IO_str_init_static, _IO_str_init_readonly): - Declare 1st arg as (_IO_strfile *). - * libio/fileops.c (_IO_new_file_init): Declare - arg type as (struct _IO_FILE_plus *). - * libio/oldfileops.c (_IO_old_file_init): Likewise. - * libio/genops.c (_IO_link_in, _IO_un_link): Likewise. - (_IO_flush_all, _IO_flush_all_linebuffered, _IO_unbuffer_write): - Declare iteration pointer as (struct _IO_FILE_plus *). - (_IO_iter_next, _IO_iter_file): _IO_ITER is now - (struct _IO_FILE_plus *). - * libio/stdfiles.c (_IO_list_all): Declare as (struct _IO_FILE_plus *). - * libio/oldstdfiles.c (_IO_list_all): Likewise. - (_IO_check_libio): Set user-visible handles to - (struct _IO_FILE_plus *). - * libio/stdio.c (stdin, stdout, stderr): Set user-visible handles - to (struct _IO_FILE_plus *). - - * libio/iofdopen.c (_IO_new_fdopen): Pass FILE handle pointer - whose high bound includes vtable to all functions that will use - vtable. For streambufs, pass pointer whose bounds include struct - _IO_strfile. - * libio/wgenops.c (_IO_wdefault_finish): Likewise. - * libio/oldiofdopen.c (_IO_old_fdopen): Likewise. - * libio/iofopen.c (_IO_new_fopen): Likewise. - * libio/oldiofopen.c (_IO_old_fopen): Likewise. - * libio/iofopen64.c (_IO_fopen64): Likewise. - * libio/iopopen.c (_IO_new_popen): Likewise. - * libio/oldiopopen.c (_IO_old_popen): Likewise. - * libio/memstream.c (open_memstream): Likewise. - * libio/iovsscanf.c (_IO_vsscanf): Likewise. - * libio/iovsprintf.c (_IO_vsprintf): Likewise. - * libio/iovdprintf.c (_IO_vdprintf): Likewise. - * libio/iofopncook.c (_IO_cookie_init): Likewise. - * libio/obprintf.c (_IO_obstack_vprintf): Likewise. - * libio/vasprintf.c (_IO_vasprintf): Likewise. - * libio/vsnprintf.c (_IO_vsnprintf): Likewise. - * libio/stdfiles.c (_IO_stdout_, _IO_stderr_): Likewise. - * libio/oldstdfiles.c (_IO_stdout_, _IO_stderr_): Likewise. - * stdlib/strfmon.c (__strfmon_l): Likewise. - * stdio-common/vfprintf.c (buffered_vfprintf): Likewise. - (vfprintf): Qualify computed-goto targets as unbounded. + * sysdeps/m68k/fpu/s_nextafterl.c: New file. + * sysdeps/m68k/fpu/s_fpclassifyl.c: New file. -2000-06-28 Ulrich Drepper <drepper@redhat.com> +2001-02-15 Jakub Jelinek <jakub@redhat.com> - * stdio-common/vfscanf.c: Finally handle multibyte decimal point and - thousands separator correctly. + * 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. - * stdio-common/vfscanf.c: Use COMPILE_WSCANF not COMPILE_WPRINTF. - * stdio-common/vfwscanf.c: Likewise. +2001-02-15 Ulrich Drepper <drepper@redhat.com> -2000-06-27 Jes Sorensen <jes@linuxcare.com> + * stdio-common/Makefile (tests): Add tst-gets. + * stdio-common/tst-gets.c: New file. + * stdio-common/tst-gets.input: New file. - * sysdeps/unix/sysv/linux/ia64/syscalls.list: Change argument - count into signatures for most calls. + * elf/elf.h (DT_CHECKSUM): Define. -2000-06-28 Ulrich Drepper <drepper@redhat.com> + * sysdeps/generic/strtoll.c: Don't export __strto*_internal as + default symbol. + * sysdeps/generic/strtoull.c: Likewise. - * sysdeps/unix/sysv/linux/ia64/getsysstats.c: Removed. We can use - the generic parser now. +2001-02-14 Wolfram Gloger <wg@malloc.de> -2000-06-28 Jes Sorensen <jes@linuxcare.com> + * 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/unix/sysv/linux/ia64/bits/elfclass.h: Deleted. Hash - table entries are 32 bit on the ia64 (as specified by the ABI), - not 64 bit as on the Alpha. +2001-02-14 Ulrich Drepper <drepper@redhat.com> - * shlib-versions: Bump ia64 soname to ld-linux-ia64.so.2 to mark - change of objects to use 32 bit hash table indices (see above). + * 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. -2000-06-28 Jes Sorensen <jes@linuxcare.com> + * posix/tst-gnuglob.c: Make a few entries DT_UNKNOWN and teach + fake filesystem routines to handle this. - * sysdeps/ieee754/dbl-64/e_exp.c: Add include stdlib.h to get - prototype for abs(). + * time/sys/time.h: Make settimeofday and adjtime available if + _BSD_SOURCE. -2000-06-28 Wolfram Gloger <wg@malloc.de> + * time/sys/time.h: Make timer* macros available for BSD. - * malloc/malloc.c (chunk_alloc): If extension of the linear heap - fails, try mmap_chunk() as a last resort even though n_mmaps_max - may have been reached. + * iconvdata/gb18030.c: Update for Dec 2000 re-release of GB18030. + Patch by Yong Li <rigel863@yahoo.com>. -2000-06-28 Ulrich Drepper <drepper@redhat.com> + * sysdeps/generic/glob.c (CONVERT_DIRENT_DIRENT64): Fix copying of + name. - * locale/programs/ld-collate.c (insert_weights): Handle <Uxxxx> - symbols in multi-character weights correctly. + * posix/Makefile (tests): Add tst-gnuglob. + * posix/tst-gnuglob.c: New file. - * wcsmbs/mbrtowc.c: Set flush to 1 for conversion function calls - depending on whether the input string is empty or not. +2001-02-13 H.J. Lu <hjl@gnu.org> - * wcsmbs/mbrtowc.c: Calling function without input means clearing the - given state and not avoiding this by modifying a local object. - * wcsmbs/wcrtomb.c: Likewise. + * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add __ftruncate64. - * iconv/skeleton.c: If no EMIT_SHIFT_TO_INIT is defined clear state - object since some incomplete characters might be in there. +2001-02-13 Ulrich Drepper <drepper@redhat.com> - * iconvdata/euc-jp.c: In conversion to UCS4, handling invalid - sequences with first byte 0x8e correctly. + * locale/programs/ld-paper.c (paper_output): Pretty printing. - * iconvdata/jis0208.h: Remove redundant test. + * iconvdata/Makefile (modules): Add GBBIG5. + (distribute): Add gbbig5.c. + * iconvdata/gconv-modules: Add entries for GBBIG5 module. -2000-06-27 Ulrich Drepper <drepper@redhat.com> + * iconvdata/gbbig5.c: New file. + Contributed by Yong Li <rigel863@yahoo.com>. - * sysdeps/generic/initfini.c (SECTION): Remove trailing semicolon. - Add it where it is needed now. +2001-02-13 Philip Blundell <pb@futuretv.com> - * locale/programs/ld-ctype.c (ctype_finish): Take all characters from - the input charset into account when generating the hash table. - (allocate_arrays): Correct setting default width. Not all empty slots - in the table are filled, only those not covert explicitly by the - locale description and in the charset. - - * wctype/towctrans.c (__towctrans): Be graceful and accept error - return values from the wctrans function. - - * stdio-common/vfscanf.c: Make sure to always return WEOF and EOF for - wide character version. - For %C handling, test correct pointer variable for NULL. - - * wcsmbs/wctob.c: Handle WEOF special. - - * wcsmbs/wcwidth.h: 0xff in width array means invalid character. - - * wctype/wctype.h: Protect gcc-isms with __extension__. Avoid - always-true test to avoid warning. - -2000-06-27 Greg McGary <greg@mcgary.org> - - * elf/dl-open.c (_dl_sysdep_start): Wrap weak_extern decl in BP_SYM (). - * include/libc-symbols.h (weak_extern): Add extra level of expansion. - (symbol_version, default_symbol_version): Factor redundant - definitions out of conditional. - -2000-06-27 Jakub Jelinek <jakub@redhat.com> - - * libio/obprintf.c (_IO_obstack_vprintf): Call obstack_make_room, - not obstack_blank. - -2000-06-26 Ulrich Drepper <drepper@redhat.com> - - * include/libc-symbols.h (symbol_version): Add extra level of - macro expansion. - (default_symbol_version): Likewise. - -2000-06-26 Greg McGary <greg@mcgary.org> - - * sysdeps/unix/i386/sysdep.S (syscall_error): Push & pop space - for BP return value & push implicit struct-return pointer to - __errno_location. - * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise. - (SYSCALL_ERROR_HANDLER): Likewise. - * sysdeps/unix/sysv/linux/i386/i686/sysdep.h - (SYSCALL_ERROR_HANDLER): Likewise. - - * Makeconfig: Add missing comment. - * csu/Makefile (extra-objs, omit-deps, install-lib): Add - BP-flavored startup object. - ($(objpfx)b$(start-installed-name)): New rule. - * include/libc-symbols.h (symbol_set_declare): Change type - of `__start_##set' and `__stop_##set' to pointer-to-function. - (symbol_set_declare): Change type of `set' to array of - pointer-to-function. - * include/set-hooks.h (RUN_HOOK): Change type of `ptr' to - pointer-to-function. - - * string/bits/string2.h: Inhibit inlines if __BOUNDED_POINTERS__. - - * sysdeps/unix/sysv/linux/syscalls.list: Add missing signatures. - Remove clock_* and timer_* entries. - * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Replace - arg-count with signatures. - - * sysdeps/i386/add_n.S: Wrap entry-point symbol in BP_SYM (). - Check bounds of arguments. - * sysdeps/i386/addmul_1.S: Likewise. - * sysdeps/i386/lshift.S: Likewise. - * sysdeps/i386/mul_1.S: Likewise. - * sysdeps/i386/rshift.S: Likewise. - * sysdeps/i386/sub_n.S: Likewise. - * sysdeps/i386/submul_1.S: Likewise. - * sysdeps/i386/i586/add_n.S: Likewise. - * sysdeps/i386/i586/addmul_1.S: Likewise. - * sysdeps/i386/i586/lshift.S: Likewise. - * sysdeps/i386/i586/rshift.S: Likewise. - * sysdeps/i386/i586/sub_n.S: Likewise. - * sysdeps/i386/i686/add_n.S: Likewise. - - * sysdeps/i386/memchr.S: Likewise. - * sysdeps/i386/memcmp.S: Likewise. - * sysdeps/i386/rawmemchr.S: Likewise. - * sysdeps/i386/i586/bzero.S: Likewise. - * sysdeps/i386/i586/memcpy.S: Likewise. - * sysdeps/i386/i586/mempcpy.S: Likewise. - * sysdeps/i386/i586/memset.S: Likewise. - * sysdeps/i386/i686/bzero.S: Likewise. - * sysdeps/i386/i686/memcpy.S: Likewise. - * sysdeps/i386/i686/mempcpy.S: Likewise. - * sysdeps/i386/i686/memset.S: Likewise. - - * sysdeps/i386/stpcpy.S: Likewise. - * sysdeps/i386/stpncpy.S: Likewise. - * sysdeps/i386/strchr.S: Likewise. - * sysdeps/i386/strchrnul.S: Likewise. - * sysdeps/i386/strcspn.S: Likewise. - * sysdeps/i386/strpbrk.S: Likewise. - * sysdeps/i386/strrchr.S: Likewise. - * sysdeps/i386/strspn.S: Likewise. - * sysdeps/i386/strtok.S: Likewise. - * sysdeps/i386/strtok_r.S: Likewise. - * sysdeps/i386/i486/strcat.S: Likewise. - * sysdeps/i386/i486/strlen.S: Likewise. - * sysdeps/i386/i586/strchr.S: Likewise. - * sysdeps/i386/i586/strcpy.S: Likewise. - * sysdeps/i386/i586/strlen.S: Likewise. - * sysdeps/i386/i686/strcmp.S: Likewise. - * sysdeps/i386/i686/strtok.S: Likewise. - * sysdeps/i386/i686/strtok_r.S: Likewise. - - * sysdeps/i386/fpu/fegetenv.c: Wrap symbol names with BP_SYM (). - * sysdeps/i386/fpu/fesetenv.c: Likewise. - * sysdeps/i386/fpu/feupdateenv.c: Likewise. - * sysdeps/i386/fpu/fgetexcptflg.c: Likewise. - * sysdeps/i386/fpu/fsetexcptflg.c: Likewise. + * manual/crypt.texi: Remove outdated references to crypt add-on. - * sysdeps/i386/addmul_1.S: Exchange roles of %ebp and %ebx. - * sysdeps/i386/mul_1.S: Likewise. - * sysdeps/i386/submul_1.S: Likewise. - * sysdeps/i386/i586/add_n.S: Likewise. - * sysdeps/i386/i586/addmul_1.S: Likewise. - * sysdeps/i386/i586/lshift.S: Likewise. - * sysdeps/i386/i586/mul_1.S: Likewise. - * sysdeps/i386/i586/rshift.S: Likewise. - * sysdeps/i386/i586/sub_n.S: Likewise. - * sysdeps/i386/i586/submul_1.S: Likewise. - -2000-06-26 Ulrich Drepper <drepper@redhat.com> - - * rt/Makefile (librt-routines): Add clock_nanosleep. - * rt/Versions [GLIBC_2.2] (librt): Add clock_nanosleep. - * sysdeps/generic/clock_nanosleep.c: New file. - * sysdeps/unix/clock_nanosleep.c: New file. - * sysdeps/unix/i386/i586/clock_nanosleep.c: New file. - * time/time.h: Declare clock_nanosleep. - -2000-06-26 Greg McGary <greg@mcgary.org> - - * sysdeps/i386/asm-syntax.h (R, MEM, MEM_DISP, MEM_INDEX, - INSN1, INSN2, TEXT, GLOBL): Remove macros. - (ALIGN): Cleanup surrounding conditionals. - - * sysdeps/i386/addmul_1.S: Replace asm-syntax macros with gas syntax. - Call ENTER/LEAVE macros. - * sysdeps/i386/mul_1.S: Replace asm-syntax macros with gas syntax. - * sysdeps/i386/submul_1.S: Likewise. - - * sysdeps/i386/i586/addmul_1.S: Replace asm-syntax macros with gas - syntax. Define & use symbolic argument stack offsets. Call - ENTER/LEAVE macros. - * sysdeps/i386/i586/mul_1.S: Likewise. - * sysdeps/i386/i586/submul_1.S: Likewise. - -2000-06-25 Greg McGary <greg@mcgary.org> - - * sysdeps/i386/i586/memcpy.S: Redefine memcpy as mempcpy, - not as bcopy. - -2000-06-25 Ulrich Drepper <drepper@redhat.com> - - * iconvdata/gen-8bit-gap-1.sh: Update for new charmap format. - * iconvdata/gen-8bit-gap.sh: Likewise. - * iconvdata/gen-8bit.sh: Likewise. - - * iconv/gconv_open.c (__gconv_open): Move comment to correct position. - - * locale/programs/ld-collate.c (collate_read): Don't actually read - the copy locale if we are ignoring the content. - - * locale/programs/ld-address.c (INT_STR_ELEM): Correct test for - unknown character. - - * locale/programs/ld-collate.c: Correct handling of different - collation sections. - * locale/programs/localedef.c (add_to_readlist): Take locale pointer - as extra parameter from which to copy category information. - Change all callers. - (load_locale): Likewise. - * locale/programs/localedef.h: Update prototypes of add_to_readlist - and load_locale. - * locale/programs/ld-ctype.c: Update call to add_to_readlist. - * locale/programs/locfile.h: Likewise. - * locale/programs/locfile-kw.gperf: Add entry for script. - * locale/programs/locfile-token.h: Add tok_script. + * manual/creature.texi: Improve wording slightly. - * locale/programs/locale.c: Update copyright year. - * locale/programs/localedef.c: Likewise. +2001-02-13 Ulrich Drepper <drepper@redhat.com> -2000-06-23 Thorsten Kukuk <kukuk@suse.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. - * sunrpc/xdr_rec.c (set_input_fragment): Fix PR libc/1549, patch from - Jens Moeller <jens.moeller@waii.com>. + * malloc/mtrace.c: Use fopen64. + * posix/spawni.c: Use __open64. + * sysdeps/unix/opendir.c: Likewise. + * sysdeps/unix/sysv/linux/gethostid.c: Likewise. -2000-06-24 Ulrich Drepper <drepper@redhat.com> + * 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. - * locale/programs/ld-name.c (name_finish): Add missing format - specifier to test for name_fmt. + * resolv/res_data.c: Add cast to avoid warning. - * locale/programs/ld-address.c (iso639): Correct length of string - elements. - (iso3166): Likewise. + * include/unistd.h: Declare __ftruncate64. - * sysdeps/unix/sysv/linux/i386/sys/elf.h (elf_fpxregset_t): Define. + * sysdeps/generic/utmp_file.c: Use LFS functions and types. - * sysdeps/unix/sysv/linux/i386/sys/user.h (struct user_fpxregs_struct): - Define. + * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use __lseek64 + instead of __lseek. - * elf/elf.h (NT_PRFPXREG): Define. +2001-02-13 Andreas Jaeger <aj@suse.de> -2000-06-23 Ulrich Drepper <drepper@redhat.com> + * login/getutent_r.c: Include <stdlib.h> for NULL. + * login/getutid_r.c: Likewise. - * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_request): Define - PTRACE_GETFPXREGS and PTRACE_SETFPXREGS. +2001-02-12 Ulrich Drepper <drepper@redhat.com> -2000-06-23 Andreas Schwab <schwab@suse.de> + * 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. - * sysdeps/unix/sysv/linux/m68k/syscalls.list: Replace arg-count - with signatures. +2000-12-02 H.J. Lu <hjl@gnu.org> -2000-06-23 Andreas Jaeger <aj@suse.de> + * resolv/res_libc.c (res_init): Don't make it default. - * iconv/gconv_int.h (norm_add_slashes): Protect suffix expansion. +2001-02-12 Ulrich Drepper <drepper@redhat.com> - * io/test-stat.c: Add copyright header, mention Maciej. + * manual/debug.texi: Improved the wording. + Patch by Philip Blundell <pb@futuretv.com>. - * sysdeps/unix/sysv/linux/mips/sys/syscall.h (SYS_pivot_root, - SYS_mincore, SYS_madvise): Added. +2001-02-12 Andreas Jaeger <aj@suse.de> - * sysdeps/unix/sysv/linux/mips/syscalls.list: Fix signature of - execve. + * posix/Makefile (tests): Don't run bug-regex2 when + cross-compiling. -2000-06-22 Ulrich Drepper <drepper@redhat.com> + * libio/Makefile (tests): Don't run test-freopen when + cross-compiling. - * libio/Makefile (tests): Add tst-getwc and tst_putwc. - (CFLAGS-tst_putwc.c): New definition. - * libio/tst_getwc.c: New file. - * libio/tst_getwc.input: New file. - * libio/tst_putwc.c: New file. + * manual/stdio.texi (Streams and I18N): Fix typos. - * include/string.h: Add prototype for __strdup. +2001-02-12 Ulrich Drepper <drepper@redhat.com> -2000-06-22 Greg McGary <greg@mcgary.org> + * sysdeps/i386/fpu/libm-test-ulps: Adjust for errors in y0l. - * sysdeps/unix/syscalls.list (sys_mknod): Fix signatures. - * sysdeps/unix/inet/syscalls.list (accept, getpeername, getsockname): - Fix signatures. + * math/libm-test.inc (j0_test): Make expected results long double + constants. + (y0_test): Likewise. -2000-06-23 Jes Sorensen <jes@linuxcare.com> + * sysdeps/ieee754/ldbl-96/e_j0l.c: New file. + Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>. - * sysdeps/ia64/memcpy.S: Disable branch predict instruction. +2001-02-11 Jakub Jelinek <jakub@redhat.com> -2000-06-22 Jes Sorensen <jes@linuxcare.com> + * sysdeps/generic/strtoll.c (__strtoq_internal): Ressurect alias + which was exported from libc. + * sysdeps/generic/strtoull.c (__strtouq_internal): Likewise. - * sysdeps/unix/sysv/linux/ia64/bits/statfs.h: New file. +2001-02-12 Andreas Jaeger <aj@suse.de> -2000-06-22 Jes Sorensen <jes@linuxcare.com> + * manual/arith.texi (Parsing of Integers): Fix some wordings. - * shlib-versions: Bump so versions to 6.1 for libc and libm on the - ia64 to allow 2.2+ libraries to coexist with 2.1 ones. +2001-02-11 Ulrich Drepper <drepper@redhat.com> -2000-06-22 Ulrich Drepper <drepper@redhat.com> + * 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. - * io/sys/stat.h: Define S_TYPEISMQ, S_TYPEISSEM, and S_TYPEISSHM. - * sysdeps/generic/bits/stat.h: Define __S_TYPEISMQ, __S_TYPEISSEM, - and __S_TYPEISSHM. - * sysdeps/mach/hurd/bits/stat.h: Likewise. - * sysdeps/unix/bsd/bits/stat.h: Likewise. - * sysdeps/unix/bsd/osf/alpha/bits/stat.h: Likewise. - * sysdeps/unix/sysv/bits/stat.h: Likewise. - * sysdeps/unix/sysv/irix4/bits/stat.h: Likewise. - * sysdeps/unix/sysv/hpux/bits/stat.h: Likewise. - * sysdeps/unix/sysv/linux/alpha/bits/stat.h: Likewise. - * sysdeps/unix/sysv/linux/ia64/bits/stat.h: Likewise. - * sysdeps/unix/sysv/linux/bits/stat.h: Likewise. - * sysdeps/unix/sysv/linux/mips/bits/stat.h: Likewise. - * sysdeps/unix/sysv/sysv4/i386/bits/stat.h: Likewise. - * sysdeps/unix/sysv/sysv4/solaris2/bits/stat.h: Likewise. - * sysdeps/unix/sysv/aix/bits/stat.h: Likewise. - * manual/filesys.texi: Document S_TYPEISMQ, S_TYPEISSEM, and - S_TYPEISSHM. + * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Fail if we + cannot return as many values as the user asked for. -2000-06-22 Andreas Jaeger <aj@suse.de> +2001-02-11 Andreas Jaeger <aj@suse.de> - * sysdeps/unix/sysv/linux/mips/syscalls.list: Replace arg-count - with signatures. + * manual/resource.texi (Memory Resources): Fix typo. - * elf/dl-reloc.c (_dl_relocate_object): Fix typos. + * libio/Makefile ($(objpfx)test-freopen.out): Pass + run-program-prefix. - * sysdeps/unix/sysv/linux/mips/syscalls.list: Fix sysctl entry. + * libio/test-freopen.sh: Use run_program_prefix. -2000-06-21 Ulrich Drepper <drepper@redhat.com> +2001-02-10 Andreas Jaeger <aj@suse.de> - * iconv/gconv_trans.c: Move initialization of winbuf and winbufend - ahead. + * stdlib/Makefile (tests): Don't run tst-fmtmsg when + cross-compiling. + ($(objpfx)tst-fmtmsg.out): Pass run-program-prefix. -2000-06-21 Greg McGary <greg@mcgary.org> + * stdlib/tst-fmtmsg.sh (test): Use run_program_prefix for static + only builds. - * Makerules (elide-routines.*, elide-bp-thunks): - Define unconditionally. + * elf/Makefile (tests): Only run tst-pathopt with shared libs. -2000-06-21 Jes Sorensen <jes@linuxcare.com> + * posix/Makefile: Fix typo, it's build-static-nss. - * sysdeps/unix/sysv/linux/ia64/Makefile: New file. + * iconv/Makefile (extra-objs): New. -2000-06-21 Andreas Jaeger <aj@suse.de> +2001-02-10 Mark Kettenis <kettenis@gnu.org> - * io/Makefile (tests): Add test-stat. - (CFLAGS-test-stat.c): New. + * sysdeps/unix/stime.c: Include <time.h>. - * io/test-stat.c: New file from Maciej W. Rozycki - <macro@ds2.pg.gda.pl>. + * sysdeps/mach/hurd/setitimer.c: Include <time.h>. -2000-06-21 Jes Sorensen <jes@linuxcare.com> +2001-02-10 Andreas Jaeger <aj@suse.de> - * sysdeps/unix/sysv/linux/ia64/bits/resource.h: Reorder elements - in __rlimit_resource to make them match the kernel order. - rlim_t is always 64 bit, use __rlim64_t to declare it - unconditionally. + * manual/string.texi (Search Functions): Fix typo. -2000-05-04 Jes Sorensen <jes@linuxcare.com> +2001-02-10 Mark Kettenis <kettenis@gnu.org> - * sysdeps/unix/sysv/linux/ia64/bits/resource.h: Undef - RLIM_INFINITY before defining it to avoid clash with kernel header + * 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. -2000-05-03 Jes Sorensen <jes@linuxcare.com> +2001-02-10 Mark Kettenis <kettenis@gnu.org> - * sysdeps/unix/sysv/linux/ia64/bits/resource.h: New file. + * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h (_HAVE_SA_LEN): Define. -2000-06-21 Ulrich Drepper <drepper@redhat.com> +2001-02-10 Mark Kettenis <kettenis@gnu.org> - * sysdeps/unix/sysv/linux/ia64/Versions: New file. + * sysdeps/mach/gettimeofday.c: Include <stddef.h>. -2000-06-21 Andreas Jaeger <aj@suse.de> +2001-02-10 Andreas Jaeger <aj@suse.de> - * stdio-common/temptest.c: Include <stdlib.h>. - * stdio-common/tst-fileno.c: Likewise. - * stdio-common/scanf4.c: Likewise. - * stdio-common/scanf5.c: Likewise. - * time/clocktest.c: Likewise. - * posix/test-vfork.c: Likewise. - * posix/globtest.c: Likewise. - * io/test-utime.c: Likewise. - * wctype/test_wcfuncs.c: Likewise. - * crypt/cert.c: Likewise. - - * stdio-common/tst-printfsz.c: Include <string.h>. - * libio/tst_swscanf.c: Likewise. - * libio/tst_wscanf.c: Likewise. - * posix/runtests.c: Likewise. - * posix/tst-getaddrinfo.c: Likewise. - * posix/wordexp-test.c: Likewise. - * misc/tst-efgcvt.c: Likewise. + * wctype/wcfuncs.c (func): Add prototype declarations to avoid + warning. - * stdlib/tst-xpg-basename.c: Include <stdlib.h> and <string.h>. - * nss/test-netdb.c: Likewise. +2001-02-09 Ulrich Drepper <drepper@redhat.com> - * sysdeps/unix/sysv/linux/configure.in: Add check for minimal - supported kernel for MIPS. + * posix/Makefile: Add rules to build and run bug-regex2. + * posix/bug-regex2.c: New file. - * elf/vismod2.c: Include <stdlib.h> for abort prototype. - * rt/aio_suspend.c: Likewise. +2001-02-10 Jakub Jelinek <jakub@redhat.com> -2000-06-20 Ulrich Drepper <drepper@redhat.com> + * 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. - * math/libm-test.inc: Include <string.h>. +2001-02-09 Ulrich Drepper <drepper@redhat.com> -2000-06-20 Jes Sorensen <jes@linuxcare.com> + * version.h (VERSION): Bump to 2.2.2. - * sysdeps/unix/sysv/linux/ia64/syscalls.list: New file. + * iconv/Makefile (distribute): Add iconv_charmap.c and + dummy-repertoire.c. + * elf/Makefile (distribute): Add firstobj.c. + * Makefile (distribute): Add include/pthread.h. -2000-06-20 Jes Sorensen <jes@linuxcare.com> + * configure.in: Require makeinfo version 4. - * sysdeps/unix/sysv/linux/ia64/machine-gmon.h: New file. - * sysdeps/unix/sysv/linux/ia64/profil-counter.h: New file. + * libio/tst_wscanf.c (main): Add cast to avoid warning. + * libio/tst_swscanf.c (main): Likewise.. -2000-06-20 David Mosberger-Tang <davidm@hpl.hp.com> +2001-02-09 Jakub Jelinek <jakub@redhat.com> - * sysdeps/unix/sysv/linux/ia64/getpagesize.c: New file. + * 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. -2000-06-20 Jes Sorensen <jes@linuxcare.com> +2001-02-09 Ulrich Drepper <drepper@redhat.com> - * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Fix typo. + * 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. -2000-06-20 Ulrich Drepper <drepper@redhat.com> + * manual/Makefile: Use ifnottext and not ifinfo to protect Top node + definition. - * locale/programs/ld-collate.c (insert_value): Now take string and - length instead of struct token* parameter. Adjust use of token. - (handle_ellipsis): Likewise. - (collate_read): Allow <Uxxxx> names and transform them into names - to be passed to insert_value and handle_ellipsis. +2001-02-08 Ulrich Drepper <drepper@redhat.com> - * locale/programs/ld-ctype.c (uninames): New array with names of - digits in <Uxxxxxxxx> format. - (ctype_finish): Correct search for space character value. Likewise - for default outdigits values. + * Makerules (build-shlib): Work around different order of + processing of -B option in different gcc versions. -2000-06-20 Greg McGary <greg@mcgary.org> + * posix/regex.c: Fix alignment problem. + Patch by Isamu Hasegawa <isamu@yamato.ibm.com>. - * Makerules (objects): Add BP thunks. + * sysdeps/alpha/strrchr.S: Little optimization. + Patch by Richard Henderson <rth@redhat.com>. -2000-06-20 Ulrich Drepper <drepper@redhat.com> + * sysdeps/alpha/alphaev67/strrchr.S: New file. + Contributed by Rick Gorton <rick.gorton@alpha-processor.com>. - * locale/programs/charmap.c (parse_charmap): Handle UCS names also - in width definitions. +2001-02-08 kaz Kojima <kkojima@rr.iij4u.or.jp> -2000-06-20 Andreas Jaeger <aj@suse.de> + * sysdeps/sh/sh3/setjmp.S (__sigsetjmp): Correct function name + in the assembler end directive. - * sysdeps/mips/fpu/libm-test-ulps: New file. +2001-02-08 Andreas Jaeger <aj@suse.de> - * sysdeps/mips/fpu/fesetenv.c (__fesetenv): Flush fpu pipeline - first. + * manual/stdio.texi (Closing Streams): Fix typos. - * sysdeps/mips/fpu/feholdexcpt.c: New file. +2001-02-07 Ulrich Drepper <drepper@redhat.com> - * sysdeps/mips/fpu/fraiseexcpt.c: New file. + * 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>. -2000-06-19 Ulrich Drepper <drepper@redhat.com> + * 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>. - * iconv/gconv_builtin.c (BUILTIN_TRANSFORMATION): Update for - change in gconv_builtin.h. + * sysdeps/gnu/netinet/tcp.h: Correct values of TCP_ macros. + Patch by Pekka.Pietikainen@cern.ch. - * malloc/Makefile: Change all references to memprof into memusage. - * malloc/memprof.c: Rename to... - * malloc/memusage.c: ...this. New file. - * malloc/memprof.sh: Rename to... - * malloc/memusage.sh: ...this. New file. - * malloc/memprofstat.c: Rename to... - * malloc/memusagestat.c: ...this. New file. - * sysdeps/alpha/memprof.h: Rename to.. - * sysdeps/alpha/memusage.h: ...this. New file. - * sysdeps/arm/memprof.h: Rename to.. - * sysdeps/arm/memusage.h: ...this. New file. - * sysdeps/generic/memprof.h: Rename to.. - * sysdeps/generic/memusage.h: ...this. New file. - * sysdeps/i386/memprof.h: Rename to.. - * sysdeps/i386/memusage.h: ...this. New file. - * sysdeps/ia64/memprof.h: Rename to.. - * sysdeps/ia64/memusage.h: ...this. New file. - * sysdeps/m68k/memprof.h: Rename to.. - * sysdeps/m68k/memusage.h: ...this. New file. - * sysdeps/mips/memprof.h: Rename to.. - * sysdeps/mips/memusage.h: ...this. New file. - * sysdeps/powerpc/memprof.h: Rename to.. - * sysdeps/powerpc/memusage.h: ...this. New file. - * sysdeps/sparc/memprof.h: Rename to.. - * sysdeps/sparc/memusage.h: ...this. New file. - * sysdeps/sh/memprof.h: Rename to.. - * sysdeps/sh/memusage.h: ...this. New file. + * posix/regex.c: Correct several problems with 64-bit architectures + introduced in the MBS changes. + Patch by Isamu Hasegawa <isamu@yamato.ibm.com>. - * elf/sprof.c (print_version): Update year. +2001-02-07 Jakub Jelinek <jakub@redhat.com> - * elf/sprof.c (load_shobj): Don't always add load address to dynamic - table entry values. Use D_PTR. - * elf/dl-reloc.c (_dl_relocate_object): Don't start profiling weird - binaries without PLT. Patches by James Mathiesen <james@curl.com>. + * 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. -2000-06-20 Jes Sorensen <jes@linuxcare.com> +2001-02-07 Andreas Jaeger <aj@suse.de> - * sysdeps/unix/sysv/linux/ia64/Makefile: New file. - * sysdeps/unix/sysv/linux/ia64/sys/io.h: New file. - * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: New file. - * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: New file. + * manual/install.texi (Tools for Compilation): Fix typo. + Reported by Pavel Machek <pavel@bug.ucw.cz>. -2000-05-05 Jes Sorensen <jes@linuxcare.com> +2001-02-07 Ulrich Drepper <drepper@redhat.com> - * sysdeps/unix/sysv/linux/ia64/bits/fcntl.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. -2000-06-16 Jes Sorensen <jes@linuxcare.com> +2001-02-07 Andreas Jaeger <aj@suse.de> - * sysdeps/unix/sysv/linux/ia64/xstat.c: New file. - * sysdeps/unix/sysv/linux/ia64/fxstat.c: New file. - * sysdeps/unix/sysv/linux/ia64/lxstat.c: New file. + * posix/bug-regex1.c: Include <wchar.h> for fwide. - * sysdeps/unix/sysv/linux/ia64/xstatconv.c: Deleted. +2001-02-06 Ulrich Drepper <drepper@redhat.com> - * sysdeps/unix/sysv/linux/ia64/bits/stat.h: Update after latest - kernel change. + * 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>. - * sysdeps/unix/sysv/linux/ia64/bits/types.h: Make __ino_t, - __nlink_t and __blkcnt_t 64 bit to accomodate new kernel stat data - structure. - Change __fsblkcnt_t and __fsfilcnt_t to 64 bit to match kernel - implementation. + * 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>. -2000-06-15 Jes Sorensen <jes@linuxcare.com> + * posix/Makefile (tests): Add bug-regex1. + * posix/bug-regex1.c: New file. + Contributed by Jim Meyering <jim@meyering.net>. - * sysdeps/unix/sysv/linux/ia64/kernel_stat.h: Deleted. + * posix/regex.c: Many cleanups for incorrect format strings. -2000-06-08 Jes Sorensen <jes@linuxcare.com> +2001-02-06 Andreas Jaeger <aj@suse.de> - * sysdeps/unix/sysv/linux/ia64/mmap64.c: New file. + * time/time.h (CLK_TCK): Check for !__STRICT_ANSI. -2000-06-19 Ulrich Drepper <drepper@redhat.com> +2001-02-06 Ulrich Drepper <drepper@redhat.com> - * iconv/gconv_int.h (strict gconv_module): Remove all members - associated with regular expressions. Use a simple string as the - from name. - * iconv/gconv_db.c: Remove code handling regular expressions. - * iconv/gconv_conf.c: Likewise. - * iconv/iconv_prog.c: Likewise. - * iconv/gconv_builtin.h: Adjust for change in gconv_conf.c. - - * iconv/gconv.h (__gconv_trans_fct): Add new parameter. - General namespace cleanup. - (struct __gconv_trans_data): Add next field. - (struct __gconv_step_data): Make __trans a pointer. - * iconv/gconv_conf.c: Split out code to find gconv directories from - __gconv_read_conf in new functions. - * iconv/gconv_int.h: Define new data structure and declare new - functions for handling of gconv directory list. - * iconv/gconv_open.c: Allow more than one error handling step being - used. Call function to load error handling module if it is none - of the builtin transformations. - * iconv/gconv_close.c: Add code to free transliteration data. - * iconv/gconv_trans.c: Add functions to load and unload modules - implementing transliteration etc. - * iconv/skeleton.c: Call all context functions now that more than - one module is allowed. - * iconv/loop.c (STANDARD_ERR_HANDLING): New macro. - * iconv/gconv_simple.c: Use STANDARD_ERR_HANDLING macro for places - where the full error handling using transliteration is needed. - * iconvdata/8bit-gap.c: Likewise. - * iconvdata/8bit-generic.c: Likewise. - * iconvdata/ansi_x3.110.c: Likewise. - * iconvdata/big5.c: Likewise. - * iconvdata/big5hkscs.c: Likewise. - * iconvdata/euc-cn.c: Likewise. - * iconvdata/euc-jp.c: Likewise. - * iconvdata/euc-kr.c: Likewise. - * iconvdata/euc-tw.c: Likewise. - * iconvdata/gbgbk.c: Likewise. - * iconvdata/gbk.c: Likewise. - * iconvdata/iso-2022-cn.c: Likewise. - * iconvdata/iso-2022-jp.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. - * libio/iofwide.c: Reset __trans member of __gconv_trans_data - structure correctly after last change. - * wcsmbs/btowc.c: Likewise. - * wcsmbs/mbrtowc.c: Likewise. - * wcsmbs/mbsnrtowcs.c: Likewise. - * wcsmbs/mbsrtowcs.c: Likewise. - * wcsmbs/wcrtomb.c: Likewise. - * wcsmbs/wcsnrtombs.c: Likewise. - * wcsmbs/wcsrtombs.c: Likewise. - * wcsmbs/wctob.c: Likewise. - - * localedata/Makefile: Set -Wno-format for some files since gcc does - not know all the format specifiers. - -2000-06-18 Ulrich Drepper <drepper@redhat.com> - - * locale/loadlocale.c (_nl_unload_locale): Remove a bit of - unneeded code. - * locale/lc-time.c (_nl_init_era_entries): Likewise. - -2000-06-18 Andreas Jaeger <aj@suse.de> - - * sysdeps/mips/dl-machine.h: Always use $25 as jump register. - Patch by Ralf Baechle <ralf@uni-koblenz.de>. - -2000-06-17 Ulrich Drepper <drepper@redhat.com> - - * sysdeps/unix/sysv/linux/alpha/fpathconf.c: Define and use - LINUX_LINK_MAX. - * sysdeps/unix/sysv/linux/alpha/pathconf.c: Likewise. - - * locale/programs/ld-ctype.c (ctype_output): Really write out - mboutdigits information. - * localedata/tst-trans.c: Add code to test printf's I flag with locale. - * localedata/tst-trans.sh: Set GCONV_PATH for compilation environment. - * localedata/tests/trans.def: Add outdigit information. - - * localedata/tst-mbswcs3.c: Remove comment. - - * stdio-common/vfprintf.c (vfprintf): Fix handling of I flag. - * stdio-common/tiformat.c (sprint_ints): Add tests for I flag. - * libio/tst_wprintf.c (main): Add test for I flag. - - * iconv/gconv_trans.c: Implement handling if translit_ignore. - * locale/langinfo.h: Add entries for translit_ignore information. - * locale/categories.def: Add entries for new LC_CTYPE elements. - * locale/C-ctype.c: Add initializers for new fields. Use NULL - pointer instead of "" where possible. - * locale/programs/ld-ctype.c: Write out translit_ignore information. - * intl/Depend: Add localedata. - * intl/tst-gettext.c: Call setlocale for LC_CTYPE. - * intl/tst-gettext.sh: Set LOCPATH to localedata build dir. - -2000-06-16 Ulrich Drepper <drepper@redhat.com> - - * locale/langinfo.h: Add entries for default_missing information. - * locale/C-ctype.c: Add initializers for new fields. - * iconv/gconv_trans.c: If nothing matched, try to use default_missing - information. - * locale/categories.h: Add entries for all LC_CTYPE values. - * locale/programs/ld-ctype.c (ctype_output): Write out default_missing - information. - - * localedata/tst-trans.c: Write out an error message if class is - not found. - - * iconv/gconv_int.h (norm_add_slashes): Optionally add given suffix. - * iconv/gconv_open.c: Remove error handling specification from `from' - character set name. - * intl/loadmsgcat.c (_nl_load_domain): Call norm_add_slashes with - new parameter to always enable transliteration. - * locale/localeinfo.h (LIMAGIC): Bump number because of incompatible - change. - (struct locale_data): Add new members use_translit and options. - * locale/findlocale.c (_nl_find_locale): Set use_translit flag is - character set name contained modifier TRANSLIT. - * locale/loadlocale.c (_nl_load_locale): Initialize new use_translit - and options fields. - (_nl_unload_locale): Free options string if necessary. - * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Enable translation if - the locale names suggested this. - * locale/C-address.c: Add two new initialilzers to adjust data - structure for new format. - * locale/C-collate.c: Likewise. - * locale/C-ctype.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/programs/locale.c (write_locales): Use scandir to read + directory so that the entries are sorted. - * locale/setlocale.c: Add some more __builtin_expect. - -2000-06-15 Ulrich Drepper <drepper@redhat.com> - - * iconv/gconv.h (__gconv_fct): Change type of fifth parameter to - unsigned char **. - (__gconv_init_fct): Remove two parameters. - * iconv/gconv_int.h (__gconv_transliterate): Renamed from - gconv_transliterate. Remove two parameters. - Change prototypes of builtin functions according to __gconv_fct change. - * iconv/skeleton.c: Change type of fifth parameter. make sure it is - != NULL only during error handling. Stop in this case after the - conversion. - * iconv/gconv_trans.c: Replace with real implementation for - __gconv_transliterate. - * iconv/gconv_open.c: Adjust for renaming of __gconv_transliterate. - * iconv/gconv.c: Change calls to downstream functions once again. - Use NULL for the fifth parameter instead of pointer to output buffer. - * libio/iofwide.c: Likewise. - * wcsmbs/btowc.c: Likewise. - * wcsmbs/mbrtowc.c: Likewise. - * wcsmbs/mbsnrtowcs.c: Likewise. - * wcsmbs/mbsrtowcs.c: Likewise. - * wcsmbs/wcrtomb.c: Likewise. - * wcsmbs/wcsnrtombs.c: Likewise. - * wcsmbs/wcsrtombs.c: Likewise. - * wcsmbs/wctob.c: Likewise. - * iconv/gconv_simple.c: Remove two parameters from error handling - function call. - * iconvdata/8bit-gap.c: Likewise. - * iconvdata/8bit-generic.c: Likewise. - * iconvdata/ansi_x3.110.c: Likewise. - * iconvdata/big5.c: Likewise. - * iconvdata/big5hkscs.c: Likewise. - * iconvdata/euc-cn.c: Likewise. - * iconvdata/euc-jp.c: Likewise. - * iconvdata/euc-kr.c: Likewise. - * iconvdata/euc-tw.c: Likewise. - * iconvdata/gbgbk.c: Likewise. - * iconvdata/gbk.c: Likewise. - * iconvdata/iso-2022-cn.c: Likewise. - * iconvdata/iso-2022-jp.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. +2001-02-06 Andreas Jaeger <aj@suse.de> -2000-06-15 Greg McGary <greg@mcgary.org> + * include/pthread.h: New file. - * sysdeps/unix/make-syscalls.sh: Strip leading whitespace from lhs - of callnum assignment. Tolerate callnum expressions containing - parens. + * wctype/wctype.h: Move internal interfaces from here to... + * include/wctype.h: ...here. -2000-06-14 Ulrich Drepper <drepper@redhat.com> + * wcsmbs/wchar.h: Move __wcslen from here to... + * include/wchar.h: ...here. - * login/Makefile (utmpd): Remove rule to build utmpd. + * posix/sys/wait.h: Move __wait from here to... + * include/sys/wait.h: ...here. - * csu/Versions: Move libgcc frame handling functions from here... - * sysdeps/unix/sysv/linux/alpha/Versions: ...to here... - * sysdeps/unix/sysv/linux/arm/Versions: ...to here... - * sysdeps/unix/sysv/linux/i386/Versions: ...to here... - * sysdeps/unix/sysv/linux/m68k/Versions: ...to here... - * sysdeps/unix/sysv/linux/powerpc/Versions: ...to here... - * sysdeps/unix/sysv/linux/sparc/sparc32/Versions: ...and here. - New file. - * sysdeps/mach/hurd/i386/Versions: ...and here. New file. + * string/string.h: Move __ffs and __strerror_r from here to... + * include/string.h: ...here. - * locale/programs/ld-ctype.c (allocate_arrays): Correct a comment. + * stdlib/stdlib.h: Move __on_exit from here to... + * include/stdlib.h: ...here. - * misc/syslog.c (vsyslog): Initialize msgoff in all cases. + * libio/stdio.h: Move __vsnprintf from here to... + * include/stdio.h: ...here. -2000-06-14 Kazumoto Kojima <kkojima@rr.iij4u.or.jp> +2001-02-06 Andreas Schwab <schwab@suse.de> - * sysdeps/sh/sh4/fpu/fclrexcpt.c: Remove definitions for backward - compatibility. - * sysdeps/sh/sh4/fpu/fegetenv.c: Likewise. - * sysdeps/sh/sh4/fpu/fesetenv.c: Likewise. - * sysdeps/sh/sh4/fpu/fraiseexcpt.c: Likewise. - * sysdeps/sh/sh4/fpu/fsetexcptflg.c: Likewise. + * sysdeps/unix/sysv/linux/ia64/ioperm.c: Don't include kernel + headers. -2000-06-14 Jakub Jelinek <jakub@redhat.com> + * timezone/Makefile: Don't assume that $(inst_zonedir) is a subdir + of $(inst_datadir). - * include/libc-symbols.h (link_warning): If HAVE_SECTION_QUOTES is - defined, terminate quotes and read them after the comment char. - * configure.in (HAVE_SECTION_QUOTES): Test whether - __attribute__((section ("x"))) puts quotes around x or not. - * config.h.in (HAVE_SECTION_QUOTES): Add. - * configure: Rebuilt. +2001-02-06 Ulrich Drepper <drepper@redhat.com> -2000-06-14 Andreas Jaeger <aj@suse.de> + * iconvdata/Makefile: Add dependency for bug-iconv2.out. - * sysdeps/unix/sysv/linux/configure.in: Set libc_cv_sysconfdir - depending on the configure option --sysconfdir. - Closes PR libc/1762. - Patch by Andreas Schwab <schwab@suse.de>. +2001-02-06 Andreas Jaeger <aj@suse.de> - * sysdeps/mips/dl-machine.h: Pass finalizer correctly to user - entry point. - Reported by Jim Pick <jim@jimpick.com>. + * elf/firstobj.c: Add prototype. -2000-06-14 Ulrich Drepper <drepper@redhat.com> + * posix/regex.c (convert_mbs_to_wcs): Make static, add prototype + (truncate_wchar): Likewise. - * misc/syslog.c (vsyslog): Allow open_memstream to fail without - crashing the application. Emit some simple error message. - Reported by mju@panasas.com [PR libc/1769]. +2001-02-06 Ulrich Drepper <drepper@redhat.com> -2000-06-13 Ulrich Drepper <drepper@redhat.com> + * locale/programs/locale.c: Implement --verbose option for -a + which prints detailed information about the locales. - * malloc/Makefile (distribute): Add memprof.sh and memprofstat.c. +2001-02-05 Ulrich Drepper <drepper@redhat.com> - * crypt/Makefile (distribute): Add md5.h. + * 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>. - * Makefile (distribute): Add include/shlib-compat.h. +2001-02-04 Bruno Haible <haible@clisp.cons.org> - * Make-dist: Search for tests also in sysdeps hierachy. + * locale/C-translit.h.in: Add transliterations for CJK units of + measurement. - * crypt/Makefile (distribute): Add ufc-crypt.h, crypt-private.h, - ufc.c, speeds.c, README.ufc-crypt, and Banner. +2001-02-05 Ulrich Drepper <drepper@redhat.com> - * sysdeps/sparc/Subdirs: New file. + * elf/cache.c (print_entry): Use PRIx64 instead of Lx in printf + string. Include <inttypes.h> instead of <stdint.h>. - * locale/Makefile (distribute): Add weightwc.h and - programs/localedef.h. + * localedata/Makefile (tests): Add bug-iconv-trans. + Define bug-iconv-trans-ENV. + * localedata/bug-iconv-trans.c: New file. - * time/Makefile (distribute): Add datemsk. +2001-02-04 Bruno Haible <haible@clisp.cons.org> - * sysdeps/ia64/Dist: Add softpipe.h. + * iconv/gconv_trans.c (__gconv_transliterate): Use a temporary output + pointer, to avoid accumulating output from incomplete (unsuccessful) + transliteration attempts. - * sysdeps/unix/sysv/aix/Dist: New file. +2001-02-05 Ulrich Drepper <drepper@redhat.com> - * posix/setpgrp.c: Moved to... - * sysdeps/generic/setpgrp.c: ...here. New file. - * io/mknod.c: Moved to... - * sysdeps/generic/mknod.c: ...here. New file. + * elf/ldconfig.c (search_dir): Use PRIx64 instead of Lx in printf + string. Include <inttypes.h> instead of <stdint.h>. - * sysdeps/unix/sysv/linux/ia64/Dist: New file. + * 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. - * sysdeps/unix/sysv/linux/sparc/Dist: Add sys/procfs.h. +2001-02-05 Andreas Jaeger <aj@suse.de> - * sysdeps/unix/sysv/linux/arm/Dist: Add oldgetrlimit64.c. + * io/test-lfs.c (do_test): Test lseek64 return value, call + test_ftello. + (test_ftello): New function to test ftello64 and fseeko64. - * sysdeps/powerpc/Dist: Add fprrest.S, fprsave.S, gprsave1.S, - gprsave0.S, gprrest1.S, and gprrest0.S. + * signal/signal.h: Move __sigaction from here to... + * include/signal.h: ...here. - * sysdeps/generic/Dist: Add bp-thunks.h, bp-sym.h, and bp-start.h. + * io/fcntl.h: Move __fcntl and __open to... + * include/fcntl.h: ...here. - * posix/Makefile (routines): Add spawnattr_getsigmask, - spawnattr_getschedpolicy, spawnattr_getschedparam, - spawnattr_setsigmask, spawnattr_setschedpolicy, and - spawnattr_setschedparam. - * posix/Versions: Add posix_spawnattr_getschedpolicy, - posix_spawnattr_setschedpolicy, posix_spawnattr_getschedparam, and - posix_spawnattr_setschedparam. +2001-02-04 Philip Blundell <philb@gnu.org> - * posix/spawnattr_setschedparam.c: Fix typo. + * configure.in: Distinguish ARM from Thumb. - * posix/spawnattr_setsigmask.c (posix_spawnattr_setsigmask): - Correct typo. +2001-02-04 Philip Blundell <philb@gnu.org> - * login/programs/utmpd.c: Removed. - * login/programs/utmpd.h: Removed. - * login/programs/utmpd-private.h: Removed. + * sysdeps/arm/dl-machine.h (elf_machine_rel): Correct handling of + PC24 relocs with negative value. - * Makefile (distribute): Add include/db_185.h and include/db.h. +2001-02-04 Ulrich Drepper <drepper@redhat.com> - * iconvdata/Makefile (distribute): Add iso-ir-165.c and - iso-ir-165.h. + * 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. + * 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-telephone.c: Likewise. + * locale/programs/ld-time.c: Likewise. + * locale/programs/linereader.c: Likewise. + * 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. - * elf/Makefile (distribute): Add missing files. +2001-02-03 Ulrich Drepper <drepper@redhat.com> - * dlfcn/Makefile: Add back rules to include eval in libdl.so. - * elf/eval.c: Moved to... - * dlfcn/eval.c: ...here. New file. + * 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. - * Makefile (distribute): Also distribute ChangeLog.1?. +2001-02-03 Andreas Jaeger <aj@suse.de> - * Make-dist (+tsrcs): Remove .args handling here as well. + * sysdeps/i386/elf/start.S (_start): Align stack to 16-byte + boundary for SSE/SSE-2 alignment. - * rt/Makefile (tests): Add tst-timer. - * sysdeps/generic/tst-timer.c: New file. + * posix/Makefile ($(objpfx)annexc.out): Also pass sysincludes to + annexc. - * Makerules (sources): Don't add BP sources here. +2001-02-03 Ulrich Drepper <drepper@redhat.com> - * login/Makefile (distribute): Remove xtmp.h. + * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: File was using crlf. + Remove comma at end of enum. - * iconv/iconv_prog.c (main): Fix appending slashes if omit_invalid - is true. Reported by Bruno Haible <haible@ilog.fr>. + * elf/dl-init.c: Add a few __builtin_expect. -2000-06-13 Andreas Jaeger <aj@suse.de> + * hesiod/hesiod.c: Remove unnecessary code. Remove all uses of strcat. - * sysdeps/mips/elf/start.S (ENTRY_POINT): Remove mips64 defines. - Patch by Ralf Baechle <ralf@gnu.org>. +2001-02-02 Ulrich Drepper <drepper@redhat.com> -2000-06-13 Ulrich Drepper <drepper@redhat.com> + * hesiod/hesiod.c (hesiod_resolve): Also search HS records if + errno is ECONNREFUSED. - * sysdeps/unix/sysv/linux/syscalls.list: Add parameter information - for mincore syscall. + * posix/Makefile: Define MBS_SUPPORT for regex.c. + * posix/regex.c: Implement multibyte character handling. + Patch by Isamu Hasegawa <isamu@yamato.ibm.co.jp>. - * misc/sys/cdefs.h: Define __bounded and __unbounded if - __BOUNDED_POINTERS__ is not defined. + * string/tst-svc.input: Add two more test cases. + * string/tst-svc.expect: Modify to reflect new test cases. -2000-06-07 Greg McGary <greg@mcgary.org> +2001-02-01 Jakub Jelinek <jakub@redhat.com> - * sysdeps/generic/bp-sym.h: New file. - * sysdeps/generic/bp-start.h: New file. - * sysdeps/i386/elf/start.S: Designate BP symbols. - * sysdeps/generic/libc-start.c: Wrap bounds around - argv & envp and each of their string members. + * sysdeps/posix/getaddrinfo.c (gaih_local, gaih_inet): Replace all + tp->name tests with tp->name[0] tests. -2000-06-07 Greg McGary <greg@mcgary.org> +2001-01-29 Ben Collins <bcollins@debian.org> - * sysdeps/unix/make-syscalls.sh: Add comments to - output that aid debugging & comprehension. - Map simple syscall signatures to number of args. - Generate BP syscall thunk definitions. - * sysdeps/generic/bp-thunks.h: New file. - * sysdeps/unix/syscalls.list: Replace arg-count with - simple return+arg signature. - * sysdeps/unix/common/syscalls.list: Likewise. - * sysdeps/unix/inet/syscalls.list: Likewise. - * sysdeps/unix/mman/syscalls.list: Likewise. - * sysdeps/unix/sysv/syscalls.list: Likewise. - * sysdeps/unix/sysv/linux/syscalls.list: Likewise. - * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise. + * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r): + Fix check for name == NULL. -2000-06-07 Greg McGary <greg@mcgary.org> +2001-02-01 Ulrich Drepper <drepper@redhat.com> - * Makeconfig (CPPFLAGS-.ob): Pass -fbounded-pointers - for all files *.[cS]. - (CFLAGS-.ob): Don't optimize sibling calls. - (bppfx): New variable. - * Makerules (elide-bp-thunks): New variable. - (elide-routines.*): Elide BP-* files for all but *.ob. - (sources): Include bp-thunks. + * elf/Makefile: Add rules to build and run initfirst test. + * elf/initfirst.c: New file. + * elf/firstobj.c: New file. -2000-06-12 Ulrich Drepper <drepper@redhat.com> + * 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. - * iconv/gconv_simple.c: Remove unnecessary prototype. + * conform/conformtest.pl: Add missing $prepend in type test. - * iconv/gconv_trans.c: Pretty print. +2001-01-31 Ulrich Drepper <drepper@redhat.com> - * elf/elf.h (R_SH_NUM): Got accidently dropped. + * elf/elf.h (SHT_CHECKSUM): New definition. - * sysdeps/unix/sysv/linux/configure.in: Improve handling of - minimal kernel versions. Add information about IA-64 kernel. + * 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. - * sysdeps/unix/sysv/linux/configure.in: Allow architecture - specific minimal supported kernel versions to be specified. +2001-01-31 Mark Kettenis <kettenis@gnu.org> - * libio/iofwide.c (_IO_fwide): Initialize transliteration part of - step data structure. - * wcsmbs/btowc.c: Likewise. - * wcsmbs/mbrtowc.c: Likewise. - * wcsmbs/mbsnrtowcs.c: Likewise. - * wcsmbs/mbsrtowcs.c: Likewise. - * wcsmbs/wcrtomb.c: Likewise. - * wcsmbs/wcsnrtombs.c: Likewise. - * wcsmbs/wcsrtombs.c: Likewise. - * wcsmbs/wctob.c: Likewise. + * misc/sys/select.h: Include <bits/time.h> instead of <sys/time.h> + to get definition of `struct timeval'. - * sysdeps/unix/sysv/linux/sh/Dist: There is no ioperm file. - * sysdeps/unix/sysv/linux/sh/oldgetrlimit64.c: Removed. +2001-01-31 Ulrich Drepper <drepper@redhat.com> - * shlib-versions: Earliest backward compatible version for SH is 2.2. + * posix/tst-fnmatch.input: Add test cases for de_DE.UTF-8 locale. + * posix/fnmatch_loop.c: Fix handling of [= =] for multibyte charsets. - * misc/sys/cdefs.h: Remove one more __P. +2001-01-30 Ulrich Drepper <drepper@redhat.com> - * sysvipc/sys/shm.h: Move __getpagesize declaration inside extern C. - Reported by HJ Lu. + * iconv/gconv_open.c (__gconv_open): Set conv_flags if IGNORE is + seen, not flags. - * sysdeps/sh/sh3/bits/setjmp.h: Removed. - * sysdeps/sh/sh4/bits/setjmp.h: Moved to... - * sysdeps/sh/bits/setjmp.h: ...here. New file. + * nis/nis_findserv.c: Include <time.h>. -2000-06-12 Kazumoto Kojima <kkojima@rr.iij4u.or.jp> - Yutaka Niibe <gniibe@chroot.org> +2001-01-30 Yong Li <yong.li@asu.edu> - * configure.in: Add machine sh3, sh4. - * elf/elf.h: Add SH specific declarations of relocations. - * shlib-versions: Add sh*-*-linux* cases. + * iconv/iconv_prog.c (main): Correct error handling method name. -2000-06-12 Ulrich Drepper <drepper@redhat.com> +2001-01-29 Ben Collins <bcollins@debian.org> - * sysdeps/sh/sh3/bsd-_setjmp.S: Move to... - * sysdeps/sh/bsd-_setjmp.S: ...here. New file. - * sysdeps/sh/sh4/bsd-_setjmp.S: Removed. - * sysdeps/sh/sh3/bsd-setjmp.S: Move to... - * sysdeps/sh/bsd-setjmp.S: ...here. New file. - * sysdeps/sh/sh4/bsd-setjmp.S: Removed. + * 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. - * sysdeps/sh/dl-machine.h (FGR_SAVE): Protect using HAVE_FPU macro - instead of KERNEL_MATH_EMULATION. - * sysdeps/sh/sh4/dl-machine.h: Define HAVE_FPU not - KERNEL_MATH_EMULATION. +2001-01-30 Ulrich Drepper <drepper@redhat.com> - * sysdeps/sh/Dist: Removed. There is no ieee754.h file. - * sysdeps/sh/sh3/dl-machine.h: Moved to... - * sysdeps/sh/dl-machine.h: ...here. New file. - * sysdeps/sh/sh4/dl-machine.h: Simply define KERNEL_MATH_EMULATION - and include generic SH version. - * sysdeps/sh/sh3/bits/endian.h: Move to... - * sysdeps/sh/bits/endian.h: ...here. New file. - * sysdeps/sh/sh4/bits/endian.h: Removed. - * sysdeps/sh/sh3/bits/huge_val.h: Move to... - * sysdeps/sh/bits/huge_val.h: ...here. New file. - * sysdeps/sh/sh4/bits/huge_val.h: Removed. + * locale/programs/ld-measurement.c (measurement_finish): Fix a typo. + Patch by Marko Myllynen <myllynen@lut.fi>. - * include/libc-symbols.h (link_warning): Work around a change in - GAS which warns about changing section attributes. - Proposed by Nick Clifton <nickc@redhat.com>. + * string/bits/string2.h (__strpbrk_c2): Correct parameter types + (int instead of char). + (__strpbrk_c3): Likewise. + Reported by GOTO Masanori <gotom@debian.or.jp>. -2000-06-12 H.J. Lu <hjl@gnu.org> + * 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/i386/fpu/bits/mathinline.h (__sgn1l): Add __extension__. +2001-01-29 Ulrich Drepper <drepper@redhat.com> -2000-06-11 H.J. Lu <hjl@gnu.org> + * malloc/Makefile: Don't build memusagestat if cross-compiling. - * sysdeps/i386/fpu/Versions: New file. + * sysdeps/generic/dl-sysdep.c (set_seen): Fix typo. -2000-06-12 Ulrich Drepper <drepper@redhat.com> + * math/libm-test.inc (rint_test): Add a few more tests for round + to even rounding. - * iconv/gconv.h (__gconv_trans_context_fct): Remove two - parameters. - * iconv/skeleton.c (FUNCTION_NAME): Call __trans_context_fct if it - exists. - -2000-06-12 Jes Sorensen <jes@linuxcare.com> - - * sysdeps/unix/sysv/linux/ia64/kernel_stat.h: New file. - * sysdeps/unix/sysv/linux/ia64/xstatconv.c: New file. - * sysdeps/unix/sysv/linux/ia64/bits/stat.h: New file. - - * sysdeps/unix/sysv/linux/ia64/fxstat64.c: New file. - * sysdeps/unix/sysv/linux/ia64/lxstat64.c: New file. - * sysdeps/unix/sysv/linux/ia64/xstat64.c: New file. - -2000-06-12 Kazumoto Kojima <kkojima@rr.iij4u.or.jp> - Yutaka Niibe <gniibe@chroot.org> - - * sysdeps/sh/Dist: New file. - * sysdeps/sh/Implies: New file. - * sysdeps/sh/elf/initfini.c: New file. - * sysdeps/sh/gmp-mparam.h: New file. - * sysdeps/sh/init-first.c: New file. - * sysdeps/sh/machine-gmon.h: New file. - * sysdeps/sh/memcpy.S: New file. - * sysdeps/sh/memprof.h: New file. - * sysdeps/sh/memset.S: New file. - * sysdeps/sh/sh3/__longjmp.S: New file. - * sysdeps/sh/sh3/bits/endian.h: New file. - * sysdeps/sh/sh3/bits/huge_val.h: New file. - * sysdeps/sh/sh3/bits/setjmp.h: New file. - * sysdeps/sh/sh3/bsd-_setjmp.S: New file. - * sysdeps/sh/sh3/bsd-setjmp.S: New file. - * sysdeps/sh/sh3/dl-machine.h: New file. - * sysdeps/sh/sh3/setjmp.S: New file. - * sysdeps/sh/sh4/__longjmp.S: New file. - * sysdeps/sh/sh4/bits/endian.h: New file. - * sysdeps/sh/sh4/bits/huge_val.h: New file. - * sysdeps/sh/sh4/bits/setjmp.h: New file. - * sysdeps/sh/sh4/bsd-_setjmp.S: New file. - * sysdeps/sh/sh4/bsd-setjmp.S: New file. - * sysdeps/sh/sh4/dl-machine.h: New file. - * sysdeps/sh/sh4/fpu/bits/fenv.h: New file. - * sysdeps/sh/sh4/fpu/bits/huge_val.h: New file. - * sysdeps/sh/sh4/fpu/bits/mathdef.h: New file. - * sysdeps/sh/sh4/fpu/fclrexcpt.c: New file. - * sysdeps/sh/sh4/fpu/fegetenv.c: New file. - * sysdeps/sh/sh4/fpu/fegetround.c: New file. - * sysdeps/sh/sh4/fpu/feholdexcpt.c: New file. - * sysdeps/sh/sh4/fpu/fesetenv.c: New file. - * sysdeps/sh/sh4/fpu/fesetround.c: New file. - * sysdeps/sh/sh4/fpu/fpu_control.h: New file. - * sysdeps/sh/sh4/fpu/fraiseexcpt.c: New file. - * sysdeps/sh/sh4/fpu/fsetexcptflg.c: New file. - * sysdeps/sh/sh4/fpu/ftestexcept.c: New file. - * sysdeps/sh/sh4/fpu/libm-test-ulps: New file. - * sysdeps/sh/sh4/setjmp.S: New file. - * sysdeps/sh/elf/start.S: New file. - * sysdeps/sh/sys/ucontext.h: New file. - * sysdeps/sh/strlen.S: New file. - * sysdeps/sh/sysdep.h: New file. - * sysdeps/unix/sh/sysdep.S: New file. - * sysdeps/unix/sh/sysdep.h: New file. - * sysdeps/unix/sysv/linux/sh/Dist: New file. - * sysdeps/unix/sysv/linux/sh/Makefile: New file. - * sysdeps/unix/sysv/linux/sh/Versions: New file. - * sysdeps/unix/sysv/linux/sh/bits/mman.h: New file. - * sysdeps/unix/sysv/linux/sh/bits/resource.h: New file. - * sysdeps/unix/sysv/linux/sh/brk.c: New file. - * sysdeps/unix/sysv/linux/sh/chown.c: New file. - * sysdeps/unix/sysv/linux/sh/clone.S: New file. - * sysdeps/unix/sysv/linux/sh/fchown.c: New file. - * sysdeps/unix/sysv/linux/sh/fxstat.c: New file. - * sysdeps/unix/sysv/linux/sh/getegid.c: New file. - * sysdeps/unix/sysv/linux/sh/geteuid.c: New file. - * sysdeps/unix/sysv/linux/sh/getgroups.c: New file. - * sysdeps/unix/sysv/linux/sh/getresgid.c: New file. - * sysdeps/unix/sysv/linux/sh/getresuid.c: New file. - * sysdeps/unix/sysv/linux/sh/getrlimit.c: New file. - * sysdeps/unix/sysv/linux/sh/getrlimit64.c: New file. - * sysdeps/unix/sysv/linux/sh/getuid.c: New file. - * sysdeps/unix/sysv/linux/sh/lchown.c: New file. - * sysdeps/unix/sysv/linux/sh/lxstat.c: New file. - * sysdeps/unix/sysv/linux/sh/msgctl.c: New file. - * sysdeps/unix/sysv/linux/sh/oldgetrlimit64.c: New file. - * sysdeps/unix/sysv/linux/sh/pipe.S: New file. - * sysdeps/unix/sysv/linux/sh/profil-counter.h: New file. - * sysdeps/unix/sysv/linux/sh/semctl.c: New file. - * sysdeps/unix/sysv/linux/sh/setegid.c: New file. - * sysdeps/unix/sysv/linux/sh/seteuid.c: New file. - * sysdeps/unix/sysv/linux/sh/setfsgid.c: New file. - * sysdeps/unix/sysv/linux/sh/setfsuid.c: New file. - * sysdeps/unix/sysv/linux/sh/setgid.c: New file. - * sysdeps/unix/sysv/linux/sh/setgroups.c: New file. - * sysdeps/unix/sysv/linux/sh/setregid.c: New file. - * sysdeps/unix/sysv/linux/sh/setresgid.c: New file. - * sysdeps/unix/sysv/linux/sh/setresuid.c: New file. - * sysdeps/unix/sysv/linux/sh/setreuid.c: New file. - * sysdeps/unix/sysv/linux/sh/setrlimit.c: New file. - * sysdeps/unix/sysv/linux/sh/setuid.c: New file. - * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: New file. - * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: New file. - * sysdeps/unix/sysv/linux/sh/shmctl.c: New file. - * sysdeps/unix/sysv/linux/sh/sigcontextinfo.h: New file. - * sysdeps/unix/sysv/linux/sh/socket.S: New file. - * sysdeps/unix/sysv/linux/sh/sys/io.h: New file. - * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file. - * sysdeps/unix/sysv/linux/sh/sys/user.h: New file. - * sysdeps/unix/sysv/linux/sh/syscalls.list: New file. - * sysdeps/unix/sysv/linux/sh/sysdep.S: New file. - * sysdeps/unix/sysv/linux/sh/sysdep.h: New file. - * sysdeps/unix/sysv/linux/sh/vfork.S: New file. - * sysdeps/unix/sysv/linux/sh/xstat.c: New file. - -2000-06-12 Ulrich Drepper <drepper@redhat.com> - - * Rules (%.out): Define GCONV_PATH in the environment. - * assert/Depend: New file. - * iconvdata/Depend: New file. - * intl/Depend: New file. - * timezone/Makefile (build-testdata): Add GCONV_PATH to environment. - * intl/tst-gettext.sh: Likewise. - * iconv/Makefile (routines): Add gconv_trans. - * iconv/gconv_trans.c: New file. - * iconv/gconv.h (struct __gconv_trans_data): New type. - (__gconv_fct): New parameter with starting position in output buffer. - (__gconv_trans_fct, __gconv_trans_context_fct, __gconv_trans_query_fct, - __gconv_trans_init_fct, __gconv_trans_end_fct): New types. - (struct __gconv_step): Add new member __trans. - * iconv/gconv_int.h: Pretty print prototypes. - (gconv_transliterate): New prototype. - (__BUILTIN_TRANS): Update for new conversion function interface. - * iconv/gconv.c (__gconv): Pass new parameter to conversion function. - * iconv/gconv_open.c (__gconv_open): Recognize error handling suffix - in names, find appropriate function, and install in the conversion - steps it can be used. - * iconv/skeleton.c: Add additional parameter for beginning of output - buffer. Change calls of downstream functions. - * iconv/loop.c: Change loop function interface completely. Pass in - step and step_data structure. Remove optimization for BODY with - NEED_LENGTH_TEST == 0. - * iconv/gconv_simple.c: Update interfaces of functions. Insert - appropriate error handling code to use transliteration steps. Remove - optimization for BODY with NEED_LENGTH_TEST == 0. - * iconvdata/8bit-gap.c: Likewise. - * iconvdata/8bit-generic.c: Likewise. - * iconvdata/ansi_x3.110.c: Likewise. - * iconvdata/big5.c: Likewise. - * iconvdata/big5hkscs.c: Likewise. - * iconvdata/euc-cn.c: Likewise. - * iconvdata/euc-jp.c: Likewise. - * iconvdata/euc-kr.c: Likewise. - * iconvdata/euc-tw.c: Likewise. - * iconvdata/gbgbk.c: Likewise. - * iconvdata/gbk.c: Likewise. - * iconvdata/iso-2022-cn.c: Likewise. - * iconvdata/iso-2022-jp.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. - * libio/iofwide.c: Adjust to new interface of gconv functions. Use - DL_CALL_FCT. - * wcsmbs/btowc.c: Likewise. - * wcsmbs/mbrtowc.c: Likewise. - * wcsmbs/mbsnrtowcs.c: Likewise. - * wcsmbs/mbsrtowcs.c: Likewise. - * wcsmbs/wcrtomb.c: Likewise. - * wcsmbs/wcsnrtombs.c: Likewise. - * wcsmbs/wcsrtombs.c: Likewise. - * wcsmbs/wctob.c: Likewise. - -2000-04-11 Geoff Keating <geoffk@cygnus.com> - - * sysdeps/powerpc/dl-machine.c: Include dl-machine.h after the - other header files. Mention about 128-byte cache line sizes. - (__elf_machine_fixup_plt): Make types match elf_machine_fixup_plt. - * sysdeps/powerpc/dl-machine.h (elf_machine_fixup_plt): Update - for current calling sequence. - * sysdeps/powerpc/dl-start.S (_dl_start_user): Close comment. - - * sysdeps/powerpc/fpu/s_rint.c: Handle rounding to -0 correctly. - * sysdeps/powerpc/fpu/s_rintf.c: Likewise. - - * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add getrlimit - and setrlimit syscalls for backwards compatibility. - -2000-06-10 Ulrich Drepper <drepper@redhat.com> - - * iconv/skeleton.c: Rename converted written to correcter name - irreversible. - * iconv/gconv.c: Rename converted variable to correcter name - irreversible. - * iconv/gconv_int.h: Likewise. - * iconv/gconv_simple.c: Likewise. - * iconv/iconv.c: Likewise. - * iconv/loop.c: Likewise. - * iconvdata/8bit-gap.c: Likewise. - * iconvdata/8bit-generic.c: Likewise. - * iconvdata/ansi_x3.110.c: Likewise. - * iconvdata/big5.c: Likewise. - * iconvdata/big5hkscs.c: Likewise. - * iconvdata/euc-cn.c: Likewise. - * iconvdata/euc-jp.c: Likewise. - * iconvdata/euc-kr.c: Likewise. - * iconvdata/gbgbk.c: Likewise. - * iconvdata/gbk.c: Likewise. - * iconvdata/iso-2022-cn.c: Likewise. - * iconvdata/iso-2022-jp.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. +2001-01-28 Ulrich Drepper <drepper@redhat.com> - * sysdeps/unix/sysv/linux/bits/socket.h (struct cmsghdr): Mark - __cmsg_data field with __extension__. + * conform/data/pthread.h-data: Correct return type of pthread_exit. -2000-06-10 David Mosberger <davidm@hpl.hp.com> + * conform/conformtest.pl: Add -fno-builtin to CFLAGS. - * sysdeps/unix/sysv/linux/ia64/syscall.S: Fix it so it actually works. + * conform/data/stdlib.h-data: Add _Exit. -2000-06-10 Ulrich Drepper <drepper@redhat.com> + * 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>. - * iconv/gconv_simple.c: Fix various small bugs in several - functions. + * conform/data/netinet/in.h-data: Allow all of <inttypes.h>. - * iconv/loop.c: Fix comment. - -2000-06-10 Jakub Jelinek <jakub@redhat.com> - - * elf/link.h: Remove libc internal declarations. - * include/link.h: Move them here. - -2000-06-09 Ulrich Drepper <drepper@redhat.com> - - * sysdeps/unix/sysv/linux/ia64/getsysstats.c: New file. - Patch by Dan Pop <Dan.Pop@cern.ch>. - - Rewrite error message handling. - * elf/dl-deps.c (_dl_map_object_deps): Pass new parameter to - _dl_catch_error. - * elf/dl-error (struct catch): Add objname member. - (_dl_signal_error): Take new parameter with object name. When - passing message on simply store object name and duplicate error - message. - (_dl_catch_error): Take new parameter. Store object name in the - place pointed to. - * include/dlfcn.h: Adjust _dl_catch_error prototype. - * sysdeps/generic/ldsodefs.h: Adjust _dl_signal_error prototype. - * dlfcn/dlerror.c (struct dl_action_result): Add objname member. - (dlerror): Add objname to asprintf() parameters. - (_dl_error_run): Pass new parameter to _dl_catch_error. - * elf/dl-libc.c (dlerror_run): Pass new parameter to _dl_catch_error. - * elf/dl-open.c (_dl_open): Likewise. - * elf/rtld.c (dl_main): Likewise. - * elf/dl-close.c: Mark error messages with N_(). - * elf/dl-deps.c: Likewise. - * elf/dl-error.c: Likewise. - * elf/dl-load.c: Likewise. - * elf/dl-open.c: Likewise. - * elf/dl-reloc.c: Likewise. - * elf/dl-support.c: Likewise. - * elf/dl-sym.c: Likewise. - * elf/dl-version.c: Likewise. - * elf/dl-lookup.c: Add comments about problems with error message - translations. - * elf/dl-reloc.c: Likewise. - * elf/dl-version.c: Likewise. + * conform/data/spawn.h-data: Allow all of <sched.h>. -2000-06-09 H.J. Lu <hjl@gnu.org> + * sysdeps/ia64/fpu/fraiseexcpt.c: Include <float.h>. Removed + unused variable. - * dlfcn/dlerror.c (_dlerror_run): Set result->errstring to NULL - after freeing it. + * sunrpc/xdr_rec.c (xdrrec_getpos): Add cast to long to avoid warning. + * sunrpc/xdr_sizeof.c (x_inline): Likewise. - * dlfcn/Makefile (distribute): Add failtestmod.c. - (tests): Add failtest. - Add rules to build and run failtest. - * dlfcn/failtest.c: New file. - * dlfcn/failtestmod.c: New file. + * sysdeps/ieee754/ldbl-96/s_frexpl.c: Include <float.h>. -2000-06-09 David Mosberger-Tang <davidm@hpl.hp.com> + * conform/conformtest.pl: Define $mustprepend{"stdio.h"}. + * libio/stdio.h: Define va_list correctly. - * sysdeps/unix/sysv/linux/ia64/__longjmp.S: new file - * sysdeps/unix/sysv/linux/ia64/bsd-_setjmp.S: new file - * sysdeps/unix/sysv/linux/ia64/bsd-setjmp.S: new file - * sysdeps/unix/sysv/linux/ia64/setjmp.S: new file - * sysdeps/unix/sysv/linux/ia64/bits/setjmp.h: new file + * conform/data/pthread.h-data: Make priority protocol related + functions optional. Fix typos. -2000-06-09 Jes Sorensen <jes@linuxcare.com> + * 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. - * sysdeps/unix/sysv/linux/ia64/brk.S: New file. - * sysdeps/unix/sysv/linux/ia64/pipe.S: New file. +2001-01-27 Ulrich Drepper <drepper@redhat.com> -2000-06-09 Jes Sorensen <jes@linuxcare.com> - Ulrich Drepper <drepper@redhat.com> + * sysdeps/generic/clock_getcpuclockid.c: Include <time.h> instead + of <sys/time.h>. - * sysdeps/unix/sysv/linux/ia64/sigaction.c: New file. - * sysdeps/unix/sysv/linux/ia64/sigpending.c: New file. - * sysdeps/unix/sysv/linux/ia64/sigprocmask.c: New file. - * sysdeps/unix/sysv/linux/ia64/sigsuspend.c: New file. - * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h: New file. - * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h: New file. + * sysdeps/unix/stime.c: Include <stddef.h> for NULL. + * sysdeps/unix/time.c: Likewise. -2000-06-09 Ulrich Drepper <drepper@redhat.com> + * 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. - * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Try harder - to find correct mount point despite wrong information from the - kernel. + * conform/conformtest.pl (@headers): Add complex.h and tgmath.h. + * conform/data/complex.h-data: New file. + * conform/data/tgmath.h-data: New file. -2000-06-09 Jes Sorensen <jes@linuxcare.com> - - * elf/dl-libc.c (__libc_dlsym): Use DL_SYMBOL_ADDRESS() to obtain - the address of a symbol so function pointers are handled properly. - -2000-06-08 Ulrich Drepper <drepper@redhat.com> - - * sysdeps/i386/Dist: Add bp-asm.h. - - * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Use - defaultdir variable instead of "/var/shm" everywhere. - (defaultdir): Change to /dev/shm/. - -2000-06-08 Greg McGary <greg@mcgary.org> - - * sysdeps/i386/bp-asm.h: New file. - * sysdeps/i386/__longjmp.S: Define & use symbolic argument stack - offsets. Add ENTER/LEAVE macros for optionally maintaining - frame-pointer chain when debugging. - * sysdeps/i386/add_n.S: Likewise. - * sysdeps/i386/addmul_1.S: Likewise. - * sysdeps/i386/lshift.S: Likewise. - * sysdeps/i386/memchr.S: Likewise. - * sysdeps/i386/memcmp.S: Likewise. - * sysdeps/i386/mul_1.S: Likewise. - * sysdeps/i386/rawmemchr.S: Likewise. - * sysdeps/i386/rshift.S: Likewise. - * sysdeps/i386/stpcpy.S: Likewise. - * sysdeps/i386/stpncpy.S: Likewise. - * sysdeps/i386/strchr.S: Likewise. - * sysdeps/i386/strchrnul.S: Likewise. - * sysdeps/i386/strcspn.S: Likewise. - * sysdeps/i386/strpbrk.S: Likewise. - * sysdeps/i386/strrchr.S: Likewise. - * sysdeps/i386/strspn.S: Likewise. - * sysdeps/i386/strtok.S: Likewise. - * sysdeps/i386/sub_n.S: Likewise. - * sysdeps/i386/submul_1.S: Likewise. - * sysdeps/i386/elf/setjmp.S: Likewise. - * sysdeps/i386/i486/strcat.S: Likewise. - * sysdeps/i386/i486/strlen.S: Likewise. - * sysdeps/i386/i586/add_n.S: Likewise. - * sysdeps/i386/i586/lshift.S: Likewise. - * sysdeps/i386/i586/memcpy.S: Likewise. - * sysdeps/i386/i586/memset.S: Likewise. - * sysdeps/i386/i586/rshift.S: Likewise. - * sysdeps/i386/i586/strchr.S: Likewise. - * sysdeps/i386/i586/strcpy.S: Likewise. - * sysdeps/i386/i586/strlen.S: Likewise. - * sysdeps/i386/i586/sub_n.S: Likewise. - * sysdeps/i386/i686/add_n.S: Likewise. - * sysdeps/i386/i686/memcpy.S: Likewise. - * sysdeps/i386/i686/mempcpy.S: Likewise. - * sysdeps/i386/i686/memset.S: Likewise. - * sysdeps/i386/i686/strcmp.S: Likewise. + * conform/data/wchar.h-data: Add missing functions. -2000-06-08 Ulrich Drepper <drepper@redhat.com> + * sysdeps/gnu/bits/utmpx.h: Define RUN_LVL only if __USE_GNU. - * sysdeps/unix/sysv/linux/getdtsz.c: New file. + * conform/data/termios.h-data: Add missing const in tcsetattr() + prototype. - * sysdeps/unix/sysv/linux/sys/param.h: Define NOFILE directly as - 256 and don't use OPEN_MAX. + * posix/sys/wait.h: Include <signal.h> and <sys/resource.h>. + Don't define pid_t here. + + * conform/data/sys/utsname.h-data: Don't provide fixed array sizes. + + * 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. + + * 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>. - * sysdeps/unix/sysv/linux/pathconf.c: Define LINUX_LINK_MAX and - use it instead of LINK_MAX. - * sysdeps/unix/sysv/linux/fpathconf.c: Likewise. + * 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. -2000-06-08 Andreas Jaeger <aj@suse.de> + * math/test-misc.c: Include <float.h>. - * libio/genops.c (_IO_list_lock): Only compile body if we're - thread safe. - (_IO_list_unlock): Likewise. - (_IO_list_resetlock): Likewise. +2001-01-27 Andreas Jaeger <aj@suse.de> -2000-06-07 Ulrich Drepper <drepper@redhat.com> + * misc/efgcvt_r.c: Include <float.h>. - * sysdeps/unix/sysv/linux/bits/local_lim.h: Undefine OPEN_MAX - unless user defined it. +2001-01-26 Ulrich Drepper <drepper@redhat.com> - * sysdeps/unix/sysv/linux/bits/local_lim.h: Also undefine LINK_MAX - if not defined by the user. + * 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. - * libio/iofwrite_u.c (fwrite_unlocked): Remove obsolete comment. - * libio/iofwrite.c (_IO_fwrite): Likewise. + * conform/data/stdio.h-data: Account for changes in XPG6. - * time/time.h: Add missing __THROW for clock_getcpuclockid + * conform/data/spawn.h-data: Correct posix_spawnattr_setflags prototype. - * elf/Makefile (distribute): Add dl-dtprocnum.h. - * include/elf.h: Include also <dl-dtprocnum.h>. - * elf/dl-deps.c: Likewise. - * elf/dl-lookup.c: Likewise. - * elf/dl-runtime.c: Likewise. - * elf/dl-version.c: Likewise. - * elf/do-rel.h: Likewise. - * elf/dynamic-link.h: Likewise. - * elf/link.h: Likewise. - * elf/rtld.c: Likewise. - * sysdeps/generic/dl-dtprocnum.h: New file. - * sysdeps/ia64/dl-dtprocnum.h: New file. - * sysdeps/mips/dl-dtprocnum.h: New file. - * sysdeps/sparc/dl-dtprocnum.h: New file. + * 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. + + * conform/conformtest.pl: Implement optional-element. Define + $mustprepend{"sched.h"}. + * conform/data/sched.h-data: Make sporadic scheduler definitions + optional. + + * pwd/pwd.h: Don't define getpwent_r for XPG. + + * 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. - * sysdeps/i386/dl-machine.h: Add more __builtin_expect. + * sysdeps/gnu/netinet/tcp.h: Define everything but TCP_ macros + only if __USE_MISC. + * conform/data/netinet/tcp.h-data: Reserved prefix TCP_. - * elf/do-lookup.h: Add some __builtin_expect. + * sysdeps/gnu/net/if.h: Cleanup namespace. Define IF_NAMESIZE. - * dlfcn/dlfcn.h: Pretty print dladdr declaraction. + * inet/netinet/in.h: Make IPPROTO_ constants also macros. - * elf/rtld.c (process_envvars): Recognize LD_DYNAMIC_WEAK. - (_dl_dynamic_weak): New variable. - * elf/dl-support.c: Likewise. - * sysdeps/generic/ldsodefs.h: Declare _dl_dynamic_weak. - * elf/do-lookup.h: If we find a weak definition treat it like a - normal symbol unless _dl_dynamic_weak is nonzero. In the latter - case treat it like before. + * conform/conformtest.pl: Implement optional-type. - * elf/dl-addr.c (_dl_addr): Fill in correct information if symbol - is in main program. - * elf/Versions [ld] (GLIBC_2.2): Export _dl_argv. + * 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. - * elf/dl-addr.c (_dl_addr): Do exact testing of address range - using l_map_start and l_map_end. + * conform/conformtest.pl: Implement optional-macro. + * conform/data/math.h-data: Update for XPG6. - * elf/dl-version.c: Add __builtin_expect in many places. + * math/math.h (HUGE): Define as FLT_MAX value but don't use + FLT_MAX. Don't include <float.h>. + (MAXFLOAT): Likewise. - * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (x86_cap_flags): - Update. + * math/math.h: Define MATH_ERRNO and MATH_ERREXCEPT. -2000-06-04 Kaz Kylheku <kaz@ashi.footprints.net> + * include/bits/xopen_lim.h: Don't define FOPEN_MAX here. - Lock for stdio stream list becomes global, for use in LinuxThreads. + * conform/data/limits.h-data: Mark constants as optional wherever + appropriate. - * libio/genops.c (_IO_iter_begin, _IO_iter_end, - _IO_iter_next, _IO_iter_file, _IO_list_lock, _IO_list_unlock, - _IO_list_resetlock): New interface for iterating global list of - streams without accessing the _IO_list_all global variable, - and for manipulating the lock which protects this list. - * libio/libioP.h: Likewise. - * libio/Version: Add entries for the new functions. + * posix/bits/posix2_lim.h: Set correct values for + _POSIX2_COLL_WEIGHTS_MAX and _POSIX2_CHARCLASS_NAME_MAX. Remove + EQUIV_CLASS_MAX. - * libio/libioP.h (_IO_ITER): New typedef, just an alias for - pointer to _IO_FILE. + * posix/bits/posix1_lim.h: Define _POSIX_TZNAME_MAX as 6. + Required by POSIX. -2000-06-07 Ulrich Drepper <drepper@redhat.com> + * intl/loadmsgcat.c: Include <locale.h.> for _LIBC. - * locale/programs/ld-ctype.c (set_class_defaults): Several uses of - BIT() must actually be BITw(). + * conform/data/netinet/in.h-data: Add reserved prefixes. - * locale/programs/ld-ctype.c: Handle SP and space consistently. + * conform/data/arpa/inet.h-data: Fix a few typos. - * locale/programs/charmap.c: Allow string arguments for - code_set_name and repertoiremap. +2001-01-26 Andreas Jaeger <aj@suse.de> -2000-06-07 Andreas Jaeger <aj@suse.de> + * 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. - * elf/Makefile: Build ldconfig only when building shared libraries. + * include/bits/locale.h: New file. -2000-06-07 Jakub Jelinek <jakub@redhat.com> +2001-01-26 Ulrich Drepper <drepper@redhat.com> - * sysdeps/alpha/fpu/bits/mathinline.h (__fdimf): Only declare if - __USE_ISOC99. - (fdimf, __fdim, fdim): Likewise. + * locale/langinfo.h: Correct logic in #ifs when defining YESSTR + and NOSTR. -2000-06-07 Ulrich Drepper <drepper@redhat.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. - * locale/findlocale.c: Add __builtin_expect in many places. - * locale/loadlocale.c: Likewise. + * posix/glob.h: Cleanup namespace for non-_GNU_SOURCE case. -2000-06-06 Greg McGary <greg@mcgary.org> + * io/sys/stat.h: Define S_IFSOCK for XPG6. - * sysdeps/mips/elf/start.S: Trim redundant code. + * conform/data/fcntl.h-data: posix_madvise is not expected here. - * sysdeps/powerpc/memset.S: Define & use symbolic register names. - Use C comments throughout. Line up operands column with tabs. - * sysdeps/powerpc/strchr.S: Likewise. - * sysdeps/powerpc/strcmp.S: Likewise. - * sysdeps/powerpc/strcpy.S: Likewise. - * sysdeps/powerpc/strlen.S: Likewise. + * conform/conformtest.pl: Fix handling of macro-str. - * sysdeps/unix/sysv/linux/powerpc/brk.S [!PIC]: - Get low part of &__curbrk with @l. + * conform/data/inttypes.h-data: Add missing definition and all of + stdint.h-data. -2000-06-06 Ulrich Drepper <drepper@redhat.com> + * sysdeps/unix/sysv/linux/sys/param.h (MAXSYMLINKS): Bump to 20. - * iconvdata/utf-16.c: Add __builtin_expect in many places. - * iconvdata/unicode.c: Likewise. - * iconvdata/uhc.c: Likewise. - * iconvdata/t.61.c: Likewise. - * iconvdata/sjis.c: Likewise. - * iconvdata/johab.c: Likewise. - * iconvdata/iso_6937.c: Likewise. - * iconvdata/iso_6937-2.c: Likewise. - * iconvdata/iso8859-1.c: Likewise. - * iconvdata/iso646.c: Likewise. - * iconvdata/iso-2022-kr.c: Likewise. - * iconvdata/iso-2022-jp.c: Likewise. - * iconvdata/iso-2022-cn.c: Likewise. - * iconvdata/gbgbk.c: Likewise. - * iconvdata/gbk.c: Likewise. - * iconvdata/euc-kr.c: Likewise. - * iconvdata/euc-jp.c: Likewise. - * iconvdata/euc-cn.c: Likewise. +2001-01-25 Ulrich Drepper <drepper@redhat.com> -2000-06-05 Ulrich Drepper <drepper@redhat.com> + * conform/conformtest.pl (@headers): Add stdint.h. + * conform/data/stdint.h-data: New file. - * iconvdata/big5hkscs.c: Add __builtin_expect in many places. - * iconvdata/big5.c: Likewise. - * iconvdata/ansi_x3.110.c: Likewise. - * iconvdata/8bit-generic.c: Likewise. - * iconvdata/8bit-gap.c: Likewise. - * iconv/loop.c: Likewise. - * iconv/gconv_db.c: Likewise. - * iconv/gconv_dl.c: Likewise. - * iconv/gconv_simple.c: Likewise. - * iconv/skeleton.c: Likewise. + * conform/conformtest.pl: Recognize options --headers and + --dialect. Add dialect-specific CFLAGS. - * iconv/gconv.h (__GCONV_IS_LAST, __GCONV_IGNORE_ERRORS): Define. - (struct __gconv_step_data): Rename __is_last to __flags. - * iconv/gconv_close.c: Change all uses of __is_last. - * iconv/skeleton.c: Likewise. - * iconvdata/iso-2022-cn.c: Likewise. - * iconvdata/iso-2022-jp.c: Likewise. - * iconvdata/iso-2022-kr.c: Likewise. - * iconv/gconv_open.c: Likewise. Avoid unneeded initializations. - Recognize IGNORE error handling, set flag, and remove from name. - * iconv/loop.c (ignore_errors_p): Define. - Add flags parameter to both functions. - * iconv/skeleton.c: Pass flags to all conversion functions. - * iconv/gconv_simple.c: Add flags parameter to all functions. - Don't return error for invald error if ignore flag is set. - (ucs4_internal_loop_single): Add missing pointer increment. - (internal_ucs4le_loop_single): Likewise. - * iconv/iconv_prog.c: Implement handling of -c parameter. - * iconvdata/8bit-gap.c: Don't return error for invald error if - ignore flag is set. - * iconvdata/8bit-generic.c: Likewise. - * iconvdata/ansi_x3.110.c: Likewise. - * iconvdata/big5.c: Likewise. - * iconvdata/big5hkscs.c: Likewise. - * iconvdata/euc-cn.c: Likewise. - * iconvdata/euc-jp.c: Likewise. - * iconvdata/euc-kr.c: Likewise. - * iconvdata/gbgbk.c: Likewise. - * iconvdata/gbk.c: Likewise. - * iconvdata/iso-2022-cn.c: Likewise. - * iconvdata/iso-2022-jp.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. - * libio/fileops.c: Likewise. - * libio/iofwide.c: Likewise. - * wcsmbs/btowc.c: Likewise. - * wcsmbs/mbrtowc.c: Likewise. - * wcsmbs/mbsnrtowcs.c: Likewise. - * wcsmbs/mbsrtowcs.c: Likewise. - * wcsmbs/wcrtomb.c: Likewise. - * wcsmbs/wcsnrtombs.c: Likewise. - * wcsmbs/wcsrtombs.c: Likewise. - * wcsmbs/wctob.c: Likewise. + * conform/conformtest.pl: Implement handling of recursive + allow-header. - * iconvdata/ksc5601.h (ksc5601_to_ucs4): Undo *s change in all cases of - an error. + * conform/data/locale.h-data: Add new struct lconv members. -2000-06-04 Ulrich Drepper <drepper@redhat.com> + * 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. - * iconv/gconv_dl.c (do_release_shlib): Don't reset reference - counter for the object we are releasing, just decrement it. - Patch by Akira Higuchi <a-higuti@math.sci.hokudai.ac.jp>. + * math/tgmath.h: Pretty printing. -2000-06-04 Jakub Jelinek <jakub@redhat.com> + * math/Makefile (tests): Add test-tgmath. + (CFLAGS-test-tgmath.c): New variable. + * math/test-tgmath.c: New file. Contributed by Jakub Jelinek. - * sysdeps/i386/fpu/bits/mathinline.h: Only inline sinh, cosh and tanh - if -ffast-math. + * conform/conformtest.pl: Handle allow-header in secondary headers + correctly. -2000-06-04 Ulrich Drepper <drepper@redhat.com> + * conform/data/fcntl.h-data: Mark symbols introduced in XPG6 with + #ifdef. - * iconvdata/big5hkscs.c: New file. - Modified from big5.c by Roger So <rogerso@sis.dhs.org>. + * conform/data/netinet/in.h-data: Use correct comment character. + * conform/data/sys/stat.h-data: Likewise. - * iconvdata/gconv-modules: Add entry for new module. - * iconvdata/Makefile (modules): Add BIG5HKSCS. - (distribute): Add big5hkscs.c. +2001-01-25 Jakub Jelinek <jakub@redhat.com> -2000-06-01 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. - * libc/sysdeps/alpha/fpu/bits/mathinline.h: Add __THROW to all - inlines to match prototypes in mathcalls.h. - * libc/sysdeps/i386/fpu/bits/mathinline.h: Likewise. - * libc/sysdeps/m68k/fpu/bits/mathinline.h: Likewise. - * libc/sysdeps/powerpc/fpu/bits/mathinline.h: Likewise. - * libc/sysdeps/sparc/fpu/bits/mathinline.h: Likewise. +2001-01-25 Ulrich Drepper <drepper@redhat.com> -2000-06-03 Ulrich Drepper <drepper@redhat.com> + * conform/data/unistd.h-data: Mark functions removed in XPG6 + correctly. - * elf/elf.h (SHT_SUNW_move): Define. + * posix/unistd.h: Don't make functions removed in XPG6 available if + __USE_XOPEN2K. - * elf/elf.h: Add more Solaris compatiblity definitions. + * conform/conformtest.pl: Implement optional-constant. + * conform/data/unistd.h-data: Use optional-constant wherever + appropriate. -2000-06-03 Andreas Jaeger <aj@suse.de> + * sysdeps/generic/bits/confname.h: Correct names of _SC_PBS + constants and add _SC_STREAMS. + * sysdeps/posix/sysconf.c (__sysconf): Likewise. - * sysdeps/powerpc/dl-start.S: Close open comment. + * 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. -2000-06-03 Jakub Jelinek <jakub@redhat.com> + * 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. - * inet/Versions: Fix typo in rresvport_af export. + * conform/conformtest.pl: Run Unix tests for XPG6. + Implement handling of known namespace violations. + Improve printing of results. -2000-06-02 Ulrich Drepper <drepper@redhat.com> + * 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. - * math/tgmath.h: Pretty print. + * posix/unistd.h (sync): Correct return type. + * sysdeps/generic/sync.c: Likewise. + * sysdeps/mach/hurd/sync.c: Likewise. -2000-06-02 Andreas Jaeger <aj@suse.de> + * sysdeps/generic/bits/confname.h (_SC_IOV_MAX): New definition. - * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Fix typo. - Reported by Maciej W. Rozycki <macro@ds2.pg.gda.pl>. + * posix/unistd.h: Make seteuid and setegid available for XPG6. -2000-06-02 Ulrich Drepper <drepper@redhat.com> + * wcsmbs/wchar.h: Get FILE definition for XPG5. - * elf/rtld.c (process_envvars): Test for = after variable name. + * 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. -2000-06-01 Ulrich Drepper <drepper@redhat.com> +2001-01-24 Ulrich Drepper <drepper@redhat.com> - * sysdeps/generic/initfini.c (_init): One less relocation. Don't - have extra call to __gmon_start__, use the pointer we already have. + * conform/data/wordexp.h-data: Fix typo. - * elf/elf.h (ELF64_R_INFO): Cast sym value to Elf64_Xword before - shifting. + * conform/conformtest.pl: Handle allow-header correctly. - * sysdeps/i386/elf/setjmp.S: Work around change is recent - binutils. gas now emits a jump through the PLT instead of a - relative jump if the jump target is an exported symbol. + * conform/data/time.h-data: Use correct comment form. -2000-05-31 Ulrich Drepper <drepper@redhat.com> + * conform/conformtest.pl (checknamespace): Ignore #undef lines. - * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Define AIX_CBAUD. + * configure.in: Comment out binutils version test. -2000-05-31 Andreas Jaeger <aj@suse.de> + * stdlib/strtod.c (str_to_mpn): Correct parsing of thousands + separators. + Reported by Lagardere Jean-Francois <LAGARDEREJ@thmulti.com>. - * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Use array for - gregset_t. + * stdlib/tst-strtod.c (locale_test): New function. + (main): Call locale_test. + * stdlib/Makefile (tst-strtod-ENV): New variable. - * sysdeps/unix/sysv/linux/mips/Versions: Export _flush_cache. - Patches by Maciej W. Rozycki <macro@ds2.pg.gda.pl>. +2001-01-24 Mark Kettenis <kettenis@gnu.org> - * sysdeps/unix/sysv/linux/mips/ftruncate64.c: Fix prototype of - syscall. - * sysdeps/unix/sysv/linux/mips/truncate64.c: Likewise. + * hurd/hurdsig.c (_hurdsig_getenv): Remove spurious innermost + declaration of value such that we actually return the value of the + environment variable. -2000-05-30 Ulrich Drepper <drepper@redhat.com> +2001-01-24 Andreas Jaeger <aj@suse.de> - * sysdeps/unix/sysv/linux/alpha/oldglob.c (__old_glob): Loose __P. + * sysdeps/unix/sysv/linux/init-first.c: Remove extra __sysctl + prototype. + * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise. - * locale/Versions [libc] (GLIBC_2.2): Add localeconv. - * locale/localeconv.c: Make function versioned (with same definition). + * include/sys/sysctl.h: New file. - * elf/Makefile (modules-names): Strip before using it. +2001-01-23 Andreas Jaeger <aj@suse.de> -2000-05-30 Andreas Jaeger <aj@suse.de> + * stdlib/Makefile ($(objpfx)isomac.out): Also pass sysincludes to + isomac. - * sysdeps/unix/sysv/linux/mips/truncate64.c: New file. - * sysdeps/unix/sysv/linux/mips/ftruncate64.c: New file. - * sysdeps/unix/sysv/linux/mips/pread64.c: Readded file. - * sysdeps/unix/sysv/linux/mips/pwrite64.c: Readded file. - * sysdeps/unix/sysv/linux/mips/pread.c: Readded file. - * sysdeps/unix/sysv/linux/mips/pwrite.c: Readded file. + * 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. -2000-05-29 Ulrich Drepper <drepper@redhat.com> + * manual/install.texi (Tools for Compilation): Change required + binutils version. - * Makefile: Add GNU make magic. +2001-01-22 Andreas Jaeger <aj@suse.de> - * inet/Makefile (CFLAGS-rcmd.c, CFLAGS-rexec.c, CFLAGS-ruserpass.c): - Removed. - * inet/rcmd.c: Remove __P. Remove unused variables. - (iruserfopen): Make first parameter const. - (ruserok_sa): Return result of ruserok2_sa. - (__checkhost_sa): Correctly iterate through results of getaddrinfo. - * inet/rexec.c: Remove unused variables. Other small cleanups. - * inet/ruserpass.c: Remove __P. Remove unused variables. - (ruserpass): Check results of memory allocation. - * include/netdb.h: Add prototype for ruserpass. + * configure.in: Add test for new enough binutils version, move + compiler/binutils test up. -2000-05-29 Andreas Jaeger <aj@suse.de> + * Versions.def: Add version GLIBC_2.2.2. - * elf/readlib.c (interpreters): Use LD_SO since this is supported - for all platforms. +2001-01-21 Ulrich Drepper <drepper@redhat.com> -2000-05-29 Jakub Jelinek <jakub@redhat.com> + * 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>. - * inet/rcmd.c (rresvport_af): Use correct port number. +2001-01-21 Franz Sirl <Franz.Sirl-kernel@lauterbach.com> -2000-05-26 Andreas Schwab <schwab@suse.de> + * sysdeps/unix/sysv/linux/powerpc/mmap64.c: Correctly mask offset. - * Makeconfig ($(common-objpfx)soversions.mk): Prepend `$lib=' to - entries in all-sonames. - ($(common-objpfx)gnu/lib-names.h): Use it for the CPP symbol, - preserving the old name if different for compatibility. +2001-01-21 Ulrich Drepper <drepper@redhat.com> -2000-05-29 Ulrich Drepper <drepper@redhat.com> + * malloc/malloc.c: Remove a few unnecessary initializers of global + variables. - * posix/Makefile (tests): Add tst-spawn. - (tst-spawn-ARGS): New variable. - * posix/tst-spawn.c: New file. +2000-12-09 H.J. Lu <hjl@gnu.org> - * posix/spawn_faction_addclose.c: Correctly account for new entry. - * posix/spawn_faction_adddup2.c: Likewise. - * posix/spawn_faction_addopen.c: Likewise. - * posix/spawni.c: Correctly test for success of dup2 calls. + * 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. + + * po/sv.po: Update from translation team. + +2001-01-21 Andreas Jaeger <aj@suse.de> + + * stdio-common/vfprintf.c (vfprintf): Add casts. + +2001-01-20 Ulrich Drepper <drepper@redhat.com> + + * iconvdata/run-iconv-test.sh: Reorgnize a bit to allow running only + the ASCII test. + * iconvdata/TESTS: Add entries for IBM932 and IBM943. + + * 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/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. + + * 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. + +2001-01-19 Ulrich Drepper <drepper@redhat.com> + + * 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. + + * locale/newlocale.c (__newlocale): Fix test for setting all + categories. - * posix/tst-preadwrite.c: Check success of malloc call. +2001-01-19 Mark Kettenis <kettenis@gnu.org> -2000-05-28 Ulrich Drepper <drepper@redhat.com> + * 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. - * posix/Makefile (tests): Add tst-exec. - (tst-exec-ARGS): New variable. - * posix/tst-exec.c: New file. +2001-01-18 Ulrich Drepper <drepper@redhat.com> - * sysdeps/arm/atomicity.h (compare_and_swap): Return result. + * 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. -2000-05-04 Andreas Jaeger <aj@suse.de> + * sysdeps/unix/sysv/linux/fxstat64.c: Add one __builtin_expect. + * sysdeps/unix/sysv/linux/lxstat64.c: Likewise. + * sysdeps/unix/sysv/linux/xstat64.c: Likewise. - * string/string.h: Remove __strdup prototype, it's not needed in - this file anymore. + * 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. -2000-05-28 Ulrich Drepper <drepper@redhat.com> + * elf/elf.h: Add a few more EF_MIPS_* constants. - * posix/Makefile (tests): Add tst-fork. - * posix/tst-fork.c: New file. +2001-01-17 Ulrich Drepper <drepper@redhat.com> - * resolv/inet_pton.c: Loose __P. + * manual/Makefile (chapters): Add debug. + * manual/debug.texi: New file. + * manual/examples/execinfo.c: New file. + Patch by suckfish@ihug.co.nz. -2000-05-21 Jakub Jelinek <jakub@redhat.com> +2001-01-17 Andreas Schwab <schwab@suse.de> - * libio/libioP.h (_IO_CHECK_WIDE): Define. - * libio/iosetbuffer.c (_IO_setbuffer): Use it. - * libio/iosetvbuf.c (_IO_setvbuf): Likewise. - * libio/fileops.c (_IO_new_file_fopen): Return NULL if - _IO_CHECK_WIDE fails. + * sysdeps/m68k/bits/byteswap.h (__bswap_32): Add cast to avoid + invalid asm. -2000-05-28 Ulrich Drepper <drepper@redhat.com> +2001-01-17 Andreas Jaeger <aj@suse.de> - * po/da.po: New file. + * nscd/connections.c (nscd_run): Use proper format specifier. - * manual/arith.texi (Rounding Functions): Fix documentation of trunc. - Patch by Steven G. Johnson <stevenj@gil-galad.mit.edu>. +2001-01-16 Ulrich Drepper <drepper@redhat.com> - * manual/charset.texi (Extended Char Intro): Fix typo (and -> as). - (Other iconv Implementations): Fix typo. - Patch by Martin Pool <mbp@wistful.humbug.org.au>. + * 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. -2000-05-27 Andreas Jaeger <aj@suse.de> + * setjmp/setjmp.h: Cleanup definition of setjmp macro. - * sysdeps/unix/sysv/linux/i386/pread.c: Removed, we can use the - normal version now. - * sysdeps/unix/sysv/linux/i386/pwrite.c: Likewise. - * sysdeps/unix/sysv/linux/i386/pwrite64.c: Likewise. - * sysdeps/unix/sysv/linux/mips/pread.c: Likewise. - * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise. - * sysdeps/unix/sysv/linux/arm/pread.c: Likewise. - * sysdeps/unix/sysv/linux/arm/pwrite.c: Likewise. + * 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. - * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Check - endianness to decide how to pass arguments. - * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise. +2001-01-16 Andreas Jaeger <aj@suse.de> - * elf/vismain.c: Use test-skeleton interface. - (TEST_FUNCTION): New macro. - (do_test): Renamed from main. + * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h (SIGCONTEXT): Fix + misapplied last patch. -2000-05-27 Ulrich Drepper <drepper@redhat.com> +2001-01-15 Ulrich Drepper <drepper@redhat.com> - * sysdeps/posix/getaddrinfo.c (gaih_inet): If req->ai_family == - AF_UNSPEC don't allow the IPv6 lookup to return mapped IPv4 addresses. + * stdlib/random.c (__initstate): Clean up a cast. + (__setstate): Likewise. - * nss/nss_files/files-hosts.c (LINE_PARSER): Simplify. Correct - handling of AI_V4MAPPED flag. + * sysdeps/unix/sysv/linux/mips/syscalls.list: Remove select + syscall handling. The generic Linux version should work. - * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname2_r): If lookup - of IPv6 address failed and RES_USE_INET6 bit in _res.options is set, - perform lookup for T_A type and tell getanswer_r to convert the - result with new argument. - (_nss_dns_gethostbyaddr_r): Pass zero as new argument to getanswer_r. - Don't convert addresses from IPv4 to IPv6 here. - (getanswer_r): Take new parameter indicating if mapping from IPv4 to - IPv6 is wanted. Allow qtype and type from reply to disagree if - IPv4 mapping has to be done. Perform mappings if required by the - caller and not if RES_USE_INET6 bit in _res.options is set. - Add several __builtin_expect. +2001-01-15 Andreas Jaeger <aj@suse.de> -2000-05-26 Ulrich Drepper <drepper@redhat.com> + * sysdeps/unix/sysv/linux/sys/sendfile.h: Fix typo. - * catgets/open_catalog.c (__open_catalog): Add a few __builtin_expect. + * stdio-common/tstscanf.c (main): Add two testcases for '*' modifier. - * elf/dl-load.c (_dl_map_object): Don't ignore RPATHs if loader == - NULL. +2001-01-14 Jakub Jelinek <jakub@redhat.com> - * posix/tst-preadwrite.c: Allow parallel execution of - tst-preadwrite and tst-preadwrite64. + * 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. - * posix/Makefile (tests): Add tst-truncate and tst-truncate64. - * posix/tst-truncate.c: New file. - * posix/tst-truncate64.c: New file. +2001-01-14 Thorsten Kukuk <kukuk@suse.de> - * sysdeps/unix/sysv/linux/pread64.c: The little/big endian code - was switched. + * sunrpc/xdr.c (xdr_long, xdr_u_long): Fix comments about these + functions. - * posix/Makefile (tests): Add tst-preadwrite64. - * posix/tst-preadwrite.c: Alloc file being used also for testing - pread64 and pwrite64. - * posix/tst-preadwrite64.c: New file. +2001-01-03 Jakub Jelinek <jakub@redhat.com> -2000-05-26 Andreas Jaeger <aj@suse.de> + * sunrpc/xdr.c (xdr_long, xdr_u_long): Return FALSE if trying to + encode value which does not fit in the 32bit type. - * sysdeps/unix/sysv/linux/ftruncate64.c (ftruncate64): Make order - of arguments dependend on endianness. - * sysdeps/unix/sysv/linux/truncate64.c: Likewise. +2001-01-15 Hiroyuki Machida <machida@sm.sony.co.jp> - * sysdeps/unix/sysv/linux/i386/pread64.c: Removed, we can use the - normal version now. - * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise. - * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise. - * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise. - * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise. + * 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. - * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Check - endianness to check how to pass argument. - * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise. +2001-01-13 Ulrich Drepper <drepper@redhat.com> - * elf/ldconfig.h: Update parameter list for process_elf_file. + * manual/texinfo.tex: Update from upstream version. - * sysdeps/unix/sysv/linux/sparc/readelflib.c (process_elf_file): - Add parameter file_length and pass it ot process_elf*file. +2001-01-13 Jakub Jelinek <jakub@redhat.com> - * sysdeps/generic/readelflib.c (check_ptr): New. - (process_elf_file): Use check_ptr to check all accesses to the - mmapped file. Add parameter file_length. + * inet/ether_ntoh.c (lookup_function): Change arguments to match + _nss_*_getntohost_r prototype. + (ether_ntohost): Pass errno pointer to NSS function. - * elf/readlib.c (known_libs): Use <gnu/lib-names.h> to specify - library names. +2001-01-12 Franz Sirl <Franz.Sirl-kernel@lauterbach.com> - * sunrpc/xdr_intXX_t.c (xdr_uint8_t): Fix conversion. - Closes PR libc/1573, reported by Bradley White - <bww@laurelnetworks.com>. + * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MS_SYNC): Fix value. + (MAP_LOCKED): New definition. + (MAP_NORESERVE): New definition. -2000-05-25 Ulrich Drepper <drepper@redhat.com> +2001-01-12 Ulrich Drepper <drepper@redhat.com> - * sysdeps/i386/fpu/bits/mathinline.h: Define expm1 inline only if - __FAST_MATH__ is defined. + * assert/assert.h: Use static_cast instead of C-style cast for C++. + Patch by Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>. -2000-05-22 Andreas Jaeger <aj@suse.de> +2001-01-12 Ben Collins <bcollins@debian.org> - * math/Makefile: Add -D__FAST_MATH__ to CFLAGS-test-ifloat.c, - CFLAGS-test-idouble.c, CFLAGS-test-ildoubl.c. + * sysdeps/generic/segfault.c (install_handler): Use access, not + __access. - * manual/math.texi (FP Function Optimizations): Document gcc - -ffast-math behaviour with mathinlines. +2001-01-12 Andreas Jaeger <aj@suse.de> - * sysdeps/i386/fpu/bits/mathinline.h: Only use save inline - functions unless -ffast-math is given to gcc. + * 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. -2000-05-23 Jakub Jelinek <jakub@redhat.com> + * locale/localeinfo.h (struct locale_data): Use __flexarr instead + of a zero-length array. - * sysdeps/i386/fpu/bits/mathinline.h (__sincos, __sincosf, - __sincosl): Guard with __USE_GNU. +2001-01-11 Jakub Jelinek <jakub@redhat.com> -2000-05-24 Ulrich Drepper <drepper@redhat.com> + * 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. - * csu/Makefile (routines): Add check_fds. - * elf/rtld.c (dl_main): Call __libc_check_standard_fds for SUID - binaries. Add various __builtin_expect. - * sysdeps/generic/libc-start.c: Move check_fds and helper functions... - * sysdeps/generic/check_fds.c: ...here. New file. +2001-01-11 H.J. Lu <hjl@gnu.org> - * malloc/malloc.c (ptmalloc_init): Only enable debugging for SUID - binaries if file /etc/suid-debug is available. + * 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. - * locale/programs/ld-collate.c (struct element_t): Add mbseqorder - and wcseqorder members. - (struct locale_collate_t): Likewise. - (collate_finish): Assign collation sequence value to each character. - Create tables for output. - (collate_output): Write out tables with collation sequence information. - * locale/C-collate.c: Provide C locale data for collation sequence - table. - * locale/langinfo.h: Add _NL_COLLATE_COLLSEQMB and - _NL_COLLATE_COLLSEQWC. - * locale/categories.def: Add entries for _NL_COLLATE_COLLSEQMB and - _NL_COLLATE_COLLSEQWC. - * posix/fnmatch.c: Define SUFFIX and WIDE_CHAR_VERSION before - include fnmatch_loop.c. - * posix/fnmatch_loop.c: Don't use strcoll while determining whether - character is matched by range expression. Use collation sequence - table. Outside glibc fall back on simple character value comparison. +2001-01-11 Ulrich Drepper <drepper@redhat.com> -2000-05-24 Andreas Jaeger <aj@suse.de> + * 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. - * sysdeps/mips/elf/start.S (ENTRY_POINT): Align stack for double - words. + * Versions.def [ld]: Add GLIBC_2.2.1. - * intl/Makefile: Run gettext-test only if msgfmt is available. +2001-01-10 H.J. Lu <hjl@gnu.org> - * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_LDT_WORKS): - Define it for newer kernels. + * 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. -2000-05-23 Ulrich Drepper <drepper@redhat.com> +2001-01-11 Ulrich Drepper <drepper@redhat.com> - * elf/dl-sym.c: Minor cleanups. + * libio/stdio.h: Remove definition of off_t. - * configure.in: Add test for .protected. - * config.make.in: Add have-protected variable. - * elf/Makefile (tests): Add $(tests-vis-$(have-protected)). - (tests-vis-yes): Add vismain. - (modules-names): Add $(modules-vis-$(have-protected)). - (modules-vis-yes): Add vismod1, vismod2, and vismod3. - Add rules to generate and run vismain. - * elf/vismain.c: New file. - * elf/vismod1.c: New file. - * elf/vismod2.c: New file. - * elf/vismod3.c: New file. +2001-01-11 Andreas Jaeger <aj@suse.de> -2000-05-23 Andreas Jaeger <aj@suse.de> + * wcsmbs/tst-mbrtowc.c (utf8_test): New function by Markus Kuhn + <mkuhn@acm.org>. - * stdio-common/tfformat.c (sprint_doubles): Add testcase for %a. +2001-01-10 Ulrich Drepper <drepper@redhat.com> - * manual/search.texi (Array Sort Function): Document that qsort is - not necessarily in-place. + * sunrpc/Makefile (distribute): Add errqueue.h. - * sunrpc/rpc_main.c (parseargs): Don't accept -M and -N. - Closes PR libc/1731. +2001-01-10 H.J. Lu <hjl@gnu.org> - * csu/munch-tmpl.c (__libc_init): Remove K&R support. - * dirent/scandir64.c: Likewise. - * pwd/getpw.c: Likewise. - * stdlib/bsearch.c (bsearch): Likewise. - * stdlib/tst-strtoll.c: Likewise. - * localedata/collate-test.c: Likewise. - * localedata/xfrm-test.c: Likewise. - * posix/bsd-getpgrp.c: Likewise. - * sysdeps/alpha/fpu/bits/fenv.h: Likewise. - * sysdeps/generic/bits/siginfo.h: Likewise. - * sysdeps/generic/bits/sockaddr.h: Likewise. - * sysdeps/generic/sys/swap.h: Likewise. - * sysdeps/generic/sys/sysinfo.h: Likewise. - * sysdeps/generic/vfork.c: Likewise. - * sysdeps/m68k/fpu/switch/68881-sw.h: Likewise. - * sysdeps/mach/hurd/fdopen.c: Likewise. - * sysdeps/unix/sysv/linux/alpha/sys/acct.h: Likewise. - * sysdeps/unix/sysv/linux/poll.c: Likewise. - * sysdeps/unix/sysv/linux/readv.c: Likewise. - * sysdeps/unix/sysv/linux/writev.c: Likewise. - * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise. - * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise. - * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise. - - * misc/tst-dirname.c: Remove K&R support, use ANSI C prototypes. - * shadow/lckpwdf.c: Likewise. - * stdlib/tst-strtol.c: Likewise. - * sysdeps/generic/tcsetattr.c: Likewise. - * sysdeps/unix/sysv/linux/ttyname.c: Likewise. - * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise. + * sysdeps/ia64/dl-machine.h (TRAMPOLINE_TEMPLATE): Also preserve + r9, r10 and r11 for language specific registers. -2000-05-22 Jakub Jelinek <jakub@redhat.com> +2001-01-10 Jakub Jelinek <jakub@redhat.com> - * elf/dl-load.c (_dl_init_paths): If env_path_list has 0 elements, - free it and set to (void *) -1. + * 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. -2000-05-22 Jakub Jelinek <jakub@redhat.com> +2001-01-10 H.J. Lu <hjl@gnu.org> - * stdio-common/vfscanf.c (__vfscanf): Remove bogus check if '-' is - not the second character in the range. - * stdio-common/tstscanf.c (main): Add testcase for the above. - Reported by jik@kamens.brookline.ma.us. + * sysdeps/unix/sysv/linux/ia64/syscalls.list (s_getpagesize): Removed. -2000-05-21 H.J. Lu <hjl@gnu.org> +2001-01-10 Joseph S. Myers <jsm28@cam.ac.uk> - * elf/do-lookup.h (do_lookup_versioned): Replace reloc_type parameter - with noexec and noplt parameter. - (do_lookup): Likewise. + * CONFORMANCE: Update. - * elf/dl-lookup.c (_dl_lookup_symbol): Change for new parameters of - do_lookup. Support STV_PROTECTED. - (_dl_lookup_symbol_skip): Likewise. - (_dl_lookup_versioned_symbol): Likewise. - (_dl_lookup_versioned_symbol_skip): Likewise. +2001-01-09 Ulrich Drepper <drepper@redhat.com> - * elf/dl-reloc.c (RESOLVE): Check STB_LOCAL instead of ST_VISIBILITY. - - * elf/dl-runtime.c (profile_fixup): Fix a typo in comment. - -2000-05-21 Jakub Jelinek <jakub@redhat.com> - - * sysdeps/arm/bits/huge_val.h: Prereq gcc 2.96+, not 2.95. - * sysdeps/i386/bits/huge_val.h: Likewise. - * sysdeps/ieee754/bits/huge_val.h: Likewise. - * sysdeps/m68k/bits/huge_val.h: Likewise. - * sysdeps/sparc/sparc32/bits/huge_val.h: Likewise. - * sysdeps/sparc/sparc64/bits/huge_val.h: Likewise. - -2000-05-22 Andreas Jaeger <aj@suse.de> - - * iconv/tst-iconv1.c (main): Remove const from inbuf to follow - change in iconv.h. - -2000-05-19 Andreas Jaeger <aj@suse.de> - - * sysdeps/unix/sysv/linux/i386/i686/sysdep.h - (SYSCALL_ERROR_HANDLER): Remove unneeded syscall_error which - breaks compilation without linuxthreads. - -2000-05-21 Ulrich Drepper <drepper@redhat.com> - - * sysdeps/ia64/memccpy.S: New file. - * sysdeps/ia64/memchr.S: New file. - * sysdeps/ia64/memcmp.S: New file. - * sysdeps/ia64/memcpy.S: New file. - * sysdeps/ia64/memmove.S: New file. - * sysdeps/ia64/memset.S: New file. - * sysdeps/ia64/strcat.S: New file. - * sysdeps/ia64/strchr.S: New file. - * sysdeps/ia64/strcmp.S: New file. - * sysdeps/ia64/strcpy.S: New file. - * sysdeps/ia64/strlen.S: New file. - * sysdeps/ia64/strncmp.S: New file. - * sysdeps/ia64/strncpy.S: New file. - * sysdeps/ia64/softpipe.h: New file. - Patches by Dan Pop <Dan.Pop@cern.ch>. - - * manual/memory.texi: Document memory handling functions (mlock, - munlock, mlockall, munlockall, brk, and sbrk) - * manual/time.texi: Document timespec and friends. - * manual/conf.texi: Fix references. - * manual/ctype.texi: Likewise. - * manual/errno.texi: Likewise. - * manual/intro.texi: Likewise. - * manual/locale.texi: Likewise. - * manual/sysinfo.texi: Likewise. - Patches by Bryan Henderson <bryanh@giraffe-data.com>. + * sysdeps/generic/elf/backtracesyms.c (__backtrace_symbols): + Minimal cleanups. Add assert to ensure memory handling is correct. -2000-05-09 Jes Sorensen <jes@linuxcare.com> + * manual/conf.texi (File Minimums): Fix _POSIX_PATH_MAX value. + Reported by Ben Collins <bcollins@debian.org>. - * sysdeps/ia64/dl-machine.h: Move DL_SYMBOL_ADDRESS definition to... - * sysdeps/ia64/dl-lookupcfg.h: ...here. + * time/strftime.c (my_strftime): Mark previous GNU extensions + which are now in C99 as such. -2000-05-21 Jakub Jelinek <jakub@redhat.com> +2001-01-08 Ulrich Drepper <drepper@redhat.com> - * sysdeps/unix/sysv/linux/scsi/sg.h (sg_io_hdr_t): Remove duplicate - dxfer_direction. + * elf/rtld.c (process_envvars): Place output files for profiling + in SUID binaries in /var/profile. -2000-05-21 Ulrich Drepper <drepper@redhat.com> + * elf/dl-load.c (_dl_map_object): Don't look in cache for + preloading in SUID binaries. - * locale/locale.h (struct lconv): Add new elements from ISO C99. - * locale/localeconv.c: Initialize new elements from ISO C99. - * locale/langinfo.h: Remove _NL_MONETARY prefix from descriptors for - new standard elements. - * locale/categories.def: Adjust accordingly. + * elf/dl-profile.c (_dl_start_profile): Open the output file with + O_NOFOLLOW if possible. - * iconv/iconv.h (iconv): Remove const from inbuf parameter. - * iconv/iconv.c: Likewise. - * conform/data/iconv.h-data: Likewise. - * iconv/iconv_prog.c (process_block): Remove const from second - parameter. - (main): Remove const from addr definition. - * manual/charset.texi (Generic Conversion Interface): Remove from - inbuf parameter of iconv. + * 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. - * intl/dcigettext.c: Fix typo in comment. + * time/Makefile (tests): Add tst-mktime. + * time/tst-mktime.c: New file. -2000-05-20 2000 H.J. Lu <hjl@gnu.org> + * posix/tst-dir.c (main): One more mkdir() test. - * resolv/res_libc.c (_res): Initialize _sock to -1. + * sysdeps/unix/sysv/linux/ia64/getpagesize.c (__getpagesize): + Remove getpagesize syscall. We assume that the pagesize is always + determined from the auxiliary vector. -2000-05-18 Jakub Jelinek <jakub@redhat.com> + * intl/dcigettext.c: Fix a few warnings. + Patch by Bruno Haible <haible@ilog.fr>. - * libio/iofopncook.c (_IO_fopencookie): Renamed from fopencookie. - (fopencookie@@GLIBC_2.2): New. - (_IO_old_cookie_seek, _IO_old_fopencookie, _IO_old_cookie_jumps): New. - (fopencookie@GLIBC_2.0): New. - * libio/Versions: Add fopencookie to GLIBC_2.2. +2001-01-08 Andreas Jaeger <aj@suse.de> -2000-05-18 Andreas Jaeger <aj@suse.de> + * io/test-lfs.c (do_test): Check lseek64 return for EINVAL. + Reported by Joseph S. Myers <jsm28@cam.ac.uk>. - * sunrpc/rpc_main.c (parseargs): Don't accept -M and -N. - Closes PR libc/1731. +2001-01-08 Ulrich Drepper <drepper@redhat.com> - * manual/arith.texi (Parsing of Integers): Fix typo. - Closes PR libc/1744, reported by blp@gnu.org. + * sysdeps/generic/segfault.c (install_handler): Check output file + name with access(). -2000-05-17 Jakub Jelinek <jakub@redhat.com> + * resolv/res_query.c: Use simply getenv() for HOSTALIASES. + * sysdeps/generic/unsecvars.h (UNSECURE_ENVVARS): Add HOSTALIASES. - * sysdeps/arm/bits/huge_val.h (HUGE_VAL, HUGE_VALF): Add - __extension__ to hexadecimal floating constant notation. - * sysdeps/i386/bits/huge_val.h (HUGE_VAL, HUGE_VALF, HUGE_VALL): - Likewise. - * sysdeps/ieee754/bits/huge_val.h (HUGE_VAL, HUGE_VALF): Likewise. - * sysdeps/m68k/bits/huge_val.h (HUGE_VAL, HUGE_VALF, HUGE_VALL): - Likewise. - * sysdeps/sparc/sparc64/bits/huge_val.h (HUGE_VAL, HUGE_VALF, - HUGE_VALL): Likewise. - * sysdeps/sparc/sparc32/bits/huge_val.h (HUGE_VAL, HUGE_VALF, - HUGE_VALL): Likewise. - (HUGE_VALL): Set to HUGE_VAL on sparc32. + * sysdeps/generic/unsecvars.h (UNSECURE_ENVVARS): Add missing comma. -2000-05-17 Andreas Jaeger <aj@suse.de> + * malloc/memusage.c (me): Use access() to determine whether we + should write the output file or not. - * string/envz.h: Add pure attributes if possible. + * libio/bits/stdio.h (printf): Define macro to map printf call to + fprintf which gcc can optimize. + * stdio-common/printf.c: Undefine printf. - * string/argz.h: argz_count is a pure function. +2001-01-07 Ulrich Drepper <drepper@redhat.com> - * string/strings.h: Add pure and const attributes if possible. + * sysdeps/generic/bits/byteswap.h (__bswap_64): Partly revert last + patch. We must use unsigned int for l member of union. - * sysdeps/generic/memmem.c (memmem): Check arguments to avoid - possibly searching through the whole memory. - Closes PR libc/1730, reported by Greg Hudson <ghudson@mit.edu>. + * sysdeps/powerpc/elf/libc-start.c (__libc_start_main): Don't call + _dl_aux_init for shared libraries. -2000-05-17 Jakub Jelinek <jakub@redhat.com> + * sysdeps/unix/sysv/linux/glob64.c: Moved to ... + * sysdeps/gnu/glob64.c: ...here. New file. - * sysdeps/generic/dl-cache.h (_DL_CACHE_DEFAULT_ID): Only define if - not yet defined. - (_dl_cache_check_flags): Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc64/dl-cache.h: include_next - dl-cache.h. +2001-01-07 Ben Collins <bcollins@debian.org> -2000-05-17 Andreas Jaeger <aj@suse.de> + * 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. - * manual/creature.texi (Feature Test Macros): Remove paragraph - since the description is wrong. - Closes PR libc/1691, reported by Geoff Clare <gwc@unisoft.com>. + * manual/sysinfo.texi (Load Average): New section, documents + getloadavg(). - * scripts/config.sub: New version. - * scripts/config.guess: Likewise. - * manual/texinfo.tex: Likewise. +2001-01-06 Ulrich Drepper <drepper@redhat.com> - * time/test_time.args: Removed. - * time/Makefile (test_time-ARGS): Added contents here instead. + * version.h (VERSION): Bump to 2.2.1. - * posix/tstgetopt.args: Removed. - * posix/Makefile (tstgetopt-ARGS): Added contents here instead. + * 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. - * Rules: Allow arguments for test files to be specified in - Makefile with testname-ARGS; remove rules with .args in it. + * iconvdata/ibm937.c (BODY to IBM937): Correct several mistakes in + buffer and table handling. - * dirent/Makefile (opendir-tst1-ARGS): Use this for opendir-tst1, - remove old bogus rule for opendir-tst1.args. +2001-01-05 H.J. Lu <hjl@gnu.org> - * stdlib/test-canon.c: Rewrite to use test-skeleton.c. + * 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. - * stdlib/Makefile (test-canon-ARGS): New, supply argument to chdir - into objdir. This allows a readonly sourcetree. - Reported by lrgallardo@yahoo.com, closes PR libc/1421. + * sysdeps/generic/libc-start.c (__libc_start_main): Call + _dl_aux_init for static binaries if HAVE_AUX_VECTOR is defined. -2000-05-16 Andreas Jaeger <aj@suse.de>, - David Huggins-Daines <dhd@linuxcare.com> + * sysdeps/powerpc/elf/libc-start.c (__libc_start_main): Call + _dl_aux_init. - * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Set - cache_data in case of only new cache format correctly. + * sysdeps/unix/sysv/linux/ldsodefs.h (DL_FIND_AUXV): Removed. + (HAVE_AUX_VECTOR): Defined. + (_dl_aux_init): Declared. - * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Align struct - cache_file_new. +2001-01-05 Ben Collins <bcollins@debian.org> - * sysdeps/generic/dl-cache.h (ALIGN_CACHE): New macro to align - struct cache_file_new. + * manual/string.texi (Finding Tokens in a String): Document XPG + basename() and dirname(), as well as GNU basename(). - * elf/cache.c (save_cache): Fix str_offset if only new cache is - present. +2001-01-05 Jakub Jelinek <jakub@redhat.com> - * elf/cache.c (save_cache): Align struct new_file_cache. - (print_cache): Likewise. + * Makeconfig (preprocess-version): Replace -traditional with + -x assembler-with-cpp. -2000-05-13 Jakub Jelinek <jakub@redhat.com> +2001-01-05 Joseph S. Myers <jsm28@cam.ac.uk> - * elf/soinit.c (__libc_global_ctors): Move - __pthread_initialize_minimal call out of HAVE_DWARF2_* defines. - * resolv/resolv.h (__res_state): Added __attribute__((const)). - (_res): If __RES_PTHREAD_INTERNAL is defined, declare it as - variable, don't define it to __res_state call. + * math/bits/cmathcalls.h: Don't define inline cimag, creal or conj + for GCC 2.97 or later. -2000-05-13 Andreas Jaeger <aj@suse.de> +2001-01-05 Ben Collins <bcollins@debian.org> - * sysdeps/unix/sysv/linux/bits/socket.h (PF_PPPOX): New, from - Linux 2.3.99pre7. - (AF_PPPOX): Likewise. - * sysdeps/unix/sysv/linux/mips/bits/socket.h (PF_PPPOX): Likewise. - (AF_PPPOX): Likewise. + * manual/stdio.texi (getline): Clarify the return value in the + case of EOF being reached before a newline. -2000-05-12 Andreas Jaeger <aj@suse.de> +2001-01-04 Jakub Jelinek <jakub@redhat.com> - * inet/netinet/in.h (IN6_ARE_ADDR_EQUAL): Correct indices. - Reported by tmoestl@gmx.net, closes PR libc/1732. + * sunrpc/pmap_clnt.c (__get_myaddress): Return TRUE if successful, + FALSE otherwise. + (pmap_set, pmap_unset): Check __get_myaddress return value. -2000-05-11 Jan Hubicka <jh@suse.cz> +2001-01-05 Mark Kettenis <kettenis@gnu.org> - * misc/sys/cdefs.h: Add support for pure attribute. + * 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__)). - * include/string.h: Add __attribute_pure__ to various functions. - * string/string.h: Likewise. +2001-01-06 Mark Kettenis <kettenis@gnu.org> -2000-05-10 Jakub Jelinek <jakub@redhat.com> + * sysdeps/mach/hurd/readdir64.c: New file. + * sysdeps/mach/hurd/readdir64_r.c: New file. - * elf/dl-reloc.c (_dl_reloc_bad_type): Sync messages with plt - argument. - * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle - R_SPARC_UA64. - * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: New file. +2001-01-07 Mark Kettenis <kettenis@gnu.org> -2000-05-10 Jakub Jelinek <jakub@redhat.com> + * sysdeps/mach/hurd/fstatvfs.c (fstatvfs): Add comment about + `struct statfs' and `struct statvfs' being identical. + * sysdeps/mach/hurd/statvfs.c (statvfs): Likewise. - * elf/dl-reloc.c (_dl_reloc_bad_type): Write type into the message - at proper place. Compute the high nibble correctly. +2001-01-06 Mark Kettenis <kettenis@gnu.org> -2000-05-09 Jakub Jelinek <jakub@redhat.com> + * 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. - * elf/ldconfig.c: Include elf.h. +2001-01-06 Ulrich Drepper <drepper@redhat.com> - * elf/dl-sym.c (_dl_sym): Test ref not result for non-zero. - (_dl_vsym): Likewise. + * 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. - * elf/dl-deps.c (_dl_map_object_deps): Zero terminate L->l_initfini - always. + * 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. -2000-05-08 Andreas Jaeger <aj@suse.de> + * iconvdata/testdata/IBM930: Add misssing SI. + * iconvdata/testdata/IBM933: Likewise. + * iconvdata/testdata/IBM935: Likewise. + * iconvdata/testdata/IBM937: Likewise. + * iconvdata/testdata/IBM939: Likewise. - * include/libintl.h: Add prototype for __bind_textdomain_codeset. +2001-01-06 Andreas Jaeger <aj@suse.de> - * intl/bindtextdom.c (set_binding_values): Add prototype. + * configure.in: Check for old add-ons that shouldn't be used with + current glibc anymore. -2000-05-08 Jakub Jelinek <jakub@redhat.com> +2001-01-06 Mark Kettenis <kettenis@gnu.org> - * sysdeps/alpha/dl-machine.h (elf_machine_rela): Fix arguments in - call to elf_machine_fixup_plt. - * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise. - * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise. + * 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. -2000-05-08 Jakub Jelinek <jakub@redhat.com> +2001-01-06 Mark Kettenis <kettenis@gnu.org> - * elf/dl-fini.c (_dl_fini): Bump l_opencount of all objects so that - they are not dlclose'd from underneath us. + * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Don't forget to + copy st_atime member. -2000-05-08 Andreas Schwab <schwab@suse.de> +2001-01-05 Ulrich Drepper <drepper@redhat.com> - * posix/execle.c: Fix size parameter of memcpy. + * 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. -2000-05-08 Andreas Schwab <schwab@suse.de> + * 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. - * sysdeps/unix/sysv/linux/m68k/getpagesize.c: New file. Use - getpagesize syscall if available. - -2000-05-08 Andreas Jaeger <aj@suse.de> - - * sysdeps/generic/lockf64.c (lockf64): Return -1 for overflow and - set errno. - -2000-05-08 Jakub Jelinek <jakub@redhat.com> - - * elf/dl-lookup.c (add_dependency): Reallocate l_reldeps in - sizeof(struct link_map *) chunks, not in bytes. - -2000-05-07 Ulrich Drepper <drepper@redhat.com> - - * locale/Makefile (locale-CPPFLAGS): Renamed from CPPFLAGS. It's - only needed for locale. - * catgets/Makefile (catgets-CPPFLAGS): Renamed from CPPFLAGS. - It's only needed for catgets. - Patches by Greg McGary <gkm@eng.ascend.com>. - -2000-05-07 Mark Kettenis <kettenis@gnu.org> - - * nss/nss_db/db-open.c: Cleanup and add comments. Pretty print. - Remove duplicate <errno.h> include. Remove inclusion of - <libintl.h> and "nsswitch.h". - (set_cloexec_flag): New function, broken out of dbopen. - (dbopen): Changed return type to `enum - nss_status'. Mostly rewritten to make sure that we do not report - NSS_STATUS_SUCCESS if something went wrong. Remove unnecessary casts. - (internal_setent): Change return type to nss_status. - Document, and make sure that the function - behaves accordingly. Make dynamically loading the database - library really thread-safe and return NSS_STATUS_UNAVAIL if it - failed. - (db_cursor): Return ENOMEM is memory allocation failed. Remove - unecessary casts. - * nss/nss_db/dummy-db.h: Add copyright notice. Improve - documentation. - (struct dbc24, struct dbc27): Use DBT type in parameter lists for - c_get function member. - * nss/nss_db/nss_db.h: Add and tweak some comments. - (DBT): Move typedef before NSS_DBC typedef. - (NSS_DBC, NSS_DB): Use DBT in function member parameter lists. - -2000-05-07 H.J. Lu <hjl@gnu.org> - - * csu/initfini.c: Moved to .... - * sysdeps/generic/initfini.c: ...here. - - * csu/Makefile (initfini.c): Set vpath to $(full_config_sysdirs). - -2000-05-07 Ulrich Drepper <drepper@redhat.com> - - * manual/resource.texi: Document POSIX scheduling functions. - Patch by Bryan Henderson <bryanh@giraffe-data.com>. - - * inet/rcmd.c (rcmd_af): errno is not set if read returns without - reading anything. Reported by Andries.Brouwer@cwi.nl. - - * sysdeps/generic/memccpy.c (__memccpy): Don't use reg_char type - for x since promotion in comparison might leads to unexpected - results. Reported by Dan Pop <Dan.Pop@cern.ch>. - - * iconv/Makefile (tests): Add tst-iconv1. - * iconv/tst-iconv1.c: New file. - * iconv/gconv_simple.c (internal_ucs4_loop): Prefer reporting - empty input buffer over full output buffer. + * 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 yaoz@nih.gov. - -2000-05-06 Bruno Haible <haible@clisp.cons.org> - - * iconv/gconv_open.c (__gconv_open): If __gconv_find_transform - returned != __GCONV_OK, there is nothing to clean up. + 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. -2000-05-06 Bruno Haible <haible@clisp.cons.org> +2001-01-04 Ulrich Drepper <drepper@redhat.com> - * intl/tst-gettext.c (main): Disable possibly existing LC_CTYPE and - OUTPUT_CHARSET environment variables. + * intl/plural.y (yylex): Minimal improvement in number scanner. -2000-05-06 Andreas Jaeger <aj@suse.de> +2000-07-31 Bruno Haible <haible@clisp.cons.org> - * sysdeps/generic/dl-cache.h (struct file_entry_new): New. - (struct cache_file_new): New. - (struct file_entry): New (moved from cache.c). - (struct cache_file): New (moved from cache.c). + * 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. - * sysdeps/generic/dl-cache.c (SEARCH_CACHE): New macro, broken out - from _dl_load_cache_lookup. - (_dl_load_cache_lookup): Move search to SEARCH_CACHE macro, handle - the different cache formats. - New variable cache_new for new format. +2000-10-12 Bruno Haible <haible@clisp.cons.org> - * elf/ldconfig.h: Change according to changes in cache.c and - ldconfig.c; remove cache_libcmp; add opt_format. + * intl/finddomain.c: Remove unneeded includes. - * elf/ldconfig.c: Include "dl-cache.h" and "dl-procinfo.h"; remove - stuff that's defined in those headers. - Add hwcap to struct lib_entry. - (opt_format): New variable to select cache format. - (options): Add format parameter. - (is_hwcap): New function. - (path_hwcap): New function. - (parse_opt): Handle new format parameter. - (search_dir): Handle hwcap, search also subdirectories with hwcap. +2000-10-12 Bruno Haible <haible@clisp.cons.org> - * elf/cache.c (_GNU_SOURCE): Removed. Not needed anymore since - ldconfig is part of glibc. - Include dl-cache.h and remove stuff that's defined there. - (struct cache_entry): Add new member hwcap. - (print_entry): Print hwcap, cleanup a bit. - (print_cache): Print new and old formats. - (compare): Use _dl_cache_libcmp from dl-cache.h; handle hwcap. - (save_cache): Save new and old formats. - (add_to_cache): Handle hwcap. + * 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>. - * sysdeps/generic/dl-cache.c (_dl_cache_libcmp): Moved from here... - * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): ...to here. - * sysdeps/generic/dl-cache.c (LD_SO_CACHE): Moved from here... - * sysdeps/generic/dl-cache.h (LD_SO_CACHE): ...to here. - * sysdeps/generic/dl-cache.c (CACHEMAGIC): Moved from here... - * sysdeps/generic/dl-cache.h (CACHEMAGIC): ...to here. +2001-01-03 Jakub Jelinek <jakub@redhat.com> -2000-05-05 Bruno Haible <haible@clisp.cons.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/dcigettext.c (alignof): New macro. - (_nl_find_msg): Use it instead of __alignof__. Pass correct output - buffer length to __gconv/iconv. If malloc (freemem_size) fails, set - freemem_size to 0. +2001-01-04 Ulrich Drepper <drepper@redhat.com> -2000-05-05 Bruno Haible <haible@clisp.cons.org> + * malloc/mtrace.pl: Fix matching of addresses. + Patch by Aharon Robbins <arnold@skeeve.com>. - * intl/dcigettext.c (dcigettext): Fix interpretation of tsearch - return value. + * Versions.def (ld): Add GLIBC_2.2. -2000-05-06 Ulrich Drepper <drepper@redhat.com> + * 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. - * intl/dcigettext.c (DCIGETTEXT): Always define local variable `index'. - (mempcpy): Correct typo is parameter list. +2001-01-04 Mark Kettenis <kettenis@gnu.org> -2000-05-06 Andreas Jaeger <aj@suse.de> + * include/stdio.h: Only provide __getwc_unlocked prototype if + USE_IN_LIBIO is defined. - * sysdeps/i386/fpu/bits/mathinline.h: Disable some inline - functions unless -ffast-math is given to gcc. +2001-01-04 Kaz Kojima <kkojima@rr.iij4u.or.jp> -2000-05-06 Ulrich Drepper <drepper@redhat.com> + * sysdeps/unix/sysv/linux/sh/socket.S (__socket): Fix error code + handling. - * po/ko.po: Update from translation team. +2001-01-03 Andreas Schwab <schwab@suse.de> -2000-05-05 Ulrich Drepper <drepper@redhat.com> + * sysdeps/generic/strtoll.c: Remove unused __strtoq_internal alias. + * sysdeps/generic/strtoull.c: Remove unused __strtouq_internal alias. - * sysdeps/unix/sysv/aix/linux/errnoconv.c: Moved to... - * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: ...here. - * sysdeps/unix/sysv/aix/linux/statconv.c: Moved to... - * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: ...here. - * sysdeps/unix/sysv/aix/linux/direntconv.c: Moved to... - * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: ...here. + * 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. - * sysdeps/unix/sysv/aix/linux/linux-errno.h: Removed. - * sysdeps/unix/sysv/aix/linux/linux-stat.h: Removed - * sysdeps/unix/sysv/aix/linux/linux-dirent.h: Removed. + * 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. - * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: New file. - * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: New file. - * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: New file. - * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: New file. + * 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. - * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: New file. - * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: New file. +2001-01-04 Andreas Jaeger <aj@suse.de> -2000-05-05 Jes Sorensen <jes@linuxcare.com> + * nss/nsswitch.c: Include files for missing prototypes, remove + buggy declaration of prototypes. - * sysdeps/unix/sysv/linux/ia64/sysdep.h: New file. - * sysdeps/unix/sysv/linux/ia64/syscall.S: New file. +2001-01-03 Franz Sirl <Franz.Sirl-kernel@lauterbach.com> - * sysdeps/unix/sysv/linux/ia64/bits/types.h: New file. - * sysdeps/unix/sysv/linux/ia64/bits/endian.h: New file. + * resolv/Versions: Fix bracing. + * sysdeps/powerpc/soft-fp/Versions: Likewise. + * sysdeps/sparc/sparc64/soft-fp/Versions: Likewise. - * sysdeps/ia64/Implies: New file. - * sysdeps/ia64/Versions: New file. Declare _dl_symbol_address. - * sysdeps/ia64/Makefile: New file. - * sysdeps/ia64/gmp-mparam.h: New file, +2001-01-02 Franz Sirl <Franz.Sirl-kernel@lauterbach.com> - * sysdeps/ia64/elf/start.S: New file. + * sysdeps/powerpc/dl-machine.c (__process_machine_rela): Fix typo. - * sysdeps/ia64/bits/fenv.h: New file. +2001-01-02 Ulrich Drepper <drepper@redhat.com> -2000-05-05 David Mosberger-Tang <davidm@hpl.hp.com> + * manual/Makefile (TEXI2PDF): Change to texi2dvi --pdf. + Suggested by Minko Markov <mmarkov@home.com>. - * sysdeps/unix/sysv/linux/ia64/sysdep.S: New file. +2001-01-02 Franz Sirl <Franz.Sirl-kernel@lauterbach.com> -2000-04-26 Jes Sorensen <Jes.Sorensen@cern.ch> + * 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/ia64/bits/elfclass.h: New file. The - ia64 has 64 bit .hash entries just as the Alpha. +2001-01-02 Ben Collins <bcollins@debian.org> -2000-04-25 Jes Sorensen <Jes.Sorensen@cern.ch> + * time/tzset.c (tzset_internal): Make sure we fall back to UTC + if TZ is not set and TZDEFAULT is not present. - * sysdeps/ia64/memprof.h: New file. Provide GETSP() macro. +2001-01-01 Ben Collins <bcollins@debian.org> -2000-04-17 Jes Sorensen <Jes.Sorensen@cern.ch> + * 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/ia64/fpu/fclrexcpt.c: New file. - * sysdeps/ia64/fpu/fedisblxcpt.c: New file. - * sysdeps/ia64/fpu/feenablxcpt.c: New file. - * sysdeps/ia64/fpu/fegetenv.c: New file. - * sysdeps/ia64/fpu/fegetexcept.c: New file. - * sysdeps/ia64/fpu/fegetround.c: New file. - * sysdeps/ia64/fpu/feholdexcpt.c: New file. - * sysdeps/ia64/fpu/fesetenv.c: New file. - * sysdeps/ia64/fpu/fesetround.c: New file. - * sysdeps/ia64/fpu/feupdateenv.c: New file. - * sysdeps/ia64/fpu/fgetexcptflg.c: New file. - * sysdeps/ia64/fpu/fraiseexcpt.c: New file. - * sysdeps/ia64/fpu/fsetexcptflg.c: New file. - * sysdeps/ia64/fpu/ftestexcept.c: New file. +2001-01-02 Ulrich Drepper <drepper@redhat.com> -2000-05-05 Andreas Jaeger <aj@suse.de> + * dlfcn/dlerror.c (dlerror): Handle call of dlerror() before any + other dlopen() and dlsym(). + Based on a patch by Ben Collins <bcollins@debian.org>. - * misc/tst-tsearch.c (main): Correct type for initstate argument. +2001-01-02 Andreas Jaeger <aj@suse.de> - * sysdeps/generic/dl-procinfo.h (_DL_HWCAP_COUNT): New. - (_dl_string_hwcap): New, does nothing. + * dlfcn/errmsg1.c (main): Call dlerror initially. + Reported by Ben Collins <bcollins@debian.org>. - * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (_DL_HWCAP_COUNT): New. - (_dl_procinfo): Use _DL_HWCAP_COUNT instead of a constant. - (_dl_string_hwcap): New function, converts from string to hwcap - encoding. - * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h - (_DL_HWCAP_COUNT): New. - (_dl_procinfo): Use _DL_HWCAP_COUNT instead of a constant. - (_dl_string_hwcap): New function, converts from string to hwcap - encoding. - * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h - (_DL_HWCAP_COUNT): New. - (_dl_procinfo): Use _DL_HWCAP_COUNT instead of a constant. - (_dl_string_hwcap): New function, converts from string to hwcap - encoding. +2001-01-02 Ulrich Drepper <drepper@redhat.com> -2000-05-05 Ulrich Drepper <drepper@redhat.com> + * 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. - * elf/Makefile (distribute): Add dl-lookupcfg.h. - * sysdeps/ia64/Dist: New file. +2001-01-02 Andreas Jaeger <aj@suse.de> - * elf/dl-load.c (_dl_map_object_from_fd): Little of computation of - parameter to mprotect and for variable assignments. + * 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. -2000-05-03 Jes Sorensen <jes@linuxcare.com> + * stdio-common/vfscanf.c (__vfscanf): Use WINT_T for done. - * sysdeps/generic/ldsodefs.h (LOOKUP_VALUE_ADDRESS): Check the - validity of map before dereferencing it. + * sysdeps/generic/strtol.c (strtol): Make cnt size_t for correct + signedness. - * elf/dl-reloc.c (RESOLVE_MAP): Define. + * 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. -2000-05-02 Jes Sorensen <jes@linuxcare.com> + * sysdeps/generic/dl-sysdep.c (_dl_important_hwcaps): Make + constant unsigned. - * elf/dl-runtime.c (fixup): Add the value returned in the symbol - lookup to the arguments to elf_machine_fixup_plt(). +2001-01-01 Andreas Jaeger <aj@suse.de> - * sysdeps/ia64/dl-machine.h (elf_machine_fixup_plt): Add Link_map - of the symbol being resolved to input argument list and make the - function return the pointer to the reloc. + * inet/rcmd.c (rcmd_af): Use socklen_t for len. - * sysdeps/alpha/dl-machine.h (elf_machine_fixup_plt): Change - return valuie to lookup_t and return the value. - * sysdeps/arm/dl-machine.h (elf_machine_fixup_plt): Likewise. - * sysdeps/generic/dl-machine.h (elf_machine_fixup_plt): Likewise. - * sysdeps/i386/dl-machine.h (elf_machine_fixup_plt): Likewise. - * sysdeps/m68k/dl-machine.h (elf_machine_fixup_plt): Likewise. - * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_fixup_plt): Likewise. - * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_fixup_plt): Likewise. +2000-12-31 Andreas Jaeger <aj@suse.de> - * sysdeps/powerpc/dl-machine.h (elf_machine_fixup_plt): Likewise. - Make it an inline function returning value after calling - __elf_machine_fixup_plt(). + * include/libc-internal.h: Add prototype for __libc_freeres. - * elf/dl-sym.c (_dl_vsym): Use DL_SYMBOL_ADDRESS() to obtain the - symbol address. + * 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. - * elf/dl-symbol.c (_dl_symbol_value): Use LOOKUP_VALUE_ADDRESS to - obtain the symbol address. + * 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. + + * locale/localeinfo.h: Add internal prototypes. + + * elf/rtld.c (dl_main): Fix prototype. + + * iconvdata/tst-table-to.c (main): Use return instead of exit to + avoid warning. + + * nis/rpcsvc/yp_prot.h: Remove __P. + * nis/rpcsvc/ypupd.h: Likewise. + * nis/rpcsvc/yp.h: Likewise. + + * sunrpc/rpc_main.c: Add noreturn attributes. + * sunrpc/rpc_scan.h: Likewise. - * sysdeps/generic/ldsodefs.h: Add generic DL_SYMBOL_ADDRESS() macro - depending on the definition of ELF_FUNCTION_PTR_IS_SPECIAL. + * sunrpc/rpc_hout.c (storexdrfuncdecl): Make static. - * sysdeps/ia64/dl-machine.h: Add DL_SYMBOL_ADDRESS() macro calling - _dl_symbol_address() - this way DL_SYMBOL_ADDRESS() turns into an - inline on non ia64. + * sunrpc/rpcinfo.c: Add noreturn attribute to brdcst. -2000-04-28 Jes Sorensen <jes@linuxcare.com> + * sunrpc/proto.h: Add noreturn attributes to error and crash. - * elf/dl-runtime.c (fixup): Use the portable macros to get the - symbol address of an object. + * posix/bsd-getpgrp.c: Add prototype to avoid warning. - * elf/dl-runtime.c (fixup-profile): Use the portable macros to get - the symbol address of an object. + * sunrpc/svc_unix.c: Include <rpc/svc.h> for prototypes. - * elf/dl-libc.c (struct do_dlsym_args): Change loadbase to a lookup_t. - * elf/dl-lookup.c (_dl_lookup_symbol): Likewise. - (_dl_lookup_symbol_skip): Likewise. - (_dl_lookup_versioned_symbol): Likewise. - (_dl_lookup_versioned_symbol_skip): Likewise. + * sunrpc/create_xid.c: Include <rpc/svc.h> for prototypes. -2000-04-27 Jes Sorensen <jes@linuxcare.com> + * 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. - * elf/rtld.c (_dl_start): Get the function pointer return address - via _dl_start_address for architectures that need a function - pointer descriptor rather than just a pointer (ia64). + * include/rpc/des_crypt.h: New file. - * sysdeps/generic/dl-lookupcfg.h: New file. - * sysdeps/ia64/dl-lookupcfg.h: New file. - * sysdeps/ia64/dl-machine.h: New file. - * sysdeps/ia64/dl-symaddr.c: New file. - * sysdeps/ia64/dl-fptr.c: 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. - * elf/elf.h: Add IA-64 specific definitions. + * stdlib/tst-random.c: Add attribute noreturn to fail. -2000-05-04 Jakub Jelinek <jakub@redhat.com> +2000-12-28 Wolfram Gloger <wg@malloc.de> - * sysdeps/generic/bits/confname.h (_SC* enum): Avoid comma at the - end of enum. + * malloc/malloc.c (MALLOC_COPY): Handle case if source and + destination overlap. Assume dest is always below source if + overlapping. -2000-05-04 Jakub Jelinek <jakub@redhat.com> +2000-12-30 Ulrich Drepper <drepper@redhat.com> - * iconv/gconv.h (__gconv_t): Add __extension__ to make gcc -pedantic - happy. + * elf/dl-close.c (_dl_close): We can ignore the NODELETE flag if the + object was not yet initialized. -2000-04-11 Geoff Keating <geoffk@cygnus.com> +2000-12-28 H.J. Lu <hjl@gnu.org> - * sysdeps/powerpc/dl-start.S (_dl_start): Add _dl_start_user - symbol. Call _dl_init rather than the old way. + * elf/dl-deps.c (_dl_map_object_deps): Make sure the DSO state + is always consistent even if its dependency is failed. -2000-05-04 Ulrich Drepper <drepper@redhat.com> + * elf/dl-open.c (_dl_open): Increment the open count before + calling _dl_close () in case of failure. - * elf/dl-open.c (dl_open_worker): Use l_map_start and l_map_end to - test for pointer in range of DSO address space. + * elf/neededtest4.c: New file. + * elf/neededobj5.c: New file. + * elf/neededobj6.c: New file. -2000-05-04 Andreas Jaeger <aj@suse.de> + * 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. - * nscd/pwdcache.c (addpwbyname): Initialize oldeuid to silence GCC. +2000-12-28 Joseph S. Myers <jsm28@cam.ac.uk> -2000-05-03 Ulrich Drepper <drepper@redhat.com> + * misc/sys/cdefs.h (__attribute_format_strfmon__): Define. + * stdlib/monetary.h: Add strfmon format attributes. - * locale/findlocale.c (_nl_find_locale): Add new parameter to - calls of _nl_make_l10nflist. +2000-12-28 Roland McGrath <roland@frob.com> - * libio/stdio.h: Make fseeko and ftello prototypes available is - __USE_LARGEFILE. Patch by Paul Eggert <eggert@twinsun.com>. + * sysdeps/mach/hurd/ioctl.c (do_ioctl): Avoid double-increment after + __mempcpy does it for us. - * sysdeps/generic/dl-environ.c (unsetenv): Follow change to the - real unsetenv implementation from 1999-07-29 [PR libc/1714]. +2000-12-28 Andreas Jaeger <aj@suse.de> -2000-05-03 Bruno Haible <haible@clisp.cons.org> + * sysdeps/generic/dl-environ.c: Add prototype for unsetenv. - * intl/dcigettext.c (dcigettext): Do the defaulting of 'domainname' - before calling tfind. + * sysdeps/unix/sysv/linux/i386/setrlimit.c: Add prototype for + __new_setrlimit. -2000-03-05 Jakub Jelinek <jakub@redhat.com> + * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Add prototype for + __old_getrlimit64. - * resolv/resolv.h (res_querydomain): Remove redefinition to - __res_querydomain (reported by Owen Taylor <otaylor@redhat.com>). + * sysdeps/unix/sysv/linux/i386/getrlimit.c: Add prototype for + __new_getrlimit. + + * sysdeps/unix/sysv/linux/i386/chown.c: Add prototypes for + __chown_is_lchown and __real_chown. + + * sysdeps/generic/ldsodefs.h: Add noreturn attribute to + _dl_reloc_bad_type. + + * 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. -2000-05-03 Ulrich Drepper <drepper@redhat.com> + * 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. - * po/gl.po: Update from translation team. +2000-12-22 Ben Collins <bcollins@debian.org> - * manual/intro.texi (Program Basics): Change section title. - * manual/process.texi: Fix reference. - (Executing a File): Add reference exec in other section. - * manual/signal.texi: Fix reference. - * manual/startup.texi: Document syscall function. - Patches by Bryan Henderson <bryanh@giraffe-data.com>. - -2000-04-29 Bruno Haible <haible@clisp.cons.org> - - * intl/libintl.h (bind_textdomain_codeset): New declaration. - * intl/bindtextdom.c (set_binding_values): New function. - (bindtextdomain): Call it. - (bind_textdomain_codeset): New function. - * intl/dcigettext.c (dcigettext): Pass binding to _nl_find_domain. - (free_mem): Free each binding's codeset. - * intl/gettextP.h (struct binding): Add codeset field. - (_nl_find_domain): Add domainbinding argument. - * intl/finddomain.c (_nl_find_domain): Add domainbinding argument. - Pass it to _nl_make_l10nflist. - * intl/loadinfo.h (struct loaded_l10nfile): Add domainbinding field. - (_nl_make_l10nflist): Add domainbinding argument. - * intl/l10nflist.c (_nl_make_l10nflist): Add domainbinding argument. - * intl/loadmsgcat.c (_nl_load_domain): Look at the domainbinding's - codeset when determining outcharset. If !_LIBC && HAVE_ICONV, call - locale_charset(). - * manual/message.texi: New node "Charset conversion in gettext". - -2000-04-30 Bruno Haible <haible@clisp.cons.org> - - * catgets/open_catalog.c (__open_catalog): Use __builtin_expect where - appropriate. Handle possible __read error. - -2000-04-29 Bruno Haible <haible@clisp.cons.org> - - * intl/gettextP.h (__builtin_expect): Define as empty if not a - compiler builtin. - * intl/loadinfo.h (__builtin_expect): Likewise. - * intl/dcigettext.c (dcigettext, _nl_find_msg): Use - __builtin_expect where appropriate. - * intl/loadmsgcat.c (_nl_load_domain): Likewise. - * intl/localealias.c (extend_alias_table): Return an error indicator. - (read_alias_file): Bail out if extend_alias_table fails. - -2000-04-29 Bruno Haible <haible@clisp.cons.org> - - * intl/loadmsgcat.c: Define _GNU_SOURCE as early as possible. - * intl/localealias.c: Likewise. + * manual/charset.texi: Fix typo in description of WCHAR_MAX. -2000-05-01 Bruno Haible <haible@clisp.cons.org> + * manual/argp.texi: Document argp_domain as part of struct argp. - * intl/loadmsgcat.c (_nl_load_domain): Initialize domain->conv_tab. - Initialize domain->plural and domain->nplurals even if there is no - nullentry. +2000-12-28 Andreas Jaeger <aj@suse.de> -2000-05-01 Bruno Haible <haible@clisp.cons.org> + * catgets/Makefile (generated): Add sample.SJIS.cat. - * intl/dcigettext.c (_nl_find_msg): Terminate __gconv loop if return - value is == __GCONV_OK or == __GCONV_EMPTY_INPUT, not != __GCONV_OK. - In case of failure, goto converted. + * sunrpc/rpc_dtable.c: Include rpc/clnt.h for prototypes. -2000-05-01 Bruno Haible <haible@clisp.cons.org> + * elf/dl-minimal.c: Add prototypes. - * wcsmbs/wcsmbsload.c (norm_add_slashes): Move away. - * iconv/gconv_int.h (norm_add_slashes): Move to here. - * intl/loadmsgcat.c (_nl_load_domain): Normalize strings passed to - __gconv_open. + * include/locale.h: Add internal prototypes. + * include/sys/gmon.h: Likewise. -2000-04-29 Bruno Haible <haible@clisp.cons.org> + * dlfcn/errmsg1mod.c: Add prototype for foo to shut up GCC. - * intl/dcigettext.c (transcmp): Compare the domains as well. - (dcigettext): Call strlen (msgid1) after testing msgid1 against NULL, - not before. - * intl/loadmsgcat.c (_nl_load_domain): Deal with EINTR. Include - <errno.h>. +2000-12-27 Ben Collins <bcollins@debian.org> -2000-05-03 Ulrich Drepper <drepper@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: Declare __strdup and __strndup if necessary. - Reported by Bruno Haible. +2000-12-27 Ulrich Drepper <drepper@redhat.com> -2000-04-29 Bruno Haible <haible@clisp.cons.org> + * dlfcn/Makefile (tests): Add errmsg1. + (modules-names): Add errmsg1mod. + Add rules to run errmsg1. + * dlfcn/errmsg1.c: New file. + * dlfcn/errmsg1mod.c: New file. - * manual/arith.texi: Remove @w from @itemize. + * dlfcn/dlerror.c (dlerror): Always create output string which + includes object file name. -2000-05-02 Andreas Jaeger <aj@suse.de> + * 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>. - * conform/data/tar.h-data: Add some checks for specific values. + * sysdeps/alpha/alphaev67/strncat.S: Fix handling of numeric parameter. + Patch by Richard Henderson <rth@redhat.com>. - * conform/data/stdlib.h-data: Add checks for value of EXIT_SUCCESS - and RAND_MAX. +2000-12-27 Jakub Jelinek <jakub@redhat.com> - * conform/data/stdio.h-data: Add checks for value of TMP_MAX and - FOPEN_MAX. + * malloc/malloc.c (memmove): Add prototypes. + (MALLOC_MEMMOVE): Define. + (chunk_realloc): Use it instead of MALLOC_COPY if source and + destination might overlap. - * conform/data/netinet/in.h-data: Add exact checks for the values - fo INET_ADDRSTRLEN and INET6_ADDRSTRLEN. +2000-12-27 Andreas Jaeger <aj@suse.de> - * conform/data/float.h-data: Add some minimal values. + * 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. - * conform/conformtest.pl: Test for macros with string constants, - check for minimum and maximum values. - Add limits.h to headers. + * 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. - * conform/data/cpio.h-data: Test for value of MAGIC. + * dlfcn/failtest.c: Add prototype for foo. - * conform/data/limits.h-data: New file. + * dlfcn/glrefmain.c: Add prototype for do_test. -2000-04-30 Bruno Haible <haible@clisp.cons.org> + * dlfcn/tst-dladdr.c: Add prototype for do_test. - * math/Makefile (headers): Add bits/fenvinline.h. + * string/test-ffs.c (main): Add prototype for nested function. -2000-05-01 Ulrich Drepper <drepper@redhat.com> + * sunrpc/des_soft.c: Include rpc/des_crypt.h for prototype. - * sysdeps/unix/sysv/aix/linux/linux-dirent.h: New file. - * sysdeps/unix/sysv/aix/linux/direntconv.c: New file. + * nss/XXX-lookup.c: Add prototype to shut up GCC. - * posix/Versions: Change posix_spawnattr_getdefault and - posix_spawnattr_setdefault to posix_spawnattr_getsigdefault - and posix_spawnattr_setsigdefault respectively. - * posix/spawn.h: Likewise. - * posix/spawnattr_getdefault.h: Likewise. - * posix/spawnattr_setdefault.h: Likewise. - * conform/data/spawn.h-data: Likewise. + * include/netinet/ether.h (DECLARE_NSS_PROTOTYPES): Fix + setetherent prototype. + Add internal interfaces. -2000-05-01 Andreas Jaeger <aj@suse.de> + * nis/nss_nis/nis-ethers.c (_nss_nis_setetherent): Likewise. + * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent): Likewise. - * nscd/nscd.c: Include <grp.h> for setgroups prototype. + * resolv/res_data.c: Don't add (conflicting) prototypes for _LIBC. -2000-04-30 Ulrich Drepper <drepper@redhat.com> + * nis/nis_intern.h: Add prototype for __pmap_getnisport. - * manual/sysinfo.texi: Document getdomainname, setdomainname - and sysctl. - * manual/string.texi: Fix typo. - * manual/terminal.texi: Document gtty and stty. - Patch by Bryan Henderson <bryanh@giraffe-data.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. -2000-04-30 Andreas Jaeger <aj@suse.de> + * elf/dl-profile.c (_dl_mcount): Add empty statement to shut up GCC. - * posix/bits/posix1_lim.h (_POSIX_PATH_MAX): Increase to 256 in - accordance with Austin Draft. + * 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. -2000-04-30 Ulrich Drepper <drepper@redhat.com> - - * catgets/gencat.c (read_input_file): Use isblank and not isspace - to recognize second character in comment line. - - * sysdeps/unix/sysv/linux/if_index.c (if_nameindex): Set errno to - ENOBUFS if we are out of memory. - - * sysdeps/generic/bits/fcntl.h (F_SETOWN, F_GETOWN): Make - available if __USE_XOPEN2K. - * sysdeps/mach/hurd/bits/fcntl.h: Likewise. - * sysdeps/unix/common/bits/fcntl.h: Likewise. - * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Likewise. - * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise. - * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise. - * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise. - * sysdeps/unix/sysv/aix/bits/fcntl.h: Likewise. - * sysdeps/unix/sysv/linux/bits/fcntl.h: Likewise. - -2000-04-29 Ulrich Drepper <drepper@redhat.com> - - * iconv/iconv_prog.c (main): Handle input file name "-" correctly. - Recognize option -s, -c, and -l. - -2000-04-20 Thorsten Kukuk <kukuk@suse.de> - - * nscd/nscd.c: Start new session for nscd, drop privilegs - to configured user if requested and no -S parameter are used. - * nscd/nscd.conf: Add new option "server-user". - * nscd/nscd_conf.c: Add support for new "server-user" option. - * nscd/nscd.h: Add declaration for server_user variable. - Based on patch by Chris Wing <wingc@engin.umich.edu> - -2000-04-29 Mark Kettenis <kettenis@gnu.org> - - * sysdeps/unix/sysv/linux/i386/sigaction.c: Add comment explaining - that changing the __restore and __restore_rt signal return code - will break GDB. - -2000-04-29 Mark Kettenis <kettenis@gnu.org> - - * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Do not include - <sys/user.h>. - -2000-04-29 Mark Kettenis <kettenis@gnu.org> - - * conform/data/ucontext.h-data: Allow ss_* instead of SS_*. - -2000-04-29 Ulrich Drepper <drepper@redhat.com> - - * conform/conformtest.pl (@headers): Add sys/utsname.h, sys/un.h, - sys/socket.h, spawn.h, netinet/tcp.h, netinet/in.h, net/if.h, and - arpa/inet.h. - * conform/data/fcntl.h-data: Add F_GETOWN, F_SETOWN, - SEEK_SET, SEEK_CUR, SEEK_END, S_IFMT, S_IFBLK, S_IFCHR, S_IFIFO, - S_IFREG, S_IFDIR, S_IFLNK, S_IFSOCK, S_IRWXU, S_IRUSR S_IWUSR, - S_IXUSR, S_IRWXG, S_IRGRP, S_IWGRP, S_IXGRP, S_IRWXO, S_IROTH, - S_IWOTH, S_IXOTH, S_ISUID, S_ISGID, S_ISVTX, POSIX_FADV_NORMAL, - POSIX_FADV_SEQUENTIAL, POSIX_FADV_RANDOM, POSIX_FADV_WILLNEED, - POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE, posix_fadvise, - posix_fallocate, and posix_madvise. - * conform/data/netdb.h-data: New file. - * conform/data/pthread.h-data: Add pthread_barrier_t, - pthread_barrierattr_t, pthread_barrier_destroy, - pthread_barrier_init, pthread_barrier_wait, - pthread_barrierattr_destroy, pthread_barrierattr_getpshared, - pthread_barrierattr_init, pthread_barrierattr_setpshared, - pthread_condattr_getclock, pthread_condattr_setclock, - pthread_getcpuclockid, pthread_mutex_timedlock, - pthread_rwlock_timedrdlock, pthread_rwlock_timedwrlock, - pthread_sigmask, pthread_spin_destroy, pthread_spin_init, - pthread_spin_lock, pthread_spin_trylock, and pthread_spin_unlock. - * conform/data/sched.h-data: Add sched_ss_low_priority, - sched_ss_repl_period, sched_ss_init_budget, sched_ss_max_repl, and - SCHED_SPORADIC. - * conform/data/semaphore.h-data: Add sem_timedwait. - * conform/data/signal.h-data: Add SIGIO. - * conform/data/spawn.h-data: New file. - * conform/data/stdlib.h-data: Add posix_memalign, setenv, and unsetenv. - * conform/data/time.h-data: Add CLOCK_PROCESS_CPUTIME_ID, - CLOCK_THREAD_CPUTIME_ID, clock_getcpuclockid, and clock_nanosleep. - Fix typo in gmtime_r definition. - * conform/data/unistd.h-data: Add _POSIX_ADVISORY_INFO, - _POSIX_ASYNCHRONOUS_IO, _POSIX_BARRIERS, _POSIX_MONOTONIC_CLOCK, - _POSIX_READER_WRITER_LOCKS, _POSIX_SHELL, _POSIX_SPAWN, - _POSIX_SPIN_LOCKS, _POSIX_SPORADIC_SERVER, _POSIX_THREAD_CPUTIME, - _POSIX_TYPED_MEMORY_OBJECTS, _POSIX_THREAD_SPORADIC_SERVER, - _XOPEN_STREAMS, _POSIX_TIMEOUTS, _POSIX2_PBS, - _POSIX2_PBS_ACCOUNTING, _POSIX2_PBS_CHECKPOINT, - _POSIX2_PBS_LOCATE, _POSIX2_PBS_MESSAGE, _POSIX2_PBS_TRACK, - _SC_2_PBS, _SC_2_PBS_ACCOUNTING, _SC_2_PBS_CHECKPOINT, - _SC_2_PBS_LOCATE, _SC_2_PBS_MESSAGE, _SC_2_PBS_TRACK, - _SC_BARRIERS, _SC_BASE, _SC_CLOCK_SELECTION, _SC_DEVICE_IO, - _SC_DEVICE_SPECIFIC, _SC_DEVICE_SPECIFIC_R, _SC_FD_MGMT, _SC_FIFO, - _SC_FILE_ATTRIBUTES, _SC_FILE_LOCKING, _SC_FILE_SYSTEM, - _SC_MEMORY_PROTECTION, _SC_MESSAGE_PASSING, _SC_MONOTONIC_CLOCK, - _SC_MESSAGE_PASSING, _SC_MONOTONIC_CLOCK, _SC_MULTIPLE_PROCESS, - _SC_NETWORKING, _SC_PIPE, _SC_READER_WRITER_LOCKS, _SC_REGEXP, - _SC_SHELL, _SC_SIGNALS, _SC_SINGLE_PROCESS, _SC_SPIN_LOCKS, - _SC_TYPED_MEMORY_OBJECTS, _SC_USER_GROUPS, _SC_USER_GROUPS_R, - _SC_STREAMS, _PC_REC_INCR_XFER_SIZE, _PC_REC_MAX_XFER_SIZE, - _PC_REC_MIN_XFER_SIZE, _PC_REC_XFER_ALIGN, setegid, seteuid. Fix - typo in off_t definition. - * conform/data/net/if.h-data: New file. - * conform/data/netinet/in.h-data: New file. - * conform/data/netinet/tcp.h-data: New file. - * conform/data/sys/mman.h-data: Add POSIX_MADV_NORMAL, - POSIX_MADV_SEQUENTIAL, POSIX_MADV_RANDOM, POSIX_MADV_WILLNEED, - POSIX_MADV_DONTNEED, POSIX_TYPED_MEM_ALLOCATE, - POSIX_TYPED_MEM_ALLOCATE_CONTIG, POSIX_TYPED_MEM_MAP_ALLOCATABLE, - posix_typedmem_info, posix_mem_offset, posix_typed_mem_get_info, - and posix_typed_mem_open. - * conform/data/sys/socket.h-data: New file. - * conform/data/sys/stat.h-data: Add S_TYPEISTMO and isfdtype. - * conform/data/sys/types.h-data: Add pthread_barrier_t, - pthread_barrierattr_t, and pthread_spinlock_t. - * conform/data/sys/un.h-data: New file. - * conform/data/sys/utsname.h-data: New file. - - * include/netdb.h (__gethostbyaddr_r): Fix types of first and second - parameter. - * inet/gethstbyad.c (gethostbyname): Likewise. - * inet/gethstbyad_t.c (gethostbyname_r): Likewise. - * inet/getipnodebyad.c (getipnodebyad): Likewise. - * nis/nss_nis/nis-hosts.c (_nss_nis_gethostbyaddr_r): Likewise. - * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_gethostbyaddr_r): - Likewise. - * nscd/gethstbyad_r.c (gethostbyaddr_r): Likewise. - * nscd/nscd_gethst_r.c (__nscd_gethostbyaddr_r): Likewise. - * nscd/nscd_proto.h (__nscd_gethostbyaddr_r): Likewise. - * nss/nss_files/files-hosts.c (_nss_files_gethostbyaddr_r): Likewise. - * resolv/gethnamaddr.c (gethostbyname): Likewise. - * resolv/netdb.h (struct hostent): Fix type of h_length member. - (gethostbyaddr, getipnodebyaddr, gethostbyaddr_r): Fix types of first - and second parameter. + * include/stdio.h: Add prototypes for compatibility functions. + * include/grp.h: Likewise. + * include/pwd.h: Likewise. + * include/shadow.h: Likewise. - * wcsmbs/mbrtowc.c (__mbrtowc): Set end of buffer correctly if s - == NULL. + * include/fenv.h: Define internal interfaces. -2000-04-29 Andreas Jaeger <aj@suse.de> +2000-12-27 Ulrich Drepper <drepper@redhat.com> - * conform/data/arpa/inet.h-data: New file. + * sysdeps/generic/bits/byteswap.h (__bswap_64): Handle constant + argument case separately. + * sysdeps/i386/bits/byteswap.h (__bswap_64): Likewise. -2000-04-28 Geoff Clare <gwc@unisoft.com> +2000-12-27 Andreas Jaeger <aj@suse.de> - * io/ftw.c: Set errno to ENOENT (instead of ENOTDIR) when the - path passed to ftw() or nftw() is an empty string. - Closes PR libc/1710. + * include/sys/wait.h: Add some prototypes. + * Rules (dummy.c): Create also prototype to shut up GCC. -2000-04-27 Ulrich Drepper <drepper@redhat.com> +2000-12-27 Andreas Jaeger <aj@suse.de> - * localedata/Makefile (test-srcs): Add tst-mbswcs4 and tst-mbswcs5. - (do-tst-mbswcs): Add tst-mbswcs4 and tst-mbswcs5 to dependencies. - * localedata/tst-mbswcs.sh: Run tst-mbswcs4 and tst-mbswcs5. - * localedata/tst-mbswcs4.c: New file. - * localedata/tst-mbswcs5.c: New file. + * 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. - * wcsmbs/wcrtomb.c (__wcrtomb): Set end of buffer correctly if s - == NULL. Little optimization. +2000-12-26 Andreas Jaeger <aj@suse.de> - * elf/dl-init.c (_dl_init): Correct typo (DT_PREINIT_ARRAY not - DT_PREINIT_ARRAYSZ). - Reported by Jes Sorensen <Jes.Sorensen@cern.ch>. + * libio/getc_u.c: Include stdio.h via system path to get internal + prototypes. + * libio/getwc_u.c: Likewise. - * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups): Handle - overflows in conversion from ASCII. + * stdlib/strfmon.c: Fix prototype of __printf_fp. -2000-04-26 Jakub Jelinek <jakub@redhat.com> + * stdio-common/vfprintf.c (process_arg): Move __printf_fphex and + __printf_fp prototypes to ... + * include/printf.h: ...here. - * Makeconfig (full_config_sysdirs): Renamed from full-config-sysdirs. - * Makerules (full_config_sysdirs): Likewise. - * MakeTAGS (full_config_sysdirs): Likewise. + * include/stdio.h: Add some internal prototypes to shut up GCC. + * include/stdlib.h: Likewise. -2000-04-26 Jakub Jelinek <jakub@redhat.com> + * sysdeps/posix/sigpause.c (__sigpause): Use ISO C prototype + declaration. - * .cvsignore: Remove linuxthreads. - * po/.cvsignore: Remove *.pot. - * posix/glob/.cvsignore: Removed. - * sysdeps/unix/bsd/osf/.cvsignore: Removed. + * include/signal.h: Add prototypes for internal sigpause + interfaces. -2000-04-25 Andreas Jaeger <aj@suse.de> +2000-12-26 Ulrich Drepper <drepper@redhat.com> - * conform/Makefile (distribute): Also distribute contents of - subdirectories. + * sysdeps/generic/bits/byteswap.h (__bswap_64): Make it usable for + 64bit platforms. Reported by Dave Gilbert <gilbertd@treblig.org>. - * Makerules (no_deps): Remove abi-versions.h. + * string/Makefile (tests): Add tst-bswap. + * string/tst-bswap.c: New file. - * nis/nis_print_group_entry.c: Include alloca.h for alloca prototype. +2000-12-11 Bruno Haible <haible@clisp.cons.org> -2000-04-25 Jakub Jelinek <jakub@redhat.com> + * Makefile ($(inst_includedir)/gnu/stubs.h): Sort in the C locale. - * sysdeps/sparc/sparc64/elf/Dist: Remove. - * sysdeps/sparc/sparc64/elf/crtbegin.S: Remove. - * sysdeps/sparc/sparc64/elf/crtbeginS.S: Remove. - * sysdeps/sparc/sparc64/elf/crtend.S: Remove. - * sysdeps/sparc/sparc64/elf/crtendS.S: Remove. - * sysdeps/sparc/sparc64/elf/Makefile: Don't build crtbegin/crtend - objects. +2000-12-26 Ulrich Drepper <drepper@redhat.com> -2000-04-25 Thorsten Kukuk <kukuk@suse.de> + * sunrpc/Makefile (rpcgen-cmd): Use single quotes in sed call. + Patch by Ed Connell <Ed.Connell@sas.com>. - * nscd/grpcache.c: Fix gr_name pointer [PR/1702]. +2000-12-24 Ulrich Drepper <drepper@redhat.com> -2000-04-23 Bruno Haible <haible@clisp.cons.org> + * locale/iso-639.def: Correct one entry. Add two missing entries. - * intl/dcigettext.c: Define _GNU_SOURCE as early as possible. - * intl/l10nflist.c: Likewise. + * locale/iso-4217.def: Change entry for Eritrea. + Reported by Daniel Yacob <yacob@geez.org>. -2000-04-23 Bruno Haible <haible@clisp.cons.org> +2000-12-23 Ben Collins <bcollins@debian.org> - * intl/bindtextdom.c [!_LIBC]: Define __libc_rwlock_define, - __libc_rwlock_wrlock, __libc_rwlock_unlock as empty. - * intl/textdomain.c [!_LIBC]: Likewise. - * intl/dcigettext.c [!_LIBC]: Define __libc_rwlock_define_initialized, - __libc_rwlock_rdlock, __libc_rwlock_unlock as empty. - * intl/loadmsgcat.c (_nl_load_domain) [!_LIBC, !HAVE_ICONV]: Avoid - syntax error. + * manual/charset.texi (Extended Char Intro): Fix typo in ISO 6937 + description. -2000-04-23 Bruno Haible <haible@clisp.cons.org> + * 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). - * intl/dcigettext.c (_nl_find_msg): Do the plural treatment and - character set conversion also in the case the translation was found - after a hash collision or through binary search. Store the maximum - index together with the converted message. Use iconv() when available. - In case of out of memory during conversion, return the unconverted - translated string, not NULL. +2000-12-22 Andreas Jaeger <aj@suse.de> -2000-04-25 Jes Sorensen <Jes.Sorensen@cern.ch> + * include/stdio.h: Add __ftrylockfile prototype. - * shlib-versions: Rename ia64 dynamic linker to ld-linux-ia64.so.1 - to avoid name clashes with the ia32 linker. +2000-12-21 H.J. Lu <hjl@gnu.org> -2000-04-25 Jakub Jelinek <jakub@redhat.com> + * sysdeps/ia64/fpu/math_ldbl.h (ieee_long_double_shape_type): + Make sign_exponent element signed. - * sysdeps/alpha/dl-machine.h (_dl_start_user): Fix the _dl_skip_args - handling. + * sysdeps/ieee754/ldbl-96/math_ldbl.h (ieee_long_double_shape_type): + Fix a typo. -2000-04-27 Ulrich Drepper <drepper@redhat.com> + * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Remove dead branch. - * manual/string.texi: Document strcasestr, strchrnul, strtoimax, - strtoumax, strfry, and memfrob. - * manual/arith.texi: Document {,u}int*_t types, and strto{i,u}max. - Patch by Bryan Henderson <bryanh@giraffe-data.com>. +2000-12-21 Andreas Jaeger <aj@suse.de> - * elf/soinit.c (__libc_global_ctors): Call __pthread_initialize_minimal - if this function is available. + * nis/nss_nisplus/nisplus-ethers.c (struct etherent): Removed. + * inet/ether_hton.c: Likewise + * inet/ether_ntoh.c: Likewise. - * sysdeps/i386/i486/atomicity.h (exchange_and_add): Use uint32_t for - all values. + * nis/nss_nis/nis-ethers.c (_nss_nis_getntohost_r): Fix + declaration to match prototype. -2000-04-27 Jakub Jelinek <jakub@redhat.com> + * include/netinet/ether.h (struct etherent): Declare here so that + all implementations use the same struct. - * nss/getXXbyYY_r.c: Fix a typo in __old_getxxbyyy_r versioning. + * nis/nss_nis/nis-ethers.c: Include netinet/ether.h to get + prototypes. + (struct ether): Removed. + Use struct etherent instead of ether everywhere. -2000-04-27 Ulrich Drepper <drepper@redhat.com> + * include/rpc/auth.h (DECLARE_NSS_PROTOTYPES): New. - * localedata/Makefile (test-srcs); Add tst-mbswcs3. - Add rule to build tst-mbswcs3 before running tst-mbswcs.sh. - * localedata/tst-mbswcs.sh: Run tst-mbswcs3. - * localedata/tst-mbswcs3.c: New file. + * include/rpc/auth_des.h (DECLARE_NSS_PROTOTYPES): New. -2000-04-26 Ulrich Drepper <drepper@redhat.com> + * sunrpc/publickey.c: Include auth_des.h for prototypes. - * wcsmbs/mbsnrtowcs.c: Correctly compute number of converted - characters. Don't handle incomplete characters as errors. - * wcsmbs/mbsrtowcs.c: Don't handle incomplete characters as errors. - * localedata/Makefile (test-srcs): Add tst-mbswcs2. - Add rule to build tst-mbswcs2 before running tst-mbswcs.sh. - * localedata/tst-mbswcs.sh: Run tst-mbswcs2. - * localedata/tst-mbswcs2.c: New file. +2000-12-20 Ulrich Drepper <drepper@redhat.com> - * iconv/gconv_simple.c (utf8_internal_loop): Correctly reconstruct - stored character in state in UNPACK_BYTES macro. - * iconv/loop.c (SINGLE(LOOPFCT)): Make it actually work. Correct - test for available characters, handle result of BODY code correctly. - * localedata/Makefile (test-srcs): Add tst-mbswcs1. - (distribute): Add tst-mbswcs.sh. - Add rule to run tst-mbswcs.sh. - * localedata/tst-mbswcs.sh: New file. - * localedata/tst-mbswcs1.c: New file. + * math/test-misc.c: Add more tests for nextafter functions. -2000-04-26 Jakub Jelinek <jakub@redhat.com> + * sysdeps/i386/fpu/s_nextafterl.c: Handle change from denormal to + normal correctly. Correct test for sign. + Based on a patch by HJ Lu. - * nis/nis_callback.c (__nis_create_callback): Do failed memory - allocation fixups centrally, fix __builtin_expect call, return NULL - on failure, not NIS_NOMEMORY. +2000-12-19 Ulrich Drepper <drepper@redhat.com> -2000-04-27 Bruno Haible <haible@clisp.cons.org> + * Makeconfig (preprocess-version): Add -traditional to gcc call. + Cleanup sed calls. - * intl/ngettext.c [!_LIBC]: Fix definition of NGETTEXT. +2000-12-19 Andreas Jaeger <aj@suse.de> - * intl/loadinfo.h (internal_function): Define if not already defined. + * include/netinet/ether.h (DECLARE_NSS_PROTOTYPES): New. -2000-04-27 Andreas Jaeger <aj@suse.de> + * nis/nis_intern.h: Add prototype for __do_niscall3. - * intl/libintl.h: Fix typo, reported by Bruno Haible - <haible@clisp.cons.org>. + * nis/nss_nis/nis-rpc.c (_nss_nis_setrpcent): Fix declaration to + match prototype. -2000-04-25 Ulrich Drepper <drepper@redhat.com> + * include/netdb.h (DECLARE_NSS_PROTOTYPES): Reformat. - * elf/dl-profile.c (_dl_mcount): Try to be thread-safe while not - setting the state to GMON_PROF_BUSY. + * include/rpc/netdb.h (DECLARE_NSS_PROTOTYPES): New. -2000-04-24 Ulrich Drepper <drepper@redhat.com> + * include/aliases.h (DECLARE_NSS_PROTOTYPES): New. - * elf/dl-profile.c (_dl_start_profile): define all variables which - do not have to be global as local variables. +2000-12-18 Ulrich Drepper <drepper@redhat.com> - * nis/nis_callback.c (__nis_create_callback): Partially undo last - patch. Keep needed tests for failed memory allocation. + * 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. - * elf/dl-reloc.c (_dl_relocate_object): Add one more - __builtin_expect saying that we don't normally expect to profile. + * manual/message.texi: Add Estonian to plural overview list. + Correct rule for Slavic languages. + Patch by Stanislav Brabec <utx@penguin.cz>. - * sysdeps/i386/dl-machine.h (elf_machine_rel): Add - __builtin_expect where desirable. + * nis/nss_nis/nis-netgrp.c: Remove unnecessary initializations. -2000-04-23 Ulrich Drepper <drepper@redhat.com> +2000-12-18 Andreas Jaeger <aj@suse.de> - * manual/Makefile (chapters): Add syslog. - * manual/syslog.texi: New file. - * manual/math.texi: Fix references. - * manual/terminal.texi: Likewise. - Patch by Bryan Henderson <bryanh@giraffe-data.com>. + * test-skeleton.c: Use temp_name_list instead of name_list to + avoid collision with name_list from inet/netgroup.h. -2000-04-18 Jakub Jelinek <jakub@redhat.com> + * nss/nss_files/files-network.c (NEED_H_ERRNO): Define. - * posix/sys/wait.h: Define __WAIT_STATUS and the like either if - stdlib.h was not included or __USE_XOPEN not defined. + * 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. -2000-04-23 Ulrich Drepper <drepper@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. - * nss/Makefile (libnss_db-dbs): Remove stray backslash. - Patch by Zack Weinberg <zack@wolery.cumb.org>. +2000-12-17 Andreas Jaeger <aj@suse.de> -2000-04-22 Ulrich Drepper <drepper@redhat.com> + * sysdeps/generic/k_sinl.c (__kernel_sinl): Fix functions + parameter. - * manual/examples/subopt.c (mount_opts): Add missing terminating - entry. - Reported by Michael Deutschmann <michael@talamasca.ocis.net>. + * 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. - * assert/assert-perr.c: Include <stdlib.h> for abort prototype. - * libio/ftello.c: Likewise. - * libio/ftello64.c: Likewise. - * libio/ioftell.c: Likewise. - * sysdeps/generic/memrchr.c: Likewise. - * sysdeps/posix/libc_fatal.c: Likewise. - * sysdeps/unix/sysv/linux/init-first.c: Likewise. - * misc/fstab.c: Include <string.h> for strcmp prototype. - * sysdeps/generic/ldsodefs.h: Likewise. - * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise. - Patch by Kurt Roeckx <Q@ping.be>. + * 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. - * nss/Makefile (libnss_db-dbs): Renamed from libnss_db-routines. - Remove db-open. Change all uses. - (libnss_db-routines): Define as $(libnss_db-dbs) db-open. +2000-12-16 Jakub Jelinek <jakub@redhat.com> -2000-04-21 Jakub Jelinek <jakub@redhat.com> + * catgets/gencat.c (read_input_file): Avoid calling obstack_free + with a pointer not returned by obstack_ functions. - * sysdeps/unix/sysv/linux/alpha/msgctl.c (__syscall_msgctl): Declare. - * sysdeps/unix/sysv/linux/alpha/semctl.c (__syscall_semctl): Declare. - * sysdeps/unix/sysv/linux/alpha/shmctl.c (__syscall_shmctl): Declare. - * sysdeps/unix/sysv/linux/alpha/getrusage.S: Surround uses of $f28 - with .set noat/at to shut up warnings. - * sysdeps/unix/sysv/linux/alpha/syscalls.list (__fstatfs64): Add alias. - * sysdeps/unix/sysv/linux/alpha/ioperm.c (init_iosys): Allow - compilation if __NR_pciconfig_iobase is not defined. - * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (__fstatfs64): - Add alias. +2000-12-16 Ulrich Drepper <drepper@redhat.com> -2000-04-21 Ulrich Drepper <drepper@redhat.com> + * sysdeps/unix/sysv/aix/bits/stat.h (struct stat): Align with AIX + version. + (struct stat64): Likewise. + Reported by Michael Keezer <mkeezer@redhat.com>. - * manual/sysinfo.texi: Fix typo. - * manual/time.texi: Document timelocal, timegm, adjtimex, and stime. - Replace "high precision time" with "high accuracy clock". - Fix language. - Patches by Bryan Henderson <bryanh@giraffe-data.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. - * nis/nis_findserv.c (__nis_findfastest): Improve memory handling. - * nis/nis_print_group_entry.c (nis_print_group_entry): Use alloca - instead of malloc. - * nis/nis_subr.c: Use __builtin_expect. - * nis/ypclnt.c: Likewise. - * nis/nis_getservlist.c: Likewise. - * nis/nis_creategroup.c: Likewise. +2000-12-14 Jakub Jelinek <jakub@redhat.com> - * nis/nis_callback.c (__nis_create_callback): Check result of - memory allocation. Fix memory leaks. Use __builtin_expect. - (__nis_destroy_callback): Fix memory leaks. + * 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. -2000-04-21 Andreas Jaeger <aj@suse.de> +2000-12-13 Jakub Jelinek <jakub@redhat.com> - * sysdeps/mips/elf/start.S: Use __PIC__ instead of PIC. - * sysdeps/mips/mips64/add_n.S: Likewise. - * sysdeps/mips/mips64/bsd-_setjmp.S: Likewise. - * sysdeps/mips/mips64/lshift.S: Likewise. - * sysdeps/mips/mips64/mul_1.S: Likewise. - * sysdeps/mips/mips64/rshift.S: Likewise. - * sysdeps/mips/mips64/setjmp.S: Likewise. - * sysdeps/mips/mips64/sub_n.S: Likewise. - * sysdeps/mips/mips64/submul_1.S: Likewise - * sysdeps/unix/mips/sysdep.S: Likewise. + * 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. - * sysdeps/mips/dl-machine.h (elf_machine_got_rel): Remove strtab - and update comment. The strtab from _dl_relocate_object can be - used. +2000-12-15 Ulrich Drepper <drepper@redhat.com> -2000-04-21 Ulrich Drepper <drepper@redhat.com> + * misc/dirname.c (dirname): Fix search for second to last slash. - * iconv/iconv.c (iconv): Add __builtin_expect where useful. - * iconv/iconv_close.c (iconv_close): Likewise. - * iconv/iconv_open.c (iconv_open): Likewise. +2000-12-13 Andreas Jaeger <aj@suse.de> - * grp/putgrent.c (putgrent): Unlock steam if fprintf failed. Add - __builtin_expect where useful. + * 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>. - * grp/initgroups.c (initgroups): Test for result of memory - allocation and punt if it fails. +2000-12-09 H.J. Lu <hjl@gnu.org> - * dirent/scandir.c (scandir): Add __builtin_expect where useful. - * grp/fgetgrent.c (fgetfrent): Likewise. - * grp/fgetgrent_r.c (__fgetgrent_r): 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. -2000-04-21 Jakub Jelinek <jakub@redhat.com> +2000-12-15 Andreas Jaeger <aj@suse.de> - * libio/vasprintf.c: Include string.h to get memcpy prototype. + * stdio-common/scanf9.c (main): Reformat and change to avoid + warnings. -2000-04-20 Ulrich Drepper <drepper@redhat.com> + * stdio-common/tstdiomisc.c: Make local functions static. + * stdio-common/tst-printf.c: Likewise. - * wcsmbs/wcsrtombs.c (__wcsrtombs): If output buffer is too small - don't search for NUL byte to decrement counter. - Reported by Ulrich.Brink@sap.com. + * 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. - * iconv/gconv_simple.c: Define separate functions to convert from - UCS4/UCS4-LE to the internal encoding. - * iconv/gconv_builtin.h: Use separate functions to convert from - UCS4/UCS4-LE to the internal encoding. - * iconv/gconv_int.h: Declare __gconv_transform_ucs4_internal and - __gconv_transform_ucs4le_internal. + * libio/fmemopen.c: Make local functions static. - * iconv/gconv_simple.c (internal_utf8_loop): Correct check for - output buffer overflow. Reported by Ulrich.Brink@sap.com. + * elf/Makefile (distribute): Added testobj.h. - * iconv/skeleton.c: Add some more __builtin_expect. - * iconv/loop.c: Likewise. + * elf/testobj.h: New file. -2000-03-08 H.J. Lu <hjl@gnu.org> + * 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. - * posix/regex.c (regex_compile): Correctly handle "\{" when - the RE_INTERVALS is set and the RE_NO_BK_BRACES bit is not set. +2000-12-15 Ben Collins <bcollins@debian.org> -2000-04-20 Ulrich Drepper <drepper@redhat.com> + * misc/sys/cdefs.h: Fix thinko in checks for flexarr macros. + Patch by Akim Demaille <akim@epita.fr> in Debian bug report. - * manual/stdio.texi: Give advise about handling error when using - stream functions. - Patch by Michael Deutschmann <michael@talamasca.ocis.net>. +2000-12-14 H.J. Lu <hjl@gnu.org> -2000-04-19 Jakub Jelinek <jakub@redhat.com> + * sysdeps/ieee754/flt-32/s_sincosf.c (__sincosf): The exponent + field in a float is 8 bits, not 11 bits. - * locale/programs/ld-ctype.c (ctype_output): Set size of the idx - field to nelems * sizeof (uint32_t). - * locale/programs/ld-address.c (address_output): Align word fields - properly. - * locale/programs/ld-monetary.c (monetary_output): Likewise. - Don't restart idx pointers to idx end at the duo_int_curr_symbol - field. - Avoid giving arbitrary garbage in the crncystr field. - Use sizeof(uint32_t) instead of 4 for len in uno_valid_from, - uno_valid_to, duo_valid_from, duo_valid_to and conversion_rate - fields. - * locale/programs/ld-numeric.c (numeric_output): Likewise. - Don't restart idx pointers to idx end at the decimal_point_wc field. - * locale/programs/ld-time.c (time_output): week_1stday should be - word, not byte. Align it properly. - -2000-04-19 H.J. Lu <hjl@gnu.org> - - * csu/gmon-start.c (_start): Declared as "extern void". - (etext): Likewise. - -2000-04-18 Andreas Jaeger <aj@suse.de> - - * manual/install.texi (Running make install): Don't mention utmpd - anymore. +2000-12-13 Jakub Jelinek <jakub@redhat.com> -2000-04-18 Andreas Jaeger <aj@suse.de> + * math/test-misc.c (main): Adjust m for IEEE quad long double. - * linuxthreads/Versions: Use ld instead of ld.so. +2000-12-13 Andreas Jaeger <aj@suse.de> - * elf/Makefile (ld-map): Use ld.map. + * manual/message.texi (Using gettextized software): Fix typo. - * Versions.def: Use ld instead of ld.so. - * elf/Versions: Likewise. - * sysdeps/mach/hurd/Versions: Likewise. + * manual/charset.texi (Converting a Character): Fix mbstouwcs + program to compile. + Patch by Martin Buchholz <martin@xemacs.org>. -2000-04-20 Andreas Jaeger <aj@suse.de> + * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Fix typo. + Reported by Michael Kerrisk <mtk16@ext.canterbury.ac.nz>. - * elf/rtld.c (print_statistics): Move ifndef further up. - (_dl_start_final): Added HP_TIMINIG_NONAVAIL to avoid warnings. - (dl_main): Likewise. +2000-12-11 Andreas Jaeger <aj@suse.de> -2000-04-18 Ulrich Drepper <drepper@redhat.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>. - * gmon/gmon.c: Add weak alias moncontrol for __moncontrol. - * gmon/Versions: Move moncontrol to GLIBC_2.2. +2000-12-10 Richard Henderson <rth@redhat.com> - * po/cs.po: Update from translation team. + * 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. - * sysdeps/generic/updwtmp.c: Remove daemon support. +2000-12-10 Jakub Jelinek <jakub@redhat.com> - * login/Makefile (routines): Remove utmp_daemon. + * sysdeps/alpha/htonl.S: Fix a typo. - * sysdeps/unix/sysv/aix/gethostname.c: Fix type of len argument. - * sysdeps/unix/sysv/aix/access.c: Define ACC_INVOKER. - * sysdeps/unix/sysv/aix/getegid.c: Define ID_EFFECTIVE. - * sysdeps/unix/sysv/aix/geteuid.c: Likewise. +2000-12-10 Jakub Jelinek <jakub@redhat.com> - * elf/rtld.c: Display statitics option also if hp timing is not - available. + * sysdeps/alpha/alphaev6/stxcpy.S: Exchange t8 with t10. - * login/programs/connection.c: Removed. - * login/programs/database.c Removed. - * login/programs/error.c: Removed. - * login/programs/request.c: Removed. - * login/programs/xtmp.c: Removed. - * login/programs/xtmp.h: Removed. - * login/Makefile: Remove rules for utmpd. - * login/README.utmpd: Removed. - * login/utmp_daemon.c: Removed. - * login/getutent_r.c: Remove references to daemon functions. - * login/utmp-private.h (__libc_utmp_daemon_functions): Remove - declaration. +2000-12-10 Andreas Jaeger <aj@suse.de> -2000-04-18 Andreas Jaeger <aj@suse.de> - - * shlib-versions (mips.*-.*-linux.*): Support only GLIBC 2.0 and - 2.2 for libnsl, libresolv, librt, libnss_*. - - * elf/rtld.c (process_dl_debug): Remove obsolete comment. - - * sysdeps/mips/dl-machine.h (elf_machine_rel): Fix relocation. - -2000-04-18 Ulrich Drepper <drepper@redhat.com> - - * sysdeps/unix/sysv/aix/geteuid.c: Don't try to include <sys/id.h>. - * sysdeps/unix/sysv/aix/getegid.c: Likewise. - * sysdeps/unix/sysv/aix/xstat64.c: Define STX_NORMAL and STX_64. - * sysdeps/unix/sysv/aix/xstat.c: Define STX_NORMAL. - * sysdeps/unix/sysv/aix/sys/param.h: Define NGROUPS. - * sysdeps/unix/sysv/aix/setreuid.c: Define ID_EFFECTIVE and ID_REAL. - * sysdeps/unix/sysv/aix/setregid.c: Likewise. - * sysdeps/unix/sysv/aix/setuid.c: Define ID_REAL. - * sysdeps/unix/sysv/aix/setgid.c: Likewise. - * sysdeps/unix/sysv/aix/seteuid.c: Define ID_EFFECTIVE. - * sysdeps/unix/sysv/aix/setegid.c: Likewise. - * sysdeps/unix/sysv/aix/sbrk.c: Update parameter type. - * sysdeps/unix/sysv/aix/nanosleep.c (struct timestruc_t): Define - it here. - * sysdeps/unix/sysv/aix/msync.c: New file. - * sysdeps/unix/sysv/aix/msgsnd.c: New file. - * sysdeps/unix/sysv/aix/net/if.h: New file. - * sysdeps/unix/sysv/aix/pipe.c: New file. - * sysdeps/unix/sysv/aix/poll.c: New file. - * sysdeps/unix/sysv/aix/rename.c: New file. - * sysdeps/unix/sysv/aix/rmdir.c: New file. - * sysdeps/unix/sysv/aix/select.c: New file. - * sysdeps/unix/sysv/aix/semctl.c: New file. - * sysdeps/unix/sysv/aix/semget.c: New file. - * sysdeps/unix/sysv/aix/semop.c: New file. - * sysdeps/unix/sysv/aix/sendto.c: New file. - * sysdeps/unix/sysv/aix/setgroups.c: New file. - * sysdeps/unix/sysv/aix/setpgid.c: New file. - * sysdeps/unix/sysv/aix/setpgrp.c: New file. - * sysdeps/unix/sysv/aix/setpriority.c: New file. - * sysdeps/unix/sysv/aix/setrlimit.c: New file. - * sysdeps/unix/sysv/aix/setrlimit64.c: New file. - * sysdeps/unix/sysv/aix/setsid.c: New file. - * sysdeps/unix/sysv/aix/setsockopt.c: New file. - * sysdeps/unix/sysv/aix/shmat.c: New file. - * sysdeps/unix/sysv/aix/shmctl.c: New file. - * sysdeps/unix/sysv/aix/shmdt.c: New file. - * sysdeps/unix/sysv/aix/shmget.c: New file. - * sysdeps/unix/sysv/aix/sigaltstack.c: New file. - * sysdeps/unix/sysv/aix/sigstack.c: New file. - * sysdeps/unix/sysv/aix/socket.c: New file. - * sysdeps/unix/sysv/aix/socketpair.c: New file. - * sysdeps/unix/sysv/aix/speed.c: New file. - * sysdeps/unix/sysv/aix/symlink.c: New file. - * sysdeps/unix/sysv/aix/sync.c: New file. - * sysdeps/unix/sysv/aix/tcgetattr.c: New file. - * sysdeps/unix/sysv/aix/tcsetattr.c: New file. - * sysdeps/unix/sysv/aix/times.c: New file. - * sysdeps/unix/sysv/aix/ulimit.c: New file. - * sysdeps/unix/sysv/aix/umask.c: New file. - * sysdeps/unix/sysv/aix/unlink.c: New file. - * sysdeps/unix/sysv/aix/ustat.c: New file. - * sysdeps/unix/sysv/aix/utimes.c: New file. - -2000-04-18 Andreas Jaeger <aj@suse.de> - - * manual/startup.texi (Environment Access): Fix putenv prototype - according to recent changes. - Reported by Andries Brouwer <Andries.Brouwer@cwi.nl>, closes - PR libc/1692. - - * elf/rtld.c (print_statistics): Added HP_TIMINIG_NONAVAIL where - needed. + * locale/programs/ld-ctype.c (charclass_symbolic_ellipsis): Fixed + cast as suggested by Jakub Jelinek <jakub@redhat.com> and Ulrich + Drepper <drepper@redhat.com>. -2000-04-18 Ulrich Drepper <drepper@redhat.com> +2000-12-09 Andreas Jaeger <aj@suse.de> - * posix/Makefile (tests): Add tst-getaddrinfo. - * posix/tst-getaddrinfo.c: New file. + * sysdeps/unix/sysv/linux/mips/sigaction.c: New file. -2000-04-17 Ulrich Drepper <drepper@redhat.com> + * sysdeps/unix/sysv/linux/mips/sys/acct.h: Removed, we can use the + generic version. + Patches by Hiroyuki Machida <machida@sm.sony.co.jp>. - * manual/sysinfo.texi: Document that umount2 is not widely available. + * locale/programs/ld-collate.c (handle_ellipsis): Fix format + string. - * sysdeps/generic/hp-timing.h (HP_TIMING_NONAVAIL): Define to - signal timing is not really implemented. + * locale/programs/ld-ctype.c (charclass_symbolic_ellipsis): Fix + format string. -2000-04-17 Andreas Jaeger <aj@suse.de> + * 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. - * elf/rtld.c (process_dl_debug): Mention statistics in help message. + * 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. -2000-04-17 Jakub Jelinek <jakub@redhat.com> +2000-12-08 Ulrich Drepper <drepper@redhat.com> - * Makefile (install): Use slibdir and libdir instead of inst_slibdir - and inst_libdir. + * math/libm-test.inc (main): Fix typos in messages. -2000-04-17 Ulrich Drepper <drepper@redhat.com> + * string/stratcliff.c: Add test for rawmemchr. - * manual/intro.texi: Change reference from System Information to - System Management. - * manual/users.texi: Likewise. - * manual/conf.texi: Likewise. - * manual/sysinfo.texi: Document mount, umount, and umount2. - Patch by Bryan Henderson <bryanh@giraffe-data.com>. +2000-12-08 Jakub Jelinek <jakub@redhat.com> -2000-04-17 Jakub Jelinek <jakub@redhat.com> + * 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. - * sysdeps/ieee754/ldbl-128/printf_fphex.c (PRINT_FPHEX_LONG_DOUBLE): - Create wnumstr as well as numstr to support wide character output - correctly. +2000-12-05 H.J. Lu <hjl@gnu.org> -2000-04-15 Jakub Jelinek <jakub@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 (). - * sysdeps/sparc/sparc64/Makefile: Remove sysdep-CFLAGS - modification and move it... - * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: ...here. - Add -melf64_sparc switch to $(LD) on sparc64-linux. - * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile: Add -melf32_sparc - switch to $(LD) on sparc-linux. +2000-12-08 Andreas Jaeger <aj@suse.de> -2000-04-17 Thorsten Kukuk <kukuk@suse.de> + * nscd/dbg_log.h (dbg_log): Correct attribute. - * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile: Remove setresgid - and setresuid from sysdep_routines. +2000-12-08 Jakub Jelinek <jakub@redhat.com> -2000-04-17 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>. - * manual/Makefile (chapters): Add resource. +2000-12-08 Richard Henderson <rth@twiddle.net> - * manual/time.texi: Move section on resources to... - * manual/resource.texi: ...here. New file. Document ulimit, vlimit, - and vtimes. - * manual/setjmp.texi: Adjust back reference. - Patch by Bryan Henderson <bryanh@giraffe-data.com>. + * sysdeps/alpha/_mcount.S: Fix typo. + * sysdeps/alpha/strncpy.S: Likewise. - * sysdeps/unix/sysv/aix/lxstat64.c: Uncomment STX_LINK and STX_64 - definition. - * sysdeps/unix/sysv/aix/lxstat.c: Uncomment STX_LINK definition. - * sysdeps/unix/sysv/aix/kill.c: Add copyright. - * sysdeps/unix/sysv/aix/getuid.c: Define ID_REAL. - * sysdeps/unix/sysv/aix/getgid.c: Define ID_REAL. - * sysdeps/unix/sysv/aix/execve.c: Add copyright. - * sysdeps/unix/sysv/aix/euidaccess.c: Add copyright. - * sysdeps/unix/sysv/aix/close.c: Add copyright. - * sysdeps/unix/sysv/aix/brk.c: Add copyright. - * sysdeps/unix/sysv/aix/bits/errno.h: Add EAFNOSUPPORT. - * sysdeps/unix/sysv/aix/access.c: Add copyright. - * sysdeps/unix/sysv/aix/Makefile: Add some temporary definitions. - * sysdeps/unix/sysv/aix/Implies: New file. - * sysdeps/unix/sysv/aix/Versions: New file. - * sysdeps/unix/sysv/aix/bind.c: New file. - * sysdeps/unix/sysv/aix/bits/ioctl-types.h: New file. - * sysdeps/unix/sysv/aix/bits/ioctls.h: New file. - * sysdeps/unix/sysv/aix/bits/poll.h: New file. - * sysdeps/unix/sysv/aix/bits/termios.h: New file. - * sysdeps/unix/sysv/aix/chdir.c: New file. - * sysdeps/unix/sysv/aix/chmod.c: New file. - * sysdeps/unix/sysv/aix/chroot.c: New file. - * sysdeps/unix/sysv/aix/creat.c: New file. - * sysdeps/unix/sysv/aix/dl-close.c: New file. - * sysdeps/unix/sysv/aix/dl-open.c: New file. - * sysdeps/unix/sysv/aix/dl-sym.c: New file. - * sysdeps/unix/sysv/aix/fchdir.c: New file. - * sysdeps/unix/sysv/aix/fchmod.c: New file. - * sysdeps/unix/sysv/aix/getgroups.c: New file. - * sysdeps/unix/sysv/aix/gethostname.c: New file. - * sysdeps/unix/sysv/aix/getpriority.c: New file. - * sysdeps/unix/sysv/aix/getrlimit.c: New file. - * sysdeps/unix/sysv/aix/getrlimit64.c: New file. - * sysdeps/unix/sysv/aix/getrusage.c: New file. - * sysdeps/unix/sysv/aix/link.c: New file. - * sysdeps/unix/sysv/aix/madvise.c: New file. - * sysdeps/unix/sysv/aix/mkdir.c: New file. - * sysdeps/unix/sysv/aix/mknod.c: New file. - * sysdeps/unix/sysv/aix/mprotect.c: New file. - * sysdeps/unix/sysv/aix/msgctl.c: New file. - * sysdeps/unix/sysv/aix/msgget.c: New file. - * sysdeps/unix/sysv/aix/msgrcv.c: New file. - -2000-04-17 Andreas Jaeger <aj@suse.de> - - * sysdeps/mips/dl-machine.h (elf_machine_got_rel): Optimize a bit - as suggested by Ulrich Drepper. - (__dl_runtime_resolve): Remove unused variable, initialize sym - directly. - (RTLD_START): Document OFFSET_GP_GOT. - (OFFSET_GP_GOT): New magic value. - (elf_mips_got_from_gpreg): Use OFFSET_GP_GOT. - (elf_machine_got_rel): Only declare strtab if needed. - (elf_machine_relplt): Removed, it's not needed. - (_dl_runtime_resolve): Fix \n for a comment, safe gp and not pc. - - * sysdeps/mips/add_n.S: Add newline at EOF. - * sysdeps/mips/rshift.S: Likewise. - * sysdeps/mips/mul_1.S: Likewise. - * sysdeps/mips/lshift.S: Likewise. - * sysdeps/mips/addmul_1.S: Likewise. - -2000-04-17 Ulrich Drepper <drepper@redhat.com> - - * sysdeps/powerpc/fpu/s_isnan.c: Pretty printing. - - * elf/dl-reloc.c (_dl_relocate_object): Add more __builtin_expect. - * elf/dl-lookup.c: Likewise. - * elf/dl-init.c (_dl_init): Likewise. - * elf/dl-fini.c (_dl_fini): Likewise. - * elf/dl-deps.c (_dl_map_object_deps): Likewise. - * elf/dl-close.c (_dl_close): Likewise. - * elf/rtld.c (_dl_start_final): Likewise. - - * elf/dl-lookup.c (add_dependency): Correct __builtin_expect use. - -2000-04-15 Ulrich Drepper <drepper@redhat.com> - - * csu/Makefile ($(objpfx)version-info.h): Get OS name from uname and - only fall back on using Linux. - - * elf/dl-version.c (_dl_check_map_versions): New argument trace_mode. - Before testing versions check that we actually loaded the object - and whether we are in trace mode. If not loaded during tracing don't - test versions in this object. - (_dl_check_all_versions): Take new parameter and pass to - _dl_check_map_versions. - * sysdeps/generic/ldsodefs.h: Update prototypes for - _dl_check_all_versions and _dl_check_map_versions. - * elf/rtld.c (struct version_check_args): Add dotrace. - (version_check_doit): Pass args->dotrace to _dl_check_all_versions. - (dl_main): Pass info about trace mode to version_check_doit. - * elf/dl-open.c (dl_open_worker): Pass zero as new argument to - _dl_check_all_versions. - - * manual/users.texi (XPG Functions): Document utmpxname, getutmp, - and getutmpx. - Patch by Bryan Henderson <bryanh@giraffe-data.com>. - - * manual/argp.texi: Document index parameter of argp_parse. - Fix typo. - Reported by Andrew Schulman <SCHULMAN.ANDREW@epamail.epa.gov>. - -2000-04-14 Andreas Jaeger <aj@suse.de> - - * sysdeps/unix/sysv/linux/shm_open.c: Include linux_fsinfo for - SHMFS_SUPER_MAGIC. Remove definition of SHMFS_SUPER_MAGIC. - - * sysdeps/unix/sysv/linux/linux_fsinfo.h (SHMFS_SUPER_MAGIC): Added. - -2000-04-15 Ulrich Drepper <drepper@redhat.com> - - * sysdeps/unix/sysv/linux/alpha/adjtime.c: Fix typo in - compat_symbol call for old adjtime. - - * sysdeps/alpha/dl-machine.h (RTLD_START): Rewrite for new init - function interface. Patch by Richard Henderson <rth@cygnus.com>. - - * posix/Makefile (headers): Add spawn.h. - (distribute): Add spawn_int.h. - (routines): Add spawn_faction_init, spawn_faction_destroy, - spawn_faction_addclose, spawn_faction_addopen, spawn_faction_adddup2, - spawnattr_init, spawnattr_destroy, spawnattr_getdefault, - spawnattr_setdefault, spawnattr_getflags, spawnattr_setflags, - spawnattr_getpgroup, spawnattr_setpgroup, spawn, spawnp, and spawni. - * posix/Versions [libc] (GLIBC_2.2): Add posix_spawn_file_actions_init, - posix_spawn_file_actions_destroy, posix_spawn_file_actions_addclose, - posix_spawn_file_actions_addopen, posix_spawn_file_actions_adddup2, - posix_spawnattr_init, posix_spawnattr_destroy, - posix_spawnattr_getdefault, posix_spawnattr_setdefault, - posix_spawnattr_getflags, posix_spawnattr_setflags, - posix_spawnattr_getpgroup, posix_spawnattr_setpgroup, posix_spawn, - and posix_spawnp. - * posix/spawn.c: New file. - * posix/spawn.h: New file. - * posix/spawn_faction_addclose.c: New file. - * posix/spawn_faction_adddup2.c: New file. - * posix/spawn_faction_addopen.c: New file. - * posix/spawn_faction_destroy.c: New file. - * posix/spawn_faction_init.c: New file. - * posix/spawn_int.h: New file. - * posix/spawnattr_destroy.c: New file. - * posix/spawnattr_getdefault.c: New file. - * posix/spawnattr_getflags.c: New file. - * posix/spawnattr_getpgroup.c: New file. - * posix/spawnattr_getschedparam.c: New file. - * posix/spawnattr_getschedpolicy.c: New file. - * posix/spawnattr_getsigmask.c: New file. - * posix/spawnattr_init.c: New file. - * posix/spawnattr_setdefault.c: New file. - * posix/spawnattr_setflags.c: New file. - * posix/spawnattr_setpgroup.c: New file. - * posix/spawnattr_setschedparam.c: New file. - * posix/spawnattr_setschedpolicy.c: New file. - * posix/spawnattr_setsigmask.c: New file. - * posix/spawni.c: New file. - * posix/spawnp.c: New file. - - * sysdeps/mach/hurd/bits/posix_opt.h: Add _POSIX_SPAWN. - * sysdeps/unix/sysv/linux/bits/posix_opt.h: Likewise. - -2000-04-14 Ulrich Drepper <drepper@redhat.com> - - * malloc/Versions [libc] (GLIBC_2.2): Add posix_memalign. - * malloc/malloc.c: Implement posix_memalign for glibc. - * include/stdlib.h: Add prototype for __posix_memalign. - * stdlib/stdlib.h: Add prototype for posix_memalign. - -2000-04-14 Andreas Jaeger <aj@suse.de> - - * sysdeps/mips/dl-machine.h (elf_machine_got_rel): Initialize - symidx correctly. - (elf_machine_got_rel): Cast sym correctly. - - * sysdeps/mips/add_n.S: Use __PIC__, add end directive. - * sysdeps/mips/addmul_1.S: Likewise. - * sysdeps/mips/lshift.S: Likewise. - * sysdeps/mips/mul_1.S: Likewise. - * sysdeps/mips/rshift.S: Likewise. - * sysdeps/mips/sub_n.S: Likewise. - * sysdeps/mips/submul_1.S: Likewise. - - * stdlib/stdlib.h: Fix typo in comment. - - * shlib-versions (mips.*-.*-linux.*): Support only GLIBC 2.0 and - 2.2 for libdl, ld and libm. - - * sysdeps/generic/madvise.c: Fix typos. - - * sysdeps/unix/sysv/linux/mips/clone.S (error): Use __PIC__. - - * sysdeps/mips/bits/setjmp.h: Remove K&R compatibility. - - * sysdeps/mips/setjmp_aux.c (__sigsetjmp_aux): Silence gcc - warnings. + * 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. -2000-04-14 Ulrich Drepper <drepper@redhat.com> - - * include/sys/statfs.h: Add prototypes for __statfs64 and __fstatfs64. - * sysdeps/generic/fstatfs64.c (__fstatfs64): Renamed to fstatfs64. - Make old name weak alias. - * sysdeps/unix/sysv/linux/fstatfs64.c: Likewise. - * sysdeps/generic/statfs64.c (__statfs64): Renamed to statfs64. - Make old name weak alias. - * sysdeps/unix/sysv/linux/statfs64.c: Likewise. - - * io/Makefile (routines): Add posix_fadvise, posix_fadvise64, - posix_fallocate, and posix_fallocate64. - * io/Versions [libc] (GLIBC_2.2): Add posix_fadvise, posix_fadvise64, - posix_fallocate, and posix_fallocate64. - * io/fcntl.h: Declare posix_fadvise, posix_fadvise64, - posix_fallocate, and posix_fallocate64. - * sysdeps/generic/fadvise.c: New file. - * sysdeps/generic/fadvise64.c: New file. - * sysdeps/generic/fallocate.c: New file. - * sysdeps/generic/fallocate64.c: New file. - * sysdeps/posix/fallocate.c: New file. - * sysdeps/posix/fallocate64.c: New file. - * sysdeps/generic/bits/fcntl.h: Define POSIX_FADV_NORMAL, - POSIX_FADV_RANDOM, POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED, - POSIX_FADV_DONTNEED, and POSIX_FADV_NOREUSE. - * sysdeps/mach/hurd/bits/fcntl.h: Likewise. - * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Likewise. - * sysdeps/unix/sysv/linux/bits/fcntl.h: Likewise. - * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise. - * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise. - * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise. - - * sysdeps/generic/madvise.c (__madvise): Renamed to posix_madvise. - * sysdeps/unix/sysv/linux/syscalls.list: Likewise. - -2000-04-13 Ulrich Drepper <drepper@redhat.com> - - * misc/Versions [libc] (GLIBC_2.2): Add posix_madvice. - * misc/sys/mman.h (posix_madvise): Add prototype. - * sysdeps/generic/madvise.c (madvise): Renamed to __madvise. Make - old name and posix_madvise weak aliases. - * sysdeps/unix/sysv/linux/syscalls.list: Likewise. - * sysdeps/generic/bits/mman.h: Add POSIX_MADV_* constants. - * sysdeps/unix/sysv/linux/alpha/bits/mman.h: Likewise. - * sysdeps/unix/sysv/linux/arm/bits/mman.h: Likewise. - * sysdeps/unix/sysv/linux/i386/bits/mman.h: Likewise. - * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise. - * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise. - -2000-04-13 Andreas Jaeger <aj@suse.de> - - * sysdeps/mips/dl-machine.h (__dl_runtime_resolve): Handle symbol - versioning. - (elf_machine_got_rel): Only add runtime display if needed. - (elf_machine_got_rel): Handle symbol versioning. - -2000-04-13 Andreas Jaeger <aj@suse.de> - - * sysdeps/unix/sysv/linux/mips/clone.S: Fix function. - - * sysdeps/unix/mips/pipe.S: Reorder instructions since .reorder is - default. - - * sysdeps/mips/__longjmp.c (__longjmp): Use $25 to fix problems - with some applications. - Patches by Ralf Baechle <ralf@uni-koblenz.de>. - - * sysdeps/mips/bsd-setjmp.S: Use __PIC__. - * sysdeps/mips/bsd-_setjmp.S: Likewise. - * sysdeps/mips/setjmp.S: Likewise. - - * sysdeps/unix/sysv/linux/mips/pipe.S: New file. - -2000-04-13 Ulrich Drepper <drepper@redhat.com> - - * posix/globtest.sh: Work around inconsistency with expanding ~/ - in shell (PR libc/1690). Reported by patsmith@pobox.com. - -2000-04-12 Ulrich Drepper <drepper@redhat.com> - - * posix/getconf.c: Add support for many more POSIX options. - * sysdeps/posix/sysconf.c: Likewise. - * sysdeps/generic/bits/confname.h: Add many more POSIX options. - * sysdeps/mach/hurd/bits/posix_opt.h: Add _POSIX_REGEXP and - _POSIX_SHELL. - * sysdeps/unix/sysv/linux/bits/posix_opt.h: Likewise. - * sysdeps/unix/sysv/linux/i386/bits/time.h: Rename __CLOCK_HIGHRES to - CLOCK_PROCESS_CPUTIME_ID. Add define CLOCK_MONOTONIC and - CLOCK_THREAD_CPUTIME_ID. - * sysdeps/unix/i386/clock_getcpuclockid.c: Set *clock_id to - CLOCK_PROCESS_CPUTIME_ID. - * sysdeps/unix/i386/i586/clock_getres.c: Change for renaming of - __CLOCK_HIGHRES to CLOCK_PROCESS_CPUTIME_ID. Handle - CLOCK_THREAD_CPUTIME_ID and CLOCK_MONOTONIC the same. - * sysdeps/unix/i386/i586/clock_gettime.c: Likewise. + From GMP 3.1.1: + * sysdeps/alpha/alphaev6/addmul_1.s: New file. - * malloc/Makefile (tests): Add tst-calloc. - * malloc/tst-calloc.c: New file. + 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. - * sysdeps/arm/libm-test-ulps: New file. +2000-12-08 Jakub Jelinek <jakub@redhat.com> - * malloc/malloc.c: Undo all of today's changes. + * inet/getnameinfo.c (getnameinfo): Fix NI_NOFQDN support. + Reported by <pspencer@fields.utoronto.ca>. - * locale/programs/locale.c (show_info): Don't try to look into - data for LC_ALL (there is none). +2000-12-07 Jes Sorensen <jes@linuxcare.com> - * malloc/malloc.c (cALLOc): Clear only what the user asked for and - avoid writing over boundary. - Patch by Greg McGary <gkm@eng.ascend.com>. + * sysdeps/ia64/elf/start.S (__data_start): Add __data_start variable. + Pointed out by Hans Boehm. - * sysdeps/arm/memprof.h: New file. +2000-12-07 H.J. Lu <hjl@gnu.org> + + * elf/dl-version.c (match_symbol): Check map->l_name[0] for printing. -2000-04-12 Andreas Jaeger <aj@suse.de> +2000-12-07 Andreas Jaeger <aj@suse.de> - * sysdeps/unix/i386/i586/clock_gettime.c: Fix typo. + * misc/error.c: Add format attributes for __error and __error_at_line. - * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Include <string.h> - for memmem declaration. + * nscd/dbg_log.h: Add format attribute. -2000-04-12 Ulrich Drepper <drepper@redhat.com> +2000-12-08 Ulrich Drepper <drepper@redhat.com> - * sysdeps/unix/clock_gettime.c (clock_gettime): Initialize retval - to -1. - * sysdeps/posix/clock_getres.c (clock_getres): Likewise. + * misc/sys/syslog.h: Add format attributes to syslog and vsyslog. + Patch by Joseph S. Myers <jsm28@cam.ac.uk>. - * libio/iopopen.c (_IO_new_proc_open): Close pipes in case the - mode is invalid. - * libio/oldiopopen.c (_IO_old_proc_open): Likewise. - Patch by Bart Veer <bartv@redhat.com>. +2000-12-07 Dan Pop <Dan.Pop@cern.ch> - * sysdeps/arm/dl-machine.h (RTLD_START): Rewrite for new init - function interface. + * sysdeps/ia64/strcpy.S: Fix a bug in a recovery code sequence. -2000-04-11 Andreas Jaeger <aj@suse.de> +2000-12-06 Ulrich Drepper <drepper@redhat.com> - * sysdeps/mips/dl-machine.h: Update some comments. - (ELF_MACHINE_ALIGN_MASK): Removed, it's not needed. + * 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>. -2000-04-11 Ulrich Drepper <drepper@redhat.com> +2000-12-06 Roland McGrath <roland@frob.com> - * sysdeps/unix/sysv/linux/bits/posix_opt.h: Add - _POSIX_SHARED_MEMORY_OBJECTS. + * 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>. - * rt/Makefile (tests): Add tst-shm. - Add rules to generate tst-shm. - * rt/tst-shm.c: New file. + * sysdeps/mach/hurd/ioctl.c: Include <stdint.h>. + (__ioctl): Use uintptr_t instead of unsigned long int. - * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Set FD_CLOEXEC - for descriptor. +2000-12-06 Jim Wilson <wilson@redhat.com> - * misc/sys/mman.h: Add prototypes for shm_open and shm_unlink. - * rt/Makefile (librt-routines): Add shm_open and shm_unlink. - * rt/Versions [librt] (GLIBC_2.2): Add shm_open and shm_unlink. - * sysdeps/generic/shm_open.c: New file. - * sysdeps/generic/shm_unlink.c: New file. - * sysdeps/unix/sysv/linux/shm_open.c: New file. - * sysdeps/unix/sysv/linux/shm_unlink.c: New file. - * sysdeps/unix/sysv/linux/Versions [libc] (GLIBC_2.2): Export - __endmntent, __getmntent_r, __setmntent, and __statfs. + * stdlib/l64a.c (l64a): Truncate M to 32-bit value. - * libio/vasprintf.c (_IO_vasprintf): Try to avoid memory - fragmentation by allocating new memory at the end instead of - reallocating. +2000-12-06 Ulrich Drepper <drepper@redhat.com> - * posix/globtest.sh: Fix last change. + * stdio-common/printf_fp.c (__printf_fp): Handle decimal point in + x.5 rounding correctly. -2000-04-10 Philip Blundell <philb@gnu.org> +2000-12-06 Mark Kettenis <kettenis@gnu.org> - * sysdeps/unix/sysv/linux/bits/in.h (IPV6_JOIN_GROUP, - IPV6_LEAVE_GROUP): New names for IPV6_ADD_MEMBERSHIP, - IPV6_DROP_MEMBERSHIP. - * sysdeps/generic/bits/in.h (IPV6_JOIN_GROUP, IPV6_LEAVE_GROUP): - Likewise. + * stdio-common/perror.c (perror): Conditionalize code dealing with + wide-oriented streams on USE_IN_LIBIO. -2000-04-11 Ulrich Drepper <drepper@redhat.com> - - * elf/readlib (process_file): Close streams in case of an error. - -2000-04-09 Andreas Jaeger <aj@suse.de> - - * elf/readlib.c (process_file): Check if file is big enough to - contain aout and ELF headers. - Reported by Reinhard Moosauer <RMoosauer@steinecker.com>. - -2000-04-10 Jes Sorensen <Jes.Sorensen@cern.ch> - - * elf/dl-fini.c: Include alloca.h to get proper prototype for alloca(). - -2000-04-11 Ulrich Drepper <drepper@redhat.com> - - * test-skeleton.c (main): If STDOUT_UNBUFFERED is defined, make stdout - stream unbuffered. - * rt/Makefile (tests): Add tst-clock. - Add rules to build tst-clock. - * rt/tst-clock.c: New file. - * sysdeps/unix/i386/i586/clock_getres.c: Correct expression to decide - about initialization of nsec. - * sysdeps/unix/i386/i586/clock_gettime.c: Correct expression to decide - about initialization of freq. Set retval to zero if successful. - * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Cache result. - -2000-04-10 Ulrich Drepper <drepper@redhat.com> - - * Versions.def (librt): Add GLIBC_2.2. - * rt/Makefile (librt-routines): Add get_clockfreq, clock_getcpuclockid, - clock_getres, clock_gettime, clock_settime, timer_create, timer_delete, - timer_getoverr, timer_gettime, and timer_settime. - * rt/Versions [librt] (GLIBC_2.2): Add clock_getres, clock_gettime, - clock_settime, timer_create, timer_delete, timer_getoverrun, - timer_gettime, and timer_settime. - * sysdeps/generic/clock_getcpuclockid.c: New file. - * sysdeps/generic/get_clockfreq.c: New file. - * sysdeps/unix/i386/clock_getcpuclockid.c: New file. - * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: New file. - * sysdeps/mach/hurd/i386/bits/time.h: New file. - * sysdeps/unix/i386/i586/clock_getres.c: New file. - * sysdeps/unix/i386/i586/clock_gettime.c: New file. - * sysdeps/unix/i386/i686/Implies: New file. - * sysdpes/unix/sysv/linux/i386/bits/time.h: New file. - * time/Makefile (routines): Move clock_getres, clock_gettime, - clock_settime, timer_create, timer_delete, timer_getoverr, - timer_gettime, and timer_settime to rt/Makefile. - * time/Versions [libc] (GLIBC_2.2): Remove clock_getres, clock_gettime, - clock_settime, timer_create, timer_delete, timer_getoverrun, - timer_gettime, and timer_settime. - * time/time.h: Define pid_t. Add prototype for clock_getcpuclockid. - - * sysdeps/mach/hurd/bits/time.h: Drop K&R compatibility. Use __const__ - and not const as attribute name. - -2000-04-10 Thorsten Kukuk <kukuk@suse.de> - - * elf/cache.c (save_cache): Make sure /etc/ld.so.cache is mode 644. - -2000-04-10 Andreas Schwab <schwab@suse.de> - - * posix/globtest.sh: Skip tests that depend on unreadable - directories if run as root. - -2000-04-10 Ulrich Drepper <drepper@redhat.com> - - * sysdeps/unix/clock_settime.c (clock_settime): Test tv_nsec value - for correct range. From code by Kaz Kylheku <kaz@ashi.footprints.net>. - -2000-04-09 Ulrich Drepper <drepper@redhat.com> - - * sysdeps/unix/clock_gettime.c: New file. - * sysdeps/unix/clock_settime.c: New file. - * sysdeps/posix/clock_getres.c: New file. - - * conform/data/ftw.h-data: Add allow-header sys/stat.h. - - * sysdeps/unix/sysv/linux/getdents.c (__getdents): Avoid initial - lseek call be passing in a buffer which never allow a successful - first getdents syscall if not at leas the initial entry can be - stored in the user buffer. - - * localedata/Makefile: Add rules to clean up directories created by - new strfmon tests. - -2000-04-09 Geoff Clare <gwc@unisoft.com> - - * localedata/tst-fmon.data: Added new tests for strfmon() - using test locales with all combinations of cs_precedes, - sign_posn and sep_by_space. - * localedata/tst-fmon.sh: Updated to support the new tests. - * localedata/tst-fmon-locales/tstfmon_n01y12: New file containing - the localedef source for the new strfmon() test locale. - * localedata/tst-fmon-locales/tstfmon_n02n40: Likewise. - * localedata/tst-fmon-locales/tstfmon_n10y31: Likewise. - * localedata/tst-fmon-locales/tstfmon_n11y41: Likewise. - * localedata/tst-fmon-locales/tstfmon_n12y11: Likewise. - * localedata/tst-fmon-locales/tstfmon_n20n32: Likewise. - * localedata/tst-fmon-locales/tstfmon_n30y20: Likewise. - * localedata/tst-fmon-locales/tstfmon_n41n00: Likewise. - * localedata/tst-fmon-locales/tstfmon_y01y10: Likewise. - * localedata/tst-fmon-locales/tstfmon_y02n22: Likewise. - * localedata/tst-fmon-locales/tstfmon_y22n42: Likewise. - * localedata/tst-fmon-locales/tstfmon_y30y21: Likewise. - * localedata/tst-fmon-locales/tstfmon_y32n31: Likewise. - * localedata/tst-fmon-locales/tstfmon_y40y00: Likewise. - * localedata/tst-fmon-locales/tstfmon_y42n21: Likewise. - - * stdlib/strfmon.c: Correct problems with missing or extra - spaces for unusual combinations of sign_posn and sep_by_space. - Improved left-precision alignment code. - -2000-04-07 Andreas Jaeger <aj@suse.de> - - * posix/Makefile (CFLAGS-regex.c): Remove DEBUG. - -2000-04-10 Andreas Jaeger <aj@suse.de> - - * intl/Makefile: Don't run do-gettext-test when cross-compiling. - -2000-04-09 Ulrich Drepper <drepper@redhat.com> - - Implement handling of restartable conversion functions according to - ISO C. - * iconv/gconv.h (__gconv_fct): Add additional parameter. - * iconv/gconv_int.h (__BUILTIN_TRANS): Likewise. - * iconv/gconv.c: Pass additional parameter to conversion function. - * iconv/gconv_simple.c (internal_ucs4_loop_single): New function. - (internal_ucs4le_loop_single): New function. - (__gconv_transform_ascii_internal): Define ONE_DIRECTION. - (__gconv_transform_internal_ascii): Likewise. - (__gconv_transform_internal_utf8): Likewise. - (__gconv_transform_utf8_internal): Likewise. - (__gconv_transform_ucs2_internal): Likewise. - (__gconv_transform_internal_ucs2): Likewise. - (__gconv_transform_ucs2reverse_internal): Likewise. - (__gconv_transform_internal_ucs2reverse): Likewise. - (internal_ucs4le_loop_unaligned): Before return - __GCONV_INCOMPLETE_INPUT check that the remaining bytes really form - a valid character. Otherwise return __GCONV_ILLEGAL_INPUT. - (__gconv_transform_utf8_internal): Define STORE_REST and UNPACK_BYTES. - * iconv/loop.c: Fit in definition of function to convert one character - for processing of left-over bytes from the state object. - * iconv/skeleton.c (gconv): Rename inbuf to inptrp and inbufend to - inend to match names in loop functions. - (RESET_INPUT_BUFFER): Change apprpriately. - (gconv): If needed, call function to process bytes from the state - object. Similar at the end: store left over bytes if input is - incomplete. - Take extra argument and add new argument to all calls of the - conversion function. - * iconvdata/iso-2022-cn.c: Adjust numeric values used to store - information in the state object to not conflict with length count. - * iconvdata/iso-2022-jp.c: Likewise. - * iconvdata/iso-2022-kr.c: Likewise. - * iconvdata/unicode.c: Adjust for change change in parameters of - skeleton function. - * iconvdata/utf-16.c: Likewise. - * libio/iofwide.c: Add new parameter to all calls of conversion - function. - * wcsmbs/btowc.c: Likewise. - * wcsmbs/mbrtowc.c: Likewise. - * wcsmbs/mbsnrtowcs.c: Likewise. - * wcsmbs/mbsrtowcs.c: Likewise. - * wcsmbs/wcrtomb.c: Likewise. - * wcsmbs/wcsnrtombs.c: Likewise. - * wcsmbs/wcsrtombs.c: Likewise. - * wcsmbs/wctob.c: Likewise. - - * iconvdata/gbgbk.c: Always define MAX_NEEDED_OUTPUT and - MAX_NEEDED_INPUT. - -2000-04-07 Andreas Jaeger <aj@suse.de> - - * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Updated for - newer kernels. - -2000-04-07 Ulrich Drepper <drepper@redhat.com> - - * wcsmbs/wchar.h (__mbstate_t): Rename elements. Make __value - element a union to allow byte access. - * iconvdata/iso-2022-cn.c: Adjust for change of element name in - mbstate_t. - * iconvdata/iso-2022-jp.c: Likewise. - * iconvdata/iso-2022-kr.c: Likewise. - * wcsmbs/mbsinit.c: Likewise. - * stdlib/mblen.c: Likewise. - * stdio-common/printf-parse.h: Likewise. - -2000-04-06 Ulrich Drepper <drepper@redhat.com> - - * sysdeps/unix/sysv/linux/getdents.c (__getdents): The Linux - kernel does not allow relative seeks on descriptors associated - with directories. Go back to get the position in the directory - every time we enter the function. Return -1 and set errno if one - entry could be read from the kernel but does not fit into the - buffer passed in by the user. - - * locale/programs/charmap.c (charmap_new_char): Add parameter step. - Support ..(2).. ellipsis. - (parse_charmap): Recognize ..(2).. etc and pass step down. - Correctly generate names for UCS4 characters. - - * locale/programs/ld-ctype.c (struct translit_ignore_t): Add step. - (ctype_finish): We know the wide character value for <SP>, - don't search. - (charclass_symbolic_ellipsis): Handle ..(2).. ellipsis. - (charclass_ucs4_ellipsis): Likewise. - (read_translit_ignore_entry): Store ellipsis step. - (ctype_read): Recognize ..(2).. etc and pass step down. - - * locale/programs/linereader.c (lr_token): When seeing comment - character ignore only rest of line in sources but stop at escaped - newline. - Recognize ..(2).. and ....(2)..... - - * locale/programs/locfile-token.h (enum token_t): Add tok_ellipsis2_2 - and tok_ellipsis4_2. - -2000-04-06 Andreas Jaeger <aj@suse.de> - - * sysdeps/unix/sysv/linux/alpha/Dist: init-first.h has been - removed, remove it here also. - * sysdeps/unix/sysv/linux/arm/Dist: Likewise. - * sysdeps/unix/sysv/linux/powerpc/Dist: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc32/Dist: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc64/Dist: Likewise. - -2000-04-06 Jakub Jelinek <jakub@redhat.com> - - * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Don't - include bits/sigcontext.h. - * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise. - -2000-04-06 Ulrich Drepper <drepper@redhat.com> - - * locale/programs/ld-collate.c (collate_read): Handle ellipsis in - collation symbol definition. Value in quivalence definition must - be defined, don't check that it is not. - - * locale/programs/charmap.c (parse_charmap): Recognize <Uxxxx> - values as character names. - - * locale/programs/ld-ctype.c (get_character): Handle missing - repertoire map correctly. - -2000-04-05 Cristian Gafton <gafton@redhat.com> - - * ctype/ctype.h (__isctype_l): Define even if not __OPTIMIZE__ - because it is used in generic code. - * wctype/wctrans.c: Define __ctype32_toupper and __ctype32_tolower. - * wcsmbs/wcwidth.h: Declare __ctype32_b. - * intl/gettext.c: Include <locale.h>. - * intl/ngettext.c: Likewise. +2000-12-06 Mark Kettenis <kettenis@gnu.org> -2000-04-05 Jakub Jelinek <jakub@redhat.com> + * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup): Mark + as internal_function. - * resolv/inet_ntop.c (inet_ntop4, inet_ntop6, inet_ntop): Use - socklen_t type for size. - * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Rewrite for new - init function interface. - * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise. - * sysdeps/unix/sysv/linux/sparc/bits/setjmp.h: Don't include - sys/ucontext.h. - (__jmp_buf): Declare the whole type structure here, don't use - ucontext. +2000-12-05 Ulrich Drepper <drepper@redhat.com> -2000-04-05 Ulrich Drepper <drepper@redhat.com> + * sysdeps/alpha/elf/start.S (__data_start): Define. - * iconv/skeleton.c (put16u): Fix typo. - Reported by Bruno Haible <haible@ilog.fr>. +2000-12-05 H.J. Lu <hjl@gnu.org> - * sysdeps/unix/sysv/linux/alpha/init-first.h: Not needed anymore. - * sysdeps/unix/sysv/linux/arm/init-first.h: Likewise. - * sysdeps/unix/sysv/linux/mips/init-first.h: Likewise. - * sysdeps/unix/sysv/linux/powerpc/init-first.h: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc32/init-first.h: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc64/init-first.h: Likewise. + * nss/getXXent_r.c (setup): Change the return type to int. - * sysdeps/unix/sysv/linux/Dist: Remove getresuid and getresgid. - * Makefile (distribute): Add abi-versions.awk and - firstversions.awk. - Patches by Torsten Duwe <duwe@caldera.de>. +2000-12-05 Ulrich Drepper <drepper@redhat.com> -2000-04-05 Andreas Schwab <schwab@suse.de> + * 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>. - * nss/Makefile ($(objpfx)makedb): Move $(libdl) after db-open.o. + * sysdeps/unix/opendir.c (__opendir): Don't use o_directory_works + if O_DIRECTORY is not defined. + Patch by Michael Keezer <mkeezer@redhat.com>. -2000-04-05 Andreas Schwab <schwab@suse.de> + * include/libc-symbols.h (C_SYMBOL_DOT_NAME): Define. + Patch by Michael Keezer <mkeezer@redhat.com>. - * sysdeps/m68k/dl-machine.h (RTLD_START): Readd _dl_start_user - entry point, used on Hurd. + * locale/programs/linereader.c (get_toplvl_escape): Recognize more + than 4 bytes in escape sequence. + Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>. -2000-04-04 Andreas Jaeger <aj@suse.de> +2000-12-05 Andreas Jaeger <aj@suse.de> - * intl/Makefile: Only run the gettext test with shared libraries. + * sysdeps/unix/sysv/linux/mips/sys/tas.h (_test_and_set): Don't + set mips2. -2000-03-16 Mark Kettenis <kettenis@gnu.org> + * sysdeps/unix/sysv/linux/mips/sysdep.h: New file. - * sysdeps/unix/sysv/linux/i386/sys/procfs.h (prfpregset_t): - Typedef for elf_fpregset_t instead of `elf_fpregset_t *'. + * sysdeps/unix/sysv/linux/mips/sys/syscall.h: Removed. -2000-04-05 Roland McGrath <roland@baalperazim.frob.com> + * sysdeps/unix/mips/sysdep.h: Use SYS_ify. + Patches by Maciej W. Rozycki <macro@ds2.pg.gda.pl>. - * Makeconfig: Undo last change. - * configure.in: If --disable-shared was given, don't set VERSIONING, - don't define DO_VERSIONING, and don't give scare warning for no - versioning. - * configure: Regenerated. + * 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. -2000-04-04 Roland McGrath <roland@baalperazim.frob.com> + * sysdeps/generic/dl-cache.c: Remove declaration of + _dl_sysdep_read_whole_file. - * Makeconfig [$(build-shared) != yes] (versioning): Set to `no'. + * elf/dl-load.c (_dl_map_object): Remove declaration of + _dl_load_cache_lookup. -2000-04-04 Andreas Jaeger <aj@suse.de> + * 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. - * sysdeps/generic/fgetexcptflg.c: Use shlib-compat macros. + * elf/rtld.c: Remove prototypes that are defined in ldsodefs.h + now. -2000-04-04 Ulrich Drepper <drepper@redhat.com> + * elf/dl-misc.c: Include <ldsodefs.h> to get prototypes. + * sysdeps/generic/dl-environ.c: Likewise. - * elf/dl-runtime.c (fixup): Correct handling of symbols marked - STV_HIDDEN and STV_INTERNAL during lookup. - (profile_fixup): Likewise. - * elf/dl-reloc.c (RESOLVE): Likewise. + * 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. - * iconv/skeleton.c (FUNCTION_NAME): Reorder initialization of - unaligned so that it compiles for system which need unaligned - access handling. + * include/gmp.h: New file with internal prototypes. -2000-04-04 Andreas Schwab <schwab@suse.de> + * sysdeps/generic/longjmp.c: Move _longjmp_unwind declaration from + here to... + * include/setjmp.h: ...here. - * elf/cache.c (print_entry): Only look at the type field when - printing the type. + * locale/Makefile (routines): Remove codeset_name since it's not + needed anywhere. -2000-04-04 Andreas Schwab <schwab@suse.de> + * locale/codeset_name.c: Removed. - * iconvdata/big5.c (BODY): Fix typo. +2000-12-05 Ulrich Drepper <drepper@redhat.com> -2000-04-04 Andreas Schwab <schwab@suse.de> + * sysdeps/unix/sysv/aix/sys/param.h: Define MAXHOSTNAMELEN here. - * sysdeps/m68k/dl-machine.h (RTLD_START): Rewrite for new init - function interface. Remove unused _dl_start_user entry point. +2000-12-05 Andreas Jaeger <aj@suse.de> -2000-04-03 Andreas Jaeger <aj@suse.de> + * sysdeps/unix/sysv/linux/sys/param.h: Revert last patch. - * include/arpa/inet.h (__inet_aton): Add protoype. +2000-12-05 Martin Schwidefsky <schwidefsky@de.ibm.com> -2000-04-01 Andreas Jaeger <aj@suse.de> + * sysdeps/unix/sysv/linux/s390/mmap64.S: Use mmap if mmap2 isn't + available. - * sysdeps/mach/hurd/mips/init-first.c: Use SHARED instead of PIC. +2000-12-05 Andreas Jaeger <aj@suse.de> - * sysdeps/unix/mips/sysdep.h: Use __PIC__ instead of PIC. - * sysdeps/mach/mips/thread_state.h: Likewise. + * nss/test-netdb.c: Mark local functions as static to avoid + warnings. + (main): Use return to silence warning. - * sysdeps/generic/fclrexcpt.c: Use shlib-compat macros. - * sysdeps/generic/fegetenv.c: Likewise. - * sysdeps/generic/fesetenv.c: Likewise. - * sysdeps/generic/feupdateenv.c: Likewise. - * sysdeps/generic/fraiseexcpt.c: Likewise. - * sysdeps/generic/fsetexcptflg.c: Likewise. - * sysdeps/unix/sysv/linux/alpha/glob.c: Likewise. - * sysdeps/unix/sysv/linux/arm/errlist.c: Likewise. - * sysdeps/unix/sysv/linux/errlist.c: Likewise. - * sysdeps/unix/sysv/linux/i386/chown.c: Likewise. + * stdlib/test-canon.c (check_path): Mark as static to avoid warning. -2000-04-02 H.J. Lu <hjl@gnu.org> + * stdio-common/test-popen.c: Mark local functions as static to + avoid warnings. + (main): Use return to silence warning. - * elf/ldconfig.h (FLAG_IA64_LIB64): New. Defined. + * stdlib/testsort.c (compare): Mark as static to avoid warning. -2000-04-03 Ulrich Drepper <drepper@redhat.com> + * assert/test-assert.c: Mark local functions as static to avoid + warnings. + * assert/test-assert-perr.c: Likewise. + + * math/libm-test.inc (main): Use return to silence warnings. + +2000-12-04 Ulrich Drepper <drepper@redhat.com> + + * math/fenv.h: Fix typo in comment. + + * math/test-misc.c (main): Add a few more over and underflow tests + for scalb. + + * 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>. + +2000-12-04 Ulrich Drepper <drepper@redhat.com> + + * 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>. + +2000-12-04 H.J. Lu <hjl@gnu.org> + + * configure.in: Change --with-oldest-abi=ABI to + --enable-oldest-abi=ABI. + +2000-12-02 Bruno Haible <haible@clisp.cons.org> + + * stdio-common/perror.c (perror): If stderr is wide-oriented, use + fwprintf instead of fprintf. + +2000-12-04 Ulrich Drepper <drepper@redhat.com> + + * 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 + +2000-12-03 Ulrich Drepper <drepper@redhat.com> + + * math/test-fenv.c (main): Use return instead of exit to avoid warning. + + * math/atest-exp.c: Mark local functions as static to avoid warnings. + * math/atest-exp2.c: Likewise. + * math/atest-sincos.c: Likewise. + + * sysdeps/i386/fpu/bits/mathdef.h (DECIMAL_DIG): Correct value. + Reported by Fred J. Tydeman <tydeman@tybor.com>. + + * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Hopefully fix + the handling of denormalized numbers. + + * math/test-misc.c (main): Test for fpclassify and pseudo denormal + numbers on x86. + * sysdeps/i386/fpu/fpclassifyl.c: New file. + + * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Handle the + pseudo denormal representation of LDBL_MIN. + + * iconvdata/SJIS.irreversible: Remove unnecessary entries. + * iconvdata/EUC-JP.irreversible: Remove unnecessary entries. + + * 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>. - * elf/dl-load.c (_dl_dst_substitute): Pretty print comment. - (add_name_to_object): Add cast in malloc call. - (fillin_rpath): Optimize loop to initialize ->status a bit. + * math/test-misc.c (main): More tests for frexp and some for + fpclassify and isnormal. - * sysdeps/i386/dl-machine.h: Undo last change. - * sysdeps/mach/hurd/i386/dl-machine.h (RTLD_START_SPECIAL_INIT): - Restore %edx register after call here. + * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf): Correct + test for subnormal. + Reported by Fred J. Tydeman <tydeman@tybor.com>. - * sysdeps/arm/atomicity.h: New file. - Contributed by Jesper Skov <jskov@redhat.com>. + * 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. -2000-04-03 Roland McGrath <roland@baalperazim.frob.com> +2000-12-02 H.J. Lu <hjl@gnu.org> - * Makeconfig (preprocess-versions): Undo last change. - Instead, pass -I$(common-objdir) -I$(..)include instead of $(CPPFLAGS). + * locale/lc-time.c (_nl_init_era_entries): Pass L'\0' instead of + '\0' to wcschr. - * sysdeps/mach/hurd/i386/init-first.c (init): Don't set __environ - here, before we might move the stack. - (posixland_init): Set __libc_argc, __libc_argc, and __environ here. - (init1): And not here. +2000-12-02 Ulrich Drepper <drepper@redhat.com> - * sysdeps/i386/dl-machine.h (RTLD_START): Fix code broken by last - change, to restore argc value in call-clobbered register after - RTLD_START_SPECIAL_INIT, which will contain a call. + * sysdeps/i386/fpu/s_frexp.S: Add missing fwait. + * sysdeps/i386/fpu/s_frexpf.S: Likewise. + * sysdeps/i386/fpu/s_frexpl.S: Likewise. - * elf/dl-deps.c (_dl_map_object_deps): Fix size calculations for - allocating and initializing L->l_initfini. + * sysdeps/generic/glob.c: Adjust types of several variables to + avoid warnings. - * resolv/Makefile (headers): Add bits/netdb.h, so it gets installed. +2000-12-01 Ulrich Drepper <drepper@redhat.com> -2000-04-03 Ulrich Drepper <drepper@redhat.com> + * sysdeps/unix/sysv/linux/shm_open.c: Remove incorrect comment. - * elf/dl-load.c (_dl_init_paths): Use (void*) -1 to signal non-existing - RUNPATH, RPATH, and LD_LIBRARY_PATH. - (open_path): Change type of fourth parameter. Make pointer to array - of pointers. Create variable dirs with original type. - Track whether any directory for the object exists and if not, - change *DIRSP to (void*) -1 to signal there is no such search path. - (_dl_map_object): Change all calls of open_path. - Rewrite decompose_rpath calls. +2000-11-30 Roland McGrath <roland@frob.com> -2000-03-31 Andreas Schwab <schwab@suse.de> + * 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. - * string/strfry.c: Declare STATE as array of char instead of int - and do not initialize it (done by initstate_r). Pass correct - size. +2000-12-01 Ulrich Drepper <drepper@redhat.com> -2000-04-03 Ulrich Drepper <drepper@redhat.com> + * configure.in: Correct test for pserver CVS access. - * sysdeps/generic/ldsodefs.h: Fix typo in comment. +2000-11-28 H.J. Lu <hjl@gnu.org> - * sysdeps/i386/dl-machine.h (RTLD_START): Squeeze one more - instruction out of the code. + * libio/libio.h: Remove extra "#if ... #endif". -2000-04-02 Ulrich Drepper <drepper@redhat.com> +2000-11-29 H.J. Lu <hjl@gnu.org> - * elf/dl-fini.c (_dl_fini): Increment j counter after swapping in - element at this position. + * stdio-common/vfscanf.c (ORIENT): Swap the COMPILE_WSCANF case. - * elf/Versions [ld.so] (GLIBC_2.2): Export _dl_load_lock. - * elf/link.h (struct link_map): Add l_reldepsmax, l_reldepsact, and - l_reldeps elements. - * elf/dl-lookup.c (add_dependency): New function. - (_dl_lookup_symbol): Use it whenever symbol was found in a global, - dynamically loaded object. - (_dl_lookup_symbol_skip): Likewise. - (_dl_lookup_versioned_symbol): Likewise. - (_dl_lookup_versioned_symbol_skip): Likewise. - * elf/dl-open.c: Don't define _dl_load_lock here... - * elf/rtld.c: ...but here... - * elf/dl-support.c: ...and here. - * elf/dl-close.c (_dl_close): Close also dependent objects introduce - through relocation. - * elf/dl-fini.c (_dl_fini): Also take dependencies introduced through - relocations. - * dlfcn/Makefile (glrefmain.out): Test is not expected to fail - anymore. - * dlfcn/glrefmain.c: Add one more debug message. +2000-12-01 H.J. Lu <hjl@gnu.org> - * Makeconfig (preprocess-versions): Don't add $(CPPFLAGS) to compiler - command line. - * Makerules (sysd-versions): Use ( ) instead of { }. + * nss/getXXbyYY_r.c: Fix verioned symbol handling. + * nss/getXXent_r.c: Likewise. + * sysdeps/unix/sysv/linux/i386/chown.c: Likewise. - * elf/dl-load.c: Use __builtin_expect to signal that compiler should - optimize for the non-debugging case. - * elf/dl-lookup.c: Likewise. - * sysdeps/generic/libc-start.c: Likewise. +2000-11-30 H.J. Lu <hjl@gnu.org> -2000-04-02 Roland McGrath <roland@baalperazim.frob.com> - - * sysdeps/mach/hurd/i386/init-first.c: Replace PIC #ifdefs with SHARED. - (init1): Don't initialize __environ here, since init already does it. - (first_init): New function, broken out of _init. - (_hurd_stack_setup): Use it. - [SHARED] (_dl_init_first): New function, renamed from old _init. - (init1) [SHARED]: Don't call posixland_init here. - (posixland_init): Take ENVP arg, so signature is usual for initializer. - [SHARED] (_init): Define as alias for posixland_init. - [! SHARED] (__libc_first_init): Define as alias for posixland_init. - * sysdeps/i386/dl-machine.h (RTLD_START): Insert the macro - RTLD_START_SPECIAL_INIT before calling initializers. - (RTLD_START_SPECIAL_INIT): Define to empty if undefined. - * sysdeps/mach/hurd/i386/dl-machine.h: New file. - * sysdeps/mach/hurd/dl-sysdep.c (_dl_init_first): New weak function. - * elf/Versions ({libc,ld.so}: GLIBC_2.2): Add _dl_init_first. - - * stdio-common/tmpfile.c [! USE_IN_LIBIO]: No alias needed, - since we define the function with the name `tmpfile'. - - * mach/Versions: Define SHARED instead of PIC to affect shlib-compat.h. - * hurd/Versions: Likewise. - -2000-04-02 Ulrich Drepper <drepper@redhat.com> - - * elf/dl-runtime.c (fixup): Fix typo in comment. - - * resolv/netdb.h (getnameinfo): All length parameters are of type - socklen_t. - * inet/getnameinfo.c: Likewise. - -2000-04-01 Ulrich Drepper <drepper@redhat.com> - - * posix/unistd.h (socklen_t): Define if it has not yet happened. - (gethostname): Change type of second parameter to socklen_t. - * include/unistd.h (__gethostname): Change type of second - parameter to socklen_t. - * sysdeps/generic/gethostname.c (__gethostname): Likewise. - * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise. - * sysdeps/unix/sysv/gethostname.c (__gethostname): Likewise. - * sysdeps/unix/sysv/sysv4/solaris2/gethostname.c (__gethostname): - Likewise. - * sysdeps/unix/sysv/linux/gethostname.c: Removed. - * sysdeps/generic/bits/socket.h: Use __socklen_t to define socklen_t. - Allow definition elsewhere. - * sysdeps/unix/sysv/aix/bits/socket.h: Likewise. - * sysdeps/unix/sysv/linux/bits/socket.h: Likewise. - * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise. - * sysdeps/generic/bits/types.h: Define __socklen_t. - * sysdeps/unix/sysv/aix/bits/types.h: Likewise. - * sysdeps/unix/sysv/hpux/bits/types.h: Likewise. - * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise. - * sysdeps/unix/sysv/linux/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. + * scripts/abi-versions.awk (oldest_abi): New variable. + Handle the oldest ABI supported. - * inet/arpa/inet.h (inet_addr): Change return type to in_addr_t. - (inet_lnaof): Likewise. - (inet_netof): Likewise. - (inet_network): Likewise. - (inet_aton): Likewise. - (inet_makeaddr): Change parameter types to in_addr_t. - (inet_neta): Likewise. - (inet_ntop): Change type of last parameter to socklen_t. - (inet_aton): Only make available if __USE_MISC. - (inet_neta): Likewise. - (inet_net_ntop): Likewise. - (inet_net_pton): Likewise. - (inet_nsap_ntoa): Likewise. - - * inet/in.h: Define in_port_t type. - Define in_addr_t type. - (struct in_addr): Use in_addr_t in definition. - (IN_CLASSA): Use cast to in_addr_t. - (IN_CLASSB): Likewise. - (IN_CLASSC): Likewise. - (IN_CLASSD): Likewise. - (IN_EXPERIMENTAL): Likewise. - (IN_BADCLASS): Likewise. - (INADDR_ANY): Likewise. - (INADDR_BROADCAST): Likewise. - (INADDR_NONE): Likewise. - (INADDR_LOOPBACK): Likewise. - (INADDR_UNSPEC_GROUP): Likewise. - (INADDR_ALLHOSTS_GROUP): Likewise. - (INADDR_ALLRTRS_GROUP): Likewise. - (INADDR_MAX_LOCAL_GROUP): Likewise. - (struct sockaddr_in): Use in_port_t for sin_port element. - (struct sockaddr_in6): Use in_port_t for sin6_port element. - Use uint8_t instead of u_int8_t. - - * resolv/inet_addr.c (inet_addr): Change return type to in_addr_t. - Call __inet_aton instead of inet_aton. - (__inet_aton): Renamed from inet_aton. Add weak alias under old name. - - * resolv/netdb.h (gethostbyname2): Define only is __USE_MISC. - (innetgr): Likewise. - (struct addrinfo): Use socklen_t for ai_addrlen element. - - * sysdeps/unix/sysv/linux/bits/in.h (IPV6_MTU_DISCOVER, IPV6_MTU, - IPV6_RECVERR): New defines. - - * include/netdb.h: Change type of first parameter of __getnetbyaddr_r. - * inet/getnetbyad.c: Likewise. - * inet/getnetbyad_r.c: Likewise. - * nis/nss_nis/nis-network.c: Likewise. - * nis/nssplus_nis/nisplus-network.c: Likewise. - * nss/nss_files/files-network.c: Likewise. - * resolv/netdb.h: Define uint32_t if not already happened. - Include bits/netdb.h. Remove definition of struct netent. - Change type of first parameter of getnetbyaddr_r and getnetbyaddr. - * sysdeps/generic/stdint.h: Allow definition of uint32_t elsewhere. - * sysdeps/generic/bits/netdb.h: New file. - * sysdeps/unix/sysv/linux/alpha/bits/netdb.h: New file. + * Makerules ($(common-objpfx)abi-versions.h): Set oldest_abi + for scripts/abi-versions.awk. - * dlfcn/Makefile (distribute): Add glreflib1.c and glreflib2.c. - (tests): Add glrefmain. - Add rules to build modules and run tests. Ignore result of glrefmain - for now since it fails. - * dlfcn/glrefmain.c: New file. - * dlfcn/glreflib1.c: New file. - * dlfcn/glreflib2.c: New file. + * configure.in: Add --with-oldest-abi=ABI. + * configure: Rebuild. - * test-skeleton.c: Include <string.h> for strsignal prototype. + * config.make.in (oldest-abi): New. - * locale/programs/ld-collate.c (check_duplicate): Allow repertoire - to be missing. + * config.h.in (GLIBC_OLDEST_ABI): New. - * sysdeps/unix/sysv/linux/init-first.c (init): Add code from - former init-first.h. Initialize __libc_multiple_libcs. + * csu/version.c (banner): Support GLIBC_OLDEST_ABI. -2000-03-31 Ulrich Drepper <drepper@redhat.com> +2000-11-30 Jakub Jelinek <jakub@redhat.com> - * iconv/skeleton.c: Define access macros with u suffix. Adjust - #if expression for use of unaligned function to the one used in - the definition of these functions. - * iconv/loop.c: Undefined `unaligned' before recursive inclusion. - * iconv/gconv_simple.c (internal_ucs4_loop_unaligned): New function. - (internal_ucs4le_loop_unaligned): New function. + * 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. - * elf/Makefile (distribute): Add dep1.c, dep2.c, dep3.c, and dep4.c. - (tests): Add order. - (module-names): Add dep1, dep2, dep3, and dep4. - Add dependencies for dep* modules and order. - Define rule for order.out which checks the result. - * elf/dep1.c: New file. - * elf/dep2.c: New file. - * elf/dep3.c: New file. - * elf/dep4.c: New file. - * elf/order.c: New file. +2000-11-30 Roland McGrath <roland@frob.com> - * elf/dl-init.c: Fix typo in comment. + * 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. -2000-03-31 Andreas Jaeger <aj@suse.de> +2000-11-28 Andreas Jaeger <aj@suse.de> - * sysdeps/mips/dl-machine.h (RTLD_START): Rewritten to match new - init function interface. - * sysdeps/mips/mips64/dl-machine.h (RTLD_START): Likewise. + * sysdeps/unix/sysv/linux/getdents.c: Add _syscall_getdents64 + declaration, adjust declaration of __syscall_getdents to match + kernel. -2000-03-31 Andreas Jaeger <aj@suse.de> +2000-11-29 H.J. Lu <hjl@gnu.org> - * sysdeps/mips/fpu/fgetexcptflg.c: Fix last patch to use #if. - * sysdeps/mips/fpu/fegetenv.c: Likewise. - * sysdeps/mips/fpu/feupdateenv.c: Likewise. - * sysdeps/mips/fpu/fclrexcpt.c: Likewise. - * sysdeps/mips/fpu/fesetenv.c: Likewise. + * sysdeps/generic/readelflib.c (check_ptr): Undefine it first. - * sysdeps/generic/ldsodefs.h: DT_INIT_ARRAY is not relocated - anymore, update comment. +2000-11-29 Andreas Jaeger <aj@suse.de> - * sysdeps/unix/sysv/linux/shmctl.c: Likewise. + * sysdeps/unix/sysv/linux/hppa/brk.c (__brk): Remove unused variable. - * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Remove - SHLIB_COMPAT - the struct is always needed. +2000-11-28 Ulrich Drepper <drepper@redhat.com> -2000-03-31 Ulrich Drepper <drepper@redhat.com> + * 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. - * sysdeps/i386/dl-machine.h (RTLD_START): Optimize for i686. - * elf/dl-support.c: Define _dl_starting_up. + * ctype/ctype-extn.c: Define isblank and not __isblank. -2000-03-30 Ulrich Drepper <drepper@redhat.com> + * time/strftime.c: Add const where necessary to avoid warnings. + * time/strptime.c (strptime_internal): Add casts to avoid warnings. - * elf/dl-init.c (_dl_init): Clear _dl_starting_up at end of function. - * sysdeps/i386/dl-machine.h: Remove code to clear _dl_starting_up. +2000-11-22 Paul Eggert <eggert@twinsun.com> - * misc/sys/cdefs.h: Don't allow gcc in traditional mode to be used. + * time/strftime.c (my_strftime): Do not invoke mbrlen with a + size of (size_t) -1; it's not portable. - * elf/Makefile (dl-routines): Remove preinit. - * elf/Versions: Remove _dl_preinit. - * elf/dl-preinit.c: Removed. Move content into... - * elf/dl-init.c: ...here. - * sysdeps/i386/dl-machine.h (RTLD_START): Remove call to _dl_preinit. +2000-11-28 Ulrich Drepper <drepper@redhat.com> - * sysdeps/generic/bits/shm.h (struct shmid_ds): Correct names of - elements. + * sysdeps/i386/fpu/libm-test-ulps: Adjust some values for the + crappy i486 FPU. + Reported by Michael Deutschmann <michael@talamasca.ocis.net>. -2000-03-29 Geoff Clare <gwc@unisoft.com> +2000-11-14 Jes Sorensen <jes@linuxcare.com> - * stdlib/strfmon.c: Corrected problems with the code that - sets default values for [np]_sep_by_space and - [np]_sign_posn; also the new positive/negative alignment - code from the previous patch was not quite right for - [np]_sign_posn = 0. + * sysdeps/ia64/_mcount.S: Call __mcount instead of __mcount_internal. - * localedata/tst-fmon.data: Changes corresponding to the - two sets of fixes made to stdlib/strfmon.c. + * sysdeps/ia64/Makefile: Compile _mcount.S in subdir gmon as + _mcount is required by profiled binaries. -2000-03-29 Jes Sorensen <jes@pcatls01.cern.ch> + * sysdeps/unix/sysv/linux/ia64/machine-gmon.h: Moved to... + * sysdeps/ia64/machine-gmon.h: ...here. - * malloc/malloc.c: Declare bit flags UL so that they will not - default to int size when being inverted. +2000-11-28 Masahide Washizawa <washi@jp.ibm.com> -2000-03-29 Andreas Jaeger <aj@suse.de> + * 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. - * sysdeps/unix/sysv/linux/arm/errlist.c: Use shlib-compat macros. - * sysdeps/unix/sysv/linux/arm/siglist.c: Likewise. +2000-11-28 Ulrich Drepper <drepper@redhat.com> -2000-03-29 Andreas Jaeger <aj@suse.de>, - Ralf Baechle <ralf@uni-koblenz.de> + * 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>. - * Makeconfig: Introduce new variable SHARED to mark code used in - the shared library. - * elf/dl-close.c: Use it instead of PIC. - * elf/dl-load.c: Likewise. - * elf/dl-open.c: Likewise. - * hurd/geteuids.c: Likewise. - * include/libc-symbols.h: Likewise. - * include/shlib-compat.h: Likewise. - * libio/freopen.c: Likewise. - * linuxthreads/cancel.c: Likewise. - * linuxthreads/pthread.c: Likewise. - * linuxthreads/wrapsyscall.c: Likewise. - * nss/nsswitch.c: Likewise. - * stdio-common/vfprintf.c: Likewise. - * sysdeps/arm/init-first.c: Likewise. - * sysdeps/i386/init-first.c: Likewise - * sysdeps/generic/init-first.c: Likewise. - * sysdeps/generic/libc-start.c: Likewise. - * sysdeps/mips/init-first.c: Likewise. - * sysdeps/powerpc/elf/libc-start.c: Likewise. - * sysdeps/unix/sysv/linux/init-first.c: Likewise. - * sysdeps/unix/sysv/linux/arm/siglist.c: Likewise. - * sysdeps/unix/sysv/linux/arm/errlist.c: Likewise. - * sysdeps/unix/sysv/linux/i386/chown.c: Likewise. +2000-11-28 Andreas Jaeger <aj@suse.de> - * sysdeps/mips/machine-gmon.h (asm): Use __PIC__ as check. + * sysdeps/unix/sysv/linux/mips/bits/socket.h: Synch with generic + Linux version. -2000-03-29 Andreas Jaeger <aj@suse.de> +2000-11-28 Ulrich Drepper <drepper@redhat.com> - * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_runtime_setup): - Use D_PTR to access relocated entries in l_info. - (elf_machine_rela): Likewise. + * sysdeps/unix/sysv/linux/bits/socket.h: Fix last patch. - * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_runtime_setup): - Likewise. - (elf_machine_rela): Likewise. +2000-11-28 Andreas Jaeger <aj@suse.de> - * sysdeps/powerpc/dl-machine.c (__elf_machine_runtime_setup): + * sysdeps/unix/sysv/linux/bits/socket.h (struct cmsghdr): Use + __flexarr. + * sysdeps/unix/sysv/linux/mips/bits/socket.h (struct cmsghdr): Likewise. - (__elf_machine_fixup_plt): Likewise. - (__process_machine_rela): Likewise. - - * sysdeps/m68k/dl-machine.h (elf_machine_runtime_setup): Likewise. - (elf_machine_rela): Likewise. - - * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): Likewise. - (elf_machine_rel): Likewise. - - * sysdeps/alpha/dl-machine.h (elf_machine_runtime_setup): Likewise. - (elf_machine_fixup_plt): Likewise. - (elf_machine_rela): Likewise. - -2000-03-29 Andreas Jaeger <aj@suse.de> - - * sysdeps/unix/sysv/linux/msgctl.c: Use shlib-compat macros. - * sysdeps/unix/sysv/linux/semctl.c: Likewise. - * sysdeps/unix/sysv/linux/shmctl.c: Likewise. - * sysdeps/unix/sysv/linux/i386/getrlimit.c: Likewise. - * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise. - * sysdeps/unix/sysv/linux/i386/msgctl.c: Likewise. - * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Likewise. - * sysdeps/unix/sysv/linux/i386/semctl.c: Likewise. - * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise. - * sysdeps/unix/sysv/linux/i386/shmctl.c: Likewise. - * sysdeps/unix/sysv/linux/alpha/msgctl.c: Likewise. - * sysdeps/unix/sysv/linux/alpha/semctl.c: Likewise. - * sysdeps/unix/sysv/linux/alpha/shmctl.c: Likewise. - * sysdeps/unix/sysv/linux/alpha/adjtime.c: Likewise. - * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise. - - * sysdeps/unix/sysv/linux/alpha/oldglob.c: Use shlib-compat - macros, remove K&R prototypes. - -2000-03-30 Ulrich Drepper <drepper@redhat.com> - - * posix/getopt.c (_getopt_internal): Return -1 if argc < 1. - Reported by Andrew Wiseman <a.wiseman@bandc.dircon.co.uk> - (PR libc/1677). -2000-03-30 Andreas Jaeger <aj@suse.de> - - * misc/sys/cdefs.h: Remove K&R support. - -2000-03-30 Ulrich Drepper <drepper@redhat.com> - - * iconv/skeleton.c: Avoid compiling unaligned versions in some - more cases. - * iconv/loop.c: Likewise. - -2000-03-29 Bruno Haible <haible@clisp.cons.org> - - * iconv/loop.c (put16): Remove __const. Fix access index. - (put32): Remove __const. Use uint32_t instead of uint16_t. - * iconv/skeleton.c: Likewise. - -2000-03-30 Roland McGrath <roland@baalperazim.frob.com> - - * mach/Versions (libc: GLIBC_2.0) - [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)]: Conditionalize - __vm_allocate on this. - [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)]: Conditionalize - mutex- and spinlock-related symbols on this. - [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)] (libc: HURD_CTHREADS_0.3): - New version set. Lock-related symbols go here instead in this case. - * sysdeps/mach/hurd/Versions (libc: GLIBC_2.0): Remove - _cthread_exit_routine, _cthread_init_routine, cthread_keycreate, - cthread_getspecific, cthread_setspecific, __libc_getspecific. - * hurd/Versions - [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)] (libc: GLIBC_2.0): - Put them here instead. - [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)] (libc: HURD_CTHREADS_0.3): - New version set. Those cthreads symbols go here instead in this case. - * Versions.def (libc) [USE_IN_LIBIO]: Add HURD_CTHREADS_0.3 version. - -2000-03-30 Ulrich Drepper <drepper@redhat.com> - - * elf/dl-init.c (_dl_init): We don't need to call constructors - recursively. Fold _dl_init_rec in _dl_init and optimize a bit more. - - Implement dynamic determination of constructor/destructor order in - the dynamic linker. - * elf/Versions [ld.so] (GLIBC_2.0): Remove _dl_init_next. - (GLIBC_2.2): Add _dl_init. - * elf/dl-close.c: Also call all destructors in FINI_ARRAY. - r_duplist is not anymore allocated separately. l_initfini is and - therefore free it if necessary. - * elf/dl-deps.c: If a searchlist has to be allocated, put all in one - malloc block. Otherwise allocate l_initfini list only. - Put dependencies for the object in l_initfini list. - Sort dependencies for the object to be loaded topologically. - * elf/dl-fini.c: Before running the destructors sort the topologically. - * elf/dl-init.c (_dl_init): Renamed from _dl_init_next. Rewrite to - call constructors instead of iterating over the pointers. Get list of - objects for which to run constructors from l_initfini element. Accept - argc, argv, and env as parameters and pass them to the constructors. - * elf/ld-load.c (_dl_map_object_from_fd): Initialize l_ldnum member - with size of dynamic section. - * elf/dl-open.c (dl_open_worker): Only call _dl_init instead of - _dl_init_next and calling constructors ourself. - * elf/dl-preinit.c (_dl_preinit): Renamed from _dl_preinit_next. - Take argc, argv, and env as parameters and pass them to the - constructors. Rewrite to call all constructors and not iterate over - the pointers. - * elf/dynamic-link.h: Don't relocate DT_FINI_ARRAY entry. Don't - precompute l_initcount and l_preinitcount. - * elf/link.h (struct link_map): Add l_ldnum member. - Make l_phdr_allocated part of the bitfield. Remove l_runcount, - l_initcount, and l_preinitcount. Add l_initfini. - * sysdeps/generic/ldsodefs.h: Replace _dl_init_next prototype with - one for _dl_init. - * sysdeps/i386/dl-machine (RTLD_START): Rewrite to match new init - function interface. - * sysdeps/unix/sysv/linux/init-first.h: Removed. - * sysdeps/unix/sysv/linux/Dist: Delete file here as well. - * sysdeps/unix/sysv/linux/init-first.c [PIC]: Don't use - SYSDEP_CALL_INIT. Make _init a strong alias of init. The calling - conventions now match. - - * sysdeps/generic/libc-start.c: Calling __libc_init_first has no - effect for shared objects. Don't emit message and call only for - static library. - -2000-03-29 Ulrich Drepper <drepper@redhat.com> - - * iconvdata/testdata/CSA_Z243.4-1985-1..UCS-2BE: Renamed from - CSA_Z243.4-1985-1..UCS2. - * iconvdata/testdata/ISO-8859-10..UCS-2BE: Renamed from - ISO-8859-10..UCS2. - -2000-03-29 Andreas Jaeger <aj@suse.de> - - * include/unistd.h: Remove duplicate entry for __rmdir. - Remove declaration of __mkdir since __mkdir is declared in - sys/stat.h. - - * manual/creature.texi (Feature Test Macros): Fix typo, reported - by Michael Deutschmann <michael@talamasca.ocis.net>. - - * sysdeps/mips/fpu/fclrexcpt.c: Use shlib-compat macros. - * sysdeps/mips/fpu/fegetenv.c: Likewise. - * sysdeps/mips/fpu/fesetenv.c: Likewise. - * sysdeps/mips/fpu/feupdateenv.c: Likewise. - * sysdeps/mips/fpu/fgetexcptflg.c: Likewise. - -2000-03-28 Andreas Jaeger <aj@suse.de> - - * sysdeps/i386/fpu/bits/mathinline.h (__sincos): Remove redundant - declaration, the prototype is defined via bits/mathcalls.h. - (__sincosf): Likewise. - (__sincosl): Likewise. - (ldexp): Likewise. - (ldexpf): Likewise. - (ldexpl): Likewise. - (__finite): Likewise. - (__inline_mathcodeNP): New macro without prototype - declarations. - (__inline_mathcodeNP2): Likewise. - (__inline_mathcodeNP3): Likewise. - (__inline_mathcodeNP_): Likewise. - (__inline_mathcodeNP2_): Likewise. - (__inline_mathcodeNP3_): Likewise. - (__inline_mathopNP): Likewise. - (__inline_mathop_declNP): Likewise. - (__inline_mathop_declNP_): Likewise. - (__inline_mathcode_): Use __inline_mathcodeNP_. - (__inline_mathcode2_): Use __inline_mathcodeNP2_. - (__inline_mathcode3_): Use __inline_mathcodeNP3_. - (__inline_mathop_decl_): Use __inline_mathop_declNP__. - (__expm1l): Don't define prototype, the prototype is defined via - bits/mathcalls.h. - (exp): Likewise. - (__expl): Likewise. - (tan): Likewise. - (atan2): Likewise. - (__atan2l): Likewise. - (fmod): Likewise. - (pow): Likewise. - (fabsf): Likewise. - (fabsl): Likewise. - (__fabsl): Likewise. - (asin): Likewise. - (acos): Likewise. - (sinh): Likewise. - (cosh): Likewise. - (tanh): Likewise. - (floor): Likewise. - (ceil): Likewise. - (expm1): Likewise. - (log1p): Likewise. - (asinh): Likewise. - (acosh): Likewise. - (atanh): Likewise. - (hypot): Likewise. - (logb): Likewise. - (fma): Likewise. - (drem): Likewise. - (sqrt): Likewise. - (__sqrtl): Likewise. - (sin): Likewise. - (cos): Likewise. - (atan): Likewise. - (log): Likewise. - (log10): Likewise. - (asinh): Likewise. - (log2): Likewise. - (rint): Likewise. - -2000-03-28 Ulrich Drepper <drepper@redhat.com> - - * Makerules: If make variable md5 is defined to yes after - generating dependencies generate MD5 sum for the object. - - * iconv/gconv_builtin.h: Fix length in transformation definition - for UNICODEBIG. - - * iconvdata/TESTS: Use UCS-2BE instead of UCS2. - - * iconv/loop.c: Define get16, get32, put16, and put32 macros to - allow as well reading from/writing to unaligned addresses on machines - which don't support this in hardware. Use FCTNAME macro to define - function name. Include the file a second time for platforms which - need special unaligned handling. - * iconv/skeleton.c: Define get16u, get32u, put16u, and put32u macros - to access potentially unaligned addresses. These macros are intended - to be used only outside the loops. - (unaligned): New definition. In case the machine can handle unaligned - access define as zero. Otherwise as a variable which is initialized - as nonzero in case the buffer passed in at runtime is unaligned with - respect to the character set encoding involved. - Call aligned or unaligned looop functions according to unaligned - variable. - * iconvdata/8bit-gap.c: Use get16, get32, put16, and put32 instead - of direct casting pointer to potentially handle unaligned memory - accesses. - * iconvdata/8bit-generic.c: Likewise. - * iconvdata/ansi_x3.110.c: Likewise. +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/euc-cn.c: Likewise. - * iconvdata/euc-jp.c: Likewise. - * iconvdata/euc-kr.c: Likewise. - * iconvdata/euc-tw.c: Likewise. - * iconvdata/gbk.c: Likewise. - * iconvdata/iso-2022-cn.c: Likewise. - * iconvdata/iso-2022-jp.c: Likewise. - * iconvdata/iso-2022-kr.c: Likewise. - * iconvdata/iso646.c: Likewise. - * iconvdata/iso_6937-2.c: Likewise. + * iconvdata/big5hkscs.c: Likewise. * iconvdata/iso_6937.c: Likewise. - * iconvdata/johab.c: Likewise. - * iconvdata/sjis.c: Likewise. + * iconvdata/iso_6937-2.c: Likewise. * iconvdata/t.61.c: Likewise. - * iconvdata/uhc.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. - * locale/programs/simple-hash.c: Little optimizations. Remove K&R - prototypes. - - * malloc/Versions [libc] (GLIBC_2.2): Add mcheck_check_all. - * malloc/mcheck.c (mcheck_check_all): Renamed from check_all and made - public. - * malloc/mcheck.h (mcheck_check_all): Declare. - - * stdio-common/Makefile (tests): Add tst-obprintf. - -2000-03-28 Roland McGrath <roland@baalperazim.frob.com> - - * sysdeps/generic/bits/sigthread.h: Clean up conditionals. - Declare pthread_sigmask. - - * csu/version.c: Add 2000 to copyright years. - Remove Emacs local variables section. - -2000-03-23 Bruno Haible <haible@clisp.cons.org> - - * iconv/gconv_int.h (__gconv_transform_ucs2little_internal, - __gconv_transform_internal_ucs2little): Remove declarations. - * iconv/gconv_simple.c (__gconv_transform_ucs2_internal, - __gconv_transform_internal_ucs2): Never need to bswap_16. - (__gconv_transform_ucs2reverse_internal, - __gconv_transform_internal_ucs2reverse): Always need to bswap_16. - -2000-03-27 Roland McGrath <roland@baalperazim.frob.com> - - * include/shlib-compat.h (SHLIB_COMPAT): Make the test handle the - obsoleting version not being defined at all, in which case the - result is always true. - - * Makeconfig (preprocess-versions): New canned sequence for running - cpp on shlib-versions and the like. - (soversions.i): Use it. - * Makerules (Versions.all, sysd-versions): Use it to preprocess the - Versions.def and Versions files. - -2000-03-27 Ulrich Drepper <drepper@redhat.com> - - * stdio-common/tst-obprintf.c (main): Add another check to see - obstack_printf handling all possible beginnings of the block - inside an obstack chunk. - - * locale/programs/localedef.c: Use __malloc_initialize_hook to - install mcheck handler. - - * libio/obprintf.c (_IO_obstack_vprintf): Fix one more memory - handling problem. - -2000-03-27 Roland McGrath <roland@baalperazim.frob.com> - - * stdio-common/tmpfile.c: Use <shlib-compat.h> macros. - - * include/shlib-compat.h: Conditionalize <abi-versions.h> include - on [HAVE_ELF && DO_VERSIONING]. - -2000-03-27 Ulrich Drepper <drepper@redhat.com> - - * stdio-common/tst-obprintf.c: New file. - -2000-03-26 Ulrich Drepper <drepper@redhat.com> - - * libio/genops.c (_IO_default_xsputn): Little optimization. Call - _IO_OVERFLOW directly instead through __overflow. - - * locale/programs/localedef.c (construct_output_path): If path - contains a / compute the end of the directory name correctly. - - * include/features.h: Undef and document __USE_XOPEN2K. - - * malloc/mcheck.c: Implement pedantic checking of all allocated blocks - whenever a function is called. Initiated by calling mcheck_pedantic - instead of mcheck. - * malloc/mcheck.h: Declare mcheck_pedantic. - * malloc/Versions [libc] (GLIBC_2.2): Add mcheck_pedantic. - * locale/programs/localdef.c: Use mcheck_pedantic instead of mcheck - for now. - -2000-03-26 Roland McGrath <roland@baalperazim.frob.com> - - * dlfcn/dlopen.c: Use <shlib-compat.h> macros. - * dlfcn/dlopenold.c: Likewise. - * nss/getXXbyYY_r.c: Likewise. - * nss/getXXent_r.c: Likewise. - * hurd/hurdinit.c: Likewise. - * hurd/compat-20.c: Likewise. - * libio/oldiofopen.c: Likewise. - * libio/oldiofclose.c: Likewise. - * libio/oldiofdopen.c: Likewise. - * libio/oldfileops.c: Likewise. - * libio/oldstdfiles.c: Likewise. - * libio/oldiofsetpos.c: Likewise. - * libio/oldiofgetpos.c: Likewise. - * libio/oldiofgetpos64.c: Likewise. - * libio/oldiofsetpos64.c: Likewise. - * libio/oldiopopen.c: Likewise. - * libio/oldpclose.c: Likewise. - * libio/oldtmpfile.c: Likewise. - * libio/freopen.c (freopen): Likewise. - * libio/iofclose.c (_IO_new_fclose): Likewise. - - * sysdeps/mach/sys/reboot.h: Include <features.h>. - (reboot): Declare it. - - * libio/Makefile (headers): Add bits/stdio-lock.h here. - - * sysdeps/mach/hurd/bits/stdio-lock.h: New file. - - * include/shlib-compat.h: Include <abi-versions.h> unconditionally. - - * posix/unistd.h (intptr_t): Conditionalize on [__USE_MISC || - __USE_XOPEN_EXTENDED] rather than on [__USE_UNIX98]. - We need this for the sbrk decl, which can be included without Unix98. - -2000-03-20 Richard Henderson <rth@cygnus.com> - - * nis/nss_nis/nis-service.c (_nss_nis_getservbyport_r): Last - argument to yperr2nss is an int, not size_t. - * posix/regex.c (print_partial_compiled_pattern): Cast all - ptrdiff_t to long for printing. - (print_compiled_pattern): Use Z for printing size_t. - * posix/testfnm.c (tests): Avoid trigraphs. - * sysdeps/alpha/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE): - Use a C comment, not an assembly comment. - - * sysdeps/unix/sysv/linux/alpha/msgctl.c: Clarify use - of __ASSUME_32BITUIDS. - -2000-03-26 Ulrich Drepper <drepper@redhat.com> + * sysdeps/powerpc/Makefile (CFLAGS-initfini.s): Add -O1 to avoid + the problems introduced when the user selects -O3. - * libio/iofopncook.c: Remove K&R prototypes. + * 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>. -2000-03-26 Roland McGrath <roland@baalperazim.frob.com> - - * hurd/hurdrlimit.c (init_rlimit): Give the RLIMIT_NOFILE soft limit - an initial value of 1024 instead of RLIM_INFINITY. - - * Versions.def (libmachuser, libhurduser): Remove these sections, - since these libraries do not presently use symbol versions. - - * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): If the resource limit - is RLIM_INFINITY, return -1 instead. - -2000-03-24 Andreas Jaeger <aj@suse.de> - - * Makefile (postclean): Added soversions.i. - -2000-03-24 Scott Bambrough <scottb@netwinder.org> - - * sysdeps/arm/fpu/fpu_control.h: Define _FPU_MASK_IM, _FPU_MASK_ZM, - _FPU_MASK_OM, _FPU_MASK_UM, _FPU_MASK_PM, _FPU_MASK_DM, _FPU_DEFAULT, - and _FPU_IEEE. Change _FPU_RESERVED. - -2000-03-24 Scott Bambrough <scottb@netwinder.org> + * 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. - * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: New file. +2000-11-27 Andreas Jaeger <aj@suse.de> -2000-03-24 Roland McGrath <roland@baalperazim.frob.com> + * login/programs/pt_chown.c (do_pt_chown): Mark function as static + to avoid warning. + * login/programs/utmpdump.c (print_entry): Likewise. - * sysdeps/posix/getaddrinfo.c: Include <net/if.h> for if_nametoindex. - (gaih_inet): Remove unused duplicate variable. +2000-11-25 Maciej W. Rozycki <macro@ds2.pg.gda.pl> - * inet/getnameinfo.c (getnameinfo): Use IFNAMSIZ, not MAXHOSTNAMELEN. - Don't use __libc_sa_len, which only exists for Linux. Just handle - AF_INET and AF_INET6 directly as well as AF_LOCAL, since those are the - only flavors supported by this function anyway. + * 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. -2000-03-24 Geoff Clare <gwc@unisoft.com> +2000-11-27 Andreas Jaeger <aj@suse.de> - * stdlib/strfmon.c: Corrected problems with missing signs and - missing or extra spaces; allow for sign strings longer than - one character; add padding to ensure positive and negative - formats are aligned when a left precision is used. + * rt/tst-aio.c: Mark test functions as static to avoid warnings. + * rt/tst-aio64.c: Likewise. -2000-03-26 Ulrich Drepper <drepper@redhat.com> +2000-11-27 Ulrich Drepper <drepper@redhat.com> - * stdlib/random_r.c (__setstate_r): Allow RNGs of type 4. - Patch by John Mizel <John.Mizel@msdw.com>. + * 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>. -2000-03-25 Ulrich Drepper <drepper@redhat.com> +2000-11-26 Ulrich Drepper <drepper@redhat.com> - * manual/install.texi: Remove references to crypt add-on. + * sysdeps/unix/opendir.c (__opendir): Add cast to avoid warning. -2000-03-25 Roland McGrath <roland@baalperazim.frob.com> + * 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. - * sysdeps/mach/hurd/setrlimit.c (setrlimit): Go into a critical - section while taking the _hurd_rlimit_lock. - * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise. + * locale/weight.h (findidx): Add const to cast to avoid warning. -2000-03-24 Roland McGrath <roland@baalperazim.frob.com> + * 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. - * Makerules [$(cross-compiling) = yes] (symbolic-link-prog): Define - using $(LN_S). + * sysdeps/i386/i486/bits/string.h (__strncat_g) [i686]: Fourth + parameter of asm must be in %ecx. - * sysdeps/mach/hurd/if_index.c: New file. + * string/tester.c: Mark test functions as static to avoid warnings. - * sysdeps/unix/sysv/linux/net/if.h: Moved to ... - * sysdeps/gnu/net/if.h: here. - (_IOT_ifconf, _IOT_ifreq): Hurd ioctl type macros moved from ... - * sysdeps/mach/hurd/net/if.h: ... here; this file now removed. - * sysdeps/generic/net/if.h: New file. Declares just the standard - functions and `struct if_nameindex' type. - * socket/Makefile (headers): Add net/if.h here. - * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Not here. - * sysdeps/mach/hurd/Dist: Remove it here. - * sysdeps/unix/sysv/linux/Dist: And here. - * sysdeps/generic/if_index.c: Include <net/if.h>. + * iconv/gconv_conf.c (read_conf_file): Make mod_counter static to + preserve value over different gconv-modules files. -2000-03-24 Andreas Jaeger <aj@suse.de> +2000-11-24 Ulrich Drepper <drepper@redhat.com> - * sysdeps/mips/dl-machine.h (__dl_runtime_resolve): Use D_PTR to - access relocated entries in l_info. - (elf_machine_got_rel): Likewise. - (elf_machine_runtime_setup): Likewise. - * sysdeps/mips/mips64/dl-machine.h (elf_machine_got_rel): Likewise. - (elf_machine_runtime_setup): Likewise. - (__dl_runtime_resolve): Likewise. + * 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. -2000-03-23 Ulrich Drepper <drepper@redhat.com> + * debug/backtrace-tst.c (compare): Add casts to avoid warnings. - * resolv/netdb.h (SCOPE_DELIMITER): New definitions. - * inet/netinet/in.h (struct sockaddr_in6): Add sin6_scope_id - according to RFC 2553. - * sysdeps/posix/getaddrinfo.c: Change to follow latest RFC draft. - * inet/getnameinfo.c: Likewise. - Patches by YOSHIFUJI Hideaki <yoshfuji@v6.linux.or.jp>. + * test-skeleton.c: Mark local functions as static to avoid warnings. -2000-03-23 Bruno Haible <haible@clisp.cons.org> +2000-11-23 H.J. Lu <hjl@gnu.org> - * iconv/gconv_simple.c (internal_ucs4_loop, internal_ucs4le_loop): - Remove no-op pointer increment. + * rt/tst-aio6.c (do_test): Use pipe instead of STDIN_FILENO to + support the background job. + Fix a typo. -2000-03-23 Andreas Jaeger <aj@suse.de> +2000-11-24 Ulrich Drepper <drepper@redhat.com> - * stdio-common/tst-cookie.c (cookieseek): Change prototype to - follow change for libio.h from 2000-03-10. + * iconv/gconv_conf.c (insert_module): Replace old entry if new one + has same names but lower cost. -2000-03-23 Andreas Jaeger <aj@suse.de> +2000-11-23 Jakub Jelinek <jakub@redhat.com> - * elf/dl-addr.c: Adjust include paths for ldsodefs location - change. - * elf/dl-debug.c: Likewise. - * 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-object.c: Likewise. - * elf/dl-open.c: Likewise. - * elf/dl-preinit.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-symbol.c: Likewise. - * elf/dl-version.c: Likewise. - * elf/rtld.c: Likewise. - * elf/sprof.c: Likewise. - * sysdeps/generic/dl-cache.c: Likewise. - * sysdeps/generic/dl-origin.c: Likewise. - * sysdeps/generic/dl-sysdep.c: Likewise. - * sysdeps/generic/elf/backtracesyms.c: Likewise. - * sysdeps/generic/elf/backtracesymsfd.c: Likewise. - * sysdeps/generic/libc-start.c: Likewise. - * sysdeps/mach/hurd/dl-sysdep.c: Likewise. - * sysdeps/powerpc/dl-machine.c: Likewise. - * sysdeps/powerpc/elf/libc-start.c: Likewise. - * sysdeps/sparc/sparc32/dl-machine.h: Likewise. + * sysdeps/sparc/sparc32/dl-machine.h: Ifdef out handling for relocs + which never occur during bootstrap. * sysdeps/sparc/sparc64/dl-machine.h: Likewise. - * sysdeps/unix/sysv/linux/dl-origin.c: Likewise. - - * elf/ldsodefs.h: Move file to ... - * sysdeps/generic/ldsodefs.h: ... here. - * sysdeps/generic/ldsodefs.h: Add definition for D_PTR. +2000-11-23 Andreas Jaeger <aj@suse.de> - * sysdeps/mips/elf/ldsodefs.h: New file. + * nss/nss_files/files-hosts.c: Remove getipnodebyname. - * elf/dl-version.c (match_symbol): Use D_PTR to access relocated - entries in l_info. - (_dl_check_map_versions): Likewise. - * elf/dl-reloc.c (_dl_relocate_object): Likewise. - * elf/dl-load.c (_dl_init_paths): Likewise. - (_dl_map_object): Likewise. - * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Likewise. - (elf_get_dynamic_info): Likewise. - * elf/do-lookup.h (FCT): Likewise. - * elf/do-rel.h (elf_dynamic_do_rel): Likewise. - * elf/dl-deps.c (_dl_map_object_deps): Likewise. - * elf/dl-addr.c (_dl_addr): Likewise. - * elf/dl-runtime.c (profile_fixup): Likewise. - (fixup): Likewise. - * elf/dl-init.c (_dl_init_next): Likewise. - * sysdeps/generic/dl-machine.h (elf_machine_runtime_setup): Likewise. - * sysdeps/unix/sysv/linux/i386/dl-librecon.h - (DISTINGUISH_LIB_VERSIONS): Likewise. - * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup): Likewise. - (elf_machine_rel): Likewise. - - * elf/dynamic-link.h (elf_get_dynamic_info): Only change l_info - for writable dynamic section. - -2000-03-22 Ulrich Drepper <drepper@redhat.com> - - * inet/getnameinfo.c (getnameinfo): Check that addrlen value is - large enough. Patch by YOSHIFUJI Hideaki <yoshfuji@v6.linux.or.jp>. - -2000-03-22 Andreas Jaeger <aj@suse.de> + * nss/Versions: Remove _nss_files_getipnodebyname_r. - * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MADV_*): Add flags - from latest Linux kernel. + * sysdeps/unix/sysv/linux/Versions: Fix typo in last patch. -2000-03-21 Andreas Jaeger <aj@suse.de> +2000-11-18 Martin Buchholz <martin@xemacs.org> - * Versions.def: Add version 2.1.4. + * csu/gmon-start.c (__gmon_start__): Avoid over-clever trick `if + (called++) return;' -2000-03-21 Ulrich Drepper <drepper@redhat.com> +2000-11-21 Alan Modra <alan@linuxcare.com.au> - * libio/oldtmpfile.c: Update for new SHLIB_COMPAT definition. - * libio/oldiofopen.c: Likewise. - * libio/oldiofclose.c: Likewise. - * sysdeps/unix/sysv/linux/errlist.c: Likewise. + * sysdeps/generic/bsd-_setjmp.c (setjmp): Rename to _setjmp. -2000-03-22 Roland McGrath <roland@baalperazim.frob.com> + * csu/abi-note.S: Correct comment for operating system number. - * include/shlib-compat.h (SHLIB_COMPAT): Take a third argument, - indicating the first version set to obsolete the conditionalized code. - (compat_symbol): New macro. - * scripts/abi-versions.awk: For subsumed versions, make ABI_* defn's - rhs be the ABI_* macro for the subsuming version. Assign increasing - integer values to the ABI_* macros for supported versions. - * sysdeps/gnu/siglist.c: Use new SHLIB_COMPAT convention, and use - compat_symbol macro. +2000-11-22 Ulrich Drepper <drepper@redhat.com> -2000-03-21 Ulrich Drepper <drepper@redhat.com> + * Versions.def: Add GLIBC_2.2.1 for glibc. - * nscd/connections.c (nscd_run): Pretty print. - * elf/dl-runtime.c: Include stdlib.h for alloca prototype. +2000-11-22 Andreas Schwab <schwab@suse.de> - * manual/charset.texi: Fix typos. Rephrase. - * manual/process.texi: Likewise. - * manual/signal.texi: Likewise. - Patches by Mike Coleman <mkc@kc.net>. + * sysdeps/unix/sysv/linux/syscalls.list: Add pivot_root. + * sysdeps/unix/sysv/linux/Versions: Add pivot_root at GLIBC_2.2.1. - * libio/oldtmpfile.c: Use new macros from shlib-compat.h to define - versions. - * libio/iofdopen.c: Likewise. - * libio/iofgetpos.c: Likewise. - * libio/iofgetpos64.c: Likewise. - * libio/iofopen.c: Likewise. - * libio/iofsetpos.c: Likewise. - * libio/iofsetpos64.c: Likewise. - * libio/iopopen.c: Likewise. - * libio/oldiofopen.c: Likewise. - * libio/pclose.c: Likewise. - * sysdeps/gnu/siglist.c: Likewise. - * sysdeps/unix/sysv/linux/errlist.c: Likewise. - - * include/shlib-compat.h (versioned_symbol): Give preprocessor the - chance to expand VERSION_##lib##_##version. - - * libio/fileops.c: Use new macros from shlib-compat.h to define - versions. - * libio/iofclose.c: Likewise. - * libio/oldiofclose.c: Likewise. - Patch by Roland McGrath <roland@frob.com>. - -2000-03-21 Jakub Jelinek <jakub@redhat.com> - - * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h: Clean up namespace. - Lay out struct sigcontext according to what really gets passed on - the stack. - * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Don't include asm/elf.h. - (elf_gregset_t, elf_greg_t, elf_fpregset_t, ELF_NGREG): Define. - (prgregset_t, prfpregset_t): Define to elf_* types. - * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_WRITEDATA): - Define to correct value. - * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h: Use struct - sigcontext. - * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: Likewise. +2000-11-22 Ulrich Drepper <drepper@redhat.com> -2000-03-21 Roland McGrath <roland@baalperazim.frob.com> + * 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]. - * scripts/firstversions.awk: Allow multiple version sets in the - "earliest version" specification, meaning that version sets in the - gaps between listed versions should be folded into the earliest later - version that is explicitly listed. - * shlib-versions (mips.*-.*-linux.*): Use that syntax for to say - we support GLIBC_2.0 and GLIBC_2.2 but not the intervening sets. + * rt/Makefile (tests): Add tst-aio6. + * rt/tst-aio6.c: New file. -2000-03-21 Ulrich Drepper <drepper@redhat.com> +2000-11-23 Andreas Jaeger <aj@suse.de> - * iconv/gconv_builtin.c: Include <endian.h>. - * iconv/gconv_builtin.h: Add UCS-BE aliases. - Add UCS-4LE transformation. Define UNICODEBIG and UNICODELITTLE - according to current platform. - * iconv/gconv_int.h: Declare __gconv_transform_ucs2reverse_internal, - __gconv_transform_internal_ucs2reverse, and - __gconv_transform_internal_ucs4le. - * iconv/gconv_simple.c: Implement __gconv_transform_internal_ucs4le, - __gconv_transform_ucs2reverse_internal and - __gconv_transform_internal_ucs2reverse. - * iconvdata/Makefile (modules): Add UNICODE. - (distribute): Add unicode.c. - * iconvdata/gconv-modules: Add definitions for UNICODE module. - * iconvdata/unicode.c: New file. + * sysdeps/s390/bits/string.h (strncat): Fix one more typo. - * iconvdata/utf-16.c: Rewrite code to emit BOM. Correct code to - determine byte order of input and convert accordingly. +2000-11-22 Andreas Jaeger <aj@suse.de> - * iconvdata/utf-16.c (gconv_init): Fix typo. + * sysdeps/s390/bits/string.h (strncat): Add missing quotation marks. -2000-03-20 Ulrich Drepper <drepper@redhat.com> +2000-11-21 Martin Schwidefsky <schwidefsky@de.ibm.com> - * iconvdata/gconv-modules: Fix typo. + * sysdeps/s390/bits/string.h: Make strncat always add a \0. - * sysdeps/unix/sysv/linux/configure.in: Remove `crypt' from one - more messages. +2000-11-21 Andreas Schwab <schwab@suse.de> - * sysdeps/unix/sysv/aix/*: Add initial code for port to AIX 4.3. - -2000-03-16 Thorsten Kukuk <kukuk@suse.de> - - * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h: New. - -2000-03-20 Ulrich Drepper <drepper@redhat.com> - - * misc/Makefile (routines): Add mincore. - -2000-03-20 Andreas Jaeger <aj@suse.de> - - * sysdeps/generic/mincore.c: New stub file. - - * sysdeps/unix/sysv/linux/arm/bits/mman.h (MADV_*): Add flags - from latest Linux kernel. - -2000-03-20 Ulrich Drepper <drepper@redhat.com> - - * grp/initgroups.c (compat_call): Use _SC_GETGR_R_SIZE_MAX instead of - _SC_GETPW_R_SIZE_MAX. - -2000-03-20 Richard Henderson <rth@cygnus.com> - - * sysdeps/unix/sysv/linux/alpha/Versions: Put pciconfig_iobase - in GLIBC_2.1.4. - -2000-03-20 Richard Henderson <rth@cygnus.com> - - * sysdeps/alpha/fpu/fraiseexcpt.c: Use get/set_fp_control instead - of arithmetic instructions. - - * sysdeps/alpha/fpu/s_ceil.c: Use round to -inf instead of playing - with the fpcr. Protect from INV exception. - * sysdeps/alpha/fpu/s_ceilf.c: Likewise. - * sysdeps/alpha/fpu/s_floor.c: Protect from INV exception. - * sysdeps/alpha/fpu/s_floorf.c: Likewise. - - * sysdeps/alpha/fpu/s_copysign.c: New. - * sysdeps/alpha/fpu/s_copysignf.c: New. - * sysdeps/alpha/fpu/s_fabs.c: New. - * sysdeps/alpha/fpu/s_fabsf.c: New. - * sysdeps/alpha/fpu/s_rint.c: New. - * sysdeps/alpha/fpu/s_rintf.c: New. - - * sysdeps/unix/sysv/linux/alpha/bits/mman.h: Add MADV constants. - - * sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_routines): - Kill sethae. - * sysdeps/unix/sysv/linux/alpha/Versions: Add pciconfig_iobase. - * sysdeps/unix/sysv/linux/alpha/ioperm.c (all address constants): - Use physical addresses not KSEG addresses. - (io_system): Add PYXIS. - (io): Remove hae.reg, sys, hae_shift. - (stb_mb, stw_mb, stl_mb, __sethae): New. - (inline_outb, inline_outw, inline_outl): Don't set hae. - (inline_inb, inline_inw, inline_inl): Likewise. - (dense_sethae): New null function. - (struct cpuinfo_data): New. - (process_cpuinfo): Use local and stack variables, not static. - Move readlink check here from init_iosys. - (init_iosys): Use __pciconfig_iobase first. Know SX and LX as PYXIS. - (_iopl): Simplify. - (_hae_shift): Calculate it here. - * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove sethae, - add pciconfig_iobase. - -2000-03-20 Roland McGrath <roland@baalperazim.frob.com> - - * locale/programs/ld-time.c (time_finish): Use %Z instead of %z. - * locale/programs/ld-ctype.c (ctype_finish, ctype_class_new): Likewise. - - * scripts/versions.awk: Fixed version renaming code to distinguish - libraries properly. - -2000-03-19 Ulrich Drepper <drepper@redhat.com> - - * include/stdlib.h: Add prototype for __cxa_atexit. - - * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Update comment about - _SLOWDOWN flags. Patch by Jim Blandy <jimb@cygnus.com>. - -2000-03-17 Cristian Gafton <gafton@redhat.com> - - * elf/Makefile ($(rtld-version-installed-name)): Delay replacing - existing rtld-installed-name. - ($(rtld-installed-name)): Request libc-$(version) be installed too. - replace existing rtld-installed-name using $(symbolic-link-prog). - -2000-03-17 Roland McGrath <roland@baalperazim.frob.com> - - * locale/programs/ld-collate.c (collate_read): Remove bogus cast. - (insert_value, handle_ellipsis, collate_read): Replace %zu in format - strings with %Zu, because gcc-2.95.2's -Wformat knows about the latter - but not the former. - -2000-03-19 Ulrich Drepper <drepper@redhat.com> - - * sysdeps/generic/glob.c [_LIBC]: Always use __xstat64, not only for - glob64. Since there is no glob64 in the LFS proposal applications - can assume that glob handles LFS situations. glob64 is only needed - if alternative filesystem functions are used. - -2000-03-19 Geoff Clare <gwc@unisoft.com> - - * sysdeps/generic/glob.c: Correct gl_pathc value returned - when GLOB_DOOFFS is set; correct handling of patterns - containing escaped wildcards (and no unescaped ones); - GLOB_ERR flag was being ignored in some situations. - - * posix/globtest.c, posix/globtest.sh: Updated to include - tests for the problems fixed by the above changes to glob.c. - - * manual/pattern.texi (Calling Glob): Update description of gl_pathc. - -2000-03-19 Roland McGrath <roland@baalperazim.frob.com> - - * Makeconfig (soversion.i): Use only first match for each lib. - - * Makeconfig (soversion.i): Pass -undef to $(CC) -E. - - * Makerules (Versions.all, sysd-versions): Test $(sysd-sorted-done) - rather than $(sysd-dirs-done) to protect these rules. - - * Makerules (version-renames.def): Target removed. - (Versions.all): Depend on soversions.i directly and parse it. - - * Makeconfig (soversions.i): New target, input-reading parts of - soversions.mk generation moved here; result is a canonicalized - list "LIB VERSION [SET]" for this configuration. - (soversions.mk): Use that as input. Don't emit map-firstversions. - * Makerules (version-renames.def): New target, generated from - soversions.i with contents that was in $(map-firstversions). - (Versions.all): Don't depend on soversions.mk, depend on - version-renames.def instead; just cat it into the input. - - * Makerules (Versions.all): Use $(foreach ...) instead of sh for loop - for $(map-firstversions), which better handles it being empty. - - * shlib-versions [USE_IN_LIBIO] (.*-.*-gnu-gnu*): Set earliest - supported version for libc 0.2.90.libio to GLIBC_2.2. - - * Makeconfig (soversions.mk): Grok new third column in shlib-versions, - and use it to emit new variable `map-firstversions'. - * scripts/firstversions.awk: New file. - * Makerules (Versions.all): Use scripts/firstversions.awk and - the $(map-firstversions) value to generate a modified versions list - that includes renames in "A = B" syntax for each version set earlier - than the "earliest symbol version" named in shlib-versions. - * scripts/versions.awk: Recognize "A = B" lines in the input to mean - rename version set A to B in the output to the intermediate file. - * scripts/abi-versions.awk: New file. - * Makerules (abi-versions.h): New target, generated by that script. - [$(versioning) = yes] (before-compile): Prepend abi-versions.h. - * include/shlib-compat.h: New file, uses that generated header. - -2000-03-18 Roland McGrath <roland@baalperazim.frob.com> - - * Makeconfig (soversions.mk): Convert % -> # in shlib-versions - after stripping # comments, and then run it through cpp. - This allows things like "%ifdef FOO" based on config.h settings. - * shlib-versions [USE_IN_LIBIO] (.*-.*-gnu-gnu*): libc=0.2.90.libio - - * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): For MACH_SEND_INTERRUPTED - and other errors that indicate a pseudo-receive happened, grok through - the message buffer for port rights that need references fixed up. - -2000-03-16 Andreas Jaeger <aj@suse.de> - - * sysdeps/unix/sysv/linux/syscalls.list: Added madvise and mincore. - - * sysdeps/unix/sysv/linux/madvise.c: Remove. + * 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. - * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MADV_*): Add flags - from latest Linux kernel. - * sysdeps/unix/sysv/linux/i386/bits/mman.h (MADV_*): Likewise. +2000-11-20 Hiroyuki Machida <machida@sm.sony.co.jp> - * misc/sys/mman.h: Add prototype for mincore. + * sysdeps/unix/sysv/linux/mips/clone.S: Fix comments. -2000-03-17 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. - * sysdeps/unix/sysv/linux/i386/syscalls.list: Add oldsetrlimit - entry for GLIBC_2.0 version of setrlimit. - Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>. + * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (O_NOFOLLOW): Use same + value defined in /usr/include/asm-mips/fcntl.h. -2000-03-16 Thorsten Kukuk <kukuk@suse.de> +2000-11-18 Ulrich Drepper <drepper@redhat.com> - * nis/nss_nis/nis-ethers.c: Return with error if malloc fails. - * nis/nss_compat/compat-initgroups.c: Likewise. - * nis/nss_nis/nis-initgroups.c: Likewise. - * nis/nss_nis/nis-netgrp.c: Likewise. - * nis/nss_nis/nis-proto.c: Likewise. - * nis/nss_nis/nis-rpc.c: Likewise. - * nis/nss_nis/nis-service.c: Likewise. - * nis/ypclnt.c: Likewise. + * stdio-common/Makefile (tests): Add test-vfprintf. + (test-vfprintf-ENV): New variable. + * stdio-common/test-vfprintf.c: New file. -2000-03-16 Andreas Jaeger <aj@suse.de> + * wcsmbs/mbrtowc.c (__mbrtowc): Do not only flush if input is '\0'. - * manual/Makefile: MAKEINFO is set to `:' from configure if it - doesn't exist, correct checks. Fixes PR libc/1649. + * 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. -2000-03-16 Thorsten Kukuk <kukuk@suse.de> +2000-11-16 Andreas Jaeger <aj@suse.de> - * nscd/hstcache.c: Restore correct UID. - * nscd/pwdcache.c: Likewise. - Patch from Gabor Gombas <gombasg@inf.elte.hu>. + * manual/install.texi (Tools for Compilation): Update + documentation for GCC 2.95.2. -2000-03-17 Roland McGrath <roland@baalperazim.frob.com> +2000-11-18 Ulrich Drepper <drepper@redhat.com> - * sysdeps/i386/sys/ucontext.h: Prepend REG_ to enum values and - macros for register names, in line with 2000-03-14 linux change. + * sysdeps/posix/getaddrinfo.c (gaih_inet): Only return -EAI_AGAIN + if IPv4 and IPv6 requests timed out. - * sysdeps/mach/sched_yield.c: New file. +2000-11-18 Akim Demaille <akim@epita.fr> -2000-03-13 Roland McGrath <roland@baalperazim.frob.com> + * 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. - * sysdeps/generic/lockfile.c: Include <stdio.h> - (_IO_flockfile, _IO_funlockfile, _IO_ftrylockfile): #undef these in - case <libio.h> defined them. - (__flockfile, __funlockfile, __ftrylockfile): Functions renamed - from __internal_*. - (flockfile, _IO_flockfile, funlockfile, _IO_funlockfile, - ftrylockfile, _IO_ftrylockfile): Fix aliases accordingly. +2000-11-17 Ulrich Drepper <drepper@redhat.com> - * sysdeps/generic/bits/stdio-lock.h (_IO_lock_initializer): Use ... - for more pleasing parse error. + * scripts/config.guess: Update from upstream maintainer. + * scripts/config.sub: Likewise. -2000-03-16 Ulrich Drepper <drepper@redhat.com> +2000-11-16 Ulrich Drepper <drepper@redhat.com> - * locale/lc-time.c (_nl_init_era_entries): Correct allocation of - memory for eras. + * libio/freopen.c (freopen): Reset _mode after succesful reopening. + * libio/freopen64.c (freopen64): Likewise. Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>. - * elf/Makefile: Add rules to compile and run constload1 test. - * elf/constload1.c: New file. - * elf/constload2.c: New file. - * elf/constload3.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. -2000-03-15 Ulrich Drepper <drepper@redhat.com> +2000-11-15 H.J. Lu <hjl@gnu.org> - * sysdeps/posix/open64.c: Make __open64 weak alias. - * sysdeps/posix/pread64.c: Make __pread64 weak alias. - * sysdeps/unix/sysv/linux/pread64.c: Likewise. - * sysdeps/unix/sysv/linux/i386/pread64.c: Likewise. - * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise. - * sysdeps/unix/sysv/linux/powerpc/pread64.c: Likewise. - * sysdeps/posix/pwrite64.c: Make __pwrite64 weak alias. - * sysdeps/unix/sysv/linux/pwrite64.c: Likewise. - * sysdeps/unix/sysv/linux/i386/pwrite64.c: Likewise. - * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise. - * sysdeps/unix/sysv/linux/powerpc/pwrite64.c: Likewise. + * sysdeps/generic/ldsodefs.h (DL_DT_INIT_ADDRESS): Defined if + ELF_FUNCTION_PTR_IS_SPECIAL is not defined. + (DL_DT_FINI_ADDRESS): Likewise. -2000-03-14 Ulrich Drepper <drepper@redhat.com> + * 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. - * sysdeps/unix/sysv/linux/alpha/ioperm.c (platform): Add entry for - Nautilus. Patch by Soohoon Lee <soohoon.lee@alpha-processor.com>. + * sysdeps/ia64/Versions (GLIBC_2.2): Add _dl_function_address. -2000-03-16 Mark Kettenis <kettenis@gnu.org> + * sysdeps/ia64/dl-machine.h (_dl_start_address): Removed. + (ELF_MACHINE_START_ADDRESS): Changed to DL_FUNCTION_ADDRESS. - * sysdeps/unix/sysv/linux/i386/sys/procfs.h (prfpregset_t): - Typedef for elf_fpregset_t instead of `elf_fpregset_t *'. + * sysdeps/ia64/dl-symaddr.c (_dl_start_address): Renamed to ... + (_dl_function_address): This. -2000-03-08 Andreas Jaeger <aj@suse.de> + * 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. - * sysdeps/unix/sysv/linux/scsi/sg.h: Sync with Linux 2.3.50. + * elf/dl-init.c (_dl_init): Use DL_DT_INIT_ADDRESS to get the + function pointer for DT_INIT. -2000-03-14 Ulrich Drepper <drepper@redhat.com> +2000-11-16 Jakub Jelinek <jakub@redhat.com> - * timezone/africa: Update from tzdata2000d. - * timezone/asia: Likewise. - * timezone/australasia: Likewise. - * timezone/europe: Likewise. - * timezone/northamerica: Likewise. - * timezone/southamerica: Likewise. + * sysdeps/generic/printf_fphex.c (__printf_fphex): Compute correctly + end of wexpbuf buffer. - * po/fr.po: Update from translation team. - * po/de.po: Likewise. +2000-11-16 Andreas Jaeger <aj@suse.de> - * elf/dl-deps.c (_dl_map_object_deps): Change return type and remove - last parameter. Move code to add map to global scope from here... - * elf/dl-open.c (dl_open_worker): ...here. - * elf/ldsodefs.h: Adjust declaration of _dl_map_object_deps. - * elf/rtld.c: Adjust call to _dl_map_object_deps. + * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove duplicate + definition of F_GETLK, F_SETLK, F_SETLKW. - * locale/programs/ld-collate.c (collate_read): Fix warning. +2000-11-16 Andreas Jaeger <aj@suse.de> - * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Prepend REG_ to enum - values and macros for register names. + * sysdeps/generic/dl-cache.c (_DL_PLATFORMS_COUNT): Define to 0 if + it's not defined. - * libio/iofopncook.c (_IO_cookie_seek): Return error only if value - returned by seek cookie function is -1. +2000-11-15 Jakub Jelinek <jakub@redhat.com> -2000-03-14 Andreas Jaeger <aj@suse.de> + * dlfcn/default.c (main): Add test for dladdr of main returning + argv[0] in dli_fname field. - * locale/localeconv.c (localeconv): Fix typo. - Reported by Andre Charbonneau <andrec@corel.com>. +2000-11-15 Jakub Jelinek <jakub@redhat.com> -2000-03-14 Ulrich Drepper <drepper@redhat.com> + * Makeconfig (run-program-prefix): Move test-static test into the + variable. - * iconv/skeleton.c: Increment __invocation_counter in inner loop - since modules depend on it counting the number of times the conversion - function got called. + * 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. - * iconv/gconv_open.c: Optimize loop to setup step data structure. +2000-11-15 Ulrich Drepper <drepper@redhat.com> - * iconv/gconv.h: Pretty print. + * manual/startup.texi (Program Arguments): Fix type of main's envp + parameter. + Reported by Raúl Núñez de Arenas Coronado <dervishd@linuxfreak.com>. -2000-03-04 Ulrich Drepper <drepper@redhat.com> + * iconvdata/gconv-modules: Add CP950 alias. - * posix/wordexp-test.c: Correct one of the tests added in the last - change. Really get the root passwd entry to check again ~root. +2000-11-13 Jakub Jelinek <jakub@redhat.com> -2000-03-10 Andreas Jaeger <aj@suse.de> + * sysdeps/unix/sysv/linux/Makefile: Allow ports to override + syscall-list.h goal. + * sysdeps/unix/sysv/linux/sparc/Makefile: New file. - * manual/filesys.texi (Working Directory): Fix last patch. - Patch by Martin Buchholz <martin@xemacs.org>. +2000-11-15 Ulrich Drepper <drepper@redhat.com> -2000-03-10 Andreas Jaeger <aj@suse.de> + * intl/Makefile: tst-gettext2.sh does not need a third parameter. - * manual/creature.texi (Feature Test Macros): Fix language. + * intl/tst-gettext2.sh: Copy locale data. Adjust LOCPATH. Verify + output of program. -2000-03-10 Roland McGrath <roland@baalperazim.frob.com> + * intl/tst-gettext2.c: Set C locale if setting other locale + failed. Use gettext() not _(). - * mach/devstream.c (devstream_write, devstream_read): New functions. - (input, output): Functions removed. - (mach_open_devstream): Use devstream_{read,write} as cookie functions, - using only the vanilla fopencookie interface. + * locale/setlocale.c: Increment _nl_msg_cat_cntr whenever we + successfully loaded a new locale. - * hurd/fopenport.c [! USE_IN_LIBIO] (cookie_io_functions_t): Define - as macro for __io_functions. - (funcsio): Use cookie_io_functions_t type name. - (fopenport): Renamed from __fopenport. Rewrite to call fopencookie. +2000-11-13 Andreas Jaeger <aj@suse.de> - * libio/iofopncook.c (_IO_cookie_init): New function, broken out of - fopencookie. - (fopencookie): Use it. - * libio/libio.h: Declare _IO_cookie_init. - * hurd/vpprintf.c (vpprintf) [USE_IN_LIBIO]: Implement using - _IO_cookie_init. + * configure.in: Require gcc 2.95 or newer. - * libio/libio.h (__io_seek_fn): Fix second argument type - to be a pointer, in line with the manual and the old stdio. - * libio/iofopncook.c (_IO_cookie_seek): Fix (sole) caller. +2000-11-15 Ulrich Drepper <drepper@redhat.com> - * sysdeps/generic/bits/stdio-lock.h: New file. - This is a stub with #error, but that's better than no file at all. + * sysdeps/unix/sysv/linux/paths.h: Adjust for FHS. + Patch by Arkadiusz Miskiewicz <misiek@pld.ORG.PL>. -2000-03-09 Martin Buchholz <martin@xemacs.org> +2000-11-11 Jim Meyering <meyering@lucent.com> - * sysdeps/unix/sysv/linux/alpha/syscall.S: Doc Fixes. - * manual/message.texi (Using gettextized software): Doc Fixes. - * manual/message.texi (Message Translation): Doc Fixes. - * manual/filesys.texi (File Size): Doc Fixes. - * manual/charset.texi (glibc iconv Implementation): Doc Fixes. - * locale/programs/ld-collate.c (collate_output): Doc Fixes. - * iconv/gconv_db.c (find_derivation): Doc Fixes. - * manual/install.texi: Doc Fixes. - * manual/search.texi (Hash Search Function): Doc Fixes. - * manual/stdio.texi (Output Conversion Syntax): Doc Fixes. - * FAQ.in: Doc Fixes. - * config.h.in: Doc Fixes. - * sysdeps/generic/dl-sysdep.c: Doc Fixes. - Doc Fixes. `allows to' is not correct English. + * string/strndup.c (strndup): Cast return value to `char *'. - * elf/rtld.c: Doc fixes. - * manual/creature.texi (Feature Test Macros): Doc fixes. - * manual/memory.texi (Hooks for Malloc): Doc Fixes. +2000-11-15 Jim Meyering <meyering@ascend.com> - * manual/filesys.texi (Working Directory): Check for ERANGE to - avoid infloop. + * 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. -2000-02-23 Roland McGrath <roland@baalperazim.frob.com> +2000-11-10 H.J. Lu <hjl@gnu.org> - * string/argz-stringify.c (__argz_stringify): Fix loop termination - conditions so as not to clobber the final '\0' when there is only one - element in the vector. + * Makefile.in (install): Set LANGUAGE=C LC_ALL=C. -2000-03-09 Roland McGrath <roland@baalperazim.frob.com> +2000-11-15 Andreas Jaeger <aj@suse.de> - * io/sys/stat.h: Fix inverted sense of `defined __S_IFSOCK' test, - broken by 2000-02-27 change. + * elf/chroot_canon.c: Include <stdint.h>. - * sysdeps/generic/bits/poll.h (POLLRDNORM, POLLRDBAND): New macros. + * elf/cache.c (struct cache_entry): Use uint64_t for hwcap. + (print_entry): Likewise. + (add_to_cache): Likewise. -2000-02-23 Roland McGrath <roland@baalperazim.frob.com> + * elf/ldconfig.h (add_to_cache): Change prototype for hwcap change. - * sysdeps/mach/hurd/sigstack.c (sigstack): Remove `const' from - argument type, for 2000-02-22 change in signal/signal.h declaration. + * elf/ldconfig.c (struct lib_entry): Use uint64_t for hwcap. + (path_hwcap): Likewise. + (search_dir): Likewise. -2000-03-09 Roland McGrath <roland@baalperazim.frob.com> + * sysdeps/generic/dl-cache.c (HWCAP_CHECK): Handle platform. - * sysdeps/generic/getdents64.c (__getdirentries64): Renamed - to getdirentries64 (no __), since the Linux implementation - has no __ name, and there is no declaration for the __ name. + * elf/cache.c (add_to_cache): Handle 64 bit hwcap entry. - * sysdeps/mach/bits/libc-lock.h (__libc_cleanup_end): New macro. + * 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/mach/hurd/Makefile ($(common-objpfx)errnos.d): Tighten up - sed regexp so as not to break directory names including /../ within. + * sysdeps/generic/dl-procinfo.h (_DL_HWCAP_COUNT): New. + (_dl_string_platform): New. + (_DL_HWCAP_PLATFORM): New. + (_dl_platform_string): New. - * sysdeps/unix/bsd/bits/waitflags.h: File removed. - The sysdeps/generic file is right for BSD. This file was in fact the - Hurd file, but the only difference was the WNOREAP flag that was never - actually implemented or used anywhere. + * 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. - * configure.in (PERL, INSTALL_INFO): Don't AC_SUBST these, - since AC_PATH_PROG already does it for us. - (PERL): Rewrite check added in 2000-02-29 change for syntactic - correctness and sh portability. I replaced the broken check - with a more sensible implementation of the apparently intended - semantics, which might still be questionable. Using expr causes - a non-numeric value for `perl -V:apiversion` to be accepted, - refusing to use only a perl that reports a number less than 5; - on my system, perl (5.004_04) -V:apiversion produces UNKNOWN. - * configure: Regenerated. +2000-11-14 Ulrich Drepper <drepper@redhat.com> -2000-03-08 Andreas Jaeger <aj@suse.de> + * iconvdata/gconv-modules: Add CP936 as alias for GBK. - * manual/crypt.texi: Fix paths. +2000-11-14 Andreas Jaeger <aj@suse.de> -2000-03-07 Andreas Jaeger <aj@suse.de> + * sysdeps/generic/dl-cache.c (HWCAP_CHECK): Fix access to _dl_hwcap. - * resolv/netdb.h: The descriptions of rresvport and rresvport_af - were swapped. - Patch by YOSHIFUJI Hideaki <yoshfuji@ecei.tohoku.ac.jp>, closes PR - libc/1636. +2000-11-13 Roland McGrath <roland@frob.com> -2000-03-06 Andreas Jaeger <aj@suse.de> + * hurd/get-host.c (_hurd_get_host_config): Fix last change. - * sysdeps/i386/fpu/bits/mathinline.h: Fix union definition error - in __sgn1l, otherwise g++ fails to parse this. - Reported by Sean Chen <sean.chen@turbolinux.com>. +2000-11-13 Marcus Brinkmann <marcus@gnu.org> -2000-03-03 Geoff Keating <geoffk@cygnus.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. - * configure.in: Compute sizeof-long-double. - * configure: Regenerated. - * config.make.in: Make sizeof-long-double available to sub-makes. +2000-11-13 Jakub Jelinek <jakub@redhat.com> -2000-03-03 Ulrich Drepper <drepper@cygnus.com> + * sysdeps/alpha/fpu/libm-test-ulps: Update. - * sysdeps/unix/sysv/linux/init-first.c: Remove trace of personality - call. +2000-11-10 H.J. Lu <hjl@gnu.org> -2000-03-03 Geoff Keating <geoffk@cygnus.com> + * sysdeps/ia64/fpu/libm-test-ulps: Updated. - * Makeconfig (rpath-dirs): Add crypt. - (all-subdirs): Remove md5crypt. - * crypt/sysdeps/unix/crypt.c: Move to crypt/. - * crypt/sysdeps/unix/crypt-entry.c: Move to crypt/. - * sysdeps/generic/crypt-entry.c: Delete. - * crypt/sysdeps/unix/crypt.h: Move to crypt/. - * sysdeps/generic/crypt.h: Delete. - * crypt/sysdeps/unix/crypt-private.h: Move to crypt/. - * crypt/sysdeps/unix/crypt_util.c: Move to crypt/. - * crypt/sysdeps/unix/des_impl.c: Move to sunrpc/. - * sysdeps/generic/des_impl.c: Delete. - * crypt/sysdeps/unix/ufc-crypt.h: Move to crypt/. - * crypt/sysdeps: Delete. - * crypt/crypt_util.c: Don't use `patchlevel.h'. - * md5-crypt/Versions: Move to crypt/. - * md5-crypt/md5-crypt.c: Move to crypt/. - * md5-crypt/md5.c: Move to crypt/. - * md5-crypt/md5c-test.c: Move to crypt/. - * md5-crypt/md5test.c: Move to crypt/. - * md5-crypt: Delete. - * crypt/Makefile: Adjust for new structure. +2000-11-10 Andreas Jaeger <aj@suse.de> -2000-03-03 Paul Eggert <eggert@twinsun.com> + * elf/ldconfig.c (create_links): Fix alloca calculation. + Patch by Ben Collins <bcollins@debian.org>. - * posix/regex.c (MB_LEN_MAX): Include <limits.h> to define; - define to 1 if not defined. +2000-11-09 Ulrich Drepper <drepper@redhat.com> -2000-03-03 Andreas Jaeger <aj@suse.de> + * inet/getnameinfo.c (getnameinfo): Use correct destination + parameter for if_indextoname. + Patch by Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>. - * sunrpc/xdr.c (xdr_hyper): Correctly handle lower half of llp. +2000-11-09 H.J. Lu <hjl@gnu.org> -2000-03-03 Andreas Jaeger <aj@suse.de> + * 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. - * sunrpc/xdr_intXX_t.c (xdr_uint16_t): Fix ENCODE and DECODE - cases. - (xdr_int64_t): Correctly handle lower half. - Fix by Sten Dahlgren <stda@enea.se>, closes PR libc/1623. + * time/Versions (GLIBC_2.1): Move getitimer to... + * sysdeps/unix/sysv/linux/alpha/Versions (GLIBC_2.1): ...here. -2000-03-03 Ulrich Drepper <drepper@cygnus.com> +2000-11-03 Bruno Haible <haible@clisp.cons.org> - * sysdeps/unix/sysv/linux/init-first.c: Remove trace of personality - call. + * 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. -2000-03-02 Andreas Jaeger <aj@suse.de> +2000-11-09 Ulrich Drepper <drepper@redhat.com> - * sysdeps/unix/sysv/linux/scsi/sg.h: Integrate changes from Linux - 2.3.43. + * intl/locale.alias: Add thai. + Patch by Chanop Silpa-Anan <chanop@syseng.anu.edu.au>. -2000-03-02 Andreas Jaeger <aj@suse.de> +2000-11-07 Akim Demaille <akim@epita.fr> - * resolv/Makefile (headers): Add arpa/nameser_compat.h. + * 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. -2000-03-01 Andreas Jaeger <aj@suse.de> +2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org> - * time/Makefile (tst-getdate-ENV): New flag to pass DATEMSK. - (tests): Added tst-getdate. + * sysdeps/posix/getaddrinfo.c: Clean-up: define family to hold + target family. - * time/tst-getdate.c: New file. +2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org> - * time/datemsk: New file, needed for tst-getdate. + * sysdeps/posix/getaddrinfo.c: Loosen protocol check to ease raw + socket creation. -2000-02-29 Cristian Gafton <gafton@redhat.com> +2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org> - * configure.in (CCVERSION): Require at least veersion 5 of perl API. + * sysdeps/posix/getaddrinfo.c: Ensure to fill ai_socktype and + ai_protocol by internal table if service was not given. -2000-02-17 H.J. Lu <hjl@gnu.org> +2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org> - * sunrpc/rpc/svc.h (SVCXPRT): Add a "xp_pad" field at the end. + * sysdeps/posix/getaddrinfo.c: Don't raise an error even if + numerical port was specified with protocol without socktype. - * sunrpc/svc_udp.c (svcudp_bufcreate): Turn on IP_PKTINFO if - available. - (svcudp_recv): Set up message with the new "xp_pad" field for - IP_PKTINFO. - (svcudp_reply): Support IP_PKTINFO if available. +2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org> -2000-03-01 Andreas Jaeger <aj@suse.de> + * sysdeps/posix/getaddrinfo.c: Ensure to check if protocol is ok. - * time/getdate.c (check_mday): Fix check for february. - Reported by ane@np.bs1.fc.nec.co.jp and Akira YOSHIYAMA - <yosshy@cts.ne.jp>, closes PR libc/1617 and PR libc/1619. +2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org> -2000-03-02 Andreas Jaeger <aj@suse.de> + * inet/getnameinfo.c: getnameinfo() NI_xxx flag validation. - * posix/unistd.h: __THROW has to precede __attribute__, otherwise - g++ fails to parse this. - Reported by Sean Chen <sean.chen@turbolinux.com>. +2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org> -2000-02-28 Ulrich Drepper <drepper@redhat.com> + * sysdeps/posix/getaddrinfo.c: Ensure not to fill garbage value in + sin6_scope_id field. - * io/creat.c: Moved to... - * sysdeps/generic/creat.c: ...here. - * io/creat64.c: Moved to... - * sysdeps/generic/creat64.c: ...here. - * io/lockf.c: Moved to... - * sysdeps/generic/lockf.c: ...here. +2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org> - * crypt/crypt.texi: Moved to... - * manual/crypt.texi: ...here. - * crypt/examples/genpass.c: Moved to... - * manual/examples/genpass.c: ...here. - * crypt/examples/mygenpass.c: Moved to... - * manual/examples/mygenpass.c: ...here. - * crypt/examples/testpass.c: Moved to... - * manual/examples/testpass.c: ...here. + * inet/getnameinfo.c: Repair getnameinfo() sin6_socpe_id support. - * manual/Makefile (chapters): Add crypt. - * manual/conf.texi: Add usual header for not-last chapter. - * manual/crypt.texi: Add special header for last chapter. +2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org> -2000-02-28 Geoff Keating <geoffk@cygnus.com> + * inet/getnameinfo.c: Repair NI_NOFQDN flag support. - * Makeconfig (all-subdirs): Add 'crypt' subdirectory. - * sysdeps/unix/sysv/linux/configure.in (inhibit_glue): Don't - complain if there is no crypt add-on. - * crypt/configure: Removed. +2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org> - * crypt/crypt.texi: Update documentation of US export restrictions - to match the 14 Jan 2000 regulations. + * inet/getnameinfo.c: Wake-up sin6_scope_id support in + getnameinfo(): check for whether sin6_socpe_id exist was wrong. -2000-02-28 Geoff Keating <geoffk@cygnus.com> +2000-11-09 Martin Schwidefsky <mschwide@nc.boeblingen.de.ibm.com> - * crypt: New subdirectory, merged in from the crypt add-on. + * sysdeps/unix/sysv/linux/s390/mmap.S: Use mmap2 if it is present. + * sysdeps/unix/sysv/linux/s390/mmap64.S: New file. -2000-02-28 Ulrich Drepper <drepper@redhat.com> +2000-11-09 H.J. Lu <hjl@gnu.org> - * include/unistd.h: Add __rmdir and __mkdir prototypes. + * io/Versions (GLIBC_2.1.1): Remove lockf64. -See ChangeLog.10 for earlier changes. +See ChangeLog.11 for earlier changes. |