* sysdeps/unix/sysv/linux/m68k/getpagesize.c: Check _dl_pagesize
[glibc.git] / ChangeLog
blobd1649e2b23f56cf5ff95352575c9cbeb69b91c2a
1 2001-07-15  Andreas Schwab  <schwab@suse.de>
3         * sysdeps/unix/sysv/linux/m68k/getpagesize.c: Check _dl_pagesize
4         first.  Default to 4096, not EXEC_PAGESIZE.
6         * iconv/loop.c (put16) [!_STRING_ARCH_unaligned && BIG_ENDIAN]:
7         Fix index.
9 2001-07-09  Andreas Jaeger  <aj@suse.de>
11         * sysdeps/unix/sysv/linux/i386/dl-procinfo.c: Name entry for xmm2.
13         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Add HWCAP_I386_XMM,
14         HWCAP_I386_XMM2 to enum.
16 2001-07-13  Andreas Jaeger  <aj@suse.de>
18         * libio/fileops.c: Include unistd.h for lseek64 prototype.  Closes
19         PR libc/2372.
21 2001-07-12  Ulrich Drepper  <drepper@redhat.com>
23         * Makeconfig: Add some more changes to handle AIX linker better.
25 2001-07-12  H.J. Lu  <hjl@gnu.org>
27         * sysdeps/generic/segfault.c: Include <errno.h>.
29 2001-07-01  Andreas Jaeger  <aj@suse.de>
31         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk): Remove duplicate
32         sbrk.  Closes PR libc/2312.
34 2001-07-01  Andreas Jaeger  <aj@suse.de>
36         * sysdeps/generic/segfault.c (install_handler): Handle case that
37         the output file does not exists.  Closes PR libc/2345.
39 2001-07-11  Ulrich Drepper  <drepper@redhat.com>
41         * intl/locale.alias: Use he language code for hebrew, not il
42         [PR libc/2382].
44 2001-07-11  Jakub Jelinek  <jakub@redhat.com>
46         * iconv/gconv_int.h: Fix comment typo.
48 2001-07-11  Igor Khavkine  <i_khavki@alcor.concordia.ca>
50         * hurd/hurdsig.c (_hurdsig_init): Remove a useless line of code.
52 2001-07-07  Roland McGrath  <roland@frob.com>
54         * hurd/hurdsig.c (_hurd_thread_sigstate): Use MACH_PORT_NULL, not 0.
56 2001-07-10  Stephen L Moshier  <moshier@mediaone.net>
58         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl):  Fix
59         backwards conditional in test for x == 1.0.
61 2001-07-10  Andreas Jaeger  <aj@suse.de>
63         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Add ulps for tanh
64         (-0.7).
66 2001-07-09  Andreas Jaeger  <aj@suse.de>
68         * sysdeps/unix/sysv/linux/configure.in: Revert patch from
69         2001-07-05 for sysconfdir handling.
70         * config.make.in (sysconfdir): Likewise.
71         * configure.in: Likewise.
73         * configure.in: Always assign libc_cv_sysconfdir.
75 2001-07-08  Ulrich Drepper  <drepper@redhat.com>
77         * Makerules [AIX] (build-shlib-helper): Precede linker options
78         with -Wl.
80         * Makeconfig (config-LDFLAGS): Add ld.so only for ELF.
82         * sysdeps/unix/make_errlist.c: Adjust sys_errlist declaration to
83         what we define in <stdio.h>.
85         * iconv/iconv_prog.c (main): Don't unconditionally define
86         variables only use if _POSIX_MAPPED_FILES is defined.
88         * sysdeps/unix/sysv/aix/sendmsg.c (sendmsg): Fix return type.
89         * sysdeps/unix/sysv/aix/recvmsg.c (recvmsg): Likewise.
91         * sysdeps/unix/sysv/aix/recv.c: New file.
93         * sysdeps/unix/sysv/aix/recvfrom.c: Fix various types.
95 2001-07-07  Ulrich Drepper  <drepper@redhat.com>
97         * sysdeps/generic/recv.c: Fix return type.
99         * sysdeps/unix/sysv/aix/dl-libc.c (__libc_dlclose): Fix typo.
101         * sysdeps/unix/sysv/aix/gettimeofday.c (__gettimeofday): Add
102         declarations for asm functions.
104         * include/libc-symbols.h: Provide more dummy definitions for the
105         case if GNU ld isn't used.
107         * libio/freopen.c: Include <stdlib.h> for free declaration.
108         * libio/freopen64.c: Likewise.
110         * sysdeps/alpha/fpu/libm-test-ulps: Add deltas for tanh(-0.7).
112 2001-07-06  Jakub Jelinek  <jakub@redhat.com>
114         * sysdeps/unix/sysv/linux/i386/sigaction.c (RESTORE2): Put asm
115         explicitly into .text section.
117 2001-04-16  Jes Sorensen  <jes@linuxcare.com>
119         * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h (struct sigcontext):
120         Add 16 longwords reserved for future use to match changes in the
121         kernel.
123 2001-07-03  Jes Sorensen  <jes@trained-monkey.org>
125         * sysdeps/ia64/strncpy.S: Call strnlen() when determining the
126         string length rather than strlen(). Solves the performance problem
127         of doing strlen on a 5MB string when strncpy was called with a
128         length argument of 5 bytes.
130 2001-07-02  Jakub Jelinek  <jakub@redhat.com>
132         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
133         R_SPARC_UA16 and R_SPARC_UA32.
134         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
136 2001-07-01  Stephen L Moshier  <moshier@mediaone.net>
138         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl):
139         acosh(x) = ln(2x) if x > 2^30.
140         * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl):
141         acosh(x) = ln(2x) if x > 2^54.
143 2001-07-07  Mark Kettenis  <kettenis@gnu.org>
145         * sysdeps/mach/hurd/i386/exc2signal.c (_hurd_exception2signal):
146         Generate SIGSEGV instead of SIGBUS for KERN_INVALID_ADDRESS and
147         KERN_WRITE_PROTECTION_FAILURE.
149 2001-07-07  Ulrich Drepper  <drepper@redhat.com>
151         * posix/regex.c: Limit string length printed in debug messages to
152         100 chars.
154         * configure.in: Don't warn about versioning if not on ELF system.
156 2001-07-07  Andreas Jaeger  <aj@suse.de>
158         * sysdeps/*: Put files from GNU MP Library under LGPL v2.1.
160 2001-07-06  Ulrich Drepper  <drepper@redhat.com>
162         * po/gl.po: Update from translation team.
164 2001-07-06  Andreas Jaeger  <aj@suse.de>
166         * sysdeps/unix/sysv/linux/configure.in: Fix handling of
167         sysconfdir.
169         * manual/libc-texinfo.sh: Add note for the FDL.
171         * manual/argp.texi (Argp Example 4): Fix texinfo warning.
173         * manual/libc.texinfo: Regenerated.
175         * manual/fdl.texi: Fix node.
177         * config.make.in (sysconfdir): Replace correctly.
178         Closes PR libc/2369, reported by Peter Simons <simons@cryp.to>.
180         * sysdeps/unix/sysv/linux/alpha/configure.in: Removed, it's no
181         longer needed.
183         * sysdeps/unix/sysv/linux/configure.in (libc_cv_linuxVER): Add
184         case for alpha.
185         Rework handling of missing linuxthreads add-on.
187         * configure.in: Remove unused sysconfdir substitution.
189         * manual/Makefile (texis): Add fdl.texi.
190         * manual/fdl.texi: New.
191         * manual/socket.texi (Host Names): Improve grammar, fix overflow hbox.
192         * manual/libc.texinfo: Add fdl, update titlepage.
193         Patches by Brian Youmans <3diff@gnu.org>.
195         * sysdeps/unix/make_errlist.c (main): Print LGPL v2.1 for
196         generated file.
198 2001-07-06  Paul Eggert  <eggert@twinsun.com>
200         * manual/argp.texi: Remove ignored LGPL copyright notice; it's
201         not appropriate for documentation anyway.
202         * manual/libc-texinfo.sh: "Library General Public License" ->
203         "Lesser General Public License".
204         * COPYING: Fix Y2k bug in sample copyright notices.
205         * manual/lesser.texi: Renamed from manual/lgpl.texinfo,
206         as fsf.org uses the name "lesser.texi".
207         * manual/Makefile (texis): Follow rename.
209 2001-07-06  Andreas Jaeger  <aj@suse.de>
211         * All files under GPL/LGPL version 2: Place under LGPL version
212         2.1.
214 2001-07-05  Andreas Jaeger  <aj@suse.de>
216         Synch with Linux 2.4.6:
217         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_BLUETOOTH):
218         New.
219         (AF_BLUETOOTH): New.
221         * sysdeps/unix/sysv/linux/s390/s390-64/bits/socket.h
222         (PF_BLUETOOTH): New.
223         (AF_BLUETOOTH): New.
225         * sysdeps/unix/sysv/linux/mips/bits/socket.h (AF_BLUETOOTH): New.
226         (PF_BLUETOOTH): New.
228         * sysdeps/unix/sysv/linux/ia64/bits/socket.h (AF_BLUETOOTH): New.
229         (PF_BLUETOOTH): New.
231         * sysdeps/unix/sysv/linux/alpha/bits/socket.h (PF_BLUETOOTH): New.
232         (AF_BLUETOOTH): New.
234         * sysdeps/unix/sysv/linux/bits/socket.h (PF_BLUETOOTH): New.
235         (AF_BLUETOOTH): New.
237         * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_IEEE80211): New.
239         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (N_HCI): New.
241         * sysdeps/unix/sysv/linux/mips/bits/ioctl-types.h (N_HCI): New.
243         * sysdeps/unix/sysv/linux/bits/ioctl-types.h (N_HCI): New.
245 2001-07-04  Roland McGrath  <roland@frob.com>
247         * hurd/hurdsig.c (_hurd_internal_post_signal): For SS->suspended
248         wakeup message, use MACH_MSG_TYPE_MAKE_SEND for the receiver port
249         rather than doing a mach_port_insert_right call first.
251 2001-06-26  Roland McGrath  <roland@frob.com>
253         * hurd/hurdioctl.c: Include <string.h> for memcpy decl.
255 2001-07-03  Andreas Jaeger  <aj@suse.de>
257         * sysdeps/unix/sysv/sysv4/solaris2/configure.in: Remove check for
258         crypt add-on.
260 2001-07-01  Mark Kettenis  <kettenis@gnu.org>
262         * sysdeps/mach/hurd/if_index.c: Redone to use new interfaces in
263         the Hurd pfinet server, using equivalent code from the Linux
264         version in sysdeps/unix/sysv/linux/if_index.c. In detail:
265         Include <unistd.h>, <error.h>, <sys/ioctl.h>, <hurd/ioctl.h> and
266         <hurd/pfinet.h>.  Don't include <sys/mman.h> and <hurd/fsys.h>
267         anymore.
268         (if_nametoindex): New implementation using SIOCGIFINDEX.
269         (if_freenameindex): Straight copy of the Linux version.
270         (if_nameindex): New implementation based on pfinet_siocgifconf and
271         SIOCGIFINDEX.
272         (if_indextoname): New implementation using SIOCGIFNAME.
273         (map_interfaces): Function removed.
274         From Marcus Brinkmann <marcus@gnu.org>.
276 2001-06-30  Jakub Jelinek  <jakub@redhat.com>
278         * sysdeps/powerpc/dl-machine.c (__elf_preferred_address): Prefer
279         gaps below main executable.
281 2001-06-19  Andreas Jaeger  <aj@suse.de>
283         * sysdeps/powerpc/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE):
284         Handle profiling.
286 2001-06-29  Andreas Jaeger  <aj@suse.de>
288         * sysdeps/ieee754/ldbl-128/s_asinhl.c: New file.
289         Patch by Stephen L Moshier <moshier@mediaone.net>.
291 2001-06-28  Ulrich Drepper  <drepper@redhat.com>
293         * manual/argp.texi: Tons of cleanups.
294         Patch by Clifford U. Smith <cuel@swbell.net>.
296 2001-06-28  Mark Kettenis  <kettenis@gnu.org>
298         * manual/users.texi (Setting Groups): Correct initgroups
299         documentation.  Add documentation for getgrouplist.
301 2001-06-28  H.J. Lu  <hjl@gnu.org>
303         * locale/findlocale.c (locale_file_list): Renamed to ...
304         (_nl_locale_file_list): This.  Make it extern.
305         (free_mem): Move to ...
306         * locale/setlocale.c (free_mem): Here.
308 2001-06-28  Mark Kettenis  <kettenis@gnu.org>
310         * sysdeps/mach/hurd/read.c: Include <hurd/fd.h>.
311         (__libc_read): Don't call __pread.  Use _hurd_fd_read directly
312         instead.
313         * sysdeps/mach/hurd/write.c: Include <hurd/fd.h>.
314         (__libc_write): Don't call __pwrite.  Use _hurd_fd_write directly
315         instead.
317         * sysdeps/mach/hurd/Makefile ($(link-rpcuserlibs)): Add back
318         -Wl,-soname option lost in 2001-06-16 change.
320 2001-06-27  Ulrich Drepper  <drepper@redhat.com>
322         * posix/tst-regex.c: Pass REG_NEWLINE to regcomp.  Add extra tests.
323         Restrict printing of string in debug mode to 100 characters to make
324         the output useful for long input texts.
326         * posix/Makefile: Add rules to build and run tst-regex.
328 2001-06-20  Isamu Hasegawa  <isamu@yamato.ibm.com>
330         * posix/regex.c (FREE_WCS_BUFFERS): New macro to free buffers.
331         (re_search_2): Invoke convert_mbs_to_wcs and FREE_WCS_BUFFERS.
332         (wcs_re_match_2_internal): Check whether the wcs buffers need
333         seting up or not, and skip seting up routin if not needed.
335 2001-06-26  Isamu Hasegawa  <isamu@yamato.ibm.com>
337         * posix/regex.c (count_mbs_length): Use binary search for optimization.
339 2001-06-27  Ulrich Drepper  <drepper@redhat.com>
341         * posix/tst-regex.c: Fix several bugs.  Add more tests.
343 2001-06-26  Mark Kettenis  <kettenis@gnu.org>
345         * hurd/Makefile (user-interfaces): Add pfinet.
346         * hurd/hurdioctl.c: Include <hurd/pfinet.h>, <net/if.h> and
347         <netinet/in.h>.
348         (siocgifconf): New function.  Register it with HURD_HANDLE_IOCTL
349         as the handler for SIOCGIFCONF.
350         * sysdeps/mach/hurd/bits/ioctls.h: Modify SIOCSIFFLAGS and
351         SIOCGIFFLAGS to be of IOC type ifreq_short.  Modify SIOCSIFMETRIC
352         and SIOCGIFMETRIC to be of IOC type ifreq_int.  Add new macro
353         definitions for SIOCGIFMTU, SIOCSIFMTU, SIOCGIFINDEX and
354         SIOCGIFNAME.
355         From Marcus Brunkmann <marcus@gnu.org>.
357 2001-06-25  Ulrich Drepper  <drepper@redhat.com>
359         * sysdeps/gnu/net/if.h: Correct _IOT_ifreq and add _IOT_ifreq_short
360         and _IOT_ifreq_int.  Patch by Mark Kettenis <kettenis@wins.uva.nl>.
362         * elf/dl-deps.c (_dl_map_object_deps): Fix handling of failing
363         _dl_catch_error calls.
365 2001-06-22  Jakub Jelinek  <jakub@redhat.com>
367         * posix/regex.c (regex_compile, re_match_2_internal): Fix comment
368         typos.
370 2001-06-01  Wolfram Gloger  <wg@malloc.de>
372         * malloc/malloc.c (malloc_atfork, free_atfork): Use a unique value
373         ATFORK_ARENA_PTR, not 0, for the thread-specific arena pointer
374         when malloc_atfork is in use.
376 2001-06-22  Andreas Jaeger  <aj@suse.de>
378         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Add parenthese
379         to avoid warnings.
381         * sysdeps/i386/fpu/e_expl.c (__ieee754_expl): Remove unused
382         variable.
383         Add unused attributes to avoid warnings.
385         * elf/reldep4mod4.c: Add prototype to avoid warning.
386         * elf/reldep4mod2.c: Likewise.
388         * sysdeps/i386/fpu/e_expl.c: Include <math_private.h> for
389         prototypes.
391 2001-06-18  Roland McGrath  <roland@frob.com>
393         * hurd/hurd/fd.h (_hurd_fd_error_signal): Change return type to int.
395 2001-06-20  Alexandre Oliva  <aoliva@redhat.com>
397         * sysdeps/unix/sysv/settimeofday.c: Include time.h.
399 2001-06-19  Martin Schwidefsky  <schwidefsky@de.ibm.com>
401         * sysdeps/unix/sysv/linux/s390/s390-64/dl-cache.h: New file.
403 2001-05-09  Michael Keezer  <mkeezer@redhat.com>
405         * Makeconfig: Added AIX-ld support for DSO.
406         * Makerules: Likewise.
407         * dlfcn/Makefile (defaultmod1.so): Added libc_nonshared.
408         (defaultmod2.so): Likewise.
409         * debug/Makefile: Conditionalize use of elf/ld.so.
410         * iconvdata/Makefile: Moved LDFLAG rpath/soname info into Makeconfig.
412         * sysdeps/unix/sysv/aix/Makefile: Added dl-support.c and dl-error.c.
413         * sysdeps/unix/sysv/aix/Makefile: Made (f/g)rsave(0/1) &
414         (f/g)prrest(0/1) static only.
415         * sysdeps/unix/sysv/aix/gettimeofday.c: Removed #if 0.
416         * sysdeps/unix/sysv/aix/start.c: Define __dso_handle if not ELF but
417         shared.
418         * sysdeps/unix/sysv/aix/setitimer.c: New file.
419         * sysdeps/unix/sysv/aix/sleep.c: New file.
420         * sysdeps/unix/sysv/aix/usleep.c: New file.
421         * sysdeps/unix/sysv/aix/dl-addr.c: New file.
422         * sysdeps/unix/sysv/aix/dl-error.c: New file.
423         * sysdeps/unix/sysv/aix/dl-support.c: New file.
424         * sysdeps/unix/sysv/aix/powerpc/register-dump.h: New file.
426 2001-06-19  Ulrich Drepper  <drepper@redhat.com>
428         * po/es.po: Update from translation team.
430 2001-06-19  Andreas Jaeger  <aj@suse.de>
432         * sysdeps/ieee754/ldbl-128/s_tanhl.c: New file.
434         * math/libm-test.inc (tanh_test): Test for 2^-56.
436         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Make sure result
437         equals argument when x < 2^-55.
438         Patches by Stephen L. Moshier <moshier@na-net.ornl.gov>.
440 2001-06-17  Alan Modra  <amodra@bigpond.net.au>
442         * sysdeps/hppa/dl-machine.h (elf_machine_rela): Handle relocs
443         at unaligned address.
445 2001-06-18  Ulrich Drepper  <drepper@redhat.com>
447         * posix/regex.c: Reorganize code to build code twice, once for single
448         byte, once for multi-byte charsets.  Choose function set adequate for
449         locale at runtime.
450         Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
452         * po/nl.po: Update from translation team.
454 2001-06-09  Bruno Haible  <haible@clisp.cons.org>
456         * iconvdata/gconv-modules (BIG5HKSCS): New alias BIG5-HKSCS.
457         (ISO-8859-14): New aliases ISO_8859-14 and ISO-CELTIC.
458         * iconvdata/tst-tables.sh: For BIG5HKSCS, use BIG5-HKSCS charmap.
460 2001-05-26  Bruno Haible  <haible@clisp.cons.org>
462         * iconvdata/tst-tables.sh: For SJIS module, use SHIFT_JIS charmap.
463         * manual/charset.texi: Write Shift_JIS, not Shift-JIS.
465 2001-06-17  Roland McGrath  <roland@frob.com>
467         * sysdeps/pthread/aio_misc.h (LIO_DSYNC): Define to LIO_NOP + 1,
468         not LIO_READ + 1 (which is the value of LIO_WRITE!).
470         * Makerules (build-module-helper-objlist): New variable,
471         broken out of build-module.  Insert --whole-archive/--no-whole-archive
472         immediately each *_pic.a file in the link object list.
473         (whole-archive): New variable, used by that.
474         (build-module-objlist): New variable using build-module-helper-objlist.
475         (build-module, build-module-helper): Use it.
476         (build-shlib-objlist): New variable using build-module-helper-objlist.
477         (build-shlib): Use that.
478         * sysdeps/mach/hurd/Makefile ($(link-rpcuserlibs)): Likewise.
480         * posix/spawni.c: Moved to ...
481         * sysdeps/posix/spawni.c: ... here.
482         * sysdeps/generic/spawni.c: New file.
484 2001-06-16  Roland McGrath  <roland@frob.com>
486         * hurd/Makefile (routines): Add lookup-retry.
487         * hurd/hurdlookup.c (__hurd_file_name_lookup_retry): Broken out ...
488         * hurd/lookup-retry.c: ... into here, new file.
489         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Call that instead
490         using of duplicate code here.
492         * hurd/hurdexec.c (_hurd_exec): Be robust for DTABLESIZE==0.
494 2001-06-17  Ulrich Drepper  <drepper@redhat.com>
496         * po/ja.po: Update from translation team.
498 2001-06-04  Bruno Haible  <haible@clisp.cons.org>
500         * locale/programs/locfile.c (siblings_uncached, siblings, full_read,
501         compare_files): New functions.
502         (write_locale_data): Use xmalloc.  Compare the file with the locale
503         data files for the same category in other locales, and reuse it if
504         possible and safe.
506 2001-06-07  Mark Kettenis  <kettenis@gnu.org>
508         * grp/initgroups.c (initgroups): Factor out re-usable code into...
509         (internal_getgrouplist): ... new function.
510         (getgrouplist): New function.
511         * grp/grp.h (getgrouplist): New prototype.
512         * grp/Versions [2.2.4]: Add getgrouplist.
514 2001-06-16  Ulrich Drepper  <drepper@redhat.com>
516         * inet/netinet/ip6.h: Fix comments in ip6_hdr.
517         Patch by Pekka Savola <pekkas@netcore.fi>.
519 2001-06-15  Roland McGrath  <roland@frob.com>
521         * rt/Makefile (aio-routines, clock-routines, timer-routines): New
522         variables, broken out of librt-routines.
523         (librt-routines): Set using those.
524         (extra-libs, extra-libc-others, tests): Set these unconditionally.
525         (distribute): No need for $(librt-map) or $(librt-routines:=.c) here.
526         * sysdeps/generic/aio_fsync.c: New file.
527         * sysdeps/generic/aio_misc.c: New file.
528         * sysdeps/generic/aio_write.c: New file.
529         * sysdeps/generic/aio_write64.c: New file.
530         * sysdeps/generic/aio_read64.c: New file.
531         * sysdeps/generic/aio_read.c: New file.
532         * sysdeps/generic/aio_notify.c: New file.
533         * sysdeps/generic/lio_listio64.c: New file.
534         * sysdeps/generic/lio_listio.c: New file.
535         * sysdeps/generic/aio_cancel.c: New file.
536         * sysdeps/generic/aio_misc.h: New file.
537         * sysdeps/generic/aio_suspend.c: New file.
538         * rt/aio_cancel.c: Moved to ...
539         * sysdeps/pthread/aio_cancel.c: ... here.
540         * rt/aio_fsync.c: Moved to ...
541         * sysdeps/pthread/aio_fsync.c: ... here.
542         * rt/aio_misc.c: Moved to ...
543         * sysdeps/pthread/aio_misc.c: ... here.
544         * rt/aio_misc.h: Moved to ...
545         * sysdeps/pthread/aio_misc.h: ... here.
546         * rt/aio_notify.c: Moved to ...
547         * sysdeps/pthread/aio_notify.c: ... here.
548         * rt/aio_read.c: Moved to ...
549         * sysdeps/pthread/aio_read.c: ... here.
550         * rt/aio_read64.c: Moved to ...
551         * sysdeps/pthread/aio_read64.c: ... here.
552         * rt/aio_suspend.c: Moved to ...
553         * sysdeps/pthread/aio_suspend.c: ... here.
554         * rt/aio_write.c: Moved to ...
555         * sysdeps/pthread/aio_write.c: ... here.
556         * rt/aio_write64.c: Moved to ...
557         * sysdeps/pthread/aio_write64.c: ... here.
558         * rt/lio_listio.c: Moved to ...
559         * sysdeps/pthread/lio_listio.c: ... here.
560         * rt/lio_listio64.c: Moved to ...
561         * sysdeps/pthread/lio_listio64.c: ... here.
563 2001-06-14  Roland McGrath  <roland@frob.com>
565         * configure.in: Let sysdeps Implies files in add-ons bring in
566         sysdeps directories from the main source and other add-ons too.
568 2001-06-15  Jakub Jelinek  <jakub@redhat.com>
570         * math/test-misc.c (main): Add tests for nextafter and nexttoward
571         with +-Inf as second argument.
573         * sysdeps/generic/s_nexttowardf.c (__nexttowardf): Only check for
574         NaN, not Inf.
575         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Fix check for NaN.
576         * sysdeps/i386/fpu/s_nexttoward.c: New.
577         * sysdeps/i386/fpu/s_nexttowardf.c: New.
578         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Simplify
579         check for NaN, optimize x==+-0 handling.
580         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf): Likewise.
581         * sysdeps/ieee754/ldbl-96/s_nextafterl.c (__nextafterl): Simplify
582         check for NaN, fix sign in x==+-0 case.
583         * sysdeps/ia64/fpu/s_nexttoward.c: New.
584         * sysdeps/ia64/fpu/s_nexttowardf.c: New.
586 2001-06-15  H.J. Lu  <hjl@gnu.org>
588         * rt/tst-aio2.c (do_test): Initialize cb.aio_offset to 0.
589         * rt/tst-aio3.c (do_test): Likewise.
590         * rt/tst-aio4.c (do_test): Likewise.
591         * rt/tst-aio5.c (do_test): Likewise.
592         * rt/tst-aio6.c (do_test): Likewise.
594 2001-06-15  Andreas Schwab  <schwab@suse.de>
596         * sysdeps/m68k/fpu/bits/mathinline.h: Don't define log2 as inline.
597         * sysdeps/m68k/fpu/mathimpl.h: Define __ieee754_log2 as inline.
599 2001-06-15  Andreas Jaeger  <aj@suse.de>
601         * gmon/tst-sprofil.c (fac): Make static to avoid compiler warning.
603 2001-06-14  Andreas Schwab  <schwab@suse.de>
605         * elf/ldconfig.c (search_dir): Fix check for regular file.
607         * sysdeps/m68k/fpu/e_log2f.c: Fix typo.
608         * sysdeps/m68k/fpu/e_log2l.c: Fix typo.
610 2001-06-14  Roland McGrath  <roland@frob.com>
612         * sysdeps/mach/hurd/bits/fcntl.h [ __USE_POSIX199309 || __USE_UNIX98]:
613         (O_DSYNC, O_RSYNC): New macros, both defined to O_SYNC as Linux does.
615 2001-06-13  Roland McGrath  <roland@frob.com>
617         * rt/aio_notify.c: Include <unistd.h> for _POSIX_REALTIME_SIGNALS.
619         * sysdeps/mach/hurd/fork.c (LOSE): Put `goto lose' in dead code
620         so the label is not considered unused.
622         * sysdeps/mach/hurd/pwrite64.c: New file.
623         * sysdeps/mach/hurd/pread64.c: New file.
625         * sysdeps/mach/hurd/pread.c
626         (__libc_pread): Define this name, with __pread as an alias.
627         * sysdeps/mach/hurd/pwrite.c
628         (__libc_pwrite): Define this name, with __pwrite as an alias.
630         Implement POSIX "shared memory objects" as regular
631         files residing in the /var/run/shm/ directory.
632         This works on any system that supports _POSIX_MAPPED_FILES,
633         to make it also support _POSIX_SHARED_MEMORY_OBJECTS.
634         * sysdeps/posix/shm_open.c: New file.
635         * sysdeps/posix/shm_unlink.c: New file.
636         * sysdeps/mach/hurd/bits/posix_opt.h
637         (_POSIX_SHARED_MEMORY_OBJECTS): Define it.
639         * rt/aio_notify.c (__aio_notify_only) [! _POSIX_REALTIME_SIGNALS]:
640         Use raise instead of __aio_sigqueue.
642         * sysdeps/mach/hurd/pread.c: Fail with EINVAL if OFFSET is negative.
643         * sysdeps/mach/hurd/pwrite.c: Likewise.
645         * shlib-versions [USE_IN_LIBIO] (.*-.*-gnu-gnu.*): libc=0.3
646         [USE_IN_LIBIO && !GLIBC_OLDEST_ABI] (.*-.*-gnu-gnu.*): Use GLIBC_2.2.4
647         as default version set.
649 2001-06-13  Ulrich Drepper  <drepper@redhat.com>
651         * libio/iolibio.h (_IO_freopen): Correct last parameter to
652         _IO_file_open.
653         (_IO_freopen64): Likewise.
654         Reported by simanek@quantum.karlov.mff.cuni.cz [PR libc/2326].
656         * elf/elf.h: Add a few more EM_* constants.
658 2001-06-12  Bruno Haible  <haible@clisp.cons.org>
660         * intl/dcigettext.c (DCIGETTEXT): Release the lock before returning.
662 2001-06-09  Ben Collins  <bcollins@debian.org>
664         * sysdeps/unix/sysv/linux/bits/termios.h: Define __MAX_BAUD.
665         * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
666         * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
667         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
668         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
669         * sysdeps/unix/sysv/linux/speed.c: Use __MAX_BAUD instead of
670         hardcoded B400000.
672 2001-06-13  Ulrich Drepper  <drepper@redhat.com>
674         * time/sys/time.h: Don't use enum __itimer_which ever for
675         __itimer_which_t for C++.
676         Reported by Martin Buchholz <martin@xemacs.org>.
678         * po/fr.po: Update from translation team.
680 2001-06-12  H.J. Lu  <hjl@gnu.org>
682         * configure.in: Fix typos in missing program names.
683         * configure: Regenerated.
685 2001-06-12  Andreas Jaeger  <aj@suse.de>
687         * iconvdata/tst-table-to.c: Include string.h for strcmp prototype.
689         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Add ULPs for tanh (-0.7).
691 2001-06-11  Andreas Jaeger  <aj@suse.de>
693         * sysdeps/ieee754/ldbl-128/e_coshl.c: New file.  Contributed by
694         Stephen L Moshier <moshier@mediaone.net>.
696         * aclocal.m4: Quote AC_FD_MSG and AC_FD_CC.
698         * sysdeps/powerpc/fpu/libm-test-ulps: Add ULPs for tanh (-0.7).
699         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
701 2001-06-11  Michael Deutschmann  <michael@talamasca.ocis.net>
703         * rt/tst-aio4.c (do_test): Test whether rt signals are supported.
704         Use my_signo instead of MY_SIGNO and initialize it so that the
705         used signal is always available.
707 2001-06-11  Andreas Jaeger  <aj@suse.de>,
708             Michael Deutschmann  <michael@talamasca.ocis.net>
710         * io/test-lfs.c (do_prepare): Clean up error messages.
711         (test_ftello): Check for EFBIG and ENOSPC, clean up error messages.
712         (do_test): Likewise.
714 2001-06-11  Andreas Jaeger  <aj@suse.de>
716         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (IXANY, IUCLC,
717         IMAXBEL): Make always visible since they're needed by POSIX.
718         Closes PR libc/2320, reported by Chris Yeoh <cyeoh@samba.org>.
720 2001-06-10  Ben Collins  <bcollins@debian.org>
722         * sysdeps/arm/elf/start.S: Use #function, not @function, for
723         .type of _start.
725         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Include limits.h to get
726         INT_MAX.
728 2001-06-07  H.J. Lu  <hjl@gnu.org>
730         * sunrpc/rpc/rpc.h: Add __BEGIN_DECLS/__END_DECLS.
732 2001-06-10  Roland McGrath  <roland@frob.com>
734         * elf/reldep4mod2.c: Use fully typed decls to avoid warnings.
735         * elf/reldep4mod4.c: Likewise.
737 2001-06-10  Mark Kettenis  <kettenis@gnu.org>
739         * hurd/hurd/threadvar.h: Add prototype for __hurd_errno_location.
741 2001-06-08  Andreas Schwab  <schwab@suse.de>
743         * posix/regex.c (re_match_2_internal) [case wordbeg, wordend]:
744         Don't dereference at end of string.
746 2001-06-06  Roland McGrath  <roland@frob.com>
748         * sysdeps/mach/hurd/getsockopt.c: Fix handling of returned buffer size.
749         From Robert Bihlmeyer <robbe@orcus.priv.at>.
751 2001-06-06  Ulrich Drepper  <drepper@redhat.com>
753         * po/ko.po: Update from translation team.
755 2001-06-06  Andreas Jaeger  <aj@suse.de>
757         * manual/llio.texi (Memory-mapped I/O): Clarify that mapping is to
758         offset+length-1.
759         Reported by Robert Bernecky <bernecky@acm.org>.
761 2001-06-06  Jakub Jelinek  <jakub@redhat.com>
763         * sysdeps/cris/elf/start.S: Fix a typo introduced by last patch.
764         * sysdeps/ia64/elf/start.S: Likewise.
765         * sysdeps/sh/elf/start.S: Likewise.
766         * sysdeps/s390/s390-32/elf/start.S: Likewise.
767         * sysdeps/s390/s390-64/elf/start.S: Likewise.
769 2001-06-05  Matthew Wilcox  <willy@ldl.fc.hp.com>
771         * sysdeps/hppa/bsd-_setjmp.S: New.
772         * sysdeps/hppa/bsd-setjmp.S: New.
774         * sysdeps/hppa/dl-machine.h: Reformat asm statements to remove new
775         gcc warnings about multi-line strings.
777         * sysdeps/unix/sysv/linux/hppa/getrlimit.c: Remove.
778         * sysdeps/unix/sysv/linux/hppa/setrlimit.c: Remove.
780         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Call getrlimit,
781         setrlimit directly instead of using wrappers.
783 2001-05-01  Richard Hirst  <rhirst@linuxcare.com>
785         * sysdeps/unix/sysv/linux/hppa/syscall.S: remove dummy syscall.
786         * sysdeps/unix/sysv/linux/hppa/sysdep.c: implement syscall.
788 2001-06-05  Philipp Thomas  <pthomas@suse.de>
790         * nis/nis_call.c (__nisbind_connect): Don't mark for translation
791         what can't be translated.
793 2001-06-06  Ulrich Drepper  <drepper@redhat.com>
795         * timezone/zic.c: Update from tzcode2001c.
796         * timezone/private.h: Likewise.
797         * timezone/africa: Update from tzdata2001c.
798         * timezone/asia: Likewise.
799         * timezone/europe: Likewise.
800         * timezone/northamerica: Likewise.
801         * timezone/southamerica: Likewise.
802         * timezone/zone.tab: Likewise.
804 2001-06-04  Bruno Haible  <haible@clisp.cons.org>
806         * iconv/loop.c (UNICODE_TAG_HANDLER): New macro.
807         * iconv/gconv_simple.c (__gconv_transform_internal_ascii): Invoke
808         UNICODE_TAG_HANDLER.
809         (__gconv_transform_internal_ucs2): Likewise.
810         (__gconv_transform_internal_ucs2reverse): Likewise.
811         * iconvdata/8bit-gap.c (BODY for TO_LOOP): Invoke UNICODE_TAG_HANDLER.
812         * iconvdata/8bit-generic.c (BODY for TO_LOOP): Likewise.
813         * iconvdata/ansi_x3.110.c (BODY for TO_LOOP): Likewise.
814         * iconvdata/big5.c (BODY for TO_LOOP): Likewise.
815         * iconvdata/big5hkscs.c (BODY for TO_LOOP): Likewise.
816         * iconvdata/cp1255.c (BODY for TO_LOOP): Likewise.
817         * iconvdata/cp1258.c (BODY for TO_LOOP): Likewise.
818         * iconvdata/euc-cn.c (BODY for TO_LOOP): Likewise.
819         * iconvdata/euc-jp.c (BODY for TO_LOOP): Likewise.
820         * iconvdata/euc-kr.c (BODY for TO_LOOP): Likewise.
821         * iconvdata/euc-tw.c (BODY for TO_LOOP): Likewise.
822         * iconvdata/gbk.c (BODY for TO_LOOP): Likewise.
823         * iconvdata/ibm930.c (BODY for TO_LOOP): Likewise.
824         * iconvdata/ibm932.c (BODY for TO_LOOP): Likewise.
825         * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
826         * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
827         * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
828         * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
829         * iconvdata/ibm943.c (BODY for TO_LOOP): Likewise.
830         * iconvdata/iso646.c (BODY for TO_LOOP): Likewise.
831         * iconvdata/iso8859-1.c (BODY for TO_LOOP): Likewise.
832         * iconvdata/iso_6937.c (BODY for TO_LOOP): Likewise.
833         * iconvdata/iso_6937-2.c (BODY for TO_LOOP): Likewise.
834         * iconvdata/iso-2022-cn.c (BODY for TO_LOOP): Likewise.
835         * iconvdata/iso-2022-cn-ext.c (BODY for TO_LOOP): Likewise.
836         * iconvdata/iso-2022-kr.c (BODY for TO_LOOP): Likewise.
837         * iconvdata/johab.c (BODY for TO_LOOP): Likewise.
838         * iconvdata/sjis.c (BODY for TO_LOOP): Likewise.
839         * iconvdata/t.61.c (BODY for TO_LOOP): Likewise.
840         * iconvdata/uhc.c (BODY for TO_LOOP): Likewise.
841         * iconvdata/unicode.c (BODY for TO_LOOP): Likewise.
842         * iconvdata/iso-2022-jp.c (TAG_none, TAG_language, TAG_language_j,
843         TAG_language_ja, TAG_language_k, TAG_language_ko, TAG_language_z,
844         TAG_language_zh, CURRENT_TAG_MASK): New enum values.
845         (EMIT_SHIFT_TO_INIT): Don't emit an escape sequence if ASCII_set
846         is already selected but set2 or tag are set.
847         (conversion): New enum type.
848         (cvlist_t): New type.
849         (CVLIST, CVLIST_FIRST, CVLIST_REST): New macros.
850         (conversion_lists): New array.
851         (BODY for TO_LOOP): Keep track of Unicode 3.1 language tag.  If "ja",
852         prefer conversion to Japanese character sets.  If "zh", prefer
853         conversion to GB2312.  If "ko", prefer conversion to KSC5601.  Small
854         optimizations.
855         (INIT_PARAMS): Add tag.
856         (UPDATE_PARAMS): Add tag.
858 2001-06-04  Bruno Haible  <haible@clisp.cons.org>
860         * locale/programs/locfile.c (write_locale_data): Before creat(),
861         unlink the file, to avoid crashing the processes that mmap it.  Change
862         a double slash to a single slash.  Free fname in case of error return.
864 2001-06-02  Jakub Jelinek  <jakub@redhat.com>
866         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Mostly revert 2000-12-03
867         changes, do the special handling for denormal numbers, not for
868         normalized numbers (patch by <trevin@xmission.com>).
870         * math/test-misc.c (main): Test frexpl with denormal arguments.
872 2001-06-04  Jakub Jelinek  <jakub@redhat.com>
874         * math/libm-test.inc (llround_test): Add two new llround tests.
875         * sysdeps/ieee754/ldbl-96/s_llroundl.c (__llroundl): Don't allow
876         overflow when rounding away from zero.
878 2001-06-04  Jakub Jelinek  <jakub@redhat.com>
880         * math/Makefile (libm-calls): Add e_log2, w_log2, remove s_log2.
881         * math/math_private.h (__ieee754_log2, __ieee754_log2f,
882         __ieee754_log2l): New prototypes.
883         * sysdeps/generic/w_log2.c: New file.
884         * sysdeps/generic/w_log2f.c: New file.
885         * sysdeps/generic/w_log2l.c: New file.
886         * sysdeps/generic/s_log2l.c: Move...
887         * sysdeps/generic/e_log2l.c: ...to here.  Rename to __ieee754_log2l.
888         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle log2(0)
889         and log2(x < 0).
890         * sysdeps/i386/fpu/s_log2.S: Move...
891         * sysdeps/i386/fpu/e_log2.S: ...to here.  Rename to __ieee754_log2.
892         * sysdeps/i386/fpu/s_log2f.S: Move...
893         * sysdeps/i386/fpu/e_log2f.S: ...to here.  Rename to __ieee754_log2f.
894         * sysdeps/i386/fpu/s_log2l.S: Move...
895         * sysdeps/i386/fpu/e_log2l.S: ...to here.  Rename to __ieee754_log2l.
896         * sysdeps/m68k/fpu/s_log2.c: Move...
897         * sysdeps/m68k/fpu/e_log2.c: ...to here.  Rename to __ieee754_log2.
898         * sysdeps/m68k/fpu/s_log2f.c: Move...
899         * sysdeps/m68k/fpu/e_log2f.c: ...to here.  Rename to __ieee754_log2f.
900         * sysdeps/m68k/fpu/s_log2l.c: Move...
901         * sysdeps/m68k/fpu/e_log2l.c: ...to here.  Rename to __ieee754_log2l.
902         * sysdeps/ieee754/dbl-64/s_log2.c: Move...
903         * sysdeps/ieee754/dbl-64/e_log2.c: ...to here.  Rename to
904         __ieee754_log2.
905         * sysdeps/ieee754/flt-32/s_log2f.c: Move...
906         * sysdeps/ieee754/flt-32/e_log2f.c: ...to here.  Rename to
907         __ieee754_log2f.
909 2001-06-04  Jakub Jelinek  <jakub@redhat.com>
911         * sysdeps/generic/w_exp2.c (u_threshold): Lower threshold so that
912         even arguments which result in denormalized exp2 are accepted.
913         (__exp2): Arguments equal to u_threshold already result into
914         underflow.
915         * sysdeps/generic/w_exp2f.c (u_threshold, __exp2f): Likewise.
916         * sysdeps/generic/w_exp2l.c (u_threshold, __exp2l): Likewise.
917         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Lomark was too
918         low, with corrected lowmark use greaterequal, not greater.
919         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
921 2001-06-04  Jakub Jelinek  <jakub@redhat.com>
923         * math/libm-test.inc (ilogb_test): Test that ilogb(+-Inf) == INT_MAX.
924         * sysdeps/i386/fpu/s_ilogb.S (__ilogb): Return INT_MAX for +-Inf.
925         * sysdeps/i386/fpu/s_ilogbf.S (__ilogbf): Likewise.
926         * sysdeps/i386/fpu/s_ilogbl.S (__ilogbl): Likewise.
927         * sysdeps/ieee754/dbl-64/s_ilogb.c (__ilogb): Likewise.
928         * sysdeps/ieee754/flt-32/s_ilogbf.c (__ilogbf): Likewise.
929         * sysdeps/ieee754/ldbl-128/s_ilogbl.c (__ilogbl): Likewise.
930         * sysdeps/ieee754/ldbl-96/s_ilogbl.c (__ilogbl): Likewise.
932 2001-06-04  Jakub Jelinek  <jakub@redhat.com>
934         * sysdeps/generic/w_coshl.c (__coshl): Test if finite argument
935         gave non-finite result instead of using constant in generic
936         version.
937         * sysdeps/generic/w_coshf.c (__coshf): Likewise.
938         * sysdeps/generic/w_cosh.c (__cosh): Likewise.
939         * sysdeps/generic/w_exp10.c (o_threshold, u_threshold): Remove.
940         (__exp10): Test if finite argument gave non-finite result.
941         * sysdeps/generic/w_exp10f.c (o_threshold, u_threshold, __exp10f):
942         Likewise.
943         * sysdeps/generic/w_exp10l.c (o_threshold, u_threshold, __exp10l):
944         Likewise.
946 2001-06-04  Jakub Jelinek  <jakub@redhat.com>
948         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Fix
949         overflow threshold constant (log(LDBL_MAX)+M_LN2l).
951 2001-05-29  Bruno Haible  <haible@clisp.cons.org>
953         * locale/programs/ld-ctype.c (idx_table): New struct type.
954         (idx_table_init, idx_table_get, idx_table_add): New functions.
955         (MAX_CHARNAMES_IDX): Remove macro.
956         (locale_ctype_t): Change type of charnames_idx field.
957         (ctype_startup): Change initialization of charnames_idx field.
958         (find_idx): Use idx_table_get and idx_table_add for speed.
960         * locale/programs/charmap.c (charmap_new_char): Fix ucs4 value
961         computation of characters in a range.
963 2001-05-29  Bruno Haible  <haible@clisp.cons.org>
965         * iconvdata/gb18030.c (__fourbyte_to_ucs1): Add mappings for <U03F4>,
966         <U03F5>.
967         (__ucs_to_gb18030_tab1): Likewise.
968         (BODY for FROM_LOOP): Add mapping for <U00010000>..<U0010FFFF>.
969         (BODY for TO_LOOP): Likewise.
970         * iconvdata/tst-table-charmap.sh: Update for charmaps containing
971         <U00xxxxxx> syntax.
972         * iconvdata/tst-table-from.c (bmp_only): New variable.
973         (utf8_decode): If bmp_only, don't return characters outside Unicode
974         plane 0.
975         (main): When testing UTF-8 or GB18030, set bmp_only to 1.  Don't print
976         a conversion line if utf8_decode returns NULL.
977         * iconvdata/tst-table-to.c (main): When testing encodings other than
978         UTF-8 and GB18030, loop upto U+30000 instead of U+10000.  Use UTF-8
979         instead of UCS-2 as input.
980         * iconvdata/tst-table.sh: For GB18030, use only the part < 0x10000
981         of the charmap.
983 2001-05-29  Bruno Haible  <haible@clisp.cons.org>
985         * iconvdata/cns11643l1.c: Update to Unicode 3.1.
986         (__cns11643l1_to_ucs4_tab): Regenerated.
987         (__cns11643l1_from_ucs4_tab12): Regenerated.
988         * iconvdata/cns11643.c: Update to Unicode 3.1.
989         (__cns11643l14_to_ucs4_tab): Remove array.
990         (__cns11643l3_to_ucs4_tab, __cns11643l4_to_ucs4_tab,
991         __cns11643l5_to_ucs4_tab, __cns11643l6_to_ucs4_tab,
992         __cns11643l7_to_ucs4_tab, __cns11643l15_to_ucs4_tab): New arrays.
993         (__cns11643_from_ucs4p0_tab): Renamed from __cns11643_from_ucs4_tab.
994         (__cns11643_from_ucs4p2_tab): New array.
995         * iconvdata/cns11643.h (__cns11643l14_to_ucs4_tab): Remove declaration.
996         (__cns11643l3_to_ucs4_tab, __cns11643l4_to_ucs4_tab,
997         __cns11643l5_to_ucs4_tab, __cns11643l6_to_ucs4_tab,
998         __cns11643l7_to_ucs4_tab, __cns11643l15_to_ucs4_tab): New declarations.
999         (cns11643_to_ucs4): Treat planes 3, 4, 5, 6, 7, 15 instead of 14.
1000         (__cns11643_from_ucs4_tab): Remove declaration.
1001         (__cns11643_from_ucs4p0_tab, __cns11643_from_ucs4p2_tab): New
1002         declarations.
1003         (ucs4_to_cns11643): Update for new arrays.  Treat U+3400..U+4DFF and
1004         U+20000..U+2A6D6.
1005         * iconvdata/cns11643l2.h (__cns11643_from_ucs4_tab): Remove
1006         declaration.
1007         (__cns11643_from_ucs4p0_tab): New declaration.
1008         (ucs4_to_cns11643l2): Update for new arrays.
1009         * iconvdata/iso-2022-cn-ext.c (BODY for FROM_LOOP): Handle planes
1010         3 to 7.
1011         (BODY for TO_LOOP): Handle planes 3 to 7, instead of plane 14.
1012         * iconvdata/EUC-TW.irreversible: New file.
1013         * iconvdata/tst-table.sh: Use it.
1014         * iconvdata/Makefile (distribute): Add CP1255.irreversible,
1015         CP1258.irreversible, EUC-TW.irreversible.
1017 2001-05-29  Bruno Haible  <haible@clisp.cons.org>
1019         * locale/C-translit.h.in: Add transliterations for new Unicode 3.1
1020         mathematical symbols.
1022 2001-06-05  Andreas Jaeger  <aj@suse.de>
1024         * manual/stdio.texi (Portable Positioning): Fix description of
1025         fpos_t and fpos64_t.
1027 2001-06-06  Ulrich Drepper  <drepper@redhat.com>
1029         * sysdeps/generic/wordexp.c: Undo last patch.  Use strndupa instead.
1031         * po/sk.po: Update from translation team.
1033 2001-06-05  Andreas Jaeger  <aj@suse.de>
1035         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Recognize
1036         tmpfs, patch by Stanislav Brabec <utx@penguin.cz>.
1037         Closes PR libc/2315.
1039 2001-06-05  Ulrich Drepper  <drepper@redhat.com>
1041         * sysdeps/generic/wordexp.c: Add missing free.
1042         Patch by yeti@physics.muni.cz.
1044 2001-06-02  Tom Browder  <tbrowder@home.com>
1046         * misc/tst-tsearch.c (mangle_tree): Ensure array indices are
1047         within bounds when lag > 0.
1049 2001-06-05  Ulrich Drepper  <drepper@redhat.com>
1051         * po/tr.po: New file.
1053 2001-06-05  Andreas Jaeger  <aj@suse.de>
1055         * manual/libm-err-tab.pl (parse_ulps): Fix typo.
1057 2001-06-04  H.J. Lu  <hjl@gnu.org>
1059         * sysdeps/alpha/elf/start.S: Add .type for the entry point.
1060         * sysdeps/arm/elf/start.S: Likewise.
1061         * sysdeps/hppa/elf/start.S: Likewise.
1062         * sysdeps/i386/elf/start.S: Likewise.
1063         * sysdeps/m68k/elf/start.S: Likewise.
1064         * sysdeps/mips/elf/start.S: Likewise.
1065         * sysdeps/ia64/elf/start.S: Likewise.
1066         * sysdeps/sh/elf/start.S: Likewise.
1067         * sysdeps/s390/s390-32/elf/start.S: Likewise.
1068         * sysdeps/s390/s390-64/elf/start.S: Likewise.
1069         * sysdeps/cris/elf/start.S: Likewise.
1071 2001-06-04  Bruce Mitchener  <bruce@cubik.org>
1073         * manual/resource.texi: Correct setpriority/nice documentation.
1075         * sysdeps/unix/nice.c: Correct nice() implementation.
1077 2001-06-04  Andreas Jaeger  <aj@suse.de>
1079         * sysdeps/ieee754/ldbl-128/e_sinhl.c: New file, contributed by
1080         Stephen L Moshier <moshier@mediaone.net>.
1082 2001-06-03  Roland McGrath  <roland@frob.com>
1084         * Makefile (postclean): Remove obsolete sysd-Makefile.
1086 2001-06-01  Roland McGrath  <roland@frob.com>
1088         * sysdeps/alpha/fpu/fclrexcpt.c: #include <shlib-compat.h>
1089         and use compat_symbol/versioned_symbol instead of plain
1090         symbol_version/default_symbol_version.
1091         * sysdeps/alpha/fpu/fegetenv.c: Likewise.
1092         * sysdeps/alpha/fpu/fesetenv.c: Likewise.
1093         * sysdeps/alpha/fpu/feupdateenv.c: Likewise.
1094         * sysdeps/alpha/fpu/fgetexcptflg.c: Likewise.
1095         * sysdeps/alpha/fpu/fraiseexcpt.c: Likewise.
1096         * sysdeps/alpha/fpu/fsetexcptflg.c: Likewise.
1097         * sysdeps/arm/fpu/fclrexcpt.c: Likewise.
1098         * sysdeps/arm/fpu/fegetenv.c: Likewise.
1099         * sysdeps/arm/fpu/fesetenv.c: Likewise.
1100         * sysdeps/arm/fpu/fraiseexcpt.c: Likewise.
1101         * sysdeps/arm/fpu/fsetexcptflg.c: Likewise.
1102         * sysdeps/i386/fpu/fclrexcpt.c: Likewise.
1103         * sysdeps/i386/fpu/fegetenv.c: Likewise.
1104         * sysdeps/i386/fpu/fesetenv.c: Likewise.
1105         * sysdeps/i386/fpu/feupdateenv.c: Likewise.
1106         * sysdeps/i386/fpu/fgetexcptflg.c: Likewise.
1107         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
1108         * sysdeps/i386/fpu/fsetexcptflg.c: Likewise.
1109         * sysdeps/m68k/fpu/fclrexcpt.c: Likewise.
1110         * sysdeps/m68k/fpu/fegetenv.c: Likewise.
1111         * sysdeps/m68k/fpu/fesetenv.c: Likewise.
1112         * sysdeps/m68k/fpu/feupdateenv.c: Likewise.
1113         * sysdeps/m68k/fpu/fgetexcptflg.c: Likewise.
1114         * sysdeps/m68k/fpu/fraiseexcpt.c: Likewise.
1115         * sysdeps/m68k/fpu/fsetexcptflg.c: Likewise.
1116         * sysdeps/powerpc/fclrexcpt.c: Likewise.
1117         * sysdeps/powerpc/fpu/fegetenv.c: Likewise.
1118         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
1119         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
1120         * sysdeps/powerpc/fpu/fgetexcptflg.c: Likewise.
1121         * sysdeps/powerpc/fpu/fraiseexcpt.c: Likewise.
1122         * sysdeps/powerpc/fpu/fsetexcptflg.c: Likewise.
1124         * iconvdata/cp1258.c: Include <stdlib.h> for abort decl.
1125         * iconvdata/iso-2022-cn-ext.c: Likewise.
1127 2001-06-01  Andreas Jaeger  <aj@suse.de>
1129         * Versions.def: Add version 2.2.4.
1131 2001-06-01  Ulrich Drepper  <drepper@redhat.com>
1133         * socket/Makefile (routines): Add sockatmark.
1134         * socket/Versions [GLIBC_2.2.4]: Add sockatmark.
1135         * socket/sys/socket.h: Add prototype for sockatmark.
1136         * sysdeps/generic/sockatmark.c: New file.
1137         * sysdeps/unix/sockatmark.c: New file.
1139 2001-06-01  Andreas Jaeger  <aj@suse.de>
1141         * sysdeps/unix/sysv/linux/speed.c (cfsetispeed): Max speed is
1142         B4000000.
1143         (cfsetospeed): Likewise.
1144         Reported by Lukasz Trabinski <lukasz@lt.wsisiz.edu.pl>.
1146 2001-05-31  Joseph S. Myers  <jsm28@cam.ac.uk>
1148         * misc/sys/cdefs.h (__restrict_arr): Define to empty for C++.
1150 2001-05-30  Martin Schwidefsky  <schwidefsky@de.ibm.com>
1152         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: greg_t
1153         needs to have the same aligment as the kernel structure.
1155 2001-05-29  Jakub Jelinek  <jakub@redhat.com>
1157         * sunrpc/rpc/types.h (u_char, u_short, u_int, u_long, quad_t,
1158         u_quad_t, fsid_t, daddr_t, caddr_t): Make sure the types are defined.
1159         * posix/sys/types.h (u_char, u_short, u_int, u_long, quad_t,
1160         u_quad_t, fsid_t, daddr_t, caddr_t): Protect the __USE_BSD typedefs
1161         against multiple definition.
1163 2001-05-30  Ulrich Drepper  <drepper@redhat.com>
1165         * po/da.po: Update from translation team.
1167 2001-05-29  Andreas Jaeger  <aj@suse.de>
1169         * sysdeps/ieee754/ldbl-128/e_acosl.c: New file, contributed by
1170         Stephen L Moshier <moshier@mediaone.net>.
1172         * math/libm-test.inc (sinh_test): Add new test case.
1174         * sysdeps/ieee754/ldbl_96/e_sinhl.c (__ieee754_sinhl): sinhl(x) =
1175         x when x < 2^-32.
1176         Patch by Stephen L Moshier <moshier@mediaone.net>.
1178 2001-05-23  Andreas Jaeger  <aj@suse.de>
1180         * iconvdata/testdata/WINDOWS-1255..UTF-8: Renamed to...
1181         * iconvdata/testdata/WINDOWS-1255..UTF8: this.
1183 2001-05-27  Andreas Jaeger  <aj@suse.de>
1185         * manual/stdio.texi (String Streams): Fix fmemopen description.
1186         Reported by Michal Kochanowicz <michal@michal.waw.pl>.
1188 2001-05-26  H.J. Lu <hjl@gnu.org>
1190         * sysdeps/unix/sysv/linux/mips/syscalls.list: Change sigsuspend
1191         to s_sigsuspend.  Add s_mmap2.
1193         * sysdeps/mips/atomicity.h: New file.
1195         * sysdeps/unix/sysv/linux/mips/getsysstats.c: New file.
1197         * sysdeps/unix/sysv/linux/mips/bits/ipc.h (ipc_perm): Put
1198         back __key.
1200 2001-05-25  Bruce Mitchener  <bruce@cubik.org>
1202         * manual/ctype.texi: Minor fix.
1203         * manual/install.texi: Likewise.
1204         * manual/startup.texi: Likewise.
1205         * manual/examples/dir.c: Use perror() rather than puts().
1207 2001-05-25  David Mosberger  <davidm@hpl.hp.com>
1209         * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h: Put stuff following
1210         #endif directive inside a comment to avoid compiler warnings.
1212 2001-05-25  Philipp Thomas  <pthomas@suse.de>
1214         * nis/nis_print.c (nis_nstype2str): Don't mark names of
1215         naming services for translation, only UNKNOWN needs it.
1216         Add comment to prevent it for the future.
1218 2001-05-25  Joseph S. Myers  <jsm28@cam.ac.uk>
1220         * misc/sys/cdefs.h (__restrict_arr): Define appropriately for GCC
1221         3.1 and non-GCC C99 compilers.
1223 2001-05-22  David Mosberger  <davidm@hpl.hp.com>
1225         * sysdeps/ia64/memmove.S: Increase MEMLAT from 6 to 21 for better
1226         performance.
1227         * sysdeps/ia64/memcpy.S: Likewise.
1229         * sysdeps/ia64/bcopy.S: New file.
1231         * sysdeps/ia64/bzero.S: New file (derived from memset.S).
1233 2001-05-26  Ulrich Drepper  <drepper@redhat.com>
1235         * sysdeps/ia64/fpu/libm-test-ulps: Add deltas for tanh(-0.7).
1237 2001-05-24  Ulrich Drepper  <drepper@redhat.com>
1239         * iconvdata/Makefile: Add rules for CP10007.
1240         * iconvdata/gconv-modules: Add entries for CP10007 ad MacCyrillic.
1241         * iconvdata/cp10007.c: New file.
1242         * iconvdata/tst-tables.sh: Add CP10007.
1244 2001-05-23  kaz Kojima  <kkojima@rr.iij4u.or.jp>
1246         * sysdeps/sh/dl-machine.h (_dl_runtime_resolve): Handle newer PLT.
1247         (_dl_runtime_profile): Likewise..
1249 2001-05-23  Thorsten Kukuk  <kukuk@suse.de>
1251         * sysdeps/posix/getaddrinfo.c: Support for AF_UNIX commented out.
1252         * posix/tst-getaddrinfo.c: Remove AF_UNIX test.
1254 2001-05-19  H.J. Lu  <hjl@gnu.org>
1256         * elf/dl-deps.c (_dl_map_object_deps): Pass objname and
1257         errstring of the failed DSO to _dl_signal_error ().
1259 2001-05-23  Ulrich Drepper  <drepper@redhat.com>
1261         * iconvdata/gconv-modules: Add more aliases to enable use in
1262         locale names.
1264 2001-05-23  Andreas Jaeger  <aj@suse.de>
1266         * sysdeps/unix/sysv/linux/ia64/Makefile (CFLAGS-initfini.s):
1267         Remove, it's not used anywhere anymore.
1268         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile
1269         (CFLAGS-initfini.s): Likewise.
1270         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile
1271         (CFLAGS-initfini.s): Likewise.
1272         * sysdeps/unix/sysv/linux/powerpc/Makefile (CFLAGS-initfini.s):
1273         Likewise.
1274         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-initfini.s):
1275         Likewise.
1277 2001-05-21  Bruno Haible  <haible@clisp.cons.org>
1279         * wcsmbs/mbrtowc.c (mbrtowc): Remove local variable 'flush', always
1280         use 0 instead, and rely on the converter to do the flush.
1281         * wcsmbs/tst-mbrtowc.c (utf8_test_1): New function, taken from
1282         utf8_test.
1283         (utf8_test_2, utf8_test_3): New function.
1284         (utf8_test): Call utf8_test_1, utf8_test_2, utf8_test_3.
1286 2001-05-22  Jakub Jelinek  <jakub@redhat.com>
1288         * elf/dl-close.c (_dl_close): Save imap->l_reldeps, not map->l_reldeps.
1290         * elf/Makefile (distribute): Add reldep4mod[1234].c.
1291         (tests): Add reldep4.
1292         (modules-names): Add reldep4mod[1234].
1293         (reldep4mod1.so, reldep4mod2.so, reldep4, reldep4.out): New rules.
1294         * elf/reldep4.c: New file.
1295         * elf/reldep4mod1.c: Likewise.
1296         * elf/reldep4mod2.c: Likewise.
1297         * elf/reldep4mod3.c: Likewise.
1298         * elf/reldep4mod4.c: Likewise.
1300 2001-05-18  Jakub Jelinek  <jakub@redhat.com>
1302         * elf/dl-lookup.c (PROTECTED): Remove defines.
1303         (add_dependency): Mark it with internal_function.
1304         (_dl_do_lookup, _dl_do_lookup_versioned): New functions.
1305         (_dl_lookup_symbol, _dl_lookup_symbol_skip,
1306         _dl_lookup_versioned_symbol, _dl_lookup_versioned_symbol_skip): Use
1307         it if we don't want do_lookup* inlined.
1309 2001-05-18  Jakub Jelinek  <jakub@redhat.com>
1311         * include/link.h (struct r_scope_elem): Remove r_duplist and
1312         r_nduplist fields.
1313         * elf/dl-load.c (_dl_map_object_from_fd): Don't initialize them.
1314         * elf/dl-lookup.c (_dl_lookup_symbol_skip): Look in r_list, not
1315         r_duplist.
1316         (_dl_lookup_versioned_symbol_skip): Likewise.
1317         * elf/dl-deps.c (struct list): Remove dup field, rename unique to next.
1318         (_dl_map_object_deps): Don't compute duplicate list.
1320         * elf/dl-symbol.c: Removed.
1321         * elf/Makefile (routines): Remove dl-symbol.
1323 2001-05-22  Ulrich Drepper  <drepper@redhat.com>
1325         * po/el.po: Update from translation team.
1326         * po/sv.po: Likewise.
1328 2001-05-20  Bruno Haible  <haible@clisp.cons.org>
1330         * iconvdata/cp1255.c: Completely rewritten.
1331         * iconvdata/Makefile (gen-8bit-gap-modules): Remove cp1255.
1332         * iconvdata/testdata/WINDOWS-1255: New file.
1333         * iconvdata/testdata/WINDOWS-1255..UTF8: New file.
1334         * iconvdata/TESTS: Add WINDOWS-1255 test.
1335         * iconvdata/CP1255.irreversible: New file.
1337 2001-05-20  Bruno Haible  <haible@clisp.cons.org>
1339         * iconvdata/cp1258.c: Completely rewritten.
1340         * iconvdata/Makefile (gen-8bit-gap-modules): Remove cp1258.
1341         * iconvdata/testdata/WINDOWS-1258: New file.
1342         * iconvdata/testdata/WINDOWS-1258..UTF8: New file.
1343         * iconvdata/TESTS: Add WINDOWS-1258 test.
1344         * iconvdata/tst-table-from.c (try): Reset the iconv descriptor before
1345         the main call, and flush it afterwards.
1346         (utf8_decode): Return a string, possibly containing several Unicode
1347         characters.
1348         (main): Update all utf8_decode calls.
1349         * iconvdata/CP1258.irreversible: New file.
1351 2001-05-20  Bruno Haible  <haible@clisp.cons.org>
1353         * iconv/gconv.c (__gconv): For flush without output, pass do_flush = 2.
1354         * iconv/skeleton.c: Distinguish do_flush = 1 and do_flush = 2.  In the
1355         first case, set outbuf, outstart, outend, and call PREPARE_LOOP before
1356         EMIT_SHIFT_TO_INIT; then pass the output produced by this step down to
1357         the next step.  In the second case, clear the state without calling
1358         EMIT_SHIFT_TO_INIT.
1359         * iconvdata/ibm930.c (EMIT_SHIFT_TO_INIT): Use outbuf instead of
1360         data->__outbuf, and outend instead of data->__outbufend.
1361         * iconvdata/ibm933.c (EMIT_SHIFT_TO_INIT): Likewise.
1362         * iconvdata/ibm935.c (EMIT_SHIFT_TO_INIT): Likewise.
1363         * iconvdata/ibm937.c (EMIT_SHIFT_TO_INIT): Likewise.
1364         * iconvdata/ibm939.c (EMIT_SHIFT_TO_INIT): Likewise.
1365         * iconvdata/iso-2022-cn.c (EMIT_SHIFT_TO_INIT): Likewise.
1366         * iconvdata/iso-2022-cn-ext.c (EMIT_SHIFT_TO_INIT): Likewise.
1367         * iconvdata/iso-2022-jp.c (EMIT_SHIFT_TO_INIT): Likewise.
1368         * iconvdata/iso-2022-kr.c (EMIT_SHIFT_TO_INIT): Likewise.
1369         * iconvdata/utf-7.c (EMIT_SHIFT_TO_INIT): Likewise.
1371 2001-05-21  Jakub Jelinek  <jakub@redhat.com>
1373         * elf/rtld.c (dl_main): Compute l_map_end for the main program.
1374         * elf/dl-sym.c (_dl_sym): Don't check for l_addr == 0.
1375         If match == _dl_loaded, caller can still come from the main program.
1376         (_dl_vsym): Likewise.
1377         * elf/dl-open.c (dl_open_worker): Don't check for l_addr == 0.
1378         * elf/dl-error.c (_dl_signal_error): Change NULL objname into "".
1379         * elf/restest2.c: New test.
1380         * elf/Makefile (tests): Add restest2.
1381         (restest2, LDFLAGS-restest2): Add rules.
1383 2001-05-22  Ulrich Drepper  <drepper@redhat.com>
1385         * intl/Makefile: Add a few more dependencies to avoid races in the
1386         test shell scripts.
1388 2001-05-22  Andreas Jaeger  <aj@suse.de>
1390         * sysdeps/ieee754/ldbl-128/s_log1pl.c: New file, contributed by
1391         Stephen L Moshier <moshier@mediaone.net>.
1393 2001-05-22  Martin Schwidefsky  <schwidefsky@de.ibm.com>
1395         * sysdeps/s390/s390-32/backtrace.c: Make backtrace return the
1396         return addresses instead of the stack pointers.
1397         * sysdeps/s390/s390-64/backtrace.c: Likewise.
1399 2001-05-21  Jakub Jelinek  <jakub@redhat.com>
1401         * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Include
1402         bits/sigcontext.h instead of bits/sigstack.h.
1403         * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h: Add
1404         multiple-inclusion guards.
1406 2001-05-21  Andreas Jaeger  <aj@suse.de>
1408         * locale/programs/ld-collate.c (handle_ellipsis): Fix message.
1409         Patch by Philipp Thomas <pthomas@suse.de>.
1411 2001-05-17  Bruce Mitchener  <bruce@cubik.org>
1413         * manual/arpg.texi: Spelling, misc fixes.
1414         * manual/arith.texi: Likewise.
1415         * manual/crypt.texi: Likewise.
1416         * manual/debug.texi: Likewise.
1417         * manual/getopt.texi: Likewise.
1418         * manual/intro.texi: Likewise.
1419         * manual/memory.texi: Likewise.
1420         * manual/nss.texi: Likewise.
1421         * manual/pattern.texi: Likewise.
1422         * manual/process.texi: Likewise.
1423         * manual/resource.texi: Likewise.
1424         * manual/search.texi: Likewise.
1425         * manual/setjmp.texi: Likewise.
1426         * manual/signal.texi: Likewise.
1427         * manual/socket.texi: Likewise.
1428         * manual/stdio.texi: Likewise.
1429         * manual/string.texi: Likewise.
1430         * manual/sysinfo.texi: Likewise.
1431         * manual/terminal.texi: Likewise.
1432         * manual/llio.texi: Document madvise().
1434 2001-05-20  Roland McGrath  <roland@frob.com>
1436         * Makeconfig (sysdep-makeconfigs): Include any Makeconfig files
1437         found within $(add-ons) directories too.
1438         [linuxthreads add-on]: Move variable settings for linuxthreads
1439         to new file linuxthreads/Makeconfig.
1441 2001-05-20  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
1443         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_STD_AUXV):
1444         Define for linux >= 2.4.5 on powerpc.
1445         (__ASSUME_MMAP2_SYSCALL): Likewise.
1447 2001-05-19  Roland McGrath  <roland@frob.com>
1449         * hurd/hurdlookup.c (__hurd_file_name_lookup_retry): Don't leak the
1450         result port when failing with ELOOP.  Do the ELOOP check when
1451         following an absolute symlink target as well as relative.
1452         Remove #ifdef SYMLOOP_MAX conditional--it should always be defined.
1454 2001-05-18  Andreas Jaeger  <aj@suse.de>
1456         * po/fr.po: Free software is "logiciel libre".
1457         Patch by Martin Michlmayr <tbm@cyrius.com>.
1459         * sysdeps/powerpc/elf/libc-start.c: Use __cxa_atexit.
1460         Patch by ekato@ees.hokudai.ac.jp, closes PR libc/2271.
1462 2001-05-17  David Mosberger  <davidm@hpl.hp.com>
1464         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: New file.
1466 2001-05-17  Ulrich Drepper  <drepper@redhat.com>
1468         * elf/dl-profile.c (_dl_mcount): Check whether state is
1469         GMON_PROF_ON before doing anything.
1471 2001-05-17  H.J. Lu  <hjl@gnu.org>
1473         * elf/sprof.c (read_symbols): Move "++symtab" into the while loop.
1475 2001-05-17  Ulrich Drepper  <drepper@redhat.com>
1477         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Use
1478         CHECK_SIGSET_NULL_OK and not CHECK_SIGSET for all parameters.
1479         Reported by Mark Burton <markb@ordern.com>.
1481 2001-05-17  Jakub Jelinek  <jakub@redhat.com>
1483         * elf/ldconfig.c (add_dir): Only warn about stat failure if
1484         opt_verbose.
1485         (search_dir): Likewise.
1487 2001-05-17  Ulrich Drepper  <drepper@redhat.com>
1489         * sysdeps/i386/i486/atomicity.h (exchange_and_add): Correct second
1490         parameter of xaddl.  Patch by H . J . Lu <hjl@lucon.org>.
1492 2001-05-14  Bruno Haible  <haible@clisp.cons.org>
1494         * iconvdata/iso-2022-cn-ext.c (BODY for FROM_LOOP): If SO is seen
1495         without previous announcement, reject it regularly, don't abort.
1497 2001-05-16  Ulrich Drepper  <drepper@redhat.com>
1499         * math/tgmath.h: Fix handling of int parameters to binary and
1500         ternary functions.  Reported by mitr@volny.cz.
1502         * math/test-tgmath.c: Add tests for calls with integer parameters.
1504 2001-05-15  Jakub Jelinek  <jakub@redhat.com>
1506         * sunrpc/rpc_thread.c (rpc_default): Remove.
1507         (__rpc_thread_destroy): Use __libc_tsd_RPC_VARS_mem instead of
1508         rpc_default.
1509         (rpc_thread_multi, __rpc_thread_svc_fdset, __rpc_thread_createerr,
1510         __rpc_thread_svc_pollfd, __rpc_thread_svc_max_pollfd): Likewise.
1511         * sunrpc/auth_none.c (authnone_private): Fix a typo.
1513 2001-05-16  Martin Schwidefsky  <schwidefsky@de.ibm.com>
1515         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Fix stack allocation.
1517 2001-05-16  Bruce Mitchener  <bruce@cubik.org>
1519         * manual/llio.texi: Many grammar and typo fixes to the section on AIO.
1521 2001-05-15  Andreas Jaeger  <aj@suse.de>
1523         * sysdeps/ieee754/ldbl-128/s_expm1l.c: New file, contributed by
1524         Stephen L Moshier <moshier@mediaone.net>.
1526         * sysdeps/i386/fpu/libm-test-ulps: Adjust for change.
1528         * math/libm-test.inc: Add comment with ToDo.
1530         * sysdeps/i386/fpu/e_expl.c: Rewritten to C and using a more
1531         accurate algorithm.  Patch by Stephen L Moshier <moshier@mediaone.net>.
1533         * sysdeps/i386/fpu/e_expl.S: Removed.
1535 2001-05-14  Roland McGrath  <roland@frob.com>
1537         * csu/Makefile ($(objpfx)g$(start-installed-name)): Turn this into a
1538         static pattern rule also that also covers
1539         $(objpx)g$(static-start-installed-name).
1540         [$(start-installed-name) != $(static-start-installed-name)]
1541         (extra-objs, omit-deps, install-lib): Add
1542         $(static-start-installed-name) and g$(static-start-installed-name).
1543         * sysdeps/mach/hurd/i386/Makefile: Don't add crt0.o to those here;
1544         just setting static-start-installed-name is now sufficient.
1545         (extra-objs): Add static-start.o here.
1546         (CFLAGS-initfini.s): Remove obsolete variable.
1547         * sysdeps/mach/hurd/i386/Makeconfig: New file.
1548         Define static-start-installed-name here.
1550         * Makeconfig: Include existing $(full_config_sysdirs:=/Makeconfig).
1551         * Make-dist (+sysdep-tsrcs): Look for Makeconfig files.
1553         * Makerules ($(+sysdir_pfx)sysd-Makefile): Remove this target and
1554         associated hair.  Instead, just use $(wildcard ...) in the include.
1556         * configure.in (critic_missing, aux_missing): Collect in these vars
1557         the names of the missing programs, and include them in the error msgs.
1558         * configure: Regenerated.
1560 2001-05-14  Andreas Jaeger  <aj@suse.de>
1562         * sysdeps/i386/fpu/libm-test-ulps: Adjust for new tests.
1564         * math/libm-test.inc (tanh_test): Add testcases for last tanh bug.
1566 2001-05-14  Stephen L Moshier <moshier@mediaone.net>
1568         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Fix sign test.
1570 2001-05-11  Jakub Jelinek  <jakub@redhat.com>
1572         * posix/regex.c (re_match_2_internal): Swap mbs_offset and csize
1573         as well if swapping strings.
1574         Make sure stop is not past end of second string.
1575         * posix/bug-regex4.c: New test.
1576         * posix/Makefile (tests): Add bug-regex4.
1578 2001-05-10  Andreas Jaeger  <aj@suse.de>
1580         * manual/install.texi (Linux): Clarify that Linux 2.2 is minimal
1581         requirement.
1583 2001-05-12  Andreas Jaeger  <aj@suse.de>
1585         * sysdeps/ieee754/dbl-64/s_sin.c: Include "math_private.h" for
1586         internal prototypes.
1587         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
1588         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
1589         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
1590         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
1591         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
1592         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
1593         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
1595         * math/math_private.h: Add prototypes for internal functions of
1596         the IBM Accurate Mathematical Library.
1598         * sysdeps/ieee754/dbl-64/s_atan.c: Include "math.h" for
1599         prototypes.
1600         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
1602         * sysdeps/ieee754/dbl-64/e_asin.c: Include "math_private.h" for
1603         internal prototypes.
1604         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
1605         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
1606         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
1607         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
1608         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
1609         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
1610         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
1611         * sysdeps/generic/e_rem_pio2l.c: Likewise.
1612         (__ieee754_rem_pio2l): Fix prototype.
1614         * math/math_private.h (__copysign): Add internal prototype.
1616 2001-05-11  Andreas Jaeger  <aj@suse.de>
1618         * sysdeps/unix/sysv/linux/configure.in: Move binutils check to...
1619         * sysdeps/unix/sysv/linux/mips/configure.in: ...here.  New file.
1621 2001-05-11  Andreas Jaeger  <aj@suse.de>
1623         * sysdeps/unix/sysv/linux/configure.in: Check binutils version on
1624         MIPS.
1626         * sysdeps/mips/rtld-ldscript.in: Removed unneeded binary output
1627         format directive.  Patch by Steven J. Hill <sjhill@cotw.com>.
1629 2001-05-11  Roland McGrath  <roland@frob.com>
1631         * sysdeps/mach/hurd/Makefile ($(link-rpcuserlibs)): Don't use
1632         $(build-module) here, since we don't need the full magilla.
1633         Just use $(build-module-helper) and append our special options.
1635 2001-05-09  Andreas Schwab  <schwab@suse.de>
1637         * sysdeps/unix/readdir.c: Make sure we don't modify errno when we
1638         reached EOF.
1640 2001-05-07  H.J. Lu  <hjl@gnu.org>
1642         * elf/ldconfig.c (dir_entry): Add ino and dev.
1643         (add_single_dir): Compare ino and dev to check if 2 directory
1644         paths are the same or not.  Free entry->path for duplicates.
1645         (add_dir): Initialize ino and dev for entry.
1646         (search_dir): Handle symlink to directory.
1648 2001-05-07  Andreas Jaeger  <aj@suse.de>
1650         * sysdeps/i386/fpu/libm-test-ulps: Add ulps for new exp tests.
1652         * math/libm-test.inc (exp_test): Add some more tests.
1653         (pow_test): Run double only test also for long double.
1655         * math/test-ldouble.c (TEST_LDOUBLE): Define.
1656         * math/test-ildoubl.c (TEST_LDOUBLE): Likewise.
1658         * sysdeps/generic/bits/confname.h: Remove extra comma at end of
1659         enumeration.
1660         Closes PR libc/2240.
1662         * scripts/config.guess: Imported from gnu.org.
1663         * scripts/config.sub: Likewise.
1665 2001-05-05  Jakub Jelinek  <jakub@redhat.com>
1667         * include/features.h (__USE_EXTERN_INLINES): Don't define if
1668         __NO_INLINE__ is defined.
1669         * ctype/ctype.h (tolower, toupper): Change the guard condition to
1670         __USE_EXTERN_INLINES check only.
1671         * stdlib/stdlib.h (strtod, ...): Likewise.
1672         * wcsmbs/wchar.h (mbrlen): Likewise.
1673         * string/string.h: Only include bits/string.h and bits/string2.h
1674         if __NO_INLINE__ is not defined.
1676 2001-05-07  Andreas Jaeger  <aj@suse.de>
1678         * debug/Makefile ($(objpfx)xtrace): Substitute @SLIBDIR@ instead
1679         of @LIBDIR@.
1681 2001-05-04  H.J. Lu  <hjl@gnu.org>
1683         * malloc/Makefile ($(objpfx)memusage): Substitute @SLIBDIR@
1684         not @LIBDIR@.
1686 2001-05-06  Andreas Jaeger  <aj@suse.de>
1688         * sysdeps/i386/fpu/e_fmodl.c: New, rewrite of e_fmodl.S.
1689         * sysdeps/i386/fpu/e_fmodl.S: Removed.
1690         * sysdeps/i386/fpu/e_atan2l.c: New, rewrite of e_atan2l.S.
1691         * sysdeps/i386/fpu/e_atan2l.S: Removed.
1692         * sysdeps/i386/fpu/e_acosl.c: New, rewrite of e_acos.S.
1693         * sysdeps/i386/fpu/s_atanl.c: New, rewrite of e_atanl.S.
1694         * sysdeps/i386/fpu/e_sqrtl.c: New, rewrite of e_sqrt.S.
1695         * sysdeps/i386/fpu/e_acosl.S: Removed.
1696         * sysdeps/i386/fpu/s_atanl.S: Removed.
1697         * sysdeps/i386/fpu/e_sqrtl.S: Removed.
1699 2001-05-05  Mark Kettenis  <kettenis@gnu.org>
1701         * sysdeps/mach/hurd/bits/environments.h: Add comment from
1702         sysdeps/generic/bits/environments.h.  Define _POSIX_V6_* values.
1704 2001-04-30  Jakub Jelinek  <jakub@redhat.com>
1706         * posix/confstr.c (confstr) [_CS_V6_WIDTH_RESTRICTED_ENVS]: Move so
1707         that _CS_LFS_CFLAGS can fall through to the empty returned string
1708         case.  Add FALLTHROUGH comment.
1710 2001-04-29  Ralf Baechle  <ralf@gnu.org>
1712         * sysdeps/unix/sysv/linux/mips/bits/sem.h: Make structure
1713         definitions match the kernel definitions.
1714         * sysdeps/unix/sysv/linux/mips/bits/ipc.h: Likewise.
1715         * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
1717 2001-04-29  Ben Collins  <bcollins@debian.org>
1719         * sysdeps/sparc/sparc64/dl-machine.h: Fix multiline strings
1720         warnings.
1721         * sysdeps/sparc/sparc64/soft-fp/qp_add.c: Likewise.
1722         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
1723         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
1724         * sysdeps/sparc/sparc64/soft-fp/qp_div.c: Likewise.
1725         * sysdeps/sparc/sparc64/soft-fp/qp_dtoq.c: Likewise.
1726         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
1727         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
1728         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
1729         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
1730         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
1731         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
1732         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
1733         * sysdeps/sparc/sparc64/soft-fp/qp_qtod.c: Likewise.
1734         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
1735         * sysdeps/sparc/sparc64/soft-fp/qp_qtos.c: Likewise.
1736         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
1737         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
1738         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
1739         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
1740         * sysdeps/sparc/sparc64/soft-fp/qp_sqrt.c: Likewise.
1741         * sysdeps/sparc/sparc64/soft-fp/qp_stoq.c: Likewise.
1742         * sysdeps/sparc/sparc64/soft-fp/qp_sub.c: Likewise.
1743         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
1745 2001-04-29  Andreas Schwab  <schwab@suse.de>
1747         * sysdeps/unix/sysv/linux/kernel-features.h: Fix missing backslash
1748         in last change.
1750 2001-04-29  Andreas Jaeger  <aj@suse.de>
1752         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
1753         Define for Arm, PowerPC and SH if kernel is 2.4.4 or newer.
1755         * sysdeps/unix/sysv/linux/bits/socket.h (PF_WANPIPE): New, from
1756         Linux 2.4.4.
1757         (AF_WANPIPE): Likewise.
1758         (MSG_MORE): New.
1760         * sysdeps/unix/sysv/linux/alpha/bits/socket.h: Add same changes as
1761         for Linux generic version.
1762         * sysdeps/unix/sysv/linux/s390/s390-64/bits/socket.h: Likewise.
1763         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
1764         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
1765         * sysdeps/unix/sysv/linux/ia64/bits/socket.h: Likewise.
1767         * sysdeps/gnu/netinet/tcp.h (TCP_QUICKACK): New.
1769 2001-04-27  Ulrich Drepper  <drepper@redhat.com>
1771         * nis/nss-nis.h: Correct test for invalid error number.
1772         * nis/nss-nisplus.h: Likewise.
1774         * nis/Makefile (libnss_compat-rountines): Add nss-nisplus.
1776 2001-04-26  Ulrich Drepper  <drepper@redhat.com>
1778         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add getunwind.
1780         * string/strcoll.c: Fix two memory allocation problems.
1781         * string/Makefile (tests): Add bug-strcoll1.
1782         * string/bug-strcoll1.c: New file.
1784         * malloc/mcheck.c (mcheck): Call malloc once before setting the
1785         hooks to allow the internal check hooks to be set up if necessary.
1787         * nis/nss-nis.h: Move yperr2nss_tab definition into separate file
1788         and rename to __yperr2nss_tab.  Change YPERR_COUNT into variable
1789         __yperr2nss_count.
1790         * nis/nss-nis.c: New file.
1791         * nis/nss-nisplus.h: Move niserr2nss_tab definition into separate file
1792         and rename to __niserr2nss_tab.  Change NISERR_COUNT into variable
1793         __niserr2nss_count.
1794         * nis/nss-nisplus.c: New file.
1795         * nis/Makefile (libnss_compat-routines): Add nss-nis.
1796         (libnss_nis-routines): Likewise.
1797         (libnss_nisplus-routines): Add nss-nisplus.
1799         * nis/nss_nisplus/nisplus-alias.c: Remove unnecessary initializations.
1800         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
1801         * nis/nss_nisplus/nisplus-grp.c: Likewise.
1802         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
1803         * nis/nss_nisplus/nisplus-network.c: Likewise.
1804         * nis/nss_nisplus/nisplus-proto.c: Likewise.
1805         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
1806         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
1807         * nis/nss_nisplus/nisplus-service.c: Likewise.
1808         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
1809         * nis/nss_nis/nis-alias.c: Likewise.
1810         * nis/nss_nis/nis-ethers.c: Likewise.
1811         * nis/nss_nis/nis-grp.c: Likewise.
1812         * nis/nss_nis/nis-network.c: Likewise.
1813         * nis/nss_nis/nis-proto.c: Likewise.
1814         * nis/nss_nis/nis-pwd.c: Likewise.
1815         * nis/nss_nis/nis-spwd.c: Likewise.
1816         * nis/nss_compat/compat-grp.c: Likewise.
1817         * nis/nss_compat/compat-initgroups.c: Likewise.
1818         * nis/nss_compat/compat-pwd.c: Likewise.
1819         * nis/nss_compat/compat-spwd.c: Likewise.
1821         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Some more
1822         optimizations.  Patch by Jakub Jelinek <jakub@redhat.com>.
1824 2001-04-26  Andreas Jaeger  <aj@suse.de>
1826         * po/zh_TW.po: Update.
1827         Patch by Tung-Han Hsieh <thhsieh@tlug.sinica.edu.tw>.
1829 2001-04-25  Ulrich Drepper  <drepper@redhat.com>
1831         * malloc/malloc.c: Allow MALLOC_ALIGNMENT to be defined on the
1832         compiler command line.
1833         * sysdeps/hppa/Makefile: Add -DMALLOC_ALIGNMENT=16 to compiler
1834         command line for malloc.c.
1836 2001-04-25  Jakub Jelinek  <jakub@redhat.com>
1838         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/time.h: Move to...
1839         * sysdeps/unix/sysv/linux/sparc/bits/time.h: ...here.
1840         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/bits/time.h: Remove.
1841         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/socket.h: Move to...
1842         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: ...here.  Adjust
1843         struct msghdr for __WORDSIZE == 32.
1844         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/statvfs.h: Move to...
1845         * sysdeps/unix/sysv/linux/sparc/bits/statvfs.h: ...here.  Adjust
1846         for __WORDSIZE == 32.
1847         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/siginfo.h: Remove.
1848         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/get_clockfreq.c: New
1849         file.
1850         * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S (__libc_siglongjmp):
1851         Rename from longjmp, make longjmp weak alias to it.
1853 2001-04-24  David S. Miller  <davem@redhat.com>
1855         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: New file.
1857 2001-04-25  Matthew Wilcox  <willy@ldl.fc.hp.com>
1859         * sysdeps/hppa/stackinfo.h: New file.
1860         * sysdeps/unix/sysv/linux/hppa/getdents64.c: New file.
1861         * sysdeps/unix/sysv/linux/hppa/mmap64.c: New file.
1862         * sysdeps/unix/sysv/linux/hppa/bits/resource.h: New file.
1863         * sysdeps/unix/sysv/linux/kernel-features.h: Add descriptions
1864         of PA kernel features.
1866 2001-04-25  Ulrich Drepper  <drepper@redhat.com>
1868         * locale/programs/localedef.c (main): Always set a file name for
1869         the initial locale.
1870         * locale/programs/locfile.c (locfile_read): filename is allowed to
1871         be NULL.
1873 2001-04-12  Paul Bame  <paul_bame@hp.com>
1875         * sysdeps/hppa/fpu/fclrexcpt.c: Clear the exception flags, not the
1876         enable flags.
1878 2001-04-24  Ulrich Drepper  <drepper@redhat.com>
1880         * sysdeps/generic/bits/environments.h (_POSIX_V6_LPBIG_OFFBIG,
1881         _XBS5_LPBIG_OFFBIG): Define to -1.
1882         Fix typos.
1884         * sysdeps/generic/bits/confname.h: Add _CS_V6_WIDTH_RESTRICTED_ENVS.
1885         * posix/confstr.c: Handle _CS_V6_WIDTH_RESTRICTED_ENVS.
1886         * posix/getconf.c: Handle _POSIX_V6_WIDTH_RESTRICTED_ENVS.
1887         * posix/tst-getconf.sh: Add _POSIX_V6_WIDTH_RESTRICTED_ENVS.
1889         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9b/Implies: New file.
1890         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9b/bits/time.h: Removed.
1892 2001-03-21  Alan Modra  <alan@one.net.au>
1894         * sysdeps/hppa/dl-machine.h (RTLD_START): Set up dp with DT_PLTGOT
1895         value from application so that constructors in non-PIC libs work.
1897 2000-12-13  Jes Sorensen  <jes@linuxcare.com>
1899         * sysdeps/hppa/dl-machine.h (RTLD_START): _dl_init now returns a
1900         function pointer, hence load the jump address and gp from the
1901         function pointer before jumping.
1903 2001-04-24  Andreas Jaeger  <aj@suse.de>
1905         * sysdeps/generic/send.c (__send): Return ssize_t.
1906         * sysdeps/mach/hurd/send.c (__send): Likewise.
1907         * sysdeps/mach/hurd/recv.c (recv): Likewise.
1908         * sysdeps/mach/hurd/sendto.c (sendto): Likewise.
1909         * sysdeps/generic/sendto.c (sendto): Likewise.
1910         * sysdeps/generic/recvmsg.c (recvmsg): Likewise.
1911         * sysdeps/mach/hurd/recvfrom.c (recvfrom): Likewise.
1912         * sysdeps/generic/recvfrom.c (recvfrom): Likewise.
1913         * sysdeps/generic/sendmsg.c (sendmsg): Likewise.
1915         * socket/sys/socket.h: send* and recv* return ssize_t.
1917         * include/sys/socket.h: send returns ssize_t.
1919         * sysdeps/i386/fpu_control.h: Fix comments.
1921 2001-04-24  Ulrich Drepper  <drepper@redhat.com>
1923         * sysdeps/ia64/Dist: Add hp-timing.c.
1924         * sysdeps/unix/sysv/linux/sparc/sparc64/Dist: Add ucontext_i.h.
1925         * posix/Makefile (distribute): Add tst-getconf.sh.
1926         * po/Makefile (distribute): Add $(BROKEN_LINGUAS:=.po).
1928 2001-04-23  Ulrich Drepper  <drepper@redhat.com>
1930         * sysdeps/ia64/Makefile [subdir=csu] (sysdep_routines): Add hp-timing.
1931         * sysdeps/ia64/Versions: Add _dl_cpuclock_offset for ld in 2.2.3.
1932         * sysdeps/ia64/hp-timing.c: New file.
1933         * sysdeps/ia64/hp-timing.h: New file.
1934         * sysdeps/unix/sysv/linux/ia64/bits/time.h: Add definitions for
1935         CLOCK_PROCESS_CPUTIME_ID and CLOCK_THREAD_CPUTIME_ID.
1937         * sysdeps/generic/clock_getcpuclockid.c: Make function generic, test
1938         using #ifdef whether the clock is available.
1939         * sysdeps/unix/i386/clock_getcpuclockid.c: Not needed anymore.
1941         * sysdeps/generic/dl-sysdep.c: Initialize _dl_cpuclock_offset to move
1942         it into data section.
1944         * sysdeps/unix/i386/i586/clock_getres.c: Removed.
1945         * sysdeps/unix/i386/i586/clock_gettime.c: Removed.
1946         * sysdeps/unix/i386/i586/clock_nanosleep.c: Removed.
1947         * sysdeps/unix/i386/i586/clock_settime.c: Removed.
1948         * sysdeps/unix/i386/i586/cpuclock-init.h: Removed.
1949         * sysdeps/generic/cpuclock-init.h: Removed.
1950         * sysdeps/unix/i386/i686/Implies: Removed.
1951         * sysdeps/unix/i386/i686/tempname.c: Removed.
1952         * sysdeps/i386/i686/Versions: New file.
1953         * sysdeps/unix/i386/i586/Versions: Removed.
1955         * sysdeps/posix/clock_getres.c: If HP_TIMING_AVAIL is nonzero handle
1956         CLOCK_PROCESS_CPUTIME_ID and CLOCK_THREAD_CPUTIME_ID.
1957         * sysdeps/unix/clock_gettime.c: Likewise.
1958         * sysdeps/unix/clock_nanosleep.c: Likewise.
1959         * sysdeps/unix/clock_settime.c: Likewise.
1960         * sysdeps/posix/tempname.c: Is HP_TIMING_AVAIL is nonzero define
1961         RANDOM_BITS use CPU clock.
1963         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/bits/time.h: New file.
1964         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9b/bits/time.h: New file.
1965         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/time.h: New file.
1966         * sysdeps/sparc/Versions: New file.
1968         * elf/dl-support.c: Don't use cpuclock-init.h definitions, use
1969         hp-timing.h definitions.
1970         * sysdeps/generic/dl-sysdep.c: Likewise.
1972         * include/libc-internal.h: Include hp-timing.h.  Use hp_timing_t in
1973         __get_clockfreq prototype.
1975         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
1976         Use hp_timing_t type.
1977         * sysdeps/generic/get_clockfreq.c (__get_clockfreq): Likewise.
1979         * sysdeps/unix/sysv/linux/ia64/get_clockfreq.c: New file.
1981         * sysdeps/posix/pathconf.c (__pathconf): For _PC_ASYNC_IO test
1982         whether named file is a regular file or a block device.
1983         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
1985 2001-04-23  Andreas Jaeger  <aj@suse.de>
1987         * nscd/nscd.h: Add noreturn attribute for start_threads.
1989 2001-04-22  Ulrich Drepper  <drepper@redhat.com>
1991         * posix/getconf.c: Fix names of XBS5 LFS test variables.
1992         Add missing configuration variables from XPG6.
1993         * posix/tst-getconf.c: New file.
1994         * posix/Makefile (generated): Add tst-getconf.out.
1995         (tests): Add ($objpfx)tst-getconf.out.
1996         Add rule to run tst-getconf.sh.
1997         * sysdeps/generic/bits/confname.h: Add missing _PC_ and _SC_ values
1998         from XPG6.
1999         * sysdeps/posix/fpathconf.c: Add handling of _PC_ALLOC_SIZE_MIN and
2000         _PC_SYMLINK_MAX.
2001         * sysdeps/posix/pathconf.c: Likewise.
2002         * sysdeps/posix/sysconf.c: Correct spelling of _SC_MULTI_PROCESS
2003         and _SC_SYMLOOP_MAX.
2005 2001-04-22  Philip Blundell  <philb@gnu.org>
2007         * sysdeps/arm/fpu/feenablxcpt.c: New file.
2008         * sysdeps/arm/fpu/fedisablxcpt.c: New file.
2009         * sysdeps/arm/fpu/fegetexcpt.c: New file.
2011 2001-04-22  Philip Blundell  <philb@gnu.org>
2013         * sysdeps/unix/sysv/linux/arm/sys/user.h (struct user_fpregs):
2014         Renamed from struct user_fp.
2015         (struct user_regs): New.
2016         (struct user): Use struct user_regs rather than struct pt_regs to
2017         avoid dependency on asm/ptrace.h.  Use struct user_fpregs in place
2018         of struct user_fp and struct user_fp_struct.
2019         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Include sys/procfs.h
2020         not sys/elf.h.
2022 2001-04-22  Philip Blundell  <philb@gnu.org>
2024         * sysdeps/unix/sysv/linux/arm/sys/elf.h: Move contents to
2025         sys/procfs.h, and tell the user to include that file instead.
2026         * sysdeps/unix/sysv/linux/arm/sys/procfs.h: Remove old cruft
2027         surrounded with #if 0.
2028         (elf_greg_t, ELF_NGREG, elf_gregset_t, elf_fpregset_t): Moved here
2029         from sys/elf.h.
2030         (prgregset_t, prfpregset_t): Define in terms of elf_gregset_t and
2031         elf_fpregset_t respectively.
2033 2001-04-22  Philip Blundell  <philb@gnu.org>
2035         * sysdeps/unix/sysv/linux/arm/register-dump.h: Also print the
2036         address that faulted.
2038 2001-04-21  Ulrich Drepper  <drepper@redhat.com>
2040         * sysdeps/generic/bits/confname.h: Add _SC_V6_* and _CS_POSIX_V6_*
2041         values.
2042         * sysdeps/generic/bits/environments.h: Define _POSIX_V6_* values.
2043         * posix/confstr.c: Handle _CS_POSIX_V6_* values.
2044         * posix/getconf.c: Handle _CS_POSIX_V6_* and _SC_V6_* values.
2045         * sysdeps/posix/sysconf.c: Handle _SC_V6_* values.
2047         * sysdeps/powerpc/fpu/libm-test-ulps: Add deltas for atan2f.
2048         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
2049         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
2050         * sysdeps/mips/fpu/libm-test-ulps: Likewise.
2052 2001-04-21  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
2054         * sysdeps/unix/sysv/linux/powerpc/mmap64.c: Correct check for invalid
2055         offset.
2057 2001-04-21  Ulrich Drepper  <drepper@redhat.com>
2059         * posix/getopt.h: Treat __cplusplus like __STDC__.
2061 2001-04-20  John S. Marvin  <jsm@fc.hp.com>
2063         * sysdeps/unix/sysv/linux/hppa/clone.S: Fix clone system call
2064         entry point stub.
2066 2001-04-20  Richard Hirst  <rhirst@linuxcare.com>
2068         * elf/elf.h: Corrected R_PARISC_DIR14R (should be 6, not 5),
2069         and added R_PARISC_DPREL21L and R_PARISC_DPREL14R for modutils.
2071         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Removed ptrace
2072         entry so the ptrace.c wrapper is used.
2074 2001-04-20  Alan Modra  <amodra@one.net.au>
2076         * sysdeps/hppa/dl-lookupcfg.h (_dl_function_address): Prototype.
2077         (DL_FUNCTION_ADDRESS): Define.
2078         (DL_DT_INIT_ADDRESS): Define.
2079         (DL_DT_FINI_ADDRESS): Define.
2080         * sysdeps/hppa/Versions: Add _dl_function_address.
2081         * sysdeps/hppa/dl-machine.h (ELF_MACHINE_START_ADDRESS): Define.
2082         * sysdeps/hppa/dl-symaddr.c (_dl_start_address): Rename to
2083         _dl_function_address.
2085 2001-04-21  Andreas Jaeger  <aj@suse.de>
2087         * rt/aio_misc.c (handle_fildes_io): Add noreturn attribute.
2088         * resolv/gai_misc.c (handle_requests): Likewise.
2089         * malloc/obstack.c (print_and_abort): Likewise.
2090         * malloc/mcheck.c (mabort): Likewise.
2092         * sysdeps/unix/i386/i586/clock_settime.c: Include
2093         "libc-internal.h" for __get_clockfreq declaration.
2095 2001-04-21  Ulrich Drepper  <drepper@redhat.com>
2097         * elf/dl-support.c: Include cpuclock-init.h.  Use CPUCLOCK_VARDEF and
2098         CPUCLOCK_INIT if defined.
2099         * sysdeps/generic/dl-sysdep.c: Likewise.
2100         * sysdeps/generic/cpuclock-init.h: New file.
2101         * sysdeps/unix/i386/i586/cpuclock-init.h: New file.
2102         * sysdeps/unix/i386/i586/Versions: New file.
2103         * sysdeps/unix/i386/i586/clock_settime.c: New file.
2104         * sysdeps/unix/i386/i586/clock_gettime.c: Handle thread CPU clock
2105         separately by calling __pthread_clock_gettime if this function is
2106         available.  Subtract offset from tsc value before computing time value.
2108 2001-04-20  Ulrich Drepper  <drepper@redhat.com>
2110         * iconv/iconv_prog.c (print_known_names): If printing goes not to
2111         a tty print in a more machine-friendly way.
2113         * sysdeps/ieee754/ldbl-128/e_asinl.c: New file.
2114         Contributed by Stephen L Moshier <moshier@mediaone.net>.
2116 2001-04-20  Andreas Jaeger  <aj@suse.de>
2118         * intl/Makefile (tests): Reorder conditions, tst-gettext needs msgfmt.
2120 2001-04-20  Andreas Schwab  <schwab@suse.de>
2122         * sysdeps/m68k/fpu/libm-test-ulps: Update.
2124 2001-04-19  Alan Modra  <amodra@one.net.au>
2126         * Makerules (libc_pic.os): Add $(LDFLAGS-c_pic.os).
2127         * sysdeps/hppa/Makefile (LDFLAGS-c_pic.os): Define.
2128         (CFLAGS-.os): Remove.
2130         * sysdeps/unix/sysv/linux/hppa/sysdep.h (CALL_MCOUNT): Update comment.
2132         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (NGREG, NFPREG,
2133         gregset): Correct for new kernel definitions.
2135 2001-04-19  Alan Modra  <alan@linuxcare.com.au>
2137         * sysdeps/hppa/elf/initfini.c: Change dlt reg save to r3 and
2138         generate unwind info by hand.
2140 2001-04-19  Ulrich Drepper  <drepper@redhat.com>
2142         * sysdeps/unix/sysv/linux/powerpc/mmap64.c (__mmap64): Optimize a bit.
2144         * configure.in: Correct regular expression for msgfmt.
2145         Patch by Bruno Haible <haible@ilog.fr>.
2147 2001-04-19  Andreas Jaeger  <aj@suse.de>
2149         * po/el.po: Add comment explaining what's broken.
2151         * po/Makefile (BROKEN_LINGUAS): New.
2152         (ALL_LINGUAS): Don't add broken languages.
2154 2001-04-19  Roland McGrath  <roland@frob.com>
2156         * sysdeps/mach/hurd/mlock.c: New file.
2157         * sysdeps/mach/hurd/munlock.c: New file.
2158         * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_MEMLOCK_RANGE): Define it.
2160         * misc/Makefile (routines): Add mlock munlock mlockall munlockall.
2161         * sysdeps/generic/mlock.c: New file.
2162         * sysdeps/generic/munlock.c: New file.
2163         * sysdeps/generic/mlockall.c: New file.
2164         * sysdeps/generic/munlockall.c: New file.
2165         * sysdeps/generic/bits/mman.h (MCL_CURRENT, MCL_FUTURE): New macros.
2166         * sysdeps/unix/sysv/linux/syscalls.list (mlock, munlock,
2167         mlockall, munlockall): Change caller field to - from EXTRA.
2168         Don't use __ names; not used (and not declared in include/sys/mman.h).
2170         * hurd/privports.c (__get_privileged_ports): Renamed with __.
2171         Use __ names for calls we make.
2172         (get_privileged_ports): Add alias.
2173         * hurd/hurd.h: Declare it with the __ name.
2174         * sysdeps/mach/hurd/reboot.c (reboot): Use __get_privileged_ports.
2175         * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
2176         * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
2178         * hurd/hurdsig.c (write_corefile): Check RLIMIT_CORE limit and do
2179         nothing if it's zero.
2181 2001-04-19  Matthew Wilcox  <willy@ldl.fc.hp.com>
2183         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL):
2184         Change to return a signed result for compatibility with other
2185         architectures, and correctness.
2187 2001-04-19  Ulrich Drepper  <drepper@redhat.com>
2189         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_32BITUIDS):
2190         HPPA always had them.  Patch by Matthew Wilcox <matthew@wil.cx>.
2192 2001-04-19  Andreas Jaeger  <aj@suse.de>
2194         * configure.in: Require gettext 0.10.36 or newer.
2196         * manual/install.texi (Tools for Compilation): Mention gettext 0.10.36.
2198         * po/zh_TW.po: Remove extraneous backslashes.
2200         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Remove unused
2201         variables b and n.
2203 2001-04-18  Jakub Jelinek  <jakub@redhat.com>
2205         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Update.
2206         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c: New file.
2207         * sysdeps/unix/sysv/linux/sparc/sparc64/swapcontext.c: New file.
2208         * sysdeps/unix/sysv/linux/sparc/sparc64/setcontext.S (__setcontext):
2209         Copy first word of uc_sigmask into __uc_sigmask.
2210         * sysdeps/unix/sysv/linux/sparc/sparc64/getcontext.S (__getcontext):
2211         Save uc_link around trap.  Copy __uc_sigmask into first word of
2212         uc_sigmask, clear the rest.  Make sure setcontext to the created
2213         context doesn't do this though.
2214         * sysdeps/unix/sysv/linux/sparc/sparc64/ucontext_i.h: New file.
2215         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (ucontext_t): Add
2216         uc_stack and uc_sigmask, rename old uc_sigmask to __uc_sigmask in the
2217         64bit version, make uc_sigmask __sigset_t in the 32bit version.
2219 2001-04-19  Andreas Jaeger  <aj@suse.de>
2221         * sysdeps/unix/sysv/linux/hppa/umount.c: Fix typos in last patch.
2223         * rt/Makefile (otherlibs): Added for static NSS.
2225         * glibcbug.in (BUGGLIBC): Send to new alias.
2227 2001-04-02  Andreas Schwab  <schwab@suse.de>
2229         * Makerules (build-module): Make sure exit codes get checked
2230         properly and remove unnecessary slashes.
2232 2001-04-17  Ulrich Drepper  <drepper@redhat.com>
2234         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
2235         Handle kernels which report only three digits after the decimal point.
2236         Reported by Van Okamura <van.okamura@oracle.com>.
2238         * sysdeps/alpha/fpu/libm-test-ulps: Adjust error values for atan2f.
2240 2001-04-17  David S. Miller  <davem@redhat.com>
2242         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Update for new atan2 tests.
2243         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
2245 2001-04-17  Jakub Jelinek  <jakub@redhat.com>
2247         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Make sure
2248         desired exceptions are raised for exceptional values.
2249         * math/libm-test.inc (acosh_test, atan_test, atan2_test, cacos_test,
2250         cacosh_test, casin_test, casinh_test, catan_test, catanh_test,
2251         clog_test, log_test, log1p_test, tan_test): Increase precision of
2252         expected values to satisfy ldbl-128.
2253         * sysdeps/alpha/fpu/libm-test-ulps: Adjust accordingly.
2254         * sysdeps/arm/libm-test-ulps: Likewise.
2255         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
2256         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
2257         * sysdeps/m68k/fpu/libm-test-ulps: Likewise.
2258         * sysdeps/mips/fpu/libm-test-ulps: Likewise.
2259         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
2260         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
2261         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
2262         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
2263         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
2265 2001-04-17  Andreas Jaeger  <aj@suse.de>
2267         * configure.in: Move test for critical programs up.
2269 2001-04-16  Stephen L Moshier  <moshier@mediaone.net>
2271         * sysdeps/ieee754/flt-32/e_asinf.c (pio2_hi, pio2_lo, pio4_hi):
2272         Correct the values.
2273         (pSx, qSx): Replace by shorter approximation.
2274         Use f suffix on float constants.
2276 2001-04-16  Ulrich Drepper  <drepper@redhat.com>
2278         * sysdeps/ieee754/ldbl-128/k_tanl.c: New file.
2279         Contributed by Stephen L Moshier <moshier@mediaone.net>.
2281         * string/string.h: Replace const in attribute list with __const__.
2283 2001-04-16  Roland McGrath  <roland@frob.com>
2285         * grp/initgroups.c (initgroups) [NGROUPS_MAX != 0]: Always use sysconf
2286         instead of the constant NGROUPS_MAX.  That way, the limit can be
2287         raised in the kernel configuration without having to recompile libc.
2289         * sysdeps/posix/euidaccess.c: Don't #include <limits.h> or try to
2290         define NGROUPS_MAX; we don't use it here.
2292 2001-04-16  Andreas Jaeger  <aj@suse.de>
2294         * math/libm-test.inc (atan2_test): Add more testcases.
2296         * iconv/gconv_db.c: Include gconv_charset.h for
2297         __gconv_lookup_alias prototype.
2299 2001-04-13  Ulrich Drepper  <drepper@redhat.com>
2301         * sysdeps/ieee754/ldbl-128/s_atanl.c: New file.
2302         Contributed by Stephen L Moshier <moshier@mediaone.net>.
2304 2001-04-13  Jes Sorensen  <jes@linuxcare.com>
2306         * intl/tst-codeset.c: Include string.h to get prototype for strcmp().
2308 2001-04-13  Jes Sorensen  <jes@linuxcare.com>
2310         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Add __pad0 to
2311         explicitly pad struct siginfo instead of relying on compiler padding.
2313 2001-04-12  Ulrich Drepper  <drepper@redhat.com>
2315         * sysdeps/ia64/Dist: Add elf/entry.h.
2317         * iconvdata/Makefile (distribute): Add TESTS2.
2319 2001-04-13  Jakub Jelinek  <jakub@redhat.com>
2321         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_load_address):
2322         Calculate load address differently.
2324 2001-04-12  Bruno Haible  <haible@clisp.cons.org>
2326         * iconvdata/TESTS2: New file.
2327         * iconvdata/run-iconv-test.sh: Also run tests from TESTS2.
2328         * iconvdata/testdata/alfabeta..UTF-8: New file.
2329         * iconvdata/testdata/alfabeta..UTF-16.BE: New file.
2330         * iconvdata/testdata/alfabeta..UTF-16.LE: New file.
2331         * iconvdata/testdata/alfabeta..UTF-32.BE: New file.
2332         * iconvdata/testdata/alfabeta..UTF-32.LE: New file.
2334 2001-04-11  Bruno Haible  <haible@clisp.cons.org>
2336         * iconvdata/utf-32.c: New file.
2337         * iconvdata/gconv-modules: Add entries for UTF-32, UTF-32LE, UTF-32BE.
2338         * iconvdata/Makefile (modules): Add UTF-32.
2339         (distribute): Add utf-32.c.
2341 2001-04-11  Bruno Haible  <haible@clisp.cons.org>
2343         * iconvdata/utf-16.c (PREPARE_LOOP): Initialize 'swap' after possibly
2344         changing it in the state.  After incrementing 'inptr', store it back.
2345         * iconvdata/unicode.c (PREPARE_LOOP): After incrementing 'inptr',
2346         store it back.
2348 2001-04-11  Bruno Haible  <haible@clisp.cons.org>
2350         * iconvdata/utf-16.c (gconv_init): Use MAX_NEEDED_FROM, not
2351         MIN_NEEDED_FROM.
2353 2001-04-11  David Mosberger  <davidm@hpl.hp.com>
2355         * sysdeps/ia64/htonl.S: Drop superfluous "alloc".
2356         * sysdeps/ia64/htons.S: Likewise.
2358         * sysdeps/ia64/memset.S: Add unwind directives.
2359         * sysdeps/ia64/strncpy.S: Likewise.
2360         * sysdeps/ia64/strcat.S: Likewise.
2362         * sysdeps/ia64/memccpy.S: Add unwind directives.  Drop superfluous
2363         restore of ar.pfs.
2364         * sysdeps/ia64/strchr.S: Likewise.
2365         * sysdeps/ia64/memmove.S: Likewise.
2366         * sysdeps/ia64/memcpy.S: Likewise.
2367         * sysdeps/ia64/memcmp.S: Likewise.
2368         * sysdeps/ia64/memchr.S: Likewise.
2369         * sysdeps/ia64/strcmp.S: Likewise.
2370         * sysdeps/ia64/strlen.S: Likewise.
2371         * sysdeps/ia64/strcpy.S: Likewise.
2372         * sysdeps/ia64/strncmp.S: Likewise.
2374 2001-04-11  Jakub Jelinek  <jakub@redhat.com>
2376         * wcsmbs/wchar.h (fgetwc, getwc, getwchar, fputwc, putwc, putwchar,
2377         fgetws, fputws, ungetwc, getwc_unlocked, getwchar_unlocked,
2378         fgetwc_unlocked, fputwc_unlocked, putwc_unlocked, putwchar_unlocked,
2379         fgetws_unlocked, fputws_unlocked, wcsftime): Add __THROW.
2381 2001-04-11  Andreas Jaeger  <aj@suse.de>
2383         * sysdeps/mips/elf/start.S [__ASSEMBLY__]: Define it.
2385 2001-04-11  Andreas Schwab  <schwab@suse.de>
2387         * sysdeps/m68k/fpu/libm-test-ulps: Adjusted.
2389 2001-04-11  Ulrich Drepper  <drepper@redhat.com>
2391         * sysdeps/arm/stackinfo.h: New file.
2393 2001-04-08  Thorsten Kukuk  <kukuk@suse.de>
2395         * sunrpc/rpc_main.c: If we compile RPC thread safe, allow
2396         rpcgen to generate thread safe code.
2398 2001-04-10  Andreas Jaeger  <aj@suse.de>
2400         * math/test-fenv.c (initial_tests): Protect FE_TONEAREST declaration.
2402 2001-04-10  Ulrich Drepper  <drepper@redhat.com>
2404         * elf/dl-minimal.c (__assert_fail): Change error string.  It's
2405         most of the time no bug in ld.so.
2406         (__assert_perror_fail): Likewise.
2408 2001-04-11  Hans-Peter Nilsson  <hp@axis.com>
2410         * sysdeps/generic/bits/fenv.h (fexcept_t): Change default type
2411         from struct to unsigned int.
2413 2001-04-10  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
2415         * elf/elf.h (AT_DCACHEBSIZE, AT_ICACHEBSIZE, AT_UCACHEBSIZE,
2416         AT_IGNOREPPC): New defines.
2417         * sysdeps/generic/dl-sysdep.c (_dl_show_auxv): Print them.
2418         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_STD_AUXV):
2419         Define for newer powerpc kernels.
2420         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Use the standard
2421         DL_FIND_ARG_COMPONENTS if __ASSUME_STD_AUXV is defined.
2423 2000-4-10  kaz Kojima  <kkojima@rr.iij4u.or.jp>
2425         * sysdeps/sh/stackinfo.h: New file.
2427 2001-04-10  Ulrich Drepper  <drepper@redhat.com>
2429         * locale/tst-C-locale.c (run_test): Add tests for locale objects.
2430         * locale/newlocale.c (__newlocale): Correct setting __ctype_b,
2431         __ctype_tolower, and __ctype_toupper elements.
2433         * ctype/ctype_l.c: Fix definitions of __tolower_l and __toupper_l.
2434         Reported by Konstantin Osipov <rabid@spylog.ru>.
2436         * sysdeps/i386/fpu/libm-test-ulps: Add deltas for tgamma to help
2437         the lousy AMD FPU.
2439 2001-04-10  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
2441         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: New file.
2442         * sysdeps/unix/sysv/linux/powerpc/Dist: Add sys/ptrace.h.
2443         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Delete wrong stuff.
2444         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Correct typedefs.
2446 2001-04-10  Ulrich Drepper  <drepper@redhat.com>
2448         * elf/dl-deps.c (_dl_map_object_deps): Provide complete error
2449         message.  Based on a patch by HJ Lu.
2451 2001-04-10  Andreas Schwab  <schwab@suse.de>
2453         * math/libm-test.inc (csinh_test): Don't require the invalid
2454         exception for csinh (x + iNaN), but make it optional.
2456 2001-04-09  David Mosberger  <davidm@hpl.hp.com>
2458         * sysdeps/ia64/elf/start.S (_start): Add unwind directives.
2460         * sysdeps/generic/entry.h [!__ASSEMBLY__]: Declare _start.
2461         * sysdeps/ia64/elf/entry.h: New file.
2462         * sysdeps/unix/sysv/linux/mips/entry.h [!__ASSEMBLY__]: Declare
2463         __start.
2464         * elf/rtld.c: Don't declare ENTRY_POINT.  Use ENTRY_POINT instead
2465         of &ENTRY_POINT.
2466         * sysdeps/generic/dl-sysdep.c: Likewise.
2467         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
2468         * sysdeps/ia64/elf/start.S: Save base address of register backing
2469         store in __libc_ia64_register_backing_store_base.
2471 2001-04-10  Martin Schwidefsky  <schwidefsky@de.ibm.com>
2473         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Fix return
2474         value of getcontext.
2475         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
2476         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Fix return
2477         value of setcontext.
2478         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
2479         * sysdeps/unix/sysv/linux/s390/swapcontext.c: Skip setcontext
2480         call by changing the saved context.
2482 2001-04-10  Ulrich Drepper  <drepper@redhat.com>
2484         * sysdeps/alpha/stackinfo.h: New file.
2485         * sysdeps/ia64/stackinfo.h: New file.
2487 2001-04-10  Andreas Schwab  <schwab@suse.de>
2489         * sysdeps/m68k/fpu/e_pow.c: Correct handling of some exceptional
2490         values.
2491         * sysdeps/m68k/fpu/e_scalb.c: Likewise.
2493 2001-04-09  Ulrich Drepper  <drepper@redhat.com>
2495         * sysdeps/sparc/sparc32/sparcv9/Dist: Add hp-timing.c.
2496         * sysdeps/sparc/sparc64/Dist: Add hp-timing.c.
2498         * libio/Makefile (distribute): Add fd_to_filename.h.
2500 2001-04-05  David S. Miller  <davem@redhat.com>
2502         Add hp-timing support for sparcv9/sparc64 targets.
2503         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: New file
2504         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: New file
2505         * sysdeps/sparc/sparc64/hp-timing.c: New file
2506         * sysdeps/sparc/sparc64/hp-timing.h: New file
2507         * sysdeps/sparc/sparc32/sparcv9/Makefile: Build hp-timing.
2508         * sysdeps/sparc/sparc64/Makefile: Likewise.
2510 2001-04-09  Jakub Jelinek  <jakub@redhat.com>
2512         * sysdeps/generic/fd_to_filename.h: New file.
2513         * sysdeps/unix/sysv/linux/fd_to_filename.h: New file.
2514         * libio/freopen.c (freopen): If FILENAME is NULL, try to get
2515         filename from the open file descriptor.
2516         * libio/freopen64.c (freopen64): Likewise.
2518 2001-04-09  Bruno Haible  <haible@clisp.cons.org>
2520         * misc/error.c (error): fflush stdout also if
2521         error_print_progname != NULL.
2522         (error_at_line): Likewise.
2524 2001-04-07  Bruno Haible  <haible@clisp.cons.org>
2526         * intl/gettextP.h (struct loaded_domain): Add codeset_cntr field.
2527         (struct binding): Add codeset_cntr field.
2528         (_nl_load_domain): Add domainbinding argument.
2529         (_nl_init_domain_conv, _nl_free_domain_conv): New declarations.
2530         (_nl_find_msg): New declaration, moved here from loadinfo.h.
2531         * intl/loadinfo.h (struct loaded_l10nfile): Remove domainbinding field.
2532         (_nl_make_l10nflist): Remove domainbinding argument.
2533         (_nl_find_msg): Move declaration to gettextP.h.
2534         * intl/bindtextdom.c (set_binding_values): Initialize ->codeset_cntr
2535         to 0.  Increment it when ->codeset is changed.
2536         * intl/dcigettext.c (DCIGETTEXT): Pass binding to _nl_find_msg.
2537         (_nl_find_msg): Add domainbinding argument.  Reinitialize the converter
2538         if domainbinding->codeset_cntr has been incremented.
2539         * intl/finddomain.c (_nl_find_domain): Don't pass domainbinding to
2540         _nl_make_l10nflist().  Pass it to _nl_load_domain() instead.
2541         * intl/l10nflist.c (_nl_make_l10nflist): Remove domainbinding argument.
2542         * intl/loadmsgcat.c (_nl_init_domain_conv): New function, extracted
2543          from _nl_load_domain.  Append //TRANSLIT also when using libiconv.
2544         (_nl_free_domain_conv): New function, extracted from _nl_unload_domain.
2545         (_nl_load_domain): Add domainbinding argument.  Call
2546         _nl_init_domain_conv.
2547         (_nl_unload_domain): Call _nl_free_domain_conv.
2548         * intl/Makefile (distribute): Add tst-codeset.sh, tstcodeset.po.
2549         (test-srcs): Add tst-codeset.
2550         (tests): Depend on tst-codeset.out.
2551         (tst-codeset.out): New rule.
2552         (CFLAGS-tst-codeset.c): New variable.
2553         * intl/tst-codeset.sh: New file.
2554         * intl/tstcodeset.po: New file.
2555         * intl/tst-codeset.c: New file.
2556         * locale/findlocale.c (_nl_find_locale): Update _nl_make_l10nflist
2557         calls.
2559 2001-04-07  Roland McGrath  <roland@frob.com>
2561         * mach/msgserver.c (__mach_msg_server_timeout): Add an assert.
2563 2001-03-31  Roland McGrath  <roland@frob.com>
2565         * sysdeps/mach/hurd/fork.c: Skip NEWPROC just like NEWTASK when
2566         copying send rights into child.  When we hit our name for our proc
2567         port, just copy NEWPROC directly instead of repeating proc_task2proc
2568         to install the child's port.
2570 2001-04-08  Roland McGrath  <roland@frob.com>
2572         * Makeconfig ($(common-objpfx)soversions.i): Grok entries with DEFAULT
2573         in second column, to provide default values for third column.
2574         * shlib-versions: Add comments about using DEFAULT in second column.
2575         (s390x-.*-linux.*): Replace individual entries with a DEFAULT entry.
2576         (cris-.*-linux.*): Likewise.
2578 2001-04-09  Ulrich Drepper  <drepper@redhat.com>
2580         * Makefile (distribute): Add scripts/documented.sh.
2581         * scripts/documented.sh: New file.
2583 2001-04-08  Hans-Peter Nilsson  <hp@axis.com>
2585         * sysdeps/unix/sysv/linux/cris/Dist: New file.
2586         * sysdeps/unix/sysv/linux/cris/Makefile: New file.
2587         * sysdeps/unix/sysv/linux/cris/_G_config.h: New file.
2588         * sysdeps/unix/sysv/linux/cris/bits/fcntl.h: New file.
2589         * sysdeps/unix/sysv/linux/cris/bits/mman.h: New file.
2590         * sysdeps/unix/sysv/linux/cris/bits/resource.h: New file.
2591         * sysdeps/unix/sysv/linux/cris/brk.c: New file.
2592         * sysdeps/unix/sysv/linux/cris/chown.c: New file.
2593         * sysdeps/unix/sysv/linux/cris/clone.S: New file.
2594         * sysdeps/unix/sysv/linux/cris/fchown.c: New file.
2595         * sysdeps/unix/sysv/linux/cris/fcntl.c: New file.
2596         * sysdeps/unix/sysv/linux/cris/fxstat.c: New file.
2597         * sysdeps/unix/sysv/linux/cris/getegid.c: New file.
2598         * sysdeps/unix/sysv/linux/cris/geteuid.c: New file.
2599         * sysdeps/unix/sysv/linux/cris/getgid.c: New file.
2600         * sysdeps/unix/sysv/linux/cris/getgroups.c: New file.
2601         * sysdeps/unix/sysv/linux/cris/getresgid.c: New file.
2602         * sysdeps/unix/sysv/linux/cris/getresuid.c: New file.
2603         * sysdeps/unix/sysv/linux/cris/getrlimit.c: New file.
2604         * sysdeps/unix/sysv/linux/cris/getrlimit64.c: New file.
2605         * sysdeps/unix/sysv/linux/cris/getuid.c: New file.
2606         * sysdeps/unix/sysv/linux/cris/lchown.c: New file.
2607         * sysdeps/unix/sysv/linux/cris/lockf64.c: New file.
2608         * sysdeps/unix/sysv/linux/cris/lxstat.c: New file.
2609         * sysdeps/unix/sysv/linux/cris/mmap.S: New file.
2610         * sysdeps/unix/sysv/linux/cris/mmap64.S: New file.
2611         * sysdeps/unix/sysv/linux/cris/msgctl.c: New file.
2612         * sysdeps/unix/sysv/linux/cris/profil-counter.h: New file.
2613         * sysdeps/unix/sysv/linux/cris/register-dump.h: New file.
2614         * sysdeps/unix/sysv/linux/cris/semctl.c: New file.
2615         * sysdeps/unix/sysv/linux/cris/setegid.c: New file.
2616         * sysdeps/unix/sysv/linux/cris/seteuid.c: New file.
2617         * sysdeps/unix/sysv/linux/cris/setfsgid.c: New file.
2618         * sysdeps/unix/sysv/linux/cris/setfsuid.c: New file.
2619         * sysdeps/unix/sysv/linux/cris/setgid.c: New file.
2620         * sysdeps/unix/sysv/linux/cris/setgroups.c: New file.
2621         * sysdeps/unix/sysv/linux/cris/setregid.c: New file.
2622         * sysdeps/unix/sysv/linux/cris/setresgid.c: New file.
2623         * sysdeps/unix/sysv/linux/cris/setresuid.c: New file.
2624         * sysdeps/unix/sysv/linux/cris/setreuid.c: New file.
2625         * sysdeps/unix/sysv/linux/cris/setrlimit.c: New file.
2626         * sysdeps/unix/sysv/linux/cris/setuid.c: New file.
2627         * sysdeps/unix/sysv/linux/cris/shmctl.c: New file.
2628         * sysdeps/unix/sysv/linux/cris/socket.S: New file.
2629         * sysdeps/unix/sysv/linux/cris/sys/ucontext.h: New file.
2630         * sysdeps/unix/sysv/linux/cris/syscall.S: New file.
2631         * sysdeps/unix/sysv/linux/cris/sysdep.S: New file.
2632         * sysdeps/unix/sysv/linux/cris/sysdep.h: New file.
2633         * sysdeps/unix/sysv/linux/cris/vfork.S: New file.
2634         * sysdeps/unix/sysv/linux/cris/xstat.c: New file.
2636 2001-04-08  Hans-Peter Nilsson  <hp@axis.com>
2638         * sysdeps/cris/Dist: New file.
2639         * sysdeps/cris/Implies: New file.
2640         * sysdeps/cris/Makefile: New file.
2641         * sysdeps/cris/__longjmp.S: New file.
2642         * sysdeps/cris/_mcount.S: New file.
2643         * sysdeps/cris/bits/endian.h: New file.
2644         * sysdeps/cris/bits/setjmp.h: New file.
2645         * sysdeps/cris/bits/string.h: New file.
2646         * sysdeps/cris/dl-machine.h: New file.
2647         * sysdeps/cris/elf/start.S: New file.
2648         * sysdeps/cris/machine-gmon.h: New file.
2649         * sysdeps/cris/memcopy.h: New file.
2650         * sysdeps/cris/memusage.h: New file.
2651         * sysdeps/cris/setjmp.S: New file.
2652         * sysdeps/cris/sysdep.h: New file.
2653         * sysdeps/cris/wordcopy.c: New file.
2655 2001-04-08  Hans-Peter Nilsson  <hp@axis.com>
2657         * elf/elf.h: Add new relocations for CRIS.
2659 2001-04-08  Hans-Peter Nilsson  <hp@axis.com>
2661         * shlib-versions: Add cases for Linux on CRIS.
2663 2001-04-08  Hans-Peter Nilsson  <hp@axis.com>
2665         * configure.in (ASM_LINE_SEP tests): Handle CRIS assembly, with
2666         ';' for comments and '@' for line separator.
2668 2001-04-08  Hans-Peter Nilsson  <hp@axis.com>
2670         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Fix
2671         typo; s/==/=/ for assignment.
2673 2001-04-08  Hans-Peter Nilsson  <hp@axis.com>
2675         * malloc/Makefile: Correct comment; mtrace is Perl, not AWK.
2677 2001-04-08  Hans-Peter Nilsson  <hp@axis.com>
2679         * iconv/gconv_simple.c (internal_ucs4_loop_unaligned): Check for
2680         empty input before checking full output.
2682 2001-04-08  Hans-Peter Nilsson  <hp@axis.com>
2684         * iconv/gconv.c (__gconv): Don't derefer parameter cd before
2685         checking if == -1L.
2687 2001-04-08  Ulrich Drepper  <drepper@redhat.com>
2689         * inet/rexec.c (rexec_af): Avoid calling perror with errno being set.
2691 2001-04-07  Stephen L Moshier  <moshier@mediaone.net>
2693         * sysdeps/ieee754/ldbl-128/e_logl.c: Correct infinity and NaN
2694         return values.
2696 2001-04-07  Ulrich Drepper  <drepper@redhat.com>
2698         * stdlib/tst-setcontext.c (main): Add a test for setcontext.
2700         * sysdeps/unix/sysv/linux/i386/getcontext.S: New file.
2701         * sysdeps/unix/sysv/linux/i386/setcontext.S: New file.
2702         * sysdeps/unix/sysv/linux/i386/makecontext.S: New file.
2703         * sysdeps/unix/sysv/linux/i386/swapcontext.S: New file.
2704         * sysdeps/unix/sysv/linux/i386/ucontext_i.h: New file.
2705         * sysdeps/unix/sysv/linux/i386/Dist: Add ucontext_i.h.
2707 2001-04-07  Andreas Jaeger  <aj@suse.de>
2709         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Use sincos
2710         instead of separate sin and cos.
2711         (__ieee754_j1l): Likewise.
2713 2001-04-06  Ulrich Drepper  <drepper@redhat.com>
2715         * sysdeps/ia64/abort-instr.h: New file.  Code by David Mosberger.
2717         * sysdeps/ia64/atomicity.h: New file.  Copied from libstdc++.
2719         * sysdeps/i386/i486/atomicity.h: Clean up the asms.
2721         * sysdeps/generic/e_scalb.c: Don't use FE_INVALID unless it's
2722         available.
2723         * sysdeps/generic/e_scalbf.c: Likewise.
2724         * sysdeps/generic/e_scalbl.c: Likewise.
2725         Patch by Mark Hatle <fray@mvista.com>.
2727 2001-04-05  David S. Miller  <davem@redhat.com>
2729         * sysdeps/sparc/abort-instr.h: New file.
2731 2001-04-05  Matt Wilson  <msw@redhat.com>
2733         * sysdeps/unix/sysv/linux/alpha/getsysstats.c (GET_NPROCS_PARSER):
2734         added code to parse new 2.4 format.
2735         (GET_NPROCS_CONF_PARSER): Likewise.
2737 2001-04-05  David S. Miller  <davem@redhat.com>
2739         * scripts/config.sub: Recognize sparcv9b like sparcv9.
2740         * configure.in: Add sparcv9b.
2741         * sysdeps/sparc/sparc32/sparcv9b/Implies: New file
2742         * sysdeps/sparc/sparc32/sparcv9b/memcpy.S: New file
2743         * sysdeps/sparc/sparc64/sparcv9b/memcpy.S: New file
2745 2001-04-06  David Mosberger  <davidm@hpl.hp.com>
2747         * stdlib/tst-setcontext.c: Move st2[] to global scope.
2748         (f2): Verify that stack pointer is inside st2[].
2750         * sysdeps/unix/sysv/linux/ia64/getcontext.S: It helps to save r12.
2751         * sysdeps/unix/sysv/linux/ia64/setcontext.S: It helps to restore r12.
2753 2001-04-06  Ulrich Drepper  <drepper@redhat.com>
2755         * timezone/antarctica: Update from tzdata2001b.
2756         * timezone/asia: Likewise.
2757         * timezone/australasia: Likewise.
2758         * timezone/europe: Likewise.
2759         * timezone/northamerica: Likewise.
2761         * iconv/iconv_open.c: Move strip and upstr definitions...
2762         * iconv/gconv_charset.h: ...here.  New file.
2763         * iconv/gconv_db.c (once): Move to file level.
2764         (do_lookup_alias): Split out from __gconv_find_transform.
2765         (__gconv_find_transform): Call do_lookup_alias.
2766         (__gconv_loopup_alias): New function.
2767         * locale/langinfo.h: Define _NL_*_CODESET values for all categories
2768         but LC_CTYPE.
2769         * locale/categories.def: Add entries for new _NL_*_CODESET values.
2770         * locale/C-ctype.c: Use _nl_C_codeset to initialize CODESET entry.
2771         * locale/C-address.c: Initialize _NL_*_CODESET element.
2772         * locale/C-collate.c: Likewise.
2773         * locale/C-identification.c: Likewise.
2774         * locale/C-measurement.c: Likewise.
2775         * locale/C-messages.c: Likewise.
2776         * locale/C-monetary.c: Likewise.
2777         * locale/C-name.c: Likewise.
2778         * locale/C-numeric.c: Likewise.
2779         * locale/C-paper.c: Likewise.
2780         * locale/C-telephone.c: Likewise.
2781         * locale/C-time.c: Likewise.
2782         * locale/localeinfo.h: Declare _nl_C_codeset.
2783         * locale/C_name.c: Define _nl_C_codeset.
2784         * locale/findlocale.c: Before accepting locale check that the used
2785         charset does not conflict with what the locale name said.
2786         * locale/programs/ld-address.c: Emit codeset information.
2787         * locale/programs/ld-collate.c: Likewise.
2788         * locale/programs/ld-identification.c: Likewise.
2789         * locale/programs/ld-measurement.c: Likewise.
2790         * locale/programs/ld-messages.c: Likewise.
2791         * locale/programs/ld-monetary.c: Likewise.
2792         * locale/programs/ld-name.c: Likewise.
2793         * locale/programs/ld-numeric.c: Likewise.
2794         * locale/programs/ld-paper.c: Likewise.
2795         * locale/programs/ld-telephone.c: Likewise.
2796         * locale/programs/ld-time.c: Likewise.
2798         * localedata/tests-mbwc/tst_funcs.h (TST_HEAD_LOCALE): It is an error
2799         if the locale data couldn't be found.
2801         * string/Makefile: Define tst-strxfrm-ENV.
2803         * ysdeps/unix/sysv/linux/ia64/getcontext.S: Fix comment.
2805 2001-04-06  Andreas Jaeger  <aj@suse.de>
2807         * include/sys/profil.h: New file.
2809         * dlfcn/modatexit.c: Add prototypes to silence GCC.
2810         * dlfcn/modcxaatexit.c: Likewise.
2811         * elf/globalmod1.c: Likewise.
2813 2001-04-05  David S. Miller  <davem@redhat.com>
2815         * elf/elf.h (HWCAP_SPARC_ULTRA3): Define it.
2816         * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h: Add it to
2817         capability flags table and HWCAP_IMPORTANT, increase
2818         _DL_HWCAP_COUNT to 6.
2819         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h: Likewise.
2821 2001-04-04  David Mosberger  <davidm@hpl.hp.com>
2823         * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext): Fix
2824         initialization of stack_end (bug reported by Zheng Gengbin
2825         <gzheng@students.uiuc.edu>).
2827 2001-04-05  Ulrich Drepper  <drepper@redhat.com>
2829         * sysdeps/i386/fpu/libm-test-ulps: Relax errors for asinl.
2831 2001-04-05  Martin Schwidefsky  <schwidefsky@de.ibm.com>
2833         * sysdeps/unix/sysv/linux/s390/s390-64/bits/socket.h: New file.
2835 2001-04-05  Ulrich Drepper  <drepper@redhat.com>
2837         * sysdeps/ieee754/ldbl-96/e_asinl.c: Correct handling of +-Inf.
2838         * sysdeps/i386/fpu/e_asinl.S: Removed.  Too inaccurate.
2840         * login/tst-utmp.c: Make file usable again in tst-utmpx.c.
2842 2001-04-04  Ulrich Drepper  <drepper@redhat.com>
2844         * sysdeps/unix/sysv/aix/dl-libc.c: Don't use the ELF version,
2845         define simple replacements here.  Patch by Michael Keezer.
2847         * sysdeps/ieee754/ldbl-128/e_logl.c: New file.
2848         * sysdeps/ieee754/ldbl-96/e_asinl.c: New file.
2849         Contributed by Stephen L Moshier <moshier@mediaone.net>.
2851         * posix/fnmatch_loop.c: Undefine NEW_PATTERN when it is not used
2852         anymore.
2854 2001-04-01  Andreas Jaeger  <aj@suse.de>
2856         * sysdeps/generic/s_nextafter.c (NO_LONG_DOUBLE): Add nexttowardl
2857         alias.
2859         * sysdeps/generic/s_fma.c (NO_LONG_DOUBLE): Add fmal alias.
2861 2001-04-04  Ulrich Drepper  <drepper@redhat.com>
2863         * sysdeps/unix/sysv/linux/s390/s390-64/Dist: Add ucontext_i.h.
2864         * sysdeps/unix/sysv/linux/s390/s390-32/Dist: Likewise.
2866 2001-04-04  Martin Schwidefsky  <schwidefsky@de.ibm.com>
2868         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: New file.
2869         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: New file.
2870         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: New file.
2871         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.h: New file.
2872         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: New file.
2873         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: New file.
2874         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: New file.
2875         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.h: New file.
2876         * sysdeps/unix/sysv/linux/s390/swapcontext.c: New file.
2878 2001-04-04  Andreas Jaeger  <aj@suse.de>
2880         * sysdeps/powerpc/dl-machine.h (ELF_MACHINE_NO_REL): Move to right
2881         place.
2883 2001-04-04  Ulrich Drepper  <drepper@redhat.com>
2885         * sunrpc/rpc_scan.c (symbols): Add entry for HYPER.
2886         * sunrpc/rpc_scan.h (enum tok_kind): Add TOK_HYPER.
2887         * sunrpc/rpc_parse.c (get_type): Handle TOK_HYPER.
2888         (unsigned_dec): Likewise.
2889         Patch by atai@jezebel.dreamhost.com.
2891         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r): Pass
2892         pointer to int as last parameter of yp_match.
2893         Patch by kanazawa@flab.fujitsu.co.jp.
2895 2001-04-03  Ulrich Drepper  <drepper@redhat.com>
2897         * resolv/netdb.h (gai_strerror): Make return value const.
2898         * sysdeps/generic/gai_strerror.c (gai_strerror): Likewise.
2899         * sysdeps/posix/gai_strerror.c (gai_strerror): Likewise.
2900         Add strings for new error values.
2902 2001-03-29  Michael Keezer  <mkeezer@redhat.com>
2904         * posix/tst-gnuglob.c: Added ifdef _DIRENT_HAVE_D_TYPE.
2905         * login/tst-utmp.c: Handle case where ut_tv is not available but
2906         ut_time is.
2907         * sysdeps/unix/sysv/aix/utmpx.h: New file.
2908         * sysdeps/unix/sysv/aix/bits/utmpx.h: Added
2909         _HAVE_UT_TYPE/PID/ID/TV/HOST defines.
2910         * sysdeps/unix/sysv/aix/libc-start.c: Removed temp code and made stub.
2911         * sysdeps/unix/sysv/aix/gettimeofday.c: New file added routines
2912         to access RTCU timer reg.
2913         * sysdeps/unix/sysv/aix/Makefile: Remove /usr/lib/crt0.o
2914         added dl-libc, dl-open,dl-sym, dl-close to misc.
2915         * sysdeps/unix/sysv/aix/start.c: New file.  Start code.
2916         * sysdeps/unix/sysv/aix/dlldr.h: New file.  AIX __loadx defines.
2917         * sysdeps/unix/sysv/aix/dl-close.c: New file.  AIX dl-close.
2918         * sysdeps/unix/sysv/aix/dl-open.c: New file.  AIX dl-open.
2919         * sysdeps/unix/sysv/aix/dl-sym.c: New file.  AIX dl-sym.
2920         * sysdeps/unix/sysv/aix/dl-libc.c: New file.  libc_dl-xxx support.
2921         * sysdeps/generic/strtoll.c: Added SHLIB_COMPAT(libc,GLIBC_2_0,
2922         GLIBC_2_2).
2923         * sysdeps/generic/strtoull.c: Likewise.
2924         * sysdeps/powerpc/ppc-mcount.S: Added nop after bl instruction.
2925         * sysdeps/unix/sysv/aix/powerpc/memset.c: New file to include
2926         sysdeps/generic/memset.c.
2927         * sysdeps/unix/sysv/aix/getpeername.c: Define __getpeername.
2929 2001-04-03  Ulrich Drepper  <drepper@redhat.com>
2931         * iconv/Makefile (CFLAGS-charmap.c): Add -DNEED_NULL_POINTER.
2932         * locale/programs/charmap.c: Define null_pointer if
2933         NEED_NULL_POINTER is defined.
2935         * misc/dirname.c (dirname): Handle multiple slashes correctly.
2937 2001-04-03  Martin Schwidefsky  <schwidefsky@de.ibm.com>
2939         * sysdeps/s390/s390-64/initfini.c: Fix __gmon_start__ GOT access.
2941 2001-04-03  Martin Schwidefsky  <schwidefsky@de.ibm.com>
2943         * sysdeps/s390/s390-32/bcopy.S: Optimize for speed.
2944         * sysdeps/s390/s390-64/bcopy.S: Likewise.
2945         * sysdeps/s390/s390-32/mempcy.S: Likewise.
2946         * sysdeps/s390/s390-64/memcpy.S: Likewise.
2948 2001-04-02  Bruno Haible  <haible@clisp.cons.org>
2950         * manual/message.texi (Advanced gettext functions): More specific
2951         syntax in the plural formula examples.
2953 2001-04-02  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
2955         * sysdeps/powerpc/atomicity.h: Silence warnings.
2956         * sysdeps/powerpc/dl-machine.h: Likewise.
2957         * sysdeps/powerpc/register-dump.h: Likewise.
2958         * sysdeps/powerpc/fpu/s_lrint.c: Likewise.
2960 2001-04-02  Andreas Jaeger  <aj@suse.de>
2962         * misc/tst-dirname.c (main): Add more tests, derived from a bug
2963         report by Michael Kerrisk <mtk16@ext.canterbury.ac.nz>.
2965 2001-04-01  Andreas Jaeger  <aj@suse.de>
2967         * debug/xtrace.sh (pcprofileso): Use SLIBDIR since libpcprofile.so
2968         is installed there.
2969         * malloc/memusage.sh (memusageso): Likewise for libmemusage.so.
2971 2001-04-01  H.J. Lu  <hjl@gnu.org>
2973         * posix/annexc.c (macrofile): Renamed from TMPFILE and set to
2974         tmpnam (NULL).
2975         * stdlib/isomac.c (macrofile): Likewise.
2977 2001-03-30  Thorsten Kukuk  <kukuk@suse.de>
2979         * inet/rcmd.c: Allow AF_UNSPEC as parameter.
2980         * nis/ypclnt.c (yp_all): Print error message only at last try,
2981         check for protocoll error only if we don't have a network error.
2983 2001-04-02  Andreas Schwab  <schwab@suse.de>
2985         * resolv/res_data.c (res_isourserver): Fix cast.
2987 2001-04-02  Andreas Jaeger  <aj@suse.de>
2989         * sysdeps/unix/sysv/linux/hppa/umount.c: Add prototype for
2990         __umount2.
2992         * sysdeps/i386/dl-machine.h (RTLD_START): Don't use multi-line
2993         strings.
2994         (ELF_MACHINE_RUNTIME_TRAMPOLINE): Likewise.
2996         * sysdeps/ieee754/dbl-64/uroot.h: Add missing braces arount
2997         initializers.
2998         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Likewise.
3000         * elf/rtld.c (print_statistics)[!HP_TIMING_NONAVAIL]: Avoid
3001         warning about unused variable.
3003         * string/string.h (strndupa): Add cast for C++ conformance.
3004         (strdupa): Likewise.
3005         Fixes PR libc/2173, reported by tbrowder@home.com.
3007 2001-03-30  Roland McGrath  <roland@frob.com>
3009         * sysdeps/mach/hurd/Makefile ($(link-rpcuserlibs)): Don't append
3010         options after $(build-module), which is no longer a single command.
3011         (LDFLAGS-link-rpcuserlibs): New variable to hold those options.
3012         (LDFLAGS-libmachuser-link.so, LDFLAGS-libhurduser-link.so): New
3013         variables using it.  Reported by Mark Kettenis <kettenis@gnu.org>.
3015 2001-03-11  Roland McGrath  <roland@frob.com>
3017         * elf/rtld.c (dl_main): Add cast to quiet warning.
3018         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
3019         * iconv/gconv_conf.c (__gconv_get_path): Likewise.
3020         (__gconv_read_conf): Likewise.
3021         * iconv/gconv_db.c (gen_steps): Likewise.
3022         (__gconv_find_transform): Likewise.
3023         * locale/programs/charmap-dir.c (fopen_uncompressed): Likewise.
3024         (fopen_uncompressed): Use const in second argument's type.
3026 2001-03-11  Roland McGrath  <roland@frob.com>
3028         * sysdeps/mach/hurd/dl-sysdep.c (__writev): New function.
3030         * mach/mach_error.h: Fix ancient #endif syntax.
3031         * hurd/hurdmalloc.c: Likewise.
3033         * sysdeps/generic/atomicity.h (exchange_and_add, atomic_add,
3034         compare_and_swap): Add volatile qualifier to first arg, to bring
3035         these prototypes in line with all the other implementations.
3036         Add a #warning to remind the builder that these are not atomic.
3038 2001-03-04  Roland McGrath  <roland@frob.com>
3040         * hurd/vpprintf.c (vpprintf) [USE_IN_LIBIO]: Use innermore first
3041         member of TEMP_F so its type is _IO_FILE * as expected.
3043         * hurd/fopenport.c (seekio): Conditionalize type of POS argument
3044         on [USE_IN_LIBIO].  Check the value for overflow, since for libio
3045         it might exceed off_t's range.
3047 2001-02-25  Roland McGrath  <roland@frob.com>
3049         * sysdeps/mach/hurd/sysd-stdio.c (__stdio_reopen): Use prototype.
3050         * sysdeps/unix/bsd/getpt.c (__posix_openpt): Likewise.
3052         * sysdeps/mach/hurd/i386/intr-msg.h (SYSCALL_EXAMINE): Make this a
3053         macro instead of an inline function,
3054         (MSG_EXAMINE): Likewise.
3056         * hurd/hurd/ioctl.h (_HURD_HANDLE_IOCTLS_1): Remove extraneous ##.
3058         * hurd/get-host.c: Include <string.h> for decls of built-ins.
3059         * hurd/hurdchdir.c: Likewise.
3060         * sysdeps/mach/hurd/i386/sigreturn.c: Likweise.
3061         * sysdeps/mach/hurd/opendir.c: Likewise.
3063         * mach/mach_init.c: Include <unistd.h> for _exit decl.
3065         * mach/errsystems.awk: Give output file a trailing newline.
3067         * mach/Machrules (MIG): Prepend CC='${CC}' to the mig command, so that
3068         the script will use our compiler for the cpp stage.
3070         With --enable-all-warnings we get a whole bunch of warnings,
3071         and these are just a few fixes; there are more needed to silence it.
3072         * mach/mach/mig_support.h (__mig_strncpy, mig_strncpy): Add extern
3073         decls before extern inline defns to quiet gcc warning.
3074         * hurd/hurd/threadvar.h (__hurd_threadvar_location_from_sp): Likewise.
3075         * sysdeps/mach/i386/machine-sp.h (__thread_stack_pointer): Likewise.
3077 2001-03-31  Andreas Jaeger  <aj@suse.de>
3079         * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_RAWHDLC): Added.
3080         (ARPHRD_HDLC): Define as alias for ARPHRD_CISCO.
3081         (ARPHRD_CISCO): New.
3082         Changes from Linux 2.4.3.
3084 2001-03-30  Isamu Hasegawa  <isamu@yamato.ibm.com>
3086         * posix/regex.c: Avoid an access violation if malloc fails.
3088 2001-03-30  Andreas Jaeger  <aj@suse.de>
3090         * sysdeps/alpha/ldiv.S (ldiv): Add alias for imaxdiv.
3092 2001-03-29  Ulrich Drepper  <drepper@redhat.com>
3094         * posix/regex.c: Remove unnecessary ifs.
3096         * math/bits/mathcalls.h: Remove infnan declaration.
3098 2001-03-29  H.J. Lu  <hjl@gnu.org>
3100         * include/endian.h: Define BIG_ENDI, LITTLE_ENDI, HIGH_HALF,
3101         and LOW_HALF only if _LIBC is defined and _ISOMAC is not defined.
3102         * stdlib/isomac.c (fmt): Define _LIBC and _ISOMAC.
3104 2001-03-29  Isamu Hasegawa  <isamu@yamato.ibm.com>
3106         * posix/regex.c: Fix typo and add a sentinel.
3108 2001-03-29  Ulrich Drepper  <drepper@redhat.com>
3110         * sysdeps/unix/sysv/linux/shm_open.c: Open new file always with
3111         O_NOFOLLOW.  Suggested by Christoph Roland.
3113 2001-03-27  Martin Schwidefsky  <schwidefsky@de.ibm.com>
3115         * sysdeps/s390/bits/string.h: New unified 31/64 bit string.h.
3116         * sysdeps/s390/s390-32/bits/string.h: Remove.
3117         * sysdeps/s390/s390-64/bits/string.h: Remove.
3118         * sysdeps/s390/s390-32/strcmp.S: New file.
3119         * sysdeps/s390/s390-64/strcmp.S: New file.
3121 2001-03-27  Martin Schwidefsky  <schwidefsky@de.ibm.com>
3123         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Fix typo.
3124         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
3126 2001-03-27  Ulrich Drepper  <drepper@redhat.com>
3128         * version.h (VERSION): Bump to 2.2.3.
3130         * stdlib/isomac.c (fmt): Don't define _LIBC.
3131         * include/endian.h: Define BIG_ENDI, LITTLE_ENDI, HIGH_HALF, and
3132         LOW_HALF only if _LIBC is defined.
3134         * sysdeps/i386/fpu/libm-test-ulps: Slight adjustment of yn() error.
3136         * posix/fnmatch_loop.c (FCT): Handle !() after * special like @()
3137         and +().
3138         * posix/tst-fnmatch.input: Add test cases for matching empty strings.
3140         * sysdeps/ieee754/dbl-64/endian.h: Removed.  Move definitions...
3141         * include/endian.h: ...to here.
3143 2001-03-27  kaz Kojima  <kkojima@rr.iij4u.or.jp>
3145         * sysdeps/sh/sys/ucontext.h (NFREG): Rename to NFPREG.
3146         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (NFREG): Likewise.
3148 2001-03-27  Martin Schwidefsky  <schwidefsky@de.ibm.com>
3150         * sysdeps/unix/sysv/linux/s390/ldconfig.h: Fix typo.
3152 2001-03-26  Ulrich Drepper  <drepper@redhat.com>
3154         * sysdeps/ia64/fpu/Dist: Add new files to distribute.
3155         * sysdeps/unix/sysv/linux/s390/s390-64/Dist: Likewise.
3156         * sysdeps/unix/sysv/linux/ia64/Dist: Likewise.
3158         * gmon/Makefile (headers): Add sys/profil.h.
3160 2001-03-18  Andreas Jaeger  <aj@suse.de>
3162         * manual/install.texi (Tools for Compilation): Advise to use GCC
3163         2.95.3.
3164         (Supported Configurations): Mention s390x.
3166 2001-03-26  Ben Collins  <bcollins@debian.org>
3168         * sysdeps/unix/sysv/linux/mips/bits/mman.h: Add MAP_* and MADV_*
3169         defines to match other architectures.
3171 2001-03-26  Ulrich Drepper  <drepper@redhat.com>
3173         * libio/Makefile (tests): Add tst-ext.
3174         * libio/tst-ext.c: New file.
3176         * libio/iosetvbuf.c (_IO_setvbuf): Clear line buffer flag for _IONBF.
3178 2001-03-25  Ulrich Drepper  <drepper@redhat.com>
3180         Add changes which were in this form in the original patch by
3181         Eric Norum <eric.norum@usask.ca>.
3182         * include/rpc/rpc.h: Remove svc_fdset, rpc_createerr, svc_pollfd, and
3183         svc_max_pollfd.
3184         * sunrpc/rpc/rpc.h: Declare __rpc_thread_svc_fdset,
3185         __rpc_thread_createerr, __rpc_thread_svc_pollfd, and
3186         __rpc_thread_svc_max_pollfd.
3187         Define svc_fdset, get_rpc_createerr, svc_pollfd, and
3188         svc_max_pollfd.
3189         * sunrpc/rpc_thread.c: Handle first thread special, it uses the
3190         global variables.
3191         Define __rpc_thread_svc_fdset, __rpc_thread_createerr,
3192         __rpc_thread_svc_pollfd, and __rpc_thread_svc_max_pollfd.
3193         * sunrpc/Versions [libc] (GLIBC_2.2.3): Export  __rpc_thread_svc_fdset,
3194         __rpc_thread_createerr, __rpc_thread_svc_pollfd, and
3195         __rpc_thread_svc_max_pollfd.
3196         * sunrpc/clnt_gen.c: Replace use of rpc_createerr by call to
3197         get_rpc_createerr.
3198         * sunrpc/clnt_perr.c: Likewise.
3199         * sunrpc/clnt_simp.c: Likewise.
3200         * sunrpc/clnt_tcp.c: Likewise.
3201         * sunrpc/clnt_udp.c: Likewise.
3202         * sunrpc/clnt_unix.c: Likewise.
3203         * sunrpc/pm_getport.c: Likewise.
3205         * sysdeps/unix/sysv/linux/i386/getgroups.c (__getgroups): getgroups32
3206         syscall checks for negative n so don't test here as well.
3208 2001-03-23  Jes Sorensen  <jes@linuxcare.com>
3210         * sysdeps/unix/sysv/linux/ia64/sysdep.h (ENTRY): Moved to ...
3211         * sysdeps/ia64/sysdep.h: ...here.
3213         * sysdeps/ia64/sysdep.h (LOCAL_ENTRY): Define.
3214         * sysdeps/ia64/sysdep.h (LOCAL_LEAF): Define.
3216         * sysdeps/ia64/_mcount.S (_mcount_ret_helper): Use LOCAL_LEAF() to
3217         declare instead of LEAF().  Suggestion from David Mosberger.
3219 2001-03-21  David Mosberger  <davidm@hpl.hp.com>
3221         * sysdeps/unix/sysv/linux/ia64/sysdep.h (CALL_MCOUNT): Add unwind
3222         directives.
3223         (PSEUDO): Drop .psr and .lsb directives.
3225         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Ditto.  Add unwind
3226         directives.
3227         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Ditto.
3229         * sysdeps/ia64/elf/start.S: Misc cleanup: remove .psr and .lsb
3230         directives etc.
3231         * sysdeps/unix/sysv/linux/ia64/brk.S: Ditto.
3232         * sysdeps/unix/sysv/linux/ia64/__longjmp.S: Ditto.
3233         * sysdeps/ia64/_mcount.S: Remove .psr and .lsb directives (no
3234         longer needed).  Add unwind directives.
3236         * sysdeps/ia64/sysdep.h: Define ASM_UNW_PRLG_RP, ASM_UNW_PRLG_PFS,
3237         ASM_UNW_PRLG_PSP, ASM_UNW_PRLG_PR, and ASM_UNW_PRLG_GRSAVE.
3239 2001-03-21  Paul Eggert  <eggert@twinsun.com>
3241         * posix/regex.h (RE_INVALID_INTERVAL_ORD): New macro.
3242         (RE_SYNTAX_POSIX_EGREP): Use it.
3243         * posix/regex.c (regex_compile): Implement it.
3245 2001-03-21  Paul Eggert  <eggert@twinsun.com>
3247         * posix/regex.c (GET_UNSIGNED_NUMBER): Check for overflow.
3248         Rewrite to avoid duplicate code.
3250 2001-03-21  H.J. Lu  <hjl@gnu.org>
3252         * elf/Makefile (tests): Don't depend on $(objpfx)tst-pathopt.out
3253         for cross-compiling.
3254         ($(objpfx)tst-pathopt.out): Undo the last change.
3256 2001-03-24  Mark Kettenis  <kettenis@gnu.org>
3258         * sysdeps/mach/hurd/i386/bits/sigcontext.h (sc_sp, sc_fp, sc_pc,
3259         sc_ps): Define as aliases for sc_uesp, sc_ebl, sc_eip and sc_efl.
3261         * sysdeps/mach/hurd/i386/init-first.c: Include <assert.h>.
3262         (_dl_argv): Declare.
3263         (init) [SHARED]: Readjust _dl_argv if we switched to a new stack.
3265 2001-03-22  Andreas Jaeger  <aj@suse.de>
3267         * iconvdata/Makefile (generated): Add iconv-test.xxx.
3269         * posix/Makefile (generated): Add bug-regex2.mtrace and
3270         bug-regex2-mem.
3272 2001-03-21  Ulrich Drepper  <drepper@redhat.com>
3274         * csu/version.c (__gnu_get_libc_release): Add prototype.
3275         (__gnu_get_libc_version): Likewise.
3276         * include/gnu/libc-version.h: Remove prototypes for not exported
3277         functions.
3279 2001-03-21  Jes Sorensen  <jes@linuxcare.com>
3281         * sysdeps/unix/sysv/linux/ia64/makecontext.c: Include libintl.h
3282         for internationalized printfs to work.
3284 2001-03-09  Bruno Haible  <haible@clisp.cons.org>
3286         * intl/dcigettext.c (transmem_block_t): Change to unsigned char, to
3287         avoid compiler warning.
3288         (_nl_find_msg): Add casts to avoid compiler warnings.
3290 2001-03-21  Ulrich Drepper  <drepper@redhat.com>
3292         * gmon/Makefile (routines): Add sprofil.
3293         (tests): Add tst-sprofil.
3294         (noprof): Add sprofil.
3295         * gmon/Versions [libc] (GLIBC_2.2.3): Add sprofil.
3297 2001-03-20  David Mosberger  <davidm@hpl.hp.com>
3299         * sysdeps/generic/sprofil.c: New file.
3300         * sysdeps/posix/sprofil.c: New file.
3301         * gmon/tst-sprofil.c: New file.
3302         * gmon/sys/profil.h: New file.
3304 2001-03-20  Andreas Schwab  <schwab@suse.de>
3306         * include/unistd.h: Adjust prototype of __gethostname.
3308 2001-03-20  Jakub Jelinek  <jakub@redhat.com>
3310         * sysdeps/sparc/stackinfo.h: New file.
3312 2001-03-21  Andreas Jaeger  <aj@suse.de>
3314         * elf/global.c (main): Use proper prototype.
3316 2001-03-20  Ulrich Drepper  <drepper@redhat.com>
3318         * sunrpc/Makefile (routines): Add rpc_thread.
3319         (CPPFLAGS): Add -D_RPC_THREAD_SAFE.
3320         * sunrpc/rpc_thread.c: New file.
3321         * sunrpc/Versions [libc] (GLIBC_2.2.3): Export __rpc_thread_destroy.
3322         * sunrpc/auth_none.c: Don't use global variables.  Access state in
3323         thread-local storage.
3324         * sunrpc/clnt_perr.c: Likewise.
3325         * sunrpc/clnt_raw.c: Likewise.
3326         * sunrpc/clnt_simp.c: Likewise.
3327         * sunrpc/key_call.c: Likewise.
3328         * sunrpc/rpc_common.c: Likewise.
3329         * sunrpc/svc.c: Likewise.
3330         * sunrpc/svc_raw.c: Likewise.
3331         * sunrpc/svc_simple.c: Likewise.
3332         * sunrpc/svcauth_des.c: Likewise.
3333         * hurd/hurd/threadvar.h (enum __hurd_threadvar_index): Add
3334         _HURD_THREADVAR_RPC_VARS.
3335         * sysdeps/generic/bits/libc-tsd.h: Mention _LIBC_TSD_KEY_RPC_VARS.
3336         * include/rpc/rpc.h: Define data structures for internal thread-local
3337         "global" variables.
3338         Based on patches by Eric Norum <eric.norum@usask.ca>.
3340         * elf/dl-load.c: Various little optimizations.
3342         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Return
3343         LINUX_LINK_MAX only if the statfs function is not implemented for
3344         the filesystem.
3346         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Return
3347         LINUX_LINK_MAX only if the fstatfs function is not implemented for
3348         the filesystem.
3350 2001-03-19  Ulrich Drepper  <drepper@redhat.com>
3352         * elf/dl-dst.h (DL_DST_COUNT): Add __builtin_expect.
3354         * elf/dl-load.c (_dl_dst_count): Make DST recognition more robust.
3355         (_dl_dst_substitute): Likewise.
3357 2001-03-17  Bruno Haible  <haible@clisp.cons.org>
3359         * intl/loadmsgcat.c (_nl_load_domain) [!_LIBC]: Use fstat, not fstat64.
3361 2001-03-17  Bruno Haible  <haible@clisp.cons.org>
3363         * intl/gettextP.h (struct expression): Add operators lnot, less_than,
3364         greater_than, less_or_equal, greater_or_equal.  Replace args2/args3
3365         union by a 'nargs' counter and an 'args[]' array.
3366         * intl/plural.y: Don't include stdarg.h.
3367         (new_exp): Take an array of arguments instead of varargs.
3368         (new_exp_0, new_exp_1, new_exp_2, new_exp_3): New functions.
3369         ('?' ':'): Make right-associative.
3370         (EQUOP2): New token, replaces '=' and '!'.
3371         (CMPOP2): New token.
3372         (ADDOP2): New token, replaces '+' and '-'.
3373         (MULOP2): New token, replaces '*', '/' and '%'.
3374         ('!'): New token.
3375         (exp): Add rules for CMPOP2 and '!'.  Don't call YYABORT.
3376         (start): Call YYABORT here.
3377         (FREE_EXPRESSION): Update.
3378         (yylex): Don't skip "\\n".  Recognize comparison and '!' operators.
3379         Update for new token symbols.
3380         * intl/loadmsgcat.c (plvar, plone, germanic_plural,
3381         init_germanic_plural): Update.
3382         * intl/dcigettext.c (_nl_find_msg): Optimize for space.
3383         (plural_eval): Recognize comparison and '!' operators.  Optimize for
3384         space.
3386 2001-03-10  Bruno Haible  <haible@clisp.cons.org>
3388         * intl/loadmsgcat.c (_nl_load_domain): locale_charset() doesn't return
3389         NULL any more.
3391 2001-01-05  Bruno Haible  <haible@clisp.cons.org>
3393         * intl/loadmsgcat.c: Include headers needed for alloca().
3394         (freea): New macro.
3395         (_nl_load_domain): Add fallback code for platforms lacking alloca.
3396         * intl/localealias.c: (ADD_BLOCK, FREE_BLOCK): Remove macros.
3397         (freea): New macro.
3398         (read_alias_file): Simplify fallback code for platforms lacking
3399         alloca.
3401 2001-01-07  Bruno Haible  <haible@clisp.cons.org>
3403         * intl/gettextP.h (__gettextdebug): Remove declaration.
3404         (__gettext_free_exp, __gettextparse): Convert prototype to K&R C
3405         syntax.
3406         (gettext_free_exp__, gettextparse__): New non-libc declarations.
3407         * intl/plural.y [!_LIBC]: Define gettextparse__, gettext_free_exp__,
3408         not __gettextparse, __gettext_free_exp.
3409         * intl/loadmsgcat.c [!_LIBC]: Use gettextparse__, not __gettextparse.
3411 2001-02-24  Bruno Haible  <haible@clisp.cons.org>
3413         * intl/dcigettext.c: Update comment about HAVE_LOCALE_NULL.
3415 2001-01-05  Bruno Haible  <haible@clisp.cons.org>
3417         * intl/loadmsgcat.c (_nl_load_domain): Add fallback code for platforms
3418         lacking strtoul, like SunOS4.
3420 2001-01-05  Bruno Haible  <haible@clisp.cons.org>
3422         * intl/l10nflist.c (_nl_normalize_codeset): Use tolower, not _tolower.
3424 2001-01-05  Bruno Haible  <haible@clisp.cons.org>
3426         * intl/bindtextdom.c (set_binding_values): Convert prototype to K&R C
3427         syntax.
3428         * intl/dcigettext.c (transcmp): Convert to K&R C syntax.
3429         * intl/explodename.c (_nl_find_language): Convert to K&R C syntax.
3430         * intl/plural.y (__gettext_free_exp, yylex, yyerror): Convert to K&R C
3431         syntax.
3433 2001-01-07  Bruno Haible  <haible@clisp.cons.org>
3435         * intl/gettextP.h (gettext__, dgettext__, dcgettext__, textdomain__,
3436         bindtextdomain__, bind_textdomain_codeset__): New declarations, from
3437         old libgettext.h.
3438         * intl/bindtextdom.c: Include libgnuintl.h instead of libgettext.h.
3439         * intl/dcgettext.c: Likewise.
3440         * intl/dcigettext.c: Likewise.
3441         * intl/dcngettext.c: Likewise.
3442         * intl/dngettext.c: Likewise.
3443         * intl/finddomain.c: Likewise.
3444         * intl/ngettext.c: Likewise.
3445         * intl/textdomain.c: Likewise.
3446         * intl/dgettext.c: Include libgnuintl.h instead of libgettext.h.
3447         Include gettextP.h.
3448         * intl/gettext.c: Likewise.  Don't include locale.h.
3450 2001-03-17  Bruno Haible  <haible@clisp.cons.org>
3452         * intl/gettextP.h (ZERO): New macro.
3453         (struct binding): Always use ZERO.
3454         * intl/bindtextdom.c (offsetof): Provide fallback for platforms that
3455         lack it, like SunOS4.
3456         (set_binding_values): Use offsetof, not sizeof.
3457         * intl/dcigettext.c (offsetof): Provide fallback for platforms that
3458         lack it, like SunOS4.
3459         (ZERO): Remove macro.
3460         (struct transmem_list): Use ZERO.
3461         (DCIGETTEXT): Use offsetof, not sizeof.
3463 2001-03-17  Bruno Haible  <haible@clisp.cons.org>
3465         * intl/gettextP.h: Include <stddef.h>.  Include gettext.h, for
3466         nls_uint32.
3467         * intl/bindtextdom.c: Don't include gettext.h.
3468         * intl/dcgettext.c: Likewise.
3469         * intl/dcigettext.c: Likewise.
3470         * intl/dcngettext.c: Likewise.
3471         * intl/dngettext.c: Likewise.
3472         * intl/finddomain.c: Likewise.
3473         * intl/localealias.c: Likewise.
3474         * intl/ngettext.c: Likewise.
3475         * intl/plural.y: Likewise.
3476         * intl/textdomain.c: Likewise.
3478 2001-03-17  Bruno Haible  <haible@clisp.cons.org>
3480         * intl/gettext.h: Don't include <stdio.h>.
3482 2001-03-17  Bruno Haible  <haible@clisp.cons.org>
3484         * intl/Makefile (CPPFLAGS): Set LOCALEDIR instead of GNULOCALEDIR.
3485         * intl/dcigettext.c (_nl_default_dirname): Initialize with LOCALEDIR.
3487 2001-03-19  Ulrich Drepper  <drepper@redhat.com>
3489         * sysdeps/unix/i386/i686/tempname.c: New file.
3491         * sysdeps/posix/tempname.c (__gen_tempname): If RANDOM_BITS is
3492         defined use this macro to get some bits of randomness instead of
3493         the usual gettimeofday or time calls.
3495 2001-03-16  Paul Eggert  <eggert@twinsun.com>
3497         * sysdeps/posix/tempname.c (uint64_t): Define to uintmax_t if
3498         not defined, and if UINT64_MAX is not defined.
3500 2001-03-19  Ulrich Drepper  <drepper@redhat.com>
3502         * elf/cache.c: Mark and have translated a few more messages.
3504 2001-03-19  Martin Schwidefsky  <schwidefsky@de.ibm.com>
3506         * elf/cache.c: Add case for FLAG_S390_LIB64.
3507         * sysdeps/generic/ldconfig.h: Add define for FLAG_S390_LIB64.
3508         * sysdeps/unix/sysv/linux/s390/ldconfig.h: New file.
3509         * sysdeps/unix/sysv/linux/s390/readelflib.c: New file.
3511 2001-03-19  Ulrich Drepper  <drepper@redhat.com>
3513         * string/Makefile (tests): Add tst-strxfrm.
3514         * string/tst-strxfrm.c: New file.  Based on a test case by Paul Eggert.
3515         * string/Depend: New file.
3517 2001-03-19  Paul Eggert  <eggert@twinsun.com>
3519         * string/strxfrm.c (strxfrm): strxfrm should return 0, not 1,
3520         when given the empty string in nontrivial locales.
3522 2001-03-17  H.J. Lu  <hjl@gnu.org>
3524         * manual/Makefile (install): Use $(INSTALL_DATA) instead of
3525         cp to install `dir'.
3527 2001-03-19  Andreas Schwab  <schwab@suse.de>
3529         * Makerules (build-shlib): Make sure exit codes get checked
3530         properly.
3532 2001-03-18  Ulrich Drepper  <drepper@redhat.com>
3534         * Makerules (build-shlib): Remove unnecessary slashes introduced in
3535         last change.
3537         * configure.in: Test for -Bgroup option of linker.
3538         * config.make.in: Define have-Bgroup.
3540         * conform/data/unistd.h-data: Require gethostname.
3541         * posix/unistd.h: Make gethostname prototype available for
3542         __USE_XOPEN2K.
3544         * crypt/Makefile: When generating DSO link with libc_nonshared.a.
3545         * debug/Makefile: Likewise.
3546         * dlfcn/Makefile: Likewise.
3547         * hesiod/Makefile: Likewise.
3548         * iconvdata/extra-module.mk: Likewise.
3549         * locale/Makefile: Likewise.
3550         * login/Makefile: Likewise.
3551         * math/Makefile: Likewise.
3552         * nis/Makefile: Likewise.
3553         * nss/Makefile: Likewise.
3554         * resolv/Makefile: Likewise.
3555         * rt/Makefile: Likewise.
3557 2001-03-17  Ulrich Drepper  <drepper@redhat.com>
3559         * inet/Makefile (tests): Remove left-over comment.
3561         * posix/unistd.h (gethostname): Change type of second parameter
3562         back to size_t as per upcoming XPG6.
3563         * sysdeps/unix/sysv/aix/gethostname.c: Change type of second
3564         parameter back to size_t as per upcoming XPG6.
3565         * sysdeps/unix/sysv/sysv4/gethostname.c: Likewise.
3566         * sysdeps/unix/sysv/gethostname.c: Likewise.
3567         * sysdeps/mach/hurd/gethostname.c: Likewise.
3568         * sysdeps/generic/gethostname.c: Likewise.
3570 2001-03-16  Ulrich Drepper  <drepper@redhat.com>
3572         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
3573         Handle NaN here.
3575         * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext):
3576         Internationalize.
3578 2001-02-06  Jakub Jelinek  <jakub@redhat.com>
3580         * elf/dl-load.c (_dl_map_object): Don't test l_opencount when
3581         looking for name matches.
3583 2001-02-26  Jakub Jelinek  <jakub@redhat.com>
3585         * sysdeps/generic/sigcontextinfo.h (CALL_SIGHANDLER): Define.
3586         * sysdeps/mach/hurd/i386/sigcontextinfo.h: Likewise.
3587         * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h: Likewise.
3588         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
3589         * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h: Likewise.
3590         * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h: Likewise.
3591         * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h: Likewise.
3592         * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h: Likewise.
3593         * sysdeps/unix/sysv/linux/s390/sigcontextinfo.h: Likewise.
3594         * sysdeps/unix/sysv/linux/sh/sigcontextinfo.h: Likewise.
3595         * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: Likewise.
3596         * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h: Likewise.
3598 2001-03-16  Ulrich Drepper  <drepper@redhat.com>
3600         * sysdeps/ieee754/ldbl-96/s_erfl.c: New file.
3601         Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>.
3603         * sysdeps/i386/fpu/libm-test-ulps: Adjust for addition of erfl and
3604         erfcl.
3605         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
3607 2001-03-16  David Mosberger  <davidm@hpl.hp.com>
3609         * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h (struct sigcontext):
3610         Drop hack that was needed for 2.1.1 kernel headers.
3612         * sysdeps/unix/sysv/linux/ia64/ucontext_i.h: New file.
3614         * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Rewrite to make it
3615         overlay with kernel's "struct sigcontext".
3617         * sysdeps/unix/sysv/linux/ia64/Makefile (sysdep_headers): Add
3618         sys/rse.h for "misc" subdir.
3619         (sysdep_routines): Add __start_context for "stdlib" subdir.
3621         * sysdeps/unix/sysv/linux/ia64/sys/rse.h: New file (based on
3622         kernel file of the same name).
3624         * stdlib/Makefile (tests): Add tst-setcontext.
3625         * stdlib/tst-setcontext.c: New file (based on a sample program by
3626         Uli Drepper).
3628         * sysdeps/unix/sysv/linux/ia64/setcontext.S: New file.
3629         * sysdeps/unix/sysv/linux/ia64/getcontext.S: New file.
3630         * sysdeps/unix/sysv/linux/ia64/__start_context.S: New file.
3631         * sysdeps/unix/sysv/linux/ia64/makecontext.c: New file.
3632         * sysdeps/unix/sysv/linux/ia64/swapcontext.c: New file.
3634         * sysdeps/unix/sysv/linux/ia64/__longjmp.S (__longjmp): Use extr.u
3635         instead of shift & and.
3637 2001-03-16  Martin Schwidefsky  <schwidefsky@de.ibm.com>
3639         * sysdeps/s390/s390-64/bits/huge_val.h: Move to...
3640         * sysdeps/s390/bits/huge_val.h: ...here.
3641         * sysdeps/s390/s390-32/bit/huge_val.h: Remove.
3642         * sysdeps/s390/s390-64/ffs.c: Move to...
3643         * sysdeps/s390/ffs.c: ...here.
3644         * sysdeps/s390/s390-32/ffs.c: Remove.
3646 2001-03-16  Jakub Jelinek  <jakub@redhat.com>
3648         * elf/ldconfig.c (search_dir): Remove bogus diagnostic, instead
3649         update osversion from more recent library.
3651 2001-03-13  Martin Schwidefsky  <schwidefsky@de.ibm.com>
3653         * sysdeps/unix/sysv/linux/s390/Dist: Move to...
3654         * sysdeps/unix/sysv/linux/s390/s390-32/Dist: ...here.
3655         * sysdeps/unix/sysv/linux/s390/Makefile: Move to...
3656         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: ...here.
3657         * sysdeps/unix/sysv/linux/s390/Versions: Move to...
3658         * sysdeps/unix/sysv/linux/s390/s390-32/Versions: ...here.
3659         * sysdeps/unix/sysv/linux/s390/alphasort64.c: Move to...
3660         * sysdeps/unix/sysv/linux/s390/s390-32/alphasort64.c: ...here.
3661         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Move to...
3662         * sysdeps/unix/sysv/linux/s390/s390-32/bits/fcntl.h: ...here.
3663         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Move to...
3664         * sysdeps/unix/sysv/linux/s390/s390-32/bits/mman.h: ...here.
3665         * sysdeps/unix/sysv/linux/s390/bits/resource.h: Move to...
3666         * sysdeps/unix/sysv/linux/s390/s390-32/bits/resource.h: ...here.
3667         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Move to...
3668         * sysdeps/unix/sysv/linux/s390/s390-32/bits/stat.h: ...here.
3669         * sysdeps/unix/sysv/linux/s390/chown.c: Move to...
3670         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: ...here.
3671         * sysdeps/unix/sysv/linux/s390/clone.S: Move to...
3672         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: ...here.
3673         * sysdeps/unix/sysv/linux/s390/fchown.c: Move to...
3674         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: ...here.
3675         * sysdeps/unix/sysv/linux/s390/fcntl.c: Move to...
3676         * sysdeps/unix/sysv/linux/s390/s390-32/fcntl.c: ...here.
3677         * sysdeps/unix/sysv/linux/s390/fxstat.c: Move to...
3678         * sysdeps/unix/sysv/linux/s390/s390-32/fxstat.c: ...here.
3679         * sysdeps/unix/sysv/linux/s390/getdents64.c: Move to...
3680         * sysdeps/unix/sysv/linux/s390/s390-32/getdents64.c: ...here.
3681         * sysdeps/unix/sysv/linux/s390/getegid.c: Move to...
3682         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: ...here.
3683         * sysdeps/unix/sysv/linux/s390/geteuid.c: Move to...
3684         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: ...here.
3685         * sysdeps/unix/sysv/linux/s390/getgid.c: Move to...
3686         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: ...here.
3687         * sysdeps/unix/sysv/linux/s390/getgroups.c: Move to...
3688         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: ...here.
3689         * sysdeps/unix/sysv/linux/s390/getresgid.c: Move to...
3690         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: ...here.
3691         * sysdeps/unix/sysv/linux/s390/getresuid.c: Move to...
3692         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: ...here.
3693         * sysdeps/unix/sysv/linux/s390/getrlimit.c: Move to...
3694         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: ...here.
3695         * sysdeps/unix/sysv/linux/s390/getrlimit64.c: Move to...
3696         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit64.c: ...here.
3697         * sysdeps/unix/sysv/linux/s390/getuid.c: Move to...
3698         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: ...here.
3699         * sysdeps/unix/sysv/linux/s390/lchown.c: Move to...
3700         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: ...here.
3701         * sysdeps/unix/sysv/linux/s390/lockf64.c: Move to...
3702         * sysdeps/unix/sysv/linux/s390/s390-32/lockf64.c: ...here.
3703         * sysdeps/unix/sysv/linux/s390/lxstat.c: Move to...
3704         * sysdeps/unix/sysv/linux/s390/s390-32/lxstat.c: ...here.
3705         * sysdeps/unix/sysv/linux/s390/mmap.S: Move to...
3706         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: ...here.
3707         * sysdeps/unix/sysv/linux/s390/mmap64.S: Move to...
3708         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: ...here.
3709         * sysdeps/unix/sysv/linux/s390/msgctl.c: Move to...
3710         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: ...here.
3711         * sysdeps/unix/sysv/linux/s390/oldgetrlimit64.c: Move to...
3712         * sysdeps/unix/sysv/linux/s390/s390-32/oldgetrlimit64.c: ...here.
3713         * sysdeps/unix/sysv/linux/s390/readdir64.c: Move to...
3714         * sysdeps/unix/sysv/linux/s390/s390-32/readdir64.c: ...here.
3715         * sysdeps/unix/sysv/linux/s390/readdir64_r.c: Move to...
3716         * sysdeps/unix/sysv/linux/s390/s390-32/readdir64_r.c: ...here.
3717         * sysdeps/unix/sysv/linux/s390/register-dump.h: Move to...
3718         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: ...here.
3719         * sysdeps/unix/sysv/linux/s390/scandir64.c: Move to...
3720         * sysdeps/unix/sysv/linux/s390/s390-32/scandir64.c: ...here.
3721         * sysdeps/unix/sysv/linux/s390/semctl.c: Move to...
3722         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: ...here.
3723         * sysdeps/unix/sysv/linux/s390/setegid.c: Move to...
3724         * sysdeps/unix/sysv/linux/s390/s390-32/setegid.c: ...here.
3725         * sysdeps/unix/sysv/linux/s390/seteuid.c: Move to...
3726         * sysdeps/unix/sysv/linux/s390/s390-32/seteuid.c: ...here.
3727         * sysdeps/unix/sysv/linux/s390/setfsgid.c: Move to...
3728         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: ...here.
3729         * sysdeps/unix/sysv/linux/s390/setfsuid.c: Move to...
3730         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: ...here.
3731         * sysdeps/unix/sysv/linux/s390/setgid.c: Move to...
3732         * sysdeps/unix/sysv/linux/s390/s390-32/setgid.c: ...here.
3733         * sysdeps/unix/sysv/linux/s390/setgroups.c: Move to...
3734         * sysdeps/unix/sysv/linux/s390/s390-32/setgroups.c: ...here.
3735         * sysdeps/unix/sysv/linux/s390/setregid.c: Move to...
3736         * sysdeps/unix/sysv/linux/s390/s390-32/setregid.c: ...here.
3737         * sysdeps/unix/sysv/linux/s390/setresgid.c: Move to...
3738         * sysdeps/unix/sysv/linux/s390/s390-32/setresgid.c: ...here.
3739         * sysdeps/unix/sysv/linux/s390/setresuid.c: Move to...
3740         * sysdeps/unix/sysv/linux/s390/s390-32/setresuid.c: ...here.
3741         * sysdeps/unix/sysv/linux/s390/setreuid.c: Move to...
3742         * sysdeps/unix/sysv/linux/s390/s390-32/setreuid.c: ...here.
3743         * sysdeps/unix/sysv/linux/s390/setrlimit.c: Move to...
3744         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: ...here.
3745         * sysdeps/unix/sysv/linux/s390/setuid.c: Move to...
3746         * sysdeps/unix/sysv/linux/s390/s390-32/setuid.c: ...here.
3747         * sysdeps/unix/sysv/linux/s390/shmctl.c: Move to...
3748         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: ...here.
3749         * sysdeps/unix/sysv/linux/s390/socket.S: Move to...
3750         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: ...here.
3751         * sysdeps/unix/sysv/linux/s390/sys/procfs.h: Move to...
3752         * sysdeps/unix/sysv/linux/s390/s390-32/sys/procfs.h: ...here.
3753         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Move to...
3754         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: ...here.
3755         * sysdeps/unix/sysv/linux/s390/syscall.S: Move to...
3756         * sysdeps/unix/sysv/linux/s390/s390-32/syscall.S: ...here.
3757         * sysdeps/unix/sysv/linux/s390/syscalls.list: Move to...
3758         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: ...here.
3759         * sysdeps/unix/sysv/linux/s390/sysdep.S: Move to...
3760         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: ...here.
3761         * sysdeps/unix/sysv/linux/s390/sysdep.h: Move to...
3762         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: ...here.
3763         * sysdeps/unix/sysv/linux/s390/versionsort64.c: Move to...
3764         * sysdeps/unix/sysv/linux/s390/s390-32/versionsort64.c: ...here.
3765         * sysdeps/unix/sysv/linux/s390/xstat.c: Move to...
3766         * sysdeps/unix/sysv/linux/s390/s390-32/xstat.c: ...here.
3768 2001-03-13  Martin Schwidefsky  <schwidefsky@de.ibm.com>
3770         * sysdeps/unix/sysv/linux/s390/s390-64/Dist: New file.
3771         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: New file.
3772         * sysdeps/unix/sysv/linux/s390/s390-64/bits/elfclass.h: New file.
3773         * sysdeps/unix/sysv/linux/s390/s390-64/bits/fcntl.h: New file.
3774         * sysdeps/unix/sysv/linux/s390/s390-64/bits/ipc.h: New file.
3775         * sysdeps/unix/sysv/linux/s390/s390-64/bits/mman.h: New file.
3776         * sysdeps/unix/sysv/linux/s390/s390-64/bits/msq.h: New file.
3777         * sysdeps/unix/sysv/linux/s390/s390-64/bits/resource.h: New file.
3778         * sysdeps/unix/sysv/linux/s390/s390-64/bits/sem.h: New file.
3779         * sysdeps/unix/sysv/linux/s390/s390-64/bits/shm.h: New file.
3780         * sysdeps/unix/sysv/linux/s390/s390-64/bits/sigaction.h: New file.
3781         * sysdeps/unix/sysv/linux/s390/s390-64/bits/siginfo.h: New file.
3782         * sysdeps/unix/sysv/linux/s390/s390-64/bits/sigstack.h: New file.
3783         * sysdeps/unix/sysv/linux/s390/s390-64/bits/stat.h: New file.
3784         * sysdeps/unix/sysv/linux/s390/s390-64/bits/types.h: New file.
3785         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: New file.
3786         * sysdeps/unix/sysv/linux/s390/s390-64/fstatfs64.c: New file.
3787         * sysdeps/unix/sysv/linux/s390/s390-64/ftruncate64.c: New file.
3788         * sysdeps/unix/sysv/linux/s390/s390-64/fxstat.c: New file.
3789         * sysdeps/unix/sysv/linux/s390/s390-64/fxstat64.c: New file.
3790         * sysdeps/unix/sysv/linux/s390/s390-64/getdents.c: New file.
3791         * sysdeps/unix/sysv/linux/s390/s390-64/getdents64.c: New file.
3792         * sysdeps/unix/sysv/linux/s390/s390-64/getrlimit64.c: New file.
3793         * sysdeps/unix/sysv/linux/s390/s390-64/glob.c: New file.
3794         * sysdeps/unix/sysv/linux/s390/s390-64/glob64.c: New file.
3795         * sysdeps/unix/sysv/linux/s390/s390-64/kernel_stat.h: New file.
3796         * sysdeps/unix/sysv/linux/s390/s390-64/lxstat.c: New file.
3797         * sysdeps/unix/sysv/linux/s390/s390-64/lxstat64.c: New file.
3798         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: New file.
3799         * sysdeps/unix/sysv/linux/s390/s390-64/mmap64.c: New file.
3800         * sysdeps/unix/sysv/linux/s390/s390-64/pread64.c: New file.
3801         * sysdeps/unix/sysv/linux/s390/s390-64/pwrite64.c: New file.
3802         * sysdeps/unix/sysv/linux/s390/s390-64/readdir.c: New file.
3803         * sysdeps/unix/sysv/linux/s390/s390-64/readdir64.c: New file.
3804         * sysdeps/unix/sysv/linux/s390/s390-64/readdir64_r.c: New file.
3805         * sysdeps/unix/sysv/linux/s390/s390-64/readdir_r.c : New file.
3806         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: New file.
3807         * sysdeps/unix/sysv/linux/s390/s390-64/setrlimit64.c: New file.
3808         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: New file.
3809         * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c: New file.
3810         * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c: New file.
3811         * sysdeps/unix/sysv/linux/s390/s390-64/sigsuspend.c: New file.
3812         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: New file.
3813         * sysdeps/unix/sysv/linux/s390/s390-64/statfs64.c: New file.
3814         * sysdeps/unix/sysv/linux/s390/s390-64/sys/procfs.h: New file.
3815         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: New file.
3816         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: New file.
3817         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: New file.
3818         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: New file.
3819         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: New file.
3820         * sysdeps/unix/sysv/linux/s390/s390-64/truncate64.c: New file.
3821         * sysdeps/unix/sysv/linux/s390/s390-64/xstat.c: New file.
3822         * sysdeps/unix/sysv/linux/s390/s390-64/xstat64.c: New file.
3824 2001-03-13  Martin Schwidefsky  <schwidefsky@de.ibm.com>
3826         * sysdeps/s390/Dist: Move to...
3827         * sysdeps/s390/390-32/Dist: ...here.
3828         * sysdeps/s390/Implies: Move to...
3829         * sysdeps/s390/s390-32/Implies: ...here.
3830         * sysdeps/s390/Makefile: Move to...
3831         * sysdeps/s390/s390-32/Makefile: ...here.
3832         * sysdeps/s390/Versions: Move to...
3833         * sysdeps/s390-32/s390/Versions: ...here.
3834         * sysdeps/s390/add_n.S: Move to...
3835         * sysdeps/s390/s390-32/add_n.S: ...here.
3836         * sysdeps/s390/addmul_1.S: Move to...
3837         * sysdeps/s390/s390-32/addmul_1.S: ...here.
3838         * sysdeps/s390/atomicity.h: Move to...
3839         * sysdeps/s390/s390-32/atomicity.h: ...here.
3840         * sysdeps/s390/backtrace.c: Move to...
3841         * sysdeps/s390/s390-32/backtrace.c: ...here.
3842         * sysdeps/s390/bcopy.S: Move to...
3843         * sysdeps/s390/s390-32/bcopy.S: ...here.
3844         * sysdeps/s390/bits/byteswap.h: Move to...
3845         * sysdeps/s390/s390-32/bits/byteswap.h: ...here.
3846         * sysdeps/s390/bits/huge_val.h: Move to...
3847         * sysdeps/s390/s390-32/bits/huge_val.h: ...here.
3848         * sysdeps/s390/bsd-_setjmp.S: Move to...
3849         * sysdeps/s390/s390-32/bsd-_setjmp.S: ...here.
3850         * sysdeps/s390/bsd-setjmp.S: Move to...
3851         * sysdeps/s390/s390-32/bsd-setjmp.S: ...here.
3852         * sysdeps/s390/bzero.S: Move to...
3853         * sysdeps/s390/s390-32/bzero.S: ...here.
3854         * sysdeps/s390/elf/bsd-_setjmp.S: Move to...
3855         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: ...here.
3856         * sysdeps/s390/elf/bsd-setjmp.S: Move to...
3857         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: ...here.
3858         * sysdeps/s390/elf/start.S: Move to...
3859         * sysdeps/s390/s390-32/elf/start.S: ...here.
3860         * sysdeps/s390/ffs.c: Move to...
3861         * sysdeps/s390/s390-32/ffs.c: ...here.
3862         * sysdeps/s390/memchr.S: Move to...
3863         * sysdeps/s390/s390-32/memchr.S: ...here.
3864         * sysdeps/s390/memcpy.S: Move to...
3865         * sysdeps/s390/s390-32/memcpy.S: ...here.
3866         * sysdeps/s390/memset.S: Move to...
3867         * sysdeps/s390/s390-32/memset.S: ...here.
3868         * sysdeps/s390/mul_1.S: Move to...
3869         * sysdeps/s390/s390-32/mul_1.S: ...here.
3870         * sysdeps/s390/s390-mcount.S: Move to...
3871         * sysdeps/s390/s390-32/s390-mcount.S: ...here.
3872         * sysdeps/s390/strcpy.S: Move to...
3873         * sysdeps/s390/s390-32/strcpy.S: ...here.
3874         * sysdeps/s390/strncpy.S: Move to...
3875         * sysdeps/s390/s390-32/strncpy.S: ...here.
3876         * sysdeps/s390/sub_n.S: Move to...
3877         * sysdeps/s390/s390-32/sub_n.S: ...here.
3879 2001-03-13  Martin Schwidefsky  <schwidefsky@de.ibm.com>
3881         * sysdeps/s390/s390-64/Dist: New file.
3882         * sysdeps/s390/s390-64/Implies: New file.
3883         * sysdeps/s390/s390-64/Makefile: New file.
3884         * sysdeps/s390/s390-64/__longjmp.c: New file.
3885         * sysdeps/s390/s390-64/add_n.S: New file.
3886         * sysdeps/s390/s390-64/atomicity.h: New file.
3887         * sysdeps/s390/s390-64/backtrace.c: New file.
3888         * sysdeps/s390/s390-64/bcopy.S: New file.
3889         * sysdeps/s390/s390-64/bits/byteswap.h: New file.
3890         * sysdeps/s390/s390-64/bits/huge_val.h: New file.
3891         * sysdeps/s390/s390-64/bits/setjmp.h: New file.
3892         * sysdeps/s390/s390-64/bits/string.h: New file.
3893         * sysdeps/s390/s390-64/bsd-_setjmp.S: New file.
3894         * sysdeps/s390/s390-64/bsd-setjmp.S: New file.
3895         * sysdeps/s390/s390-64/bzero.S: New file.
3896         * sysdeps/s390/s390-64/dl-machine.h: New file.
3897         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: New file.
3898         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: New file.
3899         * sysdeps/s390/s390-64/elf/setjmp.S: New file.
3900         * sysdeps/s390/s390-64/elf/start.S: New file.
3901         * sysdeps/s390/s390-64/ffs.c: New file.
3902         * sysdeps/s390/s390-64/initfini.c: New file.
3903         * sysdeps/s390/s390-64/memchr.S: New file.
3904         * sysdeps/s390/s390-64/memcpy.S: New file.
3905         * sysdeps/s390/s390-64/memset.S: New file.
3906         * sysdeps/s390/s390-64/s390x-mcount.S: New file.
3907         * sysdeps/s390/s390-64/setjmp.S: New file.
3908         * sysdeps/s390/s390-64/strcpy.S: New file.
3909         * sysdeps/s390/s390-64/strncpy.S: New file.
3910         * sysdeps/s390/s390-64/sub_n.S: New file.
3911         * sysdeps/s390/s390-64/sysdep.h: New file.
3913 2001-03-13  Martin Schwidefsky  <schwidefsky@de.ibm.com>
3915         * scripts/config.guess: Add support for Linux on 64 bit S/390.
3916         * scripts/config.sub: Likewise.
3918 2001-03-13  Martin Schwidefsky  <schwidefsky@de.ibm.com>
3920         * configure.in: Add support for 64 bit S/390.
3922         * elf/elf.h: Add new relocations for 64 bit S/390.
3924         * shlib-versions: Add rules for Linux on 64 bit S/390.
3926 2001-03-13  Martin Schwidefsky  <schwidefsky@de.ibm.com>
3928         * sysdeps/s390/__longjmp.c: Move to...
3929         * sysdeps/s390/s390-32/__longjmp.c: ...here.  Add code
3930         to load the floating point registers that should be saved
3931         according to the ABI.
3933         * sysdeps/s390/bits/setjmp.h: Move to...
3934         * sysdeps/s390/s390-32/bits/setjmp.h: ...here.  Avoid
3935         the use of long long in the __jmp_buf type definition.
3937         * sysdeps/s390/bits/string.h: Move to...
3938         * sysdeps/s390/s390-32/bits/string.h: ...here.  Add several missing
3939         #ifndef _FORCE_INLINES.
3941         * sysdeps/s390/dl-machine.h: Move to...
3942         * sysdeps/s390/s390-32/dl-machine.h: ...here.  Add a check for the
3943         executables EI_CLASS in elf_machine_matches_host.
3945         * sysdeps/s390/elf/setjmp.S: Move to...
3946         * sysdeps/s390/s390-32/elf/setjmp.S: ...here.  Replace
3947         branches to globally defined symbol __sigsetjmp by branches to
3948         a local label (this avoids the generation of a R_390_PC16DBL
3949         relocation in -fpic code).
3951         * sysdeps/s390/gmp-mparam.h: Use defines from <bits/wordsize.h> to
3952         calculate BITS_PER_MP_LIMB, BYTES_PER_MP_LIMB and BITS_PER_LONGINT.
3954         * sysdeps/s390/initfini.c: Move to...
3955         * sysdeps/s390/s390-32/initfini.c: ...here.  Replace ALIGN with
3956         ".align 4,0x07".
3958         * sysdeps/s390/setjmp.S: Move to...
3959         * sysdeps/s390/s390-32/setjmp.S: ...here.  Add code to store the
3960         floating point registers that should be saved according to the ABI.
3962         * sysdeps/s390/sys/ucontext.h: Remove since it is unused.
3964         * sysdeps/unix/sysv/linux/s390/sysdep.h: Move to...
3965         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: ...here.  Include
3966         sysdeps/s390/s390-32/sysdep.h instead of sysdeps/s390/sysdep.h.
3968 2001-03-13  Martin Schwidefsky  <schwidefsky@de.ibm.com>
3970         * configure.in: Change machine=s390 to machine=s390/s390-32.
3972         * elf/elf.h: Correct comment for R_390_PLT16DBL.
3974 2001-03-12  Jakub Jelinek  <jakub@redhat.com>
3976         * csu/Makefile (abi-tag.h): Define OS and version separately, allow
3977         version to be overriden from config.h.
3978         * csu/abi-note.S: Use OS and version separately, include config.h.
3979         * elf/dl-load.c (_dl_osversion): New.
3980         (_dl_map_object_from_fd): Kill some warnings.
3981         (open_verify): Check .note.ABI-tag of the library if present.
3982         * elf/Makefile (CPPFLAGS-dl-load.c): Add -I$(csu-objpfx).
3983         * elf/cache.c (struct cache_entry): Add osversion.
3984         (print_entry): Print osversion.
3985         (print_cache): Pass osversion to it.
3986         (compare): Sort according to osversion.
3987         (save_cache): Set osversion.
3988         (add_to_cache): Add osversion argument.
3989         * sysdeps/generic/ldconfig.h (add_to_cache, process_file,
3990         process_elf_file): Add osversion argument.
3991         * elf/readlib.c (process_file): Likewise.
3992         * sysdeps/generic/readelflib.c (process_elf_file): Likewise.
3993         * sysdeps/unix/sysv/linux/ia64/readelflib.c (process_elf_file,
3994         process_elf32_file, process_elf64_file): Likewise.
3995         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file,
3996         process_elf32_file, process_elf64_file): Likewise.
3997         * sysdeps/unix/sysv/linux/sparc/readelflib.c (process_elf_file,
3998         process_elf32_file, process_elf64_file): Likewise.
3999         * elf/ldconfig.c (manual_link): Pass it.
4000         (search_dir): Issue diagnostic if two libs with the same soname in
4001         the same directory have different .note.ABI-tag.  Record osversion in
4002         dlib_entry and use it from there.
4003         (struct lib_entry): Remove.
4004         (struct dlib_entry): Add osversion.
4005         * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Check
4006         osversion.
4007         * sysdeps/generic/dl-cache.h (struct file_entry_new): Replace __unused
4008         field with osversion.
4009         * sysdeps/generic/ldsodefs.h (_dl_osversion): Declare.
4010         * sysdeps/unix/sysv/linux/init-first.c: Include ldsodefs.h.
4011         * sysdeps/unix/sysv/linux/dl-osinfo.h (DL_SYSDEP_OSCHECK): Save kernel
4012         version in _dl_osversion.
4013         * sysdeps/unix/sysv/linux/configure.in: Define __ABI_TAG_VERSION.
4014         * Makerules (build-shlib-helper, build-module-helper): New.
4015         (build-shlib, build-module-helper): Make sure .note.ABI-tag comes
4016         early.
4017         * config.h.in (__ABI_TAG_VERSION): Add.
4018         * elf/dl-minimal.c (__strtoul_internal): Set endptr on return.
4019         * sysdeps/unix/sysv/linux/i386/dl-librecon.h (EXTRA_LD_ENVVARS):
4020         Handle LD_ASSUME_KERNEL.
4021         * sysdeps/unix/sysv/linux/dl-librecon.h: New.
4023 2001-03-15  Ulrich Drepper  <drepper@redhat.com>
4025         * timezone/antarctica: Update from tzdata2001a.
4026         * timezone/asia: Likewise.
4027         * timezone/australasia: Likewise.
4028         * timezone/backward: Likewise.
4029         * timezone/etcetera: Likewise.
4030         * timezone/europe: Likewise.
4031         * timezone/leapseconds: Likewise.
4032         * timezone/northamerica: Likewise.
4033         * timezone/southamerica: Likewise.
4034         * timezone/systemv: Likewise.
4035         * timezone/yearistype: Likewise.
4036         * timezone/zone.tab: Likewise.
4037         * timezone/tzdump.c: Update from tzcode2001a.
4039 2001-03-15  H.J. Lu  <hjl@gnu.org>
4041         * intl/Makefile: Fix a typo.
4043 2001-03-14  David Mosberger  <davidm@hpl.hp.com>
4045         * gmon/gmon.c (write_call_graph): Avoid unaligned accesses when
4046         writing arc structures.
4048 2001-03-15  H.J. Lu  <hjl@gnu.org>
4050         * elf/Makefile ($(objpfx)tst-pathopt.out): Protected against
4051         cross-compiling.
4053 2001-03-13  Andreas Schwab  <schwab@suse.de>
4055         * posix/PTESTS2C.sed: Replace literal CRs by `\r'.
4057 2001-03-15  Ulrich Drepper  <drepper@redhat.com>
4059         * sysdeps/unix/sysv/linux/cmsg_nxthdr.c (__cmsg_nxthdr): Fix test
4060         for control message fitting into message data.
4061         Patch by James Antill <james@and.org>.
4063         * posix/tst-fnmatch.input: Add test case for FNM_PERIOD handling with
4064         FNM_EXTMATCH.
4066         * posix/fnmatch_loop.c: Optimize handling of ?() and @().
4067         * posix/fnmatch.c: Define STRLEN and STRCAT appropriately.
4069         * posix/Versions [libc] (GLIBC_2.2.3): Add fnmatch.
4070         * posix/fnmatch.c: Define with new default version GLIBC_2.2.3 to
4071         avoid running binaries with libc versions without FNM_EXTMATCH support.
4073         * include/wchar.h: Add prototype for __wcscat.
4074         * wcsmbs/wcscat.c: Define __wcscat and make wcscat weak alias.
4076         * posix/fnmatch.h (FNM_EXTMATCH): Define.
4077         * posix/fnmatch.c (NO_LEADING_PERIOD): Define.
4078         (posixly_correct): Move global variable here.
4079         (INT, EXT, END): Name new functions defined in fnmatch_loop.c.
4080         (fnmatch): Pretty printing.
4081         * posix/fnmatch_loop.c: Add code to handle FNM_EXTMATCH.
4082         * posix/tst-fnmatch.c: Recognize EXTMATCH flag.
4083         * posix/tst-fnmatch.input: Add tests for extended matching.
4085         * posix/testfnm.c: Add test for patterns with multiple ** before /.
4086         * posix/fnmatch_loop.c: Fix problem with the test above.
4088 2001-03-14  Ulrich Drepper  <drepper@redhat.com>
4090         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Remove
4091         reference to usqrt.
4093         * resolv/res_data.c (fp_nquery): Call __res_ninit not __res_init.
4095 2001-03-12  Andreas Jaeger  <aj@suse.de>
4097         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
4098         Use EM_X86_64 instead of EM_X8664.
4100 2001-03-12  Ulrich Drepper  <drepper@redhat.com>
4102         * sysdeps/ieee754/dbl-64/upow.h: Define nZERO and nINF.
4104         * sysdeps/ieee754/dbl-64/e_remainder.c: Fix handling of boundary
4105         conditions.
4107         * sysdeps/ieee754/dbl-64/e_pow.c: Fix handling of boundary
4108         conditions.
4110         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Handle Inf and NaN
4111         correctly.
4112         (__cos): Likewise.
4114         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Handle NaN
4115         correctly.
4116         (__ieee754_acos): Likewise.
4118 2001-03-12  Andreas Jaeger  <aj@suse.de>
4120         * sysdeps/unix/sysv/linux/s390/sysdep.h (_LINUX_S390_SYSDEP_H):
4121         Fix typo.  Patch by Martin Schwidefsky  <schwidefsky@de.ibm.com>.
4123         * sysdeps/s390/bits/string.h: Protect __STRING_INLINE against
4124         redefinition.
4126 2001-03-11  Roland McGrath  <roland@frob.com>
4128         * sysdeps/mach/hurd/configure.in: Add a sanity check on $prefix.
4130 2001-03-11  Ulrich Drepper  <drepper@redhat.com>
4132         * sysdeps/ieee754/dbl-64/endian.h: Define also one of BIG_ENDI and
4133         LITTLE_ENDI.
4135         * sysdeps/ieee754/dbl-64/MathLib.h (Init_Lib): Use void as
4136         parameter list.
4138         Last-bit accurate math library implementation by IBM Haifa.
4139         Contributed by Abraham Ziv <ziv@il.ibm.com>, Moshe Olshansky
4140         <olshansk@il.ibm.com>, Ealan Henis <ealan@il.ibm.com>, and
4141         Anna Reitman <reitman@il.ibm.com>.
4142         * math/Makefile (dbl-only-routines): New variable.
4143         (libm-routines): Add $(dbl-only-routines).
4144         * sysdeps/ieee754/dbl-64/e_acos.c: Empty, definition is in e_asin.c.
4145         * sysdeps/ieee754/dbl-64/e_asin.c: Replaced with accurate asin
4146         implementation.
4147         * sysdeps/ieee754/dbl-64/e_atan2.c: Replaced with accurate atan2
4148         implementation.
4149         * sysdeps/ieee754/dbl-64/e_exp.c: Replaced with accurate exp
4150         implementation.
4151         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Don't use __kernel_sin and
4152         __kernel_cos.
4153         * sysdeps/ieee754/dbl-64/e_log.c: Replaced with accurate log
4154         implementation.
4155         * sysdeps/ieee754/dbl-64/e_remainder.c: Replaced with accurate
4156         remainder implementation.
4157         * sysdeps/ieee754/dbl-64/e_pow.c: Replaced with accurate pow
4158         implementation.
4159         * sysdeps/ieee754/dbl-64/e_sqrt.c: Replaced with accurate sqrt
4160         implementation.
4161         * sysdeps/ieee754/dbl-64/k_cos.c: Empty, definition is in s_sin.c.
4162         * sysdeps/ieee754/dbl-64/k_sin.c: Empty, definition is in s_sin.c.
4163         * sysdeps/ieee754/dbl-64/s_atan.c: Replaced with accurate atan
4164         implementation.
4165         * sysdeps/ieee754/dbl-64/s_cos.c: Empty, definition is in s_sin.c.
4166         * sysdeps/ieee754/dbl-64/s_sin.c: Replaced with accurate sin/cos
4167         implementation.
4168         * sysdeps/ieee754/dbl-64/s_sincos.c: Rewritten to not use __kernel_sin
4169         and __kernel_cos.
4170         * sysdeps/ieee754/dbl-64/s_tan.c: Replaced with accurate tan
4171         implementation.
4172         * sysdeps/ieee754/dbl-64/Dist: Add new non-code files.
4173         * sysdeps/ieee754/dbl-64/MathLib.h: New file.
4174         * sysdeps/ieee754/dbl-64/asincos.tbl: New file.
4175         * sysdeps/ieee754/dbl-64/atnat.h: New file.
4176         * sysdeps/ieee754/dbl-64/atnat2.h: New file.
4177         * sysdeps/ieee754/dbl-64/branred.c: New file.
4178         * sysdeps/ieee754/dbl-64/branred.h: New file.
4179         * sysdeps/ieee754/dbl-64/dla.h: New file.
4180         * sysdeps/ieee754/dbl-64/doasin.c: New file.
4181         * sysdeps/ieee754/dbl-64/doasin.h: New file.
4182         * sysdeps/ieee754/dbl-64/dosincos.c: New file.
4183         * sysdeps/ieee754/dbl-64/dosincos.h: New file.
4184         * sysdeps/ieee754/dbl-64/endian.h: New file.
4185         * sysdeps/ieee754/dbl-64/halfulp.c: New file.
4186         * sysdeps/ieee754/dbl-64/mpa.c: New file.
4187         * sysdeps/ieee754/dbl-64/mpa.h: New file.
4188         * sysdeps/ieee754/dbl-64/mpa2.h: New file.
4189         * sysdeps/ieee754/dbl-64/mpatan.c: New file.
4190         * sysdeps/ieee754/dbl-64/mpatan.h: New file.
4191         * sysdeps/ieee754/dbl-64/mpatan2.c: New file.
4192         * sysdeps/ieee754/dbl-64/mpexp.c: New file.
4193         * sysdeps/ieee754/dbl-64/mpexp.h: New file.
4194         * sysdeps/ieee754/dbl-64/mplog.c: New file.
4195         * sysdeps/ieee754/dbl-64/mplog.h: New file.
4196         * sysdeps/ieee754/dbl-64/mpsqrt.c: New file.
4197         * sysdeps/ieee754/dbl-64/mpsqrt.h: New file.
4198         * sysdeps/ieee754/dbl-64/mptan.c: New file.
4199         * sysdeps/ieee754/dbl-64/mydefs.h: New file.
4200         * sysdeps/ieee754/dbl-64/powtwo.tbl: New file.
4201         * sysdeps/ieee754/dbl-64/root.tbl: New file.
4202         * sysdeps/ieee754/dbl-64/sincos.tbl: New file.
4203         * sysdeps/ieee754/dbl-64/sincos32.c: New file.
4204         * sysdeps/ieee754/dbl-64/sincos32.h: New file.
4205         * sysdeps/ieee754/dbl-64/slowexp.c: New file.
4206         * sysdeps/ieee754/dbl-64/slowpow.c: New file.
4207         * sysdeps/ieee754/dbl-64/uasncs.h: New file.
4208         * sysdeps/ieee754/dbl-64/uatan.tbl: New file.
4209         * sysdeps/ieee754/dbl-64/uexp.h: New file.
4210         * sysdeps/ieee754/dbl-64/uexp.tbl: New file.
4211         * sysdeps/ieee754/dbl-64/ulog.h: New file.
4212         * sysdeps/ieee754/dbl-64/ulog.tbl: New file.
4213         * sysdeps/ieee754/dbl-64/upow.h: New file.
4214         * sysdeps/ieee754/dbl-64/upow.tbl: New file.
4215         * sysdeps/ieee754/dbl-64/urem.h: New file.
4216         * sysdeps/ieee754/dbl-64/uroot.h: New file.
4217         * sysdeps/ieee754/dbl-64/usncs.h: New file.
4218         * sysdeps/ieee754/dbl-64/utan.h: New file.
4219         * sysdeps/ieee754/dbl-64/utan.tbl: New file.
4220         * sysdeps/i386/fpu/branred.c: New file.
4221         * sysdeps/i386/fpu/doasin.c: New file.
4222         * sysdeps/i386/fpu/dosincos.c: New file.
4223         * sysdeps/i386/fpu/halfulp.c: New file.
4224         * sysdeps/i386/fpu/mpa.c: New file.
4225         * sysdeps/i386/fpu/mpatan.c: New file.
4226         * sysdeps/i386/fpu/mpatan2.c: New file.
4227         * sysdeps/i386/fpu/mpexp.c: New file.
4228         * sysdeps/i386/fpu/mplog.c: New file.
4229         * sysdeps/i386/fpu/mpsqrt.c: New file.
4230         * sysdeps/i386/fpu/mptan.c: New file.
4231         * sysdeps/i386/fpu/sincos32.c: New file.
4232         * sysdeps/i386/fpu/slowexp.c: New file.
4233         * sysdeps/i386/fpu/slowpow.c: New file.
4234         * sysdeps/ia64/fpu/branred.c: New file.
4235         * sysdeps/ia64/fpu/doasin.c: New file.
4236         * sysdeps/ia64/fpu/dosincos.c: New file.
4237         * sysdeps/ia64/fpu/halfulp.c: New file.
4238         * sysdeps/ia64/fpu/mpa.c: New file.
4239         * sysdeps/ia64/fpu/mpatan.c: New file.
4240         * sysdeps/ia64/fpu/mpatan2.c: New file.
4241         * sysdeps/ia64/fpu/mpexp.c: New file.
4242         * sysdeps/ia64/fpu/mplog.c: New file.
4243         * sysdeps/ia64/fpu/mpsqrt.c: New file.
4244         * sysdeps/ia64/fpu/mptan.c: New file.
4245         * sysdeps/ia64/fpu/sincos32.c: New file.
4246         * sysdeps/ia64/fpu/slowexp.c: New file.
4247         * sysdeps/ia64/fpu/slowpow.c: New file.
4248         * sysdeps/m68k/fpu/branred.c: New file.
4249         * sysdeps/m68k/fpu/doasin.c: New file.
4250         * sysdeps/m68k/fpu/dosincos.c: New file.
4251         * sysdeps/m68k/fpu/halfulp.c: New file.
4252         * sysdeps/m68k/fpu/mpa.c: New file.
4253         * sysdeps/m68k/fpu/mpatan.c: New file.
4254         * sysdeps/m68k/fpu/mpatan2.c: New file.
4255         * sysdeps/m68k/fpu/mpexp.c: New file.
4256         * sysdeps/m68k/fpu/mplog.c: New file.
4257         * sysdeps/m68k/fpu/mpsqrt.c: New file.
4258         * sysdeps/m68k/fpu/mptan.c: New file.
4259         * sysdeps/m68k/fpu/sincos32.c: New file.
4260         * sysdeps/m68k/fpu/slowexp.c: New file.
4261         * sysdeps/m68k/fpu/slowpow.c: New file.
4263         * iconvdata/gconv-modules: Add a number of alias, mostly for IBM
4264         codepages.
4266 2001-03-11  Andreas Jaeger  <aj@suse.de>
4268         * elf/elf.h (EM_*): Synch with official list.
4270 2001-03-07  David Mosberger  <davidm@hpl.hp.com>
4272         * sysdeps/ia64/bits/fenv.h (FE_NONIEEE_ENV): New macro.
4274 2001-03-07  Jes Sorensen  <jes@linuxcare.com>
4276         * sysdeps/unix/sysv/linux/ia64/ioperm.c (_ioperm): Remove unused
4277         variables addr & len.
4279 2001-02-22  Jes Sorensen  <jes@linuxcare.com>
4281         * sysdeps/ia64/fpu/feenablxcpt.c (feenableexcept): Remove
4282         punctuation in asm constraint.
4284 2001-03-07  Mark Kettenis  <kettenis@gnu.org>
4286         * resolv/netdb.h [__USE_GNU]: Define __need_timespec and include
4287         <time.h> to get definition of `struct timespec'.
4289 2001-03-08  Jakub Jelinek  <jakub@redhat.com>
4291         * elf/rtld.c (dl_main): If tracing, warn about undefined symbols if
4292         LD_WARN=1, not if LD_WARN is unset.
4294 2001-03-07  Andreas Schwab  <schwab@suse.de>
4296         * elf/ldconfig.h: Moved to ...
4297         * sysdeps/generic/ldconfig.h: ... here.
4298         * sysdeps/unix/sysv/linux/i386/ldconfig.h: New file.
4299         * sysdeps/unix/sysv/linux/m68k/ldconfig.h: New file.
4300         * sysdeps/unix/sysv/linux/ia64/ldconfig.h: New file.
4301         * elf/readlib.c (interpreters, known_libs): Use
4302         SYSDEP_KNOWN_INTERPRETER_NAMES and SYSDEP_KNOWN_LIBRARY_NAMES
4303         instead of hard coding old names.
4305 2001-03-09  Ulrich Drepper  <drepper@redhat.com>
4307         * catgets/Makefile (generated): Add test-gencat.h.
4308         (sample.SJIS.cat): Also generate header.
4309         * catgets/sample.SJIS: Add new set and message, both with symbolic
4310         names.
4311         * catgets/test-gencat.sh: Also compare generated header with what
4312         we expect.
4314 2001-03-07  Jakub Jelinek  <jakub@redhat.com>
4316         * catgets/gencat.c (read_input_file): Preserve properly symbolic
4317         names.
4319 2001-03-06  Andreas Jaeger  <aj@suse.de>
4321         * sysdeps/s390/dl-machine.h (elf_machine_relplt): Removed, it's not
4322         needed.
4323         (elf_machine_pltrel_p): Likewise.
4324         * sysdeps/powerpc/dl-machine.h: Likewise.
4325         * sysdeps/generic/dl-machine.h (elf_machine_pltrel_p): Likewise.
4327 2001-03-09  Ulrich Drepper  <drepper@redhat.com>
4329         * sysdeps/unix/sysv/linux/arm/Dist: Add dl-procinfo.c and
4330         dl-procinfo.h.
4332 2001-03-05  Philip Blundell  <philb@gnu.org>
4334         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c: New file.
4335         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h: New file.
4336         * sysdeps/unix/sysv/linux/arm/Makefile [subdir=elf]
4337         (sysdep-dl-routines, sysdep_routines, sysdep-rtld-routines): Add
4338         dl-procinfo.
4340 2001-03-09  Ulrich Drepper  <drepper@redhat.com>
4342         * dlfcn/tstatexit.c (main): Don't perform the test if __dso_handle
4343         is not available.
4344         * dlfcn/tstcxaatexit.c (main): Likewise.
4346 2001-03-10  Andreas Jaeger  <aj@suse.de>
4348         * sysdeps/i386/fpu/libm-test-ulps: Revert last patch.
4350 2001-03-09  Andreas Jaeger  <aj@suse.de>
4352         * sysdeps/s390/dl-machine.h (elf_machine_matches_host): Handle
4353         both new and old EM_S390 values.
4354         (EM_S390_OLD): New constant.
4356         * elf/elf.h (EM_S390): Use official value.
4358 2001-03-09  Ulrich Drepper  <drepper@redhat.com>
4360         * conform/data/sys/socket.h-data: Allow SO* symbols.
4362 2001-03-07  Andreas Schwab  <schwab@suse.de>
4364         * sysdeps/ia64/fpu/Makefile: Modify sysdep_routines instead of
4365         routines, and sysdep-CPPFLAGS instead of CPPFLAGS.
4367 2001-03-07  Andreas Jaeger  <aj@suse.de>
4369         * resolv/Makefile (routines): Only build gai_sigqueue when threads
4370         are available.
4372 2001-03-07  Jakub Jelinek  <jakub@redhat.com>
4374         * elf/ldconfig.c (_dl_sysdep_message): Remove.
4375         * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h: Include
4376         ldsodefs.h.
4377         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h: Likewise.
4379         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Use
4380         _dl_error_printf instead of _dl_sysdep_error.
4381         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
4382         * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h (_dl_procinfo):
4383         Use _dl_printf instead of _dl_sysdep_message.
4384         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h (_dl_procinfo):
4385         Likewise.
4387 2001-03-06  Ben Collins  <bcollins@debian.org>
4389         * manual/arith.texi (Integers): Fix documentation of fast and
4390         least integer typedefs.
4392 2001-03-06  Jakub Jelinek  <jakub@redhat.com>
4394         * resolv/Depend: New file.
4395         * resolv/Makefile (extra-libs, tests): Build libanl and ga_test only
4396         when libpthread is built.
4398 2001-03-06  Andreas Jaeger  <aj@suse.de>
4400         * sysdeps/i386/fpu/libm-test-ulps: Add some deltas.
4402         * sysdeps/sh/dl-machine.h (elf_machine_rela): Add missing comma.
4403         Patch by kaz Kojima <kkojima@rr.iij4u.or.jp>.
4405 2001-03-05  Ulrich Drepper  <drepper@redhat.com>
4407         * stdlib/Versions: Remove __new_exitfn again.  Not needed.
4409 2001-03-05  Andreas Jaeger  <aj@suse.de>
4411         * stdlib/msort.c (qsort): Don't use alloca in a function call.
4413 2001-03-05  Ulrich Drepper  <drepper@redhat.com>
4415         * sysdeps/unix/sysv/linux/bits/stat.h (__S_TYPEISMQ, __S_TYPEISSEM,
4416         __S_TYPEISSHM): Rewrite to enforce correct use the macros.  They still
4417         always return zero.
4418         * sysdeps/unix/sysv/linux/alpha/bits/stat.h: Likewise.
4419         * sysdeps/unix/sysv/linux/ia64/bits/stat.h: Likewise.
4420         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
4421         * sysdeps/unix/sysv/linux/m68k/bits/stat.h: Likewise.
4422         * sysdeps/unix/sysv/linux/mips/bits/stat.h: Likewise.
4423         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
4424         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
4426 2001-03-04  Andreas Jaeger  <aj@suse.de>
4428         * stdlib/longlong.h: Don't use multi-line strings.
4429         * iconvdata/tst-loading.c: Likewise.
4431         * csu/Makefile ($(objpfx)version-info.h): Don't use multi-line
4432         string.
4434 2001-03-04  Ulrich Drepper  <drepper@redhat.com>
4436         * sysdeps/ia64/fpu/libm-test-ulps: Adjust for addition of lgammal.
4438         * rt/lio_listio.c: Add a few asserts.
4440         * elf/global.c: New file.
4441         * elf/globalmod1.c: New file.
4442         * elf/Makefile: Add rules to build and run global.
4444         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Define SI_ASYNCNL.
4445         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
4446         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Likewise.
4447         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
4448         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/siginfo.h: Likewise.
4450         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: New file.
4451         Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>.
4453         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Fix handling of boundary cases.
4455         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Always initialize sign variable.
4456         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
4458         * sysdeps/i386/fpu/libm-test-ulps: Adjust after addition of lgammal.
4460         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Fix typo in last change.
4462 2001-03-04  Andreas Jaeger  <aj@suse.de>
4464         * resolv/tst-aton.c: Add testcase for IP with four periods.
4466         * resolv/inet_addr.c: Don't recognize an IP with four periods.
4467         Patch by Andre' Breiler <A.Breiler@gmx.net>.
4469 2001-02-27  Philip Blundell  <pb@futuretv.com>
4471         * elf/elf.h: Add new ARM definitions from latest (B-01)
4472         specification.  Correct naming of EF_ARM_ALIGN8 et al.
4474 2001-03-04  Ulrich Drepper  <drepper@redhat.com>
4476         * stdio-common/tst-printf.sh: Remove bashisms.
4477         Patch by Matthew Clarke <Matthew_Clarke@mindlink.bc.ca>.
4479 2001-03-03  Ulrich Drepper  <drepper@redhat.com>
4481         * Versions.def: Add libanl definition.
4482         * shlib-versions: Add entry for libanl.
4483         * resolv/Makefile (distribute): Add gai_misc.h and ga_test.c.
4484         (routines): Add gai_sigqueue.
4485         (extra-libs): Add libanl.
4486         (libanl-routines): New variable.
4487         Add rules to build libanl and ga_test.
4488         * resolv/Versions [libc] (GLIBC_2.2.3): Add __gai_sigqueue.
4489         [libanl]: New library.
4490         * resolv/netdb.h: Add definitions for libanl.
4491         * resolv/getaddrinfo_a.c: New file.
4492         * resolv/gai_cancel.c: New file.
4493         * resolv/gai_error.c: New file.
4494         * resolv/gai_misc.c: New file.
4495         * resolv/gai_misc.h: New file.
4496         * resolv/gai_notify.c: New file.
4497         * resolv/gai_suspend.c: New file.
4498         * resolv/ga_test.c: New file.
4499         * sysdeps/generic/gai_sigqueue.c: New file.
4500         * sysdeps/unix/sysv/linux/gai_sigqueue.c: New file.
4501         * sysdeps/generic/bits/siginfo.h: Allow __need_sigevent_t being defined
4502         and provide only that definition.
4503         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Likewise.
4504         * sysdeps/unix/sysv/linux/bits/siginfo.h: Likewise.
4505         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
4506         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Likewise.
4507         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
4508         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/siginfo.h: Likewise.
4510         * rt/aio_misc.c: Fix typos in comments.
4511         * rt/lio_listio.c: Pretty printing.  Little optimization in request
4512         list handling.
4514         * elf/rtld.c: Remove commented out code.
4516         * sysdeps/unix/sysv/linux/linux_fsinfo.h (SHMFS_SUPER_MAGIC):
4517         Update for real 2.4 kernels.
4519 2001-03-01  Ulrich Drepper  <drepper@redhat.com>
4521         * elf/dl-load.c: Pretty printing.
4523         * elf/dl-object.c (_dl_new_object): Don't add the loader's scope
4524         twice.
4526 2001-02-28  Ulrich Drepper  <drepper@redhat.com>
4528         * sysdeps/alpha/dl-machine.h (elf_machine_rela): Don't handle
4529         relocations which are not in ld.so if RTLD_BOOTSTRAP is defined.
4531         * sysdeps/powerpc/dl-machine.c (__process_machine_rela): Fix typo.
4533         * elf/dl-misc.c (_dl_debug_vdprintf): Fix typo visible on 64-bit
4534         machines.
4536         * sysdeps/unix/sysv/linux/powerpc/sysdep.h (C_TEXT): Define.
4538 2001-02-27  Ulrich Drepper  <drepper@redhat.com>
4540         * sysdeps/powerpc/elf/libc-start.c: Use new output functions and
4541         _dl_debug_mask.
4543         * elf/Versions [ld]: Don't export _dl_debug_message anymore.  Export
4544         _dl_debug_printf.
4545         * elf/dl-misc.c: Remove definition of _dl_sysdep_output and
4546         _dl_debug_message.  Define _dl_debug_vdprintf, _dl_debug_printf,
4547         _dl_debug_printf_c, and _dl_printf.
4548         * sysdeps/generic/ldsodefs.h: Don't declare _dl_sysdep_output,
4549         _dl_debug_message, _dl_sysdep_message, _dl_sysdep_error, and
4550         _dl_sysdep_fatal.  Declare _dl_debug_printf, _dl_debug_printf_c,
4551         _dl_printf, _dl_error_printf, and _dl_fatal_printf.
4552         * elf/dl-close.c: Replace use of old output functions with the new
4553         ones.
4554         * elf/dl-deps.c: Likewise.
4555         * elf/dl-error.c: Likewise.
4556         * elf/dl-fini.c: Likewise.
4557         * elf/dl-init.c: Likewise.
4558         * elf/dl-load.c: Likewise.
4559         * elf/dl-lookup.c: Likewise.
4560         * elf/dl-minimal.c: Likewise.
4561         * elf/dl-open.c: Likewise.
4562         * elf/dl-profile.c: Likewise.
4563         * elf/dl-reloc.c: Likewise.
4564         * elf/dl-version.c: Likewise.
4565         * elf/do-lookup.h: Likewise.
4566         * elf/rtld.c: Likewise.
4567         * sysdeps/generic/dl-cache.c: Likewise.
4568         * sysdeps/generic/dl-sysdep.c: Likewise.
4569         * sysdeps/generic/libc-start.c: Likewise.
4570         * sysdeps/i386/dl-machine.h: Likewise.
4571         * sysdeps/arm/dl-machine.h: Likewise.
4572         * sysdeps/hppa/dl-machine.h: Likewise.
4573         * sysdeps/m68k/dl-machine.h: Likewise.
4574         * sysdeps/powerpc/dl-machine.h: Likewise.
4575         * sysdeps/s390/dl-machine.h: Likewise.
4576         * sysdeps/sh/dl-machine.h: Likewise.
4577         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
4578         * sysdeps/unix/sysv/linux/i386/dl-librecon.h: Likewise.
4579         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
4581         * sysdeps/generic/ldsodefs.h: Remove _dl_secure declaration.
4583         * dlfcn/Makefile: Don't run tstatexit test unless .hidden is
4584         supported by assembler.
4586         * sysdeps/generic/ldsodefs.h: Remove commented-out variable
4587         declaractions.
4589         * elf/rtld.c: Little optimizations in handling _dl_lazy.
4591         * elf/cache.c (save_cache): Portability changes.
4592         * elf/dl-profile.c (_dl_start_profile): Likewise.
4594         * elf/sln.c: Cleanups.  Remove arbitrary limits.
4596         * elf/dl-close.c: Replace _dl_debug_* variables with _dl_debug_mask.
4597         * elf/dl-deps.c: Likewise.
4598         * elf/dl-fini.c: Likewise.
4599         * elf/dl-init.c: Likewise.
4600         * elf/dl-load.c: Likewise.
4601         * elf/dl-lookup.c: Likewise.
4602         * elf/dl-open.c: Likewise.
4603         * elf/dl-reloc.c: Likewise.
4604         * elf/dl-support.c: Likewise.
4605         * elf/dl-version.c: Likewise.
4606         * elf/do-lookup.h: Likewise.
4607         * elf/rtld.c: Likewise.
4608         * sysdeps/generic/dl-cache.c: Likewise.
4609         * sysdeps/generic/ldsodefs.h: Likewise.
4610         * sysdeps/generic/libc-start.c: Likewise.
4611         * elf/Versions: Don't export _dl_debug_impcalls and _dl_debug_files.
4612         Export _dl_debug_mask.
4613         * Versions.def: Define GLIBC_2.2.3 for ld.
4615 2001-02-26  Greg McGary  <greg@mcgary.org>
4617         * sysdeps/unix/make-syscalls.sh (ptr): Handle `V' keyletter.
4619 2001-02-26  Paul Eggert  <eggert@twinsun.com>
4621         Modify mkstemp.c and tempname.c so that they can be used by
4622         GNU applications on non-glibc platforms.
4624         * misc/mkstemp.c (__GT_FILE): Define to zero if not defined.
4626         * sysdeps/posix/tempname.c: Include <config.h> if HAVE_CONFIG_H.
4627         Include <stddef.h>, <stdint.h>, <string.h> only if
4628         STDC_HEADERS || _LIBC.
4629         Include <fcntl.h> only if HAVE_FCNTL_H || _LIBC.
4630         Include <unistd.h> only if HAVE_UNISTD_H || _LIBC.
4631         Include <sys/time.h> only if HAVE_SYS_TIME_H || _LIBC.
4632         (__set_errno): Define this macro if <errno.h> doesn't.
4633         (P_tmpdir, TMP_MAX, __GT_FILE, __GT_BIGFILE, __GT_DIR, __GT_NOCREATE):
4634         Define these macros if <stdio.h> doesn't.
4635         (S_ISDIR, S_IRUSR, S_IWUSR, S_IXUSR):
4636         Define these macros if <sys/stat.h> doesn't.
4637         Ignore <sys/stat.h> S_ISDIR if STAT_MACROS_BROKEN.
4638         (stat64, __getpid, __gettimeofday, __mkdir, __open, __open64,
4639         lxstat64, __xstat64): Define if not _LIBC.
4640         (struct_stat64): New macro.
4641         (direxists, __gen_tempname): Use it, to avoid a
4642         portability problem with Solaris 8.
4643         (__secure_getenv): Define if ! (HAVE___SECURE_GETENV || _LIBC).
4644         (__gen_tempname): Invoke gettimeofday only if
4645         HAVE_GETTIMEOFDAY || _LIBC; otherwise, fall back on plain "time".
4646         Use portable macros like S_IRUSR | S_IWUSR rather than nonportable
4647         octal values like 0600.
4649 2001-02-26  Ulrich Drepper  <drepper@redhat.com>
4651         * sysdeps/ieee754/ldbl-96/e_jnl.c: New file.
4652         Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>.
4654         * sysdeps/i386/fpu/libm-test-ulps: Update for jnl and ynl introduction.
4655         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
4657         * posix/wordexp-test.c (testit): Remove warnings.
4659         * dlfcn/Makefile (distribute): Add modatexit.c and modcxaatexit.c.
4660         (tests): Add tstatexit and tstcxaatexit.
4661         (module-names): Add modatexit and modcxaatexit.
4662         Add rules to build and run tstatexit and tstcxaatexit.
4663         * dlfcn/modatexit.c: New file.
4664         * dlfcn/modcxaatexit.c: New file.
4665         * dlfcn/tstatexit.c: New file.
4666         * dlfcn/tstcxaatexit.c: New file.
4668         * io/Makefile: Pass -DHAVE_DOT_HIDDEN to stat and mknod functions if
4669         .hidden is available.
4670         * io/stat.c: If .hidden is available use it to avoid exporting
4671         functions.
4672         * io/fstat.c: Likewise.
4673         * io/lstat.c: Likewise.
4674         * io/stat64.c: Likewise.
4675         * io/fstat64.c: Likewise.
4676         * io/lstat64.c: Likewise.
4677         * sysdeps/generic/mknod.c: Likewise.
4679         * malloc/mtrace.c: Use __cxa_atexit and not atexit.
4680         * sysdeps/generic/bb_init_func.c: Likewise.
4681         * sysdeps/generic/libc-start.c: Likewise.
4683         * stdlib/atexit.c (__new_exitfn): Move to cxa_atexit.c.
4684         (atexit): Implement using __cxa_atexit.
4685         Use .hidden if availble to avoid exporting atexit.
4686         * stdlib/cxa_atexit.c (__new_exitfn): Moved to here from atexit.c.
4687         * stdlib/Versions: Export __new_exitfn for GLIBC_2.2.3.
4688         * stdlib/Makefile (routines): Add old_atexit.
4689         (static-only-routines): Add atexit.
4690         Pass -DHAVE_DOT_HIDDEN for atexit.c if .hidden is available.
4691         * stdlib/old_atexit.c: New file.
4693         * intl/Makefile: Remove bogus endif.
4695 2001-02-26  Andreas Jaeger  <aj@suse.de>
4697         * iconvdata/Makefile (tests): Fix typo in last patch.
4699         * intl/Makefile (tests): Run mtrace-tst-gettext only when perl is
4700         available.
4701         Reported by Achim Gottinger <achim@gentoo.org>.
4703 2001-02-25  Andreas Jaeger  <aj@suse.de>
4705         * intl/Makefile (plural.c): Reorder rules so that they work if
4706         BISON doesn't exist.
4708 2001-02-25  Ulrich Drepper  <drepper@redhat.com>
4710         * intl/locale.alias: Don't use nb_NO but define aliases for it.
4712 2001-02-23  Ulrich Drepper  <drepper@redhat.com>
4714         * sysdeps/i386/strtok.S: Continue to return NULL after the first
4715         time this happened.
4717 2001-02-23  Andreas Jaeger  <aj@suse.de>
4719         * string/tester.c (test_strtok_r): Add testcase.
4720         (test_strtok_r): Always initialize cp for proper checking.
4722         * sysdeps/generic/strtok.c (strtok): Handle case of first strtok
4723         returning NULL correctly.
4724         Patch by Fumitoshi UKAI <ukai@debian.or.jp>.
4725         * sysdeps/generic/strtok_r.c (__strtok_r): Likewise.
4727 2001-02-23  Ulrich Drepper  <drepper@redhat.com>
4729         * sysdeps/unix/sysv/aix/bits/types.h: Define __need_NULL before
4730         including <stddef.h>.
4731         * sysdeps/unix/sysv/aix/write.c: Define alias __libc_write.
4732         * include/libc-symbols.h (weak_alias): Don't use .weak if
4733         HAVE_ASM_GLOBAL_DOT_NAME is defined.
4734         Patches by Michael Keezer <mkeezer@redhat.com>.
4736         * sysdeps/generic/ftime.c: Don't include <sys/time.h> at all.
4737         Patch by Michael Keezer <mkeezer@redhat.com>.
4739         * sysdeps/unix/sysv/aix/Dist: Remove restf.S and savef.S.
4740         * sysdeps/unix/sysv/aix/Makefile [$(subdir) == misc]
4741         (sysdep_routines): Remove restf.S and savef.S.
4742         * sysdeps/unix/sysv/aix/restf.S: Removed.
4743         * sysdeps/unix/sysv/aix/savef.S: Removed.
4744         * sysdeps/powerpc/fprrest.S: Use C_TEXT to define label.  Also define
4745         alternative names used on some platforms.
4746         * sysdeps/powerpc/fprsave.S: Likewise.
4747         * sysdeps/powerpc/gprrest0.S: Likewise.
4748         * sysdeps/powerpc/gprrest1.S: Likewise.
4749         * sysdeps/powerpc/gprsave0.S: Likewise.
4750         * sysdeps/powerpc/gprsave1.S: Likewise.
4751         Patch by Michael Keezer <mkeezer@redhat.com>.
4753 2001-02-22  Ulrich Drepper  <drepper@redhat.com>
4755         * sysdeps/i386/elf/start.S (_fp_hw): Actually define label.
4757 2001-02-22  Andreas Jaeger  <aj@suse.de>
4759         * string/tst-strtok.c (main): Fix error messages.
4761 2001-02-22  Andreas Jaeger  <aj@suse.de>
4763         * math/Makefile: Remove omit-long-double-fcts.
4765 2001-02-18  Maciej W. Rozycki  <macro@ds2.pg.gda.pl>
4767         * sysdeps/mips/bsd-_setjmp.S (_setjmp): Reorder instructions to
4768         avoid problems on MIPS I.
4769         * sysdeps/mips/bsd-setjmp.S (setjmp): Likewise.
4771         * sysdeps/mips/dl-machine.h (RTLD_START): Remove duplicate ".set
4772         noreorder".
4774 2001-02-21  Ulrich Drepper  <drepper@redhat.com>
4776         * posix/fnmatch_loop.c: Handle ranges outside glibc correctly.
4778         * sysdeps/generic/ftime.c: Include <time.h>.
4780         * configure.in: Don't check for libgd if user passed --without-gd.
4781         Patch by Achim Gottinger <achim@gentoo.org>.
4783         * sysdeps/i386/i686/strtok.S: Continue to return NULL after the
4784         first time this happened.
4785         * string/Makefile (tests): Add tst-strtok.
4787 2001-02-21  Andreas Jaeger  <aj@suse.de>
4789         * string/tst-strtok.c: New testcase, reported by
4790         Andrew Church <achurch@achurch.org>.
4792 2001-02-20  Ulrich Drepper  <drepper@redhat.com>
4794         * libio/iofwide.c: Remove fwide alias.
4796 2001-02-20  Andreas Jaeger  <aj@suse.de>
4798         * iconvdata/Makefile (tests): Only run mtrace-tst-loading if perl
4799         is available.
4800         Reported by Achim Gottinger <achim@gentoo.org>.
4802 2001-02-19  Ulrich Drepper  <drepper@redhat.com>
4804         * iconv/tst-iconv1.c (main): Remove debugging code.
4806         * sysdeps/ieee754/flt-32/e_powf.c: Handle x == +-1 correctly.
4807         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
4809         * sysdeps/generic/e_scalb.c: Set invalid exception for invalid
4810         parameters.
4811         * sysdeps/generic/e_scalbf.c: Likewise.
4812         * sysdeps/generic/e_scalbl.c: Likewise.
4814         * sysdeps/ia64/fpu/Makefile (libm-sysdep-routines): Add libm_error,
4815         libm_frexp4, libm_frexp4f, libm_frexp4l, and all the functions also
4816         in libc.
4817         (routines): Replace libm_error with libc_libm_error.
4818         * sysdeps/ia64/fpu/Dist: Add libc_libm_error.c.
4819         * sysdeps/ia64/fpu/libc_libm_error.c: New file.
4821 2001-02-18  Mark Kettenis  <kettenis@gnu.org>
4823         * malloc/mtrace.c [USE_IN_LIBIO]: Define fopen as _IO_fopen64.
4824         (mtrace): Revert 2001-02-13 patch: use fopen instead of fopen64.
4826 2001-02-17  H.J. Lu  <hjl@gnu.org>
4828         * sysdeps/unix/sysv/linux/ia64/clone2.S: Use clone2 and don't use
4829         scratch registers across the system call.
4831 2001-02-19  Andreas Jaeger  <aj@suse.de>
4833         * malloc/Makefile (tests): Run mtrace only when perl is available.
4834         Reported by Achim Gottinger <achim@gentoo.org>.
4836 2001-02-19  Ulrich Drepper  <drepper@redhat.com>
4838         * sysdeps/ieee754/ldbl-96/e_j1l.c: New file.
4839         Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>.
4841         * sysdeps/i386/fpu/libm-test-ulps: Adjust error values for j1 and y1.
4842         * sysdeps/ia64/fpu/libm-test-ulps: Adjust error values for y1.
4843         * math/libm-test.inc (j1_test): Mark constants as long double.
4844         (jn_test): Likewise.
4845         (y1_test): Likewise.
4846         (yn_test): Likewise.
4848         * libio/iogetline.c: Move return until after last statement.
4850         * localedata/show-ucs-data.c: Don't show < > for better readability.
4852         * sysdeps/ia64/fpu/Dist: New file.
4853         * sysdeps/ia64/fpu/Makefile: New file.
4854         * sysdeps/ia64/fpu/Versions: New file.
4855         * sysdeps/ia64/fpu/e_acos.S: New file.
4856         * sysdeps/ia64/fpu/e_acosf.S: New file.
4857         * sysdeps/ia64/fpu/e_acosl.S: New file.
4858         * sysdeps/ia64/fpu/e_asin.S: New file.
4859         * sysdeps/ia64/fpu/e_asinf.S: New file.
4860         * sysdeps/ia64/fpu/e_asinl.S: New file.
4861         * sysdeps/ia64/fpu/e_atan2.S: New file.
4862         * sysdeps/ia64/fpu/e_atan2f.S: New file.
4863         * sysdeps/ia64/fpu/e_atan2l.c: New file.
4864         * sysdeps/ia64/fpu/e_cosh.S: New file.
4865         * sysdeps/ia64/fpu/e_coshf.S: New file.
4866         * sysdeps/ia64/fpu/e_coshl.S: New file.
4867         * sysdeps/ia64/fpu/e_exp.S: New file.
4868         * sysdeps/ia64/fpu/e_expf.S: New file.
4869         * sysdeps/ia64/fpu/e_expl.c: New file.
4870         * sysdeps/ia64/fpu/e_fmod.S: New file.
4871         * sysdeps/ia64/fpu/e_fmodf.S: New file.
4872         * sysdeps/ia64/fpu/e_fmodl.S: New file.
4873         * sysdeps/ia64/fpu/e_hypot.S: New file.
4874         * sysdeps/ia64/fpu/e_hypotf.S: New file.
4875         * sysdeps/ia64/fpu/e_hypotl.S: New file.
4876         * sysdeps/ia64/fpu/e_log.S: New file.
4877         * sysdeps/ia64/fpu/e_log10.c: New file.
4878         * sysdeps/ia64/fpu/e_log10f.c: New file.
4879         * sysdeps/ia64/fpu/e_log10l.c: New file.
4880         * sysdeps/ia64/fpu/e_logf.S: New file.
4881         * sysdeps/ia64/fpu/e_logl.c: New file.
4882         * sysdeps/ia64/fpu/e_pow.S: New file.
4883         * sysdeps/ia64/fpu/e_powf.S: New file.
4884         * sysdeps/ia64/fpu/e_powl.S: New file.
4885         * sysdeps/ia64/fpu/e_rem_pio2.c: New file.
4886         * sysdeps/ia64/fpu/e_rem_pio2f.c: New file.
4887         * sysdeps/ia64/fpu/e_remainder.S: New file.
4888         * sysdeps/ia64/fpu/e_remainderf.S: New file.
4889         * sysdeps/ia64/fpu/e_remainderl.S: New file.
4890         * sysdeps/ia64/fpu/e_scalb.S: New file.
4891         * sysdeps/ia64/fpu/e_scalbf.S: New file.
4892         * sysdeps/ia64/fpu/e_scalbl.S: New file.
4893         * sysdeps/ia64/fpu/e_sinh.S: New file.
4894         * sysdeps/ia64/fpu/e_sinhf.S: New file.
4895         * sysdeps/ia64/fpu/e_sinhl.S: New file.
4896         * sysdeps/ia64/fpu/e_sqrt.S: New file.
4897         * sysdeps/ia64/fpu/e_sqrtf.S: New file.
4898         * sysdeps/ia64/fpu/e_sqrtl.S: New file.
4899         * sysdeps/ia64/fpu/k_rem_pio2.c: New file.
4900         * sysdeps/ia64/fpu/k_rem_pio2f.c: New file.
4901         * sysdeps/ia64/fpu/k_rem_pio2l.c: New file.
4902         * sysdeps/ia64/fpu/libm_atan2_reg.S: New file.
4903         * sysdeps/ia64/fpu/libm_error.c: New file.
4904         * sysdeps/ia64/fpu/libm_frexp4.S: New file.
4905         * sysdeps/ia64/fpu/libm_frexp4f.S: New file.
4906         * sysdeps/ia64/fpu/libm_frexp4l.S: New file.
4907         * sysdeps/ia64/fpu/libm_reduce.S: New file.
4908         * sysdeps/ia64/fpu/libm_support.h: New file.
4909         * sysdeps/ia64/fpu/libm_tan.S: New file.
4910         * sysdeps/ia64/fpu/s_atan.S: New file.
4911         * sysdeps/ia64/fpu/s_atanf.S: New file.
4912         * sysdeps/ia64/fpu/s_atanl.S: New file.
4913         * sysdeps/ia64/fpu/s_cbrt.S: New file.
4914         * sysdeps/ia64/fpu/s_cbrtf.S: New file.
4915         * sysdeps/ia64/fpu/s_cbrtl.S: New file.
4916         * sysdeps/ia64/fpu/s_ceil.S: New file.
4917         * sysdeps/ia64/fpu/s_ceilf.S: New file.
4918         * sysdeps/ia64/fpu/s_ceill.S: New file.
4919         * sysdeps/ia64/fpu/s_cos.S: New file.
4920         * sysdeps/ia64/fpu/s_cosf.S: New file.
4921         * sysdeps/ia64/fpu/s_cosl.S: New file.
4922         * sysdeps/ia64/fpu/s_expm1.S: New file.
4923         * sysdeps/ia64/fpu/s_expm1f.S: New file.
4924         * sysdeps/ia64/fpu/s_expm1l.S: New file.
4925         * sysdeps/ia64/fpu/s_floor.S: New file.
4926         * sysdeps/ia64/fpu/s_floorf.S: New file.
4927         * sysdeps/ia64/fpu/s_floorl.S: New file.
4928         * sysdeps/ia64/fpu/s_frexp.c: New file.
4929         * sysdeps/ia64/fpu/s_frexpf.c: New file.
4930         * sysdeps/ia64/fpu/s_frexpl.c: New file.
4931         * sysdeps/ia64/fpu/s_ilogb.S: New file.
4932         * sysdeps/ia64/fpu/s_ilogbf.S: New file.
4933         * sysdeps/ia64/fpu/s_ilogbl.S: New file.
4934         * sysdeps/ia64/fpu/s_ldexp.S: New file.
4935         * sysdeps/ia64/fpu/s_ldexpf.S: New file.
4936         * sysdeps/ia64/fpu/s_ldexpl.S: New file.
4937         * sysdeps/ia64/fpu/s_log1p.S: New file.
4938         * sysdeps/ia64/fpu/s_log1pf.S: New file.
4939         * sysdeps/ia64/fpu/s_log1pl.S: New file.
4940         * sysdeps/ia64/fpu/s_logb.S: New file.
4941         * sysdeps/ia64/fpu/s_logbf.S: New file.
4942         * sysdeps/ia64/fpu/s_logbl.S: New file.
4943         * sysdeps/ia64/fpu/s_matherrf.c: New file.
4944         * sysdeps/ia64/fpu/s_matherrl.c: New file.
4945         * sysdeps/ia64/fpu/s_modf.S: New file.
4946         * sysdeps/ia64/fpu/s_modff.S: New file.
4947         * sysdeps/ia64/fpu/s_modfl.S: New file.
4948         * sysdeps/ia64/fpu/s_nearbyint.S: New file.
4949         * sysdeps/ia64/fpu/s_nearbyintf.S: New file.
4950         * sysdeps/ia64/fpu/s_nearbyintl.S: New file.
4951         * sysdeps/ia64/fpu/s_rint.S: New file.
4952         * sysdeps/ia64/fpu/s_rintf.S: New file.
4953         * sysdeps/ia64/fpu/s_rintl.S: New file.
4954         * sysdeps/ia64/fpu/s_round.S: New file.
4955         * sysdeps/ia64/fpu/s_roundf.S: New file.
4956         * sysdeps/ia64/fpu/s_roundl.S: New file.
4957         * sysdeps/ia64/fpu/s_scalbn.S: New file.
4958         * sysdeps/ia64/fpu/s_scalbnf.S: New file.
4959         * sysdeps/ia64/fpu/s_scalbnl.S: New file.
4960         * sysdeps/ia64/fpu/s_significand.S: New file.
4961         * sysdeps/ia64/fpu/s_significandf.S: New file.
4962         * sysdeps/ia64/fpu/s_significandl.S: New file.
4963         * sysdeps/ia64/fpu/s_sin.c: New file.
4964         * sysdeps/ia64/fpu/s_sincos.c: New file.
4965         * sysdeps/ia64/fpu/s_sincosf.c: New file.
4966         * sysdeps/ia64/fpu/s_sincosl.c: New file.
4967         * sysdeps/ia64/fpu/s_sinf.c: New file.
4968         * sysdeps/ia64/fpu/s_sinl.c: New file.
4969         * sysdeps/ia64/fpu/s_tan.S: New file.
4970         * sysdeps/ia64/fpu/s_tanf.S: New file.
4971         * sysdeps/ia64/fpu/s_tanl.S: New file.
4972         * sysdeps/ia64/fpu/s_trunc.S: New file.
4973         * sysdeps/ia64/fpu/s_truncf.S: New file.
4974         * sysdeps/ia64/fpu/s_truncl.S: New file.
4975         * sysdeps/ia64/fpu/w_acos.c: New file.
4976         * sysdeps/ia64/fpu/w_acosf.c: New file.
4977         * sysdeps/ia64/fpu/w_acosl.c: New file.
4978         * sysdeps/ia64/fpu/w_asin.c: New file.
4979         * sysdeps/ia64/fpu/w_asinf.c: New file.
4980         * sysdeps/ia64/fpu/w_asinl.c: New file.
4981         * sysdeps/ia64/fpu/w_atan2.c: New file.
4982         * sysdeps/ia64/fpu/w_atan2f.c: New file.
4983         * sysdeps/ia64/fpu/w_atan2l.c: New file.
4984         * sysdeps/ia64/fpu/w_cosh.c: New file.
4985         * sysdeps/ia64/fpu/w_coshf.c: New file.
4986         * sysdeps/ia64/fpu/w_coshl.c: New file.
4987         * sysdeps/ia64/fpu/w_exp.c: New file.
4988         * sysdeps/ia64/fpu/w_expf.c: New file.
4989         * sysdeps/ia64/fpu/w_fmod.c: New file.
4990         * sysdeps/ia64/fpu/w_fmodf.c: New file.
4991         * sysdeps/ia64/fpu/w_fmodl.c: New file.
4992         * sysdeps/ia64/fpu/w_hypot.c: New file.
4993         * sysdeps/ia64/fpu/w_hypotf.c: New file.
4994         * sysdeps/ia64/fpu/w_hypotl.c: New file.
4995         * sysdeps/ia64/fpu/w_log.c: New file.
4996         * sysdeps/ia64/fpu/w_log10.c: New file.
4997         * sysdeps/ia64/fpu/w_log10f.c: New file.
4998         * sysdeps/ia64/fpu/w_log10l.c: New file.
4999         * sysdeps/ia64/fpu/w_logf.c: New file.
5000         * sysdeps/ia64/fpu/w_logl.c: New file.
5001         * sysdeps/ia64/fpu/w_pow.c: New file.
5002         * sysdeps/ia64/fpu/w_powf.c: New file.
5003         * sysdeps/ia64/fpu/w_powl.c: New file.
5004         * sysdeps/ia64/fpu/w_remainder.c: New file.
5005         * sysdeps/ia64/fpu/w_remainderf.c: New file.
5006         * sysdeps/ia64/fpu/w_remainderl.c: New file.
5007         * sysdeps/ia64/fpu/w_scalb.c: New file.
5008         * sysdeps/ia64/fpu/w_scalbf.c: New file.
5009         * sysdeps/ia64/fpu/w_scalbl.c: New file.
5010         * sysdeps/ia64/fpu/w_sqrt.c: New file.
5011         * sysdeps/ia64/fpu/w_sqrtf.c: New file.
5012         * sysdeps/ia64/fpu/w_sqrtl.c: New file.
5013         * sysdeps/ia64/fpu/libm-test-ulps: Adjust for long double
5014         implementation.
5015         * sysdeps/ia64/fpu/bits/mathdef.h: Correct float_t and double_t types.
5016         Change FP_ILOGBNAN for new implementation.
5017         * Verions.def: Add 2.2.3 versions.
5019 2001-02-18  Ulrich Drepper  <drepper@redhat.com>
5021         * math/libm-test.inc (scalb_test): Require invalid exception being
5022         raised for invalid parameters.
5023         * sysdeps/i386/fpu/e_scalb.S: Raise invalid exception if necessary.
5024         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
5025         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
5027 2001-02-18  Mark Kettenis  <kettenis@gnu.org>
5029         * sysdeps/mach/getsysstats.c (__get_phys_pages): Change return
5030         value to long int.
5031         (__get_avphys_pages): Likewise.
5033 2001-02-18  Ulrich Drepper  <drepper@redhat.com>
5035         * math/libm-test.inc (pow_test): Correct expected results for x == +-1.
5036         * sysdeps/i386/fpu/e_pow.S: Handle x == +-1 correctly.
5037         * sysdeps/i386/fpu/e_powf.S: Likewise.
5038         * sysdeps/i386/fpu/e_powl.S: Likewise.
5040         * sysdeps/i386/fpu/bits/mathinline.h: Remove pow inline code.
5042 2001-02-17  Ulrich Drepper  <drepper@redhat.com>
5044         * math/Makefile (libm-calls): It's e_exp2 not s_exp2.
5046         * sysdeps/generic/s_exp2l.c: Renamed to...
5047         * sysdeps/generic/e_exp2l.c: ...this.   New file.
5048         * sysdeps/i386/fpu/s_exp2.S: Renamed to...
5049         * sysdeps/i386/fpu/e_exp2.S: ...this.   New file.
5050         * sysdeps/i386/fpu/s_exp2f.S: Renamed to...
5051         * sysdeps/i386/fpu/e_exp2f.S: ...this.   New file.
5052         * sysdeps/i386/fpu/s_exp2l.S: Renamed to...
5053         * sysdeps/i386/fpu/e_exp2l.S: ...this.   New file.
5054         * sysdeps/ieee754/flt-32/s_exp2f.c: Renamed to...
5055         * sysdeps/ieee754/flt-32/e_exp2f.c: ...this.   New file.
5056         * sysdeps/ieee754/dbl-64/s_exp2.c: Renamed to...
5057         * sysdeps/ieee754/dbl-64/e_exp2.c: ...this.   New file.
5058         * sysdeps/m68k/fpu/s_exp2.c: Renamed to...
5059         * sysdeps/m68k/fpu/e_exp2.c: ...this.   New file.
5060         * sysdeps/m68k/fpu/s_exp2f.c: Renamed to...
5061         * sysdeps/m68k/fpu/e_exp2f.c: ...this.   New file.
5062         * sysdeps/m68k/fpu/s_exp2l.c: Renamed to...
5063         * sysdeps/m68k/fpu/e_exp2l.c: ...this.   New file.
5065 2001-02-17  Andreas Jaeger  <aj@suse.de>
5067         * configure.in: Allow gcc 3.
5069 2001-02-16  Ulrich Drepper  <drepper@redhat.com>
5071         * math/w_acos.c: Move to ...
5072         * sysdeps/generic/w_acos.c: ...here.  New file.
5073         * math/w_acosf.c: Move to ...
5074         * sysdeps/generic/w_acosf.c: ...here.  New file.
5075         * math/w_acosh.c: Move to ...
5076         * sysdeps/generic/w_acosh.c: ...here.  New file.
5077         * math/w_acoshf.c: Move to ...
5078         * sysdeps/generic/w_acoshf.c: ...here.  New file.
5079         * math/w_acoshl.c: Move to ...
5080         * sysdeps/generic/w_acoshl.c: ...here.  New file.
5081         * math/w_acosl.c: Move to ...
5082         * sysdeps/generic/w_acosl.c: ...here.  New file.
5083         * math/w_asin.c: Move to ...
5084         * sysdeps/generic/w_asin.c: ...here.  New file.
5085         * math/w_asinf.c: Move to ...
5086         * sysdeps/generic/w_asinf.c: ...here.  New file.
5087         * math/w_asinl.c: Move to ...
5088         * sysdeps/generic/w_asinl.c: ...here.  New file.
5089         * math/w_atan2.c: Move to ...
5090         * sysdeps/generic/w_atan2.c: ...here.  New file.
5091         * math/w_atan2f.c: Move to ...
5092         * sysdeps/generic/w_atan2f.c: ...here.  New file.
5093         * math/w_atan2l.c: Move to ...
5094         * sysdeps/generic/w_atan2l.c: ...here.  New file.
5095         * math/w_atanh.c: Move to ...
5096         * sysdeps/generic/w_atanh.c: ...here.  New file.
5097         * math/w_atanhf.c: Move to ...
5098         * sysdeps/generic/w_atanhf.c: ...here.  New file.
5099         * math/w_atanhl.c: Move to ...
5100         * sysdeps/generic/w_atanhl.c: ...here.  New file.
5101         * math/w_cosh.c: Move to ...
5102         * sysdeps/generic/w_cosh.c: ...here.  New file.
5103         * math/w_coshf.c: Move to ...
5104         * sysdeps/generic/w_coshf.c: ...here.  New file.
5105         * math/w_coshl.c: Move to ...
5106         * sysdeps/generic/w_coshl.c: ...here.  New file.
5107         * math/w_drem.c: Move to ...
5108         * sysdeps/generic/w_drem.c: ...here.  New file.
5109         * math/w_dremf.c: Move to ...
5110         * sysdeps/generic/w_dremf.c: ...here.  New file.
5111         * math/w_dreml.c: Move to ...
5112         * sysdeps/generic/w_dreml.c: ...here.  New file.
5113         * math/w_exp10.c: Move to ...
5114         * sysdeps/generic/w_exp10.c: ...here.  New file.
5115         * math/w_exp10f.c: Move to ...
5116         * sysdeps/generic/w_exp10f.c: ...here.  New file.
5117         * math/w_exp10l.c: Move to ...
5118         * sysdeps/generic/w_exp10l.c: ...here.  New file.
5119         * math/w_exp2.c: Move to ...
5120         * sysdeps/generic/w_exp2.c: ...here.  New file.
5121         * math/w_exp2f.c: Move to ...
5122         * sysdeps/generic/w_exp2f.c: ...here.  New file.
5123         * math/w_exp2l.c: Move to ...
5124         * sysdeps/generic/w_exp2l.c: ...here.  New file.
5125         * math/w_fmod.c: Move to ...
5126         * sysdeps/generic/w_fmod.c: ...here.  New file.
5127         * math/w_fmodf.c: Move to ...
5128         * sysdeps/generic/w_fmodf.c: ...here.  New file.
5129         * math/w_fmodl.c: Move to ...
5130         * sysdeps/generic/w_fmodl.c: ...here.  New file.
5131         * math/w_hypot.c: Move to ...
5132         * sysdeps/generic/w_hypot.c: ...here.  New file.
5133         * math/w_hypotf.c: Move to ...
5134         * sysdeps/generic/w_hypotf.c: ...here.  New file.
5135         * math/w_hypotl.c: Move to ...
5136         * sysdeps/generic/w_hypotl.c: ...here.  New file.
5137         * math/w_j0.c: Move to ...
5138         * sysdeps/generic/w_j0.c: ...here.  New file.
5139         * math/w_j0f.c: Move to ...
5140         * sysdeps/generic/w_j0f.c: ...here.  New file.
5141         * math/w_j0l.c: Move to ...
5142         * sysdeps/generic/w_j0l.c: ...here.  New file.
5143         * math/w_j1.c: Move to ...
5144         * sysdeps/generic/w_j1.c: ...here.  New file.
5145         * math/w_j1f.c: Move to ...
5146         * sysdeps/generic/w_j1f.c: ...here.  New file.
5147         * math/w_j1l.c: Move to ...
5148         * sysdeps/generic/w_j1l.c: ...here.  New file.
5149         * math/w_jn.c: Move to ...
5150         * sysdeps/generic/w_jn.c: ...here.  New file.
5151         * math/w_jnf.c: Move to ...
5152         * sysdeps/generic/w_jnf.c: ...here.  New file.
5153         * math/w_jnl.c: Move to ...
5154         * sysdeps/generic/w_jnl.c: ...here.  New file.
5155         * math/w_lgamma.c: Move to ...
5156         * sysdeps/generic/w_lgamma.c: ...here.  New file.
5157         * math/w_lgammaf.c: Move to ...
5158         * sysdeps/generic/w_lgammaf.c: ...here.  New file.
5159         * math/w_lgammaf_r.c: Move to ...
5160         * sysdeps/generic/w_lgammaf_r.c: ...here.  New file.
5161         * math/w_lgammal.c: Move to ...
5162         * sysdeps/generic/w_lgammal.c: ...here.  New file.
5163         * math/w_lgammal_r.c: Move to ...
5164         * sysdeps/generic/w_lgammal_r.c: ...here.  New file.
5165         * math/w_lgamma_r.c: Move to ...
5166         * sysdeps/generic/w_lgamma_r.c: ...here.  New file.
5167         * math/w_log10.c: Move to ...
5168         * sysdeps/generic/w_log10.c: ...here.  New file.
5169         * math/w_log10f.c: Move to ...
5170         * sysdeps/generic/w_log10f.c: ...here.  New file.
5171         * math/w_log10l.c: Move to ...
5172         * sysdeps/generic/w_log10l.c: ...here.  New file.
5173         * math/w_log.c: Move to ...
5174         * sysdeps/generic/w_log.c: ...here.  New file.
5175         * math/w_logf.c: Move to ...
5176         * sysdeps/generic/w_logf.c: ...here.  New file.
5177         * math/w_logl.c: Move to ...
5178         * sysdeps/generic/w_logl.c: ...here.  New file.
5179         * math/w_pow.c: Move to ...
5180         * sysdeps/generic/w_pow.c: ...here.  New file.
5181         * math/w_powf.c: Move to ...
5182         * sysdeps/generic/w_powf.c: ...here.  New file.
5183         * math/w_powl.c: Move to ...
5184         * sysdeps/generic/w_powl.c: ...here.  New file.
5185         * math/w_remainder.c: Move to ...
5186         * sysdeps/generic/w_remainder.c: ...here.  New file.
5187         * math/w_remainderf.c: Move to ...
5188         * sysdeps/generic/w_remainderf.c: ...here.  New file.
5189         * math/w_remainderl.c: Move to ...
5190         * sysdeps/generic/w_remainderl.c: ...here.  New file.
5191         * math/w_scalb.c: Move to ...
5192         * sysdeps/generic/w_scalb.c: ...here.  New file.
5193         * math/w_scalbf.c: Move to ...
5194         * sysdeps/generic/w_scalbf.c: ...here.  New file.
5195         * math/w_scalbl.c: Move to ...
5196         * sysdeps/generic/w_scalbl.c: ...here.  New file.
5197         * math/w_sinh.c: Move to ...
5198         * sysdeps/generic/w_sinh.c: ...here.  New file.
5199         * math/w_sinhf.c: Move to ...
5200         * sysdeps/generic/w_sinhf.c: ...here.  New file.
5201         * math/w_sinhl.c: Move to ...
5202         * sysdeps/generic/w_sinhl.c: ...here.  New file.
5203         * math/w_sqrtl.c: Move to ...
5204         * sysdeps/generic/w_sqrtl.c: ...here.  New file.
5205         * math/w_tgamma.c: Move to ...
5206         * sysdeps/generic/w_tgamma.c: ...here.  New file.
5207         * math/w_tgammaf.c: Move to ...
5208         * sysdeps/generic/w_tgammaf.c: ...here.  New file.
5209         * math/w_tgammal.c: Move to ...
5210         * sysdeps/generic/w_tgammal.c: ...here.  New file.
5212         * locale/programs/ld-address.c (address_finish): Add 'S' to allow
5213         formats for postal_fmt.
5215 2001-02-16  Jakub Jelinek  <jakub@redhat.com>
5217         * sysdeps/unix/sysv/linux/alpha/syscalls.list (ftruncate): Add
5218         __ftruncate64 alias.
5219         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (ftruncate):
5220         Likewise.
5222 2001-02-15  David Mosberger  <davidm@hpl.hp.com>
5224         * sysdeps/unix/sysv/linux/ia64/__longjmp.S (__longjmp): No need to
5225         do "loadrs".  Writing to bspstore already takes care of
5226         invalidating the "clean" partition.
5228 2001-02-16  Andreas Schwab  <schwab@suse.de>
5230         * sysdeps/m68k/fpu/s_nextafterl.c: New file.
5231         * sysdeps/m68k/fpu/s_fpclassifyl.c: New file.
5233 2001-02-15  Jakub Jelinek  <jakub@redhat.com>
5235         * posix/regex.c (init_syntax_once): Add prototype.
5236         (TRANSLATE): If MBS_SUPPORT, translate all characters up to '\xff'.
5237         (re_search_2): Avoid warning.
5238         (count_mbs_length): Add prototype.
5239         * posix/tst-regex3.c: New file.
5240         * posix/Makefile (tests): Add bug-regex3.
5242 2001-02-15  Ulrich Drepper  <drepper@redhat.com>
5244         * stdio-common/Makefile (tests): Add tst-gets.
5245         * stdio-common/tst-gets.c: New file.
5246         * stdio-common/tst-gets.input: New file.
5248         * elf/elf.h (DT_CHECKSUM): Define.
5250         * sysdeps/generic/strtoll.c: Don't export __strto*_internal as
5251         default symbol.
5252         * sysdeps/generic/strtoull.c: Likewise.
5254 2001-02-14  Wolfram Gloger  <wg@malloc.de>
5256         * malloc/malloc.c (new_heap): When allocating large chunk aligned
5257         to HEAP_MAX_SIZE, prefer one with lower address, to avoid `holes'
5258         between the heaps.
5260 2001-02-14  Ulrich Drepper  <drepper@redhat.com>
5262         * math/libm-test.inc (j0_test): Check whether sincos is available.
5263         (j1_test): Likewise.
5264         (jn_test): Likewise.
5265         (y0_test): Likewise.
5266         (y1_test): Likewise.
5267         (yn_test): Likewise.
5269         * posix/tst-gnuglob.c: Make a few entries DT_UNKNOWN and teach
5270         fake filesystem routines to handle this.
5272         * time/sys/time.h: Make settimeofday and adjtime available if
5273         _BSD_SOURCE.
5275         * time/sys/time.h: Make timer* macros available for BSD.
5277         * iconvdata/gb18030.c: Update for Dec 2000 re-release of GB18030.
5278         Patch by Yong Li <rigel863@yahoo.com>.
5280         * sysdeps/generic/glob.c (CONVERT_DIRENT_DIRENT64): Fix copying of
5281         name.
5283         * posix/Makefile (tests): Add tst-gnuglob.
5284         * posix/tst-gnuglob.c: New file.
5286 2001-02-13  H.J. Lu  <hjl@gnu.org>
5288         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add __ftruncate64.
5290 2001-02-13  Ulrich Drepper  <drepper@redhat.com>
5292         * locale/programs/ld-paper.c (paper_output): Pretty printing.
5294         * iconvdata/Makefile (modules): Add GBBIG5.
5295         (distribute): Add gbbig5.c.
5296         * iconvdata/gconv-modules: Add entries for GBBIG5 module.
5298         * iconvdata/gbbig5.c: New file.
5299         Contributed by Yong Li <rigel863@yahoo.com>.
5301 2001-02-13  Philip Blundell  <pb@futuretv.com>
5303         * manual/crypt.texi: Remove outdated references to crypt add-on.
5305         * manual/creature.texi: Improve wording slightly.
5307 2001-02-13  Ulrich Drepper  <drepper@redhat.com>
5309         * io/ftw.c: Always use readdir64.
5310         * io/ftw64.c: Likewise.
5311         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
5312         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
5313         * sysdeps/generic/glob.c: Likewise.  Convert results of gl_readdir
5314         callback to dirent.  Still allow compiling outside glibc.
5315         * sysdeps/gnu/glob64.c: Define COMPILE_GLOB64.
5316         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
5318         * malloc/mtrace.c: Use fopen64.
5319         * posix/spawni.c: Use __open64.
5320         * sysdeps/unix/opendir.c: Likewise.
5321         * sysdeps/unix/sysv/linux/gethostid.c: Likewise.
5323         * sysdeps/generic/ftruncate64.c: Define __ftruncate64 and make old
5324         name a weak alias.
5325         * sysdeps/unix/sysv/aix/ftruncate64.c: Likewise.
5326         * sysdeps/unix/sysv/linux/ftruncate64.c: Likewise.
5327         * sysdeps/unix/sysv/linux/mips/ftruncate64.c: Likewise.
5328         * sysdeps/unix/sysv/linux/powerpc/ftruncate64.c: Likewise.
5330         * resolv/res_data.c: Add cast to avoid warning.
5332         * include/unistd.h: Declare __ftruncate64.
5334         * sysdeps/generic/utmp_file.c: Use LFS functions and types.
5336         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use __lseek64
5337         instead of __lseek.
5339 2001-02-13  Andreas Jaeger  <aj@suse.de>
5341         * login/getutent_r.c: Include <stdlib.h> for NULL.
5342         * login/getutid_r.c: Likewise.
5344 2001-02-12  Ulrich Drepper  <drepper@redhat.com>
5346         * sysdeps/dbl-64/e_j0.c: Little optimization, use sincos.
5347         * sysdeps/dbl-64/e_j1.c: Likewise.
5348         * sysdeps/dbl-64/e_jn.c: Likewise.
5349         * sysdeps/flt-32/e_j0f.c: Likewise.
5350         * sysdeps/flt-32/e_j1f.c: Likewise.
5351         * sysdeps/ldbl-96/e_j0l.c: Likewise.
5353 2000-12-02  H.J. Lu  <hjl@gnu.org>
5355         * resolv/res_libc.c (res_init): Don't make it default.
5357 2001-02-12  Ulrich Drepper  <drepper@redhat.com>
5359         * manual/debug.texi: Improved the wording.
5360         Patch by Philip Blundell <pb@futuretv.com>.
5362 2001-02-12  Andreas Jaeger  <aj@suse.de>
5364         * posix/Makefile (tests): Don't run bug-regex2 when
5365         cross-compiling.
5367         * libio/Makefile (tests): Don't run test-freopen when
5368         cross-compiling.
5370         * manual/stdio.texi (Streams and I18N): Fix typos.
5372 2001-02-12  Ulrich Drepper  <drepper@redhat.com>
5374         * sysdeps/i386/fpu/libm-test-ulps: Adjust for errors in y0l.
5376         * math/libm-test.inc (j0_test): Make expected results long double
5377         constants.
5378         (y0_test): Likewise.
5380         * sysdeps/ieee754/ldbl-96/e_j0l.c: New file.
5381         Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>.
5383 2001-02-11  Jakub Jelinek  <jakub@redhat.com>
5385         * sysdeps/generic/strtoll.c (__strtoq_internal): Ressurect alias
5386         which was exported from libc.
5387         * sysdeps/generic/strtoull.c (__strtouq_internal): Likewise.
5389 2001-02-12  Andreas Jaeger  <aj@suse.de>
5391         * manual/arith.texi (Parsing of Integers): Fix some wordings.
5393 2001-02-11  Ulrich Drepper  <drepper@redhat.com>
5395         * sysdeps/generic/getsysstat.c: Change return value of get_phys_pages
5396         and get_avphys_page to long int.
5397         * sysdeps/unix/sysv/linux/getsysstat.c: Likewise.
5398         * include/sys/sysinfo.h: Likewise.
5399         * sysdeps/generic/sys/sysinfo.h: Likewise.
5400         * sysdeps/unix/sysv/linux/sys/sysinfo.h: Likewise.
5402         * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Fail if we
5403         cannot return as many values as the user asked for.
5405 2001-02-11  Andreas Jaeger  <aj@suse.de>
5407         * manual/resource.texi (Memory Resources): Fix typo.
5409         * libio/Makefile ($(objpfx)test-freopen.out): Pass
5410         run-program-prefix.
5412         * libio/test-freopen.sh: Use run_program_prefix.
5414 2001-02-10  Andreas Jaeger  <aj@suse.de>
5416         * stdlib/Makefile (tests): Don't run tst-fmtmsg when
5417         cross-compiling.
5418         ($(objpfx)tst-fmtmsg.out): Pass run-program-prefix.
5420         * stdlib/tst-fmtmsg.sh (test): Use run_program_prefix for static
5421         only builds.
5423         * elf/Makefile (tests): Only run tst-pathopt with shared libs.
5425         * posix/Makefile: Fix typo, it's build-static-nss.
5427         * iconv/Makefile (extra-objs): New.
5429 2001-02-10  Mark Kettenis  <kettenis@gnu.org>
5431         * sysdeps/unix/stime.c: Include <time.h>.
5433         * sysdeps/mach/hurd/setitimer.c: Include <time.h>.
5435 2001-02-10  Andreas Jaeger  <aj@suse.de>
5437         * manual/string.texi (Search Functions): Fix typo.
5439 2001-02-10  Mark Kettenis  <kettenis@gnu.org>
5441         * sysdeps/unix/bsd/times.c: Reorder includes and add <time.h>.
5442         (timeval_to_clock_t): Add clk_tck argument and use that instead of
5443         CLK_TCK.
5444         (__times): Use __getclktck to get the number of clock ticks per
5445         second and use its return value instead of CLK_TCK.
5447 2001-02-10  Mark Kettenis  <kettenis@gnu.org>
5449         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h (_HAVE_SA_LEN): Define.
5451 2001-02-10  Mark Kettenis  <kettenis@gnu.org>
5453         * sysdeps/mach/gettimeofday.c: Include <stddef.h>.
5455 2001-02-10  Andreas Jaeger  <aj@suse.de>
5457         * wctype/wcfuncs.c (func): Add prototype declarations to avoid
5458         warning.
5460 2001-02-09  Ulrich Drepper  <drepper@redhat.com>
5462         * posix/Makefile: Add rules to build and run bug-regex2.
5463         * posix/bug-regex2.c: New file.
5465 2001-02-10  Jakub Jelinek  <jakub@redhat.com>
5467         * posix/regex.c (convert_mbs_to_wcs): Change is_binary to char *.
5468         (regex_compile): Likewise.
5469         (FREE_VARIABLES): Don't free is_binary1 and is_binary2.
5470         (re_match_2_internal): Use just is_binary instead of two variables.
5471         Use REGEX_TALLOC to allocate it and FREE_VAR to free on failure.
5473 2001-02-09  Ulrich Drepper  <drepper@redhat.com>
5475         * version.h (VERSION): Bump to 2.2.2.
5477         * iconv/Makefile (distribute): Add iconv_charmap.c and
5478         dummy-repertoire.c.
5479         * elf/Makefile (distribute): Add firstobj.c.
5480         * Makefile (distribute): Add include/pthread.h.
5482         * configure.in: Require makeinfo version 4.
5484         * libio/tst_wscanf.c (main): Add cast to avoid warning.
5485         * libio/tst_swscanf.c (main): Likewise..
5487 2001-02-09  Jakub Jelinek  <jakub@redhat.com>
5489         * sysdeps/generic/setenv.c (unsetenv): Remove const from len.
5490         * sysdeps/sparc/fpu/bits/mathinline.h (sqrt, fdim): Don't define if
5491         __NO_MATH_INLINES.
5492         * sysdeps/i386/dl-machine.h (elf_machine_rel): Only declare refsym
5493         if not RTLD_BOOTSTRAP.
5494         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
5495         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
5497 2001-02-09  Ulrich Drepper  <drepper@redhat.com>
5499         * locale/programs/linereader.c (get_ident): Stop loop if EOF.  Use
5500         lr_ungetc to push back last read character.
5501         * locale/programs/linereader.h (lr_ungetc): Don't push back is
5502         character is EOF.
5503         (lr_ignore_rest): Don't warn about garbage if it is really the end
5504         of the file.
5506         * manual/Makefile: Use ifnottext and not ifinfo to protect Top node
5507         definition.
5509 2001-02-08  Ulrich Drepper  <drepper@redhat.com>
5511         * Makerules (build-shlib): Work around different order of
5512         processing of -B option in different gcc versions.
5514         * posix/regex.c: Fix alignment problem.
5515         Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
5517         * sysdeps/alpha/strrchr.S: Little optimization.
5518         Patch by Richard Henderson <rth@redhat.com>.
5520         * sysdeps/alpha/alphaev67/strrchr.S: New file.
5521         Contributed by Rick Gorton <rick.gorton@alpha-processor.com>.
5523 2001-02-08  kaz Kojima  <kkojima@rr.iij4u.or.jp>
5525         * sysdeps/sh/sh3/setjmp.S (__sigsetjmp): Correct function name
5526         in the assembler end directive.
5528 2001-02-08  Andreas Jaeger  <aj@suse.de>
5530         * manual/stdio.texi (Closing Streams): Fix typos.
5532 2001-02-07  Ulrich Drepper  <drepper@redhat.com>
5534         * sysdeps/alpha/alphaev67/strncat.S: Align last write address.
5535         Patch by Richard Henderson <rth@redhat.com>.
5536         Reported by Claus-Justus Heine <heine@instmath.rwth-aachen.de>.
5538         * stdlib/strfmon.c [USE_IN_LIBIO]: Define lock variable and store
5539         pointer in FILE structure before calling _IO_init.
5540         * stdlib/Makefile: Add -D_IO_MTSAFE_IO to CFLAGS for strfmon and
5541         strfmon_l if necessary.
5542         Reported by Jury Gerold <gjury@grips.com>.
5544         * sysdeps/gnu/netinet/tcp.h: Correct values of TCP_ macros.
5545         Patch by Pekka.Pietikainen@cern.ch.
5547         * posix/regex.c: Correct several problems with 64-bit architectures
5548         introduced in the MBS changes.
5549         Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
5551 2001-02-07  Jakub Jelinek  <jakub@redhat.com>
5553         * math/tgmath.h: Only add l suffixes if __NO_LONG_DOUBLE_MATH is
5554         not defined.
5555         * sysdeps/alpha/fpu/bits/mathinline.h: Honour __NO_MATH_INLINES.
5557 2001-02-07  Andreas Jaeger  <aj@suse.de>
5559         * manual/install.texi (Tools for Compilation): Fix typo.
5560         Reported by Pavel Machek <pavel@bug.ucw.cz>.
5562 2001-02-07  Ulrich Drepper  <drepper@redhat.com>
5564         * stdlib/strtod.c: Never stop prematurely reading digits before the
5565         decimal point is found.  Compute exponent limit for negative exponents
5566         correctly.  For numbers ending in all zeros eat the zeros even before
5567         the decimal point if the exponent is negative [PR libc/2072].
5568         * stdlib/Makefile (tests): Add bug-strtod.
5569         * stdlib/bug-strtod.c: New file.
5571 2001-02-07  Andreas Jaeger  <aj@suse.de>
5573         * posix/bug-regex1.c: Include <wchar.h> for fwide.
5575 2001-02-06  Ulrich Drepper  <drepper@redhat.com>
5577         * posix/regex.c (regex_compile): Don't store pointer in wchar_t array.
5578         Store index.
5579         (compile_range): Handle index being passed, not pointer.
5580         Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
5582         * posix/regex.c: Fix a cast in the code for bracket handling which
5583         caused 8-bit uncleanliness.
5584         Patch by Michal Jaegermann <michal@ellpspace.math.ualberta.ca>.
5586         * posix/Makefile (tests): Add bug-regex1.
5587         * posix/bug-regex1.c: New file.
5588         Contributed by Jim Meyering <jim@meyering.net>.
5590         * posix/regex.c: Many cleanups for incorrect format strings.
5592 2001-02-06  Andreas Jaeger  <aj@suse.de>
5594         * time/time.h (CLK_TCK): Check for !__STRICT_ANSI.
5596 2001-02-06  Ulrich Drepper  <drepper@redhat.com>
5598         * locale/programs/locale.c (write_locales): Use scandir to read
5599         directory so that the entries are sorted.
5601 2001-02-06  Andreas Jaeger  <aj@suse.de>
5603         * include/pthread.h: New file.
5605         * wctype/wctype.h: Move internal interfaces from here to...
5606         * include/wctype.h: ...here.
5608         * wcsmbs/wchar.h: Move __wcslen from here to...
5609         * include/wchar.h: ...here.
5611         * posix/sys/wait.h: Move __wait from here to...
5612         * include/sys/wait.h: ...here.
5614         * string/string.h: Move __ffs and __strerror_r from here to...
5615         * include/string.h: ...here.
5617         * stdlib/stdlib.h: Move __on_exit from here to...
5618         * include/stdlib.h: ...here.
5620         * libio/stdio.h: Move __vsnprintf from here to...
5621         * include/stdio.h: ...here.
5623 2001-02-06  Andreas Schwab  <schwab@suse.de>
5625         * sysdeps/unix/sysv/linux/ia64/ioperm.c: Don't include kernel
5626         headers.
5628         * timezone/Makefile: Don't assume that $(inst_zonedir) is a subdir
5629         of $(inst_datadir).
5631 2001-02-06  Ulrich Drepper  <drepper@redhat.com>
5633         * iconvdata/Makefile: Add dependency for bug-iconv2.out.
5635 2001-02-06  Andreas Jaeger  <aj@suse.de>
5637         * elf/firstobj.c: Add prototype.
5639         * posix/regex.c (convert_mbs_to_wcs): Make static, add prototype
5640         (truncate_wchar): Likewise.
5642 2001-02-06  Ulrich Drepper  <drepper@redhat.com>
5644         * locale/programs/locale.c: Implement --verbose option for -a
5645         which prints detailed information about the locales.
5647 2001-02-05  Ulrich Drepper  <drepper@redhat.com>
5649         * sunrpc/xdr_rec.c (set_input_fragment): Change type of header
5650         variable to uint32_t.
5651         Reported by Ulrich Weigand <weigand@immd1.informatik.uni-erlangen.de>.
5653 2001-02-04  Bruno Haible  <haible@clisp.cons.org>
5655         * locale/C-translit.h.in: Add transliterations for CJK units of
5656         measurement.
5658 2001-02-05  Ulrich Drepper  <drepper@redhat.com>
5660         * elf/cache.c (print_entry): Use PRIx64 instead of Lx in printf
5661         string.  Include <inttypes.h> instead of <stdint.h>.
5663         * localedata/Makefile (tests): Add bug-iconv-trans.
5664         Define bug-iconv-trans-ENV.
5665         * localedata/bug-iconv-trans.c: New file.
5667 2001-02-04  Bruno Haible  <haible@clisp.cons.org>
5669         * iconv/gconv_trans.c (__gconv_transliterate): Use a temporary output
5670         pointer, to avoid accumulating output from incomplete (unsuccessful)
5671         transliteration attempts.
5673 2001-02-05  Ulrich Drepper  <drepper@redhat.com>
5675         * elf/ldconfig.c (search_dir): Use PRIx64 instead of Lx in printf
5676         string.  Include <inttypes.h> instead of <stdint.h>.
5678         * configure.in: Add check for bison.
5679         * config.make.in: Define BISON variable.
5680         * intl/Makefile: Use BISON instead of YACC when generating plural.c.
5681         Rename YFLAGS to BISONFLAGS.
5683 2001-02-05  Andreas Jaeger  <aj@suse.de>
5685         * io/test-lfs.c (do_test): Test lseek64 return value, call
5686         test_ftello.
5687         (test_ftello): New function to test ftello64 and fseeko64.
5689         * signal/signal.h: Move __sigaction from here to...
5690         * include/signal.h: ...here.
5692         * io/fcntl.h: Move __fcntl and __open to...
5693         * include/fcntl.h: ...here.
5695 2001-02-04  Philip Blundell  <philb@gnu.org>
5697         * configure.in: Distinguish ARM from Thumb.
5699 2001-02-04  Philip Blundell  <philb@gnu.org>
5701         * sysdeps/arm/dl-machine.h (elf_machine_rel): Correct handling of
5702         PC24 relocs with negative value.
5704 2001-02-04  Ulrich Drepper  <drepper@redhat.com>
5706         * iconv/Makefile (iconv_prog-modules): Define.  Add vpath to find
5707         files in locale/programs.  Add CFLAGS definition to allow compiling
5708         localedef files.
5709         * iconv/dummy-repertoire.c: New file.
5710         * iconv/iconv_charmap.c: New file.
5711         * iconv/iconv_prog.h: New file.
5712         * iconv/iconv_prog.c: Make verbose and omit_invalid global.
5713         (main): If parameter for -f and -t contain slashes try first to resolve
5714         the strings as filenames of charmap files.  Use them for conversion
5715         in this case.
5716         * iconvdata/run-iconv-test.sh: If charmaps exist also run tests with
5717         iconv getting charmap names as parameters.
5718         * locale/programs/linereader.c (lr_token): Take extra parameters
5719         verbose and pass it to get_string.
5720         (get_string): Take extra parameters verbose.
5721         * locale/programs/charmap.c (parse_charmap): Take extra parameters
5722         verbose and be_quiet.  Change all callers of lr_token and
5723         parse_charmap.
5724         * locale/programs/charmap.h: Likewise.
5725         * locale/programs/ld-address.c: Likewise.
5726         * locale/programs/ld-collate.c: Likewise.
5727         * locale/programs/ld-ctype.c: Likewise.
5728         * locale/programs/ld-identification.c: Likewise.
5729         * locale/programs/ld-measurement.c: Likewise.
5730         * locale/programs/ld-messages.c: Likewise.
5731         * locale/programs/ld-monetary.c: Likewise.
5732         * locale/programs/ld-name.c: Likewise.
5733         * locale/programs/ld-numeric.c: Likewise.
5734         * locale/programs/ld-paper.c: Likewise.
5735         * locale/programs/ld-telephone.c: Likewise.
5736         * locale/programs/ld-time.c: Likewise.
5737         * locale/programs/linereader.c: Likewise.
5738         * locale/programs/linereader.h: Likewise.
5739         * locale/programs/localedef.c: Likewise.
5740         * locale/programs/locfile.c: Likewise.
5741         * locale/programs/locfile.h: Likewise.
5742         * locale/programs/repertoire.c: Likewise.
5744 2001-02-03  Ulrich Drepper  <drepper@redhat.com>
5746         * iconv/iconv_prog.c (main): If output file name is "-" write to
5747         stdout.
5748         (main): If -f or -t argument is missing use charset of the current
5749         locale.
5751 2001-02-03  Andreas Jaeger  <aj@suse.de>
5753         * sysdeps/i386/elf/start.S (_start): Align stack to 16-byte
5754         boundary for SSE/SSE-2 alignment.
5756         * posix/Makefile ($(objpfx)annexc.out): Also pass sysincludes to
5757         annexc.
5759 2001-02-03  Ulrich Drepper  <drepper@redhat.com>
5761         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: File was using crlf.
5762         Remove comma at end of enum.
5764         * elf/dl-init.c: Add a few __builtin_expect.
5766         * hesiod/hesiod.c: Remove unnecessary code.  Remove all uses of strcat.
5768 2001-02-02  Ulrich Drepper  <drepper@redhat.com>
5770         * hesiod/hesiod.c (hesiod_resolve): Also search HS records if
5771         errno is ECONNREFUSED.
5773         * posix/Makefile: Define MBS_SUPPORT for regex.c.
5774         * posix/regex.c: Implement multibyte character handling.
5775         Patch by Isamu Hasegawa <isamu@yamato.ibm.co.jp>.
5777         * string/tst-svc.input: Add two more test cases.
5778         * string/tst-svc.expect: Modify to reflect new test cases.
5780 2001-02-01  Jakub Jelinek  <jakub@redhat.com>
5782         * sysdeps/posix/getaddrinfo.c (gaih_local, gaih_inet): Replace all
5783         tp->name tests with tp->name[0] tests.
5785 2001-01-29  Ben Collins  <bcollins@debian.org>
5787         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r):
5788         Fix check for name == NULL.
5790 2001-02-01  Ulrich Drepper  <drepper@redhat.com>
5792         * elf/Makefile: Add rules to build and run initfirst test.
5793         * elf/initfirst.c: New file.
5794         * elf/firstobj.c: New file.
5796         * Makerules (build-shlib): Add $(extra-B-$(@F:lib%.so=%).so).
5797         * configure.in: Test for -z initfirst linker option.
5798         * config.make.in: Add have-z-initfirst.
5799         * elf/dl-init.c (_dl_init): Split out actual initialization code in
5800         new function call_init.  If _dl_initfirst is non-NULL initialize first.
5801         * elf/dl-load.c (_dl_map_from_fd): If DF_1_INITFIRST flag is set
5802         remember object in _dl_initfirst.
5803         * elf/soinit.c: Remove special support for calling
5804         __pthread_initialize_minimal.
5806         * conform/conformtest.pl: Add missing $prepend in type test.
5808 2001-01-31  Ulrich Drepper  <drepper@redhat.com>
5810         * elf/elf.h (SHT_CHECKSUM): New definition.
5812         * posix/fnmatch_loop.c: Remove incorrect reverse condition in
5813         [. .] matching.  Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
5814         * posix/tst-fnmatch.input: Add tests for [. .] in locales.
5816 2001-01-31  Mark Kettenis  <kettenis@gnu.org>
5818         * misc/sys/select.h: Include <bits/time.h> instead of <sys/time.h>
5819         to get definition of `struct timeval'.
5821 2001-01-31  Ulrich Drepper  <drepper@redhat.com>
5823         * posix/tst-fnmatch.input: Add test cases for de_DE.UTF-8 locale.
5824         * posix/fnmatch_loop.c: Fix handling of [= =] for multibyte charsets.
5826 2001-01-30  Ulrich Drepper  <drepper@redhat.com>
5828         * iconv/gconv_open.c (__gconv_open): Set conv_flags if IGNORE is
5829         seen, not flags.
5831         * nis/nis_findserv.c: Include <time.h>.
5833 2001-01-30  Yong Li  <yong.li@asu.edu>
5835         * iconv/iconv_prog.c (main): Correct error handling method name.
5837 2001-01-29  Ben Collins  <bcollins@debian.org>
5839         * sysdeps/sparc/fpu/fraiseexcpt.c: Include <float.h>.
5840         * sysdeps/hppa/fpu/fraiseexcpt.c: Likewise.
5841         * sysdeps/m68k/fpu/fraiseexcpt.c: Likewise.
5842         * sysdeps/s390/fpu/fraiseexcpt.c: Likewise.
5844 2001-01-30  Ulrich Drepper  <drepper@redhat.com>
5846         * locale/programs/ld-measurement.c (measurement_finish): Fix a typo.
5847         Patch by Marko Myllynen <myllynen@lut.fi>.
5849         * string/bits/string2.h (__strpbrk_c2): Correct parameter types
5850         (int instead of char).
5851         (__strpbrk_c3): Likewise.
5852         Reported by GOTO Masanori <gotom@debian.or.jp>.
5854         * sysdeps/generic/bits/sockaddr.h: Remove SA_LEN macro.
5855         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Likewise.
5856         * include/sys/socket.h: Add SA_LEN here for internal use.
5857         Reported by Arkadiusz Miskiewicz <misiek@pld.ORG.PL>.
5859 2001-01-29  Ulrich Drepper  <drepper@redhat.com>
5861         * malloc/Makefile: Don't build memusagestat if cross-compiling.
5863         * sysdeps/generic/dl-sysdep.c (set_seen): Fix typo.
5865         * math/libm-test.inc (rint_test): Add a few more tests for round
5866         to even rounding.
5868 2001-01-28  Ulrich Drepper  <drepper@redhat.com>
5870         * conform/data/pthread.h-data: Correct return type of pthread_exit.
5872         * conform/conformtest.pl: Add -fno-builtin to CFLAGS.
5874         * conform/data/stdlib.h-data: Add _Exit.
5876         * inet/arpa/inet.h: Don't include <sys/types.h>.  Define socklen_t
5877         if not already happened.
5878         * inet/netinet/in.h: Don't include <sys/types.h>, use <bits/types.h>.
5879         Don't include <limits.h> and <bits/sockaddr.h>.
5881         * conform/data/netinet/in.h-data: Allow all of <inttypes.h>.
5883         * conform/data/spawn.h-data: Allow all of <sched.h>.
5885         * sysdeps/ia64/fpu/fraiseexcpt.c: Include <float.h>.  Removed
5886         unused variable.
5888         * sunrpc/xdr_rec.c (xdrrec_getpos): Add cast to long to avoid warning.
5889         * sunrpc/xdr_sizeof.c (x_inline): Likewise.
5891         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Include <float.h>.
5893         * conform/conformtest.pl: Define $mustprepend{"stdio.h"}.
5894         * libio/stdio.h: Define va_list correctly.
5896         * conform/data/pthread.h-data: Make priority protocol related
5897         functions optional.  Fix typos.
5899         * posix/sched.h: Define sched_priority as __sched_priority.
5900         * sysdeps/generic/bits/sched.h (struct sched_param): Rename element
5901         to __sched_priority.
5902         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
5904 2001-01-27  Ulrich Drepper  <drepper@redhat.com>
5906         * sysdeps/generic/clock_getcpuclockid.c: Include <time.h> instead
5907         of <sys/time.h>.
5909         * sysdeps/unix/stime.c: Include <stddef.h> for NULL.
5910         * sysdeps/unix/time.c: Likewise.
5912         * conform/data/time.h-data: CLK_TCK is not in XPG6.  Fix tzname entry.
5913         * sysdeps/mach/hurd/bits/time.h: Don't define CLK_TCK for XPG6.
5914         * sysdeps/mach/hurd/i386/bits/time.h: Likewise.
5915         * sysdeps/unix/sysv/linux/bits/time.h: Likewise.
5916         * sysdeps/unix/sysv/linux/alpha/bits/time.h: Likewise.
5917         * sysdeps/unix/sysv/linux/i386/bits/time.h: Likewise.
5918         * sysdeps/unix/sysv/linux/ia64/bits/time.h: Likewise.
5919         * time/time.h: Likewise.
5921         * conform/conformtest.pl (@headers): Add complex.h and tgmath.h.
5922         * conform/data/complex.h-data: New file.
5923         * conform/data/tgmath.h-data: New file.
5925         * conform/data/wchar.h-data: Add missing functions.
5927         * sysdeps/gnu/bits/utmpx.h: Define RUN_LVL only if __USE_GNU.
5929         * conform/data/termios.h-data: Add missing const in tcsetattr()
5930         prototype.
5932         * posix/sys/wait.h: Include <signal.h> and <sys/resource.h>.
5933         Don't define pid_t here.
5935         * conform/data/sys/utsname.h-data: Don't provide fixed array sizes.
5937         * conform/data/sys/time.h-data: Allow sys/select.h.
5938         * conform/data/sys/un.h-data: Fix typo.
5939         * time/sys/time.h: Don't include all of <time.h>, just struct timeval.
5940         * sysdeps/posix/clock_getres.c: Include <time.h> instead of
5941         <sys/time.h>.
5942         * sysdeps/unix/clock_nanosleep.c: Likewise.
5943         * sysdeps/unix/i386/clock_getcpuclockid.c: Likewise.
5944         * sysdeps/unix/i386/i586/clock_getres.c: Likewise.
5945         * sysdeps/unix/clock_gettime.c: Also include <time.h>.
5946         * sysdeps/unix/clock_settime.c: Likewise.
5948         * sysdeps/generic/pselect.c: Include <stddef.h> for NULL.
5949         * login/getutent.c: Likewise.
5950         * login/getutid.c: Likewise.
5951         * login/getutline.c: Likewise.
5953         * socket/sys/un.h: Define SUN_LEN only if __USE_MISC.
5955         * sysdeps/unix/sysv/linux/bits/statvfs.h: Change type of f_fsid field
5956         to unsigned long.  Add __f_unused.  Define _STATVFSBUF_F_UNUSED.
5957         * sysdeps/unix/sysv/linux/internal_statvfs.c: Adjust initialization of
5958         f_fsid field after change in struct statvfs.
5959         * sysdeps/unix/sysv/linux/alpha/bits/statvfs.h: New file.
5960         * sysdeps/unix/sysv/linux/ia64/bits/statvfs.h: New file.
5961         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/statvfs.h: New file.
5963         * conform/data/sys/stat.h-data: Remove isfdtype.  Use
5964         optional-macro.
5966         * conform/data/sys/socket.h-data: Fix typos.  Correct getsockopt,
5967         recvfrom, send, and socketpair prototypes.  Add allow lines.
5968         * socket/sys/socket.h: Include <sys/uio.h>.
5969         Don't use fancy __SOCKADDR_ARG definition unless __USE_GNU.
5970         Fix type of second parameter of listen.
5971         Don't declare isfdtype unless __USE_MISC.
5972         * sysdeps/generic/listen.c: Fix type of second parameter of listen.
5973         * sysdeps/mach/hurd/listen.c: Likewise.
5974         * sysdeps/generic/bits/socket.h (struct sockaddr_storage): Define
5975         ss_family and __ss_family.
5976         * sysdeps/unix/sysv/aix/bits/socket.h: Likewise.
5977         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
5978         (struct msghdr): Change type of msg_iovlen to int and type of
5979         msg_controllen to socklen_t.
5980         * sysdeps/unix/sysv/linux/alpha/bits/socket.h: New file.
5981         * sysdeps/unix/sysv/linux/ia64/bits/socket.h: New file.
5982         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/socket.h: New file.
5983         * inet/rcmd.c (rcmd_af): __ss_family is now ss_family.
5984         (rresvport_af): Likewise.
5986         * conform/data/sys/shm.h-data: SHMLBA is not required to by a constant.
5987         * conform/conformtest.pl: Implement handling of symbol.
5989         * signal/signal.h: Fix handling of __need_* symbols.
5990         * misc/sys/select.c: Define fd_set here.  Remove __fd_set.  Define
5991         fd_mask only if __USE_MISC.  Declare pselect for __USE_XOPEN2K.
5992         * include/sys/select.h: Use fd_set not __fd_set.
5993         * sysdeps/generic/bits/select.h: Likewise.
5994         * sysdeps/i386/bits/select.h: Likewise.
5995         * sysdeps/generic/bits/types.h: Don't define __fd_mask, __NFDBITS,
5996         __FDELT, __FDMASK, and __fd_set here.
5997         * sysdeps/unix/sysv/aix/bits/types.h: Likewise.
5998         * sysdeps/unix/sysv/hpux/bits/types.h: Likewise.
5999         * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
6000         * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
6001         * sysdeps/unix/sysv/linux/ia64/bits/types.h: Likewise.
6002         * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
6003         * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
6004         * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
6005         * time/sys/time.h: Define struct timeval before including <time.h>
6006         and <sys/select.h>.
6008         * conform/data/sys/time.h-data: fd_set is a typedef.
6009         * conform/data/sys/select.h-data: New file.
6010         * conform/data/sys/mman.h-data: Make typed mem stuff optional.
6011         * conform/conformtest.pl (@headers): Add sys/select.h.
6012         (type, optional-type): Unless testing a typedef instantiate object.
6013         Implement optional-function.
6015         * math/test-misc.c: Include <float.h>.
6017 2001-01-27  Andreas Jaeger  <aj@suse.de>
6019         * misc/efgcvt_r.c: Include <float.h>.
6021 2001-01-26  Ulrich Drepper  <drepper@redhat.com>
6023         * conform/data/stdlib.h-data: Account for XPG6 changes.
6024         * stdlib/stdlib.h (__random): Change return value type to long.
6025         (posix_memalign): Cleanup parameter names.
6026         (setenv, unsetenv): Make available for __USE_XOPEN2K.
6027         Change return type of unsetenv to int.
6028         (qecvt, qgcvt, qfcvt): Declare only if __USE_MISC.
6029         * include/stdlib.h: Change return type of unsetenv to int.
6030         Change return type of random to long int.
6031         * sysdeps/generic/setenv.c (unsetenv): Change return type to int.
6032         Return -1 and set errno if parameter is invalid.
6033         * stdlib/random.c (__random): Change return value type to long.
6035         * conform/data/stdio.h-data: Account for changes in XPG6.
6037         * conform/data/spawn.h-data: Correct posix_spawnattr_setflags
6038         prototype.
6040         * conform/conformtest.pl: Define $mustprepend{"signal.h"}.
6041         * conform/data/signal.h-data: Fix sigev_notify_function entry.
6042         Fix typo (SIGVALRM -> SIGVTALRM).
6043         * sysdeps/unix/sysv/linux/bits/siginfo.h: Define sigev_notify_attr
6044         with real type.
6045         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Likewise.
6046         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
6047         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Likewise.
6048         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
6049         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/siginfo.h: Likewise.
6051         * conform/conformtest.pl: Implement optional-element.  Define
6052         $mustprepend{"sched.h"}.
6053         * conform/data/sched.h-data: Make sporadic scheduler definitions
6054         optional.
6056         * pwd/pwd.h: Don't define getpwent_r for XPG.
6058         * io/sys/poll.h: Define nfds_t and use it in poll prototype.
6059         * sysdeps/generic/poll.c: Use nfds_t type in function definition.
6060         * sysdeps/mach/hurd/poll.c: Likewise.
6061         * sysdeps/unix/bsd/poll.c: Likewise.
6062         * sysdeps/unix/sysv/linux/poll.c: Likewise.
6063         * sysdeps/unix/sysv/aix/poll.c: Likewise.
6064         * sysdeps/generic/bits/poll.h: Define NPOLLFILE only if __USE_MISC.
6065         * sysdeps/unix/sysv/linux/bits/poll.h: Likewise.
6066         * sysdeps/unix/sysv/linux/m68k/bits/poll.h: Likewise.
6067         * sysdeps/unix/sysv/linux/mips/bits/poll.h: Likewise.
6068         * sysdeps/unix/sysv/linux/sparc/bits/poll.h: Likewise.
6069         * conform/data/poll.h-data: Fix typo in poll prototype.
6071         * sysdeps/gnu/netinet/tcp.h: Define everything but TCP_ macros
6072         only if __USE_MISC.
6073         * conform/data/netinet/tcp.h-data: Reserved prefix TCP_.
6075         * sysdeps/gnu/net/if.h: Cleanup namespace.  Define IF_NAMESIZE.
6077         * inet/netinet/in.h: Make IPPROTO_ constants also macros.
6079         * conform/conformtest.pl: Implement optional-type.
6081         * resolv/netdb.h: Include <netinet/in.h> not <sys/socket.h>.  Include
6082         <rpc/netdb.h> only if __USE_MISC.  Include <stdint.h> instead of
6083         defining uint32_t here.  Define IPPORT_RESERVED.
6084         (struct hostent): Type of h_length element is int.
6085         (getnameinfo): Type of flags parameter is unsigned int.
6086         * inet/getnameinfo.c (getnameinfo): flags argument is unsigned.
6087         * conform/data/netdb.h-data: Add many missing definitions.
6089         * conform/conformtest.pl: Implement optional-macro.
6090         * conform/data/math.h-data: Update for XPG6.
6092         * math/math.h (HUGE): Define as FLT_MAX value but don't use
6093         FLT_MAX.  Don't include <float.h>.
6094         (MAXFLOAT): Likewise.
6096         * math/math.h: Define MATH_ERRNO and MATH_ERREXCEPT.
6098         * include/bits/xopen_lim.h: Don't define FOPEN_MAX here.
6100         * conform/data/limits.h-data: Mark constants as optional wherever
6101         appropriate.
6103         * posix/bits/posix2_lim.h: Set correct values for
6104         _POSIX2_COLL_WEIGHTS_MAX and _POSIX2_CHARCLASS_NAME_MAX.  Remove
6105         EQUIV_CLASS_MAX.
6107         * posix/bits/posix1_lim.h: Define _POSIX_TZNAME_MAX as 6.
6108         Required by POSIX.
6110         * intl/loadmsgcat.c: Include <locale.h.> for _LIBC.
6112         * conform/data/netinet/in.h-data: Add reserved prefixes.
6114         * conform/data/arpa/inet.h-data: Fix a few typos.
6116 2001-01-26  Andreas Jaeger  <aj@suse.de>
6118         * sysdeps/generic/strtol.c: Include <locale.h>
6119         * stdlib/strtod.c: Likewise
6120         * stdlib/strfmon.c: Likewise.
6121         * string/strcoll.c: Likewise.
6122         * string/strxfrm.c: Likewise.
6123         * wctype/wcfuncs_l.c: Likewise.
6124         * wctype/wctype_l.c: Likewise.
6125         * wctype/wctrans_l.c: Likewise.
6127         * include/bits/locale.h: New file.
6129 2001-01-26  Ulrich Drepper  <drepper@redhat.com>
6131         * locale/langinfo.h: Correct logic in #ifs when defining YESSTR
6132         and NOSTR.
6134         * locale/Makefile (headers): Add bits/locale.h.
6135         * locale/langinfo.h: Don't include <locale.h>.  Include <bits/locale.h>
6136         and use __LC_ constants instead of LC_.
6137         * locale/locale.h: Include <bits/locale.h> and define LC_ constants
6138         using __LC_ constants.
6139         * locale/bits/locale.h: New file.
6140         * locale/loadlocale.c: Include <locale.h>.
6141         * locale/nl_langinfo.h: Likewise.
6143         * posix/glob.h: Cleanup namespace for non-_GNU_SOURCE case.
6145         * io/sys/stat.h: Define S_IFSOCK for XPG6.
6147         * conform/data/fcntl.h-data: posix_madvise is not expected here.
6149         * conform/conformtest.pl: Fix handling of macro-str.
6151         * conform/data/inttypes.h-data: Add missing definition and all of
6152         stdint.h-data.
6154         * sysdeps/unix/sysv/linux/sys/param.h (MAXSYMLINKS): Bump to 20.
6156 2001-01-25  Ulrich Drepper  <drepper@redhat.com>
6158         * conform/conformtest.pl (@headers): Add stdint.h.
6159         * conform/data/stdint.h-data: New file.
6161         * conform/conformtest.pl: Recognize options --headers and
6162         --dialect.  Add dialect-specific CFLAGS.
6164         * conform/conformtest.pl: Implement handling of recursive
6165         allow-header.
6167         * conform/data/locale.h-data: Add new struct lconv members.
6169         * posix/wordexp.h: Correct definition of wordexp_t.
6170         * posix/wordexp.c: Moved to ...
6171         * sysdeps/generic/wordexp.c: ...here.  New file.
6172         * sysdeps/unix/sysv/linux/alpha/wordexp.c: New file.
6173         * sysdeps/unix/sysv/linux/ia64/wordexp.c: New file.
6174         * sysdeps/unix/sysv/linux/sparc/sparc64/wordexp.c: New file.
6175         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.2.2): Add
6176         wordexp.
6177         * sysdeps/unix/sysv/linux/ia64/Versions: Likewise.
6178         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions: Likewise.
6180         * math/tgmath.h: Pretty printing.
6182         * math/Makefile (tests): Add test-tgmath.
6183         (CFLAGS-test-tgmath.c): New variable.
6184         * math/test-tgmath.c: New file.  Contributed by Jakub Jelinek.
6186         * conform/conformtest.pl: Handle allow-header in secondary headers
6187         correctly.
6189         * conform/data/fcntl.h-data: Mark symbols introduced in XPG6 with
6190         #ifdef.
6192         * conform/data/netinet/in.h-data: Use correct comment character.
6193         * conform/data/sys/stat.h-data: Likewise.
6195 2001-01-25  Jakub Jelinek  <jakub@redhat.com>
6197         * math/tgmath.h (__TGMATH_BINARY_FIRST_REAL_ONLY,
6198         __TGMATH_BINARY_REAL_ONLY, __TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY,
6199         __TGMATH_TERNARY_REAL_ONLY): Use proper arguments to
6200         __builtin_classify_type, add ##f suffixes where appropriate.
6201         (__TGMATH_UNARY_REAL_IMAG): Remove extraneous left parenthesis.
6202         (__TGMATH_BINARY_REAL_IMAG): Likewise, use proper arguments to
6203         __builtin_classify_type.
6204         (fma): Fix spelling of first argument.
6206 2001-01-25  Ulrich Drepper  <drepper@redhat.com>
6208         * conform/data/unistd.h-data: Mark functions removed in XPG6
6209         correctly.
6211         * posix/unistd.h: Don't make functions removed in XPG6 available if
6212         __USE_XOPEN2K.
6214         * conform/conformtest.pl: Implement optional-constant.
6215         * conform/data/unistd.h-data: Use optional-constant wherever
6216         appropriate.
6218         * sysdeps/generic/bits/confname.h: Correct names of _SC_PBS
6219         constants and add _SC_STREAMS.
6220         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
6222         * sysdeps/unix/sysv/linux/statvfs64.c: Rename to __statvfs64 and
6223         make old name weak alias.
6224         * sysdeps/generic/statvfs64.c: Likewise.
6225         * sysdeps/unix/sysv/linux/fstatvfs64.c: Rename to __fstatvfs64 and
6226         make old name weak alias.
6227         * sysdeps/generic/fstatvfs64.c: Likewise.
6228         * include/sys/statvfs.h: New file.
6230         * sysdeps/generic/bits/confname.h: Define _PC_REC_INCR_XFER_SIZE,
6231         _PC_REC_MAX_XFER_SIZE, _PC_REC_MIN_XFER_SIZE, and
6232         _PC_REC_XFER_ALIGN.
6233         * sysdeps/posix/pathconf.c (__pathconf): Implement handling of
6234         _PC_REC_INCR_XFER_SIZE, _PC_REC_MAX_XFER_SIZE,
6235         _PC_REC_MIN_XFER_SIZE, and _PC_REC_XFER_ALIGN.
6236         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
6238         * conform/conformtest.pl: Run Unix tests for XPG6.
6239         Implement handling of known namespace violations.
6240         Improve printing of results.
6242         * posix/unistd.h (usleep): Correct return type.
6243         * sysdeps/unix/sysv/linux/usleep.c: Correct return type.
6244         * sysdeps/unix/bsd/usleep.c: Correct return type.
6245         * sysdeps/mach/usleep.c: Correct return type.
6246         * sysdeps/generic/usleep.c: Correct return type.
6248         * posix/unistd.h (sync): Correct return type.
6249         * sysdeps/generic/sync.c: Likewise.
6250         * sysdeps/mach/hurd/sync.c: Likewise.
6252         * sysdeps/generic/bits/confname.h (_SC_IOV_MAX): New definition.
6254         * posix/unistd.h: Make seteuid and setegid available for XPG6.
6256         * wcsmbs/wchar.h: Get FILE definition for XPG5.
6258         * conform/data/ctype.h-data: Use correct comment form.
6259         * conform/data/errno.h-data: Likewise.
6260         * conform/data/math.h-data: Likewise.
6261         * conform/data/mqueue.h-data: Likewise.
6262         * conform/data/netdb.h-data: Likewise.
6263         * conform/data/pthread.h-data: Likewise.
6265 2001-01-24  Ulrich Drepper  <drepper@redhat.com>
6267         * conform/data/wordexp.h-data: Fix typo.
6269         * conform/conformtest.pl: Handle allow-header correctly.
6271         * conform/data/time.h-data: Use correct comment form.
6273         * conform/conformtest.pl (checknamespace): Ignore #undef lines.
6275         * configure.in: Comment out binutils version test.
6277         * stdlib/strtod.c (str_to_mpn): Correct parsing of thousands
6278         separators.
6279         Reported by Lagardere Jean-Francois <LAGARDEREJ@thmulti.com>.
6281         * stdlib/tst-strtod.c (locale_test): New function.
6282         (main): Call locale_test.
6283         * stdlib/Makefile (tst-strtod-ENV): New variable.
6285 2001-01-24  Mark Kettenis  <kettenis@gnu.org>
6287         * hurd/hurdsig.c (_hurdsig_getenv): Remove spurious innermost
6288         declaration of value such that we actually return the value of the
6289         environment variable.
6291 2001-01-24  Andreas Jaeger  <aj@suse.de>
6293         * sysdeps/unix/sysv/linux/init-first.c: Remove extra __sysctl
6294         prototype.
6295         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
6297         * include/sys/sysctl.h: New file.
6299 2001-01-23  Andreas Jaeger  <aj@suse.de>
6301         * stdlib/Makefile ($(objpfx)isomac.out): Also pass sysincludes to
6302         isomac.
6304         * elf/dl-load.c (_dl_init_paths): Don't use strdupa in function
6305         arguments.  Reported by Jiri Kubicek <kubicek@bitsmart.com>,
6306         closes PR libc/2039.
6308         * manual/install.texi (Tools for Compilation): Change required
6309         binutils version.
6311 2001-01-22  Andreas Jaeger  <aj@suse.de>
6313         * configure.in: Add test for new enough binutils version, move
6314         compiler/binutils test up.
6316         * Versions.def: Add version GLIBC_2.2.2.
6318 2001-01-21  Ulrich Drepper  <drepper@redhat.com>
6320         * iconvdata/TESTS: UTF-8 test data for IBM932 and IBM943 are now
6321         available.
6322         * iconvdata/testdata/IBM932: New file.
6323         * iconvdata/testdata/IBM932..UTF8: New file.
6324         * iconvdata/testdata/IBM943: New file.
6325         * iconvdata/testdata/IBM943..UTF8: New file.
6326         Contributed by Masahide Washizawa <washi@jp.ibm.com>.
6328 2001-01-21  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
6330         * sysdeps/unix/sysv/linux/powerpc/mmap64.c: Correctly mask offset.
6332 2001-01-21  Ulrich Drepper  <drepper@redhat.com>
6334         * malloc/malloc.c: Remove a few unnecessary initializers of global
6335         variables.
6337 2000-12-09  H.J. Lu  <hjl@gnu.org>
6339         * nss/Makefile (routines): Add digits_dots.
6340         * nss/Versions (libc): Add __nss_hostname_digits_dots to GLIBC_2.2.2.
6341         * nss/digits_dots.c (__nss_hostname_digits_dots): Turn template
6342         into a function.
6343         * nss/nsswitch.h (__nss_hostname_digits_dots): New internal NSS
6344         function.
6345         * nss/getXXbyYY.c (H_ERRNO_VAR_P): New definition.
6346         (TYPE_VAR_P): Likewise.
6347         (FLAGS_VAR): Likewise.
6348         (AF_VAR_P): Likewise.
6349         (INTERNAL (REENTRANT_NAME)): Call __nss_hostname_digits_dots ()
6350         instead of including digits_dots.c.
6351         * nss/getXXbyYY_r.c (H_ERRNO_VAR_P): New definition.
6352         (TYPE_VAR_P): Likewise.
6353         (FLAGS_VAR): Likewise.
6354         (AF_VAR_P): Likewise.
6355         (INTERNAL (REENTRANT_NAME)): Call __nss_hostname_digits_dots ()
6356         instead of including digits_dots.c.
6358 2001-01-21  Ulrich Drepper  <drepper@redhat.com>
6360         * sysdeps/posix/getaddrinfo.c: Reduce .data size.
6362 2001-01-21  Andreas Jaeger  <aj@suse.de>
6364         * elf/constload2.c: Add prototype for init.
6366 2001-01-21  Ulrich Drepper  <drepper@redhat.com>
6368         * stdlib/stdlib.h (drand48_data): Make available only for
6369         __USE_MISC.  Rename elements to protect namespace.  Change type
6370         and position of a and init element.
6371         * stdlib/drand48-iter.c: Don't handle unsigned short > 16 bit
6372         differently.  Adjust for drand48_data change.  Don't compute a here,
6373         it comes from drand48_data.
6374         * stdlib/lcong48_r.c: Don't handle unsigned short > 16 bit
6375         differently.  Adjust for drand48_data change.  Compute a here.
6376         * stdlib/srand48_r.c: Likewise.
6377         * stdlib/drand48.c: Adjust for drand48_data change.
6378         * stdlib/lrand48.c: Likewise.
6379         * stdlib/mrand48.c: Likewise.
6380         * stdlib/seek48.c: Likewise.
6381         * stdlib/drand48_r.c: Likewise.
6382         * stdlib/lrand48_r.c: Likewise.
6383         * stdlib/mrand48_r.c: Likewise.
6384         * stdlib/seed48_r.c: Likewise.  Don't handle unsigned short > 16 bit
6385         differently.
6386         * stdlib/erand48_r.c: Don't handle unsigned short > 16 bit differently.
6387         * stdlib/jrand48_r.c: Likewise.
6389         * po/sv.po: Update from translation team.
6391 2001-01-21  Andreas Jaeger  <aj@suse.de>
6393         * stdio-common/vfprintf.c (vfprintf): Add casts.
6395 2001-01-20  Ulrich Drepper  <drepper@redhat.com>
6397         * iconvdata/run-iconv-test.sh: Reorgnize a bit to allow running only
6398         the ASCII test.
6399         * iconvdata/TESTS: Add entries for IBM932 and IBM943.
6401         * iconvdata/Makefile (modules): Add IBM932 and IBM943.
6402         * iconvdata/gconv-modules: Add entries for IBM932 and IBM943.
6403         * iconvdata/ibm932.c: New file.
6404         * iconvdata/ibm932.h: New file.
6405         * iconvdata/ibm943.c: New file.
6406         * iconvdata/ibm943.h: New file.
6407         Patches by Masahide Washizawa <washi@jp.ibm.com>.
6409         * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Fix typo
6410         preventing optimization from being done.  Set the correct type bit
6411         in seen.  Don't define and use _dl_base_addr unless
6412         NEED_DL_BASE_ADDR is defined.
6414         * io/ftw.c (ftw_dir): Add slash after directory name if there
6415         wasn't any.  Reported by loris <loris@iol.it>.
6416         * io/Makefile (tests): Add bug-ftw2.
6417         * io/bug-ftw2.c: New file.
6419 2001-01-19  Ulrich Drepper  <drepper@redhat.com>
6421         * stdlib/jrand48_r.c (__jrand48_r): Correct constructing of
6422         results.  Reported by Jeff Higham <jhigham@algorithmics.com>.
6423         * stdlib/tst-rand48.c: New file.
6424         * stdlib/Makefile (tests): Add tst-rand48.
6426         * locale/newlocale.c (__newlocale): Fix test for setting all
6427         categories.
6429 2001-01-19  Mark Kettenis  <kettenis@gnu.org>
6431         * sysdeps/mach/hurd/chroot.c (chroot): Revert 1999-02-27 changes,
6432         but change looking up the initial directory port in a similar way
6433         as done by _hurd_change_directory_port_from_name.
6434         * hurd/fchroot.c (fchroot): Likewise.
6436 2001-01-18  Ulrich Drepper  <drepper@redhat.com>
6438         * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): If HAVE_AUX_XID is
6439         defined don't look whether the AT_*ID values were set.
6440         If HAVE_AUX_PAGESIZE is defined don't look whether the pagesize is set.
6441         (_dl_show_auxv): Rewrite to avoid switch statement.
6442         * sysdeps/unix/sysv/linux/kernel-features.h: Define
6443         __ASSUME_AT_PAGESIZE for kernel >= 2.4.1.
6444         * sysdeps/unix/sysv/linux/ldsodefs.h: Define HAVE_AUX_XID.
6445         Define HAVE_AUX_PAGESIZE if __ASSUME_AT_PAGESIZE is defined.
6447         * sysdeps/unix/sysv/linux/fxstat64.c: Add one __builtin_expect.
6448         * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
6449         * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
6451         * elf/rtld.c (process_envvars): Call __strtoul_internal instead of
6452         strtoul.
6453         * elf/dl-minimal.c (strtol, __strtol_internal, strtoul): Removed.
6454         (__sigjmp_save): Set __mask_was_saved to zero since we don't save
6455         anything.
6456         * dlfcn/eval.c (__strtol_internal): Define here.
6457         (eval): Use __strtol_internal instead of strtol.
6459         * elf/elf.h: Add a few more EF_MIPS_* constants.
6461 2001-01-17  Ulrich Drepper  <drepper@redhat.com>
6463         * manual/Makefile (chapters): Add debug.
6464         * manual/debug.texi: New file.
6465         * manual/examples/execinfo.c: New file.
6466         Patch by suckfish@ihug.co.nz.
6468 2001-01-17  Andreas Schwab  <schwab@suse.de>
6470         * sysdeps/m68k/bits/byteswap.h (__bswap_32): Add cast to avoid
6471         invalid asm.
6473 2001-01-17  Andreas Jaeger  <aj@suse.de>
6475         * nscd/connections.c (nscd_run): Use proper format specifier.
6477 2001-01-16  Ulrich Drepper  <drepper@redhat.com>
6479         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Move x86_cap_flags and
6480         x86_platforms data into new file after prepending _dl_.  Change
6481         users.
6482         * sysdeps/unix/sysv/linux/i386/dl-procinfo.c: New file.
6483         * sysdeps/unix/sysv/linux/i386/Dist: Add dl-procinfo.c.
6484         * sysdeps/unix/sysv/linux/i386/Makefile: Add rules to build
6485         dl-procinfo.c.
6487         * setjmp/setjmp.h: Cleanup definition of setjmp macro.
6489         * sysdeps/i386/elf/bsd-setjmp.S: Real implementation.
6490         * sysdeps/i386/elf/bsd-_setjmp.S: Removed.
6491         * sysdeps/i386/elf/setjmp.S (setjmp): Removed here.
6492         (_setjmp): Likewise.
6493         * sysdeps/i386/bsd-_setjmp.S: Real implementation.
6494         * sysdeps/i386/bsd-setjmp.S: Real implementation.
6495         * sysdeps/i386/bits/setjmp.h: Remove PUSH_SIGNAL_MASK definition.
6496         * sysdeps/i386/setjmp.S: Remove PIC support.  This is the non-ELF
6497         version.
6499 2001-01-16  Andreas Jaeger  <aj@suse.de>
6501         * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h (SIGCONTEXT): Fix
6502         misapplied last patch.
6504 2001-01-15  Ulrich Drepper  <drepper@redhat.com>
6506         * stdlib/random.c (__initstate): Clean up a cast.
6507         (__setstate): Likewise.
6509         * sysdeps/unix/sysv/linux/mips/syscalls.list: Remove select
6510         syscall handling.  The generic Linux version should work.
6512 2001-01-15  Andreas Jaeger  <aj@suse.de>
6514         * sysdeps/unix/sysv/linux/sys/sendfile.h: Fix typo.
6516         * stdio-common/tstscanf.c (main): Add two testcases for '*' modifier.
6518 2001-01-14  Jakub Jelinek  <jakub@redhat.com>
6520         * nss/getent.c (print_aliases, aliases_keys, ethers_keys,
6521         netgroup_keys, print_rpc, rpc_keys, print_shadow, shadow_keys):
6522         New functions.
6523         (group_keys, hosts_keys, network_keys, passwd_keys, protocols_keys):
6524         If number is 0, list all.
6525         (services_keys): Likewise.  Lookup aliases as well.
6526         (databases): New table.
6527         (build_doc): Prepare argp doc text with list of supported databases.
6528         (main): Change to table driven processing.
6530 2001-01-14  Thorsten Kukuk <kukuk@suse.de>
6532         * sunrpc/xdr.c (xdr_long, xdr_u_long): Fix comments about these
6533         functions.
6535 2001-01-03  Jakub Jelinek  <jakub@redhat.com>
6537         * sunrpc/xdr.c (xdr_long, xdr_u_long): Return FALSE if trying to
6538         encode value which does not fit in the 32bit type.
6540 2001-01-15  Hiroyuki Machida <machida@sm.sony.co.jp>
6542         * sysdeps/unix/sysv/linux/mips/register-dump.h (REGISTER_DUMP):
6543         Change type of CTX to (struct sigcontext *).
6544         * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h (GET_PC): Likewise.
6545         (GET_FRAME): Likewise.
6546         (GET_STACK): Likewise.
6547         (SIGCONTEXT): Likewise.  Add 2nd arg _code.
6548         (SIGCONTEXT_EXTRA_ARGS): Add 2nd arg _code.
6550 2001-01-13  Ulrich Drepper  <drepper@redhat.com>
6552         * manual/texinfo.tex: Update from upstream version.
6554 2001-01-13  Jakub Jelinek  <jakub@redhat.com>
6556         * inet/ether_ntoh.c (lookup_function): Change arguments to match
6557         _nss_*_getntohost_r prototype.
6558         (ether_ntohost): Pass errno pointer to NSS function.
6560 2001-01-12  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
6562         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MS_SYNC): Fix value.
6563         (MAP_LOCKED): New definition.
6564         (MAP_NORESERVE): New definition.
6566 2001-01-12  Ulrich Drepper  <drepper@redhat.com>
6568         * assert/assert.h: Use static_cast instead of C-style cast for C++.
6569         Patch by Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>.
6571 2001-01-12  Ben Collins  <bcollins@debian.org>
6573         * sysdeps/generic/segfault.c (install_handler): Use access, not
6574         __access.
6576 2001-01-12  Andreas Jaeger  <aj@suse.de>
6578         * posix/fnmatch_loop.c (FCT): Remove signed warnings.
6579         * posix/wordexp.c (do_parse_glob): Likewise.
6580         * sysdeps/posix/sigblock.c (__sigblock): Likewise.
6581         * sysdeps/posix/sigsetmask.c (__sigsetmask): Likewise.
6582         * elf/dl-open.c (_dl_open): Likewise.
6583         * elf/dl-close.c (_dl_close): Likewise.
6584         * elf/dl-load.c (_dl_map_object): Likewise.
6585         * iconv/iconv_prog.c (process_fd): Likewise.
6586         * stdio-common/vfscanf.c (_IO_vfscanf): Likewise.
6588         * locale/localeinfo.h (struct locale_data): Use __flexarr instead
6589         of a zero-length array.
6591 2001-01-11  Jakub Jelinek  <jakub@redhat.com>
6593         * stdlib/cxa_atexit.c (__cxa_atexit): Cast to (void *, int) func.
6594         * stdlib/cxa_finalize.c (__cxa_finalize): Add hidden second argument.
6595         * stdlib/cxa_on_exit.c: Remove.
6596         * stdlib/Makefile: Revert last patch.
6597         * stdlib/Versions: Likewise.
6598         * include/stdlib.h: Likewise.
6599         * stdlib/exit.h: Revert last patch.
6600         (struct exit_function): Add second argument to cxa fn.
6601         * stdlib/exit.c: Revert last patch.
6602         (exit): Add hidden second argument.
6604 2001-01-11  H.J. Lu  <hjl@gnu.org>
6606         * elf/dl-libc.c (do_dlopen): Move DL_STATIC_INIT to ...
6607         * elf/dl-open.c (_dl_open): Here.
6608         * sysdeps/unix/sysv/linux/ia64/dl-static.c (_dl_static_lock):
6609         Make it static.
6610         (_dl_static_init): Initialize the variables every time when possible.
6611         * sysdeps/unix/sysv/linux/ia64/ldsodefs.h (DL_STATIC_INIT):
6612         Undefine it first.
6614 2001-01-11  Ulrich Drepper  <drepper@redhat.com>
6616         * stdlib/Makefile (routines): Add cxa_on_exit.
6617         * stdlib/Versions [libc] (GLIBC_2.2.1): Add __cxa_on_exit.
6618         * stdlib/cxa_on_exit.c: New file.
6619         * include/stdlib.h: Add prototype for __cxa_on_exit.
6620         * stdlib/exit.c: Handle ef_cxa2.
6621         * stdlib/exit.h (enum): Add ef_cxa2.
6622         (struct exit_function): Add cxa2.
6624         * Versions.def [ld]: Add GLIBC_2.2.1.
6626 2001-01-10  H.J. Lu  <hjl@gnu.org>
6628         * elf/dl-libc.c (do_dlopen): Call DL_STATIC_INIT for static binaries.
6629         * sysdeps/unix/sysv/linux/ia64/Makefile (sysdep-dl-routines): Add
6630         dl-static.
6631         * sysdeps/unix/sysv/linux/ia64/Versions (ld): Add _dl_var_init.
6632         * sysdeps/generic/ldsodefs.h (DL_STATIC_INIT): Defined if not defined.
6633         * sysdeps/unix/sysv/linux/ia64/ldsodefs.h: New file.
6634         * sysdeps/unix/sysv/linux/ia64/dl-static.c: New file.
6635         * sysdeps/unix/sysv/linux/ia64/Dist: Add dl-static.c.
6637 2001-01-11  Ulrich Drepper  <drepper@redhat.com>
6639         * libio/stdio.h: Remove definition of off_t.
6641 2001-01-11  Andreas Jaeger  <aj@suse.de>
6643         * wcsmbs/tst-mbrtowc.c (utf8_test): New function by Markus Kuhn
6644         <mkuhn@acm.org>.
6646 2001-01-10  Ulrich Drepper  <drepper@redhat.com>
6648         * sunrpc/Makefile (distribute): Add errqueue.h.
6650 2001-01-10  H.J. Lu  <hjl@gnu.org>
6652         * sysdeps/ia64/dl-machine.h (TRAMPOLINE_TEMPLATE): Also preserve
6653         r9, r10 and r11 for language specific registers.
6655 2001-01-10  Jakub Jelinek  <jakub@redhat.com>
6657         * sunrpc/clnt_udp.c (clntudp_bufcreate): Set IP_RECVERR on the
6658         UDP socket.
6659         (clntudp_call): Handle MSG_ERRQUEUE.
6660         * sysdeps/generic/errqueue.h: New file.
6661         * sysdeps/unix/sysv/linux/errqueue.h: New file.
6663 2001-01-10  H.J. Lu  <hjl@gnu.org>
6665         * sysdeps/unix/sysv/linux/ia64/syscalls.list (s_getpagesize): Removed.
6667 2001-01-10  Joseph S. Myers  <jsm28@cam.ac.uk>
6669         * CONFORMANCE: Update.
6671 2001-01-09  Ulrich Drepper  <drepper@redhat.com>
6673         * sysdeps/generic/elf/backtracesyms.c (__backtrace_symbols):
6674         Minimal cleanups.  Add assert to ensure memory handling is correct.
6676         * manual/conf.texi (File Minimums): Fix _POSIX_PATH_MAX value.
6677         Reported by Ben Collins <bcollins@debian.org>.
6679         * time/strftime.c (my_strftime): Mark previous GNU extensions
6680         which are now in C99 as such.
6682 2001-01-08  Ulrich Drepper  <drepper@redhat.com>
6684         * elf/rtld.c (process_envvars): Place output files for profiling
6685         in SUID binaries in /var/profile.
6687         * elf/dl-load.c (_dl_map_object): Don't look in cache for
6688         preloading in SUID binaries.
6690         * elf/dl-profile.c (_dl_start_profile): Open the output file with
6691         O_NOFOLLOW if possible.
6693         * include/stdlib.h: Add __posix_openpt declaration.
6694         * stdlib/stdlib.h: Add posix_openpt declaration.
6695         * login/Versions: Add posix_openpt for GLIBC_2.2.1.
6696         * sysdeps/generic/getpt.c: Define posix_openpt.
6697         * sysdeps/unix/bsd/getpt.c: Likewise.
6698         * sysdeps/unix/sysv/linux/getpt.c: Likewise.
6700         * time/Makefile (tests): Add tst-mktime.
6701         * time/tst-mktime.c: New file.
6703         * posix/tst-dir.c (main): One more mkdir() test.
6705         * sysdeps/unix/sysv/linux/ia64/getpagesize.c (__getpagesize):
6706         Remove getpagesize syscall.  We assume that the pagesize is always
6707         determined from the auxiliary vector.
6709         * intl/dcigettext.c: Fix a few warnings.
6710         Patch by Bruno Haible <haible@ilog.fr>.
6712 2001-01-08  Andreas Jaeger  <aj@suse.de>
6714         * io/test-lfs.c (do_test): Check lseek64 return for EINVAL.
6715         Reported by Joseph S. Myers <jsm28@cam.ac.uk>.
6717 2001-01-08  Ulrich Drepper  <drepper@redhat.com>
6719         * sysdeps/generic/segfault.c (install_handler): Check output file
6720         name with access().
6722         * resolv/res_query.c: Use simply getenv() for HOSTALIASES.
6723         * sysdeps/generic/unsecvars.h (UNSECURE_ENVVARS): Add HOSTALIASES.
6725         * sysdeps/generic/unsecvars.h (UNSECURE_ENVVARS): Add missing comma.
6727         * malloc/memusage.c (me): Use access() to determine whether we
6728         should write the output file or not.
6730         * libio/bits/stdio.h (printf): Define macro to map printf call to
6731         fprintf which gcc can optimize.
6732         * stdio-common/printf.c: Undefine printf.
6734 2001-01-07  Ulrich Drepper  <drepper@redhat.com>
6736         * sysdeps/generic/bits/byteswap.h (__bswap_64): Partly revert last
6737         patch.  We must use unsigned int for l member of union.
6739         * sysdeps/powerpc/elf/libc-start.c (__libc_start_main): Don't call
6740         _dl_aux_init for shared libraries.
6742         * sysdeps/unix/sysv/linux/glob64.c: Moved to ...
6743         * sysdeps/gnu/glob64.c: ...here.  New file.
6745 2001-01-07  Ben Collins  <bcollins@debian.org>
6747         * manual/examples/longopt.c: Make the "struct option" a little
6748         more like it should be, adding usage of required_argument,
6749         noargument and such, and also setting the options string right.
6751         * manual/sysinfo.texi (Load Average): New section, documents
6752         getloadavg().
6754 2001-01-06  Ulrich Drepper  <drepper@redhat.com>
6756         * version.h (VERSION): Bump to 2.2.1.
6758         * sysdeps/unix/sysv/linux/mips/Dist: Remove sys/acct.h.
6759         * sysdeps/alpha/Dist: Add alphaev6/stxncpy.S and alphaev6/stxcpy.S.
6760         * sysdeps/unix/sysv/aix/Dist: Add uitrunc.c, savef.S, and restf.S.
6761         * dlfcn/Makefile (distribute): Add errmsg1mod.c.
6762         * Makefile (distribute): Add include/libc-internal.h.
6763         * libio/Makefile (distribute): Avoid overwriting.
6765         * iconvdata/ibm937.c (BODY to IBM937): Correct several mistakes in
6766         buffer and table handling.
6768 2001-01-05  H.J. Lu  <hjl@gnu.org>
6770         * elf/dl-support.c (non_dynamic_init): Move the auxiliary
6771         vector checking to ...
6772         (_dl_aux_init): Here.  New function.  Defined only if
6773         HAVE_AUX_VECTOR is defined.
6775         * sysdeps/generic/libc-start.c (__libc_start_main): Call
6776         _dl_aux_init for static binaries if HAVE_AUX_VECTOR is defined.
6778         * sysdeps/powerpc/elf/libc-start.c (__libc_start_main): Call
6779         _dl_aux_init.
6781         * sysdeps/unix/sysv/linux/ldsodefs.h (DL_FIND_AUXV): Removed.
6782         (HAVE_AUX_VECTOR): Defined.
6783         (_dl_aux_init): Declared.
6785 2001-01-05  Ben Collins  <bcollins@debian.org>
6787         * manual/string.texi (Finding Tokens in a String): Document XPG
6788         basename() and dirname(), as well as GNU basename().
6790 2001-01-05  Jakub Jelinek  <jakub@redhat.com>
6792         * Makeconfig (preprocess-version): Replace -traditional with
6793         -x assembler-with-cpp.
6795 2001-01-05  Joseph S. Myers  <jsm28@cam.ac.uk>
6797         * math/bits/cmathcalls.h: Don't define inline cimag, creal or conj
6798         for GCC 2.97 or later.
6800 2001-01-05  Ben Collins  <bcollins@debian.org>
6802         * manual/stdio.texi (getline): Clarify the return value in the
6803         case of EOF being reached before a newline.
6805 2001-01-04  Jakub Jelinek  <jakub@redhat.com>
6807         * sunrpc/pmap_clnt.c (__get_myaddress): Return TRUE if successful,
6808         FALSE otherwise.
6809         (pmap_set, pmap_unset): Check __get_myaddress return value.
6811 2001-01-05  Mark Kettenis  <kettenis@gnu.org>
6813         * sysdeps/generic/netinet/if_ether.h: Include <sys/types.h>.
6814         (struct ether_addr): Declare ether_addr_octet member as
6815         `u_int8_t'.  Add __attribute__ ((__packed__)).
6817 2001-01-06  Mark Kettenis  <kettenis@gnu.org>
6819         * sysdeps/mach/hurd/readdir64.c: New file.
6820         * sysdeps/mach/hurd/readdir64_r.c: New file.
6822 2001-01-07  Mark Kettenis  <kettenis@gnu.org>
6824         * sysdeps/mach/hurd/fstatvfs.c (fstatvfs): Add comment about
6825         `struct statfs' and `struct statvfs' being identical.
6826         * sysdeps/mach/hurd/statvfs.c (statvfs): Likewise.
6828 2001-01-06  Mark Kettenis  <kettenis@gnu.org>
6830         * sysdeps/mach/hurd/fstatfs64.c: New file.
6831         * sysdeps/mach/hurd/fstatvfs64.c: New file.
6832         * sysdeps/mach/hurd/statfs64.c: New file.
6833         * sysdeps/mach/hurd/statvfs64.c: New file.
6834         * sysdeps/mach/hurd/statfsconv.c: New file.
6835         * sysdeps/mach/hurd/Dist: Add statfsconv.c.
6837 2001-01-06  Ulrich Drepper  <drepper@redhat.com>
6839         * iconv/skeleton.c: Reset outbuf for next round of the loop.
6840         Reported by Owen Taylor <otaylor@redhat.com>.
6841         * iconv/Makefile (tests): Add tst-iconv3.
6842         * iconv/tst-iconv3.c: New file.
6844         * iconvdata/ibm930.c: Fix handling of state.  Optimize a bit.
6845         * iconvdata/ibm933.c: Likewise.
6846         * iconvdata/ibm935.c: Likewise.
6847         * iconvdata/ibm937.c: Likewise.
6848         * iconvdata/ibm939.c: Likewise.
6849         * iconvdata/ibm930.h: Adjust single byte table for optimization.
6850         * iconvdata/ibm933.h: Likewise.
6851         * iconvdata/ibm935.h: Likewise.
6852         * iconvdata/ibm939.h: Likewise.
6854         * iconvdata/testdata/IBM930: Add misssing SI.
6855         * iconvdata/testdata/IBM933: Likewise.
6856         * iconvdata/testdata/IBM935: Likewise.
6857         * iconvdata/testdata/IBM937: Likewise.
6858         * iconvdata/testdata/IBM939: Likewise.
6860 2001-01-06  Andreas Jaeger  <aj@suse.de>
6862         * configure.in: Check for old add-ons that shouldn't be used with
6863         current glibc anymore.
6865 2001-01-06  Mark Kettenis  <kettenis@gnu.org>
6867         * sysdeps/mach/hurd/readdir_r.c (__readdir_r): Return error number
6868         instead of -1 on failure.  Don't forget to copy file name into
6869         *ENTRY if successful.  Set *RESULT to NULL upon reaching the end
6870         of the directory.
6872 2001-01-06  Mark Kettenis  <kettenis@gnu.org>
6874         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Don't forget to
6875         copy st_atime member.
6877 2001-01-05  Ulrich Drepper  <drepper@redhat.com>
6879         * io/ftw.c (ftw_dir): Don't add a second slash at the beginning
6880         for searches from the root directory.
6881         Reported by loris <loris@iol.it> [PR libc/1991].
6882         * io/Makefile (tests): Add bug-ftw1.
6883         * io/bug-ftw1.c: New file.
6885         * elf/dl-support.c (non_dynamic_init): Don't define DL_FIND_AUXV
6886         if it is not available.  Instead use it only if it is available.
6887         * sysdeps/unix/sysv/linux/ldsodefs.h: New file.
6889         * iconv/gconv_simple.c (internal_ics4_loop): Correct test for
6890         overflowing output buffer.
6891         (internal_ucs4_loop_unaligned): Likewise.
6892         (ucs4_internal_loop): Likewise.
6893         (ucs4_internal_loop_unaligned): Likewise.
6894         (internal_ucs4le_loop): Likewise.
6895         (internal_ucs4le_loop_unaligned): Likewise.
6896         (ucs4le_internal_loop): Likewise.
6897         (ucs4le_internal_loop_unaligned): Likewise.
6898         Reported by Owen Taylor <otaylor@redhat.com>.
6899         * iconv/Makefile (tests): Add tst-iconv2.
6900         * iconv/tst-iconv2.c: New file.
6902 2001-01-04  H.J. Lu  <hjl@gnu.org>
6904         * elf/dl-support.c (DL_FIND_AUXV): New.  Defined if not defined.
6905         (_dl_clktck): Declared.
6906         (non_dynamic_init): Take 3 arguments.
6907         Set _dl_pagesize, _dl_platform and _dl_clktck from AUX.
6909 2001-01-01  Bruno Haible  <haible@clisp.cons.org>
6911         Finish implementation of plural form handling.
6912         * intl/dcigettext.c (known_translation_t): Rename 'domain' field to
6913         'domainname'.  Remove 'plindex' field.  Add 'domain' and
6914         'translation_length' fields.
6915         (transcmp): Don't compare 'plindex' fields.
6916         (plural_lookup): New function.
6917         (DCIGETTEXT): Change cache handing in the plural case.  Don't call
6918         plural_eval before the translation and its catalog file have been
6919         found.  Remove plindex from cache key.  Add 'translation_length' and
6920         'domain' to cache result.
6921         (_nl_find_msg): Remove index argument, return length of translation
6922         to the caller instead.  Weaken comparison of string lengths, to account
6923         for plural entries.  Call iconv() on the entire result string, not
6924         only on the portion needed so far.
6925         * intl/loadinfo.h (_nl_find_msg): Remove index argument, add lengthp
6926         argument.
6927         * intl/loadmsgcat.c (_nl_load_domain): Adapt to _nl_find_msg change.
6929 2001-01-04  Ulrich Drepper  <drepper@redhat.com>
6931         * intl/plural.y (yylex): Minimal improvement in number scanner.
6933 2000-07-31  Bruno Haible  <haible@clisp.cons.org>
6935         * intl/plural.y: Include config.h.  Needed to define 'inline' away for
6936         C compilers that don't support it.
6937         (yylex): Don't use gcc specific case range syntax.
6938         * intl/loadmsgcat.c (INIT_GERMANIC_PLURAL): New macro, for old
6939         compilers.
6941 2000-10-12  Bruno Haible  <haible@clisp.cons.org>
6943         * intl/finddomain.c: Remove unneeded includes.
6945 2000-10-12  Bruno Haible  <haible@clisp.cons.org>
6947         * intl/localealias.c (memcpy): Return first argument, just like the
6948         real memcpy function does.
6949         * intl/bindtextdom.c (memcpy): Likewise.
6950         * intl/finddomain.c (memcpy): Likewise.
6951         * intl/l10nflist.c (memcpy): Likewise.
6952         * intl/textdomain.c (memcpy): Likewise.
6953         From Paul Eggert <eggert@twinsun.com>.
6955 2001-01-03  Jakub Jelinek  <jakub@redhat.com>
6957         * resolv/resolv.h (struct __res_state): Add nsinit field.
6958         * resolv/res_send.c (res_nsend): Use it instead of nscount.
6959         * resolv/res_init.c (__res_vinit): Initialize it.
6960         (res_nclose): Clear it instead of nscount.
6962 2001-01-04  Ulrich Drepper  <drepper@redhat.com>
6964         * malloc/mtrace.pl: Fix matching of addresses.
6965         Patch by Aharon Robbins <arnold@skeeve.com>.
6967         * Versions.def (ld): Add GLIBC_2.2.
6969         * catgets/gencat.c: Copyright 2001.
6970         * csu/version.c: Likewise.
6971         * debug/catchsegv.sh: Likewise.
6972         * debug/xtrace.sh: Likewise.
6973         * elf/ldconfig.c: Likewise.
6974         * elf/sprof.c: Likewise.
6975         * iconv/iconv_prog.c: Likewise.
6976         * locale/locale.c: Likewise.
6977         * locale/localedef.c: Likewise.
6978         * malloc/memusage.sh: Likewise.
6979         * malloc/mtrace.pl: Likewise.
6980         * nscd/nscd.c: Likewise.
6981         * posix/getconf.c: Likewise.
6983 2001-01-04  Mark Kettenis  <kettenis@gnu.org>
6985         * include/stdio.h: Only provide __getwc_unlocked prototype if
6986         USE_IN_LIBIO is defined.
6988 2001-01-04  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
6990         * sysdeps/unix/sysv/linux/sh/socket.S (__socket): Fix error code
6991         handling.
6993 2001-01-03  Andreas Schwab  <schwab@suse.de>
6995         * sysdeps/generic/strtoll.c: Remove unused __strtoq_internal alias.
6996         * sysdeps/generic/strtoull.c: Remove unused __strtouq_internal alias.
6998         * sysdeps/wordsize-64/strtol.c: Add strtoq alias and fix strtoll alias.
6999         * sysdeps/wordsize-64/strtoul.c: Add strtouq alias and fix
7000         strtoull alias.
7001         * sysdeps/wordsize-64/wcstol.c: Add wcstoq alias and fix wcstoll alias.
7002         * sysdeps/wordsize-64/wcstoul.c: Add wcstouq alias and fix
7003         wcstoull alias.
7005         * sysdeps/generic/strtoul.c: Make sure we find strtol.c in this
7006         directory.
7007         * sysdeps/generic/strtol_l.c: Likewise.
7008         * sysdeps/generic/strtoul_l.c: Likewise.
7009         * sysdeps/generic/wcstoul.c: Likewise, for wcstol.c.
7011         * sysdeps/wordsize-64/strtol_l.c: Fix alias.
7012         * sysdeps/wordsize-64/strtoul_l.c: Likewise.
7013         * sysdeps/wordsize-64/wcstol_l.c: Fix alias.
7014         * sysdeps/wordsize-64/wcstoul_l.c: Likewise.
7016 2001-01-04  Andreas Jaeger  <aj@suse.de>
7018         * nss/nsswitch.c: Include files for missing prototypes, remove
7019         buggy declaration of prototypes.
7021 2001-01-03  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
7023         * resolv/Versions: Fix bracing.
7024         * sysdeps/powerpc/soft-fp/Versions: Likewise.
7025         * sysdeps/sparc/sparc64/soft-fp/Versions: Likewise.
7027 2001-01-02  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
7029         * sysdeps/powerpc/dl-machine.c (__process_machine_rela): Fix typo.
7031 2001-01-02  Ulrich Drepper  <drepper@redhat.com>
7033         * manual/Makefile (TEXI2PDF): Change to texi2dvi --pdf.
7034         Suggested by Minko Markov <mmarkov@home.com>.
7036 2001-01-02  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
7038         * sysdeps/powerpc/elf/start.S (__data_start): Make it global.
7039         * sysdeps/powerpc/dl-machine.c (dl_reloc_overflow): Print the name of
7040         the failing symbol.
7041         (__process_machine_rela): Pass symbol to dl_reloc_overflow().
7043 2001-01-02  Ben Collins  <bcollins@debian.org>
7045         * time/tzset.c (tzset_internal): Make sure we fall back to UTC
7046         if TZ is not set and TZDEFAULT is not present.
7048 2001-01-01  Ben Collins  <bcollins@debian.org>
7050         * string/strings.h: Make sure we declare our functions even if
7051         string.h is already included, based on whether or not __USE_BSD is
7052         defined.
7054 2001-01-02  Ulrich Drepper  <drepper@redhat.com>
7056         * dlfcn/dlerror.c (dlerror): Handle call of dlerror() before any
7057         other dlopen() and dlsym().
7058         Based on a patch by Ben Collins <bcollins@debian.org>.
7060 2001-01-02  Andreas Jaeger  <aj@suse.de>
7062         * dlfcn/errmsg1.c (main): Call dlerror initially.
7063         Reported by Ben Collins <bcollins@debian.org>.
7065 2001-01-02  Ulrich Drepper  <drepper@redhat.com>
7067         * intl/dcigettext.c (guess_category_value): Rewrite so that LANGUAGE
7068         value is ignored if the selected locale is the C locale.
7069         * intl/tst-gettext.c: Set locale for above change.
7070         * intl/tst-translit.c: Likewise.
7072 2001-01-02  Andreas Jaeger  <aj@suse.de>
7074         * libio/wgenops.c (_IO_wdoallocbuf): Use correct wide access macro.
7075         (_IO_switch_to_wget_mode): Likewise.
7076         (_IO_sputbackwc): Likewise.
7077         (_IO_sungetwc): Use wint_t for result.
7079         * stdio-common/vfscanf.c (__vfscanf): Use WINT_T for done.
7081         * sysdeps/generic/strtol.c (strtol): Make cnt size_t for correct
7082         signedness.
7084         * sysdeps/generic/printf_fphex.c (putc): Cast _IO_putwc_unlocked
7085         to (int) to avoid warnings.
7086         * stdio-common/printf_fp.c (putc): Likewise.
7087         * stdio-common/printf_size.c (putc): Likewise.
7089         * sysdeps/generic/dl-sysdep.c (_dl_important_hwcaps): Make
7090         constant unsigned.
7092 2001-01-01  Andreas Jaeger  <aj@suse.de>
7094         * inet/rcmd.c (rcmd_af): Use socklen_t for len.
7096 2000-12-31  Andreas Jaeger  <aj@suse.de>
7098         * include/libc-internal.h: Add prototype for __libc_freeres.
7100         * sysdeps/unix/sysv/linux/init-first.c: Include <libc-internals.h>
7101         for prototypes, remove redundant prototypes.
7102         * gmon/gmon.c: Likewise.
7103         * sysdeps/unix/i386/i586/clock_getres.c: Likewise.
7104         * sysdeps/unix/i386/i586/clock_gettime.c: Likewise.
7105         * malloc/mtrace.c: Likewise.
7107         * sysdeps/generic/enbl-secure.c: Include <libc-internals.h> for
7108         prototypes.
7109         * elf/soinit.c: Likewise.
7110         * sysdeps/generic/prof-freq.c: Likewise.
7111         * sysdeps/mach/hurd/profil.c: Likewise.
7112         * debug/noophooks.c: Likewise.
7113         * debug/pcprofile.c: Likewise.
7114         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Likewise.
7115         * sysdeps/generic/get_clockfreq.c: Likewise.
7116         * malloc/set-freeres.c: Likewise.
7118         * locale/localeinfo.h: Add internal prototypes.
7120         * elf/rtld.c (dl_main): Fix prototype.
7122         * iconvdata/tst-table-to.c (main): Use return instead of exit to
7123         avoid warning.
7125         * nis/rpcsvc/yp_prot.h: Remove __P.
7126         * nis/rpcsvc/ypupd.h: Likewise.
7127         * nis/rpcsvc/yp.h: Likewise.
7129         * sunrpc/rpc_main.c: Add noreturn attributes.
7130         * sunrpc/rpc_scan.h: Likewise.
7132         * sunrpc/rpc_hout.c (storexdrfuncdecl): Make static.
7134         * sunrpc/rpcinfo.c: Add noreturn attribute to brdcst.
7136         * sunrpc/proto.h: Add noreturn attributes to error and crash.
7138         * posix/bsd-getpgrp.c: Add prototype to avoid warning.
7140         * sunrpc/svc_unix.c: Include <rpc/svc.h> for prototypes.
7142         * sunrpc/create_xid.c: Include <rpc/svc.h> for prototypes.
7144         * include/rpc/rpc_msg.h: Add prototypes for some functions.
7145         * include/rpc/auth.h: Likewise.
7146         * include/rpc/auth_des.h: Likewise.
7147         * include/rpc/clnt.h: Likewise.
7148         * include/rpc/rpc.h: Likewise.
7149         * include/rpc/svc.h: Likewise.
7150         * include/rpc/svc_auth.h: Likewise.
7152         * include/rpc/des_crypt.h: New file.
7154         * malloc/memusagestat.c (main): Use return instead of exit to
7155         avoid warning.
7156         * io/pwd.c (main): Likewise.
7157         * iconvdata/tst-table-from.c (main): Likewise.
7158         * ctype/test_ctype.c (main): Likewise.
7159         * setjmp/tst-setjmp.c (main): Likewise.
7160         * signal/tst-signal.c (main): Likewise.
7161         * stdlib/tst-strtol.c (main): Likewise.
7162         * stdlib/tst-strtod.c (main): Likewise.
7163         * stdlib/tst-strtoll.c (main): Likewise.
7164         * stdlib/tst-xpg-basename.c (main): Likewise.
7165         * dirent/tst-seekdir.c (main): Likewise.
7166         * grp/testgrp.c (main): Likewise.
7167         * inet/test_ifindex.c (main): Likewise.
7168         * io/test-utime.c (main): Likewise.
7169         * posix/test-vfork.c (main): Likewise.
7170         * posix/testfnm.c (main): Likewise.
7171         * stdio-common/temptest.c (main): Likewise.
7172         * stdio-common/test_rdwr.c (main): Likewise.
7173         * stdio-common/tst-fileno.c (main): Likewise.
7174         * stdio-common/tst-sscanf.c (main): Likewise.
7175         * stdio-common/tstscanf.c (main): Likewise.
7176         * string/bug-strncat1.c (main): Likewise.
7177         * string/bug-strpbrk1.c (main): Likewise.
7178         * string/bug-strspn1.c (main): Likewise.
7179         * string/test-ffs.c (main): Likewise.
7180         * string/tst-inlcall.c (main): Likewise.
7181         * string/tst-svc.c (main): Likewise.
7182         * timezone/test-tz.c (main): Likewise.
7183         * wctype/test_wcfuncs.c (main): Likewise.
7184         * wctype/test_wctype.c (main): Likewise.
7186         * stdlib/tst-random.c: Add attribute noreturn to fail.
7188 2000-12-28  Wolfram Gloger  <wg@malloc.de>
7190         * malloc/malloc.c (MALLOC_COPY): Handle case if source and
7191         destination overlap.  Assume dest is always below source if
7192         overlapping.
7194 2000-12-30  Ulrich Drepper  <drepper@redhat.com>
7196         * elf/dl-close.c (_dl_close): We can ignore the NODELETE flag if the
7197         object was not yet initialized.
7199 2000-12-28  H.J. Lu  <hjl@gnu.org>
7201         * elf/dl-deps.c (_dl_map_object_deps): Make sure the DSO state
7202         is always consistent even if its dependency is failed.
7204         * elf/dl-open.c (_dl_open): Increment the open count before
7205         calling _dl_close () in case of failure.
7207         * elf/neededtest4.c: New file.
7208         * elf/neededobj5.c: New file.
7209         * elf/neededobj6.c: New file.
7211         * elf/Makefile (distribute): Add neededobj5.c and neededobj6.c.
7212         (tests): Add neededtest4.
7213         (modules-names): Add neededobj5 and neededobj6.
7214         ($(objpfx)neededobj6.so): New target.
7215         ($(objpfx)neededtest4): New target.
7216         ($(objpfx)neededtest4.out): New target.
7218 2000-12-28  Joseph S. Myers  <jsm28@cam.ac.uk>
7220         * misc/sys/cdefs.h (__attribute_format_strfmon__): Define.
7221         * stdlib/monetary.h: Add strfmon format attributes.
7223 2000-12-28  Roland McGrath  <roland@frob.com>
7225         * sysdeps/mach/hurd/ioctl.c (do_ioctl): Avoid double-increment after
7226         __mempcpy does it for us.
7228 2000-12-28  Andreas Jaeger  <aj@suse.de>
7230         * sysdeps/generic/dl-environ.c: Add prototype for unsetenv.
7232         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Add prototype for
7233         __new_setrlimit.
7235         * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Add prototype for
7236         __old_getrlimit64.
7238         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Add prototype for
7239         __new_getrlimit.
7241         * sysdeps/unix/sysv/linux/i386/chown.c: Add prototypes for
7242         __chown_is_lchown and __real_chown.
7244         * sysdeps/generic/ldsodefs.h: Add noreturn attribute to
7245         _dl_reloc_bad_type.
7247         * sunrpc/rpc_hout.c (print_funcdef): Add break statement to shut
7248         up GCC's warning about "deprecated use of label at end of compound
7249         statement."
7250         * sunrpc/rpc_cout.c (emit_inline): Likewise.
7252         * gmon/bb_exit_func.c: Include <sys/gmon.h> for internal
7253         prototypes.
7254         Remove struct bb and __bb_head since those are declared by
7255         sys/gmon.h.
7257 2000-12-22  Ben Collins  <bcollins@debian.org>
7259         * manual/charset.texi: Fix typo in description of WCHAR_MAX.
7261         * manual/argp.texi: Document argp_domain as part of struct argp.
7263 2000-12-28  Andreas Jaeger  <aj@suse.de>
7265         * catgets/Makefile (generated): Add sample.SJIS.cat.
7267         * sunrpc/rpc_dtable.c: Include rpc/clnt.h for prototypes.
7269         * elf/dl-minimal.c: Add prototypes.
7271         * include/locale.h: Add internal prototypes.
7272         * include/sys/gmon.h: Likewise.
7274         * dlfcn/errmsg1mod.c: Add prototype for foo to shut up GCC.
7276 2000-12-27  Ben Collins  <bcollins@debian.org>
7278         * elf/dl-open.c (_dl_open): Correctly set the new objname pointer
7279         when reallocating the error strings.
7280         Reported by Kalle Olavi Niemitalo <kon@iki.fi>
7282 2000-12-27  Ulrich Drepper  <drepper@redhat.com>
7284         * dlfcn/Makefile (tests): Add errmsg1.
7285         (modules-names): Add errmsg1mod.
7286         Add rules to run errmsg1.
7287         * dlfcn/errmsg1.c: New file.
7288         * dlfcn/errmsg1mod.c: New file.
7290         * dlfcn/dlerror.c (dlerror): Always create output string which
7291         includes object file name.
7293         * sysdeps/alpha/alphaev6/memcpy.S: Don't go through unrolled loop
7294         if we would go through it only once.
7295         Patch by Rick Gorton <rick.gorton@api-networks.com>.
7297         * sysdeps/alpha/alphaev67/strncat.S: Fix handling of numeric parameter.
7298         Patch by Richard Henderson <rth@redhat.com>.
7300 2000-12-27  Jakub Jelinek  <jakub@redhat.com>
7302         * malloc/malloc.c (memmove): Add prototypes.
7303         (MALLOC_MEMMOVE): Define.
7304         (chunk_realloc): Use it instead of MALLOC_COPY if source and
7305         destination might overlap.
7307 2000-12-27  Andreas Jaeger  <aj@suse.de>
7309         * stdio-common/printf_fp.c (__printf_fp): Add prototype for nested
7310         function.
7311         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
7312         * locale/programs/locale.c (show_locale_vars): Likewise.
7313         (show_info): Likewise.
7314         * locale/programs/ld-collate.c (collate_output): Likewise.
7315         * locale/programs/ld-ctype.c (set_class_defaults): Likewise.
7316         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
7317         * stdlib/rpmatch.c (rpmatch): Likewise.
7319         * setjmp/tst-setjmp.c: Make local functions static.
7320         * setjmp/jmpbug.c: Likewise.
7321         * signal/tst-signal.c: Likewise.
7322         * stdio-common/tfformat.c: Likewise.
7323         * string/tst-svc.c: Likewise.
7324         * time/clocktest.c: Likewise.
7325         * time/tst-getdate.c: Likewise.
7326         * dirent/list.c: Likewise.
7327         * dirent/opendir-tst1.c: Likewise.
7328         * posix/runtests.c: Likewise.
7329         * posix/tst-getaddrinfo.c: Likewise.
7330         * posix/tst-chmod.c: Likewise.
7331         * posix/wordexp-test.c: Likewise.
7332         * misc/tst-efgcvt.c: Likewise.
7333         * timezone/tst-timezone.c: Likewise.
7334         * rt/tst-clock.c: Likewise.
7335         * rt/tst-shm.c: Likewise.
7336         * rt/tst-aio2.c: Likewise.
7337         * rt/tst-aio3.c: Likewise.
7338         * rt/tst-aio4.c: Likewise.
7339         * rt/tst-aio5.c: Likewise.
7341         * dlfcn/failtest.c: Add prototype for foo.
7343         * dlfcn/glrefmain.c: Add prototype for do_test.
7345         * dlfcn/tst-dladdr.c: Add prototype for do_test.
7347         * string/test-ffs.c (main): Add prototype for nested function.
7349         * sunrpc/des_soft.c: Include rpc/des_crypt.h for prototype.
7351         * nss/XXX-lookup.c: Add prototype to shut up GCC.
7353         * include/netinet/ether.h (DECLARE_NSS_PROTOTYPES): Fix
7354         setetherent prototype.
7355         Add internal interfaces.
7357         * nis/nss_nis/nis-ethers.c (_nss_nis_setetherent): Likewise.
7358         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent): Likewise.
7360         * resolv/res_data.c: Don't add (conflicting) prototypes for _LIBC.
7362         * nis/nis_intern.h: Add prototype for __pmap_getnisport.
7364         * nss/nss_files/files-ethers.c: Include netinet/ether.h to get
7365         prototypes, remove struct etherent since it's declared in ether.h.
7366         Fix ntohost declaration.
7368         * elf/dl-profile.c (_dl_mcount): Add empty statement to shut up GCC.
7370         * include/getopt.h: Add internal interfaces.
7371         * include/termios.h: Likewise.
7372         * include/resolv.h: Likewise.
7373         * include/netdb.h: Likewise.
7374         * include/grp.h: Likewise.
7375         * include/pwd.h: Likewise.
7376         * include/shadow.h: Likewise.
7377         * include/rpc/netdb.h: Likewise.
7378         * include/setjmp.h: Likewise.
7380         * include/stdio.h: Add prototypes for compatibility functions.
7381         * include/grp.h: Likewise.
7382         * include/pwd.h: Likewise.
7383         * include/shadow.h: Likewise.
7385         * include/fenv.h: Define internal interfaces.
7387 2000-12-27  Ulrich Drepper  <drepper@redhat.com>
7389         * sysdeps/generic/bits/byteswap.h (__bswap_64): Handle constant
7390         argument case separately.
7391         * sysdeps/i386/bits/byteswap.h (__bswap_64): Likewise.
7393 2000-12-27  Andreas Jaeger  <aj@suse.de>
7395         * include/sys/wait.h: Add some prototypes.
7396         * Rules (dummy.c): Create also prototype to shut up GCC.
7398 2000-12-27  Andreas Jaeger  <aj@suse.de>
7400         * sysdeps/mach/hurd/if_index.c (__protocol_available): Uncomment,
7401         it's not needed at the moment.
7402         * sysdeps/generic/if_index.c (__protocol_available): Likewise.
7403         * sysdeps/unix/sysv/linux/if_index.c (__protocol_available): Likewise.
7405 2000-12-26  Andreas Jaeger  <aj@suse.de>
7407         * libio/getc_u.c: Include stdio.h via system path to get internal
7408         prototypes.
7409         * libio/getwc_u.c: Likewise.
7411         * stdlib/strfmon.c: Fix prototype of __printf_fp.
7413         * stdio-common/vfprintf.c (process_arg): Move __printf_fphex and
7414         __printf_fp prototypes to ...
7415         * include/printf.h: ...here.
7417         * include/stdio.h: Add some internal prototypes to shut up GCC.
7418         * include/stdlib.h: Likewise.
7420         * sysdeps/posix/sigpause.c (__sigpause): Use ISO C prototype
7421         declaration.
7423         * include/signal.h: Add prototypes for internal sigpause
7424         interfaces.
7426 2000-12-26  Ulrich Drepper  <drepper@redhat.com>
7428         * sysdeps/generic/bits/byteswap.h (__bswap_64): Make it usable for
7429         64bit platforms.  Reported by Dave Gilbert <gilbertd@treblig.org>.
7431         * string/Makefile (tests): Add tst-bswap.
7432         * string/tst-bswap.c: New file.
7434 2000-12-11  Bruno Haible  <haible@clisp.cons.org>
7436         * Makefile ($(inst_includedir)/gnu/stubs.h): Sort in the C locale.
7438 2000-12-26  Ulrich Drepper  <drepper@redhat.com>
7440         * sunrpc/Makefile (rpcgen-cmd): Use single quotes in sed call.
7441         Patch by Ed Connell <Ed.Connell@sas.com>.
7443 2000-12-24  Ulrich Drepper  <drepper@redhat.com>
7445         * locale/iso-639.def: Correct one entry.  Add two missing entries.
7447         * locale/iso-4217.def: Change entry for Eritrea.
7448         Reported by Daniel Yacob <yacob@geez.org>.
7450 2000-12-23  Ben Collins  <bcollins@debian.org>
7452         * manual/charset.texi (Extended Char Intro): Fix typo in ISO 6937
7453         description.
7455         * manual/stdio.texi (Dynamic Output): Document the return value of
7456         asprintf.  Also make the asprintf/snprintf examples a little
7457         better (check for some error returns).
7459 2000-12-22  Andreas Jaeger  <aj@suse.de>
7461         * include/stdio.h: Add __ftrylockfile prototype.
7463 2000-12-21  H.J. Lu  <hjl@gnu.org>
7465         * sysdeps/ia64/fpu/math_ldbl.h (ieee_long_double_shape_type):
7466         Make sign_exponent element signed.
7468         * sysdeps/ieee754/ldbl-96/math_ldbl.h (ieee_long_double_shape_type):
7469         Fix a typo.
7471         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Remove dead branch.
7473 2000-12-21  Andreas Jaeger  <aj@suse.de>
7475         * nis/nss_nisplus/nisplus-ethers.c (struct etherent): Removed.
7476         * inet/ether_hton.c: Likewise
7477         * inet/ether_ntoh.c: Likewise.
7479         * nis/nss_nis/nis-ethers.c (_nss_nis_getntohost_r): Fix
7480         declaration to match prototype.
7482         * include/netinet/ether.h (struct etherent): Declare here so that
7483         all implementations use the same struct.
7485         * nis/nss_nis/nis-ethers.c: Include netinet/ether.h to get
7486         prototypes.
7487         (struct ether): Removed.
7488         Use struct etherent instead of ether everywhere.
7490         * include/rpc/auth.h (DECLARE_NSS_PROTOTYPES): New.
7492         * include/rpc/auth_des.h (DECLARE_NSS_PROTOTYPES): New.
7494         * sunrpc/publickey.c: Include auth_des.h for prototypes.
7496 2000-12-20  Ulrich Drepper  <drepper@redhat.com>
7498         * math/test-misc.c: Add more tests for nextafter functions.
7500         * sysdeps/i386/fpu/s_nextafterl.c: Handle change from denormal to
7501         normal correctly.  Correct test for sign.
7502         Based on a patch by HJ Lu.
7504 2000-12-19  Ulrich Drepper  <drepper@redhat.com>
7506         * Makeconfig (preprocess-version): Add -traditional to gcc call.
7507         Cleanup sed calls.
7509 2000-12-19  Andreas Jaeger  <aj@suse.de>
7511         * include/netinet/ether.h (DECLARE_NSS_PROTOTYPES): New.
7513         * nis/nis_intern.h: Add prototype for __do_niscall3.
7515         * nis/nss_nis/nis-rpc.c (_nss_nis_setrpcent): Fix declaration to
7516         match prototype.
7518         * include/netdb.h (DECLARE_NSS_PROTOTYPES): Reformat.
7520         * include/rpc/netdb.h (DECLARE_NSS_PROTOTYPES): New.
7522         * include/aliases.h (DECLARE_NSS_PROTOTYPES): New.
7524 2000-12-18  Ulrich Drepper  <drepper@redhat.com>
7526         * math/test-misc.c: Add more tests for nextafter.
7527         * sysdeps/i386/fpu/s_nextafterl.c: Handle decrement for x<0 correctly.
7528         * sysdeps/ieee754/ldbl-96/math_ldbl.h
7529         (ieee_long_double_shape_type): Make sign_exponent element signed.
7531         * manual/message.texi: Add Estonian to plural overview list.
7532         Correct rule for Slavic languages.
7533         Patch by Stanislav Brabec <utx@penguin.cz>.
7535         * nis/nss_nis/nis-netgrp.c: Remove unnecessary initializations.
7537 2000-12-18  Andreas Jaeger  <aj@suse.de>
7539         * test-skeleton.c: Use temp_name_list instead of name_list to
7540         avoid collision with name_list from inet/netgroup.h.
7542         * nss/nss_files/files-network.c (NEED_H_ERRNO): Define.
7544         * include/grp.h (DECLARE_NSS_PROTOTYPES): New.
7545         * include/pwd.h (DECLARE_NSS_PROTOTYPES): New.
7546         * include/netdb.h (DECLARE_NSS_PROTOTYPES): New.
7547         * include/shadow.h (DECLARE_NSS_PROTOTYPES): New.
7549         * hesiod/nss_hesiod/hesiod-proto.c (_nss_hesiod_setprotoent): Fix
7550         declaration to match prototype.
7551         * hesiod/nss_hesiod/hesiod-pwd.c (_nss_hesiod_setpwent): Likewise.
7552         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_setgrent): Likewise.
7553         * hesiod/nss_hesiod/hesiod-service.c (_nss_hesiod_setservent):
7554         Likewise.
7555         * nis/nss_nis/nis-grp.c (_nss_nis_setgrent): Likewise.
7556         * nis/nss_nis/nis-pwd.c (_nss_nis_setpwent): Likewise.
7557         * nis/nss_nis/nis-proto.c (_nss_nis_setprotoent): Likewise.
7558         * nis/nss_nis/nis-service.c (_nss_nis_setservent): Likewise.
7559         (_nss_nis_getservbyport_r): Likewise.
7560         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent): Likewise.
7561         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent): Likewise.
7562         * nis/nss_nis/nis-network.c (_nss_nis_getnetent_r): Likewise.
7563         (_nss_nis_setnetent): Likewise
7564         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
7565         (_nss_nis_endnetgrent): Likewise.
7566         * nis/nss_nisplus/nisplus-netgrp.c (_nss_nisplus_endnetgrent):
7567         Likewise.
7568         (_nss_nisplus_setnetgrent): Likewise.
7569         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Likewise.
7570         * nis/nss_nisplus/nisplus-pwd.c (_nss_nisplus_setpwent): Likewise.
7571         * nis/nss_nisplus/nisplus-grp.c (_nss_nisplus_setgrent): Likewise.
7572         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_setnetent):
7573         Likewise.
7574         * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_sethostent):
7575         Likewise.
7576         * nis/nss_nisplus/nisplus-service.c (_nss_nisplus_setservent):
7577         Likewise.
7578         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_setprotoent):
7579         Likewise.
7580         * nis/nss_compat/compat-spwd.c (_nss_compat_setspent): Likewise.
7581         * nis/nss_compat/compat-pwd.c (_nss_compat_setpwent): Likewise.
7582         * nis/nss_compat/compat-grp.c (_nss_compat_setgrent): Likewise.
7583         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Likewise.
7584         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Likewise.
7585         (_nss_dns_getnetbyaddr_r): Likewise.
7587 2000-12-17  Andreas Jaeger  <aj@suse.de>
7589         * sysdeps/generic/k_sinl.c (__kernel_sinl): Fix functions
7590         parameter.
7592         * sysdeps/unix/sysv/linux/shm_open.c (freeit): Make static and add
7593         unused attribute to shut up gcc warnings.
7595         * sysdeps/generic/k_sinl.c: Include math_private for prototypes.
7596         * sysdeps/generic/k_tanl.c: Likewise.
7597         * sysdeps/generic/k_cosl.c: Likewise.
7598         * sysdeps/generic/e_j0l.c: Likewise.
7599         * sysdeps/generic/e_j1l.c: Likewise.
7600         * sysdeps/generic/e_jnl.c: Likewise.
7601         * sysdeps/generic/e_lgammal_r.c: Likewise.
7603         * elf/vismain.c: Move prototypes for functions in vismod*.c to
7604         vismod.h.
7605         * elf/vismod.h: New file.
7606         * elf/Makefile (distribute): Add vismod.h.
7607         * elf/vismod1.c: Include vismod.h.
7608         * elf/vismod2.c: Likewise.
7609         * elf/vismod3.c: Likewise.
7611         * elf/constload3.c: Add prototype declarations to shut up gcc.
7612         * elf/failobj.c: Likewise.
7613         * elf/nodelmod3.c: Likewise.
7614         * elf/filtmod1.c: Likewise.
7615         * elf/filtmod2.c: Likewise.
7616         * elf/reldepmod1.c: Likewise.
7617         * elf/reldepmod2.c: Likewise.
7618         * elf/reldepmod3.c: Likewise.
7619         * elf/reldepmod4.c: Likewise.
7620         * elf/unload2dep.c: Likewise.
7621         * elf/unload2mod.c: Likewise.
7622         * elf/ltglobmod1.c: Likewise.
7623         * elf/pathoptobj.c: Likewise.
7624         * elf/neededobj1.c: Likewise.
7625         * elf/neededobj2.c: Likewise.
7626         * elf/neededobj3.c: Likewise.
7627         * elf/neededobj4.c: Likewise.
7628         * elf/nextmod1.c: Likewise.
7629         * elf/nextmod2.c: Likewise.
7631         * locale/programs/ld-collate.c (collate_finish): Don't use labels
7632         at end of compound statement.
7633         * locale/programs/locale.c (show_info): Likewise.
7634         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Likewise.
7636 2000-12-16  Jakub Jelinek  <jakub@redhat.com>
7638         * catgets/gencat.c (read_input_file): Avoid calling obstack_free
7639         with a pointer not returned by obstack_ functions.
7641 2000-12-16  Ulrich Drepper  <drepper@redhat.com>
7643         * sysdeps/unix/sysv/aix/bits/stat.h (struct stat): Align with AIX
7644         version.
7645         (struct stat64): Likewise.
7646         Reported by Michael Keezer <mkeezer@redhat.com>.
7648         * timezone/asia: Update from tzdata2000h.
7649         * timezone/australasia: Likewise.
7650         * timezone/backward: Likewise.
7651         * timezone/europe: Likewise.
7652         * timezone/northamerica: Likewise.
7653         * timezone/southamerica: Likewise.
7654         * timezone/zone.tab: Likewise.
7656 2000-12-14  Jakub Jelinek  <jakub@redhat.com>
7658         * io/ftw.c (ftw_dir): If process_entry returned non-zero result
7659         and dir.stream is NULL, only free dir.content.
7660         * io/ftwtest.c (cb, main): Add --early-exit option to test it.
7661         * io/ftwtest-sh: Test with --early-exit.
7663 2000-12-13  Jakub Jelinek  <jakub@redhat.com>
7665         * misc/efgcvt.c (FCVT_MAXDIG): Define.
7666         (FCVT_BUFPTR): New variable.
7667         (fcvt): If fcvt_r returns -1 on the static short buffer,
7668         try to malloc a sufficiently large one and retry.
7669         (free_mem): New function.
7670         * misc/qefgcvt.c (FCVT_MAXDIG): Define.
7671         * misc/tst-efgcvt.c (fcvt_tests): Add new test.
7673 2000-12-15  Ulrich Drepper  <drepper@redhat.com>
7675         * misc/dirname.c (dirname): Fix search for second to last slash.
7677 2000-12-13  Andreas Jaeger  <aj@suse.de>
7679         * misc/tst-dirname.c (main): Fix typo in test to really use
7680         the examples from Unix98.
7681         Reported by Michael Kerrisk <mtk16@ext.canterbury.ac.nz>.
7683 2000-12-09  H.J. Lu  <hjl@gnu.org>
7685         * sysdeps/ia64/fpu/s_fabs.S: New file.
7686         * sysdeps/ia64/fpu/s_fabsf.S: New file.
7687         * sysdeps/ia64/fpu/s_fabsl.S: New file.
7689 2000-12-15  Andreas Jaeger  <aj@suse.de>
7691         * stdio-common/scanf9.c (main): Reformat and change to avoid
7692         warnings.
7694         * stdio-common/tstdiomisc.c: Make local functions static.
7695         * stdio-common/tst-printf.c: Likewise.
7697         * elf/constload2.c: Add prototype declarations to shut up gcc.
7698         * elf/dep1.c: Likewise.
7699         * elf/dep2.c: Likewise.
7700         * elf/dep3.c: Likewise.
7701         * elf/dep4.c: Likewise.
7702         * elf/ltglobmod2.c: Likewise.
7704         * libio/fmemopen.c: Make local functions static.
7706         * elf/Makefile (distribute): Added testobj.h.
7708         * elf/testobj.h: New file.
7710         * elf/testobj1.c: Include testobj.h and move prototype
7711         declarations to testobj.h.
7712         * elf/testobj2.c: Likewise.
7713         * elf/testobj3.c: Likewise.
7714         * elf/testobj4.c: Likewise.
7715         * elf/testobj5.c: Likewise.
7716         * elf/testobj6.c: Likewise.
7717         * elf/testobj1_1.c: Likewise.
7718         * elf/preloadtest.c: Likewise.
7720 2000-12-15  Ben Collins  <bcollins@debian.org>
7722         * misc/sys/cdefs.h: Fix thinko in checks for flexarr macros.
7723         Patch by Akim Demaille <akim@epita.fr> in Debian bug report.
7725 2000-12-14  H.J. Lu  <hjl@gnu.org>
7727         * sysdeps/ieee754/flt-32/s_sincosf.c (__sincosf): The exponent
7728         field in a float is 8 bits, not 11 bits.
7730 2000-12-13  Jakub Jelinek  <jakub@redhat.com>
7732         * math/test-misc.c (main): Adjust m for IEEE quad long double.
7734 2000-12-13  Andreas Jaeger  <aj@suse.de>
7736         * manual/message.texi (Using gettextized software): Fix typo.
7738         * manual/charset.texi (Converting a Character): Fix mbstouwcs
7739         program to compile.
7740         Patch by Martin Buchholz <martin@xemacs.org>.
7742         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Fix typo.
7743         Reported by Michael Kerrisk <mtk16@ext.canterbury.ac.nz>.
7745 2000-12-11  Andreas Jaeger  <aj@suse.de>
7747         * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Declare
7748         kernel_sigset_t and use it.
7749         Patch by Hiroyuki Machida <machida@sm.sony.co.jp>.
7751 2000-12-10  Richard Henderson  <rth@redhat.com>
7753         * sysdeps/alpha/alphaev67/fpu/Implies: New file.
7754         * sysdeps/alpha/alphaev6/fpu/e_sqrtf.S: New file.
7755         * sysdeps/alpha/alphaev6/fpu/e_sqrt.S: New file.
7757 2000-12-10  Jakub Jelinek  <jakub@redhat.com>
7759         * sysdeps/alpha/htonl.S: Fix a typo.
7761 2000-12-10  Jakub Jelinek  <jakub@redhat.com>
7763         * sysdeps/alpha/alphaev6/stxcpy.S: Exchange t8 with t10.
7765 2000-12-10  Andreas Jaeger  <aj@suse.de>
7767         * locale/programs/ld-ctype.c (charclass_symbolic_ellipsis): Fixed
7768         cast as suggested by Jakub Jelinek <jakub@redhat.com> and Ulrich
7769         Drepper <drepper@redhat.com>.
7771 2000-12-09  Andreas Jaeger  <aj@suse.de>
7773         * sysdeps/unix/sysv/linux/mips/sigaction.c: New file.
7775         * sysdeps/unix/sysv/linux/mips/sys/acct.h: Removed, we can use the
7776         generic version.
7777         Patches by Hiroyuki Machida <machida@sm.sony.co.jp>.
7779         * locale/programs/ld-collate.c (handle_ellipsis): Fix format
7780         string.
7782         * locale/programs/ld-ctype.c (charclass_symbolic_ellipsis): Fix
7783         format string.
7785         * nscd/hstcache.c (addhstbyname): Add cast to avoid warning.
7786         * nscd/connections.c (handle_request): Likewise.
7787         * nscd/pwdcache.c (addpwbyname): Likewise.
7788         * nscd/grpcache.c (addgrbyname): Likewise.
7790         * nscd/nscd_conf.c (nscd_parse_file): Remove extra argument.
7792 2000-12-09  Ulrich Drepper  <drepper@redhat.com>
7794         * string/stratcliff.c: Add tests for stpncpy, memcpy, and mempcpy.
7796         * Makeconfig (default_cflags): Make -O2 the default for stable
7797         releases.
7799 2000-12-08  H.J. Lu  <hjl@gnu.org>
7801         * sysdeps/ia64/fpu/s_isinfl.S: Renamed to ...
7802         * sysdeps/ia64/fpu/s_isinf.S: This.
7803         Add a .pred.rel.mutex note to avoid false report.
7805         * sysdeps/ia64/fpu/s_isnanl.S: Renamed to ...
7806         * sysdeps/ia64/fpu/s_isnan.S: This.
7808         * sysdeps/ia64/fpu/s_fpclassify.S: New file.
7809         * sysdeps/ia64/fpu/s_fpclassifyf.S: New file.
7810         * sysdeps/ia64/fpu/s_fpclassifyl.S: New file.
7811         * sysdeps/ia64/fpu/s_isinff.S: New file.
7812         * sysdeps/ia64/fpu/s_isinfl.S: New file.
7813         * sysdeps/ia64/fpu/s_isnanf.S: New file.
7814         * sysdeps/ia64/fpu/s_isnanl.S: New file.
7815         * sysdeps/ia64/fpu/s_finite.S: New file.
7816         * sysdeps/ia64/fpu/s_finitef.S: New file.
7817         * sysdeps/ia64/fpu/s_finitel.S: New file.
7818         * sysdeps/ia64/fpu/s_signbit.S: New file.
7819         * sysdeps/ia64/fpu/s_signbitf.S: New file.
7820         * sysdeps/ia64/fpu/s_signbitl.S: New file.
7821         * sysdeps/ia64/fpu/s_copysign.S: New file.
7822         * sysdeps/ia64/fpu/s_copysignf.S: New file.
7823         * sysdeps/ia64/fpu/s_copysignl.S: New file.
7825 2000-12-08  Ulrich Drepper  <drepper@redhat.com>
7827         * math/libm-test.inc (main): Fix typos in messages.
7829         * string/stratcliff.c: Add test for rawmemchr.
7831 2000-12-08  Jakub Jelinek  <jakub@redhat.com>
7833         * elf/dl-open.c (_dl_open): If objname points right after errstring,
7834         allocate it together with errstring using alloca.
7835         * elf/dl-error.c (_dl_signal_error): If malloc failed, set objname
7836         to "", because it might point to local stack.
7838 2000-12-05  H.J. Lu  <hjl@gnu.org>
7840         * nss/Makefile (routines): Add getnssent and getnssent_r.
7841         * nss/nsswitch.h (__nss_setent): New internal NSS function.
7842         (__nss_endent): Likewise.
7843         (__nss_getent_r): Likewise.
7844         (__nss_getent): Likewise.
7845         * nss/getnssent_r.c: New file.
7846         * nss/getnssent.c: New file.
7847         * nss/getXXent.c (H_ERRNO_VAR): Updated.
7848         (GETFUNC_NAME): Updated to call __nss_getent ().
7849         * nss/getXXent_r.c (H_ERRNO_VAR_P): New.
7850         (STAYOPEN_TMPVAR): Updated.
7851         (STAYOPEN_VAR): Updated.
7852         (SETFUNC_NAME): Updated to call __nss_setent ().
7853         (ENDFUNC_NAME): Updated to call __nss_endent ().
7854         (INTERNAL (REENTRANT_GETNAME)): Updated to call __nss_getent_r ().
7856 2000-12-08  Andreas Jaeger  <aj@suse.de>
7858         * nscd/dbg_log.h (dbg_log): Correct attribute.
7860 2000-12-08  Jakub Jelinek  <jakub@redhat.com>
7862         * elf/dl-load.c (fillin_rpath): Don't assume there is '\0' at
7863         cp + len.  Compute where from dirname.
7864         Reported by <jreiser@BitWagon.com>.
7866 2000-12-08  Richard Henderson  <rth@twiddle.net>
7868         * sysdeps/alpha/_mcount.S: Fix typo.
7869         * sysdeps/alpha/strncpy.S: Likewise.
7871         * sysdeps/alpha/alphaev6/Implies: New file.
7872         * sysdeps/alpha/alphaev67/Implies: New file.
7873         * sysdeps/alpha/alphaev67/ffs.S: New file.
7874         * sysdeps/alpha/alphaev67/ffsll.S: New file.
7875         * sysdeps/alpha/alphaev67/rawmemchr.S: New file.
7876         * sysdeps/alpha/alphaev67/stpcpy.S: New file.
7877         * sysdeps/alpha/alphaev67/stpncpy.S: New file.
7878         * sysdeps/alpha/rawmemchr.S: New file.
7879         * sysdeps/alpha/strcat.S: Tail call to __stxcpy.
7880         * sysdeps/alpha/strcpy.S: Likewise.
7882         From GMP 3.1.1:
7883         * sysdeps/alpha/alphaev6/addmul_1.s: New file.
7885         From rick.gorton@alpha-processor.com:
7886         * sysdeps/alpha/alphaev6/memchr.S: New file.
7887         * sysdeps/alpha/alphaev6/memcpy.S: New file.
7888         * sysdeps/alpha/alphaev6/memset.S: New file.
7889         * sysdeps/alpha/alphaev6/stxcpy.S: New file.
7890         * sysdeps/alpha/alphaev6/stxncpy.S: New file.
7891         * sysdeps/alpha/alphaev67/strcat.S: New file.
7892         * sysdeps/alpha/alphaev67/strchr.S: New file.
7893         * sysdeps/alpha/alphaev67/strlen.S: New file.
7894         * sysdeps/alpha/alphaev67/strncat.S: New file.
7895         * sysdeps/alpha/htonl.S: Use a shorter sequence.
7897 2000-12-08  Jakub Jelinek  <jakub@redhat.com>
7899         * inet/getnameinfo.c (getnameinfo): Fix NI_NOFQDN support.
7900         Reported by <pspencer@fields.utoronto.ca>.
7902 2000-12-07  Jes Sorensen  <jes@linuxcare.com>
7904         * sysdeps/ia64/elf/start.S (__data_start): Add __data_start variable.
7905         Pointed out by Hans Boehm.
7907 2000-12-07  H.J. Lu  <hjl@gnu.org>
7909         * elf/dl-version.c (match_symbol): Check map->l_name[0] for printing.
7911 2000-12-07  Andreas Jaeger  <aj@suse.de>
7913         * misc/error.c: Add format attributes for __error and __error_at_line.
7915         * nscd/dbg_log.h: Add format attribute.
7917 2000-12-08  Ulrich Drepper  <drepper@redhat.com>
7919         * misc/sys/syslog.h: Add format attributes to syslog and vsyslog.
7920         Patch by Joseph S. Myers <jsm28@cam.ac.uk>.
7922 2000-12-07  Dan Pop  <Dan.Pop@cern.ch>
7924         * sysdeps/ia64/strcpy.S: Fix a bug in a recovery code sequence.
7926 2000-12-06  Ulrich Drepper  <drepper@redhat.com>
7928         * sysdeps/unix/sysv/aix/Makefile [$(subdir)==misc]
7929         (sysdep_routines): Add uitrunc.
7930         * sysdeps/unix/sysv/aix/uitrunc.c: New file.
7931         Patches by Michael Keezer <mkeezer@redhat.com>.
7933 2000-12-06  Roland McGrath  <roland@frob.com>
7935         * sysdeps/mach/hurd/ioctl.c (__ioctl): Don't clobber ARG as we copy in
7936         argument data, since it will be used to copy out too (for INOUT).
7937         Reported by Marcus Brinkmann <marcus@gnu.org>.
7939         * sysdeps/mach/hurd/ioctl.c: Include <stdint.h>.
7940         (__ioctl): Use uintptr_t instead of unsigned long int.
7942 2000-12-06  Jim Wilson  <wilson@redhat.com>
7944         * stdlib/l64a.c (l64a): Truncate M to 32-bit value.
7946 2000-12-06  Ulrich Drepper  <drepper@redhat.com>
7948         * stdio-common/printf_fp.c (__printf_fp): Handle decimal point in
7949         x.5 rounding correctly.
7951 2000-12-06  Mark Kettenis  <kettenis@gnu.org>
7953         * stdio-common/perror.c (perror): Conditionalize code dealing with
7954         wide-oriented streams on USE_IN_LIBIO.
7956 2000-12-06  Mark Kettenis  <kettenis@gnu.org>
7958         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup): Mark
7959         as internal_function.
7961 2000-12-05  Ulrich Drepper  <drepper@redhat.com>
7963         * sysdeps/alpha/elf/start.S (__data_start): Define.
7965 2000-12-05  H.J. Lu  <hjl@gnu.org>
7967         * nss/getXXent_r.c (setup): Change the return type to int.
7969 2000-12-05  Ulrich Drepper  <drepper@redhat.com>
7971         * sysdeps/unix/sysv/aix/Makefile [$(subdir)==misc]
7972         (sysdep_routines): Add restf and savef.
7973         * sysdeps/unix/sysv/aix/restf.c: New file.
7974         * sysdeps/unix/sysv/aix/savef.c: New file.
7975         Patches by Michael Keezer <mkeezer@redhat.com>.
7977         * sysdeps/unix/opendir.c (__opendir): Don't use o_directory_works
7978         if O_DIRECTORY is not defined.
7979         Patch by Michael Keezer <mkeezer@redhat.com>.
7981         * include/libc-symbols.h (C_SYMBOL_DOT_NAME): Define.
7982         Patch by Michael Keezer <mkeezer@redhat.com>.
7984         * locale/programs/linereader.c (get_toplvl_escape): Recognize more
7985         than 4 bytes in escape sequence.
7986         Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
7988 2000-12-05  Andreas Jaeger  <aj@suse.de>
7990         * sysdeps/unix/sysv/linux/mips/sys/tas.h (_test_and_set): Don't
7991         set mips2.
7993         * sysdeps/unix/sysv/linux/mips/sysdep.h: New file.
7995         * sysdeps/unix/sysv/linux/mips/sys/syscall.h: Removed.
7997         * sysdeps/unix/mips/sysdep.h: Use SYS_ify.
7998         Patches by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
8000         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Mark as
8001         internal_function.
8002         * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Likewise.
8003         * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start_cleanup): Likewise.
8005         * sysdeps/generic/dl-cache.c: Remove declaration of
8006         _dl_sysdep_read_whole_file.
8008         * elf/dl-load.c (_dl_map_object): Remove declaration of
8009         _dl_load_cache_lookup.
8011         * sysdeps/generic/ldsodefs.h: Add declarations of
8012         _dl_load_cache_lookup, _dl_unload_cache,
8013         _dl_sysdep_read_whole_file, _dl_sysdep_start and
8014         _dl_sysdep_start_cleanup.
8016         * elf/rtld.c: Remove prototypes that are defined in ldsodefs.h
8017         now.
8019         * elf/dl-misc.c: Include <ldsodefs.h> to get prototypes.
8020         * sysdeps/generic/dl-environ.c: Likewise.
8022         * stdio-common/printf_fp.c: Include <gmp.h> instead of
8023         <stdlib/gmp.h>.
8024         * math/atest-exp.c: Likewise.
8025         * math/atest-exp2.c: Likewise.
8026         * math/atest-sincos.c: Likewise.
8027         * stdio-common/_itoa.c: Likewise.
8028         * stdio-common/_itowa.c: Likewise.
8030         * include/gmp.h: New file with internal prototypes.
8032         * sysdeps/generic/longjmp.c: Move _longjmp_unwind declaration from
8033         here to...
8034         * include/setjmp.h: ...here.
8036         * locale/Makefile (routines): Remove codeset_name since it's not
8037         needed anywhere.
8039         * locale/codeset_name.c: Removed.
8041 2000-12-05  Ulrich Drepper  <drepper@redhat.com>
8043         * sysdeps/unix/sysv/aix/sys/param.h: Define MAXHOSTNAMELEN here.
8045 2000-12-05  Andreas Jaeger  <aj@suse.de>
8047         * sysdeps/unix/sysv/linux/sys/param.h: Revert last patch.
8049 2000-12-05  Martin Schwidefsky  <schwidefsky@de.ibm.com>
8051         * sysdeps/unix/sysv/linux/s390/mmap64.S: Use mmap if mmap2 isn't
8052         available.
8054 2000-12-05  Andreas Jaeger  <aj@suse.de>
8056         * nss/test-netdb.c: Mark local functions as static to avoid
8057         warnings.
8058         (main): Use return to silence warning.
8060         * stdlib/test-canon.c (check_path): Mark as static to avoid warning.
8062         * stdio-common/test-popen.c: Mark local functions as static to
8063         avoid warnings.
8064         (main): Use return to silence warning.
8066         * stdlib/testsort.c (compare): Mark as static to avoid warning.
8068         * assert/test-assert.c: Mark local functions as static to avoid
8069         warnings.
8070         * assert/test-assert-perr.c: Likewise.
8072         * math/libm-test.inc (main): Use return to silence warnings.
8074 2000-12-04  Ulrich Drepper  <drepper@redhat.com>
8076         * math/fenv.h: Fix typo in comment.
8078         * math/test-misc.c (main): Add a few more over and underflow tests
8079         for scalb.
8081         * sysdeps/i386/fpu/e_scalb.S: Handle NaN as first parameter correctly.
8082         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
8083         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
8084         * math/w_scalb.c: Don't use matherr except in SVID mode.
8085         * math/w_scalbf.c: Likewise.
8086         * math/w_scalbl.c: Likewise.
8087         * math/test-misc.c: Add test for NaN and scalbl.
8088         Reported by Fred J. Tydeman <tydeman@tybor.com>.
8090 2000-12-04  Ulrich Drepper  <drepper@redhat.com>
8092         * configure.in: Define HAVE_ASM_GLOBAL_DOT_NAME for AIX.
8093         * config.h.in: Add HAVE_ASM_GLOBAL_DOT_NAME.
8094         * include/libc-symbols.h (strong_alias): Define special version
8095         for HAVE_ASM_GLOBAL_DOT_NAME.
8096         (weak_alias): Likewise.
8097         * sysdeps/powerpc/bsd-setjmp.S: Use strong_alias not .set.
8098         * sysdeps/unix/sysv/aix/Makefile [$(subdir)==login]
8099         (sysdep_routines): Add setutxent, getutxent, endutxent, getutxid,
8100         getutxline, pututxline, and utmpxname.
8101         * sysdeps/unix/sysv/aix/fchdir.c: Define __fchdir.
8102         * sysdeps/unix/sysv/aix/lseek.c: Define __libc_lseek alias.
8103         * sysdeps/unix/sysv/aix/open.c: Define __libc_open alias.
8104         * sysdeps/unix/sysv/aix/pread.c: Define pread alias.
8105         * sysdeps/unix/sysv/aix/pread64.c: Define pread64 alias.
8106         * sysdeps/unix/sysv/aix/sysdep.h (JUMPTARGET): Use C_TEXT.
8107         * sysdeps/unix/sysv/aix/bits/types.h: Define __clockid_t and __timer_t.
8108         * sysdeps/unix/sysv/aix/bits/utmp.h: Cleanup.  Add comments.
8109         * sysdeps/unix/sysv/linux/sys/param.h (MAXHOSTNAMELEN): Define.
8110         Patches by Michael Keezer <mkeezer@redhat.com>.
8112 2000-12-04  H.J. Lu  <hjl@gnu.org>
8114         * configure.in: Change --with-oldest-abi=ABI to
8115         --enable-oldest-abi=ABI.
8117 2000-12-02  Bruno Haible  <haible@clisp.cons.org>
8119         * stdio-common/perror.c (perror): If stderr is wide-oriented, use
8120         fwprintf instead of fprintf.
8122 2000-12-04  Ulrich Drepper  <drepper@redhat.com>
8124         * sysdeps/alpha/fpu/bits/mathdef.h: Remove FLT_EVAL_METHOD and
8125         DECIMAL_DIG definitions.
8126         * sysdeps/arm/fpu/bits/mathdef.h: Likewise
8127         * sysdeps/generic/bits/mathdef.h: Likewise
8128         * sysdeps/i386/fpu/bits/mathdef.h: Likewise
8129         * sysdeps/ia64/fpu/bits/mathdef.h: Likewise
8130         * sysdeps/m68k/fpu/bits/mathdef.h: Likewise
8131         * sysdeps/powerpc/fpu/bits/mathdef.h: Likewise
8132         * sysdeps/sparc/fpu/bits/mathdef.h: Likewise
8133         * sysdeps/sh/sh4/fpu/bits/mathdef.h: Likewise
8135 2000-12-03  Ulrich Drepper  <drepper@redhat.com>
8137         * math/test-fenv.c (main): Use return instead of exit to avoid warning.
8139         * math/atest-exp.c: Mark local functions as static to avoid warnings.
8140         * math/atest-exp2.c: Likewise.
8141         * math/atest-sincos.c: Likewise.
8143         * sysdeps/i386/fpu/bits/mathdef.h (DECIMAL_DIG): Correct value.
8144         Reported by Fred J. Tydeman <tydeman@tybor.com>.
8146         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Hopefully fix
8147         the handling of denormalized numbers.
8149         * math/test-misc.c (main): Test for fpclassify and pseudo denormal
8150         numbers on x86.
8151         * sysdeps/i386/fpu/fpclassifyl.c: New file.
8153         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Handle the
8154         pseudo denormal representation of LDBL_MIN.
8156         * iconvdata/SJIS.irreversible: Remove unnecessary entries.
8157         * iconvdata/EUC-JP.irreversible: Remove unnecessary entries.
8159         * iconvdata/sjis.c: Enable round-trip mapping of backslash and tilde.
8160         * iconvdata/jis0208.c: Likewise.
8161         * iconvdata/jis0212.c: Likewise.
8162         Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
8164         * math/test-misc.c (main): More tests for frexp and some for
8165         fpclassify and isnormal.
8167         * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf): Correct
8168         test for subnormal.
8169         Reported by Fred J. Tydeman <tydeman@tybor.com>.
8171         * math/test-misc.c (main): Add tests for frexp.
8172         Reported by Fred J. Tydeman <tydeman@tybor.com>.
8173         * sysdeps/i386/fpu/s_frexpl.S: Don't overflow during the computation.
8175 2000-12-02  H.J. Lu  <hjl@gnu.org>
8177         * locale/lc-time.c (_nl_init_era_entries): Pass L'\0' instead of
8178         '\0' to wcschr.
8180 2000-12-02  Ulrich Drepper  <drepper@redhat.com>
8182         * sysdeps/i386/fpu/s_frexp.S: Add missing fwait.
8183         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
8184         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
8186         * sysdeps/generic/glob.c: Adjust types of several variables to
8187         avoid warnings.
8189 2000-12-01  Ulrich Drepper  <drepper@redhat.com>
8191         * sysdeps/unix/sysv/linux/shm_open.c: Remove incorrect comment.
8193 2000-11-30  Roland McGrath  <roland@frob.com>
8195         * hurd/hurd/ioctl.h (_HURD_HANDLE_IOCTLS_1): New macro.
8196         (_HURD_HANDLE_IOCTLS, _HURD_HANDLE_IOCTL): Redefine using it, so as to
8197         allow multiple instances using the same function name in one file.
8199 2000-12-01  Ulrich Drepper  <drepper@redhat.com>
8201         * configure.in: Correct test for pserver CVS access.
8203 2000-11-28  H.J. Lu  <hjl@gnu.org>
8205         * libio/libio.h: Remove extra "#if ... #endif".
8207 2000-11-29  H.J. Lu  <hjl@gnu.org>
8209         * stdio-common/vfscanf.c (ORIENT): Swap the COMPILE_WSCANF case.
8211 2000-12-01  H.J. Lu  <hjl@gnu.org>
8213         * nss/getXXbyYY_r.c: Fix verioned symbol handling.
8214         * nss/getXXent_r.c: Likewise.
8215         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
8217 2000-11-30  H.J. Lu  <hjl@gnu.org>
8219         * scripts/abi-versions.awk (oldest_abi): New variable.
8220         Handle the oldest ABI supported.
8222         * Makerules ($(common-objpfx)abi-versions.h): Set oldest_abi
8223         for scripts/abi-versions.awk.
8225         * configure.in: Add --with-oldest-abi=ABI.
8226         * configure: Rebuild.
8228         * config.make.in (oldest-abi): New.
8230         * config.h.in (GLIBC_OLDEST_ABI): New.
8232         * csu/version.c (banner): Support GLIBC_OLDEST_ABI.
8234 2000-11-30  Jakub Jelinek  <jakub@redhat.com>
8236         * locale/setlocale.c (setname): Free for all categories, not just
8237         LC_ALL.
8238         (setlocale): Store a copy of string passed by user, not the string
8239         itself.
8241 2000-11-30  Roland McGrath  <roland@frob.com>
8243         * sysdeps/mach/hurd/defs.c (init_stdio): Put this on __libc_subinit
8244         rather than _hurd_fd_subinit, so it happens after it's safe to use
8245         libc facilities like malloc.
8247 2000-11-28  Andreas Jaeger  <aj@suse.de>
8249         * sysdeps/unix/sysv/linux/getdents.c: Add _syscall_getdents64
8250         declaration, adjust declaration of __syscall_getdents to match
8251         kernel.
8253 2000-11-29  H.J. Lu  <hjl@gnu.org>
8255         * sysdeps/generic/readelflib.c (check_ptr): Undefine it first.
8257 2000-11-29  Andreas Jaeger  <aj@suse.de>
8259         * sysdeps/unix/sysv/linux/hppa/brk.c (__brk): Remove unused variable.
8261 2000-11-28  Ulrich Drepper  <drepper@redhat.com>
8263         * dlfcn/defaultmod1.c: Add prototypes to avoid warnings.
8264         * dlfcn/defaultmod2.c: Likewise.
8265         * dlfcn/dlopen.c: Likewise.
8266         * dlfcn/dlopenold.c: Likewise.
8267         * dlfcn/failtestmod.c: Likewise.
8268         * dlfcn/glreflib1.c: Likewise.
8269         * dlfcn/glreflib2.c: Likewise.
8270         * dlfcn/eval.c: Likewise.  Add attributes.
8272         * ctype/ctype-extn.c: Define isblank and not __isblank.
8274         * time/strftime.c: Add const where necessary to avoid warnings.
8275         * time/strptime.c (strptime_internal): Add casts to avoid warnings.
8277 2000-11-22  Paul Eggert  <eggert@twinsun.com>
8279         * time/strftime.c (my_strftime): Do not invoke mbrlen with a
8280         size of (size_t) -1; it's not portable.
8282 2000-11-28  Ulrich Drepper  <drepper@redhat.com>
8284         * sysdeps/i386/fpu/libm-test-ulps: Adjust some values for the
8285         crappy i486 FPU.
8286         Reported by Michael Deutschmann <michael@talamasca.ocis.net>.
8288 2000-11-14  Jes Sorensen  <jes@linuxcare.com>
8290         * sysdeps/ia64/_mcount.S: Call __mcount instead of __mcount_internal.
8292         * sysdeps/ia64/Makefile: Compile _mcount.S in subdir gmon as
8293         _mcount is required by profiled binaries.
8295         * sysdeps/unix/sysv/linux/ia64/machine-gmon.h: Moved to...
8296         * sysdeps/ia64/machine-gmon.h: ...here.
8298 2000-11-28  Masahide Washizawa  <washi@jp.ibm.com>
8300         * iconvdata/Makefile (modules): Add IBM922, IBM1124, and IBM1129.
8301         (distribute): Add ibm922.c, ibm1124.c, ibm1129.c, ibm922.h, ibm1124.h,
8302         and ibm1129.h.
8303         * iconvdata/gconv-modules: Add entries for IBM922, IBM1124, and
8304         IBM1129.
8305         * iconvdata/ibm922.c: New file.
8306         * iconvdata/ibm922.h: New file.
8307         * iconvdata/ibm1124.c: New file.
8308         * iconvdata/ibm1124.h: New file.
8309         * iconvdata/ibm1129.c: New file.
8310         * iconvdata/ibm1129.h: New file.
8311         * iconvdata/testdata/IBM922: New file.
8312         * iconvdata/testdata/IBM922..UTF8: New file.
8313         * iconvdata/testdata/IBM1124: New file.
8314         * iconvdata/testdata/IBM1124..UTF8: New file.
8315         * iconvdata/testdata/IBM1129: New file.
8316         * iconvdata/testdata/IBM1129..UTF8: New file.
8318 2000-11-28  Ulrich Drepper  <drepper@redhat.com>
8320         * catgets/gencat.c (normalize_line): Take extra parameter with escape
8321         character.  Change callers.
8322         (open_conversion): Determine mapping of 0x5c as wchar_t value.
8323         * catgets/Makefile: Add rules to build and run test-gencat.
8324         * catgets/sample.SJIS: New file.
8325         * catgets/test-gencat.c: New file.
8326         * catgets/test-gencat.sh: New file.
8327         Report and test case by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
8329 2000-11-28  Andreas Jaeger  <aj@suse.de>
8331         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Synch with generic
8332         Linux version.
8334 2000-11-28  Ulrich Drepper  <drepper@redhat.com>
8336         * sysdeps/unix/sysv/linux/bits/socket.h: Fix last patch.
8338 2000-11-28  Andreas Jaeger  <aj@suse.de>
8340         * sysdeps/unix/sysv/linux/bits/socket.h (struct cmsghdr): Use
8341         __flexarr.
8342         * sysdeps/unix/sysv/linux/mips/bits/socket.h (struct cmsghdr):
8343         Likewise.
8345 2000-11-27  Ulrich Drepper  <drepper@redhat.com>
8347         * misc/getusershell.c: Make strings in okshells array const.
8348         * misc/regexp.c: Add const to cast to avoid warnings.
8349         * sysdeps/unix/sysv/linux/llseek.c: Add prototype for __llseek.
8350         * sysdeps/unix/sysv/linux/i386/setresuid.c: Add prototype for
8351         __setresuid.
8352         * sysdeps/unix/sysv/linux/i386/setresgid.c: Add prototype for
8353         setresgid.
8354         * misc/error.c: Add prototypes for __error and __error_at_line.
8355         * misc/mntent_r.c (__getmntent_r): Add break at end of switch
8356         statement to avoid warning.
8357         * test-skeleton.c: Mark timeout_handler with noreturn.
8358         * iconv/skeleton.c (get16u): Add const to cast.
8359         (get32u): Likewise.
8360         * iconvdata/gb18030.c: Likewise.
8361         * iconvdata/iso-2022-cn-ext.c: Likewise.
8362         * iconvdata/ansi_x3.110.c: Add cast to avoid warning.
8363         * iconvdata/big5.c: Likewise.
8364         * iconvdata/big5hkscs.c: Likewise.
8365         * iconvdata/iso_6937.c: Likewise.
8366         * iconvdata/iso_6937-2.c: Likewise.
8367         * iconvdata/t.61.c: Likewise.
8368         * iconvdata/iso646.c: Add prototypes for gconv_init and gconv_env.
8369         * iconvdata/unicode.c: Likewise.
8370         * iconvdata/utf-16.c: Likewise.
8371         * iconvdata/cns11643.h (ucs4_to_cns11643): Define needed as size_t.
8372         * iconv/gconv_trans.c (__gconv_translit_find): Avoid one warning
8373         with little code shuffling.
8375         * sysdeps/powerpc/Makefile (CFLAGS-initfini.s): Add -O1 to avoid
8376         the problems introduced when the user selects -O3.
8378         * iconv/gconv.h (__gconv_info): Define __data element using __flexarr.
8379         * misc/sys/cdefs.h: Define __flexarr.
8380         Proposed by Joseph S. Myers <jsm28@cam.ac.uk>.
8382         * iconvdata/iso-2022-jp.c: Add prototypes to avoid warnings.
8383         * iconv/skeleton.c: Likewise.
8384         * iconvdata/iso8859-1.c (BODY to 8859-1): Add const to cast.
8385         * iconv/loop.c (get16): Add const to cast.
8386         (get32): Likewise.
8388 2000-11-27  Andreas Jaeger  <aj@suse.de>
8390         * login/programs/pt_chown.c (do_pt_chown): Mark function as static
8391         to avoid warning.
8392         * login/programs/utmpdump.c (print_entry): Likewise.
8394 2000-11-25  Maciej W. Rozycki  <macro@ds2.pg.gda.pl>
8396         * sysdeps/mips/__longjmp.c (__longjmp): Restore SP and FP last and
8397         in a single asm as they may be used to access other stored
8398         registers.
8399         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
8401 2000-11-27  Andreas Jaeger  <aj@suse.de>
8403         * rt/tst-aio.c: Mark test functions as static to avoid warnings.
8404         * rt/tst-aio64.c: Likewise.
8406 2000-11-27  Ulrich Drepper  <drepper@redhat.com>
8408         * catgets/Makefile (test1.cat): Set LC_ALL, LOCPATH, and GCONV_PATH
8409         for gencat run.
8410         (libc.cat): Likewise.
8411         * catgets/gencat.c: Implement handling of message catalogs encoded
8412         with stateful character sets.
8413         Based on a patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
8415 2000-11-26  Ulrich Drepper  <drepper@redhat.com>
8417         * sysdeps/unix/opendir.c (__opendir): Add cast to avoid warning.
8419         * inet/getnameinfo.c: Adjust casts to avoid warnings.
8420         * inet/rcmd.c: Likewise.
8421         * inet/ruserpass.c: Likewise.
8422         * inet/netinet/in.h (IN6_IS_ADDR_UNSPECIFIED, IN6_IS_ADDR_LOOPBACK,
8423         IN6_IS_ADDR_MULTICAST, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
8424         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, IN6_ARE_ADDR_EQUAL,
8425         IN6_IS_ADDR_MC_NODELOCAL, IN6_IS_ADDR_MC_LINKLOCAL,
8426         IN6_IS_ADDR_MC_SITELOCAL, IN6_IS_ADDR_MC_ORGLOCAL,
8427         IN6_IS_ADDR_MC_GLOBAL): Preserve const in cast.
8428         * include/aliases.h: Add prototypes for internal __getalias* functions.
8429         * include/netdb.h: Add prototypes for __old_gethostent_r,
8430         __old_gethostbyaddr_r, __old_gethostbyname_r, __old_gethostbyname2_r,
8431         __old_getnetent_r, __old_getnetbyaddr_r, __old_getnetbyname_r,
8432         __old_getservent_r, __old_getservbyname_r, __old_getservbyport_r,
8433         __old_getprotoent_r, __old_getprotobyname_r, __old_getprotobynumber_r.
8434         * include/rpc/netdb.h: Add prototypes for __old_getrpcbyname_r,
8435         __old_getrpcbynumber_r, __old_getrpcent_r.
8437         * include/rpc/netdb.h: Add __getrpcbyname_r, __getrpcbynumber_r,
8438         __getrpcent_r prototypes.
8440 2000-11-25  Ulrich Drepper  <drepper@redhat.com>
8442         * string/strcoll.c: Add casts to avoid warnings.
8443         * string/strnlen.c: Likewise.
8444         * string/strxfrm.c: Likewise.
8445         * sysdeps/generic/_strerror.c: Likewise.
8446         * sysdeps/generic/memrchr.c: Likewise.
8447         * sysdeps/generic/strcasestr.c: Likewise.
8448         * sysdeps/generic/strstr.c: Likewise.
8450         * locale/weight.h (findidx): Add const to cast to avoid warning.
8452         * elf/loadfail.c: Little cosmetic changes to avoid warnings.
8453         * elf/loadtest.c: Likewise.
8454         * elf/multiload.c: Likewise.
8455         * elf/next.c: Likewise.
8456         * elf/nodelete.c: Likewise.
8457         * elf/noload.c: Likewise.
8458         * elf/order.c: Likewise.
8459         * elf/origtest.c: Likewise.
8460         * elf/preloadtest.c: Likewise.
8461         * elf/restest1.c: Likewise.
8463         * sysdeps/i386/i486/bits/string.h (__strncat_g) [i686]: Fourth
8464         parameter of asm must be in %ecx.
8466         * string/tester.c: Mark test functions as static to avoid warnings.
8468         * iconv/gconv_conf.c (read_conf_file): Make mod_counter static to
8469         preserve value over different gconv-modules files.
8471 2000-11-24  Ulrich Drepper  <drepper@redhat.com>
8473         * locale/findlocale.c: Add casts to avoid warnings.
8474         * locale/localeinfo.h (LIMAGIC): Add cast to avoid warnings.
8475         * misc/efgcvt_r.c (fcvt_r): Use ssize_t instead of int and add cast
8476         to avoid warnings.
8477         * misc/tsearch.c (const_node): New type.
8478         (trecurse): Correct casts to avoid warnings.
8479         (__twalk): Likewise.
8480         * stdlib/tst-limits.c: Add z modifier to formats for WORD_BIT and
8481         LONG_BIT.
8483         * debug/backtrace-tst.c (compare): Add casts to avoid warnings.
8485         * test-skeleton.c: Mark local functions as static to avoid warnings.
8487 2000-11-23  H.J. Lu  <hjl@gnu.org>
8489         * rt/tst-aio6.c (do_test): Use pipe instead of STDIN_FILENO to
8490         support the background job.
8491         Fix a typo.
8493 2000-11-24  Ulrich Drepper  <drepper@redhat.com>
8495         * iconv/gconv_conf.c (insert_module): Replace old entry if new one
8496         has same names but lower cost.
8498 2000-11-23  Jakub Jelinek  <jakub@redhat.com>
8500         * sysdeps/sparc/sparc32/dl-machine.h: Ifdef out handling for relocs
8501         which never occur during bootstrap.
8502         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
8504 2000-11-23  Andreas Jaeger  <aj@suse.de>
8506         * nss/nss_files/files-hosts.c: Remove getipnodebyname.
8508         * nss/Versions: Remove _nss_files_getipnodebyname_r.
8510         * sysdeps/unix/sysv/linux/Versions: Fix typo in last patch.
8512 2000-11-18  Martin Buchholz  <martin@xemacs.org>
8514         * csu/gmon-start.c (__gmon_start__): Avoid over-clever trick `if
8515         (called++) return;'
8517 2000-11-21  Alan Modra  <alan@linuxcare.com.au>
8519         * sysdeps/generic/bsd-_setjmp.c (setjmp): Rename to _setjmp.
8521         * csu/abi-note.S: Correct comment for operating system number.
8523 2000-11-22  Ulrich Drepper  <drepper@redhat.com>
8525         * Versions.def: Add GLIBC_2.2.1 for glibc.
8527 2000-11-22  Andreas Schwab  <schwab@suse.de>
8529         * sysdeps/unix/sysv/linux/syscalls.list: Add pivot_root.
8530         * sysdeps/unix/sysv/linux/Versions: Add pivot_root at GLIBC_2.2.1.
8532 2000-11-22  Ulrich Drepper  <drepper@redhat.com>
8534         * rt/aio_suspend.c (aio_suspend): Convert timeout value to
8535         absolute time for pthread_cond_timedwait call.
8536         Reported by Lawrence Chen <lchen@opentext.com> [libc/1930].
8538         * rt/Makefile (tests): Add tst-aio6.
8539         * rt/tst-aio6.c: New file.
8541 2000-11-23  Andreas Jaeger  <aj@suse.de>
8543         * sysdeps/s390/bits/string.h (strncat): Fix one more typo.
8545 2000-11-22  Andreas Jaeger  <aj@suse.de>
8547         * sysdeps/s390/bits/string.h (strncat): Add missing quotation marks.
8549 2000-11-21  Martin Schwidefsky  <schwidefsky@de.ibm.com>
8551         * sysdeps/s390/bits/string.h: Make strncat always add a \0.
8553 2000-11-21  Andreas Schwab  <schwab@suse.de>
8555         * sysdeps/alpha/setjmp.S: Remove __setjmp entry point.
8556         * sysdeps/arm/setjmp.S: Likewise.
8557         * sysdeps/arm/fpu/setjmp.S: Likewise.
8558         * sysdeps/i386/setjmp.S: Likewise.
8559         * sysdeps/i386/elf/setjmp.S: Likewise.
8560         * sysdeps/s390/setjmp.S: Likewise.
8561         * sysdeps/s390/elf/setjmp.S: Likewise.
8562         * sysdeps/sh/sh3/setjmp.S: Likewise.
8563         * sysdeps/sh/sh4/setjmp.S: Likewise.
8564         * sysdeps/sparc/sparc32/setjmp.S: Likewise.
8565         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
8566         * sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S: Likewise.
8567         * sysdeps/unix/sysv/linux/m68k/setjmp.c: Removed.
8569 2000-11-21  Andreas Jaeger  <aj@suse.de>
8571         * sysdeps/generic/__longjmp.c (__longjmp): Remove obsolete
8572         NORETURN, fix parameter list.
8574         * string/bug-strncat1.c (main): Fix typo.
8575         Patch by Bernhard Kaindl <bernhard.kaindl@suse.de>.
8577 2000-11-20  Ulrich Drepper  <drepper@redhat.com>
8579         * configure.in: Add --enable-all-warnings.
8580         * config.make.in (all-warnings): New variable.
8581         * Makeconfig (+gccwarn): Define with many more warnings if
8582         all-warnings is yes.
8584 2000-11-20  Jakub Jelinek  <jakub@redhat.com>
8586         * iconvdata/bug-iconv2.c (main): Use %zd in format string.
8587         * io/test-lfs.c (do_test): Cast statbuf.st_size to long long.
8588         * malloc/tst-valloc.c (main): Cast valloc return value to long.
8589         * malloc/tst-obstack.c (verbose_malloc): Use %zd in format string.
8590         * math/test-fpucw.c (main): Use %lx in format string, cast
8591         control words to long.
8592         * stdio-common/tst-fmemopen.c (main): Use %td in format strings.
8593         * stdlib/tst-strtol.c (tests): Avoid (bogus?) decimal constant is so
8594         large that it is unsigned warning.
8596         * sysdeps/unix/sysv/linux/sparc/bits/types.h (__ssize_t): Changing
8597         it to long on sparc64.
8599 2000-11-20  Andreas Jaeger  <aj@suse.de>
8601         * nscd/nscd.h (termination_handler): Add noreturn attribute.
8602         (receiv_print_stats): Likewise.
8604         * elf/ldconfig.c (path_hwcap): Cast -1 for proper comparison.
8606 2000-11-20  Ulrich Drepper  <drepper@redhat.com>
8608         * malloc/thread-m.h: gcc doesn't tolerate zero-sized types anymore.
8610         * csu/gmon-start.c: Always have prototype for __gmon_start.
8611         * csu/version.c: Add prototypes for __libc_print_version and
8612         __libc_main.
8613         * iconv/gconv.c: Include gconv_int.h and gconv.h.
8614         * iconv/gconv.h (struct __gconv_step): Remove const from __from_name
8615         and __to_name.
8616         * iconv/gconv_builtin.h: Add ASCII module definitions.
8617         * iconv/gconv_conf.c (__gconv_path_elem): Remove const.
8618         (add_module): Add cast to avoid warning.  Rework construction of
8619         strings for new module.
8620         * iconv/gconv_db.c (__gconv_alias_compare): Make s1 and s2 const.
8621         (derivation_compare): Likewise.
8622         * iconv/gconv_dl.c (do_release_shlib): Remove const from nodep.
8623         (__gconv_release_shlib): Cast do_release_shlib as parameter for twalk.
8624         * iconv/gconv_int.h (__gconv_path_elem): Remove const.
8625         (struct gconv_alias): Remove const from fromname and toname.
8626         * iconv/gconv_simple.c: Include gconv_builtin.h to get prototypes
8627         for loop functions.
8628         (internal_ucs4_loop): Use correct const-ness.
8629         (ucs4_internal_loop): Likewise.
8630         (internal_ucs4le_loop): Likewise.
8631         (ucs4le_internal_loop_single): Likewise.
8632         * iconv/gconv_trans.c (__gconv_transliterate): Make from_idx, from_tbl,
8633         to_idx, to_tbl, winbuf, winbufend const.  Change casts in
8634         assignments appropriately.
8635         (struct known_trans): Remove const from fname.
8636         (trans_compare): Make s1 and s2 const.
8637         * iconv/loop.c (LOOPFC): Make outend parameter const.  Add cast to
8638         avoid warning.
8639         * iconv/skeleton.c: Remove cast in calls of loop functions.
8640         * iconvdata/gconv-modules: Remove US-ASCII definitions.
8641         * iconvdata/iso646.c: Remove US_ASCII support.
8642         * include/set-hooks.h (DEFINE_HOOK): Also generate prototype.
8643         * include/unistd.h: Add __libc_check_standard_fds prototype.
8644         * string/bits/string2.h (__mempcpy_args): Add const to casts.
8645         * sysdeps/generic/initfini.c: Add prototypes for dummy, _init, and
8646         _fini.
8647         * sysdeps/generic/libc-start.c: Add prototype for __libc_start_main.
8648         * sysdeps/i386/i486/bits/string.h (strcmp): Add const to casts.
8649         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Add cast to avoid
8650         warning.
8651         * sysdeps/unix/sysv/linux/init-first.c: Add prototypes for
8652         __libc_init_first and _dl_start.
8653         * intl/dcigettext.c (transcmp): Make s1 and s2 const.
8654         (DCIGETTEXT): Make domaindata variable const.
8655         * intl/loadmsgcat.c (_nl_load_domain): Rearrange domain initialization
8656         to avoid warning.
8658 2000-11-20  Hiroyuki Machida  <machida@sm.sony.co.jp>
8660         * sysdeps/unix/sysv/linux/mips/clone.S: Fix comments.
8662         * sysdeps/unix/sysv/linux/mips/kernel_stat.h (kernel_stat): Expand
8663         time_t to 'long int' not, 'unsigned int'.  Use 'long int' for
8664         __unused? members.
8666         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (O_NOFOLLOW): Use same
8667         value defined in /usr/include/asm-mips/fcntl.h.
8669 2000-11-18  Ulrich Drepper  <drepper@redhat.com>
8671         * stdio-common/Makefile (tests): Add test-vfprintf.
8672         (test-vfprintf-ENV): New variable.
8673         * stdio-common/test-vfprintf.c: New file.
8675         * wcsmbs/mbrtowc.c (__mbrtowc): Do not only flush if input is '\0'.
8677         * wcsmbs/Makefile (tests): Add tst-mbrtowc and tst-wcrtomb.
8678         (tst-mbrtowc-ENV): New variable.
8679         (tst-wcrtomb-ENV): New variable.
8680         * wcsmbs/tst-mbrtowc.c: New file.
8681         * wcsmbs/tst-wcrtomb.c: New file.
8683 2000-11-16  Andreas Jaeger  <aj@suse.de>
8685         * manual/install.texi (Tools for Compilation): Update
8686         documentation for GCC 2.95.2.
8688 2000-11-18  Ulrich Drepper  <drepper@redhat.com>
8690         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only return -EAI_AGAIN
8691         if IPv4 and IPv6 requests timed out.
8693 2000-11-18  Akim Demaille  <akim@epita.fr>
8695         * malloc/obstack.h: Formatting changes.
8696         (obstack_grow, obstack_grow0): Don't cast WHERE at all: it
8697         prevents type checking.
8698         (obstack_ptr_grow, obstack_ptr_grow_fast): When assigning, don't
8699         cast the value to (void *): assigning a `foo *' to a `void *'
8700         variable is valid.
8701         (obstack_int_grow, obstack_int_grow_fast): Don't cast AINT to int.
8703 2000-11-17  Ulrich Drepper  <drepper@redhat.com>
8705         * scripts/config.guess: Update from upstream maintainer.
8706         * scripts/config.sub: Likewise.
8708 2000-11-16  Ulrich Drepper  <drepper@redhat.com>
8710         * libio/freopen.c (freopen): Reset _mode after succesful reopening.
8711         * libio/freopen64.c (freopen64): Likewise.
8712         Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
8714         * libio/Makefile: Add rules to build and run test-freopen.
8715         * libio/test-freopen.c: New file.
8716         * libio/test-freopen.sh: New file.
8718 2000-11-15  H.J. Lu  <hjl@gnu.org>
8720         * sysdeps/generic/ldsodefs.h (DL_DT_INIT_ADDRESS): Defined if
8721         ELF_FUNCTION_PTR_IS_SPECIAL is not defined.
8722         (DL_DT_FINI_ADDRESS): Likewise.
8724         * sysdeps/ia64/dl-lookupcfg.h (_dl_lookup_address): Set the
8725         return type to ElfW(Addr).
8726         (_dl_function_address): New prototype.
8727         (DL_FUNCTION_ADDRESS): Defined.
8728         (DL_DT_INIT_ADDRESS): Defined as DL_FUNCTION_ADDRESS.
8729         (DL_DT_FINI_ADDRESS): Likewise.
8731         * sysdeps/ia64/Versions (GLIBC_2.2): Add _dl_function_address.
8733         * sysdeps/ia64/dl-machine.h (_dl_start_address): Removed.
8734         (ELF_MACHINE_START_ADDRESS): Changed to DL_FUNCTION_ADDRESS.
8736         * sysdeps/ia64/dl-symaddr.c (_dl_start_address): Renamed to ...
8737         (_dl_function_address): This.
8739         * elf/dl-fini.c (_dl_fini): Use DL_DT_FINI_ADDRESS to get the
8740         function pointer for DT_FINI.
8741         * elf/dl-close.c (_dl_close): Likewise.
8743         * elf/dl-init.c (_dl_init): Use DL_DT_INIT_ADDRESS to get the
8744         function pointer for DT_INIT.
8746 2000-11-16  Jakub Jelinek  <jakub@redhat.com>
8748         * sysdeps/generic/printf_fphex.c (__printf_fphex): Compute correctly
8749         end of wexpbuf buffer.
8751 2000-11-16  Andreas Jaeger  <aj@suse.de>
8753         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove duplicate
8754         definition of F_GETLK, F_SETLK, F_SETLKW.
8756 2000-11-16  Andreas Jaeger  <aj@suse.de>
8758         * sysdeps/generic/dl-cache.c (_DL_PLATFORMS_COUNT): Define to 0 if
8759         it's not defined.
8761 2000-11-15  Jakub Jelinek  <jakub@redhat.com>
8763         * dlfcn/default.c (main): Add test for dladdr of main returning
8764         argv[0] in dli_fname field.
8766 2000-11-15  Jakub Jelinek  <jakub@redhat.com>
8768         * Makeconfig (run-program-prefix): Move test-static test into the
8769         variable.
8771         * sysdeps/alpha/dl-machine.h (RTLD_START): Update _dl_argv.
8772         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise,
8773         schedule instructions.
8774         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise,
8775         schedule instructions, fix a bug in copying auxiliary data.
8777 2000-11-15  Ulrich Drepper  <drepper@redhat.com>
8779         * manual/startup.texi (Program Arguments): Fix type of main's envp
8780         parameter.
8781         Reported by Raúl Núñez de Arenas Coronado <dervishd@linuxfreak.com>.
8783         * iconvdata/gconv-modules: Add CP950 alias.
8785 2000-11-13  Jakub Jelinek  <jakub@redhat.com>
8787         * sysdeps/unix/sysv/linux/Makefile: Allow ports to override
8788         syscall-list.h goal.
8789         * sysdeps/unix/sysv/linux/sparc/Makefile: New file.
8791 2000-11-15  Ulrich Drepper  <drepper@redhat.com>
8793         * intl/Makefile: tst-gettext2.sh does not need a third parameter.
8795         * intl/tst-gettext2.sh: Copy locale data.  Adjust LOCPATH.  Verify
8796         output of program.
8798         * intl/tst-gettext2.c: Set C locale if setting other locale
8799         failed.  Use gettext() not _().
8801         * locale/setlocale.c: Increment _nl_msg_cat_cntr whenever we
8802         successfully loaded a new locale.
8804 2000-11-13  Andreas Jaeger  <aj@suse.de>
8806         * configure.in: Require gcc 2.95 or newer.
8808 2000-11-15  Ulrich Drepper  <drepper@redhat.com>
8810         * sysdeps/unix/sysv/linux/paths.h: Adjust for FHS.
8811         Patch by Arkadiusz Miskiewicz <misiek@pld.ORG.PL>.
8813 2000-11-11  Jim Meyering  <meyering@lucent.com>
8815         * string/strndup.c (strndup): Cast return value to `char *'.
8817 2000-11-15  Jim Meyering  <meyering@ascend.com>
8819         * sysdeps/generic/memchr.c: Remove some useless parentheses.
8820         [HAVE_STDLIB_H || defined _LIBC]: Include <stdlib.h>.
8821         [HAVE_BP_SYM_H || defined _LIBC]: Guard inclusion of bp-sym.h.
8822         [! (HAVE_BP_SYM_H || defined _LIBC)] (BP_SYM): Define as no-op.
8823         Also #undef __memchr.
8824         Use `weak_alias' only if it's defined.
8826 2000-11-10  H.J. Lu  <hjl@gnu.org>
8828         * Makefile.in (install): Set LANGUAGE=C LC_ALL=C.
8830 2000-11-15  Andreas Jaeger  <aj@suse.de>
8832         * elf/chroot_canon.c: Include <stdint.h>.
8834         * elf/cache.c (struct cache_entry): Use uint64_t for hwcap.
8835         (print_entry): Likewise.
8836         (add_to_cache): Likewise.
8838         * elf/ldconfig.h (add_to_cache): Change prototype for hwcap change.
8840         * elf/ldconfig.c (struct lib_entry): Use uint64_t for hwcap.
8841         (path_hwcap): Likewise.
8842         (search_dir): Likewise.
8844         * sysdeps/generic/dl-cache.c (HWCAP_CHECK): Handle platform.
8846         * elf/cache.c (add_to_cache): Handle 64 bit hwcap entry.
8848         * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h
8849         (_dl_platform_string): New.
8850         (_DL_HWCAP_PLATFORM): New.
8851         (_dl_string_platform): New.
8852         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h: Likewise.
8854         * sysdeps/generic/dl-procinfo.h (_DL_HWCAP_COUNT): New.
8855         (_dl_string_platform): New.
8856         (_DL_HWCAP_PLATFORM): New.
8857         (_dl_platform_string): New.
8859         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Added x86 platform
8860         recognition.
8861         (_DL_HWCAP_COUNT): New.
8862         (_dl_string_platform): New.
8863         (_DL_HWCAP_PLATFORM): New.
8864         (_dl_platform_string): New.
8866 2000-11-14  Ulrich Drepper  <drepper@redhat.com>
8868         * iconvdata/gconv-modules: Add CP936 as alias for GBK.
8870 2000-11-14  Andreas Jaeger  <aj@suse.de>
8872         * sysdeps/generic/dl-cache.c (HWCAP_CHECK): Fix access to _dl_hwcap.
8874 2000-11-13  Roland McGrath  <roland@frob.com>
8876         * hurd/get-host.c (_hurd_get_host_config): Fix last change.
8878 2000-11-13  Marcus Brinkmann <marcus@gnu.org>
8880         * hurd/get-host.c (_hurd_get_host_config): Fix possible buffer
8881         underrun and make sure the result is null terminated even if there
8882         is no trailing newline.
8884 2000-11-13  Jakub Jelinek  <jakub@redhat.com>
8886         * sysdeps/alpha/fpu/libm-test-ulps: Update.
8888 2000-11-10  H.J. Lu  <hjl@gnu.org>
8890         * sysdeps/ia64/fpu/libm-test-ulps: Updated.
8892 2000-11-10  Andreas Jaeger  <aj@suse.de>
8894         * elf/ldconfig.c (create_links): Fix alloca calculation.
8895         Patch by Ben Collins <bcollins@debian.org>.
8897 2000-11-09  Ulrich Drepper  <drepper@redhat.com>
8899         * inet/getnameinfo.c (getnameinfo): Use correct destination
8900         parameter for if_indextoname.
8901         Patch by Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>.
8903 2000-11-09  H.J. Lu  <hjl@gnu.org>
8905         * sunrpc/Versions (GLIBC_2.1): Remove xdr_cryptkeyarg,
8906         xdr_cryptkeyarg2, xdr_cryptkeyres, xdr_des_block,
8907         xdr_key_netstarg, xdr_key_netstres, xdr_keybuf and
8908         xdr_keystatus.
8910         * time/Versions (GLIBC_2.1): Move getitimer to...
8911         * sysdeps/unix/sysv/linux/alpha/Versions (GLIBC_2.1): ...here.
8913 2000-11-03  Bruno Haible  <haible@clisp.cons.org>
8915         * manual/install.texi: Recommend to set LANGUAGE=C LC_ALL=C during
8916         "make install", to work around a binary incompatibility between
8917         glibc 2.1 and glibc 2.2 gconv modules.
8919 2000-11-09  Ulrich Drepper  <drepper@redhat.com>
8921         * intl/locale.alias: Add thai.
8922         Patch by Chanop Silpa-Anan <chanop@syseng.anu.edu.au>.
8924 2000-11-07  Akim Demaille  <akim@epita.fr>
8926         * malloc/obstack.c (obstack_grow, obstack_grow0): Rename the second
8927         argument `data' for consistency with the prototypes.
8928         Qualify it `const'.
8929         (obstack_copy, obstack_copy0): Rename the second argument as
8930         `address' for consistency.  Qualify it `const'.
8931         * malloc/obstack.h (obstack_copy, obstack_copy0, obstack_grow)
8932         (obstack_grow0, obstack_ptr_grow, obstack_ptr_grow_fast): Qualify
8933         `const' their input argument (`data' or `address').
8934         Adjust the corresponding macros to include `const' in casts.
8936 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
8938         * sysdeps/posix/getaddrinfo.c: Clean-up: define family to hold
8939         target family.
8941 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
8943         * sysdeps/posix/getaddrinfo.c: Loosen protocol check to ease raw
8944         socket creation.
8946 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
8948         * sysdeps/posix/getaddrinfo.c: Ensure to fill ai_socktype and
8949         ai_protocol by internal table if service was not given.
8951 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
8953         * sysdeps/posix/getaddrinfo.c: Don't raise an error even if
8954         numerical port was specified with protocol without socktype.
8956 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
8958         * sysdeps/posix/getaddrinfo.c: Ensure to check if protocol is ok.
8960 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
8962         * inet/getnameinfo.c: getnameinfo() NI_xxx flag validation.
8964 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
8966         * sysdeps/posix/getaddrinfo.c: Ensure not to fill garbage value in
8967         sin6_scope_id field.
8969 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
8971         * inet/getnameinfo.c: Repair getnameinfo() sin6_socpe_id support.
8973 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
8975         * inet/getnameinfo.c: Repair NI_NOFQDN flag support.
8977 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
8979         * inet/getnameinfo.c: Wake-up sin6_scope_id support in
8980         getnameinfo(): check for whether sin6_socpe_id exist was wrong.
8982 2000-11-09  Martin Schwidefsky  <mschwide@nc.boeblingen.de.ibm.com>
8984         * sysdeps/unix/sysv/linux/s390/mmap.S: Use mmap2 if it is present.
8985         * sysdeps/unix/sysv/linux/s390/mmap64.S: New file.
8987 2000-11-09  H.J. Lu  <hjl@gnu.org>
8989         * io/Versions (GLIBC_2.1.1): Remove lockf64.
8992 See ChangeLog.11 for earlier changes.