* sysdeps/unix/sysv/linux/m68k/sysdep.h (INLINE_SYSCALL): Don't
[glibc.git] / ChangeLog
blob32e12ac4cf72c7144e9d61cbc3d08f7e60e363f4
1 2001-07-22  Andreas Schwab  <schwab@suse.de>
3         * sysdeps/unix/sysv/linux/m68k/sysdep.h (INLINE_SYSCALL): Don't
4         mark asm input operand as clobbered.
5         * sysdeps/unix/sysv/linux/m68k/brk.c (__brk): Likewise.
7 2001-07-22  Ulrich Drepper  <drepper@redhat.com>
9         * iconv/gconv_builtin.c (struct builtin_map): Remove init and end
10         elements.
11         (BUILTIN_TRANSFORMATION): Remove Init and End parameters.
12         (__gconv_get_builtin_trans): Initialize __init_fct and __end_fct to
13         NULL.
14         * iconv/gconv_builtin.h: Remove NULL parameters for Init and End in
15         all BUILTIN_TRANSFORMATION calls.
16         * iconv/gconv_conf.c (BUILTIN_TRANSFORMATION): Remove Init and End
17         parameters.
18         * iconv/gconv_simple.c: Likewise.
19         * iconv/gconv_db.c (gen_steps): Internal converters don't have
20         initializers, move the code accordingly.
22         * iconv/gconv_conf.c (__gconv_read_conf): Don't read configuration
23         file if STATIC_GCONV is defined.
25         * iconv/gconv_conf.c (__gconv_path_envvar): New global variable.
26         (__gconv_get_path): Use it instead of call getenv.
27         (__gconv_read_conf): First see whether cache can be used.  If yes,
28         don't do any work here.
29         * iconv/gconv_db.c (__gconv_release_step): Renamed from release_step
30         and exported.  Change callers.
31         (__gconv_find_transform): First call __gconv_lookup_cache and only
32         continue if it signals no cache available.  Remove some unnecessary
33         tests.
34         * iconv/gconv_int.h: Declare __gconv_path_envvar, __gconv_lookup_cache,
35         __gconv_release_step, and __gconv_loaded_cache.
36         * iconv/gconv_cache.c: New file.
37         * iconv/iconvconfig.c: New file.
38         * iconv/iconvconfig.h: New file.
39         * iconv/strtab.c: New file.
40         * iconv/Makefile: Add rules to build new files and programs.
42 2001-07-20  Roland McGrath  <roland@frob.com>
44         * sysdeps/generic/device-nrs.h (DEV_TTY_P): Change argument type
45         from `dev_t' (st_rdev value) `const struct stat *'.
46         * sysdeps/unix/sysv/linux/device-nrs.h (DEV_TTY_P): Likewise.
47         * libio/filedoalloc.c (_IO_file_doallocate): Change caller.
48         * sysdeps/mach/hurd/device-nrs.h: New file.
50         * libio/stdio_ext.h: Moved to ...
51         * stdio-common/stdio_ext.h: ... here.
52         * libio/Makefile (headers): Move stdio_ext.h from here ...
53         * stdio-common/Makefile (headers): ... to here.
54         * include/stdio_ext.h: New file.
55         * stdio/Makefile (routines): Add the stdio_ext.h functions here.
56         * stdio/Versions (GLIBC_2.2.4): Export the stdio_ext.h functions.
57         * stdio/__flbf.c: New file.
58         * stdio/__fbufsize.c: New file.
59         * stdio/__fpending.c: New file.
60         * stdio/__fpurge.c: New file.
61         * stdio/__freadable.c: New file.
62         * stdio/__freading.c: New file.
63         * stdio/__fsetlocking.c: New file.
64         * stdio/__fwritable.c: New file.
65         * stdio/__fwriting.c: New file.
67 2001-07-20  Ulrich Drepper  <drepper@redhat.com>
68             Andreas Jaeger  <aj@suse.de>
70         * elf/ldconfig.c (search_dir): Avoid use of uninitialized memory.
71         Add a few __builtin_expect to mark unlikely error cases.
73 2001-07-20  Andreas Jaeger  <aj@suse.de>
75         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Synch with kernel.
76         Patch by Daniel Jacobowitz <dan@debian.org>.
78 2001-07-19  Ulrich Drepper  <drepper@redhat.com>
80         * intl/localealias.c: Remove unnecessary prototype.
82         * Makefile: Add html goal.
83         * manual/Makefile: Likewise.
85 2001-07-18  Ulrich Drepper  <drepper@redhat.com>
87         * libio/filedoalloc.c (_IO_file_doallocate): A few more minor
88         cleanups and improvements.
90 2001-07-18  Andreas Schwab  <schwab@suse.de>
92         * posix/regex.c (WORDCHAR_P) [WCHAR]: Also return true for the
93         underscore character.
95 2001-07-18  Jakub Jelinek  <jakub@redhat.com>
97         * malloc/malloc (new_heap): Don't call munmap for zero length.
99 2001-07-18  Ulrich Drepper  <drepper@redhat.com>
101         * libio/filedoalloc.c (_IO_file_doallocate): Use DEV_TTY_P if
102         available to determine whether descriptor is for tty before
103         calling isatty.
105         * sysdeps/unix/sysv/linux/device-nrs.h: Define DEV_TTY_P.
106         * sysdeps/generic/device-nrs.h: Likewise.
108 2001-07-18  Andreas Jaeger  <aj@suse.de>
110         * time/Makefile (tst-getdate-ENV): Add TZDIR to environment.
112         * time/Depend: New, add dependency on timezone.
114         * time/tst-getdate.c: Add testcase for bug report by Hendrik
115         Uhlmann <HUhlmann@stn-atlas.de>.
116         * time/datemsk: Likewise.
118 2001-07-17  Ulrich Drepper  <drepper@redhat.com>
120         * elf/ldconfig.c (parse_conf): Disable implicit locking for the
121         stream.  Remove some unnecessary initializers.
123 2001-07-17  Andreas Jaeger  <aj@suse.de>
125         * elf/ldconfig.c: Add new variable hwcap_mask to honour LD_HWCAP_MASK.
126         (is_hwcap_platform): Use it.
127         (set_hwcap): New function to set hwcap_mask.
128         (main): Call set_hwcap.
130 2001-07-17  Jakub Jelinek  <jakub@redhat.com>
132         * time/getdate.c (__getdate_r): Initialize tm_isdst, tm_gmtoff and
133         tm_zone before calling strptime.
135 2001-07-17  Andreas Schwab  <schwab@suse.de>
137         * sysdeps/unix/sysv/linux/m68k/getpagesize.c: Fix last change.
139 2001-07-17  Ulrich Drepper  <drepper@redhat.com>
141         * inet/rcmd.c (iruserfopen): Disable implicit locking for the stream.
142         * inet/ruserpass.c (ruserpass): Likewise.
143         * nss/nsswitch.c (nss_parse_file): Likewise.
144         * resolv/res_hconf.c (_res_hconf_init): Likewise.
145         * resolv/res_init.c (__res_vinit): Likewise.
146         * gmon/bb_exit_func.c (__bb_exit_func): Likewise.
147         * misc/getpass.c (getpass): Likewise.
148         * misc/getusershell.c (initshells): Likewise.
149         * misc/getttyent.c (setttyent): Likewise.
150         * misc/mntent_r.c (__setmntent): Likewise.
151         * time/getdate.c (__getdate_r): Likewise.
152         * time/tzfile.c (__tzfile_read): Likewise.
153         * iconv/gconv_conf.c (read_conf_file): Likewise.
154         * intl/localealias.c (read_alias_file): Disable implicit locking
155         for the stream.  Use _unlocked functions for glibc.
156         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Disable
157         implicit locking for the stream.
158         (__get_nprocs_conf): Likewise.
159         (phys_pages_info): Likewise.
161 2001-07-16  Ulrich Drepper  <drepper@redhat.com>
163         * nscd/connections.c: Print messages caused by user application
164         only if debug_level > 0.  Add little performance improvements.
165         Use TEMP_FAILURE_RETRY around write calls.
166         * nscd/grpcache.c: Likewise.
167         * nscd/hstcache.c: Likewise.
168         * nscd/pwdcache.c: Likewise.
170 2001-07-13  H.J. Lu  <hjl@gnu.org>
172         * sysdeps/mips/dl-machine.h (MAP_BASE_ADDR): Removed.
173         (elf_machine_got_rel): Defined only if RTLD_BOOTSTRAP is not defined.
174         (RESOLVE_GOTSYM): Rewrite to use RESOLVE.
176         * sysdeps/mips/rtld-ldscript.in: Removed.
177         * sysdeps/mips/rtld-parms: Likewise.
178         * sysdeps/mips/mips64/rtld-parms: Likewise.
179         * sysdeps/mips/mipsel/rtld-parms: Likewise.
181 2001-07-16  Ulrich Drepper  <drepper@redhat.com>
183         * catgets/test-gencat.sh: Use <<"EOF" instead of <<EOF to prevent
184         substitution in here document.
186 2001-07-16  Andreas Schwab  <schwab@suse.de>
188         * sysdeps/posix/spawni.c: Fix typo when iterating over signal numbers.
190 2001-07-16  Andreas Schwab  <schwab@suse.de>
192         * math/libm-test.inc (check_float_internal): Fix sign bit test of
193         infinities.
195 2001-07-16  Jakub Jelinek  <jakub@redhat.com>
197         * sysdeps/i386/fpu/e_expl.c (__ieee754_expl): Make it PIC friendly.
199 2001-07-15  Ulrich Drepper  <drepper@redhat.com>
201         * malloc/obstack.c: Define __attribute__ for non-gcc compilers.
202         Patch by Jim Meyering <jim@meyering.net>.
204 2001-07-12  Martin Schwidefsky  <schwidefsky@de.ibm.com>
206         * sysdeps/unix/sysv/linux/s390/s390-64/bits/sigaction.h: Reorder
207         fields in the sigaction struct to match the definition in the kernel.
209 2001-07-12  Martin Schwidefsky  <schwidefsky@de.ibm.com>
211         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Correct the
212         test for ENOSYS.
214 2001-07-12  Martin Schwidefsky  <schwidefsky@de.ibm.com>
216         * sysdeps/s390/s390-32/bits/setjmp.h: Add leading underscores
217         to the entries in the __jmp_buf structure.
218         * sysdeps/s390/s390-64/bits/setjmp.h: Likewise.
220 2001-07-12  Martin Schwidefsky  <schwidefsky@de.ibm.com>
222         * sysdeps/s390/s390-32/bcopy.S: Use mvcle for big blocks
223         (> 64K) and a mvc loop for small blocks.
224         * sysdeps/s390/s390-32/memcpy.S: Likewise.
225         * sysdeps/s390/s390-64/bcopy.S: Likewise.
226         * sysdeps/s390/s390-64/memcpy.S: Likewise.
228 2001-07-15  Andreas Schwab  <schwab@suse.de>
230         * sysdeps/unix/sysv/linux/m68k/sys/procfs.h: New file.
231         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: New file.
233         * sysdeps/unix/sysv/linux/m68k/getpagesize.c: Check _dl_pagesize
234         first.  Default to 4096, not EXEC_PAGESIZE.
236         * iconv/loop.c (put16) [!_STRING_ARCH_unaligned && BIG_ENDIAN]:
237         Fix index.
239 2001-07-09  Andreas Jaeger  <aj@suse.de>
241         * sysdeps/unix/sysv/linux/i386/dl-procinfo.c: Name entry for xmm2.
243         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Add HWCAP_I386_XMM,
244         HWCAP_I386_XMM2 to enum.
246 2001-07-13  Andreas Jaeger  <aj@suse.de>
248         * libio/fileops.c: Include unistd.h for lseek64 prototype.  Closes
249         PR libc/2372.
251 2001-07-12  Ulrich Drepper  <drepper@redhat.com>
253         * Makeconfig: Add some more changes to handle AIX linker better.
255 2001-07-12  H.J. Lu  <hjl@gnu.org>
257         * sysdeps/generic/segfault.c: Include <errno.h>.
259 2001-07-01  Andreas Jaeger  <aj@suse.de>
261         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk): Remove duplicate
262         sbrk.  Closes PR libc/2312.
264 2001-07-01  Andreas Jaeger  <aj@suse.de>
266         * sysdeps/generic/segfault.c (install_handler): Handle case that
267         the output file does not exists.  Closes PR libc/2345.
269 2001-07-11  Ulrich Drepper  <drepper@redhat.com>
271         * intl/locale.alias: Use he language code for hebrew, not il
272         [PR libc/2382].
274 2001-07-11  Jakub Jelinek  <jakub@redhat.com>
276         * iconv/gconv_int.h: Fix comment typo.
278 2001-07-11  Igor Khavkine  <i_khavki@alcor.concordia.ca>
280         * hurd/hurdsig.c (_hurdsig_init): Remove a useless line of code.
282 2001-07-07  Roland McGrath  <roland@frob.com>
284         * hurd/hurdsig.c (_hurd_thread_sigstate): Use MACH_PORT_NULL, not 0.
286 2001-07-10  Stephen L Moshier  <moshier@mediaone.net>
288         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl):  Fix
289         backwards conditional in test for x == 1.0.
291 2001-07-10  Andreas Jaeger  <aj@suse.de>
293         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Add ulps for tanh
294         (-0.7).
296 2001-07-09  Andreas Jaeger  <aj@suse.de>
298         * sysdeps/unix/sysv/linux/configure.in: Revert patch from
299         2001-07-05 for sysconfdir handling.
300         * config.make.in (sysconfdir): Likewise.
301         * configure.in: Likewise.
303         * configure.in: Always assign libc_cv_sysconfdir.
305 2001-07-08  Ulrich Drepper  <drepper@redhat.com>
307         * Makerules [AIX] (build-shlib-helper): Precede linker options
308         with -Wl.
310         * Makeconfig (config-LDFLAGS): Add ld.so only for ELF.
312         * sysdeps/unix/make_errlist.c: Adjust sys_errlist declaration to
313         what we define in <stdio.h>.
315         * iconv/iconv_prog.c (main): Don't unconditionally define
316         variables only use if _POSIX_MAPPED_FILES is defined.
318         * sysdeps/unix/sysv/aix/sendmsg.c (sendmsg): Fix return type.
319         * sysdeps/unix/sysv/aix/recvmsg.c (recvmsg): Likewise.
321         * sysdeps/unix/sysv/aix/recv.c: New file.
323         * sysdeps/unix/sysv/aix/recvfrom.c: Fix various types.
325 2001-07-07  Ulrich Drepper  <drepper@redhat.com>
327         * sysdeps/generic/recv.c: Fix return type.
329         * sysdeps/unix/sysv/aix/dl-libc.c (__libc_dlclose): Fix typo.
331         * sysdeps/unix/sysv/aix/gettimeofday.c (__gettimeofday): Add
332         declarations for asm functions.
334         * include/libc-symbols.h: Provide more dummy definitions for the
335         case if GNU ld isn't used.
337         * libio/freopen.c: Include <stdlib.h> for free declaration.
338         * libio/freopen64.c: Likewise.
340         * sysdeps/alpha/fpu/libm-test-ulps: Add deltas for tanh(-0.7).
342 2001-07-06  Jakub Jelinek  <jakub@redhat.com>
344         * sysdeps/unix/sysv/linux/i386/sigaction.c (RESTORE2): Put asm
345         explicitly into .text section.
347 2001-04-16  Jes Sorensen  <jes@linuxcare.com>
349         * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h (struct sigcontext):
350         Add 16 longwords reserved for future use to match changes in the
351         kernel.
353 2001-07-03  Jes Sorensen  <jes@trained-monkey.org>
355         * sysdeps/ia64/strncpy.S: Call strnlen() when determining the
356         string length rather than strlen(). Solves the performance problem
357         of doing strlen on a 5MB string when strncpy was called with a
358         length argument of 5 bytes.
360 2001-07-02  Jakub Jelinek  <jakub@redhat.com>
362         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
363         R_SPARC_UA16 and R_SPARC_UA32.
364         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
366 2001-07-01  Stephen L Moshier  <moshier@mediaone.net>
368         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl):
369         acosh(x) = ln(2x) if x > 2^30.
370         * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl):
371         acosh(x) = ln(2x) if x > 2^54.
373 2001-07-07  Mark Kettenis  <kettenis@gnu.org>
375         * sysdeps/mach/hurd/i386/exc2signal.c (_hurd_exception2signal):
376         Generate SIGSEGV instead of SIGBUS for KERN_INVALID_ADDRESS and
377         KERN_WRITE_PROTECTION_FAILURE.
379 2001-07-07  Ulrich Drepper  <drepper@redhat.com>
381         * posix/regex.c: Limit string length printed in debug messages to
382         100 chars.
384         * configure.in: Don't warn about versioning if not on ELF system.
386 2001-07-07  Andreas Jaeger  <aj@suse.de>
388         * sysdeps/*: Put files from GNU MP Library under LGPL v2.1.
390 2001-07-06  Ulrich Drepper  <drepper@redhat.com>
392         * po/gl.po: Update from translation team.
394 2001-07-06  Andreas Jaeger  <aj@suse.de>
396         * sysdeps/unix/sysv/linux/configure.in: Fix handling of
397         sysconfdir.
399         * manual/libc-texinfo.sh: Add note for the FDL.
401         * manual/argp.texi (Argp Example 4): Fix texinfo warning.
403         * manual/libc.texinfo: Regenerated.
405         * manual/fdl.texi: Fix node.
407         * config.make.in (sysconfdir): Replace correctly.
408         Closes PR libc/2369, reported by Peter Simons <simons@cryp.to>.
410         * sysdeps/unix/sysv/linux/alpha/configure.in: Removed, it's no
411         longer needed.
413         * sysdeps/unix/sysv/linux/configure.in (libc_cv_linuxVER): Add
414         case for alpha.
415         Rework handling of missing linuxthreads add-on.
417         * configure.in: Remove unused sysconfdir substitution.
419         * manual/Makefile (texis): Add fdl.texi.
420         * manual/fdl.texi: New.
421         * manual/socket.texi (Host Names): Improve grammar, fix overflow hbox.
422         * manual/libc.texinfo: Add fdl, update titlepage.
423         Patches by Brian Youmans <3diff@gnu.org>.
425         * sysdeps/unix/make_errlist.c (main): Print LGPL v2.1 for
426         generated file.
428 2001-07-06  Paul Eggert  <eggert@twinsun.com>
430         * manual/argp.texi: Remove ignored LGPL copyright notice; it's
431         not appropriate for documentation anyway.
432         * manual/libc-texinfo.sh: "Library General Public License" ->
433         "Lesser General Public License".
434         * COPYING: Fix Y2k bug in sample copyright notices.
435         * manual/lesser.texi: Renamed from manual/lgpl.texinfo,
436         as fsf.org uses the name "lesser.texi".
437         * manual/Makefile (texis): Follow rename.
439 2001-07-06  Andreas Jaeger  <aj@suse.de>
441         * All files under GPL/LGPL version 2: Place under LGPL version
442         2.1.
444 2001-07-05  Andreas Jaeger  <aj@suse.de>
446         Synch with Linux 2.4.6:
447         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_BLUETOOTH):
448         New.
449         (AF_BLUETOOTH): New.
451         * sysdeps/unix/sysv/linux/s390/s390-64/bits/socket.h
452         (PF_BLUETOOTH): New.
453         (AF_BLUETOOTH): New.
455         * sysdeps/unix/sysv/linux/mips/bits/socket.h (AF_BLUETOOTH): New.
456         (PF_BLUETOOTH): New.
458         * sysdeps/unix/sysv/linux/ia64/bits/socket.h (AF_BLUETOOTH): New.
459         (PF_BLUETOOTH): New.
461         * sysdeps/unix/sysv/linux/alpha/bits/socket.h (PF_BLUETOOTH): New.
462         (AF_BLUETOOTH): New.
464         * sysdeps/unix/sysv/linux/bits/socket.h (PF_BLUETOOTH): New.
465         (AF_BLUETOOTH): New.
467         * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_IEEE80211): New.
469         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (N_HCI): New.
471         * sysdeps/unix/sysv/linux/mips/bits/ioctl-types.h (N_HCI): New.
473         * sysdeps/unix/sysv/linux/bits/ioctl-types.h (N_HCI): New.
475 2001-07-04  Roland McGrath  <roland@frob.com>
477         * hurd/hurdsig.c (_hurd_internal_post_signal): For SS->suspended
478         wakeup message, use MACH_MSG_TYPE_MAKE_SEND for the receiver port
479         rather than doing a mach_port_insert_right call first.
481 2001-06-26  Roland McGrath  <roland@frob.com>
483         * hurd/hurdioctl.c: Include <string.h> for memcpy decl.
485 2001-07-03  Andreas Jaeger  <aj@suse.de>
487         * sysdeps/unix/sysv/sysv4/solaris2/configure.in: Remove check for
488         crypt add-on.
490 2001-07-01  Mark Kettenis  <kettenis@gnu.org>
492         * sysdeps/mach/hurd/if_index.c: Redone to use new interfaces in
493         the Hurd pfinet server, using equivalent code from the Linux
494         version in sysdeps/unix/sysv/linux/if_index.c. In detail:
495         Include <unistd.h>, <error.h>, <sys/ioctl.h>, <hurd/ioctl.h> and
496         <hurd/pfinet.h>.  Don't include <sys/mman.h> and <hurd/fsys.h>
497         anymore.
498         (if_nametoindex): New implementation using SIOCGIFINDEX.
499         (if_freenameindex): Straight copy of the Linux version.
500         (if_nameindex): New implementation based on pfinet_siocgifconf and
501         SIOCGIFINDEX.
502         (if_indextoname): New implementation using SIOCGIFNAME.
503         (map_interfaces): Function removed.
504         From Marcus Brinkmann <marcus@gnu.org>.
506 2001-06-30  Jakub Jelinek  <jakub@redhat.com>
508         * sysdeps/powerpc/dl-machine.c (__elf_preferred_address): Prefer
509         gaps below main executable.
511 2001-06-19  Andreas Jaeger  <aj@suse.de>
513         * sysdeps/powerpc/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE):
514         Handle profiling.
516 2001-06-29  Andreas Jaeger  <aj@suse.de>
518         * sysdeps/ieee754/ldbl-128/s_asinhl.c: New file.
519         Patch by Stephen L Moshier <moshier@mediaone.net>.
521 2001-06-28  Ulrich Drepper  <drepper@redhat.com>
523         * manual/argp.texi: Tons of cleanups.
524         Patch by Clifford U. Smith <cuel@swbell.net>.
526 2001-06-28  Mark Kettenis  <kettenis@gnu.org>
528         * manual/users.texi (Setting Groups): Correct initgroups
529         documentation.  Add documentation for getgrouplist.
531 2001-06-28  H.J. Lu  <hjl@gnu.org>
533         * locale/findlocale.c (locale_file_list): Renamed to ...
534         (_nl_locale_file_list): This.  Make it extern.
535         (free_mem): Move to ...
536         * locale/setlocale.c (free_mem): Here.
538 2001-06-28  Mark Kettenis  <kettenis@gnu.org>
540         * sysdeps/mach/hurd/read.c: Include <hurd/fd.h>.
541         (__libc_read): Don't call __pread.  Use _hurd_fd_read directly
542         instead.
543         * sysdeps/mach/hurd/write.c: Include <hurd/fd.h>.
544         (__libc_write): Don't call __pwrite.  Use _hurd_fd_write directly
545         instead.
547         * sysdeps/mach/hurd/Makefile ($(link-rpcuserlibs)): Add back
548         -Wl,-soname option lost in 2001-06-16 change.
550 2001-06-27  Ulrich Drepper  <drepper@redhat.com>
552         * posix/tst-regex.c: Pass REG_NEWLINE to regcomp.  Add extra tests.
553         Restrict printing of string in debug mode to 100 characters to make
554         the output useful for long input texts.
556         * posix/Makefile: Add rules to build and run tst-regex.
558 2001-06-20  Isamu Hasegawa  <isamu@yamato.ibm.com>
560         * posix/regex.c (FREE_WCS_BUFFERS): New macro to free buffers.
561         (re_search_2): Invoke convert_mbs_to_wcs and FREE_WCS_BUFFERS.
562         (wcs_re_match_2_internal): Check whether the wcs buffers need
563         seting up or not, and skip seting up routin if not needed.
565 2001-06-26  Isamu Hasegawa  <isamu@yamato.ibm.com>
567         * posix/regex.c (count_mbs_length): Use binary search for optimization.
569 2001-06-27  Ulrich Drepper  <drepper@redhat.com>
571         * posix/tst-regex.c: Fix several bugs.  Add more tests.
573 2001-06-26  Mark Kettenis  <kettenis@gnu.org>
575         * hurd/Makefile (user-interfaces): Add pfinet.
576         * hurd/hurdioctl.c: Include <hurd/pfinet.h>, <net/if.h> and
577         <netinet/in.h>.
578         (siocgifconf): New function.  Register it with HURD_HANDLE_IOCTL
579         as the handler for SIOCGIFCONF.
580         * sysdeps/mach/hurd/bits/ioctls.h: Modify SIOCSIFFLAGS and
581         SIOCGIFFLAGS to be of IOC type ifreq_short.  Modify SIOCSIFMETRIC
582         and SIOCGIFMETRIC to be of IOC type ifreq_int.  Add new macro
583         definitions for SIOCGIFMTU, SIOCSIFMTU, SIOCGIFINDEX and
584         SIOCGIFNAME.
585         From Marcus Brunkmann <marcus@gnu.org>.
587 2001-06-25  Ulrich Drepper  <drepper@redhat.com>
589         * sysdeps/gnu/net/if.h: Correct _IOT_ifreq and add _IOT_ifreq_short
590         and _IOT_ifreq_int.  Patch by Mark Kettenis <kettenis@wins.uva.nl>.
592         * elf/dl-deps.c (_dl_map_object_deps): Fix handling of failing
593         _dl_catch_error calls.
595 2001-06-22  Jakub Jelinek  <jakub@redhat.com>
597         * posix/regex.c (regex_compile, re_match_2_internal): Fix comment
598         typos.
600 2001-06-01  Wolfram Gloger  <wg@malloc.de>
602         * malloc/malloc.c (malloc_atfork, free_atfork): Use a unique value
603         ATFORK_ARENA_PTR, not 0, for the thread-specific arena pointer
604         when malloc_atfork is in use.
606 2001-06-22  Andreas Jaeger  <aj@suse.de>
608         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Add parenthese
609         to avoid warnings.
611         * sysdeps/i386/fpu/e_expl.c (__ieee754_expl): Remove unused
612         variable.
613         Add unused attributes to avoid warnings.
615         * elf/reldep4mod4.c: Add prototype to avoid warning.
616         * elf/reldep4mod2.c: Likewise.
618         * sysdeps/i386/fpu/e_expl.c: Include <math_private.h> for
619         prototypes.
621 2001-06-18  Roland McGrath  <roland@frob.com>
623         * hurd/hurd/fd.h (_hurd_fd_error_signal): Change return type to int.
625 2001-06-20  Alexandre Oliva  <aoliva@redhat.com>
627         * sysdeps/unix/sysv/settimeofday.c: Include time.h.
629 2001-06-19  Martin Schwidefsky  <schwidefsky@de.ibm.com>
631         * sysdeps/unix/sysv/linux/s390/s390-64/dl-cache.h: New file.
633 2001-05-09  Michael Keezer  <mkeezer@redhat.com>
635         * Makeconfig: Added AIX-ld support for DSO.
636         * Makerules: Likewise.
637         * dlfcn/Makefile (defaultmod1.so): Added libc_nonshared.
638         (defaultmod2.so): Likewise.
639         * debug/Makefile: Conditionalize use of elf/ld.so.
640         * iconvdata/Makefile: Moved LDFLAG rpath/soname info into Makeconfig.
642         * sysdeps/unix/sysv/aix/Makefile: Added dl-support.c and dl-error.c.
643         * sysdeps/unix/sysv/aix/Makefile: Made (f/g)rsave(0/1) &
644         (f/g)prrest(0/1) static only.
645         * sysdeps/unix/sysv/aix/gettimeofday.c: Removed #if 0.
646         * sysdeps/unix/sysv/aix/start.c: Define __dso_handle if not ELF but
647         shared.
648         * sysdeps/unix/sysv/aix/setitimer.c: New file.
649         * sysdeps/unix/sysv/aix/sleep.c: New file.
650         * sysdeps/unix/sysv/aix/usleep.c: New file.
651         * sysdeps/unix/sysv/aix/dl-addr.c: New file.
652         * sysdeps/unix/sysv/aix/dl-error.c: New file.
653         * sysdeps/unix/sysv/aix/dl-support.c: New file.
654         * sysdeps/unix/sysv/aix/powerpc/register-dump.h: New file.
656 2001-06-19  Ulrich Drepper  <drepper@redhat.com>
658         * po/es.po: Update from translation team.
660 2001-06-19  Andreas Jaeger  <aj@suse.de>
662         * sysdeps/ieee754/ldbl-128/s_tanhl.c: New file.
664         * math/libm-test.inc (tanh_test): Test for 2^-56.
666         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Make sure result
667         equals argument when x < 2^-55.
668         Patches by Stephen L. Moshier <moshier@na-net.ornl.gov>.
670 2001-06-17  Alan Modra  <amodra@bigpond.net.au>
672         * sysdeps/hppa/dl-machine.h (elf_machine_rela): Handle relocs
673         at unaligned address.
675 2001-06-18  Ulrich Drepper  <drepper@redhat.com>
677         * posix/regex.c: Reorganize code to build code twice, once for single
678         byte, once for multi-byte charsets.  Choose function set adequate for
679         locale at runtime.
680         Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
682         * po/nl.po: Update from translation team.
684 2001-06-09  Bruno Haible  <haible@clisp.cons.org>
686         * iconvdata/gconv-modules (BIG5HKSCS): New alias BIG5-HKSCS.
687         (ISO-8859-14): New aliases ISO_8859-14 and ISO-CELTIC.
688         * iconvdata/tst-tables.sh: For BIG5HKSCS, use BIG5-HKSCS charmap.
690 2001-05-26  Bruno Haible  <haible@clisp.cons.org>
692         * iconvdata/tst-tables.sh: For SJIS module, use SHIFT_JIS charmap.
693         * manual/charset.texi: Write Shift_JIS, not Shift-JIS.
695 2001-06-17  Roland McGrath  <roland@frob.com>
697         * sysdeps/pthread/aio_misc.h (LIO_DSYNC): Define to LIO_NOP + 1,
698         not LIO_READ + 1 (which is the value of LIO_WRITE!).
700         * Makerules (build-module-helper-objlist): New variable,
701         broken out of build-module.  Insert --whole-archive/--no-whole-archive
702         immediately each *_pic.a file in the link object list.
703         (whole-archive): New variable, used by that.
704         (build-module-objlist): New variable using build-module-helper-objlist.
705         (build-module, build-module-helper): Use it.
706         (build-shlib-objlist): New variable using build-module-helper-objlist.
707         (build-shlib): Use that.
708         * sysdeps/mach/hurd/Makefile ($(link-rpcuserlibs)): Likewise.
710         * posix/spawni.c: Moved to ...
711         * sysdeps/posix/spawni.c: ... here.
712         * sysdeps/generic/spawni.c: New file.
714 2001-06-16  Roland McGrath  <roland@frob.com>
716         * hurd/Makefile (routines): Add lookup-retry.
717         * hurd/hurdlookup.c (__hurd_file_name_lookup_retry): Broken out ...
718         * hurd/lookup-retry.c: ... into here, new file.
719         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Call that instead
720         using of duplicate code here.
722         * hurd/hurdexec.c (_hurd_exec): Be robust for DTABLESIZE==0.
724 2001-06-17  Ulrich Drepper  <drepper@redhat.com>
726         * po/ja.po: Update from translation team.
728 2001-06-04  Bruno Haible  <haible@clisp.cons.org>
730         * locale/programs/locfile.c (siblings_uncached, siblings, full_read,
731         compare_files): New functions.
732         (write_locale_data): Use xmalloc.  Compare the file with the locale
733         data files for the same category in other locales, and reuse it if
734         possible and safe.
736 2001-06-07  Mark Kettenis  <kettenis@gnu.org>
738         * grp/initgroups.c (initgroups): Factor out re-usable code into...
739         (internal_getgrouplist): ... new function.
740         (getgrouplist): New function.
741         * grp/grp.h (getgrouplist): New prototype.
742         * grp/Versions [2.2.4]: Add getgrouplist.
744 2001-06-16  Ulrich Drepper  <drepper@redhat.com>
746         * inet/netinet/ip6.h: Fix comments in ip6_hdr.
747         Patch by Pekka Savola <pekkas@netcore.fi>.
749 2001-06-15  Roland McGrath  <roland@frob.com>
751         * rt/Makefile (aio-routines, clock-routines, timer-routines): New
752         variables, broken out of librt-routines.
753         (librt-routines): Set using those.
754         (extra-libs, extra-libc-others, tests): Set these unconditionally.
755         (distribute): No need for $(librt-map) or $(librt-routines:=.c) here.
756         * sysdeps/generic/aio_fsync.c: New file.
757         * sysdeps/generic/aio_misc.c: New file.
758         * sysdeps/generic/aio_write.c: New file.
759         * sysdeps/generic/aio_write64.c: New file.
760         * sysdeps/generic/aio_read64.c: New file.
761         * sysdeps/generic/aio_read.c: New file.
762         * sysdeps/generic/aio_notify.c: New file.
763         * sysdeps/generic/lio_listio64.c: New file.
764         * sysdeps/generic/lio_listio.c: New file.
765         * sysdeps/generic/aio_cancel.c: New file.
766         * sysdeps/generic/aio_misc.h: New file.
767         * sysdeps/generic/aio_suspend.c: New file.
768         * rt/aio_cancel.c: Moved to ...
769         * sysdeps/pthread/aio_cancel.c: ... here.
770         * rt/aio_fsync.c: Moved to ...
771         * sysdeps/pthread/aio_fsync.c: ... here.
772         * rt/aio_misc.c: Moved to ...
773         * sysdeps/pthread/aio_misc.c: ... here.
774         * rt/aio_misc.h: Moved to ...
775         * sysdeps/pthread/aio_misc.h: ... here.
776         * rt/aio_notify.c: Moved to ...
777         * sysdeps/pthread/aio_notify.c: ... here.
778         * rt/aio_read.c: Moved to ...
779         * sysdeps/pthread/aio_read.c: ... here.
780         * rt/aio_read64.c: Moved to ...
781         * sysdeps/pthread/aio_read64.c: ... here.
782         * rt/aio_suspend.c: Moved to ...
783         * sysdeps/pthread/aio_suspend.c: ... here.
784         * rt/aio_write.c: Moved to ...
785         * sysdeps/pthread/aio_write.c: ... here.
786         * rt/aio_write64.c: Moved to ...
787         * sysdeps/pthread/aio_write64.c: ... here.
788         * rt/lio_listio.c: Moved to ...
789         * sysdeps/pthread/lio_listio.c: ... here.
790         * rt/lio_listio64.c: Moved to ...
791         * sysdeps/pthread/lio_listio64.c: ... here.
793 2001-06-14  Roland McGrath  <roland@frob.com>
795         * configure.in: Let sysdeps Implies files in add-ons bring in
796         sysdeps directories from the main source and other add-ons too.
798 2001-06-15  Jakub Jelinek  <jakub@redhat.com>
800         * math/test-misc.c (main): Add tests for nextafter and nexttoward
801         with +-Inf as second argument.
803         * sysdeps/generic/s_nexttowardf.c (__nexttowardf): Only check for
804         NaN, not Inf.
805         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Fix check for NaN.
806         * sysdeps/i386/fpu/s_nexttoward.c: New.
807         * sysdeps/i386/fpu/s_nexttowardf.c: New.
808         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Simplify
809         check for NaN, optimize x==+-0 handling.
810         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf): Likewise.
811         * sysdeps/ieee754/ldbl-96/s_nextafterl.c (__nextafterl): Simplify
812         check for NaN, fix sign in x==+-0 case.
813         * sysdeps/ia64/fpu/s_nexttoward.c: New.
814         * sysdeps/ia64/fpu/s_nexttowardf.c: New.
816 2001-06-15  H.J. Lu  <hjl@gnu.org>
818         * rt/tst-aio2.c (do_test): Initialize cb.aio_offset to 0.
819         * rt/tst-aio3.c (do_test): Likewise.
820         * rt/tst-aio4.c (do_test): Likewise.
821         * rt/tst-aio5.c (do_test): Likewise.
822         * rt/tst-aio6.c (do_test): Likewise.
824 2001-06-15  Andreas Schwab  <schwab@suse.de>
826         * sysdeps/m68k/fpu/bits/mathinline.h: Don't define log2 as inline.
827         * sysdeps/m68k/fpu/mathimpl.h: Define __ieee754_log2 as inline.
829 2001-06-15  Andreas Jaeger  <aj@suse.de>
831         * gmon/tst-sprofil.c (fac): Make static to avoid compiler warning.
833 2001-06-14  Andreas Schwab  <schwab@suse.de>
835         * elf/ldconfig.c (search_dir): Fix check for regular file.
837         * sysdeps/m68k/fpu/e_log2f.c: Fix typo.
838         * sysdeps/m68k/fpu/e_log2l.c: Fix typo.
840 2001-06-14  Roland McGrath  <roland@frob.com>
842         * sysdeps/mach/hurd/bits/fcntl.h [ __USE_POSIX199309 || __USE_UNIX98]:
843         (O_DSYNC, O_RSYNC): New macros, both defined to O_SYNC as Linux does.
845 2001-06-13  Roland McGrath  <roland@frob.com>
847         * rt/aio_notify.c: Include <unistd.h> for _POSIX_REALTIME_SIGNALS.
849         * sysdeps/mach/hurd/fork.c (LOSE): Put `goto lose' in dead code
850         so the label is not considered unused.
852         * sysdeps/mach/hurd/pwrite64.c: New file.
853         * sysdeps/mach/hurd/pread64.c: New file.
855         * sysdeps/mach/hurd/pread.c
856         (__libc_pread): Define this name, with __pread as an alias.
857         * sysdeps/mach/hurd/pwrite.c
858         (__libc_pwrite): Define this name, with __pwrite as an alias.
860         Implement POSIX "shared memory objects" as regular
861         files residing in the /var/run/shm/ directory.
862         This works on any system that supports _POSIX_MAPPED_FILES,
863         to make it also support _POSIX_SHARED_MEMORY_OBJECTS.
864         * sysdeps/posix/shm_open.c: New file.
865         * sysdeps/posix/shm_unlink.c: New file.
866         * sysdeps/mach/hurd/bits/posix_opt.h
867         (_POSIX_SHARED_MEMORY_OBJECTS): Define it.
869         * rt/aio_notify.c (__aio_notify_only) [! _POSIX_REALTIME_SIGNALS]:
870         Use raise instead of __aio_sigqueue.
872         * sysdeps/mach/hurd/pread.c: Fail with EINVAL if OFFSET is negative.
873         * sysdeps/mach/hurd/pwrite.c: Likewise.
875         * shlib-versions [USE_IN_LIBIO] (.*-.*-gnu-gnu.*): libc=0.3
876         [USE_IN_LIBIO && !GLIBC_OLDEST_ABI] (.*-.*-gnu-gnu.*): Use GLIBC_2.2.4
877         as default version set.
879 2001-06-13  Ulrich Drepper  <drepper@redhat.com>
881         * libio/iolibio.h (_IO_freopen): Correct last parameter to
882         _IO_file_open.
883         (_IO_freopen64): Likewise.
884         Reported by simanek@quantum.karlov.mff.cuni.cz [PR libc/2326].
886         * elf/elf.h: Add a few more EM_* constants.
888 2001-06-12  Bruno Haible  <haible@clisp.cons.org>
890         * intl/dcigettext.c (DCIGETTEXT): Release the lock before returning.
892 2001-06-09  Ben Collins  <bcollins@debian.org>
894         * sysdeps/unix/sysv/linux/bits/termios.h: Define __MAX_BAUD.
895         * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
896         * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
897         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
898         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
899         * sysdeps/unix/sysv/linux/speed.c: Use __MAX_BAUD instead of
900         hardcoded B400000.
902 2001-06-13  Ulrich Drepper  <drepper@redhat.com>
904         * time/sys/time.h: Don't use enum __itimer_which ever for
905         __itimer_which_t for C++.
906         Reported by Martin Buchholz <martin@xemacs.org>.
908         * po/fr.po: Update from translation team.
910 2001-06-12  H.J. Lu  <hjl@gnu.org>
912         * configure.in: Fix typos in missing program names.
913         * configure: Regenerated.
915 2001-06-12  Andreas Jaeger  <aj@suse.de>
917         * iconvdata/tst-table-to.c: Include string.h for strcmp prototype.
919         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Add ULPs for tanh (-0.7).
921 2001-06-11  Andreas Jaeger  <aj@suse.de>
923         * sysdeps/ieee754/ldbl-128/e_coshl.c: New file.  Contributed by
924         Stephen L Moshier <moshier@mediaone.net>.
926         * aclocal.m4: Quote AC_FD_MSG and AC_FD_CC.
928         * sysdeps/powerpc/fpu/libm-test-ulps: Add ULPs for tanh (-0.7).
929         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
931 2001-06-11  Michael Deutschmann  <michael@talamasca.ocis.net>
933         * rt/tst-aio4.c (do_test): Test whether rt signals are supported.
934         Use my_signo instead of MY_SIGNO and initialize it so that the
935         used signal is always available.
937 2001-06-11  Andreas Jaeger  <aj@suse.de>,
938             Michael Deutschmann  <michael@talamasca.ocis.net>
940         * io/test-lfs.c (do_prepare): Clean up error messages.
941         (test_ftello): Check for EFBIG and ENOSPC, clean up error messages.
942         (do_test): Likewise.
944 2001-06-11  Andreas Jaeger  <aj@suse.de>
946         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (IXANY, IUCLC,
947         IMAXBEL): Make always visible since they're needed by POSIX.
948         Closes PR libc/2320, reported by Chris Yeoh <cyeoh@samba.org>.
950 2001-06-10  Ben Collins  <bcollins@debian.org>
952         * sysdeps/arm/elf/start.S: Use #function, not @function, for
953         .type of _start.
955         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Include limits.h to get
956         INT_MAX.
958 2001-06-07  H.J. Lu  <hjl@gnu.org>
960         * sunrpc/rpc/rpc.h: Add __BEGIN_DECLS/__END_DECLS.
962 2001-06-10  Roland McGrath  <roland@frob.com>
964         * elf/reldep4mod2.c: Use fully typed decls to avoid warnings.
965         * elf/reldep4mod4.c: Likewise.
967 2001-06-10  Mark Kettenis  <kettenis@gnu.org>
969         * hurd/hurd/threadvar.h: Add prototype for __hurd_errno_location.
971 2001-06-08  Andreas Schwab  <schwab@suse.de>
973         * posix/regex.c (re_match_2_internal) [case wordbeg, wordend]:
974         Don't dereference at end of string.
976 2001-06-06  Roland McGrath  <roland@frob.com>
978         * sysdeps/mach/hurd/getsockopt.c: Fix handling of returned buffer size.
979         From Robert Bihlmeyer <robbe@orcus.priv.at>.
981 2001-06-06  Ulrich Drepper  <drepper@redhat.com>
983         * po/ko.po: Update from translation team.
985 2001-06-06  Andreas Jaeger  <aj@suse.de>
987         * manual/llio.texi (Memory-mapped I/O): Clarify that mapping is to
988         offset+length-1.
989         Reported by Robert Bernecky <bernecky@acm.org>.
991 2001-06-06  Jakub Jelinek  <jakub@redhat.com>
993         * sysdeps/cris/elf/start.S: Fix a typo introduced by last patch.
994         * sysdeps/ia64/elf/start.S: Likewise.
995         * sysdeps/sh/elf/start.S: Likewise.
996         * sysdeps/s390/s390-32/elf/start.S: Likewise.
997         * sysdeps/s390/s390-64/elf/start.S: Likewise.
999 2001-06-05  Matthew Wilcox  <willy@ldl.fc.hp.com>
1001         * sysdeps/hppa/bsd-_setjmp.S: New.
1002         * sysdeps/hppa/bsd-setjmp.S: New.
1004         * sysdeps/hppa/dl-machine.h: Reformat asm statements to remove new
1005         gcc warnings about multi-line strings.
1007         * sysdeps/unix/sysv/linux/hppa/getrlimit.c: Remove.
1008         * sysdeps/unix/sysv/linux/hppa/setrlimit.c: Remove.
1010         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Call getrlimit,
1011         setrlimit directly instead of using wrappers.
1013 2001-05-01  Richard Hirst  <rhirst@linuxcare.com>
1015         * sysdeps/unix/sysv/linux/hppa/syscall.S: remove dummy syscall.
1016         * sysdeps/unix/sysv/linux/hppa/sysdep.c: implement syscall.
1018 2001-06-05  Philipp Thomas  <pthomas@suse.de>
1020         * nis/nis_call.c (__nisbind_connect): Don't mark for translation
1021         what can't be translated.
1023 2001-06-06  Ulrich Drepper  <drepper@redhat.com>
1025         * timezone/zic.c: Update from tzcode2001c.
1026         * timezone/private.h: Likewise.
1027         * timezone/africa: Update from tzdata2001c.
1028         * timezone/asia: Likewise.
1029         * timezone/europe: Likewise.
1030         * timezone/northamerica: Likewise.
1031         * timezone/southamerica: Likewise.
1032         * timezone/zone.tab: Likewise.
1034 2001-06-04  Bruno Haible  <haible@clisp.cons.org>
1036         * iconv/loop.c (UNICODE_TAG_HANDLER): New macro.
1037         * iconv/gconv_simple.c (__gconv_transform_internal_ascii): Invoke
1038         UNICODE_TAG_HANDLER.
1039         (__gconv_transform_internal_ucs2): Likewise.
1040         (__gconv_transform_internal_ucs2reverse): Likewise.
1041         * iconvdata/8bit-gap.c (BODY for TO_LOOP): Invoke UNICODE_TAG_HANDLER.
1042         * iconvdata/8bit-generic.c (BODY for TO_LOOP): Likewise.
1043         * iconvdata/ansi_x3.110.c (BODY for TO_LOOP): Likewise.
1044         * iconvdata/big5.c (BODY for TO_LOOP): Likewise.
1045         * iconvdata/big5hkscs.c (BODY for TO_LOOP): Likewise.
1046         * iconvdata/cp1255.c (BODY for TO_LOOP): Likewise.
1047         * iconvdata/cp1258.c (BODY for TO_LOOP): Likewise.
1048         * iconvdata/euc-cn.c (BODY for TO_LOOP): Likewise.
1049         * iconvdata/euc-jp.c (BODY for TO_LOOP): Likewise.
1050         * iconvdata/euc-kr.c (BODY for TO_LOOP): Likewise.
1051         * iconvdata/euc-tw.c (BODY for TO_LOOP): Likewise.
1052         * iconvdata/gbk.c (BODY for TO_LOOP): Likewise.
1053         * iconvdata/ibm930.c (BODY for TO_LOOP): Likewise.
1054         * iconvdata/ibm932.c (BODY for TO_LOOP): Likewise.
1055         * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
1056         * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
1057         * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
1058         * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
1059         * iconvdata/ibm943.c (BODY for TO_LOOP): Likewise.
1060         * iconvdata/iso646.c (BODY for TO_LOOP): Likewise.
1061         * iconvdata/iso8859-1.c (BODY for TO_LOOP): Likewise.
1062         * iconvdata/iso_6937.c (BODY for TO_LOOP): Likewise.
1063         * iconvdata/iso_6937-2.c (BODY for TO_LOOP): Likewise.
1064         * iconvdata/iso-2022-cn.c (BODY for TO_LOOP): Likewise.
1065         * iconvdata/iso-2022-cn-ext.c (BODY for TO_LOOP): Likewise.
1066         * iconvdata/iso-2022-kr.c (BODY for TO_LOOP): Likewise.
1067         * iconvdata/johab.c (BODY for TO_LOOP): Likewise.
1068         * iconvdata/sjis.c (BODY for TO_LOOP): Likewise.
1069         * iconvdata/t.61.c (BODY for TO_LOOP): Likewise.
1070         * iconvdata/uhc.c (BODY for TO_LOOP): Likewise.
1071         * iconvdata/unicode.c (BODY for TO_LOOP): Likewise.
1072         * iconvdata/iso-2022-jp.c (TAG_none, TAG_language, TAG_language_j,
1073         TAG_language_ja, TAG_language_k, TAG_language_ko, TAG_language_z,
1074         TAG_language_zh, CURRENT_TAG_MASK): New enum values.
1075         (EMIT_SHIFT_TO_INIT): Don't emit an escape sequence if ASCII_set
1076         is already selected but set2 or tag are set.
1077         (conversion): New enum type.
1078         (cvlist_t): New type.
1079         (CVLIST, CVLIST_FIRST, CVLIST_REST): New macros.
1080         (conversion_lists): New array.
1081         (BODY for TO_LOOP): Keep track of Unicode 3.1 language tag.  If "ja",
1082         prefer conversion to Japanese character sets.  If "zh", prefer
1083         conversion to GB2312.  If "ko", prefer conversion to KSC5601.  Small
1084         optimizations.
1085         (INIT_PARAMS): Add tag.
1086         (UPDATE_PARAMS): Add tag.
1088 2001-06-04  Bruno Haible  <haible@clisp.cons.org>
1090         * locale/programs/locfile.c (write_locale_data): Before creat(),
1091         unlink the file, to avoid crashing the processes that mmap it.  Change
1092         a double slash to a single slash.  Free fname in case of error return.
1094 2001-06-02  Jakub Jelinek  <jakub@redhat.com>
1096         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Mostly revert 2000-12-03
1097         changes, do the special handling for denormal numbers, not for
1098         normalized numbers (patch by <trevin@xmission.com>).
1100         * math/test-misc.c (main): Test frexpl with denormal arguments.
1102 2001-06-04  Jakub Jelinek  <jakub@redhat.com>
1104         * math/libm-test.inc (llround_test): Add two new llround tests.
1105         * sysdeps/ieee754/ldbl-96/s_llroundl.c (__llroundl): Don't allow
1106         overflow when rounding away from zero.
1108 2001-06-04  Jakub Jelinek  <jakub@redhat.com>
1110         * math/Makefile (libm-calls): Add e_log2, w_log2, remove s_log2.
1111         * math/math_private.h (__ieee754_log2, __ieee754_log2f,
1112         __ieee754_log2l): New prototypes.
1113         * sysdeps/generic/w_log2.c: New file.
1114         * sysdeps/generic/w_log2f.c: New file.
1115         * sysdeps/generic/w_log2l.c: New file.
1116         * sysdeps/generic/s_log2l.c: Move...
1117         * sysdeps/generic/e_log2l.c: ...to here.  Rename to __ieee754_log2l.
1118         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle log2(0)
1119         and log2(x < 0).
1120         * sysdeps/i386/fpu/s_log2.S: Move...
1121         * sysdeps/i386/fpu/e_log2.S: ...to here.  Rename to __ieee754_log2.
1122         * sysdeps/i386/fpu/s_log2f.S: Move...
1123         * sysdeps/i386/fpu/e_log2f.S: ...to here.  Rename to __ieee754_log2f.
1124         * sysdeps/i386/fpu/s_log2l.S: Move...
1125         * sysdeps/i386/fpu/e_log2l.S: ...to here.  Rename to __ieee754_log2l.
1126         * sysdeps/m68k/fpu/s_log2.c: Move...
1127         * sysdeps/m68k/fpu/e_log2.c: ...to here.  Rename to __ieee754_log2.
1128         * sysdeps/m68k/fpu/s_log2f.c: Move...
1129         * sysdeps/m68k/fpu/e_log2f.c: ...to here.  Rename to __ieee754_log2f.
1130         * sysdeps/m68k/fpu/s_log2l.c: Move...
1131         * sysdeps/m68k/fpu/e_log2l.c: ...to here.  Rename to __ieee754_log2l.
1132         * sysdeps/ieee754/dbl-64/s_log2.c: Move...
1133         * sysdeps/ieee754/dbl-64/e_log2.c: ...to here.  Rename to
1134         __ieee754_log2.
1135         * sysdeps/ieee754/flt-32/s_log2f.c: Move...
1136         * sysdeps/ieee754/flt-32/e_log2f.c: ...to here.  Rename to
1137         __ieee754_log2f.
1139 2001-06-04  Jakub Jelinek  <jakub@redhat.com>
1141         * sysdeps/generic/w_exp2.c (u_threshold): Lower threshold so that
1142         even arguments which result in denormalized exp2 are accepted.
1143         (__exp2): Arguments equal to u_threshold already result into
1144         underflow.
1145         * sysdeps/generic/w_exp2f.c (u_threshold, __exp2f): Likewise.
1146         * sysdeps/generic/w_exp2l.c (u_threshold, __exp2l): Likewise.
1147         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Lomark was too
1148         low, with corrected lowmark use greaterequal, not greater.
1149         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
1151 2001-06-04  Jakub Jelinek  <jakub@redhat.com>
1153         * math/libm-test.inc (ilogb_test): Test that ilogb(+-Inf) == INT_MAX.
1154         * sysdeps/i386/fpu/s_ilogb.S (__ilogb): Return INT_MAX for +-Inf.
1155         * sysdeps/i386/fpu/s_ilogbf.S (__ilogbf): Likewise.
1156         * sysdeps/i386/fpu/s_ilogbl.S (__ilogbl): Likewise.
1157         * sysdeps/ieee754/dbl-64/s_ilogb.c (__ilogb): Likewise.
1158         * sysdeps/ieee754/flt-32/s_ilogbf.c (__ilogbf): Likewise.
1159         * sysdeps/ieee754/ldbl-128/s_ilogbl.c (__ilogbl): Likewise.
1160         * sysdeps/ieee754/ldbl-96/s_ilogbl.c (__ilogbl): Likewise.
1162 2001-06-04  Jakub Jelinek  <jakub@redhat.com>
1164         * sysdeps/generic/w_coshl.c (__coshl): Test if finite argument
1165         gave non-finite result instead of using constant in generic
1166         version.
1167         * sysdeps/generic/w_coshf.c (__coshf): Likewise.
1168         * sysdeps/generic/w_cosh.c (__cosh): Likewise.
1169         * sysdeps/generic/w_exp10.c (o_threshold, u_threshold): Remove.
1170         (__exp10): Test if finite argument gave non-finite result.
1171         * sysdeps/generic/w_exp10f.c (o_threshold, u_threshold, __exp10f):
1172         Likewise.
1173         * sysdeps/generic/w_exp10l.c (o_threshold, u_threshold, __exp10l):
1174         Likewise.
1176 2001-06-04  Jakub Jelinek  <jakub@redhat.com>
1178         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Fix
1179         overflow threshold constant (log(LDBL_MAX)+M_LN2l).
1181 2001-05-29  Bruno Haible  <haible@clisp.cons.org>
1183         * locale/programs/ld-ctype.c (idx_table): New struct type.
1184         (idx_table_init, idx_table_get, idx_table_add): New functions.
1185         (MAX_CHARNAMES_IDX): Remove macro.
1186         (locale_ctype_t): Change type of charnames_idx field.
1187         (ctype_startup): Change initialization of charnames_idx field.
1188         (find_idx): Use idx_table_get and idx_table_add for speed.
1190         * locale/programs/charmap.c (charmap_new_char): Fix ucs4 value
1191         computation of characters in a range.
1193 2001-05-29  Bruno Haible  <haible@clisp.cons.org>
1195         * iconvdata/gb18030.c (__fourbyte_to_ucs1): Add mappings for <U03F4>,
1196         <U03F5>.
1197         (__ucs_to_gb18030_tab1): Likewise.
1198         (BODY for FROM_LOOP): Add mapping for <U00010000>..<U0010FFFF>.
1199         (BODY for TO_LOOP): Likewise.
1200         * iconvdata/tst-table-charmap.sh: Update for charmaps containing
1201         <U00xxxxxx> syntax.
1202         * iconvdata/tst-table-from.c (bmp_only): New variable.
1203         (utf8_decode): If bmp_only, don't return characters outside Unicode
1204         plane 0.
1205         (main): When testing UTF-8 or GB18030, set bmp_only to 1.  Don't print
1206         a conversion line if utf8_decode returns NULL.
1207         * iconvdata/tst-table-to.c (main): When testing encodings other than
1208         UTF-8 and GB18030, loop upto U+30000 instead of U+10000.  Use UTF-8
1209         instead of UCS-2 as input.
1210         * iconvdata/tst-table.sh: For GB18030, use only the part < 0x10000
1211         of the charmap.
1213 2001-05-29  Bruno Haible  <haible@clisp.cons.org>
1215         * iconvdata/cns11643l1.c: Update to Unicode 3.1.
1216         (__cns11643l1_to_ucs4_tab): Regenerated.
1217         (__cns11643l1_from_ucs4_tab12): Regenerated.
1218         * iconvdata/cns11643.c: Update to Unicode 3.1.
1219         (__cns11643l14_to_ucs4_tab): Remove array.
1220         (__cns11643l3_to_ucs4_tab, __cns11643l4_to_ucs4_tab,
1221         __cns11643l5_to_ucs4_tab, __cns11643l6_to_ucs4_tab,
1222         __cns11643l7_to_ucs4_tab, __cns11643l15_to_ucs4_tab): New arrays.
1223         (__cns11643_from_ucs4p0_tab): Renamed from __cns11643_from_ucs4_tab.
1224         (__cns11643_from_ucs4p2_tab): New array.
1225         * iconvdata/cns11643.h (__cns11643l14_to_ucs4_tab): Remove declaration.
1226         (__cns11643l3_to_ucs4_tab, __cns11643l4_to_ucs4_tab,
1227         __cns11643l5_to_ucs4_tab, __cns11643l6_to_ucs4_tab,
1228         __cns11643l7_to_ucs4_tab, __cns11643l15_to_ucs4_tab): New declarations.
1229         (cns11643_to_ucs4): Treat planes 3, 4, 5, 6, 7, 15 instead of 14.
1230         (__cns11643_from_ucs4_tab): Remove declaration.
1231         (__cns11643_from_ucs4p0_tab, __cns11643_from_ucs4p2_tab): New
1232         declarations.
1233         (ucs4_to_cns11643): Update for new arrays.  Treat U+3400..U+4DFF and
1234         U+20000..U+2A6D6.
1235         * iconvdata/cns11643l2.h (__cns11643_from_ucs4_tab): Remove
1236         declaration.
1237         (__cns11643_from_ucs4p0_tab): New declaration.
1238         (ucs4_to_cns11643l2): Update for new arrays.
1239         * iconvdata/iso-2022-cn-ext.c (BODY for FROM_LOOP): Handle planes
1240         3 to 7.
1241         (BODY for TO_LOOP): Handle planes 3 to 7, instead of plane 14.
1242         * iconvdata/EUC-TW.irreversible: New file.
1243         * iconvdata/tst-table.sh: Use it.
1244         * iconvdata/Makefile (distribute): Add CP1255.irreversible,
1245         CP1258.irreversible, EUC-TW.irreversible.
1247 2001-05-29  Bruno Haible  <haible@clisp.cons.org>
1249         * locale/C-translit.h.in: Add transliterations for new Unicode 3.1
1250         mathematical symbols.
1252 2001-06-05  Andreas Jaeger  <aj@suse.de>
1254         * manual/stdio.texi (Portable Positioning): Fix description of
1255         fpos_t and fpos64_t.
1257 2001-06-06  Ulrich Drepper  <drepper@redhat.com>
1259         * sysdeps/generic/wordexp.c: Undo last patch.  Use strndupa instead.
1261         * po/sk.po: Update from translation team.
1263 2001-06-05  Andreas Jaeger  <aj@suse.de>
1265         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Recognize
1266         tmpfs, patch by Stanislav Brabec <utx@penguin.cz>.
1267         Closes PR libc/2315.
1269 2001-06-05  Ulrich Drepper  <drepper@redhat.com>
1271         * sysdeps/generic/wordexp.c: Add missing free.
1272         Patch by yeti@physics.muni.cz.
1274 2001-06-02  Tom Browder  <tbrowder@home.com>
1276         * misc/tst-tsearch.c (mangle_tree): Ensure array indices are
1277         within bounds when lag > 0.
1279 2001-06-05  Ulrich Drepper  <drepper@redhat.com>
1281         * po/tr.po: New file.
1283 2001-06-05  Andreas Jaeger  <aj@suse.de>
1285         * manual/libm-err-tab.pl (parse_ulps): Fix typo.
1287 2001-06-04  H.J. Lu  <hjl@gnu.org>
1289         * sysdeps/alpha/elf/start.S: Add .type for the entry point.
1290         * sysdeps/arm/elf/start.S: Likewise.
1291         * sysdeps/hppa/elf/start.S: Likewise.
1292         * sysdeps/i386/elf/start.S: Likewise.
1293         * sysdeps/m68k/elf/start.S: Likewise.
1294         * sysdeps/mips/elf/start.S: Likewise.
1295         * sysdeps/ia64/elf/start.S: Likewise.
1296         * sysdeps/sh/elf/start.S: Likewise.
1297         * sysdeps/s390/s390-32/elf/start.S: Likewise.
1298         * sysdeps/s390/s390-64/elf/start.S: Likewise.
1299         * sysdeps/cris/elf/start.S: Likewise.
1301 2001-06-04  Bruce Mitchener  <bruce@cubik.org>
1303         * manual/resource.texi: Correct setpriority/nice documentation.
1305         * sysdeps/unix/nice.c: Correct nice() implementation.
1307 2001-06-04  Andreas Jaeger  <aj@suse.de>
1309         * sysdeps/ieee754/ldbl-128/e_sinhl.c: New file, contributed by
1310         Stephen L Moshier <moshier@mediaone.net>.
1312 2001-06-03  Roland McGrath  <roland@frob.com>
1314         * Makefile (postclean): Remove obsolete sysd-Makefile.
1316 2001-06-01  Roland McGrath  <roland@frob.com>
1318         * sysdeps/alpha/fpu/fclrexcpt.c: #include <shlib-compat.h>
1319         and use compat_symbol/versioned_symbol instead of plain
1320         symbol_version/default_symbol_version.
1321         * sysdeps/alpha/fpu/fegetenv.c: Likewise.
1322         * sysdeps/alpha/fpu/fesetenv.c: Likewise.
1323         * sysdeps/alpha/fpu/feupdateenv.c: Likewise.
1324         * sysdeps/alpha/fpu/fgetexcptflg.c: Likewise.
1325         * sysdeps/alpha/fpu/fraiseexcpt.c: Likewise.
1326         * sysdeps/alpha/fpu/fsetexcptflg.c: Likewise.
1327         * sysdeps/arm/fpu/fclrexcpt.c: Likewise.
1328         * sysdeps/arm/fpu/fegetenv.c: Likewise.
1329         * sysdeps/arm/fpu/fesetenv.c: Likewise.
1330         * sysdeps/arm/fpu/fraiseexcpt.c: Likewise.
1331         * sysdeps/arm/fpu/fsetexcptflg.c: Likewise.
1332         * sysdeps/i386/fpu/fclrexcpt.c: Likewise.
1333         * sysdeps/i386/fpu/fegetenv.c: Likewise.
1334         * sysdeps/i386/fpu/fesetenv.c: Likewise.
1335         * sysdeps/i386/fpu/feupdateenv.c: Likewise.
1336         * sysdeps/i386/fpu/fgetexcptflg.c: Likewise.
1337         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
1338         * sysdeps/i386/fpu/fsetexcptflg.c: Likewise.
1339         * sysdeps/m68k/fpu/fclrexcpt.c: Likewise.
1340         * sysdeps/m68k/fpu/fegetenv.c: Likewise.
1341         * sysdeps/m68k/fpu/fesetenv.c: Likewise.
1342         * sysdeps/m68k/fpu/feupdateenv.c: Likewise.
1343         * sysdeps/m68k/fpu/fgetexcptflg.c: Likewise.
1344         * sysdeps/m68k/fpu/fraiseexcpt.c: Likewise.
1345         * sysdeps/m68k/fpu/fsetexcptflg.c: Likewise.
1346         * sysdeps/powerpc/fclrexcpt.c: Likewise.
1347         * sysdeps/powerpc/fpu/fegetenv.c: Likewise.
1348         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
1349         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
1350         * sysdeps/powerpc/fpu/fgetexcptflg.c: Likewise.
1351         * sysdeps/powerpc/fpu/fraiseexcpt.c: Likewise.
1352         * sysdeps/powerpc/fpu/fsetexcptflg.c: Likewise.
1354         * iconvdata/cp1258.c: Include <stdlib.h> for abort decl.
1355         * iconvdata/iso-2022-cn-ext.c: Likewise.
1357 2001-06-01  Andreas Jaeger  <aj@suse.de>
1359         * Versions.def: Add version 2.2.4.
1361 2001-06-01  Ulrich Drepper  <drepper@redhat.com>
1363         * socket/Makefile (routines): Add sockatmark.
1364         * socket/Versions [GLIBC_2.2.4]: Add sockatmark.
1365         * socket/sys/socket.h: Add prototype for sockatmark.
1366         * sysdeps/generic/sockatmark.c: New file.
1367         * sysdeps/unix/sockatmark.c: New file.
1369 2001-06-01  Andreas Jaeger  <aj@suse.de>
1371         * sysdeps/unix/sysv/linux/speed.c (cfsetispeed): Max speed is
1372         B4000000.
1373         (cfsetospeed): Likewise.
1374         Reported by Lukasz Trabinski <lukasz@lt.wsisiz.edu.pl>.
1376 2001-05-31  Joseph S. Myers  <jsm28@cam.ac.uk>
1378         * misc/sys/cdefs.h (__restrict_arr): Define to empty for C++.
1380 2001-05-30  Martin Schwidefsky  <schwidefsky@de.ibm.com>
1382         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: greg_t
1383         needs to have the same aligment as the kernel structure.
1385 2001-05-29  Jakub Jelinek  <jakub@redhat.com>
1387         * sunrpc/rpc/types.h (u_char, u_short, u_int, u_long, quad_t,
1388         u_quad_t, fsid_t, daddr_t, caddr_t): Make sure the types are defined.
1389         * posix/sys/types.h (u_char, u_short, u_int, u_long, quad_t,
1390         u_quad_t, fsid_t, daddr_t, caddr_t): Protect the __USE_BSD typedefs
1391         against multiple definition.
1393 2001-05-30  Ulrich Drepper  <drepper@redhat.com>
1395         * po/da.po: Update from translation team.
1397 2001-05-29  Andreas Jaeger  <aj@suse.de>
1399         * sysdeps/ieee754/ldbl-128/e_acosl.c: New file, contributed by
1400         Stephen L Moshier <moshier@mediaone.net>.
1402         * math/libm-test.inc (sinh_test): Add new test case.
1404         * sysdeps/ieee754/ldbl_96/e_sinhl.c (__ieee754_sinhl): sinhl(x) =
1405         x when x < 2^-32.
1406         Patch by Stephen L Moshier <moshier@mediaone.net>.
1408 2001-05-23  Andreas Jaeger  <aj@suse.de>
1410         * iconvdata/testdata/WINDOWS-1255..UTF-8: Renamed to...
1411         * iconvdata/testdata/WINDOWS-1255..UTF8: this.
1413 2001-05-27  Andreas Jaeger  <aj@suse.de>
1415         * manual/stdio.texi (String Streams): Fix fmemopen description.
1416         Reported by Michal Kochanowicz <michal@michal.waw.pl>.
1418 2001-05-26  H.J. Lu <hjl@gnu.org>
1420         * sysdeps/unix/sysv/linux/mips/syscalls.list: Change sigsuspend
1421         to s_sigsuspend.  Add s_mmap2.
1423         * sysdeps/mips/atomicity.h: New file.
1425         * sysdeps/unix/sysv/linux/mips/getsysstats.c: New file.
1427         * sysdeps/unix/sysv/linux/mips/bits/ipc.h (ipc_perm): Put
1428         back __key.
1430 2001-05-25  Bruce Mitchener  <bruce@cubik.org>
1432         * manual/ctype.texi: Minor fix.
1433         * manual/install.texi: Likewise.
1434         * manual/startup.texi: Likewise.
1435         * manual/examples/dir.c: Use perror() rather than puts().
1437 2001-05-25  David Mosberger  <davidm@hpl.hp.com>
1439         * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h: Put stuff following
1440         #endif directive inside a comment to avoid compiler warnings.
1442 2001-05-25  Philipp Thomas  <pthomas@suse.de>
1444         * nis/nis_print.c (nis_nstype2str): Don't mark names of
1445         naming services for translation, only UNKNOWN needs it.
1446         Add comment to prevent it for the future.
1448 2001-05-25  Joseph S. Myers  <jsm28@cam.ac.uk>
1450         * misc/sys/cdefs.h (__restrict_arr): Define appropriately for GCC
1451         3.1 and non-GCC C99 compilers.
1453 2001-05-22  David Mosberger  <davidm@hpl.hp.com>
1455         * sysdeps/ia64/memmove.S: Increase MEMLAT from 6 to 21 for better
1456         performance.
1457         * sysdeps/ia64/memcpy.S: Likewise.
1459         * sysdeps/ia64/bcopy.S: New file.
1461         * sysdeps/ia64/bzero.S: New file (derived from memset.S).
1463 2001-05-26  Ulrich Drepper  <drepper@redhat.com>
1465         * sysdeps/ia64/fpu/libm-test-ulps: Add deltas for tanh(-0.7).
1467 2001-05-24  Ulrich Drepper  <drepper@redhat.com>
1469         * iconvdata/Makefile: Add rules for CP10007.
1470         * iconvdata/gconv-modules: Add entries for CP10007 ad MacCyrillic.
1471         * iconvdata/cp10007.c: New file.
1472         * iconvdata/tst-tables.sh: Add CP10007.
1474 2001-05-23  kaz Kojima  <kkojima@rr.iij4u.or.jp>
1476         * sysdeps/sh/dl-machine.h (_dl_runtime_resolve): Handle newer PLT.
1477         (_dl_runtime_profile): Likewise..
1479 2001-05-23  Thorsten Kukuk  <kukuk@suse.de>
1481         * sysdeps/posix/getaddrinfo.c: Support for AF_UNIX commented out.
1482         * posix/tst-getaddrinfo.c: Remove AF_UNIX test.
1484 2001-05-19  H.J. Lu  <hjl@gnu.org>
1486         * elf/dl-deps.c (_dl_map_object_deps): Pass objname and
1487         errstring of the failed DSO to _dl_signal_error ().
1489 2001-05-23  Ulrich Drepper  <drepper@redhat.com>
1491         * iconvdata/gconv-modules: Add more aliases to enable use in
1492         locale names.
1494 2001-05-23  Andreas Jaeger  <aj@suse.de>
1496         * sysdeps/unix/sysv/linux/ia64/Makefile (CFLAGS-initfini.s):
1497         Remove, it's not used anywhere anymore.
1498         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile
1499         (CFLAGS-initfini.s): Likewise.
1500         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile
1501         (CFLAGS-initfini.s): Likewise.
1502         * sysdeps/unix/sysv/linux/powerpc/Makefile (CFLAGS-initfini.s):
1503         Likewise.
1504         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-initfini.s):
1505         Likewise.
1507 2001-05-21  Bruno Haible  <haible@clisp.cons.org>
1509         * wcsmbs/mbrtowc.c (mbrtowc): Remove local variable 'flush', always
1510         use 0 instead, and rely on the converter to do the flush.
1511         * wcsmbs/tst-mbrtowc.c (utf8_test_1): New function, taken from
1512         utf8_test.
1513         (utf8_test_2, utf8_test_3): New function.
1514         (utf8_test): Call utf8_test_1, utf8_test_2, utf8_test_3.
1516 2001-05-22  Jakub Jelinek  <jakub@redhat.com>
1518         * elf/dl-close.c (_dl_close): Save imap->l_reldeps, not map->l_reldeps.
1520         * elf/Makefile (distribute): Add reldep4mod[1234].c.
1521         (tests): Add reldep4.
1522         (modules-names): Add reldep4mod[1234].
1523         (reldep4mod1.so, reldep4mod2.so, reldep4, reldep4.out): New rules.
1524         * elf/reldep4.c: New file.
1525         * elf/reldep4mod1.c: Likewise.
1526         * elf/reldep4mod2.c: Likewise.
1527         * elf/reldep4mod3.c: Likewise.
1528         * elf/reldep4mod4.c: Likewise.
1530 2001-05-18  Jakub Jelinek  <jakub@redhat.com>
1532         * elf/dl-lookup.c (PROTECTED): Remove defines.
1533         (add_dependency): Mark it with internal_function.
1534         (_dl_do_lookup, _dl_do_lookup_versioned): New functions.
1535         (_dl_lookup_symbol, _dl_lookup_symbol_skip,
1536         _dl_lookup_versioned_symbol, _dl_lookup_versioned_symbol_skip): Use
1537         it if we don't want do_lookup* inlined.
1539 2001-05-18  Jakub Jelinek  <jakub@redhat.com>
1541         * include/link.h (struct r_scope_elem): Remove r_duplist and
1542         r_nduplist fields.
1543         * elf/dl-load.c (_dl_map_object_from_fd): Don't initialize them.
1544         * elf/dl-lookup.c (_dl_lookup_symbol_skip): Look in r_list, not
1545         r_duplist.
1546         (_dl_lookup_versioned_symbol_skip): Likewise.
1547         * elf/dl-deps.c (struct list): Remove dup field, rename unique to next.
1548         (_dl_map_object_deps): Don't compute duplicate list.
1550         * elf/dl-symbol.c: Removed.
1551         * elf/Makefile (routines): Remove dl-symbol.
1553 2001-05-22  Ulrich Drepper  <drepper@redhat.com>
1555         * po/el.po: Update from translation team.
1556         * po/sv.po: Likewise.
1558 2001-05-20  Bruno Haible  <haible@clisp.cons.org>
1560         * iconvdata/cp1255.c: Completely rewritten.
1561         * iconvdata/Makefile (gen-8bit-gap-modules): Remove cp1255.
1562         * iconvdata/testdata/WINDOWS-1255: New file.
1563         * iconvdata/testdata/WINDOWS-1255..UTF8: New file.
1564         * iconvdata/TESTS: Add WINDOWS-1255 test.
1565         * iconvdata/CP1255.irreversible: New file.
1567 2001-05-20  Bruno Haible  <haible@clisp.cons.org>
1569         * iconvdata/cp1258.c: Completely rewritten.
1570         * iconvdata/Makefile (gen-8bit-gap-modules): Remove cp1258.
1571         * iconvdata/testdata/WINDOWS-1258: New file.
1572         * iconvdata/testdata/WINDOWS-1258..UTF8: New file.
1573         * iconvdata/TESTS: Add WINDOWS-1258 test.
1574         * iconvdata/tst-table-from.c (try): Reset the iconv descriptor before
1575         the main call, and flush it afterwards.
1576         (utf8_decode): Return a string, possibly containing several Unicode
1577         characters.
1578         (main): Update all utf8_decode calls.
1579         * iconvdata/CP1258.irreversible: New file.
1581 2001-05-20  Bruno Haible  <haible@clisp.cons.org>
1583         * iconv/gconv.c (__gconv): For flush without output, pass do_flush = 2.
1584         * iconv/skeleton.c: Distinguish do_flush = 1 and do_flush = 2.  In the
1585         first case, set outbuf, outstart, outend, and call PREPARE_LOOP before
1586         EMIT_SHIFT_TO_INIT; then pass the output produced by this step down to
1587         the next step.  In the second case, clear the state without calling
1588         EMIT_SHIFT_TO_INIT.
1589         * iconvdata/ibm930.c (EMIT_SHIFT_TO_INIT): Use outbuf instead of
1590         data->__outbuf, and outend instead of data->__outbufend.
1591         * iconvdata/ibm933.c (EMIT_SHIFT_TO_INIT): Likewise.
1592         * iconvdata/ibm935.c (EMIT_SHIFT_TO_INIT): Likewise.
1593         * iconvdata/ibm937.c (EMIT_SHIFT_TO_INIT): Likewise.
1594         * iconvdata/ibm939.c (EMIT_SHIFT_TO_INIT): Likewise.
1595         * iconvdata/iso-2022-cn.c (EMIT_SHIFT_TO_INIT): Likewise.
1596         * iconvdata/iso-2022-cn-ext.c (EMIT_SHIFT_TO_INIT): Likewise.
1597         * iconvdata/iso-2022-jp.c (EMIT_SHIFT_TO_INIT): Likewise.
1598         * iconvdata/iso-2022-kr.c (EMIT_SHIFT_TO_INIT): Likewise.
1599         * iconvdata/utf-7.c (EMIT_SHIFT_TO_INIT): Likewise.
1601 2001-05-21  Jakub Jelinek  <jakub@redhat.com>
1603         * elf/rtld.c (dl_main): Compute l_map_end for the main program.
1604         * elf/dl-sym.c (_dl_sym): Don't check for l_addr == 0.
1605         If match == _dl_loaded, caller can still come from the main program.
1606         (_dl_vsym): Likewise.
1607         * elf/dl-open.c (dl_open_worker): Don't check for l_addr == 0.
1608         * elf/dl-error.c (_dl_signal_error): Change NULL objname into "".
1609         * elf/restest2.c: New test.
1610         * elf/Makefile (tests): Add restest2.
1611         (restest2, LDFLAGS-restest2): Add rules.
1613 2001-05-22  Ulrich Drepper  <drepper@redhat.com>
1615         * intl/Makefile: Add a few more dependencies to avoid races in the
1616         test shell scripts.
1618 2001-05-22  Andreas Jaeger  <aj@suse.de>
1620         * sysdeps/ieee754/ldbl-128/s_log1pl.c: New file, contributed by
1621         Stephen L Moshier <moshier@mediaone.net>.
1623 2001-05-22  Martin Schwidefsky  <schwidefsky@de.ibm.com>
1625         * sysdeps/s390/s390-32/backtrace.c: Make backtrace return the
1626         return addresses instead of the stack pointers.
1627         * sysdeps/s390/s390-64/backtrace.c: Likewise.
1629 2001-05-21  Jakub Jelinek  <jakub@redhat.com>
1631         * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Include
1632         bits/sigcontext.h instead of bits/sigstack.h.
1633         * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h: Add
1634         multiple-inclusion guards.
1636 2001-05-21  Andreas Jaeger  <aj@suse.de>
1638         * locale/programs/ld-collate.c (handle_ellipsis): Fix message.
1639         Patch by Philipp Thomas <pthomas@suse.de>.
1641 2001-05-17  Bruce Mitchener  <bruce@cubik.org>
1643         * manual/arpg.texi: Spelling, misc fixes.
1644         * manual/arith.texi: Likewise.
1645         * manual/crypt.texi: Likewise.
1646         * manual/debug.texi: Likewise.
1647         * manual/getopt.texi: Likewise.
1648         * manual/intro.texi: Likewise.
1649         * manual/memory.texi: Likewise.
1650         * manual/nss.texi: Likewise.
1651         * manual/pattern.texi: Likewise.
1652         * manual/process.texi: Likewise.
1653         * manual/resource.texi: Likewise.
1654         * manual/search.texi: Likewise.
1655         * manual/setjmp.texi: Likewise.
1656         * manual/signal.texi: Likewise.
1657         * manual/socket.texi: Likewise.
1658         * manual/stdio.texi: Likewise.
1659         * manual/string.texi: Likewise.
1660         * manual/sysinfo.texi: Likewise.
1661         * manual/terminal.texi: Likewise.
1662         * manual/llio.texi: Document madvise().
1664 2001-05-20  Roland McGrath  <roland@frob.com>
1666         * Makeconfig (sysdep-makeconfigs): Include any Makeconfig files
1667         found within $(add-ons) directories too.
1668         [linuxthreads add-on]: Move variable settings for linuxthreads
1669         to new file linuxthreads/Makeconfig.
1671 2001-05-20  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
1673         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_STD_AUXV):
1674         Define for linux >= 2.4.5 on powerpc.
1675         (__ASSUME_MMAP2_SYSCALL): Likewise.
1677 2001-05-19  Roland McGrath  <roland@frob.com>
1679         * hurd/hurdlookup.c (__hurd_file_name_lookup_retry): Don't leak the
1680         result port when failing with ELOOP.  Do the ELOOP check when
1681         following an absolute symlink target as well as relative.
1682         Remove #ifdef SYMLOOP_MAX conditional--it should always be defined.
1684 2001-05-18  Andreas Jaeger  <aj@suse.de>
1686         * po/fr.po: Free software is "logiciel libre".
1687         Patch by Martin Michlmayr <tbm@cyrius.com>.
1689         * sysdeps/powerpc/elf/libc-start.c: Use __cxa_atexit.
1690         Patch by ekato@ees.hokudai.ac.jp, closes PR libc/2271.
1692 2001-05-17  David Mosberger  <davidm@hpl.hp.com>
1694         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: New file.
1696 2001-05-17  Ulrich Drepper  <drepper@redhat.com>
1698         * elf/dl-profile.c (_dl_mcount): Check whether state is
1699         GMON_PROF_ON before doing anything.
1701 2001-05-17  H.J. Lu  <hjl@gnu.org>
1703         * elf/sprof.c (read_symbols): Move "++symtab" into the while loop.
1705 2001-05-17  Ulrich Drepper  <drepper@redhat.com>
1707         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Use
1708         CHECK_SIGSET_NULL_OK and not CHECK_SIGSET for all parameters.
1709         Reported by Mark Burton <markb@ordern.com>.
1711 2001-05-17  Jakub Jelinek  <jakub@redhat.com>
1713         * elf/ldconfig.c (add_dir): Only warn about stat failure if
1714         opt_verbose.
1715         (search_dir): Likewise.
1717 2001-05-17  Ulrich Drepper  <drepper@redhat.com>
1719         * sysdeps/i386/i486/atomicity.h (exchange_and_add): Correct second
1720         parameter of xaddl.  Patch by H . J . Lu <hjl@lucon.org>.
1722 2001-05-14  Bruno Haible  <haible@clisp.cons.org>
1724         * iconvdata/iso-2022-cn-ext.c (BODY for FROM_LOOP): If SO is seen
1725         without previous announcement, reject it regularly, don't abort.
1727 2001-05-16  Ulrich Drepper  <drepper@redhat.com>
1729         * math/tgmath.h: Fix handling of int parameters to binary and
1730         ternary functions.  Reported by mitr@volny.cz.
1732         * math/test-tgmath.c: Add tests for calls with integer parameters.
1734 2001-05-15  Jakub Jelinek  <jakub@redhat.com>
1736         * sunrpc/rpc_thread.c (rpc_default): Remove.
1737         (__rpc_thread_destroy): Use __libc_tsd_RPC_VARS_mem instead of
1738         rpc_default.
1739         (rpc_thread_multi, __rpc_thread_svc_fdset, __rpc_thread_createerr,
1740         __rpc_thread_svc_pollfd, __rpc_thread_svc_max_pollfd): Likewise.
1741         * sunrpc/auth_none.c (authnone_private): Fix a typo.
1743 2001-05-16  Martin Schwidefsky  <schwidefsky@de.ibm.com>
1745         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Fix stack allocation.
1747 2001-05-16  Bruce Mitchener  <bruce@cubik.org>
1749         * manual/llio.texi: Many grammar and typo fixes to the section on AIO.
1751 2001-05-15  Andreas Jaeger  <aj@suse.de>
1753         * sysdeps/ieee754/ldbl-128/s_expm1l.c: New file, contributed by
1754         Stephen L Moshier <moshier@mediaone.net>.
1756         * sysdeps/i386/fpu/libm-test-ulps: Adjust for change.
1758         * math/libm-test.inc: Add comment with ToDo.
1760         * sysdeps/i386/fpu/e_expl.c: Rewritten to C and using a more
1761         accurate algorithm.  Patch by Stephen L Moshier <moshier@mediaone.net>.
1763         * sysdeps/i386/fpu/e_expl.S: Removed.
1765 2001-05-14  Roland McGrath  <roland@frob.com>
1767         * csu/Makefile ($(objpfx)g$(start-installed-name)): Turn this into a
1768         static pattern rule also that also covers
1769         $(objpx)g$(static-start-installed-name).
1770         [$(start-installed-name) != $(static-start-installed-name)]
1771         (extra-objs, omit-deps, install-lib): Add
1772         $(static-start-installed-name) and g$(static-start-installed-name).
1773         * sysdeps/mach/hurd/i386/Makefile: Don't add crt0.o to those here;
1774         just setting static-start-installed-name is now sufficient.
1775         (extra-objs): Add static-start.o here.
1776         (CFLAGS-initfini.s): Remove obsolete variable.
1777         * sysdeps/mach/hurd/i386/Makeconfig: New file.
1778         Define static-start-installed-name here.
1780         * Makeconfig: Include existing $(full_config_sysdirs:=/Makeconfig).
1781         * Make-dist (+sysdep-tsrcs): Look for Makeconfig files.
1783         * Makerules ($(+sysdir_pfx)sysd-Makefile): Remove this target and
1784         associated hair.  Instead, just use $(wildcard ...) in the include.
1786         * configure.in (critic_missing, aux_missing): Collect in these vars
1787         the names of the missing programs, and include them in the error msgs.
1788         * configure: Regenerated.
1790 2001-05-14  Andreas Jaeger  <aj@suse.de>
1792         * sysdeps/i386/fpu/libm-test-ulps: Adjust for new tests.
1794         * math/libm-test.inc (tanh_test): Add testcases for last tanh bug.
1796 2001-05-14  Stephen L Moshier <moshier@mediaone.net>
1798         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Fix sign test.
1800 2001-05-11  Jakub Jelinek  <jakub@redhat.com>
1802         * posix/regex.c (re_match_2_internal): Swap mbs_offset and csize
1803         as well if swapping strings.
1804         Make sure stop is not past end of second string.
1805         * posix/bug-regex4.c: New test.
1806         * posix/Makefile (tests): Add bug-regex4.
1808 2001-05-10  Andreas Jaeger  <aj@suse.de>
1810         * manual/install.texi (Linux): Clarify that Linux 2.2 is minimal
1811         requirement.
1813 2001-05-12  Andreas Jaeger  <aj@suse.de>
1815         * sysdeps/ieee754/dbl-64/s_sin.c: Include "math_private.h" for
1816         internal prototypes.
1817         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
1818         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
1819         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
1820         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
1821         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
1822         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
1823         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
1825         * math/math_private.h: Add prototypes for internal functions of
1826         the IBM Accurate Mathematical Library.
1828         * sysdeps/ieee754/dbl-64/s_atan.c: Include "math.h" for
1829         prototypes.
1830         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
1832         * sysdeps/ieee754/dbl-64/e_asin.c: Include "math_private.h" for
1833         internal prototypes.
1834         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
1835         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
1836         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
1837         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
1838         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
1839         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
1840         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
1841         * sysdeps/generic/e_rem_pio2l.c: Likewise.
1842         (__ieee754_rem_pio2l): Fix prototype.
1844         * math/math_private.h (__copysign): Add internal prototype.
1846 2001-05-11  Andreas Jaeger  <aj@suse.de>
1848         * sysdeps/unix/sysv/linux/configure.in: Move binutils check to...
1849         * sysdeps/unix/sysv/linux/mips/configure.in: ...here.  New file.
1851 2001-05-11  Andreas Jaeger  <aj@suse.de>
1853         * sysdeps/unix/sysv/linux/configure.in: Check binutils version on
1854         MIPS.
1856         * sysdeps/mips/rtld-ldscript.in: Removed unneeded binary output
1857         format directive.  Patch by Steven J. Hill <sjhill@cotw.com>.
1859 2001-05-11  Roland McGrath  <roland@frob.com>
1861         * sysdeps/mach/hurd/Makefile ($(link-rpcuserlibs)): Don't use
1862         $(build-module) here, since we don't need the full magilla.
1863         Just use $(build-module-helper) and append our special options.
1865 2001-05-09  Andreas Schwab  <schwab@suse.de>
1867         * sysdeps/unix/readdir.c: Make sure we don't modify errno when we
1868         reached EOF.
1870 2001-05-07  H.J. Lu  <hjl@gnu.org>
1872         * elf/ldconfig.c (dir_entry): Add ino and dev.
1873         (add_single_dir): Compare ino and dev to check if 2 directory
1874         paths are the same or not.  Free entry->path for duplicates.
1875         (add_dir): Initialize ino and dev for entry.
1876         (search_dir): Handle symlink to directory.
1878 2001-05-07  Andreas Jaeger  <aj@suse.de>
1880         * sysdeps/i386/fpu/libm-test-ulps: Add ulps for new exp tests.
1882         * math/libm-test.inc (exp_test): Add some more tests.
1883         (pow_test): Run double only test also for long double.
1885         * math/test-ldouble.c (TEST_LDOUBLE): Define.
1886         * math/test-ildoubl.c (TEST_LDOUBLE): Likewise.
1888         * sysdeps/generic/bits/confname.h: Remove extra comma at end of
1889         enumeration.
1890         Closes PR libc/2240.
1892         * scripts/config.guess: Imported from gnu.org.
1893         * scripts/config.sub: Likewise.
1895 2001-05-05  Jakub Jelinek  <jakub@redhat.com>
1897         * include/features.h (__USE_EXTERN_INLINES): Don't define if
1898         __NO_INLINE__ is defined.
1899         * ctype/ctype.h (tolower, toupper): Change the guard condition to
1900         __USE_EXTERN_INLINES check only.
1901         * stdlib/stdlib.h (strtod, ...): Likewise.
1902         * wcsmbs/wchar.h (mbrlen): Likewise.
1903         * string/string.h: Only include bits/string.h and bits/string2.h
1904         if __NO_INLINE__ is not defined.
1906 2001-05-07  Andreas Jaeger  <aj@suse.de>
1908         * debug/Makefile ($(objpfx)xtrace): Substitute @SLIBDIR@ instead
1909         of @LIBDIR@.
1911 2001-05-04  H.J. Lu  <hjl@gnu.org>
1913         * malloc/Makefile ($(objpfx)memusage): Substitute @SLIBDIR@
1914         not @LIBDIR@.
1916 2001-05-06  Andreas Jaeger  <aj@suse.de>
1918         * sysdeps/i386/fpu/e_fmodl.c: New, rewrite of e_fmodl.S.
1919         * sysdeps/i386/fpu/e_fmodl.S: Removed.
1920         * sysdeps/i386/fpu/e_atan2l.c: New, rewrite of e_atan2l.S.
1921         * sysdeps/i386/fpu/e_atan2l.S: Removed.
1922         * sysdeps/i386/fpu/e_acosl.c: New, rewrite of e_acos.S.
1923         * sysdeps/i386/fpu/s_atanl.c: New, rewrite of e_atanl.S.
1924         * sysdeps/i386/fpu/e_sqrtl.c: New, rewrite of e_sqrt.S.
1925         * sysdeps/i386/fpu/e_acosl.S: Removed.
1926         * sysdeps/i386/fpu/s_atanl.S: Removed.
1927         * sysdeps/i386/fpu/e_sqrtl.S: Removed.
1929 2001-05-05  Mark Kettenis  <kettenis@gnu.org>
1931         * sysdeps/mach/hurd/bits/environments.h: Add comment from
1932         sysdeps/generic/bits/environments.h.  Define _POSIX_V6_* values.
1934 2001-04-30  Jakub Jelinek  <jakub@redhat.com>
1936         * posix/confstr.c (confstr) [_CS_V6_WIDTH_RESTRICTED_ENVS]: Move so
1937         that _CS_LFS_CFLAGS can fall through to the empty returned string
1938         case.  Add FALLTHROUGH comment.
1940 2001-04-29  Ralf Baechle  <ralf@gnu.org>
1942         * sysdeps/unix/sysv/linux/mips/bits/sem.h: Make structure
1943         definitions match the kernel definitions.
1944         * sysdeps/unix/sysv/linux/mips/bits/ipc.h: Likewise.
1945         * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
1947 2001-04-29  Ben Collins  <bcollins@debian.org>
1949         * sysdeps/sparc/sparc64/dl-machine.h: Fix multiline strings
1950         warnings.
1951         * sysdeps/sparc/sparc64/soft-fp/qp_add.c: Likewise.
1952         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
1953         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
1954         * sysdeps/sparc/sparc64/soft-fp/qp_div.c: Likewise.
1955         * sysdeps/sparc/sparc64/soft-fp/qp_dtoq.c: Likewise.
1956         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
1957         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
1958         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
1959         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
1960         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
1961         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
1962         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
1963         * sysdeps/sparc/sparc64/soft-fp/qp_qtod.c: Likewise.
1964         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
1965         * sysdeps/sparc/sparc64/soft-fp/qp_qtos.c: Likewise.
1966         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
1967         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
1968         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
1969         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
1970         * sysdeps/sparc/sparc64/soft-fp/qp_sqrt.c: Likewise.
1971         * sysdeps/sparc/sparc64/soft-fp/qp_stoq.c: Likewise.
1972         * sysdeps/sparc/sparc64/soft-fp/qp_sub.c: Likewise.
1973         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
1975 2001-04-29  Andreas Schwab  <schwab@suse.de>
1977         * sysdeps/unix/sysv/linux/kernel-features.h: Fix missing backslash
1978         in last change.
1980 2001-04-29  Andreas Jaeger  <aj@suse.de>
1982         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
1983         Define for Arm, PowerPC and SH if kernel is 2.4.4 or newer.
1985         * sysdeps/unix/sysv/linux/bits/socket.h (PF_WANPIPE): New, from
1986         Linux 2.4.4.
1987         (AF_WANPIPE): Likewise.
1988         (MSG_MORE): New.
1990         * sysdeps/unix/sysv/linux/alpha/bits/socket.h: Add same changes as
1991         for Linux generic version.
1992         * sysdeps/unix/sysv/linux/s390/s390-64/bits/socket.h: Likewise.
1993         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
1994         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
1995         * sysdeps/unix/sysv/linux/ia64/bits/socket.h: Likewise.
1997         * sysdeps/gnu/netinet/tcp.h (TCP_QUICKACK): New.
1999 2001-04-27  Ulrich Drepper  <drepper@redhat.com>
2001         * nis/nss-nis.h: Correct test for invalid error number.
2002         * nis/nss-nisplus.h: Likewise.
2004         * nis/Makefile (libnss_compat-rountines): Add nss-nisplus.
2006 2001-04-26  Ulrich Drepper  <drepper@redhat.com>
2008         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add getunwind.
2010         * string/strcoll.c: Fix two memory allocation problems.
2011         * string/Makefile (tests): Add bug-strcoll1.
2012         * string/bug-strcoll1.c: New file.
2014         * malloc/mcheck.c (mcheck): Call malloc once before setting the
2015         hooks to allow the internal check hooks to be set up if necessary.
2017         * nis/nss-nis.h: Move yperr2nss_tab definition into separate file
2018         and rename to __yperr2nss_tab.  Change YPERR_COUNT into variable
2019         __yperr2nss_count.
2020         * nis/nss-nis.c: New file.
2021         * nis/nss-nisplus.h: Move niserr2nss_tab definition into separate file
2022         and rename to __niserr2nss_tab.  Change NISERR_COUNT into variable
2023         __niserr2nss_count.
2024         * nis/nss-nisplus.c: New file.
2025         * nis/Makefile (libnss_compat-routines): Add nss-nis.
2026         (libnss_nis-routines): Likewise.
2027         (libnss_nisplus-routines): Add nss-nisplus.
2029         * nis/nss_nisplus/nisplus-alias.c: Remove unnecessary initializations.
2030         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
2031         * nis/nss_nisplus/nisplus-grp.c: Likewise.
2032         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
2033         * nis/nss_nisplus/nisplus-network.c: Likewise.
2034         * nis/nss_nisplus/nisplus-proto.c: Likewise.
2035         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
2036         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
2037         * nis/nss_nisplus/nisplus-service.c: Likewise.
2038         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
2039         * nis/nss_nis/nis-alias.c: Likewise.
2040         * nis/nss_nis/nis-ethers.c: Likewise.
2041         * nis/nss_nis/nis-grp.c: Likewise.
2042         * nis/nss_nis/nis-network.c: Likewise.
2043         * nis/nss_nis/nis-proto.c: Likewise.
2044         * nis/nss_nis/nis-pwd.c: Likewise.
2045         * nis/nss_nis/nis-spwd.c: Likewise.
2046         * nis/nss_compat/compat-grp.c: Likewise.
2047         * nis/nss_compat/compat-initgroups.c: Likewise.
2048         * nis/nss_compat/compat-pwd.c: Likewise.
2049         * nis/nss_compat/compat-spwd.c: Likewise.
2051         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Some more
2052         optimizations.  Patch by Jakub Jelinek <jakub@redhat.com>.
2054 2001-04-26  Andreas Jaeger  <aj@suse.de>
2056         * po/zh_TW.po: Update.
2057         Patch by Tung-Han Hsieh <thhsieh@tlug.sinica.edu.tw>.
2059 2001-04-25  Ulrich Drepper  <drepper@redhat.com>
2061         * malloc/malloc.c: Allow MALLOC_ALIGNMENT to be defined on the
2062         compiler command line.
2063         * sysdeps/hppa/Makefile: Add -DMALLOC_ALIGNMENT=16 to compiler
2064         command line for malloc.c.
2066 2001-04-25  Jakub Jelinek  <jakub@redhat.com>
2068         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/time.h: Move to...
2069         * sysdeps/unix/sysv/linux/sparc/bits/time.h: ...here.
2070         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/bits/time.h: Remove.
2071         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/socket.h: Move to...
2072         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: ...here.  Adjust
2073         struct msghdr for __WORDSIZE == 32.
2074         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/statvfs.h: Move to...
2075         * sysdeps/unix/sysv/linux/sparc/bits/statvfs.h: ...here.  Adjust
2076         for __WORDSIZE == 32.
2077         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/siginfo.h: Remove.
2078         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/get_clockfreq.c: New
2079         file.
2080         * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S (__libc_siglongjmp):
2081         Rename from longjmp, make longjmp weak alias to it.
2083 2001-04-24  David S. Miller  <davem@redhat.com>
2085         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: New file.
2087 2001-04-25  Matthew Wilcox  <willy@ldl.fc.hp.com>
2089         * sysdeps/hppa/stackinfo.h: New file.
2090         * sysdeps/unix/sysv/linux/hppa/getdents64.c: New file.
2091         * sysdeps/unix/sysv/linux/hppa/mmap64.c: New file.
2092         * sysdeps/unix/sysv/linux/hppa/bits/resource.h: New file.
2093         * sysdeps/unix/sysv/linux/kernel-features.h: Add descriptions
2094         of PA kernel features.
2096 2001-04-25  Ulrich Drepper  <drepper@redhat.com>
2098         * locale/programs/localedef.c (main): Always set a file name for
2099         the initial locale.
2100         * locale/programs/locfile.c (locfile_read): filename is allowed to
2101         be NULL.
2103 2001-04-12  Paul Bame  <paul_bame@hp.com>
2105         * sysdeps/hppa/fpu/fclrexcpt.c: Clear the exception flags, not the
2106         enable flags.
2108 2001-04-24  Ulrich Drepper  <drepper@redhat.com>
2110         * sysdeps/generic/bits/environments.h (_POSIX_V6_LPBIG_OFFBIG,
2111         _XBS5_LPBIG_OFFBIG): Define to -1.
2112         Fix typos.
2114         * sysdeps/generic/bits/confname.h: Add _CS_V6_WIDTH_RESTRICTED_ENVS.
2115         * posix/confstr.c: Handle _CS_V6_WIDTH_RESTRICTED_ENVS.
2116         * posix/getconf.c: Handle _POSIX_V6_WIDTH_RESTRICTED_ENVS.
2117         * posix/tst-getconf.sh: Add _POSIX_V6_WIDTH_RESTRICTED_ENVS.
2119         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9b/Implies: New file.
2120         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9b/bits/time.h: Removed.
2122 2001-03-21  Alan Modra  <alan@one.net.au>
2124         * sysdeps/hppa/dl-machine.h (RTLD_START): Set up dp with DT_PLTGOT
2125         value from application so that constructors in non-PIC libs work.
2127 2000-12-13  Jes Sorensen  <jes@linuxcare.com>
2129         * sysdeps/hppa/dl-machine.h (RTLD_START): _dl_init now returns a
2130         function pointer, hence load the jump address and gp from the
2131         function pointer before jumping.
2133 2001-04-24  Andreas Jaeger  <aj@suse.de>
2135         * sysdeps/generic/send.c (__send): Return ssize_t.
2136         * sysdeps/mach/hurd/send.c (__send): Likewise.
2137         * sysdeps/mach/hurd/recv.c (recv): Likewise.
2138         * sysdeps/mach/hurd/sendto.c (sendto): Likewise.
2139         * sysdeps/generic/sendto.c (sendto): Likewise.
2140         * sysdeps/generic/recvmsg.c (recvmsg): Likewise.
2141         * sysdeps/mach/hurd/recvfrom.c (recvfrom): Likewise.
2142         * sysdeps/generic/recvfrom.c (recvfrom): Likewise.
2143         * sysdeps/generic/sendmsg.c (sendmsg): Likewise.
2145         * socket/sys/socket.h: send* and recv* return ssize_t.
2147         * include/sys/socket.h: send returns ssize_t.
2149         * sysdeps/i386/fpu_control.h: Fix comments.
2151 2001-04-24  Ulrich Drepper  <drepper@redhat.com>
2153         * sysdeps/ia64/Dist: Add hp-timing.c.
2154         * sysdeps/unix/sysv/linux/sparc/sparc64/Dist: Add ucontext_i.h.
2155         * posix/Makefile (distribute): Add tst-getconf.sh.
2156         * po/Makefile (distribute): Add $(BROKEN_LINGUAS:=.po).
2158 2001-04-23  Ulrich Drepper  <drepper@redhat.com>
2160         * sysdeps/ia64/Makefile [subdir=csu] (sysdep_routines): Add hp-timing.
2161         * sysdeps/ia64/Versions: Add _dl_cpuclock_offset for ld in 2.2.3.
2162         * sysdeps/ia64/hp-timing.c: New file.
2163         * sysdeps/ia64/hp-timing.h: New file.
2164         * sysdeps/unix/sysv/linux/ia64/bits/time.h: Add definitions for
2165         CLOCK_PROCESS_CPUTIME_ID and CLOCK_THREAD_CPUTIME_ID.
2167         * sysdeps/generic/clock_getcpuclockid.c: Make function generic, test
2168         using #ifdef whether the clock is available.
2169         * sysdeps/unix/i386/clock_getcpuclockid.c: Not needed anymore.
2171         * sysdeps/generic/dl-sysdep.c: Initialize _dl_cpuclock_offset to move
2172         it into data section.
2174         * sysdeps/unix/i386/i586/clock_getres.c: Removed.
2175         * sysdeps/unix/i386/i586/clock_gettime.c: Removed.
2176         * sysdeps/unix/i386/i586/clock_nanosleep.c: Removed.
2177         * sysdeps/unix/i386/i586/clock_settime.c: Removed.
2178         * sysdeps/unix/i386/i586/cpuclock-init.h: Removed.
2179         * sysdeps/generic/cpuclock-init.h: Removed.
2180         * sysdeps/unix/i386/i686/Implies: Removed.
2181         * sysdeps/unix/i386/i686/tempname.c: Removed.
2182         * sysdeps/i386/i686/Versions: New file.
2183         * sysdeps/unix/i386/i586/Versions: Removed.
2185         * sysdeps/posix/clock_getres.c: If HP_TIMING_AVAIL is nonzero handle
2186         CLOCK_PROCESS_CPUTIME_ID and CLOCK_THREAD_CPUTIME_ID.
2187         * sysdeps/unix/clock_gettime.c: Likewise.
2188         * sysdeps/unix/clock_nanosleep.c: Likewise.
2189         * sysdeps/unix/clock_settime.c: Likewise.
2190         * sysdeps/posix/tempname.c: Is HP_TIMING_AVAIL is nonzero define
2191         RANDOM_BITS use CPU clock.
2193         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/bits/time.h: New file.
2194         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9b/bits/time.h: New file.
2195         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/time.h: New file.
2196         * sysdeps/sparc/Versions: New file.
2198         * elf/dl-support.c: Don't use cpuclock-init.h definitions, use
2199         hp-timing.h definitions.
2200         * sysdeps/generic/dl-sysdep.c: Likewise.
2202         * include/libc-internal.h: Include hp-timing.h.  Use hp_timing_t in
2203         __get_clockfreq prototype.
2205         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
2206         Use hp_timing_t type.
2207         * sysdeps/generic/get_clockfreq.c (__get_clockfreq): Likewise.
2209         * sysdeps/unix/sysv/linux/ia64/get_clockfreq.c: New file.
2211         * sysdeps/posix/pathconf.c (__pathconf): For _PC_ASYNC_IO test
2212         whether named file is a regular file or a block device.
2213         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
2215 2001-04-23  Andreas Jaeger  <aj@suse.de>
2217         * nscd/nscd.h: Add noreturn attribute for start_threads.
2219 2001-04-22  Ulrich Drepper  <drepper@redhat.com>
2221         * posix/getconf.c: Fix names of XBS5 LFS test variables.
2222         Add missing configuration variables from XPG6.
2223         * posix/tst-getconf.c: New file.
2224         * posix/Makefile (generated): Add tst-getconf.out.
2225         (tests): Add ($objpfx)tst-getconf.out.
2226         Add rule to run tst-getconf.sh.
2227         * sysdeps/generic/bits/confname.h: Add missing _PC_ and _SC_ values
2228         from XPG6.
2229         * sysdeps/posix/fpathconf.c: Add handling of _PC_ALLOC_SIZE_MIN and
2230         _PC_SYMLINK_MAX.
2231         * sysdeps/posix/pathconf.c: Likewise.
2232         * sysdeps/posix/sysconf.c: Correct spelling of _SC_MULTI_PROCESS
2233         and _SC_SYMLOOP_MAX.
2235 2001-04-22  Philip Blundell  <philb@gnu.org>
2237         * sysdeps/arm/fpu/feenablxcpt.c: New file.
2238         * sysdeps/arm/fpu/fedisablxcpt.c: New file.
2239         * sysdeps/arm/fpu/fegetexcpt.c: New file.
2241 2001-04-22  Philip Blundell  <philb@gnu.org>
2243         * sysdeps/unix/sysv/linux/arm/sys/user.h (struct user_fpregs):
2244         Renamed from struct user_fp.
2245         (struct user_regs): New.
2246         (struct user): Use struct user_regs rather than struct pt_regs to
2247         avoid dependency on asm/ptrace.h.  Use struct user_fpregs in place
2248         of struct user_fp and struct user_fp_struct.
2249         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Include sys/procfs.h
2250         not sys/elf.h.
2252 2001-04-22  Philip Blundell  <philb@gnu.org>
2254         * sysdeps/unix/sysv/linux/arm/sys/elf.h: Move contents to
2255         sys/procfs.h, and tell the user to include that file instead.
2256         * sysdeps/unix/sysv/linux/arm/sys/procfs.h: Remove old cruft
2257         surrounded with #if 0.
2258         (elf_greg_t, ELF_NGREG, elf_gregset_t, elf_fpregset_t): Moved here
2259         from sys/elf.h.
2260         (prgregset_t, prfpregset_t): Define in terms of elf_gregset_t and
2261         elf_fpregset_t respectively.
2263 2001-04-22  Philip Blundell  <philb@gnu.org>
2265         * sysdeps/unix/sysv/linux/arm/register-dump.h: Also print the
2266         address that faulted.
2268 2001-04-21  Ulrich Drepper  <drepper@redhat.com>
2270         * sysdeps/generic/bits/confname.h: Add _SC_V6_* and _CS_POSIX_V6_*
2271         values.
2272         * sysdeps/generic/bits/environments.h: Define _POSIX_V6_* values.
2273         * posix/confstr.c: Handle _CS_POSIX_V6_* values.
2274         * posix/getconf.c: Handle _CS_POSIX_V6_* and _SC_V6_* values.
2275         * sysdeps/posix/sysconf.c: Handle _SC_V6_* values.
2277         * sysdeps/powerpc/fpu/libm-test-ulps: Add deltas for atan2f.
2278         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
2279         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
2280         * sysdeps/mips/fpu/libm-test-ulps: Likewise.
2282 2001-04-21  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
2284         * sysdeps/unix/sysv/linux/powerpc/mmap64.c: Correct check for invalid
2285         offset.
2287 2001-04-21  Ulrich Drepper  <drepper@redhat.com>
2289         * posix/getopt.h: Treat __cplusplus like __STDC__.
2291 2001-04-20  John S. Marvin  <jsm@fc.hp.com>
2293         * sysdeps/unix/sysv/linux/hppa/clone.S: Fix clone system call
2294         entry point stub.
2296 2001-04-20  Richard Hirst  <rhirst@linuxcare.com>
2298         * elf/elf.h: Corrected R_PARISC_DIR14R (should be 6, not 5),
2299         and added R_PARISC_DPREL21L and R_PARISC_DPREL14R for modutils.
2301         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Removed ptrace
2302         entry so the ptrace.c wrapper is used.
2304 2001-04-20  Alan Modra  <amodra@one.net.au>
2306         * sysdeps/hppa/dl-lookupcfg.h (_dl_function_address): Prototype.
2307         (DL_FUNCTION_ADDRESS): Define.
2308         (DL_DT_INIT_ADDRESS): Define.
2309         (DL_DT_FINI_ADDRESS): Define.
2310         * sysdeps/hppa/Versions: Add _dl_function_address.
2311         * sysdeps/hppa/dl-machine.h (ELF_MACHINE_START_ADDRESS): Define.
2312         * sysdeps/hppa/dl-symaddr.c (_dl_start_address): Rename to
2313         _dl_function_address.
2315 2001-04-21  Andreas Jaeger  <aj@suse.de>
2317         * rt/aio_misc.c (handle_fildes_io): Add noreturn attribute.
2318         * resolv/gai_misc.c (handle_requests): Likewise.
2319         * malloc/obstack.c (print_and_abort): Likewise.
2320         * malloc/mcheck.c (mabort): Likewise.
2322         * sysdeps/unix/i386/i586/clock_settime.c: Include
2323         "libc-internal.h" for __get_clockfreq declaration.
2325 2001-04-21  Ulrich Drepper  <drepper@redhat.com>
2327         * elf/dl-support.c: Include cpuclock-init.h.  Use CPUCLOCK_VARDEF and
2328         CPUCLOCK_INIT if defined.
2329         * sysdeps/generic/dl-sysdep.c: Likewise.
2330         * sysdeps/generic/cpuclock-init.h: New file.
2331         * sysdeps/unix/i386/i586/cpuclock-init.h: New file.
2332         * sysdeps/unix/i386/i586/Versions: New file.
2333         * sysdeps/unix/i386/i586/clock_settime.c: New file.
2334         * sysdeps/unix/i386/i586/clock_gettime.c: Handle thread CPU clock
2335         separately by calling __pthread_clock_gettime if this function is
2336         available.  Subtract offset from tsc value before computing time value.
2338 2001-04-20  Ulrich Drepper  <drepper@redhat.com>
2340         * iconv/iconv_prog.c (print_known_names): If printing goes not to
2341         a tty print in a more machine-friendly way.
2343         * sysdeps/ieee754/ldbl-128/e_asinl.c: New file.
2344         Contributed by Stephen L Moshier <moshier@mediaone.net>.
2346 2001-04-20  Andreas Jaeger  <aj@suse.de>
2348         * intl/Makefile (tests): Reorder conditions, tst-gettext needs msgfmt.
2350 2001-04-20  Andreas Schwab  <schwab@suse.de>
2352         * sysdeps/m68k/fpu/libm-test-ulps: Update.
2354 2001-04-19  Alan Modra  <amodra@one.net.au>
2356         * Makerules (libc_pic.os): Add $(LDFLAGS-c_pic.os).
2357         * sysdeps/hppa/Makefile (LDFLAGS-c_pic.os): Define.
2358         (CFLAGS-.os): Remove.
2360         * sysdeps/unix/sysv/linux/hppa/sysdep.h (CALL_MCOUNT): Update comment.
2362         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (NGREG, NFPREG,
2363         gregset): Correct for new kernel definitions.
2365 2001-04-19  Alan Modra  <alan@linuxcare.com.au>
2367         * sysdeps/hppa/elf/initfini.c: Change dlt reg save to r3 and
2368         generate unwind info by hand.
2370 2001-04-19  Ulrich Drepper  <drepper@redhat.com>
2372         * sysdeps/unix/sysv/linux/powerpc/mmap64.c (__mmap64): Optimize a bit.
2374         * configure.in: Correct regular expression for msgfmt.
2375         Patch by Bruno Haible <haible@ilog.fr>.
2377 2001-04-19  Andreas Jaeger  <aj@suse.de>
2379         * po/el.po: Add comment explaining what's broken.
2381         * po/Makefile (BROKEN_LINGUAS): New.
2382         (ALL_LINGUAS): Don't add broken languages.
2384 2001-04-19  Roland McGrath  <roland@frob.com>
2386         * sysdeps/mach/hurd/mlock.c: New file.
2387         * sysdeps/mach/hurd/munlock.c: New file.
2388         * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_MEMLOCK_RANGE): Define it.
2390         * misc/Makefile (routines): Add mlock munlock mlockall munlockall.
2391         * sysdeps/generic/mlock.c: New file.
2392         * sysdeps/generic/munlock.c: New file.
2393         * sysdeps/generic/mlockall.c: New file.
2394         * sysdeps/generic/munlockall.c: New file.
2395         * sysdeps/generic/bits/mman.h (MCL_CURRENT, MCL_FUTURE): New macros.
2396         * sysdeps/unix/sysv/linux/syscalls.list (mlock, munlock,
2397         mlockall, munlockall): Change caller field to - from EXTRA.
2398         Don't use __ names; not used (and not declared in include/sys/mman.h).
2400         * hurd/privports.c (__get_privileged_ports): Renamed with __.
2401         Use __ names for calls we make.
2402         (get_privileged_ports): Add alias.
2403         * hurd/hurd.h: Declare it with the __ name.
2404         * sysdeps/mach/hurd/reboot.c (reboot): Use __get_privileged_ports.
2405         * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
2406         * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
2408         * hurd/hurdsig.c (write_corefile): Check RLIMIT_CORE limit and do
2409         nothing if it's zero.
2411 2001-04-19  Matthew Wilcox  <willy@ldl.fc.hp.com>
2413         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL):
2414         Change to return a signed result for compatibility with other
2415         architectures, and correctness.
2417 2001-04-19  Ulrich Drepper  <drepper@redhat.com>
2419         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_32BITUIDS):
2420         HPPA always had them.  Patch by Matthew Wilcox <matthew@wil.cx>.
2422 2001-04-19  Andreas Jaeger  <aj@suse.de>
2424         * configure.in: Require gettext 0.10.36 or newer.
2426         * manual/install.texi (Tools for Compilation): Mention gettext 0.10.36.
2428         * po/zh_TW.po: Remove extraneous backslashes.
2430         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Remove unused
2431         variables b and n.
2433 2001-04-18  Jakub Jelinek  <jakub@redhat.com>
2435         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Update.
2436         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c: New file.
2437         * sysdeps/unix/sysv/linux/sparc/sparc64/swapcontext.c: New file.
2438         * sysdeps/unix/sysv/linux/sparc/sparc64/setcontext.S (__setcontext):
2439         Copy first word of uc_sigmask into __uc_sigmask.
2440         * sysdeps/unix/sysv/linux/sparc/sparc64/getcontext.S (__getcontext):
2441         Save uc_link around trap.  Copy __uc_sigmask into first word of
2442         uc_sigmask, clear the rest.  Make sure setcontext to the created
2443         context doesn't do this though.
2444         * sysdeps/unix/sysv/linux/sparc/sparc64/ucontext_i.h: New file.
2445         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (ucontext_t): Add
2446         uc_stack and uc_sigmask, rename old uc_sigmask to __uc_sigmask in the
2447         64bit version, make uc_sigmask __sigset_t in the 32bit version.
2449 2001-04-19  Andreas Jaeger  <aj@suse.de>
2451         * sysdeps/unix/sysv/linux/hppa/umount.c: Fix typos in last patch.
2453         * rt/Makefile (otherlibs): Added for static NSS.
2455         * glibcbug.in (BUGGLIBC): Send to new alias.
2457 2001-04-02  Andreas Schwab  <schwab@suse.de>
2459         * Makerules (build-module): Make sure exit codes get checked
2460         properly and remove unnecessary slashes.
2462 2001-04-17  Ulrich Drepper  <drepper@redhat.com>
2464         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
2465         Handle kernels which report only three digits after the decimal point.
2466         Reported by Van Okamura <van.okamura@oracle.com>.
2468         * sysdeps/alpha/fpu/libm-test-ulps: Adjust error values for atan2f.
2470 2001-04-17  David S. Miller  <davem@redhat.com>
2472         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Update for new atan2 tests.
2473         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
2475 2001-04-17  Jakub Jelinek  <jakub@redhat.com>
2477         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Make sure
2478         desired exceptions are raised for exceptional values.
2479         * math/libm-test.inc (acosh_test, atan_test, atan2_test, cacos_test,
2480         cacosh_test, casin_test, casinh_test, catan_test, catanh_test,
2481         clog_test, log_test, log1p_test, tan_test): Increase precision of
2482         expected values to satisfy ldbl-128.
2483         * sysdeps/alpha/fpu/libm-test-ulps: Adjust accordingly.
2484         * sysdeps/arm/libm-test-ulps: Likewise.
2485         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
2486         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
2487         * sysdeps/m68k/fpu/libm-test-ulps: Likewise.
2488         * sysdeps/mips/fpu/libm-test-ulps: Likewise.
2489         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
2490         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
2491         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
2492         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
2493         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
2495 2001-04-17  Andreas Jaeger  <aj@suse.de>
2497         * configure.in: Move test for critical programs up.
2499 2001-04-16  Stephen L Moshier  <moshier@mediaone.net>
2501         * sysdeps/ieee754/flt-32/e_asinf.c (pio2_hi, pio2_lo, pio4_hi):
2502         Correct the values.
2503         (pSx, qSx): Replace by shorter approximation.
2504         Use f suffix on float constants.
2506 2001-04-16  Ulrich Drepper  <drepper@redhat.com>
2508         * sysdeps/ieee754/ldbl-128/k_tanl.c: New file.
2509         Contributed by Stephen L Moshier <moshier@mediaone.net>.
2511         * string/string.h: Replace const in attribute list with __const__.
2513 2001-04-16  Roland McGrath  <roland@frob.com>
2515         * grp/initgroups.c (initgroups) [NGROUPS_MAX != 0]: Always use sysconf
2516         instead of the constant NGROUPS_MAX.  That way, the limit can be
2517         raised in the kernel configuration without having to recompile libc.
2519         * sysdeps/posix/euidaccess.c: Don't #include <limits.h> or try to
2520         define NGROUPS_MAX; we don't use it here.
2522 2001-04-16  Andreas Jaeger  <aj@suse.de>
2524         * math/libm-test.inc (atan2_test): Add more testcases.
2526         * iconv/gconv_db.c: Include gconv_charset.h for
2527         __gconv_lookup_alias prototype.
2529 2001-04-13  Ulrich Drepper  <drepper@redhat.com>
2531         * sysdeps/ieee754/ldbl-128/s_atanl.c: New file.
2532         Contributed by Stephen L Moshier <moshier@mediaone.net>.
2534 2001-04-13  Jes Sorensen  <jes@linuxcare.com>
2536         * intl/tst-codeset.c: Include string.h to get prototype for strcmp().
2538 2001-04-13  Jes Sorensen  <jes@linuxcare.com>
2540         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Add __pad0 to
2541         explicitly pad struct siginfo instead of relying on compiler padding.
2543 2001-04-12  Ulrich Drepper  <drepper@redhat.com>
2545         * sysdeps/ia64/Dist: Add elf/entry.h.
2547         * iconvdata/Makefile (distribute): Add TESTS2.
2549 2001-04-13  Jakub Jelinek  <jakub@redhat.com>
2551         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_load_address):
2552         Calculate load address differently.
2554 2001-04-12  Bruno Haible  <haible@clisp.cons.org>
2556         * iconvdata/TESTS2: New file.
2557         * iconvdata/run-iconv-test.sh: Also run tests from TESTS2.
2558         * iconvdata/testdata/alfabeta..UTF-8: New file.
2559         * iconvdata/testdata/alfabeta..UTF-16.BE: New file.
2560         * iconvdata/testdata/alfabeta..UTF-16.LE: New file.
2561         * iconvdata/testdata/alfabeta..UTF-32.BE: New file.
2562         * iconvdata/testdata/alfabeta..UTF-32.LE: New file.
2564 2001-04-11  Bruno Haible  <haible@clisp.cons.org>
2566         * iconvdata/utf-32.c: New file.
2567         * iconvdata/gconv-modules: Add entries for UTF-32, UTF-32LE, UTF-32BE.
2568         * iconvdata/Makefile (modules): Add UTF-32.
2569         (distribute): Add utf-32.c.
2571 2001-04-11  Bruno Haible  <haible@clisp.cons.org>
2573         * iconvdata/utf-16.c (PREPARE_LOOP): Initialize 'swap' after possibly
2574         changing it in the state.  After incrementing 'inptr', store it back.
2575         * iconvdata/unicode.c (PREPARE_LOOP): After incrementing 'inptr',
2576         store it back.
2578 2001-04-11  Bruno Haible  <haible@clisp.cons.org>
2580         * iconvdata/utf-16.c (gconv_init): Use MAX_NEEDED_FROM, not
2581         MIN_NEEDED_FROM.
2583 2001-04-11  David Mosberger  <davidm@hpl.hp.com>
2585         * sysdeps/ia64/htonl.S: Drop superfluous "alloc".
2586         * sysdeps/ia64/htons.S: Likewise.
2588         * sysdeps/ia64/memset.S: Add unwind directives.
2589         * sysdeps/ia64/strncpy.S: Likewise.
2590         * sysdeps/ia64/strcat.S: Likewise.
2592         * sysdeps/ia64/memccpy.S: Add unwind directives.  Drop superfluous
2593         restore of ar.pfs.
2594         * sysdeps/ia64/strchr.S: Likewise.
2595         * sysdeps/ia64/memmove.S: Likewise.
2596         * sysdeps/ia64/memcpy.S: Likewise.
2597         * sysdeps/ia64/memcmp.S: Likewise.
2598         * sysdeps/ia64/memchr.S: Likewise.
2599         * sysdeps/ia64/strcmp.S: Likewise.
2600         * sysdeps/ia64/strlen.S: Likewise.
2601         * sysdeps/ia64/strcpy.S: Likewise.
2602         * sysdeps/ia64/strncmp.S: Likewise.
2604 2001-04-11  Jakub Jelinek  <jakub@redhat.com>
2606         * wcsmbs/wchar.h (fgetwc, getwc, getwchar, fputwc, putwc, putwchar,
2607         fgetws, fputws, ungetwc, getwc_unlocked, getwchar_unlocked,
2608         fgetwc_unlocked, fputwc_unlocked, putwc_unlocked, putwchar_unlocked,
2609         fgetws_unlocked, fputws_unlocked, wcsftime): Add __THROW.
2611 2001-04-11  Andreas Jaeger  <aj@suse.de>
2613         * sysdeps/mips/elf/start.S [__ASSEMBLY__]: Define it.
2615 2001-04-11  Andreas Schwab  <schwab@suse.de>
2617         * sysdeps/m68k/fpu/libm-test-ulps: Adjusted.
2619 2001-04-11  Ulrich Drepper  <drepper@redhat.com>
2621         * sysdeps/arm/stackinfo.h: New file.
2623 2001-04-08  Thorsten Kukuk  <kukuk@suse.de>
2625         * sunrpc/rpc_main.c: If we compile RPC thread safe, allow
2626         rpcgen to generate thread safe code.
2628 2001-04-10  Andreas Jaeger  <aj@suse.de>
2630         * math/test-fenv.c (initial_tests): Protect FE_TONEAREST declaration.
2632 2001-04-10  Ulrich Drepper  <drepper@redhat.com>
2634         * elf/dl-minimal.c (__assert_fail): Change error string.  It's
2635         most of the time no bug in ld.so.
2636         (__assert_perror_fail): Likewise.
2638 2001-04-11  Hans-Peter Nilsson  <hp@axis.com>
2640         * sysdeps/generic/bits/fenv.h (fexcept_t): Change default type
2641         from struct to unsigned int.
2643 2001-04-10  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
2645         * elf/elf.h (AT_DCACHEBSIZE, AT_ICACHEBSIZE, AT_UCACHEBSIZE,
2646         AT_IGNOREPPC): New defines.
2647         * sysdeps/generic/dl-sysdep.c (_dl_show_auxv): Print them.
2648         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_STD_AUXV):
2649         Define for newer powerpc kernels.
2650         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Use the standard
2651         DL_FIND_ARG_COMPONENTS if __ASSUME_STD_AUXV is defined.
2653 2000-4-10  kaz Kojima  <kkojima@rr.iij4u.or.jp>
2655         * sysdeps/sh/stackinfo.h: New file.
2657 2001-04-10  Ulrich Drepper  <drepper@redhat.com>
2659         * locale/tst-C-locale.c (run_test): Add tests for locale objects.
2660         * locale/newlocale.c (__newlocale): Correct setting __ctype_b,
2661         __ctype_tolower, and __ctype_toupper elements.
2663         * ctype/ctype_l.c: Fix definitions of __tolower_l and __toupper_l.
2664         Reported by Konstantin Osipov <rabid@spylog.ru>.
2666         * sysdeps/i386/fpu/libm-test-ulps: Add deltas for tgamma to help
2667         the lousy AMD FPU.
2669 2001-04-10  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
2671         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: New file.
2672         * sysdeps/unix/sysv/linux/powerpc/Dist: Add sys/ptrace.h.
2673         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Delete wrong stuff.
2674         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Correct typedefs.
2676 2001-04-10  Ulrich Drepper  <drepper@redhat.com>
2678         * elf/dl-deps.c (_dl_map_object_deps): Provide complete error
2679         message.  Based on a patch by HJ Lu.
2681 2001-04-10  Andreas Schwab  <schwab@suse.de>
2683         * math/libm-test.inc (csinh_test): Don't require the invalid
2684         exception for csinh (x + iNaN), but make it optional.
2686 2001-04-09  David Mosberger  <davidm@hpl.hp.com>
2688         * sysdeps/ia64/elf/start.S (_start): Add unwind directives.
2690         * sysdeps/generic/entry.h [!__ASSEMBLY__]: Declare _start.
2691         * sysdeps/ia64/elf/entry.h: New file.
2692         * sysdeps/unix/sysv/linux/mips/entry.h [!__ASSEMBLY__]: Declare
2693         __start.
2694         * elf/rtld.c: Don't declare ENTRY_POINT.  Use ENTRY_POINT instead
2695         of &ENTRY_POINT.
2696         * sysdeps/generic/dl-sysdep.c: Likewise.
2697         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
2698         * sysdeps/ia64/elf/start.S: Save base address of register backing
2699         store in __libc_ia64_register_backing_store_base.
2701 2001-04-10  Martin Schwidefsky  <schwidefsky@de.ibm.com>
2703         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Fix return
2704         value of getcontext.
2705         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
2706         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Fix return
2707         value of setcontext.
2708         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
2709         * sysdeps/unix/sysv/linux/s390/swapcontext.c: Skip setcontext
2710         call by changing the saved context.
2712 2001-04-10  Ulrich Drepper  <drepper@redhat.com>
2714         * sysdeps/alpha/stackinfo.h: New file.
2715         * sysdeps/ia64/stackinfo.h: New file.
2717 2001-04-10  Andreas Schwab  <schwab@suse.de>
2719         * sysdeps/m68k/fpu/e_pow.c: Correct handling of some exceptional
2720         values.
2721         * sysdeps/m68k/fpu/e_scalb.c: Likewise.
2723 2001-04-09  Ulrich Drepper  <drepper@redhat.com>
2725         * sysdeps/sparc/sparc32/sparcv9/Dist: Add hp-timing.c.
2726         * sysdeps/sparc/sparc64/Dist: Add hp-timing.c.
2728         * libio/Makefile (distribute): Add fd_to_filename.h.
2730 2001-04-05  David S. Miller  <davem@redhat.com>
2732         Add hp-timing support for sparcv9/sparc64 targets.
2733         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: New file
2734         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: New file
2735         * sysdeps/sparc/sparc64/hp-timing.c: New file
2736         * sysdeps/sparc/sparc64/hp-timing.h: New file
2737         * sysdeps/sparc/sparc32/sparcv9/Makefile: Build hp-timing.
2738         * sysdeps/sparc/sparc64/Makefile: Likewise.
2740 2001-04-09  Jakub Jelinek  <jakub@redhat.com>
2742         * sysdeps/generic/fd_to_filename.h: New file.
2743         * sysdeps/unix/sysv/linux/fd_to_filename.h: New file.
2744         * libio/freopen.c (freopen): If FILENAME is NULL, try to get
2745         filename from the open file descriptor.
2746         * libio/freopen64.c (freopen64): Likewise.
2748 2001-04-09  Bruno Haible  <haible@clisp.cons.org>
2750         * misc/error.c (error): fflush stdout also if
2751         error_print_progname != NULL.
2752         (error_at_line): Likewise.
2754 2001-04-07  Bruno Haible  <haible@clisp.cons.org>
2756         * intl/gettextP.h (struct loaded_domain): Add codeset_cntr field.
2757         (struct binding): Add codeset_cntr field.
2758         (_nl_load_domain): Add domainbinding argument.
2759         (_nl_init_domain_conv, _nl_free_domain_conv): New declarations.
2760         (_nl_find_msg): New declaration, moved here from loadinfo.h.
2761         * intl/loadinfo.h (struct loaded_l10nfile): Remove domainbinding field.
2762         (_nl_make_l10nflist): Remove domainbinding argument.
2763         (_nl_find_msg): Move declaration to gettextP.h.
2764         * intl/bindtextdom.c (set_binding_values): Initialize ->codeset_cntr
2765         to 0.  Increment it when ->codeset is changed.
2766         * intl/dcigettext.c (DCIGETTEXT): Pass binding to _nl_find_msg.
2767         (_nl_find_msg): Add domainbinding argument.  Reinitialize the converter
2768         if domainbinding->codeset_cntr has been incremented.
2769         * intl/finddomain.c (_nl_find_domain): Don't pass domainbinding to
2770         _nl_make_l10nflist().  Pass it to _nl_load_domain() instead.
2771         * intl/l10nflist.c (_nl_make_l10nflist): Remove domainbinding argument.
2772         * intl/loadmsgcat.c (_nl_init_domain_conv): New function, extracted
2773          from _nl_load_domain.  Append //TRANSLIT also when using libiconv.
2774         (_nl_free_domain_conv): New function, extracted from _nl_unload_domain.
2775         (_nl_load_domain): Add domainbinding argument.  Call
2776         _nl_init_domain_conv.
2777         (_nl_unload_domain): Call _nl_free_domain_conv.
2778         * intl/Makefile (distribute): Add tst-codeset.sh, tstcodeset.po.
2779         (test-srcs): Add tst-codeset.
2780         (tests): Depend on tst-codeset.out.
2781         (tst-codeset.out): New rule.
2782         (CFLAGS-tst-codeset.c): New variable.
2783         * intl/tst-codeset.sh: New file.
2784         * intl/tstcodeset.po: New file.
2785         * intl/tst-codeset.c: New file.
2786         * locale/findlocale.c (_nl_find_locale): Update _nl_make_l10nflist
2787         calls.
2789 2001-04-07  Roland McGrath  <roland@frob.com>
2791         * mach/msgserver.c (__mach_msg_server_timeout): Add an assert.
2793 2001-03-31  Roland McGrath  <roland@frob.com>
2795         * sysdeps/mach/hurd/fork.c: Skip NEWPROC just like NEWTASK when
2796         copying send rights into child.  When we hit our name for our proc
2797         port, just copy NEWPROC directly instead of repeating proc_task2proc
2798         to install the child's port.
2800 2001-04-08  Roland McGrath  <roland@frob.com>
2802         * Makeconfig ($(common-objpfx)soversions.i): Grok entries with DEFAULT
2803         in second column, to provide default values for third column.
2804         * shlib-versions: Add comments about using DEFAULT in second column.
2805         (s390x-.*-linux.*): Replace individual entries with a DEFAULT entry.
2806         (cris-.*-linux.*): Likewise.
2808 2001-04-09  Ulrich Drepper  <drepper@redhat.com>
2810         * Makefile (distribute): Add scripts/documented.sh.
2811         * scripts/documented.sh: New file.
2813 2001-04-08  Hans-Peter Nilsson  <hp@axis.com>
2815         * sysdeps/unix/sysv/linux/cris/Dist: New file.
2816         * sysdeps/unix/sysv/linux/cris/Makefile: New file.
2817         * sysdeps/unix/sysv/linux/cris/_G_config.h: New file.
2818         * sysdeps/unix/sysv/linux/cris/bits/fcntl.h: New file.
2819         * sysdeps/unix/sysv/linux/cris/bits/mman.h: New file.
2820         * sysdeps/unix/sysv/linux/cris/bits/resource.h: New file.
2821         * sysdeps/unix/sysv/linux/cris/brk.c: New file.
2822         * sysdeps/unix/sysv/linux/cris/chown.c: New file.
2823         * sysdeps/unix/sysv/linux/cris/clone.S: New file.
2824         * sysdeps/unix/sysv/linux/cris/fchown.c: New file.
2825         * sysdeps/unix/sysv/linux/cris/fcntl.c: New file.
2826         * sysdeps/unix/sysv/linux/cris/fxstat.c: New file.
2827         * sysdeps/unix/sysv/linux/cris/getegid.c: New file.
2828         * sysdeps/unix/sysv/linux/cris/geteuid.c: New file.
2829         * sysdeps/unix/sysv/linux/cris/getgid.c: New file.
2830         * sysdeps/unix/sysv/linux/cris/getgroups.c: New file.
2831         * sysdeps/unix/sysv/linux/cris/getresgid.c: New file.
2832         * sysdeps/unix/sysv/linux/cris/getresuid.c: New file.
2833         * sysdeps/unix/sysv/linux/cris/getrlimit.c: New file.
2834         * sysdeps/unix/sysv/linux/cris/getrlimit64.c: New file.
2835         * sysdeps/unix/sysv/linux/cris/getuid.c: New file.
2836         * sysdeps/unix/sysv/linux/cris/lchown.c: New file.
2837         * sysdeps/unix/sysv/linux/cris/lockf64.c: New file.
2838         * sysdeps/unix/sysv/linux/cris/lxstat.c: New file.
2839         * sysdeps/unix/sysv/linux/cris/mmap.S: New file.
2840         * sysdeps/unix/sysv/linux/cris/mmap64.S: New file.
2841         * sysdeps/unix/sysv/linux/cris/msgctl.c: New file.
2842         * sysdeps/unix/sysv/linux/cris/profil-counter.h: New file.
2843         * sysdeps/unix/sysv/linux/cris/register-dump.h: New file.
2844         * sysdeps/unix/sysv/linux/cris/semctl.c: New file.
2845         * sysdeps/unix/sysv/linux/cris/setegid.c: New file.
2846         * sysdeps/unix/sysv/linux/cris/seteuid.c: New file.
2847         * sysdeps/unix/sysv/linux/cris/setfsgid.c: New file.
2848         * sysdeps/unix/sysv/linux/cris/setfsuid.c: New file.
2849         * sysdeps/unix/sysv/linux/cris/setgid.c: New file.
2850         * sysdeps/unix/sysv/linux/cris/setgroups.c: New file.
2851         * sysdeps/unix/sysv/linux/cris/setregid.c: New file.
2852         * sysdeps/unix/sysv/linux/cris/setresgid.c: New file.
2853         * sysdeps/unix/sysv/linux/cris/setresuid.c: New file.
2854         * sysdeps/unix/sysv/linux/cris/setreuid.c: New file.
2855         * sysdeps/unix/sysv/linux/cris/setrlimit.c: New file.
2856         * sysdeps/unix/sysv/linux/cris/setuid.c: New file.
2857         * sysdeps/unix/sysv/linux/cris/shmctl.c: New file.
2858         * sysdeps/unix/sysv/linux/cris/socket.S: New file.
2859         * sysdeps/unix/sysv/linux/cris/sys/ucontext.h: New file.
2860         * sysdeps/unix/sysv/linux/cris/syscall.S: New file.
2861         * sysdeps/unix/sysv/linux/cris/sysdep.S: New file.
2862         * sysdeps/unix/sysv/linux/cris/sysdep.h: New file.
2863         * sysdeps/unix/sysv/linux/cris/vfork.S: New file.
2864         * sysdeps/unix/sysv/linux/cris/xstat.c: New file.
2866 2001-04-08  Hans-Peter Nilsson  <hp@axis.com>
2868         * sysdeps/cris/Dist: New file.
2869         * sysdeps/cris/Implies: New file.
2870         * sysdeps/cris/Makefile: New file.
2871         * sysdeps/cris/__longjmp.S: New file.
2872         * sysdeps/cris/_mcount.S: New file.
2873         * sysdeps/cris/bits/endian.h: New file.
2874         * sysdeps/cris/bits/setjmp.h: New file.
2875         * sysdeps/cris/bits/string.h: New file.
2876         * sysdeps/cris/dl-machine.h: New file.
2877         * sysdeps/cris/elf/start.S: New file.
2878         * sysdeps/cris/machine-gmon.h: New file.
2879         * sysdeps/cris/memcopy.h: New file.
2880         * sysdeps/cris/memusage.h: New file.
2881         * sysdeps/cris/setjmp.S: New file.
2882         * sysdeps/cris/sysdep.h: New file.
2883         * sysdeps/cris/wordcopy.c: New file.
2885 2001-04-08  Hans-Peter Nilsson  <hp@axis.com>
2887         * elf/elf.h: Add new relocations for CRIS.
2889 2001-04-08  Hans-Peter Nilsson  <hp@axis.com>
2891         * shlib-versions: Add cases for Linux on CRIS.
2893 2001-04-08  Hans-Peter Nilsson  <hp@axis.com>
2895         * configure.in (ASM_LINE_SEP tests): Handle CRIS assembly, with
2896         ';' for comments and '@' for line separator.
2898 2001-04-08  Hans-Peter Nilsson  <hp@axis.com>
2900         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Fix
2901         typo; s/==/=/ for assignment.
2903 2001-04-08  Hans-Peter Nilsson  <hp@axis.com>
2905         * malloc/Makefile: Correct comment; mtrace is Perl, not AWK.
2907 2001-04-08  Hans-Peter Nilsson  <hp@axis.com>
2909         * iconv/gconv_simple.c (internal_ucs4_loop_unaligned): Check for
2910         empty input before checking full output.
2912 2001-04-08  Hans-Peter Nilsson  <hp@axis.com>
2914         * iconv/gconv.c (__gconv): Don't derefer parameter cd before
2915         checking if == -1L.
2917 2001-04-08  Ulrich Drepper  <drepper@redhat.com>
2919         * inet/rexec.c (rexec_af): Avoid calling perror with errno being set.
2921 2001-04-07  Stephen L Moshier  <moshier@mediaone.net>
2923         * sysdeps/ieee754/ldbl-128/e_logl.c: Correct infinity and NaN
2924         return values.
2926 2001-04-07  Ulrich Drepper  <drepper@redhat.com>
2928         * stdlib/tst-setcontext.c (main): Add a test for setcontext.
2930         * sysdeps/unix/sysv/linux/i386/getcontext.S: New file.
2931         * sysdeps/unix/sysv/linux/i386/setcontext.S: New file.
2932         * sysdeps/unix/sysv/linux/i386/makecontext.S: New file.
2933         * sysdeps/unix/sysv/linux/i386/swapcontext.S: New file.
2934         * sysdeps/unix/sysv/linux/i386/ucontext_i.h: New file.
2935         * sysdeps/unix/sysv/linux/i386/Dist: Add ucontext_i.h.
2937 2001-04-07  Andreas Jaeger  <aj@suse.de>
2939         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Use sincos
2940         instead of separate sin and cos.
2941         (__ieee754_j1l): Likewise.
2943 2001-04-06  Ulrich Drepper  <drepper@redhat.com>
2945         * sysdeps/ia64/abort-instr.h: New file.  Code by David Mosberger.
2947         * sysdeps/ia64/atomicity.h: New file.  Copied from libstdc++.
2949         * sysdeps/i386/i486/atomicity.h: Clean up the asms.
2951         * sysdeps/generic/e_scalb.c: Don't use FE_INVALID unless it's
2952         available.
2953         * sysdeps/generic/e_scalbf.c: Likewise.
2954         * sysdeps/generic/e_scalbl.c: Likewise.
2955         Patch by Mark Hatle <fray@mvista.com>.
2957 2001-04-05  David S. Miller  <davem@redhat.com>
2959         * sysdeps/sparc/abort-instr.h: New file.
2961 2001-04-05  Matt Wilson  <msw@redhat.com>
2963         * sysdeps/unix/sysv/linux/alpha/getsysstats.c (GET_NPROCS_PARSER):
2964         added code to parse new 2.4 format.
2965         (GET_NPROCS_CONF_PARSER): Likewise.
2967 2001-04-05  David S. Miller  <davem@redhat.com>
2969         * scripts/config.sub: Recognize sparcv9b like sparcv9.
2970         * configure.in: Add sparcv9b.
2971         * sysdeps/sparc/sparc32/sparcv9b/Implies: New file
2972         * sysdeps/sparc/sparc32/sparcv9b/memcpy.S: New file
2973         * sysdeps/sparc/sparc64/sparcv9b/memcpy.S: New file
2975 2001-04-06  David Mosberger  <davidm@hpl.hp.com>
2977         * stdlib/tst-setcontext.c: Move st2[] to global scope.
2978         (f2): Verify that stack pointer is inside st2[].
2980         * sysdeps/unix/sysv/linux/ia64/getcontext.S: It helps to save r12.
2981         * sysdeps/unix/sysv/linux/ia64/setcontext.S: It helps to restore r12.
2983 2001-04-06  Ulrich Drepper  <drepper@redhat.com>
2985         * timezone/antarctica: Update from tzdata2001b.
2986         * timezone/asia: Likewise.
2987         * timezone/australasia: Likewise.
2988         * timezone/europe: Likewise.
2989         * timezone/northamerica: Likewise.
2991         * iconv/iconv_open.c: Move strip and upstr definitions...
2992         * iconv/gconv_charset.h: ...here.  New file.
2993         * iconv/gconv_db.c (once): Move to file level.
2994         (do_lookup_alias): Split out from __gconv_find_transform.
2995         (__gconv_find_transform): Call do_lookup_alias.
2996         (__gconv_loopup_alias): New function.
2997         * locale/langinfo.h: Define _NL_*_CODESET values for all categories
2998         but LC_CTYPE.
2999         * locale/categories.def: Add entries for new _NL_*_CODESET values.
3000         * locale/C-ctype.c: Use _nl_C_codeset to initialize CODESET entry.
3001         * locale/C-address.c: Initialize _NL_*_CODESET element.
3002         * locale/C-collate.c: Likewise.
3003         * locale/C-identification.c: Likewise.
3004         * locale/C-measurement.c: Likewise.
3005         * locale/C-messages.c: Likewise.
3006         * locale/C-monetary.c: Likewise.
3007         * locale/C-name.c: Likewise.
3008         * locale/C-numeric.c: Likewise.
3009         * locale/C-paper.c: Likewise.
3010         * locale/C-telephone.c: Likewise.
3011         * locale/C-time.c: Likewise.
3012         * locale/localeinfo.h: Declare _nl_C_codeset.
3013         * locale/C_name.c: Define _nl_C_codeset.
3014         * locale/findlocale.c: Before accepting locale check that the used
3015         charset does not conflict with what the locale name said.
3016         * locale/programs/ld-address.c: Emit codeset information.
3017         * locale/programs/ld-collate.c: Likewise.
3018         * locale/programs/ld-identification.c: Likewise.
3019         * locale/programs/ld-measurement.c: Likewise.
3020         * locale/programs/ld-messages.c: Likewise.
3021         * locale/programs/ld-monetary.c: Likewise.
3022         * locale/programs/ld-name.c: Likewise.
3023         * locale/programs/ld-numeric.c: Likewise.
3024         * locale/programs/ld-paper.c: Likewise.
3025         * locale/programs/ld-telephone.c: Likewise.
3026         * locale/programs/ld-time.c: Likewise.
3028         * localedata/tests-mbwc/tst_funcs.h (TST_HEAD_LOCALE): It is an error
3029         if the locale data couldn't be found.
3031         * string/Makefile: Define tst-strxfrm-ENV.
3033         * ysdeps/unix/sysv/linux/ia64/getcontext.S: Fix comment.
3035 2001-04-06  Andreas Jaeger  <aj@suse.de>
3037         * include/sys/profil.h: New file.
3039         * dlfcn/modatexit.c: Add prototypes to silence GCC.
3040         * dlfcn/modcxaatexit.c: Likewise.
3041         * elf/globalmod1.c: Likewise.
3043 2001-04-05  David S. Miller  <davem@redhat.com>
3045         * elf/elf.h (HWCAP_SPARC_ULTRA3): Define it.
3046         * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h: Add it to
3047         capability flags table and HWCAP_IMPORTANT, increase
3048         _DL_HWCAP_COUNT to 6.
3049         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h: Likewise.
3051 2001-04-04  David Mosberger  <davidm@hpl.hp.com>
3053         * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext): Fix
3054         initialization of stack_end (bug reported by Zheng Gengbin
3055         <gzheng@students.uiuc.edu>).
3057 2001-04-05  Ulrich Drepper  <drepper@redhat.com>
3059         * sysdeps/i386/fpu/libm-test-ulps: Relax errors for asinl.
3061 2001-04-05  Martin Schwidefsky  <schwidefsky@de.ibm.com>
3063         * sysdeps/unix/sysv/linux/s390/s390-64/bits/socket.h: New file.
3065 2001-04-05  Ulrich Drepper  <drepper@redhat.com>
3067         * sysdeps/ieee754/ldbl-96/e_asinl.c: Correct handling of +-Inf.
3068         * sysdeps/i386/fpu/e_asinl.S: Removed.  Too inaccurate.
3070         * login/tst-utmp.c: Make file usable again in tst-utmpx.c.
3072 2001-04-04  Ulrich Drepper  <drepper@redhat.com>
3074         * sysdeps/unix/sysv/aix/dl-libc.c: Don't use the ELF version,
3075         define simple replacements here.  Patch by Michael Keezer.
3077         * sysdeps/ieee754/ldbl-128/e_logl.c: New file.
3078         * sysdeps/ieee754/ldbl-96/e_asinl.c: New file.
3079         Contributed by Stephen L Moshier <moshier@mediaone.net>.
3081         * posix/fnmatch_loop.c: Undefine NEW_PATTERN when it is not used
3082         anymore.
3084 2001-04-01  Andreas Jaeger  <aj@suse.de>
3086         * sysdeps/generic/s_nextafter.c (NO_LONG_DOUBLE): Add nexttowardl
3087         alias.
3089         * sysdeps/generic/s_fma.c (NO_LONG_DOUBLE): Add fmal alias.
3091 2001-04-04  Ulrich Drepper  <drepper@redhat.com>
3093         * sysdeps/unix/sysv/linux/s390/s390-64/Dist: Add ucontext_i.h.
3094         * sysdeps/unix/sysv/linux/s390/s390-32/Dist: Likewise.
3096 2001-04-04  Martin Schwidefsky  <schwidefsky@de.ibm.com>
3098         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: New file.
3099         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: New file.
3100         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: New file.
3101         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.h: New file.
3102         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: New file.
3103         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: New file.
3104         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: New file.
3105         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.h: New file.
3106         * sysdeps/unix/sysv/linux/s390/swapcontext.c: New file.
3108 2001-04-04  Andreas Jaeger  <aj@suse.de>
3110         * sysdeps/powerpc/dl-machine.h (ELF_MACHINE_NO_REL): Move to right
3111         place.
3113 2001-04-04  Ulrich Drepper  <drepper@redhat.com>
3115         * sunrpc/rpc_scan.c (symbols): Add entry for HYPER.
3116         * sunrpc/rpc_scan.h (enum tok_kind): Add TOK_HYPER.
3117         * sunrpc/rpc_parse.c (get_type): Handle TOK_HYPER.
3118         (unsigned_dec): Likewise.
3119         Patch by atai@jezebel.dreamhost.com.
3121         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r): Pass
3122         pointer to int as last parameter of yp_match.
3123         Patch by kanazawa@flab.fujitsu.co.jp.
3125 2001-04-03  Ulrich Drepper  <drepper@redhat.com>
3127         * resolv/netdb.h (gai_strerror): Make return value const.
3128         * sysdeps/generic/gai_strerror.c (gai_strerror): Likewise.
3129         * sysdeps/posix/gai_strerror.c (gai_strerror): Likewise.
3130         Add strings for new error values.
3132 2001-03-29  Michael Keezer  <mkeezer@redhat.com>
3134         * posix/tst-gnuglob.c: Added ifdef _DIRENT_HAVE_D_TYPE.
3135         * login/tst-utmp.c: Handle case where ut_tv is not available but
3136         ut_time is.
3137         * sysdeps/unix/sysv/aix/utmpx.h: New file.
3138         * sysdeps/unix/sysv/aix/bits/utmpx.h: Added
3139         _HAVE_UT_TYPE/PID/ID/TV/HOST defines.
3140         * sysdeps/unix/sysv/aix/libc-start.c: Removed temp code and made stub.
3141         * sysdeps/unix/sysv/aix/gettimeofday.c: New file added routines
3142         to access RTCU timer reg.
3143         * sysdeps/unix/sysv/aix/Makefile: Remove /usr/lib/crt0.o
3144         added dl-libc, dl-open,dl-sym, dl-close to misc.
3145         * sysdeps/unix/sysv/aix/start.c: New file.  Start code.
3146         * sysdeps/unix/sysv/aix/dlldr.h: New file.  AIX __loadx defines.
3147         * sysdeps/unix/sysv/aix/dl-close.c: New file.  AIX dl-close.
3148         * sysdeps/unix/sysv/aix/dl-open.c: New file.  AIX dl-open.
3149         * sysdeps/unix/sysv/aix/dl-sym.c: New file.  AIX dl-sym.
3150         * sysdeps/unix/sysv/aix/dl-libc.c: New file.  libc_dl-xxx support.
3151         * sysdeps/generic/strtoll.c: Added SHLIB_COMPAT(libc,GLIBC_2_0,
3152         GLIBC_2_2).
3153         * sysdeps/generic/strtoull.c: Likewise.
3154         * sysdeps/powerpc/ppc-mcount.S: Added nop after bl instruction.
3155         * sysdeps/unix/sysv/aix/powerpc/memset.c: New file to include
3156         sysdeps/generic/memset.c.
3157         * sysdeps/unix/sysv/aix/getpeername.c: Define __getpeername.
3159 2001-04-03  Ulrich Drepper  <drepper@redhat.com>
3161         * iconv/Makefile (CFLAGS-charmap.c): Add -DNEED_NULL_POINTER.
3162         * locale/programs/charmap.c: Define null_pointer if
3163         NEED_NULL_POINTER is defined.
3165         * misc/dirname.c (dirname): Handle multiple slashes correctly.
3167 2001-04-03  Martin Schwidefsky  <schwidefsky@de.ibm.com>
3169         * sysdeps/s390/s390-64/initfini.c: Fix __gmon_start__ GOT access.
3171 2001-04-03  Martin Schwidefsky  <schwidefsky@de.ibm.com>
3173         * sysdeps/s390/s390-32/bcopy.S: Optimize for speed.
3174         * sysdeps/s390/s390-64/bcopy.S: Likewise.
3175         * sysdeps/s390/s390-32/mempcy.S: Likewise.
3176         * sysdeps/s390/s390-64/memcpy.S: Likewise.
3178 2001-04-02  Bruno Haible  <haible@clisp.cons.org>
3180         * manual/message.texi (Advanced gettext functions): More specific
3181         syntax in the plural formula examples.
3183 2001-04-02  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
3185         * sysdeps/powerpc/atomicity.h: Silence warnings.
3186         * sysdeps/powerpc/dl-machine.h: Likewise.
3187         * sysdeps/powerpc/register-dump.h: Likewise.
3188         * sysdeps/powerpc/fpu/s_lrint.c: Likewise.
3190 2001-04-02  Andreas Jaeger  <aj@suse.de>
3192         * misc/tst-dirname.c (main): Add more tests, derived from a bug
3193         report by Michael Kerrisk <mtk16@ext.canterbury.ac.nz>.
3195 2001-04-01  Andreas Jaeger  <aj@suse.de>
3197         * debug/xtrace.sh (pcprofileso): Use SLIBDIR since libpcprofile.so
3198         is installed there.
3199         * malloc/memusage.sh (memusageso): Likewise for libmemusage.so.
3201 2001-04-01  H.J. Lu  <hjl@gnu.org>
3203         * posix/annexc.c (macrofile): Renamed from TMPFILE and set to
3204         tmpnam (NULL).
3205         * stdlib/isomac.c (macrofile): Likewise.
3207 2001-03-30  Thorsten Kukuk  <kukuk@suse.de>
3209         * inet/rcmd.c: Allow AF_UNSPEC as parameter.
3210         * nis/ypclnt.c (yp_all): Print error message only at last try,
3211         check for protocoll error only if we don't have a network error.
3213 2001-04-02  Andreas Schwab  <schwab@suse.de>
3215         * resolv/res_data.c (res_isourserver): Fix cast.
3217 2001-04-02  Andreas Jaeger  <aj@suse.de>
3219         * sysdeps/unix/sysv/linux/hppa/umount.c: Add prototype for
3220         __umount2.
3222         * sysdeps/i386/dl-machine.h (RTLD_START): Don't use multi-line
3223         strings.
3224         (ELF_MACHINE_RUNTIME_TRAMPOLINE): Likewise.
3226         * sysdeps/ieee754/dbl-64/uroot.h: Add missing braces arount
3227         initializers.
3228         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Likewise.
3230         * elf/rtld.c (print_statistics)[!HP_TIMING_NONAVAIL]: Avoid
3231         warning about unused variable.
3233         * string/string.h (strndupa): Add cast for C++ conformance.
3234         (strdupa): Likewise.
3235         Fixes PR libc/2173, reported by tbrowder@home.com.
3237 2001-03-30  Roland McGrath  <roland@frob.com>
3239         * sysdeps/mach/hurd/Makefile ($(link-rpcuserlibs)): Don't append
3240         options after $(build-module), which is no longer a single command.
3241         (LDFLAGS-link-rpcuserlibs): New variable to hold those options.
3242         (LDFLAGS-libmachuser-link.so, LDFLAGS-libhurduser-link.so): New
3243         variables using it.  Reported by Mark Kettenis <kettenis@gnu.org>.
3245 2001-03-11  Roland McGrath  <roland@frob.com>
3247         * elf/rtld.c (dl_main): Add cast to quiet warning.
3248         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
3249         * iconv/gconv_conf.c (__gconv_get_path): Likewise.
3250         (__gconv_read_conf): Likewise.
3251         * iconv/gconv_db.c (gen_steps): Likewise.
3252         (__gconv_find_transform): Likewise.
3253         * locale/programs/charmap-dir.c (fopen_uncompressed): Likewise.
3254         (fopen_uncompressed): Use const in second argument's type.
3256 2001-03-11  Roland McGrath  <roland@frob.com>
3258         * sysdeps/mach/hurd/dl-sysdep.c (__writev): New function.
3260         * mach/mach_error.h: Fix ancient #endif syntax.
3261         * hurd/hurdmalloc.c: Likewise.
3263         * sysdeps/generic/atomicity.h (exchange_and_add, atomic_add,
3264         compare_and_swap): Add volatile qualifier to first arg, to bring
3265         these prototypes in line with all the other implementations.
3266         Add a #warning to remind the builder that these are not atomic.
3268 2001-03-04  Roland McGrath  <roland@frob.com>
3270         * hurd/vpprintf.c (vpprintf) [USE_IN_LIBIO]: Use innermore first
3271         member of TEMP_F so its type is _IO_FILE * as expected.
3273         * hurd/fopenport.c (seekio): Conditionalize type of POS argument
3274         on [USE_IN_LIBIO].  Check the value for overflow, since for libio
3275         it might exceed off_t's range.
3277 2001-02-25  Roland McGrath  <roland@frob.com>
3279         * sysdeps/mach/hurd/sysd-stdio.c (__stdio_reopen): Use prototype.
3280         * sysdeps/unix/bsd/getpt.c (__posix_openpt): Likewise.
3282         * sysdeps/mach/hurd/i386/intr-msg.h (SYSCALL_EXAMINE): Make this a
3283         macro instead of an inline function,
3284         (MSG_EXAMINE): Likewise.
3286         * hurd/hurd/ioctl.h (_HURD_HANDLE_IOCTLS_1): Remove extraneous ##.
3288         * hurd/get-host.c: Include <string.h> for decls of built-ins.
3289         * hurd/hurdchdir.c: Likewise.
3290         * sysdeps/mach/hurd/i386/sigreturn.c: Likweise.
3291         * sysdeps/mach/hurd/opendir.c: Likewise.
3293         * mach/mach_init.c: Include <unistd.h> for _exit decl.
3295         * mach/errsystems.awk: Give output file a trailing newline.
3297         * mach/Machrules (MIG): Prepend CC='${CC}' to the mig command, so that
3298         the script will use our compiler for the cpp stage.
3300         With --enable-all-warnings we get a whole bunch of warnings,
3301         and these are just a few fixes; there are more needed to silence it.
3302         * mach/mach/mig_support.h (__mig_strncpy, mig_strncpy): Add extern
3303         decls before extern inline defns to quiet gcc warning.
3304         * hurd/hurd/threadvar.h (__hurd_threadvar_location_from_sp): Likewise.
3305         * sysdeps/mach/i386/machine-sp.h (__thread_stack_pointer): Likewise.
3307 2001-03-31  Andreas Jaeger  <aj@suse.de>
3309         * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_RAWHDLC): Added.
3310         (ARPHRD_HDLC): Define as alias for ARPHRD_CISCO.
3311         (ARPHRD_CISCO): New.
3312         Changes from Linux 2.4.3.
3314 2001-03-30  Isamu Hasegawa  <isamu@yamato.ibm.com>
3316         * posix/regex.c: Avoid an access violation if malloc fails.
3318 2001-03-30  Andreas Jaeger  <aj@suse.de>
3320         * sysdeps/alpha/ldiv.S (ldiv): Add alias for imaxdiv.
3322 2001-03-29  Ulrich Drepper  <drepper@redhat.com>
3324         * posix/regex.c: Remove unnecessary ifs.
3326         * math/bits/mathcalls.h: Remove infnan declaration.
3328 2001-03-29  H.J. Lu  <hjl@gnu.org>
3330         * include/endian.h: Define BIG_ENDI, LITTLE_ENDI, HIGH_HALF,
3331         and LOW_HALF only if _LIBC is defined and _ISOMAC is not defined.
3332         * stdlib/isomac.c (fmt): Define _LIBC and _ISOMAC.
3334 2001-03-29  Isamu Hasegawa  <isamu@yamato.ibm.com>
3336         * posix/regex.c: Fix typo and add a sentinel.
3338 2001-03-29  Ulrich Drepper  <drepper@redhat.com>
3340         * sysdeps/unix/sysv/linux/shm_open.c: Open new file always with
3341         O_NOFOLLOW.  Suggested by Christoph Roland.
3343 2001-03-27  Martin Schwidefsky  <schwidefsky@de.ibm.com>
3345         * sysdeps/s390/bits/string.h: New unified 31/64 bit string.h.
3346         * sysdeps/s390/s390-32/bits/string.h: Remove.
3347         * sysdeps/s390/s390-64/bits/string.h: Remove.
3348         * sysdeps/s390/s390-32/strcmp.S: New file.
3349         * sysdeps/s390/s390-64/strcmp.S: New file.
3351 2001-03-27  Martin Schwidefsky  <schwidefsky@de.ibm.com>
3353         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Fix typo.
3354         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
3356 2001-03-27  Ulrich Drepper  <drepper@redhat.com>
3358         * version.h (VERSION): Bump to 2.2.3.
3360         * stdlib/isomac.c (fmt): Don't define _LIBC.
3361         * include/endian.h: Define BIG_ENDI, LITTLE_ENDI, HIGH_HALF, and
3362         LOW_HALF only if _LIBC is defined.
3364         * sysdeps/i386/fpu/libm-test-ulps: Slight adjustment of yn() error.
3366         * posix/fnmatch_loop.c (FCT): Handle !() after * special like @()
3367         and +().
3368         * posix/tst-fnmatch.input: Add test cases for matching empty strings.
3370         * sysdeps/ieee754/dbl-64/endian.h: Removed.  Move definitions...
3371         * include/endian.h: ...to here.
3373 2001-03-27  kaz Kojima  <kkojima@rr.iij4u.or.jp>
3375         * sysdeps/sh/sys/ucontext.h (NFREG): Rename to NFPREG.
3376         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (NFREG): Likewise.
3378 2001-03-27  Martin Schwidefsky  <schwidefsky@de.ibm.com>
3380         * sysdeps/unix/sysv/linux/s390/ldconfig.h: Fix typo.
3382 2001-03-26  Ulrich Drepper  <drepper@redhat.com>
3384         * sysdeps/ia64/fpu/Dist: Add new files to distribute.
3385         * sysdeps/unix/sysv/linux/s390/s390-64/Dist: Likewise.
3386         * sysdeps/unix/sysv/linux/ia64/Dist: Likewise.
3388         * gmon/Makefile (headers): Add sys/profil.h.
3390 2001-03-18  Andreas Jaeger  <aj@suse.de>
3392         * manual/install.texi (Tools for Compilation): Advise to use GCC
3393         2.95.3.
3394         (Supported Configurations): Mention s390x.
3396 2001-03-26  Ben Collins  <bcollins@debian.org>
3398         * sysdeps/unix/sysv/linux/mips/bits/mman.h: Add MAP_* and MADV_*
3399         defines to match other architectures.
3401 2001-03-26  Ulrich Drepper  <drepper@redhat.com>
3403         * libio/Makefile (tests): Add tst-ext.
3404         * libio/tst-ext.c: New file.
3406         * libio/iosetvbuf.c (_IO_setvbuf): Clear line buffer flag for _IONBF.
3408 2001-03-25  Ulrich Drepper  <drepper@redhat.com>
3410         Add changes which were in this form in the original patch by
3411         Eric Norum <eric.norum@usask.ca>.
3412         * include/rpc/rpc.h: Remove svc_fdset, rpc_createerr, svc_pollfd, and
3413         svc_max_pollfd.
3414         * sunrpc/rpc/rpc.h: Declare __rpc_thread_svc_fdset,
3415         __rpc_thread_createerr, __rpc_thread_svc_pollfd, and
3416         __rpc_thread_svc_max_pollfd.
3417         Define svc_fdset, get_rpc_createerr, svc_pollfd, and
3418         svc_max_pollfd.
3419         * sunrpc/rpc_thread.c: Handle first thread special, it uses the
3420         global variables.
3421         Define __rpc_thread_svc_fdset, __rpc_thread_createerr,
3422         __rpc_thread_svc_pollfd, and __rpc_thread_svc_max_pollfd.
3423         * sunrpc/Versions [libc] (GLIBC_2.2.3): Export  __rpc_thread_svc_fdset,
3424         __rpc_thread_createerr, __rpc_thread_svc_pollfd, and
3425         __rpc_thread_svc_max_pollfd.
3426         * sunrpc/clnt_gen.c: Replace use of rpc_createerr by call to
3427         get_rpc_createerr.
3428         * sunrpc/clnt_perr.c: Likewise.
3429         * sunrpc/clnt_simp.c: Likewise.
3430         * sunrpc/clnt_tcp.c: Likewise.
3431         * sunrpc/clnt_udp.c: Likewise.
3432         * sunrpc/clnt_unix.c: Likewise.
3433         * sunrpc/pm_getport.c: Likewise.
3435         * sysdeps/unix/sysv/linux/i386/getgroups.c (__getgroups): getgroups32
3436         syscall checks for negative n so don't test here as well.
3438 2001-03-23  Jes Sorensen  <jes@linuxcare.com>
3440         * sysdeps/unix/sysv/linux/ia64/sysdep.h (ENTRY): Moved to ...
3441         * sysdeps/ia64/sysdep.h: ...here.
3443         * sysdeps/ia64/sysdep.h (LOCAL_ENTRY): Define.
3444         * sysdeps/ia64/sysdep.h (LOCAL_LEAF): Define.
3446         * sysdeps/ia64/_mcount.S (_mcount_ret_helper): Use LOCAL_LEAF() to
3447         declare instead of LEAF().  Suggestion from David Mosberger.
3449 2001-03-21  David Mosberger  <davidm@hpl.hp.com>
3451         * sysdeps/unix/sysv/linux/ia64/sysdep.h (CALL_MCOUNT): Add unwind
3452         directives.
3453         (PSEUDO): Drop .psr and .lsb directives.
3455         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Ditto.  Add unwind
3456         directives.
3457         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Ditto.
3459         * sysdeps/ia64/elf/start.S: Misc cleanup: remove .psr and .lsb
3460         directives etc.
3461         * sysdeps/unix/sysv/linux/ia64/brk.S: Ditto.
3462         * sysdeps/unix/sysv/linux/ia64/__longjmp.S: Ditto.
3463         * sysdeps/ia64/_mcount.S: Remove .psr and .lsb directives (no
3464         longer needed).  Add unwind directives.
3466         * sysdeps/ia64/sysdep.h: Define ASM_UNW_PRLG_RP, ASM_UNW_PRLG_PFS,
3467         ASM_UNW_PRLG_PSP, ASM_UNW_PRLG_PR, and ASM_UNW_PRLG_GRSAVE.
3469 2001-03-21  Paul Eggert  <eggert@twinsun.com>
3471         * posix/regex.h (RE_INVALID_INTERVAL_ORD): New macro.
3472         (RE_SYNTAX_POSIX_EGREP): Use it.
3473         * posix/regex.c (regex_compile): Implement it.
3475 2001-03-21  Paul Eggert  <eggert@twinsun.com>
3477         * posix/regex.c (GET_UNSIGNED_NUMBER): Check for overflow.
3478         Rewrite to avoid duplicate code.
3480 2001-03-21  H.J. Lu  <hjl@gnu.org>
3482         * elf/Makefile (tests): Don't depend on $(objpfx)tst-pathopt.out
3483         for cross-compiling.
3484         ($(objpfx)tst-pathopt.out): Undo the last change.
3486 2001-03-24  Mark Kettenis  <kettenis@gnu.org>
3488         * sysdeps/mach/hurd/i386/bits/sigcontext.h (sc_sp, sc_fp, sc_pc,
3489         sc_ps): Define as aliases for sc_uesp, sc_ebl, sc_eip and sc_efl.
3491         * sysdeps/mach/hurd/i386/init-first.c: Include <assert.h>.
3492         (_dl_argv): Declare.
3493         (init) [SHARED]: Readjust _dl_argv if we switched to a new stack.
3495 2001-03-22  Andreas Jaeger  <aj@suse.de>
3497         * iconvdata/Makefile (generated): Add iconv-test.xxx.
3499         * posix/Makefile (generated): Add bug-regex2.mtrace and
3500         bug-regex2-mem.
3502 2001-03-21  Ulrich Drepper  <drepper@redhat.com>
3504         * csu/version.c (__gnu_get_libc_release): Add prototype.
3505         (__gnu_get_libc_version): Likewise.
3506         * include/gnu/libc-version.h: Remove prototypes for not exported
3507         functions.
3509 2001-03-21  Jes Sorensen  <jes@linuxcare.com>
3511         * sysdeps/unix/sysv/linux/ia64/makecontext.c: Include libintl.h
3512         for internationalized printfs to work.
3514 2001-03-09  Bruno Haible  <haible@clisp.cons.org>
3516         * intl/dcigettext.c (transmem_block_t): Change to unsigned char, to
3517         avoid compiler warning.
3518         (_nl_find_msg): Add casts to avoid compiler warnings.
3520 2001-03-21  Ulrich Drepper  <drepper@redhat.com>
3522         * gmon/Makefile (routines): Add sprofil.
3523         (tests): Add tst-sprofil.
3524         (noprof): Add sprofil.
3525         * gmon/Versions [libc] (GLIBC_2.2.3): Add sprofil.
3527 2001-03-20  David Mosberger  <davidm@hpl.hp.com>
3529         * sysdeps/generic/sprofil.c: New file.
3530         * sysdeps/posix/sprofil.c: New file.
3531         * gmon/tst-sprofil.c: New file.
3532         * gmon/sys/profil.h: New file.
3534 2001-03-20  Andreas Schwab  <schwab@suse.de>
3536         * include/unistd.h: Adjust prototype of __gethostname.
3538 2001-03-20  Jakub Jelinek  <jakub@redhat.com>
3540         * sysdeps/sparc/stackinfo.h: New file.
3542 2001-03-21  Andreas Jaeger  <aj@suse.de>
3544         * elf/global.c (main): Use proper prototype.
3546 2001-03-20  Ulrich Drepper  <drepper@redhat.com>
3548         * sunrpc/Makefile (routines): Add rpc_thread.
3549         (CPPFLAGS): Add -D_RPC_THREAD_SAFE.
3550         * sunrpc/rpc_thread.c: New file.
3551         * sunrpc/Versions [libc] (GLIBC_2.2.3): Export __rpc_thread_destroy.
3552         * sunrpc/auth_none.c: Don't use global variables.  Access state in
3553         thread-local storage.
3554         * sunrpc/clnt_perr.c: Likewise.
3555         * sunrpc/clnt_raw.c: Likewise.
3556         * sunrpc/clnt_simp.c: Likewise.
3557         * sunrpc/key_call.c: Likewise.
3558         * sunrpc/rpc_common.c: Likewise.
3559         * sunrpc/svc.c: Likewise.
3560         * sunrpc/svc_raw.c: Likewise.
3561         * sunrpc/svc_simple.c: Likewise.
3562         * sunrpc/svcauth_des.c: Likewise.
3563         * hurd/hurd/threadvar.h (enum __hurd_threadvar_index): Add
3564         _HURD_THREADVAR_RPC_VARS.
3565         * sysdeps/generic/bits/libc-tsd.h: Mention _LIBC_TSD_KEY_RPC_VARS.
3566         * include/rpc/rpc.h: Define data structures for internal thread-local
3567         "global" variables.
3568         Based on patches by Eric Norum <eric.norum@usask.ca>.
3570         * elf/dl-load.c: Various little optimizations.
3572         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Return
3573         LINUX_LINK_MAX only if the statfs function is not implemented for
3574         the filesystem.
3576         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Return
3577         LINUX_LINK_MAX only if the fstatfs function is not implemented for
3578         the filesystem.
3580 2001-03-19  Ulrich Drepper  <drepper@redhat.com>
3582         * elf/dl-dst.h (DL_DST_COUNT): Add __builtin_expect.
3584         * elf/dl-load.c (_dl_dst_count): Make DST recognition more robust.
3585         (_dl_dst_substitute): Likewise.
3587 2001-03-17  Bruno Haible  <haible@clisp.cons.org>
3589         * intl/loadmsgcat.c (_nl_load_domain) [!_LIBC]: Use fstat, not fstat64.
3591 2001-03-17  Bruno Haible  <haible@clisp.cons.org>
3593         * intl/gettextP.h (struct expression): Add operators lnot, less_than,
3594         greater_than, less_or_equal, greater_or_equal.  Replace args2/args3
3595         union by a 'nargs' counter and an 'args[]' array.
3596         * intl/plural.y: Don't include stdarg.h.
3597         (new_exp): Take an array of arguments instead of varargs.
3598         (new_exp_0, new_exp_1, new_exp_2, new_exp_3): New functions.
3599         ('?' ':'): Make right-associative.
3600         (EQUOP2): New token, replaces '=' and '!'.
3601         (CMPOP2): New token.
3602         (ADDOP2): New token, replaces '+' and '-'.
3603         (MULOP2): New token, replaces '*', '/' and '%'.
3604         ('!'): New token.
3605         (exp): Add rules for CMPOP2 and '!'.  Don't call YYABORT.
3606         (start): Call YYABORT here.
3607         (FREE_EXPRESSION): Update.
3608         (yylex): Don't skip "\\n".  Recognize comparison and '!' operators.
3609         Update for new token symbols.
3610         * intl/loadmsgcat.c (plvar, plone, germanic_plural,
3611         init_germanic_plural): Update.
3612         * intl/dcigettext.c (_nl_find_msg): Optimize for space.
3613         (plural_eval): Recognize comparison and '!' operators.  Optimize for
3614         space.
3616 2001-03-10  Bruno Haible  <haible@clisp.cons.org>
3618         * intl/loadmsgcat.c (_nl_load_domain): locale_charset() doesn't return
3619         NULL any more.
3621 2001-01-05  Bruno Haible  <haible@clisp.cons.org>
3623         * intl/loadmsgcat.c: Include headers needed for alloca().
3624         (freea): New macro.
3625         (_nl_load_domain): Add fallback code for platforms lacking alloca.
3626         * intl/localealias.c: (ADD_BLOCK, FREE_BLOCK): Remove macros.
3627         (freea): New macro.
3628         (read_alias_file): Simplify fallback code for platforms lacking
3629         alloca.
3631 2001-01-07  Bruno Haible  <haible@clisp.cons.org>
3633         * intl/gettextP.h (__gettextdebug): Remove declaration.
3634         (__gettext_free_exp, __gettextparse): Convert prototype to K&R C
3635         syntax.
3636         (gettext_free_exp__, gettextparse__): New non-libc declarations.
3637         * intl/plural.y [!_LIBC]: Define gettextparse__, gettext_free_exp__,
3638         not __gettextparse, __gettext_free_exp.
3639         * intl/loadmsgcat.c [!_LIBC]: Use gettextparse__, not __gettextparse.
3641 2001-02-24  Bruno Haible  <haible@clisp.cons.org>
3643         * intl/dcigettext.c: Update comment about HAVE_LOCALE_NULL.
3645 2001-01-05  Bruno Haible  <haible@clisp.cons.org>
3647         * intl/loadmsgcat.c (_nl_load_domain): Add fallback code for platforms
3648         lacking strtoul, like SunOS4.
3650 2001-01-05  Bruno Haible  <haible@clisp.cons.org>
3652         * intl/l10nflist.c (_nl_normalize_codeset): Use tolower, not _tolower.
3654 2001-01-05  Bruno Haible  <haible@clisp.cons.org>
3656         * intl/bindtextdom.c (set_binding_values): Convert prototype to K&R C
3657         syntax.
3658         * intl/dcigettext.c (transcmp): Convert to K&R C syntax.
3659         * intl/explodename.c (_nl_find_language): Convert to K&R C syntax.
3660         * intl/plural.y (__gettext_free_exp, yylex, yyerror): Convert to K&R C
3661         syntax.
3663 2001-01-07  Bruno Haible  <haible@clisp.cons.org>
3665         * intl/gettextP.h (gettext__, dgettext__, dcgettext__, textdomain__,
3666         bindtextdomain__, bind_textdomain_codeset__): New declarations, from
3667         old libgettext.h.
3668         * intl/bindtextdom.c: Include libgnuintl.h instead of libgettext.h.
3669         * intl/dcgettext.c: Likewise.
3670         * intl/dcigettext.c: Likewise.
3671         * intl/dcngettext.c: Likewise.
3672         * intl/dngettext.c: Likewise.
3673         * intl/finddomain.c: Likewise.
3674         * intl/ngettext.c: Likewise.
3675         * intl/textdomain.c: Likewise.
3676         * intl/dgettext.c: Include libgnuintl.h instead of libgettext.h.
3677         Include gettextP.h.
3678         * intl/gettext.c: Likewise.  Don't include locale.h.
3680 2001-03-17  Bruno Haible  <haible@clisp.cons.org>
3682         * intl/gettextP.h (ZERO): New macro.
3683         (struct binding): Always use ZERO.
3684         * intl/bindtextdom.c (offsetof): Provide fallback for platforms that
3685         lack it, like SunOS4.
3686         (set_binding_values): Use offsetof, not sizeof.
3687         * intl/dcigettext.c (offsetof): Provide fallback for platforms that
3688         lack it, like SunOS4.
3689         (ZERO): Remove macro.
3690         (struct transmem_list): Use ZERO.
3691         (DCIGETTEXT): Use offsetof, not sizeof.
3693 2001-03-17  Bruno Haible  <haible@clisp.cons.org>
3695         * intl/gettextP.h: Include <stddef.h>.  Include gettext.h, for
3696         nls_uint32.
3697         * intl/bindtextdom.c: Don't include gettext.h.
3698         * intl/dcgettext.c: Likewise.
3699         * intl/dcigettext.c: Likewise.
3700         * intl/dcngettext.c: Likewise.
3701         * intl/dngettext.c: Likewise.
3702         * intl/finddomain.c: Likewise.
3703         * intl/localealias.c: Likewise.
3704         * intl/ngettext.c: Likewise.
3705         * intl/plural.y: Likewise.
3706         * intl/textdomain.c: Likewise.
3708 2001-03-17  Bruno Haible  <haible@clisp.cons.org>
3710         * intl/gettext.h: Don't include <stdio.h>.
3712 2001-03-17  Bruno Haible  <haible@clisp.cons.org>
3714         * intl/Makefile (CPPFLAGS): Set LOCALEDIR instead of GNULOCALEDIR.
3715         * intl/dcigettext.c (_nl_default_dirname): Initialize with LOCALEDIR.
3717 2001-03-19  Ulrich Drepper  <drepper@redhat.com>
3719         * sysdeps/unix/i386/i686/tempname.c: New file.
3721         * sysdeps/posix/tempname.c (__gen_tempname): If RANDOM_BITS is
3722         defined use this macro to get some bits of randomness instead of
3723         the usual gettimeofday or time calls.
3725 2001-03-16  Paul Eggert  <eggert@twinsun.com>
3727         * sysdeps/posix/tempname.c (uint64_t): Define to uintmax_t if
3728         not defined, and if UINT64_MAX is not defined.
3730 2001-03-19  Ulrich Drepper  <drepper@redhat.com>
3732         * elf/cache.c: Mark and have translated a few more messages.
3734 2001-03-19  Martin Schwidefsky  <schwidefsky@de.ibm.com>
3736         * elf/cache.c: Add case for FLAG_S390_LIB64.
3737         * sysdeps/generic/ldconfig.h: Add define for FLAG_S390_LIB64.
3738         * sysdeps/unix/sysv/linux/s390/ldconfig.h: New file.
3739         * sysdeps/unix/sysv/linux/s390/readelflib.c: New file.
3741 2001-03-19  Ulrich Drepper  <drepper@redhat.com>
3743         * string/Makefile (tests): Add tst-strxfrm.
3744         * string/tst-strxfrm.c: New file.  Based on a test case by Paul Eggert.
3745         * string/Depend: New file.
3747 2001-03-19  Paul Eggert  <eggert@twinsun.com>
3749         * string/strxfrm.c (strxfrm): strxfrm should return 0, not 1,
3750         when given the empty string in nontrivial locales.
3752 2001-03-17  H.J. Lu  <hjl@gnu.org>
3754         * manual/Makefile (install): Use $(INSTALL_DATA) instead of
3755         cp to install `dir'.
3757 2001-03-19  Andreas Schwab  <schwab@suse.de>
3759         * Makerules (build-shlib): Make sure exit codes get checked
3760         properly.
3762 2001-03-18  Ulrich Drepper  <drepper@redhat.com>
3764         * Makerules (build-shlib): Remove unnecessary slashes introduced in
3765         last change.
3767         * configure.in: Test for -Bgroup option of linker.
3768         * config.make.in: Define have-Bgroup.
3770         * conform/data/unistd.h-data: Require gethostname.
3771         * posix/unistd.h: Make gethostname prototype available for
3772         __USE_XOPEN2K.
3774         * crypt/Makefile: When generating DSO link with libc_nonshared.a.
3775         * debug/Makefile: Likewise.
3776         * dlfcn/Makefile: Likewise.
3777         * hesiod/Makefile: Likewise.
3778         * iconvdata/extra-module.mk: Likewise.
3779         * locale/Makefile: Likewise.
3780         * login/Makefile: Likewise.
3781         * math/Makefile: Likewise.
3782         * nis/Makefile: Likewise.
3783         * nss/Makefile: Likewise.
3784         * resolv/Makefile: Likewise.
3785         * rt/Makefile: Likewise.
3787 2001-03-17  Ulrich Drepper  <drepper@redhat.com>
3789         * inet/Makefile (tests): Remove left-over comment.
3791         * posix/unistd.h (gethostname): Change type of second parameter
3792         back to size_t as per upcoming XPG6.
3793         * sysdeps/unix/sysv/aix/gethostname.c: Change type of second
3794         parameter back to size_t as per upcoming XPG6.
3795         * sysdeps/unix/sysv/sysv4/gethostname.c: Likewise.
3796         * sysdeps/unix/sysv/gethostname.c: Likewise.
3797         * sysdeps/mach/hurd/gethostname.c: Likewise.
3798         * sysdeps/generic/gethostname.c: Likewise.
3800 2001-03-16  Ulrich Drepper  <drepper@redhat.com>
3802         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
3803         Handle NaN here.
3805         * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext):
3806         Internationalize.
3808 2001-02-06  Jakub Jelinek  <jakub@redhat.com>
3810         * elf/dl-load.c (_dl_map_object): Don't test l_opencount when
3811         looking for name matches.
3813 2001-02-26  Jakub Jelinek  <jakub@redhat.com>
3815         * sysdeps/generic/sigcontextinfo.h (CALL_SIGHANDLER): Define.
3816         * sysdeps/mach/hurd/i386/sigcontextinfo.h: Likewise.
3817         * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h: Likewise.
3818         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
3819         * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h: Likewise.
3820         * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h: Likewise.
3821         * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h: Likewise.
3822         * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h: Likewise.
3823         * sysdeps/unix/sysv/linux/s390/sigcontextinfo.h: Likewise.
3824         * sysdeps/unix/sysv/linux/sh/sigcontextinfo.h: Likewise.
3825         * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: Likewise.
3826         * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h: Likewise.
3828 2001-03-16  Ulrich Drepper  <drepper@redhat.com>
3830         * sysdeps/ieee754/ldbl-96/s_erfl.c: New file.
3831         Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>.
3833         * sysdeps/i386/fpu/libm-test-ulps: Adjust for addition of erfl and
3834         erfcl.
3835         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
3837 2001-03-16  David Mosberger  <davidm@hpl.hp.com>
3839         * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h (struct sigcontext):
3840         Drop hack that was needed for 2.1.1 kernel headers.
3842         * sysdeps/unix/sysv/linux/ia64/ucontext_i.h: New file.
3844         * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Rewrite to make it
3845         overlay with kernel's "struct sigcontext".
3847         * sysdeps/unix/sysv/linux/ia64/Makefile (sysdep_headers): Add
3848         sys/rse.h for "misc" subdir.
3849         (sysdep_routines): Add __start_context for "stdlib" subdir.
3851         * sysdeps/unix/sysv/linux/ia64/sys/rse.h: New file (based on
3852         kernel file of the same name).
3854         * stdlib/Makefile (tests): Add tst-setcontext.
3855         * stdlib/tst-setcontext.c: New file (based on a sample program by
3856         Uli Drepper).
3858         * sysdeps/unix/sysv/linux/ia64/setcontext.S: New file.
3859         * sysdeps/unix/sysv/linux/ia64/getcontext.S: New file.
3860         * sysdeps/unix/sysv/linux/ia64/__start_context.S: New file.
3861         * sysdeps/unix/sysv/linux/ia64/makecontext.c: New file.
3862         * sysdeps/unix/sysv/linux/ia64/swapcontext.c: New file.
3864         * sysdeps/unix/sysv/linux/ia64/__longjmp.S (__longjmp): Use extr.u
3865         instead of shift & and.
3867 2001-03-16  Martin Schwidefsky  <schwidefsky@de.ibm.com>
3869         * sysdeps/s390/s390-64/bits/huge_val.h: Move to...
3870         * sysdeps/s390/bits/huge_val.h: ...here.
3871         * sysdeps/s390/s390-32/bit/huge_val.h: Remove.
3872         * sysdeps/s390/s390-64/ffs.c: Move to...
3873         * sysdeps/s390/ffs.c: ...here.
3874         * sysdeps/s390/s390-32/ffs.c: Remove.
3876 2001-03-16  Jakub Jelinek  <jakub@redhat.com>
3878         * elf/ldconfig.c (search_dir): Remove bogus diagnostic, instead
3879         update osversion from more recent library.
3881 2001-03-13  Martin Schwidefsky  <schwidefsky@de.ibm.com>
3883         * sysdeps/unix/sysv/linux/s390/Dist: Move to...
3884         * sysdeps/unix/sysv/linux/s390/s390-32/Dist: ...here.
3885         * sysdeps/unix/sysv/linux/s390/Makefile: Move to...
3886         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: ...here.
3887         * sysdeps/unix/sysv/linux/s390/Versions: Move to...
3888         * sysdeps/unix/sysv/linux/s390/s390-32/Versions: ...here.
3889         * sysdeps/unix/sysv/linux/s390/alphasort64.c: Move to...
3890         * sysdeps/unix/sysv/linux/s390/s390-32/alphasort64.c: ...here.
3891         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Move to...
3892         * sysdeps/unix/sysv/linux/s390/s390-32/bits/fcntl.h: ...here.
3893         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Move to...
3894         * sysdeps/unix/sysv/linux/s390/s390-32/bits/mman.h: ...here.
3895         * sysdeps/unix/sysv/linux/s390/bits/resource.h: Move to...
3896         * sysdeps/unix/sysv/linux/s390/s390-32/bits/resource.h: ...here.
3897         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Move to...
3898         * sysdeps/unix/sysv/linux/s390/s390-32/bits/stat.h: ...here.
3899         * sysdeps/unix/sysv/linux/s390/chown.c: Move to...
3900         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: ...here.
3901         * sysdeps/unix/sysv/linux/s390/clone.S: Move to...
3902         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: ...here.
3903         * sysdeps/unix/sysv/linux/s390/fchown.c: Move to...
3904         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: ...here.
3905         * sysdeps/unix/sysv/linux/s390/fcntl.c: Move to...
3906         * sysdeps/unix/sysv/linux/s390/s390-32/fcntl.c: ...here.
3907         * sysdeps/unix/sysv/linux/s390/fxstat.c: Move to...
3908         * sysdeps/unix/sysv/linux/s390/s390-32/fxstat.c: ...here.
3909         * sysdeps/unix/sysv/linux/s390/getdents64.c: Move to...
3910         * sysdeps/unix/sysv/linux/s390/s390-32/getdents64.c: ...here.
3911         * sysdeps/unix/sysv/linux/s390/getegid.c: Move to...
3912         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: ...here.
3913         * sysdeps/unix/sysv/linux/s390/geteuid.c: Move to...
3914         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: ...here.
3915         * sysdeps/unix/sysv/linux/s390/getgid.c: Move to...
3916         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: ...here.
3917         * sysdeps/unix/sysv/linux/s390/getgroups.c: Move to...
3918         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: ...here.
3919         * sysdeps/unix/sysv/linux/s390/getresgid.c: Move to...
3920         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: ...here.
3921         * sysdeps/unix/sysv/linux/s390/getresuid.c: Move to...
3922         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: ...here.
3923         * sysdeps/unix/sysv/linux/s390/getrlimit.c: Move to...
3924         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: ...here.
3925         * sysdeps/unix/sysv/linux/s390/getrlimit64.c: Move to...
3926         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit64.c: ...here.
3927         * sysdeps/unix/sysv/linux/s390/getuid.c: Move to...
3928         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: ...here.
3929         * sysdeps/unix/sysv/linux/s390/lchown.c: Move to...
3930         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: ...here.
3931         * sysdeps/unix/sysv/linux/s390/lockf64.c: Move to...
3932         * sysdeps/unix/sysv/linux/s390/s390-32/lockf64.c: ...here.
3933         * sysdeps/unix/sysv/linux/s390/lxstat.c: Move to...
3934         * sysdeps/unix/sysv/linux/s390/s390-32/lxstat.c: ...here.
3935         * sysdeps/unix/sysv/linux/s390/mmap.S: Move to...
3936         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: ...here.
3937         * sysdeps/unix/sysv/linux/s390/mmap64.S: Move to...
3938         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: ...here.
3939         * sysdeps/unix/sysv/linux/s390/msgctl.c: Move to...
3940         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: ...here.
3941         * sysdeps/unix/sysv/linux/s390/oldgetrlimit64.c: Move to...
3942         * sysdeps/unix/sysv/linux/s390/s390-32/oldgetrlimit64.c: ...here.
3943         * sysdeps/unix/sysv/linux/s390/readdir64.c: Move to...
3944         * sysdeps/unix/sysv/linux/s390/s390-32/readdir64.c: ...here.
3945         * sysdeps/unix/sysv/linux/s390/readdir64_r.c: Move to...
3946         * sysdeps/unix/sysv/linux/s390/s390-32/readdir64_r.c: ...here.
3947         * sysdeps/unix/sysv/linux/s390/register-dump.h: Move to...
3948         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: ...here.
3949         * sysdeps/unix/sysv/linux/s390/scandir64.c: Move to...
3950         * sysdeps/unix/sysv/linux/s390/s390-32/scandir64.c: ...here.
3951         * sysdeps/unix/sysv/linux/s390/semctl.c: Move to...
3952         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: ...here.
3953         * sysdeps/unix/sysv/linux/s390/setegid.c: Move to...
3954         * sysdeps/unix/sysv/linux/s390/s390-32/setegid.c: ...here.
3955         * sysdeps/unix/sysv/linux/s390/seteuid.c: Move to...
3956         * sysdeps/unix/sysv/linux/s390/s390-32/seteuid.c: ...here.
3957         * sysdeps/unix/sysv/linux/s390/setfsgid.c: Move to...
3958         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: ...here.
3959         * sysdeps/unix/sysv/linux/s390/setfsuid.c: Move to...
3960         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: ...here.
3961         * sysdeps/unix/sysv/linux/s390/setgid.c: Move to...
3962         * sysdeps/unix/sysv/linux/s390/s390-32/setgid.c: ...here.
3963         * sysdeps/unix/sysv/linux/s390/setgroups.c: Move to...
3964         * sysdeps/unix/sysv/linux/s390/s390-32/setgroups.c: ...here.
3965         * sysdeps/unix/sysv/linux/s390/setregid.c: Move to...
3966         * sysdeps/unix/sysv/linux/s390/s390-32/setregid.c: ...here.
3967         * sysdeps/unix/sysv/linux/s390/setresgid.c: Move to...
3968         * sysdeps/unix/sysv/linux/s390/s390-32/setresgid.c: ...here.
3969         * sysdeps/unix/sysv/linux/s390/setresuid.c: Move to...
3970         * sysdeps/unix/sysv/linux/s390/s390-32/setresuid.c: ...here.
3971         * sysdeps/unix/sysv/linux/s390/setreuid.c: Move to...
3972         * sysdeps/unix/sysv/linux/s390/s390-32/setreuid.c: ...here.
3973         * sysdeps/unix/sysv/linux/s390/setrlimit.c: Move to...
3974         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: ...here.
3975         * sysdeps/unix/sysv/linux/s390/setuid.c: Move to...
3976         * sysdeps/unix/sysv/linux/s390/s390-32/setuid.c: ...here.
3977         * sysdeps/unix/sysv/linux/s390/shmctl.c: Move to...
3978         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: ...here.
3979         * sysdeps/unix/sysv/linux/s390/socket.S: Move to...
3980         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: ...here.
3981         * sysdeps/unix/sysv/linux/s390/sys/procfs.h: Move to...
3982         * sysdeps/unix/sysv/linux/s390/s390-32/sys/procfs.h: ...here.
3983         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Move to...
3984         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: ...here.
3985         * sysdeps/unix/sysv/linux/s390/syscall.S: Move to...
3986         * sysdeps/unix/sysv/linux/s390/s390-32/syscall.S: ...here.
3987         * sysdeps/unix/sysv/linux/s390/syscalls.list: Move to...
3988         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: ...here.
3989         * sysdeps/unix/sysv/linux/s390/sysdep.S: Move to...
3990         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: ...here.
3991         * sysdeps/unix/sysv/linux/s390/sysdep.h: Move to...
3992         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: ...here.
3993         * sysdeps/unix/sysv/linux/s390/versionsort64.c: Move to...
3994         * sysdeps/unix/sysv/linux/s390/s390-32/versionsort64.c: ...here.
3995         * sysdeps/unix/sysv/linux/s390/xstat.c: Move to...
3996         * sysdeps/unix/sysv/linux/s390/s390-32/xstat.c: ...here.
3998 2001-03-13  Martin Schwidefsky  <schwidefsky@de.ibm.com>
4000         * sysdeps/unix/sysv/linux/s390/s390-64/Dist: New file.
4001         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: New file.
4002         * sysdeps/unix/sysv/linux/s390/s390-64/bits/elfclass.h: New file.
4003         * sysdeps/unix/sysv/linux/s390/s390-64/bits/fcntl.h: New file.
4004         * sysdeps/unix/sysv/linux/s390/s390-64/bits/ipc.h: New file.
4005         * sysdeps/unix/sysv/linux/s390/s390-64/bits/mman.h: New file.
4006         * sysdeps/unix/sysv/linux/s390/s390-64/bits/msq.h: New file.
4007         * sysdeps/unix/sysv/linux/s390/s390-64/bits/resource.h: New file.
4008         * sysdeps/unix/sysv/linux/s390/s390-64/bits/sem.h: New file.
4009         * sysdeps/unix/sysv/linux/s390/s390-64/bits/shm.h: New file.
4010         * sysdeps/unix/sysv/linux/s390/s390-64/bits/sigaction.h: New file.
4011         * sysdeps/unix/sysv/linux/s390/s390-64/bits/siginfo.h: New file.
4012         * sysdeps/unix/sysv/linux/s390/s390-64/bits/sigstack.h: New file.
4013         * sysdeps/unix/sysv/linux/s390/s390-64/bits/stat.h: New file.
4014         * sysdeps/unix/sysv/linux/s390/s390-64/bits/types.h: New file.
4015         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: New file.
4016         * sysdeps/unix/sysv/linux/s390/s390-64/fstatfs64.c: New file.
4017         * sysdeps/unix/sysv/linux/s390/s390-64/ftruncate64.c: New file.
4018         * sysdeps/unix/sysv/linux/s390/s390-64/fxstat.c: New file.
4019         * sysdeps/unix/sysv/linux/s390/s390-64/fxstat64.c: New file.
4020         * sysdeps/unix/sysv/linux/s390/s390-64/getdents.c: New file.
4021         * sysdeps/unix/sysv/linux/s390/s390-64/getdents64.c: New file.
4022         * sysdeps/unix/sysv/linux/s390/s390-64/getrlimit64.c: New file.
4023         * sysdeps/unix/sysv/linux/s390/s390-64/glob.c: New file.
4024         * sysdeps/unix/sysv/linux/s390/s390-64/glob64.c: New file.
4025         * sysdeps/unix/sysv/linux/s390/s390-64/kernel_stat.h: New file.
4026         * sysdeps/unix/sysv/linux/s390/s390-64/lxstat.c: New file.
4027         * sysdeps/unix/sysv/linux/s390/s390-64/lxstat64.c: New file.
4028         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: New file.
4029         * sysdeps/unix/sysv/linux/s390/s390-64/mmap64.c: New file.
4030         * sysdeps/unix/sysv/linux/s390/s390-64/pread64.c: New file.
4031         * sysdeps/unix/sysv/linux/s390/s390-64/pwrite64.c: New file.
4032         * sysdeps/unix/sysv/linux/s390/s390-64/readdir.c: New file.
4033         * sysdeps/unix/sysv/linux/s390/s390-64/readdir64.c: New file.
4034         * sysdeps/unix/sysv/linux/s390/s390-64/readdir64_r.c: New file.
4035         * sysdeps/unix/sysv/linux/s390/s390-64/readdir_r.c : New file.
4036         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: New file.
4037         * sysdeps/unix/sysv/linux/s390/s390-64/setrlimit64.c: New file.
4038         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: New file.
4039         * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c: New file.
4040         * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c: New file.
4041         * sysdeps/unix/sysv/linux/s390/s390-64/sigsuspend.c: New file.
4042         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: New file.
4043         * sysdeps/unix/sysv/linux/s390/s390-64/statfs64.c: New file.
4044         * sysdeps/unix/sysv/linux/s390/s390-64/sys/procfs.h: New file.
4045         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: New file.
4046         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: New file.
4047         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: New file.
4048         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: New file.
4049         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: New file.
4050         * sysdeps/unix/sysv/linux/s390/s390-64/truncate64.c: New file.
4051         * sysdeps/unix/sysv/linux/s390/s390-64/xstat.c: New file.
4052         * sysdeps/unix/sysv/linux/s390/s390-64/xstat64.c: New file.
4054 2001-03-13  Martin Schwidefsky  <schwidefsky@de.ibm.com>
4056         * sysdeps/s390/Dist: Move to...
4057         * sysdeps/s390/390-32/Dist: ...here.
4058         * sysdeps/s390/Implies: Move to...
4059         * sysdeps/s390/s390-32/Implies: ...here.
4060         * sysdeps/s390/Makefile: Move to...
4061         * sysdeps/s390/s390-32/Makefile: ...here.
4062         * sysdeps/s390/Versions: Move to...
4063         * sysdeps/s390-32/s390/Versions: ...here.
4064         * sysdeps/s390/add_n.S: Move to...
4065         * sysdeps/s390/s390-32/add_n.S: ...here.
4066         * sysdeps/s390/addmul_1.S: Move to...
4067         * sysdeps/s390/s390-32/addmul_1.S: ...here.
4068         * sysdeps/s390/atomicity.h: Move to...
4069         * sysdeps/s390/s390-32/atomicity.h: ...here.
4070         * sysdeps/s390/backtrace.c: Move to...
4071         * sysdeps/s390/s390-32/backtrace.c: ...here.
4072         * sysdeps/s390/bcopy.S: Move to...
4073         * sysdeps/s390/s390-32/bcopy.S: ...here.
4074         * sysdeps/s390/bits/byteswap.h: Move to...
4075         * sysdeps/s390/s390-32/bits/byteswap.h: ...here.
4076         * sysdeps/s390/bits/huge_val.h: Move to...
4077         * sysdeps/s390/s390-32/bits/huge_val.h: ...here.
4078         * sysdeps/s390/bsd-_setjmp.S: Move to...
4079         * sysdeps/s390/s390-32/bsd-_setjmp.S: ...here.
4080         * sysdeps/s390/bsd-setjmp.S: Move to...
4081         * sysdeps/s390/s390-32/bsd-setjmp.S: ...here.
4082         * sysdeps/s390/bzero.S: Move to...
4083         * sysdeps/s390/s390-32/bzero.S: ...here.
4084         * sysdeps/s390/elf/bsd-_setjmp.S: Move to...
4085         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: ...here.
4086         * sysdeps/s390/elf/bsd-setjmp.S: Move to...
4087         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: ...here.
4088         * sysdeps/s390/elf/start.S: Move to...
4089         * sysdeps/s390/s390-32/elf/start.S: ...here.
4090         * sysdeps/s390/ffs.c: Move to...
4091         * sysdeps/s390/s390-32/ffs.c: ...here.
4092         * sysdeps/s390/memchr.S: Move to...
4093         * sysdeps/s390/s390-32/memchr.S: ...here.
4094         * sysdeps/s390/memcpy.S: Move to...
4095         * sysdeps/s390/s390-32/memcpy.S: ...here.
4096         * sysdeps/s390/memset.S: Move to...
4097         * sysdeps/s390/s390-32/memset.S: ...here.
4098         * sysdeps/s390/mul_1.S: Move to...
4099         * sysdeps/s390/s390-32/mul_1.S: ...here.
4100         * sysdeps/s390/s390-mcount.S: Move to...
4101         * sysdeps/s390/s390-32/s390-mcount.S: ...here.
4102         * sysdeps/s390/strcpy.S: Move to...
4103         * sysdeps/s390/s390-32/strcpy.S: ...here.
4104         * sysdeps/s390/strncpy.S: Move to...
4105         * sysdeps/s390/s390-32/strncpy.S: ...here.
4106         * sysdeps/s390/sub_n.S: Move to...
4107         * sysdeps/s390/s390-32/sub_n.S: ...here.
4109 2001-03-13  Martin Schwidefsky  <schwidefsky@de.ibm.com>
4111         * sysdeps/s390/s390-64/Dist: New file.
4112         * sysdeps/s390/s390-64/Implies: New file.
4113         * sysdeps/s390/s390-64/Makefile: New file.
4114         * sysdeps/s390/s390-64/__longjmp.c: New file.
4115         * sysdeps/s390/s390-64/add_n.S: New file.
4116         * sysdeps/s390/s390-64/atomicity.h: New file.
4117         * sysdeps/s390/s390-64/backtrace.c: New file.
4118         * sysdeps/s390/s390-64/bcopy.S: New file.
4119         * sysdeps/s390/s390-64/bits/byteswap.h: New file.
4120         * sysdeps/s390/s390-64/bits/huge_val.h: New file.
4121         * sysdeps/s390/s390-64/bits/setjmp.h: New file.
4122         * sysdeps/s390/s390-64/bits/string.h: New file.
4123         * sysdeps/s390/s390-64/bsd-_setjmp.S: New file.
4124         * sysdeps/s390/s390-64/bsd-setjmp.S: New file.
4125         * sysdeps/s390/s390-64/bzero.S: New file.
4126         * sysdeps/s390/s390-64/dl-machine.h: New file.
4127         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: New file.
4128         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: New file.
4129         * sysdeps/s390/s390-64/elf/setjmp.S: New file.
4130         * sysdeps/s390/s390-64/elf/start.S: New file.
4131         * sysdeps/s390/s390-64/ffs.c: New file.
4132         * sysdeps/s390/s390-64/initfini.c: New file.
4133         * sysdeps/s390/s390-64/memchr.S: New file.
4134         * sysdeps/s390/s390-64/memcpy.S: New file.
4135         * sysdeps/s390/s390-64/memset.S: New file.
4136         * sysdeps/s390/s390-64/s390x-mcount.S: New file.
4137         * sysdeps/s390/s390-64/setjmp.S: New file.
4138         * sysdeps/s390/s390-64/strcpy.S: New file.
4139         * sysdeps/s390/s390-64/strncpy.S: New file.
4140         * sysdeps/s390/s390-64/sub_n.S: New file.
4141         * sysdeps/s390/s390-64/sysdep.h: New file.
4143 2001-03-13  Martin Schwidefsky  <schwidefsky@de.ibm.com>
4145         * scripts/config.guess: Add support for Linux on 64 bit S/390.
4146         * scripts/config.sub: Likewise.
4148 2001-03-13  Martin Schwidefsky  <schwidefsky@de.ibm.com>
4150         * configure.in: Add support for 64 bit S/390.
4152         * elf/elf.h: Add new relocations for 64 bit S/390.
4154         * shlib-versions: Add rules for Linux on 64 bit S/390.
4156 2001-03-13  Martin Schwidefsky  <schwidefsky@de.ibm.com>
4158         * sysdeps/s390/__longjmp.c: Move to...
4159         * sysdeps/s390/s390-32/__longjmp.c: ...here.  Add code
4160         to load the floating point registers that should be saved
4161         according to the ABI.
4163         * sysdeps/s390/bits/setjmp.h: Move to...
4164         * sysdeps/s390/s390-32/bits/setjmp.h: ...here.  Avoid
4165         the use of long long in the __jmp_buf type definition.
4167         * sysdeps/s390/bits/string.h: Move to...
4168         * sysdeps/s390/s390-32/bits/string.h: ...here.  Add several missing
4169         #ifndef _FORCE_INLINES.
4171         * sysdeps/s390/dl-machine.h: Move to...
4172         * sysdeps/s390/s390-32/dl-machine.h: ...here.  Add a check for the
4173         executables EI_CLASS in elf_machine_matches_host.
4175         * sysdeps/s390/elf/setjmp.S: Move to...
4176         * sysdeps/s390/s390-32/elf/setjmp.S: ...here.  Replace
4177         branches to globally defined symbol __sigsetjmp by branches to
4178         a local label (this avoids the generation of a R_390_PC16DBL
4179         relocation in -fpic code).
4181         * sysdeps/s390/gmp-mparam.h: Use defines from <bits/wordsize.h> to
4182         calculate BITS_PER_MP_LIMB, BYTES_PER_MP_LIMB and BITS_PER_LONGINT.
4184         * sysdeps/s390/initfini.c: Move to...
4185         * sysdeps/s390/s390-32/initfini.c: ...here.  Replace ALIGN with
4186         ".align 4,0x07".
4188         * sysdeps/s390/setjmp.S: Move to...
4189         * sysdeps/s390/s390-32/setjmp.S: ...here.  Add code to store the
4190         floating point registers that should be saved according to the ABI.
4192         * sysdeps/s390/sys/ucontext.h: Remove since it is unused.
4194         * sysdeps/unix/sysv/linux/s390/sysdep.h: Move to...
4195         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: ...here.  Include
4196         sysdeps/s390/s390-32/sysdep.h instead of sysdeps/s390/sysdep.h.
4198 2001-03-13  Martin Schwidefsky  <schwidefsky@de.ibm.com>
4200         * configure.in: Change machine=s390 to machine=s390/s390-32.
4202         * elf/elf.h: Correct comment for R_390_PLT16DBL.
4204 2001-03-12  Jakub Jelinek  <jakub@redhat.com>
4206         * csu/Makefile (abi-tag.h): Define OS and version separately, allow
4207         version to be overriden from config.h.
4208         * csu/abi-note.S: Use OS and version separately, include config.h.
4209         * elf/dl-load.c (_dl_osversion): New.
4210         (_dl_map_object_from_fd): Kill some warnings.
4211         (open_verify): Check .note.ABI-tag of the library if present.
4212         * elf/Makefile (CPPFLAGS-dl-load.c): Add -I$(csu-objpfx).
4213         * elf/cache.c (struct cache_entry): Add osversion.
4214         (print_entry): Print osversion.
4215         (print_cache): Pass osversion to it.
4216         (compare): Sort according to osversion.
4217         (save_cache): Set osversion.
4218         (add_to_cache): Add osversion argument.
4219         * sysdeps/generic/ldconfig.h (add_to_cache, process_file,
4220         process_elf_file): Add osversion argument.
4221         * elf/readlib.c (process_file): Likewise.
4222         * sysdeps/generic/readelflib.c (process_elf_file): Likewise.
4223         * sysdeps/unix/sysv/linux/ia64/readelflib.c (process_elf_file,
4224         process_elf32_file, process_elf64_file): Likewise.
4225         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file,
4226         process_elf32_file, process_elf64_file): Likewise.
4227         * sysdeps/unix/sysv/linux/sparc/readelflib.c (process_elf_file,
4228         process_elf32_file, process_elf64_file): Likewise.
4229         * elf/ldconfig.c (manual_link): Pass it.
4230         (search_dir): Issue diagnostic if two libs with the same soname in
4231         the same directory have different .note.ABI-tag.  Record osversion in
4232         dlib_entry and use it from there.
4233         (struct lib_entry): Remove.
4234         (struct dlib_entry): Add osversion.
4235         * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Check
4236         osversion.
4237         * sysdeps/generic/dl-cache.h (struct file_entry_new): Replace __unused
4238         field with osversion.
4239         * sysdeps/generic/ldsodefs.h (_dl_osversion): Declare.
4240         * sysdeps/unix/sysv/linux/init-first.c: Include ldsodefs.h.
4241         * sysdeps/unix/sysv/linux/dl-osinfo.h (DL_SYSDEP_OSCHECK): Save kernel
4242         version in _dl_osversion.
4243         * sysdeps/unix/sysv/linux/configure.in: Define __ABI_TAG_VERSION.
4244         * Makerules (build-shlib-helper, build-module-helper): New.
4245         (build-shlib, build-module-helper): Make sure .note.ABI-tag comes
4246         early.
4247         * config.h.in (__ABI_TAG_VERSION): Add.
4248         * elf/dl-minimal.c (__strtoul_internal): Set endptr on return.
4249         * sysdeps/unix/sysv/linux/i386/dl-librecon.h (EXTRA_LD_ENVVARS):
4250         Handle LD_ASSUME_KERNEL.
4251         * sysdeps/unix/sysv/linux/dl-librecon.h: New.
4253 2001-03-15  Ulrich Drepper  <drepper@redhat.com>
4255         * timezone/antarctica: Update from tzdata2001a.
4256         * timezone/asia: Likewise.
4257         * timezone/australasia: Likewise.
4258         * timezone/backward: Likewise.
4259         * timezone/etcetera: Likewise.
4260         * timezone/europe: Likewise.
4261         * timezone/leapseconds: Likewise.
4262         * timezone/northamerica: Likewise.
4263         * timezone/southamerica: Likewise.
4264         * timezone/systemv: Likewise.
4265         * timezone/yearistype: Likewise.
4266         * timezone/zone.tab: Likewise.
4267         * timezone/tzdump.c: Update from tzcode2001a.
4269 2001-03-15  H.J. Lu  <hjl@gnu.org>
4271         * intl/Makefile: Fix a typo.
4273 2001-03-14  David Mosberger  <davidm@hpl.hp.com>
4275         * gmon/gmon.c (write_call_graph): Avoid unaligned accesses when
4276         writing arc structures.
4278 2001-03-15  H.J. Lu  <hjl@gnu.org>
4280         * elf/Makefile ($(objpfx)tst-pathopt.out): Protected against
4281         cross-compiling.
4283 2001-03-13  Andreas Schwab  <schwab@suse.de>
4285         * posix/PTESTS2C.sed: Replace literal CRs by `\r'.
4287 2001-03-15  Ulrich Drepper  <drepper@redhat.com>
4289         * sysdeps/unix/sysv/linux/cmsg_nxthdr.c (__cmsg_nxthdr): Fix test
4290         for control message fitting into message data.
4291         Patch by James Antill <james@and.org>.
4293         * posix/tst-fnmatch.input: Add test case for FNM_PERIOD handling with
4294         FNM_EXTMATCH.
4296         * posix/fnmatch_loop.c: Optimize handling of ?() and @().
4297         * posix/fnmatch.c: Define STRLEN and STRCAT appropriately.
4299         * posix/Versions [libc] (GLIBC_2.2.3): Add fnmatch.
4300         * posix/fnmatch.c: Define with new default version GLIBC_2.2.3 to
4301         avoid running binaries with libc versions without FNM_EXTMATCH support.
4303         * include/wchar.h: Add prototype for __wcscat.
4304         * wcsmbs/wcscat.c: Define __wcscat and make wcscat weak alias.
4306         * posix/fnmatch.h (FNM_EXTMATCH): Define.
4307         * posix/fnmatch.c (NO_LEADING_PERIOD): Define.
4308         (posixly_correct): Move global variable here.
4309         (INT, EXT, END): Name new functions defined in fnmatch_loop.c.
4310         (fnmatch): Pretty printing.
4311         * posix/fnmatch_loop.c: Add code to handle FNM_EXTMATCH.
4312         * posix/tst-fnmatch.c: Recognize EXTMATCH flag.
4313         * posix/tst-fnmatch.input: Add tests for extended matching.
4315         * posix/testfnm.c: Add test for patterns with multiple ** before /.
4316         * posix/fnmatch_loop.c: Fix problem with the test above.
4318 2001-03-14  Ulrich Drepper  <drepper@redhat.com>
4320         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Remove
4321         reference to usqrt.
4323         * resolv/res_data.c (fp_nquery): Call __res_ninit not __res_init.
4325 2001-03-12  Andreas Jaeger  <aj@suse.de>
4327         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
4328         Use EM_X86_64 instead of EM_X8664.
4330 2001-03-12  Ulrich Drepper  <drepper@redhat.com>
4332         * sysdeps/ieee754/dbl-64/upow.h: Define nZERO and nINF.
4334         * sysdeps/ieee754/dbl-64/e_remainder.c: Fix handling of boundary
4335         conditions.
4337         * sysdeps/ieee754/dbl-64/e_pow.c: Fix handling of boundary
4338         conditions.
4340         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Handle Inf and NaN
4341         correctly.
4342         (__cos): Likewise.
4344         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Handle NaN
4345         correctly.
4346         (__ieee754_acos): Likewise.
4348 2001-03-12  Andreas Jaeger  <aj@suse.de>
4350         * sysdeps/unix/sysv/linux/s390/sysdep.h (_LINUX_S390_SYSDEP_H):
4351         Fix typo.  Patch by Martin Schwidefsky  <schwidefsky@de.ibm.com>.
4353         * sysdeps/s390/bits/string.h: Protect __STRING_INLINE against
4354         redefinition.
4356 2001-03-11  Roland McGrath  <roland@frob.com>
4358         * sysdeps/mach/hurd/configure.in: Add a sanity check on $prefix.
4360 2001-03-11  Ulrich Drepper  <drepper@redhat.com>
4362         * sysdeps/ieee754/dbl-64/endian.h: Define also one of BIG_ENDI and
4363         LITTLE_ENDI.
4365         * sysdeps/ieee754/dbl-64/MathLib.h (Init_Lib): Use void as
4366         parameter list.
4368         Last-bit accurate math library implementation by IBM Haifa.
4369         Contributed by Abraham Ziv <ziv@il.ibm.com>, Moshe Olshansky
4370         <olshansk@il.ibm.com>, Ealan Henis <ealan@il.ibm.com>, and
4371         Anna Reitman <reitman@il.ibm.com>.
4372         * math/Makefile (dbl-only-routines): New variable.
4373         (libm-routines): Add $(dbl-only-routines).
4374         * sysdeps/ieee754/dbl-64/e_acos.c: Empty, definition is in e_asin.c.
4375         * sysdeps/ieee754/dbl-64/e_asin.c: Replaced with accurate asin
4376         implementation.
4377         * sysdeps/ieee754/dbl-64/e_atan2.c: Replaced with accurate atan2
4378         implementation.
4379         * sysdeps/ieee754/dbl-64/e_exp.c: Replaced with accurate exp
4380         implementation.
4381         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Don't use __kernel_sin and
4382         __kernel_cos.
4383         * sysdeps/ieee754/dbl-64/e_log.c: Replaced with accurate log
4384         implementation.
4385         * sysdeps/ieee754/dbl-64/e_remainder.c: Replaced with accurate
4386         remainder implementation.
4387         * sysdeps/ieee754/dbl-64/e_pow.c: Replaced with accurate pow
4388         implementation.
4389         * sysdeps/ieee754/dbl-64/e_sqrt.c: Replaced with accurate sqrt
4390         implementation.
4391         * sysdeps/ieee754/dbl-64/k_cos.c: Empty, definition is in s_sin.c.
4392         * sysdeps/ieee754/dbl-64/k_sin.c: Empty, definition is in s_sin.c.
4393         * sysdeps/ieee754/dbl-64/s_atan.c: Replaced with accurate atan
4394         implementation.
4395         * sysdeps/ieee754/dbl-64/s_cos.c: Empty, definition is in s_sin.c.
4396         * sysdeps/ieee754/dbl-64/s_sin.c: Replaced with accurate sin/cos
4397         implementation.
4398         * sysdeps/ieee754/dbl-64/s_sincos.c: Rewritten to not use __kernel_sin
4399         and __kernel_cos.
4400         * sysdeps/ieee754/dbl-64/s_tan.c: Replaced with accurate tan
4401         implementation.
4402         * sysdeps/ieee754/dbl-64/Dist: Add new non-code files.
4403         * sysdeps/ieee754/dbl-64/MathLib.h: New file.
4404         * sysdeps/ieee754/dbl-64/asincos.tbl: New file.
4405         * sysdeps/ieee754/dbl-64/atnat.h: New file.
4406         * sysdeps/ieee754/dbl-64/atnat2.h: New file.
4407         * sysdeps/ieee754/dbl-64/branred.c: New file.
4408         * sysdeps/ieee754/dbl-64/branred.h: New file.
4409         * sysdeps/ieee754/dbl-64/dla.h: New file.
4410         * sysdeps/ieee754/dbl-64/doasin.c: New file.
4411         * sysdeps/ieee754/dbl-64/doasin.h: New file.
4412         * sysdeps/ieee754/dbl-64/dosincos.c: New file.
4413         * sysdeps/ieee754/dbl-64/dosincos.h: New file.
4414         * sysdeps/ieee754/dbl-64/endian.h: New file.
4415         * sysdeps/ieee754/dbl-64/halfulp.c: New file.
4416         * sysdeps/ieee754/dbl-64/mpa.c: New file.
4417         * sysdeps/ieee754/dbl-64/mpa.h: New file.
4418         * sysdeps/ieee754/dbl-64/mpa2.h: New file.
4419         * sysdeps/ieee754/dbl-64/mpatan.c: New file.
4420         * sysdeps/ieee754/dbl-64/mpatan.h: New file.
4421         * sysdeps/ieee754/dbl-64/mpatan2.c: New file.
4422         * sysdeps/ieee754/dbl-64/mpexp.c: New file.
4423         * sysdeps/ieee754/dbl-64/mpexp.h: New file.
4424         * sysdeps/ieee754/dbl-64/mplog.c: New file.
4425         * sysdeps/ieee754/dbl-64/mplog.h: New file.
4426         * sysdeps/ieee754/dbl-64/mpsqrt.c: New file.
4427         * sysdeps/ieee754/dbl-64/mpsqrt.h: New file.
4428         * sysdeps/ieee754/dbl-64/mptan.c: New file.
4429         * sysdeps/ieee754/dbl-64/mydefs.h: New file.
4430         * sysdeps/ieee754/dbl-64/powtwo.tbl: New file.
4431         * sysdeps/ieee754/dbl-64/root.tbl: New file.
4432         * sysdeps/ieee754/dbl-64/sincos.tbl: New file.
4433         * sysdeps/ieee754/dbl-64/sincos32.c: New file.
4434         * sysdeps/ieee754/dbl-64/sincos32.h: New file.
4435         * sysdeps/ieee754/dbl-64/slowexp.c: New file.
4436         * sysdeps/ieee754/dbl-64/slowpow.c: New file.
4437         * sysdeps/ieee754/dbl-64/uasncs.h: New file.
4438         * sysdeps/ieee754/dbl-64/uatan.tbl: New file.
4439         * sysdeps/ieee754/dbl-64/uexp.h: New file.
4440         * sysdeps/ieee754/dbl-64/uexp.tbl: New file.
4441         * sysdeps/ieee754/dbl-64/ulog.h: New file.
4442         * sysdeps/ieee754/dbl-64/ulog.tbl: New file.
4443         * sysdeps/ieee754/dbl-64/upow.h: New file.
4444         * sysdeps/ieee754/dbl-64/upow.tbl: New file.
4445         * sysdeps/ieee754/dbl-64/urem.h: New file.
4446         * sysdeps/ieee754/dbl-64/uroot.h: New file.
4447         * sysdeps/ieee754/dbl-64/usncs.h: New file.
4448         * sysdeps/ieee754/dbl-64/utan.h: New file.
4449         * sysdeps/ieee754/dbl-64/utan.tbl: New file.
4450         * sysdeps/i386/fpu/branred.c: New file.
4451         * sysdeps/i386/fpu/doasin.c: New file.
4452         * sysdeps/i386/fpu/dosincos.c: New file.
4453         * sysdeps/i386/fpu/halfulp.c: New file.
4454         * sysdeps/i386/fpu/mpa.c: New file.
4455         * sysdeps/i386/fpu/mpatan.c: New file.
4456         * sysdeps/i386/fpu/mpatan2.c: New file.
4457         * sysdeps/i386/fpu/mpexp.c: New file.
4458         * sysdeps/i386/fpu/mplog.c: New file.
4459         * sysdeps/i386/fpu/mpsqrt.c: New file.
4460         * sysdeps/i386/fpu/mptan.c: New file.
4461         * sysdeps/i386/fpu/sincos32.c: New file.
4462         * sysdeps/i386/fpu/slowexp.c: New file.
4463         * sysdeps/i386/fpu/slowpow.c: New file.
4464         * sysdeps/ia64/fpu/branred.c: New file.
4465         * sysdeps/ia64/fpu/doasin.c: New file.
4466         * sysdeps/ia64/fpu/dosincos.c: New file.
4467         * sysdeps/ia64/fpu/halfulp.c: New file.
4468         * sysdeps/ia64/fpu/mpa.c: New file.
4469         * sysdeps/ia64/fpu/mpatan.c: New file.
4470         * sysdeps/ia64/fpu/mpatan2.c: New file.
4471         * sysdeps/ia64/fpu/mpexp.c: New file.
4472         * sysdeps/ia64/fpu/mplog.c: New file.
4473         * sysdeps/ia64/fpu/mpsqrt.c: New file.
4474         * sysdeps/ia64/fpu/mptan.c: New file.
4475         * sysdeps/ia64/fpu/sincos32.c: New file.
4476         * sysdeps/ia64/fpu/slowexp.c: New file.
4477         * sysdeps/ia64/fpu/slowpow.c: New file.
4478         * sysdeps/m68k/fpu/branred.c: New file.
4479         * sysdeps/m68k/fpu/doasin.c: New file.
4480         * sysdeps/m68k/fpu/dosincos.c: New file.
4481         * sysdeps/m68k/fpu/halfulp.c: New file.
4482         * sysdeps/m68k/fpu/mpa.c: New file.
4483         * sysdeps/m68k/fpu/mpatan.c: New file.
4484         * sysdeps/m68k/fpu/mpatan2.c: New file.
4485         * sysdeps/m68k/fpu/mpexp.c: New file.
4486         * sysdeps/m68k/fpu/mplog.c: New file.
4487         * sysdeps/m68k/fpu/mpsqrt.c: New file.
4488         * sysdeps/m68k/fpu/mptan.c: New file.
4489         * sysdeps/m68k/fpu/sincos32.c: New file.
4490         * sysdeps/m68k/fpu/slowexp.c: New file.
4491         * sysdeps/m68k/fpu/slowpow.c: New file.
4493         * iconvdata/gconv-modules: Add a number of alias, mostly for IBM
4494         codepages.
4496 2001-03-11  Andreas Jaeger  <aj@suse.de>
4498         * elf/elf.h (EM_*): Synch with official list.
4500 2001-03-07  David Mosberger  <davidm@hpl.hp.com>
4502         * sysdeps/ia64/bits/fenv.h (FE_NONIEEE_ENV): New macro.
4504 2001-03-07  Jes Sorensen  <jes@linuxcare.com>
4506         * sysdeps/unix/sysv/linux/ia64/ioperm.c (_ioperm): Remove unused
4507         variables addr & len.
4509 2001-02-22  Jes Sorensen  <jes@linuxcare.com>
4511         * sysdeps/ia64/fpu/feenablxcpt.c (feenableexcept): Remove
4512         punctuation in asm constraint.
4514 2001-03-07  Mark Kettenis  <kettenis@gnu.org>
4516         * resolv/netdb.h [__USE_GNU]: Define __need_timespec and include
4517         <time.h> to get definition of `struct timespec'.
4519 2001-03-08  Jakub Jelinek  <jakub@redhat.com>
4521         * elf/rtld.c (dl_main): If tracing, warn about undefined symbols if
4522         LD_WARN=1, not if LD_WARN is unset.
4524 2001-03-07  Andreas Schwab  <schwab@suse.de>
4526         * elf/ldconfig.h: Moved to ...
4527         * sysdeps/generic/ldconfig.h: ... here.
4528         * sysdeps/unix/sysv/linux/i386/ldconfig.h: New file.
4529         * sysdeps/unix/sysv/linux/m68k/ldconfig.h: New file.
4530         * sysdeps/unix/sysv/linux/ia64/ldconfig.h: New file.
4531         * elf/readlib.c (interpreters, known_libs): Use
4532         SYSDEP_KNOWN_INTERPRETER_NAMES and SYSDEP_KNOWN_LIBRARY_NAMES
4533         instead of hard coding old names.
4535 2001-03-09  Ulrich Drepper  <drepper@redhat.com>
4537         * catgets/Makefile (generated): Add test-gencat.h.
4538         (sample.SJIS.cat): Also generate header.
4539         * catgets/sample.SJIS: Add new set and message, both with symbolic
4540         names.
4541         * catgets/test-gencat.sh: Also compare generated header with what
4542         we expect.
4544 2001-03-07  Jakub Jelinek  <jakub@redhat.com>
4546         * catgets/gencat.c (read_input_file): Preserve properly symbolic
4547         names.
4549 2001-03-06  Andreas Jaeger  <aj@suse.de>
4551         * sysdeps/s390/dl-machine.h (elf_machine_relplt): Removed, it's not
4552         needed.
4553         (elf_machine_pltrel_p): Likewise.
4554         * sysdeps/powerpc/dl-machine.h: Likewise.
4555         * sysdeps/generic/dl-machine.h (elf_machine_pltrel_p): Likewise.
4557 2001-03-09  Ulrich Drepper  <drepper@redhat.com>
4559         * sysdeps/unix/sysv/linux/arm/Dist: Add dl-procinfo.c and
4560         dl-procinfo.h.
4562 2001-03-05  Philip Blundell  <philb@gnu.org>
4564         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c: New file.
4565         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h: New file.
4566         * sysdeps/unix/sysv/linux/arm/Makefile [subdir=elf]
4567         (sysdep-dl-routines, sysdep_routines, sysdep-rtld-routines): Add
4568         dl-procinfo.
4570 2001-03-09  Ulrich Drepper  <drepper@redhat.com>
4572         * dlfcn/tstatexit.c (main): Don't perform the test if __dso_handle
4573         is not available.
4574         * dlfcn/tstcxaatexit.c (main): Likewise.
4576 2001-03-10  Andreas Jaeger  <aj@suse.de>
4578         * sysdeps/i386/fpu/libm-test-ulps: Revert last patch.
4580 2001-03-09  Andreas Jaeger  <aj@suse.de>
4582         * sysdeps/s390/dl-machine.h (elf_machine_matches_host): Handle
4583         both new and old EM_S390 values.
4584         (EM_S390_OLD): New constant.
4586         * elf/elf.h (EM_S390): Use official value.
4588 2001-03-09  Ulrich Drepper  <drepper@redhat.com>
4590         * conform/data/sys/socket.h-data: Allow SO* symbols.
4592 2001-03-07  Andreas Schwab  <schwab@suse.de>
4594         * sysdeps/ia64/fpu/Makefile: Modify sysdep_routines instead of
4595         routines, and sysdep-CPPFLAGS instead of CPPFLAGS.
4597 2001-03-07  Andreas Jaeger  <aj@suse.de>
4599         * resolv/Makefile (routines): Only build gai_sigqueue when threads
4600         are available.
4602 2001-03-07  Jakub Jelinek  <jakub@redhat.com>
4604         * elf/ldconfig.c (_dl_sysdep_message): Remove.
4605         * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h: Include
4606         ldsodefs.h.
4607         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h: Likewise.
4609         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Use
4610         _dl_error_printf instead of _dl_sysdep_error.
4611         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
4612         * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h (_dl_procinfo):
4613         Use _dl_printf instead of _dl_sysdep_message.
4614         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h (_dl_procinfo):
4615         Likewise.
4617 2001-03-06  Ben Collins  <bcollins@debian.org>
4619         * manual/arith.texi (Integers): Fix documentation of fast and
4620         least integer typedefs.
4622 2001-03-06  Jakub Jelinek  <jakub@redhat.com>
4624         * resolv/Depend: New file.
4625         * resolv/Makefile (extra-libs, tests): Build libanl and ga_test only
4626         when libpthread is built.
4628 2001-03-06  Andreas Jaeger  <aj@suse.de>
4630         * sysdeps/i386/fpu/libm-test-ulps: Add some deltas.
4632         * sysdeps/sh/dl-machine.h (elf_machine_rela): Add missing comma.
4633         Patch by kaz Kojima <kkojima@rr.iij4u.or.jp>.
4635 2001-03-05  Ulrich Drepper  <drepper@redhat.com>
4637         * stdlib/Versions: Remove __new_exitfn again.  Not needed.
4639 2001-03-05  Andreas Jaeger  <aj@suse.de>
4641         * stdlib/msort.c (qsort): Don't use alloca in a function call.
4643 2001-03-05  Ulrich Drepper  <drepper@redhat.com>
4645         * sysdeps/unix/sysv/linux/bits/stat.h (__S_TYPEISMQ, __S_TYPEISSEM,
4646         __S_TYPEISSHM): Rewrite to enforce correct use the macros.  They still
4647         always return zero.
4648         * sysdeps/unix/sysv/linux/alpha/bits/stat.h: Likewise.
4649         * sysdeps/unix/sysv/linux/ia64/bits/stat.h: Likewise.
4650         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
4651         * sysdeps/unix/sysv/linux/m68k/bits/stat.h: Likewise.
4652         * sysdeps/unix/sysv/linux/mips/bits/stat.h: Likewise.
4653         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
4654         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
4656 2001-03-04  Andreas Jaeger  <aj@suse.de>
4658         * stdlib/longlong.h: Don't use multi-line strings.
4659         * iconvdata/tst-loading.c: Likewise.
4661         * csu/Makefile ($(objpfx)version-info.h): Don't use multi-line
4662         string.
4664 2001-03-04  Ulrich Drepper  <drepper@redhat.com>
4666         * sysdeps/ia64/fpu/libm-test-ulps: Adjust for addition of lgammal.
4668         * rt/lio_listio.c: Add a few asserts.
4670         * elf/global.c: New file.
4671         * elf/globalmod1.c: New file.
4672         * elf/Makefile: Add rules to build and run global.
4674         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Define SI_ASYNCNL.
4675         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
4676         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Likewise.
4677         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
4678         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/siginfo.h: Likewise.
4680         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: New file.
4681         Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>.
4683         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Fix handling of boundary cases.
4685         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Always initialize sign variable.
4686         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
4688         * sysdeps/i386/fpu/libm-test-ulps: Adjust after addition of lgammal.
4690         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Fix typo in last change.
4692 2001-03-04  Andreas Jaeger  <aj@suse.de>
4694         * resolv/tst-aton.c: Add testcase for IP with four periods.
4696         * resolv/inet_addr.c: Don't recognize an IP with four periods.
4697         Patch by Andre' Breiler <A.Breiler@gmx.net>.
4699 2001-02-27  Philip Blundell  <pb@futuretv.com>
4701         * elf/elf.h: Add new ARM definitions from latest (B-01)
4702         specification.  Correct naming of EF_ARM_ALIGN8 et al.
4704 2001-03-04  Ulrich Drepper  <drepper@redhat.com>
4706         * stdio-common/tst-printf.sh: Remove bashisms.
4707         Patch by Matthew Clarke <Matthew_Clarke@mindlink.bc.ca>.
4709 2001-03-03  Ulrich Drepper  <drepper@redhat.com>
4711         * Versions.def: Add libanl definition.
4712         * shlib-versions: Add entry for libanl.
4713         * resolv/Makefile (distribute): Add gai_misc.h and ga_test.c.
4714         (routines): Add gai_sigqueue.
4715         (extra-libs): Add libanl.
4716         (libanl-routines): New variable.
4717         Add rules to build libanl and ga_test.
4718         * resolv/Versions [libc] (GLIBC_2.2.3): Add __gai_sigqueue.
4719         [libanl]: New library.
4720         * resolv/netdb.h: Add definitions for libanl.
4721         * resolv/getaddrinfo_a.c: New file.
4722         * resolv/gai_cancel.c: New file.
4723         * resolv/gai_error.c: New file.
4724         * resolv/gai_misc.c: New file.
4725         * resolv/gai_misc.h: New file.
4726         * resolv/gai_notify.c: New file.
4727         * resolv/gai_suspend.c: New file.
4728         * resolv/ga_test.c: New file.
4729         * sysdeps/generic/gai_sigqueue.c: New file.
4730         * sysdeps/unix/sysv/linux/gai_sigqueue.c: New file.
4731         * sysdeps/generic/bits/siginfo.h: Allow __need_sigevent_t being defined
4732         and provide only that definition.
4733         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Likewise.
4734         * sysdeps/unix/sysv/linux/bits/siginfo.h: Likewise.
4735         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
4736         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Likewise.
4737         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
4738         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/siginfo.h: Likewise.
4740         * rt/aio_misc.c: Fix typos in comments.
4741         * rt/lio_listio.c: Pretty printing.  Little optimization in request
4742         list handling.
4744         * elf/rtld.c: Remove commented out code.
4746         * sysdeps/unix/sysv/linux/linux_fsinfo.h (SHMFS_SUPER_MAGIC):
4747         Update for real 2.4 kernels.
4749 2001-03-01  Ulrich Drepper  <drepper@redhat.com>
4751         * elf/dl-load.c: Pretty printing.
4753         * elf/dl-object.c (_dl_new_object): Don't add the loader's scope
4754         twice.
4756 2001-02-28  Ulrich Drepper  <drepper@redhat.com>
4758         * sysdeps/alpha/dl-machine.h (elf_machine_rela): Don't handle
4759         relocations which are not in ld.so if RTLD_BOOTSTRAP is defined.
4761         * sysdeps/powerpc/dl-machine.c (__process_machine_rela): Fix typo.
4763         * elf/dl-misc.c (_dl_debug_vdprintf): Fix typo visible on 64-bit
4764         machines.
4766         * sysdeps/unix/sysv/linux/powerpc/sysdep.h (C_TEXT): Define.
4768 2001-02-27  Ulrich Drepper  <drepper@redhat.com>
4770         * sysdeps/powerpc/elf/libc-start.c: Use new output functions and
4771         _dl_debug_mask.
4773         * elf/Versions [ld]: Don't export _dl_debug_message anymore.  Export
4774         _dl_debug_printf.
4775         * elf/dl-misc.c: Remove definition of _dl_sysdep_output and
4776         _dl_debug_message.  Define _dl_debug_vdprintf, _dl_debug_printf,
4777         _dl_debug_printf_c, and _dl_printf.
4778         * sysdeps/generic/ldsodefs.h: Don't declare _dl_sysdep_output,
4779         _dl_debug_message, _dl_sysdep_message, _dl_sysdep_error, and
4780         _dl_sysdep_fatal.  Declare _dl_debug_printf, _dl_debug_printf_c,
4781         _dl_printf, _dl_error_printf, and _dl_fatal_printf.
4782         * elf/dl-close.c: Replace use of old output functions with the new
4783         ones.
4784         * elf/dl-deps.c: Likewise.
4785         * elf/dl-error.c: Likewise.
4786         * elf/dl-fini.c: Likewise.
4787         * elf/dl-init.c: Likewise.
4788         * elf/dl-load.c: Likewise.
4789         * elf/dl-lookup.c: Likewise.
4790         * elf/dl-minimal.c: Likewise.
4791         * elf/dl-open.c: Likewise.
4792         * elf/dl-profile.c: Likewise.
4793         * elf/dl-reloc.c: Likewise.
4794         * elf/dl-version.c: Likewise.
4795         * elf/do-lookup.h: Likewise.
4796         * elf/rtld.c: Likewise.
4797         * sysdeps/generic/dl-cache.c: Likewise.
4798         * sysdeps/generic/dl-sysdep.c: Likewise.
4799         * sysdeps/generic/libc-start.c: Likewise.
4800         * sysdeps/i386/dl-machine.h: Likewise.
4801         * sysdeps/arm/dl-machine.h: Likewise.
4802         * sysdeps/hppa/dl-machine.h: Likewise.
4803         * sysdeps/m68k/dl-machine.h: Likewise.
4804         * sysdeps/powerpc/dl-machine.h: Likewise.
4805         * sysdeps/s390/dl-machine.h: Likewise.
4806         * sysdeps/sh/dl-machine.h: Likewise.
4807         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
4808         * sysdeps/unix/sysv/linux/i386/dl-librecon.h: Likewise.
4809         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
4811         * sysdeps/generic/ldsodefs.h: Remove _dl_secure declaration.
4813         * dlfcn/Makefile: Don't run tstatexit test unless .hidden is
4814         supported by assembler.
4816         * sysdeps/generic/ldsodefs.h: Remove commented-out variable
4817         declaractions.
4819         * elf/rtld.c: Little optimizations in handling _dl_lazy.
4821         * elf/cache.c (save_cache): Portability changes.
4822         * elf/dl-profile.c (_dl_start_profile): Likewise.
4824         * elf/sln.c: Cleanups.  Remove arbitrary limits.
4826         * elf/dl-close.c: Replace _dl_debug_* variables with _dl_debug_mask.
4827         * elf/dl-deps.c: Likewise.
4828         * elf/dl-fini.c: Likewise.
4829         * elf/dl-init.c: Likewise.
4830         * elf/dl-load.c: Likewise.
4831         * elf/dl-lookup.c: Likewise.
4832         * elf/dl-open.c: Likewise.
4833         * elf/dl-reloc.c: Likewise.
4834         * elf/dl-support.c: Likewise.
4835         * elf/dl-version.c: Likewise.
4836         * elf/do-lookup.h: Likewise.
4837         * elf/rtld.c: Likewise.
4838         * sysdeps/generic/dl-cache.c: Likewise.
4839         * sysdeps/generic/ldsodefs.h: Likewise.
4840         * sysdeps/generic/libc-start.c: Likewise.
4841         * elf/Versions: Don't export _dl_debug_impcalls and _dl_debug_files.
4842         Export _dl_debug_mask.
4843         * Versions.def: Define GLIBC_2.2.3 for ld.
4845 2001-02-26  Greg McGary  <greg@mcgary.org>
4847         * sysdeps/unix/make-syscalls.sh (ptr): Handle `V' keyletter.
4849 2001-02-26  Paul Eggert  <eggert@twinsun.com>
4851         Modify mkstemp.c and tempname.c so that they can be used by
4852         GNU applications on non-glibc platforms.
4854         * misc/mkstemp.c (__GT_FILE): Define to zero if not defined.
4856         * sysdeps/posix/tempname.c: Include <config.h> if HAVE_CONFIG_H.
4857         Include <stddef.h>, <stdint.h>, <string.h> only if
4858         STDC_HEADERS || _LIBC.
4859         Include <fcntl.h> only if HAVE_FCNTL_H || _LIBC.
4860         Include <unistd.h> only if HAVE_UNISTD_H || _LIBC.
4861         Include <sys/time.h> only if HAVE_SYS_TIME_H || _LIBC.
4862         (__set_errno): Define this macro if <errno.h> doesn't.
4863         (P_tmpdir, TMP_MAX, __GT_FILE, __GT_BIGFILE, __GT_DIR, __GT_NOCREATE):
4864         Define these macros if <stdio.h> doesn't.
4865         (S_ISDIR, S_IRUSR, S_IWUSR, S_IXUSR):
4866         Define these macros if <sys/stat.h> doesn't.
4867         Ignore <sys/stat.h> S_ISDIR if STAT_MACROS_BROKEN.
4868         (stat64, __getpid, __gettimeofday, __mkdir, __open, __open64,
4869         lxstat64, __xstat64): Define if not _LIBC.
4870         (struct_stat64): New macro.
4871         (direxists, __gen_tempname): Use it, to avoid a
4872         portability problem with Solaris 8.
4873         (__secure_getenv): Define if ! (HAVE___SECURE_GETENV || _LIBC).
4874         (__gen_tempname): Invoke gettimeofday only if
4875         HAVE_GETTIMEOFDAY || _LIBC; otherwise, fall back on plain "time".
4876         Use portable macros like S_IRUSR | S_IWUSR rather than nonportable
4877         octal values like 0600.
4879 2001-02-26  Ulrich Drepper  <drepper@redhat.com>
4881         * sysdeps/ieee754/ldbl-96/e_jnl.c: New file.
4882         Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>.
4884         * sysdeps/i386/fpu/libm-test-ulps: Update for jnl and ynl introduction.
4885         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
4887         * posix/wordexp-test.c (testit): Remove warnings.
4889         * dlfcn/Makefile (distribute): Add modatexit.c and modcxaatexit.c.
4890         (tests): Add tstatexit and tstcxaatexit.
4891         (module-names): Add modatexit and modcxaatexit.
4892         Add rules to build and run tstatexit and tstcxaatexit.
4893         * dlfcn/modatexit.c: New file.
4894         * dlfcn/modcxaatexit.c: New file.
4895         * dlfcn/tstatexit.c: New file.
4896         * dlfcn/tstcxaatexit.c: New file.
4898         * io/Makefile: Pass -DHAVE_DOT_HIDDEN to stat and mknod functions if
4899         .hidden is available.
4900         * io/stat.c: If .hidden is available use it to avoid exporting
4901         functions.
4902         * io/fstat.c: Likewise.
4903         * io/lstat.c: Likewise.
4904         * io/stat64.c: Likewise.
4905         * io/fstat64.c: Likewise.
4906         * io/lstat64.c: Likewise.
4907         * sysdeps/generic/mknod.c: Likewise.
4909         * malloc/mtrace.c: Use __cxa_atexit and not atexit.
4910         * sysdeps/generic/bb_init_func.c: Likewise.
4911         * sysdeps/generic/libc-start.c: Likewise.
4913         * stdlib/atexit.c (__new_exitfn): Move to cxa_atexit.c.
4914         (atexit): Implement using __cxa_atexit.
4915         Use .hidden if availble to avoid exporting atexit.
4916         * stdlib/cxa_atexit.c (__new_exitfn): Moved to here from atexit.c.
4917         * stdlib/Versions: Export __new_exitfn for GLIBC_2.2.3.
4918         * stdlib/Makefile (routines): Add old_atexit.
4919         (static-only-routines): Add atexit.
4920         Pass -DHAVE_DOT_HIDDEN for atexit.c if .hidden is available.
4921         * stdlib/old_atexit.c: New file.
4923         * intl/Makefile: Remove bogus endif.
4925 2001-02-26  Andreas Jaeger  <aj@suse.de>
4927         * iconvdata/Makefile (tests): Fix typo in last patch.
4929         * intl/Makefile (tests): Run mtrace-tst-gettext only when perl is
4930         available.
4931         Reported by Achim Gottinger <achim@gentoo.org>.
4933 2001-02-25  Andreas Jaeger  <aj@suse.de>
4935         * intl/Makefile (plural.c): Reorder rules so that they work if
4936         BISON doesn't exist.
4938 2001-02-25  Ulrich Drepper  <drepper@redhat.com>
4940         * intl/locale.alias: Don't use nb_NO but define aliases for it.
4942 2001-02-23  Ulrich Drepper  <drepper@redhat.com>
4944         * sysdeps/i386/strtok.S: Continue to return NULL after the first
4945         time this happened.
4947 2001-02-23  Andreas Jaeger  <aj@suse.de>
4949         * string/tester.c (test_strtok_r): Add testcase.
4950         (test_strtok_r): Always initialize cp for proper checking.
4952         * sysdeps/generic/strtok.c (strtok): Handle case of first strtok
4953         returning NULL correctly.
4954         Patch by Fumitoshi UKAI <ukai@debian.or.jp>.
4955         * sysdeps/generic/strtok_r.c (__strtok_r): Likewise.
4957 2001-02-23  Ulrich Drepper  <drepper@redhat.com>
4959         * sysdeps/unix/sysv/aix/bits/types.h: Define __need_NULL before
4960         including <stddef.h>.
4961         * sysdeps/unix/sysv/aix/write.c: Define alias __libc_write.
4962         * include/libc-symbols.h (weak_alias): Don't use .weak if
4963         HAVE_ASM_GLOBAL_DOT_NAME is defined.
4964         Patches by Michael Keezer <mkeezer@redhat.com>.
4966         * sysdeps/generic/ftime.c: Don't include <sys/time.h> at all.
4967         Patch by Michael Keezer <mkeezer@redhat.com>.
4969         * sysdeps/unix/sysv/aix/Dist: Remove restf.S and savef.S.
4970         * sysdeps/unix/sysv/aix/Makefile [$(subdir) == misc]
4971         (sysdep_routines): Remove restf.S and savef.S.
4972         * sysdeps/unix/sysv/aix/restf.S: Removed.
4973         * sysdeps/unix/sysv/aix/savef.S: Removed.
4974         * sysdeps/powerpc/fprrest.S: Use C_TEXT to define label.  Also define
4975         alternative names used on some platforms.
4976         * sysdeps/powerpc/fprsave.S: Likewise.
4977         * sysdeps/powerpc/gprrest0.S: Likewise.
4978         * sysdeps/powerpc/gprrest1.S: Likewise.
4979         * sysdeps/powerpc/gprsave0.S: Likewise.
4980         * sysdeps/powerpc/gprsave1.S: Likewise.
4981         Patch by Michael Keezer <mkeezer@redhat.com>.
4983 2001-02-22  Ulrich Drepper  <drepper@redhat.com>
4985         * sysdeps/i386/elf/start.S (_fp_hw): Actually define label.
4987 2001-02-22  Andreas Jaeger  <aj@suse.de>
4989         * string/tst-strtok.c (main): Fix error messages.
4991 2001-02-22  Andreas Jaeger  <aj@suse.de>
4993         * math/Makefile: Remove omit-long-double-fcts.
4995 2001-02-18  Maciej W. Rozycki  <macro@ds2.pg.gda.pl>
4997         * sysdeps/mips/bsd-_setjmp.S (_setjmp): Reorder instructions to
4998         avoid problems on MIPS I.
4999         * sysdeps/mips/bsd-setjmp.S (setjmp): Likewise.
5001         * sysdeps/mips/dl-machine.h (RTLD_START): Remove duplicate ".set
5002         noreorder".
5004 2001-02-21  Ulrich Drepper  <drepper@redhat.com>
5006         * posix/fnmatch_loop.c: Handle ranges outside glibc correctly.
5008         * sysdeps/generic/ftime.c: Include <time.h>.
5010         * configure.in: Don't check for libgd if user passed --without-gd.
5011         Patch by Achim Gottinger <achim@gentoo.org>.
5013         * sysdeps/i386/i686/strtok.S: Continue to return NULL after the
5014         first time this happened.
5015         * string/Makefile (tests): Add tst-strtok.
5017 2001-02-21  Andreas Jaeger  <aj@suse.de>
5019         * string/tst-strtok.c: New testcase, reported by
5020         Andrew Church <achurch@achurch.org>.
5022 2001-02-20  Ulrich Drepper  <drepper@redhat.com>
5024         * libio/iofwide.c: Remove fwide alias.
5026 2001-02-20  Andreas Jaeger  <aj@suse.de>
5028         * iconvdata/Makefile (tests): Only run mtrace-tst-loading if perl
5029         is available.
5030         Reported by Achim Gottinger <achim@gentoo.org>.
5032 2001-02-19  Ulrich Drepper  <drepper@redhat.com>
5034         * iconv/tst-iconv1.c (main): Remove debugging code.
5036         * sysdeps/ieee754/flt-32/e_powf.c: Handle x == +-1 correctly.
5037         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5039         * sysdeps/generic/e_scalb.c: Set invalid exception for invalid
5040         parameters.
5041         * sysdeps/generic/e_scalbf.c: Likewise.
5042         * sysdeps/generic/e_scalbl.c: Likewise.
5044         * sysdeps/ia64/fpu/Makefile (libm-sysdep-routines): Add libm_error,
5045         libm_frexp4, libm_frexp4f, libm_frexp4l, and all the functions also
5046         in libc.
5047         (routines): Replace libm_error with libc_libm_error.
5048         * sysdeps/ia64/fpu/Dist: Add libc_libm_error.c.
5049         * sysdeps/ia64/fpu/libc_libm_error.c: New file.
5051 2001-02-18  Mark Kettenis  <kettenis@gnu.org>
5053         * malloc/mtrace.c [USE_IN_LIBIO]: Define fopen as _IO_fopen64.
5054         (mtrace): Revert 2001-02-13 patch: use fopen instead of fopen64.
5056 2001-02-17  H.J. Lu  <hjl@gnu.org>
5058         * sysdeps/unix/sysv/linux/ia64/clone2.S: Use clone2 and don't use
5059         scratch registers across the system call.
5061 2001-02-19  Andreas Jaeger  <aj@suse.de>
5063         * malloc/Makefile (tests): Run mtrace only when perl is available.
5064         Reported by Achim Gottinger <achim@gentoo.org>.
5066 2001-02-19  Ulrich Drepper  <drepper@redhat.com>
5068         * sysdeps/ieee754/ldbl-96/e_j1l.c: New file.
5069         Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>.
5071         * sysdeps/i386/fpu/libm-test-ulps: Adjust error values for j1 and y1.
5072         * sysdeps/ia64/fpu/libm-test-ulps: Adjust error values for y1.
5073         * math/libm-test.inc (j1_test): Mark constants as long double.
5074         (jn_test): Likewise.
5075         (y1_test): Likewise.
5076         (yn_test): Likewise.
5078         * libio/iogetline.c: Move return until after last statement.
5080         * localedata/show-ucs-data.c: Don't show < > for better readability.
5082         * sysdeps/ia64/fpu/Dist: New file.
5083         * sysdeps/ia64/fpu/Makefile: New file.
5084         * sysdeps/ia64/fpu/Versions: New file.
5085         * sysdeps/ia64/fpu/e_acos.S: New file.
5086         * sysdeps/ia64/fpu/e_acosf.S: New file.
5087         * sysdeps/ia64/fpu/e_acosl.S: New file.
5088         * sysdeps/ia64/fpu/e_asin.S: New file.
5089         * sysdeps/ia64/fpu/e_asinf.S: New file.
5090         * sysdeps/ia64/fpu/e_asinl.S: New file.
5091         * sysdeps/ia64/fpu/e_atan2.S: New file.
5092         * sysdeps/ia64/fpu/e_atan2f.S: New file.
5093         * sysdeps/ia64/fpu/e_atan2l.c: New file.
5094         * sysdeps/ia64/fpu/e_cosh.S: New file.
5095         * sysdeps/ia64/fpu/e_coshf.S: New file.
5096         * sysdeps/ia64/fpu/e_coshl.S: New file.
5097         * sysdeps/ia64/fpu/e_exp.S: New file.
5098         * sysdeps/ia64/fpu/e_expf.S: New file.
5099         * sysdeps/ia64/fpu/e_expl.c: New file.
5100         * sysdeps/ia64/fpu/e_fmod.S: New file.
5101         * sysdeps/ia64/fpu/e_fmodf.S: New file.
5102         * sysdeps/ia64/fpu/e_fmodl.S: New file.
5103         * sysdeps/ia64/fpu/e_hypot.S: New file.
5104         * sysdeps/ia64/fpu/e_hypotf.S: New file.
5105         * sysdeps/ia64/fpu/e_hypotl.S: New file.
5106         * sysdeps/ia64/fpu/e_log.S: New file.
5107         * sysdeps/ia64/fpu/e_log10.c: New file.
5108         * sysdeps/ia64/fpu/e_log10f.c: New file.
5109         * sysdeps/ia64/fpu/e_log10l.c: New file.
5110         * sysdeps/ia64/fpu/e_logf.S: New file.
5111         * sysdeps/ia64/fpu/e_logl.c: New file.
5112         * sysdeps/ia64/fpu/e_pow.S: New file.
5113         * sysdeps/ia64/fpu/e_powf.S: New file.
5114         * sysdeps/ia64/fpu/e_powl.S: New file.
5115         * sysdeps/ia64/fpu/e_rem_pio2.c: New file.
5116         * sysdeps/ia64/fpu/e_rem_pio2f.c: New file.
5117         * sysdeps/ia64/fpu/e_remainder.S: New file.
5118         * sysdeps/ia64/fpu/e_remainderf.S: New file.
5119         * sysdeps/ia64/fpu/e_remainderl.S: New file.
5120         * sysdeps/ia64/fpu/e_scalb.S: New file.
5121         * sysdeps/ia64/fpu/e_scalbf.S: New file.
5122         * sysdeps/ia64/fpu/e_scalbl.S: New file.
5123         * sysdeps/ia64/fpu/e_sinh.S: New file.
5124         * sysdeps/ia64/fpu/e_sinhf.S: New file.
5125         * sysdeps/ia64/fpu/e_sinhl.S: New file.
5126         * sysdeps/ia64/fpu/e_sqrt.S: New file.
5127         * sysdeps/ia64/fpu/e_sqrtf.S: New file.
5128         * sysdeps/ia64/fpu/e_sqrtl.S: New file.
5129         * sysdeps/ia64/fpu/k_rem_pio2.c: New file.
5130         * sysdeps/ia64/fpu/k_rem_pio2f.c: New file.
5131         * sysdeps/ia64/fpu/k_rem_pio2l.c: New file.
5132         * sysdeps/ia64/fpu/libm_atan2_reg.S: New file.
5133         * sysdeps/ia64/fpu/libm_error.c: New file.
5134         * sysdeps/ia64/fpu/libm_frexp4.S: New file.
5135         * sysdeps/ia64/fpu/libm_frexp4f.S: New file.
5136         * sysdeps/ia64/fpu/libm_frexp4l.S: New file.
5137         * sysdeps/ia64/fpu/libm_reduce.S: New file.
5138         * sysdeps/ia64/fpu/libm_support.h: New file.
5139         * sysdeps/ia64/fpu/libm_tan.S: New file.
5140         * sysdeps/ia64/fpu/s_atan.S: New file.
5141         * sysdeps/ia64/fpu/s_atanf.S: New file.
5142         * sysdeps/ia64/fpu/s_atanl.S: New file.
5143         * sysdeps/ia64/fpu/s_cbrt.S: New file.
5144         * sysdeps/ia64/fpu/s_cbrtf.S: New file.
5145         * sysdeps/ia64/fpu/s_cbrtl.S: New file.
5146         * sysdeps/ia64/fpu/s_ceil.S: New file.
5147         * sysdeps/ia64/fpu/s_ceilf.S: New file.
5148         * sysdeps/ia64/fpu/s_ceill.S: New file.
5149         * sysdeps/ia64/fpu/s_cos.S: New file.
5150         * sysdeps/ia64/fpu/s_cosf.S: New file.
5151         * sysdeps/ia64/fpu/s_cosl.S: New file.
5152         * sysdeps/ia64/fpu/s_expm1.S: New file.
5153         * sysdeps/ia64/fpu/s_expm1f.S: New file.
5154         * sysdeps/ia64/fpu/s_expm1l.S: New file.
5155         * sysdeps/ia64/fpu/s_floor.S: New file.
5156         * sysdeps/ia64/fpu/s_floorf.S: New file.
5157         * sysdeps/ia64/fpu/s_floorl.S: New file.
5158         * sysdeps/ia64/fpu/s_frexp.c: New file.
5159         * sysdeps/ia64/fpu/s_frexpf.c: New file.
5160         * sysdeps/ia64/fpu/s_frexpl.c: New file.
5161         * sysdeps/ia64/fpu/s_ilogb.S: New file.
5162         * sysdeps/ia64/fpu/s_ilogbf.S: New file.
5163         * sysdeps/ia64/fpu/s_ilogbl.S: New file.
5164         * sysdeps/ia64/fpu/s_ldexp.S: New file.
5165         * sysdeps/ia64/fpu/s_ldexpf.S: New file.
5166         * sysdeps/ia64/fpu/s_ldexpl.S: New file.
5167         * sysdeps/ia64/fpu/s_log1p.S: New file.
5168         * sysdeps/ia64/fpu/s_log1pf.S: New file.
5169         * sysdeps/ia64/fpu/s_log1pl.S: New file.
5170         * sysdeps/ia64/fpu/s_logb.S: New file.
5171         * sysdeps/ia64/fpu/s_logbf.S: New file.
5172         * sysdeps/ia64/fpu/s_logbl.S: New file.
5173         * sysdeps/ia64/fpu/s_matherrf.c: New file.
5174         * sysdeps/ia64/fpu/s_matherrl.c: New file.
5175         * sysdeps/ia64/fpu/s_modf.S: New file.
5176         * sysdeps/ia64/fpu/s_modff.S: New file.
5177         * sysdeps/ia64/fpu/s_modfl.S: New file.
5178         * sysdeps/ia64/fpu/s_nearbyint.S: New file.
5179         * sysdeps/ia64/fpu/s_nearbyintf.S: New file.
5180         * sysdeps/ia64/fpu/s_nearbyintl.S: New file.
5181         * sysdeps/ia64/fpu/s_rint.S: New file.
5182         * sysdeps/ia64/fpu/s_rintf.S: New file.
5183         * sysdeps/ia64/fpu/s_rintl.S: New file.
5184         * sysdeps/ia64/fpu/s_round.S: New file.
5185         * sysdeps/ia64/fpu/s_roundf.S: New file.
5186         * sysdeps/ia64/fpu/s_roundl.S: New file.
5187         * sysdeps/ia64/fpu/s_scalbn.S: New file.
5188         * sysdeps/ia64/fpu/s_scalbnf.S: New file.
5189         * sysdeps/ia64/fpu/s_scalbnl.S: New file.
5190         * sysdeps/ia64/fpu/s_significand.S: New file.
5191         * sysdeps/ia64/fpu/s_significandf.S: New file.
5192         * sysdeps/ia64/fpu/s_significandl.S: New file.
5193         * sysdeps/ia64/fpu/s_sin.c: New file.
5194         * sysdeps/ia64/fpu/s_sincos.c: New file.
5195         * sysdeps/ia64/fpu/s_sincosf.c: New file.
5196         * sysdeps/ia64/fpu/s_sincosl.c: New file.
5197         * sysdeps/ia64/fpu/s_sinf.c: New file.
5198         * sysdeps/ia64/fpu/s_sinl.c: New file.
5199         * sysdeps/ia64/fpu/s_tan.S: New file.
5200         * sysdeps/ia64/fpu/s_tanf.S: New file.
5201         * sysdeps/ia64/fpu/s_tanl.S: New file.
5202         * sysdeps/ia64/fpu/s_trunc.S: New file.
5203         * sysdeps/ia64/fpu/s_truncf.S: New file.
5204         * sysdeps/ia64/fpu/s_truncl.S: New file.
5205         * sysdeps/ia64/fpu/w_acos.c: New file.
5206         * sysdeps/ia64/fpu/w_acosf.c: New file.
5207         * sysdeps/ia64/fpu/w_acosl.c: New file.
5208         * sysdeps/ia64/fpu/w_asin.c: New file.
5209         * sysdeps/ia64/fpu/w_asinf.c: New file.
5210         * sysdeps/ia64/fpu/w_asinl.c: New file.
5211         * sysdeps/ia64/fpu/w_atan2.c: New file.
5212         * sysdeps/ia64/fpu/w_atan2f.c: New file.
5213         * sysdeps/ia64/fpu/w_atan2l.c: New file.
5214         * sysdeps/ia64/fpu/w_cosh.c: New file.
5215         * sysdeps/ia64/fpu/w_coshf.c: New file.
5216         * sysdeps/ia64/fpu/w_coshl.c: New file.
5217         * sysdeps/ia64/fpu/w_exp.c: New file.
5218         * sysdeps/ia64/fpu/w_expf.c: New file.
5219         * sysdeps/ia64/fpu/w_fmod.c: New file.
5220         * sysdeps/ia64/fpu/w_fmodf.c: New file.
5221         * sysdeps/ia64/fpu/w_fmodl.c: New file.
5222         * sysdeps/ia64/fpu/w_hypot.c: New file.
5223         * sysdeps/ia64/fpu/w_hypotf.c: New file.
5224         * sysdeps/ia64/fpu/w_hypotl.c: New file.
5225         * sysdeps/ia64/fpu/w_log.c: New file.
5226         * sysdeps/ia64/fpu/w_log10.c: New file.
5227         * sysdeps/ia64/fpu/w_log10f.c: New file.
5228         * sysdeps/ia64/fpu/w_log10l.c: New file.
5229         * sysdeps/ia64/fpu/w_logf.c: New file.
5230         * sysdeps/ia64/fpu/w_logl.c: New file.
5231         * sysdeps/ia64/fpu/w_pow.c: New file.
5232         * sysdeps/ia64/fpu/w_powf.c: New file.
5233         * sysdeps/ia64/fpu/w_powl.c: New file.
5234         * sysdeps/ia64/fpu/w_remainder.c: New file.
5235         * sysdeps/ia64/fpu/w_remainderf.c: New file.
5236         * sysdeps/ia64/fpu/w_remainderl.c: New file.
5237         * sysdeps/ia64/fpu/w_scalb.c: New file.
5238         * sysdeps/ia64/fpu/w_scalbf.c: New file.
5239         * sysdeps/ia64/fpu/w_scalbl.c: New file.
5240         * sysdeps/ia64/fpu/w_sqrt.c: New file.
5241         * sysdeps/ia64/fpu/w_sqrtf.c: New file.
5242         * sysdeps/ia64/fpu/w_sqrtl.c: New file.
5243         * sysdeps/ia64/fpu/libm-test-ulps: Adjust for long double
5244         implementation.
5245         * sysdeps/ia64/fpu/bits/mathdef.h: Correct float_t and double_t types.
5246         Change FP_ILOGBNAN for new implementation.
5247         * Verions.def: Add 2.2.3 versions.
5249 2001-02-18  Ulrich Drepper  <drepper@redhat.com>
5251         * math/libm-test.inc (scalb_test): Require invalid exception being
5252         raised for invalid parameters.
5253         * sysdeps/i386/fpu/e_scalb.S: Raise invalid exception if necessary.
5254         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
5255         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
5257 2001-02-18  Mark Kettenis  <kettenis@gnu.org>
5259         * sysdeps/mach/getsysstats.c (__get_phys_pages): Change return
5260         value to long int.
5261         (__get_avphys_pages): Likewise.
5263 2001-02-18  Ulrich Drepper  <drepper@redhat.com>
5265         * math/libm-test.inc (pow_test): Correct expected results for x == +-1.
5266         * sysdeps/i386/fpu/e_pow.S: Handle x == +-1 correctly.
5267         * sysdeps/i386/fpu/e_powf.S: Likewise.
5268         * sysdeps/i386/fpu/e_powl.S: Likewise.
5270         * sysdeps/i386/fpu/bits/mathinline.h: Remove pow inline code.
5272 2001-02-17  Ulrich Drepper  <drepper@redhat.com>
5274         * math/Makefile (libm-calls): It's e_exp2 not s_exp2.
5276         * sysdeps/generic/s_exp2l.c: Renamed to...
5277         * sysdeps/generic/e_exp2l.c: ...this.   New file.
5278         * sysdeps/i386/fpu/s_exp2.S: Renamed to...
5279         * sysdeps/i386/fpu/e_exp2.S: ...this.   New file.
5280         * sysdeps/i386/fpu/s_exp2f.S: Renamed to...
5281         * sysdeps/i386/fpu/e_exp2f.S: ...this.   New file.
5282         * sysdeps/i386/fpu/s_exp2l.S: Renamed to...
5283         * sysdeps/i386/fpu/e_exp2l.S: ...this.   New file.
5284         * sysdeps/ieee754/flt-32/s_exp2f.c: Renamed to...
5285         * sysdeps/ieee754/flt-32/e_exp2f.c: ...this.   New file.
5286         * sysdeps/ieee754/dbl-64/s_exp2.c: Renamed to...
5287         * sysdeps/ieee754/dbl-64/e_exp2.c: ...this.   New file.
5288         * sysdeps/m68k/fpu/s_exp2.c: Renamed to...
5289         * sysdeps/m68k/fpu/e_exp2.c: ...this.   New file.
5290         * sysdeps/m68k/fpu/s_exp2f.c: Renamed to...
5291         * sysdeps/m68k/fpu/e_exp2f.c: ...this.   New file.
5292         * sysdeps/m68k/fpu/s_exp2l.c: Renamed to...
5293         * sysdeps/m68k/fpu/e_exp2l.c: ...this.   New file.
5295 2001-02-17  Andreas Jaeger  <aj@suse.de>
5297         * configure.in: Allow gcc 3.
5299 2001-02-16  Ulrich Drepper  <drepper@redhat.com>
5301         * math/w_acos.c: Move to ...
5302         * sysdeps/generic/w_acos.c: ...here.  New file.
5303         * math/w_acosf.c: Move to ...
5304         * sysdeps/generic/w_acosf.c: ...here.  New file.
5305         * math/w_acosh.c: Move to ...
5306         * sysdeps/generic/w_acosh.c: ...here.  New file.
5307         * math/w_acoshf.c: Move to ...
5308         * sysdeps/generic/w_acoshf.c: ...here.  New file.
5309         * math/w_acoshl.c: Move to ...
5310         * sysdeps/generic/w_acoshl.c: ...here.  New file.
5311         * math/w_acosl.c: Move to ...
5312         * sysdeps/generic/w_acosl.c: ...here.  New file.
5313         * math/w_asin.c: Move to ...
5314         * sysdeps/generic/w_asin.c: ...here.  New file.
5315         * math/w_asinf.c: Move to ...
5316         * sysdeps/generic/w_asinf.c: ...here.  New file.
5317         * math/w_asinl.c: Move to ...
5318         * sysdeps/generic/w_asinl.c: ...here.  New file.
5319         * math/w_atan2.c: Move to ...
5320         * sysdeps/generic/w_atan2.c: ...here.  New file.
5321         * math/w_atan2f.c: Move to ...
5322         * sysdeps/generic/w_atan2f.c: ...here.  New file.
5323         * math/w_atan2l.c: Move to ...
5324         * sysdeps/generic/w_atan2l.c: ...here.  New file.
5325         * math/w_atanh.c: Move to ...
5326         * sysdeps/generic/w_atanh.c: ...here.  New file.
5327         * math/w_atanhf.c: Move to ...
5328         * sysdeps/generic/w_atanhf.c: ...here.  New file.
5329         * math/w_atanhl.c: Move to ...
5330         * sysdeps/generic/w_atanhl.c: ...here.  New file.
5331         * math/w_cosh.c: Move to ...
5332         * sysdeps/generic/w_cosh.c: ...here.  New file.
5333         * math/w_coshf.c: Move to ...
5334         * sysdeps/generic/w_coshf.c: ...here.  New file.
5335         * math/w_coshl.c: Move to ...
5336         * sysdeps/generic/w_coshl.c: ...here.  New file.
5337         * math/w_drem.c: Move to ...
5338         * sysdeps/generic/w_drem.c: ...here.  New file.
5339         * math/w_dremf.c: Move to ...
5340         * sysdeps/generic/w_dremf.c: ...here.  New file.
5341         * math/w_dreml.c: Move to ...
5342         * sysdeps/generic/w_dreml.c: ...here.  New file.
5343         * math/w_exp10.c: Move to ...
5344         * sysdeps/generic/w_exp10.c: ...here.  New file.
5345         * math/w_exp10f.c: Move to ...
5346         * sysdeps/generic/w_exp10f.c: ...here.  New file.
5347         * math/w_exp10l.c: Move to ...
5348         * sysdeps/generic/w_exp10l.c: ...here.  New file.
5349         * math/w_exp2.c: Move to ...
5350         * sysdeps/generic/w_exp2.c: ...here.  New file.
5351         * math/w_exp2f.c: Move to ...
5352         * sysdeps/generic/w_exp2f.c: ...here.  New file.
5353         * math/w_exp2l.c: Move to ...
5354         * sysdeps/generic/w_exp2l.c: ...here.  New file.
5355         * math/w_fmod.c: Move to ...
5356         * sysdeps/generic/w_fmod.c: ...here.  New file.
5357         * math/w_fmodf.c: Move to ...
5358         * sysdeps/generic/w_fmodf.c: ...here.  New file.
5359         * math/w_fmodl.c: Move to ...
5360         * sysdeps/generic/w_fmodl.c: ...here.  New file.
5361         * math/w_hypot.c: Move to ...
5362         * sysdeps/generic/w_hypot.c: ...here.  New file.
5363         * math/w_hypotf.c: Move to ...
5364         * sysdeps/generic/w_hypotf.c: ...here.  New file.
5365         * math/w_hypotl.c: Move to ...
5366         * sysdeps/generic/w_hypotl.c: ...here.  New file.
5367         * math/w_j0.c: Move to ...
5368         * sysdeps/generic/w_j0.c: ...here.  New file.
5369         * math/w_j0f.c: Move to ...
5370         * sysdeps/generic/w_j0f.c: ...here.  New file.
5371         * math/w_j0l.c: Move to ...
5372         * sysdeps/generic/w_j0l.c: ...here.  New file.
5373         * math/w_j1.c: Move to ...
5374         * sysdeps/generic/w_j1.c: ...here.  New file.
5375         * math/w_j1f.c: Move to ...
5376         * sysdeps/generic/w_j1f.c: ...here.  New file.
5377         * math/w_j1l.c: Move to ...
5378         * sysdeps/generic/w_j1l.c: ...here.  New file.
5379         * math/w_jn.c: Move to ...
5380         * sysdeps/generic/w_jn.c: ...here.  New file.
5381         * math/w_jnf.c: Move to ...
5382         * sysdeps/generic/w_jnf.c: ...here.  New file.
5383         * math/w_jnl.c: Move to ...
5384         * sysdeps/generic/w_jnl.c: ...here.  New file.
5385         * math/w_lgamma.c: Move to ...
5386         * sysdeps/generic/w_lgamma.c: ...here.  New file.
5387         * math/w_lgammaf.c: Move to ...
5388         * sysdeps/generic/w_lgammaf.c: ...here.  New file.
5389         * math/w_lgammaf_r.c: Move to ...
5390         * sysdeps/generic/w_lgammaf_r.c: ...here.  New file.
5391         * math/w_lgammal.c: Move to ...
5392         * sysdeps/generic/w_lgammal.c: ...here.  New file.
5393         * math/w_lgammal_r.c: Move to ...
5394         * sysdeps/generic/w_lgammal_r.c: ...here.  New file.
5395         * math/w_lgamma_r.c: Move to ...
5396         * sysdeps/generic/w_lgamma_r.c: ...here.  New file.
5397         * math/w_log10.c: Move to ...
5398         * sysdeps/generic/w_log10.c: ...here.  New file.
5399         * math/w_log10f.c: Move to ...
5400         * sysdeps/generic/w_log10f.c: ...here.  New file.
5401         * math/w_log10l.c: Move to ...
5402         * sysdeps/generic/w_log10l.c: ...here.  New file.
5403         * math/w_log.c: Move to ...
5404         * sysdeps/generic/w_log.c: ...here.  New file.
5405         * math/w_logf.c: Move to ...
5406         * sysdeps/generic/w_logf.c: ...here.  New file.
5407         * math/w_logl.c: Move to ...
5408         * sysdeps/generic/w_logl.c: ...here.  New file.
5409         * math/w_pow.c: Move to ...
5410         * sysdeps/generic/w_pow.c: ...here.  New file.
5411         * math/w_powf.c: Move to ...
5412         * sysdeps/generic/w_powf.c: ...here.  New file.
5413         * math/w_powl.c: Move to ...
5414         * sysdeps/generic/w_powl.c: ...here.  New file.
5415         * math/w_remainder.c: Move to ...
5416         * sysdeps/generic/w_remainder.c: ...here.  New file.
5417         * math/w_remainderf.c: Move to ...
5418         * sysdeps/generic/w_remainderf.c: ...here.  New file.
5419         * math/w_remainderl.c: Move to ...
5420         * sysdeps/generic/w_remainderl.c: ...here.  New file.
5421         * math/w_scalb.c: Move to ...
5422         * sysdeps/generic/w_scalb.c: ...here.  New file.
5423         * math/w_scalbf.c: Move to ...
5424         * sysdeps/generic/w_scalbf.c: ...here.  New file.
5425         * math/w_scalbl.c: Move to ...
5426         * sysdeps/generic/w_scalbl.c: ...here.  New file.
5427         * math/w_sinh.c: Move to ...
5428         * sysdeps/generic/w_sinh.c: ...here.  New file.
5429         * math/w_sinhf.c: Move to ...
5430         * sysdeps/generic/w_sinhf.c: ...here.  New file.
5431         * math/w_sinhl.c: Move to ...
5432         * sysdeps/generic/w_sinhl.c: ...here.  New file.
5433         * math/w_sqrtl.c: Move to ...
5434         * sysdeps/generic/w_sqrtl.c: ...here.  New file.
5435         * math/w_tgamma.c: Move to ...
5436         * sysdeps/generic/w_tgamma.c: ...here.  New file.
5437         * math/w_tgammaf.c: Move to ...
5438         * sysdeps/generic/w_tgammaf.c: ...here.  New file.
5439         * math/w_tgammal.c: Move to ...
5440         * sysdeps/generic/w_tgammal.c: ...here.  New file.
5442         * locale/programs/ld-address.c (address_finish): Add 'S' to allow
5443         formats for postal_fmt.
5445 2001-02-16  Jakub Jelinek  <jakub@redhat.com>
5447         * sysdeps/unix/sysv/linux/alpha/syscalls.list (ftruncate): Add
5448         __ftruncate64 alias.
5449         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (ftruncate):
5450         Likewise.
5452 2001-02-15  David Mosberger  <davidm@hpl.hp.com>
5454         * sysdeps/unix/sysv/linux/ia64/__longjmp.S (__longjmp): No need to
5455         do "loadrs".  Writing to bspstore already takes care of
5456         invalidating the "clean" partition.
5458 2001-02-16  Andreas Schwab  <schwab@suse.de>
5460         * sysdeps/m68k/fpu/s_nextafterl.c: New file.
5461         * sysdeps/m68k/fpu/s_fpclassifyl.c: New file.
5463 2001-02-15  Jakub Jelinek  <jakub@redhat.com>
5465         * posix/regex.c (init_syntax_once): Add prototype.
5466         (TRANSLATE): If MBS_SUPPORT, translate all characters up to '\xff'.
5467         (re_search_2): Avoid warning.
5468         (count_mbs_length): Add prototype.
5469         * posix/tst-regex3.c: New file.
5470         * posix/Makefile (tests): Add bug-regex3.
5472 2001-02-15  Ulrich Drepper  <drepper@redhat.com>
5474         * stdio-common/Makefile (tests): Add tst-gets.
5475         * stdio-common/tst-gets.c: New file.
5476         * stdio-common/tst-gets.input: New file.
5478         * elf/elf.h (DT_CHECKSUM): Define.
5480         * sysdeps/generic/strtoll.c: Don't export __strto*_internal as
5481         default symbol.
5482         * sysdeps/generic/strtoull.c: Likewise.
5484 2001-02-14  Wolfram Gloger  <wg@malloc.de>
5486         * malloc/malloc.c (new_heap): When allocating large chunk aligned
5487         to HEAP_MAX_SIZE, prefer one with lower address, to avoid `holes'
5488         between the heaps.
5490 2001-02-14  Ulrich Drepper  <drepper@redhat.com>
5492         * math/libm-test.inc (j0_test): Check whether sincos is available.
5493         (j1_test): Likewise.
5494         (jn_test): Likewise.
5495         (y0_test): Likewise.
5496         (y1_test): Likewise.
5497         (yn_test): Likewise.
5499         * posix/tst-gnuglob.c: Make a few entries DT_UNKNOWN and teach
5500         fake filesystem routines to handle this.
5502         * time/sys/time.h: Make settimeofday and adjtime available if
5503         _BSD_SOURCE.
5505         * time/sys/time.h: Make timer* macros available for BSD.
5507         * iconvdata/gb18030.c: Update for Dec 2000 re-release of GB18030.
5508         Patch by Yong Li <rigel863@yahoo.com>.
5510         * sysdeps/generic/glob.c (CONVERT_DIRENT_DIRENT64): Fix copying of
5511         name.
5513         * posix/Makefile (tests): Add tst-gnuglob.
5514         * posix/tst-gnuglob.c: New file.
5516 2001-02-13  H.J. Lu  <hjl@gnu.org>
5518         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add __ftruncate64.
5520 2001-02-13  Ulrich Drepper  <drepper@redhat.com>
5522         * locale/programs/ld-paper.c (paper_output): Pretty printing.
5524         * iconvdata/Makefile (modules): Add GBBIG5.
5525         (distribute): Add gbbig5.c.
5526         * iconvdata/gconv-modules: Add entries for GBBIG5 module.
5528         * iconvdata/gbbig5.c: New file.
5529         Contributed by Yong Li <rigel863@yahoo.com>.
5531 2001-02-13  Philip Blundell  <pb@futuretv.com>
5533         * manual/crypt.texi: Remove outdated references to crypt add-on.
5535         * manual/creature.texi: Improve wording slightly.
5537 2001-02-13  Ulrich Drepper  <drepper@redhat.com>
5539         * io/ftw.c: Always use readdir64.
5540         * io/ftw64.c: Likewise.
5541         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
5542         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
5543         * sysdeps/generic/glob.c: Likewise.  Convert results of gl_readdir
5544         callback to dirent.  Still allow compiling outside glibc.
5545         * sysdeps/gnu/glob64.c: Define COMPILE_GLOB64.
5546         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
5548         * malloc/mtrace.c: Use fopen64.
5549         * posix/spawni.c: Use __open64.
5550         * sysdeps/unix/opendir.c: Likewise.
5551         * sysdeps/unix/sysv/linux/gethostid.c: Likewise.
5553         * sysdeps/generic/ftruncate64.c: Define __ftruncate64 and make old
5554         name a weak alias.
5555         * sysdeps/unix/sysv/aix/ftruncate64.c: Likewise.
5556         * sysdeps/unix/sysv/linux/ftruncate64.c: Likewise.
5557         * sysdeps/unix/sysv/linux/mips/ftruncate64.c: Likewise.
5558         * sysdeps/unix/sysv/linux/powerpc/ftruncate64.c: Likewise.
5560         * resolv/res_data.c: Add cast to avoid warning.
5562         * include/unistd.h: Declare __ftruncate64.
5564         * sysdeps/generic/utmp_file.c: Use LFS functions and types.
5566         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use __lseek64
5567         instead of __lseek.
5569 2001-02-13  Andreas Jaeger  <aj@suse.de>
5571         * login/getutent_r.c: Include <stdlib.h> for NULL.
5572         * login/getutid_r.c: Likewise.
5574 2001-02-12  Ulrich Drepper  <drepper@redhat.com>
5576         * sysdeps/dbl-64/e_j0.c: Little optimization, use sincos.
5577         * sysdeps/dbl-64/e_j1.c: Likewise.
5578         * sysdeps/dbl-64/e_jn.c: Likewise.
5579         * sysdeps/flt-32/e_j0f.c: Likewise.
5580         * sysdeps/flt-32/e_j1f.c: Likewise.
5581         * sysdeps/ldbl-96/e_j0l.c: Likewise.
5583 2000-12-02  H.J. Lu  <hjl@gnu.org>
5585         * resolv/res_libc.c (res_init): Don't make it default.
5587 2001-02-12  Ulrich Drepper  <drepper@redhat.com>
5589         * manual/debug.texi: Improved the wording.
5590         Patch by Philip Blundell <pb@futuretv.com>.
5592 2001-02-12  Andreas Jaeger  <aj@suse.de>
5594         * posix/Makefile (tests): Don't run bug-regex2 when
5595         cross-compiling.
5597         * libio/Makefile (tests): Don't run test-freopen when
5598         cross-compiling.
5600         * manual/stdio.texi (Streams and I18N): Fix typos.
5602 2001-02-12  Ulrich Drepper  <drepper@redhat.com>
5604         * sysdeps/i386/fpu/libm-test-ulps: Adjust for errors in y0l.
5606         * math/libm-test.inc (j0_test): Make expected results long double
5607         constants.
5608         (y0_test): Likewise.
5610         * sysdeps/ieee754/ldbl-96/e_j0l.c: New file.
5611         Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>.
5613 2001-02-11  Jakub Jelinek  <jakub@redhat.com>
5615         * sysdeps/generic/strtoll.c (__strtoq_internal): Ressurect alias
5616         which was exported from libc.
5617         * sysdeps/generic/strtoull.c (__strtouq_internal): Likewise.
5619 2001-02-12  Andreas Jaeger  <aj@suse.de>
5621         * manual/arith.texi (Parsing of Integers): Fix some wordings.
5623 2001-02-11  Ulrich Drepper  <drepper@redhat.com>
5625         * sysdeps/generic/getsysstat.c: Change return value of get_phys_pages
5626         and get_avphys_page to long int.
5627         * sysdeps/unix/sysv/linux/getsysstat.c: Likewise.
5628         * include/sys/sysinfo.h: Likewise.
5629         * sysdeps/generic/sys/sysinfo.h: Likewise.
5630         * sysdeps/unix/sysv/linux/sys/sysinfo.h: Likewise.
5632         * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Fail if we
5633         cannot return as many values as the user asked for.
5635 2001-02-11  Andreas Jaeger  <aj@suse.de>
5637         * manual/resource.texi (Memory Resources): Fix typo.
5639         * libio/Makefile ($(objpfx)test-freopen.out): Pass
5640         run-program-prefix.
5642         * libio/test-freopen.sh: Use run_program_prefix.
5644 2001-02-10  Andreas Jaeger  <aj@suse.de>
5646         * stdlib/Makefile (tests): Don't run tst-fmtmsg when
5647         cross-compiling.
5648         ($(objpfx)tst-fmtmsg.out): Pass run-program-prefix.
5650         * stdlib/tst-fmtmsg.sh (test): Use run_program_prefix for static
5651         only builds.
5653         * elf/Makefile (tests): Only run tst-pathopt with shared libs.
5655         * posix/Makefile: Fix typo, it's build-static-nss.
5657         * iconv/Makefile (extra-objs): New.
5659 2001-02-10  Mark Kettenis  <kettenis@gnu.org>
5661         * sysdeps/unix/stime.c: Include <time.h>.
5663         * sysdeps/mach/hurd/setitimer.c: Include <time.h>.
5665 2001-02-10  Andreas Jaeger  <aj@suse.de>
5667         * manual/string.texi (Search Functions): Fix typo.
5669 2001-02-10  Mark Kettenis  <kettenis@gnu.org>
5671         * sysdeps/unix/bsd/times.c: Reorder includes and add <time.h>.
5672         (timeval_to_clock_t): Add clk_tck argument and use that instead of
5673         CLK_TCK.
5674         (__times): Use __getclktck to get the number of clock ticks per
5675         second and use its return value instead of CLK_TCK.
5677 2001-02-10  Mark Kettenis  <kettenis@gnu.org>
5679         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h (_HAVE_SA_LEN): Define.
5681 2001-02-10  Mark Kettenis  <kettenis@gnu.org>
5683         * sysdeps/mach/gettimeofday.c: Include <stddef.h>.
5685 2001-02-10  Andreas Jaeger  <aj@suse.de>
5687         * wctype/wcfuncs.c (func): Add prototype declarations to avoid
5688         warning.
5690 2001-02-09  Ulrich Drepper  <drepper@redhat.com>
5692         * posix/Makefile: Add rules to build and run bug-regex2.
5693         * posix/bug-regex2.c: New file.
5695 2001-02-10  Jakub Jelinek  <jakub@redhat.com>
5697         * posix/regex.c (convert_mbs_to_wcs): Change is_binary to char *.
5698         (regex_compile): Likewise.
5699         (FREE_VARIABLES): Don't free is_binary1 and is_binary2.
5700         (re_match_2_internal): Use just is_binary instead of two variables.
5701         Use REGEX_TALLOC to allocate it and FREE_VAR to free on failure.
5703 2001-02-09  Ulrich Drepper  <drepper@redhat.com>
5705         * version.h (VERSION): Bump to 2.2.2.
5707         * iconv/Makefile (distribute): Add iconv_charmap.c and
5708         dummy-repertoire.c.
5709         * elf/Makefile (distribute): Add firstobj.c.
5710         * Makefile (distribute): Add include/pthread.h.
5712         * configure.in: Require makeinfo version 4.
5714         * libio/tst_wscanf.c (main): Add cast to avoid warning.
5715         * libio/tst_swscanf.c (main): Likewise..
5717 2001-02-09  Jakub Jelinek  <jakub@redhat.com>
5719         * sysdeps/generic/setenv.c (unsetenv): Remove const from len.
5720         * sysdeps/sparc/fpu/bits/mathinline.h (sqrt, fdim): Don't define if
5721         __NO_MATH_INLINES.
5722         * sysdeps/i386/dl-machine.h (elf_machine_rel): Only declare refsym
5723         if not RTLD_BOOTSTRAP.
5724         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
5725         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
5727 2001-02-09  Ulrich Drepper  <drepper@redhat.com>
5729         * locale/programs/linereader.c (get_ident): Stop loop if EOF.  Use
5730         lr_ungetc to push back last read character.
5731         * locale/programs/linereader.h (lr_ungetc): Don't push back is
5732         character is EOF.
5733         (lr_ignore_rest): Don't warn about garbage if it is really the end
5734         of the file.
5736         * manual/Makefile: Use ifnottext and not ifinfo to protect Top node
5737         definition.
5739 2001-02-08  Ulrich Drepper  <drepper@redhat.com>
5741         * Makerules (build-shlib): Work around different order of
5742         processing of -B option in different gcc versions.
5744         * posix/regex.c: Fix alignment problem.
5745         Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
5747         * sysdeps/alpha/strrchr.S: Little optimization.
5748         Patch by Richard Henderson <rth@redhat.com>.
5750         * sysdeps/alpha/alphaev67/strrchr.S: New file.
5751         Contributed by Rick Gorton <rick.gorton@alpha-processor.com>.
5753 2001-02-08  kaz Kojima  <kkojima@rr.iij4u.or.jp>
5755         * sysdeps/sh/sh3/setjmp.S (__sigsetjmp): Correct function name
5756         in the assembler end directive.
5758 2001-02-08  Andreas Jaeger  <aj@suse.de>
5760         * manual/stdio.texi (Closing Streams): Fix typos.
5762 2001-02-07  Ulrich Drepper  <drepper@redhat.com>
5764         * sysdeps/alpha/alphaev67/strncat.S: Align last write address.
5765         Patch by Richard Henderson <rth@redhat.com>.
5766         Reported by Claus-Justus Heine <heine@instmath.rwth-aachen.de>.
5768         * stdlib/strfmon.c [USE_IN_LIBIO]: Define lock variable and store
5769         pointer in FILE structure before calling _IO_init.
5770         * stdlib/Makefile: Add -D_IO_MTSAFE_IO to CFLAGS for strfmon and
5771         strfmon_l if necessary.
5772         Reported by Jury Gerold <gjury@grips.com>.
5774         * sysdeps/gnu/netinet/tcp.h: Correct values of TCP_ macros.
5775         Patch by Pekka.Pietikainen@cern.ch.
5777         * posix/regex.c: Correct several problems with 64-bit architectures
5778         introduced in the MBS changes.
5779         Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
5781 2001-02-07  Jakub Jelinek  <jakub@redhat.com>
5783         * math/tgmath.h: Only add l suffixes if __NO_LONG_DOUBLE_MATH is
5784         not defined.
5785         * sysdeps/alpha/fpu/bits/mathinline.h: Honour __NO_MATH_INLINES.
5787 2001-02-07  Andreas Jaeger  <aj@suse.de>
5789         * manual/install.texi (Tools for Compilation): Fix typo.
5790         Reported by Pavel Machek <pavel@bug.ucw.cz>.
5792 2001-02-07  Ulrich Drepper  <drepper@redhat.com>
5794         * stdlib/strtod.c: Never stop prematurely reading digits before the
5795         decimal point is found.  Compute exponent limit for negative exponents
5796         correctly.  For numbers ending in all zeros eat the zeros even before
5797         the decimal point if the exponent is negative [PR libc/2072].
5798         * stdlib/Makefile (tests): Add bug-strtod.
5799         * stdlib/bug-strtod.c: New file.
5801 2001-02-07  Andreas Jaeger  <aj@suse.de>
5803         * posix/bug-regex1.c: Include <wchar.h> for fwide.
5805 2001-02-06  Ulrich Drepper  <drepper@redhat.com>
5807         * posix/regex.c (regex_compile): Don't store pointer in wchar_t array.
5808         Store index.
5809         (compile_range): Handle index being passed, not pointer.
5810         Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
5812         * posix/regex.c: Fix a cast in the code for bracket handling which
5813         caused 8-bit uncleanliness.
5814         Patch by Michal Jaegermann <michal@ellpspace.math.ualberta.ca>.
5816         * posix/Makefile (tests): Add bug-regex1.
5817         * posix/bug-regex1.c: New file.
5818         Contributed by Jim Meyering <jim@meyering.net>.
5820         * posix/regex.c: Many cleanups for incorrect format strings.
5822 2001-02-06  Andreas Jaeger  <aj@suse.de>
5824         * time/time.h (CLK_TCK): Check for !__STRICT_ANSI.
5826 2001-02-06  Ulrich Drepper  <drepper@redhat.com>
5828         * locale/programs/locale.c (write_locales): Use scandir to read
5829         directory so that the entries are sorted.
5831 2001-02-06  Andreas Jaeger  <aj@suse.de>
5833         * include/pthread.h: New file.
5835         * wctype/wctype.h: Move internal interfaces from here to...
5836         * include/wctype.h: ...here.
5838         * wcsmbs/wchar.h: Move __wcslen from here to...
5839         * include/wchar.h: ...here.
5841         * posix/sys/wait.h: Move __wait from here to...
5842         * include/sys/wait.h: ...here.
5844         * string/string.h: Move __ffs and __strerror_r from here to...
5845         * include/string.h: ...here.
5847         * stdlib/stdlib.h: Move __on_exit from here to...
5848         * include/stdlib.h: ...here.
5850         * libio/stdio.h: Move __vsnprintf from here to...
5851         * include/stdio.h: ...here.
5853 2001-02-06  Andreas Schwab  <schwab@suse.de>
5855         * sysdeps/unix/sysv/linux/ia64/ioperm.c: Don't include kernel
5856         headers.
5858         * timezone/Makefile: Don't assume that $(inst_zonedir) is a subdir
5859         of $(inst_datadir).
5861 2001-02-06  Ulrich Drepper  <drepper@redhat.com>
5863         * iconvdata/Makefile: Add dependency for bug-iconv2.out.
5865 2001-02-06  Andreas Jaeger  <aj@suse.de>
5867         * elf/firstobj.c: Add prototype.
5869         * posix/regex.c (convert_mbs_to_wcs): Make static, add prototype
5870         (truncate_wchar): Likewise.
5872 2001-02-06  Ulrich Drepper  <drepper@redhat.com>
5874         * locale/programs/locale.c: Implement --verbose option for -a
5875         which prints detailed information about the locales.
5877 2001-02-05  Ulrich Drepper  <drepper@redhat.com>
5879         * sunrpc/xdr_rec.c (set_input_fragment): Change type of header
5880         variable to uint32_t.
5881         Reported by Ulrich Weigand <weigand@immd1.informatik.uni-erlangen.de>.
5883 2001-02-04  Bruno Haible  <haible@clisp.cons.org>
5885         * locale/C-translit.h.in: Add transliterations for CJK units of
5886         measurement.
5888 2001-02-05  Ulrich Drepper  <drepper@redhat.com>
5890         * elf/cache.c (print_entry): Use PRIx64 instead of Lx in printf
5891         string.  Include <inttypes.h> instead of <stdint.h>.
5893         * localedata/Makefile (tests): Add bug-iconv-trans.
5894         Define bug-iconv-trans-ENV.
5895         * localedata/bug-iconv-trans.c: New file.
5897 2001-02-04  Bruno Haible  <haible@clisp.cons.org>
5899         * iconv/gconv_trans.c (__gconv_transliterate): Use a temporary output
5900         pointer, to avoid accumulating output from incomplete (unsuccessful)
5901         transliteration attempts.
5903 2001-02-05  Ulrich Drepper  <drepper@redhat.com>
5905         * elf/ldconfig.c (search_dir): Use PRIx64 instead of Lx in printf
5906         string.  Include <inttypes.h> instead of <stdint.h>.
5908         * configure.in: Add check for bison.
5909         * config.make.in: Define BISON variable.
5910         * intl/Makefile: Use BISON instead of YACC when generating plural.c.
5911         Rename YFLAGS to BISONFLAGS.
5913 2001-02-05  Andreas Jaeger  <aj@suse.de>
5915         * io/test-lfs.c (do_test): Test lseek64 return value, call
5916         test_ftello.
5917         (test_ftello): New function to test ftello64 and fseeko64.
5919         * signal/signal.h: Move __sigaction from here to...
5920         * include/signal.h: ...here.
5922         * io/fcntl.h: Move __fcntl and __open to...
5923         * include/fcntl.h: ...here.
5925 2001-02-04  Philip Blundell  <philb@gnu.org>
5927         * configure.in: Distinguish ARM from Thumb.
5929 2001-02-04  Philip Blundell  <philb@gnu.org>
5931         * sysdeps/arm/dl-machine.h (elf_machine_rel): Correct handling of
5932         PC24 relocs with negative value.
5934 2001-02-04  Ulrich Drepper  <drepper@redhat.com>
5936         * iconv/Makefile (iconv_prog-modules): Define.  Add vpath to find
5937         files in locale/programs.  Add CFLAGS definition to allow compiling
5938         localedef files.
5939         * iconv/dummy-repertoire.c: New file.
5940         * iconv/iconv_charmap.c: New file.
5941         * iconv/iconv_prog.h: New file.
5942         * iconv/iconv_prog.c: Make verbose and omit_invalid global.
5943         (main): If parameter for -f and -t contain slashes try first to resolve
5944         the strings as filenames of charmap files.  Use them for conversion
5945         in this case.
5946         * iconvdata/run-iconv-test.sh: If charmaps exist also run tests with
5947         iconv getting charmap names as parameters.
5948         * locale/programs/linereader.c (lr_token): Take extra parameters
5949         verbose and pass it to get_string.
5950         (get_string): Take extra parameters verbose.
5951         * locale/programs/charmap.c (parse_charmap): Take extra parameters
5952         verbose and be_quiet.  Change all callers of lr_token and
5953         parse_charmap.
5954         * locale/programs/charmap.h: Likewise.
5955         * locale/programs/ld-address.c: Likewise.
5956         * locale/programs/ld-collate.c: Likewise.
5957         * locale/programs/ld-ctype.c: Likewise.
5958         * locale/programs/ld-identification.c: Likewise.
5959         * locale/programs/ld-measurement.c: Likewise.
5960         * locale/programs/ld-messages.c: Likewise.
5961         * locale/programs/ld-monetary.c: Likewise.
5962         * locale/programs/ld-name.c: Likewise.
5963         * locale/programs/ld-numeric.c: Likewise.
5964         * locale/programs/ld-paper.c: Likewise.
5965         * locale/programs/ld-telephone.c: Likewise.
5966         * locale/programs/ld-time.c: Likewise.
5967         * locale/programs/linereader.c: Likewise.
5968         * locale/programs/linereader.h: Likewise.
5969         * locale/programs/localedef.c: Likewise.
5970         * locale/programs/locfile.c: Likewise.
5971         * locale/programs/locfile.h: Likewise.
5972         * locale/programs/repertoire.c: Likewise.
5974 2001-02-03  Ulrich Drepper  <drepper@redhat.com>
5976         * iconv/iconv_prog.c (main): If output file name is "-" write to
5977         stdout.
5978         (main): If -f or -t argument is missing use charset of the current
5979         locale.
5981 2001-02-03  Andreas Jaeger  <aj@suse.de>
5983         * sysdeps/i386/elf/start.S (_start): Align stack to 16-byte
5984         boundary for SSE/SSE-2 alignment.
5986         * posix/Makefile ($(objpfx)annexc.out): Also pass sysincludes to
5987         annexc.
5989 2001-02-03  Ulrich Drepper  <drepper@redhat.com>
5991         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: File was using crlf.
5992         Remove comma at end of enum.
5994         * elf/dl-init.c: Add a few __builtin_expect.
5996         * hesiod/hesiod.c: Remove unnecessary code.  Remove all uses of strcat.
5998 2001-02-02  Ulrich Drepper  <drepper@redhat.com>
6000         * hesiod/hesiod.c (hesiod_resolve): Also search HS records if
6001         errno is ECONNREFUSED.
6003         * posix/Makefile: Define MBS_SUPPORT for regex.c.
6004         * posix/regex.c: Implement multibyte character handling.
6005         Patch by Isamu Hasegawa <isamu@yamato.ibm.co.jp>.
6007         * string/tst-svc.input: Add two more test cases.
6008         * string/tst-svc.expect: Modify to reflect new test cases.
6010 2001-02-01  Jakub Jelinek  <jakub@redhat.com>
6012         * sysdeps/posix/getaddrinfo.c (gaih_local, gaih_inet): Replace all
6013         tp->name tests with tp->name[0] tests.
6015 2001-01-29  Ben Collins  <bcollins@debian.org>
6017         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r):
6018         Fix check for name == NULL.
6020 2001-02-01  Ulrich Drepper  <drepper@redhat.com>
6022         * elf/Makefile: Add rules to build and run initfirst test.
6023         * elf/initfirst.c: New file.
6024         * elf/firstobj.c: New file.
6026         * Makerules (build-shlib): Add $(extra-B-$(@F:lib%.so=%).so).
6027         * configure.in: Test for -z initfirst linker option.
6028         * config.make.in: Add have-z-initfirst.
6029         * elf/dl-init.c (_dl_init): Split out actual initialization code in
6030         new function call_init.  If _dl_initfirst is non-NULL initialize first.
6031         * elf/dl-load.c (_dl_map_from_fd): If DF_1_INITFIRST flag is set
6032         remember object in _dl_initfirst.
6033         * elf/soinit.c: Remove special support for calling
6034         __pthread_initialize_minimal.
6036         * conform/conformtest.pl: Add missing $prepend in type test.
6038 2001-01-31  Ulrich Drepper  <drepper@redhat.com>
6040         * elf/elf.h (SHT_CHECKSUM): New definition.
6042         * posix/fnmatch_loop.c: Remove incorrect reverse condition in
6043         [. .] matching.  Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
6044         * posix/tst-fnmatch.input: Add tests for [. .] in locales.
6046 2001-01-31  Mark Kettenis  <kettenis@gnu.org>
6048         * misc/sys/select.h: Include <bits/time.h> instead of <sys/time.h>
6049         to get definition of `struct timeval'.
6051 2001-01-31  Ulrich Drepper  <drepper@redhat.com>
6053         * posix/tst-fnmatch.input: Add test cases for de_DE.UTF-8 locale.
6054         * posix/fnmatch_loop.c: Fix handling of [= =] for multibyte charsets.
6056 2001-01-30  Ulrich Drepper  <drepper@redhat.com>
6058         * iconv/gconv_open.c (__gconv_open): Set conv_flags if IGNORE is
6059         seen, not flags.
6061         * nis/nis_findserv.c: Include <time.h>.
6063 2001-01-30  Yong Li  <yong.li@asu.edu>
6065         * iconv/iconv_prog.c (main): Correct error handling method name.
6067 2001-01-29  Ben Collins  <bcollins@debian.org>
6069         * sysdeps/sparc/fpu/fraiseexcpt.c: Include <float.h>.
6070         * sysdeps/hppa/fpu/fraiseexcpt.c: Likewise.
6071         * sysdeps/m68k/fpu/fraiseexcpt.c: Likewise.
6072         * sysdeps/s390/fpu/fraiseexcpt.c: Likewise.
6074 2001-01-30  Ulrich Drepper  <drepper@redhat.com>
6076         * locale/programs/ld-measurement.c (measurement_finish): Fix a typo.
6077         Patch by Marko Myllynen <myllynen@lut.fi>.
6079         * string/bits/string2.h (__strpbrk_c2): Correct parameter types
6080         (int instead of char).
6081         (__strpbrk_c3): Likewise.
6082         Reported by GOTO Masanori <gotom@debian.or.jp>.
6084         * sysdeps/generic/bits/sockaddr.h: Remove SA_LEN macro.
6085         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Likewise.
6086         * include/sys/socket.h: Add SA_LEN here for internal use.
6087         Reported by Arkadiusz Miskiewicz <misiek@pld.ORG.PL>.
6089 2001-01-29  Ulrich Drepper  <drepper@redhat.com>
6091         * malloc/Makefile: Don't build memusagestat if cross-compiling.
6093         * sysdeps/generic/dl-sysdep.c (set_seen): Fix typo.
6095         * math/libm-test.inc (rint_test): Add a few more tests for round
6096         to even rounding.
6098 2001-01-28  Ulrich Drepper  <drepper@redhat.com>
6100         * conform/data/pthread.h-data: Correct return type of pthread_exit.
6102         * conform/conformtest.pl: Add -fno-builtin to CFLAGS.
6104         * conform/data/stdlib.h-data: Add _Exit.
6106         * inet/arpa/inet.h: Don't include <sys/types.h>.  Define socklen_t
6107         if not already happened.
6108         * inet/netinet/in.h: Don't include <sys/types.h>, use <bits/types.h>.
6109         Don't include <limits.h> and <bits/sockaddr.h>.
6111         * conform/data/netinet/in.h-data: Allow all of <inttypes.h>.
6113         * conform/data/spawn.h-data: Allow all of <sched.h>.
6115         * sysdeps/ia64/fpu/fraiseexcpt.c: Include <float.h>.  Removed
6116         unused variable.
6118         * sunrpc/xdr_rec.c (xdrrec_getpos): Add cast to long to avoid warning.
6119         * sunrpc/xdr_sizeof.c (x_inline): Likewise.
6121         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Include <float.h>.
6123         * conform/conformtest.pl: Define $mustprepend{"stdio.h"}.
6124         * libio/stdio.h: Define va_list correctly.
6126         * conform/data/pthread.h-data: Make priority protocol related
6127         functions optional.  Fix typos.
6129         * posix/sched.h: Define sched_priority as __sched_priority.
6130         * sysdeps/generic/bits/sched.h (struct sched_param): Rename element
6131         to __sched_priority.
6132         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
6134 2001-01-27  Ulrich Drepper  <drepper@redhat.com>
6136         * sysdeps/generic/clock_getcpuclockid.c: Include <time.h> instead
6137         of <sys/time.h>.
6139         * sysdeps/unix/stime.c: Include <stddef.h> for NULL.
6140         * sysdeps/unix/time.c: Likewise.
6142         * conform/data/time.h-data: CLK_TCK is not in XPG6.  Fix tzname entry.
6143         * sysdeps/mach/hurd/bits/time.h: Don't define CLK_TCK for XPG6.
6144         * sysdeps/mach/hurd/i386/bits/time.h: Likewise.
6145         * sysdeps/unix/sysv/linux/bits/time.h: Likewise.
6146         * sysdeps/unix/sysv/linux/alpha/bits/time.h: Likewise.
6147         * sysdeps/unix/sysv/linux/i386/bits/time.h: Likewise.
6148         * sysdeps/unix/sysv/linux/ia64/bits/time.h: Likewise.
6149         * time/time.h: Likewise.
6151         * conform/conformtest.pl (@headers): Add complex.h and tgmath.h.
6152         * conform/data/complex.h-data: New file.
6153         * conform/data/tgmath.h-data: New file.
6155         * conform/data/wchar.h-data: Add missing functions.
6157         * sysdeps/gnu/bits/utmpx.h: Define RUN_LVL only if __USE_GNU.
6159         * conform/data/termios.h-data: Add missing const in tcsetattr()
6160         prototype.
6162         * posix/sys/wait.h: Include <signal.h> and <sys/resource.h>.
6163         Don't define pid_t here.
6165         * conform/data/sys/utsname.h-data: Don't provide fixed array sizes.
6167         * conform/data/sys/time.h-data: Allow sys/select.h.
6168         * conform/data/sys/un.h-data: Fix typo.
6169         * time/sys/time.h: Don't include all of <time.h>, just struct timeval.
6170         * sysdeps/posix/clock_getres.c: Include <time.h> instead of
6171         <sys/time.h>.
6172         * sysdeps/unix/clock_nanosleep.c: Likewise.
6173         * sysdeps/unix/i386/clock_getcpuclockid.c: Likewise.
6174         * sysdeps/unix/i386/i586/clock_getres.c: Likewise.
6175         * sysdeps/unix/clock_gettime.c: Also include <time.h>.
6176         * sysdeps/unix/clock_settime.c: Likewise.
6178         * sysdeps/generic/pselect.c: Include <stddef.h> for NULL.
6179         * login/getutent.c: Likewise.
6180         * login/getutid.c: Likewise.
6181         * login/getutline.c: Likewise.
6183         * socket/sys/un.h: Define SUN_LEN only if __USE_MISC.
6185         * sysdeps/unix/sysv/linux/bits/statvfs.h: Change type of f_fsid field
6186         to unsigned long.  Add __f_unused.  Define _STATVFSBUF_F_UNUSED.
6187         * sysdeps/unix/sysv/linux/internal_statvfs.c: Adjust initialization of
6188         f_fsid field after change in struct statvfs.
6189         * sysdeps/unix/sysv/linux/alpha/bits/statvfs.h: New file.
6190         * sysdeps/unix/sysv/linux/ia64/bits/statvfs.h: New file.
6191         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/statvfs.h: New file.
6193         * conform/data/sys/stat.h-data: Remove isfdtype.  Use
6194         optional-macro.
6196         * conform/data/sys/socket.h-data: Fix typos.  Correct getsockopt,
6197         recvfrom, send, and socketpair prototypes.  Add allow lines.
6198         * socket/sys/socket.h: Include <sys/uio.h>.
6199         Don't use fancy __SOCKADDR_ARG definition unless __USE_GNU.
6200         Fix type of second parameter of listen.
6201         Don't declare isfdtype unless __USE_MISC.
6202         * sysdeps/generic/listen.c: Fix type of second parameter of listen.
6203         * sysdeps/mach/hurd/listen.c: Likewise.
6204         * sysdeps/generic/bits/socket.h (struct sockaddr_storage): Define
6205         ss_family and __ss_family.
6206         * sysdeps/unix/sysv/aix/bits/socket.h: Likewise.
6207         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
6208         (struct msghdr): Change type of msg_iovlen to int and type of
6209         msg_controllen to socklen_t.
6210         * sysdeps/unix/sysv/linux/alpha/bits/socket.h: New file.
6211         * sysdeps/unix/sysv/linux/ia64/bits/socket.h: New file.
6212         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/socket.h: New file.
6213         * inet/rcmd.c (rcmd_af): __ss_family is now ss_family.
6214         (rresvport_af): Likewise.
6216         * conform/data/sys/shm.h-data: SHMLBA is not required to by a constant.
6217         * conform/conformtest.pl: Implement handling of symbol.
6219         * signal/signal.h: Fix handling of __need_* symbols.
6220         * misc/sys/select.c: Define fd_set here.  Remove __fd_set.  Define
6221         fd_mask only if __USE_MISC.  Declare pselect for __USE_XOPEN2K.
6222         * include/sys/select.h: Use fd_set not __fd_set.
6223         * sysdeps/generic/bits/select.h: Likewise.
6224         * sysdeps/i386/bits/select.h: Likewise.
6225         * sysdeps/generic/bits/types.h: Don't define __fd_mask, __NFDBITS,
6226         __FDELT, __FDMASK, and __fd_set here.
6227         * sysdeps/unix/sysv/aix/bits/types.h: Likewise.
6228         * sysdeps/unix/sysv/hpux/bits/types.h: Likewise.
6229         * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
6230         * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
6231         * sysdeps/unix/sysv/linux/ia64/bits/types.h: Likewise.
6232         * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
6233         * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
6234         * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
6235         * time/sys/time.h: Define struct timeval before including <time.h>
6236         and <sys/select.h>.
6238         * conform/data/sys/time.h-data: fd_set is a typedef.
6239         * conform/data/sys/select.h-data: New file.
6240         * conform/data/sys/mman.h-data: Make typed mem stuff optional.
6241         * conform/conformtest.pl (@headers): Add sys/select.h.
6242         (type, optional-type): Unless testing a typedef instantiate object.
6243         Implement optional-function.
6245         * math/test-misc.c: Include <float.h>.
6247 2001-01-27  Andreas Jaeger  <aj@suse.de>
6249         * misc/efgcvt_r.c: Include <float.h>.
6251 2001-01-26  Ulrich Drepper  <drepper@redhat.com>
6253         * conform/data/stdlib.h-data: Account for XPG6 changes.
6254         * stdlib/stdlib.h (__random): Change return value type to long.
6255         (posix_memalign): Cleanup parameter names.
6256         (setenv, unsetenv): Make available for __USE_XOPEN2K.
6257         Change return type of unsetenv to int.
6258         (qecvt, qgcvt, qfcvt): Declare only if __USE_MISC.
6259         * include/stdlib.h: Change return type of unsetenv to int.
6260         Change return type of random to long int.
6261         * sysdeps/generic/setenv.c (unsetenv): Change return type to int.
6262         Return -1 and set errno if parameter is invalid.
6263         * stdlib/random.c (__random): Change return value type to long.
6265         * conform/data/stdio.h-data: Account for changes in XPG6.
6267         * conform/data/spawn.h-data: Correct posix_spawnattr_setflags
6268         prototype.
6270         * conform/conformtest.pl: Define $mustprepend{"signal.h"}.
6271         * conform/data/signal.h-data: Fix sigev_notify_function entry.
6272         Fix typo (SIGVALRM -> SIGVTALRM).
6273         * sysdeps/unix/sysv/linux/bits/siginfo.h: Define sigev_notify_attr
6274         with real type.
6275         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Likewise.
6276         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
6277         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Likewise.
6278         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
6279         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/siginfo.h: Likewise.
6281         * conform/conformtest.pl: Implement optional-element.  Define
6282         $mustprepend{"sched.h"}.
6283         * conform/data/sched.h-data: Make sporadic scheduler definitions
6284         optional.
6286         * pwd/pwd.h: Don't define getpwent_r for XPG.
6288         * io/sys/poll.h: Define nfds_t and use it in poll prototype.
6289         * sysdeps/generic/poll.c: Use nfds_t type in function definition.
6290         * sysdeps/mach/hurd/poll.c: Likewise.
6291         * sysdeps/unix/bsd/poll.c: Likewise.
6292         * sysdeps/unix/sysv/linux/poll.c: Likewise.
6293         * sysdeps/unix/sysv/aix/poll.c: Likewise.
6294         * sysdeps/generic/bits/poll.h: Define NPOLLFILE only if __USE_MISC.
6295         * sysdeps/unix/sysv/linux/bits/poll.h: Likewise.
6296         * sysdeps/unix/sysv/linux/m68k/bits/poll.h: Likewise.
6297         * sysdeps/unix/sysv/linux/mips/bits/poll.h: Likewise.
6298         * sysdeps/unix/sysv/linux/sparc/bits/poll.h: Likewise.
6299         * conform/data/poll.h-data: Fix typo in poll prototype.
6301         * sysdeps/gnu/netinet/tcp.h: Define everything but TCP_ macros
6302         only if __USE_MISC.
6303         * conform/data/netinet/tcp.h-data: Reserved prefix TCP_.
6305         * sysdeps/gnu/net/if.h: Cleanup namespace.  Define IF_NAMESIZE.
6307         * inet/netinet/in.h: Make IPPROTO_ constants also macros.
6309         * conform/conformtest.pl: Implement optional-type.
6311         * resolv/netdb.h: Include <netinet/in.h> not <sys/socket.h>.  Include
6312         <rpc/netdb.h> only if __USE_MISC.  Include <stdint.h> instead of
6313         defining uint32_t here.  Define IPPORT_RESERVED.
6314         (struct hostent): Type of h_length element is int.
6315         (getnameinfo): Type of flags parameter is unsigned int.
6316         * inet/getnameinfo.c (getnameinfo): flags argument is unsigned.
6317         * conform/data/netdb.h-data: Add many missing definitions.
6319         * conform/conformtest.pl: Implement optional-macro.
6320         * conform/data/math.h-data: Update for XPG6.
6322         * math/math.h (HUGE): Define as FLT_MAX value but don't use
6323         FLT_MAX.  Don't include <float.h>.
6324         (MAXFLOAT): Likewise.
6326         * math/math.h: Define MATH_ERRNO and MATH_ERREXCEPT.
6328         * include/bits/xopen_lim.h: Don't define FOPEN_MAX here.
6330         * conform/data/limits.h-data: Mark constants as optional wherever
6331         appropriate.
6333         * posix/bits/posix2_lim.h: Set correct values for
6334         _POSIX2_COLL_WEIGHTS_MAX and _POSIX2_CHARCLASS_NAME_MAX.  Remove
6335         EQUIV_CLASS_MAX.
6337         * posix/bits/posix1_lim.h: Define _POSIX_TZNAME_MAX as 6.
6338         Required by POSIX.
6340         * intl/loadmsgcat.c: Include <locale.h.> for _LIBC.
6342         * conform/data/netinet/in.h-data: Add reserved prefixes.
6344         * conform/data/arpa/inet.h-data: Fix a few typos.
6346 2001-01-26  Andreas Jaeger  <aj@suse.de>
6348         * sysdeps/generic/strtol.c: Include <locale.h>
6349         * stdlib/strtod.c: Likewise
6350         * stdlib/strfmon.c: Likewise.
6351         * string/strcoll.c: Likewise.
6352         * string/strxfrm.c: Likewise.
6353         * wctype/wcfuncs_l.c: Likewise.
6354         * wctype/wctype_l.c: Likewise.
6355         * wctype/wctrans_l.c: Likewise.
6357         * include/bits/locale.h: New file.
6359 2001-01-26  Ulrich Drepper  <drepper@redhat.com>
6361         * locale/langinfo.h: Correct logic in #ifs when defining YESSTR
6362         and NOSTR.
6364         * locale/Makefile (headers): Add bits/locale.h.
6365         * locale/langinfo.h: Don't include <locale.h>.  Include <bits/locale.h>
6366         and use __LC_ constants instead of LC_.
6367         * locale/locale.h: Include <bits/locale.h> and define LC_ constants
6368         using __LC_ constants.
6369         * locale/bits/locale.h: New file.
6370         * locale/loadlocale.c: Include <locale.h>.
6371         * locale/nl_langinfo.h: Likewise.
6373         * posix/glob.h: Cleanup namespace for non-_GNU_SOURCE case.
6375         * io/sys/stat.h: Define S_IFSOCK for XPG6.
6377         * conform/data/fcntl.h-data: posix_madvise is not expected here.
6379         * conform/conformtest.pl: Fix handling of macro-str.
6381         * conform/data/inttypes.h-data: Add missing definition and all of
6382         stdint.h-data.
6384         * sysdeps/unix/sysv/linux/sys/param.h (MAXSYMLINKS): Bump to 20.
6386 2001-01-25  Ulrich Drepper  <drepper@redhat.com>
6388         * conform/conformtest.pl (@headers): Add stdint.h.
6389         * conform/data/stdint.h-data: New file.
6391         * conform/conformtest.pl: Recognize options --headers and
6392         --dialect.  Add dialect-specific CFLAGS.
6394         * conform/conformtest.pl: Implement handling of recursive
6395         allow-header.
6397         * conform/data/locale.h-data: Add new struct lconv members.
6399         * posix/wordexp.h: Correct definition of wordexp_t.
6400         * posix/wordexp.c: Moved to ...
6401         * sysdeps/generic/wordexp.c: ...here.  New file.
6402         * sysdeps/unix/sysv/linux/alpha/wordexp.c: New file.
6403         * sysdeps/unix/sysv/linux/ia64/wordexp.c: New file.
6404         * sysdeps/unix/sysv/linux/sparc/sparc64/wordexp.c: New file.
6405         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.2.2): Add
6406         wordexp.
6407         * sysdeps/unix/sysv/linux/ia64/Versions: Likewise.
6408         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions: Likewise.
6410         * math/tgmath.h: Pretty printing.
6412         * math/Makefile (tests): Add test-tgmath.
6413         (CFLAGS-test-tgmath.c): New variable.
6414         * math/test-tgmath.c: New file.  Contributed by Jakub Jelinek.
6416         * conform/conformtest.pl: Handle allow-header in secondary headers
6417         correctly.
6419         * conform/data/fcntl.h-data: Mark symbols introduced in XPG6 with
6420         #ifdef.
6422         * conform/data/netinet/in.h-data: Use correct comment character.
6423         * conform/data/sys/stat.h-data: Likewise.
6425 2001-01-25  Jakub Jelinek  <jakub@redhat.com>
6427         * math/tgmath.h (__TGMATH_BINARY_FIRST_REAL_ONLY,
6428         __TGMATH_BINARY_REAL_ONLY, __TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY,
6429         __TGMATH_TERNARY_REAL_ONLY): Use proper arguments to
6430         __builtin_classify_type, add ##f suffixes where appropriate.
6431         (__TGMATH_UNARY_REAL_IMAG): Remove extraneous left parenthesis.
6432         (__TGMATH_BINARY_REAL_IMAG): Likewise, use proper arguments to
6433         __builtin_classify_type.
6434         (fma): Fix spelling of first argument.
6436 2001-01-25  Ulrich Drepper  <drepper@redhat.com>
6438         * conform/data/unistd.h-data: Mark functions removed in XPG6
6439         correctly.
6441         * posix/unistd.h: Don't make functions removed in XPG6 available if
6442         __USE_XOPEN2K.
6444         * conform/conformtest.pl: Implement optional-constant.
6445         * conform/data/unistd.h-data: Use optional-constant wherever
6446         appropriate.
6448         * sysdeps/generic/bits/confname.h: Correct names of _SC_PBS
6449         constants and add _SC_STREAMS.
6450         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
6452         * sysdeps/unix/sysv/linux/statvfs64.c: Rename to __statvfs64 and
6453         make old name weak alias.
6454         * sysdeps/generic/statvfs64.c: Likewise.
6455         * sysdeps/unix/sysv/linux/fstatvfs64.c: Rename to __fstatvfs64 and
6456         make old name weak alias.
6457         * sysdeps/generic/fstatvfs64.c: Likewise.
6458         * include/sys/statvfs.h: New file.
6460         * sysdeps/generic/bits/confname.h: Define _PC_REC_INCR_XFER_SIZE,
6461         _PC_REC_MAX_XFER_SIZE, _PC_REC_MIN_XFER_SIZE, and
6462         _PC_REC_XFER_ALIGN.
6463         * sysdeps/posix/pathconf.c (__pathconf): Implement handling of
6464         _PC_REC_INCR_XFER_SIZE, _PC_REC_MAX_XFER_SIZE,
6465         _PC_REC_MIN_XFER_SIZE, and _PC_REC_XFER_ALIGN.
6466         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
6468         * conform/conformtest.pl: Run Unix tests for XPG6.
6469         Implement handling of known namespace violations.
6470         Improve printing of results.
6472         * posix/unistd.h (usleep): Correct return type.
6473         * sysdeps/unix/sysv/linux/usleep.c: Correct return type.
6474         * sysdeps/unix/bsd/usleep.c: Correct return type.
6475         * sysdeps/mach/usleep.c: Correct return type.
6476         * sysdeps/generic/usleep.c: Correct return type.
6478         * posix/unistd.h (sync): Correct return type.
6479         * sysdeps/generic/sync.c: Likewise.
6480         * sysdeps/mach/hurd/sync.c: Likewise.
6482         * sysdeps/generic/bits/confname.h (_SC_IOV_MAX): New definition.
6484         * posix/unistd.h: Make seteuid and setegid available for XPG6.
6486         * wcsmbs/wchar.h: Get FILE definition for XPG5.
6488         * conform/data/ctype.h-data: Use correct comment form.
6489         * conform/data/errno.h-data: Likewise.
6490         * conform/data/math.h-data: Likewise.
6491         * conform/data/mqueue.h-data: Likewise.
6492         * conform/data/netdb.h-data: Likewise.
6493         * conform/data/pthread.h-data: Likewise.
6495 2001-01-24  Ulrich Drepper  <drepper@redhat.com>
6497         * conform/data/wordexp.h-data: Fix typo.
6499         * conform/conformtest.pl: Handle allow-header correctly.
6501         * conform/data/time.h-data: Use correct comment form.
6503         * conform/conformtest.pl (checknamespace): Ignore #undef lines.
6505         * configure.in: Comment out binutils version test.
6507         * stdlib/strtod.c (str_to_mpn): Correct parsing of thousands
6508         separators.
6509         Reported by Lagardere Jean-Francois <LAGARDEREJ@thmulti.com>.
6511         * stdlib/tst-strtod.c (locale_test): New function.
6512         (main): Call locale_test.
6513         * stdlib/Makefile (tst-strtod-ENV): New variable.
6515 2001-01-24  Mark Kettenis  <kettenis@gnu.org>
6517         * hurd/hurdsig.c (_hurdsig_getenv): Remove spurious innermost
6518         declaration of value such that we actually return the value of the
6519         environment variable.
6521 2001-01-24  Andreas Jaeger  <aj@suse.de>
6523         * sysdeps/unix/sysv/linux/init-first.c: Remove extra __sysctl
6524         prototype.
6525         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
6527         * include/sys/sysctl.h: New file.
6529 2001-01-23  Andreas Jaeger  <aj@suse.de>
6531         * stdlib/Makefile ($(objpfx)isomac.out): Also pass sysincludes to
6532         isomac.
6534         * elf/dl-load.c (_dl_init_paths): Don't use strdupa in function
6535         arguments.  Reported by Jiri Kubicek <kubicek@bitsmart.com>,
6536         closes PR libc/2039.
6538         * manual/install.texi (Tools for Compilation): Change required
6539         binutils version.
6541 2001-01-22  Andreas Jaeger  <aj@suse.de>
6543         * configure.in: Add test for new enough binutils version, move
6544         compiler/binutils test up.
6546         * Versions.def: Add version GLIBC_2.2.2.
6548 2001-01-21  Ulrich Drepper  <drepper@redhat.com>
6550         * iconvdata/TESTS: UTF-8 test data for IBM932 and IBM943 are now
6551         available.
6552         * iconvdata/testdata/IBM932: New file.
6553         * iconvdata/testdata/IBM932..UTF8: New file.
6554         * iconvdata/testdata/IBM943: New file.
6555         * iconvdata/testdata/IBM943..UTF8: New file.
6556         Contributed by Masahide Washizawa <washi@jp.ibm.com>.
6558 2001-01-21  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
6560         * sysdeps/unix/sysv/linux/powerpc/mmap64.c: Correctly mask offset.
6562 2001-01-21  Ulrich Drepper  <drepper@redhat.com>
6564         * malloc/malloc.c: Remove a few unnecessary initializers of global
6565         variables.
6567 2000-12-09  H.J. Lu  <hjl@gnu.org>
6569         * nss/Makefile (routines): Add digits_dots.
6570         * nss/Versions (libc): Add __nss_hostname_digits_dots to GLIBC_2.2.2.
6571         * nss/digits_dots.c (__nss_hostname_digits_dots): Turn template
6572         into a function.
6573         * nss/nsswitch.h (__nss_hostname_digits_dots): New internal NSS
6574         function.
6575         * nss/getXXbyYY.c (H_ERRNO_VAR_P): New definition.
6576         (TYPE_VAR_P): Likewise.
6577         (FLAGS_VAR): Likewise.
6578         (AF_VAR_P): Likewise.
6579         (INTERNAL (REENTRANT_NAME)): Call __nss_hostname_digits_dots ()
6580         instead of including digits_dots.c.
6581         * nss/getXXbyYY_r.c (H_ERRNO_VAR_P): New definition.
6582         (TYPE_VAR_P): Likewise.
6583         (FLAGS_VAR): Likewise.
6584         (AF_VAR_P): Likewise.
6585         (INTERNAL (REENTRANT_NAME)): Call __nss_hostname_digits_dots ()
6586         instead of including digits_dots.c.
6588 2001-01-21  Ulrich Drepper  <drepper@redhat.com>
6590         * sysdeps/posix/getaddrinfo.c: Reduce .data size.
6592 2001-01-21  Andreas Jaeger  <aj@suse.de>
6594         * elf/constload2.c: Add prototype for init.
6596 2001-01-21  Ulrich Drepper  <drepper@redhat.com>
6598         * stdlib/stdlib.h (drand48_data): Make available only for
6599         __USE_MISC.  Rename elements to protect namespace.  Change type
6600         and position of a and init element.
6601         * stdlib/drand48-iter.c: Don't handle unsigned short > 16 bit
6602         differently.  Adjust for drand48_data change.  Don't compute a here,
6603         it comes from drand48_data.
6604         * stdlib/lcong48_r.c: Don't handle unsigned short > 16 bit
6605         differently.  Adjust for drand48_data change.  Compute a here.
6606         * stdlib/srand48_r.c: Likewise.
6607         * stdlib/drand48.c: Adjust for drand48_data change.
6608         * stdlib/lrand48.c: Likewise.
6609         * stdlib/mrand48.c: Likewise.
6610         * stdlib/seek48.c: Likewise.
6611         * stdlib/drand48_r.c: Likewise.
6612         * stdlib/lrand48_r.c: Likewise.
6613         * stdlib/mrand48_r.c: Likewise.
6614         * stdlib/seed48_r.c: Likewise.  Don't handle unsigned short > 16 bit
6615         differently.
6616         * stdlib/erand48_r.c: Don't handle unsigned short > 16 bit differently.
6617         * stdlib/jrand48_r.c: Likewise.
6619         * po/sv.po: Update from translation team.
6621 2001-01-21  Andreas Jaeger  <aj@suse.de>
6623         * stdio-common/vfprintf.c (vfprintf): Add casts.
6625 2001-01-20  Ulrich Drepper  <drepper@redhat.com>
6627         * iconvdata/run-iconv-test.sh: Reorgnize a bit to allow running only
6628         the ASCII test.
6629         * iconvdata/TESTS: Add entries for IBM932 and IBM943.
6631         * iconvdata/Makefile (modules): Add IBM932 and IBM943.
6632         * iconvdata/gconv-modules: Add entries for IBM932 and IBM943.
6633         * iconvdata/ibm932.c: New file.
6634         * iconvdata/ibm932.h: New file.
6635         * iconvdata/ibm943.c: New file.
6636         * iconvdata/ibm943.h: New file.
6637         Patches by Masahide Washizawa <washi@jp.ibm.com>.
6639         * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Fix typo
6640         preventing optimization from being done.  Set the correct type bit
6641         in seen.  Don't define and use _dl_base_addr unless
6642         NEED_DL_BASE_ADDR is defined.
6644         * io/ftw.c (ftw_dir): Add slash after directory name if there
6645         wasn't any.  Reported by loris <loris@iol.it>.
6646         * io/Makefile (tests): Add bug-ftw2.
6647         * io/bug-ftw2.c: New file.
6649 2001-01-19  Ulrich Drepper  <drepper@redhat.com>
6651         * stdlib/jrand48_r.c (__jrand48_r): Correct constructing of
6652         results.  Reported by Jeff Higham <jhigham@algorithmics.com>.
6653         * stdlib/tst-rand48.c: New file.
6654         * stdlib/Makefile (tests): Add tst-rand48.
6656         * locale/newlocale.c (__newlocale): Fix test for setting all
6657         categories.
6659 2001-01-19  Mark Kettenis  <kettenis@gnu.org>
6661         * sysdeps/mach/hurd/chroot.c (chroot): Revert 1999-02-27 changes,
6662         but change looking up the initial directory port in a similar way
6663         as done by _hurd_change_directory_port_from_name.
6664         * hurd/fchroot.c (fchroot): Likewise.
6666 2001-01-18  Ulrich Drepper  <drepper@redhat.com>
6668         * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): If HAVE_AUX_XID is
6669         defined don't look whether the AT_*ID values were set.
6670         If HAVE_AUX_PAGESIZE is defined don't look whether the pagesize is set.
6671         (_dl_show_auxv): Rewrite to avoid switch statement.
6672         * sysdeps/unix/sysv/linux/kernel-features.h: Define
6673         __ASSUME_AT_PAGESIZE for kernel >= 2.4.1.
6674         * sysdeps/unix/sysv/linux/ldsodefs.h: Define HAVE_AUX_XID.
6675         Define HAVE_AUX_PAGESIZE if __ASSUME_AT_PAGESIZE is defined.
6677         * sysdeps/unix/sysv/linux/fxstat64.c: Add one __builtin_expect.
6678         * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
6679         * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
6681         * elf/rtld.c (process_envvars): Call __strtoul_internal instead of
6682         strtoul.
6683         * elf/dl-minimal.c (strtol, __strtol_internal, strtoul): Removed.
6684         (__sigjmp_save): Set __mask_was_saved to zero since we don't save
6685         anything.
6686         * dlfcn/eval.c (__strtol_internal): Define here.
6687         (eval): Use __strtol_internal instead of strtol.
6689         * elf/elf.h: Add a few more EF_MIPS_* constants.
6691 2001-01-17  Ulrich Drepper  <drepper@redhat.com>
6693         * manual/Makefile (chapters): Add debug.
6694         * manual/debug.texi: New file.
6695         * manual/examples/execinfo.c: New file.
6696         Patch by suckfish@ihug.co.nz.
6698 2001-01-17  Andreas Schwab  <schwab@suse.de>
6700         * sysdeps/m68k/bits/byteswap.h (__bswap_32): Add cast to avoid
6701         invalid asm.
6703 2001-01-17  Andreas Jaeger  <aj@suse.de>
6705         * nscd/connections.c (nscd_run): Use proper format specifier.
6707 2001-01-16  Ulrich Drepper  <drepper@redhat.com>
6709         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Move x86_cap_flags and
6710         x86_platforms data into new file after prepending _dl_.  Change
6711         users.
6712         * sysdeps/unix/sysv/linux/i386/dl-procinfo.c: New file.
6713         * sysdeps/unix/sysv/linux/i386/Dist: Add dl-procinfo.c.
6714         * sysdeps/unix/sysv/linux/i386/Makefile: Add rules to build
6715         dl-procinfo.c.
6717         * setjmp/setjmp.h: Cleanup definition of setjmp macro.
6719         * sysdeps/i386/elf/bsd-setjmp.S: Real implementation.
6720         * sysdeps/i386/elf/bsd-_setjmp.S: Removed.
6721         * sysdeps/i386/elf/setjmp.S (setjmp): Removed here.
6722         (_setjmp): Likewise.
6723         * sysdeps/i386/bsd-_setjmp.S: Real implementation.
6724         * sysdeps/i386/bsd-setjmp.S: Real implementation.
6725         * sysdeps/i386/bits/setjmp.h: Remove PUSH_SIGNAL_MASK definition.
6726         * sysdeps/i386/setjmp.S: Remove PIC support.  This is the non-ELF
6727         version.
6729 2001-01-16  Andreas Jaeger  <aj@suse.de>
6731         * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h (SIGCONTEXT): Fix
6732         misapplied last patch.
6734 2001-01-15  Ulrich Drepper  <drepper@redhat.com>
6736         * stdlib/random.c (__initstate): Clean up a cast.
6737         (__setstate): Likewise.
6739         * sysdeps/unix/sysv/linux/mips/syscalls.list: Remove select
6740         syscall handling.  The generic Linux version should work.
6742 2001-01-15  Andreas Jaeger  <aj@suse.de>
6744         * sysdeps/unix/sysv/linux/sys/sendfile.h: Fix typo.
6746         * stdio-common/tstscanf.c (main): Add two testcases for '*' modifier.
6748 2001-01-14  Jakub Jelinek  <jakub@redhat.com>
6750         * nss/getent.c (print_aliases, aliases_keys, ethers_keys,
6751         netgroup_keys, print_rpc, rpc_keys, print_shadow, shadow_keys):
6752         New functions.
6753         (group_keys, hosts_keys, network_keys, passwd_keys, protocols_keys):
6754         If number is 0, list all.
6755         (services_keys): Likewise.  Lookup aliases as well.
6756         (databases): New table.
6757         (build_doc): Prepare argp doc text with list of supported databases.
6758         (main): Change to table driven processing.
6760 2001-01-14  Thorsten Kukuk <kukuk@suse.de>
6762         * sunrpc/xdr.c (xdr_long, xdr_u_long): Fix comments about these
6763         functions.
6765 2001-01-03  Jakub Jelinek  <jakub@redhat.com>
6767         * sunrpc/xdr.c (xdr_long, xdr_u_long): Return FALSE if trying to
6768         encode value which does not fit in the 32bit type.
6770 2001-01-15  Hiroyuki Machida <machida@sm.sony.co.jp>
6772         * sysdeps/unix/sysv/linux/mips/register-dump.h (REGISTER_DUMP):
6773         Change type of CTX to (struct sigcontext *).
6774         * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h (GET_PC): Likewise.
6775         (GET_FRAME): Likewise.
6776         (GET_STACK): Likewise.
6777         (SIGCONTEXT): Likewise.  Add 2nd arg _code.
6778         (SIGCONTEXT_EXTRA_ARGS): Add 2nd arg _code.
6780 2001-01-13  Ulrich Drepper  <drepper@redhat.com>
6782         * manual/texinfo.tex: Update from upstream version.
6784 2001-01-13  Jakub Jelinek  <jakub@redhat.com>
6786         * inet/ether_ntoh.c (lookup_function): Change arguments to match
6787         _nss_*_getntohost_r prototype.
6788         (ether_ntohost): Pass errno pointer to NSS function.
6790 2001-01-12  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
6792         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MS_SYNC): Fix value.
6793         (MAP_LOCKED): New definition.
6794         (MAP_NORESERVE): New definition.
6796 2001-01-12  Ulrich Drepper  <drepper@redhat.com>
6798         * assert/assert.h: Use static_cast instead of C-style cast for C++.
6799         Patch by Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>.
6801 2001-01-12  Ben Collins  <bcollins@debian.org>
6803         * sysdeps/generic/segfault.c (install_handler): Use access, not
6804         __access.
6806 2001-01-12  Andreas Jaeger  <aj@suse.de>
6808         * posix/fnmatch_loop.c (FCT): Remove signed warnings.
6809         * posix/wordexp.c (do_parse_glob): Likewise.
6810         * sysdeps/posix/sigblock.c (__sigblock): Likewise.
6811         * sysdeps/posix/sigsetmask.c (__sigsetmask): Likewise.
6812         * elf/dl-open.c (_dl_open): Likewise.
6813         * elf/dl-close.c (_dl_close): Likewise.
6814         * elf/dl-load.c (_dl_map_object): Likewise.
6815         * iconv/iconv_prog.c (process_fd): Likewise.
6816         * stdio-common/vfscanf.c (_IO_vfscanf): Likewise.
6818         * locale/localeinfo.h (struct locale_data): Use __flexarr instead
6819         of a zero-length array.
6821 2001-01-11  Jakub Jelinek  <jakub@redhat.com>
6823         * stdlib/cxa_atexit.c (__cxa_atexit): Cast to (void *, int) func.
6824         * stdlib/cxa_finalize.c (__cxa_finalize): Add hidden second argument.
6825         * stdlib/cxa_on_exit.c: Remove.
6826         * stdlib/Makefile: Revert last patch.
6827         * stdlib/Versions: Likewise.
6828         * include/stdlib.h: Likewise.
6829         * stdlib/exit.h: Revert last patch.
6830         (struct exit_function): Add second argument to cxa fn.
6831         * stdlib/exit.c: Revert last patch.
6832         (exit): Add hidden second argument.
6834 2001-01-11  H.J. Lu  <hjl@gnu.org>
6836         * elf/dl-libc.c (do_dlopen): Move DL_STATIC_INIT to ...
6837         * elf/dl-open.c (_dl_open): Here.
6838         * sysdeps/unix/sysv/linux/ia64/dl-static.c (_dl_static_lock):
6839         Make it static.
6840         (_dl_static_init): Initialize the variables every time when possible.
6841         * sysdeps/unix/sysv/linux/ia64/ldsodefs.h (DL_STATIC_INIT):
6842         Undefine it first.
6844 2001-01-11  Ulrich Drepper  <drepper@redhat.com>
6846         * stdlib/Makefile (routines): Add cxa_on_exit.
6847         * stdlib/Versions [libc] (GLIBC_2.2.1): Add __cxa_on_exit.
6848         * stdlib/cxa_on_exit.c: New file.
6849         * include/stdlib.h: Add prototype for __cxa_on_exit.
6850         * stdlib/exit.c: Handle ef_cxa2.
6851         * stdlib/exit.h (enum): Add ef_cxa2.
6852         (struct exit_function): Add cxa2.
6854         * Versions.def [ld]: Add GLIBC_2.2.1.
6856 2001-01-10  H.J. Lu  <hjl@gnu.org>
6858         * elf/dl-libc.c (do_dlopen): Call DL_STATIC_INIT for static binaries.
6859         * sysdeps/unix/sysv/linux/ia64/Makefile (sysdep-dl-routines): Add
6860         dl-static.
6861         * sysdeps/unix/sysv/linux/ia64/Versions (ld): Add _dl_var_init.
6862         * sysdeps/generic/ldsodefs.h (DL_STATIC_INIT): Defined if not defined.
6863         * sysdeps/unix/sysv/linux/ia64/ldsodefs.h: New file.
6864         * sysdeps/unix/sysv/linux/ia64/dl-static.c: New file.
6865         * sysdeps/unix/sysv/linux/ia64/Dist: Add dl-static.c.
6867 2001-01-11  Ulrich Drepper  <drepper@redhat.com>
6869         * libio/stdio.h: Remove definition of off_t.
6871 2001-01-11  Andreas Jaeger  <aj@suse.de>
6873         * wcsmbs/tst-mbrtowc.c (utf8_test): New function by Markus Kuhn
6874         <mkuhn@acm.org>.
6876 2001-01-10  Ulrich Drepper  <drepper@redhat.com>
6878         * sunrpc/Makefile (distribute): Add errqueue.h.
6880 2001-01-10  H.J. Lu  <hjl@gnu.org>
6882         * sysdeps/ia64/dl-machine.h (TRAMPOLINE_TEMPLATE): Also preserve
6883         r9, r10 and r11 for language specific registers.
6885 2001-01-10  Jakub Jelinek  <jakub@redhat.com>
6887         * sunrpc/clnt_udp.c (clntudp_bufcreate): Set IP_RECVERR on the
6888         UDP socket.
6889         (clntudp_call): Handle MSG_ERRQUEUE.
6890         * sysdeps/generic/errqueue.h: New file.
6891         * sysdeps/unix/sysv/linux/errqueue.h: New file.
6893 2001-01-10  H.J. Lu  <hjl@gnu.org>
6895         * sysdeps/unix/sysv/linux/ia64/syscalls.list (s_getpagesize): Removed.
6897 2001-01-10  Joseph S. Myers  <jsm28@cam.ac.uk>
6899         * CONFORMANCE: Update.
6901 2001-01-09  Ulrich Drepper  <drepper@redhat.com>
6903         * sysdeps/generic/elf/backtracesyms.c (__backtrace_symbols):
6904         Minimal cleanups.  Add assert to ensure memory handling is correct.
6906         * manual/conf.texi (File Minimums): Fix _POSIX_PATH_MAX value.
6907         Reported by Ben Collins <bcollins@debian.org>.
6909         * time/strftime.c (my_strftime): Mark previous GNU extensions
6910         which are now in C99 as such.
6912 2001-01-08  Ulrich Drepper  <drepper@redhat.com>
6914         * elf/rtld.c (process_envvars): Place output files for profiling
6915         in SUID binaries in /var/profile.
6917         * elf/dl-load.c (_dl_map_object): Don't look in cache for
6918         preloading in SUID binaries.
6920         * elf/dl-profile.c (_dl_start_profile): Open the output file with
6921         O_NOFOLLOW if possible.
6923         * include/stdlib.h: Add __posix_openpt declaration.
6924         * stdlib/stdlib.h: Add posix_openpt declaration.
6925         * login/Versions: Add posix_openpt for GLIBC_2.2.1.
6926         * sysdeps/generic/getpt.c: Define posix_openpt.
6927         * sysdeps/unix/bsd/getpt.c: Likewise.
6928         * sysdeps/unix/sysv/linux/getpt.c: Likewise.
6930         * time/Makefile (tests): Add tst-mktime.
6931         * time/tst-mktime.c: New file.
6933         * posix/tst-dir.c (main): One more mkdir() test.
6935         * sysdeps/unix/sysv/linux/ia64/getpagesize.c (__getpagesize):
6936         Remove getpagesize syscall.  We assume that the pagesize is always
6937         determined from the auxiliary vector.
6939         * intl/dcigettext.c: Fix a few warnings.
6940         Patch by Bruno Haible <haible@ilog.fr>.
6942 2001-01-08  Andreas Jaeger  <aj@suse.de>
6944         * io/test-lfs.c (do_test): Check lseek64 return for EINVAL.
6945         Reported by Joseph S. Myers <jsm28@cam.ac.uk>.
6947 2001-01-08  Ulrich Drepper  <drepper@redhat.com>
6949         * sysdeps/generic/segfault.c (install_handler): Check output file
6950         name with access().
6952         * resolv/res_query.c: Use simply getenv() for HOSTALIASES.
6953         * sysdeps/generic/unsecvars.h (UNSECURE_ENVVARS): Add HOSTALIASES.
6955         * sysdeps/generic/unsecvars.h (UNSECURE_ENVVARS): Add missing comma.
6957         * malloc/memusage.c (me): Use access() to determine whether we
6958         should write the output file or not.
6960         * libio/bits/stdio.h (printf): Define macro to map printf call to
6961         fprintf which gcc can optimize.
6962         * stdio-common/printf.c: Undefine printf.
6964 2001-01-07  Ulrich Drepper  <drepper@redhat.com>
6966         * sysdeps/generic/bits/byteswap.h (__bswap_64): Partly revert last
6967         patch.  We must use unsigned int for l member of union.
6969         * sysdeps/powerpc/elf/libc-start.c (__libc_start_main): Don't call
6970         _dl_aux_init for shared libraries.
6972         * sysdeps/unix/sysv/linux/glob64.c: Moved to ...
6973         * sysdeps/gnu/glob64.c: ...here.  New file.
6975 2001-01-07  Ben Collins  <bcollins@debian.org>
6977         * manual/examples/longopt.c: Make the "struct option" a little
6978         more like it should be, adding usage of required_argument,
6979         noargument and such, and also setting the options string right.
6981         * manual/sysinfo.texi (Load Average): New section, documents
6982         getloadavg().
6984 2001-01-06  Ulrich Drepper  <drepper@redhat.com>
6986         * version.h (VERSION): Bump to 2.2.1.
6988         * sysdeps/unix/sysv/linux/mips/Dist: Remove sys/acct.h.
6989         * sysdeps/alpha/Dist: Add alphaev6/stxncpy.S and alphaev6/stxcpy.S.
6990         * sysdeps/unix/sysv/aix/Dist: Add uitrunc.c, savef.S, and restf.S.
6991         * dlfcn/Makefile (distribute): Add errmsg1mod.c.
6992         * Makefile (distribute): Add include/libc-internal.h.
6993         * libio/Makefile (distribute): Avoid overwriting.
6995         * iconvdata/ibm937.c (BODY to IBM937): Correct several mistakes in
6996         buffer and table handling.
6998 2001-01-05  H.J. Lu  <hjl@gnu.org>
7000         * elf/dl-support.c (non_dynamic_init): Move the auxiliary
7001         vector checking to ...
7002         (_dl_aux_init): Here.  New function.  Defined only if
7003         HAVE_AUX_VECTOR is defined.
7005         * sysdeps/generic/libc-start.c (__libc_start_main): Call
7006         _dl_aux_init for static binaries if HAVE_AUX_VECTOR is defined.
7008         * sysdeps/powerpc/elf/libc-start.c (__libc_start_main): Call
7009         _dl_aux_init.
7011         * sysdeps/unix/sysv/linux/ldsodefs.h (DL_FIND_AUXV): Removed.
7012         (HAVE_AUX_VECTOR): Defined.
7013         (_dl_aux_init): Declared.
7015 2001-01-05  Ben Collins  <bcollins@debian.org>
7017         * manual/string.texi (Finding Tokens in a String): Document XPG
7018         basename() and dirname(), as well as GNU basename().
7020 2001-01-05  Jakub Jelinek  <jakub@redhat.com>
7022         * Makeconfig (preprocess-version): Replace -traditional with
7023         -x assembler-with-cpp.
7025 2001-01-05  Joseph S. Myers  <jsm28@cam.ac.uk>
7027         * math/bits/cmathcalls.h: Don't define inline cimag, creal or conj
7028         for GCC 2.97 or later.
7030 2001-01-05  Ben Collins  <bcollins@debian.org>
7032         * manual/stdio.texi (getline): Clarify the return value in the
7033         case of EOF being reached before a newline.
7035 2001-01-04  Jakub Jelinek  <jakub@redhat.com>
7037         * sunrpc/pmap_clnt.c (__get_myaddress): Return TRUE if successful,
7038         FALSE otherwise.
7039         (pmap_set, pmap_unset): Check __get_myaddress return value.
7041 2001-01-05  Mark Kettenis  <kettenis@gnu.org>
7043         * sysdeps/generic/netinet/if_ether.h: Include <sys/types.h>.
7044         (struct ether_addr): Declare ether_addr_octet member as
7045         `u_int8_t'.  Add __attribute__ ((__packed__)).
7047 2001-01-06  Mark Kettenis  <kettenis@gnu.org>
7049         * sysdeps/mach/hurd/readdir64.c: New file.
7050         * sysdeps/mach/hurd/readdir64_r.c: New file.
7052 2001-01-07  Mark Kettenis  <kettenis@gnu.org>
7054         * sysdeps/mach/hurd/fstatvfs.c (fstatvfs): Add comment about
7055         `struct statfs' and `struct statvfs' being identical.
7056         * sysdeps/mach/hurd/statvfs.c (statvfs): Likewise.
7058 2001-01-06  Mark Kettenis  <kettenis@gnu.org>
7060         * sysdeps/mach/hurd/fstatfs64.c: New file.
7061         * sysdeps/mach/hurd/fstatvfs64.c: New file.
7062         * sysdeps/mach/hurd/statfs64.c: New file.
7063         * sysdeps/mach/hurd/statvfs64.c: New file.
7064         * sysdeps/mach/hurd/statfsconv.c: New file.
7065         * sysdeps/mach/hurd/Dist: Add statfsconv.c.
7067 2001-01-06  Ulrich Drepper  <drepper@redhat.com>
7069         * iconv/skeleton.c: Reset outbuf for next round of the loop.
7070         Reported by Owen Taylor <otaylor@redhat.com>.
7071         * iconv/Makefile (tests): Add tst-iconv3.
7072         * iconv/tst-iconv3.c: New file.
7074         * iconvdata/ibm930.c: Fix handling of state.  Optimize a bit.
7075         * iconvdata/ibm933.c: Likewise.
7076         * iconvdata/ibm935.c: Likewise.
7077         * iconvdata/ibm937.c: Likewise.
7078         * iconvdata/ibm939.c: Likewise.
7079         * iconvdata/ibm930.h: Adjust single byte table for optimization.
7080         * iconvdata/ibm933.h: Likewise.
7081         * iconvdata/ibm935.h: Likewise.
7082         * iconvdata/ibm939.h: Likewise.
7084         * iconvdata/testdata/IBM930: Add misssing SI.
7085         * iconvdata/testdata/IBM933: Likewise.
7086         * iconvdata/testdata/IBM935: Likewise.
7087         * iconvdata/testdata/IBM937: Likewise.
7088         * iconvdata/testdata/IBM939: Likewise.
7090 2001-01-06  Andreas Jaeger  <aj@suse.de>
7092         * configure.in: Check for old add-ons that shouldn't be used with
7093         current glibc anymore.
7095 2001-01-06  Mark Kettenis  <kettenis@gnu.org>
7097         * sysdeps/mach/hurd/readdir_r.c (__readdir_r): Return error number
7098         instead of -1 on failure.  Don't forget to copy file name into
7099         *ENTRY if successful.  Set *RESULT to NULL upon reaching the end
7100         of the directory.
7102 2001-01-06  Mark Kettenis  <kettenis@gnu.org>
7104         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Don't forget to
7105         copy st_atime member.
7107 2001-01-05  Ulrich Drepper  <drepper@redhat.com>
7109         * io/ftw.c (ftw_dir): Don't add a second slash at the beginning
7110         for searches from the root directory.
7111         Reported by loris <loris@iol.it> [PR libc/1991].
7112         * io/Makefile (tests): Add bug-ftw1.
7113         * io/bug-ftw1.c: New file.
7115         * elf/dl-support.c (non_dynamic_init): Don't define DL_FIND_AUXV
7116         if it is not available.  Instead use it only if it is available.
7117         * sysdeps/unix/sysv/linux/ldsodefs.h: New file.
7119         * iconv/gconv_simple.c (internal_ics4_loop): Correct test for
7120         overflowing output buffer.
7121         (internal_ucs4_loop_unaligned): Likewise.
7122         (ucs4_internal_loop): Likewise.
7123         (ucs4_internal_loop_unaligned): Likewise.
7124         (internal_ucs4le_loop): Likewise.
7125         (internal_ucs4le_loop_unaligned): Likewise.
7126         (ucs4le_internal_loop): Likewise.
7127         (ucs4le_internal_loop_unaligned): Likewise.
7128         Reported by Owen Taylor <otaylor@redhat.com>.
7129         * iconv/Makefile (tests): Add tst-iconv2.
7130         * iconv/tst-iconv2.c: New file.
7132 2001-01-04  H.J. Lu  <hjl@gnu.org>
7134         * elf/dl-support.c (DL_FIND_AUXV): New.  Defined if not defined.
7135         (_dl_clktck): Declared.
7136         (non_dynamic_init): Take 3 arguments.
7137         Set _dl_pagesize, _dl_platform and _dl_clktck from AUX.
7139 2001-01-01  Bruno Haible  <haible@clisp.cons.org>
7141         Finish implementation of plural form handling.
7142         * intl/dcigettext.c (known_translation_t): Rename 'domain' field to
7143         'domainname'.  Remove 'plindex' field.  Add 'domain' and
7144         'translation_length' fields.
7145         (transcmp): Don't compare 'plindex' fields.
7146         (plural_lookup): New function.
7147         (DCIGETTEXT): Change cache handing in the plural case.  Don't call
7148         plural_eval before the translation and its catalog file have been
7149         found.  Remove plindex from cache key.  Add 'translation_length' and
7150         'domain' to cache result.
7151         (_nl_find_msg): Remove index argument, return length of translation
7152         to the caller instead.  Weaken comparison of string lengths, to account
7153         for plural entries.  Call iconv() on the entire result string, not
7154         only on the portion needed so far.
7155         * intl/loadinfo.h (_nl_find_msg): Remove index argument, add lengthp
7156         argument.
7157         * intl/loadmsgcat.c (_nl_load_domain): Adapt to _nl_find_msg change.
7159 2001-01-04  Ulrich Drepper  <drepper@redhat.com>
7161         * intl/plural.y (yylex): Minimal improvement in number scanner.
7163 2000-07-31  Bruno Haible  <haible@clisp.cons.org>
7165         * intl/plural.y: Include config.h.  Needed to define 'inline' away for
7166         C compilers that don't support it.
7167         (yylex): Don't use gcc specific case range syntax.
7168         * intl/loadmsgcat.c (INIT_GERMANIC_PLURAL): New macro, for old
7169         compilers.
7171 2000-10-12  Bruno Haible  <haible@clisp.cons.org>
7173         * intl/finddomain.c: Remove unneeded includes.
7175 2000-10-12  Bruno Haible  <haible@clisp.cons.org>
7177         * intl/localealias.c (memcpy): Return first argument, just like the
7178         real memcpy function does.
7179         * intl/bindtextdom.c (memcpy): Likewise.
7180         * intl/finddomain.c (memcpy): Likewise.
7181         * intl/l10nflist.c (memcpy): Likewise.
7182         * intl/textdomain.c (memcpy): Likewise.
7183         From Paul Eggert <eggert@twinsun.com>.
7185 2001-01-03  Jakub Jelinek  <jakub@redhat.com>
7187         * resolv/resolv.h (struct __res_state): Add nsinit field.
7188         * resolv/res_send.c (res_nsend): Use it instead of nscount.
7189         * resolv/res_init.c (__res_vinit): Initialize it.
7190         (res_nclose): Clear it instead of nscount.
7192 2001-01-04  Ulrich Drepper  <drepper@redhat.com>
7194         * malloc/mtrace.pl: Fix matching of addresses.
7195         Patch by Aharon Robbins <arnold@skeeve.com>.
7197         * Versions.def (ld): Add GLIBC_2.2.
7199         * catgets/gencat.c: Copyright 2001.
7200         * csu/version.c: Likewise.
7201         * debug/catchsegv.sh: Likewise.
7202         * debug/xtrace.sh: Likewise.
7203         * elf/ldconfig.c: Likewise.
7204         * elf/sprof.c: Likewise.
7205         * iconv/iconv_prog.c: Likewise.
7206         * locale/locale.c: Likewise.
7207         * locale/localedef.c: Likewise.
7208         * malloc/memusage.sh: Likewise.
7209         * malloc/mtrace.pl: Likewise.
7210         * nscd/nscd.c: Likewise.
7211         * posix/getconf.c: Likewise.
7213 2001-01-04  Mark Kettenis  <kettenis@gnu.org>
7215         * include/stdio.h: Only provide __getwc_unlocked prototype if
7216         USE_IN_LIBIO is defined.
7218 2001-01-04  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
7220         * sysdeps/unix/sysv/linux/sh/socket.S (__socket): Fix error code
7221         handling.
7223 2001-01-03  Andreas Schwab  <schwab@suse.de>
7225         * sysdeps/generic/strtoll.c: Remove unused __strtoq_internal alias.
7226         * sysdeps/generic/strtoull.c: Remove unused __strtouq_internal alias.
7228         * sysdeps/wordsize-64/strtol.c: Add strtoq alias and fix strtoll alias.
7229         * sysdeps/wordsize-64/strtoul.c: Add strtouq alias and fix
7230         strtoull alias.
7231         * sysdeps/wordsize-64/wcstol.c: Add wcstoq alias and fix wcstoll alias.
7232         * sysdeps/wordsize-64/wcstoul.c: Add wcstouq alias and fix
7233         wcstoull alias.
7235         * sysdeps/generic/strtoul.c: Make sure we find strtol.c in this
7236         directory.
7237         * sysdeps/generic/strtol_l.c: Likewise.
7238         * sysdeps/generic/strtoul_l.c: Likewise.
7239         * sysdeps/generic/wcstoul.c: Likewise, for wcstol.c.
7241         * sysdeps/wordsize-64/strtol_l.c: Fix alias.
7242         * sysdeps/wordsize-64/strtoul_l.c: Likewise.
7243         * sysdeps/wordsize-64/wcstol_l.c: Fix alias.
7244         * sysdeps/wordsize-64/wcstoul_l.c: Likewise.
7246 2001-01-04  Andreas Jaeger  <aj@suse.de>
7248         * nss/nsswitch.c: Include files for missing prototypes, remove
7249         buggy declaration of prototypes.
7251 2001-01-03  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
7253         * resolv/Versions: Fix bracing.
7254         * sysdeps/powerpc/soft-fp/Versions: Likewise.
7255         * sysdeps/sparc/sparc64/soft-fp/Versions: Likewise.
7257 2001-01-02  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
7259         * sysdeps/powerpc/dl-machine.c (__process_machine_rela): Fix typo.
7261 2001-01-02  Ulrich Drepper  <drepper@redhat.com>
7263         * manual/Makefile (TEXI2PDF): Change to texi2dvi --pdf.
7264         Suggested by Minko Markov <mmarkov@home.com>.
7266 2001-01-02  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
7268         * sysdeps/powerpc/elf/start.S (__data_start): Make it global.
7269         * sysdeps/powerpc/dl-machine.c (dl_reloc_overflow): Print the name of
7270         the failing symbol.
7271         (__process_machine_rela): Pass symbol to dl_reloc_overflow().
7273 2001-01-02  Ben Collins  <bcollins@debian.org>
7275         * time/tzset.c (tzset_internal): Make sure we fall back to UTC
7276         if TZ is not set and TZDEFAULT is not present.
7278 2001-01-01  Ben Collins  <bcollins@debian.org>
7280         * string/strings.h: Make sure we declare our functions even if
7281         string.h is already included, based on whether or not __USE_BSD is
7282         defined.
7284 2001-01-02  Ulrich Drepper  <drepper@redhat.com>
7286         * dlfcn/dlerror.c (dlerror): Handle call of dlerror() before any
7287         other dlopen() and dlsym().
7288         Based on a patch by Ben Collins <bcollins@debian.org>.
7290 2001-01-02  Andreas Jaeger  <aj@suse.de>
7292         * dlfcn/errmsg1.c (main): Call dlerror initially.
7293         Reported by Ben Collins <bcollins@debian.org>.
7295 2001-01-02  Ulrich Drepper  <drepper@redhat.com>
7297         * intl/dcigettext.c (guess_category_value): Rewrite so that LANGUAGE
7298         value is ignored if the selected locale is the C locale.
7299         * intl/tst-gettext.c: Set locale for above change.
7300         * intl/tst-translit.c: Likewise.
7302 2001-01-02  Andreas Jaeger  <aj@suse.de>
7304         * libio/wgenops.c (_IO_wdoallocbuf): Use correct wide access macro.
7305         (_IO_switch_to_wget_mode): Likewise.
7306         (_IO_sputbackwc): Likewise.
7307         (_IO_sungetwc): Use wint_t for result.
7309         * stdio-common/vfscanf.c (__vfscanf): Use WINT_T for done.
7311         * sysdeps/generic/strtol.c (strtol): Make cnt size_t for correct
7312         signedness.
7314         * sysdeps/generic/printf_fphex.c (putc): Cast _IO_putwc_unlocked
7315         to (int) to avoid warnings.
7316         * stdio-common/printf_fp.c (putc): Likewise.
7317         * stdio-common/printf_size.c (putc): Likewise.
7319         * sysdeps/generic/dl-sysdep.c (_dl_important_hwcaps): Make
7320         constant unsigned.
7322 2001-01-01  Andreas Jaeger  <aj@suse.de>
7324         * inet/rcmd.c (rcmd_af): Use socklen_t for len.
7326 2000-12-31  Andreas Jaeger  <aj@suse.de>
7328         * include/libc-internal.h: Add prototype for __libc_freeres.
7330         * sysdeps/unix/sysv/linux/init-first.c: Include <libc-internals.h>
7331         for prototypes, remove redundant prototypes.
7332         * gmon/gmon.c: Likewise.
7333         * sysdeps/unix/i386/i586/clock_getres.c: Likewise.
7334         * sysdeps/unix/i386/i586/clock_gettime.c: Likewise.
7335         * malloc/mtrace.c: Likewise.
7337         * sysdeps/generic/enbl-secure.c: Include <libc-internals.h> for
7338         prototypes.
7339         * elf/soinit.c: Likewise.
7340         * sysdeps/generic/prof-freq.c: Likewise.
7341         * sysdeps/mach/hurd/profil.c: Likewise.
7342         * debug/noophooks.c: Likewise.
7343         * debug/pcprofile.c: Likewise.
7344         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Likewise.
7345         * sysdeps/generic/get_clockfreq.c: Likewise.
7346         * malloc/set-freeres.c: Likewise.
7348         * locale/localeinfo.h: Add internal prototypes.
7350         * elf/rtld.c (dl_main): Fix prototype.
7352         * iconvdata/tst-table-to.c (main): Use return instead of exit to
7353         avoid warning.
7355         * nis/rpcsvc/yp_prot.h: Remove __P.
7356         * nis/rpcsvc/ypupd.h: Likewise.
7357         * nis/rpcsvc/yp.h: Likewise.
7359         * sunrpc/rpc_main.c: Add noreturn attributes.
7360         * sunrpc/rpc_scan.h: Likewise.
7362         * sunrpc/rpc_hout.c (storexdrfuncdecl): Make static.
7364         * sunrpc/rpcinfo.c: Add noreturn attribute to brdcst.
7366         * sunrpc/proto.h: Add noreturn attributes to error and crash.
7368         * posix/bsd-getpgrp.c: Add prototype to avoid warning.
7370         * sunrpc/svc_unix.c: Include <rpc/svc.h> for prototypes.
7372         * sunrpc/create_xid.c: Include <rpc/svc.h> for prototypes.
7374         * include/rpc/rpc_msg.h: Add prototypes for some functions.
7375         * include/rpc/auth.h: Likewise.
7376         * include/rpc/auth_des.h: Likewise.
7377         * include/rpc/clnt.h: Likewise.
7378         * include/rpc/rpc.h: Likewise.
7379         * include/rpc/svc.h: Likewise.
7380         * include/rpc/svc_auth.h: Likewise.
7382         * include/rpc/des_crypt.h: New file.
7384         * malloc/memusagestat.c (main): Use return instead of exit to
7385         avoid warning.
7386         * io/pwd.c (main): Likewise.
7387         * iconvdata/tst-table-from.c (main): Likewise.
7388         * ctype/test_ctype.c (main): Likewise.
7389         * setjmp/tst-setjmp.c (main): Likewise.
7390         * signal/tst-signal.c (main): Likewise.
7391         * stdlib/tst-strtol.c (main): Likewise.
7392         * stdlib/tst-strtod.c (main): Likewise.
7393         * stdlib/tst-strtoll.c (main): Likewise.
7394         * stdlib/tst-xpg-basename.c (main): Likewise.
7395         * dirent/tst-seekdir.c (main): Likewise.
7396         * grp/testgrp.c (main): Likewise.
7397         * inet/test_ifindex.c (main): Likewise.
7398         * io/test-utime.c (main): Likewise.
7399         * posix/test-vfork.c (main): Likewise.
7400         * posix/testfnm.c (main): Likewise.
7401         * stdio-common/temptest.c (main): Likewise.
7402         * stdio-common/test_rdwr.c (main): Likewise.
7403         * stdio-common/tst-fileno.c (main): Likewise.
7404         * stdio-common/tst-sscanf.c (main): Likewise.
7405         * stdio-common/tstscanf.c (main): Likewise.
7406         * string/bug-strncat1.c (main): Likewise.
7407         * string/bug-strpbrk1.c (main): Likewise.
7408         * string/bug-strspn1.c (main): Likewise.
7409         * string/test-ffs.c (main): Likewise.
7410         * string/tst-inlcall.c (main): Likewise.
7411         * string/tst-svc.c (main): Likewise.
7412         * timezone/test-tz.c (main): Likewise.
7413         * wctype/test_wcfuncs.c (main): Likewise.
7414         * wctype/test_wctype.c (main): Likewise.
7416         * stdlib/tst-random.c: Add attribute noreturn to fail.
7418 2000-12-28  Wolfram Gloger  <wg@malloc.de>
7420         * malloc/malloc.c (MALLOC_COPY): Handle case if source and
7421         destination overlap.  Assume dest is always below source if
7422         overlapping.
7424 2000-12-30  Ulrich Drepper  <drepper@redhat.com>
7426         * elf/dl-close.c (_dl_close): We can ignore the NODELETE flag if the
7427         object was not yet initialized.
7429 2000-12-28  H.J. Lu  <hjl@gnu.org>
7431         * elf/dl-deps.c (_dl_map_object_deps): Make sure the DSO state
7432         is always consistent even if its dependency is failed.
7434         * elf/dl-open.c (_dl_open): Increment the open count before
7435         calling _dl_close () in case of failure.
7437         * elf/neededtest4.c: New file.
7438         * elf/neededobj5.c: New file.
7439         * elf/neededobj6.c: New file.
7441         * elf/Makefile (distribute): Add neededobj5.c and neededobj6.c.
7442         (tests): Add neededtest4.
7443         (modules-names): Add neededobj5 and neededobj6.
7444         ($(objpfx)neededobj6.so): New target.
7445         ($(objpfx)neededtest4): New target.
7446         ($(objpfx)neededtest4.out): New target.
7448 2000-12-28  Joseph S. Myers  <jsm28@cam.ac.uk>
7450         * misc/sys/cdefs.h (__attribute_format_strfmon__): Define.
7451         * stdlib/monetary.h: Add strfmon format attributes.
7453 2000-12-28  Roland McGrath  <roland@frob.com>
7455         * sysdeps/mach/hurd/ioctl.c (do_ioctl): Avoid double-increment after
7456         __mempcpy does it for us.
7458 2000-12-28  Andreas Jaeger  <aj@suse.de>
7460         * sysdeps/generic/dl-environ.c: Add prototype for unsetenv.
7462         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Add prototype for
7463         __new_setrlimit.
7465         * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Add prototype for
7466         __old_getrlimit64.
7468         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Add prototype for
7469         __new_getrlimit.
7471         * sysdeps/unix/sysv/linux/i386/chown.c: Add prototypes for
7472         __chown_is_lchown and __real_chown.
7474         * sysdeps/generic/ldsodefs.h: Add noreturn attribute to
7475         _dl_reloc_bad_type.
7477         * sunrpc/rpc_hout.c (print_funcdef): Add break statement to shut
7478         up GCC's warning about "deprecated use of label at end of compound
7479         statement."
7480         * sunrpc/rpc_cout.c (emit_inline): Likewise.
7482         * gmon/bb_exit_func.c: Include <sys/gmon.h> for internal
7483         prototypes.
7484         Remove struct bb and __bb_head since those are declared by
7485         sys/gmon.h.
7487 2000-12-22  Ben Collins  <bcollins@debian.org>
7489         * manual/charset.texi: Fix typo in description of WCHAR_MAX.
7491         * manual/argp.texi: Document argp_domain as part of struct argp.
7493 2000-12-28  Andreas Jaeger  <aj@suse.de>
7495         * catgets/Makefile (generated): Add sample.SJIS.cat.
7497         * sunrpc/rpc_dtable.c: Include rpc/clnt.h for prototypes.
7499         * elf/dl-minimal.c: Add prototypes.
7501         * include/locale.h: Add internal prototypes.
7502         * include/sys/gmon.h: Likewise.
7504         * dlfcn/errmsg1mod.c: Add prototype for foo to shut up GCC.
7506 2000-12-27  Ben Collins  <bcollins@debian.org>
7508         * elf/dl-open.c (_dl_open): Correctly set the new objname pointer
7509         when reallocating the error strings.
7510         Reported by Kalle Olavi Niemitalo <kon@iki.fi>
7512 2000-12-27  Ulrich Drepper  <drepper@redhat.com>
7514         * dlfcn/Makefile (tests): Add errmsg1.
7515         (modules-names): Add errmsg1mod.
7516         Add rules to run errmsg1.
7517         * dlfcn/errmsg1.c: New file.
7518         * dlfcn/errmsg1mod.c: New file.
7520         * dlfcn/dlerror.c (dlerror): Always create output string which
7521         includes object file name.
7523         * sysdeps/alpha/alphaev6/memcpy.S: Don't go through unrolled loop
7524         if we would go through it only once.
7525         Patch by Rick Gorton <rick.gorton@api-networks.com>.
7527         * sysdeps/alpha/alphaev67/strncat.S: Fix handling of numeric parameter.
7528         Patch by Richard Henderson <rth@redhat.com>.
7530 2000-12-27  Jakub Jelinek  <jakub@redhat.com>
7532         * malloc/malloc.c (memmove): Add prototypes.
7533         (MALLOC_MEMMOVE): Define.
7534         (chunk_realloc): Use it instead of MALLOC_COPY if source and
7535         destination might overlap.
7537 2000-12-27  Andreas Jaeger  <aj@suse.de>
7539         * stdio-common/printf_fp.c (__printf_fp): Add prototype for nested
7540         function.
7541         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
7542         * locale/programs/locale.c (show_locale_vars): Likewise.
7543         (show_info): Likewise.
7544         * locale/programs/ld-collate.c (collate_output): Likewise.
7545         * locale/programs/ld-ctype.c (set_class_defaults): Likewise.
7546         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
7547         * stdlib/rpmatch.c (rpmatch): Likewise.
7549         * setjmp/tst-setjmp.c: Make local functions static.
7550         * setjmp/jmpbug.c: Likewise.
7551         * signal/tst-signal.c: Likewise.
7552         * stdio-common/tfformat.c: Likewise.
7553         * string/tst-svc.c: Likewise.
7554         * time/clocktest.c: Likewise.
7555         * time/tst-getdate.c: Likewise.
7556         * dirent/list.c: Likewise.
7557         * dirent/opendir-tst1.c: Likewise.
7558         * posix/runtests.c: Likewise.
7559         * posix/tst-getaddrinfo.c: Likewise.
7560         * posix/tst-chmod.c: Likewise.
7561         * posix/wordexp-test.c: Likewise.
7562         * misc/tst-efgcvt.c: Likewise.
7563         * timezone/tst-timezone.c: Likewise.
7564         * rt/tst-clock.c: Likewise.
7565         * rt/tst-shm.c: Likewise.
7566         * rt/tst-aio2.c: Likewise.
7567         * rt/tst-aio3.c: Likewise.
7568         * rt/tst-aio4.c: Likewise.
7569         * rt/tst-aio5.c: Likewise.
7571         * dlfcn/failtest.c: Add prototype for foo.
7573         * dlfcn/glrefmain.c: Add prototype for do_test.
7575         * dlfcn/tst-dladdr.c: Add prototype for do_test.
7577         * string/test-ffs.c (main): Add prototype for nested function.
7579         * sunrpc/des_soft.c: Include rpc/des_crypt.h for prototype.
7581         * nss/XXX-lookup.c: Add prototype to shut up GCC.
7583         * include/netinet/ether.h (DECLARE_NSS_PROTOTYPES): Fix
7584         setetherent prototype.
7585         Add internal interfaces.
7587         * nis/nss_nis/nis-ethers.c (_nss_nis_setetherent): Likewise.
7588         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent): Likewise.
7590         * resolv/res_data.c: Don't add (conflicting) prototypes for _LIBC.
7592         * nis/nis_intern.h: Add prototype for __pmap_getnisport.
7594         * nss/nss_files/files-ethers.c: Include netinet/ether.h to get
7595         prototypes, remove struct etherent since it's declared in ether.h.
7596         Fix ntohost declaration.
7598         * elf/dl-profile.c (_dl_mcount): Add empty statement to shut up GCC.
7600         * include/getopt.h: Add internal interfaces.
7601         * include/termios.h: Likewise.
7602         * include/resolv.h: Likewise.
7603         * include/netdb.h: Likewise.
7604         * include/grp.h: Likewise.
7605         * include/pwd.h: Likewise.
7606         * include/shadow.h: Likewise.
7607         * include/rpc/netdb.h: Likewise.
7608         * include/setjmp.h: Likewise.
7610         * include/stdio.h: Add prototypes for compatibility functions.
7611         * include/grp.h: Likewise.
7612         * include/pwd.h: Likewise.
7613         * include/shadow.h: Likewise.
7615         * include/fenv.h: Define internal interfaces.
7617 2000-12-27  Ulrich Drepper  <drepper@redhat.com>
7619         * sysdeps/generic/bits/byteswap.h (__bswap_64): Handle constant
7620         argument case separately.
7621         * sysdeps/i386/bits/byteswap.h (__bswap_64): Likewise.
7623 2000-12-27  Andreas Jaeger  <aj@suse.de>
7625         * include/sys/wait.h: Add some prototypes.
7626         * Rules (dummy.c): Create also prototype to shut up GCC.
7628 2000-12-27  Andreas Jaeger  <aj@suse.de>
7630         * sysdeps/mach/hurd/if_index.c (__protocol_available): Uncomment,
7631         it's not needed at the moment.
7632         * sysdeps/generic/if_index.c (__protocol_available): Likewise.
7633         * sysdeps/unix/sysv/linux/if_index.c (__protocol_available): Likewise.
7635 2000-12-26  Andreas Jaeger  <aj@suse.de>
7637         * libio/getc_u.c: Include stdio.h via system path to get internal
7638         prototypes.
7639         * libio/getwc_u.c: Likewise.
7641         * stdlib/strfmon.c: Fix prototype of __printf_fp.
7643         * stdio-common/vfprintf.c (process_arg): Move __printf_fphex and
7644         __printf_fp prototypes to ...
7645         * include/printf.h: ...here.
7647         * include/stdio.h: Add some internal prototypes to shut up GCC.
7648         * include/stdlib.h: Likewise.
7650         * sysdeps/posix/sigpause.c (__sigpause): Use ISO C prototype
7651         declaration.
7653         * include/signal.h: Add prototypes for internal sigpause
7654         interfaces.
7656 2000-12-26  Ulrich Drepper  <drepper@redhat.com>
7658         * sysdeps/generic/bits/byteswap.h (__bswap_64): Make it usable for
7659         64bit platforms.  Reported by Dave Gilbert <gilbertd@treblig.org>.
7661         * string/Makefile (tests): Add tst-bswap.
7662         * string/tst-bswap.c: New file.
7664 2000-12-11  Bruno Haible  <haible@clisp.cons.org>
7666         * Makefile ($(inst_includedir)/gnu/stubs.h): Sort in the C locale.
7668 2000-12-26  Ulrich Drepper  <drepper@redhat.com>
7670         * sunrpc/Makefile (rpcgen-cmd): Use single quotes in sed call.
7671         Patch by Ed Connell <Ed.Connell@sas.com>.
7673 2000-12-24  Ulrich Drepper  <drepper@redhat.com>
7675         * locale/iso-639.def: Correct one entry.  Add two missing entries.
7677         * locale/iso-4217.def: Change entry for Eritrea.
7678         Reported by Daniel Yacob <yacob@geez.org>.
7680 2000-12-23  Ben Collins  <bcollins@debian.org>
7682         * manual/charset.texi (Extended Char Intro): Fix typo in ISO 6937
7683         description.
7685         * manual/stdio.texi (Dynamic Output): Document the return value of
7686         asprintf.  Also make the asprintf/snprintf examples a little
7687         better (check for some error returns).
7689 2000-12-22  Andreas Jaeger  <aj@suse.de>
7691         * include/stdio.h: Add __ftrylockfile prototype.
7693 2000-12-21  H.J. Lu  <hjl@gnu.org>
7695         * sysdeps/ia64/fpu/math_ldbl.h (ieee_long_double_shape_type):
7696         Make sign_exponent element signed.
7698         * sysdeps/ieee754/ldbl-96/math_ldbl.h (ieee_long_double_shape_type):
7699         Fix a typo.
7701         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Remove dead branch.
7703 2000-12-21  Andreas Jaeger  <aj@suse.de>
7705         * nis/nss_nisplus/nisplus-ethers.c (struct etherent): Removed.
7706         * inet/ether_hton.c: Likewise
7707         * inet/ether_ntoh.c: Likewise.
7709         * nis/nss_nis/nis-ethers.c (_nss_nis_getntohost_r): Fix
7710         declaration to match prototype.
7712         * include/netinet/ether.h (struct etherent): Declare here so that
7713         all implementations use the same struct.
7715         * nis/nss_nis/nis-ethers.c: Include netinet/ether.h to get
7716         prototypes.
7717         (struct ether): Removed.
7718         Use struct etherent instead of ether everywhere.
7720         * include/rpc/auth.h (DECLARE_NSS_PROTOTYPES): New.
7722         * include/rpc/auth_des.h (DECLARE_NSS_PROTOTYPES): New.
7724         * sunrpc/publickey.c: Include auth_des.h for prototypes.
7726 2000-12-20  Ulrich Drepper  <drepper@redhat.com>
7728         * math/test-misc.c: Add more tests for nextafter functions.
7730         * sysdeps/i386/fpu/s_nextafterl.c: Handle change from denormal to
7731         normal correctly.  Correct test for sign.
7732         Based on a patch by HJ Lu.
7734 2000-12-19  Ulrich Drepper  <drepper@redhat.com>
7736         * Makeconfig (preprocess-version): Add -traditional to gcc call.
7737         Cleanup sed calls.
7739 2000-12-19  Andreas Jaeger  <aj@suse.de>
7741         * include/netinet/ether.h (DECLARE_NSS_PROTOTYPES): New.
7743         * nis/nis_intern.h: Add prototype for __do_niscall3.
7745         * nis/nss_nis/nis-rpc.c (_nss_nis_setrpcent): Fix declaration to
7746         match prototype.
7748         * include/netdb.h (DECLARE_NSS_PROTOTYPES): Reformat.
7750         * include/rpc/netdb.h (DECLARE_NSS_PROTOTYPES): New.
7752         * include/aliases.h (DECLARE_NSS_PROTOTYPES): New.
7754 2000-12-18  Ulrich Drepper  <drepper@redhat.com>
7756         * math/test-misc.c: Add more tests for nextafter.
7757         * sysdeps/i386/fpu/s_nextafterl.c: Handle decrement for x<0 correctly.
7758         * sysdeps/ieee754/ldbl-96/math_ldbl.h
7759         (ieee_long_double_shape_type): Make sign_exponent element signed.
7761         * manual/message.texi: Add Estonian to plural overview list.
7762         Correct rule for Slavic languages.
7763         Patch by Stanislav Brabec <utx@penguin.cz>.
7765         * nis/nss_nis/nis-netgrp.c: Remove unnecessary initializations.
7767 2000-12-18  Andreas Jaeger  <aj@suse.de>
7769         * test-skeleton.c: Use temp_name_list instead of name_list to
7770         avoid collision with name_list from inet/netgroup.h.
7772         * nss/nss_files/files-network.c (NEED_H_ERRNO): Define.
7774         * include/grp.h (DECLARE_NSS_PROTOTYPES): New.
7775         * include/pwd.h (DECLARE_NSS_PROTOTYPES): New.
7776         * include/netdb.h (DECLARE_NSS_PROTOTYPES): New.
7777         * include/shadow.h (DECLARE_NSS_PROTOTYPES): New.
7779         * hesiod/nss_hesiod/hesiod-proto.c (_nss_hesiod_setprotoent): Fix
7780         declaration to match prototype.
7781         * hesiod/nss_hesiod/hesiod-pwd.c (_nss_hesiod_setpwent): Likewise.
7782         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_setgrent): Likewise.
7783         * hesiod/nss_hesiod/hesiod-service.c (_nss_hesiod_setservent):
7784         Likewise.
7785         * nis/nss_nis/nis-grp.c (_nss_nis_setgrent): Likewise.
7786         * nis/nss_nis/nis-pwd.c (_nss_nis_setpwent): Likewise.
7787         * nis/nss_nis/nis-proto.c (_nss_nis_setprotoent): Likewise.
7788         * nis/nss_nis/nis-service.c (_nss_nis_setservent): Likewise.
7789         (_nss_nis_getservbyport_r): Likewise.
7790         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent): Likewise.
7791         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent): Likewise.
7792         * nis/nss_nis/nis-network.c (_nss_nis_getnetent_r): Likewise.
7793         (_nss_nis_setnetent): Likewise
7794         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
7795         (_nss_nis_endnetgrent): Likewise.
7796         * nis/nss_nisplus/nisplus-netgrp.c (_nss_nisplus_endnetgrent):
7797         Likewise.
7798         (_nss_nisplus_setnetgrent): Likewise.
7799         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Likewise.
7800         * nis/nss_nisplus/nisplus-pwd.c (_nss_nisplus_setpwent): Likewise.
7801         * nis/nss_nisplus/nisplus-grp.c (_nss_nisplus_setgrent): Likewise.
7802         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_setnetent):
7803         Likewise.
7804         * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_sethostent):
7805         Likewise.
7806         * nis/nss_nisplus/nisplus-service.c (_nss_nisplus_setservent):
7807         Likewise.
7808         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_setprotoent):
7809         Likewise.
7810         * nis/nss_compat/compat-spwd.c (_nss_compat_setspent): Likewise.
7811         * nis/nss_compat/compat-pwd.c (_nss_compat_setpwent): Likewise.
7812         * nis/nss_compat/compat-grp.c (_nss_compat_setgrent): Likewise.
7813         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Likewise.
7814         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Likewise.
7815         (_nss_dns_getnetbyaddr_r): Likewise.
7817 2000-12-17  Andreas Jaeger  <aj@suse.de>
7819         * sysdeps/generic/k_sinl.c (__kernel_sinl): Fix functions
7820         parameter.
7822         * sysdeps/unix/sysv/linux/shm_open.c (freeit): Make static and add
7823         unused attribute to shut up gcc warnings.
7825         * sysdeps/generic/k_sinl.c: Include math_private for prototypes.
7826         * sysdeps/generic/k_tanl.c: Likewise.
7827         * sysdeps/generic/k_cosl.c: Likewise.
7828         * sysdeps/generic/e_j0l.c: Likewise.
7829         * sysdeps/generic/e_j1l.c: Likewise.
7830         * sysdeps/generic/e_jnl.c: Likewise.
7831         * sysdeps/generic/e_lgammal_r.c: Likewise.
7833         * elf/vismain.c: Move prototypes for functions in vismod*.c to
7834         vismod.h.
7835         * elf/vismod.h: New file.
7836         * elf/Makefile (distribute): Add vismod.h.
7837         * elf/vismod1.c: Include vismod.h.
7838         * elf/vismod2.c: Likewise.
7839         * elf/vismod3.c: Likewise.
7841         * elf/constload3.c: Add prototype declarations to shut up gcc.
7842         * elf/failobj.c: Likewise.
7843         * elf/nodelmod3.c: Likewise.
7844         * elf/filtmod1.c: Likewise.
7845         * elf/filtmod2.c: Likewise.
7846         * elf/reldepmod1.c: Likewise.
7847         * elf/reldepmod2.c: Likewise.
7848         * elf/reldepmod3.c: Likewise.
7849         * elf/reldepmod4.c: Likewise.
7850         * elf/unload2dep.c: Likewise.
7851         * elf/unload2mod.c: Likewise.
7852         * elf/ltglobmod1.c: Likewise.
7853         * elf/pathoptobj.c: Likewise.
7854         * elf/neededobj1.c: Likewise.
7855         * elf/neededobj2.c: Likewise.
7856         * elf/neededobj3.c: Likewise.
7857         * elf/neededobj4.c: Likewise.
7858         * elf/nextmod1.c: Likewise.
7859         * elf/nextmod2.c: Likewise.
7861         * locale/programs/ld-collate.c (collate_finish): Don't use labels
7862         at end of compound statement.
7863         * locale/programs/locale.c (show_info): Likewise.
7864         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Likewise.
7866 2000-12-16  Jakub Jelinek  <jakub@redhat.com>
7868         * catgets/gencat.c (read_input_file): Avoid calling obstack_free
7869         with a pointer not returned by obstack_ functions.
7871 2000-12-16  Ulrich Drepper  <drepper@redhat.com>
7873         * sysdeps/unix/sysv/aix/bits/stat.h (struct stat): Align with AIX
7874         version.
7875         (struct stat64): Likewise.
7876         Reported by Michael Keezer <mkeezer@redhat.com>.
7878         * timezone/asia: Update from tzdata2000h.
7879         * timezone/australasia: Likewise.
7880         * timezone/backward: Likewise.
7881         * timezone/europe: Likewise.
7882         * timezone/northamerica: Likewise.
7883         * timezone/southamerica: Likewise.
7884         * timezone/zone.tab: Likewise.
7886 2000-12-14  Jakub Jelinek  <jakub@redhat.com>
7888         * io/ftw.c (ftw_dir): If process_entry returned non-zero result
7889         and dir.stream is NULL, only free dir.content.
7890         * io/ftwtest.c (cb, main): Add --early-exit option to test it.
7891         * io/ftwtest-sh: Test with --early-exit.
7893 2000-12-13  Jakub Jelinek  <jakub@redhat.com>
7895         * misc/efgcvt.c (FCVT_MAXDIG): Define.
7896         (FCVT_BUFPTR): New variable.
7897         (fcvt): If fcvt_r returns -1 on the static short buffer,
7898         try to malloc a sufficiently large one and retry.
7899         (free_mem): New function.
7900         * misc/qefgcvt.c (FCVT_MAXDIG): Define.
7901         * misc/tst-efgcvt.c (fcvt_tests): Add new test.
7903 2000-12-15  Ulrich Drepper  <drepper@redhat.com>
7905         * misc/dirname.c (dirname): Fix search for second to last slash.
7907 2000-12-13  Andreas Jaeger  <aj@suse.de>
7909         * misc/tst-dirname.c (main): Fix typo in test to really use
7910         the examples from Unix98.
7911         Reported by Michael Kerrisk <mtk16@ext.canterbury.ac.nz>.
7913 2000-12-09  H.J. Lu  <hjl@gnu.org>
7915         * sysdeps/ia64/fpu/s_fabs.S: New file.
7916         * sysdeps/ia64/fpu/s_fabsf.S: New file.
7917         * sysdeps/ia64/fpu/s_fabsl.S: New file.
7919 2000-12-15  Andreas Jaeger  <aj@suse.de>
7921         * stdio-common/scanf9.c (main): Reformat and change to avoid
7922         warnings.
7924         * stdio-common/tstdiomisc.c: Make local functions static.
7925         * stdio-common/tst-printf.c: Likewise.
7927         * elf/constload2.c: Add prototype declarations to shut up gcc.
7928         * elf/dep1.c: Likewise.
7929         * elf/dep2.c: Likewise.
7930         * elf/dep3.c: Likewise.
7931         * elf/dep4.c: Likewise.
7932         * elf/ltglobmod2.c: Likewise.
7934         * libio/fmemopen.c: Make local functions static.
7936         * elf/Makefile (distribute): Added testobj.h.
7938         * elf/testobj.h: New file.
7940         * elf/testobj1.c: Include testobj.h and move prototype
7941         declarations to testobj.h.
7942         * elf/testobj2.c: Likewise.
7943         * elf/testobj3.c: Likewise.
7944         * elf/testobj4.c: Likewise.
7945         * elf/testobj5.c: Likewise.
7946         * elf/testobj6.c: Likewise.
7947         * elf/testobj1_1.c: Likewise.
7948         * elf/preloadtest.c: Likewise.
7950 2000-12-15  Ben Collins  <bcollins@debian.org>
7952         * misc/sys/cdefs.h: Fix thinko in checks for flexarr macros.
7953         Patch by Akim Demaille <akim@epita.fr> in Debian bug report.
7955 2000-12-14  H.J. Lu  <hjl@gnu.org>
7957         * sysdeps/ieee754/flt-32/s_sincosf.c (__sincosf): The exponent
7958         field in a float is 8 bits, not 11 bits.
7960 2000-12-13  Jakub Jelinek  <jakub@redhat.com>
7962         * math/test-misc.c (main): Adjust m for IEEE quad long double.
7964 2000-12-13  Andreas Jaeger  <aj@suse.de>
7966         * manual/message.texi (Using gettextized software): Fix typo.
7968         * manual/charset.texi (Converting a Character): Fix mbstouwcs
7969         program to compile.
7970         Patch by Martin Buchholz <martin@xemacs.org>.
7972         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Fix typo.
7973         Reported by Michael Kerrisk <mtk16@ext.canterbury.ac.nz>.
7975 2000-12-11  Andreas Jaeger  <aj@suse.de>
7977         * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Declare
7978         kernel_sigset_t and use it.
7979         Patch by Hiroyuki Machida <machida@sm.sony.co.jp>.
7981 2000-12-10  Richard Henderson  <rth@redhat.com>
7983         * sysdeps/alpha/alphaev67/fpu/Implies: New file.
7984         * sysdeps/alpha/alphaev6/fpu/e_sqrtf.S: New file.
7985         * sysdeps/alpha/alphaev6/fpu/e_sqrt.S: New file.
7987 2000-12-10  Jakub Jelinek  <jakub@redhat.com>
7989         * sysdeps/alpha/htonl.S: Fix a typo.
7991 2000-12-10  Jakub Jelinek  <jakub@redhat.com>
7993         * sysdeps/alpha/alphaev6/stxcpy.S: Exchange t8 with t10.
7995 2000-12-10  Andreas Jaeger  <aj@suse.de>
7997         * locale/programs/ld-ctype.c (charclass_symbolic_ellipsis): Fixed
7998         cast as suggested by Jakub Jelinek <jakub@redhat.com> and Ulrich
7999         Drepper <drepper@redhat.com>.
8001 2000-12-09  Andreas Jaeger  <aj@suse.de>
8003         * sysdeps/unix/sysv/linux/mips/sigaction.c: New file.
8005         * sysdeps/unix/sysv/linux/mips/sys/acct.h: Removed, we can use the
8006         generic version.
8007         Patches by Hiroyuki Machida <machida@sm.sony.co.jp>.
8009         * locale/programs/ld-collate.c (handle_ellipsis): Fix format
8010         string.
8012         * locale/programs/ld-ctype.c (charclass_symbolic_ellipsis): Fix
8013         format string.
8015         * nscd/hstcache.c (addhstbyname): Add cast to avoid warning.
8016         * nscd/connections.c (handle_request): Likewise.
8017         * nscd/pwdcache.c (addpwbyname): Likewise.
8018         * nscd/grpcache.c (addgrbyname): Likewise.
8020         * nscd/nscd_conf.c (nscd_parse_file): Remove extra argument.
8022 2000-12-09  Ulrich Drepper  <drepper@redhat.com>
8024         * string/stratcliff.c: Add tests for stpncpy, memcpy, and mempcpy.
8026         * Makeconfig (default_cflags): Make -O2 the default for stable
8027         releases.
8029 2000-12-08  H.J. Lu  <hjl@gnu.org>
8031         * sysdeps/ia64/fpu/s_isinfl.S: Renamed to ...
8032         * sysdeps/ia64/fpu/s_isinf.S: This.
8033         Add a .pred.rel.mutex note to avoid false report.
8035         * sysdeps/ia64/fpu/s_isnanl.S: Renamed to ...
8036         * sysdeps/ia64/fpu/s_isnan.S: This.
8038         * sysdeps/ia64/fpu/s_fpclassify.S: New file.
8039         * sysdeps/ia64/fpu/s_fpclassifyf.S: New file.
8040         * sysdeps/ia64/fpu/s_fpclassifyl.S: New file.
8041         * sysdeps/ia64/fpu/s_isinff.S: New file.
8042         * sysdeps/ia64/fpu/s_isinfl.S: New file.
8043         * sysdeps/ia64/fpu/s_isnanf.S: New file.
8044         * sysdeps/ia64/fpu/s_isnanl.S: New file.
8045         * sysdeps/ia64/fpu/s_finite.S: New file.
8046         * sysdeps/ia64/fpu/s_finitef.S: New file.
8047         * sysdeps/ia64/fpu/s_finitel.S: New file.
8048         * sysdeps/ia64/fpu/s_signbit.S: New file.
8049         * sysdeps/ia64/fpu/s_signbitf.S: New file.
8050         * sysdeps/ia64/fpu/s_signbitl.S: New file.
8051         * sysdeps/ia64/fpu/s_copysign.S: New file.
8052         * sysdeps/ia64/fpu/s_copysignf.S: New file.
8053         * sysdeps/ia64/fpu/s_copysignl.S: New file.
8055 2000-12-08  Ulrich Drepper  <drepper@redhat.com>
8057         * math/libm-test.inc (main): Fix typos in messages.
8059         * string/stratcliff.c: Add test for rawmemchr.
8061 2000-12-08  Jakub Jelinek  <jakub@redhat.com>
8063         * elf/dl-open.c (_dl_open): If objname points right after errstring,
8064         allocate it together with errstring using alloca.
8065         * elf/dl-error.c (_dl_signal_error): If malloc failed, set objname
8066         to "", because it might point to local stack.
8068 2000-12-05  H.J. Lu  <hjl@gnu.org>
8070         * nss/Makefile (routines): Add getnssent and getnssent_r.
8071         * nss/nsswitch.h (__nss_setent): New internal NSS function.
8072         (__nss_endent): Likewise.
8073         (__nss_getent_r): Likewise.
8074         (__nss_getent): Likewise.
8075         * nss/getnssent_r.c: New file.
8076         * nss/getnssent.c: New file.
8077         * nss/getXXent.c (H_ERRNO_VAR): Updated.
8078         (GETFUNC_NAME): Updated to call __nss_getent ().
8079         * nss/getXXent_r.c (H_ERRNO_VAR_P): New.
8080         (STAYOPEN_TMPVAR): Updated.
8081         (STAYOPEN_VAR): Updated.
8082         (SETFUNC_NAME): Updated to call __nss_setent ().
8083         (ENDFUNC_NAME): Updated to call __nss_endent ().
8084         (INTERNAL (REENTRANT_GETNAME)): Updated to call __nss_getent_r ().
8086 2000-12-08  Andreas Jaeger  <aj@suse.de>
8088         * nscd/dbg_log.h (dbg_log): Correct attribute.
8090 2000-12-08  Jakub Jelinek  <jakub@redhat.com>
8092         * elf/dl-load.c (fillin_rpath): Don't assume there is '\0' at
8093         cp + len.  Compute where from dirname.
8094         Reported by <jreiser@BitWagon.com>.
8096 2000-12-08  Richard Henderson  <rth@twiddle.net>
8098         * sysdeps/alpha/_mcount.S: Fix typo.
8099         * sysdeps/alpha/strncpy.S: Likewise.
8101         * sysdeps/alpha/alphaev6/Implies: New file.
8102         * sysdeps/alpha/alphaev67/Implies: New file.
8103         * sysdeps/alpha/alphaev67/ffs.S: New file.
8104         * sysdeps/alpha/alphaev67/ffsll.S: New file.
8105         * sysdeps/alpha/alphaev67/rawmemchr.S: New file.
8106         * sysdeps/alpha/alphaev67/stpcpy.S: New file.
8107         * sysdeps/alpha/alphaev67/stpncpy.S: New file.
8108         * sysdeps/alpha/rawmemchr.S: New file.
8109         * sysdeps/alpha/strcat.S: Tail call to __stxcpy.
8110         * sysdeps/alpha/strcpy.S: Likewise.
8112         From GMP 3.1.1:
8113         * sysdeps/alpha/alphaev6/addmul_1.s: New file.
8115         From rick.gorton@alpha-processor.com:
8116         * sysdeps/alpha/alphaev6/memchr.S: New file.
8117         * sysdeps/alpha/alphaev6/memcpy.S: New file.
8118         * sysdeps/alpha/alphaev6/memset.S: New file.
8119         * sysdeps/alpha/alphaev6/stxcpy.S: New file.
8120         * sysdeps/alpha/alphaev6/stxncpy.S: New file.
8121         * sysdeps/alpha/alphaev67/strcat.S: New file.
8122         * sysdeps/alpha/alphaev67/strchr.S: New file.
8123         * sysdeps/alpha/alphaev67/strlen.S: New file.
8124         * sysdeps/alpha/alphaev67/strncat.S: New file.
8125         * sysdeps/alpha/htonl.S: Use a shorter sequence.
8127 2000-12-08  Jakub Jelinek  <jakub@redhat.com>
8129         * inet/getnameinfo.c (getnameinfo): Fix NI_NOFQDN support.
8130         Reported by <pspencer@fields.utoronto.ca>.
8132 2000-12-07  Jes Sorensen  <jes@linuxcare.com>
8134         * sysdeps/ia64/elf/start.S (__data_start): Add __data_start variable.
8135         Pointed out by Hans Boehm.
8137 2000-12-07  H.J. Lu  <hjl@gnu.org>
8139         * elf/dl-version.c (match_symbol): Check map->l_name[0] for printing.
8141 2000-12-07  Andreas Jaeger  <aj@suse.de>
8143         * misc/error.c: Add format attributes for __error and __error_at_line.
8145         * nscd/dbg_log.h: Add format attribute.
8147 2000-12-08  Ulrich Drepper  <drepper@redhat.com>
8149         * misc/sys/syslog.h: Add format attributes to syslog and vsyslog.
8150         Patch by Joseph S. Myers <jsm28@cam.ac.uk>.
8152 2000-12-07  Dan Pop  <Dan.Pop@cern.ch>
8154         * sysdeps/ia64/strcpy.S: Fix a bug in a recovery code sequence.
8156 2000-12-06  Ulrich Drepper  <drepper@redhat.com>
8158         * sysdeps/unix/sysv/aix/Makefile [$(subdir)==misc]
8159         (sysdep_routines): Add uitrunc.
8160         * sysdeps/unix/sysv/aix/uitrunc.c: New file.
8161         Patches by Michael Keezer <mkeezer@redhat.com>.
8163 2000-12-06  Roland McGrath  <roland@frob.com>
8165         * sysdeps/mach/hurd/ioctl.c (__ioctl): Don't clobber ARG as we copy in
8166         argument data, since it will be used to copy out too (for INOUT).
8167         Reported by Marcus Brinkmann <marcus@gnu.org>.
8169         * sysdeps/mach/hurd/ioctl.c: Include <stdint.h>.
8170         (__ioctl): Use uintptr_t instead of unsigned long int.
8172 2000-12-06  Jim Wilson  <wilson@redhat.com>
8174         * stdlib/l64a.c (l64a): Truncate M to 32-bit value.
8176 2000-12-06  Ulrich Drepper  <drepper@redhat.com>
8178         * stdio-common/printf_fp.c (__printf_fp): Handle decimal point in
8179         x.5 rounding correctly.
8181 2000-12-06  Mark Kettenis  <kettenis@gnu.org>
8183         * stdio-common/perror.c (perror): Conditionalize code dealing with
8184         wide-oriented streams on USE_IN_LIBIO.
8186 2000-12-06  Mark Kettenis  <kettenis@gnu.org>
8188         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup): Mark
8189         as internal_function.
8191 2000-12-05  Ulrich Drepper  <drepper@redhat.com>
8193         * sysdeps/alpha/elf/start.S (__data_start): Define.
8195 2000-12-05  H.J. Lu  <hjl@gnu.org>
8197         * nss/getXXent_r.c (setup): Change the return type to int.
8199 2000-12-05  Ulrich Drepper  <drepper@redhat.com>
8201         * sysdeps/unix/sysv/aix/Makefile [$(subdir)==misc]
8202         (sysdep_routines): Add restf and savef.
8203         * sysdeps/unix/sysv/aix/restf.c: New file.
8204         * sysdeps/unix/sysv/aix/savef.c: New file.
8205         Patches by Michael Keezer <mkeezer@redhat.com>.
8207         * sysdeps/unix/opendir.c (__opendir): Don't use o_directory_works
8208         if O_DIRECTORY is not defined.
8209         Patch by Michael Keezer <mkeezer@redhat.com>.
8211         * include/libc-symbols.h (C_SYMBOL_DOT_NAME): Define.
8212         Patch by Michael Keezer <mkeezer@redhat.com>.
8214         * locale/programs/linereader.c (get_toplvl_escape): Recognize more
8215         than 4 bytes in escape sequence.
8216         Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
8218 2000-12-05  Andreas Jaeger  <aj@suse.de>
8220         * sysdeps/unix/sysv/linux/mips/sys/tas.h (_test_and_set): Don't
8221         set mips2.
8223         * sysdeps/unix/sysv/linux/mips/sysdep.h: New file.
8225         * sysdeps/unix/sysv/linux/mips/sys/syscall.h: Removed.
8227         * sysdeps/unix/mips/sysdep.h: Use SYS_ify.
8228         Patches by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
8230         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Mark as
8231         internal_function.
8232         * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Likewise.
8233         * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start_cleanup): Likewise.
8235         * sysdeps/generic/dl-cache.c: Remove declaration of
8236         _dl_sysdep_read_whole_file.
8238         * elf/dl-load.c (_dl_map_object): Remove declaration of
8239         _dl_load_cache_lookup.
8241         * sysdeps/generic/ldsodefs.h: Add declarations of
8242         _dl_load_cache_lookup, _dl_unload_cache,
8243         _dl_sysdep_read_whole_file, _dl_sysdep_start and
8244         _dl_sysdep_start_cleanup.
8246         * elf/rtld.c: Remove prototypes that are defined in ldsodefs.h
8247         now.
8249         * elf/dl-misc.c: Include <ldsodefs.h> to get prototypes.
8250         * sysdeps/generic/dl-environ.c: Likewise.
8252         * stdio-common/printf_fp.c: Include <gmp.h> instead of
8253         <stdlib/gmp.h>.
8254         * math/atest-exp.c: Likewise.
8255         * math/atest-exp2.c: Likewise.
8256         * math/atest-sincos.c: Likewise.
8257         * stdio-common/_itoa.c: Likewise.
8258         * stdio-common/_itowa.c: Likewise.
8260         * include/gmp.h: New file with internal prototypes.
8262         * sysdeps/generic/longjmp.c: Move _longjmp_unwind declaration from
8263         here to...
8264         * include/setjmp.h: ...here.
8266         * locale/Makefile (routines): Remove codeset_name since it's not
8267         needed anywhere.
8269         * locale/codeset_name.c: Removed.
8271 2000-12-05  Ulrich Drepper  <drepper@redhat.com>
8273         * sysdeps/unix/sysv/aix/sys/param.h: Define MAXHOSTNAMELEN here.
8275 2000-12-05  Andreas Jaeger  <aj@suse.de>
8277         * sysdeps/unix/sysv/linux/sys/param.h: Revert last patch.
8279 2000-12-05  Martin Schwidefsky  <schwidefsky@de.ibm.com>
8281         * sysdeps/unix/sysv/linux/s390/mmap64.S: Use mmap if mmap2 isn't
8282         available.
8284 2000-12-05  Andreas Jaeger  <aj@suse.de>
8286         * nss/test-netdb.c: Mark local functions as static to avoid
8287         warnings.
8288         (main): Use return to silence warning.
8290         * stdlib/test-canon.c (check_path): Mark as static to avoid warning.
8292         * stdio-common/test-popen.c: Mark local functions as static to
8293         avoid warnings.
8294         (main): Use return to silence warning.
8296         * stdlib/testsort.c (compare): Mark as static to avoid warning.
8298         * assert/test-assert.c: Mark local functions as static to avoid
8299         warnings.
8300         * assert/test-assert-perr.c: Likewise.
8302         * math/libm-test.inc (main): Use return to silence warnings.
8304 2000-12-04  Ulrich Drepper  <drepper@redhat.com>
8306         * math/fenv.h: Fix typo in comment.
8308         * math/test-misc.c (main): Add a few more over and underflow tests
8309         for scalb.
8311         * sysdeps/i386/fpu/e_scalb.S: Handle NaN as first parameter correctly.
8312         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
8313         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
8314         * math/w_scalb.c: Don't use matherr except in SVID mode.
8315         * math/w_scalbf.c: Likewise.
8316         * math/w_scalbl.c: Likewise.
8317         * math/test-misc.c: Add test for NaN and scalbl.
8318         Reported by Fred J. Tydeman <tydeman@tybor.com>.
8320 2000-12-04  Ulrich Drepper  <drepper@redhat.com>
8322         * configure.in: Define HAVE_ASM_GLOBAL_DOT_NAME for AIX.
8323         * config.h.in: Add HAVE_ASM_GLOBAL_DOT_NAME.
8324         * include/libc-symbols.h (strong_alias): Define special version
8325         for HAVE_ASM_GLOBAL_DOT_NAME.
8326         (weak_alias): Likewise.
8327         * sysdeps/powerpc/bsd-setjmp.S: Use strong_alias not .set.
8328         * sysdeps/unix/sysv/aix/Makefile [$(subdir)==login]
8329         (sysdep_routines): Add setutxent, getutxent, endutxent, getutxid,
8330         getutxline, pututxline, and utmpxname.
8331         * sysdeps/unix/sysv/aix/fchdir.c: Define __fchdir.
8332         * sysdeps/unix/sysv/aix/lseek.c: Define __libc_lseek alias.
8333         * sysdeps/unix/sysv/aix/open.c: Define __libc_open alias.
8334         * sysdeps/unix/sysv/aix/pread.c: Define pread alias.
8335         * sysdeps/unix/sysv/aix/pread64.c: Define pread64 alias.
8336         * sysdeps/unix/sysv/aix/sysdep.h (JUMPTARGET): Use C_TEXT.
8337         * sysdeps/unix/sysv/aix/bits/types.h: Define __clockid_t and __timer_t.
8338         * sysdeps/unix/sysv/aix/bits/utmp.h: Cleanup.  Add comments.
8339         * sysdeps/unix/sysv/linux/sys/param.h (MAXHOSTNAMELEN): Define.
8340         Patches by Michael Keezer <mkeezer@redhat.com>.
8342 2000-12-04  H.J. Lu  <hjl@gnu.org>
8344         * configure.in: Change --with-oldest-abi=ABI to
8345         --enable-oldest-abi=ABI.
8347 2000-12-02  Bruno Haible  <haible@clisp.cons.org>
8349         * stdio-common/perror.c (perror): If stderr is wide-oriented, use
8350         fwprintf instead of fprintf.
8352 2000-12-04  Ulrich Drepper  <drepper@redhat.com>
8354         * sysdeps/alpha/fpu/bits/mathdef.h: Remove FLT_EVAL_METHOD and
8355         DECIMAL_DIG definitions.
8356         * sysdeps/arm/fpu/bits/mathdef.h: Likewise
8357         * sysdeps/generic/bits/mathdef.h: Likewise
8358         * sysdeps/i386/fpu/bits/mathdef.h: Likewise
8359         * sysdeps/ia64/fpu/bits/mathdef.h: Likewise
8360         * sysdeps/m68k/fpu/bits/mathdef.h: Likewise
8361         * sysdeps/powerpc/fpu/bits/mathdef.h: Likewise
8362         * sysdeps/sparc/fpu/bits/mathdef.h: Likewise
8363         * sysdeps/sh/sh4/fpu/bits/mathdef.h: Likewise
8365 2000-12-03  Ulrich Drepper  <drepper@redhat.com>
8367         * math/test-fenv.c (main): Use return instead of exit to avoid warning.
8369         * math/atest-exp.c: Mark local functions as static to avoid warnings.
8370         * math/atest-exp2.c: Likewise.
8371         * math/atest-sincos.c: Likewise.
8373         * sysdeps/i386/fpu/bits/mathdef.h (DECIMAL_DIG): Correct value.
8374         Reported by Fred J. Tydeman <tydeman@tybor.com>.
8376         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Hopefully fix
8377         the handling of denormalized numbers.
8379         * math/test-misc.c (main): Test for fpclassify and pseudo denormal
8380         numbers on x86.
8381         * sysdeps/i386/fpu/fpclassifyl.c: New file.
8383         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Handle the
8384         pseudo denormal representation of LDBL_MIN.
8386         * iconvdata/SJIS.irreversible: Remove unnecessary entries.
8387         * iconvdata/EUC-JP.irreversible: Remove unnecessary entries.
8389         * iconvdata/sjis.c: Enable round-trip mapping of backslash and tilde.
8390         * iconvdata/jis0208.c: Likewise.
8391         * iconvdata/jis0212.c: Likewise.
8392         Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
8394         * math/test-misc.c (main): More tests for frexp and some for
8395         fpclassify and isnormal.
8397         * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf): Correct
8398         test for subnormal.
8399         Reported by Fred J. Tydeman <tydeman@tybor.com>.
8401         * math/test-misc.c (main): Add tests for frexp.
8402         Reported by Fred J. Tydeman <tydeman@tybor.com>.
8403         * sysdeps/i386/fpu/s_frexpl.S: Don't overflow during the computation.
8405 2000-12-02  H.J. Lu  <hjl@gnu.org>
8407         * locale/lc-time.c (_nl_init_era_entries): Pass L'\0' instead of
8408         '\0' to wcschr.
8410 2000-12-02  Ulrich Drepper  <drepper@redhat.com>
8412         * sysdeps/i386/fpu/s_frexp.S: Add missing fwait.
8413         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
8414         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
8416         * sysdeps/generic/glob.c: Adjust types of several variables to
8417         avoid warnings.
8419 2000-12-01  Ulrich Drepper  <drepper@redhat.com>
8421         * sysdeps/unix/sysv/linux/shm_open.c: Remove incorrect comment.
8423 2000-11-30  Roland McGrath  <roland@frob.com>
8425         * hurd/hurd/ioctl.h (_HURD_HANDLE_IOCTLS_1): New macro.
8426         (_HURD_HANDLE_IOCTLS, _HURD_HANDLE_IOCTL): Redefine using it, so as to
8427         allow multiple instances using the same function name in one file.
8429 2000-12-01  Ulrich Drepper  <drepper@redhat.com>
8431         * configure.in: Correct test for pserver CVS access.
8433 2000-11-28  H.J. Lu  <hjl@gnu.org>
8435         * libio/libio.h: Remove extra "#if ... #endif".
8437 2000-11-29  H.J. Lu  <hjl@gnu.org>
8439         * stdio-common/vfscanf.c (ORIENT): Swap the COMPILE_WSCANF case.
8441 2000-12-01  H.J. Lu  <hjl@gnu.org>
8443         * nss/getXXbyYY_r.c: Fix verioned symbol handling.
8444         * nss/getXXent_r.c: Likewise.
8445         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
8447 2000-11-30  H.J. Lu  <hjl@gnu.org>
8449         * scripts/abi-versions.awk (oldest_abi): New variable.
8450         Handle the oldest ABI supported.
8452         * Makerules ($(common-objpfx)abi-versions.h): Set oldest_abi
8453         for scripts/abi-versions.awk.
8455         * configure.in: Add --with-oldest-abi=ABI.
8456         * configure: Rebuild.
8458         * config.make.in (oldest-abi): New.
8460         * config.h.in (GLIBC_OLDEST_ABI): New.
8462         * csu/version.c (banner): Support GLIBC_OLDEST_ABI.
8464 2000-11-30  Jakub Jelinek  <jakub@redhat.com>
8466         * locale/setlocale.c (setname): Free for all categories, not just
8467         LC_ALL.
8468         (setlocale): Store a copy of string passed by user, not the string
8469         itself.
8471 2000-11-30  Roland McGrath  <roland@frob.com>
8473         * sysdeps/mach/hurd/defs.c (init_stdio): Put this on __libc_subinit
8474         rather than _hurd_fd_subinit, so it happens after it's safe to use
8475         libc facilities like malloc.
8477 2000-11-28  Andreas Jaeger  <aj@suse.de>
8479         * sysdeps/unix/sysv/linux/getdents.c: Add _syscall_getdents64
8480         declaration, adjust declaration of __syscall_getdents to match
8481         kernel.
8483 2000-11-29  H.J. Lu  <hjl@gnu.org>
8485         * sysdeps/generic/readelflib.c (check_ptr): Undefine it first.
8487 2000-11-29  Andreas Jaeger  <aj@suse.de>
8489         * sysdeps/unix/sysv/linux/hppa/brk.c (__brk): Remove unused variable.
8491 2000-11-28  Ulrich Drepper  <drepper@redhat.com>
8493         * dlfcn/defaultmod1.c: Add prototypes to avoid warnings.
8494         * dlfcn/defaultmod2.c: Likewise.
8495         * dlfcn/dlopen.c: Likewise.
8496         * dlfcn/dlopenold.c: Likewise.
8497         * dlfcn/failtestmod.c: Likewise.
8498         * dlfcn/glreflib1.c: Likewise.
8499         * dlfcn/glreflib2.c: Likewise.
8500         * dlfcn/eval.c: Likewise.  Add attributes.
8502         * ctype/ctype-extn.c: Define isblank and not __isblank.
8504         * time/strftime.c: Add const where necessary to avoid warnings.
8505         * time/strptime.c (strptime_internal): Add casts to avoid warnings.
8507 2000-11-22  Paul Eggert  <eggert@twinsun.com>
8509         * time/strftime.c (my_strftime): Do not invoke mbrlen with a
8510         size of (size_t) -1; it's not portable.
8512 2000-11-28  Ulrich Drepper  <drepper@redhat.com>
8514         * sysdeps/i386/fpu/libm-test-ulps: Adjust some values for the
8515         crappy i486 FPU.
8516         Reported by Michael Deutschmann <michael@talamasca.ocis.net>.
8518 2000-11-14  Jes Sorensen  <jes@linuxcare.com>
8520         * sysdeps/ia64/_mcount.S: Call __mcount instead of __mcount_internal.
8522         * sysdeps/ia64/Makefile: Compile _mcount.S in subdir gmon as
8523         _mcount is required by profiled binaries.
8525         * sysdeps/unix/sysv/linux/ia64/machine-gmon.h: Moved to...
8526         * sysdeps/ia64/machine-gmon.h: ...here.
8528 2000-11-28  Masahide Washizawa  <washi@jp.ibm.com>
8530         * iconvdata/Makefile (modules): Add IBM922, IBM1124, and IBM1129.
8531         (distribute): Add ibm922.c, ibm1124.c, ibm1129.c, ibm922.h, ibm1124.h,
8532         and ibm1129.h.
8533         * iconvdata/gconv-modules: Add entries for IBM922, IBM1124, and
8534         IBM1129.
8535         * iconvdata/ibm922.c: New file.
8536         * iconvdata/ibm922.h: New file.
8537         * iconvdata/ibm1124.c: New file.
8538         * iconvdata/ibm1124.h: New file.
8539         * iconvdata/ibm1129.c: New file.
8540         * iconvdata/ibm1129.h: New file.
8541         * iconvdata/testdata/IBM922: New file.
8542         * iconvdata/testdata/IBM922..UTF8: New file.
8543         * iconvdata/testdata/IBM1124: New file.
8544         * iconvdata/testdata/IBM1124..UTF8: New file.
8545         * iconvdata/testdata/IBM1129: New file.
8546         * iconvdata/testdata/IBM1129..UTF8: New file.
8548 2000-11-28  Ulrich Drepper  <drepper@redhat.com>
8550         * catgets/gencat.c (normalize_line): Take extra parameter with escape
8551         character.  Change callers.
8552         (open_conversion): Determine mapping of 0x5c as wchar_t value.
8553         * catgets/Makefile: Add rules to build and run test-gencat.
8554         * catgets/sample.SJIS: New file.
8555         * catgets/test-gencat.c: New file.
8556         * catgets/test-gencat.sh: New file.
8557         Report and test case by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
8559 2000-11-28  Andreas Jaeger  <aj@suse.de>
8561         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Synch with generic
8562         Linux version.
8564 2000-11-28  Ulrich Drepper  <drepper@redhat.com>
8566         * sysdeps/unix/sysv/linux/bits/socket.h: Fix last patch.
8568 2000-11-28  Andreas Jaeger  <aj@suse.de>
8570         * sysdeps/unix/sysv/linux/bits/socket.h (struct cmsghdr): Use
8571         __flexarr.
8572         * sysdeps/unix/sysv/linux/mips/bits/socket.h (struct cmsghdr):
8573         Likewise.
8575 2000-11-27  Ulrich Drepper  <drepper@redhat.com>
8577         * misc/getusershell.c: Make strings in okshells array const.
8578         * misc/regexp.c: Add const to cast to avoid warnings.
8579         * sysdeps/unix/sysv/linux/llseek.c: Add prototype for __llseek.
8580         * sysdeps/unix/sysv/linux/i386/setresuid.c: Add prototype for
8581         __setresuid.
8582         * sysdeps/unix/sysv/linux/i386/setresgid.c: Add prototype for
8583         setresgid.
8584         * misc/error.c: Add prototypes for __error and __error_at_line.
8585         * misc/mntent_r.c (__getmntent_r): Add break at end of switch
8586         statement to avoid warning.
8587         * test-skeleton.c: Mark timeout_handler with noreturn.
8588         * iconv/skeleton.c (get16u): Add const to cast.
8589         (get32u): Likewise.
8590         * iconvdata/gb18030.c: Likewise.
8591         * iconvdata/iso-2022-cn-ext.c: Likewise.
8592         * iconvdata/ansi_x3.110.c: Add cast to avoid warning.
8593         * iconvdata/big5.c: Likewise.
8594         * iconvdata/big5hkscs.c: Likewise.
8595         * iconvdata/iso_6937.c: Likewise.
8596         * iconvdata/iso_6937-2.c: Likewise.
8597         * iconvdata/t.61.c: Likewise.
8598         * iconvdata/iso646.c: Add prototypes for gconv_init and gconv_env.
8599         * iconvdata/unicode.c: Likewise.
8600         * iconvdata/utf-16.c: Likewise.
8601         * iconvdata/cns11643.h (ucs4_to_cns11643): Define needed as size_t.
8602         * iconv/gconv_trans.c (__gconv_translit_find): Avoid one warning
8603         with little code shuffling.
8605         * sysdeps/powerpc/Makefile (CFLAGS-initfini.s): Add -O1 to avoid
8606         the problems introduced when the user selects -O3.
8608         * iconv/gconv.h (__gconv_info): Define __data element using __flexarr.
8609         * misc/sys/cdefs.h: Define __flexarr.
8610         Proposed by Joseph S. Myers <jsm28@cam.ac.uk>.
8612         * iconvdata/iso-2022-jp.c: Add prototypes to avoid warnings.
8613         * iconv/skeleton.c: Likewise.
8614         * iconvdata/iso8859-1.c (BODY to 8859-1): Add const to cast.
8615         * iconv/loop.c (get16): Add const to cast.
8616         (get32): Likewise.
8618 2000-11-27  Andreas Jaeger  <aj@suse.de>
8620         * login/programs/pt_chown.c (do_pt_chown): Mark function as static
8621         to avoid warning.
8622         * login/programs/utmpdump.c (print_entry): Likewise.
8624 2000-11-25  Maciej W. Rozycki  <macro@ds2.pg.gda.pl>
8626         * sysdeps/mips/__longjmp.c (__longjmp): Restore SP and FP last and
8627         in a single asm as they may be used to access other stored
8628         registers.
8629         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
8631 2000-11-27  Andreas Jaeger  <aj@suse.de>
8633         * rt/tst-aio.c: Mark test functions as static to avoid warnings.
8634         * rt/tst-aio64.c: Likewise.
8636 2000-11-27  Ulrich Drepper  <drepper@redhat.com>
8638         * catgets/Makefile (test1.cat): Set LC_ALL, LOCPATH, and GCONV_PATH
8639         for gencat run.
8640         (libc.cat): Likewise.
8641         * catgets/gencat.c: Implement handling of message catalogs encoded
8642         with stateful character sets.
8643         Based on a patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
8645 2000-11-26  Ulrich Drepper  <drepper@redhat.com>
8647         * sysdeps/unix/opendir.c (__opendir): Add cast to avoid warning.
8649         * inet/getnameinfo.c: Adjust casts to avoid warnings.
8650         * inet/rcmd.c: Likewise.
8651         * inet/ruserpass.c: Likewise.
8652         * inet/netinet/in.h (IN6_IS_ADDR_UNSPECIFIED, IN6_IS_ADDR_LOOPBACK,
8653         IN6_IS_ADDR_MULTICAST, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
8654         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, IN6_ARE_ADDR_EQUAL,
8655         IN6_IS_ADDR_MC_NODELOCAL, IN6_IS_ADDR_MC_LINKLOCAL,
8656         IN6_IS_ADDR_MC_SITELOCAL, IN6_IS_ADDR_MC_ORGLOCAL,
8657         IN6_IS_ADDR_MC_GLOBAL): Preserve const in cast.
8658         * include/aliases.h: Add prototypes for internal __getalias* functions.
8659         * include/netdb.h: Add prototypes for __old_gethostent_r,
8660         __old_gethostbyaddr_r, __old_gethostbyname_r, __old_gethostbyname2_r,
8661         __old_getnetent_r, __old_getnetbyaddr_r, __old_getnetbyname_r,
8662         __old_getservent_r, __old_getservbyname_r, __old_getservbyport_r,
8663         __old_getprotoent_r, __old_getprotobyname_r, __old_getprotobynumber_r.
8664         * include/rpc/netdb.h: Add prototypes for __old_getrpcbyname_r,
8665         __old_getrpcbynumber_r, __old_getrpcent_r.
8667         * include/rpc/netdb.h: Add __getrpcbyname_r, __getrpcbynumber_r,
8668         __getrpcent_r prototypes.
8670 2000-11-25  Ulrich Drepper  <drepper@redhat.com>
8672         * string/strcoll.c: Add casts to avoid warnings.
8673         * string/strnlen.c: Likewise.
8674         * string/strxfrm.c: Likewise.
8675         * sysdeps/generic/_strerror.c: Likewise.
8676         * sysdeps/generic/memrchr.c: Likewise.
8677         * sysdeps/generic/strcasestr.c: Likewise.
8678         * sysdeps/generic/strstr.c: Likewise.
8680         * locale/weight.h (findidx): Add const to cast to avoid warning.
8682         * elf/loadfail.c: Little cosmetic changes to avoid warnings.
8683         * elf/loadtest.c: Likewise.
8684         * elf/multiload.c: Likewise.
8685         * elf/next.c: Likewise.
8686         * elf/nodelete.c: Likewise.
8687         * elf/noload.c: Likewise.
8688         * elf/order.c: Likewise.
8689         * elf/origtest.c: Likewise.
8690         * elf/preloadtest.c: Likewise.
8691         * elf/restest1.c: Likewise.
8693         * sysdeps/i386/i486/bits/string.h (__strncat_g) [i686]: Fourth
8694         parameter of asm must be in %ecx.
8696         * string/tester.c: Mark test functions as static to avoid warnings.
8698         * iconv/gconv_conf.c (read_conf_file): Make mod_counter static to
8699         preserve value over different gconv-modules files.
8701 2000-11-24  Ulrich Drepper  <drepper@redhat.com>
8703         * locale/findlocale.c: Add casts to avoid warnings.
8704         * locale/localeinfo.h (LIMAGIC): Add cast to avoid warnings.
8705         * misc/efgcvt_r.c (fcvt_r): Use ssize_t instead of int and add cast
8706         to avoid warnings.
8707         * misc/tsearch.c (const_node): New type.
8708         (trecurse): Correct casts to avoid warnings.
8709         (__twalk): Likewise.
8710         * stdlib/tst-limits.c: Add z modifier to formats for WORD_BIT and
8711         LONG_BIT.
8713         * debug/backtrace-tst.c (compare): Add casts to avoid warnings.
8715         * test-skeleton.c: Mark local functions as static to avoid warnings.
8717 2000-11-23  H.J. Lu  <hjl@gnu.org>
8719         * rt/tst-aio6.c (do_test): Use pipe instead of STDIN_FILENO to
8720         support the background job.
8721         Fix a typo.
8723 2000-11-24  Ulrich Drepper  <drepper@redhat.com>
8725         * iconv/gconv_conf.c (insert_module): Replace old entry if new one
8726         has same names but lower cost.
8728 2000-11-23  Jakub Jelinek  <jakub@redhat.com>
8730         * sysdeps/sparc/sparc32/dl-machine.h: Ifdef out handling for relocs
8731         which never occur during bootstrap.
8732         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
8734 2000-11-23  Andreas Jaeger  <aj@suse.de>
8736         * nss/nss_files/files-hosts.c: Remove getipnodebyname.
8738         * nss/Versions: Remove _nss_files_getipnodebyname_r.
8740         * sysdeps/unix/sysv/linux/Versions: Fix typo in last patch.
8742 2000-11-18  Martin Buchholz  <martin@xemacs.org>
8744         * csu/gmon-start.c (__gmon_start__): Avoid over-clever trick `if
8745         (called++) return;'
8747 2000-11-21  Alan Modra  <alan@linuxcare.com.au>
8749         * sysdeps/generic/bsd-_setjmp.c (setjmp): Rename to _setjmp.
8751         * csu/abi-note.S: Correct comment for operating system number.
8753 2000-11-22  Ulrich Drepper  <drepper@redhat.com>
8755         * Versions.def: Add GLIBC_2.2.1 for glibc.
8757 2000-11-22  Andreas Schwab  <schwab@suse.de>
8759         * sysdeps/unix/sysv/linux/syscalls.list: Add pivot_root.
8760         * sysdeps/unix/sysv/linux/Versions: Add pivot_root at GLIBC_2.2.1.
8762 2000-11-22  Ulrich Drepper  <drepper@redhat.com>
8764         * rt/aio_suspend.c (aio_suspend): Convert timeout value to
8765         absolute time for pthread_cond_timedwait call.
8766         Reported by Lawrence Chen <lchen@opentext.com> [libc/1930].
8768         * rt/Makefile (tests): Add tst-aio6.
8769         * rt/tst-aio6.c: New file.
8771 2000-11-23  Andreas Jaeger  <aj@suse.de>
8773         * sysdeps/s390/bits/string.h (strncat): Fix one more typo.
8775 2000-11-22  Andreas Jaeger  <aj@suse.de>
8777         * sysdeps/s390/bits/string.h (strncat): Add missing quotation marks.
8779 2000-11-21  Martin Schwidefsky  <schwidefsky@de.ibm.com>
8781         * sysdeps/s390/bits/string.h: Make strncat always add a \0.
8783 2000-11-21  Andreas Schwab  <schwab@suse.de>
8785         * sysdeps/alpha/setjmp.S: Remove __setjmp entry point.
8786         * sysdeps/arm/setjmp.S: Likewise.
8787         * sysdeps/arm/fpu/setjmp.S: Likewise.
8788         * sysdeps/i386/setjmp.S: Likewise.
8789         * sysdeps/i386/elf/setjmp.S: Likewise.
8790         * sysdeps/s390/setjmp.S: Likewise.
8791         * sysdeps/s390/elf/setjmp.S: Likewise.
8792         * sysdeps/sh/sh3/setjmp.S: Likewise.
8793         * sysdeps/sh/sh4/setjmp.S: Likewise.
8794         * sysdeps/sparc/sparc32/setjmp.S: Likewise.
8795         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
8796         * sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S: Likewise.
8797         * sysdeps/unix/sysv/linux/m68k/setjmp.c: Removed.
8799 2000-11-21  Andreas Jaeger  <aj@suse.de>
8801         * sysdeps/generic/__longjmp.c (__longjmp): Remove obsolete
8802         NORETURN, fix parameter list.
8804         * string/bug-strncat1.c (main): Fix typo.
8805         Patch by Bernhard Kaindl <bernhard.kaindl@suse.de>.
8807 2000-11-20  Ulrich Drepper  <drepper@redhat.com>
8809         * configure.in: Add --enable-all-warnings.
8810         * config.make.in (all-warnings): New variable.
8811         * Makeconfig (+gccwarn): Define with many more warnings if
8812         all-warnings is yes.
8814 2000-11-20  Jakub Jelinek  <jakub@redhat.com>
8816         * iconvdata/bug-iconv2.c (main): Use %zd in format string.
8817         * io/test-lfs.c (do_test): Cast statbuf.st_size to long long.
8818         * malloc/tst-valloc.c (main): Cast valloc return value to long.
8819         * malloc/tst-obstack.c (verbose_malloc): Use %zd in format string.
8820         * math/test-fpucw.c (main): Use %lx in format string, cast
8821         control words to long.
8822         * stdio-common/tst-fmemopen.c (main): Use %td in format strings.
8823         * stdlib/tst-strtol.c (tests): Avoid (bogus?) decimal constant is so
8824         large that it is unsigned warning.
8826         * sysdeps/unix/sysv/linux/sparc/bits/types.h (__ssize_t): Changing
8827         it to long on sparc64.
8829 2000-11-20  Andreas Jaeger  <aj@suse.de>
8831         * nscd/nscd.h (termination_handler): Add noreturn attribute.
8832         (receiv_print_stats): Likewise.
8834         * elf/ldconfig.c (path_hwcap): Cast -1 for proper comparison.
8836 2000-11-20  Ulrich Drepper  <drepper@redhat.com>
8838         * malloc/thread-m.h: gcc doesn't tolerate zero-sized types anymore.
8840         * csu/gmon-start.c: Always have prototype for __gmon_start.
8841         * csu/version.c: Add prototypes for __libc_print_version and
8842         __libc_main.
8843         * iconv/gconv.c: Include gconv_int.h and gconv.h.
8844         * iconv/gconv.h (struct __gconv_step): Remove const from __from_name
8845         and __to_name.
8846         * iconv/gconv_builtin.h: Add ASCII module definitions.
8847         * iconv/gconv_conf.c (__gconv_path_elem): Remove const.
8848         (add_module): Add cast to avoid warning.  Rework construction of
8849         strings for new module.
8850         * iconv/gconv_db.c (__gconv_alias_compare): Make s1 and s2 const.
8851         (derivation_compare): Likewise.
8852         * iconv/gconv_dl.c (do_release_shlib): Remove const from nodep.
8853         (__gconv_release_shlib): Cast do_release_shlib as parameter for twalk.
8854         * iconv/gconv_int.h (__gconv_path_elem): Remove const.
8855         (struct gconv_alias): Remove const from fromname and toname.
8856         * iconv/gconv_simple.c: Include gconv_builtin.h to get prototypes
8857         for loop functions.
8858         (internal_ucs4_loop): Use correct const-ness.
8859         (ucs4_internal_loop): Likewise.
8860         (internal_ucs4le_loop): Likewise.
8861         (ucs4le_internal_loop_single): Likewise.
8862         * iconv/gconv_trans.c (__gconv_transliterate): Make from_idx, from_tbl,
8863         to_idx, to_tbl, winbuf, winbufend const.  Change casts in
8864         assignments appropriately.
8865         (struct known_trans): Remove const from fname.
8866         (trans_compare): Make s1 and s2 const.
8867         * iconv/loop.c (LOOPFC): Make outend parameter const.  Add cast to
8868         avoid warning.
8869         * iconv/skeleton.c: Remove cast in calls of loop functions.
8870         * iconvdata/gconv-modules: Remove US-ASCII definitions.
8871         * iconvdata/iso646.c: Remove US_ASCII support.
8872         * include/set-hooks.h (DEFINE_HOOK): Also generate prototype.
8873         * include/unistd.h: Add __libc_check_standard_fds prototype.
8874         * string/bits/string2.h (__mempcpy_args): Add const to casts.
8875         * sysdeps/generic/initfini.c: Add prototypes for dummy, _init, and
8876         _fini.
8877         * sysdeps/generic/libc-start.c: Add prototype for __libc_start_main.
8878         * sysdeps/i386/i486/bits/string.h (strcmp): Add const to casts.
8879         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Add cast to avoid
8880         warning.
8881         * sysdeps/unix/sysv/linux/init-first.c: Add prototypes for
8882         __libc_init_first and _dl_start.
8883         * intl/dcigettext.c (transcmp): Make s1 and s2 const.
8884         (DCIGETTEXT): Make domaindata variable const.
8885         * intl/loadmsgcat.c (_nl_load_domain): Rearrange domain initialization
8886         to avoid warning.
8888 2000-11-20  Hiroyuki Machida  <machida@sm.sony.co.jp>
8890         * sysdeps/unix/sysv/linux/mips/clone.S: Fix comments.
8892         * sysdeps/unix/sysv/linux/mips/kernel_stat.h (kernel_stat): Expand
8893         time_t to 'long int' not, 'unsigned int'.  Use 'long int' for
8894         __unused? members.
8896         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (O_NOFOLLOW): Use same
8897         value defined in /usr/include/asm-mips/fcntl.h.
8899 2000-11-18  Ulrich Drepper  <drepper@redhat.com>
8901         * stdio-common/Makefile (tests): Add test-vfprintf.
8902         (test-vfprintf-ENV): New variable.
8903         * stdio-common/test-vfprintf.c: New file.
8905         * wcsmbs/mbrtowc.c (__mbrtowc): Do not only flush if input is '\0'.
8907         * wcsmbs/Makefile (tests): Add tst-mbrtowc and tst-wcrtomb.
8908         (tst-mbrtowc-ENV): New variable.
8909         (tst-wcrtomb-ENV): New variable.
8910         * wcsmbs/tst-mbrtowc.c: New file.
8911         * wcsmbs/tst-wcrtomb.c: New file.
8913 2000-11-16  Andreas Jaeger  <aj@suse.de>
8915         * manual/install.texi (Tools for Compilation): Update
8916         documentation for GCC 2.95.2.
8918 2000-11-18  Ulrich Drepper  <drepper@redhat.com>
8920         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only return -EAI_AGAIN
8921         if IPv4 and IPv6 requests timed out.
8923 2000-11-18  Akim Demaille  <akim@epita.fr>
8925         * malloc/obstack.h: Formatting changes.
8926         (obstack_grow, obstack_grow0): Don't cast WHERE at all: it
8927         prevents type checking.
8928         (obstack_ptr_grow, obstack_ptr_grow_fast): When assigning, don't
8929         cast the value to (void *): assigning a `foo *' to a `void *'
8930         variable is valid.
8931         (obstack_int_grow, obstack_int_grow_fast): Don't cast AINT to int.
8933 2000-11-17  Ulrich Drepper  <drepper@redhat.com>
8935         * scripts/config.guess: Update from upstream maintainer.
8936         * scripts/config.sub: Likewise.
8938 2000-11-16  Ulrich Drepper  <drepper@redhat.com>
8940         * libio/freopen.c (freopen): Reset _mode after succesful reopening.
8941         * libio/freopen64.c (freopen64): Likewise.
8942         Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
8944         * libio/Makefile: Add rules to build and run test-freopen.
8945         * libio/test-freopen.c: New file.
8946         * libio/test-freopen.sh: New file.
8948 2000-11-15  H.J. Lu  <hjl@gnu.org>
8950         * sysdeps/generic/ldsodefs.h (DL_DT_INIT_ADDRESS): Defined if
8951         ELF_FUNCTION_PTR_IS_SPECIAL is not defined.
8952         (DL_DT_FINI_ADDRESS): Likewise.
8954         * sysdeps/ia64/dl-lookupcfg.h (_dl_lookup_address): Set the
8955         return type to ElfW(Addr).
8956         (_dl_function_address): New prototype.
8957         (DL_FUNCTION_ADDRESS): Defined.
8958         (DL_DT_INIT_ADDRESS): Defined as DL_FUNCTION_ADDRESS.
8959         (DL_DT_FINI_ADDRESS): Likewise.
8961         * sysdeps/ia64/Versions (GLIBC_2.2): Add _dl_function_address.
8963         * sysdeps/ia64/dl-machine.h (_dl_start_address): Removed.
8964         (ELF_MACHINE_START_ADDRESS): Changed to DL_FUNCTION_ADDRESS.
8966         * sysdeps/ia64/dl-symaddr.c (_dl_start_address): Renamed to ...
8967         (_dl_function_address): This.
8969         * elf/dl-fini.c (_dl_fini): Use DL_DT_FINI_ADDRESS to get the
8970         function pointer for DT_FINI.
8971         * elf/dl-close.c (_dl_close): Likewise.
8973         * elf/dl-init.c (_dl_init): Use DL_DT_INIT_ADDRESS to get the
8974         function pointer for DT_INIT.
8976 2000-11-16  Jakub Jelinek  <jakub@redhat.com>
8978         * sysdeps/generic/printf_fphex.c (__printf_fphex): Compute correctly
8979         end of wexpbuf buffer.
8981 2000-11-16  Andreas Jaeger  <aj@suse.de>
8983         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove duplicate
8984         definition of F_GETLK, F_SETLK, F_SETLKW.
8986 2000-11-16  Andreas Jaeger  <aj@suse.de>
8988         * sysdeps/generic/dl-cache.c (_DL_PLATFORMS_COUNT): Define to 0 if
8989         it's not defined.
8991 2000-11-15  Jakub Jelinek  <jakub@redhat.com>
8993         * dlfcn/default.c (main): Add test for dladdr of main returning
8994         argv[0] in dli_fname field.
8996 2000-11-15  Jakub Jelinek  <jakub@redhat.com>
8998         * Makeconfig (run-program-prefix): Move test-static test into the
8999         variable.
9001         * sysdeps/alpha/dl-machine.h (RTLD_START): Update _dl_argv.
9002         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise,
9003         schedule instructions.
9004         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise,
9005         schedule instructions, fix a bug in copying auxiliary data.
9007 2000-11-15  Ulrich Drepper  <drepper@redhat.com>
9009         * manual/startup.texi (Program Arguments): Fix type of main's envp
9010         parameter.
9011         Reported by Raúl Núñez de Arenas Coronado <dervishd@linuxfreak.com>.
9013         * iconvdata/gconv-modules: Add CP950 alias.
9015 2000-11-13  Jakub Jelinek  <jakub@redhat.com>
9017         * sysdeps/unix/sysv/linux/Makefile: Allow ports to override
9018         syscall-list.h goal.
9019         * sysdeps/unix/sysv/linux/sparc/Makefile: New file.
9021 2000-11-15  Ulrich Drepper  <drepper@redhat.com>
9023         * intl/Makefile: tst-gettext2.sh does not need a third parameter.
9025         * intl/tst-gettext2.sh: Copy locale data.  Adjust LOCPATH.  Verify
9026         output of program.
9028         * intl/tst-gettext2.c: Set C locale if setting other locale
9029         failed.  Use gettext() not _().
9031         * locale/setlocale.c: Increment _nl_msg_cat_cntr whenever we
9032         successfully loaded a new locale.
9034 2000-11-13  Andreas Jaeger  <aj@suse.de>
9036         * configure.in: Require gcc 2.95 or newer.
9038 2000-11-15  Ulrich Drepper  <drepper@redhat.com>
9040         * sysdeps/unix/sysv/linux/paths.h: Adjust for FHS.
9041         Patch by Arkadiusz Miskiewicz <misiek@pld.ORG.PL>.
9043 2000-11-11  Jim Meyering  <meyering@lucent.com>
9045         * string/strndup.c (strndup): Cast return value to `char *'.
9047 2000-11-15  Jim Meyering  <meyering@ascend.com>
9049         * sysdeps/generic/memchr.c: Remove some useless parentheses.
9050         [HAVE_STDLIB_H || defined _LIBC]: Include <stdlib.h>.
9051         [HAVE_BP_SYM_H || defined _LIBC]: Guard inclusion of bp-sym.h.
9052         [! (HAVE_BP_SYM_H || defined _LIBC)] (BP_SYM): Define as no-op.
9053         Also #undef __memchr.
9054         Use `weak_alias' only if it's defined.
9056 2000-11-10  H.J. Lu  <hjl@gnu.org>
9058         * Makefile.in (install): Set LANGUAGE=C LC_ALL=C.
9060 2000-11-15  Andreas Jaeger  <aj@suse.de>
9062         * elf/chroot_canon.c: Include <stdint.h>.
9064         * elf/cache.c (struct cache_entry): Use uint64_t for hwcap.
9065         (print_entry): Likewise.
9066         (add_to_cache): Likewise.
9068         * elf/ldconfig.h (add_to_cache): Change prototype for hwcap change.
9070         * elf/ldconfig.c (struct lib_entry): Use uint64_t for hwcap.
9071         (path_hwcap): Likewise.
9072         (search_dir): Likewise.
9074         * sysdeps/generic/dl-cache.c (HWCAP_CHECK): Handle platform.
9076         * elf/cache.c (add_to_cache): Handle 64 bit hwcap entry.
9078         * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h
9079         (_dl_platform_string): New.
9080         (_DL_HWCAP_PLATFORM): New.
9081         (_dl_string_platform): New.
9082         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h: Likewise.
9084         * sysdeps/generic/dl-procinfo.h (_DL_HWCAP_COUNT): New.
9085         (_dl_string_platform): New.
9086         (_DL_HWCAP_PLATFORM): New.
9087         (_dl_platform_string): New.
9089         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Added x86 platform
9090         recognition.
9091         (_DL_HWCAP_COUNT): New.
9092         (_dl_string_platform): New.
9093         (_DL_HWCAP_PLATFORM): New.
9094         (_dl_platform_string): New.
9096 2000-11-14  Ulrich Drepper  <drepper@redhat.com>
9098         * iconvdata/gconv-modules: Add CP936 as alias for GBK.
9100 2000-11-14  Andreas Jaeger  <aj@suse.de>
9102         * sysdeps/generic/dl-cache.c (HWCAP_CHECK): Fix access to _dl_hwcap.
9104 2000-11-13  Roland McGrath  <roland@frob.com>
9106         * hurd/get-host.c (_hurd_get_host_config): Fix last change.
9108 2000-11-13  Marcus Brinkmann <marcus@gnu.org>
9110         * hurd/get-host.c (_hurd_get_host_config): Fix possible buffer
9111         underrun and make sure the result is null terminated even if there
9112         is no trailing newline.
9114 2000-11-13  Jakub Jelinek  <jakub@redhat.com>
9116         * sysdeps/alpha/fpu/libm-test-ulps: Update.
9118 2000-11-10  H.J. Lu  <hjl@gnu.org>
9120         * sysdeps/ia64/fpu/libm-test-ulps: Updated.
9122 2000-11-10  Andreas Jaeger  <aj@suse.de>
9124         * elf/ldconfig.c (create_links): Fix alloca calculation.
9125         Patch by Ben Collins <bcollins@debian.org>.
9127 2000-11-09  Ulrich Drepper  <drepper@redhat.com>
9129         * inet/getnameinfo.c (getnameinfo): Use correct destination
9130         parameter for if_indextoname.
9131         Patch by Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>.
9133 2000-11-09  H.J. Lu  <hjl@gnu.org>
9135         * sunrpc/Versions (GLIBC_2.1): Remove xdr_cryptkeyarg,
9136         xdr_cryptkeyarg2, xdr_cryptkeyres, xdr_des_block,
9137         xdr_key_netstarg, xdr_key_netstres, xdr_keybuf and
9138         xdr_keystatus.
9140         * time/Versions (GLIBC_2.1): Move getitimer to...
9141         * sysdeps/unix/sysv/linux/alpha/Versions (GLIBC_2.1): ...here.
9143 2000-11-03  Bruno Haible  <haible@clisp.cons.org>
9145         * manual/install.texi: Recommend to set LANGUAGE=C LC_ALL=C during
9146         "make install", to work around a binary incompatibility between
9147         glibc 2.1 and glibc 2.2 gconv modules.
9149 2000-11-09  Ulrich Drepper  <drepper@redhat.com>
9151         * intl/locale.alias: Add thai.
9152         Patch by Chanop Silpa-Anan <chanop@syseng.anu.edu.au>.
9154 2000-11-07  Akim Demaille  <akim@epita.fr>
9156         * malloc/obstack.c (obstack_grow, obstack_grow0): Rename the second
9157         argument `data' for consistency with the prototypes.
9158         Qualify it `const'.
9159         (obstack_copy, obstack_copy0): Rename the second argument as
9160         `address' for consistency.  Qualify it `const'.
9161         * malloc/obstack.h (obstack_copy, obstack_copy0, obstack_grow)
9162         (obstack_grow0, obstack_ptr_grow, obstack_ptr_grow_fast): Qualify
9163         `const' their input argument (`data' or `address').
9164         Adjust the corresponding macros to include `const' in casts.
9166 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
9168         * sysdeps/posix/getaddrinfo.c: Clean-up: define family to hold
9169         target family.
9171 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
9173         * sysdeps/posix/getaddrinfo.c: Loosen protocol check to ease raw
9174         socket creation.
9176 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
9178         * sysdeps/posix/getaddrinfo.c: Ensure to fill ai_socktype and
9179         ai_protocol by internal table if service was not given.
9181 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
9183         * sysdeps/posix/getaddrinfo.c: Don't raise an error even if
9184         numerical port was specified with protocol without socktype.
9186 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
9188         * sysdeps/posix/getaddrinfo.c: Ensure to check if protocol is ok.
9190 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
9192         * inet/getnameinfo.c: getnameinfo() NI_xxx flag validation.
9194 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
9196         * sysdeps/posix/getaddrinfo.c: Ensure not to fill garbage value in
9197         sin6_scope_id field.
9199 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
9201         * inet/getnameinfo.c: Repair getnameinfo() sin6_socpe_id support.
9203 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
9205         * inet/getnameinfo.c: Repair NI_NOFQDN flag support.
9207 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
9209         * inet/getnameinfo.c: Wake-up sin6_scope_id support in
9210         getnameinfo(): check for whether sin6_socpe_id exist was wrong.
9212 2000-11-09  Martin Schwidefsky  <mschwide@nc.boeblingen.de.ibm.com>
9214         * sysdeps/unix/sysv/linux/s390/mmap.S: Use mmap2 if it is present.
9215         * sysdeps/unix/sysv/linux/s390/mmap64.S: New file.
9217 2000-11-09  H.J. Lu  <hjl@gnu.org>
9219         * io/Versions (GLIBC_2.1.1): Remove lockf64.
9222 See ChangeLog.11 for earlier changes.