Update.
[glibc.git] / ChangeLog
blob775e23fe443c9b4b69db51f5a01a297567f05193
1 2001-04-05  Ulrich Drepper  <drepper@redhat.com>
3         * login/tst-utmp.c: Make file usable again in tst-utmpx.c.
5 2001-04-04  Ulrich Drepper  <drepper@redhat.com>
7         * sysdeps/unix/sysv/aix/dl-libc.c: Don't use the ELF version,
8         define simple replacements here.  Patch by Michael Keezer.
10         * sysdeps/ieee754/ldbl-128/e_logl.c: New file.
11         * sysdeps/ieee754/ldbl-96/e_asinl.c: New file.
12         Contributed by Stephen L Moshier <moshier@mediaone.net>.
14         * posix/fnmatch_loop.c: Undefine NEW_PATTERN when it is not used
15         anymore.
17 2001-04-01  Andreas Jaeger  <aj@suse.de>
19         * sysdeps/generic/s_nextafter.c (NO_LONG_DOUBLE): Add nexttowardl
20         alias.
22         * sysdeps/generic/s_fma.c (NO_LONG_DOUBLE): Add fmal alias.
24 2001-04-04  Ulrich Drepper  <drepper@redhat.com>
26         * sysdeps/unix/sysv/linux/s390/s390-64/Dist: Add ucontext_i.h.
27         * sysdeps/unix/sysv/linux/s390/s390-32/Dist: Likewise.
29 2001-04-04  Martin Schwidefsky  <schwidefsky@de.ibm.com>
31         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: New file.
32         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: New file.
33         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: New file.
34         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.h: New file.
35         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: New file.
36         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: New file.
37         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: New file.
38         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.h: New file.
39         * sysdeps/unix/sysv/linux/s390/swapcontext.c: New file.
41 2001-04-04  Andreas Jaeger  <aj@suse.de>
43         * sysdeps/powerpc/dl-machine.h (ELF_MACHINE_NO_REL): Move to right
44         place.
46 2001-04-04  Ulrich Drepper  <drepper@redhat.com>
48         * sunrpc/rpc_scan.c (symbols): Add entry for HYPER.
49         * sunrpc/rpc_scan.h (enum tok_kind): Add TOK_HYPER.
50         * sunrpc/rpc_parse.c (get_type): Handle TOK_HYPER.
51         (unsigned_dec): Likewise.
52         Patch by atai@jezebel.dreamhost.com.
54         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r): Pass
55         pointer to int as last parameter of yp_match.
56         Patch by kanazawa@flab.fujitsu.co.jp.
58 2001-04-03  Ulrich Drepper  <drepper@redhat.com>
60         * resolv/netdb.h (gai_strerror): Make return value const.
61         * sysdeps/generic/gai_strerror.c (gai_strerror): Likewise.
62         * sysdeps/posix/gai_strerror.c (gai_strerror): Likewise.
63         Add strings for new error values.
65 2001-03-29  Michael Keezer  <mkeezer@redhat.com>
67         * posix/tst-gnuglob.c: Added ifdef _DIRENT_HAVE_D_TYPE.
68         * login/tst-utmp.c: Handle case where ut_tv is not available but
69         ut_time is.
70         * sysdeps/unix/sysv/aix/utmpx.h: New file.
71         * sysdeps/unix/sysv/aix/bits/utmpx.h: Added
72         _HAVE_UT_TYPE/PID/ID/TV/HOST defines.
73         * sysdeps/unix/sysv/aix/libc-start.c: Removed temp code and made stub.
74         * sysdeps/unix/sysv/aix/gettimeofday.c: New file added routines
75         to access RTCU timer reg.
76         * sysdeps/unix/sysv/aix/Makefile: Remove /usr/lib/crt0.o
77         added dl-libc, dl-open,dl-sym, dl-close to misc.
78         * sysdeps/unix/sysv/aix/start.c: New file.  Start code.
79         * sysdeps/unix/sysv/aix/dlldr.h: New file.  AIX __loadx defines.
80         * sysdeps/unix/sysv/aix/dl-close.c: New file.  AIX dl-close.
81         * sysdeps/unix/sysv/aix/dl-open.c: New file.  AIX dl-open.
82         * sysdeps/unix/sysv/aix/dl-sym.c: New file.  AIX dl-sym.
83         * sysdeps/unix/sysv/aix/dl-libc.c: New file.  libc_dl-xxx support.
84         * sysdeps/generic/strtoll.c: Added SHLIB_COMPAT(libc,GLIBC_2_0,
85         GLIBC_2_2).
86         * sysdeps/generic/strtoull.c: Likewise.
87         * sysdeps/powerpc/ppc-mcount.S: Added nop after bl instruction.
88         * sysdeps/unix/sysv/aix/powerpc/memset.c: New file to include
89         sysdeps/generic/memset.c.
90         * sysdeps/unix/sysv/aix/getpeername.c: Define __getpeername.
92 2001-04-03  Ulrich Drepper  <drepper@redhat.com>
94         * iconv/Makefile (CFLAGS-charmap.c): Add -DNEED_NULL_POINTER.
95         * locale/programs/charmap.c: Define null_pointer if
96         NEED_NULL_POINTER is defined.
98         * misc/dirname.c (dirname): Handle multiple slashes correctly.
100 2001-04-03  Martin Schwidefsky  <schwidefsky@de.ibm.com>
102         * sysdeps/s390/s390-64/initfini.c: Fix __gmon_start__ GOT access.
104 2001-04-03  Martin Schwidefsky  <schwidefsky@de.ibm.com>
106         * sysdeps/s390/s390-32/bcopy.S: Optimize for speed.
107         * sysdeps/s390/s390-64/bcopy.S: Likewise.
108         * sysdeps/s390/s390-32/mempcy.S: Likewise.
109         * sysdeps/s390/s390-64/memcpy.S: Likewise.
111 2001-04-02  Bruno Haible  <haible@clisp.cons.org>
113         * manual/message.texi (Advanced gettext functions): More specific
114         syntax in the plural formula examples.
116 2001-04-02  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
118         * sysdeps/powerpc/atomicity.h: Silence warnings.
119         * sysdeps/powerpc/dl-machine.h: Likewise.
120         * sysdeps/powerpc/register-dump.h: Likewise.
121         * sysdeps/powerpc/fpu/s_lrint.c: Likewise.
123 2001-04-02  Andreas Jaeger  <aj@suse.de>
125         * misc/tst-dirname.c (main): Add more tests, derived from a bug
126         report by Michael Kerrisk <mtk16@ext.canterbury.ac.nz>.
128 2001-04-01  Andreas Jaeger  <aj@suse.de>
130         * debug/xtrace.sh (pcprofileso): Use SLIBDIR since libpcprofile.so
131         is installed there.
132         * malloc/memusage.sh (memusageso): Likewise for libmemusage.so.
134 2001-04-01  H.J. Lu  <hjl@gnu.org>
136         * posix/annexc.c (macrofile): Renamed from TMPFILE and set to
137         tmpnam (NULL).
138         * stdlib/isomac.c (macrofile): Likewise.
140 2001-03-30  Thorsten Kukuk  <kukuk@suse.de>
142         * inet/rcmd.c: Allow AF_UNSPEC as parameter.
143         * nis/ypclnt.c (yp_all): Print error message only at last try,
144         check for protocoll error only if we don't have a network error.
146 2001-04-02  Andreas Schwab  <schwab@suse.de>
148         * resolv/res_data.c (res_isourserver): Fix cast.
150 2001-04-02  Andreas Jaeger  <aj@suse.de>
152         * sysdeps/unix/sysv/linux/hppa/umount.c: Add prototype for
153         __umount2.
155         * sysdeps/i386/dl-machine.h (RTLD_START): Don't use multi-line
156         strings.
157         (ELF_MACHINE_RUNTIME_TRAMPOLINE): Likewise.
159         * sysdeps/ieee754/dbl-64/uroot.h: Add missing braces arount
160         initializers.
161         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Likewise.
163         * elf/rtld.c (print_statistics)[!HP_TIMING_NONAVAIL]: Avoid
164         warning about unused variable.
166         * string/string.h (strndupa): Add cast for C++ conformance.
167         (strdupa): Likewise.
168         Fixes PR libc/2173, reported by tbrowder@home.com.
170 2001-03-30  Roland McGrath  <roland@frob.com>
172         * sysdeps/mach/hurd/Makefile ($(link-rpcuserlibs)): Don't append
173         options after $(build-module), which is no longer a single command.
174         (LDFLAGS-link-rpcuserlibs): New variable to hold those options.
175         (LDFLAGS-libmachuser-link.so, LDFLAGS-libhurduser-link.so): New
176         variables using it.  Reported by Mark Kettenis <kettenis@gnu.org>.
178 2001-03-11  Roland McGrath  <roland@frob.com>
180         * elf/rtld.c (dl_main): Add cast to quiet warning.
181         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
182         * iconv/gconv_conf.c (__gconv_get_path): Likewise.
183         (__gconv_read_conf): Likewise.
184         * iconv/gconv_db.c (gen_steps): Likewise.
185         (__gconv_find_transform): Likewise.
186         * locale/programs/charmap-dir.c (fopen_uncompressed): Likewise.
187         (fopen_uncompressed): Use const in second argument's type.
189 2001-03-11  Roland McGrath  <roland@frob.com>
191         * sysdeps/mach/hurd/dl-sysdep.c (__writev): New function.
193         * mach/mach_error.h: Fix ancient #endif syntax.
194         * hurd/hurdmalloc.c: Likewise.
196         * sysdeps/generic/atomicity.h (exchange_and_add, atomic_add,
197         compare_and_swap): Add volatile qualifier to first arg, to bring
198         these prototypes in line with all the other implementations.
199         Add a #warning to remind the builder that these are not atomic.
201 2001-03-04  Roland McGrath  <roland@frob.com>
203         * hurd/vpprintf.c (vpprintf) [USE_IN_LIBIO]: Use innermore first
204         member of TEMP_F so its type is _IO_FILE * as expected.
206         * hurd/fopenport.c (seekio): Conditionalize type of POS argument
207         on [USE_IN_LIBIO].  Check the value for overflow, since for libio
208         it might exceed off_t's range.
210 2001-02-25  Roland McGrath  <roland@frob.com>
212         * sysdeps/mach/hurd/sysd-stdio.c (__stdio_reopen): Use prototype.
213         * sysdeps/unix/bsd/getpt.c (__posix_openpt): Likewise.
215         * sysdeps/mach/hurd/i386/intr-msg.h (SYSCALL_EXAMINE): Make this a
216         macro instead of an inline function,
217         (MSG_EXAMINE): Likewise.
219         * hurd/hurd/ioctl.h (_HURD_HANDLE_IOCTLS_1): Remove extraneous ##.
221         * hurd/get-host.c: Include <string.h> for decls of built-ins.
222         * hurd/hurdchdir.c: Likewise.
223         * sysdeps/mach/hurd/i386/sigreturn.c: Likweise.
224         * sysdeps/mach/hurd/opendir.c: Likewise.
226         * mach/mach_init.c: Include <unistd.h> for _exit decl.
228         * mach/errsystems.awk: Give output file a trailing newline.
230         * mach/Machrules (MIG): Prepend CC='${CC}' to the mig command, so that
231         the script will use our compiler for the cpp stage.
233         With --enable-all-warnings we get a whole bunch of warnings,
234         and these are just a few fixes; there are more needed to silence it.
235         * mach/mach/mig_support.h (__mig_strncpy, mig_strncpy): Add extern
236         decls before extern inline defns to quiet gcc warning.
237         * hurd/hurd/threadvar.h (__hurd_threadvar_location_from_sp): Likewise.
238         * sysdeps/mach/i386/machine-sp.h (__thread_stack_pointer): Likewise.
240 2001-03-31  Andreas Jaeger  <aj@suse.de>
242         * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_RAWHDLC): Added.
243         (ARPHRD_HDLC): Define as alias for ARPHRD_CISCO.
244         (ARPHRD_CISCO): New.
245         Changes from Linux 2.4.3.
247 2001-03-30  Isamu Hasegawa  <isamu@yamato.ibm.com>
249         * posix/regex.c: Avoid an access violation if malloc failes.
251 2001-03-30  Andreas Jaeger  <aj@suse.de>
253         * sysdeps/alpha/ldiv.S (ldiv): Add alias for imaxdiv.
255 2001-03-29  Ulrich Drepper  <drepper@redhat.com>
257         * posix/regex.c: Remove unnecessary ifs.
259         * math/bits/mathcalls.h: Remove infnan declaration.
261 2001-03-29  H.J. Lu  <hjl@gnu.org>
263         * include/endian.h: Define BIG_ENDI, LITTLE_ENDI, HIGH_HALF,
264         and LOW_HALF only if _LIBC is defined and _ISOMAC is not defined.
265         * stdlib/isomac.c (fmt): Define _LIBC and _ISOMAC.
266         .
267 2001-03-29  Isamu Hasegawa  <isamu@yamato.ibm.com>
269         * posix/regex.c: Fix typo and add a sentinel.
271 2001-03-29  Ulrich Drepper  <drepper@redhat.com>
273         * sysdeps/unix/sysv/linux/shm_open.c: Open new file always with
274         O_NOFOLLOW.  Suggested by Christoph Roland.
276 2001-03-27  Martin Schwidefsky  <schwidefsky@de.ibm.com>
278         * sysdeps/s390/bits/string.h: New unified 31/64 bit string.h.
279         * sysdeps/s390/s390-32/bits/string.h: Remove.
280         * sysdeps/s390/s390-64/bits/string.h: Remove.
281         * sysdeps/s390/s390-32/strcmp.S: New file.
282         * sysdeps/s390/s390-64/strcmp.S: New file.
284 2001-03-27  Martin Schwidefsky  <schwidefsky@de.ibm.com>
286         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Fix typo.
287         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
289 2001-03-27  Ulrich Drepper  <drepper@redhat.com>
291         * version.h (VERSION): Bump to 2.2.3.
293         * stdlib/isomac.c (fmt): Don't define _LIBC.
294         * include/endian.h: Define BIG_ENDI, LITTLE_ENDI, HIGH_HALF, and
295         LOW_HALF only if _LIBC is defined.
297         * sysdeps/i386/fpu/libm-test-ulps: Slight adjustment of yn() error.
299         * posix/fnmatch_loop.c (FCT): Handle !() after * special like @()
300         and +().
301         * posix/tst-fnmatch.input: Add test cases for matching empty strings.
303         * sysdeps/ieee754/dbl-64/endian.h: Removed.  Move definitions...
304         * include/endian.h: ...to here.
306 2001-03-27  kaz Kojima  <kkojima@rr.iij4u.or.jp>
308         * sysdeps/sh/sys/ucontext.h (NFREG): Rename to NFPREG.
309         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (NFREG): Likewise.
311 2001-03-27  Martin Schwidefsky  <schwidefsky@de.ibm.com>
313         * sysdeps/unix/sysv/linux/s390/ldconfig.h: Fix typo.
315 2001-03-26  Ulrich Drepper  <drepper@redhat.com>
317         * sysdeps/ia64/fpu/Dist: Add new files to distribute.
318         * sysdeps/unix/sysv/linux/s390/s390-64/Dist: Likewise.
319         * sysdeps/unix/sysv/linux/ia64/Dist: Likewise.
321         * gmon/Makefile (headers): Add sys/profil.h.
323 2001-03-18  Andreas Jaeger  <aj@suse.de>
325         * manual/install.texi (Tools for Compilation): Advise to use GCC
326         2.95.3.
327         (Supported Configurations): Mention s390x.
329 2001-03-26  Ben Collins  <bcollins@debian.org>
331         * sysdeps/unix/sysv/linux/mips/bits/mman.h: Add MAP_* and MADV_*
332         defines to match other architectures.
334 2001-03-26  Ulrich Drepper  <drepper@redhat.com>
336         * libio/Makefile (tests): Add tst-ext.
337         * libio/tst-ext.c: New file.
339         * libio/iosetvbuf.c (_IO_setvbuf): Clear line buffer flag for _IONBF.
341 2001-03-25  Ulrich Drepper  <drepper@redhat.com>
343         Add changes which were in this form in the original patch by
344         Eric Norum <eric.norum@usask.ca>.
345         * include/rpc/rpc.h: Remove svc_fdset, rpc_createerr, svc_pollfd, and
346         svc_max_pollfd.
347         * sunrpc/rpc/rpc.h: Declare __rpc_thread_svc_fdset,
348         __rpc_thread_createerr, __rpc_thread_svc_pollfd, and
349         __rpc_thread_svc_max_pollfd.
350         Define svc_fdset, get_rpc_createerr, svc_pollfd, and
351         svc_max_pollfd.
352         * sunrpc/rpc_thread.c: Handle first thread special, it uses the
353         global variables.
354         Define __rpc_thread_svc_fdset, __rpc_thread_createerr,
355         __rpc_thread_svc_pollfd, and __rpc_thread_svc_max_pollfd.
356         * sunrpc/Versions [libc] (GLIBC_2.2.3): Export  __rpc_thread_svc_fdset,
357         __rpc_thread_createerr, __rpc_thread_svc_pollfd, and
358         __rpc_thread_svc_max_pollfd.
359         * sunrpc/clnt_gen.c: Replace use of rpc_createerr by call to
360         get_rpc_createerr.
361         * sunrpc/clnt_perr.c: Likewise.
362         * sunrpc/clnt_simp.c: Likewise.
363         * sunrpc/clnt_tcp.c: Likewise.
364         * sunrpc/clnt_udp.c: Likewise.
365         * sunrpc/clnt_unix.c: Likewise.
366         * sunrpc/pm_getport.c: Likewise.
368         * sysdeps/unix/sysv/linux/i386/getgroups.c (__getgroups): getgroups32
369         syscall checks for negative n so don't test here as well.
371 2001-03-23  Jes Sorensen  <jes@linuxcare.com>
373         * sysdeps/unix/sysv/linux/ia64/sysdep.h (ENTRY): Moved to ...
374         * sysdeps/ia64/sysdep.h: ...here.
376         * sysdeps/ia64/sysdep.h (LOCAL_ENTRY): Define.
377         * sysdeps/ia64/sysdep.h (LOCAL_LEAF): Define.
379         * sysdeps/ia64/_mcount.S (_mcount_ret_helper): Use LOCAL_LEAF() to
380         declare instead of LEAF().  Suggestion from David Mosberger.
382 2001-03-21  David Mosberger  <davidm@hpl.hp.com>
384         * sysdeps/unix/sysv/linux/ia64/sysdep.h (CALL_MCOUNT): Add unwind
385         directives.
386         (PSEUDO): Drop .psr and .lsb directives.
388         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Ditto.  Add unwind
389         directives.
390         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Ditto.
392         * sysdeps/ia64/elf/start.S: Misc cleanup: remove .psr and .lsb
393         directives etc.
394         * sysdeps/unix/sysv/linux/ia64/brk.S: Ditto.
395         * sysdeps/unix/sysv/linux/ia64/__longjmp.S: Ditto.
396         * sysdeps/ia64/_mcount.S: Remove .psr and .lsb directives (no
397         longer needed).  Add unwind directives.
399         * sysdeps/ia64/sysdep.h: Define ASM_UNW_PRLG_RP, ASM_UNW_PRLG_PFS,
400         ASM_UNW_PRLG_PSP, ASM_UNW_PRLG_PR, and ASM_UNW_PRLG_GRSAVE.
402 2001-03-21  Paul Eggert  <eggert@twinsun.com>
404         * posix/regex.h (RE_INVALID_INTERVAL_ORD): New macro.
405         (RE_SYNTAX_POSIX_EGREP): Use it.
406         * posix/regex.c (regex_compile): Implement it.
408 2001-03-21  Paul Eggert  <eggert@twinsun.com>
410         * posix/regex.c (GET_UNSIGNED_NUMBER): Check for overflow.
411         Rewrite to avoid duplicate code.
413 2001-03-21  H.J. Lu  <hjl@gnu.org>
415         * elf/Makefile (tests): Don't depend on $(objpfx)tst-pathopt.out
416         for cross-compiling.
417         ($(objpfx)tst-pathopt.out): Undo the last change.
419 2001-03-24  Mark Kettenis  <kettenis@gnu.org>
421         * sysdeps/mach/hurd/i386/bits/sigcontext.h (sc_sp, sc_fp, sc_pc,
422         sc_ps): Define as aliases for sc_uesp, sc_ebl, sc_eip and sc_efl.
424         * sysdeps/mach/hurd/i386/init-first.c: Include <assert.h>.
425         (_dl_argv): Declare.
426         (init) [SHARED]: Readjust _dl_argv if we switched to a new stack.
428 2001-03-22  Andreas Jaeger  <aj@suse.de>
430         * iconvdata/Makefile (generated): Add iconv-test.xxx.
432         * posix/Makefile (generated): Add bug-regex2.mtrace and
433         bug-regex2-mem.
435 2001-03-21  Ulrich Drepper  <drepper@redhat.com>
437         * csu/version.c (__gnu_get_libc_release): Add prototype.
438         (__gnu_get_libc_version): Likewise.
439         * include/gnu/libc-version.h: Remove prototypes for not exported
440         functions.
442 2001-03-21  Jes Sorensen  <jes@linuxcare.com>
444         * sysdeps/unix/sysv/linux/ia64/makecontext.c: Include libintl.h
445         for internationalized printfs to work.
447 2001-03-09  Bruno Haible  <haible@clisp.cons.org>
449         * intl/dcigettext.c (transmem_block_t): Change to unsigned char, to
450         avoid compiler warning.
451         (_nl_find_msg): Add casts to avoid compiler warnings.
453 2001-03-21  Ulrich Drepper  <drepper@redhat.com>
455         * gmon/Makefile (routines): Add sprofil.
456         (tests): Add tst-sprofil.
457         (noprof): Add sprofil.
458         * gmon/Versions [libc] (GLIBC_2.2.3): Add sprofil.
460 2001-03-20  David Mosberger  <davidm@hpl.hp.com>
462         * sysdeps/generic/sprofil.c: New file.
463         * sysdeps/posix/sprofil.c: New file.
464         * gmon/tst-sprofil.c: New file.
465         * gmon/sys/profil.h: New file.
467 2001-03-20  Andreas Schwab  <schwab@suse.de>
469         * include/unistd.h: Adjust prototype of __gethostname.
471 2001-03-20  Jakub Jelinek  <jakub@redhat.com>
473         * sysdeps/sparc/stackinfo.h: New file.
475 2001-03-21  Andreas Jaeger  <aj@suse.de>
477         * elf/global.c (main): Use proper prototype.
479 2001-03-20  Ulrich Drepper  <drepper@redhat.com>
481         * sunrpc/Makefile (routines): Add rpc_thread.
482         (CPPFLAGS): Add -D_RPC_THREAD_SAFE.
483         * sunrpc/rpc_thread.c: New file.
484         * sunrpc/Versions [libc] (GLIBC_2.2.3): Export __rpc_thread_destroy.
485         * sunrpc/auth_none.c: Don't use global variables.  Access state in
486         thread-local storage.
487         * sunrpc/clnt_perr.c: Likewise.
488         * sunrpc/clnt_raw.c: Likewise.
489         * sunrpc/clnt_simp.c: Likewise.
490         * sunrpc/key_call.c: Likewise.
491         * sunrpc/rpc_common.c: Likewise.
492         * sunrpc/svc.c: Likewise.
493         * sunrpc/svc_raw.c: Likewise.
494         * sunrpc/svc_simple.c: Likewise.
495         * sunrpc/svcauth_des.c: Likewise.
496         * hurd/hurd/threadvar.h (enum __hurd_threadvar_index): Add
497         _HURD_THREADVAR_RPC_VARS.
498         * sysdeps/generic/bits/libc-tsd.h: Mention _LIBC_TSD_KEY_RPC_VARS.
499         * include/rpc/rpc.h: Define data structures for internal thread-local
500         "global" variables.
501         Based on patches by Eric Norum <eric.norum@usask.ca>.
503         * elf/dl-load.c: Various little optimizations.
505         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Return
506         LINUX_LINK_MAX only if the statfs function is not implemented for
507         the filesystem.
509         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Return
510         LINUX_LINK_MAX only if the fstatfs function is not implemented for
511         the filesystem.
513 2001-03-19  Ulrich Drepper  <drepper@redhat.com>
515         * elf/dl-dst.h (DL_DST_COUNT): Add __builtin_expect.
517         * elf/dl-load.c (_dl_dst_count): Make DST recognition more robust.
518         (_dl_dst_substitute): Likewise.
520 2001-03-17  Bruno Haible  <haible@clisp.cons.org>
522         * intl/loadmsgcat.c (_nl_load_domain) [!_LIBC]: Use fstat, not fstat64.
524 2001-03-17  Bruno Haible  <haible@clisp.cons.org>
526         * intl/gettextP.h (struct expression): Add operators lnot, less_than,
527         greater_than, less_or_equal, greater_or_equal. Replace args2/args3
528         union by a 'nargs' counter and an 'args[]' array.
529         * intl/plural.y: Don't include stdarg.h.
530         (new_exp): Take an array of arguments instead of varargs.
531         (new_exp_0, new_exp_1, new_exp_2, new_exp_3): New functions.
532         ('?' ':'): Make right-associative.
533         (EQUOP2): New token, replaces '=' and '!'.
534         (CMPOP2): New token.
535         (ADDOP2): New token, replaces '+' and '-'.
536         (MULOP2): New token, replaces '*', '/' and '%'.
537         ('!'): New token.
538         (exp): Add rules for CMPOP2 and '!'. Don't call YYABORT.
539         (start): Call YYABORT here.
540         (FREE_EXPRESSION): Update.
541         (yylex): Don't skip "\\n". Recognize comparison and '!' operators.
542         Update for new token symbols.
543         * intl/loadmsgcat.c (plvar, plone, germanic_plural,
544         init_germanic_plural): Update.
545         * intl/dcigettext.c (_nl_find_msg): Optimize for space.
546         (plural_eval): Recognize comparison and '!' operators. Optimize for
547         space.
549 2001-03-10  Bruno Haible  <haible@clisp.cons.org>
551         * intl/loadmsgcat.c (_nl_load_domain): locale_charset() doesn't return
552         NULL any more.
554 2001-01-05  Bruno Haible  <haible@clisp.cons.org>
556         * intl/loadmsgcat.c: Include headers needed for alloca().
557         (freea): New macro.
558         (_nl_load_domain): Add fallback code for platforms lacking alloca.
559         * intl/localealias.c: (ADD_BLOCK, FREE_BLOCK): Remove macros.
560         (freea): New macro.
561         (read_alias_file): Simplify fallback code for platforms lacking
562         alloca.
564 2001-01-07  Bruno Haible  <haible@clisp.cons.org>
566         * intl/gettextP.h (__gettextdebug): Remove declaration.
567         (__gettext_free_exp, __gettextparse): Convert prototype to K&R C
568         syntax.
569         (gettext_free_exp__, gettextparse__): New non-libc declarations.
570         * intl/plural.y [!_LIBC]: Define gettextparse__, gettext_free_exp__,
571         not __gettextparse, __gettext_free_exp.
572         * intl/loadmsgcat.c [!_LIBC]: Use gettextparse__, not __gettextparse.
574 2001-02-24  Bruno Haible  <haible@clisp.cons.org>
576         * intl/dcigettext.c: Update comment about HAVE_LOCALE_NULL.
578 2001-01-05  Bruno Haible  <haible@clisp.cons.org>
580         * intl/loadmsgcat.c (_nl_load_domain): Add fallback code for platforms
581         lacking strtoul, like SunOS4.
583 2001-01-05  Bruno Haible  <haible@clisp.cons.org>
585         * intl/l10nflist.c (_nl_normalize_codeset): Use tolower, not _tolower.
587 2001-01-05  Bruno Haible  <haible@clisp.cons.org>
589         * intl/bindtextdom.c (set_binding_values): Convert prototype to K&R C
590         syntax.
591         * intl/dcigettext.c (transcmp): Convert to K&R C syntax.
592         * intl/explodename.c (_nl_find_language): Convert to K&R C syntax.
593         * intl/plural.y (__gettext_free_exp, yylex, yyerror): Convert to K&R C
594         syntax.
596 2001-01-07  Bruno Haible  <haible@clisp.cons.org>
598         * intl/gettextP.h (gettext__, dgettext__, dcgettext__, textdomain__,
599         bindtextdomain__, bind_textdomain_codeset__): New declarations, from
600         old libgettext.h.
601         * intl/bindtextdom.c: Include libgnuintl.h instead of libgettext.h.
602         * intl/dcgettext.c: Likewise.
603         * intl/dcigettext.c: Likewise.
604         * intl/dcngettext.c: Likewise.
605         * intl/dngettext.c: Likewise.
606         * intl/finddomain.c: Likewise.
607         * intl/ngettext.c: Likewise.
608         * intl/textdomain.c: Likewise.
609         * intl/dgettext.c: Include libgnuintl.h instead of libgettext.h.
610         Include gettextP.h.
611         * intl/gettext.c: Likewise.  Don't include locale.h.
613 2001-03-17  Bruno Haible  <haible@clisp.cons.org>
615         * intl/gettextP.h (ZERO): New macro.
616         (struct binding): Always use ZERO.
617         * intl/bindtextdom.c (offsetof): Provide fallback for platforms that
618         lack it, like SunOS4.
619         (set_binding_values): Use offsetof, not sizeof.
620         * intl/dcigettext.c (offsetof): Provide fallback for platforms that
621         lack it, like SunOS4.
622         (ZERO): Remove macro.
623         (struct transmem_list): Use ZERO.
624         (DCIGETTEXT): Use offsetof, not sizeof.
626 2001-03-17  Bruno Haible  <haible@clisp.cons.org>
628         * intl/gettextP.h: Include <stddef.h>. Include gettext.h, for
629         nls_uint32.
630         * intl/bindtextdom.c: Don't include gettext.h.
631         * intl/dcgettext.c: Likewise.
632         * intl/dcigettext.c: Likewise.
633         * intl/dcngettext.c: Likewise.
634         * intl/dngettext.c: Likewise.
635         * intl/finddomain.c: Likewise.
636         * intl/localealias.c: Likewise.
637         * intl/ngettext.c: Likewise.
638         * intl/plural.y: Likewise.
639         * intl/textdomain.c: Likewise.
641 2001-03-17  Bruno Haible  <haible@clisp.cons.org>
643         * intl/gettext.h: Don't include <stdio.h>.
645 2001-03-17  Bruno Haible  <haible@clisp.cons.org>
647         * intl/Makefile (CPPFLAGS): Set LOCALEDIR instead of GNULOCALEDIR.
648         * intl/dcigettext.c (_nl_default_dirname): Initialize with LOCALEDIR.
650 2001-03-19  Ulrich Drepper  <drepper@redhat.com>
652         * sysdeps/unix/i386/i686/tempname.c: New file.
654         * sysdeps/posix/tempname.c (__gen_tempname): If RANDOM_BITS is
655         defined use this macro to get some bits of randomness instead of
656         the usual gettimeofday or time calls.
658 2001-03-16  Paul Eggert  <eggert@twinsun.com>
660         * sysdeps/posix/tempname.c (uint64_t): Define to uintmax_t if
661         not defined, and if UINT64_MAX is not defined.
663 2001-03-19  Ulrich Drepper  <drepper@redhat.com>
665         * elf/cache.c: Mark and have translated a few more messages.
667 2001-03-19  Martin Schwidefsky  <schwidefsky@de.ibm.com>
669         * elf/cache.c: Add case for FLAG_S390_LIB64.
670         * sysdeps/generic/ldconfig.h: Add define for FLAG_S390_LIB64.
671         * sysdeps/unix/sysv/linux/s390/ldconfig.h: New file.
672         * sysdeps/unix/sysv/linux/s390/readelflib.c: New file.
674 2001-03-19  Ulrich Drepper  <drepper@redhat.com>
676         * string/Makefile (tests): Add tst-strxfrm.
677         * string/tst-strxfrm.c: New file.  Based on a test case by Paul Eggert.
678         * string/Depend: New file.
680 2001-03-19  Paul Eggert  <eggert@twinsun.com>
682         * string/strxfrm.c (strxfrm): strxfrm should return 0, not 1,
683         when given the empty string in nontrivial locales.
685 2001-03-17  H.J. Lu  <hjl@gnu.org>
687         * manual/Makefile (install): Use $(INSTALL_DATA) instead of
688         cp to install `dir'.
690 2001-03-19  Andreas Schwab  <schwab@suse.de>
692         * Makerules (build-shlib): Make sure exit codes get checked
693         properly.
695 2001-03-18  Ulrich Drepper  <drepper@redhat.com>
697         * Makerules (build-shlib): Remove unnecessary slashes introduced in
698         last change.
700         * configure.in: Test for -Bgroup option of linker.
701         * config.make.in: Define have-Bgroup.
703         * conform/data/unistd.h-data: Require gethostname.
704         * posix/unistd.h: Make gethostname prototype available for
705         __USE_XOPEN2K.
707         * crypt/Makefile: When generating DSO link with libc_nonshared.a.
708         * debug/Makefile: Likewise.
709         * dlfcn/Makefile: Likewise.
710         * hesiod/Makefile: Likewise.
711         * iconvdata/extra-module.mk: Likewise.
712         * locale/Makefile: Likewise.
713         * login/Makefile: Likewise.
714         * math/Makefile: Likewise.
715         * nis/Makefile: Likewise.
716         * nss/Makefile: Likewise.
717         * resolv/Makefile: Likewise.
718         * rt/Makefile: Likewise.
720 2001-03-17  Ulrich Drepper  <drepper@redhat.com>
722         * inet/Makefile (tests): Remove left-over comment.
724         * posix/unistd.h (gethostname): Change type of second parameter
725         back to size_t as per upcoming XPG6.
726         * sysdeps/unix/sysv/aix/gethostname.c: Change type of second
727         parameter back to size_t as per upcoming XPG6.
728         * sysdeps/unix/sysv/sysv4/gethostname.c: Likewise.
729         * sysdeps/unix/sysv/gethostname.c: Likewise.
730         * sysdeps/mach/hurd/gethostname.c: Likewise.
731         * sysdeps/generic/gethostname.c: Likewise.
733 2001-03-16  Ulrich Drepper  <drepper@redhat.com>
735         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
736         Handle NaN here.
738         * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext):
739         Internationalize.
741 2001-02-06  Jakub Jelinek  <jakub@redhat.com>
743         * elf/dl-load.c (_dl_map_object): Don't test l_opencount when
744         looking for name matches.
746 2001-02-26  Jakub Jelinek  <jakub@redhat.com>
748         * sysdeps/generic/sigcontextinfo.h (CALL_SIGHANDLER): Define.
749         * sysdeps/mach/hurd/i386/sigcontextinfo.h: Likewise.
750         * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h: Likewise.
751         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
752         * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h: Likewise.
753         * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h: Likewise.
754         * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h: Likewise.
755         * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h: Likewise.
756         * sysdeps/unix/sysv/linux/s390/sigcontextinfo.h: Likewise.
757         * sysdeps/unix/sysv/linux/sh/sigcontextinfo.h: Likewise.
758         * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: Likewise.
759         * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h: Likewise.
761 2001-03-16  Ulrich Drepper  <drepper@redhat.com>
763         * sysdeps/ieee754/ldbl-96/s_erfl.c: New file.
764         Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>.
766         * sysdeps/i386/fpu/libm-test-ulps: Adjust for addition of erfl and
767         erfcl.
768         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
770 2001-03-16  David Mosberger  <davidm@hpl.hp.com>
772         * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h (struct sigcontext):
773         Drop hack that was needed for 2.1.1 kernel headers.
775         * sysdeps/unix/sysv/linux/ia64/ucontext_i.h: New file.
777         * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Rewrite to make it
778         overlay with kernel's "struct sigcontext".
780         * sysdeps/unix/sysv/linux/ia64/Makefile (sysdep_headers): Add
781         sys/rse.h for "misc" subdir.
782         (sysdep_routines): Add __start_context for "stdlib" subdir.
784         * sysdeps/unix/sysv/linux/ia64/sys/rse.h: New file (based on
785         kernel file of the same name).
787         * stdlib/Makefile (tests): Add tst-setcontext.
788         * stdlib/tst-setcontext.c: New file (based on a sample program by
789         Uli Drepper).
791         * sysdeps/unix/sysv/linux/ia64/setcontext.S: New file.
792         * sysdeps/unix/sysv/linux/ia64/getcontext.S: New file.
793         * sysdeps/unix/sysv/linux/ia64/__start_context.S: New file.
794         * sysdeps/unix/sysv/linux/ia64/makecontext.c: New file.
795         * sysdeps/unix/sysv/linux/ia64/swapcontext.c: New file.
797         * sysdeps/unix/sysv/linux/ia64/__longjmp.S (__longjmp): Use extr.u
798         instead of shift & and.
800 2001-03-16  Martin Schwidefsky  <schwidefsky@de.ibm.com>
802         * sysdeps/s390/s390-64/bits/huge_val.h: Move to...
803         * sysdeps/s390/bits/huge_val.h: ...here.
804         * sysdeps/s390/s390-32/bit/huge_val.h: Remove.
805         * sysdeps/s390/s390-64/ffs.c: Move to...
806         * sysdeps/s390/ffs.c: ...here.
807         * sysdeps/s390/s390-32/ffs.c: Remove.
809 2001-03-16  Jakub Jelinek  <jakub@redhat.com>
811         * elf/ldconfig.c (search_dir): Remove bogus diagnostic, instead
812         update osversion from more recent library.
814 2001-03-13  Martin Schwidefsky  <schwidefsky@de.ibm.com>
816         * sysdeps/unix/sysv/linux/s390/Dist: Move to...
817         * sysdeps/unix/sysv/linux/s390/s390-32/Dist: ...here.
818         * sysdeps/unix/sysv/linux/s390/Makefile: Move to...
819         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: ...here.
820         * sysdeps/unix/sysv/linux/s390/Versions: Move to...
821         * sysdeps/unix/sysv/linux/s390/s390-32/Versions: ...here.
822         * sysdeps/unix/sysv/linux/s390/alphasort64.c: Move to...
823         * sysdeps/unix/sysv/linux/s390/s390-32/alphasort64.c: ...here.
824         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Move to...
825         * sysdeps/unix/sysv/linux/s390/s390-32/bits/fcntl.h: ...here.
826         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Move to...
827         * sysdeps/unix/sysv/linux/s390/s390-32/bits/mman.h: ...here.
828         * sysdeps/unix/sysv/linux/s390/bits/resource.h: Move to...
829         * sysdeps/unix/sysv/linux/s390/s390-32/bits/resource.h: ...here.
830         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Move to...
831         * sysdeps/unix/sysv/linux/s390/s390-32/bits/stat.h: ...here.
832         * sysdeps/unix/sysv/linux/s390/chown.c: Move to...
833         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: ...here.
834         * sysdeps/unix/sysv/linux/s390/clone.S: Move to...
835         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: ...here.
836         * sysdeps/unix/sysv/linux/s390/fchown.c: Move to...
837         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: ...here.
838         * sysdeps/unix/sysv/linux/s390/fcntl.c: Move to...
839         * sysdeps/unix/sysv/linux/s390/s390-32/fcntl.c: ...here.
840         * sysdeps/unix/sysv/linux/s390/fxstat.c: Move to...
841         * sysdeps/unix/sysv/linux/s390/s390-32/fxstat.c: ...here.
842         * sysdeps/unix/sysv/linux/s390/getdents64.c: Move to...
843         * sysdeps/unix/sysv/linux/s390/s390-32/getdents64.c: ...here.
844         * sysdeps/unix/sysv/linux/s390/getegid.c: Move to...
845         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: ...here.
846         * sysdeps/unix/sysv/linux/s390/geteuid.c: Move to...
847         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: ...here.
848         * sysdeps/unix/sysv/linux/s390/getgid.c: Move to...
849         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: ...here.
850         * sysdeps/unix/sysv/linux/s390/getgroups.c: Move to...
851         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: ...here.
852         * sysdeps/unix/sysv/linux/s390/getresgid.c: Move to...
853         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: ...here.
854         * sysdeps/unix/sysv/linux/s390/getresuid.c: Move to...
855         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: ...here.
856         * sysdeps/unix/sysv/linux/s390/getrlimit.c: Move to...
857         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: ...here.
858         * sysdeps/unix/sysv/linux/s390/getrlimit64.c: Move to...
859         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit64.c: ...here.
860         * sysdeps/unix/sysv/linux/s390/getuid.c: Move to...
861         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: ...here.
862         * sysdeps/unix/sysv/linux/s390/lchown.c: Move to...
863         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: ...here.
864         * sysdeps/unix/sysv/linux/s390/lockf64.c: Move to...
865         * sysdeps/unix/sysv/linux/s390/s390-32/lockf64.c: ...here.
866         * sysdeps/unix/sysv/linux/s390/lxstat.c: Move to...
867         * sysdeps/unix/sysv/linux/s390/s390-32/lxstat.c: ...here.
868         * sysdeps/unix/sysv/linux/s390/mmap.S: Move to...
869         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: ...here.
870         * sysdeps/unix/sysv/linux/s390/mmap64.S: Move to...
871         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: ...here.
872         * sysdeps/unix/sysv/linux/s390/msgctl.c: Move to...
873         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: ...here.
874         * sysdeps/unix/sysv/linux/s390/oldgetrlimit64.c: Move to...
875         * sysdeps/unix/sysv/linux/s390/s390-32/oldgetrlimit64.c: ...here.
876         * sysdeps/unix/sysv/linux/s390/readdir64.c: Move to...
877         * sysdeps/unix/sysv/linux/s390/s390-32/readdir64.c: ...here.
878         * sysdeps/unix/sysv/linux/s390/readdir64_r.c: Move to...
879         * sysdeps/unix/sysv/linux/s390/s390-32/readdir64_r.c: ...here.
880         * sysdeps/unix/sysv/linux/s390/register-dump.h: Move to...
881         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: ...here.
882         * sysdeps/unix/sysv/linux/s390/scandir64.c: Move to...
883         * sysdeps/unix/sysv/linux/s390/s390-32/scandir64.c: ...here.
884         * sysdeps/unix/sysv/linux/s390/semctl.c: Move to...
885         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: ...here.
886         * sysdeps/unix/sysv/linux/s390/setegid.c: Move to...
887         * sysdeps/unix/sysv/linux/s390/s390-32/setegid.c: ...here.
888         * sysdeps/unix/sysv/linux/s390/seteuid.c: Move to...
889         * sysdeps/unix/sysv/linux/s390/s390-32/seteuid.c: ...here.
890         * sysdeps/unix/sysv/linux/s390/setfsgid.c: Move to...
891         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: ...here.
892         * sysdeps/unix/sysv/linux/s390/setfsuid.c: Move to...
893         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: ...here.
894         * sysdeps/unix/sysv/linux/s390/setgid.c: Move to...
895         * sysdeps/unix/sysv/linux/s390/s390-32/setgid.c: ...here.
896         * sysdeps/unix/sysv/linux/s390/setgroups.c: Move to...
897         * sysdeps/unix/sysv/linux/s390/s390-32/setgroups.c: ...here.
898         * sysdeps/unix/sysv/linux/s390/setregid.c: Move to...
899         * sysdeps/unix/sysv/linux/s390/s390-32/setregid.c: ...here.
900         * sysdeps/unix/sysv/linux/s390/setresgid.c: Move to...
901         * sysdeps/unix/sysv/linux/s390/s390-32/setresgid.c: ...here.
902         * sysdeps/unix/sysv/linux/s390/setresuid.c: Move to...
903         * sysdeps/unix/sysv/linux/s390/s390-32/setresuid.c: ...here.
904         * sysdeps/unix/sysv/linux/s390/setreuid.c: Move to...
905         * sysdeps/unix/sysv/linux/s390/s390-32/setreuid.c: ...here.
906         * sysdeps/unix/sysv/linux/s390/setrlimit.c: Move to...
907         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: ...here.
908         * sysdeps/unix/sysv/linux/s390/setuid.c: Move to...
909         * sysdeps/unix/sysv/linux/s390/s390-32/setuid.c: ...here.
910         * sysdeps/unix/sysv/linux/s390/shmctl.c: Move to...
911         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: ...here.
912         * sysdeps/unix/sysv/linux/s390/socket.S: Move to...
913         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: ...here.
914         * sysdeps/unix/sysv/linux/s390/sys/procfs.h: Move to...
915         * sysdeps/unix/sysv/linux/s390/s390-32/sys/procfs.h: ...here.
916         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Move to...
917         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: ...here.
918         * sysdeps/unix/sysv/linux/s390/syscall.S: Move to...
919         * sysdeps/unix/sysv/linux/s390/s390-32/syscall.S: ...here.
920         * sysdeps/unix/sysv/linux/s390/syscalls.list: Move to...
921         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: ...here.
922         * sysdeps/unix/sysv/linux/s390/sysdep.S: Move to...
923         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: ...here.
924         * sysdeps/unix/sysv/linux/s390/sysdep.h: Move to...
925         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: ...here.
926         * sysdeps/unix/sysv/linux/s390/versionsort64.c: Move to...
927         * sysdeps/unix/sysv/linux/s390/s390-32/versionsort64.c: ...here.
928         * sysdeps/unix/sysv/linux/s390/xstat.c: Move to...
929         * sysdeps/unix/sysv/linux/s390/s390-32/xstat.c: ...here.
931 2001-03-13  Martin Schwidefsky  <schwidefsky@de.ibm.com>
933         * sysdeps/unix/sysv/linux/s390/s390-64/Dist: New file.
934         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: New file.
935         * sysdeps/unix/sysv/linux/s390/s390-64/bits/elfclass.h: New file.
936         * sysdeps/unix/sysv/linux/s390/s390-64/bits/fcntl.h: New file.
937         * sysdeps/unix/sysv/linux/s390/s390-64/bits/ipc.h: New file.
938         * sysdeps/unix/sysv/linux/s390/s390-64/bits/mman.h: New file.
939         * sysdeps/unix/sysv/linux/s390/s390-64/bits/msq.h: New file.
940         * sysdeps/unix/sysv/linux/s390/s390-64/bits/resource.h: New file.
941         * sysdeps/unix/sysv/linux/s390/s390-64/bits/sem.h: New file.
942         * sysdeps/unix/sysv/linux/s390/s390-64/bits/shm.h: New file.
943         * sysdeps/unix/sysv/linux/s390/s390-64/bits/sigaction.h: New file.
944         * sysdeps/unix/sysv/linux/s390/s390-64/bits/siginfo.h: New file.
945         * sysdeps/unix/sysv/linux/s390/s390-64/bits/sigstack.h: New file.
946         * sysdeps/unix/sysv/linux/s390/s390-64/bits/stat.h: New file.
947         * sysdeps/unix/sysv/linux/s390/s390-64/bits/types.h: New file.
948         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: New file.
949         * sysdeps/unix/sysv/linux/s390/s390-64/fstatfs64.c: New file.
950         * sysdeps/unix/sysv/linux/s390/s390-64/ftruncate64.c: New file.
951         * sysdeps/unix/sysv/linux/s390/s390-64/fxstat.c: New file.
952         * sysdeps/unix/sysv/linux/s390/s390-64/fxstat64.c: New file.
953         * sysdeps/unix/sysv/linux/s390/s390-64/getdents.c: New file.
954         * sysdeps/unix/sysv/linux/s390/s390-64/getdents64.c: New file.
955         * sysdeps/unix/sysv/linux/s390/s390-64/getrlimit64.c: New file.
956         * sysdeps/unix/sysv/linux/s390/s390-64/glob.c: New file.
957         * sysdeps/unix/sysv/linux/s390/s390-64/glob64.c: New file.
958         * sysdeps/unix/sysv/linux/s390/s390-64/kernel_stat.h: New file.
959         * sysdeps/unix/sysv/linux/s390/s390-64/lxstat.c: New file.
960         * sysdeps/unix/sysv/linux/s390/s390-64/lxstat64.c: New file.
961         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: New file.
962         * sysdeps/unix/sysv/linux/s390/s390-64/mmap64.c: New file.
963         * sysdeps/unix/sysv/linux/s390/s390-64/pread64.c: New file.
964         * sysdeps/unix/sysv/linux/s390/s390-64/pwrite64.c: New file.
965         * sysdeps/unix/sysv/linux/s390/s390-64/readdir.c: New file.
966         * sysdeps/unix/sysv/linux/s390/s390-64/readdir64.c: New file.
967         * sysdeps/unix/sysv/linux/s390/s390-64/readdir64_r.c: New file.
968         * sysdeps/unix/sysv/linux/s390/s390-64/readdir_r.c : New file.
969         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: New file.
970         * sysdeps/unix/sysv/linux/s390/s390-64/setrlimit64.c: New file.
971         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: New file.
972         * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c: New file.
973         * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c: New file.
974         * sysdeps/unix/sysv/linux/s390/s390-64/sigsuspend.c: New file.
975         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: New file.
976         * sysdeps/unix/sysv/linux/s390/s390-64/statfs64.c: New file.
977         * sysdeps/unix/sysv/linux/s390/s390-64/sys/procfs.h: New file.
978         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: New file.
979         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: New file.
980         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: New file.
981         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: New file.
982         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: New file.
983         * sysdeps/unix/sysv/linux/s390/s390-64/truncate64.c: New file.
984         * sysdeps/unix/sysv/linux/s390/s390-64/xstat.c: New file.
985         * sysdeps/unix/sysv/linux/s390/s390-64/xstat64.c: New file.
987 2001-03-13  Martin Schwidefsky  <schwidefsky@de.ibm.com>
989         * sysdeps/s390/Dist: Move to...
990         * sysdeps/s390/390-32/Dist: ...here.
991         * sysdeps/s390/Implies: Move to...
992         * sysdeps/s390/s390-32/Implies: ...here.
993         * sysdeps/s390/Makefile: Move to...
994         * sysdeps/s390/s390-32/Makefile: ...here.
995         * sysdeps/s390/Versions: Move to...
996         * sysdeps/s390-32/s390/Versions: ...here.
997         * sysdeps/s390/add_n.S: Move to...
998         * sysdeps/s390/s390-32/add_n.S: ...here.
999         * sysdeps/s390/addmul_1.S: Move to...
1000         * sysdeps/s390/s390-32/addmul_1.S: ...here.
1001         * sysdeps/s390/atomicity.h: Move to...
1002         * sysdeps/s390/s390-32/atomicity.h: ...here.
1003         * sysdeps/s390/backtrace.c: Move to...
1004         * sysdeps/s390/s390-32/backtrace.c: ...here.
1005         * sysdeps/s390/bcopy.S: Move to...
1006         * sysdeps/s390/s390-32/bcopy.S: ...here.
1007         * sysdeps/s390/bits/byteswap.h: Move to...
1008         * sysdeps/s390/s390-32/bits/byteswap.h: ...here.
1009         * sysdeps/s390/bits/huge_val.h: Move to...
1010         * sysdeps/s390/s390-32/bits/huge_val.h: ...here.
1011         * sysdeps/s390/bsd-_setjmp.S: Move to...
1012         * sysdeps/s390/s390-32/bsd-_setjmp.S: ...here.
1013         * sysdeps/s390/bsd-setjmp.S: Move to...
1014         * sysdeps/s390/s390-32/bsd-setjmp.S: ...here.
1015         * sysdeps/s390/bzero.S: Move to...
1016         * sysdeps/s390/s390-32/bzero.S: ...here.
1017         * sysdeps/s390/elf/bsd-_setjmp.S: Move to...
1018         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: ...here.
1019         * sysdeps/s390/elf/bsd-setjmp.S: Move to...
1020         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: ...here.
1021         * sysdeps/s390/elf/start.S: Move to...
1022         * sysdeps/s390/s390-32/elf/start.S: ...here.
1023         * sysdeps/s390/ffs.c: Move to...
1024         * sysdeps/s390/s390-32/ffs.c: ...here.
1025         * sysdeps/s390/memchr.S: Move to...
1026         * sysdeps/s390/s390-32/memchr.S: ...here.
1027         * sysdeps/s390/memcpy.S: Move to...
1028         * sysdeps/s390/s390-32/memcpy.S: ...here.
1029         * sysdeps/s390/memset.S: Move to...
1030         * sysdeps/s390/s390-32/memset.S: ...here.
1031         * sysdeps/s390/mul_1.S: Move to...
1032         * sysdeps/s390/s390-32/mul_1.S: ...here.
1033         * sysdeps/s390/s390-mcount.S: Move to...
1034         * sysdeps/s390/s390-32/s390-mcount.S: ...here.
1035         * sysdeps/s390/strcpy.S: Move to...
1036         * sysdeps/s390/s390-32/strcpy.S: ...here.
1037         * sysdeps/s390/strncpy.S: Move to...
1038         * sysdeps/s390/s390-32/strncpy.S: ...here.
1039         * sysdeps/s390/sub_n.S: Move to...
1040         * sysdeps/s390/s390-32/sub_n.S: ...here.
1042 2001-03-13  Martin Schwidefsky  <schwidefsky@de.ibm.com>
1044         * sysdeps/s390/s390-64/Dist: New file.
1045         * sysdeps/s390/s390-64/Implies: New file.
1046         * sysdeps/s390/s390-64/Makefile: New file.
1047         * sysdeps/s390/s390-64/__longjmp.c: New file.
1048         * sysdeps/s390/s390-64/add_n.S: New file.
1049         * sysdeps/s390/s390-64/atomicity.h: New file.
1050         * sysdeps/s390/s390-64/backtrace.c: New file.
1051         * sysdeps/s390/s390-64/bcopy.S: New file.
1052         * sysdeps/s390/s390-64/bits/byteswap.h: New file.
1053         * sysdeps/s390/s390-64/bits/huge_val.h: New file.
1054         * sysdeps/s390/s390-64/bits/setjmp.h: New file.
1055         * sysdeps/s390/s390-64/bits/string.h: New file.
1056         * sysdeps/s390/s390-64/bsd-_setjmp.S: New file.
1057         * sysdeps/s390/s390-64/bsd-setjmp.S: New file.
1058         * sysdeps/s390/s390-64/bzero.S: New file.
1059         * sysdeps/s390/s390-64/dl-machine.h: New file.
1060         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: New file.
1061         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: New file.
1062         * sysdeps/s390/s390-64/elf/setjmp.S: New file.
1063         * sysdeps/s390/s390-64/elf/start.S: New file.
1064         * sysdeps/s390/s390-64/ffs.c: New file.
1065         * sysdeps/s390/s390-64/initfini.c: New file.
1066         * sysdeps/s390/s390-64/memchr.S: New file.
1067         * sysdeps/s390/s390-64/memcpy.S: New file.
1068         * sysdeps/s390/s390-64/memset.S: New file.
1069         * sysdeps/s390/s390-64/s390x-mcount.S: New file.
1070         * sysdeps/s390/s390-64/setjmp.S: New file.
1071         * sysdeps/s390/s390-64/strcpy.S: New file.
1072         * sysdeps/s390/s390-64/strncpy.S: New file.
1073         * sysdeps/s390/s390-64/sub_n.S: New file.
1074         * sysdeps/s390/s390-64/sysdep.h: New file.
1076 2001-03-13  Martin Schwidefsky  <schwidefsky@de.ibm.com>
1078         * scripts/config.guess: Add support for Linux on 64 bit S/390.
1079         * scripts/config.sub: Likewise.
1081 2001-03-13  Martin Schwidefsky  <schwidefsky@de.ibm.com>
1083         * configure.in: Add support for 64 bit S/390.
1085         * elf/elf.h: Add new relocations for 64 bit S/390.
1087         * shlib-versions: Add rules for Linux on 64 bit S/390.
1089 2001-03-13  Martin Schwidefsky  <schwidefsky@de.ibm.com>
1091         * sysdeps/s390/__longjmp.c: Move to...
1092         * sysdeps/s390/s390-32/__longjmp.c: ...here.  Add code
1093         to load the floating point registers that should be saved
1094         according to the ABI.
1096         * sysdeps/s390/bits/setjmp.h: Move to...
1097         * sysdeps/s390/s390-32/bits/setjmp.h: ...here.  Avoid
1098         the use of long long in the __jmp_buf type definition.
1100         * sysdeps/s390/bits/string.h: Move to...
1101         * sysdeps/s390/s390-32/bits/string.h: ...here.  Add several missing
1102         #ifndef _FORCE_INLINES.
1104         * sysdeps/s390/dl-machine.h: Move to...
1105         * sysdeps/s390/s390-32/dl-machine.h: ...here.  Add a check for the
1106         executables EI_CLASS in elf_machine_matches_host.
1108         * sysdeps/s390/elf/setjmp.S: Move to...
1109         * sysdeps/s390/s390-32/elf/setjmp.S: ...here.  Replace
1110         branches to globally defined symbol __sigsetjmp by branches to
1111         a local label (this avoids the generation of a R_390_PC16DBL
1112         relocation in -fpic code).
1114         * sysdeps/s390/gmp-mparam.h: Use defines from <bits/wordsize.h> to
1115         calculate BITS_PER_MP_LIMB, BYTES_PER_MP_LIMB and BITS_PER_LONGINT.
1117         * sysdeps/s390/initfini.c: Move to...
1118         * sysdeps/s390/s390-32/initfini.c: ...here.  Replace ALIGN with
1119         ".align 4,0x07".
1121         * sysdeps/s390/setjmp.S: Move to...
1122         * sysdeps/s390/s390-32/setjmp.S: ...here.  Add code to store the
1123         floating point registers that should be saved according to the ABI.
1125         * sysdeps/s390/sys/ucontext.h: Remove since it is unused.
1127         * sysdeps/unix/sysv/linux/s390/sysdep.h: Move to...
1128         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: ...here. Include
1129         sysdeps/s390/s390-32/sysdep.h instead of sysdeps/s390/sysdep.h.
1131 2001-03-13  Martin Schwidefsky  <schwidefsky@de.ibm.com>
1133         * configure.in: Change machine=s390 to machine=s390/s390-32.
1135         * elf/elf.h: Correct comment for R_390_PLT16DBL.
1137 2001-03-12  Jakub Jelinek  <jakub@redhat.com>
1139         * csu/Makefile (abi-tag.h): Define OS and version separately, allow
1140         version to be overriden from config.h.
1141         * csu/abi-note.S: Use OS and version separately, include config.h.
1142         * elf/dl-load.c (_dl_osversion): New.
1143         (_dl_map_object_from_fd): Kill some warnings.
1144         (open_verify): Check .note.ABI-tag of the library if present.
1145         * elf/Makefile (CPPFLAGS-dl-load.c): Add -I$(csu-objpfx).
1146         * elf/cache.c (struct cache_entry): Add osversion.
1147         (print_entry): Print osversion.
1148         (print_cache): Pass osversion to it.
1149         (compare): Sort according to osversion.
1150         (save_cache): Set osversion.
1151         (add_to_cache): Add osversion argument.
1152         * sysdeps/generic/ldconfig.h (add_to_cache, process_file,
1153         process_elf_file): Add osversion argument.
1154         * elf/readlib.c (process_file): Likewise.
1155         * sysdeps/generic/readelflib.c (process_elf_file): Likewise.
1156         * sysdeps/unix/sysv/linux/ia64/readelflib.c (process_elf_file,
1157         process_elf32_file, process_elf64_file): Likewise.
1158         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file,
1159         process_elf32_file, process_elf64_file): Likewise.
1160         * sysdeps/unix/sysv/linux/sparc/readelflib.c (process_elf_file,
1161         process_elf32_file, process_elf64_file): Likewise.
1162         * elf/ldconfig.c (manual_link): Pass it.
1163         (search_dir): Issue diagnostic if two libs with the same soname in
1164         the same directory have different .note.ABI-tag.  Record osversion in
1165         dlib_entry and use it from there.
1166         (struct lib_entry): Remove.
1167         (struct dlib_entry): Add osversion.
1168         * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Check
1169         osversion.
1170         * sysdeps/generic/dl-cache.h (struct file_entry_new): Replace __unused
1171         field with osversion.
1172         * sysdeps/generic/ldsodefs.h (_dl_osversion): Declare.
1173         * sysdeps/unix/sysv/linux/init-first.c: Include ldsodefs.h.
1174         * sysdeps/unix/sysv/linux/dl-osinfo.h (DL_SYSDEP_OSCHECK): Save kernel
1175         version in _dl_osversion.
1176         * sysdeps/unix/sysv/linux/configure.in: Define __ABI_TAG_VERSION.
1177         * Makerules (build-shlib-helper, build-module-helper): New.
1178         (build-shlib, build-module-helper): Make sure .note.ABI-tag comes
1179         early.
1180         * config.h.in (__ABI_TAG_VERSION): Add.
1181         * elf/dl-minimal.c (__strtoul_internal): Set endptr on return.
1182         * sysdeps/unix/sysv/linux/i386/dl-librecon.h (EXTRA_LD_ENVVARS):
1183         Handle LD_ASSUME_KERNEL.
1184         * sysdeps/unix/sysv/linux/dl-librecon.h: New.
1186 2001-03-15  Ulrich Drepper  <drepper@redhat.com>
1188         * timezone/antarctica: Update from tzdata2001a.
1189         * timezone/asia: Likewise.
1190         * timezone/australasia: Likewise.
1191         * timezone/backward: Likewise.
1192         * timezone/etcetera: Likewise.
1193         * timezone/europe: Likewise.
1194         * timezone/leapseconds: Likewise.
1195         * timezone/northamerica: Likewise.
1196         * timezone/southamerica: Likewise.
1197         * timezone/systemv: Likewise.
1198         * timezone/yearistype: Likewise.
1199         * timezone/zone.tab: Likewise.
1200         * timezone/tzdump.c: Update from tzcode2001a.
1202 2001-03-15  H.J. Lu  <hjl@gnu.org>
1204         * intl/Makefile: Fix a typo.
1206 2001-03-14  David Mosberger  <davidm@hpl.hp.com>
1208         * gmon/gmon.c (write_call_graph): Avoid unaligned accesses when
1209         writing arc structures.
1211 2001-03-15  H.J. Lu  <hjl@gnu.org>
1213         * elf/Makefile ($(objpfx)tst-pathopt.out): Protected against
1214         cross-compiling.
1216 2001-03-13  Andreas Schwab  <schwab@suse.de>
1218         * posix/PTESTS2C.sed: Replace literal CRs by `\r'.
1220 2001-03-15  Ulrich Drepper  <drepper@redhat.com>
1222         * sysdeps/unix/sysv/linux/cmsg_nxthdr.c (__cmsg_nxthdr): Fix test
1223         for control message fitting into message data.
1224         Patch by James Antill <james@and.org>.
1226         * posix/tst-fnmatch.input: Add test case for FNM_PERIOD handling with
1227         FNM_EXTMATCH.
1229         * posix/fnmatch_loop.c: Optimize handling of ?() and @().
1230         * posix/fnmatch.c: Define STRLEN and STRCAT appropriately.
1232         * posix/Versions [libc] (GLIBC_2.2.3): Add fnmatch.
1233         * posix/fnmatch.c: Define with new default version GLIBC_2.2.3 to
1234         avoid running binaries with libc versions without FNM_EXTMATCH support.
1236         * include/wchar.h: Add prototype for __wcscat.
1237         * wcsmbs/wcscat.c: Define __wcscat and make wcscat weak alias.
1239         * posix/fnmatch.h (FNM_EXTMATCH): Define.
1240         * posix/fnmatch.c (NO_LEADING_PERIOD): Define.
1241         (posixly_correct): Move global variable here.
1242         (INT, EXT, END): Name new functions defined in fnmatch_loop.c.
1243         (fnmatch): Pretty printing.
1244         * posix/fnmatch_loop.c: Add code to handle FNM_EXTMATCH.
1245         * posix/tst-fnmatch.c: Recognize EXTMATCH flag.
1246         * posix/tst-fnmatch.input: Add tests for extended matching.
1248         * posix/testfnm.c: Add test for patterns with multiple ** before /.
1249         * posix/fnmatch_loop.c: Fix problem with the test above.
1251 2001-03-14  Ulrich Drepper  <drepper@redhat.com>
1253         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Remove
1254         reference to usqrt.
1256         * resolv/res_data.c (fp_nquery): Call __res_ninit not __res_init.
1258 2001-03-12  Andreas Jaeger  <aj@suse.de>
1260         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
1261         Use EM_X86_64 instead of EM_X8664.
1263 2001-03-12  Ulrich Drepper  <drepper@redhat.com>
1265         * sysdeps/ieee754/dbl-64/upow.h: Define nZERO and nINF.
1267         * sysdeps/ieee754/dbl-64/e_remainder.c: Fix handling of boundary
1268         conditions.
1270         * sysdeps/ieee754/dbl-64/e_pow.c: Fix handling of boundary
1271         conditions.
1273         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Handle Inf and NaN
1274         correctly.
1275         (__cos): Likewise.
1277         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Handle NaN
1278         correctly.
1279         (__ieee754_acos): Likewise.
1281 2001-03-12  Andreas Jaeger  <aj@suse.de>
1283         * sysdeps/unix/sysv/linux/s390/sysdep.h (_LINUX_S390_SYSDEP_H):
1284         Fix typo.  Patch by Martin Schwidefsky  <schwidefsky@de.ibm.com>.
1286         * sysdeps/s390/bits/string.h: Protect __STRING_INLINE against
1287         redefinition.
1289 2001-03-11  Roland McGrath  <roland@frob.com>
1291         * sysdeps/mach/hurd/configure.in: Add a sanity check on $prefix.
1293 2001-03-11  Ulrich Drepper  <drepper@redhat.com>
1295         * sysdeps/ieee754/dbl-64/endian.h: Define also one of BIG_ENDI and
1296         LITTLE_ENDI.
1298         * sysdeps/ieee754/dbl-64/MathLib.h (Init_Lib): Use void as
1299         parameter list.
1301         Last-bit accurate math library implementation by IBM Haifa.
1302         Contributed by Abraham Ziv <ziv@il.ibm.com>, Moshe Olshansky
1303         <olshansk@il.ibm.com>, Ealan Henis <ealan@il.ibm.com>, and
1304         Anna Reitman <reitman@il.ibm.com>.
1305         * math/Makefile (dbl-only-routines): New variable.
1306         (libm-routines): Add $(dbl-only-routines).
1307         * sysdeps/ieee754/dbl-64/e_acos.c: Empty, definition is in e_asin.c.
1308         * sysdeps/ieee754/dbl-64/e_asin.c: Replaced with accurate asin
1309         implementation.
1310         * sysdeps/ieee754/dbl-64/e_atan2.c: Replaced with accurate atan2
1311         implementation.
1312         * sysdeps/ieee754/dbl-64/e_exp.c: Replaced with accurate exp
1313         implementation.
1314         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Don't use __kernel_sin and
1315         __kernel_cos.
1316         * sysdeps/ieee754/dbl-64/e_log.c: Replaced with accurate log
1317         implementation.
1318         * sysdeps/ieee754/dbl-64/e_remainder.c: Replaced with accurate
1319         remainder implementation.
1320         * sysdeps/ieee754/dbl-64/e_pow.c: Replaced with accurate pow
1321         implementation.
1322         * sysdeps/ieee754/dbl-64/e_sqrt.c: Replaced with accurate sqrt
1323         implementation.
1324         * sysdeps/ieee754/dbl-64/k_cos.c: Empty, definition is in s_sin.c.
1325         * sysdeps/ieee754/dbl-64/k_sin.c: Empty, definition is in s_sin.c.
1326         * sysdeps/ieee754/dbl-64/s_atan.c: Replaced with accurate atan
1327         implementation.
1328         * sysdeps/ieee754/dbl-64/s_cos.c: Empty, definition is in s_sin.c.
1329         * sysdeps/ieee754/dbl-64/s_sin.c: Replaced with accurate sin/cos
1330         implementation.
1331         * sysdeps/ieee754/dbl-64/s_sincos.c: Rewritten to not use __kernel_sin
1332         and __kernel_cos.
1333         * sysdeps/ieee754/dbl-64/s_tan.c: Replaced with accurate tan
1334         implementation.
1335         * sysdeps/ieee754/dbl-64/Dist: Add new non-code files.
1336         * sysdeps/ieee754/dbl-64/MathLib.h: New file.
1337         * sysdeps/ieee754/dbl-64/asincos.tbl: New file.
1338         * sysdeps/ieee754/dbl-64/atnat.h: New file.
1339         * sysdeps/ieee754/dbl-64/atnat2.h: New file.
1340         * sysdeps/ieee754/dbl-64/branred.c: New file.
1341         * sysdeps/ieee754/dbl-64/branred.h: New file.
1342         * sysdeps/ieee754/dbl-64/dla.h: New file.
1343         * sysdeps/ieee754/dbl-64/doasin.c: New file.
1344         * sysdeps/ieee754/dbl-64/doasin.h: New file.
1345         * sysdeps/ieee754/dbl-64/dosincos.c: New file.
1346         * sysdeps/ieee754/dbl-64/dosincos.h: New file.
1347         * sysdeps/ieee754/dbl-64/endian.h: New file.
1348         * sysdeps/ieee754/dbl-64/halfulp.c: New file.
1349         * sysdeps/ieee754/dbl-64/mpa.c: New file.
1350         * sysdeps/ieee754/dbl-64/mpa.h: New file.
1351         * sysdeps/ieee754/dbl-64/mpa2.h: New file.
1352         * sysdeps/ieee754/dbl-64/mpatan.c: New file.
1353         * sysdeps/ieee754/dbl-64/mpatan.h: New file.
1354         * sysdeps/ieee754/dbl-64/mpatan2.c: New file.
1355         * sysdeps/ieee754/dbl-64/mpexp.c: New file.
1356         * sysdeps/ieee754/dbl-64/mpexp.h: New file.
1357         * sysdeps/ieee754/dbl-64/mplog.c: New file.
1358         * sysdeps/ieee754/dbl-64/mplog.h: New file.
1359         * sysdeps/ieee754/dbl-64/mpsqrt.c: New file.
1360         * sysdeps/ieee754/dbl-64/mpsqrt.h: New file.
1361         * sysdeps/ieee754/dbl-64/mptan.c: New file.
1362         * sysdeps/ieee754/dbl-64/mydefs.h: New file.
1363         * sysdeps/ieee754/dbl-64/powtwo.tbl: New file.
1364         * sysdeps/ieee754/dbl-64/root.tbl: New file.
1365         * sysdeps/ieee754/dbl-64/sincos.tbl: New file.
1366         * sysdeps/ieee754/dbl-64/sincos32.c: New file.
1367         * sysdeps/ieee754/dbl-64/sincos32.h: New file.
1368         * sysdeps/ieee754/dbl-64/slowexp.c: New file.
1369         * sysdeps/ieee754/dbl-64/slowpow.c: New file.
1370         * sysdeps/ieee754/dbl-64/uasncs.h: New file.
1371         * sysdeps/ieee754/dbl-64/uatan.tbl: New file.
1372         * sysdeps/ieee754/dbl-64/uexp.h: New file.
1373         * sysdeps/ieee754/dbl-64/uexp.tbl: New file.
1374         * sysdeps/ieee754/dbl-64/ulog.h: New file.
1375         * sysdeps/ieee754/dbl-64/ulog.tbl: New file.
1376         * sysdeps/ieee754/dbl-64/upow.h: New file.
1377         * sysdeps/ieee754/dbl-64/upow.tbl: New file.
1378         * sysdeps/ieee754/dbl-64/urem.h: New file.
1379         * sysdeps/ieee754/dbl-64/uroot.h: New file.
1380         * sysdeps/ieee754/dbl-64/usncs.h: New file.
1381         * sysdeps/ieee754/dbl-64/utan.h: New file.
1382         * sysdeps/ieee754/dbl-64/utan.tbl: New file.
1383         * sysdeps/i386/fpu/branred.c: New file.
1384         * sysdeps/i386/fpu/doasin.c: New file.
1385         * sysdeps/i386/fpu/dosincos.c: New file.
1386         * sysdeps/i386/fpu/halfulp.c: New file.
1387         * sysdeps/i386/fpu/mpa.c: New file.
1388         * sysdeps/i386/fpu/mpatan.c: New file.
1389         * sysdeps/i386/fpu/mpatan2.c: New file.
1390         * sysdeps/i386/fpu/mpexp.c: New file.
1391         * sysdeps/i386/fpu/mplog.c: New file.
1392         * sysdeps/i386/fpu/mpsqrt.c: New file.
1393         * sysdeps/i386/fpu/mptan.c: New file.
1394         * sysdeps/i386/fpu/sincos32.c: New file.
1395         * sysdeps/i386/fpu/slowexp.c: New file.
1396         * sysdeps/i386/fpu/slowpow.c: New file.
1397         * sysdeps/ia64/fpu/branred.c: New file.
1398         * sysdeps/ia64/fpu/doasin.c: New file.
1399         * sysdeps/ia64/fpu/dosincos.c: New file.
1400         * sysdeps/ia64/fpu/halfulp.c: New file.
1401         * sysdeps/ia64/fpu/mpa.c: New file.
1402         * sysdeps/ia64/fpu/mpatan.c: New file.
1403         * sysdeps/ia64/fpu/mpatan2.c: New file.
1404         * sysdeps/ia64/fpu/mpexp.c: New file.
1405         * sysdeps/ia64/fpu/mplog.c: New file.
1406         * sysdeps/ia64/fpu/mpsqrt.c: New file.
1407         * sysdeps/ia64/fpu/mptan.c: New file.
1408         * sysdeps/ia64/fpu/sincos32.c: New file.
1409         * sysdeps/ia64/fpu/slowexp.c: New file.
1410         * sysdeps/ia64/fpu/slowpow.c: New file.
1411         * sysdeps/m68k/fpu/branred.c: New file.
1412         * sysdeps/m68k/fpu/doasin.c: New file.
1413         * sysdeps/m68k/fpu/dosincos.c: New file.
1414         * sysdeps/m68k/fpu/halfulp.c: New file.
1415         * sysdeps/m68k/fpu/mpa.c: New file.
1416         * sysdeps/m68k/fpu/mpatan.c: New file.
1417         * sysdeps/m68k/fpu/mpatan2.c: New file.
1418         * sysdeps/m68k/fpu/mpexp.c: New file.
1419         * sysdeps/m68k/fpu/mplog.c: New file.
1420         * sysdeps/m68k/fpu/mpsqrt.c: New file.
1421         * sysdeps/m68k/fpu/mptan.c: New file.
1422         * sysdeps/m68k/fpu/sincos32.c: New file.
1423         * sysdeps/m68k/fpu/slowexp.c: New file.
1424         * sysdeps/m68k/fpu/slowpow.c: New file.
1426         * iconvdata/gconv-modules: Add a number of alias, mostly for IBM
1427         codepages.
1429 2001-03-11  Andreas Jaeger  <aj@suse.de>
1431         * elf/elf.h (EM_*): Synch with official list.
1433 2001-03-07  David Mosberger  <davidm@hpl.hp.com>
1435         * sysdeps/ia64/bits/fenv.h (FE_NONIEEE_ENV): New macro.
1437 2001-03-07  Jes Sorensen  <jes@linuxcare.com>
1439         * sysdeps/unix/sysv/linux/ia64/ioperm.c (_ioperm): Remove unused
1440         variables addr & len.
1442 2001-02-22  Jes Sorensen  <jes@linuxcare.com>
1444         * sysdeps/ia64/fpu/feenablxcpt.c (feenableexcept): Remove
1445         punctuation in asm constraint.
1447 2001-03-07  Mark Kettenis  <kettenis@gnu.org>
1449         * resolv/netdb.h [__USE_GNU]: Define __need_timespec and include
1450         <time.h> to get definition of `struct timespec'.
1452 2001-03-08  Jakub Jelinek  <jakub@redhat.com>
1454         * elf/rtld.c (dl_main): If tracing, warn about undefined symbols if
1455         LD_WARN=1, not if LD_WARN is unset.
1457 2001-03-07  Andreas Schwab  <schwab@suse.de>
1459         * elf/ldconfig.h: Moved to ...
1460         * sysdeps/generic/ldconfig.h: ... here.
1461         * sysdeps/unix/sysv/linux/i386/ldconfig.h: New file.
1462         * sysdeps/unix/sysv/linux/m68k/ldconfig.h: New file.
1463         * sysdeps/unix/sysv/linux/ia64/ldconfig.h: New file.
1464         * elf/readlib.c (interpreters, known_libs): Use
1465         SYSDEP_KNOWN_INTERPRETER_NAMES and SYSDEP_KNOWN_LIBRARY_NAMES
1466         instead of hard coding old names.
1468 2001-03-09  Ulrich Drepper  <drepper@redhat.com>
1470         * catgets/Makefile (generated): Add test-gencat.h.
1471         (sample.SJIS.cat): Also generate header.
1472         * catgets/sample.SJIS: Add new set and message, both with symbolic
1473         names.
1474         * catgets/test-gencat.sh: Also compare generated header with what
1475         we expect.
1477 2001-03-07  Jakub Jelinek  <jakub@redhat.com>
1479         * catgets/gencat.c (read_input_file): Preserve properly symbolic
1480         names.
1482 2001-03-06  Andreas Jaeger  <aj@suse.de>
1484         * sysdeps/s390/dl-machine.h (elf_machine_relplt): Removed, it's not
1485         needed.
1486         (elf_machine_pltrel_p): Likewise.
1487         * sysdeps/powerpc/dl-machine.h: Likewise.
1488         * sysdeps/generic/dl-machine.h (elf_machine_pltrel_p): Likewise.
1490 2001-03-09  Ulrich Drepper  <drepper@redhat.com>
1492         * sysdeps/unix/sysv/linux/arm/Dist: Add dl-procinfo.c and
1493         dl-procinfo.h.
1495 2001-03-05  Philip Blundell  <philb@gnu.org>
1497         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c: New file.
1498         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h: New file.
1499         * sysdeps/unix/sysv/linux/arm/Makefile [subdir=elf]
1500         (sysdep-dl-routines, sysdep_routines, sysdep-rtld-routines): Add
1501         dl-procinfo.
1503 2001-03-09  Ulrich Drepper  <drepper@redhat.com>
1505         * dlfcn/tstatexit.c (main): Don't perform the test if __dso_handle
1506         is not available.
1507         * dlfcn/tstcxaatexit.c (main): Likewise.
1509 2001-03-10  Andreas Jaeger  <aj@suse.de>
1511         * sysdeps/i386/fpu/libm-test-ulps: Revert last patch.
1513 2001-03-09  Andreas Jaeger  <aj@suse.de>
1515         * sysdeps/s390/dl-machine.h (elf_machine_matches_host): Handle
1516         both new and old EM_S390 values.
1517         (EM_S390_OLD): New constant.
1519         * elf/elf.h (EM_S390): Use official value.
1521 2001-03-09  Ulrich Drepper  <drepper@redhat.com>
1523         * conform/data/sys/socket.h-data: Allow SO* symbols.
1525 2001-03-07  Andreas Schwab  <schwab@suse.de>
1527         * sysdeps/ia64/fpu/Makefile: Modify sysdep_routines instead of
1528         routines, and sysdep-CPPFLAGS instead of CPPFLAGS.
1530 2001-03-07  Andreas Jaeger  <aj@suse.de>
1532         * resolv/Makefile (routines): Only build gai_sigqueue when threads
1533         are available.
1535 2001-03-07  Jakub Jelinek  <jakub@redhat.com>
1537         * elf/ldconfig.c (_dl_sysdep_message): Remove.
1538         * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h: Include
1539         ldsodefs.h.
1540         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h: Likewise.
1542         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Use
1543         _dl_error_printf instead of _dl_sysdep_error.
1544         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
1545         * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h (_dl_procinfo):
1546         Use _dl_printf instead of _dl_sysdep_message.
1547         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h (_dl_procinfo):
1548         Likewise.
1550 2001-03-06  Ben Collins  <bcollins@debian.org>
1552         * manual/arith.texi (Integers): Fix documentation of fast and
1553         least integer typedefs.
1555 2001-03-06  Jakub Jelinek  <jakub@redhat.com>
1557         * resolv/Depend: New file.
1558         * resolv/Makefile (extra-libs, tests): Build libanl and ga_test only
1559         when libpthread is built.
1561 2001-03-06  Andreas Jaeger  <aj@suse.de>
1563         * sysdeps/i386/fpu/libm-test-ulps: Add some deltas.
1565         * sysdeps/sh/dl-machine.h (elf_machine_rela): Add missing comma.
1566         Patch by kaz Kojima <kkojima@rr.iij4u.or.jp>.
1568 2001-03-05  Ulrich Drepper  <drepper@redhat.com>
1570         * stdlib/Versions: Remove __new_exitfn again.  Not needed.
1572 2001-03-05  Andreas Jaeger  <aj@suse.de>
1574         * stdlib/msort.c (qsort): Don't use alloca in a function call.
1576 2001-03-05  Ulrich Drepper  <drepper@redhat.com>
1578         * sysdeps/unix/sysv/linux/bits/stat.h (__S_TYPEISMQ, __S_TYPEISSEM,
1579         __S_TYPEISSHM): Rewrite to enforce correct use the macros.  They still
1580         always return zero.
1581         * sysdeps/unix/sysv/linux/alpha/bits/stat.h: Likewise.
1582         * sysdeps/unix/sysv/linux/ia64/bits/stat.h: Likewise.
1583         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
1584         * sysdeps/unix/sysv/linux/m68k/bits/stat.h: Likewise.
1585         * sysdeps/unix/sysv/linux/mips/bits/stat.h: Likewise.
1586         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
1587         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
1589 2001-03-04  Andreas Jaeger  <aj@suse.de>
1591         * stdlib/longlong.h: Don't use multi-line strings.
1592         * iconvdata/tst-loading.c: Likewise.
1594         * csu/Makefile ($(objpfx)version-info.h): Don't use multi-line
1595         string.
1597 2001-03-04  Ulrich Drepper  <drepper@redhat.com>
1599         * sysdeps/ia64/fpu/libm-test-ulps: Adjust for addition of lgammal.
1601         * rt/lio_listio.c: Add a few asserts.
1603         * elf/global.c: New file.
1604         * elf/globalmod1.c: New file.
1605         * elf/Makefile: Add rules to build and run global.
1607         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Define SI_ASYNCNL.
1608         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
1609         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Likewise.
1610         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
1611         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/siginfo.h: Likewise.
1613         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: New file.
1614         Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>.
1616         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Fix handling of boundary cases.
1618         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Always initialize sign variable.
1619         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
1621         * sysdeps/i386/fpu/libm-test-ulps: Adjust after addition of lgammal.
1623         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Fix typo in last change.
1625 2001-03-04  Andreas Jaeger  <aj@suse.de>
1627         * resolv/tst-aton.c: Add testcase for IP with four periods.
1629         * resolv/inet_addr.c: Don't recognize an IP with four periods.
1630         Patch by Andre' Breiler <A.Breiler@gmx.net>.
1632 2001-02-27  Philip Blundell  <pb@futuretv.com>
1634         * elf/elf.h: Add new ARM definitions from latest (B-01)
1635         specification.  Correct naming of EF_ARM_ALIGN8 et al.
1637 2001-03-04  Ulrich Drepper  <drepper@redhat.com>
1639         * stdio-common/tst-printf.sh: Remove bashisms.
1640         Patch by Matthew Clarke <Matthew_Clarke@mindlink.bc.ca>.
1642 2001-03-03  Ulrich Drepper  <drepper@redhat.com>
1644         * Versions.def: Add libanl definition.
1645         * shlib-versions: Add entry for libanl.
1646         * resolv/Makefile (distribute): Add gai_misc.h and ga_test.c.
1647         (routines): Add gai_sigqueue.
1648         (extra-libs): Add libanl.
1649         (libanl-routines): New variable.
1650         Add rules to build libanl and ga_test.
1651         * resolv/Versions [libc] (GLIBC_2.2.3): Add __gai_sigqueue.
1652         [libanl]: New library.
1653         * resolv/netdb.h: Add definitions for libanl.
1654         * resolv/getaddrinfo_a.c: New file.
1655         * resolv/gai_cancel.c: New file.
1656         * resolv/gai_error.c: New file.
1657         * resolv/gai_misc.c: New file.
1658         * resolv/gai_misc.h: New file.
1659         * resolv/gai_notify.c: New file.
1660         * resolv/gai_suspend.c: New file.
1661         * resolv/ga_test.c: New file.
1662         * sysdeps/generic/gai_sigqueue.c: New file.
1663         * sysdeps/unix/sysv/linux/gai_sigqueue.c: New file.
1664         * sysdeps/generic/bits/siginfo.h: Allow __need_sigevent_t being defined
1665         and provide only that definition.
1666         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Likewise.
1667         * sysdeps/unix/sysv/linux/bits/siginfo.h: Likewise.
1668         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
1669         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Likewise.
1670         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
1671         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/siginfo.h: Likewise.
1673         * rt/aio_misc.c: Fix typos in comments.
1674         * rt/lio_listio.c: Pretty printing.  Little optimization in request
1675         list handling.
1677         * elf/rtld.c: Remove commented out code.
1679         * sysdeps/unix/sysv/linux/linux_fsinfo.h (SHMFS_SUPER_MAGIC):
1680         Update for real 2.4 kernels.
1682 2001-03-01  Ulrich Drepper  <drepper@redhat.com>
1684         * elf/dl-load.c: Pretty printing.
1686         * elf/dl-object.c (_dl_new_object): Don't add the loader's scope
1687         twice.
1689 2001-02-28  Ulrich Drepper  <drepper@redhat.com>
1691         * sysdeps/alpha/dl-machine.h (elf_machine_rela): Don't handle
1692         relocations which are not in ld.so if RTLD_BOOTSTRAP is defined.
1694         * sysdeps/powerpc/dl-machine.c (__process_machine_rela): Fix typo.
1696         * elf/dl-misc.c (_dl_debug_vdprintf): Fix typo visible on 64-bit
1697         machines.
1699         * sysdeps/unix/sysv/linux/powerpc/sysdep.h (C_TEXT): Define.
1701 2001-02-27  Ulrich Drepper  <drepper@redhat.com>
1703         * sysdeps/powerpc/elf/libc-start.c: Use new output functions and
1704         _dl_debug_mask.
1706         * elf/Versions [ld]: Don't export _dl_debug_message anymore.  Export
1707         _dl_debug_printf.
1708         * elf/dl-misc.c: Remove definition of _dl_sysdep_output and
1709         _dl_debug_message.  Define _dl_debug_vdprintf, _dl_debug_printf,
1710         _dl_debug_printf_c, and _dl_printf.
1711         * sysdeps/generic/ldsodefs.h: Don't declare _dl_sysdep_output,
1712         _dl_debug_message, _dl_sysdep_message, _dl_sysdep_error, and
1713         _dl_sysdep_fatal.  Declare _dl_debug_printf, _dl_debug_printf_c,
1714         _dl_printf, _dl_error_printf, and _dl_fatal_printf.
1715         * elf/dl-close.c: Replace use of old output functions with the new
1716         ones.
1717         * elf/dl-deps.c: Likewise.
1718         * elf/dl-error.c: Likewise.
1719         * elf/dl-fini.c: Likewise.
1720         * elf/dl-init.c: Likewise.
1721         * elf/dl-load.c: Likewise.
1722         * elf/dl-lookup.c: Likewise.
1723         * elf/dl-minimal.c: Likewise.
1724         * elf/dl-open.c: Likewise.
1725         * elf/dl-profile.c: Likewise.
1726         * elf/dl-reloc.c: Likewise.
1727         * elf/dl-version.c: Likewise.
1728         * elf/do-lookup.h: Likewise.
1729         * elf/rtld.c: Likewise.
1730         * sysdeps/generic/dl-cache.c: Likewise.
1731         * sysdeps/generic/dl-sysdep.c: Likewise.
1732         * sysdeps/generic/libc-start.c: Likewise.
1733         * sysdeps/i386/dl-machine.h: Likewise.
1734         * sysdeps/arm/dl-machine.h: Likewise.
1735         * sysdeps/hppa/dl-machine.h: Likewise.
1736         * sysdeps/m68k/dl-machine.h: Likewise.
1737         * sysdeps/powerpc/dl-machine.h: Likewise.
1738         * sysdeps/s390/dl-machine.h: Likewise.
1739         * sysdeps/sh/dl-machine.h: Likewise.
1740         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
1741         * sysdeps/unix/sysv/linux/i386/dl-librecon.h: Likewise.
1742         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
1744         * sysdeps/generic/ldsodefs.h: Remove _dl_secure declaration.
1746         * dlfcn/Makefile: Don't run tstatexit test unless .hidden is
1747         supported by assembler.
1749         * sysdeps/generic/ldsodefs.h: Remove commented-out variable
1750         declaractions.
1752         * elf/rtld.c: Little optimizations in handling _dl_lazy.
1754         * elf/cache.c (save_cache): Portability changes.
1755         * elf/dl-profile.c (_dl_start_profile): Likewise.
1757         * elf/sln.c: Cleanups.  Remove arbitrary limits.
1759         * elf/dl-close.c: Replace _dl_debug_* variables with _dl_debug_mask.
1760         * elf/dl-deps.c: Likewise.
1761         * elf/dl-fini.c: Likewise.
1762         * elf/dl-init.c: Likewise.
1763         * elf/dl-load.c: Likewise.
1764         * elf/dl-lookup.c: Likewise.
1765         * elf/dl-open.c: Likewise.
1766         * elf/dl-reloc.c: Likewise.
1767         * elf/dl-support.c: Likewise.
1768         * elf/dl-version.c: Likewise.
1769         * elf/do-lookup.h: Likewise.
1770         * elf/rtld.c: Likewise.
1771         * sysdeps/generic/dl-cache.c: Likewise.
1772         * sysdeps/generic/ldsodefs.h: Likewise.
1773         * sysdeps/generic/libc-start.c: Likewise.
1774         * elf/Versions: Don't export _dl_debug_impcalls and _dl_debug_files.
1775         Export _dl_debug_mask.
1776         * Versions.def: Define GLIBC_2.2.3 for ld.
1778 2001-02-26  Greg McGary  <greg@mcgary.org>
1780         * sysdeps/unix/make-syscalls.sh (ptr): Handle `V' keyletter.
1782 2001-02-26  Paul Eggert  <eggert@twinsun.com>
1784         Modify mkstemp.c and tempname.c so that they can be used by
1785         GNU applications on non-glibc platforms.
1787         * misc/mkstemp.c (__GT_FILE): Define to zero if not defined.
1789         * sysdeps/posix/tempname.c: Include <config.h> if HAVE_CONFIG_H.
1790         Include <stddef.h>, <stdint.h>, <string.h> only if
1791         STDC_HEADERS || _LIBC.
1792         Include <fcntl.h> only if HAVE_FCNTL_H || _LIBC.
1793         Include <unistd.h> only if HAVE_UNISTD_H || _LIBC.
1794         Include <sys/time.h> only if HAVE_SYS_TIME_H || _LIBC.
1795         (__set_errno): Define this macro if <errno.h> doesn't.
1796         (P_tmpdir, TMP_MAX, __GT_FILE, __GT_BIGFILE, __GT_DIR, __GT_NOCREATE):
1797         Define these macros if <stdio.h> doesn't.
1798         (S_ISDIR, S_IRUSR, S_IWUSR, S_IXUSR):
1799         Define these macros if <sys/stat.h> doesn't.
1800         Ignore <sys/stat.h> S_ISDIR if STAT_MACROS_BROKEN.
1801         (stat64, __getpid, __gettimeofday, __mkdir, __open, __open64,
1802         lxstat64, __xstat64): Define if not _LIBC.
1803         (struct_stat64): New macro.
1804         (direxists, __gen_tempname): Use it, to avoid a
1805         portability problem with Solaris 8.
1806         (__secure_getenv): Define if ! (HAVE___SECURE_GETENV || _LIBC).
1807         (__gen_tempname): Invoke gettimeofday only if
1808         HAVE_GETTIMEOFDAY || _LIBC; otherwise, fall back on plain "time".
1809         Use portable macros like S_IRUSR | S_IWUSR rather than nonportable
1810         octal values like 0600.
1812 2001-02-26  Ulrich Drepper  <drepper@redhat.com>
1814         * sysdeps/ieee754/ldbl-96/e_jnl.c: New file.
1815         Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>.
1817         * sysdeps/i386/fpu/libm-test-ulps: Update for jnl and ynl introduction.
1818         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
1820         * posix/wordexp-test.c (testit): Remove warnings.
1822         * dlfcn/Makefile (distribute): Add modatexit.c and modcxaatexit.c.
1823         (tests): Add tstatexit and tstcxaatexit.
1824         (module-names): Add modatexit and modcxaatexit.
1825         Add rules to build and run tstatexit and tstcxaatexit.
1826         * dlfcn/modatexit.c: New file.
1827         * dlfcn/modcxaatexit.c: New file.
1828         * dlfcn/tstatexit.c: New file.
1829         * dlfcn/tstcxaatexit.c: New file.
1831         * io/Makefile: Pass -DHAVE_DOT_HIDDEN to stat and mknod functions if
1832         .hidden is available.
1833         * io/stat.c: If .hidden is available use it to avoid exporting
1834         functions.
1835         * io/fstat.c: Likewise.
1836         * io/lstat.c: Likewise.
1837         * io/stat64.c: Likewise.
1838         * io/fstat64.c: Likewise.
1839         * io/lstat64.c: Likewise.
1840         * sysdeps/generic/mknod.c: Likewise.
1842         * malloc/mtrace.c: Use __cxa_atexit and not atexit.
1843         * sysdeps/generic/bb_init_func.c: Likewise.
1844         * sysdeps/generic/libc-start.c: Likewise.
1846         * stdlib/atexit.c (__new_exitfn): Move to cxa_atexit.c.
1847         (atexit): Implement using __cxa_atexit.
1848         Use .hidden if availble to avoid exporting atexit.
1849         * stdlib/cxa_atexit.c (__new_exitfn): Moved to here from atexit.c.
1850         * stdlib/Versions: Export __new_exitfn for GLIBC_2.2.3.
1851         * stdlib/Makefile (routines): Add old_atexit.
1852         (static-only-routines): Add atexit.
1853         Pass -DHAVE_DOT_HIDDEN for atexit.c if .hidden is available.
1854         * stdlib/old_atexit.c: New file.
1856         * intl/Makefile: Remove bogus endif.
1858 2001-02-26  Andreas Jaeger  <aj@suse.de>
1860         * iconvdata/Makefile (tests): Fix typo in last patch.
1862         * intl/Makefile (tests): Run mtrace-tst-gettext only when perl is
1863         available.
1864         Reported by Achim Gottinger <achim@gentoo.org>.
1866 2001-02-25  Andreas Jaeger  <aj@suse.de>
1868         * intl/Makefile (plural.c): Reorder rules so that they work if
1869         BISON doesn't exist.
1871 2001-02-25  Ulrich Drepper  <drepper@redhat.com>
1873         * intl/locale.alias: Don't use nb_NO but define aliases for it.
1875 2001-02-23  Ulrich Drepper  <drepper@redhat.com>
1877         * sysdeps/i386/strtok.S: Continue to return NULL after the first
1878         time this happened.
1880 2001-02-23  Andreas Jaeger  <aj@suse.de>
1882         * string/tester.c (test_strtok_r): Add testcase.
1883         (test_strtok_r): Always initialize cp for proper checking.
1885         * sysdeps/generic/strtok.c (strtok): Handle case of first strtok
1886         returning NULL correctly.
1887         Patch by Fumitoshi UKAI <ukai@debian.or.jp>.
1888         * sysdeps/generic/strtok_r.c (__strtok_r): Likewise.
1890 2001-02-23  Ulrich Drepper  <drepper@redhat.com>
1892         * sysdeps/unix/sysv/aix/bits/types.h: Define __need_NULL before
1893         including <stddef.h>.
1894         * sysdeps/unix/sysv/aix/write.c: Define alias __libc_write.
1895         * include/libc-symbols.h (weak_alias): Don't use .weak if
1896         HAVE_ASM_GLOBAL_DOT_NAME is defined.
1897         Patches by Michael Keezer <mkeezer@redhat.com>.
1899         * sysdeps/generic/ftime.c: Don't include <sys/time.h> at all.
1900         Patch by Michael Keezer <mkeezer@redhat.com>.
1902         * sysdeps/unix/sysv/aix/Dist: Remove restf.S and savef.S.
1903         * sysdeps/unix/sysv/aix/Makefile [$(subdir) == misc]
1904         (sysdep_routines): Remove restf.S and savef.S.
1905         * sysdeps/unix/sysv/aix/restf.S. Removed.
1906         * sysdeps/unix/sysv/aix/savef.S. Removed.
1907         * sysdeps/powerpc/fprrest.S: Use C_TEXT to define label.  Also define
1908         alternative names used on some platforms.
1909         * sysdeps/powerpc/fprsave.S: Likewise.
1910         * sysdeps/powerpc/gprrest0.S: Likewise.
1911         * sysdeps/powerpc/gprrest1.S: Likewise.
1912         * sysdeps/powerpc/gprsave0.S: Likewise.
1913         * sysdeps/powerpc/gprsave1.S: Likewise.
1914         Patch by Michael Keezer <mkeezer@redhat.com>.
1916 2001-02-22  Ulrich Drepper  <drepper@redhat.com>
1918         * sysdeps/i386/elf/start.S (_fp_hw): Actually define label.
1920 2001-02-22  Andreas Jaeger  <aj@suse.de>
1922         * string/tst-strtok.c (main): Fix error messages.
1924 2001-02-22  Andreas Jaeger  <aj@suse.de>
1926         * math/Makefile: Remove omit-long-double-fcts.
1928 2001-02-18  Maciej W. Rozycki  <macro@ds2.pg.gda.pl>
1930         * sysdeps/mips/bsd-_setjmp.S (_setjmp): Reorder instructions to
1931         avoid problems on MIPS I.
1932         * sysdeps/mips/bsd-setjmp.S (setjmp): Likewise.
1934         * sysdeps/mips/dl-machine.h (RTLD_START): Remove duplicate ".set
1935         noreorder".
1937 2001-02-21  Ulrich Drepper  <drepper@redhat.com>
1939         * posix/fnmatch_loop.c: Handle ranges outside glibc correctly.
1941         * sysdeps/generic/ftime.c: Include <time.h>.
1943         * configure.in: Don't check for libgd if user passed --without-gd.
1944         Patch by Achim Gottinger <achim@gentoo.org>.
1946         * sysdeps/i386/i686/strtok.S: Continue to return NULL after the
1947         first time this happened.
1948         * string/Makefile (tests): Add tst-strtok.
1950 2001-02-21  Andreas Jaeger  <aj@suse.de>
1952         * string/tst-strtok.c: New testcase, reported by
1953         Andrew Church <achurch@achurch.org>.
1955 2001-02-20  Ulrich Drepper  <drepper@redhat.com>
1957         * libio/iofwide.c: Remove fwide alias.
1959 2001-02-20  Andreas Jaeger  <aj@suse.de>
1961         * iconvdata/Makefile (tests): Only run mtrace-tst-loading if perl
1962         is available.
1963         Reported by Achim Gottinger <achim@gentoo.org>.
1965 2001-02-19  Ulrich Drepper  <drepper@redhat.com>
1967         * iconv/tst-iconv1.c (main): Remove debugging code.
1969         * sysdeps/ieee754/flt-32/e_powf.c: Handle x == +-1 correctly.
1970         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
1972         * sysdeps/generic/e_scalb.c: Set invalid exception for invalid
1973         parameters.
1974         * sysdeps/generic/e_scalbf.c: Likewise.
1975         * sysdeps/generic/e_scalbl.c: Likewise.
1977         * sysdeps/ia64/fpu/Makefile (libm-sysdep-routines): Add libm_error,
1978         libm_frexp4, libm_frexp4f, libm_frexp4l, and all the functions also
1979         in libc.
1980         (routines): Replace libm_error with libc_libm_error.
1981         * sysdeps/ia64/fpu/Dist: Add libc_libm_error.c.
1982         * sysdeps/ia64/fpu/libc_libm_error.c: New file.
1984 2001-02-18  Mark Kettenis  <kettenis@gnu.org>
1986         * malloc/mtrace.c [USE_IN_LIBIO]: Define fopen as _IO_fopen64.
1987         (mtrace): Revert 2001-02-13 patch: use fopen instead of fopen64.
1989 2001-02-17  H.J. Lu  <hjl@gnu.org>
1991         * sysdeps/unix/sysv/linux/ia64/clone2.S: Use clone2 and don't use
1992         scratch registers across the system call.
1994 2001-02-19  Andreas Jaeger  <aj@suse.de>
1996         * malloc/Makefile (tests): Run mtrace only when perl is available.
1997         Reported by Achim Gottinger <achim@gentoo.org>.
1999 2001-02-19  Ulrich Drepper  <drepper@redhat.com>
2001         * sysdeps/ieee754/ldbl-96/e_j1l.c: New file.
2002         Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>.
2004         * sysdeps/i386/fpu/libm-test-ulps: Adjust error values for j1 and y1.
2005         * sysdeps/ia64/fpu/libm-test-ulps: Adjust error values for y1.
2006         * math/libm-test.inc (j1_test): Mark constants as long double.
2007         (jn_test): Likewise.
2008         (y1_test): Likewise.
2009         (yn_test): Likewise.
2011         * libio/iogetline.c: Move return until after last statement.
2013         * localedata/show-ucs-data.c: Don't show < > for better readability.
2015         * sysdeps/ia64/fpu/Dist: New file.
2016         * sysdeps/ia64/fpu/Makefile: New file.
2017         * sysdeps/ia64/fpu/Versions: New file.
2018         * sysdeps/ia64/fpu/e_acos.S: New file.
2019         * sysdeps/ia64/fpu/e_acosf.S: New file.
2020         * sysdeps/ia64/fpu/e_acosl.S: New file.
2021         * sysdeps/ia64/fpu/e_asin.S: New file.
2022         * sysdeps/ia64/fpu/e_asinf.S: New file.
2023         * sysdeps/ia64/fpu/e_asinl.S: New file.
2024         * sysdeps/ia64/fpu/e_atan2.S: New file.
2025         * sysdeps/ia64/fpu/e_atan2f.S: New file.
2026         * sysdeps/ia64/fpu/e_atan2l.c: New file.
2027         * sysdeps/ia64/fpu/e_cosh.S: New file.
2028         * sysdeps/ia64/fpu/e_coshf.S: New file.
2029         * sysdeps/ia64/fpu/e_coshl.S: New file.
2030         * sysdeps/ia64/fpu/e_exp.S: New file.
2031         * sysdeps/ia64/fpu/e_expf.S: New file.
2032         * sysdeps/ia64/fpu/e_expl.c: New file.
2033         * sysdeps/ia64/fpu/e_fmod.S: New file.
2034         * sysdeps/ia64/fpu/e_fmodf.S: New file.
2035         * sysdeps/ia64/fpu/e_fmodl.S: New file.
2036         * sysdeps/ia64/fpu/e_hypot.S: New file.
2037         * sysdeps/ia64/fpu/e_hypotf.S: New file.
2038         * sysdeps/ia64/fpu/e_hypotl.S: New file.
2039         * sysdeps/ia64/fpu/e_log.S: New file.
2040         * sysdeps/ia64/fpu/e_log10.c: New file.
2041         * sysdeps/ia64/fpu/e_log10f.c: New file.
2042         * sysdeps/ia64/fpu/e_log10l.c: New file.
2043         * sysdeps/ia64/fpu/e_logf.S: New file.
2044         * sysdeps/ia64/fpu/e_logl.c: New file.
2045         * sysdeps/ia64/fpu/e_pow.S: New file.
2046         * sysdeps/ia64/fpu/e_powf.S: New file.
2047         * sysdeps/ia64/fpu/e_powl.S: New file.
2048         * sysdeps/ia64/fpu/e_rem_pio2.c: New file.
2049         * sysdeps/ia64/fpu/e_rem_pio2f.c: New file.
2050         * sysdeps/ia64/fpu/e_remainder.S: New file.
2051         * sysdeps/ia64/fpu/e_remainderf.S: New file.
2052         * sysdeps/ia64/fpu/e_remainderl.S: New file.
2053         * sysdeps/ia64/fpu/e_scalb.S: New file.
2054         * sysdeps/ia64/fpu/e_scalbf.S: New file.
2055         * sysdeps/ia64/fpu/e_scalbl.S: New file.
2056         * sysdeps/ia64/fpu/e_sinh.S: New file.
2057         * sysdeps/ia64/fpu/e_sinhf.S: New file.
2058         * sysdeps/ia64/fpu/e_sinhl.S: New file.
2059         * sysdeps/ia64/fpu/e_sqrt.S: New file.
2060         * sysdeps/ia64/fpu/e_sqrtf.S: New file.
2061         * sysdeps/ia64/fpu/e_sqrtl.S: New file.
2062         * sysdeps/ia64/fpu/k_rem_pio2.c: New file.
2063         * sysdeps/ia64/fpu/k_rem_pio2f.c: New file.
2064         * sysdeps/ia64/fpu/k_rem_pio2l.c: New file.
2065         * sysdeps/ia64/fpu/libm_atan2_reg.S: New file.
2066         * sysdeps/ia64/fpu/libm_error.c: New file.
2067         * sysdeps/ia64/fpu/libm_frexp4.S: New file.
2068         * sysdeps/ia64/fpu/libm_frexp4f.S: New file.
2069         * sysdeps/ia64/fpu/libm_frexp4l.S: New file.
2070         * sysdeps/ia64/fpu/libm_reduce.S: New file.
2071         * sysdeps/ia64/fpu/libm_support.h: New file.
2072         * sysdeps/ia64/fpu/libm_tan.S: New file.
2073         * sysdeps/ia64/fpu/s_atan.S: New file.
2074         * sysdeps/ia64/fpu/s_atanf.S: New file.
2075         * sysdeps/ia64/fpu/s_atanl.S: New file.
2076         * sysdeps/ia64/fpu/s_cbrt.S: New file.
2077         * sysdeps/ia64/fpu/s_cbrtf.S: New file.
2078         * sysdeps/ia64/fpu/s_cbrtl.S: New file.
2079         * sysdeps/ia64/fpu/s_ceil.S: New file.
2080         * sysdeps/ia64/fpu/s_ceilf.S: New file.
2081         * sysdeps/ia64/fpu/s_ceill.S: New file.
2082         * sysdeps/ia64/fpu/s_cos.S: New file.
2083         * sysdeps/ia64/fpu/s_cosf.S: New file.
2084         * sysdeps/ia64/fpu/s_cosl.S: New file.
2085         * sysdeps/ia64/fpu/s_expm1.S: New file.
2086         * sysdeps/ia64/fpu/s_expm1f.S: New file.
2087         * sysdeps/ia64/fpu/s_expm1l.S: New file.
2088         * sysdeps/ia64/fpu/s_floor.S: New file.
2089         * sysdeps/ia64/fpu/s_floorf.S: New file.
2090         * sysdeps/ia64/fpu/s_floorl.S: New file.
2091         * sysdeps/ia64/fpu/s_frexp.c: New file.
2092         * sysdeps/ia64/fpu/s_frexpf.c: New file.
2093         * sysdeps/ia64/fpu/s_frexpl.c: New file.
2094         * sysdeps/ia64/fpu/s_ilogb.S: New file.
2095         * sysdeps/ia64/fpu/s_ilogbf.S: New file.
2096         * sysdeps/ia64/fpu/s_ilogbl.S: New file.
2097         * sysdeps/ia64/fpu/s_ldexp.S: New file.
2098         * sysdeps/ia64/fpu/s_ldexpf.S: New file.
2099         * sysdeps/ia64/fpu/s_ldexpl.S: New file.
2100         * sysdeps/ia64/fpu/s_log1p.S: New file.
2101         * sysdeps/ia64/fpu/s_log1pf.S: New file.
2102         * sysdeps/ia64/fpu/s_log1pl.S: New file.
2103         * sysdeps/ia64/fpu/s_logb.S: New file.
2104         * sysdeps/ia64/fpu/s_logbf.S: New file.
2105         * sysdeps/ia64/fpu/s_logbl.S: New file.
2106         * sysdeps/ia64/fpu/s_matherrf.c: New file.
2107         * sysdeps/ia64/fpu/s_matherrl.c: New file.
2108         * sysdeps/ia64/fpu/s_modf.S: New file.
2109         * sysdeps/ia64/fpu/s_modff.S: New file.
2110         * sysdeps/ia64/fpu/s_modfl.S: New file.
2111         * sysdeps/ia64/fpu/s_nearbyint.S: New file.
2112         * sysdeps/ia64/fpu/s_nearbyintf.S: New file.
2113         * sysdeps/ia64/fpu/s_nearbyintl.S: New file.
2114         * sysdeps/ia64/fpu/s_rint.S: New file.
2115         * sysdeps/ia64/fpu/s_rintf.S: New file.
2116         * sysdeps/ia64/fpu/s_rintl.S: New file.
2117         * sysdeps/ia64/fpu/s_round.S: New file.
2118         * sysdeps/ia64/fpu/s_roundf.S: New file.
2119         * sysdeps/ia64/fpu/s_roundl.S: New file.
2120         * sysdeps/ia64/fpu/s_scalbn.S: New file.
2121         * sysdeps/ia64/fpu/s_scalbnf.S: New file.
2122         * sysdeps/ia64/fpu/s_scalbnl.S: New file.
2123         * sysdeps/ia64/fpu/s_significand.S: New file.
2124         * sysdeps/ia64/fpu/s_significandf.S: New file.
2125         * sysdeps/ia64/fpu/s_significandl.S: New file.
2126         * sysdeps/ia64/fpu/s_sin.c: New file.
2127         * sysdeps/ia64/fpu/s_sincos.c: New file.
2128         * sysdeps/ia64/fpu/s_sincosf.c: New file.
2129         * sysdeps/ia64/fpu/s_sincosl.c: New file.
2130         * sysdeps/ia64/fpu/s_sinf.c: New file.
2131         * sysdeps/ia64/fpu/s_sinl.c: New file.
2132         * sysdeps/ia64/fpu/s_tan.S: New file.
2133         * sysdeps/ia64/fpu/s_tanf.S: New file.
2134         * sysdeps/ia64/fpu/s_tanl.S: New file.
2135         * sysdeps/ia64/fpu/s_trunc.S: New file.
2136         * sysdeps/ia64/fpu/s_truncf.S: New file.
2137         * sysdeps/ia64/fpu/s_truncl.S: New file.
2138         * sysdeps/ia64/fpu/w_acos.c: New file.
2139         * sysdeps/ia64/fpu/w_acosf.c: New file.
2140         * sysdeps/ia64/fpu/w_acosl.c: New file.
2141         * sysdeps/ia64/fpu/w_asin.c: New file.
2142         * sysdeps/ia64/fpu/w_asinf.c: New file.
2143         * sysdeps/ia64/fpu/w_asinl.c: New file.
2144         * sysdeps/ia64/fpu/w_atan2.c: New file.
2145         * sysdeps/ia64/fpu/w_atan2f.c: New file.
2146         * sysdeps/ia64/fpu/w_atan2l.c: New file.
2147         * sysdeps/ia64/fpu/w_cosh.c: New file.
2148         * sysdeps/ia64/fpu/w_coshf.c: New file.
2149         * sysdeps/ia64/fpu/w_coshl.c: New file.
2150         * sysdeps/ia64/fpu/w_exp.c: New file.
2151         * sysdeps/ia64/fpu/w_expf.c: New file.
2152         * sysdeps/ia64/fpu/w_fmod.c: New file.
2153         * sysdeps/ia64/fpu/w_fmodf.c: New file.
2154         * sysdeps/ia64/fpu/w_fmodl.c: New file.
2155         * sysdeps/ia64/fpu/w_hypot.c: New file.
2156         * sysdeps/ia64/fpu/w_hypotf.c: New file.
2157         * sysdeps/ia64/fpu/w_hypotl.c: New file.
2158         * sysdeps/ia64/fpu/w_log.c: New file.
2159         * sysdeps/ia64/fpu/w_log10.c: New file.
2160         * sysdeps/ia64/fpu/w_log10f.c: New file.
2161         * sysdeps/ia64/fpu/w_log10l.c: New file.
2162         * sysdeps/ia64/fpu/w_logf.c: New file.
2163         * sysdeps/ia64/fpu/w_logl.c: New file.
2164         * sysdeps/ia64/fpu/w_pow.c: New file.
2165         * sysdeps/ia64/fpu/w_powf.c: New file.
2166         * sysdeps/ia64/fpu/w_powl.c: New file.
2167         * sysdeps/ia64/fpu/w_remainder.c: New file.
2168         * sysdeps/ia64/fpu/w_remainderf.c: New file.
2169         * sysdeps/ia64/fpu/w_remainderl.c: New file.
2170         * sysdeps/ia64/fpu/w_scalb.c: New file.
2171         * sysdeps/ia64/fpu/w_scalbf.c: New file.
2172         * sysdeps/ia64/fpu/w_scalbl.c: New file.
2173         * sysdeps/ia64/fpu/w_sqrt.c: New file.
2174         * sysdeps/ia64/fpu/w_sqrtf.c: New file.
2175         * sysdeps/ia64/fpu/w_sqrtl.c: New file.
2176         * sysdeps/ia64/fpu/libm-test-ulps: Adjust for long double
2177         implementation.
2178         * sysdeps/ia64/fpu/bits/mathdef.h: Correct float_t and double_t types.
2179         Change FP_ILOGBNAN for new implementation.
2180         * Verions.def: Add 2.2.3 versions.
2182 2001-02-18  Ulrich Drepper  <drepper@redhat.com>
2184         * math/libm-test.inc (scalb_test): Require invalid exception being
2185         raised for invalid parameters.
2186         * sysdeps/i386/fpu/e_scalb.S: Raise invalid exception if necessary.
2187         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
2188         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
2190 2001-02-18  Mark Kettenis  <kettenis@gnu.org>
2192         * sysdeps/mach/getsysstats.c (__get_phys_pages): Change return
2193         value to long int.
2194         (__get_avphys_pages): Likewise.
2196 2001-02-18  Ulrich Drepper  <drepper@redhat.com>
2198         * math/libm-test.inc (pow_test): Correct expected results for x == +-1.
2199         * sysdeps/i386/fpu/e_pow.S: Handle x == +-1 correctly.
2200         * sysdeps/i386/fpu/e_powf.S: Likewise.
2201         * sysdeps/i386/fpu/e_powl.S: Likewise.
2203         * sysdeps/i386/fpu/bits/mathinline.h: Remove pow inline code.
2205 2001-02-17  Ulrich Drepper  <drepper@redhat.com>
2207         * math/Makefile (libm-calls): It's e_exp2 not s_exp2.
2209         * sysdeps/generic/s_exp2l.c: Renamed to...
2210         * sysdeps/generic/e_exp2l.c: ...this.   New file.
2211         * sysdeps/i386/fpu/s_exp2.S: Renamed to...
2212         * sysdeps/i386/fpu/e_exp2.S: ...this.   New file.
2213         * sysdeps/i386/fpu/s_exp2f.S: Renamed to...
2214         * sysdeps/i386/fpu/e_exp2f.S: ...this.   New file.
2215         * sysdeps/i386/fpu/s_exp2l.S: Renamed to...
2216         * sysdeps/i386/fpu/e_exp2l.S: ...this.   New file.
2217         * sysdeps/ieee754/flt-32/s_exp2f.c: Renamed to...
2218         * sysdeps/ieee754/flt-32/e_exp2f.c: ...this.   New file.
2219         * sysdeps/ieee754/dbl-64/s_exp2.c: Renamed to...
2220         * sysdeps/ieee754/dbl-64/e_exp2.c: ...this.   New file.
2221         * sysdeps/m68k/fpu/s_exp2.c: Renamed to...
2222         * sysdeps/m68k/fpu/e_exp2.c: ...this.   New file.
2223         * sysdeps/m68k/fpu/s_exp2f.c: Renamed to...
2224         * sysdeps/m68k/fpu/e_exp2f.c: ...this.   New file.
2225         * sysdeps/m68k/fpu/s_exp2l.c: Renamed to...
2226         * sysdeps/m68k/fpu/e_exp2l.c: ...this.   New file.
2228 2001-02-17  Andreas Jaeger  <aj@suse.de>
2230         * configure.in: Allow gcc 3.
2232 2001-02-16  Ulrich Drepper  <drepper@redhat.com>
2234         * math/w_acos.c: Move to ...
2235         * sysdeps/generic/w_acos.c: ...here.  New file.
2236         * math/w_acosf.c: Move to ...
2237         * sysdeps/generic/w_acosf.c: ...here.  New file.
2238         * math/w_acosh.c: Move to ...
2239         * sysdeps/generic/w_acosh.c: ...here.  New file.
2240         * math/w_acoshf.c: Move to ...
2241         * sysdeps/generic/w_acoshf.c: ...here.  New file.
2242         * math/w_acoshl.c: Move to ...
2243         * sysdeps/generic/w_acoshl.c: ...here.  New file.
2244         * math/w_acosl.c: Move to ...
2245         * sysdeps/generic/w_acosl.c: ...here.  New file.
2246         * math/w_asin.c: Move to ...
2247         * sysdeps/generic/w_asin.c: ...here.  New file.
2248         * math/w_asinf.c: Move to ...
2249         * sysdeps/generic/w_asinf.c: ...here.  New file.
2250         * math/w_asinl.c: Move to ...
2251         * sysdeps/generic/w_asinl.c: ...here.  New file.
2252         * math/w_atan2.c: Move to ...
2253         * sysdeps/generic/w_atan2.c: ...here.  New file.
2254         * math/w_atan2f.c: Move to ...
2255         * sysdeps/generic/w_atan2f.c: ...here.  New file.
2256         * math/w_atan2l.c: Move to ...
2257         * sysdeps/generic/w_atan2l.c: ...here.  New file.
2258         * math/w_atanh.c: Move to ...
2259         * sysdeps/generic/w_atanh.c: ...here.  New file.
2260         * math/w_atanhf.c: Move to ...
2261         * sysdeps/generic/w_atanhf.c: ...here.  New file.
2262         * math/w_atanhl.c: Move to ...
2263         * sysdeps/generic/w_atanhl.c: ...here.  New file.
2264         * math/w_cosh.c: Move to ...
2265         * sysdeps/generic/w_cosh.c: ...here.  New file.
2266         * math/w_coshf.c: Move to ...
2267         * sysdeps/generic/w_coshf.c: ...here.  New file.
2268         * math/w_coshl.c: Move to ...
2269         * sysdeps/generic/w_coshl.c: ...here.  New file.
2270         * math/w_drem.c: Move to ...
2271         * sysdeps/generic/w_drem.c: ...here.  New file.
2272         * math/w_dremf.c: Move to ...
2273         * sysdeps/generic/w_dremf.c: ...here.  New file.
2274         * math/w_dreml.c: Move to ...
2275         * sysdeps/generic/w_dreml.c: ...here.  New file.
2276         * math/w_exp10.c: Move to ...
2277         * sysdeps/generic/w_exp10.c: ...here.  New file.
2278         * math/w_exp10f.c: Move to ...
2279         * sysdeps/generic/w_exp10f.c: ...here.  New file.
2280         * math/w_exp10l.c: Move to ...
2281         * sysdeps/generic/w_exp10l.c: ...here.  New file.
2282         * math/w_exp2.c: Move to ...
2283         * sysdeps/generic/w_exp2.c: ...here.  New file.
2284         * math/w_exp2f.c: Move to ...
2285         * sysdeps/generic/w_exp2f.c: ...here.  New file.
2286         * math/w_exp2l.c: Move to ...
2287         * sysdeps/generic/w_exp2l.c: ...here.  New file.
2288         * math/w_fmod.c: Move to ...
2289         * sysdeps/generic/w_fmod.c: ...here.  New file.
2290         * math/w_fmodf.c: Move to ...
2291         * sysdeps/generic/w_fmodf.c: ...here.  New file.
2292         * math/w_fmodl.c: Move to ...
2293         * sysdeps/generic/w_fmodl.c: ...here.  New file.
2294         * math/w_hypot.c: Move to ...
2295         * sysdeps/generic/w_hypot.c: ...here.  New file.
2296         * math/w_hypotf.c: Move to ...
2297         * sysdeps/generic/w_hypotf.c: ...here.  New file.
2298         * math/w_hypotl.c: Move to ...
2299         * sysdeps/generic/w_hypotl.c: ...here.  New file.
2300         * math/w_j0.c: Move to ...
2301         * sysdeps/generic/w_j0.c: ...here.  New file.
2302         * math/w_j0f.c: Move to ...
2303         * sysdeps/generic/w_j0f.c: ...here.  New file.
2304         * math/w_j0l.c: Move to ...
2305         * sysdeps/generic/w_j0l.c: ...here.  New file.
2306         * math/w_j1.c: Move to ...
2307         * sysdeps/generic/w_j1.c: ...here.  New file.
2308         * math/w_j1f.c: Move to ...
2309         * sysdeps/generic/w_j1f.c: ...here.  New file.
2310         * math/w_j1l.c: Move to ...
2311         * sysdeps/generic/w_j1l.c: ...here.  New file.
2312         * math/w_jn.c: Move to ...
2313         * sysdeps/generic/w_jn.c: ...here.  New file.
2314         * math/w_jnf.c: Move to ...
2315         * sysdeps/generic/w_jnf.c: ...here.  New file.
2316         * math/w_jnl.c: Move to ...
2317         * sysdeps/generic/w_jnl.c: ...here.  New file.
2318         * math/w_lgamma.c: Move to ...
2319         * sysdeps/generic/w_lgamma.c: ...here.  New file.
2320         * math/w_lgammaf.c: Move to ...
2321         * sysdeps/generic/w_lgammaf.c: ...here.  New file.
2322         * math/w_lgammaf_r.c: Move to ...
2323         * sysdeps/generic/w_lgammaf_r.c: ...here.  New file.
2324         * math/w_lgammal.c: Move to ...
2325         * sysdeps/generic/w_lgammal.c: ...here.  New file.
2326         * math/w_lgammal_r.c: Move to ...
2327         * sysdeps/generic/w_lgammal_r.c: ...here.  New file.
2328         * math/w_lgamma_r.c: Move to ...
2329         * sysdeps/generic/w_lgamma_r.c: ...here.  New file.
2330         * math/w_log10.c: Move to ...
2331         * sysdeps/generic/w_log10.c: ...here.  New file.
2332         * math/w_log10f.c: Move to ...
2333         * sysdeps/generic/w_log10f.c: ...here.  New file.
2334         * math/w_log10l.c: Move to ...
2335         * sysdeps/generic/w_log10l.c: ...here.  New file.
2336         * math/w_log.c: Move to ...
2337         * sysdeps/generic/w_log.c: ...here.  New file.
2338         * math/w_logf.c: Move to ...
2339         * sysdeps/generic/w_logf.c: ...here.  New file.
2340         * math/w_logl.c: Move to ...
2341         * sysdeps/generic/w_logl.c: ...here.  New file.
2342         * math/w_pow.c: Move to ...
2343         * sysdeps/generic/w_pow.c: ...here.  New file.
2344         * math/w_powf.c: Move to ...
2345         * sysdeps/generic/w_powf.c: ...here.  New file.
2346         * math/w_powl.c: Move to ...
2347         * sysdeps/generic/w_powl.c: ...here.  New file.
2348         * math/w_remainder.c: Move to ...
2349         * sysdeps/generic/w_remainder.c: ...here.  New file.
2350         * math/w_remainderf.c: Move to ...
2351         * sysdeps/generic/w_remainderf.c: ...here.  New file.
2352         * math/w_remainderl.c: Move to ...
2353         * sysdeps/generic/w_remainderl.c: ...here.  New file.
2354         * math/w_scalb.c: Move to ...
2355         * sysdeps/generic/w_scalb.c: ...here.  New file.
2356         * math/w_scalbf.c: Move to ...
2357         * sysdeps/generic/w_scalbf.c: ...here.  New file.
2358         * math/w_scalbl.c: Move to ...
2359         * sysdeps/generic/w_scalbl.c: ...here.  New file.
2360         * math/w_sinh.c: Move to ...
2361         * sysdeps/generic/w_sinh.c: ...here.  New file.
2362         * math/w_sinhf.c: Move to ...
2363         * sysdeps/generic/w_sinhf.c: ...here.  New file.
2364         * math/w_sinhl.c: Move to ...
2365         * sysdeps/generic/w_sinhl.c: ...here.  New file.
2366         * math/w_sqrtl.c: Move to ...
2367         * sysdeps/generic/w_sqrtl.c: ...here.  New file.
2368         * math/w_tgamma.c: Move to ...
2369         * sysdeps/generic/w_tgamma.c: ...here.  New file.
2370         * math/w_tgammaf.c: Move to ...
2371         * sysdeps/generic/w_tgammaf.c: ...here.  New file.
2372         * math/w_tgammal.c: Move to ...
2373         * sysdeps/generic/w_tgammal.c: ...here.  New file.
2375         * locale/programs/ld-address.c (address_finish): Add 'S' to allow
2376         formats for postal_fmt.
2378 2001-02-16  Jakub Jelinek  <jakub@redhat.com>
2380         * sysdeps/unix/sysv/linux/alpha/syscalls.list (ftruncate): Add
2381         __ftruncate64 alias.
2382         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (ftruncate):
2383         Likewise.
2385 2001-02-15  David Mosberger  <davidm@hpl.hp.com>
2387         * sysdeps/unix/sysv/linux/ia64/__longjmp.S (__longjmp): No need to
2388         do "loadrs".  Writing to bspstore already takes care of
2389         invalidating the "clean" partition.
2391 2001-02-16  Andreas Schwab  <schwab@suse.de>
2393         * sysdeps/m68k/fpu/s_nextafterl.c: New file.
2394         * sysdeps/m68k/fpu/s_fpclassifyl.c: New file.
2396 2001-02-15  Jakub Jelinek  <jakub@redhat.com>
2398         * posix/regex.c (init_syntax_once): Add prototype.
2399         (TRANSLATE): If MBS_SUPPORT, translate all characters up to '\xff'.
2400         (re_search_2): Avoid warning.
2401         (count_mbs_length): Add prototype.
2402         * posix/tst-regex3.c: New file.
2403         * posix/Makefile (tests): Add bug-regex3.
2405 2001-02-15  Ulrich Drepper  <drepper@redhat.com>
2407         * stdio-common/Makefile (tests): Add tst-gets.
2408         * stdio-common/tst-gets.c: New file.
2409         * stdio-common/tst-gets.input: New file.
2411         * elf/elf.h (DT_CHECKSUM): Define.
2413         * sysdeps/generic/strtoll.c: Don't export __strto*_internal as
2414         default symbol.
2415         * sysdeps/generic/strtoull.c: Likewise.
2417 2001-02-14  Wolfram Gloger  <wg@malloc.de>
2419         * malloc/malloc.c (new_heap): When allocating large chunk aligned
2420         to HEAP_MAX_SIZE, prefer one with lower address, to avoid `holes'
2421         between the heaps.
2423 2001-02-14  Ulrich Drepper  <drepper@redhat.com>
2425         * math/libm-test.inc (j0_test): Check whether sincos is available.
2426         (j1_test): Likewise.
2427         (jn_test): Likewise.
2428         (y0_test): Likewise.
2429         (y1_test): Likewise.
2430         (yn_test): Likewise.
2432         * posix/tst-gnuglob.c: Make a few entries DT_UNKNOWN and teach
2433         fake filesystem routines to handle this.
2435         * time/sys/time.h: Make settimeofday and adjtime available if
2436         _BSD_SOURCE.
2438         * time/sys/time.h: Make timer* macros available for BSD.
2440         * iconvdata/gb18030.c: Update for Dec 2000 re-release of GB18030.
2441         Patch by Yong Li <rigel863@yahoo.com>.
2443         * sysdeps/generic/glob.c (CONVERT_DIRENT_DIRENT64): Fix copying of
2444         name.
2446         * posix/Makefile (tests): Add tst-gnuglob.
2447         * posix/tst-gnuglob.c: New file.
2449 2001-02-13  H.J. Lu  <hjl@gnu.org>
2451         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add __ftruncate64.
2453 2001-02-13  Ulrich Drepper  <drepper@redhat.com>
2455         * locale/programs/ld-paper.c (paper_output): Pretty printing.
2457         * iconvdata/Makefile (modules): Add GBBIG5.
2458         (distribute): Add gbbig5.c.
2459         * iconvdata/gconv-modules: Add entries for GBBIG5 module.
2461         * iconvdata/gbbig5.c: New file.
2462         Contributed by Yong Li <rigel863@yahoo.com>.
2464 2001-02-13  Philip Blundell  <pb@futuretv.com>
2466         * manual/crypt.texi: Remove outdated references to crypt add-on.
2468         * manual/creature.texi: Improve wording slightly.
2470 2001-02-13  Ulrich Drepper  <drepper@redhat.com>
2472         * io/ftw.c: Always use readdir64.
2473         * io/ftw64.c: Likewise.
2474         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
2475         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
2476         * sysdeps/generic/glob.c: Likewise.  Convert results of gl_readdir
2477         callback to dirent.  Still allow compiling outside glibc.
2478         * sysdeps/gnu/glob64.c: Define COMPILE_GLOB64.
2479         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
2481         * malloc/mtrace.c: Use fopen64.
2482         * posix/spawni.c: Use __open64.
2483         * sysdeps/unix/opendir.c: Likewise.
2484         * sysdeps/unix/sysv/linux/gethostid.c: Likewise.
2486         * sysdeps/generic/ftruncate64.c: Define __ftruncate64 and make old
2487         name a weak alias.
2488         * sysdeps/unix/sysv/aix/ftruncate64.c: Likewise.
2489         * sysdeps/unix/sysv/linux/ftruncate64.c: Likewise.
2490         * sysdeps/unix/sysv/linux/mips/ftruncate64.c: Likewise.
2491         * sysdeps/unix/sysv/linux/powerpc/ftruncate64.c: Likewise.
2493         * resolv/res_data.c: Add cast to avoid warning.
2495         * include/unistd.h: Declare __ftruncate64.
2497         * sysdeps/generic/utmp_file.c: Use LFS functions and types.
2499         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use __lseek64
2500         instead of __lseek.
2502 2001-02-13  Andreas Jaeger  <aj@suse.de>
2504         * login/getutent_r.c: Include <stdlib.h> for NULL.
2505         * login/getutid_r.c: Likewise.
2507 2001-02-12  Ulrich Drepper  <drepper@redhat.com>
2509         * sysdeps/dbl-64/e_j0.c: Little optimization, use sincos.
2510         * sysdeps/dbl-64/e_j1.c: Likewise.
2511         * sysdeps/dbl-64/e_jn.c: Likewise.
2512         * sysdeps/flt-32/e_j0f.c: Likewise.
2513         * sysdeps/flt-32/e_j1f.c: Likewise.
2514         * sysdeps/ldbl-96/e_j0l.c: Likewise.
2516 2000-12-02  H.J. Lu  <hjl@gnu.org>
2518         * resolv/res_libc.c (res_init): Don't make it default.
2520 2001-02-12  Ulrich Drepper  <drepper@redhat.com>
2522         * manual/debug.texi: Improved the wording.
2523         Patch by Philip Blundell <pb@futuretv.com>.
2525 2001-02-12  Andreas Jaeger  <aj@suse.de>
2527         * posix/Makefile (tests): Don't run bug-regex2 when
2528         cross-compiling.
2530         * libio/Makefile (tests): Don't run test-freopen when
2531         cross-compiling.
2533         * manual/stdio.texi (Streams and I18N): Fix typos.
2535 2001-02-12  Ulrich Drepper  <drepper@redhat.com>
2537         * sysdeps/i386/fpu/libm-test-ulps: Adjust for errors in y0l.
2539         * math/libm-test.inc (j0_test): Make expected results long double
2540         constants.
2541         (y0_test): Likewise.
2543         * sysdeps/ieee754/ldbl-96/e_j0l.c: New file.
2544         Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>.
2546 2001-02-11  Jakub Jelinek  <jakub@redhat.com>
2548         * sysdeps/generic/strtoll.c (__strtoq_internal): Ressurect alias
2549         which was exported from libc.
2550         * sysdeps/generic/strtoull.c (__strtouq_internal): Likewise.
2552 2001-02-12  Andreas Jaeger  <aj@suse.de>
2554         * manual/arith.texi (Parsing of Integers): Fix some wordings.
2556 2001-02-11  Ulrich Drepper  <drepper@redhat.com>
2558         * sysdeps/generic/getsysstat.c: Change return value of get_phys_pages
2559         and get_avphys_page to long int.
2560         * sysdeps/unix/sysv/linux/getsysstat.c: Likewise.
2561         * include/sys/sysinfo.h: Likewise.
2562         * sysdeps/generic/sys/sysinfo.h: Likewise.
2563         * sysdeps/unix/sysv/linux/sys/sysinfo.h: Likewise.
2565         * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Fail if we
2566         cannot return as many values as the user asked for.
2568 2001-02-11  Andreas Jaeger  <aj@suse.de>
2570         * manual/resource.texi (Memory Resources): Fix typo.
2572         * libio/Makefile ($(objpfx)test-freopen.out): Pass
2573         run-program-prefix.
2575         * libio/test-freopen.sh: Use run_program_prefix.
2577 2001-02-10  Andreas Jaeger  <aj@suse.de>
2579         * stdlib/Makefile (tests): Don't run tst-fmtmsg when
2580         cross-compiling.
2581         ($(objpfx)tst-fmtmsg.out): Pass run-program-prefix.
2583         * stdlib/tst-fmtmsg.sh (test): Use run_program_prefix for static
2584         only builds.
2586         * elf/Makefile (tests): Only run tst-pathopt with shared libs.
2588         * posix/Makefile: Fix typo, it's build-static-nss.
2590         * iconv/Makefile (extra-objs): New.
2592 2001-02-10  Mark Kettenis  <kettenis@gnu.org>
2594         * sysdeps/unix/stime.c: Include <time.h>.
2596         * sysdeps/mach/hurd/setitimer.c: Include <time.h>.
2598 2001-02-10  Andreas Jaeger  <aj@suse.de>
2600         * manual/string.texi (Search Functions): Fix typo.
2602 2001-02-10  Mark Kettenis  <kettenis@gnu.org>
2604         * sysdeps/unix/bsd/times.c: Reorder includes and add <time.h>.
2605         (timeval_to_clock_t): Add clk_tck argument and use that instead of
2606         CLK_TCK.
2607         (__times): Use __getclktck to get the number of clock ticks per
2608         second and use its return value instead of CLK_TCK.
2610 2001-02-10  Mark Kettenis  <kettenis@gnu.org>
2612         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h (_HAVE_SA_LEN): Define.
2614 2001-02-10  Mark Kettenis  <kettenis@gnu.org>
2616         * sysdeps/mach/gettimeofday.c: Include <stddef.h>.
2618 2001-02-10  Andreas Jaeger  <aj@suse.de>
2620         * wctype/wcfuncs.c (func): Add prototype declarations to avoid
2621         warning.
2623 2001-02-09  Ulrich Drepper  <drepper@redhat.com>
2625         * posix/Makefile: Add rules to build and run bug-regex2.
2626         * posix/bug-regex2.c: New file.
2628 2001-02-10  Jakub Jelinek  <jakub@redhat.com>
2630         * posix/regex.c (convert_mbs_to_wcs): Change is_binary to char *.
2631         (regex_compile): Likewise.
2632         (FREE_VARIABLES): Don't free is_binary1 and is_binary2.
2633         (re_match_2_internal): Use just is_binary instead of two variables.
2634         Use REGEX_TALLOC to allocate it and FREE_VAR to free on failure.
2636 2001-02-09  Ulrich Drepper  <drepper@redhat.com>
2638         * version.h (VERSION): Bump to 2.2.2.
2640         * iconv/Makefile (distribute): Add iconv_charmap.c and
2641         dummy-repertoire.c.
2642         * elf/Makefile (distribute): Add firstobj.c.
2643         * Makefile (distribute): Add include/pthread.h.
2645         * configure.in: Require makeinfo version 4.
2647         * libio/tst_wscanf.c (main): Add cast to avoid warning.
2648         * libio/tst_swscanf.c (main): Likewise..
2650 2001-02-09  Jakub Jelinek  <jakub@redhat.com>
2652         * sysdeps/generic/setenv.c (unsetenv): Remove const from len.
2653         * sysdeps/sparc/fpu/bits/mathinline.h (sqrt, fdim): Don't define if
2654         __NO_MATH_INLINES.
2655         * sysdeps/i386/dl-machine.h (elf_machine_rel): Only declare refsym
2656         if not RTLD_BOOTSTRAP.
2657         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
2658         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
2660 2001-02-09  Ulrich Drepper  <drepper@redhat.com>
2662         * locale/programs/linereader.c (get_ident): Stop loop if EOF.  Use
2663         lr_ungetc to push back last read character.
2664         * locale/programs/linereader.h (lr_ungetc): Don't push back is
2665         character is EOF.
2666         (lr_ignore_rest): Don't warn about garbage if it is really the end
2667         of the file.
2669         * manual/Makefile: Use ifnottext and not ifinfo to protect Top node
2670         definition.
2672 2001-02-08  Ulrich Drepper  <drepper@redhat.com>
2674         * Makerules (build-shlib): Work around different order of
2675         processing of -B option in different gcc versions.
2677         * posix/regex.c: Fix alignment problem.
2678         Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
2680         * sysdeps/alpha/strrchr.S: Little optimization.
2681         Patch by Richard Henderson <rth@redhat.com>.
2683         * sysdeps/alpha/alphaev67/strrchr.S: New file.
2684         Contributed by Rick Gorton <rick.gorton@alpha-processor.com>.
2686 2001-02-08  kaz Kojima  <kkojima@rr.iij4u.or.jp>
2688         * sysdeps/sh/sh3/setjmp.S (__sigsetjmp): Correct function name
2689         in the assembler end directive.
2691 2001-02-08  Andreas Jaeger  <aj@suse.de>
2693         * manual/stdio.texi (Closing Streams): Fix typos.
2695 2001-02-07  Ulrich Drepper  <drepper@redhat.com>
2697         * sysdeps/alpha/alphaev67/strncat.S: Align last write address.
2698         Patch by Richard Henderson <rth@redhat.com>.
2699         Reported by Claus-Justus Heine <heine@instmath.rwth-aachen.de>.
2701         * stdlib/strfmon.c [USE_IN_LIBIO]: Define lock variable and store
2702         pointer in FILE structure before calling _IO_init.
2703         * stdlib/Makefile: Add -D_IO_MTSAFE_IO to CFLAGS for strfmon and
2704         strfmon_l if necessary.
2705         Reported by Jury Gerold <gjury@grips.com>.
2707         * sysdeps/gnu/netinet/tcp.h: Correct values of TCP_ macros.
2708         Patch by Pekka.Pietikainen@cern.ch.
2710         * posix/regex.c: Correct several problems with 64-bit architectures
2711         introduced in the MBS changes.
2712         Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
2714 2001-02-07  Jakub Jelinek  <jakub@redhat.com>
2716         * math/tgmath.h: Only add l suffixes if __NO_LONG_DOUBLE_MATH is
2717         not defined.
2718         * sysdeps/alpha/fpu/bits/mathinline.h: Honour __NO_MATH_INLINES.
2720 2001-02-07  Andreas Jaeger  <aj@suse.de>
2722         * manual/install.texi (Tools for Compilation): Fix typo.
2723         Reported by Pavel Machek <pavel@bug.ucw.cz>.
2725 2001-02-07  Ulrich Drepper  <drepper@redhat.com>
2727         * stdlib/strtod.c: Never stop prematurely reading digits before the
2728         decimal point is found.  Compute exponent limit for negative exponents
2729         correctly.  For numbers ending in all zeros eat the zeros even before
2730         the decimal point if the exponent is negative [PR libc/2072].
2731         * stdlib/Makefile (tests): Add bug-strtod.
2732         * stdlib/bug-strtod.c: New file.
2734 2001-02-07  Andreas Jaeger  <aj@suse.de>
2736         * posix/bug-regex1.c: Include <wchar.h> for fwide.
2738 2001-02-06  Ulrich Drepper  <drepper@redhat.com>
2740         * posix/regex.c (regex_compile): Don't store pointer in wchar_t array.
2741         Store index.
2742         (compile_range): Handle index being passed, not pointer.
2743         Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
2745         * posix/regex.c: Fix a cast in the code for bracket handling which
2746         caused 8-bit uncleanliness.
2747         Patch by Michal Jaegermann <michal@ellpspace.math.ualberta.ca>.
2749         * posix/Makefile (tests): Add bug-regex1.
2750         * posix/bug-regex1.c: New file.
2751         Contributed by Jim Meyering <jim@meyering.net>.
2753         * posix/regex.c: Many cleanups for incorrect format strings.
2755 2001-02-06  Andreas Jaeger  <aj@suse.de>
2757         * time/time.h (CLK_TCK): Check for !__STRICT_ANSI.
2759 2001-02-06  Ulrich Drepper  <drepper@redhat.com>
2761         * locale/programs/locale.c (write_locales): Use scandir to read
2762         directory so that the entries are sorted.
2764 2001-02-06  Andreas Jaeger  <aj@suse.de>
2766         * include/pthread.h: New file.
2768         * wctype/wctype.h: Move internal interfaces from here to...
2769         * include/wctype.h: ...here.
2771         * wcsmbs/wchar.h: Move __wcslen from here to...
2772         * include/wchar.h: ...here.
2774         * posix/sys/wait.h: Move __wait from here to...
2775         * include/sys/wait.h: ...here.
2777         * string/string.h: Move __ffs and __strerror_r from here to...
2778         * include/string.h: ...here.
2780         * stdlib/stdlib.h: Move __on_exit from here to...
2781         * include/stdlib.h: ...here.
2783         * libio/stdio.h: Move __vsnprintf from here to...
2784         * include/stdio.h: ...here.
2786 2001-02-06  Andreas Schwab  <schwab@suse.de>
2788         * sysdeps/unix/sysv/linux/ia64/ioperm.c: Don't include kernel
2789         headers.
2791         * timezone/Makefile: Don't assume that $(inst_zonedir) is a subdir
2792         of $(inst_datadir).
2794 2001-02-06  Ulrich Drepper  <drepper@redhat.com>
2796         * iconvdata/Makefile: Add dependency for bug-iconv2.out.
2798 2001-02-06  Andreas Jaeger  <aj@suse.de>
2800         * elf/firstobj.c: Add prototype.
2802         * posix/regex.c (convert_mbs_to_wcs): Make static, add prototype
2803         (truncate_wchar): Likewise.
2805 2001-02-06  Ulrich Drepper  <drepper@redhat.com>
2807         * locale/programs/locale.c: Implement --verbose option for -a
2808         which prints detailed information about the locales.
2810 2001-02-05  Ulrich Drepper  <drepper@redhat.com>
2812         * sunrpc/xdr_rec.c (set_input_fragment): Change type of header
2813         variable to uint32_t.
2814         Reported by Ulrich Weigand <weigand@immd1.informatik.uni-erlangen.de>.
2816 2001-02-04  Bruno Haible  <haible@clisp.cons.org>
2818         * locale/C-translit.h.in: Add transliterations for CJK units of
2819         measurement.
2821 2001-02-05  Ulrich Drepper  <drepper@redhat.com>
2823         * elf/cache.c (print_entry): Use PRIx64 instead of Lx in printf
2824         string.  Include <inttypes.h> instead of <stdint.h>.
2826         * localedata/Makefile (tests): Add bug-iconv-trans.
2827         Define bug-iconv-trans-ENV.
2828         * localedata/bug-iconv-trans.c: New file.
2830 2001-02-04  Bruno Haible  <haible@clisp.cons.org>
2832         * iconv/gconv_trans.c (__gconv_transliterate): Use a temporary output
2833         pointer, to avoid accumulating output from incomplete (unsuccessful)
2834         transliteration attempts.
2836 2001-02-05  Ulrich Drepper  <drepper@redhat.com>
2838         * elf/ldconfig.c (search_dir): Use PRIx64 instead of Lx in printf
2839         string.  Include <inttypes.h> instead of <stdint.h>.
2841         * configure.in: Add check for bison.
2842         * config.make.in: Define BISON variable.
2843         * intl/Makefile: Use BISON instead of YACC when generating plural.c.
2844         Rename YFLAGS to BISONFLAGS.
2846 2001-02-05  Andreas Jaeger  <aj@suse.de>
2848         * io/test-lfs.c (do_test): Test lseek64 return value, call
2849         test_ftello.
2850         (test_ftello): New function to test ftello64 and fseeko64.
2852         * signal/signal.h: Move __sigaction from here to...
2853         * include/signal.h: ...here.
2855         * io/fcntl.h: Move __fcntl and __open to...
2856         * include/fcntl.h: ...here.
2858 2001-02-04  Philip Blundell  <philb@gnu.org>
2860         * configure.in: Distinguish ARM from Thumb.
2862 2001-02-04  Philip Blundell  <philb@gnu.org>
2864         * sysdeps/arm/dl-machine.h (elf_machine_rel): Correct handling of
2865         PC24 relocs with negative value.
2867 2001-02-04  Ulrich Drepper  <drepper@redhat.com>
2869         * iconv/Makefile (iconv_prog-modules): Define.  Add vpath to find
2870         files in locale/programs.  Add CFLAGS definition to allow compiling
2871         localedef files.
2872         * iconv/dummy-repertoire.c: New file.
2873         * iconv/iconv_charmap.c: New file.
2874         * iconv/iconv_prog.h: New file.
2875         * iconv/iconv_prog.c: Make verbose and omit_invalid global.
2876         (main): If parameter for -f and -t contain slashes try first to resolve
2877         the strings as filenames of charmap files.  Use them for conversion
2878         in this case.
2879         * iconvdata/run-iconv-test.sh: If charmaps exist also run tests with
2880         iconv getting charmap names as parameters.
2881         * locale/programs/linereader.c (lr_token): Take extra parameters
2882         verbose and pass it to get_string.
2883         (get_string): Take extra parameters verbose.
2884         * locale/programs/charmap.c (parse_charmap): Take extra parameters
2885         verbose and be_quiet.  Change all callers of lr_token and
2886         parse_charmap.
2887         * locale/programs/charmap.h: Likewise.
2888         * locale/programs/ld-address.c: Likewise.
2889         * locale/programs/ld-collate.c: Likewise.
2890         * locale/programs/ld-ctype.c: Likewise.
2891         * locale/programs/ld-identification.c: Likewise.
2892         * locale/programs/ld-measurement.c: Likewise.
2893         * locale/programs/ld-messages.c: Likewise.
2894         * locale/programs/ld-monetary.c: Likewise.
2895         * locale/programs/ld-name.c: Likewise.
2896         * locale/programs/ld-numeric.c: Likewise.
2897         * locale/programs/ld-paper.c: Likewise.
2898         * locale/programs/ld-telephone.c: Likewise.
2899         * locale/programs/ld-time.c: Likewise.
2900         * locale/programs/linereader.c: Likewise.
2901         * locale/programs/linereader.h: Likewise.
2902         * locale/programs/localedef.c: Likewise.
2903         * locale/programs/locfile.c: Likewise.
2904         * locale/programs/locfile.h: Likewise.
2905         * locale/programs/repertoire.c: Likewise.
2907 2001-02-03  Ulrich Drepper  <drepper@redhat.com>
2909         * iconv/iconv_prog.c (main): If output file name is "-" write to
2910         stdout.
2911         (main): If -f or -t argument is missing use charset of the current
2912         locale.
2914 2001-02-03  Andreas Jaeger  <aj@suse.de>
2916         * sysdeps/i386/elf/start.S (_start): Align stack to 16-byte
2917         boundary for SSE/SSE-2 alignment.
2919         * posix/Makefile ($(objpfx)annexc.out): Also pass sysincludes to
2920         annexc.
2922 2001-02-03  Ulrich Drepper  <drepper@redhat.com>
2924         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: File was using crlf.
2925         Remove comma at end of enum.
2927         * elf/dl-init.c: Add a few __builtin_expect.
2929         * hesiod/hesiod.c: Remove unnecessary code.  Remove all uses of strcat.
2931 2001-02-02  Ulrich Drepper  <drepper@redhat.com>
2933         * hesiod/hesiod.c (hesiod_resolve): Also search HS records if
2934         errno is ECONNREFUSED.
2936         * posix/Makefile: Define MBS_SUPPORT for regex.c.
2937         * posix/regex.c: Implement multibyte character handling.
2938         Patch by Isamu Hasegawa <isamu@yamato.ibm.co.jp>.
2940         * string/tst-svc.input: Add two more test cases.
2941         * string/tst-svc.expect: Modify to reflect new test cases.
2943 2001-02-01  Jakub Jelinek  <jakub@redhat.com>
2945         * sysdeps/posix/getaddrinfo.c (gaih_local, gaih_inet): Replace all
2946         tp->name tests with tp->name[0] tests.
2948 2001-01-29  Ben Collins  <bcollins@debian.org>
2950         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r):
2951         Fix check for name == NULL.
2953 2001-02-01  Ulrich Drepper  <drepper@redhat.com>
2955         * elf/Makefile: Add rules to build and run initfirst test.
2956         * elf/initfirst.c: New file.
2957         * elf/firstobj.c: New file.
2959         * Makerules (build-shlib): Add $(extra-B-$(@F:lib%.so=%).so).
2960         * configure.in: Test for -z initfirst linker option.
2961         * config.make.in: Add have-z-initfirst.
2962         * elf/dl-init.c (_dl_init): Split out actual initialization code in
2963         new function call_init.  If _dl_initfirst is non-NULL initialize first.
2964         * elf/dl-load.c (_dl_map_from_fd): If DF_1_INITFIRST flag is set
2965         remember object in _dl_initfirst.
2966         * elf/soinit.c: Remove special support for calling
2967         __pthread_initialize_minimal.
2969         * conform/conformtest.pl: Add missing $prepend in type test.
2971 2001-01-31  Ulrich Drepper  <drepper@redhat.com>
2973         * elf/elf.h (SHT_CHECKSUM): New definition.
2975         * posix/fnmatch_loop.c: Remove incorrect reverse condition in
2976         [. .] matching.  Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
2977         * posix/tst-fnmatch.input: Add tests for [. .] in locales.
2979 2001-01-31  Mark Kettenis  <kettenis@gnu.org>
2981         * misc/sys/select.h: Include <bits/time.h> instead of <sys/time.h>
2982         to get definition of `struct timeval'.
2984 2001-01-31  Ulrich Drepper  <drepper@redhat.com>
2986         * posix/tst-fnmatch.input: Add test cases for de_DE.UTF-8 locale.
2987         * posix/fnmatch_loop.c: Fix handling of [= =] for multibyte charsets.
2989 2001-01-30  Ulrich Drepper  <drepper@redhat.com>
2991         * iconv/gconv_open.c (__gconv_open): Set conv_flags if IGNORE is
2992         seen, not flags.
2994         * nis/nis_findserv.c: Include <time.h>.
2996 2001-01-30  Yong Li  <yong.li@asu.edu>
2998         * iconv/iconv_prog.c (main): Correct error handling method name.
3000 2001-01-29  Ben Collins  <bcollins@debian.org>
3002         * sysdeps/sparc/fpu/fraiseexcpt.c: Include <float.h>.
3003         * sysdeps/hppa/fpu/fraiseexcpt.c: Likewise.
3004         * sysdeps/m68k/fpu/fraiseexcpt.c: Likewise.
3005         * sysdeps/s390/fpu/fraiseexcpt.c: Likewise.
3007 2001-01-30  Ulrich Drepper  <drepper@redhat.com>
3009         * locale/programs/ld-measurement.c (measurement_finish): Fix a typo.
3010         Patch by Marko Myllynen <myllynen@lut.fi>.
3012         * string/bits/string2.h (__strpbrk_c2): Correct parameter types
3013         (int instead of char).
3014         (__strpbrk_c3): Likewise.
3015         Reported by GOTO Masanori <gotom@debian.or.jp>.
3017         * sysdeps/generic/bits/sockaddr.h: Remove SA_LEN macro.
3018         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Likewise.
3019         * include/sys/socket.h: Add SA_LEN here for internal use.
3020         Reported by Arkadiusz Miskiewicz <misiek@pld.ORG.PL>.
3022 2001-01-29  Ulrich Drepper  <drepper@redhat.com>
3024         * malloc/Makefile: Don't build memusagestat if cross-compiling.
3026         * sysdeps/generic/dl-sysdep.c (set_seen): Fix typo.
3028         * math/libm-test.inc (rint_test): Add a few more tests for round
3029         to even rounding.
3031 2001-01-28  Ulrich Drepper  <drepper@redhat.com>
3033         * conform/data/pthread.h-data: Correct return type of pthread_exit.
3035         * conform/conformtest.pl: Add -fno-builtin to CFLAGS.
3037         * conform/data/stdlib.h-data: Add _Exit.
3039         * inet/arpa/inet.h: Don't include <sys/types.h>.  Define socklen_t
3040         if not already happened.
3041         * inet/netinet/in.h: Don't include <sys/types.h>, use <bits/types.h>.
3042         Don't include <limits.h> and <bits/sockaddr.h>.
3044         * conform/data/netinet/in.h-data: Allow all of <inttypes.h>.
3046         * conform/data/spawn.h-data: Allow all of <sched.h>.
3048         * sysdeps/ia64/fpu/fraiseexcpt.c: Include <float.h>.  Removed
3049         unused variable.
3051         * sunrpc/xdr_rec.c (xdrrec_getpos): Add cast to long to avoid warning.
3052         * sunrpc/xdr_sizeof.c (x_inline): Likewise.
3054         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Include <float.h>.
3056         * conform/conformtest.pl: Define $mustprepend{"stdio.h"}.
3057         * libio/stdio.h: Define va_list correctly.
3059         * conform/data/pthread.h-data: Make priority protocol related
3060         functions optional.  Fix typos.
3062         * posix/sched.h: Define sched_priority as __sched_priority.
3063         * sysdeps/generic/bits/sched.h (struct sched_param): Rename element
3064         to __sched_priority.
3065         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
3067 2001-01-27  Ulrich Drepper  <drepper@redhat.com>
3069         * sysdeps/generic/clock_getcpuclockid.c: Include <time.h> instead
3070         of <sys/time.h>.
3072         * sysdeps/unix/stime.c: Include <stddef.h> for NULL.
3073         * sysdeps/unix/time.c: Likewise.
3075         * conform/data/time.h-data: CLK_TCK is not in XPG6.  Fix tzname entry.
3076         * sysdeps/mach/hurd/bits/time.h: Don't define CLK_TCK for XPG6.
3077         * sysdeps/mach/hurd/i386/bits/time.h: Likewise.
3078         * sysdeps/unix/sysv/linux/bits/time.h: Likewise.
3079         * sysdeps/unix/sysv/linux/alpha/bits/time.h: Likewise.
3080         * sysdeps/unix/sysv/linux/i386/bits/time.h: Likewise.
3081         * sysdeps/unix/sysv/linux/ia64/bits/time.h: Likewise.
3082         * time/time.h: Likewise.
3084         * conform/conformtest.pl (@headers): Add complex.h and tgmath.h.
3085         * conform/data/complex.h-data: New file.
3086         * conform/data/tgmath.h-data: New file.
3088         * conform/data/wchar.h-data: Add missing functions.
3090         * sysdeps/gnu/bits/utmpx.h: Define RUN_LVL only if __USE_GNU.
3092         * conform/data/termios.h-data: Add missing const in tcsetattr()
3093         prototype.
3095         * posix/sys/wait.h: Include <signal.h> and <sys/resource.h>.
3096         Don't define pid_t here.
3098         * conform/data/sys/utsname.h-data: Don't provide fixed array sizes.
3100         * conform/data/sys/time.h-data: Allow sys/select.h.
3101         * conform/data/sys/un.h-data: Fix typo.
3102         * time/sys/time.h: Don't include all of <time.h>, just struct timeval.
3103         * sysdeps/posix/clock_getres.c: Include <time.h> instead of
3104         <sys/time.h>.
3105         * sysdeps/unix/clock_nanosleep.c: Likewise.
3106         * sysdeps/unix/i386/clock_getcpuclockid.c: Likewise.
3107         * sysdeps/unix/i386/i586/clock_getres.c: Likewise.
3108         * sysdeps/unix/clock_gettime.c: Also include <time.h>.
3109         * sysdeps/unix/clock_settime.c: Likewise.
3111         * sysdeps/generic/pselect.c: Include <stddef.h> for NULL.
3112         * login/getutent.c: Likewise.
3113         * login/getutid.c: Likewise.
3114         * login/getutline.c: Likewise.
3116         * socket/sys/un.h: Define SUN_LEN only if __USE_MISC.
3118         * sysdeps/unix/sysv/linux/bits/statvfs.h: Change type of f_fsid field
3119         to unsigned long.  Add __f_unused.  Define _STATVFSBUF_F_UNUSED.
3120         * sysdeps/unix/sysv/linux/internal_statvfs.c: Adjust initialization of
3121         f_fsid field after change in struct statvfs.
3122         * sysdeps/unix/sysv/linux/alpha/bits/statvfs.h: New file.
3123         * sysdeps/unix/sysv/linux/ia64/bits/statvfs.h: New file.
3124         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/statvfs.h: New file.
3126         * conform/data/sys/stat.h-data: Remove isfdtype.  Use
3127         optional-macro.
3129         * conform/data/sys/socket.h-data: Fix typos.  Correct getsockopt,
3130         recvfrom, send, and socketpair prototypes.  Add allow lines.
3131         * socket/sys/socket.h: Include <sys/uio.h>.
3132         Don't use fancy __SOCKADDR_ARG definition unless __USE_GNU.
3133         Fix type of second parameter of listen.
3134         Don't declare isfdtype unless __USE_MISC.
3135         * sysdeps/generic/listen.c: Fix type of second parameter of listen.
3136         * sysdeps/mach/hurd/listen.c: Likewise.
3137         * sysdeps/generic/bits/socket.h (struct sockaddr_storage): Define
3138         ss_family and __ss_family.
3139         * sysdeps/unix/sysv/aix/bits/socket.h: Likewise.
3140         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
3141         (struct msghdr): Change type of msg_iovlen to int and type of
3142         msg_controllen to socklen_t.
3143         * sysdeps/unix/sysv/linux/alpha/bits/socket.h: New file.
3144         * sysdeps/unix/sysv/linux/ia64/bits/socket.h: New file.
3145         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/socket.h: New file.
3146         * inet/rcmd.c (rcmd_af): __ss_family is now ss_family.
3147         (rresvport_af): Likewise.
3149         * conform/data/sys/shm.h-data: SHMLBA is not required to by a constant.
3150         * conform/conformtest.pl: Implement handling of symbol.
3152         * signal/signal.h: Fix handling of __need_* symbols.
3153         * misc/sys/select.c: Define fd_set here.  Remove __fd_set.  Define
3154         fd_mask only if __USE_MISC.  Declare pselect for __USE_XOPEN2K.
3155         * include/sys/select.h: Use fd_set not __fd_set.
3156         * sysdeps/generic/bits/select.h: Likewise.
3157         * sysdeps/i386/bits/select.h: Likewise.
3158         * sysdeps/generic/bits/types.h: Don't define __fd_mask, __NFDBITS,
3159         __FDELT, __FDMASK, and __fd_set here.
3160         * sysdeps/unix/sysv/aix/bits/types.h: Likewise.
3161         * sysdeps/unix/sysv/hpux/bits/types.h: Likewise.
3162         * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
3163         * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
3164         * sysdeps/unix/sysv/linux/ia64/bits/types.h: Likewise.
3165         * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
3166         * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
3167         * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
3168         * time/sys/time.h: Define struct timeval before including <time.h>
3169         and <sys/select.h>.
3171         * conform/data/sys/time.h-data: fd_set is a typedef.
3172         * conform/data/sys/select.h-data: New file.
3173         * conform/data/sys/mman.h-data: Make typed mem stuff optional.
3174         * conform/conformtest.pl (@headers): Add sys/select.h.
3175         (type, optional-type): Unless testing a typedef instantiate object.
3176         Implement optional-function.
3178         * math/test-misc.c: Include <float.h>.
3180 2001-01-27  Andreas Jaeger  <aj@suse.de>
3182         * misc/efgcvt_r.c: Include <float.h>.
3184 2001-01-26  Ulrich Drepper  <drepper@redhat.com>
3186         * conform/data/stdlib.h-data: Account for XPG6 changes.
3187         * stdlib/stdlib.h (__random): Change return value type to long.
3188         (posix_memalign): Cleanup parameter names.
3189         (setenv, unsetenv): Make available for __USE_XOPEN2K.
3190         Change return type of unsetenv to int.
3191         (qecvt, qgcvt, qfcvt): Declare only if __USE_MISC.
3192         * include/stdlib.h: Change return type of unsetenv to int.
3193         Change return type of random to long int.
3194         * sysdeps/generic/setenv.c (unsetenv): Change return type to int.
3195         Return -1 and set errno if parameter is invalid.
3196         * stdlib/random.c (__random): Change return value type to long.
3198         * conform/data/stdio.h-data: Account for changes in XPG6.
3200         * conform/data/spawn.h-data: Correct posix_spawnattr_setflags
3201         prototype.
3203         * conform/conformtest.pl: Define $mustprepend{"signal.h"}.
3204         * conform/data/signal.h-data: Fix sigev_notify_function entry.
3205         Fix typo (SIGVALRM -> SIGVTALRM).
3206         * sysdeps/unix/sysv/linux/bits/siginfo.h: Define sigev_notify_attr
3207         with real type.
3208         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Likewise.
3209         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
3210         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Likewise.
3211         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
3212         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/siginfo.h: Likewise.
3214         * conform/conformtest.pl: Implement optional-element.  Define
3215         $mustprepend{"sched.h"}.
3216         * conform/data/sched.h-data: Make sporadic scheduler definitions
3217         optional.
3219         * pwd/pwd.h: Don't define getpwent_r for XPG.
3221         * io/sys/poll.h: Define nfds_t and use it in poll prototype.
3222         * sysdeps/generic/poll.c: Use nfds_t type in function definition.
3223         * sysdeps/mach/hurd/poll.c: Likewise.
3224         * sysdeps/unix/bsd/poll.c: Likewise.
3225         * sysdeps/unix/sysv/linux/poll.c: Likewise.
3226         * sysdeps/unix/sysv/aix/poll.c: Likewise.
3227         * sysdeps/generic/bits/poll.h: Define NPOLLFILE only if __USE_MISC.
3228         * sysdeps/unix/sysv/linux/bits/poll.h: Likewise.
3229         * sysdeps/unix/sysv/linux/m68k/bits/poll.h: Likewise.
3230         * sysdeps/unix/sysv/linux/mips/bits/poll.h: Likewise.
3231         * sysdeps/unix/sysv/linux/sparc/bits/poll.h: Likewise.
3232         * conform/data/poll.h-data: Fix typo in poll prototype.
3234         * sysdeps/gnu/netinet/tcp.h: Define everything but TCP_ macros
3235         only if __USE_MISC.
3236         * conform/data/netinet/tcp.h-data: Reserved prefix TCP_.
3238         * sysdeps/gnu/net/if.h: Cleanup namespace.  Define IF_NAMESIZE.
3240         * inet/netinet/in.h: Make IPPROTO_ constants also macros.
3242         * conform/conformtest.pl: Implement optional-type.
3244         * resolv/netdb.h: Include <netinet/in.h> not <sys/socket.h>.  Include
3245         <rpc/netdb.h> only if __USE_MISC.  Include <stdint.h> instead of
3246         defining uint32_t here.  Define IPPORT_RESERVED.
3247         (struct hostent): Type of h_length element is int.
3248         (getnameinfo): Type of flags parameter is unsigned int.
3249         * inet/getnameinfo.c (getnameinfo): flags argument is unsigned.
3250         * conform/data/netdb.h-data: Add many missing definitions.
3252         * conform/conformtest.pl: Implement optional-macro.
3253         * conform/data/math.h-data: Update for XPG6.
3255         * math/math.h (HUGE): Define as FLT_MAX value but don't use
3256         FLT_MAX.  Don't include <float.h>.
3257         (MAXFLOAT): Likewise.
3259         * math/math.h: Define MATH_ERRNO and MATH_ERREXCEPT.
3261         * include/bits/xopen_lim.h: Don't define FOPEN_MAX here.
3263         * conform/data/limits.h-data: Mark constants as optional wherever
3264         appropriate.
3266         * posix/bits/posix2_lim.h: Set correct values for
3267         _POSIX2_COLL_WEIGHTS_MAX and _POSIX2_CHARCLASS_NAME_MAX.  Remove
3268         EQUIV_CLASS_MAX.
3270         * posix/bits/posix1_lim.h: Define _POSIX_TZNAME_MAX as 6.
3271         Required by POSIX.
3273         * intl/loadmsgcat.c: Include <locale.h.> for _LIBC.
3275         * conform/data/netinet/in.h-data: Add reserved prefixes.
3277         * conform/data/arpa/inet.h-data: Fix a few typos.
3279 2001-01-26  Andreas Jaeger  <aj@suse.de>
3281         * sysdeps/generic/strtol.c: Include <locale.h>
3282         * stdlib/strtod.c: Likewise
3283         * stdlib/strfmon.c: Likewise.
3284         * string/strcoll.c: Likewise.
3285         * string/strxfrm.c: Likewise.
3286         * wctype/wcfuncs_l.c: Likewise.
3287         * wctype/wctype_l.c: Likewise.
3288         * wctype/wctrans_l.c: Likewise.
3290         * include/bits/locale.h: New file.
3292 2001-01-26  Ulrich Drepper  <drepper@redhat.com>
3294         * locale/langinfo.h: Correct logic in #ifs when defining YESSTR
3295         and NOSTR.
3297         * locale/Makefile (headers): Add bits/locale.h.
3298         * locale/langinfo.h: Don't include <locale.h>.  Include <bits/locale.h>
3299         and use __LC_ constants instead of LC_.
3300         * locale/locale.h: Include <bits/locale.h> and define LC_ constants
3301         using __LC_ constants.
3302         * locale/bits/locale.h: New file.
3303         * locale/loadlocale.c: Include <locale.h>.
3304         * locale/nl_langinfo.h: Likewise.
3306         * posix/glob.h: Cleanup namespace for non-_GNU_SOURCE case.
3308         * io/sys/stat.h: Define S_IFSOCK for XPG6.
3310         * conform/data/fcntl.h-data: posix_madvise is not expected here.
3312         * conform/conformtest.pl: Fix handling of macro-str.
3314         * conform/data/inttypes.h-data: Add missing definition and all of
3315         stdint.h-data.
3317         * sysdeps/unix/sysv/linux/sys/param.h (MAXSYMLINKS): Bump to 20.
3319 2001-01-25  Ulrich Drepper  <drepper@redhat.com>
3321         * conform/conformtest.pl (@headers): Add stdint.h.
3322         * conform/data/stdint.h-data: New file.
3324         * conform/conformtest.pl: Recognize options --headers and
3325         --dialect.  Add dialect-specific CFLAGS.
3327         * conform/conformtest.pl: Implement handling of recursive
3328         allow-header.
3330         * conform/data/locale.h-data: Add new struct lconv members.
3332         * posix/wordexp.h: Correct definition of wordexp_t.
3333         * posix/wordexp.c: Moved to ...
3334         * sysdeps/generic/wordexp.c: ...here.  New file.
3335         * sysdeps/unix/sysv/linux/alpha/wordexp.c: New file.
3336         * sysdeps/unix/sysv/linux/ia64/wordexp.c: New file.
3337         * sysdeps/unix/sysv/linux/sparc/sparc64/wordexp.c: New file.
3338         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.2.2): Add
3339         wordexp.
3340         * sysdeps/unix/sysv/linux/ia64/Versions: Likewise.
3341         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions: Likewise.
3343         * math/tgmath.h: Pretty printing.
3345         * math/Makefile (tests): Add test-tgmath.
3346         (CFLAGS-test-tgmath.c): New variable.
3347         * math/test-tgmath.c: New file.  Contributed by Jakub Jelinek.
3349         * conform/conformtest.pl: Handle allow-header in secondary headers
3350         correctly.
3352         * conform/data/fcntl.h-data: Mark symbols introduced in XPG6 with
3353         #ifdef.
3355         * conform/data/netinet/in.h-data: Use correct comment character.
3356         * conform/data/sys/stat.h-data: Likewise.
3358 2001-01-25  Jakub Jelinek  <jakub@redhat.com>
3360         * math/tgmath.h (__TGMATH_BINARY_FIRST_REAL_ONLY,
3361         __TGMATH_BINARY_REAL_ONLY, __TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY,
3362         __TGMATH_TERNARY_REAL_ONLY): Use proper arguments to
3363         __builtin_classify_type, add ##f suffixes where appropriate.
3364         (__TGMATH_UNARY_REAL_IMAG): Remove extraneous left parenthesis.
3365         (__TGMATH_BINARY_REAL_IMAG): Likewise, use proper arguments to
3366         __builtin_classify_type.
3367         (fma): Fix spelling of first argument.
3369 2001-01-25  Ulrich Drepper  <drepper@redhat.com>
3371         * conform/data/unistd.h-data: Mark functions removed in XPG6
3372         correctly.
3374         * posix/unistd.h: Don't make functions removed in XPG6 available if
3375         __USE_XOPEN2K.
3377         * conform/conformtest.pl: Implement optional-constant.
3378         * conform/data/unistd.h-data: Use optional-constant wherever
3379         appropriate.
3381         * sysdeps/generic/bits/confname.h: Correct names of _SC_PBS
3382         constants and add _SC_STREAMS.
3383         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
3385         * sysdeps/unix/sysv/linux/statvfs64.c: Rename to __statvfs64 and
3386         make old name weak alias.
3387         * sysdeps/generic/statvfs64.c: Likewise.
3388         * sysdeps/unix/sysv/linux/fstatvfs64.c: Rename to __fstatvfs64 and
3389         make old name weak alias.
3390         * sysdeps/generic/fstatvfs64.c: Likewise.
3391         * include/sys/statvfs.h: New file.
3393         * sysdeps/generic/bits/confname.h: Define _PC_REC_INCR_XFER_SIZE,
3394         _PC_REC_MAX_XFER_SIZE, _PC_REC_MIN_XFER_SIZE, and
3395         _PC_REC_XFER_ALIGN.
3396         * sysdeps/posix/pathconf.c (__pathconf): Implement handling of
3397         _PC_REC_INCR_XFER_SIZE, _PC_REC_MAX_XFER_SIZE,
3398         _PC_REC_MIN_XFER_SIZE, and _PC_REC_XFER_ALIGN.
3399         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
3401         * conform/conformtest.pl: Run Unix tests for XPG6.
3402         Implement handling of known namespace violations.
3403         Improve printing of results.
3405         * posix/unistd.h (usleep): Correct return type.
3406         * sysdeps/unix/sysv/linux/usleep.c: Correct return type.
3407         * sysdeps/unix/bsd/usleep.c: Correct return type.
3408         * sysdeps/mach/usleep.c: Correct return type.
3409         * sysdeps/generic/usleep.c: Correct return type.
3411         * posix/unistd.h (sync): Correct return type.
3412         * sysdeps/generic/sync.c: Likewise.
3413         * sysdeps/mach/hurd/sync.c: Likewise.
3415         * sysdeps/generic/bits/confname.h (_SC_IOV_MAX): New definition.
3417         * posix/unistd.h: Make seteuid and setegid available for XPG6.
3419         * wcsmbs/wchar.h: Get FILE definition for XPG5.
3421         * conform/data/ctype.h-data: Use correct comment form.
3422         * conform/data/errno.h-data: Likewise.
3423         * conform/data/math.h-data: Likewise.
3424         * conform/data/mqueue.h-data: Likewise.
3425         * conform/data/netdb.h-data: Likewise.
3426         * conform/data/pthread.h-data: Likewise.
3428 2001-01-24  Ulrich Drepper  <drepper@redhat.com>
3430         * conform/data/wordexp.h-data: Fix typo.
3432         * conform/conformtest.pl: Handle allow-header correctly.
3434         * conform/data/time.h-data: Use correct comment form.
3436         * conform/conformtest.pl (checknamespace): Ignore #undef lines.
3438         * configure.in: Comment out binutils version test.
3440         * stdlib/strtod.c (str_to_mpn): Correct parsing of thousands
3441         separators.
3442         Reported by Lagardere Jean-Francois <LAGARDEREJ@thmulti.com>.
3444         * stdlib/tst-strtod.c (locale_test): New function.
3445         (main): Call locale_test.
3446         * stdlib/Makefile (tst-strtod-ENV): New variable.
3448 2001-01-24  Mark Kettenis  <kettenis@gnu.org>
3450         * hurd/hurdsig.c (_hurdsig_getenv): Remove spurious innermost
3451         declaration of value such that we actually return the value of the
3452         environment variable.
3454 2001-01-24  Andreas Jaeger  <aj@suse.de>
3456         * sysdeps/unix/sysv/linux/init-first.c: Remove extra __sysctl
3457         prototype.
3458         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
3460         * include/sys/sysctl.h: New file.
3462 2001-01-23  Andreas Jaeger  <aj@suse.de>
3464         * stdlib/Makefile ($(objpfx)isomac.out): Also pass sysincludes to
3465         isomac.
3467         * elf/dl-load.c (_dl_init_paths): Don't use strdupa in function
3468         arguments.  Reported by Jiri Kubicek <kubicek@bitsmart.com>,
3469         closes PR libc/2039.
3471         * manual/install.texi (Tools for Compilation): Change required
3472         binutils version.
3474 2001-01-22  Andreas Jaeger  <aj@suse.de>
3476         * configure.in: Add test for new enough binutils version, move
3477         compiler/binutils test up.
3479         * Versions.def: Add version GLIBC_2.2.2.
3481 2001-01-21  Ulrich Drepper  <drepper@redhat.com>
3483         * iconvdata/TESTS: UTF-8 test data for IBM932 and IBM943 are now
3484         available.
3485         * iconvdata/testdata/IBM932: New file.
3486         * iconvdata/testdata/IBM932..UTF8: New file.
3487         * iconvdata/testdata/IBM943: New file.
3488         * iconvdata/testdata/IBM943..UTF8: New file.
3489         Contributed by Masahide Washizawa <washi@jp.ibm.com>.
3491 2001-01-21  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
3493         * sysdeps/unix/sysv/linux/powerpc/mmap64.c: Correctly mask offset.
3495 2001-01-21  Ulrich Drepper  <drepper@redhat.com>
3497         * malloc/malloc.c: Remove a few unnecessary initializers of global
3498         variables.
3500 2000-12-09  H.J. Lu  <hjl@gnu.org>
3502         * nss/Makefile (routines): Add digits_dots.
3503         * nss/Versions (libc): Add __nss_hostname_digits_dots to GLIBC_2.2.2.
3504         * nss/digits_dots.c (__nss_hostname_digits_dots): Turn template
3505         into a function.
3506         * nss/nsswitch.h (__nss_hostname_digits_dots): New internal NSS
3507         function.
3508         * nss/getXXbyYY.c (H_ERRNO_VAR_P): New definition.
3509         (TYPE_VAR_P): Likewise.
3510         (FLAGS_VAR): Likewise.
3511         (AF_VAR_P): Likewise.
3512         (INTERNAL (REENTRANT_NAME)): Call __nss_hostname_digits_dots ()
3513         instead of including digits_dots.c.
3514         * nss/getXXbyYY_r.c (H_ERRNO_VAR_P): New definition.
3515         (TYPE_VAR_P): Likewise.
3516         (FLAGS_VAR): Likewise.
3517         (AF_VAR_P): Likewise.
3518         (INTERNAL (REENTRANT_NAME)): Call __nss_hostname_digits_dots ()
3519         instead of including digits_dots.c.
3521 2001-01-21  Ulrich Drepper  <drepper@redhat.com>
3523         * sysdeps/posix/getaddrinfo.c: Reduce .data size.
3525 2001-01-21  Andreas Jaeger  <aj@suse.de>
3527         * elf/constload2.c: Add prototype for init.
3529 2001-01-21  Ulrich Drepper  <drepper@redhat.com>
3531         * stdlib/stdlib.h (drand48_data): Make available only for
3532         __USE_MISC.  Rename elements to protect namespace.  Change type
3533         and position of a and init element.
3534         * stdlib/drand48-iter.c: Don't handle unsigned short > 16 bit
3535         differently.  Adjust for drand48_data change.  Don't compute a here,
3536         it comes from drand48_data.
3537         * stdlib/lcong48_r.c: Don't handle unsigned short > 16 bit
3538         differently.  Adjust for drand48_data change.  Compute a here.
3539         * stdlib/srand48_r.c: Likewise.
3540         * stdlib/drand48.c: Adjust for drand48_data change.
3541         * stdlib/lrand48.c: Likewise.
3542         * stdlib/mrand48.c: Likewise.
3543         * stdlib/seek48.c: Likewise.
3544         * stdlib/drand48_r.c: Likewise.
3545         * stdlib/lrand48_r.c: Likewise.
3546         * stdlib/mrand48_r.c: Likewise.
3547         * stdlib/seed48_r.c: Likewise.  Don't handle unsigned short > 16 bit
3548         differently.
3549         * stdlib/erand48_r.c: Don't handle unsigned short > 16 bit differently.
3550         * stdlib/jrand48_r.c: Likewise.
3552         * po/sv.po: Update from translation team.
3554 2001-01-21  Andreas Jaeger  <aj@suse.de>
3556         * stdio-common/vfprintf.c (vfprintf): Add casts.
3558 2001-01-20  Ulrich Drepper  <drepper@redhat.com>
3560         * iconvdata/run-iconv-test.sh: Reorgnize a bit to allow running only
3561         the ASCII test.
3562         * iconvdata/TESTS: Add entries for IBM932 and IBM943.
3564         * iconvdata/Makefile (modules): Add IBM932 and IBM943.
3565         * iconvdata/gconv-modules: Add entries for IBM932 and IBM943.
3566         * iconvdata/ibm932.c: New file.
3567         * iconvdata/ibm932.h: New file.
3568         * iconvdata/ibm943.c: New file.
3569         * iconvdata/ibm943.h: New file.
3570         Patches by Masahide Washizawa <washi@jp.ibm.com>.
3572         * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Fix typo
3573         preventing optimization from being done.  Set the correct type bit
3574         in seen.  Don't define and use _dl_base_addr unless
3575         NEED_DL_BASE_ADDR is defined.
3577         * io/ftw.c (ftw_dir): Add slash after directory name if there
3578         wasn't any.  Reported by loris <loris@iol.it>.
3579         * io/Makefile (tests): Add bug-ftw2.
3580         * io/bug-ftw2.c: New file.
3582 2001-01-19  Ulrich Drepper  <drepper@redhat.com>
3584         * stdlib/jrand48_r.c (__jrand48_r): Correct constructing of
3585         results.  Reported by Jeff Higham <jhigham@algorithmics.com>.
3586         * stdlib/tst-rand48.c: New file.
3587         * stdlib/Makefile (tests): Add tst-rand48.
3589         * locale/newlocale.c (__newlocale): Fix test for setting all
3590         categories.
3592 2001-01-19  Mark Kettenis  <kettenis@gnu.org>
3594         * sysdeps/mach/hurd/chroot.c (chroot): Revert 1999-02-27 changes,
3595         but change looking up the initial directory port in a similar way
3596         as done by _hurd_change_directory_port_from_name.
3597         * hurd/fchroot.c (fchroot): Likewise.
3599 2001-01-18  Ulrich Drepper  <drepper@redhat.com>
3601         * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): If HAVE_AUX_XID is
3602         defined don't look whether the AT_*ID values were set.
3603         If HAVE_AUX_PAGESIZE is defined don't look whether the pagesize is set.
3604         (_dl_show_auxv): Rewrite to avoid switch statement.
3605         * sysdeps/unix/sysv/linux/kernel-features.h: Define
3606         __ASSUME_AT_PAGESIZE for kernel >= 2.4.1.
3607         * sysdeps/unix/sysv/linux/ldsodefs.h: Define HAVE_AUX_XID.
3608         Define HAVE_AUX_PAGESIZE if __ASSUME_AT_PAGESIZE is defined.
3610         * sysdeps/unix/sysv/linux/fxstat64.c: Add one __builtin_expect.
3611         * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
3612         * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
3614         * elf/rtld.c (process_envvars): Call __strtoul_internal instead of
3615         strtoul.
3616         * elf/dl-minimal.c (strtol, __strtol_internal, strtoul): Removed.
3617         (__sigjmp_save): Set __mask_was_saved to zero since we don't save
3618         anything.
3619         * dlfcn/eval.c (__strtol_internal): Define here.
3620         (eval): Use __strtol_internal instead of strtol.
3622         * elf/elf.h: Add a few more EF_MIPS_* constants.
3624 2001-01-17  Ulrich Drepper  <drepper@redhat.com>
3626         * manual/Makefile (chapters): Add debug.
3627         * manual/debug.texi: New file.
3628         * manual/examples/execinfo.c: New file.
3629         Patch by suckfish@ihug.co.nz.
3631 2001-01-17  Andreas Schwab  <schwab@suse.de>
3633         * sysdeps/m68k/bits/byteswap.h (__bswap_32): Add cast to avoid
3634         invalid asm.
3636 2001-01-17  Andreas Jaeger  <aj@suse.de>
3638         * nscd/connections.c (nscd_run): Use proper format specifier.
3640 2001-01-16  Ulrich Drepper  <drepper@redhat.com>
3642         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Move x86_cap_flags and
3643         x86_platforms data into new file after prepending _dl_.  Change
3644         users.
3645         * sysdeps/unix/sysv/linux/i386/dl-procinfo.c: New file.
3646         * sysdeps/unix/sysv/linux/i386/Dist: Add dl-procinfo.c.
3647         * sysdeps/unix/sysv/linux/i386/Makefile: Add rules to build
3648         dl-procinfo.c.
3650         * setjmp/setjmp.h: Cleanup definition of setjmp macro.
3652         * sysdeps/i386/elf/bsd-setjmp.S: Real implementation.
3653         * sysdeps/i386/elf/bsd-_setjmp.S: Removed.
3654         * sysdeps/i386/elf/setjmp.S (setjmp): Removed here.
3655         (_setjmp): Likewise.
3656         * sysdeps/i386/bsd-_setjmp.S: Real implementation.
3657         * sysdeps/i386/bsd-setjmp.S: Real implementation.
3658         * sysdeps/i386/bits/setjmp.h: Remove PUSH_SIGNAL_MASK definition.
3659         * sysdeps/i386/setjmp.S: Remove PIC support.  This is the non-ELF
3660         version.
3662 2001-01-16  Andreas Jaeger  <aj@suse.de>
3664         * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h (SIGCONTEXT): Fix
3665         misapplied last patch.
3667 2001-01-15  Ulrich Drepper  <drepper@redhat.com>
3669         * stdlib/random.c (__initstate): Clean up a cast.
3670         (__setstate): Likewise.
3672         * sysdeps/unix/sysv/linux/mips/syscalls.list: Remove select
3673         syscall handling.  The generic Linux version should work.
3675 2001-01-15  Andreas Jaeger  <aj@suse.de>
3677         * sysdeps/unix/sysv/linux/sys/sendfile.h: Fix typo.
3679         * stdio-common/tstscanf.c (main): Add two testcases for '*' modifier.
3681 2001-01-14  Jakub Jelinek  <jakub@redhat.com>
3683         * nss/getent.c (print_aliases, aliases_keys, ethers_keys,
3684         netgroup_keys, print_rpc, rpc_keys, print_shadow, shadow_keys):
3685         New functions.
3686         (group_keys, hosts_keys, network_keys, passwd_keys, protocols_keys):
3687         If number is 0, list all.
3688         (services_keys): Likewise.  Lookup aliases as well.
3689         (databases): New table.
3690         (build_doc): Prepare argp doc text with list of supported databases.
3691         (main): Change to table driven processing.
3693 2001-01-14  Thorsten Kukuk <kukuk@suse.de>
3695         * sunrpc/xdr.c (xdr_long, xdr_u_long): Fix comments about these
3696         functions.
3698 2001-01-03  Jakub Jelinek  <jakub@redhat.com>
3700         * sunrpc/xdr.c (xdr_long, xdr_u_long): Return FALSE if trying to
3701         encode value which does not fit in the 32bit type.
3703 2001-01-15  Hiroyuki Machida <machida@sm.sony.co.jp>
3705         * sysdeps/unix/sysv/linux/mips/register-dump.h (REGISTER_DUMP):
3706         Change type of CTX to (struct sigcontext *).
3707         * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h (GET_PC): Likewise.
3708         (GET_FRAME): Likewise.
3709         (GET_STACK): Likewise.
3710         (SIGCONTEXT): Likewise. Add 2nd arg _code.
3711         (SIGCONTEXT_EXTRA_ARGS): Add 2nd arg _code.
3713 2001-01-13  Ulrich Drepper  <drepper@redhat.com>
3715         * manual/texinfo.tex: Update from upstream version.
3717 2001-01-13  Jakub Jelinek  <jakub@redhat.com>
3719         * inet/ether_ntoh.c (lookup_function): Change arguments to match
3720         _nss_*_getntohost_r prototype.
3721         (ether_ntohost): Pass errno pointer to NSS function.
3723 2001-01-12  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
3725         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MS_SYNC): Fix value.
3726         (MAP_LOCKED): New definition.
3727         (MAP_NORESERVE): New definition.
3729 2001-01-12  Ulrich Drepper  <drepper@redhat.com>
3731         * assert/assert.h: Use static_cast instead of C-style cast for C++.
3732         Patch by Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>.
3734 2001-01-12  Ben Collins  <bcollins@debian.org>
3736         * sysdeps/generic/segfault.c (install_handler): Use access, not
3737         __access.
3739 2001-01-12  Andreas Jaeger  <aj@suse.de>
3741         * posix/fnmatch_loop.c (FCT): Remove signed warnings.
3742         * posix/wordexp.c (do_parse_glob): Likewise.
3743         * sysdeps/posix/sigblock.c (__sigblock): Likewise.
3744         * sysdeps/posix/sigsetmask.c (__sigsetmask): Likewise.
3745         * elf/dl-open.c (_dl_open): Likewise.
3746         * elf/dl-close.c (_dl_close): Likewise.
3747         * elf/dl-load.c (_dl_map_object): Likewise.
3748         * iconv/iconv_prog.c (process_fd): Likewise.
3749         * stdio-common/vfscanf.c (_IO_vfscanf): Likewise.
3751         * locale/localeinfo.h (struct locale_data): Use __flexarr instead
3752         of a zero-length array.
3754 2001-01-11  Jakub Jelinek  <jakub@redhat.com>
3756         * stdlib/cxa_atexit.c (__cxa_atexit): Cast to (void *, int) func.
3757         * stdlib/cxa_finalize.c (__cxa_finalize): Add hidden second argument.
3758         * stdlib/cxa_on_exit.c: Remove.
3759         * stdlib/Makefile: Revert last patch.
3760         * stdlib/Versions: Likewise.
3761         * include/stdlib.h: Likewise.
3762         * stdlib/exit.h: Revert last patch.
3763         (struct exit_function): Add second argument to cxa fn.
3764         * stdlib/exit.c: Revert last patch.
3765         (exit): Add hidden second argument.
3767 2001-01-11  H.J. Lu  <hjl@gnu.org>
3769         * elf/dl-libc.c (do_dlopen): Move DL_STATIC_INIT to ...
3770         * elf/dl-open.c (_dl_open): Here.
3771         * sysdeps/unix/sysv/linux/ia64/dl-static.c (_dl_static_lock):
3772         Make it static.
3773         (_dl_static_init): Initialize the variables every time when possible.
3774         * sysdeps/unix/sysv/linux/ia64/ldsodefs.h (DL_STATIC_INIT):
3775         Undefine it first.
3777 2001-01-11  Ulrich Drepper  <drepper@redhat.com>
3779         * stdlib/Makefile (routines): Add cxa_on_exit.
3780         * stdlib/Versions [libc] (GLIBC_2.2.1): Add __cxa_on_exit.
3781         * stdlib/cxa_on_exit.c: New file.
3782         * include/stdlib.h: Add prototype for __cxa_on_exit.
3783         * stdlib/exit.c: Handle ef_cxa2.
3784         * stdlib/exit.h (enum): Add ef_cxa2.
3785         (struct exit_function): Add cxa2.
3787         * Versions.def [ld]: Add GLIBC_2.2.1.
3789 2001-01-10  H.J. Lu  <hjl@gnu.org>
3791         * elf/dl-libc.c (do_dlopen): Call DL_STATIC_INIT for static binaries.
3792         * sysdeps/unix/sysv/linux/ia64/Makefile (sysdep-dl-routines): Add
3793         dl-static.
3794         * sysdeps/unix/sysv/linux/ia64/Versions (ld): Add _dl_var_init.
3795         * sysdeps/generic/ldsodefs.h (DL_STATIC_INIT): Defined if not defined.
3796         * sysdeps/unix/sysv/linux/ia64/ldsodefs.h: New file.
3797         * sysdeps/unix/sysv/linux/ia64/dl-static.c: New file.
3798         * sysdeps/unix/sysv/linux/ia64/Dist: Add dl-static.c.
3800 2001-01-11  Ulrich Drepper  <drepper@redhat.com>
3802         * libio/stdio.h: Remove definition of off_t.
3804 2001-01-11  Andreas Jaeger  <aj@suse.de>
3806         * wcsmbs/tst-mbrtowc.c (utf8_test): New function by Markus Kuhn
3807         <mkuhn@acm.org>.
3809 2001-01-10  Ulrich Drepper  <drepper@redhat.com>
3811         * sunrpc/Makefile (distribute): Add errqueue.h.
3813 2001-01-10  H.J. Lu  <hjl@gnu.org>
3815         * sysdeps/ia64/dl-machine.h (TRAMPOLINE_TEMPLATE): Also preserve
3816         r9, r10 and r11 for language specific registers.
3818 2001-01-10  Jakub Jelinek  <jakub@redhat.com>
3820         * sunrpc/clnt_udp.c (clntudp_bufcreate): Set IP_RECVERR on the
3821         UDP socket.
3822         (clntudp_call): Handle MSG_ERRQUEUE.
3823         * sysdeps/generic/errqueue.h: New file.
3824         * sysdeps/unix/sysv/linux/errqueue.h: New file.
3826 2001-01-10  H.J. Lu  <hjl@gnu.org>
3828         * sysdeps/unix/sysv/linux/ia64/syscalls.list (s_getpagesize): Removed.
3830 2001-01-10  Joseph S. Myers  <jsm28@cam.ac.uk>
3832         * CONFORMANCE: Update.
3834 2001-01-09  Ulrich Drepper  <drepper@redhat.com>
3836         * sysdeps/generic/elf/backtracesyms.c (__backtrace_symbols):
3837         Minimal cleanups.  Add assert to ensure memory handling is correct.
3839         * manual/conf.texi (File Minimums): Fix _POSIX_PATH_MAX value.
3840         Reported by Ben Collins <bcollins@debian.org>.
3842         * time/strftime.c (my_strftime): Mark previous GNU extensions
3843         which are now in C99 as such.
3845 2001-01-08  Ulrich Drepper  <drepper@redhat.com>
3847         * elf/rtld.c (process_envvars): Place output files for profiling
3848         in SUID binaries in /var/profile.
3850         * elf/dl-load.c (_dl_map_object): Don't look in cache for
3851         preloading in SUID binaries.
3853         * elf/dl-profile.c (_dl_start_profile): Open the output file with
3854         O_NOFOLLOW if possible.
3856         * include/stdlib.h: Add __posix_openpt declaration.
3857         * stdlib/stdlib.h: Add posix_openpt declaration.
3858         * login/Versions: Add posix_openpt for GLIBC_2.2.1.
3859         * sysdeps/generic/getpt.c: Define posix_openpt.
3860         * sysdeps/unix/bsd/getpt.c: Likewise.
3861         * sysdeps/unix/sysv/linux/getpt.c: Likewise.
3863         * time/Makefile (tests): Add tst-mktime.
3864         * time/tst-mktime.c: New file.
3866         * posix/tst-dir.c (main): One more mkdir() test.
3868         * sysdeps/unix/sysv/linux/ia64/getpagesize.c (__getpagesize):
3869         Remove getpagesize syscall.  We assume that the pagesize is always
3870         determined from the auxiliary vector.
3872         * intl/dcigettext.c: Fix a few warnings.
3873         Patch by Bruno Haible <haible@ilog.fr>.
3875 2001-01-08  Andreas Jaeger  <aj@suse.de>
3877         * io/test-lfs.c (do_test): Check lseek64 return for EINVAL.
3878         Reported by Joseph S. Myers <jsm28@cam.ac.uk>.
3880 2001-01-08  Ulrich Drepper  <drepper@redhat.com>
3882         * sysdeps/generic/segfault.c (install_handler): Check output file
3883         name with access().
3885         * resolv/res_query.c: Use simply getenv() for HOSTALIASES.
3886         * sysdeps/generic/unsecvars.h (UNSECURE_ENVVARS): Add HOSTALIASES.
3888         * sysdeps/generic/unsecvars.h (UNSECURE_ENVVARS): Add missing comma.
3890         * malloc/memusage.c (me): Use access() to determine whether we
3891         should write the output file or not.
3893         * libio/bits/stdio.h (printf): Define macro to map printf call to
3894         fprintf which gcc can optimize.
3895         * stdio-common/printf.c: Undefine printf.
3897 2001-01-07  Ulrich Drepper  <drepper@redhat.com>
3899         * sysdeps/generic/bits/byteswap.h (__bswap_64): Partly revert last
3900         patch.  We must use unsigned int for l member of union.
3902         * sysdeps/powerpc/elf/libc-start.c (__libc_start_main): Don't call
3903         _dl_aux_init for shared libraries.
3905         * sysdeps/unix/sysv/linux/glob64.c: Moved to ...
3906         * sysdeps/gnu/glob64.c: ...here.  New file.
3908 2001-01-07  Ben Collins  <bcollins@debian.org>
3910         * manual/examples/longopt.c: Make the "struct option" a little
3911         more like it should be, adding usage of required_argument,
3912         noargument and such, and also setting the options string right.
3914         * manual/sysinfo.texi (Load Average): New section, documents
3915         getloadavg().
3917 2001-01-06  Ulrich Drepper  <drepper@redhat.com>
3919         * version.h (VERSION): Bump to 2.2.1.
3921         * sysdeps/unix/sysv/linux/mips/Dist: Remove sys/acct.h.
3922         * sysdeps/alpha/Dist: Add alphaev6/stxncpy.S and alphaev6/stxcpy.S.
3923         * sysdeps/unix/sysv/aix/Dist: Add uitrunc.c, savef.S, and restf.S.
3924         * dlfcn/Makefile (distribute): Add errmsg1mod.c.
3925         * Makefile (distribute): Add include/libc-internal.h.
3926         * libio/Makefile (distribute): Avoid overwriting.
3928         * iconvdata/ibm937.c (BODY to IBM937): Correct several mistakes in
3929         buffer and table handling.
3931 2001-01-05  H.J. Lu  <hjl@gnu.org>
3933         * elf/dl-support.c (non_dynamic_init): Move the auxiliary
3934         vector checking to ...
3935         (_dl_aux_init): Here. New function. Defined only if
3936         HAVE_AUX_VECTOR is defined.
3938         * sysdeps/generic/libc-start.c (__libc_start_main): Call
3939         _dl_aux_init for static binaries if HAVE_AUX_VECTOR is defined.
3941         * sysdeps/powerpc/elf/libc-start.c (__libc_start_main): Call
3942         _dl_aux_init.
3944         * sysdeps/unix/sysv/linux/ldsodefs.h (DL_FIND_AUXV): Removed.
3945         (HAVE_AUX_VECTOR): Defined.
3946         (_dl_aux_init): Declared.
3948 2001-01-05  Ben Collins  <bcollins@debian.org>
3950         * manual/string.texi (Finding Tokens in a String): Document XPG
3951         basename() and dirname(), as well as GNU basename().
3953 2001-01-05  Jakub Jelinek  <jakub@redhat.com>
3955         * Makeconfig (preprocess-version): Replace -traditional with
3956         -x assembler-with-cpp.
3958 2001-01-05  Joseph S. Myers  <jsm28@cam.ac.uk>
3960         * math/bits/cmathcalls.h: Don't define inline cimag, creal or conj
3961         for GCC 2.97 or later.
3963 2001-01-05  Ben Collins  <bcollins@debian.org>
3965         * manual/stdio.texi (getline): Clarify the return value in the
3966         case of EOF being reached before a newline.
3968 2001-01-04  Jakub Jelinek  <jakub@redhat.com>
3970         * sunrpc/pmap_clnt.c (__get_myaddress): Return TRUE if successful,
3971         FALSE otherwise.
3972         (pmap_set, pmap_unset): Check __get_myaddress return value.
3974 2001-01-05  Mark Kettenis  <kettenis@gnu.org>
3976         * sysdeps/generic/netinet/if_ether.h: Include <sys/types.h>.
3977         (struct ether_addr): Declare ether_addr_octet member as
3978         `u_int8_t'.  Add __attribute__ ((__packed__)).
3980 2001-01-06  Mark Kettenis  <kettenis@gnu.org>
3982         * sysdeps/mach/hurd/readdir64.c: New file.
3983         * sysdeps/mach/hurd/readdir64_r.c: New file.
3985 2001-01-07  Mark Kettenis  <kettenis@gnu.org>
3987         * sysdeps/mach/hurd/fstatvfs.c (fstatvfs): Add comment about
3988         `struct statfs' and `struct statvfs' being identical.
3989         * sysdeps/mach/hurd/statvfs.c (statvfs): Likewise.
3991 2001-01-06  Mark Kettenis  <kettenis@gnu.org>
3993         * sysdeps/mach/hurd/fstatfs64.c: New file.
3994         * sysdeps/mach/hurd/fstatvfs64.c: New file.
3995         * sysdeps/mach/hurd/statfs64.c: New file.
3996         * sysdeps/mach/hurd/statvfs64.c: New file.
3997         * sysdeps/mach/hurd/statfsconv.c: New file.
3998         * sysdeps/mach/hurd/Dist: Add statfsconv.c.
4000 2001-01-06  Ulrich Drepper  <drepper@redhat.com>
4002         * iconv/skeleton.c: Reset outbuf for next round of the loop.
4003         Reported by Owen Taylor <otaylor@redhat.com>.
4004         * iconv/Makefile (tests): Add tst-iconv3.
4005         * iconv/tst-iconv3.c: New file.
4007         * iconvdata/ibm930.c: Fix handling of state.  Optimize a bit.
4008         * iconvdata/ibm933.c: Likewise.
4009         * iconvdata/ibm935.c: Likewise.
4010         * iconvdata/ibm937.c: Likewise.
4011         * iconvdata/ibm939.c: Likewise.
4012         * iconvdata/ibm930.h: Adjust single byte table for optimization.
4013         * iconvdata/ibm933.h: Likewise.
4014         * iconvdata/ibm935.h: Likewise.
4015         * iconvdata/ibm939.h: Likewise.
4017         * iconvdata/testdata/IBM930: Add misssing SI.
4018         * iconvdata/testdata/IBM933: Likewise.
4019         * iconvdata/testdata/IBM935: Likewise.
4020         * iconvdata/testdata/IBM937: Likewise.
4021         * iconvdata/testdata/IBM939: Likewise.
4023 2001-01-06  Andreas Jaeger  <aj@suse.de>
4025         * configure.in: Check for old add-ons that shouldn't be used with
4026         current glibc anymore.
4028 2001-01-06  Mark Kettenis  <kettenis@gnu.org>
4030         * sysdeps/mach/hurd/readdir_r.c (__readdir_r): Return error number
4031         instead of -1 on failure.  Don't forget to copy file name into
4032         *ENTRY if successful.  Set *RESULT to NULL upon reaching the end
4033         of the directory.
4035 2001-01-06  Mark Kettenis  <kettenis@gnu.org>
4037         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Don't forget to
4038         copy st_atime member.
4040 2001-01-05  Ulrich Drepper  <drepper@redhat.com>
4042         * io/ftw.c (ftw_dir): Don't add a second slash at the beginning
4043         for searches from the root directory.
4044         Reported by loris <loris@iol.it> [PR libc/1991].
4045         * io/Makefile (tests): Add bug-ftw1.
4046         * io/bug-ftw1.c: New file.
4048         * elf/dl-support.c (non_dynamic_init): Don't define DL_FIND_AUXV
4049         if it is not available.  Instead use it only if it is available.
4050         * sysdeps/unix/sysv/linux/ldsodefs.h: New file.
4052         * iconv/gconv_simple.c (internal_ics4_loop): Correct test for
4053         overflowing output buffer.
4054         (internal_ucs4_loop_unaligned): Likewise.
4055         (ucs4_internal_loop): Likewise.
4056         (ucs4_internal_loop_unaligned): Likewise.
4057         (internal_ucs4le_loop): Likewise.
4058         (internal_ucs4le_loop_unaligned): Likewise.
4059         (ucs4le_internal_loop): Likewise.
4060         (ucs4le_internal_loop_unaligned): Likewise.
4061         Reported by Owen Taylor <otaylor@redhat.com>.
4062         * iconv/Makefile (tests): Add tst-iconv2.
4063         * iconv/tst-iconv2.c: New file.
4065 2001-01-04  H.J. Lu  <hjl@gnu.org>
4067         * elf/dl-support.c (DL_FIND_AUXV): New.  Defined if not defined.
4068         (_dl_clktck): Declared.
4069         (non_dynamic_init): Take 3 arguments.
4070         Set _dl_pagesize, _dl_platform and _dl_clktck from AUX.
4072 2001-01-01  Bruno Haible  <haible@clisp.cons.org>
4074         Finish implementation of plural form handling.
4075         * intl/dcigettext.c (known_translation_t): Rename 'domain' field to
4076         'domainname'.  Remove 'plindex' field. Add 'domain' and
4077         'translation_length' fields.
4078         (transcmp): Don't compare 'plindex' fields.
4079         (plural_lookup): New function.
4080         (DCIGETTEXT): Change cache handing in the plural case.  Don't call
4081         plural_eval before the translation and its catalog file have been
4082         found. Remove plindex from cache key.  Add 'translation_length' and
4083         'domain' to cache result.
4084         (_nl_find_msg): Remove index argument, return length of translation
4085         to the caller instead.  Weaken comparison of string lengths, to account
4086         for plural entries.  Call iconv() on the entire result string, not
4087         only on the portion needed so far.
4088         * intl/loadinfo.h (_nl_find_msg): Remove index argument, add lengthp
4089         argument.
4090         * intl/loadmsgcat.c (_nl_load_domain): Adapt to _nl_find_msg change.
4092 2001-01-04  Ulrich Drepper  <drepper@redhat.com>
4094         * intl/plural.y (yylex): Minimal improvement in number scanner.
4096 2000-07-31  Bruno Haible  <haible@clisp.cons.org>
4098         * intl/plural.y: Include config.h. Needed to define 'inline' away for
4099         C compilers that don't support it.
4100         (yylex): Don't use gcc specific case range syntax.
4101         * intl/loadmsgcat.c (INIT_GERMANIC_PLURAL): New macro, for old
4102         compilers.
4104 2000-10-12  Bruno Haible  <haible@clisp.cons.org>
4106         * intl/finddomain.c: Remove unneeded includes.
4108 2000-10-12  Bruno Haible  <haible@clisp.cons.org>
4110         * intl/localealias.c (memcpy): Return first argument, just like the
4111         real memcpy function does.
4112         * intl/bindtextdom.c (memcpy): Likewise.
4113         * intl/finddomain.c (memcpy): Likewise.
4114         * intl/l10nflist.c (memcpy): Likewise.
4115         * intl/textdomain.c (memcpy): Likewise.
4116         From Paul Eggert <eggert@twinsun.com>.
4118 2001-01-03  Jakub Jelinek  <jakub@redhat.com>
4120         * resolv/resolv.h (struct __res_state): Add nsinit field.
4121         * resolv/res_send.c (res_nsend): Use it instead of nscount.
4122         * resolv/res_init.c (__res_vinit): Initialize it.
4123         (res_nclose): Clear it instead of nscount.
4125 2001-01-04  Ulrich Drepper  <drepper@redhat.com>
4127         * malloc/mtrace.pl: Fix matching of addresses.
4128         Patch by Aharon Robbins <arnold@skeeve.com>.
4130         * Versions.def (ld): Add GLIBC_2.2.
4132         * catgets/gencat.c: Copyright 2001.
4133         * csu/version.c: Likewise.
4134         * debug/catchsegv.sh: Likewise.
4135         * debug/xtrace.sh: Likewise.
4136         * elf/ldconfig.c: Likewise.
4137         * elf/sprof.c: Likewise.
4138         * iconv/iconv_prog.c: Likewise.
4139         * locale/locale.c: Likewise.
4140         * locale/localedef.c: Likewise.
4141         * malloc/memusage.sh: Likewise.
4142         * malloc/mtrace.pl: Likewise.
4143         * nscd/nscd.c: Likewise.
4144         * posix/getconf.c: Likewise.
4146 2001-01-04  Mark Kettenis  <kettenis@gnu.org>
4148         * include/stdio.h: Only provide __getwc_unlocked prototype if
4149         USE_IN_LIBIO is defined.
4151 2001-01-04  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
4153         * sysdeps/unix/sysv/linux/sh/socket.S (__socket): Fix error code
4154         handling.
4156 2001-01-03  Andreas Schwab  <schwab@suse.de>
4158         * sysdeps/generic/strtoll.c: Remove unused __strtoq_internal alias.
4159         * sysdeps/generic/strtoull.c: Remove unused __strtouq_internal alias.
4161         * sysdeps/wordsize-64/strtol.c: Add strtoq alias and fix strtoll alias.
4162         * sysdeps/wordsize-64/strtoul.c: Add strtouq alias and fix
4163         strtoull alias.
4164         * sysdeps/wordsize-64/wcstol.c: Add wcstoq alias and fix wcstoll alias.
4165         * sysdeps/wordsize-64/wcstoul.c: Add wcstouq alias and fix
4166         wcstoull alias.
4168         * sysdeps/generic/strtoul.c: Make sure we find strtol.c in this
4169         directory.
4170         * sysdeps/generic/strtol_l.c: Likewise.
4171         * sysdeps/generic/strtoul_l.c: Likewise.
4172         * sysdeps/generic/wcstoul.c: Likewise, for wcstol.c.
4174         * sysdeps/wordsize-64/strtol_l.c: Fix alias.
4175         * sysdeps/wordsize-64/strtoul_l.c: Likewise.
4176         * sysdeps/wordsize-64/wcstol_l.c: Fix alias.
4177         * sysdeps/wordsize-64/wcstoul_l.c: Likewise.
4179 2001-01-04  Andreas Jaeger  <aj@suse.de>
4181         * nss/nsswitch.c: Include files for missing prototypes, remove
4182         buggy declaration of prototypes.
4184 2001-01-03  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
4186         * resolv/Versions: Fix bracing.
4187         * sysdeps/powerpc/soft-fp/Versions: Likewise.
4188         * sysdeps/sparc/sparc64/soft-fp/Versions: Likewise.
4190 2001-01-02  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
4192         * sysdeps/powerpc/dl-machine.c (__process_machine_rela): Fix typo.
4194 2001-01-02  Ulrich Drepper  <drepper@redhat.com>
4196         * manual/Makefile (TEXI2PDF): Change to texi2dvi --pdf.
4197         Suggested by Minko Markov <mmarkov@home.com>.
4199 2001-01-02  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
4201         * sysdeps/powerpc/elf/start.S (__data_start): Make it global.
4202         * sysdeps/powerpc/dl-machine.c (dl_reloc_overflow): Print the name of
4203         the failing symbol.
4204         (__process_machine_rela): Pass symbol to dl_reloc_overflow().
4206 2001-01-02  Ben Collins  <bcollins@debian.org>
4208         * time/tzset.c (tzset_internal): Make sure we fall back to UTC
4209         if TZ is not set and TZDEFAULT is not present.
4211 2001-01-01  Ben Collins  <bcollins@debian.org>
4213         * string/strings.h: Make sure we declare our functions even if
4214         string.h is already included, based on whether or not __USE_BSD is
4215         defined.
4217 2001-01-02  Ulrich Drepper  <drepper@redhat.com>
4219         * dlfcn/dlerror.c (dlerror): Handle call of dlerror() before any
4220         other dlopen() and dlsym().
4221         Based on a patch by Ben Collins <bcollins@debian.org>.
4223 2001-01-02  Andreas Jaeger  <aj@suse.de>
4225         * dlfcn/errmsg1.c (main): Call dlerror initially.
4226         Reported by Ben Collins <bcollins@debian.org>.
4228 2001-01-02  Ulrich Drepper  <drepper@redhat.com>
4230         * intl/dcigettext.c (guess_category_value): Rewrite so that LANGUAGE
4231         value is ignored if the selected locale is the C locale.
4232         * intl/tst-gettext.c: Set locale for above change.
4233         * intl/tst-translit.c: Likewise.
4235 2001-01-02  Andreas Jaeger  <aj@suse.de>
4237         * libio/wgenops.c (_IO_wdoallocbuf): Use correct wide access macro.
4238         (_IO_switch_to_wget_mode): Likewise.
4239         (_IO_sputbackwc): Likewise.
4240         (_IO_sungetwc): Use wint_t for result.
4242         * stdio-common/vfscanf.c (__vfscanf): Use WINT_T for done.
4244         * sysdeps/generic/strtol.c (strtol): Make cnt size_t for correct
4245         signedness.
4247         * sysdeps/generic/printf_fphex.c (putc): Cast _IO_putwc_unlocked
4248         to (int) to avoid warnings.
4249         * stdio-common/printf_fp.c (putc): Likewise.
4250         * stdio-common/printf_size.c (putc): Likewise.
4252         * sysdeps/generic/dl-sysdep.c (_dl_important_hwcaps): Make
4253         constant unsigned.
4255 2001-01-01  Andreas Jaeger  <aj@suse.de>
4257         * inet/rcmd.c (rcmd_af): Use socklen_t for len.
4259 2000-12-31  Andreas Jaeger  <aj@suse.de>
4261         * include/libc-internal.h: Add prototype for __libc_freeres.
4263         * sysdeps/unix/sysv/linux/init-first.c: Include <libc-internals.h>
4264         for prototypes, remove redundant prototypes.
4265         * gmon/gmon.c: Likewise.
4266         * sysdeps/unix/i386/i586/clock_getres.c: Likewise.
4267         * sysdeps/unix/i386/i586/clock_gettime.c: Likewise.
4268         * malloc/mtrace.c: Likewise.
4270         * sysdeps/generic/enbl-secure.c: Include <libc-internals.h> for
4271         prototypes.
4272         * elf/soinit.c: Likewise.
4273         * sysdeps/generic/prof-freq.c: Likewise.
4274         * sysdeps/mach/hurd/profil.c: Likewise.
4275         * debug/noophooks.c: Likewise.
4276         * debug/pcprofile.c: Likewise.
4277         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Likewise.
4278         * sysdeps/generic/get_clockfreq.c: Likewise.
4279         * malloc/set-freeres.c: Likewise.
4281         * locale/localeinfo.h: Add internal prototypes.
4283         * elf/rtld.c (dl_main): Fix prototype.
4285         * iconvdata/tst-table-to.c (main): Use return instead of exit to
4286         avoid warning.
4288         * nis/rpcsvc/yp_prot.h: Remove __P.
4289         * nis/rpcsvc/ypupd.h: Likewise.
4290         * nis/rpcsvc/yp.h: Likewise.
4292         * sunrpc/rpc_main.c: Add noreturn attributes.
4293         * sunrpc/rpc_scan.h: Likewise.
4295         * sunrpc/rpc_hout.c (storexdrfuncdecl): Make static.
4297         * sunrpc/rpcinfo.c: Add noreturn attribute to brdcst.
4299         * sunrpc/proto.h: Add noreturn attributes to error and crash.
4301         * posix/bsd-getpgrp.c: Add prototype to avoid warning.
4303         * sunrpc/svc_unix.c: Include <rpc/svc.h> for prototypes.
4305         * sunrpc/create_xid.c: Include <rpc/svc.h> for prototypes.
4307         * include/rpc/rpc_msg.h: Add prototypes for some functions.
4308         * include/rpc/auth.h: Likewise.
4309         * include/rpc/auth_des.h: Likewise.
4310         * include/rpc/clnt.h: Likewise.
4311         * include/rpc/rpc.h: Likewise.
4312         * include/rpc/svc.h: Likewise.
4313         * include/rpc/svc_auth.h: Likewise.
4315         * include/rpc/des_crypt.h: New file.
4317         * malloc/memusagestat.c (main): Use return instead of exit to
4318         avoid warning.
4319         * io/pwd.c (main): Likewise.
4320         * iconvdata/tst-table-from.c (main): Likewise.
4321         * ctype/test_ctype.c (main): Likewise.
4322         * setjmp/tst-setjmp.c (main): Likewise.
4323         * signal/tst-signal.c (main): Likewise.
4324         * stdlib/tst-strtol.c (main): Likewise.
4325         * stdlib/tst-strtod.c (main): Likewise.
4326         * stdlib/tst-strtoll.c (main): Likewise.
4327         * stdlib/tst-xpg-basename.c (main): Likewise.
4328         * dirent/tst-seekdir.c (main): Likewise.
4329         * grp/testgrp.c (main): Likewise.
4330         * inet/test_ifindex.c (main): Likewise.
4331         * io/test-utime.c (main): Likewise.
4332         * posix/test-vfork.c (main): Likewise.
4333         * posix/testfnm.c (main): Likewise.
4334         * stdio-common/temptest.c (main): Likewise.
4335         * stdio-common/test_rdwr.c (main): Likewise.
4336         * stdio-common/tst-fileno.c (main): Likewise.
4337         * stdio-common/tst-sscanf.c (main): Likewise.
4338         * stdio-common/tstscanf.c (main): Likewise.
4339         * string/bug-strncat1.c (main): Likewise.
4340         * string/bug-strpbrk1.c (main): Likewise.
4341         * string/bug-strspn1.c (main): Likewise.
4342         * string/test-ffs.c (main): Likewise.
4343         * string/tst-inlcall.c (main): Likewise.
4344         * string/tst-svc.c (main): Likewise.
4345         * timezone/test-tz.c (main): Likewise.
4346         * wctype/test_wcfuncs.c (main): Likewise.
4347         * wctype/test_wctype.c (main): Likewise.
4349         * stdlib/tst-random.c: Add attribute noreturn to fail.
4351 2000-12-28  Wolfram Gloger  <wg@malloc.de>
4353         * malloc/malloc.c (MALLOC_COPY): Handle case if source and
4354         destination overlap.  Assume dest is always below source if
4355         overlapping.
4357 2000-12-30  Ulrich Drepper  <drepper@redhat.com>
4359         * elf/dl-close.c (_dl_close): We can ignore the NODELETE flag if the
4360         object was not yet initialized.
4362 2000-12-28  H.J. Lu  <hjl@gnu.org>
4364         * elf/dl-deps.c (_dl_map_object_deps): Make sure the DSO state
4365         is always consistent even if its dependency is failed.
4367         * elf/dl-open.c (_dl_open): Increment the open count before
4368         calling _dl_close () in case of failure.
4370         * elf/neededtest4.c: New file.
4371         * elf/neededobj5.c: New file.
4372         * elf/neededobj6.c: New file.
4374         * elf/Makefile (distribute): Add neededobj5.c and neededobj6.c.
4375         (tests): Add neededtest4.
4376         (modules-names): Add neededobj5 and neededobj6.
4377         ($(objpfx)neededobj6.so): New target.
4378         ($(objpfx)neededtest4): New target.
4379         ($(objpfx)neededtest4.out): New target.
4381 2000-12-28  Joseph S. Myers  <jsm28@cam.ac.uk>
4383         * misc/sys/cdefs.h (__attribute_format_strfmon__): Define.
4384         * stdlib/monetary.h: Add strfmon format attributes.
4386 2000-12-28  Roland McGrath  <roland@frob.com>
4388         * sysdeps/mach/hurd/ioctl.c (do_ioctl): Avoid double-increment after
4389         __mempcpy does it for us.
4391 2000-12-28  Andreas Jaeger  <aj@suse.de>
4393         * sysdeps/generic/dl-environ.c: Add prototype for unsetenv.
4395         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Add prototype for
4396         __new_setrlimit.
4398         * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Add prototype for
4399         __old_getrlimit64.
4401         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Add prototype for
4402         __new_getrlimit.
4404         * sysdeps/unix/sysv/linux/i386/chown.c: Add prototypes for
4405         __chown_is_lchown and __real_chown.
4407         * sysdeps/generic/ldsodefs.h: Add noreturn attribute to
4408         _dl_reloc_bad_type.
4410         * sunrpc/rpc_hout.c (print_funcdef): Add break statement to shut
4411         up GCC's warning about "deprecated use of label at end of compound
4412         statement."
4413         * sunrpc/rpc_cout.c (emit_inline): Likewise.
4415         * gmon/bb_exit_func.c: Include <sys/gmon.h> for internal
4416         prototypes.
4417         Remove struct bb and __bb_head since those are declared by
4418         sys/gmon.h.
4420 2000-12-22  Ben Collins  <bcollins@debian.org>
4422         * manual/charset.texi: Fix typo in description of WCHAR_MAX.
4424         * manual/argp.texi: Document argp_domain as part of struct argp.
4426 2000-12-28  Andreas Jaeger  <aj@suse.de>
4428         * catgets/Makefile (generated): Add sample.SJIS.cat.
4430         * sunrpc/rpc_dtable.c: Include rpc/clnt.h for prototypes.
4432         * elf/dl-minimal.c: Add prototypes.
4434         * include/locale.h: Add internal prototypes.
4435         * include/sys/gmon.h: Likewise.
4437         * dlfcn/errmsg1mod.c: Add prototype for foo to shut up GCC.
4439 2000-12-27  Ben Collins  <bcollins@debian.org>
4441         * elf/dl-open.c (_dl_open): Correctly set the new objname pointer
4442         when reallocating the error strings.
4443         Reported by Kalle Olavi Niemitalo <kon@iki.fi>
4445 2000-12-27  Ulrich Drepper  <drepper@redhat.com>
4447         * dlfcn/Makefile (tests): Add errmsg1.
4448         (modules-names): Add errmsg1mod.
4449         Add rules to run errmsg1.
4450         * dlfcn/errmsg1.c: New file.
4451         * dlfcn/errmsg1mod.c: New file.
4453         * dlfcn/dlerror.c (dlerror): Always create output string which
4454         includes object file name.
4456         * sysdeps/alpha/alphaev6/memcpy.S: Don't go through unrolled loop
4457         if we would go through it only once.
4458         Patch by Rick Gorton <rick.gorton@api-networks.com>.
4460         * sysdeps/alpha/alphaev67/strncat.S: Fix handling of numeric parameter.
4461         Patch by Richard Henderson <rth@redhat.com>.
4463 2000-12-27  Jakub Jelinek  <jakub@redhat.com>
4465         * malloc/malloc.c (memmove): Add prototypes.
4466         (MALLOC_MEMMOVE): Define.
4467         (chunk_realloc): Use it instead of MALLOC_COPY if source and
4468         destination might overlap.
4470 2000-12-27  Andreas Jaeger  <aj@suse.de>
4472         * stdio-common/printf_fp.c (__printf_fp): Add prototype for nested
4473         function.
4474         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
4475         * locale/programs/locale.c (show_locale_vars): Likewise.
4476         (show_info): Likewise.
4477         * locale/programs/ld-collate.c (collate_output): Likewise.
4478         * locale/programs/ld-ctype.c (set_class_defaults): Likewise.
4479         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
4480         * stdlib/rpmatch.c (rpmatch): Likewise.
4482         * setjmp/tst-setjmp.c: Make local functions static.
4483         * setjmp/jmpbug.c: Likewise.
4484         * signal/tst-signal.c: Likewise.
4485         * stdio-common/tfformat.c: Likewise.
4486         * string/tst-svc.c: Likewise.
4487         * time/clocktest.c: Likewise.
4488         * time/tst-getdate.c: Likewise.
4489         * dirent/list.c: Likewise.
4490         * dirent/opendir-tst1.c: Likewise.
4491         * posix/runtests.c: Likewise.
4492         * posix/tst-getaddrinfo.c: Likewise.
4493         * posix/tst-chmod.c: Likewise.
4494         * posix/wordexp-test.c: Likewise.
4495         * misc/tst-efgcvt.c: Likewise.
4496         * timezone/tst-timezone.c: Likewise.
4497         * rt/tst-clock.c: Likewise.
4498         * rt/tst-shm.c: Likewise.
4499         * rt/tst-aio2.c: Likewise.
4500         * rt/tst-aio3.c: Likewise.
4501         * rt/tst-aio4.c: Likewise.
4502         * rt/tst-aio5.c: Likewise.
4504         * dlfcn/failtest.c: Add prototype for foo.
4506         * dlfcn/glrefmain.c: Add prototype for do_test.
4508         * dlfcn/tst-dladdr.c: Add prototype for do_test.
4510         * string/test-ffs.c (main): Add prototype for nested function.
4512         * sunrpc/des_soft.c: Include rpc/des_crypt.h for prototype.
4514         * nss/XXX-lookup.c: Add prototype to shut up GCC.
4516         * include/netinet/ether.h (DECLARE_NSS_PROTOTYPES): Fix
4517         setetherent prototype.
4518         Add internal interfaces.
4520         * nis/nss_nis/nis-ethers.c (_nss_nis_setetherent): Likewise.
4521         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent): Likewise.
4523         * resolv/res_data.c: Don't add (conflicting) prototypes for _LIBC.
4525         * nis/nis_intern.h: Add prototype for __pmap_getnisport.
4527         * nss/nss_files/files-ethers.c: Include netinet/ether.h to get
4528         prototypes, remove struct etherent since it's declared in ether.h.
4529         Fix ntohost declaration.
4531         * elf/dl-profile.c (_dl_mcount): Add empty statement to shut up GCC.
4533         * include/getopt.h: Add internal interfaces.
4534         * include/termios.h: Likewise.
4535         * include/resolv.h: Likewise.
4536         * include/netdb.h: Likewise.
4537         * include/grp.h: Likewise.
4538         * include/pwd.h: Likewise.
4539         * include/shadow.h: Likewise.
4540         * include/rpc/netdb.h: Likewise.
4541         * include/setjmp.h: Likewise.
4543         * include/stdio.h: Add prototypes for compatibility functions.
4544         * include/grp.h: Likewise.
4545         * include/pwd.h: Likewise.
4546         * include/shadow.h: Likewise.
4548         * include/fenv.h: Define internal interfaces.
4550 2000-12-27  Ulrich Drepper  <drepper@redhat.com>
4552         * sysdeps/generic/bits/byteswap.h (__bswap_64): Handle constant
4553         argument case separately.
4554         * sysdeps/i386/bits/byteswap.h (__bswap_64): Likewise.
4556 2000-12-27  Andreas Jaeger  <aj@suse.de>
4558         * include/sys/wait.h: Add some prototypes.
4559         * Rules (dummy.c): Create also prototype to shut up GCC.
4561 2000-12-27  Andreas Jaeger  <aj@suse.de>
4563         * sysdeps/mach/hurd/if_index.c (__protocol_available): Uncomment,
4564         it's not needed at the moment.
4565         * sysdeps/generic/if_index.c (__protocol_available): Likewise.
4566         * sysdeps/unix/sysv/linux/if_index.c (__protocol_available): Likewise.
4568 2000-12-26  Andreas Jaeger  <aj@suse.de>
4570         * libio/getc_u.c: Include stdio.h via system path to get internal
4571         prototypes.
4572         * libio/getwc_u.c: Likewise.
4574         * stdlib/strfmon.c: Fix prototype of __printf_fp.
4576         * stdio-common/vfprintf.c (process_arg): Move __printf_fphex and
4577         __printf_fp prototypes to ...
4578         * include/printf.h: ...here.
4580         * include/stdio.h: Add some internal prototypes to shut up GCC.
4581         * include/stdlib.h: Likewise.
4583         * sysdeps/posix/sigpause.c (__sigpause): Use ISO C prototype
4584         declaration.
4586         * include/signal.h: Add prototypes for internal sigpause
4587         interfaces.
4589 2000-12-26  Ulrich Drepper  <drepper@redhat.com>
4591         * sysdeps/generic/bits/byteswap.h (__bswap_64): Make it usable for
4592         64bit platforms.  Reported by Dave Gilbert <gilbertd@treblig.org>.
4594         * string/Makefile (tests): Add tst-bswap.
4595         * string/tst-bswap.c: New file.
4597 2000-12-11  Bruno Haible  <haible@clisp.cons.org>
4599         * Makefile ($(inst_includedir)/gnu/stubs.h): Sort in the C locale.
4601 2000-12-26  Ulrich Drepper  <drepper@redhat.com>
4603         * sunrpc/Makefile (rpcgen-cmd): Use single quotes in sed call.
4604         Patch by Ed Connell <Ed.Connell@sas.com>.
4606 2000-12-24  Ulrich Drepper  <drepper@redhat.com>
4608         * locale/iso-639.def: Correct one entry.  Add two missing entries.
4610         * locale/iso-4217.def: Change entry for Eritrea.
4611         Reported by Daniel Yacob <yacob@geez.org>.
4613 2000-12-23  Ben Collins  <bcollins@debian.org>
4615         * manual/charset.texi (Extended Char Intro): Fix typo in ISO 6937
4616         description.
4618         * manual/stdio.texi (Dynamic Output): Document the return value of
4619         asprintf.  Also make the asprintf/snprintf examples a little
4620         better (check for some error returns).
4622 2000-12-22  Andreas Jaeger  <aj@suse.de>
4624         * include/stdio.h: Add __ftrylockfile prototype.
4626 2000-12-21  H.J. Lu  <hjl@gnu.org>
4628         * sysdeps/ia64/fpu/math_ldbl.h (ieee_long_double_shape_type):
4629         Make sign_exponent element signed.
4631         * sysdeps/ieee754/ldbl-96/math_ldbl.h (ieee_long_double_shape_type):
4632         Fix a typo.
4634         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Remove dead branch.
4636 2000-12-21  Andreas Jaeger  <aj@suse.de>
4638         * nis/nss_nisplus/nisplus-ethers.c (struct etherent): Removed.
4639         * inet/ether_hton.c: Likewise
4640         * inet/ether_ntoh.c: Likewise.
4642         * nis/nss_nis/nis-ethers.c (_nss_nis_getntohost_r): Fix
4643         declaration to match prototype.
4645         * include/netinet/ether.h (struct etherent): Declare here so that
4646         all implementations use the same struct.
4648         * nis/nss_nis/nis-ethers.c: Include netinet/ether.h to get
4649         prototypes.
4650         (struct ether): Removed.
4651         Use struct etherent instead of ether everywhere.
4653         * include/rpc/auth.h (DECLARE_NSS_PROTOTYPES): New.
4655         * include/rpc/auth_des.h (DECLARE_NSS_PROTOTYPES): New.
4657         * sunrpc/publickey.c: Include auth_des.h for prototypes.
4659 2000-12-20  Ulrich Drepper  <drepper@redhat.com>
4661         * math/test-misc.c: Add more tests for nextafter functions.
4663         * sysdeps/i386/fpu/s_nextafterl.c: Handle change from denormal to
4664         normal correctly.  Correct test for sign.
4665         Based on a patch by HJ Lu.
4667 2000-12-19  Ulrich Drepper  <drepper@redhat.com>
4669         * Makeconfig (preprocess-version): Add -traditional to gcc call.
4670         Cleanup sed calls.
4672 2000-12-19  Andreas Jaeger  <aj@suse.de>
4674         * include/netinet/ether.h (DECLARE_NSS_PROTOTYPES): New.
4676         * nis/nis_intern.h: Add prototype for __do_niscall3.
4678         * nis/nss_nis/nis-rpc.c (_nss_nis_setrpcent): Fix declaration to
4679         match prototype.
4681         * include/netdb.h (DECLARE_NSS_PROTOTYPES): Reformat.
4683         * include/rpc/netdb.h (DECLARE_NSS_PROTOTYPES): New.
4685         * include/aliases.h (DECLARE_NSS_PROTOTYPES): New.
4687 2000-12-18  Ulrich Drepper  <drepper@redhat.com>
4689         * math/test-misc.c: Add more tests for nextafter.
4690         * sysdeps/i386/fpu/s_nextafterl.c: Handle decrement for x<0 correctly.
4691         * sysdeps/ieee754/ldbl-96/math_ldbl.h
4692         (ieee_long_double_shape_type): Make sign_exponent element signed.
4694         * manual/message.texi: Add Estonian to plural overview list.
4695         Correct rule for Slavic languages.
4696         Patch by Stanislav Brabec <utx@penguin.cz>.
4698         * nis/nss_nis/nis-netgrp.c: Remove unnecessary initializations.
4700 2000-12-18  Andreas Jaeger  <aj@suse.de>
4702         * test-skeleton.c: Use temp_name_list instead of name_list to
4703         avoid collision with name_list from inet/netgroup.h.
4705         * nss/nss_files/files-network.c (NEED_H_ERRNO): Define.
4707         * include/grp.h (DECLARE_NSS_PROTOTYPES): New.
4708         * include/pwd.h (DECLARE_NSS_PROTOTYPES): New.
4709         * include/netdb.h (DECLARE_NSS_PROTOTYPES): New.
4710         * include/shadow.h (DECLARE_NSS_PROTOTYPES): New.
4712         * hesiod/nss_hesiod/hesiod-proto.c (_nss_hesiod_setprotoent): Fix
4713         declaration to match prototype.
4714         * hesiod/nss_hesiod/hesiod-pwd.c (_nss_hesiod_setpwent): Likewise.
4715         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_setgrent): Likewise.
4716         * hesiod/nss_hesiod/hesiod-service.c (_nss_hesiod_setservent):
4717         Likewise.
4718         * nis/nss_nis/nis-grp.c (_nss_nis_setgrent): Likewise.
4719         * nis/nss_nis/nis-pwd.c (_nss_nis_setpwent): Likewise.
4720         * nis/nss_nis/nis-proto.c (_nss_nis_setprotoent): Likewise.
4721         * nis/nss_nis/nis-service.c (_nss_nis_setservent): Likewise.
4722         (_nss_nis_getservbyport_r): Likewise.
4723         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent): Likewise.
4724         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent): Likewise.
4725         * nis/nss_nis/nis-network.c (_nss_nis_getnetent_r): Likewise.
4726         (_nss_nis_setnetent): Likewise
4727         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
4728         (_nss_nis_endnetgrent): Likewise.
4729         * nis/nss_nisplus/nisplus-netgrp.c (_nss_nisplus_endnetgrent):
4730         Likewise.
4731         (_nss_nisplus_setnetgrent): Likewise.
4732         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Likewise.
4733         * nis/nss_nisplus/nisplus-pwd.c (_nss_nisplus_setpwent): Likewise.
4734         * nis/nss_nisplus/nisplus-grp.c (_nss_nisplus_setgrent): Likewise.
4735         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_setnetent):
4736         Likewise.
4737         * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_sethostent):
4738         Likewise.
4739         * nis/nss_nisplus/nisplus-service.c (_nss_nisplus_setservent):
4740         Likewise.
4741         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_setprotoent):
4742         Likewise.
4743         * nis/nss_compat/compat-spwd.c (_nss_compat_setspent): Likewise.
4744         * nis/nss_compat/compat-pwd.c (_nss_compat_setpwent): Likewise.
4745         * nis/nss_compat/compat-grp.c (_nss_compat_setgrent): Likewise.
4746         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Likewise.
4747         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Likewise.
4748         (_nss_dns_getnetbyaddr_r): Likewise.
4750 2000-12-17  Andreas Jaeger  <aj@suse.de>
4752         * sysdeps/generic/k_sinl.c (__kernel_sinl): Fix functions
4753         parameter.
4755         * sysdeps/unix/sysv/linux/shm_open.c (freeit): Make static and add
4756         unused attribute to shut up gcc warnings.
4758         * sysdeps/generic/k_sinl.c: Include math_private for prototypes.
4759         * sysdeps/generic/k_tanl.c: Likewise.
4760         * sysdeps/generic/k_cosl.c: Likewise.
4761         * sysdeps/generic/e_j0l.c: Likewise.
4762         * sysdeps/generic/e_j1l.c: Likewise.
4763         * sysdeps/generic/e_jnl.c: Likewise.
4764         * sysdeps/generic/e_lgammal_r.c: Likewise.
4766         * elf/vismain.c: Move prototypes for functions in vismod*.c to
4767         vismod.h.
4768         * elf/vismod.h: New file.
4769         * elf/Makefile (distribute): Add vismod.h.
4770         * elf/vismod1.c: Include vismod.h.
4771         * elf/vismod2.c: Likewise.
4772         * elf/vismod3.c: Likewise.
4774         * elf/constload3.c: Add prototype declarations to shut up gcc.
4775         * elf/failobj.c: Likewise.
4776         * elf/nodelmod3.c: Likewise.
4777         * elf/filtmod1.c: Likewise.
4778         * elf/filtmod2.c: Likewise.
4779         * elf/reldepmod1.c: Likewise.
4780         * elf/reldepmod2.c: Likewise.
4781         * elf/reldepmod3.c: Likewise.
4782         * elf/reldepmod4.c: Likewise.
4783         * elf/unload2dep.c: Likewise.
4784         * elf/unload2mod.c: Likewise.
4785         * elf/ltglobmod1.c: Likewise.
4786         * elf/pathoptobj.c: Likewise.
4787         * elf/neededobj1.c: Likewise.
4788         * elf/neededobj2.c: Likewise.
4789         * elf/neededobj3.c: Likewise.
4790         * elf/neededobj4.c: Likewise.
4791         * elf/nextmod1.c: Likewise.
4792         * elf/nextmod2.c: Likewise.
4794         * locale/programs/ld-collate.c (collate_finish): Don't use labels
4795         at end of compound statement.
4796         * locale/programs/locale.c (show_info): Likewise.
4797         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Likewise.
4799 2000-12-16  Jakub Jelinek  <jakub@redhat.com>
4801         * catgets/gencat.c (read_input_file): Avoid calling obstack_free
4802         with a pointer not returned by obstack_ functions.
4804 2000-12-16  Ulrich Drepper  <drepper@redhat.com>
4806         * sysdeps/unix/sysv/aix/bits/stat.h (struct stat): Align with AIX
4807         version.
4808         (struct stat64): Likewise.
4809         Reported by Michael Keezer <mkeezer@redhat.com>.
4811         * timezone/asia: Update from tzdata2000h.
4812         * timezone/australasia: Likewise.
4813         * timezone/backward: Likewise.
4814         * timezone/europe: Likewise.
4815         * timezone/northamerica: Likewise.
4816         * timezone/southamerica: Likewise.
4817         * timezone/zone.tab: Likewise.
4819 2000-12-14  Jakub Jelinek  <jakub@redhat.com>
4821         * io/ftw.c (ftw_dir): If process_entry returned non-zero result
4822         and dir.stream is NULL, only free dir.content.
4823         * io/ftwtest.c (cb, main): Add --early-exit option to test it.
4824         * io/ftwtest-sh: Test with --early-exit.
4826 2000-12-13  Jakub Jelinek  <jakub@redhat.com>
4828         * misc/efgcvt.c (FCVT_MAXDIG): Define.
4829         (FCVT_BUFPTR): New variable.
4830         (fcvt): If fcvt_r returns -1 on the static short buffer,
4831         try to malloc a sufficiently large one and retry.
4832         (free_mem): New function.
4833         * misc/qefgcvt.c (FCVT_MAXDIG): Define.
4834         * misc/tst-efgcvt.c (fcvt_tests): Add new test.
4836 2000-12-15  Ulrich Drepper  <drepper@redhat.com>
4838         * misc/dirname.c (dirname): Fix search for second to last slash.
4840 2000-12-13  Andreas Jaeger  <aj@suse.de>
4842         * misc/tst-dirname.c (main): Fix typo in test to really use
4843         the examples from Unix98.
4844         Reported by Michael Kerrisk <mtk16@ext.canterbury.ac.nz>.
4846 2000-12-09  H.J. Lu  <hjl@gnu.org>
4848         * sysdeps/ia64/fpu/s_fabs.S: New file.
4849         * sysdeps/ia64/fpu/s_fabsf.S: New file.
4850         * sysdeps/ia64/fpu/s_fabsl.S: New file.
4852 2000-12-15  Andreas Jaeger  <aj@suse.de>
4854         * stdio-common/scanf9.c (main): Reformat and change to avoid
4855         warnings.
4857         * stdio-common/tstdiomisc.c: Make local functions static.
4858         * stdio-common/tst-printf.c: Likewise.
4860         * elf/constload2.c: Add prototype declarations to shut up gcc.
4861         * elf/dep1.c: Likewise.
4862         * elf/dep2.c: Likewise.
4863         * elf/dep3.c: Likewise.
4864         * elf/dep4.c: Likewise.
4865         * elf/ltglobmod2.c: Likewise.
4867         * libio/fmemopen.c: Make local functions static.
4869         * elf/Makefile (distribute): Added testobj.h.
4871         * elf/testobj.h: New file.
4873         * elf/testobj1.c: Include testobj.h and move prototype
4874         declarations to testobj.h.
4875         * elf/testobj2.c: Likewise.
4876         * elf/testobj3.c: Likewise.
4877         * elf/testobj4.c: Likewise.
4878         * elf/testobj5.c: Likewise.
4879         * elf/testobj6.c: Likewise.
4880         * elf/testobj1_1.c: Likewise.
4881         * elf/preloadtest.c: Likewise.
4883 2000-12-15  Ben Collins  <bcollins@debian.org>
4885         * misc/sys/cdefs.h: Fix thinko in checks for flexarr macros.
4886         Patch by Akim Demaille <akim@epita.fr> in Debian bug report.
4888 2000-12-14  H.J. Lu  <hjl@gnu.org>
4890         * sysdeps/ieee754/flt-32/s_sincosf.c (__sincosf): The exponent
4891         field in a float is 8 bits, not 11 bits.
4893 2000-12-13  Jakub Jelinek  <jakub@redhat.com>
4895         * math/test-misc.c (main): Adjust m for IEEE quad long double.
4897 2000-12-13  Andreas Jaeger  <aj@suse.de>
4899         * manual/message.texi (Using gettextized software): Fix typo.
4901         * manual/charset.texi (Converting a Character): Fix mbstouwcs
4902         program to compile.
4903         Patch by Martin Buchholz <martin@xemacs.org>.
4905         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Fix typo.
4906         Reported by Michael Kerrisk <mtk16@ext.canterbury.ac.nz>.
4908 2000-12-11  Andreas Jaeger  <aj@suse.de>
4910         * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Declare
4911         kernel_sigset_t and use it.
4912         Patch by Hiroyuki Machida <machida@sm.sony.co.jp>.
4914 2000-12-10  Richard Henderson  <rth@redhat.com>
4916         * sysdeps/alpha/alphaev67/fpu/Implies: New file.
4917         * sysdeps/alpha/alphaev6/fpu/e_sqrtf.S: New file.
4918         * sysdeps/alpha/alphaev6/fpu/e_sqrt.S: New file.
4920 2000-12-10  Jakub Jelinek  <jakub@redhat.com>
4922         * sysdeps/alpha/htonl.S: Fix a typo.
4924 2000-12-10  Jakub Jelinek  <jakub@redhat.com>
4926         * sysdeps/alpha/alphaev6/stxcpy.S: Exchange t8 with t10.
4928 2000-12-10  Andreas Jaeger  <aj@suse.de>
4930         * locale/programs/ld-ctype.c (charclass_symbolic_ellipsis): Fixed
4931         cast as suggested by Jakub Jelinek <jakub@redhat.com> and Ulrich
4932         Drepper <drepper@redhat.com>.
4934 2000-12-09  Andreas Jaeger  <aj@suse.de>
4936         * sysdeps/unix/sysv/linux/mips/sigaction.c: New file.
4938         * sysdeps/unix/sysv/linux/mips/sys/acct.h: Removed, we can use the
4939         generic version.
4940         Patches by Hiroyuki Machida <machida@sm.sony.co.jp>.
4942         * locale/programs/ld-collate.c (handle_ellipsis): Fix format
4943         string.
4945         * locale/programs/ld-ctype.c (charclass_symbolic_ellipsis): Fix
4946         format string.
4948         * nscd/hstcache.c (addhstbyname): Add cast to avoid warning.
4949         * nscd/connections.c (handle_request): Likewise.
4950         * nscd/pwdcache.c (addpwbyname): Likewise.
4951         * nscd/grpcache.c (addgrbyname): Likewise.
4953         * nscd/nscd_conf.c (nscd_parse_file): Remove extra argument.
4955 2000-12-09  Ulrich Drepper  <drepper@redhat.com>
4957         * string/stratcliff.c: Add tests for stpncpy, memcpy, and mempcpy.
4959         * Makeconfig (default_cflags): Make -O2 the default for stable
4960         releases.
4962 2000-12-08  H.J. Lu  <hjl@gnu.org>
4964         * sysdeps/ia64/fpu/s_isinfl.S: Renamed to ...
4965         * sysdeps/ia64/fpu/s_isinf.S: This.
4966         Add a .pred.rel.mutex note to avoid false report.
4968         * sysdeps/ia64/fpu/s_isnanl.S: Renamed to ...
4969         * sysdeps/ia64/fpu/s_isnan.S: This.
4971         * sysdeps/ia64/fpu/s_fpclassify.S: New file.
4972         * sysdeps/ia64/fpu/s_fpclassifyf.S: New file.
4973         * sysdeps/ia64/fpu/s_fpclassifyl.S: New file.
4974         * sysdeps/ia64/fpu/s_isinff.S: New file.
4975         * sysdeps/ia64/fpu/s_isinfl.S: New file.
4976         * sysdeps/ia64/fpu/s_isnanf.S: New file.
4977         * sysdeps/ia64/fpu/s_isnanl.S: New file.
4978         * sysdeps/ia64/fpu/s_finite.S: New file.
4979         * sysdeps/ia64/fpu/s_finitef.S: New file.
4980         * sysdeps/ia64/fpu/s_finitel.S: New file.
4981         * sysdeps/ia64/fpu/s_signbit.S: New file.
4982         * sysdeps/ia64/fpu/s_signbitf.S: New file.
4983         * sysdeps/ia64/fpu/s_signbitl.S: New file.
4984         * sysdeps/ia64/fpu/s_copysign.S: New file.
4985         * sysdeps/ia64/fpu/s_copysignf.S: New file.
4986         * sysdeps/ia64/fpu/s_copysignl.S: New file.
4988 2000-12-08  Ulrich Drepper  <drepper@redhat.com>
4990         * math/libm-test.inc (main): Fix typos in messages.
4992         * string/stratcliff.c: Add test for rawmemchr.
4994 2000-12-08  Jakub Jelinek  <jakub@redhat.com>
4996         * elf/dl-open.c (_dl_open): If objname points right after errstring,
4997         allocate it together with errstring using alloca.
4998         * elf/dl-error.c (_dl_signal_error): If malloc failed, set objname
4999         to "", because it might point to local stack.
5001 2000-12-05  H.J. Lu  <hjl@gnu.org>
5003         * nss/Makefile (routines): Add getnssent and getnssent_r.
5004         * nss/nsswitch.h (__nss_setent): New internal NSS function.
5005         (__nss_endent): Likewise.
5006         (__nss_getent_r): Likewise.
5007         (__nss_getent): Likewise.
5008         * nss/getnssent_r.c: New file.
5009         * nss/getnssent.c: New file.
5010         * nss/getXXent.c (H_ERRNO_VAR): Updated.
5011         (GETFUNC_NAME): Updated to call __nss_getent ().
5012         * nss/getXXent_r.c (H_ERRNO_VAR_P): New.
5013         (STAYOPEN_TMPVAR): Updated.
5014         (STAYOPEN_VAR): Updated.
5015         (SETFUNC_NAME): Updated to call __nss_setent ().
5016         (ENDFUNC_NAME): Updated to call __nss_endent ().
5017         (INTERNAL (REENTRANT_GETNAME)): Updated to call __nss_getent_r ().
5019 2000-12-08  Andreas Jaeger  <aj@suse.de>
5021         * nscd/dbg_log.h (dbg_log): Correct attribute.
5023 2000-12-08  Jakub Jelinek  <jakub@redhat.com>
5025         * elf/dl-load.c (fillin_rpath): Don't assume there is '\0' at
5026         cp + len.  Compute where from dirname.
5027         Reported by <jreiser@BitWagon.com>.
5029 2000-12-08  Richard Henderson  <rth@twiddle.net>
5031         * sysdeps/alpha/_mcount.S: Fix typo.
5032         * sysdeps/alpha/strncpy.S: Likewise.
5034         * sysdeps/alpha/alphaev6/Implies: New file.
5035         * sysdeps/alpha/alphaev67/Implies: New file.
5036         * sysdeps/alpha/alphaev67/ffs.S: New file.
5037         * sysdeps/alpha/alphaev67/ffsll.S: New file.
5038         * sysdeps/alpha/alphaev67/rawmemchr.S: New file.
5039         * sysdeps/alpha/alphaev67/stpcpy.S: New file.
5040         * sysdeps/alpha/alphaev67/stpncpy.S: New file.
5041         * sysdeps/alpha/rawmemchr.S: New file.
5042         * sysdeps/alpha/strcat.S: Tail call to __stxcpy.
5043         * sysdeps/alpha/strcpy.S: Likewise.
5045         From GMP 3.1.1:
5046         * sysdeps/alpha/alphaev6/addmul_1.s: New file.
5048         From rick.gorton@alpha-processor.com:
5049         * sysdeps/alpha/alphaev6/memchr.S: New file.
5050         * sysdeps/alpha/alphaev6/memcpy.S: New file.
5051         * sysdeps/alpha/alphaev6/memset.S: New file.
5052         * sysdeps/alpha/alphaev6/stxcpy.S: New file.
5053         * sysdeps/alpha/alphaev6/stxncpy.S: New file.
5054         * sysdeps/alpha/alphaev67/strcat.S: New file.
5055         * sysdeps/alpha/alphaev67/strchr.S: New file.
5056         * sysdeps/alpha/alphaev67/strlen.S: New file.
5057         * sysdeps/alpha/alphaev67/strncat.S: New file.
5058         * sysdeps/alpha/htonl.S: Use a shorter sequence.
5060 2000-12-08  Jakub Jelinek  <jakub@redhat.com>
5062         * inet/getnameinfo.c (getnameinfo): Fix NI_NOFQDN support.
5063         Reported by <pspencer@fields.utoronto.ca>.
5065 2000-12-07  Jes Sorensen  <jes@linuxcare.com>
5067         * sysdeps/ia64/elf/start.S (__data_start): Add __data_start variable.
5068         Pointed out by Hans Boehm.
5070 2000-12-07  H.J. Lu  <hjl@gnu.org>
5072         * elf/dl-version.c (match_symbol): Check map->l_name[0] for printing.
5074 2000-12-07  Andreas Jaeger  <aj@suse.de>
5076         * misc/error.c: Add format attributes for __error and __error_at_line.
5078         * nscd/dbg_log.h: Add format attribute.
5080 2000-12-08  Ulrich Drepper  <drepper@redhat.com>
5082         * misc/sys/syslog.h: Add format attributes to syslog and vsyslog.
5083         Patch by Joseph S. Myers <jsm28@cam.ac.uk>.
5085 2000-12-07  Dan Pop  <Dan.Pop@cern.ch>
5087         * sysdeps/ia64/strcpy.S: Fix a bug in a recovery code sequence.
5089 2000-12-06  Ulrich Drepper  <drepper@redhat.com>
5091         * sysdeps/unix/sysv/aix/Makefile [$(subdir)==misc]
5092         (sysdep_routines): Add uitrunc.
5093         * sysdeps/unix/sysv/aix/uitrunc.c: New file.
5094         Patches by Michael Keezer <mkeezer@redhat.com>.
5096 2000-12-06  Roland McGrath  <roland@frob.com>
5098         * sysdeps/mach/hurd/ioctl.c (__ioctl): Don't clobber ARG as we copy in
5099         argument data, since it will be used to copy out too (for INOUT).
5100         Reported by Marcus Brinkmann <marcus@gnu.org>.
5102         * sysdeps/mach/hurd/ioctl.c: Include <stdint.h>.
5103         (__ioctl): Use uintptr_t instead of unsigned long int.
5105 2000-12-06  Jim Wilson  <wilson@redhat.com>
5107         * stdlib/l64a.c (l64a): Truncate M to 32-bit value.
5109 2000-12-06  Ulrich Drepper  <drepper@redhat.com>
5111         * stdio-common/printf_fp.c (__printf_fp): Handle decimal point in
5112         x.5 rounding correctly.
5114 2000-12-06  Mark Kettenis  <kettenis@gnu.org>
5116         * stdio-common/perror.c (perror): Conditionalize code dealing with
5117         wide-oriented streams on USE_IN_LIBIO.
5119 2000-12-06  Mark Kettenis  <kettenis@gnu.org>
5121         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup): Mark
5122         as internal_function.
5124 2000-12-05  Ulrich Drepper  <drepper@redhat.com>
5126         * sysdeps/alpha/elf/start.S (__data_start): Define.
5128 2000-12-05  H.J. Lu  <hjl@gnu.org>
5130         * nss/getXXent_r.c (setup): Change the return type to int.
5132 2000-12-05  Ulrich Drepper  <drepper@redhat.com>
5134         * sysdeps/unix/sysv/aix/Makefile [$(subdir)==misc]
5135         (sysdep_routines): Add restf and savef.
5136         * sysdeps/unix/sysv/aix/restf.c: New file.
5137         * sysdeps/unix/sysv/aix/savef.c: New file.
5138         Patches by Michael Keezer <mkeezer@redhat.com>.
5140         * sysdeps/unix/opendir.c (__opendir): Don't use o_directory_works
5141         if O_DIRECTORY is not defined.
5142         Patch by Michael Keezer <mkeezer@redhat.com>.
5144         * include/libc-symbols.h (C_SYMBOL_DOT_NAME): Define.
5145         Patch by Michael Keezer <mkeezer@redhat.com>.
5147         * locale/programs/linereader.c (get_toplvl_escape): Recognize more
5148         than 4 bytes in escape sequence.
5149         Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
5151 2000-12-05  Andreas Jaeger  <aj@suse.de>
5153         * sysdeps/unix/sysv/linux/mips/sys/tas.h (_test_and_set): Don't
5154         set mips2.
5156         * sysdeps/unix/sysv/linux/mips/sysdep.h: New file.
5158         * sysdeps/unix/sysv/linux/mips/sys/syscall.h: Removed.
5160         * sysdeps/unix/mips/sysdep.h: Use SYS_ify.
5161         Patches by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
5163         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Mark as
5164         internal_function.
5165         * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Likewise.
5166         * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start_cleanup): Likewise.
5168         * sysdeps/generic/dl-cache.c: Remove declaration of
5169         _dl_sysdep_read_whole_file.
5171         * elf/dl-load.c (_dl_map_object): Remove declaration of
5172         _dl_load_cache_lookup.
5174         * sysdeps/generic/ldsodefs.h: Add declarations of
5175         _dl_load_cache_lookup, _dl_unload_cache,
5176         _dl_sysdep_read_whole_file, _dl_sysdep_start and
5177         _dl_sysdep_start_cleanup.
5179         * elf/rtld.c: Remove prototypes that are defined in ldsodefs.h
5180         now.
5182         * elf/dl-misc.c: Include <ldsodefs.h> to get prototypes.
5183         * sysdeps/generic/dl-environ.c: Likewise.
5185         * stdio-common/printf_fp.c: Include <gmp.h> instead of
5186         <stdlib/gmp.h>.
5187         * math/atest-exp.c: Likewise.
5188         * math/atest-exp2.c: Likewise.
5189         * math/atest-sincos.c: Likewise.
5190         * stdio-common/_itoa.c: Likewise.
5191         * stdio-common/_itowa.c: Likewise.
5193         * include/gmp.h: New file with internal prototypes.
5195         * sysdeps/generic/longjmp.c: Move _longjmp_unwind declaration from
5196         here to...
5197         * include/setjmp.h: ...here.
5199         * locale/Makefile (routines): Remove codeset_name since it's not
5200         needed anywhere.
5202         * locale/codeset_name.c: Removed.
5204 2000-12-05  Ulrich Drepper  <drepper@redhat.com>
5206         * sysdeps/unix/sysv/aix/sys/param.h: Define MAXHOSTNAMELEN here.
5208 2000-12-05  Andreas Jaeger  <aj@suse.de>
5210         * sysdeps/unix/sysv/linux/sys/param.h: Revert last patch.
5212 2000-12-05  Martin Schwidefsky  <schwidefsky@de.ibm.com>
5214         * sysdeps/unix/sysv/linux/s390/mmap64.S: Use mmap if mmap2 isn't
5215         available.
5217 2000-12-05  Andreas Jaeger  <aj@suse.de>
5219         * nss/test-netdb.c: Mark local functions as static to avoid
5220         warnings.
5221         (main): Use return to silence warning.
5223         * stdlib/test-canon.c (check_path): Mark as static to avoid warning.
5225         * stdio-common/test-popen.c: Mark local functions as static to
5226         avoid warnings.
5227         (main): Use return to silence warning.
5229         * stdlib/testsort.c (compare): Mark as static to avoid warning.
5231         * assert/test-assert.c: Mark local functions as static to avoid
5232         warnings.
5233         * assert/test-assert-perr.c: Likewise.
5235         * math/libm-test.inc (main): Use return to silence warnings.
5237 2000-12-04  Ulrich Drepper  <drepper@redhat.com>
5239         * math/fenv.h: Fix typo in comment.
5241         * math/test-misc.c (main): Add a few more over and underflow tests
5242         for scalb.
5244         * sysdeps/i386/fpu/e_scalb.S: Handle NaN as first parameter correctly.
5245         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
5246         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
5247         * math/w_scalb.c: Don't use matherr except in SVID mode.
5248         * math/w_scalbf.c: Likewise.
5249         * math/w_scalbl.c: Likewise.
5250         * math/test-misc.c: Add test for NaN and scalbl.
5251         Reported by Fred J. Tydeman <tydeman@tybor.com>.
5253 2000-12-04  Ulrich Drepper  <drepper@redhat.com>
5255         * configure.in: Define HAVE_ASM_GLOBAL_DOT_NAME for AIX.
5256         * config.h.in: Add HAVE_ASM_GLOBAL_DOT_NAME.
5257         * include/libc-symbols.h (strong_alias): Define special version
5258         for HAVE_ASM_GLOBAL_DOT_NAME.
5259         (weak_alias): Likewise.
5260         * sysdeps/powerpc/bsd-setjmp.S: Use strong_alias not .set.
5261         * sysdeps/unix/sysv/aix/Makefile [$(subdir)==login]
5262         (sysdep_routines): Add setutxent, getutxent, endutxent, getutxid,
5263         getutxline, pututxline, and utmpxname.
5264         * sysdeps/unix/sysv/aix/fchdir.c: Define __fchdir.
5265         * sysdeps/unix/sysv/aix/lseek.c: Define __libc_lseek alias.
5266         * sysdeps/unix/sysv/aix/open.c: Define __libc_open alias.
5267         * sysdeps/unix/sysv/aix/pread.c: Define pread alias.
5268         * sysdeps/unix/sysv/aix/pread64.c: Define pread64 alias.
5269         * sysdeps/unix/sysv/aix/sysdep.h (JUMPTARGET): Use C_TEXT.
5270         * sysdeps/unix/sysv/aix/bits/types.h: Define __clockid_t and __timer_t.
5271         * sysdeps/unix/sysv/aix/bits/utmp.h: Cleanup.  Add comments.
5272         * sysdeps/unix/sysv/linux/sys/param.h (MAXHOSTNAMELEN): Define.
5273         Patches by Michael Keezer <mkeezer@redhat.com>.
5275 2000-12-04  H.J. Lu  <hjl@gnu.org>
5277         * configure.in: Change --with-oldest-abi=ABI to
5278         --enable-oldest-abi=ABI.
5280 2000-12-02  Bruno Haible  <haible@clisp.cons.org>
5282         * stdio-common/perror.c (perror): If stderr is wide-oriented, use
5283         fwprintf instead of fprintf.
5285 2000-12-04  Ulrich Drepper  <drepper@redhat.com>
5287         * sysdeps/alpha/fpu/bits/mathdef.h: Remove FLT_EVAL_METHOD and
5288         DECIMAL_DIG definitions.
5289         * sysdeps/arm/fpu/bits/mathdef.h: Likewise
5290         * sysdeps/generic/bits/mathdef.h: Likewise
5291         * sysdeps/i386/fpu/bits/mathdef.h: Likewise
5292         * sysdeps/ia64/fpu/bits/mathdef.h: Likewise
5293         * sysdeps/m68k/fpu/bits/mathdef.h: Likewise
5294         * sysdeps/powerpc/fpu/bits/mathdef.h: Likewise
5295         * sysdeps/sparc/fpu/bits/mathdef.h: Likewise
5296         * sysdeps/sh/sh4/fpu/bits/mathdef.h: Likewise
5298 2000-12-03  Ulrich Drepper  <drepper@redhat.com>
5300         * math/test-fenv.c (main): Use return instead of exit to avoid warning.
5302         * math/atest-exp.c: Mark local functions as static to avoid warnings.
5303         * math/atest-exp2.c: Likewise.
5304         * math/atest-sincos.c: Likewise.
5306         * sysdeps/i386/fpu/bits/mathdef.h (DECIMAL_DIG): Correct value.
5307         Reported by Fred J. Tydeman <tydeman@tybor.com>.
5309         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Hopefully fix
5310         the handling of denormalized numbers.
5312         * math/test-misc.c (main): Test for fpclassify and pseudo denormal
5313         numbers on x86.
5314         * sysdeps/i386/fpu/fpclassifyl.c: New file.
5316         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Handle the
5317         pseudo denormal representation of LDBL_MIN.
5319         * iconvdata/SJIS.irreversible: Remove unnecessary entries.
5320         * iconvdata/EUC-JP.irreversible: Remove unnecessary entries.
5322         * iconvdata/sjis.c: Enable round-trip mapping of backslash and tilde.
5323         * iconvdata/jis0208.c: Likewise.
5324         * iconvdata/jis0212.c: Likewise.
5325         Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
5327         * math/test-misc.c (main): More tests for frexp and some for
5328         fpclassify and isnormal.
5330         * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf): Correct
5331         test for subnormal.
5332         Reported by Fred J. Tydeman <tydeman@tybor.com>.
5334         * math/test-misc.c (main): Add tests for frexp.
5335         Reported by Fred J. Tydeman <tydeman@tybor.com>.
5336         * sysdeps/i386/fpu/s_frexpl.S: Don't overflow during the computation.
5338 2000-12-02  H.J. Lu  <hjl@gnu.org>
5340         * locale/lc-time.c (_nl_init_era_entries): Pass L'\0' instead of
5341         '\0' to wcschr.
5343 2000-12-02  Ulrich Drepper  <drepper@redhat.com>
5345         * sysdeps/i386/fpu/s_frexp.S: Add missing fwait.
5346         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
5347         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
5349         * sysdeps/generic/glob.c: Adjust types of several variables to
5350         avoid warnings.
5352 2000-12-01  Ulrich Drepper  <drepper@redhat.com>
5354         * sysdeps/unix/sysv/linux/shm_open.c: Remove incorrect comment.
5356 2000-11-30  Roland McGrath  <roland@frob.com>
5358         * hurd/hurd/ioctl.h (_HURD_HANDLE_IOCTLS_1): New macro.
5359         (_HURD_HANDLE_IOCTLS, _HURD_HANDLE_IOCTL): Redefine using it, so as to
5360         allow multiple instances using the same function name in one file.
5362 2000-12-01  Ulrich Drepper  <drepper@redhat.com>
5364         * configure.in: Correct test for pserver CVS access.
5366 2000-11-28  H.J. Lu  <hjl@gnu.org>
5368         * libio/libio.h: Remove extra "#if ... #endif".
5370 2000-11-29  H.J. Lu  <hjl@gnu.org>
5372         * stdio-common/vfscanf.c (ORIENT): Swap the COMPILE_WSCANF case.
5374 2000-12-01  H.J. Lu  <hjl@gnu.org>
5376         * nss/getXXbyYY_r.c: Fix verioned symbol handling.
5377         * nss/getXXent_r.c: Likewise.
5378         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
5380 2000-11-30  H.J. Lu  <hjl@gnu.org>
5382         * scripts/abi-versions.awk (oldest_abi): New variable.
5383         Handle the oldest ABI supported.
5385         * Makerules ($(common-objpfx)abi-versions.h): Set oldest_abi
5386         for scripts/abi-versions.awk.
5388         * configure.in: Add --with-oldest-abi=ABI.
5389         * configure: Rebuild.
5391         * config.make.in (oldest-abi): New.
5393         * config.h.in (GLIBC_OLDEST_ABI): New.
5395         * csu/version.c (banner): Support GLIBC_OLDEST_ABI.
5397 2000-11-30  Jakub Jelinek  <jakub@redhat.com>
5399         * locale/setlocale.c (setname): Free for all categories, not just
5400         LC_ALL.
5401         (setlocale): Store a copy of string passed by user, not the string
5402         itself.
5404 2000-11-30  Roland McGrath  <roland@frob.com>
5406         * sysdeps/mach/hurd/defs.c (init_stdio): Put this on __libc_subinit
5407         rather than _hurd_fd_subinit, so it happens after it's safe to use
5408         libc facilities like malloc.
5410 2000-11-28  Andreas Jaeger  <aj@suse.de>
5412         * sysdeps/unix/sysv/linux/getdents.c: Add _syscall_getdents64
5413         declaration, adjust declaration of __syscall_getdents to match
5414         kernel.
5416 2000-11-29  H.J. Lu  <hjl@gnu.org>
5418         * sysdeps/generic/readelflib.c (check_ptr): Undefine it first.
5420 2000-11-29  Andreas Jaeger  <aj@suse.de>
5422         * sysdeps/unix/sysv/linux/hppa/brk.c (__brk): Remove unused variable.
5424 2000-11-28  Ulrich Drepper  <drepper@redhat.com>
5426         * dlfcn/defaultmod1.c: Add prototypes to avoid warnings.
5427         * dlfcn/defaultmod2.c: Likewise.
5428         * dlfcn/dlopen.c: Likewise.
5429         * dlfcn/dlopenold.c: Likewise.
5430         * dlfcn/failtestmod.c: Likewise.
5431         * dlfcn/glreflib1.c: Likewise.
5432         * dlfcn/glreflib2.c: Likewise.
5433         * dlfcn/eval.c: Likewise.  Add attributes.
5435         * ctype/ctype-extn.c: Define isblank and not __isblank.
5437         * time/strftime.c: Add const where necessary to avoid warnings.
5438         * time/strptime.c (strptime_internal): Add casts to avoid warnings.
5440 2000-11-22  Paul Eggert  <eggert@twinsun.com>
5442         * time/strftime.c (my_strftime): Do not invoke mbrlen with a
5443         size of (size_t) -1; it's not portable.
5445 2000-11-28  Ulrich Drepper  <drepper@redhat.com>
5447         * sysdeps/i386/fpu/libm-test-ulps: Adjust some values for the
5448         crappy i486 FPU.
5449         Reported by Michael Deutschmann <michael@talamasca.ocis.net>.
5451 2000-11-14  Jes Sorensen  <jes@linuxcare.com>
5453         * sysdeps/ia64/_mcount.S: Call __mcount instead of __mcount_internal.
5455         * sysdeps/ia64/Makefile: Compile _mcount.S in subdir gmon as
5456         _mcount is required by profiled binaries.
5458         * sysdeps/unix/sysv/linux/ia64/machine-gmon.h: Moved to...
5459         * sysdeps/ia64/machine-gmon.h: ...here.
5461 2000-11-28  Masahide Washizawa  <washi@jp.ibm.com>
5463         * iconvdata/Makefile (modules): Add IBM922, IBM1124, and IBM1129.
5464         (distribute): Add ibm922.c, ibm1124.c, ibm1129.c, ibm922.h, ibm1124.h,
5465         and ibm1129.h.
5466         * iconvdata/gconv-modules: Add entries for IBM922, IBM1124, and
5467         IBM1129.
5468         * iconvdata/ibm922.c: New file.
5469         * iconvdata/ibm922.h: New file.
5470         * iconvdata/ibm1124.c: New file.
5471         * iconvdata/ibm1124.h: New file.
5472         * iconvdata/ibm1129.c: New file.
5473         * iconvdata/ibm1129.h: New file.
5474         * iconvdata/testdata/IBM922: New file.
5475         * iconvdata/testdata/IBM922..UTF8: New file.
5476         * iconvdata/testdata/IBM1124: New file.
5477         * iconvdata/testdata/IBM1124..UTF8: New file.
5478         * iconvdata/testdata/IBM1129: New file.
5479         * iconvdata/testdata/IBM1129..UTF8: New file.
5481 2000-11-28  Ulrich Drepper  <drepper@redhat.com>
5483         * catgets/gencat.c (normalize_line): Take extra parameter with escape
5484         character.  Change callers.
5485         (open_conversion): Determine mapping of 0x5c as wchar_t value.
5486         * catgets/Makefile: Add rules to build and run test-gencat.
5487         * catgets/sample.SJIS: New file.
5488         * catgets/test-gencat.c: New file.
5489         * catgets/test-gencat.sh: New file.
5490         Report and test case by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
5492 2000-11-28  Andreas Jaeger  <aj@suse.de>
5494         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Synch with generic
5495         Linux version.
5497 2000-11-28  Ulrich Drepper  <drepper@redhat.com>
5499         * sysdeps/unix/sysv/linux/bits/socket.h: Fix last patch.
5501 2000-11-28  Andreas Jaeger  <aj@suse.de>
5503         * sysdeps/unix/sysv/linux/bits/socket.h (struct cmsghdr): Use
5504         __flexarr.
5505         * sysdeps/unix/sysv/linux/mips/bits/socket.h (struct cmsghdr):
5506         Likewise.
5508 2000-11-27  Ulrich Drepper  <drepper@redhat.com>
5510         * misc/getusershell.c: Make strings in okshells array const.
5511         * misc/regexp.c: Add const to cast to avoid warnings.
5512         * sysdeps/unix/sysv/linux/llseek.c: Add prototype for __llseek.
5513         * sysdeps/unix/sysv/linux/i386/setresuid.c: Add prototype for
5514         __setresuid.
5515         * sysdeps/unix/sysv/linux/i386/setresgid.c: Add prototype for
5516         setresgid.
5517         * misc/error.c: Add prototypes for __error and __error_at_line.
5518         * misc/mntent_r.c (__getmntent_r): Add break at end of switch
5519         statement to avoid warning.
5520         * test-skeleton.c: Mark timeout_handler with noreturn.
5521         * iconv/skeleton.c (get16u): Add const to cast.
5522         (get32u): Likewise.
5523         * iconvdata/gb18030.c: Likewise.
5524         * iconvdata/iso-2022-cn-ext.c: Likewise.
5525         * iconvdata/ansi_x3.110.c: Add cast to avoid warning.
5526         * iconvdata/big5.c: Likewise.
5527         * iconvdata/big5hkscs.c: Likewise.
5528         * iconvdata/iso_6937.c: Likewise.
5529         * iconvdata/iso_6937-2.c: Likewise.
5530         * iconvdata/t.61.c: Likewise.
5531         * iconvdata/iso646.c: Add prototypes for gconv_init and gconv_env.
5532         * iconvdata/unicode.c: Likewise.
5533         * iconvdata/utf-16.c: Likewise.
5534         * iconvdata/cns11643.h (ucs4_to_cns11643): Define needed as size_t.
5535         * iconv/gconv_trans.c (__gconv_translit_find): Avoid one warning
5536         with little code shuffling.
5538         * sysdeps/powerpc/Makefile (CFLAGS-initfini.s): Add -O1 to avoid
5539         the problems introduced when the user selects -O3.
5541         * iconv/gconv.h (__gconv_info): Define __data element using __flexarr.
5542         * misc/sys/cdefs.h: Define __flexarr.
5543         Proposed by Joseph S. Myers <jsm28@cam.ac.uk>.
5545         * iconvdata/iso-2022-jp.c: Add prototypes to avoid warnings.
5546         * iconv/skeleton.c: Likewise.
5547         * iconvdata/iso8859-1.c (BODY to 8859-1): Add const to cast.
5548         * iconv/loop.c (get16): Add const to cast.
5549         (get32): Likewise.
5551 2000-11-27  Andreas Jaeger  <aj@suse.de>
5553         * login/programs/pt_chown.c (do_pt_chown): Mark function as static
5554         to avoid warning.
5555         * login/programs/utmpdump.c (print_entry): Likewise.
5557 2000-11-25  Maciej W. Rozycki  <macro@ds2.pg.gda.pl>
5559         * sysdeps/mips/__longjmp.c (__longjmp): Restore SP and FP last and
5560         in a single asm as they may be used to access other stored
5561         registers.
5562         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
5564 2000-11-27  Andreas Jaeger  <aj@suse.de>
5566         * rt/tst-aio.c: Mark test functions as static to avoid warnings.
5567         * rt/tst-aio64.c: Likewise.
5569 2000-11-27  Ulrich Drepper  <drepper@redhat.com>
5571         * catgets/Makefile (test1.cat): Set LC_ALL, LOCPATH, and GCONV_PATH
5572         for gencat run.
5573         (libc.cat): Likewise.
5574         * catgets/gencat.c: Implement handling of message catalogs encoded
5575         with stateful character sets.
5576         Based on a patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
5578 2000-11-26  Ulrich Drepper  <drepper@redhat.com>
5580         * sysdeps/unix/opendir.c (__opendir): Add cast to avoid warning.
5582         * inet/getnameinfo.c: Adjust casts to avoid warnings.
5583         * inet/rcmd.c: Likewise.
5584         * inet/ruserpass.c: Likewise.
5585         * inet/netinet/in.h (IN6_IS_ADDR_UNSPECIFIED, IN6_IS_ADDR_LOOPBACK,
5586         IN6_IS_ADDR_MULTICAST, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
5587         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, IN6_ARE_ADDR_EQUAL,
5588         IN6_IS_ADDR_MC_NODELOCAL, IN6_IS_ADDR_MC_LINKLOCAL,
5589         IN6_IS_ADDR_MC_SITELOCAL, IN6_IS_ADDR_MC_ORGLOCAL,
5590         IN6_IS_ADDR_MC_GLOBAL): Preserve const in cast.
5591         * include/aliases.h: Add prototypes for internal __getalias* functions.
5592         * include/netdb.h: Add prototypes for __old_gethostent_r,
5593         __old_gethostbyaddr_r, __old_gethostbyname_r, __old_gethostbyname2_r,
5594         __old_getnetent_r, __old_getnetbyaddr_r, __old_getnetbyname_r,
5595         __old_getservent_r, __old_getservbyname_r, __old_getservbyport_r,
5596         __old_getprotoent_r, __old_getprotobyname_r, __old_getprotobynumber_r.
5597         * include/rpc/netdb.h: Add prototypes for __old_getrpcbyname_r,
5598         __old_getrpcbynumber_r, __old_getrpcent_r.
5600         * include/rpc/netdb.h: Add __getrpcbyname_r, __getrpcbynumber_r,
5601         __getrpcent_r prototypes.
5603 2000-11-25  Ulrich Drepper  <drepper@redhat.com>
5605         * string/strcoll.c: Add casts to avoid warnings.
5606         * string/strnlen.c: Likewise.
5607         * string/strxfrm.c: Likewise.
5608         * sysdeps/generic/_strerror.c: Likewise.
5609         * sysdeps/generic/memrchr.c: Likewise.
5610         * sysdeps/generic/strcasestr.c: Likewise.
5611         * sysdeps/generic/strstr.c: Likewise.
5613         * locale/weight.h (findidx): Add const to cast to avoid warning.
5615         * elf/loadfail.c: Little cosmetic changes to avoid warnings.
5616         * elf/loadtest.c: Likewise.
5617         * elf/multiload.c: Likewise.
5618         * elf/next.c: Likewise.
5619         * elf/nodelete.c: Likewise.
5620         * elf/noload.c: Likewise.
5621         * elf/order.c: Likewise.
5622         * elf/origtest.c: Likewise.
5623         * elf/preloadtest.c: Likewise.
5624         * elf/restest1.c: Likewise.
5626         * sysdeps/i386/i486/bits/string.h (__strncat_g) [i686]: Fourth
5627         parameter of asm must be in %ecx.
5629         * string/tester.c: Mark test functions as static to avoid warnings.
5631         * iconv/gconv_conf.c (read_conf_file): Make mod_counter static to
5632         preserve value over different gconv-modules files.
5634 2000-11-24  Ulrich Drepper  <drepper@redhat.com>
5636         * locale/findlocale.c: Add casts to avoid warnings.
5637         * locale/localeinfo.h (LIMAGIC): Add cast to avoid warnings.
5638         * misc/efgcvt_r.c (fcvt_r): Use ssize_t instead of int and add cast
5639         to avoid warnings.
5640         * misc/tsearch.c (const_node): New type.
5641         (trecurse): Correct casts to avoid warnings.
5642         (__twalk): Likewise.
5643         * stdlib/tst-limits.c: Add z modifier to formats for WORD_BIT and
5644         LONG_BIT.
5646         * debug/backtrace-tst.c (compare): Add casts to avoid warnings.
5648         * test-skeleton.c: Mark local functions as static to avoid warnings.
5650 2000-11-23  H.J. Lu  <hjl@gnu.org>
5652         * rt/tst-aio6.c (do_test): Use pipe instead of STDIN_FILENO to
5653         support the background job.
5654         Fix a typo.
5656 2000-11-24  Ulrich Drepper  <drepper@redhat.com>
5658         * iconv/gconv_conf.c (insert_module): Replace old entry if new one
5659         has same names but lower cost.
5661 2000-11-23  Jakub Jelinek  <jakub@redhat.com>
5663         * sysdeps/sparc/sparc32/dl-machine.h: Ifdef out handling for relocs
5664         which never occur during bootstrap.
5665         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
5667 2000-11-23  Andreas Jaeger  <aj@suse.de>
5669         * nss/nss_files/files-hosts.c: Remove getipnodebyname.
5671         * nss/Versions: Remove _nss_files_getipnodebyname_r.
5673         * sysdeps/unix/sysv/linux/Versions: Fix typo in last patch.
5675 2000-11-18  Martin Buchholz  <martin@xemacs.org>
5677         * csu/gmon-start.c (__gmon_start__): Avoid over-clever trick `if
5678         (called++) return;'
5680 2000-11-21  Alan Modra  <alan@linuxcare.com.au>
5682         * sysdeps/generic/bsd-_setjmp.c (setjmp): Rename to _setjmp.
5684         * csu/abi-note.S: Correct comment for operating system number.
5686 2000-11-22  Ulrich Drepper  <drepper@redhat.com>
5688         * Versions.def: Add GLIBC_2.2.1 for glibc.
5690 2000-11-22  Andreas Schwab  <schwab@suse.de>
5692         * sysdeps/unix/sysv/linux/syscalls.list: Add pivot_root.
5693         * sysdeps/unix/sysv/linux/Versions: Add pivot_root at GLIBC_2.2.1.
5695 2000-11-22  Ulrich Drepper  <drepper@redhat.com>
5697         * rt/aio_suspend.c (aio_suspend): Convert timeout value to
5698         absolute time for pthread_cond_timedwait call.
5699         Reported by Lawrence Chen <lchen@opentext.com> [libc/1930].
5701         * rt/Makefile (tests): Add tst-aio6.
5702         * rt/tst-aio6.c: New file.
5704 2000-11-23  Andreas Jaeger  <aj@suse.de>
5706         * sysdeps/s390/bits/string.h (strncat): Fix one more typo.
5708 2000-11-22  Andreas Jaeger  <aj@suse.de>
5710         * sysdeps/s390/bits/string.h (strncat): Add missing quotation marks.
5712 2000-11-21  Martin Schwidefsky  <schwidefsky@de.ibm.com>
5714         * sysdeps/s390/bits/string.h: Make strncat always add a \0.
5716 2000-11-21  Andreas Schwab  <schwab@suse.de>
5718         * sysdeps/alpha/setjmp.S: Remove __setjmp entry point.
5719         * sysdeps/arm/setjmp.S: Likewise.
5720         * sysdeps/arm/fpu/setjmp.S: Likewise.
5721         * sysdeps/i386/setjmp.S: Likewise.
5722         * sysdeps/i386/elf/setjmp.S: Likewise.
5723         * sysdeps/s390/setjmp.S: Likewise.
5724         * sysdeps/s390/elf/setjmp.S: Likewise.
5725         * sysdeps/sh/sh3/setjmp.S: Likewise.
5726         * sysdeps/sh/sh4/setjmp.S: Likewise.
5727         * sysdeps/sparc/sparc32/setjmp.S: Likewise.
5728         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
5729         * sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S: Likewise.
5730         * sysdeps/unix/sysv/linux/m68k/setjmp.c: Removed.
5732 2000-11-21  Andreas Jaeger  <aj@suse.de>
5734         * sysdeps/generic/__longjmp.c (__longjmp): Remove obsolete
5735         NORETURN, fix parameter list.
5737         * string/bug-strncat1.c (main): Fix typo.
5738         Patch by Bernhard Kaindl <bernhard.kaindl@suse.de>.
5740 2000-11-20  Ulrich Drepper  <drepper@redhat.com>
5742         * configure.in: Add --enable-all-warnings.
5743         * config.make.in (all-warnings): New variable.
5744         * Makeconfig (+gccwarn): Define with many more warnings if
5745         all-warnings is yes.
5747 2000-11-20  Jakub Jelinek  <jakub@redhat.com>
5749         * iconvdata/bug-iconv2.c (main): Use %zd in format string.
5750         * io/test-lfs.c (do_test): Cast statbuf.st_size to long long.
5751         * malloc/tst-valloc.c (main): Cast valloc return value to long.
5752         * malloc/tst-obstack.c (verbose_malloc): Use %zd in format string.
5753         * math/test-fpucw.c (main): Use %lx in format string, cast
5754         control words to long.
5755         * stdio-common/tst-fmemopen.c (main): Use %td in format strings.
5756         * stdlib/tst-strtol.c (tests): Avoid (bogus?) decimal constant is so
5757         large that it is unsigned warning.
5759         * sysdeps/unix/sysv/linux/sparc/bits/types.h (__ssize_t): Changing
5760         it to long on sparc64.
5762 2000-11-20  Andreas Jaeger  <aj@suse.de>
5764         * nscd/nscd.h (termination_handler): Add noreturn attribute.
5765         (receiv_print_stats): Likewise.
5767         * elf/ldconfig.c (path_hwcap): Cast -1 for proper comparison.
5769 2000-11-20  Ulrich Drepper  <drepper@redhat.com>
5771         * malloc/thread-m.h: gcc doesn't tolerate zero-sized types anymore.
5773         * csu/gmon-start.c: Always have prototype for __gmon_start.
5774         * csu/version.c: Add prototypes for __libc_print_version and
5775         __libc_main.
5776         * iconv/gconv.c: Include gconv_int.h and gconv.h.
5777         * iconv/gconv.h (struct __gconv_step): Remove const from __from_name
5778         and __to_name.
5779         * iconv/gconv_builtin.h: Add ASCII module definitions.
5780         * iconv/gconv_conf.c (__gconv_path_elem): Remove const.
5781         (add_module): Add cast to avoid warning.  Rework construction of
5782         strings for new module.
5783         * iconv/gconv_db.c (__gconv_alias_compare): Make s1 and s2 const.
5784         (derivation_compare): Likewise.
5785         * iconv/gconv_dl.c (do_release_shlib): Remove const from nodep.
5786         (__gconv_release_shlib): Cast do_release_shlib as parameter for twalk.
5787         * iconv/gconv_int.h (__gconv_path_elem): Remove const.
5788         (struct gconv_alias): Remove const from fromname and toname.
5789         * iconv/gconv_simple.c: Include gconv_builtin.h to get prototypes
5790         for loop functions.
5791         (internal_ucs4_loop): Use correct const-ness.
5792         (ucs4_internal_loop): Likewise.
5793         (internal_ucs4le_loop): Likewise.
5794         (ucs4le_internal_loop_single): Likewise.
5795         * iconv/gconv_trans.c (__gconv_transliterate): Make from_idx, from_tbl,
5796         to_idx, to_tbl, winbuf, winbufend const.  Change casts in
5797         assignments appropriately.
5798         (struct known_trans): Remove const from fname.
5799         (trans_compare): Make s1 and s2 const.
5800         * iconv/loop.c (LOOPFC): Make outend parameter const.  Add cast to
5801         avoid warning.
5802         * iconv/skeleton.c: Remove cast in calls of loop functions.
5803         * iconvdata/gconv-modules: Remove US-ASCII definitions.
5804         * iconvdata/iso646.c: Remove US_ASCII support.
5805         * include/set-hooks.h (DEFINE_HOOK): Also generate prototype.
5806         * include/unistd.h: Add __libc_check_standard_fds prototype.
5807         * string/bits/string2.h (__mempcpy_args): Add const to casts.
5808         * sysdeps/generic/initfini.c: Add prototypes for dummy, _init, and
5809         _fini.
5810         * sysdeps/generic/libc-start.c: Add prototype for __libc_start_main.
5811         * sysdeps/i386/i486/bits/string.h (strcmp): Add const to casts.
5812         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Add cast to avoid
5813         warning.
5814         * sysdeps/unix/sysv/linux/init-first.c: Add prototypes for
5815         __libc_init_first and _dl_start.
5816         * intl/dcigettext.c (transcmp): Make s1 and s2 const.
5817         (DCIGETTEXT): Make domaindata variable const.
5818         * intl/loadmsgcat.c (_nl_load_domain): Rearrange domain initialization
5819         to avoid warning.
5821 2000-11-20  Hiroyuki Machida  <machida@sm.sony.co.jp>
5823         * sysdeps/unix/sysv/linux/mips/clone.S: Fix comments.
5825         * sysdeps/unix/sysv/linux/mips/kernel_stat.h (kernel_stat): Expand
5826         time_t to 'long int' not, 'unsigned int'.  Use 'long int' for
5827         __unused? members.
5829         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (O_NOFOLLOW): Use same
5830         value defined in /usr/include/asm-mips/fcntl.h.
5832 2000-11-18  Ulrich Drepper  <drepper@redhat.com>
5834         * stdio-common/Makefile (tests): Add test-vfprintf.
5835         (test-vfprintf-ENV): New variable.
5836         * stdio-common/test-vfprintf.c: New file.
5838         * wcsmbs/mbrtowc.c (__mbrtowc): Do not only flush if input is '\0'.
5840         * wcsmbs/Makefile (tests): Add tst-mbrtowc and tst-wcrtomb.
5841         (tst-mbrtowc-ENV): New variable.
5842         (tst-wcrtomb-ENV): New variable.
5843         * wcsmbs/tst-mbrtowc.c: New file.
5844         * wcsmbs/tst-wcrtomb.c: New file.
5846 2000-11-16  Andreas Jaeger  <aj@suse.de>
5848         * manual/install.texi (Tools for Compilation): Update
5849         documentation for GCC 2.95.2.
5851 2000-11-18  Ulrich Drepper  <drepper@redhat.com>
5853         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only return -EAI_AGAIN
5854         if IPv4 and IPv6 requests timed out.
5856 2000-11-18  Akim Demaille  <akim@epita.fr>
5858         * malloc/obstack.h: Formatting changes.
5859         (obstack_grow, obstack_grow0): Don't cast WHERE at all: it
5860         prevents type checking.
5861         (obstack_ptr_grow, obstack_ptr_grow_fast): When assigning, don't
5862         cast the value to (void *): assigning a `foo *' to a `void *'
5863         variable is valid.
5864         (obstack_int_grow, obstack_int_grow_fast): Don't cast AINT to int.
5866 2000-11-17  Ulrich Drepper  <drepper@redhat.com>
5868         * scripts/config.guess: Update from upstream maintainer.
5869         * scripts/config.sub: Likewise.
5871 2000-11-16  Ulrich Drepper  <drepper@redhat.com>
5873         * libio/freopen.c (freopen): Reset _mode after succesful reopening.
5874         * libio/freopen64.c (freopen64): Likewise.
5875         Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
5877         * libio/Makefile: Add rules to build and run test-freopen.
5878         * libio/test-freopen.c: New file.
5879         * libio/test-freopen.sh: New file.
5881 2000-11-15  H.J. Lu  <hjl@gnu.org>
5883         * sysdeps/generic/ldsodefs.h (DL_DT_INIT_ADDRESS): Defined if
5884         ELF_FUNCTION_PTR_IS_SPECIAL is not defined.
5885         (DL_DT_FINI_ADDRESS): Likewise.
5887         * sysdeps/ia64/dl-lookupcfg.h (_dl_lookup_address): Set the
5888         return type to ElfW(Addr).
5889         (_dl_function_address): New prototype.
5890         (DL_FUNCTION_ADDRESS): Defined.
5891         (DL_DT_INIT_ADDRESS): Defined as DL_FUNCTION_ADDRESS.
5892         (DL_DT_FINI_ADDRESS): Likewise.
5894         * sysdeps/ia64/Versions (GLIBC_2.2): Add _dl_function_address.
5896         * sysdeps/ia64/dl-machine.h (_dl_start_address): Removed.
5897         (ELF_MACHINE_START_ADDRESS): Changed to DL_FUNCTION_ADDRESS.
5899         * sysdeps/ia64/dl-symaddr.c (_dl_start_address): Renamed to ...
5900         (_dl_function_address): This.
5902         * elf/dl-fini.c (_dl_fini): Use DL_DT_FINI_ADDRESS to get the
5903         function pointer for DT_FINI.
5904         * elf/dl-close.c (_dl_close): Likewise.
5906         * elf/dl-init.c (_dl_init): Use DL_DT_INIT_ADDRESS to get the
5907         function pointer for DT_INIT.
5909 2000-11-16  Jakub Jelinek  <jakub@redhat.com>
5911         * sysdeps/generic/printf_fphex.c (__printf_fphex): Compute correctly
5912         end of wexpbuf buffer.
5914 2000-11-16  Andreas Jaeger  <aj@suse.de>
5916         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove duplicate
5917         definition of F_GETLK, F_SETLK, F_SETLKW.
5919 2000-11-16  Andreas Jaeger  <aj@suse.de>
5921         * sysdeps/generic/dl-cache.c (_DL_PLATFORMS_COUNT): Define to 0 if
5922         it's not defined.
5924 2000-11-15  Jakub Jelinek  <jakub@redhat.com>
5926         * dlfcn/default.c (main): Add test for dladdr of main returning
5927         argv[0] in dli_fname field.
5929 2000-11-15  Jakub Jelinek  <jakub@redhat.com>
5931         * Makeconfig (run-program-prefix): Move test-static test into the
5932         variable.
5934         * sysdeps/alpha/dl-machine.h (RTLD_START): Update _dl_argv.
5935         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise,
5936         schedule instructions.
5937         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise,
5938         schedule instructions, fix a bug in copying auxiliary data.
5940 2000-11-15  Ulrich Drepper  <drepper@redhat.com>
5942         * manual/startup.texi (Program Arguments): Fix type of main's envp
5943         parameter.
5944         Reported by Raúl Núñez de Arenas Coronado <dervishd@linuxfreak.com>.
5946         * iconvdata/gconv-modules: Add CP950 alias.
5948 2000-11-13  Jakub Jelinek  <jakub@redhat.com>
5950         * sysdeps/unix/sysv/linux/Makefile: Allow ports to override
5951         syscall-list.h goal.
5952         * sysdeps/unix/sysv/linux/sparc/Makefile: New file.
5954 2000-11-15  Ulrich Drepper  <drepper@redhat.com>
5956         * intl/Makefile: tst-gettext2.sh does not need a third parameter.
5958         * intl/tst-gettext2.sh: Copy locale data.  Adjust LOCPATH.  Verify
5959         output of program.
5961         * intl/tst-gettext2.c: Set C locale if setting other locale
5962         failed.  Use gettext() not _().
5964         * locale/setlocale.c: Increment _nl_msg_cat_cntr whenever we
5965         successfully loaded a new locale.
5967 2000-11-13  Andreas Jaeger  <aj@suse.de>
5969         * configure.in: Require gcc 2.95 or newer.
5971 2000-11-15  Ulrich Drepper  <drepper@redhat.com>
5973         * sysdeps/unix/sysv/linux/paths.h: Adjust for FHS.
5974         Patch by Arkadiusz Miskiewicz <misiek@pld.ORG.PL>.
5976 2000-11-11  Jim Meyering  <meyering@lucent.com>
5978         * string/strndup.c (strndup): Cast return value to `char *'.
5980 2000-11-15  Jim Meyering  <meyering@ascend.com>
5982         * sysdeps/generic/memchr.c: Remove some useless parentheses.
5983         [HAVE_STDLIB_H || defined _LIBC]: Include <stdlib.h>.
5984         [HAVE_BP_SYM_H || defined _LIBC]: Guard inclusion of bp-sym.h.
5985         [! (HAVE_BP_SYM_H || defined _LIBC)] (BP_SYM): Define as no-op.
5986         Also #undef __memchr.
5987         Use `weak_alias' only if it's defined.
5989 2000-11-10  H.J. Lu  <hjl@gnu.org>
5991         * Makefile.in (install): Set LANGUAGE=C LC_ALL=C.
5993 2000-11-15  Andreas Jaeger  <aj@suse.de>
5995         * elf/chroot_canon.c: Include <stdint.h>.
5997         * elf/cache.c (struct cache_entry): Use uint64_t for hwcap.
5998         (print_entry): Likewise.
5999         (add_to_cache): Likewise.
6001         * elf/ldconfig.h (add_to_cache): Change prototype for hwcap change.
6003         * elf/ldconfig.c (struct lib_entry): Use uint64_t for hwcap.
6004         (path_hwcap): Likewise.
6005         (search_dir): Likewise.
6007         * sysdeps/generic/dl-cache.c (HWCAP_CHECK): Handle platform.
6009         * elf/cache.c (add_to_cache): Handle 64 bit hwcap entry.
6011         * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h
6012         (_dl_platform_string): New.
6013         (_DL_HWCAP_PLATFORM): New.
6014         (_dl_string_platform): New.
6015         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h: Likewise.
6017         * sysdeps/generic/dl-procinfo.h (_DL_HWCAP_COUNT): New.
6018         (_dl_string_platform): New.
6019         (_DL_HWCAP_PLATFORM): New.
6020         (_dl_platform_string): New.
6022         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Added x86 platform
6023         recognition.
6024         (_DL_HWCAP_COUNT): New.
6025         (_dl_string_platform): New.
6026         (_DL_HWCAP_PLATFORM): New.
6027         (_dl_platform_string): New.
6029 2000-11-14  Ulrich Drepper  <drepper@redhat.com>
6031         * iconvdata/gconv-modules: Add CP936 as alias for GBK.
6033 2000-11-14  Andreas Jaeger  <aj@suse.de>
6035         * sysdeps/generic/dl-cache.c (HWCAP_CHECK): Fix access to _dl_hwcap.
6037 2000-11-13  Roland McGrath  <roland@frob.com>
6039         * hurd/get-host.c (_hurd_get_host_config): Fix last change.
6041 2000-11-13  Marcus Brinkmann <marcus@gnu.org>
6043         * hurd/get-host.c (_hurd_get_host_config): Fix possible buffer
6044         underrun and make sure the result is null terminated even if there
6045         is no trailing newline.
6047 2000-11-13  Jakub Jelinek  <jakub@redhat.com>
6049         * sysdeps/alpha/fpu/libm-test-ulps: Update.
6051 2000-11-10  H.J. Lu  <hjl@gnu.org>
6053         * sysdeps/ia64/fpu/libm-test-ulps: Updated.
6055 2000-11-10  Andreas Jaeger  <aj@suse.de>
6057         * elf/ldconfig.c (create_links): Fix alloca calculation.
6058         Patch by Ben Collins <bcollins@debian.org>.
6060 2000-11-09  Ulrich Drepper  <drepper@redhat.com>
6062         * inet/getnameinfo.c (getnameinfo): Use correct destination
6063         parameter for if_indextoname.
6064         Patch by Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>.
6066 2000-11-09  H.J. Lu  <hjl@gnu.org>
6068         * sunrpc/Versions (GLIBC_2.1): Remove xdr_cryptkeyarg,
6069         xdr_cryptkeyarg2, xdr_cryptkeyres, xdr_des_block,
6070         xdr_key_netstarg, xdr_key_netstres, xdr_keybuf and
6071         xdr_keystatus.
6073         * time/Versions (GLIBC_2.1): Move getitimer to...
6074         * sysdeps/unix/sysv/linux/alpha/Versions (GLIBC_2.1): ...here.
6076 2000-11-03  Bruno Haible  <haible@clisp.cons.org>
6078         * manual/install.texi: Recommend to set LANGUAGE=C LC_ALL=C during
6079         "make install", to work around a binary incompatibility between
6080         glibc 2.1 and glibc 2.2 gconv modules.
6082 2000-11-09  Ulrich Drepper  <drepper@redhat.com>
6084         * intl/locale.alias: Add thai.
6085         Patch by Chanop Silpa-Anan <chanop@syseng.anu.edu.au>.
6087 2000-11-07  Akim Demaille  <akim@epita.fr>
6089         * malloc/obstack.c (obstack_grow, obstack_grow0): Rename the second
6090         argument `data' for consistency with the prototypes.
6091         Qualify it `const'.
6092         (obstack_copy, obstack_copy0): Rename the second argument as
6093         `address' for consistency.  Qualify it `const'.
6094         * malloc/obstack.h (obstack_copy, obstack_copy0, obstack_grow)
6095         (obstack_grow0, obstack_ptr_grow, obstack_ptr_grow_fast): Qualify
6096         `const' their input argument (`data' or `address').
6097         Adjust the corresponding macros to include `const' in casts.
6099 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
6101         * sysdeps/posix/getaddrinfo.c: Clean-up: define family to hold
6102         target family.
6104 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
6106         * sysdeps/posix/getaddrinfo.c: Loosen protocol check to ease raw
6107         socket creation.
6109 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
6111         * sysdeps/posix/getaddrinfo.c: Ensure to fill ai_socktype and
6112         ai_protocol by internal table if service was not given.
6114 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
6116         * sysdeps/posix/getaddrinfo.c: Don't raise an error even if
6117         numerical port was specified with protocol without socktype.
6119 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
6121         * sysdeps/posix/getaddrinfo.c: Ensure to check if protocol is ok.
6123 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
6125         * inet/getnameinfo.c: getnameinfo() NI_xxx flag validation.
6127 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
6129         * sysdeps/posix/getaddrinfo.c: Ensure not to fill garbage value in
6130         sin6_scope_id field.
6132 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
6134         * inet/getnameinfo.c: Repair getnameinfo() sin6_socpe_id support.
6136 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
6138         * inet/getnameinfo.c: Repair NI_NOFQDN flag support.
6140 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
6142         * inet/getnameinfo.c: Wake-up sin6_scope_id support in
6143         getnameinfo(): check for whether sin6_socpe_id exist was wrong.
6145 2000-11-09  Martin Schwidefsky  <mschwide@nc.boeblingen.de.ibm.com>
6147         * sysdeps/unix/sysv/linux/s390/mmap.S: Use mmap2 if it is present.
6148         * sysdeps/unix/sysv/linux/s390/mmap64.S: New file.
6150 2000-11-09  H.J. Lu  <hjl@gnu.org>
6152         * io/Versions (GLIBC_2.1.1): Remove lockf64.
6155 See ChangeLog.11 for earlier changes.