Update.
[glibc.git] / ChangeLog
blob227145720d1a5a55497acb0a68a4aed4fea8a35e
1 2001-07-23  Ulrich Drepper  <drepper@redhat.com>
3         * stdio-common/printf.h: Fix typo in comment.
5         * iconv/gconv_cache.c (__gconv_lookup_cache): Handle encoding from
6         and to INTERNAL.
7         * iconv/iconvconfig.c: Create a special record for the INTERNAL
8         encoding name in the output file.
10 2001-07-23  Jakub Jelinek  <jakub@redhat.com>
12         * sunrpc/svc_tcp.c (svctcp_rendezvous_abort): New.
13         (svctcp_rendezvous_op): Use it.
14         * sunrpc/svc_unix.c (svcunix_rendezvous_abort): New.
15         (svcunix_rendezvous_op): Use it.
17 2001-07-23  Andreas Schwab  <schwab@suse.de>
19         * math/Makefile (CPPFLAGS-test-ifloat.c, CPPFLAGS-test-idouble.c,
20         CPPFLAGS-test-ildoubl.c): Renamed from CFLAGS-*.
21         (math-CPPFLAGS): Set this instead of CPPFLAGS.
23 2001-07-23  Ulrich Drepper  <drepper@redhat.com>
25         * elf/elf.h: Add more definitions from Sun's latest version.
27 2001-07-23  Stephen L Moshier  <moshier@mediaone.net>
29         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Return proper
30         sign for 0 input and set divide by zero exception for -1 input.
31         Return argument if NaN or infinity.
33 2001-07-23  Andreas Jaeger  <aj@suse.de>
35         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Add some deltas.
37 2001-07-23  Ulrich Drepper  <drepper@redhat.com>
39         * iconv/gconv_cache.c (__gconv_lookup_cache): Select correct
40         module for conversion direction.
42 2001-07-23  Stephen L Moshier  <moshier@mediaone.net>
44         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Return proper
45         sign for 0 input.  Return NaN with no exception for NaN input.
47 2001-07-23  Ulrich Drepper  <drepper@redhat.com>
49         * iconv/gconv_builtin.h: ISO-106464/UTF-8/ transformation must
50         really be an alias.
52 2001-07-23  Andreas Jaeger  <aj@suse.de>
54         * iconv/iconvconfig.c: Include <sys/cdefs.h> and use
55         __attribute_malloc__ for older GCC versions.
56         * iconv/strtab.c: Likewise.
57         Add prototypes to avoid warnings.
59 2001-07-22  Roland McGrath  <roland@frob.com>
61         * hurd/hurdsig.c (_hurd_internal_post_signal): Support SA_RESETHAND
62         and SA_NODEFER options.  Spurred to action by Igor Khavkine.
64         * sysdeps/generic/bits/sigaction.h [__USE_UNIX98 || __USE_MISC]
65         (SA_NODEFER, SA_RESETHAND): New macros, same bit values as FreeBSD.
66         [__USE_MISC] (SA_INTERRUPT): New macro, value 0.
67         [__USE_MISC] (SA_NOMASK, SA_ONESHOT, SA_STACK): New macros, aliases
68         as in other sysdeps versions of this file.
70         * sysdeps/generic/bits/sigaction.h (struct sigaction): Use a union
71         and provide sa_handler and sa_sigaction member names as macros, as
72         done in other sysdeps versions of this file.
73         Suggested by Igor Khavkine <i_khavki@alcor.concordia.ca>.
75 2001-07-23  Ulrich Drepper  <drepper@redhat.com>
77         * posix/regex.c: Revamp memory allocation for WCHAR functions to
78         not use too much stack.
80 2001-07-22  Ulrich Drepper  <drepper@redhat.com>
82         * iconv/iconvconfig.c (write_output): Update comment explaining
83         output format.
85         * elf/dl-load.c (_dl_dst_count): In SUID binaries expand $ORIGIN
86         if it is alone.
87         (_dl_dst_substitute): Likewise.
89         * iconv/iconvconfig.c: Remove --verbose option.  Comment out
90         mcheck_verbose call.
92         * iconv/strtab.c (morememory): Fix little memory handling problem.
94 2001-07-22  Andreas Schwab  <schwab@suse.de>
96         * sysdeps/unix/sysv/linux/m68k/sysdep.h (INLINE_SYSCALL): Don't
97         mark asm input operand as clobbered.
98         * sysdeps/unix/sysv/linux/m68k/brk.c (__brk): Likewise.
100 2001-07-22  Ulrich Drepper  <drepper@redhat.com>
102         * iconv/gconv_builtin.c (struct builtin_map): Remove init and end
103         elements.
104         (BUILTIN_TRANSFORMATION): Remove Init and End parameters.
105         (__gconv_get_builtin_trans): Initialize __init_fct and __end_fct to
106         NULL.
107         * iconv/gconv_builtin.h: Remove NULL parameters for Init and End in
108         all BUILTIN_TRANSFORMATION calls.
109         * iconv/gconv_conf.c (BUILTIN_TRANSFORMATION): Remove Init and End
110         parameters.
111         * iconv/gconv_simple.c: Likewise.
112         * iconv/gconv_db.c (gen_steps): Internal converters don't have
113         initializers, move the code accordingly.
115         * iconv/gconv_conf.c (__gconv_read_conf): Don't read configuration
116         file if STATIC_GCONV is defined.
118         * iconv/gconv_conf.c (__gconv_path_envvar): New global variable.
119         (__gconv_get_path): Use it instead of call getenv.
120         (__gconv_read_conf): First see whether cache can be used.  If yes,
121         don't do any work here.
122         * iconv/gconv_db.c (__gconv_release_step): Renamed from release_step
123         and exported.  Change callers.
124         (__gconv_find_transform): First call __gconv_lookup_cache and only
125         continue if it signals no cache available.  Remove some unnecessary
126         tests.
127         * iconv/gconv_int.h: Declare __gconv_path_envvar, __gconv_lookup_cache,
128         __gconv_release_step, and __gconv_loaded_cache.
129         * iconv/gconv_cache.c: New file.
130         * iconv/iconvconfig.c: New file.
131         * iconv/iconvconfig.h: New file.
132         * iconv/strtab.c: New file.
133         * iconv/Makefile: Add rules to build new files and programs.
135 2001-07-20  Roland McGrath  <roland@frob.com>
137         * sysdeps/generic/device-nrs.h (DEV_TTY_P): Change argument type
138         from `dev_t' (st_rdev value) `const struct stat *'.
139         * sysdeps/unix/sysv/linux/device-nrs.h (DEV_TTY_P): Likewise.
140         * libio/filedoalloc.c (_IO_file_doallocate): Change caller.
141         * sysdeps/mach/hurd/device-nrs.h: New file.
143         * libio/stdio_ext.h: Moved to ...
144         * stdio-common/stdio_ext.h: ... here.
145         * libio/Makefile (headers): Move stdio_ext.h from here ...
146         * stdio-common/Makefile (headers): ... to here.
147         * include/stdio_ext.h: New file.
148         * stdio/Makefile (routines): Add the stdio_ext.h functions here.
149         * stdio/Versions (GLIBC_2.2.4): Export the stdio_ext.h functions.
150         * stdio/__flbf.c: New file.
151         * stdio/__fbufsize.c: New file.
152         * stdio/__fpending.c: New file.
153         * stdio/__fpurge.c: New file.
154         * stdio/__freadable.c: New file.
155         * stdio/__freading.c: New file.
156         * stdio/__fsetlocking.c: New file.
157         * stdio/__fwritable.c: New file.
158         * stdio/__fwriting.c: New file.
160 2001-07-20  Ulrich Drepper  <drepper@redhat.com>
161             Andreas Jaeger  <aj@suse.de>
163         * elf/ldconfig.c (search_dir): Avoid use of uninitialized memory.
164         Add a few __builtin_expect to mark unlikely error cases.
166 2001-07-20  Andreas Jaeger  <aj@suse.de>
168         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Synch with kernel.
169         Patch by Daniel Jacobowitz <dan@debian.org>.
171 2001-07-19  Ulrich Drepper  <drepper@redhat.com>
173         * intl/localealias.c: Remove unnecessary prototype.
175         * Makefile: Add html goal.
176         * manual/Makefile: Likewise.
178 2001-07-18  Ulrich Drepper  <drepper@redhat.com>
180         * libio/filedoalloc.c (_IO_file_doallocate): A few more minor
181         cleanups and improvements.
183 2001-07-18  Andreas Schwab  <schwab@suse.de>
185         * posix/regex.c (WORDCHAR_P) [WCHAR]: Also return true for the
186         underscore character.
188 2001-07-18  Jakub Jelinek  <jakub@redhat.com>
190         * malloc/malloc (new_heap): Don't call munmap for zero length.
192 2001-07-18  Ulrich Drepper  <drepper@redhat.com>
194         * libio/filedoalloc.c (_IO_file_doallocate): Use DEV_TTY_P if
195         available to determine whether descriptor is for tty before
196         calling isatty.
198         * sysdeps/unix/sysv/linux/device-nrs.h: Define DEV_TTY_P.
199         * sysdeps/generic/device-nrs.h: Likewise.
201 2001-07-18  Andreas Jaeger  <aj@suse.de>
203         * time/Makefile (tst-getdate-ENV): Add TZDIR to environment.
205         * time/Depend: New, add dependency on timezone.
207         * time/tst-getdate.c: Add testcase for bug report by Hendrik
208         Uhlmann <HUhlmann@stn-atlas.de>.
209         * time/datemsk: Likewise.
211 2001-07-17  Ulrich Drepper  <drepper@redhat.com>
213         * elf/ldconfig.c (parse_conf): Disable implicit locking for the
214         stream.  Remove some unnecessary initializers.
216 2001-07-17  Andreas Jaeger  <aj@suse.de>
218         * elf/ldconfig.c: Add new variable hwcap_mask to honour LD_HWCAP_MASK.
219         (is_hwcap_platform): Use it.
220         (set_hwcap): New function to set hwcap_mask.
221         (main): Call set_hwcap.
223 2001-07-17  Jakub Jelinek  <jakub@redhat.com>
225         * time/getdate.c (__getdate_r): Initialize tm_isdst, tm_gmtoff and
226         tm_zone before calling strptime.
228 2001-07-17  Andreas Schwab  <schwab@suse.de>
230         * sysdeps/unix/sysv/linux/m68k/getpagesize.c: Fix last change.
232 2001-07-17  Ulrich Drepper  <drepper@redhat.com>
234         * inet/rcmd.c (iruserfopen): Disable implicit locking for the stream.
235         * inet/ruserpass.c (ruserpass): Likewise.
236         * nss/nsswitch.c (nss_parse_file): Likewise.
237         * resolv/res_hconf.c (_res_hconf_init): Likewise.
238         * resolv/res_init.c (__res_vinit): Likewise.
239         * gmon/bb_exit_func.c (__bb_exit_func): Likewise.
240         * misc/getpass.c (getpass): Likewise.
241         * misc/getusershell.c (initshells): Likewise.
242         * misc/getttyent.c (setttyent): Likewise.
243         * misc/mntent_r.c (__setmntent): Likewise.
244         * time/getdate.c (__getdate_r): Likewise.
245         * time/tzfile.c (__tzfile_read): Likewise.
246         * iconv/gconv_conf.c (read_conf_file): Likewise.
247         * intl/localealias.c (read_alias_file): Disable implicit locking
248         for the stream.  Use _unlocked functions for glibc.
249         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Disable
250         implicit locking for the stream.
251         (__get_nprocs_conf): Likewise.
252         (phys_pages_info): Likewise.
254 2001-07-16  Ulrich Drepper  <drepper@redhat.com>
256         * nscd/connections.c: Print messages caused by user application
257         only if debug_level > 0.  Add little performance improvements.
258         Use TEMP_FAILURE_RETRY around write calls.
259         * nscd/grpcache.c: Likewise.
260         * nscd/hstcache.c: Likewise.
261         * nscd/pwdcache.c: Likewise.
263 2001-07-13  H.J. Lu  <hjl@gnu.org>
265         * sysdeps/mips/dl-machine.h (MAP_BASE_ADDR): Removed.
266         (elf_machine_got_rel): Defined only if RTLD_BOOTSTRAP is not defined.
267         (RESOLVE_GOTSYM): Rewrite to use RESOLVE.
269         * sysdeps/mips/rtld-ldscript.in: Removed.
270         * sysdeps/mips/rtld-parms: Likewise.
271         * sysdeps/mips/mips64/rtld-parms: Likewise.
272         * sysdeps/mips/mipsel/rtld-parms: Likewise.
274 2001-07-16  Ulrich Drepper  <drepper@redhat.com>
276         * catgets/test-gencat.sh: Use <<"EOF" instead of <<EOF to prevent
277         substitution in here document.
279 2001-07-16  Andreas Schwab  <schwab@suse.de>
281         * sysdeps/posix/spawni.c: Fix typo when iterating over signal numbers.
283 2001-07-16  Andreas Schwab  <schwab@suse.de>
285         * math/libm-test.inc (check_float_internal): Fix sign bit test of
286         infinities.
288 2001-07-16  Jakub Jelinek  <jakub@redhat.com>
290         * sysdeps/i386/fpu/e_expl.c (__ieee754_expl): Make it PIC friendly.
292 2001-07-15  Ulrich Drepper  <drepper@redhat.com>
294         * malloc/obstack.c: Define __attribute__ for non-gcc compilers.
295         Patch by Jim Meyering <jim@meyering.net>.
297 2001-07-12  Martin Schwidefsky  <schwidefsky@de.ibm.com>
299         * sysdeps/unix/sysv/linux/s390/s390-64/bits/sigaction.h: Reorder
300         fields in the sigaction struct to match the definition in the kernel.
302 2001-07-12  Martin Schwidefsky  <schwidefsky@de.ibm.com>
304         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Correct the
305         test for ENOSYS.
307 2001-07-12  Martin Schwidefsky  <schwidefsky@de.ibm.com>
309         * sysdeps/s390/s390-32/bits/setjmp.h: Add leading underscores
310         to the entries in the __jmp_buf structure.
311         * sysdeps/s390/s390-64/bits/setjmp.h: Likewise.
313 2001-07-12  Martin Schwidefsky  <schwidefsky@de.ibm.com>
315         * sysdeps/s390/s390-32/bcopy.S: Use mvcle for big blocks
316         (> 64K) and a mvc loop for small blocks.
317         * sysdeps/s390/s390-32/memcpy.S: Likewise.
318         * sysdeps/s390/s390-64/bcopy.S: Likewise.
319         * sysdeps/s390/s390-64/memcpy.S: Likewise.
321 2001-07-15  Andreas Schwab  <schwab@suse.de>
323         * sysdeps/unix/sysv/linux/m68k/sys/procfs.h: New file.
324         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: New file.
326         * sysdeps/unix/sysv/linux/m68k/getpagesize.c: Check _dl_pagesize
327         first.  Default to 4096, not EXEC_PAGESIZE.
329         * iconv/loop.c (put16) [!_STRING_ARCH_unaligned && BIG_ENDIAN]:
330         Fix index.
332 2001-07-09  Andreas Jaeger  <aj@suse.de>
334         * sysdeps/unix/sysv/linux/i386/dl-procinfo.c: Name entry for xmm2.
336         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Add HWCAP_I386_XMM,
337         HWCAP_I386_XMM2 to enum.
339 2001-07-13  Andreas Jaeger  <aj@suse.de>
341         * libio/fileops.c: Include unistd.h for lseek64 prototype.  Closes
342         PR libc/2372.
344 2001-07-12  Ulrich Drepper  <drepper@redhat.com>
346         * Makeconfig: Add some more changes to handle AIX linker better.
348 2001-07-12  H.J. Lu  <hjl@gnu.org>
350         * sysdeps/generic/segfault.c: Include <errno.h>.
352 2001-07-01  Andreas Jaeger  <aj@suse.de>
354         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk): Remove duplicate
355         sbrk.  Closes PR libc/2312.
357 2001-07-01  Andreas Jaeger  <aj@suse.de>
359         * sysdeps/generic/segfault.c (install_handler): Handle case that
360         the output file does not exists.  Closes PR libc/2345.
362 2001-07-11  Ulrich Drepper  <drepper@redhat.com>
364         * intl/locale.alias: Use he language code for hebrew, not il
365         [PR libc/2382].
367 2001-07-11  Jakub Jelinek  <jakub@redhat.com>
369         * iconv/gconv_int.h: Fix comment typo.
371 2001-07-11  Igor Khavkine  <i_khavki@alcor.concordia.ca>
373         * hurd/hurdsig.c (_hurdsig_init): Remove a useless line of code.
375 2001-07-07  Roland McGrath  <roland@frob.com>
377         * hurd/hurdsig.c (_hurd_thread_sigstate): Use MACH_PORT_NULL, not 0.
379 2001-07-10  Stephen L Moshier  <moshier@mediaone.net>
381         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl):  Fix
382         backwards conditional in test for x == 1.0.
384 2001-07-10  Andreas Jaeger  <aj@suse.de>
386         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Add ulps for tanh
387         (-0.7).
389 2001-07-09  Andreas Jaeger  <aj@suse.de>
391         * sysdeps/unix/sysv/linux/configure.in: Revert patch from
392         2001-07-05 for sysconfdir handling.
393         * config.make.in (sysconfdir): Likewise.
394         * configure.in: Likewise.
396         * configure.in: Always assign libc_cv_sysconfdir.
398 2001-07-08  Ulrich Drepper  <drepper@redhat.com>
400         * Makerules [AIX] (build-shlib-helper): Precede linker options
401         with -Wl.
403         * Makeconfig (config-LDFLAGS): Add ld.so only for ELF.
405         * sysdeps/unix/make_errlist.c: Adjust sys_errlist declaration to
406         what we define in <stdio.h>.
408         * iconv/iconv_prog.c (main): Don't unconditionally define
409         variables only use if _POSIX_MAPPED_FILES is defined.
411         * sysdeps/unix/sysv/aix/sendmsg.c (sendmsg): Fix return type.
412         * sysdeps/unix/sysv/aix/recvmsg.c (recvmsg): Likewise.
414         * sysdeps/unix/sysv/aix/recv.c: New file.
416         * sysdeps/unix/sysv/aix/recvfrom.c: Fix various types.
418 2001-07-07  Ulrich Drepper  <drepper@redhat.com>
420         * sysdeps/generic/recv.c: Fix return type.
422         * sysdeps/unix/sysv/aix/dl-libc.c (__libc_dlclose): Fix typo.
424         * sysdeps/unix/sysv/aix/gettimeofday.c (__gettimeofday): Add
425         declarations for asm functions.
427         * include/libc-symbols.h: Provide more dummy definitions for the
428         case if GNU ld isn't used.
430         * libio/freopen.c: Include <stdlib.h> for free declaration.
431         * libio/freopen64.c: Likewise.
433         * sysdeps/alpha/fpu/libm-test-ulps: Add deltas for tanh(-0.7).
435 2001-07-06  Jakub Jelinek  <jakub@redhat.com>
437         * sysdeps/unix/sysv/linux/i386/sigaction.c (RESTORE2): Put asm
438         explicitly into .text section.
440 2001-04-16  Jes Sorensen  <jes@linuxcare.com>
442         * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h (struct sigcontext):
443         Add 16 longwords reserved for future use to match changes in the
444         kernel.
446 2001-07-03  Jes Sorensen  <jes@trained-monkey.org>
448         * sysdeps/ia64/strncpy.S: Call strnlen() when determining the
449         string length rather than strlen(). Solves the performance problem
450         of doing strlen on a 5MB string when strncpy was called with a
451         length argument of 5 bytes.
453 2001-07-02  Jakub Jelinek  <jakub@redhat.com>
455         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
456         R_SPARC_UA16 and R_SPARC_UA32.
457         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
459 2001-07-01  Stephen L Moshier  <moshier@mediaone.net>
461         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl):
462         acosh(x) = ln(2x) if x > 2^30.
463         * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl):
464         acosh(x) = ln(2x) if x > 2^54.
466 2001-07-07  Mark Kettenis  <kettenis@gnu.org>
468         * sysdeps/mach/hurd/i386/exc2signal.c (_hurd_exception2signal):
469         Generate SIGSEGV instead of SIGBUS for KERN_INVALID_ADDRESS and
470         KERN_WRITE_PROTECTION_FAILURE.
472 2001-07-07  Ulrich Drepper  <drepper@redhat.com>
474         * posix/regex.c: Limit string length printed in debug messages to
475         100 chars.
477         * configure.in: Don't warn about versioning if not on ELF system.
479 2001-07-07  Andreas Jaeger  <aj@suse.de>
481         * sysdeps/*: Put files from GNU MP Library under LGPL v2.1.
483 2001-07-06  Ulrich Drepper  <drepper@redhat.com>
485         * po/gl.po: Update from translation team.
487 2001-07-06  Andreas Jaeger  <aj@suse.de>
489         * sysdeps/unix/sysv/linux/configure.in: Fix handling of
490         sysconfdir.
492         * manual/libc-texinfo.sh: Add note for the FDL.
494         * manual/argp.texi (Argp Example 4): Fix texinfo warning.
496         * manual/libc.texinfo: Regenerated.
498         * manual/fdl.texi: Fix node.
500         * config.make.in (sysconfdir): Replace correctly.
501         Closes PR libc/2369, reported by Peter Simons <simons@cryp.to>.
503         * sysdeps/unix/sysv/linux/alpha/configure.in: Removed, it's no
504         longer needed.
506         * sysdeps/unix/sysv/linux/configure.in (libc_cv_linuxVER): Add
507         case for alpha.
508         Rework handling of missing linuxthreads add-on.
510         * configure.in: Remove unused sysconfdir substitution.
512         * manual/Makefile (texis): Add fdl.texi.
513         * manual/fdl.texi: New.
514         * manual/socket.texi (Host Names): Improve grammar, fix overflow hbox.
515         * manual/libc.texinfo: Add fdl, update titlepage.
516         Patches by Brian Youmans <3diff@gnu.org>.
518         * sysdeps/unix/make_errlist.c (main): Print LGPL v2.1 for
519         generated file.
521 2001-07-06  Paul Eggert  <eggert@twinsun.com>
523         * manual/argp.texi: Remove ignored LGPL copyright notice; it's
524         not appropriate for documentation anyway.
525         * manual/libc-texinfo.sh: "Library General Public License" ->
526         "Lesser General Public License".
527         * COPYING: Fix Y2k bug in sample copyright notices.
528         * manual/lesser.texi: Renamed from manual/lgpl.texinfo,
529         as fsf.org uses the name "lesser.texi".
530         * manual/Makefile (texis): Follow rename.
532 2001-07-06  Andreas Jaeger  <aj@suse.de>
534         * All files under GPL/LGPL version 2: Place under LGPL version
535         2.1.
537 2001-07-05  Andreas Jaeger  <aj@suse.de>
539         Synch with Linux 2.4.6:
540         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_BLUETOOTH):
541         New.
542         (AF_BLUETOOTH): New.
544         * sysdeps/unix/sysv/linux/s390/s390-64/bits/socket.h
545         (PF_BLUETOOTH): New.
546         (AF_BLUETOOTH): New.
548         * sysdeps/unix/sysv/linux/mips/bits/socket.h (AF_BLUETOOTH): New.
549         (PF_BLUETOOTH): New.
551         * sysdeps/unix/sysv/linux/ia64/bits/socket.h (AF_BLUETOOTH): New.
552         (PF_BLUETOOTH): New.
554         * sysdeps/unix/sysv/linux/alpha/bits/socket.h (PF_BLUETOOTH): New.
555         (AF_BLUETOOTH): New.
557         * sysdeps/unix/sysv/linux/bits/socket.h (PF_BLUETOOTH): New.
558         (AF_BLUETOOTH): New.
560         * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_IEEE80211): New.
562         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (N_HCI): New.
564         * sysdeps/unix/sysv/linux/mips/bits/ioctl-types.h (N_HCI): New.
566         * sysdeps/unix/sysv/linux/bits/ioctl-types.h (N_HCI): New.
568 2001-07-04  Roland McGrath  <roland@frob.com>
570         * hurd/hurdsig.c (_hurd_internal_post_signal): For SS->suspended
571         wakeup message, use MACH_MSG_TYPE_MAKE_SEND for the receiver port
572         rather than doing a mach_port_insert_right call first.
574 2001-06-26  Roland McGrath  <roland@frob.com>
576         * hurd/hurdioctl.c: Include <string.h> for memcpy decl.
578 2001-07-03  Andreas Jaeger  <aj@suse.de>
580         * sysdeps/unix/sysv/sysv4/solaris2/configure.in: Remove check for
581         crypt add-on.
583 2001-07-01  Mark Kettenis  <kettenis@gnu.org>
585         * sysdeps/mach/hurd/if_index.c: Redone to use new interfaces in
586         the Hurd pfinet server, using equivalent code from the Linux
587         version in sysdeps/unix/sysv/linux/if_index.c. In detail:
588         Include <unistd.h>, <error.h>, <sys/ioctl.h>, <hurd/ioctl.h> and
589         <hurd/pfinet.h>.  Don't include <sys/mman.h> and <hurd/fsys.h>
590         anymore.
591         (if_nametoindex): New implementation using SIOCGIFINDEX.
592         (if_freenameindex): Straight copy of the Linux version.
593         (if_nameindex): New implementation based on pfinet_siocgifconf and
594         SIOCGIFINDEX.
595         (if_indextoname): New implementation using SIOCGIFNAME.
596         (map_interfaces): Function removed.
597         From Marcus Brinkmann <marcus@gnu.org>.
599 2001-06-30  Jakub Jelinek  <jakub@redhat.com>
601         * sysdeps/powerpc/dl-machine.c (__elf_preferred_address): Prefer
602         gaps below main executable.
604 2001-06-19  Andreas Jaeger  <aj@suse.de>
606         * sysdeps/powerpc/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE):
607         Handle profiling.
609 2001-06-29  Andreas Jaeger  <aj@suse.de>
611         * sysdeps/ieee754/ldbl-128/s_asinhl.c: New file.
612         Patch by Stephen L Moshier <moshier@mediaone.net>.
614 2001-06-28  Ulrich Drepper  <drepper@redhat.com>
616         * manual/argp.texi: Tons of cleanups.
617         Patch by Clifford U. Smith <cuel@swbell.net>.
619 2001-06-28  Mark Kettenis  <kettenis@gnu.org>
621         * manual/users.texi (Setting Groups): Correct initgroups
622         documentation.  Add documentation for getgrouplist.
624 2001-06-28  H.J. Lu  <hjl@gnu.org>
626         * locale/findlocale.c (locale_file_list): Renamed to ...
627         (_nl_locale_file_list): This.  Make it extern.
628         (free_mem): Move to ...
629         * locale/setlocale.c (free_mem): Here.
631 2001-06-28  Mark Kettenis  <kettenis@gnu.org>
633         * sysdeps/mach/hurd/read.c: Include <hurd/fd.h>.
634         (__libc_read): Don't call __pread.  Use _hurd_fd_read directly
635         instead.
636         * sysdeps/mach/hurd/write.c: Include <hurd/fd.h>.
637         (__libc_write): Don't call __pwrite.  Use _hurd_fd_write directly
638         instead.
640         * sysdeps/mach/hurd/Makefile ($(link-rpcuserlibs)): Add back
641         -Wl,-soname option lost in 2001-06-16 change.
643 2001-06-27  Ulrich Drepper  <drepper@redhat.com>
645         * posix/tst-regex.c: Pass REG_NEWLINE to regcomp.  Add extra tests.
646         Restrict printing of string in debug mode to 100 characters to make
647         the output useful for long input texts.
649         * posix/Makefile: Add rules to build and run tst-regex.
651 2001-06-20  Isamu Hasegawa  <isamu@yamato.ibm.com>
653         * posix/regex.c (FREE_WCS_BUFFERS): New macro to free buffers.
654         (re_search_2): Invoke convert_mbs_to_wcs and FREE_WCS_BUFFERS.
655         (wcs_re_match_2_internal): Check whether the wcs buffers need
656         seting up or not, and skip seting up routin if not needed.
658 2001-06-26  Isamu Hasegawa  <isamu@yamato.ibm.com>
660         * posix/regex.c (count_mbs_length): Use binary search for optimization.
662 2001-06-27  Ulrich Drepper  <drepper@redhat.com>
664         * posix/tst-regex.c: Fix several bugs.  Add more tests.
666 2001-06-26  Mark Kettenis  <kettenis@gnu.org>
668         * hurd/Makefile (user-interfaces): Add pfinet.
669         * hurd/hurdioctl.c: Include <hurd/pfinet.h>, <net/if.h> and
670         <netinet/in.h>.
671         (siocgifconf): New function.  Register it with HURD_HANDLE_IOCTL
672         as the handler for SIOCGIFCONF.
673         * sysdeps/mach/hurd/bits/ioctls.h: Modify SIOCSIFFLAGS and
674         SIOCGIFFLAGS to be of IOC type ifreq_short.  Modify SIOCSIFMETRIC
675         and SIOCGIFMETRIC to be of IOC type ifreq_int.  Add new macro
676         definitions for SIOCGIFMTU, SIOCSIFMTU, SIOCGIFINDEX and
677         SIOCGIFNAME.
678         From Marcus Brunkmann <marcus@gnu.org>.
680 2001-06-25  Ulrich Drepper  <drepper@redhat.com>
682         * sysdeps/gnu/net/if.h: Correct _IOT_ifreq and add _IOT_ifreq_short
683         and _IOT_ifreq_int.  Patch by Mark Kettenis <kettenis@wins.uva.nl>.
685         * elf/dl-deps.c (_dl_map_object_deps): Fix handling of failing
686         _dl_catch_error calls.
688 2001-06-22  Jakub Jelinek  <jakub@redhat.com>
690         * posix/regex.c (regex_compile, re_match_2_internal): Fix comment
691         typos.
693 2001-06-01  Wolfram Gloger  <wg@malloc.de>
695         * malloc/malloc.c (malloc_atfork, free_atfork): Use a unique value
696         ATFORK_ARENA_PTR, not 0, for the thread-specific arena pointer
697         when malloc_atfork is in use.
699 2001-06-22  Andreas Jaeger  <aj@suse.de>
701         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Add parenthese
702         to avoid warnings.
704         * sysdeps/i386/fpu/e_expl.c (__ieee754_expl): Remove unused
705         variable.
706         Add unused attributes to avoid warnings.
708         * elf/reldep4mod4.c: Add prototype to avoid warning.
709         * elf/reldep4mod2.c: Likewise.
711         * sysdeps/i386/fpu/e_expl.c: Include <math_private.h> for
712         prototypes.
714 2001-06-18  Roland McGrath  <roland@frob.com>
716         * hurd/hurd/fd.h (_hurd_fd_error_signal): Change return type to int.
718 2001-06-20  Alexandre Oliva  <aoliva@redhat.com>
720         * sysdeps/unix/sysv/settimeofday.c: Include time.h.
722 2001-06-19  Martin Schwidefsky  <schwidefsky@de.ibm.com>
724         * sysdeps/unix/sysv/linux/s390/s390-64/dl-cache.h: New file.
726 2001-05-09  Michael Keezer  <mkeezer@redhat.com>
728         * Makeconfig: Added AIX-ld support for DSO.
729         * Makerules: Likewise.
730         * dlfcn/Makefile (defaultmod1.so): Added libc_nonshared.
731         (defaultmod2.so): Likewise.
732         * debug/Makefile: Conditionalize use of elf/ld.so.
733         * iconvdata/Makefile: Moved LDFLAG rpath/soname info into Makeconfig.
735         * sysdeps/unix/sysv/aix/Makefile: Added dl-support.c and dl-error.c.
736         * sysdeps/unix/sysv/aix/Makefile: Made (f/g)rsave(0/1) &
737         (f/g)prrest(0/1) static only.
738         * sysdeps/unix/sysv/aix/gettimeofday.c: Removed #if 0.
739         * sysdeps/unix/sysv/aix/start.c: Define __dso_handle if not ELF but
740         shared.
741         * sysdeps/unix/sysv/aix/setitimer.c: New file.
742         * sysdeps/unix/sysv/aix/sleep.c: New file.
743         * sysdeps/unix/sysv/aix/usleep.c: New file.
744         * sysdeps/unix/sysv/aix/dl-addr.c: New file.
745         * sysdeps/unix/sysv/aix/dl-error.c: New file.
746         * sysdeps/unix/sysv/aix/dl-support.c: New file.
747         * sysdeps/unix/sysv/aix/powerpc/register-dump.h: New file.
749 2001-06-19  Ulrich Drepper  <drepper@redhat.com>
751         * po/es.po: Update from translation team.
753 2001-06-19  Andreas Jaeger  <aj@suse.de>
755         * sysdeps/ieee754/ldbl-128/s_tanhl.c: New file.
757         * math/libm-test.inc (tanh_test): Test for 2^-56.
759         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Make sure result
760         equals argument when x < 2^-55.
761         Patches by Stephen L. Moshier <moshier@na-net.ornl.gov>.
763 2001-06-17  Alan Modra  <amodra@bigpond.net.au>
765         * sysdeps/hppa/dl-machine.h (elf_machine_rela): Handle relocs
766         at unaligned address.
768 2001-06-18  Ulrich Drepper  <drepper@redhat.com>
770         * posix/regex.c: Reorganize code to build code twice, once for single
771         byte, once for multi-byte charsets.  Choose function set adequate for
772         locale at runtime.
773         Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
775         * po/nl.po: Update from translation team.
777 2001-06-09  Bruno Haible  <haible@clisp.cons.org>
779         * iconvdata/gconv-modules (BIG5HKSCS): New alias BIG5-HKSCS.
780         (ISO-8859-14): New aliases ISO_8859-14 and ISO-CELTIC.
781         * iconvdata/tst-tables.sh: For BIG5HKSCS, use BIG5-HKSCS charmap.
783 2001-05-26  Bruno Haible  <haible@clisp.cons.org>
785         * iconvdata/tst-tables.sh: For SJIS module, use SHIFT_JIS charmap.
786         * manual/charset.texi: Write Shift_JIS, not Shift-JIS.
788 2001-06-17  Roland McGrath  <roland@frob.com>
790         * sysdeps/pthread/aio_misc.h (LIO_DSYNC): Define to LIO_NOP + 1,
791         not LIO_READ + 1 (which is the value of LIO_WRITE!).
793         * Makerules (build-module-helper-objlist): New variable,
794         broken out of build-module.  Insert --whole-archive/--no-whole-archive
795         immediately each *_pic.a file in the link object list.
796         (whole-archive): New variable, used by that.
797         (build-module-objlist): New variable using build-module-helper-objlist.
798         (build-module, build-module-helper): Use it.
799         (build-shlib-objlist): New variable using build-module-helper-objlist.
800         (build-shlib): Use that.
801         * sysdeps/mach/hurd/Makefile ($(link-rpcuserlibs)): Likewise.
803         * posix/spawni.c: Moved to ...
804         * sysdeps/posix/spawni.c: ... here.
805         * sysdeps/generic/spawni.c: New file.
807 2001-06-16  Roland McGrath  <roland@frob.com>
809         * hurd/Makefile (routines): Add lookup-retry.
810         * hurd/hurdlookup.c (__hurd_file_name_lookup_retry): Broken out ...
811         * hurd/lookup-retry.c: ... into here, new file.
812         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Call that instead
813         using of duplicate code here.
815         * hurd/hurdexec.c (_hurd_exec): Be robust for DTABLESIZE==0.
817 2001-06-17  Ulrich Drepper  <drepper@redhat.com>
819         * po/ja.po: Update from translation team.
821 2001-06-04  Bruno Haible  <haible@clisp.cons.org>
823         * locale/programs/locfile.c (siblings_uncached, siblings, full_read,
824         compare_files): New functions.
825         (write_locale_data): Use xmalloc.  Compare the file with the locale
826         data files for the same category in other locales, and reuse it if
827         possible and safe.
829 2001-06-07  Mark Kettenis  <kettenis@gnu.org>
831         * grp/initgroups.c (initgroups): Factor out re-usable code into...
832         (internal_getgrouplist): ... new function.
833         (getgrouplist): New function.
834         * grp/grp.h (getgrouplist): New prototype.
835         * grp/Versions [2.2.4]: Add getgrouplist.
837 2001-06-16  Ulrich Drepper  <drepper@redhat.com>
839         * inet/netinet/ip6.h: Fix comments in ip6_hdr.
840         Patch by Pekka Savola <pekkas@netcore.fi>.
842 2001-06-15  Roland McGrath  <roland@frob.com>
844         * rt/Makefile (aio-routines, clock-routines, timer-routines): New
845         variables, broken out of librt-routines.
846         (librt-routines): Set using those.
847         (extra-libs, extra-libc-others, tests): Set these unconditionally.
848         (distribute): No need for $(librt-map) or $(librt-routines:=.c) here.
849         * sysdeps/generic/aio_fsync.c: New file.
850         * sysdeps/generic/aio_misc.c: New file.
851         * sysdeps/generic/aio_write.c: New file.
852         * sysdeps/generic/aio_write64.c: New file.
853         * sysdeps/generic/aio_read64.c: New file.
854         * sysdeps/generic/aio_read.c: New file.
855         * sysdeps/generic/aio_notify.c: New file.
856         * sysdeps/generic/lio_listio64.c: New file.
857         * sysdeps/generic/lio_listio.c: New file.
858         * sysdeps/generic/aio_cancel.c: New file.
859         * sysdeps/generic/aio_misc.h: New file.
860         * sysdeps/generic/aio_suspend.c: New file.
861         * rt/aio_cancel.c: Moved to ...
862         * sysdeps/pthread/aio_cancel.c: ... here.
863         * rt/aio_fsync.c: Moved to ...
864         * sysdeps/pthread/aio_fsync.c: ... here.
865         * rt/aio_misc.c: Moved to ...
866         * sysdeps/pthread/aio_misc.c: ... here.
867         * rt/aio_misc.h: Moved to ...
868         * sysdeps/pthread/aio_misc.h: ... here.
869         * rt/aio_notify.c: Moved to ...
870         * sysdeps/pthread/aio_notify.c: ... here.
871         * rt/aio_read.c: Moved to ...
872         * sysdeps/pthread/aio_read.c: ... here.
873         * rt/aio_read64.c: Moved to ...
874         * sysdeps/pthread/aio_read64.c: ... here.
875         * rt/aio_suspend.c: Moved to ...
876         * sysdeps/pthread/aio_suspend.c: ... here.
877         * rt/aio_write.c: Moved to ...
878         * sysdeps/pthread/aio_write.c: ... here.
879         * rt/aio_write64.c: Moved to ...
880         * sysdeps/pthread/aio_write64.c: ... here.
881         * rt/lio_listio.c: Moved to ...
882         * sysdeps/pthread/lio_listio.c: ... here.
883         * rt/lio_listio64.c: Moved to ...
884         * sysdeps/pthread/lio_listio64.c: ... here.
886 2001-06-14  Roland McGrath  <roland@frob.com>
888         * configure.in: Let sysdeps Implies files in add-ons bring in
889         sysdeps directories from the main source and other add-ons too.
891 2001-06-15  Jakub Jelinek  <jakub@redhat.com>
893         * math/test-misc.c (main): Add tests for nextafter and nexttoward
894         with +-Inf as second argument.
896         * sysdeps/generic/s_nexttowardf.c (__nexttowardf): Only check for
897         NaN, not Inf.
898         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Fix check for NaN.
899         * sysdeps/i386/fpu/s_nexttoward.c: New.
900         * sysdeps/i386/fpu/s_nexttowardf.c: New.
901         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Simplify
902         check for NaN, optimize x==+-0 handling.
903         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf): Likewise.
904         * sysdeps/ieee754/ldbl-96/s_nextafterl.c (__nextafterl): Simplify
905         check for NaN, fix sign in x==+-0 case.
906         * sysdeps/ia64/fpu/s_nexttoward.c: New.
907         * sysdeps/ia64/fpu/s_nexttowardf.c: New.
909 2001-06-15  H.J. Lu  <hjl@gnu.org>
911         * rt/tst-aio2.c (do_test): Initialize cb.aio_offset to 0.
912         * rt/tst-aio3.c (do_test): Likewise.
913         * rt/tst-aio4.c (do_test): Likewise.
914         * rt/tst-aio5.c (do_test): Likewise.
915         * rt/tst-aio6.c (do_test): Likewise.
917 2001-06-15  Andreas Schwab  <schwab@suse.de>
919         * sysdeps/m68k/fpu/bits/mathinline.h: Don't define log2 as inline.
920         * sysdeps/m68k/fpu/mathimpl.h: Define __ieee754_log2 as inline.
922 2001-06-15  Andreas Jaeger  <aj@suse.de>
924         * gmon/tst-sprofil.c (fac): Make static to avoid compiler warning.
926 2001-06-14  Andreas Schwab  <schwab@suse.de>
928         * elf/ldconfig.c (search_dir): Fix check for regular file.
930         * sysdeps/m68k/fpu/e_log2f.c: Fix typo.
931         * sysdeps/m68k/fpu/e_log2l.c: Fix typo.
933 2001-06-14  Roland McGrath  <roland@frob.com>
935         * sysdeps/mach/hurd/bits/fcntl.h [ __USE_POSIX199309 || __USE_UNIX98]:
936         (O_DSYNC, O_RSYNC): New macros, both defined to O_SYNC as Linux does.
938 2001-06-13  Roland McGrath  <roland@frob.com>
940         * rt/aio_notify.c: Include <unistd.h> for _POSIX_REALTIME_SIGNALS.
942         * sysdeps/mach/hurd/fork.c (LOSE): Put `goto lose' in dead code
943         so the label is not considered unused.
945         * sysdeps/mach/hurd/pwrite64.c: New file.
946         * sysdeps/mach/hurd/pread64.c: New file.
948         * sysdeps/mach/hurd/pread.c
949         (__libc_pread): Define this name, with __pread as an alias.
950         * sysdeps/mach/hurd/pwrite.c
951         (__libc_pwrite): Define this name, with __pwrite as an alias.
953         Implement POSIX "shared memory objects" as regular
954         files residing in the /var/run/shm/ directory.
955         This works on any system that supports _POSIX_MAPPED_FILES,
956         to make it also support _POSIX_SHARED_MEMORY_OBJECTS.
957         * sysdeps/posix/shm_open.c: New file.
958         * sysdeps/posix/shm_unlink.c: New file.
959         * sysdeps/mach/hurd/bits/posix_opt.h
960         (_POSIX_SHARED_MEMORY_OBJECTS): Define it.
962         * rt/aio_notify.c (__aio_notify_only) [! _POSIX_REALTIME_SIGNALS]:
963         Use raise instead of __aio_sigqueue.
965         * sysdeps/mach/hurd/pread.c: Fail with EINVAL if OFFSET is negative.
966         * sysdeps/mach/hurd/pwrite.c: Likewise.
968         * shlib-versions [USE_IN_LIBIO] (.*-.*-gnu-gnu.*): libc=0.3
969         [USE_IN_LIBIO && !GLIBC_OLDEST_ABI] (.*-.*-gnu-gnu.*): Use GLIBC_2.2.4
970         as default version set.
972 2001-06-13  Ulrich Drepper  <drepper@redhat.com>
974         * libio/iolibio.h (_IO_freopen): Correct last parameter to
975         _IO_file_open.
976         (_IO_freopen64): Likewise.
977         Reported by simanek@quantum.karlov.mff.cuni.cz [PR libc/2326].
979         * elf/elf.h: Add a few more EM_* constants.
981 2001-06-12  Bruno Haible  <haible@clisp.cons.org>
983         * intl/dcigettext.c (DCIGETTEXT): Release the lock before returning.
985 2001-06-09  Ben Collins  <bcollins@debian.org>
987         * sysdeps/unix/sysv/linux/bits/termios.h: Define __MAX_BAUD.
988         * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
989         * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
990         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
991         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
992         * sysdeps/unix/sysv/linux/speed.c: Use __MAX_BAUD instead of
993         hardcoded B400000.
995 2001-06-13  Ulrich Drepper  <drepper@redhat.com>
997         * time/sys/time.h: Don't use enum __itimer_which ever for
998         __itimer_which_t for C++.
999         Reported by Martin Buchholz <martin@xemacs.org>.
1001         * po/fr.po: Update from translation team.
1003 2001-06-12  H.J. Lu  <hjl@gnu.org>
1005         * configure.in: Fix typos in missing program names.
1006         * configure: Regenerated.
1008 2001-06-12  Andreas Jaeger  <aj@suse.de>
1010         * iconvdata/tst-table-to.c: Include string.h for strcmp prototype.
1012         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Add ULPs for tanh (-0.7).
1014 2001-06-11  Andreas Jaeger  <aj@suse.de>
1016         * sysdeps/ieee754/ldbl-128/e_coshl.c: New file.  Contributed by
1017         Stephen L Moshier <moshier@mediaone.net>.
1019         * aclocal.m4: Quote AC_FD_MSG and AC_FD_CC.
1021         * sysdeps/powerpc/fpu/libm-test-ulps: Add ULPs for tanh (-0.7).
1022         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
1024 2001-06-11  Michael Deutschmann  <michael@talamasca.ocis.net>
1026         * rt/tst-aio4.c (do_test): Test whether rt signals are supported.
1027         Use my_signo instead of MY_SIGNO and initialize it so that the
1028         used signal is always available.
1030 2001-06-11  Andreas Jaeger  <aj@suse.de>,
1031             Michael Deutschmann  <michael@talamasca.ocis.net>
1033         * io/test-lfs.c (do_prepare): Clean up error messages.
1034         (test_ftello): Check for EFBIG and ENOSPC, clean up error messages.
1035         (do_test): Likewise.
1037 2001-06-11  Andreas Jaeger  <aj@suse.de>
1039         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (IXANY, IUCLC,
1040         IMAXBEL): Make always visible since they're needed by POSIX.
1041         Closes PR libc/2320, reported by Chris Yeoh <cyeoh@samba.org>.
1043 2001-06-10  Ben Collins  <bcollins@debian.org>
1045         * sysdeps/arm/elf/start.S: Use #function, not @function, for
1046         .type of _start.
1048         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Include limits.h to get
1049         INT_MAX.
1051 2001-06-07  H.J. Lu  <hjl@gnu.org>
1053         * sunrpc/rpc/rpc.h: Add __BEGIN_DECLS/__END_DECLS.
1055 2001-06-10  Roland McGrath  <roland@frob.com>
1057         * elf/reldep4mod2.c: Use fully typed decls to avoid warnings.
1058         * elf/reldep4mod4.c: Likewise.
1060 2001-06-10  Mark Kettenis  <kettenis@gnu.org>
1062         * hurd/hurd/threadvar.h: Add prototype for __hurd_errno_location.
1064 2001-06-08  Andreas Schwab  <schwab@suse.de>
1066         * posix/regex.c (re_match_2_internal) [case wordbeg, wordend]:
1067         Don't dereference at end of string.
1069 2001-06-06  Roland McGrath  <roland@frob.com>
1071         * sysdeps/mach/hurd/getsockopt.c: Fix handling of returned buffer size.
1072         From Robert Bihlmeyer <robbe@orcus.priv.at>.
1074 2001-06-06  Ulrich Drepper  <drepper@redhat.com>
1076         * po/ko.po: Update from translation team.
1078 2001-06-06  Andreas Jaeger  <aj@suse.de>
1080         * manual/llio.texi (Memory-mapped I/O): Clarify that mapping is to
1081         offset+length-1.
1082         Reported by Robert Bernecky <bernecky@acm.org>.
1084 2001-06-06  Jakub Jelinek  <jakub@redhat.com>
1086         * sysdeps/cris/elf/start.S: Fix a typo introduced by last patch.
1087         * sysdeps/ia64/elf/start.S: Likewise.
1088         * sysdeps/sh/elf/start.S: Likewise.
1089         * sysdeps/s390/s390-32/elf/start.S: Likewise.
1090         * sysdeps/s390/s390-64/elf/start.S: Likewise.
1092 2001-06-05  Matthew Wilcox  <willy@ldl.fc.hp.com>
1094         * sysdeps/hppa/bsd-_setjmp.S: New.
1095         * sysdeps/hppa/bsd-setjmp.S: New.
1097         * sysdeps/hppa/dl-machine.h: Reformat asm statements to remove new
1098         gcc warnings about multi-line strings.
1100         * sysdeps/unix/sysv/linux/hppa/getrlimit.c: Remove.
1101         * sysdeps/unix/sysv/linux/hppa/setrlimit.c: Remove.
1103         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Call getrlimit,
1104         setrlimit directly instead of using wrappers.
1106 2001-05-01  Richard Hirst  <rhirst@linuxcare.com>
1108         * sysdeps/unix/sysv/linux/hppa/syscall.S: remove dummy syscall.
1109         * sysdeps/unix/sysv/linux/hppa/sysdep.c: implement syscall.
1111 2001-06-05  Philipp Thomas  <pthomas@suse.de>
1113         * nis/nis_call.c (__nisbind_connect): Don't mark for translation
1114         what can't be translated.
1116 2001-06-06  Ulrich Drepper  <drepper@redhat.com>
1118         * timezone/zic.c: Update from tzcode2001c.
1119         * timezone/private.h: Likewise.
1120         * timezone/africa: Update from tzdata2001c.
1121         * timezone/asia: Likewise.
1122         * timezone/europe: Likewise.
1123         * timezone/northamerica: Likewise.
1124         * timezone/southamerica: Likewise.
1125         * timezone/zone.tab: Likewise.
1127 2001-06-04  Bruno Haible  <haible@clisp.cons.org>
1129         * iconv/loop.c (UNICODE_TAG_HANDLER): New macro.
1130         * iconv/gconv_simple.c (__gconv_transform_internal_ascii): Invoke
1131         UNICODE_TAG_HANDLER.
1132         (__gconv_transform_internal_ucs2): Likewise.
1133         (__gconv_transform_internal_ucs2reverse): Likewise.
1134         * iconvdata/8bit-gap.c (BODY for TO_LOOP): Invoke UNICODE_TAG_HANDLER.
1135         * iconvdata/8bit-generic.c (BODY for TO_LOOP): Likewise.
1136         * iconvdata/ansi_x3.110.c (BODY for TO_LOOP): Likewise.
1137         * iconvdata/big5.c (BODY for TO_LOOP): Likewise.
1138         * iconvdata/big5hkscs.c (BODY for TO_LOOP): Likewise.
1139         * iconvdata/cp1255.c (BODY for TO_LOOP): Likewise.
1140         * iconvdata/cp1258.c (BODY for TO_LOOP): Likewise.
1141         * iconvdata/euc-cn.c (BODY for TO_LOOP): Likewise.
1142         * iconvdata/euc-jp.c (BODY for TO_LOOP): Likewise.
1143         * iconvdata/euc-kr.c (BODY for TO_LOOP): Likewise.
1144         * iconvdata/euc-tw.c (BODY for TO_LOOP): Likewise.
1145         * iconvdata/gbk.c (BODY for TO_LOOP): Likewise.
1146         * iconvdata/ibm930.c (BODY for TO_LOOP): Likewise.
1147         * iconvdata/ibm932.c (BODY for TO_LOOP): Likewise.
1148         * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
1149         * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
1150         * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
1151         * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
1152         * iconvdata/ibm943.c (BODY for TO_LOOP): Likewise.
1153         * iconvdata/iso646.c (BODY for TO_LOOP): Likewise.
1154         * iconvdata/iso8859-1.c (BODY for TO_LOOP): Likewise.
1155         * iconvdata/iso_6937.c (BODY for TO_LOOP): Likewise.
1156         * iconvdata/iso_6937-2.c (BODY for TO_LOOP): Likewise.
1157         * iconvdata/iso-2022-cn.c (BODY for TO_LOOP): Likewise.
1158         * iconvdata/iso-2022-cn-ext.c (BODY for TO_LOOP): Likewise.
1159         * iconvdata/iso-2022-kr.c (BODY for TO_LOOP): Likewise.
1160         * iconvdata/johab.c (BODY for TO_LOOP): Likewise.
1161         * iconvdata/sjis.c (BODY for TO_LOOP): Likewise.
1162         * iconvdata/t.61.c (BODY for TO_LOOP): Likewise.
1163         * iconvdata/uhc.c (BODY for TO_LOOP): Likewise.
1164         * iconvdata/unicode.c (BODY for TO_LOOP): Likewise.
1165         * iconvdata/iso-2022-jp.c (TAG_none, TAG_language, TAG_language_j,
1166         TAG_language_ja, TAG_language_k, TAG_language_ko, TAG_language_z,
1167         TAG_language_zh, CURRENT_TAG_MASK): New enum values.
1168         (EMIT_SHIFT_TO_INIT): Don't emit an escape sequence if ASCII_set
1169         is already selected but set2 or tag are set.
1170         (conversion): New enum type.
1171         (cvlist_t): New type.
1172         (CVLIST, CVLIST_FIRST, CVLIST_REST): New macros.
1173         (conversion_lists): New array.
1174         (BODY for TO_LOOP): Keep track of Unicode 3.1 language tag.  If "ja",
1175         prefer conversion to Japanese character sets.  If "zh", prefer
1176         conversion to GB2312.  If "ko", prefer conversion to KSC5601.  Small
1177         optimizations.
1178         (INIT_PARAMS): Add tag.
1179         (UPDATE_PARAMS): Add tag.
1181 2001-06-04  Bruno Haible  <haible@clisp.cons.org>
1183         * locale/programs/locfile.c (write_locale_data): Before creat(),
1184         unlink the file, to avoid crashing the processes that mmap it.  Change
1185         a double slash to a single slash.  Free fname in case of error return.
1187 2001-06-02  Jakub Jelinek  <jakub@redhat.com>
1189         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Mostly revert 2000-12-03
1190         changes, do the special handling for denormal numbers, not for
1191         normalized numbers (patch by <trevin@xmission.com>).
1193         * math/test-misc.c (main): Test frexpl with denormal arguments.
1195 2001-06-04  Jakub Jelinek  <jakub@redhat.com>
1197         * math/libm-test.inc (llround_test): Add two new llround tests.
1198         * sysdeps/ieee754/ldbl-96/s_llroundl.c (__llroundl): Don't allow
1199         overflow when rounding away from zero.
1201 2001-06-04  Jakub Jelinek  <jakub@redhat.com>
1203         * math/Makefile (libm-calls): Add e_log2, w_log2, remove s_log2.
1204         * math/math_private.h (__ieee754_log2, __ieee754_log2f,
1205         __ieee754_log2l): New prototypes.
1206         * sysdeps/generic/w_log2.c: New file.
1207         * sysdeps/generic/w_log2f.c: New file.
1208         * sysdeps/generic/w_log2l.c: New file.
1209         * sysdeps/generic/s_log2l.c: Move...
1210         * sysdeps/generic/e_log2l.c: ...to here.  Rename to __ieee754_log2l.
1211         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle log2(0)
1212         and log2(x < 0).
1213         * sysdeps/i386/fpu/s_log2.S: Move...
1214         * sysdeps/i386/fpu/e_log2.S: ...to here.  Rename to __ieee754_log2.
1215         * sysdeps/i386/fpu/s_log2f.S: Move...
1216         * sysdeps/i386/fpu/e_log2f.S: ...to here.  Rename to __ieee754_log2f.
1217         * sysdeps/i386/fpu/s_log2l.S: Move...
1218         * sysdeps/i386/fpu/e_log2l.S: ...to here.  Rename to __ieee754_log2l.
1219         * sysdeps/m68k/fpu/s_log2.c: Move...
1220         * sysdeps/m68k/fpu/e_log2.c: ...to here.  Rename to __ieee754_log2.
1221         * sysdeps/m68k/fpu/s_log2f.c: Move...
1222         * sysdeps/m68k/fpu/e_log2f.c: ...to here.  Rename to __ieee754_log2f.
1223         * sysdeps/m68k/fpu/s_log2l.c: Move...
1224         * sysdeps/m68k/fpu/e_log2l.c: ...to here.  Rename to __ieee754_log2l.
1225         * sysdeps/ieee754/dbl-64/s_log2.c: Move...
1226         * sysdeps/ieee754/dbl-64/e_log2.c: ...to here.  Rename to
1227         __ieee754_log2.
1228         * sysdeps/ieee754/flt-32/s_log2f.c: Move...
1229         * sysdeps/ieee754/flt-32/e_log2f.c: ...to here.  Rename to
1230         __ieee754_log2f.
1232 2001-06-04  Jakub Jelinek  <jakub@redhat.com>
1234         * sysdeps/generic/w_exp2.c (u_threshold): Lower threshold so that
1235         even arguments which result in denormalized exp2 are accepted.
1236         (__exp2): Arguments equal to u_threshold already result into
1237         underflow.
1238         * sysdeps/generic/w_exp2f.c (u_threshold, __exp2f): Likewise.
1239         * sysdeps/generic/w_exp2l.c (u_threshold, __exp2l): Likewise.
1240         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Lomark was too
1241         low, with corrected lowmark use greaterequal, not greater.
1242         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
1244 2001-06-04  Jakub Jelinek  <jakub@redhat.com>
1246         * math/libm-test.inc (ilogb_test): Test that ilogb(+-Inf) == INT_MAX.
1247         * sysdeps/i386/fpu/s_ilogb.S (__ilogb): Return INT_MAX for +-Inf.
1248         * sysdeps/i386/fpu/s_ilogbf.S (__ilogbf): Likewise.
1249         * sysdeps/i386/fpu/s_ilogbl.S (__ilogbl): Likewise.
1250         * sysdeps/ieee754/dbl-64/s_ilogb.c (__ilogb): Likewise.
1251         * sysdeps/ieee754/flt-32/s_ilogbf.c (__ilogbf): Likewise.
1252         * sysdeps/ieee754/ldbl-128/s_ilogbl.c (__ilogbl): Likewise.
1253         * sysdeps/ieee754/ldbl-96/s_ilogbl.c (__ilogbl): Likewise.
1255 2001-06-04  Jakub Jelinek  <jakub@redhat.com>
1257         * sysdeps/generic/w_coshl.c (__coshl): Test if finite argument
1258         gave non-finite result instead of using constant in generic
1259         version.
1260         * sysdeps/generic/w_coshf.c (__coshf): Likewise.
1261         * sysdeps/generic/w_cosh.c (__cosh): Likewise.
1262         * sysdeps/generic/w_exp10.c (o_threshold, u_threshold): Remove.
1263         (__exp10): Test if finite argument gave non-finite result.
1264         * sysdeps/generic/w_exp10f.c (o_threshold, u_threshold, __exp10f):
1265         Likewise.
1266         * sysdeps/generic/w_exp10l.c (o_threshold, u_threshold, __exp10l):
1267         Likewise.
1269 2001-06-04  Jakub Jelinek  <jakub@redhat.com>
1271         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Fix
1272         overflow threshold constant (log(LDBL_MAX)+M_LN2l).
1274 2001-05-29  Bruno Haible  <haible@clisp.cons.org>
1276         * locale/programs/ld-ctype.c (idx_table): New struct type.
1277         (idx_table_init, idx_table_get, idx_table_add): New functions.
1278         (MAX_CHARNAMES_IDX): Remove macro.
1279         (locale_ctype_t): Change type of charnames_idx field.
1280         (ctype_startup): Change initialization of charnames_idx field.
1281         (find_idx): Use idx_table_get and idx_table_add for speed.
1283         * locale/programs/charmap.c (charmap_new_char): Fix ucs4 value
1284         computation of characters in a range.
1286 2001-05-29  Bruno Haible  <haible@clisp.cons.org>
1288         * iconvdata/gb18030.c (__fourbyte_to_ucs1): Add mappings for <U03F4>,
1289         <U03F5>.
1290         (__ucs_to_gb18030_tab1): Likewise.
1291         (BODY for FROM_LOOP): Add mapping for <U00010000>..<U0010FFFF>.
1292         (BODY for TO_LOOP): Likewise.
1293         * iconvdata/tst-table-charmap.sh: Update for charmaps containing
1294         <U00xxxxxx> syntax.
1295         * iconvdata/tst-table-from.c (bmp_only): New variable.
1296         (utf8_decode): If bmp_only, don't return characters outside Unicode
1297         plane 0.
1298         (main): When testing UTF-8 or GB18030, set bmp_only to 1.  Don't print
1299         a conversion line if utf8_decode returns NULL.
1300         * iconvdata/tst-table-to.c (main): When testing encodings other than
1301         UTF-8 and GB18030, loop upto U+30000 instead of U+10000.  Use UTF-8
1302         instead of UCS-2 as input.
1303         * iconvdata/tst-table.sh: For GB18030, use only the part < 0x10000
1304         of the charmap.
1306 2001-05-29  Bruno Haible  <haible@clisp.cons.org>
1308         * iconvdata/cns11643l1.c: Update to Unicode 3.1.
1309         (__cns11643l1_to_ucs4_tab): Regenerated.
1310         (__cns11643l1_from_ucs4_tab12): Regenerated.
1311         * iconvdata/cns11643.c: Update to Unicode 3.1.
1312         (__cns11643l14_to_ucs4_tab): Remove array.
1313         (__cns11643l3_to_ucs4_tab, __cns11643l4_to_ucs4_tab,
1314         __cns11643l5_to_ucs4_tab, __cns11643l6_to_ucs4_tab,
1315         __cns11643l7_to_ucs4_tab, __cns11643l15_to_ucs4_tab): New arrays.
1316         (__cns11643_from_ucs4p0_tab): Renamed from __cns11643_from_ucs4_tab.
1317         (__cns11643_from_ucs4p2_tab): New array.
1318         * iconvdata/cns11643.h (__cns11643l14_to_ucs4_tab): Remove declaration.
1319         (__cns11643l3_to_ucs4_tab, __cns11643l4_to_ucs4_tab,
1320         __cns11643l5_to_ucs4_tab, __cns11643l6_to_ucs4_tab,
1321         __cns11643l7_to_ucs4_tab, __cns11643l15_to_ucs4_tab): New declarations.
1322         (cns11643_to_ucs4): Treat planes 3, 4, 5, 6, 7, 15 instead of 14.
1323         (__cns11643_from_ucs4_tab): Remove declaration.
1324         (__cns11643_from_ucs4p0_tab, __cns11643_from_ucs4p2_tab): New
1325         declarations.
1326         (ucs4_to_cns11643): Update for new arrays.  Treat U+3400..U+4DFF and
1327         U+20000..U+2A6D6.
1328         * iconvdata/cns11643l2.h (__cns11643_from_ucs4_tab): Remove
1329         declaration.
1330         (__cns11643_from_ucs4p0_tab): New declaration.
1331         (ucs4_to_cns11643l2): Update for new arrays.
1332         * iconvdata/iso-2022-cn-ext.c (BODY for FROM_LOOP): Handle planes
1333         3 to 7.
1334         (BODY for TO_LOOP): Handle planes 3 to 7, instead of plane 14.
1335         * iconvdata/EUC-TW.irreversible: New file.
1336         * iconvdata/tst-table.sh: Use it.
1337         * iconvdata/Makefile (distribute): Add CP1255.irreversible,
1338         CP1258.irreversible, EUC-TW.irreversible.
1340 2001-05-29  Bruno Haible  <haible@clisp.cons.org>
1342         * locale/C-translit.h.in: Add transliterations for new Unicode 3.1
1343         mathematical symbols.
1345 2001-06-05  Andreas Jaeger  <aj@suse.de>
1347         * manual/stdio.texi (Portable Positioning): Fix description of
1348         fpos_t and fpos64_t.
1350 2001-06-06  Ulrich Drepper  <drepper@redhat.com>
1352         * sysdeps/generic/wordexp.c: Undo last patch.  Use strndupa instead.
1354         * po/sk.po: Update from translation team.
1356 2001-06-05  Andreas Jaeger  <aj@suse.de>
1358         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Recognize
1359         tmpfs, patch by Stanislav Brabec <utx@penguin.cz>.
1360         Closes PR libc/2315.
1362 2001-06-05  Ulrich Drepper  <drepper@redhat.com>
1364         * sysdeps/generic/wordexp.c: Add missing free.
1365         Patch by yeti@physics.muni.cz.
1367 2001-06-02  Tom Browder  <tbrowder@home.com>
1369         * misc/tst-tsearch.c (mangle_tree): Ensure array indices are
1370         within bounds when lag > 0.
1372 2001-06-05  Ulrich Drepper  <drepper@redhat.com>
1374         * po/tr.po: New file.
1376 2001-06-05  Andreas Jaeger  <aj@suse.de>
1378         * manual/libm-err-tab.pl (parse_ulps): Fix typo.
1380 2001-06-04  H.J. Lu  <hjl@gnu.org>
1382         * sysdeps/alpha/elf/start.S: Add .type for the entry point.
1383         * sysdeps/arm/elf/start.S: Likewise.
1384         * sysdeps/hppa/elf/start.S: Likewise.
1385         * sysdeps/i386/elf/start.S: Likewise.
1386         * sysdeps/m68k/elf/start.S: Likewise.
1387         * sysdeps/mips/elf/start.S: Likewise.
1388         * sysdeps/ia64/elf/start.S: Likewise.
1389         * sysdeps/sh/elf/start.S: Likewise.
1390         * sysdeps/s390/s390-32/elf/start.S: Likewise.
1391         * sysdeps/s390/s390-64/elf/start.S: Likewise.
1392         * sysdeps/cris/elf/start.S: Likewise.
1394 2001-06-04  Bruce Mitchener  <bruce@cubik.org>
1396         * manual/resource.texi: Correct setpriority/nice documentation.
1398         * sysdeps/unix/nice.c: Correct nice() implementation.
1400 2001-06-04  Andreas Jaeger  <aj@suse.de>
1402         * sysdeps/ieee754/ldbl-128/e_sinhl.c: New file, contributed by
1403         Stephen L Moshier <moshier@mediaone.net>.
1405 2001-06-03  Roland McGrath  <roland@frob.com>
1407         * Makefile (postclean): Remove obsolete sysd-Makefile.
1409 2001-06-01  Roland McGrath  <roland@frob.com>
1411         * sysdeps/alpha/fpu/fclrexcpt.c: #include <shlib-compat.h>
1412         and use compat_symbol/versioned_symbol instead of plain
1413         symbol_version/default_symbol_version.
1414         * sysdeps/alpha/fpu/fegetenv.c: Likewise.
1415         * sysdeps/alpha/fpu/fesetenv.c: Likewise.
1416         * sysdeps/alpha/fpu/feupdateenv.c: Likewise.
1417         * sysdeps/alpha/fpu/fgetexcptflg.c: Likewise.
1418         * sysdeps/alpha/fpu/fraiseexcpt.c: Likewise.
1419         * sysdeps/alpha/fpu/fsetexcptflg.c: Likewise.
1420         * sysdeps/arm/fpu/fclrexcpt.c: Likewise.
1421         * sysdeps/arm/fpu/fegetenv.c: Likewise.
1422         * sysdeps/arm/fpu/fesetenv.c: Likewise.
1423         * sysdeps/arm/fpu/fraiseexcpt.c: Likewise.
1424         * sysdeps/arm/fpu/fsetexcptflg.c: Likewise.
1425         * sysdeps/i386/fpu/fclrexcpt.c: Likewise.
1426         * sysdeps/i386/fpu/fegetenv.c: Likewise.
1427         * sysdeps/i386/fpu/fesetenv.c: Likewise.
1428         * sysdeps/i386/fpu/feupdateenv.c: Likewise.
1429         * sysdeps/i386/fpu/fgetexcptflg.c: Likewise.
1430         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
1431         * sysdeps/i386/fpu/fsetexcptflg.c: Likewise.
1432         * sysdeps/m68k/fpu/fclrexcpt.c: Likewise.
1433         * sysdeps/m68k/fpu/fegetenv.c: Likewise.
1434         * sysdeps/m68k/fpu/fesetenv.c: Likewise.
1435         * sysdeps/m68k/fpu/feupdateenv.c: Likewise.
1436         * sysdeps/m68k/fpu/fgetexcptflg.c: Likewise.
1437         * sysdeps/m68k/fpu/fraiseexcpt.c: Likewise.
1438         * sysdeps/m68k/fpu/fsetexcptflg.c: Likewise.
1439         * sysdeps/powerpc/fclrexcpt.c: Likewise.
1440         * sysdeps/powerpc/fpu/fegetenv.c: Likewise.
1441         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
1442         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
1443         * sysdeps/powerpc/fpu/fgetexcptflg.c: Likewise.
1444         * sysdeps/powerpc/fpu/fraiseexcpt.c: Likewise.
1445         * sysdeps/powerpc/fpu/fsetexcptflg.c: Likewise.
1447         * iconvdata/cp1258.c: Include <stdlib.h> for abort decl.
1448         * iconvdata/iso-2022-cn-ext.c: Likewise.
1450 2001-06-01  Andreas Jaeger  <aj@suse.de>
1452         * Versions.def: Add version 2.2.4.
1454 2001-06-01  Ulrich Drepper  <drepper@redhat.com>
1456         * socket/Makefile (routines): Add sockatmark.
1457         * socket/Versions [GLIBC_2.2.4]: Add sockatmark.
1458         * socket/sys/socket.h: Add prototype for sockatmark.
1459         * sysdeps/generic/sockatmark.c: New file.
1460         * sysdeps/unix/sockatmark.c: New file.
1462 2001-06-01  Andreas Jaeger  <aj@suse.de>
1464         * sysdeps/unix/sysv/linux/speed.c (cfsetispeed): Max speed is
1465         B4000000.
1466         (cfsetospeed): Likewise.
1467         Reported by Lukasz Trabinski <lukasz@lt.wsisiz.edu.pl>.
1469 2001-05-31  Joseph S. Myers  <jsm28@cam.ac.uk>
1471         * misc/sys/cdefs.h (__restrict_arr): Define to empty for C++.
1473 2001-05-30  Martin Schwidefsky  <schwidefsky@de.ibm.com>
1475         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: greg_t
1476         needs to have the same aligment as the kernel structure.
1478 2001-05-29  Jakub Jelinek  <jakub@redhat.com>
1480         * sunrpc/rpc/types.h (u_char, u_short, u_int, u_long, quad_t,
1481         u_quad_t, fsid_t, daddr_t, caddr_t): Make sure the types are defined.
1482         * posix/sys/types.h (u_char, u_short, u_int, u_long, quad_t,
1483         u_quad_t, fsid_t, daddr_t, caddr_t): Protect the __USE_BSD typedefs
1484         against multiple definition.
1486 2001-05-30  Ulrich Drepper  <drepper@redhat.com>
1488         * po/da.po: Update from translation team.
1490 2001-05-29  Andreas Jaeger  <aj@suse.de>
1492         * sysdeps/ieee754/ldbl-128/e_acosl.c: New file, contributed by
1493         Stephen L Moshier <moshier@mediaone.net>.
1495         * math/libm-test.inc (sinh_test): Add new test case.
1497         * sysdeps/ieee754/ldbl_96/e_sinhl.c (__ieee754_sinhl): sinhl(x) =
1498         x when x < 2^-32.
1499         Patch by Stephen L Moshier <moshier@mediaone.net>.
1501 2001-05-23  Andreas Jaeger  <aj@suse.de>
1503         * iconvdata/testdata/WINDOWS-1255..UTF-8: Renamed to...
1504         * iconvdata/testdata/WINDOWS-1255..UTF8: this.
1506 2001-05-27  Andreas Jaeger  <aj@suse.de>
1508         * manual/stdio.texi (String Streams): Fix fmemopen description.
1509         Reported by Michal Kochanowicz <michal@michal.waw.pl>.
1511 2001-05-26  H.J. Lu <hjl@gnu.org>
1513         * sysdeps/unix/sysv/linux/mips/syscalls.list: Change sigsuspend
1514         to s_sigsuspend.  Add s_mmap2.
1516         * sysdeps/mips/atomicity.h: New file.
1518         * sysdeps/unix/sysv/linux/mips/getsysstats.c: New file.
1520         * sysdeps/unix/sysv/linux/mips/bits/ipc.h (ipc_perm): Put
1521         back __key.
1523 2001-05-25  Bruce Mitchener  <bruce@cubik.org>
1525         * manual/ctype.texi: Minor fix.
1526         * manual/install.texi: Likewise.
1527         * manual/startup.texi: Likewise.
1528         * manual/examples/dir.c: Use perror() rather than puts().
1530 2001-05-25  David Mosberger  <davidm@hpl.hp.com>
1532         * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h: Put stuff following
1533         #endif directive inside a comment to avoid compiler warnings.
1535 2001-05-25  Philipp Thomas  <pthomas@suse.de>
1537         * nis/nis_print.c (nis_nstype2str): Don't mark names of
1538         naming services for translation, only UNKNOWN needs it.
1539         Add comment to prevent it for the future.
1541 2001-05-25  Joseph S. Myers  <jsm28@cam.ac.uk>
1543         * misc/sys/cdefs.h (__restrict_arr): Define appropriately for GCC
1544         3.1 and non-GCC C99 compilers.
1546 2001-05-22  David Mosberger  <davidm@hpl.hp.com>
1548         * sysdeps/ia64/memmove.S: Increase MEMLAT from 6 to 21 for better
1549         performance.
1550         * sysdeps/ia64/memcpy.S: Likewise.
1552         * sysdeps/ia64/bcopy.S: New file.
1554         * sysdeps/ia64/bzero.S: New file (derived from memset.S).
1556 2001-05-26  Ulrich Drepper  <drepper@redhat.com>
1558         * sysdeps/ia64/fpu/libm-test-ulps: Add deltas for tanh(-0.7).
1560 2001-05-24  Ulrich Drepper  <drepper@redhat.com>
1562         * iconvdata/Makefile: Add rules for CP10007.
1563         * iconvdata/gconv-modules: Add entries for CP10007 ad MacCyrillic.
1564         * iconvdata/cp10007.c: New file.
1565         * iconvdata/tst-tables.sh: Add CP10007.
1567 2001-05-23  kaz Kojima  <kkojima@rr.iij4u.or.jp>
1569         * sysdeps/sh/dl-machine.h (_dl_runtime_resolve): Handle newer PLT.
1570         (_dl_runtime_profile): Likewise..
1572 2001-05-23  Thorsten Kukuk  <kukuk@suse.de>
1574         * sysdeps/posix/getaddrinfo.c: Support for AF_UNIX commented out.
1575         * posix/tst-getaddrinfo.c: Remove AF_UNIX test.
1577 2001-05-19  H.J. Lu  <hjl@gnu.org>
1579         * elf/dl-deps.c (_dl_map_object_deps): Pass objname and
1580         errstring of the failed DSO to _dl_signal_error ().
1582 2001-05-23  Ulrich Drepper  <drepper@redhat.com>
1584         * iconvdata/gconv-modules: Add more aliases to enable use in
1585         locale names.
1587 2001-05-23  Andreas Jaeger  <aj@suse.de>
1589         * sysdeps/unix/sysv/linux/ia64/Makefile (CFLAGS-initfini.s):
1590         Remove, it's not used anywhere anymore.
1591         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile
1592         (CFLAGS-initfini.s): Likewise.
1593         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile
1594         (CFLAGS-initfini.s): Likewise.
1595         * sysdeps/unix/sysv/linux/powerpc/Makefile (CFLAGS-initfini.s):
1596         Likewise.
1597         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-initfini.s):
1598         Likewise.
1600 2001-05-21  Bruno Haible  <haible@clisp.cons.org>
1602         * wcsmbs/mbrtowc.c (mbrtowc): Remove local variable 'flush', always
1603         use 0 instead, and rely on the converter to do the flush.
1604         * wcsmbs/tst-mbrtowc.c (utf8_test_1): New function, taken from
1605         utf8_test.
1606         (utf8_test_2, utf8_test_3): New function.
1607         (utf8_test): Call utf8_test_1, utf8_test_2, utf8_test_3.
1609 2001-05-22  Jakub Jelinek  <jakub@redhat.com>
1611         * elf/dl-close.c (_dl_close): Save imap->l_reldeps, not map->l_reldeps.
1613         * elf/Makefile (distribute): Add reldep4mod[1234].c.
1614         (tests): Add reldep4.
1615         (modules-names): Add reldep4mod[1234].
1616         (reldep4mod1.so, reldep4mod2.so, reldep4, reldep4.out): New rules.
1617         * elf/reldep4.c: New file.
1618         * elf/reldep4mod1.c: Likewise.
1619         * elf/reldep4mod2.c: Likewise.
1620         * elf/reldep4mod3.c: Likewise.
1621         * elf/reldep4mod4.c: Likewise.
1623 2001-05-18  Jakub Jelinek  <jakub@redhat.com>
1625         * elf/dl-lookup.c (PROTECTED): Remove defines.
1626         (add_dependency): Mark it with internal_function.
1627         (_dl_do_lookup, _dl_do_lookup_versioned): New functions.
1628         (_dl_lookup_symbol, _dl_lookup_symbol_skip,
1629         _dl_lookup_versioned_symbol, _dl_lookup_versioned_symbol_skip): Use
1630         it if we don't want do_lookup* inlined.
1632 2001-05-18  Jakub Jelinek  <jakub@redhat.com>
1634         * include/link.h (struct r_scope_elem): Remove r_duplist and
1635         r_nduplist fields.
1636         * elf/dl-load.c (_dl_map_object_from_fd): Don't initialize them.
1637         * elf/dl-lookup.c (_dl_lookup_symbol_skip): Look in r_list, not
1638         r_duplist.
1639         (_dl_lookup_versioned_symbol_skip): Likewise.
1640         * elf/dl-deps.c (struct list): Remove dup field, rename unique to next.
1641         (_dl_map_object_deps): Don't compute duplicate list.
1643         * elf/dl-symbol.c: Removed.
1644         * elf/Makefile (routines): Remove dl-symbol.
1646 2001-05-22  Ulrich Drepper  <drepper@redhat.com>
1648         * po/el.po: Update from translation team.
1649         * po/sv.po: Likewise.
1651 2001-05-20  Bruno Haible  <haible@clisp.cons.org>
1653         * iconvdata/cp1255.c: Completely rewritten.
1654         * iconvdata/Makefile (gen-8bit-gap-modules): Remove cp1255.
1655         * iconvdata/testdata/WINDOWS-1255: New file.
1656         * iconvdata/testdata/WINDOWS-1255..UTF8: New file.
1657         * iconvdata/TESTS: Add WINDOWS-1255 test.
1658         * iconvdata/CP1255.irreversible: New file.
1660 2001-05-20  Bruno Haible  <haible@clisp.cons.org>
1662         * iconvdata/cp1258.c: Completely rewritten.
1663         * iconvdata/Makefile (gen-8bit-gap-modules): Remove cp1258.
1664         * iconvdata/testdata/WINDOWS-1258: New file.
1665         * iconvdata/testdata/WINDOWS-1258..UTF8: New file.
1666         * iconvdata/TESTS: Add WINDOWS-1258 test.
1667         * iconvdata/tst-table-from.c (try): Reset the iconv descriptor before
1668         the main call, and flush it afterwards.
1669         (utf8_decode): Return a string, possibly containing several Unicode
1670         characters.
1671         (main): Update all utf8_decode calls.
1672         * iconvdata/CP1258.irreversible: New file.
1674 2001-05-20  Bruno Haible  <haible@clisp.cons.org>
1676         * iconv/gconv.c (__gconv): For flush without output, pass do_flush = 2.
1677         * iconv/skeleton.c: Distinguish do_flush = 1 and do_flush = 2.  In the
1678         first case, set outbuf, outstart, outend, and call PREPARE_LOOP before
1679         EMIT_SHIFT_TO_INIT; then pass the output produced by this step down to
1680         the next step.  In the second case, clear the state without calling
1681         EMIT_SHIFT_TO_INIT.
1682         * iconvdata/ibm930.c (EMIT_SHIFT_TO_INIT): Use outbuf instead of
1683         data->__outbuf, and outend instead of data->__outbufend.
1684         * iconvdata/ibm933.c (EMIT_SHIFT_TO_INIT): Likewise.
1685         * iconvdata/ibm935.c (EMIT_SHIFT_TO_INIT): Likewise.
1686         * iconvdata/ibm937.c (EMIT_SHIFT_TO_INIT): Likewise.
1687         * iconvdata/ibm939.c (EMIT_SHIFT_TO_INIT): Likewise.
1688         * iconvdata/iso-2022-cn.c (EMIT_SHIFT_TO_INIT): Likewise.
1689         * iconvdata/iso-2022-cn-ext.c (EMIT_SHIFT_TO_INIT): Likewise.
1690         * iconvdata/iso-2022-jp.c (EMIT_SHIFT_TO_INIT): Likewise.
1691         * iconvdata/iso-2022-kr.c (EMIT_SHIFT_TO_INIT): Likewise.
1692         * iconvdata/utf-7.c (EMIT_SHIFT_TO_INIT): Likewise.
1694 2001-05-21  Jakub Jelinek  <jakub@redhat.com>
1696         * elf/rtld.c (dl_main): Compute l_map_end for the main program.
1697         * elf/dl-sym.c (_dl_sym): Don't check for l_addr == 0.
1698         If match == _dl_loaded, caller can still come from the main program.
1699         (_dl_vsym): Likewise.
1700         * elf/dl-open.c (dl_open_worker): Don't check for l_addr == 0.
1701         * elf/dl-error.c (_dl_signal_error): Change NULL objname into "".
1702         * elf/restest2.c: New test.
1703         * elf/Makefile (tests): Add restest2.
1704         (restest2, LDFLAGS-restest2): Add rules.
1706 2001-05-22  Ulrich Drepper  <drepper@redhat.com>
1708         * intl/Makefile: Add a few more dependencies to avoid races in the
1709         test shell scripts.
1711 2001-05-22  Andreas Jaeger  <aj@suse.de>
1713         * sysdeps/ieee754/ldbl-128/s_log1pl.c: New file, contributed by
1714         Stephen L Moshier <moshier@mediaone.net>.
1716 2001-05-22  Martin Schwidefsky  <schwidefsky@de.ibm.com>
1718         * sysdeps/s390/s390-32/backtrace.c: Make backtrace return the
1719         return addresses instead of the stack pointers.
1720         * sysdeps/s390/s390-64/backtrace.c: Likewise.
1722 2001-05-21  Jakub Jelinek  <jakub@redhat.com>
1724         * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Include
1725         bits/sigcontext.h instead of bits/sigstack.h.
1726         * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h: Add
1727         multiple-inclusion guards.
1729 2001-05-21  Andreas Jaeger  <aj@suse.de>
1731         * locale/programs/ld-collate.c (handle_ellipsis): Fix message.
1732         Patch by Philipp Thomas <pthomas@suse.de>.
1734 2001-05-17  Bruce Mitchener  <bruce@cubik.org>
1736         * manual/arpg.texi: Spelling, misc fixes.
1737         * manual/arith.texi: Likewise.
1738         * manual/crypt.texi: Likewise.
1739         * manual/debug.texi: Likewise.
1740         * manual/getopt.texi: Likewise.
1741         * manual/intro.texi: Likewise.
1742         * manual/memory.texi: Likewise.
1743         * manual/nss.texi: Likewise.
1744         * manual/pattern.texi: Likewise.
1745         * manual/process.texi: Likewise.
1746         * manual/resource.texi: Likewise.
1747         * manual/search.texi: Likewise.
1748         * manual/setjmp.texi: Likewise.
1749         * manual/signal.texi: Likewise.
1750         * manual/socket.texi: Likewise.
1751         * manual/stdio.texi: Likewise.
1752         * manual/string.texi: Likewise.
1753         * manual/sysinfo.texi: Likewise.
1754         * manual/terminal.texi: Likewise.
1755         * manual/llio.texi: Document madvise().
1757 2001-05-20  Roland McGrath  <roland@frob.com>
1759         * Makeconfig (sysdep-makeconfigs): Include any Makeconfig files
1760         found within $(add-ons) directories too.
1761         [linuxthreads add-on]: Move variable settings for linuxthreads
1762         to new file linuxthreads/Makeconfig.
1764 2001-05-20  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
1766         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_STD_AUXV):
1767         Define for linux >= 2.4.5 on powerpc.
1768         (__ASSUME_MMAP2_SYSCALL): Likewise.
1770 2001-05-19  Roland McGrath  <roland@frob.com>
1772         * hurd/hurdlookup.c (__hurd_file_name_lookup_retry): Don't leak the
1773         result port when failing with ELOOP.  Do the ELOOP check when
1774         following an absolute symlink target as well as relative.
1775         Remove #ifdef SYMLOOP_MAX conditional--it should always be defined.
1777 2001-05-18  Andreas Jaeger  <aj@suse.de>
1779         * po/fr.po: Free software is "logiciel libre".
1780         Patch by Martin Michlmayr <tbm@cyrius.com>.
1782         * sysdeps/powerpc/elf/libc-start.c: Use __cxa_atexit.
1783         Patch by ekato@ees.hokudai.ac.jp, closes PR libc/2271.
1785 2001-05-17  David Mosberger  <davidm@hpl.hp.com>
1787         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: New file.
1789 2001-05-17  Ulrich Drepper  <drepper@redhat.com>
1791         * elf/dl-profile.c (_dl_mcount): Check whether state is
1792         GMON_PROF_ON before doing anything.
1794 2001-05-17  H.J. Lu  <hjl@gnu.org>
1796         * elf/sprof.c (read_symbols): Move "++symtab" into the while loop.
1798 2001-05-17  Ulrich Drepper  <drepper@redhat.com>
1800         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Use
1801         CHECK_SIGSET_NULL_OK and not CHECK_SIGSET for all parameters.
1802         Reported by Mark Burton <markb@ordern.com>.
1804 2001-05-17  Jakub Jelinek  <jakub@redhat.com>
1806         * elf/ldconfig.c (add_dir): Only warn about stat failure if
1807         opt_verbose.
1808         (search_dir): Likewise.
1810 2001-05-17  Ulrich Drepper  <drepper@redhat.com>
1812         * sysdeps/i386/i486/atomicity.h (exchange_and_add): Correct second
1813         parameter of xaddl.  Patch by H . J . Lu <hjl@lucon.org>.
1815 2001-05-14  Bruno Haible  <haible@clisp.cons.org>
1817         * iconvdata/iso-2022-cn-ext.c (BODY for FROM_LOOP): If SO is seen
1818         without previous announcement, reject it regularly, don't abort.
1820 2001-05-16  Ulrich Drepper  <drepper@redhat.com>
1822         * math/tgmath.h: Fix handling of int parameters to binary and
1823         ternary functions.  Reported by mitr@volny.cz.
1825         * math/test-tgmath.c: Add tests for calls with integer parameters.
1827 2001-05-15  Jakub Jelinek  <jakub@redhat.com>
1829         * sunrpc/rpc_thread.c (rpc_default): Remove.
1830         (__rpc_thread_destroy): Use __libc_tsd_RPC_VARS_mem instead of
1831         rpc_default.
1832         (rpc_thread_multi, __rpc_thread_svc_fdset, __rpc_thread_createerr,
1833         __rpc_thread_svc_pollfd, __rpc_thread_svc_max_pollfd): Likewise.
1834         * sunrpc/auth_none.c (authnone_private): Fix a typo.
1836 2001-05-16  Martin Schwidefsky  <schwidefsky@de.ibm.com>
1838         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Fix stack allocation.
1840 2001-05-16  Bruce Mitchener  <bruce@cubik.org>
1842         * manual/llio.texi: Many grammar and typo fixes to the section on AIO.
1844 2001-05-15  Andreas Jaeger  <aj@suse.de>
1846         * sysdeps/ieee754/ldbl-128/s_expm1l.c: New file, contributed by
1847         Stephen L Moshier <moshier@mediaone.net>.
1849         * sysdeps/i386/fpu/libm-test-ulps: Adjust for change.
1851         * math/libm-test.inc: Add comment with ToDo.
1853         * sysdeps/i386/fpu/e_expl.c: Rewritten to C and using a more
1854         accurate algorithm.  Patch by Stephen L Moshier <moshier@mediaone.net>.
1856         * sysdeps/i386/fpu/e_expl.S: Removed.
1858 2001-05-14  Roland McGrath  <roland@frob.com>
1860         * csu/Makefile ($(objpfx)g$(start-installed-name)): Turn this into a
1861         static pattern rule also that also covers
1862         $(objpx)g$(static-start-installed-name).
1863         [$(start-installed-name) != $(static-start-installed-name)]
1864         (extra-objs, omit-deps, install-lib): Add
1865         $(static-start-installed-name) and g$(static-start-installed-name).
1866         * sysdeps/mach/hurd/i386/Makefile: Don't add crt0.o to those here;
1867         just setting static-start-installed-name is now sufficient.
1868         (extra-objs): Add static-start.o here.
1869         (CFLAGS-initfini.s): Remove obsolete variable.
1870         * sysdeps/mach/hurd/i386/Makeconfig: New file.
1871         Define static-start-installed-name here.
1873         * Makeconfig: Include existing $(full_config_sysdirs:=/Makeconfig).
1874         * Make-dist (+sysdep-tsrcs): Look for Makeconfig files.
1876         * Makerules ($(+sysdir_pfx)sysd-Makefile): Remove this target and
1877         associated hair.  Instead, just use $(wildcard ...) in the include.
1879         * configure.in (critic_missing, aux_missing): Collect in these vars
1880         the names of the missing programs, and include them in the error msgs.
1881         * configure: Regenerated.
1883 2001-05-14  Andreas Jaeger  <aj@suse.de>
1885         * sysdeps/i386/fpu/libm-test-ulps: Adjust for new tests.
1887         * math/libm-test.inc (tanh_test): Add testcases for last tanh bug.
1889 2001-05-14  Stephen L Moshier <moshier@mediaone.net>
1891         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Fix sign test.
1893 2001-05-11  Jakub Jelinek  <jakub@redhat.com>
1895         * posix/regex.c (re_match_2_internal): Swap mbs_offset and csize
1896         as well if swapping strings.
1897         Make sure stop is not past end of second string.
1898         * posix/bug-regex4.c: New test.
1899         * posix/Makefile (tests): Add bug-regex4.
1901 2001-05-10  Andreas Jaeger  <aj@suse.de>
1903         * manual/install.texi (Linux): Clarify that Linux 2.2 is minimal
1904         requirement.
1906 2001-05-12  Andreas Jaeger  <aj@suse.de>
1908         * sysdeps/ieee754/dbl-64/s_sin.c: Include "math_private.h" for
1909         internal prototypes.
1910         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
1911         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
1912         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
1913         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
1914         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
1915         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
1916         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
1918         * math/math_private.h: Add prototypes for internal functions of
1919         the IBM Accurate Mathematical Library.
1921         * sysdeps/ieee754/dbl-64/s_atan.c: Include "math.h" for
1922         prototypes.
1923         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
1925         * sysdeps/ieee754/dbl-64/e_asin.c: Include "math_private.h" for
1926         internal prototypes.
1927         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
1928         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
1929         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
1930         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
1931         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
1932         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
1933         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
1934         * sysdeps/generic/e_rem_pio2l.c: Likewise.
1935         (__ieee754_rem_pio2l): Fix prototype.
1937         * math/math_private.h (__copysign): Add internal prototype.
1939 2001-05-11  Andreas Jaeger  <aj@suse.de>
1941         * sysdeps/unix/sysv/linux/configure.in: Move binutils check to...
1942         * sysdeps/unix/sysv/linux/mips/configure.in: ...here.  New file.
1944 2001-05-11  Andreas Jaeger  <aj@suse.de>
1946         * sysdeps/unix/sysv/linux/configure.in: Check binutils version on
1947         MIPS.
1949         * sysdeps/mips/rtld-ldscript.in: Removed unneeded binary output
1950         format directive.  Patch by Steven J. Hill <sjhill@cotw.com>.
1952 2001-05-11  Roland McGrath  <roland@frob.com>
1954         * sysdeps/mach/hurd/Makefile ($(link-rpcuserlibs)): Don't use
1955         $(build-module) here, since we don't need the full magilla.
1956         Just use $(build-module-helper) and append our special options.
1958 2001-05-09  Andreas Schwab  <schwab@suse.de>
1960         * sysdeps/unix/readdir.c: Make sure we don't modify errno when we
1961         reached EOF.
1963 2001-05-07  H.J. Lu  <hjl@gnu.org>
1965         * elf/ldconfig.c (dir_entry): Add ino and dev.
1966         (add_single_dir): Compare ino and dev to check if 2 directory
1967         paths are the same or not.  Free entry->path for duplicates.
1968         (add_dir): Initialize ino and dev for entry.
1969         (search_dir): Handle symlink to directory.
1971 2001-05-07  Andreas Jaeger  <aj@suse.de>
1973         * sysdeps/i386/fpu/libm-test-ulps: Add ulps for new exp tests.
1975         * math/libm-test.inc (exp_test): Add some more tests.
1976         (pow_test): Run double only test also for long double.
1978         * math/test-ldouble.c (TEST_LDOUBLE): Define.
1979         * math/test-ildoubl.c (TEST_LDOUBLE): Likewise.
1981         * sysdeps/generic/bits/confname.h: Remove extra comma at end of
1982         enumeration.
1983         Closes PR libc/2240.
1985         * scripts/config.guess: Imported from gnu.org.
1986         * scripts/config.sub: Likewise.
1988 2001-05-05  Jakub Jelinek  <jakub@redhat.com>
1990         * include/features.h (__USE_EXTERN_INLINES): Don't define if
1991         __NO_INLINE__ is defined.
1992         * ctype/ctype.h (tolower, toupper): Change the guard condition to
1993         __USE_EXTERN_INLINES check only.
1994         * stdlib/stdlib.h (strtod, ...): Likewise.
1995         * wcsmbs/wchar.h (mbrlen): Likewise.
1996         * string/string.h: Only include bits/string.h and bits/string2.h
1997         if __NO_INLINE__ is not defined.
1999 2001-05-07  Andreas Jaeger  <aj@suse.de>
2001         * debug/Makefile ($(objpfx)xtrace): Substitute @SLIBDIR@ instead
2002         of @LIBDIR@.
2004 2001-05-04  H.J. Lu  <hjl@gnu.org>
2006         * malloc/Makefile ($(objpfx)memusage): Substitute @SLIBDIR@
2007         not @LIBDIR@.
2009 2001-05-06  Andreas Jaeger  <aj@suse.de>
2011         * sysdeps/i386/fpu/e_fmodl.c: New, rewrite of e_fmodl.S.
2012         * sysdeps/i386/fpu/e_fmodl.S: Removed.
2013         * sysdeps/i386/fpu/e_atan2l.c: New, rewrite of e_atan2l.S.
2014         * sysdeps/i386/fpu/e_atan2l.S: Removed.
2015         * sysdeps/i386/fpu/e_acosl.c: New, rewrite of e_acos.S.
2016         * sysdeps/i386/fpu/s_atanl.c: New, rewrite of e_atanl.S.
2017         * sysdeps/i386/fpu/e_sqrtl.c: New, rewrite of e_sqrt.S.
2018         * sysdeps/i386/fpu/e_acosl.S: Removed.
2019         * sysdeps/i386/fpu/s_atanl.S: Removed.
2020         * sysdeps/i386/fpu/e_sqrtl.S: Removed.
2022 2001-05-05  Mark Kettenis  <kettenis@gnu.org>
2024         * sysdeps/mach/hurd/bits/environments.h: Add comment from
2025         sysdeps/generic/bits/environments.h.  Define _POSIX_V6_* values.
2027 2001-04-30  Jakub Jelinek  <jakub@redhat.com>
2029         * posix/confstr.c (confstr) [_CS_V6_WIDTH_RESTRICTED_ENVS]: Move so
2030         that _CS_LFS_CFLAGS can fall through to the empty returned string
2031         case.  Add FALLTHROUGH comment.
2033 2001-04-29  Ralf Baechle  <ralf@gnu.org>
2035         * sysdeps/unix/sysv/linux/mips/bits/sem.h: Make structure
2036         definitions match the kernel definitions.
2037         * sysdeps/unix/sysv/linux/mips/bits/ipc.h: Likewise.
2038         * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
2040 2001-04-29  Ben Collins  <bcollins@debian.org>
2042         * sysdeps/sparc/sparc64/dl-machine.h: Fix multiline strings
2043         warnings.
2044         * sysdeps/sparc/sparc64/soft-fp/qp_add.c: Likewise.
2045         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
2046         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
2047         * sysdeps/sparc/sparc64/soft-fp/qp_div.c: Likewise.
2048         * sysdeps/sparc/sparc64/soft-fp/qp_dtoq.c: Likewise.
2049         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
2050         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
2051         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
2052         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
2053         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
2054         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
2055         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
2056         * sysdeps/sparc/sparc64/soft-fp/qp_qtod.c: Likewise.
2057         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
2058         * sysdeps/sparc/sparc64/soft-fp/qp_qtos.c: Likewise.
2059         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
2060         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
2061         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
2062         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
2063         * sysdeps/sparc/sparc64/soft-fp/qp_sqrt.c: Likewise.
2064         * sysdeps/sparc/sparc64/soft-fp/qp_stoq.c: Likewise.
2065         * sysdeps/sparc/sparc64/soft-fp/qp_sub.c: Likewise.
2066         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
2068 2001-04-29  Andreas Schwab  <schwab@suse.de>
2070         * sysdeps/unix/sysv/linux/kernel-features.h: Fix missing backslash
2071         in last change.
2073 2001-04-29  Andreas Jaeger  <aj@suse.de>
2075         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
2076         Define for Arm, PowerPC and SH if kernel is 2.4.4 or newer.
2078         * sysdeps/unix/sysv/linux/bits/socket.h (PF_WANPIPE): New, from
2079         Linux 2.4.4.
2080         (AF_WANPIPE): Likewise.
2081         (MSG_MORE): New.
2083         * sysdeps/unix/sysv/linux/alpha/bits/socket.h: Add same changes as
2084         for Linux generic version.
2085         * sysdeps/unix/sysv/linux/s390/s390-64/bits/socket.h: Likewise.
2086         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
2087         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
2088         * sysdeps/unix/sysv/linux/ia64/bits/socket.h: Likewise.
2090         * sysdeps/gnu/netinet/tcp.h (TCP_QUICKACK): New.
2092 2001-04-27  Ulrich Drepper  <drepper@redhat.com>
2094         * nis/nss-nis.h: Correct test for invalid error number.
2095         * nis/nss-nisplus.h: Likewise.
2097         * nis/Makefile (libnss_compat-rountines): Add nss-nisplus.
2099 2001-04-26  Ulrich Drepper  <drepper@redhat.com>
2101         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add getunwind.
2103         * string/strcoll.c: Fix two memory allocation problems.
2104         * string/Makefile (tests): Add bug-strcoll1.
2105         * string/bug-strcoll1.c: New file.
2107         * malloc/mcheck.c (mcheck): Call malloc once before setting the
2108         hooks to allow the internal check hooks to be set up if necessary.
2110         * nis/nss-nis.h: Move yperr2nss_tab definition into separate file
2111         and rename to __yperr2nss_tab.  Change YPERR_COUNT into variable
2112         __yperr2nss_count.
2113         * nis/nss-nis.c: New file.
2114         * nis/nss-nisplus.h: Move niserr2nss_tab definition into separate file
2115         and rename to __niserr2nss_tab.  Change NISERR_COUNT into variable
2116         __niserr2nss_count.
2117         * nis/nss-nisplus.c: New file.
2118         * nis/Makefile (libnss_compat-routines): Add nss-nis.
2119         (libnss_nis-routines): Likewise.
2120         (libnss_nisplus-routines): Add nss-nisplus.
2122         * nis/nss_nisplus/nisplus-alias.c: Remove unnecessary initializations.
2123         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
2124         * nis/nss_nisplus/nisplus-grp.c: Likewise.
2125         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
2126         * nis/nss_nisplus/nisplus-network.c: Likewise.
2127         * nis/nss_nisplus/nisplus-proto.c: Likewise.
2128         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
2129         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
2130         * nis/nss_nisplus/nisplus-service.c: Likewise.
2131         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
2132         * nis/nss_nis/nis-alias.c: Likewise.
2133         * nis/nss_nis/nis-ethers.c: Likewise.
2134         * nis/nss_nis/nis-grp.c: Likewise.
2135         * nis/nss_nis/nis-network.c: Likewise.
2136         * nis/nss_nis/nis-proto.c: Likewise.
2137         * nis/nss_nis/nis-pwd.c: Likewise.
2138         * nis/nss_nis/nis-spwd.c: Likewise.
2139         * nis/nss_compat/compat-grp.c: Likewise.
2140         * nis/nss_compat/compat-initgroups.c: Likewise.
2141         * nis/nss_compat/compat-pwd.c: Likewise.
2142         * nis/nss_compat/compat-spwd.c: Likewise.
2144         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Some more
2145         optimizations.  Patch by Jakub Jelinek <jakub@redhat.com>.
2147 2001-04-26  Andreas Jaeger  <aj@suse.de>
2149         * po/zh_TW.po: Update.
2150         Patch by Tung-Han Hsieh <thhsieh@tlug.sinica.edu.tw>.
2152 2001-04-25  Ulrich Drepper  <drepper@redhat.com>
2154         * malloc/malloc.c: Allow MALLOC_ALIGNMENT to be defined on the
2155         compiler command line.
2156         * sysdeps/hppa/Makefile: Add -DMALLOC_ALIGNMENT=16 to compiler
2157         command line for malloc.c.
2159 2001-04-25  Jakub Jelinek  <jakub@redhat.com>
2161         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/time.h: Move to...
2162         * sysdeps/unix/sysv/linux/sparc/bits/time.h: ...here.
2163         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/bits/time.h: Remove.
2164         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/socket.h: Move to...
2165         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: ...here.  Adjust
2166         struct msghdr for __WORDSIZE == 32.
2167         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/statvfs.h: Move to...
2168         * sysdeps/unix/sysv/linux/sparc/bits/statvfs.h: ...here.  Adjust
2169         for __WORDSIZE == 32.
2170         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/siginfo.h: Remove.
2171         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/get_clockfreq.c: New
2172         file.
2173         * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S (__libc_siglongjmp):
2174         Rename from longjmp, make longjmp weak alias to it.
2176 2001-04-24  David S. Miller  <davem@redhat.com>
2178         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: New file.
2180 2001-04-25  Matthew Wilcox  <willy@ldl.fc.hp.com>
2182         * sysdeps/hppa/stackinfo.h: New file.
2183         * sysdeps/unix/sysv/linux/hppa/getdents64.c: New file.
2184         * sysdeps/unix/sysv/linux/hppa/mmap64.c: New file.
2185         * sysdeps/unix/sysv/linux/hppa/bits/resource.h: New file.
2186         * sysdeps/unix/sysv/linux/kernel-features.h: Add descriptions
2187         of PA kernel features.
2189 2001-04-25  Ulrich Drepper  <drepper@redhat.com>
2191         * locale/programs/localedef.c (main): Always set a file name for
2192         the initial locale.
2193         * locale/programs/locfile.c (locfile_read): filename is allowed to
2194         be NULL.
2196 2001-04-12  Paul Bame  <paul_bame@hp.com>
2198         * sysdeps/hppa/fpu/fclrexcpt.c: Clear the exception flags, not the
2199         enable flags.
2201 2001-04-24  Ulrich Drepper  <drepper@redhat.com>
2203         * sysdeps/generic/bits/environments.h (_POSIX_V6_LPBIG_OFFBIG,
2204         _XBS5_LPBIG_OFFBIG): Define to -1.
2205         Fix typos.
2207         * sysdeps/generic/bits/confname.h: Add _CS_V6_WIDTH_RESTRICTED_ENVS.
2208         * posix/confstr.c: Handle _CS_V6_WIDTH_RESTRICTED_ENVS.
2209         * posix/getconf.c: Handle _POSIX_V6_WIDTH_RESTRICTED_ENVS.
2210         * posix/tst-getconf.sh: Add _POSIX_V6_WIDTH_RESTRICTED_ENVS.
2212         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9b/Implies: New file.
2213         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9b/bits/time.h: Removed.
2215 2001-03-21  Alan Modra  <alan@one.net.au>
2217         * sysdeps/hppa/dl-machine.h (RTLD_START): Set up dp with DT_PLTGOT
2218         value from application so that constructors in non-PIC libs work.
2220 2000-12-13  Jes Sorensen  <jes@linuxcare.com>
2222         * sysdeps/hppa/dl-machine.h (RTLD_START): _dl_init now returns a
2223         function pointer, hence load the jump address and gp from the
2224         function pointer before jumping.
2226 2001-04-24  Andreas Jaeger  <aj@suse.de>
2228         * sysdeps/generic/send.c (__send): Return ssize_t.
2229         * sysdeps/mach/hurd/send.c (__send): Likewise.
2230         * sysdeps/mach/hurd/recv.c (recv): Likewise.
2231         * sysdeps/mach/hurd/sendto.c (sendto): Likewise.
2232         * sysdeps/generic/sendto.c (sendto): Likewise.
2233         * sysdeps/generic/recvmsg.c (recvmsg): Likewise.
2234         * sysdeps/mach/hurd/recvfrom.c (recvfrom): Likewise.
2235         * sysdeps/generic/recvfrom.c (recvfrom): Likewise.
2236         * sysdeps/generic/sendmsg.c (sendmsg): Likewise.
2238         * socket/sys/socket.h: send* and recv* return ssize_t.
2240         * include/sys/socket.h: send returns ssize_t.
2242         * sysdeps/i386/fpu_control.h: Fix comments.
2244 2001-04-24  Ulrich Drepper  <drepper@redhat.com>
2246         * sysdeps/ia64/Dist: Add hp-timing.c.
2247         * sysdeps/unix/sysv/linux/sparc/sparc64/Dist: Add ucontext_i.h.
2248         * posix/Makefile (distribute): Add tst-getconf.sh.
2249         * po/Makefile (distribute): Add $(BROKEN_LINGUAS:=.po).
2251 2001-04-23  Ulrich Drepper  <drepper@redhat.com>
2253         * sysdeps/ia64/Makefile [subdir=csu] (sysdep_routines): Add hp-timing.
2254         * sysdeps/ia64/Versions: Add _dl_cpuclock_offset for ld in 2.2.3.
2255         * sysdeps/ia64/hp-timing.c: New file.
2256         * sysdeps/ia64/hp-timing.h: New file.
2257         * sysdeps/unix/sysv/linux/ia64/bits/time.h: Add definitions for
2258         CLOCK_PROCESS_CPUTIME_ID and CLOCK_THREAD_CPUTIME_ID.
2260         * sysdeps/generic/clock_getcpuclockid.c: Make function generic, test
2261         using #ifdef whether the clock is available.
2262         * sysdeps/unix/i386/clock_getcpuclockid.c: Not needed anymore.
2264         * sysdeps/generic/dl-sysdep.c: Initialize _dl_cpuclock_offset to move
2265         it into data section.
2267         * sysdeps/unix/i386/i586/clock_getres.c: Removed.
2268         * sysdeps/unix/i386/i586/clock_gettime.c: Removed.
2269         * sysdeps/unix/i386/i586/clock_nanosleep.c: Removed.
2270         * sysdeps/unix/i386/i586/clock_settime.c: Removed.
2271         * sysdeps/unix/i386/i586/cpuclock-init.h: Removed.
2272         * sysdeps/generic/cpuclock-init.h: Removed.
2273         * sysdeps/unix/i386/i686/Implies: Removed.
2274         * sysdeps/unix/i386/i686/tempname.c: Removed.
2275         * sysdeps/i386/i686/Versions: New file.
2276         * sysdeps/unix/i386/i586/Versions: Removed.
2278         * sysdeps/posix/clock_getres.c: If HP_TIMING_AVAIL is nonzero handle
2279         CLOCK_PROCESS_CPUTIME_ID and CLOCK_THREAD_CPUTIME_ID.
2280         * sysdeps/unix/clock_gettime.c: Likewise.
2281         * sysdeps/unix/clock_nanosleep.c: Likewise.
2282         * sysdeps/unix/clock_settime.c: Likewise.
2283         * sysdeps/posix/tempname.c: Is HP_TIMING_AVAIL is nonzero define
2284         RANDOM_BITS use CPU clock.
2286         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/bits/time.h: New file.
2287         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9b/bits/time.h: New file.
2288         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/time.h: New file.
2289         * sysdeps/sparc/Versions: New file.
2291         * elf/dl-support.c: Don't use cpuclock-init.h definitions, use
2292         hp-timing.h definitions.
2293         * sysdeps/generic/dl-sysdep.c: Likewise.
2295         * include/libc-internal.h: Include hp-timing.h.  Use hp_timing_t in
2296         __get_clockfreq prototype.
2298         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
2299         Use hp_timing_t type.
2300         * sysdeps/generic/get_clockfreq.c (__get_clockfreq): Likewise.
2302         * sysdeps/unix/sysv/linux/ia64/get_clockfreq.c: New file.
2304         * sysdeps/posix/pathconf.c (__pathconf): For _PC_ASYNC_IO test
2305         whether named file is a regular file or a block device.
2306         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
2308 2001-04-23  Andreas Jaeger  <aj@suse.de>
2310         * nscd/nscd.h: Add noreturn attribute for start_threads.
2312 2001-04-22  Ulrich Drepper  <drepper@redhat.com>
2314         * posix/getconf.c: Fix names of XBS5 LFS test variables.
2315         Add missing configuration variables from XPG6.
2316         * posix/tst-getconf.c: New file.
2317         * posix/Makefile (generated): Add tst-getconf.out.
2318         (tests): Add ($objpfx)tst-getconf.out.
2319         Add rule to run tst-getconf.sh.
2320         * sysdeps/generic/bits/confname.h: Add missing _PC_ and _SC_ values
2321         from XPG6.
2322         * sysdeps/posix/fpathconf.c: Add handling of _PC_ALLOC_SIZE_MIN and
2323         _PC_SYMLINK_MAX.
2324         * sysdeps/posix/pathconf.c: Likewise.
2325         * sysdeps/posix/sysconf.c: Correct spelling of _SC_MULTI_PROCESS
2326         and _SC_SYMLOOP_MAX.
2328 2001-04-22  Philip Blundell  <philb@gnu.org>
2330         * sysdeps/arm/fpu/feenablxcpt.c: New file.
2331         * sysdeps/arm/fpu/fedisablxcpt.c: New file.
2332         * sysdeps/arm/fpu/fegetexcpt.c: New file.
2334 2001-04-22  Philip Blundell  <philb@gnu.org>
2336         * sysdeps/unix/sysv/linux/arm/sys/user.h (struct user_fpregs):
2337         Renamed from struct user_fp.
2338         (struct user_regs): New.
2339         (struct user): Use struct user_regs rather than struct pt_regs to
2340         avoid dependency on asm/ptrace.h.  Use struct user_fpregs in place
2341         of struct user_fp and struct user_fp_struct.
2342         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Include sys/procfs.h
2343         not sys/elf.h.
2345 2001-04-22  Philip Blundell  <philb@gnu.org>
2347         * sysdeps/unix/sysv/linux/arm/sys/elf.h: Move contents to
2348         sys/procfs.h, and tell the user to include that file instead.
2349         * sysdeps/unix/sysv/linux/arm/sys/procfs.h: Remove old cruft
2350         surrounded with #if 0.
2351         (elf_greg_t, ELF_NGREG, elf_gregset_t, elf_fpregset_t): Moved here
2352         from sys/elf.h.
2353         (prgregset_t, prfpregset_t): Define in terms of elf_gregset_t and
2354         elf_fpregset_t respectively.
2356 2001-04-22  Philip Blundell  <philb@gnu.org>
2358         * sysdeps/unix/sysv/linux/arm/register-dump.h: Also print the
2359         address that faulted.
2361 2001-04-21  Ulrich Drepper  <drepper@redhat.com>
2363         * sysdeps/generic/bits/confname.h: Add _SC_V6_* and _CS_POSIX_V6_*
2364         values.
2365         * sysdeps/generic/bits/environments.h: Define _POSIX_V6_* values.
2366         * posix/confstr.c: Handle _CS_POSIX_V6_* values.
2367         * posix/getconf.c: Handle _CS_POSIX_V6_* and _SC_V6_* values.
2368         * sysdeps/posix/sysconf.c: Handle _SC_V6_* values.
2370         * sysdeps/powerpc/fpu/libm-test-ulps: Add deltas for atan2f.
2371         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
2372         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
2373         * sysdeps/mips/fpu/libm-test-ulps: Likewise.
2375 2001-04-21  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
2377         * sysdeps/unix/sysv/linux/powerpc/mmap64.c: Correct check for invalid
2378         offset.
2380 2001-04-21  Ulrich Drepper  <drepper@redhat.com>
2382         * posix/getopt.h: Treat __cplusplus like __STDC__.
2384 2001-04-20  John S. Marvin  <jsm@fc.hp.com>
2386         * sysdeps/unix/sysv/linux/hppa/clone.S: Fix clone system call
2387         entry point stub.
2389 2001-04-20  Richard Hirst  <rhirst@linuxcare.com>
2391         * elf/elf.h: Corrected R_PARISC_DIR14R (should be 6, not 5),
2392         and added R_PARISC_DPREL21L and R_PARISC_DPREL14R for modutils.
2394         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Removed ptrace
2395         entry so the ptrace.c wrapper is used.
2397 2001-04-20  Alan Modra  <amodra@one.net.au>
2399         * sysdeps/hppa/dl-lookupcfg.h (_dl_function_address): Prototype.
2400         (DL_FUNCTION_ADDRESS): Define.
2401         (DL_DT_INIT_ADDRESS): Define.
2402         (DL_DT_FINI_ADDRESS): Define.
2403         * sysdeps/hppa/Versions: Add _dl_function_address.
2404         * sysdeps/hppa/dl-machine.h (ELF_MACHINE_START_ADDRESS): Define.
2405         * sysdeps/hppa/dl-symaddr.c (_dl_start_address): Rename to
2406         _dl_function_address.
2408 2001-04-21  Andreas Jaeger  <aj@suse.de>
2410         * rt/aio_misc.c (handle_fildes_io): Add noreturn attribute.
2411         * resolv/gai_misc.c (handle_requests): Likewise.
2412         * malloc/obstack.c (print_and_abort): Likewise.
2413         * malloc/mcheck.c (mabort): Likewise.
2415         * sysdeps/unix/i386/i586/clock_settime.c: Include
2416         "libc-internal.h" for __get_clockfreq declaration.
2418 2001-04-21  Ulrich Drepper  <drepper@redhat.com>
2420         * elf/dl-support.c: Include cpuclock-init.h.  Use CPUCLOCK_VARDEF and
2421         CPUCLOCK_INIT if defined.
2422         * sysdeps/generic/dl-sysdep.c: Likewise.
2423         * sysdeps/generic/cpuclock-init.h: New file.
2424         * sysdeps/unix/i386/i586/cpuclock-init.h: New file.
2425         * sysdeps/unix/i386/i586/Versions: New file.
2426         * sysdeps/unix/i386/i586/clock_settime.c: New file.
2427         * sysdeps/unix/i386/i586/clock_gettime.c: Handle thread CPU clock
2428         separately by calling __pthread_clock_gettime if this function is
2429         available.  Subtract offset from tsc value before computing time value.
2431 2001-04-20  Ulrich Drepper  <drepper@redhat.com>
2433         * iconv/iconv_prog.c (print_known_names): If printing goes not to
2434         a tty print in a more machine-friendly way.
2436         * sysdeps/ieee754/ldbl-128/e_asinl.c: New file.
2437         Contributed by Stephen L Moshier <moshier@mediaone.net>.
2439 2001-04-20  Andreas Jaeger  <aj@suse.de>
2441         * intl/Makefile (tests): Reorder conditions, tst-gettext needs msgfmt.
2443 2001-04-20  Andreas Schwab  <schwab@suse.de>
2445         * sysdeps/m68k/fpu/libm-test-ulps: Update.
2447 2001-04-19  Alan Modra  <amodra@one.net.au>
2449         * Makerules (libc_pic.os): Add $(LDFLAGS-c_pic.os).
2450         * sysdeps/hppa/Makefile (LDFLAGS-c_pic.os): Define.
2451         (CFLAGS-.os): Remove.
2453         * sysdeps/unix/sysv/linux/hppa/sysdep.h (CALL_MCOUNT): Update comment.
2455         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (NGREG, NFPREG,
2456         gregset): Correct for new kernel definitions.
2458 2001-04-19  Alan Modra  <alan@linuxcare.com.au>
2460         * sysdeps/hppa/elf/initfini.c: Change dlt reg save to r3 and
2461         generate unwind info by hand.
2463 2001-04-19  Ulrich Drepper  <drepper@redhat.com>
2465         * sysdeps/unix/sysv/linux/powerpc/mmap64.c (__mmap64): Optimize a bit.
2467         * configure.in: Correct regular expression for msgfmt.
2468         Patch by Bruno Haible <haible@ilog.fr>.
2470 2001-04-19  Andreas Jaeger  <aj@suse.de>
2472         * po/el.po: Add comment explaining what's broken.
2474         * po/Makefile (BROKEN_LINGUAS): New.
2475         (ALL_LINGUAS): Don't add broken languages.
2477 2001-04-19  Roland McGrath  <roland@frob.com>
2479         * sysdeps/mach/hurd/mlock.c: New file.
2480         * sysdeps/mach/hurd/munlock.c: New file.
2481         * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_MEMLOCK_RANGE): Define it.
2483         * misc/Makefile (routines): Add mlock munlock mlockall munlockall.
2484         * sysdeps/generic/mlock.c: New file.
2485         * sysdeps/generic/munlock.c: New file.
2486         * sysdeps/generic/mlockall.c: New file.
2487         * sysdeps/generic/munlockall.c: New file.
2488         * sysdeps/generic/bits/mman.h (MCL_CURRENT, MCL_FUTURE): New macros.
2489         * sysdeps/unix/sysv/linux/syscalls.list (mlock, munlock,
2490         mlockall, munlockall): Change caller field to - from EXTRA.
2491         Don't use __ names; not used (and not declared in include/sys/mman.h).
2493         * hurd/privports.c (__get_privileged_ports): Renamed with __.
2494         Use __ names for calls we make.
2495         (get_privileged_ports): Add alias.
2496         * hurd/hurd.h: Declare it with the __ name.
2497         * sysdeps/mach/hurd/reboot.c (reboot): Use __get_privileged_ports.
2498         * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
2499         * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
2501         * hurd/hurdsig.c (write_corefile): Check RLIMIT_CORE limit and do
2502         nothing if it's zero.
2504 2001-04-19  Matthew Wilcox  <willy@ldl.fc.hp.com>
2506         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL):
2507         Change to return a signed result for compatibility with other
2508         architectures, and correctness.
2510 2001-04-19  Ulrich Drepper  <drepper@redhat.com>
2512         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_32BITUIDS):
2513         HPPA always had them.  Patch by Matthew Wilcox <matthew@wil.cx>.
2515 2001-04-19  Andreas Jaeger  <aj@suse.de>
2517         * configure.in: Require gettext 0.10.36 or newer.
2519         * manual/install.texi (Tools for Compilation): Mention gettext 0.10.36.
2521         * po/zh_TW.po: Remove extraneous backslashes.
2523         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Remove unused
2524         variables b and n.
2526 2001-04-18  Jakub Jelinek  <jakub@redhat.com>
2528         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Update.
2529         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c: New file.
2530         * sysdeps/unix/sysv/linux/sparc/sparc64/swapcontext.c: New file.
2531         * sysdeps/unix/sysv/linux/sparc/sparc64/setcontext.S (__setcontext):
2532         Copy first word of uc_sigmask into __uc_sigmask.
2533         * sysdeps/unix/sysv/linux/sparc/sparc64/getcontext.S (__getcontext):
2534         Save uc_link around trap.  Copy __uc_sigmask into first word of
2535         uc_sigmask, clear the rest.  Make sure setcontext to the created
2536         context doesn't do this though.
2537         * sysdeps/unix/sysv/linux/sparc/sparc64/ucontext_i.h: New file.
2538         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (ucontext_t): Add
2539         uc_stack and uc_sigmask, rename old uc_sigmask to __uc_sigmask in the
2540         64bit version, make uc_sigmask __sigset_t in the 32bit version.
2542 2001-04-19  Andreas Jaeger  <aj@suse.de>
2544         * sysdeps/unix/sysv/linux/hppa/umount.c: Fix typos in last patch.
2546         * rt/Makefile (otherlibs): Added for static NSS.
2548         * glibcbug.in (BUGGLIBC): Send to new alias.
2550 2001-04-02  Andreas Schwab  <schwab@suse.de>
2552         * Makerules (build-module): Make sure exit codes get checked
2553         properly and remove unnecessary slashes.
2555 2001-04-17  Ulrich Drepper  <drepper@redhat.com>
2557         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
2558         Handle kernels which report only three digits after the decimal point.
2559         Reported by Van Okamura <van.okamura@oracle.com>.
2561         * sysdeps/alpha/fpu/libm-test-ulps: Adjust error values for atan2f.
2563 2001-04-17  David S. Miller  <davem@redhat.com>
2565         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Update for new atan2 tests.
2566         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
2568 2001-04-17  Jakub Jelinek  <jakub@redhat.com>
2570         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Make sure
2571         desired exceptions are raised for exceptional values.
2572         * math/libm-test.inc (acosh_test, atan_test, atan2_test, cacos_test,
2573         cacosh_test, casin_test, casinh_test, catan_test, catanh_test,
2574         clog_test, log_test, log1p_test, tan_test): Increase precision of
2575         expected values to satisfy ldbl-128.
2576         * sysdeps/alpha/fpu/libm-test-ulps: Adjust accordingly.
2577         * sysdeps/arm/libm-test-ulps: Likewise.
2578         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
2579         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
2580         * sysdeps/m68k/fpu/libm-test-ulps: Likewise.
2581         * sysdeps/mips/fpu/libm-test-ulps: Likewise.
2582         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
2583         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
2584         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
2585         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
2586         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
2588 2001-04-17  Andreas Jaeger  <aj@suse.de>
2590         * configure.in: Move test for critical programs up.
2592 2001-04-16  Stephen L Moshier  <moshier@mediaone.net>
2594         * sysdeps/ieee754/flt-32/e_asinf.c (pio2_hi, pio2_lo, pio4_hi):
2595         Correct the values.
2596         (pSx, qSx): Replace by shorter approximation.
2597         Use f suffix on float constants.
2599 2001-04-16  Ulrich Drepper  <drepper@redhat.com>
2601         * sysdeps/ieee754/ldbl-128/k_tanl.c: New file.
2602         Contributed by Stephen L Moshier <moshier@mediaone.net>.
2604         * string/string.h: Replace const in attribute list with __const__.
2606 2001-04-16  Roland McGrath  <roland@frob.com>
2608         * grp/initgroups.c (initgroups) [NGROUPS_MAX != 0]: Always use sysconf
2609         instead of the constant NGROUPS_MAX.  That way, the limit can be
2610         raised in the kernel configuration without having to recompile libc.
2612         * sysdeps/posix/euidaccess.c: Don't #include <limits.h> or try to
2613         define NGROUPS_MAX; we don't use it here.
2615 2001-04-16  Andreas Jaeger  <aj@suse.de>
2617         * math/libm-test.inc (atan2_test): Add more testcases.
2619         * iconv/gconv_db.c: Include gconv_charset.h for
2620         __gconv_lookup_alias prototype.
2622 2001-04-13  Ulrich Drepper  <drepper@redhat.com>
2624         * sysdeps/ieee754/ldbl-128/s_atanl.c: New file.
2625         Contributed by Stephen L Moshier <moshier@mediaone.net>.
2627 2001-04-13  Jes Sorensen  <jes@linuxcare.com>
2629         * intl/tst-codeset.c: Include string.h to get prototype for strcmp().
2631 2001-04-13  Jes Sorensen  <jes@linuxcare.com>
2633         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Add __pad0 to
2634         explicitly pad struct siginfo instead of relying on compiler padding.
2636 2001-04-12  Ulrich Drepper  <drepper@redhat.com>
2638         * sysdeps/ia64/Dist: Add elf/entry.h.
2640         * iconvdata/Makefile (distribute): Add TESTS2.
2642 2001-04-13  Jakub Jelinek  <jakub@redhat.com>
2644         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_load_address):
2645         Calculate load address differently.
2647 2001-04-12  Bruno Haible  <haible@clisp.cons.org>
2649         * iconvdata/TESTS2: New file.
2650         * iconvdata/run-iconv-test.sh: Also run tests from TESTS2.
2651         * iconvdata/testdata/alfabeta..UTF-8: New file.
2652         * iconvdata/testdata/alfabeta..UTF-16.BE: New file.
2653         * iconvdata/testdata/alfabeta..UTF-16.LE: New file.
2654         * iconvdata/testdata/alfabeta..UTF-32.BE: New file.
2655         * iconvdata/testdata/alfabeta..UTF-32.LE: New file.
2657 2001-04-11  Bruno Haible  <haible@clisp.cons.org>
2659         * iconvdata/utf-32.c: New file.
2660         * iconvdata/gconv-modules: Add entries for UTF-32, UTF-32LE, UTF-32BE.
2661         * iconvdata/Makefile (modules): Add UTF-32.
2662         (distribute): Add utf-32.c.
2664 2001-04-11  Bruno Haible  <haible@clisp.cons.org>
2666         * iconvdata/utf-16.c (PREPARE_LOOP): Initialize 'swap' after possibly
2667         changing it in the state.  After incrementing 'inptr', store it back.
2668         * iconvdata/unicode.c (PREPARE_LOOP): After incrementing 'inptr',
2669         store it back.
2671 2001-04-11  Bruno Haible  <haible@clisp.cons.org>
2673         * iconvdata/utf-16.c (gconv_init): Use MAX_NEEDED_FROM, not
2674         MIN_NEEDED_FROM.
2676 2001-04-11  David Mosberger  <davidm@hpl.hp.com>
2678         * sysdeps/ia64/htonl.S: Drop superfluous "alloc".
2679         * sysdeps/ia64/htons.S: Likewise.
2681         * sysdeps/ia64/memset.S: Add unwind directives.
2682         * sysdeps/ia64/strncpy.S: Likewise.
2683         * sysdeps/ia64/strcat.S: Likewise.
2685         * sysdeps/ia64/memccpy.S: Add unwind directives.  Drop superfluous
2686         restore of ar.pfs.
2687         * sysdeps/ia64/strchr.S: Likewise.
2688         * sysdeps/ia64/memmove.S: Likewise.
2689         * sysdeps/ia64/memcpy.S: Likewise.
2690         * sysdeps/ia64/memcmp.S: Likewise.
2691         * sysdeps/ia64/memchr.S: Likewise.
2692         * sysdeps/ia64/strcmp.S: Likewise.
2693         * sysdeps/ia64/strlen.S: Likewise.
2694         * sysdeps/ia64/strcpy.S: Likewise.
2695         * sysdeps/ia64/strncmp.S: Likewise.
2697 2001-04-11  Jakub Jelinek  <jakub@redhat.com>
2699         * wcsmbs/wchar.h (fgetwc, getwc, getwchar, fputwc, putwc, putwchar,
2700         fgetws, fputws, ungetwc, getwc_unlocked, getwchar_unlocked,
2701         fgetwc_unlocked, fputwc_unlocked, putwc_unlocked, putwchar_unlocked,
2702         fgetws_unlocked, fputws_unlocked, wcsftime): Add __THROW.
2704 2001-04-11  Andreas Jaeger  <aj@suse.de>
2706         * sysdeps/mips/elf/start.S [__ASSEMBLY__]: Define it.
2708 2001-04-11  Andreas Schwab  <schwab@suse.de>
2710         * sysdeps/m68k/fpu/libm-test-ulps: Adjusted.
2712 2001-04-11  Ulrich Drepper  <drepper@redhat.com>
2714         * sysdeps/arm/stackinfo.h: New file.
2716 2001-04-08  Thorsten Kukuk  <kukuk@suse.de>
2718         * sunrpc/rpc_main.c: If we compile RPC thread safe, allow
2719         rpcgen to generate thread safe code.
2721 2001-04-10  Andreas Jaeger  <aj@suse.de>
2723         * math/test-fenv.c (initial_tests): Protect FE_TONEAREST declaration.
2725 2001-04-10  Ulrich Drepper  <drepper@redhat.com>
2727         * elf/dl-minimal.c (__assert_fail): Change error string.  It's
2728         most of the time no bug in ld.so.
2729         (__assert_perror_fail): Likewise.
2731 2001-04-11  Hans-Peter Nilsson  <hp@axis.com>
2733         * sysdeps/generic/bits/fenv.h (fexcept_t): Change default type
2734         from struct to unsigned int.
2736 2001-04-10  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
2738         * elf/elf.h (AT_DCACHEBSIZE, AT_ICACHEBSIZE, AT_UCACHEBSIZE,
2739         AT_IGNOREPPC): New defines.
2740         * sysdeps/generic/dl-sysdep.c (_dl_show_auxv): Print them.
2741         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_STD_AUXV):
2742         Define for newer powerpc kernels.
2743         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Use the standard
2744         DL_FIND_ARG_COMPONENTS if __ASSUME_STD_AUXV is defined.
2746 2000-4-10  kaz Kojima  <kkojima@rr.iij4u.or.jp>
2748         * sysdeps/sh/stackinfo.h: New file.
2750 2001-04-10  Ulrich Drepper  <drepper@redhat.com>
2752         * locale/tst-C-locale.c (run_test): Add tests for locale objects.
2753         * locale/newlocale.c (__newlocale): Correct setting __ctype_b,
2754         __ctype_tolower, and __ctype_toupper elements.
2756         * ctype/ctype_l.c: Fix definitions of __tolower_l and __toupper_l.
2757         Reported by Konstantin Osipov <rabid@spylog.ru>.
2759         * sysdeps/i386/fpu/libm-test-ulps: Add deltas for tgamma to help
2760         the lousy AMD FPU.
2762 2001-04-10  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
2764         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: New file.
2765         * sysdeps/unix/sysv/linux/powerpc/Dist: Add sys/ptrace.h.
2766         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Delete wrong stuff.
2767         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Correct typedefs.
2769 2001-04-10  Ulrich Drepper  <drepper@redhat.com>
2771         * elf/dl-deps.c (_dl_map_object_deps): Provide complete error
2772         message.  Based on a patch by HJ Lu.
2774 2001-04-10  Andreas Schwab  <schwab@suse.de>
2776         * math/libm-test.inc (csinh_test): Don't require the invalid
2777         exception for csinh (x + iNaN), but make it optional.
2779 2001-04-09  David Mosberger  <davidm@hpl.hp.com>
2781         * sysdeps/ia64/elf/start.S (_start): Add unwind directives.
2783         * sysdeps/generic/entry.h [!__ASSEMBLY__]: Declare _start.
2784         * sysdeps/ia64/elf/entry.h: New file.
2785         * sysdeps/unix/sysv/linux/mips/entry.h [!__ASSEMBLY__]: Declare
2786         __start.
2787         * elf/rtld.c: Don't declare ENTRY_POINT.  Use ENTRY_POINT instead
2788         of &ENTRY_POINT.
2789         * sysdeps/generic/dl-sysdep.c: Likewise.
2790         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
2791         * sysdeps/ia64/elf/start.S: Save base address of register backing
2792         store in __libc_ia64_register_backing_store_base.
2794 2001-04-10  Martin Schwidefsky  <schwidefsky@de.ibm.com>
2796         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Fix return
2797         value of getcontext.
2798         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
2799         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Fix return
2800         value of setcontext.
2801         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
2802         * sysdeps/unix/sysv/linux/s390/swapcontext.c: Skip setcontext
2803         call by changing the saved context.
2805 2001-04-10  Ulrich Drepper  <drepper@redhat.com>
2807         * sysdeps/alpha/stackinfo.h: New file.
2808         * sysdeps/ia64/stackinfo.h: New file.
2810 2001-04-10  Andreas Schwab  <schwab@suse.de>
2812         * sysdeps/m68k/fpu/e_pow.c: Correct handling of some exceptional
2813         values.
2814         * sysdeps/m68k/fpu/e_scalb.c: Likewise.
2816 2001-04-09  Ulrich Drepper  <drepper@redhat.com>
2818         * sysdeps/sparc/sparc32/sparcv9/Dist: Add hp-timing.c.
2819         * sysdeps/sparc/sparc64/Dist: Add hp-timing.c.
2821         * libio/Makefile (distribute): Add fd_to_filename.h.
2823 2001-04-05  David S. Miller  <davem@redhat.com>
2825         Add hp-timing support for sparcv9/sparc64 targets.
2826         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: New file
2827         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: New file
2828         * sysdeps/sparc/sparc64/hp-timing.c: New file
2829         * sysdeps/sparc/sparc64/hp-timing.h: New file
2830         * sysdeps/sparc/sparc32/sparcv9/Makefile: Build hp-timing.
2831         * sysdeps/sparc/sparc64/Makefile: Likewise.
2833 2001-04-09  Jakub Jelinek  <jakub@redhat.com>
2835         * sysdeps/generic/fd_to_filename.h: New file.
2836         * sysdeps/unix/sysv/linux/fd_to_filename.h: New file.
2837         * libio/freopen.c (freopen): If FILENAME is NULL, try to get
2838         filename from the open file descriptor.
2839         * libio/freopen64.c (freopen64): Likewise.
2841 2001-04-09  Bruno Haible  <haible@clisp.cons.org>
2843         * misc/error.c (error): fflush stdout also if
2844         error_print_progname != NULL.
2845         (error_at_line): Likewise.
2847 2001-04-07  Bruno Haible  <haible@clisp.cons.org>
2849         * intl/gettextP.h (struct loaded_domain): Add codeset_cntr field.
2850         (struct binding): Add codeset_cntr field.
2851         (_nl_load_domain): Add domainbinding argument.
2852         (_nl_init_domain_conv, _nl_free_domain_conv): New declarations.
2853         (_nl_find_msg): New declaration, moved here from loadinfo.h.
2854         * intl/loadinfo.h (struct loaded_l10nfile): Remove domainbinding field.
2855         (_nl_make_l10nflist): Remove domainbinding argument.
2856         (_nl_find_msg): Move declaration to gettextP.h.
2857         * intl/bindtextdom.c (set_binding_values): Initialize ->codeset_cntr
2858         to 0.  Increment it when ->codeset is changed.
2859         * intl/dcigettext.c (DCIGETTEXT): Pass binding to _nl_find_msg.
2860         (_nl_find_msg): Add domainbinding argument.  Reinitialize the converter
2861         if domainbinding->codeset_cntr has been incremented.
2862         * intl/finddomain.c (_nl_find_domain): Don't pass domainbinding to
2863         _nl_make_l10nflist().  Pass it to _nl_load_domain() instead.
2864         * intl/l10nflist.c (_nl_make_l10nflist): Remove domainbinding argument.
2865         * intl/loadmsgcat.c (_nl_init_domain_conv): New function, extracted
2866          from _nl_load_domain.  Append //TRANSLIT also when using libiconv.
2867         (_nl_free_domain_conv): New function, extracted from _nl_unload_domain.
2868         (_nl_load_domain): Add domainbinding argument.  Call
2869         _nl_init_domain_conv.
2870         (_nl_unload_domain): Call _nl_free_domain_conv.
2871         * intl/Makefile (distribute): Add tst-codeset.sh, tstcodeset.po.
2872         (test-srcs): Add tst-codeset.
2873         (tests): Depend on tst-codeset.out.
2874         (tst-codeset.out): New rule.
2875         (CFLAGS-tst-codeset.c): New variable.
2876         * intl/tst-codeset.sh: New file.
2877         * intl/tstcodeset.po: New file.
2878         * intl/tst-codeset.c: New file.
2879         * locale/findlocale.c (_nl_find_locale): Update _nl_make_l10nflist
2880         calls.
2882 2001-04-07  Roland McGrath  <roland@frob.com>
2884         * mach/msgserver.c (__mach_msg_server_timeout): Add an assert.
2886 2001-03-31  Roland McGrath  <roland@frob.com>
2888         * sysdeps/mach/hurd/fork.c: Skip NEWPROC just like NEWTASK when
2889         copying send rights into child.  When we hit our name for our proc
2890         port, just copy NEWPROC directly instead of repeating proc_task2proc
2891         to install the child's port.
2893 2001-04-08  Roland McGrath  <roland@frob.com>
2895         * Makeconfig ($(common-objpfx)soversions.i): Grok entries with DEFAULT
2896         in second column, to provide default values for third column.
2897         * shlib-versions: Add comments about using DEFAULT in second column.
2898         (s390x-.*-linux.*): Replace individual entries with a DEFAULT entry.
2899         (cris-.*-linux.*): Likewise.
2901 2001-04-09  Ulrich Drepper  <drepper@redhat.com>
2903         * Makefile (distribute): Add scripts/documented.sh.
2904         * scripts/documented.sh: New file.
2906 2001-04-08  Hans-Peter Nilsson  <hp@axis.com>
2908         * sysdeps/unix/sysv/linux/cris/Dist: New file.
2909         * sysdeps/unix/sysv/linux/cris/Makefile: New file.
2910         * sysdeps/unix/sysv/linux/cris/_G_config.h: New file.
2911         * sysdeps/unix/sysv/linux/cris/bits/fcntl.h: New file.
2912         * sysdeps/unix/sysv/linux/cris/bits/mman.h: New file.
2913         * sysdeps/unix/sysv/linux/cris/bits/resource.h: New file.
2914         * sysdeps/unix/sysv/linux/cris/brk.c: New file.
2915         * sysdeps/unix/sysv/linux/cris/chown.c: New file.
2916         * sysdeps/unix/sysv/linux/cris/clone.S: New file.
2917         * sysdeps/unix/sysv/linux/cris/fchown.c: New file.
2918         * sysdeps/unix/sysv/linux/cris/fcntl.c: New file.
2919         * sysdeps/unix/sysv/linux/cris/fxstat.c: New file.
2920         * sysdeps/unix/sysv/linux/cris/getegid.c: New file.
2921         * sysdeps/unix/sysv/linux/cris/geteuid.c: New file.
2922         * sysdeps/unix/sysv/linux/cris/getgid.c: New file.
2923         * sysdeps/unix/sysv/linux/cris/getgroups.c: New file.
2924         * sysdeps/unix/sysv/linux/cris/getresgid.c: New file.
2925         * sysdeps/unix/sysv/linux/cris/getresuid.c: New file.
2926         * sysdeps/unix/sysv/linux/cris/getrlimit.c: New file.
2927         * sysdeps/unix/sysv/linux/cris/getrlimit64.c: New file.
2928         * sysdeps/unix/sysv/linux/cris/getuid.c: New file.
2929         * sysdeps/unix/sysv/linux/cris/lchown.c: New file.
2930         * sysdeps/unix/sysv/linux/cris/lockf64.c: New file.
2931         * sysdeps/unix/sysv/linux/cris/lxstat.c: New file.
2932         * sysdeps/unix/sysv/linux/cris/mmap.S: New file.
2933         * sysdeps/unix/sysv/linux/cris/mmap64.S: New file.
2934         * sysdeps/unix/sysv/linux/cris/msgctl.c: New file.
2935         * sysdeps/unix/sysv/linux/cris/profil-counter.h: New file.
2936         * sysdeps/unix/sysv/linux/cris/register-dump.h: New file.
2937         * sysdeps/unix/sysv/linux/cris/semctl.c: New file.
2938         * sysdeps/unix/sysv/linux/cris/setegid.c: New file.
2939         * sysdeps/unix/sysv/linux/cris/seteuid.c: New file.
2940         * sysdeps/unix/sysv/linux/cris/setfsgid.c: New file.
2941         * sysdeps/unix/sysv/linux/cris/setfsuid.c: New file.
2942         * sysdeps/unix/sysv/linux/cris/setgid.c: New file.
2943         * sysdeps/unix/sysv/linux/cris/setgroups.c: New file.
2944         * sysdeps/unix/sysv/linux/cris/setregid.c: New file.
2945         * sysdeps/unix/sysv/linux/cris/setresgid.c: New file.
2946         * sysdeps/unix/sysv/linux/cris/setresuid.c: New file.
2947         * sysdeps/unix/sysv/linux/cris/setreuid.c: New file.
2948         * sysdeps/unix/sysv/linux/cris/setrlimit.c: New file.
2949         * sysdeps/unix/sysv/linux/cris/setuid.c: New file.
2950         * sysdeps/unix/sysv/linux/cris/shmctl.c: New file.
2951         * sysdeps/unix/sysv/linux/cris/socket.S: New file.
2952         * sysdeps/unix/sysv/linux/cris/sys/ucontext.h: New file.
2953         * sysdeps/unix/sysv/linux/cris/syscall.S: New file.
2954         * sysdeps/unix/sysv/linux/cris/sysdep.S: New file.
2955         * sysdeps/unix/sysv/linux/cris/sysdep.h: New file.
2956         * sysdeps/unix/sysv/linux/cris/vfork.S: New file.
2957         * sysdeps/unix/sysv/linux/cris/xstat.c: New file.
2959 2001-04-08  Hans-Peter Nilsson  <hp@axis.com>
2961         * sysdeps/cris/Dist: New file.
2962         * sysdeps/cris/Implies: New file.
2963         * sysdeps/cris/Makefile: New file.
2964         * sysdeps/cris/__longjmp.S: New file.
2965         * sysdeps/cris/_mcount.S: New file.
2966         * sysdeps/cris/bits/endian.h: New file.
2967         * sysdeps/cris/bits/setjmp.h: New file.
2968         * sysdeps/cris/bits/string.h: New file.
2969         * sysdeps/cris/dl-machine.h: New file.
2970         * sysdeps/cris/elf/start.S: New file.
2971         * sysdeps/cris/machine-gmon.h: New file.
2972         * sysdeps/cris/memcopy.h: New file.
2973         * sysdeps/cris/memusage.h: New file.
2974         * sysdeps/cris/setjmp.S: New file.
2975         * sysdeps/cris/sysdep.h: New file.
2976         * sysdeps/cris/wordcopy.c: New file.
2978 2001-04-08  Hans-Peter Nilsson  <hp@axis.com>
2980         * elf/elf.h: Add new relocations for CRIS.
2982 2001-04-08  Hans-Peter Nilsson  <hp@axis.com>
2984         * shlib-versions: Add cases for Linux on CRIS.
2986 2001-04-08  Hans-Peter Nilsson  <hp@axis.com>
2988         * configure.in (ASM_LINE_SEP tests): Handle CRIS assembly, with
2989         ';' for comments and '@' for line separator.
2991 2001-04-08  Hans-Peter Nilsson  <hp@axis.com>
2993         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Fix
2994         typo; s/==/=/ for assignment.
2996 2001-04-08  Hans-Peter Nilsson  <hp@axis.com>
2998         * malloc/Makefile: Correct comment; mtrace is Perl, not AWK.
3000 2001-04-08  Hans-Peter Nilsson  <hp@axis.com>
3002         * iconv/gconv_simple.c (internal_ucs4_loop_unaligned): Check for
3003         empty input before checking full output.
3005 2001-04-08  Hans-Peter Nilsson  <hp@axis.com>
3007         * iconv/gconv.c (__gconv): Don't derefer parameter cd before
3008         checking if == -1L.
3010 2001-04-08  Ulrich Drepper  <drepper@redhat.com>
3012         * inet/rexec.c (rexec_af): Avoid calling perror with errno being set.
3014 2001-04-07  Stephen L Moshier  <moshier@mediaone.net>
3016         * sysdeps/ieee754/ldbl-128/e_logl.c: Correct infinity and NaN
3017         return values.
3019 2001-04-07  Ulrich Drepper  <drepper@redhat.com>
3021         * stdlib/tst-setcontext.c (main): Add a test for setcontext.
3023         * sysdeps/unix/sysv/linux/i386/getcontext.S: New file.
3024         * sysdeps/unix/sysv/linux/i386/setcontext.S: New file.
3025         * sysdeps/unix/sysv/linux/i386/makecontext.S: New file.
3026         * sysdeps/unix/sysv/linux/i386/swapcontext.S: New file.
3027         * sysdeps/unix/sysv/linux/i386/ucontext_i.h: New file.
3028         * sysdeps/unix/sysv/linux/i386/Dist: Add ucontext_i.h.
3030 2001-04-07  Andreas Jaeger  <aj@suse.de>
3032         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Use sincos
3033         instead of separate sin and cos.
3034         (__ieee754_j1l): Likewise.
3036 2001-04-06  Ulrich Drepper  <drepper@redhat.com>
3038         * sysdeps/ia64/abort-instr.h: New file.  Code by David Mosberger.
3040         * sysdeps/ia64/atomicity.h: New file.  Copied from libstdc++.
3042         * sysdeps/i386/i486/atomicity.h: Clean up the asms.
3044         * sysdeps/generic/e_scalb.c: Don't use FE_INVALID unless it's
3045         available.
3046         * sysdeps/generic/e_scalbf.c: Likewise.
3047         * sysdeps/generic/e_scalbl.c: Likewise.
3048         Patch by Mark Hatle <fray@mvista.com>.
3050 2001-04-05  David S. Miller  <davem@redhat.com>
3052         * sysdeps/sparc/abort-instr.h: New file.
3054 2001-04-05  Matt Wilson  <msw@redhat.com>
3056         * sysdeps/unix/sysv/linux/alpha/getsysstats.c (GET_NPROCS_PARSER):
3057         added code to parse new 2.4 format.
3058         (GET_NPROCS_CONF_PARSER): Likewise.
3060 2001-04-05  David S. Miller  <davem@redhat.com>
3062         * scripts/config.sub: Recognize sparcv9b like sparcv9.
3063         * configure.in: Add sparcv9b.
3064         * sysdeps/sparc/sparc32/sparcv9b/Implies: New file
3065         * sysdeps/sparc/sparc32/sparcv9b/memcpy.S: New file
3066         * sysdeps/sparc/sparc64/sparcv9b/memcpy.S: New file
3068 2001-04-06  David Mosberger  <davidm@hpl.hp.com>
3070         * stdlib/tst-setcontext.c: Move st2[] to global scope.
3071         (f2): Verify that stack pointer is inside st2[].
3073         * sysdeps/unix/sysv/linux/ia64/getcontext.S: It helps to save r12.
3074         * sysdeps/unix/sysv/linux/ia64/setcontext.S: It helps to restore r12.
3076 2001-04-06  Ulrich Drepper  <drepper@redhat.com>
3078         * timezone/antarctica: Update from tzdata2001b.
3079         * timezone/asia: Likewise.
3080         * timezone/australasia: Likewise.
3081         * timezone/europe: Likewise.
3082         * timezone/northamerica: Likewise.
3084         * iconv/iconv_open.c: Move strip and upstr definitions...
3085         * iconv/gconv_charset.h: ...here.  New file.
3086         * iconv/gconv_db.c (once): Move to file level.
3087         (do_lookup_alias): Split out from __gconv_find_transform.
3088         (__gconv_find_transform): Call do_lookup_alias.
3089         (__gconv_loopup_alias): New function.
3090         * locale/langinfo.h: Define _NL_*_CODESET values for all categories
3091         but LC_CTYPE.
3092         * locale/categories.def: Add entries for new _NL_*_CODESET values.
3093         * locale/C-ctype.c: Use _nl_C_codeset to initialize CODESET entry.
3094         * locale/C-address.c: Initialize _NL_*_CODESET element.
3095         * locale/C-collate.c: Likewise.
3096         * locale/C-identification.c: Likewise.
3097         * locale/C-measurement.c: Likewise.
3098         * locale/C-messages.c: Likewise.
3099         * locale/C-monetary.c: Likewise.
3100         * locale/C-name.c: Likewise.
3101         * locale/C-numeric.c: Likewise.
3102         * locale/C-paper.c: Likewise.
3103         * locale/C-telephone.c: Likewise.
3104         * locale/C-time.c: Likewise.
3105         * locale/localeinfo.h: Declare _nl_C_codeset.
3106         * locale/C_name.c: Define _nl_C_codeset.
3107         * locale/findlocale.c: Before accepting locale check that the used
3108         charset does not conflict with what the locale name said.
3109         * locale/programs/ld-address.c: Emit codeset information.
3110         * locale/programs/ld-collate.c: Likewise.
3111         * locale/programs/ld-identification.c: Likewise.
3112         * locale/programs/ld-measurement.c: Likewise.
3113         * locale/programs/ld-messages.c: Likewise.
3114         * locale/programs/ld-monetary.c: Likewise.
3115         * locale/programs/ld-name.c: Likewise.
3116         * locale/programs/ld-numeric.c: Likewise.
3117         * locale/programs/ld-paper.c: Likewise.
3118         * locale/programs/ld-telephone.c: Likewise.
3119         * locale/programs/ld-time.c: Likewise.
3121         * localedata/tests-mbwc/tst_funcs.h (TST_HEAD_LOCALE): It is an error
3122         if the locale data couldn't be found.
3124         * string/Makefile: Define tst-strxfrm-ENV.
3126         * ysdeps/unix/sysv/linux/ia64/getcontext.S: Fix comment.
3128 2001-04-06  Andreas Jaeger  <aj@suse.de>
3130         * include/sys/profil.h: New file.
3132         * dlfcn/modatexit.c: Add prototypes to silence GCC.
3133         * dlfcn/modcxaatexit.c: Likewise.
3134         * elf/globalmod1.c: Likewise.
3136 2001-04-05  David S. Miller  <davem@redhat.com>
3138         * elf/elf.h (HWCAP_SPARC_ULTRA3): Define it.
3139         * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h: Add it to
3140         capability flags table and HWCAP_IMPORTANT, increase
3141         _DL_HWCAP_COUNT to 6.
3142         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h: Likewise.
3144 2001-04-04  David Mosberger  <davidm@hpl.hp.com>
3146         * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext): Fix
3147         initialization of stack_end (bug reported by Zheng Gengbin
3148         <gzheng@students.uiuc.edu>).
3150 2001-04-05  Ulrich Drepper  <drepper@redhat.com>
3152         * sysdeps/i386/fpu/libm-test-ulps: Relax errors for asinl.
3154 2001-04-05  Martin Schwidefsky  <schwidefsky@de.ibm.com>
3156         * sysdeps/unix/sysv/linux/s390/s390-64/bits/socket.h: New file.
3158 2001-04-05  Ulrich Drepper  <drepper@redhat.com>
3160         * sysdeps/ieee754/ldbl-96/e_asinl.c: Correct handling of +-Inf.
3161         * sysdeps/i386/fpu/e_asinl.S: Removed.  Too inaccurate.
3163         * login/tst-utmp.c: Make file usable again in tst-utmpx.c.
3165 2001-04-04  Ulrich Drepper  <drepper@redhat.com>
3167         * sysdeps/unix/sysv/aix/dl-libc.c: Don't use the ELF version,
3168         define simple replacements here.  Patch by Michael Keezer.
3170         * sysdeps/ieee754/ldbl-128/e_logl.c: New file.
3171         * sysdeps/ieee754/ldbl-96/e_asinl.c: New file.
3172         Contributed by Stephen L Moshier <moshier@mediaone.net>.
3174         * posix/fnmatch_loop.c: Undefine NEW_PATTERN when it is not used
3175         anymore.
3177 2001-04-01  Andreas Jaeger  <aj@suse.de>
3179         * sysdeps/generic/s_nextafter.c (NO_LONG_DOUBLE): Add nexttowardl
3180         alias.
3182         * sysdeps/generic/s_fma.c (NO_LONG_DOUBLE): Add fmal alias.
3184 2001-04-04  Ulrich Drepper  <drepper@redhat.com>
3186         * sysdeps/unix/sysv/linux/s390/s390-64/Dist: Add ucontext_i.h.
3187         * sysdeps/unix/sysv/linux/s390/s390-32/Dist: Likewise.
3189 2001-04-04  Martin Schwidefsky  <schwidefsky@de.ibm.com>
3191         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: New file.
3192         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: New file.
3193         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: New file.
3194         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.h: New file.
3195         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: New file.
3196         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: New file.
3197         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: New file.
3198         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.h: New file.
3199         * sysdeps/unix/sysv/linux/s390/swapcontext.c: New file.
3201 2001-04-04  Andreas Jaeger  <aj@suse.de>
3203         * sysdeps/powerpc/dl-machine.h (ELF_MACHINE_NO_REL): Move to right
3204         place.
3206 2001-04-04  Ulrich Drepper  <drepper@redhat.com>
3208         * sunrpc/rpc_scan.c (symbols): Add entry for HYPER.
3209         * sunrpc/rpc_scan.h (enum tok_kind): Add TOK_HYPER.
3210         * sunrpc/rpc_parse.c (get_type): Handle TOK_HYPER.
3211         (unsigned_dec): Likewise.
3212         Patch by atai@jezebel.dreamhost.com.
3214         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r): Pass
3215         pointer to int as last parameter of yp_match.
3216         Patch by kanazawa@flab.fujitsu.co.jp.
3218 2001-04-03  Ulrich Drepper  <drepper@redhat.com>
3220         * resolv/netdb.h (gai_strerror): Make return value const.
3221         * sysdeps/generic/gai_strerror.c (gai_strerror): Likewise.
3222         * sysdeps/posix/gai_strerror.c (gai_strerror): Likewise.
3223         Add strings for new error values.
3225 2001-03-29  Michael Keezer  <mkeezer@redhat.com>
3227         * posix/tst-gnuglob.c: Added ifdef _DIRENT_HAVE_D_TYPE.
3228         * login/tst-utmp.c: Handle case where ut_tv is not available but
3229         ut_time is.
3230         * sysdeps/unix/sysv/aix/utmpx.h: New file.
3231         * sysdeps/unix/sysv/aix/bits/utmpx.h: Added
3232         _HAVE_UT_TYPE/PID/ID/TV/HOST defines.
3233         * sysdeps/unix/sysv/aix/libc-start.c: Removed temp code and made stub.
3234         * sysdeps/unix/sysv/aix/gettimeofday.c: New file added routines
3235         to access RTCU timer reg.
3236         * sysdeps/unix/sysv/aix/Makefile: Remove /usr/lib/crt0.o
3237         added dl-libc, dl-open,dl-sym, dl-close to misc.
3238         * sysdeps/unix/sysv/aix/start.c: New file.  Start code.
3239         * sysdeps/unix/sysv/aix/dlldr.h: New file.  AIX __loadx defines.
3240         * sysdeps/unix/sysv/aix/dl-close.c: New file.  AIX dl-close.
3241         * sysdeps/unix/sysv/aix/dl-open.c: New file.  AIX dl-open.
3242         * sysdeps/unix/sysv/aix/dl-sym.c: New file.  AIX dl-sym.
3243         * sysdeps/unix/sysv/aix/dl-libc.c: New file.  libc_dl-xxx support.
3244         * sysdeps/generic/strtoll.c: Added SHLIB_COMPAT(libc,GLIBC_2_0,
3245         GLIBC_2_2).
3246         * sysdeps/generic/strtoull.c: Likewise.
3247         * sysdeps/powerpc/ppc-mcount.S: Added nop after bl instruction.
3248         * sysdeps/unix/sysv/aix/powerpc/memset.c: New file to include
3249         sysdeps/generic/memset.c.
3250         * sysdeps/unix/sysv/aix/getpeername.c: Define __getpeername.
3252 2001-04-03  Ulrich Drepper  <drepper@redhat.com>
3254         * iconv/Makefile (CFLAGS-charmap.c): Add -DNEED_NULL_POINTER.
3255         * locale/programs/charmap.c: Define null_pointer if
3256         NEED_NULL_POINTER is defined.
3258         * misc/dirname.c (dirname): Handle multiple slashes correctly.
3260 2001-04-03  Martin Schwidefsky  <schwidefsky@de.ibm.com>
3262         * sysdeps/s390/s390-64/initfini.c: Fix __gmon_start__ GOT access.
3264 2001-04-03  Martin Schwidefsky  <schwidefsky@de.ibm.com>
3266         * sysdeps/s390/s390-32/bcopy.S: Optimize for speed.
3267         * sysdeps/s390/s390-64/bcopy.S: Likewise.
3268         * sysdeps/s390/s390-32/mempcy.S: Likewise.
3269         * sysdeps/s390/s390-64/memcpy.S: Likewise.
3271 2001-04-02  Bruno Haible  <haible@clisp.cons.org>
3273         * manual/message.texi (Advanced gettext functions): More specific
3274         syntax in the plural formula examples.
3276 2001-04-02  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
3278         * sysdeps/powerpc/atomicity.h: Silence warnings.
3279         * sysdeps/powerpc/dl-machine.h: Likewise.
3280         * sysdeps/powerpc/register-dump.h: Likewise.
3281         * sysdeps/powerpc/fpu/s_lrint.c: Likewise.
3283 2001-04-02  Andreas Jaeger  <aj@suse.de>
3285         * misc/tst-dirname.c (main): Add more tests, derived from a bug
3286         report by Michael Kerrisk <mtk16@ext.canterbury.ac.nz>.
3288 2001-04-01  Andreas Jaeger  <aj@suse.de>
3290         * debug/xtrace.sh (pcprofileso): Use SLIBDIR since libpcprofile.so
3291         is installed there.
3292         * malloc/memusage.sh (memusageso): Likewise for libmemusage.so.
3294 2001-04-01  H.J. Lu  <hjl@gnu.org>
3296         * posix/annexc.c (macrofile): Renamed from TMPFILE and set to
3297         tmpnam (NULL).
3298         * stdlib/isomac.c (macrofile): Likewise.
3300 2001-03-30  Thorsten Kukuk  <kukuk@suse.de>
3302         * inet/rcmd.c: Allow AF_UNSPEC as parameter.
3303         * nis/ypclnt.c (yp_all): Print error message only at last try,
3304         check for protocoll error only if we don't have a network error.
3306 2001-04-02  Andreas Schwab  <schwab@suse.de>
3308         * resolv/res_data.c (res_isourserver): Fix cast.
3310 2001-04-02  Andreas Jaeger  <aj@suse.de>
3312         * sysdeps/unix/sysv/linux/hppa/umount.c: Add prototype for
3313         __umount2.
3315         * sysdeps/i386/dl-machine.h (RTLD_START): Don't use multi-line
3316         strings.
3317         (ELF_MACHINE_RUNTIME_TRAMPOLINE): Likewise.
3319         * sysdeps/ieee754/dbl-64/uroot.h: Add missing braces arount
3320         initializers.
3321         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Likewise.
3323         * elf/rtld.c (print_statistics)[!HP_TIMING_NONAVAIL]: Avoid
3324         warning about unused variable.
3326         * string/string.h (strndupa): Add cast for C++ conformance.
3327         (strdupa): Likewise.
3328         Fixes PR libc/2173, reported by tbrowder@home.com.
3330 2001-03-30  Roland McGrath  <roland@frob.com>
3332         * sysdeps/mach/hurd/Makefile ($(link-rpcuserlibs)): Don't append
3333         options after $(build-module), which is no longer a single command.
3334         (LDFLAGS-link-rpcuserlibs): New variable to hold those options.
3335         (LDFLAGS-libmachuser-link.so, LDFLAGS-libhurduser-link.so): New
3336         variables using it.  Reported by Mark Kettenis <kettenis@gnu.org>.
3338 2001-03-11  Roland McGrath  <roland@frob.com>
3340         * elf/rtld.c (dl_main): Add cast to quiet warning.
3341         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
3342         * iconv/gconv_conf.c (__gconv_get_path): Likewise.
3343         (__gconv_read_conf): Likewise.
3344         * iconv/gconv_db.c (gen_steps): Likewise.
3345         (__gconv_find_transform): Likewise.
3346         * locale/programs/charmap-dir.c (fopen_uncompressed): Likewise.
3347         (fopen_uncompressed): Use const in second argument's type.
3349 2001-03-11  Roland McGrath  <roland@frob.com>
3351         * sysdeps/mach/hurd/dl-sysdep.c (__writev): New function.
3353         * mach/mach_error.h: Fix ancient #endif syntax.
3354         * hurd/hurdmalloc.c: Likewise.
3356         * sysdeps/generic/atomicity.h (exchange_and_add, atomic_add,
3357         compare_and_swap): Add volatile qualifier to first arg, to bring
3358         these prototypes in line with all the other implementations.
3359         Add a #warning to remind the builder that these are not atomic.
3361 2001-03-04  Roland McGrath  <roland@frob.com>
3363         * hurd/vpprintf.c (vpprintf) [USE_IN_LIBIO]: Use innermore first
3364         member of TEMP_F so its type is _IO_FILE * as expected.
3366         * hurd/fopenport.c (seekio): Conditionalize type of POS argument
3367         on [USE_IN_LIBIO].  Check the value for overflow, since for libio
3368         it might exceed off_t's range.
3370 2001-02-25  Roland McGrath  <roland@frob.com>
3372         * sysdeps/mach/hurd/sysd-stdio.c (__stdio_reopen): Use prototype.
3373         * sysdeps/unix/bsd/getpt.c (__posix_openpt): Likewise.
3375         * sysdeps/mach/hurd/i386/intr-msg.h (SYSCALL_EXAMINE): Make this a
3376         macro instead of an inline function,
3377         (MSG_EXAMINE): Likewise.
3379         * hurd/hurd/ioctl.h (_HURD_HANDLE_IOCTLS_1): Remove extraneous ##.
3381         * hurd/get-host.c: Include <string.h> for decls of built-ins.
3382         * hurd/hurdchdir.c: Likewise.
3383         * sysdeps/mach/hurd/i386/sigreturn.c: Likweise.
3384         * sysdeps/mach/hurd/opendir.c: Likewise.
3386         * mach/mach_init.c: Include <unistd.h> for _exit decl.
3388         * mach/errsystems.awk: Give output file a trailing newline.
3390         * mach/Machrules (MIG): Prepend CC='${CC}' to the mig command, so that
3391         the script will use our compiler for the cpp stage.
3393         With --enable-all-warnings we get a whole bunch of warnings,
3394         and these are just a few fixes; there are more needed to silence it.
3395         * mach/mach/mig_support.h (__mig_strncpy, mig_strncpy): Add extern
3396         decls before extern inline defns to quiet gcc warning.
3397         * hurd/hurd/threadvar.h (__hurd_threadvar_location_from_sp): Likewise.
3398         * sysdeps/mach/i386/machine-sp.h (__thread_stack_pointer): Likewise.
3400 2001-03-31  Andreas Jaeger  <aj@suse.de>
3402         * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_RAWHDLC): Added.
3403         (ARPHRD_HDLC): Define as alias for ARPHRD_CISCO.
3404         (ARPHRD_CISCO): New.
3405         Changes from Linux 2.4.3.
3407 2001-03-30  Isamu Hasegawa  <isamu@yamato.ibm.com>
3409         * posix/regex.c: Avoid an access violation if malloc fails.
3411 2001-03-30  Andreas Jaeger  <aj@suse.de>
3413         * sysdeps/alpha/ldiv.S (ldiv): Add alias for imaxdiv.
3415 2001-03-29  Ulrich Drepper  <drepper@redhat.com>
3417         * posix/regex.c: Remove unnecessary ifs.
3419         * math/bits/mathcalls.h: Remove infnan declaration.
3421 2001-03-29  H.J. Lu  <hjl@gnu.org>
3423         * include/endian.h: Define BIG_ENDI, LITTLE_ENDI, HIGH_HALF,
3424         and LOW_HALF only if _LIBC is defined and _ISOMAC is not defined.
3425         * stdlib/isomac.c (fmt): Define _LIBC and _ISOMAC.
3427 2001-03-29  Isamu Hasegawa  <isamu@yamato.ibm.com>
3429         * posix/regex.c: Fix typo and add a sentinel.
3431 2001-03-29  Ulrich Drepper  <drepper@redhat.com>
3433         * sysdeps/unix/sysv/linux/shm_open.c: Open new file always with
3434         O_NOFOLLOW.  Suggested by Christoph Roland.
3436 2001-03-27  Martin Schwidefsky  <schwidefsky@de.ibm.com>
3438         * sysdeps/s390/bits/string.h: New unified 31/64 bit string.h.
3439         * sysdeps/s390/s390-32/bits/string.h: Remove.
3440         * sysdeps/s390/s390-64/bits/string.h: Remove.
3441         * sysdeps/s390/s390-32/strcmp.S: New file.
3442         * sysdeps/s390/s390-64/strcmp.S: New file.
3444 2001-03-27  Martin Schwidefsky  <schwidefsky@de.ibm.com>
3446         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Fix typo.
3447         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
3449 2001-03-27  Ulrich Drepper  <drepper@redhat.com>
3451         * version.h (VERSION): Bump to 2.2.3.
3453         * stdlib/isomac.c (fmt): Don't define _LIBC.
3454         * include/endian.h: Define BIG_ENDI, LITTLE_ENDI, HIGH_HALF, and
3455         LOW_HALF only if _LIBC is defined.
3457         * sysdeps/i386/fpu/libm-test-ulps: Slight adjustment of yn() error.
3459         * posix/fnmatch_loop.c (FCT): Handle !() after * special like @()
3460         and +().
3461         * posix/tst-fnmatch.input: Add test cases for matching empty strings.
3463         * sysdeps/ieee754/dbl-64/endian.h: Removed.  Move definitions...
3464         * include/endian.h: ...to here.
3466 2001-03-27  kaz Kojima  <kkojima@rr.iij4u.or.jp>
3468         * sysdeps/sh/sys/ucontext.h (NFREG): Rename to NFPREG.
3469         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (NFREG): Likewise.
3471 2001-03-27  Martin Schwidefsky  <schwidefsky@de.ibm.com>
3473         * sysdeps/unix/sysv/linux/s390/ldconfig.h: Fix typo.
3475 2001-03-26  Ulrich Drepper  <drepper@redhat.com>
3477         * sysdeps/ia64/fpu/Dist: Add new files to distribute.
3478         * sysdeps/unix/sysv/linux/s390/s390-64/Dist: Likewise.
3479         * sysdeps/unix/sysv/linux/ia64/Dist: Likewise.
3481         * gmon/Makefile (headers): Add sys/profil.h.
3483 2001-03-18  Andreas Jaeger  <aj@suse.de>
3485         * manual/install.texi (Tools for Compilation): Advise to use GCC
3486         2.95.3.
3487         (Supported Configurations): Mention s390x.
3489 2001-03-26  Ben Collins  <bcollins@debian.org>
3491         * sysdeps/unix/sysv/linux/mips/bits/mman.h: Add MAP_* and MADV_*
3492         defines to match other architectures.
3494 2001-03-26  Ulrich Drepper  <drepper@redhat.com>
3496         * libio/Makefile (tests): Add tst-ext.
3497         * libio/tst-ext.c: New file.
3499         * libio/iosetvbuf.c (_IO_setvbuf): Clear line buffer flag for _IONBF.
3501 2001-03-25  Ulrich Drepper  <drepper@redhat.com>
3503         Add changes which were in this form in the original patch by
3504         Eric Norum <eric.norum@usask.ca>.
3505         * include/rpc/rpc.h: Remove svc_fdset, rpc_createerr, svc_pollfd, and
3506         svc_max_pollfd.
3507         * sunrpc/rpc/rpc.h: Declare __rpc_thread_svc_fdset,
3508         __rpc_thread_createerr, __rpc_thread_svc_pollfd, and
3509         __rpc_thread_svc_max_pollfd.
3510         Define svc_fdset, get_rpc_createerr, svc_pollfd, and
3511         svc_max_pollfd.
3512         * sunrpc/rpc_thread.c: Handle first thread special, it uses the
3513         global variables.
3514         Define __rpc_thread_svc_fdset, __rpc_thread_createerr,
3515         __rpc_thread_svc_pollfd, and __rpc_thread_svc_max_pollfd.
3516         * sunrpc/Versions [libc] (GLIBC_2.2.3): Export  __rpc_thread_svc_fdset,
3517         __rpc_thread_createerr, __rpc_thread_svc_pollfd, and
3518         __rpc_thread_svc_max_pollfd.
3519         * sunrpc/clnt_gen.c: Replace use of rpc_createerr by call to
3520         get_rpc_createerr.
3521         * sunrpc/clnt_perr.c: Likewise.
3522         * sunrpc/clnt_simp.c: Likewise.
3523         * sunrpc/clnt_tcp.c: Likewise.
3524         * sunrpc/clnt_udp.c: Likewise.
3525         * sunrpc/clnt_unix.c: Likewise.
3526         * sunrpc/pm_getport.c: Likewise.
3528         * sysdeps/unix/sysv/linux/i386/getgroups.c (__getgroups): getgroups32
3529         syscall checks for negative n so don't test here as well.
3531 2001-03-23  Jes Sorensen  <jes@linuxcare.com>
3533         * sysdeps/unix/sysv/linux/ia64/sysdep.h (ENTRY): Moved to ...
3534         * sysdeps/ia64/sysdep.h: ...here.
3536         * sysdeps/ia64/sysdep.h (LOCAL_ENTRY): Define.
3537         * sysdeps/ia64/sysdep.h (LOCAL_LEAF): Define.
3539         * sysdeps/ia64/_mcount.S (_mcount_ret_helper): Use LOCAL_LEAF() to
3540         declare instead of LEAF().  Suggestion from David Mosberger.
3542 2001-03-21  David Mosberger  <davidm@hpl.hp.com>
3544         * sysdeps/unix/sysv/linux/ia64/sysdep.h (CALL_MCOUNT): Add unwind
3545         directives.
3546         (PSEUDO): Drop .psr and .lsb directives.
3548         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Ditto.  Add unwind
3549         directives.
3550         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Ditto.
3552         * sysdeps/ia64/elf/start.S: Misc cleanup: remove .psr and .lsb
3553         directives etc.
3554         * sysdeps/unix/sysv/linux/ia64/brk.S: Ditto.
3555         * sysdeps/unix/sysv/linux/ia64/__longjmp.S: Ditto.
3556         * sysdeps/ia64/_mcount.S: Remove .psr and .lsb directives (no
3557         longer needed).  Add unwind directives.
3559         * sysdeps/ia64/sysdep.h: Define ASM_UNW_PRLG_RP, ASM_UNW_PRLG_PFS,
3560         ASM_UNW_PRLG_PSP, ASM_UNW_PRLG_PR, and ASM_UNW_PRLG_GRSAVE.
3562 2001-03-21  Paul Eggert  <eggert@twinsun.com>
3564         * posix/regex.h (RE_INVALID_INTERVAL_ORD): New macro.
3565         (RE_SYNTAX_POSIX_EGREP): Use it.
3566         * posix/regex.c (regex_compile): Implement it.
3568 2001-03-21  Paul Eggert  <eggert@twinsun.com>
3570         * posix/regex.c (GET_UNSIGNED_NUMBER): Check for overflow.
3571         Rewrite to avoid duplicate code.
3573 2001-03-21  H.J. Lu  <hjl@gnu.org>
3575         * elf/Makefile (tests): Don't depend on $(objpfx)tst-pathopt.out
3576         for cross-compiling.
3577         ($(objpfx)tst-pathopt.out): Undo the last change.
3579 2001-03-24  Mark Kettenis  <kettenis@gnu.org>
3581         * sysdeps/mach/hurd/i386/bits/sigcontext.h (sc_sp, sc_fp, sc_pc,
3582         sc_ps): Define as aliases for sc_uesp, sc_ebl, sc_eip and sc_efl.
3584         * sysdeps/mach/hurd/i386/init-first.c: Include <assert.h>.
3585         (_dl_argv): Declare.
3586         (init) [SHARED]: Readjust _dl_argv if we switched to a new stack.
3588 2001-03-22  Andreas Jaeger  <aj@suse.de>
3590         * iconvdata/Makefile (generated): Add iconv-test.xxx.
3592         * posix/Makefile (generated): Add bug-regex2.mtrace and
3593         bug-regex2-mem.
3595 2001-03-21  Ulrich Drepper  <drepper@redhat.com>
3597         * csu/version.c (__gnu_get_libc_release): Add prototype.
3598         (__gnu_get_libc_version): Likewise.
3599         * include/gnu/libc-version.h: Remove prototypes for not exported
3600         functions.
3602 2001-03-21  Jes Sorensen  <jes@linuxcare.com>
3604         * sysdeps/unix/sysv/linux/ia64/makecontext.c: Include libintl.h
3605         for internationalized printfs to work.
3607 2001-03-09  Bruno Haible  <haible@clisp.cons.org>
3609         * intl/dcigettext.c (transmem_block_t): Change to unsigned char, to
3610         avoid compiler warning.
3611         (_nl_find_msg): Add casts to avoid compiler warnings.
3613 2001-03-21  Ulrich Drepper  <drepper@redhat.com>
3615         * gmon/Makefile (routines): Add sprofil.
3616         (tests): Add tst-sprofil.
3617         (noprof): Add sprofil.
3618         * gmon/Versions [libc] (GLIBC_2.2.3): Add sprofil.
3620 2001-03-20  David Mosberger  <davidm@hpl.hp.com>
3622         * sysdeps/generic/sprofil.c: New file.
3623         * sysdeps/posix/sprofil.c: New file.
3624         * gmon/tst-sprofil.c: New file.
3625         * gmon/sys/profil.h: New file.
3627 2001-03-20  Andreas Schwab  <schwab@suse.de>
3629         * include/unistd.h: Adjust prototype of __gethostname.
3631 2001-03-20  Jakub Jelinek  <jakub@redhat.com>
3633         * sysdeps/sparc/stackinfo.h: New file.
3635 2001-03-21  Andreas Jaeger  <aj@suse.de>
3637         * elf/global.c (main): Use proper prototype.
3639 2001-03-20  Ulrich Drepper  <drepper@redhat.com>
3641         * sunrpc/Makefile (routines): Add rpc_thread.
3642         (CPPFLAGS): Add -D_RPC_THREAD_SAFE.
3643         * sunrpc/rpc_thread.c: New file.
3644         * sunrpc/Versions [libc] (GLIBC_2.2.3): Export __rpc_thread_destroy.
3645         * sunrpc/auth_none.c: Don't use global variables.  Access state in
3646         thread-local storage.
3647         * sunrpc/clnt_perr.c: Likewise.
3648         * sunrpc/clnt_raw.c: Likewise.
3649         * sunrpc/clnt_simp.c: Likewise.
3650         * sunrpc/key_call.c: Likewise.
3651         * sunrpc/rpc_common.c: Likewise.
3652         * sunrpc/svc.c: Likewise.
3653         * sunrpc/svc_raw.c: Likewise.
3654         * sunrpc/svc_simple.c: Likewise.
3655         * sunrpc/svcauth_des.c: Likewise.
3656         * hurd/hurd/threadvar.h (enum __hurd_threadvar_index): Add
3657         _HURD_THREADVAR_RPC_VARS.
3658         * sysdeps/generic/bits/libc-tsd.h: Mention _LIBC_TSD_KEY_RPC_VARS.
3659         * include/rpc/rpc.h: Define data structures for internal thread-local
3660         "global" variables.
3661         Based on patches by Eric Norum <eric.norum@usask.ca>.
3663         * elf/dl-load.c: Various little optimizations.
3665         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Return
3666         LINUX_LINK_MAX only if the statfs function is not implemented for
3667         the filesystem.
3669         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Return
3670         LINUX_LINK_MAX only if the fstatfs function is not implemented for
3671         the filesystem.
3673 2001-03-19  Ulrich Drepper  <drepper@redhat.com>
3675         * elf/dl-dst.h (DL_DST_COUNT): Add __builtin_expect.
3677         * elf/dl-load.c (_dl_dst_count): Make DST recognition more robust.
3678         (_dl_dst_substitute): Likewise.
3680 2001-03-17  Bruno Haible  <haible@clisp.cons.org>
3682         * intl/loadmsgcat.c (_nl_load_domain) [!_LIBC]: Use fstat, not fstat64.
3684 2001-03-17  Bruno Haible  <haible@clisp.cons.org>
3686         * intl/gettextP.h (struct expression): Add operators lnot, less_than,
3687         greater_than, less_or_equal, greater_or_equal.  Replace args2/args3
3688         union by a 'nargs' counter and an 'args[]' array.
3689         * intl/plural.y: Don't include stdarg.h.
3690         (new_exp): Take an array of arguments instead of varargs.
3691         (new_exp_0, new_exp_1, new_exp_2, new_exp_3): New functions.
3692         ('?' ':'): Make right-associative.
3693         (EQUOP2): New token, replaces '=' and '!'.
3694         (CMPOP2): New token.
3695         (ADDOP2): New token, replaces '+' and '-'.
3696         (MULOP2): New token, replaces '*', '/' and '%'.
3697         ('!'): New token.
3698         (exp): Add rules for CMPOP2 and '!'.  Don't call YYABORT.
3699         (start): Call YYABORT here.
3700         (FREE_EXPRESSION): Update.
3701         (yylex): Don't skip "\\n".  Recognize comparison and '!' operators.
3702         Update for new token symbols.
3703         * intl/loadmsgcat.c (plvar, plone, germanic_plural,
3704         init_germanic_plural): Update.
3705         * intl/dcigettext.c (_nl_find_msg): Optimize for space.
3706         (plural_eval): Recognize comparison and '!' operators.  Optimize for
3707         space.
3709 2001-03-10  Bruno Haible  <haible@clisp.cons.org>
3711         * intl/loadmsgcat.c (_nl_load_domain): locale_charset() doesn't return
3712         NULL any more.
3714 2001-01-05  Bruno Haible  <haible@clisp.cons.org>
3716         * intl/loadmsgcat.c: Include headers needed for alloca().
3717         (freea): New macro.
3718         (_nl_load_domain): Add fallback code for platforms lacking alloca.
3719         * intl/localealias.c: (ADD_BLOCK, FREE_BLOCK): Remove macros.
3720         (freea): New macro.
3721         (read_alias_file): Simplify fallback code for platforms lacking
3722         alloca.
3724 2001-01-07  Bruno Haible  <haible@clisp.cons.org>
3726         * intl/gettextP.h (__gettextdebug): Remove declaration.
3727         (__gettext_free_exp, __gettextparse): Convert prototype to K&R C
3728         syntax.
3729         (gettext_free_exp__, gettextparse__): New non-libc declarations.
3730         * intl/plural.y [!_LIBC]: Define gettextparse__, gettext_free_exp__,
3731         not __gettextparse, __gettext_free_exp.
3732         * intl/loadmsgcat.c [!_LIBC]: Use gettextparse__, not __gettextparse.
3734 2001-02-24  Bruno Haible  <haible@clisp.cons.org>
3736         * intl/dcigettext.c: Update comment about HAVE_LOCALE_NULL.
3738 2001-01-05  Bruno Haible  <haible@clisp.cons.org>
3740         * intl/loadmsgcat.c (_nl_load_domain): Add fallback code for platforms
3741         lacking strtoul, like SunOS4.
3743 2001-01-05  Bruno Haible  <haible@clisp.cons.org>
3745         * intl/l10nflist.c (_nl_normalize_codeset): Use tolower, not _tolower.
3747 2001-01-05  Bruno Haible  <haible@clisp.cons.org>
3749         * intl/bindtextdom.c (set_binding_values): Convert prototype to K&R C
3750         syntax.
3751         * intl/dcigettext.c (transcmp): Convert to K&R C syntax.
3752         * intl/explodename.c (_nl_find_language): Convert to K&R C syntax.
3753         * intl/plural.y (__gettext_free_exp, yylex, yyerror): Convert to K&R C
3754         syntax.
3756 2001-01-07  Bruno Haible  <haible@clisp.cons.org>
3758         * intl/gettextP.h (gettext__, dgettext__, dcgettext__, textdomain__,
3759         bindtextdomain__, bind_textdomain_codeset__): New declarations, from
3760         old libgettext.h.
3761         * intl/bindtextdom.c: Include libgnuintl.h instead of libgettext.h.
3762         * intl/dcgettext.c: Likewise.
3763         * intl/dcigettext.c: Likewise.
3764         * intl/dcngettext.c: Likewise.
3765         * intl/dngettext.c: Likewise.
3766         * intl/finddomain.c: Likewise.
3767         * intl/ngettext.c: Likewise.
3768         * intl/textdomain.c: Likewise.
3769         * intl/dgettext.c: Include libgnuintl.h instead of libgettext.h.
3770         Include gettextP.h.
3771         * intl/gettext.c: Likewise.  Don't include locale.h.
3773 2001-03-17  Bruno Haible  <haible@clisp.cons.org>
3775         * intl/gettextP.h (ZERO): New macro.
3776         (struct binding): Always use ZERO.
3777         * intl/bindtextdom.c (offsetof): Provide fallback for platforms that
3778         lack it, like SunOS4.
3779         (set_binding_values): Use offsetof, not sizeof.
3780         * intl/dcigettext.c (offsetof): Provide fallback for platforms that
3781         lack it, like SunOS4.
3782         (ZERO): Remove macro.
3783         (struct transmem_list): Use ZERO.
3784         (DCIGETTEXT): Use offsetof, not sizeof.
3786 2001-03-17  Bruno Haible  <haible@clisp.cons.org>
3788         * intl/gettextP.h: Include <stddef.h>.  Include gettext.h, for
3789         nls_uint32.
3790         * intl/bindtextdom.c: Don't include gettext.h.
3791         * intl/dcgettext.c: Likewise.
3792         * intl/dcigettext.c: Likewise.
3793         * intl/dcngettext.c: Likewise.
3794         * intl/dngettext.c: Likewise.
3795         * intl/finddomain.c: Likewise.
3796         * intl/localealias.c: Likewise.
3797         * intl/ngettext.c: Likewise.
3798         * intl/plural.y: Likewise.
3799         * intl/textdomain.c: Likewise.
3801 2001-03-17  Bruno Haible  <haible@clisp.cons.org>
3803         * intl/gettext.h: Don't include <stdio.h>.
3805 2001-03-17  Bruno Haible  <haible@clisp.cons.org>
3807         * intl/Makefile (CPPFLAGS): Set LOCALEDIR instead of GNULOCALEDIR.
3808         * intl/dcigettext.c (_nl_default_dirname): Initialize with LOCALEDIR.
3810 2001-03-19  Ulrich Drepper  <drepper@redhat.com>
3812         * sysdeps/unix/i386/i686/tempname.c: New file.
3814         * sysdeps/posix/tempname.c (__gen_tempname): If RANDOM_BITS is
3815         defined use this macro to get some bits of randomness instead of
3816         the usual gettimeofday or time calls.
3818 2001-03-16  Paul Eggert  <eggert@twinsun.com>
3820         * sysdeps/posix/tempname.c (uint64_t): Define to uintmax_t if
3821         not defined, and if UINT64_MAX is not defined.
3823 2001-03-19  Ulrich Drepper  <drepper@redhat.com>
3825         * elf/cache.c: Mark and have translated a few more messages.
3827 2001-03-19  Martin Schwidefsky  <schwidefsky@de.ibm.com>
3829         * elf/cache.c: Add case for FLAG_S390_LIB64.
3830         * sysdeps/generic/ldconfig.h: Add define for FLAG_S390_LIB64.
3831         * sysdeps/unix/sysv/linux/s390/ldconfig.h: New file.
3832         * sysdeps/unix/sysv/linux/s390/readelflib.c: New file.
3834 2001-03-19  Ulrich Drepper  <drepper@redhat.com>
3836         * string/Makefile (tests): Add tst-strxfrm.
3837         * string/tst-strxfrm.c: New file.  Based on a test case by Paul Eggert.
3838         * string/Depend: New file.
3840 2001-03-19  Paul Eggert  <eggert@twinsun.com>
3842         * string/strxfrm.c (strxfrm): strxfrm should return 0, not 1,
3843         when given the empty string in nontrivial locales.
3845 2001-03-17  H.J. Lu  <hjl@gnu.org>
3847         * manual/Makefile (install): Use $(INSTALL_DATA) instead of
3848         cp to install `dir'.
3850 2001-03-19  Andreas Schwab  <schwab@suse.de>
3852         * Makerules (build-shlib): Make sure exit codes get checked
3853         properly.
3855 2001-03-18  Ulrich Drepper  <drepper@redhat.com>
3857         * Makerules (build-shlib): Remove unnecessary slashes introduced in
3858         last change.
3860         * configure.in: Test for -Bgroup option of linker.
3861         * config.make.in: Define have-Bgroup.
3863         * conform/data/unistd.h-data: Require gethostname.
3864         * posix/unistd.h: Make gethostname prototype available for
3865         __USE_XOPEN2K.
3867         * crypt/Makefile: When generating DSO link with libc_nonshared.a.
3868         * debug/Makefile: Likewise.
3869         * dlfcn/Makefile: Likewise.
3870         * hesiod/Makefile: Likewise.
3871         * iconvdata/extra-module.mk: Likewise.
3872         * locale/Makefile: Likewise.
3873         * login/Makefile: Likewise.
3874         * math/Makefile: Likewise.
3875         * nis/Makefile: Likewise.
3876         * nss/Makefile: Likewise.
3877         * resolv/Makefile: Likewise.
3878         * rt/Makefile: Likewise.
3880 2001-03-17  Ulrich Drepper  <drepper@redhat.com>
3882         * inet/Makefile (tests): Remove left-over comment.
3884         * posix/unistd.h (gethostname): Change type of second parameter
3885         back to size_t as per upcoming XPG6.
3886         * sysdeps/unix/sysv/aix/gethostname.c: Change type of second
3887         parameter back to size_t as per upcoming XPG6.
3888         * sysdeps/unix/sysv/sysv4/gethostname.c: Likewise.
3889         * sysdeps/unix/sysv/gethostname.c: Likewise.
3890         * sysdeps/mach/hurd/gethostname.c: Likewise.
3891         * sysdeps/generic/gethostname.c: Likewise.
3893 2001-03-16  Ulrich Drepper  <drepper@redhat.com>
3895         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
3896         Handle NaN here.
3898         * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext):
3899         Internationalize.
3901 2001-02-06  Jakub Jelinek  <jakub@redhat.com>
3903         * elf/dl-load.c (_dl_map_object): Don't test l_opencount when
3904         looking for name matches.
3906 2001-02-26  Jakub Jelinek  <jakub@redhat.com>
3908         * sysdeps/generic/sigcontextinfo.h (CALL_SIGHANDLER): Define.
3909         * sysdeps/mach/hurd/i386/sigcontextinfo.h: Likewise.
3910         * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h: Likewise.
3911         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
3912         * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h: Likewise.
3913         * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h: Likewise.
3914         * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h: Likewise.
3915         * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h: Likewise.
3916         * sysdeps/unix/sysv/linux/s390/sigcontextinfo.h: Likewise.
3917         * sysdeps/unix/sysv/linux/sh/sigcontextinfo.h: Likewise.
3918         * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: Likewise.
3919         * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h: Likewise.
3921 2001-03-16  Ulrich Drepper  <drepper@redhat.com>
3923         * sysdeps/ieee754/ldbl-96/s_erfl.c: New file.
3924         Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>.
3926         * sysdeps/i386/fpu/libm-test-ulps: Adjust for addition of erfl and
3927         erfcl.
3928         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
3930 2001-03-16  David Mosberger  <davidm@hpl.hp.com>
3932         * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h (struct sigcontext):
3933         Drop hack that was needed for 2.1.1 kernel headers.
3935         * sysdeps/unix/sysv/linux/ia64/ucontext_i.h: New file.
3937         * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Rewrite to make it
3938         overlay with kernel's "struct sigcontext".
3940         * sysdeps/unix/sysv/linux/ia64/Makefile (sysdep_headers): Add
3941         sys/rse.h for "misc" subdir.
3942         (sysdep_routines): Add __start_context for "stdlib" subdir.
3944         * sysdeps/unix/sysv/linux/ia64/sys/rse.h: New file (based on
3945         kernel file of the same name).
3947         * stdlib/Makefile (tests): Add tst-setcontext.
3948         * stdlib/tst-setcontext.c: New file (based on a sample program by
3949         Uli Drepper).
3951         * sysdeps/unix/sysv/linux/ia64/setcontext.S: New file.
3952         * sysdeps/unix/sysv/linux/ia64/getcontext.S: New file.
3953         * sysdeps/unix/sysv/linux/ia64/__start_context.S: New file.
3954         * sysdeps/unix/sysv/linux/ia64/makecontext.c: New file.
3955         * sysdeps/unix/sysv/linux/ia64/swapcontext.c: New file.
3957         * sysdeps/unix/sysv/linux/ia64/__longjmp.S (__longjmp): Use extr.u
3958         instead of shift & and.
3960 2001-03-16  Martin Schwidefsky  <schwidefsky@de.ibm.com>
3962         * sysdeps/s390/s390-64/bits/huge_val.h: Move to...
3963         * sysdeps/s390/bits/huge_val.h: ...here.
3964         * sysdeps/s390/s390-32/bit/huge_val.h: Remove.
3965         * sysdeps/s390/s390-64/ffs.c: Move to...
3966         * sysdeps/s390/ffs.c: ...here.
3967         * sysdeps/s390/s390-32/ffs.c: Remove.
3969 2001-03-16  Jakub Jelinek  <jakub@redhat.com>
3971         * elf/ldconfig.c (search_dir): Remove bogus diagnostic, instead
3972         update osversion from more recent library.
3974 2001-03-13  Martin Schwidefsky  <schwidefsky@de.ibm.com>
3976         * sysdeps/unix/sysv/linux/s390/Dist: Move to...
3977         * sysdeps/unix/sysv/linux/s390/s390-32/Dist: ...here.
3978         * sysdeps/unix/sysv/linux/s390/Makefile: Move to...
3979         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: ...here.
3980         * sysdeps/unix/sysv/linux/s390/Versions: Move to...
3981         * sysdeps/unix/sysv/linux/s390/s390-32/Versions: ...here.
3982         * sysdeps/unix/sysv/linux/s390/alphasort64.c: Move to...
3983         * sysdeps/unix/sysv/linux/s390/s390-32/alphasort64.c: ...here.
3984         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Move to...
3985         * sysdeps/unix/sysv/linux/s390/s390-32/bits/fcntl.h: ...here.
3986         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Move to...
3987         * sysdeps/unix/sysv/linux/s390/s390-32/bits/mman.h: ...here.
3988         * sysdeps/unix/sysv/linux/s390/bits/resource.h: Move to...
3989         * sysdeps/unix/sysv/linux/s390/s390-32/bits/resource.h: ...here.
3990         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Move to...
3991         * sysdeps/unix/sysv/linux/s390/s390-32/bits/stat.h: ...here.
3992         * sysdeps/unix/sysv/linux/s390/chown.c: Move to...
3993         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: ...here.
3994         * sysdeps/unix/sysv/linux/s390/clone.S: Move to...
3995         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: ...here.
3996         * sysdeps/unix/sysv/linux/s390/fchown.c: Move to...
3997         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: ...here.
3998         * sysdeps/unix/sysv/linux/s390/fcntl.c: Move to...
3999         * sysdeps/unix/sysv/linux/s390/s390-32/fcntl.c: ...here.
4000         * sysdeps/unix/sysv/linux/s390/fxstat.c: Move to...
4001         * sysdeps/unix/sysv/linux/s390/s390-32/fxstat.c: ...here.
4002         * sysdeps/unix/sysv/linux/s390/getdents64.c: Move to...
4003         * sysdeps/unix/sysv/linux/s390/s390-32/getdents64.c: ...here.
4004         * sysdeps/unix/sysv/linux/s390/getegid.c: Move to...
4005         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: ...here.
4006         * sysdeps/unix/sysv/linux/s390/geteuid.c: Move to...
4007         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: ...here.
4008         * sysdeps/unix/sysv/linux/s390/getgid.c: Move to...
4009         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: ...here.
4010         * sysdeps/unix/sysv/linux/s390/getgroups.c: Move to...
4011         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: ...here.
4012         * sysdeps/unix/sysv/linux/s390/getresgid.c: Move to...
4013         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: ...here.
4014         * sysdeps/unix/sysv/linux/s390/getresuid.c: Move to...
4015         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: ...here.
4016         * sysdeps/unix/sysv/linux/s390/getrlimit.c: Move to...
4017         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: ...here.
4018         * sysdeps/unix/sysv/linux/s390/getrlimit64.c: Move to...
4019         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit64.c: ...here.
4020         * sysdeps/unix/sysv/linux/s390/getuid.c: Move to...
4021         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: ...here.
4022         * sysdeps/unix/sysv/linux/s390/lchown.c: Move to...
4023         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: ...here.
4024         * sysdeps/unix/sysv/linux/s390/lockf64.c: Move to...
4025         * sysdeps/unix/sysv/linux/s390/s390-32/lockf64.c: ...here.
4026         * sysdeps/unix/sysv/linux/s390/lxstat.c: Move to...
4027         * sysdeps/unix/sysv/linux/s390/s390-32/lxstat.c: ...here.
4028         * sysdeps/unix/sysv/linux/s390/mmap.S: Move to...
4029         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: ...here.
4030         * sysdeps/unix/sysv/linux/s390/mmap64.S: Move to...
4031         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: ...here.
4032         * sysdeps/unix/sysv/linux/s390/msgctl.c: Move to...
4033         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: ...here.
4034         * sysdeps/unix/sysv/linux/s390/oldgetrlimit64.c: Move to...
4035         * sysdeps/unix/sysv/linux/s390/s390-32/oldgetrlimit64.c: ...here.
4036         * sysdeps/unix/sysv/linux/s390/readdir64.c: Move to...
4037         * sysdeps/unix/sysv/linux/s390/s390-32/readdir64.c: ...here.
4038         * sysdeps/unix/sysv/linux/s390/readdir64_r.c: Move to...
4039         * sysdeps/unix/sysv/linux/s390/s390-32/readdir64_r.c: ...here.
4040         * sysdeps/unix/sysv/linux/s390/register-dump.h: Move to...
4041         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: ...here.
4042         * sysdeps/unix/sysv/linux/s390/scandir64.c: Move to...
4043         * sysdeps/unix/sysv/linux/s390/s390-32/scandir64.c: ...here.
4044         * sysdeps/unix/sysv/linux/s390/semctl.c: Move to...
4045         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: ...here.
4046         * sysdeps/unix/sysv/linux/s390/setegid.c: Move to...
4047         * sysdeps/unix/sysv/linux/s390/s390-32/setegid.c: ...here.
4048         * sysdeps/unix/sysv/linux/s390/seteuid.c: Move to...
4049         * sysdeps/unix/sysv/linux/s390/s390-32/seteuid.c: ...here.
4050         * sysdeps/unix/sysv/linux/s390/setfsgid.c: Move to...
4051         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: ...here.
4052         * sysdeps/unix/sysv/linux/s390/setfsuid.c: Move to...
4053         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: ...here.
4054         * sysdeps/unix/sysv/linux/s390/setgid.c: Move to...
4055         * sysdeps/unix/sysv/linux/s390/s390-32/setgid.c: ...here.
4056         * sysdeps/unix/sysv/linux/s390/setgroups.c: Move to...
4057         * sysdeps/unix/sysv/linux/s390/s390-32/setgroups.c: ...here.
4058         * sysdeps/unix/sysv/linux/s390/setregid.c: Move to...
4059         * sysdeps/unix/sysv/linux/s390/s390-32/setregid.c: ...here.
4060         * sysdeps/unix/sysv/linux/s390/setresgid.c: Move to...
4061         * sysdeps/unix/sysv/linux/s390/s390-32/setresgid.c: ...here.
4062         * sysdeps/unix/sysv/linux/s390/setresuid.c: Move to...
4063         * sysdeps/unix/sysv/linux/s390/s390-32/setresuid.c: ...here.
4064         * sysdeps/unix/sysv/linux/s390/setreuid.c: Move to...
4065         * sysdeps/unix/sysv/linux/s390/s390-32/setreuid.c: ...here.
4066         * sysdeps/unix/sysv/linux/s390/setrlimit.c: Move to...
4067         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: ...here.
4068         * sysdeps/unix/sysv/linux/s390/setuid.c: Move to...
4069         * sysdeps/unix/sysv/linux/s390/s390-32/setuid.c: ...here.
4070         * sysdeps/unix/sysv/linux/s390/shmctl.c: Move to...
4071         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: ...here.
4072         * sysdeps/unix/sysv/linux/s390/socket.S: Move to...
4073         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: ...here.
4074         * sysdeps/unix/sysv/linux/s390/sys/procfs.h: Move to...
4075         * sysdeps/unix/sysv/linux/s390/s390-32/sys/procfs.h: ...here.
4076         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Move to...
4077         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: ...here.
4078         * sysdeps/unix/sysv/linux/s390/syscall.S: Move to...
4079         * sysdeps/unix/sysv/linux/s390/s390-32/syscall.S: ...here.
4080         * sysdeps/unix/sysv/linux/s390/syscalls.list: Move to...
4081         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: ...here.
4082         * sysdeps/unix/sysv/linux/s390/sysdep.S: Move to...
4083         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: ...here.
4084         * sysdeps/unix/sysv/linux/s390/sysdep.h: Move to...
4085         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: ...here.
4086         * sysdeps/unix/sysv/linux/s390/versionsort64.c: Move to...
4087         * sysdeps/unix/sysv/linux/s390/s390-32/versionsort64.c: ...here.
4088         * sysdeps/unix/sysv/linux/s390/xstat.c: Move to...
4089         * sysdeps/unix/sysv/linux/s390/s390-32/xstat.c: ...here.
4091 2001-03-13  Martin Schwidefsky  <schwidefsky@de.ibm.com>
4093         * sysdeps/unix/sysv/linux/s390/s390-64/Dist: New file.
4094         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: New file.
4095         * sysdeps/unix/sysv/linux/s390/s390-64/bits/elfclass.h: New file.
4096         * sysdeps/unix/sysv/linux/s390/s390-64/bits/fcntl.h: New file.
4097         * sysdeps/unix/sysv/linux/s390/s390-64/bits/ipc.h: New file.
4098         * sysdeps/unix/sysv/linux/s390/s390-64/bits/mman.h: New file.
4099         * sysdeps/unix/sysv/linux/s390/s390-64/bits/msq.h: New file.
4100         * sysdeps/unix/sysv/linux/s390/s390-64/bits/resource.h: New file.
4101         * sysdeps/unix/sysv/linux/s390/s390-64/bits/sem.h: New file.
4102         * sysdeps/unix/sysv/linux/s390/s390-64/bits/shm.h: New file.
4103         * sysdeps/unix/sysv/linux/s390/s390-64/bits/sigaction.h: New file.
4104         * sysdeps/unix/sysv/linux/s390/s390-64/bits/siginfo.h: New file.
4105         * sysdeps/unix/sysv/linux/s390/s390-64/bits/sigstack.h: New file.
4106         * sysdeps/unix/sysv/linux/s390/s390-64/bits/stat.h: New file.
4107         * sysdeps/unix/sysv/linux/s390/s390-64/bits/types.h: New file.
4108         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: New file.
4109         * sysdeps/unix/sysv/linux/s390/s390-64/fstatfs64.c: New file.
4110         * sysdeps/unix/sysv/linux/s390/s390-64/ftruncate64.c: New file.
4111         * sysdeps/unix/sysv/linux/s390/s390-64/fxstat.c: New file.
4112         * sysdeps/unix/sysv/linux/s390/s390-64/fxstat64.c: New file.
4113         * sysdeps/unix/sysv/linux/s390/s390-64/getdents.c: New file.
4114         * sysdeps/unix/sysv/linux/s390/s390-64/getdents64.c: New file.
4115         * sysdeps/unix/sysv/linux/s390/s390-64/getrlimit64.c: New file.
4116         * sysdeps/unix/sysv/linux/s390/s390-64/glob.c: New file.
4117         * sysdeps/unix/sysv/linux/s390/s390-64/glob64.c: New file.
4118         * sysdeps/unix/sysv/linux/s390/s390-64/kernel_stat.h: New file.
4119         * sysdeps/unix/sysv/linux/s390/s390-64/lxstat.c: New file.
4120         * sysdeps/unix/sysv/linux/s390/s390-64/lxstat64.c: New file.
4121         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: New file.
4122         * sysdeps/unix/sysv/linux/s390/s390-64/mmap64.c: New file.
4123         * sysdeps/unix/sysv/linux/s390/s390-64/pread64.c: New file.
4124         * sysdeps/unix/sysv/linux/s390/s390-64/pwrite64.c: New file.
4125         * sysdeps/unix/sysv/linux/s390/s390-64/readdir.c: New file.
4126         * sysdeps/unix/sysv/linux/s390/s390-64/readdir64.c: New file.
4127         * sysdeps/unix/sysv/linux/s390/s390-64/readdir64_r.c: New file.
4128         * sysdeps/unix/sysv/linux/s390/s390-64/readdir_r.c : New file.
4129         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: New file.
4130         * sysdeps/unix/sysv/linux/s390/s390-64/setrlimit64.c: New file.
4131         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: New file.
4132         * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c: New file.
4133         * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c: New file.
4134         * sysdeps/unix/sysv/linux/s390/s390-64/sigsuspend.c: New file.
4135         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: New file.
4136         * sysdeps/unix/sysv/linux/s390/s390-64/statfs64.c: New file.
4137         * sysdeps/unix/sysv/linux/s390/s390-64/sys/procfs.h: New file.
4138         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: New file.
4139         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: New file.
4140         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: New file.
4141         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: New file.
4142         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: New file.
4143         * sysdeps/unix/sysv/linux/s390/s390-64/truncate64.c: New file.
4144         * sysdeps/unix/sysv/linux/s390/s390-64/xstat.c: New file.
4145         * sysdeps/unix/sysv/linux/s390/s390-64/xstat64.c: New file.
4147 2001-03-13  Martin Schwidefsky  <schwidefsky@de.ibm.com>
4149         * sysdeps/s390/Dist: Move to...
4150         * sysdeps/s390/390-32/Dist: ...here.
4151         * sysdeps/s390/Implies: Move to...
4152         * sysdeps/s390/s390-32/Implies: ...here.
4153         * sysdeps/s390/Makefile: Move to...
4154         * sysdeps/s390/s390-32/Makefile: ...here.
4155         * sysdeps/s390/Versions: Move to...
4156         * sysdeps/s390-32/s390/Versions: ...here.
4157         * sysdeps/s390/add_n.S: Move to...
4158         * sysdeps/s390/s390-32/add_n.S: ...here.
4159         * sysdeps/s390/addmul_1.S: Move to...
4160         * sysdeps/s390/s390-32/addmul_1.S: ...here.
4161         * sysdeps/s390/atomicity.h: Move to...
4162         * sysdeps/s390/s390-32/atomicity.h: ...here.
4163         * sysdeps/s390/backtrace.c: Move to...
4164         * sysdeps/s390/s390-32/backtrace.c: ...here.
4165         * sysdeps/s390/bcopy.S: Move to...
4166         * sysdeps/s390/s390-32/bcopy.S: ...here.
4167         * sysdeps/s390/bits/byteswap.h: Move to...
4168         * sysdeps/s390/s390-32/bits/byteswap.h: ...here.
4169         * sysdeps/s390/bits/huge_val.h: Move to...
4170         * sysdeps/s390/s390-32/bits/huge_val.h: ...here.
4171         * sysdeps/s390/bsd-_setjmp.S: Move to...
4172         * sysdeps/s390/s390-32/bsd-_setjmp.S: ...here.
4173         * sysdeps/s390/bsd-setjmp.S: Move to...
4174         * sysdeps/s390/s390-32/bsd-setjmp.S: ...here.
4175         * sysdeps/s390/bzero.S: Move to...
4176         * sysdeps/s390/s390-32/bzero.S: ...here.
4177         * sysdeps/s390/elf/bsd-_setjmp.S: Move to...
4178         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: ...here.
4179         * sysdeps/s390/elf/bsd-setjmp.S: Move to...
4180         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: ...here.
4181         * sysdeps/s390/elf/start.S: Move to...
4182         * sysdeps/s390/s390-32/elf/start.S: ...here.
4183         * sysdeps/s390/ffs.c: Move to...
4184         * sysdeps/s390/s390-32/ffs.c: ...here.
4185         * sysdeps/s390/memchr.S: Move to...
4186         * sysdeps/s390/s390-32/memchr.S: ...here.
4187         * sysdeps/s390/memcpy.S: Move to...
4188         * sysdeps/s390/s390-32/memcpy.S: ...here.
4189         * sysdeps/s390/memset.S: Move to...
4190         * sysdeps/s390/s390-32/memset.S: ...here.
4191         * sysdeps/s390/mul_1.S: Move to...
4192         * sysdeps/s390/s390-32/mul_1.S: ...here.
4193         * sysdeps/s390/s390-mcount.S: Move to...
4194         * sysdeps/s390/s390-32/s390-mcount.S: ...here.
4195         * sysdeps/s390/strcpy.S: Move to...
4196         * sysdeps/s390/s390-32/strcpy.S: ...here.
4197         * sysdeps/s390/strncpy.S: Move to...
4198         * sysdeps/s390/s390-32/strncpy.S: ...here.
4199         * sysdeps/s390/sub_n.S: Move to...
4200         * sysdeps/s390/s390-32/sub_n.S: ...here.
4202 2001-03-13  Martin Schwidefsky  <schwidefsky@de.ibm.com>
4204         * sysdeps/s390/s390-64/Dist: New file.
4205         * sysdeps/s390/s390-64/Implies: New file.
4206         * sysdeps/s390/s390-64/Makefile: New file.
4207         * sysdeps/s390/s390-64/__longjmp.c: New file.
4208         * sysdeps/s390/s390-64/add_n.S: New file.
4209         * sysdeps/s390/s390-64/atomicity.h: New file.
4210         * sysdeps/s390/s390-64/backtrace.c: New file.
4211         * sysdeps/s390/s390-64/bcopy.S: New file.
4212         * sysdeps/s390/s390-64/bits/byteswap.h: New file.
4213         * sysdeps/s390/s390-64/bits/huge_val.h: New file.
4214         * sysdeps/s390/s390-64/bits/setjmp.h: New file.
4215         * sysdeps/s390/s390-64/bits/string.h: New file.
4216         * sysdeps/s390/s390-64/bsd-_setjmp.S: New file.
4217         * sysdeps/s390/s390-64/bsd-setjmp.S: New file.
4218         * sysdeps/s390/s390-64/bzero.S: New file.
4219         * sysdeps/s390/s390-64/dl-machine.h: New file.
4220         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: New file.
4221         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: New file.
4222         * sysdeps/s390/s390-64/elf/setjmp.S: New file.
4223         * sysdeps/s390/s390-64/elf/start.S: New file.
4224         * sysdeps/s390/s390-64/ffs.c: New file.
4225         * sysdeps/s390/s390-64/initfini.c: New file.
4226         * sysdeps/s390/s390-64/memchr.S: New file.
4227         * sysdeps/s390/s390-64/memcpy.S: New file.
4228         * sysdeps/s390/s390-64/memset.S: New file.
4229         * sysdeps/s390/s390-64/s390x-mcount.S: New file.
4230         * sysdeps/s390/s390-64/setjmp.S: New file.
4231         * sysdeps/s390/s390-64/strcpy.S: New file.
4232         * sysdeps/s390/s390-64/strncpy.S: New file.
4233         * sysdeps/s390/s390-64/sub_n.S: New file.
4234         * sysdeps/s390/s390-64/sysdep.h: New file.
4236 2001-03-13  Martin Schwidefsky  <schwidefsky@de.ibm.com>
4238         * scripts/config.guess: Add support for Linux on 64 bit S/390.
4239         * scripts/config.sub: Likewise.
4241 2001-03-13  Martin Schwidefsky  <schwidefsky@de.ibm.com>
4243         * configure.in: Add support for 64 bit S/390.
4245         * elf/elf.h: Add new relocations for 64 bit S/390.
4247         * shlib-versions: Add rules for Linux on 64 bit S/390.
4249 2001-03-13  Martin Schwidefsky  <schwidefsky@de.ibm.com>
4251         * sysdeps/s390/__longjmp.c: Move to...
4252         * sysdeps/s390/s390-32/__longjmp.c: ...here.  Add code
4253         to load the floating point registers that should be saved
4254         according to the ABI.
4256         * sysdeps/s390/bits/setjmp.h: Move to...
4257         * sysdeps/s390/s390-32/bits/setjmp.h: ...here.  Avoid
4258         the use of long long in the __jmp_buf type definition.
4260         * sysdeps/s390/bits/string.h: Move to...
4261         * sysdeps/s390/s390-32/bits/string.h: ...here.  Add several missing
4262         #ifndef _FORCE_INLINES.
4264         * sysdeps/s390/dl-machine.h: Move to...
4265         * sysdeps/s390/s390-32/dl-machine.h: ...here.  Add a check for the
4266         executables EI_CLASS in elf_machine_matches_host.
4268         * sysdeps/s390/elf/setjmp.S: Move to...
4269         * sysdeps/s390/s390-32/elf/setjmp.S: ...here.  Replace
4270         branches to globally defined symbol __sigsetjmp by branches to
4271         a local label (this avoids the generation of a R_390_PC16DBL
4272         relocation in -fpic code).
4274         * sysdeps/s390/gmp-mparam.h: Use defines from <bits/wordsize.h> to
4275         calculate BITS_PER_MP_LIMB, BYTES_PER_MP_LIMB and BITS_PER_LONGINT.
4277         * sysdeps/s390/initfini.c: Move to...
4278         * sysdeps/s390/s390-32/initfini.c: ...here.  Replace ALIGN with
4279         ".align 4,0x07".
4281         * sysdeps/s390/setjmp.S: Move to...
4282         * sysdeps/s390/s390-32/setjmp.S: ...here.  Add code to store the
4283         floating point registers that should be saved according to the ABI.
4285         * sysdeps/s390/sys/ucontext.h: Remove since it is unused.
4287         * sysdeps/unix/sysv/linux/s390/sysdep.h: Move to...
4288         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: ...here.  Include
4289         sysdeps/s390/s390-32/sysdep.h instead of sysdeps/s390/sysdep.h.
4291 2001-03-13  Martin Schwidefsky  <schwidefsky@de.ibm.com>
4293         * configure.in: Change machine=s390 to machine=s390/s390-32.
4295         * elf/elf.h: Correct comment for R_390_PLT16DBL.
4297 2001-03-12  Jakub Jelinek  <jakub@redhat.com>
4299         * csu/Makefile (abi-tag.h): Define OS and version separately, allow
4300         version to be overriden from config.h.
4301         * csu/abi-note.S: Use OS and version separately, include config.h.
4302         * elf/dl-load.c (_dl_osversion): New.
4303         (_dl_map_object_from_fd): Kill some warnings.
4304         (open_verify): Check .note.ABI-tag of the library if present.
4305         * elf/Makefile (CPPFLAGS-dl-load.c): Add -I$(csu-objpfx).
4306         * elf/cache.c (struct cache_entry): Add osversion.
4307         (print_entry): Print osversion.
4308         (print_cache): Pass osversion to it.
4309         (compare): Sort according to osversion.
4310         (save_cache): Set osversion.
4311         (add_to_cache): Add osversion argument.
4312         * sysdeps/generic/ldconfig.h (add_to_cache, process_file,
4313         process_elf_file): Add osversion argument.
4314         * elf/readlib.c (process_file): Likewise.
4315         * sysdeps/generic/readelflib.c (process_elf_file): Likewise.
4316         * sysdeps/unix/sysv/linux/ia64/readelflib.c (process_elf_file,
4317         process_elf32_file, process_elf64_file): Likewise.
4318         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file,
4319         process_elf32_file, process_elf64_file): Likewise.
4320         * sysdeps/unix/sysv/linux/sparc/readelflib.c (process_elf_file,
4321         process_elf32_file, process_elf64_file): Likewise.
4322         * elf/ldconfig.c (manual_link): Pass it.
4323         (search_dir): Issue diagnostic if two libs with the same soname in
4324         the same directory have different .note.ABI-tag.  Record osversion in
4325         dlib_entry and use it from there.
4326         (struct lib_entry): Remove.
4327         (struct dlib_entry): Add osversion.
4328         * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Check
4329         osversion.
4330         * sysdeps/generic/dl-cache.h (struct file_entry_new): Replace __unused
4331         field with osversion.
4332         * sysdeps/generic/ldsodefs.h (_dl_osversion): Declare.
4333         * sysdeps/unix/sysv/linux/init-first.c: Include ldsodefs.h.
4334         * sysdeps/unix/sysv/linux/dl-osinfo.h (DL_SYSDEP_OSCHECK): Save kernel
4335         version in _dl_osversion.
4336         * sysdeps/unix/sysv/linux/configure.in: Define __ABI_TAG_VERSION.
4337         * Makerules (build-shlib-helper, build-module-helper): New.
4338         (build-shlib, build-module-helper): Make sure .note.ABI-tag comes
4339         early.
4340         * config.h.in (__ABI_TAG_VERSION): Add.
4341         * elf/dl-minimal.c (__strtoul_internal): Set endptr on return.
4342         * sysdeps/unix/sysv/linux/i386/dl-librecon.h (EXTRA_LD_ENVVARS):
4343         Handle LD_ASSUME_KERNEL.
4344         * sysdeps/unix/sysv/linux/dl-librecon.h: New.
4346 2001-03-15  Ulrich Drepper  <drepper@redhat.com>
4348         * timezone/antarctica: Update from tzdata2001a.
4349         * timezone/asia: Likewise.
4350         * timezone/australasia: Likewise.
4351         * timezone/backward: Likewise.
4352         * timezone/etcetera: Likewise.
4353         * timezone/europe: Likewise.
4354         * timezone/leapseconds: Likewise.
4355         * timezone/northamerica: Likewise.
4356         * timezone/southamerica: Likewise.
4357         * timezone/systemv: Likewise.
4358         * timezone/yearistype: Likewise.
4359         * timezone/zone.tab: Likewise.
4360         * timezone/tzdump.c: Update from tzcode2001a.
4362 2001-03-15  H.J. Lu  <hjl@gnu.org>
4364         * intl/Makefile: Fix a typo.
4366 2001-03-14  David Mosberger  <davidm@hpl.hp.com>
4368         * gmon/gmon.c (write_call_graph): Avoid unaligned accesses when
4369         writing arc structures.
4371 2001-03-15  H.J. Lu  <hjl@gnu.org>
4373         * elf/Makefile ($(objpfx)tst-pathopt.out): Protected against
4374         cross-compiling.
4376 2001-03-13  Andreas Schwab  <schwab@suse.de>
4378         * posix/PTESTS2C.sed: Replace literal CRs by `\r'.
4380 2001-03-15  Ulrich Drepper  <drepper@redhat.com>
4382         * sysdeps/unix/sysv/linux/cmsg_nxthdr.c (__cmsg_nxthdr): Fix test
4383         for control message fitting into message data.
4384         Patch by James Antill <james@and.org>.
4386         * posix/tst-fnmatch.input: Add test case for FNM_PERIOD handling with
4387         FNM_EXTMATCH.
4389         * posix/fnmatch_loop.c: Optimize handling of ?() and @().
4390         * posix/fnmatch.c: Define STRLEN and STRCAT appropriately.
4392         * posix/Versions [libc] (GLIBC_2.2.3): Add fnmatch.
4393         * posix/fnmatch.c: Define with new default version GLIBC_2.2.3 to
4394         avoid running binaries with libc versions without FNM_EXTMATCH support.
4396         * include/wchar.h: Add prototype for __wcscat.
4397         * wcsmbs/wcscat.c: Define __wcscat and make wcscat weak alias.
4399         * posix/fnmatch.h (FNM_EXTMATCH): Define.
4400         * posix/fnmatch.c (NO_LEADING_PERIOD): Define.
4401         (posixly_correct): Move global variable here.
4402         (INT, EXT, END): Name new functions defined in fnmatch_loop.c.
4403         (fnmatch): Pretty printing.
4404         * posix/fnmatch_loop.c: Add code to handle FNM_EXTMATCH.
4405         * posix/tst-fnmatch.c: Recognize EXTMATCH flag.
4406         * posix/tst-fnmatch.input: Add tests for extended matching.
4408         * posix/testfnm.c: Add test for patterns with multiple ** before /.
4409         * posix/fnmatch_loop.c: Fix problem with the test above.
4411 2001-03-14  Ulrich Drepper  <drepper@redhat.com>
4413         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Remove
4414         reference to usqrt.
4416         * resolv/res_data.c (fp_nquery): Call __res_ninit not __res_init.
4418 2001-03-12  Andreas Jaeger  <aj@suse.de>
4420         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
4421         Use EM_X86_64 instead of EM_X8664.
4423 2001-03-12  Ulrich Drepper  <drepper@redhat.com>
4425         * sysdeps/ieee754/dbl-64/upow.h: Define nZERO and nINF.
4427         * sysdeps/ieee754/dbl-64/e_remainder.c: Fix handling of boundary
4428         conditions.
4430         * sysdeps/ieee754/dbl-64/e_pow.c: Fix handling of boundary
4431         conditions.
4433         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Handle Inf and NaN
4434         correctly.
4435         (__cos): Likewise.
4437         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Handle NaN
4438         correctly.
4439         (__ieee754_acos): Likewise.
4441 2001-03-12  Andreas Jaeger  <aj@suse.de>
4443         * sysdeps/unix/sysv/linux/s390/sysdep.h (_LINUX_S390_SYSDEP_H):
4444         Fix typo.  Patch by Martin Schwidefsky  <schwidefsky@de.ibm.com>.
4446         * sysdeps/s390/bits/string.h: Protect __STRING_INLINE against
4447         redefinition.
4449 2001-03-11  Roland McGrath  <roland@frob.com>
4451         * sysdeps/mach/hurd/configure.in: Add a sanity check on $prefix.
4453 2001-03-11  Ulrich Drepper  <drepper@redhat.com>
4455         * sysdeps/ieee754/dbl-64/endian.h: Define also one of BIG_ENDI and
4456         LITTLE_ENDI.
4458         * sysdeps/ieee754/dbl-64/MathLib.h (Init_Lib): Use void as
4459         parameter list.
4461         Last-bit accurate math library implementation by IBM Haifa.
4462         Contributed by Abraham Ziv <ziv@il.ibm.com>, Moshe Olshansky
4463         <olshansk@il.ibm.com>, Ealan Henis <ealan@il.ibm.com>, and
4464         Anna Reitman <reitman@il.ibm.com>.
4465         * math/Makefile (dbl-only-routines): New variable.
4466         (libm-routines): Add $(dbl-only-routines).
4467         * sysdeps/ieee754/dbl-64/e_acos.c: Empty, definition is in e_asin.c.
4468         * sysdeps/ieee754/dbl-64/e_asin.c: Replaced with accurate asin
4469         implementation.
4470         * sysdeps/ieee754/dbl-64/e_atan2.c: Replaced with accurate atan2
4471         implementation.
4472         * sysdeps/ieee754/dbl-64/e_exp.c: Replaced with accurate exp
4473         implementation.
4474         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Don't use __kernel_sin and
4475         __kernel_cos.
4476         * sysdeps/ieee754/dbl-64/e_log.c: Replaced with accurate log
4477         implementation.
4478         * sysdeps/ieee754/dbl-64/e_remainder.c: Replaced with accurate
4479         remainder implementation.
4480         * sysdeps/ieee754/dbl-64/e_pow.c: Replaced with accurate pow
4481         implementation.
4482         * sysdeps/ieee754/dbl-64/e_sqrt.c: Replaced with accurate sqrt
4483         implementation.
4484         * sysdeps/ieee754/dbl-64/k_cos.c: Empty, definition is in s_sin.c.
4485         * sysdeps/ieee754/dbl-64/k_sin.c: Empty, definition is in s_sin.c.
4486         * sysdeps/ieee754/dbl-64/s_atan.c: Replaced with accurate atan
4487         implementation.
4488         * sysdeps/ieee754/dbl-64/s_cos.c: Empty, definition is in s_sin.c.
4489         * sysdeps/ieee754/dbl-64/s_sin.c: Replaced with accurate sin/cos
4490         implementation.
4491         * sysdeps/ieee754/dbl-64/s_sincos.c: Rewritten to not use __kernel_sin
4492         and __kernel_cos.
4493         * sysdeps/ieee754/dbl-64/s_tan.c: Replaced with accurate tan
4494         implementation.
4495         * sysdeps/ieee754/dbl-64/Dist: Add new non-code files.
4496         * sysdeps/ieee754/dbl-64/MathLib.h: New file.
4497         * sysdeps/ieee754/dbl-64/asincos.tbl: New file.
4498         * sysdeps/ieee754/dbl-64/atnat.h: New file.
4499         * sysdeps/ieee754/dbl-64/atnat2.h: New file.
4500         * sysdeps/ieee754/dbl-64/branred.c: New file.
4501         * sysdeps/ieee754/dbl-64/branred.h: New file.
4502         * sysdeps/ieee754/dbl-64/dla.h: New file.
4503         * sysdeps/ieee754/dbl-64/doasin.c: New file.
4504         * sysdeps/ieee754/dbl-64/doasin.h: New file.
4505         * sysdeps/ieee754/dbl-64/dosincos.c: New file.
4506         * sysdeps/ieee754/dbl-64/dosincos.h: New file.
4507         * sysdeps/ieee754/dbl-64/endian.h: New file.
4508         * sysdeps/ieee754/dbl-64/halfulp.c: New file.
4509         * sysdeps/ieee754/dbl-64/mpa.c: New file.
4510         * sysdeps/ieee754/dbl-64/mpa.h: New file.
4511         * sysdeps/ieee754/dbl-64/mpa2.h: New file.
4512         * sysdeps/ieee754/dbl-64/mpatan.c: New file.
4513         * sysdeps/ieee754/dbl-64/mpatan.h: New file.
4514         * sysdeps/ieee754/dbl-64/mpatan2.c: New file.
4515         * sysdeps/ieee754/dbl-64/mpexp.c: New file.
4516         * sysdeps/ieee754/dbl-64/mpexp.h: New file.
4517         * sysdeps/ieee754/dbl-64/mplog.c: New file.
4518         * sysdeps/ieee754/dbl-64/mplog.h: New file.
4519         * sysdeps/ieee754/dbl-64/mpsqrt.c: New file.
4520         * sysdeps/ieee754/dbl-64/mpsqrt.h: New file.
4521         * sysdeps/ieee754/dbl-64/mptan.c: New file.
4522         * sysdeps/ieee754/dbl-64/mydefs.h: New file.
4523         * sysdeps/ieee754/dbl-64/powtwo.tbl: New file.
4524         * sysdeps/ieee754/dbl-64/root.tbl: New file.
4525         * sysdeps/ieee754/dbl-64/sincos.tbl: New file.
4526         * sysdeps/ieee754/dbl-64/sincos32.c: New file.
4527         * sysdeps/ieee754/dbl-64/sincos32.h: New file.
4528         * sysdeps/ieee754/dbl-64/slowexp.c: New file.
4529         * sysdeps/ieee754/dbl-64/slowpow.c: New file.
4530         * sysdeps/ieee754/dbl-64/uasncs.h: New file.
4531         * sysdeps/ieee754/dbl-64/uatan.tbl: New file.
4532         * sysdeps/ieee754/dbl-64/uexp.h: New file.
4533         * sysdeps/ieee754/dbl-64/uexp.tbl: New file.
4534         * sysdeps/ieee754/dbl-64/ulog.h: New file.
4535         * sysdeps/ieee754/dbl-64/ulog.tbl: New file.
4536         * sysdeps/ieee754/dbl-64/upow.h: New file.
4537         * sysdeps/ieee754/dbl-64/upow.tbl: New file.
4538         * sysdeps/ieee754/dbl-64/urem.h: New file.
4539         * sysdeps/ieee754/dbl-64/uroot.h: New file.
4540         * sysdeps/ieee754/dbl-64/usncs.h: New file.
4541         * sysdeps/ieee754/dbl-64/utan.h: New file.
4542         * sysdeps/ieee754/dbl-64/utan.tbl: New file.
4543         * sysdeps/i386/fpu/branred.c: New file.
4544         * sysdeps/i386/fpu/doasin.c: New file.
4545         * sysdeps/i386/fpu/dosincos.c: New file.
4546         * sysdeps/i386/fpu/halfulp.c: New file.
4547         * sysdeps/i386/fpu/mpa.c: New file.
4548         * sysdeps/i386/fpu/mpatan.c: New file.
4549         * sysdeps/i386/fpu/mpatan2.c: New file.
4550         * sysdeps/i386/fpu/mpexp.c: New file.
4551         * sysdeps/i386/fpu/mplog.c: New file.
4552         * sysdeps/i386/fpu/mpsqrt.c: New file.
4553         * sysdeps/i386/fpu/mptan.c: New file.
4554         * sysdeps/i386/fpu/sincos32.c: New file.
4555         * sysdeps/i386/fpu/slowexp.c: New file.
4556         * sysdeps/i386/fpu/slowpow.c: New file.
4557         * sysdeps/ia64/fpu/branred.c: New file.
4558         * sysdeps/ia64/fpu/doasin.c: New file.
4559         * sysdeps/ia64/fpu/dosincos.c: New file.
4560         * sysdeps/ia64/fpu/halfulp.c: New file.
4561         * sysdeps/ia64/fpu/mpa.c: New file.
4562         * sysdeps/ia64/fpu/mpatan.c: New file.
4563         * sysdeps/ia64/fpu/mpatan2.c: New file.
4564         * sysdeps/ia64/fpu/mpexp.c: New file.
4565         * sysdeps/ia64/fpu/mplog.c: New file.
4566         * sysdeps/ia64/fpu/mpsqrt.c: New file.
4567         * sysdeps/ia64/fpu/mptan.c: New file.
4568         * sysdeps/ia64/fpu/sincos32.c: New file.
4569         * sysdeps/ia64/fpu/slowexp.c: New file.
4570         * sysdeps/ia64/fpu/slowpow.c: New file.
4571         * sysdeps/m68k/fpu/branred.c: New file.
4572         * sysdeps/m68k/fpu/doasin.c: New file.
4573         * sysdeps/m68k/fpu/dosincos.c: New file.
4574         * sysdeps/m68k/fpu/halfulp.c: New file.
4575         * sysdeps/m68k/fpu/mpa.c: New file.
4576         * sysdeps/m68k/fpu/mpatan.c: New file.
4577         * sysdeps/m68k/fpu/mpatan2.c: New file.
4578         * sysdeps/m68k/fpu/mpexp.c: New file.
4579         * sysdeps/m68k/fpu/mplog.c: New file.
4580         * sysdeps/m68k/fpu/mpsqrt.c: New file.
4581         * sysdeps/m68k/fpu/mptan.c: New file.
4582         * sysdeps/m68k/fpu/sincos32.c: New file.
4583         * sysdeps/m68k/fpu/slowexp.c: New file.
4584         * sysdeps/m68k/fpu/slowpow.c: New file.
4586         * iconvdata/gconv-modules: Add a number of alias, mostly for IBM
4587         codepages.
4589 2001-03-11  Andreas Jaeger  <aj@suse.de>
4591         * elf/elf.h (EM_*): Synch with official list.
4593 2001-03-07  David Mosberger  <davidm@hpl.hp.com>
4595         * sysdeps/ia64/bits/fenv.h (FE_NONIEEE_ENV): New macro.
4597 2001-03-07  Jes Sorensen  <jes@linuxcare.com>
4599         * sysdeps/unix/sysv/linux/ia64/ioperm.c (_ioperm): Remove unused
4600         variables addr & len.
4602 2001-02-22  Jes Sorensen  <jes@linuxcare.com>
4604         * sysdeps/ia64/fpu/feenablxcpt.c (feenableexcept): Remove
4605         punctuation in asm constraint.
4607 2001-03-07  Mark Kettenis  <kettenis@gnu.org>
4609         * resolv/netdb.h [__USE_GNU]: Define __need_timespec and include
4610         <time.h> to get definition of `struct timespec'.
4612 2001-03-08  Jakub Jelinek  <jakub@redhat.com>
4614         * elf/rtld.c (dl_main): If tracing, warn about undefined symbols if
4615         LD_WARN=1, not if LD_WARN is unset.
4617 2001-03-07  Andreas Schwab  <schwab@suse.de>
4619         * elf/ldconfig.h: Moved to ...
4620         * sysdeps/generic/ldconfig.h: ... here.
4621         * sysdeps/unix/sysv/linux/i386/ldconfig.h: New file.
4622         * sysdeps/unix/sysv/linux/m68k/ldconfig.h: New file.
4623         * sysdeps/unix/sysv/linux/ia64/ldconfig.h: New file.
4624         * elf/readlib.c (interpreters, known_libs): Use
4625         SYSDEP_KNOWN_INTERPRETER_NAMES and SYSDEP_KNOWN_LIBRARY_NAMES
4626         instead of hard coding old names.
4628 2001-03-09  Ulrich Drepper  <drepper@redhat.com>
4630         * catgets/Makefile (generated): Add test-gencat.h.
4631         (sample.SJIS.cat): Also generate header.
4632         * catgets/sample.SJIS: Add new set and message, both with symbolic
4633         names.
4634         * catgets/test-gencat.sh: Also compare generated header with what
4635         we expect.
4637 2001-03-07  Jakub Jelinek  <jakub@redhat.com>
4639         * catgets/gencat.c (read_input_file): Preserve properly symbolic
4640         names.
4642 2001-03-06  Andreas Jaeger  <aj@suse.de>
4644         * sysdeps/s390/dl-machine.h (elf_machine_relplt): Removed, it's not
4645         needed.
4646         (elf_machine_pltrel_p): Likewise.
4647         * sysdeps/powerpc/dl-machine.h: Likewise.
4648         * sysdeps/generic/dl-machine.h (elf_machine_pltrel_p): Likewise.
4650 2001-03-09  Ulrich Drepper  <drepper@redhat.com>
4652         * sysdeps/unix/sysv/linux/arm/Dist: Add dl-procinfo.c and
4653         dl-procinfo.h.
4655 2001-03-05  Philip Blundell  <philb@gnu.org>
4657         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c: New file.
4658         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h: New file.
4659         * sysdeps/unix/sysv/linux/arm/Makefile [subdir=elf]
4660         (sysdep-dl-routines, sysdep_routines, sysdep-rtld-routines): Add
4661         dl-procinfo.
4663 2001-03-09  Ulrich Drepper  <drepper@redhat.com>
4665         * dlfcn/tstatexit.c (main): Don't perform the test if __dso_handle
4666         is not available.
4667         * dlfcn/tstcxaatexit.c (main): Likewise.
4669 2001-03-10  Andreas Jaeger  <aj@suse.de>
4671         * sysdeps/i386/fpu/libm-test-ulps: Revert last patch.
4673 2001-03-09  Andreas Jaeger  <aj@suse.de>
4675         * sysdeps/s390/dl-machine.h (elf_machine_matches_host): Handle
4676         both new and old EM_S390 values.
4677         (EM_S390_OLD): New constant.
4679         * elf/elf.h (EM_S390): Use official value.
4681 2001-03-09  Ulrich Drepper  <drepper@redhat.com>
4683         * conform/data/sys/socket.h-data: Allow SO* symbols.
4685 2001-03-07  Andreas Schwab  <schwab@suse.de>
4687         * sysdeps/ia64/fpu/Makefile: Modify sysdep_routines instead of
4688         routines, and sysdep-CPPFLAGS instead of CPPFLAGS.
4690 2001-03-07  Andreas Jaeger  <aj@suse.de>
4692         * resolv/Makefile (routines): Only build gai_sigqueue when threads
4693         are available.
4695 2001-03-07  Jakub Jelinek  <jakub@redhat.com>
4697         * elf/ldconfig.c (_dl_sysdep_message): Remove.
4698         * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h: Include
4699         ldsodefs.h.
4700         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h: Likewise.
4702         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Use
4703         _dl_error_printf instead of _dl_sysdep_error.
4704         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
4705         * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h (_dl_procinfo):
4706         Use _dl_printf instead of _dl_sysdep_message.
4707         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h (_dl_procinfo):
4708         Likewise.
4710 2001-03-06  Ben Collins  <bcollins@debian.org>
4712         * manual/arith.texi (Integers): Fix documentation of fast and
4713         least integer typedefs.
4715 2001-03-06  Jakub Jelinek  <jakub@redhat.com>
4717         * resolv/Depend: New file.
4718         * resolv/Makefile (extra-libs, tests): Build libanl and ga_test only
4719         when libpthread is built.
4721 2001-03-06  Andreas Jaeger  <aj@suse.de>
4723         * sysdeps/i386/fpu/libm-test-ulps: Add some deltas.
4725         * sysdeps/sh/dl-machine.h (elf_machine_rela): Add missing comma.
4726         Patch by kaz Kojima <kkojima@rr.iij4u.or.jp>.
4728 2001-03-05  Ulrich Drepper  <drepper@redhat.com>
4730         * stdlib/Versions: Remove __new_exitfn again.  Not needed.
4732 2001-03-05  Andreas Jaeger  <aj@suse.de>
4734         * stdlib/msort.c (qsort): Don't use alloca in a function call.
4736 2001-03-05  Ulrich Drepper  <drepper@redhat.com>
4738         * sysdeps/unix/sysv/linux/bits/stat.h (__S_TYPEISMQ, __S_TYPEISSEM,
4739         __S_TYPEISSHM): Rewrite to enforce correct use the macros.  They still
4740         always return zero.
4741         * sysdeps/unix/sysv/linux/alpha/bits/stat.h: Likewise.
4742         * sysdeps/unix/sysv/linux/ia64/bits/stat.h: Likewise.
4743         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
4744         * sysdeps/unix/sysv/linux/m68k/bits/stat.h: Likewise.
4745         * sysdeps/unix/sysv/linux/mips/bits/stat.h: Likewise.
4746         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
4747         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
4749 2001-03-04  Andreas Jaeger  <aj@suse.de>
4751         * stdlib/longlong.h: Don't use multi-line strings.
4752         * iconvdata/tst-loading.c: Likewise.
4754         * csu/Makefile ($(objpfx)version-info.h): Don't use multi-line
4755         string.
4757 2001-03-04  Ulrich Drepper  <drepper@redhat.com>
4759         * sysdeps/ia64/fpu/libm-test-ulps: Adjust for addition of lgammal.
4761         * rt/lio_listio.c: Add a few asserts.
4763         * elf/global.c: New file.
4764         * elf/globalmod1.c: New file.
4765         * elf/Makefile: Add rules to build and run global.
4767         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Define SI_ASYNCNL.
4768         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
4769         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Likewise.
4770         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
4771         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/siginfo.h: Likewise.
4773         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: New file.
4774         Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>.
4776         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Fix handling of boundary cases.
4778         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Always initialize sign variable.
4779         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
4781         * sysdeps/i386/fpu/libm-test-ulps: Adjust after addition of lgammal.
4783         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Fix typo in last change.
4785 2001-03-04  Andreas Jaeger  <aj@suse.de>
4787         * resolv/tst-aton.c: Add testcase for IP with four periods.
4789         * resolv/inet_addr.c: Don't recognize an IP with four periods.
4790         Patch by Andre' Breiler <A.Breiler@gmx.net>.
4792 2001-02-27  Philip Blundell  <pb@futuretv.com>
4794         * elf/elf.h: Add new ARM definitions from latest (B-01)
4795         specification.  Correct naming of EF_ARM_ALIGN8 et al.
4797 2001-03-04  Ulrich Drepper  <drepper@redhat.com>
4799         * stdio-common/tst-printf.sh: Remove bashisms.
4800         Patch by Matthew Clarke <Matthew_Clarke@mindlink.bc.ca>.
4802 2001-03-03  Ulrich Drepper  <drepper@redhat.com>
4804         * Versions.def: Add libanl definition.
4805         * shlib-versions: Add entry for libanl.
4806         * resolv/Makefile (distribute): Add gai_misc.h and ga_test.c.
4807         (routines): Add gai_sigqueue.
4808         (extra-libs): Add libanl.
4809         (libanl-routines): New variable.
4810         Add rules to build libanl and ga_test.
4811         * resolv/Versions [libc] (GLIBC_2.2.3): Add __gai_sigqueue.
4812         [libanl]: New library.
4813         * resolv/netdb.h: Add definitions for libanl.
4814         * resolv/getaddrinfo_a.c: New file.
4815         * resolv/gai_cancel.c: New file.
4816         * resolv/gai_error.c: New file.
4817         * resolv/gai_misc.c: New file.
4818         * resolv/gai_misc.h: New file.
4819         * resolv/gai_notify.c: New file.
4820         * resolv/gai_suspend.c: New file.
4821         * resolv/ga_test.c: New file.
4822         * sysdeps/generic/gai_sigqueue.c: New file.
4823         * sysdeps/unix/sysv/linux/gai_sigqueue.c: New file.
4824         * sysdeps/generic/bits/siginfo.h: Allow __need_sigevent_t being defined
4825         and provide only that definition.
4826         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Likewise.
4827         * sysdeps/unix/sysv/linux/bits/siginfo.h: Likewise.
4828         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
4829         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Likewise.
4830         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
4831         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/siginfo.h: Likewise.
4833         * rt/aio_misc.c: Fix typos in comments.
4834         * rt/lio_listio.c: Pretty printing.  Little optimization in request
4835         list handling.
4837         * elf/rtld.c: Remove commented out code.
4839         * sysdeps/unix/sysv/linux/linux_fsinfo.h (SHMFS_SUPER_MAGIC):
4840         Update for real 2.4 kernels.
4842 2001-03-01  Ulrich Drepper  <drepper@redhat.com>
4844         * elf/dl-load.c: Pretty printing.
4846         * elf/dl-object.c (_dl_new_object): Don't add the loader's scope
4847         twice.
4849 2001-02-28  Ulrich Drepper  <drepper@redhat.com>
4851         * sysdeps/alpha/dl-machine.h (elf_machine_rela): Don't handle
4852         relocations which are not in ld.so if RTLD_BOOTSTRAP is defined.
4854         * sysdeps/powerpc/dl-machine.c (__process_machine_rela): Fix typo.
4856         * elf/dl-misc.c (_dl_debug_vdprintf): Fix typo visible on 64-bit
4857         machines.
4859         * sysdeps/unix/sysv/linux/powerpc/sysdep.h (C_TEXT): Define.
4861 2001-02-27  Ulrich Drepper  <drepper@redhat.com>
4863         * sysdeps/powerpc/elf/libc-start.c: Use new output functions and
4864         _dl_debug_mask.
4866         * elf/Versions [ld]: Don't export _dl_debug_message anymore.  Export
4867         _dl_debug_printf.
4868         * elf/dl-misc.c: Remove definition of _dl_sysdep_output and
4869         _dl_debug_message.  Define _dl_debug_vdprintf, _dl_debug_printf,
4870         _dl_debug_printf_c, and _dl_printf.
4871         * sysdeps/generic/ldsodefs.h: Don't declare _dl_sysdep_output,
4872         _dl_debug_message, _dl_sysdep_message, _dl_sysdep_error, and
4873         _dl_sysdep_fatal.  Declare _dl_debug_printf, _dl_debug_printf_c,
4874         _dl_printf, _dl_error_printf, and _dl_fatal_printf.
4875         * elf/dl-close.c: Replace use of old output functions with the new
4876         ones.
4877         * elf/dl-deps.c: Likewise.
4878         * elf/dl-error.c: Likewise.
4879         * elf/dl-fini.c: Likewise.
4880         * elf/dl-init.c: Likewise.
4881         * elf/dl-load.c: Likewise.
4882         * elf/dl-lookup.c: Likewise.
4883         * elf/dl-minimal.c: Likewise.
4884         * elf/dl-open.c: Likewise.
4885         * elf/dl-profile.c: Likewise.
4886         * elf/dl-reloc.c: Likewise.
4887         * elf/dl-version.c: Likewise.
4888         * elf/do-lookup.h: Likewise.
4889         * elf/rtld.c: Likewise.
4890         * sysdeps/generic/dl-cache.c: Likewise.
4891         * sysdeps/generic/dl-sysdep.c: Likewise.
4892         * sysdeps/generic/libc-start.c: Likewise.
4893         * sysdeps/i386/dl-machine.h: Likewise.
4894         * sysdeps/arm/dl-machine.h: Likewise.
4895         * sysdeps/hppa/dl-machine.h: Likewise.
4896         * sysdeps/m68k/dl-machine.h: Likewise.
4897         * sysdeps/powerpc/dl-machine.h: Likewise.
4898         * sysdeps/s390/dl-machine.h: Likewise.
4899         * sysdeps/sh/dl-machine.h: Likewise.
4900         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
4901         * sysdeps/unix/sysv/linux/i386/dl-librecon.h: Likewise.
4902         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
4904         * sysdeps/generic/ldsodefs.h: Remove _dl_secure declaration.
4906         * dlfcn/Makefile: Don't run tstatexit test unless .hidden is
4907         supported by assembler.
4909         * sysdeps/generic/ldsodefs.h: Remove commented-out variable
4910         declaractions.
4912         * elf/rtld.c: Little optimizations in handling _dl_lazy.
4914         * elf/cache.c (save_cache): Portability changes.
4915         * elf/dl-profile.c (_dl_start_profile): Likewise.
4917         * elf/sln.c: Cleanups.  Remove arbitrary limits.
4919         * elf/dl-close.c: Replace _dl_debug_* variables with _dl_debug_mask.
4920         * elf/dl-deps.c: Likewise.
4921         * elf/dl-fini.c: Likewise.
4922         * elf/dl-init.c: Likewise.
4923         * elf/dl-load.c: Likewise.
4924         * elf/dl-lookup.c: Likewise.
4925         * elf/dl-open.c: Likewise.
4926         * elf/dl-reloc.c: Likewise.
4927         * elf/dl-support.c: Likewise.
4928         * elf/dl-version.c: Likewise.
4929         * elf/do-lookup.h: Likewise.
4930         * elf/rtld.c: Likewise.
4931         * sysdeps/generic/dl-cache.c: Likewise.
4932         * sysdeps/generic/ldsodefs.h: Likewise.
4933         * sysdeps/generic/libc-start.c: Likewise.
4934         * elf/Versions: Don't export _dl_debug_impcalls and _dl_debug_files.
4935         Export _dl_debug_mask.
4936         * Versions.def: Define GLIBC_2.2.3 for ld.
4938 2001-02-26  Greg McGary  <greg@mcgary.org>
4940         * sysdeps/unix/make-syscalls.sh (ptr): Handle `V' keyletter.
4942 2001-02-26  Paul Eggert  <eggert@twinsun.com>
4944         Modify mkstemp.c and tempname.c so that they can be used by
4945         GNU applications on non-glibc platforms.
4947         * misc/mkstemp.c (__GT_FILE): Define to zero if not defined.
4949         * sysdeps/posix/tempname.c: Include <config.h> if HAVE_CONFIG_H.
4950         Include <stddef.h>, <stdint.h>, <string.h> only if
4951         STDC_HEADERS || _LIBC.
4952         Include <fcntl.h> only if HAVE_FCNTL_H || _LIBC.
4953         Include <unistd.h> only if HAVE_UNISTD_H || _LIBC.
4954         Include <sys/time.h> only if HAVE_SYS_TIME_H || _LIBC.
4955         (__set_errno): Define this macro if <errno.h> doesn't.
4956         (P_tmpdir, TMP_MAX, __GT_FILE, __GT_BIGFILE, __GT_DIR, __GT_NOCREATE):
4957         Define these macros if <stdio.h> doesn't.
4958         (S_ISDIR, S_IRUSR, S_IWUSR, S_IXUSR):
4959         Define these macros if <sys/stat.h> doesn't.
4960         Ignore <sys/stat.h> S_ISDIR if STAT_MACROS_BROKEN.
4961         (stat64, __getpid, __gettimeofday, __mkdir, __open, __open64,
4962         lxstat64, __xstat64): Define if not _LIBC.
4963         (struct_stat64): New macro.
4964         (direxists, __gen_tempname): Use it, to avoid a
4965         portability problem with Solaris 8.
4966         (__secure_getenv): Define if ! (HAVE___SECURE_GETENV || _LIBC).
4967         (__gen_tempname): Invoke gettimeofday only if
4968         HAVE_GETTIMEOFDAY || _LIBC; otherwise, fall back on plain "time".
4969         Use portable macros like S_IRUSR | S_IWUSR rather than nonportable
4970         octal values like 0600.
4972 2001-02-26  Ulrich Drepper  <drepper@redhat.com>
4974         * sysdeps/ieee754/ldbl-96/e_jnl.c: New file.
4975         Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>.
4977         * sysdeps/i386/fpu/libm-test-ulps: Update for jnl and ynl introduction.
4978         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
4980         * posix/wordexp-test.c (testit): Remove warnings.
4982         * dlfcn/Makefile (distribute): Add modatexit.c and modcxaatexit.c.
4983         (tests): Add tstatexit and tstcxaatexit.
4984         (module-names): Add modatexit and modcxaatexit.
4985         Add rules to build and run tstatexit and tstcxaatexit.
4986         * dlfcn/modatexit.c: New file.
4987         * dlfcn/modcxaatexit.c: New file.
4988         * dlfcn/tstatexit.c: New file.
4989         * dlfcn/tstcxaatexit.c: New file.
4991         * io/Makefile: Pass -DHAVE_DOT_HIDDEN to stat and mknod functions if
4992         .hidden is available.
4993         * io/stat.c: If .hidden is available use it to avoid exporting
4994         functions.
4995         * io/fstat.c: Likewise.
4996         * io/lstat.c: Likewise.
4997         * io/stat64.c: Likewise.
4998         * io/fstat64.c: Likewise.
4999         * io/lstat64.c: Likewise.
5000         * sysdeps/generic/mknod.c: Likewise.
5002         * malloc/mtrace.c: Use __cxa_atexit and not atexit.
5003         * sysdeps/generic/bb_init_func.c: Likewise.
5004         * sysdeps/generic/libc-start.c: Likewise.
5006         * stdlib/atexit.c (__new_exitfn): Move to cxa_atexit.c.
5007         (atexit): Implement using __cxa_atexit.
5008         Use .hidden if availble to avoid exporting atexit.
5009         * stdlib/cxa_atexit.c (__new_exitfn): Moved to here from atexit.c.
5010         * stdlib/Versions: Export __new_exitfn for GLIBC_2.2.3.
5011         * stdlib/Makefile (routines): Add old_atexit.
5012         (static-only-routines): Add atexit.
5013         Pass -DHAVE_DOT_HIDDEN for atexit.c if .hidden is available.
5014         * stdlib/old_atexit.c: New file.
5016         * intl/Makefile: Remove bogus endif.
5018 2001-02-26  Andreas Jaeger  <aj@suse.de>
5020         * iconvdata/Makefile (tests): Fix typo in last patch.
5022         * intl/Makefile (tests): Run mtrace-tst-gettext only when perl is
5023         available.
5024         Reported by Achim Gottinger <achim@gentoo.org>.
5026 2001-02-25  Andreas Jaeger  <aj@suse.de>
5028         * intl/Makefile (plural.c): Reorder rules so that they work if
5029         BISON doesn't exist.
5031 2001-02-25  Ulrich Drepper  <drepper@redhat.com>
5033         * intl/locale.alias: Don't use nb_NO but define aliases for it.
5035 2001-02-23  Ulrich Drepper  <drepper@redhat.com>
5037         * sysdeps/i386/strtok.S: Continue to return NULL after the first
5038         time this happened.
5040 2001-02-23  Andreas Jaeger  <aj@suse.de>
5042         * string/tester.c (test_strtok_r): Add testcase.
5043         (test_strtok_r): Always initialize cp for proper checking.
5045         * sysdeps/generic/strtok.c (strtok): Handle case of first strtok
5046         returning NULL correctly.
5047         Patch by Fumitoshi UKAI <ukai@debian.or.jp>.
5048         * sysdeps/generic/strtok_r.c (__strtok_r): Likewise.
5050 2001-02-23  Ulrich Drepper  <drepper@redhat.com>
5052         * sysdeps/unix/sysv/aix/bits/types.h: Define __need_NULL before
5053         including <stddef.h>.
5054         * sysdeps/unix/sysv/aix/write.c: Define alias __libc_write.
5055         * include/libc-symbols.h (weak_alias): Don't use .weak if
5056         HAVE_ASM_GLOBAL_DOT_NAME is defined.
5057         Patches by Michael Keezer <mkeezer@redhat.com>.
5059         * sysdeps/generic/ftime.c: Don't include <sys/time.h> at all.
5060         Patch by Michael Keezer <mkeezer@redhat.com>.
5062         * sysdeps/unix/sysv/aix/Dist: Remove restf.S and savef.S.
5063         * sysdeps/unix/sysv/aix/Makefile [$(subdir) == misc]
5064         (sysdep_routines): Remove restf.S and savef.S.
5065         * sysdeps/unix/sysv/aix/restf.S: Removed.
5066         * sysdeps/unix/sysv/aix/savef.S: Removed.
5067         * sysdeps/powerpc/fprrest.S: Use C_TEXT to define label.  Also define
5068         alternative names used on some platforms.
5069         * sysdeps/powerpc/fprsave.S: Likewise.
5070         * sysdeps/powerpc/gprrest0.S: Likewise.
5071         * sysdeps/powerpc/gprrest1.S: Likewise.
5072         * sysdeps/powerpc/gprsave0.S: Likewise.
5073         * sysdeps/powerpc/gprsave1.S: Likewise.
5074         Patch by Michael Keezer <mkeezer@redhat.com>.
5076 2001-02-22  Ulrich Drepper  <drepper@redhat.com>
5078         * sysdeps/i386/elf/start.S (_fp_hw): Actually define label.
5080 2001-02-22  Andreas Jaeger  <aj@suse.de>
5082         * string/tst-strtok.c (main): Fix error messages.
5084 2001-02-22  Andreas Jaeger  <aj@suse.de>
5086         * math/Makefile: Remove omit-long-double-fcts.
5088 2001-02-18  Maciej W. Rozycki  <macro@ds2.pg.gda.pl>
5090         * sysdeps/mips/bsd-_setjmp.S (_setjmp): Reorder instructions to
5091         avoid problems on MIPS I.
5092         * sysdeps/mips/bsd-setjmp.S (setjmp): Likewise.
5094         * sysdeps/mips/dl-machine.h (RTLD_START): Remove duplicate ".set
5095         noreorder".
5097 2001-02-21  Ulrich Drepper  <drepper@redhat.com>
5099         * posix/fnmatch_loop.c: Handle ranges outside glibc correctly.
5101         * sysdeps/generic/ftime.c: Include <time.h>.
5103         * configure.in: Don't check for libgd if user passed --without-gd.
5104         Patch by Achim Gottinger <achim@gentoo.org>.
5106         * sysdeps/i386/i686/strtok.S: Continue to return NULL after the
5107         first time this happened.
5108         * string/Makefile (tests): Add tst-strtok.
5110 2001-02-21  Andreas Jaeger  <aj@suse.de>
5112         * string/tst-strtok.c: New testcase, reported by
5113         Andrew Church <achurch@achurch.org>.
5115 2001-02-20  Ulrich Drepper  <drepper@redhat.com>
5117         * libio/iofwide.c: Remove fwide alias.
5119 2001-02-20  Andreas Jaeger  <aj@suse.de>
5121         * iconvdata/Makefile (tests): Only run mtrace-tst-loading if perl
5122         is available.
5123         Reported by Achim Gottinger <achim@gentoo.org>.
5125 2001-02-19  Ulrich Drepper  <drepper@redhat.com>
5127         * iconv/tst-iconv1.c (main): Remove debugging code.
5129         * sysdeps/ieee754/flt-32/e_powf.c: Handle x == +-1 correctly.
5130         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5132         * sysdeps/generic/e_scalb.c: Set invalid exception for invalid
5133         parameters.
5134         * sysdeps/generic/e_scalbf.c: Likewise.
5135         * sysdeps/generic/e_scalbl.c: Likewise.
5137         * sysdeps/ia64/fpu/Makefile (libm-sysdep-routines): Add libm_error,
5138         libm_frexp4, libm_frexp4f, libm_frexp4l, and all the functions also
5139         in libc.
5140         (routines): Replace libm_error with libc_libm_error.
5141         * sysdeps/ia64/fpu/Dist: Add libc_libm_error.c.
5142         * sysdeps/ia64/fpu/libc_libm_error.c: New file.
5144 2001-02-18  Mark Kettenis  <kettenis@gnu.org>
5146         * malloc/mtrace.c [USE_IN_LIBIO]: Define fopen as _IO_fopen64.
5147         (mtrace): Revert 2001-02-13 patch: use fopen instead of fopen64.
5149 2001-02-17  H.J. Lu  <hjl@gnu.org>
5151         * sysdeps/unix/sysv/linux/ia64/clone2.S: Use clone2 and don't use
5152         scratch registers across the system call.
5154 2001-02-19  Andreas Jaeger  <aj@suse.de>
5156         * malloc/Makefile (tests): Run mtrace only when perl is available.
5157         Reported by Achim Gottinger <achim@gentoo.org>.
5159 2001-02-19  Ulrich Drepper  <drepper@redhat.com>
5161         * sysdeps/ieee754/ldbl-96/e_j1l.c: New file.
5162         Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>.
5164         * sysdeps/i386/fpu/libm-test-ulps: Adjust error values for j1 and y1.
5165         * sysdeps/ia64/fpu/libm-test-ulps: Adjust error values for y1.
5166         * math/libm-test.inc (j1_test): Mark constants as long double.
5167         (jn_test): Likewise.
5168         (y1_test): Likewise.
5169         (yn_test): Likewise.
5171         * libio/iogetline.c: Move return until after last statement.
5173         * localedata/show-ucs-data.c: Don't show < > for better readability.
5175         * sysdeps/ia64/fpu/Dist: New file.
5176         * sysdeps/ia64/fpu/Makefile: New file.
5177         * sysdeps/ia64/fpu/Versions: New file.
5178         * sysdeps/ia64/fpu/e_acos.S: New file.
5179         * sysdeps/ia64/fpu/e_acosf.S: New file.
5180         * sysdeps/ia64/fpu/e_acosl.S: New file.
5181         * sysdeps/ia64/fpu/e_asin.S: New file.
5182         * sysdeps/ia64/fpu/e_asinf.S: New file.
5183         * sysdeps/ia64/fpu/e_asinl.S: New file.
5184         * sysdeps/ia64/fpu/e_atan2.S: New file.
5185         * sysdeps/ia64/fpu/e_atan2f.S: New file.
5186         * sysdeps/ia64/fpu/e_atan2l.c: New file.
5187         * sysdeps/ia64/fpu/e_cosh.S: New file.
5188         * sysdeps/ia64/fpu/e_coshf.S: New file.
5189         * sysdeps/ia64/fpu/e_coshl.S: New file.
5190         * sysdeps/ia64/fpu/e_exp.S: New file.
5191         * sysdeps/ia64/fpu/e_expf.S: New file.
5192         * sysdeps/ia64/fpu/e_expl.c: New file.
5193         * sysdeps/ia64/fpu/e_fmod.S: New file.
5194         * sysdeps/ia64/fpu/e_fmodf.S: New file.
5195         * sysdeps/ia64/fpu/e_fmodl.S: New file.
5196         * sysdeps/ia64/fpu/e_hypot.S: New file.
5197         * sysdeps/ia64/fpu/e_hypotf.S: New file.
5198         * sysdeps/ia64/fpu/e_hypotl.S: New file.
5199         * sysdeps/ia64/fpu/e_log.S: New file.
5200         * sysdeps/ia64/fpu/e_log10.c: New file.
5201         * sysdeps/ia64/fpu/e_log10f.c: New file.
5202         * sysdeps/ia64/fpu/e_log10l.c: New file.
5203         * sysdeps/ia64/fpu/e_logf.S: New file.
5204         * sysdeps/ia64/fpu/e_logl.c: New file.
5205         * sysdeps/ia64/fpu/e_pow.S: New file.
5206         * sysdeps/ia64/fpu/e_powf.S: New file.
5207         * sysdeps/ia64/fpu/e_powl.S: New file.
5208         * sysdeps/ia64/fpu/e_rem_pio2.c: New file.
5209         * sysdeps/ia64/fpu/e_rem_pio2f.c: New file.
5210         * sysdeps/ia64/fpu/e_remainder.S: New file.
5211         * sysdeps/ia64/fpu/e_remainderf.S: New file.
5212         * sysdeps/ia64/fpu/e_remainderl.S: New file.
5213         * sysdeps/ia64/fpu/e_scalb.S: New file.
5214         * sysdeps/ia64/fpu/e_scalbf.S: New file.
5215         * sysdeps/ia64/fpu/e_scalbl.S: New file.
5216         * sysdeps/ia64/fpu/e_sinh.S: New file.
5217         * sysdeps/ia64/fpu/e_sinhf.S: New file.
5218         * sysdeps/ia64/fpu/e_sinhl.S: New file.
5219         * sysdeps/ia64/fpu/e_sqrt.S: New file.
5220         * sysdeps/ia64/fpu/e_sqrtf.S: New file.
5221         * sysdeps/ia64/fpu/e_sqrtl.S: New file.
5222         * sysdeps/ia64/fpu/k_rem_pio2.c: New file.
5223         * sysdeps/ia64/fpu/k_rem_pio2f.c: New file.
5224         * sysdeps/ia64/fpu/k_rem_pio2l.c: New file.
5225         * sysdeps/ia64/fpu/libm_atan2_reg.S: New file.
5226         * sysdeps/ia64/fpu/libm_error.c: New file.
5227         * sysdeps/ia64/fpu/libm_frexp4.S: New file.
5228         * sysdeps/ia64/fpu/libm_frexp4f.S: New file.
5229         * sysdeps/ia64/fpu/libm_frexp4l.S: New file.
5230         * sysdeps/ia64/fpu/libm_reduce.S: New file.
5231         * sysdeps/ia64/fpu/libm_support.h: New file.
5232         * sysdeps/ia64/fpu/libm_tan.S: New file.
5233         * sysdeps/ia64/fpu/s_atan.S: New file.
5234         * sysdeps/ia64/fpu/s_atanf.S: New file.
5235         * sysdeps/ia64/fpu/s_atanl.S: New file.
5236         * sysdeps/ia64/fpu/s_cbrt.S: New file.
5237         * sysdeps/ia64/fpu/s_cbrtf.S: New file.
5238         * sysdeps/ia64/fpu/s_cbrtl.S: New file.
5239         * sysdeps/ia64/fpu/s_ceil.S: New file.
5240         * sysdeps/ia64/fpu/s_ceilf.S: New file.
5241         * sysdeps/ia64/fpu/s_ceill.S: New file.
5242         * sysdeps/ia64/fpu/s_cos.S: New file.
5243         * sysdeps/ia64/fpu/s_cosf.S: New file.
5244         * sysdeps/ia64/fpu/s_cosl.S: New file.
5245         * sysdeps/ia64/fpu/s_expm1.S: New file.
5246         * sysdeps/ia64/fpu/s_expm1f.S: New file.
5247         * sysdeps/ia64/fpu/s_expm1l.S: New file.
5248         * sysdeps/ia64/fpu/s_floor.S: New file.
5249         * sysdeps/ia64/fpu/s_floorf.S: New file.
5250         * sysdeps/ia64/fpu/s_floorl.S: New file.
5251         * sysdeps/ia64/fpu/s_frexp.c: New file.
5252         * sysdeps/ia64/fpu/s_frexpf.c: New file.
5253         * sysdeps/ia64/fpu/s_frexpl.c: New file.
5254         * sysdeps/ia64/fpu/s_ilogb.S: New file.
5255         * sysdeps/ia64/fpu/s_ilogbf.S: New file.
5256         * sysdeps/ia64/fpu/s_ilogbl.S: New file.
5257         * sysdeps/ia64/fpu/s_ldexp.S: New file.
5258         * sysdeps/ia64/fpu/s_ldexpf.S: New file.
5259         * sysdeps/ia64/fpu/s_ldexpl.S: New file.
5260         * sysdeps/ia64/fpu/s_log1p.S: New file.
5261         * sysdeps/ia64/fpu/s_log1pf.S: New file.
5262         * sysdeps/ia64/fpu/s_log1pl.S: New file.
5263         * sysdeps/ia64/fpu/s_logb.S: New file.
5264         * sysdeps/ia64/fpu/s_logbf.S: New file.
5265         * sysdeps/ia64/fpu/s_logbl.S: New file.
5266         * sysdeps/ia64/fpu/s_matherrf.c: New file.
5267         * sysdeps/ia64/fpu/s_matherrl.c: New file.
5268         * sysdeps/ia64/fpu/s_modf.S: New file.
5269         * sysdeps/ia64/fpu/s_modff.S: New file.
5270         * sysdeps/ia64/fpu/s_modfl.S: New file.
5271         * sysdeps/ia64/fpu/s_nearbyint.S: New file.
5272         * sysdeps/ia64/fpu/s_nearbyintf.S: New file.
5273         * sysdeps/ia64/fpu/s_nearbyintl.S: New file.
5274         * sysdeps/ia64/fpu/s_rint.S: New file.
5275         * sysdeps/ia64/fpu/s_rintf.S: New file.
5276         * sysdeps/ia64/fpu/s_rintl.S: New file.
5277         * sysdeps/ia64/fpu/s_round.S: New file.
5278         * sysdeps/ia64/fpu/s_roundf.S: New file.
5279         * sysdeps/ia64/fpu/s_roundl.S: New file.
5280         * sysdeps/ia64/fpu/s_scalbn.S: New file.
5281         * sysdeps/ia64/fpu/s_scalbnf.S: New file.
5282         * sysdeps/ia64/fpu/s_scalbnl.S: New file.
5283         * sysdeps/ia64/fpu/s_significand.S: New file.
5284         * sysdeps/ia64/fpu/s_significandf.S: New file.
5285         * sysdeps/ia64/fpu/s_significandl.S: New file.
5286         * sysdeps/ia64/fpu/s_sin.c: New file.
5287         * sysdeps/ia64/fpu/s_sincos.c: New file.
5288         * sysdeps/ia64/fpu/s_sincosf.c: New file.
5289         * sysdeps/ia64/fpu/s_sincosl.c: New file.
5290         * sysdeps/ia64/fpu/s_sinf.c: New file.
5291         * sysdeps/ia64/fpu/s_sinl.c: New file.
5292         * sysdeps/ia64/fpu/s_tan.S: New file.
5293         * sysdeps/ia64/fpu/s_tanf.S: New file.
5294         * sysdeps/ia64/fpu/s_tanl.S: New file.
5295         * sysdeps/ia64/fpu/s_trunc.S: New file.
5296         * sysdeps/ia64/fpu/s_truncf.S: New file.
5297         * sysdeps/ia64/fpu/s_truncl.S: New file.
5298         * sysdeps/ia64/fpu/w_acos.c: New file.
5299         * sysdeps/ia64/fpu/w_acosf.c: New file.
5300         * sysdeps/ia64/fpu/w_acosl.c: New file.
5301         * sysdeps/ia64/fpu/w_asin.c: New file.
5302         * sysdeps/ia64/fpu/w_asinf.c: New file.
5303         * sysdeps/ia64/fpu/w_asinl.c: New file.
5304         * sysdeps/ia64/fpu/w_atan2.c: New file.
5305         * sysdeps/ia64/fpu/w_atan2f.c: New file.
5306         * sysdeps/ia64/fpu/w_atan2l.c: New file.
5307         * sysdeps/ia64/fpu/w_cosh.c: New file.
5308         * sysdeps/ia64/fpu/w_coshf.c: New file.
5309         * sysdeps/ia64/fpu/w_coshl.c: New file.
5310         * sysdeps/ia64/fpu/w_exp.c: New file.
5311         * sysdeps/ia64/fpu/w_expf.c: New file.
5312         * sysdeps/ia64/fpu/w_fmod.c: New file.
5313         * sysdeps/ia64/fpu/w_fmodf.c: New file.
5314         * sysdeps/ia64/fpu/w_fmodl.c: New file.
5315         * sysdeps/ia64/fpu/w_hypot.c: New file.
5316         * sysdeps/ia64/fpu/w_hypotf.c: New file.
5317         * sysdeps/ia64/fpu/w_hypotl.c: New file.
5318         * sysdeps/ia64/fpu/w_log.c: New file.
5319         * sysdeps/ia64/fpu/w_log10.c: New file.
5320         * sysdeps/ia64/fpu/w_log10f.c: New file.
5321         * sysdeps/ia64/fpu/w_log10l.c: New file.
5322         * sysdeps/ia64/fpu/w_logf.c: New file.
5323         * sysdeps/ia64/fpu/w_logl.c: New file.
5324         * sysdeps/ia64/fpu/w_pow.c: New file.
5325         * sysdeps/ia64/fpu/w_powf.c: New file.
5326         * sysdeps/ia64/fpu/w_powl.c: New file.
5327         * sysdeps/ia64/fpu/w_remainder.c: New file.
5328         * sysdeps/ia64/fpu/w_remainderf.c: New file.
5329         * sysdeps/ia64/fpu/w_remainderl.c: New file.
5330         * sysdeps/ia64/fpu/w_scalb.c: New file.
5331         * sysdeps/ia64/fpu/w_scalbf.c: New file.
5332         * sysdeps/ia64/fpu/w_scalbl.c: New file.
5333         * sysdeps/ia64/fpu/w_sqrt.c: New file.
5334         * sysdeps/ia64/fpu/w_sqrtf.c: New file.
5335         * sysdeps/ia64/fpu/w_sqrtl.c: New file.
5336         * sysdeps/ia64/fpu/libm-test-ulps: Adjust for long double
5337         implementation.
5338         * sysdeps/ia64/fpu/bits/mathdef.h: Correct float_t and double_t types.
5339         Change FP_ILOGBNAN for new implementation.
5340         * Verions.def: Add 2.2.3 versions.
5342 2001-02-18  Ulrich Drepper  <drepper@redhat.com>
5344         * math/libm-test.inc (scalb_test): Require invalid exception being
5345         raised for invalid parameters.
5346         * sysdeps/i386/fpu/e_scalb.S: Raise invalid exception if necessary.
5347         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
5348         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
5350 2001-02-18  Mark Kettenis  <kettenis@gnu.org>
5352         * sysdeps/mach/getsysstats.c (__get_phys_pages): Change return
5353         value to long int.
5354         (__get_avphys_pages): Likewise.
5356 2001-02-18  Ulrich Drepper  <drepper@redhat.com>
5358         * math/libm-test.inc (pow_test): Correct expected results for x == +-1.
5359         * sysdeps/i386/fpu/e_pow.S: Handle x == +-1 correctly.
5360         * sysdeps/i386/fpu/e_powf.S: Likewise.
5361         * sysdeps/i386/fpu/e_powl.S: Likewise.
5363         * sysdeps/i386/fpu/bits/mathinline.h: Remove pow inline code.
5365 2001-02-17  Ulrich Drepper  <drepper@redhat.com>
5367         * math/Makefile (libm-calls): It's e_exp2 not s_exp2.
5369         * sysdeps/generic/s_exp2l.c: Renamed to...
5370         * sysdeps/generic/e_exp2l.c: ...this.   New file.
5371         * sysdeps/i386/fpu/s_exp2.S: Renamed to...
5372         * sysdeps/i386/fpu/e_exp2.S: ...this.   New file.
5373         * sysdeps/i386/fpu/s_exp2f.S: Renamed to...
5374         * sysdeps/i386/fpu/e_exp2f.S: ...this.   New file.
5375         * sysdeps/i386/fpu/s_exp2l.S: Renamed to...
5376         * sysdeps/i386/fpu/e_exp2l.S: ...this.   New file.
5377         * sysdeps/ieee754/flt-32/s_exp2f.c: Renamed to...
5378         * sysdeps/ieee754/flt-32/e_exp2f.c: ...this.   New file.
5379         * sysdeps/ieee754/dbl-64/s_exp2.c: Renamed to...
5380         * sysdeps/ieee754/dbl-64/e_exp2.c: ...this.   New file.
5381         * sysdeps/m68k/fpu/s_exp2.c: Renamed to...
5382         * sysdeps/m68k/fpu/e_exp2.c: ...this.   New file.
5383         * sysdeps/m68k/fpu/s_exp2f.c: Renamed to...
5384         * sysdeps/m68k/fpu/e_exp2f.c: ...this.   New file.
5385         * sysdeps/m68k/fpu/s_exp2l.c: Renamed to...
5386         * sysdeps/m68k/fpu/e_exp2l.c: ...this.   New file.
5388 2001-02-17  Andreas Jaeger  <aj@suse.de>
5390         * configure.in: Allow gcc 3.
5392 2001-02-16  Ulrich Drepper  <drepper@redhat.com>
5394         * math/w_acos.c: Move to ...
5395         * sysdeps/generic/w_acos.c: ...here.  New file.
5396         * math/w_acosf.c: Move to ...
5397         * sysdeps/generic/w_acosf.c: ...here.  New file.
5398         * math/w_acosh.c: Move to ...
5399         * sysdeps/generic/w_acosh.c: ...here.  New file.
5400         * math/w_acoshf.c: Move to ...
5401         * sysdeps/generic/w_acoshf.c: ...here.  New file.
5402         * math/w_acoshl.c: Move to ...
5403         * sysdeps/generic/w_acoshl.c: ...here.  New file.
5404         * math/w_acosl.c: Move to ...
5405         * sysdeps/generic/w_acosl.c: ...here.  New file.
5406         * math/w_asin.c: Move to ...
5407         * sysdeps/generic/w_asin.c: ...here.  New file.
5408         * math/w_asinf.c: Move to ...
5409         * sysdeps/generic/w_asinf.c: ...here.  New file.
5410         * math/w_asinl.c: Move to ...
5411         * sysdeps/generic/w_asinl.c: ...here.  New file.
5412         * math/w_atan2.c: Move to ...
5413         * sysdeps/generic/w_atan2.c: ...here.  New file.
5414         * math/w_atan2f.c: Move to ...
5415         * sysdeps/generic/w_atan2f.c: ...here.  New file.
5416         * math/w_atan2l.c: Move to ...
5417         * sysdeps/generic/w_atan2l.c: ...here.  New file.
5418         * math/w_atanh.c: Move to ...
5419         * sysdeps/generic/w_atanh.c: ...here.  New file.
5420         * math/w_atanhf.c: Move to ...
5421         * sysdeps/generic/w_atanhf.c: ...here.  New file.
5422         * math/w_atanhl.c: Move to ...
5423         * sysdeps/generic/w_atanhl.c: ...here.  New file.
5424         * math/w_cosh.c: Move to ...
5425         * sysdeps/generic/w_cosh.c: ...here.  New file.
5426         * math/w_coshf.c: Move to ...
5427         * sysdeps/generic/w_coshf.c: ...here.  New file.
5428         * math/w_coshl.c: Move to ...
5429         * sysdeps/generic/w_coshl.c: ...here.  New file.
5430         * math/w_drem.c: Move to ...
5431         * sysdeps/generic/w_drem.c: ...here.  New file.
5432         * math/w_dremf.c: Move to ...
5433         * sysdeps/generic/w_dremf.c: ...here.  New file.
5434         * math/w_dreml.c: Move to ...
5435         * sysdeps/generic/w_dreml.c: ...here.  New file.
5436         * math/w_exp10.c: Move to ...
5437         * sysdeps/generic/w_exp10.c: ...here.  New file.
5438         * math/w_exp10f.c: Move to ...
5439         * sysdeps/generic/w_exp10f.c: ...here.  New file.
5440         * math/w_exp10l.c: Move to ...
5441         * sysdeps/generic/w_exp10l.c: ...here.  New file.
5442         * math/w_exp2.c: Move to ...
5443         * sysdeps/generic/w_exp2.c: ...here.  New file.
5444         * math/w_exp2f.c: Move to ...
5445         * sysdeps/generic/w_exp2f.c: ...here.  New file.
5446         * math/w_exp2l.c: Move to ...
5447         * sysdeps/generic/w_exp2l.c: ...here.  New file.
5448         * math/w_fmod.c: Move to ...
5449         * sysdeps/generic/w_fmod.c: ...here.  New file.
5450         * math/w_fmodf.c: Move to ...
5451         * sysdeps/generic/w_fmodf.c: ...here.  New file.
5452         * math/w_fmodl.c: Move to ...
5453         * sysdeps/generic/w_fmodl.c: ...here.  New file.
5454         * math/w_hypot.c: Move to ...
5455         * sysdeps/generic/w_hypot.c: ...here.  New file.
5456         * math/w_hypotf.c: Move to ...
5457         * sysdeps/generic/w_hypotf.c: ...here.  New file.
5458         * math/w_hypotl.c: Move to ...
5459         * sysdeps/generic/w_hypotl.c: ...here.  New file.
5460         * math/w_j0.c: Move to ...
5461         * sysdeps/generic/w_j0.c: ...here.  New file.
5462         * math/w_j0f.c: Move to ...
5463         * sysdeps/generic/w_j0f.c: ...here.  New file.
5464         * math/w_j0l.c: Move to ...
5465         * sysdeps/generic/w_j0l.c: ...here.  New file.
5466         * math/w_j1.c: Move to ...
5467         * sysdeps/generic/w_j1.c: ...here.  New file.
5468         * math/w_j1f.c: Move to ...
5469         * sysdeps/generic/w_j1f.c: ...here.  New file.
5470         * math/w_j1l.c: Move to ...
5471         * sysdeps/generic/w_j1l.c: ...here.  New file.
5472         * math/w_jn.c: Move to ...
5473         * sysdeps/generic/w_jn.c: ...here.  New file.
5474         * math/w_jnf.c: Move to ...
5475         * sysdeps/generic/w_jnf.c: ...here.  New file.
5476         * math/w_jnl.c: Move to ...
5477         * sysdeps/generic/w_jnl.c: ...here.  New file.
5478         * math/w_lgamma.c: Move to ...
5479         * sysdeps/generic/w_lgamma.c: ...here.  New file.
5480         * math/w_lgammaf.c: Move to ...
5481         * sysdeps/generic/w_lgammaf.c: ...here.  New file.
5482         * math/w_lgammaf_r.c: Move to ...
5483         * sysdeps/generic/w_lgammaf_r.c: ...here.  New file.
5484         * math/w_lgammal.c: Move to ...
5485         * sysdeps/generic/w_lgammal.c: ...here.  New file.
5486         * math/w_lgammal_r.c: Move to ...
5487         * sysdeps/generic/w_lgammal_r.c: ...here.  New file.
5488         * math/w_lgamma_r.c: Move to ...
5489         * sysdeps/generic/w_lgamma_r.c: ...here.  New file.
5490         * math/w_log10.c: Move to ...
5491         * sysdeps/generic/w_log10.c: ...here.  New file.
5492         * math/w_log10f.c: Move to ...
5493         * sysdeps/generic/w_log10f.c: ...here.  New file.
5494         * math/w_log10l.c: Move to ...
5495         * sysdeps/generic/w_log10l.c: ...here.  New file.
5496         * math/w_log.c: Move to ...
5497         * sysdeps/generic/w_log.c: ...here.  New file.
5498         * math/w_logf.c: Move to ...
5499         * sysdeps/generic/w_logf.c: ...here.  New file.
5500         * math/w_logl.c: Move to ...
5501         * sysdeps/generic/w_logl.c: ...here.  New file.
5502         * math/w_pow.c: Move to ...
5503         * sysdeps/generic/w_pow.c: ...here.  New file.
5504         * math/w_powf.c: Move to ...
5505         * sysdeps/generic/w_powf.c: ...here.  New file.
5506         * math/w_powl.c: Move to ...
5507         * sysdeps/generic/w_powl.c: ...here.  New file.
5508         * math/w_remainder.c: Move to ...
5509         * sysdeps/generic/w_remainder.c: ...here.  New file.
5510         * math/w_remainderf.c: Move to ...
5511         * sysdeps/generic/w_remainderf.c: ...here.  New file.
5512         * math/w_remainderl.c: Move to ...
5513         * sysdeps/generic/w_remainderl.c: ...here.  New file.
5514         * math/w_scalb.c: Move to ...
5515         * sysdeps/generic/w_scalb.c: ...here.  New file.
5516         * math/w_scalbf.c: Move to ...
5517         * sysdeps/generic/w_scalbf.c: ...here.  New file.
5518         * math/w_scalbl.c: Move to ...
5519         * sysdeps/generic/w_scalbl.c: ...here.  New file.
5520         * math/w_sinh.c: Move to ...
5521         * sysdeps/generic/w_sinh.c: ...here.  New file.
5522         * math/w_sinhf.c: Move to ...
5523         * sysdeps/generic/w_sinhf.c: ...here.  New file.
5524         * math/w_sinhl.c: Move to ...
5525         * sysdeps/generic/w_sinhl.c: ...here.  New file.
5526         * math/w_sqrtl.c: Move to ...
5527         * sysdeps/generic/w_sqrtl.c: ...here.  New file.
5528         * math/w_tgamma.c: Move to ...
5529         * sysdeps/generic/w_tgamma.c: ...here.  New file.
5530         * math/w_tgammaf.c: Move to ...
5531         * sysdeps/generic/w_tgammaf.c: ...here.  New file.
5532         * math/w_tgammal.c: Move to ...
5533         * sysdeps/generic/w_tgammal.c: ...here.  New file.
5535         * locale/programs/ld-address.c (address_finish): Add 'S' to allow
5536         formats for postal_fmt.
5538 2001-02-16  Jakub Jelinek  <jakub@redhat.com>
5540         * sysdeps/unix/sysv/linux/alpha/syscalls.list (ftruncate): Add
5541         __ftruncate64 alias.
5542         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (ftruncate):
5543         Likewise.
5545 2001-02-15  David Mosberger  <davidm@hpl.hp.com>
5547         * sysdeps/unix/sysv/linux/ia64/__longjmp.S (__longjmp): No need to
5548         do "loadrs".  Writing to bspstore already takes care of
5549         invalidating the "clean" partition.
5551 2001-02-16  Andreas Schwab  <schwab@suse.de>
5553         * sysdeps/m68k/fpu/s_nextafterl.c: New file.
5554         * sysdeps/m68k/fpu/s_fpclassifyl.c: New file.
5556 2001-02-15  Jakub Jelinek  <jakub@redhat.com>
5558         * posix/regex.c (init_syntax_once): Add prototype.
5559         (TRANSLATE): If MBS_SUPPORT, translate all characters up to '\xff'.
5560         (re_search_2): Avoid warning.
5561         (count_mbs_length): Add prototype.
5562         * posix/tst-regex3.c: New file.
5563         * posix/Makefile (tests): Add bug-regex3.
5565 2001-02-15  Ulrich Drepper  <drepper@redhat.com>
5567         * stdio-common/Makefile (tests): Add tst-gets.
5568         * stdio-common/tst-gets.c: New file.
5569         * stdio-common/tst-gets.input: New file.
5571         * elf/elf.h (DT_CHECKSUM): Define.
5573         * sysdeps/generic/strtoll.c: Don't export __strto*_internal as
5574         default symbol.
5575         * sysdeps/generic/strtoull.c: Likewise.
5577 2001-02-14  Wolfram Gloger  <wg@malloc.de>
5579         * malloc/malloc.c (new_heap): When allocating large chunk aligned
5580         to HEAP_MAX_SIZE, prefer one with lower address, to avoid `holes'
5581         between the heaps.
5583 2001-02-14  Ulrich Drepper  <drepper@redhat.com>
5585         * math/libm-test.inc (j0_test): Check whether sincos is available.
5586         (j1_test): Likewise.
5587         (jn_test): Likewise.
5588         (y0_test): Likewise.
5589         (y1_test): Likewise.
5590         (yn_test): Likewise.
5592         * posix/tst-gnuglob.c: Make a few entries DT_UNKNOWN and teach
5593         fake filesystem routines to handle this.
5595         * time/sys/time.h: Make settimeofday and adjtime available if
5596         _BSD_SOURCE.
5598         * time/sys/time.h: Make timer* macros available for BSD.
5600         * iconvdata/gb18030.c: Update for Dec 2000 re-release of GB18030.
5601         Patch by Yong Li <rigel863@yahoo.com>.
5603         * sysdeps/generic/glob.c (CONVERT_DIRENT_DIRENT64): Fix copying of
5604         name.
5606         * posix/Makefile (tests): Add tst-gnuglob.
5607         * posix/tst-gnuglob.c: New file.
5609 2001-02-13  H.J. Lu  <hjl@gnu.org>
5611         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add __ftruncate64.
5613 2001-02-13  Ulrich Drepper  <drepper@redhat.com>
5615         * locale/programs/ld-paper.c (paper_output): Pretty printing.
5617         * iconvdata/Makefile (modules): Add GBBIG5.
5618         (distribute): Add gbbig5.c.
5619         * iconvdata/gconv-modules: Add entries for GBBIG5 module.
5621         * iconvdata/gbbig5.c: New file.
5622         Contributed by Yong Li <rigel863@yahoo.com>.
5624 2001-02-13  Philip Blundell  <pb@futuretv.com>
5626         * manual/crypt.texi: Remove outdated references to crypt add-on.
5628         * manual/creature.texi: Improve wording slightly.
5630 2001-02-13  Ulrich Drepper  <drepper@redhat.com>
5632         * io/ftw.c: Always use readdir64.
5633         * io/ftw64.c: Likewise.
5634         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
5635         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
5636         * sysdeps/generic/glob.c: Likewise.  Convert results of gl_readdir
5637         callback to dirent.  Still allow compiling outside glibc.
5638         * sysdeps/gnu/glob64.c: Define COMPILE_GLOB64.
5639         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
5641         * malloc/mtrace.c: Use fopen64.
5642         * posix/spawni.c: Use __open64.
5643         * sysdeps/unix/opendir.c: Likewise.
5644         * sysdeps/unix/sysv/linux/gethostid.c: Likewise.
5646         * sysdeps/generic/ftruncate64.c: Define __ftruncate64 and make old
5647         name a weak alias.
5648         * sysdeps/unix/sysv/aix/ftruncate64.c: Likewise.
5649         * sysdeps/unix/sysv/linux/ftruncate64.c: Likewise.
5650         * sysdeps/unix/sysv/linux/mips/ftruncate64.c: Likewise.
5651         * sysdeps/unix/sysv/linux/powerpc/ftruncate64.c: Likewise.
5653         * resolv/res_data.c: Add cast to avoid warning.
5655         * include/unistd.h: Declare __ftruncate64.
5657         * sysdeps/generic/utmp_file.c: Use LFS functions and types.
5659         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use __lseek64
5660         instead of __lseek.
5662 2001-02-13  Andreas Jaeger  <aj@suse.de>
5664         * login/getutent_r.c: Include <stdlib.h> for NULL.
5665         * login/getutid_r.c: Likewise.
5667 2001-02-12  Ulrich Drepper  <drepper@redhat.com>
5669         * sysdeps/dbl-64/e_j0.c: Little optimization, use sincos.
5670         * sysdeps/dbl-64/e_j1.c: Likewise.
5671         * sysdeps/dbl-64/e_jn.c: Likewise.
5672         * sysdeps/flt-32/e_j0f.c: Likewise.
5673         * sysdeps/flt-32/e_j1f.c: Likewise.
5674         * sysdeps/ldbl-96/e_j0l.c: Likewise.
5676 2000-12-02  H.J. Lu  <hjl@gnu.org>
5678         * resolv/res_libc.c (res_init): Don't make it default.
5680 2001-02-12  Ulrich Drepper  <drepper@redhat.com>
5682         * manual/debug.texi: Improved the wording.
5683         Patch by Philip Blundell <pb@futuretv.com>.
5685 2001-02-12  Andreas Jaeger  <aj@suse.de>
5687         * posix/Makefile (tests): Don't run bug-regex2 when
5688         cross-compiling.
5690         * libio/Makefile (tests): Don't run test-freopen when
5691         cross-compiling.
5693         * manual/stdio.texi (Streams and I18N): Fix typos.
5695 2001-02-12  Ulrich Drepper  <drepper@redhat.com>
5697         * sysdeps/i386/fpu/libm-test-ulps: Adjust for errors in y0l.
5699         * math/libm-test.inc (j0_test): Make expected results long double
5700         constants.
5701         (y0_test): Likewise.
5703         * sysdeps/ieee754/ldbl-96/e_j0l.c: New file.
5704         Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>.
5706 2001-02-11  Jakub Jelinek  <jakub@redhat.com>
5708         * sysdeps/generic/strtoll.c (__strtoq_internal): Ressurect alias
5709         which was exported from libc.
5710         * sysdeps/generic/strtoull.c (__strtouq_internal): Likewise.
5712 2001-02-12  Andreas Jaeger  <aj@suse.de>
5714         * manual/arith.texi (Parsing of Integers): Fix some wordings.
5716 2001-02-11  Ulrich Drepper  <drepper@redhat.com>
5718         * sysdeps/generic/getsysstat.c: Change return value of get_phys_pages
5719         and get_avphys_page to long int.
5720         * sysdeps/unix/sysv/linux/getsysstat.c: Likewise.
5721         * include/sys/sysinfo.h: Likewise.
5722         * sysdeps/generic/sys/sysinfo.h: Likewise.
5723         * sysdeps/unix/sysv/linux/sys/sysinfo.h: Likewise.
5725         * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Fail if we
5726         cannot return as many values as the user asked for.
5728 2001-02-11  Andreas Jaeger  <aj@suse.de>
5730         * manual/resource.texi (Memory Resources): Fix typo.
5732         * libio/Makefile ($(objpfx)test-freopen.out): Pass
5733         run-program-prefix.
5735         * libio/test-freopen.sh: Use run_program_prefix.
5737 2001-02-10  Andreas Jaeger  <aj@suse.de>
5739         * stdlib/Makefile (tests): Don't run tst-fmtmsg when
5740         cross-compiling.
5741         ($(objpfx)tst-fmtmsg.out): Pass run-program-prefix.
5743         * stdlib/tst-fmtmsg.sh (test): Use run_program_prefix for static
5744         only builds.
5746         * elf/Makefile (tests): Only run tst-pathopt with shared libs.
5748         * posix/Makefile: Fix typo, it's build-static-nss.
5750         * iconv/Makefile (extra-objs): New.
5752 2001-02-10  Mark Kettenis  <kettenis@gnu.org>
5754         * sysdeps/unix/stime.c: Include <time.h>.
5756         * sysdeps/mach/hurd/setitimer.c: Include <time.h>.
5758 2001-02-10  Andreas Jaeger  <aj@suse.de>
5760         * manual/string.texi (Search Functions): Fix typo.
5762 2001-02-10  Mark Kettenis  <kettenis@gnu.org>
5764         * sysdeps/unix/bsd/times.c: Reorder includes and add <time.h>.
5765         (timeval_to_clock_t): Add clk_tck argument and use that instead of
5766         CLK_TCK.
5767         (__times): Use __getclktck to get the number of clock ticks per
5768         second and use its return value instead of CLK_TCK.
5770 2001-02-10  Mark Kettenis  <kettenis@gnu.org>
5772         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h (_HAVE_SA_LEN): Define.
5774 2001-02-10  Mark Kettenis  <kettenis@gnu.org>
5776         * sysdeps/mach/gettimeofday.c: Include <stddef.h>.
5778 2001-02-10  Andreas Jaeger  <aj@suse.de>
5780         * wctype/wcfuncs.c (func): Add prototype declarations to avoid
5781         warning.
5783 2001-02-09  Ulrich Drepper  <drepper@redhat.com>
5785         * posix/Makefile: Add rules to build and run bug-regex2.
5786         * posix/bug-regex2.c: New file.
5788 2001-02-10  Jakub Jelinek  <jakub@redhat.com>
5790         * posix/regex.c (convert_mbs_to_wcs): Change is_binary to char *.
5791         (regex_compile): Likewise.
5792         (FREE_VARIABLES): Don't free is_binary1 and is_binary2.
5793         (re_match_2_internal): Use just is_binary instead of two variables.
5794         Use REGEX_TALLOC to allocate it and FREE_VAR to free on failure.
5796 2001-02-09  Ulrich Drepper  <drepper@redhat.com>
5798         * version.h (VERSION): Bump to 2.2.2.
5800         * iconv/Makefile (distribute): Add iconv_charmap.c and
5801         dummy-repertoire.c.
5802         * elf/Makefile (distribute): Add firstobj.c.
5803         * Makefile (distribute): Add include/pthread.h.
5805         * configure.in: Require makeinfo version 4.
5807         * libio/tst_wscanf.c (main): Add cast to avoid warning.
5808         * libio/tst_swscanf.c (main): Likewise..
5810 2001-02-09  Jakub Jelinek  <jakub@redhat.com>
5812         * sysdeps/generic/setenv.c (unsetenv): Remove const from len.
5813         * sysdeps/sparc/fpu/bits/mathinline.h (sqrt, fdim): Don't define if
5814         __NO_MATH_INLINES.
5815         * sysdeps/i386/dl-machine.h (elf_machine_rel): Only declare refsym
5816         if not RTLD_BOOTSTRAP.
5817         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
5818         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
5820 2001-02-09  Ulrich Drepper  <drepper@redhat.com>
5822         * locale/programs/linereader.c (get_ident): Stop loop if EOF.  Use
5823         lr_ungetc to push back last read character.
5824         * locale/programs/linereader.h (lr_ungetc): Don't push back is
5825         character is EOF.
5826         (lr_ignore_rest): Don't warn about garbage if it is really the end
5827         of the file.
5829         * manual/Makefile: Use ifnottext and not ifinfo to protect Top node
5830         definition.
5832 2001-02-08  Ulrich Drepper  <drepper@redhat.com>
5834         * Makerules (build-shlib): Work around different order of
5835         processing of -B option in different gcc versions.
5837         * posix/regex.c: Fix alignment problem.
5838         Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
5840         * sysdeps/alpha/strrchr.S: Little optimization.
5841         Patch by Richard Henderson <rth@redhat.com>.
5843         * sysdeps/alpha/alphaev67/strrchr.S: New file.
5844         Contributed by Rick Gorton <rick.gorton@alpha-processor.com>.
5846 2001-02-08  kaz Kojima  <kkojima@rr.iij4u.or.jp>
5848         * sysdeps/sh/sh3/setjmp.S (__sigsetjmp): Correct function name
5849         in the assembler end directive.
5851 2001-02-08  Andreas Jaeger  <aj@suse.de>
5853         * manual/stdio.texi (Closing Streams): Fix typos.
5855 2001-02-07  Ulrich Drepper  <drepper@redhat.com>
5857         * sysdeps/alpha/alphaev67/strncat.S: Align last write address.
5858         Patch by Richard Henderson <rth@redhat.com>.
5859         Reported by Claus-Justus Heine <heine@instmath.rwth-aachen.de>.
5861         * stdlib/strfmon.c [USE_IN_LIBIO]: Define lock variable and store
5862         pointer in FILE structure before calling _IO_init.
5863         * stdlib/Makefile: Add -D_IO_MTSAFE_IO to CFLAGS for strfmon and
5864         strfmon_l if necessary.
5865         Reported by Jury Gerold <gjury@grips.com>.
5867         * sysdeps/gnu/netinet/tcp.h: Correct values of TCP_ macros.
5868         Patch by Pekka.Pietikainen@cern.ch.
5870         * posix/regex.c: Correct several problems with 64-bit architectures
5871         introduced in the MBS changes.
5872         Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
5874 2001-02-07  Jakub Jelinek  <jakub@redhat.com>
5876         * math/tgmath.h: Only add l suffixes if __NO_LONG_DOUBLE_MATH is
5877         not defined.
5878         * sysdeps/alpha/fpu/bits/mathinline.h: Honour __NO_MATH_INLINES.
5880 2001-02-07  Andreas Jaeger  <aj@suse.de>
5882         * manual/install.texi (Tools for Compilation): Fix typo.
5883         Reported by Pavel Machek <pavel@bug.ucw.cz>.
5885 2001-02-07  Ulrich Drepper  <drepper@redhat.com>
5887         * stdlib/strtod.c: Never stop prematurely reading digits before the
5888         decimal point is found.  Compute exponent limit for negative exponents
5889         correctly.  For numbers ending in all zeros eat the zeros even before
5890         the decimal point if the exponent is negative [PR libc/2072].
5891         * stdlib/Makefile (tests): Add bug-strtod.
5892         * stdlib/bug-strtod.c: New file.
5894 2001-02-07  Andreas Jaeger  <aj@suse.de>
5896         * posix/bug-regex1.c: Include <wchar.h> for fwide.
5898 2001-02-06  Ulrich Drepper  <drepper@redhat.com>
5900         * posix/regex.c (regex_compile): Don't store pointer in wchar_t array.
5901         Store index.
5902         (compile_range): Handle index being passed, not pointer.
5903         Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
5905         * posix/regex.c: Fix a cast in the code for bracket handling which
5906         caused 8-bit uncleanliness.
5907         Patch by Michal Jaegermann <michal@ellpspace.math.ualberta.ca>.
5909         * posix/Makefile (tests): Add bug-regex1.
5910         * posix/bug-regex1.c: New file.
5911         Contributed by Jim Meyering <jim@meyering.net>.
5913         * posix/regex.c: Many cleanups for incorrect format strings.
5915 2001-02-06  Andreas Jaeger  <aj@suse.de>
5917         * time/time.h (CLK_TCK): Check for !__STRICT_ANSI.
5919 2001-02-06  Ulrich Drepper  <drepper@redhat.com>
5921         * locale/programs/locale.c (write_locales): Use scandir to read
5922         directory so that the entries are sorted.
5924 2001-02-06  Andreas Jaeger  <aj@suse.de>
5926         * include/pthread.h: New file.
5928         * wctype/wctype.h: Move internal interfaces from here to...
5929         * include/wctype.h: ...here.
5931         * wcsmbs/wchar.h: Move __wcslen from here to...
5932         * include/wchar.h: ...here.
5934         * posix/sys/wait.h: Move __wait from here to...
5935         * include/sys/wait.h: ...here.
5937         * string/string.h: Move __ffs and __strerror_r from here to...
5938         * include/string.h: ...here.
5940         * stdlib/stdlib.h: Move __on_exit from here to...
5941         * include/stdlib.h: ...here.
5943         * libio/stdio.h: Move __vsnprintf from here to...
5944         * include/stdio.h: ...here.
5946 2001-02-06  Andreas Schwab  <schwab@suse.de>
5948         * sysdeps/unix/sysv/linux/ia64/ioperm.c: Don't include kernel
5949         headers.
5951         * timezone/Makefile: Don't assume that $(inst_zonedir) is a subdir
5952         of $(inst_datadir).
5954 2001-02-06  Ulrich Drepper  <drepper@redhat.com>
5956         * iconvdata/Makefile: Add dependency for bug-iconv2.out.
5958 2001-02-06  Andreas Jaeger  <aj@suse.de>
5960         * elf/firstobj.c: Add prototype.
5962         * posix/regex.c (convert_mbs_to_wcs): Make static, add prototype
5963         (truncate_wchar): Likewise.
5965 2001-02-06  Ulrich Drepper  <drepper@redhat.com>
5967         * locale/programs/locale.c: Implement --verbose option for -a
5968         which prints detailed information about the locales.
5970 2001-02-05  Ulrich Drepper  <drepper@redhat.com>
5972         * sunrpc/xdr_rec.c (set_input_fragment): Change type of header
5973         variable to uint32_t.
5974         Reported by Ulrich Weigand <weigand@immd1.informatik.uni-erlangen.de>.
5976 2001-02-04  Bruno Haible  <haible@clisp.cons.org>
5978         * locale/C-translit.h.in: Add transliterations for CJK units of
5979         measurement.
5981 2001-02-05  Ulrich Drepper  <drepper@redhat.com>
5983         * elf/cache.c (print_entry): Use PRIx64 instead of Lx in printf
5984         string.  Include <inttypes.h> instead of <stdint.h>.
5986         * localedata/Makefile (tests): Add bug-iconv-trans.
5987         Define bug-iconv-trans-ENV.
5988         * localedata/bug-iconv-trans.c: New file.
5990 2001-02-04  Bruno Haible  <haible@clisp.cons.org>
5992         * iconv/gconv_trans.c (__gconv_transliterate): Use a temporary output
5993         pointer, to avoid accumulating output from incomplete (unsuccessful)
5994         transliteration attempts.
5996 2001-02-05  Ulrich Drepper  <drepper@redhat.com>
5998         * elf/ldconfig.c (search_dir): Use PRIx64 instead of Lx in printf
5999         string.  Include <inttypes.h> instead of <stdint.h>.
6001         * configure.in: Add check for bison.
6002         * config.make.in: Define BISON variable.
6003         * intl/Makefile: Use BISON instead of YACC when generating plural.c.
6004         Rename YFLAGS to BISONFLAGS.
6006 2001-02-05  Andreas Jaeger  <aj@suse.de>
6008         * io/test-lfs.c (do_test): Test lseek64 return value, call
6009         test_ftello.
6010         (test_ftello): New function to test ftello64 and fseeko64.
6012         * signal/signal.h: Move __sigaction from here to...
6013         * include/signal.h: ...here.
6015         * io/fcntl.h: Move __fcntl and __open to...
6016         * include/fcntl.h: ...here.
6018 2001-02-04  Philip Blundell  <philb@gnu.org>
6020         * configure.in: Distinguish ARM from Thumb.
6022 2001-02-04  Philip Blundell  <philb@gnu.org>
6024         * sysdeps/arm/dl-machine.h (elf_machine_rel): Correct handling of
6025         PC24 relocs with negative value.
6027 2001-02-04  Ulrich Drepper  <drepper@redhat.com>
6029         * iconv/Makefile (iconv_prog-modules): Define.  Add vpath to find
6030         files in locale/programs.  Add CFLAGS definition to allow compiling
6031         localedef files.
6032         * iconv/dummy-repertoire.c: New file.
6033         * iconv/iconv_charmap.c: New file.
6034         * iconv/iconv_prog.h: New file.
6035         * iconv/iconv_prog.c: Make verbose and omit_invalid global.
6036         (main): If parameter for -f and -t contain slashes try first to resolve
6037         the strings as filenames of charmap files.  Use them for conversion
6038         in this case.
6039         * iconvdata/run-iconv-test.sh: If charmaps exist also run tests with
6040         iconv getting charmap names as parameters.
6041         * locale/programs/linereader.c (lr_token): Take extra parameters
6042         verbose and pass it to get_string.
6043         (get_string): Take extra parameters verbose.
6044         * locale/programs/charmap.c (parse_charmap): Take extra parameters
6045         verbose and be_quiet.  Change all callers of lr_token and
6046         parse_charmap.
6047         * locale/programs/charmap.h: Likewise.
6048         * locale/programs/ld-address.c: Likewise.
6049         * locale/programs/ld-collate.c: Likewise.
6050         * locale/programs/ld-ctype.c: Likewise.
6051         * locale/programs/ld-identification.c: Likewise.
6052         * locale/programs/ld-measurement.c: Likewise.
6053         * locale/programs/ld-messages.c: Likewise.
6054         * locale/programs/ld-monetary.c: Likewise.
6055         * locale/programs/ld-name.c: Likewise.
6056         * locale/programs/ld-numeric.c: Likewise.
6057         * locale/programs/ld-paper.c: Likewise.
6058         * locale/programs/ld-telephone.c: Likewise.
6059         * locale/programs/ld-time.c: Likewise.
6060         * locale/programs/linereader.c: Likewise.
6061         * locale/programs/linereader.h: Likewise.
6062         * locale/programs/localedef.c: Likewise.
6063         * locale/programs/locfile.c: Likewise.
6064         * locale/programs/locfile.h: Likewise.
6065         * locale/programs/repertoire.c: Likewise.
6067 2001-02-03  Ulrich Drepper  <drepper@redhat.com>
6069         * iconv/iconv_prog.c (main): If output file name is "-" write to
6070         stdout.
6071         (main): If -f or -t argument is missing use charset of the current
6072         locale.
6074 2001-02-03  Andreas Jaeger  <aj@suse.de>
6076         * sysdeps/i386/elf/start.S (_start): Align stack to 16-byte
6077         boundary for SSE/SSE-2 alignment.
6079         * posix/Makefile ($(objpfx)annexc.out): Also pass sysincludes to
6080         annexc.
6082 2001-02-03  Ulrich Drepper  <drepper@redhat.com>
6084         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: File was using crlf.
6085         Remove comma at end of enum.
6087         * elf/dl-init.c: Add a few __builtin_expect.
6089         * hesiod/hesiod.c: Remove unnecessary code.  Remove all uses of strcat.
6091 2001-02-02  Ulrich Drepper  <drepper@redhat.com>
6093         * hesiod/hesiod.c (hesiod_resolve): Also search HS records if
6094         errno is ECONNREFUSED.
6096         * posix/Makefile: Define MBS_SUPPORT for regex.c.
6097         * posix/regex.c: Implement multibyte character handling.
6098         Patch by Isamu Hasegawa <isamu@yamato.ibm.co.jp>.
6100         * string/tst-svc.input: Add two more test cases.
6101         * string/tst-svc.expect: Modify to reflect new test cases.
6103 2001-02-01  Jakub Jelinek  <jakub@redhat.com>
6105         * sysdeps/posix/getaddrinfo.c (gaih_local, gaih_inet): Replace all
6106         tp->name tests with tp->name[0] tests.
6108 2001-01-29  Ben Collins  <bcollins@debian.org>
6110         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r):
6111         Fix check for name == NULL.
6113 2001-02-01  Ulrich Drepper  <drepper@redhat.com>
6115         * elf/Makefile: Add rules to build and run initfirst test.
6116         * elf/initfirst.c: New file.
6117         * elf/firstobj.c: New file.
6119         * Makerules (build-shlib): Add $(extra-B-$(@F:lib%.so=%).so).
6120         * configure.in: Test for -z initfirst linker option.
6121         * config.make.in: Add have-z-initfirst.
6122         * elf/dl-init.c (_dl_init): Split out actual initialization code in
6123         new function call_init.  If _dl_initfirst is non-NULL initialize first.
6124         * elf/dl-load.c (_dl_map_from_fd): If DF_1_INITFIRST flag is set
6125         remember object in _dl_initfirst.
6126         * elf/soinit.c: Remove special support for calling
6127         __pthread_initialize_minimal.
6129         * conform/conformtest.pl: Add missing $prepend in type test.
6131 2001-01-31  Ulrich Drepper  <drepper@redhat.com>
6133         * elf/elf.h (SHT_CHECKSUM): New definition.
6135         * posix/fnmatch_loop.c: Remove incorrect reverse condition in
6136         [. .] matching.  Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
6137         * posix/tst-fnmatch.input: Add tests for [. .] in locales.
6139 2001-01-31  Mark Kettenis  <kettenis@gnu.org>
6141         * misc/sys/select.h: Include <bits/time.h> instead of <sys/time.h>
6142         to get definition of `struct timeval'.
6144 2001-01-31  Ulrich Drepper  <drepper@redhat.com>
6146         * posix/tst-fnmatch.input: Add test cases for de_DE.UTF-8 locale.
6147         * posix/fnmatch_loop.c: Fix handling of [= =] for multibyte charsets.
6149 2001-01-30  Ulrich Drepper  <drepper@redhat.com>
6151         * iconv/gconv_open.c (__gconv_open): Set conv_flags if IGNORE is
6152         seen, not flags.
6154         * nis/nis_findserv.c: Include <time.h>.
6156 2001-01-30  Yong Li  <yong.li@asu.edu>
6158         * iconv/iconv_prog.c (main): Correct error handling method name.
6160 2001-01-29  Ben Collins  <bcollins@debian.org>
6162         * sysdeps/sparc/fpu/fraiseexcpt.c: Include <float.h>.
6163         * sysdeps/hppa/fpu/fraiseexcpt.c: Likewise.
6164         * sysdeps/m68k/fpu/fraiseexcpt.c: Likewise.
6165         * sysdeps/s390/fpu/fraiseexcpt.c: Likewise.
6167 2001-01-30  Ulrich Drepper  <drepper@redhat.com>
6169         * locale/programs/ld-measurement.c (measurement_finish): Fix a typo.
6170         Patch by Marko Myllynen <myllynen@lut.fi>.
6172         * string/bits/string2.h (__strpbrk_c2): Correct parameter types
6173         (int instead of char).
6174         (__strpbrk_c3): Likewise.
6175         Reported by GOTO Masanori <gotom@debian.or.jp>.
6177         * sysdeps/generic/bits/sockaddr.h: Remove SA_LEN macro.
6178         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Likewise.
6179         * include/sys/socket.h: Add SA_LEN here for internal use.
6180         Reported by Arkadiusz Miskiewicz <misiek@pld.ORG.PL>.
6182 2001-01-29  Ulrich Drepper  <drepper@redhat.com>
6184         * malloc/Makefile: Don't build memusagestat if cross-compiling.
6186         * sysdeps/generic/dl-sysdep.c (set_seen): Fix typo.
6188         * math/libm-test.inc (rint_test): Add a few more tests for round
6189         to even rounding.
6191 2001-01-28  Ulrich Drepper  <drepper@redhat.com>
6193         * conform/data/pthread.h-data: Correct return type of pthread_exit.
6195         * conform/conformtest.pl: Add -fno-builtin to CFLAGS.
6197         * conform/data/stdlib.h-data: Add _Exit.
6199         * inet/arpa/inet.h: Don't include <sys/types.h>.  Define socklen_t
6200         if not already happened.
6201         * inet/netinet/in.h: Don't include <sys/types.h>, use <bits/types.h>.
6202         Don't include <limits.h> and <bits/sockaddr.h>.
6204         * conform/data/netinet/in.h-data: Allow all of <inttypes.h>.
6206         * conform/data/spawn.h-data: Allow all of <sched.h>.
6208         * sysdeps/ia64/fpu/fraiseexcpt.c: Include <float.h>.  Removed
6209         unused variable.
6211         * sunrpc/xdr_rec.c (xdrrec_getpos): Add cast to long to avoid warning.
6212         * sunrpc/xdr_sizeof.c (x_inline): Likewise.
6214         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Include <float.h>.
6216         * conform/conformtest.pl: Define $mustprepend{"stdio.h"}.
6217         * libio/stdio.h: Define va_list correctly.
6219         * conform/data/pthread.h-data: Make priority protocol related
6220         functions optional.  Fix typos.
6222         * posix/sched.h: Define sched_priority as __sched_priority.
6223         * sysdeps/generic/bits/sched.h (struct sched_param): Rename element
6224         to __sched_priority.
6225         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
6227 2001-01-27  Ulrich Drepper  <drepper@redhat.com>
6229         * sysdeps/generic/clock_getcpuclockid.c: Include <time.h> instead
6230         of <sys/time.h>.
6232         * sysdeps/unix/stime.c: Include <stddef.h> for NULL.
6233         * sysdeps/unix/time.c: Likewise.
6235         * conform/data/time.h-data: CLK_TCK is not in XPG6.  Fix tzname entry.
6236         * sysdeps/mach/hurd/bits/time.h: Don't define CLK_TCK for XPG6.
6237         * sysdeps/mach/hurd/i386/bits/time.h: Likewise.
6238         * sysdeps/unix/sysv/linux/bits/time.h: Likewise.
6239         * sysdeps/unix/sysv/linux/alpha/bits/time.h: Likewise.
6240         * sysdeps/unix/sysv/linux/i386/bits/time.h: Likewise.
6241         * sysdeps/unix/sysv/linux/ia64/bits/time.h: Likewise.
6242         * time/time.h: Likewise.
6244         * conform/conformtest.pl (@headers): Add complex.h and tgmath.h.
6245         * conform/data/complex.h-data: New file.
6246         * conform/data/tgmath.h-data: New file.
6248         * conform/data/wchar.h-data: Add missing functions.
6250         * sysdeps/gnu/bits/utmpx.h: Define RUN_LVL only if __USE_GNU.
6252         * conform/data/termios.h-data: Add missing const in tcsetattr()
6253         prototype.
6255         * posix/sys/wait.h: Include <signal.h> and <sys/resource.h>.
6256         Don't define pid_t here.
6258         * conform/data/sys/utsname.h-data: Don't provide fixed array sizes.
6260         * conform/data/sys/time.h-data: Allow sys/select.h.
6261         * conform/data/sys/un.h-data: Fix typo.
6262         * time/sys/time.h: Don't include all of <time.h>, just struct timeval.
6263         * sysdeps/posix/clock_getres.c: Include <time.h> instead of
6264         <sys/time.h>.
6265         * sysdeps/unix/clock_nanosleep.c: Likewise.
6266         * sysdeps/unix/i386/clock_getcpuclockid.c: Likewise.
6267         * sysdeps/unix/i386/i586/clock_getres.c: Likewise.
6268         * sysdeps/unix/clock_gettime.c: Also include <time.h>.
6269         * sysdeps/unix/clock_settime.c: Likewise.
6271         * sysdeps/generic/pselect.c: Include <stddef.h> for NULL.
6272         * login/getutent.c: Likewise.
6273         * login/getutid.c: Likewise.
6274         * login/getutline.c: Likewise.
6276         * socket/sys/un.h: Define SUN_LEN only if __USE_MISC.
6278         * sysdeps/unix/sysv/linux/bits/statvfs.h: Change type of f_fsid field
6279         to unsigned long.  Add __f_unused.  Define _STATVFSBUF_F_UNUSED.
6280         * sysdeps/unix/sysv/linux/internal_statvfs.c: Adjust initialization of
6281         f_fsid field after change in struct statvfs.
6282         * sysdeps/unix/sysv/linux/alpha/bits/statvfs.h: New file.
6283         * sysdeps/unix/sysv/linux/ia64/bits/statvfs.h: New file.
6284         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/statvfs.h: New file.
6286         * conform/data/sys/stat.h-data: Remove isfdtype.  Use
6287         optional-macro.
6289         * conform/data/sys/socket.h-data: Fix typos.  Correct getsockopt,
6290         recvfrom, send, and socketpair prototypes.  Add allow lines.
6291         * socket/sys/socket.h: Include <sys/uio.h>.
6292         Don't use fancy __SOCKADDR_ARG definition unless __USE_GNU.
6293         Fix type of second parameter of listen.
6294         Don't declare isfdtype unless __USE_MISC.
6295         * sysdeps/generic/listen.c: Fix type of second parameter of listen.
6296         * sysdeps/mach/hurd/listen.c: Likewise.
6297         * sysdeps/generic/bits/socket.h (struct sockaddr_storage): Define
6298         ss_family and __ss_family.
6299         * sysdeps/unix/sysv/aix/bits/socket.h: Likewise.
6300         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
6301         (struct msghdr): Change type of msg_iovlen to int and type of
6302         msg_controllen to socklen_t.
6303         * sysdeps/unix/sysv/linux/alpha/bits/socket.h: New file.
6304         * sysdeps/unix/sysv/linux/ia64/bits/socket.h: New file.
6305         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/socket.h: New file.
6306         * inet/rcmd.c (rcmd_af): __ss_family is now ss_family.
6307         (rresvport_af): Likewise.
6309         * conform/data/sys/shm.h-data: SHMLBA is not required to by a constant.
6310         * conform/conformtest.pl: Implement handling of symbol.
6312         * signal/signal.h: Fix handling of __need_* symbols.
6313         * misc/sys/select.c: Define fd_set here.  Remove __fd_set.  Define
6314         fd_mask only if __USE_MISC.  Declare pselect for __USE_XOPEN2K.
6315         * include/sys/select.h: Use fd_set not __fd_set.
6316         * sysdeps/generic/bits/select.h: Likewise.
6317         * sysdeps/i386/bits/select.h: Likewise.
6318         * sysdeps/generic/bits/types.h: Don't define __fd_mask, __NFDBITS,
6319         __FDELT, __FDMASK, and __fd_set here.
6320         * sysdeps/unix/sysv/aix/bits/types.h: Likewise.
6321         * sysdeps/unix/sysv/hpux/bits/types.h: Likewise.
6322         * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
6323         * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
6324         * sysdeps/unix/sysv/linux/ia64/bits/types.h: Likewise.
6325         * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
6326         * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
6327         * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
6328         * time/sys/time.h: Define struct timeval before including <time.h>
6329         and <sys/select.h>.
6331         * conform/data/sys/time.h-data: fd_set is a typedef.
6332         * conform/data/sys/select.h-data: New file.
6333         * conform/data/sys/mman.h-data: Make typed mem stuff optional.
6334         * conform/conformtest.pl (@headers): Add sys/select.h.
6335         (type, optional-type): Unless testing a typedef instantiate object.
6336         Implement optional-function.
6338         * math/test-misc.c: Include <float.h>.
6340 2001-01-27  Andreas Jaeger  <aj@suse.de>
6342         * misc/efgcvt_r.c: Include <float.h>.
6344 2001-01-26  Ulrich Drepper  <drepper@redhat.com>
6346         * conform/data/stdlib.h-data: Account for XPG6 changes.
6347         * stdlib/stdlib.h (__random): Change return value type to long.
6348         (posix_memalign): Cleanup parameter names.
6349         (setenv, unsetenv): Make available for __USE_XOPEN2K.
6350         Change return type of unsetenv to int.
6351         (qecvt, qgcvt, qfcvt): Declare only if __USE_MISC.
6352         * include/stdlib.h: Change return type of unsetenv to int.
6353         Change return type of random to long int.
6354         * sysdeps/generic/setenv.c (unsetenv): Change return type to int.
6355         Return -1 and set errno if parameter is invalid.
6356         * stdlib/random.c (__random): Change return value type to long.
6358         * conform/data/stdio.h-data: Account for changes in XPG6.
6360         * conform/data/spawn.h-data: Correct posix_spawnattr_setflags
6361         prototype.
6363         * conform/conformtest.pl: Define $mustprepend{"signal.h"}.
6364         * conform/data/signal.h-data: Fix sigev_notify_function entry.
6365         Fix typo (SIGVALRM -> SIGVTALRM).
6366         * sysdeps/unix/sysv/linux/bits/siginfo.h: Define sigev_notify_attr
6367         with real type.
6368         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Likewise.
6369         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
6370         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Likewise.
6371         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
6372         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/siginfo.h: Likewise.
6374         * conform/conformtest.pl: Implement optional-element.  Define
6375         $mustprepend{"sched.h"}.
6376         * conform/data/sched.h-data: Make sporadic scheduler definitions
6377         optional.
6379         * pwd/pwd.h: Don't define getpwent_r for XPG.
6381         * io/sys/poll.h: Define nfds_t and use it in poll prototype.
6382         * sysdeps/generic/poll.c: Use nfds_t type in function definition.
6383         * sysdeps/mach/hurd/poll.c: Likewise.
6384         * sysdeps/unix/bsd/poll.c: Likewise.
6385         * sysdeps/unix/sysv/linux/poll.c: Likewise.
6386         * sysdeps/unix/sysv/aix/poll.c: Likewise.
6387         * sysdeps/generic/bits/poll.h: Define NPOLLFILE only if __USE_MISC.
6388         * sysdeps/unix/sysv/linux/bits/poll.h: Likewise.
6389         * sysdeps/unix/sysv/linux/m68k/bits/poll.h: Likewise.
6390         * sysdeps/unix/sysv/linux/mips/bits/poll.h: Likewise.
6391         * sysdeps/unix/sysv/linux/sparc/bits/poll.h: Likewise.
6392         * conform/data/poll.h-data: Fix typo in poll prototype.
6394         * sysdeps/gnu/netinet/tcp.h: Define everything but TCP_ macros
6395         only if __USE_MISC.
6396         * conform/data/netinet/tcp.h-data: Reserved prefix TCP_.
6398         * sysdeps/gnu/net/if.h: Cleanup namespace.  Define IF_NAMESIZE.
6400         * inet/netinet/in.h: Make IPPROTO_ constants also macros.
6402         * conform/conformtest.pl: Implement optional-type.
6404         * resolv/netdb.h: Include <netinet/in.h> not <sys/socket.h>.  Include
6405         <rpc/netdb.h> only if __USE_MISC.  Include <stdint.h> instead of
6406         defining uint32_t here.  Define IPPORT_RESERVED.
6407         (struct hostent): Type of h_length element is int.
6408         (getnameinfo): Type of flags parameter is unsigned int.
6409         * inet/getnameinfo.c (getnameinfo): flags argument is unsigned.
6410         * conform/data/netdb.h-data: Add many missing definitions.
6412         * conform/conformtest.pl: Implement optional-macro.
6413         * conform/data/math.h-data: Update for XPG6.
6415         * math/math.h (HUGE): Define as FLT_MAX value but don't use
6416         FLT_MAX.  Don't include <float.h>.
6417         (MAXFLOAT): Likewise.
6419         * math/math.h: Define MATH_ERRNO and MATH_ERREXCEPT.
6421         * include/bits/xopen_lim.h: Don't define FOPEN_MAX here.
6423         * conform/data/limits.h-data: Mark constants as optional wherever
6424         appropriate.
6426         * posix/bits/posix2_lim.h: Set correct values for
6427         _POSIX2_COLL_WEIGHTS_MAX and _POSIX2_CHARCLASS_NAME_MAX.  Remove
6428         EQUIV_CLASS_MAX.
6430         * posix/bits/posix1_lim.h: Define _POSIX_TZNAME_MAX as 6.
6431         Required by POSIX.
6433         * intl/loadmsgcat.c: Include <locale.h.> for _LIBC.
6435         * conform/data/netinet/in.h-data: Add reserved prefixes.
6437         * conform/data/arpa/inet.h-data: Fix a few typos.
6439 2001-01-26  Andreas Jaeger  <aj@suse.de>
6441         * sysdeps/generic/strtol.c: Include <locale.h>
6442         * stdlib/strtod.c: Likewise
6443         * stdlib/strfmon.c: Likewise.
6444         * string/strcoll.c: Likewise.
6445         * string/strxfrm.c: Likewise.
6446         * wctype/wcfuncs_l.c: Likewise.
6447         * wctype/wctype_l.c: Likewise.
6448         * wctype/wctrans_l.c: Likewise.
6450         * include/bits/locale.h: New file.
6452 2001-01-26  Ulrich Drepper  <drepper@redhat.com>
6454         * locale/langinfo.h: Correct logic in #ifs when defining YESSTR
6455         and NOSTR.
6457         * locale/Makefile (headers): Add bits/locale.h.
6458         * locale/langinfo.h: Don't include <locale.h>.  Include <bits/locale.h>
6459         and use __LC_ constants instead of LC_.
6460         * locale/locale.h: Include <bits/locale.h> and define LC_ constants
6461         using __LC_ constants.
6462         * locale/bits/locale.h: New file.
6463         * locale/loadlocale.c: Include <locale.h>.
6464         * locale/nl_langinfo.h: Likewise.
6466         * posix/glob.h: Cleanup namespace for non-_GNU_SOURCE case.
6468         * io/sys/stat.h: Define S_IFSOCK for XPG6.
6470         * conform/data/fcntl.h-data: posix_madvise is not expected here.
6472         * conform/conformtest.pl: Fix handling of macro-str.
6474         * conform/data/inttypes.h-data: Add missing definition and all of
6475         stdint.h-data.
6477         * sysdeps/unix/sysv/linux/sys/param.h (MAXSYMLINKS): Bump to 20.
6479 2001-01-25  Ulrich Drepper  <drepper@redhat.com>
6481         * conform/conformtest.pl (@headers): Add stdint.h.
6482         * conform/data/stdint.h-data: New file.
6484         * conform/conformtest.pl: Recognize options --headers and
6485         --dialect.  Add dialect-specific CFLAGS.
6487         * conform/conformtest.pl: Implement handling of recursive
6488         allow-header.
6490         * conform/data/locale.h-data: Add new struct lconv members.
6492         * posix/wordexp.h: Correct definition of wordexp_t.
6493         * posix/wordexp.c: Moved to ...
6494         * sysdeps/generic/wordexp.c: ...here.  New file.
6495         * sysdeps/unix/sysv/linux/alpha/wordexp.c: New file.
6496         * sysdeps/unix/sysv/linux/ia64/wordexp.c: New file.
6497         * sysdeps/unix/sysv/linux/sparc/sparc64/wordexp.c: New file.
6498         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.2.2): Add
6499         wordexp.
6500         * sysdeps/unix/sysv/linux/ia64/Versions: Likewise.
6501         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions: Likewise.
6503         * math/tgmath.h: Pretty printing.
6505         * math/Makefile (tests): Add test-tgmath.
6506         (CFLAGS-test-tgmath.c): New variable.
6507         * math/test-tgmath.c: New file.  Contributed by Jakub Jelinek.
6509         * conform/conformtest.pl: Handle allow-header in secondary headers
6510         correctly.
6512         * conform/data/fcntl.h-data: Mark symbols introduced in XPG6 with
6513         #ifdef.
6515         * conform/data/netinet/in.h-data: Use correct comment character.
6516         * conform/data/sys/stat.h-data: Likewise.
6518 2001-01-25  Jakub Jelinek  <jakub@redhat.com>
6520         * math/tgmath.h (__TGMATH_BINARY_FIRST_REAL_ONLY,
6521         __TGMATH_BINARY_REAL_ONLY, __TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY,
6522         __TGMATH_TERNARY_REAL_ONLY): Use proper arguments to
6523         __builtin_classify_type, add ##f suffixes where appropriate.
6524         (__TGMATH_UNARY_REAL_IMAG): Remove extraneous left parenthesis.
6525         (__TGMATH_BINARY_REAL_IMAG): Likewise, use proper arguments to
6526         __builtin_classify_type.
6527         (fma): Fix spelling of first argument.
6529 2001-01-25  Ulrich Drepper  <drepper@redhat.com>
6531         * conform/data/unistd.h-data: Mark functions removed in XPG6
6532         correctly.
6534         * posix/unistd.h: Don't make functions removed in XPG6 available if
6535         __USE_XOPEN2K.
6537         * conform/conformtest.pl: Implement optional-constant.
6538         * conform/data/unistd.h-data: Use optional-constant wherever
6539         appropriate.
6541         * sysdeps/generic/bits/confname.h: Correct names of _SC_PBS
6542         constants and add _SC_STREAMS.
6543         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
6545         * sysdeps/unix/sysv/linux/statvfs64.c: Rename to __statvfs64 and
6546         make old name weak alias.
6547         * sysdeps/generic/statvfs64.c: Likewise.
6548         * sysdeps/unix/sysv/linux/fstatvfs64.c: Rename to __fstatvfs64 and
6549         make old name weak alias.
6550         * sysdeps/generic/fstatvfs64.c: Likewise.
6551         * include/sys/statvfs.h: New file.
6553         * sysdeps/generic/bits/confname.h: Define _PC_REC_INCR_XFER_SIZE,
6554         _PC_REC_MAX_XFER_SIZE, _PC_REC_MIN_XFER_SIZE, and
6555         _PC_REC_XFER_ALIGN.
6556         * sysdeps/posix/pathconf.c (__pathconf): Implement handling of
6557         _PC_REC_INCR_XFER_SIZE, _PC_REC_MAX_XFER_SIZE,
6558         _PC_REC_MIN_XFER_SIZE, and _PC_REC_XFER_ALIGN.
6559         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
6561         * conform/conformtest.pl: Run Unix tests for XPG6.
6562         Implement handling of known namespace violations.
6563         Improve printing of results.
6565         * posix/unistd.h (usleep): Correct return type.
6566         * sysdeps/unix/sysv/linux/usleep.c: Correct return type.
6567         * sysdeps/unix/bsd/usleep.c: Correct return type.
6568         * sysdeps/mach/usleep.c: Correct return type.
6569         * sysdeps/generic/usleep.c: Correct return type.
6571         * posix/unistd.h (sync): Correct return type.
6572         * sysdeps/generic/sync.c: Likewise.
6573         * sysdeps/mach/hurd/sync.c: Likewise.
6575         * sysdeps/generic/bits/confname.h (_SC_IOV_MAX): New definition.
6577         * posix/unistd.h: Make seteuid and setegid available for XPG6.
6579         * wcsmbs/wchar.h: Get FILE definition for XPG5.
6581         * conform/data/ctype.h-data: Use correct comment form.
6582         * conform/data/errno.h-data: Likewise.
6583         * conform/data/math.h-data: Likewise.
6584         * conform/data/mqueue.h-data: Likewise.
6585         * conform/data/netdb.h-data: Likewise.
6586         * conform/data/pthread.h-data: Likewise.
6588 2001-01-24  Ulrich Drepper  <drepper@redhat.com>
6590         * conform/data/wordexp.h-data: Fix typo.
6592         * conform/conformtest.pl: Handle allow-header correctly.
6594         * conform/data/time.h-data: Use correct comment form.
6596         * conform/conformtest.pl (checknamespace): Ignore #undef lines.
6598         * configure.in: Comment out binutils version test.
6600         * stdlib/strtod.c (str_to_mpn): Correct parsing of thousands
6601         separators.
6602         Reported by Lagardere Jean-Francois <LAGARDEREJ@thmulti.com>.
6604         * stdlib/tst-strtod.c (locale_test): New function.
6605         (main): Call locale_test.
6606         * stdlib/Makefile (tst-strtod-ENV): New variable.
6608 2001-01-24  Mark Kettenis  <kettenis@gnu.org>
6610         * hurd/hurdsig.c (_hurdsig_getenv): Remove spurious innermost
6611         declaration of value such that we actually return the value of the
6612         environment variable.
6614 2001-01-24  Andreas Jaeger  <aj@suse.de>
6616         * sysdeps/unix/sysv/linux/init-first.c: Remove extra __sysctl
6617         prototype.
6618         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
6620         * include/sys/sysctl.h: New file.
6622 2001-01-23  Andreas Jaeger  <aj@suse.de>
6624         * stdlib/Makefile ($(objpfx)isomac.out): Also pass sysincludes to
6625         isomac.
6627         * elf/dl-load.c (_dl_init_paths): Don't use strdupa in function
6628         arguments.  Reported by Jiri Kubicek <kubicek@bitsmart.com>,
6629         closes PR libc/2039.
6631         * manual/install.texi (Tools for Compilation): Change required
6632         binutils version.
6634 2001-01-22  Andreas Jaeger  <aj@suse.de>
6636         * configure.in: Add test for new enough binutils version, move
6637         compiler/binutils test up.
6639         * Versions.def: Add version GLIBC_2.2.2.
6641 2001-01-21  Ulrich Drepper  <drepper@redhat.com>
6643         * iconvdata/TESTS: UTF-8 test data for IBM932 and IBM943 are now
6644         available.
6645         * iconvdata/testdata/IBM932: New file.
6646         * iconvdata/testdata/IBM932..UTF8: New file.
6647         * iconvdata/testdata/IBM943: New file.
6648         * iconvdata/testdata/IBM943..UTF8: New file.
6649         Contributed by Masahide Washizawa <washi@jp.ibm.com>.
6651 2001-01-21  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
6653         * sysdeps/unix/sysv/linux/powerpc/mmap64.c: Correctly mask offset.
6655 2001-01-21  Ulrich Drepper  <drepper@redhat.com>
6657         * malloc/malloc.c: Remove a few unnecessary initializers of global
6658         variables.
6660 2000-12-09  H.J. Lu  <hjl@gnu.org>
6662         * nss/Makefile (routines): Add digits_dots.
6663         * nss/Versions (libc): Add __nss_hostname_digits_dots to GLIBC_2.2.2.
6664         * nss/digits_dots.c (__nss_hostname_digits_dots): Turn template
6665         into a function.
6666         * nss/nsswitch.h (__nss_hostname_digits_dots): New internal NSS
6667         function.
6668         * nss/getXXbyYY.c (H_ERRNO_VAR_P): New definition.
6669         (TYPE_VAR_P): Likewise.
6670         (FLAGS_VAR): Likewise.
6671         (AF_VAR_P): Likewise.
6672         (INTERNAL (REENTRANT_NAME)): Call __nss_hostname_digits_dots ()
6673         instead of including digits_dots.c.
6674         * nss/getXXbyYY_r.c (H_ERRNO_VAR_P): New definition.
6675         (TYPE_VAR_P): Likewise.
6676         (FLAGS_VAR): Likewise.
6677         (AF_VAR_P): Likewise.
6678         (INTERNAL (REENTRANT_NAME)): Call __nss_hostname_digits_dots ()
6679         instead of including digits_dots.c.
6681 2001-01-21  Ulrich Drepper  <drepper@redhat.com>
6683         * sysdeps/posix/getaddrinfo.c: Reduce .data size.
6685 2001-01-21  Andreas Jaeger  <aj@suse.de>
6687         * elf/constload2.c: Add prototype for init.
6689 2001-01-21  Ulrich Drepper  <drepper@redhat.com>
6691         * stdlib/stdlib.h (drand48_data): Make available only for
6692         __USE_MISC.  Rename elements to protect namespace.  Change type
6693         and position of a and init element.
6694         * stdlib/drand48-iter.c: Don't handle unsigned short > 16 bit
6695         differently.  Adjust for drand48_data change.  Don't compute a here,
6696         it comes from drand48_data.
6697         * stdlib/lcong48_r.c: Don't handle unsigned short > 16 bit
6698         differently.  Adjust for drand48_data change.  Compute a here.
6699         * stdlib/srand48_r.c: Likewise.
6700         * stdlib/drand48.c: Adjust for drand48_data change.
6701         * stdlib/lrand48.c: Likewise.
6702         * stdlib/mrand48.c: Likewise.
6703         * stdlib/seek48.c: Likewise.
6704         * stdlib/drand48_r.c: Likewise.
6705         * stdlib/lrand48_r.c: Likewise.
6706         * stdlib/mrand48_r.c: Likewise.
6707         * stdlib/seed48_r.c: Likewise.  Don't handle unsigned short > 16 bit
6708         differently.
6709         * stdlib/erand48_r.c: Don't handle unsigned short > 16 bit differently.
6710         * stdlib/jrand48_r.c: Likewise.
6712         * po/sv.po: Update from translation team.
6714 2001-01-21  Andreas Jaeger  <aj@suse.de>
6716         * stdio-common/vfprintf.c (vfprintf): Add casts.
6718 2001-01-20  Ulrich Drepper  <drepper@redhat.com>
6720         * iconvdata/run-iconv-test.sh: Reorgnize a bit to allow running only
6721         the ASCII test.
6722         * iconvdata/TESTS: Add entries for IBM932 and IBM943.
6724         * iconvdata/Makefile (modules): Add IBM932 and IBM943.
6725         * iconvdata/gconv-modules: Add entries for IBM932 and IBM943.
6726         * iconvdata/ibm932.c: New file.
6727         * iconvdata/ibm932.h: New file.
6728         * iconvdata/ibm943.c: New file.
6729         * iconvdata/ibm943.h: New file.
6730         Patches by Masahide Washizawa <washi@jp.ibm.com>.
6732         * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Fix typo
6733         preventing optimization from being done.  Set the correct type bit
6734         in seen.  Don't define and use _dl_base_addr unless
6735         NEED_DL_BASE_ADDR is defined.
6737         * io/ftw.c (ftw_dir): Add slash after directory name if there
6738         wasn't any.  Reported by loris <loris@iol.it>.
6739         * io/Makefile (tests): Add bug-ftw2.
6740         * io/bug-ftw2.c: New file.
6742 2001-01-19  Ulrich Drepper  <drepper@redhat.com>
6744         * stdlib/jrand48_r.c (__jrand48_r): Correct constructing of
6745         results.  Reported by Jeff Higham <jhigham@algorithmics.com>.
6746         * stdlib/tst-rand48.c: New file.
6747         * stdlib/Makefile (tests): Add tst-rand48.
6749         * locale/newlocale.c (__newlocale): Fix test for setting all
6750         categories.
6752 2001-01-19  Mark Kettenis  <kettenis@gnu.org>
6754         * sysdeps/mach/hurd/chroot.c (chroot): Revert 1999-02-27 changes,
6755         but change looking up the initial directory port in a similar way
6756         as done by _hurd_change_directory_port_from_name.
6757         * hurd/fchroot.c (fchroot): Likewise.
6759 2001-01-18  Ulrich Drepper  <drepper@redhat.com>
6761         * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): If HAVE_AUX_XID is
6762         defined don't look whether the AT_*ID values were set.
6763         If HAVE_AUX_PAGESIZE is defined don't look whether the pagesize is set.
6764         (_dl_show_auxv): Rewrite to avoid switch statement.
6765         * sysdeps/unix/sysv/linux/kernel-features.h: Define
6766         __ASSUME_AT_PAGESIZE for kernel >= 2.4.1.
6767         * sysdeps/unix/sysv/linux/ldsodefs.h: Define HAVE_AUX_XID.
6768         Define HAVE_AUX_PAGESIZE if __ASSUME_AT_PAGESIZE is defined.
6770         * sysdeps/unix/sysv/linux/fxstat64.c: Add one __builtin_expect.
6771         * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
6772         * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
6774         * elf/rtld.c (process_envvars): Call __strtoul_internal instead of
6775         strtoul.
6776         * elf/dl-minimal.c (strtol, __strtol_internal, strtoul): Removed.
6777         (__sigjmp_save): Set __mask_was_saved to zero since we don't save
6778         anything.
6779         * dlfcn/eval.c (__strtol_internal): Define here.
6780         (eval): Use __strtol_internal instead of strtol.
6782         * elf/elf.h: Add a few more EF_MIPS_* constants.
6784 2001-01-17  Ulrich Drepper  <drepper@redhat.com>
6786         * manual/Makefile (chapters): Add debug.
6787         * manual/debug.texi: New file.
6788         * manual/examples/execinfo.c: New file.
6789         Patch by suckfish@ihug.co.nz.
6791 2001-01-17  Andreas Schwab  <schwab@suse.de>
6793         * sysdeps/m68k/bits/byteswap.h (__bswap_32): Add cast to avoid
6794         invalid asm.
6796 2001-01-17  Andreas Jaeger  <aj@suse.de>
6798         * nscd/connections.c (nscd_run): Use proper format specifier.
6800 2001-01-16  Ulrich Drepper  <drepper@redhat.com>
6802         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Move x86_cap_flags and
6803         x86_platforms data into new file after prepending _dl_.  Change
6804         users.
6805         * sysdeps/unix/sysv/linux/i386/dl-procinfo.c: New file.
6806         * sysdeps/unix/sysv/linux/i386/Dist: Add dl-procinfo.c.
6807         * sysdeps/unix/sysv/linux/i386/Makefile: Add rules to build
6808         dl-procinfo.c.
6810         * setjmp/setjmp.h: Cleanup definition of setjmp macro.
6812         * sysdeps/i386/elf/bsd-setjmp.S: Real implementation.
6813         * sysdeps/i386/elf/bsd-_setjmp.S: Removed.
6814         * sysdeps/i386/elf/setjmp.S (setjmp): Removed here.
6815         (_setjmp): Likewise.
6816         * sysdeps/i386/bsd-_setjmp.S: Real implementation.
6817         * sysdeps/i386/bsd-setjmp.S: Real implementation.
6818         * sysdeps/i386/bits/setjmp.h: Remove PUSH_SIGNAL_MASK definition.
6819         * sysdeps/i386/setjmp.S: Remove PIC support.  This is the non-ELF
6820         version.
6822 2001-01-16  Andreas Jaeger  <aj@suse.de>
6824         * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h (SIGCONTEXT): Fix
6825         misapplied last patch.
6827 2001-01-15  Ulrich Drepper  <drepper@redhat.com>
6829         * stdlib/random.c (__initstate): Clean up a cast.
6830         (__setstate): Likewise.
6832         * sysdeps/unix/sysv/linux/mips/syscalls.list: Remove select
6833         syscall handling.  The generic Linux version should work.
6835 2001-01-15  Andreas Jaeger  <aj@suse.de>
6837         * sysdeps/unix/sysv/linux/sys/sendfile.h: Fix typo.
6839         * stdio-common/tstscanf.c (main): Add two testcases for '*' modifier.
6841 2001-01-14  Jakub Jelinek  <jakub@redhat.com>
6843         * nss/getent.c (print_aliases, aliases_keys, ethers_keys,
6844         netgroup_keys, print_rpc, rpc_keys, print_shadow, shadow_keys):
6845         New functions.
6846         (group_keys, hosts_keys, network_keys, passwd_keys, protocols_keys):
6847         If number is 0, list all.
6848         (services_keys): Likewise.  Lookup aliases as well.
6849         (databases): New table.
6850         (build_doc): Prepare argp doc text with list of supported databases.
6851         (main): Change to table driven processing.
6853 2001-01-14  Thorsten Kukuk <kukuk@suse.de>
6855         * sunrpc/xdr.c (xdr_long, xdr_u_long): Fix comments about these
6856         functions.
6858 2001-01-03  Jakub Jelinek  <jakub@redhat.com>
6860         * sunrpc/xdr.c (xdr_long, xdr_u_long): Return FALSE if trying to
6861         encode value which does not fit in the 32bit type.
6863 2001-01-15  Hiroyuki Machida <machida@sm.sony.co.jp>
6865         * sysdeps/unix/sysv/linux/mips/register-dump.h (REGISTER_DUMP):
6866         Change type of CTX to (struct sigcontext *).
6867         * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h (GET_PC): Likewise.
6868         (GET_FRAME): Likewise.
6869         (GET_STACK): Likewise.
6870         (SIGCONTEXT): Likewise.  Add 2nd arg _code.
6871         (SIGCONTEXT_EXTRA_ARGS): Add 2nd arg _code.
6873 2001-01-13  Ulrich Drepper  <drepper@redhat.com>
6875         * manual/texinfo.tex: Update from upstream version.
6877 2001-01-13  Jakub Jelinek  <jakub@redhat.com>
6879         * inet/ether_ntoh.c (lookup_function): Change arguments to match
6880         _nss_*_getntohost_r prototype.
6881         (ether_ntohost): Pass errno pointer to NSS function.
6883 2001-01-12  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
6885         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MS_SYNC): Fix value.
6886         (MAP_LOCKED): New definition.
6887         (MAP_NORESERVE): New definition.
6889 2001-01-12  Ulrich Drepper  <drepper@redhat.com>
6891         * assert/assert.h: Use static_cast instead of C-style cast for C++.
6892         Patch by Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>.
6894 2001-01-12  Ben Collins  <bcollins@debian.org>
6896         * sysdeps/generic/segfault.c (install_handler): Use access, not
6897         __access.
6899 2001-01-12  Andreas Jaeger  <aj@suse.de>
6901         * posix/fnmatch_loop.c (FCT): Remove signed warnings.
6902         * posix/wordexp.c (do_parse_glob): Likewise.
6903         * sysdeps/posix/sigblock.c (__sigblock): Likewise.
6904         * sysdeps/posix/sigsetmask.c (__sigsetmask): Likewise.
6905         * elf/dl-open.c (_dl_open): Likewise.
6906         * elf/dl-close.c (_dl_close): Likewise.
6907         * elf/dl-load.c (_dl_map_object): Likewise.
6908         * iconv/iconv_prog.c (process_fd): Likewise.
6909         * stdio-common/vfscanf.c (_IO_vfscanf): Likewise.
6911         * locale/localeinfo.h (struct locale_data): Use __flexarr instead
6912         of a zero-length array.
6914 2001-01-11  Jakub Jelinek  <jakub@redhat.com>
6916         * stdlib/cxa_atexit.c (__cxa_atexit): Cast to (void *, int) func.
6917         * stdlib/cxa_finalize.c (__cxa_finalize): Add hidden second argument.
6918         * stdlib/cxa_on_exit.c: Remove.
6919         * stdlib/Makefile: Revert last patch.
6920         * stdlib/Versions: Likewise.
6921         * include/stdlib.h: Likewise.
6922         * stdlib/exit.h: Revert last patch.
6923         (struct exit_function): Add second argument to cxa fn.
6924         * stdlib/exit.c: Revert last patch.
6925         (exit): Add hidden second argument.
6927 2001-01-11  H.J. Lu  <hjl@gnu.org>
6929         * elf/dl-libc.c (do_dlopen): Move DL_STATIC_INIT to ...
6930         * elf/dl-open.c (_dl_open): Here.
6931         * sysdeps/unix/sysv/linux/ia64/dl-static.c (_dl_static_lock):
6932         Make it static.
6933         (_dl_static_init): Initialize the variables every time when possible.
6934         * sysdeps/unix/sysv/linux/ia64/ldsodefs.h (DL_STATIC_INIT):
6935         Undefine it first.
6937 2001-01-11  Ulrich Drepper  <drepper@redhat.com>
6939         * stdlib/Makefile (routines): Add cxa_on_exit.
6940         * stdlib/Versions [libc] (GLIBC_2.2.1): Add __cxa_on_exit.
6941         * stdlib/cxa_on_exit.c: New file.
6942         * include/stdlib.h: Add prototype for __cxa_on_exit.
6943         * stdlib/exit.c: Handle ef_cxa2.
6944         * stdlib/exit.h (enum): Add ef_cxa2.
6945         (struct exit_function): Add cxa2.
6947         * Versions.def [ld]: Add GLIBC_2.2.1.
6949 2001-01-10  H.J. Lu  <hjl@gnu.org>
6951         * elf/dl-libc.c (do_dlopen): Call DL_STATIC_INIT for static binaries.
6952         * sysdeps/unix/sysv/linux/ia64/Makefile (sysdep-dl-routines): Add
6953         dl-static.
6954         * sysdeps/unix/sysv/linux/ia64/Versions (ld): Add _dl_var_init.
6955         * sysdeps/generic/ldsodefs.h (DL_STATIC_INIT): Defined if not defined.
6956         * sysdeps/unix/sysv/linux/ia64/ldsodefs.h: New file.
6957         * sysdeps/unix/sysv/linux/ia64/dl-static.c: New file.
6958         * sysdeps/unix/sysv/linux/ia64/Dist: Add dl-static.c.
6960 2001-01-11  Ulrich Drepper  <drepper@redhat.com>
6962         * libio/stdio.h: Remove definition of off_t.
6964 2001-01-11  Andreas Jaeger  <aj@suse.de>
6966         * wcsmbs/tst-mbrtowc.c (utf8_test): New function by Markus Kuhn
6967         <mkuhn@acm.org>.
6969 2001-01-10  Ulrich Drepper  <drepper@redhat.com>
6971         * sunrpc/Makefile (distribute): Add errqueue.h.
6973 2001-01-10  H.J. Lu  <hjl@gnu.org>
6975         * sysdeps/ia64/dl-machine.h (TRAMPOLINE_TEMPLATE): Also preserve
6976         r9, r10 and r11 for language specific registers.
6978 2001-01-10  Jakub Jelinek  <jakub@redhat.com>
6980         * sunrpc/clnt_udp.c (clntudp_bufcreate): Set IP_RECVERR on the
6981         UDP socket.
6982         (clntudp_call): Handle MSG_ERRQUEUE.
6983         * sysdeps/generic/errqueue.h: New file.
6984         * sysdeps/unix/sysv/linux/errqueue.h: New file.
6986 2001-01-10  H.J. Lu  <hjl@gnu.org>
6988         * sysdeps/unix/sysv/linux/ia64/syscalls.list (s_getpagesize): Removed.
6990 2001-01-10  Joseph S. Myers  <jsm28@cam.ac.uk>
6992         * CONFORMANCE: Update.
6994 2001-01-09  Ulrich Drepper  <drepper@redhat.com>
6996         * sysdeps/generic/elf/backtracesyms.c (__backtrace_symbols):
6997         Minimal cleanups.  Add assert to ensure memory handling is correct.
6999         * manual/conf.texi (File Minimums): Fix _POSIX_PATH_MAX value.
7000         Reported by Ben Collins <bcollins@debian.org>.
7002         * time/strftime.c (my_strftime): Mark previous GNU extensions
7003         which are now in C99 as such.
7005 2001-01-08  Ulrich Drepper  <drepper@redhat.com>
7007         * elf/rtld.c (process_envvars): Place output files for profiling
7008         in SUID binaries in /var/profile.
7010         * elf/dl-load.c (_dl_map_object): Don't look in cache for
7011         preloading in SUID binaries.
7013         * elf/dl-profile.c (_dl_start_profile): Open the output file with
7014         O_NOFOLLOW if possible.
7016         * include/stdlib.h: Add __posix_openpt declaration.
7017         * stdlib/stdlib.h: Add posix_openpt declaration.
7018         * login/Versions: Add posix_openpt for GLIBC_2.2.1.
7019         * sysdeps/generic/getpt.c: Define posix_openpt.
7020         * sysdeps/unix/bsd/getpt.c: Likewise.
7021         * sysdeps/unix/sysv/linux/getpt.c: Likewise.
7023         * time/Makefile (tests): Add tst-mktime.
7024         * time/tst-mktime.c: New file.
7026         * posix/tst-dir.c (main): One more mkdir() test.
7028         * sysdeps/unix/sysv/linux/ia64/getpagesize.c (__getpagesize):
7029         Remove getpagesize syscall.  We assume that the pagesize is always
7030         determined from the auxiliary vector.
7032         * intl/dcigettext.c: Fix a few warnings.
7033         Patch by Bruno Haible <haible@ilog.fr>.
7035 2001-01-08  Andreas Jaeger  <aj@suse.de>
7037         * io/test-lfs.c (do_test): Check lseek64 return for EINVAL.
7038         Reported by Joseph S. Myers <jsm28@cam.ac.uk>.
7040 2001-01-08  Ulrich Drepper  <drepper@redhat.com>
7042         * sysdeps/generic/segfault.c (install_handler): Check output file
7043         name with access().
7045         * resolv/res_query.c: Use simply getenv() for HOSTALIASES.
7046         * sysdeps/generic/unsecvars.h (UNSECURE_ENVVARS): Add HOSTALIASES.
7048         * sysdeps/generic/unsecvars.h (UNSECURE_ENVVARS): Add missing comma.
7050         * malloc/memusage.c (me): Use access() to determine whether we
7051         should write the output file or not.
7053         * libio/bits/stdio.h (printf): Define macro to map printf call to
7054         fprintf which gcc can optimize.
7055         * stdio-common/printf.c: Undefine printf.
7057 2001-01-07  Ulrich Drepper  <drepper@redhat.com>
7059         * sysdeps/generic/bits/byteswap.h (__bswap_64): Partly revert last
7060         patch.  We must use unsigned int for l member of union.
7062         * sysdeps/powerpc/elf/libc-start.c (__libc_start_main): Don't call
7063         _dl_aux_init for shared libraries.
7065         * sysdeps/unix/sysv/linux/glob64.c: Moved to ...
7066         * sysdeps/gnu/glob64.c: ...here.  New file.
7068 2001-01-07  Ben Collins  <bcollins@debian.org>
7070         * manual/examples/longopt.c: Make the "struct option" a little
7071         more like it should be, adding usage of required_argument,
7072         noargument and such, and also setting the options string right.
7074         * manual/sysinfo.texi (Load Average): New section, documents
7075         getloadavg().
7077 2001-01-06  Ulrich Drepper  <drepper@redhat.com>
7079         * version.h (VERSION): Bump to 2.2.1.
7081         * sysdeps/unix/sysv/linux/mips/Dist: Remove sys/acct.h.
7082         * sysdeps/alpha/Dist: Add alphaev6/stxncpy.S and alphaev6/stxcpy.S.
7083         * sysdeps/unix/sysv/aix/Dist: Add uitrunc.c, savef.S, and restf.S.
7084         * dlfcn/Makefile (distribute): Add errmsg1mod.c.
7085         * Makefile (distribute): Add include/libc-internal.h.
7086         * libio/Makefile (distribute): Avoid overwriting.
7088         * iconvdata/ibm937.c (BODY to IBM937): Correct several mistakes in
7089         buffer and table handling.
7091 2001-01-05  H.J. Lu  <hjl@gnu.org>
7093         * elf/dl-support.c (non_dynamic_init): Move the auxiliary
7094         vector checking to ...
7095         (_dl_aux_init): Here.  New function.  Defined only if
7096         HAVE_AUX_VECTOR is defined.
7098         * sysdeps/generic/libc-start.c (__libc_start_main): Call
7099         _dl_aux_init for static binaries if HAVE_AUX_VECTOR is defined.
7101         * sysdeps/powerpc/elf/libc-start.c (__libc_start_main): Call
7102         _dl_aux_init.
7104         * sysdeps/unix/sysv/linux/ldsodefs.h (DL_FIND_AUXV): Removed.
7105         (HAVE_AUX_VECTOR): Defined.
7106         (_dl_aux_init): Declared.
7108 2001-01-05  Ben Collins  <bcollins@debian.org>
7110         * manual/string.texi (Finding Tokens in a String): Document XPG
7111         basename() and dirname(), as well as GNU basename().
7113 2001-01-05  Jakub Jelinek  <jakub@redhat.com>
7115         * Makeconfig (preprocess-version): Replace -traditional with
7116         -x assembler-with-cpp.
7118 2001-01-05  Joseph S. Myers  <jsm28@cam.ac.uk>
7120         * math/bits/cmathcalls.h: Don't define inline cimag, creal or conj
7121         for GCC 2.97 or later.
7123 2001-01-05  Ben Collins  <bcollins@debian.org>
7125         * manual/stdio.texi (getline): Clarify the return value in the
7126         case of EOF being reached before a newline.
7128 2001-01-04  Jakub Jelinek  <jakub@redhat.com>
7130         * sunrpc/pmap_clnt.c (__get_myaddress): Return TRUE if successful,
7131         FALSE otherwise.
7132         (pmap_set, pmap_unset): Check __get_myaddress return value.
7134 2001-01-05  Mark Kettenis  <kettenis@gnu.org>
7136         * sysdeps/generic/netinet/if_ether.h: Include <sys/types.h>.
7137         (struct ether_addr): Declare ether_addr_octet member as
7138         `u_int8_t'.  Add __attribute__ ((__packed__)).
7140 2001-01-06  Mark Kettenis  <kettenis@gnu.org>
7142         * sysdeps/mach/hurd/readdir64.c: New file.
7143         * sysdeps/mach/hurd/readdir64_r.c: New file.
7145 2001-01-07  Mark Kettenis  <kettenis@gnu.org>
7147         * sysdeps/mach/hurd/fstatvfs.c (fstatvfs): Add comment about
7148         `struct statfs' and `struct statvfs' being identical.
7149         * sysdeps/mach/hurd/statvfs.c (statvfs): Likewise.
7151 2001-01-06  Mark Kettenis  <kettenis@gnu.org>
7153         * sysdeps/mach/hurd/fstatfs64.c: New file.
7154         * sysdeps/mach/hurd/fstatvfs64.c: New file.
7155         * sysdeps/mach/hurd/statfs64.c: New file.
7156         * sysdeps/mach/hurd/statvfs64.c: New file.
7157         * sysdeps/mach/hurd/statfsconv.c: New file.
7158         * sysdeps/mach/hurd/Dist: Add statfsconv.c.
7160 2001-01-06  Ulrich Drepper  <drepper@redhat.com>
7162         * iconv/skeleton.c: Reset outbuf for next round of the loop.
7163         Reported by Owen Taylor <otaylor@redhat.com>.
7164         * iconv/Makefile (tests): Add tst-iconv3.
7165         * iconv/tst-iconv3.c: New file.
7167         * iconvdata/ibm930.c: Fix handling of state.  Optimize a bit.
7168         * iconvdata/ibm933.c: Likewise.
7169         * iconvdata/ibm935.c: Likewise.
7170         * iconvdata/ibm937.c: Likewise.
7171         * iconvdata/ibm939.c: Likewise.
7172         * iconvdata/ibm930.h: Adjust single byte table for optimization.
7173         * iconvdata/ibm933.h: Likewise.
7174         * iconvdata/ibm935.h: Likewise.
7175         * iconvdata/ibm939.h: Likewise.
7177         * iconvdata/testdata/IBM930: Add misssing SI.
7178         * iconvdata/testdata/IBM933: Likewise.
7179         * iconvdata/testdata/IBM935: Likewise.
7180         * iconvdata/testdata/IBM937: Likewise.
7181         * iconvdata/testdata/IBM939: Likewise.
7183 2001-01-06  Andreas Jaeger  <aj@suse.de>
7185         * configure.in: Check for old add-ons that shouldn't be used with
7186         current glibc anymore.
7188 2001-01-06  Mark Kettenis  <kettenis@gnu.org>
7190         * sysdeps/mach/hurd/readdir_r.c (__readdir_r): Return error number
7191         instead of -1 on failure.  Don't forget to copy file name into
7192         *ENTRY if successful.  Set *RESULT to NULL upon reaching the end
7193         of the directory.
7195 2001-01-06  Mark Kettenis  <kettenis@gnu.org>
7197         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Don't forget to
7198         copy st_atime member.
7200 2001-01-05  Ulrich Drepper  <drepper@redhat.com>
7202         * io/ftw.c (ftw_dir): Don't add a second slash at the beginning
7203         for searches from the root directory.
7204         Reported by loris <loris@iol.it> [PR libc/1991].
7205         * io/Makefile (tests): Add bug-ftw1.
7206         * io/bug-ftw1.c: New file.
7208         * elf/dl-support.c (non_dynamic_init): Don't define DL_FIND_AUXV
7209         if it is not available.  Instead use it only if it is available.
7210         * sysdeps/unix/sysv/linux/ldsodefs.h: New file.
7212         * iconv/gconv_simple.c (internal_ics4_loop): Correct test for
7213         overflowing output buffer.
7214         (internal_ucs4_loop_unaligned): Likewise.
7215         (ucs4_internal_loop): Likewise.
7216         (ucs4_internal_loop_unaligned): Likewise.
7217         (internal_ucs4le_loop): Likewise.
7218         (internal_ucs4le_loop_unaligned): Likewise.
7219         (ucs4le_internal_loop): Likewise.
7220         (ucs4le_internal_loop_unaligned): Likewise.
7221         Reported by Owen Taylor <otaylor@redhat.com>.
7222         * iconv/Makefile (tests): Add tst-iconv2.
7223         * iconv/tst-iconv2.c: New file.
7225 2001-01-04  H.J. Lu  <hjl@gnu.org>
7227         * elf/dl-support.c (DL_FIND_AUXV): New.  Defined if not defined.
7228         (_dl_clktck): Declared.
7229         (non_dynamic_init): Take 3 arguments.
7230         Set _dl_pagesize, _dl_platform and _dl_clktck from AUX.
7232 2001-01-01  Bruno Haible  <haible@clisp.cons.org>
7234         Finish implementation of plural form handling.
7235         * intl/dcigettext.c (known_translation_t): Rename 'domain' field to
7236         'domainname'.  Remove 'plindex' field.  Add 'domain' and
7237         'translation_length' fields.
7238         (transcmp): Don't compare 'plindex' fields.
7239         (plural_lookup): New function.
7240         (DCIGETTEXT): Change cache handing in the plural case.  Don't call
7241         plural_eval before the translation and its catalog file have been
7242         found.  Remove plindex from cache key.  Add 'translation_length' and
7243         'domain' to cache result.
7244         (_nl_find_msg): Remove index argument, return length of translation
7245         to the caller instead.  Weaken comparison of string lengths, to account
7246         for plural entries.  Call iconv() on the entire result string, not
7247         only on the portion needed so far.
7248         * intl/loadinfo.h (_nl_find_msg): Remove index argument, add lengthp
7249         argument.
7250         * intl/loadmsgcat.c (_nl_load_domain): Adapt to _nl_find_msg change.
7252 2001-01-04  Ulrich Drepper  <drepper@redhat.com>
7254         * intl/plural.y (yylex): Minimal improvement in number scanner.
7256 2000-07-31  Bruno Haible  <haible@clisp.cons.org>
7258         * intl/plural.y: Include config.h.  Needed to define 'inline' away for
7259         C compilers that don't support it.
7260         (yylex): Don't use gcc specific case range syntax.
7261         * intl/loadmsgcat.c (INIT_GERMANIC_PLURAL): New macro, for old
7262         compilers.
7264 2000-10-12  Bruno Haible  <haible@clisp.cons.org>
7266         * intl/finddomain.c: Remove unneeded includes.
7268 2000-10-12  Bruno Haible  <haible@clisp.cons.org>
7270         * intl/localealias.c (memcpy): Return first argument, just like the
7271         real memcpy function does.
7272         * intl/bindtextdom.c (memcpy): Likewise.
7273         * intl/finddomain.c (memcpy): Likewise.
7274         * intl/l10nflist.c (memcpy): Likewise.
7275         * intl/textdomain.c (memcpy): Likewise.
7276         From Paul Eggert <eggert@twinsun.com>.
7278 2001-01-03  Jakub Jelinek  <jakub@redhat.com>
7280         * resolv/resolv.h (struct __res_state): Add nsinit field.
7281         * resolv/res_send.c (res_nsend): Use it instead of nscount.
7282         * resolv/res_init.c (__res_vinit): Initialize it.
7283         (res_nclose): Clear it instead of nscount.
7285 2001-01-04  Ulrich Drepper  <drepper@redhat.com>
7287         * malloc/mtrace.pl: Fix matching of addresses.
7288         Patch by Aharon Robbins <arnold@skeeve.com>.
7290         * Versions.def (ld): Add GLIBC_2.2.
7292         * catgets/gencat.c: Copyright 2001.
7293         * csu/version.c: Likewise.
7294         * debug/catchsegv.sh: Likewise.
7295         * debug/xtrace.sh: Likewise.
7296         * elf/ldconfig.c: Likewise.
7297         * elf/sprof.c: Likewise.
7298         * iconv/iconv_prog.c: Likewise.
7299         * locale/locale.c: Likewise.
7300         * locale/localedef.c: Likewise.
7301         * malloc/memusage.sh: Likewise.
7302         * malloc/mtrace.pl: Likewise.
7303         * nscd/nscd.c: Likewise.
7304         * posix/getconf.c: Likewise.
7306 2001-01-04  Mark Kettenis  <kettenis@gnu.org>
7308         * include/stdio.h: Only provide __getwc_unlocked prototype if
7309         USE_IN_LIBIO is defined.
7311 2001-01-04  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
7313         * sysdeps/unix/sysv/linux/sh/socket.S (__socket): Fix error code
7314         handling.
7316 2001-01-03  Andreas Schwab  <schwab@suse.de>
7318         * sysdeps/generic/strtoll.c: Remove unused __strtoq_internal alias.
7319         * sysdeps/generic/strtoull.c: Remove unused __strtouq_internal alias.
7321         * sysdeps/wordsize-64/strtol.c: Add strtoq alias and fix strtoll alias.
7322         * sysdeps/wordsize-64/strtoul.c: Add strtouq alias and fix
7323         strtoull alias.
7324         * sysdeps/wordsize-64/wcstol.c: Add wcstoq alias and fix wcstoll alias.
7325         * sysdeps/wordsize-64/wcstoul.c: Add wcstouq alias and fix
7326         wcstoull alias.
7328         * sysdeps/generic/strtoul.c: Make sure we find strtol.c in this
7329         directory.
7330         * sysdeps/generic/strtol_l.c: Likewise.
7331         * sysdeps/generic/strtoul_l.c: Likewise.
7332         * sysdeps/generic/wcstoul.c: Likewise, for wcstol.c.
7334         * sysdeps/wordsize-64/strtol_l.c: Fix alias.
7335         * sysdeps/wordsize-64/strtoul_l.c: Likewise.
7336         * sysdeps/wordsize-64/wcstol_l.c: Fix alias.
7337         * sysdeps/wordsize-64/wcstoul_l.c: Likewise.
7339 2001-01-04  Andreas Jaeger  <aj@suse.de>
7341         * nss/nsswitch.c: Include files for missing prototypes, remove
7342         buggy declaration of prototypes.
7344 2001-01-03  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
7346         * resolv/Versions: Fix bracing.
7347         * sysdeps/powerpc/soft-fp/Versions: Likewise.
7348         * sysdeps/sparc/sparc64/soft-fp/Versions: Likewise.
7350 2001-01-02  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
7352         * sysdeps/powerpc/dl-machine.c (__process_machine_rela): Fix typo.
7354 2001-01-02  Ulrich Drepper  <drepper@redhat.com>
7356         * manual/Makefile (TEXI2PDF): Change to texi2dvi --pdf.
7357         Suggested by Minko Markov <mmarkov@home.com>.
7359 2001-01-02  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
7361         * sysdeps/powerpc/elf/start.S (__data_start): Make it global.
7362         * sysdeps/powerpc/dl-machine.c (dl_reloc_overflow): Print the name of
7363         the failing symbol.
7364         (__process_machine_rela): Pass symbol to dl_reloc_overflow().
7366 2001-01-02  Ben Collins  <bcollins@debian.org>
7368         * time/tzset.c (tzset_internal): Make sure we fall back to UTC
7369         if TZ is not set and TZDEFAULT is not present.
7371 2001-01-01  Ben Collins  <bcollins@debian.org>
7373         * string/strings.h: Make sure we declare our functions even if
7374         string.h is already included, based on whether or not __USE_BSD is
7375         defined.
7377 2001-01-02  Ulrich Drepper  <drepper@redhat.com>
7379         * dlfcn/dlerror.c (dlerror): Handle call of dlerror() before any
7380         other dlopen() and dlsym().
7381         Based on a patch by Ben Collins <bcollins@debian.org>.
7383 2001-01-02  Andreas Jaeger  <aj@suse.de>
7385         * dlfcn/errmsg1.c (main): Call dlerror initially.
7386         Reported by Ben Collins <bcollins@debian.org>.
7388 2001-01-02  Ulrich Drepper  <drepper@redhat.com>
7390         * intl/dcigettext.c (guess_category_value): Rewrite so that LANGUAGE
7391         value is ignored if the selected locale is the C locale.
7392         * intl/tst-gettext.c: Set locale for above change.
7393         * intl/tst-translit.c: Likewise.
7395 2001-01-02  Andreas Jaeger  <aj@suse.de>
7397         * libio/wgenops.c (_IO_wdoallocbuf): Use correct wide access macro.
7398         (_IO_switch_to_wget_mode): Likewise.
7399         (_IO_sputbackwc): Likewise.
7400         (_IO_sungetwc): Use wint_t for result.
7402         * stdio-common/vfscanf.c (__vfscanf): Use WINT_T for done.
7404         * sysdeps/generic/strtol.c (strtol): Make cnt size_t for correct
7405         signedness.
7407         * sysdeps/generic/printf_fphex.c (putc): Cast _IO_putwc_unlocked
7408         to (int) to avoid warnings.
7409         * stdio-common/printf_fp.c (putc): Likewise.
7410         * stdio-common/printf_size.c (putc): Likewise.
7412         * sysdeps/generic/dl-sysdep.c (_dl_important_hwcaps): Make
7413         constant unsigned.
7415 2001-01-01  Andreas Jaeger  <aj@suse.de>
7417         * inet/rcmd.c (rcmd_af): Use socklen_t for len.
7419 2000-12-31  Andreas Jaeger  <aj@suse.de>
7421         * include/libc-internal.h: Add prototype for __libc_freeres.
7423         * sysdeps/unix/sysv/linux/init-first.c: Include <libc-internals.h>
7424         for prototypes, remove redundant prototypes.
7425         * gmon/gmon.c: Likewise.
7426         * sysdeps/unix/i386/i586/clock_getres.c: Likewise.
7427         * sysdeps/unix/i386/i586/clock_gettime.c: Likewise.
7428         * malloc/mtrace.c: Likewise.
7430         * sysdeps/generic/enbl-secure.c: Include <libc-internals.h> for
7431         prototypes.
7432         * elf/soinit.c: Likewise.
7433         * sysdeps/generic/prof-freq.c: Likewise.
7434         * sysdeps/mach/hurd/profil.c: Likewise.
7435         * debug/noophooks.c: Likewise.
7436         * debug/pcprofile.c: Likewise.
7437         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Likewise.
7438         * sysdeps/generic/get_clockfreq.c: Likewise.
7439         * malloc/set-freeres.c: Likewise.
7441         * locale/localeinfo.h: Add internal prototypes.
7443         * elf/rtld.c (dl_main): Fix prototype.
7445         * iconvdata/tst-table-to.c (main): Use return instead of exit to
7446         avoid warning.
7448         * nis/rpcsvc/yp_prot.h: Remove __P.
7449         * nis/rpcsvc/ypupd.h: Likewise.
7450         * nis/rpcsvc/yp.h: Likewise.
7452         * sunrpc/rpc_main.c: Add noreturn attributes.
7453         * sunrpc/rpc_scan.h: Likewise.
7455         * sunrpc/rpc_hout.c (storexdrfuncdecl): Make static.
7457         * sunrpc/rpcinfo.c: Add noreturn attribute to brdcst.
7459         * sunrpc/proto.h: Add noreturn attributes to error and crash.
7461         * posix/bsd-getpgrp.c: Add prototype to avoid warning.
7463         * sunrpc/svc_unix.c: Include <rpc/svc.h> for prototypes.
7465         * sunrpc/create_xid.c: Include <rpc/svc.h> for prototypes.
7467         * include/rpc/rpc_msg.h: Add prototypes for some functions.
7468         * include/rpc/auth.h: Likewise.
7469         * include/rpc/auth_des.h: Likewise.
7470         * include/rpc/clnt.h: Likewise.
7471         * include/rpc/rpc.h: Likewise.
7472         * include/rpc/svc.h: Likewise.
7473         * include/rpc/svc_auth.h: Likewise.
7475         * include/rpc/des_crypt.h: New file.
7477         * malloc/memusagestat.c (main): Use return instead of exit to
7478         avoid warning.
7479         * io/pwd.c (main): Likewise.
7480         * iconvdata/tst-table-from.c (main): Likewise.
7481         * ctype/test_ctype.c (main): Likewise.
7482         * setjmp/tst-setjmp.c (main): Likewise.
7483         * signal/tst-signal.c (main): Likewise.
7484         * stdlib/tst-strtol.c (main): Likewise.
7485         * stdlib/tst-strtod.c (main): Likewise.
7486         * stdlib/tst-strtoll.c (main): Likewise.
7487         * stdlib/tst-xpg-basename.c (main): Likewise.
7488         * dirent/tst-seekdir.c (main): Likewise.
7489         * grp/testgrp.c (main): Likewise.
7490         * inet/test_ifindex.c (main): Likewise.
7491         * io/test-utime.c (main): Likewise.
7492         * posix/test-vfork.c (main): Likewise.
7493         * posix/testfnm.c (main): Likewise.
7494         * stdio-common/temptest.c (main): Likewise.
7495         * stdio-common/test_rdwr.c (main): Likewise.
7496         * stdio-common/tst-fileno.c (main): Likewise.
7497         * stdio-common/tst-sscanf.c (main): Likewise.
7498         * stdio-common/tstscanf.c (main): Likewise.
7499         * string/bug-strncat1.c (main): Likewise.
7500         * string/bug-strpbrk1.c (main): Likewise.
7501         * string/bug-strspn1.c (main): Likewise.
7502         * string/test-ffs.c (main): Likewise.
7503         * string/tst-inlcall.c (main): Likewise.
7504         * string/tst-svc.c (main): Likewise.
7505         * timezone/test-tz.c (main): Likewise.
7506         * wctype/test_wcfuncs.c (main): Likewise.
7507         * wctype/test_wctype.c (main): Likewise.
7509         * stdlib/tst-random.c: Add attribute noreturn to fail.
7511 2000-12-28  Wolfram Gloger  <wg@malloc.de>
7513         * malloc/malloc.c (MALLOC_COPY): Handle case if source and
7514         destination overlap.  Assume dest is always below source if
7515         overlapping.
7517 2000-12-30  Ulrich Drepper  <drepper@redhat.com>
7519         * elf/dl-close.c (_dl_close): We can ignore the NODELETE flag if the
7520         object was not yet initialized.
7522 2000-12-28  H.J. Lu  <hjl@gnu.org>
7524         * elf/dl-deps.c (_dl_map_object_deps): Make sure the DSO state
7525         is always consistent even if its dependency is failed.
7527         * elf/dl-open.c (_dl_open): Increment the open count before
7528         calling _dl_close () in case of failure.
7530         * elf/neededtest4.c: New file.
7531         * elf/neededobj5.c: New file.
7532         * elf/neededobj6.c: New file.
7534         * elf/Makefile (distribute): Add neededobj5.c and neededobj6.c.
7535         (tests): Add neededtest4.
7536         (modules-names): Add neededobj5 and neededobj6.
7537         ($(objpfx)neededobj6.so): New target.
7538         ($(objpfx)neededtest4): New target.
7539         ($(objpfx)neededtest4.out): New target.
7541 2000-12-28  Joseph S. Myers  <jsm28@cam.ac.uk>
7543         * misc/sys/cdefs.h (__attribute_format_strfmon__): Define.
7544         * stdlib/monetary.h: Add strfmon format attributes.
7546 2000-12-28  Roland McGrath  <roland@frob.com>
7548         * sysdeps/mach/hurd/ioctl.c (do_ioctl): Avoid double-increment after
7549         __mempcpy does it for us.
7551 2000-12-28  Andreas Jaeger  <aj@suse.de>
7553         * sysdeps/generic/dl-environ.c: Add prototype for unsetenv.
7555         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Add prototype for
7556         __new_setrlimit.
7558         * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Add prototype for
7559         __old_getrlimit64.
7561         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Add prototype for
7562         __new_getrlimit.
7564         * sysdeps/unix/sysv/linux/i386/chown.c: Add prototypes for
7565         __chown_is_lchown and __real_chown.
7567         * sysdeps/generic/ldsodefs.h: Add noreturn attribute to
7568         _dl_reloc_bad_type.
7570         * sunrpc/rpc_hout.c (print_funcdef): Add break statement to shut
7571         up GCC's warning about "deprecated use of label at end of compound
7572         statement."
7573         * sunrpc/rpc_cout.c (emit_inline): Likewise.
7575         * gmon/bb_exit_func.c: Include <sys/gmon.h> for internal
7576         prototypes.
7577         Remove struct bb and __bb_head since those are declared by
7578         sys/gmon.h.
7580 2000-12-22  Ben Collins  <bcollins@debian.org>
7582         * manual/charset.texi: Fix typo in description of WCHAR_MAX.
7584         * manual/argp.texi: Document argp_domain as part of struct argp.
7586 2000-12-28  Andreas Jaeger  <aj@suse.de>
7588         * catgets/Makefile (generated): Add sample.SJIS.cat.
7590         * sunrpc/rpc_dtable.c: Include rpc/clnt.h for prototypes.
7592         * elf/dl-minimal.c: Add prototypes.
7594         * include/locale.h: Add internal prototypes.
7595         * include/sys/gmon.h: Likewise.
7597         * dlfcn/errmsg1mod.c: Add prototype for foo to shut up GCC.
7599 2000-12-27  Ben Collins  <bcollins@debian.org>
7601         * elf/dl-open.c (_dl_open): Correctly set the new objname pointer
7602         when reallocating the error strings.
7603         Reported by Kalle Olavi Niemitalo <kon@iki.fi>
7605 2000-12-27  Ulrich Drepper  <drepper@redhat.com>
7607         * dlfcn/Makefile (tests): Add errmsg1.
7608         (modules-names): Add errmsg1mod.
7609         Add rules to run errmsg1.
7610         * dlfcn/errmsg1.c: New file.
7611         * dlfcn/errmsg1mod.c: New file.
7613         * dlfcn/dlerror.c (dlerror): Always create output string which
7614         includes object file name.
7616         * sysdeps/alpha/alphaev6/memcpy.S: Don't go through unrolled loop
7617         if we would go through it only once.
7618         Patch by Rick Gorton <rick.gorton@api-networks.com>.
7620         * sysdeps/alpha/alphaev67/strncat.S: Fix handling of numeric parameter.
7621         Patch by Richard Henderson <rth@redhat.com>.
7623 2000-12-27  Jakub Jelinek  <jakub@redhat.com>
7625         * malloc/malloc.c (memmove): Add prototypes.
7626         (MALLOC_MEMMOVE): Define.
7627         (chunk_realloc): Use it instead of MALLOC_COPY if source and
7628         destination might overlap.
7630 2000-12-27  Andreas Jaeger  <aj@suse.de>
7632         * stdio-common/printf_fp.c (__printf_fp): Add prototype for nested
7633         function.
7634         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
7635         * locale/programs/locale.c (show_locale_vars): Likewise.
7636         (show_info): Likewise.
7637         * locale/programs/ld-collate.c (collate_output): Likewise.
7638         * locale/programs/ld-ctype.c (set_class_defaults): Likewise.
7639         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
7640         * stdlib/rpmatch.c (rpmatch): Likewise.
7642         * setjmp/tst-setjmp.c: Make local functions static.
7643         * setjmp/jmpbug.c: Likewise.
7644         * signal/tst-signal.c: Likewise.
7645         * stdio-common/tfformat.c: Likewise.
7646         * string/tst-svc.c: Likewise.
7647         * time/clocktest.c: Likewise.
7648         * time/tst-getdate.c: Likewise.
7649         * dirent/list.c: Likewise.
7650         * dirent/opendir-tst1.c: Likewise.
7651         * posix/runtests.c: Likewise.
7652         * posix/tst-getaddrinfo.c: Likewise.
7653         * posix/tst-chmod.c: Likewise.
7654         * posix/wordexp-test.c: Likewise.
7655         * misc/tst-efgcvt.c: Likewise.
7656         * timezone/tst-timezone.c: Likewise.
7657         * rt/tst-clock.c: Likewise.
7658         * rt/tst-shm.c: Likewise.
7659         * rt/tst-aio2.c: Likewise.
7660         * rt/tst-aio3.c: Likewise.
7661         * rt/tst-aio4.c: Likewise.
7662         * rt/tst-aio5.c: Likewise.
7664         * dlfcn/failtest.c: Add prototype for foo.
7666         * dlfcn/glrefmain.c: Add prototype for do_test.
7668         * dlfcn/tst-dladdr.c: Add prototype for do_test.
7670         * string/test-ffs.c (main): Add prototype for nested function.
7672         * sunrpc/des_soft.c: Include rpc/des_crypt.h for prototype.
7674         * nss/XXX-lookup.c: Add prototype to shut up GCC.
7676         * include/netinet/ether.h (DECLARE_NSS_PROTOTYPES): Fix
7677         setetherent prototype.
7678         Add internal interfaces.
7680         * nis/nss_nis/nis-ethers.c (_nss_nis_setetherent): Likewise.
7681         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent): Likewise.
7683         * resolv/res_data.c: Don't add (conflicting) prototypes for _LIBC.
7685         * nis/nis_intern.h: Add prototype for __pmap_getnisport.
7687         * nss/nss_files/files-ethers.c: Include netinet/ether.h to get
7688         prototypes, remove struct etherent since it's declared in ether.h.
7689         Fix ntohost declaration.
7691         * elf/dl-profile.c (_dl_mcount): Add empty statement to shut up GCC.
7693         * include/getopt.h: Add internal interfaces.
7694         * include/termios.h: Likewise.
7695         * include/resolv.h: Likewise.
7696         * include/netdb.h: Likewise.
7697         * include/grp.h: Likewise.
7698         * include/pwd.h: Likewise.
7699         * include/shadow.h: Likewise.
7700         * include/rpc/netdb.h: Likewise.
7701         * include/setjmp.h: Likewise.
7703         * include/stdio.h: Add prototypes for compatibility functions.
7704         * include/grp.h: Likewise.
7705         * include/pwd.h: Likewise.
7706         * include/shadow.h: Likewise.
7708         * include/fenv.h: Define internal interfaces.
7710 2000-12-27  Ulrich Drepper  <drepper@redhat.com>
7712         * sysdeps/generic/bits/byteswap.h (__bswap_64): Handle constant
7713         argument case separately.
7714         * sysdeps/i386/bits/byteswap.h (__bswap_64): Likewise.
7716 2000-12-27  Andreas Jaeger  <aj@suse.de>
7718         * include/sys/wait.h: Add some prototypes.
7719         * Rules (dummy.c): Create also prototype to shut up GCC.
7721 2000-12-27  Andreas Jaeger  <aj@suse.de>
7723         * sysdeps/mach/hurd/if_index.c (__protocol_available): Uncomment,
7724         it's not needed at the moment.
7725         * sysdeps/generic/if_index.c (__protocol_available): Likewise.
7726         * sysdeps/unix/sysv/linux/if_index.c (__protocol_available): Likewise.
7728 2000-12-26  Andreas Jaeger  <aj@suse.de>
7730         * libio/getc_u.c: Include stdio.h via system path to get internal
7731         prototypes.
7732         * libio/getwc_u.c: Likewise.
7734         * stdlib/strfmon.c: Fix prototype of __printf_fp.
7736         * stdio-common/vfprintf.c (process_arg): Move __printf_fphex and
7737         __printf_fp prototypes to ...
7738         * include/printf.h: ...here.
7740         * include/stdio.h: Add some internal prototypes to shut up GCC.
7741         * include/stdlib.h: Likewise.
7743         * sysdeps/posix/sigpause.c (__sigpause): Use ISO C prototype
7744         declaration.
7746         * include/signal.h: Add prototypes for internal sigpause
7747         interfaces.
7749 2000-12-26  Ulrich Drepper  <drepper@redhat.com>
7751         * sysdeps/generic/bits/byteswap.h (__bswap_64): Make it usable for
7752         64bit platforms.  Reported by Dave Gilbert <gilbertd@treblig.org>.
7754         * string/Makefile (tests): Add tst-bswap.
7755         * string/tst-bswap.c: New file.
7757 2000-12-11  Bruno Haible  <haible@clisp.cons.org>
7759         * Makefile ($(inst_includedir)/gnu/stubs.h): Sort in the C locale.
7761 2000-12-26  Ulrich Drepper  <drepper@redhat.com>
7763         * sunrpc/Makefile (rpcgen-cmd): Use single quotes in sed call.
7764         Patch by Ed Connell <Ed.Connell@sas.com>.
7766 2000-12-24  Ulrich Drepper  <drepper@redhat.com>
7768         * locale/iso-639.def: Correct one entry.  Add two missing entries.
7770         * locale/iso-4217.def: Change entry for Eritrea.
7771         Reported by Daniel Yacob <yacob@geez.org>.
7773 2000-12-23  Ben Collins  <bcollins@debian.org>
7775         * manual/charset.texi (Extended Char Intro): Fix typo in ISO 6937
7776         description.
7778         * manual/stdio.texi (Dynamic Output): Document the return value of
7779         asprintf.  Also make the asprintf/snprintf examples a little
7780         better (check for some error returns).
7782 2000-12-22  Andreas Jaeger  <aj@suse.de>
7784         * include/stdio.h: Add __ftrylockfile prototype.
7786 2000-12-21  H.J. Lu  <hjl@gnu.org>
7788         * sysdeps/ia64/fpu/math_ldbl.h (ieee_long_double_shape_type):
7789         Make sign_exponent element signed.
7791         * sysdeps/ieee754/ldbl-96/math_ldbl.h (ieee_long_double_shape_type):
7792         Fix a typo.
7794         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Remove dead branch.
7796 2000-12-21  Andreas Jaeger  <aj@suse.de>
7798         * nis/nss_nisplus/nisplus-ethers.c (struct etherent): Removed.
7799         * inet/ether_hton.c: Likewise
7800         * inet/ether_ntoh.c: Likewise.
7802         * nis/nss_nis/nis-ethers.c (_nss_nis_getntohost_r): Fix
7803         declaration to match prototype.
7805         * include/netinet/ether.h (struct etherent): Declare here so that
7806         all implementations use the same struct.
7808         * nis/nss_nis/nis-ethers.c: Include netinet/ether.h to get
7809         prototypes.
7810         (struct ether): Removed.
7811         Use struct etherent instead of ether everywhere.
7813         * include/rpc/auth.h (DECLARE_NSS_PROTOTYPES): New.
7815         * include/rpc/auth_des.h (DECLARE_NSS_PROTOTYPES): New.
7817         * sunrpc/publickey.c: Include auth_des.h for prototypes.
7819 2000-12-20  Ulrich Drepper  <drepper@redhat.com>
7821         * math/test-misc.c: Add more tests for nextafter functions.
7823         * sysdeps/i386/fpu/s_nextafterl.c: Handle change from denormal to
7824         normal correctly.  Correct test for sign.
7825         Based on a patch by HJ Lu.
7827 2000-12-19  Ulrich Drepper  <drepper@redhat.com>
7829         * Makeconfig (preprocess-version): Add -traditional to gcc call.
7830         Cleanup sed calls.
7832 2000-12-19  Andreas Jaeger  <aj@suse.de>
7834         * include/netinet/ether.h (DECLARE_NSS_PROTOTYPES): New.
7836         * nis/nis_intern.h: Add prototype for __do_niscall3.
7838         * nis/nss_nis/nis-rpc.c (_nss_nis_setrpcent): Fix declaration to
7839         match prototype.
7841         * include/netdb.h (DECLARE_NSS_PROTOTYPES): Reformat.
7843         * include/rpc/netdb.h (DECLARE_NSS_PROTOTYPES): New.
7845         * include/aliases.h (DECLARE_NSS_PROTOTYPES): New.
7847 2000-12-18  Ulrich Drepper  <drepper@redhat.com>
7849         * math/test-misc.c: Add more tests for nextafter.
7850         * sysdeps/i386/fpu/s_nextafterl.c: Handle decrement for x<0 correctly.
7851         * sysdeps/ieee754/ldbl-96/math_ldbl.h
7852         (ieee_long_double_shape_type): Make sign_exponent element signed.
7854         * manual/message.texi: Add Estonian to plural overview list.
7855         Correct rule for Slavic languages.
7856         Patch by Stanislav Brabec <utx@penguin.cz>.
7858         * nis/nss_nis/nis-netgrp.c: Remove unnecessary initializations.
7860 2000-12-18  Andreas Jaeger  <aj@suse.de>
7862         * test-skeleton.c: Use temp_name_list instead of name_list to
7863         avoid collision with name_list from inet/netgroup.h.
7865         * nss/nss_files/files-network.c (NEED_H_ERRNO): Define.
7867         * include/grp.h (DECLARE_NSS_PROTOTYPES): New.
7868         * include/pwd.h (DECLARE_NSS_PROTOTYPES): New.
7869         * include/netdb.h (DECLARE_NSS_PROTOTYPES): New.
7870         * include/shadow.h (DECLARE_NSS_PROTOTYPES): New.
7872         * hesiod/nss_hesiod/hesiod-proto.c (_nss_hesiod_setprotoent): Fix
7873         declaration to match prototype.
7874         * hesiod/nss_hesiod/hesiod-pwd.c (_nss_hesiod_setpwent): Likewise.
7875         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_setgrent): Likewise.
7876         * hesiod/nss_hesiod/hesiod-service.c (_nss_hesiod_setservent):
7877         Likewise.
7878         * nis/nss_nis/nis-grp.c (_nss_nis_setgrent): Likewise.
7879         * nis/nss_nis/nis-pwd.c (_nss_nis_setpwent): Likewise.
7880         * nis/nss_nis/nis-proto.c (_nss_nis_setprotoent): Likewise.
7881         * nis/nss_nis/nis-service.c (_nss_nis_setservent): Likewise.
7882         (_nss_nis_getservbyport_r): Likewise.
7883         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent): Likewise.
7884         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent): Likewise.
7885         * nis/nss_nis/nis-network.c (_nss_nis_getnetent_r): Likewise.
7886         (_nss_nis_setnetent): Likewise
7887         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
7888         (_nss_nis_endnetgrent): Likewise.
7889         * nis/nss_nisplus/nisplus-netgrp.c (_nss_nisplus_endnetgrent):
7890         Likewise.
7891         (_nss_nisplus_setnetgrent): Likewise.
7892         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Likewise.
7893         * nis/nss_nisplus/nisplus-pwd.c (_nss_nisplus_setpwent): Likewise.
7894         * nis/nss_nisplus/nisplus-grp.c (_nss_nisplus_setgrent): Likewise.
7895         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_setnetent):
7896         Likewise.
7897         * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_sethostent):
7898         Likewise.
7899         * nis/nss_nisplus/nisplus-service.c (_nss_nisplus_setservent):
7900         Likewise.
7901         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_setprotoent):
7902         Likewise.
7903         * nis/nss_compat/compat-spwd.c (_nss_compat_setspent): Likewise.
7904         * nis/nss_compat/compat-pwd.c (_nss_compat_setpwent): Likewise.
7905         * nis/nss_compat/compat-grp.c (_nss_compat_setgrent): Likewise.
7906         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Likewise.
7907         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Likewise.
7908         (_nss_dns_getnetbyaddr_r): Likewise.
7910 2000-12-17  Andreas Jaeger  <aj@suse.de>
7912         * sysdeps/generic/k_sinl.c (__kernel_sinl): Fix functions
7913         parameter.
7915         * sysdeps/unix/sysv/linux/shm_open.c (freeit): Make static and add
7916         unused attribute to shut up gcc warnings.
7918         * sysdeps/generic/k_sinl.c: Include math_private for prototypes.
7919         * sysdeps/generic/k_tanl.c: Likewise.
7920         * sysdeps/generic/k_cosl.c: Likewise.
7921         * sysdeps/generic/e_j0l.c: Likewise.
7922         * sysdeps/generic/e_j1l.c: Likewise.
7923         * sysdeps/generic/e_jnl.c: Likewise.
7924         * sysdeps/generic/e_lgammal_r.c: Likewise.
7926         * elf/vismain.c: Move prototypes for functions in vismod*.c to
7927         vismod.h.
7928         * elf/vismod.h: New file.
7929         * elf/Makefile (distribute): Add vismod.h.
7930         * elf/vismod1.c: Include vismod.h.
7931         * elf/vismod2.c: Likewise.
7932         * elf/vismod3.c: Likewise.
7934         * elf/constload3.c: Add prototype declarations to shut up gcc.
7935         * elf/failobj.c: Likewise.
7936         * elf/nodelmod3.c: Likewise.
7937         * elf/filtmod1.c: Likewise.
7938         * elf/filtmod2.c: Likewise.
7939         * elf/reldepmod1.c: Likewise.
7940         * elf/reldepmod2.c: Likewise.
7941         * elf/reldepmod3.c: Likewise.
7942         * elf/reldepmod4.c: Likewise.
7943         * elf/unload2dep.c: Likewise.
7944         * elf/unload2mod.c: Likewise.
7945         * elf/ltglobmod1.c: Likewise.
7946         * elf/pathoptobj.c: Likewise.
7947         * elf/neededobj1.c: Likewise.
7948         * elf/neededobj2.c: Likewise.
7949         * elf/neededobj3.c: Likewise.
7950         * elf/neededobj4.c: Likewise.
7951         * elf/nextmod1.c: Likewise.
7952         * elf/nextmod2.c: Likewise.
7954         * locale/programs/ld-collate.c (collate_finish): Don't use labels
7955         at end of compound statement.
7956         * locale/programs/locale.c (show_info): Likewise.
7957         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Likewise.
7959 2000-12-16  Jakub Jelinek  <jakub@redhat.com>
7961         * catgets/gencat.c (read_input_file): Avoid calling obstack_free
7962         with a pointer not returned by obstack_ functions.
7964 2000-12-16  Ulrich Drepper  <drepper@redhat.com>
7966         * sysdeps/unix/sysv/aix/bits/stat.h (struct stat): Align with AIX
7967         version.
7968         (struct stat64): Likewise.
7969         Reported by Michael Keezer <mkeezer@redhat.com>.
7971         * timezone/asia: Update from tzdata2000h.
7972         * timezone/australasia: Likewise.
7973         * timezone/backward: Likewise.
7974         * timezone/europe: Likewise.
7975         * timezone/northamerica: Likewise.
7976         * timezone/southamerica: Likewise.
7977         * timezone/zone.tab: Likewise.
7979 2000-12-14  Jakub Jelinek  <jakub@redhat.com>
7981         * io/ftw.c (ftw_dir): If process_entry returned non-zero result
7982         and dir.stream is NULL, only free dir.content.
7983         * io/ftwtest.c (cb, main): Add --early-exit option to test it.
7984         * io/ftwtest-sh: Test with --early-exit.
7986 2000-12-13  Jakub Jelinek  <jakub@redhat.com>
7988         * misc/efgcvt.c (FCVT_MAXDIG): Define.
7989         (FCVT_BUFPTR): New variable.
7990         (fcvt): If fcvt_r returns -1 on the static short buffer,
7991         try to malloc a sufficiently large one and retry.
7992         (free_mem): New function.
7993         * misc/qefgcvt.c (FCVT_MAXDIG): Define.
7994         * misc/tst-efgcvt.c (fcvt_tests): Add new test.
7996 2000-12-15  Ulrich Drepper  <drepper@redhat.com>
7998         * misc/dirname.c (dirname): Fix search for second to last slash.
8000 2000-12-13  Andreas Jaeger  <aj@suse.de>
8002         * misc/tst-dirname.c (main): Fix typo in test to really use
8003         the examples from Unix98.
8004         Reported by Michael Kerrisk <mtk16@ext.canterbury.ac.nz>.
8006 2000-12-09  H.J. Lu  <hjl@gnu.org>
8008         * sysdeps/ia64/fpu/s_fabs.S: New file.
8009         * sysdeps/ia64/fpu/s_fabsf.S: New file.
8010         * sysdeps/ia64/fpu/s_fabsl.S: New file.
8012 2000-12-15  Andreas Jaeger  <aj@suse.de>
8014         * stdio-common/scanf9.c (main): Reformat and change to avoid
8015         warnings.
8017         * stdio-common/tstdiomisc.c: Make local functions static.
8018         * stdio-common/tst-printf.c: Likewise.
8020         * elf/constload2.c: Add prototype declarations to shut up gcc.
8021         * elf/dep1.c: Likewise.
8022         * elf/dep2.c: Likewise.
8023         * elf/dep3.c: Likewise.
8024         * elf/dep4.c: Likewise.
8025         * elf/ltglobmod2.c: Likewise.
8027         * libio/fmemopen.c: Make local functions static.
8029         * elf/Makefile (distribute): Added testobj.h.
8031         * elf/testobj.h: New file.
8033         * elf/testobj1.c: Include testobj.h and move prototype
8034         declarations to testobj.h.
8035         * elf/testobj2.c: Likewise.
8036         * elf/testobj3.c: Likewise.
8037         * elf/testobj4.c: Likewise.
8038         * elf/testobj5.c: Likewise.
8039         * elf/testobj6.c: Likewise.
8040         * elf/testobj1_1.c: Likewise.
8041         * elf/preloadtest.c: Likewise.
8043 2000-12-15  Ben Collins  <bcollins@debian.org>
8045         * misc/sys/cdefs.h: Fix thinko in checks for flexarr macros.
8046         Patch by Akim Demaille <akim@epita.fr> in Debian bug report.
8048 2000-12-14  H.J. Lu  <hjl@gnu.org>
8050         * sysdeps/ieee754/flt-32/s_sincosf.c (__sincosf): The exponent
8051         field in a float is 8 bits, not 11 bits.
8053 2000-12-13  Jakub Jelinek  <jakub@redhat.com>
8055         * math/test-misc.c (main): Adjust m for IEEE quad long double.
8057 2000-12-13  Andreas Jaeger  <aj@suse.de>
8059         * manual/message.texi (Using gettextized software): Fix typo.
8061         * manual/charset.texi (Converting a Character): Fix mbstouwcs
8062         program to compile.
8063         Patch by Martin Buchholz <martin@xemacs.org>.
8065         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Fix typo.
8066         Reported by Michael Kerrisk <mtk16@ext.canterbury.ac.nz>.
8068 2000-12-11  Andreas Jaeger  <aj@suse.de>
8070         * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Declare
8071         kernel_sigset_t and use it.
8072         Patch by Hiroyuki Machida <machida@sm.sony.co.jp>.
8074 2000-12-10  Richard Henderson  <rth@redhat.com>
8076         * sysdeps/alpha/alphaev67/fpu/Implies: New file.
8077         * sysdeps/alpha/alphaev6/fpu/e_sqrtf.S: New file.
8078         * sysdeps/alpha/alphaev6/fpu/e_sqrt.S: New file.
8080 2000-12-10  Jakub Jelinek  <jakub@redhat.com>
8082         * sysdeps/alpha/htonl.S: Fix a typo.
8084 2000-12-10  Jakub Jelinek  <jakub@redhat.com>
8086         * sysdeps/alpha/alphaev6/stxcpy.S: Exchange t8 with t10.
8088 2000-12-10  Andreas Jaeger  <aj@suse.de>
8090         * locale/programs/ld-ctype.c (charclass_symbolic_ellipsis): Fixed
8091         cast as suggested by Jakub Jelinek <jakub@redhat.com> and Ulrich
8092         Drepper <drepper@redhat.com>.
8094 2000-12-09  Andreas Jaeger  <aj@suse.de>
8096         * sysdeps/unix/sysv/linux/mips/sigaction.c: New file.
8098         * sysdeps/unix/sysv/linux/mips/sys/acct.h: Removed, we can use the
8099         generic version.
8100         Patches by Hiroyuki Machida <machida@sm.sony.co.jp>.
8102         * locale/programs/ld-collate.c (handle_ellipsis): Fix format
8103         string.
8105         * locale/programs/ld-ctype.c (charclass_symbolic_ellipsis): Fix
8106         format string.
8108         * nscd/hstcache.c (addhstbyname): Add cast to avoid warning.
8109         * nscd/connections.c (handle_request): Likewise.
8110         * nscd/pwdcache.c (addpwbyname): Likewise.
8111         * nscd/grpcache.c (addgrbyname): Likewise.
8113         * nscd/nscd_conf.c (nscd_parse_file): Remove extra argument.
8115 2000-12-09  Ulrich Drepper  <drepper@redhat.com>
8117         * string/stratcliff.c: Add tests for stpncpy, memcpy, and mempcpy.
8119         * Makeconfig (default_cflags): Make -O2 the default for stable
8120         releases.
8122 2000-12-08  H.J. Lu  <hjl@gnu.org>
8124         * sysdeps/ia64/fpu/s_isinfl.S: Renamed to ...
8125         * sysdeps/ia64/fpu/s_isinf.S: This.
8126         Add a .pred.rel.mutex note to avoid false report.
8128         * sysdeps/ia64/fpu/s_isnanl.S: Renamed to ...
8129         * sysdeps/ia64/fpu/s_isnan.S: This.
8131         * sysdeps/ia64/fpu/s_fpclassify.S: New file.
8132         * sysdeps/ia64/fpu/s_fpclassifyf.S: New file.
8133         * sysdeps/ia64/fpu/s_fpclassifyl.S: New file.
8134         * sysdeps/ia64/fpu/s_isinff.S: New file.
8135         * sysdeps/ia64/fpu/s_isinfl.S: New file.
8136         * sysdeps/ia64/fpu/s_isnanf.S: New file.
8137         * sysdeps/ia64/fpu/s_isnanl.S: New file.
8138         * sysdeps/ia64/fpu/s_finite.S: New file.
8139         * sysdeps/ia64/fpu/s_finitef.S: New file.
8140         * sysdeps/ia64/fpu/s_finitel.S: New file.
8141         * sysdeps/ia64/fpu/s_signbit.S: New file.
8142         * sysdeps/ia64/fpu/s_signbitf.S: New file.
8143         * sysdeps/ia64/fpu/s_signbitl.S: New file.
8144         * sysdeps/ia64/fpu/s_copysign.S: New file.
8145         * sysdeps/ia64/fpu/s_copysignf.S: New file.
8146         * sysdeps/ia64/fpu/s_copysignl.S: New file.
8148 2000-12-08  Ulrich Drepper  <drepper@redhat.com>
8150         * math/libm-test.inc (main): Fix typos in messages.
8152         * string/stratcliff.c: Add test for rawmemchr.
8154 2000-12-08  Jakub Jelinek  <jakub@redhat.com>
8156         * elf/dl-open.c (_dl_open): If objname points right after errstring,
8157         allocate it together with errstring using alloca.
8158         * elf/dl-error.c (_dl_signal_error): If malloc failed, set objname
8159         to "", because it might point to local stack.
8161 2000-12-05  H.J. Lu  <hjl@gnu.org>
8163         * nss/Makefile (routines): Add getnssent and getnssent_r.
8164         * nss/nsswitch.h (__nss_setent): New internal NSS function.
8165         (__nss_endent): Likewise.
8166         (__nss_getent_r): Likewise.
8167         (__nss_getent): Likewise.
8168         * nss/getnssent_r.c: New file.
8169         * nss/getnssent.c: New file.
8170         * nss/getXXent.c (H_ERRNO_VAR): Updated.
8171         (GETFUNC_NAME): Updated to call __nss_getent ().
8172         * nss/getXXent_r.c (H_ERRNO_VAR_P): New.
8173         (STAYOPEN_TMPVAR): Updated.
8174         (STAYOPEN_VAR): Updated.
8175         (SETFUNC_NAME): Updated to call __nss_setent ().
8176         (ENDFUNC_NAME): Updated to call __nss_endent ().
8177         (INTERNAL (REENTRANT_GETNAME)): Updated to call __nss_getent_r ().
8179 2000-12-08  Andreas Jaeger  <aj@suse.de>
8181         * nscd/dbg_log.h (dbg_log): Correct attribute.
8183 2000-12-08  Jakub Jelinek  <jakub@redhat.com>
8185         * elf/dl-load.c (fillin_rpath): Don't assume there is '\0' at
8186         cp + len.  Compute where from dirname.
8187         Reported by <jreiser@BitWagon.com>.
8189 2000-12-08  Richard Henderson  <rth@twiddle.net>
8191         * sysdeps/alpha/_mcount.S: Fix typo.
8192         * sysdeps/alpha/strncpy.S: Likewise.
8194         * sysdeps/alpha/alphaev6/Implies: New file.
8195         * sysdeps/alpha/alphaev67/Implies: New file.
8196         * sysdeps/alpha/alphaev67/ffs.S: New file.
8197         * sysdeps/alpha/alphaev67/ffsll.S: New file.
8198         * sysdeps/alpha/alphaev67/rawmemchr.S: New file.
8199         * sysdeps/alpha/alphaev67/stpcpy.S: New file.
8200         * sysdeps/alpha/alphaev67/stpncpy.S: New file.
8201         * sysdeps/alpha/rawmemchr.S: New file.
8202         * sysdeps/alpha/strcat.S: Tail call to __stxcpy.
8203         * sysdeps/alpha/strcpy.S: Likewise.
8205         From GMP 3.1.1:
8206         * sysdeps/alpha/alphaev6/addmul_1.s: New file.
8208         From rick.gorton@alpha-processor.com:
8209         * sysdeps/alpha/alphaev6/memchr.S: New file.
8210         * sysdeps/alpha/alphaev6/memcpy.S: New file.
8211         * sysdeps/alpha/alphaev6/memset.S: New file.
8212         * sysdeps/alpha/alphaev6/stxcpy.S: New file.
8213         * sysdeps/alpha/alphaev6/stxncpy.S: New file.
8214         * sysdeps/alpha/alphaev67/strcat.S: New file.
8215         * sysdeps/alpha/alphaev67/strchr.S: New file.
8216         * sysdeps/alpha/alphaev67/strlen.S: New file.
8217         * sysdeps/alpha/alphaev67/strncat.S: New file.
8218         * sysdeps/alpha/htonl.S: Use a shorter sequence.
8220 2000-12-08  Jakub Jelinek  <jakub@redhat.com>
8222         * inet/getnameinfo.c (getnameinfo): Fix NI_NOFQDN support.
8223         Reported by <pspencer@fields.utoronto.ca>.
8225 2000-12-07  Jes Sorensen  <jes@linuxcare.com>
8227         * sysdeps/ia64/elf/start.S (__data_start): Add __data_start variable.
8228         Pointed out by Hans Boehm.
8230 2000-12-07  H.J. Lu  <hjl@gnu.org>
8232         * elf/dl-version.c (match_symbol): Check map->l_name[0] for printing.
8234 2000-12-07  Andreas Jaeger  <aj@suse.de>
8236         * misc/error.c: Add format attributes for __error and __error_at_line.
8238         * nscd/dbg_log.h: Add format attribute.
8240 2000-12-08  Ulrich Drepper  <drepper@redhat.com>
8242         * misc/sys/syslog.h: Add format attributes to syslog and vsyslog.
8243         Patch by Joseph S. Myers <jsm28@cam.ac.uk>.
8245 2000-12-07  Dan Pop  <Dan.Pop@cern.ch>
8247         * sysdeps/ia64/strcpy.S: Fix a bug in a recovery code sequence.
8249 2000-12-06  Ulrich Drepper  <drepper@redhat.com>
8251         * sysdeps/unix/sysv/aix/Makefile [$(subdir)==misc]
8252         (sysdep_routines): Add uitrunc.
8253         * sysdeps/unix/sysv/aix/uitrunc.c: New file.
8254         Patches by Michael Keezer <mkeezer@redhat.com>.
8256 2000-12-06  Roland McGrath  <roland@frob.com>
8258         * sysdeps/mach/hurd/ioctl.c (__ioctl): Don't clobber ARG as we copy in
8259         argument data, since it will be used to copy out too (for INOUT).
8260         Reported by Marcus Brinkmann <marcus@gnu.org>.
8262         * sysdeps/mach/hurd/ioctl.c: Include <stdint.h>.
8263         (__ioctl): Use uintptr_t instead of unsigned long int.
8265 2000-12-06  Jim Wilson  <wilson@redhat.com>
8267         * stdlib/l64a.c (l64a): Truncate M to 32-bit value.
8269 2000-12-06  Ulrich Drepper  <drepper@redhat.com>
8271         * stdio-common/printf_fp.c (__printf_fp): Handle decimal point in
8272         x.5 rounding correctly.
8274 2000-12-06  Mark Kettenis  <kettenis@gnu.org>
8276         * stdio-common/perror.c (perror): Conditionalize code dealing with
8277         wide-oriented streams on USE_IN_LIBIO.
8279 2000-12-06  Mark Kettenis  <kettenis@gnu.org>
8281         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup): Mark
8282         as internal_function.
8284 2000-12-05  Ulrich Drepper  <drepper@redhat.com>
8286         * sysdeps/alpha/elf/start.S (__data_start): Define.
8288 2000-12-05  H.J. Lu  <hjl@gnu.org>
8290         * nss/getXXent_r.c (setup): Change the return type to int.
8292 2000-12-05  Ulrich Drepper  <drepper@redhat.com>
8294         * sysdeps/unix/sysv/aix/Makefile [$(subdir)==misc]
8295         (sysdep_routines): Add restf and savef.
8296         * sysdeps/unix/sysv/aix/restf.c: New file.
8297         * sysdeps/unix/sysv/aix/savef.c: New file.
8298         Patches by Michael Keezer <mkeezer@redhat.com>.
8300         * sysdeps/unix/opendir.c (__opendir): Don't use o_directory_works
8301         if O_DIRECTORY is not defined.
8302         Patch by Michael Keezer <mkeezer@redhat.com>.
8304         * include/libc-symbols.h (C_SYMBOL_DOT_NAME): Define.
8305         Patch by Michael Keezer <mkeezer@redhat.com>.
8307         * locale/programs/linereader.c (get_toplvl_escape): Recognize more
8308         than 4 bytes in escape sequence.
8309         Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
8311 2000-12-05  Andreas Jaeger  <aj@suse.de>
8313         * sysdeps/unix/sysv/linux/mips/sys/tas.h (_test_and_set): Don't
8314         set mips2.
8316         * sysdeps/unix/sysv/linux/mips/sysdep.h: New file.
8318         * sysdeps/unix/sysv/linux/mips/sys/syscall.h: Removed.
8320         * sysdeps/unix/mips/sysdep.h: Use SYS_ify.
8321         Patches by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
8323         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Mark as
8324         internal_function.
8325         * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Likewise.
8326         * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start_cleanup): Likewise.
8328         * sysdeps/generic/dl-cache.c: Remove declaration of
8329         _dl_sysdep_read_whole_file.
8331         * elf/dl-load.c (_dl_map_object): Remove declaration of
8332         _dl_load_cache_lookup.
8334         * sysdeps/generic/ldsodefs.h: Add declarations of
8335         _dl_load_cache_lookup, _dl_unload_cache,
8336         _dl_sysdep_read_whole_file, _dl_sysdep_start and
8337         _dl_sysdep_start_cleanup.
8339         * elf/rtld.c: Remove prototypes that are defined in ldsodefs.h
8340         now.
8342         * elf/dl-misc.c: Include <ldsodefs.h> to get prototypes.
8343         * sysdeps/generic/dl-environ.c: Likewise.
8345         * stdio-common/printf_fp.c: Include <gmp.h> instead of
8346         <stdlib/gmp.h>.
8347         * math/atest-exp.c: Likewise.
8348         * math/atest-exp2.c: Likewise.
8349         * math/atest-sincos.c: Likewise.
8350         * stdio-common/_itoa.c: Likewise.
8351         * stdio-common/_itowa.c: Likewise.
8353         * include/gmp.h: New file with internal prototypes.
8355         * sysdeps/generic/longjmp.c: Move _longjmp_unwind declaration from
8356         here to...
8357         * include/setjmp.h: ...here.
8359         * locale/Makefile (routines): Remove codeset_name since it's not
8360         needed anywhere.
8362         * locale/codeset_name.c: Removed.
8364 2000-12-05  Ulrich Drepper  <drepper@redhat.com>
8366         * sysdeps/unix/sysv/aix/sys/param.h: Define MAXHOSTNAMELEN here.
8368 2000-12-05  Andreas Jaeger  <aj@suse.de>
8370         * sysdeps/unix/sysv/linux/sys/param.h: Revert last patch.
8372 2000-12-05  Martin Schwidefsky  <schwidefsky@de.ibm.com>
8374         * sysdeps/unix/sysv/linux/s390/mmap64.S: Use mmap if mmap2 isn't
8375         available.
8377 2000-12-05  Andreas Jaeger  <aj@suse.de>
8379         * nss/test-netdb.c: Mark local functions as static to avoid
8380         warnings.
8381         (main): Use return to silence warning.
8383         * stdlib/test-canon.c (check_path): Mark as static to avoid warning.
8385         * stdio-common/test-popen.c: Mark local functions as static to
8386         avoid warnings.
8387         (main): Use return to silence warning.
8389         * stdlib/testsort.c (compare): Mark as static to avoid warning.
8391         * assert/test-assert.c: Mark local functions as static to avoid
8392         warnings.
8393         * assert/test-assert-perr.c: Likewise.
8395         * math/libm-test.inc (main): Use return to silence warnings.
8397 2000-12-04  Ulrich Drepper  <drepper@redhat.com>
8399         * math/fenv.h: Fix typo in comment.
8401         * math/test-misc.c (main): Add a few more over and underflow tests
8402         for scalb.
8404         * sysdeps/i386/fpu/e_scalb.S: Handle NaN as first parameter correctly.
8405         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
8406         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
8407         * math/w_scalb.c: Don't use matherr except in SVID mode.
8408         * math/w_scalbf.c: Likewise.
8409         * math/w_scalbl.c: Likewise.
8410         * math/test-misc.c: Add test for NaN and scalbl.
8411         Reported by Fred J. Tydeman <tydeman@tybor.com>.
8413 2000-12-04  Ulrich Drepper  <drepper@redhat.com>
8415         * configure.in: Define HAVE_ASM_GLOBAL_DOT_NAME for AIX.
8416         * config.h.in: Add HAVE_ASM_GLOBAL_DOT_NAME.
8417         * include/libc-symbols.h (strong_alias): Define special version
8418         for HAVE_ASM_GLOBAL_DOT_NAME.
8419         (weak_alias): Likewise.
8420         * sysdeps/powerpc/bsd-setjmp.S: Use strong_alias not .set.
8421         * sysdeps/unix/sysv/aix/Makefile [$(subdir)==login]
8422         (sysdep_routines): Add setutxent, getutxent, endutxent, getutxid,
8423         getutxline, pututxline, and utmpxname.
8424         * sysdeps/unix/sysv/aix/fchdir.c: Define __fchdir.
8425         * sysdeps/unix/sysv/aix/lseek.c: Define __libc_lseek alias.
8426         * sysdeps/unix/sysv/aix/open.c: Define __libc_open alias.
8427         * sysdeps/unix/sysv/aix/pread.c: Define pread alias.
8428         * sysdeps/unix/sysv/aix/pread64.c: Define pread64 alias.
8429         * sysdeps/unix/sysv/aix/sysdep.h (JUMPTARGET): Use C_TEXT.
8430         * sysdeps/unix/sysv/aix/bits/types.h: Define __clockid_t and __timer_t.
8431         * sysdeps/unix/sysv/aix/bits/utmp.h: Cleanup.  Add comments.
8432         * sysdeps/unix/sysv/linux/sys/param.h (MAXHOSTNAMELEN): Define.
8433         Patches by Michael Keezer <mkeezer@redhat.com>.
8435 2000-12-04  H.J. Lu  <hjl@gnu.org>
8437         * configure.in: Change --with-oldest-abi=ABI to
8438         --enable-oldest-abi=ABI.
8440 2000-12-02  Bruno Haible  <haible@clisp.cons.org>
8442         * stdio-common/perror.c (perror): If stderr is wide-oriented, use
8443         fwprintf instead of fprintf.
8445 2000-12-04  Ulrich Drepper  <drepper@redhat.com>
8447         * sysdeps/alpha/fpu/bits/mathdef.h: Remove FLT_EVAL_METHOD and
8448         DECIMAL_DIG definitions.
8449         * sysdeps/arm/fpu/bits/mathdef.h: Likewise
8450         * sysdeps/generic/bits/mathdef.h: Likewise
8451         * sysdeps/i386/fpu/bits/mathdef.h: Likewise
8452         * sysdeps/ia64/fpu/bits/mathdef.h: Likewise
8453         * sysdeps/m68k/fpu/bits/mathdef.h: Likewise
8454         * sysdeps/powerpc/fpu/bits/mathdef.h: Likewise
8455         * sysdeps/sparc/fpu/bits/mathdef.h: Likewise
8456         * sysdeps/sh/sh4/fpu/bits/mathdef.h: Likewise
8458 2000-12-03  Ulrich Drepper  <drepper@redhat.com>
8460         * math/test-fenv.c (main): Use return instead of exit to avoid warning.
8462         * math/atest-exp.c: Mark local functions as static to avoid warnings.
8463         * math/atest-exp2.c: Likewise.
8464         * math/atest-sincos.c: Likewise.
8466         * sysdeps/i386/fpu/bits/mathdef.h (DECIMAL_DIG): Correct value.
8467         Reported by Fred J. Tydeman <tydeman@tybor.com>.
8469         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Hopefully fix
8470         the handling of denormalized numbers.
8472         * math/test-misc.c (main): Test for fpclassify and pseudo denormal
8473         numbers on x86.
8474         * sysdeps/i386/fpu/fpclassifyl.c: New file.
8476         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Handle the
8477         pseudo denormal representation of LDBL_MIN.
8479         * iconvdata/SJIS.irreversible: Remove unnecessary entries.
8480         * iconvdata/EUC-JP.irreversible: Remove unnecessary entries.
8482         * iconvdata/sjis.c: Enable round-trip mapping of backslash and tilde.
8483         * iconvdata/jis0208.c: Likewise.
8484         * iconvdata/jis0212.c: Likewise.
8485         Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
8487         * math/test-misc.c (main): More tests for frexp and some for
8488         fpclassify and isnormal.
8490         * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf): Correct
8491         test for subnormal.
8492         Reported by Fred J. Tydeman <tydeman@tybor.com>.
8494         * math/test-misc.c (main): Add tests for frexp.
8495         Reported by Fred J. Tydeman <tydeman@tybor.com>.
8496         * sysdeps/i386/fpu/s_frexpl.S: Don't overflow during the computation.
8498 2000-12-02  H.J. Lu  <hjl@gnu.org>
8500         * locale/lc-time.c (_nl_init_era_entries): Pass L'\0' instead of
8501         '\0' to wcschr.
8503 2000-12-02  Ulrich Drepper  <drepper@redhat.com>
8505         * sysdeps/i386/fpu/s_frexp.S: Add missing fwait.
8506         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
8507         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
8509         * sysdeps/generic/glob.c: Adjust types of several variables to
8510         avoid warnings.
8512 2000-12-01  Ulrich Drepper  <drepper@redhat.com>
8514         * sysdeps/unix/sysv/linux/shm_open.c: Remove incorrect comment.
8516 2000-11-30  Roland McGrath  <roland@frob.com>
8518         * hurd/hurd/ioctl.h (_HURD_HANDLE_IOCTLS_1): New macro.
8519         (_HURD_HANDLE_IOCTLS, _HURD_HANDLE_IOCTL): Redefine using it, so as to
8520         allow multiple instances using the same function name in one file.
8522 2000-12-01  Ulrich Drepper  <drepper@redhat.com>
8524         * configure.in: Correct test for pserver CVS access.
8526 2000-11-28  H.J. Lu  <hjl@gnu.org>
8528         * libio/libio.h: Remove extra "#if ... #endif".
8530 2000-11-29  H.J. Lu  <hjl@gnu.org>
8532         * stdio-common/vfscanf.c (ORIENT): Swap the COMPILE_WSCANF case.
8534 2000-12-01  H.J. Lu  <hjl@gnu.org>
8536         * nss/getXXbyYY_r.c: Fix verioned symbol handling.
8537         * nss/getXXent_r.c: Likewise.
8538         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
8540 2000-11-30  H.J. Lu  <hjl@gnu.org>
8542         * scripts/abi-versions.awk (oldest_abi): New variable.
8543         Handle the oldest ABI supported.
8545         * Makerules ($(common-objpfx)abi-versions.h): Set oldest_abi
8546         for scripts/abi-versions.awk.
8548         * configure.in: Add --with-oldest-abi=ABI.
8549         * configure: Rebuild.
8551         * config.make.in (oldest-abi): New.
8553         * config.h.in (GLIBC_OLDEST_ABI): New.
8555         * csu/version.c (banner): Support GLIBC_OLDEST_ABI.
8557 2000-11-30  Jakub Jelinek  <jakub@redhat.com>
8559         * locale/setlocale.c (setname): Free for all categories, not just
8560         LC_ALL.
8561         (setlocale): Store a copy of string passed by user, not the string
8562         itself.
8564 2000-11-30  Roland McGrath  <roland@frob.com>
8566         * sysdeps/mach/hurd/defs.c (init_stdio): Put this on __libc_subinit
8567         rather than _hurd_fd_subinit, so it happens after it's safe to use
8568         libc facilities like malloc.
8570 2000-11-28  Andreas Jaeger  <aj@suse.de>
8572         * sysdeps/unix/sysv/linux/getdents.c: Add _syscall_getdents64
8573         declaration, adjust declaration of __syscall_getdents to match
8574         kernel.
8576 2000-11-29  H.J. Lu  <hjl@gnu.org>
8578         * sysdeps/generic/readelflib.c (check_ptr): Undefine it first.
8580 2000-11-29  Andreas Jaeger  <aj@suse.de>
8582         * sysdeps/unix/sysv/linux/hppa/brk.c (__brk): Remove unused variable.
8584 2000-11-28  Ulrich Drepper  <drepper@redhat.com>
8586         * dlfcn/defaultmod1.c: Add prototypes to avoid warnings.
8587         * dlfcn/defaultmod2.c: Likewise.
8588         * dlfcn/dlopen.c: Likewise.
8589         * dlfcn/dlopenold.c: Likewise.
8590         * dlfcn/failtestmod.c: Likewise.
8591         * dlfcn/glreflib1.c: Likewise.
8592         * dlfcn/glreflib2.c: Likewise.
8593         * dlfcn/eval.c: Likewise.  Add attributes.
8595         * ctype/ctype-extn.c: Define isblank and not __isblank.
8597         * time/strftime.c: Add const where necessary to avoid warnings.
8598         * time/strptime.c (strptime_internal): Add casts to avoid warnings.
8600 2000-11-22  Paul Eggert  <eggert@twinsun.com>
8602         * time/strftime.c (my_strftime): Do not invoke mbrlen with a
8603         size of (size_t) -1; it's not portable.
8605 2000-11-28  Ulrich Drepper  <drepper@redhat.com>
8607         * sysdeps/i386/fpu/libm-test-ulps: Adjust some values for the
8608         crappy i486 FPU.
8609         Reported by Michael Deutschmann <michael@talamasca.ocis.net>.
8611 2000-11-14  Jes Sorensen  <jes@linuxcare.com>
8613         * sysdeps/ia64/_mcount.S: Call __mcount instead of __mcount_internal.
8615         * sysdeps/ia64/Makefile: Compile _mcount.S in subdir gmon as
8616         _mcount is required by profiled binaries.
8618         * sysdeps/unix/sysv/linux/ia64/machine-gmon.h: Moved to...
8619         * sysdeps/ia64/machine-gmon.h: ...here.
8621 2000-11-28  Masahide Washizawa  <washi@jp.ibm.com>
8623         * iconvdata/Makefile (modules): Add IBM922, IBM1124, and IBM1129.
8624         (distribute): Add ibm922.c, ibm1124.c, ibm1129.c, ibm922.h, ibm1124.h,
8625         and ibm1129.h.
8626         * iconvdata/gconv-modules: Add entries for IBM922, IBM1124, and
8627         IBM1129.
8628         * iconvdata/ibm922.c: New file.
8629         * iconvdata/ibm922.h: New file.
8630         * iconvdata/ibm1124.c: New file.
8631         * iconvdata/ibm1124.h: New file.
8632         * iconvdata/ibm1129.c: New file.
8633         * iconvdata/ibm1129.h: New file.
8634         * iconvdata/testdata/IBM922: New file.
8635         * iconvdata/testdata/IBM922..UTF8: New file.
8636         * iconvdata/testdata/IBM1124: New file.
8637         * iconvdata/testdata/IBM1124..UTF8: New file.
8638         * iconvdata/testdata/IBM1129: New file.
8639         * iconvdata/testdata/IBM1129..UTF8: New file.
8641 2000-11-28  Ulrich Drepper  <drepper@redhat.com>
8643         * catgets/gencat.c (normalize_line): Take extra parameter with escape
8644         character.  Change callers.
8645         (open_conversion): Determine mapping of 0x5c as wchar_t value.
8646         * catgets/Makefile: Add rules to build and run test-gencat.
8647         * catgets/sample.SJIS: New file.
8648         * catgets/test-gencat.c: New file.
8649         * catgets/test-gencat.sh: New file.
8650         Report and test case by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
8652 2000-11-28  Andreas Jaeger  <aj@suse.de>
8654         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Synch with generic
8655         Linux version.
8657 2000-11-28  Ulrich Drepper  <drepper@redhat.com>
8659         * sysdeps/unix/sysv/linux/bits/socket.h: Fix last patch.
8661 2000-11-28  Andreas Jaeger  <aj@suse.de>
8663         * sysdeps/unix/sysv/linux/bits/socket.h (struct cmsghdr): Use
8664         __flexarr.
8665         * sysdeps/unix/sysv/linux/mips/bits/socket.h (struct cmsghdr):
8666         Likewise.
8668 2000-11-27  Ulrich Drepper  <drepper@redhat.com>
8670         * misc/getusershell.c: Make strings in okshells array const.
8671         * misc/regexp.c: Add const to cast to avoid warnings.
8672         * sysdeps/unix/sysv/linux/llseek.c: Add prototype for __llseek.
8673         * sysdeps/unix/sysv/linux/i386/setresuid.c: Add prototype for
8674         __setresuid.
8675         * sysdeps/unix/sysv/linux/i386/setresgid.c: Add prototype for
8676         setresgid.
8677         * misc/error.c: Add prototypes for __error and __error_at_line.
8678         * misc/mntent_r.c (__getmntent_r): Add break at end of switch
8679         statement to avoid warning.
8680         * test-skeleton.c: Mark timeout_handler with noreturn.
8681         * iconv/skeleton.c (get16u): Add const to cast.
8682         (get32u): Likewise.
8683         * iconvdata/gb18030.c: Likewise.
8684         * iconvdata/iso-2022-cn-ext.c: Likewise.
8685         * iconvdata/ansi_x3.110.c: Add cast to avoid warning.
8686         * iconvdata/big5.c: Likewise.
8687         * iconvdata/big5hkscs.c: Likewise.
8688         * iconvdata/iso_6937.c: Likewise.
8689         * iconvdata/iso_6937-2.c: Likewise.
8690         * iconvdata/t.61.c: Likewise.
8691         * iconvdata/iso646.c: Add prototypes for gconv_init and gconv_env.
8692         * iconvdata/unicode.c: Likewise.
8693         * iconvdata/utf-16.c: Likewise.
8694         * iconvdata/cns11643.h (ucs4_to_cns11643): Define needed as size_t.
8695         * iconv/gconv_trans.c (__gconv_translit_find): Avoid one warning
8696         with little code shuffling.
8698         * sysdeps/powerpc/Makefile (CFLAGS-initfini.s): Add -O1 to avoid
8699         the problems introduced when the user selects -O3.
8701         * iconv/gconv.h (__gconv_info): Define __data element using __flexarr.
8702         * misc/sys/cdefs.h: Define __flexarr.
8703         Proposed by Joseph S. Myers <jsm28@cam.ac.uk>.
8705         * iconvdata/iso-2022-jp.c: Add prototypes to avoid warnings.
8706         * iconv/skeleton.c: Likewise.
8707         * iconvdata/iso8859-1.c (BODY to 8859-1): Add const to cast.
8708         * iconv/loop.c (get16): Add const to cast.
8709         (get32): Likewise.
8711 2000-11-27  Andreas Jaeger  <aj@suse.de>
8713         * login/programs/pt_chown.c (do_pt_chown): Mark function as static
8714         to avoid warning.
8715         * login/programs/utmpdump.c (print_entry): Likewise.
8717 2000-11-25  Maciej W. Rozycki  <macro@ds2.pg.gda.pl>
8719         * sysdeps/mips/__longjmp.c (__longjmp): Restore SP and FP last and
8720         in a single asm as they may be used to access other stored
8721         registers.
8722         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
8724 2000-11-27  Andreas Jaeger  <aj@suse.de>
8726         * rt/tst-aio.c: Mark test functions as static to avoid warnings.
8727         * rt/tst-aio64.c: Likewise.
8729 2000-11-27  Ulrich Drepper  <drepper@redhat.com>
8731         * catgets/Makefile (test1.cat): Set LC_ALL, LOCPATH, and GCONV_PATH
8732         for gencat run.
8733         (libc.cat): Likewise.
8734         * catgets/gencat.c: Implement handling of message catalogs encoded
8735         with stateful character sets.
8736         Based on a patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
8738 2000-11-26  Ulrich Drepper  <drepper@redhat.com>
8740         * sysdeps/unix/opendir.c (__opendir): Add cast to avoid warning.
8742         * inet/getnameinfo.c: Adjust casts to avoid warnings.
8743         * inet/rcmd.c: Likewise.
8744         * inet/ruserpass.c: Likewise.
8745         * inet/netinet/in.h (IN6_IS_ADDR_UNSPECIFIED, IN6_IS_ADDR_LOOPBACK,
8746         IN6_IS_ADDR_MULTICAST, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
8747         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, IN6_ARE_ADDR_EQUAL,
8748         IN6_IS_ADDR_MC_NODELOCAL, IN6_IS_ADDR_MC_LINKLOCAL,
8749         IN6_IS_ADDR_MC_SITELOCAL, IN6_IS_ADDR_MC_ORGLOCAL,
8750         IN6_IS_ADDR_MC_GLOBAL): Preserve const in cast.
8751         * include/aliases.h: Add prototypes for internal __getalias* functions.
8752         * include/netdb.h: Add prototypes for __old_gethostent_r,
8753         __old_gethostbyaddr_r, __old_gethostbyname_r, __old_gethostbyname2_r,
8754         __old_getnetent_r, __old_getnetbyaddr_r, __old_getnetbyname_r,
8755         __old_getservent_r, __old_getservbyname_r, __old_getservbyport_r,
8756         __old_getprotoent_r, __old_getprotobyname_r, __old_getprotobynumber_r.
8757         * include/rpc/netdb.h: Add prototypes for __old_getrpcbyname_r,
8758         __old_getrpcbynumber_r, __old_getrpcent_r.
8760         * include/rpc/netdb.h: Add __getrpcbyname_r, __getrpcbynumber_r,
8761         __getrpcent_r prototypes.
8763 2000-11-25  Ulrich Drepper  <drepper@redhat.com>
8765         * string/strcoll.c: Add casts to avoid warnings.
8766         * string/strnlen.c: Likewise.
8767         * string/strxfrm.c: Likewise.
8768         * sysdeps/generic/_strerror.c: Likewise.
8769         * sysdeps/generic/memrchr.c: Likewise.
8770         * sysdeps/generic/strcasestr.c: Likewise.
8771         * sysdeps/generic/strstr.c: Likewise.
8773         * locale/weight.h (findidx): Add const to cast to avoid warning.
8775         * elf/loadfail.c: Little cosmetic changes to avoid warnings.
8776         * elf/loadtest.c: Likewise.
8777         * elf/multiload.c: Likewise.
8778         * elf/next.c: Likewise.
8779         * elf/nodelete.c: Likewise.
8780         * elf/noload.c: Likewise.
8781         * elf/order.c: Likewise.
8782         * elf/origtest.c: Likewise.
8783         * elf/preloadtest.c: Likewise.
8784         * elf/restest1.c: Likewise.
8786         * sysdeps/i386/i486/bits/string.h (__strncat_g) [i686]: Fourth
8787         parameter of asm must be in %ecx.
8789         * string/tester.c: Mark test functions as static to avoid warnings.
8791         * iconv/gconv_conf.c (read_conf_file): Make mod_counter static to
8792         preserve value over different gconv-modules files.
8794 2000-11-24  Ulrich Drepper  <drepper@redhat.com>
8796         * locale/findlocale.c: Add casts to avoid warnings.
8797         * locale/localeinfo.h (LIMAGIC): Add cast to avoid warnings.
8798         * misc/efgcvt_r.c (fcvt_r): Use ssize_t instead of int and add cast
8799         to avoid warnings.
8800         * misc/tsearch.c (const_node): New type.
8801         (trecurse): Correct casts to avoid warnings.
8802         (__twalk): Likewise.
8803         * stdlib/tst-limits.c: Add z modifier to formats for WORD_BIT and
8804         LONG_BIT.
8806         * debug/backtrace-tst.c (compare): Add casts to avoid warnings.
8808         * test-skeleton.c: Mark local functions as static to avoid warnings.
8810 2000-11-23  H.J. Lu  <hjl@gnu.org>
8812         * rt/tst-aio6.c (do_test): Use pipe instead of STDIN_FILENO to
8813         support the background job.
8814         Fix a typo.
8816 2000-11-24  Ulrich Drepper  <drepper@redhat.com>
8818         * iconv/gconv_conf.c (insert_module): Replace old entry if new one
8819         has same names but lower cost.
8821 2000-11-23  Jakub Jelinek  <jakub@redhat.com>
8823         * sysdeps/sparc/sparc32/dl-machine.h: Ifdef out handling for relocs
8824         which never occur during bootstrap.
8825         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
8827 2000-11-23  Andreas Jaeger  <aj@suse.de>
8829         * nss/nss_files/files-hosts.c: Remove getipnodebyname.
8831         * nss/Versions: Remove _nss_files_getipnodebyname_r.
8833         * sysdeps/unix/sysv/linux/Versions: Fix typo in last patch.
8835 2000-11-18  Martin Buchholz  <martin@xemacs.org>
8837         * csu/gmon-start.c (__gmon_start__): Avoid over-clever trick `if
8838         (called++) return;'
8840 2000-11-21  Alan Modra  <alan@linuxcare.com.au>
8842         * sysdeps/generic/bsd-_setjmp.c (setjmp): Rename to _setjmp.
8844         * csu/abi-note.S: Correct comment for operating system number.
8846 2000-11-22  Ulrich Drepper  <drepper@redhat.com>
8848         * Versions.def: Add GLIBC_2.2.1 for glibc.
8850 2000-11-22  Andreas Schwab  <schwab@suse.de>
8852         * sysdeps/unix/sysv/linux/syscalls.list: Add pivot_root.
8853         * sysdeps/unix/sysv/linux/Versions: Add pivot_root at GLIBC_2.2.1.
8855 2000-11-22  Ulrich Drepper  <drepper@redhat.com>
8857         * rt/aio_suspend.c (aio_suspend): Convert timeout value to
8858         absolute time for pthread_cond_timedwait call.
8859         Reported by Lawrence Chen <lchen@opentext.com> [libc/1930].
8861         * rt/Makefile (tests): Add tst-aio6.
8862         * rt/tst-aio6.c: New file.
8864 2000-11-23  Andreas Jaeger  <aj@suse.de>
8866         * sysdeps/s390/bits/string.h (strncat): Fix one more typo.
8868 2000-11-22  Andreas Jaeger  <aj@suse.de>
8870         * sysdeps/s390/bits/string.h (strncat): Add missing quotation marks.
8872 2000-11-21  Martin Schwidefsky  <schwidefsky@de.ibm.com>
8874         * sysdeps/s390/bits/string.h: Make strncat always add a \0.
8876 2000-11-21  Andreas Schwab  <schwab@suse.de>
8878         * sysdeps/alpha/setjmp.S: Remove __setjmp entry point.
8879         * sysdeps/arm/setjmp.S: Likewise.
8880         * sysdeps/arm/fpu/setjmp.S: Likewise.
8881         * sysdeps/i386/setjmp.S: Likewise.
8882         * sysdeps/i386/elf/setjmp.S: Likewise.
8883         * sysdeps/s390/setjmp.S: Likewise.
8884         * sysdeps/s390/elf/setjmp.S: Likewise.
8885         * sysdeps/sh/sh3/setjmp.S: Likewise.
8886         * sysdeps/sh/sh4/setjmp.S: Likewise.
8887         * sysdeps/sparc/sparc32/setjmp.S: Likewise.
8888         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
8889         * sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S: Likewise.
8890         * sysdeps/unix/sysv/linux/m68k/setjmp.c: Removed.
8892 2000-11-21  Andreas Jaeger  <aj@suse.de>
8894         * sysdeps/generic/__longjmp.c (__longjmp): Remove obsolete
8895         NORETURN, fix parameter list.
8897         * string/bug-strncat1.c (main): Fix typo.
8898         Patch by Bernhard Kaindl <bernhard.kaindl@suse.de>.
8900 2000-11-20  Ulrich Drepper  <drepper@redhat.com>
8902         * configure.in: Add --enable-all-warnings.
8903         * config.make.in (all-warnings): New variable.
8904         * Makeconfig (+gccwarn): Define with many more warnings if
8905         all-warnings is yes.
8907 2000-11-20  Jakub Jelinek  <jakub@redhat.com>
8909         * iconvdata/bug-iconv2.c (main): Use %zd in format string.
8910         * io/test-lfs.c (do_test): Cast statbuf.st_size to long long.
8911         * malloc/tst-valloc.c (main): Cast valloc return value to long.
8912         * malloc/tst-obstack.c (verbose_malloc): Use %zd in format string.
8913         * math/test-fpucw.c (main): Use %lx in format string, cast
8914         control words to long.
8915         * stdio-common/tst-fmemopen.c (main): Use %td in format strings.
8916         * stdlib/tst-strtol.c (tests): Avoid (bogus?) decimal constant is so
8917         large that it is unsigned warning.
8919         * sysdeps/unix/sysv/linux/sparc/bits/types.h (__ssize_t): Changing
8920         it to long on sparc64.
8922 2000-11-20  Andreas Jaeger  <aj@suse.de>
8924         * nscd/nscd.h (termination_handler): Add noreturn attribute.
8925         (receiv_print_stats): Likewise.
8927         * elf/ldconfig.c (path_hwcap): Cast -1 for proper comparison.
8929 2000-11-20  Ulrich Drepper  <drepper@redhat.com>
8931         * malloc/thread-m.h: gcc doesn't tolerate zero-sized types anymore.
8933         * csu/gmon-start.c: Always have prototype for __gmon_start.
8934         * csu/version.c: Add prototypes for __libc_print_version and
8935         __libc_main.
8936         * iconv/gconv.c: Include gconv_int.h and gconv.h.
8937         * iconv/gconv.h (struct __gconv_step): Remove const from __from_name
8938         and __to_name.
8939         * iconv/gconv_builtin.h: Add ASCII module definitions.
8940         * iconv/gconv_conf.c (__gconv_path_elem): Remove const.
8941         (add_module): Add cast to avoid warning.  Rework construction of
8942         strings for new module.
8943         * iconv/gconv_db.c (__gconv_alias_compare): Make s1 and s2 const.
8944         (derivation_compare): Likewise.
8945         * iconv/gconv_dl.c (do_release_shlib): Remove const from nodep.
8946         (__gconv_release_shlib): Cast do_release_shlib as parameter for twalk.
8947         * iconv/gconv_int.h (__gconv_path_elem): Remove const.
8948         (struct gconv_alias): Remove const from fromname and toname.
8949         * iconv/gconv_simple.c: Include gconv_builtin.h to get prototypes
8950         for loop functions.
8951         (internal_ucs4_loop): Use correct const-ness.
8952         (ucs4_internal_loop): Likewise.
8953         (internal_ucs4le_loop): Likewise.
8954         (ucs4le_internal_loop_single): Likewise.
8955         * iconv/gconv_trans.c (__gconv_transliterate): Make from_idx, from_tbl,
8956         to_idx, to_tbl, winbuf, winbufend const.  Change casts in
8957         assignments appropriately.
8958         (struct known_trans): Remove const from fname.
8959         (trans_compare): Make s1 and s2 const.
8960         * iconv/loop.c (LOOPFC): Make outend parameter const.  Add cast to
8961         avoid warning.
8962         * iconv/skeleton.c: Remove cast in calls of loop functions.
8963         * iconvdata/gconv-modules: Remove US-ASCII definitions.
8964         * iconvdata/iso646.c: Remove US_ASCII support.
8965         * include/set-hooks.h (DEFINE_HOOK): Also generate prototype.
8966         * include/unistd.h: Add __libc_check_standard_fds prototype.
8967         * string/bits/string2.h (__mempcpy_args): Add const to casts.
8968         * sysdeps/generic/initfini.c: Add prototypes for dummy, _init, and
8969         _fini.
8970         * sysdeps/generic/libc-start.c: Add prototype for __libc_start_main.
8971         * sysdeps/i386/i486/bits/string.h (strcmp): Add const to casts.
8972         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Add cast to avoid
8973         warning.
8974         * sysdeps/unix/sysv/linux/init-first.c: Add prototypes for
8975         __libc_init_first and _dl_start.
8976         * intl/dcigettext.c (transcmp): Make s1 and s2 const.
8977         (DCIGETTEXT): Make domaindata variable const.
8978         * intl/loadmsgcat.c (_nl_load_domain): Rearrange domain initialization
8979         to avoid warning.
8981 2000-11-20  Hiroyuki Machida  <machida@sm.sony.co.jp>
8983         * sysdeps/unix/sysv/linux/mips/clone.S: Fix comments.
8985         * sysdeps/unix/sysv/linux/mips/kernel_stat.h (kernel_stat): Expand
8986         time_t to 'long int' not, 'unsigned int'.  Use 'long int' for
8987         __unused? members.
8989         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (O_NOFOLLOW): Use same
8990         value defined in /usr/include/asm-mips/fcntl.h.
8992 2000-11-18  Ulrich Drepper  <drepper@redhat.com>
8994         * stdio-common/Makefile (tests): Add test-vfprintf.
8995         (test-vfprintf-ENV): New variable.
8996         * stdio-common/test-vfprintf.c: New file.
8998         * wcsmbs/mbrtowc.c (__mbrtowc): Do not only flush if input is '\0'.
9000         * wcsmbs/Makefile (tests): Add tst-mbrtowc and tst-wcrtomb.
9001         (tst-mbrtowc-ENV): New variable.
9002         (tst-wcrtomb-ENV): New variable.
9003         * wcsmbs/tst-mbrtowc.c: New file.
9004         * wcsmbs/tst-wcrtomb.c: New file.
9006 2000-11-16  Andreas Jaeger  <aj@suse.de>
9008         * manual/install.texi (Tools for Compilation): Update
9009         documentation for GCC 2.95.2.
9011 2000-11-18  Ulrich Drepper  <drepper@redhat.com>
9013         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only return -EAI_AGAIN
9014         if IPv4 and IPv6 requests timed out.
9016 2000-11-18  Akim Demaille  <akim@epita.fr>
9018         * malloc/obstack.h: Formatting changes.
9019         (obstack_grow, obstack_grow0): Don't cast WHERE at all: it
9020         prevents type checking.
9021         (obstack_ptr_grow, obstack_ptr_grow_fast): When assigning, don't
9022         cast the value to (void *): assigning a `foo *' to a `void *'
9023         variable is valid.
9024         (obstack_int_grow, obstack_int_grow_fast): Don't cast AINT to int.
9026 2000-11-17  Ulrich Drepper  <drepper@redhat.com>
9028         * scripts/config.guess: Update from upstream maintainer.
9029         * scripts/config.sub: Likewise.
9031 2000-11-16  Ulrich Drepper  <drepper@redhat.com>
9033         * libio/freopen.c (freopen): Reset _mode after succesful reopening.
9034         * libio/freopen64.c (freopen64): Likewise.
9035         Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
9037         * libio/Makefile: Add rules to build and run test-freopen.
9038         * libio/test-freopen.c: New file.
9039         * libio/test-freopen.sh: New file.
9041 2000-11-15  H.J. Lu  <hjl@gnu.org>
9043         * sysdeps/generic/ldsodefs.h (DL_DT_INIT_ADDRESS): Defined if
9044         ELF_FUNCTION_PTR_IS_SPECIAL is not defined.
9045         (DL_DT_FINI_ADDRESS): Likewise.
9047         * sysdeps/ia64/dl-lookupcfg.h (_dl_lookup_address): Set the
9048         return type to ElfW(Addr).
9049         (_dl_function_address): New prototype.
9050         (DL_FUNCTION_ADDRESS): Defined.
9051         (DL_DT_INIT_ADDRESS): Defined as DL_FUNCTION_ADDRESS.
9052         (DL_DT_FINI_ADDRESS): Likewise.
9054         * sysdeps/ia64/Versions (GLIBC_2.2): Add _dl_function_address.
9056         * sysdeps/ia64/dl-machine.h (_dl_start_address): Removed.
9057         (ELF_MACHINE_START_ADDRESS): Changed to DL_FUNCTION_ADDRESS.
9059         * sysdeps/ia64/dl-symaddr.c (_dl_start_address): Renamed to ...
9060         (_dl_function_address): This.
9062         * elf/dl-fini.c (_dl_fini): Use DL_DT_FINI_ADDRESS to get the
9063         function pointer for DT_FINI.
9064         * elf/dl-close.c (_dl_close): Likewise.
9066         * elf/dl-init.c (_dl_init): Use DL_DT_INIT_ADDRESS to get the
9067         function pointer for DT_INIT.
9069 2000-11-16  Jakub Jelinek  <jakub@redhat.com>
9071         * sysdeps/generic/printf_fphex.c (__printf_fphex): Compute correctly
9072         end of wexpbuf buffer.
9074 2000-11-16  Andreas Jaeger  <aj@suse.de>
9076         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove duplicate
9077         definition of F_GETLK, F_SETLK, F_SETLKW.
9079 2000-11-16  Andreas Jaeger  <aj@suse.de>
9081         * sysdeps/generic/dl-cache.c (_DL_PLATFORMS_COUNT): Define to 0 if
9082         it's not defined.
9084 2000-11-15  Jakub Jelinek  <jakub@redhat.com>
9086         * dlfcn/default.c (main): Add test for dladdr of main returning
9087         argv[0] in dli_fname field.
9089 2000-11-15  Jakub Jelinek  <jakub@redhat.com>
9091         * Makeconfig (run-program-prefix): Move test-static test into the
9092         variable.
9094         * sysdeps/alpha/dl-machine.h (RTLD_START): Update _dl_argv.
9095         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise,
9096         schedule instructions.
9097         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise,
9098         schedule instructions, fix a bug in copying auxiliary data.
9100 2000-11-15  Ulrich Drepper  <drepper@redhat.com>
9102         * manual/startup.texi (Program Arguments): Fix type of main's envp
9103         parameter.
9104         Reported by Raúl Núñez de Arenas Coronado <dervishd@linuxfreak.com>.
9106         * iconvdata/gconv-modules: Add CP950 alias.
9108 2000-11-13  Jakub Jelinek  <jakub@redhat.com>
9110         * sysdeps/unix/sysv/linux/Makefile: Allow ports to override
9111         syscall-list.h goal.
9112         * sysdeps/unix/sysv/linux/sparc/Makefile: New file.
9114 2000-11-15  Ulrich Drepper  <drepper@redhat.com>
9116         * intl/Makefile: tst-gettext2.sh does not need a third parameter.
9118         * intl/tst-gettext2.sh: Copy locale data.  Adjust LOCPATH.  Verify
9119         output of program.
9121         * intl/tst-gettext2.c: Set C locale if setting other locale
9122         failed.  Use gettext() not _().
9124         * locale/setlocale.c: Increment _nl_msg_cat_cntr whenever we
9125         successfully loaded a new locale.
9127 2000-11-13  Andreas Jaeger  <aj@suse.de>
9129         * configure.in: Require gcc 2.95 or newer.
9131 2000-11-15  Ulrich Drepper  <drepper@redhat.com>
9133         * sysdeps/unix/sysv/linux/paths.h: Adjust for FHS.
9134         Patch by Arkadiusz Miskiewicz <misiek@pld.ORG.PL>.
9136 2000-11-11  Jim Meyering  <meyering@lucent.com>
9138         * string/strndup.c (strndup): Cast return value to `char *'.
9140 2000-11-15  Jim Meyering  <meyering@ascend.com>
9142         * sysdeps/generic/memchr.c: Remove some useless parentheses.
9143         [HAVE_STDLIB_H || defined _LIBC]: Include <stdlib.h>.
9144         [HAVE_BP_SYM_H || defined _LIBC]: Guard inclusion of bp-sym.h.
9145         [! (HAVE_BP_SYM_H || defined _LIBC)] (BP_SYM): Define as no-op.
9146         Also #undef __memchr.
9147         Use `weak_alias' only if it's defined.
9149 2000-11-10  H.J. Lu  <hjl@gnu.org>
9151         * Makefile.in (install): Set LANGUAGE=C LC_ALL=C.
9153 2000-11-15  Andreas Jaeger  <aj@suse.de>
9155         * elf/chroot_canon.c: Include <stdint.h>.
9157         * elf/cache.c (struct cache_entry): Use uint64_t for hwcap.
9158         (print_entry): Likewise.
9159         (add_to_cache): Likewise.
9161         * elf/ldconfig.h (add_to_cache): Change prototype for hwcap change.
9163         * elf/ldconfig.c (struct lib_entry): Use uint64_t for hwcap.
9164         (path_hwcap): Likewise.
9165         (search_dir): Likewise.
9167         * sysdeps/generic/dl-cache.c (HWCAP_CHECK): Handle platform.
9169         * elf/cache.c (add_to_cache): Handle 64 bit hwcap entry.
9171         * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h
9172         (_dl_platform_string): New.
9173         (_DL_HWCAP_PLATFORM): New.
9174         (_dl_string_platform): New.
9175         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h: Likewise.
9177         * sysdeps/generic/dl-procinfo.h (_DL_HWCAP_COUNT): New.
9178         (_dl_string_platform): New.
9179         (_DL_HWCAP_PLATFORM): New.
9180         (_dl_platform_string): New.
9182         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Added x86 platform
9183         recognition.
9184         (_DL_HWCAP_COUNT): New.
9185         (_dl_string_platform): New.
9186         (_DL_HWCAP_PLATFORM): New.
9187         (_dl_platform_string): New.
9189 2000-11-14  Ulrich Drepper  <drepper@redhat.com>
9191         * iconvdata/gconv-modules: Add CP936 as alias for GBK.
9193 2000-11-14  Andreas Jaeger  <aj@suse.de>
9195         * sysdeps/generic/dl-cache.c (HWCAP_CHECK): Fix access to _dl_hwcap.
9197 2000-11-13  Roland McGrath  <roland@frob.com>
9199         * hurd/get-host.c (_hurd_get_host_config): Fix last change.
9201 2000-11-13  Marcus Brinkmann <marcus@gnu.org>
9203         * hurd/get-host.c (_hurd_get_host_config): Fix possible buffer
9204         underrun and make sure the result is null terminated even if there
9205         is no trailing newline.
9207 2000-11-13  Jakub Jelinek  <jakub@redhat.com>
9209         * sysdeps/alpha/fpu/libm-test-ulps: Update.
9211 2000-11-10  H.J. Lu  <hjl@gnu.org>
9213         * sysdeps/ia64/fpu/libm-test-ulps: Updated.
9215 2000-11-10  Andreas Jaeger  <aj@suse.de>
9217         * elf/ldconfig.c (create_links): Fix alloca calculation.
9218         Patch by Ben Collins <bcollins@debian.org>.
9220 2000-11-09  Ulrich Drepper  <drepper@redhat.com>
9222         * inet/getnameinfo.c (getnameinfo): Use correct destination
9223         parameter for if_indextoname.
9224         Patch by Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>.
9226 2000-11-09  H.J. Lu  <hjl@gnu.org>
9228         * sunrpc/Versions (GLIBC_2.1): Remove xdr_cryptkeyarg,
9229         xdr_cryptkeyarg2, xdr_cryptkeyres, xdr_des_block,
9230         xdr_key_netstarg, xdr_key_netstres, xdr_keybuf and
9231         xdr_keystatus.
9233         * time/Versions (GLIBC_2.1): Move getitimer to...
9234         * sysdeps/unix/sysv/linux/alpha/Versions (GLIBC_2.1): ...here.
9236 2000-11-03  Bruno Haible  <haible@clisp.cons.org>
9238         * manual/install.texi: Recommend to set LANGUAGE=C LC_ALL=C during
9239         "make install", to work around a binary incompatibility between
9240         glibc 2.1 and glibc 2.2 gconv modules.
9242 2000-11-09  Ulrich Drepper  <drepper@redhat.com>
9244         * intl/locale.alias: Add thai.
9245         Patch by Chanop Silpa-Anan <chanop@syseng.anu.edu.au>.
9247 2000-11-07  Akim Demaille  <akim@epita.fr>
9249         * malloc/obstack.c (obstack_grow, obstack_grow0): Rename the second
9250         argument `data' for consistency with the prototypes.
9251         Qualify it `const'.
9252         (obstack_copy, obstack_copy0): Rename the second argument as
9253         `address' for consistency.  Qualify it `const'.
9254         * malloc/obstack.h (obstack_copy, obstack_copy0, obstack_grow)
9255         (obstack_grow0, obstack_ptr_grow, obstack_ptr_grow_fast): Qualify
9256         `const' their input argument (`data' or `address').
9257         Adjust the corresponding macros to include `const' in casts.
9259 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
9261         * sysdeps/posix/getaddrinfo.c: Clean-up: define family to hold
9262         target family.
9264 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
9266         * sysdeps/posix/getaddrinfo.c: Loosen protocol check to ease raw
9267         socket creation.
9269 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
9271         * sysdeps/posix/getaddrinfo.c: Ensure to fill ai_socktype and
9272         ai_protocol by internal table if service was not given.
9274 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
9276         * sysdeps/posix/getaddrinfo.c: Don't raise an error even if
9277         numerical port was specified with protocol without socktype.
9279 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
9281         * sysdeps/posix/getaddrinfo.c: Ensure to check if protocol is ok.
9283 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
9285         * inet/getnameinfo.c: getnameinfo() NI_xxx flag validation.
9287 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
9289         * sysdeps/posix/getaddrinfo.c: Ensure not to fill garbage value in
9290         sin6_scope_id field.
9292 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
9294         * inet/getnameinfo.c: Repair getnameinfo() sin6_socpe_id support.
9296 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
9298         * inet/getnameinfo.c: Repair NI_NOFQDN flag support.
9300 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
9302         * inet/getnameinfo.c: Wake-up sin6_scope_id support in
9303         getnameinfo(): check for whether sin6_socpe_id exist was wrong.
9305 2000-11-09  Martin Schwidefsky  <mschwide@nc.boeblingen.de.ibm.com>
9307         * sysdeps/unix/sysv/linux/s390/mmap.S: Use mmap2 if it is present.
9308         * sysdeps/unix/sysv/linux/s390/mmap64.S: New file.
9310 2000-11-09  H.J. Lu  <hjl@gnu.org>
9312         * io/Versions (GLIBC_2.1.1): Remove lockf64.
9315 See ChangeLog.11 for earlier changes.