Update.
[glibc.git] / ChangeLog
blob9621e02c1fa8ae4bb7ff9c4a000518c3f1ef5ee7
1 2001-07-23  Andreas Jaeger  <aj@suse.de>
3         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Add some deltas.
5 2001-07-23  Ulrich Drepper  <drepper@redhat.com>
7         * iconv/gconv_cache.c (__gconv_lookup_cache): Select correct
8         module for conversion direction.
10 2001-07-23  Stephen L Moshier  <moshier@mediaone.net>
12         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Return proper
13         sign for 0 input.  Return NaN with no exception for NaN input.
15 2001-07-23  Ulrich Drepper  <drepper@redhat.com>
17         * iconv/gconv_builtin.h: ISO-106464/UTF-8/ transformation must
18         really be an alias.
20 2001-07-23  Andreas Jaeger  <aj@suse.de>
22         * iconv/iconvconfig.c: Include <sys/cdefs.h> and use
23         __attribute_malloc__ for older GCC versions.
24         * iconv/strtab.c: Likewise.
25         Add prototypes to avoid warnings.
27 2001-07-22  Roland McGrath  <roland@frob.com>
29         * hurd/hurdsig.c (_hurd_internal_post_signal): Support SA_RESETHAND
30         and SA_NODEFER options.  Spurred to action by Igor Khavkine.
32         * sysdeps/generic/bits/sigaction.h [__USE_UNIX98 || __USE_MISC]
33         (SA_NODEFER, SA_RESETHAND): New macros, same bit values as FreeBSD.
34         [__USE_MISC] (SA_INTERRUPT): New macro, value 0.
35         [__USE_MISC] (SA_NOMASK, SA_ONESHOT, SA_STACK): New macros, aliases
36         as in other sysdeps versions of this file.
38         * sysdeps/generic/bits/sigaction.h (struct sigaction): Use a union
39         and provide sa_handler and sa_sigaction member names as macros, as
40         done in other sysdeps versions of this file.
41         Suggested by Igor Khavkine <i_khavki@alcor.concordia.ca>.
43 2001-07-23  Ulrich Drepper  <drepper@redhat.com>
45         * posix/regex.c: Revamp memory allocation for WCHAR functions to
46         not use too much stack.
48 2001-07-22  Ulrich Drepper  <drepper@redhat.com>
50         * iconv/iconvconfig.c (write_output): Update comment explaining
51         output format.
53         * elf/dl-load.c (_dl_dst_count): In SUID binaries expand $ORIGIN
54         if it is alone.
55         (_dl_dst_substitute): Likewise.
57         * iconv/iconvconfig.c: Remove --verbose option.  Comment out
58         mcheck_verbose call.
60         * iconv/strtab.c (morememory): Fix little memory handling problem.
62 2001-07-22  Andreas Schwab  <schwab@suse.de>
64         * sysdeps/unix/sysv/linux/m68k/sysdep.h (INLINE_SYSCALL): Don't
65         mark asm input operand as clobbered.
66         * sysdeps/unix/sysv/linux/m68k/brk.c (__brk): Likewise.
68 2001-07-22  Ulrich Drepper  <drepper@redhat.com>
70         * iconv/gconv_builtin.c (struct builtin_map): Remove init and end
71         elements.
72         (BUILTIN_TRANSFORMATION): Remove Init and End parameters.
73         (__gconv_get_builtin_trans): Initialize __init_fct and __end_fct to
74         NULL.
75         * iconv/gconv_builtin.h: Remove NULL parameters for Init and End in
76         all BUILTIN_TRANSFORMATION calls.
77         * iconv/gconv_conf.c (BUILTIN_TRANSFORMATION): Remove Init and End
78         parameters.
79         * iconv/gconv_simple.c: Likewise.
80         * iconv/gconv_db.c (gen_steps): Internal converters don't have
81         initializers, move the code accordingly.
83         * iconv/gconv_conf.c (__gconv_read_conf): Don't read configuration
84         file if STATIC_GCONV is defined.
86         * iconv/gconv_conf.c (__gconv_path_envvar): New global variable.
87         (__gconv_get_path): Use it instead of call getenv.
88         (__gconv_read_conf): First see whether cache can be used.  If yes,
89         don't do any work here.
90         * iconv/gconv_db.c (__gconv_release_step): Renamed from release_step
91         and exported.  Change callers.
92         (__gconv_find_transform): First call __gconv_lookup_cache and only
93         continue if it signals no cache available.  Remove some unnecessary
94         tests.
95         * iconv/gconv_int.h: Declare __gconv_path_envvar, __gconv_lookup_cache,
96         __gconv_release_step, and __gconv_loaded_cache.
97         * iconv/gconv_cache.c: New file.
98         * iconv/iconvconfig.c: New file.
99         * iconv/iconvconfig.h: New file.
100         * iconv/strtab.c: New file.
101         * iconv/Makefile: Add rules to build new files and programs.
103 2001-07-20  Roland McGrath  <roland@frob.com>
105         * sysdeps/generic/device-nrs.h (DEV_TTY_P): Change argument type
106         from `dev_t' (st_rdev value) `const struct stat *'.
107         * sysdeps/unix/sysv/linux/device-nrs.h (DEV_TTY_P): Likewise.
108         * libio/filedoalloc.c (_IO_file_doallocate): Change caller.
109         * sysdeps/mach/hurd/device-nrs.h: New file.
111         * libio/stdio_ext.h: Moved to ...
112         * stdio-common/stdio_ext.h: ... here.
113         * libio/Makefile (headers): Move stdio_ext.h from here ...
114         * stdio-common/Makefile (headers): ... to here.
115         * include/stdio_ext.h: New file.
116         * stdio/Makefile (routines): Add the stdio_ext.h functions here.
117         * stdio/Versions (GLIBC_2.2.4): Export the stdio_ext.h functions.
118         * stdio/__flbf.c: New file.
119         * stdio/__fbufsize.c: New file.
120         * stdio/__fpending.c: New file.
121         * stdio/__fpurge.c: New file.
122         * stdio/__freadable.c: New file.
123         * stdio/__freading.c: New file.
124         * stdio/__fsetlocking.c: New file.
125         * stdio/__fwritable.c: New file.
126         * stdio/__fwriting.c: New file.
128 2001-07-20  Ulrich Drepper  <drepper@redhat.com>
129             Andreas Jaeger  <aj@suse.de>
131         * elf/ldconfig.c (search_dir): Avoid use of uninitialized memory.
132         Add a few __builtin_expect to mark unlikely error cases.
134 2001-07-20  Andreas Jaeger  <aj@suse.de>
136         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Synch with kernel.
137         Patch by Daniel Jacobowitz <dan@debian.org>.
139 2001-07-19  Ulrich Drepper  <drepper@redhat.com>
141         * intl/localealias.c: Remove unnecessary prototype.
143         * Makefile: Add html goal.
144         * manual/Makefile: Likewise.
146 2001-07-18  Ulrich Drepper  <drepper@redhat.com>
148         * libio/filedoalloc.c (_IO_file_doallocate): A few more minor
149         cleanups and improvements.
151 2001-07-18  Andreas Schwab  <schwab@suse.de>
153         * posix/regex.c (WORDCHAR_P) [WCHAR]: Also return true for the
154         underscore character.
156 2001-07-18  Jakub Jelinek  <jakub@redhat.com>
158         * malloc/malloc (new_heap): Don't call munmap for zero length.
160 2001-07-18  Ulrich Drepper  <drepper@redhat.com>
162         * libio/filedoalloc.c (_IO_file_doallocate): Use DEV_TTY_P if
163         available to determine whether descriptor is for tty before
164         calling isatty.
166         * sysdeps/unix/sysv/linux/device-nrs.h: Define DEV_TTY_P.
167         * sysdeps/generic/device-nrs.h: Likewise.
169 2001-07-18  Andreas Jaeger  <aj@suse.de>
171         * time/Makefile (tst-getdate-ENV): Add TZDIR to environment.
173         * time/Depend: New, add dependency on timezone.
175         * time/tst-getdate.c: Add testcase for bug report by Hendrik
176         Uhlmann <HUhlmann@stn-atlas.de>.
177         * time/datemsk: Likewise.
179 2001-07-17  Ulrich Drepper  <drepper@redhat.com>
181         * elf/ldconfig.c (parse_conf): Disable implicit locking for the
182         stream.  Remove some unnecessary initializers.
184 2001-07-17  Andreas Jaeger  <aj@suse.de>
186         * elf/ldconfig.c: Add new variable hwcap_mask to honour LD_HWCAP_MASK.
187         (is_hwcap_platform): Use it.
188         (set_hwcap): New function to set hwcap_mask.
189         (main): Call set_hwcap.
191 2001-07-17  Jakub Jelinek  <jakub@redhat.com>
193         * time/getdate.c (__getdate_r): Initialize tm_isdst, tm_gmtoff and
194         tm_zone before calling strptime.
196 2001-07-17  Andreas Schwab  <schwab@suse.de>
198         * sysdeps/unix/sysv/linux/m68k/getpagesize.c: Fix last change.
200 2001-07-17  Ulrich Drepper  <drepper@redhat.com>
202         * inet/rcmd.c (iruserfopen): Disable implicit locking for the stream.
203         * inet/ruserpass.c (ruserpass): Likewise.
204         * nss/nsswitch.c (nss_parse_file): Likewise.
205         * resolv/res_hconf.c (_res_hconf_init): Likewise.
206         * resolv/res_init.c (__res_vinit): Likewise.
207         * gmon/bb_exit_func.c (__bb_exit_func): Likewise.
208         * misc/getpass.c (getpass): Likewise.
209         * misc/getusershell.c (initshells): Likewise.
210         * misc/getttyent.c (setttyent): Likewise.
211         * misc/mntent_r.c (__setmntent): Likewise.
212         * time/getdate.c (__getdate_r): Likewise.
213         * time/tzfile.c (__tzfile_read): Likewise.
214         * iconv/gconv_conf.c (read_conf_file): Likewise.
215         * intl/localealias.c (read_alias_file): Disable implicit locking
216         for the stream.  Use _unlocked functions for glibc.
217         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Disable
218         implicit locking for the stream.
219         (__get_nprocs_conf): Likewise.
220         (phys_pages_info): Likewise.
222 2001-07-16  Ulrich Drepper  <drepper@redhat.com>
224         * nscd/connections.c: Print messages caused by user application
225         only if debug_level > 0.  Add little performance improvements.
226         Use TEMP_FAILURE_RETRY around write calls.
227         * nscd/grpcache.c: Likewise.
228         * nscd/hstcache.c: Likewise.
229         * nscd/pwdcache.c: Likewise.
231 2001-07-13  H.J. Lu  <hjl@gnu.org>
233         * sysdeps/mips/dl-machine.h (MAP_BASE_ADDR): Removed.
234         (elf_machine_got_rel): Defined only if RTLD_BOOTSTRAP is not defined.
235         (RESOLVE_GOTSYM): Rewrite to use RESOLVE.
237         * sysdeps/mips/rtld-ldscript.in: Removed.
238         * sysdeps/mips/rtld-parms: Likewise.
239         * sysdeps/mips/mips64/rtld-parms: Likewise.
240         * sysdeps/mips/mipsel/rtld-parms: Likewise.
242 2001-07-16  Ulrich Drepper  <drepper@redhat.com>
244         * catgets/test-gencat.sh: Use <<"EOF" instead of <<EOF to prevent
245         substitution in here document.
247 2001-07-16  Andreas Schwab  <schwab@suse.de>
249         * sysdeps/posix/spawni.c: Fix typo when iterating over signal numbers.
251 2001-07-16  Andreas Schwab  <schwab@suse.de>
253         * math/libm-test.inc (check_float_internal): Fix sign bit test of
254         infinities.
256 2001-07-16  Jakub Jelinek  <jakub@redhat.com>
258         * sysdeps/i386/fpu/e_expl.c (__ieee754_expl): Make it PIC friendly.
260 2001-07-15  Ulrich Drepper  <drepper@redhat.com>
262         * malloc/obstack.c: Define __attribute__ for non-gcc compilers.
263         Patch by Jim Meyering <jim@meyering.net>.
265 2001-07-12  Martin Schwidefsky  <schwidefsky@de.ibm.com>
267         * sysdeps/unix/sysv/linux/s390/s390-64/bits/sigaction.h: Reorder
268         fields in the sigaction struct to match the definition in the kernel.
270 2001-07-12  Martin Schwidefsky  <schwidefsky@de.ibm.com>
272         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Correct the
273         test for ENOSYS.
275 2001-07-12  Martin Schwidefsky  <schwidefsky@de.ibm.com>
277         * sysdeps/s390/s390-32/bits/setjmp.h: Add leading underscores
278         to the entries in the __jmp_buf structure.
279         * sysdeps/s390/s390-64/bits/setjmp.h: Likewise.
281 2001-07-12  Martin Schwidefsky  <schwidefsky@de.ibm.com>
283         * sysdeps/s390/s390-32/bcopy.S: Use mvcle for big blocks
284         (> 64K) and a mvc loop for small blocks.
285         * sysdeps/s390/s390-32/memcpy.S: Likewise.
286         * sysdeps/s390/s390-64/bcopy.S: Likewise.
287         * sysdeps/s390/s390-64/memcpy.S: Likewise.
289 2001-07-15  Andreas Schwab  <schwab@suse.de>
291         * sysdeps/unix/sysv/linux/m68k/sys/procfs.h: New file.
292         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: New file.
294         * sysdeps/unix/sysv/linux/m68k/getpagesize.c: Check _dl_pagesize
295         first.  Default to 4096, not EXEC_PAGESIZE.
297         * iconv/loop.c (put16) [!_STRING_ARCH_unaligned && BIG_ENDIAN]:
298         Fix index.
300 2001-07-09  Andreas Jaeger  <aj@suse.de>
302         * sysdeps/unix/sysv/linux/i386/dl-procinfo.c: Name entry for xmm2.
304         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Add HWCAP_I386_XMM,
305         HWCAP_I386_XMM2 to enum.
307 2001-07-13  Andreas Jaeger  <aj@suse.de>
309         * libio/fileops.c: Include unistd.h for lseek64 prototype.  Closes
310         PR libc/2372.
312 2001-07-12  Ulrich Drepper  <drepper@redhat.com>
314         * Makeconfig: Add some more changes to handle AIX linker better.
316 2001-07-12  H.J. Lu  <hjl@gnu.org>
318         * sysdeps/generic/segfault.c: Include <errno.h>.
320 2001-07-01  Andreas Jaeger  <aj@suse.de>
322         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk): Remove duplicate
323         sbrk.  Closes PR libc/2312.
325 2001-07-01  Andreas Jaeger  <aj@suse.de>
327         * sysdeps/generic/segfault.c (install_handler): Handle case that
328         the output file does not exists.  Closes PR libc/2345.
330 2001-07-11  Ulrich Drepper  <drepper@redhat.com>
332         * intl/locale.alias: Use he language code for hebrew, not il
333         [PR libc/2382].
335 2001-07-11  Jakub Jelinek  <jakub@redhat.com>
337         * iconv/gconv_int.h: Fix comment typo.
339 2001-07-11  Igor Khavkine  <i_khavki@alcor.concordia.ca>
341         * hurd/hurdsig.c (_hurdsig_init): Remove a useless line of code.
343 2001-07-07  Roland McGrath  <roland@frob.com>
345         * hurd/hurdsig.c (_hurd_thread_sigstate): Use MACH_PORT_NULL, not 0.
347 2001-07-10  Stephen L Moshier  <moshier@mediaone.net>
349         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl):  Fix
350         backwards conditional in test for x == 1.0.
352 2001-07-10  Andreas Jaeger  <aj@suse.de>
354         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Add ulps for tanh
355         (-0.7).
357 2001-07-09  Andreas Jaeger  <aj@suse.de>
359         * sysdeps/unix/sysv/linux/configure.in: Revert patch from
360         2001-07-05 for sysconfdir handling.
361         * config.make.in (sysconfdir): Likewise.
362         * configure.in: Likewise.
364         * configure.in: Always assign libc_cv_sysconfdir.
366 2001-07-08  Ulrich Drepper  <drepper@redhat.com>
368         * Makerules [AIX] (build-shlib-helper): Precede linker options
369         with -Wl.
371         * Makeconfig (config-LDFLAGS): Add ld.so only for ELF.
373         * sysdeps/unix/make_errlist.c: Adjust sys_errlist declaration to
374         what we define in <stdio.h>.
376         * iconv/iconv_prog.c (main): Don't unconditionally define
377         variables only use if _POSIX_MAPPED_FILES is defined.
379         * sysdeps/unix/sysv/aix/sendmsg.c (sendmsg): Fix return type.
380         * sysdeps/unix/sysv/aix/recvmsg.c (recvmsg): Likewise.
382         * sysdeps/unix/sysv/aix/recv.c: New file.
384         * sysdeps/unix/sysv/aix/recvfrom.c: Fix various types.
386 2001-07-07  Ulrich Drepper  <drepper@redhat.com>
388         * sysdeps/generic/recv.c: Fix return type.
390         * sysdeps/unix/sysv/aix/dl-libc.c (__libc_dlclose): Fix typo.
392         * sysdeps/unix/sysv/aix/gettimeofday.c (__gettimeofday): Add
393         declarations for asm functions.
395         * include/libc-symbols.h: Provide more dummy definitions for the
396         case if GNU ld isn't used.
398         * libio/freopen.c: Include <stdlib.h> for free declaration.
399         * libio/freopen64.c: Likewise.
401         * sysdeps/alpha/fpu/libm-test-ulps: Add deltas for tanh(-0.7).
403 2001-07-06  Jakub Jelinek  <jakub@redhat.com>
405         * sysdeps/unix/sysv/linux/i386/sigaction.c (RESTORE2): Put asm
406         explicitly into .text section.
408 2001-04-16  Jes Sorensen  <jes@linuxcare.com>
410         * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h (struct sigcontext):
411         Add 16 longwords reserved for future use to match changes in the
412         kernel.
414 2001-07-03  Jes Sorensen  <jes@trained-monkey.org>
416         * sysdeps/ia64/strncpy.S: Call strnlen() when determining the
417         string length rather than strlen(). Solves the performance problem
418         of doing strlen on a 5MB string when strncpy was called with a
419         length argument of 5 bytes.
421 2001-07-02  Jakub Jelinek  <jakub@redhat.com>
423         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
424         R_SPARC_UA16 and R_SPARC_UA32.
425         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
427 2001-07-01  Stephen L Moshier  <moshier@mediaone.net>
429         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl):
430         acosh(x) = ln(2x) if x > 2^30.
431         * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl):
432         acosh(x) = ln(2x) if x > 2^54.
434 2001-07-07  Mark Kettenis  <kettenis@gnu.org>
436         * sysdeps/mach/hurd/i386/exc2signal.c (_hurd_exception2signal):
437         Generate SIGSEGV instead of SIGBUS for KERN_INVALID_ADDRESS and
438         KERN_WRITE_PROTECTION_FAILURE.
440 2001-07-07  Ulrich Drepper  <drepper@redhat.com>
442         * posix/regex.c: Limit string length printed in debug messages to
443         100 chars.
445         * configure.in: Don't warn about versioning if not on ELF system.
447 2001-07-07  Andreas Jaeger  <aj@suse.de>
449         * sysdeps/*: Put files from GNU MP Library under LGPL v2.1.
451 2001-07-06  Ulrich Drepper  <drepper@redhat.com>
453         * po/gl.po: Update from translation team.
455 2001-07-06  Andreas Jaeger  <aj@suse.de>
457         * sysdeps/unix/sysv/linux/configure.in: Fix handling of
458         sysconfdir.
460         * manual/libc-texinfo.sh: Add note for the FDL.
462         * manual/argp.texi (Argp Example 4): Fix texinfo warning.
464         * manual/libc.texinfo: Regenerated.
466         * manual/fdl.texi: Fix node.
468         * config.make.in (sysconfdir): Replace correctly.
469         Closes PR libc/2369, reported by Peter Simons <simons@cryp.to>.
471         * sysdeps/unix/sysv/linux/alpha/configure.in: Removed, it's no
472         longer needed.
474         * sysdeps/unix/sysv/linux/configure.in (libc_cv_linuxVER): Add
475         case for alpha.
476         Rework handling of missing linuxthreads add-on.
478         * configure.in: Remove unused sysconfdir substitution.
480         * manual/Makefile (texis): Add fdl.texi.
481         * manual/fdl.texi: New.
482         * manual/socket.texi (Host Names): Improve grammar, fix overflow hbox.
483         * manual/libc.texinfo: Add fdl, update titlepage.
484         Patches by Brian Youmans <3diff@gnu.org>.
486         * sysdeps/unix/make_errlist.c (main): Print LGPL v2.1 for
487         generated file.
489 2001-07-06  Paul Eggert  <eggert@twinsun.com>
491         * manual/argp.texi: Remove ignored LGPL copyright notice; it's
492         not appropriate for documentation anyway.
493         * manual/libc-texinfo.sh: "Library General Public License" ->
494         "Lesser General Public License".
495         * COPYING: Fix Y2k bug in sample copyright notices.
496         * manual/lesser.texi: Renamed from manual/lgpl.texinfo,
497         as fsf.org uses the name "lesser.texi".
498         * manual/Makefile (texis): Follow rename.
500 2001-07-06  Andreas Jaeger  <aj@suse.de>
502         * All files under GPL/LGPL version 2: Place under LGPL version
503         2.1.
505 2001-07-05  Andreas Jaeger  <aj@suse.de>
507         Synch with Linux 2.4.6:
508         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_BLUETOOTH):
509         New.
510         (AF_BLUETOOTH): New.
512         * sysdeps/unix/sysv/linux/s390/s390-64/bits/socket.h
513         (PF_BLUETOOTH): New.
514         (AF_BLUETOOTH): New.
516         * sysdeps/unix/sysv/linux/mips/bits/socket.h (AF_BLUETOOTH): New.
517         (PF_BLUETOOTH): New.
519         * sysdeps/unix/sysv/linux/ia64/bits/socket.h (AF_BLUETOOTH): New.
520         (PF_BLUETOOTH): New.
522         * sysdeps/unix/sysv/linux/alpha/bits/socket.h (PF_BLUETOOTH): New.
523         (AF_BLUETOOTH): New.
525         * sysdeps/unix/sysv/linux/bits/socket.h (PF_BLUETOOTH): New.
526         (AF_BLUETOOTH): New.
528         * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_IEEE80211): New.
530         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (N_HCI): New.
532         * sysdeps/unix/sysv/linux/mips/bits/ioctl-types.h (N_HCI): New.
534         * sysdeps/unix/sysv/linux/bits/ioctl-types.h (N_HCI): New.
536 2001-07-04  Roland McGrath  <roland@frob.com>
538         * hurd/hurdsig.c (_hurd_internal_post_signal): For SS->suspended
539         wakeup message, use MACH_MSG_TYPE_MAKE_SEND for the receiver port
540         rather than doing a mach_port_insert_right call first.
542 2001-06-26  Roland McGrath  <roland@frob.com>
544         * hurd/hurdioctl.c: Include <string.h> for memcpy decl.
546 2001-07-03  Andreas Jaeger  <aj@suse.de>
548         * sysdeps/unix/sysv/sysv4/solaris2/configure.in: Remove check for
549         crypt add-on.
551 2001-07-01  Mark Kettenis  <kettenis@gnu.org>
553         * sysdeps/mach/hurd/if_index.c: Redone to use new interfaces in
554         the Hurd pfinet server, using equivalent code from the Linux
555         version in sysdeps/unix/sysv/linux/if_index.c. In detail:
556         Include <unistd.h>, <error.h>, <sys/ioctl.h>, <hurd/ioctl.h> and
557         <hurd/pfinet.h>.  Don't include <sys/mman.h> and <hurd/fsys.h>
558         anymore.
559         (if_nametoindex): New implementation using SIOCGIFINDEX.
560         (if_freenameindex): Straight copy of the Linux version.
561         (if_nameindex): New implementation based on pfinet_siocgifconf and
562         SIOCGIFINDEX.
563         (if_indextoname): New implementation using SIOCGIFNAME.
564         (map_interfaces): Function removed.
565         From Marcus Brinkmann <marcus@gnu.org>.
567 2001-06-30  Jakub Jelinek  <jakub@redhat.com>
569         * sysdeps/powerpc/dl-machine.c (__elf_preferred_address): Prefer
570         gaps below main executable.
572 2001-06-19  Andreas Jaeger  <aj@suse.de>
574         * sysdeps/powerpc/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE):
575         Handle profiling.
577 2001-06-29  Andreas Jaeger  <aj@suse.de>
579         * sysdeps/ieee754/ldbl-128/s_asinhl.c: New file.
580         Patch by Stephen L Moshier <moshier@mediaone.net>.
582 2001-06-28  Ulrich Drepper  <drepper@redhat.com>
584         * manual/argp.texi: Tons of cleanups.
585         Patch by Clifford U. Smith <cuel@swbell.net>.
587 2001-06-28  Mark Kettenis  <kettenis@gnu.org>
589         * manual/users.texi (Setting Groups): Correct initgroups
590         documentation.  Add documentation for getgrouplist.
592 2001-06-28  H.J. Lu  <hjl@gnu.org>
594         * locale/findlocale.c (locale_file_list): Renamed to ...
595         (_nl_locale_file_list): This.  Make it extern.
596         (free_mem): Move to ...
597         * locale/setlocale.c (free_mem): Here.
599 2001-06-28  Mark Kettenis  <kettenis@gnu.org>
601         * sysdeps/mach/hurd/read.c: Include <hurd/fd.h>.
602         (__libc_read): Don't call __pread.  Use _hurd_fd_read directly
603         instead.
604         * sysdeps/mach/hurd/write.c: Include <hurd/fd.h>.
605         (__libc_write): Don't call __pwrite.  Use _hurd_fd_write directly
606         instead.
608         * sysdeps/mach/hurd/Makefile ($(link-rpcuserlibs)): Add back
609         -Wl,-soname option lost in 2001-06-16 change.
611 2001-06-27  Ulrich Drepper  <drepper@redhat.com>
613         * posix/tst-regex.c: Pass REG_NEWLINE to regcomp.  Add extra tests.
614         Restrict printing of string in debug mode to 100 characters to make
615         the output useful for long input texts.
617         * posix/Makefile: Add rules to build and run tst-regex.
619 2001-06-20  Isamu Hasegawa  <isamu@yamato.ibm.com>
621         * posix/regex.c (FREE_WCS_BUFFERS): New macro to free buffers.
622         (re_search_2): Invoke convert_mbs_to_wcs and FREE_WCS_BUFFERS.
623         (wcs_re_match_2_internal): Check whether the wcs buffers need
624         seting up or not, and skip seting up routin if not needed.
626 2001-06-26  Isamu Hasegawa  <isamu@yamato.ibm.com>
628         * posix/regex.c (count_mbs_length): Use binary search for optimization.
630 2001-06-27  Ulrich Drepper  <drepper@redhat.com>
632         * posix/tst-regex.c: Fix several bugs.  Add more tests.
634 2001-06-26  Mark Kettenis  <kettenis@gnu.org>
636         * hurd/Makefile (user-interfaces): Add pfinet.
637         * hurd/hurdioctl.c: Include <hurd/pfinet.h>, <net/if.h> and
638         <netinet/in.h>.
639         (siocgifconf): New function.  Register it with HURD_HANDLE_IOCTL
640         as the handler for SIOCGIFCONF.
641         * sysdeps/mach/hurd/bits/ioctls.h: Modify SIOCSIFFLAGS and
642         SIOCGIFFLAGS to be of IOC type ifreq_short.  Modify SIOCSIFMETRIC
643         and SIOCGIFMETRIC to be of IOC type ifreq_int.  Add new macro
644         definitions for SIOCGIFMTU, SIOCSIFMTU, SIOCGIFINDEX and
645         SIOCGIFNAME.
646         From Marcus Brunkmann <marcus@gnu.org>.
648 2001-06-25  Ulrich Drepper  <drepper@redhat.com>
650         * sysdeps/gnu/net/if.h: Correct _IOT_ifreq and add _IOT_ifreq_short
651         and _IOT_ifreq_int.  Patch by Mark Kettenis <kettenis@wins.uva.nl>.
653         * elf/dl-deps.c (_dl_map_object_deps): Fix handling of failing
654         _dl_catch_error calls.
656 2001-06-22  Jakub Jelinek  <jakub@redhat.com>
658         * posix/regex.c (regex_compile, re_match_2_internal): Fix comment
659         typos.
661 2001-06-01  Wolfram Gloger  <wg@malloc.de>
663         * malloc/malloc.c (malloc_atfork, free_atfork): Use a unique value
664         ATFORK_ARENA_PTR, not 0, for the thread-specific arena pointer
665         when malloc_atfork is in use.
667 2001-06-22  Andreas Jaeger  <aj@suse.de>
669         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Add parenthese
670         to avoid warnings.
672         * sysdeps/i386/fpu/e_expl.c (__ieee754_expl): Remove unused
673         variable.
674         Add unused attributes to avoid warnings.
676         * elf/reldep4mod4.c: Add prototype to avoid warning.
677         * elf/reldep4mod2.c: Likewise.
679         * sysdeps/i386/fpu/e_expl.c: Include <math_private.h> for
680         prototypes.
682 2001-06-18  Roland McGrath  <roland@frob.com>
684         * hurd/hurd/fd.h (_hurd_fd_error_signal): Change return type to int.
686 2001-06-20  Alexandre Oliva  <aoliva@redhat.com>
688         * sysdeps/unix/sysv/settimeofday.c: Include time.h.
690 2001-06-19  Martin Schwidefsky  <schwidefsky@de.ibm.com>
692         * sysdeps/unix/sysv/linux/s390/s390-64/dl-cache.h: New file.
694 2001-05-09  Michael Keezer  <mkeezer@redhat.com>
696         * Makeconfig: Added AIX-ld support for DSO.
697         * Makerules: Likewise.
698         * dlfcn/Makefile (defaultmod1.so): Added libc_nonshared.
699         (defaultmod2.so): Likewise.
700         * debug/Makefile: Conditionalize use of elf/ld.so.
701         * iconvdata/Makefile: Moved LDFLAG rpath/soname info into Makeconfig.
703         * sysdeps/unix/sysv/aix/Makefile: Added dl-support.c and dl-error.c.
704         * sysdeps/unix/sysv/aix/Makefile: Made (f/g)rsave(0/1) &
705         (f/g)prrest(0/1) static only.
706         * sysdeps/unix/sysv/aix/gettimeofday.c: Removed #if 0.
707         * sysdeps/unix/sysv/aix/start.c: Define __dso_handle if not ELF but
708         shared.
709         * sysdeps/unix/sysv/aix/setitimer.c: New file.
710         * sysdeps/unix/sysv/aix/sleep.c: New file.
711         * sysdeps/unix/sysv/aix/usleep.c: New file.
712         * sysdeps/unix/sysv/aix/dl-addr.c: New file.
713         * sysdeps/unix/sysv/aix/dl-error.c: New file.
714         * sysdeps/unix/sysv/aix/dl-support.c: New file.
715         * sysdeps/unix/sysv/aix/powerpc/register-dump.h: New file.
717 2001-06-19  Ulrich Drepper  <drepper@redhat.com>
719         * po/es.po: Update from translation team.
721 2001-06-19  Andreas Jaeger  <aj@suse.de>
723         * sysdeps/ieee754/ldbl-128/s_tanhl.c: New file.
725         * math/libm-test.inc (tanh_test): Test for 2^-56.
727         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Make sure result
728         equals argument when x < 2^-55.
729         Patches by Stephen L. Moshier <moshier@na-net.ornl.gov>.
731 2001-06-17  Alan Modra  <amodra@bigpond.net.au>
733         * sysdeps/hppa/dl-machine.h (elf_machine_rela): Handle relocs
734         at unaligned address.
736 2001-06-18  Ulrich Drepper  <drepper@redhat.com>
738         * posix/regex.c: Reorganize code to build code twice, once for single
739         byte, once for multi-byte charsets.  Choose function set adequate for
740         locale at runtime.
741         Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
743         * po/nl.po: Update from translation team.
745 2001-06-09  Bruno Haible  <haible@clisp.cons.org>
747         * iconvdata/gconv-modules (BIG5HKSCS): New alias BIG5-HKSCS.
748         (ISO-8859-14): New aliases ISO_8859-14 and ISO-CELTIC.
749         * iconvdata/tst-tables.sh: For BIG5HKSCS, use BIG5-HKSCS charmap.
751 2001-05-26  Bruno Haible  <haible@clisp.cons.org>
753         * iconvdata/tst-tables.sh: For SJIS module, use SHIFT_JIS charmap.
754         * manual/charset.texi: Write Shift_JIS, not Shift-JIS.
756 2001-06-17  Roland McGrath  <roland@frob.com>
758         * sysdeps/pthread/aio_misc.h (LIO_DSYNC): Define to LIO_NOP + 1,
759         not LIO_READ + 1 (which is the value of LIO_WRITE!).
761         * Makerules (build-module-helper-objlist): New variable,
762         broken out of build-module.  Insert --whole-archive/--no-whole-archive
763         immediately each *_pic.a file in the link object list.
764         (whole-archive): New variable, used by that.
765         (build-module-objlist): New variable using build-module-helper-objlist.
766         (build-module, build-module-helper): Use it.
767         (build-shlib-objlist): New variable using build-module-helper-objlist.
768         (build-shlib): Use that.
769         * sysdeps/mach/hurd/Makefile ($(link-rpcuserlibs)): Likewise.
771         * posix/spawni.c: Moved to ...
772         * sysdeps/posix/spawni.c: ... here.
773         * sysdeps/generic/spawni.c: New file.
775 2001-06-16  Roland McGrath  <roland@frob.com>
777         * hurd/Makefile (routines): Add lookup-retry.
778         * hurd/hurdlookup.c (__hurd_file_name_lookup_retry): Broken out ...
779         * hurd/lookup-retry.c: ... into here, new file.
780         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Call that instead
781         using of duplicate code here.
783         * hurd/hurdexec.c (_hurd_exec): Be robust for DTABLESIZE==0.
785 2001-06-17  Ulrich Drepper  <drepper@redhat.com>
787         * po/ja.po: Update from translation team.
789 2001-06-04  Bruno Haible  <haible@clisp.cons.org>
791         * locale/programs/locfile.c (siblings_uncached, siblings, full_read,
792         compare_files): New functions.
793         (write_locale_data): Use xmalloc.  Compare the file with the locale
794         data files for the same category in other locales, and reuse it if
795         possible and safe.
797 2001-06-07  Mark Kettenis  <kettenis@gnu.org>
799         * grp/initgroups.c (initgroups): Factor out re-usable code into...
800         (internal_getgrouplist): ... new function.
801         (getgrouplist): New function.
802         * grp/grp.h (getgrouplist): New prototype.
803         * grp/Versions [2.2.4]: Add getgrouplist.
805 2001-06-16  Ulrich Drepper  <drepper@redhat.com>
807         * inet/netinet/ip6.h: Fix comments in ip6_hdr.
808         Patch by Pekka Savola <pekkas@netcore.fi>.
810 2001-06-15  Roland McGrath  <roland@frob.com>
812         * rt/Makefile (aio-routines, clock-routines, timer-routines): New
813         variables, broken out of librt-routines.
814         (librt-routines): Set using those.
815         (extra-libs, extra-libc-others, tests): Set these unconditionally.
816         (distribute): No need for $(librt-map) or $(librt-routines:=.c) here.
817         * sysdeps/generic/aio_fsync.c: New file.
818         * sysdeps/generic/aio_misc.c: New file.
819         * sysdeps/generic/aio_write.c: New file.
820         * sysdeps/generic/aio_write64.c: New file.
821         * sysdeps/generic/aio_read64.c: New file.
822         * sysdeps/generic/aio_read.c: New file.
823         * sysdeps/generic/aio_notify.c: New file.
824         * sysdeps/generic/lio_listio64.c: New file.
825         * sysdeps/generic/lio_listio.c: New file.
826         * sysdeps/generic/aio_cancel.c: New file.
827         * sysdeps/generic/aio_misc.h: New file.
828         * sysdeps/generic/aio_suspend.c: New file.
829         * rt/aio_cancel.c: Moved to ...
830         * sysdeps/pthread/aio_cancel.c: ... here.
831         * rt/aio_fsync.c: Moved to ...
832         * sysdeps/pthread/aio_fsync.c: ... here.
833         * rt/aio_misc.c: Moved to ...
834         * sysdeps/pthread/aio_misc.c: ... here.
835         * rt/aio_misc.h: Moved to ...
836         * sysdeps/pthread/aio_misc.h: ... here.
837         * rt/aio_notify.c: Moved to ...
838         * sysdeps/pthread/aio_notify.c: ... here.
839         * rt/aio_read.c: Moved to ...
840         * sysdeps/pthread/aio_read.c: ... here.
841         * rt/aio_read64.c: Moved to ...
842         * sysdeps/pthread/aio_read64.c: ... here.
843         * rt/aio_suspend.c: Moved to ...
844         * sysdeps/pthread/aio_suspend.c: ... here.
845         * rt/aio_write.c: Moved to ...
846         * sysdeps/pthread/aio_write.c: ... here.
847         * rt/aio_write64.c: Moved to ...
848         * sysdeps/pthread/aio_write64.c: ... here.
849         * rt/lio_listio.c: Moved to ...
850         * sysdeps/pthread/lio_listio.c: ... here.
851         * rt/lio_listio64.c: Moved to ...
852         * sysdeps/pthread/lio_listio64.c: ... here.
854 2001-06-14  Roland McGrath  <roland@frob.com>
856         * configure.in: Let sysdeps Implies files in add-ons bring in
857         sysdeps directories from the main source and other add-ons too.
859 2001-06-15  Jakub Jelinek  <jakub@redhat.com>
861         * math/test-misc.c (main): Add tests for nextafter and nexttoward
862         with +-Inf as second argument.
864         * sysdeps/generic/s_nexttowardf.c (__nexttowardf): Only check for
865         NaN, not Inf.
866         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Fix check for NaN.
867         * sysdeps/i386/fpu/s_nexttoward.c: New.
868         * sysdeps/i386/fpu/s_nexttowardf.c: New.
869         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Simplify
870         check for NaN, optimize x==+-0 handling.
871         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf): Likewise.
872         * sysdeps/ieee754/ldbl-96/s_nextafterl.c (__nextafterl): Simplify
873         check for NaN, fix sign in x==+-0 case.
874         * sysdeps/ia64/fpu/s_nexttoward.c: New.
875         * sysdeps/ia64/fpu/s_nexttowardf.c: New.
877 2001-06-15  H.J. Lu  <hjl@gnu.org>
879         * rt/tst-aio2.c (do_test): Initialize cb.aio_offset to 0.
880         * rt/tst-aio3.c (do_test): Likewise.
881         * rt/tst-aio4.c (do_test): Likewise.
882         * rt/tst-aio5.c (do_test): Likewise.
883         * rt/tst-aio6.c (do_test): Likewise.
885 2001-06-15  Andreas Schwab  <schwab@suse.de>
887         * sysdeps/m68k/fpu/bits/mathinline.h: Don't define log2 as inline.
888         * sysdeps/m68k/fpu/mathimpl.h: Define __ieee754_log2 as inline.
890 2001-06-15  Andreas Jaeger  <aj@suse.de>
892         * gmon/tst-sprofil.c (fac): Make static to avoid compiler warning.
894 2001-06-14  Andreas Schwab  <schwab@suse.de>
896         * elf/ldconfig.c (search_dir): Fix check for regular file.
898         * sysdeps/m68k/fpu/e_log2f.c: Fix typo.
899         * sysdeps/m68k/fpu/e_log2l.c: Fix typo.
901 2001-06-14  Roland McGrath  <roland@frob.com>
903         * sysdeps/mach/hurd/bits/fcntl.h [ __USE_POSIX199309 || __USE_UNIX98]:
904         (O_DSYNC, O_RSYNC): New macros, both defined to O_SYNC as Linux does.
906 2001-06-13  Roland McGrath  <roland@frob.com>
908         * rt/aio_notify.c: Include <unistd.h> for _POSIX_REALTIME_SIGNALS.
910         * sysdeps/mach/hurd/fork.c (LOSE): Put `goto lose' in dead code
911         so the label is not considered unused.
913         * sysdeps/mach/hurd/pwrite64.c: New file.
914         * sysdeps/mach/hurd/pread64.c: New file.
916         * sysdeps/mach/hurd/pread.c
917         (__libc_pread): Define this name, with __pread as an alias.
918         * sysdeps/mach/hurd/pwrite.c
919         (__libc_pwrite): Define this name, with __pwrite as an alias.
921         Implement POSIX "shared memory objects" as regular
922         files residing in the /var/run/shm/ directory.
923         This works on any system that supports _POSIX_MAPPED_FILES,
924         to make it also support _POSIX_SHARED_MEMORY_OBJECTS.
925         * sysdeps/posix/shm_open.c: New file.
926         * sysdeps/posix/shm_unlink.c: New file.
927         * sysdeps/mach/hurd/bits/posix_opt.h
928         (_POSIX_SHARED_MEMORY_OBJECTS): Define it.
930         * rt/aio_notify.c (__aio_notify_only) [! _POSIX_REALTIME_SIGNALS]:
931         Use raise instead of __aio_sigqueue.
933         * sysdeps/mach/hurd/pread.c: Fail with EINVAL if OFFSET is negative.
934         * sysdeps/mach/hurd/pwrite.c: Likewise.
936         * shlib-versions [USE_IN_LIBIO] (.*-.*-gnu-gnu.*): libc=0.3
937         [USE_IN_LIBIO && !GLIBC_OLDEST_ABI] (.*-.*-gnu-gnu.*): Use GLIBC_2.2.4
938         as default version set.
940 2001-06-13  Ulrich Drepper  <drepper@redhat.com>
942         * libio/iolibio.h (_IO_freopen): Correct last parameter to
943         _IO_file_open.
944         (_IO_freopen64): Likewise.
945         Reported by simanek@quantum.karlov.mff.cuni.cz [PR libc/2326].
947         * elf/elf.h: Add a few more EM_* constants.
949 2001-06-12  Bruno Haible  <haible@clisp.cons.org>
951         * intl/dcigettext.c (DCIGETTEXT): Release the lock before returning.
953 2001-06-09  Ben Collins  <bcollins@debian.org>
955         * sysdeps/unix/sysv/linux/bits/termios.h: Define __MAX_BAUD.
956         * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
957         * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
958         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
959         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
960         * sysdeps/unix/sysv/linux/speed.c: Use __MAX_BAUD instead of
961         hardcoded B400000.
963 2001-06-13  Ulrich Drepper  <drepper@redhat.com>
965         * time/sys/time.h: Don't use enum __itimer_which ever for
966         __itimer_which_t for C++.
967         Reported by Martin Buchholz <martin@xemacs.org>.
969         * po/fr.po: Update from translation team.
971 2001-06-12  H.J. Lu  <hjl@gnu.org>
973         * configure.in: Fix typos in missing program names.
974         * configure: Regenerated.
976 2001-06-12  Andreas Jaeger  <aj@suse.de>
978         * iconvdata/tst-table-to.c: Include string.h for strcmp prototype.
980         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Add ULPs for tanh (-0.7).
982 2001-06-11  Andreas Jaeger  <aj@suse.de>
984         * sysdeps/ieee754/ldbl-128/e_coshl.c: New file.  Contributed by
985         Stephen L Moshier <moshier@mediaone.net>.
987         * aclocal.m4: Quote AC_FD_MSG and AC_FD_CC.
989         * sysdeps/powerpc/fpu/libm-test-ulps: Add ULPs for tanh (-0.7).
990         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
992 2001-06-11  Michael Deutschmann  <michael@talamasca.ocis.net>
994         * rt/tst-aio4.c (do_test): Test whether rt signals are supported.
995         Use my_signo instead of MY_SIGNO and initialize it so that the
996         used signal is always available.
998 2001-06-11  Andreas Jaeger  <aj@suse.de>,
999             Michael Deutschmann  <michael@talamasca.ocis.net>
1001         * io/test-lfs.c (do_prepare): Clean up error messages.
1002         (test_ftello): Check for EFBIG and ENOSPC, clean up error messages.
1003         (do_test): Likewise.
1005 2001-06-11  Andreas Jaeger  <aj@suse.de>
1007         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (IXANY, IUCLC,
1008         IMAXBEL): Make always visible since they're needed by POSIX.
1009         Closes PR libc/2320, reported by Chris Yeoh <cyeoh@samba.org>.
1011 2001-06-10  Ben Collins  <bcollins@debian.org>
1013         * sysdeps/arm/elf/start.S: Use #function, not @function, for
1014         .type of _start.
1016         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Include limits.h to get
1017         INT_MAX.
1019 2001-06-07  H.J. Lu  <hjl@gnu.org>
1021         * sunrpc/rpc/rpc.h: Add __BEGIN_DECLS/__END_DECLS.
1023 2001-06-10  Roland McGrath  <roland@frob.com>
1025         * elf/reldep4mod2.c: Use fully typed decls to avoid warnings.
1026         * elf/reldep4mod4.c: Likewise.
1028 2001-06-10  Mark Kettenis  <kettenis@gnu.org>
1030         * hurd/hurd/threadvar.h: Add prototype for __hurd_errno_location.
1032 2001-06-08  Andreas Schwab  <schwab@suse.de>
1034         * posix/regex.c (re_match_2_internal) [case wordbeg, wordend]:
1035         Don't dereference at end of string.
1037 2001-06-06  Roland McGrath  <roland@frob.com>
1039         * sysdeps/mach/hurd/getsockopt.c: Fix handling of returned buffer size.
1040         From Robert Bihlmeyer <robbe@orcus.priv.at>.
1042 2001-06-06  Ulrich Drepper  <drepper@redhat.com>
1044         * po/ko.po: Update from translation team.
1046 2001-06-06  Andreas Jaeger  <aj@suse.de>
1048         * manual/llio.texi (Memory-mapped I/O): Clarify that mapping is to
1049         offset+length-1.
1050         Reported by Robert Bernecky <bernecky@acm.org>.
1052 2001-06-06  Jakub Jelinek  <jakub@redhat.com>
1054         * sysdeps/cris/elf/start.S: Fix a typo introduced by last patch.
1055         * sysdeps/ia64/elf/start.S: Likewise.
1056         * sysdeps/sh/elf/start.S: Likewise.
1057         * sysdeps/s390/s390-32/elf/start.S: Likewise.
1058         * sysdeps/s390/s390-64/elf/start.S: Likewise.
1060 2001-06-05  Matthew Wilcox  <willy@ldl.fc.hp.com>
1062         * sysdeps/hppa/bsd-_setjmp.S: New.
1063         * sysdeps/hppa/bsd-setjmp.S: New.
1065         * sysdeps/hppa/dl-machine.h: Reformat asm statements to remove new
1066         gcc warnings about multi-line strings.
1068         * sysdeps/unix/sysv/linux/hppa/getrlimit.c: Remove.
1069         * sysdeps/unix/sysv/linux/hppa/setrlimit.c: Remove.
1071         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Call getrlimit,
1072         setrlimit directly instead of using wrappers.
1074 2001-05-01  Richard Hirst  <rhirst@linuxcare.com>
1076         * sysdeps/unix/sysv/linux/hppa/syscall.S: remove dummy syscall.
1077         * sysdeps/unix/sysv/linux/hppa/sysdep.c: implement syscall.
1079 2001-06-05  Philipp Thomas  <pthomas@suse.de>
1081         * nis/nis_call.c (__nisbind_connect): Don't mark for translation
1082         what can't be translated.
1084 2001-06-06  Ulrich Drepper  <drepper@redhat.com>
1086         * timezone/zic.c: Update from tzcode2001c.
1087         * timezone/private.h: Likewise.
1088         * timezone/africa: Update from tzdata2001c.
1089         * timezone/asia: Likewise.
1090         * timezone/europe: Likewise.
1091         * timezone/northamerica: Likewise.
1092         * timezone/southamerica: Likewise.
1093         * timezone/zone.tab: Likewise.
1095 2001-06-04  Bruno Haible  <haible@clisp.cons.org>
1097         * iconv/loop.c (UNICODE_TAG_HANDLER): New macro.
1098         * iconv/gconv_simple.c (__gconv_transform_internal_ascii): Invoke
1099         UNICODE_TAG_HANDLER.
1100         (__gconv_transform_internal_ucs2): Likewise.
1101         (__gconv_transform_internal_ucs2reverse): Likewise.
1102         * iconvdata/8bit-gap.c (BODY for TO_LOOP): Invoke UNICODE_TAG_HANDLER.
1103         * iconvdata/8bit-generic.c (BODY for TO_LOOP): Likewise.
1104         * iconvdata/ansi_x3.110.c (BODY for TO_LOOP): Likewise.
1105         * iconvdata/big5.c (BODY for TO_LOOP): Likewise.
1106         * iconvdata/big5hkscs.c (BODY for TO_LOOP): Likewise.
1107         * iconvdata/cp1255.c (BODY for TO_LOOP): Likewise.
1108         * iconvdata/cp1258.c (BODY for TO_LOOP): Likewise.
1109         * iconvdata/euc-cn.c (BODY for TO_LOOP): Likewise.
1110         * iconvdata/euc-jp.c (BODY for TO_LOOP): Likewise.
1111         * iconvdata/euc-kr.c (BODY for TO_LOOP): Likewise.
1112         * iconvdata/euc-tw.c (BODY for TO_LOOP): Likewise.
1113         * iconvdata/gbk.c (BODY for TO_LOOP): Likewise.
1114         * iconvdata/ibm930.c (BODY for TO_LOOP): Likewise.
1115         * iconvdata/ibm932.c (BODY for TO_LOOP): Likewise.
1116         * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
1117         * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
1118         * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
1119         * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
1120         * iconvdata/ibm943.c (BODY for TO_LOOP): Likewise.
1121         * iconvdata/iso646.c (BODY for TO_LOOP): Likewise.
1122         * iconvdata/iso8859-1.c (BODY for TO_LOOP): Likewise.
1123         * iconvdata/iso_6937.c (BODY for TO_LOOP): Likewise.
1124         * iconvdata/iso_6937-2.c (BODY for TO_LOOP): Likewise.
1125         * iconvdata/iso-2022-cn.c (BODY for TO_LOOP): Likewise.
1126         * iconvdata/iso-2022-cn-ext.c (BODY for TO_LOOP): Likewise.
1127         * iconvdata/iso-2022-kr.c (BODY for TO_LOOP): Likewise.
1128         * iconvdata/johab.c (BODY for TO_LOOP): Likewise.
1129         * iconvdata/sjis.c (BODY for TO_LOOP): Likewise.
1130         * iconvdata/t.61.c (BODY for TO_LOOP): Likewise.
1131         * iconvdata/uhc.c (BODY for TO_LOOP): Likewise.
1132         * iconvdata/unicode.c (BODY for TO_LOOP): Likewise.
1133         * iconvdata/iso-2022-jp.c (TAG_none, TAG_language, TAG_language_j,
1134         TAG_language_ja, TAG_language_k, TAG_language_ko, TAG_language_z,
1135         TAG_language_zh, CURRENT_TAG_MASK): New enum values.
1136         (EMIT_SHIFT_TO_INIT): Don't emit an escape sequence if ASCII_set
1137         is already selected but set2 or tag are set.
1138         (conversion): New enum type.
1139         (cvlist_t): New type.
1140         (CVLIST, CVLIST_FIRST, CVLIST_REST): New macros.
1141         (conversion_lists): New array.
1142         (BODY for TO_LOOP): Keep track of Unicode 3.1 language tag.  If "ja",
1143         prefer conversion to Japanese character sets.  If "zh", prefer
1144         conversion to GB2312.  If "ko", prefer conversion to KSC5601.  Small
1145         optimizations.
1146         (INIT_PARAMS): Add tag.
1147         (UPDATE_PARAMS): Add tag.
1149 2001-06-04  Bruno Haible  <haible@clisp.cons.org>
1151         * locale/programs/locfile.c (write_locale_data): Before creat(),
1152         unlink the file, to avoid crashing the processes that mmap it.  Change
1153         a double slash to a single slash.  Free fname in case of error return.
1155 2001-06-02  Jakub Jelinek  <jakub@redhat.com>
1157         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Mostly revert 2000-12-03
1158         changes, do the special handling for denormal numbers, not for
1159         normalized numbers (patch by <trevin@xmission.com>).
1161         * math/test-misc.c (main): Test frexpl with denormal arguments.
1163 2001-06-04  Jakub Jelinek  <jakub@redhat.com>
1165         * math/libm-test.inc (llround_test): Add two new llround tests.
1166         * sysdeps/ieee754/ldbl-96/s_llroundl.c (__llroundl): Don't allow
1167         overflow when rounding away from zero.
1169 2001-06-04  Jakub Jelinek  <jakub@redhat.com>
1171         * math/Makefile (libm-calls): Add e_log2, w_log2, remove s_log2.
1172         * math/math_private.h (__ieee754_log2, __ieee754_log2f,
1173         __ieee754_log2l): New prototypes.
1174         * sysdeps/generic/w_log2.c: New file.
1175         * sysdeps/generic/w_log2f.c: New file.
1176         * sysdeps/generic/w_log2l.c: New file.
1177         * sysdeps/generic/s_log2l.c: Move...
1178         * sysdeps/generic/e_log2l.c: ...to here.  Rename to __ieee754_log2l.
1179         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle log2(0)
1180         and log2(x < 0).
1181         * sysdeps/i386/fpu/s_log2.S: Move...
1182         * sysdeps/i386/fpu/e_log2.S: ...to here.  Rename to __ieee754_log2.
1183         * sysdeps/i386/fpu/s_log2f.S: Move...
1184         * sysdeps/i386/fpu/e_log2f.S: ...to here.  Rename to __ieee754_log2f.
1185         * sysdeps/i386/fpu/s_log2l.S: Move...
1186         * sysdeps/i386/fpu/e_log2l.S: ...to here.  Rename to __ieee754_log2l.
1187         * sysdeps/m68k/fpu/s_log2.c: Move...
1188         * sysdeps/m68k/fpu/e_log2.c: ...to here.  Rename to __ieee754_log2.
1189         * sysdeps/m68k/fpu/s_log2f.c: Move...
1190         * sysdeps/m68k/fpu/e_log2f.c: ...to here.  Rename to __ieee754_log2f.
1191         * sysdeps/m68k/fpu/s_log2l.c: Move...
1192         * sysdeps/m68k/fpu/e_log2l.c: ...to here.  Rename to __ieee754_log2l.
1193         * sysdeps/ieee754/dbl-64/s_log2.c: Move...
1194         * sysdeps/ieee754/dbl-64/e_log2.c: ...to here.  Rename to
1195         __ieee754_log2.
1196         * sysdeps/ieee754/flt-32/s_log2f.c: Move...
1197         * sysdeps/ieee754/flt-32/e_log2f.c: ...to here.  Rename to
1198         __ieee754_log2f.
1200 2001-06-04  Jakub Jelinek  <jakub@redhat.com>
1202         * sysdeps/generic/w_exp2.c (u_threshold): Lower threshold so that
1203         even arguments which result in denormalized exp2 are accepted.
1204         (__exp2): Arguments equal to u_threshold already result into
1205         underflow.
1206         * sysdeps/generic/w_exp2f.c (u_threshold, __exp2f): Likewise.
1207         * sysdeps/generic/w_exp2l.c (u_threshold, __exp2l): Likewise.
1208         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Lomark was too
1209         low, with corrected lowmark use greaterequal, not greater.
1210         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
1212 2001-06-04  Jakub Jelinek  <jakub@redhat.com>
1214         * math/libm-test.inc (ilogb_test): Test that ilogb(+-Inf) == INT_MAX.
1215         * sysdeps/i386/fpu/s_ilogb.S (__ilogb): Return INT_MAX for +-Inf.
1216         * sysdeps/i386/fpu/s_ilogbf.S (__ilogbf): Likewise.
1217         * sysdeps/i386/fpu/s_ilogbl.S (__ilogbl): Likewise.
1218         * sysdeps/ieee754/dbl-64/s_ilogb.c (__ilogb): Likewise.
1219         * sysdeps/ieee754/flt-32/s_ilogbf.c (__ilogbf): Likewise.
1220         * sysdeps/ieee754/ldbl-128/s_ilogbl.c (__ilogbl): Likewise.
1221         * sysdeps/ieee754/ldbl-96/s_ilogbl.c (__ilogbl): Likewise.
1223 2001-06-04  Jakub Jelinek  <jakub@redhat.com>
1225         * sysdeps/generic/w_coshl.c (__coshl): Test if finite argument
1226         gave non-finite result instead of using constant in generic
1227         version.
1228         * sysdeps/generic/w_coshf.c (__coshf): Likewise.
1229         * sysdeps/generic/w_cosh.c (__cosh): Likewise.
1230         * sysdeps/generic/w_exp10.c (o_threshold, u_threshold): Remove.
1231         (__exp10): Test if finite argument gave non-finite result.
1232         * sysdeps/generic/w_exp10f.c (o_threshold, u_threshold, __exp10f):
1233         Likewise.
1234         * sysdeps/generic/w_exp10l.c (o_threshold, u_threshold, __exp10l):
1235         Likewise.
1237 2001-06-04  Jakub Jelinek  <jakub@redhat.com>
1239         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Fix
1240         overflow threshold constant (log(LDBL_MAX)+M_LN2l).
1242 2001-05-29  Bruno Haible  <haible@clisp.cons.org>
1244         * locale/programs/ld-ctype.c (idx_table): New struct type.
1245         (idx_table_init, idx_table_get, idx_table_add): New functions.
1246         (MAX_CHARNAMES_IDX): Remove macro.
1247         (locale_ctype_t): Change type of charnames_idx field.
1248         (ctype_startup): Change initialization of charnames_idx field.
1249         (find_idx): Use idx_table_get and idx_table_add for speed.
1251         * locale/programs/charmap.c (charmap_new_char): Fix ucs4 value
1252         computation of characters in a range.
1254 2001-05-29  Bruno Haible  <haible@clisp.cons.org>
1256         * iconvdata/gb18030.c (__fourbyte_to_ucs1): Add mappings for <U03F4>,
1257         <U03F5>.
1258         (__ucs_to_gb18030_tab1): Likewise.
1259         (BODY for FROM_LOOP): Add mapping for <U00010000>..<U0010FFFF>.
1260         (BODY for TO_LOOP): Likewise.
1261         * iconvdata/tst-table-charmap.sh: Update for charmaps containing
1262         <U00xxxxxx> syntax.
1263         * iconvdata/tst-table-from.c (bmp_only): New variable.
1264         (utf8_decode): If bmp_only, don't return characters outside Unicode
1265         plane 0.
1266         (main): When testing UTF-8 or GB18030, set bmp_only to 1.  Don't print
1267         a conversion line if utf8_decode returns NULL.
1268         * iconvdata/tst-table-to.c (main): When testing encodings other than
1269         UTF-8 and GB18030, loop upto U+30000 instead of U+10000.  Use UTF-8
1270         instead of UCS-2 as input.
1271         * iconvdata/tst-table.sh: For GB18030, use only the part < 0x10000
1272         of the charmap.
1274 2001-05-29  Bruno Haible  <haible@clisp.cons.org>
1276         * iconvdata/cns11643l1.c: Update to Unicode 3.1.
1277         (__cns11643l1_to_ucs4_tab): Regenerated.
1278         (__cns11643l1_from_ucs4_tab12): Regenerated.
1279         * iconvdata/cns11643.c: Update to Unicode 3.1.
1280         (__cns11643l14_to_ucs4_tab): Remove array.
1281         (__cns11643l3_to_ucs4_tab, __cns11643l4_to_ucs4_tab,
1282         __cns11643l5_to_ucs4_tab, __cns11643l6_to_ucs4_tab,
1283         __cns11643l7_to_ucs4_tab, __cns11643l15_to_ucs4_tab): New arrays.
1284         (__cns11643_from_ucs4p0_tab): Renamed from __cns11643_from_ucs4_tab.
1285         (__cns11643_from_ucs4p2_tab): New array.
1286         * iconvdata/cns11643.h (__cns11643l14_to_ucs4_tab): Remove declaration.
1287         (__cns11643l3_to_ucs4_tab, __cns11643l4_to_ucs4_tab,
1288         __cns11643l5_to_ucs4_tab, __cns11643l6_to_ucs4_tab,
1289         __cns11643l7_to_ucs4_tab, __cns11643l15_to_ucs4_tab): New declarations.
1290         (cns11643_to_ucs4): Treat planes 3, 4, 5, 6, 7, 15 instead of 14.
1291         (__cns11643_from_ucs4_tab): Remove declaration.
1292         (__cns11643_from_ucs4p0_tab, __cns11643_from_ucs4p2_tab): New
1293         declarations.
1294         (ucs4_to_cns11643): Update for new arrays.  Treat U+3400..U+4DFF and
1295         U+20000..U+2A6D6.
1296         * iconvdata/cns11643l2.h (__cns11643_from_ucs4_tab): Remove
1297         declaration.
1298         (__cns11643_from_ucs4p0_tab): New declaration.
1299         (ucs4_to_cns11643l2): Update for new arrays.
1300         * iconvdata/iso-2022-cn-ext.c (BODY for FROM_LOOP): Handle planes
1301         3 to 7.
1302         (BODY for TO_LOOP): Handle planes 3 to 7, instead of plane 14.
1303         * iconvdata/EUC-TW.irreversible: New file.
1304         * iconvdata/tst-table.sh: Use it.
1305         * iconvdata/Makefile (distribute): Add CP1255.irreversible,
1306         CP1258.irreversible, EUC-TW.irreversible.
1308 2001-05-29  Bruno Haible  <haible@clisp.cons.org>
1310         * locale/C-translit.h.in: Add transliterations for new Unicode 3.1
1311         mathematical symbols.
1313 2001-06-05  Andreas Jaeger  <aj@suse.de>
1315         * manual/stdio.texi (Portable Positioning): Fix description of
1316         fpos_t and fpos64_t.
1318 2001-06-06  Ulrich Drepper  <drepper@redhat.com>
1320         * sysdeps/generic/wordexp.c: Undo last patch.  Use strndupa instead.
1322         * po/sk.po: Update from translation team.
1324 2001-06-05  Andreas Jaeger  <aj@suse.de>
1326         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Recognize
1327         tmpfs, patch by Stanislav Brabec <utx@penguin.cz>.
1328         Closes PR libc/2315.
1330 2001-06-05  Ulrich Drepper  <drepper@redhat.com>
1332         * sysdeps/generic/wordexp.c: Add missing free.
1333         Patch by yeti@physics.muni.cz.
1335 2001-06-02  Tom Browder  <tbrowder@home.com>
1337         * misc/tst-tsearch.c (mangle_tree): Ensure array indices are
1338         within bounds when lag > 0.
1340 2001-06-05  Ulrich Drepper  <drepper@redhat.com>
1342         * po/tr.po: New file.
1344 2001-06-05  Andreas Jaeger  <aj@suse.de>
1346         * manual/libm-err-tab.pl (parse_ulps): Fix typo.
1348 2001-06-04  H.J. Lu  <hjl@gnu.org>
1350         * sysdeps/alpha/elf/start.S: Add .type for the entry point.
1351         * sysdeps/arm/elf/start.S: Likewise.
1352         * sysdeps/hppa/elf/start.S: Likewise.
1353         * sysdeps/i386/elf/start.S: Likewise.
1354         * sysdeps/m68k/elf/start.S: Likewise.
1355         * sysdeps/mips/elf/start.S: Likewise.
1356         * sysdeps/ia64/elf/start.S: Likewise.
1357         * sysdeps/sh/elf/start.S: Likewise.
1358         * sysdeps/s390/s390-32/elf/start.S: Likewise.
1359         * sysdeps/s390/s390-64/elf/start.S: Likewise.
1360         * sysdeps/cris/elf/start.S: Likewise.
1362 2001-06-04  Bruce Mitchener  <bruce@cubik.org>
1364         * manual/resource.texi: Correct setpriority/nice documentation.
1366         * sysdeps/unix/nice.c: Correct nice() implementation.
1368 2001-06-04  Andreas Jaeger  <aj@suse.de>
1370         * sysdeps/ieee754/ldbl-128/e_sinhl.c: New file, contributed by
1371         Stephen L Moshier <moshier@mediaone.net>.
1373 2001-06-03  Roland McGrath  <roland@frob.com>
1375         * Makefile (postclean): Remove obsolete sysd-Makefile.
1377 2001-06-01  Roland McGrath  <roland@frob.com>
1379         * sysdeps/alpha/fpu/fclrexcpt.c: #include <shlib-compat.h>
1380         and use compat_symbol/versioned_symbol instead of plain
1381         symbol_version/default_symbol_version.
1382         * sysdeps/alpha/fpu/fegetenv.c: Likewise.
1383         * sysdeps/alpha/fpu/fesetenv.c: Likewise.
1384         * sysdeps/alpha/fpu/feupdateenv.c: Likewise.
1385         * sysdeps/alpha/fpu/fgetexcptflg.c: Likewise.
1386         * sysdeps/alpha/fpu/fraiseexcpt.c: Likewise.
1387         * sysdeps/alpha/fpu/fsetexcptflg.c: Likewise.
1388         * sysdeps/arm/fpu/fclrexcpt.c: Likewise.
1389         * sysdeps/arm/fpu/fegetenv.c: Likewise.
1390         * sysdeps/arm/fpu/fesetenv.c: Likewise.
1391         * sysdeps/arm/fpu/fraiseexcpt.c: Likewise.
1392         * sysdeps/arm/fpu/fsetexcptflg.c: Likewise.
1393         * sysdeps/i386/fpu/fclrexcpt.c: Likewise.
1394         * sysdeps/i386/fpu/fegetenv.c: Likewise.
1395         * sysdeps/i386/fpu/fesetenv.c: Likewise.
1396         * sysdeps/i386/fpu/feupdateenv.c: Likewise.
1397         * sysdeps/i386/fpu/fgetexcptflg.c: Likewise.
1398         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
1399         * sysdeps/i386/fpu/fsetexcptflg.c: Likewise.
1400         * sysdeps/m68k/fpu/fclrexcpt.c: Likewise.
1401         * sysdeps/m68k/fpu/fegetenv.c: Likewise.
1402         * sysdeps/m68k/fpu/fesetenv.c: Likewise.
1403         * sysdeps/m68k/fpu/feupdateenv.c: Likewise.
1404         * sysdeps/m68k/fpu/fgetexcptflg.c: Likewise.
1405         * sysdeps/m68k/fpu/fraiseexcpt.c: Likewise.
1406         * sysdeps/m68k/fpu/fsetexcptflg.c: Likewise.
1407         * sysdeps/powerpc/fclrexcpt.c: Likewise.
1408         * sysdeps/powerpc/fpu/fegetenv.c: Likewise.
1409         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
1410         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
1411         * sysdeps/powerpc/fpu/fgetexcptflg.c: Likewise.
1412         * sysdeps/powerpc/fpu/fraiseexcpt.c: Likewise.
1413         * sysdeps/powerpc/fpu/fsetexcptflg.c: Likewise.
1415         * iconvdata/cp1258.c: Include <stdlib.h> for abort decl.
1416         * iconvdata/iso-2022-cn-ext.c: Likewise.
1418 2001-06-01  Andreas Jaeger  <aj@suse.de>
1420         * Versions.def: Add version 2.2.4.
1422 2001-06-01  Ulrich Drepper  <drepper@redhat.com>
1424         * socket/Makefile (routines): Add sockatmark.
1425         * socket/Versions [GLIBC_2.2.4]: Add sockatmark.
1426         * socket/sys/socket.h: Add prototype for sockatmark.
1427         * sysdeps/generic/sockatmark.c: New file.
1428         * sysdeps/unix/sockatmark.c: New file.
1430 2001-06-01  Andreas Jaeger  <aj@suse.de>
1432         * sysdeps/unix/sysv/linux/speed.c (cfsetispeed): Max speed is
1433         B4000000.
1434         (cfsetospeed): Likewise.
1435         Reported by Lukasz Trabinski <lukasz@lt.wsisiz.edu.pl>.
1437 2001-05-31  Joseph S. Myers  <jsm28@cam.ac.uk>
1439         * misc/sys/cdefs.h (__restrict_arr): Define to empty for C++.
1441 2001-05-30  Martin Schwidefsky  <schwidefsky@de.ibm.com>
1443         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: greg_t
1444         needs to have the same aligment as the kernel structure.
1446 2001-05-29  Jakub Jelinek  <jakub@redhat.com>
1448         * sunrpc/rpc/types.h (u_char, u_short, u_int, u_long, quad_t,
1449         u_quad_t, fsid_t, daddr_t, caddr_t): Make sure the types are defined.
1450         * posix/sys/types.h (u_char, u_short, u_int, u_long, quad_t,
1451         u_quad_t, fsid_t, daddr_t, caddr_t): Protect the __USE_BSD typedefs
1452         against multiple definition.
1454 2001-05-30  Ulrich Drepper  <drepper@redhat.com>
1456         * po/da.po: Update from translation team.
1458 2001-05-29  Andreas Jaeger  <aj@suse.de>
1460         * sysdeps/ieee754/ldbl-128/e_acosl.c: New file, contributed by
1461         Stephen L Moshier <moshier@mediaone.net>.
1463         * math/libm-test.inc (sinh_test): Add new test case.
1465         * sysdeps/ieee754/ldbl_96/e_sinhl.c (__ieee754_sinhl): sinhl(x) =
1466         x when x < 2^-32.
1467         Patch by Stephen L Moshier <moshier@mediaone.net>.
1469 2001-05-23  Andreas Jaeger  <aj@suse.de>
1471         * iconvdata/testdata/WINDOWS-1255..UTF-8: Renamed to...
1472         * iconvdata/testdata/WINDOWS-1255..UTF8: this.
1474 2001-05-27  Andreas Jaeger  <aj@suse.de>
1476         * manual/stdio.texi (String Streams): Fix fmemopen description.
1477         Reported by Michal Kochanowicz <michal@michal.waw.pl>.
1479 2001-05-26  H.J. Lu <hjl@gnu.org>
1481         * sysdeps/unix/sysv/linux/mips/syscalls.list: Change sigsuspend
1482         to s_sigsuspend.  Add s_mmap2.
1484         * sysdeps/mips/atomicity.h: New file.
1486         * sysdeps/unix/sysv/linux/mips/getsysstats.c: New file.
1488         * sysdeps/unix/sysv/linux/mips/bits/ipc.h (ipc_perm): Put
1489         back __key.
1491 2001-05-25  Bruce Mitchener  <bruce@cubik.org>
1493         * manual/ctype.texi: Minor fix.
1494         * manual/install.texi: Likewise.
1495         * manual/startup.texi: Likewise.
1496         * manual/examples/dir.c: Use perror() rather than puts().
1498 2001-05-25  David Mosberger  <davidm@hpl.hp.com>
1500         * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h: Put stuff following
1501         #endif directive inside a comment to avoid compiler warnings.
1503 2001-05-25  Philipp Thomas  <pthomas@suse.de>
1505         * nis/nis_print.c (nis_nstype2str): Don't mark names of
1506         naming services for translation, only UNKNOWN needs it.
1507         Add comment to prevent it for the future.
1509 2001-05-25  Joseph S. Myers  <jsm28@cam.ac.uk>
1511         * misc/sys/cdefs.h (__restrict_arr): Define appropriately for GCC
1512         3.1 and non-GCC C99 compilers.
1514 2001-05-22  David Mosberger  <davidm@hpl.hp.com>
1516         * sysdeps/ia64/memmove.S: Increase MEMLAT from 6 to 21 for better
1517         performance.
1518         * sysdeps/ia64/memcpy.S: Likewise.
1520         * sysdeps/ia64/bcopy.S: New file.
1522         * sysdeps/ia64/bzero.S: New file (derived from memset.S).
1524 2001-05-26  Ulrich Drepper  <drepper@redhat.com>
1526         * sysdeps/ia64/fpu/libm-test-ulps: Add deltas for tanh(-0.7).
1528 2001-05-24  Ulrich Drepper  <drepper@redhat.com>
1530         * iconvdata/Makefile: Add rules for CP10007.
1531         * iconvdata/gconv-modules: Add entries for CP10007 ad MacCyrillic.
1532         * iconvdata/cp10007.c: New file.
1533         * iconvdata/tst-tables.sh: Add CP10007.
1535 2001-05-23  kaz Kojima  <kkojima@rr.iij4u.or.jp>
1537         * sysdeps/sh/dl-machine.h (_dl_runtime_resolve): Handle newer PLT.
1538         (_dl_runtime_profile): Likewise..
1540 2001-05-23  Thorsten Kukuk  <kukuk@suse.de>
1542         * sysdeps/posix/getaddrinfo.c: Support for AF_UNIX commented out.
1543         * posix/tst-getaddrinfo.c: Remove AF_UNIX test.
1545 2001-05-19  H.J. Lu  <hjl@gnu.org>
1547         * elf/dl-deps.c (_dl_map_object_deps): Pass objname and
1548         errstring of the failed DSO to _dl_signal_error ().
1550 2001-05-23  Ulrich Drepper  <drepper@redhat.com>
1552         * iconvdata/gconv-modules: Add more aliases to enable use in
1553         locale names.
1555 2001-05-23  Andreas Jaeger  <aj@suse.de>
1557         * sysdeps/unix/sysv/linux/ia64/Makefile (CFLAGS-initfini.s):
1558         Remove, it's not used anywhere anymore.
1559         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile
1560         (CFLAGS-initfini.s): Likewise.
1561         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile
1562         (CFLAGS-initfini.s): Likewise.
1563         * sysdeps/unix/sysv/linux/powerpc/Makefile (CFLAGS-initfini.s):
1564         Likewise.
1565         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-initfini.s):
1566         Likewise.
1568 2001-05-21  Bruno Haible  <haible@clisp.cons.org>
1570         * wcsmbs/mbrtowc.c (mbrtowc): Remove local variable 'flush', always
1571         use 0 instead, and rely on the converter to do the flush.
1572         * wcsmbs/tst-mbrtowc.c (utf8_test_1): New function, taken from
1573         utf8_test.
1574         (utf8_test_2, utf8_test_3): New function.
1575         (utf8_test): Call utf8_test_1, utf8_test_2, utf8_test_3.
1577 2001-05-22  Jakub Jelinek  <jakub@redhat.com>
1579         * elf/dl-close.c (_dl_close): Save imap->l_reldeps, not map->l_reldeps.
1581         * elf/Makefile (distribute): Add reldep4mod[1234].c.
1582         (tests): Add reldep4.
1583         (modules-names): Add reldep4mod[1234].
1584         (reldep4mod1.so, reldep4mod2.so, reldep4, reldep4.out): New rules.
1585         * elf/reldep4.c: New file.
1586         * elf/reldep4mod1.c: Likewise.
1587         * elf/reldep4mod2.c: Likewise.
1588         * elf/reldep4mod3.c: Likewise.
1589         * elf/reldep4mod4.c: Likewise.
1591 2001-05-18  Jakub Jelinek  <jakub@redhat.com>
1593         * elf/dl-lookup.c (PROTECTED): Remove defines.
1594         (add_dependency): Mark it with internal_function.
1595         (_dl_do_lookup, _dl_do_lookup_versioned): New functions.
1596         (_dl_lookup_symbol, _dl_lookup_symbol_skip,
1597         _dl_lookup_versioned_symbol, _dl_lookup_versioned_symbol_skip): Use
1598         it if we don't want do_lookup* inlined.
1600 2001-05-18  Jakub Jelinek  <jakub@redhat.com>
1602         * include/link.h (struct r_scope_elem): Remove r_duplist and
1603         r_nduplist fields.
1604         * elf/dl-load.c (_dl_map_object_from_fd): Don't initialize them.
1605         * elf/dl-lookup.c (_dl_lookup_symbol_skip): Look in r_list, not
1606         r_duplist.
1607         (_dl_lookup_versioned_symbol_skip): Likewise.
1608         * elf/dl-deps.c (struct list): Remove dup field, rename unique to next.
1609         (_dl_map_object_deps): Don't compute duplicate list.
1611         * elf/dl-symbol.c: Removed.
1612         * elf/Makefile (routines): Remove dl-symbol.
1614 2001-05-22  Ulrich Drepper  <drepper@redhat.com>
1616         * po/el.po: Update from translation team.
1617         * po/sv.po: Likewise.
1619 2001-05-20  Bruno Haible  <haible@clisp.cons.org>
1621         * iconvdata/cp1255.c: Completely rewritten.
1622         * iconvdata/Makefile (gen-8bit-gap-modules): Remove cp1255.
1623         * iconvdata/testdata/WINDOWS-1255: New file.
1624         * iconvdata/testdata/WINDOWS-1255..UTF8: New file.
1625         * iconvdata/TESTS: Add WINDOWS-1255 test.
1626         * iconvdata/CP1255.irreversible: New file.
1628 2001-05-20  Bruno Haible  <haible@clisp.cons.org>
1630         * iconvdata/cp1258.c: Completely rewritten.
1631         * iconvdata/Makefile (gen-8bit-gap-modules): Remove cp1258.
1632         * iconvdata/testdata/WINDOWS-1258: New file.
1633         * iconvdata/testdata/WINDOWS-1258..UTF8: New file.
1634         * iconvdata/TESTS: Add WINDOWS-1258 test.
1635         * iconvdata/tst-table-from.c (try): Reset the iconv descriptor before
1636         the main call, and flush it afterwards.
1637         (utf8_decode): Return a string, possibly containing several Unicode
1638         characters.
1639         (main): Update all utf8_decode calls.
1640         * iconvdata/CP1258.irreversible: New file.
1642 2001-05-20  Bruno Haible  <haible@clisp.cons.org>
1644         * iconv/gconv.c (__gconv): For flush without output, pass do_flush = 2.
1645         * iconv/skeleton.c: Distinguish do_flush = 1 and do_flush = 2.  In the
1646         first case, set outbuf, outstart, outend, and call PREPARE_LOOP before
1647         EMIT_SHIFT_TO_INIT; then pass the output produced by this step down to
1648         the next step.  In the second case, clear the state without calling
1649         EMIT_SHIFT_TO_INIT.
1650         * iconvdata/ibm930.c (EMIT_SHIFT_TO_INIT): Use outbuf instead of
1651         data->__outbuf, and outend instead of data->__outbufend.
1652         * iconvdata/ibm933.c (EMIT_SHIFT_TO_INIT): Likewise.
1653         * iconvdata/ibm935.c (EMIT_SHIFT_TO_INIT): Likewise.
1654         * iconvdata/ibm937.c (EMIT_SHIFT_TO_INIT): Likewise.
1655         * iconvdata/ibm939.c (EMIT_SHIFT_TO_INIT): Likewise.
1656         * iconvdata/iso-2022-cn.c (EMIT_SHIFT_TO_INIT): Likewise.
1657         * iconvdata/iso-2022-cn-ext.c (EMIT_SHIFT_TO_INIT): Likewise.
1658         * iconvdata/iso-2022-jp.c (EMIT_SHIFT_TO_INIT): Likewise.
1659         * iconvdata/iso-2022-kr.c (EMIT_SHIFT_TO_INIT): Likewise.
1660         * iconvdata/utf-7.c (EMIT_SHIFT_TO_INIT): Likewise.
1662 2001-05-21  Jakub Jelinek  <jakub@redhat.com>
1664         * elf/rtld.c (dl_main): Compute l_map_end for the main program.
1665         * elf/dl-sym.c (_dl_sym): Don't check for l_addr == 0.
1666         If match == _dl_loaded, caller can still come from the main program.
1667         (_dl_vsym): Likewise.
1668         * elf/dl-open.c (dl_open_worker): Don't check for l_addr == 0.
1669         * elf/dl-error.c (_dl_signal_error): Change NULL objname into "".
1670         * elf/restest2.c: New test.
1671         * elf/Makefile (tests): Add restest2.
1672         (restest2, LDFLAGS-restest2): Add rules.
1674 2001-05-22  Ulrich Drepper  <drepper@redhat.com>
1676         * intl/Makefile: Add a few more dependencies to avoid races in the
1677         test shell scripts.
1679 2001-05-22  Andreas Jaeger  <aj@suse.de>
1681         * sysdeps/ieee754/ldbl-128/s_log1pl.c: New file, contributed by
1682         Stephen L Moshier <moshier@mediaone.net>.
1684 2001-05-22  Martin Schwidefsky  <schwidefsky@de.ibm.com>
1686         * sysdeps/s390/s390-32/backtrace.c: Make backtrace return the
1687         return addresses instead of the stack pointers.
1688         * sysdeps/s390/s390-64/backtrace.c: Likewise.
1690 2001-05-21  Jakub Jelinek  <jakub@redhat.com>
1692         * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Include
1693         bits/sigcontext.h instead of bits/sigstack.h.
1694         * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h: Add
1695         multiple-inclusion guards.
1697 2001-05-21  Andreas Jaeger  <aj@suse.de>
1699         * locale/programs/ld-collate.c (handle_ellipsis): Fix message.
1700         Patch by Philipp Thomas <pthomas@suse.de>.
1702 2001-05-17  Bruce Mitchener  <bruce@cubik.org>
1704         * manual/arpg.texi: Spelling, misc fixes.
1705         * manual/arith.texi: Likewise.
1706         * manual/crypt.texi: Likewise.
1707         * manual/debug.texi: Likewise.
1708         * manual/getopt.texi: Likewise.
1709         * manual/intro.texi: Likewise.
1710         * manual/memory.texi: Likewise.
1711         * manual/nss.texi: Likewise.
1712         * manual/pattern.texi: Likewise.
1713         * manual/process.texi: Likewise.
1714         * manual/resource.texi: Likewise.
1715         * manual/search.texi: Likewise.
1716         * manual/setjmp.texi: Likewise.
1717         * manual/signal.texi: Likewise.
1718         * manual/socket.texi: Likewise.
1719         * manual/stdio.texi: Likewise.
1720         * manual/string.texi: Likewise.
1721         * manual/sysinfo.texi: Likewise.
1722         * manual/terminal.texi: Likewise.
1723         * manual/llio.texi: Document madvise().
1725 2001-05-20  Roland McGrath  <roland@frob.com>
1727         * Makeconfig (sysdep-makeconfigs): Include any Makeconfig files
1728         found within $(add-ons) directories too.
1729         [linuxthreads add-on]: Move variable settings for linuxthreads
1730         to new file linuxthreads/Makeconfig.
1732 2001-05-20  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
1734         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_STD_AUXV):
1735         Define for linux >= 2.4.5 on powerpc.
1736         (__ASSUME_MMAP2_SYSCALL): Likewise.
1738 2001-05-19  Roland McGrath  <roland@frob.com>
1740         * hurd/hurdlookup.c (__hurd_file_name_lookup_retry): Don't leak the
1741         result port when failing with ELOOP.  Do the ELOOP check when
1742         following an absolute symlink target as well as relative.
1743         Remove #ifdef SYMLOOP_MAX conditional--it should always be defined.
1745 2001-05-18  Andreas Jaeger  <aj@suse.de>
1747         * po/fr.po: Free software is "logiciel libre".
1748         Patch by Martin Michlmayr <tbm@cyrius.com>.
1750         * sysdeps/powerpc/elf/libc-start.c: Use __cxa_atexit.
1751         Patch by ekato@ees.hokudai.ac.jp, closes PR libc/2271.
1753 2001-05-17  David Mosberger  <davidm@hpl.hp.com>
1755         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: New file.
1757 2001-05-17  Ulrich Drepper  <drepper@redhat.com>
1759         * elf/dl-profile.c (_dl_mcount): Check whether state is
1760         GMON_PROF_ON before doing anything.
1762 2001-05-17  H.J. Lu  <hjl@gnu.org>
1764         * elf/sprof.c (read_symbols): Move "++symtab" into the while loop.
1766 2001-05-17  Ulrich Drepper  <drepper@redhat.com>
1768         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Use
1769         CHECK_SIGSET_NULL_OK and not CHECK_SIGSET for all parameters.
1770         Reported by Mark Burton <markb@ordern.com>.
1772 2001-05-17  Jakub Jelinek  <jakub@redhat.com>
1774         * elf/ldconfig.c (add_dir): Only warn about stat failure if
1775         opt_verbose.
1776         (search_dir): Likewise.
1778 2001-05-17  Ulrich Drepper  <drepper@redhat.com>
1780         * sysdeps/i386/i486/atomicity.h (exchange_and_add): Correct second
1781         parameter of xaddl.  Patch by H . J . Lu <hjl@lucon.org>.
1783 2001-05-14  Bruno Haible  <haible@clisp.cons.org>
1785         * iconvdata/iso-2022-cn-ext.c (BODY for FROM_LOOP): If SO is seen
1786         without previous announcement, reject it regularly, don't abort.
1788 2001-05-16  Ulrich Drepper  <drepper@redhat.com>
1790         * math/tgmath.h: Fix handling of int parameters to binary and
1791         ternary functions.  Reported by mitr@volny.cz.
1793         * math/test-tgmath.c: Add tests for calls with integer parameters.
1795 2001-05-15  Jakub Jelinek  <jakub@redhat.com>
1797         * sunrpc/rpc_thread.c (rpc_default): Remove.
1798         (__rpc_thread_destroy): Use __libc_tsd_RPC_VARS_mem instead of
1799         rpc_default.
1800         (rpc_thread_multi, __rpc_thread_svc_fdset, __rpc_thread_createerr,
1801         __rpc_thread_svc_pollfd, __rpc_thread_svc_max_pollfd): Likewise.
1802         * sunrpc/auth_none.c (authnone_private): Fix a typo.
1804 2001-05-16  Martin Schwidefsky  <schwidefsky@de.ibm.com>
1806         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Fix stack allocation.
1808 2001-05-16  Bruce Mitchener  <bruce@cubik.org>
1810         * manual/llio.texi: Many grammar and typo fixes to the section on AIO.
1812 2001-05-15  Andreas Jaeger  <aj@suse.de>
1814         * sysdeps/ieee754/ldbl-128/s_expm1l.c: New file, contributed by
1815         Stephen L Moshier <moshier@mediaone.net>.
1817         * sysdeps/i386/fpu/libm-test-ulps: Adjust for change.
1819         * math/libm-test.inc: Add comment with ToDo.
1821         * sysdeps/i386/fpu/e_expl.c: Rewritten to C and using a more
1822         accurate algorithm.  Patch by Stephen L Moshier <moshier@mediaone.net>.
1824         * sysdeps/i386/fpu/e_expl.S: Removed.
1826 2001-05-14  Roland McGrath  <roland@frob.com>
1828         * csu/Makefile ($(objpfx)g$(start-installed-name)): Turn this into a
1829         static pattern rule also that also covers
1830         $(objpx)g$(static-start-installed-name).
1831         [$(start-installed-name) != $(static-start-installed-name)]
1832         (extra-objs, omit-deps, install-lib): Add
1833         $(static-start-installed-name) and g$(static-start-installed-name).
1834         * sysdeps/mach/hurd/i386/Makefile: Don't add crt0.o to those here;
1835         just setting static-start-installed-name is now sufficient.
1836         (extra-objs): Add static-start.o here.
1837         (CFLAGS-initfini.s): Remove obsolete variable.
1838         * sysdeps/mach/hurd/i386/Makeconfig: New file.
1839         Define static-start-installed-name here.
1841         * Makeconfig: Include existing $(full_config_sysdirs:=/Makeconfig).
1842         * Make-dist (+sysdep-tsrcs): Look for Makeconfig files.
1844         * Makerules ($(+sysdir_pfx)sysd-Makefile): Remove this target and
1845         associated hair.  Instead, just use $(wildcard ...) in the include.
1847         * configure.in (critic_missing, aux_missing): Collect in these vars
1848         the names of the missing programs, and include them in the error msgs.
1849         * configure: Regenerated.
1851 2001-05-14  Andreas Jaeger  <aj@suse.de>
1853         * sysdeps/i386/fpu/libm-test-ulps: Adjust for new tests.
1855         * math/libm-test.inc (tanh_test): Add testcases for last tanh bug.
1857 2001-05-14  Stephen L Moshier <moshier@mediaone.net>
1859         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Fix sign test.
1861 2001-05-11  Jakub Jelinek  <jakub@redhat.com>
1863         * posix/regex.c (re_match_2_internal): Swap mbs_offset and csize
1864         as well if swapping strings.
1865         Make sure stop is not past end of second string.
1866         * posix/bug-regex4.c: New test.
1867         * posix/Makefile (tests): Add bug-regex4.
1869 2001-05-10  Andreas Jaeger  <aj@suse.de>
1871         * manual/install.texi (Linux): Clarify that Linux 2.2 is minimal
1872         requirement.
1874 2001-05-12  Andreas Jaeger  <aj@suse.de>
1876         * sysdeps/ieee754/dbl-64/s_sin.c: Include "math_private.h" for
1877         internal prototypes.
1878         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
1879         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
1880         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
1881         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
1882         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
1883         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
1884         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
1886         * math/math_private.h: Add prototypes for internal functions of
1887         the IBM Accurate Mathematical Library.
1889         * sysdeps/ieee754/dbl-64/s_atan.c: Include "math.h" for
1890         prototypes.
1891         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
1893         * sysdeps/ieee754/dbl-64/e_asin.c: Include "math_private.h" for
1894         internal prototypes.
1895         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
1896         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
1897         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
1898         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
1899         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
1900         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
1901         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
1902         * sysdeps/generic/e_rem_pio2l.c: Likewise.
1903         (__ieee754_rem_pio2l): Fix prototype.
1905         * math/math_private.h (__copysign): Add internal prototype.
1907 2001-05-11  Andreas Jaeger  <aj@suse.de>
1909         * sysdeps/unix/sysv/linux/configure.in: Move binutils check to...
1910         * sysdeps/unix/sysv/linux/mips/configure.in: ...here.  New file.
1912 2001-05-11  Andreas Jaeger  <aj@suse.de>
1914         * sysdeps/unix/sysv/linux/configure.in: Check binutils version on
1915         MIPS.
1917         * sysdeps/mips/rtld-ldscript.in: Removed unneeded binary output
1918         format directive.  Patch by Steven J. Hill <sjhill@cotw.com>.
1920 2001-05-11  Roland McGrath  <roland@frob.com>
1922         * sysdeps/mach/hurd/Makefile ($(link-rpcuserlibs)): Don't use
1923         $(build-module) here, since we don't need the full magilla.
1924         Just use $(build-module-helper) and append our special options.
1926 2001-05-09  Andreas Schwab  <schwab@suse.de>
1928         * sysdeps/unix/readdir.c: Make sure we don't modify errno when we
1929         reached EOF.
1931 2001-05-07  H.J. Lu  <hjl@gnu.org>
1933         * elf/ldconfig.c (dir_entry): Add ino and dev.
1934         (add_single_dir): Compare ino and dev to check if 2 directory
1935         paths are the same or not.  Free entry->path for duplicates.
1936         (add_dir): Initialize ino and dev for entry.
1937         (search_dir): Handle symlink to directory.
1939 2001-05-07  Andreas Jaeger  <aj@suse.de>
1941         * sysdeps/i386/fpu/libm-test-ulps: Add ulps for new exp tests.
1943         * math/libm-test.inc (exp_test): Add some more tests.
1944         (pow_test): Run double only test also for long double.
1946         * math/test-ldouble.c (TEST_LDOUBLE): Define.
1947         * math/test-ildoubl.c (TEST_LDOUBLE): Likewise.
1949         * sysdeps/generic/bits/confname.h: Remove extra comma at end of
1950         enumeration.
1951         Closes PR libc/2240.
1953         * scripts/config.guess: Imported from gnu.org.
1954         * scripts/config.sub: Likewise.
1956 2001-05-05  Jakub Jelinek  <jakub@redhat.com>
1958         * include/features.h (__USE_EXTERN_INLINES): Don't define if
1959         __NO_INLINE__ is defined.
1960         * ctype/ctype.h (tolower, toupper): Change the guard condition to
1961         __USE_EXTERN_INLINES check only.
1962         * stdlib/stdlib.h (strtod, ...): Likewise.
1963         * wcsmbs/wchar.h (mbrlen): Likewise.
1964         * string/string.h: Only include bits/string.h and bits/string2.h
1965         if __NO_INLINE__ is not defined.
1967 2001-05-07  Andreas Jaeger  <aj@suse.de>
1969         * debug/Makefile ($(objpfx)xtrace): Substitute @SLIBDIR@ instead
1970         of @LIBDIR@.
1972 2001-05-04  H.J. Lu  <hjl@gnu.org>
1974         * malloc/Makefile ($(objpfx)memusage): Substitute @SLIBDIR@
1975         not @LIBDIR@.
1977 2001-05-06  Andreas Jaeger  <aj@suse.de>
1979         * sysdeps/i386/fpu/e_fmodl.c: New, rewrite of e_fmodl.S.
1980         * sysdeps/i386/fpu/e_fmodl.S: Removed.
1981         * sysdeps/i386/fpu/e_atan2l.c: New, rewrite of e_atan2l.S.
1982         * sysdeps/i386/fpu/e_atan2l.S: Removed.
1983         * sysdeps/i386/fpu/e_acosl.c: New, rewrite of e_acos.S.
1984         * sysdeps/i386/fpu/s_atanl.c: New, rewrite of e_atanl.S.
1985         * sysdeps/i386/fpu/e_sqrtl.c: New, rewrite of e_sqrt.S.
1986         * sysdeps/i386/fpu/e_acosl.S: Removed.
1987         * sysdeps/i386/fpu/s_atanl.S: Removed.
1988         * sysdeps/i386/fpu/e_sqrtl.S: Removed.
1990 2001-05-05  Mark Kettenis  <kettenis@gnu.org>
1992         * sysdeps/mach/hurd/bits/environments.h: Add comment from
1993         sysdeps/generic/bits/environments.h.  Define _POSIX_V6_* values.
1995 2001-04-30  Jakub Jelinek  <jakub@redhat.com>
1997         * posix/confstr.c (confstr) [_CS_V6_WIDTH_RESTRICTED_ENVS]: Move so
1998         that _CS_LFS_CFLAGS can fall through to the empty returned string
1999         case.  Add FALLTHROUGH comment.
2001 2001-04-29  Ralf Baechle  <ralf@gnu.org>
2003         * sysdeps/unix/sysv/linux/mips/bits/sem.h: Make structure
2004         definitions match the kernel definitions.
2005         * sysdeps/unix/sysv/linux/mips/bits/ipc.h: Likewise.
2006         * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
2008 2001-04-29  Ben Collins  <bcollins@debian.org>
2010         * sysdeps/sparc/sparc64/dl-machine.h: Fix multiline strings
2011         warnings.
2012         * sysdeps/sparc/sparc64/soft-fp/qp_add.c: Likewise.
2013         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
2014         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
2015         * sysdeps/sparc/sparc64/soft-fp/qp_div.c: Likewise.
2016         * sysdeps/sparc/sparc64/soft-fp/qp_dtoq.c: Likewise.
2017         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
2018         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
2019         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
2020         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
2021         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
2022         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
2023         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
2024         * sysdeps/sparc/sparc64/soft-fp/qp_qtod.c: Likewise.
2025         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
2026         * sysdeps/sparc/sparc64/soft-fp/qp_qtos.c: Likewise.
2027         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
2028         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
2029         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
2030         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
2031         * sysdeps/sparc/sparc64/soft-fp/qp_sqrt.c: Likewise.
2032         * sysdeps/sparc/sparc64/soft-fp/qp_stoq.c: Likewise.
2033         * sysdeps/sparc/sparc64/soft-fp/qp_sub.c: Likewise.
2034         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
2036 2001-04-29  Andreas Schwab  <schwab@suse.de>
2038         * sysdeps/unix/sysv/linux/kernel-features.h: Fix missing backslash
2039         in last change.
2041 2001-04-29  Andreas Jaeger  <aj@suse.de>
2043         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
2044         Define for Arm, PowerPC and SH if kernel is 2.4.4 or newer.
2046         * sysdeps/unix/sysv/linux/bits/socket.h (PF_WANPIPE): New, from
2047         Linux 2.4.4.
2048         (AF_WANPIPE): Likewise.
2049         (MSG_MORE): New.
2051         * sysdeps/unix/sysv/linux/alpha/bits/socket.h: Add same changes as
2052         for Linux generic version.
2053         * sysdeps/unix/sysv/linux/s390/s390-64/bits/socket.h: Likewise.
2054         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
2055         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
2056         * sysdeps/unix/sysv/linux/ia64/bits/socket.h: Likewise.
2058         * sysdeps/gnu/netinet/tcp.h (TCP_QUICKACK): New.
2060 2001-04-27  Ulrich Drepper  <drepper@redhat.com>
2062         * nis/nss-nis.h: Correct test for invalid error number.
2063         * nis/nss-nisplus.h: Likewise.
2065         * nis/Makefile (libnss_compat-rountines): Add nss-nisplus.
2067 2001-04-26  Ulrich Drepper  <drepper@redhat.com>
2069         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add getunwind.
2071         * string/strcoll.c: Fix two memory allocation problems.
2072         * string/Makefile (tests): Add bug-strcoll1.
2073         * string/bug-strcoll1.c: New file.
2075         * malloc/mcheck.c (mcheck): Call malloc once before setting the
2076         hooks to allow the internal check hooks to be set up if necessary.
2078         * nis/nss-nis.h: Move yperr2nss_tab definition into separate file
2079         and rename to __yperr2nss_tab.  Change YPERR_COUNT into variable
2080         __yperr2nss_count.
2081         * nis/nss-nis.c: New file.
2082         * nis/nss-nisplus.h: Move niserr2nss_tab definition into separate file
2083         and rename to __niserr2nss_tab.  Change NISERR_COUNT into variable
2084         __niserr2nss_count.
2085         * nis/nss-nisplus.c: New file.
2086         * nis/Makefile (libnss_compat-routines): Add nss-nis.
2087         (libnss_nis-routines): Likewise.
2088         (libnss_nisplus-routines): Add nss-nisplus.
2090         * nis/nss_nisplus/nisplus-alias.c: Remove unnecessary initializations.
2091         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
2092         * nis/nss_nisplus/nisplus-grp.c: Likewise.
2093         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
2094         * nis/nss_nisplus/nisplus-network.c: Likewise.
2095         * nis/nss_nisplus/nisplus-proto.c: Likewise.
2096         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
2097         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
2098         * nis/nss_nisplus/nisplus-service.c: Likewise.
2099         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
2100         * nis/nss_nis/nis-alias.c: Likewise.
2101         * nis/nss_nis/nis-ethers.c: Likewise.
2102         * nis/nss_nis/nis-grp.c: Likewise.
2103         * nis/nss_nis/nis-network.c: Likewise.
2104         * nis/nss_nis/nis-proto.c: Likewise.
2105         * nis/nss_nis/nis-pwd.c: Likewise.
2106         * nis/nss_nis/nis-spwd.c: Likewise.
2107         * nis/nss_compat/compat-grp.c: Likewise.
2108         * nis/nss_compat/compat-initgroups.c: Likewise.
2109         * nis/nss_compat/compat-pwd.c: Likewise.
2110         * nis/nss_compat/compat-spwd.c: Likewise.
2112         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Some more
2113         optimizations.  Patch by Jakub Jelinek <jakub@redhat.com>.
2115 2001-04-26  Andreas Jaeger  <aj@suse.de>
2117         * po/zh_TW.po: Update.
2118         Patch by Tung-Han Hsieh <thhsieh@tlug.sinica.edu.tw>.
2120 2001-04-25  Ulrich Drepper  <drepper@redhat.com>
2122         * malloc/malloc.c: Allow MALLOC_ALIGNMENT to be defined on the
2123         compiler command line.
2124         * sysdeps/hppa/Makefile: Add -DMALLOC_ALIGNMENT=16 to compiler
2125         command line for malloc.c.
2127 2001-04-25  Jakub Jelinek  <jakub@redhat.com>
2129         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/time.h: Move to...
2130         * sysdeps/unix/sysv/linux/sparc/bits/time.h: ...here.
2131         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/bits/time.h: Remove.
2132         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/socket.h: Move to...
2133         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: ...here.  Adjust
2134         struct msghdr for __WORDSIZE == 32.
2135         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/statvfs.h: Move to...
2136         * sysdeps/unix/sysv/linux/sparc/bits/statvfs.h: ...here.  Adjust
2137         for __WORDSIZE == 32.
2138         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/siginfo.h: Remove.
2139         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/get_clockfreq.c: New
2140         file.
2141         * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S (__libc_siglongjmp):
2142         Rename from longjmp, make longjmp weak alias to it.
2144 2001-04-24  David S. Miller  <davem@redhat.com>
2146         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: New file.
2148 2001-04-25  Matthew Wilcox  <willy@ldl.fc.hp.com>
2150         * sysdeps/hppa/stackinfo.h: New file.
2151         * sysdeps/unix/sysv/linux/hppa/getdents64.c: New file.
2152         * sysdeps/unix/sysv/linux/hppa/mmap64.c: New file.
2153         * sysdeps/unix/sysv/linux/hppa/bits/resource.h: New file.
2154         * sysdeps/unix/sysv/linux/kernel-features.h: Add descriptions
2155         of PA kernel features.
2157 2001-04-25  Ulrich Drepper  <drepper@redhat.com>
2159         * locale/programs/localedef.c (main): Always set a file name for
2160         the initial locale.
2161         * locale/programs/locfile.c (locfile_read): filename is allowed to
2162         be NULL.
2164 2001-04-12  Paul Bame  <paul_bame@hp.com>
2166         * sysdeps/hppa/fpu/fclrexcpt.c: Clear the exception flags, not the
2167         enable flags.
2169 2001-04-24  Ulrich Drepper  <drepper@redhat.com>
2171         * sysdeps/generic/bits/environments.h (_POSIX_V6_LPBIG_OFFBIG,
2172         _XBS5_LPBIG_OFFBIG): Define to -1.
2173         Fix typos.
2175         * sysdeps/generic/bits/confname.h: Add _CS_V6_WIDTH_RESTRICTED_ENVS.
2176         * posix/confstr.c: Handle _CS_V6_WIDTH_RESTRICTED_ENVS.
2177         * posix/getconf.c: Handle _POSIX_V6_WIDTH_RESTRICTED_ENVS.
2178         * posix/tst-getconf.sh: Add _POSIX_V6_WIDTH_RESTRICTED_ENVS.
2180         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9b/Implies: New file.
2181         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9b/bits/time.h: Removed.
2183 2001-03-21  Alan Modra  <alan@one.net.au>
2185         * sysdeps/hppa/dl-machine.h (RTLD_START): Set up dp with DT_PLTGOT
2186         value from application so that constructors in non-PIC libs work.
2188 2000-12-13  Jes Sorensen  <jes@linuxcare.com>
2190         * sysdeps/hppa/dl-machine.h (RTLD_START): _dl_init now returns a
2191         function pointer, hence load the jump address and gp from the
2192         function pointer before jumping.
2194 2001-04-24  Andreas Jaeger  <aj@suse.de>
2196         * sysdeps/generic/send.c (__send): Return ssize_t.
2197         * sysdeps/mach/hurd/send.c (__send): Likewise.
2198         * sysdeps/mach/hurd/recv.c (recv): Likewise.
2199         * sysdeps/mach/hurd/sendto.c (sendto): Likewise.
2200         * sysdeps/generic/sendto.c (sendto): Likewise.
2201         * sysdeps/generic/recvmsg.c (recvmsg): Likewise.
2202         * sysdeps/mach/hurd/recvfrom.c (recvfrom): Likewise.
2203         * sysdeps/generic/recvfrom.c (recvfrom): Likewise.
2204         * sysdeps/generic/sendmsg.c (sendmsg): Likewise.
2206         * socket/sys/socket.h: send* and recv* return ssize_t.
2208         * include/sys/socket.h: send returns ssize_t.
2210         * sysdeps/i386/fpu_control.h: Fix comments.
2212 2001-04-24  Ulrich Drepper  <drepper@redhat.com>
2214         * sysdeps/ia64/Dist: Add hp-timing.c.
2215         * sysdeps/unix/sysv/linux/sparc/sparc64/Dist: Add ucontext_i.h.
2216         * posix/Makefile (distribute): Add tst-getconf.sh.
2217         * po/Makefile (distribute): Add $(BROKEN_LINGUAS:=.po).
2219 2001-04-23  Ulrich Drepper  <drepper@redhat.com>
2221         * sysdeps/ia64/Makefile [subdir=csu] (sysdep_routines): Add hp-timing.
2222         * sysdeps/ia64/Versions: Add _dl_cpuclock_offset for ld in 2.2.3.
2223         * sysdeps/ia64/hp-timing.c: New file.
2224         * sysdeps/ia64/hp-timing.h: New file.
2225         * sysdeps/unix/sysv/linux/ia64/bits/time.h: Add definitions for
2226         CLOCK_PROCESS_CPUTIME_ID and CLOCK_THREAD_CPUTIME_ID.
2228         * sysdeps/generic/clock_getcpuclockid.c: Make function generic, test
2229         using #ifdef whether the clock is available.
2230         * sysdeps/unix/i386/clock_getcpuclockid.c: Not needed anymore.
2232         * sysdeps/generic/dl-sysdep.c: Initialize _dl_cpuclock_offset to move
2233         it into data section.
2235         * sysdeps/unix/i386/i586/clock_getres.c: Removed.
2236         * sysdeps/unix/i386/i586/clock_gettime.c: Removed.
2237         * sysdeps/unix/i386/i586/clock_nanosleep.c: Removed.
2238         * sysdeps/unix/i386/i586/clock_settime.c: Removed.
2239         * sysdeps/unix/i386/i586/cpuclock-init.h: Removed.
2240         * sysdeps/generic/cpuclock-init.h: Removed.
2241         * sysdeps/unix/i386/i686/Implies: Removed.
2242         * sysdeps/unix/i386/i686/tempname.c: Removed.
2243         * sysdeps/i386/i686/Versions: New file.
2244         * sysdeps/unix/i386/i586/Versions: Removed.
2246         * sysdeps/posix/clock_getres.c: If HP_TIMING_AVAIL is nonzero handle
2247         CLOCK_PROCESS_CPUTIME_ID and CLOCK_THREAD_CPUTIME_ID.
2248         * sysdeps/unix/clock_gettime.c: Likewise.
2249         * sysdeps/unix/clock_nanosleep.c: Likewise.
2250         * sysdeps/unix/clock_settime.c: Likewise.
2251         * sysdeps/posix/tempname.c: Is HP_TIMING_AVAIL is nonzero define
2252         RANDOM_BITS use CPU clock.
2254         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/bits/time.h: New file.
2255         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9b/bits/time.h: New file.
2256         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/time.h: New file.
2257         * sysdeps/sparc/Versions: New file.
2259         * elf/dl-support.c: Don't use cpuclock-init.h definitions, use
2260         hp-timing.h definitions.
2261         * sysdeps/generic/dl-sysdep.c: Likewise.
2263         * include/libc-internal.h: Include hp-timing.h.  Use hp_timing_t in
2264         __get_clockfreq prototype.
2266         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
2267         Use hp_timing_t type.
2268         * sysdeps/generic/get_clockfreq.c (__get_clockfreq): Likewise.
2270         * sysdeps/unix/sysv/linux/ia64/get_clockfreq.c: New file.
2272         * sysdeps/posix/pathconf.c (__pathconf): For _PC_ASYNC_IO test
2273         whether named file is a regular file or a block device.
2274         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
2276 2001-04-23  Andreas Jaeger  <aj@suse.de>
2278         * nscd/nscd.h: Add noreturn attribute for start_threads.
2280 2001-04-22  Ulrich Drepper  <drepper@redhat.com>
2282         * posix/getconf.c: Fix names of XBS5 LFS test variables.
2283         Add missing configuration variables from XPG6.
2284         * posix/tst-getconf.c: New file.
2285         * posix/Makefile (generated): Add tst-getconf.out.
2286         (tests): Add ($objpfx)tst-getconf.out.
2287         Add rule to run tst-getconf.sh.
2288         * sysdeps/generic/bits/confname.h: Add missing _PC_ and _SC_ values
2289         from XPG6.
2290         * sysdeps/posix/fpathconf.c: Add handling of _PC_ALLOC_SIZE_MIN and
2291         _PC_SYMLINK_MAX.
2292         * sysdeps/posix/pathconf.c: Likewise.
2293         * sysdeps/posix/sysconf.c: Correct spelling of _SC_MULTI_PROCESS
2294         and _SC_SYMLOOP_MAX.
2296 2001-04-22  Philip Blundell  <philb@gnu.org>
2298         * sysdeps/arm/fpu/feenablxcpt.c: New file.
2299         * sysdeps/arm/fpu/fedisablxcpt.c: New file.
2300         * sysdeps/arm/fpu/fegetexcpt.c: New file.
2302 2001-04-22  Philip Blundell  <philb@gnu.org>
2304         * sysdeps/unix/sysv/linux/arm/sys/user.h (struct user_fpregs):
2305         Renamed from struct user_fp.
2306         (struct user_regs): New.
2307         (struct user): Use struct user_regs rather than struct pt_regs to
2308         avoid dependency on asm/ptrace.h.  Use struct user_fpregs in place
2309         of struct user_fp and struct user_fp_struct.
2310         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Include sys/procfs.h
2311         not sys/elf.h.
2313 2001-04-22  Philip Blundell  <philb@gnu.org>
2315         * sysdeps/unix/sysv/linux/arm/sys/elf.h: Move contents to
2316         sys/procfs.h, and tell the user to include that file instead.
2317         * sysdeps/unix/sysv/linux/arm/sys/procfs.h: Remove old cruft
2318         surrounded with #if 0.
2319         (elf_greg_t, ELF_NGREG, elf_gregset_t, elf_fpregset_t): Moved here
2320         from sys/elf.h.
2321         (prgregset_t, prfpregset_t): Define in terms of elf_gregset_t and
2322         elf_fpregset_t respectively.
2324 2001-04-22  Philip Blundell  <philb@gnu.org>
2326         * sysdeps/unix/sysv/linux/arm/register-dump.h: Also print the
2327         address that faulted.
2329 2001-04-21  Ulrich Drepper  <drepper@redhat.com>
2331         * sysdeps/generic/bits/confname.h: Add _SC_V6_* and _CS_POSIX_V6_*
2332         values.
2333         * sysdeps/generic/bits/environments.h: Define _POSIX_V6_* values.
2334         * posix/confstr.c: Handle _CS_POSIX_V6_* values.
2335         * posix/getconf.c: Handle _CS_POSIX_V6_* and _SC_V6_* values.
2336         * sysdeps/posix/sysconf.c: Handle _SC_V6_* values.
2338         * sysdeps/powerpc/fpu/libm-test-ulps: Add deltas for atan2f.
2339         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
2340         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
2341         * sysdeps/mips/fpu/libm-test-ulps: Likewise.
2343 2001-04-21  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
2345         * sysdeps/unix/sysv/linux/powerpc/mmap64.c: Correct check for invalid
2346         offset.
2348 2001-04-21  Ulrich Drepper  <drepper@redhat.com>
2350         * posix/getopt.h: Treat __cplusplus like __STDC__.
2352 2001-04-20  John S. Marvin  <jsm@fc.hp.com>
2354         * sysdeps/unix/sysv/linux/hppa/clone.S: Fix clone system call
2355         entry point stub.
2357 2001-04-20  Richard Hirst  <rhirst@linuxcare.com>
2359         * elf/elf.h: Corrected R_PARISC_DIR14R (should be 6, not 5),
2360         and added R_PARISC_DPREL21L and R_PARISC_DPREL14R for modutils.
2362         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Removed ptrace
2363         entry so the ptrace.c wrapper is used.
2365 2001-04-20  Alan Modra  <amodra@one.net.au>
2367         * sysdeps/hppa/dl-lookupcfg.h (_dl_function_address): Prototype.
2368         (DL_FUNCTION_ADDRESS): Define.
2369         (DL_DT_INIT_ADDRESS): Define.
2370         (DL_DT_FINI_ADDRESS): Define.
2371         * sysdeps/hppa/Versions: Add _dl_function_address.
2372         * sysdeps/hppa/dl-machine.h (ELF_MACHINE_START_ADDRESS): Define.
2373         * sysdeps/hppa/dl-symaddr.c (_dl_start_address): Rename to
2374         _dl_function_address.
2376 2001-04-21  Andreas Jaeger  <aj@suse.de>
2378         * rt/aio_misc.c (handle_fildes_io): Add noreturn attribute.
2379         * resolv/gai_misc.c (handle_requests): Likewise.
2380         * malloc/obstack.c (print_and_abort): Likewise.
2381         * malloc/mcheck.c (mabort): Likewise.
2383         * sysdeps/unix/i386/i586/clock_settime.c: Include
2384         "libc-internal.h" for __get_clockfreq declaration.
2386 2001-04-21  Ulrich Drepper  <drepper@redhat.com>
2388         * elf/dl-support.c: Include cpuclock-init.h.  Use CPUCLOCK_VARDEF and
2389         CPUCLOCK_INIT if defined.
2390         * sysdeps/generic/dl-sysdep.c: Likewise.
2391         * sysdeps/generic/cpuclock-init.h: New file.
2392         * sysdeps/unix/i386/i586/cpuclock-init.h: New file.
2393         * sysdeps/unix/i386/i586/Versions: New file.
2394         * sysdeps/unix/i386/i586/clock_settime.c: New file.
2395         * sysdeps/unix/i386/i586/clock_gettime.c: Handle thread CPU clock
2396         separately by calling __pthread_clock_gettime if this function is
2397         available.  Subtract offset from tsc value before computing time value.
2399 2001-04-20  Ulrich Drepper  <drepper@redhat.com>
2401         * iconv/iconv_prog.c (print_known_names): If printing goes not to
2402         a tty print in a more machine-friendly way.
2404         * sysdeps/ieee754/ldbl-128/e_asinl.c: New file.
2405         Contributed by Stephen L Moshier <moshier@mediaone.net>.
2407 2001-04-20  Andreas Jaeger  <aj@suse.de>
2409         * intl/Makefile (tests): Reorder conditions, tst-gettext needs msgfmt.
2411 2001-04-20  Andreas Schwab  <schwab@suse.de>
2413         * sysdeps/m68k/fpu/libm-test-ulps: Update.
2415 2001-04-19  Alan Modra  <amodra@one.net.au>
2417         * Makerules (libc_pic.os): Add $(LDFLAGS-c_pic.os).
2418         * sysdeps/hppa/Makefile (LDFLAGS-c_pic.os): Define.
2419         (CFLAGS-.os): Remove.
2421         * sysdeps/unix/sysv/linux/hppa/sysdep.h (CALL_MCOUNT): Update comment.
2423         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (NGREG, NFPREG,
2424         gregset): Correct for new kernel definitions.
2426 2001-04-19  Alan Modra  <alan@linuxcare.com.au>
2428         * sysdeps/hppa/elf/initfini.c: Change dlt reg save to r3 and
2429         generate unwind info by hand.
2431 2001-04-19  Ulrich Drepper  <drepper@redhat.com>
2433         * sysdeps/unix/sysv/linux/powerpc/mmap64.c (__mmap64): Optimize a bit.
2435         * configure.in: Correct regular expression for msgfmt.
2436         Patch by Bruno Haible <haible@ilog.fr>.
2438 2001-04-19  Andreas Jaeger  <aj@suse.de>
2440         * po/el.po: Add comment explaining what's broken.
2442         * po/Makefile (BROKEN_LINGUAS): New.
2443         (ALL_LINGUAS): Don't add broken languages.
2445 2001-04-19  Roland McGrath  <roland@frob.com>
2447         * sysdeps/mach/hurd/mlock.c: New file.
2448         * sysdeps/mach/hurd/munlock.c: New file.
2449         * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_MEMLOCK_RANGE): Define it.
2451         * misc/Makefile (routines): Add mlock munlock mlockall munlockall.
2452         * sysdeps/generic/mlock.c: New file.
2453         * sysdeps/generic/munlock.c: New file.
2454         * sysdeps/generic/mlockall.c: New file.
2455         * sysdeps/generic/munlockall.c: New file.
2456         * sysdeps/generic/bits/mman.h (MCL_CURRENT, MCL_FUTURE): New macros.
2457         * sysdeps/unix/sysv/linux/syscalls.list (mlock, munlock,
2458         mlockall, munlockall): Change caller field to - from EXTRA.
2459         Don't use __ names; not used (and not declared in include/sys/mman.h).
2461         * hurd/privports.c (__get_privileged_ports): Renamed with __.
2462         Use __ names for calls we make.
2463         (get_privileged_ports): Add alias.
2464         * hurd/hurd.h: Declare it with the __ name.
2465         * sysdeps/mach/hurd/reboot.c (reboot): Use __get_privileged_ports.
2466         * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
2467         * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
2469         * hurd/hurdsig.c (write_corefile): Check RLIMIT_CORE limit and do
2470         nothing if it's zero.
2472 2001-04-19  Matthew Wilcox  <willy@ldl.fc.hp.com>
2474         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL):
2475         Change to return a signed result for compatibility with other
2476         architectures, and correctness.
2478 2001-04-19  Ulrich Drepper  <drepper@redhat.com>
2480         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_32BITUIDS):
2481         HPPA always had them.  Patch by Matthew Wilcox <matthew@wil.cx>.
2483 2001-04-19  Andreas Jaeger  <aj@suse.de>
2485         * configure.in: Require gettext 0.10.36 or newer.
2487         * manual/install.texi (Tools for Compilation): Mention gettext 0.10.36.
2489         * po/zh_TW.po: Remove extraneous backslashes.
2491         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Remove unused
2492         variables b and n.
2494 2001-04-18  Jakub Jelinek  <jakub@redhat.com>
2496         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Update.
2497         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c: New file.
2498         * sysdeps/unix/sysv/linux/sparc/sparc64/swapcontext.c: New file.
2499         * sysdeps/unix/sysv/linux/sparc/sparc64/setcontext.S (__setcontext):
2500         Copy first word of uc_sigmask into __uc_sigmask.
2501         * sysdeps/unix/sysv/linux/sparc/sparc64/getcontext.S (__getcontext):
2502         Save uc_link around trap.  Copy __uc_sigmask into first word of
2503         uc_sigmask, clear the rest.  Make sure setcontext to the created
2504         context doesn't do this though.
2505         * sysdeps/unix/sysv/linux/sparc/sparc64/ucontext_i.h: New file.
2506         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (ucontext_t): Add
2507         uc_stack and uc_sigmask, rename old uc_sigmask to __uc_sigmask in the
2508         64bit version, make uc_sigmask __sigset_t in the 32bit version.
2510 2001-04-19  Andreas Jaeger  <aj@suse.de>
2512         * sysdeps/unix/sysv/linux/hppa/umount.c: Fix typos in last patch.
2514         * rt/Makefile (otherlibs): Added for static NSS.
2516         * glibcbug.in (BUGGLIBC): Send to new alias.
2518 2001-04-02  Andreas Schwab  <schwab@suse.de>
2520         * Makerules (build-module): Make sure exit codes get checked
2521         properly and remove unnecessary slashes.
2523 2001-04-17  Ulrich Drepper  <drepper@redhat.com>
2525         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
2526         Handle kernels which report only three digits after the decimal point.
2527         Reported by Van Okamura <van.okamura@oracle.com>.
2529         * sysdeps/alpha/fpu/libm-test-ulps: Adjust error values for atan2f.
2531 2001-04-17  David S. Miller  <davem@redhat.com>
2533         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Update for new atan2 tests.
2534         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
2536 2001-04-17  Jakub Jelinek  <jakub@redhat.com>
2538         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Make sure
2539         desired exceptions are raised for exceptional values.
2540         * math/libm-test.inc (acosh_test, atan_test, atan2_test, cacos_test,
2541         cacosh_test, casin_test, casinh_test, catan_test, catanh_test,
2542         clog_test, log_test, log1p_test, tan_test): Increase precision of
2543         expected values to satisfy ldbl-128.
2544         * sysdeps/alpha/fpu/libm-test-ulps: Adjust accordingly.
2545         * sysdeps/arm/libm-test-ulps: Likewise.
2546         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
2547         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
2548         * sysdeps/m68k/fpu/libm-test-ulps: Likewise.
2549         * sysdeps/mips/fpu/libm-test-ulps: Likewise.
2550         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
2551         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
2552         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
2553         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
2554         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
2556 2001-04-17  Andreas Jaeger  <aj@suse.de>
2558         * configure.in: Move test for critical programs up.
2560 2001-04-16  Stephen L Moshier  <moshier@mediaone.net>
2562         * sysdeps/ieee754/flt-32/e_asinf.c (pio2_hi, pio2_lo, pio4_hi):
2563         Correct the values.
2564         (pSx, qSx): Replace by shorter approximation.
2565         Use f suffix on float constants.
2567 2001-04-16  Ulrich Drepper  <drepper@redhat.com>
2569         * sysdeps/ieee754/ldbl-128/k_tanl.c: New file.
2570         Contributed by Stephen L Moshier <moshier@mediaone.net>.
2572         * string/string.h: Replace const in attribute list with __const__.
2574 2001-04-16  Roland McGrath  <roland@frob.com>
2576         * grp/initgroups.c (initgroups) [NGROUPS_MAX != 0]: Always use sysconf
2577         instead of the constant NGROUPS_MAX.  That way, the limit can be
2578         raised in the kernel configuration without having to recompile libc.
2580         * sysdeps/posix/euidaccess.c: Don't #include <limits.h> or try to
2581         define NGROUPS_MAX; we don't use it here.
2583 2001-04-16  Andreas Jaeger  <aj@suse.de>
2585         * math/libm-test.inc (atan2_test): Add more testcases.
2587         * iconv/gconv_db.c: Include gconv_charset.h for
2588         __gconv_lookup_alias prototype.
2590 2001-04-13  Ulrich Drepper  <drepper@redhat.com>
2592         * sysdeps/ieee754/ldbl-128/s_atanl.c: New file.
2593         Contributed by Stephen L Moshier <moshier@mediaone.net>.
2595 2001-04-13  Jes Sorensen  <jes@linuxcare.com>
2597         * intl/tst-codeset.c: Include string.h to get prototype for strcmp().
2599 2001-04-13  Jes Sorensen  <jes@linuxcare.com>
2601         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Add __pad0 to
2602         explicitly pad struct siginfo instead of relying on compiler padding.
2604 2001-04-12  Ulrich Drepper  <drepper@redhat.com>
2606         * sysdeps/ia64/Dist: Add elf/entry.h.
2608         * iconvdata/Makefile (distribute): Add TESTS2.
2610 2001-04-13  Jakub Jelinek  <jakub@redhat.com>
2612         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_load_address):
2613         Calculate load address differently.
2615 2001-04-12  Bruno Haible  <haible@clisp.cons.org>
2617         * iconvdata/TESTS2: New file.
2618         * iconvdata/run-iconv-test.sh: Also run tests from TESTS2.
2619         * iconvdata/testdata/alfabeta..UTF-8: New file.
2620         * iconvdata/testdata/alfabeta..UTF-16.BE: New file.
2621         * iconvdata/testdata/alfabeta..UTF-16.LE: New file.
2622         * iconvdata/testdata/alfabeta..UTF-32.BE: New file.
2623         * iconvdata/testdata/alfabeta..UTF-32.LE: New file.
2625 2001-04-11  Bruno Haible  <haible@clisp.cons.org>
2627         * iconvdata/utf-32.c: New file.
2628         * iconvdata/gconv-modules: Add entries for UTF-32, UTF-32LE, UTF-32BE.
2629         * iconvdata/Makefile (modules): Add UTF-32.
2630         (distribute): Add utf-32.c.
2632 2001-04-11  Bruno Haible  <haible@clisp.cons.org>
2634         * iconvdata/utf-16.c (PREPARE_LOOP): Initialize 'swap' after possibly
2635         changing it in the state.  After incrementing 'inptr', store it back.
2636         * iconvdata/unicode.c (PREPARE_LOOP): After incrementing 'inptr',
2637         store it back.
2639 2001-04-11  Bruno Haible  <haible@clisp.cons.org>
2641         * iconvdata/utf-16.c (gconv_init): Use MAX_NEEDED_FROM, not
2642         MIN_NEEDED_FROM.
2644 2001-04-11  David Mosberger  <davidm@hpl.hp.com>
2646         * sysdeps/ia64/htonl.S: Drop superfluous "alloc".
2647         * sysdeps/ia64/htons.S: Likewise.
2649         * sysdeps/ia64/memset.S: Add unwind directives.
2650         * sysdeps/ia64/strncpy.S: Likewise.
2651         * sysdeps/ia64/strcat.S: Likewise.
2653         * sysdeps/ia64/memccpy.S: Add unwind directives.  Drop superfluous
2654         restore of ar.pfs.
2655         * sysdeps/ia64/strchr.S: Likewise.
2656         * sysdeps/ia64/memmove.S: Likewise.
2657         * sysdeps/ia64/memcpy.S: Likewise.
2658         * sysdeps/ia64/memcmp.S: Likewise.
2659         * sysdeps/ia64/memchr.S: Likewise.
2660         * sysdeps/ia64/strcmp.S: Likewise.
2661         * sysdeps/ia64/strlen.S: Likewise.
2662         * sysdeps/ia64/strcpy.S: Likewise.
2663         * sysdeps/ia64/strncmp.S: Likewise.
2665 2001-04-11  Jakub Jelinek  <jakub@redhat.com>
2667         * wcsmbs/wchar.h (fgetwc, getwc, getwchar, fputwc, putwc, putwchar,
2668         fgetws, fputws, ungetwc, getwc_unlocked, getwchar_unlocked,
2669         fgetwc_unlocked, fputwc_unlocked, putwc_unlocked, putwchar_unlocked,
2670         fgetws_unlocked, fputws_unlocked, wcsftime): Add __THROW.
2672 2001-04-11  Andreas Jaeger  <aj@suse.de>
2674         * sysdeps/mips/elf/start.S [__ASSEMBLY__]: Define it.
2676 2001-04-11  Andreas Schwab  <schwab@suse.de>
2678         * sysdeps/m68k/fpu/libm-test-ulps: Adjusted.
2680 2001-04-11  Ulrich Drepper  <drepper@redhat.com>
2682         * sysdeps/arm/stackinfo.h: New file.
2684 2001-04-08  Thorsten Kukuk  <kukuk@suse.de>
2686         * sunrpc/rpc_main.c: If we compile RPC thread safe, allow
2687         rpcgen to generate thread safe code.
2689 2001-04-10  Andreas Jaeger  <aj@suse.de>
2691         * math/test-fenv.c (initial_tests): Protect FE_TONEAREST declaration.
2693 2001-04-10  Ulrich Drepper  <drepper@redhat.com>
2695         * elf/dl-minimal.c (__assert_fail): Change error string.  It's
2696         most of the time no bug in ld.so.
2697         (__assert_perror_fail): Likewise.
2699 2001-04-11  Hans-Peter Nilsson  <hp@axis.com>
2701         * sysdeps/generic/bits/fenv.h (fexcept_t): Change default type
2702         from struct to unsigned int.
2704 2001-04-10  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
2706         * elf/elf.h (AT_DCACHEBSIZE, AT_ICACHEBSIZE, AT_UCACHEBSIZE,
2707         AT_IGNOREPPC): New defines.
2708         * sysdeps/generic/dl-sysdep.c (_dl_show_auxv): Print them.
2709         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_STD_AUXV):
2710         Define for newer powerpc kernels.
2711         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Use the standard
2712         DL_FIND_ARG_COMPONENTS if __ASSUME_STD_AUXV is defined.
2714 2000-4-10  kaz Kojima  <kkojima@rr.iij4u.or.jp>
2716         * sysdeps/sh/stackinfo.h: New file.
2718 2001-04-10  Ulrich Drepper  <drepper@redhat.com>
2720         * locale/tst-C-locale.c (run_test): Add tests for locale objects.
2721         * locale/newlocale.c (__newlocale): Correct setting __ctype_b,
2722         __ctype_tolower, and __ctype_toupper elements.
2724         * ctype/ctype_l.c: Fix definitions of __tolower_l and __toupper_l.
2725         Reported by Konstantin Osipov <rabid@spylog.ru>.
2727         * sysdeps/i386/fpu/libm-test-ulps: Add deltas for tgamma to help
2728         the lousy AMD FPU.
2730 2001-04-10  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
2732         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: New file.
2733         * sysdeps/unix/sysv/linux/powerpc/Dist: Add sys/ptrace.h.
2734         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Delete wrong stuff.
2735         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Correct typedefs.
2737 2001-04-10  Ulrich Drepper  <drepper@redhat.com>
2739         * elf/dl-deps.c (_dl_map_object_deps): Provide complete error
2740         message.  Based on a patch by HJ Lu.
2742 2001-04-10  Andreas Schwab  <schwab@suse.de>
2744         * math/libm-test.inc (csinh_test): Don't require the invalid
2745         exception for csinh (x + iNaN), but make it optional.
2747 2001-04-09  David Mosberger  <davidm@hpl.hp.com>
2749         * sysdeps/ia64/elf/start.S (_start): Add unwind directives.
2751         * sysdeps/generic/entry.h [!__ASSEMBLY__]: Declare _start.
2752         * sysdeps/ia64/elf/entry.h: New file.
2753         * sysdeps/unix/sysv/linux/mips/entry.h [!__ASSEMBLY__]: Declare
2754         __start.
2755         * elf/rtld.c: Don't declare ENTRY_POINT.  Use ENTRY_POINT instead
2756         of &ENTRY_POINT.
2757         * sysdeps/generic/dl-sysdep.c: Likewise.
2758         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
2759         * sysdeps/ia64/elf/start.S: Save base address of register backing
2760         store in __libc_ia64_register_backing_store_base.
2762 2001-04-10  Martin Schwidefsky  <schwidefsky@de.ibm.com>
2764         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Fix return
2765         value of getcontext.
2766         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
2767         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Fix return
2768         value of setcontext.
2769         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
2770         * sysdeps/unix/sysv/linux/s390/swapcontext.c: Skip setcontext
2771         call by changing the saved context.
2773 2001-04-10  Ulrich Drepper  <drepper@redhat.com>
2775         * sysdeps/alpha/stackinfo.h: New file.
2776         * sysdeps/ia64/stackinfo.h: New file.
2778 2001-04-10  Andreas Schwab  <schwab@suse.de>
2780         * sysdeps/m68k/fpu/e_pow.c: Correct handling of some exceptional
2781         values.
2782         * sysdeps/m68k/fpu/e_scalb.c: Likewise.
2784 2001-04-09  Ulrich Drepper  <drepper@redhat.com>
2786         * sysdeps/sparc/sparc32/sparcv9/Dist: Add hp-timing.c.
2787         * sysdeps/sparc/sparc64/Dist: Add hp-timing.c.
2789         * libio/Makefile (distribute): Add fd_to_filename.h.
2791 2001-04-05  David S. Miller  <davem@redhat.com>
2793         Add hp-timing support for sparcv9/sparc64 targets.
2794         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: New file
2795         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: New file
2796         * sysdeps/sparc/sparc64/hp-timing.c: New file
2797         * sysdeps/sparc/sparc64/hp-timing.h: New file
2798         * sysdeps/sparc/sparc32/sparcv9/Makefile: Build hp-timing.
2799         * sysdeps/sparc/sparc64/Makefile: Likewise.
2801 2001-04-09  Jakub Jelinek  <jakub@redhat.com>
2803         * sysdeps/generic/fd_to_filename.h: New file.
2804         * sysdeps/unix/sysv/linux/fd_to_filename.h: New file.
2805         * libio/freopen.c (freopen): If FILENAME is NULL, try to get
2806         filename from the open file descriptor.
2807         * libio/freopen64.c (freopen64): Likewise.
2809 2001-04-09  Bruno Haible  <haible@clisp.cons.org>
2811         * misc/error.c (error): fflush stdout also if
2812         error_print_progname != NULL.
2813         (error_at_line): Likewise.
2815 2001-04-07  Bruno Haible  <haible@clisp.cons.org>
2817         * intl/gettextP.h (struct loaded_domain): Add codeset_cntr field.
2818         (struct binding): Add codeset_cntr field.
2819         (_nl_load_domain): Add domainbinding argument.
2820         (_nl_init_domain_conv, _nl_free_domain_conv): New declarations.
2821         (_nl_find_msg): New declaration, moved here from loadinfo.h.
2822         * intl/loadinfo.h (struct loaded_l10nfile): Remove domainbinding field.
2823         (_nl_make_l10nflist): Remove domainbinding argument.
2824         (_nl_find_msg): Move declaration to gettextP.h.
2825         * intl/bindtextdom.c (set_binding_values): Initialize ->codeset_cntr
2826         to 0.  Increment it when ->codeset is changed.
2827         * intl/dcigettext.c (DCIGETTEXT): Pass binding to _nl_find_msg.
2828         (_nl_find_msg): Add domainbinding argument.  Reinitialize the converter
2829         if domainbinding->codeset_cntr has been incremented.
2830         * intl/finddomain.c (_nl_find_domain): Don't pass domainbinding to
2831         _nl_make_l10nflist().  Pass it to _nl_load_domain() instead.
2832         * intl/l10nflist.c (_nl_make_l10nflist): Remove domainbinding argument.
2833         * intl/loadmsgcat.c (_nl_init_domain_conv): New function, extracted
2834          from _nl_load_domain.  Append //TRANSLIT also when using libiconv.
2835         (_nl_free_domain_conv): New function, extracted from _nl_unload_domain.
2836         (_nl_load_domain): Add domainbinding argument.  Call
2837         _nl_init_domain_conv.
2838         (_nl_unload_domain): Call _nl_free_domain_conv.
2839         * intl/Makefile (distribute): Add tst-codeset.sh, tstcodeset.po.
2840         (test-srcs): Add tst-codeset.
2841         (tests): Depend on tst-codeset.out.
2842         (tst-codeset.out): New rule.
2843         (CFLAGS-tst-codeset.c): New variable.
2844         * intl/tst-codeset.sh: New file.
2845         * intl/tstcodeset.po: New file.
2846         * intl/tst-codeset.c: New file.
2847         * locale/findlocale.c (_nl_find_locale): Update _nl_make_l10nflist
2848         calls.
2850 2001-04-07  Roland McGrath  <roland@frob.com>
2852         * mach/msgserver.c (__mach_msg_server_timeout): Add an assert.
2854 2001-03-31  Roland McGrath  <roland@frob.com>
2856         * sysdeps/mach/hurd/fork.c: Skip NEWPROC just like NEWTASK when
2857         copying send rights into child.  When we hit our name for our proc
2858         port, just copy NEWPROC directly instead of repeating proc_task2proc
2859         to install the child's port.
2861 2001-04-08  Roland McGrath  <roland@frob.com>
2863         * Makeconfig ($(common-objpfx)soversions.i): Grok entries with DEFAULT
2864         in second column, to provide default values for third column.
2865         * shlib-versions: Add comments about using DEFAULT in second column.
2866         (s390x-.*-linux.*): Replace individual entries with a DEFAULT entry.
2867         (cris-.*-linux.*): Likewise.
2869 2001-04-09  Ulrich Drepper  <drepper@redhat.com>
2871         * Makefile (distribute): Add scripts/documented.sh.
2872         * scripts/documented.sh: New file.
2874 2001-04-08  Hans-Peter Nilsson  <hp@axis.com>
2876         * sysdeps/unix/sysv/linux/cris/Dist: New file.
2877         * sysdeps/unix/sysv/linux/cris/Makefile: New file.
2878         * sysdeps/unix/sysv/linux/cris/_G_config.h: New file.
2879         * sysdeps/unix/sysv/linux/cris/bits/fcntl.h: New file.
2880         * sysdeps/unix/sysv/linux/cris/bits/mman.h: New file.
2881         * sysdeps/unix/sysv/linux/cris/bits/resource.h: New file.
2882         * sysdeps/unix/sysv/linux/cris/brk.c: New file.
2883         * sysdeps/unix/sysv/linux/cris/chown.c: New file.
2884         * sysdeps/unix/sysv/linux/cris/clone.S: New file.
2885         * sysdeps/unix/sysv/linux/cris/fchown.c: New file.
2886         * sysdeps/unix/sysv/linux/cris/fcntl.c: New file.
2887         * sysdeps/unix/sysv/linux/cris/fxstat.c: New file.
2888         * sysdeps/unix/sysv/linux/cris/getegid.c: New file.
2889         * sysdeps/unix/sysv/linux/cris/geteuid.c: New file.
2890         * sysdeps/unix/sysv/linux/cris/getgid.c: New file.
2891         * sysdeps/unix/sysv/linux/cris/getgroups.c: New file.
2892         * sysdeps/unix/sysv/linux/cris/getresgid.c: New file.
2893         * sysdeps/unix/sysv/linux/cris/getresuid.c: New file.
2894         * sysdeps/unix/sysv/linux/cris/getrlimit.c: New file.
2895         * sysdeps/unix/sysv/linux/cris/getrlimit64.c: New file.
2896         * sysdeps/unix/sysv/linux/cris/getuid.c: New file.
2897         * sysdeps/unix/sysv/linux/cris/lchown.c: New file.
2898         * sysdeps/unix/sysv/linux/cris/lockf64.c: New file.
2899         * sysdeps/unix/sysv/linux/cris/lxstat.c: New file.
2900         * sysdeps/unix/sysv/linux/cris/mmap.S: New file.
2901         * sysdeps/unix/sysv/linux/cris/mmap64.S: New file.
2902         * sysdeps/unix/sysv/linux/cris/msgctl.c: New file.
2903         * sysdeps/unix/sysv/linux/cris/profil-counter.h: New file.
2904         * sysdeps/unix/sysv/linux/cris/register-dump.h: New file.
2905         * sysdeps/unix/sysv/linux/cris/semctl.c: New file.
2906         * sysdeps/unix/sysv/linux/cris/setegid.c: New file.
2907         * sysdeps/unix/sysv/linux/cris/seteuid.c: New file.
2908         * sysdeps/unix/sysv/linux/cris/setfsgid.c: New file.
2909         * sysdeps/unix/sysv/linux/cris/setfsuid.c: New file.
2910         * sysdeps/unix/sysv/linux/cris/setgid.c: New file.
2911         * sysdeps/unix/sysv/linux/cris/setgroups.c: New file.
2912         * sysdeps/unix/sysv/linux/cris/setregid.c: New file.
2913         * sysdeps/unix/sysv/linux/cris/setresgid.c: New file.
2914         * sysdeps/unix/sysv/linux/cris/setresuid.c: New file.
2915         * sysdeps/unix/sysv/linux/cris/setreuid.c: New file.
2916         * sysdeps/unix/sysv/linux/cris/setrlimit.c: New file.
2917         * sysdeps/unix/sysv/linux/cris/setuid.c: New file.
2918         * sysdeps/unix/sysv/linux/cris/shmctl.c: New file.
2919         * sysdeps/unix/sysv/linux/cris/socket.S: New file.
2920         * sysdeps/unix/sysv/linux/cris/sys/ucontext.h: New file.
2921         * sysdeps/unix/sysv/linux/cris/syscall.S: New file.
2922         * sysdeps/unix/sysv/linux/cris/sysdep.S: New file.
2923         * sysdeps/unix/sysv/linux/cris/sysdep.h: New file.
2924         * sysdeps/unix/sysv/linux/cris/vfork.S: New file.
2925         * sysdeps/unix/sysv/linux/cris/xstat.c: New file.
2927 2001-04-08  Hans-Peter Nilsson  <hp@axis.com>
2929         * sysdeps/cris/Dist: New file.
2930         * sysdeps/cris/Implies: New file.
2931         * sysdeps/cris/Makefile: New file.
2932         * sysdeps/cris/__longjmp.S: New file.
2933         * sysdeps/cris/_mcount.S: New file.
2934         * sysdeps/cris/bits/endian.h: New file.
2935         * sysdeps/cris/bits/setjmp.h: New file.
2936         * sysdeps/cris/bits/string.h: New file.
2937         * sysdeps/cris/dl-machine.h: New file.
2938         * sysdeps/cris/elf/start.S: New file.
2939         * sysdeps/cris/machine-gmon.h: New file.
2940         * sysdeps/cris/memcopy.h: New file.
2941         * sysdeps/cris/memusage.h: New file.
2942         * sysdeps/cris/setjmp.S: New file.
2943         * sysdeps/cris/sysdep.h: New file.
2944         * sysdeps/cris/wordcopy.c: New file.
2946 2001-04-08  Hans-Peter Nilsson  <hp@axis.com>
2948         * elf/elf.h: Add new relocations for CRIS.
2950 2001-04-08  Hans-Peter Nilsson  <hp@axis.com>
2952         * shlib-versions: Add cases for Linux on CRIS.
2954 2001-04-08  Hans-Peter Nilsson  <hp@axis.com>
2956         * configure.in (ASM_LINE_SEP tests): Handle CRIS assembly, with
2957         ';' for comments and '@' for line separator.
2959 2001-04-08  Hans-Peter Nilsson  <hp@axis.com>
2961         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Fix
2962         typo; s/==/=/ for assignment.
2964 2001-04-08  Hans-Peter Nilsson  <hp@axis.com>
2966         * malloc/Makefile: Correct comment; mtrace is Perl, not AWK.
2968 2001-04-08  Hans-Peter Nilsson  <hp@axis.com>
2970         * iconv/gconv_simple.c (internal_ucs4_loop_unaligned): Check for
2971         empty input before checking full output.
2973 2001-04-08  Hans-Peter Nilsson  <hp@axis.com>
2975         * iconv/gconv.c (__gconv): Don't derefer parameter cd before
2976         checking if == -1L.
2978 2001-04-08  Ulrich Drepper  <drepper@redhat.com>
2980         * inet/rexec.c (rexec_af): Avoid calling perror with errno being set.
2982 2001-04-07  Stephen L Moshier  <moshier@mediaone.net>
2984         * sysdeps/ieee754/ldbl-128/e_logl.c: Correct infinity and NaN
2985         return values.
2987 2001-04-07  Ulrich Drepper  <drepper@redhat.com>
2989         * stdlib/tst-setcontext.c (main): Add a test for setcontext.
2991         * sysdeps/unix/sysv/linux/i386/getcontext.S: New file.
2992         * sysdeps/unix/sysv/linux/i386/setcontext.S: New file.
2993         * sysdeps/unix/sysv/linux/i386/makecontext.S: New file.
2994         * sysdeps/unix/sysv/linux/i386/swapcontext.S: New file.
2995         * sysdeps/unix/sysv/linux/i386/ucontext_i.h: New file.
2996         * sysdeps/unix/sysv/linux/i386/Dist: Add ucontext_i.h.
2998 2001-04-07  Andreas Jaeger  <aj@suse.de>
3000         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Use sincos
3001         instead of separate sin and cos.
3002         (__ieee754_j1l): Likewise.
3004 2001-04-06  Ulrich Drepper  <drepper@redhat.com>
3006         * sysdeps/ia64/abort-instr.h: New file.  Code by David Mosberger.
3008         * sysdeps/ia64/atomicity.h: New file.  Copied from libstdc++.
3010         * sysdeps/i386/i486/atomicity.h: Clean up the asms.
3012         * sysdeps/generic/e_scalb.c: Don't use FE_INVALID unless it's
3013         available.
3014         * sysdeps/generic/e_scalbf.c: Likewise.
3015         * sysdeps/generic/e_scalbl.c: Likewise.
3016         Patch by Mark Hatle <fray@mvista.com>.
3018 2001-04-05  David S. Miller  <davem@redhat.com>
3020         * sysdeps/sparc/abort-instr.h: New file.
3022 2001-04-05  Matt Wilson  <msw@redhat.com>
3024         * sysdeps/unix/sysv/linux/alpha/getsysstats.c (GET_NPROCS_PARSER):
3025         added code to parse new 2.4 format.
3026         (GET_NPROCS_CONF_PARSER): Likewise.
3028 2001-04-05  David S. Miller  <davem@redhat.com>
3030         * scripts/config.sub: Recognize sparcv9b like sparcv9.
3031         * configure.in: Add sparcv9b.
3032         * sysdeps/sparc/sparc32/sparcv9b/Implies: New file
3033         * sysdeps/sparc/sparc32/sparcv9b/memcpy.S: New file
3034         * sysdeps/sparc/sparc64/sparcv9b/memcpy.S: New file
3036 2001-04-06  David Mosberger  <davidm@hpl.hp.com>
3038         * stdlib/tst-setcontext.c: Move st2[] to global scope.
3039         (f2): Verify that stack pointer is inside st2[].
3041         * sysdeps/unix/sysv/linux/ia64/getcontext.S: It helps to save r12.
3042         * sysdeps/unix/sysv/linux/ia64/setcontext.S: It helps to restore r12.
3044 2001-04-06  Ulrich Drepper  <drepper@redhat.com>
3046         * timezone/antarctica: Update from tzdata2001b.
3047         * timezone/asia: Likewise.
3048         * timezone/australasia: Likewise.
3049         * timezone/europe: Likewise.
3050         * timezone/northamerica: Likewise.
3052         * iconv/iconv_open.c: Move strip and upstr definitions...
3053         * iconv/gconv_charset.h: ...here.  New file.
3054         * iconv/gconv_db.c (once): Move to file level.
3055         (do_lookup_alias): Split out from __gconv_find_transform.
3056         (__gconv_find_transform): Call do_lookup_alias.
3057         (__gconv_loopup_alias): New function.
3058         * locale/langinfo.h: Define _NL_*_CODESET values for all categories
3059         but LC_CTYPE.
3060         * locale/categories.def: Add entries for new _NL_*_CODESET values.
3061         * locale/C-ctype.c: Use _nl_C_codeset to initialize CODESET entry.
3062         * locale/C-address.c: Initialize _NL_*_CODESET element.
3063         * locale/C-collate.c: Likewise.
3064         * locale/C-identification.c: Likewise.
3065         * locale/C-measurement.c: Likewise.
3066         * locale/C-messages.c: Likewise.
3067         * locale/C-monetary.c: Likewise.
3068         * locale/C-name.c: Likewise.
3069         * locale/C-numeric.c: Likewise.
3070         * locale/C-paper.c: Likewise.
3071         * locale/C-telephone.c: Likewise.
3072         * locale/C-time.c: Likewise.
3073         * locale/localeinfo.h: Declare _nl_C_codeset.
3074         * locale/C_name.c: Define _nl_C_codeset.
3075         * locale/findlocale.c: Before accepting locale check that the used
3076         charset does not conflict with what the locale name said.
3077         * locale/programs/ld-address.c: Emit codeset information.
3078         * locale/programs/ld-collate.c: Likewise.
3079         * locale/programs/ld-identification.c: Likewise.
3080         * locale/programs/ld-measurement.c: Likewise.
3081         * locale/programs/ld-messages.c: Likewise.
3082         * locale/programs/ld-monetary.c: Likewise.
3083         * locale/programs/ld-name.c: Likewise.
3084         * locale/programs/ld-numeric.c: Likewise.
3085         * locale/programs/ld-paper.c: Likewise.
3086         * locale/programs/ld-telephone.c: Likewise.
3087         * locale/programs/ld-time.c: Likewise.
3089         * localedata/tests-mbwc/tst_funcs.h (TST_HEAD_LOCALE): It is an error
3090         if the locale data couldn't be found.
3092         * string/Makefile: Define tst-strxfrm-ENV.
3094         * ysdeps/unix/sysv/linux/ia64/getcontext.S: Fix comment.
3096 2001-04-06  Andreas Jaeger  <aj@suse.de>
3098         * include/sys/profil.h: New file.
3100         * dlfcn/modatexit.c: Add prototypes to silence GCC.
3101         * dlfcn/modcxaatexit.c: Likewise.
3102         * elf/globalmod1.c: Likewise.
3104 2001-04-05  David S. Miller  <davem@redhat.com>
3106         * elf/elf.h (HWCAP_SPARC_ULTRA3): Define it.
3107         * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h: Add it to
3108         capability flags table and HWCAP_IMPORTANT, increase
3109         _DL_HWCAP_COUNT to 6.
3110         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h: Likewise.
3112 2001-04-04  David Mosberger  <davidm@hpl.hp.com>
3114         * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext): Fix
3115         initialization of stack_end (bug reported by Zheng Gengbin
3116         <gzheng@students.uiuc.edu>).
3118 2001-04-05  Ulrich Drepper  <drepper@redhat.com>
3120         * sysdeps/i386/fpu/libm-test-ulps: Relax errors for asinl.
3122 2001-04-05  Martin Schwidefsky  <schwidefsky@de.ibm.com>
3124         * sysdeps/unix/sysv/linux/s390/s390-64/bits/socket.h: New file.
3126 2001-04-05  Ulrich Drepper  <drepper@redhat.com>
3128         * sysdeps/ieee754/ldbl-96/e_asinl.c: Correct handling of +-Inf.
3129         * sysdeps/i386/fpu/e_asinl.S: Removed.  Too inaccurate.
3131         * login/tst-utmp.c: Make file usable again in tst-utmpx.c.
3133 2001-04-04  Ulrich Drepper  <drepper@redhat.com>
3135         * sysdeps/unix/sysv/aix/dl-libc.c: Don't use the ELF version,
3136         define simple replacements here.  Patch by Michael Keezer.
3138         * sysdeps/ieee754/ldbl-128/e_logl.c: New file.
3139         * sysdeps/ieee754/ldbl-96/e_asinl.c: New file.
3140         Contributed by Stephen L Moshier <moshier@mediaone.net>.
3142         * posix/fnmatch_loop.c: Undefine NEW_PATTERN when it is not used
3143         anymore.
3145 2001-04-01  Andreas Jaeger  <aj@suse.de>
3147         * sysdeps/generic/s_nextafter.c (NO_LONG_DOUBLE): Add nexttowardl
3148         alias.
3150         * sysdeps/generic/s_fma.c (NO_LONG_DOUBLE): Add fmal alias.
3152 2001-04-04  Ulrich Drepper  <drepper@redhat.com>
3154         * sysdeps/unix/sysv/linux/s390/s390-64/Dist: Add ucontext_i.h.
3155         * sysdeps/unix/sysv/linux/s390/s390-32/Dist: Likewise.
3157 2001-04-04  Martin Schwidefsky  <schwidefsky@de.ibm.com>
3159         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: New file.
3160         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: New file.
3161         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: New file.
3162         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.h: New file.
3163         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: New file.
3164         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: New file.
3165         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: New file.
3166         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.h: New file.
3167         * sysdeps/unix/sysv/linux/s390/swapcontext.c: New file.
3169 2001-04-04  Andreas Jaeger  <aj@suse.de>
3171         * sysdeps/powerpc/dl-machine.h (ELF_MACHINE_NO_REL): Move to right
3172         place.
3174 2001-04-04  Ulrich Drepper  <drepper@redhat.com>
3176         * sunrpc/rpc_scan.c (symbols): Add entry for HYPER.
3177         * sunrpc/rpc_scan.h (enum tok_kind): Add TOK_HYPER.
3178         * sunrpc/rpc_parse.c (get_type): Handle TOK_HYPER.
3179         (unsigned_dec): Likewise.
3180         Patch by atai@jezebel.dreamhost.com.
3182         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r): Pass
3183         pointer to int as last parameter of yp_match.
3184         Patch by kanazawa@flab.fujitsu.co.jp.
3186 2001-04-03  Ulrich Drepper  <drepper@redhat.com>
3188         * resolv/netdb.h (gai_strerror): Make return value const.
3189         * sysdeps/generic/gai_strerror.c (gai_strerror): Likewise.
3190         * sysdeps/posix/gai_strerror.c (gai_strerror): Likewise.
3191         Add strings for new error values.
3193 2001-03-29  Michael Keezer  <mkeezer@redhat.com>
3195         * posix/tst-gnuglob.c: Added ifdef _DIRENT_HAVE_D_TYPE.
3196         * login/tst-utmp.c: Handle case where ut_tv is not available but
3197         ut_time is.
3198         * sysdeps/unix/sysv/aix/utmpx.h: New file.
3199         * sysdeps/unix/sysv/aix/bits/utmpx.h: Added
3200         _HAVE_UT_TYPE/PID/ID/TV/HOST defines.
3201         * sysdeps/unix/sysv/aix/libc-start.c: Removed temp code and made stub.
3202         * sysdeps/unix/sysv/aix/gettimeofday.c: New file added routines
3203         to access RTCU timer reg.
3204         * sysdeps/unix/sysv/aix/Makefile: Remove /usr/lib/crt0.o
3205         added dl-libc, dl-open,dl-sym, dl-close to misc.
3206         * sysdeps/unix/sysv/aix/start.c: New file.  Start code.
3207         * sysdeps/unix/sysv/aix/dlldr.h: New file.  AIX __loadx defines.
3208         * sysdeps/unix/sysv/aix/dl-close.c: New file.  AIX dl-close.
3209         * sysdeps/unix/sysv/aix/dl-open.c: New file.  AIX dl-open.
3210         * sysdeps/unix/sysv/aix/dl-sym.c: New file.  AIX dl-sym.
3211         * sysdeps/unix/sysv/aix/dl-libc.c: New file.  libc_dl-xxx support.
3212         * sysdeps/generic/strtoll.c: Added SHLIB_COMPAT(libc,GLIBC_2_0,
3213         GLIBC_2_2).
3214         * sysdeps/generic/strtoull.c: Likewise.
3215         * sysdeps/powerpc/ppc-mcount.S: Added nop after bl instruction.
3216         * sysdeps/unix/sysv/aix/powerpc/memset.c: New file to include
3217         sysdeps/generic/memset.c.
3218         * sysdeps/unix/sysv/aix/getpeername.c: Define __getpeername.
3220 2001-04-03  Ulrich Drepper  <drepper@redhat.com>
3222         * iconv/Makefile (CFLAGS-charmap.c): Add -DNEED_NULL_POINTER.
3223         * locale/programs/charmap.c: Define null_pointer if
3224         NEED_NULL_POINTER is defined.
3226         * misc/dirname.c (dirname): Handle multiple slashes correctly.
3228 2001-04-03  Martin Schwidefsky  <schwidefsky@de.ibm.com>
3230         * sysdeps/s390/s390-64/initfini.c: Fix __gmon_start__ GOT access.
3232 2001-04-03  Martin Schwidefsky  <schwidefsky@de.ibm.com>
3234         * sysdeps/s390/s390-32/bcopy.S: Optimize for speed.
3235         * sysdeps/s390/s390-64/bcopy.S: Likewise.
3236         * sysdeps/s390/s390-32/mempcy.S: Likewise.
3237         * sysdeps/s390/s390-64/memcpy.S: Likewise.
3239 2001-04-02  Bruno Haible  <haible@clisp.cons.org>
3241         * manual/message.texi (Advanced gettext functions): More specific
3242         syntax in the plural formula examples.
3244 2001-04-02  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
3246         * sysdeps/powerpc/atomicity.h: Silence warnings.
3247         * sysdeps/powerpc/dl-machine.h: Likewise.
3248         * sysdeps/powerpc/register-dump.h: Likewise.
3249         * sysdeps/powerpc/fpu/s_lrint.c: Likewise.
3251 2001-04-02  Andreas Jaeger  <aj@suse.de>
3253         * misc/tst-dirname.c (main): Add more tests, derived from a bug
3254         report by Michael Kerrisk <mtk16@ext.canterbury.ac.nz>.
3256 2001-04-01  Andreas Jaeger  <aj@suse.de>
3258         * debug/xtrace.sh (pcprofileso): Use SLIBDIR since libpcprofile.so
3259         is installed there.
3260         * malloc/memusage.sh (memusageso): Likewise for libmemusage.so.
3262 2001-04-01  H.J. Lu  <hjl@gnu.org>
3264         * posix/annexc.c (macrofile): Renamed from TMPFILE and set to
3265         tmpnam (NULL).
3266         * stdlib/isomac.c (macrofile): Likewise.
3268 2001-03-30  Thorsten Kukuk  <kukuk@suse.de>
3270         * inet/rcmd.c: Allow AF_UNSPEC as parameter.
3271         * nis/ypclnt.c (yp_all): Print error message only at last try,
3272         check for protocoll error only if we don't have a network error.
3274 2001-04-02  Andreas Schwab  <schwab@suse.de>
3276         * resolv/res_data.c (res_isourserver): Fix cast.
3278 2001-04-02  Andreas Jaeger  <aj@suse.de>
3280         * sysdeps/unix/sysv/linux/hppa/umount.c: Add prototype for
3281         __umount2.
3283         * sysdeps/i386/dl-machine.h (RTLD_START): Don't use multi-line
3284         strings.
3285         (ELF_MACHINE_RUNTIME_TRAMPOLINE): Likewise.
3287         * sysdeps/ieee754/dbl-64/uroot.h: Add missing braces arount
3288         initializers.
3289         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Likewise.
3291         * elf/rtld.c (print_statistics)[!HP_TIMING_NONAVAIL]: Avoid
3292         warning about unused variable.
3294         * string/string.h (strndupa): Add cast for C++ conformance.
3295         (strdupa): Likewise.
3296         Fixes PR libc/2173, reported by tbrowder@home.com.
3298 2001-03-30  Roland McGrath  <roland@frob.com>
3300         * sysdeps/mach/hurd/Makefile ($(link-rpcuserlibs)): Don't append
3301         options after $(build-module), which is no longer a single command.
3302         (LDFLAGS-link-rpcuserlibs): New variable to hold those options.
3303         (LDFLAGS-libmachuser-link.so, LDFLAGS-libhurduser-link.so): New
3304         variables using it.  Reported by Mark Kettenis <kettenis@gnu.org>.
3306 2001-03-11  Roland McGrath  <roland@frob.com>
3308         * elf/rtld.c (dl_main): Add cast to quiet warning.
3309         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
3310         * iconv/gconv_conf.c (__gconv_get_path): Likewise.
3311         (__gconv_read_conf): Likewise.
3312         * iconv/gconv_db.c (gen_steps): Likewise.
3313         (__gconv_find_transform): Likewise.
3314         * locale/programs/charmap-dir.c (fopen_uncompressed): Likewise.
3315         (fopen_uncompressed): Use const in second argument's type.
3317 2001-03-11  Roland McGrath  <roland@frob.com>
3319         * sysdeps/mach/hurd/dl-sysdep.c (__writev): New function.
3321         * mach/mach_error.h: Fix ancient #endif syntax.
3322         * hurd/hurdmalloc.c: Likewise.
3324         * sysdeps/generic/atomicity.h (exchange_and_add, atomic_add,
3325         compare_and_swap): Add volatile qualifier to first arg, to bring
3326         these prototypes in line with all the other implementations.
3327         Add a #warning to remind the builder that these are not atomic.
3329 2001-03-04  Roland McGrath  <roland@frob.com>
3331         * hurd/vpprintf.c (vpprintf) [USE_IN_LIBIO]: Use innermore first
3332         member of TEMP_F so its type is _IO_FILE * as expected.
3334         * hurd/fopenport.c (seekio): Conditionalize type of POS argument
3335         on [USE_IN_LIBIO].  Check the value for overflow, since for libio
3336         it might exceed off_t's range.
3338 2001-02-25  Roland McGrath  <roland@frob.com>
3340         * sysdeps/mach/hurd/sysd-stdio.c (__stdio_reopen): Use prototype.
3341         * sysdeps/unix/bsd/getpt.c (__posix_openpt): Likewise.
3343         * sysdeps/mach/hurd/i386/intr-msg.h (SYSCALL_EXAMINE): Make this a
3344         macro instead of an inline function,
3345         (MSG_EXAMINE): Likewise.
3347         * hurd/hurd/ioctl.h (_HURD_HANDLE_IOCTLS_1): Remove extraneous ##.
3349         * hurd/get-host.c: Include <string.h> for decls of built-ins.
3350         * hurd/hurdchdir.c: Likewise.
3351         * sysdeps/mach/hurd/i386/sigreturn.c: Likweise.
3352         * sysdeps/mach/hurd/opendir.c: Likewise.
3354         * mach/mach_init.c: Include <unistd.h> for _exit decl.
3356         * mach/errsystems.awk: Give output file a trailing newline.
3358         * mach/Machrules (MIG): Prepend CC='${CC}' to the mig command, so that
3359         the script will use our compiler for the cpp stage.
3361         With --enable-all-warnings we get a whole bunch of warnings,
3362         and these are just a few fixes; there are more needed to silence it.
3363         * mach/mach/mig_support.h (__mig_strncpy, mig_strncpy): Add extern
3364         decls before extern inline defns to quiet gcc warning.
3365         * hurd/hurd/threadvar.h (__hurd_threadvar_location_from_sp): Likewise.
3366         * sysdeps/mach/i386/machine-sp.h (__thread_stack_pointer): Likewise.
3368 2001-03-31  Andreas Jaeger  <aj@suse.de>
3370         * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_RAWHDLC): Added.
3371         (ARPHRD_HDLC): Define as alias for ARPHRD_CISCO.
3372         (ARPHRD_CISCO): New.
3373         Changes from Linux 2.4.3.
3375 2001-03-30  Isamu Hasegawa  <isamu@yamato.ibm.com>
3377         * posix/regex.c: Avoid an access violation if malloc fails.
3379 2001-03-30  Andreas Jaeger  <aj@suse.de>
3381         * sysdeps/alpha/ldiv.S (ldiv): Add alias for imaxdiv.
3383 2001-03-29  Ulrich Drepper  <drepper@redhat.com>
3385         * posix/regex.c: Remove unnecessary ifs.
3387         * math/bits/mathcalls.h: Remove infnan declaration.
3389 2001-03-29  H.J. Lu  <hjl@gnu.org>
3391         * include/endian.h: Define BIG_ENDI, LITTLE_ENDI, HIGH_HALF,
3392         and LOW_HALF only if _LIBC is defined and _ISOMAC is not defined.
3393         * stdlib/isomac.c (fmt): Define _LIBC and _ISOMAC.
3395 2001-03-29  Isamu Hasegawa  <isamu@yamato.ibm.com>
3397         * posix/regex.c: Fix typo and add a sentinel.
3399 2001-03-29  Ulrich Drepper  <drepper@redhat.com>
3401         * sysdeps/unix/sysv/linux/shm_open.c: Open new file always with
3402         O_NOFOLLOW.  Suggested by Christoph Roland.
3404 2001-03-27  Martin Schwidefsky  <schwidefsky@de.ibm.com>
3406         * sysdeps/s390/bits/string.h: New unified 31/64 bit string.h.
3407         * sysdeps/s390/s390-32/bits/string.h: Remove.
3408         * sysdeps/s390/s390-64/bits/string.h: Remove.
3409         * sysdeps/s390/s390-32/strcmp.S: New file.
3410         * sysdeps/s390/s390-64/strcmp.S: New file.
3412 2001-03-27  Martin Schwidefsky  <schwidefsky@de.ibm.com>
3414         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Fix typo.
3415         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
3417 2001-03-27  Ulrich Drepper  <drepper@redhat.com>
3419         * version.h (VERSION): Bump to 2.2.3.
3421         * stdlib/isomac.c (fmt): Don't define _LIBC.
3422         * include/endian.h: Define BIG_ENDI, LITTLE_ENDI, HIGH_HALF, and
3423         LOW_HALF only if _LIBC is defined.
3425         * sysdeps/i386/fpu/libm-test-ulps: Slight adjustment of yn() error.
3427         * posix/fnmatch_loop.c (FCT): Handle !() after * special like @()
3428         and +().
3429         * posix/tst-fnmatch.input: Add test cases for matching empty strings.
3431         * sysdeps/ieee754/dbl-64/endian.h: Removed.  Move definitions...
3432         * include/endian.h: ...to here.
3434 2001-03-27  kaz Kojima  <kkojima@rr.iij4u.or.jp>
3436         * sysdeps/sh/sys/ucontext.h (NFREG): Rename to NFPREG.
3437         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (NFREG): Likewise.
3439 2001-03-27  Martin Schwidefsky  <schwidefsky@de.ibm.com>
3441         * sysdeps/unix/sysv/linux/s390/ldconfig.h: Fix typo.
3443 2001-03-26  Ulrich Drepper  <drepper@redhat.com>
3445         * sysdeps/ia64/fpu/Dist: Add new files to distribute.
3446         * sysdeps/unix/sysv/linux/s390/s390-64/Dist: Likewise.
3447         * sysdeps/unix/sysv/linux/ia64/Dist: Likewise.
3449         * gmon/Makefile (headers): Add sys/profil.h.
3451 2001-03-18  Andreas Jaeger  <aj@suse.de>
3453         * manual/install.texi (Tools for Compilation): Advise to use GCC
3454         2.95.3.
3455         (Supported Configurations): Mention s390x.
3457 2001-03-26  Ben Collins  <bcollins@debian.org>
3459         * sysdeps/unix/sysv/linux/mips/bits/mman.h: Add MAP_* and MADV_*
3460         defines to match other architectures.
3462 2001-03-26  Ulrich Drepper  <drepper@redhat.com>
3464         * libio/Makefile (tests): Add tst-ext.
3465         * libio/tst-ext.c: New file.
3467         * libio/iosetvbuf.c (_IO_setvbuf): Clear line buffer flag for _IONBF.
3469 2001-03-25  Ulrich Drepper  <drepper@redhat.com>
3471         Add changes which were in this form in the original patch by
3472         Eric Norum <eric.norum@usask.ca>.
3473         * include/rpc/rpc.h: Remove svc_fdset, rpc_createerr, svc_pollfd, and
3474         svc_max_pollfd.
3475         * sunrpc/rpc/rpc.h: Declare __rpc_thread_svc_fdset,
3476         __rpc_thread_createerr, __rpc_thread_svc_pollfd, and
3477         __rpc_thread_svc_max_pollfd.
3478         Define svc_fdset, get_rpc_createerr, svc_pollfd, and
3479         svc_max_pollfd.
3480         * sunrpc/rpc_thread.c: Handle first thread special, it uses the
3481         global variables.
3482         Define __rpc_thread_svc_fdset, __rpc_thread_createerr,
3483         __rpc_thread_svc_pollfd, and __rpc_thread_svc_max_pollfd.
3484         * sunrpc/Versions [libc] (GLIBC_2.2.3): Export  __rpc_thread_svc_fdset,
3485         __rpc_thread_createerr, __rpc_thread_svc_pollfd, and
3486         __rpc_thread_svc_max_pollfd.
3487         * sunrpc/clnt_gen.c: Replace use of rpc_createerr by call to
3488         get_rpc_createerr.
3489         * sunrpc/clnt_perr.c: Likewise.
3490         * sunrpc/clnt_simp.c: Likewise.
3491         * sunrpc/clnt_tcp.c: Likewise.
3492         * sunrpc/clnt_udp.c: Likewise.
3493         * sunrpc/clnt_unix.c: Likewise.
3494         * sunrpc/pm_getport.c: Likewise.
3496         * sysdeps/unix/sysv/linux/i386/getgroups.c (__getgroups): getgroups32
3497         syscall checks for negative n so don't test here as well.
3499 2001-03-23  Jes Sorensen  <jes@linuxcare.com>
3501         * sysdeps/unix/sysv/linux/ia64/sysdep.h (ENTRY): Moved to ...
3502         * sysdeps/ia64/sysdep.h: ...here.
3504         * sysdeps/ia64/sysdep.h (LOCAL_ENTRY): Define.
3505         * sysdeps/ia64/sysdep.h (LOCAL_LEAF): Define.
3507         * sysdeps/ia64/_mcount.S (_mcount_ret_helper): Use LOCAL_LEAF() to
3508         declare instead of LEAF().  Suggestion from David Mosberger.
3510 2001-03-21  David Mosberger  <davidm@hpl.hp.com>
3512         * sysdeps/unix/sysv/linux/ia64/sysdep.h (CALL_MCOUNT): Add unwind
3513         directives.
3514         (PSEUDO): Drop .psr and .lsb directives.
3516         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Ditto.  Add unwind
3517         directives.
3518         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Ditto.
3520         * sysdeps/ia64/elf/start.S: Misc cleanup: remove .psr and .lsb
3521         directives etc.
3522         * sysdeps/unix/sysv/linux/ia64/brk.S: Ditto.
3523         * sysdeps/unix/sysv/linux/ia64/__longjmp.S: Ditto.
3524         * sysdeps/ia64/_mcount.S: Remove .psr and .lsb directives (no
3525         longer needed).  Add unwind directives.
3527         * sysdeps/ia64/sysdep.h: Define ASM_UNW_PRLG_RP, ASM_UNW_PRLG_PFS,
3528         ASM_UNW_PRLG_PSP, ASM_UNW_PRLG_PR, and ASM_UNW_PRLG_GRSAVE.
3530 2001-03-21  Paul Eggert  <eggert@twinsun.com>
3532         * posix/regex.h (RE_INVALID_INTERVAL_ORD): New macro.
3533         (RE_SYNTAX_POSIX_EGREP): Use it.
3534         * posix/regex.c (regex_compile): Implement it.
3536 2001-03-21  Paul Eggert  <eggert@twinsun.com>
3538         * posix/regex.c (GET_UNSIGNED_NUMBER): Check for overflow.
3539         Rewrite to avoid duplicate code.
3541 2001-03-21  H.J. Lu  <hjl@gnu.org>
3543         * elf/Makefile (tests): Don't depend on $(objpfx)tst-pathopt.out
3544         for cross-compiling.
3545         ($(objpfx)tst-pathopt.out): Undo the last change.
3547 2001-03-24  Mark Kettenis  <kettenis@gnu.org>
3549         * sysdeps/mach/hurd/i386/bits/sigcontext.h (sc_sp, sc_fp, sc_pc,
3550         sc_ps): Define as aliases for sc_uesp, sc_ebl, sc_eip and sc_efl.
3552         * sysdeps/mach/hurd/i386/init-first.c: Include <assert.h>.
3553         (_dl_argv): Declare.
3554         (init) [SHARED]: Readjust _dl_argv if we switched to a new stack.
3556 2001-03-22  Andreas Jaeger  <aj@suse.de>
3558         * iconvdata/Makefile (generated): Add iconv-test.xxx.
3560         * posix/Makefile (generated): Add bug-regex2.mtrace and
3561         bug-regex2-mem.
3563 2001-03-21  Ulrich Drepper  <drepper@redhat.com>
3565         * csu/version.c (__gnu_get_libc_release): Add prototype.
3566         (__gnu_get_libc_version): Likewise.
3567         * include/gnu/libc-version.h: Remove prototypes for not exported
3568         functions.
3570 2001-03-21  Jes Sorensen  <jes@linuxcare.com>
3572         * sysdeps/unix/sysv/linux/ia64/makecontext.c: Include libintl.h
3573         for internationalized printfs to work.
3575 2001-03-09  Bruno Haible  <haible@clisp.cons.org>
3577         * intl/dcigettext.c (transmem_block_t): Change to unsigned char, to
3578         avoid compiler warning.
3579         (_nl_find_msg): Add casts to avoid compiler warnings.
3581 2001-03-21  Ulrich Drepper  <drepper@redhat.com>
3583         * gmon/Makefile (routines): Add sprofil.
3584         (tests): Add tst-sprofil.
3585         (noprof): Add sprofil.
3586         * gmon/Versions [libc] (GLIBC_2.2.3): Add sprofil.
3588 2001-03-20  David Mosberger  <davidm@hpl.hp.com>
3590         * sysdeps/generic/sprofil.c: New file.
3591         * sysdeps/posix/sprofil.c: New file.
3592         * gmon/tst-sprofil.c: New file.
3593         * gmon/sys/profil.h: New file.
3595 2001-03-20  Andreas Schwab  <schwab@suse.de>
3597         * include/unistd.h: Adjust prototype of __gethostname.
3599 2001-03-20  Jakub Jelinek  <jakub@redhat.com>
3601         * sysdeps/sparc/stackinfo.h: New file.
3603 2001-03-21  Andreas Jaeger  <aj@suse.de>
3605         * elf/global.c (main): Use proper prototype.
3607 2001-03-20  Ulrich Drepper  <drepper@redhat.com>
3609         * sunrpc/Makefile (routines): Add rpc_thread.
3610         (CPPFLAGS): Add -D_RPC_THREAD_SAFE.
3611         * sunrpc/rpc_thread.c: New file.
3612         * sunrpc/Versions [libc] (GLIBC_2.2.3): Export __rpc_thread_destroy.
3613         * sunrpc/auth_none.c: Don't use global variables.  Access state in
3614         thread-local storage.
3615         * sunrpc/clnt_perr.c: Likewise.
3616         * sunrpc/clnt_raw.c: Likewise.
3617         * sunrpc/clnt_simp.c: Likewise.
3618         * sunrpc/key_call.c: Likewise.
3619         * sunrpc/rpc_common.c: Likewise.
3620         * sunrpc/svc.c: Likewise.
3621         * sunrpc/svc_raw.c: Likewise.
3622         * sunrpc/svc_simple.c: Likewise.
3623         * sunrpc/svcauth_des.c: Likewise.
3624         * hurd/hurd/threadvar.h (enum __hurd_threadvar_index): Add
3625         _HURD_THREADVAR_RPC_VARS.
3626         * sysdeps/generic/bits/libc-tsd.h: Mention _LIBC_TSD_KEY_RPC_VARS.
3627         * include/rpc/rpc.h: Define data structures for internal thread-local
3628         "global" variables.
3629         Based on patches by Eric Norum <eric.norum@usask.ca>.
3631         * elf/dl-load.c: Various little optimizations.
3633         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Return
3634         LINUX_LINK_MAX only if the statfs function is not implemented for
3635         the filesystem.
3637         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Return
3638         LINUX_LINK_MAX only if the fstatfs function is not implemented for
3639         the filesystem.
3641 2001-03-19  Ulrich Drepper  <drepper@redhat.com>
3643         * elf/dl-dst.h (DL_DST_COUNT): Add __builtin_expect.
3645         * elf/dl-load.c (_dl_dst_count): Make DST recognition more robust.
3646         (_dl_dst_substitute): Likewise.
3648 2001-03-17  Bruno Haible  <haible@clisp.cons.org>
3650         * intl/loadmsgcat.c (_nl_load_domain) [!_LIBC]: Use fstat, not fstat64.
3652 2001-03-17  Bruno Haible  <haible@clisp.cons.org>
3654         * intl/gettextP.h (struct expression): Add operators lnot, less_than,
3655         greater_than, less_or_equal, greater_or_equal.  Replace args2/args3
3656         union by a 'nargs' counter and an 'args[]' array.
3657         * intl/plural.y: Don't include stdarg.h.
3658         (new_exp): Take an array of arguments instead of varargs.
3659         (new_exp_0, new_exp_1, new_exp_2, new_exp_3): New functions.
3660         ('?' ':'): Make right-associative.
3661         (EQUOP2): New token, replaces '=' and '!'.
3662         (CMPOP2): New token.
3663         (ADDOP2): New token, replaces '+' and '-'.
3664         (MULOP2): New token, replaces '*', '/' and '%'.
3665         ('!'): New token.
3666         (exp): Add rules for CMPOP2 and '!'.  Don't call YYABORT.
3667         (start): Call YYABORT here.
3668         (FREE_EXPRESSION): Update.
3669         (yylex): Don't skip "\\n".  Recognize comparison and '!' operators.
3670         Update for new token symbols.
3671         * intl/loadmsgcat.c (plvar, plone, germanic_plural,
3672         init_germanic_plural): Update.
3673         * intl/dcigettext.c (_nl_find_msg): Optimize for space.
3674         (plural_eval): Recognize comparison and '!' operators.  Optimize for
3675         space.
3677 2001-03-10  Bruno Haible  <haible@clisp.cons.org>
3679         * intl/loadmsgcat.c (_nl_load_domain): locale_charset() doesn't return
3680         NULL any more.
3682 2001-01-05  Bruno Haible  <haible@clisp.cons.org>
3684         * intl/loadmsgcat.c: Include headers needed for alloca().
3685         (freea): New macro.
3686         (_nl_load_domain): Add fallback code for platforms lacking alloca.
3687         * intl/localealias.c: (ADD_BLOCK, FREE_BLOCK): Remove macros.
3688         (freea): New macro.
3689         (read_alias_file): Simplify fallback code for platforms lacking
3690         alloca.
3692 2001-01-07  Bruno Haible  <haible@clisp.cons.org>
3694         * intl/gettextP.h (__gettextdebug): Remove declaration.
3695         (__gettext_free_exp, __gettextparse): Convert prototype to K&R C
3696         syntax.
3697         (gettext_free_exp__, gettextparse__): New non-libc declarations.
3698         * intl/plural.y [!_LIBC]: Define gettextparse__, gettext_free_exp__,
3699         not __gettextparse, __gettext_free_exp.
3700         * intl/loadmsgcat.c [!_LIBC]: Use gettextparse__, not __gettextparse.
3702 2001-02-24  Bruno Haible  <haible@clisp.cons.org>
3704         * intl/dcigettext.c: Update comment about HAVE_LOCALE_NULL.
3706 2001-01-05  Bruno Haible  <haible@clisp.cons.org>
3708         * intl/loadmsgcat.c (_nl_load_domain): Add fallback code for platforms
3709         lacking strtoul, like SunOS4.
3711 2001-01-05  Bruno Haible  <haible@clisp.cons.org>
3713         * intl/l10nflist.c (_nl_normalize_codeset): Use tolower, not _tolower.
3715 2001-01-05  Bruno Haible  <haible@clisp.cons.org>
3717         * intl/bindtextdom.c (set_binding_values): Convert prototype to K&R C
3718         syntax.
3719         * intl/dcigettext.c (transcmp): Convert to K&R C syntax.
3720         * intl/explodename.c (_nl_find_language): Convert to K&R C syntax.
3721         * intl/plural.y (__gettext_free_exp, yylex, yyerror): Convert to K&R C
3722         syntax.
3724 2001-01-07  Bruno Haible  <haible@clisp.cons.org>
3726         * intl/gettextP.h (gettext__, dgettext__, dcgettext__, textdomain__,
3727         bindtextdomain__, bind_textdomain_codeset__): New declarations, from
3728         old libgettext.h.
3729         * intl/bindtextdom.c: Include libgnuintl.h instead of libgettext.h.
3730         * intl/dcgettext.c: Likewise.
3731         * intl/dcigettext.c: Likewise.
3732         * intl/dcngettext.c: Likewise.
3733         * intl/dngettext.c: Likewise.
3734         * intl/finddomain.c: Likewise.
3735         * intl/ngettext.c: Likewise.
3736         * intl/textdomain.c: Likewise.
3737         * intl/dgettext.c: Include libgnuintl.h instead of libgettext.h.
3738         Include gettextP.h.
3739         * intl/gettext.c: Likewise.  Don't include locale.h.
3741 2001-03-17  Bruno Haible  <haible@clisp.cons.org>
3743         * intl/gettextP.h (ZERO): New macro.
3744         (struct binding): Always use ZERO.
3745         * intl/bindtextdom.c (offsetof): Provide fallback for platforms that
3746         lack it, like SunOS4.
3747         (set_binding_values): Use offsetof, not sizeof.
3748         * intl/dcigettext.c (offsetof): Provide fallback for platforms that
3749         lack it, like SunOS4.
3750         (ZERO): Remove macro.
3751         (struct transmem_list): Use ZERO.
3752         (DCIGETTEXT): Use offsetof, not sizeof.
3754 2001-03-17  Bruno Haible  <haible@clisp.cons.org>
3756         * intl/gettextP.h: Include <stddef.h>.  Include gettext.h, for
3757         nls_uint32.
3758         * intl/bindtextdom.c: Don't include gettext.h.
3759         * intl/dcgettext.c: Likewise.
3760         * intl/dcigettext.c: Likewise.
3761         * intl/dcngettext.c: Likewise.
3762         * intl/dngettext.c: Likewise.
3763         * intl/finddomain.c: Likewise.
3764         * intl/localealias.c: Likewise.
3765         * intl/ngettext.c: Likewise.
3766         * intl/plural.y: Likewise.
3767         * intl/textdomain.c: Likewise.
3769 2001-03-17  Bruno Haible  <haible@clisp.cons.org>
3771         * intl/gettext.h: Don't include <stdio.h>.
3773 2001-03-17  Bruno Haible  <haible@clisp.cons.org>
3775         * intl/Makefile (CPPFLAGS): Set LOCALEDIR instead of GNULOCALEDIR.
3776         * intl/dcigettext.c (_nl_default_dirname): Initialize with LOCALEDIR.
3778 2001-03-19  Ulrich Drepper  <drepper@redhat.com>
3780         * sysdeps/unix/i386/i686/tempname.c: New file.
3782         * sysdeps/posix/tempname.c (__gen_tempname): If RANDOM_BITS is
3783         defined use this macro to get some bits of randomness instead of
3784         the usual gettimeofday or time calls.
3786 2001-03-16  Paul Eggert  <eggert@twinsun.com>
3788         * sysdeps/posix/tempname.c (uint64_t): Define to uintmax_t if
3789         not defined, and if UINT64_MAX is not defined.
3791 2001-03-19  Ulrich Drepper  <drepper@redhat.com>
3793         * elf/cache.c: Mark and have translated a few more messages.
3795 2001-03-19  Martin Schwidefsky  <schwidefsky@de.ibm.com>
3797         * elf/cache.c: Add case for FLAG_S390_LIB64.
3798         * sysdeps/generic/ldconfig.h: Add define for FLAG_S390_LIB64.
3799         * sysdeps/unix/sysv/linux/s390/ldconfig.h: New file.
3800         * sysdeps/unix/sysv/linux/s390/readelflib.c: New file.
3802 2001-03-19  Ulrich Drepper  <drepper@redhat.com>
3804         * string/Makefile (tests): Add tst-strxfrm.
3805         * string/tst-strxfrm.c: New file.  Based on a test case by Paul Eggert.
3806         * string/Depend: New file.
3808 2001-03-19  Paul Eggert  <eggert@twinsun.com>
3810         * string/strxfrm.c (strxfrm): strxfrm should return 0, not 1,
3811         when given the empty string in nontrivial locales.
3813 2001-03-17  H.J. Lu  <hjl@gnu.org>
3815         * manual/Makefile (install): Use $(INSTALL_DATA) instead of
3816         cp to install `dir'.
3818 2001-03-19  Andreas Schwab  <schwab@suse.de>
3820         * Makerules (build-shlib): Make sure exit codes get checked
3821         properly.
3823 2001-03-18  Ulrich Drepper  <drepper@redhat.com>
3825         * Makerules (build-shlib): Remove unnecessary slashes introduced in
3826         last change.
3828         * configure.in: Test for -Bgroup option of linker.
3829         * config.make.in: Define have-Bgroup.
3831         * conform/data/unistd.h-data: Require gethostname.
3832         * posix/unistd.h: Make gethostname prototype available for
3833         __USE_XOPEN2K.
3835         * crypt/Makefile: When generating DSO link with libc_nonshared.a.
3836         * debug/Makefile: Likewise.
3837         * dlfcn/Makefile: Likewise.
3838         * hesiod/Makefile: Likewise.
3839         * iconvdata/extra-module.mk: Likewise.
3840         * locale/Makefile: Likewise.
3841         * login/Makefile: Likewise.
3842         * math/Makefile: Likewise.
3843         * nis/Makefile: Likewise.
3844         * nss/Makefile: Likewise.
3845         * resolv/Makefile: Likewise.
3846         * rt/Makefile: Likewise.
3848 2001-03-17  Ulrich Drepper  <drepper@redhat.com>
3850         * inet/Makefile (tests): Remove left-over comment.
3852         * posix/unistd.h (gethostname): Change type of second parameter
3853         back to size_t as per upcoming XPG6.
3854         * sysdeps/unix/sysv/aix/gethostname.c: Change type of second
3855         parameter back to size_t as per upcoming XPG6.
3856         * sysdeps/unix/sysv/sysv4/gethostname.c: Likewise.
3857         * sysdeps/unix/sysv/gethostname.c: Likewise.
3858         * sysdeps/mach/hurd/gethostname.c: Likewise.
3859         * sysdeps/generic/gethostname.c: Likewise.
3861 2001-03-16  Ulrich Drepper  <drepper@redhat.com>
3863         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
3864         Handle NaN here.
3866         * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext):
3867         Internationalize.
3869 2001-02-06  Jakub Jelinek  <jakub@redhat.com>
3871         * elf/dl-load.c (_dl_map_object): Don't test l_opencount when
3872         looking for name matches.
3874 2001-02-26  Jakub Jelinek  <jakub@redhat.com>
3876         * sysdeps/generic/sigcontextinfo.h (CALL_SIGHANDLER): Define.
3877         * sysdeps/mach/hurd/i386/sigcontextinfo.h: Likewise.
3878         * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h: Likewise.
3879         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
3880         * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h: Likewise.
3881         * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h: Likewise.
3882         * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h: Likewise.
3883         * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h: Likewise.
3884         * sysdeps/unix/sysv/linux/s390/sigcontextinfo.h: Likewise.
3885         * sysdeps/unix/sysv/linux/sh/sigcontextinfo.h: Likewise.
3886         * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: Likewise.
3887         * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h: Likewise.
3889 2001-03-16  Ulrich Drepper  <drepper@redhat.com>
3891         * sysdeps/ieee754/ldbl-96/s_erfl.c: New file.
3892         Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>.
3894         * sysdeps/i386/fpu/libm-test-ulps: Adjust for addition of erfl and
3895         erfcl.
3896         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
3898 2001-03-16  David Mosberger  <davidm@hpl.hp.com>
3900         * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h (struct sigcontext):
3901         Drop hack that was needed for 2.1.1 kernel headers.
3903         * sysdeps/unix/sysv/linux/ia64/ucontext_i.h: New file.
3905         * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Rewrite to make it
3906         overlay with kernel's "struct sigcontext".
3908         * sysdeps/unix/sysv/linux/ia64/Makefile (sysdep_headers): Add
3909         sys/rse.h for "misc" subdir.
3910         (sysdep_routines): Add __start_context for "stdlib" subdir.
3912         * sysdeps/unix/sysv/linux/ia64/sys/rse.h: New file (based on
3913         kernel file of the same name).
3915         * stdlib/Makefile (tests): Add tst-setcontext.
3916         * stdlib/tst-setcontext.c: New file (based on a sample program by
3917         Uli Drepper).
3919         * sysdeps/unix/sysv/linux/ia64/setcontext.S: New file.
3920         * sysdeps/unix/sysv/linux/ia64/getcontext.S: New file.
3921         * sysdeps/unix/sysv/linux/ia64/__start_context.S: New file.
3922         * sysdeps/unix/sysv/linux/ia64/makecontext.c: New file.
3923         * sysdeps/unix/sysv/linux/ia64/swapcontext.c: New file.
3925         * sysdeps/unix/sysv/linux/ia64/__longjmp.S (__longjmp): Use extr.u
3926         instead of shift & and.
3928 2001-03-16  Martin Schwidefsky  <schwidefsky@de.ibm.com>
3930         * sysdeps/s390/s390-64/bits/huge_val.h: Move to...
3931         * sysdeps/s390/bits/huge_val.h: ...here.
3932         * sysdeps/s390/s390-32/bit/huge_val.h: Remove.
3933         * sysdeps/s390/s390-64/ffs.c: Move to...
3934         * sysdeps/s390/ffs.c: ...here.
3935         * sysdeps/s390/s390-32/ffs.c: Remove.
3937 2001-03-16  Jakub Jelinek  <jakub@redhat.com>
3939         * elf/ldconfig.c (search_dir): Remove bogus diagnostic, instead
3940         update osversion from more recent library.
3942 2001-03-13  Martin Schwidefsky  <schwidefsky@de.ibm.com>
3944         * sysdeps/unix/sysv/linux/s390/Dist: Move to...
3945         * sysdeps/unix/sysv/linux/s390/s390-32/Dist: ...here.
3946         * sysdeps/unix/sysv/linux/s390/Makefile: Move to...
3947         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: ...here.
3948         * sysdeps/unix/sysv/linux/s390/Versions: Move to...
3949         * sysdeps/unix/sysv/linux/s390/s390-32/Versions: ...here.
3950         * sysdeps/unix/sysv/linux/s390/alphasort64.c: Move to...
3951         * sysdeps/unix/sysv/linux/s390/s390-32/alphasort64.c: ...here.
3952         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Move to...
3953         * sysdeps/unix/sysv/linux/s390/s390-32/bits/fcntl.h: ...here.
3954         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Move to...
3955         * sysdeps/unix/sysv/linux/s390/s390-32/bits/mman.h: ...here.
3956         * sysdeps/unix/sysv/linux/s390/bits/resource.h: Move to...
3957         * sysdeps/unix/sysv/linux/s390/s390-32/bits/resource.h: ...here.
3958         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Move to...
3959         * sysdeps/unix/sysv/linux/s390/s390-32/bits/stat.h: ...here.
3960         * sysdeps/unix/sysv/linux/s390/chown.c: Move to...
3961         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: ...here.
3962         * sysdeps/unix/sysv/linux/s390/clone.S: Move to...
3963         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: ...here.
3964         * sysdeps/unix/sysv/linux/s390/fchown.c: Move to...
3965         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: ...here.
3966         * sysdeps/unix/sysv/linux/s390/fcntl.c: Move to...
3967         * sysdeps/unix/sysv/linux/s390/s390-32/fcntl.c: ...here.
3968         * sysdeps/unix/sysv/linux/s390/fxstat.c: Move to...
3969         * sysdeps/unix/sysv/linux/s390/s390-32/fxstat.c: ...here.
3970         * sysdeps/unix/sysv/linux/s390/getdents64.c: Move to...
3971         * sysdeps/unix/sysv/linux/s390/s390-32/getdents64.c: ...here.
3972         * sysdeps/unix/sysv/linux/s390/getegid.c: Move to...
3973         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: ...here.
3974         * sysdeps/unix/sysv/linux/s390/geteuid.c: Move to...
3975         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: ...here.
3976         * sysdeps/unix/sysv/linux/s390/getgid.c: Move to...
3977         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: ...here.
3978         * sysdeps/unix/sysv/linux/s390/getgroups.c: Move to...
3979         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: ...here.
3980         * sysdeps/unix/sysv/linux/s390/getresgid.c: Move to...
3981         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: ...here.
3982         * sysdeps/unix/sysv/linux/s390/getresuid.c: Move to...
3983         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: ...here.
3984         * sysdeps/unix/sysv/linux/s390/getrlimit.c: Move to...
3985         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: ...here.
3986         * sysdeps/unix/sysv/linux/s390/getrlimit64.c: Move to...
3987         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit64.c: ...here.
3988         * sysdeps/unix/sysv/linux/s390/getuid.c: Move to...
3989         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: ...here.
3990         * sysdeps/unix/sysv/linux/s390/lchown.c: Move to...
3991         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: ...here.
3992         * sysdeps/unix/sysv/linux/s390/lockf64.c: Move to...
3993         * sysdeps/unix/sysv/linux/s390/s390-32/lockf64.c: ...here.
3994         * sysdeps/unix/sysv/linux/s390/lxstat.c: Move to...
3995         * sysdeps/unix/sysv/linux/s390/s390-32/lxstat.c: ...here.
3996         * sysdeps/unix/sysv/linux/s390/mmap.S: Move to...
3997         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: ...here.
3998         * sysdeps/unix/sysv/linux/s390/mmap64.S: Move to...
3999         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: ...here.
4000         * sysdeps/unix/sysv/linux/s390/msgctl.c: Move to...
4001         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: ...here.
4002         * sysdeps/unix/sysv/linux/s390/oldgetrlimit64.c: Move to...
4003         * sysdeps/unix/sysv/linux/s390/s390-32/oldgetrlimit64.c: ...here.
4004         * sysdeps/unix/sysv/linux/s390/readdir64.c: Move to...
4005         * sysdeps/unix/sysv/linux/s390/s390-32/readdir64.c: ...here.
4006         * sysdeps/unix/sysv/linux/s390/readdir64_r.c: Move to...
4007         * sysdeps/unix/sysv/linux/s390/s390-32/readdir64_r.c: ...here.
4008         * sysdeps/unix/sysv/linux/s390/register-dump.h: Move to...
4009         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: ...here.
4010         * sysdeps/unix/sysv/linux/s390/scandir64.c: Move to...
4011         * sysdeps/unix/sysv/linux/s390/s390-32/scandir64.c: ...here.
4012         * sysdeps/unix/sysv/linux/s390/semctl.c: Move to...
4013         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: ...here.
4014         * sysdeps/unix/sysv/linux/s390/setegid.c: Move to...
4015         * sysdeps/unix/sysv/linux/s390/s390-32/setegid.c: ...here.
4016         * sysdeps/unix/sysv/linux/s390/seteuid.c: Move to...
4017         * sysdeps/unix/sysv/linux/s390/s390-32/seteuid.c: ...here.
4018         * sysdeps/unix/sysv/linux/s390/setfsgid.c: Move to...
4019         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: ...here.
4020         * sysdeps/unix/sysv/linux/s390/setfsuid.c: Move to...
4021         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: ...here.
4022         * sysdeps/unix/sysv/linux/s390/setgid.c: Move to...
4023         * sysdeps/unix/sysv/linux/s390/s390-32/setgid.c: ...here.
4024         * sysdeps/unix/sysv/linux/s390/setgroups.c: Move to...
4025         * sysdeps/unix/sysv/linux/s390/s390-32/setgroups.c: ...here.
4026         * sysdeps/unix/sysv/linux/s390/setregid.c: Move to...
4027         * sysdeps/unix/sysv/linux/s390/s390-32/setregid.c: ...here.
4028         * sysdeps/unix/sysv/linux/s390/setresgid.c: Move to...
4029         * sysdeps/unix/sysv/linux/s390/s390-32/setresgid.c: ...here.
4030         * sysdeps/unix/sysv/linux/s390/setresuid.c: Move to...
4031         * sysdeps/unix/sysv/linux/s390/s390-32/setresuid.c: ...here.
4032         * sysdeps/unix/sysv/linux/s390/setreuid.c: Move to...
4033         * sysdeps/unix/sysv/linux/s390/s390-32/setreuid.c: ...here.
4034         * sysdeps/unix/sysv/linux/s390/setrlimit.c: Move to...
4035         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: ...here.
4036         * sysdeps/unix/sysv/linux/s390/setuid.c: Move to...
4037         * sysdeps/unix/sysv/linux/s390/s390-32/setuid.c: ...here.
4038         * sysdeps/unix/sysv/linux/s390/shmctl.c: Move to...
4039         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: ...here.
4040         * sysdeps/unix/sysv/linux/s390/socket.S: Move to...
4041         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: ...here.
4042         * sysdeps/unix/sysv/linux/s390/sys/procfs.h: Move to...
4043         * sysdeps/unix/sysv/linux/s390/s390-32/sys/procfs.h: ...here.
4044         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Move to...
4045         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: ...here.
4046         * sysdeps/unix/sysv/linux/s390/syscall.S: Move to...
4047         * sysdeps/unix/sysv/linux/s390/s390-32/syscall.S: ...here.
4048         * sysdeps/unix/sysv/linux/s390/syscalls.list: Move to...
4049         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: ...here.
4050         * sysdeps/unix/sysv/linux/s390/sysdep.S: Move to...
4051         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: ...here.
4052         * sysdeps/unix/sysv/linux/s390/sysdep.h: Move to...
4053         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: ...here.
4054         * sysdeps/unix/sysv/linux/s390/versionsort64.c: Move to...
4055         * sysdeps/unix/sysv/linux/s390/s390-32/versionsort64.c: ...here.
4056         * sysdeps/unix/sysv/linux/s390/xstat.c: Move to...
4057         * sysdeps/unix/sysv/linux/s390/s390-32/xstat.c: ...here.
4059 2001-03-13  Martin Schwidefsky  <schwidefsky@de.ibm.com>
4061         * sysdeps/unix/sysv/linux/s390/s390-64/Dist: New file.
4062         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: New file.
4063         * sysdeps/unix/sysv/linux/s390/s390-64/bits/elfclass.h: New file.
4064         * sysdeps/unix/sysv/linux/s390/s390-64/bits/fcntl.h: New file.
4065         * sysdeps/unix/sysv/linux/s390/s390-64/bits/ipc.h: New file.
4066         * sysdeps/unix/sysv/linux/s390/s390-64/bits/mman.h: New file.
4067         * sysdeps/unix/sysv/linux/s390/s390-64/bits/msq.h: New file.
4068         * sysdeps/unix/sysv/linux/s390/s390-64/bits/resource.h: New file.
4069         * sysdeps/unix/sysv/linux/s390/s390-64/bits/sem.h: New file.
4070         * sysdeps/unix/sysv/linux/s390/s390-64/bits/shm.h: New file.
4071         * sysdeps/unix/sysv/linux/s390/s390-64/bits/sigaction.h: New file.
4072         * sysdeps/unix/sysv/linux/s390/s390-64/bits/siginfo.h: New file.
4073         * sysdeps/unix/sysv/linux/s390/s390-64/bits/sigstack.h: New file.
4074         * sysdeps/unix/sysv/linux/s390/s390-64/bits/stat.h: New file.
4075         * sysdeps/unix/sysv/linux/s390/s390-64/bits/types.h: New file.
4076         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: New file.
4077         * sysdeps/unix/sysv/linux/s390/s390-64/fstatfs64.c: New file.
4078         * sysdeps/unix/sysv/linux/s390/s390-64/ftruncate64.c: New file.
4079         * sysdeps/unix/sysv/linux/s390/s390-64/fxstat.c: New file.
4080         * sysdeps/unix/sysv/linux/s390/s390-64/fxstat64.c: New file.
4081         * sysdeps/unix/sysv/linux/s390/s390-64/getdents.c: New file.
4082         * sysdeps/unix/sysv/linux/s390/s390-64/getdents64.c: New file.
4083         * sysdeps/unix/sysv/linux/s390/s390-64/getrlimit64.c: New file.
4084         * sysdeps/unix/sysv/linux/s390/s390-64/glob.c: New file.
4085         * sysdeps/unix/sysv/linux/s390/s390-64/glob64.c: New file.
4086         * sysdeps/unix/sysv/linux/s390/s390-64/kernel_stat.h: New file.
4087         * sysdeps/unix/sysv/linux/s390/s390-64/lxstat.c: New file.
4088         * sysdeps/unix/sysv/linux/s390/s390-64/lxstat64.c: New file.
4089         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: New file.
4090         * sysdeps/unix/sysv/linux/s390/s390-64/mmap64.c: New file.
4091         * sysdeps/unix/sysv/linux/s390/s390-64/pread64.c: New file.
4092         * sysdeps/unix/sysv/linux/s390/s390-64/pwrite64.c: New file.
4093         * sysdeps/unix/sysv/linux/s390/s390-64/readdir.c: New file.
4094         * sysdeps/unix/sysv/linux/s390/s390-64/readdir64.c: New file.
4095         * sysdeps/unix/sysv/linux/s390/s390-64/readdir64_r.c: New file.
4096         * sysdeps/unix/sysv/linux/s390/s390-64/readdir_r.c : New file.
4097         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: New file.
4098         * sysdeps/unix/sysv/linux/s390/s390-64/setrlimit64.c: New file.
4099         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: New file.
4100         * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c: New file.
4101         * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c: New file.
4102         * sysdeps/unix/sysv/linux/s390/s390-64/sigsuspend.c: New file.
4103         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: New file.
4104         * sysdeps/unix/sysv/linux/s390/s390-64/statfs64.c: New file.
4105         * sysdeps/unix/sysv/linux/s390/s390-64/sys/procfs.h: New file.
4106         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: New file.
4107         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: New file.
4108         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: New file.
4109         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: New file.
4110         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: New file.
4111         * sysdeps/unix/sysv/linux/s390/s390-64/truncate64.c: New file.
4112         * sysdeps/unix/sysv/linux/s390/s390-64/xstat.c: New file.
4113         * sysdeps/unix/sysv/linux/s390/s390-64/xstat64.c: New file.
4115 2001-03-13  Martin Schwidefsky  <schwidefsky@de.ibm.com>
4117         * sysdeps/s390/Dist: Move to...
4118         * sysdeps/s390/390-32/Dist: ...here.
4119         * sysdeps/s390/Implies: Move to...
4120         * sysdeps/s390/s390-32/Implies: ...here.
4121         * sysdeps/s390/Makefile: Move to...
4122         * sysdeps/s390/s390-32/Makefile: ...here.
4123         * sysdeps/s390/Versions: Move to...
4124         * sysdeps/s390-32/s390/Versions: ...here.
4125         * sysdeps/s390/add_n.S: Move to...
4126         * sysdeps/s390/s390-32/add_n.S: ...here.
4127         * sysdeps/s390/addmul_1.S: Move to...
4128         * sysdeps/s390/s390-32/addmul_1.S: ...here.
4129         * sysdeps/s390/atomicity.h: Move to...
4130         * sysdeps/s390/s390-32/atomicity.h: ...here.
4131         * sysdeps/s390/backtrace.c: Move to...
4132         * sysdeps/s390/s390-32/backtrace.c: ...here.
4133         * sysdeps/s390/bcopy.S: Move to...
4134         * sysdeps/s390/s390-32/bcopy.S: ...here.
4135         * sysdeps/s390/bits/byteswap.h: Move to...
4136         * sysdeps/s390/s390-32/bits/byteswap.h: ...here.
4137         * sysdeps/s390/bits/huge_val.h: Move to...
4138         * sysdeps/s390/s390-32/bits/huge_val.h: ...here.
4139         * sysdeps/s390/bsd-_setjmp.S: Move to...
4140         * sysdeps/s390/s390-32/bsd-_setjmp.S: ...here.
4141         * sysdeps/s390/bsd-setjmp.S: Move to...
4142         * sysdeps/s390/s390-32/bsd-setjmp.S: ...here.
4143         * sysdeps/s390/bzero.S: Move to...
4144         * sysdeps/s390/s390-32/bzero.S: ...here.
4145         * sysdeps/s390/elf/bsd-_setjmp.S: Move to...
4146         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: ...here.
4147         * sysdeps/s390/elf/bsd-setjmp.S: Move to...
4148         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: ...here.
4149         * sysdeps/s390/elf/start.S: Move to...
4150         * sysdeps/s390/s390-32/elf/start.S: ...here.
4151         * sysdeps/s390/ffs.c: Move to...
4152         * sysdeps/s390/s390-32/ffs.c: ...here.
4153         * sysdeps/s390/memchr.S: Move to...
4154         * sysdeps/s390/s390-32/memchr.S: ...here.
4155         * sysdeps/s390/memcpy.S: Move to...
4156         * sysdeps/s390/s390-32/memcpy.S: ...here.
4157         * sysdeps/s390/memset.S: Move to...
4158         * sysdeps/s390/s390-32/memset.S: ...here.
4159         * sysdeps/s390/mul_1.S: Move to...
4160         * sysdeps/s390/s390-32/mul_1.S: ...here.
4161         * sysdeps/s390/s390-mcount.S: Move to...
4162         * sysdeps/s390/s390-32/s390-mcount.S: ...here.
4163         * sysdeps/s390/strcpy.S: Move to...
4164         * sysdeps/s390/s390-32/strcpy.S: ...here.
4165         * sysdeps/s390/strncpy.S: Move to...
4166         * sysdeps/s390/s390-32/strncpy.S: ...here.
4167         * sysdeps/s390/sub_n.S: Move to...
4168         * sysdeps/s390/s390-32/sub_n.S: ...here.
4170 2001-03-13  Martin Schwidefsky  <schwidefsky@de.ibm.com>
4172         * sysdeps/s390/s390-64/Dist: New file.
4173         * sysdeps/s390/s390-64/Implies: New file.
4174         * sysdeps/s390/s390-64/Makefile: New file.
4175         * sysdeps/s390/s390-64/__longjmp.c: New file.
4176         * sysdeps/s390/s390-64/add_n.S: New file.
4177         * sysdeps/s390/s390-64/atomicity.h: New file.
4178         * sysdeps/s390/s390-64/backtrace.c: New file.
4179         * sysdeps/s390/s390-64/bcopy.S: New file.
4180         * sysdeps/s390/s390-64/bits/byteswap.h: New file.
4181         * sysdeps/s390/s390-64/bits/huge_val.h: New file.
4182         * sysdeps/s390/s390-64/bits/setjmp.h: New file.
4183         * sysdeps/s390/s390-64/bits/string.h: New file.
4184         * sysdeps/s390/s390-64/bsd-_setjmp.S: New file.
4185         * sysdeps/s390/s390-64/bsd-setjmp.S: New file.
4186         * sysdeps/s390/s390-64/bzero.S: New file.
4187         * sysdeps/s390/s390-64/dl-machine.h: New file.
4188         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: New file.
4189         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: New file.
4190         * sysdeps/s390/s390-64/elf/setjmp.S: New file.
4191         * sysdeps/s390/s390-64/elf/start.S: New file.
4192         * sysdeps/s390/s390-64/ffs.c: New file.
4193         * sysdeps/s390/s390-64/initfini.c: New file.
4194         * sysdeps/s390/s390-64/memchr.S: New file.
4195         * sysdeps/s390/s390-64/memcpy.S: New file.
4196         * sysdeps/s390/s390-64/memset.S: New file.
4197         * sysdeps/s390/s390-64/s390x-mcount.S: New file.
4198         * sysdeps/s390/s390-64/setjmp.S: New file.
4199         * sysdeps/s390/s390-64/strcpy.S: New file.
4200         * sysdeps/s390/s390-64/strncpy.S: New file.
4201         * sysdeps/s390/s390-64/sub_n.S: New file.
4202         * sysdeps/s390/s390-64/sysdep.h: New file.
4204 2001-03-13  Martin Schwidefsky  <schwidefsky@de.ibm.com>
4206         * scripts/config.guess: Add support for Linux on 64 bit S/390.
4207         * scripts/config.sub: Likewise.
4209 2001-03-13  Martin Schwidefsky  <schwidefsky@de.ibm.com>
4211         * configure.in: Add support for 64 bit S/390.
4213         * elf/elf.h: Add new relocations for 64 bit S/390.
4215         * shlib-versions: Add rules for Linux on 64 bit S/390.
4217 2001-03-13  Martin Schwidefsky  <schwidefsky@de.ibm.com>
4219         * sysdeps/s390/__longjmp.c: Move to...
4220         * sysdeps/s390/s390-32/__longjmp.c: ...here.  Add code
4221         to load the floating point registers that should be saved
4222         according to the ABI.
4224         * sysdeps/s390/bits/setjmp.h: Move to...
4225         * sysdeps/s390/s390-32/bits/setjmp.h: ...here.  Avoid
4226         the use of long long in the __jmp_buf type definition.
4228         * sysdeps/s390/bits/string.h: Move to...
4229         * sysdeps/s390/s390-32/bits/string.h: ...here.  Add several missing
4230         #ifndef _FORCE_INLINES.
4232         * sysdeps/s390/dl-machine.h: Move to...
4233         * sysdeps/s390/s390-32/dl-machine.h: ...here.  Add a check for the
4234         executables EI_CLASS in elf_machine_matches_host.
4236         * sysdeps/s390/elf/setjmp.S: Move to...
4237         * sysdeps/s390/s390-32/elf/setjmp.S: ...here.  Replace
4238         branches to globally defined symbol __sigsetjmp by branches to
4239         a local label (this avoids the generation of a R_390_PC16DBL
4240         relocation in -fpic code).
4242         * sysdeps/s390/gmp-mparam.h: Use defines from <bits/wordsize.h> to
4243         calculate BITS_PER_MP_LIMB, BYTES_PER_MP_LIMB and BITS_PER_LONGINT.
4245         * sysdeps/s390/initfini.c: Move to...
4246         * sysdeps/s390/s390-32/initfini.c: ...here.  Replace ALIGN with
4247         ".align 4,0x07".
4249         * sysdeps/s390/setjmp.S: Move to...
4250         * sysdeps/s390/s390-32/setjmp.S: ...here.  Add code to store the
4251         floating point registers that should be saved according to the ABI.
4253         * sysdeps/s390/sys/ucontext.h: Remove since it is unused.
4255         * sysdeps/unix/sysv/linux/s390/sysdep.h: Move to...
4256         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: ...here.  Include
4257         sysdeps/s390/s390-32/sysdep.h instead of sysdeps/s390/sysdep.h.
4259 2001-03-13  Martin Schwidefsky  <schwidefsky@de.ibm.com>
4261         * configure.in: Change machine=s390 to machine=s390/s390-32.
4263         * elf/elf.h: Correct comment for R_390_PLT16DBL.
4265 2001-03-12  Jakub Jelinek  <jakub@redhat.com>
4267         * csu/Makefile (abi-tag.h): Define OS and version separately, allow
4268         version to be overriden from config.h.
4269         * csu/abi-note.S: Use OS and version separately, include config.h.
4270         * elf/dl-load.c (_dl_osversion): New.
4271         (_dl_map_object_from_fd): Kill some warnings.
4272         (open_verify): Check .note.ABI-tag of the library if present.
4273         * elf/Makefile (CPPFLAGS-dl-load.c): Add -I$(csu-objpfx).
4274         * elf/cache.c (struct cache_entry): Add osversion.
4275         (print_entry): Print osversion.
4276         (print_cache): Pass osversion to it.
4277         (compare): Sort according to osversion.
4278         (save_cache): Set osversion.
4279         (add_to_cache): Add osversion argument.
4280         * sysdeps/generic/ldconfig.h (add_to_cache, process_file,
4281         process_elf_file): Add osversion argument.
4282         * elf/readlib.c (process_file): Likewise.
4283         * sysdeps/generic/readelflib.c (process_elf_file): Likewise.
4284         * sysdeps/unix/sysv/linux/ia64/readelflib.c (process_elf_file,
4285         process_elf32_file, process_elf64_file): Likewise.
4286         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file,
4287         process_elf32_file, process_elf64_file): Likewise.
4288         * sysdeps/unix/sysv/linux/sparc/readelflib.c (process_elf_file,
4289         process_elf32_file, process_elf64_file): Likewise.
4290         * elf/ldconfig.c (manual_link): Pass it.
4291         (search_dir): Issue diagnostic if two libs with the same soname in
4292         the same directory have different .note.ABI-tag.  Record osversion in
4293         dlib_entry and use it from there.
4294         (struct lib_entry): Remove.
4295         (struct dlib_entry): Add osversion.
4296         * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Check
4297         osversion.
4298         * sysdeps/generic/dl-cache.h (struct file_entry_new): Replace __unused
4299         field with osversion.
4300         * sysdeps/generic/ldsodefs.h (_dl_osversion): Declare.
4301         * sysdeps/unix/sysv/linux/init-first.c: Include ldsodefs.h.
4302         * sysdeps/unix/sysv/linux/dl-osinfo.h (DL_SYSDEP_OSCHECK): Save kernel
4303         version in _dl_osversion.
4304         * sysdeps/unix/sysv/linux/configure.in: Define __ABI_TAG_VERSION.
4305         * Makerules (build-shlib-helper, build-module-helper): New.
4306         (build-shlib, build-module-helper): Make sure .note.ABI-tag comes
4307         early.
4308         * config.h.in (__ABI_TAG_VERSION): Add.
4309         * elf/dl-minimal.c (__strtoul_internal): Set endptr on return.
4310         * sysdeps/unix/sysv/linux/i386/dl-librecon.h (EXTRA_LD_ENVVARS):
4311         Handle LD_ASSUME_KERNEL.
4312         * sysdeps/unix/sysv/linux/dl-librecon.h: New.
4314 2001-03-15  Ulrich Drepper  <drepper@redhat.com>
4316         * timezone/antarctica: Update from tzdata2001a.
4317         * timezone/asia: Likewise.
4318         * timezone/australasia: Likewise.
4319         * timezone/backward: Likewise.
4320         * timezone/etcetera: Likewise.
4321         * timezone/europe: Likewise.
4322         * timezone/leapseconds: Likewise.
4323         * timezone/northamerica: Likewise.
4324         * timezone/southamerica: Likewise.
4325         * timezone/systemv: Likewise.
4326         * timezone/yearistype: Likewise.
4327         * timezone/zone.tab: Likewise.
4328         * timezone/tzdump.c: Update from tzcode2001a.
4330 2001-03-15  H.J. Lu  <hjl@gnu.org>
4332         * intl/Makefile: Fix a typo.
4334 2001-03-14  David Mosberger  <davidm@hpl.hp.com>
4336         * gmon/gmon.c (write_call_graph): Avoid unaligned accesses when
4337         writing arc structures.
4339 2001-03-15  H.J. Lu  <hjl@gnu.org>
4341         * elf/Makefile ($(objpfx)tst-pathopt.out): Protected against
4342         cross-compiling.
4344 2001-03-13  Andreas Schwab  <schwab@suse.de>
4346         * posix/PTESTS2C.sed: Replace literal CRs by `\r'.
4348 2001-03-15  Ulrich Drepper  <drepper@redhat.com>
4350         * sysdeps/unix/sysv/linux/cmsg_nxthdr.c (__cmsg_nxthdr): Fix test
4351         for control message fitting into message data.
4352         Patch by James Antill <james@and.org>.
4354         * posix/tst-fnmatch.input: Add test case for FNM_PERIOD handling with
4355         FNM_EXTMATCH.
4357         * posix/fnmatch_loop.c: Optimize handling of ?() and @().
4358         * posix/fnmatch.c: Define STRLEN and STRCAT appropriately.
4360         * posix/Versions [libc] (GLIBC_2.2.3): Add fnmatch.
4361         * posix/fnmatch.c: Define with new default version GLIBC_2.2.3 to
4362         avoid running binaries with libc versions without FNM_EXTMATCH support.
4364         * include/wchar.h: Add prototype for __wcscat.
4365         * wcsmbs/wcscat.c: Define __wcscat and make wcscat weak alias.
4367         * posix/fnmatch.h (FNM_EXTMATCH): Define.
4368         * posix/fnmatch.c (NO_LEADING_PERIOD): Define.
4369         (posixly_correct): Move global variable here.
4370         (INT, EXT, END): Name new functions defined in fnmatch_loop.c.
4371         (fnmatch): Pretty printing.
4372         * posix/fnmatch_loop.c: Add code to handle FNM_EXTMATCH.
4373         * posix/tst-fnmatch.c: Recognize EXTMATCH flag.
4374         * posix/tst-fnmatch.input: Add tests for extended matching.
4376         * posix/testfnm.c: Add test for patterns with multiple ** before /.
4377         * posix/fnmatch_loop.c: Fix problem with the test above.
4379 2001-03-14  Ulrich Drepper  <drepper@redhat.com>
4381         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Remove
4382         reference to usqrt.
4384         * resolv/res_data.c (fp_nquery): Call __res_ninit not __res_init.
4386 2001-03-12  Andreas Jaeger  <aj@suse.de>
4388         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
4389         Use EM_X86_64 instead of EM_X8664.
4391 2001-03-12  Ulrich Drepper  <drepper@redhat.com>
4393         * sysdeps/ieee754/dbl-64/upow.h: Define nZERO and nINF.
4395         * sysdeps/ieee754/dbl-64/e_remainder.c: Fix handling of boundary
4396         conditions.
4398         * sysdeps/ieee754/dbl-64/e_pow.c: Fix handling of boundary
4399         conditions.
4401         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Handle Inf and NaN
4402         correctly.
4403         (__cos): Likewise.
4405         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Handle NaN
4406         correctly.
4407         (__ieee754_acos): Likewise.
4409 2001-03-12  Andreas Jaeger  <aj@suse.de>
4411         * sysdeps/unix/sysv/linux/s390/sysdep.h (_LINUX_S390_SYSDEP_H):
4412         Fix typo.  Patch by Martin Schwidefsky  <schwidefsky@de.ibm.com>.
4414         * sysdeps/s390/bits/string.h: Protect __STRING_INLINE against
4415         redefinition.
4417 2001-03-11  Roland McGrath  <roland@frob.com>
4419         * sysdeps/mach/hurd/configure.in: Add a sanity check on $prefix.
4421 2001-03-11  Ulrich Drepper  <drepper@redhat.com>
4423         * sysdeps/ieee754/dbl-64/endian.h: Define also one of BIG_ENDI and
4424         LITTLE_ENDI.
4426         * sysdeps/ieee754/dbl-64/MathLib.h (Init_Lib): Use void as
4427         parameter list.
4429         Last-bit accurate math library implementation by IBM Haifa.
4430         Contributed by Abraham Ziv <ziv@il.ibm.com>, Moshe Olshansky
4431         <olshansk@il.ibm.com>, Ealan Henis <ealan@il.ibm.com>, and
4432         Anna Reitman <reitman@il.ibm.com>.
4433         * math/Makefile (dbl-only-routines): New variable.
4434         (libm-routines): Add $(dbl-only-routines).
4435         * sysdeps/ieee754/dbl-64/e_acos.c: Empty, definition is in e_asin.c.
4436         * sysdeps/ieee754/dbl-64/e_asin.c: Replaced with accurate asin
4437         implementation.
4438         * sysdeps/ieee754/dbl-64/e_atan2.c: Replaced with accurate atan2
4439         implementation.
4440         * sysdeps/ieee754/dbl-64/e_exp.c: Replaced with accurate exp
4441         implementation.
4442         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Don't use __kernel_sin and
4443         __kernel_cos.
4444         * sysdeps/ieee754/dbl-64/e_log.c: Replaced with accurate log
4445         implementation.
4446         * sysdeps/ieee754/dbl-64/e_remainder.c: Replaced with accurate
4447         remainder implementation.
4448         * sysdeps/ieee754/dbl-64/e_pow.c: Replaced with accurate pow
4449         implementation.
4450         * sysdeps/ieee754/dbl-64/e_sqrt.c: Replaced with accurate sqrt
4451         implementation.
4452         * sysdeps/ieee754/dbl-64/k_cos.c: Empty, definition is in s_sin.c.
4453         * sysdeps/ieee754/dbl-64/k_sin.c: Empty, definition is in s_sin.c.
4454         * sysdeps/ieee754/dbl-64/s_atan.c: Replaced with accurate atan
4455         implementation.
4456         * sysdeps/ieee754/dbl-64/s_cos.c: Empty, definition is in s_sin.c.
4457         * sysdeps/ieee754/dbl-64/s_sin.c: Replaced with accurate sin/cos
4458         implementation.
4459         * sysdeps/ieee754/dbl-64/s_sincos.c: Rewritten to not use __kernel_sin
4460         and __kernel_cos.
4461         * sysdeps/ieee754/dbl-64/s_tan.c: Replaced with accurate tan
4462         implementation.
4463         * sysdeps/ieee754/dbl-64/Dist: Add new non-code files.
4464         * sysdeps/ieee754/dbl-64/MathLib.h: New file.
4465         * sysdeps/ieee754/dbl-64/asincos.tbl: New file.
4466         * sysdeps/ieee754/dbl-64/atnat.h: New file.
4467         * sysdeps/ieee754/dbl-64/atnat2.h: New file.
4468         * sysdeps/ieee754/dbl-64/branred.c: New file.
4469         * sysdeps/ieee754/dbl-64/branred.h: New file.
4470         * sysdeps/ieee754/dbl-64/dla.h: New file.
4471         * sysdeps/ieee754/dbl-64/doasin.c: New file.
4472         * sysdeps/ieee754/dbl-64/doasin.h: New file.
4473         * sysdeps/ieee754/dbl-64/dosincos.c: New file.
4474         * sysdeps/ieee754/dbl-64/dosincos.h: New file.
4475         * sysdeps/ieee754/dbl-64/endian.h: New file.
4476         * sysdeps/ieee754/dbl-64/halfulp.c: New file.
4477         * sysdeps/ieee754/dbl-64/mpa.c: New file.
4478         * sysdeps/ieee754/dbl-64/mpa.h: New file.
4479         * sysdeps/ieee754/dbl-64/mpa2.h: New file.
4480         * sysdeps/ieee754/dbl-64/mpatan.c: New file.
4481         * sysdeps/ieee754/dbl-64/mpatan.h: New file.
4482         * sysdeps/ieee754/dbl-64/mpatan2.c: New file.
4483         * sysdeps/ieee754/dbl-64/mpexp.c: New file.
4484         * sysdeps/ieee754/dbl-64/mpexp.h: New file.
4485         * sysdeps/ieee754/dbl-64/mplog.c: New file.
4486         * sysdeps/ieee754/dbl-64/mplog.h: New file.
4487         * sysdeps/ieee754/dbl-64/mpsqrt.c: New file.
4488         * sysdeps/ieee754/dbl-64/mpsqrt.h: New file.
4489         * sysdeps/ieee754/dbl-64/mptan.c: New file.
4490         * sysdeps/ieee754/dbl-64/mydefs.h: New file.
4491         * sysdeps/ieee754/dbl-64/powtwo.tbl: New file.
4492         * sysdeps/ieee754/dbl-64/root.tbl: New file.
4493         * sysdeps/ieee754/dbl-64/sincos.tbl: New file.
4494         * sysdeps/ieee754/dbl-64/sincos32.c: New file.
4495         * sysdeps/ieee754/dbl-64/sincos32.h: New file.
4496         * sysdeps/ieee754/dbl-64/slowexp.c: New file.
4497         * sysdeps/ieee754/dbl-64/slowpow.c: New file.
4498         * sysdeps/ieee754/dbl-64/uasncs.h: New file.
4499         * sysdeps/ieee754/dbl-64/uatan.tbl: New file.
4500         * sysdeps/ieee754/dbl-64/uexp.h: New file.
4501         * sysdeps/ieee754/dbl-64/uexp.tbl: New file.
4502         * sysdeps/ieee754/dbl-64/ulog.h: New file.
4503         * sysdeps/ieee754/dbl-64/ulog.tbl: New file.
4504         * sysdeps/ieee754/dbl-64/upow.h: New file.
4505         * sysdeps/ieee754/dbl-64/upow.tbl: New file.
4506         * sysdeps/ieee754/dbl-64/urem.h: New file.
4507         * sysdeps/ieee754/dbl-64/uroot.h: New file.
4508         * sysdeps/ieee754/dbl-64/usncs.h: New file.
4509         * sysdeps/ieee754/dbl-64/utan.h: New file.
4510         * sysdeps/ieee754/dbl-64/utan.tbl: New file.
4511         * sysdeps/i386/fpu/branred.c: New file.
4512         * sysdeps/i386/fpu/doasin.c: New file.
4513         * sysdeps/i386/fpu/dosincos.c: New file.
4514         * sysdeps/i386/fpu/halfulp.c: New file.
4515         * sysdeps/i386/fpu/mpa.c: New file.
4516         * sysdeps/i386/fpu/mpatan.c: New file.
4517         * sysdeps/i386/fpu/mpatan2.c: New file.
4518         * sysdeps/i386/fpu/mpexp.c: New file.
4519         * sysdeps/i386/fpu/mplog.c: New file.
4520         * sysdeps/i386/fpu/mpsqrt.c: New file.
4521         * sysdeps/i386/fpu/mptan.c: New file.
4522         * sysdeps/i386/fpu/sincos32.c: New file.
4523         * sysdeps/i386/fpu/slowexp.c: New file.
4524         * sysdeps/i386/fpu/slowpow.c: New file.
4525         * sysdeps/ia64/fpu/branred.c: New file.
4526         * sysdeps/ia64/fpu/doasin.c: New file.
4527         * sysdeps/ia64/fpu/dosincos.c: New file.
4528         * sysdeps/ia64/fpu/halfulp.c: New file.
4529         * sysdeps/ia64/fpu/mpa.c: New file.
4530         * sysdeps/ia64/fpu/mpatan.c: New file.
4531         * sysdeps/ia64/fpu/mpatan2.c: New file.
4532         * sysdeps/ia64/fpu/mpexp.c: New file.
4533         * sysdeps/ia64/fpu/mplog.c: New file.
4534         * sysdeps/ia64/fpu/mpsqrt.c: New file.
4535         * sysdeps/ia64/fpu/mptan.c: New file.
4536         * sysdeps/ia64/fpu/sincos32.c: New file.
4537         * sysdeps/ia64/fpu/slowexp.c: New file.
4538         * sysdeps/ia64/fpu/slowpow.c: New file.
4539         * sysdeps/m68k/fpu/branred.c: New file.
4540         * sysdeps/m68k/fpu/doasin.c: New file.
4541         * sysdeps/m68k/fpu/dosincos.c: New file.
4542         * sysdeps/m68k/fpu/halfulp.c: New file.
4543         * sysdeps/m68k/fpu/mpa.c: New file.
4544         * sysdeps/m68k/fpu/mpatan.c: New file.
4545         * sysdeps/m68k/fpu/mpatan2.c: New file.
4546         * sysdeps/m68k/fpu/mpexp.c: New file.
4547         * sysdeps/m68k/fpu/mplog.c: New file.
4548         * sysdeps/m68k/fpu/mpsqrt.c: New file.
4549         * sysdeps/m68k/fpu/mptan.c: New file.
4550         * sysdeps/m68k/fpu/sincos32.c: New file.
4551         * sysdeps/m68k/fpu/slowexp.c: New file.
4552         * sysdeps/m68k/fpu/slowpow.c: New file.
4554         * iconvdata/gconv-modules: Add a number of alias, mostly for IBM
4555         codepages.
4557 2001-03-11  Andreas Jaeger  <aj@suse.de>
4559         * elf/elf.h (EM_*): Synch with official list.
4561 2001-03-07  David Mosberger  <davidm@hpl.hp.com>
4563         * sysdeps/ia64/bits/fenv.h (FE_NONIEEE_ENV): New macro.
4565 2001-03-07  Jes Sorensen  <jes@linuxcare.com>
4567         * sysdeps/unix/sysv/linux/ia64/ioperm.c (_ioperm): Remove unused
4568         variables addr & len.
4570 2001-02-22  Jes Sorensen  <jes@linuxcare.com>
4572         * sysdeps/ia64/fpu/feenablxcpt.c (feenableexcept): Remove
4573         punctuation in asm constraint.
4575 2001-03-07  Mark Kettenis  <kettenis@gnu.org>
4577         * resolv/netdb.h [__USE_GNU]: Define __need_timespec and include
4578         <time.h> to get definition of `struct timespec'.
4580 2001-03-08  Jakub Jelinek  <jakub@redhat.com>
4582         * elf/rtld.c (dl_main): If tracing, warn about undefined symbols if
4583         LD_WARN=1, not if LD_WARN is unset.
4585 2001-03-07  Andreas Schwab  <schwab@suse.de>
4587         * elf/ldconfig.h: Moved to ...
4588         * sysdeps/generic/ldconfig.h: ... here.
4589         * sysdeps/unix/sysv/linux/i386/ldconfig.h: New file.
4590         * sysdeps/unix/sysv/linux/m68k/ldconfig.h: New file.
4591         * sysdeps/unix/sysv/linux/ia64/ldconfig.h: New file.
4592         * elf/readlib.c (interpreters, known_libs): Use
4593         SYSDEP_KNOWN_INTERPRETER_NAMES and SYSDEP_KNOWN_LIBRARY_NAMES
4594         instead of hard coding old names.
4596 2001-03-09  Ulrich Drepper  <drepper@redhat.com>
4598         * catgets/Makefile (generated): Add test-gencat.h.
4599         (sample.SJIS.cat): Also generate header.
4600         * catgets/sample.SJIS: Add new set and message, both with symbolic
4601         names.
4602         * catgets/test-gencat.sh: Also compare generated header with what
4603         we expect.
4605 2001-03-07  Jakub Jelinek  <jakub@redhat.com>
4607         * catgets/gencat.c (read_input_file): Preserve properly symbolic
4608         names.
4610 2001-03-06  Andreas Jaeger  <aj@suse.de>
4612         * sysdeps/s390/dl-machine.h (elf_machine_relplt): Removed, it's not
4613         needed.
4614         (elf_machine_pltrel_p): Likewise.
4615         * sysdeps/powerpc/dl-machine.h: Likewise.
4616         * sysdeps/generic/dl-machine.h (elf_machine_pltrel_p): Likewise.
4618 2001-03-09  Ulrich Drepper  <drepper@redhat.com>
4620         * sysdeps/unix/sysv/linux/arm/Dist: Add dl-procinfo.c and
4621         dl-procinfo.h.
4623 2001-03-05  Philip Blundell  <philb@gnu.org>
4625         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c: New file.
4626         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h: New file.
4627         * sysdeps/unix/sysv/linux/arm/Makefile [subdir=elf]
4628         (sysdep-dl-routines, sysdep_routines, sysdep-rtld-routines): Add
4629         dl-procinfo.
4631 2001-03-09  Ulrich Drepper  <drepper@redhat.com>
4633         * dlfcn/tstatexit.c (main): Don't perform the test if __dso_handle
4634         is not available.
4635         * dlfcn/tstcxaatexit.c (main): Likewise.
4637 2001-03-10  Andreas Jaeger  <aj@suse.de>
4639         * sysdeps/i386/fpu/libm-test-ulps: Revert last patch.
4641 2001-03-09  Andreas Jaeger  <aj@suse.de>
4643         * sysdeps/s390/dl-machine.h (elf_machine_matches_host): Handle
4644         both new and old EM_S390 values.
4645         (EM_S390_OLD): New constant.
4647         * elf/elf.h (EM_S390): Use official value.
4649 2001-03-09  Ulrich Drepper  <drepper@redhat.com>
4651         * conform/data/sys/socket.h-data: Allow SO* symbols.
4653 2001-03-07  Andreas Schwab  <schwab@suse.de>
4655         * sysdeps/ia64/fpu/Makefile: Modify sysdep_routines instead of
4656         routines, and sysdep-CPPFLAGS instead of CPPFLAGS.
4658 2001-03-07  Andreas Jaeger  <aj@suse.de>
4660         * resolv/Makefile (routines): Only build gai_sigqueue when threads
4661         are available.
4663 2001-03-07  Jakub Jelinek  <jakub@redhat.com>
4665         * elf/ldconfig.c (_dl_sysdep_message): Remove.
4666         * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h: Include
4667         ldsodefs.h.
4668         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h: Likewise.
4670         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Use
4671         _dl_error_printf instead of _dl_sysdep_error.
4672         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
4673         * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h (_dl_procinfo):
4674         Use _dl_printf instead of _dl_sysdep_message.
4675         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h (_dl_procinfo):
4676         Likewise.
4678 2001-03-06  Ben Collins  <bcollins@debian.org>
4680         * manual/arith.texi (Integers): Fix documentation of fast and
4681         least integer typedefs.
4683 2001-03-06  Jakub Jelinek  <jakub@redhat.com>
4685         * resolv/Depend: New file.
4686         * resolv/Makefile (extra-libs, tests): Build libanl and ga_test only
4687         when libpthread is built.
4689 2001-03-06  Andreas Jaeger  <aj@suse.de>
4691         * sysdeps/i386/fpu/libm-test-ulps: Add some deltas.
4693         * sysdeps/sh/dl-machine.h (elf_machine_rela): Add missing comma.
4694         Patch by kaz Kojima <kkojima@rr.iij4u.or.jp>.
4696 2001-03-05  Ulrich Drepper  <drepper@redhat.com>
4698         * stdlib/Versions: Remove __new_exitfn again.  Not needed.
4700 2001-03-05  Andreas Jaeger  <aj@suse.de>
4702         * stdlib/msort.c (qsort): Don't use alloca in a function call.
4704 2001-03-05  Ulrich Drepper  <drepper@redhat.com>
4706         * sysdeps/unix/sysv/linux/bits/stat.h (__S_TYPEISMQ, __S_TYPEISSEM,
4707         __S_TYPEISSHM): Rewrite to enforce correct use the macros.  They still
4708         always return zero.
4709         * sysdeps/unix/sysv/linux/alpha/bits/stat.h: Likewise.
4710         * sysdeps/unix/sysv/linux/ia64/bits/stat.h: Likewise.
4711         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
4712         * sysdeps/unix/sysv/linux/m68k/bits/stat.h: Likewise.
4713         * sysdeps/unix/sysv/linux/mips/bits/stat.h: Likewise.
4714         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
4715         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
4717 2001-03-04  Andreas Jaeger  <aj@suse.de>
4719         * stdlib/longlong.h: Don't use multi-line strings.
4720         * iconvdata/tst-loading.c: Likewise.
4722         * csu/Makefile ($(objpfx)version-info.h): Don't use multi-line
4723         string.
4725 2001-03-04  Ulrich Drepper  <drepper@redhat.com>
4727         * sysdeps/ia64/fpu/libm-test-ulps: Adjust for addition of lgammal.
4729         * rt/lio_listio.c: Add a few asserts.
4731         * elf/global.c: New file.
4732         * elf/globalmod1.c: New file.
4733         * elf/Makefile: Add rules to build and run global.
4735         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Define SI_ASYNCNL.
4736         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
4737         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Likewise.
4738         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
4739         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/siginfo.h: Likewise.
4741         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: New file.
4742         Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>.
4744         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Fix handling of boundary cases.
4746         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Always initialize sign variable.
4747         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
4749         * sysdeps/i386/fpu/libm-test-ulps: Adjust after addition of lgammal.
4751         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Fix typo in last change.
4753 2001-03-04  Andreas Jaeger  <aj@suse.de>
4755         * resolv/tst-aton.c: Add testcase for IP with four periods.
4757         * resolv/inet_addr.c: Don't recognize an IP with four periods.
4758         Patch by Andre' Breiler <A.Breiler@gmx.net>.
4760 2001-02-27  Philip Blundell  <pb@futuretv.com>
4762         * elf/elf.h: Add new ARM definitions from latest (B-01)
4763         specification.  Correct naming of EF_ARM_ALIGN8 et al.
4765 2001-03-04  Ulrich Drepper  <drepper@redhat.com>
4767         * stdio-common/tst-printf.sh: Remove bashisms.
4768         Patch by Matthew Clarke <Matthew_Clarke@mindlink.bc.ca>.
4770 2001-03-03  Ulrich Drepper  <drepper@redhat.com>
4772         * Versions.def: Add libanl definition.
4773         * shlib-versions: Add entry for libanl.
4774         * resolv/Makefile (distribute): Add gai_misc.h and ga_test.c.
4775         (routines): Add gai_sigqueue.
4776         (extra-libs): Add libanl.
4777         (libanl-routines): New variable.
4778         Add rules to build libanl and ga_test.
4779         * resolv/Versions [libc] (GLIBC_2.2.3): Add __gai_sigqueue.
4780         [libanl]: New library.
4781         * resolv/netdb.h: Add definitions for libanl.
4782         * resolv/getaddrinfo_a.c: New file.
4783         * resolv/gai_cancel.c: New file.
4784         * resolv/gai_error.c: New file.
4785         * resolv/gai_misc.c: New file.
4786         * resolv/gai_misc.h: New file.
4787         * resolv/gai_notify.c: New file.
4788         * resolv/gai_suspend.c: New file.
4789         * resolv/ga_test.c: New file.
4790         * sysdeps/generic/gai_sigqueue.c: New file.
4791         * sysdeps/unix/sysv/linux/gai_sigqueue.c: New file.
4792         * sysdeps/generic/bits/siginfo.h: Allow __need_sigevent_t being defined
4793         and provide only that definition.
4794         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Likewise.
4795         * sysdeps/unix/sysv/linux/bits/siginfo.h: Likewise.
4796         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
4797         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Likewise.
4798         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
4799         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/siginfo.h: Likewise.
4801         * rt/aio_misc.c: Fix typos in comments.
4802         * rt/lio_listio.c: Pretty printing.  Little optimization in request
4803         list handling.
4805         * elf/rtld.c: Remove commented out code.
4807         * sysdeps/unix/sysv/linux/linux_fsinfo.h (SHMFS_SUPER_MAGIC):
4808         Update for real 2.4 kernels.
4810 2001-03-01  Ulrich Drepper  <drepper@redhat.com>
4812         * elf/dl-load.c: Pretty printing.
4814         * elf/dl-object.c (_dl_new_object): Don't add the loader's scope
4815         twice.
4817 2001-02-28  Ulrich Drepper  <drepper@redhat.com>
4819         * sysdeps/alpha/dl-machine.h (elf_machine_rela): Don't handle
4820         relocations which are not in ld.so if RTLD_BOOTSTRAP is defined.
4822         * sysdeps/powerpc/dl-machine.c (__process_machine_rela): Fix typo.
4824         * elf/dl-misc.c (_dl_debug_vdprintf): Fix typo visible on 64-bit
4825         machines.
4827         * sysdeps/unix/sysv/linux/powerpc/sysdep.h (C_TEXT): Define.
4829 2001-02-27  Ulrich Drepper  <drepper@redhat.com>
4831         * sysdeps/powerpc/elf/libc-start.c: Use new output functions and
4832         _dl_debug_mask.
4834         * elf/Versions [ld]: Don't export _dl_debug_message anymore.  Export
4835         _dl_debug_printf.
4836         * elf/dl-misc.c: Remove definition of _dl_sysdep_output and
4837         _dl_debug_message.  Define _dl_debug_vdprintf, _dl_debug_printf,
4838         _dl_debug_printf_c, and _dl_printf.
4839         * sysdeps/generic/ldsodefs.h: Don't declare _dl_sysdep_output,
4840         _dl_debug_message, _dl_sysdep_message, _dl_sysdep_error, and
4841         _dl_sysdep_fatal.  Declare _dl_debug_printf, _dl_debug_printf_c,
4842         _dl_printf, _dl_error_printf, and _dl_fatal_printf.
4843         * elf/dl-close.c: Replace use of old output functions with the new
4844         ones.
4845         * elf/dl-deps.c: Likewise.
4846         * elf/dl-error.c: Likewise.
4847         * elf/dl-fini.c: Likewise.
4848         * elf/dl-init.c: Likewise.
4849         * elf/dl-load.c: Likewise.
4850         * elf/dl-lookup.c: Likewise.
4851         * elf/dl-minimal.c: Likewise.
4852         * elf/dl-open.c: Likewise.
4853         * elf/dl-profile.c: Likewise.
4854         * elf/dl-reloc.c: Likewise.
4855         * elf/dl-version.c: Likewise.
4856         * elf/do-lookup.h: Likewise.
4857         * elf/rtld.c: Likewise.
4858         * sysdeps/generic/dl-cache.c: Likewise.
4859         * sysdeps/generic/dl-sysdep.c: Likewise.
4860         * sysdeps/generic/libc-start.c: Likewise.
4861         * sysdeps/i386/dl-machine.h: Likewise.
4862         * sysdeps/arm/dl-machine.h: Likewise.
4863         * sysdeps/hppa/dl-machine.h: Likewise.
4864         * sysdeps/m68k/dl-machine.h: Likewise.
4865         * sysdeps/powerpc/dl-machine.h: Likewise.
4866         * sysdeps/s390/dl-machine.h: Likewise.
4867         * sysdeps/sh/dl-machine.h: Likewise.
4868         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
4869         * sysdeps/unix/sysv/linux/i386/dl-librecon.h: Likewise.
4870         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
4872         * sysdeps/generic/ldsodefs.h: Remove _dl_secure declaration.
4874         * dlfcn/Makefile: Don't run tstatexit test unless .hidden is
4875         supported by assembler.
4877         * sysdeps/generic/ldsodefs.h: Remove commented-out variable
4878         declaractions.
4880         * elf/rtld.c: Little optimizations in handling _dl_lazy.
4882         * elf/cache.c (save_cache): Portability changes.
4883         * elf/dl-profile.c (_dl_start_profile): Likewise.
4885         * elf/sln.c: Cleanups.  Remove arbitrary limits.
4887         * elf/dl-close.c: Replace _dl_debug_* variables with _dl_debug_mask.
4888         * elf/dl-deps.c: Likewise.
4889         * elf/dl-fini.c: Likewise.
4890         * elf/dl-init.c: Likewise.
4891         * elf/dl-load.c: Likewise.
4892         * elf/dl-lookup.c: Likewise.
4893         * elf/dl-open.c: Likewise.
4894         * elf/dl-reloc.c: Likewise.
4895         * elf/dl-support.c: Likewise.
4896         * elf/dl-version.c: Likewise.
4897         * elf/do-lookup.h: Likewise.
4898         * elf/rtld.c: Likewise.
4899         * sysdeps/generic/dl-cache.c: Likewise.
4900         * sysdeps/generic/ldsodefs.h: Likewise.
4901         * sysdeps/generic/libc-start.c: Likewise.
4902         * elf/Versions: Don't export _dl_debug_impcalls and _dl_debug_files.
4903         Export _dl_debug_mask.
4904         * Versions.def: Define GLIBC_2.2.3 for ld.
4906 2001-02-26  Greg McGary  <greg@mcgary.org>
4908         * sysdeps/unix/make-syscalls.sh (ptr): Handle `V' keyletter.
4910 2001-02-26  Paul Eggert  <eggert@twinsun.com>
4912         Modify mkstemp.c and tempname.c so that they can be used by
4913         GNU applications on non-glibc platforms.
4915         * misc/mkstemp.c (__GT_FILE): Define to zero if not defined.
4917         * sysdeps/posix/tempname.c: Include <config.h> if HAVE_CONFIG_H.
4918         Include <stddef.h>, <stdint.h>, <string.h> only if
4919         STDC_HEADERS || _LIBC.
4920         Include <fcntl.h> only if HAVE_FCNTL_H || _LIBC.
4921         Include <unistd.h> only if HAVE_UNISTD_H || _LIBC.
4922         Include <sys/time.h> only if HAVE_SYS_TIME_H || _LIBC.
4923         (__set_errno): Define this macro if <errno.h> doesn't.
4924         (P_tmpdir, TMP_MAX, __GT_FILE, __GT_BIGFILE, __GT_DIR, __GT_NOCREATE):
4925         Define these macros if <stdio.h> doesn't.
4926         (S_ISDIR, S_IRUSR, S_IWUSR, S_IXUSR):
4927         Define these macros if <sys/stat.h> doesn't.
4928         Ignore <sys/stat.h> S_ISDIR if STAT_MACROS_BROKEN.
4929         (stat64, __getpid, __gettimeofday, __mkdir, __open, __open64,
4930         lxstat64, __xstat64): Define if not _LIBC.
4931         (struct_stat64): New macro.
4932         (direxists, __gen_tempname): Use it, to avoid a
4933         portability problem with Solaris 8.
4934         (__secure_getenv): Define if ! (HAVE___SECURE_GETENV || _LIBC).
4935         (__gen_tempname): Invoke gettimeofday only if
4936         HAVE_GETTIMEOFDAY || _LIBC; otherwise, fall back on plain "time".
4937         Use portable macros like S_IRUSR | S_IWUSR rather than nonportable
4938         octal values like 0600.
4940 2001-02-26  Ulrich Drepper  <drepper@redhat.com>
4942         * sysdeps/ieee754/ldbl-96/e_jnl.c: New file.
4943         Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>.
4945         * sysdeps/i386/fpu/libm-test-ulps: Update for jnl and ynl introduction.
4946         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
4948         * posix/wordexp-test.c (testit): Remove warnings.
4950         * dlfcn/Makefile (distribute): Add modatexit.c and modcxaatexit.c.
4951         (tests): Add tstatexit and tstcxaatexit.
4952         (module-names): Add modatexit and modcxaatexit.
4953         Add rules to build and run tstatexit and tstcxaatexit.
4954         * dlfcn/modatexit.c: New file.
4955         * dlfcn/modcxaatexit.c: New file.
4956         * dlfcn/tstatexit.c: New file.
4957         * dlfcn/tstcxaatexit.c: New file.
4959         * io/Makefile: Pass -DHAVE_DOT_HIDDEN to stat and mknod functions if
4960         .hidden is available.
4961         * io/stat.c: If .hidden is available use it to avoid exporting
4962         functions.
4963         * io/fstat.c: Likewise.
4964         * io/lstat.c: Likewise.
4965         * io/stat64.c: Likewise.
4966         * io/fstat64.c: Likewise.
4967         * io/lstat64.c: Likewise.
4968         * sysdeps/generic/mknod.c: Likewise.
4970         * malloc/mtrace.c: Use __cxa_atexit and not atexit.
4971         * sysdeps/generic/bb_init_func.c: Likewise.
4972         * sysdeps/generic/libc-start.c: Likewise.
4974         * stdlib/atexit.c (__new_exitfn): Move to cxa_atexit.c.
4975         (atexit): Implement using __cxa_atexit.
4976         Use .hidden if availble to avoid exporting atexit.
4977         * stdlib/cxa_atexit.c (__new_exitfn): Moved to here from atexit.c.
4978         * stdlib/Versions: Export __new_exitfn for GLIBC_2.2.3.
4979         * stdlib/Makefile (routines): Add old_atexit.
4980         (static-only-routines): Add atexit.
4981         Pass -DHAVE_DOT_HIDDEN for atexit.c if .hidden is available.
4982         * stdlib/old_atexit.c: New file.
4984         * intl/Makefile: Remove bogus endif.
4986 2001-02-26  Andreas Jaeger  <aj@suse.de>
4988         * iconvdata/Makefile (tests): Fix typo in last patch.
4990         * intl/Makefile (tests): Run mtrace-tst-gettext only when perl is
4991         available.
4992         Reported by Achim Gottinger <achim@gentoo.org>.
4994 2001-02-25  Andreas Jaeger  <aj@suse.de>
4996         * intl/Makefile (plural.c): Reorder rules so that they work if
4997         BISON doesn't exist.
4999 2001-02-25  Ulrich Drepper  <drepper@redhat.com>
5001         * intl/locale.alias: Don't use nb_NO but define aliases for it.
5003 2001-02-23  Ulrich Drepper  <drepper@redhat.com>
5005         * sysdeps/i386/strtok.S: Continue to return NULL after the first
5006         time this happened.
5008 2001-02-23  Andreas Jaeger  <aj@suse.de>
5010         * string/tester.c (test_strtok_r): Add testcase.
5011         (test_strtok_r): Always initialize cp for proper checking.
5013         * sysdeps/generic/strtok.c (strtok): Handle case of first strtok
5014         returning NULL correctly.
5015         Patch by Fumitoshi UKAI <ukai@debian.or.jp>.
5016         * sysdeps/generic/strtok_r.c (__strtok_r): Likewise.
5018 2001-02-23  Ulrich Drepper  <drepper@redhat.com>
5020         * sysdeps/unix/sysv/aix/bits/types.h: Define __need_NULL before
5021         including <stddef.h>.
5022         * sysdeps/unix/sysv/aix/write.c: Define alias __libc_write.
5023         * include/libc-symbols.h (weak_alias): Don't use .weak if
5024         HAVE_ASM_GLOBAL_DOT_NAME is defined.
5025         Patches by Michael Keezer <mkeezer@redhat.com>.
5027         * sysdeps/generic/ftime.c: Don't include <sys/time.h> at all.
5028         Patch by Michael Keezer <mkeezer@redhat.com>.
5030         * sysdeps/unix/sysv/aix/Dist: Remove restf.S and savef.S.
5031         * sysdeps/unix/sysv/aix/Makefile [$(subdir) == misc]
5032         (sysdep_routines): Remove restf.S and savef.S.
5033         * sysdeps/unix/sysv/aix/restf.S: Removed.
5034         * sysdeps/unix/sysv/aix/savef.S: Removed.
5035         * sysdeps/powerpc/fprrest.S: Use C_TEXT to define label.  Also define
5036         alternative names used on some platforms.
5037         * sysdeps/powerpc/fprsave.S: Likewise.
5038         * sysdeps/powerpc/gprrest0.S: Likewise.
5039         * sysdeps/powerpc/gprrest1.S: Likewise.
5040         * sysdeps/powerpc/gprsave0.S: Likewise.
5041         * sysdeps/powerpc/gprsave1.S: Likewise.
5042         Patch by Michael Keezer <mkeezer@redhat.com>.
5044 2001-02-22  Ulrich Drepper  <drepper@redhat.com>
5046         * sysdeps/i386/elf/start.S (_fp_hw): Actually define label.
5048 2001-02-22  Andreas Jaeger  <aj@suse.de>
5050         * string/tst-strtok.c (main): Fix error messages.
5052 2001-02-22  Andreas Jaeger  <aj@suse.de>
5054         * math/Makefile: Remove omit-long-double-fcts.
5056 2001-02-18  Maciej W. Rozycki  <macro@ds2.pg.gda.pl>
5058         * sysdeps/mips/bsd-_setjmp.S (_setjmp): Reorder instructions to
5059         avoid problems on MIPS I.
5060         * sysdeps/mips/bsd-setjmp.S (setjmp): Likewise.
5062         * sysdeps/mips/dl-machine.h (RTLD_START): Remove duplicate ".set
5063         noreorder".
5065 2001-02-21  Ulrich Drepper  <drepper@redhat.com>
5067         * posix/fnmatch_loop.c: Handle ranges outside glibc correctly.
5069         * sysdeps/generic/ftime.c: Include <time.h>.
5071         * configure.in: Don't check for libgd if user passed --without-gd.
5072         Patch by Achim Gottinger <achim@gentoo.org>.
5074         * sysdeps/i386/i686/strtok.S: Continue to return NULL after the
5075         first time this happened.
5076         * string/Makefile (tests): Add tst-strtok.
5078 2001-02-21  Andreas Jaeger  <aj@suse.de>
5080         * string/tst-strtok.c: New testcase, reported by
5081         Andrew Church <achurch@achurch.org>.
5083 2001-02-20  Ulrich Drepper  <drepper@redhat.com>
5085         * libio/iofwide.c: Remove fwide alias.
5087 2001-02-20  Andreas Jaeger  <aj@suse.de>
5089         * iconvdata/Makefile (tests): Only run mtrace-tst-loading if perl
5090         is available.
5091         Reported by Achim Gottinger <achim@gentoo.org>.
5093 2001-02-19  Ulrich Drepper  <drepper@redhat.com>
5095         * iconv/tst-iconv1.c (main): Remove debugging code.
5097         * sysdeps/ieee754/flt-32/e_powf.c: Handle x == +-1 correctly.
5098         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5100         * sysdeps/generic/e_scalb.c: Set invalid exception for invalid
5101         parameters.
5102         * sysdeps/generic/e_scalbf.c: Likewise.
5103         * sysdeps/generic/e_scalbl.c: Likewise.
5105         * sysdeps/ia64/fpu/Makefile (libm-sysdep-routines): Add libm_error,
5106         libm_frexp4, libm_frexp4f, libm_frexp4l, and all the functions also
5107         in libc.
5108         (routines): Replace libm_error with libc_libm_error.
5109         * sysdeps/ia64/fpu/Dist: Add libc_libm_error.c.
5110         * sysdeps/ia64/fpu/libc_libm_error.c: New file.
5112 2001-02-18  Mark Kettenis  <kettenis@gnu.org>
5114         * malloc/mtrace.c [USE_IN_LIBIO]: Define fopen as _IO_fopen64.
5115         (mtrace): Revert 2001-02-13 patch: use fopen instead of fopen64.
5117 2001-02-17  H.J. Lu  <hjl@gnu.org>
5119         * sysdeps/unix/sysv/linux/ia64/clone2.S: Use clone2 and don't use
5120         scratch registers across the system call.
5122 2001-02-19  Andreas Jaeger  <aj@suse.de>
5124         * malloc/Makefile (tests): Run mtrace only when perl is available.
5125         Reported by Achim Gottinger <achim@gentoo.org>.
5127 2001-02-19  Ulrich Drepper  <drepper@redhat.com>
5129         * sysdeps/ieee754/ldbl-96/e_j1l.c: New file.
5130         Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>.
5132         * sysdeps/i386/fpu/libm-test-ulps: Adjust error values for j1 and y1.
5133         * sysdeps/ia64/fpu/libm-test-ulps: Adjust error values for y1.
5134         * math/libm-test.inc (j1_test): Mark constants as long double.
5135         (jn_test): Likewise.
5136         (y1_test): Likewise.
5137         (yn_test): Likewise.
5139         * libio/iogetline.c: Move return until after last statement.
5141         * localedata/show-ucs-data.c: Don't show < > for better readability.
5143         * sysdeps/ia64/fpu/Dist: New file.
5144         * sysdeps/ia64/fpu/Makefile: New file.
5145         * sysdeps/ia64/fpu/Versions: New file.
5146         * sysdeps/ia64/fpu/e_acos.S: New file.
5147         * sysdeps/ia64/fpu/e_acosf.S: New file.
5148         * sysdeps/ia64/fpu/e_acosl.S: New file.
5149         * sysdeps/ia64/fpu/e_asin.S: New file.
5150         * sysdeps/ia64/fpu/e_asinf.S: New file.
5151         * sysdeps/ia64/fpu/e_asinl.S: New file.
5152         * sysdeps/ia64/fpu/e_atan2.S: New file.
5153         * sysdeps/ia64/fpu/e_atan2f.S: New file.
5154         * sysdeps/ia64/fpu/e_atan2l.c: New file.
5155         * sysdeps/ia64/fpu/e_cosh.S: New file.
5156         * sysdeps/ia64/fpu/e_coshf.S: New file.
5157         * sysdeps/ia64/fpu/e_coshl.S: New file.
5158         * sysdeps/ia64/fpu/e_exp.S: New file.
5159         * sysdeps/ia64/fpu/e_expf.S: New file.
5160         * sysdeps/ia64/fpu/e_expl.c: New file.
5161         * sysdeps/ia64/fpu/e_fmod.S: New file.
5162         * sysdeps/ia64/fpu/e_fmodf.S: New file.
5163         * sysdeps/ia64/fpu/e_fmodl.S: New file.
5164         * sysdeps/ia64/fpu/e_hypot.S: New file.
5165         * sysdeps/ia64/fpu/e_hypotf.S: New file.
5166         * sysdeps/ia64/fpu/e_hypotl.S: New file.
5167         * sysdeps/ia64/fpu/e_log.S: New file.
5168         * sysdeps/ia64/fpu/e_log10.c: New file.
5169         * sysdeps/ia64/fpu/e_log10f.c: New file.
5170         * sysdeps/ia64/fpu/e_log10l.c: New file.
5171         * sysdeps/ia64/fpu/e_logf.S: New file.
5172         * sysdeps/ia64/fpu/e_logl.c: New file.
5173         * sysdeps/ia64/fpu/e_pow.S: New file.
5174         * sysdeps/ia64/fpu/e_powf.S: New file.
5175         * sysdeps/ia64/fpu/e_powl.S: New file.
5176         * sysdeps/ia64/fpu/e_rem_pio2.c: New file.
5177         * sysdeps/ia64/fpu/e_rem_pio2f.c: New file.
5178         * sysdeps/ia64/fpu/e_remainder.S: New file.
5179         * sysdeps/ia64/fpu/e_remainderf.S: New file.
5180         * sysdeps/ia64/fpu/e_remainderl.S: New file.
5181         * sysdeps/ia64/fpu/e_scalb.S: New file.
5182         * sysdeps/ia64/fpu/e_scalbf.S: New file.
5183         * sysdeps/ia64/fpu/e_scalbl.S: New file.
5184         * sysdeps/ia64/fpu/e_sinh.S: New file.
5185         * sysdeps/ia64/fpu/e_sinhf.S: New file.
5186         * sysdeps/ia64/fpu/e_sinhl.S: New file.
5187         * sysdeps/ia64/fpu/e_sqrt.S: New file.
5188         * sysdeps/ia64/fpu/e_sqrtf.S: New file.
5189         * sysdeps/ia64/fpu/e_sqrtl.S: New file.
5190         * sysdeps/ia64/fpu/k_rem_pio2.c: New file.
5191         * sysdeps/ia64/fpu/k_rem_pio2f.c: New file.
5192         * sysdeps/ia64/fpu/k_rem_pio2l.c: New file.
5193         * sysdeps/ia64/fpu/libm_atan2_reg.S: New file.
5194         * sysdeps/ia64/fpu/libm_error.c: New file.
5195         * sysdeps/ia64/fpu/libm_frexp4.S: New file.
5196         * sysdeps/ia64/fpu/libm_frexp4f.S: New file.
5197         * sysdeps/ia64/fpu/libm_frexp4l.S: New file.
5198         * sysdeps/ia64/fpu/libm_reduce.S: New file.
5199         * sysdeps/ia64/fpu/libm_support.h: New file.
5200         * sysdeps/ia64/fpu/libm_tan.S: New file.
5201         * sysdeps/ia64/fpu/s_atan.S: New file.
5202         * sysdeps/ia64/fpu/s_atanf.S: New file.
5203         * sysdeps/ia64/fpu/s_atanl.S: New file.
5204         * sysdeps/ia64/fpu/s_cbrt.S: New file.
5205         * sysdeps/ia64/fpu/s_cbrtf.S: New file.
5206         * sysdeps/ia64/fpu/s_cbrtl.S: New file.
5207         * sysdeps/ia64/fpu/s_ceil.S: New file.
5208         * sysdeps/ia64/fpu/s_ceilf.S: New file.
5209         * sysdeps/ia64/fpu/s_ceill.S: New file.
5210         * sysdeps/ia64/fpu/s_cos.S: New file.
5211         * sysdeps/ia64/fpu/s_cosf.S: New file.
5212         * sysdeps/ia64/fpu/s_cosl.S: New file.
5213         * sysdeps/ia64/fpu/s_expm1.S: New file.
5214         * sysdeps/ia64/fpu/s_expm1f.S: New file.
5215         * sysdeps/ia64/fpu/s_expm1l.S: New file.
5216         * sysdeps/ia64/fpu/s_floor.S: New file.
5217         * sysdeps/ia64/fpu/s_floorf.S: New file.
5218         * sysdeps/ia64/fpu/s_floorl.S: New file.
5219         * sysdeps/ia64/fpu/s_frexp.c: New file.
5220         * sysdeps/ia64/fpu/s_frexpf.c: New file.
5221         * sysdeps/ia64/fpu/s_frexpl.c: New file.
5222         * sysdeps/ia64/fpu/s_ilogb.S: New file.
5223         * sysdeps/ia64/fpu/s_ilogbf.S: New file.
5224         * sysdeps/ia64/fpu/s_ilogbl.S: New file.
5225         * sysdeps/ia64/fpu/s_ldexp.S: New file.
5226         * sysdeps/ia64/fpu/s_ldexpf.S: New file.
5227         * sysdeps/ia64/fpu/s_ldexpl.S: New file.
5228         * sysdeps/ia64/fpu/s_log1p.S: New file.
5229         * sysdeps/ia64/fpu/s_log1pf.S: New file.
5230         * sysdeps/ia64/fpu/s_log1pl.S: New file.
5231         * sysdeps/ia64/fpu/s_logb.S: New file.
5232         * sysdeps/ia64/fpu/s_logbf.S: New file.
5233         * sysdeps/ia64/fpu/s_logbl.S: New file.
5234         * sysdeps/ia64/fpu/s_matherrf.c: New file.
5235         * sysdeps/ia64/fpu/s_matherrl.c: New file.
5236         * sysdeps/ia64/fpu/s_modf.S: New file.
5237         * sysdeps/ia64/fpu/s_modff.S: New file.
5238         * sysdeps/ia64/fpu/s_modfl.S: New file.
5239         * sysdeps/ia64/fpu/s_nearbyint.S: New file.
5240         * sysdeps/ia64/fpu/s_nearbyintf.S: New file.
5241         * sysdeps/ia64/fpu/s_nearbyintl.S: New file.
5242         * sysdeps/ia64/fpu/s_rint.S: New file.
5243         * sysdeps/ia64/fpu/s_rintf.S: New file.
5244         * sysdeps/ia64/fpu/s_rintl.S: New file.
5245         * sysdeps/ia64/fpu/s_round.S: New file.
5246         * sysdeps/ia64/fpu/s_roundf.S: New file.
5247         * sysdeps/ia64/fpu/s_roundl.S: New file.
5248         * sysdeps/ia64/fpu/s_scalbn.S: New file.
5249         * sysdeps/ia64/fpu/s_scalbnf.S: New file.
5250         * sysdeps/ia64/fpu/s_scalbnl.S: New file.
5251         * sysdeps/ia64/fpu/s_significand.S: New file.
5252         * sysdeps/ia64/fpu/s_significandf.S: New file.
5253         * sysdeps/ia64/fpu/s_significandl.S: New file.
5254         * sysdeps/ia64/fpu/s_sin.c: New file.
5255         * sysdeps/ia64/fpu/s_sincos.c: New file.
5256         * sysdeps/ia64/fpu/s_sincosf.c: New file.
5257         * sysdeps/ia64/fpu/s_sincosl.c: New file.
5258         * sysdeps/ia64/fpu/s_sinf.c: New file.
5259         * sysdeps/ia64/fpu/s_sinl.c: New file.
5260         * sysdeps/ia64/fpu/s_tan.S: New file.
5261         * sysdeps/ia64/fpu/s_tanf.S: New file.
5262         * sysdeps/ia64/fpu/s_tanl.S: New file.
5263         * sysdeps/ia64/fpu/s_trunc.S: New file.
5264         * sysdeps/ia64/fpu/s_truncf.S: New file.
5265         * sysdeps/ia64/fpu/s_truncl.S: New file.
5266         * sysdeps/ia64/fpu/w_acos.c: New file.
5267         * sysdeps/ia64/fpu/w_acosf.c: New file.
5268         * sysdeps/ia64/fpu/w_acosl.c: New file.
5269         * sysdeps/ia64/fpu/w_asin.c: New file.
5270         * sysdeps/ia64/fpu/w_asinf.c: New file.
5271         * sysdeps/ia64/fpu/w_asinl.c: New file.
5272         * sysdeps/ia64/fpu/w_atan2.c: New file.
5273         * sysdeps/ia64/fpu/w_atan2f.c: New file.
5274         * sysdeps/ia64/fpu/w_atan2l.c: New file.
5275         * sysdeps/ia64/fpu/w_cosh.c: New file.
5276         * sysdeps/ia64/fpu/w_coshf.c: New file.
5277         * sysdeps/ia64/fpu/w_coshl.c: New file.
5278         * sysdeps/ia64/fpu/w_exp.c: New file.
5279         * sysdeps/ia64/fpu/w_expf.c: New file.
5280         * sysdeps/ia64/fpu/w_fmod.c: New file.
5281         * sysdeps/ia64/fpu/w_fmodf.c: New file.
5282         * sysdeps/ia64/fpu/w_fmodl.c: New file.
5283         * sysdeps/ia64/fpu/w_hypot.c: New file.
5284         * sysdeps/ia64/fpu/w_hypotf.c: New file.
5285         * sysdeps/ia64/fpu/w_hypotl.c: New file.
5286         * sysdeps/ia64/fpu/w_log.c: New file.
5287         * sysdeps/ia64/fpu/w_log10.c: New file.
5288         * sysdeps/ia64/fpu/w_log10f.c: New file.
5289         * sysdeps/ia64/fpu/w_log10l.c: New file.
5290         * sysdeps/ia64/fpu/w_logf.c: New file.
5291         * sysdeps/ia64/fpu/w_logl.c: New file.
5292         * sysdeps/ia64/fpu/w_pow.c: New file.
5293         * sysdeps/ia64/fpu/w_powf.c: New file.
5294         * sysdeps/ia64/fpu/w_powl.c: New file.
5295         * sysdeps/ia64/fpu/w_remainder.c: New file.
5296         * sysdeps/ia64/fpu/w_remainderf.c: New file.
5297         * sysdeps/ia64/fpu/w_remainderl.c: New file.
5298         * sysdeps/ia64/fpu/w_scalb.c: New file.
5299         * sysdeps/ia64/fpu/w_scalbf.c: New file.
5300         * sysdeps/ia64/fpu/w_scalbl.c: New file.
5301         * sysdeps/ia64/fpu/w_sqrt.c: New file.
5302         * sysdeps/ia64/fpu/w_sqrtf.c: New file.
5303         * sysdeps/ia64/fpu/w_sqrtl.c: New file.
5304         * sysdeps/ia64/fpu/libm-test-ulps: Adjust for long double
5305         implementation.
5306         * sysdeps/ia64/fpu/bits/mathdef.h: Correct float_t and double_t types.
5307         Change FP_ILOGBNAN for new implementation.
5308         * Verions.def: Add 2.2.3 versions.
5310 2001-02-18  Ulrich Drepper  <drepper@redhat.com>
5312         * math/libm-test.inc (scalb_test): Require invalid exception being
5313         raised for invalid parameters.
5314         * sysdeps/i386/fpu/e_scalb.S: Raise invalid exception if necessary.
5315         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
5316         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
5318 2001-02-18  Mark Kettenis  <kettenis@gnu.org>
5320         * sysdeps/mach/getsysstats.c (__get_phys_pages): Change return
5321         value to long int.
5322         (__get_avphys_pages): Likewise.
5324 2001-02-18  Ulrich Drepper  <drepper@redhat.com>
5326         * math/libm-test.inc (pow_test): Correct expected results for x == +-1.
5327         * sysdeps/i386/fpu/e_pow.S: Handle x == +-1 correctly.
5328         * sysdeps/i386/fpu/e_powf.S: Likewise.
5329         * sysdeps/i386/fpu/e_powl.S: Likewise.
5331         * sysdeps/i386/fpu/bits/mathinline.h: Remove pow inline code.
5333 2001-02-17  Ulrich Drepper  <drepper@redhat.com>
5335         * math/Makefile (libm-calls): It's e_exp2 not s_exp2.
5337         * sysdeps/generic/s_exp2l.c: Renamed to...
5338         * sysdeps/generic/e_exp2l.c: ...this.   New file.
5339         * sysdeps/i386/fpu/s_exp2.S: Renamed to...
5340         * sysdeps/i386/fpu/e_exp2.S: ...this.   New file.
5341         * sysdeps/i386/fpu/s_exp2f.S: Renamed to...
5342         * sysdeps/i386/fpu/e_exp2f.S: ...this.   New file.
5343         * sysdeps/i386/fpu/s_exp2l.S: Renamed to...
5344         * sysdeps/i386/fpu/e_exp2l.S: ...this.   New file.
5345         * sysdeps/ieee754/flt-32/s_exp2f.c: Renamed to...
5346         * sysdeps/ieee754/flt-32/e_exp2f.c: ...this.   New file.
5347         * sysdeps/ieee754/dbl-64/s_exp2.c: Renamed to...
5348         * sysdeps/ieee754/dbl-64/e_exp2.c: ...this.   New file.
5349         * sysdeps/m68k/fpu/s_exp2.c: Renamed to...
5350         * sysdeps/m68k/fpu/e_exp2.c: ...this.   New file.
5351         * sysdeps/m68k/fpu/s_exp2f.c: Renamed to...
5352         * sysdeps/m68k/fpu/e_exp2f.c: ...this.   New file.
5353         * sysdeps/m68k/fpu/s_exp2l.c: Renamed to...
5354         * sysdeps/m68k/fpu/e_exp2l.c: ...this.   New file.
5356 2001-02-17  Andreas Jaeger  <aj@suse.de>
5358         * configure.in: Allow gcc 3.
5360 2001-02-16  Ulrich Drepper  <drepper@redhat.com>
5362         * math/w_acos.c: Move to ...
5363         * sysdeps/generic/w_acos.c: ...here.  New file.
5364         * math/w_acosf.c: Move to ...
5365         * sysdeps/generic/w_acosf.c: ...here.  New file.
5366         * math/w_acosh.c: Move to ...
5367         * sysdeps/generic/w_acosh.c: ...here.  New file.
5368         * math/w_acoshf.c: Move to ...
5369         * sysdeps/generic/w_acoshf.c: ...here.  New file.
5370         * math/w_acoshl.c: Move to ...
5371         * sysdeps/generic/w_acoshl.c: ...here.  New file.
5372         * math/w_acosl.c: Move to ...
5373         * sysdeps/generic/w_acosl.c: ...here.  New file.
5374         * math/w_asin.c: Move to ...
5375         * sysdeps/generic/w_asin.c: ...here.  New file.
5376         * math/w_asinf.c: Move to ...
5377         * sysdeps/generic/w_asinf.c: ...here.  New file.
5378         * math/w_asinl.c: Move to ...
5379         * sysdeps/generic/w_asinl.c: ...here.  New file.
5380         * math/w_atan2.c: Move to ...
5381         * sysdeps/generic/w_atan2.c: ...here.  New file.
5382         * math/w_atan2f.c: Move to ...
5383         * sysdeps/generic/w_atan2f.c: ...here.  New file.
5384         * math/w_atan2l.c: Move to ...
5385         * sysdeps/generic/w_atan2l.c: ...here.  New file.
5386         * math/w_atanh.c: Move to ...
5387         * sysdeps/generic/w_atanh.c: ...here.  New file.
5388         * math/w_atanhf.c: Move to ...
5389         * sysdeps/generic/w_atanhf.c: ...here.  New file.
5390         * math/w_atanhl.c: Move to ...
5391         * sysdeps/generic/w_atanhl.c: ...here.  New file.
5392         * math/w_cosh.c: Move to ...
5393         * sysdeps/generic/w_cosh.c: ...here.  New file.
5394         * math/w_coshf.c: Move to ...
5395         * sysdeps/generic/w_coshf.c: ...here.  New file.
5396         * math/w_coshl.c: Move to ...
5397         * sysdeps/generic/w_coshl.c: ...here.  New file.
5398         * math/w_drem.c: Move to ...
5399         * sysdeps/generic/w_drem.c: ...here.  New file.
5400         * math/w_dremf.c: Move to ...
5401         * sysdeps/generic/w_dremf.c: ...here.  New file.
5402         * math/w_dreml.c: Move to ...
5403         * sysdeps/generic/w_dreml.c: ...here.  New file.
5404         * math/w_exp10.c: Move to ...
5405         * sysdeps/generic/w_exp10.c: ...here.  New file.
5406         * math/w_exp10f.c: Move to ...
5407         * sysdeps/generic/w_exp10f.c: ...here.  New file.
5408         * math/w_exp10l.c: Move to ...
5409         * sysdeps/generic/w_exp10l.c: ...here.  New file.
5410         * math/w_exp2.c: Move to ...
5411         * sysdeps/generic/w_exp2.c: ...here.  New file.
5412         * math/w_exp2f.c: Move to ...
5413         * sysdeps/generic/w_exp2f.c: ...here.  New file.
5414         * math/w_exp2l.c: Move to ...
5415         * sysdeps/generic/w_exp2l.c: ...here.  New file.
5416         * math/w_fmod.c: Move to ...
5417         * sysdeps/generic/w_fmod.c: ...here.  New file.
5418         * math/w_fmodf.c: Move to ...
5419         * sysdeps/generic/w_fmodf.c: ...here.  New file.
5420         * math/w_fmodl.c: Move to ...
5421         * sysdeps/generic/w_fmodl.c: ...here.  New file.
5422         * math/w_hypot.c: Move to ...
5423         * sysdeps/generic/w_hypot.c: ...here.  New file.
5424         * math/w_hypotf.c: Move to ...
5425         * sysdeps/generic/w_hypotf.c: ...here.  New file.
5426         * math/w_hypotl.c: Move to ...
5427         * sysdeps/generic/w_hypotl.c: ...here.  New file.
5428         * math/w_j0.c: Move to ...
5429         * sysdeps/generic/w_j0.c: ...here.  New file.
5430         * math/w_j0f.c: Move to ...
5431         * sysdeps/generic/w_j0f.c: ...here.  New file.
5432         * math/w_j0l.c: Move to ...
5433         * sysdeps/generic/w_j0l.c: ...here.  New file.
5434         * math/w_j1.c: Move to ...
5435         * sysdeps/generic/w_j1.c: ...here.  New file.
5436         * math/w_j1f.c: Move to ...
5437         * sysdeps/generic/w_j1f.c: ...here.  New file.
5438         * math/w_j1l.c: Move to ...
5439         * sysdeps/generic/w_j1l.c: ...here.  New file.
5440         * math/w_jn.c: Move to ...
5441         * sysdeps/generic/w_jn.c: ...here.  New file.
5442         * math/w_jnf.c: Move to ...
5443         * sysdeps/generic/w_jnf.c: ...here.  New file.
5444         * math/w_jnl.c: Move to ...
5445         * sysdeps/generic/w_jnl.c: ...here.  New file.
5446         * math/w_lgamma.c: Move to ...
5447         * sysdeps/generic/w_lgamma.c: ...here.  New file.
5448         * math/w_lgammaf.c: Move to ...
5449         * sysdeps/generic/w_lgammaf.c: ...here.  New file.
5450         * math/w_lgammaf_r.c: Move to ...
5451         * sysdeps/generic/w_lgammaf_r.c: ...here.  New file.
5452         * math/w_lgammal.c: Move to ...
5453         * sysdeps/generic/w_lgammal.c: ...here.  New file.
5454         * math/w_lgammal_r.c: Move to ...
5455         * sysdeps/generic/w_lgammal_r.c: ...here.  New file.
5456         * math/w_lgamma_r.c: Move to ...
5457         * sysdeps/generic/w_lgamma_r.c: ...here.  New file.
5458         * math/w_log10.c: Move to ...
5459         * sysdeps/generic/w_log10.c: ...here.  New file.
5460         * math/w_log10f.c: Move to ...
5461         * sysdeps/generic/w_log10f.c: ...here.  New file.
5462         * math/w_log10l.c: Move to ...
5463         * sysdeps/generic/w_log10l.c: ...here.  New file.
5464         * math/w_log.c: Move to ...
5465         * sysdeps/generic/w_log.c: ...here.  New file.
5466         * math/w_logf.c: Move to ...
5467         * sysdeps/generic/w_logf.c: ...here.  New file.
5468         * math/w_logl.c: Move to ...
5469         * sysdeps/generic/w_logl.c: ...here.  New file.
5470         * math/w_pow.c: Move to ...
5471         * sysdeps/generic/w_pow.c: ...here.  New file.
5472         * math/w_powf.c: Move to ...
5473         * sysdeps/generic/w_powf.c: ...here.  New file.
5474         * math/w_powl.c: Move to ...
5475         * sysdeps/generic/w_powl.c: ...here.  New file.
5476         * math/w_remainder.c: Move to ...
5477         * sysdeps/generic/w_remainder.c: ...here.  New file.
5478         * math/w_remainderf.c: Move to ...
5479         * sysdeps/generic/w_remainderf.c: ...here.  New file.
5480         * math/w_remainderl.c: Move to ...
5481         * sysdeps/generic/w_remainderl.c: ...here.  New file.
5482         * math/w_scalb.c: Move to ...
5483         * sysdeps/generic/w_scalb.c: ...here.  New file.
5484         * math/w_scalbf.c: Move to ...
5485         * sysdeps/generic/w_scalbf.c: ...here.  New file.
5486         * math/w_scalbl.c: Move to ...
5487         * sysdeps/generic/w_scalbl.c: ...here.  New file.
5488         * math/w_sinh.c: Move to ...
5489         * sysdeps/generic/w_sinh.c: ...here.  New file.
5490         * math/w_sinhf.c: Move to ...
5491         * sysdeps/generic/w_sinhf.c: ...here.  New file.
5492         * math/w_sinhl.c: Move to ...
5493         * sysdeps/generic/w_sinhl.c: ...here.  New file.
5494         * math/w_sqrtl.c: Move to ...
5495         * sysdeps/generic/w_sqrtl.c: ...here.  New file.
5496         * math/w_tgamma.c: Move to ...
5497         * sysdeps/generic/w_tgamma.c: ...here.  New file.
5498         * math/w_tgammaf.c: Move to ...
5499         * sysdeps/generic/w_tgammaf.c: ...here.  New file.
5500         * math/w_tgammal.c: Move to ...
5501         * sysdeps/generic/w_tgammal.c: ...here.  New file.
5503         * locale/programs/ld-address.c (address_finish): Add 'S' to allow
5504         formats for postal_fmt.
5506 2001-02-16  Jakub Jelinek  <jakub@redhat.com>
5508         * sysdeps/unix/sysv/linux/alpha/syscalls.list (ftruncate): Add
5509         __ftruncate64 alias.
5510         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (ftruncate):
5511         Likewise.
5513 2001-02-15  David Mosberger  <davidm@hpl.hp.com>
5515         * sysdeps/unix/sysv/linux/ia64/__longjmp.S (__longjmp): No need to
5516         do "loadrs".  Writing to bspstore already takes care of
5517         invalidating the "clean" partition.
5519 2001-02-16  Andreas Schwab  <schwab@suse.de>
5521         * sysdeps/m68k/fpu/s_nextafterl.c: New file.
5522         * sysdeps/m68k/fpu/s_fpclassifyl.c: New file.
5524 2001-02-15  Jakub Jelinek  <jakub@redhat.com>
5526         * posix/regex.c (init_syntax_once): Add prototype.
5527         (TRANSLATE): If MBS_SUPPORT, translate all characters up to '\xff'.
5528         (re_search_2): Avoid warning.
5529         (count_mbs_length): Add prototype.
5530         * posix/tst-regex3.c: New file.
5531         * posix/Makefile (tests): Add bug-regex3.
5533 2001-02-15  Ulrich Drepper  <drepper@redhat.com>
5535         * stdio-common/Makefile (tests): Add tst-gets.
5536         * stdio-common/tst-gets.c: New file.
5537         * stdio-common/tst-gets.input: New file.
5539         * elf/elf.h (DT_CHECKSUM): Define.
5541         * sysdeps/generic/strtoll.c: Don't export __strto*_internal as
5542         default symbol.
5543         * sysdeps/generic/strtoull.c: Likewise.
5545 2001-02-14  Wolfram Gloger  <wg@malloc.de>
5547         * malloc/malloc.c (new_heap): When allocating large chunk aligned
5548         to HEAP_MAX_SIZE, prefer one with lower address, to avoid `holes'
5549         between the heaps.
5551 2001-02-14  Ulrich Drepper  <drepper@redhat.com>
5553         * math/libm-test.inc (j0_test): Check whether sincos is available.
5554         (j1_test): Likewise.
5555         (jn_test): Likewise.
5556         (y0_test): Likewise.
5557         (y1_test): Likewise.
5558         (yn_test): Likewise.
5560         * posix/tst-gnuglob.c: Make a few entries DT_UNKNOWN and teach
5561         fake filesystem routines to handle this.
5563         * time/sys/time.h: Make settimeofday and adjtime available if
5564         _BSD_SOURCE.
5566         * time/sys/time.h: Make timer* macros available for BSD.
5568         * iconvdata/gb18030.c: Update for Dec 2000 re-release of GB18030.
5569         Patch by Yong Li <rigel863@yahoo.com>.
5571         * sysdeps/generic/glob.c (CONVERT_DIRENT_DIRENT64): Fix copying of
5572         name.
5574         * posix/Makefile (tests): Add tst-gnuglob.
5575         * posix/tst-gnuglob.c: New file.
5577 2001-02-13  H.J. Lu  <hjl@gnu.org>
5579         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add __ftruncate64.
5581 2001-02-13  Ulrich Drepper  <drepper@redhat.com>
5583         * locale/programs/ld-paper.c (paper_output): Pretty printing.
5585         * iconvdata/Makefile (modules): Add GBBIG5.
5586         (distribute): Add gbbig5.c.
5587         * iconvdata/gconv-modules: Add entries for GBBIG5 module.
5589         * iconvdata/gbbig5.c: New file.
5590         Contributed by Yong Li <rigel863@yahoo.com>.
5592 2001-02-13  Philip Blundell  <pb@futuretv.com>
5594         * manual/crypt.texi: Remove outdated references to crypt add-on.
5596         * manual/creature.texi: Improve wording slightly.
5598 2001-02-13  Ulrich Drepper  <drepper@redhat.com>
5600         * io/ftw.c: Always use readdir64.
5601         * io/ftw64.c: Likewise.
5602         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
5603         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
5604         * sysdeps/generic/glob.c: Likewise.  Convert results of gl_readdir
5605         callback to dirent.  Still allow compiling outside glibc.
5606         * sysdeps/gnu/glob64.c: Define COMPILE_GLOB64.
5607         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
5609         * malloc/mtrace.c: Use fopen64.
5610         * posix/spawni.c: Use __open64.
5611         * sysdeps/unix/opendir.c: Likewise.
5612         * sysdeps/unix/sysv/linux/gethostid.c: Likewise.
5614         * sysdeps/generic/ftruncate64.c: Define __ftruncate64 and make old
5615         name a weak alias.
5616         * sysdeps/unix/sysv/aix/ftruncate64.c: Likewise.
5617         * sysdeps/unix/sysv/linux/ftruncate64.c: Likewise.
5618         * sysdeps/unix/sysv/linux/mips/ftruncate64.c: Likewise.
5619         * sysdeps/unix/sysv/linux/powerpc/ftruncate64.c: Likewise.
5621         * resolv/res_data.c: Add cast to avoid warning.
5623         * include/unistd.h: Declare __ftruncate64.
5625         * sysdeps/generic/utmp_file.c: Use LFS functions and types.
5627         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use __lseek64
5628         instead of __lseek.
5630 2001-02-13  Andreas Jaeger  <aj@suse.de>
5632         * login/getutent_r.c: Include <stdlib.h> for NULL.
5633         * login/getutid_r.c: Likewise.
5635 2001-02-12  Ulrich Drepper  <drepper@redhat.com>
5637         * sysdeps/dbl-64/e_j0.c: Little optimization, use sincos.
5638         * sysdeps/dbl-64/e_j1.c: Likewise.
5639         * sysdeps/dbl-64/e_jn.c: Likewise.
5640         * sysdeps/flt-32/e_j0f.c: Likewise.
5641         * sysdeps/flt-32/e_j1f.c: Likewise.
5642         * sysdeps/ldbl-96/e_j0l.c: Likewise.
5644 2000-12-02  H.J. Lu  <hjl@gnu.org>
5646         * resolv/res_libc.c (res_init): Don't make it default.
5648 2001-02-12  Ulrich Drepper  <drepper@redhat.com>
5650         * manual/debug.texi: Improved the wording.
5651         Patch by Philip Blundell <pb@futuretv.com>.
5653 2001-02-12  Andreas Jaeger  <aj@suse.de>
5655         * posix/Makefile (tests): Don't run bug-regex2 when
5656         cross-compiling.
5658         * libio/Makefile (tests): Don't run test-freopen when
5659         cross-compiling.
5661         * manual/stdio.texi (Streams and I18N): Fix typos.
5663 2001-02-12  Ulrich Drepper  <drepper@redhat.com>
5665         * sysdeps/i386/fpu/libm-test-ulps: Adjust for errors in y0l.
5667         * math/libm-test.inc (j0_test): Make expected results long double
5668         constants.
5669         (y0_test): Likewise.
5671         * sysdeps/ieee754/ldbl-96/e_j0l.c: New file.
5672         Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>.
5674 2001-02-11  Jakub Jelinek  <jakub@redhat.com>
5676         * sysdeps/generic/strtoll.c (__strtoq_internal): Ressurect alias
5677         which was exported from libc.
5678         * sysdeps/generic/strtoull.c (__strtouq_internal): Likewise.
5680 2001-02-12  Andreas Jaeger  <aj@suse.de>
5682         * manual/arith.texi (Parsing of Integers): Fix some wordings.
5684 2001-02-11  Ulrich Drepper  <drepper@redhat.com>
5686         * sysdeps/generic/getsysstat.c: Change return value of get_phys_pages
5687         and get_avphys_page to long int.
5688         * sysdeps/unix/sysv/linux/getsysstat.c: Likewise.
5689         * include/sys/sysinfo.h: Likewise.
5690         * sysdeps/generic/sys/sysinfo.h: Likewise.
5691         * sysdeps/unix/sysv/linux/sys/sysinfo.h: Likewise.
5693         * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Fail if we
5694         cannot return as many values as the user asked for.
5696 2001-02-11  Andreas Jaeger  <aj@suse.de>
5698         * manual/resource.texi (Memory Resources): Fix typo.
5700         * libio/Makefile ($(objpfx)test-freopen.out): Pass
5701         run-program-prefix.
5703         * libio/test-freopen.sh: Use run_program_prefix.
5705 2001-02-10  Andreas Jaeger  <aj@suse.de>
5707         * stdlib/Makefile (tests): Don't run tst-fmtmsg when
5708         cross-compiling.
5709         ($(objpfx)tst-fmtmsg.out): Pass run-program-prefix.
5711         * stdlib/tst-fmtmsg.sh (test): Use run_program_prefix for static
5712         only builds.
5714         * elf/Makefile (tests): Only run tst-pathopt with shared libs.
5716         * posix/Makefile: Fix typo, it's build-static-nss.
5718         * iconv/Makefile (extra-objs): New.
5720 2001-02-10  Mark Kettenis  <kettenis@gnu.org>
5722         * sysdeps/unix/stime.c: Include <time.h>.
5724         * sysdeps/mach/hurd/setitimer.c: Include <time.h>.
5726 2001-02-10  Andreas Jaeger  <aj@suse.de>
5728         * manual/string.texi (Search Functions): Fix typo.
5730 2001-02-10  Mark Kettenis  <kettenis@gnu.org>
5732         * sysdeps/unix/bsd/times.c: Reorder includes and add <time.h>.
5733         (timeval_to_clock_t): Add clk_tck argument and use that instead of
5734         CLK_TCK.
5735         (__times): Use __getclktck to get the number of clock ticks per
5736         second and use its return value instead of CLK_TCK.
5738 2001-02-10  Mark Kettenis  <kettenis@gnu.org>
5740         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h (_HAVE_SA_LEN): Define.
5742 2001-02-10  Mark Kettenis  <kettenis@gnu.org>
5744         * sysdeps/mach/gettimeofday.c: Include <stddef.h>.
5746 2001-02-10  Andreas Jaeger  <aj@suse.de>
5748         * wctype/wcfuncs.c (func): Add prototype declarations to avoid
5749         warning.
5751 2001-02-09  Ulrich Drepper  <drepper@redhat.com>
5753         * posix/Makefile: Add rules to build and run bug-regex2.
5754         * posix/bug-regex2.c: New file.
5756 2001-02-10  Jakub Jelinek  <jakub@redhat.com>
5758         * posix/regex.c (convert_mbs_to_wcs): Change is_binary to char *.
5759         (regex_compile): Likewise.
5760         (FREE_VARIABLES): Don't free is_binary1 and is_binary2.
5761         (re_match_2_internal): Use just is_binary instead of two variables.
5762         Use REGEX_TALLOC to allocate it and FREE_VAR to free on failure.
5764 2001-02-09  Ulrich Drepper  <drepper@redhat.com>
5766         * version.h (VERSION): Bump to 2.2.2.
5768         * iconv/Makefile (distribute): Add iconv_charmap.c and
5769         dummy-repertoire.c.
5770         * elf/Makefile (distribute): Add firstobj.c.
5771         * Makefile (distribute): Add include/pthread.h.
5773         * configure.in: Require makeinfo version 4.
5775         * libio/tst_wscanf.c (main): Add cast to avoid warning.
5776         * libio/tst_swscanf.c (main): Likewise..
5778 2001-02-09  Jakub Jelinek  <jakub@redhat.com>
5780         * sysdeps/generic/setenv.c (unsetenv): Remove const from len.
5781         * sysdeps/sparc/fpu/bits/mathinline.h (sqrt, fdim): Don't define if
5782         __NO_MATH_INLINES.
5783         * sysdeps/i386/dl-machine.h (elf_machine_rel): Only declare refsym
5784         if not RTLD_BOOTSTRAP.
5785         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
5786         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
5788 2001-02-09  Ulrich Drepper  <drepper@redhat.com>
5790         * locale/programs/linereader.c (get_ident): Stop loop if EOF.  Use
5791         lr_ungetc to push back last read character.
5792         * locale/programs/linereader.h (lr_ungetc): Don't push back is
5793         character is EOF.
5794         (lr_ignore_rest): Don't warn about garbage if it is really the end
5795         of the file.
5797         * manual/Makefile: Use ifnottext and not ifinfo to protect Top node
5798         definition.
5800 2001-02-08  Ulrich Drepper  <drepper@redhat.com>
5802         * Makerules (build-shlib): Work around different order of
5803         processing of -B option in different gcc versions.
5805         * posix/regex.c: Fix alignment problem.
5806         Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
5808         * sysdeps/alpha/strrchr.S: Little optimization.
5809         Patch by Richard Henderson <rth@redhat.com>.
5811         * sysdeps/alpha/alphaev67/strrchr.S: New file.
5812         Contributed by Rick Gorton <rick.gorton@alpha-processor.com>.
5814 2001-02-08  kaz Kojima  <kkojima@rr.iij4u.or.jp>
5816         * sysdeps/sh/sh3/setjmp.S (__sigsetjmp): Correct function name
5817         in the assembler end directive.
5819 2001-02-08  Andreas Jaeger  <aj@suse.de>
5821         * manual/stdio.texi (Closing Streams): Fix typos.
5823 2001-02-07  Ulrich Drepper  <drepper@redhat.com>
5825         * sysdeps/alpha/alphaev67/strncat.S: Align last write address.
5826         Patch by Richard Henderson <rth@redhat.com>.
5827         Reported by Claus-Justus Heine <heine@instmath.rwth-aachen.de>.
5829         * stdlib/strfmon.c [USE_IN_LIBIO]: Define lock variable and store
5830         pointer in FILE structure before calling _IO_init.
5831         * stdlib/Makefile: Add -D_IO_MTSAFE_IO to CFLAGS for strfmon and
5832         strfmon_l if necessary.
5833         Reported by Jury Gerold <gjury@grips.com>.
5835         * sysdeps/gnu/netinet/tcp.h: Correct values of TCP_ macros.
5836         Patch by Pekka.Pietikainen@cern.ch.
5838         * posix/regex.c: Correct several problems with 64-bit architectures
5839         introduced in the MBS changes.
5840         Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
5842 2001-02-07  Jakub Jelinek  <jakub@redhat.com>
5844         * math/tgmath.h: Only add l suffixes if __NO_LONG_DOUBLE_MATH is
5845         not defined.
5846         * sysdeps/alpha/fpu/bits/mathinline.h: Honour __NO_MATH_INLINES.
5848 2001-02-07  Andreas Jaeger  <aj@suse.de>
5850         * manual/install.texi (Tools for Compilation): Fix typo.
5851         Reported by Pavel Machek <pavel@bug.ucw.cz>.
5853 2001-02-07  Ulrich Drepper  <drepper@redhat.com>
5855         * stdlib/strtod.c: Never stop prematurely reading digits before the
5856         decimal point is found.  Compute exponent limit for negative exponents
5857         correctly.  For numbers ending in all zeros eat the zeros even before
5858         the decimal point if the exponent is negative [PR libc/2072].
5859         * stdlib/Makefile (tests): Add bug-strtod.
5860         * stdlib/bug-strtod.c: New file.
5862 2001-02-07  Andreas Jaeger  <aj@suse.de>
5864         * posix/bug-regex1.c: Include <wchar.h> for fwide.
5866 2001-02-06  Ulrich Drepper  <drepper@redhat.com>
5868         * posix/regex.c (regex_compile): Don't store pointer in wchar_t array.
5869         Store index.
5870         (compile_range): Handle index being passed, not pointer.
5871         Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
5873         * posix/regex.c: Fix a cast in the code for bracket handling which
5874         caused 8-bit uncleanliness.
5875         Patch by Michal Jaegermann <michal@ellpspace.math.ualberta.ca>.
5877         * posix/Makefile (tests): Add bug-regex1.
5878         * posix/bug-regex1.c: New file.
5879         Contributed by Jim Meyering <jim@meyering.net>.
5881         * posix/regex.c: Many cleanups for incorrect format strings.
5883 2001-02-06  Andreas Jaeger  <aj@suse.de>
5885         * time/time.h (CLK_TCK): Check for !__STRICT_ANSI.
5887 2001-02-06  Ulrich Drepper  <drepper@redhat.com>
5889         * locale/programs/locale.c (write_locales): Use scandir to read
5890         directory so that the entries are sorted.
5892 2001-02-06  Andreas Jaeger  <aj@suse.de>
5894         * include/pthread.h: New file.
5896         * wctype/wctype.h: Move internal interfaces from here to...
5897         * include/wctype.h: ...here.
5899         * wcsmbs/wchar.h: Move __wcslen from here to...
5900         * include/wchar.h: ...here.
5902         * posix/sys/wait.h: Move __wait from here to...
5903         * include/sys/wait.h: ...here.
5905         * string/string.h: Move __ffs and __strerror_r from here to...
5906         * include/string.h: ...here.
5908         * stdlib/stdlib.h: Move __on_exit from here to...
5909         * include/stdlib.h: ...here.
5911         * libio/stdio.h: Move __vsnprintf from here to...
5912         * include/stdio.h: ...here.
5914 2001-02-06  Andreas Schwab  <schwab@suse.de>
5916         * sysdeps/unix/sysv/linux/ia64/ioperm.c: Don't include kernel
5917         headers.
5919         * timezone/Makefile: Don't assume that $(inst_zonedir) is a subdir
5920         of $(inst_datadir).
5922 2001-02-06  Ulrich Drepper  <drepper@redhat.com>
5924         * iconvdata/Makefile: Add dependency for bug-iconv2.out.
5926 2001-02-06  Andreas Jaeger  <aj@suse.de>
5928         * elf/firstobj.c: Add prototype.
5930         * posix/regex.c (convert_mbs_to_wcs): Make static, add prototype
5931         (truncate_wchar): Likewise.
5933 2001-02-06  Ulrich Drepper  <drepper@redhat.com>
5935         * locale/programs/locale.c: Implement --verbose option for -a
5936         which prints detailed information about the locales.
5938 2001-02-05  Ulrich Drepper  <drepper@redhat.com>
5940         * sunrpc/xdr_rec.c (set_input_fragment): Change type of header
5941         variable to uint32_t.
5942         Reported by Ulrich Weigand <weigand@immd1.informatik.uni-erlangen.de>.
5944 2001-02-04  Bruno Haible  <haible@clisp.cons.org>
5946         * locale/C-translit.h.in: Add transliterations for CJK units of
5947         measurement.
5949 2001-02-05  Ulrich Drepper  <drepper@redhat.com>
5951         * elf/cache.c (print_entry): Use PRIx64 instead of Lx in printf
5952         string.  Include <inttypes.h> instead of <stdint.h>.
5954         * localedata/Makefile (tests): Add bug-iconv-trans.
5955         Define bug-iconv-trans-ENV.
5956         * localedata/bug-iconv-trans.c: New file.
5958 2001-02-04  Bruno Haible  <haible@clisp.cons.org>
5960         * iconv/gconv_trans.c (__gconv_transliterate): Use a temporary output
5961         pointer, to avoid accumulating output from incomplete (unsuccessful)
5962         transliteration attempts.
5964 2001-02-05  Ulrich Drepper  <drepper@redhat.com>
5966         * elf/ldconfig.c (search_dir): Use PRIx64 instead of Lx in printf
5967         string.  Include <inttypes.h> instead of <stdint.h>.
5969         * configure.in: Add check for bison.
5970         * config.make.in: Define BISON variable.
5971         * intl/Makefile: Use BISON instead of YACC when generating plural.c.
5972         Rename YFLAGS to BISONFLAGS.
5974 2001-02-05  Andreas Jaeger  <aj@suse.de>
5976         * io/test-lfs.c (do_test): Test lseek64 return value, call
5977         test_ftello.
5978         (test_ftello): New function to test ftello64 and fseeko64.
5980         * signal/signal.h: Move __sigaction from here to...
5981         * include/signal.h: ...here.
5983         * io/fcntl.h: Move __fcntl and __open to...
5984         * include/fcntl.h: ...here.
5986 2001-02-04  Philip Blundell  <philb@gnu.org>
5988         * configure.in: Distinguish ARM from Thumb.
5990 2001-02-04  Philip Blundell  <philb@gnu.org>
5992         * sysdeps/arm/dl-machine.h (elf_machine_rel): Correct handling of
5993         PC24 relocs with negative value.
5995 2001-02-04  Ulrich Drepper  <drepper@redhat.com>
5997         * iconv/Makefile (iconv_prog-modules): Define.  Add vpath to find
5998         files in locale/programs.  Add CFLAGS definition to allow compiling
5999         localedef files.
6000         * iconv/dummy-repertoire.c: New file.
6001         * iconv/iconv_charmap.c: New file.
6002         * iconv/iconv_prog.h: New file.
6003         * iconv/iconv_prog.c: Make verbose and omit_invalid global.
6004         (main): If parameter for -f and -t contain slashes try first to resolve
6005         the strings as filenames of charmap files.  Use them for conversion
6006         in this case.
6007         * iconvdata/run-iconv-test.sh: If charmaps exist also run tests with
6008         iconv getting charmap names as parameters.
6009         * locale/programs/linereader.c (lr_token): Take extra parameters
6010         verbose and pass it to get_string.
6011         (get_string): Take extra parameters verbose.
6012         * locale/programs/charmap.c (parse_charmap): Take extra parameters
6013         verbose and be_quiet.  Change all callers of lr_token and
6014         parse_charmap.
6015         * locale/programs/charmap.h: Likewise.
6016         * locale/programs/ld-address.c: Likewise.
6017         * locale/programs/ld-collate.c: Likewise.
6018         * locale/programs/ld-ctype.c: Likewise.
6019         * locale/programs/ld-identification.c: Likewise.
6020         * locale/programs/ld-measurement.c: Likewise.
6021         * locale/programs/ld-messages.c: Likewise.
6022         * locale/programs/ld-monetary.c: Likewise.
6023         * locale/programs/ld-name.c: Likewise.
6024         * locale/programs/ld-numeric.c: Likewise.
6025         * locale/programs/ld-paper.c: Likewise.
6026         * locale/programs/ld-telephone.c: Likewise.
6027         * locale/programs/ld-time.c: Likewise.
6028         * locale/programs/linereader.c: Likewise.
6029         * locale/programs/linereader.h: Likewise.
6030         * locale/programs/localedef.c: Likewise.
6031         * locale/programs/locfile.c: Likewise.
6032         * locale/programs/locfile.h: Likewise.
6033         * locale/programs/repertoire.c: Likewise.
6035 2001-02-03  Ulrich Drepper  <drepper@redhat.com>
6037         * iconv/iconv_prog.c (main): If output file name is "-" write to
6038         stdout.
6039         (main): If -f or -t argument is missing use charset of the current
6040         locale.
6042 2001-02-03  Andreas Jaeger  <aj@suse.de>
6044         * sysdeps/i386/elf/start.S (_start): Align stack to 16-byte
6045         boundary for SSE/SSE-2 alignment.
6047         * posix/Makefile ($(objpfx)annexc.out): Also pass sysincludes to
6048         annexc.
6050 2001-02-03  Ulrich Drepper  <drepper@redhat.com>
6052         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: File was using crlf.
6053         Remove comma at end of enum.
6055         * elf/dl-init.c: Add a few __builtin_expect.
6057         * hesiod/hesiod.c: Remove unnecessary code.  Remove all uses of strcat.
6059 2001-02-02  Ulrich Drepper  <drepper@redhat.com>
6061         * hesiod/hesiod.c (hesiod_resolve): Also search HS records if
6062         errno is ECONNREFUSED.
6064         * posix/Makefile: Define MBS_SUPPORT for regex.c.
6065         * posix/regex.c: Implement multibyte character handling.
6066         Patch by Isamu Hasegawa <isamu@yamato.ibm.co.jp>.
6068         * string/tst-svc.input: Add two more test cases.
6069         * string/tst-svc.expect: Modify to reflect new test cases.
6071 2001-02-01  Jakub Jelinek  <jakub@redhat.com>
6073         * sysdeps/posix/getaddrinfo.c (gaih_local, gaih_inet): Replace all
6074         tp->name tests with tp->name[0] tests.
6076 2001-01-29  Ben Collins  <bcollins@debian.org>
6078         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r):
6079         Fix check for name == NULL.
6081 2001-02-01  Ulrich Drepper  <drepper@redhat.com>
6083         * elf/Makefile: Add rules to build and run initfirst test.
6084         * elf/initfirst.c: New file.
6085         * elf/firstobj.c: New file.
6087         * Makerules (build-shlib): Add $(extra-B-$(@F:lib%.so=%).so).
6088         * configure.in: Test for -z initfirst linker option.
6089         * config.make.in: Add have-z-initfirst.
6090         * elf/dl-init.c (_dl_init): Split out actual initialization code in
6091         new function call_init.  If _dl_initfirst is non-NULL initialize first.
6092         * elf/dl-load.c (_dl_map_from_fd): If DF_1_INITFIRST flag is set
6093         remember object in _dl_initfirst.
6094         * elf/soinit.c: Remove special support for calling
6095         __pthread_initialize_minimal.
6097         * conform/conformtest.pl: Add missing $prepend in type test.
6099 2001-01-31  Ulrich Drepper  <drepper@redhat.com>
6101         * elf/elf.h (SHT_CHECKSUM): New definition.
6103         * posix/fnmatch_loop.c: Remove incorrect reverse condition in
6104         [. .] matching.  Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
6105         * posix/tst-fnmatch.input: Add tests for [. .] in locales.
6107 2001-01-31  Mark Kettenis  <kettenis@gnu.org>
6109         * misc/sys/select.h: Include <bits/time.h> instead of <sys/time.h>
6110         to get definition of `struct timeval'.
6112 2001-01-31  Ulrich Drepper  <drepper@redhat.com>
6114         * posix/tst-fnmatch.input: Add test cases for de_DE.UTF-8 locale.
6115         * posix/fnmatch_loop.c: Fix handling of [= =] for multibyte charsets.
6117 2001-01-30  Ulrich Drepper  <drepper@redhat.com>
6119         * iconv/gconv_open.c (__gconv_open): Set conv_flags if IGNORE is
6120         seen, not flags.
6122         * nis/nis_findserv.c: Include <time.h>.
6124 2001-01-30  Yong Li  <yong.li@asu.edu>
6126         * iconv/iconv_prog.c (main): Correct error handling method name.
6128 2001-01-29  Ben Collins  <bcollins@debian.org>
6130         * sysdeps/sparc/fpu/fraiseexcpt.c: Include <float.h>.
6131         * sysdeps/hppa/fpu/fraiseexcpt.c: Likewise.
6132         * sysdeps/m68k/fpu/fraiseexcpt.c: Likewise.
6133         * sysdeps/s390/fpu/fraiseexcpt.c: Likewise.
6135 2001-01-30  Ulrich Drepper  <drepper@redhat.com>
6137         * locale/programs/ld-measurement.c (measurement_finish): Fix a typo.
6138         Patch by Marko Myllynen <myllynen@lut.fi>.
6140         * string/bits/string2.h (__strpbrk_c2): Correct parameter types
6141         (int instead of char).
6142         (__strpbrk_c3): Likewise.
6143         Reported by GOTO Masanori <gotom@debian.or.jp>.
6145         * sysdeps/generic/bits/sockaddr.h: Remove SA_LEN macro.
6146         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Likewise.
6147         * include/sys/socket.h: Add SA_LEN here for internal use.
6148         Reported by Arkadiusz Miskiewicz <misiek@pld.ORG.PL>.
6150 2001-01-29  Ulrich Drepper  <drepper@redhat.com>
6152         * malloc/Makefile: Don't build memusagestat if cross-compiling.
6154         * sysdeps/generic/dl-sysdep.c (set_seen): Fix typo.
6156         * math/libm-test.inc (rint_test): Add a few more tests for round
6157         to even rounding.
6159 2001-01-28  Ulrich Drepper  <drepper@redhat.com>
6161         * conform/data/pthread.h-data: Correct return type of pthread_exit.
6163         * conform/conformtest.pl: Add -fno-builtin to CFLAGS.
6165         * conform/data/stdlib.h-data: Add _Exit.
6167         * inet/arpa/inet.h: Don't include <sys/types.h>.  Define socklen_t
6168         if not already happened.
6169         * inet/netinet/in.h: Don't include <sys/types.h>, use <bits/types.h>.
6170         Don't include <limits.h> and <bits/sockaddr.h>.
6172         * conform/data/netinet/in.h-data: Allow all of <inttypes.h>.
6174         * conform/data/spawn.h-data: Allow all of <sched.h>.
6176         * sysdeps/ia64/fpu/fraiseexcpt.c: Include <float.h>.  Removed
6177         unused variable.
6179         * sunrpc/xdr_rec.c (xdrrec_getpos): Add cast to long to avoid warning.
6180         * sunrpc/xdr_sizeof.c (x_inline): Likewise.
6182         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Include <float.h>.
6184         * conform/conformtest.pl: Define $mustprepend{"stdio.h"}.
6185         * libio/stdio.h: Define va_list correctly.
6187         * conform/data/pthread.h-data: Make priority protocol related
6188         functions optional.  Fix typos.
6190         * posix/sched.h: Define sched_priority as __sched_priority.
6191         * sysdeps/generic/bits/sched.h (struct sched_param): Rename element
6192         to __sched_priority.
6193         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
6195 2001-01-27  Ulrich Drepper  <drepper@redhat.com>
6197         * sysdeps/generic/clock_getcpuclockid.c: Include <time.h> instead
6198         of <sys/time.h>.
6200         * sysdeps/unix/stime.c: Include <stddef.h> for NULL.
6201         * sysdeps/unix/time.c: Likewise.
6203         * conform/data/time.h-data: CLK_TCK is not in XPG6.  Fix tzname entry.
6204         * sysdeps/mach/hurd/bits/time.h: Don't define CLK_TCK for XPG6.
6205         * sysdeps/mach/hurd/i386/bits/time.h: Likewise.
6206         * sysdeps/unix/sysv/linux/bits/time.h: Likewise.
6207         * sysdeps/unix/sysv/linux/alpha/bits/time.h: Likewise.
6208         * sysdeps/unix/sysv/linux/i386/bits/time.h: Likewise.
6209         * sysdeps/unix/sysv/linux/ia64/bits/time.h: Likewise.
6210         * time/time.h: Likewise.
6212         * conform/conformtest.pl (@headers): Add complex.h and tgmath.h.
6213         * conform/data/complex.h-data: New file.
6214         * conform/data/tgmath.h-data: New file.
6216         * conform/data/wchar.h-data: Add missing functions.
6218         * sysdeps/gnu/bits/utmpx.h: Define RUN_LVL only if __USE_GNU.
6220         * conform/data/termios.h-data: Add missing const in tcsetattr()
6221         prototype.
6223         * posix/sys/wait.h: Include <signal.h> and <sys/resource.h>.
6224         Don't define pid_t here.
6226         * conform/data/sys/utsname.h-data: Don't provide fixed array sizes.
6228         * conform/data/sys/time.h-data: Allow sys/select.h.
6229         * conform/data/sys/un.h-data: Fix typo.
6230         * time/sys/time.h: Don't include all of <time.h>, just struct timeval.
6231         * sysdeps/posix/clock_getres.c: Include <time.h> instead of
6232         <sys/time.h>.
6233         * sysdeps/unix/clock_nanosleep.c: Likewise.
6234         * sysdeps/unix/i386/clock_getcpuclockid.c: Likewise.
6235         * sysdeps/unix/i386/i586/clock_getres.c: Likewise.
6236         * sysdeps/unix/clock_gettime.c: Also include <time.h>.
6237         * sysdeps/unix/clock_settime.c: Likewise.
6239         * sysdeps/generic/pselect.c: Include <stddef.h> for NULL.
6240         * login/getutent.c: Likewise.
6241         * login/getutid.c: Likewise.
6242         * login/getutline.c: Likewise.
6244         * socket/sys/un.h: Define SUN_LEN only if __USE_MISC.
6246         * sysdeps/unix/sysv/linux/bits/statvfs.h: Change type of f_fsid field
6247         to unsigned long.  Add __f_unused.  Define _STATVFSBUF_F_UNUSED.
6248         * sysdeps/unix/sysv/linux/internal_statvfs.c: Adjust initialization of
6249         f_fsid field after change in struct statvfs.
6250         * sysdeps/unix/sysv/linux/alpha/bits/statvfs.h: New file.
6251         * sysdeps/unix/sysv/linux/ia64/bits/statvfs.h: New file.
6252         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/statvfs.h: New file.
6254         * conform/data/sys/stat.h-data: Remove isfdtype.  Use
6255         optional-macro.
6257         * conform/data/sys/socket.h-data: Fix typos.  Correct getsockopt,
6258         recvfrom, send, and socketpair prototypes.  Add allow lines.
6259         * socket/sys/socket.h: Include <sys/uio.h>.
6260         Don't use fancy __SOCKADDR_ARG definition unless __USE_GNU.
6261         Fix type of second parameter of listen.
6262         Don't declare isfdtype unless __USE_MISC.
6263         * sysdeps/generic/listen.c: Fix type of second parameter of listen.
6264         * sysdeps/mach/hurd/listen.c: Likewise.
6265         * sysdeps/generic/bits/socket.h (struct sockaddr_storage): Define
6266         ss_family and __ss_family.
6267         * sysdeps/unix/sysv/aix/bits/socket.h: Likewise.
6268         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
6269         (struct msghdr): Change type of msg_iovlen to int and type of
6270         msg_controllen to socklen_t.
6271         * sysdeps/unix/sysv/linux/alpha/bits/socket.h: New file.
6272         * sysdeps/unix/sysv/linux/ia64/bits/socket.h: New file.
6273         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/socket.h: New file.
6274         * inet/rcmd.c (rcmd_af): __ss_family is now ss_family.
6275         (rresvport_af): Likewise.
6277         * conform/data/sys/shm.h-data: SHMLBA is not required to by a constant.
6278         * conform/conformtest.pl: Implement handling of symbol.
6280         * signal/signal.h: Fix handling of __need_* symbols.
6281         * misc/sys/select.c: Define fd_set here.  Remove __fd_set.  Define
6282         fd_mask only if __USE_MISC.  Declare pselect for __USE_XOPEN2K.
6283         * include/sys/select.h: Use fd_set not __fd_set.
6284         * sysdeps/generic/bits/select.h: Likewise.
6285         * sysdeps/i386/bits/select.h: Likewise.
6286         * sysdeps/generic/bits/types.h: Don't define __fd_mask, __NFDBITS,
6287         __FDELT, __FDMASK, and __fd_set here.
6288         * sysdeps/unix/sysv/aix/bits/types.h: Likewise.
6289         * sysdeps/unix/sysv/hpux/bits/types.h: Likewise.
6290         * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
6291         * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
6292         * sysdeps/unix/sysv/linux/ia64/bits/types.h: Likewise.
6293         * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
6294         * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
6295         * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
6296         * time/sys/time.h: Define struct timeval before including <time.h>
6297         and <sys/select.h>.
6299         * conform/data/sys/time.h-data: fd_set is a typedef.
6300         * conform/data/sys/select.h-data: New file.
6301         * conform/data/sys/mman.h-data: Make typed mem stuff optional.
6302         * conform/conformtest.pl (@headers): Add sys/select.h.
6303         (type, optional-type): Unless testing a typedef instantiate object.
6304         Implement optional-function.
6306         * math/test-misc.c: Include <float.h>.
6308 2001-01-27  Andreas Jaeger  <aj@suse.de>
6310         * misc/efgcvt_r.c: Include <float.h>.
6312 2001-01-26  Ulrich Drepper  <drepper@redhat.com>
6314         * conform/data/stdlib.h-data: Account for XPG6 changes.
6315         * stdlib/stdlib.h (__random): Change return value type to long.
6316         (posix_memalign): Cleanup parameter names.
6317         (setenv, unsetenv): Make available for __USE_XOPEN2K.
6318         Change return type of unsetenv to int.
6319         (qecvt, qgcvt, qfcvt): Declare only if __USE_MISC.
6320         * include/stdlib.h: Change return type of unsetenv to int.
6321         Change return type of random to long int.
6322         * sysdeps/generic/setenv.c (unsetenv): Change return type to int.
6323         Return -1 and set errno if parameter is invalid.
6324         * stdlib/random.c (__random): Change return value type to long.
6326         * conform/data/stdio.h-data: Account for changes in XPG6.
6328         * conform/data/spawn.h-data: Correct posix_spawnattr_setflags
6329         prototype.
6331         * conform/conformtest.pl: Define $mustprepend{"signal.h"}.
6332         * conform/data/signal.h-data: Fix sigev_notify_function entry.
6333         Fix typo (SIGVALRM -> SIGVTALRM).
6334         * sysdeps/unix/sysv/linux/bits/siginfo.h: Define sigev_notify_attr
6335         with real type.
6336         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Likewise.
6337         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
6338         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Likewise.
6339         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
6340         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/siginfo.h: Likewise.
6342         * conform/conformtest.pl: Implement optional-element.  Define
6343         $mustprepend{"sched.h"}.
6344         * conform/data/sched.h-data: Make sporadic scheduler definitions
6345         optional.
6347         * pwd/pwd.h: Don't define getpwent_r for XPG.
6349         * io/sys/poll.h: Define nfds_t and use it in poll prototype.
6350         * sysdeps/generic/poll.c: Use nfds_t type in function definition.
6351         * sysdeps/mach/hurd/poll.c: Likewise.
6352         * sysdeps/unix/bsd/poll.c: Likewise.
6353         * sysdeps/unix/sysv/linux/poll.c: Likewise.
6354         * sysdeps/unix/sysv/aix/poll.c: Likewise.
6355         * sysdeps/generic/bits/poll.h: Define NPOLLFILE only if __USE_MISC.
6356         * sysdeps/unix/sysv/linux/bits/poll.h: Likewise.
6357         * sysdeps/unix/sysv/linux/m68k/bits/poll.h: Likewise.
6358         * sysdeps/unix/sysv/linux/mips/bits/poll.h: Likewise.
6359         * sysdeps/unix/sysv/linux/sparc/bits/poll.h: Likewise.
6360         * conform/data/poll.h-data: Fix typo in poll prototype.
6362         * sysdeps/gnu/netinet/tcp.h: Define everything but TCP_ macros
6363         only if __USE_MISC.
6364         * conform/data/netinet/tcp.h-data: Reserved prefix TCP_.
6366         * sysdeps/gnu/net/if.h: Cleanup namespace.  Define IF_NAMESIZE.
6368         * inet/netinet/in.h: Make IPPROTO_ constants also macros.
6370         * conform/conformtest.pl: Implement optional-type.
6372         * resolv/netdb.h: Include <netinet/in.h> not <sys/socket.h>.  Include
6373         <rpc/netdb.h> only if __USE_MISC.  Include <stdint.h> instead of
6374         defining uint32_t here.  Define IPPORT_RESERVED.
6375         (struct hostent): Type of h_length element is int.
6376         (getnameinfo): Type of flags parameter is unsigned int.
6377         * inet/getnameinfo.c (getnameinfo): flags argument is unsigned.
6378         * conform/data/netdb.h-data: Add many missing definitions.
6380         * conform/conformtest.pl: Implement optional-macro.
6381         * conform/data/math.h-data: Update for XPG6.
6383         * math/math.h (HUGE): Define as FLT_MAX value but don't use
6384         FLT_MAX.  Don't include <float.h>.
6385         (MAXFLOAT): Likewise.
6387         * math/math.h: Define MATH_ERRNO and MATH_ERREXCEPT.
6389         * include/bits/xopen_lim.h: Don't define FOPEN_MAX here.
6391         * conform/data/limits.h-data: Mark constants as optional wherever
6392         appropriate.
6394         * posix/bits/posix2_lim.h: Set correct values for
6395         _POSIX2_COLL_WEIGHTS_MAX and _POSIX2_CHARCLASS_NAME_MAX.  Remove
6396         EQUIV_CLASS_MAX.
6398         * posix/bits/posix1_lim.h: Define _POSIX_TZNAME_MAX as 6.
6399         Required by POSIX.
6401         * intl/loadmsgcat.c: Include <locale.h.> for _LIBC.
6403         * conform/data/netinet/in.h-data: Add reserved prefixes.
6405         * conform/data/arpa/inet.h-data: Fix a few typos.
6407 2001-01-26  Andreas Jaeger  <aj@suse.de>
6409         * sysdeps/generic/strtol.c: Include <locale.h>
6410         * stdlib/strtod.c: Likewise
6411         * stdlib/strfmon.c: Likewise.
6412         * string/strcoll.c: Likewise.
6413         * string/strxfrm.c: Likewise.
6414         * wctype/wcfuncs_l.c: Likewise.
6415         * wctype/wctype_l.c: Likewise.
6416         * wctype/wctrans_l.c: Likewise.
6418         * include/bits/locale.h: New file.
6420 2001-01-26  Ulrich Drepper  <drepper@redhat.com>
6422         * locale/langinfo.h: Correct logic in #ifs when defining YESSTR
6423         and NOSTR.
6425         * locale/Makefile (headers): Add bits/locale.h.
6426         * locale/langinfo.h: Don't include <locale.h>.  Include <bits/locale.h>
6427         and use __LC_ constants instead of LC_.
6428         * locale/locale.h: Include <bits/locale.h> and define LC_ constants
6429         using __LC_ constants.
6430         * locale/bits/locale.h: New file.
6431         * locale/loadlocale.c: Include <locale.h>.
6432         * locale/nl_langinfo.h: Likewise.
6434         * posix/glob.h: Cleanup namespace for non-_GNU_SOURCE case.
6436         * io/sys/stat.h: Define S_IFSOCK for XPG6.
6438         * conform/data/fcntl.h-data: posix_madvise is not expected here.
6440         * conform/conformtest.pl: Fix handling of macro-str.
6442         * conform/data/inttypes.h-data: Add missing definition and all of
6443         stdint.h-data.
6445         * sysdeps/unix/sysv/linux/sys/param.h (MAXSYMLINKS): Bump to 20.
6447 2001-01-25  Ulrich Drepper  <drepper@redhat.com>
6449         * conform/conformtest.pl (@headers): Add stdint.h.
6450         * conform/data/stdint.h-data: New file.
6452         * conform/conformtest.pl: Recognize options --headers and
6453         --dialect.  Add dialect-specific CFLAGS.
6455         * conform/conformtest.pl: Implement handling of recursive
6456         allow-header.
6458         * conform/data/locale.h-data: Add new struct lconv members.
6460         * posix/wordexp.h: Correct definition of wordexp_t.
6461         * posix/wordexp.c: Moved to ...
6462         * sysdeps/generic/wordexp.c: ...here.  New file.
6463         * sysdeps/unix/sysv/linux/alpha/wordexp.c: New file.
6464         * sysdeps/unix/sysv/linux/ia64/wordexp.c: New file.
6465         * sysdeps/unix/sysv/linux/sparc/sparc64/wordexp.c: New file.
6466         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.2.2): Add
6467         wordexp.
6468         * sysdeps/unix/sysv/linux/ia64/Versions: Likewise.
6469         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions: Likewise.
6471         * math/tgmath.h: Pretty printing.
6473         * math/Makefile (tests): Add test-tgmath.
6474         (CFLAGS-test-tgmath.c): New variable.
6475         * math/test-tgmath.c: New file.  Contributed by Jakub Jelinek.
6477         * conform/conformtest.pl: Handle allow-header in secondary headers
6478         correctly.
6480         * conform/data/fcntl.h-data: Mark symbols introduced in XPG6 with
6481         #ifdef.
6483         * conform/data/netinet/in.h-data: Use correct comment character.
6484         * conform/data/sys/stat.h-data: Likewise.
6486 2001-01-25  Jakub Jelinek  <jakub@redhat.com>
6488         * math/tgmath.h (__TGMATH_BINARY_FIRST_REAL_ONLY,
6489         __TGMATH_BINARY_REAL_ONLY, __TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY,
6490         __TGMATH_TERNARY_REAL_ONLY): Use proper arguments to
6491         __builtin_classify_type, add ##f suffixes where appropriate.
6492         (__TGMATH_UNARY_REAL_IMAG): Remove extraneous left parenthesis.
6493         (__TGMATH_BINARY_REAL_IMAG): Likewise, use proper arguments to
6494         __builtin_classify_type.
6495         (fma): Fix spelling of first argument.
6497 2001-01-25  Ulrich Drepper  <drepper@redhat.com>
6499         * conform/data/unistd.h-data: Mark functions removed in XPG6
6500         correctly.
6502         * posix/unistd.h: Don't make functions removed in XPG6 available if
6503         __USE_XOPEN2K.
6505         * conform/conformtest.pl: Implement optional-constant.
6506         * conform/data/unistd.h-data: Use optional-constant wherever
6507         appropriate.
6509         * sysdeps/generic/bits/confname.h: Correct names of _SC_PBS
6510         constants and add _SC_STREAMS.
6511         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
6513         * sysdeps/unix/sysv/linux/statvfs64.c: Rename to __statvfs64 and
6514         make old name weak alias.
6515         * sysdeps/generic/statvfs64.c: Likewise.
6516         * sysdeps/unix/sysv/linux/fstatvfs64.c: Rename to __fstatvfs64 and
6517         make old name weak alias.
6518         * sysdeps/generic/fstatvfs64.c: Likewise.
6519         * include/sys/statvfs.h: New file.
6521         * sysdeps/generic/bits/confname.h: Define _PC_REC_INCR_XFER_SIZE,
6522         _PC_REC_MAX_XFER_SIZE, _PC_REC_MIN_XFER_SIZE, and
6523         _PC_REC_XFER_ALIGN.
6524         * sysdeps/posix/pathconf.c (__pathconf): Implement handling of
6525         _PC_REC_INCR_XFER_SIZE, _PC_REC_MAX_XFER_SIZE,
6526         _PC_REC_MIN_XFER_SIZE, and _PC_REC_XFER_ALIGN.
6527         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
6529         * conform/conformtest.pl: Run Unix tests for XPG6.
6530         Implement handling of known namespace violations.
6531         Improve printing of results.
6533         * posix/unistd.h (usleep): Correct return type.
6534         * sysdeps/unix/sysv/linux/usleep.c: Correct return type.
6535         * sysdeps/unix/bsd/usleep.c: Correct return type.
6536         * sysdeps/mach/usleep.c: Correct return type.
6537         * sysdeps/generic/usleep.c: Correct return type.
6539         * posix/unistd.h (sync): Correct return type.
6540         * sysdeps/generic/sync.c: Likewise.
6541         * sysdeps/mach/hurd/sync.c: Likewise.
6543         * sysdeps/generic/bits/confname.h (_SC_IOV_MAX): New definition.
6545         * posix/unistd.h: Make seteuid and setegid available for XPG6.
6547         * wcsmbs/wchar.h: Get FILE definition for XPG5.
6549         * conform/data/ctype.h-data: Use correct comment form.
6550         * conform/data/errno.h-data: Likewise.
6551         * conform/data/math.h-data: Likewise.
6552         * conform/data/mqueue.h-data: Likewise.
6553         * conform/data/netdb.h-data: Likewise.
6554         * conform/data/pthread.h-data: Likewise.
6556 2001-01-24  Ulrich Drepper  <drepper@redhat.com>
6558         * conform/data/wordexp.h-data: Fix typo.
6560         * conform/conformtest.pl: Handle allow-header correctly.
6562         * conform/data/time.h-data: Use correct comment form.
6564         * conform/conformtest.pl (checknamespace): Ignore #undef lines.
6566         * configure.in: Comment out binutils version test.
6568         * stdlib/strtod.c (str_to_mpn): Correct parsing of thousands
6569         separators.
6570         Reported by Lagardere Jean-Francois <LAGARDEREJ@thmulti.com>.
6572         * stdlib/tst-strtod.c (locale_test): New function.
6573         (main): Call locale_test.
6574         * stdlib/Makefile (tst-strtod-ENV): New variable.
6576 2001-01-24  Mark Kettenis  <kettenis@gnu.org>
6578         * hurd/hurdsig.c (_hurdsig_getenv): Remove spurious innermost
6579         declaration of value such that we actually return the value of the
6580         environment variable.
6582 2001-01-24  Andreas Jaeger  <aj@suse.de>
6584         * sysdeps/unix/sysv/linux/init-first.c: Remove extra __sysctl
6585         prototype.
6586         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
6588         * include/sys/sysctl.h: New file.
6590 2001-01-23  Andreas Jaeger  <aj@suse.de>
6592         * stdlib/Makefile ($(objpfx)isomac.out): Also pass sysincludes to
6593         isomac.
6595         * elf/dl-load.c (_dl_init_paths): Don't use strdupa in function
6596         arguments.  Reported by Jiri Kubicek <kubicek@bitsmart.com>,
6597         closes PR libc/2039.
6599         * manual/install.texi (Tools for Compilation): Change required
6600         binutils version.
6602 2001-01-22  Andreas Jaeger  <aj@suse.de>
6604         * configure.in: Add test for new enough binutils version, move
6605         compiler/binutils test up.
6607         * Versions.def: Add version GLIBC_2.2.2.
6609 2001-01-21  Ulrich Drepper  <drepper@redhat.com>
6611         * iconvdata/TESTS: UTF-8 test data for IBM932 and IBM943 are now
6612         available.
6613         * iconvdata/testdata/IBM932: New file.
6614         * iconvdata/testdata/IBM932..UTF8: New file.
6615         * iconvdata/testdata/IBM943: New file.
6616         * iconvdata/testdata/IBM943..UTF8: New file.
6617         Contributed by Masahide Washizawa <washi@jp.ibm.com>.
6619 2001-01-21  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
6621         * sysdeps/unix/sysv/linux/powerpc/mmap64.c: Correctly mask offset.
6623 2001-01-21  Ulrich Drepper  <drepper@redhat.com>
6625         * malloc/malloc.c: Remove a few unnecessary initializers of global
6626         variables.
6628 2000-12-09  H.J. Lu  <hjl@gnu.org>
6630         * nss/Makefile (routines): Add digits_dots.
6631         * nss/Versions (libc): Add __nss_hostname_digits_dots to GLIBC_2.2.2.
6632         * nss/digits_dots.c (__nss_hostname_digits_dots): Turn template
6633         into a function.
6634         * nss/nsswitch.h (__nss_hostname_digits_dots): New internal NSS
6635         function.
6636         * nss/getXXbyYY.c (H_ERRNO_VAR_P): New definition.
6637         (TYPE_VAR_P): Likewise.
6638         (FLAGS_VAR): Likewise.
6639         (AF_VAR_P): Likewise.
6640         (INTERNAL (REENTRANT_NAME)): Call __nss_hostname_digits_dots ()
6641         instead of including digits_dots.c.
6642         * nss/getXXbyYY_r.c (H_ERRNO_VAR_P): New definition.
6643         (TYPE_VAR_P): Likewise.
6644         (FLAGS_VAR): Likewise.
6645         (AF_VAR_P): Likewise.
6646         (INTERNAL (REENTRANT_NAME)): Call __nss_hostname_digits_dots ()
6647         instead of including digits_dots.c.
6649 2001-01-21  Ulrich Drepper  <drepper@redhat.com>
6651         * sysdeps/posix/getaddrinfo.c: Reduce .data size.
6653 2001-01-21  Andreas Jaeger  <aj@suse.de>
6655         * elf/constload2.c: Add prototype for init.
6657 2001-01-21  Ulrich Drepper  <drepper@redhat.com>
6659         * stdlib/stdlib.h (drand48_data): Make available only for
6660         __USE_MISC.  Rename elements to protect namespace.  Change type
6661         and position of a and init element.
6662         * stdlib/drand48-iter.c: Don't handle unsigned short > 16 bit
6663         differently.  Adjust for drand48_data change.  Don't compute a here,
6664         it comes from drand48_data.
6665         * stdlib/lcong48_r.c: Don't handle unsigned short > 16 bit
6666         differently.  Adjust for drand48_data change.  Compute a here.
6667         * stdlib/srand48_r.c: Likewise.
6668         * stdlib/drand48.c: Adjust for drand48_data change.
6669         * stdlib/lrand48.c: Likewise.
6670         * stdlib/mrand48.c: Likewise.
6671         * stdlib/seek48.c: Likewise.
6672         * stdlib/drand48_r.c: Likewise.
6673         * stdlib/lrand48_r.c: Likewise.
6674         * stdlib/mrand48_r.c: Likewise.
6675         * stdlib/seed48_r.c: Likewise.  Don't handle unsigned short > 16 bit
6676         differently.
6677         * stdlib/erand48_r.c: Don't handle unsigned short > 16 bit differently.
6678         * stdlib/jrand48_r.c: Likewise.
6680         * po/sv.po: Update from translation team.
6682 2001-01-21  Andreas Jaeger  <aj@suse.de>
6684         * stdio-common/vfprintf.c (vfprintf): Add casts.
6686 2001-01-20  Ulrich Drepper  <drepper@redhat.com>
6688         * iconvdata/run-iconv-test.sh: Reorgnize a bit to allow running only
6689         the ASCII test.
6690         * iconvdata/TESTS: Add entries for IBM932 and IBM943.
6692         * iconvdata/Makefile (modules): Add IBM932 and IBM943.
6693         * iconvdata/gconv-modules: Add entries for IBM932 and IBM943.
6694         * iconvdata/ibm932.c: New file.
6695         * iconvdata/ibm932.h: New file.
6696         * iconvdata/ibm943.c: New file.
6697         * iconvdata/ibm943.h: New file.
6698         Patches by Masahide Washizawa <washi@jp.ibm.com>.
6700         * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Fix typo
6701         preventing optimization from being done.  Set the correct type bit
6702         in seen.  Don't define and use _dl_base_addr unless
6703         NEED_DL_BASE_ADDR is defined.
6705         * io/ftw.c (ftw_dir): Add slash after directory name if there
6706         wasn't any.  Reported by loris <loris@iol.it>.
6707         * io/Makefile (tests): Add bug-ftw2.
6708         * io/bug-ftw2.c: New file.
6710 2001-01-19  Ulrich Drepper  <drepper@redhat.com>
6712         * stdlib/jrand48_r.c (__jrand48_r): Correct constructing of
6713         results.  Reported by Jeff Higham <jhigham@algorithmics.com>.
6714         * stdlib/tst-rand48.c: New file.
6715         * stdlib/Makefile (tests): Add tst-rand48.
6717         * locale/newlocale.c (__newlocale): Fix test for setting all
6718         categories.
6720 2001-01-19  Mark Kettenis  <kettenis@gnu.org>
6722         * sysdeps/mach/hurd/chroot.c (chroot): Revert 1999-02-27 changes,
6723         but change looking up the initial directory port in a similar way
6724         as done by _hurd_change_directory_port_from_name.
6725         * hurd/fchroot.c (fchroot): Likewise.
6727 2001-01-18  Ulrich Drepper  <drepper@redhat.com>
6729         * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): If HAVE_AUX_XID is
6730         defined don't look whether the AT_*ID values were set.
6731         If HAVE_AUX_PAGESIZE is defined don't look whether the pagesize is set.
6732         (_dl_show_auxv): Rewrite to avoid switch statement.
6733         * sysdeps/unix/sysv/linux/kernel-features.h: Define
6734         __ASSUME_AT_PAGESIZE for kernel >= 2.4.1.
6735         * sysdeps/unix/sysv/linux/ldsodefs.h: Define HAVE_AUX_XID.
6736         Define HAVE_AUX_PAGESIZE if __ASSUME_AT_PAGESIZE is defined.
6738         * sysdeps/unix/sysv/linux/fxstat64.c: Add one __builtin_expect.
6739         * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
6740         * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
6742         * elf/rtld.c (process_envvars): Call __strtoul_internal instead of
6743         strtoul.
6744         * elf/dl-minimal.c (strtol, __strtol_internal, strtoul): Removed.
6745         (__sigjmp_save): Set __mask_was_saved to zero since we don't save
6746         anything.
6747         * dlfcn/eval.c (__strtol_internal): Define here.
6748         (eval): Use __strtol_internal instead of strtol.
6750         * elf/elf.h: Add a few more EF_MIPS_* constants.
6752 2001-01-17  Ulrich Drepper  <drepper@redhat.com>
6754         * manual/Makefile (chapters): Add debug.
6755         * manual/debug.texi: New file.
6756         * manual/examples/execinfo.c: New file.
6757         Patch by suckfish@ihug.co.nz.
6759 2001-01-17  Andreas Schwab  <schwab@suse.de>
6761         * sysdeps/m68k/bits/byteswap.h (__bswap_32): Add cast to avoid
6762         invalid asm.
6764 2001-01-17  Andreas Jaeger  <aj@suse.de>
6766         * nscd/connections.c (nscd_run): Use proper format specifier.
6768 2001-01-16  Ulrich Drepper  <drepper@redhat.com>
6770         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Move x86_cap_flags and
6771         x86_platforms data into new file after prepending _dl_.  Change
6772         users.
6773         * sysdeps/unix/sysv/linux/i386/dl-procinfo.c: New file.
6774         * sysdeps/unix/sysv/linux/i386/Dist: Add dl-procinfo.c.
6775         * sysdeps/unix/sysv/linux/i386/Makefile: Add rules to build
6776         dl-procinfo.c.
6778         * setjmp/setjmp.h: Cleanup definition of setjmp macro.
6780         * sysdeps/i386/elf/bsd-setjmp.S: Real implementation.
6781         * sysdeps/i386/elf/bsd-_setjmp.S: Removed.
6782         * sysdeps/i386/elf/setjmp.S (setjmp): Removed here.
6783         (_setjmp): Likewise.
6784         * sysdeps/i386/bsd-_setjmp.S: Real implementation.
6785         * sysdeps/i386/bsd-setjmp.S: Real implementation.
6786         * sysdeps/i386/bits/setjmp.h: Remove PUSH_SIGNAL_MASK definition.
6787         * sysdeps/i386/setjmp.S: Remove PIC support.  This is the non-ELF
6788         version.
6790 2001-01-16  Andreas Jaeger  <aj@suse.de>
6792         * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h (SIGCONTEXT): Fix
6793         misapplied last patch.
6795 2001-01-15  Ulrich Drepper  <drepper@redhat.com>
6797         * stdlib/random.c (__initstate): Clean up a cast.
6798         (__setstate): Likewise.
6800         * sysdeps/unix/sysv/linux/mips/syscalls.list: Remove select
6801         syscall handling.  The generic Linux version should work.
6803 2001-01-15  Andreas Jaeger  <aj@suse.de>
6805         * sysdeps/unix/sysv/linux/sys/sendfile.h: Fix typo.
6807         * stdio-common/tstscanf.c (main): Add two testcases for '*' modifier.
6809 2001-01-14  Jakub Jelinek  <jakub@redhat.com>
6811         * nss/getent.c (print_aliases, aliases_keys, ethers_keys,
6812         netgroup_keys, print_rpc, rpc_keys, print_shadow, shadow_keys):
6813         New functions.
6814         (group_keys, hosts_keys, network_keys, passwd_keys, protocols_keys):
6815         If number is 0, list all.
6816         (services_keys): Likewise.  Lookup aliases as well.
6817         (databases): New table.
6818         (build_doc): Prepare argp doc text with list of supported databases.
6819         (main): Change to table driven processing.
6821 2001-01-14  Thorsten Kukuk <kukuk@suse.de>
6823         * sunrpc/xdr.c (xdr_long, xdr_u_long): Fix comments about these
6824         functions.
6826 2001-01-03  Jakub Jelinek  <jakub@redhat.com>
6828         * sunrpc/xdr.c (xdr_long, xdr_u_long): Return FALSE if trying to
6829         encode value which does not fit in the 32bit type.
6831 2001-01-15  Hiroyuki Machida <machida@sm.sony.co.jp>
6833         * sysdeps/unix/sysv/linux/mips/register-dump.h (REGISTER_DUMP):
6834         Change type of CTX to (struct sigcontext *).
6835         * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h (GET_PC): Likewise.
6836         (GET_FRAME): Likewise.
6837         (GET_STACK): Likewise.
6838         (SIGCONTEXT): Likewise.  Add 2nd arg _code.
6839         (SIGCONTEXT_EXTRA_ARGS): Add 2nd arg _code.
6841 2001-01-13  Ulrich Drepper  <drepper@redhat.com>
6843         * manual/texinfo.tex: Update from upstream version.
6845 2001-01-13  Jakub Jelinek  <jakub@redhat.com>
6847         * inet/ether_ntoh.c (lookup_function): Change arguments to match
6848         _nss_*_getntohost_r prototype.
6849         (ether_ntohost): Pass errno pointer to NSS function.
6851 2001-01-12  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
6853         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MS_SYNC): Fix value.
6854         (MAP_LOCKED): New definition.
6855         (MAP_NORESERVE): New definition.
6857 2001-01-12  Ulrich Drepper  <drepper@redhat.com>
6859         * assert/assert.h: Use static_cast instead of C-style cast for C++.
6860         Patch by Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>.
6862 2001-01-12  Ben Collins  <bcollins@debian.org>
6864         * sysdeps/generic/segfault.c (install_handler): Use access, not
6865         __access.
6867 2001-01-12  Andreas Jaeger  <aj@suse.de>
6869         * posix/fnmatch_loop.c (FCT): Remove signed warnings.
6870         * posix/wordexp.c (do_parse_glob): Likewise.
6871         * sysdeps/posix/sigblock.c (__sigblock): Likewise.
6872         * sysdeps/posix/sigsetmask.c (__sigsetmask): Likewise.
6873         * elf/dl-open.c (_dl_open): Likewise.
6874         * elf/dl-close.c (_dl_close): Likewise.
6875         * elf/dl-load.c (_dl_map_object): Likewise.
6876         * iconv/iconv_prog.c (process_fd): Likewise.
6877         * stdio-common/vfscanf.c (_IO_vfscanf): Likewise.
6879         * locale/localeinfo.h (struct locale_data): Use __flexarr instead
6880         of a zero-length array.
6882 2001-01-11  Jakub Jelinek  <jakub@redhat.com>
6884         * stdlib/cxa_atexit.c (__cxa_atexit): Cast to (void *, int) func.
6885         * stdlib/cxa_finalize.c (__cxa_finalize): Add hidden second argument.
6886         * stdlib/cxa_on_exit.c: Remove.
6887         * stdlib/Makefile: Revert last patch.
6888         * stdlib/Versions: Likewise.
6889         * include/stdlib.h: Likewise.
6890         * stdlib/exit.h: Revert last patch.
6891         (struct exit_function): Add second argument to cxa fn.
6892         * stdlib/exit.c: Revert last patch.
6893         (exit): Add hidden second argument.
6895 2001-01-11  H.J. Lu  <hjl@gnu.org>
6897         * elf/dl-libc.c (do_dlopen): Move DL_STATIC_INIT to ...
6898         * elf/dl-open.c (_dl_open): Here.
6899         * sysdeps/unix/sysv/linux/ia64/dl-static.c (_dl_static_lock):
6900         Make it static.
6901         (_dl_static_init): Initialize the variables every time when possible.
6902         * sysdeps/unix/sysv/linux/ia64/ldsodefs.h (DL_STATIC_INIT):
6903         Undefine it first.
6905 2001-01-11  Ulrich Drepper  <drepper@redhat.com>
6907         * stdlib/Makefile (routines): Add cxa_on_exit.
6908         * stdlib/Versions [libc] (GLIBC_2.2.1): Add __cxa_on_exit.
6909         * stdlib/cxa_on_exit.c: New file.
6910         * include/stdlib.h: Add prototype for __cxa_on_exit.
6911         * stdlib/exit.c: Handle ef_cxa2.
6912         * stdlib/exit.h (enum): Add ef_cxa2.
6913         (struct exit_function): Add cxa2.
6915         * Versions.def [ld]: Add GLIBC_2.2.1.
6917 2001-01-10  H.J. Lu  <hjl@gnu.org>
6919         * elf/dl-libc.c (do_dlopen): Call DL_STATIC_INIT for static binaries.
6920         * sysdeps/unix/sysv/linux/ia64/Makefile (sysdep-dl-routines): Add
6921         dl-static.
6922         * sysdeps/unix/sysv/linux/ia64/Versions (ld): Add _dl_var_init.
6923         * sysdeps/generic/ldsodefs.h (DL_STATIC_INIT): Defined if not defined.
6924         * sysdeps/unix/sysv/linux/ia64/ldsodefs.h: New file.
6925         * sysdeps/unix/sysv/linux/ia64/dl-static.c: New file.
6926         * sysdeps/unix/sysv/linux/ia64/Dist: Add dl-static.c.
6928 2001-01-11  Ulrich Drepper  <drepper@redhat.com>
6930         * libio/stdio.h: Remove definition of off_t.
6932 2001-01-11  Andreas Jaeger  <aj@suse.de>
6934         * wcsmbs/tst-mbrtowc.c (utf8_test): New function by Markus Kuhn
6935         <mkuhn@acm.org>.
6937 2001-01-10  Ulrich Drepper  <drepper@redhat.com>
6939         * sunrpc/Makefile (distribute): Add errqueue.h.
6941 2001-01-10  H.J. Lu  <hjl@gnu.org>
6943         * sysdeps/ia64/dl-machine.h (TRAMPOLINE_TEMPLATE): Also preserve
6944         r9, r10 and r11 for language specific registers.
6946 2001-01-10  Jakub Jelinek  <jakub@redhat.com>
6948         * sunrpc/clnt_udp.c (clntudp_bufcreate): Set IP_RECVERR on the
6949         UDP socket.
6950         (clntudp_call): Handle MSG_ERRQUEUE.
6951         * sysdeps/generic/errqueue.h: New file.
6952         * sysdeps/unix/sysv/linux/errqueue.h: New file.
6954 2001-01-10  H.J. Lu  <hjl@gnu.org>
6956         * sysdeps/unix/sysv/linux/ia64/syscalls.list (s_getpagesize): Removed.
6958 2001-01-10  Joseph S. Myers  <jsm28@cam.ac.uk>
6960         * CONFORMANCE: Update.
6962 2001-01-09  Ulrich Drepper  <drepper@redhat.com>
6964         * sysdeps/generic/elf/backtracesyms.c (__backtrace_symbols):
6965         Minimal cleanups.  Add assert to ensure memory handling is correct.
6967         * manual/conf.texi (File Minimums): Fix _POSIX_PATH_MAX value.
6968         Reported by Ben Collins <bcollins@debian.org>.
6970         * time/strftime.c (my_strftime): Mark previous GNU extensions
6971         which are now in C99 as such.
6973 2001-01-08  Ulrich Drepper  <drepper@redhat.com>
6975         * elf/rtld.c (process_envvars): Place output files for profiling
6976         in SUID binaries in /var/profile.
6978         * elf/dl-load.c (_dl_map_object): Don't look in cache for
6979         preloading in SUID binaries.
6981         * elf/dl-profile.c (_dl_start_profile): Open the output file with
6982         O_NOFOLLOW if possible.
6984         * include/stdlib.h: Add __posix_openpt declaration.
6985         * stdlib/stdlib.h: Add posix_openpt declaration.
6986         * login/Versions: Add posix_openpt for GLIBC_2.2.1.
6987         * sysdeps/generic/getpt.c: Define posix_openpt.
6988         * sysdeps/unix/bsd/getpt.c: Likewise.
6989         * sysdeps/unix/sysv/linux/getpt.c: Likewise.
6991         * time/Makefile (tests): Add tst-mktime.
6992         * time/tst-mktime.c: New file.
6994         * posix/tst-dir.c (main): One more mkdir() test.
6996         * sysdeps/unix/sysv/linux/ia64/getpagesize.c (__getpagesize):
6997         Remove getpagesize syscall.  We assume that the pagesize is always
6998         determined from the auxiliary vector.
7000         * intl/dcigettext.c: Fix a few warnings.
7001         Patch by Bruno Haible <haible@ilog.fr>.
7003 2001-01-08  Andreas Jaeger  <aj@suse.de>
7005         * io/test-lfs.c (do_test): Check lseek64 return for EINVAL.
7006         Reported by Joseph S. Myers <jsm28@cam.ac.uk>.
7008 2001-01-08  Ulrich Drepper  <drepper@redhat.com>
7010         * sysdeps/generic/segfault.c (install_handler): Check output file
7011         name with access().
7013         * resolv/res_query.c: Use simply getenv() for HOSTALIASES.
7014         * sysdeps/generic/unsecvars.h (UNSECURE_ENVVARS): Add HOSTALIASES.
7016         * sysdeps/generic/unsecvars.h (UNSECURE_ENVVARS): Add missing comma.
7018         * malloc/memusage.c (me): Use access() to determine whether we
7019         should write the output file or not.
7021         * libio/bits/stdio.h (printf): Define macro to map printf call to
7022         fprintf which gcc can optimize.
7023         * stdio-common/printf.c: Undefine printf.
7025 2001-01-07  Ulrich Drepper  <drepper@redhat.com>
7027         * sysdeps/generic/bits/byteswap.h (__bswap_64): Partly revert last
7028         patch.  We must use unsigned int for l member of union.
7030         * sysdeps/powerpc/elf/libc-start.c (__libc_start_main): Don't call
7031         _dl_aux_init for shared libraries.
7033         * sysdeps/unix/sysv/linux/glob64.c: Moved to ...
7034         * sysdeps/gnu/glob64.c: ...here.  New file.
7036 2001-01-07  Ben Collins  <bcollins@debian.org>
7038         * manual/examples/longopt.c: Make the "struct option" a little
7039         more like it should be, adding usage of required_argument,
7040         noargument and such, and also setting the options string right.
7042         * manual/sysinfo.texi (Load Average): New section, documents
7043         getloadavg().
7045 2001-01-06  Ulrich Drepper  <drepper@redhat.com>
7047         * version.h (VERSION): Bump to 2.2.1.
7049         * sysdeps/unix/sysv/linux/mips/Dist: Remove sys/acct.h.
7050         * sysdeps/alpha/Dist: Add alphaev6/stxncpy.S and alphaev6/stxcpy.S.
7051         * sysdeps/unix/sysv/aix/Dist: Add uitrunc.c, savef.S, and restf.S.
7052         * dlfcn/Makefile (distribute): Add errmsg1mod.c.
7053         * Makefile (distribute): Add include/libc-internal.h.
7054         * libio/Makefile (distribute): Avoid overwriting.
7056         * iconvdata/ibm937.c (BODY to IBM937): Correct several mistakes in
7057         buffer and table handling.
7059 2001-01-05  H.J. Lu  <hjl@gnu.org>
7061         * elf/dl-support.c (non_dynamic_init): Move the auxiliary
7062         vector checking to ...
7063         (_dl_aux_init): Here.  New function.  Defined only if
7064         HAVE_AUX_VECTOR is defined.
7066         * sysdeps/generic/libc-start.c (__libc_start_main): Call
7067         _dl_aux_init for static binaries if HAVE_AUX_VECTOR is defined.
7069         * sysdeps/powerpc/elf/libc-start.c (__libc_start_main): Call
7070         _dl_aux_init.
7072         * sysdeps/unix/sysv/linux/ldsodefs.h (DL_FIND_AUXV): Removed.
7073         (HAVE_AUX_VECTOR): Defined.
7074         (_dl_aux_init): Declared.
7076 2001-01-05  Ben Collins  <bcollins@debian.org>
7078         * manual/string.texi (Finding Tokens in a String): Document XPG
7079         basename() and dirname(), as well as GNU basename().
7081 2001-01-05  Jakub Jelinek  <jakub@redhat.com>
7083         * Makeconfig (preprocess-version): Replace -traditional with
7084         -x assembler-with-cpp.
7086 2001-01-05  Joseph S. Myers  <jsm28@cam.ac.uk>
7088         * math/bits/cmathcalls.h: Don't define inline cimag, creal or conj
7089         for GCC 2.97 or later.
7091 2001-01-05  Ben Collins  <bcollins@debian.org>
7093         * manual/stdio.texi (getline): Clarify the return value in the
7094         case of EOF being reached before a newline.
7096 2001-01-04  Jakub Jelinek  <jakub@redhat.com>
7098         * sunrpc/pmap_clnt.c (__get_myaddress): Return TRUE if successful,
7099         FALSE otherwise.
7100         (pmap_set, pmap_unset): Check __get_myaddress return value.
7102 2001-01-05  Mark Kettenis  <kettenis@gnu.org>
7104         * sysdeps/generic/netinet/if_ether.h: Include <sys/types.h>.
7105         (struct ether_addr): Declare ether_addr_octet member as
7106         `u_int8_t'.  Add __attribute__ ((__packed__)).
7108 2001-01-06  Mark Kettenis  <kettenis@gnu.org>
7110         * sysdeps/mach/hurd/readdir64.c: New file.
7111         * sysdeps/mach/hurd/readdir64_r.c: New file.
7113 2001-01-07  Mark Kettenis  <kettenis@gnu.org>
7115         * sysdeps/mach/hurd/fstatvfs.c (fstatvfs): Add comment about
7116         `struct statfs' and `struct statvfs' being identical.
7117         * sysdeps/mach/hurd/statvfs.c (statvfs): Likewise.
7119 2001-01-06  Mark Kettenis  <kettenis@gnu.org>
7121         * sysdeps/mach/hurd/fstatfs64.c: New file.
7122         * sysdeps/mach/hurd/fstatvfs64.c: New file.
7123         * sysdeps/mach/hurd/statfs64.c: New file.
7124         * sysdeps/mach/hurd/statvfs64.c: New file.
7125         * sysdeps/mach/hurd/statfsconv.c: New file.
7126         * sysdeps/mach/hurd/Dist: Add statfsconv.c.
7128 2001-01-06  Ulrich Drepper  <drepper@redhat.com>
7130         * iconv/skeleton.c: Reset outbuf for next round of the loop.
7131         Reported by Owen Taylor <otaylor@redhat.com>.
7132         * iconv/Makefile (tests): Add tst-iconv3.
7133         * iconv/tst-iconv3.c: New file.
7135         * iconvdata/ibm930.c: Fix handling of state.  Optimize a bit.
7136         * iconvdata/ibm933.c: Likewise.
7137         * iconvdata/ibm935.c: Likewise.
7138         * iconvdata/ibm937.c: Likewise.
7139         * iconvdata/ibm939.c: Likewise.
7140         * iconvdata/ibm930.h: Adjust single byte table for optimization.
7141         * iconvdata/ibm933.h: Likewise.
7142         * iconvdata/ibm935.h: Likewise.
7143         * iconvdata/ibm939.h: Likewise.
7145         * iconvdata/testdata/IBM930: Add misssing SI.
7146         * iconvdata/testdata/IBM933: Likewise.
7147         * iconvdata/testdata/IBM935: Likewise.
7148         * iconvdata/testdata/IBM937: Likewise.
7149         * iconvdata/testdata/IBM939: Likewise.
7151 2001-01-06  Andreas Jaeger  <aj@suse.de>
7153         * configure.in: Check for old add-ons that shouldn't be used with
7154         current glibc anymore.
7156 2001-01-06  Mark Kettenis  <kettenis@gnu.org>
7158         * sysdeps/mach/hurd/readdir_r.c (__readdir_r): Return error number
7159         instead of -1 on failure.  Don't forget to copy file name into
7160         *ENTRY if successful.  Set *RESULT to NULL upon reaching the end
7161         of the directory.
7163 2001-01-06  Mark Kettenis  <kettenis@gnu.org>
7165         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Don't forget to
7166         copy st_atime member.
7168 2001-01-05  Ulrich Drepper  <drepper@redhat.com>
7170         * io/ftw.c (ftw_dir): Don't add a second slash at the beginning
7171         for searches from the root directory.
7172         Reported by loris <loris@iol.it> [PR libc/1991].
7173         * io/Makefile (tests): Add bug-ftw1.
7174         * io/bug-ftw1.c: New file.
7176         * elf/dl-support.c (non_dynamic_init): Don't define DL_FIND_AUXV
7177         if it is not available.  Instead use it only if it is available.
7178         * sysdeps/unix/sysv/linux/ldsodefs.h: New file.
7180         * iconv/gconv_simple.c (internal_ics4_loop): Correct test for
7181         overflowing output buffer.
7182         (internal_ucs4_loop_unaligned): Likewise.
7183         (ucs4_internal_loop): Likewise.
7184         (ucs4_internal_loop_unaligned): Likewise.
7185         (internal_ucs4le_loop): Likewise.
7186         (internal_ucs4le_loop_unaligned): Likewise.
7187         (ucs4le_internal_loop): Likewise.
7188         (ucs4le_internal_loop_unaligned): Likewise.
7189         Reported by Owen Taylor <otaylor@redhat.com>.
7190         * iconv/Makefile (tests): Add tst-iconv2.
7191         * iconv/tst-iconv2.c: New file.
7193 2001-01-04  H.J. Lu  <hjl@gnu.org>
7195         * elf/dl-support.c (DL_FIND_AUXV): New.  Defined if not defined.
7196         (_dl_clktck): Declared.
7197         (non_dynamic_init): Take 3 arguments.
7198         Set _dl_pagesize, _dl_platform and _dl_clktck from AUX.
7200 2001-01-01  Bruno Haible  <haible@clisp.cons.org>
7202         Finish implementation of plural form handling.
7203         * intl/dcigettext.c (known_translation_t): Rename 'domain' field to
7204         'domainname'.  Remove 'plindex' field.  Add 'domain' and
7205         'translation_length' fields.
7206         (transcmp): Don't compare 'plindex' fields.
7207         (plural_lookup): New function.
7208         (DCIGETTEXT): Change cache handing in the plural case.  Don't call
7209         plural_eval before the translation and its catalog file have been
7210         found.  Remove plindex from cache key.  Add 'translation_length' and
7211         'domain' to cache result.
7212         (_nl_find_msg): Remove index argument, return length of translation
7213         to the caller instead.  Weaken comparison of string lengths, to account
7214         for plural entries.  Call iconv() on the entire result string, not
7215         only on the portion needed so far.
7216         * intl/loadinfo.h (_nl_find_msg): Remove index argument, add lengthp
7217         argument.
7218         * intl/loadmsgcat.c (_nl_load_domain): Adapt to _nl_find_msg change.
7220 2001-01-04  Ulrich Drepper  <drepper@redhat.com>
7222         * intl/plural.y (yylex): Minimal improvement in number scanner.
7224 2000-07-31  Bruno Haible  <haible@clisp.cons.org>
7226         * intl/plural.y: Include config.h.  Needed to define 'inline' away for
7227         C compilers that don't support it.
7228         (yylex): Don't use gcc specific case range syntax.
7229         * intl/loadmsgcat.c (INIT_GERMANIC_PLURAL): New macro, for old
7230         compilers.
7232 2000-10-12  Bruno Haible  <haible@clisp.cons.org>
7234         * intl/finddomain.c: Remove unneeded includes.
7236 2000-10-12  Bruno Haible  <haible@clisp.cons.org>
7238         * intl/localealias.c (memcpy): Return first argument, just like the
7239         real memcpy function does.
7240         * intl/bindtextdom.c (memcpy): Likewise.
7241         * intl/finddomain.c (memcpy): Likewise.
7242         * intl/l10nflist.c (memcpy): Likewise.
7243         * intl/textdomain.c (memcpy): Likewise.
7244         From Paul Eggert <eggert@twinsun.com>.
7246 2001-01-03  Jakub Jelinek  <jakub@redhat.com>
7248         * resolv/resolv.h (struct __res_state): Add nsinit field.
7249         * resolv/res_send.c (res_nsend): Use it instead of nscount.
7250         * resolv/res_init.c (__res_vinit): Initialize it.
7251         (res_nclose): Clear it instead of nscount.
7253 2001-01-04  Ulrich Drepper  <drepper@redhat.com>
7255         * malloc/mtrace.pl: Fix matching of addresses.
7256         Patch by Aharon Robbins <arnold@skeeve.com>.
7258         * Versions.def (ld): Add GLIBC_2.2.
7260         * catgets/gencat.c: Copyright 2001.
7261         * csu/version.c: Likewise.
7262         * debug/catchsegv.sh: Likewise.
7263         * debug/xtrace.sh: Likewise.
7264         * elf/ldconfig.c: Likewise.
7265         * elf/sprof.c: Likewise.
7266         * iconv/iconv_prog.c: Likewise.
7267         * locale/locale.c: Likewise.
7268         * locale/localedef.c: Likewise.
7269         * malloc/memusage.sh: Likewise.
7270         * malloc/mtrace.pl: Likewise.
7271         * nscd/nscd.c: Likewise.
7272         * posix/getconf.c: Likewise.
7274 2001-01-04  Mark Kettenis  <kettenis@gnu.org>
7276         * include/stdio.h: Only provide __getwc_unlocked prototype if
7277         USE_IN_LIBIO is defined.
7279 2001-01-04  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
7281         * sysdeps/unix/sysv/linux/sh/socket.S (__socket): Fix error code
7282         handling.
7284 2001-01-03  Andreas Schwab  <schwab@suse.de>
7286         * sysdeps/generic/strtoll.c: Remove unused __strtoq_internal alias.
7287         * sysdeps/generic/strtoull.c: Remove unused __strtouq_internal alias.
7289         * sysdeps/wordsize-64/strtol.c: Add strtoq alias and fix strtoll alias.
7290         * sysdeps/wordsize-64/strtoul.c: Add strtouq alias and fix
7291         strtoull alias.
7292         * sysdeps/wordsize-64/wcstol.c: Add wcstoq alias and fix wcstoll alias.
7293         * sysdeps/wordsize-64/wcstoul.c: Add wcstouq alias and fix
7294         wcstoull alias.
7296         * sysdeps/generic/strtoul.c: Make sure we find strtol.c in this
7297         directory.
7298         * sysdeps/generic/strtol_l.c: Likewise.
7299         * sysdeps/generic/strtoul_l.c: Likewise.
7300         * sysdeps/generic/wcstoul.c: Likewise, for wcstol.c.
7302         * sysdeps/wordsize-64/strtol_l.c: Fix alias.
7303         * sysdeps/wordsize-64/strtoul_l.c: Likewise.
7304         * sysdeps/wordsize-64/wcstol_l.c: Fix alias.
7305         * sysdeps/wordsize-64/wcstoul_l.c: Likewise.
7307 2001-01-04  Andreas Jaeger  <aj@suse.de>
7309         * nss/nsswitch.c: Include files for missing prototypes, remove
7310         buggy declaration of prototypes.
7312 2001-01-03  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
7314         * resolv/Versions: Fix bracing.
7315         * sysdeps/powerpc/soft-fp/Versions: Likewise.
7316         * sysdeps/sparc/sparc64/soft-fp/Versions: Likewise.
7318 2001-01-02  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
7320         * sysdeps/powerpc/dl-machine.c (__process_machine_rela): Fix typo.
7322 2001-01-02  Ulrich Drepper  <drepper@redhat.com>
7324         * manual/Makefile (TEXI2PDF): Change to texi2dvi --pdf.
7325         Suggested by Minko Markov <mmarkov@home.com>.
7327 2001-01-02  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
7329         * sysdeps/powerpc/elf/start.S (__data_start): Make it global.
7330         * sysdeps/powerpc/dl-machine.c (dl_reloc_overflow): Print the name of
7331         the failing symbol.
7332         (__process_machine_rela): Pass symbol to dl_reloc_overflow().
7334 2001-01-02  Ben Collins  <bcollins@debian.org>
7336         * time/tzset.c (tzset_internal): Make sure we fall back to UTC
7337         if TZ is not set and TZDEFAULT is not present.
7339 2001-01-01  Ben Collins  <bcollins@debian.org>
7341         * string/strings.h: Make sure we declare our functions even if
7342         string.h is already included, based on whether or not __USE_BSD is
7343         defined.
7345 2001-01-02  Ulrich Drepper  <drepper@redhat.com>
7347         * dlfcn/dlerror.c (dlerror): Handle call of dlerror() before any
7348         other dlopen() and dlsym().
7349         Based on a patch by Ben Collins <bcollins@debian.org>.
7351 2001-01-02  Andreas Jaeger  <aj@suse.de>
7353         * dlfcn/errmsg1.c (main): Call dlerror initially.
7354         Reported by Ben Collins <bcollins@debian.org>.
7356 2001-01-02  Ulrich Drepper  <drepper@redhat.com>
7358         * intl/dcigettext.c (guess_category_value): Rewrite so that LANGUAGE
7359         value is ignored if the selected locale is the C locale.
7360         * intl/tst-gettext.c: Set locale for above change.
7361         * intl/tst-translit.c: Likewise.
7363 2001-01-02  Andreas Jaeger  <aj@suse.de>
7365         * libio/wgenops.c (_IO_wdoallocbuf): Use correct wide access macro.
7366         (_IO_switch_to_wget_mode): Likewise.
7367         (_IO_sputbackwc): Likewise.
7368         (_IO_sungetwc): Use wint_t for result.
7370         * stdio-common/vfscanf.c (__vfscanf): Use WINT_T for done.
7372         * sysdeps/generic/strtol.c (strtol): Make cnt size_t for correct
7373         signedness.
7375         * sysdeps/generic/printf_fphex.c (putc): Cast _IO_putwc_unlocked
7376         to (int) to avoid warnings.
7377         * stdio-common/printf_fp.c (putc): Likewise.
7378         * stdio-common/printf_size.c (putc): Likewise.
7380         * sysdeps/generic/dl-sysdep.c (_dl_important_hwcaps): Make
7381         constant unsigned.
7383 2001-01-01  Andreas Jaeger  <aj@suse.de>
7385         * inet/rcmd.c (rcmd_af): Use socklen_t for len.
7387 2000-12-31  Andreas Jaeger  <aj@suse.de>
7389         * include/libc-internal.h: Add prototype for __libc_freeres.
7391         * sysdeps/unix/sysv/linux/init-first.c: Include <libc-internals.h>
7392         for prototypes, remove redundant prototypes.
7393         * gmon/gmon.c: Likewise.
7394         * sysdeps/unix/i386/i586/clock_getres.c: Likewise.
7395         * sysdeps/unix/i386/i586/clock_gettime.c: Likewise.
7396         * malloc/mtrace.c: Likewise.
7398         * sysdeps/generic/enbl-secure.c: Include <libc-internals.h> for
7399         prototypes.
7400         * elf/soinit.c: Likewise.
7401         * sysdeps/generic/prof-freq.c: Likewise.
7402         * sysdeps/mach/hurd/profil.c: Likewise.
7403         * debug/noophooks.c: Likewise.
7404         * debug/pcprofile.c: Likewise.
7405         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Likewise.
7406         * sysdeps/generic/get_clockfreq.c: Likewise.
7407         * malloc/set-freeres.c: Likewise.
7409         * locale/localeinfo.h: Add internal prototypes.
7411         * elf/rtld.c (dl_main): Fix prototype.
7413         * iconvdata/tst-table-to.c (main): Use return instead of exit to
7414         avoid warning.
7416         * nis/rpcsvc/yp_prot.h: Remove __P.
7417         * nis/rpcsvc/ypupd.h: Likewise.
7418         * nis/rpcsvc/yp.h: Likewise.
7420         * sunrpc/rpc_main.c: Add noreturn attributes.
7421         * sunrpc/rpc_scan.h: Likewise.
7423         * sunrpc/rpc_hout.c (storexdrfuncdecl): Make static.
7425         * sunrpc/rpcinfo.c: Add noreturn attribute to brdcst.
7427         * sunrpc/proto.h: Add noreturn attributes to error and crash.
7429         * posix/bsd-getpgrp.c: Add prototype to avoid warning.
7431         * sunrpc/svc_unix.c: Include <rpc/svc.h> for prototypes.
7433         * sunrpc/create_xid.c: Include <rpc/svc.h> for prototypes.
7435         * include/rpc/rpc_msg.h: Add prototypes for some functions.
7436         * include/rpc/auth.h: Likewise.
7437         * include/rpc/auth_des.h: Likewise.
7438         * include/rpc/clnt.h: Likewise.
7439         * include/rpc/rpc.h: Likewise.
7440         * include/rpc/svc.h: Likewise.
7441         * include/rpc/svc_auth.h: Likewise.
7443         * include/rpc/des_crypt.h: New file.
7445         * malloc/memusagestat.c (main): Use return instead of exit to
7446         avoid warning.
7447         * io/pwd.c (main): Likewise.
7448         * iconvdata/tst-table-from.c (main): Likewise.
7449         * ctype/test_ctype.c (main): Likewise.
7450         * setjmp/tst-setjmp.c (main): Likewise.
7451         * signal/tst-signal.c (main): Likewise.
7452         * stdlib/tst-strtol.c (main): Likewise.
7453         * stdlib/tst-strtod.c (main): Likewise.
7454         * stdlib/tst-strtoll.c (main): Likewise.
7455         * stdlib/tst-xpg-basename.c (main): Likewise.
7456         * dirent/tst-seekdir.c (main): Likewise.
7457         * grp/testgrp.c (main): Likewise.
7458         * inet/test_ifindex.c (main): Likewise.
7459         * io/test-utime.c (main): Likewise.
7460         * posix/test-vfork.c (main): Likewise.
7461         * posix/testfnm.c (main): Likewise.
7462         * stdio-common/temptest.c (main): Likewise.
7463         * stdio-common/test_rdwr.c (main): Likewise.
7464         * stdio-common/tst-fileno.c (main): Likewise.
7465         * stdio-common/tst-sscanf.c (main): Likewise.
7466         * stdio-common/tstscanf.c (main): Likewise.
7467         * string/bug-strncat1.c (main): Likewise.
7468         * string/bug-strpbrk1.c (main): Likewise.
7469         * string/bug-strspn1.c (main): Likewise.
7470         * string/test-ffs.c (main): Likewise.
7471         * string/tst-inlcall.c (main): Likewise.
7472         * string/tst-svc.c (main): Likewise.
7473         * timezone/test-tz.c (main): Likewise.
7474         * wctype/test_wcfuncs.c (main): Likewise.
7475         * wctype/test_wctype.c (main): Likewise.
7477         * stdlib/tst-random.c: Add attribute noreturn to fail.
7479 2000-12-28  Wolfram Gloger  <wg@malloc.de>
7481         * malloc/malloc.c (MALLOC_COPY): Handle case if source and
7482         destination overlap.  Assume dest is always below source if
7483         overlapping.
7485 2000-12-30  Ulrich Drepper  <drepper@redhat.com>
7487         * elf/dl-close.c (_dl_close): We can ignore the NODELETE flag if the
7488         object was not yet initialized.
7490 2000-12-28  H.J. Lu  <hjl@gnu.org>
7492         * elf/dl-deps.c (_dl_map_object_deps): Make sure the DSO state
7493         is always consistent even if its dependency is failed.
7495         * elf/dl-open.c (_dl_open): Increment the open count before
7496         calling _dl_close () in case of failure.
7498         * elf/neededtest4.c: New file.
7499         * elf/neededobj5.c: New file.
7500         * elf/neededobj6.c: New file.
7502         * elf/Makefile (distribute): Add neededobj5.c and neededobj6.c.
7503         (tests): Add neededtest4.
7504         (modules-names): Add neededobj5 and neededobj6.
7505         ($(objpfx)neededobj6.so): New target.
7506         ($(objpfx)neededtest4): New target.
7507         ($(objpfx)neededtest4.out): New target.
7509 2000-12-28  Joseph S. Myers  <jsm28@cam.ac.uk>
7511         * misc/sys/cdefs.h (__attribute_format_strfmon__): Define.
7512         * stdlib/monetary.h: Add strfmon format attributes.
7514 2000-12-28  Roland McGrath  <roland@frob.com>
7516         * sysdeps/mach/hurd/ioctl.c (do_ioctl): Avoid double-increment after
7517         __mempcpy does it for us.
7519 2000-12-28  Andreas Jaeger  <aj@suse.de>
7521         * sysdeps/generic/dl-environ.c: Add prototype for unsetenv.
7523         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Add prototype for
7524         __new_setrlimit.
7526         * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Add prototype for
7527         __old_getrlimit64.
7529         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Add prototype for
7530         __new_getrlimit.
7532         * sysdeps/unix/sysv/linux/i386/chown.c: Add prototypes for
7533         __chown_is_lchown and __real_chown.
7535         * sysdeps/generic/ldsodefs.h: Add noreturn attribute to
7536         _dl_reloc_bad_type.
7538         * sunrpc/rpc_hout.c (print_funcdef): Add break statement to shut
7539         up GCC's warning about "deprecated use of label at end of compound
7540         statement."
7541         * sunrpc/rpc_cout.c (emit_inline): Likewise.
7543         * gmon/bb_exit_func.c: Include <sys/gmon.h> for internal
7544         prototypes.
7545         Remove struct bb and __bb_head since those are declared by
7546         sys/gmon.h.
7548 2000-12-22  Ben Collins  <bcollins@debian.org>
7550         * manual/charset.texi: Fix typo in description of WCHAR_MAX.
7552         * manual/argp.texi: Document argp_domain as part of struct argp.
7554 2000-12-28  Andreas Jaeger  <aj@suse.de>
7556         * catgets/Makefile (generated): Add sample.SJIS.cat.
7558         * sunrpc/rpc_dtable.c: Include rpc/clnt.h for prototypes.
7560         * elf/dl-minimal.c: Add prototypes.
7562         * include/locale.h: Add internal prototypes.
7563         * include/sys/gmon.h: Likewise.
7565         * dlfcn/errmsg1mod.c: Add prototype for foo to shut up GCC.
7567 2000-12-27  Ben Collins  <bcollins@debian.org>
7569         * elf/dl-open.c (_dl_open): Correctly set the new objname pointer
7570         when reallocating the error strings.
7571         Reported by Kalle Olavi Niemitalo <kon@iki.fi>
7573 2000-12-27  Ulrich Drepper  <drepper@redhat.com>
7575         * dlfcn/Makefile (tests): Add errmsg1.
7576         (modules-names): Add errmsg1mod.
7577         Add rules to run errmsg1.
7578         * dlfcn/errmsg1.c: New file.
7579         * dlfcn/errmsg1mod.c: New file.
7581         * dlfcn/dlerror.c (dlerror): Always create output string which
7582         includes object file name.
7584         * sysdeps/alpha/alphaev6/memcpy.S: Don't go through unrolled loop
7585         if we would go through it only once.
7586         Patch by Rick Gorton <rick.gorton@api-networks.com>.
7588         * sysdeps/alpha/alphaev67/strncat.S: Fix handling of numeric parameter.
7589         Patch by Richard Henderson <rth@redhat.com>.
7591 2000-12-27  Jakub Jelinek  <jakub@redhat.com>
7593         * malloc/malloc.c (memmove): Add prototypes.
7594         (MALLOC_MEMMOVE): Define.
7595         (chunk_realloc): Use it instead of MALLOC_COPY if source and
7596         destination might overlap.
7598 2000-12-27  Andreas Jaeger  <aj@suse.de>
7600         * stdio-common/printf_fp.c (__printf_fp): Add prototype for nested
7601         function.
7602         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
7603         * locale/programs/locale.c (show_locale_vars): Likewise.
7604         (show_info): Likewise.
7605         * locale/programs/ld-collate.c (collate_output): Likewise.
7606         * locale/programs/ld-ctype.c (set_class_defaults): Likewise.
7607         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
7608         * stdlib/rpmatch.c (rpmatch): Likewise.
7610         * setjmp/tst-setjmp.c: Make local functions static.
7611         * setjmp/jmpbug.c: Likewise.
7612         * signal/tst-signal.c: Likewise.
7613         * stdio-common/tfformat.c: Likewise.
7614         * string/tst-svc.c: Likewise.
7615         * time/clocktest.c: Likewise.
7616         * time/tst-getdate.c: Likewise.
7617         * dirent/list.c: Likewise.
7618         * dirent/opendir-tst1.c: Likewise.
7619         * posix/runtests.c: Likewise.
7620         * posix/tst-getaddrinfo.c: Likewise.
7621         * posix/tst-chmod.c: Likewise.
7622         * posix/wordexp-test.c: Likewise.
7623         * misc/tst-efgcvt.c: Likewise.
7624         * timezone/tst-timezone.c: Likewise.
7625         * rt/tst-clock.c: Likewise.
7626         * rt/tst-shm.c: Likewise.
7627         * rt/tst-aio2.c: Likewise.
7628         * rt/tst-aio3.c: Likewise.
7629         * rt/tst-aio4.c: Likewise.
7630         * rt/tst-aio5.c: Likewise.
7632         * dlfcn/failtest.c: Add prototype for foo.
7634         * dlfcn/glrefmain.c: Add prototype for do_test.
7636         * dlfcn/tst-dladdr.c: Add prototype for do_test.
7638         * string/test-ffs.c (main): Add prototype for nested function.
7640         * sunrpc/des_soft.c: Include rpc/des_crypt.h for prototype.
7642         * nss/XXX-lookup.c: Add prototype to shut up GCC.
7644         * include/netinet/ether.h (DECLARE_NSS_PROTOTYPES): Fix
7645         setetherent prototype.
7646         Add internal interfaces.
7648         * nis/nss_nis/nis-ethers.c (_nss_nis_setetherent): Likewise.
7649         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent): Likewise.
7651         * resolv/res_data.c: Don't add (conflicting) prototypes for _LIBC.
7653         * nis/nis_intern.h: Add prototype for __pmap_getnisport.
7655         * nss/nss_files/files-ethers.c: Include netinet/ether.h to get
7656         prototypes, remove struct etherent since it's declared in ether.h.
7657         Fix ntohost declaration.
7659         * elf/dl-profile.c (_dl_mcount): Add empty statement to shut up GCC.
7661         * include/getopt.h: Add internal interfaces.
7662         * include/termios.h: Likewise.
7663         * include/resolv.h: Likewise.
7664         * include/netdb.h: Likewise.
7665         * include/grp.h: Likewise.
7666         * include/pwd.h: Likewise.
7667         * include/shadow.h: Likewise.
7668         * include/rpc/netdb.h: Likewise.
7669         * include/setjmp.h: Likewise.
7671         * include/stdio.h: Add prototypes for compatibility functions.
7672         * include/grp.h: Likewise.
7673         * include/pwd.h: Likewise.
7674         * include/shadow.h: Likewise.
7676         * include/fenv.h: Define internal interfaces.
7678 2000-12-27  Ulrich Drepper  <drepper@redhat.com>
7680         * sysdeps/generic/bits/byteswap.h (__bswap_64): Handle constant
7681         argument case separately.
7682         * sysdeps/i386/bits/byteswap.h (__bswap_64): Likewise.
7684 2000-12-27  Andreas Jaeger  <aj@suse.de>
7686         * include/sys/wait.h: Add some prototypes.
7687         * Rules (dummy.c): Create also prototype to shut up GCC.
7689 2000-12-27  Andreas Jaeger  <aj@suse.de>
7691         * sysdeps/mach/hurd/if_index.c (__protocol_available): Uncomment,
7692         it's not needed at the moment.
7693         * sysdeps/generic/if_index.c (__protocol_available): Likewise.
7694         * sysdeps/unix/sysv/linux/if_index.c (__protocol_available): Likewise.
7696 2000-12-26  Andreas Jaeger  <aj@suse.de>
7698         * libio/getc_u.c: Include stdio.h via system path to get internal
7699         prototypes.
7700         * libio/getwc_u.c: Likewise.
7702         * stdlib/strfmon.c: Fix prototype of __printf_fp.
7704         * stdio-common/vfprintf.c (process_arg): Move __printf_fphex and
7705         __printf_fp prototypes to ...
7706         * include/printf.h: ...here.
7708         * include/stdio.h: Add some internal prototypes to shut up GCC.
7709         * include/stdlib.h: Likewise.
7711         * sysdeps/posix/sigpause.c (__sigpause): Use ISO C prototype
7712         declaration.
7714         * include/signal.h: Add prototypes for internal sigpause
7715         interfaces.
7717 2000-12-26  Ulrich Drepper  <drepper@redhat.com>
7719         * sysdeps/generic/bits/byteswap.h (__bswap_64): Make it usable for
7720         64bit platforms.  Reported by Dave Gilbert <gilbertd@treblig.org>.
7722         * string/Makefile (tests): Add tst-bswap.
7723         * string/tst-bswap.c: New file.
7725 2000-12-11  Bruno Haible  <haible@clisp.cons.org>
7727         * Makefile ($(inst_includedir)/gnu/stubs.h): Sort in the C locale.
7729 2000-12-26  Ulrich Drepper  <drepper@redhat.com>
7731         * sunrpc/Makefile (rpcgen-cmd): Use single quotes in sed call.
7732         Patch by Ed Connell <Ed.Connell@sas.com>.
7734 2000-12-24  Ulrich Drepper  <drepper@redhat.com>
7736         * locale/iso-639.def: Correct one entry.  Add two missing entries.
7738         * locale/iso-4217.def: Change entry for Eritrea.
7739         Reported by Daniel Yacob <yacob@geez.org>.
7741 2000-12-23  Ben Collins  <bcollins@debian.org>
7743         * manual/charset.texi (Extended Char Intro): Fix typo in ISO 6937
7744         description.
7746         * manual/stdio.texi (Dynamic Output): Document the return value of
7747         asprintf.  Also make the asprintf/snprintf examples a little
7748         better (check for some error returns).
7750 2000-12-22  Andreas Jaeger  <aj@suse.de>
7752         * include/stdio.h: Add __ftrylockfile prototype.
7754 2000-12-21  H.J. Lu  <hjl@gnu.org>
7756         * sysdeps/ia64/fpu/math_ldbl.h (ieee_long_double_shape_type):
7757         Make sign_exponent element signed.
7759         * sysdeps/ieee754/ldbl-96/math_ldbl.h (ieee_long_double_shape_type):
7760         Fix a typo.
7762         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Remove dead branch.
7764 2000-12-21  Andreas Jaeger  <aj@suse.de>
7766         * nis/nss_nisplus/nisplus-ethers.c (struct etherent): Removed.
7767         * inet/ether_hton.c: Likewise
7768         * inet/ether_ntoh.c: Likewise.
7770         * nis/nss_nis/nis-ethers.c (_nss_nis_getntohost_r): Fix
7771         declaration to match prototype.
7773         * include/netinet/ether.h (struct etherent): Declare here so that
7774         all implementations use the same struct.
7776         * nis/nss_nis/nis-ethers.c: Include netinet/ether.h to get
7777         prototypes.
7778         (struct ether): Removed.
7779         Use struct etherent instead of ether everywhere.
7781         * include/rpc/auth.h (DECLARE_NSS_PROTOTYPES): New.
7783         * include/rpc/auth_des.h (DECLARE_NSS_PROTOTYPES): New.
7785         * sunrpc/publickey.c: Include auth_des.h for prototypes.
7787 2000-12-20  Ulrich Drepper  <drepper@redhat.com>
7789         * math/test-misc.c: Add more tests for nextafter functions.
7791         * sysdeps/i386/fpu/s_nextafterl.c: Handle change from denormal to
7792         normal correctly.  Correct test for sign.
7793         Based on a patch by HJ Lu.
7795 2000-12-19  Ulrich Drepper  <drepper@redhat.com>
7797         * Makeconfig (preprocess-version): Add -traditional to gcc call.
7798         Cleanup sed calls.
7800 2000-12-19  Andreas Jaeger  <aj@suse.de>
7802         * include/netinet/ether.h (DECLARE_NSS_PROTOTYPES): New.
7804         * nis/nis_intern.h: Add prototype for __do_niscall3.
7806         * nis/nss_nis/nis-rpc.c (_nss_nis_setrpcent): Fix declaration to
7807         match prototype.
7809         * include/netdb.h (DECLARE_NSS_PROTOTYPES): Reformat.
7811         * include/rpc/netdb.h (DECLARE_NSS_PROTOTYPES): New.
7813         * include/aliases.h (DECLARE_NSS_PROTOTYPES): New.
7815 2000-12-18  Ulrich Drepper  <drepper@redhat.com>
7817         * math/test-misc.c: Add more tests for nextafter.
7818         * sysdeps/i386/fpu/s_nextafterl.c: Handle decrement for x<0 correctly.
7819         * sysdeps/ieee754/ldbl-96/math_ldbl.h
7820         (ieee_long_double_shape_type): Make sign_exponent element signed.
7822         * manual/message.texi: Add Estonian to plural overview list.
7823         Correct rule for Slavic languages.
7824         Patch by Stanislav Brabec <utx@penguin.cz>.
7826         * nis/nss_nis/nis-netgrp.c: Remove unnecessary initializations.
7828 2000-12-18  Andreas Jaeger  <aj@suse.de>
7830         * test-skeleton.c: Use temp_name_list instead of name_list to
7831         avoid collision with name_list from inet/netgroup.h.
7833         * nss/nss_files/files-network.c (NEED_H_ERRNO): Define.
7835         * include/grp.h (DECLARE_NSS_PROTOTYPES): New.
7836         * include/pwd.h (DECLARE_NSS_PROTOTYPES): New.
7837         * include/netdb.h (DECLARE_NSS_PROTOTYPES): New.
7838         * include/shadow.h (DECLARE_NSS_PROTOTYPES): New.
7840         * hesiod/nss_hesiod/hesiod-proto.c (_nss_hesiod_setprotoent): Fix
7841         declaration to match prototype.
7842         * hesiod/nss_hesiod/hesiod-pwd.c (_nss_hesiod_setpwent): Likewise.
7843         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_setgrent): Likewise.
7844         * hesiod/nss_hesiod/hesiod-service.c (_nss_hesiod_setservent):
7845         Likewise.
7846         * nis/nss_nis/nis-grp.c (_nss_nis_setgrent): Likewise.
7847         * nis/nss_nis/nis-pwd.c (_nss_nis_setpwent): Likewise.
7848         * nis/nss_nis/nis-proto.c (_nss_nis_setprotoent): Likewise.
7849         * nis/nss_nis/nis-service.c (_nss_nis_setservent): Likewise.
7850         (_nss_nis_getservbyport_r): Likewise.
7851         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent): Likewise.
7852         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent): Likewise.
7853         * nis/nss_nis/nis-network.c (_nss_nis_getnetent_r): Likewise.
7854         (_nss_nis_setnetent): Likewise
7855         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
7856         (_nss_nis_endnetgrent): Likewise.
7857         * nis/nss_nisplus/nisplus-netgrp.c (_nss_nisplus_endnetgrent):
7858         Likewise.
7859         (_nss_nisplus_setnetgrent): Likewise.
7860         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Likewise.
7861         * nis/nss_nisplus/nisplus-pwd.c (_nss_nisplus_setpwent): Likewise.
7862         * nis/nss_nisplus/nisplus-grp.c (_nss_nisplus_setgrent): Likewise.
7863         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_setnetent):
7864         Likewise.
7865         * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_sethostent):
7866         Likewise.
7867         * nis/nss_nisplus/nisplus-service.c (_nss_nisplus_setservent):
7868         Likewise.
7869         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_setprotoent):
7870         Likewise.
7871         * nis/nss_compat/compat-spwd.c (_nss_compat_setspent): Likewise.
7872         * nis/nss_compat/compat-pwd.c (_nss_compat_setpwent): Likewise.
7873         * nis/nss_compat/compat-grp.c (_nss_compat_setgrent): Likewise.
7874         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Likewise.
7875         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Likewise.
7876         (_nss_dns_getnetbyaddr_r): Likewise.
7878 2000-12-17  Andreas Jaeger  <aj@suse.de>
7880         * sysdeps/generic/k_sinl.c (__kernel_sinl): Fix functions
7881         parameter.
7883         * sysdeps/unix/sysv/linux/shm_open.c (freeit): Make static and add
7884         unused attribute to shut up gcc warnings.
7886         * sysdeps/generic/k_sinl.c: Include math_private for prototypes.
7887         * sysdeps/generic/k_tanl.c: Likewise.
7888         * sysdeps/generic/k_cosl.c: Likewise.
7889         * sysdeps/generic/e_j0l.c: Likewise.
7890         * sysdeps/generic/e_j1l.c: Likewise.
7891         * sysdeps/generic/e_jnl.c: Likewise.
7892         * sysdeps/generic/e_lgammal_r.c: Likewise.
7894         * elf/vismain.c: Move prototypes for functions in vismod*.c to
7895         vismod.h.
7896         * elf/vismod.h: New file.
7897         * elf/Makefile (distribute): Add vismod.h.
7898         * elf/vismod1.c: Include vismod.h.
7899         * elf/vismod2.c: Likewise.
7900         * elf/vismod3.c: Likewise.
7902         * elf/constload3.c: Add prototype declarations to shut up gcc.
7903         * elf/failobj.c: Likewise.
7904         * elf/nodelmod3.c: Likewise.
7905         * elf/filtmod1.c: Likewise.
7906         * elf/filtmod2.c: Likewise.
7907         * elf/reldepmod1.c: Likewise.
7908         * elf/reldepmod2.c: Likewise.
7909         * elf/reldepmod3.c: Likewise.
7910         * elf/reldepmod4.c: Likewise.
7911         * elf/unload2dep.c: Likewise.
7912         * elf/unload2mod.c: Likewise.
7913         * elf/ltglobmod1.c: Likewise.
7914         * elf/pathoptobj.c: Likewise.
7915         * elf/neededobj1.c: Likewise.
7916         * elf/neededobj2.c: Likewise.
7917         * elf/neededobj3.c: Likewise.
7918         * elf/neededobj4.c: Likewise.
7919         * elf/nextmod1.c: Likewise.
7920         * elf/nextmod2.c: Likewise.
7922         * locale/programs/ld-collate.c (collate_finish): Don't use labels
7923         at end of compound statement.
7924         * locale/programs/locale.c (show_info): Likewise.
7925         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Likewise.
7927 2000-12-16  Jakub Jelinek  <jakub@redhat.com>
7929         * catgets/gencat.c (read_input_file): Avoid calling obstack_free
7930         with a pointer not returned by obstack_ functions.
7932 2000-12-16  Ulrich Drepper  <drepper@redhat.com>
7934         * sysdeps/unix/sysv/aix/bits/stat.h (struct stat): Align with AIX
7935         version.
7936         (struct stat64): Likewise.
7937         Reported by Michael Keezer <mkeezer@redhat.com>.
7939         * timezone/asia: Update from tzdata2000h.
7940         * timezone/australasia: Likewise.
7941         * timezone/backward: Likewise.
7942         * timezone/europe: Likewise.
7943         * timezone/northamerica: Likewise.
7944         * timezone/southamerica: Likewise.
7945         * timezone/zone.tab: Likewise.
7947 2000-12-14  Jakub Jelinek  <jakub@redhat.com>
7949         * io/ftw.c (ftw_dir): If process_entry returned non-zero result
7950         and dir.stream is NULL, only free dir.content.
7951         * io/ftwtest.c (cb, main): Add --early-exit option to test it.
7952         * io/ftwtest-sh: Test with --early-exit.
7954 2000-12-13  Jakub Jelinek  <jakub@redhat.com>
7956         * misc/efgcvt.c (FCVT_MAXDIG): Define.
7957         (FCVT_BUFPTR): New variable.
7958         (fcvt): If fcvt_r returns -1 on the static short buffer,
7959         try to malloc a sufficiently large one and retry.
7960         (free_mem): New function.
7961         * misc/qefgcvt.c (FCVT_MAXDIG): Define.
7962         * misc/tst-efgcvt.c (fcvt_tests): Add new test.
7964 2000-12-15  Ulrich Drepper  <drepper@redhat.com>
7966         * misc/dirname.c (dirname): Fix search for second to last slash.
7968 2000-12-13  Andreas Jaeger  <aj@suse.de>
7970         * misc/tst-dirname.c (main): Fix typo in test to really use
7971         the examples from Unix98.
7972         Reported by Michael Kerrisk <mtk16@ext.canterbury.ac.nz>.
7974 2000-12-09  H.J. Lu  <hjl@gnu.org>
7976         * sysdeps/ia64/fpu/s_fabs.S: New file.
7977         * sysdeps/ia64/fpu/s_fabsf.S: New file.
7978         * sysdeps/ia64/fpu/s_fabsl.S: New file.
7980 2000-12-15  Andreas Jaeger  <aj@suse.de>
7982         * stdio-common/scanf9.c (main): Reformat and change to avoid
7983         warnings.
7985         * stdio-common/tstdiomisc.c: Make local functions static.
7986         * stdio-common/tst-printf.c: Likewise.
7988         * elf/constload2.c: Add prototype declarations to shut up gcc.
7989         * elf/dep1.c: Likewise.
7990         * elf/dep2.c: Likewise.
7991         * elf/dep3.c: Likewise.
7992         * elf/dep4.c: Likewise.
7993         * elf/ltglobmod2.c: Likewise.
7995         * libio/fmemopen.c: Make local functions static.
7997         * elf/Makefile (distribute): Added testobj.h.
7999         * elf/testobj.h: New file.
8001         * elf/testobj1.c: Include testobj.h and move prototype
8002         declarations to testobj.h.
8003         * elf/testobj2.c: Likewise.
8004         * elf/testobj3.c: Likewise.
8005         * elf/testobj4.c: Likewise.
8006         * elf/testobj5.c: Likewise.
8007         * elf/testobj6.c: Likewise.
8008         * elf/testobj1_1.c: Likewise.
8009         * elf/preloadtest.c: Likewise.
8011 2000-12-15  Ben Collins  <bcollins@debian.org>
8013         * misc/sys/cdefs.h: Fix thinko in checks for flexarr macros.
8014         Patch by Akim Demaille <akim@epita.fr> in Debian bug report.
8016 2000-12-14  H.J. Lu  <hjl@gnu.org>
8018         * sysdeps/ieee754/flt-32/s_sincosf.c (__sincosf): The exponent
8019         field in a float is 8 bits, not 11 bits.
8021 2000-12-13  Jakub Jelinek  <jakub@redhat.com>
8023         * math/test-misc.c (main): Adjust m for IEEE quad long double.
8025 2000-12-13  Andreas Jaeger  <aj@suse.de>
8027         * manual/message.texi (Using gettextized software): Fix typo.
8029         * manual/charset.texi (Converting a Character): Fix mbstouwcs
8030         program to compile.
8031         Patch by Martin Buchholz <martin@xemacs.org>.
8033         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Fix typo.
8034         Reported by Michael Kerrisk <mtk16@ext.canterbury.ac.nz>.
8036 2000-12-11  Andreas Jaeger  <aj@suse.de>
8038         * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Declare
8039         kernel_sigset_t and use it.
8040         Patch by Hiroyuki Machida <machida@sm.sony.co.jp>.
8042 2000-12-10  Richard Henderson  <rth@redhat.com>
8044         * sysdeps/alpha/alphaev67/fpu/Implies: New file.
8045         * sysdeps/alpha/alphaev6/fpu/e_sqrtf.S: New file.
8046         * sysdeps/alpha/alphaev6/fpu/e_sqrt.S: New file.
8048 2000-12-10  Jakub Jelinek  <jakub@redhat.com>
8050         * sysdeps/alpha/htonl.S: Fix a typo.
8052 2000-12-10  Jakub Jelinek  <jakub@redhat.com>
8054         * sysdeps/alpha/alphaev6/stxcpy.S: Exchange t8 with t10.
8056 2000-12-10  Andreas Jaeger  <aj@suse.de>
8058         * locale/programs/ld-ctype.c (charclass_symbolic_ellipsis): Fixed
8059         cast as suggested by Jakub Jelinek <jakub@redhat.com> and Ulrich
8060         Drepper <drepper@redhat.com>.
8062 2000-12-09  Andreas Jaeger  <aj@suse.de>
8064         * sysdeps/unix/sysv/linux/mips/sigaction.c: New file.
8066         * sysdeps/unix/sysv/linux/mips/sys/acct.h: Removed, we can use the
8067         generic version.
8068         Patches by Hiroyuki Machida <machida@sm.sony.co.jp>.
8070         * locale/programs/ld-collate.c (handle_ellipsis): Fix format
8071         string.
8073         * locale/programs/ld-ctype.c (charclass_symbolic_ellipsis): Fix
8074         format string.
8076         * nscd/hstcache.c (addhstbyname): Add cast to avoid warning.
8077         * nscd/connections.c (handle_request): Likewise.
8078         * nscd/pwdcache.c (addpwbyname): Likewise.
8079         * nscd/grpcache.c (addgrbyname): Likewise.
8081         * nscd/nscd_conf.c (nscd_parse_file): Remove extra argument.
8083 2000-12-09  Ulrich Drepper  <drepper@redhat.com>
8085         * string/stratcliff.c: Add tests for stpncpy, memcpy, and mempcpy.
8087         * Makeconfig (default_cflags): Make -O2 the default for stable
8088         releases.
8090 2000-12-08  H.J. Lu  <hjl@gnu.org>
8092         * sysdeps/ia64/fpu/s_isinfl.S: Renamed to ...
8093         * sysdeps/ia64/fpu/s_isinf.S: This.
8094         Add a .pred.rel.mutex note to avoid false report.
8096         * sysdeps/ia64/fpu/s_isnanl.S: Renamed to ...
8097         * sysdeps/ia64/fpu/s_isnan.S: This.
8099         * sysdeps/ia64/fpu/s_fpclassify.S: New file.
8100         * sysdeps/ia64/fpu/s_fpclassifyf.S: New file.
8101         * sysdeps/ia64/fpu/s_fpclassifyl.S: New file.
8102         * sysdeps/ia64/fpu/s_isinff.S: New file.
8103         * sysdeps/ia64/fpu/s_isinfl.S: New file.
8104         * sysdeps/ia64/fpu/s_isnanf.S: New file.
8105         * sysdeps/ia64/fpu/s_isnanl.S: New file.
8106         * sysdeps/ia64/fpu/s_finite.S: New file.
8107         * sysdeps/ia64/fpu/s_finitef.S: New file.
8108         * sysdeps/ia64/fpu/s_finitel.S: New file.
8109         * sysdeps/ia64/fpu/s_signbit.S: New file.
8110         * sysdeps/ia64/fpu/s_signbitf.S: New file.
8111         * sysdeps/ia64/fpu/s_signbitl.S: New file.
8112         * sysdeps/ia64/fpu/s_copysign.S: New file.
8113         * sysdeps/ia64/fpu/s_copysignf.S: New file.
8114         * sysdeps/ia64/fpu/s_copysignl.S: New file.
8116 2000-12-08  Ulrich Drepper  <drepper@redhat.com>
8118         * math/libm-test.inc (main): Fix typos in messages.
8120         * string/stratcliff.c: Add test for rawmemchr.
8122 2000-12-08  Jakub Jelinek  <jakub@redhat.com>
8124         * elf/dl-open.c (_dl_open): If objname points right after errstring,
8125         allocate it together with errstring using alloca.
8126         * elf/dl-error.c (_dl_signal_error): If malloc failed, set objname
8127         to "", because it might point to local stack.
8129 2000-12-05  H.J. Lu  <hjl@gnu.org>
8131         * nss/Makefile (routines): Add getnssent and getnssent_r.
8132         * nss/nsswitch.h (__nss_setent): New internal NSS function.
8133         (__nss_endent): Likewise.
8134         (__nss_getent_r): Likewise.
8135         (__nss_getent): Likewise.
8136         * nss/getnssent_r.c: New file.
8137         * nss/getnssent.c: New file.
8138         * nss/getXXent.c (H_ERRNO_VAR): Updated.
8139         (GETFUNC_NAME): Updated to call __nss_getent ().
8140         * nss/getXXent_r.c (H_ERRNO_VAR_P): New.
8141         (STAYOPEN_TMPVAR): Updated.
8142         (STAYOPEN_VAR): Updated.
8143         (SETFUNC_NAME): Updated to call __nss_setent ().
8144         (ENDFUNC_NAME): Updated to call __nss_endent ().
8145         (INTERNAL (REENTRANT_GETNAME)): Updated to call __nss_getent_r ().
8147 2000-12-08  Andreas Jaeger  <aj@suse.de>
8149         * nscd/dbg_log.h (dbg_log): Correct attribute.
8151 2000-12-08  Jakub Jelinek  <jakub@redhat.com>
8153         * elf/dl-load.c (fillin_rpath): Don't assume there is '\0' at
8154         cp + len.  Compute where from dirname.
8155         Reported by <jreiser@BitWagon.com>.
8157 2000-12-08  Richard Henderson  <rth@twiddle.net>
8159         * sysdeps/alpha/_mcount.S: Fix typo.
8160         * sysdeps/alpha/strncpy.S: Likewise.
8162         * sysdeps/alpha/alphaev6/Implies: New file.
8163         * sysdeps/alpha/alphaev67/Implies: New file.
8164         * sysdeps/alpha/alphaev67/ffs.S: New file.
8165         * sysdeps/alpha/alphaev67/ffsll.S: New file.
8166         * sysdeps/alpha/alphaev67/rawmemchr.S: New file.
8167         * sysdeps/alpha/alphaev67/stpcpy.S: New file.
8168         * sysdeps/alpha/alphaev67/stpncpy.S: New file.
8169         * sysdeps/alpha/rawmemchr.S: New file.
8170         * sysdeps/alpha/strcat.S: Tail call to __stxcpy.
8171         * sysdeps/alpha/strcpy.S: Likewise.
8173         From GMP 3.1.1:
8174         * sysdeps/alpha/alphaev6/addmul_1.s: New file.
8176         From rick.gorton@alpha-processor.com:
8177         * sysdeps/alpha/alphaev6/memchr.S: New file.
8178         * sysdeps/alpha/alphaev6/memcpy.S: New file.
8179         * sysdeps/alpha/alphaev6/memset.S: New file.
8180         * sysdeps/alpha/alphaev6/stxcpy.S: New file.
8181         * sysdeps/alpha/alphaev6/stxncpy.S: New file.
8182         * sysdeps/alpha/alphaev67/strcat.S: New file.
8183         * sysdeps/alpha/alphaev67/strchr.S: New file.
8184         * sysdeps/alpha/alphaev67/strlen.S: New file.
8185         * sysdeps/alpha/alphaev67/strncat.S: New file.
8186         * sysdeps/alpha/htonl.S: Use a shorter sequence.
8188 2000-12-08  Jakub Jelinek  <jakub@redhat.com>
8190         * inet/getnameinfo.c (getnameinfo): Fix NI_NOFQDN support.
8191         Reported by <pspencer@fields.utoronto.ca>.
8193 2000-12-07  Jes Sorensen  <jes@linuxcare.com>
8195         * sysdeps/ia64/elf/start.S (__data_start): Add __data_start variable.
8196         Pointed out by Hans Boehm.
8198 2000-12-07  H.J. Lu  <hjl@gnu.org>
8200         * elf/dl-version.c (match_symbol): Check map->l_name[0] for printing.
8202 2000-12-07  Andreas Jaeger  <aj@suse.de>
8204         * misc/error.c: Add format attributes for __error and __error_at_line.
8206         * nscd/dbg_log.h: Add format attribute.
8208 2000-12-08  Ulrich Drepper  <drepper@redhat.com>
8210         * misc/sys/syslog.h: Add format attributes to syslog and vsyslog.
8211         Patch by Joseph S. Myers <jsm28@cam.ac.uk>.
8213 2000-12-07  Dan Pop  <Dan.Pop@cern.ch>
8215         * sysdeps/ia64/strcpy.S: Fix a bug in a recovery code sequence.
8217 2000-12-06  Ulrich Drepper  <drepper@redhat.com>
8219         * sysdeps/unix/sysv/aix/Makefile [$(subdir)==misc]
8220         (sysdep_routines): Add uitrunc.
8221         * sysdeps/unix/sysv/aix/uitrunc.c: New file.
8222         Patches by Michael Keezer <mkeezer@redhat.com>.
8224 2000-12-06  Roland McGrath  <roland@frob.com>
8226         * sysdeps/mach/hurd/ioctl.c (__ioctl): Don't clobber ARG as we copy in
8227         argument data, since it will be used to copy out too (for INOUT).
8228         Reported by Marcus Brinkmann <marcus@gnu.org>.
8230         * sysdeps/mach/hurd/ioctl.c: Include <stdint.h>.
8231         (__ioctl): Use uintptr_t instead of unsigned long int.
8233 2000-12-06  Jim Wilson  <wilson@redhat.com>
8235         * stdlib/l64a.c (l64a): Truncate M to 32-bit value.
8237 2000-12-06  Ulrich Drepper  <drepper@redhat.com>
8239         * stdio-common/printf_fp.c (__printf_fp): Handle decimal point in
8240         x.5 rounding correctly.
8242 2000-12-06  Mark Kettenis  <kettenis@gnu.org>
8244         * stdio-common/perror.c (perror): Conditionalize code dealing with
8245         wide-oriented streams on USE_IN_LIBIO.
8247 2000-12-06  Mark Kettenis  <kettenis@gnu.org>
8249         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup): Mark
8250         as internal_function.
8252 2000-12-05  Ulrich Drepper  <drepper@redhat.com>
8254         * sysdeps/alpha/elf/start.S (__data_start): Define.
8256 2000-12-05  H.J. Lu  <hjl@gnu.org>
8258         * nss/getXXent_r.c (setup): Change the return type to int.
8260 2000-12-05  Ulrich Drepper  <drepper@redhat.com>
8262         * sysdeps/unix/sysv/aix/Makefile [$(subdir)==misc]
8263         (sysdep_routines): Add restf and savef.
8264         * sysdeps/unix/sysv/aix/restf.c: New file.
8265         * sysdeps/unix/sysv/aix/savef.c: New file.
8266         Patches by Michael Keezer <mkeezer@redhat.com>.
8268         * sysdeps/unix/opendir.c (__opendir): Don't use o_directory_works
8269         if O_DIRECTORY is not defined.
8270         Patch by Michael Keezer <mkeezer@redhat.com>.
8272         * include/libc-symbols.h (C_SYMBOL_DOT_NAME): Define.
8273         Patch by Michael Keezer <mkeezer@redhat.com>.
8275         * locale/programs/linereader.c (get_toplvl_escape): Recognize more
8276         than 4 bytes in escape sequence.
8277         Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
8279 2000-12-05  Andreas Jaeger  <aj@suse.de>
8281         * sysdeps/unix/sysv/linux/mips/sys/tas.h (_test_and_set): Don't
8282         set mips2.
8284         * sysdeps/unix/sysv/linux/mips/sysdep.h: New file.
8286         * sysdeps/unix/sysv/linux/mips/sys/syscall.h: Removed.
8288         * sysdeps/unix/mips/sysdep.h: Use SYS_ify.
8289         Patches by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
8291         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Mark as
8292         internal_function.
8293         * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Likewise.
8294         * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start_cleanup): Likewise.
8296         * sysdeps/generic/dl-cache.c: Remove declaration of
8297         _dl_sysdep_read_whole_file.
8299         * elf/dl-load.c (_dl_map_object): Remove declaration of
8300         _dl_load_cache_lookup.
8302         * sysdeps/generic/ldsodefs.h: Add declarations of
8303         _dl_load_cache_lookup, _dl_unload_cache,
8304         _dl_sysdep_read_whole_file, _dl_sysdep_start and
8305         _dl_sysdep_start_cleanup.
8307         * elf/rtld.c: Remove prototypes that are defined in ldsodefs.h
8308         now.
8310         * elf/dl-misc.c: Include <ldsodefs.h> to get prototypes.
8311         * sysdeps/generic/dl-environ.c: Likewise.
8313         * stdio-common/printf_fp.c: Include <gmp.h> instead of
8314         <stdlib/gmp.h>.
8315         * math/atest-exp.c: Likewise.
8316         * math/atest-exp2.c: Likewise.
8317         * math/atest-sincos.c: Likewise.
8318         * stdio-common/_itoa.c: Likewise.
8319         * stdio-common/_itowa.c: Likewise.
8321         * include/gmp.h: New file with internal prototypes.
8323         * sysdeps/generic/longjmp.c: Move _longjmp_unwind declaration from
8324         here to...
8325         * include/setjmp.h: ...here.
8327         * locale/Makefile (routines): Remove codeset_name since it's not
8328         needed anywhere.
8330         * locale/codeset_name.c: Removed.
8332 2000-12-05  Ulrich Drepper  <drepper@redhat.com>
8334         * sysdeps/unix/sysv/aix/sys/param.h: Define MAXHOSTNAMELEN here.
8336 2000-12-05  Andreas Jaeger  <aj@suse.de>
8338         * sysdeps/unix/sysv/linux/sys/param.h: Revert last patch.
8340 2000-12-05  Martin Schwidefsky  <schwidefsky@de.ibm.com>
8342         * sysdeps/unix/sysv/linux/s390/mmap64.S: Use mmap if mmap2 isn't
8343         available.
8345 2000-12-05  Andreas Jaeger  <aj@suse.de>
8347         * nss/test-netdb.c: Mark local functions as static to avoid
8348         warnings.
8349         (main): Use return to silence warning.
8351         * stdlib/test-canon.c (check_path): Mark as static to avoid warning.
8353         * stdio-common/test-popen.c: Mark local functions as static to
8354         avoid warnings.
8355         (main): Use return to silence warning.
8357         * stdlib/testsort.c (compare): Mark as static to avoid warning.
8359         * assert/test-assert.c: Mark local functions as static to avoid
8360         warnings.
8361         * assert/test-assert-perr.c: Likewise.
8363         * math/libm-test.inc (main): Use return to silence warnings.
8365 2000-12-04  Ulrich Drepper  <drepper@redhat.com>
8367         * math/fenv.h: Fix typo in comment.
8369         * math/test-misc.c (main): Add a few more over and underflow tests
8370         for scalb.
8372         * sysdeps/i386/fpu/e_scalb.S: Handle NaN as first parameter correctly.
8373         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
8374         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
8375         * math/w_scalb.c: Don't use matherr except in SVID mode.
8376         * math/w_scalbf.c: Likewise.
8377         * math/w_scalbl.c: Likewise.
8378         * math/test-misc.c: Add test for NaN and scalbl.
8379         Reported by Fred J. Tydeman <tydeman@tybor.com>.
8381 2000-12-04  Ulrich Drepper  <drepper@redhat.com>
8383         * configure.in: Define HAVE_ASM_GLOBAL_DOT_NAME for AIX.
8384         * config.h.in: Add HAVE_ASM_GLOBAL_DOT_NAME.
8385         * include/libc-symbols.h (strong_alias): Define special version
8386         for HAVE_ASM_GLOBAL_DOT_NAME.
8387         (weak_alias): Likewise.
8388         * sysdeps/powerpc/bsd-setjmp.S: Use strong_alias not .set.
8389         * sysdeps/unix/sysv/aix/Makefile [$(subdir)==login]
8390         (sysdep_routines): Add setutxent, getutxent, endutxent, getutxid,
8391         getutxline, pututxline, and utmpxname.
8392         * sysdeps/unix/sysv/aix/fchdir.c: Define __fchdir.
8393         * sysdeps/unix/sysv/aix/lseek.c: Define __libc_lseek alias.
8394         * sysdeps/unix/sysv/aix/open.c: Define __libc_open alias.
8395         * sysdeps/unix/sysv/aix/pread.c: Define pread alias.
8396         * sysdeps/unix/sysv/aix/pread64.c: Define pread64 alias.
8397         * sysdeps/unix/sysv/aix/sysdep.h (JUMPTARGET): Use C_TEXT.
8398         * sysdeps/unix/sysv/aix/bits/types.h: Define __clockid_t and __timer_t.
8399         * sysdeps/unix/sysv/aix/bits/utmp.h: Cleanup.  Add comments.
8400         * sysdeps/unix/sysv/linux/sys/param.h (MAXHOSTNAMELEN): Define.
8401         Patches by Michael Keezer <mkeezer@redhat.com>.
8403 2000-12-04  H.J. Lu  <hjl@gnu.org>
8405         * configure.in: Change --with-oldest-abi=ABI to
8406         --enable-oldest-abi=ABI.
8408 2000-12-02  Bruno Haible  <haible@clisp.cons.org>
8410         * stdio-common/perror.c (perror): If stderr is wide-oriented, use
8411         fwprintf instead of fprintf.
8413 2000-12-04  Ulrich Drepper  <drepper@redhat.com>
8415         * sysdeps/alpha/fpu/bits/mathdef.h: Remove FLT_EVAL_METHOD and
8416         DECIMAL_DIG definitions.
8417         * sysdeps/arm/fpu/bits/mathdef.h: Likewise
8418         * sysdeps/generic/bits/mathdef.h: Likewise
8419         * sysdeps/i386/fpu/bits/mathdef.h: Likewise
8420         * sysdeps/ia64/fpu/bits/mathdef.h: Likewise
8421         * sysdeps/m68k/fpu/bits/mathdef.h: Likewise
8422         * sysdeps/powerpc/fpu/bits/mathdef.h: Likewise
8423         * sysdeps/sparc/fpu/bits/mathdef.h: Likewise
8424         * sysdeps/sh/sh4/fpu/bits/mathdef.h: Likewise
8426 2000-12-03  Ulrich Drepper  <drepper@redhat.com>
8428         * math/test-fenv.c (main): Use return instead of exit to avoid warning.
8430         * math/atest-exp.c: Mark local functions as static to avoid warnings.
8431         * math/atest-exp2.c: Likewise.
8432         * math/atest-sincos.c: Likewise.
8434         * sysdeps/i386/fpu/bits/mathdef.h (DECIMAL_DIG): Correct value.
8435         Reported by Fred J. Tydeman <tydeman@tybor.com>.
8437         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Hopefully fix
8438         the handling of denormalized numbers.
8440         * math/test-misc.c (main): Test for fpclassify and pseudo denormal
8441         numbers on x86.
8442         * sysdeps/i386/fpu/fpclassifyl.c: New file.
8444         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Handle the
8445         pseudo denormal representation of LDBL_MIN.
8447         * iconvdata/SJIS.irreversible: Remove unnecessary entries.
8448         * iconvdata/EUC-JP.irreversible: Remove unnecessary entries.
8450         * iconvdata/sjis.c: Enable round-trip mapping of backslash and tilde.
8451         * iconvdata/jis0208.c: Likewise.
8452         * iconvdata/jis0212.c: Likewise.
8453         Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
8455         * math/test-misc.c (main): More tests for frexp and some for
8456         fpclassify and isnormal.
8458         * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf): Correct
8459         test for subnormal.
8460         Reported by Fred J. Tydeman <tydeman@tybor.com>.
8462         * math/test-misc.c (main): Add tests for frexp.
8463         Reported by Fred J. Tydeman <tydeman@tybor.com>.
8464         * sysdeps/i386/fpu/s_frexpl.S: Don't overflow during the computation.
8466 2000-12-02  H.J. Lu  <hjl@gnu.org>
8468         * locale/lc-time.c (_nl_init_era_entries): Pass L'\0' instead of
8469         '\0' to wcschr.
8471 2000-12-02  Ulrich Drepper  <drepper@redhat.com>
8473         * sysdeps/i386/fpu/s_frexp.S: Add missing fwait.
8474         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
8475         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
8477         * sysdeps/generic/glob.c: Adjust types of several variables to
8478         avoid warnings.
8480 2000-12-01  Ulrich Drepper  <drepper@redhat.com>
8482         * sysdeps/unix/sysv/linux/shm_open.c: Remove incorrect comment.
8484 2000-11-30  Roland McGrath  <roland@frob.com>
8486         * hurd/hurd/ioctl.h (_HURD_HANDLE_IOCTLS_1): New macro.
8487         (_HURD_HANDLE_IOCTLS, _HURD_HANDLE_IOCTL): Redefine using it, so as to
8488         allow multiple instances using the same function name in one file.
8490 2000-12-01  Ulrich Drepper  <drepper@redhat.com>
8492         * configure.in: Correct test for pserver CVS access.
8494 2000-11-28  H.J. Lu  <hjl@gnu.org>
8496         * libio/libio.h: Remove extra "#if ... #endif".
8498 2000-11-29  H.J. Lu  <hjl@gnu.org>
8500         * stdio-common/vfscanf.c (ORIENT): Swap the COMPILE_WSCANF case.
8502 2000-12-01  H.J. Lu  <hjl@gnu.org>
8504         * nss/getXXbyYY_r.c: Fix verioned symbol handling.
8505         * nss/getXXent_r.c: Likewise.
8506         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
8508 2000-11-30  H.J. Lu  <hjl@gnu.org>
8510         * scripts/abi-versions.awk (oldest_abi): New variable.
8511         Handle the oldest ABI supported.
8513         * Makerules ($(common-objpfx)abi-versions.h): Set oldest_abi
8514         for scripts/abi-versions.awk.
8516         * configure.in: Add --with-oldest-abi=ABI.
8517         * configure: Rebuild.
8519         * config.make.in (oldest-abi): New.
8521         * config.h.in (GLIBC_OLDEST_ABI): New.
8523         * csu/version.c (banner): Support GLIBC_OLDEST_ABI.
8525 2000-11-30  Jakub Jelinek  <jakub@redhat.com>
8527         * locale/setlocale.c (setname): Free for all categories, not just
8528         LC_ALL.
8529         (setlocale): Store a copy of string passed by user, not the string
8530         itself.
8532 2000-11-30  Roland McGrath  <roland@frob.com>
8534         * sysdeps/mach/hurd/defs.c (init_stdio): Put this on __libc_subinit
8535         rather than _hurd_fd_subinit, so it happens after it's safe to use
8536         libc facilities like malloc.
8538 2000-11-28  Andreas Jaeger  <aj@suse.de>
8540         * sysdeps/unix/sysv/linux/getdents.c: Add _syscall_getdents64
8541         declaration, adjust declaration of __syscall_getdents to match
8542         kernel.
8544 2000-11-29  H.J. Lu  <hjl@gnu.org>
8546         * sysdeps/generic/readelflib.c (check_ptr): Undefine it first.
8548 2000-11-29  Andreas Jaeger  <aj@suse.de>
8550         * sysdeps/unix/sysv/linux/hppa/brk.c (__brk): Remove unused variable.
8552 2000-11-28  Ulrich Drepper  <drepper@redhat.com>
8554         * dlfcn/defaultmod1.c: Add prototypes to avoid warnings.
8555         * dlfcn/defaultmod2.c: Likewise.
8556         * dlfcn/dlopen.c: Likewise.
8557         * dlfcn/dlopenold.c: Likewise.
8558         * dlfcn/failtestmod.c: Likewise.
8559         * dlfcn/glreflib1.c: Likewise.
8560         * dlfcn/glreflib2.c: Likewise.
8561         * dlfcn/eval.c: Likewise.  Add attributes.
8563         * ctype/ctype-extn.c: Define isblank and not __isblank.
8565         * time/strftime.c: Add const where necessary to avoid warnings.
8566         * time/strptime.c (strptime_internal): Add casts to avoid warnings.
8568 2000-11-22  Paul Eggert  <eggert@twinsun.com>
8570         * time/strftime.c (my_strftime): Do not invoke mbrlen with a
8571         size of (size_t) -1; it's not portable.
8573 2000-11-28  Ulrich Drepper  <drepper@redhat.com>
8575         * sysdeps/i386/fpu/libm-test-ulps: Adjust some values for the
8576         crappy i486 FPU.
8577         Reported by Michael Deutschmann <michael@talamasca.ocis.net>.
8579 2000-11-14  Jes Sorensen  <jes@linuxcare.com>
8581         * sysdeps/ia64/_mcount.S: Call __mcount instead of __mcount_internal.
8583         * sysdeps/ia64/Makefile: Compile _mcount.S in subdir gmon as
8584         _mcount is required by profiled binaries.
8586         * sysdeps/unix/sysv/linux/ia64/machine-gmon.h: Moved to...
8587         * sysdeps/ia64/machine-gmon.h: ...here.
8589 2000-11-28  Masahide Washizawa  <washi@jp.ibm.com>
8591         * iconvdata/Makefile (modules): Add IBM922, IBM1124, and IBM1129.
8592         (distribute): Add ibm922.c, ibm1124.c, ibm1129.c, ibm922.h, ibm1124.h,
8593         and ibm1129.h.
8594         * iconvdata/gconv-modules: Add entries for IBM922, IBM1124, and
8595         IBM1129.
8596         * iconvdata/ibm922.c: New file.
8597         * iconvdata/ibm922.h: New file.
8598         * iconvdata/ibm1124.c: New file.
8599         * iconvdata/ibm1124.h: New file.
8600         * iconvdata/ibm1129.c: New file.
8601         * iconvdata/ibm1129.h: New file.
8602         * iconvdata/testdata/IBM922: New file.
8603         * iconvdata/testdata/IBM922..UTF8: New file.
8604         * iconvdata/testdata/IBM1124: New file.
8605         * iconvdata/testdata/IBM1124..UTF8: New file.
8606         * iconvdata/testdata/IBM1129: New file.
8607         * iconvdata/testdata/IBM1129..UTF8: New file.
8609 2000-11-28  Ulrich Drepper  <drepper@redhat.com>
8611         * catgets/gencat.c (normalize_line): Take extra parameter with escape
8612         character.  Change callers.
8613         (open_conversion): Determine mapping of 0x5c as wchar_t value.
8614         * catgets/Makefile: Add rules to build and run test-gencat.
8615         * catgets/sample.SJIS: New file.
8616         * catgets/test-gencat.c: New file.
8617         * catgets/test-gencat.sh: New file.
8618         Report and test case by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
8620 2000-11-28  Andreas Jaeger  <aj@suse.de>
8622         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Synch with generic
8623         Linux version.
8625 2000-11-28  Ulrich Drepper  <drepper@redhat.com>
8627         * sysdeps/unix/sysv/linux/bits/socket.h: Fix last patch.
8629 2000-11-28  Andreas Jaeger  <aj@suse.de>
8631         * sysdeps/unix/sysv/linux/bits/socket.h (struct cmsghdr): Use
8632         __flexarr.
8633         * sysdeps/unix/sysv/linux/mips/bits/socket.h (struct cmsghdr):
8634         Likewise.
8636 2000-11-27  Ulrich Drepper  <drepper@redhat.com>
8638         * misc/getusershell.c: Make strings in okshells array const.
8639         * misc/regexp.c: Add const to cast to avoid warnings.
8640         * sysdeps/unix/sysv/linux/llseek.c: Add prototype for __llseek.
8641         * sysdeps/unix/sysv/linux/i386/setresuid.c: Add prototype for
8642         __setresuid.
8643         * sysdeps/unix/sysv/linux/i386/setresgid.c: Add prototype for
8644         setresgid.
8645         * misc/error.c: Add prototypes for __error and __error_at_line.
8646         * misc/mntent_r.c (__getmntent_r): Add break at end of switch
8647         statement to avoid warning.
8648         * test-skeleton.c: Mark timeout_handler with noreturn.
8649         * iconv/skeleton.c (get16u): Add const to cast.
8650         (get32u): Likewise.
8651         * iconvdata/gb18030.c: Likewise.
8652         * iconvdata/iso-2022-cn-ext.c: Likewise.
8653         * iconvdata/ansi_x3.110.c: Add cast to avoid warning.
8654         * iconvdata/big5.c: Likewise.
8655         * iconvdata/big5hkscs.c: Likewise.
8656         * iconvdata/iso_6937.c: Likewise.
8657         * iconvdata/iso_6937-2.c: Likewise.
8658         * iconvdata/t.61.c: Likewise.
8659         * iconvdata/iso646.c: Add prototypes for gconv_init and gconv_env.
8660         * iconvdata/unicode.c: Likewise.
8661         * iconvdata/utf-16.c: Likewise.
8662         * iconvdata/cns11643.h (ucs4_to_cns11643): Define needed as size_t.
8663         * iconv/gconv_trans.c (__gconv_translit_find): Avoid one warning
8664         with little code shuffling.
8666         * sysdeps/powerpc/Makefile (CFLAGS-initfini.s): Add -O1 to avoid
8667         the problems introduced when the user selects -O3.
8669         * iconv/gconv.h (__gconv_info): Define __data element using __flexarr.
8670         * misc/sys/cdefs.h: Define __flexarr.
8671         Proposed by Joseph S. Myers <jsm28@cam.ac.uk>.
8673         * iconvdata/iso-2022-jp.c: Add prototypes to avoid warnings.
8674         * iconv/skeleton.c: Likewise.
8675         * iconvdata/iso8859-1.c (BODY to 8859-1): Add const to cast.
8676         * iconv/loop.c (get16): Add const to cast.
8677         (get32): Likewise.
8679 2000-11-27  Andreas Jaeger  <aj@suse.de>
8681         * login/programs/pt_chown.c (do_pt_chown): Mark function as static
8682         to avoid warning.
8683         * login/programs/utmpdump.c (print_entry): Likewise.
8685 2000-11-25  Maciej W. Rozycki  <macro@ds2.pg.gda.pl>
8687         * sysdeps/mips/__longjmp.c (__longjmp): Restore SP and FP last and
8688         in a single asm as they may be used to access other stored
8689         registers.
8690         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
8692 2000-11-27  Andreas Jaeger  <aj@suse.de>
8694         * rt/tst-aio.c: Mark test functions as static to avoid warnings.
8695         * rt/tst-aio64.c: Likewise.
8697 2000-11-27  Ulrich Drepper  <drepper@redhat.com>
8699         * catgets/Makefile (test1.cat): Set LC_ALL, LOCPATH, and GCONV_PATH
8700         for gencat run.
8701         (libc.cat): Likewise.
8702         * catgets/gencat.c: Implement handling of message catalogs encoded
8703         with stateful character sets.
8704         Based on a patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
8706 2000-11-26  Ulrich Drepper  <drepper@redhat.com>
8708         * sysdeps/unix/opendir.c (__opendir): Add cast to avoid warning.
8710         * inet/getnameinfo.c: Adjust casts to avoid warnings.
8711         * inet/rcmd.c: Likewise.
8712         * inet/ruserpass.c: Likewise.
8713         * inet/netinet/in.h (IN6_IS_ADDR_UNSPECIFIED, IN6_IS_ADDR_LOOPBACK,
8714         IN6_IS_ADDR_MULTICAST, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
8715         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, IN6_ARE_ADDR_EQUAL,
8716         IN6_IS_ADDR_MC_NODELOCAL, IN6_IS_ADDR_MC_LINKLOCAL,
8717         IN6_IS_ADDR_MC_SITELOCAL, IN6_IS_ADDR_MC_ORGLOCAL,
8718         IN6_IS_ADDR_MC_GLOBAL): Preserve const in cast.
8719         * include/aliases.h: Add prototypes for internal __getalias* functions.
8720         * include/netdb.h: Add prototypes for __old_gethostent_r,
8721         __old_gethostbyaddr_r, __old_gethostbyname_r, __old_gethostbyname2_r,
8722         __old_getnetent_r, __old_getnetbyaddr_r, __old_getnetbyname_r,
8723         __old_getservent_r, __old_getservbyname_r, __old_getservbyport_r,
8724         __old_getprotoent_r, __old_getprotobyname_r, __old_getprotobynumber_r.
8725         * include/rpc/netdb.h: Add prototypes for __old_getrpcbyname_r,
8726         __old_getrpcbynumber_r, __old_getrpcent_r.
8728         * include/rpc/netdb.h: Add __getrpcbyname_r, __getrpcbynumber_r,
8729         __getrpcent_r prototypes.
8731 2000-11-25  Ulrich Drepper  <drepper@redhat.com>
8733         * string/strcoll.c: Add casts to avoid warnings.
8734         * string/strnlen.c: Likewise.
8735         * string/strxfrm.c: Likewise.
8736         * sysdeps/generic/_strerror.c: Likewise.
8737         * sysdeps/generic/memrchr.c: Likewise.
8738         * sysdeps/generic/strcasestr.c: Likewise.
8739         * sysdeps/generic/strstr.c: Likewise.
8741         * locale/weight.h (findidx): Add const to cast to avoid warning.
8743         * elf/loadfail.c: Little cosmetic changes to avoid warnings.
8744         * elf/loadtest.c: Likewise.
8745         * elf/multiload.c: Likewise.
8746         * elf/next.c: Likewise.
8747         * elf/nodelete.c: Likewise.
8748         * elf/noload.c: Likewise.
8749         * elf/order.c: Likewise.
8750         * elf/origtest.c: Likewise.
8751         * elf/preloadtest.c: Likewise.
8752         * elf/restest1.c: Likewise.
8754         * sysdeps/i386/i486/bits/string.h (__strncat_g) [i686]: Fourth
8755         parameter of asm must be in %ecx.
8757         * string/tester.c: Mark test functions as static to avoid warnings.
8759         * iconv/gconv_conf.c (read_conf_file): Make mod_counter static to
8760         preserve value over different gconv-modules files.
8762 2000-11-24  Ulrich Drepper  <drepper@redhat.com>
8764         * locale/findlocale.c: Add casts to avoid warnings.
8765         * locale/localeinfo.h (LIMAGIC): Add cast to avoid warnings.
8766         * misc/efgcvt_r.c (fcvt_r): Use ssize_t instead of int and add cast
8767         to avoid warnings.
8768         * misc/tsearch.c (const_node): New type.
8769         (trecurse): Correct casts to avoid warnings.
8770         (__twalk): Likewise.
8771         * stdlib/tst-limits.c: Add z modifier to formats for WORD_BIT and
8772         LONG_BIT.
8774         * debug/backtrace-tst.c (compare): Add casts to avoid warnings.
8776         * test-skeleton.c: Mark local functions as static to avoid warnings.
8778 2000-11-23  H.J. Lu  <hjl@gnu.org>
8780         * rt/tst-aio6.c (do_test): Use pipe instead of STDIN_FILENO to
8781         support the background job.
8782         Fix a typo.
8784 2000-11-24  Ulrich Drepper  <drepper@redhat.com>
8786         * iconv/gconv_conf.c (insert_module): Replace old entry if new one
8787         has same names but lower cost.
8789 2000-11-23  Jakub Jelinek  <jakub@redhat.com>
8791         * sysdeps/sparc/sparc32/dl-machine.h: Ifdef out handling for relocs
8792         which never occur during bootstrap.
8793         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
8795 2000-11-23  Andreas Jaeger  <aj@suse.de>
8797         * nss/nss_files/files-hosts.c: Remove getipnodebyname.
8799         * nss/Versions: Remove _nss_files_getipnodebyname_r.
8801         * sysdeps/unix/sysv/linux/Versions: Fix typo in last patch.
8803 2000-11-18  Martin Buchholz  <martin@xemacs.org>
8805         * csu/gmon-start.c (__gmon_start__): Avoid over-clever trick `if
8806         (called++) return;'
8808 2000-11-21  Alan Modra  <alan@linuxcare.com.au>
8810         * sysdeps/generic/bsd-_setjmp.c (setjmp): Rename to _setjmp.
8812         * csu/abi-note.S: Correct comment for operating system number.
8814 2000-11-22  Ulrich Drepper  <drepper@redhat.com>
8816         * Versions.def: Add GLIBC_2.2.1 for glibc.
8818 2000-11-22  Andreas Schwab  <schwab@suse.de>
8820         * sysdeps/unix/sysv/linux/syscalls.list: Add pivot_root.
8821         * sysdeps/unix/sysv/linux/Versions: Add pivot_root at GLIBC_2.2.1.
8823 2000-11-22  Ulrich Drepper  <drepper@redhat.com>
8825         * rt/aio_suspend.c (aio_suspend): Convert timeout value to
8826         absolute time for pthread_cond_timedwait call.
8827         Reported by Lawrence Chen <lchen@opentext.com> [libc/1930].
8829         * rt/Makefile (tests): Add tst-aio6.
8830         * rt/tst-aio6.c: New file.
8832 2000-11-23  Andreas Jaeger  <aj@suse.de>
8834         * sysdeps/s390/bits/string.h (strncat): Fix one more typo.
8836 2000-11-22  Andreas Jaeger  <aj@suse.de>
8838         * sysdeps/s390/bits/string.h (strncat): Add missing quotation marks.
8840 2000-11-21  Martin Schwidefsky  <schwidefsky@de.ibm.com>
8842         * sysdeps/s390/bits/string.h: Make strncat always add a \0.
8844 2000-11-21  Andreas Schwab  <schwab@suse.de>
8846         * sysdeps/alpha/setjmp.S: Remove __setjmp entry point.
8847         * sysdeps/arm/setjmp.S: Likewise.
8848         * sysdeps/arm/fpu/setjmp.S: Likewise.
8849         * sysdeps/i386/setjmp.S: Likewise.
8850         * sysdeps/i386/elf/setjmp.S: Likewise.
8851         * sysdeps/s390/setjmp.S: Likewise.
8852         * sysdeps/s390/elf/setjmp.S: Likewise.
8853         * sysdeps/sh/sh3/setjmp.S: Likewise.
8854         * sysdeps/sh/sh4/setjmp.S: Likewise.
8855         * sysdeps/sparc/sparc32/setjmp.S: Likewise.
8856         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
8857         * sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S: Likewise.
8858         * sysdeps/unix/sysv/linux/m68k/setjmp.c: Removed.
8860 2000-11-21  Andreas Jaeger  <aj@suse.de>
8862         * sysdeps/generic/__longjmp.c (__longjmp): Remove obsolete
8863         NORETURN, fix parameter list.
8865         * string/bug-strncat1.c (main): Fix typo.
8866         Patch by Bernhard Kaindl <bernhard.kaindl@suse.de>.
8868 2000-11-20  Ulrich Drepper  <drepper@redhat.com>
8870         * configure.in: Add --enable-all-warnings.
8871         * config.make.in (all-warnings): New variable.
8872         * Makeconfig (+gccwarn): Define with many more warnings if
8873         all-warnings is yes.
8875 2000-11-20  Jakub Jelinek  <jakub@redhat.com>
8877         * iconvdata/bug-iconv2.c (main): Use %zd in format string.
8878         * io/test-lfs.c (do_test): Cast statbuf.st_size to long long.
8879         * malloc/tst-valloc.c (main): Cast valloc return value to long.
8880         * malloc/tst-obstack.c (verbose_malloc): Use %zd in format string.
8881         * math/test-fpucw.c (main): Use %lx in format string, cast
8882         control words to long.
8883         * stdio-common/tst-fmemopen.c (main): Use %td in format strings.
8884         * stdlib/tst-strtol.c (tests): Avoid (bogus?) decimal constant is so
8885         large that it is unsigned warning.
8887         * sysdeps/unix/sysv/linux/sparc/bits/types.h (__ssize_t): Changing
8888         it to long on sparc64.
8890 2000-11-20  Andreas Jaeger  <aj@suse.de>
8892         * nscd/nscd.h (termination_handler): Add noreturn attribute.
8893         (receiv_print_stats): Likewise.
8895         * elf/ldconfig.c (path_hwcap): Cast -1 for proper comparison.
8897 2000-11-20  Ulrich Drepper  <drepper@redhat.com>
8899         * malloc/thread-m.h: gcc doesn't tolerate zero-sized types anymore.
8901         * csu/gmon-start.c: Always have prototype for __gmon_start.
8902         * csu/version.c: Add prototypes for __libc_print_version and
8903         __libc_main.
8904         * iconv/gconv.c: Include gconv_int.h and gconv.h.
8905         * iconv/gconv.h (struct __gconv_step): Remove const from __from_name
8906         and __to_name.
8907         * iconv/gconv_builtin.h: Add ASCII module definitions.
8908         * iconv/gconv_conf.c (__gconv_path_elem): Remove const.
8909         (add_module): Add cast to avoid warning.  Rework construction of
8910         strings for new module.
8911         * iconv/gconv_db.c (__gconv_alias_compare): Make s1 and s2 const.
8912         (derivation_compare): Likewise.
8913         * iconv/gconv_dl.c (do_release_shlib): Remove const from nodep.
8914         (__gconv_release_shlib): Cast do_release_shlib as parameter for twalk.
8915         * iconv/gconv_int.h (__gconv_path_elem): Remove const.
8916         (struct gconv_alias): Remove const from fromname and toname.
8917         * iconv/gconv_simple.c: Include gconv_builtin.h to get prototypes
8918         for loop functions.
8919         (internal_ucs4_loop): Use correct const-ness.
8920         (ucs4_internal_loop): Likewise.
8921         (internal_ucs4le_loop): Likewise.
8922         (ucs4le_internal_loop_single): Likewise.
8923         * iconv/gconv_trans.c (__gconv_transliterate): Make from_idx, from_tbl,
8924         to_idx, to_tbl, winbuf, winbufend const.  Change casts in
8925         assignments appropriately.
8926         (struct known_trans): Remove const from fname.
8927         (trans_compare): Make s1 and s2 const.
8928         * iconv/loop.c (LOOPFC): Make outend parameter const.  Add cast to
8929         avoid warning.
8930         * iconv/skeleton.c: Remove cast in calls of loop functions.
8931         * iconvdata/gconv-modules: Remove US-ASCII definitions.
8932         * iconvdata/iso646.c: Remove US_ASCII support.
8933         * include/set-hooks.h (DEFINE_HOOK): Also generate prototype.
8934         * include/unistd.h: Add __libc_check_standard_fds prototype.
8935         * string/bits/string2.h (__mempcpy_args): Add const to casts.
8936         * sysdeps/generic/initfini.c: Add prototypes for dummy, _init, and
8937         _fini.
8938         * sysdeps/generic/libc-start.c: Add prototype for __libc_start_main.
8939         * sysdeps/i386/i486/bits/string.h (strcmp): Add const to casts.
8940         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Add cast to avoid
8941         warning.
8942         * sysdeps/unix/sysv/linux/init-first.c: Add prototypes for
8943         __libc_init_first and _dl_start.
8944         * intl/dcigettext.c (transcmp): Make s1 and s2 const.
8945         (DCIGETTEXT): Make domaindata variable const.
8946         * intl/loadmsgcat.c (_nl_load_domain): Rearrange domain initialization
8947         to avoid warning.
8949 2000-11-20  Hiroyuki Machida  <machida@sm.sony.co.jp>
8951         * sysdeps/unix/sysv/linux/mips/clone.S: Fix comments.
8953         * sysdeps/unix/sysv/linux/mips/kernel_stat.h (kernel_stat): Expand
8954         time_t to 'long int' not, 'unsigned int'.  Use 'long int' for
8955         __unused? members.
8957         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (O_NOFOLLOW): Use same
8958         value defined in /usr/include/asm-mips/fcntl.h.
8960 2000-11-18  Ulrich Drepper  <drepper@redhat.com>
8962         * stdio-common/Makefile (tests): Add test-vfprintf.
8963         (test-vfprintf-ENV): New variable.
8964         * stdio-common/test-vfprintf.c: New file.
8966         * wcsmbs/mbrtowc.c (__mbrtowc): Do not only flush if input is '\0'.
8968         * wcsmbs/Makefile (tests): Add tst-mbrtowc and tst-wcrtomb.
8969         (tst-mbrtowc-ENV): New variable.
8970         (tst-wcrtomb-ENV): New variable.
8971         * wcsmbs/tst-mbrtowc.c: New file.
8972         * wcsmbs/tst-wcrtomb.c: New file.
8974 2000-11-16  Andreas Jaeger  <aj@suse.de>
8976         * manual/install.texi (Tools for Compilation): Update
8977         documentation for GCC 2.95.2.
8979 2000-11-18  Ulrich Drepper  <drepper@redhat.com>
8981         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only return -EAI_AGAIN
8982         if IPv4 and IPv6 requests timed out.
8984 2000-11-18  Akim Demaille  <akim@epita.fr>
8986         * malloc/obstack.h: Formatting changes.
8987         (obstack_grow, obstack_grow0): Don't cast WHERE at all: it
8988         prevents type checking.
8989         (obstack_ptr_grow, obstack_ptr_grow_fast): When assigning, don't
8990         cast the value to (void *): assigning a `foo *' to a `void *'
8991         variable is valid.
8992         (obstack_int_grow, obstack_int_grow_fast): Don't cast AINT to int.
8994 2000-11-17  Ulrich Drepper  <drepper@redhat.com>
8996         * scripts/config.guess: Update from upstream maintainer.
8997         * scripts/config.sub: Likewise.
8999 2000-11-16  Ulrich Drepper  <drepper@redhat.com>
9001         * libio/freopen.c (freopen): Reset _mode after succesful reopening.
9002         * libio/freopen64.c (freopen64): Likewise.
9003         Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
9005         * libio/Makefile: Add rules to build and run test-freopen.
9006         * libio/test-freopen.c: New file.
9007         * libio/test-freopen.sh: New file.
9009 2000-11-15  H.J. Lu  <hjl@gnu.org>
9011         * sysdeps/generic/ldsodefs.h (DL_DT_INIT_ADDRESS): Defined if
9012         ELF_FUNCTION_PTR_IS_SPECIAL is not defined.
9013         (DL_DT_FINI_ADDRESS): Likewise.
9015         * sysdeps/ia64/dl-lookupcfg.h (_dl_lookup_address): Set the
9016         return type to ElfW(Addr).
9017         (_dl_function_address): New prototype.
9018         (DL_FUNCTION_ADDRESS): Defined.
9019         (DL_DT_INIT_ADDRESS): Defined as DL_FUNCTION_ADDRESS.
9020         (DL_DT_FINI_ADDRESS): Likewise.
9022         * sysdeps/ia64/Versions (GLIBC_2.2): Add _dl_function_address.
9024         * sysdeps/ia64/dl-machine.h (_dl_start_address): Removed.
9025         (ELF_MACHINE_START_ADDRESS): Changed to DL_FUNCTION_ADDRESS.
9027         * sysdeps/ia64/dl-symaddr.c (_dl_start_address): Renamed to ...
9028         (_dl_function_address): This.
9030         * elf/dl-fini.c (_dl_fini): Use DL_DT_FINI_ADDRESS to get the
9031         function pointer for DT_FINI.
9032         * elf/dl-close.c (_dl_close): Likewise.
9034         * elf/dl-init.c (_dl_init): Use DL_DT_INIT_ADDRESS to get the
9035         function pointer for DT_INIT.
9037 2000-11-16  Jakub Jelinek  <jakub@redhat.com>
9039         * sysdeps/generic/printf_fphex.c (__printf_fphex): Compute correctly
9040         end of wexpbuf buffer.
9042 2000-11-16  Andreas Jaeger  <aj@suse.de>
9044         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove duplicate
9045         definition of F_GETLK, F_SETLK, F_SETLKW.
9047 2000-11-16  Andreas Jaeger  <aj@suse.de>
9049         * sysdeps/generic/dl-cache.c (_DL_PLATFORMS_COUNT): Define to 0 if
9050         it's not defined.
9052 2000-11-15  Jakub Jelinek  <jakub@redhat.com>
9054         * dlfcn/default.c (main): Add test for dladdr of main returning
9055         argv[0] in dli_fname field.
9057 2000-11-15  Jakub Jelinek  <jakub@redhat.com>
9059         * Makeconfig (run-program-prefix): Move test-static test into the
9060         variable.
9062         * sysdeps/alpha/dl-machine.h (RTLD_START): Update _dl_argv.
9063         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise,
9064         schedule instructions.
9065         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise,
9066         schedule instructions, fix a bug in copying auxiliary data.
9068 2000-11-15  Ulrich Drepper  <drepper@redhat.com>
9070         * manual/startup.texi (Program Arguments): Fix type of main's envp
9071         parameter.
9072         Reported by Raúl Núñez de Arenas Coronado <dervishd@linuxfreak.com>.
9074         * iconvdata/gconv-modules: Add CP950 alias.
9076 2000-11-13  Jakub Jelinek  <jakub@redhat.com>
9078         * sysdeps/unix/sysv/linux/Makefile: Allow ports to override
9079         syscall-list.h goal.
9080         * sysdeps/unix/sysv/linux/sparc/Makefile: New file.
9082 2000-11-15  Ulrich Drepper  <drepper@redhat.com>
9084         * intl/Makefile: tst-gettext2.sh does not need a third parameter.
9086         * intl/tst-gettext2.sh: Copy locale data.  Adjust LOCPATH.  Verify
9087         output of program.
9089         * intl/tst-gettext2.c: Set C locale if setting other locale
9090         failed.  Use gettext() not _().
9092         * locale/setlocale.c: Increment _nl_msg_cat_cntr whenever we
9093         successfully loaded a new locale.
9095 2000-11-13  Andreas Jaeger  <aj@suse.de>
9097         * configure.in: Require gcc 2.95 or newer.
9099 2000-11-15  Ulrich Drepper  <drepper@redhat.com>
9101         * sysdeps/unix/sysv/linux/paths.h: Adjust for FHS.
9102         Patch by Arkadiusz Miskiewicz <misiek@pld.ORG.PL>.
9104 2000-11-11  Jim Meyering  <meyering@lucent.com>
9106         * string/strndup.c (strndup): Cast return value to `char *'.
9108 2000-11-15  Jim Meyering  <meyering@ascend.com>
9110         * sysdeps/generic/memchr.c: Remove some useless parentheses.
9111         [HAVE_STDLIB_H || defined _LIBC]: Include <stdlib.h>.
9112         [HAVE_BP_SYM_H || defined _LIBC]: Guard inclusion of bp-sym.h.
9113         [! (HAVE_BP_SYM_H || defined _LIBC)] (BP_SYM): Define as no-op.
9114         Also #undef __memchr.
9115         Use `weak_alias' only if it's defined.
9117 2000-11-10  H.J. Lu  <hjl@gnu.org>
9119         * Makefile.in (install): Set LANGUAGE=C LC_ALL=C.
9121 2000-11-15  Andreas Jaeger  <aj@suse.de>
9123         * elf/chroot_canon.c: Include <stdint.h>.
9125         * elf/cache.c (struct cache_entry): Use uint64_t for hwcap.
9126         (print_entry): Likewise.
9127         (add_to_cache): Likewise.
9129         * elf/ldconfig.h (add_to_cache): Change prototype for hwcap change.
9131         * elf/ldconfig.c (struct lib_entry): Use uint64_t for hwcap.
9132         (path_hwcap): Likewise.
9133         (search_dir): Likewise.
9135         * sysdeps/generic/dl-cache.c (HWCAP_CHECK): Handle platform.
9137         * elf/cache.c (add_to_cache): Handle 64 bit hwcap entry.
9139         * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h
9140         (_dl_platform_string): New.
9141         (_DL_HWCAP_PLATFORM): New.
9142         (_dl_string_platform): New.
9143         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h: Likewise.
9145         * sysdeps/generic/dl-procinfo.h (_DL_HWCAP_COUNT): New.
9146         (_dl_string_platform): New.
9147         (_DL_HWCAP_PLATFORM): New.
9148         (_dl_platform_string): New.
9150         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Added x86 platform
9151         recognition.
9152         (_DL_HWCAP_COUNT): New.
9153         (_dl_string_platform): New.
9154         (_DL_HWCAP_PLATFORM): New.
9155         (_dl_platform_string): New.
9157 2000-11-14  Ulrich Drepper  <drepper@redhat.com>
9159         * iconvdata/gconv-modules: Add CP936 as alias for GBK.
9161 2000-11-14  Andreas Jaeger  <aj@suse.de>
9163         * sysdeps/generic/dl-cache.c (HWCAP_CHECK): Fix access to _dl_hwcap.
9165 2000-11-13  Roland McGrath  <roland@frob.com>
9167         * hurd/get-host.c (_hurd_get_host_config): Fix last change.
9169 2000-11-13  Marcus Brinkmann <marcus@gnu.org>
9171         * hurd/get-host.c (_hurd_get_host_config): Fix possible buffer
9172         underrun and make sure the result is null terminated even if there
9173         is no trailing newline.
9175 2000-11-13  Jakub Jelinek  <jakub@redhat.com>
9177         * sysdeps/alpha/fpu/libm-test-ulps: Update.
9179 2000-11-10  H.J. Lu  <hjl@gnu.org>
9181         * sysdeps/ia64/fpu/libm-test-ulps: Updated.
9183 2000-11-10  Andreas Jaeger  <aj@suse.de>
9185         * elf/ldconfig.c (create_links): Fix alloca calculation.
9186         Patch by Ben Collins <bcollins@debian.org>.
9188 2000-11-09  Ulrich Drepper  <drepper@redhat.com>
9190         * inet/getnameinfo.c (getnameinfo): Use correct destination
9191         parameter for if_indextoname.
9192         Patch by Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>.
9194 2000-11-09  H.J. Lu  <hjl@gnu.org>
9196         * sunrpc/Versions (GLIBC_2.1): Remove xdr_cryptkeyarg,
9197         xdr_cryptkeyarg2, xdr_cryptkeyres, xdr_des_block,
9198         xdr_key_netstarg, xdr_key_netstres, xdr_keybuf and
9199         xdr_keystatus.
9201         * time/Versions (GLIBC_2.1): Move getitimer to...
9202         * sysdeps/unix/sysv/linux/alpha/Versions (GLIBC_2.1): ...here.
9204 2000-11-03  Bruno Haible  <haible@clisp.cons.org>
9206         * manual/install.texi: Recommend to set LANGUAGE=C LC_ALL=C during
9207         "make install", to work around a binary incompatibility between
9208         glibc 2.1 and glibc 2.2 gconv modules.
9210 2000-11-09  Ulrich Drepper  <drepper@redhat.com>
9212         * intl/locale.alias: Add thai.
9213         Patch by Chanop Silpa-Anan <chanop@syseng.anu.edu.au>.
9215 2000-11-07  Akim Demaille  <akim@epita.fr>
9217         * malloc/obstack.c (obstack_grow, obstack_grow0): Rename the second
9218         argument `data' for consistency with the prototypes.
9219         Qualify it `const'.
9220         (obstack_copy, obstack_copy0): Rename the second argument as
9221         `address' for consistency.  Qualify it `const'.
9222         * malloc/obstack.h (obstack_copy, obstack_copy0, obstack_grow)
9223         (obstack_grow0, obstack_ptr_grow, obstack_ptr_grow_fast): Qualify
9224         `const' their input argument (`data' or `address').
9225         Adjust the corresponding macros to include `const' in casts.
9227 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
9229         * sysdeps/posix/getaddrinfo.c: Clean-up: define family to hold
9230         target family.
9232 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
9234         * sysdeps/posix/getaddrinfo.c: Loosen protocol check to ease raw
9235         socket creation.
9237 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
9239         * sysdeps/posix/getaddrinfo.c: Ensure to fill ai_socktype and
9240         ai_protocol by internal table if service was not given.
9242 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
9244         * sysdeps/posix/getaddrinfo.c: Don't raise an error even if
9245         numerical port was specified with protocol without socktype.
9247 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
9249         * sysdeps/posix/getaddrinfo.c: Ensure to check if protocol is ok.
9251 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
9253         * inet/getnameinfo.c: getnameinfo() NI_xxx flag validation.
9255 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
9257         * sysdeps/posix/getaddrinfo.c: Ensure not to fill garbage value in
9258         sin6_scope_id field.
9260 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
9262         * inet/getnameinfo.c: Repair getnameinfo() sin6_socpe_id support.
9264 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
9266         * inet/getnameinfo.c: Repair NI_NOFQDN flag support.
9268 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
9270         * inet/getnameinfo.c: Wake-up sin6_scope_id support in
9271         getnameinfo(): check for whether sin6_socpe_id exist was wrong.
9273 2000-11-09  Martin Schwidefsky  <mschwide@nc.boeblingen.de.ibm.com>
9275         * sysdeps/unix/sysv/linux/s390/mmap.S: Use mmap2 if it is present.
9276         * sysdeps/unix/sysv/linux/s390/mmap64.S: New file.
9278 2000-11-09  H.J. Lu  <hjl@gnu.org>
9280         * io/Versions (GLIBC_2.1.1): Remove lockf64.
9283 See ChangeLog.11 for earlier changes.