(put16) [!_STRING_ARCH_unaligned && BIG_ENDIAN]: Fix index.
[glibc.git] / ChangeLog
blob2a3e281d761e9b4fda054981d5f43fd4d680da3a
1 2001-07-09  Andreas Jaeger  <aj@suse.de>
3         * sysdeps/unix/sysv/linux/i386/dl-procinfo.c: Name entry for xmm2.
5         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Add HWCAP_I386_XMM,
6         HWCAP_I386_XMM2 to enum.
8 2001-07-13  Andreas Jaeger  <aj@suse.de>
10         * libio/fileops.c: Include unistd.h for lseek64 prototype.  Closes
11         PR libc/2372.
13 2001-07-12  Ulrich Drepper  <drepper@redhat.com>
15         * Makeconfig: Add some more changes to handle AIX linker better.
17 2001-07-12  H.J. Lu  <hjl@gnu.org>
19         * sysdeps/generic/segfault.c: Include <errno.h>.
21 2001-07-01  Andreas Jaeger  <aj@suse.de>
23         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk): Remove duplicate
24         sbrk.  Closes PR libc/2312.
26 2001-07-01  Andreas Jaeger  <aj@suse.de>
28         * sysdeps/generic/segfault.c (install_handler): Handle case that
29         the output file does not exists.  Closes PR libc/2345.
31 2001-07-11  Ulrich Drepper  <drepper@redhat.com>
33         * intl/locale.alias: Use he language code for hebrew, not il
34         [PR libc/2382].
36 2001-07-11  Jakub Jelinek  <jakub@redhat.com>
38         * iconv/gconv_int.h: Fix comment typo.
40 2001-07-11  Igor Khavkine  <i_khavki@alcor.concordia.ca>
42         * hurd/hurdsig.c (_hurdsig_init): Remove a useless line of code.
44 2001-07-07  Roland McGrath  <roland@frob.com>
46         * hurd/hurdsig.c (_hurd_thread_sigstate): Use MACH_PORT_NULL, not 0.
48 2001-07-10  Stephen L Moshier  <moshier@mediaone.net>
50         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl):  Fix
51         backwards conditional in test for x == 1.0.
53 2001-07-10  Andreas Jaeger  <aj@suse.de>
55         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Add ulps for tanh
56         (-0.7).
58 2001-07-09  Andreas Jaeger  <aj@suse.de>
60         * sysdeps/unix/sysv/linux/configure.in: Revert patch from
61         2001-07-05 for sysconfdir handling.
62         * config.make.in (sysconfdir): Likewise.
63         * configure.in: Likewise.
65         * configure.in: Always assign libc_cv_sysconfdir.
67 2001-07-08  Ulrich Drepper  <drepper@redhat.com>
69         * Makerules [AIX] (build-shlib-helper): Precede linker options
70         with -Wl.
72         * Makeconfig (config-LDFLAGS): Add ld.so only for ELF.
74         * sysdeps/unix/make_errlist.c: Adjust sys_errlist declaration to
75         what we define in <stdio.h>.
77         * iconv/iconv_prog.c (main): Don't unconditionally define
78         variables only use if _POSIX_MAPPED_FILES is defined.
80         * sysdeps/unix/sysv/aix/sendmsg.c (sendmsg): Fix return type.
81         * sysdeps/unix/sysv/aix/recvmsg.c (recvmsg): Likewise.
83         * sysdeps/unix/sysv/aix/recv.c: New file.
85         * sysdeps/unix/sysv/aix/recvfrom.c: Fix various types.
87 2001-07-07  Ulrich Drepper  <drepper@redhat.com>
89         * sysdeps/generic/recv.c: Fix return type.
91         * sysdeps/unix/sysv/aix/dl-libc.c (__libc_dlclose): Fix typo.
93         * sysdeps/unix/sysv/aix/gettimeofday.c (__gettimeofday): Add
94         declarations for asm functions.
96         * include/libc-symbols.h: Provide more dummy definitions for the
97         case if GNU ld isn't used.
99         * libio/freopen.c: Include <stdlib.h> for free declaration.
100         * libio/freopen64.c: Likewise.
102         * sysdeps/alpha/fpu/libm-test-ulps: Add deltas for tanh(-0.7).
104 2001-07-06  Jakub Jelinek  <jakub@redhat.com>
106         * sysdeps/unix/sysv/linux/i386/sigaction.c (RESTORE2): Put asm
107         explicitly into .text section.
109 2001-04-16  Jes Sorensen  <jes@linuxcare.com>
111         * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h (struct sigcontext):
112         Add 16 longwords reserved for future use to match changes in the
113         kernel.
115 2001-07-03  Jes Sorensen  <jes@trained-monkey.org>
117         * sysdeps/ia64/strncpy.S: Call strnlen() when determining the
118         string length rather than strlen(). Solves the performance problem
119         of doing strlen on a 5MB string when strncpy was called with a
120         length argument of 5 bytes.
122 2001-07-02  Jakub Jelinek  <jakub@redhat.com>
124         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
125         R_SPARC_UA16 and R_SPARC_UA32.
126         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
128 2001-07-01  Stephen L Moshier  <moshier@mediaone.net>
130         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl):
131         acosh(x) = ln(2x) if x > 2^30.
132         * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl):
133         acosh(x) = ln(2x) if x > 2^54.
135 2001-07-07  Mark Kettenis  <kettenis@gnu.org>
137         * sysdeps/mach/hurd/i386/exc2signal.c (_hurd_exception2signal):
138         Generate SIGSEGV instead of SIGBUS for KERN_INVALID_ADDRESS and
139         KERN_WRITE_PROTECTION_FAILURE.
141 2001-07-07  Ulrich Drepper  <drepper@redhat.com>
143         * posix/regex.c: Limit string length printed in debug messages to
144         100 chars.
146         * configure.in: Don't warn about versioning if not on ELF system.
148 2001-07-07  Andreas Jaeger  <aj@suse.de>
150         * sysdeps/*: Put files from GNU MP Library under LGPL v2.1.
152 2001-07-06  Ulrich Drepper  <drepper@redhat.com>
154         * po/gl.po: Update from translation team.
156 2001-07-06  Andreas Jaeger  <aj@suse.de>
158         * sysdeps/unix/sysv/linux/configure.in: Fix handling of
159         sysconfdir.
161         * manual/libc-texinfo.sh: Add note for the FDL.
163         * manual/argp.texi (Argp Example 4): Fix texinfo warning.
165         * manual/libc.texinfo: Regenerated.
167         * manual/fdl.texi: Fix node.
169         * config.make.in (sysconfdir): Replace correctly.
170         Closes PR libc/2369, reported by Peter Simons <simons@cryp.to>.
172         * sysdeps/unix/sysv/linux/alpha/configure.in: Removed, it's no
173         longer needed.
175         * sysdeps/unix/sysv/linux/configure.in (libc_cv_linuxVER): Add
176         case for alpha.
177         Rework handling of missing linuxthreads add-on.
179         * configure.in: Remove unused sysconfdir substitution.
181         * manual/Makefile (texis): Add fdl.texi.
182         * manual/fdl.texi: New.
183         * manual/socket.texi (Host Names): Improve grammar, fix overflow hbox.
184         * manual/libc.texinfo: Add fdl, update titlepage.
185         Patches by Brian Youmans <3diff@gnu.org>.
187         * sysdeps/unix/make_errlist.c (main): Print LGPL v2.1 for
188         generated file.
190 2001-07-06  Paul Eggert  <eggert@twinsun.com>
192         * manual/argp.texi: Remove ignored LGPL copyright notice; it's
193         not appropriate for documentation anyway.
194         * manual/libc-texinfo.sh: "Library General Public License" ->
195         "Lesser General Public License".
196         * COPYING: Fix Y2k bug in sample copyright notices.
197         * manual/lesser.texi: Renamed from manual/lgpl.texinfo,
198         as fsf.org uses the name "lesser.texi".
199         * manual/Makefile (texis): Follow rename.
201 2001-07-06  Andreas Jaeger  <aj@suse.de>
203         * All files under GPL/LGPL version 2: Place under LGPL version
204         2.1.
206 2001-07-05  Andreas Jaeger  <aj@suse.de>
208         Synch with Linux 2.4.6:
209         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_BLUETOOTH):
210         New.
211         (AF_BLUETOOTH): New.
213         * sysdeps/unix/sysv/linux/s390/s390-64/bits/socket.h
214         (PF_BLUETOOTH): New.
215         (AF_BLUETOOTH): New.
217         * sysdeps/unix/sysv/linux/mips/bits/socket.h (AF_BLUETOOTH): New.
218         (PF_BLUETOOTH): New.
220         * sysdeps/unix/sysv/linux/ia64/bits/socket.h (AF_BLUETOOTH): New.
221         (PF_BLUETOOTH): New.
223         * sysdeps/unix/sysv/linux/alpha/bits/socket.h (PF_BLUETOOTH): New.
224         (AF_BLUETOOTH): New.
226         * sysdeps/unix/sysv/linux/bits/socket.h (PF_BLUETOOTH): New.
227         (AF_BLUETOOTH): New.
229         * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_IEEE80211): New.
231         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (N_HCI): New.
233         * sysdeps/unix/sysv/linux/mips/bits/ioctl-types.h (N_HCI): New.
235         * sysdeps/unix/sysv/linux/bits/ioctl-types.h (N_HCI): New.
237 2001-07-04  Roland McGrath  <roland@frob.com>
239         * hurd/hurdsig.c (_hurd_internal_post_signal): For SS->suspended
240         wakeup message, use MACH_MSG_TYPE_MAKE_SEND for the receiver port
241         rather than doing a mach_port_insert_right call first.
243 2001-06-26  Roland McGrath  <roland@frob.com>
245         * hurd/hurdioctl.c: Include <string.h> for memcpy decl.
247 2001-07-03  Andreas Jaeger  <aj@suse.de>
249         * sysdeps/unix/sysv/sysv4/solaris2/configure.in: Remove check for
250         crypt add-on.
252 2001-07-01  Mark Kettenis  <kettenis@gnu.org>
254         * sysdeps/mach/hurd/if_index.c: Redone to use new interfaces in
255         the Hurd pfinet server, using equivalent code from the Linux
256         version in sysdeps/unix/sysv/linux/if_index.c. In detail:
257         Include <unistd.h>, <error.h>, <sys/ioctl.h>, <hurd/ioctl.h> and
258         <hurd/pfinet.h>.  Don't include <sys/mman.h> and <hurd/fsys.h>
259         anymore.
260         (if_nametoindex): New implementation using SIOCGIFINDEX.
261         (if_freenameindex): Straight copy of the Linux version.
262         (if_nameindex): New implementation based on pfinet_siocgifconf and
263         SIOCGIFINDEX.
264         (if_indextoname): New implementation using SIOCGIFNAME.
265         (map_interfaces): Function removed.
266         From Marcus Brinkmann <marcus@gnu.org>.
268 2001-06-30  Jakub Jelinek  <jakub@redhat.com>
270         * sysdeps/powerpc/dl-machine.c (__elf_preferred_address): Prefer
271         gaps below main executable.
273 2001-06-19  Andreas Jaeger  <aj@suse.de>
275         * sysdeps/powerpc/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE):
276         Handle profiling.
278 2001-06-29  Andreas Jaeger  <aj@suse.de>
280         * sysdeps/ieee754/ldbl-128/s_asinhl.c: New file.
281         Patch by Stephen L Moshier <moshier@mediaone.net>.
283 2001-06-28  Ulrich Drepper  <drepper@redhat.com>
285         * manual/argp.texi: Tons of cleanups.
286         Patch by Clifford U. Smith <cuel@swbell.net>.
288 2001-06-28  Mark Kettenis  <kettenis@gnu.org>
290         * manual/users.texi (Setting Groups): Correct initgroups
291         documentation.  Add documentation for getgrouplist.
293 2001-06-28  H.J. Lu  <hjl@gnu.org>
295         * locale/findlocale.c (locale_file_list): Renamed to ...
296         (_nl_locale_file_list): This.  Make it extern.
297         (free_mem): Move to ...
298         * locale/setlocale.c (free_mem): Here.
300 2001-06-28  Mark Kettenis  <kettenis@gnu.org>
302         * sysdeps/mach/hurd/read.c: Include <hurd/fd.h>.
303         (__libc_read): Don't call __pread.  Use _hurd_fd_read directly
304         instead.
305         * sysdeps/mach/hurd/write.c: Include <hurd/fd.h>.
306         (__libc_write): Don't call __pwrite.  Use _hurd_fd_write directly
307         instead.
309         * sysdeps/mach/hurd/Makefile ($(link-rpcuserlibs)): Add back
310         -Wl,-soname option lost in 2001-06-16 change.
312 2001-06-27  Ulrich Drepper  <drepper@redhat.com>
314         * posix/tst-regex.c: Pass REG_NEWLINE to regcomp.  Add extra tests.
315         Restrict printing of string in debug mode to 100 characters to make
316         the output useful for long input texts.
318         * posix/Makefile: Add rules to build and run tst-regex.
320 2001-06-20  Isamu Hasegawa  <isamu@yamato.ibm.com>
322         * posix/regex.c (FREE_WCS_BUFFERS): New macro to free buffers.
323         (re_search_2): Invoke convert_mbs_to_wcs and FREE_WCS_BUFFERS.
324         (wcs_re_match_2_internal): Check whether the wcs buffers need
325         seting up or not, and skip seting up routin if not needed.
327 2001-06-26  Isamu Hasegawa  <isamu@yamato.ibm.com>
329         * posix/regex.c (count_mbs_length): Use binary search for optimization.
331 2001-06-27  Ulrich Drepper  <drepper@redhat.com>
333         * posix/tst-regex.c: Fix several bugs.  Add more tests.
335 2001-06-26  Mark Kettenis  <kettenis@gnu.org>
337         * hurd/Makefile (user-interfaces): Add pfinet.
338         * hurd/hurdioctl.c: Include <hurd/pfinet.h>, <net/if.h> and
339         <netinet/in.h>.
340         (siocgifconf): New function.  Register it with HURD_HANDLE_IOCTL
341         as the handler for SIOCGIFCONF.
342         * sysdeps/mach/hurd/bits/ioctls.h: Modify SIOCSIFFLAGS and
343         SIOCGIFFLAGS to be of IOC type ifreq_short.  Modify SIOCSIFMETRIC
344         and SIOCGIFMETRIC to be of IOC type ifreq_int.  Add new macro
345         definitions for SIOCGIFMTU, SIOCSIFMTU, SIOCGIFINDEX and
346         SIOCGIFNAME.
347         From Marcus Brunkmann <marcus@gnu.org>.
349 2001-06-25  Ulrich Drepper  <drepper@redhat.com>
351         * sysdeps/gnu/net/if.h: Correct _IOT_ifreq and add _IOT_ifreq_short
352         and _IOT_ifreq_int.  Patch by Mark Kettenis <kettenis@wins.uva.nl>.
354         * elf/dl-deps.c (_dl_map_object_deps): Fix handling of failing
355         _dl_catch_error calls.
357 2001-06-22  Jakub Jelinek  <jakub@redhat.com>
359         * posix/regex.c (regex_compile, re_match_2_internal): Fix comment
360         typos.
362 2001-06-01  Wolfram Gloger  <wg@malloc.de>
364         * malloc/malloc.c (malloc_atfork, free_atfork): Use a unique value
365         ATFORK_ARENA_PTR, not 0, for the thread-specific arena pointer
366         when malloc_atfork is in use.
368 2001-06-22  Andreas Jaeger  <aj@suse.de>
370         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Add parenthese
371         to avoid warnings.
373         * sysdeps/i386/fpu/e_expl.c (__ieee754_expl): Remove unused
374         variable.
375         Add unused attributes to avoid warnings.
377         * elf/reldep4mod4.c: Add prototype to avoid warning.
378         * elf/reldep4mod2.c: Likewise.
380         * sysdeps/i386/fpu/e_expl.c: Include <math_private.h> for
381         prototypes.
383 2001-06-18  Roland McGrath  <roland@frob.com>
385         * hurd/hurd/fd.h (_hurd_fd_error_signal): Change return type to int.
387 2001-06-20  Alexandre Oliva  <aoliva@redhat.com>
389         * sysdeps/unix/sysv/settimeofday.c: Include time.h.
391 2001-06-19  Martin Schwidefsky  <schwidefsky@de.ibm.com>
393         * sysdeps/unix/sysv/linux/s390/s390-64/dl-cache.h: New file.
395 2001-05-09  Michael Keezer  <mkeezer@redhat.com>
397         * Makeconfig: Added AIX-ld support for DSO.
398         * Makerules: Likewise.
399         * dlfcn/Makefile (defaultmod1.so): Added libc_nonshared.
400         (defaultmod2.so): Likewise.
401         * debug/Makefile: Conditionalize use of elf/ld.so.
402         * iconvdata/Makefile: Moved LDFLAG rpath/soname info into Makeconfig.
404         * sysdeps/unix/sysv/aix/Makefile: Added dl-support.c and dl-error.c.
405         * sysdeps/unix/sysv/aix/Makefile: Made (f/g)rsave(0/1) &
406         (f/g)prrest(0/1) static only.
407         * sysdeps/unix/sysv/aix/gettimeofday.c: Removed #if 0.
408         * sysdeps/unix/sysv/aix/start.c: Define __dso_handle if not ELF but
409         shared.
410         * sysdeps/unix/sysv/aix/setitimer.c: New file.
411         * sysdeps/unix/sysv/aix/sleep.c: New file.
412         * sysdeps/unix/sysv/aix/usleep.c: New file.
413         * sysdeps/unix/sysv/aix/dl-addr.c: New file.
414         * sysdeps/unix/sysv/aix/dl-error.c: New file.
415         * sysdeps/unix/sysv/aix/dl-support.c: New file.
416         * sysdeps/unix/sysv/aix/powerpc/register-dump.h: New file.
418 2001-06-19  Ulrich Drepper  <drepper@redhat.com>
420         * po/es.po: Update from translation team.
422 2001-06-19  Andreas Jaeger  <aj@suse.de>
424         * sysdeps/ieee754/ldbl-128/s_tanhl.c: New file.
426         * math/libm-test.inc (tanh_test): Test for 2^-56.
428         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Make sure result
429         equals argument when x < 2^-55.
430         Patches by Stephen L. Moshier <moshier@na-net.ornl.gov>.
432 2001-06-17  Alan Modra  <amodra@bigpond.net.au>
434         * sysdeps/hppa/dl-machine.h (elf_machine_rela): Handle relocs
435         at unaligned address.
437 2001-06-18  Ulrich Drepper  <drepper@redhat.com>
439         * posix/regex.c: Reorganize code to build code twice, once for single
440         byte, once for multi-byte charsets.  Choose function set adequate for
441         locale at runtime.
442         Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
444         * po/nl.po: Update from translation team.
446 2001-06-09  Bruno Haible  <haible@clisp.cons.org>
448         * iconvdata/gconv-modules (BIG5HKSCS): New alias BIG5-HKSCS.
449         (ISO-8859-14): New aliases ISO_8859-14 and ISO-CELTIC.
450         * iconvdata/tst-tables.sh: For BIG5HKSCS, use BIG5-HKSCS charmap.
452 2001-05-26  Bruno Haible  <haible@clisp.cons.org>
454         * iconvdata/tst-tables.sh: For SJIS module, use SHIFT_JIS charmap.
455         * manual/charset.texi: Write Shift_JIS, not Shift-JIS.
457 2001-06-17  Roland McGrath  <roland@frob.com>
459         * sysdeps/pthread/aio_misc.h (LIO_DSYNC): Define to LIO_NOP + 1,
460         not LIO_READ + 1 (which is the value of LIO_WRITE!).
462         * Makerules (build-module-helper-objlist): New variable,
463         broken out of build-module.  Insert --whole-archive/--no-whole-archive
464         immediately each *_pic.a file in the link object list.
465         (whole-archive): New variable, used by that.
466         (build-module-objlist): New variable using build-module-helper-objlist.
467         (build-module, build-module-helper): Use it.
468         (build-shlib-objlist): New variable using build-module-helper-objlist.
469         (build-shlib): Use that.
470         * sysdeps/mach/hurd/Makefile ($(link-rpcuserlibs)): Likewise.
472         * posix/spawni.c: Moved to ...
473         * sysdeps/posix/spawni.c: ... here.
474         * sysdeps/generic/spawni.c: New file.
476 2001-06-16  Roland McGrath  <roland@frob.com>
478         * hurd/Makefile (routines): Add lookup-retry.
479         * hurd/hurdlookup.c (__hurd_file_name_lookup_retry): Broken out ...
480         * hurd/lookup-retry.c: ... into here, new file.
481         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Call that instead
482         using of duplicate code here.
484         * hurd/hurdexec.c (_hurd_exec): Be robust for DTABLESIZE==0.
486 2001-06-17  Ulrich Drepper  <drepper@redhat.com>
488         * po/ja.po: Update from translation team.
490 2001-06-04  Bruno Haible  <haible@clisp.cons.org>
492         * locale/programs/locfile.c (siblings_uncached, siblings, full_read,
493         compare_files): New functions.
494         (write_locale_data): Use xmalloc.  Compare the file with the locale
495         data files for the same category in other locales, and reuse it if
496         possible and safe.
498 2001-06-07  Mark Kettenis  <kettenis@gnu.org>
500         * grp/initgroups.c (initgroups): Factor out re-usable code into...
501         (internal_getgrouplist): ... new function.
502         (getgrouplist): New function.
503         * grp/grp.h (getgrouplist): New prototype.
504         * grp/Versions [2.2.4]: Add getgrouplist.
506 2001-06-16  Ulrich Drepper  <drepper@redhat.com>
508         * inet/netinet/ip6.h: Fix comments in ip6_hdr.
509         Patch by Pekka Savola <pekkas@netcore.fi>.
511 2001-06-15  Roland McGrath  <roland@frob.com>
513         * rt/Makefile (aio-routines, clock-routines, timer-routines): New
514         variables, broken out of librt-routines.
515         (librt-routines): Set using those.
516         (extra-libs, extra-libc-others, tests): Set these unconditionally.
517         (distribute): No need for $(librt-map) or $(librt-routines:=.c) here.
518         * sysdeps/generic/aio_fsync.c: New file.
519         * sysdeps/generic/aio_misc.c: New file.
520         * sysdeps/generic/aio_write.c: New file.
521         * sysdeps/generic/aio_write64.c: New file.
522         * sysdeps/generic/aio_read64.c: New file.
523         * sysdeps/generic/aio_read.c: New file.
524         * sysdeps/generic/aio_notify.c: New file.
525         * sysdeps/generic/lio_listio64.c: New file.
526         * sysdeps/generic/lio_listio.c: New file.
527         * sysdeps/generic/aio_cancel.c: New file.
528         * sysdeps/generic/aio_misc.h: New file.
529         * sysdeps/generic/aio_suspend.c: New file.
530         * rt/aio_cancel.c: Moved to ...
531         * sysdeps/pthread/aio_cancel.c: ... here.
532         * rt/aio_fsync.c: Moved to ...
533         * sysdeps/pthread/aio_fsync.c: ... here.
534         * rt/aio_misc.c: Moved to ...
535         * sysdeps/pthread/aio_misc.c: ... here.
536         * rt/aio_misc.h: Moved to ...
537         * sysdeps/pthread/aio_misc.h: ... here.
538         * rt/aio_notify.c: Moved to ...
539         * sysdeps/pthread/aio_notify.c: ... here.
540         * rt/aio_read.c: Moved to ...
541         * sysdeps/pthread/aio_read.c: ... here.
542         * rt/aio_read64.c: Moved to ...
543         * sysdeps/pthread/aio_read64.c: ... here.
544         * rt/aio_suspend.c: Moved to ...
545         * sysdeps/pthread/aio_suspend.c: ... here.
546         * rt/aio_write.c: Moved to ...
547         * sysdeps/pthread/aio_write.c: ... here.
548         * rt/aio_write64.c: Moved to ...
549         * sysdeps/pthread/aio_write64.c: ... here.
550         * rt/lio_listio.c: Moved to ...
551         * sysdeps/pthread/lio_listio.c: ... here.
552         * rt/lio_listio64.c: Moved to ...
553         * sysdeps/pthread/lio_listio64.c: ... here.
555 2001-06-14  Roland McGrath  <roland@frob.com>
557         * configure.in: Let sysdeps Implies files in add-ons bring in
558         sysdeps directories from the main source and other add-ons too.
560 2001-06-15  Jakub Jelinek  <jakub@redhat.com>
562         * math/test-misc.c (main): Add tests for nextafter and nexttoward
563         with +-Inf as second argument.
565         * sysdeps/generic/s_nexttowardf.c (__nexttowardf): Only check for
566         NaN, not Inf.
567         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Fix check for NaN.
568         * sysdeps/i386/fpu/s_nexttoward.c: New.
569         * sysdeps/i386/fpu/s_nexttowardf.c: New.
570         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Simplify
571         check for NaN, optimize x==+-0 handling.
572         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf): Likewise.
573         * sysdeps/ieee754/ldbl-96/s_nextafterl.c (__nextafterl): Simplify
574         check for NaN, fix sign in x==+-0 case.
575         * sysdeps/ia64/fpu/s_nexttoward.c: New.
576         * sysdeps/ia64/fpu/s_nexttowardf.c: New.
578 2001-06-15  H.J. Lu  <hjl@gnu.org>
580         * rt/tst-aio2.c (do_test): Initialize cb.aio_offset to 0.
581         * rt/tst-aio3.c (do_test): Likewise.
582         * rt/tst-aio4.c (do_test): Likewise.
583         * rt/tst-aio5.c (do_test): Likewise.
584         * rt/tst-aio6.c (do_test): Likewise.
586 2001-06-15  Andreas Schwab  <schwab@suse.de>
588         * sysdeps/m68k/fpu/bits/mathinline.h: Don't define log2 as inline.
589         * sysdeps/m68k/fpu/mathimpl.h: Define __ieee754_log2 as inline.
591 2001-06-15  Andreas Jaeger  <aj@suse.de>
593         * gmon/tst-sprofil.c (fac): Make static to avoid compiler warning.
595 2001-06-14  Andreas Schwab  <schwab@suse.de>
597         * elf/ldconfig.c (search_dir): Fix check for regular file.
599         * sysdeps/m68k/fpu/e_log2f.c: Fix typo.
600         * sysdeps/m68k/fpu/e_log2l.c: Fix typo.
602 2001-06-14  Roland McGrath  <roland@frob.com>
604         * sysdeps/mach/hurd/bits/fcntl.h [ __USE_POSIX199309 || __USE_UNIX98]:
605         (O_DSYNC, O_RSYNC): New macros, both defined to O_SYNC as Linux does.
607 2001-06-13  Roland McGrath  <roland@frob.com>
609         * rt/aio_notify.c: Include <unistd.h> for _POSIX_REALTIME_SIGNALS.
611         * sysdeps/mach/hurd/fork.c (LOSE): Put `goto lose' in dead code
612         so the label is not considered unused.
614         * sysdeps/mach/hurd/pwrite64.c: New file.
615         * sysdeps/mach/hurd/pread64.c: New file.
617         * sysdeps/mach/hurd/pread.c
618         (__libc_pread): Define this name, with __pread as an alias.
619         * sysdeps/mach/hurd/pwrite.c
620         (__libc_pwrite): Define this name, with __pwrite as an alias.
622         Implement POSIX "shared memory objects" as regular
623         files residing in the /var/run/shm/ directory.
624         This works on any system that supports _POSIX_MAPPED_FILES,
625         to make it also support _POSIX_SHARED_MEMORY_OBJECTS.
626         * sysdeps/posix/shm_open.c: New file.
627         * sysdeps/posix/shm_unlink.c: New file.
628         * sysdeps/mach/hurd/bits/posix_opt.h
629         (_POSIX_SHARED_MEMORY_OBJECTS): Define it.
631         * rt/aio_notify.c (__aio_notify_only) [! _POSIX_REALTIME_SIGNALS]:
632         Use raise instead of __aio_sigqueue.
634         * sysdeps/mach/hurd/pread.c: Fail with EINVAL if OFFSET is negative.
635         * sysdeps/mach/hurd/pwrite.c: Likewise.
637         * shlib-versions [USE_IN_LIBIO] (.*-.*-gnu-gnu.*): libc=0.3
638         [USE_IN_LIBIO && !GLIBC_OLDEST_ABI] (.*-.*-gnu-gnu.*): Use GLIBC_2.2.4
639         as default version set.
641 2001-06-13  Ulrich Drepper  <drepper@redhat.com>
643         * libio/iolibio.h (_IO_freopen): Correct last parameter to
644         _IO_file_open.
645         (_IO_freopen64): Likewise.
646         Reported by simanek@quantum.karlov.mff.cuni.cz [PR libc/2326].
648         * elf/elf.h: Add a few more EM_* constants.
650 2001-06-12  Bruno Haible  <haible@clisp.cons.org>
652         * intl/dcigettext.c (DCIGETTEXT): Release the lock before returning.
654 2001-06-09  Ben Collins  <bcollins@debian.org>
656         * sysdeps/unix/sysv/linux/bits/termios.h: Define __MAX_BAUD.
657         * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
658         * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
659         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
660         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
661         * sysdeps/unix/sysv/linux/speed.c: Use __MAX_BAUD instead of
662         hardcoded B400000.
664 2001-06-13  Ulrich Drepper  <drepper@redhat.com>
666         * time/sys/time.h: Don't use enum __itimer_which ever for
667         __itimer_which_t for C++.
668         Reported by Martin Buchholz <martin@xemacs.org>.
670         * po/fr.po: Update from translation team.
672 2001-06-12  H.J. Lu  <hjl@gnu.org>
674         * configure.in: Fix typos in missing program names.
675         * configure: Regenerated.
677 2001-06-12  Andreas Jaeger  <aj@suse.de>
679         * iconvdata/tst-table-to.c: Include string.h for strcmp prototype.
681         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Add ULPs for tanh (-0.7).
683 2001-06-11  Andreas Jaeger  <aj@suse.de>
685         * sysdeps/ieee754/ldbl-128/e_coshl.c: New file.  Contributed by
686         Stephen L Moshier <moshier@mediaone.net>.
688         * aclocal.m4: Quote AC_FD_MSG and AC_FD_CC.
690         * sysdeps/powerpc/fpu/libm-test-ulps: Add ULPs for tanh (-0.7).
691         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
693 2001-06-11  Michael Deutschmann  <michael@talamasca.ocis.net>
695         * rt/tst-aio4.c (do_test): Test whether rt signals are supported.
696         Use my_signo instead of MY_SIGNO and initialize it so that the
697         used signal is always available.
699 2001-06-11  Andreas Jaeger  <aj@suse.de>,
700             Michael Deutschmann  <michael@talamasca.ocis.net>
702         * io/test-lfs.c (do_prepare): Clean up error messages.
703         (test_ftello): Check for EFBIG and ENOSPC, clean up error messages.
704         (do_test): Likewise.
706 2001-06-11  Andreas Jaeger  <aj@suse.de>
708         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (IXANY, IUCLC,
709         IMAXBEL): Make always visible since they're needed by POSIX.
710         Closes PR libc/2320, reported by Chris Yeoh <cyeoh@samba.org>.
712 2001-06-10  Ben Collins  <bcollins@debian.org>
714         * sysdeps/arm/elf/start.S: Use #function, not @function, for
715         .type of _start.
717         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Include limits.h to get
718         INT_MAX.
720 2001-06-07  H.J. Lu  <hjl@gnu.org>
722         * sunrpc/rpc/rpc.h: Add __BEGIN_DECLS/__END_DECLS.
724 2001-06-10  Roland McGrath  <roland@frob.com>
726         * elf/reldep4mod2.c: Use fully typed decls to avoid warnings.
727         * elf/reldep4mod4.c: Likewise.
729 2001-06-10  Mark Kettenis  <kettenis@gnu.org>
731         * hurd/hurd/threadvar.h: Add prototype for __hurd_errno_location.
733 2001-06-08  Andreas Schwab  <schwab@suse.de>
735         * posix/regex.c (re_match_2_internal) [case wordbeg, wordend]:
736         Don't dereference at end of string.
738 2001-06-06  Roland McGrath  <roland@frob.com>
740         * sysdeps/mach/hurd/getsockopt.c: Fix handling of returned buffer size.
741         From Robert Bihlmeyer <robbe@orcus.priv.at>.
743 2001-06-06  Ulrich Drepper  <drepper@redhat.com>
745         * po/ko.po: Update from translation team.
747 2001-06-06  Andreas Jaeger  <aj@suse.de>
749         * manual/llio.texi (Memory-mapped I/O): Clarify that mapping is to
750         offset+length-1.
751         Reported by Robert Bernecky <bernecky@acm.org>.
753 2001-06-06  Jakub Jelinek  <jakub@redhat.com>
755         * sysdeps/cris/elf/start.S: Fix a typo introduced by last patch.
756         * sysdeps/ia64/elf/start.S: Likewise.
757         * sysdeps/sh/elf/start.S: Likewise.
758         * sysdeps/s390/s390-32/elf/start.S: Likewise.
759         * sysdeps/s390/s390-64/elf/start.S: Likewise.
761 2001-06-05  Matthew Wilcox  <willy@ldl.fc.hp.com>
763         * sysdeps/hppa/bsd-_setjmp.S: New.
764         * sysdeps/hppa/bsd-setjmp.S: New.
766         * sysdeps/hppa/dl-machine.h: Reformat asm statements to remove new
767         gcc warnings about multi-line strings.
769         * sysdeps/unix/sysv/linux/hppa/getrlimit.c: Remove.
770         * sysdeps/unix/sysv/linux/hppa/setrlimit.c: Remove.
772         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Call getrlimit,
773         setrlimit directly instead of using wrappers.
775 2001-05-01  Richard Hirst  <rhirst@linuxcare.com>
777         * sysdeps/unix/sysv/linux/hppa/syscall.S: remove dummy syscall.
778         * sysdeps/unix/sysv/linux/hppa/sysdep.c: implement syscall.
780 2001-06-05  Philipp Thomas  <pthomas@suse.de>
782         * nis/nis_call.c (__nisbind_connect): Don't mark for translation
783         what can't be translated.
785 2001-06-06  Ulrich Drepper  <drepper@redhat.com>
787         * timezone/zic.c: Update from tzcode2001c.
788         * timezone/private.h: Likewise.
789         * timezone/africa: Update from tzdata2001c.
790         * timezone/asia: Likewise.
791         * timezone/europe: Likewise.
792         * timezone/northamerica: Likewise.
793         * timezone/southamerica: Likewise.
794         * timezone/zone.tab: Likewise.
796 2001-06-04  Bruno Haible  <haible@clisp.cons.org>
798         * iconv/loop.c (UNICODE_TAG_HANDLER): New macro.
799         * iconv/gconv_simple.c (__gconv_transform_internal_ascii): Invoke
800         UNICODE_TAG_HANDLER.
801         (__gconv_transform_internal_ucs2): Likewise.
802         (__gconv_transform_internal_ucs2reverse): Likewise.
803         * iconvdata/8bit-gap.c (BODY for TO_LOOP): Invoke UNICODE_TAG_HANDLER.
804         * iconvdata/8bit-generic.c (BODY for TO_LOOP): Likewise.
805         * iconvdata/ansi_x3.110.c (BODY for TO_LOOP): Likewise.
806         * iconvdata/big5.c (BODY for TO_LOOP): Likewise.
807         * iconvdata/big5hkscs.c (BODY for TO_LOOP): Likewise.
808         * iconvdata/cp1255.c (BODY for TO_LOOP): Likewise.
809         * iconvdata/cp1258.c (BODY for TO_LOOP): Likewise.
810         * iconvdata/euc-cn.c (BODY for TO_LOOP): Likewise.
811         * iconvdata/euc-jp.c (BODY for TO_LOOP): Likewise.
812         * iconvdata/euc-kr.c (BODY for TO_LOOP): Likewise.
813         * iconvdata/euc-tw.c (BODY for TO_LOOP): Likewise.
814         * iconvdata/gbk.c (BODY for TO_LOOP): Likewise.
815         * iconvdata/ibm930.c (BODY for TO_LOOP): Likewise.
816         * iconvdata/ibm932.c (BODY for TO_LOOP): Likewise.
817         * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
818         * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
819         * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
820         * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
821         * iconvdata/ibm943.c (BODY for TO_LOOP): Likewise.
822         * iconvdata/iso646.c (BODY for TO_LOOP): Likewise.
823         * iconvdata/iso8859-1.c (BODY for TO_LOOP): Likewise.
824         * iconvdata/iso_6937.c (BODY for TO_LOOP): Likewise.
825         * iconvdata/iso_6937-2.c (BODY for TO_LOOP): Likewise.
826         * iconvdata/iso-2022-cn.c (BODY for TO_LOOP): Likewise.
827         * iconvdata/iso-2022-cn-ext.c (BODY for TO_LOOP): Likewise.
828         * iconvdata/iso-2022-kr.c (BODY for TO_LOOP): Likewise.
829         * iconvdata/johab.c (BODY for TO_LOOP): Likewise.
830         * iconvdata/sjis.c (BODY for TO_LOOP): Likewise.
831         * iconvdata/t.61.c (BODY for TO_LOOP): Likewise.
832         * iconvdata/uhc.c (BODY for TO_LOOP): Likewise.
833         * iconvdata/unicode.c (BODY for TO_LOOP): Likewise.
834         * iconvdata/iso-2022-jp.c (TAG_none, TAG_language, TAG_language_j,
835         TAG_language_ja, TAG_language_k, TAG_language_ko, TAG_language_z,
836         TAG_language_zh, CURRENT_TAG_MASK): New enum values.
837         (EMIT_SHIFT_TO_INIT): Don't emit an escape sequence if ASCII_set
838         is already selected but set2 or tag are set.
839         (conversion): New enum type.
840         (cvlist_t): New type.
841         (CVLIST, CVLIST_FIRST, CVLIST_REST): New macros.
842         (conversion_lists): New array.
843         (BODY for TO_LOOP): Keep track of Unicode 3.1 language tag.  If "ja",
844         prefer conversion to Japanese character sets.  If "zh", prefer
845         conversion to GB2312.  If "ko", prefer conversion to KSC5601.  Small
846         optimizations.
847         (INIT_PARAMS): Add tag.
848         (UPDATE_PARAMS): Add tag.
850 2001-06-04  Bruno Haible  <haible@clisp.cons.org>
852         * locale/programs/locfile.c (write_locale_data): Before creat(),
853         unlink the file, to avoid crashing the processes that mmap it.  Change
854         a double slash to a single slash.  Free fname in case of error return.
856 2001-06-02  Jakub Jelinek  <jakub@redhat.com>
858         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Mostly revert 2000-12-03
859         changes, do the special handling for denormal numbers, not for
860         normalized numbers (patch by <trevin@xmission.com>).
862         * math/test-misc.c (main): Test frexpl with denormal arguments.
864 2001-06-04  Jakub Jelinek  <jakub@redhat.com>
866         * math/libm-test.inc (llround_test): Add two new llround tests.
867         * sysdeps/ieee754/ldbl-96/s_llroundl.c (__llroundl): Don't allow
868         overflow when rounding away from zero.
870 2001-06-04  Jakub Jelinek  <jakub@redhat.com>
872         * math/Makefile (libm-calls): Add e_log2, w_log2, remove s_log2.
873         * math/math_private.h (__ieee754_log2, __ieee754_log2f,
874         __ieee754_log2l): New prototypes.
875         * sysdeps/generic/w_log2.c: New file.
876         * sysdeps/generic/w_log2f.c: New file.
877         * sysdeps/generic/w_log2l.c: New file.
878         * sysdeps/generic/s_log2l.c: Move...
879         * sysdeps/generic/e_log2l.c: ...to here.  Rename to __ieee754_log2l.
880         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle log2(0)
881         and log2(x < 0).
882         * sysdeps/i386/fpu/s_log2.S: Move...
883         * sysdeps/i386/fpu/e_log2.S: ...to here.  Rename to __ieee754_log2.
884         * sysdeps/i386/fpu/s_log2f.S: Move...
885         * sysdeps/i386/fpu/e_log2f.S: ...to here.  Rename to __ieee754_log2f.
886         * sysdeps/i386/fpu/s_log2l.S: Move...
887         * sysdeps/i386/fpu/e_log2l.S: ...to here.  Rename to __ieee754_log2l.
888         * sysdeps/m68k/fpu/s_log2.c: Move...
889         * sysdeps/m68k/fpu/e_log2.c: ...to here.  Rename to __ieee754_log2.
890         * sysdeps/m68k/fpu/s_log2f.c: Move...
891         * sysdeps/m68k/fpu/e_log2f.c: ...to here.  Rename to __ieee754_log2f.
892         * sysdeps/m68k/fpu/s_log2l.c: Move...
893         * sysdeps/m68k/fpu/e_log2l.c: ...to here.  Rename to __ieee754_log2l.
894         * sysdeps/ieee754/dbl-64/s_log2.c: Move...
895         * sysdeps/ieee754/dbl-64/e_log2.c: ...to here.  Rename to
896         __ieee754_log2.
897         * sysdeps/ieee754/flt-32/s_log2f.c: Move...
898         * sysdeps/ieee754/flt-32/e_log2f.c: ...to here.  Rename to
899         __ieee754_log2f.
901 2001-06-04  Jakub Jelinek  <jakub@redhat.com>
903         * sysdeps/generic/w_exp2.c (u_threshold): Lower threshold so that
904         even arguments which result in denormalized exp2 are accepted.
905         (__exp2): Arguments equal to u_threshold already result into
906         underflow.
907         * sysdeps/generic/w_exp2f.c (u_threshold, __exp2f): Likewise.
908         * sysdeps/generic/w_exp2l.c (u_threshold, __exp2l): Likewise.
909         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Lomark was too
910         low, with corrected lowmark use greaterequal, not greater.
911         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
913 2001-06-04  Jakub Jelinek  <jakub@redhat.com>
915         * math/libm-test.inc (ilogb_test): Test that ilogb(+-Inf) == INT_MAX.
916         * sysdeps/i386/fpu/s_ilogb.S (__ilogb): Return INT_MAX for +-Inf.
917         * sysdeps/i386/fpu/s_ilogbf.S (__ilogbf): Likewise.
918         * sysdeps/i386/fpu/s_ilogbl.S (__ilogbl): Likewise.
919         * sysdeps/ieee754/dbl-64/s_ilogb.c (__ilogb): Likewise.
920         * sysdeps/ieee754/flt-32/s_ilogbf.c (__ilogbf): Likewise.
921         * sysdeps/ieee754/ldbl-128/s_ilogbl.c (__ilogbl): Likewise.
922         * sysdeps/ieee754/ldbl-96/s_ilogbl.c (__ilogbl): Likewise.
924 2001-06-04  Jakub Jelinek  <jakub@redhat.com>
926         * sysdeps/generic/w_coshl.c (__coshl): Test if finite argument
927         gave non-finite result instead of using constant in generic
928         version.
929         * sysdeps/generic/w_coshf.c (__coshf): Likewise.
930         * sysdeps/generic/w_cosh.c (__cosh): Likewise.
931         * sysdeps/generic/w_exp10.c (o_threshold, u_threshold): Remove.
932         (__exp10): Test if finite argument gave non-finite result.
933         * sysdeps/generic/w_exp10f.c (o_threshold, u_threshold, __exp10f):
934         Likewise.
935         * sysdeps/generic/w_exp10l.c (o_threshold, u_threshold, __exp10l):
936         Likewise.
938 2001-06-04  Jakub Jelinek  <jakub@redhat.com>
940         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Fix
941         overflow threshold constant (log(LDBL_MAX)+M_LN2l).
943 2001-05-29  Bruno Haible  <haible@clisp.cons.org>
945         * locale/programs/ld-ctype.c (idx_table): New struct type.
946         (idx_table_init, idx_table_get, idx_table_add): New functions.
947         (MAX_CHARNAMES_IDX): Remove macro.
948         (locale_ctype_t): Change type of charnames_idx field.
949         (ctype_startup): Change initialization of charnames_idx field.
950         (find_idx): Use idx_table_get and idx_table_add for speed.
952         * locale/programs/charmap.c (charmap_new_char): Fix ucs4 value
953         computation of characters in a range.
955 2001-05-29  Bruno Haible  <haible@clisp.cons.org>
957         * iconvdata/gb18030.c (__fourbyte_to_ucs1): Add mappings for <U03F4>,
958         <U03F5>.
959         (__ucs_to_gb18030_tab1): Likewise.
960         (BODY for FROM_LOOP): Add mapping for <U00010000>..<U0010FFFF>.
961         (BODY for TO_LOOP): Likewise.
962         * iconvdata/tst-table-charmap.sh: Update for charmaps containing
963         <U00xxxxxx> syntax.
964         * iconvdata/tst-table-from.c (bmp_only): New variable.
965         (utf8_decode): If bmp_only, don't return characters outside Unicode
966         plane 0.
967         (main): When testing UTF-8 or GB18030, set bmp_only to 1.  Don't print
968         a conversion line if utf8_decode returns NULL.
969         * iconvdata/tst-table-to.c (main): When testing encodings other than
970         UTF-8 and GB18030, loop upto U+30000 instead of U+10000.  Use UTF-8
971         instead of UCS-2 as input.
972         * iconvdata/tst-table.sh: For GB18030, use only the part < 0x10000
973         of the charmap.
975 2001-05-29  Bruno Haible  <haible@clisp.cons.org>
977         * iconvdata/cns11643l1.c: Update to Unicode 3.1.
978         (__cns11643l1_to_ucs4_tab): Regenerated.
979         (__cns11643l1_from_ucs4_tab12): Regenerated.
980         * iconvdata/cns11643.c: Update to Unicode 3.1.
981         (__cns11643l14_to_ucs4_tab): Remove array.
982         (__cns11643l3_to_ucs4_tab, __cns11643l4_to_ucs4_tab,
983         __cns11643l5_to_ucs4_tab, __cns11643l6_to_ucs4_tab,
984         __cns11643l7_to_ucs4_tab, __cns11643l15_to_ucs4_tab): New arrays.
985         (__cns11643_from_ucs4p0_tab): Renamed from __cns11643_from_ucs4_tab.
986         (__cns11643_from_ucs4p2_tab): New array.
987         * iconvdata/cns11643.h (__cns11643l14_to_ucs4_tab): Remove declaration.
988         (__cns11643l3_to_ucs4_tab, __cns11643l4_to_ucs4_tab,
989         __cns11643l5_to_ucs4_tab, __cns11643l6_to_ucs4_tab,
990         __cns11643l7_to_ucs4_tab, __cns11643l15_to_ucs4_tab): New declarations.
991         (cns11643_to_ucs4): Treat planes 3, 4, 5, 6, 7, 15 instead of 14.
992         (__cns11643_from_ucs4_tab): Remove declaration.
993         (__cns11643_from_ucs4p0_tab, __cns11643_from_ucs4p2_tab): New
994         declarations.
995         (ucs4_to_cns11643): Update for new arrays.  Treat U+3400..U+4DFF and
996         U+20000..U+2A6D6.
997         * iconvdata/cns11643l2.h (__cns11643_from_ucs4_tab): Remove
998         declaration.
999         (__cns11643_from_ucs4p0_tab): New declaration.
1000         (ucs4_to_cns11643l2): Update for new arrays.
1001         * iconvdata/iso-2022-cn-ext.c (BODY for FROM_LOOP): Handle planes
1002         3 to 7.
1003         (BODY for TO_LOOP): Handle planes 3 to 7, instead of plane 14.
1004         * iconvdata/EUC-TW.irreversible: New file.
1005         * iconvdata/tst-table.sh: Use it.
1006         * iconvdata/Makefile (distribute): Add CP1255.irreversible,
1007         CP1258.irreversible, EUC-TW.irreversible.
1009 2001-05-29  Bruno Haible  <haible@clisp.cons.org>
1011         * locale/C-translit.h.in: Add transliterations for new Unicode 3.1
1012         mathematical symbols.
1014 2001-06-05  Andreas Jaeger  <aj@suse.de>
1016         * manual/stdio.texi (Portable Positioning): Fix description of
1017         fpos_t and fpos64_t.
1019 2001-06-06  Ulrich Drepper  <drepper@redhat.com>
1021         * sysdeps/generic/wordexp.c: Undo last patch.  Use strndupa instead.
1023         * po/sk.po: Update from translation team.
1025 2001-06-05  Andreas Jaeger  <aj@suse.de>
1027         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Recognize
1028         tmpfs, patch by Stanislav Brabec <utx@penguin.cz>.
1029         Closes PR libc/2315.
1031 2001-06-05  Ulrich Drepper  <drepper@redhat.com>
1033         * sysdeps/generic/wordexp.c: Add missing free.
1034         Patch by yeti@physics.muni.cz.
1036 2001-06-02  Tom Browder  <tbrowder@home.com>
1038         * misc/tst-tsearch.c (mangle_tree): Ensure array indices are
1039         within bounds when lag > 0.
1041 2001-06-05  Ulrich Drepper  <drepper@redhat.com>
1043         * po/tr.po: New file.
1045 2001-06-05  Andreas Jaeger  <aj@suse.de>
1047         * manual/libm-err-tab.pl (parse_ulps): Fix typo.
1049 2001-06-04  H.J. Lu  <hjl@gnu.org>
1051         * sysdeps/alpha/elf/start.S: Add .type for the entry point.
1052         * sysdeps/arm/elf/start.S: Likewise.
1053         * sysdeps/hppa/elf/start.S: Likewise.
1054         * sysdeps/i386/elf/start.S: Likewise.
1055         * sysdeps/m68k/elf/start.S: Likewise.
1056         * sysdeps/mips/elf/start.S: Likewise.
1057         * sysdeps/ia64/elf/start.S: Likewise.
1058         * sysdeps/sh/elf/start.S: Likewise.
1059         * sysdeps/s390/s390-32/elf/start.S: Likewise.
1060         * sysdeps/s390/s390-64/elf/start.S: Likewise.
1061         * sysdeps/cris/elf/start.S: Likewise.
1063 2001-06-04  Bruce Mitchener  <bruce@cubik.org>
1065         * manual/resource.texi: Correct setpriority/nice documentation.
1067         * sysdeps/unix/nice.c: Correct nice() implementation.
1069 2001-06-04  Andreas Jaeger  <aj@suse.de>
1071         * sysdeps/ieee754/ldbl-128/e_sinhl.c: New file, contributed by
1072         Stephen L Moshier <moshier@mediaone.net>.
1074 2001-06-03  Roland McGrath  <roland@frob.com>
1076         * Makefile (postclean): Remove obsolete sysd-Makefile.
1078 2001-06-01  Roland McGrath  <roland@frob.com>
1080         * sysdeps/alpha/fpu/fclrexcpt.c: #include <shlib-compat.h>
1081         and use compat_symbol/versioned_symbol instead of plain
1082         symbol_version/default_symbol_version.
1083         * sysdeps/alpha/fpu/fegetenv.c: Likewise.
1084         * sysdeps/alpha/fpu/fesetenv.c: Likewise.
1085         * sysdeps/alpha/fpu/feupdateenv.c: Likewise.
1086         * sysdeps/alpha/fpu/fgetexcptflg.c: Likewise.
1087         * sysdeps/alpha/fpu/fraiseexcpt.c: Likewise.
1088         * sysdeps/alpha/fpu/fsetexcptflg.c: Likewise.
1089         * sysdeps/arm/fpu/fclrexcpt.c: Likewise.
1090         * sysdeps/arm/fpu/fegetenv.c: Likewise.
1091         * sysdeps/arm/fpu/fesetenv.c: Likewise.
1092         * sysdeps/arm/fpu/fraiseexcpt.c: Likewise.
1093         * sysdeps/arm/fpu/fsetexcptflg.c: Likewise.
1094         * sysdeps/i386/fpu/fclrexcpt.c: Likewise.
1095         * sysdeps/i386/fpu/fegetenv.c: Likewise.
1096         * sysdeps/i386/fpu/fesetenv.c: Likewise.
1097         * sysdeps/i386/fpu/feupdateenv.c: Likewise.
1098         * sysdeps/i386/fpu/fgetexcptflg.c: Likewise.
1099         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
1100         * sysdeps/i386/fpu/fsetexcptflg.c: Likewise.
1101         * sysdeps/m68k/fpu/fclrexcpt.c: Likewise.
1102         * sysdeps/m68k/fpu/fegetenv.c: Likewise.
1103         * sysdeps/m68k/fpu/fesetenv.c: Likewise.
1104         * sysdeps/m68k/fpu/feupdateenv.c: Likewise.
1105         * sysdeps/m68k/fpu/fgetexcptflg.c: Likewise.
1106         * sysdeps/m68k/fpu/fraiseexcpt.c: Likewise.
1107         * sysdeps/m68k/fpu/fsetexcptflg.c: Likewise.
1108         * sysdeps/powerpc/fclrexcpt.c: Likewise.
1109         * sysdeps/powerpc/fpu/fegetenv.c: Likewise.
1110         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
1111         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
1112         * sysdeps/powerpc/fpu/fgetexcptflg.c: Likewise.
1113         * sysdeps/powerpc/fpu/fraiseexcpt.c: Likewise.
1114         * sysdeps/powerpc/fpu/fsetexcptflg.c: Likewise.
1116         * iconvdata/cp1258.c: Include <stdlib.h> for abort decl.
1117         * iconvdata/iso-2022-cn-ext.c: Likewise.
1119 2001-06-01  Andreas Jaeger  <aj@suse.de>
1121         * Versions.def: Add version 2.2.4.
1123 2001-06-01  Ulrich Drepper  <drepper@redhat.com>
1125         * socket/Makefile (routines): Add sockatmark.
1126         * socket/Versions [GLIBC_2.2.4]: Add sockatmark.
1127         * socket/sys/socket.h: Add prototype for sockatmark.
1128         * sysdeps/generic/sockatmark.c: New file.
1129         * sysdeps/unix/sockatmark.c: New file.
1131 2001-06-01  Andreas Jaeger  <aj@suse.de>
1133         * sysdeps/unix/sysv/linux/speed.c (cfsetispeed): Max speed is
1134         B4000000.
1135         (cfsetospeed): Likewise.
1136         Reported by Lukasz Trabinski <lukasz@lt.wsisiz.edu.pl>.
1138 2001-05-31  Joseph S. Myers  <jsm28@cam.ac.uk>
1140         * misc/sys/cdefs.h (__restrict_arr): Define to empty for C++.
1142 2001-05-30  Martin Schwidefsky  <schwidefsky@de.ibm.com>
1144         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: greg_t
1145         needs to have the same aligment as the kernel structure.
1147 2001-05-29  Jakub Jelinek  <jakub@redhat.com>
1149         * sunrpc/rpc/types.h (u_char, u_short, u_int, u_long, quad_t,
1150         u_quad_t, fsid_t, daddr_t, caddr_t): Make sure the types are defined.
1151         * posix/sys/types.h (u_char, u_short, u_int, u_long, quad_t,
1152         u_quad_t, fsid_t, daddr_t, caddr_t): Protect the __USE_BSD typedefs
1153         against multiple definition.
1155 2001-05-30  Ulrich Drepper  <drepper@redhat.com>
1157         * po/da.po: Update from translation team.
1159 2001-05-29  Andreas Jaeger  <aj@suse.de>
1161         * sysdeps/ieee754/ldbl-128/e_acosl.c: New file, contributed by
1162         Stephen L Moshier <moshier@mediaone.net>.
1164         * math/libm-test.inc (sinh_test): Add new test case.
1166         * sysdeps/ieee754/ldbl_96/e_sinhl.c (__ieee754_sinhl): sinhl(x) =
1167         x when x < 2^-32.
1168         Patch by Stephen L Moshier <moshier@mediaone.net>.
1170 2001-05-23  Andreas Jaeger  <aj@suse.de>
1172         * iconvdata/testdata/WINDOWS-1255..UTF-8: Renamed to...
1173         * iconvdata/testdata/WINDOWS-1255..UTF8: this.
1175 2001-05-27  Andreas Jaeger  <aj@suse.de>
1177         * manual/stdio.texi (String Streams): Fix fmemopen description.
1178         Reported by Michal Kochanowicz <michal@michal.waw.pl>.
1180 2001-05-26  H.J. Lu <hjl@gnu.org>
1182         * sysdeps/unix/sysv/linux/mips/syscalls.list: Change sigsuspend
1183         to s_sigsuspend.  Add s_mmap2.
1185         * sysdeps/mips/atomicity.h: New file.
1187         * sysdeps/unix/sysv/linux/mips/getsysstats.c: New file.
1189         * sysdeps/unix/sysv/linux/mips/bits/ipc.h (ipc_perm): Put
1190         back __key.
1192 2001-05-25  Bruce Mitchener  <bruce@cubik.org>
1194         * manual/ctype.texi: Minor fix.
1195         * manual/install.texi: Likewise.
1196         * manual/startup.texi: Likewise.
1197         * manual/examples/dir.c: Use perror() rather than puts().
1199 2001-05-25  David Mosberger  <davidm@hpl.hp.com>
1201         * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h: Put stuff following
1202         #endif directive inside a comment to avoid compiler warnings.
1204 2001-05-25  Philipp Thomas  <pthomas@suse.de>
1206         * nis/nis_print.c (nis_nstype2str): Don't mark names of
1207         naming services for translation, only UNKNOWN needs it.
1208         Add comment to prevent it for the future.
1210 2001-05-25  Joseph S. Myers  <jsm28@cam.ac.uk>
1212         * misc/sys/cdefs.h (__restrict_arr): Define appropriately for GCC
1213         3.1 and non-GCC C99 compilers.
1215 2001-05-22  David Mosberger  <davidm@hpl.hp.com>
1217         * sysdeps/ia64/memmove.S: Increase MEMLAT from 6 to 21 for better
1218         performance.
1219         * sysdeps/ia64/memcpy.S: Likewise.
1221         * sysdeps/ia64/bcopy.S: New file.
1223         * sysdeps/ia64/bzero.S: New file (derived from memset.S).
1225 2001-05-26  Ulrich Drepper  <drepper@redhat.com>
1227         * sysdeps/ia64/fpu/libm-test-ulps: Add deltas for tanh(-0.7).
1229 2001-05-24  Ulrich Drepper  <drepper@redhat.com>
1231         * iconvdata/Makefile: Add rules for CP10007.
1232         * iconvdata/gconv-modules: Add entries for CP10007 ad MacCyrillic.
1233         * iconvdata/cp10007.c: New file.
1234         * iconvdata/tst-tables.sh: Add CP10007.
1236 2001-05-23  kaz Kojima  <kkojima@rr.iij4u.or.jp>
1238         * sysdeps/sh/dl-machine.h (_dl_runtime_resolve): Handle newer PLT.
1239         (_dl_runtime_profile): Likewise..
1241 2001-05-23  Thorsten Kukuk  <kukuk@suse.de>
1243         * sysdeps/posix/getaddrinfo.c: Support for AF_UNIX commented out.
1244         * posix/tst-getaddrinfo.c: Remove AF_UNIX test.
1246 2001-05-19  H.J. Lu  <hjl@gnu.org>
1248         * elf/dl-deps.c (_dl_map_object_deps): Pass objname and
1249         errstring of the failed DSO to _dl_signal_error ().
1251 2001-05-23  Ulrich Drepper  <drepper@redhat.com>
1253         * iconvdata/gconv-modules: Add more aliases to enable use in
1254         locale names.
1256 2001-05-23  Andreas Jaeger  <aj@suse.de>
1258         * sysdeps/unix/sysv/linux/ia64/Makefile (CFLAGS-initfini.s):
1259         Remove, it's not used anywhere anymore.
1260         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile
1261         (CFLAGS-initfini.s): Likewise.
1262         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile
1263         (CFLAGS-initfini.s): Likewise.
1264         * sysdeps/unix/sysv/linux/powerpc/Makefile (CFLAGS-initfini.s):
1265         Likewise.
1266         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-initfini.s):
1267         Likewise.
1269 2001-05-21  Bruno Haible  <haible@clisp.cons.org>
1271         * wcsmbs/mbrtowc.c (mbrtowc): Remove local variable 'flush', always
1272         use 0 instead, and rely on the converter to do the flush.
1273         * wcsmbs/tst-mbrtowc.c (utf8_test_1): New function, taken from
1274         utf8_test.
1275         (utf8_test_2, utf8_test_3): New function.
1276         (utf8_test): Call utf8_test_1, utf8_test_2, utf8_test_3.
1278 2001-05-22  Jakub Jelinek  <jakub@redhat.com>
1280         * elf/dl-close.c (_dl_close): Save imap->l_reldeps, not map->l_reldeps.
1282         * elf/Makefile (distribute): Add reldep4mod[1234].c.
1283         (tests): Add reldep4.
1284         (modules-names): Add reldep4mod[1234].
1285         (reldep4mod1.so, reldep4mod2.so, reldep4, reldep4.out): New rules.
1286         * elf/reldep4.c: New file.
1287         * elf/reldep4mod1.c: Likewise.
1288         * elf/reldep4mod2.c: Likewise.
1289         * elf/reldep4mod3.c: Likewise.
1290         * elf/reldep4mod4.c: Likewise.
1292 2001-05-18  Jakub Jelinek  <jakub@redhat.com>
1294         * elf/dl-lookup.c (PROTECTED): Remove defines.
1295         (add_dependency): Mark it with internal_function.
1296         (_dl_do_lookup, _dl_do_lookup_versioned): New functions.
1297         (_dl_lookup_symbol, _dl_lookup_symbol_skip,
1298         _dl_lookup_versioned_symbol, _dl_lookup_versioned_symbol_skip): Use
1299         it if we don't want do_lookup* inlined.
1301 2001-05-18  Jakub Jelinek  <jakub@redhat.com>
1303         * include/link.h (struct r_scope_elem): Remove r_duplist and
1304         r_nduplist fields.
1305         * elf/dl-load.c (_dl_map_object_from_fd): Don't initialize them.
1306         * elf/dl-lookup.c (_dl_lookup_symbol_skip): Look in r_list, not
1307         r_duplist.
1308         (_dl_lookup_versioned_symbol_skip): Likewise.
1309         * elf/dl-deps.c (struct list): Remove dup field, rename unique to next.
1310         (_dl_map_object_deps): Don't compute duplicate list.
1312         * elf/dl-symbol.c: Removed.
1313         * elf/Makefile (routines): Remove dl-symbol.
1315 2001-05-22  Ulrich Drepper  <drepper@redhat.com>
1317         * po/el.po: Update from translation team.
1318         * po/sv.po: Likewise.
1320 2001-05-20  Bruno Haible  <haible@clisp.cons.org>
1322         * iconvdata/cp1255.c: Completely rewritten.
1323         * iconvdata/Makefile (gen-8bit-gap-modules): Remove cp1255.
1324         * iconvdata/testdata/WINDOWS-1255: New file.
1325         * iconvdata/testdata/WINDOWS-1255..UTF8: New file.
1326         * iconvdata/TESTS: Add WINDOWS-1255 test.
1327         * iconvdata/CP1255.irreversible: New file.
1329 2001-05-20  Bruno Haible  <haible@clisp.cons.org>
1331         * iconvdata/cp1258.c: Completely rewritten.
1332         * iconvdata/Makefile (gen-8bit-gap-modules): Remove cp1258.
1333         * iconvdata/testdata/WINDOWS-1258: New file.
1334         * iconvdata/testdata/WINDOWS-1258..UTF8: New file.
1335         * iconvdata/TESTS: Add WINDOWS-1258 test.
1336         * iconvdata/tst-table-from.c (try): Reset the iconv descriptor before
1337         the main call, and flush it afterwards.
1338         (utf8_decode): Return a string, possibly containing several Unicode
1339         characters.
1340         (main): Update all utf8_decode calls.
1341         * iconvdata/CP1258.irreversible: New file.
1343 2001-05-20  Bruno Haible  <haible@clisp.cons.org>
1345         * iconv/gconv.c (__gconv): For flush without output, pass do_flush = 2.
1346         * iconv/skeleton.c: Distinguish do_flush = 1 and do_flush = 2.  In the
1347         first case, set outbuf, outstart, outend, and call PREPARE_LOOP before
1348         EMIT_SHIFT_TO_INIT; then pass the output produced by this step down to
1349         the next step.  In the second case, clear the state without calling
1350         EMIT_SHIFT_TO_INIT.
1351         * iconvdata/ibm930.c (EMIT_SHIFT_TO_INIT): Use outbuf instead of
1352         data->__outbuf, and outend instead of data->__outbufend.
1353         * iconvdata/ibm933.c (EMIT_SHIFT_TO_INIT): Likewise.
1354         * iconvdata/ibm935.c (EMIT_SHIFT_TO_INIT): Likewise.
1355         * iconvdata/ibm937.c (EMIT_SHIFT_TO_INIT): Likewise.
1356         * iconvdata/ibm939.c (EMIT_SHIFT_TO_INIT): Likewise.
1357         * iconvdata/iso-2022-cn.c (EMIT_SHIFT_TO_INIT): Likewise.
1358         * iconvdata/iso-2022-cn-ext.c (EMIT_SHIFT_TO_INIT): Likewise.
1359         * iconvdata/iso-2022-jp.c (EMIT_SHIFT_TO_INIT): Likewise.
1360         * iconvdata/iso-2022-kr.c (EMIT_SHIFT_TO_INIT): Likewise.
1361         * iconvdata/utf-7.c (EMIT_SHIFT_TO_INIT): Likewise.
1363 2001-05-21  Jakub Jelinek  <jakub@redhat.com>
1365         * elf/rtld.c (dl_main): Compute l_map_end for the main program.
1366         * elf/dl-sym.c (_dl_sym): Don't check for l_addr == 0.
1367         If match == _dl_loaded, caller can still come from the main program.
1368         (_dl_vsym): Likewise.
1369         * elf/dl-open.c (dl_open_worker): Don't check for l_addr == 0.
1370         * elf/dl-error.c (_dl_signal_error): Change NULL objname into "".
1371         * elf/restest2.c: New test.
1372         * elf/Makefile (tests): Add restest2.
1373         (restest2, LDFLAGS-restest2): Add rules.
1375 2001-05-22  Ulrich Drepper  <drepper@redhat.com>
1377         * intl/Makefile: Add a few more dependencies to avoid races in the
1378         test shell scripts.
1380 2001-05-22  Andreas Jaeger  <aj@suse.de>
1382         * sysdeps/ieee754/ldbl-128/s_log1pl.c: New file, contributed by
1383         Stephen L Moshier <moshier@mediaone.net>.
1385 2001-05-22  Martin Schwidefsky  <schwidefsky@de.ibm.com>
1387         * sysdeps/s390/s390-32/backtrace.c: Make backtrace return the
1388         return addresses instead of the stack pointers.
1389         * sysdeps/s390/s390-64/backtrace.c: Likewise.
1391 2001-05-21  Jakub Jelinek  <jakub@redhat.com>
1393         * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Include
1394         bits/sigcontext.h instead of bits/sigstack.h.
1395         * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h: Add
1396         multiple-inclusion guards.
1398 2001-05-21  Andreas Jaeger  <aj@suse.de>
1400         * locale/programs/ld-collate.c (handle_ellipsis): Fix message.
1401         Patch by Philipp Thomas <pthomas@suse.de>.
1403 2001-05-17  Bruce Mitchener  <bruce@cubik.org>
1405         * manual/arpg.texi: Spelling, misc fixes.
1406         * manual/arith.texi: Likewise.
1407         * manual/crypt.texi: Likewise.
1408         * manual/debug.texi: Likewise.
1409         * manual/getopt.texi: Likewise.
1410         * manual/intro.texi: Likewise.
1411         * manual/memory.texi: Likewise.
1412         * manual/nss.texi: Likewise.
1413         * manual/pattern.texi: Likewise.
1414         * manual/process.texi: Likewise.
1415         * manual/resource.texi: Likewise.
1416         * manual/search.texi: Likewise.
1417         * manual/setjmp.texi: Likewise.
1418         * manual/signal.texi: Likewise.
1419         * manual/socket.texi: Likewise.
1420         * manual/stdio.texi: Likewise.
1421         * manual/string.texi: Likewise.
1422         * manual/sysinfo.texi: Likewise.
1423         * manual/terminal.texi: Likewise.
1424         * manual/llio.texi: Document madvise().
1426 2001-05-20  Roland McGrath  <roland@frob.com>
1428         * Makeconfig (sysdep-makeconfigs): Include any Makeconfig files
1429         found within $(add-ons) directories too.
1430         [linuxthreads add-on]: Move variable settings for linuxthreads
1431         to new file linuxthreads/Makeconfig.
1433 2001-05-20  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
1435         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_STD_AUXV):
1436         Define for linux >= 2.4.5 on powerpc.
1437         (__ASSUME_MMAP2_SYSCALL): Likewise.
1439 2001-05-19  Roland McGrath  <roland@frob.com>
1441         * hurd/hurdlookup.c (__hurd_file_name_lookup_retry): Don't leak the
1442         result port when failing with ELOOP.  Do the ELOOP check when
1443         following an absolute symlink target as well as relative.
1444         Remove #ifdef SYMLOOP_MAX conditional--it should always be defined.
1446 2001-05-18  Andreas Jaeger  <aj@suse.de>
1448         * po/fr.po: Free software is "logiciel libre".
1449         Patch by Martin Michlmayr <tbm@cyrius.com>.
1451         * sysdeps/powerpc/elf/libc-start.c: Use __cxa_atexit.
1452         Patch by ekato@ees.hokudai.ac.jp, closes PR libc/2271.
1454 2001-05-17  David Mosberger  <davidm@hpl.hp.com>
1456         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: New file.
1458 2001-05-17  Ulrich Drepper  <drepper@redhat.com>
1460         * elf/dl-profile.c (_dl_mcount): Check whether state is
1461         GMON_PROF_ON before doing anything.
1463 2001-05-17  H.J. Lu  <hjl@gnu.org>
1465         * elf/sprof.c (read_symbols): Move "++symtab" into the while loop.
1467 2001-05-17  Ulrich Drepper  <drepper@redhat.com>
1469         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Use
1470         CHECK_SIGSET_NULL_OK and not CHECK_SIGSET for all parameters.
1471         Reported by Mark Burton <markb@ordern.com>.
1473 2001-05-17  Jakub Jelinek  <jakub@redhat.com>
1475         * elf/ldconfig.c (add_dir): Only warn about stat failure if
1476         opt_verbose.
1477         (search_dir): Likewise.
1479 2001-05-17  Ulrich Drepper  <drepper@redhat.com>
1481         * sysdeps/i386/i486/atomicity.h (exchange_and_add): Correct second
1482         parameter of xaddl.  Patch by H . J . Lu <hjl@lucon.org>.
1484 2001-05-14  Bruno Haible  <haible@clisp.cons.org>
1486         * iconvdata/iso-2022-cn-ext.c (BODY for FROM_LOOP): If SO is seen
1487         without previous announcement, reject it regularly, don't abort.
1489 2001-05-16  Ulrich Drepper  <drepper@redhat.com>
1491         * math/tgmath.h: Fix handling of int parameters to binary and
1492         ternary functions.  Reported by mitr@volny.cz.
1494         * math/test-tgmath.c: Add tests for calls with integer parameters.
1496 2001-05-15  Jakub Jelinek  <jakub@redhat.com>
1498         * sunrpc/rpc_thread.c (rpc_default): Remove.
1499         (__rpc_thread_destroy): Use __libc_tsd_RPC_VARS_mem instead of
1500         rpc_default.
1501         (rpc_thread_multi, __rpc_thread_svc_fdset, __rpc_thread_createerr,
1502         __rpc_thread_svc_pollfd, __rpc_thread_svc_max_pollfd): Likewise.
1503         * sunrpc/auth_none.c (authnone_private): Fix a typo.
1505 2001-05-16  Martin Schwidefsky  <schwidefsky@de.ibm.com>
1507         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Fix stack allocation.
1509 2001-05-16  Bruce Mitchener  <bruce@cubik.org>
1511         * manual/llio.texi: Many grammar and typo fixes to the section on AIO.
1513 2001-05-15  Andreas Jaeger  <aj@suse.de>
1515         * sysdeps/ieee754/ldbl-128/s_expm1l.c: New file, contributed by
1516         Stephen L Moshier <moshier@mediaone.net>.
1518         * sysdeps/i386/fpu/libm-test-ulps: Adjust for change.
1520         * math/libm-test.inc: Add comment with ToDo.
1522         * sysdeps/i386/fpu/e_expl.c: Rewritten to C and using a more
1523         accurate algorithm.  Patch by Stephen L Moshier <moshier@mediaone.net>.
1525         * sysdeps/i386/fpu/e_expl.S: Removed.
1527 2001-05-14  Roland McGrath  <roland@frob.com>
1529         * csu/Makefile ($(objpfx)g$(start-installed-name)): Turn this into a
1530         static pattern rule also that also covers
1531         $(objpx)g$(static-start-installed-name).
1532         [$(start-installed-name) != $(static-start-installed-name)]
1533         (extra-objs, omit-deps, install-lib): Add
1534         $(static-start-installed-name) and g$(static-start-installed-name).
1535         * sysdeps/mach/hurd/i386/Makefile: Don't add crt0.o to those here;
1536         just setting static-start-installed-name is now sufficient.
1537         (extra-objs): Add static-start.o here.
1538         (CFLAGS-initfini.s): Remove obsolete variable.
1539         * sysdeps/mach/hurd/i386/Makeconfig: New file.
1540         Define static-start-installed-name here.
1542         * Makeconfig: Include existing $(full_config_sysdirs:=/Makeconfig).
1543         * Make-dist (+sysdep-tsrcs): Look for Makeconfig files.
1545         * Makerules ($(+sysdir_pfx)sysd-Makefile): Remove this target and
1546         associated hair.  Instead, just use $(wildcard ...) in the include.
1548         * configure.in (critic_missing, aux_missing): Collect in these vars
1549         the names of the missing programs, and include them in the error msgs.
1550         * configure: Regenerated.
1552 2001-05-14  Andreas Jaeger  <aj@suse.de>
1554         * sysdeps/i386/fpu/libm-test-ulps: Adjust for new tests.
1556         * math/libm-test.inc (tanh_test): Add testcases for last tanh bug.
1558 2001-05-14  Stephen L Moshier <moshier@mediaone.net>
1560         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Fix sign test.
1562 2001-05-11  Jakub Jelinek  <jakub@redhat.com>
1564         * posix/regex.c (re_match_2_internal): Swap mbs_offset and csize
1565         as well if swapping strings.
1566         Make sure stop is not past end of second string.
1567         * posix/bug-regex4.c: New test.
1568         * posix/Makefile (tests): Add bug-regex4.
1570 2001-05-10  Andreas Jaeger  <aj@suse.de>
1572         * manual/install.texi (Linux): Clarify that Linux 2.2 is minimal
1573         requirement.
1575 2001-05-12  Andreas Jaeger  <aj@suse.de>
1577         * sysdeps/ieee754/dbl-64/s_sin.c: Include "math_private.h" for
1578         internal prototypes.
1579         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
1580         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
1581         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
1582         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
1583         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
1584         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
1585         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
1587         * math/math_private.h: Add prototypes for internal functions of
1588         the IBM Accurate Mathematical Library.
1590         * sysdeps/ieee754/dbl-64/s_atan.c: Include "math.h" for
1591         prototypes.
1592         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
1594         * sysdeps/ieee754/dbl-64/e_asin.c: Include "math_private.h" for
1595         internal prototypes.
1596         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
1597         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
1598         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
1599         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
1600         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
1601         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
1602         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
1603         * sysdeps/generic/e_rem_pio2l.c: Likewise.
1604         (__ieee754_rem_pio2l): Fix prototype.
1606         * math/math_private.h (__copysign): Add internal prototype.
1608 2001-05-11  Andreas Jaeger  <aj@suse.de>
1610         * sysdeps/unix/sysv/linux/configure.in: Move binutils check to...
1611         * sysdeps/unix/sysv/linux/mips/configure.in: ...here.  New file.
1613 2001-05-11  Andreas Jaeger  <aj@suse.de>
1615         * sysdeps/unix/sysv/linux/configure.in: Check binutils version on
1616         MIPS.
1618         * sysdeps/mips/rtld-ldscript.in: Removed unneeded binary output
1619         format directive.  Patch by Steven J. Hill <sjhill@cotw.com>.
1621 2001-05-11  Roland McGrath  <roland@frob.com>
1623         * sysdeps/mach/hurd/Makefile ($(link-rpcuserlibs)): Don't use
1624         $(build-module) here, since we don't need the full magilla.
1625         Just use $(build-module-helper) and append our special options.
1627 2001-05-09  Andreas Schwab  <schwab@suse.de>
1629         * sysdeps/unix/readdir.c: Make sure we don't modify errno when we
1630         reached EOF.
1632 2001-05-07  H.J. Lu  <hjl@gnu.org>
1634         * elf/ldconfig.c (dir_entry): Add ino and dev.
1635         (add_single_dir): Compare ino and dev to check if 2 directory
1636         paths are the same or not.  Free entry->path for duplicates.
1637         (add_dir): Initialize ino and dev for entry.
1638         (search_dir): Handle symlink to directory.
1640 2001-05-07  Andreas Jaeger  <aj@suse.de>
1642         * sysdeps/i386/fpu/libm-test-ulps: Add ulps for new exp tests.
1644         * math/libm-test.inc (exp_test): Add some more tests.
1645         (pow_test): Run double only test also for long double.
1647         * math/test-ldouble.c (TEST_LDOUBLE): Define.
1648         * math/test-ildoubl.c (TEST_LDOUBLE): Likewise.
1650         * sysdeps/generic/bits/confname.h: Remove extra comma at end of
1651         enumeration.
1652         Closes PR libc/2240.
1654         * scripts/config.guess: Imported from gnu.org.
1655         * scripts/config.sub: Likewise.
1657 2001-05-05  Jakub Jelinek  <jakub@redhat.com>
1659         * include/features.h (__USE_EXTERN_INLINES): Don't define if
1660         __NO_INLINE__ is defined.
1661         * ctype/ctype.h (tolower, toupper): Change the guard condition to
1662         __USE_EXTERN_INLINES check only.
1663         * stdlib/stdlib.h (strtod, ...): Likewise.
1664         * wcsmbs/wchar.h (mbrlen): Likewise.
1665         * string/string.h: Only include bits/string.h and bits/string2.h
1666         if __NO_INLINE__ is not defined.
1668 2001-05-07  Andreas Jaeger  <aj@suse.de>
1670         * debug/Makefile ($(objpfx)xtrace): Substitute @SLIBDIR@ instead
1671         of @LIBDIR@.
1673 2001-05-04  H.J. Lu  <hjl@gnu.org>
1675         * malloc/Makefile ($(objpfx)memusage): Substitute @SLIBDIR@
1676         not @LIBDIR@.
1678 2001-05-06  Andreas Jaeger  <aj@suse.de>
1680         * sysdeps/i386/fpu/e_fmodl.c: New, rewrite of e_fmodl.S.
1681         * sysdeps/i386/fpu/e_fmodl.S: Removed.
1682         * sysdeps/i386/fpu/e_atan2l.c: New, rewrite of e_atan2l.S.
1683         * sysdeps/i386/fpu/e_atan2l.S: Removed.
1684         * sysdeps/i386/fpu/e_acosl.c: New, rewrite of e_acos.S.
1685         * sysdeps/i386/fpu/s_atanl.c: New, rewrite of e_atanl.S.
1686         * sysdeps/i386/fpu/e_sqrtl.c: New, rewrite of e_sqrt.S.
1687         * sysdeps/i386/fpu/e_acosl.S: Removed.
1688         * sysdeps/i386/fpu/s_atanl.S: Removed.
1689         * sysdeps/i386/fpu/e_sqrtl.S: Removed.
1691 2001-05-05  Mark Kettenis  <kettenis@gnu.org>
1693         * sysdeps/mach/hurd/bits/environments.h: Add comment from
1694         sysdeps/generic/bits/environments.h.  Define _POSIX_V6_* values.
1696 2001-04-30  Jakub Jelinek  <jakub@redhat.com>
1698         * posix/confstr.c (confstr) [_CS_V6_WIDTH_RESTRICTED_ENVS]: Move so
1699         that _CS_LFS_CFLAGS can fall through to the empty returned string
1700         case.  Add FALLTHROUGH comment.
1702 2001-04-29  Ralf Baechle  <ralf@gnu.org>
1704         * sysdeps/unix/sysv/linux/mips/bits/sem.h: Make structure
1705         definitions match the kernel definitions.
1706         * sysdeps/unix/sysv/linux/mips/bits/ipc.h: Likewise.
1707         * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
1709 2001-04-29  Ben Collins  <bcollins@debian.org>
1711         * sysdeps/sparc/sparc64/dl-machine.h: Fix multiline strings
1712         warnings.
1713         * sysdeps/sparc/sparc64/soft-fp/qp_add.c: Likewise.
1714         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
1715         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
1716         * sysdeps/sparc/sparc64/soft-fp/qp_div.c: Likewise.
1717         * sysdeps/sparc/sparc64/soft-fp/qp_dtoq.c: Likewise.
1718         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
1719         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
1720         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
1721         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
1722         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
1723         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
1724         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
1725         * sysdeps/sparc/sparc64/soft-fp/qp_qtod.c: Likewise.
1726         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
1727         * sysdeps/sparc/sparc64/soft-fp/qp_qtos.c: Likewise.
1728         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
1729         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
1730         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
1731         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
1732         * sysdeps/sparc/sparc64/soft-fp/qp_sqrt.c: Likewise.
1733         * sysdeps/sparc/sparc64/soft-fp/qp_stoq.c: Likewise.
1734         * sysdeps/sparc/sparc64/soft-fp/qp_sub.c: Likewise.
1735         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
1737 2001-04-29  Andreas Schwab  <schwab@suse.de>
1739         * sysdeps/unix/sysv/linux/kernel-features.h: Fix missing backslash
1740         in last change.
1742 2001-04-29  Andreas Jaeger  <aj@suse.de>
1744         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
1745         Define for Arm, PowerPC and SH if kernel is 2.4.4 or newer.
1747         * sysdeps/unix/sysv/linux/bits/socket.h (PF_WANPIPE): New, from
1748         Linux 2.4.4.
1749         (AF_WANPIPE): Likewise.
1750         (MSG_MORE): New.
1752         * sysdeps/unix/sysv/linux/alpha/bits/socket.h: Add same changes as
1753         for Linux generic version.
1754         * sysdeps/unix/sysv/linux/s390/s390-64/bits/socket.h: Likewise.
1755         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
1756         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
1757         * sysdeps/unix/sysv/linux/ia64/bits/socket.h: Likewise.
1759         * sysdeps/gnu/netinet/tcp.h (TCP_QUICKACK): New.
1761 2001-04-27  Ulrich Drepper  <drepper@redhat.com>
1763         * nis/nss-nis.h: Correct test for invalid error number.
1764         * nis/nss-nisplus.h: Likewise.
1766         * nis/Makefile (libnss_compat-rountines): Add nss-nisplus.
1768 2001-04-26  Ulrich Drepper  <drepper@redhat.com>
1770         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add getunwind.
1772         * string/strcoll.c: Fix two memory allocation problems.
1773         * string/Makefile (tests): Add bug-strcoll1.
1774         * string/bug-strcoll1.c: New file.
1776         * malloc/mcheck.c (mcheck): Call malloc once before setting the
1777         hooks to allow the internal check hooks to be set up if necessary.
1779         * nis/nss-nis.h: Move yperr2nss_tab definition into separate file
1780         and rename to __yperr2nss_tab.  Change YPERR_COUNT into variable
1781         __yperr2nss_count.
1782         * nis/nss-nis.c: New file.
1783         * nis/nss-nisplus.h: Move niserr2nss_tab definition into separate file
1784         and rename to __niserr2nss_tab.  Change NISERR_COUNT into variable
1785         __niserr2nss_count.
1786         * nis/nss-nisplus.c: New file.
1787         * nis/Makefile (libnss_compat-routines): Add nss-nis.
1788         (libnss_nis-routines): Likewise.
1789         (libnss_nisplus-routines): Add nss-nisplus.
1791         * nis/nss_nisplus/nisplus-alias.c: Remove unnecessary initializations.
1792         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
1793         * nis/nss_nisplus/nisplus-grp.c: Likewise.
1794         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
1795         * nis/nss_nisplus/nisplus-network.c: Likewise.
1796         * nis/nss_nisplus/nisplus-proto.c: Likewise.
1797         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
1798         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
1799         * nis/nss_nisplus/nisplus-service.c: Likewise.
1800         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
1801         * nis/nss_nis/nis-alias.c: Likewise.
1802         * nis/nss_nis/nis-ethers.c: Likewise.
1803         * nis/nss_nis/nis-grp.c: Likewise.
1804         * nis/nss_nis/nis-network.c: Likewise.
1805         * nis/nss_nis/nis-proto.c: Likewise.
1806         * nis/nss_nis/nis-pwd.c: Likewise.
1807         * nis/nss_nis/nis-spwd.c: Likewise.
1808         * nis/nss_compat/compat-grp.c: Likewise.
1809         * nis/nss_compat/compat-initgroups.c: Likewise.
1810         * nis/nss_compat/compat-pwd.c: Likewise.
1811         * nis/nss_compat/compat-spwd.c: Likewise.
1813         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Some more
1814         optimizations.  Patch by Jakub Jelinek <jakub@redhat.com>.
1816 2001-04-26  Andreas Jaeger  <aj@suse.de>
1818         * po/zh_TW.po: Update.
1819         Patch by Tung-Han Hsieh <thhsieh@tlug.sinica.edu.tw>.
1821 2001-04-25  Ulrich Drepper  <drepper@redhat.com>
1823         * malloc/malloc.c: Allow MALLOC_ALIGNMENT to be defined on the
1824         compiler command line.
1825         * sysdeps/hppa/Makefile: Add -DMALLOC_ALIGNMENT=16 to compiler
1826         command line for malloc.c.
1828 2001-04-25  Jakub Jelinek  <jakub@redhat.com>
1830         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/time.h: Move to...
1831         * sysdeps/unix/sysv/linux/sparc/bits/time.h: ...here.
1832         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/bits/time.h: Remove.
1833         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/socket.h: Move to...
1834         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: ...here.  Adjust
1835         struct msghdr for __WORDSIZE == 32.
1836         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/statvfs.h: Move to...
1837         * sysdeps/unix/sysv/linux/sparc/bits/statvfs.h: ...here.  Adjust
1838         for __WORDSIZE == 32.
1839         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/siginfo.h: Remove.
1840         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/get_clockfreq.c: New
1841         file.
1842         * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S (__libc_siglongjmp):
1843         Rename from longjmp, make longjmp weak alias to it.
1845 2001-04-24  David S. Miller  <davem@redhat.com>
1847         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: New file.
1849 2001-04-25  Matthew Wilcox  <willy@ldl.fc.hp.com>
1851         * sysdeps/hppa/stackinfo.h: New file.
1852         * sysdeps/unix/sysv/linux/hppa/getdents64.c: New file.
1853         * sysdeps/unix/sysv/linux/hppa/mmap64.c: New file.
1854         * sysdeps/unix/sysv/linux/hppa/bits/resource.h: New file.
1855         * sysdeps/unix/sysv/linux/kernel-features.h: Add descriptions
1856         of PA kernel features.
1858 2001-04-25  Ulrich Drepper  <drepper@redhat.com>
1860         * locale/programs/localedef.c (main): Always set a file name for
1861         the initial locale.
1862         * locale/programs/locfile.c (locfile_read): filename is allowed to
1863         be NULL.
1865 2001-04-12  Paul Bame  <paul_bame@hp.com>
1867         * sysdeps/hppa/fpu/fclrexcpt.c: Clear the exception flags, not the
1868         enable flags.
1870 2001-04-24  Ulrich Drepper  <drepper@redhat.com>
1872         * sysdeps/generic/bits/environments.h (_POSIX_V6_LPBIG_OFFBIG,
1873         _XBS5_LPBIG_OFFBIG): Define to -1.
1874         Fix typos.
1876         * sysdeps/generic/bits/confname.h: Add _CS_V6_WIDTH_RESTRICTED_ENVS.
1877         * posix/confstr.c: Handle _CS_V6_WIDTH_RESTRICTED_ENVS.
1878         * posix/getconf.c: Handle _POSIX_V6_WIDTH_RESTRICTED_ENVS.
1879         * posix/tst-getconf.sh: Add _POSIX_V6_WIDTH_RESTRICTED_ENVS.
1881         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9b/Implies: New file.
1882         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9b/bits/time.h: Removed.
1884 2001-03-21  Alan Modra  <alan@one.net.au>
1886         * sysdeps/hppa/dl-machine.h (RTLD_START): Set up dp with DT_PLTGOT
1887         value from application so that constructors in non-PIC libs work.
1889 2000-12-13  Jes Sorensen  <jes@linuxcare.com>
1891         * sysdeps/hppa/dl-machine.h (RTLD_START): _dl_init now returns a
1892         function pointer, hence load the jump address and gp from the
1893         function pointer before jumping.
1895 2001-04-24  Andreas Jaeger  <aj@suse.de>
1897         * sysdeps/generic/send.c (__send): Return ssize_t.
1898         * sysdeps/mach/hurd/send.c (__send): Likewise.
1899         * sysdeps/mach/hurd/recv.c (recv): Likewise.
1900         * sysdeps/mach/hurd/sendto.c (sendto): Likewise.
1901         * sysdeps/generic/sendto.c (sendto): Likewise.
1902         * sysdeps/generic/recvmsg.c (recvmsg): Likewise.
1903         * sysdeps/mach/hurd/recvfrom.c (recvfrom): Likewise.
1904         * sysdeps/generic/recvfrom.c (recvfrom): Likewise.
1905         * sysdeps/generic/sendmsg.c (sendmsg): Likewise.
1907         * socket/sys/socket.h: send* and recv* return ssize_t.
1909         * include/sys/socket.h: send returns ssize_t.
1911         * sysdeps/i386/fpu_control.h: Fix comments.
1913 2001-04-24  Ulrich Drepper  <drepper@redhat.com>
1915         * sysdeps/ia64/Dist: Add hp-timing.c.
1916         * sysdeps/unix/sysv/linux/sparc/sparc64/Dist: Add ucontext_i.h.
1917         * posix/Makefile (distribute): Add tst-getconf.sh.
1918         * po/Makefile (distribute): Add $(BROKEN_LINGUAS:=.po).
1920 2001-04-23  Ulrich Drepper  <drepper@redhat.com>
1922         * sysdeps/ia64/Makefile [subdir=csu] (sysdep_routines): Add hp-timing.
1923         * sysdeps/ia64/Versions: Add _dl_cpuclock_offset for ld in 2.2.3.
1924         * sysdeps/ia64/hp-timing.c: New file.
1925         * sysdeps/ia64/hp-timing.h: New file.
1926         * sysdeps/unix/sysv/linux/ia64/bits/time.h: Add definitions for
1927         CLOCK_PROCESS_CPUTIME_ID and CLOCK_THREAD_CPUTIME_ID.
1929         * sysdeps/generic/clock_getcpuclockid.c: Make function generic, test
1930         using #ifdef whether the clock is available.
1931         * sysdeps/unix/i386/clock_getcpuclockid.c: Not needed anymore.
1933         * sysdeps/generic/dl-sysdep.c: Initialize _dl_cpuclock_offset to move
1934         it into data section.
1936         * sysdeps/unix/i386/i586/clock_getres.c: Removed.
1937         * sysdeps/unix/i386/i586/clock_gettime.c: Removed.
1938         * sysdeps/unix/i386/i586/clock_nanosleep.c: Removed.
1939         * sysdeps/unix/i386/i586/clock_settime.c: Removed.
1940         * sysdeps/unix/i386/i586/cpuclock-init.h: Removed.
1941         * sysdeps/generic/cpuclock-init.h: Removed.
1942         * sysdeps/unix/i386/i686/Implies: Removed.
1943         * sysdeps/unix/i386/i686/tempname.c: Removed.
1944         * sysdeps/i386/i686/Versions: New file.
1945         * sysdeps/unix/i386/i586/Versions: Removed.
1947         * sysdeps/posix/clock_getres.c: If HP_TIMING_AVAIL is nonzero handle
1948         CLOCK_PROCESS_CPUTIME_ID and CLOCK_THREAD_CPUTIME_ID.
1949         * sysdeps/unix/clock_gettime.c: Likewise.
1950         * sysdeps/unix/clock_nanosleep.c: Likewise.
1951         * sysdeps/unix/clock_settime.c: Likewise.
1952         * sysdeps/posix/tempname.c: Is HP_TIMING_AVAIL is nonzero define
1953         RANDOM_BITS use CPU clock.
1955         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/bits/time.h: New file.
1956         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9b/bits/time.h: New file.
1957         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/time.h: New file.
1958         * sysdeps/sparc/Versions: New file.
1960         * elf/dl-support.c: Don't use cpuclock-init.h definitions, use
1961         hp-timing.h definitions.
1962         * sysdeps/generic/dl-sysdep.c: Likewise.
1964         * include/libc-internal.h: Include hp-timing.h.  Use hp_timing_t in
1965         __get_clockfreq prototype.
1967         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
1968         Use hp_timing_t type.
1969         * sysdeps/generic/get_clockfreq.c (__get_clockfreq): Likewise.
1971         * sysdeps/unix/sysv/linux/ia64/get_clockfreq.c: New file.
1973         * sysdeps/posix/pathconf.c (__pathconf): For _PC_ASYNC_IO test
1974         whether named file is a regular file or a block device.
1975         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
1977 2001-04-23  Andreas Jaeger  <aj@suse.de>
1979         * nscd/nscd.h: Add noreturn attribute for start_threads.
1981 2001-04-22  Ulrich Drepper  <drepper@redhat.com>
1983         * posix/getconf.c: Fix names of XBS5 LFS test variables.
1984         Add missing configuration variables from XPG6.
1985         * posix/tst-getconf.c: New file.
1986         * posix/Makefile (generated): Add tst-getconf.out.
1987         (tests): Add ($objpfx)tst-getconf.out.
1988         Add rule to run tst-getconf.sh.
1989         * sysdeps/generic/bits/confname.h: Add missing _PC_ and _SC_ values
1990         from XPG6.
1991         * sysdeps/posix/fpathconf.c: Add handling of _PC_ALLOC_SIZE_MIN and
1992         _PC_SYMLINK_MAX.
1993         * sysdeps/posix/pathconf.c: Likewise.
1994         * sysdeps/posix/sysconf.c: Correct spelling of _SC_MULTI_PROCESS
1995         and _SC_SYMLOOP_MAX.
1997 2001-04-22  Philip Blundell  <philb@gnu.org>
1999         * sysdeps/arm/fpu/feenablxcpt.c: New file.
2000         * sysdeps/arm/fpu/fedisablxcpt.c: New file.
2001         * sysdeps/arm/fpu/fegetexcpt.c: New file.
2003 2001-04-22  Philip Blundell  <philb@gnu.org>
2005         * sysdeps/unix/sysv/linux/arm/sys/user.h (struct user_fpregs):
2006         Renamed from struct user_fp.
2007         (struct user_regs): New.
2008         (struct user): Use struct user_regs rather than struct pt_regs to
2009         avoid dependency on asm/ptrace.h.  Use struct user_fpregs in place
2010         of struct user_fp and struct user_fp_struct.
2011         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Include sys/procfs.h
2012         not sys/elf.h.
2014 2001-04-22  Philip Blundell  <philb@gnu.org>
2016         * sysdeps/unix/sysv/linux/arm/sys/elf.h: Move contents to
2017         sys/procfs.h, and tell the user to include that file instead.
2018         * sysdeps/unix/sysv/linux/arm/sys/procfs.h: Remove old cruft
2019         surrounded with #if 0.
2020         (elf_greg_t, ELF_NGREG, elf_gregset_t, elf_fpregset_t): Moved here
2021         from sys/elf.h.
2022         (prgregset_t, prfpregset_t): Define in terms of elf_gregset_t and
2023         elf_fpregset_t respectively.
2025 2001-04-22  Philip Blundell  <philb@gnu.org>
2027         * sysdeps/unix/sysv/linux/arm/register-dump.h: Also print the
2028         address that faulted.
2030 2001-04-21  Ulrich Drepper  <drepper@redhat.com>
2032         * sysdeps/generic/bits/confname.h: Add _SC_V6_* and _CS_POSIX_V6_*
2033         values.
2034         * sysdeps/generic/bits/environments.h: Define _POSIX_V6_* values.
2035         * posix/confstr.c: Handle _CS_POSIX_V6_* values.
2036         * posix/getconf.c: Handle _CS_POSIX_V6_* and _SC_V6_* values.
2037         * sysdeps/posix/sysconf.c: Handle _SC_V6_* values.
2039         * sysdeps/powerpc/fpu/libm-test-ulps: Add deltas for atan2f.
2040         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
2041         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
2042         * sysdeps/mips/fpu/libm-test-ulps: Likewise.
2044 2001-04-21  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
2046         * sysdeps/unix/sysv/linux/powerpc/mmap64.c: Correct check for invalid
2047         offset.
2049 2001-04-21  Ulrich Drepper  <drepper@redhat.com>
2051         * posix/getopt.h: Treat __cplusplus like __STDC__.
2053 2001-04-20  John S. Marvin  <jsm@fc.hp.com>
2055         * sysdeps/unix/sysv/linux/hppa/clone.S: Fix clone system call
2056         entry point stub.
2058 2001-04-20  Richard Hirst  <rhirst@linuxcare.com>
2060         * elf/elf.h: Corrected R_PARISC_DIR14R (should be 6, not 5),
2061         and added R_PARISC_DPREL21L and R_PARISC_DPREL14R for modutils.
2063         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Removed ptrace
2064         entry so the ptrace.c wrapper is used.
2066 2001-04-20  Alan Modra  <amodra@one.net.au>
2068         * sysdeps/hppa/dl-lookupcfg.h (_dl_function_address): Prototype.
2069         (DL_FUNCTION_ADDRESS): Define.
2070         (DL_DT_INIT_ADDRESS): Define.
2071         (DL_DT_FINI_ADDRESS): Define.
2072         * sysdeps/hppa/Versions: Add _dl_function_address.
2073         * sysdeps/hppa/dl-machine.h (ELF_MACHINE_START_ADDRESS): Define.
2074         * sysdeps/hppa/dl-symaddr.c (_dl_start_address): Rename to
2075         _dl_function_address.
2077 2001-04-21  Andreas Jaeger  <aj@suse.de>
2079         * rt/aio_misc.c (handle_fildes_io): Add noreturn attribute.
2080         * resolv/gai_misc.c (handle_requests): Likewise.
2081         * malloc/obstack.c (print_and_abort): Likewise.
2082         * malloc/mcheck.c (mabort): Likewise.
2084         * sysdeps/unix/i386/i586/clock_settime.c: Include
2085         "libc-internal.h" for __get_clockfreq declaration.
2087 2001-04-21  Ulrich Drepper  <drepper@redhat.com>
2089         * elf/dl-support.c: Include cpuclock-init.h.  Use CPUCLOCK_VARDEF and
2090         CPUCLOCK_INIT if defined.
2091         * sysdeps/generic/dl-sysdep.c: Likewise.
2092         * sysdeps/generic/cpuclock-init.h: New file.
2093         * sysdeps/unix/i386/i586/cpuclock-init.h: New file.
2094         * sysdeps/unix/i386/i586/Versions: New file.
2095         * sysdeps/unix/i386/i586/clock_settime.c: New file.
2096         * sysdeps/unix/i386/i586/clock_gettime.c: Handle thread CPU clock
2097         separately by calling __pthread_clock_gettime if this function is
2098         available.  Subtract offset from tsc value before computing time value.
2100 2001-04-20  Ulrich Drepper  <drepper@redhat.com>
2102         * iconv/iconv_prog.c (print_known_names): If printing goes not to
2103         a tty print in a more machine-friendly way.
2105         * sysdeps/ieee754/ldbl-128/e_asinl.c: New file.
2106         Contributed by Stephen L Moshier <moshier@mediaone.net>.
2108 2001-04-20  Andreas Jaeger  <aj@suse.de>
2110         * intl/Makefile (tests): Reorder conditions, tst-gettext needs msgfmt.
2112 2001-04-20  Andreas Schwab  <schwab@suse.de>
2114         * sysdeps/m68k/fpu/libm-test-ulps: Update.
2116 2001-04-19  Alan Modra  <amodra@one.net.au>
2118         * Makerules (libc_pic.os): Add $(LDFLAGS-c_pic.os).
2119         * sysdeps/hppa/Makefile (LDFLAGS-c_pic.os): Define.
2120         (CFLAGS-.os): Remove.
2122         * sysdeps/unix/sysv/linux/hppa/sysdep.h (CALL_MCOUNT): Update comment.
2124         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (NGREG, NFPREG,
2125         gregset): Correct for new kernel definitions.
2127 2001-04-19  Alan Modra  <alan@linuxcare.com.au>
2129         * sysdeps/hppa/elf/initfini.c: Change dlt reg save to r3 and
2130         generate unwind info by hand.
2132 2001-04-19  Ulrich Drepper  <drepper@redhat.com>
2134         * sysdeps/unix/sysv/linux/powerpc/mmap64.c (__mmap64): Optimize a bit.
2136         * configure.in: Correct regular expression for msgfmt.
2137         Patch by Bruno Haible <haible@ilog.fr>.
2139 2001-04-19  Andreas Jaeger  <aj@suse.de>
2141         * po/el.po: Add comment explaining what's broken.
2143         * po/Makefile (BROKEN_LINGUAS): New.
2144         (ALL_LINGUAS): Don't add broken languages.
2146 2001-04-19  Roland McGrath  <roland@frob.com>
2148         * sysdeps/mach/hurd/mlock.c: New file.
2149         * sysdeps/mach/hurd/munlock.c: New file.
2150         * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_MEMLOCK_RANGE): Define it.
2152         * misc/Makefile (routines): Add mlock munlock mlockall munlockall.
2153         * sysdeps/generic/mlock.c: New file.
2154         * sysdeps/generic/munlock.c: New file.
2155         * sysdeps/generic/mlockall.c: New file.
2156         * sysdeps/generic/munlockall.c: New file.
2157         * sysdeps/generic/bits/mman.h (MCL_CURRENT, MCL_FUTURE): New macros.
2158         * sysdeps/unix/sysv/linux/syscalls.list (mlock, munlock,
2159         mlockall, munlockall): Change caller field to - from EXTRA.
2160         Don't use __ names; not used (and not declared in include/sys/mman.h).
2162         * hurd/privports.c (__get_privileged_ports): Renamed with __.
2163         Use __ names for calls we make.
2164         (get_privileged_ports): Add alias.
2165         * hurd/hurd.h: Declare it with the __ name.
2166         * sysdeps/mach/hurd/reboot.c (reboot): Use __get_privileged_ports.
2167         * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
2168         * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
2170         * hurd/hurdsig.c (write_corefile): Check RLIMIT_CORE limit and do
2171         nothing if it's zero.
2173 2001-04-19  Matthew Wilcox  <willy@ldl.fc.hp.com>
2175         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL):
2176         Change to return a signed result for compatibility with other
2177         architectures, and correctness.
2179 2001-04-19  Ulrich Drepper  <drepper@redhat.com>
2181         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_32BITUIDS):
2182         HPPA always had them.  Patch by Matthew Wilcox <matthew@wil.cx>.
2184 2001-04-19  Andreas Jaeger  <aj@suse.de>
2186         * configure.in: Require gettext 0.10.36 or newer.
2188         * manual/install.texi (Tools for Compilation): Mention gettext 0.10.36.
2190         * po/zh_TW.po: Remove extraneous backslashes.
2192         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Remove unused
2193         variables b and n.
2195 2001-04-18  Jakub Jelinek  <jakub@redhat.com>
2197         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Update.
2198         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c: New file.
2199         * sysdeps/unix/sysv/linux/sparc/sparc64/swapcontext.c: New file.
2200         * sysdeps/unix/sysv/linux/sparc/sparc64/setcontext.S (__setcontext):
2201         Copy first word of uc_sigmask into __uc_sigmask.
2202         * sysdeps/unix/sysv/linux/sparc/sparc64/getcontext.S (__getcontext):
2203         Save uc_link around trap.  Copy __uc_sigmask into first word of
2204         uc_sigmask, clear the rest.  Make sure setcontext to the created
2205         context doesn't do this though.
2206         * sysdeps/unix/sysv/linux/sparc/sparc64/ucontext_i.h: New file.
2207         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (ucontext_t): Add
2208         uc_stack and uc_sigmask, rename old uc_sigmask to __uc_sigmask in the
2209         64bit version, make uc_sigmask __sigset_t in the 32bit version.
2211 2001-04-19  Andreas Jaeger  <aj@suse.de>
2213         * sysdeps/unix/sysv/linux/hppa/umount.c: Fix typos in last patch.
2215         * rt/Makefile (otherlibs): Added for static NSS.
2217         * glibcbug.in (BUGGLIBC): Send to new alias.
2219 2001-04-02  Andreas Schwab  <schwab@suse.de>
2221         * Makerules (build-module): Make sure exit codes get checked
2222         properly and remove unnecessary slashes.
2224 2001-04-17  Ulrich Drepper  <drepper@redhat.com>
2226         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
2227         Handle kernels which report only three digits after the decimal point.
2228         Reported by Van Okamura <van.okamura@oracle.com>.
2230         * sysdeps/alpha/fpu/libm-test-ulps: Adjust error values for atan2f.
2232 2001-04-17  David S. Miller  <davem@redhat.com>
2234         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Update for new atan2 tests.
2235         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
2237 2001-04-17  Jakub Jelinek  <jakub@redhat.com>
2239         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Make sure
2240         desired exceptions are raised for exceptional values.
2241         * math/libm-test.inc (acosh_test, atan_test, atan2_test, cacos_test,
2242         cacosh_test, casin_test, casinh_test, catan_test, catanh_test,
2243         clog_test, log_test, log1p_test, tan_test): Increase precision of
2244         expected values to satisfy ldbl-128.
2245         * sysdeps/alpha/fpu/libm-test-ulps: Adjust accordingly.
2246         * sysdeps/arm/libm-test-ulps: Likewise.
2247         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
2248         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
2249         * sysdeps/m68k/fpu/libm-test-ulps: Likewise.
2250         * sysdeps/mips/fpu/libm-test-ulps: Likewise.
2251         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
2252         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
2253         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
2254         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
2255         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
2257 2001-04-17  Andreas Jaeger  <aj@suse.de>
2259         * configure.in: Move test for critical programs up.
2261 2001-04-16  Stephen L Moshier  <moshier@mediaone.net>
2263         * sysdeps/ieee754/flt-32/e_asinf.c (pio2_hi, pio2_lo, pio4_hi):
2264         Correct the values.
2265         (pSx, qSx): Replace by shorter approximation.
2266         Use f suffix on float constants.
2268 2001-04-16  Ulrich Drepper  <drepper@redhat.com>
2270         * sysdeps/ieee754/ldbl-128/k_tanl.c: New file.
2271         Contributed by Stephen L Moshier <moshier@mediaone.net>.
2273         * string/string.h: Replace const in attribute list with __const__.
2275 2001-04-16  Roland McGrath  <roland@frob.com>
2277         * grp/initgroups.c (initgroups) [NGROUPS_MAX != 0]: Always use sysconf
2278         instead of the constant NGROUPS_MAX.  That way, the limit can be
2279         raised in the kernel configuration without having to recompile libc.
2281         * sysdeps/posix/euidaccess.c: Don't #include <limits.h> or try to
2282         define NGROUPS_MAX; we don't use it here.
2284 2001-04-16  Andreas Jaeger  <aj@suse.de>
2286         * math/libm-test.inc (atan2_test): Add more testcases.
2288         * iconv/gconv_db.c: Include gconv_charset.h for
2289         __gconv_lookup_alias prototype.
2291 2001-04-13  Ulrich Drepper  <drepper@redhat.com>
2293         * sysdeps/ieee754/ldbl-128/s_atanl.c: New file.
2294         Contributed by Stephen L Moshier <moshier@mediaone.net>.
2296 2001-04-13  Jes Sorensen  <jes@linuxcare.com>
2298         * intl/tst-codeset.c: Include string.h to get prototype for strcmp().
2300 2001-04-13  Jes Sorensen  <jes@linuxcare.com>
2302         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Add __pad0 to
2303         explicitly pad struct siginfo instead of relying on compiler padding.
2305 2001-04-12  Ulrich Drepper  <drepper@redhat.com>
2307         * sysdeps/ia64/Dist: Add elf/entry.h.
2309         * iconvdata/Makefile (distribute): Add TESTS2.
2311 2001-04-13  Jakub Jelinek  <jakub@redhat.com>
2313         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_load_address):
2314         Calculate load address differently.
2316 2001-04-12  Bruno Haible  <haible@clisp.cons.org>
2318         * iconvdata/TESTS2: New file.
2319         * iconvdata/run-iconv-test.sh: Also run tests from TESTS2.
2320         * iconvdata/testdata/alfabeta..UTF-8: New file.
2321         * iconvdata/testdata/alfabeta..UTF-16.BE: New file.
2322         * iconvdata/testdata/alfabeta..UTF-16.LE: New file.
2323         * iconvdata/testdata/alfabeta..UTF-32.BE: New file.
2324         * iconvdata/testdata/alfabeta..UTF-32.LE: New file.
2326 2001-04-11  Bruno Haible  <haible@clisp.cons.org>
2328         * iconvdata/utf-32.c: New file.
2329         * iconvdata/gconv-modules: Add entries for UTF-32, UTF-32LE, UTF-32BE.
2330         * iconvdata/Makefile (modules): Add UTF-32.
2331         (distribute): Add utf-32.c.
2333 2001-04-11  Bruno Haible  <haible@clisp.cons.org>
2335         * iconvdata/utf-16.c (PREPARE_LOOP): Initialize 'swap' after possibly
2336         changing it in the state.  After incrementing 'inptr', store it back.
2337         * iconvdata/unicode.c (PREPARE_LOOP): After incrementing 'inptr',
2338         store it back.
2340 2001-04-11  Bruno Haible  <haible@clisp.cons.org>
2342         * iconvdata/utf-16.c (gconv_init): Use MAX_NEEDED_FROM, not
2343         MIN_NEEDED_FROM.
2345 2001-04-11  David Mosberger  <davidm@hpl.hp.com>
2347         * sysdeps/ia64/htonl.S: Drop superfluous "alloc".
2348         * sysdeps/ia64/htons.S: Likewise.
2350         * sysdeps/ia64/memset.S: Add unwind directives.
2351         * sysdeps/ia64/strncpy.S: Likewise.
2352         * sysdeps/ia64/strcat.S: Likewise.
2354         * sysdeps/ia64/memccpy.S: Add unwind directives.  Drop superfluous
2355         restore of ar.pfs.
2356         * sysdeps/ia64/strchr.S: Likewise.
2357         * sysdeps/ia64/memmove.S: Likewise.
2358         * sysdeps/ia64/memcpy.S: Likewise.
2359         * sysdeps/ia64/memcmp.S: Likewise.
2360         * sysdeps/ia64/memchr.S: Likewise.
2361         * sysdeps/ia64/strcmp.S: Likewise.
2362         * sysdeps/ia64/strlen.S: Likewise.
2363         * sysdeps/ia64/strcpy.S: Likewise.
2364         * sysdeps/ia64/strncmp.S: Likewise.
2366 2001-04-11  Jakub Jelinek  <jakub@redhat.com>
2368         * wcsmbs/wchar.h (fgetwc, getwc, getwchar, fputwc, putwc, putwchar,
2369         fgetws, fputws, ungetwc, getwc_unlocked, getwchar_unlocked,
2370         fgetwc_unlocked, fputwc_unlocked, putwc_unlocked, putwchar_unlocked,
2371         fgetws_unlocked, fputws_unlocked, wcsftime): Add __THROW.
2373 2001-04-11  Andreas Jaeger  <aj@suse.de>
2375         * sysdeps/mips/elf/start.S [__ASSEMBLY__]: Define it.
2377 2001-04-11  Andreas Schwab  <schwab@suse.de>
2379         * sysdeps/m68k/fpu/libm-test-ulps: Adjusted.
2381 2001-04-11  Ulrich Drepper  <drepper@redhat.com>
2383         * sysdeps/arm/stackinfo.h: New file.
2385 2001-04-08  Thorsten Kukuk  <kukuk@suse.de>
2387         * sunrpc/rpc_main.c: If we compile RPC thread safe, allow
2388         rpcgen to generate thread safe code.
2390 2001-04-10  Andreas Jaeger  <aj@suse.de>
2392         * math/test-fenv.c (initial_tests): Protect FE_TONEAREST declaration.
2394 2001-04-10  Ulrich Drepper  <drepper@redhat.com>
2396         * elf/dl-minimal.c (__assert_fail): Change error string.  It's
2397         most of the time no bug in ld.so.
2398         (__assert_perror_fail): Likewise.
2400 2001-04-11  Hans-Peter Nilsson  <hp@axis.com>
2402         * sysdeps/generic/bits/fenv.h (fexcept_t): Change default type
2403         from struct to unsigned int.
2405 2001-04-10  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
2407         * elf/elf.h (AT_DCACHEBSIZE, AT_ICACHEBSIZE, AT_UCACHEBSIZE,
2408         AT_IGNOREPPC): New defines.
2409         * sysdeps/generic/dl-sysdep.c (_dl_show_auxv): Print them.
2410         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_STD_AUXV):
2411         Define for newer powerpc kernels.
2412         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Use the standard
2413         DL_FIND_ARG_COMPONENTS if __ASSUME_STD_AUXV is defined.
2415 2000-4-10  kaz Kojima  <kkojima@rr.iij4u.or.jp>
2417         * sysdeps/sh/stackinfo.h: New file.
2419 2001-04-10  Ulrich Drepper  <drepper@redhat.com>
2421         * locale/tst-C-locale.c (run_test): Add tests for locale objects.
2422         * locale/newlocale.c (__newlocale): Correct setting __ctype_b,
2423         __ctype_tolower, and __ctype_toupper elements.
2425         * ctype/ctype_l.c: Fix definitions of __tolower_l and __toupper_l.
2426         Reported by Konstantin Osipov <rabid@spylog.ru>.
2428         * sysdeps/i386/fpu/libm-test-ulps: Add deltas for tgamma to help
2429         the lousy AMD FPU.
2431 2001-04-10  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
2433         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: New file.
2434         * sysdeps/unix/sysv/linux/powerpc/Dist: Add sys/ptrace.h.
2435         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Delete wrong stuff.
2436         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Correct typedefs.
2438 2001-04-10  Ulrich Drepper  <drepper@redhat.com>
2440         * elf/dl-deps.c (_dl_map_object_deps): Provide complete error
2441         message.  Based on a patch by HJ Lu.
2443 2001-04-10  Andreas Schwab  <schwab@suse.de>
2445         * math/libm-test.inc (csinh_test): Don't require the invalid
2446         exception for csinh (x + iNaN), but make it optional.
2448 2001-04-09  David Mosberger  <davidm@hpl.hp.com>
2450         * sysdeps/ia64/elf/start.S (_start): Add unwind directives.
2452         * sysdeps/generic/entry.h [!__ASSEMBLY__]: Declare _start.
2453         * sysdeps/ia64/elf/entry.h: New file.
2454         * sysdeps/unix/sysv/linux/mips/entry.h [!__ASSEMBLY__]: Declare
2455         __start.
2456         * elf/rtld.c: Don't declare ENTRY_POINT.  Use ENTRY_POINT instead
2457         of &ENTRY_POINT.
2458         * sysdeps/generic/dl-sysdep.c: Likewise.
2459         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
2460         * sysdeps/ia64/elf/start.S: Save base address of register backing
2461         store in __libc_ia64_register_backing_store_base.
2463 2001-04-10  Martin Schwidefsky  <schwidefsky@de.ibm.com>
2465         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Fix return
2466         value of getcontext.
2467         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
2468         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Fix return
2469         value of setcontext.
2470         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
2471         * sysdeps/unix/sysv/linux/s390/swapcontext.c: Skip setcontext
2472         call by changing the saved context.
2474 2001-04-10  Ulrich Drepper  <drepper@redhat.com>
2476         * sysdeps/alpha/stackinfo.h: New file.
2477         * sysdeps/ia64/stackinfo.h: New file.
2479 2001-04-10  Andreas Schwab  <schwab@suse.de>
2481         * sysdeps/m68k/fpu/e_pow.c: Correct handling of some exceptional
2482         values.
2483         * sysdeps/m68k/fpu/e_scalb.c: Likewise.
2485 2001-04-09  Ulrich Drepper  <drepper@redhat.com>
2487         * sysdeps/sparc/sparc32/sparcv9/Dist: Add hp-timing.c.
2488         * sysdeps/sparc/sparc64/Dist: Add hp-timing.c.
2490         * libio/Makefile (distribute): Add fd_to_filename.h.
2492 2001-04-05  David S. Miller  <davem@redhat.com>
2494         Add hp-timing support for sparcv9/sparc64 targets.
2495         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: New file
2496         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: New file
2497         * sysdeps/sparc/sparc64/hp-timing.c: New file
2498         * sysdeps/sparc/sparc64/hp-timing.h: New file
2499         * sysdeps/sparc/sparc32/sparcv9/Makefile: Build hp-timing.
2500         * sysdeps/sparc/sparc64/Makefile: Likewise.
2502 2001-04-09  Jakub Jelinek  <jakub@redhat.com>
2504         * sysdeps/generic/fd_to_filename.h: New file.
2505         * sysdeps/unix/sysv/linux/fd_to_filename.h: New file.
2506         * libio/freopen.c (freopen): If FILENAME is NULL, try to get
2507         filename from the open file descriptor.
2508         * libio/freopen64.c (freopen64): Likewise.
2510 2001-04-09  Bruno Haible  <haible@clisp.cons.org>
2512         * misc/error.c (error): fflush stdout also if
2513         error_print_progname != NULL.
2514         (error_at_line): Likewise.
2516 2001-04-07  Bruno Haible  <haible@clisp.cons.org>
2518         * intl/gettextP.h (struct loaded_domain): Add codeset_cntr field.
2519         (struct binding): Add codeset_cntr field.
2520         (_nl_load_domain): Add domainbinding argument.
2521         (_nl_init_domain_conv, _nl_free_domain_conv): New declarations.
2522         (_nl_find_msg): New declaration, moved here from loadinfo.h.
2523         * intl/loadinfo.h (struct loaded_l10nfile): Remove domainbinding field.
2524         (_nl_make_l10nflist): Remove domainbinding argument.
2525         (_nl_find_msg): Move declaration to gettextP.h.
2526         * intl/bindtextdom.c (set_binding_values): Initialize ->codeset_cntr
2527         to 0.  Increment it when ->codeset is changed.
2528         * intl/dcigettext.c (DCIGETTEXT): Pass binding to _nl_find_msg.
2529         (_nl_find_msg): Add domainbinding argument.  Reinitialize the converter
2530         if domainbinding->codeset_cntr has been incremented.
2531         * intl/finddomain.c (_nl_find_domain): Don't pass domainbinding to
2532         _nl_make_l10nflist().  Pass it to _nl_load_domain() instead.
2533         * intl/l10nflist.c (_nl_make_l10nflist): Remove domainbinding argument.
2534         * intl/loadmsgcat.c (_nl_init_domain_conv): New function, extracted
2535          from _nl_load_domain.  Append //TRANSLIT also when using libiconv.
2536         (_nl_free_domain_conv): New function, extracted from _nl_unload_domain.
2537         (_nl_load_domain): Add domainbinding argument.  Call
2538         _nl_init_domain_conv.
2539         (_nl_unload_domain): Call _nl_free_domain_conv.
2540         * intl/Makefile (distribute): Add tst-codeset.sh, tstcodeset.po.
2541         (test-srcs): Add tst-codeset.
2542         (tests): Depend on tst-codeset.out.
2543         (tst-codeset.out): New rule.
2544         (CFLAGS-tst-codeset.c): New variable.
2545         * intl/tst-codeset.sh: New file.
2546         * intl/tstcodeset.po: New file.
2547         * intl/tst-codeset.c: New file.
2548         * locale/findlocale.c (_nl_find_locale): Update _nl_make_l10nflist
2549         calls.
2551 2001-04-07  Roland McGrath  <roland@frob.com>
2553         * mach/msgserver.c (__mach_msg_server_timeout): Add an assert.
2555 2001-03-31  Roland McGrath  <roland@frob.com>
2557         * sysdeps/mach/hurd/fork.c: Skip NEWPROC just like NEWTASK when
2558         copying send rights into child.  When we hit our name for our proc
2559         port, just copy NEWPROC directly instead of repeating proc_task2proc
2560         to install the child's port.
2562 2001-04-08  Roland McGrath  <roland@frob.com>
2564         * Makeconfig ($(common-objpfx)soversions.i): Grok entries with DEFAULT
2565         in second column, to provide default values for third column.
2566         * shlib-versions: Add comments about using DEFAULT in second column.
2567         (s390x-.*-linux.*): Replace individual entries with a DEFAULT entry.
2568         (cris-.*-linux.*): Likewise.
2570 2001-04-09  Ulrich Drepper  <drepper@redhat.com>
2572         * Makefile (distribute): Add scripts/documented.sh.
2573         * scripts/documented.sh: New file.
2575 2001-04-08  Hans-Peter Nilsson  <hp@axis.com>
2577         * sysdeps/unix/sysv/linux/cris/Dist: New file.
2578         * sysdeps/unix/sysv/linux/cris/Makefile: New file.
2579         * sysdeps/unix/sysv/linux/cris/_G_config.h: New file.
2580         * sysdeps/unix/sysv/linux/cris/bits/fcntl.h: New file.
2581         * sysdeps/unix/sysv/linux/cris/bits/mman.h: New file.
2582         * sysdeps/unix/sysv/linux/cris/bits/resource.h: New file.
2583         * sysdeps/unix/sysv/linux/cris/brk.c: New file.
2584         * sysdeps/unix/sysv/linux/cris/chown.c: New file.
2585         * sysdeps/unix/sysv/linux/cris/clone.S: New file.
2586         * sysdeps/unix/sysv/linux/cris/fchown.c: New file.
2587         * sysdeps/unix/sysv/linux/cris/fcntl.c: New file.
2588         * sysdeps/unix/sysv/linux/cris/fxstat.c: New file.
2589         * sysdeps/unix/sysv/linux/cris/getegid.c: New file.
2590         * sysdeps/unix/sysv/linux/cris/geteuid.c: New file.
2591         * sysdeps/unix/sysv/linux/cris/getgid.c: New file.
2592         * sysdeps/unix/sysv/linux/cris/getgroups.c: New file.
2593         * sysdeps/unix/sysv/linux/cris/getresgid.c: New file.
2594         * sysdeps/unix/sysv/linux/cris/getresuid.c: New file.
2595         * sysdeps/unix/sysv/linux/cris/getrlimit.c: New file.
2596         * sysdeps/unix/sysv/linux/cris/getrlimit64.c: New file.
2597         * sysdeps/unix/sysv/linux/cris/getuid.c: New file.
2598         * sysdeps/unix/sysv/linux/cris/lchown.c: New file.
2599         * sysdeps/unix/sysv/linux/cris/lockf64.c: New file.
2600         * sysdeps/unix/sysv/linux/cris/lxstat.c: New file.
2601         * sysdeps/unix/sysv/linux/cris/mmap.S: New file.
2602         * sysdeps/unix/sysv/linux/cris/mmap64.S: New file.
2603         * sysdeps/unix/sysv/linux/cris/msgctl.c: New file.
2604         * sysdeps/unix/sysv/linux/cris/profil-counter.h: New file.
2605         * sysdeps/unix/sysv/linux/cris/register-dump.h: New file.
2606         * sysdeps/unix/sysv/linux/cris/semctl.c: New file.
2607         * sysdeps/unix/sysv/linux/cris/setegid.c: New file.
2608         * sysdeps/unix/sysv/linux/cris/seteuid.c: New file.
2609         * sysdeps/unix/sysv/linux/cris/setfsgid.c: New file.
2610         * sysdeps/unix/sysv/linux/cris/setfsuid.c: New file.
2611         * sysdeps/unix/sysv/linux/cris/setgid.c: New file.
2612         * sysdeps/unix/sysv/linux/cris/setgroups.c: New file.
2613         * sysdeps/unix/sysv/linux/cris/setregid.c: New file.
2614         * sysdeps/unix/sysv/linux/cris/setresgid.c: New file.
2615         * sysdeps/unix/sysv/linux/cris/setresuid.c: New file.
2616         * sysdeps/unix/sysv/linux/cris/setreuid.c: New file.
2617         * sysdeps/unix/sysv/linux/cris/setrlimit.c: New file.
2618         * sysdeps/unix/sysv/linux/cris/setuid.c: New file.
2619         * sysdeps/unix/sysv/linux/cris/shmctl.c: New file.
2620         * sysdeps/unix/sysv/linux/cris/socket.S: New file.
2621         * sysdeps/unix/sysv/linux/cris/sys/ucontext.h: New file.
2622         * sysdeps/unix/sysv/linux/cris/syscall.S: New file.
2623         * sysdeps/unix/sysv/linux/cris/sysdep.S: New file.
2624         * sysdeps/unix/sysv/linux/cris/sysdep.h: New file.
2625         * sysdeps/unix/sysv/linux/cris/vfork.S: New file.
2626         * sysdeps/unix/sysv/linux/cris/xstat.c: New file.
2628 2001-04-08  Hans-Peter Nilsson  <hp@axis.com>
2630         * sysdeps/cris/Dist: New file.
2631         * sysdeps/cris/Implies: New file.
2632         * sysdeps/cris/Makefile: New file.
2633         * sysdeps/cris/__longjmp.S: New file.
2634         * sysdeps/cris/_mcount.S: New file.
2635         * sysdeps/cris/bits/endian.h: New file.
2636         * sysdeps/cris/bits/setjmp.h: New file.
2637         * sysdeps/cris/bits/string.h: New file.
2638         * sysdeps/cris/dl-machine.h: New file.
2639         * sysdeps/cris/elf/start.S: New file.
2640         * sysdeps/cris/machine-gmon.h: New file.
2641         * sysdeps/cris/memcopy.h: New file.
2642         * sysdeps/cris/memusage.h: New file.
2643         * sysdeps/cris/setjmp.S: New file.
2644         * sysdeps/cris/sysdep.h: New file.
2645         * sysdeps/cris/wordcopy.c: New file.
2647 2001-04-08  Hans-Peter Nilsson  <hp@axis.com>
2649         * elf/elf.h: Add new relocations for CRIS.
2651 2001-04-08  Hans-Peter Nilsson  <hp@axis.com>
2653         * shlib-versions: Add cases for Linux on CRIS.
2655 2001-04-08  Hans-Peter Nilsson  <hp@axis.com>
2657         * configure.in (ASM_LINE_SEP tests): Handle CRIS assembly, with
2658         ';' for comments and '@' for line separator.
2660 2001-04-08  Hans-Peter Nilsson  <hp@axis.com>
2662         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Fix
2663         typo; s/==/=/ for assignment.
2665 2001-04-08  Hans-Peter Nilsson  <hp@axis.com>
2667         * malloc/Makefile: Correct comment; mtrace is Perl, not AWK.
2669 2001-04-08  Hans-Peter Nilsson  <hp@axis.com>
2671         * iconv/gconv_simple.c (internal_ucs4_loop_unaligned): Check for
2672         empty input before checking full output.
2674 2001-04-08  Hans-Peter Nilsson  <hp@axis.com>
2676         * iconv/gconv.c (__gconv): Don't derefer parameter cd before
2677         checking if == -1L.
2679 2001-04-08  Ulrich Drepper  <drepper@redhat.com>
2681         * inet/rexec.c (rexec_af): Avoid calling perror with errno being set.
2683 2001-04-07  Stephen L Moshier  <moshier@mediaone.net>
2685         * sysdeps/ieee754/ldbl-128/e_logl.c: Correct infinity and NaN
2686         return values.
2688 2001-04-07  Ulrich Drepper  <drepper@redhat.com>
2690         * stdlib/tst-setcontext.c (main): Add a test for setcontext.
2692         * sysdeps/unix/sysv/linux/i386/getcontext.S: New file.
2693         * sysdeps/unix/sysv/linux/i386/setcontext.S: New file.
2694         * sysdeps/unix/sysv/linux/i386/makecontext.S: New file.
2695         * sysdeps/unix/sysv/linux/i386/swapcontext.S: New file.
2696         * sysdeps/unix/sysv/linux/i386/ucontext_i.h: New file.
2697         * sysdeps/unix/sysv/linux/i386/Dist: Add ucontext_i.h.
2699 2001-04-07  Andreas Jaeger  <aj@suse.de>
2701         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Use sincos
2702         instead of separate sin and cos.
2703         (__ieee754_j1l): Likewise.
2705 2001-04-06  Ulrich Drepper  <drepper@redhat.com>
2707         * sysdeps/ia64/abort-instr.h: New file.  Code by David Mosberger.
2709         * sysdeps/ia64/atomicity.h: New file.  Copied from libstdc++.
2711         * sysdeps/i386/i486/atomicity.h: Clean up the asms.
2713         * sysdeps/generic/e_scalb.c: Don't use FE_INVALID unless it's
2714         available.
2715         * sysdeps/generic/e_scalbf.c: Likewise.
2716         * sysdeps/generic/e_scalbl.c: Likewise.
2717         Patch by Mark Hatle <fray@mvista.com>.
2719 2001-04-05  David S. Miller  <davem@redhat.com>
2721         * sysdeps/sparc/abort-instr.h: New file.
2723 2001-04-05  Matt Wilson  <msw@redhat.com>
2725         * sysdeps/unix/sysv/linux/alpha/getsysstats.c (GET_NPROCS_PARSER):
2726         added code to parse new 2.4 format.
2727         (GET_NPROCS_CONF_PARSER): Likewise.
2729 2001-04-05  David S. Miller  <davem@redhat.com>
2731         * scripts/config.sub: Recognize sparcv9b like sparcv9.
2732         * configure.in: Add sparcv9b.
2733         * sysdeps/sparc/sparc32/sparcv9b/Implies: New file
2734         * sysdeps/sparc/sparc32/sparcv9b/memcpy.S: New file
2735         * sysdeps/sparc/sparc64/sparcv9b/memcpy.S: New file
2737 2001-04-06  David Mosberger  <davidm@hpl.hp.com>
2739         * stdlib/tst-setcontext.c: Move st2[] to global scope.
2740         (f2): Verify that stack pointer is inside st2[].
2742         * sysdeps/unix/sysv/linux/ia64/getcontext.S: It helps to save r12.
2743         * sysdeps/unix/sysv/linux/ia64/setcontext.S: It helps to restore r12.
2745 2001-04-06  Ulrich Drepper  <drepper@redhat.com>
2747         * timezone/antarctica: Update from tzdata2001b.
2748         * timezone/asia: Likewise.
2749         * timezone/australasia: Likewise.
2750         * timezone/europe: Likewise.
2751         * timezone/northamerica: Likewise.
2753         * iconv/iconv_open.c: Move strip and upstr definitions...
2754         * iconv/gconv_charset.h: ...here.  New file.
2755         * iconv/gconv_db.c (once): Move to file level.
2756         (do_lookup_alias): Split out from __gconv_find_transform.
2757         (__gconv_find_transform): Call do_lookup_alias.
2758         (__gconv_loopup_alias): New function.
2759         * locale/langinfo.h: Define _NL_*_CODESET values for all categories
2760         but LC_CTYPE.
2761         * locale/categories.def: Add entries for new _NL_*_CODESET values.
2762         * locale/C-ctype.c: Use _nl_C_codeset to initialize CODESET entry.
2763         * locale/C-address.c: Initialize _NL_*_CODESET element.
2764         * locale/C-collate.c: Likewise.
2765         * locale/C-identification.c: Likewise.
2766         * locale/C-measurement.c: Likewise.
2767         * locale/C-messages.c: Likewise.
2768         * locale/C-monetary.c: Likewise.
2769         * locale/C-name.c: Likewise.
2770         * locale/C-numeric.c: Likewise.
2771         * locale/C-paper.c: Likewise.
2772         * locale/C-telephone.c: Likewise.
2773         * locale/C-time.c: Likewise.
2774         * locale/localeinfo.h: Declare _nl_C_codeset.
2775         * locale/C_name.c: Define _nl_C_codeset.
2776         * locale/findlocale.c: Before accepting locale check that the used
2777         charset does not conflict with what the locale name said.
2778         * locale/programs/ld-address.c: Emit codeset information.
2779         * locale/programs/ld-collate.c: Likewise.
2780         * locale/programs/ld-identification.c: Likewise.
2781         * locale/programs/ld-measurement.c: Likewise.
2782         * locale/programs/ld-messages.c: Likewise.
2783         * locale/programs/ld-monetary.c: Likewise.
2784         * locale/programs/ld-name.c: Likewise.
2785         * locale/programs/ld-numeric.c: Likewise.
2786         * locale/programs/ld-paper.c: Likewise.
2787         * locale/programs/ld-telephone.c: Likewise.
2788         * locale/programs/ld-time.c: Likewise.
2790         * localedata/tests-mbwc/tst_funcs.h (TST_HEAD_LOCALE): It is an error
2791         if the locale data couldn't be found.
2793         * string/Makefile: Define tst-strxfrm-ENV.
2795         * ysdeps/unix/sysv/linux/ia64/getcontext.S: Fix comment.
2797 2001-04-06  Andreas Jaeger  <aj@suse.de>
2799         * include/sys/profil.h: New file.
2801         * dlfcn/modatexit.c: Add prototypes to silence GCC.
2802         * dlfcn/modcxaatexit.c: Likewise.
2803         * elf/globalmod1.c: Likewise.
2805 2001-04-05  David S. Miller  <davem@redhat.com>
2807         * elf/elf.h (HWCAP_SPARC_ULTRA3): Define it.
2808         * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h: Add it to
2809         capability flags table and HWCAP_IMPORTANT, increase
2810         _DL_HWCAP_COUNT to 6.
2811         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h: Likewise.
2813 2001-04-04  David Mosberger  <davidm@hpl.hp.com>
2815         * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext): Fix
2816         initialization of stack_end (bug reported by Zheng Gengbin
2817         <gzheng@students.uiuc.edu>).
2819 2001-04-05  Ulrich Drepper  <drepper@redhat.com>
2821         * sysdeps/i386/fpu/libm-test-ulps: Relax errors for asinl.
2823 2001-04-05  Martin Schwidefsky  <schwidefsky@de.ibm.com>
2825         * sysdeps/unix/sysv/linux/s390/s390-64/bits/socket.h: New file.
2827 2001-04-05  Ulrich Drepper  <drepper@redhat.com>
2829         * sysdeps/ieee754/ldbl-96/e_asinl.c: Correct handling of +-Inf.
2830         * sysdeps/i386/fpu/e_asinl.S: Removed.  Too inaccurate.
2832         * login/tst-utmp.c: Make file usable again in tst-utmpx.c.
2834 2001-04-04  Ulrich Drepper  <drepper@redhat.com>
2836         * sysdeps/unix/sysv/aix/dl-libc.c: Don't use the ELF version,
2837         define simple replacements here.  Patch by Michael Keezer.
2839         * sysdeps/ieee754/ldbl-128/e_logl.c: New file.
2840         * sysdeps/ieee754/ldbl-96/e_asinl.c: New file.
2841         Contributed by Stephen L Moshier <moshier@mediaone.net>.
2843         * posix/fnmatch_loop.c: Undefine NEW_PATTERN when it is not used
2844         anymore.
2846 2001-04-01  Andreas Jaeger  <aj@suse.de>
2848         * sysdeps/generic/s_nextafter.c (NO_LONG_DOUBLE): Add nexttowardl
2849         alias.
2851         * sysdeps/generic/s_fma.c (NO_LONG_DOUBLE): Add fmal alias.
2853 2001-04-04  Ulrich Drepper  <drepper@redhat.com>
2855         * sysdeps/unix/sysv/linux/s390/s390-64/Dist: Add ucontext_i.h.
2856         * sysdeps/unix/sysv/linux/s390/s390-32/Dist: Likewise.
2858 2001-04-04  Martin Schwidefsky  <schwidefsky@de.ibm.com>
2860         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: New file.
2861         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: New file.
2862         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: New file.
2863         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.h: New file.
2864         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: New file.
2865         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: New file.
2866         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: New file.
2867         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.h: New file.
2868         * sysdeps/unix/sysv/linux/s390/swapcontext.c: New file.
2870 2001-04-04  Andreas Jaeger  <aj@suse.de>
2872         * sysdeps/powerpc/dl-machine.h (ELF_MACHINE_NO_REL): Move to right
2873         place.
2875 2001-04-04  Ulrich Drepper  <drepper@redhat.com>
2877         * sunrpc/rpc_scan.c (symbols): Add entry for HYPER.
2878         * sunrpc/rpc_scan.h (enum tok_kind): Add TOK_HYPER.
2879         * sunrpc/rpc_parse.c (get_type): Handle TOK_HYPER.
2880         (unsigned_dec): Likewise.
2881         Patch by atai@jezebel.dreamhost.com.
2883         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r): Pass
2884         pointer to int as last parameter of yp_match.
2885         Patch by kanazawa@flab.fujitsu.co.jp.
2887 2001-04-03  Ulrich Drepper  <drepper@redhat.com>
2889         * resolv/netdb.h (gai_strerror): Make return value const.
2890         * sysdeps/generic/gai_strerror.c (gai_strerror): Likewise.
2891         * sysdeps/posix/gai_strerror.c (gai_strerror): Likewise.
2892         Add strings for new error values.
2894 2001-03-29  Michael Keezer  <mkeezer@redhat.com>
2896         * posix/tst-gnuglob.c: Added ifdef _DIRENT_HAVE_D_TYPE.
2897         * login/tst-utmp.c: Handle case where ut_tv is not available but
2898         ut_time is.
2899         * sysdeps/unix/sysv/aix/utmpx.h: New file.
2900         * sysdeps/unix/sysv/aix/bits/utmpx.h: Added
2901         _HAVE_UT_TYPE/PID/ID/TV/HOST defines.
2902         * sysdeps/unix/sysv/aix/libc-start.c: Removed temp code and made stub.
2903         * sysdeps/unix/sysv/aix/gettimeofday.c: New file added routines
2904         to access RTCU timer reg.
2905         * sysdeps/unix/sysv/aix/Makefile: Remove /usr/lib/crt0.o
2906         added dl-libc, dl-open,dl-sym, dl-close to misc.
2907         * sysdeps/unix/sysv/aix/start.c: New file.  Start code.
2908         * sysdeps/unix/sysv/aix/dlldr.h: New file.  AIX __loadx defines.
2909         * sysdeps/unix/sysv/aix/dl-close.c: New file.  AIX dl-close.
2910         * sysdeps/unix/sysv/aix/dl-open.c: New file.  AIX dl-open.
2911         * sysdeps/unix/sysv/aix/dl-sym.c: New file.  AIX dl-sym.
2912         * sysdeps/unix/sysv/aix/dl-libc.c: New file.  libc_dl-xxx support.
2913         * sysdeps/generic/strtoll.c: Added SHLIB_COMPAT(libc,GLIBC_2_0,
2914         GLIBC_2_2).
2915         * sysdeps/generic/strtoull.c: Likewise.
2916         * sysdeps/powerpc/ppc-mcount.S: Added nop after bl instruction.
2917         * sysdeps/unix/sysv/aix/powerpc/memset.c: New file to include
2918         sysdeps/generic/memset.c.
2919         * sysdeps/unix/sysv/aix/getpeername.c: Define __getpeername.
2921 2001-04-03  Ulrich Drepper  <drepper@redhat.com>
2923         * iconv/Makefile (CFLAGS-charmap.c): Add -DNEED_NULL_POINTER.
2924         * locale/programs/charmap.c: Define null_pointer if
2925         NEED_NULL_POINTER is defined.
2927         * misc/dirname.c (dirname): Handle multiple slashes correctly.
2929 2001-04-03  Martin Schwidefsky  <schwidefsky@de.ibm.com>
2931         * sysdeps/s390/s390-64/initfini.c: Fix __gmon_start__ GOT access.
2933 2001-04-03  Martin Schwidefsky  <schwidefsky@de.ibm.com>
2935         * sysdeps/s390/s390-32/bcopy.S: Optimize for speed.
2936         * sysdeps/s390/s390-64/bcopy.S: Likewise.
2937         * sysdeps/s390/s390-32/mempcy.S: Likewise.
2938         * sysdeps/s390/s390-64/memcpy.S: Likewise.
2940 2001-04-02  Bruno Haible  <haible@clisp.cons.org>
2942         * manual/message.texi (Advanced gettext functions): More specific
2943         syntax in the plural formula examples.
2945 2001-04-02  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
2947         * sysdeps/powerpc/atomicity.h: Silence warnings.
2948         * sysdeps/powerpc/dl-machine.h: Likewise.
2949         * sysdeps/powerpc/register-dump.h: Likewise.
2950         * sysdeps/powerpc/fpu/s_lrint.c: Likewise.
2952 2001-04-02  Andreas Jaeger  <aj@suse.de>
2954         * misc/tst-dirname.c (main): Add more tests, derived from a bug
2955         report by Michael Kerrisk <mtk16@ext.canterbury.ac.nz>.
2957 2001-04-01  Andreas Jaeger  <aj@suse.de>
2959         * debug/xtrace.sh (pcprofileso): Use SLIBDIR since libpcprofile.so
2960         is installed there.
2961         * malloc/memusage.sh (memusageso): Likewise for libmemusage.so.
2963 2001-04-01  H.J. Lu  <hjl@gnu.org>
2965         * posix/annexc.c (macrofile): Renamed from TMPFILE and set to
2966         tmpnam (NULL).
2967         * stdlib/isomac.c (macrofile): Likewise.
2969 2001-03-30  Thorsten Kukuk  <kukuk@suse.de>
2971         * inet/rcmd.c: Allow AF_UNSPEC as parameter.
2972         * nis/ypclnt.c (yp_all): Print error message only at last try,
2973         check for protocoll error only if we don't have a network error.
2975 2001-04-02  Andreas Schwab  <schwab@suse.de>
2977         * resolv/res_data.c (res_isourserver): Fix cast.
2979 2001-04-02  Andreas Jaeger  <aj@suse.de>
2981         * sysdeps/unix/sysv/linux/hppa/umount.c: Add prototype for
2982         __umount2.
2984         * sysdeps/i386/dl-machine.h (RTLD_START): Don't use multi-line
2985         strings.
2986         (ELF_MACHINE_RUNTIME_TRAMPOLINE): Likewise.
2988         * sysdeps/ieee754/dbl-64/uroot.h: Add missing braces arount
2989         initializers.
2990         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Likewise.
2992         * elf/rtld.c (print_statistics)[!HP_TIMING_NONAVAIL]: Avoid
2993         warning about unused variable.
2995         * string/string.h (strndupa): Add cast for C++ conformance.
2996         (strdupa): Likewise.
2997         Fixes PR libc/2173, reported by tbrowder@home.com.
2999 2001-03-30  Roland McGrath  <roland@frob.com>
3001         * sysdeps/mach/hurd/Makefile ($(link-rpcuserlibs)): Don't append
3002         options after $(build-module), which is no longer a single command.
3003         (LDFLAGS-link-rpcuserlibs): New variable to hold those options.
3004         (LDFLAGS-libmachuser-link.so, LDFLAGS-libhurduser-link.so): New
3005         variables using it.  Reported by Mark Kettenis <kettenis@gnu.org>.
3007 2001-03-11  Roland McGrath  <roland@frob.com>
3009         * elf/rtld.c (dl_main): Add cast to quiet warning.
3010         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
3011         * iconv/gconv_conf.c (__gconv_get_path): Likewise.
3012         (__gconv_read_conf): Likewise.
3013         * iconv/gconv_db.c (gen_steps): Likewise.
3014         (__gconv_find_transform): Likewise.
3015         * locale/programs/charmap-dir.c (fopen_uncompressed): Likewise.
3016         (fopen_uncompressed): Use const in second argument's type.
3018 2001-03-11  Roland McGrath  <roland@frob.com>
3020         * sysdeps/mach/hurd/dl-sysdep.c (__writev): New function.
3022         * mach/mach_error.h: Fix ancient #endif syntax.
3023         * hurd/hurdmalloc.c: Likewise.
3025         * sysdeps/generic/atomicity.h (exchange_and_add, atomic_add,
3026         compare_and_swap): Add volatile qualifier to first arg, to bring
3027         these prototypes in line with all the other implementations.
3028         Add a #warning to remind the builder that these are not atomic.
3030 2001-03-04  Roland McGrath  <roland@frob.com>
3032         * hurd/vpprintf.c (vpprintf) [USE_IN_LIBIO]: Use innermore first
3033         member of TEMP_F so its type is _IO_FILE * as expected.
3035         * hurd/fopenport.c (seekio): Conditionalize type of POS argument
3036         on [USE_IN_LIBIO].  Check the value for overflow, since for libio
3037         it might exceed off_t's range.
3039 2001-02-25  Roland McGrath  <roland@frob.com>
3041         * sysdeps/mach/hurd/sysd-stdio.c (__stdio_reopen): Use prototype.
3042         * sysdeps/unix/bsd/getpt.c (__posix_openpt): Likewise.
3044         * sysdeps/mach/hurd/i386/intr-msg.h (SYSCALL_EXAMINE): Make this a
3045         macro instead of an inline function,
3046         (MSG_EXAMINE): Likewise.
3048         * hurd/hurd/ioctl.h (_HURD_HANDLE_IOCTLS_1): Remove extraneous ##.
3050         * hurd/get-host.c: Include <string.h> for decls of built-ins.
3051         * hurd/hurdchdir.c: Likewise.
3052         * sysdeps/mach/hurd/i386/sigreturn.c: Likweise.
3053         * sysdeps/mach/hurd/opendir.c: Likewise.
3055         * mach/mach_init.c: Include <unistd.h> for _exit decl.
3057         * mach/errsystems.awk: Give output file a trailing newline.
3059         * mach/Machrules (MIG): Prepend CC='${CC}' to the mig command, so that
3060         the script will use our compiler for the cpp stage.
3062         With --enable-all-warnings we get a whole bunch of warnings,
3063         and these are just a few fixes; there are more needed to silence it.
3064         * mach/mach/mig_support.h (__mig_strncpy, mig_strncpy): Add extern
3065         decls before extern inline defns to quiet gcc warning.
3066         * hurd/hurd/threadvar.h (__hurd_threadvar_location_from_sp): Likewise.
3067         * sysdeps/mach/i386/machine-sp.h (__thread_stack_pointer): Likewise.
3069 2001-03-31  Andreas Jaeger  <aj@suse.de>
3071         * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_RAWHDLC): Added.
3072         (ARPHRD_HDLC): Define as alias for ARPHRD_CISCO.
3073         (ARPHRD_CISCO): New.
3074         Changes from Linux 2.4.3.
3076 2001-03-30  Isamu Hasegawa  <isamu@yamato.ibm.com>
3078         * posix/regex.c: Avoid an access violation if malloc fails.
3080 2001-03-30  Andreas Jaeger  <aj@suse.de>
3082         * sysdeps/alpha/ldiv.S (ldiv): Add alias for imaxdiv.
3084 2001-03-29  Ulrich Drepper  <drepper@redhat.com>
3086         * posix/regex.c: Remove unnecessary ifs.
3088         * math/bits/mathcalls.h: Remove infnan declaration.
3090 2001-03-29  H.J. Lu  <hjl@gnu.org>
3092         * include/endian.h: Define BIG_ENDI, LITTLE_ENDI, HIGH_HALF,
3093         and LOW_HALF only if _LIBC is defined and _ISOMAC is not defined.
3094         * stdlib/isomac.c (fmt): Define _LIBC and _ISOMAC.
3096 2001-03-29  Isamu Hasegawa  <isamu@yamato.ibm.com>
3098         * posix/regex.c: Fix typo and add a sentinel.
3100 2001-03-29  Ulrich Drepper  <drepper@redhat.com>
3102         * sysdeps/unix/sysv/linux/shm_open.c: Open new file always with
3103         O_NOFOLLOW.  Suggested by Christoph Roland.
3105 2001-03-27  Martin Schwidefsky  <schwidefsky@de.ibm.com>
3107         * sysdeps/s390/bits/string.h: New unified 31/64 bit string.h.
3108         * sysdeps/s390/s390-32/bits/string.h: Remove.
3109         * sysdeps/s390/s390-64/bits/string.h: Remove.
3110         * sysdeps/s390/s390-32/strcmp.S: New file.
3111         * sysdeps/s390/s390-64/strcmp.S: New file.
3113 2001-03-27  Martin Schwidefsky  <schwidefsky@de.ibm.com>
3115         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Fix typo.
3116         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
3118 2001-03-27  Ulrich Drepper  <drepper@redhat.com>
3120         * version.h (VERSION): Bump to 2.2.3.
3122         * stdlib/isomac.c (fmt): Don't define _LIBC.
3123         * include/endian.h: Define BIG_ENDI, LITTLE_ENDI, HIGH_HALF, and
3124         LOW_HALF only if _LIBC is defined.
3126         * sysdeps/i386/fpu/libm-test-ulps: Slight adjustment of yn() error.
3128         * posix/fnmatch_loop.c (FCT): Handle !() after * special like @()
3129         and +().
3130         * posix/tst-fnmatch.input: Add test cases for matching empty strings.
3132         * sysdeps/ieee754/dbl-64/endian.h: Removed.  Move definitions...
3133         * include/endian.h: ...to here.
3135 2001-03-27  kaz Kojima  <kkojima@rr.iij4u.or.jp>
3137         * sysdeps/sh/sys/ucontext.h (NFREG): Rename to NFPREG.
3138         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (NFREG): Likewise.
3140 2001-03-27  Martin Schwidefsky  <schwidefsky@de.ibm.com>
3142         * sysdeps/unix/sysv/linux/s390/ldconfig.h: Fix typo.
3144 2001-03-26  Ulrich Drepper  <drepper@redhat.com>
3146         * sysdeps/ia64/fpu/Dist: Add new files to distribute.
3147         * sysdeps/unix/sysv/linux/s390/s390-64/Dist: Likewise.
3148         * sysdeps/unix/sysv/linux/ia64/Dist: Likewise.
3150         * gmon/Makefile (headers): Add sys/profil.h.
3152 2001-03-18  Andreas Jaeger  <aj@suse.de>
3154         * manual/install.texi (Tools for Compilation): Advise to use GCC
3155         2.95.3.
3156         (Supported Configurations): Mention s390x.
3158 2001-03-26  Ben Collins  <bcollins@debian.org>
3160         * sysdeps/unix/sysv/linux/mips/bits/mman.h: Add MAP_* and MADV_*
3161         defines to match other architectures.
3163 2001-03-26  Ulrich Drepper  <drepper@redhat.com>
3165         * libio/Makefile (tests): Add tst-ext.
3166         * libio/tst-ext.c: New file.
3168         * libio/iosetvbuf.c (_IO_setvbuf): Clear line buffer flag for _IONBF.
3170 2001-03-25  Ulrich Drepper  <drepper@redhat.com>
3172         Add changes which were in this form in the original patch by
3173         Eric Norum <eric.norum@usask.ca>.
3174         * include/rpc/rpc.h: Remove svc_fdset, rpc_createerr, svc_pollfd, and
3175         svc_max_pollfd.
3176         * sunrpc/rpc/rpc.h: Declare __rpc_thread_svc_fdset,
3177         __rpc_thread_createerr, __rpc_thread_svc_pollfd, and
3178         __rpc_thread_svc_max_pollfd.
3179         Define svc_fdset, get_rpc_createerr, svc_pollfd, and
3180         svc_max_pollfd.
3181         * sunrpc/rpc_thread.c: Handle first thread special, it uses the
3182         global variables.
3183         Define __rpc_thread_svc_fdset, __rpc_thread_createerr,
3184         __rpc_thread_svc_pollfd, and __rpc_thread_svc_max_pollfd.
3185         * sunrpc/Versions [libc] (GLIBC_2.2.3): Export  __rpc_thread_svc_fdset,
3186         __rpc_thread_createerr, __rpc_thread_svc_pollfd, and
3187         __rpc_thread_svc_max_pollfd.
3188         * sunrpc/clnt_gen.c: Replace use of rpc_createerr by call to
3189         get_rpc_createerr.
3190         * sunrpc/clnt_perr.c: Likewise.
3191         * sunrpc/clnt_simp.c: Likewise.
3192         * sunrpc/clnt_tcp.c: Likewise.
3193         * sunrpc/clnt_udp.c: Likewise.
3194         * sunrpc/clnt_unix.c: Likewise.
3195         * sunrpc/pm_getport.c: Likewise.
3197         * sysdeps/unix/sysv/linux/i386/getgroups.c (__getgroups): getgroups32
3198         syscall checks for negative n so don't test here as well.
3200 2001-03-23  Jes Sorensen  <jes@linuxcare.com>
3202         * sysdeps/unix/sysv/linux/ia64/sysdep.h (ENTRY): Moved to ...
3203         * sysdeps/ia64/sysdep.h: ...here.
3205         * sysdeps/ia64/sysdep.h (LOCAL_ENTRY): Define.
3206         * sysdeps/ia64/sysdep.h (LOCAL_LEAF): Define.
3208         * sysdeps/ia64/_mcount.S (_mcount_ret_helper): Use LOCAL_LEAF() to
3209         declare instead of LEAF().  Suggestion from David Mosberger.
3211 2001-03-21  David Mosberger  <davidm@hpl.hp.com>
3213         * sysdeps/unix/sysv/linux/ia64/sysdep.h (CALL_MCOUNT): Add unwind
3214         directives.
3215         (PSEUDO): Drop .psr and .lsb directives.
3217         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Ditto.  Add unwind
3218         directives.
3219         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Ditto.
3221         * sysdeps/ia64/elf/start.S: Misc cleanup: remove .psr and .lsb
3222         directives etc.
3223         * sysdeps/unix/sysv/linux/ia64/brk.S: Ditto.
3224         * sysdeps/unix/sysv/linux/ia64/__longjmp.S: Ditto.
3225         * sysdeps/ia64/_mcount.S: Remove .psr and .lsb directives (no
3226         longer needed).  Add unwind directives.
3228         * sysdeps/ia64/sysdep.h: Define ASM_UNW_PRLG_RP, ASM_UNW_PRLG_PFS,
3229         ASM_UNW_PRLG_PSP, ASM_UNW_PRLG_PR, and ASM_UNW_PRLG_GRSAVE.
3231 2001-03-21  Paul Eggert  <eggert@twinsun.com>
3233         * posix/regex.h (RE_INVALID_INTERVAL_ORD): New macro.
3234         (RE_SYNTAX_POSIX_EGREP): Use it.
3235         * posix/regex.c (regex_compile): Implement it.
3237 2001-03-21  Paul Eggert  <eggert@twinsun.com>
3239         * posix/regex.c (GET_UNSIGNED_NUMBER): Check for overflow.
3240         Rewrite to avoid duplicate code.
3242 2001-03-21  H.J. Lu  <hjl@gnu.org>
3244         * elf/Makefile (tests): Don't depend on $(objpfx)tst-pathopt.out
3245         for cross-compiling.
3246         ($(objpfx)tst-pathopt.out): Undo the last change.
3248 2001-03-24  Mark Kettenis  <kettenis@gnu.org>
3250         * sysdeps/mach/hurd/i386/bits/sigcontext.h (sc_sp, sc_fp, sc_pc,
3251         sc_ps): Define as aliases for sc_uesp, sc_ebl, sc_eip and sc_efl.
3253         * sysdeps/mach/hurd/i386/init-first.c: Include <assert.h>.
3254         (_dl_argv): Declare.
3255         (init) [SHARED]: Readjust _dl_argv if we switched to a new stack.
3257 2001-03-22  Andreas Jaeger  <aj@suse.de>
3259         * iconvdata/Makefile (generated): Add iconv-test.xxx.
3261         * posix/Makefile (generated): Add bug-regex2.mtrace and
3262         bug-regex2-mem.
3264 2001-03-21  Ulrich Drepper  <drepper@redhat.com>
3266         * csu/version.c (__gnu_get_libc_release): Add prototype.
3267         (__gnu_get_libc_version): Likewise.
3268         * include/gnu/libc-version.h: Remove prototypes for not exported
3269         functions.
3271 2001-03-21  Jes Sorensen  <jes@linuxcare.com>
3273         * sysdeps/unix/sysv/linux/ia64/makecontext.c: Include libintl.h
3274         for internationalized printfs to work.
3276 2001-03-09  Bruno Haible  <haible@clisp.cons.org>
3278         * intl/dcigettext.c (transmem_block_t): Change to unsigned char, to
3279         avoid compiler warning.
3280         (_nl_find_msg): Add casts to avoid compiler warnings.
3282 2001-03-21  Ulrich Drepper  <drepper@redhat.com>
3284         * gmon/Makefile (routines): Add sprofil.
3285         (tests): Add tst-sprofil.
3286         (noprof): Add sprofil.
3287         * gmon/Versions [libc] (GLIBC_2.2.3): Add sprofil.
3289 2001-03-20  David Mosberger  <davidm@hpl.hp.com>
3291         * sysdeps/generic/sprofil.c: New file.
3292         * sysdeps/posix/sprofil.c: New file.
3293         * gmon/tst-sprofil.c: New file.
3294         * gmon/sys/profil.h: New file.
3296 2001-03-20  Andreas Schwab  <schwab@suse.de>
3298         * include/unistd.h: Adjust prototype of __gethostname.
3300 2001-03-20  Jakub Jelinek  <jakub@redhat.com>
3302         * sysdeps/sparc/stackinfo.h: New file.
3304 2001-03-21  Andreas Jaeger  <aj@suse.de>
3306         * elf/global.c (main): Use proper prototype.
3308 2001-03-20  Ulrich Drepper  <drepper@redhat.com>
3310         * sunrpc/Makefile (routines): Add rpc_thread.
3311         (CPPFLAGS): Add -D_RPC_THREAD_SAFE.
3312         * sunrpc/rpc_thread.c: New file.
3313         * sunrpc/Versions [libc] (GLIBC_2.2.3): Export __rpc_thread_destroy.
3314         * sunrpc/auth_none.c: Don't use global variables.  Access state in
3315         thread-local storage.
3316         * sunrpc/clnt_perr.c: Likewise.
3317         * sunrpc/clnt_raw.c: Likewise.
3318         * sunrpc/clnt_simp.c: Likewise.
3319         * sunrpc/key_call.c: Likewise.
3320         * sunrpc/rpc_common.c: Likewise.
3321         * sunrpc/svc.c: Likewise.
3322         * sunrpc/svc_raw.c: Likewise.
3323         * sunrpc/svc_simple.c: Likewise.
3324         * sunrpc/svcauth_des.c: Likewise.
3325         * hurd/hurd/threadvar.h (enum __hurd_threadvar_index): Add
3326         _HURD_THREADVAR_RPC_VARS.
3327         * sysdeps/generic/bits/libc-tsd.h: Mention _LIBC_TSD_KEY_RPC_VARS.
3328         * include/rpc/rpc.h: Define data structures for internal thread-local
3329         "global" variables.
3330         Based on patches by Eric Norum <eric.norum@usask.ca>.
3332         * elf/dl-load.c: Various little optimizations.
3334         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Return
3335         LINUX_LINK_MAX only if the statfs function is not implemented for
3336         the filesystem.
3338         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Return
3339         LINUX_LINK_MAX only if the fstatfs function is not implemented for
3340         the filesystem.
3342 2001-03-19  Ulrich Drepper  <drepper@redhat.com>
3344         * elf/dl-dst.h (DL_DST_COUNT): Add __builtin_expect.
3346         * elf/dl-load.c (_dl_dst_count): Make DST recognition more robust.
3347         (_dl_dst_substitute): Likewise.
3349 2001-03-17  Bruno Haible  <haible@clisp.cons.org>
3351         * intl/loadmsgcat.c (_nl_load_domain) [!_LIBC]: Use fstat, not fstat64.
3353 2001-03-17  Bruno Haible  <haible@clisp.cons.org>
3355         * intl/gettextP.h (struct expression): Add operators lnot, less_than,
3356         greater_than, less_or_equal, greater_or_equal.  Replace args2/args3
3357         union by a 'nargs' counter and an 'args[]' array.
3358         * intl/plural.y: Don't include stdarg.h.
3359         (new_exp): Take an array of arguments instead of varargs.
3360         (new_exp_0, new_exp_1, new_exp_2, new_exp_3): New functions.
3361         ('?' ':'): Make right-associative.
3362         (EQUOP2): New token, replaces '=' and '!'.
3363         (CMPOP2): New token.
3364         (ADDOP2): New token, replaces '+' and '-'.
3365         (MULOP2): New token, replaces '*', '/' and '%'.
3366         ('!'): New token.
3367         (exp): Add rules for CMPOP2 and '!'.  Don't call YYABORT.
3368         (start): Call YYABORT here.
3369         (FREE_EXPRESSION): Update.
3370         (yylex): Don't skip "\\n".  Recognize comparison and '!' operators.
3371         Update for new token symbols.
3372         * intl/loadmsgcat.c (plvar, plone, germanic_plural,
3373         init_germanic_plural): Update.
3374         * intl/dcigettext.c (_nl_find_msg): Optimize for space.
3375         (plural_eval): Recognize comparison and '!' operators.  Optimize for
3376         space.
3378 2001-03-10  Bruno Haible  <haible@clisp.cons.org>
3380         * intl/loadmsgcat.c (_nl_load_domain): locale_charset() doesn't return
3381         NULL any more.
3383 2001-01-05  Bruno Haible  <haible@clisp.cons.org>
3385         * intl/loadmsgcat.c: Include headers needed for alloca().
3386         (freea): New macro.
3387         (_nl_load_domain): Add fallback code for platforms lacking alloca.
3388         * intl/localealias.c: (ADD_BLOCK, FREE_BLOCK): Remove macros.
3389         (freea): New macro.
3390         (read_alias_file): Simplify fallback code for platforms lacking
3391         alloca.
3393 2001-01-07  Bruno Haible  <haible@clisp.cons.org>
3395         * intl/gettextP.h (__gettextdebug): Remove declaration.
3396         (__gettext_free_exp, __gettextparse): Convert prototype to K&R C
3397         syntax.
3398         (gettext_free_exp__, gettextparse__): New non-libc declarations.
3399         * intl/plural.y [!_LIBC]: Define gettextparse__, gettext_free_exp__,
3400         not __gettextparse, __gettext_free_exp.
3401         * intl/loadmsgcat.c [!_LIBC]: Use gettextparse__, not __gettextparse.
3403 2001-02-24  Bruno Haible  <haible@clisp.cons.org>
3405         * intl/dcigettext.c: Update comment about HAVE_LOCALE_NULL.
3407 2001-01-05  Bruno Haible  <haible@clisp.cons.org>
3409         * intl/loadmsgcat.c (_nl_load_domain): Add fallback code for platforms
3410         lacking strtoul, like SunOS4.
3412 2001-01-05  Bruno Haible  <haible@clisp.cons.org>
3414         * intl/l10nflist.c (_nl_normalize_codeset): Use tolower, not _tolower.
3416 2001-01-05  Bruno Haible  <haible@clisp.cons.org>
3418         * intl/bindtextdom.c (set_binding_values): Convert prototype to K&R C
3419         syntax.
3420         * intl/dcigettext.c (transcmp): Convert to K&R C syntax.
3421         * intl/explodename.c (_nl_find_language): Convert to K&R C syntax.
3422         * intl/plural.y (__gettext_free_exp, yylex, yyerror): Convert to K&R C
3423         syntax.
3425 2001-01-07  Bruno Haible  <haible@clisp.cons.org>
3427         * intl/gettextP.h (gettext__, dgettext__, dcgettext__, textdomain__,
3428         bindtextdomain__, bind_textdomain_codeset__): New declarations, from
3429         old libgettext.h.
3430         * intl/bindtextdom.c: Include libgnuintl.h instead of libgettext.h.
3431         * intl/dcgettext.c: Likewise.
3432         * intl/dcigettext.c: Likewise.
3433         * intl/dcngettext.c: Likewise.
3434         * intl/dngettext.c: Likewise.
3435         * intl/finddomain.c: Likewise.
3436         * intl/ngettext.c: Likewise.
3437         * intl/textdomain.c: Likewise.
3438         * intl/dgettext.c: Include libgnuintl.h instead of libgettext.h.
3439         Include gettextP.h.
3440         * intl/gettext.c: Likewise.  Don't include locale.h.
3442 2001-03-17  Bruno Haible  <haible@clisp.cons.org>
3444         * intl/gettextP.h (ZERO): New macro.
3445         (struct binding): Always use ZERO.
3446         * intl/bindtextdom.c (offsetof): Provide fallback for platforms that
3447         lack it, like SunOS4.
3448         (set_binding_values): Use offsetof, not sizeof.
3449         * intl/dcigettext.c (offsetof): Provide fallback for platforms that
3450         lack it, like SunOS4.
3451         (ZERO): Remove macro.
3452         (struct transmem_list): Use ZERO.
3453         (DCIGETTEXT): Use offsetof, not sizeof.
3455 2001-03-17  Bruno Haible  <haible@clisp.cons.org>
3457         * intl/gettextP.h: Include <stddef.h>.  Include gettext.h, for
3458         nls_uint32.
3459         * intl/bindtextdom.c: Don't include gettext.h.
3460         * intl/dcgettext.c: Likewise.
3461         * intl/dcigettext.c: Likewise.
3462         * intl/dcngettext.c: Likewise.
3463         * intl/dngettext.c: Likewise.
3464         * intl/finddomain.c: Likewise.
3465         * intl/localealias.c: Likewise.
3466         * intl/ngettext.c: Likewise.
3467         * intl/plural.y: Likewise.
3468         * intl/textdomain.c: Likewise.
3470 2001-03-17  Bruno Haible  <haible@clisp.cons.org>
3472         * intl/gettext.h: Don't include <stdio.h>.
3474 2001-03-17  Bruno Haible  <haible@clisp.cons.org>
3476         * intl/Makefile (CPPFLAGS): Set LOCALEDIR instead of GNULOCALEDIR.
3477         * intl/dcigettext.c (_nl_default_dirname): Initialize with LOCALEDIR.
3479 2001-03-19  Ulrich Drepper  <drepper@redhat.com>
3481         * sysdeps/unix/i386/i686/tempname.c: New file.
3483         * sysdeps/posix/tempname.c (__gen_tempname): If RANDOM_BITS is
3484         defined use this macro to get some bits of randomness instead of
3485         the usual gettimeofday or time calls.
3487 2001-03-16  Paul Eggert  <eggert@twinsun.com>
3489         * sysdeps/posix/tempname.c (uint64_t): Define to uintmax_t if
3490         not defined, and if UINT64_MAX is not defined.
3492 2001-03-19  Ulrich Drepper  <drepper@redhat.com>
3494         * elf/cache.c: Mark and have translated a few more messages.
3496 2001-03-19  Martin Schwidefsky  <schwidefsky@de.ibm.com>
3498         * elf/cache.c: Add case for FLAG_S390_LIB64.
3499         * sysdeps/generic/ldconfig.h: Add define for FLAG_S390_LIB64.
3500         * sysdeps/unix/sysv/linux/s390/ldconfig.h: New file.
3501         * sysdeps/unix/sysv/linux/s390/readelflib.c: New file.
3503 2001-03-19  Ulrich Drepper  <drepper@redhat.com>
3505         * string/Makefile (tests): Add tst-strxfrm.
3506         * string/tst-strxfrm.c: New file.  Based on a test case by Paul Eggert.
3507         * string/Depend: New file.
3509 2001-03-19  Paul Eggert  <eggert@twinsun.com>
3511         * string/strxfrm.c (strxfrm): strxfrm should return 0, not 1,
3512         when given the empty string in nontrivial locales.
3514 2001-03-17  H.J. Lu  <hjl@gnu.org>
3516         * manual/Makefile (install): Use $(INSTALL_DATA) instead of
3517         cp to install `dir'.
3519 2001-03-19  Andreas Schwab  <schwab@suse.de>
3521         * Makerules (build-shlib): Make sure exit codes get checked
3522         properly.
3524 2001-03-18  Ulrich Drepper  <drepper@redhat.com>
3526         * Makerules (build-shlib): Remove unnecessary slashes introduced in
3527         last change.
3529         * configure.in: Test for -Bgroup option of linker.
3530         * config.make.in: Define have-Bgroup.
3532         * conform/data/unistd.h-data: Require gethostname.
3533         * posix/unistd.h: Make gethostname prototype available for
3534         __USE_XOPEN2K.
3536         * crypt/Makefile: When generating DSO link with libc_nonshared.a.
3537         * debug/Makefile: Likewise.
3538         * dlfcn/Makefile: Likewise.
3539         * hesiod/Makefile: Likewise.
3540         * iconvdata/extra-module.mk: Likewise.
3541         * locale/Makefile: Likewise.
3542         * login/Makefile: Likewise.
3543         * math/Makefile: Likewise.
3544         * nis/Makefile: Likewise.
3545         * nss/Makefile: Likewise.
3546         * resolv/Makefile: Likewise.
3547         * rt/Makefile: Likewise.
3549 2001-03-17  Ulrich Drepper  <drepper@redhat.com>
3551         * inet/Makefile (tests): Remove left-over comment.
3553         * posix/unistd.h (gethostname): Change type of second parameter
3554         back to size_t as per upcoming XPG6.
3555         * sysdeps/unix/sysv/aix/gethostname.c: Change type of second
3556         parameter back to size_t as per upcoming XPG6.
3557         * sysdeps/unix/sysv/sysv4/gethostname.c: Likewise.
3558         * sysdeps/unix/sysv/gethostname.c: Likewise.
3559         * sysdeps/mach/hurd/gethostname.c: Likewise.
3560         * sysdeps/generic/gethostname.c: Likewise.
3562 2001-03-16  Ulrich Drepper  <drepper@redhat.com>
3564         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
3565         Handle NaN here.
3567         * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext):
3568         Internationalize.
3570 2001-02-06  Jakub Jelinek  <jakub@redhat.com>
3572         * elf/dl-load.c (_dl_map_object): Don't test l_opencount when
3573         looking for name matches.
3575 2001-02-26  Jakub Jelinek  <jakub@redhat.com>
3577         * sysdeps/generic/sigcontextinfo.h (CALL_SIGHANDLER): Define.
3578         * sysdeps/mach/hurd/i386/sigcontextinfo.h: Likewise.
3579         * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h: Likewise.
3580         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
3581         * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h: Likewise.
3582         * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h: Likewise.
3583         * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h: Likewise.
3584         * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h: Likewise.
3585         * sysdeps/unix/sysv/linux/s390/sigcontextinfo.h: Likewise.
3586         * sysdeps/unix/sysv/linux/sh/sigcontextinfo.h: Likewise.
3587         * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: Likewise.
3588         * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h: Likewise.
3590 2001-03-16  Ulrich Drepper  <drepper@redhat.com>
3592         * sysdeps/ieee754/ldbl-96/s_erfl.c: New file.
3593         Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>.
3595         * sysdeps/i386/fpu/libm-test-ulps: Adjust for addition of erfl and
3596         erfcl.
3597         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
3599 2001-03-16  David Mosberger  <davidm@hpl.hp.com>
3601         * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h (struct sigcontext):
3602         Drop hack that was needed for 2.1.1 kernel headers.
3604         * sysdeps/unix/sysv/linux/ia64/ucontext_i.h: New file.
3606         * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Rewrite to make it
3607         overlay with kernel's "struct sigcontext".
3609         * sysdeps/unix/sysv/linux/ia64/Makefile (sysdep_headers): Add
3610         sys/rse.h for "misc" subdir.
3611         (sysdep_routines): Add __start_context for "stdlib" subdir.
3613         * sysdeps/unix/sysv/linux/ia64/sys/rse.h: New file (based on
3614         kernel file of the same name).
3616         * stdlib/Makefile (tests): Add tst-setcontext.
3617         * stdlib/tst-setcontext.c: New file (based on a sample program by
3618         Uli Drepper).
3620         * sysdeps/unix/sysv/linux/ia64/setcontext.S: New file.
3621         * sysdeps/unix/sysv/linux/ia64/getcontext.S: New file.
3622         * sysdeps/unix/sysv/linux/ia64/__start_context.S: New file.
3623         * sysdeps/unix/sysv/linux/ia64/makecontext.c: New file.
3624         * sysdeps/unix/sysv/linux/ia64/swapcontext.c: New file.
3626         * sysdeps/unix/sysv/linux/ia64/__longjmp.S (__longjmp): Use extr.u
3627         instead of shift & and.
3629 2001-03-16  Martin Schwidefsky  <schwidefsky@de.ibm.com>
3631         * sysdeps/s390/s390-64/bits/huge_val.h: Move to...
3632         * sysdeps/s390/bits/huge_val.h: ...here.
3633         * sysdeps/s390/s390-32/bit/huge_val.h: Remove.
3634         * sysdeps/s390/s390-64/ffs.c: Move to...
3635         * sysdeps/s390/ffs.c: ...here.
3636         * sysdeps/s390/s390-32/ffs.c: Remove.
3638 2001-03-16  Jakub Jelinek  <jakub@redhat.com>
3640         * elf/ldconfig.c (search_dir): Remove bogus diagnostic, instead
3641         update osversion from more recent library.
3643 2001-03-13  Martin Schwidefsky  <schwidefsky@de.ibm.com>
3645         * sysdeps/unix/sysv/linux/s390/Dist: Move to...
3646         * sysdeps/unix/sysv/linux/s390/s390-32/Dist: ...here.
3647         * sysdeps/unix/sysv/linux/s390/Makefile: Move to...
3648         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: ...here.
3649         * sysdeps/unix/sysv/linux/s390/Versions: Move to...
3650         * sysdeps/unix/sysv/linux/s390/s390-32/Versions: ...here.
3651         * sysdeps/unix/sysv/linux/s390/alphasort64.c: Move to...
3652         * sysdeps/unix/sysv/linux/s390/s390-32/alphasort64.c: ...here.
3653         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Move to...
3654         * sysdeps/unix/sysv/linux/s390/s390-32/bits/fcntl.h: ...here.
3655         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Move to...
3656         * sysdeps/unix/sysv/linux/s390/s390-32/bits/mman.h: ...here.
3657         * sysdeps/unix/sysv/linux/s390/bits/resource.h: Move to...
3658         * sysdeps/unix/sysv/linux/s390/s390-32/bits/resource.h: ...here.
3659         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Move to...
3660         * sysdeps/unix/sysv/linux/s390/s390-32/bits/stat.h: ...here.
3661         * sysdeps/unix/sysv/linux/s390/chown.c: Move to...
3662         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: ...here.
3663         * sysdeps/unix/sysv/linux/s390/clone.S: Move to...
3664         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: ...here.
3665         * sysdeps/unix/sysv/linux/s390/fchown.c: Move to...
3666         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: ...here.
3667         * sysdeps/unix/sysv/linux/s390/fcntl.c: Move to...
3668         * sysdeps/unix/sysv/linux/s390/s390-32/fcntl.c: ...here.
3669         * sysdeps/unix/sysv/linux/s390/fxstat.c: Move to...
3670         * sysdeps/unix/sysv/linux/s390/s390-32/fxstat.c: ...here.
3671         * sysdeps/unix/sysv/linux/s390/getdents64.c: Move to...
3672         * sysdeps/unix/sysv/linux/s390/s390-32/getdents64.c: ...here.
3673         * sysdeps/unix/sysv/linux/s390/getegid.c: Move to...
3674         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: ...here.
3675         * sysdeps/unix/sysv/linux/s390/geteuid.c: Move to...
3676         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: ...here.
3677         * sysdeps/unix/sysv/linux/s390/getgid.c: Move to...
3678         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: ...here.
3679         * sysdeps/unix/sysv/linux/s390/getgroups.c: Move to...
3680         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: ...here.
3681         * sysdeps/unix/sysv/linux/s390/getresgid.c: Move to...
3682         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: ...here.
3683         * sysdeps/unix/sysv/linux/s390/getresuid.c: Move to...
3684         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: ...here.
3685         * sysdeps/unix/sysv/linux/s390/getrlimit.c: Move to...
3686         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: ...here.
3687         * sysdeps/unix/sysv/linux/s390/getrlimit64.c: Move to...
3688         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit64.c: ...here.
3689         * sysdeps/unix/sysv/linux/s390/getuid.c: Move to...
3690         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: ...here.
3691         * sysdeps/unix/sysv/linux/s390/lchown.c: Move to...
3692         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: ...here.
3693         * sysdeps/unix/sysv/linux/s390/lockf64.c: Move to...
3694         * sysdeps/unix/sysv/linux/s390/s390-32/lockf64.c: ...here.
3695         * sysdeps/unix/sysv/linux/s390/lxstat.c: Move to...
3696         * sysdeps/unix/sysv/linux/s390/s390-32/lxstat.c: ...here.
3697         * sysdeps/unix/sysv/linux/s390/mmap.S: Move to...
3698         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: ...here.
3699         * sysdeps/unix/sysv/linux/s390/mmap64.S: Move to...
3700         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: ...here.
3701         * sysdeps/unix/sysv/linux/s390/msgctl.c: Move to...
3702         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: ...here.
3703         * sysdeps/unix/sysv/linux/s390/oldgetrlimit64.c: Move to...
3704         * sysdeps/unix/sysv/linux/s390/s390-32/oldgetrlimit64.c: ...here.
3705         * sysdeps/unix/sysv/linux/s390/readdir64.c: Move to...
3706         * sysdeps/unix/sysv/linux/s390/s390-32/readdir64.c: ...here.
3707         * sysdeps/unix/sysv/linux/s390/readdir64_r.c: Move to...
3708         * sysdeps/unix/sysv/linux/s390/s390-32/readdir64_r.c: ...here.
3709         * sysdeps/unix/sysv/linux/s390/register-dump.h: Move to...
3710         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: ...here.
3711         * sysdeps/unix/sysv/linux/s390/scandir64.c: Move to...
3712         * sysdeps/unix/sysv/linux/s390/s390-32/scandir64.c: ...here.
3713         * sysdeps/unix/sysv/linux/s390/semctl.c: Move to...
3714         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: ...here.
3715         * sysdeps/unix/sysv/linux/s390/setegid.c: Move to...
3716         * sysdeps/unix/sysv/linux/s390/s390-32/setegid.c: ...here.
3717         * sysdeps/unix/sysv/linux/s390/seteuid.c: Move to...
3718         * sysdeps/unix/sysv/linux/s390/s390-32/seteuid.c: ...here.
3719         * sysdeps/unix/sysv/linux/s390/setfsgid.c: Move to...
3720         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: ...here.
3721         * sysdeps/unix/sysv/linux/s390/setfsuid.c: Move to...
3722         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: ...here.
3723         * sysdeps/unix/sysv/linux/s390/setgid.c: Move to...
3724         * sysdeps/unix/sysv/linux/s390/s390-32/setgid.c: ...here.
3725         * sysdeps/unix/sysv/linux/s390/setgroups.c: Move to...
3726         * sysdeps/unix/sysv/linux/s390/s390-32/setgroups.c: ...here.
3727         * sysdeps/unix/sysv/linux/s390/setregid.c: Move to...
3728         * sysdeps/unix/sysv/linux/s390/s390-32/setregid.c: ...here.
3729         * sysdeps/unix/sysv/linux/s390/setresgid.c: Move to...
3730         * sysdeps/unix/sysv/linux/s390/s390-32/setresgid.c: ...here.
3731         * sysdeps/unix/sysv/linux/s390/setresuid.c: Move to...
3732         * sysdeps/unix/sysv/linux/s390/s390-32/setresuid.c: ...here.
3733         * sysdeps/unix/sysv/linux/s390/setreuid.c: Move to...
3734         * sysdeps/unix/sysv/linux/s390/s390-32/setreuid.c: ...here.
3735         * sysdeps/unix/sysv/linux/s390/setrlimit.c: Move to...
3736         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: ...here.
3737         * sysdeps/unix/sysv/linux/s390/setuid.c: Move to...
3738         * sysdeps/unix/sysv/linux/s390/s390-32/setuid.c: ...here.
3739         * sysdeps/unix/sysv/linux/s390/shmctl.c: Move to...
3740         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: ...here.
3741         * sysdeps/unix/sysv/linux/s390/socket.S: Move to...
3742         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: ...here.
3743         * sysdeps/unix/sysv/linux/s390/sys/procfs.h: Move to...
3744         * sysdeps/unix/sysv/linux/s390/s390-32/sys/procfs.h: ...here.
3745         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Move to...
3746         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: ...here.
3747         * sysdeps/unix/sysv/linux/s390/syscall.S: Move to...
3748         * sysdeps/unix/sysv/linux/s390/s390-32/syscall.S: ...here.
3749         * sysdeps/unix/sysv/linux/s390/syscalls.list: Move to...
3750         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: ...here.
3751         * sysdeps/unix/sysv/linux/s390/sysdep.S: Move to...
3752         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: ...here.
3753         * sysdeps/unix/sysv/linux/s390/sysdep.h: Move to...
3754         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: ...here.
3755         * sysdeps/unix/sysv/linux/s390/versionsort64.c: Move to...
3756         * sysdeps/unix/sysv/linux/s390/s390-32/versionsort64.c: ...here.
3757         * sysdeps/unix/sysv/linux/s390/xstat.c: Move to...
3758         * sysdeps/unix/sysv/linux/s390/s390-32/xstat.c: ...here.
3760 2001-03-13  Martin Schwidefsky  <schwidefsky@de.ibm.com>
3762         * sysdeps/unix/sysv/linux/s390/s390-64/Dist: New file.
3763         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: New file.
3764         * sysdeps/unix/sysv/linux/s390/s390-64/bits/elfclass.h: New file.
3765         * sysdeps/unix/sysv/linux/s390/s390-64/bits/fcntl.h: New file.
3766         * sysdeps/unix/sysv/linux/s390/s390-64/bits/ipc.h: New file.
3767         * sysdeps/unix/sysv/linux/s390/s390-64/bits/mman.h: New file.
3768         * sysdeps/unix/sysv/linux/s390/s390-64/bits/msq.h: New file.
3769         * sysdeps/unix/sysv/linux/s390/s390-64/bits/resource.h: New file.
3770         * sysdeps/unix/sysv/linux/s390/s390-64/bits/sem.h: New file.
3771         * sysdeps/unix/sysv/linux/s390/s390-64/bits/shm.h: New file.
3772         * sysdeps/unix/sysv/linux/s390/s390-64/bits/sigaction.h: New file.
3773         * sysdeps/unix/sysv/linux/s390/s390-64/bits/siginfo.h: New file.
3774         * sysdeps/unix/sysv/linux/s390/s390-64/bits/sigstack.h: New file.
3775         * sysdeps/unix/sysv/linux/s390/s390-64/bits/stat.h: New file.
3776         * sysdeps/unix/sysv/linux/s390/s390-64/bits/types.h: New file.
3777         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: New file.
3778         * sysdeps/unix/sysv/linux/s390/s390-64/fstatfs64.c: New file.
3779         * sysdeps/unix/sysv/linux/s390/s390-64/ftruncate64.c: New file.
3780         * sysdeps/unix/sysv/linux/s390/s390-64/fxstat.c: New file.
3781         * sysdeps/unix/sysv/linux/s390/s390-64/fxstat64.c: New file.
3782         * sysdeps/unix/sysv/linux/s390/s390-64/getdents.c: New file.
3783         * sysdeps/unix/sysv/linux/s390/s390-64/getdents64.c: New file.
3784         * sysdeps/unix/sysv/linux/s390/s390-64/getrlimit64.c: New file.
3785         * sysdeps/unix/sysv/linux/s390/s390-64/glob.c: New file.
3786         * sysdeps/unix/sysv/linux/s390/s390-64/glob64.c: New file.
3787         * sysdeps/unix/sysv/linux/s390/s390-64/kernel_stat.h: New file.
3788         * sysdeps/unix/sysv/linux/s390/s390-64/lxstat.c: New file.
3789         * sysdeps/unix/sysv/linux/s390/s390-64/lxstat64.c: New file.
3790         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: New file.
3791         * sysdeps/unix/sysv/linux/s390/s390-64/mmap64.c: New file.
3792         * sysdeps/unix/sysv/linux/s390/s390-64/pread64.c: New file.
3793         * sysdeps/unix/sysv/linux/s390/s390-64/pwrite64.c: New file.
3794         * sysdeps/unix/sysv/linux/s390/s390-64/readdir.c: New file.
3795         * sysdeps/unix/sysv/linux/s390/s390-64/readdir64.c: New file.
3796         * sysdeps/unix/sysv/linux/s390/s390-64/readdir64_r.c: New file.
3797         * sysdeps/unix/sysv/linux/s390/s390-64/readdir_r.c : New file.
3798         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: New file.
3799         * sysdeps/unix/sysv/linux/s390/s390-64/setrlimit64.c: New file.
3800         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: New file.
3801         * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c: New file.
3802         * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c: New file.
3803         * sysdeps/unix/sysv/linux/s390/s390-64/sigsuspend.c: New file.
3804         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: New file.
3805         * sysdeps/unix/sysv/linux/s390/s390-64/statfs64.c: New file.
3806         * sysdeps/unix/sysv/linux/s390/s390-64/sys/procfs.h: New file.
3807         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: New file.
3808         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: New file.
3809         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: New file.
3810         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: New file.
3811         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: New file.
3812         * sysdeps/unix/sysv/linux/s390/s390-64/truncate64.c: New file.
3813         * sysdeps/unix/sysv/linux/s390/s390-64/xstat.c: New file.
3814         * sysdeps/unix/sysv/linux/s390/s390-64/xstat64.c: New file.
3816 2001-03-13  Martin Schwidefsky  <schwidefsky@de.ibm.com>
3818         * sysdeps/s390/Dist: Move to...
3819         * sysdeps/s390/390-32/Dist: ...here.
3820         * sysdeps/s390/Implies: Move to...
3821         * sysdeps/s390/s390-32/Implies: ...here.
3822         * sysdeps/s390/Makefile: Move to...
3823         * sysdeps/s390/s390-32/Makefile: ...here.
3824         * sysdeps/s390/Versions: Move to...
3825         * sysdeps/s390-32/s390/Versions: ...here.
3826         * sysdeps/s390/add_n.S: Move to...
3827         * sysdeps/s390/s390-32/add_n.S: ...here.
3828         * sysdeps/s390/addmul_1.S: Move to...
3829         * sysdeps/s390/s390-32/addmul_1.S: ...here.
3830         * sysdeps/s390/atomicity.h: Move to...
3831         * sysdeps/s390/s390-32/atomicity.h: ...here.
3832         * sysdeps/s390/backtrace.c: Move to...
3833         * sysdeps/s390/s390-32/backtrace.c: ...here.
3834         * sysdeps/s390/bcopy.S: Move to...
3835         * sysdeps/s390/s390-32/bcopy.S: ...here.
3836         * sysdeps/s390/bits/byteswap.h: Move to...
3837         * sysdeps/s390/s390-32/bits/byteswap.h: ...here.
3838         * sysdeps/s390/bits/huge_val.h: Move to...
3839         * sysdeps/s390/s390-32/bits/huge_val.h: ...here.
3840         * sysdeps/s390/bsd-_setjmp.S: Move to...
3841         * sysdeps/s390/s390-32/bsd-_setjmp.S: ...here.
3842         * sysdeps/s390/bsd-setjmp.S: Move to...
3843         * sysdeps/s390/s390-32/bsd-setjmp.S: ...here.
3844         * sysdeps/s390/bzero.S: Move to...
3845         * sysdeps/s390/s390-32/bzero.S: ...here.
3846         * sysdeps/s390/elf/bsd-_setjmp.S: Move to...
3847         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: ...here.
3848         * sysdeps/s390/elf/bsd-setjmp.S: Move to...
3849         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: ...here.
3850         * sysdeps/s390/elf/start.S: Move to...
3851         * sysdeps/s390/s390-32/elf/start.S: ...here.
3852         * sysdeps/s390/ffs.c: Move to...
3853         * sysdeps/s390/s390-32/ffs.c: ...here.
3854         * sysdeps/s390/memchr.S: Move to...
3855         * sysdeps/s390/s390-32/memchr.S: ...here.
3856         * sysdeps/s390/memcpy.S: Move to...
3857         * sysdeps/s390/s390-32/memcpy.S: ...here.
3858         * sysdeps/s390/memset.S: Move to...
3859         * sysdeps/s390/s390-32/memset.S: ...here.
3860         * sysdeps/s390/mul_1.S: Move to...
3861         * sysdeps/s390/s390-32/mul_1.S: ...here.
3862         * sysdeps/s390/s390-mcount.S: Move to...
3863         * sysdeps/s390/s390-32/s390-mcount.S: ...here.
3864         * sysdeps/s390/strcpy.S: Move to...
3865         * sysdeps/s390/s390-32/strcpy.S: ...here.
3866         * sysdeps/s390/strncpy.S: Move to...
3867         * sysdeps/s390/s390-32/strncpy.S: ...here.
3868         * sysdeps/s390/sub_n.S: Move to...
3869         * sysdeps/s390/s390-32/sub_n.S: ...here.
3871 2001-03-13  Martin Schwidefsky  <schwidefsky@de.ibm.com>
3873         * sysdeps/s390/s390-64/Dist: New file.
3874         * sysdeps/s390/s390-64/Implies: New file.
3875         * sysdeps/s390/s390-64/Makefile: New file.
3876         * sysdeps/s390/s390-64/__longjmp.c: New file.
3877         * sysdeps/s390/s390-64/add_n.S: New file.
3878         * sysdeps/s390/s390-64/atomicity.h: New file.
3879         * sysdeps/s390/s390-64/backtrace.c: New file.
3880         * sysdeps/s390/s390-64/bcopy.S: New file.
3881         * sysdeps/s390/s390-64/bits/byteswap.h: New file.
3882         * sysdeps/s390/s390-64/bits/huge_val.h: New file.
3883         * sysdeps/s390/s390-64/bits/setjmp.h: New file.
3884         * sysdeps/s390/s390-64/bits/string.h: New file.
3885         * sysdeps/s390/s390-64/bsd-_setjmp.S: New file.
3886         * sysdeps/s390/s390-64/bsd-setjmp.S: New file.
3887         * sysdeps/s390/s390-64/bzero.S: New file.
3888         * sysdeps/s390/s390-64/dl-machine.h: New file.
3889         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: New file.
3890         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: New file.
3891         * sysdeps/s390/s390-64/elf/setjmp.S: New file.
3892         * sysdeps/s390/s390-64/elf/start.S: New file.
3893         * sysdeps/s390/s390-64/ffs.c: New file.
3894         * sysdeps/s390/s390-64/initfini.c: New file.
3895         * sysdeps/s390/s390-64/memchr.S: New file.
3896         * sysdeps/s390/s390-64/memcpy.S: New file.
3897         * sysdeps/s390/s390-64/memset.S: New file.
3898         * sysdeps/s390/s390-64/s390x-mcount.S: New file.
3899         * sysdeps/s390/s390-64/setjmp.S: New file.
3900         * sysdeps/s390/s390-64/strcpy.S: New file.
3901         * sysdeps/s390/s390-64/strncpy.S: New file.
3902         * sysdeps/s390/s390-64/sub_n.S: New file.
3903         * sysdeps/s390/s390-64/sysdep.h: New file.
3905 2001-03-13  Martin Schwidefsky  <schwidefsky@de.ibm.com>
3907         * scripts/config.guess: Add support for Linux on 64 bit S/390.
3908         * scripts/config.sub: Likewise.
3910 2001-03-13  Martin Schwidefsky  <schwidefsky@de.ibm.com>
3912         * configure.in: Add support for 64 bit S/390.
3914         * elf/elf.h: Add new relocations for 64 bit S/390.
3916         * shlib-versions: Add rules for Linux on 64 bit S/390.
3918 2001-03-13  Martin Schwidefsky  <schwidefsky@de.ibm.com>
3920         * sysdeps/s390/__longjmp.c: Move to...
3921         * sysdeps/s390/s390-32/__longjmp.c: ...here.  Add code
3922         to load the floating point registers that should be saved
3923         according to the ABI.
3925         * sysdeps/s390/bits/setjmp.h: Move to...
3926         * sysdeps/s390/s390-32/bits/setjmp.h: ...here.  Avoid
3927         the use of long long in the __jmp_buf type definition.
3929         * sysdeps/s390/bits/string.h: Move to...
3930         * sysdeps/s390/s390-32/bits/string.h: ...here.  Add several missing
3931         #ifndef _FORCE_INLINES.
3933         * sysdeps/s390/dl-machine.h: Move to...
3934         * sysdeps/s390/s390-32/dl-machine.h: ...here.  Add a check for the
3935         executables EI_CLASS in elf_machine_matches_host.
3937         * sysdeps/s390/elf/setjmp.S: Move to...
3938         * sysdeps/s390/s390-32/elf/setjmp.S: ...here.  Replace
3939         branches to globally defined symbol __sigsetjmp by branches to
3940         a local label (this avoids the generation of a R_390_PC16DBL
3941         relocation in -fpic code).
3943         * sysdeps/s390/gmp-mparam.h: Use defines from <bits/wordsize.h> to
3944         calculate BITS_PER_MP_LIMB, BYTES_PER_MP_LIMB and BITS_PER_LONGINT.
3946         * sysdeps/s390/initfini.c: Move to...
3947         * sysdeps/s390/s390-32/initfini.c: ...here.  Replace ALIGN with
3948         ".align 4,0x07".
3950         * sysdeps/s390/setjmp.S: Move to...
3951         * sysdeps/s390/s390-32/setjmp.S: ...here.  Add code to store the
3952         floating point registers that should be saved according to the ABI.
3954         * sysdeps/s390/sys/ucontext.h: Remove since it is unused.
3956         * sysdeps/unix/sysv/linux/s390/sysdep.h: Move to...
3957         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: ...here.  Include
3958         sysdeps/s390/s390-32/sysdep.h instead of sysdeps/s390/sysdep.h.
3960 2001-03-13  Martin Schwidefsky  <schwidefsky@de.ibm.com>
3962         * configure.in: Change machine=s390 to machine=s390/s390-32.
3964         * elf/elf.h: Correct comment for R_390_PLT16DBL.
3966 2001-03-12  Jakub Jelinek  <jakub@redhat.com>
3968         * csu/Makefile (abi-tag.h): Define OS and version separately, allow
3969         version to be overriden from config.h.
3970         * csu/abi-note.S: Use OS and version separately, include config.h.
3971         * elf/dl-load.c (_dl_osversion): New.
3972         (_dl_map_object_from_fd): Kill some warnings.
3973         (open_verify): Check .note.ABI-tag of the library if present.
3974         * elf/Makefile (CPPFLAGS-dl-load.c): Add -I$(csu-objpfx).
3975         * elf/cache.c (struct cache_entry): Add osversion.
3976         (print_entry): Print osversion.
3977         (print_cache): Pass osversion to it.
3978         (compare): Sort according to osversion.
3979         (save_cache): Set osversion.
3980         (add_to_cache): Add osversion argument.
3981         * sysdeps/generic/ldconfig.h (add_to_cache, process_file,
3982         process_elf_file): Add osversion argument.
3983         * elf/readlib.c (process_file): Likewise.
3984         * sysdeps/generic/readelflib.c (process_elf_file): Likewise.
3985         * sysdeps/unix/sysv/linux/ia64/readelflib.c (process_elf_file,
3986         process_elf32_file, process_elf64_file): Likewise.
3987         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file,
3988         process_elf32_file, process_elf64_file): Likewise.
3989         * sysdeps/unix/sysv/linux/sparc/readelflib.c (process_elf_file,
3990         process_elf32_file, process_elf64_file): Likewise.
3991         * elf/ldconfig.c (manual_link): Pass it.
3992         (search_dir): Issue diagnostic if two libs with the same soname in
3993         the same directory have different .note.ABI-tag.  Record osversion in
3994         dlib_entry and use it from there.
3995         (struct lib_entry): Remove.
3996         (struct dlib_entry): Add osversion.
3997         * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Check
3998         osversion.
3999         * sysdeps/generic/dl-cache.h (struct file_entry_new): Replace __unused
4000         field with osversion.
4001         * sysdeps/generic/ldsodefs.h (_dl_osversion): Declare.
4002         * sysdeps/unix/sysv/linux/init-first.c: Include ldsodefs.h.
4003         * sysdeps/unix/sysv/linux/dl-osinfo.h (DL_SYSDEP_OSCHECK): Save kernel
4004         version in _dl_osversion.
4005         * sysdeps/unix/sysv/linux/configure.in: Define __ABI_TAG_VERSION.
4006         * Makerules (build-shlib-helper, build-module-helper): New.
4007         (build-shlib, build-module-helper): Make sure .note.ABI-tag comes
4008         early.
4009         * config.h.in (__ABI_TAG_VERSION): Add.
4010         * elf/dl-minimal.c (__strtoul_internal): Set endptr on return.
4011         * sysdeps/unix/sysv/linux/i386/dl-librecon.h (EXTRA_LD_ENVVARS):
4012         Handle LD_ASSUME_KERNEL.
4013         * sysdeps/unix/sysv/linux/dl-librecon.h: New.
4015 2001-03-15  Ulrich Drepper  <drepper@redhat.com>
4017         * timezone/antarctica: Update from tzdata2001a.
4018         * timezone/asia: Likewise.
4019         * timezone/australasia: Likewise.
4020         * timezone/backward: Likewise.
4021         * timezone/etcetera: Likewise.
4022         * timezone/europe: Likewise.
4023         * timezone/leapseconds: Likewise.
4024         * timezone/northamerica: Likewise.
4025         * timezone/southamerica: Likewise.
4026         * timezone/systemv: Likewise.
4027         * timezone/yearistype: Likewise.
4028         * timezone/zone.tab: Likewise.
4029         * timezone/tzdump.c: Update from tzcode2001a.
4031 2001-03-15  H.J. Lu  <hjl@gnu.org>
4033         * intl/Makefile: Fix a typo.
4035 2001-03-14  David Mosberger  <davidm@hpl.hp.com>
4037         * gmon/gmon.c (write_call_graph): Avoid unaligned accesses when
4038         writing arc structures.
4040 2001-03-15  H.J. Lu  <hjl@gnu.org>
4042         * elf/Makefile ($(objpfx)tst-pathopt.out): Protected against
4043         cross-compiling.
4045 2001-03-13  Andreas Schwab  <schwab@suse.de>
4047         * posix/PTESTS2C.sed: Replace literal CRs by `\r'.
4049 2001-03-15  Ulrich Drepper  <drepper@redhat.com>
4051         * sysdeps/unix/sysv/linux/cmsg_nxthdr.c (__cmsg_nxthdr): Fix test
4052         for control message fitting into message data.
4053         Patch by James Antill <james@and.org>.
4055         * posix/tst-fnmatch.input: Add test case for FNM_PERIOD handling with
4056         FNM_EXTMATCH.
4058         * posix/fnmatch_loop.c: Optimize handling of ?() and @().
4059         * posix/fnmatch.c: Define STRLEN and STRCAT appropriately.
4061         * posix/Versions [libc] (GLIBC_2.2.3): Add fnmatch.
4062         * posix/fnmatch.c: Define with new default version GLIBC_2.2.3 to
4063         avoid running binaries with libc versions without FNM_EXTMATCH support.
4065         * include/wchar.h: Add prototype for __wcscat.
4066         * wcsmbs/wcscat.c: Define __wcscat and make wcscat weak alias.
4068         * posix/fnmatch.h (FNM_EXTMATCH): Define.
4069         * posix/fnmatch.c (NO_LEADING_PERIOD): Define.
4070         (posixly_correct): Move global variable here.
4071         (INT, EXT, END): Name new functions defined in fnmatch_loop.c.
4072         (fnmatch): Pretty printing.
4073         * posix/fnmatch_loop.c: Add code to handle FNM_EXTMATCH.
4074         * posix/tst-fnmatch.c: Recognize EXTMATCH flag.
4075         * posix/tst-fnmatch.input: Add tests for extended matching.
4077         * posix/testfnm.c: Add test for patterns with multiple ** before /.
4078         * posix/fnmatch_loop.c: Fix problem with the test above.
4080 2001-03-14  Ulrich Drepper  <drepper@redhat.com>
4082         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Remove
4083         reference to usqrt.
4085         * resolv/res_data.c (fp_nquery): Call __res_ninit not __res_init.
4087 2001-03-12  Andreas Jaeger  <aj@suse.de>
4089         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
4090         Use EM_X86_64 instead of EM_X8664.
4092 2001-03-12  Ulrich Drepper  <drepper@redhat.com>
4094         * sysdeps/ieee754/dbl-64/upow.h: Define nZERO and nINF.
4096         * sysdeps/ieee754/dbl-64/e_remainder.c: Fix handling of boundary
4097         conditions.
4099         * sysdeps/ieee754/dbl-64/e_pow.c: Fix handling of boundary
4100         conditions.
4102         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Handle Inf and NaN
4103         correctly.
4104         (__cos): Likewise.
4106         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Handle NaN
4107         correctly.
4108         (__ieee754_acos): Likewise.
4110 2001-03-12  Andreas Jaeger  <aj@suse.de>
4112         * sysdeps/unix/sysv/linux/s390/sysdep.h (_LINUX_S390_SYSDEP_H):
4113         Fix typo.  Patch by Martin Schwidefsky  <schwidefsky@de.ibm.com>.
4115         * sysdeps/s390/bits/string.h: Protect __STRING_INLINE against
4116         redefinition.
4118 2001-03-11  Roland McGrath  <roland@frob.com>
4120         * sysdeps/mach/hurd/configure.in: Add a sanity check on $prefix.
4122 2001-03-11  Ulrich Drepper  <drepper@redhat.com>
4124         * sysdeps/ieee754/dbl-64/endian.h: Define also one of BIG_ENDI and
4125         LITTLE_ENDI.
4127         * sysdeps/ieee754/dbl-64/MathLib.h (Init_Lib): Use void as
4128         parameter list.
4130         Last-bit accurate math library implementation by IBM Haifa.
4131         Contributed by Abraham Ziv <ziv@il.ibm.com>, Moshe Olshansky
4132         <olshansk@il.ibm.com>, Ealan Henis <ealan@il.ibm.com>, and
4133         Anna Reitman <reitman@il.ibm.com>.
4134         * math/Makefile (dbl-only-routines): New variable.
4135         (libm-routines): Add $(dbl-only-routines).
4136         * sysdeps/ieee754/dbl-64/e_acos.c: Empty, definition is in e_asin.c.
4137         * sysdeps/ieee754/dbl-64/e_asin.c: Replaced with accurate asin
4138         implementation.
4139         * sysdeps/ieee754/dbl-64/e_atan2.c: Replaced with accurate atan2
4140         implementation.
4141         * sysdeps/ieee754/dbl-64/e_exp.c: Replaced with accurate exp
4142         implementation.
4143         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Don't use __kernel_sin and
4144         __kernel_cos.
4145         * sysdeps/ieee754/dbl-64/e_log.c: Replaced with accurate log
4146         implementation.
4147         * sysdeps/ieee754/dbl-64/e_remainder.c: Replaced with accurate
4148         remainder implementation.
4149         * sysdeps/ieee754/dbl-64/e_pow.c: Replaced with accurate pow
4150         implementation.
4151         * sysdeps/ieee754/dbl-64/e_sqrt.c: Replaced with accurate sqrt
4152         implementation.
4153         * sysdeps/ieee754/dbl-64/k_cos.c: Empty, definition is in s_sin.c.
4154         * sysdeps/ieee754/dbl-64/k_sin.c: Empty, definition is in s_sin.c.
4155         * sysdeps/ieee754/dbl-64/s_atan.c: Replaced with accurate atan
4156         implementation.
4157         * sysdeps/ieee754/dbl-64/s_cos.c: Empty, definition is in s_sin.c.
4158         * sysdeps/ieee754/dbl-64/s_sin.c: Replaced with accurate sin/cos
4159         implementation.
4160         * sysdeps/ieee754/dbl-64/s_sincos.c: Rewritten to not use __kernel_sin
4161         and __kernel_cos.
4162         * sysdeps/ieee754/dbl-64/s_tan.c: Replaced with accurate tan
4163         implementation.
4164         * sysdeps/ieee754/dbl-64/Dist: Add new non-code files.
4165         * sysdeps/ieee754/dbl-64/MathLib.h: New file.
4166         * sysdeps/ieee754/dbl-64/asincos.tbl: New file.
4167         * sysdeps/ieee754/dbl-64/atnat.h: New file.
4168         * sysdeps/ieee754/dbl-64/atnat2.h: New file.
4169         * sysdeps/ieee754/dbl-64/branred.c: New file.
4170         * sysdeps/ieee754/dbl-64/branred.h: New file.
4171         * sysdeps/ieee754/dbl-64/dla.h: New file.
4172         * sysdeps/ieee754/dbl-64/doasin.c: New file.
4173         * sysdeps/ieee754/dbl-64/doasin.h: New file.
4174         * sysdeps/ieee754/dbl-64/dosincos.c: New file.
4175         * sysdeps/ieee754/dbl-64/dosincos.h: New file.
4176         * sysdeps/ieee754/dbl-64/endian.h: New file.
4177         * sysdeps/ieee754/dbl-64/halfulp.c: New file.
4178         * sysdeps/ieee754/dbl-64/mpa.c: New file.
4179         * sysdeps/ieee754/dbl-64/mpa.h: New file.
4180         * sysdeps/ieee754/dbl-64/mpa2.h: New file.
4181         * sysdeps/ieee754/dbl-64/mpatan.c: New file.
4182         * sysdeps/ieee754/dbl-64/mpatan.h: New file.
4183         * sysdeps/ieee754/dbl-64/mpatan2.c: New file.
4184         * sysdeps/ieee754/dbl-64/mpexp.c: New file.
4185         * sysdeps/ieee754/dbl-64/mpexp.h: New file.
4186         * sysdeps/ieee754/dbl-64/mplog.c: New file.
4187         * sysdeps/ieee754/dbl-64/mplog.h: New file.
4188         * sysdeps/ieee754/dbl-64/mpsqrt.c: New file.
4189         * sysdeps/ieee754/dbl-64/mpsqrt.h: New file.
4190         * sysdeps/ieee754/dbl-64/mptan.c: New file.
4191         * sysdeps/ieee754/dbl-64/mydefs.h: New file.
4192         * sysdeps/ieee754/dbl-64/powtwo.tbl: New file.
4193         * sysdeps/ieee754/dbl-64/root.tbl: New file.
4194         * sysdeps/ieee754/dbl-64/sincos.tbl: New file.
4195         * sysdeps/ieee754/dbl-64/sincos32.c: New file.
4196         * sysdeps/ieee754/dbl-64/sincos32.h: New file.
4197         * sysdeps/ieee754/dbl-64/slowexp.c: New file.
4198         * sysdeps/ieee754/dbl-64/slowpow.c: New file.
4199         * sysdeps/ieee754/dbl-64/uasncs.h: New file.
4200         * sysdeps/ieee754/dbl-64/uatan.tbl: New file.
4201         * sysdeps/ieee754/dbl-64/uexp.h: New file.
4202         * sysdeps/ieee754/dbl-64/uexp.tbl: New file.
4203         * sysdeps/ieee754/dbl-64/ulog.h: New file.
4204         * sysdeps/ieee754/dbl-64/ulog.tbl: New file.
4205         * sysdeps/ieee754/dbl-64/upow.h: New file.
4206         * sysdeps/ieee754/dbl-64/upow.tbl: New file.
4207         * sysdeps/ieee754/dbl-64/urem.h: New file.
4208         * sysdeps/ieee754/dbl-64/uroot.h: New file.
4209         * sysdeps/ieee754/dbl-64/usncs.h: New file.
4210         * sysdeps/ieee754/dbl-64/utan.h: New file.
4211         * sysdeps/ieee754/dbl-64/utan.tbl: New file.
4212         * sysdeps/i386/fpu/branred.c: New file.
4213         * sysdeps/i386/fpu/doasin.c: New file.
4214         * sysdeps/i386/fpu/dosincos.c: New file.
4215         * sysdeps/i386/fpu/halfulp.c: New file.
4216         * sysdeps/i386/fpu/mpa.c: New file.
4217         * sysdeps/i386/fpu/mpatan.c: New file.
4218         * sysdeps/i386/fpu/mpatan2.c: New file.
4219         * sysdeps/i386/fpu/mpexp.c: New file.
4220         * sysdeps/i386/fpu/mplog.c: New file.
4221         * sysdeps/i386/fpu/mpsqrt.c: New file.
4222         * sysdeps/i386/fpu/mptan.c: New file.
4223         * sysdeps/i386/fpu/sincos32.c: New file.
4224         * sysdeps/i386/fpu/slowexp.c: New file.
4225         * sysdeps/i386/fpu/slowpow.c: New file.
4226         * sysdeps/ia64/fpu/branred.c: New file.
4227         * sysdeps/ia64/fpu/doasin.c: New file.
4228         * sysdeps/ia64/fpu/dosincos.c: New file.
4229         * sysdeps/ia64/fpu/halfulp.c: New file.
4230         * sysdeps/ia64/fpu/mpa.c: New file.
4231         * sysdeps/ia64/fpu/mpatan.c: New file.
4232         * sysdeps/ia64/fpu/mpatan2.c: New file.
4233         * sysdeps/ia64/fpu/mpexp.c: New file.
4234         * sysdeps/ia64/fpu/mplog.c: New file.
4235         * sysdeps/ia64/fpu/mpsqrt.c: New file.
4236         * sysdeps/ia64/fpu/mptan.c: New file.
4237         * sysdeps/ia64/fpu/sincos32.c: New file.
4238         * sysdeps/ia64/fpu/slowexp.c: New file.
4239         * sysdeps/ia64/fpu/slowpow.c: New file.
4240         * sysdeps/m68k/fpu/branred.c: New file.
4241         * sysdeps/m68k/fpu/doasin.c: New file.
4242         * sysdeps/m68k/fpu/dosincos.c: New file.
4243         * sysdeps/m68k/fpu/halfulp.c: New file.
4244         * sysdeps/m68k/fpu/mpa.c: New file.
4245         * sysdeps/m68k/fpu/mpatan.c: New file.
4246         * sysdeps/m68k/fpu/mpatan2.c: New file.
4247         * sysdeps/m68k/fpu/mpexp.c: New file.
4248         * sysdeps/m68k/fpu/mplog.c: New file.
4249         * sysdeps/m68k/fpu/mpsqrt.c: New file.
4250         * sysdeps/m68k/fpu/mptan.c: New file.
4251         * sysdeps/m68k/fpu/sincos32.c: New file.
4252         * sysdeps/m68k/fpu/slowexp.c: New file.
4253         * sysdeps/m68k/fpu/slowpow.c: New file.
4255         * iconvdata/gconv-modules: Add a number of alias, mostly for IBM
4256         codepages.
4258 2001-03-11  Andreas Jaeger  <aj@suse.de>
4260         * elf/elf.h (EM_*): Synch with official list.
4262 2001-03-07  David Mosberger  <davidm@hpl.hp.com>
4264         * sysdeps/ia64/bits/fenv.h (FE_NONIEEE_ENV): New macro.
4266 2001-03-07  Jes Sorensen  <jes@linuxcare.com>
4268         * sysdeps/unix/sysv/linux/ia64/ioperm.c (_ioperm): Remove unused
4269         variables addr & len.
4271 2001-02-22  Jes Sorensen  <jes@linuxcare.com>
4273         * sysdeps/ia64/fpu/feenablxcpt.c (feenableexcept): Remove
4274         punctuation in asm constraint.
4276 2001-03-07  Mark Kettenis  <kettenis@gnu.org>
4278         * resolv/netdb.h [__USE_GNU]: Define __need_timespec and include
4279         <time.h> to get definition of `struct timespec'.
4281 2001-03-08  Jakub Jelinek  <jakub@redhat.com>
4283         * elf/rtld.c (dl_main): If tracing, warn about undefined symbols if
4284         LD_WARN=1, not if LD_WARN is unset.
4286 2001-03-07  Andreas Schwab  <schwab@suse.de>
4288         * elf/ldconfig.h: Moved to ...
4289         * sysdeps/generic/ldconfig.h: ... here.
4290         * sysdeps/unix/sysv/linux/i386/ldconfig.h: New file.
4291         * sysdeps/unix/sysv/linux/m68k/ldconfig.h: New file.
4292         * sysdeps/unix/sysv/linux/ia64/ldconfig.h: New file.
4293         * elf/readlib.c (interpreters, known_libs): Use
4294         SYSDEP_KNOWN_INTERPRETER_NAMES and SYSDEP_KNOWN_LIBRARY_NAMES
4295         instead of hard coding old names.
4297 2001-03-09  Ulrich Drepper  <drepper@redhat.com>
4299         * catgets/Makefile (generated): Add test-gencat.h.
4300         (sample.SJIS.cat): Also generate header.
4301         * catgets/sample.SJIS: Add new set and message, both with symbolic
4302         names.
4303         * catgets/test-gencat.sh: Also compare generated header with what
4304         we expect.
4306 2001-03-07  Jakub Jelinek  <jakub@redhat.com>
4308         * catgets/gencat.c (read_input_file): Preserve properly symbolic
4309         names.
4311 2001-03-06  Andreas Jaeger  <aj@suse.de>
4313         * sysdeps/s390/dl-machine.h (elf_machine_relplt): Removed, it's not
4314         needed.
4315         (elf_machine_pltrel_p): Likewise.
4316         * sysdeps/powerpc/dl-machine.h: Likewise.
4317         * sysdeps/generic/dl-machine.h (elf_machine_pltrel_p): Likewise.
4319 2001-03-09  Ulrich Drepper  <drepper@redhat.com>
4321         * sysdeps/unix/sysv/linux/arm/Dist: Add dl-procinfo.c and
4322         dl-procinfo.h.
4324 2001-03-05  Philip Blundell  <philb@gnu.org>
4326         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c: New file.
4327         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h: New file.
4328         * sysdeps/unix/sysv/linux/arm/Makefile [subdir=elf]
4329         (sysdep-dl-routines, sysdep_routines, sysdep-rtld-routines): Add
4330         dl-procinfo.
4332 2001-03-09  Ulrich Drepper  <drepper@redhat.com>
4334         * dlfcn/tstatexit.c (main): Don't perform the test if __dso_handle
4335         is not available.
4336         * dlfcn/tstcxaatexit.c (main): Likewise.
4338 2001-03-10  Andreas Jaeger  <aj@suse.de>
4340         * sysdeps/i386/fpu/libm-test-ulps: Revert last patch.
4342 2001-03-09  Andreas Jaeger  <aj@suse.de>
4344         * sysdeps/s390/dl-machine.h (elf_machine_matches_host): Handle
4345         both new and old EM_S390 values.
4346         (EM_S390_OLD): New constant.
4348         * elf/elf.h (EM_S390): Use official value.
4350 2001-03-09  Ulrich Drepper  <drepper@redhat.com>
4352         * conform/data/sys/socket.h-data: Allow SO* symbols.
4354 2001-03-07  Andreas Schwab  <schwab@suse.de>
4356         * sysdeps/ia64/fpu/Makefile: Modify sysdep_routines instead of
4357         routines, and sysdep-CPPFLAGS instead of CPPFLAGS.
4359 2001-03-07  Andreas Jaeger  <aj@suse.de>
4361         * resolv/Makefile (routines): Only build gai_sigqueue when threads
4362         are available.
4364 2001-03-07  Jakub Jelinek  <jakub@redhat.com>
4366         * elf/ldconfig.c (_dl_sysdep_message): Remove.
4367         * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h: Include
4368         ldsodefs.h.
4369         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h: Likewise.
4371         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Use
4372         _dl_error_printf instead of _dl_sysdep_error.
4373         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
4374         * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h (_dl_procinfo):
4375         Use _dl_printf instead of _dl_sysdep_message.
4376         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h (_dl_procinfo):
4377         Likewise.
4379 2001-03-06  Ben Collins  <bcollins@debian.org>
4381         * manual/arith.texi (Integers): Fix documentation of fast and
4382         least integer typedefs.
4384 2001-03-06  Jakub Jelinek  <jakub@redhat.com>
4386         * resolv/Depend: New file.
4387         * resolv/Makefile (extra-libs, tests): Build libanl and ga_test only
4388         when libpthread is built.
4390 2001-03-06  Andreas Jaeger  <aj@suse.de>
4392         * sysdeps/i386/fpu/libm-test-ulps: Add some deltas.
4394         * sysdeps/sh/dl-machine.h (elf_machine_rela): Add missing comma.
4395         Patch by kaz Kojima <kkojima@rr.iij4u.or.jp>.
4397 2001-03-05  Ulrich Drepper  <drepper@redhat.com>
4399         * stdlib/Versions: Remove __new_exitfn again.  Not needed.
4401 2001-03-05  Andreas Jaeger  <aj@suse.de>
4403         * stdlib/msort.c (qsort): Don't use alloca in a function call.
4405 2001-03-05  Ulrich Drepper  <drepper@redhat.com>
4407         * sysdeps/unix/sysv/linux/bits/stat.h (__S_TYPEISMQ, __S_TYPEISSEM,
4408         __S_TYPEISSHM): Rewrite to enforce correct use the macros.  They still
4409         always return zero.
4410         * sysdeps/unix/sysv/linux/alpha/bits/stat.h: Likewise.
4411         * sysdeps/unix/sysv/linux/ia64/bits/stat.h: Likewise.
4412         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
4413         * sysdeps/unix/sysv/linux/m68k/bits/stat.h: Likewise.
4414         * sysdeps/unix/sysv/linux/mips/bits/stat.h: Likewise.
4415         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
4416         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
4418 2001-03-04  Andreas Jaeger  <aj@suse.de>
4420         * stdlib/longlong.h: Don't use multi-line strings.
4421         * iconvdata/tst-loading.c: Likewise.
4423         * csu/Makefile ($(objpfx)version-info.h): Don't use multi-line
4424         string.
4426 2001-03-04  Ulrich Drepper  <drepper@redhat.com>
4428         * sysdeps/ia64/fpu/libm-test-ulps: Adjust for addition of lgammal.
4430         * rt/lio_listio.c: Add a few asserts.
4432         * elf/global.c: New file.
4433         * elf/globalmod1.c: New file.
4434         * elf/Makefile: Add rules to build and run global.
4436         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Define SI_ASYNCNL.
4437         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
4438         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Likewise.
4439         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
4440         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/siginfo.h: Likewise.
4442         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: New file.
4443         Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>.
4445         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Fix handling of boundary cases.
4447         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Always initialize sign variable.
4448         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
4450         * sysdeps/i386/fpu/libm-test-ulps: Adjust after addition of lgammal.
4452         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Fix typo in last change.
4454 2001-03-04  Andreas Jaeger  <aj@suse.de>
4456         * resolv/tst-aton.c: Add testcase for IP with four periods.
4458         * resolv/inet_addr.c: Don't recognize an IP with four periods.
4459         Patch by Andre' Breiler <A.Breiler@gmx.net>.
4461 2001-02-27  Philip Blundell  <pb@futuretv.com>
4463         * elf/elf.h: Add new ARM definitions from latest (B-01)
4464         specification.  Correct naming of EF_ARM_ALIGN8 et al.
4466 2001-03-04  Ulrich Drepper  <drepper@redhat.com>
4468         * stdio-common/tst-printf.sh: Remove bashisms.
4469         Patch by Matthew Clarke <Matthew_Clarke@mindlink.bc.ca>.
4471 2001-03-03  Ulrich Drepper  <drepper@redhat.com>
4473         * Versions.def: Add libanl definition.
4474         * shlib-versions: Add entry for libanl.
4475         * resolv/Makefile (distribute): Add gai_misc.h and ga_test.c.
4476         (routines): Add gai_sigqueue.
4477         (extra-libs): Add libanl.
4478         (libanl-routines): New variable.
4479         Add rules to build libanl and ga_test.
4480         * resolv/Versions [libc] (GLIBC_2.2.3): Add __gai_sigqueue.
4481         [libanl]: New library.
4482         * resolv/netdb.h: Add definitions for libanl.
4483         * resolv/getaddrinfo_a.c: New file.
4484         * resolv/gai_cancel.c: New file.
4485         * resolv/gai_error.c: New file.
4486         * resolv/gai_misc.c: New file.
4487         * resolv/gai_misc.h: New file.
4488         * resolv/gai_notify.c: New file.
4489         * resolv/gai_suspend.c: New file.
4490         * resolv/ga_test.c: New file.
4491         * sysdeps/generic/gai_sigqueue.c: New file.
4492         * sysdeps/unix/sysv/linux/gai_sigqueue.c: New file.
4493         * sysdeps/generic/bits/siginfo.h: Allow __need_sigevent_t being defined
4494         and provide only that definition.
4495         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Likewise.
4496         * sysdeps/unix/sysv/linux/bits/siginfo.h: Likewise.
4497         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
4498         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Likewise.
4499         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
4500         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/siginfo.h: Likewise.
4502         * rt/aio_misc.c: Fix typos in comments.
4503         * rt/lio_listio.c: Pretty printing.  Little optimization in request
4504         list handling.
4506         * elf/rtld.c: Remove commented out code.
4508         * sysdeps/unix/sysv/linux/linux_fsinfo.h (SHMFS_SUPER_MAGIC):
4509         Update for real 2.4 kernels.
4511 2001-03-01  Ulrich Drepper  <drepper@redhat.com>
4513         * elf/dl-load.c: Pretty printing.
4515         * elf/dl-object.c (_dl_new_object): Don't add the loader's scope
4516         twice.
4518 2001-02-28  Ulrich Drepper  <drepper@redhat.com>
4520         * sysdeps/alpha/dl-machine.h (elf_machine_rela): Don't handle
4521         relocations which are not in ld.so if RTLD_BOOTSTRAP is defined.
4523         * sysdeps/powerpc/dl-machine.c (__process_machine_rela): Fix typo.
4525         * elf/dl-misc.c (_dl_debug_vdprintf): Fix typo visible on 64-bit
4526         machines.
4528         * sysdeps/unix/sysv/linux/powerpc/sysdep.h (C_TEXT): Define.
4530 2001-02-27  Ulrich Drepper  <drepper@redhat.com>
4532         * sysdeps/powerpc/elf/libc-start.c: Use new output functions and
4533         _dl_debug_mask.
4535         * elf/Versions [ld]: Don't export _dl_debug_message anymore.  Export
4536         _dl_debug_printf.
4537         * elf/dl-misc.c: Remove definition of _dl_sysdep_output and
4538         _dl_debug_message.  Define _dl_debug_vdprintf, _dl_debug_printf,
4539         _dl_debug_printf_c, and _dl_printf.
4540         * sysdeps/generic/ldsodefs.h: Don't declare _dl_sysdep_output,
4541         _dl_debug_message, _dl_sysdep_message, _dl_sysdep_error, and
4542         _dl_sysdep_fatal.  Declare _dl_debug_printf, _dl_debug_printf_c,
4543         _dl_printf, _dl_error_printf, and _dl_fatal_printf.
4544         * elf/dl-close.c: Replace use of old output functions with the new
4545         ones.
4546         * elf/dl-deps.c: Likewise.
4547         * elf/dl-error.c: Likewise.
4548         * elf/dl-fini.c: Likewise.
4549         * elf/dl-init.c: Likewise.
4550         * elf/dl-load.c: Likewise.
4551         * elf/dl-lookup.c: Likewise.
4552         * elf/dl-minimal.c: Likewise.
4553         * elf/dl-open.c: Likewise.
4554         * elf/dl-profile.c: Likewise.
4555         * elf/dl-reloc.c: Likewise.
4556         * elf/dl-version.c: Likewise.
4557         * elf/do-lookup.h: Likewise.
4558         * elf/rtld.c: Likewise.
4559         * sysdeps/generic/dl-cache.c: Likewise.
4560         * sysdeps/generic/dl-sysdep.c: Likewise.
4561         * sysdeps/generic/libc-start.c: Likewise.
4562         * sysdeps/i386/dl-machine.h: Likewise.
4563         * sysdeps/arm/dl-machine.h: Likewise.
4564         * sysdeps/hppa/dl-machine.h: Likewise.
4565         * sysdeps/m68k/dl-machine.h: Likewise.
4566         * sysdeps/powerpc/dl-machine.h: Likewise.
4567         * sysdeps/s390/dl-machine.h: Likewise.
4568         * sysdeps/sh/dl-machine.h: Likewise.
4569         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
4570         * sysdeps/unix/sysv/linux/i386/dl-librecon.h: Likewise.
4571         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
4573         * sysdeps/generic/ldsodefs.h: Remove _dl_secure declaration.
4575         * dlfcn/Makefile: Don't run tstatexit test unless .hidden is
4576         supported by assembler.
4578         * sysdeps/generic/ldsodefs.h: Remove commented-out variable
4579         declaractions.
4581         * elf/rtld.c: Little optimizations in handling _dl_lazy.
4583         * elf/cache.c (save_cache): Portability changes.
4584         * elf/dl-profile.c (_dl_start_profile): Likewise.
4586         * elf/sln.c: Cleanups.  Remove arbitrary limits.
4588         * elf/dl-close.c: Replace _dl_debug_* variables with _dl_debug_mask.
4589         * elf/dl-deps.c: Likewise.
4590         * elf/dl-fini.c: Likewise.
4591         * elf/dl-init.c: Likewise.
4592         * elf/dl-load.c: Likewise.
4593         * elf/dl-lookup.c: Likewise.
4594         * elf/dl-open.c: Likewise.
4595         * elf/dl-reloc.c: Likewise.
4596         * elf/dl-support.c: Likewise.
4597         * elf/dl-version.c: Likewise.
4598         * elf/do-lookup.h: Likewise.
4599         * elf/rtld.c: Likewise.
4600         * sysdeps/generic/dl-cache.c: Likewise.
4601         * sysdeps/generic/ldsodefs.h: Likewise.
4602         * sysdeps/generic/libc-start.c: Likewise.
4603         * elf/Versions: Don't export _dl_debug_impcalls and _dl_debug_files.
4604         Export _dl_debug_mask.
4605         * Versions.def: Define GLIBC_2.2.3 for ld.
4607 2001-02-26  Greg McGary  <greg@mcgary.org>
4609         * sysdeps/unix/make-syscalls.sh (ptr): Handle `V' keyletter.
4611 2001-02-26  Paul Eggert  <eggert@twinsun.com>
4613         Modify mkstemp.c and tempname.c so that they can be used by
4614         GNU applications on non-glibc platforms.
4616         * misc/mkstemp.c (__GT_FILE): Define to zero if not defined.
4618         * sysdeps/posix/tempname.c: Include <config.h> if HAVE_CONFIG_H.
4619         Include <stddef.h>, <stdint.h>, <string.h> only if
4620         STDC_HEADERS || _LIBC.
4621         Include <fcntl.h> only if HAVE_FCNTL_H || _LIBC.
4622         Include <unistd.h> only if HAVE_UNISTD_H || _LIBC.
4623         Include <sys/time.h> only if HAVE_SYS_TIME_H || _LIBC.
4624         (__set_errno): Define this macro if <errno.h> doesn't.
4625         (P_tmpdir, TMP_MAX, __GT_FILE, __GT_BIGFILE, __GT_DIR, __GT_NOCREATE):
4626         Define these macros if <stdio.h> doesn't.
4627         (S_ISDIR, S_IRUSR, S_IWUSR, S_IXUSR):
4628         Define these macros if <sys/stat.h> doesn't.
4629         Ignore <sys/stat.h> S_ISDIR if STAT_MACROS_BROKEN.
4630         (stat64, __getpid, __gettimeofday, __mkdir, __open, __open64,
4631         lxstat64, __xstat64): Define if not _LIBC.
4632         (struct_stat64): New macro.
4633         (direxists, __gen_tempname): Use it, to avoid a
4634         portability problem with Solaris 8.
4635         (__secure_getenv): Define if ! (HAVE___SECURE_GETENV || _LIBC).
4636         (__gen_tempname): Invoke gettimeofday only if
4637         HAVE_GETTIMEOFDAY || _LIBC; otherwise, fall back on plain "time".
4638         Use portable macros like S_IRUSR | S_IWUSR rather than nonportable
4639         octal values like 0600.
4641 2001-02-26  Ulrich Drepper  <drepper@redhat.com>
4643         * sysdeps/ieee754/ldbl-96/e_jnl.c: New file.
4644         Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>.
4646         * sysdeps/i386/fpu/libm-test-ulps: Update for jnl and ynl introduction.
4647         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
4649         * posix/wordexp-test.c (testit): Remove warnings.
4651         * dlfcn/Makefile (distribute): Add modatexit.c and modcxaatexit.c.
4652         (tests): Add tstatexit and tstcxaatexit.
4653         (module-names): Add modatexit and modcxaatexit.
4654         Add rules to build and run tstatexit and tstcxaatexit.
4655         * dlfcn/modatexit.c: New file.
4656         * dlfcn/modcxaatexit.c: New file.
4657         * dlfcn/tstatexit.c: New file.
4658         * dlfcn/tstcxaatexit.c: New file.
4660         * io/Makefile: Pass -DHAVE_DOT_HIDDEN to stat and mknod functions if
4661         .hidden is available.
4662         * io/stat.c: If .hidden is available use it to avoid exporting
4663         functions.
4664         * io/fstat.c: Likewise.
4665         * io/lstat.c: Likewise.
4666         * io/stat64.c: Likewise.
4667         * io/fstat64.c: Likewise.
4668         * io/lstat64.c: Likewise.
4669         * sysdeps/generic/mknod.c: Likewise.
4671         * malloc/mtrace.c: Use __cxa_atexit and not atexit.
4672         * sysdeps/generic/bb_init_func.c: Likewise.
4673         * sysdeps/generic/libc-start.c: Likewise.
4675         * stdlib/atexit.c (__new_exitfn): Move to cxa_atexit.c.
4676         (atexit): Implement using __cxa_atexit.
4677         Use .hidden if availble to avoid exporting atexit.
4678         * stdlib/cxa_atexit.c (__new_exitfn): Moved to here from atexit.c.
4679         * stdlib/Versions: Export __new_exitfn for GLIBC_2.2.3.
4680         * stdlib/Makefile (routines): Add old_atexit.
4681         (static-only-routines): Add atexit.
4682         Pass -DHAVE_DOT_HIDDEN for atexit.c if .hidden is available.
4683         * stdlib/old_atexit.c: New file.
4685         * intl/Makefile: Remove bogus endif.
4687 2001-02-26  Andreas Jaeger  <aj@suse.de>
4689         * iconvdata/Makefile (tests): Fix typo in last patch.
4691         * intl/Makefile (tests): Run mtrace-tst-gettext only when perl is
4692         available.
4693         Reported by Achim Gottinger <achim@gentoo.org>.
4695 2001-02-25  Andreas Jaeger  <aj@suse.de>
4697         * intl/Makefile (plural.c): Reorder rules so that they work if
4698         BISON doesn't exist.
4700 2001-02-25  Ulrich Drepper  <drepper@redhat.com>
4702         * intl/locale.alias: Don't use nb_NO but define aliases for it.
4704 2001-02-23  Ulrich Drepper  <drepper@redhat.com>
4706         * sysdeps/i386/strtok.S: Continue to return NULL after the first
4707         time this happened.
4709 2001-02-23  Andreas Jaeger  <aj@suse.de>
4711         * string/tester.c (test_strtok_r): Add testcase.
4712         (test_strtok_r): Always initialize cp for proper checking.
4714         * sysdeps/generic/strtok.c (strtok): Handle case of first strtok
4715         returning NULL correctly.
4716         Patch by Fumitoshi UKAI <ukai@debian.or.jp>.
4717         * sysdeps/generic/strtok_r.c (__strtok_r): Likewise.
4719 2001-02-23  Ulrich Drepper  <drepper@redhat.com>
4721         * sysdeps/unix/sysv/aix/bits/types.h: Define __need_NULL before
4722         including <stddef.h>.
4723         * sysdeps/unix/sysv/aix/write.c: Define alias __libc_write.
4724         * include/libc-symbols.h (weak_alias): Don't use .weak if
4725         HAVE_ASM_GLOBAL_DOT_NAME is defined.
4726         Patches by Michael Keezer <mkeezer@redhat.com>.
4728         * sysdeps/generic/ftime.c: Don't include <sys/time.h> at all.
4729         Patch by Michael Keezer <mkeezer@redhat.com>.
4731         * sysdeps/unix/sysv/aix/Dist: Remove restf.S and savef.S.
4732         * sysdeps/unix/sysv/aix/Makefile [$(subdir) == misc]
4733         (sysdep_routines): Remove restf.S and savef.S.
4734         * sysdeps/unix/sysv/aix/restf.S: Removed.
4735         * sysdeps/unix/sysv/aix/savef.S: Removed.
4736         * sysdeps/powerpc/fprrest.S: Use C_TEXT to define label.  Also define
4737         alternative names used on some platforms.
4738         * sysdeps/powerpc/fprsave.S: Likewise.
4739         * sysdeps/powerpc/gprrest0.S: Likewise.
4740         * sysdeps/powerpc/gprrest1.S: Likewise.
4741         * sysdeps/powerpc/gprsave0.S: Likewise.
4742         * sysdeps/powerpc/gprsave1.S: Likewise.
4743         Patch by Michael Keezer <mkeezer@redhat.com>.
4745 2001-02-22  Ulrich Drepper  <drepper@redhat.com>
4747         * sysdeps/i386/elf/start.S (_fp_hw): Actually define label.
4749 2001-02-22  Andreas Jaeger  <aj@suse.de>
4751         * string/tst-strtok.c (main): Fix error messages.
4753 2001-02-22  Andreas Jaeger  <aj@suse.de>
4755         * math/Makefile: Remove omit-long-double-fcts.
4757 2001-02-18  Maciej W. Rozycki  <macro@ds2.pg.gda.pl>
4759         * sysdeps/mips/bsd-_setjmp.S (_setjmp): Reorder instructions to
4760         avoid problems on MIPS I.
4761         * sysdeps/mips/bsd-setjmp.S (setjmp): Likewise.
4763         * sysdeps/mips/dl-machine.h (RTLD_START): Remove duplicate ".set
4764         noreorder".
4766 2001-02-21  Ulrich Drepper  <drepper@redhat.com>
4768         * posix/fnmatch_loop.c: Handle ranges outside glibc correctly.
4770         * sysdeps/generic/ftime.c: Include <time.h>.
4772         * configure.in: Don't check for libgd if user passed --without-gd.
4773         Patch by Achim Gottinger <achim@gentoo.org>.
4775         * sysdeps/i386/i686/strtok.S: Continue to return NULL after the
4776         first time this happened.
4777         * string/Makefile (tests): Add tst-strtok.
4779 2001-02-21  Andreas Jaeger  <aj@suse.de>
4781         * string/tst-strtok.c: New testcase, reported by
4782         Andrew Church <achurch@achurch.org>.
4784 2001-02-20  Ulrich Drepper  <drepper@redhat.com>
4786         * libio/iofwide.c: Remove fwide alias.
4788 2001-02-20  Andreas Jaeger  <aj@suse.de>
4790         * iconvdata/Makefile (tests): Only run mtrace-tst-loading if perl
4791         is available.
4792         Reported by Achim Gottinger <achim@gentoo.org>.
4794 2001-02-19  Ulrich Drepper  <drepper@redhat.com>
4796         * iconv/tst-iconv1.c (main): Remove debugging code.
4798         * sysdeps/ieee754/flt-32/e_powf.c: Handle x == +-1 correctly.
4799         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
4801         * sysdeps/generic/e_scalb.c: Set invalid exception for invalid
4802         parameters.
4803         * sysdeps/generic/e_scalbf.c: Likewise.
4804         * sysdeps/generic/e_scalbl.c: Likewise.
4806         * sysdeps/ia64/fpu/Makefile (libm-sysdep-routines): Add libm_error,
4807         libm_frexp4, libm_frexp4f, libm_frexp4l, and all the functions also
4808         in libc.
4809         (routines): Replace libm_error with libc_libm_error.
4810         * sysdeps/ia64/fpu/Dist: Add libc_libm_error.c.
4811         * sysdeps/ia64/fpu/libc_libm_error.c: New file.
4813 2001-02-18  Mark Kettenis  <kettenis@gnu.org>
4815         * malloc/mtrace.c [USE_IN_LIBIO]: Define fopen as _IO_fopen64.
4816         (mtrace): Revert 2001-02-13 patch: use fopen instead of fopen64.
4818 2001-02-17  H.J. Lu  <hjl@gnu.org>
4820         * sysdeps/unix/sysv/linux/ia64/clone2.S: Use clone2 and don't use
4821         scratch registers across the system call.
4823 2001-02-19  Andreas Jaeger  <aj@suse.de>
4825         * malloc/Makefile (tests): Run mtrace only when perl is available.
4826         Reported by Achim Gottinger <achim@gentoo.org>.
4828 2001-02-19  Ulrich Drepper  <drepper@redhat.com>
4830         * sysdeps/ieee754/ldbl-96/e_j1l.c: New file.
4831         Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>.
4833         * sysdeps/i386/fpu/libm-test-ulps: Adjust error values for j1 and y1.
4834         * sysdeps/ia64/fpu/libm-test-ulps: Adjust error values for y1.
4835         * math/libm-test.inc (j1_test): Mark constants as long double.
4836         (jn_test): Likewise.
4837         (y1_test): Likewise.
4838         (yn_test): Likewise.
4840         * libio/iogetline.c: Move return until after last statement.
4842         * localedata/show-ucs-data.c: Don't show < > for better readability.
4844         * sysdeps/ia64/fpu/Dist: New file.
4845         * sysdeps/ia64/fpu/Makefile: New file.
4846         * sysdeps/ia64/fpu/Versions: New file.
4847         * sysdeps/ia64/fpu/e_acos.S: New file.
4848         * sysdeps/ia64/fpu/e_acosf.S: New file.
4849         * sysdeps/ia64/fpu/e_acosl.S: New file.
4850         * sysdeps/ia64/fpu/e_asin.S: New file.
4851         * sysdeps/ia64/fpu/e_asinf.S: New file.
4852         * sysdeps/ia64/fpu/e_asinl.S: New file.
4853         * sysdeps/ia64/fpu/e_atan2.S: New file.
4854         * sysdeps/ia64/fpu/e_atan2f.S: New file.
4855         * sysdeps/ia64/fpu/e_atan2l.c: New file.
4856         * sysdeps/ia64/fpu/e_cosh.S: New file.
4857         * sysdeps/ia64/fpu/e_coshf.S: New file.
4858         * sysdeps/ia64/fpu/e_coshl.S: New file.
4859         * sysdeps/ia64/fpu/e_exp.S: New file.
4860         * sysdeps/ia64/fpu/e_expf.S: New file.
4861         * sysdeps/ia64/fpu/e_expl.c: New file.
4862         * sysdeps/ia64/fpu/e_fmod.S: New file.
4863         * sysdeps/ia64/fpu/e_fmodf.S: New file.
4864         * sysdeps/ia64/fpu/e_fmodl.S: New file.
4865         * sysdeps/ia64/fpu/e_hypot.S: New file.
4866         * sysdeps/ia64/fpu/e_hypotf.S: New file.
4867         * sysdeps/ia64/fpu/e_hypotl.S: New file.
4868         * sysdeps/ia64/fpu/e_log.S: New file.
4869         * sysdeps/ia64/fpu/e_log10.c: New file.
4870         * sysdeps/ia64/fpu/e_log10f.c: New file.
4871         * sysdeps/ia64/fpu/e_log10l.c: New file.
4872         * sysdeps/ia64/fpu/e_logf.S: New file.
4873         * sysdeps/ia64/fpu/e_logl.c: New file.
4874         * sysdeps/ia64/fpu/e_pow.S: New file.
4875         * sysdeps/ia64/fpu/e_powf.S: New file.
4876         * sysdeps/ia64/fpu/e_powl.S: New file.
4877         * sysdeps/ia64/fpu/e_rem_pio2.c: New file.
4878         * sysdeps/ia64/fpu/e_rem_pio2f.c: New file.
4879         * sysdeps/ia64/fpu/e_remainder.S: New file.
4880         * sysdeps/ia64/fpu/e_remainderf.S: New file.
4881         * sysdeps/ia64/fpu/e_remainderl.S: New file.
4882         * sysdeps/ia64/fpu/e_scalb.S: New file.
4883         * sysdeps/ia64/fpu/e_scalbf.S: New file.
4884         * sysdeps/ia64/fpu/e_scalbl.S: New file.
4885         * sysdeps/ia64/fpu/e_sinh.S: New file.
4886         * sysdeps/ia64/fpu/e_sinhf.S: New file.
4887         * sysdeps/ia64/fpu/e_sinhl.S: New file.
4888         * sysdeps/ia64/fpu/e_sqrt.S: New file.
4889         * sysdeps/ia64/fpu/e_sqrtf.S: New file.
4890         * sysdeps/ia64/fpu/e_sqrtl.S: New file.
4891         * sysdeps/ia64/fpu/k_rem_pio2.c: New file.
4892         * sysdeps/ia64/fpu/k_rem_pio2f.c: New file.
4893         * sysdeps/ia64/fpu/k_rem_pio2l.c: New file.
4894         * sysdeps/ia64/fpu/libm_atan2_reg.S: New file.
4895         * sysdeps/ia64/fpu/libm_error.c: New file.
4896         * sysdeps/ia64/fpu/libm_frexp4.S: New file.
4897         * sysdeps/ia64/fpu/libm_frexp4f.S: New file.
4898         * sysdeps/ia64/fpu/libm_frexp4l.S: New file.
4899         * sysdeps/ia64/fpu/libm_reduce.S: New file.
4900         * sysdeps/ia64/fpu/libm_support.h: New file.
4901         * sysdeps/ia64/fpu/libm_tan.S: New file.
4902         * sysdeps/ia64/fpu/s_atan.S: New file.
4903         * sysdeps/ia64/fpu/s_atanf.S: New file.
4904         * sysdeps/ia64/fpu/s_atanl.S: New file.
4905         * sysdeps/ia64/fpu/s_cbrt.S: New file.
4906         * sysdeps/ia64/fpu/s_cbrtf.S: New file.
4907         * sysdeps/ia64/fpu/s_cbrtl.S: New file.
4908         * sysdeps/ia64/fpu/s_ceil.S: New file.
4909         * sysdeps/ia64/fpu/s_ceilf.S: New file.
4910         * sysdeps/ia64/fpu/s_ceill.S: New file.
4911         * sysdeps/ia64/fpu/s_cos.S: New file.
4912         * sysdeps/ia64/fpu/s_cosf.S: New file.
4913         * sysdeps/ia64/fpu/s_cosl.S: New file.
4914         * sysdeps/ia64/fpu/s_expm1.S: New file.
4915         * sysdeps/ia64/fpu/s_expm1f.S: New file.
4916         * sysdeps/ia64/fpu/s_expm1l.S: New file.
4917         * sysdeps/ia64/fpu/s_floor.S: New file.
4918         * sysdeps/ia64/fpu/s_floorf.S: New file.
4919         * sysdeps/ia64/fpu/s_floorl.S: New file.
4920         * sysdeps/ia64/fpu/s_frexp.c: New file.
4921         * sysdeps/ia64/fpu/s_frexpf.c: New file.
4922         * sysdeps/ia64/fpu/s_frexpl.c: New file.
4923         * sysdeps/ia64/fpu/s_ilogb.S: New file.
4924         * sysdeps/ia64/fpu/s_ilogbf.S: New file.
4925         * sysdeps/ia64/fpu/s_ilogbl.S: New file.
4926         * sysdeps/ia64/fpu/s_ldexp.S: New file.
4927         * sysdeps/ia64/fpu/s_ldexpf.S: New file.
4928         * sysdeps/ia64/fpu/s_ldexpl.S: New file.
4929         * sysdeps/ia64/fpu/s_log1p.S: New file.
4930         * sysdeps/ia64/fpu/s_log1pf.S: New file.
4931         * sysdeps/ia64/fpu/s_log1pl.S: New file.
4932         * sysdeps/ia64/fpu/s_logb.S: New file.
4933         * sysdeps/ia64/fpu/s_logbf.S: New file.
4934         * sysdeps/ia64/fpu/s_logbl.S: New file.
4935         * sysdeps/ia64/fpu/s_matherrf.c: New file.
4936         * sysdeps/ia64/fpu/s_matherrl.c: New file.
4937         * sysdeps/ia64/fpu/s_modf.S: New file.
4938         * sysdeps/ia64/fpu/s_modff.S: New file.
4939         * sysdeps/ia64/fpu/s_modfl.S: New file.
4940         * sysdeps/ia64/fpu/s_nearbyint.S: New file.
4941         * sysdeps/ia64/fpu/s_nearbyintf.S: New file.
4942         * sysdeps/ia64/fpu/s_nearbyintl.S: New file.
4943         * sysdeps/ia64/fpu/s_rint.S: New file.
4944         * sysdeps/ia64/fpu/s_rintf.S: New file.
4945         * sysdeps/ia64/fpu/s_rintl.S: New file.
4946         * sysdeps/ia64/fpu/s_round.S: New file.
4947         * sysdeps/ia64/fpu/s_roundf.S: New file.
4948         * sysdeps/ia64/fpu/s_roundl.S: New file.
4949         * sysdeps/ia64/fpu/s_scalbn.S: New file.
4950         * sysdeps/ia64/fpu/s_scalbnf.S: New file.
4951         * sysdeps/ia64/fpu/s_scalbnl.S: New file.
4952         * sysdeps/ia64/fpu/s_significand.S: New file.
4953         * sysdeps/ia64/fpu/s_significandf.S: New file.
4954         * sysdeps/ia64/fpu/s_significandl.S: New file.
4955         * sysdeps/ia64/fpu/s_sin.c: New file.
4956         * sysdeps/ia64/fpu/s_sincos.c: New file.
4957         * sysdeps/ia64/fpu/s_sincosf.c: New file.
4958         * sysdeps/ia64/fpu/s_sincosl.c: New file.
4959         * sysdeps/ia64/fpu/s_sinf.c: New file.
4960         * sysdeps/ia64/fpu/s_sinl.c: New file.
4961         * sysdeps/ia64/fpu/s_tan.S: New file.
4962         * sysdeps/ia64/fpu/s_tanf.S: New file.
4963         * sysdeps/ia64/fpu/s_tanl.S: New file.
4964         * sysdeps/ia64/fpu/s_trunc.S: New file.
4965         * sysdeps/ia64/fpu/s_truncf.S: New file.
4966         * sysdeps/ia64/fpu/s_truncl.S: New file.
4967         * sysdeps/ia64/fpu/w_acos.c: New file.
4968         * sysdeps/ia64/fpu/w_acosf.c: New file.
4969         * sysdeps/ia64/fpu/w_acosl.c: New file.
4970         * sysdeps/ia64/fpu/w_asin.c: New file.
4971         * sysdeps/ia64/fpu/w_asinf.c: New file.
4972         * sysdeps/ia64/fpu/w_asinl.c: New file.
4973         * sysdeps/ia64/fpu/w_atan2.c: New file.
4974         * sysdeps/ia64/fpu/w_atan2f.c: New file.
4975         * sysdeps/ia64/fpu/w_atan2l.c: New file.
4976         * sysdeps/ia64/fpu/w_cosh.c: New file.
4977         * sysdeps/ia64/fpu/w_coshf.c: New file.
4978         * sysdeps/ia64/fpu/w_coshl.c: New file.
4979         * sysdeps/ia64/fpu/w_exp.c: New file.
4980         * sysdeps/ia64/fpu/w_expf.c: New file.
4981         * sysdeps/ia64/fpu/w_fmod.c: New file.
4982         * sysdeps/ia64/fpu/w_fmodf.c: New file.
4983         * sysdeps/ia64/fpu/w_fmodl.c: New file.
4984         * sysdeps/ia64/fpu/w_hypot.c: New file.
4985         * sysdeps/ia64/fpu/w_hypotf.c: New file.
4986         * sysdeps/ia64/fpu/w_hypotl.c: New file.
4987         * sysdeps/ia64/fpu/w_log.c: New file.
4988         * sysdeps/ia64/fpu/w_log10.c: New file.
4989         * sysdeps/ia64/fpu/w_log10f.c: New file.
4990         * sysdeps/ia64/fpu/w_log10l.c: New file.
4991         * sysdeps/ia64/fpu/w_logf.c: New file.
4992         * sysdeps/ia64/fpu/w_logl.c: New file.
4993         * sysdeps/ia64/fpu/w_pow.c: New file.
4994         * sysdeps/ia64/fpu/w_powf.c: New file.
4995         * sysdeps/ia64/fpu/w_powl.c: New file.
4996         * sysdeps/ia64/fpu/w_remainder.c: New file.
4997         * sysdeps/ia64/fpu/w_remainderf.c: New file.
4998         * sysdeps/ia64/fpu/w_remainderl.c: New file.
4999         * sysdeps/ia64/fpu/w_scalb.c: New file.
5000         * sysdeps/ia64/fpu/w_scalbf.c: New file.
5001         * sysdeps/ia64/fpu/w_scalbl.c: New file.
5002         * sysdeps/ia64/fpu/w_sqrt.c: New file.
5003         * sysdeps/ia64/fpu/w_sqrtf.c: New file.
5004         * sysdeps/ia64/fpu/w_sqrtl.c: New file.
5005         * sysdeps/ia64/fpu/libm-test-ulps: Adjust for long double
5006         implementation.
5007         * sysdeps/ia64/fpu/bits/mathdef.h: Correct float_t and double_t types.
5008         Change FP_ILOGBNAN for new implementation.
5009         * Verions.def: Add 2.2.3 versions.
5011 2001-02-18  Ulrich Drepper  <drepper@redhat.com>
5013         * math/libm-test.inc (scalb_test): Require invalid exception being
5014         raised for invalid parameters.
5015         * sysdeps/i386/fpu/e_scalb.S: Raise invalid exception if necessary.
5016         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
5017         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
5019 2001-02-18  Mark Kettenis  <kettenis@gnu.org>
5021         * sysdeps/mach/getsysstats.c (__get_phys_pages): Change return
5022         value to long int.
5023         (__get_avphys_pages): Likewise.
5025 2001-02-18  Ulrich Drepper  <drepper@redhat.com>
5027         * math/libm-test.inc (pow_test): Correct expected results for x == +-1.
5028         * sysdeps/i386/fpu/e_pow.S: Handle x == +-1 correctly.
5029         * sysdeps/i386/fpu/e_powf.S: Likewise.
5030         * sysdeps/i386/fpu/e_powl.S: Likewise.
5032         * sysdeps/i386/fpu/bits/mathinline.h: Remove pow inline code.
5034 2001-02-17  Ulrich Drepper  <drepper@redhat.com>
5036         * math/Makefile (libm-calls): It's e_exp2 not s_exp2.
5038         * sysdeps/generic/s_exp2l.c: Renamed to...
5039         * sysdeps/generic/e_exp2l.c: ...this.   New file.
5040         * sysdeps/i386/fpu/s_exp2.S: Renamed to...
5041         * sysdeps/i386/fpu/e_exp2.S: ...this.   New file.
5042         * sysdeps/i386/fpu/s_exp2f.S: Renamed to...
5043         * sysdeps/i386/fpu/e_exp2f.S: ...this.   New file.
5044         * sysdeps/i386/fpu/s_exp2l.S: Renamed to...
5045         * sysdeps/i386/fpu/e_exp2l.S: ...this.   New file.
5046         * sysdeps/ieee754/flt-32/s_exp2f.c: Renamed to...
5047         * sysdeps/ieee754/flt-32/e_exp2f.c: ...this.   New file.
5048         * sysdeps/ieee754/dbl-64/s_exp2.c: Renamed to...
5049         * sysdeps/ieee754/dbl-64/e_exp2.c: ...this.   New file.
5050         * sysdeps/m68k/fpu/s_exp2.c: Renamed to...
5051         * sysdeps/m68k/fpu/e_exp2.c: ...this.   New file.
5052         * sysdeps/m68k/fpu/s_exp2f.c: Renamed to...
5053         * sysdeps/m68k/fpu/e_exp2f.c: ...this.   New file.
5054         * sysdeps/m68k/fpu/s_exp2l.c: Renamed to...
5055         * sysdeps/m68k/fpu/e_exp2l.c: ...this.   New file.
5057 2001-02-17  Andreas Jaeger  <aj@suse.de>
5059         * configure.in: Allow gcc 3.
5061 2001-02-16  Ulrich Drepper  <drepper@redhat.com>
5063         * math/w_acos.c: Move to ...
5064         * sysdeps/generic/w_acos.c: ...here.  New file.
5065         * math/w_acosf.c: Move to ...
5066         * sysdeps/generic/w_acosf.c: ...here.  New file.
5067         * math/w_acosh.c: Move to ...
5068         * sysdeps/generic/w_acosh.c: ...here.  New file.
5069         * math/w_acoshf.c: Move to ...
5070         * sysdeps/generic/w_acoshf.c: ...here.  New file.
5071         * math/w_acoshl.c: Move to ...
5072         * sysdeps/generic/w_acoshl.c: ...here.  New file.
5073         * math/w_acosl.c: Move to ...
5074         * sysdeps/generic/w_acosl.c: ...here.  New file.
5075         * math/w_asin.c: Move to ...
5076         * sysdeps/generic/w_asin.c: ...here.  New file.
5077         * math/w_asinf.c: Move to ...
5078         * sysdeps/generic/w_asinf.c: ...here.  New file.
5079         * math/w_asinl.c: Move to ...
5080         * sysdeps/generic/w_asinl.c: ...here.  New file.
5081         * math/w_atan2.c: Move to ...
5082         * sysdeps/generic/w_atan2.c: ...here.  New file.
5083         * math/w_atan2f.c: Move to ...
5084         * sysdeps/generic/w_atan2f.c: ...here.  New file.
5085         * math/w_atan2l.c: Move to ...
5086         * sysdeps/generic/w_atan2l.c: ...here.  New file.
5087         * math/w_atanh.c: Move to ...
5088         * sysdeps/generic/w_atanh.c: ...here.  New file.
5089         * math/w_atanhf.c: Move to ...
5090         * sysdeps/generic/w_atanhf.c: ...here.  New file.
5091         * math/w_atanhl.c: Move to ...
5092         * sysdeps/generic/w_atanhl.c: ...here.  New file.
5093         * math/w_cosh.c: Move to ...
5094         * sysdeps/generic/w_cosh.c: ...here.  New file.
5095         * math/w_coshf.c: Move to ...
5096         * sysdeps/generic/w_coshf.c: ...here.  New file.
5097         * math/w_coshl.c: Move to ...
5098         * sysdeps/generic/w_coshl.c: ...here.  New file.
5099         * math/w_drem.c: Move to ...
5100         * sysdeps/generic/w_drem.c: ...here.  New file.
5101         * math/w_dremf.c: Move to ...
5102         * sysdeps/generic/w_dremf.c: ...here.  New file.
5103         * math/w_dreml.c: Move to ...
5104         * sysdeps/generic/w_dreml.c: ...here.  New file.
5105         * math/w_exp10.c: Move to ...
5106         * sysdeps/generic/w_exp10.c: ...here.  New file.
5107         * math/w_exp10f.c: Move to ...
5108         * sysdeps/generic/w_exp10f.c: ...here.  New file.
5109         * math/w_exp10l.c: Move to ...
5110         * sysdeps/generic/w_exp10l.c: ...here.  New file.
5111         * math/w_exp2.c: Move to ...
5112         * sysdeps/generic/w_exp2.c: ...here.  New file.
5113         * math/w_exp2f.c: Move to ...
5114         * sysdeps/generic/w_exp2f.c: ...here.  New file.
5115         * math/w_exp2l.c: Move to ...
5116         * sysdeps/generic/w_exp2l.c: ...here.  New file.
5117         * math/w_fmod.c: Move to ...
5118         * sysdeps/generic/w_fmod.c: ...here.  New file.
5119         * math/w_fmodf.c: Move to ...
5120         * sysdeps/generic/w_fmodf.c: ...here.  New file.
5121         * math/w_fmodl.c: Move to ...
5122         * sysdeps/generic/w_fmodl.c: ...here.  New file.
5123         * math/w_hypot.c: Move to ...
5124         * sysdeps/generic/w_hypot.c: ...here.  New file.
5125         * math/w_hypotf.c: Move to ...
5126         * sysdeps/generic/w_hypotf.c: ...here.  New file.
5127         * math/w_hypotl.c: Move to ...
5128         * sysdeps/generic/w_hypotl.c: ...here.  New file.
5129         * math/w_j0.c: Move to ...
5130         * sysdeps/generic/w_j0.c: ...here.  New file.
5131         * math/w_j0f.c: Move to ...
5132         * sysdeps/generic/w_j0f.c: ...here.  New file.
5133         * math/w_j0l.c: Move to ...
5134         * sysdeps/generic/w_j0l.c: ...here.  New file.
5135         * math/w_j1.c: Move to ...
5136         * sysdeps/generic/w_j1.c: ...here.  New file.
5137         * math/w_j1f.c: Move to ...
5138         * sysdeps/generic/w_j1f.c: ...here.  New file.
5139         * math/w_j1l.c: Move to ...
5140         * sysdeps/generic/w_j1l.c: ...here.  New file.
5141         * math/w_jn.c: Move to ...
5142         * sysdeps/generic/w_jn.c: ...here.  New file.
5143         * math/w_jnf.c: Move to ...
5144         * sysdeps/generic/w_jnf.c: ...here.  New file.
5145         * math/w_jnl.c: Move to ...
5146         * sysdeps/generic/w_jnl.c: ...here.  New file.
5147         * math/w_lgamma.c: Move to ...
5148         * sysdeps/generic/w_lgamma.c: ...here.  New file.
5149         * math/w_lgammaf.c: Move to ...
5150         * sysdeps/generic/w_lgammaf.c: ...here.  New file.
5151         * math/w_lgammaf_r.c: Move to ...
5152         * sysdeps/generic/w_lgammaf_r.c: ...here.  New file.
5153         * math/w_lgammal.c: Move to ...
5154         * sysdeps/generic/w_lgammal.c: ...here.  New file.
5155         * math/w_lgammal_r.c: Move to ...
5156         * sysdeps/generic/w_lgammal_r.c: ...here.  New file.
5157         * math/w_lgamma_r.c: Move to ...
5158         * sysdeps/generic/w_lgamma_r.c: ...here.  New file.
5159         * math/w_log10.c: Move to ...
5160         * sysdeps/generic/w_log10.c: ...here.  New file.
5161         * math/w_log10f.c: Move to ...
5162         * sysdeps/generic/w_log10f.c: ...here.  New file.
5163         * math/w_log10l.c: Move to ...
5164         * sysdeps/generic/w_log10l.c: ...here.  New file.
5165         * math/w_log.c: Move to ...
5166         * sysdeps/generic/w_log.c: ...here.  New file.
5167         * math/w_logf.c: Move to ...
5168         * sysdeps/generic/w_logf.c: ...here.  New file.
5169         * math/w_logl.c: Move to ...
5170         * sysdeps/generic/w_logl.c: ...here.  New file.
5171         * math/w_pow.c: Move to ...
5172         * sysdeps/generic/w_pow.c: ...here.  New file.
5173         * math/w_powf.c: Move to ...
5174         * sysdeps/generic/w_powf.c: ...here.  New file.
5175         * math/w_powl.c: Move to ...
5176         * sysdeps/generic/w_powl.c: ...here.  New file.
5177         * math/w_remainder.c: Move to ...
5178         * sysdeps/generic/w_remainder.c: ...here.  New file.
5179         * math/w_remainderf.c: Move to ...
5180         * sysdeps/generic/w_remainderf.c: ...here.  New file.
5181         * math/w_remainderl.c: Move to ...
5182         * sysdeps/generic/w_remainderl.c: ...here.  New file.
5183         * math/w_scalb.c: Move to ...
5184         * sysdeps/generic/w_scalb.c: ...here.  New file.
5185         * math/w_scalbf.c: Move to ...
5186         * sysdeps/generic/w_scalbf.c: ...here.  New file.
5187         * math/w_scalbl.c: Move to ...
5188         * sysdeps/generic/w_scalbl.c: ...here.  New file.
5189         * math/w_sinh.c: Move to ...
5190         * sysdeps/generic/w_sinh.c: ...here.  New file.
5191         * math/w_sinhf.c: Move to ...
5192         * sysdeps/generic/w_sinhf.c: ...here.  New file.
5193         * math/w_sinhl.c: Move to ...
5194         * sysdeps/generic/w_sinhl.c: ...here.  New file.
5195         * math/w_sqrtl.c: Move to ...
5196         * sysdeps/generic/w_sqrtl.c: ...here.  New file.
5197         * math/w_tgamma.c: Move to ...
5198         * sysdeps/generic/w_tgamma.c: ...here.  New file.
5199         * math/w_tgammaf.c: Move to ...
5200         * sysdeps/generic/w_tgammaf.c: ...here.  New file.
5201         * math/w_tgammal.c: Move to ...
5202         * sysdeps/generic/w_tgammal.c: ...here.  New file.
5204         * locale/programs/ld-address.c (address_finish): Add 'S' to allow
5205         formats for postal_fmt.
5207 2001-02-16  Jakub Jelinek  <jakub@redhat.com>
5209         * sysdeps/unix/sysv/linux/alpha/syscalls.list (ftruncate): Add
5210         __ftruncate64 alias.
5211         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (ftruncate):
5212         Likewise.
5214 2001-02-15  David Mosberger  <davidm@hpl.hp.com>
5216         * sysdeps/unix/sysv/linux/ia64/__longjmp.S (__longjmp): No need to
5217         do "loadrs".  Writing to bspstore already takes care of
5218         invalidating the "clean" partition.
5220 2001-02-16  Andreas Schwab  <schwab@suse.de>
5222         * sysdeps/m68k/fpu/s_nextafterl.c: New file.
5223         * sysdeps/m68k/fpu/s_fpclassifyl.c: New file.
5225 2001-02-15  Jakub Jelinek  <jakub@redhat.com>
5227         * posix/regex.c (init_syntax_once): Add prototype.
5228         (TRANSLATE): If MBS_SUPPORT, translate all characters up to '\xff'.
5229         (re_search_2): Avoid warning.
5230         (count_mbs_length): Add prototype.
5231         * posix/tst-regex3.c: New file.
5232         * posix/Makefile (tests): Add bug-regex3.
5234 2001-02-15  Ulrich Drepper  <drepper@redhat.com>
5236         * stdio-common/Makefile (tests): Add tst-gets.
5237         * stdio-common/tst-gets.c: New file.
5238         * stdio-common/tst-gets.input: New file.
5240         * elf/elf.h (DT_CHECKSUM): Define.
5242         * sysdeps/generic/strtoll.c: Don't export __strto*_internal as
5243         default symbol.
5244         * sysdeps/generic/strtoull.c: Likewise.
5246 2001-02-14  Wolfram Gloger  <wg@malloc.de>
5248         * malloc/malloc.c (new_heap): When allocating large chunk aligned
5249         to HEAP_MAX_SIZE, prefer one with lower address, to avoid `holes'
5250         between the heaps.
5252 2001-02-14  Ulrich Drepper  <drepper@redhat.com>
5254         * math/libm-test.inc (j0_test): Check whether sincos is available.
5255         (j1_test): Likewise.
5256         (jn_test): Likewise.
5257         (y0_test): Likewise.
5258         (y1_test): Likewise.
5259         (yn_test): Likewise.
5261         * posix/tst-gnuglob.c: Make a few entries DT_UNKNOWN and teach
5262         fake filesystem routines to handle this.
5264         * time/sys/time.h: Make settimeofday and adjtime available if
5265         _BSD_SOURCE.
5267         * time/sys/time.h: Make timer* macros available for BSD.
5269         * iconvdata/gb18030.c: Update for Dec 2000 re-release of GB18030.
5270         Patch by Yong Li <rigel863@yahoo.com>.
5272         * sysdeps/generic/glob.c (CONVERT_DIRENT_DIRENT64): Fix copying of
5273         name.
5275         * posix/Makefile (tests): Add tst-gnuglob.
5276         * posix/tst-gnuglob.c: New file.
5278 2001-02-13  H.J. Lu  <hjl@gnu.org>
5280         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add __ftruncate64.
5282 2001-02-13  Ulrich Drepper  <drepper@redhat.com>
5284         * locale/programs/ld-paper.c (paper_output): Pretty printing.
5286         * iconvdata/Makefile (modules): Add GBBIG5.
5287         (distribute): Add gbbig5.c.
5288         * iconvdata/gconv-modules: Add entries for GBBIG5 module.
5290         * iconvdata/gbbig5.c: New file.
5291         Contributed by Yong Li <rigel863@yahoo.com>.
5293 2001-02-13  Philip Blundell  <pb@futuretv.com>
5295         * manual/crypt.texi: Remove outdated references to crypt add-on.
5297         * manual/creature.texi: Improve wording slightly.
5299 2001-02-13  Ulrich Drepper  <drepper@redhat.com>
5301         * io/ftw.c: Always use readdir64.
5302         * io/ftw64.c: Likewise.
5303         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
5304         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
5305         * sysdeps/generic/glob.c: Likewise.  Convert results of gl_readdir
5306         callback to dirent.  Still allow compiling outside glibc.
5307         * sysdeps/gnu/glob64.c: Define COMPILE_GLOB64.
5308         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
5310         * malloc/mtrace.c: Use fopen64.
5311         * posix/spawni.c: Use __open64.
5312         * sysdeps/unix/opendir.c: Likewise.
5313         * sysdeps/unix/sysv/linux/gethostid.c: Likewise.
5315         * sysdeps/generic/ftruncate64.c: Define __ftruncate64 and make old
5316         name a weak alias.
5317         * sysdeps/unix/sysv/aix/ftruncate64.c: Likewise.
5318         * sysdeps/unix/sysv/linux/ftruncate64.c: Likewise.
5319         * sysdeps/unix/sysv/linux/mips/ftruncate64.c: Likewise.
5320         * sysdeps/unix/sysv/linux/powerpc/ftruncate64.c: Likewise.
5322         * resolv/res_data.c: Add cast to avoid warning.
5324         * include/unistd.h: Declare __ftruncate64.
5326         * sysdeps/generic/utmp_file.c: Use LFS functions and types.
5328         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use __lseek64
5329         instead of __lseek.
5331 2001-02-13  Andreas Jaeger  <aj@suse.de>
5333         * login/getutent_r.c: Include <stdlib.h> for NULL.
5334         * login/getutid_r.c: Likewise.
5336 2001-02-12  Ulrich Drepper  <drepper@redhat.com>
5338         * sysdeps/dbl-64/e_j0.c: Little optimization, use sincos.
5339         * sysdeps/dbl-64/e_j1.c: Likewise.
5340         * sysdeps/dbl-64/e_jn.c: Likewise.
5341         * sysdeps/flt-32/e_j0f.c: Likewise.
5342         * sysdeps/flt-32/e_j1f.c: Likewise.
5343         * sysdeps/ldbl-96/e_j0l.c: Likewise.
5345 2000-12-02  H.J. Lu  <hjl@gnu.org>
5347         * resolv/res_libc.c (res_init): Don't make it default.
5349 2001-02-12  Ulrich Drepper  <drepper@redhat.com>
5351         * manual/debug.texi: Improved the wording.
5352         Patch by Philip Blundell <pb@futuretv.com>.
5354 2001-02-12  Andreas Jaeger  <aj@suse.de>
5356         * posix/Makefile (tests): Don't run bug-regex2 when
5357         cross-compiling.
5359         * libio/Makefile (tests): Don't run test-freopen when
5360         cross-compiling.
5362         * manual/stdio.texi (Streams and I18N): Fix typos.
5364 2001-02-12  Ulrich Drepper  <drepper@redhat.com>
5366         * sysdeps/i386/fpu/libm-test-ulps: Adjust for errors in y0l.
5368         * math/libm-test.inc (j0_test): Make expected results long double
5369         constants.
5370         (y0_test): Likewise.
5372         * sysdeps/ieee754/ldbl-96/e_j0l.c: New file.
5373         Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>.
5375 2001-02-11  Jakub Jelinek  <jakub@redhat.com>
5377         * sysdeps/generic/strtoll.c (__strtoq_internal): Ressurect alias
5378         which was exported from libc.
5379         * sysdeps/generic/strtoull.c (__strtouq_internal): Likewise.
5381 2001-02-12  Andreas Jaeger  <aj@suse.de>
5383         * manual/arith.texi (Parsing of Integers): Fix some wordings.
5385 2001-02-11  Ulrich Drepper  <drepper@redhat.com>
5387         * sysdeps/generic/getsysstat.c: Change return value of get_phys_pages
5388         and get_avphys_page to long int.
5389         * sysdeps/unix/sysv/linux/getsysstat.c: Likewise.
5390         * include/sys/sysinfo.h: Likewise.
5391         * sysdeps/generic/sys/sysinfo.h: Likewise.
5392         * sysdeps/unix/sysv/linux/sys/sysinfo.h: Likewise.
5394         * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Fail if we
5395         cannot return as many values as the user asked for.
5397 2001-02-11  Andreas Jaeger  <aj@suse.de>
5399         * manual/resource.texi (Memory Resources): Fix typo.
5401         * libio/Makefile ($(objpfx)test-freopen.out): Pass
5402         run-program-prefix.
5404         * libio/test-freopen.sh: Use run_program_prefix.
5406 2001-02-10  Andreas Jaeger  <aj@suse.de>
5408         * stdlib/Makefile (tests): Don't run tst-fmtmsg when
5409         cross-compiling.
5410         ($(objpfx)tst-fmtmsg.out): Pass run-program-prefix.
5412         * stdlib/tst-fmtmsg.sh (test): Use run_program_prefix for static
5413         only builds.
5415         * elf/Makefile (tests): Only run tst-pathopt with shared libs.
5417         * posix/Makefile: Fix typo, it's build-static-nss.
5419         * iconv/Makefile (extra-objs): New.
5421 2001-02-10  Mark Kettenis  <kettenis@gnu.org>
5423         * sysdeps/unix/stime.c: Include <time.h>.
5425         * sysdeps/mach/hurd/setitimer.c: Include <time.h>.
5427 2001-02-10  Andreas Jaeger  <aj@suse.de>
5429         * manual/string.texi (Search Functions): Fix typo.
5431 2001-02-10  Mark Kettenis  <kettenis@gnu.org>
5433         * sysdeps/unix/bsd/times.c: Reorder includes and add <time.h>.
5434         (timeval_to_clock_t): Add clk_tck argument and use that instead of
5435         CLK_TCK.
5436         (__times): Use __getclktck to get the number of clock ticks per
5437         second and use its return value instead of CLK_TCK.
5439 2001-02-10  Mark Kettenis  <kettenis@gnu.org>
5441         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h (_HAVE_SA_LEN): Define.
5443 2001-02-10  Mark Kettenis  <kettenis@gnu.org>
5445         * sysdeps/mach/gettimeofday.c: Include <stddef.h>.
5447 2001-02-10  Andreas Jaeger  <aj@suse.de>
5449         * wctype/wcfuncs.c (func): Add prototype declarations to avoid
5450         warning.
5452 2001-02-09  Ulrich Drepper  <drepper@redhat.com>
5454         * posix/Makefile: Add rules to build and run bug-regex2.
5455         * posix/bug-regex2.c: New file.
5457 2001-02-10  Jakub Jelinek  <jakub@redhat.com>
5459         * posix/regex.c (convert_mbs_to_wcs): Change is_binary to char *.
5460         (regex_compile): Likewise.
5461         (FREE_VARIABLES): Don't free is_binary1 and is_binary2.
5462         (re_match_2_internal): Use just is_binary instead of two variables.
5463         Use REGEX_TALLOC to allocate it and FREE_VAR to free on failure.
5465 2001-02-09  Ulrich Drepper  <drepper@redhat.com>
5467         * version.h (VERSION): Bump to 2.2.2.
5469         * iconv/Makefile (distribute): Add iconv_charmap.c and
5470         dummy-repertoire.c.
5471         * elf/Makefile (distribute): Add firstobj.c.
5472         * Makefile (distribute): Add include/pthread.h.
5474         * configure.in: Require makeinfo version 4.
5476         * libio/tst_wscanf.c (main): Add cast to avoid warning.
5477         * libio/tst_swscanf.c (main): Likewise..
5479 2001-02-09  Jakub Jelinek  <jakub@redhat.com>
5481         * sysdeps/generic/setenv.c (unsetenv): Remove const from len.
5482         * sysdeps/sparc/fpu/bits/mathinline.h (sqrt, fdim): Don't define if
5483         __NO_MATH_INLINES.
5484         * sysdeps/i386/dl-machine.h (elf_machine_rel): Only declare refsym
5485         if not RTLD_BOOTSTRAP.
5486         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
5487         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
5489 2001-02-09  Ulrich Drepper  <drepper@redhat.com>
5491         * locale/programs/linereader.c (get_ident): Stop loop if EOF.  Use
5492         lr_ungetc to push back last read character.
5493         * locale/programs/linereader.h (lr_ungetc): Don't push back is
5494         character is EOF.
5495         (lr_ignore_rest): Don't warn about garbage if it is really the end
5496         of the file.
5498         * manual/Makefile: Use ifnottext and not ifinfo to protect Top node
5499         definition.
5501 2001-02-08  Ulrich Drepper  <drepper@redhat.com>
5503         * Makerules (build-shlib): Work around different order of
5504         processing of -B option in different gcc versions.
5506         * posix/regex.c: Fix alignment problem.
5507         Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
5509         * sysdeps/alpha/strrchr.S: Little optimization.
5510         Patch by Richard Henderson <rth@redhat.com>.
5512         * sysdeps/alpha/alphaev67/strrchr.S: New file.
5513         Contributed by Rick Gorton <rick.gorton@alpha-processor.com>.
5515 2001-02-08  kaz Kojima  <kkojima@rr.iij4u.or.jp>
5517         * sysdeps/sh/sh3/setjmp.S (__sigsetjmp): Correct function name
5518         in the assembler end directive.
5520 2001-02-08  Andreas Jaeger  <aj@suse.de>
5522         * manual/stdio.texi (Closing Streams): Fix typos.
5524 2001-02-07  Ulrich Drepper  <drepper@redhat.com>
5526         * sysdeps/alpha/alphaev67/strncat.S: Align last write address.
5527         Patch by Richard Henderson <rth@redhat.com>.
5528         Reported by Claus-Justus Heine <heine@instmath.rwth-aachen.de>.
5530         * stdlib/strfmon.c [USE_IN_LIBIO]: Define lock variable and store
5531         pointer in FILE structure before calling _IO_init.
5532         * stdlib/Makefile: Add -D_IO_MTSAFE_IO to CFLAGS for strfmon and
5533         strfmon_l if necessary.
5534         Reported by Jury Gerold <gjury@grips.com>.
5536         * sysdeps/gnu/netinet/tcp.h: Correct values of TCP_ macros.
5537         Patch by Pekka.Pietikainen@cern.ch.
5539         * posix/regex.c: Correct several problems with 64-bit architectures
5540         introduced in the MBS changes.
5541         Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
5543 2001-02-07  Jakub Jelinek  <jakub@redhat.com>
5545         * math/tgmath.h: Only add l suffixes if __NO_LONG_DOUBLE_MATH is
5546         not defined.
5547         * sysdeps/alpha/fpu/bits/mathinline.h: Honour __NO_MATH_INLINES.
5549 2001-02-07  Andreas Jaeger  <aj@suse.de>
5551         * manual/install.texi (Tools for Compilation): Fix typo.
5552         Reported by Pavel Machek <pavel@bug.ucw.cz>.
5554 2001-02-07  Ulrich Drepper  <drepper@redhat.com>
5556         * stdlib/strtod.c: Never stop prematurely reading digits before the
5557         decimal point is found.  Compute exponent limit for negative exponents
5558         correctly.  For numbers ending in all zeros eat the zeros even before
5559         the decimal point if the exponent is negative [PR libc/2072].
5560         * stdlib/Makefile (tests): Add bug-strtod.
5561         * stdlib/bug-strtod.c: New file.
5563 2001-02-07  Andreas Jaeger  <aj@suse.de>
5565         * posix/bug-regex1.c: Include <wchar.h> for fwide.
5567 2001-02-06  Ulrich Drepper  <drepper@redhat.com>
5569         * posix/regex.c (regex_compile): Don't store pointer in wchar_t array.
5570         Store index.
5571         (compile_range): Handle index being passed, not pointer.
5572         Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
5574         * posix/regex.c: Fix a cast in the code for bracket handling which
5575         caused 8-bit uncleanliness.
5576         Patch by Michal Jaegermann <michal@ellpspace.math.ualberta.ca>.
5578         * posix/Makefile (tests): Add bug-regex1.
5579         * posix/bug-regex1.c: New file.
5580         Contributed by Jim Meyering <jim@meyering.net>.
5582         * posix/regex.c: Many cleanups for incorrect format strings.
5584 2001-02-06  Andreas Jaeger  <aj@suse.de>
5586         * time/time.h (CLK_TCK): Check for !__STRICT_ANSI.
5588 2001-02-06  Ulrich Drepper  <drepper@redhat.com>
5590         * locale/programs/locale.c (write_locales): Use scandir to read
5591         directory so that the entries are sorted.
5593 2001-02-06  Andreas Jaeger  <aj@suse.de>
5595         * include/pthread.h: New file.
5597         * wctype/wctype.h: Move internal interfaces from here to...
5598         * include/wctype.h: ...here.
5600         * wcsmbs/wchar.h: Move __wcslen from here to...
5601         * include/wchar.h: ...here.
5603         * posix/sys/wait.h: Move __wait from here to...
5604         * include/sys/wait.h: ...here.
5606         * string/string.h: Move __ffs and __strerror_r from here to...
5607         * include/string.h: ...here.
5609         * stdlib/stdlib.h: Move __on_exit from here to...
5610         * include/stdlib.h: ...here.
5612         * libio/stdio.h: Move __vsnprintf from here to...
5613         * include/stdio.h: ...here.
5615 2001-02-06  Andreas Schwab  <schwab@suse.de>
5617         * sysdeps/unix/sysv/linux/ia64/ioperm.c: Don't include kernel
5618         headers.
5620         * timezone/Makefile: Don't assume that $(inst_zonedir) is a subdir
5621         of $(inst_datadir).
5623 2001-02-06  Ulrich Drepper  <drepper@redhat.com>
5625         * iconvdata/Makefile: Add dependency for bug-iconv2.out.
5627 2001-02-06  Andreas Jaeger  <aj@suse.de>
5629         * elf/firstobj.c: Add prototype.
5631         * posix/regex.c (convert_mbs_to_wcs): Make static, add prototype
5632         (truncate_wchar): Likewise.
5634 2001-02-06  Ulrich Drepper  <drepper@redhat.com>
5636         * locale/programs/locale.c: Implement --verbose option for -a
5637         which prints detailed information about the locales.
5639 2001-02-05  Ulrich Drepper  <drepper@redhat.com>
5641         * sunrpc/xdr_rec.c (set_input_fragment): Change type of header
5642         variable to uint32_t.
5643         Reported by Ulrich Weigand <weigand@immd1.informatik.uni-erlangen.de>.
5645 2001-02-04  Bruno Haible  <haible@clisp.cons.org>
5647         * locale/C-translit.h.in: Add transliterations for CJK units of
5648         measurement.
5650 2001-02-05  Ulrich Drepper  <drepper@redhat.com>
5652         * elf/cache.c (print_entry): Use PRIx64 instead of Lx in printf
5653         string.  Include <inttypes.h> instead of <stdint.h>.
5655         * localedata/Makefile (tests): Add bug-iconv-trans.
5656         Define bug-iconv-trans-ENV.
5657         * localedata/bug-iconv-trans.c: New file.
5659 2001-02-04  Bruno Haible  <haible@clisp.cons.org>
5661         * iconv/gconv_trans.c (__gconv_transliterate): Use a temporary output
5662         pointer, to avoid accumulating output from incomplete (unsuccessful)
5663         transliteration attempts.
5665 2001-02-05  Ulrich Drepper  <drepper@redhat.com>
5667         * elf/ldconfig.c (search_dir): Use PRIx64 instead of Lx in printf
5668         string.  Include <inttypes.h> instead of <stdint.h>.
5670         * configure.in: Add check for bison.
5671         * config.make.in: Define BISON variable.
5672         * intl/Makefile: Use BISON instead of YACC when generating plural.c.
5673         Rename YFLAGS to BISONFLAGS.
5675 2001-02-05  Andreas Jaeger  <aj@suse.de>
5677         * io/test-lfs.c (do_test): Test lseek64 return value, call
5678         test_ftello.
5679         (test_ftello): New function to test ftello64 and fseeko64.
5681         * signal/signal.h: Move __sigaction from here to...
5682         * include/signal.h: ...here.
5684         * io/fcntl.h: Move __fcntl and __open to...
5685         * include/fcntl.h: ...here.
5687 2001-02-04  Philip Blundell  <philb@gnu.org>
5689         * configure.in: Distinguish ARM from Thumb.
5691 2001-02-04  Philip Blundell  <philb@gnu.org>
5693         * sysdeps/arm/dl-machine.h (elf_machine_rel): Correct handling of
5694         PC24 relocs with negative value.
5696 2001-02-04  Ulrich Drepper  <drepper@redhat.com>
5698         * iconv/Makefile (iconv_prog-modules): Define.  Add vpath to find
5699         files in locale/programs.  Add CFLAGS definition to allow compiling
5700         localedef files.
5701         * iconv/dummy-repertoire.c: New file.
5702         * iconv/iconv_charmap.c: New file.
5703         * iconv/iconv_prog.h: New file.
5704         * iconv/iconv_prog.c: Make verbose and omit_invalid global.
5705         (main): If parameter for -f and -t contain slashes try first to resolve
5706         the strings as filenames of charmap files.  Use them for conversion
5707         in this case.
5708         * iconvdata/run-iconv-test.sh: If charmaps exist also run tests with
5709         iconv getting charmap names as parameters.
5710         * locale/programs/linereader.c (lr_token): Take extra parameters
5711         verbose and pass it to get_string.
5712         (get_string): Take extra parameters verbose.
5713         * locale/programs/charmap.c (parse_charmap): Take extra parameters
5714         verbose and be_quiet.  Change all callers of lr_token and
5715         parse_charmap.
5716         * locale/programs/charmap.h: Likewise.
5717         * locale/programs/ld-address.c: Likewise.
5718         * locale/programs/ld-collate.c: Likewise.
5719         * locale/programs/ld-ctype.c: Likewise.
5720         * locale/programs/ld-identification.c: Likewise.
5721         * locale/programs/ld-measurement.c: Likewise.
5722         * locale/programs/ld-messages.c: Likewise.
5723         * locale/programs/ld-monetary.c: Likewise.
5724         * locale/programs/ld-name.c: Likewise.
5725         * locale/programs/ld-numeric.c: Likewise.
5726         * locale/programs/ld-paper.c: Likewise.
5727         * locale/programs/ld-telephone.c: Likewise.
5728         * locale/programs/ld-time.c: Likewise.
5729         * locale/programs/linereader.c: Likewise.
5730         * locale/programs/linereader.h: Likewise.
5731         * locale/programs/localedef.c: Likewise.
5732         * locale/programs/locfile.c: Likewise.
5733         * locale/programs/locfile.h: Likewise.
5734         * locale/programs/repertoire.c: Likewise.
5736 2001-02-03  Ulrich Drepper  <drepper@redhat.com>
5738         * iconv/iconv_prog.c (main): If output file name is "-" write to
5739         stdout.
5740         (main): If -f or -t argument is missing use charset of the current
5741         locale.
5743 2001-02-03  Andreas Jaeger  <aj@suse.de>
5745         * sysdeps/i386/elf/start.S (_start): Align stack to 16-byte
5746         boundary for SSE/SSE-2 alignment.
5748         * posix/Makefile ($(objpfx)annexc.out): Also pass sysincludes to
5749         annexc.
5751 2001-02-03  Ulrich Drepper  <drepper@redhat.com>
5753         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: File was using crlf.
5754         Remove comma at end of enum.
5756         * elf/dl-init.c: Add a few __builtin_expect.
5758         * hesiod/hesiod.c: Remove unnecessary code.  Remove all uses of strcat.
5760 2001-02-02  Ulrich Drepper  <drepper@redhat.com>
5762         * hesiod/hesiod.c (hesiod_resolve): Also search HS records if
5763         errno is ECONNREFUSED.
5765         * posix/Makefile: Define MBS_SUPPORT for regex.c.
5766         * posix/regex.c: Implement multibyte character handling.
5767         Patch by Isamu Hasegawa <isamu@yamato.ibm.co.jp>.
5769         * string/tst-svc.input: Add two more test cases.
5770         * string/tst-svc.expect: Modify to reflect new test cases.
5772 2001-02-01  Jakub Jelinek  <jakub@redhat.com>
5774         * sysdeps/posix/getaddrinfo.c (gaih_local, gaih_inet): Replace all
5775         tp->name tests with tp->name[0] tests.
5777 2001-01-29  Ben Collins  <bcollins@debian.org>
5779         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r):
5780         Fix check for name == NULL.
5782 2001-02-01  Ulrich Drepper  <drepper@redhat.com>
5784         * elf/Makefile: Add rules to build and run initfirst test.
5785         * elf/initfirst.c: New file.
5786         * elf/firstobj.c: New file.
5788         * Makerules (build-shlib): Add $(extra-B-$(@F:lib%.so=%).so).
5789         * configure.in: Test for -z initfirst linker option.
5790         * config.make.in: Add have-z-initfirst.
5791         * elf/dl-init.c (_dl_init): Split out actual initialization code in
5792         new function call_init.  If _dl_initfirst is non-NULL initialize first.
5793         * elf/dl-load.c (_dl_map_from_fd): If DF_1_INITFIRST flag is set
5794         remember object in _dl_initfirst.
5795         * elf/soinit.c: Remove special support for calling
5796         __pthread_initialize_minimal.
5798         * conform/conformtest.pl: Add missing $prepend in type test.
5800 2001-01-31  Ulrich Drepper  <drepper@redhat.com>
5802         * elf/elf.h (SHT_CHECKSUM): New definition.
5804         * posix/fnmatch_loop.c: Remove incorrect reverse condition in
5805         [. .] matching.  Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
5806         * posix/tst-fnmatch.input: Add tests for [. .] in locales.
5808 2001-01-31  Mark Kettenis  <kettenis@gnu.org>
5810         * misc/sys/select.h: Include <bits/time.h> instead of <sys/time.h>
5811         to get definition of `struct timeval'.
5813 2001-01-31  Ulrich Drepper  <drepper@redhat.com>
5815         * posix/tst-fnmatch.input: Add test cases for de_DE.UTF-8 locale.
5816         * posix/fnmatch_loop.c: Fix handling of [= =] for multibyte charsets.
5818 2001-01-30  Ulrich Drepper  <drepper@redhat.com>
5820         * iconv/gconv_open.c (__gconv_open): Set conv_flags if IGNORE is
5821         seen, not flags.
5823         * nis/nis_findserv.c: Include <time.h>.
5825 2001-01-30  Yong Li  <yong.li@asu.edu>
5827         * iconv/iconv_prog.c (main): Correct error handling method name.
5829 2001-01-29  Ben Collins  <bcollins@debian.org>
5831         * sysdeps/sparc/fpu/fraiseexcpt.c: Include <float.h>.
5832         * sysdeps/hppa/fpu/fraiseexcpt.c: Likewise.
5833         * sysdeps/m68k/fpu/fraiseexcpt.c: Likewise.
5834         * sysdeps/s390/fpu/fraiseexcpt.c: Likewise.
5836 2001-01-30  Ulrich Drepper  <drepper@redhat.com>
5838         * locale/programs/ld-measurement.c (measurement_finish): Fix a typo.
5839         Patch by Marko Myllynen <myllynen@lut.fi>.
5841         * string/bits/string2.h (__strpbrk_c2): Correct parameter types
5842         (int instead of char).
5843         (__strpbrk_c3): Likewise.
5844         Reported by GOTO Masanori <gotom@debian.or.jp>.
5846         * sysdeps/generic/bits/sockaddr.h: Remove SA_LEN macro.
5847         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Likewise.
5848         * include/sys/socket.h: Add SA_LEN here for internal use.
5849         Reported by Arkadiusz Miskiewicz <misiek@pld.ORG.PL>.
5851 2001-01-29  Ulrich Drepper  <drepper@redhat.com>
5853         * malloc/Makefile: Don't build memusagestat if cross-compiling.
5855         * sysdeps/generic/dl-sysdep.c (set_seen): Fix typo.
5857         * math/libm-test.inc (rint_test): Add a few more tests for round
5858         to even rounding.
5860 2001-01-28  Ulrich Drepper  <drepper@redhat.com>
5862         * conform/data/pthread.h-data: Correct return type of pthread_exit.
5864         * conform/conformtest.pl: Add -fno-builtin to CFLAGS.
5866         * conform/data/stdlib.h-data: Add _Exit.
5868         * inet/arpa/inet.h: Don't include <sys/types.h>.  Define socklen_t
5869         if not already happened.
5870         * inet/netinet/in.h: Don't include <sys/types.h>, use <bits/types.h>.
5871         Don't include <limits.h> and <bits/sockaddr.h>.
5873         * conform/data/netinet/in.h-data: Allow all of <inttypes.h>.
5875         * conform/data/spawn.h-data: Allow all of <sched.h>.
5877         * sysdeps/ia64/fpu/fraiseexcpt.c: Include <float.h>.  Removed
5878         unused variable.
5880         * sunrpc/xdr_rec.c (xdrrec_getpos): Add cast to long to avoid warning.
5881         * sunrpc/xdr_sizeof.c (x_inline): Likewise.
5883         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Include <float.h>.
5885         * conform/conformtest.pl: Define $mustprepend{"stdio.h"}.
5886         * libio/stdio.h: Define va_list correctly.
5888         * conform/data/pthread.h-data: Make priority protocol related
5889         functions optional.  Fix typos.
5891         * posix/sched.h: Define sched_priority as __sched_priority.
5892         * sysdeps/generic/bits/sched.h (struct sched_param): Rename element
5893         to __sched_priority.
5894         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
5896 2001-01-27  Ulrich Drepper  <drepper@redhat.com>
5898         * sysdeps/generic/clock_getcpuclockid.c: Include <time.h> instead
5899         of <sys/time.h>.
5901         * sysdeps/unix/stime.c: Include <stddef.h> for NULL.
5902         * sysdeps/unix/time.c: Likewise.
5904         * conform/data/time.h-data: CLK_TCK is not in XPG6.  Fix tzname entry.
5905         * sysdeps/mach/hurd/bits/time.h: Don't define CLK_TCK for XPG6.
5906         * sysdeps/mach/hurd/i386/bits/time.h: Likewise.
5907         * sysdeps/unix/sysv/linux/bits/time.h: Likewise.
5908         * sysdeps/unix/sysv/linux/alpha/bits/time.h: Likewise.
5909         * sysdeps/unix/sysv/linux/i386/bits/time.h: Likewise.
5910         * sysdeps/unix/sysv/linux/ia64/bits/time.h: Likewise.
5911         * time/time.h: Likewise.
5913         * conform/conformtest.pl (@headers): Add complex.h and tgmath.h.
5914         * conform/data/complex.h-data: New file.
5915         * conform/data/tgmath.h-data: New file.
5917         * conform/data/wchar.h-data: Add missing functions.
5919         * sysdeps/gnu/bits/utmpx.h: Define RUN_LVL only if __USE_GNU.
5921         * conform/data/termios.h-data: Add missing const in tcsetattr()
5922         prototype.
5924         * posix/sys/wait.h: Include <signal.h> and <sys/resource.h>.
5925         Don't define pid_t here.
5927         * conform/data/sys/utsname.h-data: Don't provide fixed array sizes.
5929         * conform/data/sys/time.h-data: Allow sys/select.h.
5930         * conform/data/sys/un.h-data: Fix typo.
5931         * time/sys/time.h: Don't include all of <time.h>, just struct timeval.
5932         * sysdeps/posix/clock_getres.c: Include <time.h> instead of
5933         <sys/time.h>.
5934         * sysdeps/unix/clock_nanosleep.c: Likewise.
5935         * sysdeps/unix/i386/clock_getcpuclockid.c: Likewise.
5936         * sysdeps/unix/i386/i586/clock_getres.c: Likewise.
5937         * sysdeps/unix/clock_gettime.c: Also include <time.h>.
5938         * sysdeps/unix/clock_settime.c: Likewise.
5940         * sysdeps/generic/pselect.c: Include <stddef.h> for NULL.
5941         * login/getutent.c: Likewise.
5942         * login/getutid.c: Likewise.
5943         * login/getutline.c: Likewise.
5945         * socket/sys/un.h: Define SUN_LEN only if __USE_MISC.
5947         * sysdeps/unix/sysv/linux/bits/statvfs.h: Change type of f_fsid field
5948         to unsigned long.  Add __f_unused.  Define _STATVFSBUF_F_UNUSED.
5949         * sysdeps/unix/sysv/linux/internal_statvfs.c: Adjust initialization of
5950         f_fsid field after change in struct statvfs.
5951         * sysdeps/unix/sysv/linux/alpha/bits/statvfs.h: New file.
5952         * sysdeps/unix/sysv/linux/ia64/bits/statvfs.h: New file.
5953         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/statvfs.h: New file.
5955         * conform/data/sys/stat.h-data: Remove isfdtype.  Use
5956         optional-macro.
5958         * conform/data/sys/socket.h-data: Fix typos.  Correct getsockopt,
5959         recvfrom, send, and socketpair prototypes.  Add allow lines.
5960         * socket/sys/socket.h: Include <sys/uio.h>.
5961         Don't use fancy __SOCKADDR_ARG definition unless __USE_GNU.
5962         Fix type of second parameter of listen.
5963         Don't declare isfdtype unless __USE_MISC.
5964         * sysdeps/generic/listen.c: Fix type of second parameter of listen.
5965         * sysdeps/mach/hurd/listen.c: Likewise.
5966         * sysdeps/generic/bits/socket.h (struct sockaddr_storage): Define
5967         ss_family and __ss_family.
5968         * sysdeps/unix/sysv/aix/bits/socket.h: Likewise.
5969         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
5970         (struct msghdr): Change type of msg_iovlen to int and type of
5971         msg_controllen to socklen_t.
5972         * sysdeps/unix/sysv/linux/alpha/bits/socket.h: New file.
5973         * sysdeps/unix/sysv/linux/ia64/bits/socket.h: New file.
5974         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/socket.h: New file.
5975         * inet/rcmd.c (rcmd_af): __ss_family is now ss_family.
5976         (rresvport_af): Likewise.
5978         * conform/data/sys/shm.h-data: SHMLBA is not required to by a constant.
5979         * conform/conformtest.pl: Implement handling of symbol.
5981         * signal/signal.h: Fix handling of __need_* symbols.
5982         * misc/sys/select.c: Define fd_set here.  Remove __fd_set.  Define
5983         fd_mask only if __USE_MISC.  Declare pselect for __USE_XOPEN2K.
5984         * include/sys/select.h: Use fd_set not __fd_set.
5985         * sysdeps/generic/bits/select.h: Likewise.
5986         * sysdeps/i386/bits/select.h: Likewise.
5987         * sysdeps/generic/bits/types.h: Don't define __fd_mask, __NFDBITS,
5988         __FDELT, __FDMASK, and __fd_set here.
5989         * sysdeps/unix/sysv/aix/bits/types.h: Likewise.
5990         * sysdeps/unix/sysv/hpux/bits/types.h: Likewise.
5991         * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
5992         * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
5993         * sysdeps/unix/sysv/linux/ia64/bits/types.h: Likewise.
5994         * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
5995         * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
5996         * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
5997         * time/sys/time.h: Define struct timeval before including <time.h>
5998         and <sys/select.h>.
6000         * conform/data/sys/time.h-data: fd_set is a typedef.
6001         * conform/data/sys/select.h-data: New file.
6002         * conform/data/sys/mman.h-data: Make typed mem stuff optional.
6003         * conform/conformtest.pl (@headers): Add sys/select.h.
6004         (type, optional-type): Unless testing a typedef instantiate object.
6005         Implement optional-function.
6007         * math/test-misc.c: Include <float.h>.
6009 2001-01-27  Andreas Jaeger  <aj@suse.de>
6011         * misc/efgcvt_r.c: Include <float.h>.
6013 2001-01-26  Ulrich Drepper  <drepper@redhat.com>
6015         * conform/data/stdlib.h-data: Account for XPG6 changes.
6016         * stdlib/stdlib.h (__random): Change return value type to long.
6017         (posix_memalign): Cleanup parameter names.
6018         (setenv, unsetenv): Make available for __USE_XOPEN2K.
6019         Change return type of unsetenv to int.
6020         (qecvt, qgcvt, qfcvt): Declare only if __USE_MISC.
6021         * include/stdlib.h: Change return type of unsetenv to int.
6022         Change return type of random to long int.
6023         * sysdeps/generic/setenv.c (unsetenv): Change return type to int.
6024         Return -1 and set errno if parameter is invalid.
6025         * stdlib/random.c (__random): Change return value type to long.
6027         * conform/data/stdio.h-data: Account for changes in XPG6.
6029         * conform/data/spawn.h-data: Correct posix_spawnattr_setflags
6030         prototype.
6032         * conform/conformtest.pl: Define $mustprepend{"signal.h"}.
6033         * conform/data/signal.h-data: Fix sigev_notify_function entry.
6034         Fix typo (SIGVALRM -> SIGVTALRM).
6035         * sysdeps/unix/sysv/linux/bits/siginfo.h: Define sigev_notify_attr
6036         with real type.
6037         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Likewise.
6038         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
6039         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Likewise.
6040         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
6041         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/siginfo.h: Likewise.
6043         * conform/conformtest.pl: Implement optional-element.  Define
6044         $mustprepend{"sched.h"}.
6045         * conform/data/sched.h-data: Make sporadic scheduler definitions
6046         optional.
6048         * pwd/pwd.h: Don't define getpwent_r for XPG.
6050         * io/sys/poll.h: Define nfds_t and use it in poll prototype.
6051         * sysdeps/generic/poll.c: Use nfds_t type in function definition.
6052         * sysdeps/mach/hurd/poll.c: Likewise.
6053         * sysdeps/unix/bsd/poll.c: Likewise.
6054         * sysdeps/unix/sysv/linux/poll.c: Likewise.
6055         * sysdeps/unix/sysv/aix/poll.c: Likewise.
6056         * sysdeps/generic/bits/poll.h: Define NPOLLFILE only if __USE_MISC.
6057         * sysdeps/unix/sysv/linux/bits/poll.h: Likewise.
6058         * sysdeps/unix/sysv/linux/m68k/bits/poll.h: Likewise.
6059         * sysdeps/unix/sysv/linux/mips/bits/poll.h: Likewise.
6060         * sysdeps/unix/sysv/linux/sparc/bits/poll.h: Likewise.
6061         * conform/data/poll.h-data: Fix typo in poll prototype.
6063         * sysdeps/gnu/netinet/tcp.h: Define everything but TCP_ macros
6064         only if __USE_MISC.
6065         * conform/data/netinet/tcp.h-data: Reserved prefix TCP_.
6067         * sysdeps/gnu/net/if.h: Cleanup namespace.  Define IF_NAMESIZE.
6069         * inet/netinet/in.h: Make IPPROTO_ constants also macros.
6071         * conform/conformtest.pl: Implement optional-type.
6073         * resolv/netdb.h: Include <netinet/in.h> not <sys/socket.h>.  Include
6074         <rpc/netdb.h> only if __USE_MISC.  Include <stdint.h> instead of
6075         defining uint32_t here.  Define IPPORT_RESERVED.
6076         (struct hostent): Type of h_length element is int.
6077         (getnameinfo): Type of flags parameter is unsigned int.
6078         * inet/getnameinfo.c (getnameinfo): flags argument is unsigned.
6079         * conform/data/netdb.h-data: Add many missing definitions.
6081         * conform/conformtest.pl: Implement optional-macro.
6082         * conform/data/math.h-data: Update for XPG6.
6084         * math/math.h (HUGE): Define as FLT_MAX value but don't use
6085         FLT_MAX.  Don't include <float.h>.
6086         (MAXFLOAT): Likewise.
6088         * math/math.h: Define MATH_ERRNO and MATH_ERREXCEPT.
6090         * include/bits/xopen_lim.h: Don't define FOPEN_MAX here.
6092         * conform/data/limits.h-data: Mark constants as optional wherever
6093         appropriate.
6095         * posix/bits/posix2_lim.h: Set correct values for
6096         _POSIX2_COLL_WEIGHTS_MAX and _POSIX2_CHARCLASS_NAME_MAX.  Remove
6097         EQUIV_CLASS_MAX.
6099         * posix/bits/posix1_lim.h: Define _POSIX_TZNAME_MAX as 6.
6100         Required by POSIX.
6102         * intl/loadmsgcat.c: Include <locale.h.> for _LIBC.
6104         * conform/data/netinet/in.h-data: Add reserved prefixes.
6106         * conform/data/arpa/inet.h-data: Fix a few typos.
6108 2001-01-26  Andreas Jaeger  <aj@suse.de>
6110         * sysdeps/generic/strtol.c: Include <locale.h>
6111         * stdlib/strtod.c: Likewise
6112         * stdlib/strfmon.c: Likewise.
6113         * string/strcoll.c: Likewise.
6114         * string/strxfrm.c: Likewise.
6115         * wctype/wcfuncs_l.c: Likewise.
6116         * wctype/wctype_l.c: Likewise.
6117         * wctype/wctrans_l.c: Likewise.
6119         * include/bits/locale.h: New file.
6121 2001-01-26  Ulrich Drepper  <drepper@redhat.com>
6123         * locale/langinfo.h: Correct logic in #ifs when defining YESSTR
6124         and NOSTR.
6126         * locale/Makefile (headers): Add bits/locale.h.
6127         * locale/langinfo.h: Don't include <locale.h>.  Include <bits/locale.h>
6128         and use __LC_ constants instead of LC_.
6129         * locale/locale.h: Include <bits/locale.h> and define LC_ constants
6130         using __LC_ constants.
6131         * locale/bits/locale.h: New file.
6132         * locale/loadlocale.c: Include <locale.h>.
6133         * locale/nl_langinfo.h: Likewise.
6135         * posix/glob.h: Cleanup namespace for non-_GNU_SOURCE case.
6137         * io/sys/stat.h: Define S_IFSOCK for XPG6.
6139         * conform/data/fcntl.h-data: posix_madvise is not expected here.
6141         * conform/conformtest.pl: Fix handling of macro-str.
6143         * conform/data/inttypes.h-data: Add missing definition and all of
6144         stdint.h-data.
6146         * sysdeps/unix/sysv/linux/sys/param.h (MAXSYMLINKS): Bump to 20.
6148 2001-01-25  Ulrich Drepper  <drepper@redhat.com>
6150         * conform/conformtest.pl (@headers): Add stdint.h.
6151         * conform/data/stdint.h-data: New file.
6153         * conform/conformtest.pl: Recognize options --headers and
6154         --dialect.  Add dialect-specific CFLAGS.
6156         * conform/conformtest.pl: Implement handling of recursive
6157         allow-header.
6159         * conform/data/locale.h-data: Add new struct lconv members.
6161         * posix/wordexp.h: Correct definition of wordexp_t.
6162         * posix/wordexp.c: Moved to ...
6163         * sysdeps/generic/wordexp.c: ...here.  New file.
6164         * sysdeps/unix/sysv/linux/alpha/wordexp.c: New file.
6165         * sysdeps/unix/sysv/linux/ia64/wordexp.c: New file.
6166         * sysdeps/unix/sysv/linux/sparc/sparc64/wordexp.c: New file.
6167         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.2.2): Add
6168         wordexp.
6169         * sysdeps/unix/sysv/linux/ia64/Versions: Likewise.
6170         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions: Likewise.
6172         * math/tgmath.h: Pretty printing.
6174         * math/Makefile (tests): Add test-tgmath.
6175         (CFLAGS-test-tgmath.c): New variable.
6176         * math/test-tgmath.c: New file.  Contributed by Jakub Jelinek.
6178         * conform/conformtest.pl: Handle allow-header in secondary headers
6179         correctly.
6181         * conform/data/fcntl.h-data: Mark symbols introduced in XPG6 with
6182         #ifdef.
6184         * conform/data/netinet/in.h-data: Use correct comment character.
6185         * conform/data/sys/stat.h-data: Likewise.
6187 2001-01-25  Jakub Jelinek  <jakub@redhat.com>
6189         * math/tgmath.h (__TGMATH_BINARY_FIRST_REAL_ONLY,
6190         __TGMATH_BINARY_REAL_ONLY, __TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY,
6191         __TGMATH_TERNARY_REAL_ONLY): Use proper arguments to
6192         __builtin_classify_type, add ##f suffixes where appropriate.
6193         (__TGMATH_UNARY_REAL_IMAG): Remove extraneous left parenthesis.
6194         (__TGMATH_BINARY_REAL_IMAG): Likewise, use proper arguments to
6195         __builtin_classify_type.
6196         (fma): Fix spelling of first argument.
6198 2001-01-25  Ulrich Drepper  <drepper@redhat.com>
6200         * conform/data/unistd.h-data: Mark functions removed in XPG6
6201         correctly.
6203         * posix/unistd.h: Don't make functions removed in XPG6 available if
6204         __USE_XOPEN2K.
6206         * conform/conformtest.pl: Implement optional-constant.
6207         * conform/data/unistd.h-data: Use optional-constant wherever
6208         appropriate.
6210         * sysdeps/generic/bits/confname.h: Correct names of _SC_PBS
6211         constants and add _SC_STREAMS.
6212         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
6214         * sysdeps/unix/sysv/linux/statvfs64.c: Rename to __statvfs64 and
6215         make old name weak alias.
6216         * sysdeps/generic/statvfs64.c: Likewise.
6217         * sysdeps/unix/sysv/linux/fstatvfs64.c: Rename to __fstatvfs64 and
6218         make old name weak alias.
6219         * sysdeps/generic/fstatvfs64.c: Likewise.
6220         * include/sys/statvfs.h: New file.
6222         * sysdeps/generic/bits/confname.h: Define _PC_REC_INCR_XFER_SIZE,
6223         _PC_REC_MAX_XFER_SIZE, _PC_REC_MIN_XFER_SIZE, and
6224         _PC_REC_XFER_ALIGN.
6225         * sysdeps/posix/pathconf.c (__pathconf): Implement handling of
6226         _PC_REC_INCR_XFER_SIZE, _PC_REC_MAX_XFER_SIZE,
6227         _PC_REC_MIN_XFER_SIZE, and _PC_REC_XFER_ALIGN.
6228         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
6230         * conform/conformtest.pl: Run Unix tests for XPG6.
6231         Implement handling of known namespace violations.
6232         Improve printing of results.
6234         * posix/unistd.h (usleep): Correct return type.
6235         * sysdeps/unix/sysv/linux/usleep.c: Correct return type.
6236         * sysdeps/unix/bsd/usleep.c: Correct return type.
6237         * sysdeps/mach/usleep.c: Correct return type.
6238         * sysdeps/generic/usleep.c: Correct return type.
6240         * posix/unistd.h (sync): Correct return type.
6241         * sysdeps/generic/sync.c: Likewise.
6242         * sysdeps/mach/hurd/sync.c: Likewise.
6244         * sysdeps/generic/bits/confname.h (_SC_IOV_MAX): New definition.
6246         * posix/unistd.h: Make seteuid and setegid available for XPG6.
6248         * wcsmbs/wchar.h: Get FILE definition for XPG5.
6250         * conform/data/ctype.h-data: Use correct comment form.
6251         * conform/data/errno.h-data: Likewise.
6252         * conform/data/math.h-data: Likewise.
6253         * conform/data/mqueue.h-data: Likewise.
6254         * conform/data/netdb.h-data: Likewise.
6255         * conform/data/pthread.h-data: Likewise.
6257 2001-01-24  Ulrich Drepper  <drepper@redhat.com>
6259         * conform/data/wordexp.h-data: Fix typo.
6261         * conform/conformtest.pl: Handle allow-header correctly.
6263         * conform/data/time.h-data: Use correct comment form.
6265         * conform/conformtest.pl (checknamespace): Ignore #undef lines.
6267         * configure.in: Comment out binutils version test.
6269         * stdlib/strtod.c (str_to_mpn): Correct parsing of thousands
6270         separators.
6271         Reported by Lagardere Jean-Francois <LAGARDEREJ@thmulti.com>.
6273         * stdlib/tst-strtod.c (locale_test): New function.
6274         (main): Call locale_test.
6275         * stdlib/Makefile (tst-strtod-ENV): New variable.
6277 2001-01-24  Mark Kettenis  <kettenis@gnu.org>
6279         * hurd/hurdsig.c (_hurdsig_getenv): Remove spurious innermost
6280         declaration of value such that we actually return the value of the
6281         environment variable.
6283 2001-01-24  Andreas Jaeger  <aj@suse.de>
6285         * sysdeps/unix/sysv/linux/init-first.c: Remove extra __sysctl
6286         prototype.
6287         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
6289         * include/sys/sysctl.h: New file.
6291 2001-01-23  Andreas Jaeger  <aj@suse.de>
6293         * stdlib/Makefile ($(objpfx)isomac.out): Also pass sysincludes to
6294         isomac.
6296         * elf/dl-load.c (_dl_init_paths): Don't use strdupa in function
6297         arguments.  Reported by Jiri Kubicek <kubicek@bitsmart.com>,
6298         closes PR libc/2039.
6300         * manual/install.texi (Tools for Compilation): Change required
6301         binutils version.
6303 2001-01-22  Andreas Jaeger  <aj@suse.de>
6305         * configure.in: Add test for new enough binutils version, move
6306         compiler/binutils test up.
6308         * Versions.def: Add version GLIBC_2.2.2.
6310 2001-01-21  Ulrich Drepper  <drepper@redhat.com>
6312         * iconvdata/TESTS: UTF-8 test data for IBM932 and IBM943 are now
6313         available.
6314         * iconvdata/testdata/IBM932: New file.
6315         * iconvdata/testdata/IBM932..UTF8: New file.
6316         * iconvdata/testdata/IBM943: New file.
6317         * iconvdata/testdata/IBM943..UTF8: New file.
6318         Contributed by Masahide Washizawa <washi@jp.ibm.com>.
6320 2001-01-21  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
6322         * sysdeps/unix/sysv/linux/powerpc/mmap64.c: Correctly mask offset.
6324 2001-01-21  Ulrich Drepper  <drepper@redhat.com>
6326         * malloc/malloc.c: Remove a few unnecessary initializers of global
6327         variables.
6329 2000-12-09  H.J. Lu  <hjl@gnu.org>
6331         * nss/Makefile (routines): Add digits_dots.
6332         * nss/Versions (libc): Add __nss_hostname_digits_dots to GLIBC_2.2.2.
6333         * nss/digits_dots.c (__nss_hostname_digits_dots): Turn template
6334         into a function.
6335         * nss/nsswitch.h (__nss_hostname_digits_dots): New internal NSS
6336         function.
6337         * nss/getXXbyYY.c (H_ERRNO_VAR_P): New definition.
6338         (TYPE_VAR_P): Likewise.
6339         (FLAGS_VAR): Likewise.
6340         (AF_VAR_P): Likewise.
6341         (INTERNAL (REENTRANT_NAME)): Call __nss_hostname_digits_dots ()
6342         instead of including digits_dots.c.
6343         * nss/getXXbyYY_r.c (H_ERRNO_VAR_P): New definition.
6344         (TYPE_VAR_P): Likewise.
6345         (FLAGS_VAR): Likewise.
6346         (AF_VAR_P): Likewise.
6347         (INTERNAL (REENTRANT_NAME)): Call __nss_hostname_digits_dots ()
6348         instead of including digits_dots.c.
6350 2001-01-21  Ulrich Drepper  <drepper@redhat.com>
6352         * sysdeps/posix/getaddrinfo.c: Reduce .data size.
6354 2001-01-21  Andreas Jaeger  <aj@suse.de>
6356         * elf/constload2.c: Add prototype for init.
6358 2001-01-21  Ulrich Drepper  <drepper@redhat.com>
6360         * stdlib/stdlib.h (drand48_data): Make available only for
6361         __USE_MISC.  Rename elements to protect namespace.  Change type
6362         and position of a and init element.
6363         * stdlib/drand48-iter.c: Don't handle unsigned short > 16 bit
6364         differently.  Adjust for drand48_data change.  Don't compute a here,
6365         it comes from drand48_data.
6366         * stdlib/lcong48_r.c: Don't handle unsigned short > 16 bit
6367         differently.  Adjust for drand48_data change.  Compute a here.
6368         * stdlib/srand48_r.c: Likewise.
6369         * stdlib/drand48.c: Adjust for drand48_data change.
6370         * stdlib/lrand48.c: Likewise.
6371         * stdlib/mrand48.c: Likewise.
6372         * stdlib/seek48.c: Likewise.
6373         * stdlib/drand48_r.c: Likewise.
6374         * stdlib/lrand48_r.c: Likewise.
6375         * stdlib/mrand48_r.c: Likewise.
6376         * stdlib/seed48_r.c: Likewise.  Don't handle unsigned short > 16 bit
6377         differently.
6378         * stdlib/erand48_r.c: Don't handle unsigned short > 16 bit differently.
6379         * stdlib/jrand48_r.c: Likewise.
6381         * po/sv.po: Update from translation team.
6383 2001-01-21  Andreas Jaeger  <aj@suse.de>
6385         * stdio-common/vfprintf.c (vfprintf): Add casts.
6387 2001-01-20  Ulrich Drepper  <drepper@redhat.com>
6389         * iconvdata/run-iconv-test.sh: Reorgnize a bit to allow running only
6390         the ASCII test.
6391         * iconvdata/TESTS: Add entries for IBM932 and IBM943.
6393         * iconvdata/Makefile (modules): Add IBM932 and IBM943.
6394         * iconvdata/gconv-modules: Add entries for IBM932 and IBM943.
6395         * iconvdata/ibm932.c: New file.
6396         * iconvdata/ibm932.h: New file.
6397         * iconvdata/ibm943.c: New file.
6398         * iconvdata/ibm943.h: New file.
6399         Patches by Masahide Washizawa <washi@jp.ibm.com>.
6401         * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Fix typo
6402         preventing optimization from being done.  Set the correct type bit
6403         in seen.  Don't define and use _dl_base_addr unless
6404         NEED_DL_BASE_ADDR is defined.
6406         * io/ftw.c (ftw_dir): Add slash after directory name if there
6407         wasn't any.  Reported by loris <loris@iol.it>.
6408         * io/Makefile (tests): Add bug-ftw2.
6409         * io/bug-ftw2.c: New file.
6411 2001-01-19  Ulrich Drepper  <drepper@redhat.com>
6413         * stdlib/jrand48_r.c (__jrand48_r): Correct constructing of
6414         results.  Reported by Jeff Higham <jhigham@algorithmics.com>.
6415         * stdlib/tst-rand48.c: New file.
6416         * stdlib/Makefile (tests): Add tst-rand48.
6418         * locale/newlocale.c (__newlocale): Fix test for setting all
6419         categories.
6421 2001-01-19  Mark Kettenis  <kettenis@gnu.org>
6423         * sysdeps/mach/hurd/chroot.c (chroot): Revert 1999-02-27 changes,
6424         but change looking up the initial directory port in a similar way
6425         as done by _hurd_change_directory_port_from_name.
6426         * hurd/fchroot.c (fchroot): Likewise.
6428 2001-01-18  Ulrich Drepper  <drepper@redhat.com>
6430         * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): If HAVE_AUX_XID is
6431         defined don't look whether the AT_*ID values were set.
6432         If HAVE_AUX_PAGESIZE is defined don't look whether the pagesize is set.
6433         (_dl_show_auxv): Rewrite to avoid switch statement.
6434         * sysdeps/unix/sysv/linux/kernel-features.h: Define
6435         __ASSUME_AT_PAGESIZE for kernel >= 2.4.1.
6436         * sysdeps/unix/sysv/linux/ldsodefs.h: Define HAVE_AUX_XID.
6437         Define HAVE_AUX_PAGESIZE if __ASSUME_AT_PAGESIZE is defined.
6439         * sysdeps/unix/sysv/linux/fxstat64.c: Add one __builtin_expect.
6440         * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
6441         * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
6443         * elf/rtld.c (process_envvars): Call __strtoul_internal instead of
6444         strtoul.
6445         * elf/dl-minimal.c (strtol, __strtol_internal, strtoul): Removed.
6446         (__sigjmp_save): Set __mask_was_saved to zero since we don't save
6447         anything.
6448         * dlfcn/eval.c (__strtol_internal): Define here.
6449         (eval): Use __strtol_internal instead of strtol.
6451         * elf/elf.h: Add a few more EF_MIPS_* constants.
6453 2001-01-17  Ulrich Drepper  <drepper@redhat.com>
6455         * manual/Makefile (chapters): Add debug.
6456         * manual/debug.texi: New file.
6457         * manual/examples/execinfo.c: New file.
6458         Patch by suckfish@ihug.co.nz.
6460 2001-01-17  Andreas Schwab  <schwab@suse.de>
6462         * sysdeps/m68k/bits/byteswap.h (__bswap_32): Add cast to avoid
6463         invalid asm.
6465 2001-01-17  Andreas Jaeger  <aj@suse.de>
6467         * nscd/connections.c (nscd_run): Use proper format specifier.
6469 2001-01-16  Ulrich Drepper  <drepper@redhat.com>
6471         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Move x86_cap_flags and
6472         x86_platforms data into new file after prepending _dl_.  Change
6473         users.
6474         * sysdeps/unix/sysv/linux/i386/dl-procinfo.c: New file.
6475         * sysdeps/unix/sysv/linux/i386/Dist: Add dl-procinfo.c.
6476         * sysdeps/unix/sysv/linux/i386/Makefile: Add rules to build
6477         dl-procinfo.c.
6479         * setjmp/setjmp.h: Cleanup definition of setjmp macro.
6481         * sysdeps/i386/elf/bsd-setjmp.S: Real implementation.
6482         * sysdeps/i386/elf/bsd-_setjmp.S: Removed.
6483         * sysdeps/i386/elf/setjmp.S (setjmp): Removed here.
6484         (_setjmp): Likewise.
6485         * sysdeps/i386/bsd-_setjmp.S: Real implementation.
6486         * sysdeps/i386/bsd-setjmp.S: Real implementation.
6487         * sysdeps/i386/bits/setjmp.h: Remove PUSH_SIGNAL_MASK definition.
6488         * sysdeps/i386/setjmp.S: Remove PIC support.  This is the non-ELF
6489         version.
6491 2001-01-16  Andreas Jaeger  <aj@suse.de>
6493         * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h (SIGCONTEXT): Fix
6494         misapplied last patch.
6496 2001-01-15  Ulrich Drepper  <drepper@redhat.com>
6498         * stdlib/random.c (__initstate): Clean up a cast.
6499         (__setstate): Likewise.
6501         * sysdeps/unix/sysv/linux/mips/syscalls.list: Remove select
6502         syscall handling.  The generic Linux version should work.
6504 2001-01-15  Andreas Jaeger  <aj@suse.de>
6506         * sysdeps/unix/sysv/linux/sys/sendfile.h: Fix typo.
6508         * stdio-common/tstscanf.c (main): Add two testcases for '*' modifier.
6510 2001-01-14  Jakub Jelinek  <jakub@redhat.com>
6512         * nss/getent.c (print_aliases, aliases_keys, ethers_keys,
6513         netgroup_keys, print_rpc, rpc_keys, print_shadow, shadow_keys):
6514         New functions.
6515         (group_keys, hosts_keys, network_keys, passwd_keys, protocols_keys):
6516         If number is 0, list all.
6517         (services_keys): Likewise.  Lookup aliases as well.
6518         (databases): New table.
6519         (build_doc): Prepare argp doc text with list of supported databases.
6520         (main): Change to table driven processing.
6522 2001-01-14  Thorsten Kukuk <kukuk@suse.de>
6524         * sunrpc/xdr.c (xdr_long, xdr_u_long): Fix comments about these
6525         functions.
6527 2001-01-03  Jakub Jelinek  <jakub@redhat.com>
6529         * sunrpc/xdr.c (xdr_long, xdr_u_long): Return FALSE if trying to
6530         encode value which does not fit in the 32bit type.
6532 2001-01-15  Hiroyuki Machida <machida@sm.sony.co.jp>
6534         * sysdeps/unix/sysv/linux/mips/register-dump.h (REGISTER_DUMP):
6535         Change type of CTX to (struct sigcontext *).
6536         * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h (GET_PC): Likewise.
6537         (GET_FRAME): Likewise.
6538         (GET_STACK): Likewise.
6539         (SIGCONTEXT): Likewise.  Add 2nd arg _code.
6540         (SIGCONTEXT_EXTRA_ARGS): Add 2nd arg _code.
6542 2001-01-13  Ulrich Drepper  <drepper@redhat.com>
6544         * manual/texinfo.tex: Update from upstream version.
6546 2001-01-13  Jakub Jelinek  <jakub@redhat.com>
6548         * inet/ether_ntoh.c (lookup_function): Change arguments to match
6549         _nss_*_getntohost_r prototype.
6550         (ether_ntohost): Pass errno pointer to NSS function.
6552 2001-01-12  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
6554         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MS_SYNC): Fix value.
6555         (MAP_LOCKED): New definition.
6556         (MAP_NORESERVE): New definition.
6558 2001-01-12  Ulrich Drepper  <drepper@redhat.com>
6560         * assert/assert.h: Use static_cast instead of C-style cast for C++.
6561         Patch by Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>.
6563 2001-01-12  Ben Collins  <bcollins@debian.org>
6565         * sysdeps/generic/segfault.c (install_handler): Use access, not
6566         __access.
6568 2001-01-12  Andreas Jaeger  <aj@suse.de>
6570         * posix/fnmatch_loop.c (FCT): Remove signed warnings.
6571         * posix/wordexp.c (do_parse_glob): Likewise.
6572         * sysdeps/posix/sigblock.c (__sigblock): Likewise.
6573         * sysdeps/posix/sigsetmask.c (__sigsetmask): Likewise.
6574         * elf/dl-open.c (_dl_open): Likewise.
6575         * elf/dl-close.c (_dl_close): Likewise.
6576         * elf/dl-load.c (_dl_map_object): Likewise.
6577         * iconv/iconv_prog.c (process_fd): Likewise.
6578         * stdio-common/vfscanf.c (_IO_vfscanf): Likewise.
6580         * locale/localeinfo.h (struct locale_data): Use __flexarr instead
6581         of a zero-length array.
6583 2001-01-11  Jakub Jelinek  <jakub@redhat.com>
6585         * stdlib/cxa_atexit.c (__cxa_atexit): Cast to (void *, int) func.
6586         * stdlib/cxa_finalize.c (__cxa_finalize): Add hidden second argument.
6587         * stdlib/cxa_on_exit.c: Remove.
6588         * stdlib/Makefile: Revert last patch.
6589         * stdlib/Versions: Likewise.
6590         * include/stdlib.h: Likewise.
6591         * stdlib/exit.h: Revert last patch.
6592         (struct exit_function): Add second argument to cxa fn.
6593         * stdlib/exit.c: Revert last patch.
6594         (exit): Add hidden second argument.
6596 2001-01-11  H.J. Lu  <hjl@gnu.org>
6598         * elf/dl-libc.c (do_dlopen): Move DL_STATIC_INIT to ...
6599         * elf/dl-open.c (_dl_open): Here.
6600         * sysdeps/unix/sysv/linux/ia64/dl-static.c (_dl_static_lock):
6601         Make it static.
6602         (_dl_static_init): Initialize the variables every time when possible.
6603         * sysdeps/unix/sysv/linux/ia64/ldsodefs.h (DL_STATIC_INIT):
6604         Undefine it first.
6606 2001-01-11  Ulrich Drepper  <drepper@redhat.com>
6608         * stdlib/Makefile (routines): Add cxa_on_exit.
6609         * stdlib/Versions [libc] (GLIBC_2.2.1): Add __cxa_on_exit.
6610         * stdlib/cxa_on_exit.c: New file.
6611         * include/stdlib.h: Add prototype for __cxa_on_exit.
6612         * stdlib/exit.c: Handle ef_cxa2.
6613         * stdlib/exit.h (enum): Add ef_cxa2.
6614         (struct exit_function): Add cxa2.
6616         * Versions.def [ld]: Add GLIBC_2.2.1.
6618 2001-01-10  H.J. Lu  <hjl@gnu.org>
6620         * elf/dl-libc.c (do_dlopen): Call DL_STATIC_INIT for static binaries.
6621         * sysdeps/unix/sysv/linux/ia64/Makefile (sysdep-dl-routines): Add
6622         dl-static.
6623         * sysdeps/unix/sysv/linux/ia64/Versions (ld): Add _dl_var_init.
6624         * sysdeps/generic/ldsodefs.h (DL_STATIC_INIT): Defined if not defined.
6625         * sysdeps/unix/sysv/linux/ia64/ldsodefs.h: New file.
6626         * sysdeps/unix/sysv/linux/ia64/dl-static.c: New file.
6627         * sysdeps/unix/sysv/linux/ia64/Dist: Add dl-static.c.
6629 2001-01-11  Ulrich Drepper  <drepper@redhat.com>
6631         * libio/stdio.h: Remove definition of off_t.
6633 2001-01-11  Andreas Jaeger  <aj@suse.de>
6635         * wcsmbs/tst-mbrtowc.c (utf8_test): New function by Markus Kuhn
6636         <mkuhn@acm.org>.
6638 2001-01-10  Ulrich Drepper  <drepper@redhat.com>
6640         * sunrpc/Makefile (distribute): Add errqueue.h.
6642 2001-01-10  H.J. Lu  <hjl@gnu.org>
6644         * sysdeps/ia64/dl-machine.h (TRAMPOLINE_TEMPLATE): Also preserve
6645         r9, r10 and r11 for language specific registers.
6647 2001-01-10  Jakub Jelinek  <jakub@redhat.com>
6649         * sunrpc/clnt_udp.c (clntudp_bufcreate): Set IP_RECVERR on the
6650         UDP socket.
6651         (clntudp_call): Handle MSG_ERRQUEUE.
6652         * sysdeps/generic/errqueue.h: New file.
6653         * sysdeps/unix/sysv/linux/errqueue.h: New file.
6655 2001-01-10  H.J. Lu  <hjl@gnu.org>
6657         * sysdeps/unix/sysv/linux/ia64/syscalls.list (s_getpagesize): Removed.
6659 2001-01-10  Joseph S. Myers  <jsm28@cam.ac.uk>
6661         * CONFORMANCE: Update.
6663 2001-01-09  Ulrich Drepper  <drepper@redhat.com>
6665         * sysdeps/generic/elf/backtracesyms.c (__backtrace_symbols):
6666         Minimal cleanups.  Add assert to ensure memory handling is correct.
6668         * manual/conf.texi (File Minimums): Fix _POSIX_PATH_MAX value.
6669         Reported by Ben Collins <bcollins@debian.org>.
6671         * time/strftime.c (my_strftime): Mark previous GNU extensions
6672         which are now in C99 as such.
6674 2001-01-08  Ulrich Drepper  <drepper@redhat.com>
6676         * elf/rtld.c (process_envvars): Place output files for profiling
6677         in SUID binaries in /var/profile.
6679         * elf/dl-load.c (_dl_map_object): Don't look in cache for
6680         preloading in SUID binaries.
6682         * elf/dl-profile.c (_dl_start_profile): Open the output file with
6683         O_NOFOLLOW if possible.
6685         * include/stdlib.h: Add __posix_openpt declaration.
6686         * stdlib/stdlib.h: Add posix_openpt declaration.
6687         * login/Versions: Add posix_openpt for GLIBC_2.2.1.
6688         * sysdeps/generic/getpt.c: Define posix_openpt.
6689         * sysdeps/unix/bsd/getpt.c: Likewise.
6690         * sysdeps/unix/sysv/linux/getpt.c: Likewise.
6692         * time/Makefile (tests): Add tst-mktime.
6693         * time/tst-mktime.c: New file.
6695         * posix/tst-dir.c (main): One more mkdir() test.
6697         * sysdeps/unix/sysv/linux/ia64/getpagesize.c (__getpagesize):
6698         Remove getpagesize syscall.  We assume that the pagesize is always
6699         determined from the auxiliary vector.
6701         * intl/dcigettext.c: Fix a few warnings.
6702         Patch by Bruno Haible <haible@ilog.fr>.
6704 2001-01-08  Andreas Jaeger  <aj@suse.de>
6706         * io/test-lfs.c (do_test): Check lseek64 return for EINVAL.
6707         Reported by Joseph S. Myers <jsm28@cam.ac.uk>.
6709 2001-01-08  Ulrich Drepper  <drepper@redhat.com>
6711         * sysdeps/generic/segfault.c (install_handler): Check output file
6712         name with access().
6714         * resolv/res_query.c: Use simply getenv() for HOSTALIASES.
6715         * sysdeps/generic/unsecvars.h (UNSECURE_ENVVARS): Add HOSTALIASES.
6717         * sysdeps/generic/unsecvars.h (UNSECURE_ENVVARS): Add missing comma.
6719         * malloc/memusage.c (me): Use access() to determine whether we
6720         should write the output file or not.
6722         * libio/bits/stdio.h (printf): Define macro to map printf call to
6723         fprintf which gcc can optimize.
6724         * stdio-common/printf.c: Undefine printf.
6726 2001-01-07  Ulrich Drepper  <drepper@redhat.com>
6728         * sysdeps/generic/bits/byteswap.h (__bswap_64): Partly revert last
6729         patch.  We must use unsigned int for l member of union.
6731         * sysdeps/powerpc/elf/libc-start.c (__libc_start_main): Don't call
6732         _dl_aux_init for shared libraries.
6734         * sysdeps/unix/sysv/linux/glob64.c: Moved to ...
6735         * sysdeps/gnu/glob64.c: ...here.  New file.
6737 2001-01-07  Ben Collins  <bcollins@debian.org>
6739         * manual/examples/longopt.c: Make the "struct option" a little
6740         more like it should be, adding usage of required_argument,
6741         noargument and such, and also setting the options string right.
6743         * manual/sysinfo.texi (Load Average): New section, documents
6744         getloadavg().
6746 2001-01-06  Ulrich Drepper  <drepper@redhat.com>
6748         * version.h (VERSION): Bump to 2.2.1.
6750         * sysdeps/unix/sysv/linux/mips/Dist: Remove sys/acct.h.
6751         * sysdeps/alpha/Dist: Add alphaev6/stxncpy.S and alphaev6/stxcpy.S.
6752         * sysdeps/unix/sysv/aix/Dist: Add uitrunc.c, savef.S, and restf.S.
6753         * dlfcn/Makefile (distribute): Add errmsg1mod.c.
6754         * Makefile (distribute): Add include/libc-internal.h.
6755         * libio/Makefile (distribute): Avoid overwriting.
6757         * iconvdata/ibm937.c (BODY to IBM937): Correct several mistakes in
6758         buffer and table handling.
6760 2001-01-05  H.J. Lu  <hjl@gnu.org>
6762         * elf/dl-support.c (non_dynamic_init): Move the auxiliary
6763         vector checking to ...
6764         (_dl_aux_init): Here.  New function.  Defined only if
6765         HAVE_AUX_VECTOR is defined.
6767         * sysdeps/generic/libc-start.c (__libc_start_main): Call
6768         _dl_aux_init for static binaries if HAVE_AUX_VECTOR is defined.
6770         * sysdeps/powerpc/elf/libc-start.c (__libc_start_main): Call
6771         _dl_aux_init.
6773         * sysdeps/unix/sysv/linux/ldsodefs.h (DL_FIND_AUXV): Removed.
6774         (HAVE_AUX_VECTOR): Defined.
6775         (_dl_aux_init): Declared.
6777 2001-01-05  Ben Collins  <bcollins@debian.org>
6779         * manual/string.texi (Finding Tokens in a String): Document XPG
6780         basename() and dirname(), as well as GNU basename().
6782 2001-01-05  Jakub Jelinek  <jakub@redhat.com>
6784         * Makeconfig (preprocess-version): Replace -traditional with
6785         -x assembler-with-cpp.
6787 2001-01-05  Joseph S. Myers  <jsm28@cam.ac.uk>
6789         * math/bits/cmathcalls.h: Don't define inline cimag, creal or conj
6790         for GCC 2.97 or later.
6792 2001-01-05  Ben Collins  <bcollins@debian.org>
6794         * manual/stdio.texi (getline): Clarify the return value in the
6795         case of EOF being reached before a newline.
6797 2001-01-04  Jakub Jelinek  <jakub@redhat.com>
6799         * sunrpc/pmap_clnt.c (__get_myaddress): Return TRUE if successful,
6800         FALSE otherwise.
6801         (pmap_set, pmap_unset): Check __get_myaddress return value.
6803 2001-01-05  Mark Kettenis  <kettenis@gnu.org>
6805         * sysdeps/generic/netinet/if_ether.h: Include <sys/types.h>.
6806         (struct ether_addr): Declare ether_addr_octet member as
6807         `u_int8_t'.  Add __attribute__ ((__packed__)).
6809 2001-01-06  Mark Kettenis  <kettenis@gnu.org>
6811         * sysdeps/mach/hurd/readdir64.c: New file.
6812         * sysdeps/mach/hurd/readdir64_r.c: New file.
6814 2001-01-07  Mark Kettenis  <kettenis@gnu.org>
6816         * sysdeps/mach/hurd/fstatvfs.c (fstatvfs): Add comment about
6817         `struct statfs' and `struct statvfs' being identical.
6818         * sysdeps/mach/hurd/statvfs.c (statvfs): Likewise.
6820 2001-01-06  Mark Kettenis  <kettenis@gnu.org>
6822         * sysdeps/mach/hurd/fstatfs64.c: New file.
6823         * sysdeps/mach/hurd/fstatvfs64.c: New file.
6824         * sysdeps/mach/hurd/statfs64.c: New file.
6825         * sysdeps/mach/hurd/statvfs64.c: New file.
6826         * sysdeps/mach/hurd/statfsconv.c: New file.
6827         * sysdeps/mach/hurd/Dist: Add statfsconv.c.
6829 2001-01-06  Ulrich Drepper  <drepper@redhat.com>
6831         * iconv/skeleton.c: Reset outbuf for next round of the loop.
6832         Reported by Owen Taylor <otaylor@redhat.com>.
6833         * iconv/Makefile (tests): Add tst-iconv3.
6834         * iconv/tst-iconv3.c: New file.
6836         * iconvdata/ibm930.c: Fix handling of state.  Optimize a bit.
6837         * iconvdata/ibm933.c: Likewise.
6838         * iconvdata/ibm935.c: Likewise.
6839         * iconvdata/ibm937.c: Likewise.
6840         * iconvdata/ibm939.c: Likewise.
6841         * iconvdata/ibm930.h: Adjust single byte table for optimization.
6842         * iconvdata/ibm933.h: Likewise.
6843         * iconvdata/ibm935.h: Likewise.
6844         * iconvdata/ibm939.h: Likewise.
6846         * iconvdata/testdata/IBM930: Add misssing SI.
6847         * iconvdata/testdata/IBM933: Likewise.
6848         * iconvdata/testdata/IBM935: Likewise.
6849         * iconvdata/testdata/IBM937: Likewise.
6850         * iconvdata/testdata/IBM939: Likewise.
6852 2001-01-06  Andreas Jaeger  <aj@suse.de>
6854         * configure.in: Check for old add-ons that shouldn't be used with
6855         current glibc anymore.
6857 2001-01-06  Mark Kettenis  <kettenis@gnu.org>
6859         * sysdeps/mach/hurd/readdir_r.c (__readdir_r): Return error number
6860         instead of -1 on failure.  Don't forget to copy file name into
6861         *ENTRY if successful.  Set *RESULT to NULL upon reaching the end
6862         of the directory.
6864 2001-01-06  Mark Kettenis  <kettenis@gnu.org>
6866         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Don't forget to
6867         copy st_atime member.
6869 2001-01-05  Ulrich Drepper  <drepper@redhat.com>
6871         * io/ftw.c (ftw_dir): Don't add a second slash at the beginning
6872         for searches from the root directory.
6873         Reported by loris <loris@iol.it> [PR libc/1991].
6874         * io/Makefile (tests): Add bug-ftw1.
6875         * io/bug-ftw1.c: New file.
6877         * elf/dl-support.c (non_dynamic_init): Don't define DL_FIND_AUXV
6878         if it is not available.  Instead use it only if it is available.
6879         * sysdeps/unix/sysv/linux/ldsodefs.h: New file.
6881         * iconv/gconv_simple.c (internal_ics4_loop): Correct test for
6882         overflowing output buffer.
6883         (internal_ucs4_loop_unaligned): Likewise.
6884         (ucs4_internal_loop): Likewise.
6885         (ucs4_internal_loop_unaligned): Likewise.
6886         (internal_ucs4le_loop): Likewise.
6887         (internal_ucs4le_loop_unaligned): Likewise.
6888         (ucs4le_internal_loop): Likewise.
6889         (ucs4le_internal_loop_unaligned): Likewise.
6890         Reported by Owen Taylor <otaylor@redhat.com>.
6891         * iconv/Makefile (tests): Add tst-iconv2.
6892         * iconv/tst-iconv2.c: New file.
6894 2001-01-04  H.J. Lu  <hjl@gnu.org>
6896         * elf/dl-support.c (DL_FIND_AUXV): New.  Defined if not defined.
6897         (_dl_clktck): Declared.
6898         (non_dynamic_init): Take 3 arguments.
6899         Set _dl_pagesize, _dl_platform and _dl_clktck from AUX.
6901 2001-01-01  Bruno Haible  <haible@clisp.cons.org>
6903         Finish implementation of plural form handling.
6904         * intl/dcigettext.c (known_translation_t): Rename 'domain' field to
6905         'domainname'.  Remove 'plindex' field.  Add 'domain' and
6906         'translation_length' fields.
6907         (transcmp): Don't compare 'plindex' fields.
6908         (plural_lookup): New function.
6909         (DCIGETTEXT): Change cache handing in the plural case.  Don't call
6910         plural_eval before the translation and its catalog file have been
6911         found.  Remove plindex from cache key.  Add 'translation_length' and
6912         'domain' to cache result.
6913         (_nl_find_msg): Remove index argument, return length of translation
6914         to the caller instead.  Weaken comparison of string lengths, to account
6915         for plural entries.  Call iconv() on the entire result string, not
6916         only on the portion needed so far.
6917         * intl/loadinfo.h (_nl_find_msg): Remove index argument, add lengthp
6918         argument.
6919         * intl/loadmsgcat.c (_nl_load_domain): Adapt to _nl_find_msg change.
6921 2001-01-04  Ulrich Drepper  <drepper@redhat.com>
6923         * intl/plural.y (yylex): Minimal improvement in number scanner.
6925 2000-07-31  Bruno Haible  <haible@clisp.cons.org>
6927         * intl/plural.y: Include config.h.  Needed to define 'inline' away for
6928         C compilers that don't support it.
6929         (yylex): Don't use gcc specific case range syntax.
6930         * intl/loadmsgcat.c (INIT_GERMANIC_PLURAL): New macro, for old
6931         compilers.
6933 2000-10-12  Bruno Haible  <haible@clisp.cons.org>
6935         * intl/finddomain.c: Remove unneeded includes.
6937 2000-10-12  Bruno Haible  <haible@clisp.cons.org>
6939         * intl/localealias.c (memcpy): Return first argument, just like the
6940         real memcpy function does.
6941         * intl/bindtextdom.c (memcpy): Likewise.
6942         * intl/finddomain.c (memcpy): Likewise.
6943         * intl/l10nflist.c (memcpy): Likewise.
6944         * intl/textdomain.c (memcpy): Likewise.
6945         From Paul Eggert <eggert@twinsun.com>.
6947 2001-01-03  Jakub Jelinek  <jakub@redhat.com>
6949         * resolv/resolv.h (struct __res_state): Add nsinit field.
6950         * resolv/res_send.c (res_nsend): Use it instead of nscount.
6951         * resolv/res_init.c (__res_vinit): Initialize it.
6952         (res_nclose): Clear it instead of nscount.
6954 2001-01-04  Ulrich Drepper  <drepper@redhat.com>
6956         * malloc/mtrace.pl: Fix matching of addresses.
6957         Patch by Aharon Robbins <arnold@skeeve.com>.
6959         * Versions.def (ld): Add GLIBC_2.2.
6961         * catgets/gencat.c: Copyright 2001.
6962         * csu/version.c: Likewise.
6963         * debug/catchsegv.sh: Likewise.
6964         * debug/xtrace.sh: Likewise.
6965         * elf/ldconfig.c: Likewise.
6966         * elf/sprof.c: Likewise.
6967         * iconv/iconv_prog.c: Likewise.
6968         * locale/locale.c: Likewise.
6969         * locale/localedef.c: Likewise.
6970         * malloc/memusage.sh: Likewise.
6971         * malloc/mtrace.pl: Likewise.
6972         * nscd/nscd.c: Likewise.
6973         * posix/getconf.c: Likewise.
6975 2001-01-04  Mark Kettenis  <kettenis@gnu.org>
6977         * include/stdio.h: Only provide __getwc_unlocked prototype if
6978         USE_IN_LIBIO is defined.
6980 2001-01-04  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
6982         * sysdeps/unix/sysv/linux/sh/socket.S (__socket): Fix error code
6983         handling.
6985 2001-01-03  Andreas Schwab  <schwab@suse.de>
6987         * sysdeps/generic/strtoll.c: Remove unused __strtoq_internal alias.
6988         * sysdeps/generic/strtoull.c: Remove unused __strtouq_internal alias.
6990         * sysdeps/wordsize-64/strtol.c: Add strtoq alias and fix strtoll alias.
6991         * sysdeps/wordsize-64/strtoul.c: Add strtouq alias and fix
6992         strtoull alias.
6993         * sysdeps/wordsize-64/wcstol.c: Add wcstoq alias and fix wcstoll alias.
6994         * sysdeps/wordsize-64/wcstoul.c: Add wcstouq alias and fix
6995         wcstoull alias.
6997         * sysdeps/generic/strtoul.c: Make sure we find strtol.c in this
6998         directory.
6999         * sysdeps/generic/strtol_l.c: Likewise.
7000         * sysdeps/generic/strtoul_l.c: Likewise.
7001         * sysdeps/generic/wcstoul.c: Likewise, for wcstol.c.
7003         * sysdeps/wordsize-64/strtol_l.c: Fix alias.
7004         * sysdeps/wordsize-64/strtoul_l.c: Likewise.
7005         * sysdeps/wordsize-64/wcstol_l.c: Fix alias.
7006         * sysdeps/wordsize-64/wcstoul_l.c: Likewise.
7008 2001-01-04  Andreas Jaeger  <aj@suse.de>
7010         * nss/nsswitch.c: Include files for missing prototypes, remove
7011         buggy declaration of prototypes.
7013 2001-01-03  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
7015         * resolv/Versions: Fix bracing.
7016         * sysdeps/powerpc/soft-fp/Versions: Likewise.
7017         * sysdeps/sparc/sparc64/soft-fp/Versions: Likewise.
7019 2001-01-02  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
7021         * sysdeps/powerpc/dl-machine.c (__process_machine_rela): Fix typo.
7023 2001-01-02  Ulrich Drepper  <drepper@redhat.com>
7025         * manual/Makefile (TEXI2PDF): Change to texi2dvi --pdf.
7026         Suggested by Minko Markov <mmarkov@home.com>.
7028 2001-01-02  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
7030         * sysdeps/powerpc/elf/start.S (__data_start): Make it global.
7031         * sysdeps/powerpc/dl-machine.c (dl_reloc_overflow): Print the name of
7032         the failing symbol.
7033         (__process_machine_rela): Pass symbol to dl_reloc_overflow().
7035 2001-01-02  Ben Collins  <bcollins@debian.org>
7037         * time/tzset.c (tzset_internal): Make sure we fall back to UTC
7038         if TZ is not set and TZDEFAULT is not present.
7040 2001-01-01  Ben Collins  <bcollins@debian.org>
7042         * string/strings.h: Make sure we declare our functions even if
7043         string.h is already included, based on whether or not __USE_BSD is
7044         defined.
7046 2001-01-02  Ulrich Drepper  <drepper@redhat.com>
7048         * dlfcn/dlerror.c (dlerror): Handle call of dlerror() before any
7049         other dlopen() and dlsym().
7050         Based on a patch by Ben Collins <bcollins@debian.org>.
7052 2001-01-02  Andreas Jaeger  <aj@suse.de>
7054         * dlfcn/errmsg1.c (main): Call dlerror initially.
7055         Reported by Ben Collins <bcollins@debian.org>.
7057 2001-01-02  Ulrich Drepper  <drepper@redhat.com>
7059         * intl/dcigettext.c (guess_category_value): Rewrite so that LANGUAGE
7060         value is ignored if the selected locale is the C locale.
7061         * intl/tst-gettext.c: Set locale for above change.
7062         * intl/tst-translit.c: Likewise.
7064 2001-01-02  Andreas Jaeger  <aj@suse.de>
7066         * libio/wgenops.c (_IO_wdoallocbuf): Use correct wide access macro.
7067         (_IO_switch_to_wget_mode): Likewise.
7068         (_IO_sputbackwc): Likewise.
7069         (_IO_sungetwc): Use wint_t for result.
7071         * stdio-common/vfscanf.c (__vfscanf): Use WINT_T for done.
7073         * sysdeps/generic/strtol.c (strtol): Make cnt size_t for correct
7074         signedness.
7076         * sysdeps/generic/printf_fphex.c (putc): Cast _IO_putwc_unlocked
7077         to (int) to avoid warnings.
7078         * stdio-common/printf_fp.c (putc): Likewise.
7079         * stdio-common/printf_size.c (putc): Likewise.
7081         * sysdeps/generic/dl-sysdep.c (_dl_important_hwcaps): Make
7082         constant unsigned.
7084 2001-01-01  Andreas Jaeger  <aj@suse.de>
7086         * inet/rcmd.c (rcmd_af): Use socklen_t for len.
7088 2000-12-31  Andreas Jaeger  <aj@suse.de>
7090         * include/libc-internal.h: Add prototype for __libc_freeres.
7092         * sysdeps/unix/sysv/linux/init-first.c: Include <libc-internals.h>
7093         for prototypes, remove redundant prototypes.
7094         * gmon/gmon.c: Likewise.
7095         * sysdeps/unix/i386/i586/clock_getres.c: Likewise.
7096         * sysdeps/unix/i386/i586/clock_gettime.c: Likewise.
7097         * malloc/mtrace.c: Likewise.
7099         * sysdeps/generic/enbl-secure.c: Include <libc-internals.h> for
7100         prototypes.
7101         * elf/soinit.c: Likewise.
7102         * sysdeps/generic/prof-freq.c: Likewise.
7103         * sysdeps/mach/hurd/profil.c: Likewise.
7104         * debug/noophooks.c: Likewise.
7105         * debug/pcprofile.c: Likewise.
7106         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Likewise.
7107         * sysdeps/generic/get_clockfreq.c: Likewise.
7108         * malloc/set-freeres.c: Likewise.
7110         * locale/localeinfo.h: Add internal prototypes.
7112         * elf/rtld.c (dl_main): Fix prototype.
7114         * iconvdata/tst-table-to.c (main): Use return instead of exit to
7115         avoid warning.
7117         * nis/rpcsvc/yp_prot.h: Remove __P.
7118         * nis/rpcsvc/ypupd.h: Likewise.
7119         * nis/rpcsvc/yp.h: Likewise.
7121         * sunrpc/rpc_main.c: Add noreturn attributes.
7122         * sunrpc/rpc_scan.h: Likewise.
7124         * sunrpc/rpc_hout.c (storexdrfuncdecl): Make static.
7126         * sunrpc/rpcinfo.c: Add noreturn attribute to brdcst.
7128         * sunrpc/proto.h: Add noreturn attributes to error and crash.
7130         * posix/bsd-getpgrp.c: Add prototype to avoid warning.
7132         * sunrpc/svc_unix.c: Include <rpc/svc.h> for prototypes.
7134         * sunrpc/create_xid.c: Include <rpc/svc.h> for prototypes.
7136         * include/rpc/rpc_msg.h: Add prototypes for some functions.
7137         * include/rpc/auth.h: Likewise.
7138         * include/rpc/auth_des.h: Likewise.
7139         * include/rpc/clnt.h: Likewise.
7140         * include/rpc/rpc.h: Likewise.
7141         * include/rpc/svc.h: Likewise.
7142         * include/rpc/svc_auth.h: Likewise.
7144         * include/rpc/des_crypt.h: New file.
7146         * malloc/memusagestat.c (main): Use return instead of exit to
7147         avoid warning.
7148         * io/pwd.c (main): Likewise.
7149         * iconvdata/tst-table-from.c (main): Likewise.
7150         * ctype/test_ctype.c (main): Likewise.
7151         * setjmp/tst-setjmp.c (main): Likewise.
7152         * signal/tst-signal.c (main): Likewise.
7153         * stdlib/tst-strtol.c (main): Likewise.
7154         * stdlib/tst-strtod.c (main): Likewise.
7155         * stdlib/tst-strtoll.c (main): Likewise.
7156         * stdlib/tst-xpg-basename.c (main): Likewise.
7157         * dirent/tst-seekdir.c (main): Likewise.
7158         * grp/testgrp.c (main): Likewise.
7159         * inet/test_ifindex.c (main): Likewise.
7160         * io/test-utime.c (main): Likewise.
7161         * posix/test-vfork.c (main): Likewise.
7162         * posix/testfnm.c (main): Likewise.
7163         * stdio-common/temptest.c (main): Likewise.
7164         * stdio-common/test_rdwr.c (main): Likewise.
7165         * stdio-common/tst-fileno.c (main): Likewise.
7166         * stdio-common/tst-sscanf.c (main): Likewise.
7167         * stdio-common/tstscanf.c (main): Likewise.
7168         * string/bug-strncat1.c (main): Likewise.
7169         * string/bug-strpbrk1.c (main): Likewise.
7170         * string/bug-strspn1.c (main): Likewise.
7171         * string/test-ffs.c (main): Likewise.
7172         * string/tst-inlcall.c (main): Likewise.
7173         * string/tst-svc.c (main): Likewise.
7174         * timezone/test-tz.c (main): Likewise.
7175         * wctype/test_wcfuncs.c (main): Likewise.
7176         * wctype/test_wctype.c (main): Likewise.
7178         * stdlib/tst-random.c: Add attribute noreturn to fail.
7180 2000-12-28  Wolfram Gloger  <wg@malloc.de>
7182         * malloc/malloc.c (MALLOC_COPY): Handle case if source and
7183         destination overlap.  Assume dest is always below source if
7184         overlapping.
7186 2000-12-30  Ulrich Drepper  <drepper@redhat.com>
7188         * elf/dl-close.c (_dl_close): We can ignore the NODELETE flag if the
7189         object was not yet initialized.
7191 2000-12-28  H.J. Lu  <hjl@gnu.org>
7193         * elf/dl-deps.c (_dl_map_object_deps): Make sure the DSO state
7194         is always consistent even if its dependency is failed.
7196         * elf/dl-open.c (_dl_open): Increment the open count before
7197         calling _dl_close () in case of failure.
7199         * elf/neededtest4.c: New file.
7200         * elf/neededobj5.c: New file.
7201         * elf/neededobj6.c: New file.
7203         * elf/Makefile (distribute): Add neededobj5.c and neededobj6.c.
7204         (tests): Add neededtest4.
7205         (modules-names): Add neededobj5 and neededobj6.
7206         ($(objpfx)neededobj6.so): New target.
7207         ($(objpfx)neededtest4): New target.
7208         ($(objpfx)neededtest4.out): New target.
7210 2000-12-28  Joseph S. Myers  <jsm28@cam.ac.uk>
7212         * misc/sys/cdefs.h (__attribute_format_strfmon__): Define.
7213         * stdlib/monetary.h: Add strfmon format attributes.
7215 2000-12-28  Roland McGrath  <roland@frob.com>
7217         * sysdeps/mach/hurd/ioctl.c (do_ioctl): Avoid double-increment after
7218         __mempcpy does it for us.
7220 2000-12-28  Andreas Jaeger  <aj@suse.de>
7222         * sysdeps/generic/dl-environ.c: Add prototype for unsetenv.
7224         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Add prototype for
7225         __new_setrlimit.
7227         * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Add prototype for
7228         __old_getrlimit64.
7230         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Add prototype for
7231         __new_getrlimit.
7233         * sysdeps/unix/sysv/linux/i386/chown.c: Add prototypes for
7234         __chown_is_lchown and __real_chown.
7236         * sysdeps/generic/ldsodefs.h: Add noreturn attribute to
7237         _dl_reloc_bad_type.
7239         * sunrpc/rpc_hout.c (print_funcdef): Add break statement to shut
7240         up GCC's warning about "deprecated use of label at end of compound
7241         statement."
7242         * sunrpc/rpc_cout.c (emit_inline): Likewise.
7244         * gmon/bb_exit_func.c: Include <sys/gmon.h> for internal
7245         prototypes.
7246         Remove struct bb and __bb_head since those are declared by
7247         sys/gmon.h.
7249 2000-12-22  Ben Collins  <bcollins@debian.org>
7251         * manual/charset.texi: Fix typo in description of WCHAR_MAX.
7253         * manual/argp.texi: Document argp_domain as part of struct argp.
7255 2000-12-28  Andreas Jaeger  <aj@suse.de>
7257         * catgets/Makefile (generated): Add sample.SJIS.cat.
7259         * sunrpc/rpc_dtable.c: Include rpc/clnt.h for prototypes.
7261         * elf/dl-minimal.c: Add prototypes.
7263         * include/locale.h: Add internal prototypes.
7264         * include/sys/gmon.h: Likewise.
7266         * dlfcn/errmsg1mod.c: Add prototype for foo to shut up GCC.
7268 2000-12-27  Ben Collins  <bcollins@debian.org>
7270         * elf/dl-open.c (_dl_open): Correctly set the new objname pointer
7271         when reallocating the error strings.
7272         Reported by Kalle Olavi Niemitalo <kon@iki.fi>
7274 2000-12-27  Ulrich Drepper  <drepper@redhat.com>
7276         * dlfcn/Makefile (tests): Add errmsg1.
7277         (modules-names): Add errmsg1mod.
7278         Add rules to run errmsg1.
7279         * dlfcn/errmsg1.c: New file.
7280         * dlfcn/errmsg1mod.c: New file.
7282         * dlfcn/dlerror.c (dlerror): Always create output string which
7283         includes object file name.
7285         * sysdeps/alpha/alphaev6/memcpy.S: Don't go through unrolled loop
7286         if we would go through it only once.
7287         Patch by Rick Gorton <rick.gorton@api-networks.com>.
7289         * sysdeps/alpha/alphaev67/strncat.S: Fix handling of numeric parameter.
7290         Patch by Richard Henderson <rth@redhat.com>.
7292 2000-12-27  Jakub Jelinek  <jakub@redhat.com>
7294         * malloc/malloc.c (memmove): Add prototypes.
7295         (MALLOC_MEMMOVE): Define.
7296         (chunk_realloc): Use it instead of MALLOC_COPY if source and
7297         destination might overlap.
7299 2000-12-27  Andreas Jaeger  <aj@suse.de>
7301         * stdio-common/printf_fp.c (__printf_fp): Add prototype for nested
7302         function.
7303         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
7304         * locale/programs/locale.c (show_locale_vars): Likewise.
7305         (show_info): Likewise.
7306         * locale/programs/ld-collate.c (collate_output): Likewise.
7307         * locale/programs/ld-ctype.c (set_class_defaults): Likewise.
7308         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
7309         * stdlib/rpmatch.c (rpmatch): Likewise.
7311         * setjmp/tst-setjmp.c: Make local functions static.
7312         * setjmp/jmpbug.c: Likewise.
7313         * signal/tst-signal.c: Likewise.
7314         * stdio-common/tfformat.c: Likewise.
7315         * string/tst-svc.c: Likewise.
7316         * time/clocktest.c: Likewise.
7317         * time/tst-getdate.c: Likewise.
7318         * dirent/list.c: Likewise.
7319         * dirent/opendir-tst1.c: Likewise.
7320         * posix/runtests.c: Likewise.
7321         * posix/tst-getaddrinfo.c: Likewise.
7322         * posix/tst-chmod.c: Likewise.
7323         * posix/wordexp-test.c: Likewise.
7324         * misc/tst-efgcvt.c: Likewise.
7325         * timezone/tst-timezone.c: Likewise.
7326         * rt/tst-clock.c: Likewise.
7327         * rt/tst-shm.c: Likewise.
7328         * rt/tst-aio2.c: Likewise.
7329         * rt/tst-aio3.c: Likewise.
7330         * rt/tst-aio4.c: Likewise.
7331         * rt/tst-aio5.c: Likewise.
7333         * dlfcn/failtest.c: Add prototype for foo.
7335         * dlfcn/glrefmain.c: Add prototype for do_test.
7337         * dlfcn/tst-dladdr.c: Add prototype for do_test.
7339         * string/test-ffs.c (main): Add prototype for nested function.
7341         * sunrpc/des_soft.c: Include rpc/des_crypt.h for prototype.
7343         * nss/XXX-lookup.c: Add prototype to shut up GCC.
7345         * include/netinet/ether.h (DECLARE_NSS_PROTOTYPES): Fix
7346         setetherent prototype.
7347         Add internal interfaces.
7349         * nis/nss_nis/nis-ethers.c (_nss_nis_setetherent): Likewise.
7350         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent): Likewise.
7352         * resolv/res_data.c: Don't add (conflicting) prototypes for _LIBC.
7354         * nis/nis_intern.h: Add prototype for __pmap_getnisport.
7356         * nss/nss_files/files-ethers.c: Include netinet/ether.h to get
7357         prototypes, remove struct etherent since it's declared in ether.h.
7358         Fix ntohost declaration.
7360         * elf/dl-profile.c (_dl_mcount): Add empty statement to shut up GCC.
7362         * include/getopt.h: Add internal interfaces.
7363         * include/termios.h: Likewise.
7364         * include/resolv.h: Likewise.
7365         * include/netdb.h: Likewise.
7366         * include/grp.h: Likewise.
7367         * include/pwd.h: Likewise.
7368         * include/shadow.h: Likewise.
7369         * include/rpc/netdb.h: Likewise.
7370         * include/setjmp.h: Likewise.
7372         * include/stdio.h: Add prototypes for compatibility functions.
7373         * include/grp.h: Likewise.
7374         * include/pwd.h: Likewise.
7375         * include/shadow.h: Likewise.
7377         * include/fenv.h: Define internal interfaces.
7379 2000-12-27  Ulrich Drepper  <drepper@redhat.com>
7381         * sysdeps/generic/bits/byteswap.h (__bswap_64): Handle constant
7382         argument case separately.
7383         * sysdeps/i386/bits/byteswap.h (__bswap_64): Likewise.
7385 2000-12-27  Andreas Jaeger  <aj@suse.de>
7387         * include/sys/wait.h: Add some prototypes.
7388         * Rules (dummy.c): Create also prototype to shut up GCC.
7390 2000-12-27  Andreas Jaeger  <aj@suse.de>
7392         * sysdeps/mach/hurd/if_index.c (__protocol_available): Uncomment,
7393         it's not needed at the moment.
7394         * sysdeps/generic/if_index.c (__protocol_available): Likewise.
7395         * sysdeps/unix/sysv/linux/if_index.c (__protocol_available): Likewise.
7397 2000-12-26  Andreas Jaeger  <aj@suse.de>
7399         * libio/getc_u.c: Include stdio.h via system path to get internal
7400         prototypes.
7401         * libio/getwc_u.c: Likewise.
7403         * stdlib/strfmon.c: Fix prototype of __printf_fp.
7405         * stdio-common/vfprintf.c (process_arg): Move __printf_fphex and
7406         __printf_fp prototypes to ...
7407         * include/printf.h: ...here.
7409         * include/stdio.h: Add some internal prototypes to shut up GCC.
7410         * include/stdlib.h: Likewise.
7412         * sysdeps/posix/sigpause.c (__sigpause): Use ISO C prototype
7413         declaration.
7415         * include/signal.h: Add prototypes for internal sigpause
7416         interfaces.
7418 2000-12-26  Ulrich Drepper  <drepper@redhat.com>
7420         * sysdeps/generic/bits/byteswap.h (__bswap_64): Make it usable for
7421         64bit platforms.  Reported by Dave Gilbert <gilbertd@treblig.org>.
7423         * string/Makefile (tests): Add tst-bswap.
7424         * string/tst-bswap.c: New file.
7426 2000-12-11  Bruno Haible  <haible@clisp.cons.org>
7428         * Makefile ($(inst_includedir)/gnu/stubs.h): Sort in the C locale.
7430 2000-12-26  Ulrich Drepper  <drepper@redhat.com>
7432         * sunrpc/Makefile (rpcgen-cmd): Use single quotes in sed call.
7433         Patch by Ed Connell <Ed.Connell@sas.com>.
7435 2000-12-24  Ulrich Drepper  <drepper@redhat.com>
7437         * locale/iso-639.def: Correct one entry.  Add two missing entries.
7439         * locale/iso-4217.def: Change entry for Eritrea.
7440         Reported by Daniel Yacob <yacob@geez.org>.
7442 2000-12-23  Ben Collins  <bcollins@debian.org>
7444         * manual/charset.texi (Extended Char Intro): Fix typo in ISO 6937
7445         description.
7447         * manual/stdio.texi (Dynamic Output): Document the return value of
7448         asprintf.  Also make the asprintf/snprintf examples a little
7449         better (check for some error returns).
7451 2000-12-22  Andreas Jaeger  <aj@suse.de>
7453         * include/stdio.h: Add __ftrylockfile prototype.
7455 2000-12-21  H.J. Lu  <hjl@gnu.org>
7457         * sysdeps/ia64/fpu/math_ldbl.h (ieee_long_double_shape_type):
7458         Make sign_exponent element signed.
7460         * sysdeps/ieee754/ldbl-96/math_ldbl.h (ieee_long_double_shape_type):
7461         Fix a typo.
7463         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Remove dead branch.
7465 2000-12-21  Andreas Jaeger  <aj@suse.de>
7467         * nis/nss_nisplus/nisplus-ethers.c (struct etherent): Removed.
7468         * inet/ether_hton.c: Likewise
7469         * inet/ether_ntoh.c: Likewise.
7471         * nis/nss_nis/nis-ethers.c (_nss_nis_getntohost_r): Fix
7472         declaration to match prototype.
7474         * include/netinet/ether.h (struct etherent): Declare here so that
7475         all implementations use the same struct.
7477         * nis/nss_nis/nis-ethers.c: Include netinet/ether.h to get
7478         prototypes.
7479         (struct ether): Removed.
7480         Use struct etherent instead of ether everywhere.
7482         * include/rpc/auth.h (DECLARE_NSS_PROTOTYPES): New.
7484         * include/rpc/auth_des.h (DECLARE_NSS_PROTOTYPES): New.
7486         * sunrpc/publickey.c: Include auth_des.h for prototypes.
7488 2000-12-20  Ulrich Drepper  <drepper@redhat.com>
7490         * math/test-misc.c: Add more tests for nextafter functions.
7492         * sysdeps/i386/fpu/s_nextafterl.c: Handle change from denormal to
7493         normal correctly.  Correct test for sign.
7494         Based on a patch by HJ Lu.
7496 2000-12-19  Ulrich Drepper  <drepper@redhat.com>
7498         * Makeconfig (preprocess-version): Add -traditional to gcc call.
7499         Cleanup sed calls.
7501 2000-12-19  Andreas Jaeger  <aj@suse.de>
7503         * include/netinet/ether.h (DECLARE_NSS_PROTOTYPES): New.
7505         * nis/nis_intern.h: Add prototype for __do_niscall3.
7507         * nis/nss_nis/nis-rpc.c (_nss_nis_setrpcent): Fix declaration to
7508         match prototype.
7510         * include/netdb.h (DECLARE_NSS_PROTOTYPES): Reformat.
7512         * include/rpc/netdb.h (DECLARE_NSS_PROTOTYPES): New.
7514         * include/aliases.h (DECLARE_NSS_PROTOTYPES): New.
7516 2000-12-18  Ulrich Drepper  <drepper@redhat.com>
7518         * math/test-misc.c: Add more tests for nextafter.
7519         * sysdeps/i386/fpu/s_nextafterl.c: Handle decrement for x<0 correctly.
7520         * sysdeps/ieee754/ldbl-96/math_ldbl.h
7521         (ieee_long_double_shape_type): Make sign_exponent element signed.
7523         * manual/message.texi: Add Estonian to plural overview list.
7524         Correct rule for Slavic languages.
7525         Patch by Stanislav Brabec <utx@penguin.cz>.
7527         * nis/nss_nis/nis-netgrp.c: Remove unnecessary initializations.
7529 2000-12-18  Andreas Jaeger  <aj@suse.de>
7531         * test-skeleton.c: Use temp_name_list instead of name_list to
7532         avoid collision with name_list from inet/netgroup.h.
7534         * nss/nss_files/files-network.c (NEED_H_ERRNO): Define.
7536         * include/grp.h (DECLARE_NSS_PROTOTYPES): New.
7537         * include/pwd.h (DECLARE_NSS_PROTOTYPES): New.
7538         * include/netdb.h (DECLARE_NSS_PROTOTYPES): New.
7539         * include/shadow.h (DECLARE_NSS_PROTOTYPES): New.
7541         * hesiod/nss_hesiod/hesiod-proto.c (_nss_hesiod_setprotoent): Fix
7542         declaration to match prototype.
7543         * hesiod/nss_hesiod/hesiod-pwd.c (_nss_hesiod_setpwent): Likewise.
7544         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_setgrent): Likewise.
7545         * hesiod/nss_hesiod/hesiod-service.c (_nss_hesiod_setservent):
7546         Likewise.
7547         * nis/nss_nis/nis-grp.c (_nss_nis_setgrent): Likewise.
7548         * nis/nss_nis/nis-pwd.c (_nss_nis_setpwent): Likewise.
7549         * nis/nss_nis/nis-proto.c (_nss_nis_setprotoent): Likewise.
7550         * nis/nss_nis/nis-service.c (_nss_nis_setservent): Likewise.
7551         (_nss_nis_getservbyport_r): Likewise.
7552         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent): Likewise.
7553         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent): Likewise.
7554         * nis/nss_nis/nis-network.c (_nss_nis_getnetent_r): Likewise.
7555         (_nss_nis_setnetent): Likewise
7556         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
7557         (_nss_nis_endnetgrent): Likewise.
7558         * nis/nss_nisplus/nisplus-netgrp.c (_nss_nisplus_endnetgrent):
7559         Likewise.
7560         (_nss_nisplus_setnetgrent): Likewise.
7561         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Likewise.
7562         * nis/nss_nisplus/nisplus-pwd.c (_nss_nisplus_setpwent): Likewise.
7563         * nis/nss_nisplus/nisplus-grp.c (_nss_nisplus_setgrent): Likewise.
7564         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_setnetent):
7565         Likewise.
7566         * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_sethostent):
7567         Likewise.
7568         * nis/nss_nisplus/nisplus-service.c (_nss_nisplus_setservent):
7569         Likewise.
7570         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_setprotoent):
7571         Likewise.
7572         * nis/nss_compat/compat-spwd.c (_nss_compat_setspent): Likewise.
7573         * nis/nss_compat/compat-pwd.c (_nss_compat_setpwent): Likewise.
7574         * nis/nss_compat/compat-grp.c (_nss_compat_setgrent): Likewise.
7575         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Likewise.
7576         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Likewise.
7577         (_nss_dns_getnetbyaddr_r): Likewise.
7579 2000-12-17  Andreas Jaeger  <aj@suse.de>
7581         * sysdeps/generic/k_sinl.c (__kernel_sinl): Fix functions
7582         parameter.
7584         * sysdeps/unix/sysv/linux/shm_open.c (freeit): Make static and add
7585         unused attribute to shut up gcc warnings.
7587         * sysdeps/generic/k_sinl.c: Include math_private for prototypes.
7588         * sysdeps/generic/k_tanl.c: Likewise.
7589         * sysdeps/generic/k_cosl.c: Likewise.
7590         * sysdeps/generic/e_j0l.c: Likewise.
7591         * sysdeps/generic/e_j1l.c: Likewise.
7592         * sysdeps/generic/e_jnl.c: Likewise.
7593         * sysdeps/generic/e_lgammal_r.c: Likewise.
7595         * elf/vismain.c: Move prototypes for functions in vismod*.c to
7596         vismod.h.
7597         * elf/vismod.h: New file.
7598         * elf/Makefile (distribute): Add vismod.h.
7599         * elf/vismod1.c: Include vismod.h.
7600         * elf/vismod2.c: Likewise.
7601         * elf/vismod3.c: Likewise.
7603         * elf/constload3.c: Add prototype declarations to shut up gcc.
7604         * elf/failobj.c: Likewise.
7605         * elf/nodelmod3.c: Likewise.
7606         * elf/filtmod1.c: Likewise.
7607         * elf/filtmod2.c: Likewise.
7608         * elf/reldepmod1.c: Likewise.
7609         * elf/reldepmod2.c: Likewise.
7610         * elf/reldepmod3.c: Likewise.
7611         * elf/reldepmod4.c: Likewise.
7612         * elf/unload2dep.c: Likewise.
7613         * elf/unload2mod.c: Likewise.
7614         * elf/ltglobmod1.c: Likewise.
7615         * elf/pathoptobj.c: Likewise.
7616         * elf/neededobj1.c: Likewise.
7617         * elf/neededobj2.c: Likewise.
7618         * elf/neededobj3.c: Likewise.
7619         * elf/neededobj4.c: Likewise.
7620         * elf/nextmod1.c: Likewise.
7621         * elf/nextmod2.c: Likewise.
7623         * locale/programs/ld-collate.c (collate_finish): Don't use labels
7624         at end of compound statement.
7625         * locale/programs/locale.c (show_info): Likewise.
7626         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Likewise.
7628 2000-12-16  Jakub Jelinek  <jakub@redhat.com>
7630         * catgets/gencat.c (read_input_file): Avoid calling obstack_free
7631         with a pointer not returned by obstack_ functions.
7633 2000-12-16  Ulrich Drepper  <drepper@redhat.com>
7635         * sysdeps/unix/sysv/aix/bits/stat.h (struct stat): Align with AIX
7636         version.
7637         (struct stat64): Likewise.
7638         Reported by Michael Keezer <mkeezer@redhat.com>.
7640         * timezone/asia: Update from tzdata2000h.
7641         * timezone/australasia: Likewise.
7642         * timezone/backward: Likewise.
7643         * timezone/europe: Likewise.
7644         * timezone/northamerica: Likewise.
7645         * timezone/southamerica: Likewise.
7646         * timezone/zone.tab: Likewise.
7648 2000-12-14  Jakub Jelinek  <jakub@redhat.com>
7650         * io/ftw.c (ftw_dir): If process_entry returned non-zero result
7651         and dir.stream is NULL, only free dir.content.
7652         * io/ftwtest.c (cb, main): Add --early-exit option to test it.
7653         * io/ftwtest-sh: Test with --early-exit.
7655 2000-12-13  Jakub Jelinek  <jakub@redhat.com>
7657         * misc/efgcvt.c (FCVT_MAXDIG): Define.
7658         (FCVT_BUFPTR): New variable.
7659         (fcvt): If fcvt_r returns -1 on the static short buffer,
7660         try to malloc a sufficiently large one and retry.
7661         (free_mem): New function.
7662         * misc/qefgcvt.c (FCVT_MAXDIG): Define.
7663         * misc/tst-efgcvt.c (fcvt_tests): Add new test.
7665 2000-12-15  Ulrich Drepper  <drepper@redhat.com>
7667         * misc/dirname.c (dirname): Fix search for second to last slash.
7669 2000-12-13  Andreas Jaeger  <aj@suse.de>
7671         * misc/tst-dirname.c (main): Fix typo in test to really use
7672         the examples from Unix98.
7673         Reported by Michael Kerrisk <mtk16@ext.canterbury.ac.nz>.
7675 2000-12-09  H.J. Lu  <hjl@gnu.org>
7677         * sysdeps/ia64/fpu/s_fabs.S: New file.
7678         * sysdeps/ia64/fpu/s_fabsf.S: New file.
7679         * sysdeps/ia64/fpu/s_fabsl.S: New file.
7681 2000-12-15  Andreas Jaeger  <aj@suse.de>
7683         * stdio-common/scanf9.c (main): Reformat and change to avoid
7684         warnings.
7686         * stdio-common/tstdiomisc.c: Make local functions static.
7687         * stdio-common/tst-printf.c: Likewise.
7689         * elf/constload2.c: Add prototype declarations to shut up gcc.
7690         * elf/dep1.c: Likewise.
7691         * elf/dep2.c: Likewise.
7692         * elf/dep3.c: Likewise.
7693         * elf/dep4.c: Likewise.
7694         * elf/ltglobmod2.c: Likewise.
7696         * libio/fmemopen.c: Make local functions static.
7698         * elf/Makefile (distribute): Added testobj.h.
7700         * elf/testobj.h: New file.
7702         * elf/testobj1.c: Include testobj.h and move prototype
7703         declarations to testobj.h.
7704         * elf/testobj2.c: Likewise.
7705         * elf/testobj3.c: Likewise.
7706         * elf/testobj4.c: Likewise.
7707         * elf/testobj5.c: Likewise.
7708         * elf/testobj6.c: Likewise.
7709         * elf/testobj1_1.c: Likewise.
7710         * elf/preloadtest.c: Likewise.
7712 2000-12-15  Ben Collins  <bcollins@debian.org>
7714         * misc/sys/cdefs.h: Fix thinko in checks for flexarr macros.
7715         Patch by Akim Demaille <akim@epita.fr> in Debian bug report.
7717 2000-12-14  H.J. Lu  <hjl@gnu.org>
7719         * sysdeps/ieee754/flt-32/s_sincosf.c (__sincosf): The exponent
7720         field in a float is 8 bits, not 11 bits.
7722 2000-12-13  Jakub Jelinek  <jakub@redhat.com>
7724         * math/test-misc.c (main): Adjust m for IEEE quad long double.
7726 2000-12-13  Andreas Jaeger  <aj@suse.de>
7728         * manual/message.texi (Using gettextized software): Fix typo.
7730         * manual/charset.texi (Converting a Character): Fix mbstouwcs
7731         program to compile.
7732         Patch by Martin Buchholz <martin@xemacs.org>.
7734         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Fix typo.
7735         Reported by Michael Kerrisk <mtk16@ext.canterbury.ac.nz>.
7737 2000-12-11  Andreas Jaeger  <aj@suse.de>
7739         * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Declare
7740         kernel_sigset_t and use it.
7741         Patch by Hiroyuki Machida <machida@sm.sony.co.jp>.
7743 2000-12-10  Richard Henderson  <rth@redhat.com>
7745         * sysdeps/alpha/alphaev67/fpu/Implies: New file.
7746         * sysdeps/alpha/alphaev6/fpu/e_sqrtf.S: New file.
7747         * sysdeps/alpha/alphaev6/fpu/e_sqrt.S: New file.
7749 2000-12-10  Jakub Jelinek  <jakub@redhat.com>
7751         * sysdeps/alpha/htonl.S: Fix a typo.
7753 2000-12-10  Jakub Jelinek  <jakub@redhat.com>
7755         * sysdeps/alpha/alphaev6/stxcpy.S: Exchange t8 with t10.
7757 2000-12-10  Andreas Jaeger  <aj@suse.de>
7759         * locale/programs/ld-ctype.c (charclass_symbolic_ellipsis): Fixed
7760         cast as suggested by Jakub Jelinek <jakub@redhat.com> and Ulrich
7761         Drepper <drepper@redhat.com>.
7763 2000-12-09  Andreas Jaeger  <aj@suse.de>
7765         * sysdeps/unix/sysv/linux/mips/sigaction.c: New file.
7767         * sysdeps/unix/sysv/linux/mips/sys/acct.h: Removed, we can use the
7768         generic version.
7769         Patches by Hiroyuki Machida <machida@sm.sony.co.jp>.
7771         * locale/programs/ld-collate.c (handle_ellipsis): Fix format
7772         string.
7774         * locale/programs/ld-ctype.c (charclass_symbolic_ellipsis): Fix
7775         format string.
7777         * nscd/hstcache.c (addhstbyname): Add cast to avoid warning.
7778         * nscd/connections.c (handle_request): Likewise.
7779         * nscd/pwdcache.c (addpwbyname): Likewise.
7780         * nscd/grpcache.c (addgrbyname): Likewise.
7782         * nscd/nscd_conf.c (nscd_parse_file): Remove extra argument.
7784 2000-12-09  Ulrich Drepper  <drepper@redhat.com>
7786         * string/stratcliff.c: Add tests for stpncpy, memcpy, and mempcpy.
7788         * Makeconfig (default_cflags): Make -O2 the default for stable
7789         releases.
7791 2000-12-08  H.J. Lu  <hjl@gnu.org>
7793         * sysdeps/ia64/fpu/s_isinfl.S: Renamed to ...
7794         * sysdeps/ia64/fpu/s_isinf.S: This.
7795         Add a .pred.rel.mutex note to avoid false report.
7797         * sysdeps/ia64/fpu/s_isnanl.S: Renamed to ...
7798         * sysdeps/ia64/fpu/s_isnan.S: This.
7800         * sysdeps/ia64/fpu/s_fpclassify.S: New file.
7801         * sysdeps/ia64/fpu/s_fpclassifyf.S: New file.
7802         * sysdeps/ia64/fpu/s_fpclassifyl.S: New file.
7803         * sysdeps/ia64/fpu/s_isinff.S: New file.
7804         * sysdeps/ia64/fpu/s_isinfl.S: New file.
7805         * sysdeps/ia64/fpu/s_isnanf.S: New file.
7806         * sysdeps/ia64/fpu/s_isnanl.S: New file.
7807         * sysdeps/ia64/fpu/s_finite.S: New file.
7808         * sysdeps/ia64/fpu/s_finitef.S: New file.
7809         * sysdeps/ia64/fpu/s_finitel.S: New file.
7810         * sysdeps/ia64/fpu/s_signbit.S: New file.
7811         * sysdeps/ia64/fpu/s_signbitf.S: New file.
7812         * sysdeps/ia64/fpu/s_signbitl.S: New file.
7813         * sysdeps/ia64/fpu/s_copysign.S: New file.
7814         * sysdeps/ia64/fpu/s_copysignf.S: New file.
7815         * sysdeps/ia64/fpu/s_copysignl.S: New file.
7817 2000-12-08  Ulrich Drepper  <drepper@redhat.com>
7819         * math/libm-test.inc (main): Fix typos in messages.
7821         * string/stratcliff.c: Add test for rawmemchr.
7823 2000-12-08  Jakub Jelinek  <jakub@redhat.com>
7825         * elf/dl-open.c (_dl_open): If objname points right after errstring,
7826         allocate it together with errstring using alloca.
7827         * elf/dl-error.c (_dl_signal_error): If malloc failed, set objname
7828         to "", because it might point to local stack.
7830 2000-12-05  H.J. Lu  <hjl@gnu.org>
7832         * nss/Makefile (routines): Add getnssent and getnssent_r.
7833         * nss/nsswitch.h (__nss_setent): New internal NSS function.
7834         (__nss_endent): Likewise.
7835         (__nss_getent_r): Likewise.
7836         (__nss_getent): Likewise.
7837         * nss/getnssent_r.c: New file.
7838         * nss/getnssent.c: New file.
7839         * nss/getXXent.c (H_ERRNO_VAR): Updated.
7840         (GETFUNC_NAME): Updated to call __nss_getent ().
7841         * nss/getXXent_r.c (H_ERRNO_VAR_P): New.
7842         (STAYOPEN_TMPVAR): Updated.
7843         (STAYOPEN_VAR): Updated.
7844         (SETFUNC_NAME): Updated to call __nss_setent ().
7845         (ENDFUNC_NAME): Updated to call __nss_endent ().
7846         (INTERNAL (REENTRANT_GETNAME)): Updated to call __nss_getent_r ().
7848 2000-12-08  Andreas Jaeger  <aj@suse.de>
7850         * nscd/dbg_log.h (dbg_log): Correct attribute.
7852 2000-12-08  Jakub Jelinek  <jakub@redhat.com>
7854         * elf/dl-load.c (fillin_rpath): Don't assume there is '\0' at
7855         cp + len.  Compute where from dirname.
7856         Reported by <jreiser@BitWagon.com>.
7858 2000-12-08  Richard Henderson  <rth@twiddle.net>
7860         * sysdeps/alpha/_mcount.S: Fix typo.
7861         * sysdeps/alpha/strncpy.S: Likewise.
7863         * sysdeps/alpha/alphaev6/Implies: New file.
7864         * sysdeps/alpha/alphaev67/Implies: New file.
7865         * sysdeps/alpha/alphaev67/ffs.S: New file.
7866         * sysdeps/alpha/alphaev67/ffsll.S: New file.
7867         * sysdeps/alpha/alphaev67/rawmemchr.S: New file.
7868         * sysdeps/alpha/alphaev67/stpcpy.S: New file.
7869         * sysdeps/alpha/alphaev67/stpncpy.S: New file.
7870         * sysdeps/alpha/rawmemchr.S: New file.
7871         * sysdeps/alpha/strcat.S: Tail call to __stxcpy.
7872         * sysdeps/alpha/strcpy.S: Likewise.
7874         From GMP 3.1.1:
7875         * sysdeps/alpha/alphaev6/addmul_1.s: New file.
7877         From rick.gorton@alpha-processor.com:
7878         * sysdeps/alpha/alphaev6/memchr.S: New file.
7879         * sysdeps/alpha/alphaev6/memcpy.S: New file.
7880         * sysdeps/alpha/alphaev6/memset.S: New file.
7881         * sysdeps/alpha/alphaev6/stxcpy.S: New file.
7882         * sysdeps/alpha/alphaev6/stxncpy.S: New file.
7883         * sysdeps/alpha/alphaev67/strcat.S: New file.
7884         * sysdeps/alpha/alphaev67/strchr.S: New file.
7885         * sysdeps/alpha/alphaev67/strlen.S: New file.
7886         * sysdeps/alpha/alphaev67/strncat.S: New file.
7887         * sysdeps/alpha/htonl.S: Use a shorter sequence.
7889 2000-12-08  Jakub Jelinek  <jakub@redhat.com>
7891         * inet/getnameinfo.c (getnameinfo): Fix NI_NOFQDN support.
7892         Reported by <pspencer@fields.utoronto.ca>.
7894 2000-12-07  Jes Sorensen  <jes@linuxcare.com>
7896         * sysdeps/ia64/elf/start.S (__data_start): Add __data_start variable.
7897         Pointed out by Hans Boehm.
7899 2000-12-07  H.J. Lu  <hjl@gnu.org>
7901         * elf/dl-version.c (match_symbol): Check map->l_name[0] for printing.
7903 2000-12-07  Andreas Jaeger  <aj@suse.de>
7905         * misc/error.c: Add format attributes for __error and __error_at_line.
7907         * nscd/dbg_log.h: Add format attribute.
7909 2000-12-08  Ulrich Drepper  <drepper@redhat.com>
7911         * misc/sys/syslog.h: Add format attributes to syslog and vsyslog.
7912         Patch by Joseph S. Myers <jsm28@cam.ac.uk>.
7914 2000-12-07  Dan Pop  <Dan.Pop@cern.ch>
7916         * sysdeps/ia64/strcpy.S: Fix a bug in a recovery code sequence.
7918 2000-12-06  Ulrich Drepper  <drepper@redhat.com>
7920         * sysdeps/unix/sysv/aix/Makefile [$(subdir)==misc]
7921         (sysdep_routines): Add uitrunc.
7922         * sysdeps/unix/sysv/aix/uitrunc.c: New file.
7923         Patches by Michael Keezer <mkeezer@redhat.com>.
7925 2000-12-06  Roland McGrath  <roland@frob.com>
7927         * sysdeps/mach/hurd/ioctl.c (__ioctl): Don't clobber ARG as we copy in
7928         argument data, since it will be used to copy out too (for INOUT).
7929         Reported by Marcus Brinkmann <marcus@gnu.org>.
7931         * sysdeps/mach/hurd/ioctl.c: Include <stdint.h>.
7932         (__ioctl): Use uintptr_t instead of unsigned long int.
7934 2000-12-06  Jim Wilson  <wilson@redhat.com>
7936         * stdlib/l64a.c (l64a): Truncate M to 32-bit value.
7938 2000-12-06  Ulrich Drepper  <drepper@redhat.com>
7940         * stdio-common/printf_fp.c (__printf_fp): Handle decimal point in
7941         x.5 rounding correctly.
7943 2000-12-06  Mark Kettenis  <kettenis@gnu.org>
7945         * stdio-common/perror.c (perror): Conditionalize code dealing with
7946         wide-oriented streams on USE_IN_LIBIO.
7948 2000-12-06  Mark Kettenis  <kettenis@gnu.org>
7950         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup): Mark
7951         as internal_function.
7953 2000-12-05  Ulrich Drepper  <drepper@redhat.com>
7955         * sysdeps/alpha/elf/start.S (__data_start): Define.
7957 2000-12-05  H.J. Lu  <hjl@gnu.org>
7959         * nss/getXXent_r.c (setup): Change the return type to int.
7961 2000-12-05  Ulrich Drepper  <drepper@redhat.com>
7963         * sysdeps/unix/sysv/aix/Makefile [$(subdir)==misc]
7964         (sysdep_routines): Add restf and savef.
7965         * sysdeps/unix/sysv/aix/restf.c: New file.
7966         * sysdeps/unix/sysv/aix/savef.c: New file.
7967         Patches by Michael Keezer <mkeezer@redhat.com>.
7969         * sysdeps/unix/opendir.c (__opendir): Don't use o_directory_works
7970         if O_DIRECTORY is not defined.
7971         Patch by Michael Keezer <mkeezer@redhat.com>.
7973         * include/libc-symbols.h (C_SYMBOL_DOT_NAME): Define.
7974         Patch by Michael Keezer <mkeezer@redhat.com>.
7976         * locale/programs/linereader.c (get_toplvl_escape): Recognize more
7977         than 4 bytes in escape sequence.
7978         Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
7980 2000-12-05  Andreas Jaeger  <aj@suse.de>
7982         * sysdeps/unix/sysv/linux/mips/sys/tas.h (_test_and_set): Don't
7983         set mips2.
7985         * sysdeps/unix/sysv/linux/mips/sysdep.h: New file.
7987         * sysdeps/unix/sysv/linux/mips/sys/syscall.h: Removed.
7989         * sysdeps/unix/mips/sysdep.h: Use SYS_ify.
7990         Patches by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
7992         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Mark as
7993         internal_function.
7994         * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Likewise.
7995         * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start_cleanup): Likewise.
7997         * sysdeps/generic/dl-cache.c: Remove declaration of
7998         _dl_sysdep_read_whole_file.
8000         * elf/dl-load.c (_dl_map_object): Remove declaration of
8001         _dl_load_cache_lookup.
8003         * sysdeps/generic/ldsodefs.h: Add declarations of
8004         _dl_load_cache_lookup, _dl_unload_cache,
8005         _dl_sysdep_read_whole_file, _dl_sysdep_start and
8006         _dl_sysdep_start_cleanup.
8008         * elf/rtld.c: Remove prototypes that are defined in ldsodefs.h
8009         now.
8011         * elf/dl-misc.c: Include <ldsodefs.h> to get prototypes.
8012         * sysdeps/generic/dl-environ.c: Likewise.
8014         * stdio-common/printf_fp.c: Include <gmp.h> instead of
8015         <stdlib/gmp.h>.
8016         * math/atest-exp.c: Likewise.
8017         * math/atest-exp2.c: Likewise.
8018         * math/atest-sincos.c: Likewise.
8019         * stdio-common/_itoa.c: Likewise.
8020         * stdio-common/_itowa.c: Likewise.
8022         * include/gmp.h: New file with internal prototypes.
8024         * sysdeps/generic/longjmp.c: Move _longjmp_unwind declaration from
8025         here to...
8026         * include/setjmp.h: ...here.
8028         * locale/Makefile (routines): Remove codeset_name since it's not
8029         needed anywhere.
8031         * locale/codeset_name.c: Removed.
8033 2000-12-05  Ulrich Drepper  <drepper@redhat.com>
8035         * sysdeps/unix/sysv/aix/sys/param.h: Define MAXHOSTNAMELEN here.
8037 2000-12-05  Andreas Jaeger  <aj@suse.de>
8039         * sysdeps/unix/sysv/linux/sys/param.h: Revert last patch.
8041 2000-12-05  Martin Schwidefsky  <schwidefsky@de.ibm.com>
8043         * sysdeps/unix/sysv/linux/s390/mmap64.S: Use mmap if mmap2 isn't
8044         available.
8046 2000-12-05  Andreas Jaeger  <aj@suse.de>
8048         * nss/test-netdb.c: Mark local functions as static to avoid
8049         warnings.
8050         (main): Use return to silence warning.
8052         * stdlib/test-canon.c (check_path): Mark as static to avoid warning.
8054         * stdio-common/test-popen.c: Mark local functions as static to
8055         avoid warnings.
8056         (main): Use return to silence warning.
8058         * stdlib/testsort.c (compare): Mark as static to avoid warning.
8060         * assert/test-assert.c: Mark local functions as static to avoid
8061         warnings.
8062         * assert/test-assert-perr.c: Likewise.
8064         * math/libm-test.inc (main): Use return to silence warnings.
8066 2000-12-04  Ulrich Drepper  <drepper@redhat.com>
8068         * math/fenv.h: Fix typo in comment.
8070         * math/test-misc.c (main): Add a few more over and underflow tests
8071         for scalb.
8073         * sysdeps/i386/fpu/e_scalb.S: Handle NaN as first parameter correctly.
8074         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
8075         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
8076         * math/w_scalb.c: Don't use matherr except in SVID mode.
8077         * math/w_scalbf.c: Likewise.
8078         * math/w_scalbl.c: Likewise.
8079         * math/test-misc.c: Add test for NaN and scalbl.
8080         Reported by Fred J. Tydeman <tydeman@tybor.com>.
8082 2000-12-04  Ulrich Drepper  <drepper@redhat.com>
8084         * configure.in: Define HAVE_ASM_GLOBAL_DOT_NAME for AIX.
8085         * config.h.in: Add HAVE_ASM_GLOBAL_DOT_NAME.
8086         * include/libc-symbols.h (strong_alias): Define special version
8087         for HAVE_ASM_GLOBAL_DOT_NAME.
8088         (weak_alias): Likewise.
8089         * sysdeps/powerpc/bsd-setjmp.S: Use strong_alias not .set.
8090         * sysdeps/unix/sysv/aix/Makefile [$(subdir)==login]
8091         (sysdep_routines): Add setutxent, getutxent, endutxent, getutxid,
8092         getutxline, pututxline, and utmpxname.
8093         * sysdeps/unix/sysv/aix/fchdir.c: Define __fchdir.
8094         * sysdeps/unix/sysv/aix/lseek.c: Define __libc_lseek alias.
8095         * sysdeps/unix/sysv/aix/open.c: Define __libc_open alias.
8096         * sysdeps/unix/sysv/aix/pread.c: Define pread alias.
8097         * sysdeps/unix/sysv/aix/pread64.c: Define pread64 alias.
8098         * sysdeps/unix/sysv/aix/sysdep.h (JUMPTARGET): Use C_TEXT.
8099         * sysdeps/unix/sysv/aix/bits/types.h: Define __clockid_t and __timer_t.
8100         * sysdeps/unix/sysv/aix/bits/utmp.h: Cleanup.  Add comments.
8101         * sysdeps/unix/sysv/linux/sys/param.h (MAXHOSTNAMELEN): Define.
8102         Patches by Michael Keezer <mkeezer@redhat.com>.
8104 2000-12-04  H.J. Lu  <hjl@gnu.org>
8106         * configure.in: Change --with-oldest-abi=ABI to
8107         --enable-oldest-abi=ABI.
8109 2000-12-02  Bruno Haible  <haible@clisp.cons.org>
8111         * stdio-common/perror.c (perror): If stderr is wide-oriented, use
8112         fwprintf instead of fprintf.
8114 2000-12-04  Ulrich Drepper  <drepper@redhat.com>
8116         * sysdeps/alpha/fpu/bits/mathdef.h: Remove FLT_EVAL_METHOD and
8117         DECIMAL_DIG definitions.
8118         * sysdeps/arm/fpu/bits/mathdef.h: Likewise
8119         * sysdeps/generic/bits/mathdef.h: Likewise
8120         * sysdeps/i386/fpu/bits/mathdef.h: Likewise
8121         * sysdeps/ia64/fpu/bits/mathdef.h: Likewise
8122         * sysdeps/m68k/fpu/bits/mathdef.h: Likewise
8123         * sysdeps/powerpc/fpu/bits/mathdef.h: Likewise
8124         * sysdeps/sparc/fpu/bits/mathdef.h: Likewise
8125         * sysdeps/sh/sh4/fpu/bits/mathdef.h: Likewise
8127 2000-12-03  Ulrich Drepper  <drepper@redhat.com>
8129         * math/test-fenv.c (main): Use return instead of exit to avoid warning.
8131         * math/atest-exp.c: Mark local functions as static to avoid warnings.
8132         * math/atest-exp2.c: Likewise.
8133         * math/atest-sincos.c: Likewise.
8135         * sysdeps/i386/fpu/bits/mathdef.h (DECIMAL_DIG): Correct value.
8136         Reported by Fred J. Tydeman <tydeman@tybor.com>.
8138         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Hopefully fix
8139         the handling of denormalized numbers.
8141         * math/test-misc.c (main): Test for fpclassify and pseudo denormal
8142         numbers on x86.
8143         * sysdeps/i386/fpu/fpclassifyl.c: New file.
8145         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Handle the
8146         pseudo denormal representation of LDBL_MIN.
8148         * iconvdata/SJIS.irreversible: Remove unnecessary entries.
8149         * iconvdata/EUC-JP.irreversible: Remove unnecessary entries.
8151         * iconvdata/sjis.c: Enable round-trip mapping of backslash and tilde.
8152         * iconvdata/jis0208.c: Likewise.
8153         * iconvdata/jis0212.c: Likewise.
8154         Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
8156         * math/test-misc.c (main): More tests for frexp and some for
8157         fpclassify and isnormal.
8159         * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf): Correct
8160         test for subnormal.
8161         Reported by Fred J. Tydeman <tydeman@tybor.com>.
8163         * math/test-misc.c (main): Add tests for frexp.
8164         Reported by Fred J. Tydeman <tydeman@tybor.com>.
8165         * sysdeps/i386/fpu/s_frexpl.S: Don't overflow during the computation.
8167 2000-12-02  H.J. Lu  <hjl@gnu.org>
8169         * locale/lc-time.c (_nl_init_era_entries): Pass L'\0' instead of
8170         '\0' to wcschr.
8172 2000-12-02  Ulrich Drepper  <drepper@redhat.com>
8174         * sysdeps/i386/fpu/s_frexp.S: Add missing fwait.
8175         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
8176         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
8178         * sysdeps/generic/glob.c: Adjust types of several variables to
8179         avoid warnings.
8181 2000-12-01  Ulrich Drepper  <drepper@redhat.com>
8183         * sysdeps/unix/sysv/linux/shm_open.c: Remove incorrect comment.
8185 2000-11-30  Roland McGrath  <roland@frob.com>
8187         * hurd/hurd/ioctl.h (_HURD_HANDLE_IOCTLS_1): New macro.
8188         (_HURD_HANDLE_IOCTLS, _HURD_HANDLE_IOCTL): Redefine using it, so as to
8189         allow multiple instances using the same function name in one file.
8191 2000-12-01  Ulrich Drepper  <drepper@redhat.com>
8193         * configure.in: Correct test for pserver CVS access.
8195 2000-11-28  H.J. Lu  <hjl@gnu.org>
8197         * libio/libio.h: Remove extra "#if ... #endif".
8199 2000-11-29  H.J. Lu  <hjl@gnu.org>
8201         * stdio-common/vfscanf.c (ORIENT): Swap the COMPILE_WSCANF case.
8203 2000-12-01  H.J. Lu  <hjl@gnu.org>
8205         * nss/getXXbyYY_r.c: Fix verioned symbol handling.
8206         * nss/getXXent_r.c: Likewise.
8207         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
8209 2000-11-30  H.J. Lu  <hjl@gnu.org>
8211         * scripts/abi-versions.awk (oldest_abi): New variable.
8212         Handle the oldest ABI supported.
8214         * Makerules ($(common-objpfx)abi-versions.h): Set oldest_abi
8215         for scripts/abi-versions.awk.
8217         * configure.in: Add --with-oldest-abi=ABI.
8218         * configure: Rebuild.
8220         * config.make.in (oldest-abi): New.
8222         * config.h.in (GLIBC_OLDEST_ABI): New.
8224         * csu/version.c (banner): Support GLIBC_OLDEST_ABI.
8226 2000-11-30  Jakub Jelinek  <jakub@redhat.com>
8228         * locale/setlocale.c (setname): Free for all categories, not just
8229         LC_ALL.
8230         (setlocale): Store a copy of string passed by user, not the string
8231         itself.
8233 2000-11-30  Roland McGrath  <roland@frob.com>
8235         * sysdeps/mach/hurd/defs.c (init_stdio): Put this on __libc_subinit
8236         rather than _hurd_fd_subinit, so it happens after it's safe to use
8237         libc facilities like malloc.
8239 2000-11-28  Andreas Jaeger  <aj@suse.de>
8241         * sysdeps/unix/sysv/linux/getdents.c: Add _syscall_getdents64
8242         declaration, adjust declaration of __syscall_getdents to match
8243         kernel.
8245 2000-11-29  H.J. Lu  <hjl@gnu.org>
8247         * sysdeps/generic/readelflib.c (check_ptr): Undefine it first.
8249 2000-11-29  Andreas Jaeger  <aj@suse.de>
8251         * sysdeps/unix/sysv/linux/hppa/brk.c (__brk): Remove unused variable.
8253 2000-11-28  Ulrich Drepper  <drepper@redhat.com>
8255         * dlfcn/defaultmod1.c: Add prototypes to avoid warnings.
8256         * dlfcn/defaultmod2.c: Likewise.
8257         * dlfcn/dlopen.c: Likewise.
8258         * dlfcn/dlopenold.c: Likewise.
8259         * dlfcn/failtestmod.c: Likewise.
8260         * dlfcn/glreflib1.c: Likewise.
8261         * dlfcn/glreflib2.c: Likewise.
8262         * dlfcn/eval.c: Likewise.  Add attributes.
8264         * ctype/ctype-extn.c: Define isblank and not __isblank.
8266         * time/strftime.c: Add const where necessary to avoid warnings.
8267         * time/strptime.c (strptime_internal): Add casts to avoid warnings.
8269 2000-11-22  Paul Eggert  <eggert@twinsun.com>
8271         * time/strftime.c (my_strftime): Do not invoke mbrlen with a
8272         size of (size_t) -1; it's not portable.
8274 2000-11-28  Ulrich Drepper  <drepper@redhat.com>
8276         * sysdeps/i386/fpu/libm-test-ulps: Adjust some values for the
8277         crappy i486 FPU.
8278         Reported by Michael Deutschmann <michael@talamasca.ocis.net>.
8280 2000-11-14  Jes Sorensen  <jes@linuxcare.com>
8282         * sysdeps/ia64/_mcount.S: Call __mcount instead of __mcount_internal.
8284         * sysdeps/ia64/Makefile: Compile _mcount.S in subdir gmon as
8285         _mcount is required by profiled binaries.
8287         * sysdeps/unix/sysv/linux/ia64/machine-gmon.h: Moved to...
8288         * sysdeps/ia64/machine-gmon.h: ...here.
8290 2000-11-28  Masahide Washizawa  <washi@jp.ibm.com>
8292         * iconvdata/Makefile (modules): Add IBM922, IBM1124, and IBM1129.
8293         (distribute): Add ibm922.c, ibm1124.c, ibm1129.c, ibm922.h, ibm1124.h,
8294         and ibm1129.h.
8295         * iconvdata/gconv-modules: Add entries for IBM922, IBM1124, and
8296         IBM1129.
8297         * iconvdata/ibm922.c: New file.
8298         * iconvdata/ibm922.h: New file.
8299         * iconvdata/ibm1124.c: New file.
8300         * iconvdata/ibm1124.h: New file.
8301         * iconvdata/ibm1129.c: New file.
8302         * iconvdata/ibm1129.h: New file.
8303         * iconvdata/testdata/IBM922: New file.
8304         * iconvdata/testdata/IBM922..UTF8: New file.
8305         * iconvdata/testdata/IBM1124: New file.
8306         * iconvdata/testdata/IBM1124..UTF8: New file.
8307         * iconvdata/testdata/IBM1129: New file.
8308         * iconvdata/testdata/IBM1129..UTF8: New file.
8310 2000-11-28  Ulrich Drepper  <drepper@redhat.com>
8312         * catgets/gencat.c (normalize_line): Take extra parameter with escape
8313         character.  Change callers.
8314         (open_conversion): Determine mapping of 0x5c as wchar_t value.
8315         * catgets/Makefile: Add rules to build and run test-gencat.
8316         * catgets/sample.SJIS: New file.
8317         * catgets/test-gencat.c: New file.
8318         * catgets/test-gencat.sh: New file.
8319         Report and test case by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
8321 2000-11-28  Andreas Jaeger  <aj@suse.de>
8323         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Synch with generic
8324         Linux version.
8326 2000-11-28  Ulrich Drepper  <drepper@redhat.com>
8328         * sysdeps/unix/sysv/linux/bits/socket.h: Fix last patch.
8330 2000-11-28  Andreas Jaeger  <aj@suse.de>
8332         * sysdeps/unix/sysv/linux/bits/socket.h (struct cmsghdr): Use
8333         __flexarr.
8334         * sysdeps/unix/sysv/linux/mips/bits/socket.h (struct cmsghdr):
8335         Likewise.
8337 2000-11-27  Ulrich Drepper  <drepper@redhat.com>
8339         * misc/getusershell.c: Make strings in okshells array const.
8340         * misc/regexp.c: Add const to cast to avoid warnings.
8341         * sysdeps/unix/sysv/linux/llseek.c: Add prototype for __llseek.
8342         * sysdeps/unix/sysv/linux/i386/setresuid.c: Add prototype for
8343         __setresuid.
8344         * sysdeps/unix/sysv/linux/i386/setresgid.c: Add prototype for
8345         setresgid.
8346         * misc/error.c: Add prototypes for __error and __error_at_line.
8347         * misc/mntent_r.c (__getmntent_r): Add break at end of switch
8348         statement to avoid warning.
8349         * test-skeleton.c: Mark timeout_handler with noreturn.
8350         * iconv/skeleton.c (get16u): Add const to cast.
8351         (get32u): Likewise.
8352         * iconvdata/gb18030.c: Likewise.
8353         * iconvdata/iso-2022-cn-ext.c: Likewise.
8354         * iconvdata/ansi_x3.110.c: Add cast to avoid warning.
8355         * iconvdata/big5.c: Likewise.
8356         * iconvdata/big5hkscs.c: Likewise.
8357         * iconvdata/iso_6937.c: Likewise.
8358         * iconvdata/iso_6937-2.c: Likewise.
8359         * iconvdata/t.61.c: Likewise.
8360         * iconvdata/iso646.c: Add prototypes for gconv_init and gconv_env.
8361         * iconvdata/unicode.c: Likewise.
8362         * iconvdata/utf-16.c: Likewise.
8363         * iconvdata/cns11643.h (ucs4_to_cns11643): Define needed as size_t.
8364         * iconv/gconv_trans.c (__gconv_translit_find): Avoid one warning
8365         with little code shuffling.
8367         * sysdeps/powerpc/Makefile (CFLAGS-initfini.s): Add -O1 to avoid
8368         the problems introduced when the user selects -O3.
8370         * iconv/gconv.h (__gconv_info): Define __data element using __flexarr.
8371         * misc/sys/cdefs.h: Define __flexarr.
8372         Proposed by Joseph S. Myers <jsm28@cam.ac.uk>.
8374         * iconvdata/iso-2022-jp.c: Add prototypes to avoid warnings.
8375         * iconv/skeleton.c: Likewise.
8376         * iconvdata/iso8859-1.c (BODY to 8859-1): Add const to cast.
8377         * iconv/loop.c (get16): Add const to cast.
8378         (get32): Likewise.
8380 2000-11-27  Andreas Jaeger  <aj@suse.de>
8382         * login/programs/pt_chown.c (do_pt_chown): Mark function as static
8383         to avoid warning.
8384         * login/programs/utmpdump.c (print_entry): Likewise.
8386 2000-11-25  Maciej W. Rozycki  <macro@ds2.pg.gda.pl>
8388         * sysdeps/mips/__longjmp.c (__longjmp): Restore SP and FP last and
8389         in a single asm as they may be used to access other stored
8390         registers.
8391         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
8393 2000-11-27  Andreas Jaeger  <aj@suse.de>
8395         * rt/tst-aio.c: Mark test functions as static to avoid warnings.
8396         * rt/tst-aio64.c: Likewise.
8398 2000-11-27  Ulrich Drepper  <drepper@redhat.com>
8400         * catgets/Makefile (test1.cat): Set LC_ALL, LOCPATH, and GCONV_PATH
8401         for gencat run.
8402         (libc.cat): Likewise.
8403         * catgets/gencat.c: Implement handling of message catalogs encoded
8404         with stateful character sets.
8405         Based on a patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
8407 2000-11-26  Ulrich Drepper  <drepper@redhat.com>
8409         * sysdeps/unix/opendir.c (__opendir): Add cast to avoid warning.
8411         * inet/getnameinfo.c: Adjust casts to avoid warnings.
8412         * inet/rcmd.c: Likewise.
8413         * inet/ruserpass.c: Likewise.
8414         * inet/netinet/in.h (IN6_IS_ADDR_UNSPECIFIED, IN6_IS_ADDR_LOOPBACK,
8415         IN6_IS_ADDR_MULTICAST, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
8416         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, IN6_ARE_ADDR_EQUAL,
8417         IN6_IS_ADDR_MC_NODELOCAL, IN6_IS_ADDR_MC_LINKLOCAL,
8418         IN6_IS_ADDR_MC_SITELOCAL, IN6_IS_ADDR_MC_ORGLOCAL,
8419         IN6_IS_ADDR_MC_GLOBAL): Preserve const in cast.
8420         * include/aliases.h: Add prototypes for internal __getalias* functions.
8421         * include/netdb.h: Add prototypes for __old_gethostent_r,
8422         __old_gethostbyaddr_r, __old_gethostbyname_r, __old_gethostbyname2_r,
8423         __old_getnetent_r, __old_getnetbyaddr_r, __old_getnetbyname_r,
8424         __old_getservent_r, __old_getservbyname_r, __old_getservbyport_r,
8425         __old_getprotoent_r, __old_getprotobyname_r, __old_getprotobynumber_r.
8426         * include/rpc/netdb.h: Add prototypes for __old_getrpcbyname_r,
8427         __old_getrpcbynumber_r, __old_getrpcent_r.
8429         * include/rpc/netdb.h: Add __getrpcbyname_r, __getrpcbynumber_r,
8430         __getrpcent_r prototypes.
8432 2000-11-25  Ulrich Drepper  <drepper@redhat.com>
8434         * string/strcoll.c: Add casts to avoid warnings.
8435         * string/strnlen.c: Likewise.
8436         * string/strxfrm.c: Likewise.
8437         * sysdeps/generic/_strerror.c: Likewise.
8438         * sysdeps/generic/memrchr.c: Likewise.
8439         * sysdeps/generic/strcasestr.c: Likewise.
8440         * sysdeps/generic/strstr.c: Likewise.
8442         * locale/weight.h (findidx): Add const to cast to avoid warning.
8444         * elf/loadfail.c: Little cosmetic changes to avoid warnings.
8445         * elf/loadtest.c: Likewise.
8446         * elf/multiload.c: Likewise.
8447         * elf/next.c: Likewise.
8448         * elf/nodelete.c: Likewise.
8449         * elf/noload.c: Likewise.
8450         * elf/order.c: Likewise.
8451         * elf/origtest.c: Likewise.
8452         * elf/preloadtest.c: Likewise.
8453         * elf/restest1.c: Likewise.
8455         * sysdeps/i386/i486/bits/string.h (__strncat_g) [i686]: Fourth
8456         parameter of asm must be in %ecx.
8458         * string/tester.c: Mark test functions as static to avoid warnings.
8460         * iconv/gconv_conf.c (read_conf_file): Make mod_counter static to
8461         preserve value over different gconv-modules files.
8463 2000-11-24  Ulrich Drepper  <drepper@redhat.com>
8465         * locale/findlocale.c: Add casts to avoid warnings.
8466         * locale/localeinfo.h (LIMAGIC): Add cast to avoid warnings.
8467         * misc/efgcvt_r.c (fcvt_r): Use ssize_t instead of int and add cast
8468         to avoid warnings.
8469         * misc/tsearch.c (const_node): New type.
8470         (trecurse): Correct casts to avoid warnings.
8471         (__twalk): Likewise.
8472         * stdlib/tst-limits.c: Add z modifier to formats for WORD_BIT and
8473         LONG_BIT.
8475         * debug/backtrace-tst.c (compare): Add casts to avoid warnings.
8477         * test-skeleton.c: Mark local functions as static to avoid warnings.
8479 2000-11-23  H.J. Lu  <hjl@gnu.org>
8481         * rt/tst-aio6.c (do_test): Use pipe instead of STDIN_FILENO to
8482         support the background job.
8483         Fix a typo.
8485 2000-11-24  Ulrich Drepper  <drepper@redhat.com>
8487         * iconv/gconv_conf.c (insert_module): Replace old entry if new one
8488         has same names but lower cost.
8490 2000-11-23  Jakub Jelinek  <jakub@redhat.com>
8492         * sysdeps/sparc/sparc32/dl-machine.h: Ifdef out handling for relocs
8493         which never occur during bootstrap.
8494         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
8496 2000-11-23  Andreas Jaeger  <aj@suse.de>
8498         * nss/nss_files/files-hosts.c: Remove getipnodebyname.
8500         * nss/Versions: Remove _nss_files_getipnodebyname_r.
8502         * sysdeps/unix/sysv/linux/Versions: Fix typo in last patch.
8504 2000-11-18  Martin Buchholz  <martin@xemacs.org>
8506         * csu/gmon-start.c (__gmon_start__): Avoid over-clever trick `if
8507         (called++) return;'
8509 2000-11-21  Alan Modra  <alan@linuxcare.com.au>
8511         * sysdeps/generic/bsd-_setjmp.c (setjmp): Rename to _setjmp.
8513         * csu/abi-note.S: Correct comment for operating system number.
8515 2000-11-22  Ulrich Drepper  <drepper@redhat.com>
8517         * Versions.def: Add GLIBC_2.2.1 for glibc.
8519 2000-11-22  Andreas Schwab  <schwab@suse.de>
8521         * sysdeps/unix/sysv/linux/syscalls.list: Add pivot_root.
8522         * sysdeps/unix/sysv/linux/Versions: Add pivot_root at GLIBC_2.2.1.
8524 2000-11-22  Ulrich Drepper  <drepper@redhat.com>
8526         * rt/aio_suspend.c (aio_suspend): Convert timeout value to
8527         absolute time for pthread_cond_timedwait call.
8528         Reported by Lawrence Chen <lchen@opentext.com> [libc/1930].
8530         * rt/Makefile (tests): Add tst-aio6.
8531         * rt/tst-aio6.c: New file.
8533 2000-11-23  Andreas Jaeger  <aj@suse.de>
8535         * sysdeps/s390/bits/string.h (strncat): Fix one more typo.
8537 2000-11-22  Andreas Jaeger  <aj@suse.de>
8539         * sysdeps/s390/bits/string.h (strncat): Add missing quotation marks.
8541 2000-11-21  Martin Schwidefsky  <schwidefsky@de.ibm.com>
8543         * sysdeps/s390/bits/string.h: Make strncat always add a \0.
8545 2000-11-21  Andreas Schwab  <schwab@suse.de>
8547         * sysdeps/alpha/setjmp.S: Remove __setjmp entry point.
8548         * sysdeps/arm/setjmp.S: Likewise.
8549         * sysdeps/arm/fpu/setjmp.S: Likewise.
8550         * sysdeps/i386/setjmp.S: Likewise.
8551         * sysdeps/i386/elf/setjmp.S: Likewise.
8552         * sysdeps/s390/setjmp.S: Likewise.
8553         * sysdeps/s390/elf/setjmp.S: Likewise.
8554         * sysdeps/sh/sh3/setjmp.S: Likewise.
8555         * sysdeps/sh/sh4/setjmp.S: Likewise.
8556         * sysdeps/sparc/sparc32/setjmp.S: Likewise.
8557         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
8558         * sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S: Likewise.
8559         * sysdeps/unix/sysv/linux/m68k/setjmp.c: Removed.
8561 2000-11-21  Andreas Jaeger  <aj@suse.de>
8563         * sysdeps/generic/__longjmp.c (__longjmp): Remove obsolete
8564         NORETURN, fix parameter list.
8566         * string/bug-strncat1.c (main): Fix typo.
8567         Patch by Bernhard Kaindl <bernhard.kaindl@suse.de>.
8569 2000-11-20  Ulrich Drepper  <drepper@redhat.com>
8571         * configure.in: Add --enable-all-warnings.
8572         * config.make.in (all-warnings): New variable.
8573         * Makeconfig (+gccwarn): Define with many more warnings if
8574         all-warnings is yes.
8576 2000-11-20  Jakub Jelinek  <jakub@redhat.com>
8578         * iconvdata/bug-iconv2.c (main): Use %zd in format string.
8579         * io/test-lfs.c (do_test): Cast statbuf.st_size to long long.
8580         * malloc/tst-valloc.c (main): Cast valloc return value to long.
8581         * malloc/tst-obstack.c (verbose_malloc): Use %zd in format string.
8582         * math/test-fpucw.c (main): Use %lx in format string, cast
8583         control words to long.
8584         * stdio-common/tst-fmemopen.c (main): Use %td in format strings.
8585         * stdlib/tst-strtol.c (tests): Avoid (bogus?) decimal constant is so
8586         large that it is unsigned warning.
8588         * sysdeps/unix/sysv/linux/sparc/bits/types.h (__ssize_t): Changing
8589         it to long on sparc64.
8591 2000-11-20  Andreas Jaeger  <aj@suse.de>
8593         * nscd/nscd.h (termination_handler): Add noreturn attribute.
8594         (receiv_print_stats): Likewise.
8596         * elf/ldconfig.c (path_hwcap): Cast -1 for proper comparison.
8598 2000-11-20  Ulrich Drepper  <drepper@redhat.com>
8600         * malloc/thread-m.h: gcc doesn't tolerate zero-sized types anymore.
8602         * csu/gmon-start.c: Always have prototype for __gmon_start.
8603         * csu/version.c: Add prototypes for __libc_print_version and
8604         __libc_main.
8605         * iconv/gconv.c: Include gconv_int.h and gconv.h.
8606         * iconv/gconv.h (struct __gconv_step): Remove const from __from_name
8607         and __to_name.
8608         * iconv/gconv_builtin.h: Add ASCII module definitions.
8609         * iconv/gconv_conf.c (__gconv_path_elem): Remove const.
8610         (add_module): Add cast to avoid warning.  Rework construction of
8611         strings for new module.
8612         * iconv/gconv_db.c (__gconv_alias_compare): Make s1 and s2 const.
8613         (derivation_compare): Likewise.
8614         * iconv/gconv_dl.c (do_release_shlib): Remove const from nodep.
8615         (__gconv_release_shlib): Cast do_release_shlib as parameter for twalk.
8616         * iconv/gconv_int.h (__gconv_path_elem): Remove const.
8617         (struct gconv_alias): Remove const from fromname and toname.
8618         * iconv/gconv_simple.c: Include gconv_builtin.h to get prototypes
8619         for loop functions.
8620         (internal_ucs4_loop): Use correct const-ness.
8621         (ucs4_internal_loop): Likewise.
8622         (internal_ucs4le_loop): Likewise.
8623         (ucs4le_internal_loop_single): Likewise.
8624         * iconv/gconv_trans.c (__gconv_transliterate): Make from_idx, from_tbl,
8625         to_idx, to_tbl, winbuf, winbufend const.  Change casts in
8626         assignments appropriately.
8627         (struct known_trans): Remove const from fname.
8628         (trans_compare): Make s1 and s2 const.
8629         * iconv/loop.c (LOOPFC): Make outend parameter const.  Add cast to
8630         avoid warning.
8631         * iconv/skeleton.c: Remove cast in calls of loop functions.
8632         * iconvdata/gconv-modules: Remove US-ASCII definitions.
8633         * iconvdata/iso646.c: Remove US_ASCII support.
8634         * include/set-hooks.h (DEFINE_HOOK): Also generate prototype.
8635         * include/unistd.h: Add __libc_check_standard_fds prototype.
8636         * string/bits/string2.h (__mempcpy_args): Add const to casts.
8637         * sysdeps/generic/initfini.c: Add prototypes for dummy, _init, and
8638         _fini.
8639         * sysdeps/generic/libc-start.c: Add prototype for __libc_start_main.
8640         * sysdeps/i386/i486/bits/string.h (strcmp): Add const to casts.
8641         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Add cast to avoid
8642         warning.
8643         * sysdeps/unix/sysv/linux/init-first.c: Add prototypes for
8644         __libc_init_first and _dl_start.
8645         * intl/dcigettext.c (transcmp): Make s1 and s2 const.
8646         (DCIGETTEXT): Make domaindata variable const.
8647         * intl/loadmsgcat.c (_nl_load_domain): Rearrange domain initialization
8648         to avoid warning.
8650 2000-11-20  Hiroyuki Machida  <machida@sm.sony.co.jp>
8652         * sysdeps/unix/sysv/linux/mips/clone.S: Fix comments.
8654         * sysdeps/unix/sysv/linux/mips/kernel_stat.h (kernel_stat): Expand
8655         time_t to 'long int' not, 'unsigned int'.  Use 'long int' for
8656         __unused? members.
8658         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (O_NOFOLLOW): Use same
8659         value defined in /usr/include/asm-mips/fcntl.h.
8661 2000-11-18  Ulrich Drepper  <drepper@redhat.com>
8663         * stdio-common/Makefile (tests): Add test-vfprintf.
8664         (test-vfprintf-ENV): New variable.
8665         * stdio-common/test-vfprintf.c: New file.
8667         * wcsmbs/mbrtowc.c (__mbrtowc): Do not only flush if input is '\0'.
8669         * wcsmbs/Makefile (tests): Add tst-mbrtowc and tst-wcrtomb.
8670         (tst-mbrtowc-ENV): New variable.
8671         (tst-wcrtomb-ENV): New variable.
8672         * wcsmbs/tst-mbrtowc.c: New file.
8673         * wcsmbs/tst-wcrtomb.c: New file.
8675 2000-11-16  Andreas Jaeger  <aj@suse.de>
8677         * manual/install.texi (Tools for Compilation): Update
8678         documentation for GCC 2.95.2.
8680 2000-11-18  Ulrich Drepper  <drepper@redhat.com>
8682         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only return -EAI_AGAIN
8683         if IPv4 and IPv6 requests timed out.
8685 2000-11-18  Akim Demaille  <akim@epita.fr>
8687         * malloc/obstack.h: Formatting changes.
8688         (obstack_grow, obstack_grow0): Don't cast WHERE at all: it
8689         prevents type checking.
8690         (obstack_ptr_grow, obstack_ptr_grow_fast): When assigning, don't
8691         cast the value to (void *): assigning a `foo *' to a `void *'
8692         variable is valid.
8693         (obstack_int_grow, obstack_int_grow_fast): Don't cast AINT to int.
8695 2000-11-17  Ulrich Drepper  <drepper@redhat.com>
8697         * scripts/config.guess: Update from upstream maintainer.
8698         * scripts/config.sub: Likewise.
8700 2000-11-16  Ulrich Drepper  <drepper@redhat.com>
8702         * libio/freopen.c (freopen): Reset _mode after succesful reopening.
8703         * libio/freopen64.c (freopen64): Likewise.
8704         Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
8706         * libio/Makefile: Add rules to build and run test-freopen.
8707         * libio/test-freopen.c: New file.
8708         * libio/test-freopen.sh: New file.
8710 2000-11-15  H.J. Lu  <hjl@gnu.org>
8712         * sysdeps/generic/ldsodefs.h (DL_DT_INIT_ADDRESS): Defined if
8713         ELF_FUNCTION_PTR_IS_SPECIAL is not defined.
8714         (DL_DT_FINI_ADDRESS): Likewise.
8716         * sysdeps/ia64/dl-lookupcfg.h (_dl_lookup_address): Set the
8717         return type to ElfW(Addr).
8718         (_dl_function_address): New prototype.
8719         (DL_FUNCTION_ADDRESS): Defined.
8720         (DL_DT_INIT_ADDRESS): Defined as DL_FUNCTION_ADDRESS.
8721         (DL_DT_FINI_ADDRESS): Likewise.
8723         * sysdeps/ia64/Versions (GLIBC_2.2): Add _dl_function_address.
8725         * sysdeps/ia64/dl-machine.h (_dl_start_address): Removed.
8726         (ELF_MACHINE_START_ADDRESS): Changed to DL_FUNCTION_ADDRESS.
8728         * sysdeps/ia64/dl-symaddr.c (_dl_start_address): Renamed to ...
8729         (_dl_function_address): This.
8731         * elf/dl-fini.c (_dl_fini): Use DL_DT_FINI_ADDRESS to get the
8732         function pointer for DT_FINI.
8733         * elf/dl-close.c (_dl_close): Likewise.
8735         * elf/dl-init.c (_dl_init): Use DL_DT_INIT_ADDRESS to get the
8736         function pointer for DT_INIT.
8738 2000-11-16  Jakub Jelinek  <jakub@redhat.com>
8740         * sysdeps/generic/printf_fphex.c (__printf_fphex): Compute correctly
8741         end of wexpbuf buffer.
8743 2000-11-16  Andreas Jaeger  <aj@suse.de>
8745         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove duplicate
8746         definition of F_GETLK, F_SETLK, F_SETLKW.
8748 2000-11-16  Andreas Jaeger  <aj@suse.de>
8750         * sysdeps/generic/dl-cache.c (_DL_PLATFORMS_COUNT): Define to 0 if
8751         it's not defined.
8753 2000-11-15  Jakub Jelinek  <jakub@redhat.com>
8755         * dlfcn/default.c (main): Add test for dladdr of main returning
8756         argv[0] in dli_fname field.
8758 2000-11-15  Jakub Jelinek  <jakub@redhat.com>
8760         * Makeconfig (run-program-prefix): Move test-static test into the
8761         variable.
8763         * sysdeps/alpha/dl-machine.h (RTLD_START): Update _dl_argv.
8764         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise,
8765         schedule instructions.
8766         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise,
8767         schedule instructions, fix a bug in copying auxiliary data.
8769 2000-11-15  Ulrich Drepper  <drepper@redhat.com>
8771         * manual/startup.texi (Program Arguments): Fix type of main's envp
8772         parameter.
8773         Reported by Raúl Núñez de Arenas Coronado <dervishd@linuxfreak.com>.
8775         * iconvdata/gconv-modules: Add CP950 alias.
8777 2000-11-13  Jakub Jelinek  <jakub@redhat.com>
8779         * sysdeps/unix/sysv/linux/Makefile: Allow ports to override
8780         syscall-list.h goal.
8781         * sysdeps/unix/sysv/linux/sparc/Makefile: New file.
8783 2000-11-15  Ulrich Drepper  <drepper@redhat.com>
8785         * intl/Makefile: tst-gettext2.sh does not need a third parameter.
8787         * intl/tst-gettext2.sh: Copy locale data.  Adjust LOCPATH.  Verify
8788         output of program.
8790         * intl/tst-gettext2.c: Set C locale if setting other locale
8791         failed.  Use gettext() not _().
8793         * locale/setlocale.c: Increment _nl_msg_cat_cntr whenever we
8794         successfully loaded a new locale.
8796 2000-11-13  Andreas Jaeger  <aj@suse.de>
8798         * configure.in: Require gcc 2.95 or newer.
8800 2000-11-15  Ulrich Drepper  <drepper@redhat.com>
8802         * sysdeps/unix/sysv/linux/paths.h: Adjust for FHS.
8803         Patch by Arkadiusz Miskiewicz <misiek@pld.ORG.PL>.
8805 2000-11-11  Jim Meyering  <meyering@lucent.com>
8807         * string/strndup.c (strndup): Cast return value to `char *'.
8809 2000-11-15  Jim Meyering  <meyering@ascend.com>
8811         * sysdeps/generic/memchr.c: Remove some useless parentheses.
8812         [HAVE_STDLIB_H || defined _LIBC]: Include <stdlib.h>.
8813         [HAVE_BP_SYM_H || defined _LIBC]: Guard inclusion of bp-sym.h.
8814         [! (HAVE_BP_SYM_H || defined _LIBC)] (BP_SYM): Define as no-op.
8815         Also #undef __memchr.
8816         Use `weak_alias' only if it's defined.
8818 2000-11-10  H.J. Lu  <hjl@gnu.org>
8820         * Makefile.in (install): Set LANGUAGE=C LC_ALL=C.
8822 2000-11-15  Andreas Jaeger  <aj@suse.de>
8824         * elf/chroot_canon.c: Include <stdint.h>.
8826         * elf/cache.c (struct cache_entry): Use uint64_t for hwcap.
8827         (print_entry): Likewise.
8828         (add_to_cache): Likewise.
8830         * elf/ldconfig.h (add_to_cache): Change prototype for hwcap change.
8832         * elf/ldconfig.c (struct lib_entry): Use uint64_t for hwcap.
8833         (path_hwcap): Likewise.
8834         (search_dir): Likewise.
8836         * sysdeps/generic/dl-cache.c (HWCAP_CHECK): Handle platform.
8838         * elf/cache.c (add_to_cache): Handle 64 bit hwcap entry.
8840         * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h
8841         (_dl_platform_string): New.
8842         (_DL_HWCAP_PLATFORM): New.
8843         (_dl_string_platform): New.
8844         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h: Likewise.
8846         * sysdeps/generic/dl-procinfo.h (_DL_HWCAP_COUNT): New.
8847         (_dl_string_platform): New.
8848         (_DL_HWCAP_PLATFORM): New.
8849         (_dl_platform_string): New.
8851         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Added x86 platform
8852         recognition.
8853         (_DL_HWCAP_COUNT): New.
8854         (_dl_string_platform): New.
8855         (_DL_HWCAP_PLATFORM): New.
8856         (_dl_platform_string): New.
8858 2000-11-14  Ulrich Drepper  <drepper@redhat.com>
8860         * iconvdata/gconv-modules: Add CP936 as alias for GBK.
8862 2000-11-14  Andreas Jaeger  <aj@suse.de>
8864         * sysdeps/generic/dl-cache.c (HWCAP_CHECK): Fix access to _dl_hwcap.
8866 2000-11-13  Roland McGrath  <roland@frob.com>
8868         * hurd/get-host.c (_hurd_get_host_config): Fix last change.
8870 2000-11-13  Marcus Brinkmann <marcus@gnu.org>
8872         * hurd/get-host.c (_hurd_get_host_config): Fix possible buffer
8873         underrun and make sure the result is null terminated even if there
8874         is no trailing newline.
8876 2000-11-13  Jakub Jelinek  <jakub@redhat.com>
8878         * sysdeps/alpha/fpu/libm-test-ulps: Update.
8880 2000-11-10  H.J. Lu  <hjl@gnu.org>
8882         * sysdeps/ia64/fpu/libm-test-ulps: Updated.
8884 2000-11-10  Andreas Jaeger  <aj@suse.de>
8886         * elf/ldconfig.c (create_links): Fix alloca calculation.
8887         Patch by Ben Collins <bcollins@debian.org>.
8889 2000-11-09  Ulrich Drepper  <drepper@redhat.com>
8891         * inet/getnameinfo.c (getnameinfo): Use correct destination
8892         parameter for if_indextoname.
8893         Patch by Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>.
8895 2000-11-09  H.J. Lu  <hjl@gnu.org>
8897         * sunrpc/Versions (GLIBC_2.1): Remove xdr_cryptkeyarg,
8898         xdr_cryptkeyarg2, xdr_cryptkeyres, xdr_des_block,
8899         xdr_key_netstarg, xdr_key_netstres, xdr_keybuf and
8900         xdr_keystatus.
8902         * time/Versions (GLIBC_2.1): Move getitimer to...
8903         * sysdeps/unix/sysv/linux/alpha/Versions (GLIBC_2.1): ...here.
8905 2000-11-03  Bruno Haible  <haible@clisp.cons.org>
8907         * manual/install.texi: Recommend to set LANGUAGE=C LC_ALL=C during
8908         "make install", to work around a binary incompatibility between
8909         glibc 2.1 and glibc 2.2 gconv modules.
8911 2000-11-09  Ulrich Drepper  <drepper@redhat.com>
8913         * intl/locale.alias: Add thai.
8914         Patch by Chanop Silpa-Anan <chanop@syseng.anu.edu.au>.
8916 2000-11-07  Akim Demaille  <akim@epita.fr>
8918         * malloc/obstack.c (obstack_grow, obstack_grow0): Rename the second
8919         argument `data' for consistency with the prototypes.
8920         Qualify it `const'.
8921         (obstack_copy, obstack_copy0): Rename the second argument as
8922         `address' for consistency.  Qualify it `const'.
8923         * malloc/obstack.h (obstack_copy, obstack_copy0, obstack_grow)
8924         (obstack_grow0, obstack_ptr_grow, obstack_ptr_grow_fast): Qualify
8925         `const' their input argument (`data' or `address').
8926         Adjust the corresponding macros to include `const' in casts.
8928 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
8930         * sysdeps/posix/getaddrinfo.c: Clean-up: define family to hold
8931         target family.
8933 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
8935         * sysdeps/posix/getaddrinfo.c: Loosen protocol check to ease raw
8936         socket creation.
8938 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
8940         * sysdeps/posix/getaddrinfo.c: Ensure to fill ai_socktype and
8941         ai_protocol by internal table if service was not given.
8943 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
8945         * sysdeps/posix/getaddrinfo.c: Don't raise an error even if
8946         numerical port was specified with protocol without socktype.
8948 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
8950         * sysdeps/posix/getaddrinfo.c: Ensure to check if protocol is ok.
8952 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
8954         * inet/getnameinfo.c: getnameinfo() NI_xxx flag validation.
8956 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
8958         * sysdeps/posix/getaddrinfo.c: Ensure not to fill garbage value in
8959         sin6_scope_id field.
8961 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
8963         * inet/getnameinfo.c: Repair getnameinfo() sin6_socpe_id support.
8965 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
8967         * inet/getnameinfo.c: Repair NI_NOFQDN flag support.
8969 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
8971         * inet/getnameinfo.c: Wake-up sin6_scope_id support in
8972         getnameinfo(): check for whether sin6_socpe_id exist was wrong.
8974 2000-11-09  Martin Schwidefsky  <mschwide@nc.boeblingen.de.ibm.com>
8976         * sysdeps/unix/sysv/linux/s390/mmap.S: Use mmap2 if it is present.
8977         * sysdeps/unix/sysv/linux/s390/mmap64.S: New file.
8979 2000-11-09  H.J. Lu  <hjl@gnu.org>
8981         * io/Versions (GLIBC_2.1.1): Remove lockf64.
8984 See ChangeLog.11 for earlier changes.