Update.
[glibc.git] / ChangeLog
bloba0e12588fd568bb9a48a839dcac9476473e11864
1 2001-04-02  Andreas Jaeger  <aj@suse.de>
3         * string/string.h (strndupa): Add cast for C++ conformance.
4         (strdupa): Likewise.
5         Fixes PR libc/2173, reported by tbrowder@home.com. 
7 2001-03-30  Roland McGrath  <roland@frob.com>
9         * sysdeps/mach/hurd/Makefile ($(link-rpcuserlibs)): Don't append
10         options after $(build-module), which is no longer a single command.
11         (LDFLAGS-link-rpcuserlibs): New variable to hold those options.
12         (LDFLAGS-libmachuser-link.so, LDFLAGS-libhurduser-link.so): New
13         variables using it.  Reported by Mark Kettenis <kettenis@gnu.org>.
15 2001-03-11  Roland McGrath  <roland@frob.com>
17         * elf/rtld.c (dl_main): Add cast to quiet warning.
18         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
19         * iconv/gconv_conf.c (__gconv_get_path): Likewise.
20         (__gconv_read_conf): Likewise.
21         * iconv/gconv_db.c (gen_steps): Likewise.
22         (__gconv_find_transform): Likewise.
23         * locale/programs/charmap-dir.c (fopen_uncompressed): Likewise.
24         (fopen_uncompressed): Use const in second argument's type.
26 2001-03-11  Roland McGrath  <roland@frob.com>
28         * sysdeps/mach/hurd/dl-sysdep.c (__writev): New function.
30         * mach/mach_error.h: Fix ancient #endif syntax.
31         * hurd/hurdmalloc.c: Likewise.
33         * sysdeps/generic/atomicity.h (exchange_and_add, atomic_add,
34         compare_and_swap): Add volatile qualifier to first arg, to bring
35         these prototypes in line with all the other implementations.
36         Add a #warning to remind the builder that these are not atomic.
38 2001-03-04  Roland McGrath  <roland@frob.com>
40         * hurd/vpprintf.c (vpprintf) [USE_IN_LIBIO]: Use innermore first
41         member of TEMP_F so its type is _IO_FILE * as expected.
43         * hurd/fopenport.c (seekio): Conditionalize type of POS argument
44         on [USE_IN_LIBIO].  Check the value for overflow, since for libio
45         it might exceed off_t's range.
47 2001-02-25  Roland McGrath  <roland@frob.com>
49         * sysdeps/mach/hurd/sysd-stdio.c (__stdio_reopen): Use prototype.
50         * sysdeps/unix/bsd/getpt.c (__posix_openpt): Likewise.
52         * sysdeps/mach/hurd/i386/intr-msg.h (SYSCALL_EXAMINE): Make this a
53         macro instead of an inline function,
54         (MSG_EXAMINE): Likewise.
56         * hurd/hurd/ioctl.h (_HURD_HANDLE_IOCTLS_1): Remove extraneous ##.
58         * hurd/get-host.c: Include <string.h> for decls of built-ins.
59         * hurd/hurdchdir.c: Likewise.
60         * sysdeps/mach/hurd/i386/sigreturn.c: Likweise.
61         * sysdeps/mach/hurd/opendir.c: Likewise.
63         * mach/mach_init.c: Include <unistd.h> for _exit decl.
65         * mach/errsystems.awk: Give output file a trailing newline.
67         * mach/Machrules (MIG): Prepend CC='${CC}' to the mig command, so that
68         the script will use our compiler for the cpp stage.
70         With --enable-all-warnings we get a whole bunch of warnings,
71         and these are just a few fixes; there are more needed to silence it.
72         * mach/mach/mig_support.h (__mig_strncpy, mig_strncpy): Add extern
73         decls before extern inline defns to quiet gcc warning.
74         * hurd/hurd/threadvar.h (__hurd_threadvar_location_from_sp): Likewise.
75         * sysdeps/mach/i386/machine-sp.h (__thread_stack_pointer): Likewise.
77 2001-03-31  Andreas Jaeger  <aj@suse.de>
79         * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_RAWHDLC): Added.
80         (ARPHRD_HDLC): Define as alias for ARPHRD_CISCO.
81         (ARPHRD_CISCO): New.
82         Changes from Linux 2.4.3.
84 2001-03-30  Isamu Hasegawa  <isamu@yamato.ibm.com>
86         * posix/regex.c: Avoid an access violation if malloc failes.
88 2001-03-30  Andreas Jaeger  <aj@suse.de>
90         * sysdeps/alpha/ldiv.S (ldiv): Add alias for imaxdiv.
92 2001-03-29  Ulrich Drepper  <drepper@redhat.com>
94         * posix/regex.c: Remove unnecessary ifs.
96         * math/bits/mathcalls.h: Remove infnan declaration.
98 2001-03-29  H.J. Lu  <hjl@gnu.org>
100         * include/endian.h: Define BIG_ENDI, LITTLE_ENDI, HIGH_HALF,
101         and LOW_HALF only if _LIBC is defined and _ISOMAC is not defined.
102         * stdlib/isomac.c (fmt): Define _LIBC and _ISOMAC.
103         .
104 2001-03-29  Isamu Hasegawa  <isamu@yamato.ibm.com>
106         * posix/regex.c: Fix typo and add a sentinel.
108 2001-03-29  Ulrich Drepper  <drepper@redhat.com>
110         * sysdeps/unix/sysv/linux/shm_open.c: Open new file always with
111         O_NOFOLLOW.  Suggested by Christoph Roland.
113 2001-03-27  Martin Schwidefsky  <schwidefsky@de.ibm.com>
115         * sysdeps/s390/bits/string.h: New unified 31/64 bit string.h.
116         * sysdeps/s390/s390-32/bits/string.h: Remove.
117         * sysdeps/s390/s390-64/bits/string.h: Remove.
118         * sysdeps/s390/s390-32/strcmp.S: New file.
119         * sysdeps/s390/s390-64/strcmp.S: New file.
121 2001-03-27  Martin Schwidefsky  <schwidefsky@de.ibm.com>
123         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Fix typo.
124         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
126 2001-03-27  Ulrich Drepper  <drepper@redhat.com>
128         * version.h (VERSION): Bump to 2.2.3.
130         * stdlib/isomac.c (fmt): Don't define _LIBC.
131         * include/endian.h: Define BIG_ENDI, LITTLE_ENDI, HIGH_HALF, and
132         LOW_HALF only if _LIBC is defined.
134         * sysdeps/i386/fpu/libm-test-ulps: Slight adjustment of yn() error.
136         * posix/fnmatch_loop.c (FCT): Handle !() after * special like @()
137         and +().
138         * posix/tst-fnmatch.input: Add test cases for matching empty strings.
140         * sysdeps/ieee754/dbl-64/endian.h: Removed.  Move definitions...
141         * include/endian.h: ...to here.
143 2001-03-27  kaz Kojima  <kkojima@rr.iij4u.or.jp>
145         * sysdeps/sh/sys/ucontext.h (NFREG): Rename to NFPREG.
146         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (NFREG): Likewise.
148 2001-03-27  Martin Schwidefsky  <schwidefsky@de.ibm.com>
150         * sysdeps/unix/sysv/linux/s390/ldconfig.h: Fix typo.
152 2001-03-26  Ulrich Drepper  <drepper@redhat.com>
154         * sysdeps/ia64/fpu/Dist: Add new files to distribute.
155         * sysdeps/unix/sysv/linux/s390/s390-64/Dist: Likewise.
156         * sysdeps/unix/sysv/linux/ia64/Dist: Likewise.
158         * gmon/Makefile (headers): Add sys/profil.h.
160 2001-03-18  Andreas Jaeger  <aj@suse.de>
162         * manual/install.texi (Tools for Compilation): Advise to use GCC
163         2.95.3.
164         (Supported Configurations): Mention s390x.
166 2001-03-26  Ben Collins  <bcollins@debian.org>
168         * sysdeps/unix/sysv/linux/mips/bits/mman.h: Add MAP_* and MADV_*
169         defines to match other architectures.
171 2001-03-26  Ulrich Drepper  <drepper@redhat.com>
173         * libio/Makefile (tests): Add tst-ext.
174         * libio/tst-ext.c: New file.
176         * libio/iosetvbuf.c (_IO_setvbuf): Clear line buffer flag for _IONBF.
178 2001-03-25  Ulrich Drepper  <drepper@redhat.com>
180         Add changes which were in this form in the original patch by
181         Eric Norum <eric.norum@usask.ca>.
182         * include/rpc/rpc.h: Remove svc_fdset, rpc_createerr, svc_pollfd, and
183         svc_max_pollfd.
184         * sunrpc/rpc/rpc.h: Declare __rpc_thread_svc_fdset,
185         __rpc_thread_createerr, __rpc_thread_svc_pollfd, and
186         __rpc_thread_svc_max_pollfd.
187         Define svc_fdset, get_rpc_createerr, svc_pollfd, and
188         svc_max_pollfd.
189         * sunrpc/rpc_thread.c: Handle first thread special, it uses the
190         global variables.
191         Define __rpc_thread_svc_fdset, __rpc_thread_createerr,
192         __rpc_thread_svc_pollfd, and __rpc_thread_svc_max_pollfd.
193         * sunrpc/Versions [libc] (GLIBC_2.2.3): Export  __rpc_thread_svc_fdset,
194         __rpc_thread_createerr, __rpc_thread_svc_pollfd, and
195         __rpc_thread_svc_max_pollfd.
196         * sunrpc/clnt_gen.c: Replace use of rpc_createerr by call to
197         get_rpc_createerr.
198         * sunrpc/clnt_perr.c: Likewise.
199         * sunrpc/clnt_simp.c: Likewise.
200         * sunrpc/clnt_tcp.c: Likewise.
201         * sunrpc/clnt_udp.c: Likewise.
202         * sunrpc/clnt_unix.c: Likewise.
203         * sunrpc/pm_getport.c: Likewise.
205         * sysdeps/unix/sysv/linux/i386/getgroups.c (__getgroups): getgroups32
206         syscall checks for negative n so don't test here as well.
208 2001-03-23  Jes Sorensen  <jes@linuxcare.com>
210         * sysdeps/unix/sysv/linux/ia64/sysdep.h (ENTRY): Moved to ...
211         * sysdeps/ia64/sysdep.h: ...here.
213         * sysdeps/ia64/sysdep.h (LOCAL_ENTRY): Define.
214         * sysdeps/ia64/sysdep.h (LOCAL_LEAF): Define.
216         * sysdeps/ia64/_mcount.S (_mcount_ret_helper): Use LOCAL_LEAF() to
217         declare instead of LEAF().  Suggestion from David Mosberger.
219 2001-03-21  David Mosberger  <davidm@hpl.hp.com>
221         * sysdeps/unix/sysv/linux/ia64/sysdep.h (CALL_MCOUNT): Add unwind
222         directives.
223         (PSEUDO): Drop .psr and .lsb directives.
225         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Ditto.  Add unwind
226         directives.
227         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Ditto.
229         * sysdeps/ia64/elf/start.S: Misc cleanup: remove .psr and .lsb
230         directives etc.
231         * sysdeps/unix/sysv/linux/ia64/brk.S: Ditto.
232         * sysdeps/unix/sysv/linux/ia64/__longjmp.S: Ditto.
233         * sysdeps/ia64/_mcount.S: Remove .psr and .lsb directives (no
234         longer needed).  Add unwind directives.
236         * sysdeps/ia64/sysdep.h: Define ASM_UNW_PRLG_RP, ASM_UNW_PRLG_PFS,
237         ASM_UNW_PRLG_PSP, ASM_UNW_PRLG_PR, and ASM_UNW_PRLG_GRSAVE.
239 2001-03-21  Paul Eggert  <eggert@twinsun.com>
241         * posix/regex.h (RE_INVALID_INTERVAL_ORD): New macro.
242         (RE_SYNTAX_POSIX_EGREP): Use it.
243         * posix/regex.c (regex_compile): Implement it.
245 2001-03-21  Paul Eggert  <eggert@twinsun.com>
247         * posix/regex.c (GET_UNSIGNED_NUMBER): Check for overflow.
248         Rewrite to avoid duplicate code.
250 2001-03-21  H.J. Lu  <hjl@gnu.org>
252         * elf/Makefile (tests): Don't depend on $(objpfx)tst-pathopt.out
253         for cross-compiling.
254         ($(objpfx)tst-pathopt.out): Undo the last change.
256 2001-03-24  Mark Kettenis  <kettenis@gnu.org>
258         * sysdeps/mach/hurd/i386/bits/sigcontext.h (sc_sp, sc_fp, sc_pc,
259         sc_ps): Define as aliases for sc_uesp, sc_ebl, sc_eip and sc_efl.
261         * sysdeps/mach/hurd/i386/init-first.c: Include <assert.h>.
262         (_dl_argv): Declare.
263         (init) [SHARED]: Readjust _dl_argv if we switched to a new stack.
265 2001-03-22  Andreas Jaeger  <aj@suse.de>
267         * iconvdata/Makefile (generated): Add iconv-test.xxx.
269         * posix/Makefile (generated): Add bug-regex2.mtrace and
270         bug-regex2-mem.
272 2001-03-21  Ulrich Drepper  <drepper@redhat.com>
274         * csu/version.c (__gnu_get_libc_release): Add prototype.
275         (__gnu_get_libc_version): Likewise.
276         * include/gnu/libc-version.h: Remove prototypes for not exported
277         functions.
279 2001-03-21  Jes Sorensen  <jes@linuxcare.com>
281         * sysdeps/unix/sysv/linux/ia64/makecontext.c: Include libintl.h
282         for internationalized printfs to work.
284 2001-03-09  Bruno Haible  <haible@clisp.cons.org>
286         * intl/dcigettext.c (transmem_block_t): Change to unsigned char, to
287         avoid compiler warning.
288         (_nl_find_msg): Add casts to avoid compiler warnings.
290 2001-03-21  Ulrich Drepper  <drepper@redhat.com>
292         * gmon/Makefile (routines): Add sprofil.
293         (tests): Add tst-sprofil.
294         (noprof): Add sprofil.
295         * gmon/Versions [libc] (GLIBC_2.2.3): Add sprofil.
297 2001-03-20  David Mosberger  <davidm@hpl.hp.com>
299         * sysdeps/generic/sprofil.c: New file.
300         * sysdeps/posix/sprofil.c: New file.
301         * gmon/tst-sprofil.c: New file.
302         * gmon/sys/profil.h: New file.
304 2001-03-20  Andreas Schwab  <schwab@suse.de>
306         * include/unistd.h: Adjust prototype of __gethostname.
308 2001-03-20  Jakub Jelinek  <jakub@redhat.com>
310         * sysdeps/sparc/stackinfo.h: New file.
312 2001-03-21  Andreas Jaeger  <aj@suse.de>
314         * elf/global.c (main): Use proper prototype.
316 2001-03-20  Ulrich Drepper  <drepper@redhat.com>
318         * sunrpc/Makefile (routines): Add rpc_thread.
319         (CPPFLAGS): Add -D_RPC_THREAD_SAFE.
320         * sunrpc/rpc_thread.c: New file.
321         * sunrpc/Versions [libc] (GLIBC_2.2.3): Export __rpc_thread_destroy.
322         * sunrpc/auth_none.c: Don't use global variables.  Access state in
323         thread-local storage.
324         * sunrpc/clnt_perr.c: Likewise.
325         * sunrpc/clnt_raw.c: Likewise.
326         * sunrpc/clnt_simp.c: Likewise.
327         * sunrpc/key_call.c: Likewise.
328         * sunrpc/rpc_common.c: Likewise.
329         * sunrpc/svc.c: Likewise.
330         * sunrpc/svc_raw.c: Likewise.
331         * sunrpc/svc_simple.c: Likewise.
332         * sunrpc/svcauth_des.c: Likewise.
333         * hurd/hurd/threadvar.h (enum __hurd_threadvar_index): Add
334         _HURD_THREADVAR_RPC_VARS.
335         * sysdeps/generic/bits/libc-tsd.h: Mention _LIBC_TSD_KEY_RPC_VARS.
336         * include/rpc/rpc.h: Define data structures for internal thread-local
337         "global" variables.
338         Based on patches by Eric Norum <eric.norum@usask.ca>.
340         * elf/dl-load.c: Various little optimizations.
342         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Return
343         LINUX_LINK_MAX only if the statfs function is not implemented for
344         the filesystem.
346         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Return
347         LINUX_LINK_MAX only if the fstatfs function is not implemented for
348         the filesystem.
350 2001-03-19  Ulrich Drepper  <drepper@redhat.com>
352         * elf/dl-dst.h (DL_DST_COUNT): Add __builtin_expect.
354         * elf/dl-load.c (_dl_dst_count): Make DST recognition more robust.
355         (_dl_dst_substitute): Likewise.
357 2001-03-17  Bruno Haible  <haible@clisp.cons.org>
359         * intl/loadmsgcat.c (_nl_load_domain) [!_LIBC]: Use fstat, not fstat64.
361 2001-03-17  Bruno Haible  <haible@clisp.cons.org>
363         * intl/gettextP.h (struct expression): Add operators lnot, less_than,
364         greater_than, less_or_equal, greater_or_equal. Replace args2/args3
365         union by a 'nargs' counter and an 'args[]' array.
366         * intl/plural.y: Don't include stdarg.h.
367         (new_exp): Take an array of arguments instead of varargs.
368         (new_exp_0, new_exp_1, new_exp_2, new_exp_3): New functions.
369         ('?' ':'): Make right-associative.
370         (EQUOP2): New token, replaces '=' and '!'.
371         (CMPOP2): New token.
372         (ADDOP2): New token, replaces '+' and '-'.
373         (MULOP2): New token, replaces '*', '/' and '%'.
374         ('!'): New token.
375         (exp): Add rules for CMPOP2 and '!'. Don't call YYABORT.
376         (start): Call YYABORT here.
377         (FREE_EXPRESSION): Update.
378         (yylex): Don't skip "\\n". Recognize comparison and '!' operators.
379         Update for new token symbols.
380         * intl/loadmsgcat.c (plvar, plone, germanic_plural,
381         init_germanic_plural): Update.
382         * intl/dcigettext.c (_nl_find_msg): Optimize for space.
383         (plural_eval): Recognize comparison and '!' operators. Optimize for
384         space.
386 2001-03-10  Bruno Haible  <haible@clisp.cons.org>
388         * intl/loadmsgcat.c (_nl_load_domain): locale_charset() doesn't return
389         NULL any more.
391 2001-01-05  Bruno Haible  <haible@clisp.cons.org>
393         * intl/loadmsgcat.c: Include headers needed for alloca().
394         (freea): New macro.
395         (_nl_load_domain): Add fallback code for platforms lacking alloca.
396         * intl/localealias.c: (ADD_BLOCK, FREE_BLOCK): Remove macros.
397         (freea): New macro.
398         (read_alias_file): Simplify fallback code for platforms lacking
399         alloca.
401 2001-01-07  Bruno Haible  <haible@clisp.cons.org>
403         * intl/gettextP.h (__gettextdebug): Remove declaration.
404         (__gettext_free_exp, __gettextparse): Convert prototype to K&R C
405         syntax.
406         (gettext_free_exp__, gettextparse__): New non-libc declarations.
407         * intl/plural.y [!_LIBC]: Define gettextparse__, gettext_free_exp__,
408         not __gettextparse, __gettext_free_exp.
409         * intl/loadmsgcat.c [!_LIBC]: Use gettextparse__, not __gettextparse.
411 2001-02-24  Bruno Haible  <haible@clisp.cons.org>
413         * intl/dcigettext.c: Update comment about HAVE_LOCALE_NULL.
415 2001-01-05  Bruno Haible  <haible@clisp.cons.org>
417         * intl/loadmsgcat.c (_nl_load_domain): Add fallback code for platforms
418         lacking strtoul, like SunOS4.
420 2001-01-05  Bruno Haible  <haible@clisp.cons.org>
422         * intl/l10nflist.c (_nl_normalize_codeset): Use tolower, not _tolower.
424 2001-01-05  Bruno Haible  <haible@clisp.cons.org>
426         * intl/bindtextdom.c (set_binding_values): Convert prototype to K&R C
427         syntax.
428         * intl/dcigettext.c (transcmp): Convert to K&R C syntax.
429         * intl/explodename.c (_nl_find_language): Convert to K&R C syntax.
430         * intl/plural.y (__gettext_free_exp, yylex, yyerror): Convert to K&R C
431         syntax.
433 2001-01-07  Bruno Haible  <haible@clisp.cons.org>
435         * intl/gettextP.h (gettext__, dgettext__, dcgettext__, textdomain__,
436         bindtextdomain__, bind_textdomain_codeset__): New declarations, from
437         old libgettext.h.
438         * intl/bindtextdom.c: Include libgnuintl.h instead of libgettext.h.
439         * intl/dcgettext.c: Likewise.
440         * intl/dcigettext.c: Likewise.
441         * intl/dcngettext.c: Likewise.
442         * intl/dngettext.c: Likewise.
443         * intl/finddomain.c: Likewise.
444         * intl/ngettext.c: Likewise.
445         * intl/textdomain.c: Likewise.
446         * intl/dgettext.c: Include libgnuintl.h instead of libgettext.h.
447         Include gettextP.h.
448         * intl/gettext.c: Likewise.  Don't include locale.h.
450 2001-03-17  Bruno Haible  <haible@clisp.cons.org>
452         * intl/gettextP.h (ZERO): New macro.
453         (struct binding): Always use ZERO.
454         * intl/bindtextdom.c (offsetof): Provide fallback for platforms that
455         lack it, like SunOS4.
456         (set_binding_values): Use offsetof, not sizeof.
457         * intl/dcigettext.c (offsetof): Provide fallback for platforms that
458         lack it, like SunOS4.
459         (ZERO): Remove macro.
460         (struct transmem_list): Use ZERO.
461         (DCIGETTEXT): Use offsetof, not sizeof.
463 2001-03-17  Bruno Haible  <haible@clisp.cons.org>
465         * intl/gettextP.h: Include <stddef.h>. Include gettext.h, for
466         nls_uint32.
467         * intl/bindtextdom.c: Don't include gettext.h.
468         * intl/dcgettext.c: Likewise.
469         * intl/dcigettext.c: Likewise.
470         * intl/dcngettext.c: Likewise.
471         * intl/dngettext.c: Likewise.
472         * intl/finddomain.c: Likewise.
473         * intl/localealias.c: Likewise.
474         * intl/ngettext.c: Likewise.
475         * intl/plural.y: Likewise.
476         * intl/textdomain.c: Likewise.
478 2001-03-17  Bruno Haible  <haible@clisp.cons.org>
480         * intl/gettext.h: Don't include <stdio.h>.
482 2001-03-17  Bruno Haible  <haible@clisp.cons.org>
484         * intl/Makefile (CPPFLAGS): Set LOCALEDIR instead of GNULOCALEDIR.
485         * intl/dcigettext.c (_nl_default_dirname): Initialize with LOCALEDIR.
487 2001-03-19  Ulrich Drepper  <drepper@redhat.com>
489         * sysdeps/unix/i386/i686/tempname.c: New file.
491         * sysdeps/posix/tempname.c (__gen_tempname): If RANDOM_BITS is
492         defined use this macro to get some bits of randomness instead of
493         the usual gettimeofday or time calls.
495 2001-03-16  Paul Eggert  <eggert@twinsun.com>
497         * sysdeps/posix/tempname.c (uint64_t): Define to uintmax_t if
498         not defined, and if UINT64_MAX is not defined.
500 2001-03-19  Ulrich Drepper  <drepper@redhat.com>
502         * elf/cache.c: Mark and have translated a few more messages.
504 2001-03-19  Martin Schwidefsky  <schwidefsky@de.ibm.com>
506         * elf/cache.c: Add case for FLAG_S390_LIB64.
507         * sysdeps/generic/ldconfig.h: Add define for FLAG_S390_LIB64.
508         * sysdeps/unix/sysv/linux/s390/ldconfig.h: New file.
509         * sysdeps/unix/sysv/linux/s390/readelflib.c: New file.
511 2001-03-19  Ulrich Drepper  <drepper@redhat.com>
513         * string/Makefile (tests): Add tst-strxfrm.
514         * string/tst-strxfrm.c: New file.  Based on a test case by Paul Eggert.
515         * string/Depend: New file.
517 2001-03-19  Paul Eggert  <eggert@twinsun.com>
519         * string/strxfrm.c (strxfrm): strxfrm should return 0, not 1,
520         when given the empty string in nontrivial locales.
522 2001-03-17  H.J. Lu  <hjl@gnu.org>
524         * manual/Makefile (install): Use $(INSTALL_DATA) instead of
525         cp to install `dir'.
527 2001-03-19  Andreas Schwab  <schwab@suse.de>
529         * Makerules (build-shlib): Make sure exit codes get checked
530         properly.
532 2001-03-18  Ulrich Drepper  <drepper@redhat.com>
534         * Makerules (build-shlib): Remove unnecessary slashes introduced in
535         last change.
537         * configure.in: Test for -Bgroup option of linker.
538         * config.make.in: Define have-Bgroup.
540         * conform/data/unistd.h-data: Require gethostname.
541         * posix/unistd.h: Make gethostname prototype available for
542         __USE_XOPEN2K.
544         * crypt/Makefile: When generating DSO link with libc_nonshared.a.
545         * debug/Makefile: Likewise.
546         * dlfcn/Makefile: Likewise.
547         * hesiod/Makefile: Likewise.
548         * iconvdata/extra-module.mk: Likewise.
549         * locale/Makefile: Likewise.
550         * login/Makefile: Likewise.
551         * math/Makefile: Likewise.
552         * nis/Makefile: Likewise.
553         * nss/Makefile: Likewise.
554         * resolv/Makefile: Likewise.
555         * rt/Makefile: Likewise.
557 2001-03-17  Ulrich Drepper  <drepper@redhat.com>
559         * inet/Makefile (tests): Remove left-over comment.
561         * posix/unistd.h (gethostname): Change type of second parameter
562         back to size_t as per upcoming XPG6.
563         * sysdeps/unix/sysv/aix/gethostname.c: Change type of second
564         parameter back to size_t as per upcoming XPG6.
565         * sysdeps/unix/sysv/sysv4/gethostname.c: Likewise.
566         * sysdeps/unix/sysv/gethostname.c: Likewise.
567         * sysdeps/mach/hurd/gethostname.c: Likewise.
568         * sysdeps/generic/gethostname.c: Likewise.
570 2001-03-16  Ulrich Drepper  <drepper@redhat.com>
572         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
573         Handle NaN here.
575         * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext):
576         Internationalize.
578 2001-02-06  Jakub Jelinek  <jakub@redhat.com>
580         * elf/dl-load.c (_dl_map_object): Don't test l_opencount when
581         looking for name matches.
583 2001-02-26  Jakub Jelinek  <jakub@redhat.com>
585         * sysdeps/generic/sigcontextinfo.h (CALL_SIGHANDLER): Define.
586         * sysdeps/mach/hurd/i386/sigcontextinfo.h: Likewise.
587         * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h: Likewise.
588         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
589         * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h: Likewise.
590         * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h: Likewise.
591         * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h: Likewise.
592         * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h: Likewise.
593         * sysdeps/unix/sysv/linux/s390/sigcontextinfo.h: Likewise.
594         * sysdeps/unix/sysv/linux/sh/sigcontextinfo.h: Likewise.
595         * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: Likewise.
596         * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h: Likewise.
598 2001-03-16  Ulrich Drepper  <drepper@redhat.com>
600         * sysdeps/ieee754/ldbl-96/s_erfl.c: New file.
601         Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>.
603         * sysdeps/i386/fpu/libm-test-ulps: Adjust for addition of erfl and
604         erfcl.
605         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
607 2001-03-16  David Mosberger  <davidm@hpl.hp.com>
609         * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h (struct sigcontext):
610         Drop hack that was needed for 2.1.1 kernel headers.
612         * sysdeps/unix/sysv/linux/ia64/ucontext_i.h: New file.
614         * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Rewrite to make it
615         overlay with kernel's "struct sigcontext".
617         * sysdeps/unix/sysv/linux/ia64/Makefile (sysdep_headers): Add
618         sys/rse.h for "misc" subdir.
619         (sysdep_routines): Add __start_context for "stdlib" subdir.
621         * sysdeps/unix/sysv/linux/ia64/sys/rse.h: New file (based on
622         kernel file of the same name).
624         * stdlib/Makefile (tests): Add tst-setcontext.
625         * stdlib/tst-setcontext.c: New file (based on a sample program by
626         Uli Drepper).
628         * sysdeps/unix/sysv/linux/ia64/setcontext.S: New file.
629         * sysdeps/unix/sysv/linux/ia64/getcontext.S: New file.
630         * sysdeps/unix/sysv/linux/ia64/__start_context.S: New file.
631         * sysdeps/unix/sysv/linux/ia64/makecontext.c: New file.
632         * sysdeps/unix/sysv/linux/ia64/swapcontext.c: New file.
634         * sysdeps/unix/sysv/linux/ia64/__longjmp.S (__longjmp): Use extr.u
635         instead of shift & and.
637 2001-03-16  Martin Schwidefsky  <schwidefsky@de.ibm.com>
639         * sysdeps/s390/s390-64/bits/huge_val.h: Move to...
640         * sysdeps/s390/bits/huge_val.h: ...here.
641         * sysdeps/s390/s390-32/bit/huge_val.h: Remove.
642         * sysdeps/s390/s390-64/ffs.c: Move to...
643         * sysdeps/s390/ffs.c: ...here.
644         * sysdeps/s390/s390-32/ffs.c: Remove.
646 2001-03-16  Jakub Jelinek  <jakub@redhat.com>
648         * elf/ldconfig.c (search_dir): Remove bogus diagnostic, instead
649         update osversion from more recent library.
651 2001-03-13  Martin Schwidefsky  <schwidefsky@de.ibm.com>
653         * sysdeps/unix/sysv/linux/s390/Dist: Move to...
654         * sysdeps/unix/sysv/linux/s390/s390-32/Dist: ...here.
655         * sysdeps/unix/sysv/linux/s390/Makefile: Move to...
656         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: ...here.
657         * sysdeps/unix/sysv/linux/s390/Versions: Move to...
658         * sysdeps/unix/sysv/linux/s390/s390-32/Versions: ...here.
659         * sysdeps/unix/sysv/linux/s390/alphasort64.c: Move to...
660         * sysdeps/unix/sysv/linux/s390/s390-32/alphasort64.c: ...here.
661         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Move to...
662         * sysdeps/unix/sysv/linux/s390/s390-32/bits/fcntl.h: ...here.
663         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Move to...
664         * sysdeps/unix/sysv/linux/s390/s390-32/bits/mman.h: ...here.
665         * sysdeps/unix/sysv/linux/s390/bits/resource.h: Move to...
666         * sysdeps/unix/sysv/linux/s390/s390-32/bits/resource.h: ...here.
667         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Move to...
668         * sysdeps/unix/sysv/linux/s390/s390-32/bits/stat.h: ...here.
669         * sysdeps/unix/sysv/linux/s390/chown.c: Move to...
670         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: ...here.
671         * sysdeps/unix/sysv/linux/s390/clone.S: Move to...
672         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: ...here.
673         * sysdeps/unix/sysv/linux/s390/fchown.c: Move to...
674         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: ...here.
675         * sysdeps/unix/sysv/linux/s390/fcntl.c: Move to...
676         * sysdeps/unix/sysv/linux/s390/s390-32/fcntl.c: ...here.
677         * sysdeps/unix/sysv/linux/s390/fxstat.c: Move to...
678         * sysdeps/unix/sysv/linux/s390/s390-32/fxstat.c: ...here.
679         * sysdeps/unix/sysv/linux/s390/getdents64.c: Move to...
680         * sysdeps/unix/sysv/linux/s390/s390-32/getdents64.c: ...here.
681         * sysdeps/unix/sysv/linux/s390/getegid.c: Move to...
682         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: ...here.
683         * sysdeps/unix/sysv/linux/s390/geteuid.c: Move to...
684         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: ...here.
685         * sysdeps/unix/sysv/linux/s390/getgid.c: Move to...
686         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: ...here.
687         * sysdeps/unix/sysv/linux/s390/getgroups.c: Move to...
688         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: ...here.
689         * sysdeps/unix/sysv/linux/s390/getresgid.c: Move to...
690         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: ...here.
691         * sysdeps/unix/sysv/linux/s390/getresuid.c: Move to...
692         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: ...here.
693         * sysdeps/unix/sysv/linux/s390/getrlimit.c: Move to...
694         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: ...here.
695         * sysdeps/unix/sysv/linux/s390/getrlimit64.c: Move to...
696         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit64.c: ...here.
697         * sysdeps/unix/sysv/linux/s390/getuid.c: Move to...
698         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: ...here.
699         * sysdeps/unix/sysv/linux/s390/lchown.c: Move to...
700         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: ...here.
701         * sysdeps/unix/sysv/linux/s390/lockf64.c: Move to...
702         * sysdeps/unix/sysv/linux/s390/s390-32/lockf64.c: ...here.
703         * sysdeps/unix/sysv/linux/s390/lxstat.c: Move to...
704         * sysdeps/unix/sysv/linux/s390/s390-32/lxstat.c: ...here.
705         * sysdeps/unix/sysv/linux/s390/mmap.S: Move to...
706         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: ...here.
707         * sysdeps/unix/sysv/linux/s390/mmap64.S: Move to...
708         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: ...here.
709         * sysdeps/unix/sysv/linux/s390/msgctl.c: Move to...
710         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: ...here.
711         * sysdeps/unix/sysv/linux/s390/oldgetrlimit64.c: Move to...
712         * sysdeps/unix/sysv/linux/s390/s390-32/oldgetrlimit64.c: ...here.
713         * sysdeps/unix/sysv/linux/s390/readdir64.c: Move to...
714         * sysdeps/unix/sysv/linux/s390/s390-32/readdir64.c: ...here.
715         * sysdeps/unix/sysv/linux/s390/readdir64_r.c: Move to...
716         * sysdeps/unix/sysv/linux/s390/s390-32/readdir64_r.c: ...here.
717         * sysdeps/unix/sysv/linux/s390/register-dump.h: Move to...
718         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: ...here.
719         * sysdeps/unix/sysv/linux/s390/scandir64.c: Move to...
720         * sysdeps/unix/sysv/linux/s390/s390-32/scandir64.c: ...here.
721         * sysdeps/unix/sysv/linux/s390/semctl.c: Move to...
722         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: ...here.
723         * sysdeps/unix/sysv/linux/s390/setegid.c: Move to...
724         * sysdeps/unix/sysv/linux/s390/s390-32/setegid.c: ...here.
725         * sysdeps/unix/sysv/linux/s390/seteuid.c: Move to...
726         * sysdeps/unix/sysv/linux/s390/s390-32/seteuid.c: ...here.
727         * sysdeps/unix/sysv/linux/s390/setfsgid.c: Move to...
728         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: ...here.
729         * sysdeps/unix/sysv/linux/s390/setfsuid.c: Move to...
730         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: ...here.
731         * sysdeps/unix/sysv/linux/s390/setgid.c: Move to...
732         * sysdeps/unix/sysv/linux/s390/s390-32/setgid.c: ...here.
733         * sysdeps/unix/sysv/linux/s390/setgroups.c: Move to...
734         * sysdeps/unix/sysv/linux/s390/s390-32/setgroups.c: ...here.
735         * sysdeps/unix/sysv/linux/s390/setregid.c: Move to...
736         * sysdeps/unix/sysv/linux/s390/s390-32/setregid.c: ...here.
737         * sysdeps/unix/sysv/linux/s390/setresgid.c: Move to...
738         * sysdeps/unix/sysv/linux/s390/s390-32/setresgid.c: ...here.
739         * sysdeps/unix/sysv/linux/s390/setresuid.c: Move to...
740         * sysdeps/unix/sysv/linux/s390/s390-32/setresuid.c: ...here.
741         * sysdeps/unix/sysv/linux/s390/setreuid.c: Move to...
742         * sysdeps/unix/sysv/linux/s390/s390-32/setreuid.c: ...here.
743         * sysdeps/unix/sysv/linux/s390/setrlimit.c: Move to...
744         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: ...here.
745         * sysdeps/unix/sysv/linux/s390/setuid.c: Move to...
746         * sysdeps/unix/sysv/linux/s390/s390-32/setuid.c: ...here.
747         * sysdeps/unix/sysv/linux/s390/shmctl.c: Move to...
748         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: ...here.
749         * sysdeps/unix/sysv/linux/s390/socket.S: Move to...
750         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: ...here.
751         * sysdeps/unix/sysv/linux/s390/sys/procfs.h: Move to...
752         * sysdeps/unix/sysv/linux/s390/s390-32/sys/procfs.h: ...here.
753         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Move to...
754         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: ...here.
755         * sysdeps/unix/sysv/linux/s390/syscall.S: Move to...
756         * sysdeps/unix/sysv/linux/s390/s390-32/syscall.S: ...here.
757         * sysdeps/unix/sysv/linux/s390/syscalls.list: Move to...
758         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: ...here.
759         * sysdeps/unix/sysv/linux/s390/sysdep.S: Move to...
760         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: ...here.
761         * sysdeps/unix/sysv/linux/s390/sysdep.h: Move to...
762         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: ...here.
763         * sysdeps/unix/sysv/linux/s390/versionsort64.c: Move to...
764         * sysdeps/unix/sysv/linux/s390/s390-32/versionsort64.c: ...here.
765         * sysdeps/unix/sysv/linux/s390/xstat.c: Move to...
766         * sysdeps/unix/sysv/linux/s390/s390-32/xstat.c: ...here.
768 2001-03-13  Martin Schwidefsky  <schwidefsky@de.ibm.com>
770         * sysdeps/unix/sysv/linux/s390/s390-64/Dist: New file.
771         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: New file.
772         * sysdeps/unix/sysv/linux/s390/s390-64/bits/elfclass.h: New file.
773         * sysdeps/unix/sysv/linux/s390/s390-64/bits/fcntl.h: New file.
774         * sysdeps/unix/sysv/linux/s390/s390-64/bits/ipc.h: New file.
775         * sysdeps/unix/sysv/linux/s390/s390-64/bits/mman.h: New file.
776         * sysdeps/unix/sysv/linux/s390/s390-64/bits/msq.h: New file.
777         * sysdeps/unix/sysv/linux/s390/s390-64/bits/resource.h: New file.
778         * sysdeps/unix/sysv/linux/s390/s390-64/bits/sem.h: New file.
779         * sysdeps/unix/sysv/linux/s390/s390-64/bits/shm.h: New file.
780         * sysdeps/unix/sysv/linux/s390/s390-64/bits/sigaction.h: New file.
781         * sysdeps/unix/sysv/linux/s390/s390-64/bits/siginfo.h: New file.
782         * sysdeps/unix/sysv/linux/s390/s390-64/bits/sigstack.h: New file.
783         * sysdeps/unix/sysv/linux/s390/s390-64/bits/stat.h: New file.
784         * sysdeps/unix/sysv/linux/s390/s390-64/bits/types.h: New file.
785         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: New file.
786         * sysdeps/unix/sysv/linux/s390/s390-64/fstatfs64.c: New file.
787         * sysdeps/unix/sysv/linux/s390/s390-64/ftruncate64.c: New file.
788         * sysdeps/unix/sysv/linux/s390/s390-64/fxstat.c: New file.
789         * sysdeps/unix/sysv/linux/s390/s390-64/fxstat64.c: New file.
790         * sysdeps/unix/sysv/linux/s390/s390-64/getdents.c: New file.
791         * sysdeps/unix/sysv/linux/s390/s390-64/getdents64.c: New file.
792         * sysdeps/unix/sysv/linux/s390/s390-64/getrlimit64.c: New file.
793         * sysdeps/unix/sysv/linux/s390/s390-64/glob.c: New file.
794         * sysdeps/unix/sysv/linux/s390/s390-64/glob64.c: New file.
795         * sysdeps/unix/sysv/linux/s390/s390-64/kernel_stat.h: New file.
796         * sysdeps/unix/sysv/linux/s390/s390-64/lxstat.c: New file.
797         * sysdeps/unix/sysv/linux/s390/s390-64/lxstat64.c: New file.
798         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: New file.
799         * sysdeps/unix/sysv/linux/s390/s390-64/mmap64.c: New file.
800         * sysdeps/unix/sysv/linux/s390/s390-64/pread64.c: New file.
801         * sysdeps/unix/sysv/linux/s390/s390-64/pwrite64.c: New file.
802         * sysdeps/unix/sysv/linux/s390/s390-64/readdir.c: New file.
803         * sysdeps/unix/sysv/linux/s390/s390-64/readdir64.c: New file.
804         * sysdeps/unix/sysv/linux/s390/s390-64/readdir64_r.c: New file.
805         * sysdeps/unix/sysv/linux/s390/s390-64/readdir_r.c : New file.
806         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: New file.
807         * sysdeps/unix/sysv/linux/s390/s390-64/setrlimit64.c: New file.
808         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: New file.
809         * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c: New file.
810         * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c: New file.
811         * sysdeps/unix/sysv/linux/s390/s390-64/sigsuspend.c: New file.
812         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: New file.
813         * sysdeps/unix/sysv/linux/s390/s390-64/statfs64.c: New file.
814         * sysdeps/unix/sysv/linux/s390/s390-64/sys/procfs.h: New file.
815         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: New file.
816         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: New file.
817         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: New file.
818         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: New file.
819         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: New file.
820         * sysdeps/unix/sysv/linux/s390/s390-64/truncate64.c: New file.
821         * sysdeps/unix/sysv/linux/s390/s390-64/xstat.c: New file.
822         * sysdeps/unix/sysv/linux/s390/s390-64/xstat64.c: New file.
824 2001-03-13  Martin Schwidefsky  <schwidefsky@de.ibm.com>
826         * sysdeps/s390/Dist: Move to...
827         * sysdeps/s390/390-32/Dist: ...here.
828         * sysdeps/s390/Implies: Move to...
829         * sysdeps/s390/s390-32/Implies: ...here.
830         * sysdeps/s390/Makefile: Move to...
831         * sysdeps/s390/s390-32/Makefile: ...here.
832         * sysdeps/s390/Versions: Move to...
833         * sysdeps/s390-32/s390/Versions: ...here.
834         * sysdeps/s390/add_n.S: Move to...
835         * sysdeps/s390/s390-32/add_n.S: ...here.
836         * sysdeps/s390/addmul_1.S: Move to...
837         * sysdeps/s390/s390-32/addmul_1.S: ...here.
838         * sysdeps/s390/atomicity.h: Move to...
839         * sysdeps/s390/s390-32/atomicity.h: ...here.
840         * sysdeps/s390/backtrace.c: Move to...
841         * sysdeps/s390/s390-32/backtrace.c: ...here.
842         * sysdeps/s390/bcopy.S: Move to...
843         * sysdeps/s390/s390-32/bcopy.S: ...here.
844         * sysdeps/s390/bits/byteswap.h: Move to...
845         * sysdeps/s390/s390-32/bits/byteswap.h: ...here.
846         * sysdeps/s390/bits/huge_val.h: Move to...
847         * sysdeps/s390/s390-32/bits/huge_val.h: ...here.
848         * sysdeps/s390/bsd-_setjmp.S: Move to...
849         * sysdeps/s390/s390-32/bsd-_setjmp.S: ...here.
850         * sysdeps/s390/bsd-setjmp.S: Move to...
851         * sysdeps/s390/s390-32/bsd-setjmp.S: ...here.
852         * sysdeps/s390/bzero.S: Move to...
853         * sysdeps/s390/s390-32/bzero.S: ...here.
854         * sysdeps/s390/elf/bsd-_setjmp.S: Move to...
855         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: ...here.
856         * sysdeps/s390/elf/bsd-setjmp.S: Move to...
857         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: ...here.
858         * sysdeps/s390/elf/start.S: Move to...
859         * sysdeps/s390/s390-32/elf/start.S: ...here.
860         * sysdeps/s390/ffs.c: Move to...
861         * sysdeps/s390/s390-32/ffs.c: ...here.
862         * sysdeps/s390/memchr.S: Move to...
863         * sysdeps/s390/s390-32/memchr.S: ...here.
864         * sysdeps/s390/memcpy.S: Move to...
865         * sysdeps/s390/s390-32/memcpy.S: ...here.
866         * sysdeps/s390/memset.S: Move to...
867         * sysdeps/s390/s390-32/memset.S: ...here.
868         * sysdeps/s390/mul_1.S: Move to...
869         * sysdeps/s390/s390-32/mul_1.S: ...here.
870         * sysdeps/s390/s390-mcount.S: Move to...
871         * sysdeps/s390/s390-32/s390-mcount.S: ...here.
872         * sysdeps/s390/strcpy.S: Move to...
873         * sysdeps/s390/s390-32/strcpy.S: ...here.
874         * sysdeps/s390/strncpy.S: Move to...
875         * sysdeps/s390/s390-32/strncpy.S: ...here.
876         * sysdeps/s390/sub_n.S: Move to...
877         * sysdeps/s390/s390-32/sub_n.S: ...here.
879 2001-03-13  Martin Schwidefsky  <schwidefsky@de.ibm.com>
881         * sysdeps/s390/s390-64/Dist: New file.
882         * sysdeps/s390/s390-64/Implies: New file.
883         * sysdeps/s390/s390-64/Makefile: New file.
884         * sysdeps/s390/s390-64/__longjmp.c: New file.
885         * sysdeps/s390/s390-64/add_n.S: New file.
886         * sysdeps/s390/s390-64/atomicity.h: New file.
887         * sysdeps/s390/s390-64/backtrace.c: New file.
888         * sysdeps/s390/s390-64/bcopy.S: New file.
889         * sysdeps/s390/s390-64/bits/byteswap.h: New file.
890         * sysdeps/s390/s390-64/bits/huge_val.h: New file.
891         * sysdeps/s390/s390-64/bits/setjmp.h: New file.
892         * sysdeps/s390/s390-64/bits/string.h: New file.
893         * sysdeps/s390/s390-64/bsd-_setjmp.S: New file.
894         * sysdeps/s390/s390-64/bsd-setjmp.S: New file.
895         * sysdeps/s390/s390-64/bzero.S: New file.
896         * sysdeps/s390/s390-64/dl-machine.h: New file.
897         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: New file.
898         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: New file.
899         * sysdeps/s390/s390-64/elf/setjmp.S: New file.
900         * sysdeps/s390/s390-64/elf/start.S: New file.
901         * sysdeps/s390/s390-64/ffs.c: New file.
902         * sysdeps/s390/s390-64/initfini.c: New file.
903         * sysdeps/s390/s390-64/memchr.S: New file.
904         * sysdeps/s390/s390-64/memcpy.S: New file.
905         * sysdeps/s390/s390-64/memset.S: New file.
906         * sysdeps/s390/s390-64/s390x-mcount.S: New file.
907         * sysdeps/s390/s390-64/setjmp.S: New file.
908         * sysdeps/s390/s390-64/strcpy.S: New file.
909         * sysdeps/s390/s390-64/strncpy.S: New file.
910         * sysdeps/s390/s390-64/sub_n.S: New file.
911         * sysdeps/s390/s390-64/sysdep.h: New file.
913 2001-03-13  Martin Schwidefsky  <schwidefsky@de.ibm.com>
915         * scripts/config.guess: Add support for Linux on 64 bit S/390.
916         * scripts/config.sub: Likewise.
918 2001-03-13  Martin Schwidefsky  <schwidefsky@de.ibm.com>
920         * configure.in: Add support for 64 bit S/390.
922         * elf/elf.h: Add new relocations for 64 bit S/390.
924         * shlib-versions: Add rules for Linux on 64 bit S/390.
926 2001-03-13  Martin Schwidefsky  <schwidefsky@de.ibm.com>
928         * sysdeps/s390/__longjmp.c: Move to...
929         * sysdeps/s390/s390-32/__longjmp.c: ...here.  Add code
930         to load the floating point registers that should be saved
931         according to the ABI.
933         * sysdeps/s390/bits/setjmp.h: Move to...
934         * sysdeps/s390/s390-32/bits/setjmp.h: ...here.  Avoid
935         the use of long long in the __jmp_buf type definition.
937         * sysdeps/s390/bits/string.h: Move to...
938         * sysdeps/s390/s390-32/bits/string.h: ...here.  Add several missing
939         #ifndef _FORCE_INLINES.
941         * sysdeps/s390/dl-machine.h: Move to...
942         * sysdeps/s390/s390-32/dl-machine.h: ...here.  Add a check for the
943         executables EI_CLASS in elf_machine_matches_host.
945         * sysdeps/s390/elf/setjmp.S: Move to...
946         * sysdeps/s390/s390-32/elf/setjmp.S: ...here.  Replace
947         branches to globally defined symbol __sigsetjmp by branches to
948         a local label (this avoids the generation of a R_390_PC16DBL
949         relocation in -fpic code).
951         * sysdeps/s390/gmp-mparam.h: Use defines from <bits/wordsize.h> to
952         calculate BITS_PER_MP_LIMB, BYTES_PER_MP_LIMB and BITS_PER_LONGINT.
954         * sysdeps/s390/initfini.c: Move to...
955         * sysdeps/s390/s390-32/initfini.c: ...here.  Replace ALIGN with
956         ".align 4,0x07".
958         * sysdeps/s390/setjmp.S: Move to...
959         * sysdeps/s390/s390-32/setjmp.S: ...here.  Add code to store the
960         floating point registers that should be saved according to the ABI.
962         * sysdeps/s390/sys/ucontext.h: Remove since it is unused.
964         * sysdeps/unix/sysv/linux/s390/sysdep.h: Move to...
965         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: ...here. Include
966         sysdeps/s390/s390-32/sysdep.h instead of sysdeps/s390/sysdep.h.
968 2001-03-13  Martin Schwidefsky  <schwidefsky@de.ibm.com>
970         * configure.in: Change machine=s390 to machine=s390/s390-32.
972         * elf/elf.h: Correct comment for R_390_PLT16DBL.
974 2001-03-12  Jakub Jelinek  <jakub@redhat.com>
976         * csu/Makefile (abi-tag.h): Define OS and version separately, allow
977         version to be overriden from config.h.
978         * csu/abi-note.S: Use OS and version separately, include config.h.
979         * elf/dl-load.c (_dl_osversion): New.
980         (_dl_map_object_from_fd): Kill some warnings.
981         (open_verify): Check .note.ABI-tag of the library if present.
982         * elf/Makefile (CPPFLAGS-dl-load.c): Add -I$(csu-objpfx).
983         * elf/cache.c (struct cache_entry): Add osversion.
984         (print_entry): Print osversion.
985         (print_cache): Pass osversion to it.
986         (compare): Sort according to osversion.
987         (save_cache): Set osversion.
988         (add_to_cache): Add osversion argument.
989         * sysdeps/generic/ldconfig.h (add_to_cache, process_file,
990         process_elf_file): Add osversion argument.
991         * elf/readlib.c (process_file): Likewise.
992         * sysdeps/generic/readelflib.c (process_elf_file): Likewise.
993         * sysdeps/unix/sysv/linux/ia64/readelflib.c (process_elf_file,
994         process_elf32_file, process_elf64_file): Likewise.
995         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file,
996         process_elf32_file, process_elf64_file): Likewise.
997         * sysdeps/unix/sysv/linux/sparc/readelflib.c (process_elf_file,
998         process_elf32_file, process_elf64_file): Likewise.
999         * elf/ldconfig.c (manual_link): Pass it.
1000         (search_dir): Issue diagnostic if two libs with the same soname in
1001         the same directory have different .note.ABI-tag.  Record osversion in
1002         dlib_entry and use it from there.
1003         (struct lib_entry): Remove.
1004         (struct dlib_entry): Add osversion.
1005         * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Check
1006         osversion.
1007         * sysdeps/generic/dl-cache.h (struct file_entry_new): Replace __unused
1008         field with osversion.
1009         * sysdeps/generic/ldsodefs.h (_dl_osversion): Declare.
1010         * sysdeps/unix/sysv/linux/init-first.c: Include ldsodefs.h.
1011         * sysdeps/unix/sysv/linux/dl-osinfo.h (DL_SYSDEP_OSCHECK): Save kernel
1012         version in _dl_osversion.
1013         * sysdeps/unix/sysv/linux/configure.in: Define __ABI_TAG_VERSION.
1014         * Makerules (build-shlib-helper, build-module-helper): New.
1015         (build-shlib, build-module-helper): Make sure .note.ABI-tag comes
1016         early.
1017         * config.h.in (__ABI_TAG_VERSION): Add.
1018         * elf/dl-minimal.c (__strtoul_internal): Set endptr on return.
1019         * sysdeps/unix/sysv/linux/i386/dl-librecon.h (EXTRA_LD_ENVVARS):
1020         Handle LD_ASSUME_KERNEL.
1021         * sysdeps/unix/sysv/linux/dl-librecon.h: New.
1023 2001-03-15  Ulrich Drepper  <drepper@redhat.com>
1025         * timezone/antarctica: Update from tzdata2001a.
1026         * timezone/asia: Likewise.
1027         * timezone/australasia: Likewise.
1028         * timezone/backward: Likewise.
1029         * timezone/etcetera: Likewise.
1030         * timezone/europe: Likewise.
1031         * timezone/leapseconds: Likewise.
1032         * timezone/northamerica: Likewise.
1033         * timezone/southamerica: Likewise.
1034         * timezone/systemv: Likewise.
1035         * timezone/yearistype: Likewise.
1036         * timezone/zone.tab: Likewise.
1037         * timezone/tzdump.c: Update from tzcode2001a.
1039 2001-03-15  H.J. Lu  <hjl@gnu.org>
1041         * intl/Makefile: Fix a typo.
1043 2001-03-14  David Mosberger  <davidm@hpl.hp.com>
1045         * gmon/gmon.c (write_call_graph): Avoid unaligned accesses when
1046         writing arc structures.
1048 2001-03-15  H.J. Lu  <hjl@gnu.org>
1050         * elf/Makefile ($(objpfx)tst-pathopt.out): Protected against
1051         cross-compiling.
1053 2001-03-13  Andreas Schwab  <schwab@suse.de>
1055         * posix/PTESTS2C.sed: Replace literal CRs by `\r'.
1057 2001-03-15  Ulrich Drepper  <drepper@redhat.com>
1059         * sysdeps/unix/sysv/linux/cmsg_nxthdr.c (__cmsg_nxthdr): Fix test
1060         for control message fitting into message data.
1061         Patch by James Antill <james@and.org>.
1063         * posix/tst-fnmatch.input: Add test case for FNM_PERIOD handling with
1064         FNM_EXTMATCH.
1066         * posix/fnmatch_loop.c: Optimize handling of ?() and @().
1067         * posix/fnmatch.c: Define STRLEN and STRCAT appropriately.
1069         * posix/Versions [libc] (GLIBC_2.2.3): Add fnmatch.
1070         * posix/fnmatch.c: Define with new default version GLIBC_2.2.3 to
1071         avoid running binaries with libc versions without FNM_EXTMATCH support.
1073         * include/wchar.h: Add prototype for __wcscat.
1074         * wcsmbs/wcscat.c: Define __wcscat and make wcscat weak alias.
1076         * posix/fnmatch.h (FNM_EXTMATCH): Define.
1077         * posix/fnmatch.c (NO_LEADING_PERIOD): Define.
1078         (posixly_correct): Move global variable here.
1079         (INT, EXT, END): Name new functions defined in fnmatch_loop.c.
1080         (fnmatch): Pretty printing.
1081         * posix/fnmatch_loop.c: Add code to handle FNM_EXTMATCH.
1082         * posix/tst-fnmatch.c: Recognize EXTMATCH flag.
1083         * posix/tst-fnmatch.input: Add tests for extended matching.
1085         * posix/testfnm.c: Add test for patterns with multiple ** before /.
1086         * posix/fnmatch_loop.c: Fix problem with the test above.
1088 2001-03-14  Ulrich Drepper  <drepper@redhat.com>
1090         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Remove
1091         reference to usqrt.
1093         * resolv/res_data.c (fp_nquery): Call __res_ninit not __res_init.
1095 2001-03-12  Andreas Jaeger  <aj@suse.de>
1097         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
1098         Use EM_X86_64 instead of EM_X8664.
1100 2001-03-12  Ulrich Drepper  <drepper@redhat.com>
1102         * sysdeps/ieee754/dbl-64/upow.h: Define nZERO and nINF.
1104         * sysdeps/ieee754/dbl-64/e_remainder.c: Fix handling of boundary
1105         conditions.
1107         * sysdeps/ieee754/dbl-64/e_pow.c: Fix handling of boundary
1108         conditions.
1110         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Handle Inf and NaN
1111         correctly.
1112         (__cos): Likewise.
1114         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Handle NaN
1115         correctly.
1116         (__ieee754_acos): Likewise.
1118 2001-03-12  Andreas Jaeger  <aj@suse.de>
1120         * sysdeps/unix/sysv/linux/s390/sysdep.h (_LINUX_S390_SYSDEP_H):
1121         Fix typo.  Patch by Martin Schwidefsky  <schwidefsky@de.ibm.com>.
1123         * sysdeps/s390/bits/string.h: Protect __STRING_INLINE against
1124         redefinition.
1126 2001-03-11  Roland McGrath  <roland@frob.com>
1128         * sysdeps/mach/hurd/configure.in: Add a sanity check on $prefix.
1130 2001-03-11  Ulrich Drepper  <drepper@redhat.com>
1132         * sysdeps/ieee754/dbl-64/endian.h: Define also one of BIG_ENDI and
1133         LITTLE_ENDI.
1135         * sysdeps/ieee754/dbl-64/MathLib.h (Init_Lib): Use void as
1136         parameter list.
1138         Last-bit accurate math library implementation by IBM Haifa.
1139         Contributed by Abraham Ziv <ziv@il.ibm.com>, Moshe Olshansky
1140         <olshansk@il.ibm.com>, Ealan Henis <ealan@il.ibm.com>, and
1141         Anna Reitman <reitman@il.ibm.com>.
1142         * math/Makefile (dbl-only-routines): New variable.
1143         (libm-routines): Add $(dbl-only-routines).
1144         * sysdeps/ieee754/dbl-64/e_acos.c: Empty, definition is in e_asin.c.
1145         * sysdeps/ieee754/dbl-64/e_asin.c: Replaced with accurate asin
1146         implementation.
1147         * sysdeps/ieee754/dbl-64/e_atan2.c: Replaced with accurate atan2
1148         implementation.
1149         * sysdeps/ieee754/dbl-64/e_exp.c: Replaced with accurate exp
1150         implementation.
1151         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Don't use __kernel_sin and
1152         __kernel_cos.
1153         * sysdeps/ieee754/dbl-64/e_log.c: Replaced with accurate log
1154         implementation.
1155         * sysdeps/ieee754/dbl-64/e_remainder.c: Replaced with accurate
1156         remainder implementation.
1157         * sysdeps/ieee754/dbl-64/e_pow.c: Replaced with accurate pow
1158         implementation.
1159         * sysdeps/ieee754/dbl-64/e_sqrt.c: Replaced with accurate sqrt
1160         implementation.
1161         * sysdeps/ieee754/dbl-64/k_cos.c: Empty, definition is in s_sin.c.
1162         * sysdeps/ieee754/dbl-64/k_sin.c: Empty, definition is in s_sin.c.
1163         * sysdeps/ieee754/dbl-64/s_atan.c: Replaced with accurate atan
1164         implementation.
1165         * sysdeps/ieee754/dbl-64/s_cos.c: Empty, definition is in s_sin.c.
1166         * sysdeps/ieee754/dbl-64/s_sin.c: Replaced with accurate sin/cos
1167         implementation.
1168         * sysdeps/ieee754/dbl-64/s_sincos.c: Rewritten to not use __kernel_sin
1169         and __kernel_cos.
1170         * sysdeps/ieee754/dbl-64/s_tan.c: Replaced with accurate tan
1171         implementation.
1172         * sysdeps/ieee754/dbl-64/Dist: Add new non-code files.
1173         * sysdeps/ieee754/dbl-64/MathLib.h: New file.
1174         * sysdeps/ieee754/dbl-64/asincos.tbl: New file.
1175         * sysdeps/ieee754/dbl-64/atnat.h: New file.
1176         * sysdeps/ieee754/dbl-64/atnat2.h: New file.
1177         * sysdeps/ieee754/dbl-64/branred.c: New file.
1178         * sysdeps/ieee754/dbl-64/branred.h: New file.
1179         * sysdeps/ieee754/dbl-64/dla.h: New file.
1180         * sysdeps/ieee754/dbl-64/doasin.c: New file.
1181         * sysdeps/ieee754/dbl-64/doasin.h: New file.
1182         * sysdeps/ieee754/dbl-64/dosincos.c: New file.
1183         * sysdeps/ieee754/dbl-64/dosincos.h: New file.
1184         * sysdeps/ieee754/dbl-64/endian.h: New file.
1185         * sysdeps/ieee754/dbl-64/halfulp.c: New file.
1186         * sysdeps/ieee754/dbl-64/mpa.c: New file.
1187         * sysdeps/ieee754/dbl-64/mpa.h: New file.
1188         * sysdeps/ieee754/dbl-64/mpa2.h: New file.
1189         * sysdeps/ieee754/dbl-64/mpatan.c: New file.
1190         * sysdeps/ieee754/dbl-64/mpatan.h: New file.
1191         * sysdeps/ieee754/dbl-64/mpatan2.c: New file.
1192         * sysdeps/ieee754/dbl-64/mpexp.c: New file.
1193         * sysdeps/ieee754/dbl-64/mpexp.h: New file.
1194         * sysdeps/ieee754/dbl-64/mplog.c: New file.
1195         * sysdeps/ieee754/dbl-64/mplog.h: New file.
1196         * sysdeps/ieee754/dbl-64/mpsqrt.c: New file.
1197         * sysdeps/ieee754/dbl-64/mpsqrt.h: New file.
1198         * sysdeps/ieee754/dbl-64/mptan.c: New file.
1199         * sysdeps/ieee754/dbl-64/mydefs.h: New file.
1200         * sysdeps/ieee754/dbl-64/powtwo.tbl: New file.
1201         * sysdeps/ieee754/dbl-64/root.tbl: New file.
1202         * sysdeps/ieee754/dbl-64/sincos.tbl: New file.
1203         * sysdeps/ieee754/dbl-64/sincos32.c: New file.
1204         * sysdeps/ieee754/dbl-64/sincos32.h: New file.
1205         * sysdeps/ieee754/dbl-64/slowexp.c: New file.
1206         * sysdeps/ieee754/dbl-64/slowpow.c: New file.
1207         * sysdeps/ieee754/dbl-64/uasncs.h: New file.
1208         * sysdeps/ieee754/dbl-64/uatan.tbl: New file.
1209         * sysdeps/ieee754/dbl-64/uexp.h: New file.
1210         * sysdeps/ieee754/dbl-64/uexp.tbl: New file.
1211         * sysdeps/ieee754/dbl-64/ulog.h: New file.
1212         * sysdeps/ieee754/dbl-64/ulog.tbl: New file.
1213         * sysdeps/ieee754/dbl-64/upow.h: New file.
1214         * sysdeps/ieee754/dbl-64/upow.tbl: New file.
1215         * sysdeps/ieee754/dbl-64/urem.h: New file.
1216         * sysdeps/ieee754/dbl-64/uroot.h: New file.
1217         * sysdeps/ieee754/dbl-64/usncs.h: New file.
1218         * sysdeps/ieee754/dbl-64/utan.h: New file.
1219         * sysdeps/ieee754/dbl-64/utan.tbl: New file.
1220         * sysdeps/i386/fpu/branred.c: New file.
1221         * sysdeps/i386/fpu/doasin.c: New file.
1222         * sysdeps/i386/fpu/dosincos.c: New file.
1223         * sysdeps/i386/fpu/halfulp.c: New file.
1224         * sysdeps/i386/fpu/mpa.c: New file.
1225         * sysdeps/i386/fpu/mpatan.c: New file.
1226         * sysdeps/i386/fpu/mpatan2.c: New file.
1227         * sysdeps/i386/fpu/mpexp.c: New file.
1228         * sysdeps/i386/fpu/mplog.c: New file.
1229         * sysdeps/i386/fpu/mpsqrt.c: New file.
1230         * sysdeps/i386/fpu/mptan.c: New file.
1231         * sysdeps/i386/fpu/sincos32.c: New file.
1232         * sysdeps/i386/fpu/slowexp.c: New file.
1233         * sysdeps/i386/fpu/slowpow.c: New file.
1234         * sysdeps/ia64/fpu/branred.c: New file.
1235         * sysdeps/ia64/fpu/doasin.c: New file.
1236         * sysdeps/ia64/fpu/dosincos.c: New file.
1237         * sysdeps/ia64/fpu/halfulp.c: New file.
1238         * sysdeps/ia64/fpu/mpa.c: New file.
1239         * sysdeps/ia64/fpu/mpatan.c: New file.
1240         * sysdeps/ia64/fpu/mpatan2.c: New file.
1241         * sysdeps/ia64/fpu/mpexp.c: New file.
1242         * sysdeps/ia64/fpu/mplog.c: New file.
1243         * sysdeps/ia64/fpu/mpsqrt.c: New file.
1244         * sysdeps/ia64/fpu/mptan.c: New file.
1245         * sysdeps/ia64/fpu/sincos32.c: New file.
1246         * sysdeps/ia64/fpu/slowexp.c: New file.
1247         * sysdeps/ia64/fpu/slowpow.c: New file.
1248         * sysdeps/m68k/fpu/branred.c: New file.
1249         * sysdeps/m68k/fpu/doasin.c: New file.
1250         * sysdeps/m68k/fpu/dosincos.c: New file.
1251         * sysdeps/m68k/fpu/halfulp.c: New file.
1252         * sysdeps/m68k/fpu/mpa.c: New file.
1253         * sysdeps/m68k/fpu/mpatan.c: New file.
1254         * sysdeps/m68k/fpu/mpatan2.c: New file.
1255         * sysdeps/m68k/fpu/mpexp.c: New file.
1256         * sysdeps/m68k/fpu/mplog.c: New file.
1257         * sysdeps/m68k/fpu/mpsqrt.c: New file.
1258         * sysdeps/m68k/fpu/mptan.c: New file.
1259         * sysdeps/m68k/fpu/sincos32.c: New file.
1260         * sysdeps/m68k/fpu/slowexp.c: New file.
1261         * sysdeps/m68k/fpu/slowpow.c: New file.
1263         * iconvdata/gconv-modules: Add a number of alias, mostly for IBM
1264         codepages.
1266 2001-03-11  Andreas Jaeger  <aj@suse.de>
1268         * elf/elf.h (EM_*): Synch with official list.
1270 2001-03-07  David Mosberger  <davidm@hpl.hp.com>
1272         * sysdeps/ia64/bits/fenv.h (FE_NONIEEE_ENV): New macro.
1274 2001-03-07  Jes Sorensen  <jes@linuxcare.com>
1276         * sysdeps/unix/sysv/linux/ia64/ioperm.c (_ioperm): Remove unused
1277         variables addr & len.
1279 2001-02-22  Jes Sorensen  <jes@linuxcare.com>
1281         * sysdeps/ia64/fpu/feenablxcpt.c (feenableexcept): Remove
1282         punctuation in asm constraint.
1284 2001-03-07  Mark Kettenis  <kettenis@gnu.org>
1286         * resolv/netdb.h [__USE_GNU]: Define __need_timespec and include
1287         <time.h> to get definition of `struct timespec'.
1289 2001-03-08  Jakub Jelinek  <jakub@redhat.com>
1291         * elf/rtld.c (dl_main): If tracing, warn about undefined symbols if
1292         LD_WARN=1, not if LD_WARN is unset.
1294 2001-03-07  Andreas Schwab  <schwab@suse.de>
1296         * elf/ldconfig.h: Moved to ...
1297         * sysdeps/generic/ldconfig.h: ... here.
1298         * sysdeps/unix/sysv/linux/i386/ldconfig.h: New file.
1299         * sysdeps/unix/sysv/linux/m68k/ldconfig.h: New file.
1300         * sysdeps/unix/sysv/linux/ia64/ldconfig.h: New file.
1301         * elf/readlib.c (interpreters, known_libs): Use
1302         SYSDEP_KNOWN_INTERPRETER_NAMES and SYSDEP_KNOWN_LIBRARY_NAMES
1303         instead of hard coding old names.
1305 2001-03-09  Ulrich Drepper  <drepper@redhat.com>
1307         * catgets/Makefile (generated): Add test-gencat.h.
1308         (sample.SJIS.cat): Also generate header.
1309         * catgets/sample.SJIS: Add new set and message, both with symbolic
1310         names.
1311         * catgets/test-gencat.sh: Also compare generated header with what
1312         we expect.
1314 2001-03-07  Jakub Jelinek  <jakub@redhat.com>
1316         * catgets/gencat.c (read_input_file): Preserve properly symbolic
1317         names.
1319 2001-03-06  Andreas Jaeger  <aj@suse.de>
1321         * sysdeps/s390/dl-machine.h (elf_machine_relplt): Removed, it's not
1322         needed.
1323         (elf_machine_pltrel_p): Likewise.
1324         * sysdeps/powerpc/dl-machine.h: Likewise.
1325         * sysdeps/generic/dl-machine.h (elf_machine_pltrel_p): Likewise.
1327 2001-03-09  Ulrich Drepper  <drepper@redhat.com>
1329         * sysdeps/unix/sysv/linux/arm/Dist: Add dl-procinfo.c and
1330         dl-procinfo.h.
1332 2001-03-05  Philip Blundell  <philb@gnu.org>
1334         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c: New file.
1335         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h: New file.
1336         * sysdeps/unix/sysv/linux/arm/Makefile [subdir=elf]
1337         (sysdep-dl-routines, sysdep_routines, sysdep-rtld-routines): Add
1338         dl-procinfo.
1340 2001-03-09  Ulrich Drepper  <drepper@redhat.com>
1342         * dlfcn/tstatexit.c (main): Don't perform the test if __dso_handle
1343         is not available.
1344         * dlfcn/tstcxaatexit.c (main): Likewise.
1346 2001-03-10  Andreas Jaeger  <aj@suse.de>
1348         * sysdeps/i386/fpu/libm-test-ulps: Revert last patch.
1350 2001-03-09  Andreas Jaeger  <aj@suse.de>
1352         * sysdeps/s390/dl-machine.h (elf_machine_matches_host): Handle
1353         both new and old EM_S390 values.
1354         (EM_S390_OLD): New constant.
1356         * elf/elf.h (EM_S390): Use official value.
1358 2001-03-09  Ulrich Drepper  <drepper@redhat.com>
1360         * conform/data/sys/socket.h-data: Allow SO* symbols.
1362 2001-03-07  Andreas Schwab  <schwab@suse.de>
1364         * sysdeps/ia64/fpu/Makefile: Modify sysdep_routines instead of
1365         routines, and sysdep-CPPFLAGS instead of CPPFLAGS.
1367 2001-03-07  Andreas Jaeger  <aj@suse.de>
1369         * resolv/Makefile (routines): Only build gai_sigqueue when threads
1370         are available.
1372 2001-03-07  Jakub Jelinek  <jakub@redhat.com>
1374         * elf/ldconfig.c (_dl_sysdep_message): Remove.
1375         * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h: Include
1376         ldsodefs.h.
1377         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h: Likewise.
1379         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Use
1380         _dl_error_printf instead of _dl_sysdep_error.
1381         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
1382         * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h (_dl_procinfo):
1383         Use _dl_printf instead of _dl_sysdep_message.
1384         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h (_dl_procinfo):
1385         Likewise.
1387 2001-03-06  Ben Collins  <bcollins@debian.org>
1389         * manual/arith.texi (Integers): Fix documentation of fast and
1390         least integer typedefs.
1392 2001-03-06  Jakub Jelinek  <jakub@redhat.com>
1394         * resolv/Depend: New file.
1395         * resolv/Makefile (extra-libs, tests): Build libanl and ga_test only
1396         when libpthread is built.
1398 2001-03-06  Andreas Jaeger  <aj@suse.de>
1400         * sysdeps/i386/fpu/libm-test-ulps: Add some deltas.
1402         * sysdeps/sh/dl-machine.h (elf_machine_rela): Add missing comma.
1403         Patch by kaz Kojima <kkojima@rr.iij4u.or.jp>.
1405 2001-03-05  Ulrich Drepper  <drepper@redhat.com>
1407         * stdlib/Versions: Remove __new_exitfn again.  Not needed.
1409 2001-03-05  Andreas Jaeger  <aj@suse.de>
1411         * stdlib/msort.c (qsort): Don't use alloca in a function call.
1413 2001-03-05  Ulrich Drepper  <drepper@redhat.com>
1415         * sysdeps/unix/sysv/linux/bits/stat.h (__S_TYPEISMQ, __S_TYPEISSEM,
1416         __S_TYPEISSHM): Rewrite to enforce correct use the macros.  They still
1417         always return zero.
1418         * sysdeps/unix/sysv/linux/alpha/bits/stat.h: Likewise.
1419         * sysdeps/unix/sysv/linux/ia64/bits/stat.h: Likewise.
1420         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
1421         * sysdeps/unix/sysv/linux/m68k/bits/stat.h: Likewise.
1422         * sysdeps/unix/sysv/linux/mips/bits/stat.h: Likewise.
1423         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
1424         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
1426 2001-03-04  Andreas Jaeger  <aj@suse.de>
1428         * stdlib/longlong.h: Don't use multi-line strings.
1429         * iconvdata/tst-loading.c: Likewise.
1431         * csu/Makefile ($(objpfx)version-info.h): Don't use multi-line
1432         string.
1434 2001-03-04  Ulrich Drepper  <drepper@redhat.com>
1436         * sysdeps/ia64/fpu/libm-test-ulps: Adjust for addition of lgammal.
1438         * rt/lio_listio.c: Add a few asserts.
1440         * elf/global.c: New file.
1441         * elf/globalmod1.c: New file.
1442         * elf/Makefile: Add rules to build and run global.
1444         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Define SI_ASYNCNL.
1445         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
1446         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Likewise.
1447         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
1448         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/siginfo.h: Likewise.
1450         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: New file.
1451         Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>.
1453         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Fix handling of boundary cases.
1455         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Always initialize sign variable.
1456         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
1458         * sysdeps/i386/fpu/libm-test-ulps: Adjust after addition of lgammal.
1460         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Fix typo in last change.
1462 2001-03-04  Andreas Jaeger  <aj@suse.de>
1464         * resolv/tst-aton.c: Add testcase for IP with four periods.
1466         * resolv/inet_addr.c: Don't recognize an IP with four periods.
1467         Patch by Andre' Breiler <A.Breiler@gmx.net>.
1469 2001-02-27  Philip Blundell  <pb@futuretv.com>
1471         * elf/elf.h: Add new ARM definitions from latest (B-01)
1472         specification.  Correct naming of EF_ARM_ALIGN8 et al.
1474 2001-03-04  Ulrich Drepper  <drepper@redhat.com>
1476         * stdio-common/tst-printf.sh: Remove bashisms.
1477         Patch by Matthew Clarke <Matthew_Clarke@mindlink.bc.ca>.
1479 2001-03-03  Ulrich Drepper  <drepper@redhat.com>
1481         * Versions.def: Add libanl definition.
1482         * shlib-versions: Add entry for libanl.
1483         * resolv/Makefile (distribute): Add gai_misc.h and ga_test.c.
1484         (routines): Add gai_sigqueue.
1485         (extra-libs): Add libanl.
1486         (libanl-routines): New variable.
1487         Add rules to build libanl and ga_test.
1488         * resolv/Versions [libc] (GLIBC_2.2.3): Add __gai_sigqueue.
1489         [libanl]: New library.
1490         * resolv/netdb.h: Add definitions for libanl.
1491         * resolv/getaddrinfo_a.c: New file.
1492         * resolv/gai_cancel.c: New file.
1493         * resolv/gai_error.c: New file.
1494         * resolv/gai_misc.c: New file.
1495         * resolv/gai_misc.h: New file.
1496         * resolv/gai_notify.c: New file.
1497         * resolv/gai_suspend.c: New file.
1498         * resolv/ga_test.c: New file.
1499         * sysdeps/generic/gai_sigqueue.c: New file.
1500         * sysdeps/unix/sysv/linux/gai_sigqueue.c: New file.
1501         * sysdeps/generic/bits/siginfo.h: Allow __need_sigevent_t being defined
1502         and provide only that definition.
1503         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Likewise.
1504         * sysdeps/unix/sysv/linux/bits/siginfo.h: Likewise.
1505         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
1506         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Likewise.
1507         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
1508         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/siginfo.h: Likewise.
1510         * rt/aio_misc.c: Fix typos in comments.
1511         * rt/lio_listio.c: Pretty printing.  Little optimization in request
1512         list handling.
1514         * elf/rtld.c: Remove commented out code.
1516         * sysdeps/unix/sysv/linux/linux_fsinfo.h (SHMFS_SUPER_MAGIC):
1517         Update for real 2.4 kernels.
1519 2001-03-01  Ulrich Drepper  <drepper@redhat.com>
1521         * elf/dl-load.c: Pretty printing.
1523         * elf/dl-object.c (_dl_new_object): Don't add the loader's scope
1524         twice.
1526 2001-02-28  Ulrich Drepper  <drepper@redhat.com>
1528         * sysdeps/alpha/dl-machine.h (elf_machine_rela): Don't handle
1529         relocations which are not in ld.so if RTLD_BOOTSTRAP is defined.
1531         * sysdeps/powerpc/dl-machine.c (__process_machine_rela): Fix typo.
1533         * elf/dl-misc.c (_dl_debug_vdprintf): Fix typo visible on 64-bit
1534         machines.
1536         * sysdeps/unix/sysv/linux/powerpc/sysdep.h (C_TEXT): Define.
1538 2001-02-27  Ulrich Drepper  <drepper@redhat.com>
1540         * sysdeps/powerpc/elf/libc-start.c: Use new output functions and
1541         _dl_debug_mask.
1543         * elf/Versions [ld]: Don't export _dl_debug_message anymore.  Export
1544         _dl_debug_printf.
1545         * elf/dl-misc.c: Remove definition of _dl_sysdep_output and
1546         _dl_debug_message.  Define _dl_debug_vdprintf, _dl_debug_printf,
1547         _dl_debug_printf_c, and _dl_printf.
1548         * sysdeps/generic/ldsodefs.h: Don't declare _dl_sysdep_output,
1549         _dl_debug_message, _dl_sysdep_message, _dl_sysdep_error, and
1550         _dl_sysdep_fatal.  Declare _dl_debug_printf, _dl_debug_printf_c,
1551         _dl_printf, _dl_error_printf, and _dl_fatal_printf.
1552         * elf/dl-close.c: Replace use of old output functions with the new
1553         ones.
1554         * elf/dl-deps.c: Likewise.
1555         * elf/dl-error.c: Likewise.
1556         * elf/dl-fini.c: Likewise.
1557         * elf/dl-init.c: Likewise.
1558         * elf/dl-load.c: Likewise.
1559         * elf/dl-lookup.c: Likewise.
1560         * elf/dl-minimal.c: Likewise.
1561         * elf/dl-open.c: Likewise.
1562         * elf/dl-profile.c: Likewise.
1563         * elf/dl-reloc.c: Likewise.
1564         * elf/dl-version.c: Likewise.
1565         * elf/do-lookup.h: Likewise.
1566         * elf/rtld.c: Likewise.
1567         * sysdeps/generic/dl-cache.c: Likewise.
1568         * sysdeps/generic/dl-sysdep.c: Likewise.
1569         * sysdeps/generic/libc-start.c: Likewise.
1570         * sysdeps/i386/dl-machine.h: Likewise.
1571         * sysdeps/arm/dl-machine.h: Likewise.
1572         * sysdeps/hppa/dl-machine.h: Likewise.
1573         * sysdeps/m68k/dl-machine.h: Likewise.
1574         * sysdeps/powerpc/dl-machine.h: Likewise.
1575         * sysdeps/s390/dl-machine.h: Likewise.
1576         * sysdeps/sh/dl-machine.h: Likewise.
1577         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
1578         * sysdeps/unix/sysv/linux/i386/dl-librecon.h: Likewise.
1579         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
1581         * sysdeps/generic/ldsodefs.h: Remove _dl_secure declaration.
1583         * dlfcn/Makefile: Don't run tstatexit test unless .hidden is
1584         supported by assembler.
1586         * sysdeps/generic/ldsodefs.h: Remove commented-out variable
1587         declaractions.
1589         * elf/rtld.c: Little optimizations in handling _dl_lazy.
1591         * elf/cache.c (save_cache): Portability changes.
1592         * elf/dl-profile.c (_dl_start_profile): Likewise.
1594         * elf/sln.c: Cleanups.  Remove arbitrary limits.
1596         * elf/dl-close.c: Replace _dl_debug_* variables with _dl_debug_mask.
1597         * elf/dl-deps.c: Likewise.
1598         * elf/dl-fini.c: Likewise.
1599         * elf/dl-init.c: Likewise.
1600         * elf/dl-load.c: Likewise.
1601         * elf/dl-lookup.c: Likewise.
1602         * elf/dl-open.c: Likewise.
1603         * elf/dl-reloc.c: Likewise.
1604         * elf/dl-support.c: Likewise.
1605         * elf/dl-version.c: Likewise.
1606         * elf/do-lookup.h: Likewise.
1607         * elf/rtld.c: Likewise.
1608         * sysdeps/generic/dl-cache.c: Likewise.
1609         * sysdeps/generic/ldsodefs.h: Likewise.
1610         * sysdeps/generic/libc-start.c: Likewise.
1611         * elf/Versions: Don't export _dl_debug_impcalls and _dl_debug_files.
1612         Export _dl_debug_mask.
1613         * Versions.def: Define GLIBC_2.2.3 for ld.
1615 2001-02-26  Greg McGary  <greg@mcgary.org>
1617         * sysdeps/unix/make-syscalls.sh (ptr): Handle `V' keyletter.
1619 2001-02-26  Paul Eggert  <eggert@twinsun.com>
1621         Modify mkstemp.c and tempname.c so that they can be used by
1622         GNU applications on non-glibc platforms.
1624         * misc/mkstemp.c (__GT_FILE): Define to zero if not defined.
1626         * sysdeps/posix/tempname.c: Include <config.h> if HAVE_CONFIG_H.
1627         Include <stddef.h>, <stdint.h>, <string.h> only if
1628         STDC_HEADERS || _LIBC.
1629         Include <fcntl.h> only if HAVE_FCNTL_H || _LIBC.
1630         Include <unistd.h> only if HAVE_UNISTD_H || _LIBC.
1631         Include <sys/time.h> only if HAVE_SYS_TIME_H || _LIBC.
1632         (__set_errno): Define this macro if <errno.h> doesn't.
1633         (P_tmpdir, TMP_MAX, __GT_FILE, __GT_BIGFILE, __GT_DIR, __GT_NOCREATE):
1634         Define these macros if <stdio.h> doesn't.
1635         (S_ISDIR, S_IRUSR, S_IWUSR, S_IXUSR):
1636         Define these macros if <sys/stat.h> doesn't.
1637         Ignore <sys/stat.h> S_ISDIR if STAT_MACROS_BROKEN.
1638         (stat64, __getpid, __gettimeofday, __mkdir, __open, __open64,
1639         lxstat64, __xstat64): Define if not _LIBC.
1640         (struct_stat64): New macro.
1641         (direxists, __gen_tempname): Use it, to avoid a
1642         portability problem with Solaris 8.
1643         (__secure_getenv): Define if ! (HAVE___SECURE_GETENV || _LIBC).
1644         (__gen_tempname): Invoke gettimeofday only if
1645         HAVE_GETTIMEOFDAY || _LIBC; otherwise, fall back on plain "time".
1646         Use portable macros like S_IRUSR | S_IWUSR rather than nonportable
1647         octal values like 0600.
1649 2001-02-26  Ulrich Drepper  <drepper@redhat.com>
1651         * sysdeps/ieee754/ldbl-96/e_jnl.c: New file.
1652         Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>.
1654         * sysdeps/i386/fpu/libm-test-ulps: Update for jnl and ynl introduction.
1655         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
1657         * posix/wordexp-test.c (testit): Remove warnings.
1659         * dlfcn/Makefile (distribute): Add modatexit.c and modcxaatexit.c.
1660         (tests): Add tstatexit and tstcxaatexit.
1661         (module-names): Add modatexit and modcxaatexit.
1662         Add rules to build and run tstatexit and tstcxaatexit.
1663         * dlfcn/modatexit.c: New file.
1664         * dlfcn/modcxaatexit.c: New file.
1665         * dlfcn/tstatexit.c: New file.
1666         * dlfcn/tstcxaatexit.c: New file.
1668         * io/Makefile: Pass -DHAVE_DOT_HIDDEN to stat and mknod functions if
1669         .hidden is available.
1670         * io/stat.c: If .hidden is available use it to avoid exporting
1671         functions.
1672         * io/fstat.c: Likewise.
1673         * io/lstat.c: Likewise.
1674         * io/stat64.c: Likewise.
1675         * io/fstat64.c: Likewise.
1676         * io/lstat64.c: Likewise.
1677         * sysdeps/generic/mknod.c: Likewise.
1679         * malloc/mtrace.c: Use __cxa_atexit and not atexit.
1680         * sysdeps/generic/bb_init_func.c: Likewise.
1681         * sysdeps/generic/libc-start.c: Likewise.
1683         * stdlib/atexit.c (__new_exitfn): Move to cxa_atexit.c.
1684         (atexit): Implement using __cxa_atexit.
1685         Use .hidden if availble to avoid exporting atexit.
1686         * stdlib/cxa_atexit.c (__new_exitfn): Moved to here from atexit.c.
1687         * stdlib/Versions: Export __new_exitfn for GLIBC_2.2.3.
1688         * stdlib/Makefile (routines): Add old_atexit.
1689         (static-only-routines): Add atexit.
1690         Pass -DHAVE_DOT_HIDDEN for atexit.c if .hidden is available.
1691         * stdlib/old_atexit.c: New file.
1693         * intl/Makefile: Remove bogus endif.
1695 2001-02-26  Andreas Jaeger  <aj@suse.de>
1697         * iconvdata/Makefile (tests): Fix typo in last patch.
1699         * intl/Makefile (tests): Run mtrace-tst-gettext only when perl is
1700         available.
1701         Reported by Achim Gottinger <achim@gentoo.org>.
1703 2001-02-25  Andreas Jaeger  <aj@suse.de>
1705         * intl/Makefile (plural.c): Reorder rules so that they work if
1706         BISON doesn't exist.
1708 2001-02-25  Ulrich Drepper  <drepper@redhat.com>
1710         * intl/locale.alias: Don't use nb_NO but define aliases for it.
1712 2001-02-23  Ulrich Drepper  <drepper@redhat.com>
1714         * sysdeps/i386/strtok.S: Continue to return NULL after the first
1715         time this happened.
1717 2001-02-23  Andreas Jaeger  <aj@suse.de>
1719         * string/tester.c (test_strtok_r): Add testcase.
1720         (test_strtok_r): Always initialize cp for proper checking.
1722         * sysdeps/generic/strtok.c (strtok): Handle case of first strtok
1723         returning NULL correctly.
1724         Patch by Fumitoshi UKAI <ukai@debian.or.jp>.
1725         * sysdeps/generic/strtok_r.c (__strtok_r): Likewise.
1727 2001-02-23  Ulrich Drepper  <drepper@redhat.com>
1729         * sysdeps/unix/sysv/aix/bits/types.h: Define __need_NULL before
1730         including <stddef.h>.
1731         * sysdeps/unix/sysv/aix/write.c: Define alias __libc_write.
1732         * include/libc-symbols.h (weak_alias): Don't use .weak if
1733         HAVE_ASM_GLOBAL_DOT_NAME is defined.
1734         Patches by Michael Keezer <mkeezer@redhat.com>.
1736         * sysdeps/generic/ftime.c: Don't include <sys/time.h> at all.
1737         Patch by Michael Keezer <mkeezer@redhat.com>.
1739         * sysdeps/unix/sysv/aix/Dist: Remove restf.S and savef.S.
1740         * sysdeps/unix/sysv/aix/Makefile [$(subdir) == misc]
1741         (sysdep_routines): Remove restf.S and savef.S.
1742         * sysdeps/unix/sysv/aix/restf.S. Removed.
1743         * sysdeps/unix/sysv/aix/savef.S. Removed.
1744         * sysdeps/powerpc/fprrest.S: Use C_TEXT to define label.  Also define
1745         alternative names used on some platforms.
1746         * sysdeps/powerpc/fprsave.S: Likewise.
1747         * sysdeps/powerpc/gprrest0.S: Likewise.
1748         * sysdeps/powerpc/gprrest1.S: Likewise.
1749         * sysdeps/powerpc/gprsave0.S: Likewise.
1750         * sysdeps/powerpc/gprsave1.S: Likewise.
1751         Patch by Michael Keezer <mkeezer@redhat.com>.
1753 2001-02-22  Ulrich Drepper  <drepper@redhat.com>
1755         * sysdeps/i386/elf/start.S (_fp_hw): Actually define label.
1757 2001-02-22  Andreas Jaeger  <aj@suse.de>
1759         * string/tst-strtok.c (main): Fix error messages.
1761 2001-02-22  Andreas Jaeger  <aj@suse.de>
1763         * math/Makefile: Remove omit-long-double-fcts.
1765 2001-02-18  Maciej W. Rozycki  <macro@ds2.pg.gda.pl>
1767         * sysdeps/mips/bsd-_setjmp.S (_setjmp): Reorder instructions to
1768         avoid problems on MIPS I.
1769         * sysdeps/mips/bsd-setjmp.S (setjmp): Likewise.
1771         * sysdeps/mips/dl-machine.h (RTLD_START): Remove duplicate ".set
1772         noreorder".
1774 2001-02-21  Ulrich Drepper  <drepper@redhat.com>
1776         * posix/fnmatch_loop.c: Handle ranges outside glibc correctly.
1778         * sysdeps/generic/ftime.c: Include <time.h>.
1780         * configure.in: Don't check for libgd if user passed --without-gd.
1781         Patch by Achim Gottinger <achim@gentoo.org>.
1783         * sysdeps/i386/i686/strtok.S: Continue to return NULL after the
1784         first time this happened.
1785         * string/Makefile (tests): Add tst-strtok.
1787 2001-02-21  Andreas Jaeger  <aj@suse.de>
1789         * string/tst-strtok.c: New testcase, reported by
1790         Andrew Church <achurch@achurch.org>.
1792 2001-02-20  Ulrich Drepper  <drepper@redhat.com>
1794         * libio/iofwide.c: Remove fwide alias.
1796 2001-02-20  Andreas Jaeger  <aj@suse.de>
1798         * iconvdata/Makefile (tests): Only run mtrace-tst-loading if perl
1799         is available.
1800         Reported by Achim Gottinger <achim@gentoo.org>.
1802 2001-02-19  Ulrich Drepper  <drepper@redhat.com>
1804         * iconv/tst-iconv1.c (main): Remove debugging code.
1806         * sysdeps/ieee754/flt-32/e_powf.c: Handle x == +-1 correctly.
1807         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
1809         * sysdeps/generic/e_scalb.c: Set invalid exception for invalid
1810         parameters.
1811         * sysdeps/generic/e_scalbf.c: Likewise.
1812         * sysdeps/generic/e_scalbl.c: Likewise.
1814         * sysdeps/ia64/fpu/Makefile (libm-sysdep-routines): Add libm_error,
1815         libm_frexp4, libm_frexp4f, libm_frexp4l, and all the functions also
1816         in libc.
1817         (routines): Replace libm_error with libc_libm_error.
1818         * sysdeps/ia64/fpu/Dist: Add libc_libm_error.c.
1819         * sysdeps/ia64/fpu/libc_libm_error.c: New file.
1821 2001-02-18  Mark Kettenis  <kettenis@gnu.org>
1823         * malloc/mtrace.c [USE_IN_LIBIO]: Define fopen as _IO_fopen64.
1824         (mtrace): Revert 2001-02-13 patch: use fopen instead of fopen64.
1826 2001-02-17  H.J. Lu  <hjl@gnu.org>
1828         * sysdeps/unix/sysv/linux/ia64/clone2.S: Use clone2 and don't use
1829         scratch registers across the system call.
1831 2001-02-19  Andreas Jaeger  <aj@suse.de>
1833         * malloc/Makefile (tests): Run mtrace only when perl is available.
1834         Reported by Achim Gottinger <achim@gentoo.org>.
1836 2001-02-19  Ulrich Drepper  <drepper@redhat.com>
1838         * sysdeps/ieee754/ldbl-96/e_j1l.c: New file.
1839         Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>.
1841         * sysdeps/i386/fpu/libm-test-ulps: Adjust error values for j1 and y1.
1842         * sysdeps/ia64/fpu/libm-test-ulps: Adjust error values for y1.
1843         * math/libm-test.inc (j1_test): Mark constants as long double.
1844         (jn_test): Likewise.
1845         (y1_test): Likewise.
1846         (yn_test): Likewise.
1848         * libio/iogetline.c: Move return until after last statement.
1850         * localedata/show-ucs-data.c: Don't show < > for better readability.
1852         * sysdeps/ia64/fpu/Dist: New file.
1853         * sysdeps/ia64/fpu/Makefile: New file.
1854         * sysdeps/ia64/fpu/Versions: New file.
1855         * sysdeps/ia64/fpu/e_acos.S: New file.
1856         * sysdeps/ia64/fpu/e_acosf.S: New file.
1857         * sysdeps/ia64/fpu/e_acosl.S: New file.
1858         * sysdeps/ia64/fpu/e_asin.S: New file.
1859         * sysdeps/ia64/fpu/e_asinf.S: New file.
1860         * sysdeps/ia64/fpu/e_asinl.S: New file.
1861         * sysdeps/ia64/fpu/e_atan2.S: New file.
1862         * sysdeps/ia64/fpu/e_atan2f.S: New file.
1863         * sysdeps/ia64/fpu/e_atan2l.c: New file.
1864         * sysdeps/ia64/fpu/e_cosh.S: New file.
1865         * sysdeps/ia64/fpu/e_coshf.S: New file.
1866         * sysdeps/ia64/fpu/e_coshl.S: New file.
1867         * sysdeps/ia64/fpu/e_exp.S: New file.
1868         * sysdeps/ia64/fpu/e_expf.S: New file.
1869         * sysdeps/ia64/fpu/e_expl.c: New file.
1870         * sysdeps/ia64/fpu/e_fmod.S: New file.
1871         * sysdeps/ia64/fpu/e_fmodf.S: New file.
1872         * sysdeps/ia64/fpu/e_fmodl.S: New file.
1873         * sysdeps/ia64/fpu/e_hypot.S: New file.
1874         * sysdeps/ia64/fpu/e_hypotf.S: New file.
1875         * sysdeps/ia64/fpu/e_hypotl.S: New file.
1876         * sysdeps/ia64/fpu/e_log.S: New file.
1877         * sysdeps/ia64/fpu/e_log10.c: New file.
1878         * sysdeps/ia64/fpu/e_log10f.c: New file.
1879         * sysdeps/ia64/fpu/e_log10l.c: New file.
1880         * sysdeps/ia64/fpu/e_logf.S: New file.
1881         * sysdeps/ia64/fpu/e_logl.c: New file.
1882         * sysdeps/ia64/fpu/e_pow.S: New file.
1883         * sysdeps/ia64/fpu/e_powf.S: New file.
1884         * sysdeps/ia64/fpu/e_powl.S: New file.
1885         * sysdeps/ia64/fpu/e_rem_pio2.c: New file.
1886         * sysdeps/ia64/fpu/e_rem_pio2f.c: New file.
1887         * sysdeps/ia64/fpu/e_remainder.S: New file.
1888         * sysdeps/ia64/fpu/e_remainderf.S: New file.
1889         * sysdeps/ia64/fpu/e_remainderl.S: New file.
1890         * sysdeps/ia64/fpu/e_scalb.S: New file.
1891         * sysdeps/ia64/fpu/e_scalbf.S: New file.
1892         * sysdeps/ia64/fpu/e_scalbl.S: New file.
1893         * sysdeps/ia64/fpu/e_sinh.S: New file.
1894         * sysdeps/ia64/fpu/e_sinhf.S: New file.
1895         * sysdeps/ia64/fpu/e_sinhl.S: New file.
1896         * sysdeps/ia64/fpu/e_sqrt.S: New file.
1897         * sysdeps/ia64/fpu/e_sqrtf.S: New file.
1898         * sysdeps/ia64/fpu/e_sqrtl.S: New file.
1899         * sysdeps/ia64/fpu/k_rem_pio2.c: New file.
1900         * sysdeps/ia64/fpu/k_rem_pio2f.c: New file.
1901         * sysdeps/ia64/fpu/k_rem_pio2l.c: New file.
1902         * sysdeps/ia64/fpu/libm_atan2_reg.S: New file.
1903         * sysdeps/ia64/fpu/libm_error.c: New file.
1904         * sysdeps/ia64/fpu/libm_frexp4.S: New file.
1905         * sysdeps/ia64/fpu/libm_frexp4f.S: New file.
1906         * sysdeps/ia64/fpu/libm_frexp4l.S: New file.
1907         * sysdeps/ia64/fpu/libm_reduce.S: New file.
1908         * sysdeps/ia64/fpu/libm_support.h: New file.
1909         * sysdeps/ia64/fpu/libm_tan.S: New file.
1910         * sysdeps/ia64/fpu/s_atan.S: New file.
1911         * sysdeps/ia64/fpu/s_atanf.S: New file.
1912         * sysdeps/ia64/fpu/s_atanl.S: New file.
1913         * sysdeps/ia64/fpu/s_cbrt.S: New file.
1914         * sysdeps/ia64/fpu/s_cbrtf.S: New file.
1915         * sysdeps/ia64/fpu/s_cbrtl.S: New file.
1916         * sysdeps/ia64/fpu/s_ceil.S: New file.
1917         * sysdeps/ia64/fpu/s_ceilf.S: New file.
1918         * sysdeps/ia64/fpu/s_ceill.S: New file.
1919         * sysdeps/ia64/fpu/s_cos.S: New file.
1920         * sysdeps/ia64/fpu/s_cosf.S: New file.
1921         * sysdeps/ia64/fpu/s_cosl.S: New file.
1922         * sysdeps/ia64/fpu/s_expm1.S: New file.
1923         * sysdeps/ia64/fpu/s_expm1f.S: New file.
1924         * sysdeps/ia64/fpu/s_expm1l.S: New file.
1925         * sysdeps/ia64/fpu/s_floor.S: New file.
1926         * sysdeps/ia64/fpu/s_floorf.S: New file.
1927         * sysdeps/ia64/fpu/s_floorl.S: New file.
1928         * sysdeps/ia64/fpu/s_frexp.c: New file.
1929         * sysdeps/ia64/fpu/s_frexpf.c: New file.
1930         * sysdeps/ia64/fpu/s_frexpl.c: New file.
1931         * sysdeps/ia64/fpu/s_ilogb.S: New file.
1932         * sysdeps/ia64/fpu/s_ilogbf.S: New file.
1933         * sysdeps/ia64/fpu/s_ilogbl.S: New file.
1934         * sysdeps/ia64/fpu/s_ldexp.S: New file.
1935         * sysdeps/ia64/fpu/s_ldexpf.S: New file.
1936         * sysdeps/ia64/fpu/s_ldexpl.S: New file.
1937         * sysdeps/ia64/fpu/s_log1p.S: New file.
1938         * sysdeps/ia64/fpu/s_log1pf.S: New file.
1939         * sysdeps/ia64/fpu/s_log1pl.S: New file.
1940         * sysdeps/ia64/fpu/s_logb.S: New file.
1941         * sysdeps/ia64/fpu/s_logbf.S: New file.
1942         * sysdeps/ia64/fpu/s_logbl.S: New file.
1943         * sysdeps/ia64/fpu/s_matherrf.c: New file.
1944         * sysdeps/ia64/fpu/s_matherrl.c: New file.
1945         * sysdeps/ia64/fpu/s_modf.S: New file.
1946         * sysdeps/ia64/fpu/s_modff.S: New file.
1947         * sysdeps/ia64/fpu/s_modfl.S: New file.
1948         * sysdeps/ia64/fpu/s_nearbyint.S: New file.
1949         * sysdeps/ia64/fpu/s_nearbyintf.S: New file.
1950         * sysdeps/ia64/fpu/s_nearbyintl.S: New file.
1951         * sysdeps/ia64/fpu/s_rint.S: New file.
1952         * sysdeps/ia64/fpu/s_rintf.S: New file.
1953         * sysdeps/ia64/fpu/s_rintl.S: New file.
1954         * sysdeps/ia64/fpu/s_round.S: New file.
1955         * sysdeps/ia64/fpu/s_roundf.S: New file.
1956         * sysdeps/ia64/fpu/s_roundl.S: New file.
1957         * sysdeps/ia64/fpu/s_scalbn.S: New file.
1958         * sysdeps/ia64/fpu/s_scalbnf.S: New file.
1959         * sysdeps/ia64/fpu/s_scalbnl.S: New file.
1960         * sysdeps/ia64/fpu/s_significand.S: New file.
1961         * sysdeps/ia64/fpu/s_significandf.S: New file.
1962         * sysdeps/ia64/fpu/s_significandl.S: New file.
1963         * sysdeps/ia64/fpu/s_sin.c: New file.
1964         * sysdeps/ia64/fpu/s_sincos.c: New file.
1965         * sysdeps/ia64/fpu/s_sincosf.c: New file.
1966         * sysdeps/ia64/fpu/s_sincosl.c: New file.
1967         * sysdeps/ia64/fpu/s_sinf.c: New file.
1968         * sysdeps/ia64/fpu/s_sinl.c: New file.
1969         * sysdeps/ia64/fpu/s_tan.S: New file.
1970         * sysdeps/ia64/fpu/s_tanf.S: New file.
1971         * sysdeps/ia64/fpu/s_tanl.S: New file.
1972         * sysdeps/ia64/fpu/s_trunc.S: New file.
1973         * sysdeps/ia64/fpu/s_truncf.S: New file.
1974         * sysdeps/ia64/fpu/s_truncl.S: New file.
1975         * sysdeps/ia64/fpu/w_acos.c: New file.
1976         * sysdeps/ia64/fpu/w_acosf.c: New file.
1977         * sysdeps/ia64/fpu/w_acosl.c: New file.
1978         * sysdeps/ia64/fpu/w_asin.c: New file.
1979         * sysdeps/ia64/fpu/w_asinf.c: New file.
1980         * sysdeps/ia64/fpu/w_asinl.c: New file.
1981         * sysdeps/ia64/fpu/w_atan2.c: New file.
1982         * sysdeps/ia64/fpu/w_atan2f.c: New file.
1983         * sysdeps/ia64/fpu/w_atan2l.c: New file.
1984         * sysdeps/ia64/fpu/w_cosh.c: New file.
1985         * sysdeps/ia64/fpu/w_coshf.c: New file.
1986         * sysdeps/ia64/fpu/w_coshl.c: New file.
1987         * sysdeps/ia64/fpu/w_exp.c: New file.
1988         * sysdeps/ia64/fpu/w_expf.c: New file.
1989         * sysdeps/ia64/fpu/w_fmod.c: New file.
1990         * sysdeps/ia64/fpu/w_fmodf.c: New file.
1991         * sysdeps/ia64/fpu/w_fmodl.c: New file.
1992         * sysdeps/ia64/fpu/w_hypot.c: New file.
1993         * sysdeps/ia64/fpu/w_hypotf.c: New file.
1994         * sysdeps/ia64/fpu/w_hypotl.c: New file.
1995         * sysdeps/ia64/fpu/w_log.c: New file.
1996         * sysdeps/ia64/fpu/w_log10.c: New file.
1997         * sysdeps/ia64/fpu/w_log10f.c: New file.
1998         * sysdeps/ia64/fpu/w_log10l.c: New file.
1999         * sysdeps/ia64/fpu/w_logf.c: New file.
2000         * sysdeps/ia64/fpu/w_logl.c: New file.
2001         * sysdeps/ia64/fpu/w_pow.c: New file.
2002         * sysdeps/ia64/fpu/w_powf.c: New file.
2003         * sysdeps/ia64/fpu/w_powl.c: New file.
2004         * sysdeps/ia64/fpu/w_remainder.c: New file.
2005         * sysdeps/ia64/fpu/w_remainderf.c: New file.
2006         * sysdeps/ia64/fpu/w_remainderl.c: New file.
2007         * sysdeps/ia64/fpu/w_scalb.c: New file.
2008         * sysdeps/ia64/fpu/w_scalbf.c: New file.
2009         * sysdeps/ia64/fpu/w_scalbl.c: New file.
2010         * sysdeps/ia64/fpu/w_sqrt.c: New file.
2011         * sysdeps/ia64/fpu/w_sqrtf.c: New file.
2012         * sysdeps/ia64/fpu/w_sqrtl.c: New file.
2013         * sysdeps/ia64/fpu/libm-test-ulps: Adjust for long double
2014         implementation.
2015         * sysdeps/ia64/fpu/bits/mathdef.h: Correct float_t and double_t types.
2016         Change FP_ILOGBNAN for new implementation.
2017         * Verions.def: Add 2.2.3 versions.
2019 2001-02-18  Ulrich Drepper  <drepper@redhat.com>
2021         * math/libm-test.inc (scalb_test): Require invalid exception being
2022         raised for invalid parameters.
2023         * sysdeps/i386/fpu/e_scalb.S: Raise invalid exception if necessary.
2024         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
2025         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
2027 2001-02-18  Mark Kettenis  <kettenis@gnu.org>
2029         * sysdeps/mach/getsysstats.c (__get_phys_pages): Change return
2030         value to long int.
2031         (__get_avphys_pages): Likewise.
2033 2001-02-18  Ulrich Drepper  <drepper@redhat.com>
2035         * math/libm-test.inc (pow_test): Correct expected results for x == +-1.
2036         * sysdeps/i386/fpu/e_pow.S: Handle x == +-1 correctly.
2037         * sysdeps/i386/fpu/e_powf.S: Likewise.
2038         * sysdeps/i386/fpu/e_powl.S: Likewise.
2040         * sysdeps/i386/fpu/bits/mathinline.h: Remove pow inline code.
2042 2001-02-17  Ulrich Drepper  <drepper@redhat.com>
2044         * math/Makefile (libm-calls): It's e_exp2 not s_exp2.
2046         * sysdeps/generic/s_exp2l.c: Renamed to...
2047         * sysdeps/generic/e_exp2l.c: ...this.   New file.
2048         * sysdeps/i386/fpu/s_exp2.S: Renamed to...
2049         * sysdeps/i386/fpu/e_exp2.S: ...this.   New file.
2050         * sysdeps/i386/fpu/s_exp2f.S: Renamed to...
2051         * sysdeps/i386/fpu/e_exp2f.S: ...this.   New file.
2052         * sysdeps/i386/fpu/s_exp2l.S: Renamed to...
2053         * sysdeps/i386/fpu/e_exp2l.S: ...this.   New file.
2054         * sysdeps/ieee754/flt-32/s_exp2f.c: Renamed to...
2055         * sysdeps/ieee754/flt-32/e_exp2f.c: ...this.   New file.
2056         * sysdeps/ieee754/dbl-64/s_exp2.c: Renamed to...
2057         * sysdeps/ieee754/dbl-64/e_exp2.c: ...this.   New file.
2058         * sysdeps/m68k/fpu/s_exp2.c: Renamed to...
2059         * sysdeps/m68k/fpu/e_exp2.c: ...this.   New file.
2060         * sysdeps/m68k/fpu/s_exp2f.c: Renamed to...
2061         * sysdeps/m68k/fpu/e_exp2f.c: ...this.   New file.
2062         * sysdeps/m68k/fpu/s_exp2l.c: Renamed to...
2063         * sysdeps/m68k/fpu/e_exp2l.c: ...this.   New file.
2065 2001-02-17  Andreas Jaeger  <aj@suse.de>
2067         * configure.in: Allow gcc 3.
2069 2001-02-16  Ulrich Drepper  <drepper@redhat.com>
2071         * math/w_acos.c: Move to ...
2072         * sysdeps/generic/w_acos.c: ...here.  New file.
2073         * math/w_acosf.c: Move to ...
2074         * sysdeps/generic/w_acosf.c: ...here.  New file.
2075         * math/w_acosh.c: Move to ...
2076         * sysdeps/generic/w_acosh.c: ...here.  New file.
2077         * math/w_acoshf.c: Move to ...
2078         * sysdeps/generic/w_acoshf.c: ...here.  New file.
2079         * math/w_acoshl.c: Move to ...
2080         * sysdeps/generic/w_acoshl.c: ...here.  New file.
2081         * math/w_acosl.c: Move to ...
2082         * sysdeps/generic/w_acosl.c: ...here.  New file.
2083         * math/w_asin.c: Move to ...
2084         * sysdeps/generic/w_asin.c: ...here.  New file.
2085         * math/w_asinf.c: Move to ...
2086         * sysdeps/generic/w_asinf.c: ...here.  New file.
2087         * math/w_asinl.c: Move to ...
2088         * sysdeps/generic/w_asinl.c: ...here.  New file.
2089         * math/w_atan2.c: Move to ...
2090         * sysdeps/generic/w_atan2.c: ...here.  New file.
2091         * math/w_atan2f.c: Move to ...
2092         * sysdeps/generic/w_atan2f.c: ...here.  New file.
2093         * math/w_atan2l.c: Move to ...
2094         * sysdeps/generic/w_atan2l.c: ...here.  New file.
2095         * math/w_atanh.c: Move to ...
2096         * sysdeps/generic/w_atanh.c: ...here.  New file.
2097         * math/w_atanhf.c: Move to ...
2098         * sysdeps/generic/w_atanhf.c: ...here.  New file.
2099         * math/w_atanhl.c: Move to ...
2100         * sysdeps/generic/w_atanhl.c: ...here.  New file.
2101         * math/w_cosh.c: Move to ...
2102         * sysdeps/generic/w_cosh.c: ...here.  New file.
2103         * math/w_coshf.c: Move to ...
2104         * sysdeps/generic/w_coshf.c: ...here.  New file.
2105         * math/w_coshl.c: Move to ...
2106         * sysdeps/generic/w_coshl.c: ...here.  New file.
2107         * math/w_drem.c: Move to ...
2108         * sysdeps/generic/w_drem.c: ...here.  New file.
2109         * math/w_dremf.c: Move to ...
2110         * sysdeps/generic/w_dremf.c: ...here.  New file.
2111         * math/w_dreml.c: Move to ...
2112         * sysdeps/generic/w_dreml.c: ...here.  New file.
2113         * math/w_exp10.c: Move to ...
2114         * sysdeps/generic/w_exp10.c: ...here.  New file.
2115         * math/w_exp10f.c: Move to ...
2116         * sysdeps/generic/w_exp10f.c: ...here.  New file.
2117         * math/w_exp10l.c: Move to ...
2118         * sysdeps/generic/w_exp10l.c: ...here.  New file.
2119         * math/w_exp2.c: Move to ...
2120         * sysdeps/generic/w_exp2.c: ...here.  New file.
2121         * math/w_exp2f.c: Move to ...
2122         * sysdeps/generic/w_exp2f.c: ...here.  New file.
2123         * math/w_exp2l.c: Move to ...
2124         * sysdeps/generic/w_exp2l.c: ...here.  New file.
2125         * math/w_fmod.c: Move to ...
2126         * sysdeps/generic/w_fmod.c: ...here.  New file.
2127         * math/w_fmodf.c: Move to ...
2128         * sysdeps/generic/w_fmodf.c: ...here.  New file.
2129         * math/w_fmodl.c: Move to ...
2130         * sysdeps/generic/w_fmodl.c: ...here.  New file.
2131         * math/w_hypot.c: Move to ...
2132         * sysdeps/generic/w_hypot.c: ...here.  New file.
2133         * math/w_hypotf.c: Move to ...
2134         * sysdeps/generic/w_hypotf.c: ...here.  New file.
2135         * math/w_hypotl.c: Move to ...
2136         * sysdeps/generic/w_hypotl.c: ...here.  New file.
2137         * math/w_j0.c: Move to ...
2138         * sysdeps/generic/w_j0.c: ...here.  New file.
2139         * math/w_j0f.c: Move to ...
2140         * sysdeps/generic/w_j0f.c: ...here.  New file.
2141         * math/w_j0l.c: Move to ...
2142         * sysdeps/generic/w_j0l.c: ...here.  New file.
2143         * math/w_j1.c: Move to ...
2144         * sysdeps/generic/w_j1.c: ...here.  New file.
2145         * math/w_j1f.c: Move to ...
2146         * sysdeps/generic/w_j1f.c: ...here.  New file.
2147         * math/w_j1l.c: Move to ...
2148         * sysdeps/generic/w_j1l.c: ...here.  New file.
2149         * math/w_jn.c: Move to ...
2150         * sysdeps/generic/w_jn.c: ...here.  New file.
2151         * math/w_jnf.c: Move to ...
2152         * sysdeps/generic/w_jnf.c: ...here.  New file.
2153         * math/w_jnl.c: Move to ...
2154         * sysdeps/generic/w_jnl.c: ...here.  New file.
2155         * math/w_lgamma.c: Move to ...
2156         * sysdeps/generic/w_lgamma.c: ...here.  New file.
2157         * math/w_lgammaf.c: Move to ...
2158         * sysdeps/generic/w_lgammaf.c: ...here.  New file.
2159         * math/w_lgammaf_r.c: Move to ...
2160         * sysdeps/generic/w_lgammaf_r.c: ...here.  New file.
2161         * math/w_lgammal.c: Move to ...
2162         * sysdeps/generic/w_lgammal.c: ...here.  New file.
2163         * math/w_lgammal_r.c: Move to ...
2164         * sysdeps/generic/w_lgammal_r.c: ...here.  New file.
2165         * math/w_lgamma_r.c: Move to ...
2166         * sysdeps/generic/w_lgamma_r.c: ...here.  New file.
2167         * math/w_log10.c: Move to ...
2168         * sysdeps/generic/w_log10.c: ...here.  New file.
2169         * math/w_log10f.c: Move to ...
2170         * sysdeps/generic/w_log10f.c: ...here.  New file.
2171         * math/w_log10l.c: Move to ...
2172         * sysdeps/generic/w_log10l.c: ...here.  New file.
2173         * math/w_log.c: Move to ...
2174         * sysdeps/generic/w_log.c: ...here.  New file.
2175         * math/w_logf.c: Move to ...
2176         * sysdeps/generic/w_logf.c: ...here.  New file.
2177         * math/w_logl.c: Move to ...
2178         * sysdeps/generic/w_logl.c: ...here.  New file.
2179         * math/w_pow.c: Move to ...
2180         * sysdeps/generic/w_pow.c: ...here.  New file.
2181         * math/w_powf.c: Move to ...
2182         * sysdeps/generic/w_powf.c: ...here.  New file.
2183         * math/w_powl.c: Move to ...
2184         * sysdeps/generic/w_powl.c: ...here.  New file.
2185         * math/w_remainder.c: Move to ...
2186         * sysdeps/generic/w_remainder.c: ...here.  New file.
2187         * math/w_remainderf.c: Move to ...
2188         * sysdeps/generic/w_remainderf.c: ...here.  New file.
2189         * math/w_remainderl.c: Move to ...
2190         * sysdeps/generic/w_remainderl.c: ...here.  New file.
2191         * math/w_scalb.c: Move to ...
2192         * sysdeps/generic/w_scalb.c: ...here.  New file.
2193         * math/w_scalbf.c: Move to ...
2194         * sysdeps/generic/w_scalbf.c: ...here.  New file.
2195         * math/w_scalbl.c: Move to ...
2196         * sysdeps/generic/w_scalbl.c: ...here.  New file.
2197         * math/w_sinh.c: Move to ...
2198         * sysdeps/generic/w_sinh.c: ...here.  New file.
2199         * math/w_sinhf.c: Move to ...
2200         * sysdeps/generic/w_sinhf.c: ...here.  New file.
2201         * math/w_sinhl.c: Move to ...
2202         * sysdeps/generic/w_sinhl.c: ...here.  New file.
2203         * math/w_sqrtl.c: Move to ...
2204         * sysdeps/generic/w_sqrtl.c: ...here.  New file.
2205         * math/w_tgamma.c: Move to ...
2206         * sysdeps/generic/w_tgamma.c: ...here.  New file.
2207         * math/w_tgammaf.c: Move to ...
2208         * sysdeps/generic/w_tgammaf.c: ...here.  New file.
2209         * math/w_tgammal.c: Move to ...
2210         * sysdeps/generic/w_tgammal.c: ...here.  New file.
2212         * locale/programs/ld-address.c (address_finish): Add 'S' to allow
2213         formats for postal_fmt.
2215 2001-02-16  Jakub Jelinek  <jakub@redhat.com>
2217         * sysdeps/unix/sysv/linux/alpha/syscalls.list (ftruncate): Add
2218         __ftruncate64 alias.
2219         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (ftruncate):
2220         Likewise.
2222 2001-02-15  David Mosberger  <davidm@hpl.hp.com>
2224         * sysdeps/unix/sysv/linux/ia64/__longjmp.S (__longjmp): No need to
2225         do "loadrs".  Writing to bspstore already takes care of
2226         invalidating the "clean" partition.
2228 2001-02-16  Andreas Schwab  <schwab@suse.de>
2230         * sysdeps/m68k/fpu/s_nextafterl.c: New file.
2231         * sysdeps/m68k/fpu/s_fpclassifyl.c: New file.
2233 2001-02-15  Jakub Jelinek  <jakub@redhat.com>
2235         * posix/regex.c (init_syntax_once): Add prototype.
2236         (TRANSLATE): If MBS_SUPPORT, translate all characters up to '\xff'.
2237         (re_search_2): Avoid warning.
2238         (count_mbs_length): Add prototype.
2239         * posix/tst-regex3.c: New file.
2240         * posix/Makefile (tests): Add bug-regex3.
2242 2001-02-15  Ulrich Drepper  <drepper@redhat.com>
2244         * stdio-common/Makefile (tests): Add tst-gets.
2245         * stdio-common/tst-gets.c: New file.
2246         * stdio-common/tst-gets.input: New file.
2248         * elf/elf.h (DT_CHECKSUM): Define.
2250         * sysdeps/generic/strtoll.c: Don't export __strto*_internal as
2251         default symbol.
2252         * sysdeps/generic/strtoull.c: Likewise.
2254 2001-02-14  Wolfram Gloger  <wg@malloc.de>
2256         * malloc/malloc.c (new_heap): When allocating large chunk aligned
2257         to HEAP_MAX_SIZE, prefer one with lower address, to avoid `holes'
2258         between the heaps.
2260 2001-02-14  Ulrich Drepper  <drepper@redhat.com>
2262         * math/libm-test.inc (j0_test): Check whether sincos is available.
2263         (j1_test): Likewise.
2264         (jn_test): Likewise.
2265         (y0_test): Likewise.
2266         (y1_test): Likewise.
2267         (yn_test): Likewise.
2269         * posix/tst-gnuglob.c: Make a few entries DT_UNKNOWN and teach
2270         fake filesystem routines to handle this.
2272         * time/sys/time.h: Make settimeofday and adjtime available if
2273         _BSD_SOURCE.
2275         * time/sys/time.h: Make timer* macros available for BSD.
2277         * iconvdata/gb18030.c: Update for Dec 2000 re-release of GB18030.
2278         Patch by Yong Li <rigel863@yahoo.com>.
2280         * sysdeps/generic/glob.c (CONVERT_DIRENT_DIRENT64): Fix copying of
2281         name.
2283         * posix/Makefile (tests): Add tst-gnuglob.
2284         * posix/tst-gnuglob.c: New file.
2286 2001-02-13  H.J. Lu  <hjl@gnu.org>
2288         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add __ftruncate64.
2290 2001-02-13  Ulrich Drepper  <drepper@redhat.com>
2292         * locale/programs/ld-paper.c (paper_output): Pretty printing.
2294         * iconvdata/Makefile (modules): Add GBBIG5.
2295         (distribute): Add gbbig5.c.
2296         * iconvdata/gconv-modules: Add entries for GBBIG5 module.
2298         * iconvdata/gbbig5.c: New file.
2299         Contributed by Yong Li <rigel863@yahoo.com>.
2301 2001-02-13  Philip Blundell  <pb@futuretv.com>
2303         * manual/crypt.texi: Remove outdated references to crypt add-on.
2305         * manual/creature.texi: Improve wording slightly.
2307 2001-02-13  Ulrich Drepper  <drepper@redhat.com>
2309         * io/ftw.c: Always use readdir64.
2310         * io/ftw64.c: Likewise.
2311         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
2312         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
2313         * sysdeps/generic/glob.c: Likewise.  Convert results of gl_readdir
2314         callback to dirent.  Still allow compiling outside glibc.
2315         * sysdeps/gnu/glob64.c: Define COMPILE_GLOB64.
2316         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
2318         * malloc/mtrace.c: Use fopen64.
2319         * posix/spawni.c: Use __open64.
2320         * sysdeps/unix/opendir.c: Likewise.
2321         * sysdeps/unix/sysv/linux/gethostid.c: Likewise.
2323         * sysdeps/generic/ftruncate64.c: Define __ftruncate64 and make old
2324         name a weak alias.
2325         * sysdeps/unix/sysv/aix/ftruncate64.c: Likewise.
2326         * sysdeps/unix/sysv/linux/ftruncate64.c: Likewise.
2327         * sysdeps/unix/sysv/linux/mips/ftruncate64.c: Likewise.
2328         * sysdeps/unix/sysv/linux/powerpc/ftruncate64.c: Likewise.
2330         * resolv/res_data.c: Add cast to avoid warning.
2332         * include/unistd.h: Declare __ftruncate64.
2334         * sysdeps/generic/utmp_file.c: Use LFS functions and types.
2336         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use __lseek64
2337         instead of __lseek.
2339 2001-02-13  Andreas Jaeger  <aj@suse.de>
2341         * login/getutent_r.c: Include <stdlib.h> for NULL.
2342         * login/getutid_r.c: Likewise.
2344 2001-02-12  Ulrich Drepper  <drepper@redhat.com>
2346         * sysdeps/dbl-64/e_j0.c: Little optimization, use sincos.
2347         * sysdeps/dbl-64/e_j1.c: Likewise.
2348         * sysdeps/dbl-64/e_jn.c: Likewise.
2349         * sysdeps/flt-32/e_j0f.c: Likewise.
2350         * sysdeps/flt-32/e_j1f.c: Likewise.
2351         * sysdeps/ldbl-96/e_j0l.c: Likewise.
2353 2000-12-02  H.J. Lu  <hjl@gnu.org>
2355         * resolv/res_libc.c (res_init): Don't make it default.
2357 2001-02-12  Ulrich Drepper  <drepper@redhat.com>
2359         * manual/debug.texi: Improved the wording.
2360         Patch by Philip Blundell <pb@futuretv.com>.
2362 2001-02-12  Andreas Jaeger  <aj@suse.de>
2364         * posix/Makefile (tests): Don't run bug-regex2 when
2365         cross-compiling.
2367         * libio/Makefile (tests): Don't run test-freopen when
2368         cross-compiling.
2370         * manual/stdio.texi (Streams and I18N): Fix typos.
2372 2001-02-12  Ulrich Drepper  <drepper@redhat.com>
2374         * sysdeps/i386/fpu/libm-test-ulps: Adjust for errors in y0l.
2376         * math/libm-test.inc (j0_test): Make expected results long double
2377         constants.
2378         (y0_test): Likewise.
2380         * sysdeps/ieee754/ldbl-96/e_j0l.c: New file.
2381         Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>.
2383 2001-02-11  Jakub Jelinek  <jakub@redhat.com>
2385         * sysdeps/generic/strtoll.c (__strtoq_internal): Ressurect alias
2386         which was exported from libc.
2387         * sysdeps/generic/strtoull.c (__strtouq_internal): Likewise.
2389 2001-02-12  Andreas Jaeger  <aj@suse.de>
2391         * manual/arith.texi (Parsing of Integers): Fix some wordings.
2393 2001-02-11  Ulrich Drepper  <drepper@redhat.com>
2395         * sysdeps/generic/getsysstat.c: Change return value of get_phys_pages
2396         and get_avphys_page to long int.
2397         * sysdeps/unix/sysv/linux/getsysstat.c: Likewise.
2398         * include/sys/sysinfo.h: Likewise.
2399         * sysdeps/generic/sys/sysinfo.h: Likewise.
2400         * sysdeps/unix/sysv/linux/sys/sysinfo.h: Likewise.
2402         * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Fail if we
2403         cannot return as many values as the user asked for.
2405 2001-02-11  Andreas Jaeger  <aj@suse.de>
2407         * manual/resource.texi (Memory Resources): Fix typo.
2409         * libio/Makefile ($(objpfx)test-freopen.out): Pass
2410         run-program-prefix.
2412         * libio/test-freopen.sh: Use run_program_prefix.
2414 2001-02-10  Andreas Jaeger  <aj@suse.de>
2416         * stdlib/Makefile (tests): Don't run tst-fmtmsg when
2417         cross-compiling.
2418         ($(objpfx)tst-fmtmsg.out): Pass run-program-prefix.
2420         * stdlib/tst-fmtmsg.sh (test): Use run_program_prefix for static
2421         only builds.
2423         * elf/Makefile (tests): Only run tst-pathopt with shared libs.
2425         * posix/Makefile: Fix typo, it's build-static-nss.
2427         * iconv/Makefile (extra-objs): New.
2429 2001-02-10  Mark Kettenis  <kettenis@gnu.org>
2431         * sysdeps/unix/stime.c: Include <time.h>.
2433         * sysdeps/mach/hurd/setitimer.c: Include <time.h>.
2435 2001-02-10  Andreas Jaeger  <aj@suse.de>
2437         * manual/string.texi (Search Functions): Fix typo.
2439 2001-02-10  Mark Kettenis  <kettenis@gnu.org>
2441         * sysdeps/unix/bsd/times.c: Reorder includes and add <time.h>.
2442         (timeval_to_clock_t): Add clk_tck argument and use that instead of
2443         CLK_TCK.
2444         (__times): Use __getclktck to get the number of clock ticks per
2445         second and use its return value instead of CLK_TCK.
2447 2001-02-10  Mark Kettenis  <kettenis@gnu.org>
2449         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h (_HAVE_SA_LEN): Define.
2451 2001-02-10  Mark Kettenis  <kettenis@gnu.org>
2453         * sysdeps/mach/gettimeofday.c: Include <stddef.h>.
2455 2001-02-10  Andreas Jaeger  <aj@suse.de>
2457         * wctype/wcfuncs.c (func): Add prototype declarations to avoid
2458         warning.
2460 2001-02-09  Ulrich Drepper  <drepper@redhat.com>
2462         * posix/Makefile: Add rules to build and run bug-regex2.
2463         * posix/bug-regex2.c: New file.
2465 2001-02-10  Jakub Jelinek  <jakub@redhat.com>
2467         * posix/regex.c (convert_mbs_to_wcs): Change is_binary to char *.
2468         (regex_compile): Likewise.
2469         (FREE_VARIABLES): Don't free is_binary1 and is_binary2.
2470         (re_match_2_internal): Use just is_binary instead of two variables.
2471         Use REGEX_TALLOC to allocate it and FREE_VAR to free on failure.
2473 2001-02-09  Ulrich Drepper  <drepper@redhat.com>
2475         * version.h (VERSION): Bump to 2.2.2.
2477         * iconv/Makefile (distribute): Add iconv_charmap.c and
2478         dummy-repertoire.c.
2479         * elf/Makefile (distribute): Add firstobj.c.
2480         * Makefile (distribute): Add include/pthread.h.
2482         * configure.in: Require makeinfo version 4.
2484         * libio/tst_wscanf.c (main): Add cast to avoid warning.
2485         * libio/tst_swscanf.c (main): Likewise..
2487 2001-02-09  Jakub Jelinek  <jakub@redhat.com>
2489         * sysdeps/generic/setenv.c (unsetenv): Remove const from len.
2490         * sysdeps/sparc/fpu/bits/mathinline.h (sqrt, fdim): Don't define if
2491         __NO_MATH_INLINES.
2492         * sysdeps/i386/dl-machine.h (elf_machine_rel): Only declare refsym
2493         if not RTLD_BOOTSTRAP.
2494         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
2495         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
2497 2001-02-09  Ulrich Drepper  <drepper@redhat.com>
2499         * locale/programs/linereader.c (get_ident): Stop loop if EOF.  Use
2500         lr_ungetc to push back last read character.
2501         * locale/programs/linereader.h (lr_ungetc): Don't push back is
2502         character is EOF.
2503         (lr_ignore_rest): Don't warn about garbage if it is really the end
2504         of the file.
2506         * manual/Makefile: Use ifnottext and not ifinfo to protect Top node
2507         definition.
2509 2001-02-08  Ulrich Drepper  <drepper@redhat.com>
2511         * Makerules (build-shlib): Work around different order of
2512         processing of -B option in different gcc versions.
2514         * posix/regex.c: Fix alignment problem.
2515         Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
2517         * sysdeps/alpha/strrchr.S: Little optimization.
2518         Patch by Richard Henderson <rth@redhat.com>.
2520         * sysdeps/alpha/alphaev67/strrchr.S: New file.
2521         Contributed by Rick Gorton <rick.gorton@alpha-processor.com>.
2523 2001-02-08  kaz Kojima  <kkojima@rr.iij4u.or.jp>
2525         * sysdeps/sh/sh3/setjmp.S (__sigsetjmp): Correct function name
2526         in the assembler end directive.
2528 2001-02-08  Andreas Jaeger  <aj@suse.de>
2530         * manual/stdio.texi (Closing Streams): Fix typos.
2532 2001-02-07  Ulrich Drepper  <drepper@redhat.com>
2534         * sysdeps/alpha/alphaev67/strncat.S: Align last write address.
2535         Patch by Richard Henderson <rth@redhat.com>.
2536         Reported by Claus-Justus Heine <heine@instmath.rwth-aachen.de>.
2538         * stdlib/strfmon.c [USE_IN_LIBIO]: Define lock variable and store
2539         pointer in FILE structure before calling _IO_init.
2540         * stdlib/Makefile: Add -D_IO_MTSAFE_IO to CFLAGS for strfmon and
2541         strfmon_l if necessary.
2542         Reported by Jury Gerold <gjury@grips.com>.
2544         * sysdeps/gnu/netinet/tcp.h: Correct values of TCP_ macros.
2545         Patch by Pekka.Pietikainen@cern.ch.
2547         * posix/regex.c: Correct several problems with 64-bit architectures
2548         introduced in the MBS changes.
2549         Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
2551 2001-02-07  Jakub Jelinek  <jakub@redhat.com>
2553         * math/tgmath.h: Only add l suffixes if __NO_LONG_DOUBLE_MATH is
2554         not defined.
2555         * sysdeps/alpha/fpu/bits/mathinline.h: Honour __NO_MATH_INLINES.
2557 2001-02-07  Andreas Jaeger  <aj@suse.de>
2559         * manual/install.texi (Tools for Compilation): Fix typo.
2560         Reported by Pavel Machek <pavel@bug.ucw.cz>.
2562 2001-02-07  Ulrich Drepper  <drepper@redhat.com>
2564         * stdlib/strtod.c: Never stop prematurely reading digits before the
2565         decimal point is found.  Compute exponent limit for negative exponents
2566         correctly.  For numbers ending in all zeros eat the zeros even before
2567         the decimal point if the exponent is negative [PR libc/2072].
2568         * stdlib/Makefile (tests): Add bug-strtod.
2569         * stdlib/bug-strtod.c: New file.
2571 2001-02-07  Andreas Jaeger  <aj@suse.de>
2573         * posix/bug-regex1.c: Include <wchar.h> for fwide.
2575 2001-02-06  Ulrich Drepper  <drepper@redhat.com>
2577         * posix/regex.c (regex_compile): Don't store pointer in wchar_t array.
2578         Store index.
2579         (compile_range): Handle index being passed, not pointer.
2580         Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
2582         * posix/regex.c: Fix a cast in the code for bracket handling which
2583         caused 8-bit uncleanliness.
2584         Patch by Michal Jaegermann <michal@ellpspace.math.ualberta.ca>.
2586         * posix/Makefile (tests): Add bug-regex1.
2587         * posix/bug-regex1.c: New file.
2588         Contributed by Jim Meyering <jim@meyering.net>.
2590         * posix/regex.c: Many cleanups for incorrect format strings.
2592 2001-02-06  Andreas Jaeger  <aj@suse.de>
2594         * time/time.h (CLK_TCK): Check for !__STRICT_ANSI.
2596 2001-02-06  Ulrich Drepper  <drepper@redhat.com>
2598         * locale/programs/locale.c (write_locales): Use scandir to read
2599         directory so that the entries are sorted.
2601 2001-02-06  Andreas Jaeger  <aj@suse.de>
2603         * include/pthread.h: New file.
2605         * wctype/wctype.h: Move internal interfaces from here to...
2606         * include/wctype.h: ...here.
2608         * wcsmbs/wchar.h: Move __wcslen from here to...
2609         * include/wchar.h: ...here.
2611         * posix/sys/wait.h: Move __wait from here to...
2612         * include/sys/wait.h: ...here.
2614         * string/string.h: Move __ffs and __strerror_r from here to...
2615         * include/string.h: ...here.
2617         * stdlib/stdlib.h: Move __on_exit from here to...
2618         * include/stdlib.h: ...here.
2620         * libio/stdio.h: Move __vsnprintf from here to...
2621         * include/stdio.h: ...here.
2623 2001-02-06  Andreas Schwab  <schwab@suse.de>
2625         * sysdeps/unix/sysv/linux/ia64/ioperm.c: Don't include kernel
2626         headers.
2628         * timezone/Makefile: Don't assume that $(inst_zonedir) is a subdir
2629         of $(inst_datadir).
2631 2001-02-06  Ulrich Drepper  <drepper@redhat.com>
2633         * iconvdata/Makefile: Add dependency for bug-iconv2.out.
2635 2001-02-06  Andreas Jaeger  <aj@suse.de>
2637         * elf/firstobj.c: Add prototype.
2639         * posix/regex.c (convert_mbs_to_wcs): Make static, add prototype
2640         (truncate_wchar): Likewise.
2642 2001-02-06  Ulrich Drepper  <drepper@redhat.com>
2644         * locale/programs/locale.c: Implement --verbose option for -a
2645         which prints detailed information about the locales.
2647 2001-02-05  Ulrich Drepper  <drepper@redhat.com>
2649         * sunrpc/xdr_rec.c (set_input_fragment): Change type of header
2650         variable to uint32_t.
2651         Reported by Ulrich Weigand <weigand@immd1.informatik.uni-erlangen.de>.
2653 2001-02-04  Bruno Haible  <haible@clisp.cons.org>
2655         * locale/C-translit.h.in: Add transliterations for CJK units of
2656         measurement.
2658 2001-02-05  Ulrich Drepper  <drepper@redhat.com>
2660         * elf/cache.c (print_entry): Use PRIx64 instead of Lx in printf
2661         string.  Include <inttypes.h> instead of <stdint.h>.
2663         * localedata/Makefile (tests): Add bug-iconv-trans.
2664         Define bug-iconv-trans-ENV.
2665         * localedata/bug-iconv-trans.c: New file.
2667 2001-02-04  Bruno Haible  <haible@clisp.cons.org>
2669         * iconv/gconv_trans.c (__gconv_transliterate): Use a temporary output
2670         pointer, to avoid accumulating output from incomplete (unsuccessful)
2671         transliteration attempts.
2673 2001-02-05  Ulrich Drepper  <drepper@redhat.com>
2675         * elf/ldconfig.c (search_dir): Use PRIx64 instead of Lx in printf
2676         string.  Include <inttypes.h> instead of <stdint.h>.
2678         * configure.in: Add check for bison.
2679         * config.make.in: Define BISON variable.
2680         * intl/Makefile: Use BISON instead of YACC when generating plural.c.
2681         Rename YFLAGS to BISONFLAGS.
2683 2001-02-05  Andreas Jaeger  <aj@suse.de>
2685         * io/test-lfs.c (do_test): Test lseek64 return value, call
2686         test_ftello.
2687         (test_ftello): New function to test ftello64 and fseeko64.
2689         * signal/signal.h: Move __sigaction from here to...
2690         * include/signal.h: ...here.
2692         * io/fcntl.h: Move __fcntl and __open to...
2693         * include/fcntl.h: ...here.
2695 2001-02-04  Philip Blundell  <philb@gnu.org>
2697         * configure.in: Distinguish ARM from Thumb.
2699 2001-02-04  Philip Blundell  <philb@gnu.org>
2701         * sysdeps/arm/dl-machine.h (elf_machine_rel): Correct handling of
2702         PC24 relocs with negative value.
2704 2001-02-04  Ulrich Drepper  <drepper@redhat.com>
2706         * iconv/Makefile (iconv_prog-modules): Define.  Add vpath to find
2707         files in locale/programs.  Add CFLAGS definition to allow compiling
2708         localedef files.
2709         * iconv/dummy-repertoire.c: New file.
2710         * iconv/iconv_charmap.c: New file.
2711         * iconv/iconv_prog.h: New file.
2712         * iconv/iconv_prog.c: Make verbose and omit_invalid global.
2713         (main): If parameter for -f and -t contain slashes try first to resolve
2714         the strings as filenames of charmap files.  Use them for conversion
2715         in this case.
2716         * iconvdata/run-iconv-test.sh: If charmaps exist also run tests with
2717         iconv getting charmap names as parameters.
2718         * locale/programs/linereader.c (lr_token): Take extra parameters
2719         verbose and pass it to get_string.
2720         (get_string): Take extra parameters verbose.
2721         * locale/programs/charmap.c (parse_charmap): Take extra parameters
2722         verbose and be_quiet.  Change all callers of lr_token and
2723         parse_charmap.
2724         * locale/programs/charmap.h: Likewise.
2725         * locale/programs/ld-address.c: Likewise.
2726         * locale/programs/ld-collate.c: Likewise.
2727         * locale/programs/ld-ctype.c: Likewise.
2728         * locale/programs/ld-identification.c: Likewise.
2729         * locale/programs/ld-measurement.c: Likewise.
2730         * locale/programs/ld-messages.c: Likewise.
2731         * locale/programs/ld-monetary.c: Likewise.
2732         * locale/programs/ld-name.c: Likewise.
2733         * locale/programs/ld-numeric.c: Likewise.
2734         * locale/programs/ld-paper.c: Likewise.
2735         * locale/programs/ld-telephone.c: Likewise.
2736         * locale/programs/ld-time.c: Likewise.
2737         * locale/programs/linereader.c: Likewise.
2738         * locale/programs/linereader.h: Likewise.
2739         * locale/programs/localedef.c: Likewise.
2740         * locale/programs/locfile.c: Likewise.
2741         * locale/programs/locfile.h: Likewise.
2742         * locale/programs/repertoire.c: Likewise.
2744 2001-02-03  Ulrich Drepper  <drepper@redhat.com>
2746         * iconv/iconv_prog.c (main): If output file name is "-" write to
2747         stdout.
2748         (main): If -f or -t argument is missing use charset of the current
2749         locale.
2751 2001-02-03  Andreas Jaeger  <aj@suse.de>
2753         * sysdeps/i386/elf/start.S (_start): Align stack to 16-byte
2754         boundary for SSE/SSE-2 alignment.
2756         * posix/Makefile ($(objpfx)annexc.out): Also pass sysincludes to
2757         annexc.
2759 2001-02-03  Ulrich Drepper  <drepper@redhat.com>
2761         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: File was using crlf.
2762         Remove comma at end of enum.
2764         * elf/dl-init.c: Add a few __builtin_expect.
2766         * hesiod/hesiod.c: Remove unnecessary code.  Remove all uses of strcat.
2768 2001-02-02  Ulrich Drepper  <drepper@redhat.com>
2770         * hesiod/hesiod.c (hesiod_resolve): Also search HS records if
2771         errno is ECONNREFUSED.
2773         * posix/Makefile: Define MBS_SUPPORT for regex.c.
2774         * posix/regex.c: Implement multibyte character handling.
2775         Patch by Isamu Hasegawa <isamu@yamato.ibm.co.jp>.
2777         * string/tst-svc.input: Add two more test cases.
2778         * string/tst-svc.expect: Modify to reflect new test cases.
2780 2001-02-01  Jakub Jelinek  <jakub@redhat.com>
2782         * sysdeps/posix/getaddrinfo.c (gaih_local, gaih_inet): Replace all
2783         tp->name tests with tp->name[0] tests.
2785 2001-01-29  Ben Collins  <bcollins@debian.org>
2787         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r):
2788         Fix check for name == NULL.
2790 2001-02-01  Ulrich Drepper  <drepper@redhat.com>
2792         * elf/Makefile: Add rules to build and run initfirst test.
2793         * elf/initfirst.c: New file.
2794         * elf/firstobj.c: New file.
2796         * Makerules (build-shlib): Add $(extra-B-$(@F:lib%.so=%).so).
2797         * configure.in: Test for -z initfirst linker option.
2798         * config.make.in: Add have-z-initfirst.
2799         * elf/dl-init.c (_dl_init): Split out actual initialization code in
2800         new function call_init.  If _dl_initfirst is non-NULL initialize first.
2801         * elf/dl-load.c (_dl_map_from_fd): If DF_1_INITFIRST flag is set
2802         remember object in _dl_initfirst.
2803         * elf/soinit.c: Remove special support for calling
2804         __pthread_initialize_minimal.
2806         * conform/conformtest.pl: Add missing $prepend in type test.
2808 2001-01-31  Ulrich Drepper  <drepper@redhat.com>
2810         * elf/elf.h (SHT_CHECKSUM): New definition.
2812         * posix/fnmatch_loop.c: Remove incorrect reverse condition in
2813         [. .] matching.  Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
2814         * posix/tst-fnmatch.input: Add tests for [. .] in locales.
2816 2001-01-31  Mark Kettenis  <kettenis@gnu.org>
2818         * misc/sys/select.h: Include <bits/time.h> instead of <sys/time.h>
2819         to get definition of `struct timeval'.
2821 2001-01-31  Ulrich Drepper  <drepper@redhat.com>
2823         * posix/tst-fnmatch.input: Add test cases for de_DE.UTF-8 locale.
2824         * posix/fnmatch_loop.c: Fix handling of [= =] for multibyte charsets.
2826 2001-01-30  Ulrich Drepper  <drepper@redhat.com>
2828         * iconv/gconv_open.c (__gconv_open): Set conv_flags if IGNORE is
2829         seen, not flags.
2831         * nis/nis_findserv.c: Include <time.h>.
2833 2001-01-30  Yong Li  <yong.li@asu.edu>
2835         * iconv/iconv_prog.c (main): Correct error handling method name.
2837 2001-01-29  Ben Collins  <bcollins@debian.org>
2839         * sysdeps/sparc/fpu/fraiseexcpt.c: Include <float.h>.
2840         * sysdeps/hppa/fpu/fraiseexcpt.c: Likewise.
2841         * sysdeps/m68k/fpu/fraiseexcpt.c: Likewise.
2842         * sysdeps/s390/fpu/fraiseexcpt.c: Likewise.
2844 2001-01-30  Ulrich Drepper  <drepper@redhat.com>
2846         * locale/programs/ld-measurement.c (measurement_finish): Fix a typo.
2847         Patch by Marko Myllynen <myllynen@lut.fi>.
2849         * string/bits/string2.h (__strpbrk_c2): Correct parameter types
2850         (int instead of char).
2851         (__strpbrk_c3): Likewise.
2852         Reported by GOTO Masanori <gotom@debian.or.jp>.
2854         * sysdeps/generic/bits/sockaddr.h: Remove SA_LEN macro.
2855         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Likewise.
2856         * include/sys/socket.h: Add SA_LEN here for internal use.
2857         Reported by Arkadiusz Miskiewicz <misiek@pld.ORG.PL>.
2859 2001-01-29  Ulrich Drepper  <drepper@redhat.com>
2861         * malloc/Makefile: Don't build memusagestat if cross-compiling.
2863         * sysdeps/generic/dl-sysdep.c (set_seen): Fix typo.
2865         * math/libm-test.inc (rint_test): Add a few more tests for round
2866         to even rounding.
2868 2001-01-28  Ulrich Drepper  <drepper@redhat.com>
2870         * conform/data/pthread.h-data: Correct return type of pthread_exit.
2872         * conform/conformtest.pl: Add -fno-builtin to CFLAGS.
2874         * conform/data/stdlib.h-data: Add _Exit.
2876         * inet/arpa/inet.h: Don't include <sys/types.h>.  Define socklen_t
2877         if not already happened.
2878         * inet/netinet/in.h: Don't include <sys/types.h>, use <bits/types.h>.
2879         Don't include <limits.h> and <bits/sockaddr.h>.
2881         * conform/data/netinet/in.h-data: Allow all of <inttypes.h>.
2883         * conform/data/spawn.h-data: Allow all of <sched.h>.
2885         * sysdeps/ia64/fpu/fraiseexcpt.c: Include <float.h>.  Removed
2886         unused variable.
2888         * sunrpc/xdr_rec.c (xdrrec_getpos): Add cast to long to avoid warning.
2889         * sunrpc/xdr_sizeof.c (x_inline): Likewise.
2891         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Include <float.h>.
2893         * conform/conformtest.pl: Define $mustprepend{"stdio.h"}.
2894         * libio/stdio.h: Define va_list correctly.
2896         * conform/data/pthread.h-data: Make priority protocol related
2897         functions optional.  Fix typos.
2899         * posix/sched.h: Define sched_priority as __sched_priority.
2900         * sysdeps/generic/bits/sched.h (struct sched_param): Rename element
2901         to __sched_priority.
2902         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
2904 2001-01-27  Ulrich Drepper  <drepper@redhat.com>
2906         * sysdeps/generic/clock_getcpuclockid.c: Include <time.h> instead
2907         of <sys/time.h>.
2909         * sysdeps/unix/stime.c: Include <stddef.h> for NULL.
2910         * sysdeps/unix/time.c: Likewise.
2912         * conform/data/time.h-data: CLK_TCK is not in XPG6.  Fix tzname entry.
2913         * sysdeps/mach/hurd/bits/time.h: Don't define CLK_TCK for XPG6.
2914         * sysdeps/mach/hurd/i386/bits/time.h: Likewise.
2915         * sysdeps/unix/sysv/linux/bits/time.h: Likewise.
2916         * sysdeps/unix/sysv/linux/alpha/bits/time.h: Likewise.
2917         * sysdeps/unix/sysv/linux/i386/bits/time.h: Likewise.
2918         * sysdeps/unix/sysv/linux/ia64/bits/time.h: Likewise.
2919         * time/time.h: Likewise.
2921         * conform/conformtest.pl (@headers): Add complex.h and tgmath.h.
2922         * conform/data/complex.h-data: New file.
2923         * conform/data/tgmath.h-data: New file.
2925         * conform/data/wchar.h-data: Add missing functions.
2927         * sysdeps/gnu/bits/utmpx.h: Define RUN_LVL only if __USE_GNU.
2929         * conform/data/termios.h-data: Add missing const in tcsetattr()
2930         prototype.
2932         * posix/sys/wait.h: Include <signal.h> and <sys/resource.h>.
2933         Don't define pid_t here.
2935         * conform/data/sys/utsname.h-data: Don't provide fixed array sizes.
2937         * conform/data/sys/time.h-data: Allow sys/select.h.
2938         * conform/data/sys/un.h-data: Fix typo.
2939         * time/sys/time.h: Don't include all of <time.h>, just struct timeval.
2940         * sysdeps/posix/clock_getres.c: Include <time.h> instead of
2941         <sys/time.h>.
2942         * sysdeps/unix/clock_nanosleep.c: Likewise.
2943         * sysdeps/unix/i386/clock_getcpuclockid.c: Likewise.
2944         * sysdeps/unix/i386/i586/clock_getres.c: Likewise.
2945         * sysdeps/unix/clock_gettime.c: Also include <time.h>.
2946         * sysdeps/unix/clock_settime.c: Likewise.
2948         * sysdeps/generic/pselect.c: Include <stddef.h> for NULL.
2949         * login/getutent.c: Likewise.
2950         * login/getutid.c: Likewise.
2951         * login/getutline.c: Likewise.
2953         * socket/sys/un.h: Define SUN_LEN only if __USE_MISC.
2955         * sysdeps/unix/sysv/linux/bits/statvfs.h: Change type of f_fsid field
2956         to unsigned long.  Add __f_unused.  Define _STATVFSBUF_F_UNUSED.
2957         * sysdeps/unix/sysv/linux/internal_statvfs.c: Adjust initialization of
2958         f_fsid field after change in struct statvfs.
2959         * sysdeps/unix/sysv/linux/alpha/bits/statvfs.h: New file.
2960         * sysdeps/unix/sysv/linux/ia64/bits/statvfs.h: New file.
2961         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/statvfs.h: New file.
2963         * conform/data/sys/stat.h-data: Remove isfdtype.  Use
2964         optional-macro.
2966         * conform/data/sys/socket.h-data: Fix typos.  Correct getsockopt,
2967         recvfrom, send, and socketpair prototypes.  Add allow lines.
2968         * socket/sys/socket.h: Include <sys/uio.h>.
2969         Don't use fancy __SOCKADDR_ARG definition unless __USE_GNU.
2970         Fix type of second parameter of listen.
2971         Don't declare isfdtype unless __USE_MISC.
2972         * sysdeps/generic/listen.c: Fix type of second parameter of listen.
2973         * sysdeps/mach/hurd/listen.c: Likewise.
2974         * sysdeps/generic/bits/socket.h (struct sockaddr_storage): Define
2975         ss_family and __ss_family.
2976         * sysdeps/unix/sysv/aix/bits/socket.h: Likewise.
2977         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
2978         (struct msghdr): Change type of msg_iovlen to int and type of
2979         msg_controllen to socklen_t.
2980         * sysdeps/unix/sysv/linux/alpha/bits/socket.h: New file.
2981         * sysdeps/unix/sysv/linux/ia64/bits/socket.h: New file.
2982         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/socket.h: New file.
2983         * inet/rcmd.c (rcmd_af): __ss_family is now ss_family.
2984         (rresvport_af): Likewise.
2986         * conform/data/sys/shm.h-data: SHMLBA is not required to by a constant.
2987         * conform/conformtest.pl: Implement handling of symbol.
2989         * signal/signal.h: Fix handling of __need_* symbols.
2990         * misc/sys/select.c: Define fd_set here.  Remove __fd_set.  Define
2991         fd_mask only if __USE_MISC.  Declare pselect for __USE_XOPEN2K.
2992         * include/sys/select.h: Use fd_set not __fd_set.
2993         * sysdeps/generic/bits/select.h: Likewise.
2994         * sysdeps/i386/bits/select.h: Likewise.
2995         * sysdeps/generic/bits/types.h: Don't define __fd_mask, __NFDBITS,
2996         __FDELT, __FDMASK, and __fd_set here.
2997         * sysdeps/unix/sysv/aix/bits/types.h: Likewise.
2998         * sysdeps/unix/sysv/hpux/bits/types.h: Likewise.
2999         * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
3000         * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
3001         * sysdeps/unix/sysv/linux/ia64/bits/types.h: Likewise.
3002         * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
3003         * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
3004         * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
3005         * time/sys/time.h: Define struct timeval before including <time.h>
3006         and <sys/select.h>.
3008         * conform/data/sys/time.h-data: fd_set is a typedef.
3009         * conform/data/sys/select.h-data: New file.
3010         * conform/data/sys/mman.h-data: Make typed mem stuff optional.
3011         * conform/conformtest.pl (@headers): Add sys/select.h.
3012         (type, optional-type): Unless testing a typedef instantiate object.
3013         Implement optional-function.
3015         * math/test-misc.c: Include <float.h>.
3017 2001-01-27  Andreas Jaeger  <aj@suse.de>
3019         * misc/efgcvt_r.c: Include <float.h>.
3021 2001-01-26  Ulrich Drepper  <drepper@redhat.com>
3023         * conform/data/stdlib.h-data: Account for XPG6 changes.
3024         * stdlib/stdlib.h (__random): Change return value type to long.
3025         (posix_memalign): Cleanup parameter names.
3026         (setenv, unsetenv): Make available for __USE_XOPEN2K.
3027         Change return type of unsetenv to int.
3028         (qecvt, qgcvt, qfcvt): Declare only if __USE_MISC.
3029         * include/stdlib.h: Change return type of unsetenv to int.
3030         Change return type of random to long int.
3031         * sysdeps/generic/setenv.c (unsetenv): Change return type to int.
3032         Return -1 and set errno if parameter is invalid.
3033         * stdlib/random.c (__random): Change return value type to long.
3035         * conform/data/stdio.h-data: Account for changes in XPG6.
3037         * conform/data/spawn.h-data: Correct posix_spawnattr_setflags
3038         prototype.
3040         * conform/conformtest.pl: Define $mustprepend{"signal.h"}.
3041         * conform/data/signal.h-data: Fix sigev_notify_function entry.
3042         Fix typo (SIGVALRM -> SIGVTALRM).
3043         * sysdeps/unix/sysv/linux/bits/siginfo.h: Define sigev_notify_attr
3044         with real type.
3045         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Likewise.
3046         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
3047         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Likewise.
3048         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
3049         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/siginfo.h: Likewise.
3051         * conform/conformtest.pl: Implement optional-element.  Define
3052         $mustprepend{"sched.h"}.
3053         * conform/data/sched.h-data: Make sporadic scheduler definitions
3054         optional.
3056         * pwd/pwd.h: Don't define getpwent_r for XPG.
3058         * io/sys/poll.h: Define nfds_t and use it in poll prototype.
3059         * sysdeps/generic/poll.c: Use nfds_t type in function definition.
3060         * sysdeps/mach/hurd/poll.c: Likewise.
3061         * sysdeps/unix/bsd/poll.c: Likewise.
3062         * sysdeps/unix/sysv/linux/poll.c: Likewise.
3063         * sysdeps/unix/sysv/aix/poll.c: Likewise.
3064         * sysdeps/generic/bits/poll.h: Define NPOLLFILE only if __USE_MISC.
3065         * sysdeps/unix/sysv/linux/bits/poll.h: Likewise.
3066         * sysdeps/unix/sysv/linux/m68k/bits/poll.h: Likewise.
3067         * sysdeps/unix/sysv/linux/mips/bits/poll.h: Likewise.
3068         * sysdeps/unix/sysv/linux/sparc/bits/poll.h: Likewise.
3069         * conform/data/poll.h-data: Fix typo in poll prototype.
3071         * sysdeps/gnu/netinet/tcp.h: Define everything but TCP_ macros
3072         only if __USE_MISC.
3073         * conform/data/netinet/tcp.h-data: Reserved prefix TCP_.
3075         * sysdeps/gnu/net/if.h: Cleanup namespace.  Define IF_NAMESIZE.
3077         * inet/netinet/in.h: Make IPPROTO_ constants also macros.
3079         * conform/conformtest.pl: Implement optional-type.
3081         * resolv/netdb.h: Include <netinet/in.h> not <sys/socket.h>.  Include
3082         <rpc/netdb.h> only if __USE_MISC.  Include <stdint.h> instead of
3083         defining uint32_t here.  Define IPPORT_RESERVED.
3084         (struct hostent): Type of h_length element is int.
3085         (getnameinfo): Type of flags parameter is unsigned int.
3086         * inet/getnameinfo.c (getnameinfo): flags argument is unsigned.
3087         * conform/data/netdb.h-data: Add many missing definitions.
3089         * conform/conformtest.pl: Implement optional-macro.
3090         * conform/data/math.h-data: Update for XPG6.
3092         * math/math.h (HUGE): Define as FLT_MAX value but don't use
3093         FLT_MAX.  Don't include <float.h>.
3094         (MAXFLOAT): Likewise.
3096         * math/math.h: Define MATH_ERRNO and MATH_ERREXCEPT.
3098         * include/bits/xopen_lim.h: Don't define FOPEN_MAX here.
3100         * conform/data/limits.h-data: Mark constants as optional wherever
3101         appropriate.
3103         * posix/bits/posix2_lim.h: Set correct values for
3104         _POSIX2_COLL_WEIGHTS_MAX and _POSIX2_CHARCLASS_NAME_MAX.  Remove
3105         EQUIV_CLASS_MAX.
3107         * posix/bits/posix1_lim.h: Define _POSIX_TZNAME_MAX as 6.
3108         Required by POSIX.
3110         * intl/loadmsgcat.c: Include <locale.h.> for _LIBC.
3112         * conform/data/netinet/in.h-data: Add reserved prefixes.
3114         * conform/data/arpa/inet.h-data: Fix a few typos.
3116 2001-01-26  Andreas Jaeger  <aj@suse.de>
3118         * sysdeps/generic/strtol.c: Include <locale.h>
3119         * stdlib/strtod.c: Likewise
3120         * stdlib/strfmon.c: Likewise.
3121         * string/strcoll.c: Likewise.
3122         * string/strxfrm.c: Likewise.
3123         * wctype/wcfuncs_l.c: Likewise.
3124         * wctype/wctype_l.c: Likewise.
3125         * wctype/wctrans_l.c: Likewise.
3127         * include/bits/locale.h: New file.
3129 2001-01-26  Ulrich Drepper  <drepper@redhat.com>
3131         * locale/langinfo.h: Correct logic in #ifs when defining YESSTR
3132         and NOSTR.
3134         * locale/Makefile (headers): Add bits/locale.h.
3135         * locale/langinfo.h: Don't include <locale.h>.  Include <bits/locale.h>
3136         and use __LC_ constants instead of LC_.
3137         * locale/locale.h: Include <bits/locale.h> and define LC_ constants
3138         using __LC_ constants.
3139         * locale/bits/locale.h: New file.
3140         * locale/loadlocale.c: Include <locale.h>.
3141         * locale/nl_langinfo.h: Likewise.
3143         * posix/glob.h: Cleanup namespace for non-_GNU_SOURCE case.
3145         * io/sys/stat.h: Define S_IFSOCK for XPG6.
3147         * conform/data/fcntl.h-data: posix_madvise is not expected here.
3149         * conform/conformtest.pl: Fix handling of macro-str.
3151         * conform/data/inttypes.h-data: Add missing definition and all of
3152         stdint.h-data.
3154         * sysdeps/unix/sysv/linux/sys/param.h (MAXSYMLINKS): Bump to 20.
3156 2001-01-25  Ulrich Drepper  <drepper@redhat.com>
3158         * conform/conformtest.pl (@headers): Add stdint.h.
3159         * conform/data/stdint.h-data: New file.
3161         * conform/conformtest.pl: Recognize options --headers and
3162         --dialect.  Add dialect-specific CFLAGS.
3164         * conform/conformtest.pl: Implement handling of recursive
3165         allow-header.
3167         * conform/data/locale.h-data: Add new struct lconv members.
3169         * posix/wordexp.h: Correct definition of wordexp_t.
3170         * posix/wordexp.c: Moved to ...
3171         * sysdeps/generic/wordexp.c: ...here.  New file.
3172         * sysdeps/unix/sysv/linux/alpha/wordexp.c: New file.
3173         * sysdeps/unix/sysv/linux/ia64/wordexp.c: New file.
3174         * sysdeps/unix/sysv/linux/sparc/sparc64/wordexp.c: New file.
3175         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.2.2): Add
3176         wordexp.
3177         * sysdeps/unix/sysv/linux/ia64/Versions: Likewise.
3178         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions: Likewise.
3180         * math/tgmath.h: Pretty printing.
3182         * math/Makefile (tests): Add test-tgmath.
3183         (CFLAGS-test-tgmath.c): New variable.
3184         * math/test-tgmath.c: New file.  Contributed by Jakub Jelinek.
3186         * conform/conformtest.pl: Handle allow-header in secondary headers
3187         correctly.
3189         * conform/data/fcntl.h-data: Mark symbols introduced in XPG6 with
3190         #ifdef.
3192         * conform/data/netinet/in.h-data: Use correct comment character.
3193         * conform/data/sys/stat.h-data: Likewise.
3195 2001-01-25  Jakub Jelinek  <jakub@redhat.com>
3197         * math/tgmath.h (__TGMATH_BINARY_FIRST_REAL_ONLY,
3198         __TGMATH_BINARY_REAL_ONLY, __TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY,
3199         __TGMATH_TERNARY_REAL_ONLY): Use proper arguments to
3200         __builtin_classify_type, add ##f suffixes where appropriate.
3201         (__TGMATH_UNARY_REAL_IMAG): Remove extraneous left parenthesis.
3202         (__TGMATH_BINARY_REAL_IMAG): Likewise, use proper arguments to
3203         __builtin_classify_type.
3204         (fma): Fix spelling of first argument.
3206 2001-01-25  Ulrich Drepper  <drepper@redhat.com>
3208         * conform/data/unistd.h-data: Mark functions removed in XPG6
3209         correctly.
3211         * posix/unistd.h: Don't make functions removed in XPG6 available if
3212         __USE_XOPEN2K.
3214         * conform/conformtest.pl: Implement optional-constant.
3215         * conform/data/unistd.h-data: Use optional-constant wherever
3216         appropriate.
3218         * sysdeps/generic/bits/confname.h: Correct names of _SC_PBS
3219         constants and add _SC_STREAMS.
3220         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
3222         * sysdeps/unix/sysv/linux/statvfs64.c: Rename to __statvfs64 and
3223         make old name weak alias.
3224         * sysdeps/generic/statvfs64.c: Likewise.
3225         * sysdeps/unix/sysv/linux/fstatvfs64.c: Rename to __fstatvfs64 and
3226         make old name weak alias.
3227         * sysdeps/generic/fstatvfs64.c: Likewise.
3228         * include/sys/statvfs.h: New file.
3230         * sysdeps/generic/bits/confname.h: Define _PC_REC_INCR_XFER_SIZE,
3231         _PC_REC_MAX_XFER_SIZE, _PC_REC_MIN_XFER_SIZE, and
3232         _PC_REC_XFER_ALIGN.
3233         * sysdeps/posix/pathconf.c (__pathconf): Implement handling of
3234         _PC_REC_INCR_XFER_SIZE, _PC_REC_MAX_XFER_SIZE,
3235         _PC_REC_MIN_XFER_SIZE, and _PC_REC_XFER_ALIGN.
3236         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
3238         * conform/conformtest.pl: Run Unix tests for XPG6.
3239         Implement handling of known namespace violations.
3240         Improve printing of results.
3242         * posix/unistd.h (usleep): Correct return type.
3243         * sysdeps/unix/sysv/linux/usleep.c: Correct return type.
3244         * sysdeps/unix/bsd/usleep.c: Correct return type.
3245         * sysdeps/mach/usleep.c: Correct return type.
3246         * sysdeps/generic/usleep.c: Correct return type.
3248         * posix/unistd.h (sync): Correct return type.
3249         * sysdeps/generic/sync.c: Likewise.
3250         * sysdeps/mach/hurd/sync.c: Likewise.
3252         * sysdeps/generic/bits/confname.h (_SC_IOV_MAX): New definition.
3254         * posix/unistd.h: Make seteuid and setegid available for XPG6.
3256         * wcsmbs/wchar.h: Get FILE definition for XPG5.
3258         * conform/data/ctype.h-data: Use correct comment form.
3259         * conform/data/errno.h-data: Likewise.
3260         * conform/data/math.h-data: Likewise.
3261         * conform/data/mqueue.h-data: Likewise.
3262         * conform/data/netdb.h-data: Likewise.
3263         * conform/data/pthread.h-data: Likewise.
3265 2001-01-24  Ulrich Drepper  <drepper@redhat.com>
3267         * conform/data/wordexp.h-data: Fix typo.
3269         * conform/conformtest.pl: Handle allow-header correctly.
3271         * conform/data/time.h-data: Use correct comment form.
3273         * conform/conformtest.pl (checknamespace): Ignore #undef lines.
3275         * configure.in: Comment out binutils version test.
3277         * stdlib/strtod.c (str_to_mpn): Correct parsing of thousands
3278         separators.
3279         Reported by Lagardere Jean-Francois <LAGARDEREJ@thmulti.com>.
3281         * stdlib/tst-strtod.c (locale_test): New function.
3282         (main): Call locale_test.
3283         * stdlib/Makefile (tst-strtod-ENV): New variable.
3285 2001-01-24  Mark Kettenis  <kettenis@gnu.org>
3287         * hurd/hurdsig.c (_hurdsig_getenv): Remove spurious innermost
3288         declaration of value such that we actually return the value of the
3289         environment variable.
3291 2001-01-24  Andreas Jaeger  <aj@suse.de>
3293         * sysdeps/unix/sysv/linux/init-first.c: Remove extra __sysctl
3294         prototype.
3295         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
3297         * include/sys/sysctl.h: New file.
3299 2001-01-23  Andreas Jaeger  <aj@suse.de>
3301         * stdlib/Makefile ($(objpfx)isomac.out): Also pass sysincludes to
3302         isomac.
3304         * elf/dl-load.c (_dl_init_paths): Don't use strdupa in function
3305         arguments.  Reported by Jiri Kubicek <kubicek@bitsmart.com>,
3306         closes PR libc/2039.
3308         * manual/install.texi (Tools for Compilation): Change required
3309         binutils version.
3311 2001-01-22  Andreas Jaeger  <aj@suse.de>
3313         * configure.in: Add test for new enough binutils version, move
3314         compiler/binutils test up.
3316         * Versions.def: Add version GLIBC_2.2.2.
3318 2001-01-21  Ulrich Drepper  <drepper@redhat.com>
3320         * iconvdata/TESTS: UTF-8 test data for IBM932 and IBM943 are now
3321         available.
3322         * iconvdata/testdata/IBM932: New file.
3323         * iconvdata/testdata/IBM932..UTF8: New file.
3324         * iconvdata/testdata/IBM943: New file.
3325         * iconvdata/testdata/IBM943..UTF8: New file.
3326         Contributed by Masahide Washizawa <washi@jp.ibm.com>.
3328 2001-01-21  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
3330         * sysdeps/unix/sysv/linux/powerpc/mmap64.c: Correctly mask offset.
3332 2001-01-21  Ulrich Drepper  <drepper@redhat.com>
3334         * malloc/malloc.c: Remove a few unnecessary initializers of global
3335         variables.
3337 2000-12-09  H.J. Lu  <hjl@gnu.org>
3339         * nss/Makefile (routines): Add digits_dots.
3340         * nss/Versions (libc): Add __nss_hostname_digits_dots to GLIBC_2.2.2.
3341         * nss/digits_dots.c (__nss_hostname_digits_dots): Turn template
3342         into a function.
3343         * nss/nsswitch.h (__nss_hostname_digits_dots): New internal NSS
3344         function.
3345         * nss/getXXbyYY.c (H_ERRNO_VAR_P): New definition.
3346         (TYPE_VAR_P): Likewise.
3347         (FLAGS_VAR): Likewise.
3348         (AF_VAR_P): Likewise.
3349         (INTERNAL (REENTRANT_NAME)): Call __nss_hostname_digits_dots ()
3350         instead of including digits_dots.c.
3351         * nss/getXXbyYY_r.c (H_ERRNO_VAR_P): New definition.
3352         (TYPE_VAR_P): Likewise.
3353         (FLAGS_VAR): Likewise.
3354         (AF_VAR_P): Likewise.
3355         (INTERNAL (REENTRANT_NAME)): Call __nss_hostname_digits_dots ()
3356         instead of including digits_dots.c.
3358 2001-01-21  Ulrich Drepper  <drepper@redhat.com>
3360         * sysdeps/posix/getaddrinfo.c: Reduce .data size.
3362 2001-01-21  Andreas Jaeger  <aj@suse.de>
3364         * elf/constload2.c: Add prototype for init.
3366 2001-01-21  Ulrich Drepper  <drepper@redhat.com>
3368         * stdlib/stdlib.h (drand48_data): Make available only for
3369         __USE_MISC.  Rename elements to protect namespace.  Change type
3370         and position of a and init element.
3371         * stdlib/drand48-iter.c: Don't handle unsigned short > 16 bit
3372         differently.  Adjust for drand48_data change.  Don't compute a here,
3373         it comes from drand48_data.
3374         * stdlib/lcong48_r.c: Don't handle unsigned short > 16 bit
3375         differently.  Adjust for drand48_data change.  Compute a here.
3376         * stdlib/srand48_r.c: Likewise.
3377         * stdlib/drand48.c: Adjust for drand48_data change.
3378         * stdlib/lrand48.c: Likewise.
3379         * stdlib/mrand48.c: Likewise.
3380         * stdlib/seek48.c: Likewise.
3381         * stdlib/drand48_r.c: Likewise.
3382         * stdlib/lrand48_r.c: Likewise.
3383         * stdlib/mrand48_r.c: Likewise.
3384         * stdlib/seed48_r.c: Likewise.  Don't handle unsigned short > 16 bit
3385         differently.
3386         * stdlib/erand48_r.c: Don't handle unsigned short > 16 bit differently.
3387         * stdlib/jrand48_r.c: Likewise.
3389         * po/sv.po: Update from translation team.
3391 2001-01-21  Andreas Jaeger  <aj@suse.de>
3393         * stdio-common/vfprintf.c (vfprintf): Add casts.
3395 2001-01-20  Ulrich Drepper  <drepper@redhat.com>
3397         * iconvdata/run-iconv-test.sh: Reorgnize a bit to allow running only
3398         the ASCII test.
3399         * iconvdata/TESTS: Add entries for IBM932 and IBM943.
3401         * iconvdata/Makefile (modules): Add IBM932 and IBM943.
3402         * iconvdata/gconv-modules: Add entries for IBM932 and IBM943.
3403         * iconvdata/ibm932.c: New file.
3404         * iconvdata/ibm932.h: New file.
3405         * iconvdata/ibm943.c: New file.
3406         * iconvdata/ibm943.h: New file.
3407         Patches by Masahide Washizawa <washi@jp.ibm.com>.
3409         * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Fix typo
3410         preventing optimization from being done.  Set the correct type bit
3411         in seen.  Don't define and use _dl_base_addr unless
3412         NEED_DL_BASE_ADDR is defined.
3414         * io/ftw.c (ftw_dir): Add slash after directory name if there
3415         wasn't any.  Reported by loris <loris@iol.it>.
3416         * io/Makefile (tests): Add bug-ftw2.
3417         * io/bug-ftw2.c: New file.
3419 2001-01-19  Ulrich Drepper  <drepper@redhat.com>
3421         * stdlib/jrand48_r.c (__jrand48_r): Correct constructing of
3422         results.  Reported by Jeff Higham <jhigham@algorithmics.com>.
3423         * stdlib/tst-rand48.c: New file.
3424         * stdlib/Makefile (tests): Add tst-rand48.
3426         * locale/newlocale.c (__newlocale): Fix test for setting all
3427         categories.
3429 2001-01-19  Mark Kettenis  <kettenis@gnu.org>
3431         * sysdeps/mach/hurd/chroot.c (chroot): Revert 1999-02-27 changes,
3432         but change looking up the initial directory port in a similar way
3433         as done by _hurd_change_directory_port_from_name.
3434         * hurd/fchroot.c (fchroot): Likewise.
3436 2001-01-18  Ulrich Drepper  <drepper@redhat.com>
3438         * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): If HAVE_AUX_XID is
3439         defined don't look whether the AT_*ID values were set.
3440         If HAVE_AUX_PAGESIZE is defined don't look whether the pagesize is set.
3441         (_dl_show_auxv): Rewrite to avoid switch statement.
3442         * sysdeps/unix/sysv/linux/kernel-features.h: Define
3443         __ASSUME_AT_PAGESIZE for kernel >= 2.4.1.
3444         * sysdeps/unix/sysv/linux/ldsodefs.h: Define HAVE_AUX_XID.
3445         Define HAVE_AUX_PAGESIZE if __ASSUME_AT_PAGESIZE is defined.
3447         * sysdeps/unix/sysv/linux/fxstat64.c: Add one __builtin_expect.
3448         * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
3449         * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
3451         * elf/rtld.c (process_envvars): Call __strtoul_internal instead of
3452         strtoul.
3453         * elf/dl-minimal.c (strtol, __strtol_internal, strtoul): Removed.
3454         (__sigjmp_save): Set __mask_was_saved to zero since we don't save
3455         anything.
3456         * dlfcn/eval.c (__strtol_internal): Define here.
3457         (eval): Use __strtol_internal instead of strtol.
3459         * elf/elf.h: Add a few more EF_MIPS_* constants.
3461 2001-01-17  Ulrich Drepper  <drepper@redhat.com>
3463         * manual/Makefile (chapters): Add debug.
3464         * manual/debug.texi: New file.
3465         * manual/examples/execinfo.c: New file.
3466         Patch by suckfish@ihug.co.nz.
3468 2001-01-17  Andreas Schwab  <schwab@suse.de>
3470         * sysdeps/m68k/bits/byteswap.h (__bswap_32): Add cast to avoid
3471         invalid asm.
3473 2001-01-17  Andreas Jaeger  <aj@suse.de>
3475         * nscd/connections.c (nscd_run): Use proper format specifier.
3477 2001-01-16  Ulrich Drepper  <drepper@redhat.com>
3479         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Move x86_cap_flags and
3480         x86_platforms data into new file after prepending _dl_.  Change
3481         users.
3482         * sysdeps/unix/sysv/linux/i386/dl-procinfo.c: New file.
3483         * sysdeps/unix/sysv/linux/i386/Dist: Add dl-procinfo.c.
3484         * sysdeps/unix/sysv/linux/i386/Makefile: Add rules to build
3485         dl-procinfo.c.
3487         * setjmp/setjmp.h: Cleanup definition of setjmp macro.
3489         * sysdeps/i386/elf/bsd-setjmp.S: Real implementation.
3490         * sysdeps/i386/elf/bsd-_setjmp.S: Removed.
3491         * sysdeps/i386/elf/setjmp.S (setjmp): Removed here.
3492         (_setjmp): Likewise.
3493         * sysdeps/i386/bsd-_setjmp.S: Real implementation.
3494         * sysdeps/i386/bsd-setjmp.S: Real implementation.
3495         * sysdeps/i386/bits/setjmp.h: Remove PUSH_SIGNAL_MASK definition.
3496         * sysdeps/i386/setjmp.S: Remove PIC support.  This is the non-ELF
3497         version.
3499 2001-01-16  Andreas Jaeger  <aj@suse.de>
3501         * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h (SIGCONTEXT): Fix
3502         misapplied last patch.
3504 2001-01-15  Ulrich Drepper  <drepper@redhat.com>
3506         * stdlib/random.c (__initstate): Clean up a cast.
3507         (__setstate): Likewise.
3509         * sysdeps/unix/sysv/linux/mips/syscalls.list: Remove select
3510         syscall handling.  The generic Linux version should work.
3512 2001-01-15  Andreas Jaeger  <aj@suse.de>
3514         * sysdeps/unix/sysv/linux/sys/sendfile.h: Fix typo.
3516         * stdio-common/tstscanf.c (main): Add two testcases for '*' modifier.
3518 2001-01-14  Jakub Jelinek  <jakub@redhat.com>
3520         * nss/getent.c (print_aliases, aliases_keys, ethers_keys,
3521         netgroup_keys, print_rpc, rpc_keys, print_shadow, shadow_keys):
3522         New functions.
3523         (group_keys, hosts_keys, network_keys, passwd_keys, protocols_keys):
3524         If number is 0, list all.
3525         (services_keys): Likewise.  Lookup aliases as well.
3526         (databases): New table.
3527         (build_doc): Prepare argp doc text with list of supported databases.
3528         (main): Change to table driven processing.
3530 2001-01-14  Thorsten Kukuk <kukuk@suse.de>
3532         * sunrpc/xdr.c (xdr_long, xdr_u_long): Fix comments about these
3533         functions.
3535 2001-01-03  Jakub Jelinek  <jakub@redhat.com>
3537         * sunrpc/xdr.c (xdr_long, xdr_u_long): Return FALSE if trying to
3538         encode value which does not fit in the 32bit type.
3540 2001-01-15  Hiroyuki Machida <machida@sm.sony.co.jp>
3542         * sysdeps/unix/sysv/linux/mips/register-dump.h (REGISTER_DUMP):
3543         Change type of CTX to (struct sigcontext *).
3544         * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h (GET_PC): Likewise.
3545         (GET_FRAME): Likewise.
3546         (GET_STACK): Likewise.
3547         (SIGCONTEXT): Likewise. Add 2nd arg _code.
3548         (SIGCONTEXT_EXTRA_ARGS): Add 2nd arg _code.
3550 2001-01-13  Ulrich Drepper  <drepper@redhat.com>
3552         * manual/texinfo.tex: Update from upstream version.
3554 2001-01-13  Jakub Jelinek  <jakub@redhat.com>
3556         * inet/ether_ntoh.c (lookup_function): Change arguments to match
3557         _nss_*_getntohost_r prototype.
3558         (ether_ntohost): Pass errno pointer to NSS function.
3560 2001-01-12  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
3562         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MS_SYNC): Fix value.
3563         (MAP_LOCKED): New definition.
3564         (MAP_NORESERVE): New definition.
3566 2001-01-12  Ulrich Drepper  <drepper@redhat.com>
3568         * assert/assert.h: Use static_cast instead of C-style cast for C++.
3569         Patch by Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>.
3571 2001-01-12  Ben Collins  <bcollins@debian.org>
3573         * sysdeps/generic/segfault.c (install_handler): Use access, not
3574         __access.
3576 2001-01-12  Andreas Jaeger  <aj@suse.de>
3578         * posix/fnmatch_loop.c (FCT): Remove signed warnings.
3579         * posix/wordexp.c (do_parse_glob): Likewise.
3580         * sysdeps/posix/sigblock.c (__sigblock): Likewise.
3581         * sysdeps/posix/sigsetmask.c (__sigsetmask): Likewise.
3582         * elf/dl-open.c (_dl_open): Likewise.
3583         * elf/dl-close.c (_dl_close): Likewise.
3584         * elf/dl-load.c (_dl_map_object): Likewise.
3585         * iconv/iconv_prog.c (process_fd): Likewise.
3586         * stdio-common/vfscanf.c (_IO_vfscanf): Likewise.
3588         * locale/localeinfo.h (struct locale_data): Use __flexarr instead
3589         of a zero-length array.
3591 2001-01-11  Jakub Jelinek  <jakub@redhat.com>
3593         * stdlib/cxa_atexit.c (__cxa_atexit): Cast to (void *, int) func.
3594         * stdlib/cxa_finalize.c (__cxa_finalize): Add hidden second argument.
3595         * stdlib/cxa_on_exit.c: Remove.
3596         * stdlib/Makefile: Revert last patch.
3597         * stdlib/Versions: Likewise.
3598         * include/stdlib.h: Likewise.
3599         * stdlib/exit.h: Revert last patch.
3600         (struct exit_function): Add second argument to cxa fn.
3601         * stdlib/exit.c: Revert last patch.
3602         (exit): Add hidden second argument.
3604 2001-01-11  H.J. Lu  <hjl@gnu.org>
3606         * elf/dl-libc.c (do_dlopen): Move DL_STATIC_INIT to ...
3607         * elf/dl-open.c (_dl_open): Here.
3608         * sysdeps/unix/sysv/linux/ia64/dl-static.c (_dl_static_lock):
3609         Make it static.
3610         (_dl_static_init): Initialize the variables every time when possible.
3611         * sysdeps/unix/sysv/linux/ia64/ldsodefs.h (DL_STATIC_INIT):
3612         Undefine it first.
3614 2001-01-11  Ulrich Drepper  <drepper@redhat.com>
3616         * stdlib/Makefile (routines): Add cxa_on_exit.
3617         * stdlib/Versions [libc] (GLIBC_2.2.1): Add __cxa_on_exit.
3618         * stdlib/cxa_on_exit.c: New file.
3619         * include/stdlib.h: Add prototype for __cxa_on_exit.
3620         * stdlib/exit.c: Handle ef_cxa2.
3621         * stdlib/exit.h (enum): Add ef_cxa2.
3622         (struct exit_function): Add cxa2.
3624         * Versions.def [ld]: Add GLIBC_2.2.1.
3626 2001-01-10  H.J. Lu  <hjl@gnu.org>
3628         * elf/dl-libc.c (do_dlopen): Call DL_STATIC_INIT for static binaries.
3629         * sysdeps/unix/sysv/linux/ia64/Makefile (sysdep-dl-routines): Add
3630         dl-static.
3631         * sysdeps/unix/sysv/linux/ia64/Versions (ld): Add _dl_var_init.
3632         * sysdeps/generic/ldsodefs.h (DL_STATIC_INIT): Defined if not defined.
3633         * sysdeps/unix/sysv/linux/ia64/ldsodefs.h: New file.
3634         * sysdeps/unix/sysv/linux/ia64/dl-static.c: New file.
3635         * sysdeps/unix/sysv/linux/ia64/Dist: Add dl-static.c.
3637 2001-01-11  Ulrich Drepper  <drepper@redhat.com>
3639         * libio/stdio.h: Remove definition of off_t.
3641 2001-01-11  Andreas Jaeger  <aj@suse.de>
3643         * wcsmbs/tst-mbrtowc.c (utf8_test): New function by Markus Kuhn
3644         <mkuhn@acm.org>.
3646 2001-01-10  Ulrich Drepper  <drepper@redhat.com>
3648         * sunrpc/Makefile (distribute): Add errqueue.h.
3650 2001-01-10  H.J. Lu  <hjl@gnu.org>
3652         * sysdeps/ia64/dl-machine.h (TRAMPOLINE_TEMPLATE): Also preserve
3653         r9, r10 and r11 for language specific registers.
3655 2001-01-10  Jakub Jelinek  <jakub@redhat.com>
3657         * sunrpc/clnt_udp.c (clntudp_bufcreate): Set IP_RECVERR on the
3658         UDP socket.
3659         (clntudp_call): Handle MSG_ERRQUEUE.
3660         * sysdeps/generic/errqueue.h: New file.
3661         * sysdeps/unix/sysv/linux/errqueue.h: New file.
3663 2001-01-10  H.J. Lu  <hjl@gnu.org>
3665         * sysdeps/unix/sysv/linux/ia64/syscalls.list (s_getpagesize): Removed.
3667 2001-01-10  Joseph S. Myers  <jsm28@cam.ac.uk>
3669         * CONFORMANCE: Update.
3671 2001-01-09  Ulrich Drepper  <drepper@redhat.com>
3673         * sysdeps/generic/elf/backtracesyms.c (__backtrace_symbols):
3674         Minimal cleanups.  Add assert to ensure memory handling is correct.
3676         * manual/conf.texi (File Minimums): Fix _POSIX_PATH_MAX value.
3677         Reported by Ben Collins <bcollins@debian.org>.
3679         * time/strftime.c (my_strftime): Mark previous GNU extensions
3680         which are now in C99 as such.
3682 2001-01-08  Ulrich Drepper  <drepper@redhat.com>
3684         * elf/rtld.c (process_envvars): Place output files for profiling
3685         in SUID binaries in /var/profile.
3687         * elf/dl-load.c (_dl_map_object): Don't look in cache for
3688         preloading in SUID binaries.
3690         * elf/dl-profile.c (_dl_start_profile): Open the output file with
3691         O_NOFOLLOW if possible.
3693         * include/stdlib.h: Add __posix_openpt declaration.
3694         * stdlib/stdlib.h: Add posix_openpt declaration.
3695         * login/Versions: Add posix_openpt for GLIBC_2.2.1.
3696         * sysdeps/generic/getpt.c: Define posix_openpt.
3697         * sysdeps/unix/bsd/getpt.c: Likewise.
3698         * sysdeps/unix/sysv/linux/getpt.c: Likewise.
3700         * time/Makefile (tests): Add tst-mktime.
3701         * time/tst-mktime.c: New file.
3703         * posix/tst-dir.c (main): One more mkdir() test.
3705         * sysdeps/unix/sysv/linux/ia64/getpagesize.c (__getpagesize):
3706         Remove getpagesize syscall.  We assume that the pagesize is always
3707         determined from the auxiliary vector.
3709         * intl/dcigettext.c: Fix a few warnings.
3710         Patch by Bruno Haible <haible@ilog.fr>.
3712 2001-01-08  Andreas Jaeger  <aj@suse.de>
3714         * io/test-lfs.c (do_test): Check lseek64 return for EINVAL.
3715         Reported by Joseph S. Myers <jsm28@cam.ac.uk>.
3717 2001-01-08  Ulrich Drepper  <drepper@redhat.com>
3719         * sysdeps/generic/segfault.c (install_handler): Check output file
3720         name with access().
3722         * resolv/res_query.c: Use simply getenv() for HOSTALIASES.
3723         * sysdeps/generic/unsecvars.h (UNSECURE_ENVVARS): Add HOSTALIASES.
3725         * sysdeps/generic/unsecvars.h (UNSECURE_ENVVARS): Add missing comma.
3727         * malloc/memusage.c (me): Use access() to determine whether we
3728         should write the output file or not.
3730         * libio/bits/stdio.h (printf): Define macro to map printf call to
3731         fprintf which gcc can optimize.
3732         * stdio-common/printf.c: Undefine printf.
3734 2001-01-07  Ulrich Drepper  <drepper@redhat.com>
3736         * sysdeps/generic/bits/byteswap.h (__bswap_64): Partly revert last
3737         patch.  We must use unsigned int for l member of union.
3739         * sysdeps/powerpc/elf/libc-start.c (__libc_start_main): Don't call
3740         _dl_aux_init for shared libraries.
3742         * sysdeps/unix/sysv/linux/glob64.c: Moved to ...
3743         * sysdeps/gnu/glob64.c: ...here.  New file.
3745 2001-01-07  Ben Collins  <bcollins@debian.org>
3747         * manual/examples/longopt.c: Make the "struct option" a little
3748         more like it should be, adding usage of required_argument,
3749         noargument and such, and also setting the options string right.
3751         * manual/sysinfo.texi (Load Average): New section, documents
3752         getloadavg().
3754 2001-01-06  Ulrich Drepper  <drepper@redhat.com>
3756         * version.h (VERSION): Bump to 2.2.1.
3758         * sysdeps/unix/sysv/linux/mips/Dist: Remove sys/acct.h.
3759         * sysdeps/alpha/Dist: Add alphaev6/stxncpy.S and alphaev6/stxcpy.S.
3760         * sysdeps/unix/sysv/aix/Dist: Add uitrunc.c, savef.S, and restf.S.
3761         * dlfcn/Makefile (distribute): Add errmsg1mod.c.
3762         * Makefile (distribute): Add include/libc-internal.h.
3763         * libio/Makefile (distribute): Avoid overwriting.
3765         * iconvdata/ibm937.c (BODY to IBM937): Correct several mistakes in
3766         buffer and table handling.
3768 2001-01-05  H.J. Lu  <hjl@gnu.org>
3770         * elf/dl-support.c (non_dynamic_init): Move the auxiliary
3771         vector checking to ...
3772         (_dl_aux_init): Here. New function. Defined only if
3773         HAVE_AUX_VECTOR is defined.
3775         * sysdeps/generic/libc-start.c (__libc_start_main): Call
3776         _dl_aux_init for static binaries if HAVE_AUX_VECTOR is defined.
3778         * sysdeps/powerpc/elf/libc-start.c (__libc_start_main): Call
3779         _dl_aux_init.
3781         * sysdeps/unix/sysv/linux/ldsodefs.h (DL_FIND_AUXV): Removed.
3782         (HAVE_AUX_VECTOR): Defined.
3783         (_dl_aux_init): Declared.
3785 2001-01-05  Ben Collins  <bcollins@debian.org>
3787         * manual/string.texi (Finding Tokens in a String): Document XPG
3788         basename() and dirname(), as well as GNU basename().
3790 2001-01-05  Jakub Jelinek  <jakub@redhat.com>
3792         * Makeconfig (preprocess-version): Replace -traditional with
3793         -x assembler-with-cpp.
3795 2001-01-05  Joseph S. Myers  <jsm28@cam.ac.uk>
3797         * math/bits/cmathcalls.h: Don't define inline cimag, creal or conj
3798         for GCC 2.97 or later.
3800 2001-01-05  Ben Collins  <bcollins@debian.org>
3802         * manual/stdio.texi (getline): Clarify the return value in the
3803         case of EOF being reached before a newline.
3805 2001-01-04  Jakub Jelinek  <jakub@redhat.com>
3807         * sunrpc/pmap_clnt.c (__get_myaddress): Return TRUE if successful,
3808         FALSE otherwise.
3809         (pmap_set, pmap_unset): Check __get_myaddress return value.
3811 2001-01-05  Mark Kettenis  <kettenis@gnu.org>
3813         * sysdeps/generic/netinet/if_ether.h: Include <sys/types.h>.
3814         (struct ether_addr): Declare ether_addr_octet member as
3815         `u_int8_t'.  Add __attribute__ ((__packed__)).
3817 2001-01-06  Mark Kettenis  <kettenis@gnu.org>
3819         * sysdeps/mach/hurd/readdir64.c: New file.
3820         * sysdeps/mach/hurd/readdir64_r.c: New file.
3822 2001-01-07  Mark Kettenis  <kettenis@gnu.org>
3824         * sysdeps/mach/hurd/fstatvfs.c (fstatvfs): Add comment about
3825         `struct statfs' and `struct statvfs' being identical.
3826         * sysdeps/mach/hurd/statvfs.c (statvfs): Likewise.
3828 2001-01-06  Mark Kettenis  <kettenis@gnu.org>
3830         * sysdeps/mach/hurd/fstatfs64.c: New file.
3831         * sysdeps/mach/hurd/fstatvfs64.c: New file.
3832         * sysdeps/mach/hurd/statfs64.c: New file.
3833         * sysdeps/mach/hurd/statvfs64.c: New file.
3834         * sysdeps/mach/hurd/statfsconv.c: New file.
3835         * sysdeps/mach/hurd/Dist: Add statfsconv.c.
3837 2001-01-06  Ulrich Drepper  <drepper@redhat.com>
3839         * iconv/skeleton.c: Reset outbuf for next round of the loop.
3840         Reported by Owen Taylor <otaylor@redhat.com>.
3841         * iconv/Makefile (tests): Add tst-iconv3.
3842         * iconv/tst-iconv3.c: New file.
3844         * iconvdata/ibm930.c: Fix handling of state.  Optimize a bit.
3845         * iconvdata/ibm933.c: Likewise.
3846         * iconvdata/ibm935.c: Likewise.
3847         * iconvdata/ibm937.c: Likewise.
3848         * iconvdata/ibm939.c: Likewise.
3849         * iconvdata/ibm930.h: Adjust single byte table for optimization.
3850         * iconvdata/ibm933.h: Likewise.
3851         * iconvdata/ibm935.h: Likewise.
3852         * iconvdata/ibm939.h: Likewise.
3854         * iconvdata/testdata/IBM930: Add misssing SI.
3855         * iconvdata/testdata/IBM933: Likewise.
3856         * iconvdata/testdata/IBM935: Likewise.
3857         * iconvdata/testdata/IBM937: Likewise.
3858         * iconvdata/testdata/IBM939: Likewise.
3860 2001-01-06  Andreas Jaeger  <aj@suse.de>
3862         * configure.in: Check for old add-ons that shouldn't be used with
3863         current glibc anymore.
3865 2001-01-06  Mark Kettenis  <kettenis@gnu.org>
3867         * sysdeps/mach/hurd/readdir_r.c (__readdir_r): Return error number
3868         instead of -1 on failure.  Don't forget to copy file name into
3869         *ENTRY if successful.  Set *RESULT to NULL upon reaching the end
3870         of the directory.
3872 2001-01-06  Mark Kettenis  <kettenis@gnu.org>
3874         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Don't forget to
3875         copy st_atime member.
3877 2001-01-05  Ulrich Drepper  <drepper@redhat.com>
3879         * io/ftw.c (ftw_dir): Don't add a second slash at the beginning
3880         for searches from the root directory.
3881         Reported by loris <loris@iol.it> [PR libc/1991].
3882         * io/Makefile (tests): Add bug-ftw1.
3883         * io/bug-ftw1.c: New file.
3885         * elf/dl-support.c (non_dynamic_init): Don't define DL_FIND_AUXV
3886         if it is not available.  Instead use it only if it is available.
3887         * sysdeps/unix/sysv/linux/ldsodefs.h: New file.
3889         * iconv/gconv_simple.c (internal_ics4_loop): Correct test for
3890         overflowing output buffer.
3891         (internal_ucs4_loop_unaligned): Likewise.
3892         (ucs4_internal_loop): Likewise.
3893         (ucs4_internal_loop_unaligned): Likewise.
3894         (internal_ucs4le_loop): Likewise.
3895         (internal_ucs4le_loop_unaligned): Likewise.
3896         (ucs4le_internal_loop): Likewise.
3897         (ucs4le_internal_loop_unaligned): Likewise.
3898         Reported by Owen Taylor <otaylor@redhat.com>.
3899         * iconv/Makefile (tests): Add tst-iconv2.
3900         * iconv/tst-iconv2.c: New file.
3902 2001-01-04  H.J. Lu  <hjl@gnu.org>
3904         * elf/dl-support.c (DL_FIND_AUXV): New.  Defined if not defined.
3905         (_dl_clktck): Declared.
3906         (non_dynamic_init): Take 3 arguments.
3907         Set _dl_pagesize, _dl_platform and _dl_clktck from AUX.
3909 2001-01-01  Bruno Haible  <haible@clisp.cons.org>
3911         Finish implementation of plural form handling.
3912         * intl/dcigettext.c (known_translation_t): Rename 'domain' field to
3913         'domainname'.  Remove 'plindex' field. Add 'domain' and
3914         'translation_length' fields.
3915         (transcmp): Don't compare 'plindex' fields.
3916         (plural_lookup): New function.
3917         (DCIGETTEXT): Change cache handing in the plural case.  Don't call
3918         plural_eval before the translation and its catalog file have been
3919         found. Remove plindex from cache key.  Add 'translation_length' and
3920         'domain' to cache result.
3921         (_nl_find_msg): Remove index argument, return length of translation
3922         to the caller instead.  Weaken comparison of string lengths, to account
3923         for plural entries.  Call iconv() on the entire result string, not
3924         only on the portion needed so far.
3925         * intl/loadinfo.h (_nl_find_msg): Remove index argument, add lengthp
3926         argument.
3927         * intl/loadmsgcat.c (_nl_load_domain): Adapt to _nl_find_msg change.
3929 2001-01-04  Ulrich Drepper  <drepper@redhat.com>
3931         * intl/plural.y (yylex): Minimal improvement in number scanner.
3933 2000-07-31  Bruno Haible  <haible@clisp.cons.org>
3935         * intl/plural.y: Include config.h. Needed to define 'inline' away for
3936         C compilers that don't support it.
3937         (yylex): Don't use gcc specific case range syntax.
3938         * intl/loadmsgcat.c (INIT_GERMANIC_PLURAL): New macro, for old
3939         compilers.
3941 2000-10-12  Bruno Haible  <haible@clisp.cons.org>
3943         * intl/finddomain.c: Remove unneeded includes.
3945 2000-10-12  Bruno Haible  <haible@clisp.cons.org>
3947         * intl/localealias.c (memcpy): Return first argument, just like the
3948         real memcpy function does.
3949         * intl/bindtextdom.c (memcpy): Likewise.
3950         * intl/finddomain.c (memcpy): Likewise.
3951         * intl/l10nflist.c (memcpy): Likewise.
3952         * intl/textdomain.c (memcpy): Likewise.
3953         From Paul Eggert <eggert@twinsun.com>.
3955 2001-01-03  Jakub Jelinek  <jakub@redhat.com>
3957         * resolv/resolv.h (struct __res_state): Add nsinit field.
3958         * resolv/res_send.c (res_nsend): Use it instead of nscount.
3959         * resolv/res_init.c (__res_vinit): Initialize it.
3960         (res_nclose): Clear it instead of nscount.
3962 2001-01-04  Ulrich Drepper  <drepper@redhat.com>
3964         * malloc/mtrace.pl: Fix matching of addresses.
3965         Patch by Aharon Robbins <arnold@skeeve.com>.
3967         * Versions.def (ld): Add GLIBC_2.2.
3969         * catgets/gencat.c: Copyright 2001.
3970         * csu/version.c: Likewise.
3971         * debug/catchsegv.sh: Likewise.
3972         * debug/xtrace.sh: Likewise.
3973         * elf/ldconfig.c: Likewise.
3974         * elf/sprof.c: Likewise.
3975         * iconv/iconv_prog.c: Likewise.
3976         * locale/locale.c: Likewise.
3977         * locale/localedef.c: Likewise.
3978         * malloc/memusage.sh: Likewise.
3979         * malloc/mtrace.pl: Likewise.
3980         * nscd/nscd.c: Likewise.
3981         * posix/getconf.c: Likewise.
3983 2001-01-04  Mark Kettenis  <kettenis@gnu.org>
3985         * include/stdio.h: Only provide __getwc_unlocked prototype if
3986         USE_IN_LIBIO is defined.
3988 2001-01-04  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
3990         * sysdeps/unix/sysv/linux/sh/socket.S (__socket): Fix error code
3991         handling.
3993 2001-01-03  Andreas Schwab  <schwab@suse.de>
3995         * sysdeps/generic/strtoll.c: Remove unused __strtoq_internal alias.
3996         * sysdeps/generic/strtoull.c: Remove unused __strtouq_internal alias.
3998         * sysdeps/wordsize-64/strtol.c: Add strtoq alias and fix strtoll alias.
3999         * sysdeps/wordsize-64/strtoul.c: Add strtouq alias and fix
4000         strtoull alias.
4001         * sysdeps/wordsize-64/wcstol.c: Add wcstoq alias and fix wcstoll alias.
4002         * sysdeps/wordsize-64/wcstoul.c: Add wcstouq alias and fix
4003         wcstoull alias.
4005         * sysdeps/generic/strtoul.c: Make sure we find strtol.c in this
4006         directory.
4007         * sysdeps/generic/strtol_l.c: Likewise.
4008         * sysdeps/generic/strtoul_l.c: Likewise.
4009         * sysdeps/generic/wcstoul.c: Likewise, for wcstol.c.
4011         * sysdeps/wordsize-64/strtol_l.c: Fix alias.
4012         * sysdeps/wordsize-64/strtoul_l.c: Likewise.
4013         * sysdeps/wordsize-64/wcstol_l.c: Fix alias.
4014         * sysdeps/wordsize-64/wcstoul_l.c: Likewise.
4016 2001-01-04  Andreas Jaeger  <aj@suse.de>
4018         * nss/nsswitch.c: Include files for missing prototypes, remove
4019         buggy declaration of prototypes.
4021 2001-01-03  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
4023         * resolv/Versions: Fix bracing.
4024         * sysdeps/powerpc/soft-fp/Versions: Likewise.
4025         * sysdeps/sparc/sparc64/soft-fp/Versions: Likewise.
4027 2001-01-02  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
4029         * sysdeps/powerpc/dl-machine.c (__process_machine_rela): Fix typo.
4031 2001-01-02  Ulrich Drepper  <drepper@redhat.com>
4033         * manual/Makefile (TEXI2PDF): Change to texi2dvi --pdf.
4034         Suggested by Minko Markov <mmarkov@home.com>.
4036 2001-01-02  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
4038         * sysdeps/powerpc/elf/start.S (__data_start): Make it global.
4039         * sysdeps/powerpc/dl-machine.c (dl_reloc_overflow): Print the name of
4040         the failing symbol.
4041         (__process_machine_rela): Pass symbol to dl_reloc_overflow().
4043 2001-01-02  Ben Collins  <bcollins@debian.org>
4045         * time/tzset.c (tzset_internal): Make sure we fall back to UTC
4046         if TZ is not set and TZDEFAULT is not present.
4048 2001-01-01  Ben Collins  <bcollins@debian.org>
4050         * string/strings.h: Make sure we declare our functions even if
4051         string.h is already included, based on whether or not __USE_BSD is
4052         defined.
4054 2001-01-02  Ulrich Drepper  <drepper@redhat.com>
4056         * dlfcn/dlerror.c (dlerror): Handle call of dlerror() before any
4057         other dlopen() and dlsym().
4058         Based on a patch by Ben Collins <bcollins@debian.org>.
4060 2001-01-02  Andreas Jaeger  <aj@suse.de>
4062         * dlfcn/errmsg1.c (main): Call dlerror initially.
4063         Reported by Ben Collins <bcollins@debian.org>.
4065 2001-01-02  Ulrich Drepper  <drepper@redhat.com>
4067         * intl/dcigettext.c (guess_category_value): Rewrite so that LANGUAGE
4068         value is ignored if the selected locale is the C locale.
4069         * intl/tst-gettext.c: Set locale for above change.
4070         * intl/tst-translit.c: Likewise.
4072 2001-01-02  Andreas Jaeger  <aj@suse.de>
4074         * libio/wgenops.c (_IO_wdoallocbuf): Use correct wide access macro.
4075         (_IO_switch_to_wget_mode): Likewise.
4076         (_IO_sputbackwc): Likewise.
4077         (_IO_sungetwc): Use wint_t for result.
4079         * stdio-common/vfscanf.c (__vfscanf): Use WINT_T for done.
4081         * sysdeps/generic/strtol.c (strtol): Make cnt size_t for correct
4082         signedness.
4084         * sysdeps/generic/printf_fphex.c (putc): Cast _IO_putwc_unlocked
4085         to (int) to avoid warnings.
4086         * stdio-common/printf_fp.c (putc): Likewise.
4087         * stdio-common/printf_size.c (putc): Likewise.
4089         * sysdeps/generic/dl-sysdep.c (_dl_important_hwcaps): Make
4090         constant unsigned.
4092 2001-01-01  Andreas Jaeger  <aj@suse.de>
4094         * inet/rcmd.c (rcmd_af): Use socklen_t for len.
4096 2000-12-31  Andreas Jaeger  <aj@suse.de>
4098         * include/libc-internal.h: Add prototype for __libc_freeres.
4100         * sysdeps/unix/sysv/linux/init-first.c: Include <libc-internals.h>
4101         for prototypes, remove redundant prototypes.
4102         * gmon/gmon.c: Likewise.
4103         * sysdeps/unix/i386/i586/clock_getres.c: Likewise.
4104         * sysdeps/unix/i386/i586/clock_gettime.c: Likewise.
4105         * malloc/mtrace.c: Likewise.
4107         * sysdeps/generic/enbl-secure.c: Include <libc-internals.h> for
4108         prototypes.
4109         * elf/soinit.c: Likewise.
4110         * sysdeps/generic/prof-freq.c: Likewise.
4111         * sysdeps/mach/hurd/profil.c: Likewise.
4112         * debug/noophooks.c: Likewise.
4113         * debug/pcprofile.c: Likewise.
4114         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Likewise.
4115         * sysdeps/generic/get_clockfreq.c: Likewise.
4116         * malloc/set-freeres.c: Likewise.
4118         * locale/localeinfo.h: Add internal prototypes.
4120         * elf/rtld.c (dl_main): Fix prototype.
4122         * iconvdata/tst-table-to.c (main): Use return instead of exit to
4123         avoid warning.
4125         * nis/rpcsvc/yp_prot.h: Remove __P.
4126         * nis/rpcsvc/ypupd.h: Likewise.
4127         * nis/rpcsvc/yp.h: Likewise.
4129         * sunrpc/rpc_main.c: Add noreturn attributes.
4130         * sunrpc/rpc_scan.h: Likewise.
4132         * sunrpc/rpc_hout.c (storexdrfuncdecl): Make static.
4134         * sunrpc/rpcinfo.c: Add noreturn attribute to brdcst.
4136         * sunrpc/proto.h: Add noreturn attributes to error and crash.
4138         * posix/bsd-getpgrp.c: Add prototype to avoid warning.
4140         * sunrpc/svc_unix.c: Include <rpc/svc.h> for prototypes.
4142         * sunrpc/create_xid.c: Include <rpc/svc.h> for prototypes.
4144         * include/rpc/rpc_msg.h: Add prototypes for some functions.
4145         * include/rpc/auth.h: Likewise.
4146         * include/rpc/auth_des.h: Likewise.
4147         * include/rpc/clnt.h: Likewise.
4148         * include/rpc/rpc.h: Likewise.
4149         * include/rpc/svc.h: Likewise.
4150         * include/rpc/svc_auth.h: Likewise.
4152         * include/rpc/des_crypt.h: New file.
4154         * malloc/memusagestat.c (main): Use return instead of exit to
4155         avoid warning.
4156         * io/pwd.c (main): Likewise.
4157         * iconvdata/tst-table-from.c (main): Likewise.
4158         * ctype/test_ctype.c (main): Likewise.
4159         * setjmp/tst-setjmp.c (main): Likewise.
4160         * signal/tst-signal.c (main): Likewise.
4161         * stdlib/tst-strtol.c (main): Likewise.
4162         * stdlib/tst-strtod.c (main): Likewise.
4163         * stdlib/tst-strtoll.c (main): Likewise.
4164         * stdlib/tst-xpg-basename.c (main): Likewise.
4165         * dirent/tst-seekdir.c (main): Likewise.
4166         * grp/testgrp.c (main): Likewise.
4167         * inet/test_ifindex.c (main): Likewise.
4168         * io/test-utime.c (main): Likewise.
4169         * posix/test-vfork.c (main): Likewise.
4170         * posix/testfnm.c (main): Likewise.
4171         * stdio-common/temptest.c (main): Likewise.
4172         * stdio-common/test_rdwr.c (main): Likewise.
4173         * stdio-common/tst-fileno.c (main): Likewise.
4174         * stdio-common/tst-sscanf.c (main): Likewise.
4175         * stdio-common/tstscanf.c (main): Likewise.
4176         * string/bug-strncat1.c (main): Likewise.
4177         * string/bug-strpbrk1.c (main): Likewise.
4178         * string/bug-strspn1.c (main): Likewise.
4179         * string/test-ffs.c (main): Likewise.
4180         * string/tst-inlcall.c (main): Likewise.
4181         * string/tst-svc.c (main): Likewise.
4182         * timezone/test-tz.c (main): Likewise.
4183         * wctype/test_wcfuncs.c (main): Likewise.
4184         * wctype/test_wctype.c (main): Likewise.
4186         * stdlib/tst-random.c: Add attribute noreturn to fail.
4188 2000-12-28  Wolfram Gloger  <wg@malloc.de>
4190         * malloc/malloc.c (MALLOC_COPY): Handle case if source and
4191         destination overlap.  Assume dest is always below source if
4192         overlapping.
4194 2000-12-30  Ulrich Drepper  <drepper@redhat.com>
4196         * elf/dl-close.c (_dl_close): We can ignore the NODELETE flag if the
4197         object was not yet initialized.
4199 2000-12-28  H.J. Lu  <hjl@gnu.org>
4201         * elf/dl-deps.c (_dl_map_object_deps): Make sure the DSO state
4202         is always consistent even if its dependency is failed.
4204         * elf/dl-open.c (_dl_open): Increment the open count before
4205         calling _dl_close () in case of failure.
4207         * elf/neededtest4.c: New file.
4208         * elf/neededobj5.c: New file.
4209         * elf/neededobj6.c: New file.
4211         * elf/Makefile (distribute): Add neededobj5.c and neededobj6.c.
4212         (tests): Add neededtest4.
4213         (modules-names): Add neededobj5 and neededobj6.
4214         ($(objpfx)neededobj6.so): New target.
4215         ($(objpfx)neededtest4): New target.
4216         ($(objpfx)neededtest4.out): New target.
4218 2000-12-28  Joseph S. Myers  <jsm28@cam.ac.uk>
4220         * misc/sys/cdefs.h (__attribute_format_strfmon__): Define.
4221         * stdlib/monetary.h: Add strfmon format attributes.
4223 2000-12-28  Roland McGrath  <roland@frob.com>
4225         * sysdeps/mach/hurd/ioctl.c (do_ioctl): Avoid double-increment after
4226         __mempcpy does it for us.
4228 2000-12-28  Andreas Jaeger  <aj@suse.de>
4230         * sysdeps/generic/dl-environ.c: Add prototype for unsetenv.
4232         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Add prototype for
4233         __new_setrlimit.
4235         * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Add prototype for
4236         __old_getrlimit64.
4238         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Add prototype for
4239         __new_getrlimit.
4241         * sysdeps/unix/sysv/linux/i386/chown.c: Add prototypes for
4242         __chown_is_lchown and __real_chown.
4244         * sysdeps/generic/ldsodefs.h: Add noreturn attribute to
4245         _dl_reloc_bad_type.
4247         * sunrpc/rpc_hout.c (print_funcdef): Add break statement to shut
4248         up GCC's warning about "deprecated use of label at end of compound
4249         statement."
4250         * sunrpc/rpc_cout.c (emit_inline): Likewise.
4252         * gmon/bb_exit_func.c: Include <sys/gmon.h> for internal
4253         prototypes.
4254         Remove struct bb and __bb_head since those are declared by
4255         sys/gmon.h.
4257 2000-12-22  Ben Collins  <bcollins@debian.org>
4259         * manual/charset.texi: Fix typo in description of WCHAR_MAX.
4261         * manual/argp.texi: Document argp_domain as part of struct argp.
4263 2000-12-28  Andreas Jaeger  <aj@suse.de>
4265         * catgets/Makefile (generated): Add sample.SJIS.cat.
4267         * sunrpc/rpc_dtable.c: Include rpc/clnt.h for prototypes.
4269         * elf/dl-minimal.c: Add prototypes.
4271         * include/locale.h: Add internal prototypes.
4272         * include/sys/gmon.h: Likewise.
4274         * dlfcn/errmsg1mod.c: Add prototype for foo to shut up GCC.
4276 2000-12-27  Ben Collins  <bcollins@debian.org>
4278         * elf/dl-open.c (_dl_open): Correctly set the new objname pointer
4279         when reallocating the error strings.
4280         Reported by Kalle Olavi Niemitalo <kon@iki.fi>
4282 2000-12-27  Ulrich Drepper  <drepper@redhat.com>
4284         * dlfcn/Makefile (tests): Add errmsg1.
4285         (modules-names): Add errmsg1mod.
4286         Add rules to run errmsg1.
4287         * dlfcn/errmsg1.c: New file.
4288         * dlfcn/errmsg1mod.c: New file.
4290         * dlfcn/dlerror.c (dlerror): Always create output string which
4291         includes object file name.
4293         * sysdeps/alpha/alphaev6/memcpy.S: Don't go through unrolled loop
4294         if we would go through it only once.
4295         Patch by Rick Gorton <rick.gorton@api-networks.com>.
4297         * sysdeps/alpha/alphaev67/strncat.S: Fix handling of numeric parameter.
4298         Patch by Richard Henderson <rth@redhat.com>.
4300 2000-12-27  Jakub Jelinek  <jakub@redhat.com>
4302         * malloc/malloc.c (memmove): Add prototypes.
4303         (MALLOC_MEMMOVE): Define.
4304         (chunk_realloc): Use it instead of MALLOC_COPY if source and
4305         destination might overlap.
4307 2000-12-27  Andreas Jaeger  <aj@suse.de>
4309         * stdio-common/printf_fp.c (__printf_fp): Add prototype for nested
4310         function.
4311         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
4312         * locale/programs/locale.c (show_locale_vars): Likewise.
4313         (show_info): Likewise.
4314         * locale/programs/ld-collate.c (collate_output): Likewise.
4315         * locale/programs/ld-ctype.c (set_class_defaults): Likewise.
4316         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
4317         * stdlib/rpmatch.c (rpmatch): Likewise.
4319         * setjmp/tst-setjmp.c: Make local functions static.
4320         * setjmp/jmpbug.c: Likewise.
4321         * signal/tst-signal.c: Likewise.
4322         * stdio-common/tfformat.c: Likewise.
4323         * string/tst-svc.c: Likewise.
4324         * time/clocktest.c: Likewise.
4325         * time/tst-getdate.c: Likewise.
4326         * dirent/list.c: Likewise.
4327         * dirent/opendir-tst1.c: Likewise.
4328         * posix/runtests.c: Likewise.
4329         * posix/tst-getaddrinfo.c: Likewise.
4330         * posix/tst-chmod.c: Likewise.
4331         * posix/wordexp-test.c: Likewise.
4332         * misc/tst-efgcvt.c: Likewise.
4333         * timezone/tst-timezone.c: Likewise.
4334         * rt/tst-clock.c: Likewise.
4335         * rt/tst-shm.c: Likewise.
4336         * rt/tst-aio2.c: Likewise.
4337         * rt/tst-aio3.c: Likewise.
4338         * rt/tst-aio4.c: Likewise.
4339         * rt/tst-aio5.c: Likewise.
4341         * dlfcn/failtest.c: Add prototype for foo.
4343         * dlfcn/glrefmain.c: Add prototype for do_test.
4345         * dlfcn/tst-dladdr.c: Add prototype for do_test.
4347         * string/test-ffs.c (main): Add prototype for nested function.
4349         * sunrpc/des_soft.c: Include rpc/des_crypt.h for prototype.
4351         * nss/XXX-lookup.c: Add prototype to shut up GCC.
4353         * include/netinet/ether.h (DECLARE_NSS_PROTOTYPES): Fix
4354         setetherent prototype.
4355         Add internal interfaces.
4357         * nis/nss_nis/nis-ethers.c (_nss_nis_setetherent): Likewise.
4358         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent): Likewise.
4360         * resolv/res_data.c: Don't add (conflicting) prototypes for _LIBC.
4362         * nis/nis_intern.h: Add prototype for __pmap_getnisport.
4364         * nss/nss_files/files-ethers.c: Include netinet/ether.h to get
4365         prototypes, remove struct etherent since it's declared in ether.h.
4366         Fix ntohost declaration.
4368         * elf/dl-profile.c (_dl_mcount): Add empty statement to shut up GCC.
4370         * include/getopt.h: Add internal interfaces.
4371         * include/termios.h: Likewise.
4372         * include/resolv.h: Likewise.
4373         * include/netdb.h: Likewise.
4374         * include/grp.h: Likewise.
4375         * include/pwd.h: Likewise.
4376         * include/shadow.h: Likewise.
4377         * include/rpc/netdb.h: Likewise.
4378         * include/setjmp.h: Likewise.
4380         * include/stdio.h: Add prototypes for compatibility functions.
4381         * include/grp.h: Likewise.
4382         * include/pwd.h: Likewise.
4383         * include/shadow.h: Likewise.
4385         * include/fenv.h: Define internal interfaces.
4387 2000-12-27  Ulrich Drepper  <drepper@redhat.com>
4389         * sysdeps/generic/bits/byteswap.h (__bswap_64): Handle constant
4390         argument case separately.
4391         * sysdeps/i386/bits/byteswap.h (__bswap_64): Likewise.
4393 2000-12-27  Andreas Jaeger  <aj@suse.de>
4395         * include/sys/wait.h: Add some prototypes.
4396         * Rules (dummy.c): Create also prototype to shut up GCC.
4398 2000-12-27  Andreas Jaeger  <aj@suse.de>
4400         * sysdeps/mach/hurd/if_index.c (__protocol_available): Uncomment,
4401         it's not needed at the moment.
4402         * sysdeps/generic/if_index.c (__protocol_available): Likewise.
4403         * sysdeps/unix/sysv/linux/if_index.c (__protocol_available): Likewise.
4405 2000-12-26  Andreas Jaeger  <aj@suse.de>
4407         * libio/getc_u.c: Include stdio.h via system path to get internal
4408         prototypes.
4409         * libio/getwc_u.c: Likewise.
4411         * stdlib/strfmon.c: Fix prototype of __printf_fp.
4413         * stdio-common/vfprintf.c (process_arg): Move __printf_fphex and
4414         __printf_fp prototypes to ...
4415         * include/printf.h: ...here.
4417         * include/stdio.h: Add some internal prototypes to shut up GCC.
4418         * include/stdlib.h: Likewise.
4420         * sysdeps/posix/sigpause.c (__sigpause): Use ISO C prototype
4421         declaration.
4423         * include/signal.h: Add prototypes for internal sigpause
4424         interfaces.
4426 2000-12-26  Ulrich Drepper  <drepper@redhat.com>
4428         * sysdeps/generic/bits/byteswap.h (__bswap_64): Make it usable for
4429         64bit platforms.  Reported by Dave Gilbert <gilbertd@treblig.org>.
4431         * string/Makefile (tests): Add tst-bswap.
4432         * string/tst-bswap.c: New file.
4434 2000-12-11  Bruno Haible  <haible@clisp.cons.org>
4436         * Makefile ($(inst_includedir)/gnu/stubs.h): Sort in the C locale.
4438 2000-12-26  Ulrich Drepper  <drepper@redhat.com>
4440         * sunrpc/Makefile (rpcgen-cmd): Use single quotes in sed call.
4441         Patch by Ed Connell <Ed.Connell@sas.com>.
4443 2000-12-24  Ulrich Drepper  <drepper@redhat.com>
4445         * locale/iso-639.def: Correct one entry.  Add two missing entries.
4447         * locale/iso-4217.def: Change entry for Eritrea.
4448         Reported by Daniel Yacob <yacob@geez.org>.
4450 2000-12-23  Ben Collins  <bcollins@debian.org>
4452         * manual/charset.texi (Extended Char Intro): Fix typo in ISO 6937
4453         description.
4455         * manual/stdio.texi (Dynamic Output): Document the return value of
4456         asprintf.  Also make the asprintf/snprintf examples a little
4457         better (check for some error returns).
4459 2000-12-22  Andreas Jaeger  <aj@suse.de>
4461         * include/stdio.h: Add __ftrylockfile prototype.
4463 2000-12-21  H.J. Lu  <hjl@gnu.org>
4465         * sysdeps/ia64/fpu/math_ldbl.h (ieee_long_double_shape_type):
4466         Make sign_exponent element signed.
4468         * sysdeps/ieee754/ldbl-96/math_ldbl.h (ieee_long_double_shape_type):
4469         Fix a typo.
4471         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Remove dead branch.
4473 2000-12-21  Andreas Jaeger  <aj@suse.de>
4475         * nis/nss_nisplus/nisplus-ethers.c (struct etherent): Removed.
4476         * inet/ether_hton.c: Likewise
4477         * inet/ether_ntoh.c: Likewise.
4479         * nis/nss_nis/nis-ethers.c (_nss_nis_getntohost_r): Fix
4480         declaration to match prototype.
4482         * include/netinet/ether.h (struct etherent): Declare here so that
4483         all implementations use the same struct.
4485         * nis/nss_nis/nis-ethers.c: Include netinet/ether.h to get
4486         prototypes.
4487         (struct ether): Removed.
4488         Use struct etherent instead of ether everywhere.
4490         * include/rpc/auth.h (DECLARE_NSS_PROTOTYPES): New.
4492         * include/rpc/auth_des.h (DECLARE_NSS_PROTOTYPES): New.
4494         * sunrpc/publickey.c: Include auth_des.h for prototypes.
4496 2000-12-20  Ulrich Drepper  <drepper@redhat.com>
4498         * math/test-misc.c: Add more tests for nextafter functions.
4500         * sysdeps/i386/fpu/s_nextafterl.c: Handle change from denormal to
4501         normal correctly.  Correct test for sign.
4502         Based on a patch by HJ Lu.
4504 2000-12-19  Ulrich Drepper  <drepper@redhat.com>
4506         * Makeconfig (preprocess-version): Add -traditional to gcc call.
4507         Cleanup sed calls.
4509 2000-12-19  Andreas Jaeger  <aj@suse.de>
4511         * include/netinet/ether.h (DECLARE_NSS_PROTOTYPES): New.
4513         * nis/nis_intern.h: Add prototype for __do_niscall3.
4515         * nis/nss_nis/nis-rpc.c (_nss_nis_setrpcent): Fix declaration to
4516         match prototype.
4518         * include/netdb.h (DECLARE_NSS_PROTOTYPES): Reformat.
4520         * include/rpc/netdb.h (DECLARE_NSS_PROTOTYPES): New.
4522         * include/aliases.h (DECLARE_NSS_PROTOTYPES): New.
4524 2000-12-18  Ulrich Drepper  <drepper@redhat.com>
4526         * math/test-misc.c: Add more tests for nextafter.
4527         * sysdeps/i386/fpu/s_nextafterl.c: Handle decrement for x<0 correctly.
4528         * sysdeps/ieee754/ldbl-96/math_ldbl.h
4529         (ieee_long_double_shape_type): Make sign_exponent element signed.
4531         * manual/message.texi: Add Estonian to plural overview list.
4532         Correct rule for Slavic languages.
4533         Patch by Stanislav Brabec <utx@penguin.cz>.
4535         * nis/nss_nis/nis-netgrp.c: Remove unnecessary initializations.
4537 2000-12-18  Andreas Jaeger  <aj@suse.de>
4539         * test-skeleton.c: Use temp_name_list instead of name_list to
4540         avoid collision with name_list from inet/netgroup.h.
4542         * nss/nss_files/files-network.c (NEED_H_ERRNO): Define.
4544         * include/grp.h (DECLARE_NSS_PROTOTYPES): New.
4545         * include/pwd.h (DECLARE_NSS_PROTOTYPES): New.
4546         * include/netdb.h (DECLARE_NSS_PROTOTYPES): New.
4547         * include/shadow.h (DECLARE_NSS_PROTOTYPES): New.
4549         * hesiod/nss_hesiod/hesiod-proto.c (_nss_hesiod_setprotoent): Fix
4550         declaration to match prototype.
4551         * hesiod/nss_hesiod/hesiod-pwd.c (_nss_hesiod_setpwent): Likewise.
4552         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_setgrent): Likewise.
4553         * hesiod/nss_hesiod/hesiod-service.c (_nss_hesiod_setservent):
4554         Likewise.
4555         * nis/nss_nis/nis-grp.c (_nss_nis_setgrent): Likewise.
4556         * nis/nss_nis/nis-pwd.c (_nss_nis_setpwent): Likewise.
4557         * nis/nss_nis/nis-proto.c (_nss_nis_setprotoent): Likewise.
4558         * nis/nss_nis/nis-service.c (_nss_nis_setservent): Likewise.
4559         (_nss_nis_getservbyport_r): Likewise.
4560         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent): Likewise.
4561         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent): Likewise.
4562         * nis/nss_nis/nis-network.c (_nss_nis_getnetent_r): Likewise.
4563         (_nss_nis_setnetent): Likewise
4564         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
4565         (_nss_nis_endnetgrent): Likewise.
4566         * nis/nss_nisplus/nisplus-netgrp.c (_nss_nisplus_endnetgrent):
4567         Likewise.
4568         (_nss_nisplus_setnetgrent): Likewise.
4569         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Likewise.
4570         * nis/nss_nisplus/nisplus-pwd.c (_nss_nisplus_setpwent): Likewise.
4571         * nis/nss_nisplus/nisplus-grp.c (_nss_nisplus_setgrent): Likewise.
4572         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_setnetent):
4573         Likewise.
4574         * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_sethostent):
4575         Likewise.
4576         * nis/nss_nisplus/nisplus-service.c (_nss_nisplus_setservent):
4577         Likewise.
4578         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_setprotoent):
4579         Likewise.
4580         * nis/nss_compat/compat-spwd.c (_nss_compat_setspent): Likewise.
4581         * nis/nss_compat/compat-pwd.c (_nss_compat_setpwent): Likewise.
4582         * nis/nss_compat/compat-grp.c (_nss_compat_setgrent): Likewise.
4583         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Likewise.
4584         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Likewise.
4585         (_nss_dns_getnetbyaddr_r): Likewise.
4587 2000-12-17  Andreas Jaeger  <aj@suse.de>
4589         * sysdeps/generic/k_sinl.c (__kernel_sinl): Fix functions
4590         parameter.
4592         * sysdeps/unix/sysv/linux/shm_open.c (freeit): Make static and add
4593         unused attribute to shut up gcc warnings.
4595         * sysdeps/generic/k_sinl.c: Include math_private for prototypes.
4596         * sysdeps/generic/k_tanl.c: Likewise.
4597         * sysdeps/generic/k_cosl.c: Likewise.
4598         * sysdeps/generic/e_j0l.c: Likewise.
4599         * sysdeps/generic/e_j1l.c: Likewise.
4600         * sysdeps/generic/e_jnl.c: Likewise.
4601         * sysdeps/generic/e_lgammal_r.c: Likewise.
4603         * elf/vismain.c: Move prototypes for functions in vismod*.c to
4604         vismod.h.
4605         * elf/vismod.h: New file.
4606         * elf/Makefile (distribute): Add vismod.h.
4607         * elf/vismod1.c: Include vismod.h.
4608         * elf/vismod2.c: Likewise.
4609         * elf/vismod3.c: Likewise.
4611         * elf/constload3.c: Add prototype declarations to shut up gcc.
4612         * elf/failobj.c: Likewise.
4613         * elf/nodelmod3.c: Likewise.
4614         * elf/filtmod1.c: Likewise.
4615         * elf/filtmod2.c: Likewise.
4616         * elf/reldepmod1.c: Likewise.
4617         * elf/reldepmod2.c: Likewise.
4618         * elf/reldepmod3.c: Likewise.
4619         * elf/reldepmod4.c: Likewise.
4620         * elf/unload2dep.c: Likewise.
4621         * elf/unload2mod.c: Likewise.
4622         * elf/ltglobmod1.c: Likewise.
4623         * elf/pathoptobj.c: Likewise.
4624         * elf/neededobj1.c: Likewise.
4625         * elf/neededobj2.c: Likewise.
4626         * elf/neededobj3.c: Likewise.
4627         * elf/neededobj4.c: Likewise.
4628         * elf/nextmod1.c: Likewise.
4629         * elf/nextmod2.c: Likewise.
4631         * locale/programs/ld-collate.c (collate_finish): Don't use labels
4632         at end of compound statement.
4633         * locale/programs/locale.c (show_info): Likewise.
4634         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Likewise.
4636 2000-12-16  Jakub Jelinek  <jakub@redhat.com>
4638         * catgets/gencat.c (read_input_file): Avoid calling obstack_free
4639         with a pointer not returned by obstack_ functions.
4641 2000-12-16  Ulrich Drepper  <drepper@redhat.com>
4643         * sysdeps/unix/sysv/aix/bits/stat.h (struct stat): Align with AIX
4644         version.
4645         (struct stat64): Likewise.
4646         Reported by Michael Keezer <mkeezer@redhat.com>.
4648         * timezone/asia: Update from tzdata2000h.
4649         * timezone/australasia: Likewise.
4650         * timezone/backward: Likewise.
4651         * timezone/europe: Likewise.
4652         * timezone/northamerica: Likewise.
4653         * timezone/southamerica: Likewise.
4654         * timezone/zone.tab: Likewise.
4656 2000-12-14  Jakub Jelinek  <jakub@redhat.com>
4658         * io/ftw.c (ftw_dir): If process_entry returned non-zero result
4659         and dir.stream is NULL, only free dir.content.
4660         * io/ftwtest.c (cb, main): Add --early-exit option to test it.
4661         * io/ftwtest-sh: Test with --early-exit.
4663 2000-12-13  Jakub Jelinek  <jakub@redhat.com>
4665         * misc/efgcvt.c (FCVT_MAXDIG): Define.
4666         (FCVT_BUFPTR): New variable.
4667         (fcvt): If fcvt_r returns -1 on the static short buffer,
4668         try to malloc a sufficiently large one and retry.
4669         (free_mem): New function.
4670         * misc/qefgcvt.c (FCVT_MAXDIG): Define.
4671         * misc/tst-efgcvt.c (fcvt_tests): Add new test.
4673 2000-12-15  Ulrich Drepper  <drepper@redhat.com>
4675         * misc/dirname.c (dirname): Fix search for second to last slash.
4677 2000-12-13  Andreas Jaeger  <aj@suse.de>
4679         * misc/tst-dirname.c (main): Fix typo in test to really use
4680         the examples from Unix98.
4681         Reported by Michael Kerrisk <mtk16@ext.canterbury.ac.nz>.
4683 2000-12-09  H.J. Lu  <hjl@gnu.org>
4685         * sysdeps/ia64/fpu/s_fabs.S: New file.
4686         * sysdeps/ia64/fpu/s_fabsf.S: New file.
4687         * sysdeps/ia64/fpu/s_fabsl.S: New file.
4689 2000-12-15  Andreas Jaeger  <aj@suse.de>
4691         * stdio-common/scanf9.c (main): Reformat and change to avoid
4692         warnings.
4694         * stdio-common/tstdiomisc.c: Make local functions static.
4695         * stdio-common/tst-printf.c: Likewise.
4697         * elf/constload2.c: Add prototype declarations to shut up gcc.
4698         * elf/dep1.c: Likewise.
4699         * elf/dep2.c: Likewise.
4700         * elf/dep3.c: Likewise.
4701         * elf/dep4.c: Likewise.
4702         * elf/ltglobmod2.c: Likewise.
4704         * libio/fmemopen.c: Make local functions static.
4706         * elf/Makefile (distribute): Added testobj.h.
4708         * elf/testobj.h: New file.
4710         * elf/testobj1.c: Include testobj.h and move prototype
4711         declarations to testobj.h.
4712         * elf/testobj2.c: Likewise.
4713         * elf/testobj3.c: Likewise.
4714         * elf/testobj4.c: Likewise.
4715         * elf/testobj5.c: Likewise.
4716         * elf/testobj6.c: Likewise.
4717         * elf/testobj1_1.c: Likewise.
4718         * elf/preloadtest.c: Likewise.
4720 2000-12-15  Ben Collins  <bcollins@debian.org>
4722         * misc/sys/cdefs.h: Fix thinko in checks for flexarr macros.
4723         Patch by Akim Demaille <akim@epita.fr> in Debian bug report.
4725 2000-12-14  H.J. Lu  <hjl@gnu.org>
4727         * sysdeps/ieee754/flt-32/s_sincosf.c (__sincosf): The exponent
4728         field in a float is 8 bits, not 11 bits.
4730 2000-12-13  Jakub Jelinek  <jakub@redhat.com>
4732         * math/test-misc.c (main): Adjust m for IEEE quad long double.
4734 2000-12-13  Andreas Jaeger  <aj@suse.de>
4736         * manual/message.texi (Using gettextized software): Fix typo.
4738         * manual/charset.texi (Converting a Character): Fix mbstouwcs
4739         program to compile.
4740         Patch by Martin Buchholz <martin@xemacs.org>.
4742         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Fix typo.
4743         Reported by Michael Kerrisk <mtk16@ext.canterbury.ac.nz>.
4745 2000-12-11  Andreas Jaeger  <aj@suse.de>
4747         * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Declare
4748         kernel_sigset_t and use it.
4749         Patch by Hiroyuki Machida <machida@sm.sony.co.jp>.
4751 2000-12-10  Richard Henderson  <rth@redhat.com>
4753         * sysdeps/alpha/alphaev67/fpu/Implies: New file.
4754         * sysdeps/alpha/alphaev6/fpu/e_sqrtf.S: New file.
4755         * sysdeps/alpha/alphaev6/fpu/e_sqrt.S: New file.
4757 2000-12-10  Jakub Jelinek  <jakub@redhat.com>
4759         * sysdeps/alpha/htonl.S: Fix a typo.
4761 2000-12-10  Jakub Jelinek  <jakub@redhat.com>
4763         * sysdeps/alpha/alphaev6/stxcpy.S: Exchange t8 with t10.
4765 2000-12-10  Andreas Jaeger  <aj@suse.de>
4767         * locale/programs/ld-ctype.c (charclass_symbolic_ellipsis): Fixed
4768         cast as suggested by Jakub Jelinek <jakub@redhat.com> and Ulrich
4769         Drepper <drepper@redhat.com>.
4771 2000-12-09  Andreas Jaeger  <aj@suse.de>
4773         * sysdeps/unix/sysv/linux/mips/sigaction.c: New file.
4775         * sysdeps/unix/sysv/linux/mips/sys/acct.h: Removed, we can use the
4776         generic version.
4777         Patches by Hiroyuki Machida <machida@sm.sony.co.jp>.
4779         * locale/programs/ld-collate.c (handle_ellipsis): Fix format
4780         string.
4782         * locale/programs/ld-ctype.c (charclass_symbolic_ellipsis): Fix
4783         format string.
4785         * nscd/hstcache.c (addhstbyname): Add cast to avoid warning.
4786         * nscd/connections.c (handle_request): Likewise.
4787         * nscd/pwdcache.c (addpwbyname): Likewise.
4788         * nscd/grpcache.c (addgrbyname): Likewise.
4790         * nscd/nscd_conf.c (nscd_parse_file): Remove extra argument.
4792 2000-12-09  Ulrich Drepper  <drepper@redhat.com>
4794         * string/stratcliff.c: Add tests for stpncpy, memcpy, and mempcpy.
4796         * Makeconfig (default_cflags): Make -O2 the default for stable
4797         releases.
4799 2000-12-08  H.J. Lu  <hjl@gnu.org>
4801         * sysdeps/ia64/fpu/s_isinfl.S: Renamed to ...
4802         * sysdeps/ia64/fpu/s_isinf.S: This.
4803         Add a .pred.rel.mutex note to avoid false report.
4805         * sysdeps/ia64/fpu/s_isnanl.S: Renamed to ...
4806         * sysdeps/ia64/fpu/s_isnan.S: This.
4808         * sysdeps/ia64/fpu/s_fpclassify.S: New file.
4809         * sysdeps/ia64/fpu/s_fpclassifyf.S: New file.
4810         * sysdeps/ia64/fpu/s_fpclassifyl.S: New file.
4811         * sysdeps/ia64/fpu/s_isinff.S: New file.
4812         * sysdeps/ia64/fpu/s_isinfl.S: New file.
4813         * sysdeps/ia64/fpu/s_isnanf.S: New file.
4814         * sysdeps/ia64/fpu/s_isnanl.S: New file.
4815         * sysdeps/ia64/fpu/s_finite.S: New file.
4816         * sysdeps/ia64/fpu/s_finitef.S: New file.
4817         * sysdeps/ia64/fpu/s_finitel.S: New file.
4818         * sysdeps/ia64/fpu/s_signbit.S: New file.
4819         * sysdeps/ia64/fpu/s_signbitf.S: New file.
4820         * sysdeps/ia64/fpu/s_signbitl.S: New file.
4821         * sysdeps/ia64/fpu/s_copysign.S: New file.
4822         * sysdeps/ia64/fpu/s_copysignf.S: New file.
4823         * sysdeps/ia64/fpu/s_copysignl.S: New file.
4825 2000-12-08  Ulrich Drepper  <drepper@redhat.com>
4827         * math/libm-test.inc (main): Fix typos in messages.
4829         * string/stratcliff.c: Add test for rawmemchr.
4831 2000-12-08  Jakub Jelinek  <jakub@redhat.com>
4833         * elf/dl-open.c (_dl_open): If objname points right after errstring,
4834         allocate it together with errstring using alloca.
4835         * elf/dl-error.c (_dl_signal_error): If malloc failed, set objname
4836         to "", because it might point to local stack.
4838 2000-12-05  H.J. Lu  <hjl@gnu.org>
4840         * nss/Makefile (routines): Add getnssent and getnssent_r.
4841         * nss/nsswitch.h (__nss_setent): New internal NSS function.
4842         (__nss_endent): Likewise.
4843         (__nss_getent_r): Likewise.
4844         (__nss_getent): Likewise.
4845         * nss/getnssent_r.c: New file.
4846         * nss/getnssent.c: New file.
4847         * nss/getXXent.c (H_ERRNO_VAR): Updated.
4848         (GETFUNC_NAME): Updated to call __nss_getent ().
4849         * nss/getXXent_r.c (H_ERRNO_VAR_P): New.
4850         (STAYOPEN_TMPVAR): Updated.
4851         (STAYOPEN_VAR): Updated.
4852         (SETFUNC_NAME): Updated to call __nss_setent ().
4853         (ENDFUNC_NAME): Updated to call __nss_endent ().
4854         (INTERNAL (REENTRANT_GETNAME)): Updated to call __nss_getent_r ().
4856 2000-12-08  Andreas Jaeger  <aj@suse.de>
4858         * nscd/dbg_log.h (dbg_log): Correct attribute.
4860 2000-12-08  Jakub Jelinek  <jakub@redhat.com>
4862         * elf/dl-load.c (fillin_rpath): Don't assume there is '\0' at
4863         cp + len.  Compute where from dirname.
4864         Reported by <jreiser@BitWagon.com>.
4866 2000-12-08  Richard Henderson  <rth@twiddle.net>
4868         * sysdeps/alpha/_mcount.S: Fix typo.
4869         * sysdeps/alpha/strncpy.S: Likewise.
4871         * sysdeps/alpha/alphaev6/Implies: New file.
4872         * sysdeps/alpha/alphaev67/Implies: New file.
4873         * sysdeps/alpha/alphaev67/ffs.S: New file.
4874         * sysdeps/alpha/alphaev67/ffsll.S: New file.
4875         * sysdeps/alpha/alphaev67/rawmemchr.S: New file.
4876         * sysdeps/alpha/alphaev67/stpcpy.S: New file.
4877         * sysdeps/alpha/alphaev67/stpncpy.S: New file.
4878         * sysdeps/alpha/rawmemchr.S: New file.
4879         * sysdeps/alpha/strcat.S: Tail call to __stxcpy.
4880         * sysdeps/alpha/strcpy.S: Likewise.
4882         From GMP 3.1.1:
4883         * sysdeps/alpha/alphaev6/addmul_1.s: New file.
4885         From rick.gorton@alpha-processor.com:
4886         * sysdeps/alpha/alphaev6/memchr.S: New file.
4887         * sysdeps/alpha/alphaev6/memcpy.S: New file.
4888         * sysdeps/alpha/alphaev6/memset.S: New file.
4889         * sysdeps/alpha/alphaev6/stxcpy.S: New file.
4890         * sysdeps/alpha/alphaev6/stxncpy.S: New file.
4891         * sysdeps/alpha/alphaev67/strcat.S: New file.
4892         * sysdeps/alpha/alphaev67/strchr.S: New file.
4893         * sysdeps/alpha/alphaev67/strlen.S: New file.
4894         * sysdeps/alpha/alphaev67/strncat.S: New file.
4895         * sysdeps/alpha/htonl.S: Use a shorter sequence.
4897 2000-12-08  Jakub Jelinek  <jakub@redhat.com>
4899         * inet/getnameinfo.c (getnameinfo): Fix NI_NOFQDN support.
4900         Reported by <pspencer@fields.utoronto.ca>.
4902 2000-12-07  Jes Sorensen  <jes@linuxcare.com>
4904         * sysdeps/ia64/elf/start.S (__data_start): Add __data_start variable.
4905         Pointed out by Hans Boehm.
4907 2000-12-07  H.J. Lu  <hjl@gnu.org>
4909         * elf/dl-version.c (match_symbol): Check map->l_name[0] for printing.
4911 2000-12-07  Andreas Jaeger  <aj@suse.de>
4913         * misc/error.c: Add format attributes for __error and __error_at_line.
4915         * nscd/dbg_log.h: Add format attribute.
4917 2000-12-08  Ulrich Drepper  <drepper@redhat.com>
4919         * misc/sys/syslog.h: Add format attributes to syslog and vsyslog.
4920         Patch by Joseph S. Myers <jsm28@cam.ac.uk>.
4922 2000-12-07  Dan Pop  <Dan.Pop@cern.ch>
4924         * sysdeps/ia64/strcpy.S: Fix a bug in a recovery code sequence.
4926 2000-12-06  Ulrich Drepper  <drepper@redhat.com>
4928         * sysdeps/unix/sysv/aix/Makefile [$(subdir)==misc]
4929         (sysdep_routines): Add uitrunc.
4930         * sysdeps/unix/sysv/aix/uitrunc.c: New file.
4931         Patches by Michael Keezer <mkeezer@redhat.com>.
4933 2000-12-06  Roland McGrath  <roland@frob.com>
4935         * sysdeps/mach/hurd/ioctl.c (__ioctl): Don't clobber ARG as we copy in
4936         argument data, since it will be used to copy out too (for INOUT).
4937         Reported by Marcus Brinkmann <marcus@gnu.org>.
4939         * sysdeps/mach/hurd/ioctl.c: Include <stdint.h>.
4940         (__ioctl): Use uintptr_t instead of unsigned long int.
4942 2000-12-06  Jim Wilson  <wilson@redhat.com>
4944         * stdlib/l64a.c (l64a): Truncate M to 32-bit value.
4946 2000-12-06  Ulrich Drepper  <drepper@redhat.com>
4948         * stdio-common/printf_fp.c (__printf_fp): Handle decimal point in
4949         x.5 rounding correctly.
4951 2000-12-06  Mark Kettenis  <kettenis@gnu.org>
4953         * stdio-common/perror.c (perror): Conditionalize code dealing with
4954         wide-oriented streams on USE_IN_LIBIO.
4956 2000-12-06  Mark Kettenis  <kettenis@gnu.org>
4958         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup): Mark
4959         as internal_function.
4961 2000-12-05  Ulrich Drepper  <drepper@redhat.com>
4963         * sysdeps/alpha/elf/start.S (__data_start): Define.
4965 2000-12-05  H.J. Lu  <hjl@gnu.org>
4967         * nss/getXXent_r.c (setup): Change the return type to int.
4969 2000-12-05  Ulrich Drepper  <drepper@redhat.com>
4971         * sysdeps/unix/sysv/aix/Makefile [$(subdir)==misc]
4972         (sysdep_routines): Add restf and savef.
4973         * sysdeps/unix/sysv/aix/restf.c: New file.
4974         * sysdeps/unix/sysv/aix/savef.c: New file.
4975         Patches by Michael Keezer <mkeezer@redhat.com>.
4977         * sysdeps/unix/opendir.c (__opendir): Don't use o_directory_works
4978         if O_DIRECTORY is not defined.
4979         Patch by Michael Keezer <mkeezer@redhat.com>.
4981         * include/libc-symbols.h (C_SYMBOL_DOT_NAME): Define.
4982         Patch by Michael Keezer <mkeezer@redhat.com>.
4984         * locale/programs/linereader.c (get_toplvl_escape): Recognize more
4985         than 4 bytes in escape sequence.
4986         Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
4988 2000-12-05  Andreas Jaeger  <aj@suse.de>
4990         * sysdeps/unix/sysv/linux/mips/sys/tas.h (_test_and_set): Don't
4991         set mips2.
4993         * sysdeps/unix/sysv/linux/mips/sysdep.h: New file.
4995         * sysdeps/unix/sysv/linux/mips/sys/syscall.h: Removed.
4997         * sysdeps/unix/mips/sysdep.h: Use SYS_ify.
4998         Patches by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
5000         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Mark as
5001         internal_function.
5002         * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Likewise.
5003         * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start_cleanup): Likewise.
5005         * sysdeps/generic/dl-cache.c: Remove declaration of
5006         _dl_sysdep_read_whole_file.
5008         * elf/dl-load.c (_dl_map_object): Remove declaration of
5009         _dl_load_cache_lookup.
5011         * sysdeps/generic/ldsodefs.h: Add declarations of
5012         _dl_load_cache_lookup, _dl_unload_cache,
5013         _dl_sysdep_read_whole_file, _dl_sysdep_start and
5014         _dl_sysdep_start_cleanup.
5016         * elf/rtld.c: Remove prototypes that are defined in ldsodefs.h
5017         now.
5019         * elf/dl-misc.c: Include <ldsodefs.h> to get prototypes.
5020         * sysdeps/generic/dl-environ.c: Likewise.
5022         * stdio-common/printf_fp.c: Include <gmp.h> instead of
5023         <stdlib/gmp.h>.
5024         * math/atest-exp.c: Likewise.
5025         * math/atest-exp2.c: Likewise.
5026         * math/atest-sincos.c: Likewise.
5027         * stdio-common/_itoa.c: Likewise.
5028         * stdio-common/_itowa.c: Likewise.
5030         * include/gmp.h: New file with internal prototypes.
5032         * sysdeps/generic/longjmp.c: Move _longjmp_unwind declaration from
5033         here to...
5034         * include/setjmp.h: ...here.
5036         * locale/Makefile (routines): Remove codeset_name since it's not
5037         needed anywhere.
5039         * locale/codeset_name.c: Removed.
5041 2000-12-05  Ulrich Drepper  <drepper@redhat.com>
5043         * sysdeps/unix/sysv/aix/sys/param.h: Define MAXHOSTNAMELEN here.
5045 2000-12-05  Andreas Jaeger  <aj@suse.de>
5047         * sysdeps/unix/sysv/linux/sys/param.h: Revert last patch.
5049 2000-12-05  Martin Schwidefsky  <schwidefsky@de.ibm.com>
5051         * sysdeps/unix/sysv/linux/s390/mmap64.S: Use mmap if mmap2 isn't
5052         available.
5054 2000-12-05  Andreas Jaeger  <aj@suse.de>
5056         * nss/test-netdb.c: Mark local functions as static to avoid
5057         warnings.
5058         (main): Use return to silence warning.
5060         * stdlib/test-canon.c (check_path): Mark as static to avoid warning.
5062         * stdio-common/test-popen.c: Mark local functions as static to
5063         avoid warnings.
5064         (main): Use return to silence warning.
5066         * stdlib/testsort.c (compare): Mark as static to avoid warning.
5068         * assert/test-assert.c: Mark local functions as static to avoid
5069         warnings.
5070         * assert/test-assert-perr.c: Likewise.
5072         * math/libm-test.inc (main): Use return to silence warnings.
5074 2000-12-04  Ulrich Drepper  <drepper@redhat.com>
5076         * math/fenv.h: Fix typo in comment.
5078         * math/test-misc.c (main): Add a few more over and underflow tests
5079         for scalb.
5081         * sysdeps/i386/fpu/e_scalb.S: Handle NaN as first parameter correctly.
5082         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
5083         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
5084         * math/w_scalb.c: Don't use matherr except in SVID mode.
5085         * math/w_scalbf.c: Likewise.
5086         * math/w_scalbl.c: Likewise.
5087         * math/test-misc.c: Add test for NaN and scalbl.
5088         Reported by Fred J. Tydeman <tydeman@tybor.com>.
5090 2000-12-04  Ulrich Drepper  <drepper@redhat.com>
5092         * configure.in: Define HAVE_ASM_GLOBAL_DOT_NAME for AIX.
5093         * config.h.in: Add HAVE_ASM_GLOBAL_DOT_NAME.
5094         * include/libc-symbols.h (strong_alias): Define special version
5095         for HAVE_ASM_GLOBAL_DOT_NAME.
5096         (weak_alias): Likewise.
5097         * sysdeps/powerpc/bsd-setjmp.S: Use strong_alias not .set.
5098         * sysdeps/unix/sysv/aix/Makefile [$(subdir)==login]
5099         (sysdep_routines): Add setutxent, getutxent, endutxent, getutxid,
5100         getutxline, pututxline, and utmpxname.
5101         * sysdeps/unix/sysv/aix/fchdir.c: Define __fchdir.
5102         * sysdeps/unix/sysv/aix/lseek.c: Define __libc_lseek alias.
5103         * sysdeps/unix/sysv/aix/open.c: Define __libc_open alias.
5104         * sysdeps/unix/sysv/aix/pread.c: Define pread alias.
5105         * sysdeps/unix/sysv/aix/pread64.c: Define pread64 alias.
5106         * sysdeps/unix/sysv/aix/sysdep.h (JUMPTARGET): Use C_TEXT.
5107         * sysdeps/unix/sysv/aix/bits/types.h: Define __clockid_t and __timer_t.
5108         * sysdeps/unix/sysv/aix/bits/utmp.h: Cleanup.  Add comments.
5109         * sysdeps/unix/sysv/linux/sys/param.h (MAXHOSTNAMELEN): Define.
5110         Patches by Michael Keezer <mkeezer@redhat.com>.
5112 2000-12-04  H.J. Lu  <hjl@gnu.org>
5114         * configure.in: Change --with-oldest-abi=ABI to
5115         --enable-oldest-abi=ABI.
5117 2000-12-02  Bruno Haible  <haible@clisp.cons.org>
5119         * stdio-common/perror.c (perror): If stderr is wide-oriented, use
5120         fwprintf instead of fprintf.
5122 2000-12-04  Ulrich Drepper  <drepper@redhat.com>
5124         * sysdeps/alpha/fpu/bits/mathdef.h: Remove FLT_EVAL_METHOD and
5125         DECIMAL_DIG definitions.
5126         * sysdeps/arm/fpu/bits/mathdef.h: Likewise
5127         * sysdeps/generic/bits/mathdef.h: Likewise
5128         * sysdeps/i386/fpu/bits/mathdef.h: Likewise
5129         * sysdeps/ia64/fpu/bits/mathdef.h: Likewise
5130         * sysdeps/m68k/fpu/bits/mathdef.h: Likewise
5131         * sysdeps/powerpc/fpu/bits/mathdef.h: Likewise
5132         * sysdeps/sparc/fpu/bits/mathdef.h: Likewise
5133         * sysdeps/sh/sh4/fpu/bits/mathdef.h: Likewise
5135 2000-12-03  Ulrich Drepper  <drepper@redhat.com>
5137         * math/test-fenv.c (main): Use return instead of exit to avoid warning.
5139         * math/atest-exp.c: Mark local functions as static to avoid warnings.
5140         * math/atest-exp2.c: Likewise.
5141         * math/atest-sincos.c: Likewise.
5143         * sysdeps/i386/fpu/bits/mathdef.h (DECIMAL_DIG): Correct value.
5144         Reported by Fred J. Tydeman <tydeman@tybor.com>.
5146         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Hopefully fix
5147         the handling of denormalized numbers.
5149         * math/test-misc.c (main): Test for fpclassify and pseudo denormal
5150         numbers on x86.
5151         * sysdeps/i386/fpu/fpclassifyl.c: New file.
5153         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Handle the
5154         pseudo denormal representation of LDBL_MIN.
5156         * iconvdata/SJIS.irreversible: Remove unnecessary entries.
5157         * iconvdata/EUC-JP.irreversible: Remove unnecessary entries.
5159         * iconvdata/sjis.c: Enable round-trip mapping of backslash and tilde.
5160         * iconvdata/jis0208.c: Likewise.
5161         * iconvdata/jis0212.c: Likewise.
5162         Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
5164         * math/test-misc.c (main): More tests for frexp and some for
5165         fpclassify and isnormal.
5167         * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf): Correct
5168         test for subnormal.
5169         Reported by Fred J. Tydeman <tydeman@tybor.com>.
5171         * math/test-misc.c (main): Add tests for frexp.
5172         Reported by Fred J. Tydeman <tydeman@tybor.com>.
5173         * sysdeps/i386/fpu/s_frexpl.S: Don't overflow during the computation.
5175 2000-12-02  H.J. Lu  <hjl@gnu.org>
5177         * locale/lc-time.c (_nl_init_era_entries): Pass L'\0' instead of
5178         '\0' to wcschr.
5180 2000-12-02  Ulrich Drepper  <drepper@redhat.com>
5182         * sysdeps/i386/fpu/s_frexp.S: Add missing fwait.
5183         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
5184         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
5186         * sysdeps/generic/glob.c: Adjust types of several variables to
5187         avoid warnings.
5189 2000-12-01  Ulrich Drepper  <drepper@redhat.com>
5191         * sysdeps/unix/sysv/linux/shm_open.c: Remove incorrect comment.
5193 2000-11-30  Roland McGrath  <roland@frob.com>
5195         * hurd/hurd/ioctl.h (_HURD_HANDLE_IOCTLS_1): New macro.
5196         (_HURD_HANDLE_IOCTLS, _HURD_HANDLE_IOCTL): Redefine using it, so as to
5197         allow multiple instances using the same function name in one file.
5199 2000-12-01  Ulrich Drepper  <drepper@redhat.com>
5201         * configure.in: Correct test for pserver CVS access.
5203 2000-11-28  H.J. Lu  <hjl@gnu.org>
5205         * libio/libio.h: Remove extra "#if ... #endif".
5207 2000-11-29  H.J. Lu  <hjl@gnu.org>
5209         * stdio-common/vfscanf.c (ORIENT): Swap the COMPILE_WSCANF case.
5211 2000-12-01  H.J. Lu  <hjl@gnu.org>
5213         * nss/getXXbyYY_r.c: Fix verioned symbol handling.
5214         * nss/getXXent_r.c: Likewise.
5215         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
5217 2000-11-30  H.J. Lu  <hjl@gnu.org>
5219         * scripts/abi-versions.awk (oldest_abi): New variable.
5220         Handle the oldest ABI supported.
5222         * Makerules ($(common-objpfx)abi-versions.h): Set oldest_abi
5223         for scripts/abi-versions.awk.
5225         * configure.in: Add --with-oldest-abi=ABI.
5226         * configure: Rebuild.
5228         * config.make.in (oldest-abi): New.
5230         * config.h.in (GLIBC_OLDEST_ABI): New.
5232         * csu/version.c (banner): Support GLIBC_OLDEST_ABI.
5234 2000-11-30  Jakub Jelinek  <jakub@redhat.com>
5236         * locale/setlocale.c (setname): Free for all categories, not just
5237         LC_ALL.
5238         (setlocale): Store a copy of string passed by user, not the string
5239         itself.
5241 2000-11-30  Roland McGrath  <roland@frob.com>
5243         * sysdeps/mach/hurd/defs.c (init_stdio): Put this on __libc_subinit
5244         rather than _hurd_fd_subinit, so it happens after it's safe to use
5245         libc facilities like malloc.
5247 2000-11-28  Andreas Jaeger  <aj@suse.de>
5249         * sysdeps/unix/sysv/linux/getdents.c: Add _syscall_getdents64
5250         declaration, adjust declaration of __syscall_getdents to match
5251         kernel.
5253 2000-11-29  H.J. Lu  <hjl@gnu.org>
5255         * sysdeps/generic/readelflib.c (check_ptr): Undefine it first.
5257 2000-11-29  Andreas Jaeger  <aj@suse.de>
5259         * sysdeps/unix/sysv/linux/hppa/brk.c (__brk): Remove unused variable.
5261 2000-11-28  Ulrich Drepper  <drepper@redhat.com>
5263         * dlfcn/defaultmod1.c: Add prototypes to avoid warnings.
5264         * dlfcn/defaultmod2.c: Likewise.
5265         * dlfcn/dlopen.c: Likewise.
5266         * dlfcn/dlopenold.c: Likewise.
5267         * dlfcn/failtestmod.c: Likewise.
5268         * dlfcn/glreflib1.c: Likewise.
5269         * dlfcn/glreflib2.c: Likewise.
5270         * dlfcn/eval.c: Likewise.  Add attributes.
5272         * ctype/ctype-extn.c: Define isblank and not __isblank.
5274         * time/strftime.c: Add const where necessary to avoid warnings.
5275         * time/strptime.c (strptime_internal): Add casts to avoid warnings.
5277 2000-11-22  Paul Eggert  <eggert@twinsun.com>
5279         * time/strftime.c (my_strftime): Do not invoke mbrlen with a
5280         size of (size_t) -1; it's not portable.
5282 2000-11-28  Ulrich Drepper  <drepper@redhat.com>
5284         * sysdeps/i386/fpu/libm-test-ulps: Adjust some values for the
5285         crappy i486 FPU.
5286         Reported by Michael Deutschmann <michael@talamasca.ocis.net>.
5288 2000-11-14  Jes Sorensen  <jes@linuxcare.com>
5290         * sysdeps/ia64/_mcount.S: Call __mcount instead of __mcount_internal.
5292         * sysdeps/ia64/Makefile: Compile _mcount.S in subdir gmon as
5293         _mcount is required by profiled binaries.
5295         * sysdeps/unix/sysv/linux/ia64/machine-gmon.h: Moved to...
5296         * sysdeps/ia64/machine-gmon.h: ...here.
5298 2000-11-28  Masahide Washizawa  <washi@jp.ibm.com>
5300         * iconvdata/Makefile (modules): Add IBM922, IBM1124, and IBM1129.
5301         (distribute): Add ibm922.c, ibm1124.c, ibm1129.c, ibm922.h, ibm1124.h,
5302         and ibm1129.h.
5303         * iconvdata/gconv-modules: Add entries for IBM922, IBM1124, and
5304         IBM1129.
5305         * iconvdata/ibm922.c: New file.
5306         * iconvdata/ibm922.h: New file.
5307         * iconvdata/ibm1124.c: New file.
5308         * iconvdata/ibm1124.h: New file.
5309         * iconvdata/ibm1129.c: New file.
5310         * iconvdata/ibm1129.h: New file.
5311         * iconvdata/testdata/IBM922: New file.
5312         * iconvdata/testdata/IBM922..UTF8: New file.
5313         * iconvdata/testdata/IBM1124: New file.
5314         * iconvdata/testdata/IBM1124..UTF8: New file.
5315         * iconvdata/testdata/IBM1129: New file.
5316         * iconvdata/testdata/IBM1129..UTF8: New file.
5318 2000-11-28  Ulrich Drepper  <drepper@redhat.com>
5320         * catgets/gencat.c (normalize_line): Take extra parameter with escape
5321         character.  Change callers.
5322         (open_conversion): Determine mapping of 0x5c as wchar_t value.
5323         * catgets/Makefile: Add rules to build and run test-gencat.
5324         * catgets/sample.SJIS: New file.
5325         * catgets/test-gencat.c: New file.
5326         * catgets/test-gencat.sh: New file.
5327         Report and test case by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
5329 2000-11-28  Andreas Jaeger  <aj@suse.de>
5331         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Synch with generic
5332         Linux version.
5334 2000-11-28  Ulrich Drepper  <drepper@redhat.com>
5336         * sysdeps/unix/sysv/linux/bits/socket.h: Fix last patch.
5338 2000-11-28  Andreas Jaeger  <aj@suse.de>
5340         * sysdeps/unix/sysv/linux/bits/socket.h (struct cmsghdr): Use
5341         __flexarr.
5342         * sysdeps/unix/sysv/linux/mips/bits/socket.h (struct cmsghdr):
5343         Likewise.
5345 2000-11-27  Ulrich Drepper  <drepper@redhat.com>
5347         * misc/getusershell.c: Make strings in okshells array const.
5348         * misc/regexp.c: Add const to cast to avoid warnings.
5349         * sysdeps/unix/sysv/linux/llseek.c: Add prototype for __llseek.
5350         * sysdeps/unix/sysv/linux/i386/setresuid.c: Add prototype for
5351         __setresuid.
5352         * sysdeps/unix/sysv/linux/i386/setresgid.c: Add prototype for
5353         setresgid.
5354         * misc/error.c: Add prototypes for __error and __error_at_line.
5355         * misc/mntent_r.c (__getmntent_r): Add break at end of switch
5356         statement to avoid warning.
5357         * test-skeleton.c: Mark timeout_handler with noreturn.
5358         * iconv/skeleton.c (get16u): Add const to cast.
5359         (get32u): Likewise.
5360         * iconvdata/gb18030.c: Likewise.
5361         * iconvdata/iso-2022-cn-ext.c: Likewise.
5362         * iconvdata/ansi_x3.110.c: Add cast to avoid warning.
5363         * iconvdata/big5.c: Likewise.
5364         * iconvdata/big5hkscs.c: Likewise.
5365         * iconvdata/iso_6937.c: Likewise.
5366         * iconvdata/iso_6937-2.c: Likewise.
5367         * iconvdata/t.61.c: Likewise.
5368         * iconvdata/iso646.c: Add prototypes for gconv_init and gconv_env.
5369         * iconvdata/unicode.c: Likewise.
5370         * iconvdata/utf-16.c: Likewise.
5371         * iconvdata/cns11643.h (ucs4_to_cns11643): Define needed as size_t.
5372         * iconv/gconv_trans.c (__gconv_translit_find): Avoid one warning
5373         with little code shuffling.
5375         * sysdeps/powerpc/Makefile (CFLAGS-initfini.s): Add -O1 to avoid
5376         the problems introduced when the user selects -O3.
5378         * iconv/gconv.h (__gconv_info): Define __data element using __flexarr.
5379         * misc/sys/cdefs.h: Define __flexarr.
5380         Proposed by Joseph S. Myers <jsm28@cam.ac.uk>.
5382         * iconvdata/iso-2022-jp.c: Add prototypes to avoid warnings.
5383         * iconv/skeleton.c: Likewise.
5384         * iconvdata/iso8859-1.c (BODY to 8859-1): Add const to cast.
5385         * iconv/loop.c (get16): Add const to cast.
5386         (get32): Likewise.
5388 2000-11-27  Andreas Jaeger  <aj@suse.de>
5390         * login/programs/pt_chown.c (do_pt_chown): Mark function as static
5391         to avoid warning.
5392         * login/programs/utmpdump.c (print_entry): Likewise.
5394 2000-11-25  Maciej W. Rozycki  <macro@ds2.pg.gda.pl>
5396         * sysdeps/mips/__longjmp.c (__longjmp): Restore SP and FP last and
5397         in a single asm as they may be used to access other stored
5398         registers.
5399         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
5401 2000-11-27  Andreas Jaeger  <aj@suse.de>
5403         * rt/tst-aio.c: Mark test functions as static to avoid warnings.
5404         * rt/tst-aio64.c: Likewise.
5406 2000-11-27  Ulrich Drepper  <drepper@redhat.com>
5408         * catgets/Makefile (test1.cat): Set LC_ALL, LOCPATH, and GCONV_PATH
5409         for gencat run.
5410         (libc.cat): Likewise.
5411         * catgets/gencat.c: Implement handling of message catalogs encoded
5412         with stateful character sets.
5413         Based on a patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
5415 2000-11-26  Ulrich Drepper  <drepper@redhat.com>
5417         * sysdeps/unix/opendir.c (__opendir): Add cast to avoid warning.
5419         * inet/getnameinfo.c: Adjust casts to avoid warnings.
5420         * inet/rcmd.c: Likewise.
5421         * inet/ruserpass.c: Likewise.
5422         * inet/netinet/in.h (IN6_IS_ADDR_UNSPECIFIED, IN6_IS_ADDR_LOOPBACK,
5423         IN6_IS_ADDR_MULTICAST, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
5424         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, IN6_ARE_ADDR_EQUAL,
5425         IN6_IS_ADDR_MC_NODELOCAL, IN6_IS_ADDR_MC_LINKLOCAL,
5426         IN6_IS_ADDR_MC_SITELOCAL, IN6_IS_ADDR_MC_ORGLOCAL,
5427         IN6_IS_ADDR_MC_GLOBAL): Preserve const in cast.
5428         * include/aliases.h: Add prototypes for internal __getalias* functions.
5429         * include/netdb.h: Add prototypes for __old_gethostent_r,
5430         __old_gethostbyaddr_r, __old_gethostbyname_r, __old_gethostbyname2_r,
5431         __old_getnetent_r, __old_getnetbyaddr_r, __old_getnetbyname_r,
5432         __old_getservent_r, __old_getservbyname_r, __old_getservbyport_r,
5433         __old_getprotoent_r, __old_getprotobyname_r, __old_getprotobynumber_r.
5434         * include/rpc/netdb.h: Add prototypes for __old_getrpcbyname_r,
5435         __old_getrpcbynumber_r, __old_getrpcent_r.
5437         * include/rpc/netdb.h: Add __getrpcbyname_r, __getrpcbynumber_r,
5438         __getrpcent_r prototypes.
5440 2000-11-25  Ulrich Drepper  <drepper@redhat.com>
5442         * string/strcoll.c: Add casts to avoid warnings.
5443         * string/strnlen.c: Likewise.
5444         * string/strxfrm.c: Likewise.
5445         * sysdeps/generic/_strerror.c: Likewise.
5446         * sysdeps/generic/memrchr.c: Likewise.
5447         * sysdeps/generic/strcasestr.c: Likewise.
5448         * sysdeps/generic/strstr.c: Likewise.
5450         * locale/weight.h (findidx): Add const to cast to avoid warning.
5452         * elf/loadfail.c: Little cosmetic changes to avoid warnings.
5453         * elf/loadtest.c: Likewise.
5454         * elf/multiload.c: Likewise.
5455         * elf/next.c: Likewise.
5456         * elf/nodelete.c: Likewise.
5457         * elf/noload.c: Likewise.
5458         * elf/order.c: Likewise.
5459         * elf/origtest.c: Likewise.
5460         * elf/preloadtest.c: Likewise.
5461         * elf/restest1.c: Likewise.
5463         * sysdeps/i386/i486/bits/string.h (__strncat_g) [i686]: Fourth
5464         parameter of asm must be in %ecx.
5466         * string/tester.c: Mark test functions as static to avoid warnings.
5468         * iconv/gconv_conf.c (read_conf_file): Make mod_counter static to
5469         preserve value over different gconv-modules files.
5471 2000-11-24  Ulrich Drepper  <drepper@redhat.com>
5473         * locale/findlocale.c: Add casts to avoid warnings.
5474         * locale/localeinfo.h (LIMAGIC): Add cast to avoid warnings.
5475         * misc/efgcvt_r.c (fcvt_r): Use ssize_t instead of int and add cast
5476         to avoid warnings.
5477         * misc/tsearch.c (const_node): New type.
5478         (trecurse): Correct casts to avoid warnings.
5479         (__twalk): Likewise.
5480         * stdlib/tst-limits.c: Add z modifier to formats for WORD_BIT and
5481         LONG_BIT.
5483         * debug/backtrace-tst.c (compare): Add casts to avoid warnings.
5485         * test-skeleton.c: Mark local functions as static to avoid warnings.
5487 2000-11-23  H.J. Lu  <hjl@gnu.org>
5489         * rt/tst-aio6.c (do_test): Use pipe instead of STDIN_FILENO to
5490         support the background job.
5491         Fix a typo.
5493 2000-11-24  Ulrich Drepper  <drepper@redhat.com>
5495         * iconv/gconv_conf.c (insert_module): Replace old entry if new one
5496         has same names but lower cost.
5498 2000-11-23  Jakub Jelinek  <jakub@redhat.com>
5500         * sysdeps/sparc/sparc32/dl-machine.h: Ifdef out handling for relocs
5501         which never occur during bootstrap.
5502         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
5504 2000-11-23  Andreas Jaeger  <aj@suse.de>
5506         * nss/nss_files/files-hosts.c: Remove getipnodebyname.
5508         * nss/Versions: Remove _nss_files_getipnodebyname_r.
5510         * sysdeps/unix/sysv/linux/Versions: Fix typo in last patch.
5512 2000-11-18  Martin Buchholz  <martin@xemacs.org>
5514         * csu/gmon-start.c (__gmon_start__): Avoid over-clever trick `if
5515         (called++) return;'
5517 2000-11-21  Alan Modra  <alan@linuxcare.com.au>
5519         * sysdeps/generic/bsd-_setjmp.c (setjmp): Rename to _setjmp.
5521         * csu/abi-note.S: Correct comment for operating system number.
5523 2000-11-22  Ulrich Drepper  <drepper@redhat.com>
5525         * Versions.def: Add GLIBC_2.2.1 for glibc.
5527 2000-11-22  Andreas Schwab  <schwab@suse.de>
5529         * sysdeps/unix/sysv/linux/syscalls.list: Add pivot_root.
5530         * sysdeps/unix/sysv/linux/Versions: Add pivot_root at GLIBC_2.2.1.
5532 2000-11-22  Ulrich Drepper  <drepper@redhat.com>
5534         * rt/aio_suspend.c (aio_suspend): Convert timeout value to
5535         absolute time for pthread_cond_timedwait call.
5536         Reported by Lawrence Chen <lchen@opentext.com> [libc/1930].
5538         * rt/Makefile (tests): Add tst-aio6.
5539         * rt/tst-aio6.c: New file.
5541 2000-11-23  Andreas Jaeger  <aj@suse.de>
5543         * sysdeps/s390/bits/string.h (strncat): Fix one more typo.
5545 2000-11-22  Andreas Jaeger  <aj@suse.de>
5547         * sysdeps/s390/bits/string.h (strncat): Add missing quotation marks.
5549 2000-11-21  Martin Schwidefsky  <schwidefsky@de.ibm.com>
5551         * sysdeps/s390/bits/string.h: Make strncat always add a \0.
5553 2000-11-21  Andreas Schwab  <schwab@suse.de>
5555         * sysdeps/alpha/setjmp.S: Remove __setjmp entry point.
5556         * sysdeps/arm/setjmp.S: Likewise.
5557         * sysdeps/arm/fpu/setjmp.S: Likewise.
5558         * sysdeps/i386/setjmp.S: Likewise.
5559         * sysdeps/i386/elf/setjmp.S: Likewise.
5560         * sysdeps/s390/setjmp.S: Likewise.
5561         * sysdeps/s390/elf/setjmp.S: Likewise.
5562         * sysdeps/sh/sh3/setjmp.S: Likewise.
5563         * sysdeps/sh/sh4/setjmp.S: Likewise.
5564         * sysdeps/sparc/sparc32/setjmp.S: Likewise.
5565         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
5566         * sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S: Likewise.
5567         * sysdeps/unix/sysv/linux/m68k/setjmp.c: Removed.
5569 2000-11-21  Andreas Jaeger  <aj@suse.de>
5571         * sysdeps/generic/__longjmp.c (__longjmp): Remove obsolete
5572         NORETURN, fix parameter list.
5574         * string/bug-strncat1.c (main): Fix typo.
5575         Patch by Bernhard Kaindl <bernhard.kaindl@suse.de>.
5577 2000-11-20  Ulrich Drepper  <drepper@redhat.com>
5579         * configure.in: Add --enable-all-warnings.
5580         * config.make.in (all-warnings): New variable.
5581         * Makeconfig (+gccwarn): Define with many more warnings if
5582         all-warnings is yes.
5584 2000-11-20  Jakub Jelinek  <jakub@redhat.com>
5586         * iconvdata/bug-iconv2.c (main): Use %zd in format string.
5587         * io/test-lfs.c (do_test): Cast statbuf.st_size to long long.
5588         * malloc/tst-valloc.c (main): Cast valloc return value to long.
5589         * malloc/tst-obstack.c (verbose_malloc): Use %zd in format string.
5590         * math/test-fpucw.c (main): Use %lx in format string, cast
5591         control words to long.
5592         * stdio-common/tst-fmemopen.c (main): Use %td in format strings.
5593         * stdlib/tst-strtol.c (tests): Avoid (bogus?) decimal constant is so
5594         large that it is unsigned warning.
5596         * sysdeps/unix/sysv/linux/sparc/bits/types.h (__ssize_t): Changing
5597         it to long on sparc64.
5599 2000-11-20  Andreas Jaeger  <aj@suse.de>
5601         * nscd/nscd.h (termination_handler): Add noreturn attribute.
5602         (receiv_print_stats): Likewise.
5604         * elf/ldconfig.c (path_hwcap): Cast -1 for proper comparison.
5606 2000-11-20  Ulrich Drepper  <drepper@redhat.com>
5608         * malloc/thread-m.h: gcc doesn't tolerate zero-sized types anymore.
5610         * csu/gmon-start.c: Always have prototype for __gmon_start.
5611         * csu/version.c: Add prototypes for __libc_print_version and
5612         __libc_main.
5613         * iconv/gconv.c: Include gconv_int.h and gconv.h.
5614         * iconv/gconv.h (struct __gconv_step): Remove const from __from_name
5615         and __to_name.
5616         * iconv/gconv_builtin.h: Add ASCII module definitions.
5617         * iconv/gconv_conf.c (__gconv_path_elem): Remove const.
5618         (add_module): Add cast to avoid warning.  Rework construction of
5619         strings for new module.
5620         * iconv/gconv_db.c (__gconv_alias_compare): Make s1 and s2 const.
5621         (derivation_compare): Likewise.
5622         * iconv/gconv_dl.c (do_release_shlib): Remove const from nodep.
5623         (__gconv_release_shlib): Cast do_release_shlib as parameter for twalk.
5624         * iconv/gconv_int.h (__gconv_path_elem): Remove const.
5625         (struct gconv_alias): Remove const from fromname and toname.
5626         * iconv/gconv_simple.c: Include gconv_builtin.h to get prototypes
5627         for loop functions.
5628         (internal_ucs4_loop): Use correct const-ness.
5629         (ucs4_internal_loop): Likewise.
5630         (internal_ucs4le_loop): Likewise.
5631         (ucs4le_internal_loop_single): Likewise.
5632         * iconv/gconv_trans.c (__gconv_transliterate): Make from_idx, from_tbl,
5633         to_idx, to_tbl, winbuf, winbufend const.  Change casts in
5634         assignments appropriately.
5635         (struct known_trans): Remove const from fname.
5636         (trans_compare): Make s1 and s2 const.
5637         * iconv/loop.c (LOOPFC): Make outend parameter const.  Add cast to
5638         avoid warning.
5639         * iconv/skeleton.c: Remove cast in calls of loop functions.
5640         * iconvdata/gconv-modules: Remove US-ASCII definitions.
5641         * iconvdata/iso646.c: Remove US_ASCII support.
5642         * include/set-hooks.h (DEFINE_HOOK): Also generate prototype.
5643         * include/unistd.h: Add __libc_check_standard_fds prototype.
5644         * string/bits/string2.h (__mempcpy_args): Add const to casts.
5645         * sysdeps/generic/initfini.c: Add prototypes for dummy, _init, and
5646         _fini.
5647         * sysdeps/generic/libc-start.c: Add prototype for __libc_start_main.
5648         * sysdeps/i386/i486/bits/string.h (strcmp): Add const to casts.
5649         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Add cast to avoid
5650         warning.
5651         * sysdeps/unix/sysv/linux/init-first.c: Add prototypes for
5652         __libc_init_first and _dl_start.
5653         * intl/dcigettext.c (transcmp): Make s1 and s2 const.
5654         (DCIGETTEXT): Make domaindata variable const.
5655         * intl/loadmsgcat.c (_nl_load_domain): Rearrange domain initialization
5656         to avoid warning.
5658 2000-11-20  Hiroyuki Machida  <machida@sm.sony.co.jp>
5660         * sysdeps/unix/sysv/linux/mips/clone.S: Fix comments.
5662         * sysdeps/unix/sysv/linux/mips/kernel_stat.h (kernel_stat): Expand
5663         time_t to 'long int' not, 'unsigned int'.  Use 'long int' for
5664         __unused? members.
5666         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (O_NOFOLLOW): Use same
5667         value defined in /usr/include/asm-mips/fcntl.h.
5669 2000-11-18  Ulrich Drepper  <drepper@redhat.com>
5671         * stdio-common/Makefile (tests): Add test-vfprintf.
5672         (test-vfprintf-ENV): New variable.
5673         * stdio-common/test-vfprintf.c: New file.
5675         * wcsmbs/mbrtowc.c (__mbrtowc): Do not only flush if input is '\0'.
5677         * wcsmbs/Makefile (tests): Add tst-mbrtowc and tst-wcrtomb.
5678         (tst-mbrtowc-ENV): New variable.
5679         (tst-wcrtomb-ENV): New variable.
5680         * wcsmbs/tst-mbrtowc.c: New file.
5681         * wcsmbs/tst-wcrtomb.c: New file.
5683 2000-11-16  Andreas Jaeger  <aj@suse.de>
5685         * manual/install.texi (Tools for Compilation): Update
5686         documentation for GCC 2.95.2.
5688 2000-11-18  Ulrich Drepper  <drepper@redhat.com>
5690         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only return -EAI_AGAIN
5691         if IPv4 and IPv6 requests timed out.
5693 2000-11-18  Akim Demaille  <akim@epita.fr>
5695         * malloc/obstack.h: Formatting changes.
5696         (obstack_grow, obstack_grow0): Don't cast WHERE at all: it
5697         prevents type checking.
5698         (obstack_ptr_grow, obstack_ptr_grow_fast): When assigning, don't
5699         cast the value to (void *): assigning a `foo *' to a `void *'
5700         variable is valid.
5701         (obstack_int_grow, obstack_int_grow_fast): Don't cast AINT to int.
5703 2000-11-17  Ulrich Drepper  <drepper@redhat.com>
5705         * scripts/config.guess: Update from upstream maintainer.
5706         * scripts/config.sub: Likewise.
5708 2000-11-16  Ulrich Drepper  <drepper@redhat.com>
5710         * libio/freopen.c (freopen): Reset _mode after succesful reopening.
5711         * libio/freopen64.c (freopen64): Likewise.
5712         Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
5714         * libio/Makefile: Add rules to build and run test-freopen.
5715         * libio/test-freopen.c: New file.
5716         * libio/test-freopen.sh: New file.
5718 2000-11-15  H.J. Lu  <hjl@gnu.org>
5720         * sysdeps/generic/ldsodefs.h (DL_DT_INIT_ADDRESS): Defined if
5721         ELF_FUNCTION_PTR_IS_SPECIAL is not defined.
5722         (DL_DT_FINI_ADDRESS): Likewise.
5724         * sysdeps/ia64/dl-lookupcfg.h (_dl_lookup_address): Set the
5725         return type to ElfW(Addr).
5726         (_dl_function_address): New prototype.
5727         (DL_FUNCTION_ADDRESS): Defined.
5728         (DL_DT_INIT_ADDRESS): Defined as DL_FUNCTION_ADDRESS.
5729         (DL_DT_FINI_ADDRESS): Likewise.
5731         * sysdeps/ia64/Versions (GLIBC_2.2): Add _dl_function_address.
5733         * sysdeps/ia64/dl-machine.h (_dl_start_address): Removed.
5734         (ELF_MACHINE_START_ADDRESS): Changed to DL_FUNCTION_ADDRESS.
5736         * sysdeps/ia64/dl-symaddr.c (_dl_start_address): Renamed to ...
5737         (_dl_function_address): This.
5739         * elf/dl-fini.c (_dl_fini): Use DL_DT_FINI_ADDRESS to get the
5740         function pointer for DT_FINI.
5741         * elf/dl-close.c (_dl_close): Likewise.
5743         * elf/dl-init.c (_dl_init): Use DL_DT_INIT_ADDRESS to get the
5744         function pointer for DT_INIT.
5746 2000-11-16  Jakub Jelinek  <jakub@redhat.com>
5748         * sysdeps/generic/printf_fphex.c (__printf_fphex): Compute correctly
5749         end of wexpbuf buffer.
5751 2000-11-16  Andreas Jaeger  <aj@suse.de>
5753         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove duplicate
5754         definition of F_GETLK, F_SETLK, F_SETLKW.
5756 2000-11-16  Andreas Jaeger  <aj@suse.de>
5758         * sysdeps/generic/dl-cache.c (_DL_PLATFORMS_COUNT): Define to 0 if
5759         it's not defined.
5761 2000-11-15  Jakub Jelinek  <jakub@redhat.com>
5763         * dlfcn/default.c (main): Add test for dladdr of main returning
5764         argv[0] in dli_fname field.
5766 2000-11-15  Jakub Jelinek  <jakub@redhat.com>
5768         * Makeconfig (run-program-prefix): Move test-static test into the
5769         variable.
5771         * sysdeps/alpha/dl-machine.h (RTLD_START): Update _dl_argv.
5772         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise,
5773         schedule instructions.
5774         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise,
5775         schedule instructions, fix a bug in copying auxiliary data.
5777 2000-11-15  Ulrich Drepper  <drepper@redhat.com>
5779         * manual/startup.texi (Program Arguments): Fix type of main's envp
5780         parameter.
5781         Reported by Raúl Núñez de Arenas Coronado <dervishd@linuxfreak.com>.
5783         * iconvdata/gconv-modules: Add CP950 alias.
5785 2000-11-13  Jakub Jelinek  <jakub@redhat.com>
5787         * sysdeps/unix/sysv/linux/Makefile: Allow ports to override
5788         syscall-list.h goal.
5789         * sysdeps/unix/sysv/linux/sparc/Makefile: New file.
5791 2000-11-15  Ulrich Drepper  <drepper@redhat.com>
5793         * intl/Makefile: tst-gettext2.sh does not need a third parameter.
5795         * intl/tst-gettext2.sh: Copy locale data.  Adjust LOCPATH.  Verify
5796         output of program.
5798         * intl/tst-gettext2.c: Set C locale if setting other locale
5799         failed.  Use gettext() not _().
5801         * locale/setlocale.c: Increment _nl_msg_cat_cntr whenever we
5802         successfully loaded a new locale.
5804 2000-11-13  Andreas Jaeger  <aj@suse.de>
5806         * configure.in: Require gcc 2.95 or newer.
5808 2000-11-15  Ulrich Drepper  <drepper@redhat.com>
5810         * sysdeps/unix/sysv/linux/paths.h: Adjust for FHS.
5811         Patch by Arkadiusz Miskiewicz <misiek@pld.ORG.PL>.
5813 2000-11-11  Jim Meyering  <meyering@lucent.com>
5815         * string/strndup.c (strndup): Cast return value to `char *'.
5817 2000-11-15  Jim Meyering  <meyering@ascend.com>
5819         * sysdeps/generic/memchr.c: Remove some useless parentheses.
5820         [HAVE_STDLIB_H || defined _LIBC]: Include <stdlib.h>.
5821         [HAVE_BP_SYM_H || defined _LIBC]: Guard inclusion of bp-sym.h.
5822         [! (HAVE_BP_SYM_H || defined _LIBC)] (BP_SYM): Define as no-op.
5823         Also #undef __memchr.
5824         Use `weak_alias' only if it's defined.
5826 2000-11-10  H.J. Lu  <hjl@gnu.org>
5828         * Makefile.in (install): Set LANGUAGE=C LC_ALL=C.
5830 2000-11-15  Andreas Jaeger  <aj@suse.de>
5832         * elf/chroot_canon.c: Include <stdint.h>.
5834         * elf/cache.c (struct cache_entry): Use uint64_t for hwcap.
5835         (print_entry): Likewise.
5836         (add_to_cache): Likewise.
5838         * elf/ldconfig.h (add_to_cache): Change prototype for hwcap change.
5840         * elf/ldconfig.c (struct lib_entry): Use uint64_t for hwcap.
5841         (path_hwcap): Likewise.
5842         (search_dir): Likewise.
5844         * sysdeps/generic/dl-cache.c (HWCAP_CHECK): Handle platform.
5846         * elf/cache.c (add_to_cache): Handle 64 bit hwcap entry.
5848         * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h
5849         (_dl_platform_string): New.
5850         (_DL_HWCAP_PLATFORM): New.
5851         (_dl_string_platform): New.
5852         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h: Likewise.
5854         * sysdeps/generic/dl-procinfo.h (_DL_HWCAP_COUNT): New.
5855         (_dl_string_platform): New.
5856         (_DL_HWCAP_PLATFORM): New.
5857         (_dl_platform_string): New.
5859         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Added x86 platform
5860         recognition.
5861         (_DL_HWCAP_COUNT): New.
5862         (_dl_string_platform): New.
5863         (_DL_HWCAP_PLATFORM): New.
5864         (_dl_platform_string): New.
5866 2000-11-14  Ulrich Drepper  <drepper@redhat.com>
5868         * iconvdata/gconv-modules: Add CP936 as alias for GBK.
5870 2000-11-14  Andreas Jaeger  <aj@suse.de>
5872         * sysdeps/generic/dl-cache.c (HWCAP_CHECK): Fix access to _dl_hwcap.
5874 2000-11-13  Roland McGrath  <roland@frob.com>
5876         * hurd/get-host.c (_hurd_get_host_config): Fix last change.
5878 2000-11-13  Marcus Brinkmann <marcus@gnu.org>
5880         * hurd/get-host.c (_hurd_get_host_config): Fix possible buffer
5881         underrun and make sure the result is null terminated even if there
5882         is no trailing newline.
5884 2000-11-13  Jakub Jelinek  <jakub@redhat.com>
5886         * sysdeps/alpha/fpu/libm-test-ulps: Update.
5888 2000-11-10  H.J. Lu  <hjl@gnu.org>
5890         * sysdeps/ia64/fpu/libm-test-ulps: Updated.
5892 2000-11-10  Andreas Jaeger  <aj@suse.de>
5894         * elf/ldconfig.c (create_links): Fix alloca calculation.
5895         Patch by Ben Collins <bcollins@debian.org>.
5897 2000-11-09  Ulrich Drepper  <drepper@redhat.com>
5899         * inet/getnameinfo.c (getnameinfo): Use correct destination
5900         parameter for if_indextoname.
5901         Patch by Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>.
5903 2000-11-09  H.J. Lu  <hjl@gnu.org>
5905         * sunrpc/Versions (GLIBC_2.1): Remove xdr_cryptkeyarg,
5906         xdr_cryptkeyarg2, xdr_cryptkeyres, xdr_des_block,
5907         xdr_key_netstarg, xdr_key_netstres, xdr_keybuf and
5908         xdr_keystatus.
5910         * time/Versions (GLIBC_2.1): Move getitimer to...
5911         * sysdeps/unix/sysv/linux/alpha/Versions (GLIBC_2.1): ...here.
5913 2000-11-03  Bruno Haible  <haible@clisp.cons.org>
5915         * manual/install.texi: Recommend to set LANGUAGE=C LC_ALL=C during
5916         "make install", to work around a binary incompatibility between
5917         glibc 2.1 and glibc 2.2 gconv modules.
5919 2000-11-09  Ulrich Drepper  <drepper@redhat.com>
5921         * intl/locale.alias: Add thai.
5922         Patch by Chanop Silpa-Anan <chanop@syseng.anu.edu.au>.
5924 2000-11-07  Akim Demaille  <akim@epita.fr>
5926         * malloc/obstack.c (obstack_grow, obstack_grow0): Rename the second
5927         argument `data' for consistency with the prototypes.
5928         Qualify it `const'.
5929         (obstack_copy, obstack_copy0): Rename the second argument as
5930         `address' for consistency.  Qualify it `const'.
5931         * malloc/obstack.h (obstack_copy, obstack_copy0, obstack_grow)
5932         (obstack_grow0, obstack_ptr_grow, obstack_ptr_grow_fast): Qualify
5933         `const' their input argument (`data' or `address').
5934         Adjust the corresponding macros to include `const' in casts.
5936 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
5938         * sysdeps/posix/getaddrinfo.c: Clean-up: define family to hold
5939         target family.
5941 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
5943         * sysdeps/posix/getaddrinfo.c: Loosen protocol check to ease raw
5944         socket creation.
5946 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
5948         * sysdeps/posix/getaddrinfo.c: Ensure to fill ai_socktype and
5949         ai_protocol by internal table if service was not given.
5951 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
5953         * sysdeps/posix/getaddrinfo.c: Don't raise an error even if
5954         numerical port was specified with protocol without socktype.
5956 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
5958         * sysdeps/posix/getaddrinfo.c: Ensure to check if protocol is ok.
5960 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
5962         * inet/getnameinfo.c: getnameinfo() NI_xxx flag validation.
5964 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
5966         * sysdeps/posix/getaddrinfo.c: Ensure not to fill garbage value in
5967         sin6_scope_id field.
5969 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
5971         * inet/getnameinfo.c: Repair getnameinfo() sin6_socpe_id support.
5973 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
5975         * inet/getnameinfo.c: Repair NI_NOFQDN flag support.
5977 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
5979         * inet/getnameinfo.c: Wake-up sin6_scope_id support in
5980         getnameinfo(): check for whether sin6_socpe_id exist was wrong.
5982 2000-11-09  Martin Schwidefsky  <mschwide@nc.boeblingen.de.ibm.com>
5984         * sysdeps/unix/sysv/linux/s390/mmap.S: Use mmap2 if it is present.
5985         * sysdeps/unix/sysv/linux/s390/mmap64.S: New file.
5987 2000-11-09  H.J. Lu  <hjl@gnu.org>
5989         * io/Versions (GLIBC_2.1.1): Remove lockf64.
5992 See ChangeLog.11 for earlier changes.