Update.
[glibc.git] / ChangeLog
blobf1d13a17376de833baa3af23a93fe9f69f4991b1
1 2001-07-23  Ulrich Drepper  <drepper@redhat.com>
3         * locale/programs/locale.c (write_locales): Disable implicit
4         locking for the stream.  Use feof_unlocked instead of feof.
6         * sysdeps/unix/sysv/linux/i386/makecontext.S: Initialize %fs, %gs,
7         and floating-point status as well.
9         * libio/iofclose.c (_IO_new_fclose): Unlink descriptor first to
10         avoid deadlock.
11         * libio/oldiofclose.c (_IO_old_fclose): Likewise.
12         * libio/genops.c (_IO_un_link): Get stream lock since it's not
13         always done in the caller.
14         (_IO_link_in): Likewise.
16         * libio/genops.c (_IO_list_all_stamp): New variable.
17         (_IO_un_link): Bump _IO_list_all_stamp after removing from list.
18         (_IO_link): Likewise for insertion.
19         (flush_cleanup): New function.
20         (_IO_flush_all): Get list_all_lock and all individual locks for the
21         streams.  Detect and handle changes to the _IO_list_all list.
22         (_IO_flush_all_linebuffered): Likewise.
23         * sysdeps/generic/bits/stdio-lock.h: Define
24         _IO_cleanup_region_start_noarg.
25         * sysdeps/mach/hurd/bits/stdio-lock.c: Likewise.
27         * stdio-common/printf.h: Fix typo in comment.
29         * iconv/gconv_cache.c (__gconv_lookup_cache): Handle encoding from
30         and to INTERNAL.
31         * iconv/iconvconfig.c: Create a special record for the INTERNAL
32         encoding name in the output file.
34 2001-07-23  Jakub Jelinek  <jakub@redhat.com>
36         * sunrpc/svc_tcp.c (svctcp_rendezvous_abort): New.
37         (svctcp_rendezvous_op): Use it.
38         * sunrpc/svc_unix.c (svcunix_rendezvous_abort): New.
39         (svcunix_rendezvous_op): Use it.
41 2001-07-23  Andreas Schwab  <schwab@suse.de>
43         * math/Makefile (CPPFLAGS-test-ifloat.c, CPPFLAGS-test-idouble.c,
44         CPPFLAGS-test-ildoubl.c): Renamed from CFLAGS-*.
45         (math-CPPFLAGS): Set this instead of CPPFLAGS.
47 2001-07-23  Ulrich Drepper  <drepper@redhat.com>
49         * elf/elf.h: Add more definitions from Sun's latest version.
51 2001-07-23  Stephen L Moshier  <moshier@mediaone.net>
53         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Return proper
54         sign for 0 input and set divide by zero exception for -1 input.
55         Return argument if NaN or infinity.
57 2001-07-23  Andreas Jaeger  <aj@suse.de>
59         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Add some deltas.
61 2001-07-23  Ulrich Drepper  <drepper@redhat.com>
63         * iconv/gconv_cache.c (__gconv_lookup_cache): Select correct
64         module for conversion direction.
66 2001-07-23  Stephen L Moshier  <moshier@mediaone.net>
68         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Return proper
69         sign for 0 input.  Return NaN with no exception for NaN input.
71 2001-07-23  Ulrich Drepper  <drepper@redhat.com>
73         * iconv/gconv_builtin.h: ISO-106464/UTF-8/ transformation must
74         really be an alias.
76 2001-07-23  Andreas Jaeger  <aj@suse.de>
78         * iconv/iconvconfig.c: Include <sys/cdefs.h> and use
79         __attribute_malloc__ for older GCC versions.
80         * iconv/strtab.c: Likewise.
81         Add prototypes to avoid warnings.
83 2001-07-22  Roland McGrath  <roland@frob.com>
85         * hurd/hurdsig.c (_hurd_internal_post_signal): Support SA_RESETHAND
86         and SA_NODEFER options.  Spurred to action by Igor Khavkine.
88         * sysdeps/generic/bits/sigaction.h [__USE_UNIX98 || __USE_MISC]
89         (SA_NODEFER, SA_RESETHAND): New macros, same bit values as FreeBSD.
90         [__USE_MISC] (SA_INTERRUPT): New macro, value 0.
91         [__USE_MISC] (SA_NOMASK, SA_ONESHOT, SA_STACK): New macros, aliases
92         as in other sysdeps versions of this file.
94         * sysdeps/generic/bits/sigaction.h (struct sigaction): Use a union
95         and provide sa_handler and sa_sigaction member names as macros, as
96         done in other sysdeps versions of this file.
97         Suggested by Igor Khavkine <i_khavki@alcor.concordia.ca>.
99 2001-07-23  Ulrich Drepper  <drepper@redhat.com>
101         * posix/regex.c: Revamp memory allocation for WCHAR functions to
102         not use too much stack.
104 2001-07-22  Ulrich Drepper  <drepper@redhat.com>
106         * iconv/iconvconfig.c (write_output): Update comment explaining
107         output format.
109         * elf/dl-load.c (_dl_dst_count): In SUID binaries expand $ORIGIN
110         if it is alone.
111         (_dl_dst_substitute): Likewise.
113         * iconv/iconvconfig.c: Remove --verbose option.  Comment out
114         mcheck_verbose call.
116         * iconv/strtab.c (morememory): Fix little memory handling problem.
118 2001-07-22  Andreas Schwab  <schwab@suse.de>
120         * sysdeps/unix/sysv/linux/m68k/sysdep.h (INLINE_SYSCALL): Don't
121         mark asm input operand as clobbered.
122         * sysdeps/unix/sysv/linux/m68k/brk.c (__brk): Likewise.
124 2001-07-22  Ulrich Drepper  <drepper@redhat.com>
126         * iconv/gconv_builtin.c (struct builtin_map): Remove init and end
127         elements.
128         (BUILTIN_TRANSFORMATION): Remove Init and End parameters.
129         (__gconv_get_builtin_trans): Initialize __init_fct and __end_fct to
130         NULL.
131         * iconv/gconv_builtin.h: Remove NULL parameters for Init and End in
132         all BUILTIN_TRANSFORMATION calls.
133         * iconv/gconv_conf.c (BUILTIN_TRANSFORMATION): Remove Init and End
134         parameters.
135         * iconv/gconv_simple.c: Likewise.
136         * iconv/gconv_db.c (gen_steps): Internal converters don't have
137         initializers, move the code accordingly.
139         * iconv/gconv_conf.c (__gconv_read_conf): Don't read configuration
140         file if STATIC_GCONV is defined.
142         * iconv/gconv_conf.c (__gconv_path_envvar): New global variable.
143         (__gconv_get_path): Use it instead of call getenv.
144         (__gconv_read_conf): First see whether cache can be used.  If yes,
145         don't do any work here.
146         * iconv/gconv_db.c (__gconv_release_step): Renamed from release_step
147         and exported.  Change callers.
148         (__gconv_find_transform): First call __gconv_lookup_cache and only
149         continue if it signals no cache available.  Remove some unnecessary
150         tests.
151         * iconv/gconv_int.h: Declare __gconv_path_envvar, __gconv_lookup_cache,
152         __gconv_release_step, and __gconv_loaded_cache.
153         * iconv/gconv_cache.c: New file.
154         * iconv/iconvconfig.c: New file.
155         * iconv/iconvconfig.h: New file.
156         * iconv/strtab.c: New file.
157         * iconv/Makefile: Add rules to build new files and programs.
159 2001-07-20  Roland McGrath  <roland@frob.com>
161         * sysdeps/generic/device-nrs.h (DEV_TTY_P): Change argument type
162         from `dev_t' (st_rdev value) `const struct stat *'.
163         * sysdeps/unix/sysv/linux/device-nrs.h (DEV_TTY_P): Likewise.
164         * libio/filedoalloc.c (_IO_file_doallocate): Change caller.
165         * sysdeps/mach/hurd/device-nrs.h: New file.
167         * libio/stdio_ext.h: Moved to ...
168         * stdio-common/stdio_ext.h: ... here.
169         * libio/Makefile (headers): Move stdio_ext.h from here ...
170         * stdio-common/Makefile (headers): ... to here.
171         * include/stdio_ext.h: New file.
172         * stdio/Makefile (routines): Add the stdio_ext.h functions here.
173         * stdio/Versions (GLIBC_2.2.4): Export the stdio_ext.h functions.
174         * stdio/__flbf.c: New file.
175         * stdio/__fbufsize.c: New file.
176         * stdio/__fpending.c: New file.
177         * stdio/__fpurge.c: New file.
178         * stdio/__freadable.c: New file.
179         * stdio/__freading.c: New file.
180         * stdio/__fsetlocking.c: New file.
181         * stdio/__fwritable.c: New file.
182         * stdio/__fwriting.c: New file.
184 2001-07-20  Ulrich Drepper  <drepper@redhat.com>
185             Andreas Jaeger  <aj@suse.de>
187         * elf/ldconfig.c (search_dir): Avoid use of uninitialized memory.
188         Add a few __builtin_expect to mark unlikely error cases.
190 2001-07-20  Andreas Jaeger  <aj@suse.de>
192         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Synch with kernel.
193         Patch by Daniel Jacobowitz <dan@debian.org>.
195 2001-07-19  Ulrich Drepper  <drepper@redhat.com>
197         * intl/localealias.c: Remove unnecessary prototype.
199         * Makefile: Add html goal.
200         * manual/Makefile: Likewise.
202 2001-07-18  Ulrich Drepper  <drepper@redhat.com>
204         * libio/filedoalloc.c (_IO_file_doallocate): A few more minor
205         cleanups and improvements.
207 2001-07-18  Andreas Schwab  <schwab@suse.de>
209         * posix/regex.c (WORDCHAR_P) [WCHAR]: Also return true for the
210         underscore character.
212 2001-07-18  Jakub Jelinek  <jakub@redhat.com>
214         * malloc/malloc (new_heap): Don't call munmap for zero length.
216 2001-07-18  Ulrich Drepper  <drepper@redhat.com>
218         * libio/filedoalloc.c (_IO_file_doallocate): Use DEV_TTY_P if
219         available to determine whether descriptor is for tty before
220         calling isatty.
222         * sysdeps/unix/sysv/linux/device-nrs.h: Define DEV_TTY_P.
223         * sysdeps/generic/device-nrs.h: Likewise.
225 2001-07-18  Andreas Jaeger  <aj@suse.de>
227         * time/Makefile (tst-getdate-ENV): Add TZDIR to environment.
229         * time/Depend: New, add dependency on timezone.
231         * time/tst-getdate.c: Add testcase for bug report by Hendrik
232         Uhlmann <HUhlmann@stn-atlas.de>.
233         * time/datemsk: Likewise.
235 2001-07-17  Ulrich Drepper  <drepper@redhat.com>
237         * elf/ldconfig.c (parse_conf): Disable implicit locking for the
238         stream.  Remove some unnecessary initializers.
240 2001-07-17  Andreas Jaeger  <aj@suse.de>
242         * elf/ldconfig.c: Add new variable hwcap_mask to honour LD_HWCAP_MASK.
243         (is_hwcap_platform): Use it.
244         (set_hwcap): New function to set hwcap_mask.
245         (main): Call set_hwcap.
247 2001-07-17  Jakub Jelinek  <jakub@redhat.com>
249         * time/getdate.c (__getdate_r): Initialize tm_isdst, tm_gmtoff and
250         tm_zone before calling strptime.
252 2001-07-17  Andreas Schwab  <schwab@suse.de>
254         * sysdeps/unix/sysv/linux/m68k/getpagesize.c: Fix last change.
256 2001-07-17  Ulrich Drepper  <drepper@redhat.com>
258         * inet/rcmd.c (iruserfopen): Disable implicit locking for the stream.
259         * inet/ruserpass.c (ruserpass): Likewise.
260         * nss/nsswitch.c (nss_parse_file): Likewise.
261         * resolv/res_hconf.c (_res_hconf_init): Likewise.
262         * resolv/res_init.c (__res_vinit): Likewise.
263         * gmon/bb_exit_func.c (__bb_exit_func): Likewise.
264         * misc/getpass.c (getpass): Likewise.
265         * misc/getusershell.c (initshells): Likewise.
266         * misc/getttyent.c (setttyent): Likewise.
267         * misc/mntent_r.c (__setmntent): Likewise.
268         * time/getdate.c (__getdate_r): Likewise.
269         * time/tzfile.c (__tzfile_read): Likewise.
270         * iconv/gconv_conf.c (read_conf_file): Likewise.
271         * intl/localealias.c (read_alias_file): Disable implicit locking
272         for the stream.  Use _unlocked functions for glibc.
273         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Disable
274         implicit locking for the stream.
275         (__get_nprocs_conf): Likewise.
276         (phys_pages_info): Likewise.
278 2001-07-16  Ulrich Drepper  <drepper@redhat.com>
280         * nscd/connections.c: Print messages caused by user application
281         only if debug_level > 0.  Add little performance improvements.
282         Use TEMP_FAILURE_RETRY around write calls.
283         * nscd/grpcache.c: Likewise.
284         * nscd/hstcache.c: Likewise.
285         * nscd/pwdcache.c: Likewise.
287 2001-07-13  H.J. Lu  <hjl@gnu.org>
289         * sysdeps/mips/dl-machine.h (MAP_BASE_ADDR): Removed.
290         (elf_machine_got_rel): Defined only if RTLD_BOOTSTRAP is not defined.
291         (RESOLVE_GOTSYM): Rewrite to use RESOLVE.
293         * sysdeps/mips/rtld-ldscript.in: Removed.
294         * sysdeps/mips/rtld-parms: Likewise.
295         * sysdeps/mips/mips64/rtld-parms: Likewise.
296         * sysdeps/mips/mipsel/rtld-parms: Likewise.
298 2001-07-16  Ulrich Drepper  <drepper@redhat.com>
300         * catgets/test-gencat.sh: Use <<"EOF" instead of <<EOF to prevent
301         substitution in here document.
303 2001-07-16  Andreas Schwab  <schwab@suse.de>
305         * sysdeps/posix/spawni.c: Fix typo when iterating over signal numbers.
307 2001-07-16  Andreas Schwab  <schwab@suse.de>
309         * math/libm-test.inc (check_float_internal): Fix sign bit test of
310         infinities.
312 2001-07-16  Jakub Jelinek  <jakub@redhat.com>
314         * sysdeps/i386/fpu/e_expl.c (__ieee754_expl): Make it PIC friendly.
316 2001-07-15  Ulrich Drepper  <drepper@redhat.com>
318         * malloc/obstack.c: Define __attribute__ for non-gcc compilers.
319         Patch by Jim Meyering <jim@meyering.net>.
321 2001-07-12  Martin Schwidefsky  <schwidefsky@de.ibm.com>
323         * sysdeps/unix/sysv/linux/s390/s390-64/bits/sigaction.h: Reorder
324         fields in the sigaction struct to match the definition in the kernel.
326 2001-07-12  Martin Schwidefsky  <schwidefsky@de.ibm.com>
328         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Correct the
329         test for ENOSYS.
331 2001-07-12  Martin Schwidefsky  <schwidefsky@de.ibm.com>
333         * sysdeps/s390/s390-32/bits/setjmp.h: Add leading underscores
334         to the entries in the __jmp_buf structure.
335         * sysdeps/s390/s390-64/bits/setjmp.h: Likewise.
337 2001-07-12  Martin Schwidefsky  <schwidefsky@de.ibm.com>
339         * sysdeps/s390/s390-32/bcopy.S: Use mvcle for big blocks
340         (> 64K) and a mvc loop for small blocks.
341         * sysdeps/s390/s390-32/memcpy.S: Likewise.
342         * sysdeps/s390/s390-64/bcopy.S: Likewise.
343         * sysdeps/s390/s390-64/memcpy.S: Likewise.
345 2001-07-15  Andreas Schwab  <schwab@suse.de>
347         * sysdeps/unix/sysv/linux/m68k/sys/procfs.h: New file.
348         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: New file.
350         * sysdeps/unix/sysv/linux/m68k/getpagesize.c: Check _dl_pagesize
351         first.  Default to 4096, not EXEC_PAGESIZE.
353         * iconv/loop.c (put16) [!_STRING_ARCH_unaligned && BIG_ENDIAN]:
354         Fix index.
356 2001-07-09  Andreas Jaeger  <aj@suse.de>
358         * sysdeps/unix/sysv/linux/i386/dl-procinfo.c: Name entry for xmm2.
360         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Add HWCAP_I386_XMM,
361         HWCAP_I386_XMM2 to enum.
363 2001-07-13  Andreas Jaeger  <aj@suse.de>
365         * libio/fileops.c: Include unistd.h for lseek64 prototype.  Closes
366         PR libc/2372.
368 2001-07-12  Ulrich Drepper  <drepper@redhat.com>
370         * Makeconfig: Add some more changes to handle AIX linker better.
372 2001-07-12  H.J. Lu  <hjl@gnu.org>
374         * sysdeps/generic/segfault.c: Include <errno.h>.
376 2001-07-01  Andreas Jaeger  <aj@suse.de>
378         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk): Remove duplicate
379         sbrk.  Closes PR libc/2312.
381 2001-07-01  Andreas Jaeger  <aj@suse.de>
383         * sysdeps/generic/segfault.c (install_handler): Handle case that
384         the output file does not exists.  Closes PR libc/2345.
386 2001-07-11  Ulrich Drepper  <drepper@redhat.com>
388         * intl/locale.alias: Use he language code for hebrew, not il
389         [PR libc/2382].
391 2001-07-11  Jakub Jelinek  <jakub@redhat.com>
393         * iconv/gconv_int.h: Fix comment typo.
395 2001-07-11  Igor Khavkine  <i_khavki@alcor.concordia.ca>
397         * hurd/hurdsig.c (_hurdsig_init): Remove a useless line of code.
399 2001-07-07  Roland McGrath  <roland@frob.com>
401         * hurd/hurdsig.c (_hurd_thread_sigstate): Use MACH_PORT_NULL, not 0.
403 2001-07-10  Stephen L Moshier  <moshier@mediaone.net>
405         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl):  Fix
406         backwards conditional in test for x == 1.0.
408 2001-07-10  Andreas Jaeger  <aj@suse.de>
410         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Add ulps for tanh
411         (-0.7).
413 2001-07-09  Andreas Jaeger  <aj@suse.de>
415         * sysdeps/unix/sysv/linux/configure.in: Revert patch from
416         2001-07-05 for sysconfdir handling.
417         * config.make.in (sysconfdir): Likewise.
418         * configure.in: Likewise.
420         * configure.in: Always assign libc_cv_sysconfdir.
422 2001-07-08  Ulrich Drepper  <drepper@redhat.com>
424         * Makerules [AIX] (build-shlib-helper): Precede linker options
425         with -Wl.
427         * Makeconfig (config-LDFLAGS): Add ld.so only for ELF.
429         * sysdeps/unix/make_errlist.c: Adjust sys_errlist declaration to
430         what we define in <stdio.h>.
432         * iconv/iconv_prog.c (main): Don't unconditionally define
433         variables only use if _POSIX_MAPPED_FILES is defined.
435         * sysdeps/unix/sysv/aix/sendmsg.c (sendmsg): Fix return type.
436         * sysdeps/unix/sysv/aix/recvmsg.c (recvmsg): Likewise.
438         * sysdeps/unix/sysv/aix/recv.c: New file.
440         * sysdeps/unix/sysv/aix/recvfrom.c: Fix various types.
442 2001-07-07  Ulrich Drepper  <drepper@redhat.com>
444         * sysdeps/generic/recv.c: Fix return type.
446         * sysdeps/unix/sysv/aix/dl-libc.c (__libc_dlclose): Fix typo.
448         * sysdeps/unix/sysv/aix/gettimeofday.c (__gettimeofday): Add
449         declarations for asm functions.
451         * include/libc-symbols.h: Provide more dummy definitions for the
452         case if GNU ld isn't used.
454         * libio/freopen.c: Include <stdlib.h> for free declaration.
455         * libio/freopen64.c: Likewise.
457         * sysdeps/alpha/fpu/libm-test-ulps: Add deltas for tanh(-0.7).
459 2001-07-06  Jakub Jelinek  <jakub@redhat.com>
461         * sysdeps/unix/sysv/linux/i386/sigaction.c (RESTORE2): Put asm
462         explicitly into .text section.
464 2001-04-16  Jes Sorensen  <jes@linuxcare.com>
466         * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h (struct sigcontext):
467         Add 16 longwords reserved for future use to match changes in the
468         kernel.
470 2001-07-03  Jes Sorensen  <jes@trained-monkey.org>
472         * sysdeps/ia64/strncpy.S: Call strnlen() when determining the
473         string length rather than strlen(). Solves the performance problem
474         of doing strlen on a 5MB string when strncpy was called with a
475         length argument of 5 bytes.
477 2001-07-02  Jakub Jelinek  <jakub@redhat.com>
479         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
480         R_SPARC_UA16 and R_SPARC_UA32.
481         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
483 2001-07-01  Stephen L Moshier  <moshier@mediaone.net>
485         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl):
486         acosh(x) = ln(2x) if x > 2^30.
487         * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl):
488         acosh(x) = ln(2x) if x > 2^54.
490 2001-07-07  Mark Kettenis  <kettenis@gnu.org>
492         * sysdeps/mach/hurd/i386/exc2signal.c (_hurd_exception2signal):
493         Generate SIGSEGV instead of SIGBUS for KERN_INVALID_ADDRESS and
494         KERN_WRITE_PROTECTION_FAILURE.
496 2001-07-07  Ulrich Drepper  <drepper@redhat.com>
498         * posix/regex.c: Limit string length printed in debug messages to
499         100 chars.
501         * configure.in: Don't warn about versioning if not on ELF system.
503 2001-07-07  Andreas Jaeger  <aj@suse.de>
505         * sysdeps/*: Put files from GNU MP Library under LGPL v2.1.
507 2001-07-06  Ulrich Drepper  <drepper@redhat.com>
509         * po/gl.po: Update from translation team.
511 2001-07-06  Andreas Jaeger  <aj@suse.de>
513         * sysdeps/unix/sysv/linux/configure.in: Fix handling of
514         sysconfdir.
516         * manual/libc-texinfo.sh: Add note for the FDL.
518         * manual/argp.texi (Argp Example 4): Fix texinfo warning.
520         * manual/libc.texinfo: Regenerated.
522         * manual/fdl.texi: Fix node.
524         * config.make.in (sysconfdir): Replace correctly.
525         Closes PR libc/2369, reported by Peter Simons <simons@cryp.to>.
527         * sysdeps/unix/sysv/linux/alpha/configure.in: Removed, it's no
528         longer needed.
530         * sysdeps/unix/sysv/linux/configure.in (libc_cv_linuxVER): Add
531         case for alpha.
532         Rework handling of missing linuxthreads add-on.
534         * configure.in: Remove unused sysconfdir substitution.
536         * manual/Makefile (texis): Add fdl.texi.
537         * manual/fdl.texi: New.
538         * manual/socket.texi (Host Names): Improve grammar, fix overflow hbox.
539         * manual/libc.texinfo: Add fdl, update titlepage.
540         Patches by Brian Youmans <3diff@gnu.org>.
542         * sysdeps/unix/make_errlist.c (main): Print LGPL v2.1 for
543         generated file.
545 2001-07-06  Paul Eggert  <eggert@twinsun.com>
547         * manual/argp.texi: Remove ignored LGPL copyright notice; it's
548         not appropriate for documentation anyway.
549         * manual/libc-texinfo.sh: "Library General Public License" ->
550         "Lesser General Public License".
551         * COPYING: Fix Y2k bug in sample copyright notices.
552         * manual/lesser.texi: Renamed from manual/lgpl.texinfo,
553         as fsf.org uses the name "lesser.texi".
554         * manual/Makefile (texis): Follow rename.
556 2001-07-06  Andreas Jaeger  <aj@suse.de>
558         * All files under GPL/LGPL version 2: Place under LGPL version
559         2.1.
561 2001-07-05  Andreas Jaeger  <aj@suse.de>
563         Synch with Linux 2.4.6:
564         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_BLUETOOTH):
565         New.
566         (AF_BLUETOOTH): New.
568         * sysdeps/unix/sysv/linux/s390/s390-64/bits/socket.h
569         (PF_BLUETOOTH): New.
570         (AF_BLUETOOTH): New.
572         * sysdeps/unix/sysv/linux/mips/bits/socket.h (AF_BLUETOOTH): New.
573         (PF_BLUETOOTH): New.
575         * sysdeps/unix/sysv/linux/ia64/bits/socket.h (AF_BLUETOOTH): New.
576         (PF_BLUETOOTH): New.
578         * sysdeps/unix/sysv/linux/alpha/bits/socket.h (PF_BLUETOOTH): New.
579         (AF_BLUETOOTH): New.
581         * sysdeps/unix/sysv/linux/bits/socket.h (PF_BLUETOOTH): New.
582         (AF_BLUETOOTH): New.
584         * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_IEEE80211): New.
586         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (N_HCI): New.
588         * sysdeps/unix/sysv/linux/mips/bits/ioctl-types.h (N_HCI): New.
590         * sysdeps/unix/sysv/linux/bits/ioctl-types.h (N_HCI): New.
592 2001-07-04  Roland McGrath  <roland@frob.com>
594         * hurd/hurdsig.c (_hurd_internal_post_signal): For SS->suspended
595         wakeup message, use MACH_MSG_TYPE_MAKE_SEND for the receiver port
596         rather than doing a mach_port_insert_right call first.
598 2001-06-26  Roland McGrath  <roland@frob.com>
600         * hurd/hurdioctl.c: Include <string.h> for memcpy decl.
602 2001-07-03  Andreas Jaeger  <aj@suse.de>
604         * sysdeps/unix/sysv/sysv4/solaris2/configure.in: Remove check for
605         crypt add-on.
607 2001-07-01  Mark Kettenis  <kettenis@gnu.org>
609         * sysdeps/mach/hurd/if_index.c: Redone to use new interfaces in
610         the Hurd pfinet server, using equivalent code from the Linux
611         version in sysdeps/unix/sysv/linux/if_index.c. In detail:
612         Include <unistd.h>, <error.h>, <sys/ioctl.h>, <hurd/ioctl.h> and
613         <hurd/pfinet.h>.  Don't include <sys/mman.h> and <hurd/fsys.h>
614         anymore.
615         (if_nametoindex): New implementation using SIOCGIFINDEX.
616         (if_freenameindex): Straight copy of the Linux version.
617         (if_nameindex): New implementation based on pfinet_siocgifconf and
618         SIOCGIFINDEX.
619         (if_indextoname): New implementation using SIOCGIFNAME.
620         (map_interfaces): Function removed.
621         From Marcus Brinkmann <marcus@gnu.org>.
623 2001-06-30  Jakub Jelinek  <jakub@redhat.com>
625         * sysdeps/powerpc/dl-machine.c (__elf_preferred_address): Prefer
626         gaps below main executable.
628 2001-06-19  Andreas Jaeger  <aj@suse.de>
630         * sysdeps/powerpc/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE):
631         Handle profiling.
633 2001-06-29  Andreas Jaeger  <aj@suse.de>
635         * sysdeps/ieee754/ldbl-128/s_asinhl.c: New file.
636         Patch by Stephen L Moshier <moshier@mediaone.net>.
638 2001-06-28  Ulrich Drepper  <drepper@redhat.com>
640         * manual/argp.texi: Tons of cleanups.
641         Patch by Clifford U. Smith <cuel@swbell.net>.
643 2001-06-28  Mark Kettenis  <kettenis@gnu.org>
645         * manual/users.texi (Setting Groups): Correct initgroups
646         documentation.  Add documentation for getgrouplist.
648 2001-06-28  H.J. Lu  <hjl@gnu.org>
650         * locale/findlocale.c (locale_file_list): Renamed to ...
651         (_nl_locale_file_list): This.  Make it extern.
652         (free_mem): Move to ...
653         * locale/setlocale.c (free_mem): Here.
655 2001-06-28  Mark Kettenis  <kettenis@gnu.org>
657         * sysdeps/mach/hurd/read.c: Include <hurd/fd.h>.
658         (__libc_read): Don't call __pread.  Use _hurd_fd_read directly
659         instead.
660         * sysdeps/mach/hurd/write.c: Include <hurd/fd.h>.
661         (__libc_write): Don't call __pwrite.  Use _hurd_fd_write directly
662         instead.
664         * sysdeps/mach/hurd/Makefile ($(link-rpcuserlibs)): Add back
665         -Wl,-soname option lost in 2001-06-16 change.
667 2001-06-27  Ulrich Drepper  <drepper@redhat.com>
669         * posix/tst-regex.c: Pass REG_NEWLINE to regcomp.  Add extra tests.
670         Restrict printing of string in debug mode to 100 characters to make
671         the output useful for long input texts.
673         * posix/Makefile: Add rules to build and run tst-regex.
675 2001-06-20  Isamu Hasegawa  <isamu@yamato.ibm.com>
677         * posix/regex.c (FREE_WCS_BUFFERS): New macro to free buffers.
678         (re_search_2): Invoke convert_mbs_to_wcs and FREE_WCS_BUFFERS.
679         (wcs_re_match_2_internal): Check whether the wcs buffers need
680         seting up or not, and skip seting up routin if not needed.
682 2001-06-26  Isamu Hasegawa  <isamu@yamato.ibm.com>
684         * posix/regex.c (count_mbs_length): Use binary search for optimization.
686 2001-06-27  Ulrich Drepper  <drepper@redhat.com>
688         * posix/tst-regex.c: Fix several bugs.  Add more tests.
690 2001-06-26  Mark Kettenis  <kettenis@gnu.org>
692         * hurd/Makefile (user-interfaces): Add pfinet.
693         * hurd/hurdioctl.c: Include <hurd/pfinet.h>, <net/if.h> and
694         <netinet/in.h>.
695         (siocgifconf): New function.  Register it with HURD_HANDLE_IOCTL
696         as the handler for SIOCGIFCONF.
697         * sysdeps/mach/hurd/bits/ioctls.h: Modify SIOCSIFFLAGS and
698         SIOCGIFFLAGS to be of IOC type ifreq_short.  Modify SIOCSIFMETRIC
699         and SIOCGIFMETRIC to be of IOC type ifreq_int.  Add new macro
700         definitions for SIOCGIFMTU, SIOCSIFMTU, SIOCGIFINDEX and
701         SIOCGIFNAME.
702         From Marcus Brunkmann <marcus@gnu.org>.
704 2001-06-25  Ulrich Drepper  <drepper@redhat.com>
706         * sysdeps/gnu/net/if.h: Correct _IOT_ifreq and add _IOT_ifreq_short
707         and _IOT_ifreq_int.  Patch by Mark Kettenis <kettenis@wins.uva.nl>.
709         * elf/dl-deps.c (_dl_map_object_deps): Fix handling of failing
710         _dl_catch_error calls.
712 2001-06-22  Jakub Jelinek  <jakub@redhat.com>
714         * posix/regex.c (regex_compile, re_match_2_internal): Fix comment
715         typos.
717 2001-06-01  Wolfram Gloger  <wg@malloc.de>
719         * malloc/malloc.c (malloc_atfork, free_atfork): Use a unique value
720         ATFORK_ARENA_PTR, not 0, for the thread-specific arena pointer
721         when malloc_atfork is in use.
723 2001-06-22  Andreas Jaeger  <aj@suse.de>
725         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Add parenthese
726         to avoid warnings.
728         * sysdeps/i386/fpu/e_expl.c (__ieee754_expl): Remove unused
729         variable.
730         Add unused attributes to avoid warnings.
732         * elf/reldep4mod4.c: Add prototype to avoid warning.
733         * elf/reldep4mod2.c: Likewise.
735         * sysdeps/i386/fpu/e_expl.c: Include <math_private.h> for
736         prototypes.
738 2001-06-18  Roland McGrath  <roland@frob.com>
740         * hurd/hurd/fd.h (_hurd_fd_error_signal): Change return type to int.
742 2001-06-20  Alexandre Oliva  <aoliva@redhat.com>
744         * sysdeps/unix/sysv/settimeofday.c: Include time.h.
746 2001-06-19  Martin Schwidefsky  <schwidefsky@de.ibm.com>
748         * sysdeps/unix/sysv/linux/s390/s390-64/dl-cache.h: New file.
750 2001-05-09  Michael Keezer  <mkeezer@redhat.com>
752         * Makeconfig: Added AIX-ld support for DSO.
753         * Makerules: Likewise.
754         * dlfcn/Makefile (defaultmod1.so): Added libc_nonshared.
755         (defaultmod2.so): Likewise.
756         * debug/Makefile: Conditionalize use of elf/ld.so.
757         * iconvdata/Makefile: Moved LDFLAG rpath/soname info into Makeconfig.
759         * sysdeps/unix/sysv/aix/Makefile: Added dl-support.c and dl-error.c.
760         * sysdeps/unix/sysv/aix/Makefile: Made (f/g)rsave(0/1) &
761         (f/g)prrest(0/1) static only.
762         * sysdeps/unix/sysv/aix/gettimeofday.c: Removed #if 0.
763         * sysdeps/unix/sysv/aix/start.c: Define __dso_handle if not ELF but
764         shared.
765         * sysdeps/unix/sysv/aix/setitimer.c: New file.
766         * sysdeps/unix/sysv/aix/sleep.c: New file.
767         * sysdeps/unix/sysv/aix/usleep.c: New file.
768         * sysdeps/unix/sysv/aix/dl-addr.c: New file.
769         * sysdeps/unix/sysv/aix/dl-error.c: New file.
770         * sysdeps/unix/sysv/aix/dl-support.c: New file.
771         * sysdeps/unix/sysv/aix/powerpc/register-dump.h: New file.
773 2001-06-19  Ulrich Drepper  <drepper@redhat.com>
775         * po/es.po: Update from translation team.
777 2001-06-19  Andreas Jaeger  <aj@suse.de>
779         * sysdeps/ieee754/ldbl-128/s_tanhl.c: New file.
781         * math/libm-test.inc (tanh_test): Test for 2^-56.
783         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Make sure result
784         equals argument when x < 2^-55.
785         Patches by Stephen L. Moshier <moshier@na-net.ornl.gov>.
787 2001-06-17  Alan Modra  <amodra@bigpond.net.au>
789         * sysdeps/hppa/dl-machine.h (elf_machine_rela): Handle relocs
790         at unaligned address.
792 2001-06-18  Ulrich Drepper  <drepper@redhat.com>
794         * posix/regex.c: Reorganize code to build code twice, once for single
795         byte, once for multi-byte charsets.  Choose function set adequate for
796         locale at runtime.
797         Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
799         * po/nl.po: Update from translation team.
801 2001-06-09  Bruno Haible  <haible@clisp.cons.org>
803         * iconvdata/gconv-modules (BIG5HKSCS): New alias BIG5-HKSCS.
804         (ISO-8859-14): New aliases ISO_8859-14 and ISO-CELTIC.
805         * iconvdata/tst-tables.sh: For BIG5HKSCS, use BIG5-HKSCS charmap.
807 2001-05-26  Bruno Haible  <haible@clisp.cons.org>
809         * iconvdata/tst-tables.sh: For SJIS module, use SHIFT_JIS charmap.
810         * manual/charset.texi: Write Shift_JIS, not Shift-JIS.
812 2001-06-17  Roland McGrath  <roland@frob.com>
814         * sysdeps/pthread/aio_misc.h (LIO_DSYNC): Define to LIO_NOP + 1,
815         not LIO_READ + 1 (which is the value of LIO_WRITE!).
817         * Makerules (build-module-helper-objlist): New variable,
818         broken out of build-module.  Insert --whole-archive/--no-whole-archive
819         immediately each *_pic.a file in the link object list.
820         (whole-archive): New variable, used by that.
821         (build-module-objlist): New variable using build-module-helper-objlist.
822         (build-module, build-module-helper): Use it.
823         (build-shlib-objlist): New variable using build-module-helper-objlist.
824         (build-shlib): Use that.
825         * sysdeps/mach/hurd/Makefile ($(link-rpcuserlibs)): Likewise.
827         * posix/spawni.c: Moved to ...
828         * sysdeps/posix/spawni.c: ... here.
829         * sysdeps/generic/spawni.c: New file.
831 2001-06-16  Roland McGrath  <roland@frob.com>
833         * hurd/Makefile (routines): Add lookup-retry.
834         * hurd/hurdlookup.c (__hurd_file_name_lookup_retry): Broken out ...
835         * hurd/lookup-retry.c: ... into here, new file.
836         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Call that instead
837         using of duplicate code here.
839         * hurd/hurdexec.c (_hurd_exec): Be robust for DTABLESIZE==0.
841 2001-06-17  Ulrich Drepper  <drepper@redhat.com>
843         * po/ja.po: Update from translation team.
845 2001-06-04  Bruno Haible  <haible@clisp.cons.org>
847         * locale/programs/locfile.c (siblings_uncached, siblings, full_read,
848         compare_files): New functions.
849         (write_locale_data): Use xmalloc.  Compare the file with the locale
850         data files for the same category in other locales, and reuse it if
851         possible and safe.
853 2001-06-07  Mark Kettenis  <kettenis@gnu.org>
855         * grp/initgroups.c (initgroups): Factor out re-usable code into...
856         (internal_getgrouplist): ... new function.
857         (getgrouplist): New function.
858         * grp/grp.h (getgrouplist): New prototype.
859         * grp/Versions [2.2.4]: Add getgrouplist.
861 2001-06-16  Ulrich Drepper  <drepper@redhat.com>
863         * inet/netinet/ip6.h: Fix comments in ip6_hdr.
864         Patch by Pekka Savola <pekkas@netcore.fi>.
866 2001-06-15  Roland McGrath  <roland@frob.com>
868         * rt/Makefile (aio-routines, clock-routines, timer-routines): New
869         variables, broken out of librt-routines.
870         (librt-routines): Set using those.
871         (extra-libs, extra-libc-others, tests): Set these unconditionally.
872         (distribute): No need for $(librt-map) or $(librt-routines:=.c) here.
873         * sysdeps/generic/aio_fsync.c: New file.
874         * sysdeps/generic/aio_misc.c: New file.
875         * sysdeps/generic/aio_write.c: New file.
876         * sysdeps/generic/aio_write64.c: New file.
877         * sysdeps/generic/aio_read64.c: New file.
878         * sysdeps/generic/aio_read.c: New file.
879         * sysdeps/generic/aio_notify.c: New file.
880         * sysdeps/generic/lio_listio64.c: New file.
881         * sysdeps/generic/lio_listio.c: New file.
882         * sysdeps/generic/aio_cancel.c: New file.
883         * sysdeps/generic/aio_misc.h: New file.
884         * sysdeps/generic/aio_suspend.c: New file.
885         * rt/aio_cancel.c: Moved to ...
886         * sysdeps/pthread/aio_cancel.c: ... here.
887         * rt/aio_fsync.c: Moved to ...
888         * sysdeps/pthread/aio_fsync.c: ... here.
889         * rt/aio_misc.c: Moved to ...
890         * sysdeps/pthread/aio_misc.c: ... here.
891         * rt/aio_misc.h: Moved to ...
892         * sysdeps/pthread/aio_misc.h: ... here.
893         * rt/aio_notify.c: Moved to ...
894         * sysdeps/pthread/aio_notify.c: ... here.
895         * rt/aio_read.c: Moved to ...
896         * sysdeps/pthread/aio_read.c: ... here.
897         * rt/aio_read64.c: Moved to ...
898         * sysdeps/pthread/aio_read64.c: ... here.
899         * rt/aio_suspend.c: Moved to ...
900         * sysdeps/pthread/aio_suspend.c: ... here.
901         * rt/aio_write.c: Moved to ...
902         * sysdeps/pthread/aio_write.c: ... here.
903         * rt/aio_write64.c: Moved to ...
904         * sysdeps/pthread/aio_write64.c: ... here.
905         * rt/lio_listio.c: Moved to ...
906         * sysdeps/pthread/lio_listio.c: ... here.
907         * rt/lio_listio64.c: Moved to ...
908         * sysdeps/pthread/lio_listio64.c: ... here.
910 2001-06-14  Roland McGrath  <roland@frob.com>
912         * configure.in: Let sysdeps Implies files in add-ons bring in
913         sysdeps directories from the main source and other add-ons too.
915 2001-06-15  Jakub Jelinek  <jakub@redhat.com>
917         * math/test-misc.c (main): Add tests for nextafter and nexttoward
918         with +-Inf as second argument.
920         * sysdeps/generic/s_nexttowardf.c (__nexttowardf): Only check for
921         NaN, not Inf.
922         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Fix check for NaN.
923         * sysdeps/i386/fpu/s_nexttoward.c: New.
924         * sysdeps/i386/fpu/s_nexttowardf.c: New.
925         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Simplify
926         check for NaN, optimize x==+-0 handling.
927         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf): Likewise.
928         * sysdeps/ieee754/ldbl-96/s_nextafterl.c (__nextafterl): Simplify
929         check for NaN, fix sign in x==+-0 case.
930         * sysdeps/ia64/fpu/s_nexttoward.c: New.
931         * sysdeps/ia64/fpu/s_nexttowardf.c: New.
933 2001-06-15  H.J. Lu  <hjl@gnu.org>
935         * rt/tst-aio2.c (do_test): Initialize cb.aio_offset to 0.
936         * rt/tst-aio3.c (do_test): Likewise.
937         * rt/tst-aio4.c (do_test): Likewise.
938         * rt/tst-aio5.c (do_test): Likewise.
939         * rt/tst-aio6.c (do_test): Likewise.
941 2001-06-15  Andreas Schwab  <schwab@suse.de>
943         * sysdeps/m68k/fpu/bits/mathinline.h: Don't define log2 as inline.
944         * sysdeps/m68k/fpu/mathimpl.h: Define __ieee754_log2 as inline.
946 2001-06-15  Andreas Jaeger  <aj@suse.de>
948         * gmon/tst-sprofil.c (fac): Make static to avoid compiler warning.
950 2001-06-14  Andreas Schwab  <schwab@suse.de>
952         * elf/ldconfig.c (search_dir): Fix check for regular file.
954         * sysdeps/m68k/fpu/e_log2f.c: Fix typo.
955         * sysdeps/m68k/fpu/e_log2l.c: Fix typo.
957 2001-06-14  Roland McGrath  <roland@frob.com>
959         * sysdeps/mach/hurd/bits/fcntl.h [ __USE_POSIX199309 || __USE_UNIX98]:
960         (O_DSYNC, O_RSYNC): New macros, both defined to O_SYNC as Linux does.
962 2001-06-13  Roland McGrath  <roland@frob.com>
964         * rt/aio_notify.c: Include <unistd.h> for _POSIX_REALTIME_SIGNALS.
966         * sysdeps/mach/hurd/fork.c (LOSE): Put `goto lose' in dead code
967         so the label is not considered unused.
969         * sysdeps/mach/hurd/pwrite64.c: New file.
970         * sysdeps/mach/hurd/pread64.c: New file.
972         * sysdeps/mach/hurd/pread.c
973         (__libc_pread): Define this name, with __pread as an alias.
974         * sysdeps/mach/hurd/pwrite.c
975         (__libc_pwrite): Define this name, with __pwrite as an alias.
977         Implement POSIX "shared memory objects" as regular
978         files residing in the /var/run/shm/ directory.
979         This works on any system that supports _POSIX_MAPPED_FILES,
980         to make it also support _POSIX_SHARED_MEMORY_OBJECTS.
981         * sysdeps/posix/shm_open.c: New file.
982         * sysdeps/posix/shm_unlink.c: New file.
983         * sysdeps/mach/hurd/bits/posix_opt.h
984         (_POSIX_SHARED_MEMORY_OBJECTS): Define it.
986         * rt/aio_notify.c (__aio_notify_only) [! _POSIX_REALTIME_SIGNALS]:
987         Use raise instead of __aio_sigqueue.
989         * sysdeps/mach/hurd/pread.c: Fail with EINVAL if OFFSET is negative.
990         * sysdeps/mach/hurd/pwrite.c: Likewise.
992         * shlib-versions [USE_IN_LIBIO] (.*-.*-gnu-gnu.*): libc=0.3
993         [USE_IN_LIBIO && !GLIBC_OLDEST_ABI] (.*-.*-gnu-gnu.*): Use GLIBC_2.2.4
994         as default version set.
996 2001-06-13  Ulrich Drepper  <drepper@redhat.com>
998         * libio/iolibio.h (_IO_freopen): Correct last parameter to
999         _IO_file_open.
1000         (_IO_freopen64): Likewise.
1001         Reported by simanek@quantum.karlov.mff.cuni.cz [PR libc/2326].
1003         * elf/elf.h: Add a few more EM_* constants.
1005 2001-06-12  Bruno Haible  <haible@clisp.cons.org>
1007         * intl/dcigettext.c (DCIGETTEXT): Release the lock before returning.
1009 2001-06-09  Ben Collins  <bcollins@debian.org>
1011         * sysdeps/unix/sysv/linux/bits/termios.h: Define __MAX_BAUD.
1012         * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
1013         * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
1014         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
1015         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
1016         * sysdeps/unix/sysv/linux/speed.c: Use __MAX_BAUD instead of
1017         hardcoded B400000.
1019 2001-06-13  Ulrich Drepper  <drepper@redhat.com>
1021         * time/sys/time.h: Don't use enum __itimer_which ever for
1022         __itimer_which_t for C++.
1023         Reported by Martin Buchholz <martin@xemacs.org>.
1025         * po/fr.po: Update from translation team.
1027 2001-06-12  H.J. Lu  <hjl@gnu.org>
1029         * configure.in: Fix typos in missing program names.
1030         * configure: Regenerated.
1032 2001-06-12  Andreas Jaeger  <aj@suse.de>
1034         * iconvdata/tst-table-to.c: Include string.h for strcmp prototype.
1036         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Add ULPs for tanh (-0.7).
1038 2001-06-11  Andreas Jaeger  <aj@suse.de>
1040         * sysdeps/ieee754/ldbl-128/e_coshl.c: New file.  Contributed by
1041         Stephen L Moshier <moshier@mediaone.net>.
1043         * aclocal.m4: Quote AC_FD_MSG and AC_FD_CC.
1045         * sysdeps/powerpc/fpu/libm-test-ulps: Add ULPs for tanh (-0.7).
1046         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
1048 2001-06-11  Michael Deutschmann  <michael@talamasca.ocis.net>
1050         * rt/tst-aio4.c (do_test): Test whether rt signals are supported.
1051         Use my_signo instead of MY_SIGNO and initialize it so that the
1052         used signal is always available.
1054 2001-06-11  Andreas Jaeger  <aj@suse.de>,
1055             Michael Deutschmann  <michael@talamasca.ocis.net>
1057         * io/test-lfs.c (do_prepare): Clean up error messages.
1058         (test_ftello): Check for EFBIG and ENOSPC, clean up error messages.
1059         (do_test): Likewise.
1061 2001-06-11  Andreas Jaeger  <aj@suse.de>
1063         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (IXANY, IUCLC,
1064         IMAXBEL): Make always visible since they're needed by POSIX.
1065         Closes PR libc/2320, reported by Chris Yeoh <cyeoh@samba.org>.
1067 2001-06-10  Ben Collins  <bcollins@debian.org>
1069         * sysdeps/arm/elf/start.S: Use #function, not @function, for
1070         .type of _start.
1072         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Include limits.h to get
1073         INT_MAX.
1075 2001-06-07  H.J. Lu  <hjl@gnu.org>
1077         * sunrpc/rpc/rpc.h: Add __BEGIN_DECLS/__END_DECLS.
1079 2001-06-10  Roland McGrath  <roland@frob.com>
1081         * elf/reldep4mod2.c: Use fully typed decls to avoid warnings.
1082         * elf/reldep4mod4.c: Likewise.
1084 2001-06-10  Mark Kettenis  <kettenis@gnu.org>
1086         * hurd/hurd/threadvar.h: Add prototype for __hurd_errno_location.
1088 2001-06-08  Andreas Schwab  <schwab@suse.de>
1090         * posix/regex.c (re_match_2_internal) [case wordbeg, wordend]:
1091         Don't dereference at end of string.
1093 2001-06-06  Roland McGrath  <roland@frob.com>
1095         * sysdeps/mach/hurd/getsockopt.c: Fix handling of returned buffer size.
1096         From Robert Bihlmeyer <robbe@orcus.priv.at>.
1098 2001-06-06  Ulrich Drepper  <drepper@redhat.com>
1100         * po/ko.po: Update from translation team.
1102 2001-06-06  Andreas Jaeger  <aj@suse.de>
1104         * manual/llio.texi (Memory-mapped I/O): Clarify that mapping is to
1105         offset+length-1.
1106         Reported by Robert Bernecky <bernecky@acm.org>.
1108 2001-06-06  Jakub Jelinek  <jakub@redhat.com>
1110         * sysdeps/cris/elf/start.S: Fix a typo introduced by last patch.
1111         * sysdeps/ia64/elf/start.S: Likewise.
1112         * sysdeps/sh/elf/start.S: Likewise.
1113         * sysdeps/s390/s390-32/elf/start.S: Likewise.
1114         * sysdeps/s390/s390-64/elf/start.S: Likewise.
1116 2001-06-05  Matthew Wilcox  <willy@ldl.fc.hp.com>
1118         * sysdeps/hppa/bsd-_setjmp.S: New.
1119         * sysdeps/hppa/bsd-setjmp.S: New.
1121         * sysdeps/hppa/dl-machine.h: Reformat asm statements to remove new
1122         gcc warnings about multi-line strings.
1124         * sysdeps/unix/sysv/linux/hppa/getrlimit.c: Remove.
1125         * sysdeps/unix/sysv/linux/hppa/setrlimit.c: Remove.
1127         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Call getrlimit,
1128         setrlimit directly instead of using wrappers.
1130 2001-05-01  Richard Hirst  <rhirst@linuxcare.com>
1132         * sysdeps/unix/sysv/linux/hppa/syscall.S: remove dummy syscall.
1133         * sysdeps/unix/sysv/linux/hppa/sysdep.c: implement syscall.
1135 2001-06-05  Philipp Thomas  <pthomas@suse.de>
1137         * nis/nis_call.c (__nisbind_connect): Don't mark for translation
1138         what can't be translated.
1140 2001-06-06  Ulrich Drepper  <drepper@redhat.com>
1142         * timezone/zic.c: Update from tzcode2001c.
1143         * timezone/private.h: Likewise.
1144         * timezone/africa: Update from tzdata2001c.
1145         * timezone/asia: Likewise.
1146         * timezone/europe: Likewise.
1147         * timezone/northamerica: Likewise.
1148         * timezone/southamerica: Likewise.
1149         * timezone/zone.tab: Likewise.
1151 2001-06-04  Bruno Haible  <haible@clisp.cons.org>
1153         * iconv/loop.c (UNICODE_TAG_HANDLER): New macro.
1154         * iconv/gconv_simple.c (__gconv_transform_internal_ascii): Invoke
1155         UNICODE_TAG_HANDLER.
1156         (__gconv_transform_internal_ucs2): Likewise.
1157         (__gconv_transform_internal_ucs2reverse): Likewise.
1158         * iconvdata/8bit-gap.c (BODY for TO_LOOP): Invoke UNICODE_TAG_HANDLER.
1159         * iconvdata/8bit-generic.c (BODY for TO_LOOP): Likewise.
1160         * iconvdata/ansi_x3.110.c (BODY for TO_LOOP): Likewise.
1161         * iconvdata/big5.c (BODY for TO_LOOP): Likewise.
1162         * iconvdata/big5hkscs.c (BODY for TO_LOOP): Likewise.
1163         * iconvdata/cp1255.c (BODY for TO_LOOP): Likewise.
1164         * iconvdata/cp1258.c (BODY for TO_LOOP): Likewise.
1165         * iconvdata/euc-cn.c (BODY for TO_LOOP): Likewise.
1166         * iconvdata/euc-jp.c (BODY for TO_LOOP): Likewise.
1167         * iconvdata/euc-kr.c (BODY for TO_LOOP): Likewise.
1168         * iconvdata/euc-tw.c (BODY for TO_LOOP): Likewise.
1169         * iconvdata/gbk.c (BODY for TO_LOOP): Likewise.
1170         * iconvdata/ibm930.c (BODY for TO_LOOP): Likewise.
1171         * iconvdata/ibm932.c (BODY for TO_LOOP): Likewise.
1172         * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
1173         * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
1174         * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
1175         * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
1176         * iconvdata/ibm943.c (BODY for TO_LOOP): Likewise.
1177         * iconvdata/iso646.c (BODY for TO_LOOP): Likewise.
1178         * iconvdata/iso8859-1.c (BODY for TO_LOOP): Likewise.
1179         * iconvdata/iso_6937.c (BODY for TO_LOOP): Likewise.
1180         * iconvdata/iso_6937-2.c (BODY for TO_LOOP): Likewise.
1181         * iconvdata/iso-2022-cn.c (BODY for TO_LOOP): Likewise.
1182         * iconvdata/iso-2022-cn-ext.c (BODY for TO_LOOP): Likewise.
1183         * iconvdata/iso-2022-kr.c (BODY for TO_LOOP): Likewise.
1184         * iconvdata/johab.c (BODY for TO_LOOP): Likewise.
1185         * iconvdata/sjis.c (BODY for TO_LOOP): Likewise.
1186         * iconvdata/t.61.c (BODY for TO_LOOP): Likewise.
1187         * iconvdata/uhc.c (BODY for TO_LOOP): Likewise.
1188         * iconvdata/unicode.c (BODY for TO_LOOP): Likewise.
1189         * iconvdata/iso-2022-jp.c (TAG_none, TAG_language, TAG_language_j,
1190         TAG_language_ja, TAG_language_k, TAG_language_ko, TAG_language_z,
1191         TAG_language_zh, CURRENT_TAG_MASK): New enum values.
1192         (EMIT_SHIFT_TO_INIT): Don't emit an escape sequence if ASCII_set
1193         is already selected but set2 or tag are set.
1194         (conversion): New enum type.
1195         (cvlist_t): New type.
1196         (CVLIST, CVLIST_FIRST, CVLIST_REST): New macros.
1197         (conversion_lists): New array.
1198         (BODY for TO_LOOP): Keep track of Unicode 3.1 language tag.  If "ja",
1199         prefer conversion to Japanese character sets.  If "zh", prefer
1200         conversion to GB2312.  If "ko", prefer conversion to KSC5601.  Small
1201         optimizations.
1202         (INIT_PARAMS): Add tag.
1203         (UPDATE_PARAMS): Add tag.
1205 2001-06-04  Bruno Haible  <haible@clisp.cons.org>
1207         * locale/programs/locfile.c (write_locale_data): Before creat(),
1208         unlink the file, to avoid crashing the processes that mmap it.  Change
1209         a double slash to a single slash.  Free fname in case of error return.
1211 2001-06-02  Jakub Jelinek  <jakub@redhat.com>
1213         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Mostly revert 2000-12-03
1214         changes, do the special handling for denormal numbers, not for
1215         normalized numbers (patch by <trevin@xmission.com>).
1217         * math/test-misc.c (main): Test frexpl with denormal arguments.
1219 2001-06-04  Jakub Jelinek  <jakub@redhat.com>
1221         * math/libm-test.inc (llround_test): Add two new llround tests.
1222         * sysdeps/ieee754/ldbl-96/s_llroundl.c (__llroundl): Don't allow
1223         overflow when rounding away from zero.
1225 2001-06-04  Jakub Jelinek  <jakub@redhat.com>
1227         * math/Makefile (libm-calls): Add e_log2, w_log2, remove s_log2.
1228         * math/math_private.h (__ieee754_log2, __ieee754_log2f,
1229         __ieee754_log2l): New prototypes.
1230         * sysdeps/generic/w_log2.c: New file.
1231         * sysdeps/generic/w_log2f.c: New file.
1232         * sysdeps/generic/w_log2l.c: New file.
1233         * sysdeps/generic/s_log2l.c: Move...
1234         * sysdeps/generic/e_log2l.c: ...to here.  Rename to __ieee754_log2l.
1235         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle log2(0)
1236         and log2(x < 0).
1237         * sysdeps/i386/fpu/s_log2.S: Move...
1238         * sysdeps/i386/fpu/e_log2.S: ...to here.  Rename to __ieee754_log2.
1239         * sysdeps/i386/fpu/s_log2f.S: Move...
1240         * sysdeps/i386/fpu/e_log2f.S: ...to here.  Rename to __ieee754_log2f.
1241         * sysdeps/i386/fpu/s_log2l.S: Move...
1242         * sysdeps/i386/fpu/e_log2l.S: ...to here.  Rename to __ieee754_log2l.
1243         * sysdeps/m68k/fpu/s_log2.c: Move...
1244         * sysdeps/m68k/fpu/e_log2.c: ...to here.  Rename to __ieee754_log2.
1245         * sysdeps/m68k/fpu/s_log2f.c: Move...
1246         * sysdeps/m68k/fpu/e_log2f.c: ...to here.  Rename to __ieee754_log2f.
1247         * sysdeps/m68k/fpu/s_log2l.c: Move...
1248         * sysdeps/m68k/fpu/e_log2l.c: ...to here.  Rename to __ieee754_log2l.
1249         * sysdeps/ieee754/dbl-64/s_log2.c: Move...
1250         * sysdeps/ieee754/dbl-64/e_log2.c: ...to here.  Rename to
1251         __ieee754_log2.
1252         * sysdeps/ieee754/flt-32/s_log2f.c: Move...
1253         * sysdeps/ieee754/flt-32/e_log2f.c: ...to here.  Rename to
1254         __ieee754_log2f.
1256 2001-06-04  Jakub Jelinek  <jakub@redhat.com>
1258         * sysdeps/generic/w_exp2.c (u_threshold): Lower threshold so that
1259         even arguments which result in denormalized exp2 are accepted.
1260         (__exp2): Arguments equal to u_threshold already result into
1261         underflow.
1262         * sysdeps/generic/w_exp2f.c (u_threshold, __exp2f): Likewise.
1263         * sysdeps/generic/w_exp2l.c (u_threshold, __exp2l): Likewise.
1264         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Lomark was too
1265         low, with corrected lowmark use greaterequal, not greater.
1266         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
1268 2001-06-04  Jakub Jelinek  <jakub@redhat.com>
1270         * math/libm-test.inc (ilogb_test): Test that ilogb(+-Inf) == INT_MAX.
1271         * sysdeps/i386/fpu/s_ilogb.S (__ilogb): Return INT_MAX for +-Inf.
1272         * sysdeps/i386/fpu/s_ilogbf.S (__ilogbf): Likewise.
1273         * sysdeps/i386/fpu/s_ilogbl.S (__ilogbl): Likewise.
1274         * sysdeps/ieee754/dbl-64/s_ilogb.c (__ilogb): Likewise.
1275         * sysdeps/ieee754/flt-32/s_ilogbf.c (__ilogbf): Likewise.
1276         * sysdeps/ieee754/ldbl-128/s_ilogbl.c (__ilogbl): Likewise.
1277         * sysdeps/ieee754/ldbl-96/s_ilogbl.c (__ilogbl): Likewise.
1279 2001-06-04  Jakub Jelinek  <jakub@redhat.com>
1281         * sysdeps/generic/w_coshl.c (__coshl): Test if finite argument
1282         gave non-finite result instead of using constant in generic
1283         version.
1284         * sysdeps/generic/w_coshf.c (__coshf): Likewise.
1285         * sysdeps/generic/w_cosh.c (__cosh): Likewise.
1286         * sysdeps/generic/w_exp10.c (o_threshold, u_threshold): Remove.
1287         (__exp10): Test if finite argument gave non-finite result.
1288         * sysdeps/generic/w_exp10f.c (o_threshold, u_threshold, __exp10f):
1289         Likewise.
1290         * sysdeps/generic/w_exp10l.c (o_threshold, u_threshold, __exp10l):
1291         Likewise.
1293 2001-06-04  Jakub Jelinek  <jakub@redhat.com>
1295         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Fix
1296         overflow threshold constant (log(LDBL_MAX)+M_LN2l).
1298 2001-05-29  Bruno Haible  <haible@clisp.cons.org>
1300         * locale/programs/ld-ctype.c (idx_table): New struct type.
1301         (idx_table_init, idx_table_get, idx_table_add): New functions.
1302         (MAX_CHARNAMES_IDX): Remove macro.
1303         (locale_ctype_t): Change type of charnames_idx field.
1304         (ctype_startup): Change initialization of charnames_idx field.
1305         (find_idx): Use idx_table_get and idx_table_add for speed.
1307         * locale/programs/charmap.c (charmap_new_char): Fix ucs4 value
1308         computation of characters in a range.
1310 2001-05-29  Bruno Haible  <haible@clisp.cons.org>
1312         * iconvdata/gb18030.c (__fourbyte_to_ucs1): Add mappings for <U03F4>,
1313         <U03F5>.
1314         (__ucs_to_gb18030_tab1): Likewise.
1315         (BODY for FROM_LOOP): Add mapping for <U00010000>..<U0010FFFF>.
1316         (BODY for TO_LOOP): Likewise.
1317         * iconvdata/tst-table-charmap.sh: Update for charmaps containing
1318         <U00xxxxxx> syntax.
1319         * iconvdata/tst-table-from.c (bmp_only): New variable.
1320         (utf8_decode): If bmp_only, don't return characters outside Unicode
1321         plane 0.
1322         (main): When testing UTF-8 or GB18030, set bmp_only to 1.  Don't print
1323         a conversion line if utf8_decode returns NULL.
1324         * iconvdata/tst-table-to.c (main): When testing encodings other than
1325         UTF-8 and GB18030, loop upto U+30000 instead of U+10000.  Use UTF-8
1326         instead of UCS-2 as input.
1327         * iconvdata/tst-table.sh: For GB18030, use only the part < 0x10000
1328         of the charmap.
1330 2001-05-29  Bruno Haible  <haible@clisp.cons.org>
1332         * iconvdata/cns11643l1.c: Update to Unicode 3.1.
1333         (__cns11643l1_to_ucs4_tab): Regenerated.
1334         (__cns11643l1_from_ucs4_tab12): Regenerated.
1335         * iconvdata/cns11643.c: Update to Unicode 3.1.
1336         (__cns11643l14_to_ucs4_tab): Remove array.
1337         (__cns11643l3_to_ucs4_tab, __cns11643l4_to_ucs4_tab,
1338         __cns11643l5_to_ucs4_tab, __cns11643l6_to_ucs4_tab,
1339         __cns11643l7_to_ucs4_tab, __cns11643l15_to_ucs4_tab): New arrays.
1340         (__cns11643_from_ucs4p0_tab): Renamed from __cns11643_from_ucs4_tab.
1341         (__cns11643_from_ucs4p2_tab): New array.
1342         * iconvdata/cns11643.h (__cns11643l14_to_ucs4_tab): Remove declaration.
1343         (__cns11643l3_to_ucs4_tab, __cns11643l4_to_ucs4_tab,
1344         __cns11643l5_to_ucs4_tab, __cns11643l6_to_ucs4_tab,
1345         __cns11643l7_to_ucs4_tab, __cns11643l15_to_ucs4_tab): New declarations.
1346         (cns11643_to_ucs4): Treat planes 3, 4, 5, 6, 7, 15 instead of 14.
1347         (__cns11643_from_ucs4_tab): Remove declaration.
1348         (__cns11643_from_ucs4p0_tab, __cns11643_from_ucs4p2_tab): New
1349         declarations.
1350         (ucs4_to_cns11643): Update for new arrays.  Treat U+3400..U+4DFF and
1351         U+20000..U+2A6D6.
1352         * iconvdata/cns11643l2.h (__cns11643_from_ucs4_tab): Remove
1353         declaration.
1354         (__cns11643_from_ucs4p0_tab): New declaration.
1355         (ucs4_to_cns11643l2): Update for new arrays.
1356         * iconvdata/iso-2022-cn-ext.c (BODY for FROM_LOOP): Handle planes
1357         3 to 7.
1358         (BODY for TO_LOOP): Handle planes 3 to 7, instead of plane 14.
1359         * iconvdata/EUC-TW.irreversible: New file.
1360         * iconvdata/tst-table.sh: Use it.
1361         * iconvdata/Makefile (distribute): Add CP1255.irreversible,
1362         CP1258.irreversible, EUC-TW.irreversible.
1364 2001-05-29  Bruno Haible  <haible@clisp.cons.org>
1366         * locale/C-translit.h.in: Add transliterations for new Unicode 3.1
1367         mathematical symbols.
1369 2001-06-05  Andreas Jaeger  <aj@suse.de>
1371         * manual/stdio.texi (Portable Positioning): Fix description of
1372         fpos_t and fpos64_t.
1374 2001-06-06  Ulrich Drepper  <drepper@redhat.com>
1376         * sysdeps/generic/wordexp.c: Undo last patch.  Use strndupa instead.
1378         * po/sk.po: Update from translation team.
1380 2001-06-05  Andreas Jaeger  <aj@suse.de>
1382         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Recognize
1383         tmpfs, patch by Stanislav Brabec <utx@penguin.cz>.
1384         Closes PR libc/2315.
1386 2001-06-05  Ulrich Drepper  <drepper@redhat.com>
1388         * sysdeps/generic/wordexp.c: Add missing free.
1389         Patch by yeti@physics.muni.cz.
1391 2001-06-02  Tom Browder  <tbrowder@home.com>
1393         * misc/tst-tsearch.c (mangle_tree): Ensure array indices are
1394         within bounds when lag > 0.
1396 2001-06-05  Ulrich Drepper  <drepper@redhat.com>
1398         * po/tr.po: New file.
1400 2001-06-05  Andreas Jaeger  <aj@suse.de>
1402         * manual/libm-err-tab.pl (parse_ulps): Fix typo.
1404 2001-06-04  H.J. Lu  <hjl@gnu.org>
1406         * sysdeps/alpha/elf/start.S: Add .type for the entry point.
1407         * sysdeps/arm/elf/start.S: Likewise.
1408         * sysdeps/hppa/elf/start.S: Likewise.
1409         * sysdeps/i386/elf/start.S: Likewise.
1410         * sysdeps/m68k/elf/start.S: Likewise.
1411         * sysdeps/mips/elf/start.S: Likewise.
1412         * sysdeps/ia64/elf/start.S: Likewise.
1413         * sysdeps/sh/elf/start.S: Likewise.
1414         * sysdeps/s390/s390-32/elf/start.S: Likewise.
1415         * sysdeps/s390/s390-64/elf/start.S: Likewise.
1416         * sysdeps/cris/elf/start.S: Likewise.
1418 2001-06-04  Bruce Mitchener  <bruce@cubik.org>
1420         * manual/resource.texi: Correct setpriority/nice documentation.
1422         * sysdeps/unix/nice.c: Correct nice() implementation.
1424 2001-06-04  Andreas Jaeger  <aj@suse.de>
1426         * sysdeps/ieee754/ldbl-128/e_sinhl.c: New file, contributed by
1427         Stephen L Moshier <moshier@mediaone.net>.
1429 2001-06-03  Roland McGrath  <roland@frob.com>
1431         * Makefile (postclean): Remove obsolete sysd-Makefile.
1433 2001-06-01  Roland McGrath  <roland@frob.com>
1435         * sysdeps/alpha/fpu/fclrexcpt.c: #include <shlib-compat.h>
1436         and use compat_symbol/versioned_symbol instead of plain
1437         symbol_version/default_symbol_version.
1438         * sysdeps/alpha/fpu/fegetenv.c: Likewise.
1439         * sysdeps/alpha/fpu/fesetenv.c: Likewise.
1440         * sysdeps/alpha/fpu/feupdateenv.c: Likewise.
1441         * sysdeps/alpha/fpu/fgetexcptflg.c: Likewise.
1442         * sysdeps/alpha/fpu/fraiseexcpt.c: Likewise.
1443         * sysdeps/alpha/fpu/fsetexcptflg.c: Likewise.
1444         * sysdeps/arm/fpu/fclrexcpt.c: Likewise.
1445         * sysdeps/arm/fpu/fegetenv.c: Likewise.
1446         * sysdeps/arm/fpu/fesetenv.c: Likewise.
1447         * sysdeps/arm/fpu/fraiseexcpt.c: Likewise.
1448         * sysdeps/arm/fpu/fsetexcptflg.c: Likewise.
1449         * sysdeps/i386/fpu/fclrexcpt.c: Likewise.
1450         * sysdeps/i386/fpu/fegetenv.c: Likewise.
1451         * sysdeps/i386/fpu/fesetenv.c: Likewise.
1452         * sysdeps/i386/fpu/feupdateenv.c: Likewise.
1453         * sysdeps/i386/fpu/fgetexcptflg.c: Likewise.
1454         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
1455         * sysdeps/i386/fpu/fsetexcptflg.c: Likewise.
1456         * sysdeps/m68k/fpu/fclrexcpt.c: Likewise.
1457         * sysdeps/m68k/fpu/fegetenv.c: Likewise.
1458         * sysdeps/m68k/fpu/fesetenv.c: Likewise.
1459         * sysdeps/m68k/fpu/feupdateenv.c: Likewise.
1460         * sysdeps/m68k/fpu/fgetexcptflg.c: Likewise.
1461         * sysdeps/m68k/fpu/fraiseexcpt.c: Likewise.
1462         * sysdeps/m68k/fpu/fsetexcptflg.c: Likewise.
1463         * sysdeps/powerpc/fclrexcpt.c: Likewise.
1464         * sysdeps/powerpc/fpu/fegetenv.c: Likewise.
1465         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
1466         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
1467         * sysdeps/powerpc/fpu/fgetexcptflg.c: Likewise.
1468         * sysdeps/powerpc/fpu/fraiseexcpt.c: Likewise.
1469         * sysdeps/powerpc/fpu/fsetexcptflg.c: Likewise.
1471         * iconvdata/cp1258.c: Include <stdlib.h> for abort decl.
1472         * iconvdata/iso-2022-cn-ext.c: Likewise.
1474 2001-06-01  Andreas Jaeger  <aj@suse.de>
1476         * Versions.def: Add version 2.2.4.
1478 2001-06-01  Ulrich Drepper  <drepper@redhat.com>
1480         * socket/Makefile (routines): Add sockatmark.
1481         * socket/Versions [GLIBC_2.2.4]: Add sockatmark.
1482         * socket/sys/socket.h: Add prototype for sockatmark.
1483         * sysdeps/generic/sockatmark.c: New file.
1484         * sysdeps/unix/sockatmark.c: New file.
1486 2001-06-01  Andreas Jaeger  <aj@suse.de>
1488         * sysdeps/unix/sysv/linux/speed.c (cfsetispeed): Max speed is
1489         B4000000.
1490         (cfsetospeed): Likewise.
1491         Reported by Lukasz Trabinski <lukasz@lt.wsisiz.edu.pl>.
1493 2001-05-31  Joseph S. Myers  <jsm28@cam.ac.uk>
1495         * misc/sys/cdefs.h (__restrict_arr): Define to empty for C++.
1497 2001-05-30  Martin Schwidefsky  <schwidefsky@de.ibm.com>
1499         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: greg_t
1500         needs to have the same aligment as the kernel structure.
1502 2001-05-29  Jakub Jelinek  <jakub@redhat.com>
1504         * sunrpc/rpc/types.h (u_char, u_short, u_int, u_long, quad_t,
1505         u_quad_t, fsid_t, daddr_t, caddr_t): Make sure the types are defined.
1506         * posix/sys/types.h (u_char, u_short, u_int, u_long, quad_t,
1507         u_quad_t, fsid_t, daddr_t, caddr_t): Protect the __USE_BSD typedefs
1508         against multiple definition.
1510 2001-05-30  Ulrich Drepper  <drepper@redhat.com>
1512         * po/da.po: Update from translation team.
1514 2001-05-29  Andreas Jaeger  <aj@suse.de>
1516         * sysdeps/ieee754/ldbl-128/e_acosl.c: New file, contributed by
1517         Stephen L Moshier <moshier@mediaone.net>.
1519         * math/libm-test.inc (sinh_test): Add new test case.
1521         * sysdeps/ieee754/ldbl_96/e_sinhl.c (__ieee754_sinhl): sinhl(x) =
1522         x when x < 2^-32.
1523         Patch by Stephen L Moshier <moshier@mediaone.net>.
1525 2001-05-23  Andreas Jaeger  <aj@suse.de>
1527         * iconvdata/testdata/WINDOWS-1255..UTF-8: Renamed to...
1528         * iconvdata/testdata/WINDOWS-1255..UTF8: this.
1530 2001-05-27  Andreas Jaeger  <aj@suse.de>
1532         * manual/stdio.texi (String Streams): Fix fmemopen description.
1533         Reported by Michal Kochanowicz <michal@michal.waw.pl>.
1535 2001-05-26  H.J. Lu <hjl@gnu.org>
1537         * sysdeps/unix/sysv/linux/mips/syscalls.list: Change sigsuspend
1538         to s_sigsuspend.  Add s_mmap2.
1540         * sysdeps/mips/atomicity.h: New file.
1542         * sysdeps/unix/sysv/linux/mips/getsysstats.c: New file.
1544         * sysdeps/unix/sysv/linux/mips/bits/ipc.h (ipc_perm): Put
1545         back __key.
1547 2001-05-25  Bruce Mitchener  <bruce@cubik.org>
1549         * manual/ctype.texi: Minor fix.
1550         * manual/install.texi: Likewise.
1551         * manual/startup.texi: Likewise.
1552         * manual/examples/dir.c: Use perror() rather than puts().
1554 2001-05-25  David Mosberger  <davidm@hpl.hp.com>
1556         * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h: Put stuff following
1557         #endif directive inside a comment to avoid compiler warnings.
1559 2001-05-25  Philipp Thomas  <pthomas@suse.de>
1561         * nis/nis_print.c (nis_nstype2str): Don't mark names of
1562         naming services for translation, only UNKNOWN needs it.
1563         Add comment to prevent it for the future.
1565 2001-05-25  Joseph S. Myers  <jsm28@cam.ac.uk>
1567         * misc/sys/cdefs.h (__restrict_arr): Define appropriately for GCC
1568         3.1 and non-GCC C99 compilers.
1570 2001-05-22  David Mosberger  <davidm@hpl.hp.com>
1572         * sysdeps/ia64/memmove.S: Increase MEMLAT from 6 to 21 for better
1573         performance.
1574         * sysdeps/ia64/memcpy.S: Likewise.
1576         * sysdeps/ia64/bcopy.S: New file.
1578         * sysdeps/ia64/bzero.S: New file (derived from memset.S).
1580 2001-05-26  Ulrich Drepper  <drepper@redhat.com>
1582         * sysdeps/ia64/fpu/libm-test-ulps: Add deltas for tanh(-0.7).
1584 2001-05-24  Ulrich Drepper  <drepper@redhat.com>
1586         * iconvdata/Makefile: Add rules for CP10007.
1587         * iconvdata/gconv-modules: Add entries for CP10007 ad MacCyrillic.
1588         * iconvdata/cp10007.c: New file.
1589         * iconvdata/tst-tables.sh: Add CP10007.
1591 2001-05-23  kaz Kojima  <kkojima@rr.iij4u.or.jp>
1593         * sysdeps/sh/dl-machine.h (_dl_runtime_resolve): Handle newer PLT.
1594         (_dl_runtime_profile): Likewise..
1596 2001-05-23  Thorsten Kukuk  <kukuk@suse.de>
1598         * sysdeps/posix/getaddrinfo.c: Support for AF_UNIX commented out.
1599         * posix/tst-getaddrinfo.c: Remove AF_UNIX test.
1601 2001-05-19  H.J. Lu  <hjl@gnu.org>
1603         * elf/dl-deps.c (_dl_map_object_deps): Pass objname and
1604         errstring of the failed DSO to _dl_signal_error ().
1606 2001-05-23  Ulrich Drepper  <drepper@redhat.com>
1608         * iconvdata/gconv-modules: Add more aliases to enable use in
1609         locale names.
1611 2001-05-23  Andreas Jaeger  <aj@suse.de>
1613         * sysdeps/unix/sysv/linux/ia64/Makefile (CFLAGS-initfini.s):
1614         Remove, it's not used anywhere anymore.
1615         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile
1616         (CFLAGS-initfini.s): Likewise.
1617         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile
1618         (CFLAGS-initfini.s): Likewise.
1619         * sysdeps/unix/sysv/linux/powerpc/Makefile (CFLAGS-initfini.s):
1620         Likewise.
1621         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-initfini.s):
1622         Likewise.
1624 2001-05-21  Bruno Haible  <haible@clisp.cons.org>
1626         * wcsmbs/mbrtowc.c (mbrtowc): Remove local variable 'flush', always
1627         use 0 instead, and rely on the converter to do the flush.
1628         * wcsmbs/tst-mbrtowc.c (utf8_test_1): New function, taken from
1629         utf8_test.
1630         (utf8_test_2, utf8_test_3): New function.
1631         (utf8_test): Call utf8_test_1, utf8_test_2, utf8_test_3.
1633 2001-05-22  Jakub Jelinek  <jakub@redhat.com>
1635         * elf/dl-close.c (_dl_close): Save imap->l_reldeps, not map->l_reldeps.
1637         * elf/Makefile (distribute): Add reldep4mod[1234].c.
1638         (tests): Add reldep4.
1639         (modules-names): Add reldep4mod[1234].
1640         (reldep4mod1.so, reldep4mod2.so, reldep4, reldep4.out): New rules.
1641         * elf/reldep4.c: New file.
1642         * elf/reldep4mod1.c: Likewise.
1643         * elf/reldep4mod2.c: Likewise.
1644         * elf/reldep4mod3.c: Likewise.
1645         * elf/reldep4mod4.c: Likewise.
1647 2001-05-18  Jakub Jelinek  <jakub@redhat.com>
1649         * elf/dl-lookup.c (PROTECTED): Remove defines.
1650         (add_dependency): Mark it with internal_function.
1651         (_dl_do_lookup, _dl_do_lookup_versioned): New functions.
1652         (_dl_lookup_symbol, _dl_lookup_symbol_skip,
1653         _dl_lookup_versioned_symbol, _dl_lookup_versioned_symbol_skip): Use
1654         it if we don't want do_lookup* inlined.
1656 2001-05-18  Jakub Jelinek  <jakub@redhat.com>
1658         * include/link.h (struct r_scope_elem): Remove r_duplist and
1659         r_nduplist fields.
1660         * elf/dl-load.c (_dl_map_object_from_fd): Don't initialize them.
1661         * elf/dl-lookup.c (_dl_lookup_symbol_skip): Look in r_list, not
1662         r_duplist.
1663         (_dl_lookup_versioned_symbol_skip): Likewise.
1664         * elf/dl-deps.c (struct list): Remove dup field, rename unique to next.
1665         (_dl_map_object_deps): Don't compute duplicate list.
1667         * elf/dl-symbol.c: Removed.
1668         * elf/Makefile (routines): Remove dl-symbol.
1670 2001-05-22  Ulrich Drepper  <drepper@redhat.com>
1672         * po/el.po: Update from translation team.
1673         * po/sv.po: Likewise.
1675 2001-05-20  Bruno Haible  <haible@clisp.cons.org>
1677         * iconvdata/cp1255.c: Completely rewritten.
1678         * iconvdata/Makefile (gen-8bit-gap-modules): Remove cp1255.
1679         * iconvdata/testdata/WINDOWS-1255: New file.
1680         * iconvdata/testdata/WINDOWS-1255..UTF8: New file.
1681         * iconvdata/TESTS: Add WINDOWS-1255 test.
1682         * iconvdata/CP1255.irreversible: New file.
1684 2001-05-20  Bruno Haible  <haible@clisp.cons.org>
1686         * iconvdata/cp1258.c: Completely rewritten.
1687         * iconvdata/Makefile (gen-8bit-gap-modules): Remove cp1258.
1688         * iconvdata/testdata/WINDOWS-1258: New file.
1689         * iconvdata/testdata/WINDOWS-1258..UTF8: New file.
1690         * iconvdata/TESTS: Add WINDOWS-1258 test.
1691         * iconvdata/tst-table-from.c (try): Reset the iconv descriptor before
1692         the main call, and flush it afterwards.
1693         (utf8_decode): Return a string, possibly containing several Unicode
1694         characters.
1695         (main): Update all utf8_decode calls.
1696         * iconvdata/CP1258.irreversible: New file.
1698 2001-05-20  Bruno Haible  <haible@clisp.cons.org>
1700         * iconv/gconv.c (__gconv): For flush without output, pass do_flush = 2.
1701         * iconv/skeleton.c: Distinguish do_flush = 1 and do_flush = 2.  In the
1702         first case, set outbuf, outstart, outend, and call PREPARE_LOOP before
1703         EMIT_SHIFT_TO_INIT; then pass the output produced by this step down to
1704         the next step.  In the second case, clear the state without calling
1705         EMIT_SHIFT_TO_INIT.
1706         * iconvdata/ibm930.c (EMIT_SHIFT_TO_INIT): Use outbuf instead of
1707         data->__outbuf, and outend instead of data->__outbufend.
1708         * iconvdata/ibm933.c (EMIT_SHIFT_TO_INIT): Likewise.
1709         * iconvdata/ibm935.c (EMIT_SHIFT_TO_INIT): Likewise.
1710         * iconvdata/ibm937.c (EMIT_SHIFT_TO_INIT): Likewise.
1711         * iconvdata/ibm939.c (EMIT_SHIFT_TO_INIT): Likewise.
1712         * iconvdata/iso-2022-cn.c (EMIT_SHIFT_TO_INIT): Likewise.
1713         * iconvdata/iso-2022-cn-ext.c (EMIT_SHIFT_TO_INIT): Likewise.
1714         * iconvdata/iso-2022-jp.c (EMIT_SHIFT_TO_INIT): Likewise.
1715         * iconvdata/iso-2022-kr.c (EMIT_SHIFT_TO_INIT): Likewise.
1716         * iconvdata/utf-7.c (EMIT_SHIFT_TO_INIT): Likewise.
1718 2001-05-21  Jakub Jelinek  <jakub@redhat.com>
1720         * elf/rtld.c (dl_main): Compute l_map_end for the main program.
1721         * elf/dl-sym.c (_dl_sym): Don't check for l_addr == 0.
1722         If match == _dl_loaded, caller can still come from the main program.
1723         (_dl_vsym): Likewise.
1724         * elf/dl-open.c (dl_open_worker): Don't check for l_addr == 0.
1725         * elf/dl-error.c (_dl_signal_error): Change NULL objname into "".
1726         * elf/restest2.c: New test.
1727         * elf/Makefile (tests): Add restest2.
1728         (restest2, LDFLAGS-restest2): Add rules.
1730 2001-05-22  Ulrich Drepper  <drepper@redhat.com>
1732         * intl/Makefile: Add a few more dependencies to avoid races in the
1733         test shell scripts.
1735 2001-05-22  Andreas Jaeger  <aj@suse.de>
1737         * sysdeps/ieee754/ldbl-128/s_log1pl.c: New file, contributed by
1738         Stephen L Moshier <moshier@mediaone.net>.
1740 2001-05-22  Martin Schwidefsky  <schwidefsky@de.ibm.com>
1742         * sysdeps/s390/s390-32/backtrace.c: Make backtrace return the
1743         return addresses instead of the stack pointers.
1744         * sysdeps/s390/s390-64/backtrace.c: Likewise.
1746 2001-05-21  Jakub Jelinek  <jakub@redhat.com>
1748         * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Include
1749         bits/sigcontext.h instead of bits/sigstack.h.
1750         * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h: Add
1751         multiple-inclusion guards.
1753 2001-05-21  Andreas Jaeger  <aj@suse.de>
1755         * locale/programs/ld-collate.c (handle_ellipsis): Fix message.
1756         Patch by Philipp Thomas <pthomas@suse.de>.
1758 2001-05-17  Bruce Mitchener  <bruce@cubik.org>
1760         * manual/arpg.texi: Spelling, misc fixes.
1761         * manual/arith.texi: Likewise.
1762         * manual/crypt.texi: Likewise.
1763         * manual/debug.texi: Likewise.
1764         * manual/getopt.texi: Likewise.
1765         * manual/intro.texi: Likewise.
1766         * manual/memory.texi: Likewise.
1767         * manual/nss.texi: Likewise.
1768         * manual/pattern.texi: Likewise.
1769         * manual/process.texi: Likewise.
1770         * manual/resource.texi: Likewise.
1771         * manual/search.texi: Likewise.
1772         * manual/setjmp.texi: Likewise.
1773         * manual/signal.texi: Likewise.
1774         * manual/socket.texi: Likewise.
1775         * manual/stdio.texi: Likewise.
1776         * manual/string.texi: Likewise.
1777         * manual/sysinfo.texi: Likewise.
1778         * manual/terminal.texi: Likewise.
1779         * manual/llio.texi: Document madvise().
1781 2001-05-20  Roland McGrath  <roland@frob.com>
1783         * Makeconfig (sysdep-makeconfigs): Include any Makeconfig files
1784         found within $(add-ons) directories too.
1785         [linuxthreads add-on]: Move variable settings for linuxthreads
1786         to new file linuxthreads/Makeconfig.
1788 2001-05-20  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
1790         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_STD_AUXV):
1791         Define for linux >= 2.4.5 on powerpc.
1792         (__ASSUME_MMAP2_SYSCALL): Likewise.
1794 2001-05-19  Roland McGrath  <roland@frob.com>
1796         * hurd/hurdlookup.c (__hurd_file_name_lookup_retry): Don't leak the
1797         result port when failing with ELOOP.  Do the ELOOP check when
1798         following an absolute symlink target as well as relative.
1799         Remove #ifdef SYMLOOP_MAX conditional--it should always be defined.
1801 2001-05-18  Andreas Jaeger  <aj@suse.de>
1803         * po/fr.po: Free software is "logiciel libre".
1804         Patch by Martin Michlmayr <tbm@cyrius.com>.
1806         * sysdeps/powerpc/elf/libc-start.c: Use __cxa_atexit.
1807         Patch by ekato@ees.hokudai.ac.jp, closes PR libc/2271.
1809 2001-05-17  David Mosberger  <davidm@hpl.hp.com>
1811         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: New file.
1813 2001-05-17  Ulrich Drepper  <drepper@redhat.com>
1815         * elf/dl-profile.c (_dl_mcount): Check whether state is
1816         GMON_PROF_ON before doing anything.
1818 2001-05-17  H.J. Lu  <hjl@gnu.org>
1820         * elf/sprof.c (read_symbols): Move "++symtab" into the while loop.
1822 2001-05-17  Ulrich Drepper  <drepper@redhat.com>
1824         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Use
1825         CHECK_SIGSET_NULL_OK and not CHECK_SIGSET for all parameters.
1826         Reported by Mark Burton <markb@ordern.com>.
1828 2001-05-17  Jakub Jelinek  <jakub@redhat.com>
1830         * elf/ldconfig.c (add_dir): Only warn about stat failure if
1831         opt_verbose.
1832         (search_dir): Likewise.
1834 2001-05-17  Ulrich Drepper  <drepper@redhat.com>
1836         * sysdeps/i386/i486/atomicity.h (exchange_and_add): Correct second
1837         parameter of xaddl.  Patch by H . J . Lu <hjl@lucon.org>.
1839 2001-05-14  Bruno Haible  <haible@clisp.cons.org>
1841         * iconvdata/iso-2022-cn-ext.c (BODY for FROM_LOOP): If SO is seen
1842         without previous announcement, reject it regularly, don't abort.
1844 2001-05-16  Ulrich Drepper  <drepper@redhat.com>
1846         * math/tgmath.h: Fix handling of int parameters to binary and
1847         ternary functions.  Reported by mitr@volny.cz.
1849         * math/test-tgmath.c: Add tests for calls with integer parameters.
1851 2001-05-15  Jakub Jelinek  <jakub@redhat.com>
1853         * sunrpc/rpc_thread.c (rpc_default): Remove.
1854         (__rpc_thread_destroy): Use __libc_tsd_RPC_VARS_mem instead of
1855         rpc_default.
1856         (rpc_thread_multi, __rpc_thread_svc_fdset, __rpc_thread_createerr,
1857         __rpc_thread_svc_pollfd, __rpc_thread_svc_max_pollfd): Likewise.
1858         * sunrpc/auth_none.c (authnone_private): Fix a typo.
1860 2001-05-16  Martin Schwidefsky  <schwidefsky@de.ibm.com>
1862         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Fix stack allocation.
1864 2001-05-16  Bruce Mitchener  <bruce@cubik.org>
1866         * manual/llio.texi: Many grammar and typo fixes to the section on AIO.
1868 2001-05-15  Andreas Jaeger  <aj@suse.de>
1870         * sysdeps/ieee754/ldbl-128/s_expm1l.c: New file, contributed by
1871         Stephen L Moshier <moshier@mediaone.net>.
1873         * sysdeps/i386/fpu/libm-test-ulps: Adjust for change.
1875         * math/libm-test.inc: Add comment with ToDo.
1877         * sysdeps/i386/fpu/e_expl.c: Rewritten to C and using a more
1878         accurate algorithm.  Patch by Stephen L Moshier <moshier@mediaone.net>.
1880         * sysdeps/i386/fpu/e_expl.S: Removed.
1882 2001-05-14  Roland McGrath  <roland@frob.com>
1884         * csu/Makefile ($(objpfx)g$(start-installed-name)): Turn this into a
1885         static pattern rule also that also covers
1886         $(objpx)g$(static-start-installed-name).
1887         [$(start-installed-name) != $(static-start-installed-name)]
1888         (extra-objs, omit-deps, install-lib): Add
1889         $(static-start-installed-name) and g$(static-start-installed-name).
1890         * sysdeps/mach/hurd/i386/Makefile: Don't add crt0.o to those here;
1891         just setting static-start-installed-name is now sufficient.
1892         (extra-objs): Add static-start.o here.
1893         (CFLAGS-initfini.s): Remove obsolete variable.
1894         * sysdeps/mach/hurd/i386/Makeconfig: New file.
1895         Define static-start-installed-name here.
1897         * Makeconfig: Include existing $(full_config_sysdirs:=/Makeconfig).
1898         * Make-dist (+sysdep-tsrcs): Look for Makeconfig files.
1900         * Makerules ($(+sysdir_pfx)sysd-Makefile): Remove this target and
1901         associated hair.  Instead, just use $(wildcard ...) in the include.
1903         * configure.in (critic_missing, aux_missing): Collect in these vars
1904         the names of the missing programs, and include them in the error msgs.
1905         * configure: Regenerated.
1907 2001-05-14  Andreas Jaeger  <aj@suse.de>
1909         * sysdeps/i386/fpu/libm-test-ulps: Adjust for new tests.
1911         * math/libm-test.inc (tanh_test): Add testcases for last tanh bug.
1913 2001-05-14  Stephen L Moshier <moshier@mediaone.net>
1915         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Fix sign test.
1917 2001-05-11  Jakub Jelinek  <jakub@redhat.com>
1919         * posix/regex.c (re_match_2_internal): Swap mbs_offset and csize
1920         as well if swapping strings.
1921         Make sure stop is not past end of second string.
1922         * posix/bug-regex4.c: New test.
1923         * posix/Makefile (tests): Add bug-regex4.
1925 2001-05-10  Andreas Jaeger  <aj@suse.de>
1927         * manual/install.texi (Linux): Clarify that Linux 2.2 is minimal
1928         requirement.
1930 2001-05-12  Andreas Jaeger  <aj@suse.de>
1932         * sysdeps/ieee754/dbl-64/s_sin.c: Include "math_private.h" for
1933         internal prototypes.
1934         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
1935         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
1936         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
1937         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
1938         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
1939         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
1940         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
1942         * math/math_private.h: Add prototypes for internal functions of
1943         the IBM Accurate Mathematical Library.
1945         * sysdeps/ieee754/dbl-64/s_atan.c: Include "math.h" for
1946         prototypes.
1947         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
1949         * sysdeps/ieee754/dbl-64/e_asin.c: Include "math_private.h" for
1950         internal prototypes.
1951         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
1952         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
1953         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
1954         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
1955         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
1956         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
1957         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
1958         * sysdeps/generic/e_rem_pio2l.c: Likewise.
1959         (__ieee754_rem_pio2l): Fix prototype.
1961         * math/math_private.h (__copysign): Add internal prototype.
1963 2001-05-11  Andreas Jaeger  <aj@suse.de>
1965         * sysdeps/unix/sysv/linux/configure.in: Move binutils check to...
1966         * sysdeps/unix/sysv/linux/mips/configure.in: ...here.  New file.
1968 2001-05-11  Andreas Jaeger  <aj@suse.de>
1970         * sysdeps/unix/sysv/linux/configure.in: Check binutils version on
1971         MIPS.
1973         * sysdeps/mips/rtld-ldscript.in: Removed unneeded binary output
1974         format directive.  Patch by Steven J. Hill <sjhill@cotw.com>.
1976 2001-05-11  Roland McGrath  <roland@frob.com>
1978         * sysdeps/mach/hurd/Makefile ($(link-rpcuserlibs)): Don't use
1979         $(build-module) here, since we don't need the full magilla.
1980         Just use $(build-module-helper) and append our special options.
1982 2001-05-09  Andreas Schwab  <schwab@suse.de>
1984         * sysdeps/unix/readdir.c: Make sure we don't modify errno when we
1985         reached EOF.
1987 2001-05-07  H.J. Lu  <hjl@gnu.org>
1989         * elf/ldconfig.c (dir_entry): Add ino and dev.
1990         (add_single_dir): Compare ino and dev to check if 2 directory
1991         paths are the same or not.  Free entry->path for duplicates.
1992         (add_dir): Initialize ino and dev for entry.
1993         (search_dir): Handle symlink to directory.
1995 2001-05-07  Andreas Jaeger  <aj@suse.de>
1997         * sysdeps/i386/fpu/libm-test-ulps: Add ulps for new exp tests.
1999         * math/libm-test.inc (exp_test): Add some more tests.
2000         (pow_test): Run double only test also for long double.
2002         * math/test-ldouble.c (TEST_LDOUBLE): Define.
2003         * math/test-ildoubl.c (TEST_LDOUBLE): Likewise.
2005         * sysdeps/generic/bits/confname.h: Remove extra comma at end of
2006         enumeration.
2007         Closes PR libc/2240.
2009         * scripts/config.guess: Imported from gnu.org.
2010         * scripts/config.sub: Likewise.
2012 2001-05-05  Jakub Jelinek  <jakub@redhat.com>
2014         * include/features.h (__USE_EXTERN_INLINES): Don't define if
2015         __NO_INLINE__ is defined.
2016         * ctype/ctype.h (tolower, toupper): Change the guard condition to
2017         __USE_EXTERN_INLINES check only.
2018         * stdlib/stdlib.h (strtod, ...): Likewise.
2019         * wcsmbs/wchar.h (mbrlen): Likewise.
2020         * string/string.h: Only include bits/string.h and bits/string2.h
2021         if __NO_INLINE__ is not defined.
2023 2001-05-07  Andreas Jaeger  <aj@suse.de>
2025         * debug/Makefile ($(objpfx)xtrace): Substitute @SLIBDIR@ instead
2026         of @LIBDIR@.
2028 2001-05-04  H.J. Lu  <hjl@gnu.org>
2030         * malloc/Makefile ($(objpfx)memusage): Substitute @SLIBDIR@
2031         not @LIBDIR@.
2033 2001-05-06  Andreas Jaeger  <aj@suse.de>
2035         * sysdeps/i386/fpu/e_fmodl.c: New, rewrite of e_fmodl.S.
2036         * sysdeps/i386/fpu/e_fmodl.S: Removed.
2037         * sysdeps/i386/fpu/e_atan2l.c: New, rewrite of e_atan2l.S.
2038         * sysdeps/i386/fpu/e_atan2l.S: Removed.
2039         * sysdeps/i386/fpu/e_acosl.c: New, rewrite of e_acos.S.
2040         * sysdeps/i386/fpu/s_atanl.c: New, rewrite of e_atanl.S.
2041         * sysdeps/i386/fpu/e_sqrtl.c: New, rewrite of e_sqrt.S.
2042         * sysdeps/i386/fpu/e_acosl.S: Removed.
2043         * sysdeps/i386/fpu/s_atanl.S: Removed.
2044         * sysdeps/i386/fpu/e_sqrtl.S: Removed.
2046 2001-05-05  Mark Kettenis  <kettenis@gnu.org>
2048         * sysdeps/mach/hurd/bits/environments.h: Add comment from
2049         sysdeps/generic/bits/environments.h.  Define _POSIX_V6_* values.
2051 2001-04-30  Jakub Jelinek  <jakub@redhat.com>
2053         * posix/confstr.c (confstr) [_CS_V6_WIDTH_RESTRICTED_ENVS]: Move so
2054         that _CS_LFS_CFLAGS can fall through to the empty returned string
2055         case.  Add FALLTHROUGH comment.
2057 2001-04-29  Ralf Baechle  <ralf@gnu.org>
2059         * sysdeps/unix/sysv/linux/mips/bits/sem.h: Make structure
2060         definitions match the kernel definitions.
2061         * sysdeps/unix/sysv/linux/mips/bits/ipc.h: Likewise.
2062         * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
2064 2001-04-29  Ben Collins  <bcollins@debian.org>
2066         * sysdeps/sparc/sparc64/dl-machine.h: Fix multiline strings
2067         warnings.
2068         * sysdeps/sparc/sparc64/soft-fp/qp_add.c: Likewise.
2069         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
2070         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
2071         * sysdeps/sparc/sparc64/soft-fp/qp_div.c: Likewise.
2072         * sysdeps/sparc/sparc64/soft-fp/qp_dtoq.c: Likewise.
2073         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
2074         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
2075         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
2076         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
2077         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
2078         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
2079         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
2080         * sysdeps/sparc/sparc64/soft-fp/qp_qtod.c: Likewise.
2081         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
2082         * sysdeps/sparc/sparc64/soft-fp/qp_qtos.c: Likewise.
2083         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
2084         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
2085         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
2086         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
2087         * sysdeps/sparc/sparc64/soft-fp/qp_sqrt.c: Likewise.
2088         * sysdeps/sparc/sparc64/soft-fp/qp_stoq.c: Likewise.
2089         * sysdeps/sparc/sparc64/soft-fp/qp_sub.c: Likewise.
2090         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
2092 2001-04-29  Andreas Schwab  <schwab@suse.de>
2094         * sysdeps/unix/sysv/linux/kernel-features.h: Fix missing backslash
2095         in last change.
2097 2001-04-29  Andreas Jaeger  <aj@suse.de>
2099         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
2100         Define for Arm, PowerPC and SH if kernel is 2.4.4 or newer.
2102         * sysdeps/unix/sysv/linux/bits/socket.h (PF_WANPIPE): New, from
2103         Linux 2.4.4.
2104         (AF_WANPIPE): Likewise.
2105         (MSG_MORE): New.
2107         * sysdeps/unix/sysv/linux/alpha/bits/socket.h: Add same changes as
2108         for Linux generic version.
2109         * sysdeps/unix/sysv/linux/s390/s390-64/bits/socket.h: Likewise.
2110         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
2111         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
2112         * sysdeps/unix/sysv/linux/ia64/bits/socket.h: Likewise.
2114         * sysdeps/gnu/netinet/tcp.h (TCP_QUICKACK): New.
2116 2001-04-27  Ulrich Drepper  <drepper@redhat.com>
2118         * nis/nss-nis.h: Correct test for invalid error number.
2119         * nis/nss-nisplus.h: Likewise.
2121         * nis/Makefile (libnss_compat-rountines): Add nss-nisplus.
2123 2001-04-26  Ulrich Drepper  <drepper@redhat.com>
2125         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add getunwind.
2127         * string/strcoll.c: Fix two memory allocation problems.
2128         * string/Makefile (tests): Add bug-strcoll1.
2129         * string/bug-strcoll1.c: New file.
2131         * malloc/mcheck.c (mcheck): Call malloc once before setting the
2132         hooks to allow the internal check hooks to be set up if necessary.
2134         * nis/nss-nis.h: Move yperr2nss_tab definition into separate file
2135         and rename to __yperr2nss_tab.  Change YPERR_COUNT into variable
2136         __yperr2nss_count.
2137         * nis/nss-nis.c: New file.
2138         * nis/nss-nisplus.h: Move niserr2nss_tab definition into separate file
2139         and rename to __niserr2nss_tab.  Change NISERR_COUNT into variable
2140         __niserr2nss_count.
2141         * nis/nss-nisplus.c: New file.
2142         * nis/Makefile (libnss_compat-routines): Add nss-nis.
2143         (libnss_nis-routines): Likewise.
2144         (libnss_nisplus-routines): Add nss-nisplus.
2146         * nis/nss_nisplus/nisplus-alias.c: Remove unnecessary initializations.
2147         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
2148         * nis/nss_nisplus/nisplus-grp.c: Likewise.
2149         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
2150         * nis/nss_nisplus/nisplus-network.c: Likewise.
2151         * nis/nss_nisplus/nisplus-proto.c: Likewise.
2152         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
2153         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
2154         * nis/nss_nisplus/nisplus-service.c: Likewise.
2155         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
2156         * nis/nss_nis/nis-alias.c: Likewise.
2157         * nis/nss_nis/nis-ethers.c: Likewise.
2158         * nis/nss_nis/nis-grp.c: Likewise.
2159         * nis/nss_nis/nis-network.c: Likewise.
2160         * nis/nss_nis/nis-proto.c: Likewise.
2161         * nis/nss_nis/nis-pwd.c: Likewise.
2162         * nis/nss_nis/nis-spwd.c: Likewise.
2163         * nis/nss_compat/compat-grp.c: Likewise.
2164         * nis/nss_compat/compat-initgroups.c: Likewise.
2165         * nis/nss_compat/compat-pwd.c: Likewise.
2166         * nis/nss_compat/compat-spwd.c: Likewise.
2168         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Some more
2169         optimizations.  Patch by Jakub Jelinek <jakub@redhat.com>.
2171 2001-04-26  Andreas Jaeger  <aj@suse.de>
2173         * po/zh_TW.po: Update.
2174         Patch by Tung-Han Hsieh <thhsieh@tlug.sinica.edu.tw>.
2176 2001-04-25  Ulrich Drepper  <drepper@redhat.com>
2178         * malloc/malloc.c: Allow MALLOC_ALIGNMENT to be defined on the
2179         compiler command line.
2180         * sysdeps/hppa/Makefile: Add -DMALLOC_ALIGNMENT=16 to compiler
2181         command line for malloc.c.
2183 2001-04-25  Jakub Jelinek  <jakub@redhat.com>
2185         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/time.h: Move to...
2186         * sysdeps/unix/sysv/linux/sparc/bits/time.h: ...here.
2187         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/bits/time.h: Remove.
2188         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/socket.h: Move to...
2189         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: ...here.  Adjust
2190         struct msghdr for __WORDSIZE == 32.
2191         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/statvfs.h: Move to...
2192         * sysdeps/unix/sysv/linux/sparc/bits/statvfs.h: ...here.  Adjust
2193         for __WORDSIZE == 32.
2194         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/siginfo.h: Remove.
2195         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/get_clockfreq.c: New
2196         file.
2197         * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S (__libc_siglongjmp):
2198         Rename from longjmp, make longjmp weak alias to it.
2200 2001-04-24  David S. Miller  <davem@redhat.com>
2202         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: New file.
2204 2001-04-25  Matthew Wilcox  <willy@ldl.fc.hp.com>
2206         * sysdeps/hppa/stackinfo.h: New file.
2207         * sysdeps/unix/sysv/linux/hppa/getdents64.c: New file.
2208         * sysdeps/unix/sysv/linux/hppa/mmap64.c: New file.
2209         * sysdeps/unix/sysv/linux/hppa/bits/resource.h: New file.
2210         * sysdeps/unix/sysv/linux/kernel-features.h: Add descriptions
2211         of PA kernel features.
2213 2001-04-25  Ulrich Drepper  <drepper@redhat.com>
2215         * locale/programs/localedef.c (main): Always set a file name for
2216         the initial locale.
2217         * locale/programs/locfile.c (locfile_read): filename is allowed to
2218         be NULL.
2220 2001-04-12  Paul Bame  <paul_bame@hp.com>
2222         * sysdeps/hppa/fpu/fclrexcpt.c: Clear the exception flags, not the
2223         enable flags.
2225 2001-04-24  Ulrich Drepper  <drepper@redhat.com>
2227         * sysdeps/generic/bits/environments.h (_POSIX_V6_LPBIG_OFFBIG,
2228         _XBS5_LPBIG_OFFBIG): Define to -1.
2229         Fix typos.
2231         * sysdeps/generic/bits/confname.h: Add _CS_V6_WIDTH_RESTRICTED_ENVS.
2232         * posix/confstr.c: Handle _CS_V6_WIDTH_RESTRICTED_ENVS.
2233         * posix/getconf.c: Handle _POSIX_V6_WIDTH_RESTRICTED_ENVS.
2234         * posix/tst-getconf.sh: Add _POSIX_V6_WIDTH_RESTRICTED_ENVS.
2236         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9b/Implies: New file.
2237         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9b/bits/time.h: Removed.
2239 2001-03-21  Alan Modra  <alan@one.net.au>
2241         * sysdeps/hppa/dl-machine.h (RTLD_START): Set up dp with DT_PLTGOT
2242         value from application so that constructors in non-PIC libs work.
2244 2000-12-13  Jes Sorensen  <jes@linuxcare.com>
2246         * sysdeps/hppa/dl-machine.h (RTLD_START): _dl_init now returns a
2247         function pointer, hence load the jump address and gp from the
2248         function pointer before jumping.
2250 2001-04-24  Andreas Jaeger  <aj@suse.de>
2252         * sysdeps/generic/send.c (__send): Return ssize_t.
2253         * sysdeps/mach/hurd/send.c (__send): Likewise.
2254         * sysdeps/mach/hurd/recv.c (recv): Likewise.
2255         * sysdeps/mach/hurd/sendto.c (sendto): Likewise.
2256         * sysdeps/generic/sendto.c (sendto): Likewise.
2257         * sysdeps/generic/recvmsg.c (recvmsg): Likewise.
2258         * sysdeps/mach/hurd/recvfrom.c (recvfrom): Likewise.
2259         * sysdeps/generic/recvfrom.c (recvfrom): Likewise.
2260         * sysdeps/generic/sendmsg.c (sendmsg): Likewise.
2262         * socket/sys/socket.h: send* and recv* return ssize_t.
2264         * include/sys/socket.h: send returns ssize_t.
2266         * sysdeps/i386/fpu_control.h: Fix comments.
2268 2001-04-24  Ulrich Drepper  <drepper@redhat.com>
2270         * sysdeps/ia64/Dist: Add hp-timing.c.
2271         * sysdeps/unix/sysv/linux/sparc/sparc64/Dist: Add ucontext_i.h.
2272         * posix/Makefile (distribute): Add tst-getconf.sh.
2273         * po/Makefile (distribute): Add $(BROKEN_LINGUAS:=.po).
2275 2001-04-23  Ulrich Drepper  <drepper@redhat.com>
2277         * sysdeps/ia64/Makefile [subdir=csu] (sysdep_routines): Add hp-timing.
2278         * sysdeps/ia64/Versions: Add _dl_cpuclock_offset for ld in 2.2.3.
2279         * sysdeps/ia64/hp-timing.c: New file.
2280         * sysdeps/ia64/hp-timing.h: New file.
2281         * sysdeps/unix/sysv/linux/ia64/bits/time.h: Add definitions for
2282         CLOCK_PROCESS_CPUTIME_ID and CLOCK_THREAD_CPUTIME_ID.
2284         * sysdeps/generic/clock_getcpuclockid.c: Make function generic, test
2285         using #ifdef whether the clock is available.
2286         * sysdeps/unix/i386/clock_getcpuclockid.c: Not needed anymore.
2288         * sysdeps/generic/dl-sysdep.c: Initialize _dl_cpuclock_offset to move
2289         it into data section.
2291         * sysdeps/unix/i386/i586/clock_getres.c: Removed.
2292         * sysdeps/unix/i386/i586/clock_gettime.c: Removed.
2293         * sysdeps/unix/i386/i586/clock_nanosleep.c: Removed.
2294         * sysdeps/unix/i386/i586/clock_settime.c: Removed.
2295         * sysdeps/unix/i386/i586/cpuclock-init.h: Removed.
2296         * sysdeps/generic/cpuclock-init.h: Removed.
2297         * sysdeps/unix/i386/i686/Implies: Removed.
2298         * sysdeps/unix/i386/i686/tempname.c: Removed.
2299         * sysdeps/i386/i686/Versions: New file.
2300         * sysdeps/unix/i386/i586/Versions: Removed.
2302         * sysdeps/posix/clock_getres.c: If HP_TIMING_AVAIL is nonzero handle
2303         CLOCK_PROCESS_CPUTIME_ID and CLOCK_THREAD_CPUTIME_ID.
2304         * sysdeps/unix/clock_gettime.c: Likewise.
2305         * sysdeps/unix/clock_nanosleep.c: Likewise.
2306         * sysdeps/unix/clock_settime.c: Likewise.
2307         * sysdeps/posix/tempname.c: Is HP_TIMING_AVAIL is nonzero define
2308         RANDOM_BITS use CPU clock.
2310         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/bits/time.h: New file.
2311         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9b/bits/time.h: New file.
2312         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/time.h: New file.
2313         * sysdeps/sparc/Versions: New file.
2315         * elf/dl-support.c: Don't use cpuclock-init.h definitions, use
2316         hp-timing.h definitions.
2317         * sysdeps/generic/dl-sysdep.c: Likewise.
2319         * include/libc-internal.h: Include hp-timing.h.  Use hp_timing_t in
2320         __get_clockfreq prototype.
2322         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
2323         Use hp_timing_t type.
2324         * sysdeps/generic/get_clockfreq.c (__get_clockfreq): Likewise.
2326         * sysdeps/unix/sysv/linux/ia64/get_clockfreq.c: New file.
2328         * sysdeps/posix/pathconf.c (__pathconf): For _PC_ASYNC_IO test
2329         whether named file is a regular file or a block device.
2330         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
2332 2001-04-23  Andreas Jaeger  <aj@suse.de>
2334         * nscd/nscd.h: Add noreturn attribute for start_threads.
2336 2001-04-22  Ulrich Drepper  <drepper@redhat.com>
2338         * posix/getconf.c: Fix names of XBS5 LFS test variables.
2339         Add missing configuration variables from XPG6.
2340         * posix/tst-getconf.c: New file.
2341         * posix/Makefile (generated): Add tst-getconf.out.
2342         (tests): Add ($objpfx)tst-getconf.out.
2343         Add rule to run tst-getconf.sh.
2344         * sysdeps/generic/bits/confname.h: Add missing _PC_ and _SC_ values
2345         from XPG6.
2346         * sysdeps/posix/fpathconf.c: Add handling of _PC_ALLOC_SIZE_MIN and
2347         _PC_SYMLINK_MAX.
2348         * sysdeps/posix/pathconf.c: Likewise.
2349         * sysdeps/posix/sysconf.c: Correct spelling of _SC_MULTI_PROCESS
2350         and _SC_SYMLOOP_MAX.
2352 2001-04-22  Philip Blundell  <philb@gnu.org>
2354         * sysdeps/arm/fpu/feenablxcpt.c: New file.
2355         * sysdeps/arm/fpu/fedisablxcpt.c: New file.
2356         * sysdeps/arm/fpu/fegetexcpt.c: New file.
2358 2001-04-22  Philip Blundell  <philb@gnu.org>
2360         * sysdeps/unix/sysv/linux/arm/sys/user.h (struct user_fpregs):
2361         Renamed from struct user_fp.
2362         (struct user_regs): New.
2363         (struct user): Use struct user_regs rather than struct pt_regs to
2364         avoid dependency on asm/ptrace.h.  Use struct user_fpregs in place
2365         of struct user_fp and struct user_fp_struct.
2366         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Include sys/procfs.h
2367         not sys/elf.h.
2369 2001-04-22  Philip Blundell  <philb@gnu.org>
2371         * sysdeps/unix/sysv/linux/arm/sys/elf.h: Move contents to
2372         sys/procfs.h, and tell the user to include that file instead.
2373         * sysdeps/unix/sysv/linux/arm/sys/procfs.h: Remove old cruft
2374         surrounded with #if 0.
2375         (elf_greg_t, ELF_NGREG, elf_gregset_t, elf_fpregset_t): Moved here
2376         from sys/elf.h.
2377         (prgregset_t, prfpregset_t): Define in terms of elf_gregset_t and
2378         elf_fpregset_t respectively.
2380 2001-04-22  Philip Blundell  <philb@gnu.org>
2382         * sysdeps/unix/sysv/linux/arm/register-dump.h: Also print the
2383         address that faulted.
2385 2001-04-21  Ulrich Drepper  <drepper@redhat.com>
2387         * sysdeps/generic/bits/confname.h: Add _SC_V6_* and _CS_POSIX_V6_*
2388         values.
2389         * sysdeps/generic/bits/environments.h: Define _POSIX_V6_* values.
2390         * posix/confstr.c: Handle _CS_POSIX_V6_* values.
2391         * posix/getconf.c: Handle _CS_POSIX_V6_* and _SC_V6_* values.
2392         * sysdeps/posix/sysconf.c: Handle _SC_V6_* values.
2394         * sysdeps/powerpc/fpu/libm-test-ulps: Add deltas for atan2f.
2395         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
2396         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
2397         * sysdeps/mips/fpu/libm-test-ulps: Likewise.
2399 2001-04-21  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
2401         * sysdeps/unix/sysv/linux/powerpc/mmap64.c: Correct check for invalid
2402         offset.
2404 2001-04-21  Ulrich Drepper  <drepper@redhat.com>
2406         * posix/getopt.h: Treat __cplusplus like __STDC__.
2408 2001-04-20  John S. Marvin  <jsm@fc.hp.com>
2410         * sysdeps/unix/sysv/linux/hppa/clone.S: Fix clone system call
2411         entry point stub.
2413 2001-04-20  Richard Hirst  <rhirst@linuxcare.com>
2415         * elf/elf.h: Corrected R_PARISC_DIR14R (should be 6, not 5),
2416         and added R_PARISC_DPREL21L and R_PARISC_DPREL14R for modutils.
2418         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Removed ptrace
2419         entry so the ptrace.c wrapper is used.
2421 2001-04-20  Alan Modra  <amodra@one.net.au>
2423         * sysdeps/hppa/dl-lookupcfg.h (_dl_function_address): Prototype.
2424         (DL_FUNCTION_ADDRESS): Define.
2425         (DL_DT_INIT_ADDRESS): Define.
2426         (DL_DT_FINI_ADDRESS): Define.
2427         * sysdeps/hppa/Versions: Add _dl_function_address.
2428         * sysdeps/hppa/dl-machine.h (ELF_MACHINE_START_ADDRESS): Define.
2429         * sysdeps/hppa/dl-symaddr.c (_dl_start_address): Rename to
2430         _dl_function_address.
2432 2001-04-21  Andreas Jaeger  <aj@suse.de>
2434         * rt/aio_misc.c (handle_fildes_io): Add noreturn attribute.
2435         * resolv/gai_misc.c (handle_requests): Likewise.
2436         * malloc/obstack.c (print_and_abort): Likewise.
2437         * malloc/mcheck.c (mabort): Likewise.
2439         * sysdeps/unix/i386/i586/clock_settime.c: Include
2440         "libc-internal.h" for __get_clockfreq declaration.
2442 2001-04-21  Ulrich Drepper  <drepper@redhat.com>
2444         * elf/dl-support.c: Include cpuclock-init.h.  Use CPUCLOCK_VARDEF and
2445         CPUCLOCK_INIT if defined.
2446         * sysdeps/generic/dl-sysdep.c: Likewise.
2447         * sysdeps/generic/cpuclock-init.h: New file.
2448         * sysdeps/unix/i386/i586/cpuclock-init.h: New file.
2449         * sysdeps/unix/i386/i586/Versions: New file.
2450         * sysdeps/unix/i386/i586/clock_settime.c: New file.
2451         * sysdeps/unix/i386/i586/clock_gettime.c: Handle thread CPU clock
2452         separately by calling __pthread_clock_gettime if this function is
2453         available.  Subtract offset from tsc value before computing time value.
2455 2001-04-20  Ulrich Drepper  <drepper@redhat.com>
2457         * iconv/iconv_prog.c (print_known_names): If printing goes not to
2458         a tty print in a more machine-friendly way.
2460         * sysdeps/ieee754/ldbl-128/e_asinl.c: New file.
2461         Contributed by Stephen L Moshier <moshier@mediaone.net>.
2463 2001-04-20  Andreas Jaeger  <aj@suse.de>
2465         * intl/Makefile (tests): Reorder conditions, tst-gettext needs msgfmt.
2467 2001-04-20  Andreas Schwab  <schwab@suse.de>
2469         * sysdeps/m68k/fpu/libm-test-ulps: Update.
2471 2001-04-19  Alan Modra  <amodra@one.net.au>
2473         * Makerules (libc_pic.os): Add $(LDFLAGS-c_pic.os).
2474         * sysdeps/hppa/Makefile (LDFLAGS-c_pic.os): Define.
2475         (CFLAGS-.os): Remove.
2477         * sysdeps/unix/sysv/linux/hppa/sysdep.h (CALL_MCOUNT): Update comment.
2479         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (NGREG, NFPREG,
2480         gregset): Correct for new kernel definitions.
2482 2001-04-19  Alan Modra  <alan@linuxcare.com.au>
2484         * sysdeps/hppa/elf/initfini.c: Change dlt reg save to r3 and
2485         generate unwind info by hand.
2487 2001-04-19  Ulrich Drepper  <drepper@redhat.com>
2489         * sysdeps/unix/sysv/linux/powerpc/mmap64.c (__mmap64): Optimize a bit.
2491         * configure.in: Correct regular expression for msgfmt.
2492         Patch by Bruno Haible <haible@ilog.fr>.
2494 2001-04-19  Andreas Jaeger  <aj@suse.de>
2496         * po/el.po: Add comment explaining what's broken.
2498         * po/Makefile (BROKEN_LINGUAS): New.
2499         (ALL_LINGUAS): Don't add broken languages.
2501 2001-04-19  Roland McGrath  <roland@frob.com>
2503         * sysdeps/mach/hurd/mlock.c: New file.
2504         * sysdeps/mach/hurd/munlock.c: New file.
2505         * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_MEMLOCK_RANGE): Define it.
2507         * misc/Makefile (routines): Add mlock munlock mlockall munlockall.
2508         * sysdeps/generic/mlock.c: New file.
2509         * sysdeps/generic/munlock.c: New file.
2510         * sysdeps/generic/mlockall.c: New file.
2511         * sysdeps/generic/munlockall.c: New file.
2512         * sysdeps/generic/bits/mman.h (MCL_CURRENT, MCL_FUTURE): New macros.
2513         * sysdeps/unix/sysv/linux/syscalls.list (mlock, munlock,
2514         mlockall, munlockall): Change caller field to - from EXTRA.
2515         Don't use __ names; not used (and not declared in include/sys/mman.h).
2517         * hurd/privports.c (__get_privileged_ports): Renamed with __.
2518         Use __ names for calls we make.
2519         (get_privileged_ports): Add alias.
2520         * hurd/hurd.h: Declare it with the __ name.
2521         * sysdeps/mach/hurd/reboot.c (reboot): Use __get_privileged_ports.
2522         * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
2523         * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
2525         * hurd/hurdsig.c (write_corefile): Check RLIMIT_CORE limit and do
2526         nothing if it's zero.
2528 2001-04-19  Matthew Wilcox  <willy@ldl.fc.hp.com>
2530         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL):
2531         Change to return a signed result for compatibility with other
2532         architectures, and correctness.
2534 2001-04-19  Ulrich Drepper  <drepper@redhat.com>
2536         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_32BITUIDS):
2537         HPPA always had them.  Patch by Matthew Wilcox <matthew@wil.cx>.
2539 2001-04-19  Andreas Jaeger  <aj@suse.de>
2541         * configure.in: Require gettext 0.10.36 or newer.
2543         * manual/install.texi (Tools for Compilation): Mention gettext 0.10.36.
2545         * po/zh_TW.po: Remove extraneous backslashes.
2547         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Remove unused
2548         variables b and n.
2550 2001-04-18  Jakub Jelinek  <jakub@redhat.com>
2552         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Update.
2553         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c: New file.
2554         * sysdeps/unix/sysv/linux/sparc/sparc64/swapcontext.c: New file.
2555         * sysdeps/unix/sysv/linux/sparc/sparc64/setcontext.S (__setcontext):
2556         Copy first word of uc_sigmask into __uc_sigmask.
2557         * sysdeps/unix/sysv/linux/sparc/sparc64/getcontext.S (__getcontext):
2558         Save uc_link around trap.  Copy __uc_sigmask into first word of
2559         uc_sigmask, clear the rest.  Make sure setcontext to the created
2560         context doesn't do this though.
2561         * sysdeps/unix/sysv/linux/sparc/sparc64/ucontext_i.h: New file.
2562         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (ucontext_t): Add
2563         uc_stack and uc_sigmask, rename old uc_sigmask to __uc_sigmask in the
2564         64bit version, make uc_sigmask __sigset_t in the 32bit version.
2566 2001-04-19  Andreas Jaeger  <aj@suse.de>
2568         * sysdeps/unix/sysv/linux/hppa/umount.c: Fix typos in last patch.
2570         * rt/Makefile (otherlibs): Added for static NSS.
2572         * glibcbug.in (BUGGLIBC): Send to new alias.
2574 2001-04-02  Andreas Schwab  <schwab@suse.de>
2576         * Makerules (build-module): Make sure exit codes get checked
2577         properly and remove unnecessary slashes.
2579 2001-04-17  Ulrich Drepper  <drepper@redhat.com>
2581         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
2582         Handle kernels which report only three digits after the decimal point.
2583         Reported by Van Okamura <van.okamura@oracle.com>.
2585         * sysdeps/alpha/fpu/libm-test-ulps: Adjust error values for atan2f.
2587 2001-04-17  David S. Miller  <davem@redhat.com>
2589         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Update for new atan2 tests.
2590         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
2592 2001-04-17  Jakub Jelinek  <jakub@redhat.com>
2594         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Make sure
2595         desired exceptions are raised for exceptional values.
2596         * math/libm-test.inc (acosh_test, atan_test, atan2_test, cacos_test,
2597         cacosh_test, casin_test, casinh_test, catan_test, catanh_test,
2598         clog_test, log_test, log1p_test, tan_test): Increase precision of
2599         expected values to satisfy ldbl-128.
2600         * sysdeps/alpha/fpu/libm-test-ulps: Adjust accordingly.
2601         * sysdeps/arm/libm-test-ulps: Likewise.
2602         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
2603         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
2604         * sysdeps/m68k/fpu/libm-test-ulps: Likewise.
2605         * sysdeps/mips/fpu/libm-test-ulps: Likewise.
2606         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
2607         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
2608         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
2609         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
2610         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
2612 2001-04-17  Andreas Jaeger  <aj@suse.de>
2614         * configure.in: Move test for critical programs up.
2616 2001-04-16  Stephen L Moshier  <moshier@mediaone.net>
2618         * sysdeps/ieee754/flt-32/e_asinf.c (pio2_hi, pio2_lo, pio4_hi):
2619         Correct the values.
2620         (pSx, qSx): Replace by shorter approximation.
2621         Use f suffix on float constants.
2623 2001-04-16  Ulrich Drepper  <drepper@redhat.com>
2625         * sysdeps/ieee754/ldbl-128/k_tanl.c: New file.
2626         Contributed by Stephen L Moshier <moshier@mediaone.net>.
2628         * string/string.h: Replace const in attribute list with __const__.
2630 2001-04-16  Roland McGrath  <roland@frob.com>
2632         * grp/initgroups.c (initgroups) [NGROUPS_MAX != 0]: Always use sysconf
2633         instead of the constant NGROUPS_MAX.  That way, the limit can be
2634         raised in the kernel configuration without having to recompile libc.
2636         * sysdeps/posix/euidaccess.c: Don't #include <limits.h> or try to
2637         define NGROUPS_MAX; we don't use it here.
2639 2001-04-16  Andreas Jaeger  <aj@suse.de>
2641         * math/libm-test.inc (atan2_test): Add more testcases.
2643         * iconv/gconv_db.c: Include gconv_charset.h for
2644         __gconv_lookup_alias prototype.
2646 2001-04-13  Ulrich Drepper  <drepper@redhat.com>
2648         * sysdeps/ieee754/ldbl-128/s_atanl.c: New file.
2649         Contributed by Stephen L Moshier <moshier@mediaone.net>.
2651 2001-04-13  Jes Sorensen  <jes@linuxcare.com>
2653         * intl/tst-codeset.c: Include string.h to get prototype for strcmp().
2655 2001-04-13  Jes Sorensen  <jes@linuxcare.com>
2657         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Add __pad0 to
2658         explicitly pad struct siginfo instead of relying on compiler padding.
2660 2001-04-12  Ulrich Drepper  <drepper@redhat.com>
2662         * sysdeps/ia64/Dist: Add elf/entry.h.
2664         * iconvdata/Makefile (distribute): Add TESTS2.
2666 2001-04-13  Jakub Jelinek  <jakub@redhat.com>
2668         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_load_address):
2669         Calculate load address differently.
2671 2001-04-12  Bruno Haible  <haible@clisp.cons.org>
2673         * iconvdata/TESTS2: New file.
2674         * iconvdata/run-iconv-test.sh: Also run tests from TESTS2.
2675         * iconvdata/testdata/alfabeta..UTF-8: New file.
2676         * iconvdata/testdata/alfabeta..UTF-16.BE: New file.
2677         * iconvdata/testdata/alfabeta..UTF-16.LE: New file.
2678         * iconvdata/testdata/alfabeta..UTF-32.BE: New file.
2679         * iconvdata/testdata/alfabeta..UTF-32.LE: New file.
2681 2001-04-11  Bruno Haible  <haible@clisp.cons.org>
2683         * iconvdata/utf-32.c: New file.
2684         * iconvdata/gconv-modules: Add entries for UTF-32, UTF-32LE, UTF-32BE.
2685         * iconvdata/Makefile (modules): Add UTF-32.
2686         (distribute): Add utf-32.c.
2688 2001-04-11  Bruno Haible  <haible@clisp.cons.org>
2690         * iconvdata/utf-16.c (PREPARE_LOOP): Initialize 'swap' after possibly
2691         changing it in the state.  After incrementing 'inptr', store it back.
2692         * iconvdata/unicode.c (PREPARE_LOOP): After incrementing 'inptr',
2693         store it back.
2695 2001-04-11  Bruno Haible  <haible@clisp.cons.org>
2697         * iconvdata/utf-16.c (gconv_init): Use MAX_NEEDED_FROM, not
2698         MIN_NEEDED_FROM.
2700 2001-04-11  David Mosberger  <davidm@hpl.hp.com>
2702         * sysdeps/ia64/htonl.S: Drop superfluous "alloc".
2703         * sysdeps/ia64/htons.S: Likewise.
2705         * sysdeps/ia64/memset.S: Add unwind directives.
2706         * sysdeps/ia64/strncpy.S: Likewise.
2707         * sysdeps/ia64/strcat.S: Likewise.
2709         * sysdeps/ia64/memccpy.S: Add unwind directives.  Drop superfluous
2710         restore of ar.pfs.
2711         * sysdeps/ia64/strchr.S: Likewise.
2712         * sysdeps/ia64/memmove.S: Likewise.
2713         * sysdeps/ia64/memcpy.S: Likewise.
2714         * sysdeps/ia64/memcmp.S: Likewise.
2715         * sysdeps/ia64/memchr.S: Likewise.
2716         * sysdeps/ia64/strcmp.S: Likewise.
2717         * sysdeps/ia64/strlen.S: Likewise.
2718         * sysdeps/ia64/strcpy.S: Likewise.
2719         * sysdeps/ia64/strncmp.S: Likewise.
2721 2001-04-11  Jakub Jelinek  <jakub@redhat.com>
2723         * wcsmbs/wchar.h (fgetwc, getwc, getwchar, fputwc, putwc, putwchar,
2724         fgetws, fputws, ungetwc, getwc_unlocked, getwchar_unlocked,
2725         fgetwc_unlocked, fputwc_unlocked, putwc_unlocked, putwchar_unlocked,
2726         fgetws_unlocked, fputws_unlocked, wcsftime): Add __THROW.
2728 2001-04-11  Andreas Jaeger  <aj@suse.de>
2730         * sysdeps/mips/elf/start.S [__ASSEMBLY__]: Define it.
2732 2001-04-11  Andreas Schwab  <schwab@suse.de>
2734         * sysdeps/m68k/fpu/libm-test-ulps: Adjusted.
2736 2001-04-11  Ulrich Drepper  <drepper@redhat.com>
2738         * sysdeps/arm/stackinfo.h: New file.
2740 2001-04-08  Thorsten Kukuk  <kukuk@suse.de>
2742         * sunrpc/rpc_main.c: If we compile RPC thread safe, allow
2743         rpcgen to generate thread safe code.
2745 2001-04-10  Andreas Jaeger  <aj@suse.de>
2747         * math/test-fenv.c (initial_tests): Protect FE_TONEAREST declaration.
2749 2001-04-10  Ulrich Drepper  <drepper@redhat.com>
2751         * elf/dl-minimal.c (__assert_fail): Change error string.  It's
2752         most of the time no bug in ld.so.
2753         (__assert_perror_fail): Likewise.
2755 2001-04-11  Hans-Peter Nilsson  <hp@axis.com>
2757         * sysdeps/generic/bits/fenv.h (fexcept_t): Change default type
2758         from struct to unsigned int.
2760 2001-04-10  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
2762         * elf/elf.h (AT_DCACHEBSIZE, AT_ICACHEBSIZE, AT_UCACHEBSIZE,
2763         AT_IGNOREPPC): New defines.
2764         * sysdeps/generic/dl-sysdep.c (_dl_show_auxv): Print them.
2765         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_STD_AUXV):
2766         Define for newer powerpc kernels.
2767         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Use the standard
2768         DL_FIND_ARG_COMPONENTS if __ASSUME_STD_AUXV is defined.
2770 2000-4-10  kaz Kojima  <kkojima@rr.iij4u.or.jp>
2772         * sysdeps/sh/stackinfo.h: New file.
2774 2001-04-10  Ulrich Drepper  <drepper@redhat.com>
2776         * locale/tst-C-locale.c (run_test): Add tests for locale objects.
2777         * locale/newlocale.c (__newlocale): Correct setting __ctype_b,
2778         __ctype_tolower, and __ctype_toupper elements.
2780         * ctype/ctype_l.c: Fix definitions of __tolower_l and __toupper_l.
2781         Reported by Konstantin Osipov <rabid@spylog.ru>.
2783         * sysdeps/i386/fpu/libm-test-ulps: Add deltas for tgamma to help
2784         the lousy AMD FPU.
2786 2001-04-10  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
2788         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: New file.
2789         * sysdeps/unix/sysv/linux/powerpc/Dist: Add sys/ptrace.h.
2790         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Delete wrong stuff.
2791         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Correct typedefs.
2793 2001-04-10  Ulrich Drepper  <drepper@redhat.com>
2795         * elf/dl-deps.c (_dl_map_object_deps): Provide complete error
2796         message.  Based on a patch by HJ Lu.
2798 2001-04-10  Andreas Schwab  <schwab@suse.de>
2800         * math/libm-test.inc (csinh_test): Don't require the invalid
2801         exception for csinh (x + iNaN), but make it optional.
2803 2001-04-09  David Mosberger  <davidm@hpl.hp.com>
2805         * sysdeps/ia64/elf/start.S (_start): Add unwind directives.
2807         * sysdeps/generic/entry.h [!__ASSEMBLY__]: Declare _start.
2808         * sysdeps/ia64/elf/entry.h: New file.
2809         * sysdeps/unix/sysv/linux/mips/entry.h [!__ASSEMBLY__]: Declare
2810         __start.
2811         * elf/rtld.c: Don't declare ENTRY_POINT.  Use ENTRY_POINT instead
2812         of &ENTRY_POINT.
2813         * sysdeps/generic/dl-sysdep.c: Likewise.
2814         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
2815         * sysdeps/ia64/elf/start.S: Save base address of register backing
2816         store in __libc_ia64_register_backing_store_base.
2818 2001-04-10  Martin Schwidefsky  <schwidefsky@de.ibm.com>
2820         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Fix return
2821         value of getcontext.
2822         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
2823         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Fix return
2824         value of setcontext.
2825         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
2826         * sysdeps/unix/sysv/linux/s390/swapcontext.c: Skip setcontext
2827         call by changing the saved context.
2829 2001-04-10  Ulrich Drepper  <drepper@redhat.com>
2831         * sysdeps/alpha/stackinfo.h: New file.
2832         * sysdeps/ia64/stackinfo.h: New file.
2834 2001-04-10  Andreas Schwab  <schwab@suse.de>
2836         * sysdeps/m68k/fpu/e_pow.c: Correct handling of some exceptional
2837         values.
2838         * sysdeps/m68k/fpu/e_scalb.c: Likewise.
2840 2001-04-09  Ulrich Drepper  <drepper@redhat.com>
2842         * sysdeps/sparc/sparc32/sparcv9/Dist: Add hp-timing.c.
2843         * sysdeps/sparc/sparc64/Dist: Add hp-timing.c.
2845         * libio/Makefile (distribute): Add fd_to_filename.h.
2847 2001-04-05  David S. Miller  <davem@redhat.com>
2849         Add hp-timing support for sparcv9/sparc64 targets.
2850         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: New file
2851         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: New file
2852         * sysdeps/sparc/sparc64/hp-timing.c: New file
2853         * sysdeps/sparc/sparc64/hp-timing.h: New file
2854         * sysdeps/sparc/sparc32/sparcv9/Makefile: Build hp-timing.
2855         * sysdeps/sparc/sparc64/Makefile: Likewise.
2857 2001-04-09  Jakub Jelinek  <jakub@redhat.com>
2859         * sysdeps/generic/fd_to_filename.h: New file.
2860         * sysdeps/unix/sysv/linux/fd_to_filename.h: New file.
2861         * libio/freopen.c (freopen): If FILENAME is NULL, try to get
2862         filename from the open file descriptor.
2863         * libio/freopen64.c (freopen64): Likewise.
2865 2001-04-09  Bruno Haible  <haible@clisp.cons.org>
2867         * misc/error.c (error): fflush stdout also if
2868         error_print_progname != NULL.
2869         (error_at_line): Likewise.
2871 2001-04-07  Bruno Haible  <haible@clisp.cons.org>
2873         * intl/gettextP.h (struct loaded_domain): Add codeset_cntr field.
2874         (struct binding): Add codeset_cntr field.
2875         (_nl_load_domain): Add domainbinding argument.
2876         (_nl_init_domain_conv, _nl_free_domain_conv): New declarations.
2877         (_nl_find_msg): New declaration, moved here from loadinfo.h.
2878         * intl/loadinfo.h (struct loaded_l10nfile): Remove domainbinding field.
2879         (_nl_make_l10nflist): Remove domainbinding argument.
2880         (_nl_find_msg): Move declaration to gettextP.h.
2881         * intl/bindtextdom.c (set_binding_values): Initialize ->codeset_cntr
2882         to 0.  Increment it when ->codeset is changed.
2883         * intl/dcigettext.c (DCIGETTEXT): Pass binding to _nl_find_msg.
2884         (_nl_find_msg): Add domainbinding argument.  Reinitialize the converter
2885         if domainbinding->codeset_cntr has been incremented.
2886         * intl/finddomain.c (_nl_find_domain): Don't pass domainbinding to
2887         _nl_make_l10nflist().  Pass it to _nl_load_domain() instead.
2888         * intl/l10nflist.c (_nl_make_l10nflist): Remove domainbinding argument.
2889         * intl/loadmsgcat.c (_nl_init_domain_conv): New function, extracted
2890          from _nl_load_domain.  Append //TRANSLIT also when using libiconv.
2891         (_nl_free_domain_conv): New function, extracted from _nl_unload_domain.
2892         (_nl_load_domain): Add domainbinding argument.  Call
2893         _nl_init_domain_conv.
2894         (_nl_unload_domain): Call _nl_free_domain_conv.
2895         * intl/Makefile (distribute): Add tst-codeset.sh, tstcodeset.po.
2896         (test-srcs): Add tst-codeset.
2897         (tests): Depend on tst-codeset.out.
2898         (tst-codeset.out): New rule.
2899         (CFLAGS-tst-codeset.c): New variable.
2900         * intl/tst-codeset.sh: New file.
2901         * intl/tstcodeset.po: New file.
2902         * intl/tst-codeset.c: New file.
2903         * locale/findlocale.c (_nl_find_locale): Update _nl_make_l10nflist
2904         calls.
2906 2001-04-07  Roland McGrath  <roland@frob.com>
2908         * mach/msgserver.c (__mach_msg_server_timeout): Add an assert.
2910 2001-03-31  Roland McGrath  <roland@frob.com>
2912         * sysdeps/mach/hurd/fork.c: Skip NEWPROC just like NEWTASK when
2913         copying send rights into child.  When we hit our name for our proc
2914         port, just copy NEWPROC directly instead of repeating proc_task2proc
2915         to install the child's port.
2917 2001-04-08  Roland McGrath  <roland@frob.com>
2919         * Makeconfig ($(common-objpfx)soversions.i): Grok entries with DEFAULT
2920         in second column, to provide default values for third column.
2921         * shlib-versions: Add comments about using DEFAULT in second column.
2922         (s390x-.*-linux.*): Replace individual entries with a DEFAULT entry.
2923         (cris-.*-linux.*): Likewise.
2925 2001-04-09  Ulrich Drepper  <drepper@redhat.com>
2927         * Makefile (distribute): Add scripts/documented.sh.
2928         * scripts/documented.sh: New file.
2930 2001-04-08  Hans-Peter Nilsson  <hp@axis.com>
2932         * sysdeps/unix/sysv/linux/cris/Dist: New file.
2933         * sysdeps/unix/sysv/linux/cris/Makefile: New file.
2934         * sysdeps/unix/sysv/linux/cris/_G_config.h: New file.
2935         * sysdeps/unix/sysv/linux/cris/bits/fcntl.h: New file.
2936         * sysdeps/unix/sysv/linux/cris/bits/mman.h: New file.
2937         * sysdeps/unix/sysv/linux/cris/bits/resource.h: New file.
2938         * sysdeps/unix/sysv/linux/cris/brk.c: New file.
2939         * sysdeps/unix/sysv/linux/cris/chown.c: New file.
2940         * sysdeps/unix/sysv/linux/cris/clone.S: New file.
2941         * sysdeps/unix/sysv/linux/cris/fchown.c: New file.
2942         * sysdeps/unix/sysv/linux/cris/fcntl.c: New file.
2943         * sysdeps/unix/sysv/linux/cris/fxstat.c: New file.
2944         * sysdeps/unix/sysv/linux/cris/getegid.c: New file.
2945         * sysdeps/unix/sysv/linux/cris/geteuid.c: New file.
2946         * sysdeps/unix/sysv/linux/cris/getgid.c: New file.
2947         * sysdeps/unix/sysv/linux/cris/getgroups.c: New file.
2948         * sysdeps/unix/sysv/linux/cris/getresgid.c: New file.
2949         * sysdeps/unix/sysv/linux/cris/getresuid.c: New file.
2950         * sysdeps/unix/sysv/linux/cris/getrlimit.c: New file.
2951         * sysdeps/unix/sysv/linux/cris/getrlimit64.c: New file.
2952         * sysdeps/unix/sysv/linux/cris/getuid.c: New file.
2953         * sysdeps/unix/sysv/linux/cris/lchown.c: New file.
2954         * sysdeps/unix/sysv/linux/cris/lockf64.c: New file.
2955         * sysdeps/unix/sysv/linux/cris/lxstat.c: New file.
2956         * sysdeps/unix/sysv/linux/cris/mmap.S: New file.
2957         * sysdeps/unix/sysv/linux/cris/mmap64.S: New file.
2958         * sysdeps/unix/sysv/linux/cris/msgctl.c: New file.
2959         * sysdeps/unix/sysv/linux/cris/profil-counter.h: New file.
2960         * sysdeps/unix/sysv/linux/cris/register-dump.h: New file.
2961         * sysdeps/unix/sysv/linux/cris/semctl.c: New file.
2962         * sysdeps/unix/sysv/linux/cris/setegid.c: New file.
2963         * sysdeps/unix/sysv/linux/cris/seteuid.c: New file.
2964         * sysdeps/unix/sysv/linux/cris/setfsgid.c: New file.
2965         * sysdeps/unix/sysv/linux/cris/setfsuid.c: New file.
2966         * sysdeps/unix/sysv/linux/cris/setgid.c: New file.
2967         * sysdeps/unix/sysv/linux/cris/setgroups.c: New file.
2968         * sysdeps/unix/sysv/linux/cris/setregid.c: New file.
2969         * sysdeps/unix/sysv/linux/cris/setresgid.c: New file.
2970         * sysdeps/unix/sysv/linux/cris/setresuid.c: New file.
2971         * sysdeps/unix/sysv/linux/cris/setreuid.c: New file.
2972         * sysdeps/unix/sysv/linux/cris/setrlimit.c: New file.
2973         * sysdeps/unix/sysv/linux/cris/setuid.c: New file.
2974         * sysdeps/unix/sysv/linux/cris/shmctl.c: New file.
2975         * sysdeps/unix/sysv/linux/cris/socket.S: New file.
2976         * sysdeps/unix/sysv/linux/cris/sys/ucontext.h: New file.
2977         * sysdeps/unix/sysv/linux/cris/syscall.S: New file.
2978         * sysdeps/unix/sysv/linux/cris/sysdep.S: New file.
2979         * sysdeps/unix/sysv/linux/cris/sysdep.h: New file.
2980         * sysdeps/unix/sysv/linux/cris/vfork.S: New file.
2981         * sysdeps/unix/sysv/linux/cris/xstat.c: New file.
2983 2001-04-08  Hans-Peter Nilsson  <hp@axis.com>
2985         * sysdeps/cris/Dist: New file.
2986         * sysdeps/cris/Implies: New file.
2987         * sysdeps/cris/Makefile: New file.
2988         * sysdeps/cris/__longjmp.S: New file.
2989         * sysdeps/cris/_mcount.S: New file.
2990         * sysdeps/cris/bits/endian.h: New file.
2991         * sysdeps/cris/bits/setjmp.h: New file.
2992         * sysdeps/cris/bits/string.h: New file.
2993         * sysdeps/cris/dl-machine.h: New file.
2994         * sysdeps/cris/elf/start.S: New file.
2995         * sysdeps/cris/machine-gmon.h: New file.
2996         * sysdeps/cris/memcopy.h: New file.
2997         * sysdeps/cris/memusage.h: New file.
2998         * sysdeps/cris/setjmp.S: New file.
2999         * sysdeps/cris/sysdep.h: New file.
3000         * sysdeps/cris/wordcopy.c: New file.
3002 2001-04-08  Hans-Peter Nilsson  <hp@axis.com>
3004         * elf/elf.h: Add new relocations for CRIS.
3006 2001-04-08  Hans-Peter Nilsson  <hp@axis.com>
3008         * shlib-versions: Add cases for Linux on CRIS.
3010 2001-04-08  Hans-Peter Nilsson  <hp@axis.com>
3012         * configure.in (ASM_LINE_SEP tests): Handle CRIS assembly, with
3013         ';' for comments and '@' for line separator.
3015 2001-04-08  Hans-Peter Nilsson  <hp@axis.com>
3017         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Fix
3018         typo; s/==/=/ for assignment.
3020 2001-04-08  Hans-Peter Nilsson  <hp@axis.com>
3022         * malloc/Makefile: Correct comment; mtrace is Perl, not AWK.
3024 2001-04-08  Hans-Peter Nilsson  <hp@axis.com>
3026         * iconv/gconv_simple.c (internal_ucs4_loop_unaligned): Check for
3027         empty input before checking full output.
3029 2001-04-08  Hans-Peter Nilsson  <hp@axis.com>
3031         * iconv/gconv.c (__gconv): Don't derefer parameter cd before
3032         checking if == -1L.
3034 2001-04-08  Ulrich Drepper  <drepper@redhat.com>
3036         * inet/rexec.c (rexec_af): Avoid calling perror with errno being set.
3038 2001-04-07  Stephen L Moshier  <moshier@mediaone.net>
3040         * sysdeps/ieee754/ldbl-128/e_logl.c: Correct infinity and NaN
3041         return values.
3043 2001-04-07  Ulrich Drepper  <drepper@redhat.com>
3045         * stdlib/tst-setcontext.c (main): Add a test for setcontext.
3047         * sysdeps/unix/sysv/linux/i386/getcontext.S: New file.
3048         * sysdeps/unix/sysv/linux/i386/setcontext.S: New file.
3049         * sysdeps/unix/sysv/linux/i386/makecontext.S: New file.
3050         * sysdeps/unix/sysv/linux/i386/swapcontext.S: New file.
3051         * sysdeps/unix/sysv/linux/i386/ucontext_i.h: New file.
3052         * sysdeps/unix/sysv/linux/i386/Dist: Add ucontext_i.h.
3054 2001-04-07  Andreas Jaeger  <aj@suse.de>
3056         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Use sincos
3057         instead of separate sin and cos.
3058         (__ieee754_j1l): Likewise.
3060 2001-04-06  Ulrich Drepper  <drepper@redhat.com>
3062         * sysdeps/ia64/abort-instr.h: New file.  Code by David Mosberger.
3064         * sysdeps/ia64/atomicity.h: New file.  Copied from libstdc++.
3066         * sysdeps/i386/i486/atomicity.h: Clean up the asms.
3068         * sysdeps/generic/e_scalb.c: Don't use FE_INVALID unless it's
3069         available.
3070         * sysdeps/generic/e_scalbf.c: Likewise.
3071         * sysdeps/generic/e_scalbl.c: Likewise.
3072         Patch by Mark Hatle <fray@mvista.com>.
3074 2001-04-05  David S. Miller  <davem@redhat.com>
3076         * sysdeps/sparc/abort-instr.h: New file.
3078 2001-04-05  Matt Wilson  <msw@redhat.com>
3080         * sysdeps/unix/sysv/linux/alpha/getsysstats.c (GET_NPROCS_PARSER):
3081         added code to parse new 2.4 format.
3082         (GET_NPROCS_CONF_PARSER): Likewise.
3084 2001-04-05  David S. Miller  <davem@redhat.com>
3086         * scripts/config.sub: Recognize sparcv9b like sparcv9.
3087         * configure.in: Add sparcv9b.
3088         * sysdeps/sparc/sparc32/sparcv9b/Implies: New file
3089         * sysdeps/sparc/sparc32/sparcv9b/memcpy.S: New file
3090         * sysdeps/sparc/sparc64/sparcv9b/memcpy.S: New file
3092 2001-04-06  David Mosberger  <davidm@hpl.hp.com>
3094         * stdlib/tst-setcontext.c: Move st2[] to global scope.
3095         (f2): Verify that stack pointer is inside st2[].
3097         * sysdeps/unix/sysv/linux/ia64/getcontext.S: It helps to save r12.
3098         * sysdeps/unix/sysv/linux/ia64/setcontext.S: It helps to restore r12.
3100 2001-04-06  Ulrich Drepper  <drepper@redhat.com>
3102         * timezone/antarctica: Update from tzdata2001b.
3103         * timezone/asia: Likewise.
3104         * timezone/australasia: Likewise.
3105         * timezone/europe: Likewise.
3106         * timezone/northamerica: Likewise.
3108         * iconv/iconv_open.c: Move strip and upstr definitions...
3109         * iconv/gconv_charset.h: ...here.  New file.
3110         * iconv/gconv_db.c (once): Move to file level.
3111         (do_lookup_alias): Split out from __gconv_find_transform.
3112         (__gconv_find_transform): Call do_lookup_alias.
3113         (__gconv_loopup_alias): New function.
3114         * locale/langinfo.h: Define _NL_*_CODESET values for all categories
3115         but LC_CTYPE.
3116         * locale/categories.def: Add entries for new _NL_*_CODESET values.
3117         * locale/C-ctype.c: Use _nl_C_codeset to initialize CODESET entry.
3118         * locale/C-address.c: Initialize _NL_*_CODESET element.
3119         * locale/C-collate.c: Likewise.
3120         * locale/C-identification.c: Likewise.
3121         * locale/C-measurement.c: Likewise.
3122         * locale/C-messages.c: Likewise.
3123         * locale/C-monetary.c: Likewise.
3124         * locale/C-name.c: Likewise.
3125         * locale/C-numeric.c: Likewise.
3126         * locale/C-paper.c: Likewise.
3127         * locale/C-telephone.c: Likewise.
3128         * locale/C-time.c: Likewise.
3129         * locale/localeinfo.h: Declare _nl_C_codeset.
3130         * locale/C_name.c: Define _nl_C_codeset.
3131         * locale/findlocale.c: Before accepting locale check that the used
3132         charset does not conflict with what the locale name said.
3133         * locale/programs/ld-address.c: Emit codeset information.
3134         * locale/programs/ld-collate.c: Likewise.
3135         * locale/programs/ld-identification.c: Likewise.
3136         * locale/programs/ld-measurement.c: Likewise.
3137         * locale/programs/ld-messages.c: Likewise.
3138         * locale/programs/ld-monetary.c: Likewise.
3139         * locale/programs/ld-name.c: Likewise.
3140         * locale/programs/ld-numeric.c: Likewise.
3141         * locale/programs/ld-paper.c: Likewise.
3142         * locale/programs/ld-telephone.c: Likewise.
3143         * locale/programs/ld-time.c: Likewise.
3145         * localedata/tests-mbwc/tst_funcs.h (TST_HEAD_LOCALE): It is an error
3146         if the locale data couldn't be found.
3148         * string/Makefile: Define tst-strxfrm-ENV.
3150         * ysdeps/unix/sysv/linux/ia64/getcontext.S: Fix comment.
3152 2001-04-06  Andreas Jaeger  <aj@suse.de>
3154         * include/sys/profil.h: New file.
3156         * dlfcn/modatexit.c: Add prototypes to silence GCC.
3157         * dlfcn/modcxaatexit.c: Likewise.
3158         * elf/globalmod1.c: Likewise.
3160 2001-04-05  David S. Miller  <davem@redhat.com>
3162         * elf/elf.h (HWCAP_SPARC_ULTRA3): Define it.
3163         * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h: Add it to
3164         capability flags table and HWCAP_IMPORTANT, increase
3165         _DL_HWCAP_COUNT to 6.
3166         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h: Likewise.
3168 2001-04-04  David Mosberger  <davidm@hpl.hp.com>
3170         * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext): Fix
3171         initialization of stack_end (bug reported by Zheng Gengbin
3172         <gzheng@students.uiuc.edu>).
3174 2001-04-05  Ulrich Drepper  <drepper@redhat.com>
3176         * sysdeps/i386/fpu/libm-test-ulps: Relax errors for asinl.
3178 2001-04-05  Martin Schwidefsky  <schwidefsky@de.ibm.com>
3180         * sysdeps/unix/sysv/linux/s390/s390-64/bits/socket.h: New file.
3182 2001-04-05  Ulrich Drepper  <drepper@redhat.com>
3184         * sysdeps/ieee754/ldbl-96/e_asinl.c: Correct handling of +-Inf.
3185         * sysdeps/i386/fpu/e_asinl.S: Removed.  Too inaccurate.
3187         * login/tst-utmp.c: Make file usable again in tst-utmpx.c.
3189 2001-04-04  Ulrich Drepper  <drepper@redhat.com>
3191         * sysdeps/unix/sysv/aix/dl-libc.c: Don't use the ELF version,
3192         define simple replacements here.  Patch by Michael Keezer.
3194         * sysdeps/ieee754/ldbl-128/e_logl.c: New file.
3195         * sysdeps/ieee754/ldbl-96/e_asinl.c: New file.
3196         Contributed by Stephen L Moshier <moshier@mediaone.net>.
3198         * posix/fnmatch_loop.c: Undefine NEW_PATTERN when it is not used
3199         anymore.
3201 2001-04-01  Andreas Jaeger  <aj@suse.de>
3203         * sysdeps/generic/s_nextafter.c (NO_LONG_DOUBLE): Add nexttowardl
3204         alias.
3206         * sysdeps/generic/s_fma.c (NO_LONG_DOUBLE): Add fmal alias.
3208 2001-04-04  Ulrich Drepper  <drepper@redhat.com>
3210         * sysdeps/unix/sysv/linux/s390/s390-64/Dist: Add ucontext_i.h.
3211         * sysdeps/unix/sysv/linux/s390/s390-32/Dist: Likewise.
3213 2001-04-04  Martin Schwidefsky  <schwidefsky@de.ibm.com>
3215         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: New file.
3216         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: New file.
3217         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: New file.
3218         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.h: New file.
3219         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: New file.
3220         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: New file.
3221         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: New file.
3222         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.h: New file.
3223         * sysdeps/unix/sysv/linux/s390/swapcontext.c: New file.
3225 2001-04-04  Andreas Jaeger  <aj@suse.de>
3227         * sysdeps/powerpc/dl-machine.h (ELF_MACHINE_NO_REL): Move to right
3228         place.
3230 2001-04-04  Ulrich Drepper  <drepper@redhat.com>
3232         * sunrpc/rpc_scan.c (symbols): Add entry for HYPER.
3233         * sunrpc/rpc_scan.h (enum tok_kind): Add TOK_HYPER.
3234         * sunrpc/rpc_parse.c (get_type): Handle TOK_HYPER.
3235         (unsigned_dec): Likewise.
3236         Patch by atai@jezebel.dreamhost.com.
3238         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r): Pass
3239         pointer to int as last parameter of yp_match.
3240         Patch by kanazawa@flab.fujitsu.co.jp.
3242 2001-04-03  Ulrich Drepper  <drepper@redhat.com>
3244         * resolv/netdb.h (gai_strerror): Make return value const.
3245         * sysdeps/generic/gai_strerror.c (gai_strerror): Likewise.
3246         * sysdeps/posix/gai_strerror.c (gai_strerror): Likewise.
3247         Add strings for new error values.
3249 2001-03-29  Michael Keezer  <mkeezer@redhat.com>
3251         * posix/tst-gnuglob.c: Added ifdef _DIRENT_HAVE_D_TYPE.
3252         * login/tst-utmp.c: Handle case where ut_tv is not available but
3253         ut_time is.
3254         * sysdeps/unix/sysv/aix/utmpx.h: New file.
3255         * sysdeps/unix/sysv/aix/bits/utmpx.h: Added
3256         _HAVE_UT_TYPE/PID/ID/TV/HOST defines.
3257         * sysdeps/unix/sysv/aix/libc-start.c: Removed temp code and made stub.
3258         * sysdeps/unix/sysv/aix/gettimeofday.c: New file added routines
3259         to access RTCU timer reg.
3260         * sysdeps/unix/sysv/aix/Makefile: Remove /usr/lib/crt0.o
3261         added dl-libc, dl-open,dl-sym, dl-close to misc.
3262         * sysdeps/unix/sysv/aix/start.c: New file.  Start code.
3263         * sysdeps/unix/sysv/aix/dlldr.h: New file.  AIX __loadx defines.
3264         * sysdeps/unix/sysv/aix/dl-close.c: New file.  AIX dl-close.
3265         * sysdeps/unix/sysv/aix/dl-open.c: New file.  AIX dl-open.
3266         * sysdeps/unix/sysv/aix/dl-sym.c: New file.  AIX dl-sym.
3267         * sysdeps/unix/sysv/aix/dl-libc.c: New file.  libc_dl-xxx support.
3268         * sysdeps/generic/strtoll.c: Added SHLIB_COMPAT(libc,GLIBC_2_0,
3269         GLIBC_2_2).
3270         * sysdeps/generic/strtoull.c: Likewise.
3271         * sysdeps/powerpc/ppc-mcount.S: Added nop after bl instruction.
3272         * sysdeps/unix/sysv/aix/powerpc/memset.c: New file to include
3273         sysdeps/generic/memset.c.
3274         * sysdeps/unix/sysv/aix/getpeername.c: Define __getpeername.
3276 2001-04-03  Ulrich Drepper  <drepper@redhat.com>
3278         * iconv/Makefile (CFLAGS-charmap.c): Add -DNEED_NULL_POINTER.
3279         * locale/programs/charmap.c: Define null_pointer if
3280         NEED_NULL_POINTER is defined.
3282         * misc/dirname.c (dirname): Handle multiple slashes correctly.
3284 2001-04-03  Martin Schwidefsky  <schwidefsky@de.ibm.com>
3286         * sysdeps/s390/s390-64/initfini.c: Fix __gmon_start__ GOT access.
3288 2001-04-03  Martin Schwidefsky  <schwidefsky@de.ibm.com>
3290         * sysdeps/s390/s390-32/bcopy.S: Optimize for speed.
3291         * sysdeps/s390/s390-64/bcopy.S: Likewise.
3292         * sysdeps/s390/s390-32/mempcy.S: Likewise.
3293         * sysdeps/s390/s390-64/memcpy.S: Likewise.
3295 2001-04-02  Bruno Haible  <haible@clisp.cons.org>
3297         * manual/message.texi (Advanced gettext functions): More specific
3298         syntax in the plural formula examples.
3300 2001-04-02  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
3302         * sysdeps/powerpc/atomicity.h: Silence warnings.
3303         * sysdeps/powerpc/dl-machine.h: Likewise.
3304         * sysdeps/powerpc/register-dump.h: Likewise.
3305         * sysdeps/powerpc/fpu/s_lrint.c: Likewise.
3307 2001-04-02  Andreas Jaeger  <aj@suse.de>
3309         * misc/tst-dirname.c (main): Add more tests, derived from a bug
3310         report by Michael Kerrisk <mtk16@ext.canterbury.ac.nz>.
3312 2001-04-01  Andreas Jaeger  <aj@suse.de>
3314         * debug/xtrace.sh (pcprofileso): Use SLIBDIR since libpcprofile.so
3315         is installed there.
3316         * malloc/memusage.sh (memusageso): Likewise for libmemusage.so.
3318 2001-04-01  H.J. Lu  <hjl@gnu.org>
3320         * posix/annexc.c (macrofile): Renamed from TMPFILE and set to
3321         tmpnam (NULL).
3322         * stdlib/isomac.c (macrofile): Likewise.
3324 2001-03-30  Thorsten Kukuk  <kukuk@suse.de>
3326         * inet/rcmd.c: Allow AF_UNSPEC as parameter.
3327         * nis/ypclnt.c (yp_all): Print error message only at last try,
3328         check for protocoll error only if we don't have a network error.
3330 2001-04-02  Andreas Schwab  <schwab@suse.de>
3332         * resolv/res_data.c (res_isourserver): Fix cast.
3334 2001-04-02  Andreas Jaeger  <aj@suse.de>
3336         * sysdeps/unix/sysv/linux/hppa/umount.c: Add prototype for
3337         __umount2.
3339         * sysdeps/i386/dl-machine.h (RTLD_START): Don't use multi-line
3340         strings.
3341         (ELF_MACHINE_RUNTIME_TRAMPOLINE): Likewise.
3343         * sysdeps/ieee754/dbl-64/uroot.h: Add missing braces arount
3344         initializers.
3345         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Likewise.
3347         * elf/rtld.c (print_statistics)[!HP_TIMING_NONAVAIL]: Avoid
3348         warning about unused variable.
3350         * string/string.h (strndupa): Add cast for C++ conformance.
3351         (strdupa): Likewise.
3352         Fixes PR libc/2173, reported by tbrowder@home.com.
3354 2001-03-30  Roland McGrath  <roland@frob.com>
3356         * sysdeps/mach/hurd/Makefile ($(link-rpcuserlibs)): Don't append
3357         options after $(build-module), which is no longer a single command.
3358         (LDFLAGS-link-rpcuserlibs): New variable to hold those options.
3359         (LDFLAGS-libmachuser-link.so, LDFLAGS-libhurduser-link.so): New
3360         variables using it.  Reported by Mark Kettenis <kettenis@gnu.org>.
3362 2001-03-11  Roland McGrath  <roland@frob.com>
3364         * elf/rtld.c (dl_main): Add cast to quiet warning.
3365         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
3366         * iconv/gconv_conf.c (__gconv_get_path): Likewise.
3367         (__gconv_read_conf): Likewise.
3368         * iconv/gconv_db.c (gen_steps): Likewise.
3369         (__gconv_find_transform): Likewise.
3370         * locale/programs/charmap-dir.c (fopen_uncompressed): Likewise.
3371         (fopen_uncompressed): Use const in second argument's type.
3373 2001-03-11  Roland McGrath  <roland@frob.com>
3375         * sysdeps/mach/hurd/dl-sysdep.c (__writev): New function.
3377         * mach/mach_error.h: Fix ancient #endif syntax.
3378         * hurd/hurdmalloc.c: Likewise.
3380         * sysdeps/generic/atomicity.h (exchange_and_add, atomic_add,
3381         compare_and_swap): Add volatile qualifier to first arg, to bring
3382         these prototypes in line with all the other implementations.
3383         Add a #warning to remind the builder that these are not atomic.
3385 2001-03-04  Roland McGrath  <roland@frob.com>
3387         * hurd/vpprintf.c (vpprintf) [USE_IN_LIBIO]: Use innermore first
3388         member of TEMP_F so its type is _IO_FILE * as expected.
3390         * hurd/fopenport.c (seekio): Conditionalize type of POS argument
3391         on [USE_IN_LIBIO].  Check the value for overflow, since for libio
3392         it might exceed off_t's range.
3394 2001-02-25  Roland McGrath  <roland@frob.com>
3396         * sysdeps/mach/hurd/sysd-stdio.c (__stdio_reopen): Use prototype.
3397         * sysdeps/unix/bsd/getpt.c (__posix_openpt): Likewise.
3399         * sysdeps/mach/hurd/i386/intr-msg.h (SYSCALL_EXAMINE): Make this a
3400         macro instead of an inline function,
3401         (MSG_EXAMINE): Likewise.
3403         * hurd/hurd/ioctl.h (_HURD_HANDLE_IOCTLS_1): Remove extraneous ##.
3405         * hurd/get-host.c: Include <string.h> for decls of built-ins.
3406         * hurd/hurdchdir.c: Likewise.
3407         * sysdeps/mach/hurd/i386/sigreturn.c: Likweise.
3408         * sysdeps/mach/hurd/opendir.c: Likewise.
3410         * mach/mach_init.c: Include <unistd.h> for _exit decl.
3412         * mach/errsystems.awk: Give output file a trailing newline.
3414         * mach/Machrules (MIG): Prepend CC='${CC}' to the mig command, so that
3415         the script will use our compiler for the cpp stage.
3417         With --enable-all-warnings we get a whole bunch of warnings,
3418         and these are just a few fixes; there are more needed to silence it.
3419         * mach/mach/mig_support.h (__mig_strncpy, mig_strncpy): Add extern
3420         decls before extern inline defns to quiet gcc warning.
3421         * hurd/hurd/threadvar.h (__hurd_threadvar_location_from_sp): Likewise.
3422         * sysdeps/mach/i386/machine-sp.h (__thread_stack_pointer): Likewise.
3424 2001-03-31  Andreas Jaeger  <aj@suse.de>
3426         * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_RAWHDLC): Added.
3427         (ARPHRD_HDLC): Define as alias for ARPHRD_CISCO.
3428         (ARPHRD_CISCO): New.
3429         Changes from Linux 2.4.3.
3431 2001-03-30  Isamu Hasegawa  <isamu@yamato.ibm.com>
3433         * posix/regex.c: Avoid an access violation if malloc fails.
3435 2001-03-30  Andreas Jaeger  <aj@suse.de>
3437         * sysdeps/alpha/ldiv.S (ldiv): Add alias for imaxdiv.
3439 2001-03-29  Ulrich Drepper  <drepper@redhat.com>
3441         * posix/regex.c: Remove unnecessary ifs.
3443         * math/bits/mathcalls.h: Remove infnan declaration.
3445 2001-03-29  H.J. Lu  <hjl@gnu.org>
3447         * include/endian.h: Define BIG_ENDI, LITTLE_ENDI, HIGH_HALF,
3448         and LOW_HALF only if _LIBC is defined and _ISOMAC is not defined.
3449         * stdlib/isomac.c (fmt): Define _LIBC and _ISOMAC.
3451 2001-03-29  Isamu Hasegawa  <isamu@yamato.ibm.com>
3453         * posix/regex.c: Fix typo and add a sentinel.
3455 2001-03-29  Ulrich Drepper  <drepper@redhat.com>
3457         * sysdeps/unix/sysv/linux/shm_open.c: Open new file always with
3458         O_NOFOLLOW.  Suggested by Christoph Roland.
3460 2001-03-27  Martin Schwidefsky  <schwidefsky@de.ibm.com>
3462         * sysdeps/s390/bits/string.h: New unified 31/64 bit string.h.
3463         * sysdeps/s390/s390-32/bits/string.h: Remove.
3464         * sysdeps/s390/s390-64/bits/string.h: Remove.
3465         * sysdeps/s390/s390-32/strcmp.S: New file.
3466         * sysdeps/s390/s390-64/strcmp.S: New file.
3468 2001-03-27  Martin Schwidefsky  <schwidefsky@de.ibm.com>
3470         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Fix typo.
3471         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
3473 2001-03-27  Ulrich Drepper  <drepper@redhat.com>
3475         * version.h (VERSION): Bump to 2.2.3.
3477         * stdlib/isomac.c (fmt): Don't define _LIBC.
3478         * include/endian.h: Define BIG_ENDI, LITTLE_ENDI, HIGH_HALF, and
3479         LOW_HALF only if _LIBC is defined.
3481         * sysdeps/i386/fpu/libm-test-ulps: Slight adjustment of yn() error.
3483         * posix/fnmatch_loop.c (FCT): Handle !() after * special like @()
3484         and +().
3485         * posix/tst-fnmatch.input: Add test cases for matching empty strings.
3487         * sysdeps/ieee754/dbl-64/endian.h: Removed.  Move definitions...
3488         * include/endian.h: ...to here.
3490 2001-03-27  kaz Kojima  <kkojima@rr.iij4u.or.jp>
3492         * sysdeps/sh/sys/ucontext.h (NFREG): Rename to NFPREG.
3493         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (NFREG): Likewise.
3495 2001-03-27  Martin Schwidefsky  <schwidefsky@de.ibm.com>
3497         * sysdeps/unix/sysv/linux/s390/ldconfig.h: Fix typo.
3499 2001-03-26  Ulrich Drepper  <drepper@redhat.com>
3501         * sysdeps/ia64/fpu/Dist: Add new files to distribute.
3502         * sysdeps/unix/sysv/linux/s390/s390-64/Dist: Likewise.
3503         * sysdeps/unix/sysv/linux/ia64/Dist: Likewise.
3505         * gmon/Makefile (headers): Add sys/profil.h.
3507 2001-03-18  Andreas Jaeger  <aj@suse.de>
3509         * manual/install.texi (Tools for Compilation): Advise to use GCC
3510         2.95.3.
3511         (Supported Configurations): Mention s390x.
3513 2001-03-26  Ben Collins  <bcollins@debian.org>
3515         * sysdeps/unix/sysv/linux/mips/bits/mman.h: Add MAP_* and MADV_*
3516         defines to match other architectures.
3518 2001-03-26  Ulrich Drepper  <drepper@redhat.com>
3520         * libio/Makefile (tests): Add tst-ext.
3521         * libio/tst-ext.c: New file.
3523         * libio/iosetvbuf.c (_IO_setvbuf): Clear line buffer flag for _IONBF.
3525 2001-03-25  Ulrich Drepper  <drepper@redhat.com>
3527         Add changes which were in this form in the original patch by
3528         Eric Norum <eric.norum@usask.ca>.
3529         * include/rpc/rpc.h: Remove svc_fdset, rpc_createerr, svc_pollfd, and
3530         svc_max_pollfd.
3531         * sunrpc/rpc/rpc.h: Declare __rpc_thread_svc_fdset,
3532         __rpc_thread_createerr, __rpc_thread_svc_pollfd, and
3533         __rpc_thread_svc_max_pollfd.
3534         Define svc_fdset, get_rpc_createerr, svc_pollfd, and
3535         svc_max_pollfd.
3536         * sunrpc/rpc_thread.c: Handle first thread special, it uses the
3537         global variables.
3538         Define __rpc_thread_svc_fdset, __rpc_thread_createerr,
3539         __rpc_thread_svc_pollfd, and __rpc_thread_svc_max_pollfd.
3540         * sunrpc/Versions [libc] (GLIBC_2.2.3): Export  __rpc_thread_svc_fdset,
3541         __rpc_thread_createerr, __rpc_thread_svc_pollfd, and
3542         __rpc_thread_svc_max_pollfd.
3543         * sunrpc/clnt_gen.c: Replace use of rpc_createerr by call to
3544         get_rpc_createerr.
3545         * sunrpc/clnt_perr.c: Likewise.
3546         * sunrpc/clnt_simp.c: Likewise.
3547         * sunrpc/clnt_tcp.c: Likewise.
3548         * sunrpc/clnt_udp.c: Likewise.
3549         * sunrpc/clnt_unix.c: Likewise.
3550         * sunrpc/pm_getport.c: Likewise.
3552         * sysdeps/unix/sysv/linux/i386/getgroups.c (__getgroups): getgroups32
3553         syscall checks for negative n so don't test here as well.
3555 2001-03-23  Jes Sorensen  <jes@linuxcare.com>
3557         * sysdeps/unix/sysv/linux/ia64/sysdep.h (ENTRY): Moved to ...
3558         * sysdeps/ia64/sysdep.h: ...here.
3560         * sysdeps/ia64/sysdep.h (LOCAL_ENTRY): Define.
3561         * sysdeps/ia64/sysdep.h (LOCAL_LEAF): Define.
3563         * sysdeps/ia64/_mcount.S (_mcount_ret_helper): Use LOCAL_LEAF() to
3564         declare instead of LEAF().  Suggestion from David Mosberger.
3566 2001-03-21  David Mosberger  <davidm@hpl.hp.com>
3568         * sysdeps/unix/sysv/linux/ia64/sysdep.h (CALL_MCOUNT): Add unwind
3569         directives.
3570         (PSEUDO): Drop .psr and .lsb directives.
3572         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Ditto.  Add unwind
3573         directives.
3574         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Ditto.
3576         * sysdeps/ia64/elf/start.S: Misc cleanup: remove .psr and .lsb
3577         directives etc.
3578         * sysdeps/unix/sysv/linux/ia64/brk.S: Ditto.
3579         * sysdeps/unix/sysv/linux/ia64/__longjmp.S: Ditto.
3580         * sysdeps/ia64/_mcount.S: Remove .psr and .lsb directives (no
3581         longer needed).  Add unwind directives.
3583         * sysdeps/ia64/sysdep.h: Define ASM_UNW_PRLG_RP, ASM_UNW_PRLG_PFS,
3584         ASM_UNW_PRLG_PSP, ASM_UNW_PRLG_PR, and ASM_UNW_PRLG_GRSAVE.
3586 2001-03-21  Paul Eggert  <eggert@twinsun.com>
3588         * posix/regex.h (RE_INVALID_INTERVAL_ORD): New macro.
3589         (RE_SYNTAX_POSIX_EGREP): Use it.
3590         * posix/regex.c (regex_compile): Implement it.
3592 2001-03-21  Paul Eggert  <eggert@twinsun.com>
3594         * posix/regex.c (GET_UNSIGNED_NUMBER): Check for overflow.
3595         Rewrite to avoid duplicate code.
3597 2001-03-21  H.J. Lu  <hjl@gnu.org>
3599         * elf/Makefile (tests): Don't depend on $(objpfx)tst-pathopt.out
3600         for cross-compiling.
3601         ($(objpfx)tst-pathopt.out): Undo the last change.
3603 2001-03-24  Mark Kettenis  <kettenis@gnu.org>
3605         * sysdeps/mach/hurd/i386/bits/sigcontext.h (sc_sp, sc_fp, sc_pc,
3606         sc_ps): Define as aliases for sc_uesp, sc_ebl, sc_eip and sc_efl.
3608         * sysdeps/mach/hurd/i386/init-first.c: Include <assert.h>.
3609         (_dl_argv): Declare.
3610         (init) [SHARED]: Readjust _dl_argv if we switched to a new stack.
3612 2001-03-22  Andreas Jaeger  <aj@suse.de>
3614         * iconvdata/Makefile (generated): Add iconv-test.xxx.
3616         * posix/Makefile (generated): Add bug-regex2.mtrace and
3617         bug-regex2-mem.
3619 2001-03-21  Ulrich Drepper  <drepper@redhat.com>
3621         * csu/version.c (__gnu_get_libc_release): Add prototype.
3622         (__gnu_get_libc_version): Likewise.
3623         * include/gnu/libc-version.h: Remove prototypes for not exported
3624         functions.
3626 2001-03-21  Jes Sorensen  <jes@linuxcare.com>
3628         * sysdeps/unix/sysv/linux/ia64/makecontext.c: Include libintl.h
3629         for internationalized printfs to work.
3631 2001-03-09  Bruno Haible  <haible@clisp.cons.org>
3633         * intl/dcigettext.c (transmem_block_t): Change to unsigned char, to
3634         avoid compiler warning.
3635         (_nl_find_msg): Add casts to avoid compiler warnings.
3637 2001-03-21  Ulrich Drepper  <drepper@redhat.com>
3639         * gmon/Makefile (routines): Add sprofil.
3640         (tests): Add tst-sprofil.
3641         (noprof): Add sprofil.
3642         * gmon/Versions [libc] (GLIBC_2.2.3): Add sprofil.
3644 2001-03-20  David Mosberger  <davidm@hpl.hp.com>
3646         * sysdeps/generic/sprofil.c: New file.
3647         * sysdeps/posix/sprofil.c: New file.
3648         * gmon/tst-sprofil.c: New file.
3649         * gmon/sys/profil.h: New file.
3651 2001-03-20  Andreas Schwab  <schwab@suse.de>
3653         * include/unistd.h: Adjust prototype of __gethostname.
3655 2001-03-20  Jakub Jelinek  <jakub@redhat.com>
3657         * sysdeps/sparc/stackinfo.h: New file.
3659 2001-03-21  Andreas Jaeger  <aj@suse.de>
3661         * elf/global.c (main): Use proper prototype.
3663 2001-03-20  Ulrich Drepper  <drepper@redhat.com>
3665         * sunrpc/Makefile (routines): Add rpc_thread.
3666         (CPPFLAGS): Add -D_RPC_THREAD_SAFE.
3667         * sunrpc/rpc_thread.c: New file.
3668         * sunrpc/Versions [libc] (GLIBC_2.2.3): Export __rpc_thread_destroy.
3669         * sunrpc/auth_none.c: Don't use global variables.  Access state in
3670         thread-local storage.
3671         * sunrpc/clnt_perr.c: Likewise.
3672         * sunrpc/clnt_raw.c: Likewise.
3673         * sunrpc/clnt_simp.c: Likewise.
3674         * sunrpc/key_call.c: Likewise.
3675         * sunrpc/rpc_common.c: Likewise.
3676         * sunrpc/svc.c: Likewise.
3677         * sunrpc/svc_raw.c: Likewise.
3678         * sunrpc/svc_simple.c: Likewise.
3679         * sunrpc/svcauth_des.c: Likewise.
3680         * hurd/hurd/threadvar.h (enum __hurd_threadvar_index): Add
3681         _HURD_THREADVAR_RPC_VARS.
3682         * sysdeps/generic/bits/libc-tsd.h: Mention _LIBC_TSD_KEY_RPC_VARS.
3683         * include/rpc/rpc.h: Define data structures for internal thread-local
3684         "global" variables.
3685         Based on patches by Eric Norum <eric.norum@usask.ca>.
3687         * elf/dl-load.c: Various little optimizations.
3689         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Return
3690         LINUX_LINK_MAX only if the statfs function is not implemented for
3691         the filesystem.
3693         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Return
3694         LINUX_LINK_MAX only if the fstatfs function is not implemented for
3695         the filesystem.
3697 2001-03-19  Ulrich Drepper  <drepper@redhat.com>
3699         * elf/dl-dst.h (DL_DST_COUNT): Add __builtin_expect.
3701         * elf/dl-load.c (_dl_dst_count): Make DST recognition more robust.
3702         (_dl_dst_substitute): Likewise.
3704 2001-03-17  Bruno Haible  <haible@clisp.cons.org>
3706         * intl/loadmsgcat.c (_nl_load_domain) [!_LIBC]: Use fstat, not fstat64.
3708 2001-03-17  Bruno Haible  <haible@clisp.cons.org>
3710         * intl/gettextP.h (struct expression): Add operators lnot, less_than,
3711         greater_than, less_or_equal, greater_or_equal.  Replace args2/args3
3712         union by a 'nargs' counter and an 'args[]' array.
3713         * intl/plural.y: Don't include stdarg.h.
3714         (new_exp): Take an array of arguments instead of varargs.
3715         (new_exp_0, new_exp_1, new_exp_2, new_exp_3): New functions.
3716         ('?' ':'): Make right-associative.
3717         (EQUOP2): New token, replaces '=' and '!'.
3718         (CMPOP2): New token.
3719         (ADDOP2): New token, replaces '+' and '-'.
3720         (MULOP2): New token, replaces '*', '/' and '%'.
3721         ('!'): New token.
3722         (exp): Add rules for CMPOP2 and '!'.  Don't call YYABORT.
3723         (start): Call YYABORT here.
3724         (FREE_EXPRESSION): Update.
3725         (yylex): Don't skip "\\n".  Recognize comparison and '!' operators.
3726         Update for new token symbols.
3727         * intl/loadmsgcat.c (plvar, plone, germanic_plural,
3728         init_germanic_plural): Update.
3729         * intl/dcigettext.c (_nl_find_msg): Optimize for space.
3730         (plural_eval): Recognize comparison and '!' operators.  Optimize for
3731         space.
3733 2001-03-10  Bruno Haible  <haible@clisp.cons.org>
3735         * intl/loadmsgcat.c (_nl_load_domain): locale_charset() doesn't return
3736         NULL any more.
3738 2001-01-05  Bruno Haible  <haible@clisp.cons.org>
3740         * intl/loadmsgcat.c: Include headers needed for alloca().
3741         (freea): New macro.
3742         (_nl_load_domain): Add fallback code for platforms lacking alloca.
3743         * intl/localealias.c: (ADD_BLOCK, FREE_BLOCK): Remove macros.
3744         (freea): New macro.
3745         (read_alias_file): Simplify fallback code for platforms lacking
3746         alloca.
3748 2001-01-07  Bruno Haible  <haible@clisp.cons.org>
3750         * intl/gettextP.h (__gettextdebug): Remove declaration.
3751         (__gettext_free_exp, __gettextparse): Convert prototype to K&R C
3752         syntax.
3753         (gettext_free_exp__, gettextparse__): New non-libc declarations.
3754         * intl/plural.y [!_LIBC]: Define gettextparse__, gettext_free_exp__,
3755         not __gettextparse, __gettext_free_exp.
3756         * intl/loadmsgcat.c [!_LIBC]: Use gettextparse__, not __gettextparse.
3758 2001-02-24  Bruno Haible  <haible@clisp.cons.org>
3760         * intl/dcigettext.c: Update comment about HAVE_LOCALE_NULL.
3762 2001-01-05  Bruno Haible  <haible@clisp.cons.org>
3764         * intl/loadmsgcat.c (_nl_load_domain): Add fallback code for platforms
3765         lacking strtoul, like SunOS4.
3767 2001-01-05  Bruno Haible  <haible@clisp.cons.org>
3769         * intl/l10nflist.c (_nl_normalize_codeset): Use tolower, not _tolower.
3771 2001-01-05  Bruno Haible  <haible@clisp.cons.org>
3773         * intl/bindtextdom.c (set_binding_values): Convert prototype to K&R C
3774         syntax.
3775         * intl/dcigettext.c (transcmp): Convert to K&R C syntax.
3776         * intl/explodename.c (_nl_find_language): Convert to K&R C syntax.
3777         * intl/plural.y (__gettext_free_exp, yylex, yyerror): Convert to K&R C
3778         syntax.
3780 2001-01-07  Bruno Haible  <haible@clisp.cons.org>
3782         * intl/gettextP.h (gettext__, dgettext__, dcgettext__, textdomain__,
3783         bindtextdomain__, bind_textdomain_codeset__): New declarations, from
3784         old libgettext.h.
3785         * intl/bindtextdom.c: Include libgnuintl.h instead of libgettext.h.
3786         * intl/dcgettext.c: Likewise.
3787         * intl/dcigettext.c: Likewise.
3788         * intl/dcngettext.c: Likewise.
3789         * intl/dngettext.c: Likewise.
3790         * intl/finddomain.c: Likewise.
3791         * intl/ngettext.c: Likewise.
3792         * intl/textdomain.c: Likewise.
3793         * intl/dgettext.c: Include libgnuintl.h instead of libgettext.h.
3794         Include gettextP.h.
3795         * intl/gettext.c: Likewise.  Don't include locale.h.
3797 2001-03-17  Bruno Haible  <haible@clisp.cons.org>
3799         * intl/gettextP.h (ZERO): New macro.
3800         (struct binding): Always use ZERO.
3801         * intl/bindtextdom.c (offsetof): Provide fallback for platforms that
3802         lack it, like SunOS4.
3803         (set_binding_values): Use offsetof, not sizeof.
3804         * intl/dcigettext.c (offsetof): Provide fallback for platforms that
3805         lack it, like SunOS4.
3806         (ZERO): Remove macro.
3807         (struct transmem_list): Use ZERO.
3808         (DCIGETTEXT): Use offsetof, not sizeof.
3810 2001-03-17  Bruno Haible  <haible@clisp.cons.org>
3812         * intl/gettextP.h: Include <stddef.h>.  Include gettext.h, for
3813         nls_uint32.
3814         * intl/bindtextdom.c: Don't include gettext.h.
3815         * intl/dcgettext.c: Likewise.
3816         * intl/dcigettext.c: Likewise.
3817         * intl/dcngettext.c: Likewise.
3818         * intl/dngettext.c: Likewise.
3819         * intl/finddomain.c: Likewise.
3820         * intl/localealias.c: Likewise.
3821         * intl/ngettext.c: Likewise.
3822         * intl/plural.y: Likewise.
3823         * intl/textdomain.c: Likewise.
3825 2001-03-17  Bruno Haible  <haible@clisp.cons.org>
3827         * intl/gettext.h: Don't include <stdio.h>.
3829 2001-03-17  Bruno Haible  <haible@clisp.cons.org>
3831         * intl/Makefile (CPPFLAGS): Set LOCALEDIR instead of GNULOCALEDIR.
3832         * intl/dcigettext.c (_nl_default_dirname): Initialize with LOCALEDIR.
3834 2001-03-19  Ulrich Drepper  <drepper@redhat.com>
3836         * sysdeps/unix/i386/i686/tempname.c: New file.
3838         * sysdeps/posix/tempname.c (__gen_tempname): If RANDOM_BITS is
3839         defined use this macro to get some bits of randomness instead of
3840         the usual gettimeofday or time calls.
3842 2001-03-16  Paul Eggert  <eggert@twinsun.com>
3844         * sysdeps/posix/tempname.c (uint64_t): Define to uintmax_t if
3845         not defined, and if UINT64_MAX is not defined.
3847 2001-03-19  Ulrich Drepper  <drepper@redhat.com>
3849         * elf/cache.c: Mark and have translated a few more messages.
3851 2001-03-19  Martin Schwidefsky  <schwidefsky@de.ibm.com>
3853         * elf/cache.c: Add case for FLAG_S390_LIB64.
3854         * sysdeps/generic/ldconfig.h: Add define for FLAG_S390_LIB64.
3855         * sysdeps/unix/sysv/linux/s390/ldconfig.h: New file.
3856         * sysdeps/unix/sysv/linux/s390/readelflib.c: New file.
3858 2001-03-19  Ulrich Drepper  <drepper@redhat.com>
3860         * string/Makefile (tests): Add tst-strxfrm.
3861         * string/tst-strxfrm.c: New file.  Based on a test case by Paul Eggert.
3862         * string/Depend: New file.
3864 2001-03-19  Paul Eggert  <eggert@twinsun.com>
3866         * string/strxfrm.c (strxfrm): strxfrm should return 0, not 1,
3867         when given the empty string in nontrivial locales.
3869 2001-03-17  H.J. Lu  <hjl@gnu.org>
3871         * manual/Makefile (install): Use $(INSTALL_DATA) instead of
3872         cp to install `dir'.
3874 2001-03-19  Andreas Schwab  <schwab@suse.de>
3876         * Makerules (build-shlib): Make sure exit codes get checked
3877         properly.
3879 2001-03-18  Ulrich Drepper  <drepper@redhat.com>
3881         * Makerules (build-shlib): Remove unnecessary slashes introduced in
3882         last change.
3884         * configure.in: Test for -Bgroup option of linker.
3885         * config.make.in: Define have-Bgroup.
3887         * conform/data/unistd.h-data: Require gethostname.
3888         * posix/unistd.h: Make gethostname prototype available for
3889         __USE_XOPEN2K.
3891         * crypt/Makefile: When generating DSO link with libc_nonshared.a.
3892         * debug/Makefile: Likewise.
3893         * dlfcn/Makefile: Likewise.
3894         * hesiod/Makefile: Likewise.
3895         * iconvdata/extra-module.mk: Likewise.
3896         * locale/Makefile: Likewise.
3897         * login/Makefile: Likewise.
3898         * math/Makefile: Likewise.
3899         * nis/Makefile: Likewise.
3900         * nss/Makefile: Likewise.
3901         * resolv/Makefile: Likewise.
3902         * rt/Makefile: Likewise.
3904 2001-03-17  Ulrich Drepper  <drepper@redhat.com>
3906         * inet/Makefile (tests): Remove left-over comment.
3908         * posix/unistd.h (gethostname): Change type of second parameter
3909         back to size_t as per upcoming XPG6.
3910         * sysdeps/unix/sysv/aix/gethostname.c: Change type of second
3911         parameter back to size_t as per upcoming XPG6.
3912         * sysdeps/unix/sysv/sysv4/gethostname.c: Likewise.
3913         * sysdeps/unix/sysv/gethostname.c: Likewise.
3914         * sysdeps/mach/hurd/gethostname.c: Likewise.
3915         * sysdeps/generic/gethostname.c: Likewise.
3917 2001-03-16  Ulrich Drepper  <drepper@redhat.com>
3919         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
3920         Handle NaN here.
3922         * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext):
3923         Internationalize.
3925 2001-02-06  Jakub Jelinek  <jakub@redhat.com>
3927         * elf/dl-load.c (_dl_map_object): Don't test l_opencount when
3928         looking for name matches.
3930 2001-02-26  Jakub Jelinek  <jakub@redhat.com>
3932         * sysdeps/generic/sigcontextinfo.h (CALL_SIGHANDLER): Define.
3933         * sysdeps/mach/hurd/i386/sigcontextinfo.h: Likewise.
3934         * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h: Likewise.
3935         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
3936         * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h: Likewise.
3937         * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h: Likewise.
3938         * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h: Likewise.
3939         * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h: Likewise.
3940         * sysdeps/unix/sysv/linux/s390/sigcontextinfo.h: Likewise.
3941         * sysdeps/unix/sysv/linux/sh/sigcontextinfo.h: Likewise.
3942         * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: Likewise.
3943         * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h: Likewise.
3945 2001-03-16  Ulrich Drepper  <drepper@redhat.com>
3947         * sysdeps/ieee754/ldbl-96/s_erfl.c: New file.
3948         Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>.
3950         * sysdeps/i386/fpu/libm-test-ulps: Adjust for addition of erfl and
3951         erfcl.
3952         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
3954 2001-03-16  David Mosberger  <davidm@hpl.hp.com>
3956         * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h (struct sigcontext):
3957         Drop hack that was needed for 2.1.1 kernel headers.
3959         * sysdeps/unix/sysv/linux/ia64/ucontext_i.h: New file.
3961         * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Rewrite to make it
3962         overlay with kernel's "struct sigcontext".
3964         * sysdeps/unix/sysv/linux/ia64/Makefile (sysdep_headers): Add
3965         sys/rse.h for "misc" subdir.
3966         (sysdep_routines): Add __start_context for "stdlib" subdir.
3968         * sysdeps/unix/sysv/linux/ia64/sys/rse.h: New file (based on
3969         kernel file of the same name).
3971         * stdlib/Makefile (tests): Add tst-setcontext.
3972         * stdlib/tst-setcontext.c: New file (based on a sample program by
3973         Uli Drepper).
3975         * sysdeps/unix/sysv/linux/ia64/setcontext.S: New file.
3976         * sysdeps/unix/sysv/linux/ia64/getcontext.S: New file.
3977         * sysdeps/unix/sysv/linux/ia64/__start_context.S: New file.
3978         * sysdeps/unix/sysv/linux/ia64/makecontext.c: New file.
3979         * sysdeps/unix/sysv/linux/ia64/swapcontext.c: New file.
3981         * sysdeps/unix/sysv/linux/ia64/__longjmp.S (__longjmp): Use extr.u
3982         instead of shift & and.
3984 2001-03-16  Martin Schwidefsky  <schwidefsky@de.ibm.com>
3986         * sysdeps/s390/s390-64/bits/huge_val.h: Move to...
3987         * sysdeps/s390/bits/huge_val.h: ...here.
3988         * sysdeps/s390/s390-32/bit/huge_val.h: Remove.
3989         * sysdeps/s390/s390-64/ffs.c: Move to...
3990         * sysdeps/s390/ffs.c: ...here.
3991         * sysdeps/s390/s390-32/ffs.c: Remove.
3993 2001-03-16  Jakub Jelinek  <jakub@redhat.com>
3995         * elf/ldconfig.c (search_dir): Remove bogus diagnostic, instead
3996         update osversion from more recent library.
3998 2001-03-13  Martin Schwidefsky  <schwidefsky@de.ibm.com>
4000         * sysdeps/unix/sysv/linux/s390/Dist: Move to...
4001         * sysdeps/unix/sysv/linux/s390/s390-32/Dist: ...here.
4002         * sysdeps/unix/sysv/linux/s390/Makefile: Move to...
4003         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: ...here.
4004         * sysdeps/unix/sysv/linux/s390/Versions: Move to...
4005         * sysdeps/unix/sysv/linux/s390/s390-32/Versions: ...here.
4006         * sysdeps/unix/sysv/linux/s390/alphasort64.c: Move to...
4007         * sysdeps/unix/sysv/linux/s390/s390-32/alphasort64.c: ...here.
4008         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Move to...
4009         * sysdeps/unix/sysv/linux/s390/s390-32/bits/fcntl.h: ...here.
4010         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Move to...
4011         * sysdeps/unix/sysv/linux/s390/s390-32/bits/mman.h: ...here.
4012         * sysdeps/unix/sysv/linux/s390/bits/resource.h: Move to...
4013         * sysdeps/unix/sysv/linux/s390/s390-32/bits/resource.h: ...here.
4014         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Move to...
4015         * sysdeps/unix/sysv/linux/s390/s390-32/bits/stat.h: ...here.
4016         * sysdeps/unix/sysv/linux/s390/chown.c: Move to...
4017         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: ...here.
4018         * sysdeps/unix/sysv/linux/s390/clone.S: Move to...
4019         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: ...here.
4020         * sysdeps/unix/sysv/linux/s390/fchown.c: Move to...
4021         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: ...here.
4022         * sysdeps/unix/sysv/linux/s390/fcntl.c: Move to...
4023         * sysdeps/unix/sysv/linux/s390/s390-32/fcntl.c: ...here.
4024         * sysdeps/unix/sysv/linux/s390/fxstat.c: Move to...
4025         * sysdeps/unix/sysv/linux/s390/s390-32/fxstat.c: ...here.
4026         * sysdeps/unix/sysv/linux/s390/getdents64.c: Move to...
4027         * sysdeps/unix/sysv/linux/s390/s390-32/getdents64.c: ...here.
4028         * sysdeps/unix/sysv/linux/s390/getegid.c: Move to...
4029         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: ...here.
4030         * sysdeps/unix/sysv/linux/s390/geteuid.c: Move to...
4031         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: ...here.
4032         * sysdeps/unix/sysv/linux/s390/getgid.c: Move to...
4033         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: ...here.
4034         * sysdeps/unix/sysv/linux/s390/getgroups.c: Move to...
4035         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: ...here.
4036         * sysdeps/unix/sysv/linux/s390/getresgid.c: Move to...
4037         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: ...here.
4038         * sysdeps/unix/sysv/linux/s390/getresuid.c: Move to...
4039         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: ...here.
4040         * sysdeps/unix/sysv/linux/s390/getrlimit.c: Move to...
4041         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: ...here.
4042         * sysdeps/unix/sysv/linux/s390/getrlimit64.c: Move to...
4043         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit64.c: ...here.
4044         * sysdeps/unix/sysv/linux/s390/getuid.c: Move to...
4045         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: ...here.
4046         * sysdeps/unix/sysv/linux/s390/lchown.c: Move to...
4047         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: ...here.
4048         * sysdeps/unix/sysv/linux/s390/lockf64.c: Move to...
4049         * sysdeps/unix/sysv/linux/s390/s390-32/lockf64.c: ...here.
4050         * sysdeps/unix/sysv/linux/s390/lxstat.c: Move to...
4051         * sysdeps/unix/sysv/linux/s390/s390-32/lxstat.c: ...here.
4052         * sysdeps/unix/sysv/linux/s390/mmap.S: Move to...
4053         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: ...here.
4054         * sysdeps/unix/sysv/linux/s390/mmap64.S: Move to...
4055         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: ...here.
4056         * sysdeps/unix/sysv/linux/s390/msgctl.c: Move to...
4057         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: ...here.
4058         * sysdeps/unix/sysv/linux/s390/oldgetrlimit64.c: Move to...
4059         * sysdeps/unix/sysv/linux/s390/s390-32/oldgetrlimit64.c: ...here.
4060         * sysdeps/unix/sysv/linux/s390/readdir64.c: Move to...
4061         * sysdeps/unix/sysv/linux/s390/s390-32/readdir64.c: ...here.
4062         * sysdeps/unix/sysv/linux/s390/readdir64_r.c: Move to...
4063         * sysdeps/unix/sysv/linux/s390/s390-32/readdir64_r.c: ...here.
4064         * sysdeps/unix/sysv/linux/s390/register-dump.h: Move to...
4065         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: ...here.
4066         * sysdeps/unix/sysv/linux/s390/scandir64.c: Move to...
4067         * sysdeps/unix/sysv/linux/s390/s390-32/scandir64.c: ...here.
4068         * sysdeps/unix/sysv/linux/s390/semctl.c: Move to...
4069         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: ...here.
4070         * sysdeps/unix/sysv/linux/s390/setegid.c: Move to...
4071         * sysdeps/unix/sysv/linux/s390/s390-32/setegid.c: ...here.
4072         * sysdeps/unix/sysv/linux/s390/seteuid.c: Move to...
4073         * sysdeps/unix/sysv/linux/s390/s390-32/seteuid.c: ...here.
4074         * sysdeps/unix/sysv/linux/s390/setfsgid.c: Move to...
4075         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: ...here.
4076         * sysdeps/unix/sysv/linux/s390/setfsuid.c: Move to...
4077         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: ...here.
4078         * sysdeps/unix/sysv/linux/s390/setgid.c: Move to...
4079         * sysdeps/unix/sysv/linux/s390/s390-32/setgid.c: ...here.
4080         * sysdeps/unix/sysv/linux/s390/setgroups.c: Move to...
4081         * sysdeps/unix/sysv/linux/s390/s390-32/setgroups.c: ...here.
4082         * sysdeps/unix/sysv/linux/s390/setregid.c: Move to...
4083         * sysdeps/unix/sysv/linux/s390/s390-32/setregid.c: ...here.
4084         * sysdeps/unix/sysv/linux/s390/setresgid.c: Move to...
4085         * sysdeps/unix/sysv/linux/s390/s390-32/setresgid.c: ...here.
4086         * sysdeps/unix/sysv/linux/s390/setresuid.c: Move to...
4087         * sysdeps/unix/sysv/linux/s390/s390-32/setresuid.c: ...here.
4088         * sysdeps/unix/sysv/linux/s390/setreuid.c: Move to...
4089         * sysdeps/unix/sysv/linux/s390/s390-32/setreuid.c: ...here.
4090         * sysdeps/unix/sysv/linux/s390/setrlimit.c: Move to...
4091         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: ...here.
4092         * sysdeps/unix/sysv/linux/s390/setuid.c: Move to...
4093         * sysdeps/unix/sysv/linux/s390/s390-32/setuid.c: ...here.
4094         * sysdeps/unix/sysv/linux/s390/shmctl.c: Move to...
4095         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: ...here.
4096         * sysdeps/unix/sysv/linux/s390/socket.S: Move to...
4097         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: ...here.
4098         * sysdeps/unix/sysv/linux/s390/sys/procfs.h: Move to...
4099         * sysdeps/unix/sysv/linux/s390/s390-32/sys/procfs.h: ...here.
4100         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Move to...
4101         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: ...here.
4102         * sysdeps/unix/sysv/linux/s390/syscall.S: Move to...
4103         * sysdeps/unix/sysv/linux/s390/s390-32/syscall.S: ...here.
4104         * sysdeps/unix/sysv/linux/s390/syscalls.list: Move to...
4105         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: ...here.
4106         * sysdeps/unix/sysv/linux/s390/sysdep.S: Move to...
4107         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: ...here.
4108         * sysdeps/unix/sysv/linux/s390/sysdep.h: Move to...
4109         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: ...here.
4110         * sysdeps/unix/sysv/linux/s390/versionsort64.c: Move to...
4111         * sysdeps/unix/sysv/linux/s390/s390-32/versionsort64.c: ...here.
4112         * sysdeps/unix/sysv/linux/s390/xstat.c: Move to...
4113         * sysdeps/unix/sysv/linux/s390/s390-32/xstat.c: ...here.
4115 2001-03-13  Martin Schwidefsky  <schwidefsky@de.ibm.com>
4117         * sysdeps/unix/sysv/linux/s390/s390-64/Dist: New file.
4118         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: New file.
4119         * sysdeps/unix/sysv/linux/s390/s390-64/bits/elfclass.h: New file.
4120         * sysdeps/unix/sysv/linux/s390/s390-64/bits/fcntl.h: New file.
4121         * sysdeps/unix/sysv/linux/s390/s390-64/bits/ipc.h: New file.
4122         * sysdeps/unix/sysv/linux/s390/s390-64/bits/mman.h: New file.
4123         * sysdeps/unix/sysv/linux/s390/s390-64/bits/msq.h: New file.
4124         * sysdeps/unix/sysv/linux/s390/s390-64/bits/resource.h: New file.
4125         * sysdeps/unix/sysv/linux/s390/s390-64/bits/sem.h: New file.
4126         * sysdeps/unix/sysv/linux/s390/s390-64/bits/shm.h: New file.
4127         * sysdeps/unix/sysv/linux/s390/s390-64/bits/sigaction.h: New file.
4128         * sysdeps/unix/sysv/linux/s390/s390-64/bits/siginfo.h: New file.
4129         * sysdeps/unix/sysv/linux/s390/s390-64/bits/sigstack.h: New file.
4130         * sysdeps/unix/sysv/linux/s390/s390-64/bits/stat.h: New file.
4131         * sysdeps/unix/sysv/linux/s390/s390-64/bits/types.h: New file.
4132         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: New file.
4133         * sysdeps/unix/sysv/linux/s390/s390-64/fstatfs64.c: New file.
4134         * sysdeps/unix/sysv/linux/s390/s390-64/ftruncate64.c: New file.
4135         * sysdeps/unix/sysv/linux/s390/s390-64/fxstat.c: New file.
4136         * sysdeps/unix/sysv/linux/s390/s390-64/fxstat64.c: New file.
4137         * sysdeps/unix/sysv/linux/s390/s390-64/getdents.c: New file.
4138         * sysdeps/unix/sysv/linux/s390/s390-64/getdents64.c: New file.
4139         * sysdeps/unix/sysv/linux/s390/s390-64/getrlimit64.c: New file.
4140         * sysdeps/unix/sysv/linux/s390/s390-64/glob.c: New file.
4141         * sysdeps/unix/sysv/linux/s390/s390-64/glob64.c: New file.
4142         * sysdeps/unix/sysv/linux/s390/s390-64/kernel_stat.h: New file.
4143         * sysdeps/unix/sysv/linux/s390/s390-64/lxstat.c: New file.
4144         * sysdeps/unix/sysv/linux/s390/s390-64/lxstat64.c: New file.
4145         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: New file.
4146         * sysdeps/unix/sysv/linux/s390/s390-64/mmap64.c: New file.
4147         * sysdeps/unix/sysv/linux/s390/s390-64/pread64.c: New file.
4148         * sysdeps/unix/sysv/linux/s390/s390-64/pwrite64.c: New file.
4149         * sysdeps/unix/sysv/linux/s390/s390-64/readdir.c: New file.
4150         * sysdeps/unix/sysv/linux/s390/s390-64/readdir64.c: New file.
4151         * sysdeps/unix/sysv/linux/s390/s390-64/readdir64_r.c: New file.
4152         * sysdeps/unix/sysv/linux/s390/s390-64/readdir_r.c : New file.
4153         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: New file.
4154         * sysdeps/unix/sysv/linux/s390/s390-64/setrlimit64.c: New file.
4155         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: New file.
4156         * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c: New file.
4157         * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c: New file.
4158         * sysdeps/unix/sysv/linux/s390/s390-64/sigsuspend.c: New file.
4159         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: New file.
4160         * sysdeps/unix/sysv/linux/s390/s390-64/statfs64.c: New file.
4161         * sysdeps/unix/sysv/linux/s390/s390-64/sys/procfs.h: New file.
4162         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: New file.
4163         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: New file.
4164         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: New file.
4165         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: New file.
4166         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: New file.
4167         * sysdeps/unix/sysv/linux/s390/s390-64/truncate64.c: New file.
4168         * sysdeps/unix/sysv/linux/s390/s390-64/xstat.c: New file.
4169         * sysdeps/unix/sysv/linux/s390/s390-64/xstat64.c: New file.
4171 2001-03-13  Martin Schwidefsky  <schwidefsky@de.ibm.com>
4173         * sysdeps/s390/Dist: Move to...
4174         * sysdeps/s390/390-32/Dist: ...here.
4175         * sysdeps/s390/Implies: Move to...
4176         * sysdeps/s390/s390-32/Implies: ...here.
4177         * sysdeps/s390/Makefile: Move to...
4178         * sysdeps/s390/s390-32/Makefile: ...here.
4179         * sysdeps/s390/Versions: Move to...
4180         * sysdeps/s390-32/s390/Versions: ...here.
4181         * sysdeps/s390/add_n.S: Move to...
4182         * sysdeps/s390/s390-32/add_n.S: ...here.
4183         * sysdeps/s390/addmul_1.S: Move to...
4184         * sysdeps/s390/s390-32/addmul_1.S: ...here.
4185         * sysdeps/s390/atomicity.h: Move to...
4186         * sysdeps/s390/s390-32/atomicity.h: ...here.
4187         * sysdeps/s390/backtrace.c: Move to...
4188         * sysdeps/s390/s390-32/backtrace.c: ...here.
4189         * sysdeps/s390/bcopy.S: Move to...
4190         * sysdeps/s390/s390-32/bcopy.S: ...here.
4191         * sysdeps/s390/bits/byteswap.h: Move to...
4192         * sysdeps/s390/s390-32/bits/byteswap.h: ...here.
4193         * sysdeps/s390/bits/huge_val.h: Move to...
4194         * sysdeps/s390/s390-32/bits/huge_val.h: ...here.
4195         * sysdeps/s390/bsd-_setjmp.S: Move to...
4196         * sysdeps/s390/s390-32/bsd-_setjmp.S: ...here.
4197         * sysdeps/s390/bsd-setjmp.S: Move to...
4198         * sysdeps/s390/s390-32/bsd-setjmp.S: ...here.
4199         * sysdeps/s390/bzero.S: Move to...
4200         * sysdeps/s390/s390-32/bzero.S: ...here.
4201         * sysdeps/s390/elf/bsd-_setjmp.S: Move to...
4202         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: ...here.
4203         * sysdeps/s390/elf/bsd-setjmp.S: Move to...
4204         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: ...here.
4205         * sysdeps/s390/elf/start.S: Move to...
4206         * sysdeps/s390/s390-32/elf/start.S: ...here.
4207         * sysdeps/s390/ffs.c: Move to...
4208         * sysdeps/s390/s390-32/ffs.c: ...here.
4209         * sysdeps/s390/memchr.S: Move to...
4210         * sysdeps/s390/s390-32/memchr.S: ...here.
4211         * sysdeps/s390/memcpy.S: Move to...
4212         * sysdeps/s390/s390-32/memcpy.S: ...here.
4213         * sysdeps/s390/memset.S: Move to...
4214         * sysdeps/s390/s390-32/memset.S: ...here.
4215         * sysdeps/s390/mul_1.S: Move to...
4216         * sysdeps/s390/s390-32/mul_1.S: ...here.
4217         * sysdeps/s390/s390-mcount.S: Move to...
4218         * sysdeps/s390/s390-32/s390-mcount.S: ...here.
4219         * sysdeps/s390/strcpy.S: Move to...
4220         * sysdeps/s390/s390-32/strcpy.S: ...here.
4221         * sysdeps/s390/strncpy.S: Move to...
4222         * sysdeps/s390/s390-32/strncpy.S: ...here.
4223         * sysdeps/s390/sub_n.S: Move to...
4224         * sysdeps/s390/s390-32/sub_n.S: ...here.
4226 2001-03-13  Martin Schwidefsky  <schwidefsky@de.ibm.com>
4228         * sysdeps/s390/s390-64/Dist: New file.
4229         * sysdeps/s390/s390-64/Implies: New file.
4230         * sysdeps/s390/s390-64/Makefile: New file.
4231         * sysdeps/s390/s390-64/__longjmp.c: New file.
4232         * sysdeps/s390/s390-64/add_n.S: New file.
4233         * sysdeps/s390/s390-64/atomicity.h: New file.
4234         * sysdeps/s390/s390-64/backtrace.c: New file.
4235         * sysdeps/s390/s390-64/bcopy.S: New file.
4236         * sysdeps/s390/s390-64/bits/byteswap.h: New file.
4237         * sysdeps/s390/s390-64/bits/huge_val.h: New file.
4238         * sysdeps/s390/s390-64/bits/setjmp.h: New file.
4239         * sysdeps/s390/s390-64/bits/string.h: New file.
4240         * sysdeps/s390/s390-64/bsd-_setjmp.S: New file.
4241         * sysdeps/s390/s390-64/bsd-setjmp.S: New file.
4242         * sysdeps/s390/s390-64/bzero.S: New file.
4243         * sysdeps/s390/s390-64/dl-machine.h: New file.
4244         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: New file.
4245         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: New file.
4246         * sysdeps/s390/s390-64/elf/setjmp.S: New file.
4247         * sysdeps/s390/s390-64/elf/start.S: New file.
4248         * sysdeps/s390/s390-64/ffs.c: New file.
4249         * sysdeps/s390/s390-64/initfini.c: New file.
4250         * sysdeps/s390/s390-64/memchr.S: New file.
4251         * sysdeps/s390/s390-64/memcpy.S: New file.
4252         * sysdeps/s390/s390-64/memset.S: New file.
4253         * sysdeps/s390/s390-64/s390x-mcount.S: New file.
4254         * sysdeps/s390/s390-64/setjmp.S: New file.
4255         * sysdeps/s390/s390-64/strcpy.S: New file.
4256         * sysdeps/s390/s390-64/strncpy.S: New file.
4257         * sysdeps/s390/s390-64/sub_n.S: New file.
4258         * sysdeps/s390/s390-64/sysdep.h: New file.
4260 2001-03-13  Martin Schwidefsky  <schwidefsky@de.ibm.com>
4262         * scripts/config.guess: Add support for Linux on 64 bit S/390.
4263         * scripts/config.sub: Likewise.
4265 2001-03-13  Martin Schwidefsky  <schwidefsky@de.ibm.com>
4267         * configure.in: Add support for 64 bit S/390.
4269         * elf/elf.h: Add new relocations for 64 bit S/390.
4271         * shlib-versions: Add rules for Linux on 64 bit S/390.
4273 2001-03-13  Martin Schwidefsky  <schwidefsky@de.ibm.com>
4275         * sysdeps/s390/__longjmp.c: Move to...
4276         * sysdeps/s390/s390-32/__longjmp.c: ...here.  Add code
4277         to load the floating point registers that should be saved
4278         according to the ABI.
4280         * sysdeps/s390/bits/setjmp.h: Move to...
4281         * sysdeps/s390/s390-32/bits/setjmp.h: ...here.  Avoid
4282         the use of long long in the __jmp_buf type definition.
4284         * sysdeps/s390/bits/string.h: Move to...
4285         * sysdeps/s390/s390-32/bits/string.h: ...here.  Add several missing
4286         #ifndef _FORCE_INLINES.
4288         * sysdeps/s390/dl-machine.h: Move to...
4289         * sysdeps/s390/s390-32/dl-machine.h: ...here.  Add a check for the
4290         executables EI_CLASS in elf_machine_matches_host.
4292         * sysdeps/s390/elf/setjmp.S: Move to...
4293         * sysdeps/s390/s390-32/elf/setjmp.S: ...here.  Replace
4294         branches to globally defined symbol __sigsetjmp by branches to
4295         a local label (this avoids the generation of a R_390_PC16DBL
4296         relocation in -fpic code).
4298         * sysdeps/s390/gmp-mparam.h: Use defines from <bits/wordsize.h> to
4299         calculate BITS_PER_MP_LIMB, BYTES_PER_MP_LIMB and BITS_PER_LONGINT.
4301         * sysdeps/s390/initfini.c: Move to...
4302         * sysdeps/s390/s390-32/initfini.c: ...here.  Replace ALIGN with
4303         ".align 4,0x07".
4305         * sysdeps/s390/setjmp.S: Move to...
4306         * sysdeps/s390/s390-32/setjmp.S: ...here.  Add code to store the
4307         floating point registers that should be saved according to the ABI.
4309         * sysdeps/s390/sys/ucontext.h: Remove since it is unused.
4311         * sysdeps/unix/sysv/linux/s390/sysdep.h: Move to...
4312         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: ...here.  Include
4313         sysdeps/s390/s390-32/sysdep.h instead of sysdeps/s390/sysdep.h.
4315 2001-03-13  Martin Schwidefsky  <schwidefsky@de.ibm.com>
4317         * configure.in: Change machine=s390 to machine=s390/s390-32.
4319         * elf/elf.h: Correct comment for R_390_PLT16DBL.
4321 2001-03-12  Jakub Jelinek  <jakub@redhat.com>
4323         * csu/Makefile (abi-tag.h): Define OS and version separately, allow
4324         version to be overriden from config.h.
4325         * csu/abi-note.S: Use OS and version separately, include config.h.
4326         * elf/dl-load.c (_dl_osversion): New.
4327         (_dl_map_object_from_fd): Kill some warnings.
4328         (open_verify): Check .note.ABI-tag of the library if present.
4329         * elf/Makefile (CPPFLAGS-dl-load.c): Add -I$(csu-objpfx).
4330         * elf/cache.c (struct cache_entry): Add osversion.
4331         (print_entry): Print osversion.
4332         (print_cache): Pass osversion to it.
4333         (compare): Sort according to osversion.
4334         (save_cache): Set osversion.
4335         (add_to_cache): Add osversion argument.
4336         * sysdeps/generic/ldconfig.h (add_to_cache, process_file,
4337         process_elf_file): Add osversion argument.
4338         * elf/readlib.c (process_file): Likewise.
4339         * sysdeps/generic/readelflib.c (process_elf_file): Likewise.
4340         * sysdeps/unix/sysv/linux/ia64/readelflib.c (process_elf_file,
4341         process_elf32_file, process_elf64_file): Likewise.
4342         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file,
4343         process_elf32_file, process_elf64_file): Likewise.
4344         * sysdeps/unix/sysv/linux/sparc/readelflib.c (process_elf_file,
4345         process_elf32_file, process_elf64_file): Likewise.
4346         * elf/ldconfig.c (manual_link): Pass it.
4347         (search_dir): Issue diagnostic if two libs with the same soname in
4348         the same directory have different .note.ABI-tag.  Record osversion in
4349         dlib_entry and use it from there.
4350         (struct lib_entry): Remove.
4351         (struct dlib_entry): Add osversion.
4352         * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Check
4353         osversion.
4354         * sysdeps/generic/dl-cache.h (struct file_entry_new): Replace __unused
4355         field with osversion.
4356         * sysdeps/generic/ldsodefs.h (_dl_osversion): Declare.
4357         * sysdeps/unix/sysv/linux/init-first.c: Include ldsodefs.h.
4358         * sysdeps/unix/sysv/linux/dl-osinfo.h (DL_SYSDEP_OSCHECK): Save kernel
4359         version in _dl_osversion.
4360         * sysdeps/unix/sysv/linux/configure.in: Define __ABI_TAG_VERSION.
4361         * Makerules (build-shlib-helper, build-module-helper): New.
4362         (build-shlib, build-module-helper): Make sure .note.ABI-tag comes
4363         early.
4364         * config.h.in (__ABI_TAG_VERSION): Add.
4365         * elf/dl-minimal.c (__strtoul_internal): Set endptr on return.
4366         * sysdeps/unix/sysv/linux/i386/dl-librecon.h (EXTRA_LD_ENVVARS):
4367         Handle LD_ASSUME_KERNEL.
4368         * sysdeps/unix/sysv/linux/dl-librecon.h: New.
4370 2001-03-15  Ulrich Drepper  <drepper@redhat.com>
4372         * timezone/antarctica: Update from tzdata2001a.
4373         * timezone/asia: Likewise.
4374         * timezone/australasia: Likewise.
4375         * timezone/backward: Likewise.
4376         * timezone/etcetera: Likewise.
4377         * timezone/europe: Likewise.
4378         * timezone/leapseconds: Likewise.
4379         * timezone/northamerica: Likewise.
4380         * timezone/southamerica: Likewise.
4381         * timezone/systemv: Likewise.
4382         * timezone/yearistype: Likewise.
4383         * timezone/zone.tab: Likewise.
4384         * timezone/tzdump.c: Update from tzcode2001a.
4386 2001-03-15  H.J. Lu  <hjl@gnu.org>
4388         * intl/Makefile: Fix a typo.
4390 2001-03-14  David Mosberger  <davidm@hpl.hp.com>
4392         * gmon/gmon.c (write_call_graph): Avoid unaligned accesses when
4393         writing arc structures.
4395 2001-03-15  H.J. Lu  <hjl@gnu.org>
4397         * elf/Makefile ($(objpfx)tst-pathopt.out): Protected against
4398         cross-compiling.
4400 2001-03-13  Andreas Schwab  <schwab@suse.de>
4402         * posix/PTESTS2C.sed: Replace literal CRs by `\r'.
4404 2001-03-15  Ulrich Drepper  <drepper@redhat.com>
4406         * sysdeps/unix/sysv/linux/cmsg_nxthdr.c (__cmsg_nxthdr): Fix test
4407         for control message fitting into message data.
4408         Patch by James Antill <james@and.org>.
4410         * posix/tst-fnmatch.input: Add test case for FNM_PERIOD handling with
4411         FNM_EXTMATCH.
4413         * posix/fnmatch_loop.c: Optimize handling of ?() and @().
4414         * posix/fnmatch.c: Define STRLEN and STRCAT appropriately.
4416         * posix/Versions [libc] (GLIBC_2.2.3): Add fnmatch.
4417         * posix/fnmatch.c: Define with new default version GLIBC_2.2.3 to
4418         avoid running binaries with libc versions without FNM_EXTMATCH support.
4420         * include/wchar.h: Add prototype for __wcscat.
4421         * wcsmbs/wcscat.c: Define __wcscat and make wcscat weak alias.
4423         * posix/fnmatch.h (FNM_EXTMATCH): Define.
4424         * posix/fnmatch.c (NO_LEADING_PERIOD): Define.
4425         (posixly_correct): Move global variable here.
4426         (INT, EXT, END): Name new functions defined in fnmatch_loop.c.
4427         (fnmatch): Pretty printing.
4428         * posix/fnmatch_loop.c: Add code to handle FNM_EXTMATCH.
4429         * posix/tst-fnmatch.c: Recognize EXTMATCH flag.
4430         * posix/tst-fnmatch.input: Add tests for extended matching.
4432         * posix/testfnm.c: Add test for patterns with multiple ** before /.
4433         * posix/fnmatch_loop.c: Fix problem with the test above.
4435 2001-03-14  Ulrich Drepper  <drepper@redhat.com>
4437         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Remove
4438         reference to usqrt.
4440         * resolv/res_data.c (fp_nquery): Call __res_ninit not __res_init.
4442 2001-03-12  Andreas Jaeger  <aj@suse.de>
4444         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
4445         Use EM_X86_64 instead of EM_X8664.
4447 2001-03-12  Ulrich Drepper  <drepper@redhat.com>
4449         * sysdeps/ieee754/dbl-64/upow.h: Define nZERO and nINF.
4451         * sysdeps/ieee754/dbl-64/e_remainder.c: Fix handling of boundary
4452         conditions.
4454         * sysdeps/ieee754/dbl-64/e_pow.c: Fix handling of boundary
4455         conditions.
4457         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Handle Inf and NaN
4458         correctly.
4459         (__cos): Likewise.
4461         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Handle NaN
4462         correctly.
4463         (__ieee754_acos): Likewise.
4465 2001-03-12  Andreas Jaeger  <aj@suse.de>
4467         * sysdeps/unix/sysv/linux/s390/sysdep.h (_LINUX_S390_SYSDEP_H):
4468         Fix typo.  Patch by Martin Schwidefsky  <schwidefsky@de.ibm.com>.
4470         * sysdeps/s390/bits/string.h: Protect __STRING_INLINE against
4471         redefinition.
4473 2001-03-11  Roland McGrath  <roland@frob.com>
4475         * sysdeps/mach/hurd/configure.in: Add a sanity check on $prefix.
4477 2001-03-11  Ulrich Drepper  <drepper@redhat.com>
4479         * sysdeps/ieee754/dbl-64/endian.h: Define also one of BIG_ENDI and
4480         LITTLE_ENDI.
4482         * sysdeps/ieee754/dbl-64/MathLib.h (Init_Lib): Use void as
4483         parameter list.
4485         Last-bit accurate math library implementation by IBM Haifa.
4486         Contributed by Abraham Ziv <ziv@il.ibm.com>, Moshe Olshansky
4487         <olshansk@il.ibm.com>, Ealan Henis <ealan@il.ibm.com>, and
4488         Anna Reitman <reitman@il.ibm.com>.
4489         * math/Makefile (dbl-only-routines): New variable.
4490         (libm-routines): Add $(dbl-only-routines).
4491         * sysdeps/ieee754/dbl-64/e_acos.c: Empty, definition is in e_asin.c.
4492         * sysdeps/ieee754/dbl-64/e_asin.c: Replaced with accurate asin
4493         implementation.
4494         * sysdeps/ieee754/dbl-64/e_atan2.c: Replaced with accurate atan2
4495         implementation.
4496         * sysdeps/ieee754/dbl-64/e_exp.c: Replaced with accurate exp
4497         implementation.
4498         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Don't use __kernel_sin and
4499         __kernel_cos.
4500         * sysdeps/ieee754/dbl-64/e_log.c: Replaced with accurate log
4501         implementation.
4502         * sysdeps/ieee754/dbl-64/e_remainder.c: Replaced with accurate
4503         remainder implementation.
4504         * sysdeps/ieee754/dbl-64/e_pow.c: Replaced with accurate pow
4505         implementation.
4506         * sysdeps/ieee754/dbl-64/e_sqrt.c: Replaced with accurate sqrt
4507         implementation.
4508         * sysdeps/ieee754/dbl-64/k_cos.c: Empty, definition is in s_sin.c.
4509         * sysdeps/ieee754/dbl-64/k_sin.c: Empty, definition is in s_sin.c.
4510         * sysdeps/ieee754/dbl-64/s_atan.c: Replaced with accurate atan
4511         implementation.
4512         * sysdeps/ieee754/dbl-64/s_cos.c: Empty, definition is in s_sin.c.
4513         * sysdeps/ieee754/dbl-64/s_sin.c: Replaced with accurate sin/cos
4514         implementation.
4515         * sysdeps/ieee754/dbl-64/s_sincos.c: Rewritten to not use __kernel_sin
4516         and __kernel_cos.
4517         * sysdeps/ieee754/dbl-64/s_tan.c: Replaced with accurate tan
4518         implementation.
4519         * sysdeps/ieee754/dbl-64/Dist: Add new non-code files.
4520         * sysdeps/ieee754/dbl-64/MathLib.h: New file.
4521         * sysdeps/ieee754/dbl-64/asincos.tbl: New file.
4522         * sysdeps/ieee754/dbl-64/atnat.h: New file.
4523         * sysdeps/ieee754/dbl-64/atnat2.h: New file.
4524         * sysdeps/ieee754/dbl-64/branred.c: New file.
4525         * sysdeps/ieee754/dbl-64/branred.h: New file.
4526         * sysdeps/ieee754/dbl-64/dla.h: New file.
4527         * sysdeps/ieee754/dbl-64/doasin.c: New file.
4528         * sysdeps/ieee754/dbl-64/doasin.h: New file.
4529         * sysdeps/ieee754/dbl-64/dosincos.c: New file.
4530         * sysdeps/ieee754/dbl-64/dosincos.h: New file.
4531         * sysdeps/ieee754/dbl-64/endian.h: New file.
4532         * sysdeps/ieee754/dbl-64/halfulp.c: New file.
4533         * sysdeps/ieee754/dbl-64/mpa.c: New file.
4534         * sysdeps/ieee754/dbl-64/mpa.h: New file.
4535         * sysdeps/ieee754/dbl-64/mpa2.h: New file.
4536         * sysdeps/ieee754/dbl-64/mpatan.c: New file.
4537         * sysdeps/ieee754/dbl-64/mpatan.h: New file.
4538         * sysdeps/ieee754/dbl-64/mpatan2.c: New file.
4539         * sysdeps/ieee754/dbl-64/mpexp.c: New file.
4540         * sysdeps/ieee754/dbl-64/mpexp.h: New file.
4541         * sysdeps/ieee754/dbl-64/mplog.c: New file.
4542         * sysdeps/ieee754/dbl-64/mplog.h: New file.
4543         * sysdeps/ieee754/dbl-64/mpsqrt.c: New file.
4544         * sysdeps/ieee754/dbl-64/mpsqrt.h: New file.
4545         * sysdeps/ieee754/dbl-64/mptan.c: New file.
4546         * sysdeps/ieee754/dbl-64/mydefs.h: New file.
4547         * sysdeps/ieee754/dbl-64/powtwo.tbl: New file.
4548         * sysdeps/ieee754/dbl-64/root.tbl: New file.
4549         * sysdeps/ieee754/dbl-64/sincos.tbl: New file.
4550         * sysdeps/ieee754/dbl-64/sincos32.c: New file.
4551         * sysdeps/ieee754/dbl-64/sincos32.h: New file.
4552         * sysdeps/ieee754/dbl-64/slowexp.c: New file.
4553         * sysdeps/ieee754/dbl-64/slowpow.c: New file.
4554         * sysdeps/ieee754/dbl-64/uasncs.h: New file.
4555         * sysdeps/ieee754/dbl-64/uatan.tbl: New file.
4556         * sysdeps/ieee754/dbl-64/uexp.h: New file.
4557         * sysdeps/ieee754/dbl-64/uexp.tbl: New file.
4558         * sysdeps/ieee754/dbl-64/ulog.h: New file.
4559         * sysdeps/ieee754/dbl-64/ulog.tbl: New file.
4560         * sysdeps/ieee754/dbl-64/upow.h: New file.
4561         * sysdeps/ieee754/dbl-64/upow.tbl: New file.
4562         * sysdeps/ieee754/dbl-64/urem.h: New file.
4563         * sysdeps/ieee754/dbl-64/uroot.h: New file.
4564         * sysdeps/ieee754/dbl-64/usncs.h: New file.
4565         * sysdeps/ieee754/dbl-64/utan.h: New file.
4566         * sysdeps/ieee754/dbl-64/utan.tbl: New file.
4567         * sysdeps/i386/fpu/branred.c: New file.
4568         * sysdeps/i386/fpu/doasin.c: New file.
4569         * sysdeps/i386/fpu/dosincos.c: New file.
4570         * sysdeps/i386/fpu/halfulp.c: New file.
4571         * sysdeps/i386/fpu/mpa.c: New file.
4572         * sysdeps/i386/fpu/mpatan.c: New file.
4573         * sysdeps/i386/fpu/mpatan2.c: New file.
4574         * sysdeps/i386/fpu/mpexp.c: New file.
4575         * sysdeps/i386/fpu/mplog.c: New file.
4576         * sysdeps/i386/fpu/mpsqrt.c: New file.
4577         * sysdeps/i386/fpu/mptan.c: New file.
4578         * sysdeps/i386/fpu/sincos32.c: New file.
4579         * sysdeps/i386/fpu/slowexp.c: New file.
4580         * sysdeps/i386/fpu/slowpow.c: New file.
4581         * sysdeps/ia64/fpu/branred.c: New file.
4582         * sysdeps/ia64/fpu/doasin.c: New file.
4583         * sysdeps/ia64/fpu/dosincos.c: New file.
4584         * sysdeps/ia64/fpu/halfulp.c: New file.
4585         * sysdeps/ia64/fpu/mpa.c: New file.
4586         * sysdeps/ia64/fpu/mpatan.c: New file.
4587         * sysdeps/ia64/fpu/mpatan2.c: New file.
4588         * sysdeps/ia64/fpu/mpexp.c: New file.
4589         * sysdeps/ia64/fpu/mplog.c: New file.
4590         * sysdeps/ia64/fpu/mpsqrt.c: New file.
4591         * sysdeps/ia64/fpu/mptan.c: New file.
4592         * sysdeps/ia64/fpu/sincos32.c: New file.
4593         * sysdeps/ia64/fpu/slowexp.c: New file.
4594         * sysdeps/ia64/fpu/slowpow.c: New file.
4595         * sysdeps/m68k/fpu/branred.c: New file.
4596         * sysdeps/m68k/fpu/doasin.c: New file.
4597         * sysdeps/m68k/fpu/dosincos.c: New file.
4598         * sysdeps/m68k/fpu/halfulp.c: New file.
4599         * sysdeps/m68k/fpu/mpa.c: New file.
4600         * sysdeps/m68k/fpu/mpatan.c: New file.
4601         * sysdeps/m68k/fpu/mpatan2.c: New file.
4602         * sysdeps/m68k/fpu/mpexp.c: New file.
4603         * sysdeps/m68k/fpu/mplog.c: New file.
4604         * sysdeps/m68k/fpu/mpsqrt.c: New file.
4605         * sysdeps/m68k/fpu/mptan.c: New file.
4606         * sysdeps/m68k/fpu/sincos32.c: New file.
4607         * sysdeps/m68k/fpu/slowexp.c: New file.
4608         * sysdeps/m68k/fpu/slowpow.c: New file.
4610         * iconvdata/gconv-modules: Add a number of alias, mostly for IBM
4611         codepages.
4613 2001-03-11  Andreas Jaeger  <aj@suse.de>
4615         * elf/elf.h (EM_*): Synch with official list.
4617 2001-03-07  David Mosberger  <davidm@hpl.hp.com>
4619         * sysdeps/ia64/bits/fenv.h (FE_NONIEEE_ENV): New macro.
4621 2001-03-07  Jes Sorensen  <jes@linuxcare.com>
4623         * sysdeps/unix/sysv/linux/ia64/ioperm.c (_ioperm): Remove unused
4624         variables addr & len.
4626 2001-02-22  Jes Sorensen  <jes@linuxcare.com>
4628         * sysdeps/ia64/fpu/feenablxcpt.c (feenableexcept): Remove
4629         punctuation in asm constraint.
4631 2001-03-07  Mark Kettenis  <kettenis@gnu.org>
4633         * resolv/netdb.h [__USE_GNU]: Define __need_timespec and include
4634         <time.h> to get definition of `struct timespec'.
4636 2001-03-08  Jakub Jelinek  <jakub@redhat.com>
4638         * elf/rtld.c (dl_main): If tracing, warn about undefined symbols if
4639         LD_WARN=1, not if LD_WARN is unset.
4641 2001-03-07  Andreas Schwab  <schwab@suse.de>
4643         * elf/ldconfig.h: Moved to ...
4644         * sysdeps/generic/ldconfig.h: ... here.
4645         * sysdeps/unix/sysv/linux/i386/ldconfig.h: New file.
4646         * sysdeps/unix/sysv/linux/m68k/ldconfig.h: New file.
4647         * sysdeps/unix/sysv/linux/ia64/ldconfig.h: New file.
4648         * elf/readlib.c (interpreters, known_libs): Use
4649         SYSDEP_KNOWN_INTERPRETER_NAMES and SYSDEP_KNOWN_LIBRARY_NAMES
4650         instead of hard coding old names.
4652 2001-03-09  Ulrich Drepper  <drepper@redhat.com>
4654         * catgets/Makefile (generated): Add test-gencat.h.
4655         (sample.SJIS.cat): Also generate header.
4656         * catgets/sample.SJIS: Add new set and message, both with symbolic
4657         names.
4658         * catgets/test-gencat.sh: Also compare generated header with what
4659         we expect.
4661 2001-03-07  Jakub Jelinek  <jakub@redhat.com>
4663         * catgets/gencat.c (read_input_file): Preserve properly symbolic
4664         names.
4666 2001-03-06  Andreas Jaeger  <aj@suse.de>
4668         * sysdeps/s390/dl-machine.h (elf_machine_relplt): Removed, it's not
4669         needed.
4670         (elf_machine_pltrel_p): Likewise.
4671         * sysdeps/powerpc/dl-machine.h: Likewise.
4672         * sysdeps/generic/dl-machine.h (elf_machine_pltrel_p): Likewise.
4674 2001-03-09  Ulrich Drepper  <drepper@redhat.com>
4676         * sysdeps/unix/sysv/linux/arm/Dist: Add dl-procinfo.c and
4677         dl-procinfo.h.
4679 2001-03-05  Philip Blundell  <philb@gnu.org>
4681         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c: New file.
4682         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h: New file.
4683         * sysdeps/unix/sysv/linux/arm/Makefile [subdir=elf]
4684         (sysdep-dl-routines, sysdep_routines, sysdep-rtld-routines): Add
4685         dl-procinfo.
4687 2001-03-09  Ulrich Drepper  <drepper@redhat.com>
4689         * dlfcn/tstatexit.c (main): Don't perform the test if __dso_handle
4690         is not available.
4691         * dlfcn/tstcxaatexit.c (main): Likewise.
4693 2001-03-10  Andreas Jaeger  <aj@suse.de>
4695         * sysdeps/i386/fpu/libm-test-ulps: Revert last patch.
4697 2001-03-09  Andreas Jaeger  <aj@suse.de>
4699         * sysdeps/s390/dl-machine.h (elf_machine_matches_host): Handle
4700         both new and old EM_S390 values.
4701         (EM_S390_OLD): New constant.
4703         * elf/elf.h (EM_S390): Use official value.
4705 2001-03-09  Ulrich Drepper  <drepper@redhat.com>
4707         * conform/data/sys/socket.h-data: Allow SO* symbols.
4709 2001-03-07  Andreas Schwab  <schwab@suse.de>
4711         * sysdeps/ia64/fpu/Makefile: Modify sysdep_routines instead of
4712         routines, and sysdep-CPPFLAGS instead of CPPFLAGS.
4714 2001-03-07  Andreas Jaeger  <aj@suse.de>
4716         * resolv/Makefile (routines): Only build gai_sigqueue when threads
4717         are available.
4719 2001-03-07  Jakub Jelinek  <jakub@redhat.com>
4721         * elf/ldconfig.c (_dl_sysdep_message): Remove.
4722         * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h: Include
4723         ldsodefs.h.
4724         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h: Likewise.
4726         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Use
4727         _dl_error_printf instead of _dl_sysdep_error.
4728         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
4729         * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h (_dl_procinfo):
4730         Use _dl_printf instead of _dl_sysdep_message.
4731         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h (_dl_procinfo):
4732         Likewise.
4734 2001-03-06  Ben Collins  <bcollins@debian.org>
4736         * manual/arith.texi (Integers): Fix documentation of fast and
4737         least integer typedefs.
4739 2001-03-06  Jakub Jelinek  <jakub@redhat.com>
4741         * resolv/Depend: New file.
4742         * resolv/Makefile (extra-libs, tests): Build libanl and ga_test only
4743         when libpthread is built.
4745 2001-03-06  Andreas Jaeger  <aj@suse.de>
4747         * sysdeps/i386/fpu/libm-test-ulps: Add some deltas.
4749         * sysdeps/sh/dl-machine.h (elf_machine_rela): Add missing comma.
4750         Patch by kaz Kojima <kkojima@rr.iij4u.or.jp>.
4752 2001-03-05  Ulrich Drepper  <drepper@redhat.com>
4754         * stdlib/Versions: Remove __new_exitfn again.  Not needed.
4756 2001-03-05  Andreas Jaeger  <aj@suse.de>
4758         * stdlib/msort.c (qsort): Don't use alloca in a function call.
4760 2001-03-05  Ulrich Drepper  <drepper@redhat.com>
4762         * sysdeps/unix/sysv/linux/bits/stat.h (__S_TYPEISMQ, __S_TYPEISSEM,
4763         __S_TYPEISSHM): Rewrite to enforce correct use the macros.  They still
4764         always return zero.
4765         * sysdeps/unix/sysv/linux/alpha/bits/stat.h: Likewise.
4766         * sysdeps/unix/sysv/linux/ia64/bits/stat.h: Likewise.
4767         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
4768         * sysdeps/unix/sysv/linux/m68k/bits/stat.h: Likewise.
4769         * sysdeps/unix/sysv/linux/mips/bits/stat.h: Likewise.
4770         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
4771         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
4773 2001-03-04  Andreas Jaeger  <aj@suse.de>
4775         * stdlib/longlong.h: Don't use multi-line strings.
4776         * iconvdata/tst-loading.c: Likewise.
4778         * csu/Makefile ($(objpfx)version-info.h): Don't use multi-line
4779         string.
4781 2001-03-04  Ulrich Drepper  <drepper@redhat.com>
4783         * sysdeps/ia64/fpu/libm-test-ulps: Adjust for addition of lgammal.
4785         * rt/lio_listio.c: Add a few asserts.
4787         * elf/global.c: New file.
4788         * elf/globalmod1.c: New file.
4789         * elf/Makefile: Add rules to build and run global.
4791         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Define SI_ASYNCNL.
4792         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
4793         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Likewise.
4794         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
4795         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/siginfo.h: Likewise.
4797         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: New file.
4798         Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>.
4800         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Fix handling of boundary cases.
4802         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Always initialize sign variable.
4803         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
4805         * sysdeps/i386/fpu/libm-test-ulps: Adjust after addition of lgammal.
4807         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Fix typo in last change.
4809 2001-03-04  Andreas Jaeger  <aj@suse.de>
4811         * resolv/tst-aton.c: Add testcase for IP with four periods.
4813         * resolv/inet_addr.c: Don't recognize an IP with four periods.
4814         Patch by Andre' Breiler <A.Breiler@gmx.net>.
4816 2001-02-27  Philip Blundell  <pb@futuretv.com>
4818         * elf/elf.h: Add new ARM definitions from latest (B-01)
4819         specification.  Correct naming of EF_ARM_ALIGN8 et al.
4821 2001-03-04  Ulrich Drepper  <drepper@redhat.com>
4823         * stdio-common/tst-printf.sh: Remove bashisms.
4824         Patch by Matthew Clarke <Matthew_Clarke@mindlink.bc.ca>.
4826 2001-03-03  Ulrich Drepper  <drepper@redhat.com>
4828         * Versions.def: Add libanl definition.
4829         * shlib-versions: Add entry for libanl.
4830         * resolv/Makefile (distribute): Add gai_misc.h and ga_test.c.
4831         (routines): Add gai_sigqueue.
4832         (extra-libs): Add libanl.
4833         (libanl-routines): New variable.
4834         Add rules to build libanl and ga_test.
4835         * resolv/Versions [libc] (GLIBC_2.2.3): Add __gai_sigqueue.
4836         [libanl]: New library.
4837         * resolv/netdb.h: Add definitions for libanl.
4838         * resolv/getaddrinfo_a.c: New file.
4839         * resolv/gai_cancel.c: New file.
4840         * resolv/gai_error.c: New file.
4841         * resolv/gai_misc.c: New file.
4842         * resolv/gai_misc.h: New file.
4843         * resolv/gai_notify.c: New file.
4844         * resolv/gai_suspend.c: New file.
4845         * resolv/ga_test.c: New file.
4846         * sysdeps/generic/gai_sigqueue.c: New file.
4847         * sysdeps/unix/sysv/linux/gai_sigqueue.c: New file.
4848         * sysdeps/generic/bits/siginfo.h: Allow __need_sigevent_t being defined
4849         and provide only that definition.
4850         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Likewise.
4851         * sysdeps/unix/sysv/linux/bits/siginfo.h: Likewise.
4852         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
4853         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Likewise.
4854         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
4855         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/siginfo.h: Likewise.
4857         * rt/aio_misc.c: Fix typos in comments.
4858         * rt/lio_listio.c: Pretty printing.  Little optimization in request
4859         list handling.
4861         * elf/rtld.c: Remove commented out code.
4863         * sysdeps/unix/sysv/linux/linux_fsinfo.h (SHMFS_SUPER_MAGIC):
4864         Update for real 2.4 kernels.
4866 2001-03-01  Ulrich Drepper  <drepper@redhat.com>
4868         * elf/dl-load.c: Pretty printing.
4870         * elf/dl-object.c (_dl_new_object): Don't add the loader's scope
4871         twice.
4873 2001-02-28  Ulrich Drepper  <drepper@redhat.com>
4875         * sysdeps/alpha/dl-machine.h (elf_machine_rela): Don't handle
4876         relocations which are not in ld.so if RTLD_BOOTSTRAP is defined.
4878         * sysdeps/powerpc/dl-machine.c (__process_machine_rela): Fix typo.
4880         * elf/dl-misc.c (_dl_debug_vdprintf): Fix typo visible on 64-bit
4881         machines.
4883         * sysdeps/unix/sysv/linux/powerpc/sysdep.h (C_TEXT): Define.
4885 2001-02-27  Ulrich Drepper  <drepper@redhat.com>
4887         * sysdeps/powerpc/elf/libc-start.c: Use new output functions and
4888         _dl_debug_mask.
4890         * elf/Versions [ld]: Don't export _dl_debug_message anymore.  Export
4891         _dl_debug_printf.
4892         * elf/dl-misc.c: Remove definition of _dl_sysdep_output and
4893         _dl_debug_message.  Define _dl_debug_vdprintf, _dl_debug_printf,
4894         _dl_debug_printf_c, and _dl_printf.
4895         * sysdeps/generic/ldsodefs.h: Don't declare _dl_sysdep_output,
4896         _dl_debug_message, _dl_sysdep_message, _dl_sysdep_error, and
4897         _dl_sysdep_fatal.  Declare _dl_debug_printf, _dl_debug_printf_c,
4898         _dl_printf, _dl_error_printf, and _dl_fatal_printf.
4899         * elf/dl-close.c: Replace use of old output functions with the new
4900         ones.
4901         * elf/dl-deps.c: Likewise.
4902         * elf/dl-error.c: Likewise.
4903         * elf/dl-fini.c: Likewise.
4904         * elf/dl-init.c: Likewise.
4905         * elf/dl-load.c: Likewise.
4906         * elf/dl-lookup.c: Likewise.
4907         * elf/dl-minimal.c: Likewise.
4908         * elf/dl-open.c: Likewise.
4909         * elf/dl-profile.c: Likewise.
4910         * elf/dl-reloc.c: Likewise.
4911         * elf/dl-version.c: Likewise.
4912         * elf/do-lookup.h: Likewise.
4913         * elf/rtld.c: Likewise.
4914         * sysdeps/generic/dl-cache.c: Likewise.
4915         * sysdeps/generic/dl-sysdep.c: Likewise.
4916         * sysdeps/generic/libc-start.c: Likewise.
4917         * sysdeps/i386/dl-machine.h: Likewise.
4918         * sysdeps/arm/dl-machine.h: Likewise.
4919         * sysdeps/hppa/dl-machine.h: Likewise.
4920         * sysdeps/m68k/dl-machine.h: Likewise.
4921         * sysdeps/powerpc/dl-machine.h: Likewise.
4922         * sysdeps/s390/dl-machine.h: Likewise.
4923         * sysdeps/sh/dl-machine.h: Likewise.
4924         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
4925         * sysdeps/unix/sysv/linux/i386/dl-librecon.h: Likewise.
4926         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
4928         * sysdeps/generic/ldsodefs.h: Remove _dl_secure declaration.
4930         * dlfcn/Makefile: Don't run tstatexit test unless .hidden is
4931         supported by assembler.
4933         * sysdeps/generic/ldsodefs.h: Remove commented-out variable
4934         declaractions.
4936         * elf/rtld.c: Little optimizations in handling _dl_lazy.
4938         * elf/cache.c (save_cache): Portability changes.
4939         * elf/dl-profile.c (_dl_start_profile): Likewise.
4941         * elf/sln.c: Cleanups.  Remove arbitrary limits.
4943         * elf/dl-close.c: Replace _dl_debug_* variables with _dl_debug_mask.
4944         * elf/dl-deps.c: Likewise.
4945         * elf/dl-fini.c: Likewise.
4946         * elf/dl-init.c: Likewise.
4947         * elf/dl-load.c: Likewise.
4948         * elf/dl-lookup.c: Likewise.
4949         * elf/dl-open.c: Likewise.
4950         * elf/dl-reloc.c: Likewise.
4951         * elf/dl-support.c: Likewise.
4952         * elf/dl-version.c: Likewise.
4953         * elf/do-lookup.h: Likewise.
4954         * elf/rtld.c: Likewise.
4955         * sysdeps/generic/dl-cache.c: Likewise.
4956         * sysdeps/generic/ldsodefs.h: Likewise.
4957         * sysdeps/generic/libc-start.c: Likewise.
4958         * elf/Versions: Don't export _dl_debug_impcalls and _dl_debug_files.
4959         Export _dl_debug_mask.
4960         * Versions.def: Define GLIBC_2.2.3 for ld.
4962 2001-02-26  Greg McGary  <greg@mcgary.org>
4964         * sysdeps/unix/make-syscalls.sh (ptr): Handle `V' keyletter.
4966 2001-02-26  Paul Eggert  <eggert@twinsun.com>
4968         Modify mkstemp.c and tempname.c so that they can be used by
4969         GNU applications on non-glibc platforms.
4971         * misc/mkstemp.c (__GT_FILE): Define to zero if not defined.
4973         * sysdeps/posix/tempname.c: Include <config.h> if HAVE_CONFIG_H.
4974         Include <stddef.h>, <stdint.h>, <string.h> only if
4975         STDC_HEADERS || _LIBC.
4976         Include <fcntl.h> only if HAVE_FCNTL_H || _LIBC.
4977         Include <unistd.h> only if HAVE_UNISTD_H || _LIBC.
4978         Include <sys/time.h> only if HAVE_SYS_TIME_H || _LIBC.
4979         (__set_errno): Define this macro if <errno.h> doesn't.
4980         (P_tmpdir, TMP_MAX, __GT_FILE, __GT_BIGFILE, __GT_DIR, __GT_NOCREATE):
4981         Define these macros if <stdio.h> doesn't.
4982         (S_ISDIR, S_IRUSR, S_IWUSR, S_IXUSR):
4983         Define these macros if <sys/stat.h> doesn't.
4984         Ignore <sys/stat.h> S_ISDIR if STAT_MACROS_BROKEN.
4985         (stat64, __getpid, __gettimeofday, __mkdir, __open, __open64,
4986         lxstat64, __xstat64): Define if not _LIBC.
4987         (struct_stat64): New macro.
4988         (direxists, __gen_tempname): Use it, to avoid a
4989         portability problem with Solaris 8.
4990         (__secure_getenv): Define if ! (HAVE___SECURE_GETENV || _LIBC).
4991         (__gen_tempname): Invoke gettimeofday only if
4992         HAVE_GETTIMEOFDAY || _LIBC; otherwise, fall back on plain "time".
4993         Use portable macros like S_IRUSR | S_IWUSR rather than nonportable
4994         octal values like 0600.
4996 2001-02-26  Ulrich Drepper  <drepper@redhat.com>
4998         * sysdeps/ieee754/ldbl-96/e_jnl.c: New file.
4999         Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>.
5001         * sysdeps/i386/fpu/libm-test-ulps: Update for jnl and ynl introduction.
5002         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
5004         * posix/wordexp-test.c (testit): Remove warnings.
5006         * dlfcn/Makefile (distribute): Add modatexit.c and modcxaatexit.c.
5007         (tests): Add tstatexit and tstcxaatexit.
5008         (module-names): Add modatexit and modcxaatexit.
5009         Add rules to build and run tstatexit and tstcxaatexit.
5010         * dlfcn/modatexit.c: New file.
5011         * dlfcn/modcxaatexit.c: New file.
5012         * dlfcn/tstatexit.c: New file.
5013         * dlfcn/tstcxaatexit.c: New file.
5015         * io/Makefile: Pass -DHAVE_DOT_HIDDEN to stat and mknod functions if
5016         .hidden is available.
5017         * io/stat.c: If .hidden is available use it to avoid exporting
5018         functions.
5019         * io/fstat.c: Likewise.
5020         * io/lstat.c: Likewise.
5021         * io/stat64.c: Likewise.
5022         * io/fstat64.c: Likewise.
5023         * io/lstat64.c: Likewise.
5024         * sysdeps/generic/mknod.c: Likewise.
5026         * malloc/mtrace.c: Use __cxa_atexit and not atexit.
5027         * sysdeps/generic/bb_init_func.c: Likewise.
5028         * sysdeps/generic/libc-start.c: Likewise.
5030         * stdlib/atexit.c (__new_exitfn): Move to cxa_atexit.c.
5031         (atexit): Implement using __cxa_atexit.
5032         Use .hidden if availble to avoid exporting atexit.
5033         * stdlib/cxa_atexit.c (__new_exitfn): Moved to here from atexit.c.
5034         * stdlib/Versions: Export __new_exitfn for GLIBC_2.2.3.
5035         * stdlib/Makefile (routines): Add old_atexit.
5036         (static-only-routines): Add atexit.
5037         Pass -DHAVE_DOT_HIDDEN for atexit.c if .hidden is available.
5038         * stdlib/old_atexit.c: New file.
5040         * intl/Makefile: Remove bogus endif.
5042 2001-02-26  Andreas Jaeger  <aj@suse.de>
5044         * iconvdata/Makefile (tests): Fix typo in last patch.
5046         * intl/Makefile (tests): Run mtrace-tst-gettext only when perl is
5047         available.
5048         Reported by Achim Gottinger <achim@gentoo.org>.
5050 2001-02-25  Andreas Jaeger  <aj@suse.de>
5052         * intl/Makefile (plural.c): Reorder rules so that they work if
5053         BISON doesn't exist.
5055 2001-02-25  Ulrich Drepper  <drepper@redhat.com>
5057         * intl/locale.alias: Don't use nb_NO but define aliases for it.
5059 2001-02-23  Ulrich Drepper  <drepper@redhat.com>
5061         * sysdeps/i386/strtok.S: Continue to return NULL after the first
5062         time this happened.
5064 2001-02-23  Andreas Jaeger  <aj@suse.de>
5066         * string/tester.c (test_strtok_r): Add testcase.
5067         (test_strtok_r): Always initialize cp for proper checking.
5069         * sysdeps/generic/strtok.c (strtok): Handle case of first strtok
5070         returning NULL correctly.
5071         Patch by Fumitoshi UKAI <ukai@debian.or.jp>.
5072         * sysdeps/generic/strtok_r.c (__strtok_r): Likewise.
5074 2001-02-23  Ulrich Drepper  <drepper@redhat.com>
5076         * sysdeps/unix/sysv/aix/bits/types.h: Define __need_NULL before
5077         including <stddef.h>.
5078         * sysdeps/unix/sysv/aix/write.c: Define alias __libc_write.
5079         * include/libc-symbols.h (weak_alias): Don't use .weak if
5080         HAVE_ASM_GLOBAL_DOT_NAME is defined.
5081         Patches by Michael Keezer <mkeezer@redhat.com>.
5083         * sysdeps/generic/ftime.c: Don't include <sys/time.h> at all.
5084         Patch by Michael Keezer <mkeezer@redhat.com>.
5086         * sysdeps/unix/sysv/aix/Dist: Remove restf.S and savef.S.
5087         * sysdeps/unix/sysv/aix/Makefile [$(subdir) == misc]
5088         (sysdep_routines): Remove restf.S and savef.S.
5089         * sysdeps/unix/sysv/aix/restf.S: Removed.
5090         * sysdeps/unix/sysv/aix/savef.S: Removed.
5091         * sysdeps/powerpc/fprrest.S: Use C_TEXT to define label.  Also define
5092         alternative names used on some platforms.
5093         * sysdeps/powerpc/fprsave.S: Likewise.
5094         * sysdeps/powerpc/gprrest0.S: Likewise.
5095         * sysdeps/powerpc/gprrest1.S: Likewise.
5096         * sysdeps/powerpc/gprsave0.S: Likewise.
5097         * sysdeps/powerpc/gprsave1.S: Likewise.
5098         Patch by Michael Keezer <mkeezer@redhat.com>.
5100 2001-02-22  Ulrich Drepper  <drepper@redhat.com>
5102         * sysdeps/i386/elf/start.S (_fp_hw): Actually define label.
5104 2001-02-22  Andreas Jaeger  <aj@suse.de>
5106         * string/tst-strtok.c (main): Fix error messages.
5108 2001-02-22  Andreas Jaeger  <aj@suse.de>
5110         * math/Makefile: Remove omit-long-double-fcts.
5112 2001-02-18  Maciej W. Rozycki  <macro@ds2.pg.gda.pl>
5114         * sysdeps/mips/bsd-_setjmp.S (_setjmp): Reorder instructions to
5115         avoid problems on MIPS I.
5116         * sysdeps/mips/bsd-setjmp.S (setjmp): Likewise.
5118         * sysdeps/mips/dl-machine.h (RTLD_START): Remove duplicate ".set
5119         noreorder".
5121 2001-02-21  Ulrich Drepper  <drepper@redhat.com>
5123         * posix/fnmatch_loop.c: Handle ranges outside glibc correctly.
5125         * sysdeps/generic/ftime.c: Include <time.h>.
5127         * configure.in: Don't check for libgd if user passed --without-gd.
5128         Patch by Achim Gottinger <achim@gentoo.org>.
5130         * sysdeps/i386/i686/strtok.S: Continue to return NULL after the
5131         first time this happened.
5132         * string/Makefile (tests): Add tst-strtok.
5134 2001-02-21  Andreas Jaeger  <aj@suse.de>
5136         * string/tst-strtok.c: New testcase, reported by
5137         Andrew Church <achurch@achurch.org>.
5139 2001-02-20  Ulrich Drepper  <drepper@redhat.com>
5141         * libio/iofwide.c: Remove fwide alias.
5143 2001-02-20  Andreas Jaeger  <aj@suse.de>
5145         * iconvdata/Makefile (tests): Only run mtrace-tst-loading if perl
5146         is available.
5147         Reported by Achim Gottinger <achim@gentoo.org>.
5149 2001-02-19  Ulrich Drepper  <drepper@redhat.com>
5151         * iconv/tst-iconv1.c (main): Remove debugging code.
5153         * sysdeps/ieee754/flt-32/e_powf.c: Handle x == +-1 correctly.
5154         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5156         * sysdeps/generic/e_scalb.c: Set invalid exception for invalid
5157         parameters.
5158         * sysdeps/generic/e_scalbf.c: Likewise.
5159         * sysdeps/generic/e_scalbl.c: Likewise.
5161         * sysdeps/ia64/fpu/Makefile (libm-sysdep-routines): Add libm_error,
5162         libm_frexp4, libm_frexp4f, libm_frexp4l, and all the functions also
5163         in libc.
5164         (routines): Replace libm_error with libc_libm_error.
5165         * sysdeps/ia64/fpu/Dist: Add libc_libm_error.c.
5166         * sysdeps/ia64/fpu/libc_libm_error.c: New file.
5168 2001-02-18  Mark Kettenis  <kettenis@gnu.org>
5170         * malloc/mtrace.c [USE_IN_LIBIO]: Define fopen as _IO_fopen64.
5171         (mtrace): Revert 2001-02-13 patch: use fopen instead of fopen64.
5173 2001-02-17  H.J. Lu  <hjl@gnu.org>
5175         * sysdeps/unix/sysv/linux/ia64/clone2.S: Use clone2 and don't use
5176         scratch registers across the system call.
5178 2001-02-19  Andreas Jaeger  <aj@suse.de>
5180         * malloc/Makefile (tests): Run mtrace only when perl is available.
5181         Reported by Achim Gottinger <achim@gentoo.org>.
5183 2001-02-19  Ulrich Drepper  <drepper@redhat.com>
5185         * sysdeps/ieee754/ldbl-96/e_j1l.c: New file.
5186         Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>.
5188         * sysdeps/i386/fpu/libm-test-ulps: Adjust error values for j1 and y1.
5189         * sysdeps/ia64/fpu/libm-test-ulps: Adjust error values for y1.
5190         * math/libm-test.inc (j1_test): Mark constants as long double.
5191         (jn_test): Likewise.
5192         (y1_test): Likewise.
5193         (yn_test): Likewise.
5195         * libio/iogetline.c: Move return until after last statement.
5197         * localedata/show-ucs-data.c: Don't show < > for better readability.
5199         * sysdeps/ia64/fpu/Dist: New file.
5200         * sysdeps/ia64/fpu/Makefile: New file.
5201         * sysdeps/ia64/fpu/Versions: New file.
5202         * sysdeps/ia64/fpu/e_acos.S: New file.
5203         * sysdeps/ia64/fpu/e_acosf.S: New file.
5204         * sysdeps/ia64/fpu/e_acosl.S: New file.
5205         * sysdeps/ia64/fpu/e_asin.S: New file.
5206         * sysdeps/ia64/fpu/e_asinf.S: New file.
5207         * sysdeps/ia64/fpu/e_asinl.S: New file.
5208         * sysdeps/ia64/fpu/e_atan2.S: New file.
5209         * sysdeps/ia64/fpu/e_atan2f.S: New file.
5210         * sysdeps/ia64/fpu/e_atan2l.c: New file.
5211         * sysdeps/ia64/fpu/e_cosh.S: New file.
5212         * sysdeps/ia64/fpu/e_coshf.S: New file.
5213         * sysdeps/ia64/fpu/e_coshl.S: New file.
5214         * sysdeps/ia64/fpu/e_exp.S: New file.
5215         * sysdeps/ia64/fpu/e_expf.S: New file.
5216         * sysdeps/ia64/fpu/e_expl.c: New file.
5217         * sysdeps/ia64/fpu/e_fmod.S: New file.
5218         * sysdeps/ia64/fpu/e_fmodf.S: New file.
5219         * sysdeps/ia64/fpu/e_fmodl.S: New file.
5220         * sysdeps/ia64/fpu/e_hypot.S: New file.
5221         * sysdeps/ia64/fpu/e_hypotf.S: New file.
5222         * sysdeps/ia64/fpu/e_hypotl.S: New file.
5223         * sysdeps/ia64/fpu/e_log.S: New file.
5224         * sysdeps/ia64/fpu/e_log10.c: New file.
5225         * sysdeps/ia64/fpu/e_log10f.c: New file.
5226         * sysdeps/ia64/fpu/e_log10l.c: New file.
5227         * sysdeps/ia64/fpu/e_logf.S: New file.
5228         * sysdeps/ia64/fpu/e_logl.c: New file.
5229         * sysdeps/ia64/fpu/e_pow.S: New file.
5230         * sysdeps/ia64/fpu/e_powf.S: New file.
5231         * sysdeps/ia64/fpu/e_powl.S: New file.
5232         * sysdeps/ia64/fpu/e_rem_pio2.c: New file.
5233         * sysdeps/ia64/fpu/e_rem_pio2f.c: New file.
5234         * sysdeps/ia64/fpu/e_remainder.S: New file.
5235         * sysdeps/ia64/fpu/e_remainderf.S: New file.
5236         * sysdeps/ia64/fpu/e_remainderl.S: New file.
5237         * sysdeps/ia64/fpu/e_scalb.S: New file.
5238         * sysdeps/ia64/fpu/e_scalbf.S: New file.
5239         * sysdeps/ia64/fpu/e_scalbl.S: New file.
5240         * sysdeps/ia64/fpu/e_sinh.S: New file.
5241         * sysdeps/ia64/fpu/e_sinhf.S: New file.
5242         * sysdeps/ia64/fpu/e_sinhl.S: New file.
5243         * sysdeps/ia64/fpu/e_sqrt.S: New file.
5244         * sysdeps/ia64/fpu/e_sqrtf.S: New file.
5245         * sysdeps/ia64/fpu/e_sqrtl.S: New file.
5246         * sysdeps/ia64/fpu/k_rem_pio2.c: New file.
5247         * sysdeps/ia64/fpu/k_rem_pio2f.c: New file.
5248         * sysdeps/ia64/fpu/k_rem_pio2l.c: New file.
5249         * sysdeps/ia64/fpu/libm_atan2_reg.S: New file.
5250         * sysdeps/ia64/fpu/libm_error.c: New file.
5251         * sysdeps/ia64/fpu/libm_frexp4.S: New file.
5252         * sysdeps/ia64/fpu/libm_frexp4f.S: New file.
5253         * sysdeps/ia64/fpu/libm_frexp4l.S: New file.
5254         * sysdeps/ia64/fpu/libm_reduce.S: New file.
5255         * sysdeps/ia64/fpu/libm_support.h: New file.
5256         * sysdeps/ia64/fpu/libm_tan.S: New file.
5257         * sysdeps/ia64/fpu/s_atan.S: New file.
5258         * sysdeps/ia64/fpu/s_atanf.S: New file.
5259         * sysdeps/ia64/fpu/s_atanl.S: New file.
5260         * sysdeps/ia64/fpu/s_cbrt.S: New file.
5261         * sysdeps/ia64/fpu/s_cbrtf.S: New file.
5262         * sysdeps/ia64/fpu/s_cbrtl.S: New file.
5263         * sysdeps/ia64/fpu/s_ceil.S: New file.
5264         * sysdeps/ia64/fpu/s_ceilf.S: New file.
5265         * sysdeps/ia64/fpu/s_ceill.S: New file.
5266         * sysdeps/ia64/fpu/s_cos.S: New file.
5267         * sysdeps/ia64/fpu/s_cosf.S: New file.
5268         * sysdeps/ia64/fpu/s_cosl.S: New file.
5269         * sysdeps/ia64/fpu/s_expm1.S: New file.
5270         * sysdeps/ia64/fpu/s_expm1f.S: New file.
5271         * sysdeps/ia64/fpu/s_expm1l.S: New file.
5272         * sysdeps/ia64/fpu/s_floor.S: New file.
5273         * sysdeps/ia64/fpu/s_floorf.S: New file.
5274         * sysdeps/ia64/fpu/s_floorl.S: New file.
5275         * sysdeps/ia64/fpu/s_frexp.c: New file.
5276         * sysdeps/ia64/fpu/s_frexpf.c: New file.
5277         * sysdeps/ia64/fpu/s_frexpl.c: New file.
5278         * sysdeps/ia64/fpu/s_ilogb.S: New file.
5279         * sysdeps/ia64/fpu/s_ilogbf.S: New file.
5280         * sysdeps/ia64/fpu/s_ilogbl.S: New file.
5281         * sysdeps/ia64/fpu/s_ldexp.S: New file.
5282         * sysdeps/ia64/fpu/s_ldexpf.S: New file.
5283         * sysdeps/ia64/fpu/s_ldexpl.S: New file.
5284         * sysdeps/ia64/fpu/s_log1p.S: New file.
5285         * sysdeps/ia64/fpu/s_log1pf.S: New file.
5286         * sysdeps/ia64/fpu/s_log1pl.S: New file.
5287         * sysdeps/ia64/fpu/s_logb.S: New file.
5288         * sysdeps/ia64/fpu/s_logbf.S: New file.
5289         * sysdeps/ia64/fpu/s_logbl.S: New file.
5290         * sysdeps/ia64/fpu/s_matherrf.c: New file.
5291         * sysdeps/ia64/fpu/s_matherrl.c: New file.
5292         * sysdeps/ia64/fpu/s_modf.S: New file.
5293         * sysdeps/ia64/fpu/s_modff.S: New file.
5294         * sysdeps/ia64/fpu/s_modfl.S: New file.
5295         * sysdeps/ia64/fpu/s_nearbyint.S: New file.
5296         * sysdeps/ia64/fpu/s_nearbyintf.S: New file.
5297         * sysdeps/ia64/fpu/s_nearbyintl.S: New file.
5298         * sysdeps/ia64/fpu/s_rint.S: New file.
5299         * sysdeps/ia64/fpu/s_rintf.S: New file.
5300         * sysdeps/ia64/fpu/s_rintl.S: New file.
5301         * sysdeps/ia64/fpu/s_round.S: New file.
5302         * sysdeps/ia64/fpu/s_roundf.S: New file.
5303         * sysdeps/ia64/fpu/s_roundl.S: New file.
5304         * sysdeps/ia64/fpu/s_scalbn.S: New file.
5305         * sysdeps/ia64/fpu/s_scalbnf.S: New file.
5306         * sysdeps/ia64/fpu/s_scalbnl.S: New file.
5307         * sysdeps/ia64/fpu/s_significand.S: New file.
5308         * sysdeps/ia64/fpu/s_significandf.S: New file.
5309         * sysdeps/ia64/fpu/s_significandl.S: New file.
5310         * sysdeps/ia64/fpu/s_sin.c: New file.
5311         * sysdeps/ia64/fpu/s_sincos.c: New file.
5312         * sysdeps/ia64/fpu/s_sincosf.c: New file.
5313         * sysdeps/ia64/fpu/s_sincosl.c: New file.
5314         * sysdeps/ia64/fpu/s_sinf.c: New file.
5315         * sysdeps/ia64/fpu/s_sinl.c: New file.
5316         * sysdeps/ia64/fpu/s_tan.S: New file.
5317         * sysdeps/ia64/fpu/s_tanf.S: New file.
5318         * sysdeps/ia64/fpu/s_tanl.S: New file.
5319         * sysdeps/ia64/fpu/s_trunc.S: New file.
5320         * sysdeps/ia64/fpu/s_truncf.S: New file.
5321         * sysdeps/ia64/fpu/s_truncl.S: New file.
5322         * sysdeps/ia64/fpu/w_acos.c: New file.
5323         * sysdeps/ia64/fpu/w_acosf.c: New file.
5324         * sysdeps/ia64/fpu/w_acosl.c: New file.
5325         * sysdeps/ia64/fpu/w_asin.c: New file.
5326         * sysdeps/ia64/fpu/w_asinf.c: New file.
5327         * sysdeps/ia64/fpu/w_asinl.c: New file.
5328         * sysdeps/ia64/fpu/w_atan2.c: New file.
5329         * sysdeps/ia64/fpu/w_atan2f.c: New file.
5330         * sysdeps/ia64/fpu/w_atan2l.c: New file.
5331         * sysdeps/ia64/fpu/w_cosh.c: New file.
5332         * sysdeps/ia64/fpu/w_coshf.c: New file.
5333         * sysdeps/ia64/fpu/w_coshl.c: New file.
5334         * sysdeps/ia64/fpu/w_exp.c: New file.
5335         * sysdeps/ia64/fpu/w_expf.c: New file.
5336         * sysdeps/ia64/fpu/w_fmod.c: New file.
5337         * sysdeps/ia64/fpu/w_fmodf.c: New file.
5338         * sysdeps/ia64/fpu/w_fmodl.c: New file.
5339         * sysdeps/ia64/fpu/w_hypot.c: New file.
5340         * sysdeps/ia64/fpu/w_hypotf.c: New file.
5341         * sysdeps/ia64/fpu/w_hypotl.c: New file.
5342         * sysdeps/ia64/fpu/w_log.c: New file.
5343         * sysdeps/ia64/fpu/w_log10.c: New file.
5344         * sysdeps/ia64/fpu/w_log10f.c: New file.
5345         * sysdeps/ia64/fpu/w_log10l.c: New file.
5346         * sysdeps/ia64/fpu/w_logf.c: New file.
5347         * sysdeps/ia64/fpu/w_logl.c: New file.
5348         * sysdeps/ia64/fpu/w_pow.c: New file.
5349         * sysdeps/ia64/fpu/w_powf.c: New file.
5350         * sysdeps/ia64/fpu/w_powl.c: New file.
5351         * sysdeps/ia64/fpu/w_remainder.c: New file.
5352         * sysdeps/ia64/fpu/w_remainderf.c: New file.
5353         * sysdeps/ia64/fpu/w_remainderl.c: New file.
5354         * sysdeps/ia64/fpu/w_scalb.c: New file.
5355         * sysdeps/ia64/fpu/w_scalbf.c: New file.
5356         * sysdeps/ia64/fpu/w_scalbl.c: New file.
5357         * sysdeps/ia64/fpu/w_sqrt.c: New file.
5358         * sysdeps/ia64/fpu/w_sqrtf.c: New file.
5359         * sysdeps/ia64/fpu/w_sqrtl.c: New file.
5360         * sysdeps/ia64/fpu/libm-test-ulps: Adjust for long double
5361         implementation.
5362         * sysdeps/ia64/fpu/bits/mathdef.h: Correct float_t and double_t types.
5363         Change FP_ILOGBNAN for new implementation.
5364         * Verions.def: Add 2.2.3 versions.
5366 2001-02-18  Ulrich Drepper  <drepper@redhat.com>
5368         * math/libm-test.inc (scalb_test): Require invalid exception being
5369         raised for invalid parameters.
5370         * sysdeps/i386/fpu/e_scalb.S: Raise invalid exception if necessary.
5371         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
5372         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
5374 2001-02-18  Mark Kettenis  <kettenis@gnu.org>
5376         * sysdeps/mach/getsysstats.c (__get_phys_pages): Change return
5377         value to long int.
5378         (__get_avphys_pages): Likewise.
5380 2001-02-18  Ulrich Drepper  <drepper@redhat.com>
5382         * math/libm-test.inc (pow_test): Correct expected results for x == +-1.
5383         * sysdeps/i386/fpu/e_pow.S: Handle x == +-1 correctly.
5384         * sysdeps/i386/fpu/e_powf.S: Likewise.
5385         * sysdeps/i386/fpu/e_powl.S: Likewise.
5387         * sysdeps/i386/fpu/bits/mathinline.h: Remove pow inline code.
5389 2001-02-17  Ulrich Drepper  <drepper@redhat.com>
5391         * math/Makefile (libm-calls): It's e_exp2 not s_exp2.
5393         * sysdeps/generic/s_exp2l.c: Renamed to...
5394         * sysdeps/generic/e_exp2l.c: ...this.   New file.
5395         * sysdeps/i386/fpu/s_exp2.S: Renamed to...
5396         * sysdeps/i386/fpu/e_exp2.S: ...this.   New file.
5397         * sysdeps/i386/fpu/s_exp2f.S: Renamed to...
5398         * sysdeps/i386/fpu/e_exp2f.S: ...this.   New file.
5399         * sysdeps/i386/fpu/s_exp2l.S: Renamed to...
5400         * sysdeps/i386/fpu/e_exp2l.S: ...this.   New file.
5401         * sysdeps/ieee754/flt-32/s_exp2f.c: Renamed to...
5402         * sysdeps/ieee754/flt-32/e_exp2f.c: ...this.   New file.
5403         * sysdeps/ieee754/dbl-64/s_exp2.c: Renamed to...
5404         * sysdeps/ieee754/dbl-64/e_exp2.c: ...this.   New file.
5405         * sysdeps/m68k/fpu/s_exp2.c: Renamed to...
5406         * sysdeps/m68k/fpu/e_exp2.c: ...this.   New file.
5407         * sysdeps/m68k/fpu/s_exp2f.c: Renamed to...
5408         * sysdeps/m68k/fpu/e_exp2f.c: ...this.   New file.
5409         * sysdeps/m68k/fpu/s_exp2l.c: Renamed to...
5410         * sysdeps/m68k/fpu/e_exp2l.c: ...this.   New file.
5412 2001-02-17  Andreas Jaeger  <aj@suse.de>
5414         * configure.in: Allow gcc 3.
5416 2001-02-16  Ulrich Drepper  <drepper@redhat.com>
5418         * math/w_acos.c: Move to ...
5419         * sysdeps/generic/w_acos.c: ...here.  New file.
5420         * math/w_acosf.c: Move to ...
5421         * sysdeps/generic/w_acosf.c: ...here.  New file.
5422         * math/w_acosh.c: Move to ...
5423         * sysdeps/generic/w_acosh.c: ...here.  New file.
5424         * math/w_acoshf.c: Move to ...
5425         * sysdeps/generic/w_acoshf.c: ...here.  New file.
5426         * math/w_acoshl.c: Move to ...
5427         * sysdeps/generic/w_acoshl.c: ...here.  New file.
5428         * math/w_acosl.c: Move to ...
5429         * sysdeps/generic/w_acosl.c: ...here.  New file.
5430         * math/w_asin.c: Move to ...
5431         * sysdeps/generic/w_asin.c: ...here.  New file.
5432         * math/w_asinf.c: Move to ...
5433         * sysdeps/generic/w_asinf.c: ...here.  New file.
5434         * math/w_asinl.c: Move to ...
5435         * sysdeps/generic/w_asinl.c: ...here.  New file.
5436         * math/w_atan2.c: Move to ...
5437         * sysdeps/generic/w_atan2.c: ...here.  New file.
5438         * math/w_atan2f.c: Move to ...
5439         * sysdeps/generic/w_atan2f.c: ...here.  New file.
5440         * math/w_atan2l.c: Move to ...
5441         * sysdeps/generic/w_atan2l.c: ...here.  New file.
5442         * math/w_atanh.c: Move to ...
5443         * sysdeps/generic/w_atanh.c: ...here.  New file.
5444         * math/w_atanhf.c: Move to ...
5445         * sysdeps/generic/w_atanhf.c: ...here.  New file.
5446         * math/w_atanhl.c: Move to ...
5447         * sysdeps/generic/w_atanhl.c: ...here.  New file.
5448         * math/w_cosh.c: Move to ...
5449         * sysdeps/generic/w_cosh.c: ...here.  New file.
5450         * math/w_coshf.c: Move to ...
5451         * sysdeps/generic/w_coshf.c: ...here.  New file.
5452         * math/w_coshl.c: Move to ...
5453         * sysdeps/generic/w_coshl.c: ...here.  New file.
5454         * math/w_drem.c: Move to ...
5455         * sysdeps/generic/w_drem.c: ...here.  New file.
5456         * math/w_dremf.c: Move to ...
5457         * sysdeps/generic/w_dremf.c: ...here.  New file.
5458         * math/w_dreml.c: Move to ...
5459         * sysdeps/generic/w_dreml.c: ...here.  New file.
5460         * math/w_exp10.c: Move to ...
5461         * sysdeps/generic/w_exp10.c: ...here.  New file.
5462         * math/w_exp10f.c: Move to ...
5463         * sysdeps/generic/w_exp10f.c: ...here.  New file.
5464         * math/w_exp10l.c: Move to ...
5465         * sysdeps/generic/w_exp10l.c: ...here.  New file.
5466         * math/w_exp2.c: Move to ...
5467         * sysdeps/generic/w_exp2.c: ...here.  New file.
5468         * math/w_exp2f.c: Move to ...
5469         * sysdeps/generic/w_exp2f.c: ...here.  New file.
5470         * math/w_exp2l.c: Move to ...
5471         * sysdeps/generic/w_exp2l.c: ...here.  New file.
5472         * math/w_fmod.c: Move to ...
5473         * sysdeps/generic/w_fmod.c: ...here.  New file.
5474         * math/w_fmodf.c: Move to ...
5475         * sysdeps/generic/w_fmodf.c: ...here.  New file.
5476         * math/w_fmodl.c: Move to ...
5477         * sysdeps/generic/w_fmodl.c: ...here.  New file.
5478         * math/w_hypot.c: Move to ...
5479         * sysdeps/generic/w_hypot.c: ...here.  New file.
5480         * math/w_hypotf.c: Move to ...
5481         * sysdeps/generic/w_hypotf.c: ...here.  New file.
5482         * math/w_hypotl.c: Move to ...
5483         * sysdeps/generic/w_hypotl.c: ...here.  New file.
5484         * math/w_j0.c: Move to ...
5485         * sysdeps/generic/w_j0.c: ...here.  New file.
5486         * math/w_j0f.c: Move to ...
5487         * sysdeps/generic/w_j0f.c: ...here.  New file.
5488         * math/w_j0l.c: Move to ...
5489         * sysdeps/generic/w_j0l.c: ...here.  New file.
5490         * math/w_j1.c: Move to ...
5491         * sysdeps/generic/w_j1.c: ...here.  New file.
5492         * math/w_j1f.c: Move to ...
5493         * sysdeps/generic/w_j1f.c: ...here.  New file.
5494         * math/w_j1l.c: Move to ...
5495         * sysdeps/generic/w_j1l.c: ...here.  New file.
5496         * math/w_jn.c: Move to ...
5497         * sysdeps/generic/w_jn.c: ...here.  New file.
5498         * math/w_jnf.c: Move to ...
5499         * sysdeps/generic/w_jnf.c: ...here.  New file.
5500         * math/w_jnl.c: Move to ...
5501         * sysdeps/generic/w_jnl.c: ...here.  New file.
5502         * math/w_lgamma.c: Move to ...
5503         * sysdeps/generic/w_lgamma.c: ...here.  New file.
5504         * math/w_lgammaf.c: Move to ...
5505         * sysdeps/generic/w_lgammaf.c: ...here.  New file.
5506         * math/w_lgammaf_r.c: Move to ...
5507         * sysdeps/generic/w_lgammaf_r.c: ...here.  New file.
5508         * math/w_lgammal.c: Move to ...
5509         * sysdeps/generic/w_lgammal.c: ...here.  New file.
5510         * math/w_lgammal_r.c: Move to ...
5511         * sysdeps/generic/w_lgammal_r.c: ...here.  New file.
5512         * math/w_lgamma_r.c: Move to ...
5513         * sysdeps/generic/w_lgamma_r.c: ...here.  New file.
5514         * math/w_log10.c: Move to ...
5515         * sysdeps/generic/w_log10.c: ...here.  New file.
5516         * math/w_log10f.c: Move to ...
5517         * sysdeps/generic/w_log10f.c: ...here.  New file.
5518         * math/w_log10l.c: Move to ...
5519         * sysdeps/generic/w_log10l.c: ...here.  New file.
5520         * math/w_log.c: Move to ...
5521         * sysdeps/generic/w_log.c: ...here.  New file.
5522         * math/w_logf.c: Move to ...
5523         * sysdeps/generic/w_logf.c: ...here.  New file.
5524         * math/w_logl.c: Move to ...
5525         * sysdeps/generic/w_logl.c: ...here.  New file.
5526         * math/w_pow.c: Move to ...
5527         * sysdeps/generic/w_pow.c: ...here.  New file.
5528         * math/w_powf.c: Move to ...
5529         * sysdeps/generic/w_powf.c: ...here.  New file.
5530         * math/w_powl.c: Move to ...
5531         * sysdeps/generic/w_powl.c: ...here.  New file.
5532         * math/w_remainder.c: Move to ...
5533         * sysdeps/generic/w_remainder.c: ...here.  New file.
5534         * math/w_remainderf.c: Move to ...
5535         * sysdeps/generic/w_remainderf.c: ...here.  New file.
5536         * math/w_remainderl.c: Move to ...
5537         * sysdeps/generic/w_remainderl.c: ...here.  New file.
5538         * math/w_scalb.c: Move to ...
5539         * sysdeps/generic/w_scalb.c: ...here.  New file.
5540         * math/w_scalbf.c: Move to ...
5541         * sysdeps/generic/w_scalbf.c: ...here.  New file.
5542         * math/w_scalbl.c: Move to ...
5543         * sysdeps/generic/w_scalbl.c: ...here.  New file.
5544         * math/w_sinh.c: Move to ...
5545         * sysdeps/generic/w_sinh.c: ...here.  New file.
5546         * math/w_sinhf.c: Move to ...
5547         * sysdeps/generic/w_sinhf.c: ...here.  New file.
5548         * math/w_sinhl.c: Move to ...
5549         * sysdeps/generic/w_sinhl.c: ...here.  New file.
5550         * math/w_sqrtl.c: Move to ...
5551         * sysdeps/generic/w_sqrtl.c: ...here.  New file.
5552         * math/w_tgamma.c: Move to ...
5553         * sysdeps/generic/w_tgamma.c: ...here.  New file.
5554         * math/w_tgammaf.c: Move to ...
5555         * sysdeps/generic/w_tgammaf.c: ...here.  New file.
5556         * math/w_tgammal.c: Move to ...
5557         * sysdeps/generic/w_tgammal.c: ...here.  New file.
5559         * locale/programs/ld-address.c (address_finish): Add 'S' to allow
5560         formats for postal_fmt.
5562 2001-02-16  Jakub Jelinek  <jakub@redhat.com>
5564         * sysdeps/unix/sysv/linux/alpha/syscalls.list (ftruncate): Add
5565         __ftruncate64 alias.
5566         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (ftruncate):
5567         Likewise.
5569 2001-02-15  David Mosberger  <davidm@hpl.hp.com>
5571         * sysdeps/unix/sysv/linux/ia64/__longjmp.S (__longjmp): No need to
5572         do "loadrs".  Writing to bspstore already takes care of
5573         invalidating the "clean" partition.
5575 2001-02-16  Andreas Schwab  <schwab@suse.de>
5577         * sysdeps/m68k/fpu/s_nextafterl.c: New file.
5578         * sysdeps/m68k/fpu/s_fpclassifyl.c: New file.
5580 2001-02-15  Jakub Jelinek  <jakub@redhat.com>
5582         * posix/regex.c (init_syntax_once): Add prototype.
5583         (TRANSLATE): If MBS_SUPPORT, translate all characters up to '\xff'.
5584         (re_search_2): Avoid warning.
5585         (count_mbs_length): Add prototype.
5586         * posix/tst-regex3.c: New file.
5587         * posix/Makefile (tests): Add bug-regex3.
5589 2001-02-15  Ulrich Drepper  <drepper@redhat.com>
5591         * stdio-common/Makefile (tests): Add tst-gets.
5592         * stdio-common/tst-gets.c: New file.
5593         * stdio-common/tst-gets.input: New file.
5595         * elf/elf.h (DT_CHECKSUM): Define.
5597         * sysdeps/generic/strtoll.c: Don't export __strto*_internal as
5598         default symbol.
5599         * sysdeps/generic/strtoull.c: Likewise.
5601 2001-02-14  Wolfram Gloger  <wg@malloc.de>
5603         * malloc/malloc.c (new_heap): When allocating large chunk aligned
5604         to HEAP_MAX_SIZE, prefer one with lower address, to avoid `holes'
5605         between the heaps.
5607 2001-02-14  Ulrich Drepper  <drepper@redhat.com>
5609         * math/libm-test.inc (j0_test): Check whether sincos is available.
5610         (j1_test): Likewise.
5611         (jn_test): Likewise.
5612         (y0_test): Likewise.
5613         (y1_test): Likewise.
5614         (yn_test): Likewise.
5616         * posix/tst-gnuglob.c: Make a few entries DT_UNKNOWN and teach
5617         fake filesystem routines to handle this.
5619         * time/sys/time.h: Make settimeofday and adjtime available if
5620         _BSD_SOURCE.
5622         * time/sys/time.h: Make timer* macros available for BSD.
5624         * iconvdata/gb18030.c: Update for Dec 2000 re-release of GB18030.
5625         Patch by Yong Li <rigel863@yahoo.com>.
5627         * sysdeps/generic/glob.c (CONVERT_DIRENT_DIRENT64): Fix copying of
5628         name.
5630         * posix/Makefile (tests): Add tst-gnuglob.
5631         * posix/tst-gnuglob.c: New file.
5633 2001-02-13  H.J. Lu  <hjl@gnu.org>
5635         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add __ftruncate64.
5637 2001-02-13  Ulrich Drepper  <drepper@redhat.com>
5639         * locale/programs/ld-paper.c (paper_output): Pretty printing.
5641         * iconvdata/Makefile (modules): Add GBBIG5.
5642         (distribute): Add gbbig5.c.
5643         * iconvdata/gconv-modules: Add entries for GBBIG5 module.
5645         * iconvdata/gbbig5.c: New file.
5646         Contributed by Yong Li <rigel863@yahoo.com>.
5648 2001-02-13  Philip Blundell  <pb@futuretv.com>
5650         * manual/crypt.texi: Remove outdated references to crypt add-on.
5652         * manual/creature.texi: Improve wording slightly.
5654 2001-02-13  Ulrich Drepper  <drepper@redhat.com>
5656         * io/ftw.c: Always use readdir64.
5657         * io/ftw64.c: Likewise.
5658         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
5659         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
5660         * sysdeps/generic/glob.c: Likewise.  Convert results of gl_readdir
5661         callback to dirent.  Still allow compiling outside glibc.
5662         * sysdeps/gnu/glob64.c: Define COMPILE_GLOB64.
5663         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
5665         * malloc/mtrace.c: Use fopen64.
5666         * posix/spawni.c: Use __open64.
5667         * sysdeps/unix/opendir.c: Likewise.
5668         * sysdeps/unix/sysv/linux/gethostid.c: Likewise.
5670         * sysdeps/generic/ftruncate64.c: Define __ftruncate64 and make old
5671         name a weak alias.
5672         * sysdeps/unix/sysv/aix/ftruncate64.c: Likewise.
5673         * sysdeps/unix/sysv/linux/ftruncate64.c: Likewise.
5674         * sysdeps/unix/sysv/linux/mips/ftruncate64.c: Likewise.
5675         * sysdeps/unix/sysv/linux/powerpc/ftruncate64.c: Likewise.
5677         * resolv/res_data.c: Add cast to avoid warning.
5679         * include/unistd.h: Declare __ftruncate64.
5681         * sysdeps/generic/utmp_file.c: Use LFS functions and types.
5683         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use __lseek64
5684         instead of __lseek.
5686 2001-02-13  Andreas Jaeger  <aj@suse.de>
5688         * login/getutent_r.c: Include <stdlib.h> for NULL.
5689         * login/getutid_r.c: Likewise.
5691 2001-02-12  Ulrich Drepper  <drepper@redhat.com>
5693         * sysdeps/dbl-64/e_j0.c: Little optimization, use sincos.
5694         * sysdeps/dbl-64/e_j1.c: Likewise.
5695         * sysdeps/dbl-64/e_jn.c: Likewise.
5696         * sysdeps/flt-32/e_j0f.c: Likewise.
5697         * sysdeps/flt-32/e_j1f.c: Likewise.
5698         * sysdeps/ldbl-96/e_j0l.c: Likewise.
5700 2000-12-02  H.J. Lu  <hjl@gnu.org>
5702         * resolv/res_libc.c (res_init): Don't make it default.
5704 2001-02-12  Ulrich Drepper  <drepper@redhat.com>
5706         * manual/debug.texi: Improved the wording.
5707         Patch by Philip Blundell <pb@futuretv.com>.
5709 2001-02-12  Andreas Jaeger  <aj@suse.de>
5711         * posix/Makefile (tests): Don't run bug-regex2 when
5712         cross-compiling.
5714         * libio/Makefile (tests): Don't run test-freopen when
5715         cross-compiling.
5717         * manual/stdio.texi (Streams and I18N): Fix typos.
5719 2001-02-12  Ulrich Drepper  <drepper@redhat.com>
5721         * sysdeps/i386/fpu/libm-test-ulps: Adjust for errors in y0l.
5723         * math/libm-test.inc (j0_test): Make expected results long double
5724         constants.
5725         (y0_test): Likewise.
5727         * sysdeps/ieee754/ldbl-96/e_j0l.c: New file.
5728         Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>.
5730 2001-02-11  Jakub Jelinek  <jakub@redhat.com>
5732         * sysdeps/generic/strtoll.c (__strtoq_internal): Ressurect alias
5733         which was exported from libc.
5734         * sysdeps/generic/strtoull.c (__strtouq_internal): Likewise.
5736 2001-02-12  Andreas Jaeger  <aj@suse.de>
5738         * manual/arith.texi (Parsing of Integers): Fix some wordings.
5740 2001-02-11  Ulrich Drepper  <drepper@redhat.com>
5742         * sysdeps/generic/getsysstat.c: Change return value of get_phys_pages
5743         and get_avphys_page to long int.
5744         * sysdeps/unix/sysv/linux/getsysstat.c: Likewise.
5745         * include/sys/sysinfo.h: Likewise.
5746         * sysdeps/generic/sys/sysinfo.h: Likewise.
5747         * sysdeps/unix/sysv/linux/sys/sysinfo.h: Likewise.
5749         * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Fail if we
5750         cannot return as many values as the user asked for.
5752 2001-02-11  Andreas Jaeger  <aj@suse.de>
5754         * manual/resource.texi (Memory Resources): Fix typo.
5756         * libio/Makefile ($(objpfx)test-freopen.out): Pass
5757         run-program-prefix.
5759         * libio/test-freopen.sh: Use run_program_prefix.
5761 2001-02-10  Andreas Jaeger  <aj@suse.de>
5763         * stdlib/Makefile (tests): Don't run tst-fmtmsg when
5764         cross-compiling.
5765         ($(objpfx)tst-fmtmsg.out): Pass run-program-prefix.
5767         * stdlib/tst-fmtmsg.sh (test): Use run_program_prefix for static
5768         only builds.
5770         * elf/Makefile (tests): Only run tst-pathopt with shared libs.
5772         * posix/Makefile: Fix typo, it's build-static-nss.
5774         * iconv/Makefile (extra-objs): New.
5776 2001-02-10  Mark Kettenis  <kettenis@gnu.org>
5778         * sysdeps/unix/stime.c: Include <time.h>.
5780         * sysdeps/mach/hurd/setitimer.c: Include <time.h>.
5782 2001-02-10  Andreas Jaeger  <aj@suse.de>
5784         * manual/string.texi (Search Functions): Fix typo.
5786 2001-02-10  Mark Kettenis  <kettenis@gnu.org>
5788         * sysdeps/unix/bsd/times.c: Reorder includes and add <time.h>.
5789         (timeval_to_clock_t): Add clk_tck argument and use that instead of
5790         CLK_TCK.
5791         (__times): Use __getclktck to get the number of clock ticks per
5792         second and use its return value instead of CLK_TCK.
5794 2001-02-10  Mark Kettenis  <kettenis@gnu.org>
5796         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h (_HAVE_SA_LEN): Define.
5798 2001-02-10  Mark Kettenis  <kettenis@gnu.org>
5800         * sysdeps/mach/gettimeofday.c: Include <stddef.h>.
5802 2001-02-10  Andreas Jaeger  <aj@suse.de>
5804         * wctype/wcfuncs.c (func): Add prototype declarations to avoid
5805         warning.
5807 2001-02-09  Ulrich Drepper  <drepper@redhat.com>
5809         * posix/Makefile: Add rules to build and run bug-regex2.
5810         * posix/bug-regex2.c: New file.
5812 2001-02-10  Jakub Jelinek  <jakub@redhat.com>
5814         * posix/regex.c (convert_mbs_to_wcs): Change is_binary to char *.
5815         (regex_compile): Likewise.
5816         (FREE_VARIABLES): Don't free is_binary1 and is_binary2.
5817         (re_match_2_internal): Use just is_binary instead of two variables.
5818         Use REGEX_TALLOC to allocate it and FREE_VAR to free on failure.
5820 2001-02-09  Ulrich Drepper  <drepper@redhat.com>
5822         * version.h (VERSION): Bump to 2.2.2.
5824         * iconv/Makefile (distribute): Add iconv_charmap.c and
5825         dummy-repertoire.c.
5826         * elf/Makefile (distribute): Add firstobj.c.
5827         * Makefile (distribute): Add include/pthread.h.
5829         * configure.in: Require makeinfo version 4.
5831         * libio/tst_wscanf.c (main): Add cast to avoid warning.
5832         * libio/tst_swscanf.c (main): Likewise..
5834 2001-02-09  Jakub Jelinek  <jakub@redhat.com>
5836         * sysdeps/generic/setenv.c (unsetenv): Remove const from len.
5837         * sysdeps/sparc/fpu/bits/mathinline.h (sqrt, fdim): Don't define if
5838         __NO_MATH_INLINES.
5839         * sysdeps/i386/dl-machine.h (elf_machine_rel): Only declare refsym
5840         if not RTLD_BOOTSTRAP.
5841         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
5842         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
5844 2001-02-09  Ulrich Drepper  <drepper@redhat.com>
5846         * locale/programs/linereader.c (get_ident): Stop loop if EOF.  Use
5847         lr_ungetc to push back last read character.
5848         * locale/programs/linereader.h (lr_ungetc): Don't push back is
5849         character is EOF.
5850         (lr_ignore_rest): Don't warn about garbage if it is really the end
5851         of the file.
5853         * manual/Makefile: Use ifnottext and not ifinfo to protect Top node
5854         definition.
5856 2001-02-08  Ulrich Drepper  <drepper@redhat.com>
5858         * Makerules (build-shlib): Work around different order of
5859         processing of -B option in different gcc versions.
5861         * posix/regex.c: Fix alignment problem.
5862         Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
5864         * sysdeps/alpha/strrchr.S: Little optimization.
5865         Patch by Richard Henderson <rth@redhat.com>.
5867         * sysdeps/alpha/alphaev67/strrchr.S: New file.
5868         Contributed by Rick Gorton <rick.gorton@alpha-processor.com>.
5870 2001-02-08  kaz Kojima  <kkojima@rr.iij4u.or.jp>
5872         * sysdeps/sh/sh3/setjmp.S (__sigsetjmp): Correct function name
5873         in the assembler end directive.
5875 2001-02-08  Andreas Jaeger  <aj@suse.de>
5877         * manual/stdio.texi (Closing Streams): Fix typos.
5879 2001-02-07  Ulrich Drepper  <drepper@redhat.com>
5881         * sysdeps/alpha/alphaev67/strncat.S: Align last write address.
5882         Patch by Richard Henderson <rth@redhat.com>.
5883         Reported by Claus-Justus Heine <heine@instmath.rwth-aachen.de>.
5885         * stdlib/strfmon.c [USE_IN_LIBIO]: Define lock variable and store
5886         pointer in FILE structure before calling _IO_init.
5887         * stdlib/Makefile: Add -D_IO_MTSAFE_IO to CFLAGS for strfmon and
5888         strfmon_l if necessary.
5889         Reported by Jury Gerold <gjury@grips.com>.
5891         * sysdeps/gnu/netinet/tcp.h: Correct values of TCP_ macros.
5892         Patch by Pekka.Pietikainen@cern.ch.
5894         * posix/regex.c: Correct several problems with 64-bit architectures
5895         introduced in the MBS changes.
5896         Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
5898 2001-02-07  Jakub Jelinek  <jakub@redhat.com>
5900         * math/tgmath.h: Only add l suffixes if __NO_LONG_DOUBLE_MATH is
5901         not defined.
5902         * sysdeps/alpha/fpu/bits/mathinline.h: Honour __NO_MATH_INLINES.
5904 2001-02-07  Andreas Jaeger  <aj@suse.de>
5906         * manual/install.texi (Tools for Compilation): Fix typo.
5907         Reported by Pavel Machek <pavel@bug.ucw.cz>.
5909 2001-02-07  Ulrich Drepper  <drepper@redhat.com>
5911         * stdlib/strtod.c: Never stop prematurely reading digits before the
5912         decimal point is found.  Compute exponent limit for negative exponents
5913         correctly.  For numbers ending in all zeros eat the zeros even before
5914         the decimal point if the exponent is negative [PR libc/2072].
5915         * stdlib/Makefile (tests): Add bug-strtod.
5916         * stdlib/bug-strtod.c: New file.
5918 2001-02-07  Andreas Jaeger  <aj@suse.de>
5920         * posix/bug-regex1.c: Include <wchar.h> for fwide.
5922 2001-02-06  Ulrich Drepper  <drepper@redhat.com>
5924         * posix/regex.c (regex_compile): Don't store pointer in wchar_t array.
5925         Store index.
5926         (compile_range): Handle index being passed, not pointer.
5927         Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
5929         * posix/regex.c: Fix a cast in the code for bracket handling which
5930         caused 8-bit uncleanliness.
5931         Patch by Michal Jaegermann <michal@ellpspace.math.ualberta.ca>.
5933         * posix/Makefile (tests): Add bug-regex1.
5934         * posix/bug-regex1.c: New file.
5935         Contributed by Jim Meyering <jim@meyering.net>.
5937         * posix/regex.c: Many cleanups for incorrect format strings.
5939 2001-02-06  Andreas Jaeger  <aj@suse.de>
5941         * time/time.h (CLK_TCK): Check for !__STRICT_ANSI.
5943 2001-02-06  Ulrich Drepper  <drepper@redhat.com>
5945         * locale/programs/locale.c (write_locales): Use scandir to read
5946         directory so that the entries are sorted.
5948 2001-02-06  Andreas Jaeger  <aj@suse.de>
5950         * include/pthread.h: New file.
5952         * wctype/wctype.h: Move internal interfaces from here to...
5953         * include/wctype.h: ...here.
5955         * wcsmbs/wchar.h: Move __wcslen from here to...
5956         * include/wchar.h: ...here.
5958         * posix/sys/wait.h: Move __wait from here to...
5959         * include/sys/wait.h: ...here.
5961         * string/string.h: Move __ffs and __strerror_r from here to...
5962         * include/string.h: ...here.
5964         * stdlib/stdlib.h: Move __on_exit from here to...
5965         * include/stdlib.h: ...here.
5967         * libio/stdio.h: Move __vsnprintf from here to...
5968         * include/stdio.h: ...here.
5970 2001-02-06  Andreas Schwab  <schwab@suse.de>
5972         * sysdeps/unix/sysv/linux/ia64/ioperm.c: Don't include kernel
5973         headers.
5975         * timezone/Makefile: Don't assume that $(inst_zonedir) is a subdir
5976         of $(inst_datadir).
5978 2001-02-06  Ulrich Drepper  <drepper@redhat.com>
5980         * iconvdata/Makefile: Add dependency for bug-iconv2.out.
5982 2001-02-06  Andreas Jaeger  <aj@suse.de>
5984         * elf/firstobj.c: Add prototype.
5986         * posix/regex.c (convert_mbs_to_wcs): Make static, add prototype
5987         (truncate_wchar): Likewise.
5989 2001-02-06  Ulrich Drepper  <drepper@redhat.com>
5991         * locale/programs/locale.c: Implement --verbose option for -a
5992         which prints detailed information about the locales.
5994 2001-02-05  Ulrich Drepper  <drepper@redhat.com>
5996         * sunrpc/xdr_rec.c (set_input_fragment): Change type of header
5997         variable to uint32_t.
5998         Reported by Ulrich Weigand <weigand@immd1.informatik.uni-erlangen.de>.
6000 2001-02-04  Bruno Haible  <haible@clisp.cons.org>
6002         * locale/C-translit.h.in: Add transliterations for CJK units of
6003         measurement.
6005 2001-02-05  Ulrich Drepper  <drepper@redhat.com>
6007         * elf/cache.c (print_entry): Use PRIx64 instead of Lx in printf
6008         string.  Include <inttypes.h> instead of <stdint.h>.
6010         * localedata/Makefile (tests): Add bug-iconv-trans.
6011         Define bug-iconv-trans-ENV.
6012         * localedata/bug-iconv-trans.c: New file.
6014 2001-02-04  Bruno Haible  <haible@clisp.cons.org>
6016         * iconv/gconv_trans.c (__gconv_transliterate): Use a temporary output
6017         pointer, to avoid accumulating output from incomplete (unsuccessful)
6018         transliteration attempts.
6020 2001-02-05  Ulrich Drepper  <drepper@redhat.com>
6022         * elf/ldconfig.c (search_dir): Use PRIx64 instead of Lx in printf
6023         string.  Include <inttypes.h> instead of <stdint.h>.
6025         * configure.in: Add check for bison.
6026         * config.make.in: Define BISON variable.
6027         * intl/Makefile: Use BISON instead of YACC when generating plural.c.
6028         Rename YFLAGS to BISONFLAGS.
6030 2001-02-05  Andreas Jaeger  <aj@suse.de>
6032         * io/test-lfs.c (do_test): Test lseek64 return value, call
6033         test_ftello.
6034         (test_ftello): New function to test ftello64 and fseeko64.
6036         * signal/signal.h: Move __sigaction from here to...
6037         * include/signal.h: ...here.
6039         * io/fcntl.h: Move __fcntl and __open to...
6040         * include/fcntl.h: ...here.
6042 2001-02-04  Philip Blundell  <philb@gnu.org>
6044         * configure.in: Distinguish ARM from Thumb.
6046 2001-02-04  Philip Blundell  <philb@gnu.org>
6048         * sysdeps/arm/dl-machine.h (elf_machine_rel): Correct handling of
6049         PC24 relocs with negative value.
6051 2001-02-04  Ulrich Drepper  <drepper@redhat.com>
6053         * iconv/Makefile (iconv_prog-modules): Define.  Add vpath to find
6054         files in locale/programs.  Add CFLAGS definition to allow compiling
6055         localedef files.
6056         * iconv/dummy-repertoire.c: New file.
6057         * iconv/iconv_charmap.c: New file.
6058         * iconv/iconv_prog.h: New file.
6059         * iconv/iconv_prog.c: Make verbose and omit_invalid global.
6060         (main): If parameter for -f and -t contain slashes try first to resolve
6061         the strings as filenames of charmap files.  Use them for conversion
6062         in this case.
6063         * iconvdata/run-iconv-test.sh: If charmaps exist also run tests with
6064         iconv getting charmap names as parameters.
6065         * locale/programs/linereader.c (lr_token): Take extra parameters
6066         verbose and pass it to get_string.
6067         (get_string): Take extra parameters verbose.
6068         * locale/programs/charmap.c (parse_charmap): Take extra parameters
6069         verbose and be_quiet.  Change all callers of lr_token and
6070         parse_charmap.
6071         * locale/programs/charmap.h: Likewise.
6072         * locale/programs/ld-address.c: Likewise.
6073         * locale/programs/ld-collate.c: Likewise.
6074         * locale/programs/ld-ctype.c: Likewise.
6075         * locale/programs/ld-identification.c: Likewise.
6076         * locale/programs/ld-measurement.c: Likewise.
6077         * locale/programs/ld-messages.c: Likewise.
6078         * locale/programs/ld-monetary.c: Likewise.
6079         * locale/programs/ld-name.c: Likewise.
6080         * locale/programs/ld-numeric.c: Likewise.
6081         * locale/programs/ld-paper.c: Likewise.
6082         * locale/programs/ld-telephone.c: Likewise.
6083         * locale/programs/ld-time.c: Likewise.
6084         * locale/programs/linereader.c: Likewise.
6085         * locale/programs/linereader.h: Likewise.
6086         * locale/programs/localedef.c: Likewise.
6087         * locale/programs/locfile.c: Likewise.
6088         * locale/programs/locfile.h: Likewise.
6089         * locale/programs/repertoire.c: Likewise.
6091 2001-02-03  Ulrich Drepper  <drepper@redhat.com>
6093         * iconv/iconv_prog.c (main): If output file name is "-" write to
6094         stdout.
6095         (main): If -f or -t argument is missing use charset of the current
6096         locale.
6098 2001-02-03  Andreas Jaeger  <aj@suse.de>
6100         * sysdeps/i386/elf/start.S (_start): Align stack to 16-byte
6101         boundary for SSE/SSE-2 alignment.
6103         * posix/Makefile ($(objpfx)annexc.out): Also pass sysincludes to
6104         annexc.
6106 2001-02-03  Ulrich Drepper  <drepper@redhat.com>
6108         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: File was using crlf.
6109         Remove comma at end of enum.
6111         * elf/dl-init.c: Add a few __builtin_expect.
6113         * hesiod/hesiod.c: Remove unnecessary code.  Remove all uses of strcat.
6115 2001-02-02  Ulrich Drepper  <drepper@redhat.com>
6117         * hesiod/hesiod.c (hesiod_resolve): Also search HS records if
6118         errno is ECONNREFUSED.
6120         * posix/Makefile: Define MBS_SUPPORT for regex.c.
6121         * posix/regex.c: Implement multibyte character handling.
6122         Patch by Isamu Hasegawa <isamu@yamato.ibm.co.jp>.
6124         * string/tst-svc.input: Add two more test cases.
6125         * string/tst-svc.expect: Modify to reflect new test cases.
6127 2001-02-01  Jakub Jelinek  <jakub@redhat.com>
6129         * sysdeps/posix/getaddrinfo.c (gaih_local, gaih_inet): Replace all
6130         tp->name tests with tp->name[0] tests.
6132 2001-01-29  Ben Collins  <bcollins@debian.org>
6134         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r):
6135         Fix check for name == NULL.
6137 2001-02-01  Ulrich Drepper  <drepper@redhat.com>
6139         * elf/Makefile: Add rules to build and run initfirst test.
6140         * elf/initfirst.c: New file.
6141         * elf/firstobj.c: New file.
6143         * Makerules (build-shlib): Add $(extra-B-$(@F:lib%.so=%).so).
6144         * configure.in: Test for -z initfirst linker option.
6145         * config.make.in: Add have-z-initfirst.
6146         * elf/dl-init.c (_dl_init): Split out actual initialization code in
6147         new function call_init.  If _dl_initfirst is non-NULL initialize first.
6148         * elf/dl-load.c (_dl_map_from_fd): If DF_1_INITFIRST flag is set
6149         remember object in _dl_initfirst.
6150         * elf/soinit.c: Remove special support for calling
6151         __pthread_initialize_minimal.
6153         * conform/conformtest.pl: Add missing $prepend in type test.
6155 2001-01-31  Ulrich Drepper  <drepper@redhat.com>
6157         * elf/elf.h (SHT_CHECKSUM): New definition.
6159         * posix/fnmatch_loop.c: Remove incorrect reverse condition in
6160         [. .] matching.  Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
6161         * posix/tst-fnmatch.input: Add tests for [. .] in locales.
6163 2001-01-31  Mark Kettenis  <kettenis@gnu.org>
6165         * misc/sys/select.h: Include <bits/time.h> instead of <sys/time.h>
6166         to get definition of `struct timeval'.
6168 2001-01-31  Ulrich Drepper  <drepper@redhat.com>
6170         * posix/tst-fnmatch.input: Add test cases for de_DE.UTF-8 locale.
6171         * posix/fnmatch_loop.c: Fix handling of [= =] for multibyte charsets.
6173 2001-01-30  Ulrich Drepper  <drepper@redhat.com>
6175         * iconv/gconv_open.c (__gconv_open): Set conv_flags if IGNORE is
6176         seen, not flags.
6178         * nis/nis_findserv.c: Include <time.h>.
6180 2001-01-30  Yong Li  <yong.li@asu.edu>
6182         * iconv/iconv_prog.c (main): Correct error handling method name.
6184 2001-01-29  Ben Collins  <bcollins@debian.org>
6186         * sysdeps/sparc/fpu/fraiseexcpt.c: Include <float.h>.
6187         * sysdeps/hppa/fpu/fraiseexcpt.c: Likewise.
6188         * sysdeps/m68k/fpu/fraiseexcpt.c: Likewise.
6189         * sysdeps/s390/fpu/fraiseexcpt.c: Likewise.
6191 2001-01-30  Ulrich Drepper  <drepper@redhat.com>
6193         * locale/programs/ld-measurement.c (measurement_finish): Fix a typo.
6194         Patch by Marko Myllynen <myllynen@lut.fi>.
6196         * string/bits/string2.h (__strpbrk_c2): Correct parameter types
6197         (int instead of char).
6198         (__strpbrk_c3): Likewise.
6199         Reported by GOTO Masanori <gotom@debian.or.jp>.
6201         * sysdeps/generic/bits/sockaddr.h: Remove SA_LEN macro.
6202         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Likewise.
6203         * include/sys/socket.h: Add SA_LEN here for internal use.
6204         Reported by Arkadiusz Miskiewicz <misiek@pld.ORG.PL>.
6206 2001-01-29  Ulrich Drepper  <drepper@redhat.com>
6208         * malloc/Makefile: Don't build memusagestat if cross-compiling.
6210         * sysdeps/generic/dl-sysdep.c (set_seen): Fix typo.
6212         * math/libm-test.inc (rint_test): Add a few more tests for round
6213         to even rounding.
6215 2001-01-28  Ulrich Drepper  <drepper@redhat.com>
6217         * conform/data/pthread.h-data: Correct return type of pthread_exit.
6219         * conform/conformtest.pl: Add -fno-builtin to CFLAGS.
6221         * conform/data/stdlib.h-data: Add _Exit.
6223         * inet/arpa/inet.h: Don't include <sys/types.h>.  Define socklen_t
6224         if not already happened.
6225         * inet/netinet/in.h: Don't include <sys/types.h>, use <bits/types.h>.
6226         Don't include <limits.h> and <bits/sockaddr.h>.
6228         * conform/data/netinet/in.h-data: Allow all of <inttypes.h>.
6230         * conform/data/spawn.h-data: Allow all of <sched.h>.
6232         * sysdeps/ia64/fpu/fraiseexcpt.c: Include <float.h>.  Removed
6233         unused variable.
6235         * sunrpc/xdr_rec.c (xdrrec_getpos): Add cast to long to avoid warning.
6236         * sunrpc/xdr_sizeof.c (x_inline): Likewise.
6238         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Include <float.h>.
6240         * conform/conformtest.pl: Define $mustprepend{"stdio.h"}.
6241         * libio/stdio.h: Define va_list correctly.
6243         * conform/data/pthread.h-data: Make priority protocol related
6244         functions optional.  Fix typos.
6246         * posix/sched.h: Define sched_priority as __sched_priority.
6247         * sysdeps/generic/bits/sched.h (struct sched_param): Rename element
6248         to __sched_priority.
6249         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
6251 2001-01-27  Ulrich Drepper  <drepper@redhat.com>
6253         * sysdeps/generic/clock_getcpuclockid.c: Include <time.h> instead
6254         of <sys/time.h>.
6256         * sysdeps/unix/stime.c: Include <stddef.h> for NULL.
6257         * sysdeps/unix/time.c: Likewise.
6259         * conform/data/time.h-data: CLK_TCK is not in XPG6.  Fix tzname entry.
6260         * sysdeps/mach/hurd/bits/time.h: Don't define CLK_TCK for XPG6.
6261         * sysdeps/mach/hurd/i386/bits/time.h: Likewise.
6262         * sysdeps/unix/sysv/linux/bits/time.h: Likewise.
6263         * sysdeps/unix/sysv/linux/alpha/bits/time.h: Likewise.
6264         * sysdeps/unix/sysv/linux/i386/bits/time.h: Likewise.
6265         * sysdeps/unix/sysv/linux/ia64/bits/time.h: Likewise.
6266         * time/time.h: Likewise.
6268         * conform/conformtest.pl (@headers): Add complex.h and tgmath.h.
6269         * conform/data/complex.h-data: New file.
6270         * conform/data/tgmath.h-data: New file.
6272         * conform/data/wchar.h-data: Add missing functions.
6274         * sysdeps/gnu/bits/utmpx.h: Define RUN_LVL only if __USE_GNU.
6276         * conform/data/termios.h-data: Add missing const in tcsetattr()
6277         prototype.
6279         * posix/sys/wait.h: Include <signal.h> and <sys/resource.h>.
6280         Don't define pid_t here.
6282         * conform/data/sys/utsname.h-data: Don't provide fixed array sizes.
6284         * conform/data/sys/time.h-data: Allow sys/select.h.
6285         * conform/data/sys/un.h-data: Fix typo.
6286         * time/sys/time.h: Don't include all of <time.h>, just struct timeval.
6287         * sysdeps/posix/clock_getres.c: Include <time.h> instead of
6288         <sys/time.h>.
6289         * sysdeps/unix/clock_nanosleep.c: Likewise.
6290         * sysdeps/unix/i386/clock_getcpuclockid.c: Likewise.
6291         * sysdeps/unix/i386/i586/clock_getres.c: Likewise.
6292         * sysdeps/unix/clock_gettime.c: Also include <time.h>.
6293         * sysdeps/unix/clock_settime.c: Likewise.
6295         * sysdeps/generic/pselect.c: Include <stddef.h> for NULL.
6296         * login/getutent.c: Likewise.
6297         * login/getutid.c: Likewise.
6298         * login/getutline.c: Likewise.
6300         * socket/sys/un.h: Define SUN_LEN only if __USE_MISC.
6302         * sysdeps/unix/sysv/linux/bits/statvfs.h: Change type of f_fsid field
6303         to unsigned long.  Add __f_unused.  Define _STATVFSBUF_F_UNUSED.
6304         * sysdeps/unix/sysv/linux/internal_statvfs.c: Adjust initialization of
6305         f_fsid field after change in struct statvfs.
6306         * sysdeps/unix/sysv/linux/alpha/bits/statvfs.h: New file.
6307         * sysdeps/unix/sysv/linux/ia64/bits/statvfs.h: New file.
6308         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/statvfs.h: New file.
6310         * conform/data/sys/stat.h-data: Remove isfdtype.  Use
6311         optional-macro.
6313         * conform/data/sys/socket.h-data: Fix typos.  Correct getsockopt,
6314         recvfrom, send, and socketpair prototypes.  Add allow lines.
6315         * socket/sys/socket.h: Include <sys/uio.h>.
6316         Don't use fancy __SOCKADDR_ARG definition unless __USE_GNU.
6317         Fix type of second parameter of listen.
6318         Don't declare isfdtype unless __USE_MISC.
6319         * sysdeps/generic/listen.c: Fix type of second parameter of listen.
6320         * sysdeps/mach/hurd/listen.c: Likewise.
6321         * sysdeps/generic/bits/socket.h (struct sockaddr_storage): Define
6322         ss_family and __ss_family.
6323         * sysdeps/unix/sysv/aix/bits/socket.h: Likewise.
6324         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
6325         (struct msghdr): Change type of msg_iovlen to int and type of
6326         msg_controllen to socklen_t.
6327         * sysdeps/unix/sysv/linux/alpha/bits/socket.h: New file.
6328         * sysdeps/unix/sysv/linux/ia64/bits/socket.h: New file.
6329         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/socket.h: New file.
6330         * inet/rcmd.c (rcmd_af): __ss_family is now ss_family.
6331         (rresvport_af): Likewise.
6333         * conform/data/sys/shm.h-data: SHMLBA is not required to by a constant.
6334         * conform/conformtest.pl: Implement handling of symbol.
6336         * signal/signal.h: Fix handling of __need_* symbols.
6337         * misc/sys/select.c: Define fd_set here.  Remove __fd_set.  Define
6338         fd_mask only if __USE_MISC.  Declare pselect for __USE_XOPEN2K.
6339         * include/sys/select.h: Use fd_set not __fd_set.
6340         * sysdeps/generic/bits/select.h: Likewise.
6341         * sysdeps/i386/bits/select.h: Likewise.
6342         * sysdeps/generic/bits/types.h: Don't define __fd_mask, __NFDBITS,
6343         __FDELT, __FDMASK, and __fd_set here.
6344         * sysdeps/unix/sysv/aix/bits/types.h: Likewise.
6345         * sysdeps/unix/sysv/hpux/bits/types.h: Likewise.
6346         * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
6347         * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
6348         * sysdeps/unix/sysv/linux/ia64/bits/types.h: Likewise.
6349         * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
6350         * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
6351         * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
6352         * time/sys/time.h: Define struct timeval before including <time.h>
6353         and <sys/select.h>.
6355         * conform/data/sys/time.h-data: fd_set is a typedef.
6356         * conform/data/sys/select.h-data: New file.
6357         * conform/data/sys/mman.h-data: Make typed mem stuff optional.
6358         * conform/conformtest.pl (@headers): Add sys/select.h.
6359         (type, optional-type): Unless testing a typedef instantiate object.
6360         Implement optional-function.
6362         * math/test-misc.c: Include <float.h>.
6364 2001-01-27  Andreas Jaeger  <aj@suse.de>
6366         * misc/efgcvt_r.c: Include <float.h>.
6368 2001-01-26  Ulrich Drepper  <drepper@redhat.com>
6370         * conform/data/stdlib.h-data: Account for XPG6 changes.
6371         * stdlib/stdlib.h (__random): Change return value type to long.
6372         (posix_memalign): Cleanup parameter names.
6373         (setenv, unsetenv): Make available for __USE_XOPEN2K.
6374         Change return type of unsetenv to int.
6375         (qecvt, qgcvt, qfcvt): Declare only if __USE_MISC.
6376         * include/stdlib.h: Change return type of unsetenv to int.
6377         Change return type of random to long int.
6378         * sysdeps/generic/setenv.c (unsetenv): Change return type to int.
6379         Return -1 and set errno if parameter is invalid.
6380         * stdlib/random.c (__random): Change return value type to long.
6382         * conform/data/stdio.h-data: Account for changes in XPG6.
6384         * conform/data/spawn.h-data: Correct posix_spawnattr_setflags
6385         prototype.
6387         * conform/conformtest.pl: Define $mustprepend{"signal.h"}.
6388         * conform/data/signal.h-data: Fix sigev_notify_function entry.
6389         Fix typo (SIGVALRM -> SIGVTALRM).
6390         * sysdeps/unix/sysv/linux/bits/siginfo.h: Define sigev_notify_attr
6391         with real type.
6392         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Likewise.
6393         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
6394         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Likewise.
6395         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
6396         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/siginfo.h: Likewise.
6398         * conform/conformtest.pl: Implement optional-element.  Define
6399         $mustprepend{"sched.h"}.
6400         * conform/data/sched.h-data: Make sporadic scheduler definitions
6401         optional.
6403         * pwd/pwd.h: Don't define getpwent_r for XPG.
6405         * io/sys/poll.h: Define nfds_t and use it in poll prototype.
6406         * sysdeps/generic/poll.c: Use nfds_t type in function definition.
6407         * sysdeps/mach/hurd/poll.c: Likewise.
6408         * sysdeps/unix/bsd/poll.c: Likewise.
6409         * sysdeps/unix/sysv/linux/poll.c: Likewise.
6410         * sysdeps/unix/sysv/aix/poll.c: Likewise.
6411         * sysdeps/generic/bits/poll.h: Define NPOLLFILE only if __USE_MISC.
6412         * sysdeps/unix/sysv/linux/bits/poll.h: Likewise.
6413         * sysdeps/unix/sysv/linux/m68k/bits/poll.h: Likewise.
6414         * sysdeps/unix/sysv/linux/mips/bits/poll.h: Likewise.
6415         * sysdeps/unix/sysv/linux/sparc/bits/poll.h: Likewise.
6416         * conform/data/poll.h-data: Fix typo in poll prototype.
6418         * sysdeps/gnu/netinet/tcp.h: Define everything but TCP_ macros
6419         only if __USE_MISC.
6420         * conform/data/netinet/tcp.h-data: Reserved prefix TCP_.
6422         * sysdeps/gnu/net/if.h: Cleanup namespace.  Define IF_NAMESIZE.
6424         * inet/netinet/in.h: Make IPPROTO_ constants also macros.
6426         * conform/conformtest.pl: Implement optional-type.
6428         * resolv/netdb.h: Include <netinet/in.h> not <sys/socket.h>.  Include
6429         <rpc/netdb.h> only if __USE_MISC.  Include <stdint.h> instead of
6430         defining uint32_t here.  Define IPPORT_RESERVED.
6431         (struct hostent): Type of h_length element is int.
6432         (getnameinfo): Type of flags parameter is unsigned int.
6433         * inet/getnameinfo.c (getnameinfo): flags argument is unsigned.
6434         * conform/data/netdb.h-data: Add many missing definitions.
6436         * conform/conformtest.pl: Implement optional-macro.
6437         * conform/data/math.h-data: Update for XPG6.
6439         * math/math.h (HUGE): Define as FLT_MAX value but don't use
6440         FLT_MAX.  Don't include <float.h>.
6441         (MAXFLOAT): Likewise.
6443         * math/math.h: Define MATH_ERRNO and MATH_ERREXCEPT.
6445         * include/bits/xopen_lim.h: Don't define FOPEN_MAX here.
6447         * conform/data/limits.h-data: Mark constants as optional wherever
6448         appropriate.
6450         * posix/bits/posix2_lim.h: Set correct values for
6451         _POSIX2_COLL_WEIGHTS_MAX and _POSIX2_CHARCLASS_NAME_MAX.  Remove
6452         EQUIV_CLASS_MAX.
6454         * posix/bits/posix1_lim.h: Define _POSIX_TZNAME_MAX as 6.
6455         Required by POSIX.
6457         * intl/loadmsgcat.c: Include <locale.h.> for _LIBC.
6459         * conform/data/netinet/in.h-data: Add reserved prefixes.
6461         * conform/data/arpa/inet.h-data: Fix a few typos.
6463 2001-01-26  Andreas Jaeger  <aj@suse.de>
6465         * sysdeps/generic/strtol.c: Include <locale.h>
6466         * stdlib/strtod.c: Likewise
6467         * stdlib/strfmon.c: Likewise.
6468         * string/strcoll.c: Likewise.
6469         * string/strxfrm.c: Likewise.
6470         * wctype/wcfuncs_l.c: Likewise.
6471         * wctype/wctype_l.c: Likewise.
6472         * wctype/wctrans_l.c: Likewise.
6474         * include/bits/locale.h: New file.
6476 2001-01-26  Ulrich Drepper  <drepper@redhat.com>
6478         * locale/langinfo.h: Correct logic in #ifs when defining YESSTR
6479         and NOSTR.
6481         * locale/Makefile (headers): Add bits/locale.h.
6482         * locale/langinfo.h: Don't include <locale.h>.  Include <bits/locale.h>
6483         and use __LC_ constants instead of LC_.
6484         * locale/locale.h: Include <bits/locale.h> and define LC_ constants
6485         using __LC_ constants.
6486         * locale/bits/locale.h: New file.
6487         * locale/loadlocale.c: Include <locale.h>.
6488         * locale/nl_langinfo.h: Likewise.
6490         * posix/glob.h: Cleanup namespace for non-_GNU_SOURCE case.
6492         * io/sys/stat.h: Define S_IFSOCK for XPG6.
6494         * conform/data/fcntl.h-data: posix_madvise is not expected here.
6496         * conform/conformtest.pl: Fix handling of macro-str.
6498         * conform/data/inttypes.h-data: Add missing definition and all of
6499         stdint.h-data.
6501         * sysdeps/unix/sysv/linux/sys/param.h (MAXSYMLINKS): Bump to 20.
6503 2001-01-25  Ulrich Drepper  <drepper@redhat.com>
6505         * conform/conformtest.pl (@headers): Add stdint.h.
6506         * conform/data/stdint.h-data: New file.
6508         * conform/conformtest.pl: Recognize options --headers and
6509         --dialect.  Add dialect-specific CFLAGS.
6511         * conform/conformtest.pl: Implement handling of recursive
6512         allow-header.
6514         * conform/data/locale.h-data: Add new struct lconv members.
6516         * posix/wordexp.h: Correct definition of wordexp_t.
6517         * posix/wordexp.c: Moved to ...
6518         * sysdeps/generic/wordexp.c: ...here.  New file.
6519         * sysdeps/unix/sysv/linux/alpha/wordexp.c: New file.
6520         * sysdeps/unix/sysv/linux/ia64/wordexp.c: New file.
6521         * sysdeps/unix/sysv/linux/sparc/sparc64/wordexp.c: New file.
6522         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.2.2): Add
6523         wordexp.
6524         * sysdeps/unix/sysv/linux/ia64/Versions: Likewise.
6525         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions: Likewise.
6527         * math/tgmath.h: Pretty printing.
6529         * math/Makefile (tests): Add test-tgmath.
6530         (CFLAGS-test-tgmath.c): New variable.
6531         * math/test-tgmath.c: New file.  Contributed by Jakub Jelinek.
6533         * conform/conformtest.pl: Handle allow-header in secondary headers
6534         correctly.
6536         * conform/data/fcntl.h-data: Mark symbols introduced in XPG6 with
6537         #ifdef.
6539         * conform/data/netinet/in.h-data: Use correct comment character.
6540         * conform/data/sys/stat.h-data: Likewise.
6542 2001-01-25  Jakub Jelinek  <jakub@redhat.com>
6544         * math/tgmath.h (__TGMATH_BINARY_FIRST_REAL_ONLY,
6545         __TGMATH_BINARY_REAL_ONLY, __TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY,
6546         __TGMATH_TERNARY_REAL_ONLY): Use proper arguments to
6547         __builtin_classify_type, add ##f suffixes where appropriate.
6548         (__TGMATH_UNARY_REAL_IMAG): Remove extraneous left parenthesis.
6549         (__TGMATH_BINARY_REAL_IMAG): Likewise, use proper arguments to
6550         __builtin_classify_type.
6551         (fma): Fix spelling of first argument.
6553 2001-01-25  Ulrich Drepper  <drepper@redhat.com>
6555         * conform/data/unistd.h-data: Mark functions removed in XPG6
6556         correctly.
6558         * posix/unistd.h: Don't make functions removed in XPG6 available if
6559         __USE_XOPEN2K.
6561         * conform/conformtest.pl: Implement optional-constant.
6562         * conform/data/unistd.h-data: Use optional-constant wherever
6563         appropriate.
6565         * sysdeps/generic/bits/confname.h: Correct names of _SC_PBS
6566         constants and add _SC_STREAMS.
6567         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
6569         * sysdeps/unix/sysv/linux/statvfs64.c: Rename to __statvfs64 and
6570         make old name weak alias.
6571         * sysdeps/generic/statvfs64.c: Likewise.
6572         * sysdeps/unix/sysv/linux/fstatvfs64.c: Rename to __fstatvfs64 and
6573         make old name weak alias.
6574         * sysdeps/generic/fstatvfs64.c: Likewise.
6575         * include/sys/statvfs.h: New file.
6577         * sysdeps/generic/bits/confname.h: Define _PC_REC_INCR_XFER_SIZE,
6578         _PC_REC_MAX_XFER_SIZE, _PC_REC_MIN_XFER_SIZE, and
6579         _PC_REC_XFER_ALIGN.
6580         * sysdeps/posix/pathconf.c (__pathconf): Implement handling of
6581         _PC_REC_INCR_XFER_SIZE, _PC_REC_MAX_XFER_SIZE,
6582         _PC_REC_MIN_XFER_SIZE, and _PC_REC_XFER_ALIGN.
6583         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
6585         * conform/conformtest.pl: Run Unix tests for XPG6.
6586         Implement handling of known namespace violations.
6587         Improve printing of results.
6589         * posix/unistd.h (usleep): Correct return type.
6590         * sysdeps/unix/sysv/linux/usleep.c: Correct return type.
6591         * sysdeps/unix/bsd/usleep.c: Correct return type.
6592         * sysdeps/mach/usleep.c: Correct return type.
6593         * sysdeps/generic/usleep.c: Correct return type.
6595         * posix/unistd.h (sync): Correct return type.
6596         * sysdeps/generic/sync.c: Likewise.
6597         * sysdeps/mach/hurd/sync.c: Likewise.
6599         * sysdeps/generic/bits/confname.h (_SC_IOV_MAX): New definition.
6601         * posix/unistd.h: Make seteuid and setegid available for XPG6.
6603         * wcsmbs/wchar.h: Get FILE definition for XPG5.
6605         * conform/data/ctype.h-data: Use correct comment form.
6606         * conform/data/errno.h-data: Likewise.
6607         * conform/data/math.h-data: Likewise.
6608         * conform/data/mqueue.h-data: Likewise.
6609         * conform/data/netdb.h-data: Likewise.
6610         * conform/data/pthread.h-data: Likewise.
6612 2001-01-24  Ulrich Drepper  <drepper@redhat.com>
6614         * conform/data/wordexp.h-data: Fix typo.
6616         * conform/conformtest.pl: Handle allow-header correctly.
6618         * conform/data/time.h-data: Use correct comment form.
6620         * conform/conformtest.pl (checknamespace): Ignore #undef lines.
6622         * configure.in: Comment out binutils version test.
6624         * stdlib/strtod.c (str_to_mpn): Correct parsing of thousands
6625         separators.
6626         Reported by Lagardere Jean-Francois <LAGARDEREJ@thmulti.com>.
6628         * stdlib/tst-strtod.c (locale_test): New function.
6629         (main): Call locale_test.
6630         * stdlib/Makefile (tst-strtod-ENV): New variable.
6632 2001-01-24  Mark Kettenis  <kettenis@gnu.org>
6634         * hurd/hurdsig.c (_hurdsig_getenv): Remove spurious innermost
6635         declaration of value such that we actually return the value of the
6636         environment variable.
6638 2001-01-24  Andreas Jaeger  <aj@suse.de>
6640         * sysdeps/unix/sysv/linux/init-first.c: Remove extra __sysctl
6641         prototype.
6642         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
6644         * include/sys/sysctl.h: New file.
6646 2001-01-23  Andreas Jaeger  <aj@suse.de>
6648         * stdlib/Makefile ($(objpfx)isomac.out): Also pass sysincludes to
6649         isomac.
6651         * elf/dl-load.c (_dl_init_paths): Don't use strdupa in function
6652         arguments.  Reported by Jiri Kubicek <kubicek@bitsmart.com>,
6653         closes PR libc/2039.
6655         * manual/install.texi (Tools for Compilation): Change required
6656         binutils version.
6658 2001-01-22  Andreas Jaeger  <aj@suse.de>
6660         * configure.in: Add test for new enough binutils version, move
6661         compiler/binutils test up.
6663         * Versions.def: Add version GLIBC_2.2.2.
6665 2001-01-21  Ulrich Drepper  <drepper@redhat.com>
6667         * iconvdata/TESTS: UTF-8 test data for IBM932 and IBM943 are now
6668         available.
6669         * iconvdata/testdata/IBM932: New file.
6670         * iconvdata/testdata/IBM932..UTF8: New file.
6671         * iconvdata/testdata/IBM943: New file.
6672         * iconvdata/testdata/IBM943..UTF8: New file.
6673         Contributed by Masahide Washizawa <washi@jp.ibm.com>.
6675 2001-01-21  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
6677         * sysdeps/unix/sysv/linux/powerpc/mmap64.c: Correctly mask offset.
6679 2001-01-21  Ulrich Drepper  <drepper@redhat.com>
6681         * malloc/malloc.c: Remove a few unnecessary initializers of global
6682         variables.
6684 2000-12-09  H.J. Lu  <hjl@gnu.org>
6686         * nss/Makefile (routines): Add digits_dots.
6687         * nss/Versions (libc): Add __nss_hostname_digits_dots to GLIBC_2.2.2.
6688         * nss/digits_dots.c (__nss_hostname_digits_dots): Turn template
6689         into a function.
6690         * nss/nsswitch.h (__nss_hostname_digits_dots): New internal NSS
6691         function.
6692         * nss/getXXbyYY.c (H_ERRNO_VAR_P): New definition.
6693         (TYPE_VAR_P): Likewise.
6694         (FLAGS_VAR): Likewise.
6695         (AF_VAR_P): Likewise.
6696         (INTERNAL (REENTRANT_NAME)): Call __nss_hostname_digits_dots ()
6697         instead of including digits_dots.c.
6698         * nss/getXXbyYY_r.c (H_ERRNO_VAR_P): New definition.
6699         (TYPE_VAR_P): Likewise.
6700         (FLAGS_VAR): Likewise.
6701         (AF_VAR_P): Likewise.
6702         (INTERNAL (REENTRANT_NAME)): Call __nss_hostname_digits_dots ()
6703         instead of including digits_dots.c.
6705 2001-01-21  Ulrich Drepper  <drepper@redhat.com>
6707         * sysdeps/posix/getaddrinfo.c: Reduce .data size.
6709 2001-01-21  Andreas Jaeger  <aj@suse.de>
6711         * elf/constload2.c: Add prototype for init.
6713 2001-01-21  Ulrich Drepper  <drepper@redhat.com>
6715         * stdlib/stdlib.h (drand48_data): Make available only for
6716         __USE_MISC.  Rename elements to protect namespace.  Change type
6717         and position of a and init element.
6718         * stdlib/drand48-iter.c: Don't handle unsigned short > 16 bit
6719         differently.  Adjust for drand48_data change.  Don't compute a here,
6720         it comes from drand48_data.
6721         * stdlib/lcong48_r.c: Don't handle unsigned short > 16 bit
6722         differently.  Adjust for drand48_data change.  Compute a here.
6723         * stdlib/srand48_r.c: Likewise.
6724         * stdlib/drand48.c: Adjust for drand48_data change.
6725         * stdlib/lrand48.c: Likewise.
6726         * stdlib/mrand48.c: Likewise.
6727         * stdlib/seek48.c: Likewise.
6728         * stdlib/drand48_r.c: Likewise.
6729         * stdlib/lrand48_r.c: Likewise.
6730         * stdlib/mrand48_r.c: Likewise.
6731         * stdlib/seed48_r.c: Likewise.  Don't handle unsigned short > 16 bit
6732         differently.
6733         * stdlib/erand48_r.c: Don't handle unsigned short > 16 bit differently.
6734         * stdlib/jrand48_r.c: Likewise.
6736         * po/sv.po: Update from translation team.
6738 2001-01-21  Andreas Jaeger  <aj@suse.de>
6740         * stdio-common/vfprintf.c (vfprintf): Add casts.
6742 2001-01-20  Ulrich Drepper  <drepper@redhat.com>
6744         * iconvdata/run-iconv-test.sh: Reorgnize a bit to allow running only
6745         the ASCII test.
6746         * iconvdata/TESTS: Add entries for IBM932 and IBM943.
6748         * iconvdata/Makefile (modules): Add IBM932 and IBM943.
6749         * iconvdata/gconv-modules: Add entries for IBM932 and IBM943.
6750         * iconvdata/ibm932.c: New file.
6751         * iconvdata/ibm932.h: New file.
6752         * iconvdata/ibm943.c: New file.
6753         * iconvdata/ibm943.h: New file.
6754         Patches by Masahide Washizawa <washi@jp.ibm.com>.
6756         * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Fix typo
6757         preventing optimization from being done.  Set the correct type bit
6758         in seen.  Don't define and use _dl_base_addr unless
6759         NEED_DL_BASE_ADDR is defined.
6761         * io/ftw.c (ftw_dir): Add slash after directory name if there
6762         wasn't any.  Reported by loris <loris@iol.it>.
6763         * io/Makefile (tests): Add bug-ftw2.
6764         * io/bug-ftw2.c: New file.
6766 2001-01-19  Ulrich Drepper  <drepper@redhat.com>
6768         * stdlib/jrand48_r.c (__jrand48_r): Correct constructing of
6769         results.  Reported by Jeff Higham <jhigham@algorithmics.com>.
6770         * stdlib/tst-rand48.c: New file.
6771         * stdlib/Makefile (tests): Add tst-rand48.
6773         * locale/newlocale.c (__newlocale): Fix test for setting all
6774         categories.
6776 2001-01-19  Mark Kettenis  <kettenis@gnu.org>
6778         * sysdeps/mach/hurd/chroot.c (chroot): Revert 1999-02-27 changes,
6779         but change looking up the initial directory port in a similar way
6780         as done by _hurd_change_directory_port_from_name.
6781         * hurd/fchroot.c (fchroot): Likewise.
6783 2001-01-18  Ulrich Drepper  <drepper@redhat.com>
6785         * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): If HAVE_AUX_XID is
6786         defined don't look whether the AT_*ID values were set.
6787         If HAVE_AUX_PAGESIZE is defined don't look whether the pagesize is set.
6788         (_dl_show_auxv): Rewrite to avoid switch statement.
6789         * sysdeps/unix/sysv/linux/kernel-features.h: Define
6790         __ASSUME_AT_PAGESIZE for kernel >= 2.4.1.
6791         * sysdeps/unix/sysv/linux/ldsodefs.h: Define HAVE_AUX_XID.
6792         Define HAVE_AUX_PAGESIZE if __ASSUME_AT_PAGESIZE is defined.
6794         * sysdeps/unix/sysv/linux/fxstat64.c: Add one __builtin_expect.
6795         * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
6796         * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
6798         * elf/rtld.c (process_envvars): Call __strtoul_internal instead of
6799         strtoul.
6800         * elf/dl-minimal.c (strtol, __strtol_internal, strtoul): Removed.
6801         (__sigjmp_save): Set __mask_was_saved to zero since we don't save
6802         anything.
6803         * dlfcn/eval.c (__strtol_internal): Define here.
6804         (eval): Use __strtol_internal instead of strtol.
6806         * elf/elf.h: Add a few more EF_MIPS_* constants.
6808 2001-01-17  Ulrich Drepper  <drepper@redhat.com>
6810         * manual/Makefile (chapters): Add debug.
6811         * manual/debug.texi: New file.
6812         * manual/examples/execinfo.c: New file.
6813         Patch by suckfish@ihug.co.nz.
6815 2001-01-17  Andreas Schwab  <schwab@suse.de>
6817         * sysdeps/m68k/bits/byteswap.h (__bswap_32): Add cast to avoid
6818         invalid asm.
6820 2001-01-17  Andreas Jaeger  <aj@suse.de>
6822         * nscd/connections.c (nscd_run): Use proper format specifier.
6824 2001-01-16  Ulrich Drepper  <drepper@redhat.com>
6826         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Move x86_cap_flags and
6827         x86_platforms data into new file after prepending _dl_.  Change
6828         users.
6829         * sysdeps/unix/sysv/linux/i386/dl-procinfo.c: New file.
6830         * sysdeps/unix/sysv/linux/i386/Dist: Add dl-procinfo.c.
6831         * sysdeps/unix/sysv/linux/i386/Makefile: Add rules to build
6832         dl-procinfo.c.
6834         * setjmp/setjmp.h: Cleanup definition of setjmp macro.
6836         * sysdeps/i386/elf/bsd-setjmp.S: Real implementation.
6837         * sysdeps/i386/elf/bsd-_setjmp.S: Removed.
6838         * sysdeps/i386/elf/setjmp.S (setjmp): Removed here.
6839         (_setjmp): Likewise.
6840         * sysdeps/i386/bsd-_setjmp.S: Real implementation.
6841         * sysdeps/i386/bsd-setjmp.S: Real implementation.
6842         * sysdeps/i386/bits/setjmp.h: Remove PUSH_SIGNAL_MASK definition.
6843         * sysdeps/i386/setjmp.S: Remove PIC support.  This is the non-ELF
6844         version.
6846 2001-01-16  Andreas Jaeger  <aj@suse.de>
6848         * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h (SIGCONTEXT): Fix
6849         misapplied last patch.
6851 2001-01-15  Ulrich Drepper  <drepper@redhat.com>
6853         * stdlib/random.c (__initstate): Clean up a cast.
6854         (__setstate): Likewise.
6856         * sysdeps/unix/sysv/linux/mips/syscalls.list: Remove select
6857         syscall handling.  The generic Linux version should work.
6859 2001-01-15  Andreas Jaeger  <aj@suse.de>
6861         * sysdeps/unix/sysv/linux/sys/sendfile.h: Fix typo.
6863         * stdio-common/tstscanf.c (main): Add two testcases for '*' modifier.
6865 2001-01-14  Jakub Jelinek  <jakub@redhat.com>
6867         * nss/getent.c (print_aliases, aliases_keys, ethers_keys,
6868         netgroup_keys, print_rpc, rpc_keys, print_shadow, shadow_keys):
6869         New functions.
6870         (group_keys, hosts_keys, network_keys, passwd_keys, protocols_keys):
6871         If number is 0, list all.
6872         (services_keys): Likewise.  Lookup aliases as well.
6873         (databases): New table.
6874         (build_doc): Prepare argp doc text with list of supported databases.
6875         (main): Change to table driven processing.
6877 2001-01-14  Thorsten Kukuk <kukuk@suse.de>
6879         * sunrpc/xdr.c (xdr_long, xdr_u_long): Fix comments about these
6880         functions.
6882 2001-01-03  Jakub Jelinek  <jakub@redhat.com>
6884         * sunrpc/xdr.c (xdr_long, xdr_u_long): Return FALSE if trying to
6885         encode value which does not fit in the 32bit type.
6887 2001-01-15  Hiroyuki Machida <machida@sm.sony.co.jp>
6889         * sysdeps/unix/sysv/linux/mips/register-dump.h (REGISTER_DUMP):
6890         Change type of CTX to (struct sigcontext *).
6891         * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h (GET_PC): Likewise.
6892         (GET_FRAME): Likewise.
6893         (GET_STACK): Likewise.
6894         (SIGCONTEXT): Likewise.  Add 2nd arg _code.
6895         (SIGCONTEXT_EXTRA_ARGS): Add 2nd arg _code.
6897 2001-01-13  Ulrich Drepper  <drepper@redhat.com>
6899         * manual/texinfo.tex: Update from upstream version.
6901 2001-01-13  Jakub Jelinek  <jakub@redhat.com>
6903         * inet/ether_ntoh.c (lookup_function): Change arguments to match
6904         _nss_*_getntohost_r prototype.
6905         (ether_ntohost): Pass errno pointer to NSS function.
6907 2001-01-12  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
6909         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MS_SYNC): Fix value.
6910         (MAP_LOCKED): New definition.
6911         (MAP_NORESERVE): New definition.
6913 2001-01-12  Ulrich Drepper  <drepper@redhat.com>
6915         * assert/assert.h: Use static_cast instead of C-style cast for C++.
6916         Patch by Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>.
6918 2001-01-12  Ben Collins  <bcollins@debian.org>
6920         * sysdeps/generic/segfault.c (install_handler): Use access, not
6921         __access.
6923 2001-01-12  Andreas Jaeger  <aj@suse.de>
6925         * posix/fnmatch_loop.c (FCT): Remove signed warnings.
6926         * posix/wordexp.c (do_parse_glob): Likewise.
6927         * sysdeps/posix/sigblock.c (__sigblock): Likewise.
6928         * sysdeps/posix/sigsetmask.c (__sigsetmask): Likewise.
6929         * elf/dl-open.c (_dl_open): Likewise.
6930         * elf/dl-close.c (_dl_close): Likewise.
6931         * elf/dl-load.c (_dl_map_object): Likewise.
6932         * iconv/iconv_prog.c (process_fd): Likewise.
6933         * stdio-common/vfscanf.c (_IO_vfscanf): Likewise.
6935         * locale/localeinfo.h (struct locale_data): Use __flexarr instead
6936         of a zero-length array.
6938 2001-01-11  Jakub Jelinek  <jakub@redhat.com>
6940         * stdlib/cxa_atexit.c (__cxa_atexit): Cast to (void *, int) func.
6941         * stdlib/cxa_finalize.c (__cxa_finalize): Add hidden second argument.
6942         * stdlib/cxa_on_exit.c: Remove.
6943         * stdlib/Makefile: Revert last patch.
6944         * stdlib/Versions: Likewise.
6945         * include/stdlib.h: Likewise.
6946         * stdlib/exit.h: Revert last patch.
6947         (struct exit_function): Add second argument to cxa fn.
6948         * stdlib/exit.c: Revert last patch.
6949         (exit): Add hidden second argument.
6951 2001-01-11  H.J. Lu  <hjl@gnu.org>
6953         * elf/dl-libc.c (do_dlopen): Move DL_STATIC_INIT to ...
6954         * elf/dl-open.c (_dl_open): Here.
6955         * sysdeps/unix/sysv/linux/ia64/dl-static.c (_dl_static_lock):
6956         Make it static.
6957         (_dl_static_init): Initialize the variables every time when possible.
6958         * sysdeps/unix/sysv/linux/ia64/ldsodefs.h (DL_STATIC_INIT):
6959         Undefine it first.
6961 2001-01-11  Ulrich Drepper  <drepper@redhat.com>
6963         * stdlib/Makefile (routines): Add cxa_on_exit.
6964         * stdlib/Versions [libc] (GLIBC_2.2.1): Add __cxa_on_exit.
6965         * stdlib/cxa_on_exit.c: New file.
6966         * include/stdlib.h: Add prototype for __cxa_on_exit.
6967         * stdlib/exit.c: Handle ef_cxa2.
6968         * stdlib/exit.h (enum): Add ef_cxa2.
6969         (struct exit_function): Add cxa2.
6971         * Versions.def [ld]: Add GLIBC_2.2.1.
6973 2001-01-10  H.J. Lu  <hjl@gnu.org>
6975         * elf/dl-libc.c (do_dlopen): Call DL_STATIC_INIT for static binaries.
6976         * sysdeps/unix/sysv/linux/ia64/Makefile (sysdep-dl-routines): Add
6977         dl-static.
6978         * sysdeps/unix/sysv/linux/ia64/Versions (ld): Add _dl_var_init.
6979         * sysdeps/generic/ldsodefs.h (DL_STATIC_INIT): Defined if not defined.
6980         * sysdeps/unix/sysv/linux/ia64/ldsodefs.h: New file.
6981         * sysdeps/unix/sysv/linux/ia64/dl-static.c: New file.
6982         * sysdeps/unix/sysv/linux/ia64/Dist: Add dl-static.c.
6984 2001-01-11  Ulrich Drepper  <drepper@redhat.com>
6986         * libio/stdio.h: Remove definition of off_t.
6988 2001-01-11  Andreas Jaeger  <aj@suse.de>
6990         * wcsmbs/tst-mbrtowc.c (utf8_test): New function by Markus Kuhn
6991         <mkuhn@acm.org>.
6993 2001-01-10  Ulrich Drepper  <drepper@redhat.com>
6995         * sunrpc/Makefile (distribute): Add errqueue.h.
6997 2001-01-10  H.J. Lu  <hjl@gnu.org>
6999         * sysdeps/ia64/dl-machine.h (TRAMPOLINE_TEMPLATE): Also preserve
7000         r9, r10 and r11 for language specific registers.
7002 2001-01-10  Jakub Jelinek  <jakub@redhat.com>
7004         * sunrpc/clnt_udp.c (clntudp_bufcreate): Set IP_RECVERR on the
7005         UDP socket.
7006         (clntudp_call): Handle MSG_ERRQUEUE.
7007         * sysdeps/generic/errqueue.h: New file.
7008         * sysdeps/unix/sysv/linux/errqueue.h: New file.
7010 2001-01-10  H.J. Lu  <hjl@gnu.org>
7012         * sysdeps/unix/sysv/linux/ia64/syscalls.list (s_getpagesize): Removed.
7014 2001-01-10  Joseph S. Myers  <jsm28@cam.ac.uk>
7016         * CONFORMANCE: Update.
7018 2001-01-09  Ulrich Drepper  <drepper@redhat.com>
7020         * sysdeps/generic/elf/backtracesyms.c (__backtrace_symbols):
7021         Minimal cleanups.  Add assert to ensure memory handling is correct.
7023         * manual/conf.texi (File Minimums): Fix _POSIX_PATH_MAX value.
7024         Reported by Ben Collins <bcollins@debian.org>.
7026         * time/strftime.c (my_strftime): Mark previous GNU extensions
7027         which are now in C99 as such.
7029 2001-01-08  Ulrich Drepper  <drepper@redhat.com>
7031         * elf/rtld.c (process_envvars): Place output files for profiling
7032         in SUID binaries in /var/profile.
7034         * elf/dl-load.c (_dl_map_object): Don't look in cache for
7035         preloading in SUID binaries.
7037         * elf/dl-profile.c (_dl_start_profile): Open the output file with
7038         O_NOFOLLOW if possible.
7040         * include/stdlib.h: Add __posix_openpt declaration.
7041         * stdlib/stdlib.h: Add posix_openpt declaration.
7042         * login/Versions: Add posix_openpt for GLIBC_2.2.1.
7043         * sysdeps/generic/getpt.c: Define posix_openpt.
7044         * sysdeps/unix/bsd/getpt.c: Likewise.
7045         * sysdeps/unix/sysv/linux/getpt.c: Likewise.
7047         * time/Makefile (tests): Add tst-mktime.
7048         * time/tst-mktime.c: New file.
7050         * posix/tst-dir.c (main): One more mkdir() test.
7052         * sysdeps/unix/sysv/linux/ia64/getpagesize.c (__getpagesize):
7053         Remove getpagesize syscall.  We assume that the pagesize is always
7054         determined from the auxiliary vector.
7056         * intl/dcigettext.c: Fix a few warnings.
7057         Patch by Bruno Haible <haible@ilog.fr>.
7059 2001-01-08  Andreas Jaeger  <aj@suse.de>
7061         * io/test-lfs.c (do_test): Check lseek64 return for EINVAL.
7062         Reported by Joseph S. Myers <jsm28@cam.ac.uk>.
7064 2001-01-08  Ulrich Drepper  <drepper@redhat.com>
7066         * sysdeps/generic/segfault.c (install_handler): Check output file
7067         name with access().
7069         * resolv/res_query.c: Use simply getenv() for HOSTALIASES.
7070         * sysdeps/generic/unsecvars.h (UNSECURE_ENVVARS): Add HOSTALIASES.
7072         * sysdeps/generic/unsecvars.h (UNSECURE_ENVVARS): Add missing comma.
7074         * malloc/memusage.c (me): Use access() to determine whether we
7075         should write the output file or not.
7077         * libio/bits/stdio.h (printf): Define macro to map printf call to
7078         fprintf which gcc can optimize.
7079         * stdio-common/printf.c: Undefine printf.
7081 2001-01-07  Ulrich Drepper  <drepper@redhat.com>
7083         * sysdeps/generic/bits/byteswap.h (__bswap_64): Partly revert last
7084         patch.  We must use unsigned int for l member of union.
7086         * sysdeps/powerpc/elf/libc-start.c (__libc_start_main): Don't call
7087         _dl_aux_init for shared libraries.
7089         * sysdeps/unix/sysv/linux/glob64.c: Moved to ...
7090         * sysdeps/gnu/glob64.c: ...here.  New file.
7092 2001-01-07  Ben Collins  <bcollins@debian.org>
7094         * manual/examples/longopt.c: Make the "struct option" a little
7095         more like it should be, adding usage of required_argument,
7096         noargument and such, and also setting the options string right.
7098         * manual/sysinfo.texi (Load Average): New section, documents
7099         getloadavg().
7101 2001-01-06  Ulrich Drepper  <drepper@redhat.com>
7103         * version.h (VERSION): Bump to 2.2.1.
7105         * sysdeps/unix/sysv/linux/mips/Dist: Remove sys/acct.h.
7106         * sysdeps/alpha/Dist: Add alphaev6/stxncpy.S and alphaev6/stxcpy.S.
7107         * sysdeps/unix/sysv/aix/Dist: Add uitrunc.c, savef.S, and restf.S.
7108         * dlfcn/Makefile (distribute): Add errmsg1mod.c.
7109         * Makefile (distribute): Add include/libc-internal.h.
7110         * libio/Makefile (distribute): Avoid overwriting.
7112         * iconvdata/ibm937.c (BODY to IBM937): Correct several mistakes in
7113         buffer and table handling.
7115 2001-01-05  H.J. Lu  <hjl@gnu.org>
7117         * elf/dl-support.c (non_dynamic_init): Move the auxiliary
7118         vector checking to ...
7119         (_dl_aux_init): Here.  New function.  Defined only if
7120         HAVE_AUX_VECTOR is defined.
7122         * sysdeps/generic/libc-start.c (__libc_start_main): Call
7123         _dl_aux_init for static binaries if HAVE_AUX_VECTOR is defined.
7125         * sysdeps/powerpc/elf/libc-start.c (__libc_start_main): Call
7126         _dl_aux_init.
7128         * sysdeps/unix/sysv/linux/ldsodefs.h (DL_FIND_AUXV): Removed.
7129         (HAVE_AUX_VECTOR): Defined.
7130         (_dl_aux_init): Declared.
7132 2001-01-05  Ben Collins  <bcollins@debian.org>
7134         * manual/string.texi (Finding Tokens in a String): Document XPG
7135         basename() and dirname(), as well as GNU basename().
7137 2001-01-05  Jakub Jelinek  <jakub@redhat.com>
7139         * Makeconfig (preprocess-version): Replace -traditional with
7140         -x assembler-with-cpp.
7142 2001-01-05  Joseph S. Myers  <jsm28@cam.ac.uk>
7144         * math/bits/cmathcalls.h: Don't define inline cimag, creal or conj
7145         for GCC 2.97 or later.
7147 2001-01-05  Ben Collins  <bcollins@debian.org>
7149         * manual/stdio.texi (getline): Clarify the return value in the
7150         case of EOF being reached before a newline.
7152 2001-01-04  Jakub Jelinek  <jakub@redhat.com>
7154         * sunrpc/pmap_clnt.c (__get_myaddress): Return TRUE if successful,
7155         FALSE otherwise.
7156         (pmap_set, pmap_unset): Check __get_myaddress return value.
7158 2001-01-05  Mark Kettenis  <kettenis@gnu.org>
7160         * sysdeps/generic/netinet/if_ether.h: Include <sys/types.h>.
7161         (struct ether_addr): Declare ether_addr_octet member as
7162         `u_int8_t'.  Add __attribute__ ((__packed__)).
7164 2001-01-06  Mark Kettenis  <kettenis@gnu.org>
7166         * sysdeps/mach/hurd/readdir64.c: New file.
7167         * sysdeps/mach/hurd/readdir64_r.c: New file.
7169 2001-01-07  Mark Kettenis  <kettenis@gnu.org>
7171         * sysdeps/mach/hurd/fstatvfs.c (fstatvfs): Add comment about
7172         `struct statfs' and `struct statvfs' being identical.
7173         * sysdeps/mach/hurd/statvfs.c (statvfs): Likewise.
7175 2001-01-06  Mark Kettenis  <kettenis@gnu.org>
7177         * sysdeps/mach/hurd/fstatfs64.c: New file.
7178         * sysdeps/mach/hurd/fstatvfs64.c: New file.
7179         * sysdeps/mach/hurd/statfs64.c: New file.
7180         * sysdeps/mach/hurd/statvfs64.c: New file.
7181         * sysdeps/mach/hurd/statfsconv.c: New file.
7182         * sysdeps/mach/hurd/Dist: Add statfsconv.c.
7184 2001-01-06  Ulrich Drepper  <drepper@redhat.com>
7186         * iconv/skeleton.c: Reset outbuf for next round of the loop.
7187         Reported by Owen Taylor <otaylor@redhat.com>.
7188         * iconv/Makefile (tests): Add tst-iconv3.
7189         * iconv/tst-iconv3.c: New file.
7191         * iconvdata/ibm930.c: Fix handling of state.  Optimize a bit.
7192         * iconvdata/ibm933.c: Likewise.
7193         * iconvdata/ibm935.c: Likewise.
7194         * iconvdata/ibm937.c: Likewise.
7195         * iconvdata/ibm939.c: Likewise.
7196         * iconvdata/ibm930.h: Adjust single byte table for optimization.
7197         * iconvdata/ibm933.h: Likewise.
7198         * iconvdata/ibm935.h: Likewise.
7199         * iconvdata/ibm939.h: Likewise.
7201         * iconvdata/testdata/IBM930: Add misssing SI.
7202         * iconvdata/testdata/IBM933: Likewise.
7203         * iconvdata/testdata/IBM935: Likewise.
7204         * iconvdata/testdata/IBM937: Likewise.
7205         * iconvdata/testdata/IBM939: Likewise.
7207 2001-01-06  Andreas Jaeger  <aj@suse.de>
7209         * configure.in: Check for old add-ons that shouldn't be used with
7210         current glibc anymore.
7212 2001-01-06  Mark Kettenis  <kettenis@gnu.org>
7214         * sysdeps/mach/hurd/readdir_r.c (__readdir_r): Return error number
7215         instead of -1 on failure.  Don't forget to copy file name into
7216         *ENTRY if successful.  Set *RESULT to NULL upon reaching the end
7217         of the directory.
7219 2001-01-06  Mark Kettenis  <kettenis@gnu.org>
7221         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Don't forget to
7222         copy st_atime member.
7224 2001-01-05  Ulrich Drepper  <drepper@redhat.com>
7226         * io/ftw.c (ftw_dir): Don't add a second slash at the beginning
7227         for searches from the root directory.
7228         Reported by loris <loris@iol.it> [PR libc/1991].
7229         * io/Makefile (tests): Add bug-ftw1.
7230         * io/bug-ftw1.c: New file.
7232         * elf/dl-support.c (non_dynamic_init): Don't define DL_FIND_AUXV
7233         if it is not available.  Instead use it only if it is available.
7234         * sysdeps/unix/sysv/linux/ldsodefs.h: New file.
7236         * iconv/gconv_simple.c (internal_ics4_loop): Correct test for
7237         overflowing output buffer.
7238         (internal_ucs4_loop_unaligned): Likewise.
7239         (ucs4_internal_loop): Likewise.
7240         (ucs4_internal_loop_unaligned): Likewise.
7241         (internal_ucs4le_loop): Likewise.
7242         (internal_ucs4le_loop_unaligned): Likewise.
7243         (ucs4le_internal_loop): Likewise.
7244         (ucs4le_internal_loop_unaligned): Likewise.
7245         Reported by Owen Taylor <otaylor@redhat.com>.
7246         * iconv/Makefile (tests): Add tst-iconv2.
7247         * iconv/tst-iconv2.c: New file.
7249 2001-01-04  H.J. Lu  <hjl@gnu.org>
7251         * elf/dl-support.c (DL_FIND_AUXV): New.  Defined if not defined.
7252         (_dl_clktck): Declared.
7253         (non_dynamic_init): Take 3 arguments.
7254         Set _dl_pagesize, _dl_platform and _dl_clktck from AUX.
7256 2001-01-01  Bruno Haible  <haible@clisp.cons.org>
7258         Finish implementation of plural form handling.
7259         * intl/dcigettext.c (known_translation_t): Rename 'domain' field to
7260         'domainname'.  Remove 'plindex' field.  Add 'domain' and
7261         'translation_length' fields.
7262         (transcmp): Don't compare 'plindex' fields.
7263         (plural_lookup): New function.
7264         (DCIGETTEXT): Change cache handing in the plural case.  Don't call
7265         plural_eval before the translation and its catalog file have been
7266         found.  Remove plindex from cache key.  Add 'translation_length' and
7267         'domain' to cache result.
7268         (_nl_find_msg): Remove index argument, return length of translation
7269         to the caller instead.  Weaken comparison of string lengths, to account
7270         for plural entries.  Call iconv() on the entire result string, not
7271         only on the portion needed so far.
7272         * intl/loadinfo.h (_nl_find_msg): Remove index argument, add lengthp
7273         argument.
7274         * intl/loadmsgcat.c (_nl_load_domain): Adapt to _nl_find_msg change.
7276 2001-01-04  Ulrich Drepper  <drepper@redhat.com>
7278         * intl/plural.y (yylex): Minimal improvement in number scanner.
7280 2000-07-31  Bruno Haible  <haible@clisp.cons.org>
7282         * intl/plural.y: Include config.h.  Needed to define 'inline' away for
7283         C compilers that don't support it.
7284         (yylex): Don't use gcc specific case range syntax.
7285         * intl/loadmsgcat.c (INIT_GERMANIC_PLURAL): New macro, for old
7286         compilers.
7288 2000-10-12  Bruno Haible  <haible@clisp.cons.org>
7290         * intl/finddomain.c: Remove unneeded includes.
7292 2000-10-12  Bruno Haible  <haible@clisp.cons.org>
7294         * intl/localealias.c (memcpy): Return first argument, just like the
7295         real memcpy function does.
7296         * intl/bindtextdom.c (memcpy): Likewise.
7297         * intl/finddomain.c (memcpy): Likewise.
7298         * intl/l10nflist.c (memcpy): Likewise.
7299         * intl/textdomain.c (memcpy): Likewise.
7300         From Paul Eggert <eggert@twinsun.com>.
7302 2001-01-03  Jakub Jelinek  <jakub@redhat.com>
7304         * resolv/resolv.h (struct __res_state): Add nsinit field.
7305         * resolv/res_send.c (res_nsend): Use it instead of nscount.
7306         * resolv/res_init.c (__res_vinit): Initialize it.
7307         (res_nclose): Clear it instead of nscount.
7309 2001-01-04  Ulrich Drepper  <drepper@redhat.com>
7311         * malloc/mtrace.pl: Fix matching of addresses.
7312         Patch by Aharon Robbins <arnold@skeeve.com>.
7314         * Versions.def (ld): Add GLIBC_2.2.
7316         * catgets/gencat.c: Copyright 2001.
7317         * csu/version.c: Likewise.
7318         * debug/catchsegv.sh: Likewise.
7319         * debug/xtrace.sh: Likewise.
7320         * elf/ldconfig.c: Likewise.
7321         * elf/sprof.c: Likewise.
7322         * iconv/iconv_prog.c: Likewise.
7323         * locale/locale.c: Likewise.
7324         * locale/localedef.c: Likewise.
7325         * malloc/memusage.sh: Likewise.
7326         * malloc/mtrace.pl: Likewise.
7327         * nscd/nscd.c: Likewise.
7328         * posix/getconf.c: Likewise.
7330 2001-01-04  Mark Kettenis  <kettenis@gnu.org>
7332         * include/stdio.h: Only provide __getwc_unlocked prototype if
7333         USE_IN_LIBIO is defined.
7335 2001-01-04  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
7337         * sysdeps/unix/sysv/linux/sh/socket.S (__socket): Fix error code
7338         handling.
7340 2001-01-03  Andreas Schwab  <schwab@suse.de>
7342         * sysdeps/generic/strtoll.c: Remove unused __strtoq_internal alias.
7343         * sysdeps/generic/strtoull.c: Remove unused __strtouq_internal alias.
7345         * sysdeps/wordsize-64/strtol.c: Add strtoq alias and fix strtoll alias.
7346         * sysdeps/wordsize-64/strtoul.c: Add strtouq alias and fix
7347         strtoull alias.
7348         * sysdeps/wordsize-64/wcstol.c: Add wcstoq alias and fix wcstoll alias.
7349         * sysdeps/wordsize-64/wcstoul.c: Add wcstouq alias and fix
7350         wcstoull alias.
7352         * sysdeps/generic/strtoul.c: Make sure we find strtol.c in this
7353         directory.
7354         * sysdeps/generic/strtol_l.c: Likewise.
7355         * sysdeps/generic/strtoul_l.c: Likewise.
7356         * sysdeps/generic/wcstoul.c: Likewise, for wcstol.c.
7358         * sysdeps/wordsize-64/strtol_l.c: Fix alias.
7359         * sysdeps/wordsize-64/strtoul_l.c: Likewise.
7360         * sysdeps/wordsize-64/wcstol_l.c: Fix alias.
7361         * sysdeps/wordsize-64/wcstoul_l.c: Likewise.
7363 2001-01-04  Andreas Jaeger  <aj@suse.de>
7365         * nss/nsswitch.c: Include files for missing prototypes, remove
7366         buggy declaration of prototypes.
7368 2001-01-03  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
7370         * resolv/Versions: Fix bracing.
7371         * sysdeps/powerpc/soft-fp/Versions: Likewise.
7372         * sysdeps/sparc/sparc64/soft-fp/Versions: Likewise.
7374 2001-01-02  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
7376         * sysdeps/powerpc/dl-machine.c (__process_machine_rela): Fix typo.
7378 2001-01-02  Ulrich Drepper  <drepper@redhat.com>
7380         * manual/Makefile (TEXI2PDF): Change to texi2dvi --pdf.
7381         Suggested by Minko Markov <mmarkov@home.com>.
7383 2001-01-02  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
7385         * sysdeps/powerpc/elf/start.S (__data_start): Make it global.
7386         * sysdeps/powerpc/dl-machine.c (dl_reloc_overflow): Print the name of
7387         the failing symbol.
7388         (__process_machine_rela): Pass symbol to dl_reloc_overflow().
7390 2001-01-02  Ben Collins  <bcollins@debian.org>
7392         * time/tzset.c (tzset_internal): Make sure we fall back to UTC
7393         if TZ is not set and TZDEFAULT is not present.
7395 2001-01-01  Ben Collins  <bcollins@debian.org>
7397         * string/strings.h: Make sure we declare our functions even if
7398         string.h is already included, based on whether or not __USE_BSD is
7399         defined.
7401 2001-01-02  Ulrich Drepper  <drepper@redhat.com>
7403         * dlfcn/dlerror.c (dlerror): Handle call of dlerror() before any
7404         other dlopen() and dlsym().
7405         Based on a patch by Ben Collins <bcollins@debian.org>.
7407 2001-01-02  Andreas Jaeger  <aj@suse.de>
7409         * dlfcn/errmsg1.c (main): Call dlerror initially.
7410         Reported by Ben Collins <bcollins@debian.org>.
7412 2001-01-02  Ulrich Drepper  <drepper@redhat.com>
7414         * intl/dcigettext.c (guess_category_value): Rewrite so that LANGUAGE
7415         value is ignored if the selected locale is the C locale.
7416         * intl/tst-gettext.c: Set locale for above change.
7417         * intl/tst-translit.c: Likewise.
7419 2001-01-02  Andreas Jaeger  <aj@suse.de>
7421         * libio/wgenops.c (_IO_wdoallocbuf): Use correct wide access macro.
7422         (_IO_switch_to_wget_mode): Likewise.
7423         (_IO_sputbackwc): Likewise.
7424         (_IO_sungetwc): Use wint_t for result.
7426         * stdio-common/vfscanf.c (__vfscanf): Use WINT_T for done.
7428         * sysdeps/generic/strtol.c (strtol): Make cnt size_t for correct
7429         signedness.
7431         * sysdeps/generic/printf_fphex.c (putc): Cast _IO_putwc_unlocked
7432         to (int) to avoid warnings.
7433         * stdio-common/printf_fp.c (putc): Likewise.
7434         * stdio-common/printf_size.c (putc): Likewise.
7436         * sysdeps/generic/dl-sysdep.c (_dl_important_hwcaps): Make
7437         constant unsigned.
7439 2001-01-01  Andreas Jaeger  <aj@suse.de>
7441         * inet/rcmd.c (rcmd_af): Use socklen_t for len.
7443 2000-12-31  Andreas Jaeger  <aj@suse.de>
7445         * include/libc-internal.h: Add prototype for __libc_freeres.
7447         * sysdeps/unix/sysv/linux/init-first.c: Include <libc-internals.h>
7448         for prototypes, remove redundant prototypes.
7449         * gmon/gmon.c: Likewise.
7450         * sysdeps/unix/i386/i586/clock_getres.c: Likewise.
7451         * sysdeps/unix/i386/i586/clock_gettime.c: Likewise.
7452         * malloc/mtrace.c: Likewise.
7454         * sysdeps/generic/enbl-secure.c: Include <libc-internals.h> for
7455         prototypes.
7456         * elf/soinit.c: Likewise.
7457         * sysdeps/generic/prof-freq.c: Likewise.
7458         * sysdeps/mach/hurd/profil.c: Likewise.
7459         * debug/noophooks.c: Likewise.
7460         * debug/pcprofile.c: Likewise.
7461         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Likewise.
7462         * sysdeps/generic/get_clockfreq.c: Likewise.
7463         * malloc/set-freeres.c: Likewise.
7465         * locale/localeinfo.h: Add internal prototypes.
7467         * elf/rtld.c (dl_main): Fix prototype.
7469         * iconvdata/tst-table-to.c (main): Use return instead of exit to
7470         avoid warning.
7472         * nis/rpcsvc/yp_prot.h: Remove __P.
7473         * nis/rpcsvc/ypupd.h: Likewise.
7474         * nis/rpcsvc/yp.h: Likewise.
7476         * sunrpc/rpc_main.c: Add noreturn attributes.
7477         * sunrpc/rpc_scan.h: Likewise.
7479         * sunrpc/rpc_hout.c (storexdrfuncdecl): Make static.
7481         * sunrpc/rpcinfo.c: Add noreturn attribute to brdcst.
7483         * sunrpc/proto.h: Add noreturn attributes to error and crash.
7485         * posix/bsd-getpgrp.c: Add prototype to avoid warning.
7487         * sunrpc/svc_unix.c: Include <rpc/svc.h> for prototypes.
7489         * sunrpc/create_xid.c: Include <rpc/svc.h> for prototypes.
7491         * include/rpc/rpc_msg.h: Add prototypes for some functions.
7492         * include/rpc/auth.h: Likewise.
7493         * include/rpc/auth_des.h: Likewise.
7494         * include/rpc/clnt.h: Likewise.
7495         * include/rpc/rpc.h: Likewise.
7496         * include/rpc/svc.h: Likewise.
7497         * include/rpc/svc_auth.h: Likewise.
7499         * include/rpc/des_crypt.h: New file.
7501         * malloc/memusagestat.c (main): Use return instead of exit to
7502         avoid warning.
7503         * io/pwd.c (main): Likewise.
7504         * iconvdata/tst-table-from.c (main): Likewise.
7505         * ctype/test_ctype.c (main): Likewise.
7506         * setjmp/tst-setjmp.c (main): Likewise.
7507         * signal/tst-signal.c (main): Likewise.
7508         * stdlib/tst-strtol.c (main): Likewise.
7509         * stdlib/tst-strtod.c (main): Likewise.
7510         * stdlib/tst-strtoll.c (main): Likewise.
7511         * stdlib/tst-xpg-basename.c (main): Likewise.
7512         * dirent/tst-seekdir.c (main): Likewise.
7513         * grp/testgrp.c (main): Likewise.
7514         * inet/test_ifindex.c (main): Likewise.
7515         * io/test-utime.c (main): Likewise.
7516         * posix/test-vfork.c (main): Likewise.
7517         * posix/testfnm.c (main): Likewise.
7518         * stdio-common/temptest.c (main): Likewise.
7519         * stdio-common/test_rdwr.c (main): Likewise.
7520         * stdio-common/tst-fileno.c (main): Likewise.
7521         * stdio-common/tst-sscanf.c (main): Likewise.
7522         * stdio-common/tstscanf.c (main): Likewise.
7523         * string/bug-strncat1.c (main): Likewise.
7524         * string/bug-strpbrk1.c (main): Likewise.
7525         * string/bug-strspn1.c (main): Likewise.
7526         * string/test-ffs.c (main): Likewise.
7527         * string/tst-inlcall.c (main): Likewise.
7528         * string/tst-svc.c (main): Likewise.
7529         * timezone/test-tz.c (main): Likewise.
7530         * wctype/test_wcfuncs.c (main): Likewise.
7531         * wctype/test_wctype.c (main): Likewise.
7533         * stdlib/tst-random.c: Add attribute noreturn to fail.
7535 2000-12-28  Wolfram Gloger  <wg@malloc.de>
7537         * malloc/malloc.c (MALLOC_COPY): Handle case if source and
7538         destination overlap.  Assume dest is always below source if
7539         overlapping.
7541 2000-12-30  Ulrich Drepper  <drepper@redhat.com>
7543         * elf/dl-close.c (_dl_close): We can ignore the NODELETE flag if the
7544         object was not yet initialized.
7546 2000-12-28  H.J. Lu  <hjl@gnu.org>
7548         * elf/dl-deps.c (_dl_map_object_deps): Make sure the DSO state
7549         is always consistent even if its dependency is failed.
7551         * elf/dl-open.c (_dl_open): Increment the open count before
7552         calling _dl_close () in case of failure.
7554         * elf/neededtest4.c: New file.
7555         * elf/neededobj5.c: New file.
7556         * elf/neededobj6.c: New file.
7558         * elf/Makefile (distribute): Add neededobj5.c and neededobj6.c.
7559         (tests): Add neededtest4.
7560         (modules-names): Add neededobj5 and neededobj6.
7561         ($(objpfx)neededobj6.so): New target.
7562         ($(objpfx)neededtest4): New target.
7563         ($(objpfx)neededtest4.out): New target.
7565 2000-12-28  Joseph S. Myers  <jsm28@cam.ac.uk>
7567         * misc/sys/cdefs.h (__attribute_format_strfmon__): Define.
7568         * stdlib/monetary.h: Add strfmon format attributes.
7570 2000-12-28  Roland McGrath  <roland@frob.com>
7572         * sysdeps/mach/hurd/ioctl.c (do_ioctl): Avoid double-increment after
7573         __mempcpy does it for us.
7575 2000-12-28  Andreas Jaeger  <aj@suse.de>
7577         * sysdeps/generic/dl-environ.c: Add prototype for unsetenv.
7579         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Add prototype for
7580         __new_setrlimit.
7582         * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Add prototype for
7583         __old_getrlimit64.
7585         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Add prototype for
7586         __new_getrlimit.
7588         * sysdeps/unix/sysv/linux/i386/chown.c: Add prototypes for
7589         __chown_is_lchown and __real_chown.
7591         * sysdeps/generic/ldsodefs.h: Add noreturn attribute to
7592         _dl_reloc_bad_type.
7594         * sunrpc/rpc_hout.c (print_funcdef): Add break statement to shut
7595         up GCC's warning about "deprecated use of label at end of compound
7596         statement."
7597         * sunrpc/rpc_cout.c (emit_inline): Likewise.
7599         * gmon/bb_exit_func.c: Include <sys/gmon.h> for internal
7600         prototypes.
7601         Remove struct bb and __bb_head since those are declared by
7602         sys/gmon.h.
7604 2000-12-22  Ben Collins  <bcollins@debian.org>
7606         * manual/charset.texi: Fix typo in description of WCHAR_MAX.
7608         * manual/argp.texi: Document argp_domain as part of struct argp.
7610 2000-12-28  Andreas Jaeger  <aj@suse.de>
7612         * catgets/Makefile (generated): Add sample.SJIS.cat.
7614         * sunrpc/rpc_dtable.c: Include rpc/clnt.h for prototypes.
7616         * elf/dl-minimal.c: Add prototypes.
7618         * include/locale.h: Add internal prototypes.
7619         * include/sys/gmon.h: Likewise.
7621         * dlfcn/errmsg1mod.c: Add prototype for foo to shut up GCC.
7623 2000-12-27  Ben Collins  <bcollins@debian.org>
7625         * elf/dl-open.c (_dl_open): Correctly set the new objname pointer
7626         when reallocating the error strings.
7627         Reported by Kalle Olavi Niemitalo <kon@iki.fi>
7629 2000-12-27  Ulrich Drepper  <drepper@redhat.com>
7631         * dlfcn/Makefile (tests): Add errmsg1.
7632         (modules-names): Add errmsg1mod.
7633         Add rules to run errmsg1.
7634         * dlfcn/errmsg1.c: New file.
7635         * dlfcn/errmsg1mod.c: New file.
7637         * dlfcn/dlerror.c (dlerror): Always create output string which
7638         includes object file name.
7640         * sysdeps/alpha/alphaev6/memcpy.S: Don't go through unrolled loop
7641         if we would go through it only once.
7642         Patch by Rick Gorton <rick.gorton@api-networks.com>.
7644         * sysdeps/alpha/alphaev67/strncat.S: Fix handling of numeric parameter.
7645         Patch by Richard Henderson <rth@redhat.com>.
7647 2000-12-27  Jakub Jelinek  <jakub@redhat.com>
7649         * malloc/malloc.c (memmove): Add prototypes.
7650         (MALLOC_MEMMOVE): Define.
7651         (chunk_realloc): Use it instead of MALLOC_COPY if source and
7652         destination might overlap.
7654 2000-12-27  Andreas Jaeger  <aj@suse.de>
7656         * stdio-common/printf_fp.c (__printf_fp): Add prototype for nested
7657         function.
7658         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
7659         * locale/programs/locale.c (show_locale_vars): Likewise.
7660         (show_info): Likewise.
7661         * locale/programs/ld-collate.c (collate_output): Likewise.
7662         * locale/programs/ld-ctype.c (set_class_defaults): Likewise.
7663         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
7664         * stdlib/rpmatch.c (rpmatch): Likewise.
7666         * setjmp/tst-setjmp.c: Make local functions static.
7667         * setjmp/jmpbug.c: Likewise.
7668         * signal/tst-signal.c: Likewise.
7669         * stdio-common/tfformat.c: Likewise.
7670         * string/tst-svc.c: Likewise.
7671         * time/clocktest.c: Likewise.
7672         * time/tst-getdate.c: Likewise.
7673         * dirent/list.c: Likewise.
7674         * dirent/opendir-tst1.c: Likewise.
7675         * posix/runtests.c: Likewise.
7676         * posix/tst-getaddrinfo.c: Likewise.
7677         * posix/tst-chmod.c: Likewise.
7678         * posix/wordexp-test.c: Likewise.
7679         * misc/tst-efgcvt.c: Likewise.
7680         * timezone/tst-timezone.c: Likewise.
7681         * rt/tst-clock.c: Likewise.
7682         * rt/tst-shm.c: Likewise.
7683         * rt/tst-aio2.c: Likewise.
7684         * rt/tst-aio3.c: Likewise.
7685         * rt/tst-aio4.c: Likewise.
7686         * rt/tst-aio5.c: Likewise.
7688         * dlfcn/failtest.c: Add prototype for foo.
7690         * dlfcn/glrefmain.c: Add prototype for do_test.
7692         * dlfcn/tst-dladdr.c: Add prototype for do_test.
7694         * string/test-ffs.c (main): Add prototype for nested function.
7696         * sunrpc/des_soft.c: Include rpc/des_crypt.h for prototype.
7698         * nss/XXX-lookup.c: Add prototype to shut up GCC.
7700         * include/netinet/ether.h (DECLARE_NSS_PROTOTYPES): Fix
7701         setetherent prototype.
7702         Add internal interfaces.
7704         * nis/nss_nis/nis-ethers.c (_nss_nis_setetherent): Likewise.
7705         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent): Likewise.
7707         * resolv/res_data.c: Don't add (conflicting) prototypes for _LIBC.
7709         * nis/nis_intern.h: Add prototype for __pmap_getnisport.
7711         * nss/nss_files/files-ethers.c: Include netinet/ether.h to get
7712         prototypes, remove struct etherent since it's declared in ether.h.
7713         Fix ntohost declaration.
7715         * elf/dl-profile.c (_dl_mcount): Add empty statement to shut up GCC.
7717         * include/getopt.h: Add internal interfaces.
7718         * include/termios.h: Likewise.
7719         * include/resolv.h: Likewise.
7720         * include/netdb.h: Likewise.
7721         * include/grp.h: Likewise.
7722         * include/pwd.h: Likewise.
7723         * include/shadow.h: Likewise.
7724         * include/rpc/netdb.h: Likewise.
7725         * include/setjmp.h: Likewise.
7727         * include/stdio.h: Add prototypes for compatibility functions.
7728         * include/grp.h: Likewise.
7729         * include/pwd.h: Likewise.
7730         * include/shadow.h: Likewise.
7732         * include/fenv.h: Define internal interfaces.
7734 2000-12-27  Ulrich Drepper  <drepper@redhat.com>
7736         * sysdeps/generic/bits/byteswap.h (__bswap_64): Handle constant
7737         argument case separately.
7738         * sysdeps/i386/bits/byteswap.h (__bswap_64): Likewise.
7740 2000-12-27  Andreas Jaeger  <aj@suse.de>
7742         * include/sys/wait.h: Add some prototypes.
7743         * Rules (dummy.c): Create also prototype to shut up GCC.
7745 2000-12-27  Andreas Jaeger  <aj@suse.de>
7747         * sysdeps/mach/hurd/if_index.c (__protocol_available): Uncomment,
7748         it's not needed at the moment.
7749         * sysdeps/generic/if_index.c (__protocol_available): Likewise.
7750         * sysdeps/unix/sysv/linux/if_index.c (__protocol_available): Likewise.
7752 2000-12-26  Andreas Jaeger  <aj@suse.de>
7754         * libio/getc_u.c: Include stdio.h via system path to get internal
7755         prototypes.
7756         * libio/getwc_u.c: Likewise.
7758         * stdlib/strfmon.c: Fix prototype of __printf_fp.
7760         * stdio-common/vfprintf.c (process_arg): Move __printf_fphex and
7761         __printf_fp prototypes to ...
7762         * include/printf.h: ...here.
7764         * include/stdio.h: Add some internal prototypes to shut up GCC.
7765         * include/stdlib.h: Likewise.
7767         * sysdeps/posix/sigpause.c (__sigpause): Use ISO C prototype
7768         declaration.
7770         * include/signal.h: Add prototypes for internal sigpause
7771         interfaces.
7773 2000-12-26  Ulrich Drepper  <drepper@redhat.com>
7775         * sysdeps/generic/bits/byteswap.h (__bswap_64): Make it usable for
7776         64bit platforms.  Reported by Dave Gilbert <gilbertd@treblig.org>.
7778         * string/Makefile (tests): Add tst-bswap.
7779         * string/tst-bswap.c: New file.
7781 2000-12-11  Bruno Haible  <haible@clisp.cons.org>
7783         * Makefile ($(inst_includedir)/gnu/stubs.h): Sort in the C locale.
7785 2000-12-26  Ulrich Drepper  <drepper@redhat.com>
7787         * sunrpc/Makefile (rpcgen-cmd): Use single quotes in sed call.
7788         Patch by Ed Connell <Ed.Connell@sas.com>.
7790 2000-12-24  Ulrich Drepper  <drepper@redhat.com>
7792         * locale/iso-639.def: Correct one entry.  Add two missing entries.
7794         * locale/iso-4217.def: Change entry for Eritrea.
7795         Reported by Daniel Yacob <yacob@geez.org>.
7797 2000-12-23  Ben Collins  <bcollins@debian.org>
7799         * manual/charset.texi (Extended Char Intro): Fix typo in ISO 6937
7800         description.
7802         * manual/stdio.texi (Dynamic Output): Document the return value of
7803         asprintf.  Also make the asprintf/snprintf examples a little
7804         better (check for some error returns).
7806 2000-12-22  Andreas Jaeger  <aj@suse.de>
7808         * include/stdio.h: Add __ftrylockfile prototype.
7810 2000-12-21  H.J. Lu  <hjl@gnu.org>
7812         * sysdeps/ia64/fpu/math_ldbl.h (ieee_long_double_shape_type):
7813         Make sign_exponent element signed.
7815         * sysdeps/ieee754/ldbl-96/math_ldbl.h (ieee_long_double_shape_type):
7816         Fix a typo.
7818         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Remove dead branch.
7820 2000-12-21  Andreas Jaeger  <aj@suse.de>
7822         * nis/nss_nisplus/nisplus-ethers.c (struct etherent): Removed.
7823         * inet/ether_hton.c: Likewise
7824         * inet/ether_ntoh.c: Likewise.
7826         * nis/nss_nis/nis-ethers.c (_nss_nis_getntohost_r): Fix
7827         declaration to match prototype.
7829         * include/netinet/ether.h (struct etherent): Declare here so that
7830         all implementations use the same struct.
7832         * nis/nss_nis/nis-ethers.c: Include netinet/ether.h to get
7833         prototypes.
7834         (struct ether): Removed.
7835         Use struct etherent instead of ether everywhere.
7837         * include/rpc/auth.h (DECLARE_NSS_PROTOTYPES): New.
7839         * include/rpc/auth_des.h (DECLARE_NSS_PROTOTYPES): New.
7841         * sunrpc/publickey.c: Include auth_des.h for prototypes.
7843 2000-12-20  Ulrich Drepper  <drepper@redhat.com>
7845         * math/test-misc.c: Add more tests for nextafter functions.
7847         * sysdeps/i386/fpu/s_nextafterl.c: Handle change from denormal to
7848         normal correctly.  Correct test for sign.
7849         Based on a patch by HJ Lu.
7851 2000-12-19  Ulrich Drepper  <drepper@redhat.com>
7853         * Makeconfig (preprocess-version): Add -traditional to gcc call.
7854         Cleanup sed calls.
7856 2000-12-19  Andreas Jaeger  <aj@suse.de>
7858         * include/netinet/ether.h (DECLARE_NSS_PROTOTYPES): New.
7860         * nis/nis_intern.h: Add prototype for __do_niscall3.
7862         * nis/nss_nis/nis-rpc.c (_nss_nis_setrpcent): Fix declaration to
7863         match prototype.
7865         * include/netdb.h (DECLARE_NSS_PROTOTYPES): Reformat.
7867         * include/rpc/netdb.h (DECLARE_NSS_PROTOTYPES): New.
7869         * include/aliases.h (DECLARE_NSS_PROTOTYPES): New.
7871 2000-12-18  Ulrich Drepper  <drepper@redhat.com>
7873         * math/test-misc.c: Add more tests for nextafter.
7874         * sysdeps/i386/fpu/s_nextafterl.c: Handle decrement for x<0 correctly.
7875         * sysdeps/ieee754/ldbl-96/math_ldbl.h
7876         (ieee_long_double_shape_type): Make sign_exponent element signed.
7878         * manual/message.texi: Add Estonian to plural overview list.
7879         Correct rule for Slavic languages.
7880         Patch by Stanislav Brabec <utx@penguin.cz>.
7882         * nis/nss_nis/nis-netgrp.c: Remove unnecessary initializations.
7884 2000-12-18  Andreas Jaeger  <aj@suse.de>
7886         * test-skeleton.c: Use temp_name_list instead of name_list to
7887         avoid collision with name_list from inet/netgroup.h.
7889         * nss/nss_files/files-network.c (NEED_H_ERRNO): Define.
7891         * include/grp.h (DECLARE_NSS_PROTOTYPES): New.
7892         * include/pwd.h (DECLARE_NSS_PROTOTYPES): New.
7893         * include/netdb.h (DECLARE_NSS_PROTOTYPES): New.
7894         * include/shadow.h (DECLARE_NSS_PROTOTYPES): New.
7896         * hesiod/nss_hesiod/hesiod-proto.c (_nss_hesiod_setprotoent): Fix
7897         declaration to match prototype.
7898         * hesiod/nss_hesiod/hesiod-pwd.c (_nss_hesiod_setpwent): Likewise.
7899         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_setgrent): Likewise.
7900         * hesiod/nss_hesiod/hesiod-service.c (_nss_hesiod_setservent):
7901         Likewise.
7902         * nis/nss_nis/nis-grp.c (_nss_nis_setgrent): Likewise.
7903         * nis/nss_nis/nis-pwd.c (_nss_nis_setpwent): Likewise.
7904         * nis/nss_nis/nis-proto.c (_nss_nis_setprotoent): Likewise.
7905         * nis/nss_nis/nis-service.c (_nss_nis_setservent): Likewise.
7906         (_nss_nis_getservbyport_r): Likewise.
7907         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent): Likewise.
7908         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent): Likewise.
7909         * nis/nss_nis/nis-network.c (_nss_nis_getnetent_r): Likewise.
7910         (_nss_nis_setnetent): Likewise
7911         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
7912         (_nss_nis_endnetgrent): Likewise.
7913         * nis/nss_nisplus/nisplus-netgrp.c (_nss_nisplus_endnetgrent):
7914         Likewise.
7915         (_nss_nisplus_setnetgrent): Likewise.
7916         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Likewise.
7917         * nis/nss_nisplus/nisplus-pwd.c (_nss_nisplus_setpwent): Likewise.
7918         * nis/nss_nisplus/nisplus-grp.c (_nss_nisplus_setgrent): Likewise.
7919         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_setnetent):
7920         Likewise.
7921         * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_sethostent):
7922         Likewise.
7923         * nis/nss_nisplus/nisplus-service.c (_nss_nisplus_setservent):
7924         Likewise.
7925         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_setprotoent):
7926         Likewise.
7927         * nis/nss_compat/compat-spwd.c (_nss_compat_setspent): Likewise.
7928         * nis/nss_compat/compat-pwd.c (_nss_compat_setpwent): Likewise.
7929         * nis/nss_compat/compat-grp.c (_nss_compat_setgrent): Likewise.
7930         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Likewise.
7931         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Likewise.
7932         (_nss_dns_getnetbyaddr_r): Likewise.
7934 2000-12-17  Andreas Jaeger  <aj@suse.de>
7936         * sysdeps/generic/k_sinl.c (__kernel_sinl): Fix functions
7937         parameter.
7939         * sysdeps/unix/sysv/linux/shm_open.c (freeit): Make static and add
7940         unused attribute to shut up gcc warnings.
7942         * sysdeps/generic/k_sinl.c: Include math_private for prototypes.
7943         * sysdeps/generic/k_tanl.c: Likewise.
7944         * sysdeps/generic/k_cosl.c: Likewise.
7945         * sysdeps/generic/e_j0l.c: Likewise.
7946         * sysdeps/generic/e_j1l.c: Likewise.
7947         * sysdeps/generic/e_jnl.c: Likewise.
7948         * sysdeps/generic/e_lgammal_r.c: Likewise.
7950         * elf/vismain.c: Move prototypes for functions in vismod*.c to
7951         vismod.h.
7952         * elf/vismod.h: New file.
7953         * elf/Makefile (distribute): Add vismod.h.
7954         * elf/vismod1.c: Include vismod.h.
7955         * elf/vismod2.c: Likewise.
7956         * elf/vismod3.c: Likewise.
7958         * elf/constload3.c: Add prototype declarations to shut up gcc.
7959         * elf/failobj.c: Likewise.
7960         * elf/nodelmod3.c: Likewise.
7961         * elf/filtmod1.c: Likewise.
7962         * elf/filtmod2.c: Likewise.
7963         * elf/reldepmod1.c: Likewise.
7964         * elf/reldepmod2.c: Likewise.
7965         * elf/reldepmod3.c: Likewise.
7966         * elf/reldepmod4.c: Likewise.
7967         * elf/unload2dep.c: Likewise.
7968         * elf/unload2mod.c: Likewise.
7969         * elf/ltglobmod1.c: Likewise.
7970         * elf/pathoptobj.c: Likewise.
7971         * elf/neededobj1.c: Likewise.
7972         * elf/neededobj2.c: Likewise.
7973         * elf/neededobj3.c: Likewise.
7974         * elf/neededobj4.c: Likewise.
7975         * elf/nextmod1.c: Likewise.
7976         * elf/nextmod2.c: Likewise.
7978         * locale/programs/ld-collate.c (collate_finish): Don't use labels
7979         at end of compound statement.
7980         * locale/programs/locale.c (show_info): Likewise.
7981         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Likewise.
7983 2000-12-16  Jakub Jelinek  <jakub@redhat.com>
7985         * catgets/gencat.c (read_input_file): Avoid calling obstack_free
7986         with a pointer not returned by obstack_ functions.
7988 2000-12-16  Ulrich Drepper  <drepper@redhat.com>
7990         * sysdeps/unix/sysv/aix/bits/stat.h (struct stat): Align with AIX
7991         version.
7992         (struct stat64): Likewise.
7993         Reported by Michael Keezer <mkeezer@redhat.com>.
7995         * timezone/asia: Update from tzdata2000h.
7996         * timezone/australasia: Likewise.
7997         * timezone/backward: Likewise.
7998         * timezone/europe: Likewise.
7999         * timezone/northamerica: Likewise.
8000         * timezone/southamerica: Likewise.
8001         * timezone/zone.tab: Likewise.
8003 2000-12-14  Jakub Jelinek  <jakub@redhat.com>
8005         * io/ftw.c (ftw_dir): If process_entry returned non-zero result
8006         and dir.stream is NULL, only free dir.content.
8007         * io/ftwtest.c (cb, main): Add --early-exit option to test it.
8008         * io/ftwtest-sh: Test with --early-exit.
8010 2000-12-13  Jakub Jelinek  <jakub@redhat.com>
8012         * misc/efgcvt.c (FCVT_MAXDIG): Define.
8013         (FCVT_BUFPTR): New variable.
8014         (fcvt): If fcvt_r returns -1 on the static short buffer,
8015         try to malloc a sufficiently large one and retry.
8016         (free_mem): New function.
8017         * misc/qefgcvt.c (FCVT_MAXDIG): Define.
8018         * misc/tst-efgcvt.c (fcvt_tests): Add new test.
8020 2000-12-15  Ulrich Drepper  <drepper@redhat.com>
8022         * misc/dirname.c (dirname): Fix search for second to last slash.
8024 2000-12-13  Andreas Jaeger  <aj@suse.de>
8026         * misc/tst-dirname.c (main): Fix typo in test to really use
8027         the examples from Unix98.
8028         Reported by Michael Kerrisk <mtk16@ext.canterbury.ac.nz>.
8030 2000-12-09  H.J. Lu  <hjl@gnu.org>
8032         * sysdeps/ia64/fpu/s_fabs.S: New file.
8033         * sysdeps/ia64/fpu/s_fabsf.S: New file.
8034         * sysdeps/ia64/fpu/s_fabsl.S: New file.
8036 2000-12-15  Andreas Jaeger  <aj@suse.de>
8038         * stdio-common/scanf9.c (main): Reformat and change to avoid
8039         warnings.
8041         * stdio-common/tstdiomisc.c: Make local functions static.
8042         * stdio-common/tst-printf.c: Likewise.
8044         * elf/constload2.c: Add prototype declarations to shut up gcc.
8045         * elf/dep1.c: Likewise.
8046         * elf/dep2.c: Likewise.
8047         * elf/dep3.c: Likewise.
8048         * elf/dep4.c: Likewise.
8049         * elf/ltglobmod2.c: Likewise.
8051         * libio/fmemopen.c: Make local functions static.
8053         * elf/Makefile (distribute): Added testobj.h.
8055         * elf/testobj.h: New file.
8057         * elf/testobj1.c: Include testobj.h and move prototype
8058         declarations to testobj.h.
8059         * elf/testobj2.c: Likewise.
8060         * elf/testobj3.c: Likewise.
8061         * elf/testobj4.c: Likewise.
8062         * elf/testobj5.c: Likewise.
8063         * elf/testobj6.c: Likewise.
8064         * elf/testobj1_1.c: Likewise.
8065         * elf/preloadtest.c: Likewise.
8067 2000-12-15  Ben Collins  <bcollins@debian.org>
8069         * misc/sys/cdefs.h: Fix thinko in checks for flexarr macros.
8070         Patch by Akim Demaille <akim@epita.fr> in Debian bug report.
8072 2000-12-14  H.J. Lu  <hjl@gnu.org>
8074         * sysdeps/ieee754/flt-32/s_sincosf.c (__sincosf): The exponent
8075         field in a float is 8 bits, not 11 bits.
8077 2000-12-13  Jakub Jelinek  <jakub@redhat.com>
8079         * math/test-misc.c (main): Adjust m for IEEE quad long double.
8081 2000-12-13  Andreas Jaeger  <aj@suse.de>
8083         * manual/message.texi (Using gettextized software): Fix typo.
8085         * manual/charset.texi (Converting a Character): Fix mbstouwcs
8086         program to compile.
8087         Patch by Martin Buchholz <martin@xemacs.org>.
8089         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Fix typo.
8090         Reported by Michael Kerrisk <mtk16@ext.canterbury.ac.nz>.
8092 2000-12-11  Andreas Jaeger  <aj@suse.de>
8094         * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Declare
8095         kernel_sigset_t and use it.
8096         Patch by Hiroyuki Machida <machida@sm.sony.co.jp>.
8098 2000-12-10  Richard Henderson  <rth@redhat.com>
8100         * sysdeps/alpha/alphaev67/fpu/Implies: New file.
8101         * sysdeps/alpha/alphaev6/fpu/e_sqrtf.S: New file.
8102         * sysdeps/alpha/alphaev6/fpu/e_sqrt.S: New file.
8104 2000-12-10  Jakub Jelinek  <jakub@redhat.com>
8106         * sysdeps/alpha/htonl.S: Fix a typo.
8108 2000-12-10  Jakub Jelinek  <jakub@redhat.com>
8110         * sysdeps/alpha/alphaev6/stxcpy.S: Exchange t8 with t10.
8112 2000-12-10  Andreas Jaeger  <aj@suse.de>
8114         * locale/programs/ld-ctype.c (charclass_symbolic_ellipsis): Fixed
8115         cast as suggested by Jakub Jelinek <jakub@redhat.com> and Ulrich
8116         Drepper <drepper@redhat.com>.
8118 2000-12-09  Andreas Jaeger  <aj@suse.de>
8120         * sysdeps/unix/sysv/linux/mips/sigaction.c: New file.
8122         * sysdeps/unix/sysv/linux/mips/sys/acct.h: Removed, we can use the
8123         generic version.
8124         Patches by Hiroyuki Machida <machida@sm.sony.co.jp>.
8126         * locale/programs/ld-collate.c (handle_ellipsis): Fix format
8127         string.
8129         * locale/programs/ld-ctype.c (charclass_symbolic_ellipsis): Fix
8130         format string.
8132         * nscd/hstcache.c (addhstbyname): Add cast to avoid warning.
8133         * nscd/connections.c (handle_request): Likewise.
8134         * nscd/pwdcache.c (addpwbyname): Likewise.
8135         * nscd/grpcache.c (addgrbyname): Likewise.
8137         * nscd/nscd_conf.c (nscd_parse_file): Remove extra argument.
8139 2000-12-09  Ulrich Drepper  <drepper@redhat.com>
8141         * string/stratcliff.c: Add tests for stpncpy, memcpy, and mempcpy.
8143         * Makeconfig (default_cflags): Make -O2 the default for stable
8144         releases.
8146 2000-12-08  H.J. Lu  <hjl@gnu.org>
8148         * sysdeps/ia64/fpu/s_isinfl.S: Renamed to ...
8149         * sysdeps/ia64/fpu/s_isinf.S: This.
8150         Add a .pred.rel.mutex note to avoid false report.
8152         * sysdeps/ia64/fpu/s_isnanl.S: Renamed to ...
8153         * sysdeps/ia64/fpu/s_isnan.S: This.
8155         * sysdeps/ia64/fpu/s_fpclassify.S: New file.
8156         * sysdeps/ia64/fpu/s_fpclassifyf.S: New file.
8157         * sysdeps/ia64/fpu/s_fpclassifyl.S: New file.
8158         * sysdeps/ia64/fpu/s_isinff.S: New file.
8159         * sysdeps/ia64/fpu/s_isinfl.S: New file.
8160         * sysdeps/ia64/fpu/s_isnanf.S: New file.
8161         * sysdeps/ia64/fpu/s_isnanl.S: New file.
8162         * sysdeps/ia64/fpu/s_finite.S: New file.
8163         * sysdeps/ia64/fpu/s_finitef.S: New file.
8164         * sysdeps/ia64/fpu/s_finitel.S: New file.
8165         * sysdeps/ia64/fpu/s_signbit.S: New file.
8166         * sysdeps/ia64/fpu/s_signbitf.S: New file.
8167         * sysdeps/ia64/fpu/s_signbitl.S: New file.
8168         * sysdeps/ia64/fpu/s_copysign.S: New file.
8169         * sysdeps/ia64/fpu/s_copysignf.S: New file.
8170         * sysdeps/ia64/fpu/s_copysignl.S: New file.
8172 2000-12-08  Ulrich Drepper  <drepper@redhat.com>
8174         * math/libm-test.inc (main): Fix typos in messages.
8176         * string/stratcliff.c: Add test for rawmemchr.
8178 2000-12-08  Jakub Jelinek  <jakub@redhat.com>
8180         * elf/dl-open.c (_dl_open): If objname points right after errstring,
8181         allocate it together with errstring using alloca.
8182         * elf/dl-error.c (_dl_signal_error): If malloc failed, set objname
8183         to "", because it might point to local stack.
8185 2000-12-05  H.J. Lu  <hjl@gnu.org>
8187         * nss/Makefile (routines): Add getnssent and getnssent_r.
8188         * nss/nsswitch.h (__nss_setent): New internal NSS function.
8189         (__nss_endent): Likewise.
8190         (__nss_getent_r): Likewise.
8191         (__nss_getent): Likewise.
8192         * nss/getnssent_r.c: New file.
8193         * nss/getnssent.c: New file.
8194         * nss/getXXent.c (H_ERRNO_VAR): Updated.
8195         (GETFUNC_NAME): Updated to call __nss_getent ().
8196         * nss/getXXent_r.c (H_ERRNO_VAR_P): New.
8197         (STAYOPEN_TMPVAR): Updated.
8198         (STAYOPEN_VAR): Updated.
8199         (SETFUNC_NAME): Updated to call __nss_setent ().
8200         (ENDFUNC_NAME): Updated to call __nss_endent ().
8201         (INTERNAL (REENTRANT_GETNAME)): Updated to call __nss_getent_r ().
8203 2000-12-08  Andreas Jaeger  <aj@suse.de>
8205         * nscd/dbg_log.h (dbg_log): Correct attribute.
8207 2000-12-08  Jakub Jelinek  <jakub@redhat.com>
8209         * elf/dl-load.c (fillin_rpath): Don't assume there is '\0' at
8210         cp + len.  Compute where from dirname.
8211         Reported by <jreiser@BitWagon.com>.
8213 2000-12-08  Richard Henderson  <rth@twiddle.net>
8215         * sysdeps/alpha/_mcount.S: Fix typo.
8216         * sysdeps/alpha/strncpy.S: Likewise.
8218         * sysdeps/alpha/alphaev6/Implies: New file.
8219         * sysdeps/alpha/alphaev67/Implies: New file.
8220         * sysdeps/alpha/alphaev67/ffs.S: New file.
8221         * sysdeps/alpha/alphaev67/ffsll.S: New file.
8222         * sysdeps/alpha/alphaev67/rawmemchr.S: New file.
8223         * sysdeps/alpha/alphaev67/stpcpy.S: New file.
8224         * sysdeps/alpha/alphaev67/stpncpy.S: New file.
8225         * sysdeps/alpha/rawmemchr.S: New file.
8226         * sysdeps/alpha/strcat.S: Tail call to __stxcpy.
8227         * sysdeps/alpha/strcpy.S: Likewise.
8229         From GMP 3.1.1:
8230         * sysdeps/alpha/alphaev6/addmul_1.s: New file.
8232         From rick.gorton@alpha-processor.com:
8233         * sysdeps/alpha/alphaev6/memchr.S: New file.
8234         * sysdeps/alpha/alphaev6/memcpy.S: New file.
8235         * sysdeps/alpha/alphaev6/memset.S: New file.
8236         * sysdeps/alpha/alphaev6/stxcpy.S: New file.
8237         * sysdeps/alpha/alphaev6/stxncpy.S: New file.
8238         * sysdeps/alpha/alphaev67/strcat.S: New file.
8239         * sysdeps/alpha/alphaev67/strchr.S: New file.
8240         * sysdeps/alpha/alphaev67/strlen.S: New file.
8241         * sysdeps/alpha/alphaev67/strncat.S: New file.
8242         * sysdeps/alpha/htonl.S: Use a shorter sequence.
8244 2000-12-08  Jakub Jelinek  <jakub@redhat.com>
8246         * inet/getnameinfo.c (getnameinfo): Fix NI_NOFQDN support.
8247         Reported by <pspencer@fields.utoronto.ca>.
8249 2000-12-07  Jes Sorensen  <jes@linuxcare.com>
8251         * sysdeps/ia64/elf/start.S (__data_start): Add __data_start variable.
8252         Pointed out by Hans Boehm.
8254 2000-12-07  H.J. Lu  <hjl@gnu.org>
8256         * elf/dl-version.c (match_symbol): Check map->l_name[0] for printing.
8258 2000-12-07  Andreas Jaeger  <aj@suse.de>
8260         * misc/error.c: Add format attributes for __error and __error_at_line.
8262         * nscd/dbg_log.h: Add format attribute.
8264 2000-12-08  Ulrich Drepper  <drepper@redhat.com>
8266         * misc/sys/syslog.h: Add format attributes to syslog and vsyslog.
8267         Patch by Joseph S. Myers <jsm28@cam.ac.uk>.
8269 2000-12-07  Dan Pop  <Dan.Pop@cern.ch>
8271         * sysdeps/ia64/strcpy.S: Fix a bug in a recovery code sequence.
8273 2000-12-06  Ulrich Drepper  <drepper@redhat.com>
8275         * sysdeps/unix/sysv/aix/Makefile [$(subdir)==misc]
8276         (sysdep_routines): Add uitrunc.
8277         * sysdeps/unix/sysv/aix/uitrunc.c: New file.
8278         Patches by Michael Keezer <mkeezer@redhat.com>.
8280 2000-12-06  Roland McGrath  <roland@frob.com>
8282         * sysdeps/mach/hurd/ioctl.c (__ioctl): Don't clobber ARG as we copy in
8283         argument data, since it will be used to copy out too (for INOUT).
8284         Reported by Marcus Brinkmann <marcus@gnu.org>.
8286         * sysdeps/mach/hurd/ioctl.c: Include <stdint.h>.
8287         (__ioctl): Use uintptr_t instead of unsigned long int.
8289 2000-12-06  Jim Wilson  <wilson@redhat.com>
8291         * stdlib/l64a.c (l64a): Truncate M to 32-bit value.
8293 2000-12-06  Ulrich Drepper  <drepper@redhat.com>
8295         * stdio-common/printf_fp.c (__printf_fp): Handle decimal point in
8296         x.5 rounding correctly.
8298 2000-12-06  Mark Kettenis  <kettenis@gnu.org>
8300         * stdio-common/perror.c (perror): Conditionalize code dealing with
8301         wide-oriented streams on USE_IN_LIBIO.
8303 2000-12-06  Mark Kettenis  <kettenis@gnu.org>
8305         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup): Mark
8306         as internal_function.
8308 2000-12-05  Ulrich Drepper  <drepper@redhat.com>
8310         * sysdeps/alpha/elf/start.S (__data_start): Define.
8312 2000-12-05  H.J. Lu  <hjl@gnu.org>
8314         * nss/getXXent_r.c (setup): Change the return type to int.
8316 2000-12-05  Ulrich Drepper  <drepper@redhat.com>
8318         * sysdeps/unix/sysv/aix/Makefile [$(subdir)==misc]
8319         (sysdep_routines): Add restf and savef.
8320         * sysdeps/unix/sysv/aix/restf.c: New file.
8321         * sysdeps/unix/sysv/aix/savef.c: New file.
8322         Patches by Michael Keezer <mkeezer@redhat.com>.
8324         * sysdeps/unix/opendir.c (__opendir): Don't use o_directory_works
8325         if O_DIRECTORY is not defined.
8326         Patch by Michael Keezer <mkeezer@redhat.com>.
8328         * include/libc-symbols.h (C_SYMBOL_DOT_NAME): Define.
8329         Patch by Michael Keezer <mkeezer@redhat.com>.
8331         * locale/programs/linereader.c (get_toplvl_escape): Recognize more
8332         than 4 bytes in escape sequence.
8333         Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
8335 2000-12-05  Andreas Jaeger  <aj@suse.de>
8337         * sysdeps/unix/sysv/linux/mips/sys/tas.h (_test_and_set): Don't
8338         set mips2.
8340         * sysdeps/unix/sysv/linux/mips/sysdep.h: New file.
8342         * sysdeps/unix/sysv/linux/mips/sys/syscall.h: Removed.
8344         * sysdeps/unix/mips/sysdep.h: Use SYS_ify.
8345         Patches by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
8347         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Mark as
8348         internal_function.
8349         * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Likewise.
8350         * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start_cleanup): Likewise.
8352         * sysdeps/generic/dl-cache.c: Remove declaration of
8353         _dl_sysdep_read_whole_file.
8355         * elf/dl-load.c (_dl_map_object): Remove declaration of
8356         _dl_load_cache_lookup.
8358         * sysdeps/generic/ldsodefs.h: Add declarations of
8359         _dl_load_cache_lookup, _dl_unload_cache,
8360         _dl_sysdep_read_whole_file, _dl_sysdep_start and
8361         _dl_sysdep_start_cleanup.
8363         * elf/rtld.c: Remove prototypes that are defined in ldsodefs.h
8364         now.
8366         * elf/dl-misc.c: Include <ldsodefs.h> to get prototypes.
8367         * sysdeps/generic/dl-environ.c: Likewise.
8369         * stdio-common/printf_fp.c: Include <gmp.h> instead of
8370         <stdlib/gmp.h>.
8371         * math/atest-exp.c: Likewise.
8372         * math/atest-exp2.c: Likewise.
8373         * math/atest-sincos.c: Likewise.
8374         * stdio-common/_itoa.c: Likewise.
8375         * stdio-common/_itowa.c: Likewise.
8377         * include/gmp.h: New file with internal prototypes.
8379         * sysdeps/generic/longjmp.c: Move _longjmp_unwind declaration from
8380         here to...
8381         * include/setjmp.h: ...here.
8383         * locale/Makefile (routines): Remove codeset_name since it's not
8384         needed anywhere.
8386         * locale/codeset_name.c: Removed.
8388 2000-12-05  Ulrich Drepper  <drepper@redhat.com>
8390         * sysdeps/unix/sysv/aix/sys/param.h: Define MAXHOSTNAMELEN here.
8392 2000-12-05  Andreas Jaeger  <aj@suse.de>
8394         * sysdeps/unix/sysv/linux/sys/param.h: Revert last patch.
8396 2000-12-05  Martin Schwidefsky  <schwidefsky@de.ibm.com>
8398         * sysdeps/unix/sysv/linux/s390/mmap64.S: Use mmap if mmap2 isn't
8399         available.
8401 2000-12-05  Andreas Jaeger  <aj@suse.de>
8403         * nss/test-netdb.c: Mark local functions as static to avoid
8404         warnings.
8405         (main): Use return to silence warning.
8407         * stdlib/test-canon.c (check_path): Mark as static to avoid warning.
8409         * stdio-common/test-popen.c: Mark local functions as static to
8410         avoid warnings.
8411         (main): Use return to silence warning.
8413         * stdlib/testsort.c (compare): Mark as static to avoid warning.
8415         * assert/test-assert.c: Mark local functions as static to avoid
8416         warnings.
8417         * assert/test-assert-perr.c: Likewise.
8419         * math/libm-test.inc (main): Use return to silence warnings.
8421 2000-12-04  Ulrich Drepper  <drepper@redhat.com>
8423         * math/fenv.h: Fix typo in comment.
8425         * math/test-misc.c (main): Add a few more over and underflow tests
8426         for scalb.
8428         * sysdeps/i386/fpu/e_scalb.S: Handle NaN as first parameter correctly.
8429         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
8430         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
8431         * math/w_scalb.c: Don't use matherr except in SVID mode.
8432         * math/w_scalbf.c: Likewise.
8433         * math/w_scalbl.c: Likewise.
8434         * math/test-misc.c: Add test for NaN and scalbl.
8435         Reported by Fred J. Tydeman <tydeman@tybor.com>.
8437 2000-12-04  Ulrich Drepper  <drepper@redhat.com>
8439         * configure.in: Define HAVE_ASM_GLOBAL_DOT_NAME for AIX.
8440         * config.h.in: Add HAVE_ASM_GLOBAL_DOT_NAME.
8441         * include/libc-symbols.h (strong_alias): Define special version
8442         for HAVE_ASM_GLOBAL_DOT_NAME.
8443         (weak_alias): Likewise.
8444         * sysdeps/powerpc/bsd-setjmp.S: Use strong_alias not .set.
8445         * sysdeps/unix/sysv/aix/Makefile [$(subdir)==login]
8446         (sysdep_routines): Add setutxent, getutxent, endutxent, getutxid,
8447         getutxline, pututxline, and utmpxname.
8448         * sysdeps/unix/sysv/aix/fchdir.c: Define __fchdir.
8449         * sysdeps/unix/sysv/aix/lseek.c: Define __libc_lseek alias.
8450         * sysdeps/unix/sysv/aix/open.c: Define __libc_open alias.
8451         * sysdeps/unix/sysv/aix/pread.c: Define pread alias.
8452         * sysdeps/unix/sysv/aix/pread64.c: Define pread64 alias.
8453         * sysdeps/unix/sysv/aix/sysdep.h (JUMPTARGET): Use C_TEXT.
8454         * sysdeps/unix/sysv/aix/bits/types.h: Define __clockid_t and __timer_t.
8455         * sysdeps/unix/sysv/aix/bits/utmp.h: Cleanup.  Add comments.
8456         * sysdeps/unix/sysv/linux/sys/param.h (MAXHOSTNAMELEN): Define.
8457         Patches by Michael Keezer <mkeezer@redhat.com>.
8459 2000-12-04  H.J. Lu  <hjl@gnu.org>
8461         * configure.in: Change --with-oldest-abi=ABI to
8462         --enable-oldest-abi=ABI.
8464 2000-12-02  Bruno Haible  <haible@clisp.cons.org>
8466         * stdio-common/perror.c (perror): If stderr is wide-oriented, use
8467         fwprintf instead of fprintf.
8469 2000-12-04  Ulrich Drepper  <drepper@redhat.com>
8471         * sysdeps/alpha/fpu/bits/mathdef.h: Remove FLT_EVAL_METHOD and
8472         DECIMAL_DIG definitions.
8473         * sysdeps/arm/fpu/bits/mathdef.h: Likewise
8474         * sysdeps/generic/bits/mathdef.h: Likewise
8475         * sysdeps/i386/fpu/bits/mathdef.h: Likewise
8476         * sysdeps/ia64/fpu/bits/mathdef.h: Likewise
8477         * sysdeps/m68k/fpu/bits/mathdef.h: Likewise
8478         * sysdeps/powerpc/fpu/bits/mathdef.h: Likewise
8479         * sysdeps/sparc/fpu/bits/mathdef.h: Likewise
8480         * sysdeps/sh/sh4/fpu/bits/mathdef.h: Likewise
8482 2000-12-03  Ulrich Drepper  <drepper@redhat.com>
8484         * math/test-fenv.c (main): Use return instead of exit to avoid warning.
8486         * math/atest-exp.c: Mark local functions as static to avoid warnings.
8487         * math/atest-exp2.c: Likewise.
8488         * math/atest-sincos.c: Likewise.
8490         * sysdeps/i386/fpu/bits/mathdef.h (DECIMAL_DIG): Correct value.
8491         Reported by Fred J. Tydeman <tydeman@tybor.com>.
8493         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Hopefully fix
8494         the handling of denormalized numbers.
8496         * math/test-misc.c (main): Test for fpclassify and pseudo denormal
8497         numbers on x86.
8498         * sysdeps/i386/fpu/fpclassifyl.c: New file.
8500         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Handle the
8501         pseudo denormal representation of LDBL_MIN.
8503         * iconvdata/SJIS.irreversible: Remove unnecessary entries.
8504         * iconvdata/EUC-JP.irreversible: Remove unnecessary entries.
8506         * iconvdata/sjis.c: Enable round-trip mapping of backslash and tilde.
8507         * iconvdata/jis0208.c: Likewise.
8508         * iconvdata/jis0212.c: Likewise.
8509         Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
8511         * math/test-misc.c (main): More tests for frexp and some for
8512         fpclassify and isnormal.
8514         * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf): Correct
8515         test for subnormal.
8516         Reported by Fred J. Tydeman <tydeman@tybor.com>.
8518         * math/test-misc.c (main): Add tests for frexp.
8519         Reported by Fred J. Tydeman <tydeman@tybor.com>.
8520         * sysdeps/i386/fpu/s_frexpl.S: Don't overflow during the computation.
8522 2000-12-02  H.J. Lu  <hjl@gnu.org>
8524         * locale/lc-time.c (_nl_init_era_entries): Pass L'\0' instead of
8525         '\0' to wcschr.
8527 2000-12-02  Ulrich Drepper  <drepper@redhat.com>
8529         * sysdeps/i386/fpu/s_frexp.S: Add missing fwait.
8530         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
8531         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
8533         * sysdeps/generic/glob.c: Adjust types of several variables to
8534         avoid warnings.
8536 2000-12-01  Ulrich Drepper  <drepper@redhat.com>
8538         * sysdeps/unix/sysv/linux/shm_open.c: Remove incorrect comment.
8540 2000-11-30  Roland McGrath  <roland@frob.com>
8542         * hurd/hurd/ioctl.h (_HURD_HANDLE_IOCTLS_1): New macro.
8543         (_HURD_HANDLE_IOCTLS, _HURD_HANDLE_IOCTL): Redefine using it, so as to
8544         allow multiple instances using the same function name in one file.
8546 2000-12-01  Ulrich Drepper  <drepper@redhat.com>
8548         * configure.in: Correct test for pserver CVS access.
8550 2000-11-28  H.J. Lu  <hjl@gnu.org>
8552         * libio/libio.h: Remove extra "#if ... #endif".
8554 2000-11-29  H.J. Lu  <hjl@gnu.org>
8556         * stdio-common/vfscanf.c (ORIENT): Swap the COMPILE_WSCANF case.
8558 2000-12-01  H.J. Lu  <hjl@gnu.org>
8560         * nss/getXXbyYY_r.c: Fix verioned symbol handling.
8561         * nss/getXXent_r.c: Likewise.
8562         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
8564 2000-11-30  H.J. Lu  <hjl@gnu.org>
8566         * scripts/abi-versions.awk (oldest_abi): New variable.
8567         Handle the oldest ABI supported.
8569         * Makerules ($(common-objpfx)abi-versions.h): Set oldest_abi
8570         for scripts/abi-versions.awk.
8572         * configure.in: Add --with-oldest-abi=ABI.
8573         * configure: Rebuild.
8575         * config.make.in (oldest-abi): New.
8577         * config.h.in (GLIBC_OLDEST_ABI): New.
8579         * csu/version.c (banner): Support GLIBC_OLDEST_ABI.
8581 2000-11-30  Jakub Jelinek  <jakub@redhat.com>
8583         * locale/setlocale.c (setname): Free for all categories, not just
8584         LC_ALL.
8585         (setlocale): Store a copy of string passed by user, not the string
8586         itself.
8588 2000-11-30  Roland McGrath  <roland@frob.com>
8590         * sysdeps/mach/hurd/defs.c (init_stdio): Put this on __libc_subinit
8591         rather than _hurd_fd_subinit, so it happens after it's safe to use
8592         libc facilities like malloc.
8594 2000-11-28  Andreas Jaeger  <aj@suse.de>
8596         * sysdeps/unix/sysv/linux/getdents.c: Add _syscall_getdents64
8597         declaration, adjust declaration of __syscall_getdents to match
8598         kernel.
8600 2000-11-29  H.J. Lu  <hjl@gnu.org>
8602         * sysdeps/generic/readelflib.c (check_ptr): Undefine it first.
8604 2000-11-29  Andreas Jaeger  <aj@suse.de>
8606         * sysdeps/unix/sysv/linux/hppa/brk.c (__brk): Remove unused variable.
8608 2000-11-28  Ulrich Drepper  <drepper@redhat.com>
8610         * dlfcn/defaultmod1.c: Add prototypes to avoid warnings.
8611         * dlfcn/defaultmod2.c: Likewise.
8612         * dlfcn/dlopen.c: Likewise.
8613         * dlfcn/dlopenold.c: Likewise.
8614         * dlfcn/failtestmod.c: Likewise.
8615         * dlfcn/glreflib1.c: Likewise.
8616         * dlfcn/glreflib2.c: Likewise.
8617         * dlfcn/eval.c: Likewise.  Add attributes.
8619         * ctype/ctype-extn.c: Define isblank and not __isblank.
8621         * time/strftime.c: Add const where necessary to avoid warnings.
8622         * time/strptime.c (strptime_internal): Add casts to avoid warnings.
8624 2000-11-22  Paul Eggert  <eggert@twinsun.com>
8626         * time/strftime.c (my_strftime): Do not invoke mbrlen with a
8627         size of (size_t) -1; it's not portable.
8629 2000-11-28  Ulrich Drepper  <drepper@redhat.com>
8631         * sysdeps/i386/fpu/libm-test-ulps: Adjust some values for the
8632         crappy i486 FPU.
8633         Reported by Michael Deutschmann <michael@talamasca.ocis.net>.
8635 2000-11-14  Jes Sorensen  <jes@linuxcare.com>
8637         * sysdeps/ia64/_mcount.S: Call __mcount instead of __mcount_internal.
8639         * sysdeps/ia64/Makefile: Compile _mcount.S in subdir gmon as
8640         _mcount is required by profiled binaries.
8642         * sysdeps/unix/sysv/linux/ia64/machine-gmon.h: Moved to...
8643         * sysdeps/ia64/machine-gmon.h: ...here.
8645 2000-11-28  Masahide Washizawa  <washi@jp.ibm.com>
8647         * iconvdata/Makefile (modules): Add IBM922, IBM1124, and IBM1129.
8648         (distribute): Add ibm922.c, ibm1124.c, ibm1129.c, ibm922.h, ibm1124.h,
8649         and ibm1129.h.
8650         * iconvdata/gconv-modules: Add entries for IBM922, IBM1124, and
8651         IBM1129.
8652         * iconvdata/ibm922.c: New file.
8653         * iconvdata/ibm922.h: New file.
8654         * iconvdata/ibm1124.c: New file.
8655         * iconvdata/ibm1124.h: New file.
8656         * iconvdata/ibm1129.c: New file.
8657         * iconvdata/ibm1129.h: New file.
8658         * iconvdata/testdata/IBM922: New file.
8659         * iconvdata/testdata/IBM922..UTF8: New file.
8660         * iconvdata/testdata/IBM1124: New file.
8661         * iconvdata/testdata/IBM1124..UTF8: New file.
8662         * iconvdata/testdata/IBM1129: New file.
8663         * iconvdata/testdata/IBM1129..UTF8: New file.
8665 2000-11-28  Ulrich Drepper  <drepper@redhat.com>
8667         * catgets/gencat.c (normalize_line): Take extra parameter with escape
8668         character.  Change callers.
8669         (open_conversion): Determine mapping of 0x5c as wchar_t value.
8670         * catgets/Makefile: Add rules to build and run test-gencat.
8671         * catgets/sample.SJIS: New file.
8672         * catgets/test-gencat.c: New file.
8673         * catgets/test-gencat.sh: New file.
8674         Report and test case by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
8676 2000-11-28  Andreas Jaeger  <aj@suse.de>
8678         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Synch with generic
8679         Linux version.
8681 2000-11-28  Ulrich Drepper  <drepper@redhat.com>
8683         * sysdeps/unix/sysv/linux/bits/socket.h: Fix last patch.
8685 2000-11-28  Andreas Jaeger  <aj@suse.de>
8687         * sysdeps/unix/sysv/linux/bits/socket.h (struct cmsghdr): Use
8688         __flexarr.
8689         * sysdeps/unix/sysv/linux/mips/bits/socket.h (struct cmsghdr):
8690         Likewise.
8692 2000-11-27  Ulrich Drepper  <drepper@redhat.com>
8694         * misc/getusershell.c: Make strings in okshells array const.
8695         * misc/regexp.c: Add const to cast to avoid warnings.
8696         * sysdeps/unix/sysv/linux/llseek.c: Add prototype for __llseek.
8697         * sysdeps/unix/sysv/linux/i386/setresuid.c: Add prototype for
8698         __setresuid.
8699         * sysdeps/unix/sysv/linux/i386/setresgid.c: Add prototype for
8700         setresgid.
8701         * misc/error.c: Add prototypes for __error and __error_at_line.
8702         * misc/mntent_r.c (__getmntent_r): Add break at end of switch
8703         statement to avoid warning.
8704         * test-skeleton.c: Mark timeout_handler with noreturn.
8705         * iconv/skeleton.c (get16u): Add const to cast.
8706         (get32u): Likewise.
8707         * iconvdata/gb18030.c: Likewise.
8708         * iconvdata/iso-2022-cn-ext.c: Likewise.
8709         * iconvdata/ansi_x3.110.c: Add cast to avoid warning.
8710         * iconvdata/big5.c: Likewise.
8711         * iconvdata/big5hkscs.c: Likewise.
8712         * iconvdata/iso_6937.c: Likewise.
8713         * iconvdata/iso_6937-2.c: Likewise.
8714         * iconvdata/t.61.c: Likewise.
8715         * iconvdata/iso646.c: Add prototypes for gconv_init and gconv_env.
8716         * iconvdata/unicode.c: Likewise.
8717         * iconvdata/utf-16.c: Likewise.
8718         * iconvdata/cns11643.h (ucs4_to_cns11643): Define needed as size_t.
8719         * iconv/gconv_trans.c (__gconv_translit_find): Avoid one warning
8720         with little code shuffling.
8722         * sysdeps/powerpc/Makefile (CFLAGS-initfini.s): Add -O1 to avoid
8723         the problems introduced when the user selects -O3.
8725         * iconv/gconv.h (__gconv_info): Define __data element using __flexarr.
8726         * misc/sys/cdefs.h: Define __flexarr.
8727         Proposed by Joseph S. Myers <jsm28@cam.ac.uk>.
8729         * iconvdata/iso-2022-jp.c: Add prototypes to avoid warnings.
8730         * iconv/skeleton.c: Likewise.
8731         * iconvdata/iso8859-1.c (BODY to 8859-1): Add const to cast.
8732         * iconv/loop.c (get16): Add const to cast.
8733         (get32): Likewise.
8735 2000-11-27  Andreas Jaeger  <aj@suse.de>
8737         * login/programs/pt_chown.c (do_pt_chown): Mark function as static
8738         to avoid warning.
8739         * login/programs/utmpdump.c (print_entry): Likewise.
8741 2000-11-25  Maciej W. Rozycki  <macro@ds2.pg.gda.pl>
8743         * sysdeps/mips/__longjmp.c (__longjmp): Restore SP and FP last and
8744         in a single asm as they may be used to access other stored
8745         registers.
8746         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
8748 2000-11-27  Andreas Jaeger  <aj@suse.de>
8750         * rt/tst-aio.c: Mark test functions as static to avoid warnings.
8751         * rt/tst-aio64.c: Likewise.
8753 2000-11-27  Ulrich Drepper  <drepper@redhat.com>
8755         * catgets/Makefile (test1.cat): Set LC_ALL, LOCPATH, and GCONV_PATH
8756         for gencat run.
8757         (libc.cat): Likewise.
8758         * catgets/gencat.c: Implement handling of message catalogs encoded
8759         with stateful character sets.
8760         Based on a patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
8762 2000-11-26  Ulrich Drepper  <drepper@redhat.com>
8764         * sysdeps/unix/opendir.c (__opendir): Add cast to avoid warning.
8766         * inet/getnameinfo.c: Adjust casts to avoid warnings.
8767         * inet/rcmd.c: Likewise.
8768         * inet/ruserpass.c: Likewise.
8769         * inet/netinet/in.h (IN6_IS_ADDR_UNSPECIFIED, IN6_IS_ADDR_LOOPBACK,
8770         IN6_IS_ADDR_MULTICAST, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
8771         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, IN6_ARE_ADDR_EQUAL,
8772         IN6_IS_ADDR_MC_NODELOCAL, IN6_IS_ADDR_MC_LINKLOCAL,
8773         IN6_IS_ADDR_MC_SITELOCAL, IN6_IS_ADDR_MC_ORGLOCAL,
8774         IN6_IS_ADDR_MC_GLOBAL): Preserve const in cast.
8775         * include/aliases.h: Add prototypes for internal __getalias* functions.
8776         * include/netdb.h: Add prototypes for __old_gethostent_r,
8777         __old_gethostbyaddr_r, __old_gethostbyname_r, __old_gethostbyname2_r,
8778         __old_getnetent_r, __old_getnetbyaddr_r, __old_getnetbyname_r,
8779         __old_getservent_r, __old_getservbyname_r, __old_getservbyport_r,
8780         __old_getprotoent_r, __old_getprotobyname_r, __old_getprotobynumber_r.
8781         * include/rpc/netdb.h: Add prototypes for __old_getrpcbyname_r,
8782         __old_getrpcbynumber_r, __old_getrpcent_r.
8784         * include/rpc/netdb.h: Add __getrpcbyname_r, __getrpcbynumber_r,
8785         __getrpcent_r prototypes.
8787 2000-11-25  Ulrich Drepper  <drepper@redhat.com>
8789         * string/strcoll.c: Add casts to avoid warnings.
8790         * string/strnlen.c: Likewise.
8791         * string/strxfrm.c: Likewise.
8792         * sysdeps/generic/_strerror.c: Likewise.
8793         * sysdeps/generic/memrchr.c: Likewise.
8794         * sysdeps/generic/strcasestr.c: Likewise.
8795         * sysdeps/generic/strstr.c: Likewise.
8797         * locale/weight.h (findidx): Add const to cast to avoid warning.
8799         * elf/loadfail.c: Little cosmetic changes to avoid warnings.
8800         * elf/loadtest.c: Likewise.
8801         * elf/multiload.c: Likewise.
8802         * elf/next.c: Likewise.
8803         * elf/nodelete.c: Likewise.
8804         * elf/noload.c: Likewise.
8805         * elf/order.c: Likewise.
8806         * elf/origtest.c: Likewise.
8807         * elf/preloadtest.c: Likewise.
8808         * elf/restest1.c: Likewise.
8810         * sysdeps/i386/i486/bits/string.h (__strncat_g) [i686]: Fourth
8811         parameter of asm must be in %ecx.
8813         * string/tester.c: Mark test functions as static to avoid warnings.
8815         * iconv/gconv_conf.c (read_conf_file): Make mod_counter static to
8816         preserve value over different gconv-modules files.
8818 2000-11-24  Ulrich Drepper  <drepper@redhat.com>
8820         * locale/findlocale.c: Add casts to avoid warnings.
8821         * locale/localeinfo.h (LIMAGIC): Add cast to avoid warnings.
8822         * misc/efgcvt_r.c (fcvt_r): Use ssize_t instead of int and add cast
8823         to avoid warnings.
8824         * misc/tsearch.c (const_node): New type.
8825         (trecurse): Correct casts to avoid warnings.
8826         (__twalk): Likewise.
8827         * stdlib/tst-limits.c: Add z modifier to formats for WORD_BIT and
8828         LONG_BIT.
8830         * debug/backtrace-tst.c (compare): Add casts to avoid warnings.
8832         * test-skeleton.c: Mark local functions as static to avoid warnings.
8834 2000-11-23  H.J. Lu  <hjl@gnu.org>
8836         * rt/tst-aio6.c (do_test): Use pipe instead of STDIN_FILENO to
8837         support the background job.
8838         Fix a typo.
8840 2000-11-24  Ulrich Drepper  <drepper@redhat.com>
8842         * iconv/gconv_conf.c (insert_module): Replace old entry if new one
8843         has same names but lower cost.
8845 2000-11-23  Jakub Jelinek  <jakub@redhat.com>
8847         * sysdeps/sparc/sparc32/dl-machine.h: Ifdef out handling for relocs
8848         which never occur during bootstrap.
8849         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
8851 2000-11-23  Andreas Jaeger  <aj@suse.de>
8853         * nss/nss_files/files-hosts.c: Remove getipnodebyname.
8855         * nss/Versions: Remove _nss_files_getipnodebyname_r.
8857         * sysdeps/unix/sysv/linux/Versions: Fix typo in last patch.
8859 2000-11-18  Martin Buchholz  <martin@xemacs.org>
8861         * csu/gmon-start.c (__gmon_start__): Avoid over-clever trick `if
8862         (called++) return;'
8864 2000-11-21  Alan Modra  <alan@linuxcare.com.au>
8866         * sysdeps/generic/bsd-_setjmp.c (setjmp): Rename to _setjmp.
8868         * csu/abi-note.S: Correct comment for operating system number.
8870 2000-11-22  Ulrich Drepper  <drepper@redhat.com>
8872         * Versions.def: Add GLIBC_2.2.1 for glibc.
8874 2000-11-22  Andreas Schwab  <schwab@suse.de>
8876         * sysdeps/unix/sysv/linux/syscalls.list: Add pivot_root.
8877         * sysdeps/unix/sysv/linux/Versions: Add pivot_root at GLIBC_2.2.1.
8879 2000-11-22  Ulrich Drepper  <drepper@redhat.com>
8881         * rt/aio_suspend.c (aio_suspend): Convert timeout value to
8882         absolute time for pthread_cond_timedwait call.
8883         Reported by Lawrence Chen <lchen@opentext.com> [libc/1930].
8885         * rt/Makefile (tests): Add tst-aio6.
8886         * rt/tst-aio6.c: New file.
8888 2000-11-23  Andreas Jaeger  <aj@suse.de>
8890         * sysdeps/s390/bits/string.h (strncat): Fix one more typo.
8892 2000-11-22  Andreas Jaeger  <aj@suse.de>
8894         * sysdeps/s390/bits/string.h (strncat): Add missing quotation marks.
8896 2000-11-21  Martin Schwidefsky  <schwidefsky@de.ibm.com>
8898         * sysdeps/s390/bits/string.h: Make strncat always add a \0.
8900 2000-11-21  Andreas Schwab  <schwab@suse.de>
8902         * sysdeps/alpha/setjmp.S: Remove __setjmp entry point.
8903         * sysdeps/arm/setjmp.S: Likewise.
8904         * sysdeps/arm/fpu/setjmp.S: Likewise.
8905         * sysdeps/i386/setjmp.S: Likewise.
8906         * sysdeps/i386/elf/setjmp.S: Likewise.
8907         * sysdeps/s390/setjmp.S: Likewise.
8908         * sysdeps/s390/elf/setjmp.S: Likewise.
8909         * sysdeps/sh/sh3/setjmp.S: Likewise.
8910         * sysdeps/sh/sh4/setjmp.S: Likewise.
8911         * sysdeps/sparc/sparc32/setjmp.S: Likewise.
8912         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
8913         * sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S: Likewise.
8914         * sysdeps/unix/sysv/linux/m68k/setjmp.c: Removed.
8916 2000-11-21  Andreas Jaeger  <aj@suse.de>
8918         * sysdeps/generic/__longjmp.c (__longjmp): Remove obsolete
8919         NORETURN, fix parameter list.
8921         * string/bug-strncat1.c (main): Fix typo.
8922         Patch by Bernhard Kaindl <bernhard.kaindl@suse.de>.
8924 2000-11-20  Ulrich Drepper  <drepper@redhat.com>
8926         * configure.in: Add --enable-all-warnings.
8927         * config.make.in (all-warnings): New variable.
8928         * Makeconfig (+gccwarn): Define with many more warnings if
8929         all-warnings is yes.
8931 2000-11-20  Jakub Jelinek  <jakub@redhat.com>
8933         * iconvdata/bug-iconv2.c (main): Use %zd in format string.
8934         * io/test-lfs.c (do_test): Cast statbuf.st_size to long long.
8935         * malloc/tst-valloc.c (main): Cast valloc return value to long.
8936         * malloc/tst-obstack.c (verbose_malloc): Use %zd in format string.
8937         * math/test-fpucw.c (main): Use %lx in format string, cast
8938         control words to long.
8939         * stdio-common/tst-fmemopen.c (main): Use %td in format strings.
8940         * stdlib/tst-strtol.c (tests): Avoid (bogus?) decimal constant is so
8941         large that it is unsigned warning.
8943         * sysdeps/unix/sysv/linux/sparc/bits/types.h (__ssize_t): Changing
8944         it to long on sparc64.
8946 2000-11-20  Andreas Jaeger  <aj@suse.de>
8948         * nscd/nscd.h (termination_handler): Add noreturn attribute.
8949         (receiv_print_stats): Likewise.
8951         * elf/ldconfig.c (path_hwcap): Cast -1 for proper comparison.
8953 2000-11-20  Ulrich Drepper  <drepper@redhat.com>
8955         * malloc/thread-m.h: gcc doesn't tolerate zero-sized types anymore.
8957         * csu/gmon-start.c: Always have prototype for __gmon_start.
8958         * csu/version.c: Add prototypes for __libc_print_version and
8959         __libc_main.
8960         * iconv/gconv.c: Include gconv_int.h and gconv.h.
8961         * iconv/gconv.h (struct __gconv_step): Remove const from __from_name
8962         and __to_name.
8963         * iconv/gconv_builtin.h: Add ASCII module definitions.
8964         * iconv/gconv_conf.c (__gconv_path_elem): Remove const.
8965         (add_module): Add cast to avoid warning.  Rework construction of
8966         strings for new module.
8967         * iconv/gconv_db.c (__gconv_alias_compare): Make s1 and s2 const.
8968         (derivation_compare): Likewise.
8969         * iconv/gconv_dl.c (do_release_shlib): Remove const from nodep.
8970         (__gconv_release_shlib): Cast do_release_shlib as parameter for twalk.
8971         * iconv/gconv_int.h (__gconv_path_elem): Remove const.
8972         (struct gconv_alias): Remove const from fromname and toname.
8973         * iconv/gconv_simple.c: Include gconv_builtin.h to get prototypes
8974         for loop functions.
8975         (internal_ucs4_loop): Use correct const-ness.
8976         (ucs4_internal_loop): Likewise.
8977         (internal_ucs4le_loop): Likewise.
8978         (ucs4le_internal_loop_single): Likewise.
8979         * iconv/gconv_trans.c (__gconv_transliterate): Make from_idx, from_tbl,
8980         to_idx, to_tbl, winbuf, winbufend const.  Change casts in
8981         assignments appropriately.
8982         (struct known_trans): Remove const from fname.
8983         (trans_compare): Make s1 and s2 const.
8984         * iconv/loop.c (LOOPFC): Make outend parameter const.  Add cast to
8985         avoid warning.
8986         * iconv/skeleton.c: Remove cast in calls of loop functions.
8987         * iconvdata/gconv-modules: Remove US-ASCII definitions.
8988         * iconvdata/iso646.c: Remove US_ASCII support.
8989         * include/set-hooks.h (DEFINE_HOOK): Also generate prototype.
8990         * include/unistd.h: Add __libc_check_standard_fds prototype.
8991         * string/bits/string2.h (__mempcpy_args): Add const to casts.
8992         * sysdeps/generic/initfini.c: Add prototypes for dummy, _init, and
8993         _fini.
8994         * sysdeps/generic/libc-start.c: Add prototype for __libc_start_main.
8995         * sysdeps/i386/i486/bits/string.h (strcmp): Add const to casts.
8996         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Add cast to avoid
8997         warning.
8998         * sysdeps/unix/sysv/linux/init-first.c: Add prototypes for
8999         __libc_init_first and _dl_start.
9000         * intl/dcigettext.c (transcmp): Make s1 and s2 const.
9001         (DCIGETTEXT): Make domaindata variable const.
9002         * intl/loadmsgcat.c (_nl_load_domain): Rearrange domain initialization
9003         to avoid warning.
9005 2000-11-20  Hiroyuki Machida  <machida@sm.sony.co.jp>
9007         * sysdeps/unix/sysv/linux/mips/clone.S: Fix comments.
9009         * sysdeps/unix/sysv/linux/mips/kernel_stat.h (kernel_stat): Expand
9010         time_t to 'long int' not, 'unsigned int'.  Use 'long int' for
9011         __unused? members.
9013         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (O_NOFOLLOW): Use same
9014         value defined in /usr/include/asm-mips/fcntl.h.
9016 2000-11-18  Ulrich Drepper  <drepper@redhat.com>
9018         * stdio-common/Makefile (tests): Add test-vfprintf.
9019         (test-vfprintf-ENV): New variable.
9020         * stdio-common/test-vfprintf.c: New file.
9022         * wcsmbs/mbrtowc.c (__mbrtowc): Do not only flush if input is '\0'.
9024         * wcsmbs/Makefile (tests): Add tst-mbrtowc and tst-wcrtomb.
9025         (tst-mbrtowc-ENV): New variable.
9026         (tst-wcrtomb-ENV): New variable.
9027         * wcsmbs/tst-mbrtowc.c: New file.
9028         * wcsmbs/tst-wcrtomb.c: New file.
9030 2000-11-16  Andreas Jaeger  <aj@suse.de>
9032         * manual/install.texi (Tools for Compilation): Update
9033         documentation for GCC 2.95.2.
9035 2000-11-18  Ulrich Drepper  <drepper@redhat.com>
9037         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only return -EAI_AGAIN
9038         if IPv4 and IPv6 requests timed out.
9040 2000-11-18  Akim Demaille  <akim@epita.fr>
9042         * malloc/obstack.h: Formatting changes.
9043         (obstack_grow, obstack_grow0): Don't cast WHERE at all: it
9044         prevents type checking.
9045         (obstack_ptr_grow, obstack_ptr_grow_fast): When assigning, don't
9046         cast the value to (void *): assigning a `foo *' to a `void *'
9047         variable is valid.
9048         (obstack_int_grow, obstack_int_grow_fast): Don't cast AINT to int.
9050 2000-11-17  Ulrich Drepper  <drepper@redhat.com>
9052         * scripts/config.guess: Update from upstream maintainer.
9053         * scripts/config.sub: Likewise.
9055 2000-11-16  Ulrich Drepper  <drepper@redhat.com>
9057         * libio/freopen.c (freopen): Reset _mode after succesful reopening.
9058         * libio/freopen64.c (freopen64): Likewise.
9059         Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
9061         * libio/Makefile: Add rules to build and run test-freopen.
9062         * libio/test-freopen.c: New file.
9063         * libio/test-freopen.sh: New file.
9065 2000-11-15  H.J. Lu  <hjl@gnu.org>
9067         * sysdeps/generic/ldsodefs.h (DL_DT_INIT_ADDRESS): Defined if
9068         ELF_FUNCTION_PTR_IS_SPECIAL is not defined.
9069         (DL_DT_FINI_ADDRESS): Likewise.
9071         * sysdeps/ia64/dl-lookupcfg.h (_dl_lookup_address): Set the
9072         return type to ElfW(Addr).
9073         (_dl_function_address): New prototype.
9074         (DL_FUNCTION_ADDRESS): Defined.
9075         (DL_DT_INIT_ADDRESS): Defined as DL_FUNCTION_ADDRESS.
9076         (DL_DT_FINI_ADDRESS): Likewise.
9078         * sysdeps/ia64/Versions (GLIBC_2.2): Add _dl_function_address.
9080         * sysdeps/ia64/dl-machine.h (_dl_start_address): Removed.
9081         (ELF_MACHINE_START_ADDRESS): Changed to DL_FUNCTION_ADDRESS.
9083         * sysdeps/ia64/dl-symaddr.c (_dl_start_address): Renamed to ...
9084         (_dl_function_address): This.
9086         * elf/dl-fini.c (_dl_fini): Use DL_DT_FINI_ADDRESS to get the
9087         function pointer for DT_FINI.
9088         * elf/dl-close.c (_dl_close): Likewise.
9090         * elf/dl-init.c (_dl_init): Use DL_DT_INIT_ADDRESS to get the
9091         function pointer for DT_INIT.
9093 2000-11-16  Jakub Jelinek  <jakub@redhat.com>
9095         * sysdeps/generic/printf_fphex.c (__printf_fphex): Compute correctly
9096         end of wexpbuf buffer.
9098 2000-11-16  Andreas Jaeger  <aj@suse.de>
9100         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove duplicate
9101         definition of F_GETLK, F_SETLK, F_SETLKW.
9103 2000-11-16  Andreas Jaeger  <aj@suse.de>
9105         * sysdeps/generic/dl-cache.c (_DL_PLATFORMS_COUNT): Define to 0 if
9106         it's not defined.
9108 2000-11-15  Jakub Jelinek  <jakub@redhat.com>
9110         * dlfcn/default.c (main): Add test for dladdr of main returning
9111         argv[0] in dli_fname field.
9113 2000-11-15  Jakub Jelinek  <jakub@redhat.com>
9115         * Makeconfig (run-program-prefix): Move test-static test into the
9116         variable.
9118         * sysdeps/alpha/dl-machine.h (RTLD_START): Update _dl_argv.
9119         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise,
9120         schedule instructions.
9121         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise,
9122         schedule instructions, fix a bug in copying auxiliary data.
9124 2000-11-15  Ulrich Drepper  <drepper@redhat.com>
9126         * manual/startup.texi (Program Arguments): Fix type of main's envp
9127         parameter.
9128         Reported by Raúl Núñez de Arenas Coronado <dervishd@linuxfreak.com>.
9130         * iconvdata/gconv-modules: Add CP950 alias.
9132 2000-11-13  Jakub Jelinek  <jakub@redhat.com>
9134         * sysdeps/unix/sysv/linux/Makefile: Allow ports to override
9135         syscall-list.h goal.
9136         * sysdeps/unix/sysv/linux/sparc/Makefile: New file.
9138 2000-11-15  Ulrich Drepper  <drepper@redhat.com>
9140         * intl/Makefile: tst-gettext2.sh does not need a third parameter.
9142         * intl/tst-gettext2.sh: Copy locale data.  Adjust LOCPATH.  Verify
9143         output of program.
9145         * intl/tst-gettext2.c: Set C locale if setting other locale
9146         failed.  Use gettext() not _().
9148         * locale/setlocale.c: Increment _nl_msg_cat_cntr whenever we
9149         successfully loaded a new locale.
9151 2000-11-13  Andreas Jaeger  <aj@suse.de>
9153         * configure.in: Require gcc 2.95 or newer.
9155 2000-11-15  Ulrich Drepper  <drepper@redhat.com>
9157         * sysdeps/unix/sysv/linux/paths.h: Adjust for FHS.
9158         Patch by Arkadiusz Miskiewicz <misiek@pld.ORG.PL>.
9160 2000-11-11  Jim Meyering  <meyering@lucent.com>
9162         * string/strndup.c (strndup): Cast return value to `char *'.
9164 2000-11-15  Jim Meyering  <meyering@ascend.com>
9166         * sysdeps/generic/memchr.c: Remove some useless parentheses.
9167         [HAVE_STDLIB_H || defined _LIBC]: Include <stdlib.h>.
9168         [HAVE_BP_SYM_H || defined _LIBC]: Guard inclusion of bp-sym.h.
9169         [! (HAVE_BP_SYM_H || defined _LIBC)] (BP_SYM): Define as no-op.
9170         Also #undef __memchr.
9171         Use `weak_alias' only if it's defined.
9173 2000-11-10  H.J. Lu  <hjl@gnu.org>
9175         * Makefile.in (install): Set LANGUAGE=C LC_ALL=C.
9177 2000-11-15  Andreas Jaeger  <aj@suse.de>
9179         * elf/chroot_canon.c: Include <stdint.h>.
9181         * elf/cache.c (struct cache_entry): Use uint64_t for hwcap.
9182         (print_entry): Likewise.
9183         (add_to_cache): Likewise.
9185         * elf/ldconfig.h (add_to_cache): Change prototype for hwcap change.
9187         * elf/ldconfig.c (struct lib_entry): Use uint64_t for hwcap.
9188         (path_hwcap): Likewise.
9189         (search_dir): Likewise.
9191         * sysdeps/generic/dl-cache.c (HWCAP_CHECK): Handle platform.
9193         * elf/cache.c (add_to_cache): Handle 64 bit hwcap entry.
9195         * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h
9196         (_dl_platform_string): New.
9197         (_DL_HWCAP_PLATFORM): New.
9198         (_dl_string_platform): New.
9199         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h: Likewise.
9201         * sysdeps/generic/dl-procinfo.h (_DL_HWCAP_COUNT): New.
9202         (_dl_string_platform): New.
9203         (_DL_HWCAP_PLATFORM): New.
9204         (_dl_platform_string): New.
9206         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Added x86 platform
9207         recognition.
9208         (_DL_HWCAP_COUNT): New.
9209         (_dl_string_platform): New.
9210         (_DL_HWCAP_PLATFORM): New.
9211         (_dl_platform_string): New.
9213 2000-11-14  Ulrich Drepper  <drepper@redhat.com>
9215         * iconvdata/gconv-modules: Add CP936 as alias for GBK.
9217 2000-11-14  Andreas Jaeger  <aj@suse.de>
9219         * sysdeps/generic/dl-cache.c (HWCAP_CHECK): Fix access to _dl_hwcap.
9221 2000-11-13  Roland McGrath  <roland@frob.com>
9223         * hurd/get-host.c (_hurd_get_host_config): Fix last change.
9225 2000-11-13  Marcus Brinkmann <marcus@gnu.org>
9227         * hurd/get-host.c (_hurd_get_host_config): Fix possible buffer
9228         underrun and make sure the result is null terminated even if there
9229         is no trailing newline.
9231 2000-11-13  Jakub Jelinek  <jakub@redhat.com>
9233         * sysdeps/alpha/fpu/libm-test-ulps: Update.
9235 2000-11-10  H.J. Lu  <hjl@gnu.org>
9237         * sysdeps/ia64/fpu/libm-test-ulps: Updated.
9239 2000-11-10  Andreas Jaeger  <aj@suse.de>
9241         * elf/ldconfig.c (create_links): Fix alloca calculation.
9242         Patch by Ben Collins <bcollins@debian.org>.
9244 2000-11-09  Ulrich Drepper  <drepper@redhat.com>
9246         * inet/getnameinfo.c (getnameinfo): Use correct destination
9247         parameter for if_indextoname.
9248         Patch by Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>.
9250 2000-11-09  H.J. Lu  <hjl@gnu.org>
9252         * sunrpc/Versions (GLIBC_2.1): Remove xdr_cryptkeyarg,
9253         xdr_cryptkeyarg2, xdr_cryptkeyres, xdr_des_block,
9254         xdr_key_netstarg, xdr_key_netstres, xdr_keybuf and
9255         xdr_keystatus.
9257         * time/Versions (GLIBC_2.1): Move getitimer to...
9258         * sysdeps/unix/sysv/linux/alpha/Versions (GLIBC_2.1): ...here.
9260 2000-11-03  Bruno Haible  <haible@clisp.cons.org>
9262         * manual/install.texi: Recommend to set LANGUAGE=C LC_ALL=C during
9263         "make install", to work around a binary incompatibility between
9264         glibc 2.1 and glibc 2.2 gconv modules.
9266 2000-11-09  Ulrich Drepper  <drepper@redhat.com>
9268         * intl/locale.alias: Add thai.
9269         Patch by Chanop Silpa-Anan <chanop@syseng.anu.edu.au>.
9271 2000-11-07  Akim Demaille  <akim@epita.fr>
9273         * malloc/obstack.c (obstack_grow, obstack_grow0): Rename the second
9274         argument `data' for consistency with the prototypes.
9275         Qualify it `const'.
9276         (obstack_copy, obstack_copy0): Rename the second argument as
9277         `address' for consistency.  Qualify it `const'.
9278         * malloc/obstack.h (obstack_copy, obstack_copy0, obstack_grow)
9279         (obstack_grow0, obstack_ptr_grow, obstack_ptr_grow_fast): Qualify
9280         `const' their input argument (`data' or `address').
9281         Adjust the corresponding macros to include `const' in casts.
9283 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
9285         * sysdeps/posix/getaddrinfo.c: Clean-up: define family to hold
9286         target family.
9288 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
9290         * sysdeps/posix/getaddrinfo.c: Loosen protocol check to ease raw
9291         socket creation.
9293 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
9295         * sysdeps/posix/getaddrinfo.c: Ensure to fill ai_socktype and
9296         ai_protocol by internal table if service was not given.
9298 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
9300         * sysdeps/posix/getaddrinfo.c: Don't raise an error even if
9301         numerical port was specified with protocol without socktype.
9303 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
9305         * sysdeps/posix/getaddrinfo.c: Ensure to check if protocol is ok.
9307 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
9309         * inet/getnameinfo.c: getnameinfo() NI_xxx flag validation.
9311 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
9313         * sysdeps/posix/getaddrinfo.c: Ensure not to fill garbage value in
9314         sin6_scope_id field.
9316 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
9318         * inet/getnameinfo.c: Repair getnameinfo() sin6_socpe_id support.
9320 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
9322         * inet/getnameinfo.c: Repair NI_NOFQDN flag support.
9324 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
9326         * inet/getnameinfo.c: Wake-up sin6_scope_id support in
9327         getnameinfo(): check for whether sin6_socpe_id exist was wrong.
9329 2000-11-09  Martin Schwidefsky  <mschwide@nc.boeblingen.de.ibm.com>
9331         * sysdeps/unix/sysv/linux/s390/mmap.S: Use mmap2 if it is present.
9332         * sysdeps/unix/sysv/linux/s390/mmap64.S: New file.
9334 2000-11-09  H.J. Lu  <hjl@gnu.org>
9336         * io/Versions (GLIBC_2.1.1): Remove lockf64.
9339 See ChangeLog.11 for earlier changes.