* iconv/loop.c (put16) [!_STRING_ARCH_unaligned && BIG_ENDIAN]:
[glibc.git] / ChangeLog
blobd1773f559769d6b435ed91d4c48ab22a288483d2
1 2001-07-15  Andreas Schwab  <schwab@suse.de>
3         * iconv/loop.c (put16) [!_STRING_ARCH_unaligned && BIG_ENDIAN]:
4         Fix index.
6 2001-07-09  Andreas Jaeger  <aj@suse.de>
8         * sysdeps/unix/sysv/linux/i386/dl-procinfo.c: Name entry for xmm2.
10         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Add HWCAP_I386_XMM,
11         HWCAP_I386_XMM2 to enum.
13 2001-07-13  Andreas Jaeger  <aj@suse.de>
15         * libio/fileops.c: Include unistd.h for lseek64 prototype.  Closes
16         PR libc/2372.
18 2001-07-12  Ulrich Drepper  <drepper@redhat.com>
20         * Makeconfig: Add some more changes to handle AIX linker better.
22 2001-07-12  H.J. Lu  <hjl@gnu.org>
24         * sysdeps/generic/segfault.c: Include <errno.h>.
26 2001-07-01  Andreas Jaeger  <aj@suse.de>
28         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk): Remove duplicate
29         sbrk.  Closes PR libc/2312.
31 2001-07-01  Andreas Jaeger  <aj@suse.de>
33         * sysdeps/generic/segfault.c (install_handler): Handle case that
34         the output file does not exists.  Closes PR libc/2345.
36 2001-07-11  Ulrich Drepper  <drepper@redhat.com>
38         * intl/locale.alias: Use he language code for hebrew, not il
39         [PR libc/2382].
41 2001-07-11  Jakub Jelinek  <jakub@redhat.com>
43         * iconv/gconv_int.h: Fix comment typo.
45 2001-07-11  Igor Khavkine  <i_khavki@alcor.concordia.ca>
47         * hurd/hurdsig.c (_hurdsig_init): Remove a useless line of code.
49 2001-07-07  Roland McGrath  <roland@frob.com>
51         * hurd/hurdsig.c (_hurd_thread_sigstate): Use MACH_PORT_NULL, not 0.
53 2001-07-10  Stephen L Moshier  <moshier@mediaone.net>
55         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl):  Fix
56         backwards conditional in test for x == 1.0.
58 2001-07-10  Andreas Jaeger  <aj@suse.de>
60         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Add ulps for tanh
61         (-0.7).
63 2001-07-09  Andreas Jaeger  <aj@suse.de>
65         * sysdeps/unix/sysv/linux/configure.in: Revert patch from
66         2001-07-05 for sysconfdir handling.
67         * config.make.in (sysconfdir): Likewise.
68         * configure.in: Likewise.
70         * configure.in: Always assign libc_cv_sysconfdir.
72 2001-07-08  Ulrich Drepper  <drepper@redhat.com>
74         * Makerules [AIX] (build-shlib-helper): Precede linker options
75         with -Wl.
77         * Makeconfig (config-LDFLAGS): Add ld.so only for ELF.
79         * sysdeps/unix/make_errlist.c: Adjust sys_errlist declaration to
80         what we define in <stdio.h>.
82         * iconv/iconv_prog.c (main): Don't unconditionally define
83         variables only use if _POSIX_MAPPED_FILES is defined.
85         * sysdeps/unix/sysv/aix/sendmsg.c (sendmsg): Fix return type.
86         * sysdeps/unix/sysv/aix/recvmsg.c (recvmsg): Likewise.
88         * sysdeps/unix/sysv/aix/recv.c: New file.
90         * sysdeps/unix/sysv/aix/recvfrom.c: Fix various types.
92 2001-07-07  Ulrich Drepper  <drepper@redhat.com>
94         * sysdeps/generic/recv.c: Fix return type.
96         * sysdeps/unix/sysv/aix/dl-libc.c (__libc_dlclose): Fix typo.
98         * sysdeps/unix/sysv/aix/gettimeofday.c (__gettimeofday): Add
99         declarations for asm functions.
101         * include/libc-symbols.h: Provide more dummy definitions for the
102         case if GNU ld isn't used.
104         * libio/freopen.c: Include <stdlib.h> for free declaration.
105         * libio/freopen64.c: Likewise.
107         * sysdeps/alpha/fpu/libm-test-ulps: Add deltas for tanh(-0.7).
109 2001-07-06  Jakub Jelinek  <jakub@redhat.com>
111         * sysdeps/unix/sysv/linux/i386/sigaction.c (RESTORE2): Put asm
112         explicitly into .text section.
114 2001-04-16  Jes Sorensen  <jes@linuxcare.com>
116         * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h (struct sigcontext):
117         Add 16 longwords reserved for future use to match changes in the
118         kernel.
120 2001-07-03  Jes Sorensen  <jes@trained-monkey.org>
122         * sysdeps/ia64/strncpy.S: Call strnlen() when determining the
123         string length rather than strlen(). Solves the performance problem
124         of doing strlen on a 5MB string when strncpy was called with a
125         length argument of 5 bytes.
127 2001-07-02  Jakub Jelinek  <jakub@redhat.com>
129         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
130         R_SPARC_UA16 and R_SPARC_UA32.
131         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
133 2001-07-01  Stephen L Moshier  <moshier@mediaone.net>
135         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl):
136         acosh(x) = ln(2x) if x > 2^30.
137         * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl):
138         acosh(x) = ln(2x) if x > 2^54.
140 2001-07-07  Mark Kettenis  <kettenis@gnu.org>
142         * sysdeps/mach/hurd/i386/exc2signal.c (_hurd_exception2signal):
143         Generate SIGSEGV instead of SIGBUS for KERN_INVALID_ADDRESS and
144         KERN_WRITE_PROTECTION_FAILURE.
146 2001-07-07  Ulrich Drepper  <drepper@redhat.com>
148         * posix/regex.c: Limit string length printed in debug messages to
149         100 chars.
151         * configure.in: Don't warn about versioning if not on ELF system.
153 2001-07-07  Andreas Jaeger  <aj@suse.de>
155         * sysdeps/*: Put files from GNU MP Library under LGPL v2.1.
157 2001-07-06  Ulrich Drepper  <drepper@redhat.com>
159         * po/gl.po: Update from translation team.
161 2001-07-06  Andreas Jaeger  <aj@suse.de>
163         * sysdeps/unix/sysv/linux/configure.in: Fix handling of
164         sysconfdir.
166         * manual/libc-texinfo.sh: Add note for the FDL.
168         * manual/argp.texi (Argp Example 4): Fix texinfo warning.
170         * manual/libc.texinfo: Regenerated.
172         * manual/fdl.texi: Fix node.
174         * config.make.in (sysconfdir): Replace correctly.
175         Closes PR libc/2369, reported by Peter Simons <simons@cryp.to>.
177         * sysdeps/unix/sysv/linux/alpha/configure.in: Removed, it's no
178         longer needed.
180         * sysdeps/unix/sysv/linux/configure.in (libc_cv_linuxVER): Add
181         case for alpha.
182         Rework handling of missing linuxthreads add-on.
184         * configure.in: Remove unused sysconfdir substitution.
186         * manual/Makefile (texis): Add fdl.texi.
187         * manual/fdl.texi: New.
188         * manual/socket.texi (Host Names): Improve grammar, fix overflow hbox.
189         * manual/libc.texinfo: Add fdl, update titlepage.
190         Patches by Brian Youmans <3diff@gnu.org>.
192         * sysdeps/unix/make_errlist.c (main): Print LGPL v2.1 for
193         generated file.
195 2001-07-06  Paul Eggert  <eggert@twinsun.com>
197         * manual/argp.texi: Remove ignored LGPL copyright notice; it's
198         not appropriate for documentation anyway.
199         * manual/libc-texinfo.sh: "Library General Public License" ->
200         "Lesser General Public License".
201         * COPYING: Fix Y2k bug in sample copyright notices.
202         * manual/lesser.texi: Renamed from manual/lgpl.texinfo,
203         as fsf.org uses the name "lesser.texi".
204         * manual/Makefile (texis): Follow rename.
206 2001-07-06  Andreas Jaeger  <aj@suse.de>
208         * All files under GPL/LGPL version 2: Place under LGPL version
209         2.1.
211 2001-07-05  Andreas Jaeger  <aj@suse.de>
213         Synch with Linux 2.4.6:
214         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_BLUETOOTH):
215         New.
216         (AF_BLUETOOTH): New.
218         * sysdeps/unix/sysv/linux/s390/s390-64/bits/socket.h
219         (PF_BLUETOOTH): New.
220         (AF_BLUETOOTH): New.
222         * sysdeps/unix/sysv/linux/mips/bits/socket.h (AF_BLUETOOTH): New.
223         (PF_BLUETOOTH): New.
225         * sysdeps/unix/sysv/linux/ia64/bits/socket.h (AF_BLUETOOTH): New.
226         (PF_BLUETOOTH): New.
228         * sysdeps/unix/sysv/linux/alpha/bits/socket.h (PF_BLUETOOTH): New.
229         (AF_BLUETOOTH): New.
231         * sysdeps/unix/sysv/linux/bits/socket.h (PF_BLUETOOTH): New.
232         (AF_BLUETOOTH): New.
234         * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_IEEE80211): New.
236         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (N_HCI): New.
238         * sysdeps/unix/sysv/linux/mips/bits/ioctl-types.h (N_HCI): New.
240         * sysdeps/unix/sysv/linux/bits/ioctl-types.h (N_HCI): New.
242 2001-07-04  Roland McGrath  <roland@frob.com>
244         * hurd/hurdsig.c (_hurd_internal_post_signal): For SS->suspended
245         wakeup message, use MACH_MSG_TYPE_MAKE_SEND for the receiver port
246         rather than doing a mach_port_insert_right call first.
248 2001-06-26  Roland McGrath  <roland@frob.com>
250         * hurd/hurdioctl.c: Include <string.h> for memcpy decl.
252 2001-07-03  Andreas Jaeger  <aj@suse.de>
254         * sysdeps/unix/sysv/sysv4/solaris2/configure.in: Remove check for
255         crypt add-on.
257 2001-07-01  Mark Kettenis  <kettenis@gnu.org>
259         * sysdeps/mach/hurd/if_index.c: Redone to use new interfaces in
260         the Hurd pfinet server, using equivalent code from the Linux
261         version in sysdeps/unix/sysv/linux/if_index.c. In detail:
262         Include <unistd.h>, <error.h>, <sys/ioctl.h>, <hurd/ioctl.h> and
263         <hurd/pfinet.h>.  Don't include <sys/mman.h> and <hurd/fsys.h>
264         anymore.
265         (if_nametoindex): New implementation using SIOCGIFINDEX.
266         (if_freenameindex): Straight copy of the Linux version.
267         (if_nameindex): New implementation based on pfinet_siocgifconf and
268         SIOCGIFINDEX.
269         (if_indextoname): New implementation using SIOCGIFNAME.
270         (map_interfaces): Function removed.
271         From Marcus Brinkmann <marcus@gnu.org>.
273 2001-06-30  Jakub Jelinek  <jakub@redhat.com>
275         * sysdeps/powerpc/dl-machine.c (__elf_preferred_address): Prefer
276         gaps below main executable.
278 2001-06-19  Andreas Jaeger  <aj@suse.de>
280         * sysdeps/powerpc/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE):
281         Handle profiling.
283 2001-06-29  Andreas Jaeger  <aj@suse.de>
285         * sysdeps/ieee754/ldbl-128/s_asinhl.c: New file.
286         Patch by Stephen L Moshier <moshier@mediaone.net>.
288 2001-06-28  Ulrich Drepper  <drepper@redhat.com>
290         * manual/argp.texi: Tons of cleanups.
291         Patch by Clifford U. Smith <cuel@swbell.net>.
293 2001-06-28  Mark Kettenis  <kettenis@gnu.org>
295         * manual/users.texi (Setting Groups): Correct initgroups
296         documentation.  Add documentation for getgrouplist.
298 2001-06-28  H.J. Lu  <hjl@gnu.org>
300         * locale/findlocale.c (locale_file_list): Renamed to ...
301         (_nl_locale_file_list): This.  Make it extern.
302         (free_mem): Move to ...
303         * locale/setlocale.c (free_mem): Here.
305 2001-06-28  Mark Kettenis  <kettenis@gnu.org>
307         * sysdeps/mach/hurd/read.c: Include <hurd/fd.h>.
308         (__libc_read): Don't call __pread.  Use _hurd_fd_read directly
309         instead.
310         * sysdeps/mach/hurd/write.c: Include <hurd/fd.h>.
311         (__libc_write): Don't call __pwrite.  Use _hurd_fd_write directly
312         instead.
314         * sysdeps/mach/hurd/Makefile ($(link-rpcuserlibs)): Add back
315         -Wl,-soname option lost in 2001-06-16 change.
317 2001-06-27  Ulrich Drepper  <drepper@redhat.com>
319         * posix/tst-regex.c: Pass REG_NEWLINE to regcomp.  Add extra tests.
320         Restrict printing of string in debug mode to 100 characters to make
321         the output useful for long input texts.
323         * posix/Makefile: Add rules to build and run tst-regex.
325 2001-06-20  Isamu Hasegawa  <isamu@yamato.ibm.com>
327         * posix/regex.c (FREE_WCS_BUFFERS): New macro to free buffers.
328         (re_search_2): Invoke convert_mbs_to_wcs and FREE_WCS_BUFFERS.
329         (wcs_re_match_2_internal): Check whether the wcs buffers need
330         seting up or not, and skip seting up routin if not needed.
332 2001-06-26  Isamu Hasegawa  <isamu@yamato.ibm.com>
334         * posix/regex.c (count_mbs_length): Use binary search for optimization.
336 2001-06-27  Ulrich Drepper  <drepper@redhat.com>
338         * posix/tst-regex.c: Fix several bugs.  Add more tests.
340 2001-06-26  Mark Kettenis  <kettenis@gnu.org>
342         * hurd/Makefile (user-interfaces): Add pfinet.
343         * hurd/hurdioctl.c: Include <hurd/pfinet.h>, <net/if.h> and
344         <netinet/in.h>.
345         (siocgifconf): New function.  Register it with HURD_HANDLE_IOCTL
346         as the handler for SIOCGIFCONF.
347         * sysdeps/mach/hurd/bits/ioctls.h: Modify SIOCSIFFLAGS and
348         SIOCGIFFLAGS to be of IOC type ifreq_short.  Modify SIOCSIFMETRIC
349         and SIOCGIFMETRIC to be of IOC type ifreq_int.  Add new macro
350         definitions for SIOCGIFMTU, SIOCSIFMTU, SIOCGIFINDEX and
351         SIOCGIFNAME.
352         From Marcus Brunkmann <marcus@gnu.org>.
354 2001-06-25  Ulrich Drepper  <drepper@redhat.com>
356         * sysdeps/gnu/net/if.h: Correct _IOT_ifreq and add _IOT_ifreq_short
357         and _IOT_ifreq_int.  Patch by Mark Kettenis <kettenis@wins.uva.nl>.
359         * elf/dl-deps.c (_dl_map_object_deps): Fix handling of failing
360         _dl_catch_error calls.
362 2001-06-22  Jakub Jelinek  <jakub@redhat.com>
364         * posix/regex.c (regex_compile, re_match_2_internal): Fix comment
365         typos.
367 2001-06-01  Wolfram Gloger  <wg@malloc.de>
369         * malloc/malloc.c (malloc_atfork, free_atfork): Use a unique value
370         ATFORK_ARENA_PTR, not 0, for the thread-specific arena pointer
371         when malloc_atfork is in use.
373 2001-06-22  Andreas Jaeger  <aj@suse.de>
375         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Add parenthese
376         to avoid warnings.
378         * sysdeps/i386/fpu/e_expl.c (__ieee754_expl): Remove unused
379         variable.
380         Add unused attributes to avoid warnings.
382         * elf/reldep4mod4.c: Add prototype to avoid warning.
383         * elf/reldep4mod2.c: Likewise.
385         * sysdeps/i386/fpu/e_expl.c: Include <math_private.h> for
386         prototypes.
388 2001-06-18  Roland McGrath  <roland@frob.com>
390         * hurd/hurd/fd.h (_hurd_fd_error_signal): Change return type to int.
392 2001-06-20  Alexandre Oliva  <aoliva@redhat.com>
394         * sysdeps/unix/sysv/settimeofday.c: Include time.h.
396 2001-06-19  Martin Schwidefsky  <schwidefsky@de.ibm.com>
398         * sysdeps/unix/sysv/linux/s390/s390-64/dl-cache.h: New file.
400 2001-05-09  Michael Keezer  <mkeezer@redhat.com>
402         * Makeconfig: Added AIX-ld support for DSO.
403         * Makerules: Likewise.
404         * dlfcn/Makefile (defaultmod1.so): Added libc_nonshared.
405         (defaultmod2.so): Likewise.
406         * debug/Makefile: Conditionalize use of elf/ld.so.
407         * iconvdata/Makefile: Moved LDFLAG rpath/soname info into Makeconfig.
409         * sysdeps/unix/sysv/aix/Makefile: Added dl-support.c and dl-error.c.
410         * sysdeps/unix/sysv/aix/Makefile: Made (f/g)rsave(0/1) &
411         (f/g)prrest(0/1) static only.
412         * sysdeps/unix/sysv/aix/gettimeofday.c: Removed #if 0.
413         * sysdeps/unix/sysv/aix/start.c: Define __dso_handle if not ELF but
414         shared.
415         * sysdeps/unix/sysv/aix/setitimer.c: New file.
416         * sysdeps/unix/sysv/aix/sleep.c: New file.
417         * sysdeps/unix/sysv/aix/usleep.c: New file.
418         * sysdeps/unix/sysv/aix/dl-addr.c: New file.
419         * sysdeps/unix/sysv/aix/dl-error.c: New file.
420         * sysdeps/unix/sysv/aix/dl-support.c: New file.
421         * sysdeps/unix/sysv/aix/powerpc/register-dump.h: New file.
423 2001-06-19  Ulrich Drepper  <drepper@redhat.com>
425         * po/es.po: Update from translation team.
427 2001-06-19  Andreas Jaeger  <aj@suse.de>
429         * sysdeps/ieee754/ldbl-128/s_tanhl.c: New file.
431         * math/libm-test.inc (tanh_test): Test for 2^-56.
433         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Make sure result
434         equals argument when x < 2^-55.
435         Patches by Stephen L. Moshier <moshier@na-net.ornl.gov>.
437 2001-06-17  Alan Modra  <amodra@bigpond.net.au>
439         * sysdeps/hppa/dl-machine.h (elf_machine_rela): Handle relocs
440         at unaligned address.
442 2001-06-18  Ulrich Drepper  <drepper@redhat.com>
444         * posix/regex.c: Reorganize code to build code twice, once for single
445         byte, once for multi-byte charsets.  Choose function set adequate for
446         locale at runtime.
447         Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
449         * po/nl.po: Update from translation team.
451 2001-06-09  Bruno Haible  <haible@clisp.cons.org>
453         * iconvdata/gconv-modules (BIG5HKSCS): New alias BIG5-HKSCS.
454         (ISO-8859-14): New aliases ISO_8859-14 and ISO-CELTIC.
455         * iconvdata/tst-tables.sh: For BIG5HKSCS, use BIG5-HKSCS charmap.
457 2001-05-26  Bruno Haible  <haible@clisp.cons.org>
459         * iconvdata/tst-tables.sh: For SJIS module, use SHIFT_JIS charmap.
460         * manual/charset.texi: Write Shift_JIS, not Shift-JIS.
462 2001-06-17  Roland McGrath  <roland@frob.com>
464         * sysdeps/pthread/aio_misc.h (LIO_DSYNC): Define to LIO_NOP + 1,
465         not LIO_READ + 1 (which is the value of LIO_WRITE!).
467         * Makerules (build-module-helper-objlist): New variable,
468         broken out of build-module.  Insert --whole-archive/--no-whole-archive
469         immediately each *_pic.a file in the link object list.
470         (whole-archive): New variable, used by that.
471         (build-module-objlist): New variable using build-module-helper-objlist.
472         (build-module, build-module-helper): Use it.
473         (build-shlib-objlist): New variable using build-module-helper-objlist.
474         (build-shlib): Use that.
475         * sysdeps/mach/hurd/Makefile ($(link-rpcuserlibs)): Likewise.
477         * posix/spawni.c: Moved to ...
478         * sysdeps/posix/spawni.c: ... here.
479         * sysdeps/generic/spawni.c: New file.
481 2001-06-16  Roland McGrath  <roland@frob.com>
483         * hurd/Makefile (routines): Add lookup-retry.
484         * hurd/hurdlookup.c (__hurd_file_name_lookup_retry): Broken out ...
485         * hurd/lookup-retry.c: ... into here, new file.
486         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Call that instead
487         using of duplicate code here.
489         * hurd/hurdexec.c (_hurd_exec): Be robust for DTABLESIZE==0.
491 2001-06-17  Ulrich Drepper  <drepper@redhat.com>
493         * po/ja.po: Update from translation team.
495 2001-06-04  Bruno Haible  <haible@clisp.cons.org>
497         * locale/programs/locfile.c (siblings_uncached, siblings, full_read,
498         compare_files): New functions.
499         (write_locale_data): Use xmalloc.  Compare the file with the locale
500         data files for the same category in other locales, and reuse it if
501         possible and safe.
503 2001-06-07  Mark Kettenis  <kettenis@gnu.org>
505         * grp/initgroups.c (initgroups): Factor out re-usable code into...
506         (internal_getgrouplist): ... new function.
507         (getgrouplist): New function.
508         * grp/grp.h (getgrouplist): New prototype.
509         * grp/Versions [2.2.4]: Add getgrouplist.
511 2001-06-16  Ulrich Drepper  <drepper@redhat.com>
513         * inet/netinet/ip6.h: Fix comments in ip6_hdr.
514         Patch by Pekka Savola <pekkas@netcore.fi>.
516 2001-06-15  Roland McGrath  <roland@frob.com>
518         * rt/Makefile (aio-routines, clock-routines, timer-routines): New
519         variables, broken out of librt-routines.
520         (librt-routines): Set using those.
521         (extra-libs, extra-libc-others, tests): Set these unconditionally.
522         (distribute): No need for $(librt-map) or $(librt-routines:=.c) here.
523         * sysdeps/generic/aio_fsync.c: New file.
524         * sysdeps/generic/aio_misc.c: New file.
525         * sysdeps/generic/aio_write.c: New file.
526         * sysdeps/generic/aio_write64.c: New file.
527         * sysdeps/generic/aio_read64.c: New file.
528         * sysdeps/generic/aio_read.c: New file.
529         * sysdeps/generic/aio_notify.c: New file.
530         * sysdeps/generic/lio_listio64.c: New file.
531         * sysdeps/generic/lio_listio.c: New file.
532         * sysdeps/generic/aio_cancel.c: New file.
533         * sysdeps/generic/aio_misc.h: New file.
534         * sysdeps/generic/aio_suspend.c: New file.
535         * rt/aio_cancel.c: Moved to ...
536         * sysdeps/pthread/aio_cancel.c: ... here.
537         * rt/aio_fsync.c: Moved to ...
538         * sysdeps/pthread/aio_fsync.c: ... here.
539         * rt/aio_misc.c: Moved to ...
540         * sysdeps/pthread/aio_misc.c: ... here.
541         * rt/aio_misc.h: Moved to ...
542         * sysdeps/pthread/aio_misc.h: ... here.
543         * rt/aio_notify.c: Moved to ...
544         * sysdeps/pthread/aio_notify.c: ... here.
545         * rt/aio_read.c: Moved to ...
546         * sysdeps/pthread/aio_read.c: ... here.
547         * rt/aio_read64.c: Moved to ...
548         * sysdeps/pthread/aio_read64.c: ... here.
549         * rt/aio_suspend.c: Moved to ...
550         * sysdeps/pthread/aio_suspend.c: ... here.
551         * rt/aio_write.c: Moved to ...
552         * sysdeps/pthread/aio_write.c: ... here.
553         * rt/aio_write64.c: Moved to ...
554         * sysdeps/pthread/aio_write64.c: ... here.
555         * rt/lio_listio.c: Moved to ...
556         * sysdeps/pthread/lio_listio.c: ... here.
557         * rt/lio_listio64.c: Moved to ...
558         * sysdeps/pthread/lio_listio64.c: ... here.
560 2001-06-14  Roland McGrath  <roland@frob.com>
562         * configure.in: Let sysdeps Implies files in add-ons bring in
563         sysdeps directories from the main source and other add-ons too.
565 2001-06-15  Jakub Jelinek  <jakub@redhat.com>
567         * math/test-misc.c (main): Add tests for nextafter and nexttoward
568         with +-Inf as second argument.
570         * sysdeps/generic/s_nexttowardf.c (__nexttowardf): Only check for
571         NaN, not Inf.
572         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Fix check for NaN.
573         * sysdeps/i386/fpu/s_nexttoward.c: New.
574         * sysdeps/i386/fpu/s_nexttowardf.c: New.
575         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Simplify
576         check for NaN, optimize x==+-0 handling.
577         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf): Likewise.
578         * sysdeps/ieee754/ldbl-96/s_nextafterl.c (__nextafterl): Simplify
579         check for NaN, fix sign in x==+-0 case.
580         * sysdeps/ia64/fpu/s_nexttoward.c: New.
581         * sysdeps/ia64/fpu/s_nexttowardf.c: New.
583 2001-06-15  H.J. Lu  <hjl@gnu.org>
585         * rt/tst-aio2.c (do_test): Initialize cb.aio_offset to 0.
586         * rt/tst-aio3.c (do_test): Likewise.
587         * rt/tst-aio4.c (do_test): Likewise.
588         * rt/tst-aio5.c (do_test): Likewise.
589         * rt/tst-aio6.c (do_test): Likewise.
591 2001-06-15  Andreas Schwab  <schwab@suse.de>
593         * sysdeps/m68k/fpu/bits/mathinline.h: Don't define log2 as inline.
594         * sysdeps/m68k/fpu/mathimpl.h: Define __ieee754_log2 as inline.
596 2001-06-15  Andreas Jaeger  <aj@suse.de>
598         * gmon/tst-sprofil.c (fac): Make static to avoid compiler warning.
600 2001-06-14  Andreas Schwab  <schwab@suse.de>
602         * elf/ldconfig.c (search_dir): Fix check for regular file.
604         * sysdeps/m68k/fpu/e_log2f.c: Fix typo.
605         * sysdeps/m68k/fpu/e_log2l.c: Fix typo.
607 2001-06-14  Roland McGrath  <roland@frob.com>
609         * sysdeps/mach/hurd/bits/fcntl.h [ __USE_POSIX199309 || __USE_UNIX98]:
610         (O_DSYNC, O_RSYNC): New macros, both defined to O_SYNC as Linux does.
612 2001-06-13  Roland McGrath  <roland@frob.com>
614         * rt/aio_notify.c: Include <unistd.h> for _POSIX_REALTIME_SIGNALS.
616         * sysdeps/mach/hurd/fork.c (LOSE): Put `goto lose' in dead code
617         so the label is not considered unused.
619         * sysdeps/mach/hurd/pwrite64.c: New file.
620         * sysdeps/mach/hurd/pread64.c: New file.
622         * sysdeps/mach/hurd/pread.c
623         (__libc_pread): Define this name, with __pread as an alias.
624         * sysdeps/mach/hurd/pwrite.c
625         (__libc_pwrite): Define this name, with __pwrite as an alias.
627         Implement POSIX "shared memory objects" as regular
628         files residing in the /var/run/shm/ directory.
629         This works on any system that supports _POSIX_MAPPED_FILES,
630         to make it also support _POSIX_SHARED_MEMORY_OBJECTS.
631         * sysdeps/posix/shm_open.c: New file.
632         * sysdeps/posix/shm_unlink.c: New file.
633         * sysdeps/mach/hurd/bits/posix_opt.h
634         (_POSIX_SHARED_MEMORY_OBJECTS): Define it.
636         * rt/aio_notify.c (__aio_notify_only) [! _POSIX_REALTIME_SIGNALS]:
637         Use raise instead of __aio_sigqueue.
639         * sysdeps/mach/hurd/pread.c: Fail with EINVAL if OFFSET is negative.
640         * sysdeps/mach/hurd/pwrite.c: Likewise.
642         * shlib-versions [USE_IN_LIBIO] (.*-.*-gnu-gnu.*): libc=0.3
643         [USE_IN_LIBIO && !GLIBC_OLDEST_ABI] (.*-.*-gnu-gnu.*): Use GLIBC_2.2.4
644         as default version set.
646 2001-06-13  Ulrich Drepper  <drepper@redhat.com>
648         * libio/iolibio.h (_IO_freopen): Correct last parameter to
649         _IO_file_open.
650         (_IO_freopen64): Likewise.
651         Reported by simanek@quantum.karlov.mff.cuni.cz [PR libc/2326].
653         * elf/elf.h: Add a few more EM_* constants.
655 2001-06-12  Bruno Haible  <haible@clisp.cons.org>
657         * intl/dcigettext.c (DCIGETTEXT): Release the lock before returning.
659 2001-06-09  Ben Collins  <bcollins@debian.org>
661         * sysdeps/unix/sysv/linux/bits/termios.h: Define __MAX_BAUD.
662         * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
663         * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
664         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
665         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
666         * sysdeps/unix/sysv/linux/speed.c: Use __MAX_BAUD instead of
667         hardcoded B400000.
669 2001-06-13  Ulrich Drepper  <drepper@redhat.com>
671         * time/sys/time.h: Don't use enum __itimer_which ever for
672         __itimer_which_t for C++.
673         Reported by Martin Buchholz <martin@xemacs.org>.
675         * po/fr.po: Update from translation team.
677 2001-06-12  H.J. Lu  <hjl@gnu.org>
679         * configure.in: Fix typos in missing program names.
680         * configure: Regenerated.
682 2001-06-12  Andreas Jaeger  <aj@suse.de>
684         * iconvdata/tst-table-to.c: Include string.h for strcmp prototype.
686         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Add ULPs for tanh (-0.7).
688 2001-06-11  Andreas Jaeger  <aj@suse.de>
690         * sysdeps/ieee754/ldbl-128/e_coshl.c: New file.  Contributed by
691         Stephen L Moshier <moshier@mediaone.net>.
693         * aclocal.m4: Quote AC_FD_MSG and AC_FD_CC.
695         * sysdeps/powerpc/fpu/libm-test-ulps: Add ULPs for tanh (-0.7).
696         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
698 2001-06-11  Michael Deutschmann  <michael@talamasca.ocis.net>
700         * rt/tst-aio4.c (do_test): Test whether rt signals are supported.
701         Use my_signo instead of MY_SIGNO and initialize it so that the
702         used signal is always available.
704 2001-06-11  Andreas Jaeger  <aj@suse.de>,
705             Michael Deutschmann  <michael@talamasca.ocis.net>
707         * io/test-lfs.c (do_prepare): Clean up error messages.
708         (test_ftello): Check for EFBIG and ENOSPC, clean up error messages.
709         (do_test): Likewise.
711 2001-06-11  Andreas Jaeger  <aj@suse.de>
713         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (IXANY, IUCLC,
714         IMAXBEL): Make always visible since they're needed by POSIX.
715         Closes PR libc/2320, reported by Chris Yeoh <cyeoh@samba.org>.
717 2001-06-10  Ben Collins  <bcollins@debian.org>
719         * sysdeps/arm/elf/start.S: Use #function, not @function, for
720         .type of _start.
722         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Include limits.h to get
723         INT_MAX.
725 2001-06-07  H.J. Lu  <hjl@gnu.org>
727         * sunrpc/rpc/rpc.h: Add __BEGIN_DECLS/__END_DECLS.
729 2001-06-10  Roland McGrath  <roland@frob.com>
731         * elf/reldep4mod2.c: Use fully typed decls to avoid warnings.
732         * elf/reldep4mod4.c: Likewise.
734 2001-06-10  Mark Kettenis  <kettenis@gnu.org>
736         * hurd/hurd/threadvar.h: Add prototype for __hurd_errno_location.
738 2001-06-08  Andreas Schwab  <schwab@suse.de>
740         * posix/regex.c (re_match_2_internal) [case wordbeg, wordend]:
741         Don't dereference at end of string.
743 2001-06-06  Roland McGrath  <roland@frob.com>
745         * sysdeps/mach/hurd/getsockopt.c: Fix handling of returned buffer size.
746         From Robert Bihlmeyer <robbe@orcus.priv.at>.
748 2001-06-06  Ulrich Drepper  <drepper@redhat.com>
750         * po/ko.po: Update from translation team.
752 2001-06-06  Andreas Jaeger  <aj@suse.de>
754         * manual/llio.texi (Memory-mapped I/O): Clarify that mapping is to
755         offset+length-1.
756         Reported by Robert Bernecky <bernecky@acm.org>.
758 2001-06-06  Jakub Jelinek  <jakub@redhat.com>
760         * sysdeps/cris/elf/start.S: Fix a typo introduced by last patch.
761         * sysdeps/ia64/elf/start.S: Likewise.
762         * sysdeps/sh/elf/start.S: Likewise.
763         * sysdeps/s390/s390-32/elf/start.S: Likewise.
764         * sysdeps/s390/s390-64/elf/start.S: Likewise.
766 2001-06-05  Matthew Wilcox  <willy@ldl.fc.hp.com>
768         * sysdeps/hppa/bsd-_setjmp.S: New.
769         * sysdeps/hppa/bsd-setjmp.S: New.
771         * sysdeps/hppa/dl-machine.h: Reformat asm statements to remove new
772         gcc warnings about multi-line strings.
774         * sysdeps/unix/sysv/linux/hppa/getrlimit.c: Remove.
775         * sysdeps/unix/sysv/linux/hppa/setrlimit.c: Remove.
777         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Call getrlimit,
778         setrlimit directly instead of using wrappers.
780 2001-05-01  Richard Hirst  <rhirst@linuxcare.com>
782         * sysdeps/unix/sysv/linux/hppa/syscall.S: remove dummy syscall.
783         * sysdeps/unix/sysv/linux/hppa/sysdep.c: implement syscall.
785 2001-06-05  Philipp Thomas  <pthomas@suse.de>
787         * nis/nis_call.c (__nisbind_connect): Don't mark for translation
788         what can't be translated.
790 2001-06-06  Ulrich Drepper  <drepper@redhat.com>
792         * timezone/zic.c: Update from tzcode2001c.
793         * timezone/private.h: Likewise.
794         * timezone/africa: Update from tzdata2001c.
795         * timezone/asia: Likewise.
796         * timezone/europe: Likewise.
797         * timezone/northamerica: Likewise.
798         * timezone/southamerica: Likewise.
799         * timezone/zone.tab: Likewise.
801 2001-06-04  Bruno Haible  <haible@clisp.cons.org>
803         * iconv/loop.c (UNICODE_TAG_HANDLER): New macro.
804         * iconv/gconv_simple.c (__gconv_transform_internal_ascii): Invoke
805         UNICODE_TAG_HANDLER.
806         (__gconv_transform_internal_ucs2): Likewise.
807         (__gconv_transform_internal_ucs2reverse): Likewise.
808         * iconvdata/8bit-gap.c (BODY for TO_LOOP): Invoke UNICODE_TAG_HANDLER.
809         * iconvdata/8bit-generic.c (BODY for TO_LOOP): Likewise.
810         * iconvdata/ansi_x3.110.c (BODY for TO_LOOP): Likewise.
811         * iconvdata/big5.c (BODY for TO_LOOP): Likewise.
812         * iconvdata/big5hkscs.c (BODY for TO_LOOP): Likewise.
813         * iconvdata/cp1255.c (BODY for TO_LOOP): Likewise.
814         * iconvdata/cp1258.c (BODY for TO_LOOP): Likewise.
815         * iconvdata/euc-cn.c (BODY for TO_LOOP): Likewise.
816         * iconvdata/euc-jp.c (BODY for TO_LOOP): Likewise.
817         * iconvdata/euc-kr.c (BODY for TO_LOOP): Likewise.
818         * iconvdata/euc-tw.c (BODY for TO_LOOP): Likewise.
819         * iconvdata/gbk.c (BODY for TO_LOOP): Likewise.
820         * iconvdata/ibm930.c (BODY for TO_LOOP): Likewise.
821         * iconvdata/ibm932.c (BODY for TO_LOOP): Likewise.
822         * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
823         * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
824         * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
825         * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
826         * iconvdata/ibm943.c (BODY for TO_LOOP): Likewise.
827         * iconvdata/iso646.c (BODY for TO_LOOP): Likewise.
828         * iconvdata/iso8859-1.c (BODY for TO_LOOP): Likewise.
829         * iconvdata/iso_6937.c (BODY for TO_LOOP): Likewise.
830         * iconvdata/iso_6937-2.c (BODY for TO_LOOP): Likewise.
831         * iconvdata/iso-2022-cn.c (BODY for TO_LOOP): Likewise.
832         * iconvdata/iso-2022-cn-ext.c (BODY for TO_LOOP): Likewise.
833         * iconvdata/iso-2022-kr.c (BODY for TO_LOOP): Likewise.
834         * iconvdata/johab.c (BODY for TO_LOOP): Likewise.
835         * iconvdata/sjis.c (BODY for TO_LOOP): Likewise.
836         * iconvdata/t.61.c (BODY for TO_LOOP): Likewise.
837         * iconvdata/uhc.c (BODY for TO_LOOP): Likewise.
838         * iconvdata/unicode.c (BODY for TO_LOOP): Likewise.
839         * iconvdata/iso-2022-jp.c (TAG_none, TAG_language, TAG_language_j,
840         TAG_language_ja, TAG_language_k, TAG_language_ko, TAG_language_z,
841         TAG_language_zh, CURRENT_TAG_MASK): New enum values.
842         (EMIT_SHIFT_TO_INIT): Don't emit an escape sequence if ASCII_set
843         is already selected but set2 or tag are set.
844         (conversion): New enum type.
845         (cvlist_t): New type.
846         (CVLIST, CVLIST_FIRST, CVLIST_REST): New macros.
847         (conversion_lists): New array.
848         (BODY for TO_LOOP): Keep track of Unicode 3.1 language tag.  If "ja",
849         prefer conversion to Japanese character sets.  If "zh", prefer
850         conversion to GB2312.  If "ko", prefer conversion to KSC5601.  Small
851         optimizations.
852         (INIT_PARAMS): Add tag.
853         (UPDATE_PARAMS): Add tag.
855 2001-06-04  Bruno Haible  <haible@clisp.cons.org>
857         * locale/programs/locfile.c (write_locale_data): Before creat(),
858         unlink the file, to avoid crashing the processes that mmap it.  Change
859         a double slash to a single slash.  Free fname in case of error return.
861 2001-06-02  Jakub Jelinek  <jakub@redhat.com>
863         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Mostly revert 2000-12-03
864         changes, do the special handling for denormal numbers, not for
865         normalized numbers (patch by <trevin@xmission.com>).
867         * math/test-misc.c (main): Test frexpl with denormal arguments.
869 2001-06-04  Jakub Jelinek  <jakub@redhat.com>
871         * math/libm-test.inc (llround_test): Add two new llround tests.
872         * sysdeps/ieee754/ldbl-96/s_llroundl.c (__llroundl): Don't allow
873         overflow when rounding away from zero.
875 2001-06-04  Jakub Jelinek  <jakub@redhat.com>
877         * math/Makefile (libm-calls): Add e_log2, w_log2, remove s_log2.
878         * math/math_private.h (__ieee754_log2, __ieee754_log2f,
879         __ieee754_log2l): New prototypes.
880         * sysdeps/generic/w_log2.c: New file.
881         * sysdeps/generic/w_log2f.c: New file.
882         * sysdeps/generic/w_log2l.c: New file.
883         * sysdeps/generic/s_log2l.c: Move...
884         * sysdeps/generic/e_log2l.c: ...to here.  Rename to __ieee754_log2l.
885         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle log2(0)
886         and log2(x < 0).
887         * sysdeps/i386/fpu/s_log2.S: Move...
888         * sysdeps/i386/fpu/e_log2.S: ...to here.  Rename to __ieee754_log2.
889         * sysdeps/i386/fpu/s_log2f.S: Move...
890         * sysdeps/i386/fpu/e_log2f.S: ...to here.  Rename to __ieee754_log2f.
891         * sysdeps/i386/fpu/s_log2l.S: Move...
892         * sysdeps/i386/fpu/e_log2l.S: ...to here.  Rename to __ieee754_log2l.
893         * sysdeps/m68k/fpu/s_log2.c: Move...
894         * sysdeps/m68k/fpu/e_log2.c: ...to here.  Rename to __ieee754_log2.
895         * sysdeps/m68k/fpu/s_log2f.c: Move...
896         * sysdeps/m68k/fpu/e_log2f.c: ...to here.  Rename to __ieee754_log2f.
897         * sysdeps/m68k/fpu/s_log2l.c: Move...
898         * sysdeps/m68k/fpu/e_log2l.c: ...to here.  Rename to __ieee754_log2l.
899         * sysdeps/ieee754/dbl-64/s_log2.c: Move...
900         * sysdeps/ieee754/dbl-64/e_log2.c: ...to here.  Rename to
901         __ieee754_log2.
902         * sysdeps/ieee754/flt-32/s_log2f.c: Move...
903         * sysdeps/ieee754/flt-32/e_log2f.c: ...to here.  Rename to
904         __ieee754_log2f.
906 2001-06-04  Jakub Jelinek  <jakub@redhat.com>
908         * sysdeps/generic/w_exp2.c (u_threshold): Lower threshold so that
909         even arguments which result in denormalized exp2 are accepted.
910         (__exp2): Arguments equal to u_threshold already result into
911         underflow.
912         * sysdeps/generic/w_exp2f.c (u_threshold, __exp2f): Likewise.
913         * sysdeps/generic/w_exp2l.c (u_threshold, __exp2l): Likewise.
914         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Lomark was too
915         low, with corrected lowmark use greaterequal, not greater.
916         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
918 2001-06-04  Jakub Jelinek  <jakub@redhat.com>
920         * math/libm-test.inc (ilogb_test): Test that ilogb(+-Inf) == INT_MAX.
921         * sysdeps/i386/fpu/s_ilogb.S (__ilogb): Return INT_MAX for +-Inf.
922         * sysdeps/i386/fpu/s_ilogbf.S (__ilogbf): Likewise.
923         * sysdeps/i386/fpu/s_ilogbl.S (__ilogbl): Likewise.
924         * sysdeps/ieee754/dbl-64/s_ilogb.c (__ilogb): Likewise.
925         * sysdeps/ieee754/flt-32/s_ilogbf.c (__ilogbf): Likewise.
926         * sysdeps/ieee754/ldbl-128/s_ilogbl.c (__ilogbl): Likewise.
927         * sysdeps/ieee754/ldbl-96/s_ilogbl.c (__ilogbl): Likewise.
929 2001-06-04  Jakub Jelinek  <jakub@redhat.com>
931         * sysdeps/generic/w_coshl.c (__coshl): Test if finite argument
932         gave non-finite result instead of using constant in generic
933         version.
934         * sysdeps/generic/w_coshf.c (__coshf): Likewise.
935         * sysdeps/generic/w_cosh.c (__cosh): Likewise.
936         * sysdeps/generic/w_exp10.c (o_threshold, u_threshold): Remove.
937         (__exp10): Test if finite argument gave non-finite result.
938         * sysdeps/generic/w_exp10f.c (o_threshold, u_threshold, __exp10f):
939         Likewise.
940         * sysdeps/generic/w_exp10l.c (o_threshold, u_threshold, __exp10l):
941         Likewise.
943 2001-06-04  Jakub Jelinek  <jakub@redhat.com>
945         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Fix
946         overflow threshold constant (log(LDBL_MAX)+M_LN2l).
948 2001-05-29  Bruno Haible  <haible@clisp.cons.org>
950         * locale/programs/ld-ctype.c (idx_table): New struct type.
951         (idx_table_init, idx_table_get, idx_table_add): New functions.
952         (MAX_CHARNAMES_IDX): Remove macro.
953         (locale_ctype_t): Change type of charnames_idx field.
954         (ctype_startup): Change initialization of charnames_idx field.
955         (find_idx): Use idx_table_get and idx_table_add for speed.
957         * locale/programs/charmap.c (charmap_new_char): Fix ucs4 value
958         computation of characters in a range.
960 2001-05-29  Bruno Haible  <haible@clisp.cons.org>
962         * iconvdata/gb18030.c (__fourbyte_to_ucs1): Add mappings for <U03F4>,
963         <U03F5>.
964         (__ucs_to_gb18030_tab1): Likewise.
965         (BODY for FROM_LOOP): Add mapping for <U00010000>..<U0010FFFF>.
966         (BODY for TO_LOOP): Likewise.
967         * iconvdata/tst-table-charmap.sh: Update for charmaps containing
968         <U00xxxxxx> syntax.
969         * iconvdata/tst-table-from.c (bmp_only): New variable.
970         (utf8_decode): If bmp_only, don't return characters outside Unicode
971         plane 0.
972         (main): When testing UTF-8 or GB18030, set bmp_only to 1.  Don't print
973         a conversion line if utf8_decode returns NULL.
974         * iconvdata/tst-table-to.c (main): When testing encodings other than
975         UTF-8 and GB18030, loop upto U+30000 instead of U+10000.  Use UTF-8
976         instead of UCS-2 as input.
977         * iconvdata/tst-table.sh: For GB18030, use only the part < 0x10000
978         of the charmap.
980 2001-05-29  Bruno Haible  <haible@clisp.cons.org>
982         * iconvdata/cns11643l1.c: Update to Unicode 3.1.
983         (__cns11643l1_to_ucs4_tab): Regenerated.
984         (__cns11643l1_from_ucs4_tab12): Regenerated.
985         * iconvdata/cns11643.c: Update to Unicode 3.1.
986         (__cns11643l14_to_ucs4_tab): Remove array.
987         (__cns11643l3_to_ucs4_tab, __cns11643l4_to_ucs4_tab,
988         __cns11643l5_to_ucs4_tab, __cns11643l6_to_ucs4_tab,
989         __cns11643l7_to_ucs4_tab, __cns11643l15_to_ucs4_tab): New arrays.
990         (__cns11643_from_ucs4p0_tab): Renamed from __cns11643_from_ucs4_tab.
991         (__cns11643_from_ucs4p2_tab): New array.
992         * iconvdata/cns11643.h (__cns11643l14_to_ucs4_tab): Remove declaration.
993         (__cns11643l3_to_ucs4_tab, __cns11643l4_to_ucs4_tab,
994         __cns11643l5_to_ucs4_tab, __cns11643l6_to_ucs4_tab,
995         __cns11643l7_to_ucs4_tab, __cns11643l15_to_ucs4_tab): New declarations.
996         (cns11643_to_ucs4): Treat planes 3, 4, 5, 6, 7, 15 instead of 14.
997         (__cns11643_from_ucs4_tab): Remove declaration.
998         (__cns11643_from_ucs4p0_tab, __cns11643_from_ucs4p2_tab): New
999         declarations.
1000         (ucs4_to_cns11643): Update for new arrays.  Treat U+3400..U+4DFF and
1001         U+20000..U+2A6D6.
1002         * iconvdata/cns11643l2.h (__cns11643_from_ucs4_tab): Remove
1003         declaration.
1004         (__cns11643_from_ucs4p0_tab): New declaration.
1005         (ucs4_to_cns11643l2): Update for new arrays.
1006         * iconvdata/iso-2022-cn-ext.c (BODY for FROM_LOOP): Handle planes
1007         3 to 7.
1008         (BODY for TO_LOOP): Handle planes 3 to 7, instead of plane 14.
1009         * iconvdata/EUC-TW.irreversible: New file.
1010         * iconvdata/tst-table.sh: Use it.
1011         * iconvdata/Makefile (distribute): Add CP1255.irreversible,
1012         CP1258.irreversible, EUC-TW.irreversible.
1014 2001-05-29  Bruno Haible  <haible@clisp.cons.org>
1016         * locale/C-translit.h.in: Add transliterations for new Unicode 3.1
1017         mathematical symbols.
1019 2001-06-05  Andreas Jaeger  <aj@suse.de>
1021         * manual/stdio.texi (Portable Positioning): Fix description of
1022         fpos_t and fpos64_t.
1024 2001-06-06  Ulrich Drepper  <drepper@redhat.com>
1026         * sysdeps/generic/wordexp.c: Undo last patch.  Use strndupa instead.
1028         * po/sk.po: Update from translation team.
1030 2001-06-05  Andreas Jaeger  <aj@suse.de>
1032         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Recognize
1033         tmpfs, patch by Stanislav Brabec <utx@penguin.cz>.
1034         Closes PR libc/2315.
1036 2001-06-05  Ulrich Drepper  <drepper@redhat.com>
1038         * sysdeps/generic/wordexp.c: Add missing free.
1039         Patch by yeti@physics.muni.cz.
1041 2001-06-02  Tom Browder  <tbrowder@home.com>
1043         * misc/tst-tsearch.c (mangle_tree): Ensure array indices are
1044         within bounds when lag > 0.
1046 2001-06-05  Ulrich Drepper  <drepper@redhat.com>
1048         * po/tr.po: New file.
1050 2001-06-05  Andreas Jaeger  <aj@suse.de>
1052         * manual/libm-err-tab.pl (parse_ulps): Fix typo.
1054 2001-06-04  H.J. Lu  <hjl@gnu.org>
1056         * sysdeps/alpha/elf/start.S: Add .type for the entry point.
1057         * sysdeps/arm/elf/start.S: Likewise.
1058         * sysdeps/hppa/elf/start.S: Likewise.
1059         * sysdeps/i386/elf/start.S: Likewise.
1060         * sysdeps/m68k/elf/start.S: Likewise.
1061         * sysdeps/mips/elf/start.S: Likewise.
1062         * sysdeps/ia64/elf/start.S: Likewise.
1063         * sysdeps/sh/elf/start.S: Likewise.
1064         * sysdeps/s390/s390-32/elf/start.S: Likewise.
1065         * sysdeps/s390/s390-64/elf/start.S: Likewise.
1066         * sysdeps/cris/elf/start.S: Likewise.
1068 2001-06-04  Bruce Mitchener  <bruce@cubik.org>
1070         * manual/resource.texi: Correct setpriority/nice documentation.
1072         * sysdeps/unix/nice.c: Correct nice() implementation.
1074 2001-06-04  Andreas Jaeger  <aj@suse.de>
1076         * sysdeps/ieee754/ldbl-128/e_sinhl.c: New file, contributed by
1077         Stephen L Moshier <moshier@mediaone.net>.
1079 2001-06-03  Roland McGrath  <roland@frob.com>
1081         * Makefile (postclean): Remove obsolete sysd-Makefile.
1083 2001-06-01  Roland McGrath  <roland@frob.com>
1085         * sysdeps/alpha/fpu/fclrexcpt.c: #include <shlib-compat.h>
1086         and use compat_symbol/versioned_symbol instead of plain
1087         symbol_version/default_symbol_version.
1088         * sysdeps/alpha/fpu/fegetenv.c: Likewise.
1089         * sysdeps/alpha/fpu/fesetenv.c: Likewise.
1090         * sysdeps/alpha/fpu/feupdateenv.c: Likewise.
1091         * sysdeps/alpha/fpu/fgetexcptflg.c: Likewise.
1092         * sysdeps/alpha/fpu/fraiseexcpt.c: Likewise.
1093         * sysdeps/alpha/fpu/fsetexcptflg.c: Likewise.
1094         * sysdeps/arm/fpu/fclrexcpt.c: Likewise.
1095         * sysdeps/arm/fpu/fegetenv.c: Likewise.
1096         * sysdeps/arm/fpu/fesetenv.c: Likewise.
1097         * sysdeps/arm/fpu/fraiseexcpt.c: Likewise.
1098         * sysdeps/arm/fpu/fsetexcptflg.c: Likewise.
1099         * sysdeps/i386/fpu/fclrexcpt.c: Likewise.
1100         * sysdeps/i386/fpu/fegetenv.c: Likewise.
1101         * sysdeps/i386/fpu/fesetenv.c: Likewise.
1102         * sysdeps/i386/fpu/feupdateenv.c: Likewise.
1103         * sysdeps/i386/fpu/fgetexcptflg.c: Likewise.
1104         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
1105         * sysdeps/i386/fpu/fsetexcptflg.c: Likewise.
1106         * sysdeps/m68k/fpu/fclrexcpt.c: Likewise.
1107         * sysdeps/m68k/fpu/fegetenv.c: Likewise.
1108         * sysdeps/m68k/fpu/fesetenv.c: Likewise.
1109         * sysdeps/m68k/fpu/feupdateenv.c: Likewise.
1110         * sysdeps/m68k/fpu/fgetexcptflg.c: Likewise.
1111         * sysdeps/m68k/fpu/fraiseexcpt.c: Likewise.
1112         * sysdeps/m68k/fpu/fsetexcptflg.c: Likewise.
1113         * sysdeps/powerpc/fclrexcpt.c: Likewise.
1114         * sysdeps/powerpc/fpu/fegetenv.c: Likewise.
1115         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
1116         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
1117         * sysdeps/powerpc/fpu/fgetexcptflg.c: Likewise.
1118         * sysdeps/powerpc/fpu/fraiseexcpt.c: Likewise.
1119         * sysdeps/powerpc/fpu/fsetexcptflg.c: Likewise.
1121         * iconvdata/cp1258.c: Include <stdlib.h> for abort decl.
1122         * iconvdata/iso-2022-cn-ext.c: Likewise.
1124 2001-06-01  Andreas Jaeger  <aj@suse.de>
1126         * Versions.def: Add version 2.2.4.
1128 2001-06-01  Ulrich Drepper  <drepper@redhat.com>
1130         * socket/Makefile (routines): Add sockatmark.
1131         * socket/Versions [GLIBC_2.2.4]: Add sockatmark.
1132         * socket/sys/socket.h: Add prototype for sockatmark.
1133         * sysdeps/generic/sockatmark.c: New file.
1134         * sysdeps/unix/sockatmark.c: New file.
1136 2001-06-01  Andreas Jaeger  <aj@suse.de>
1138         * sysdeps/unix/sysv/linux/speed.c (cfsetispeed): Max speed is
1139         B4000000.
1140         (cfsetospeed): Likewise.
1141         Reported by Lukasz Trabinski <lukasz@lt.wsisiz.edu.pl>.
1143 2001-05-31  Joseph S. Myers  <jsm28@cam.ac.uk>
1145         * misc/sys/cdefs.h (__restrict_arr): Define to empty for C++.
1147 2001-05-30  Martin Schwidefsky  <schwidefsky@de.ibm.com>
1149         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: greg_t
1150         needs to have the same aligment as the kernel structure.
1152 2001-05-29  Jakub Jelinek  <jakub@redhat.com>
1154         * sunrpc/rpc/types.h (u_char, u_short, u_int, u_long, quad_t,
1155         u_quad_t, fsid_t, daddr_t, caddr_t): Make sure the types are defined.
1156         * posix/sys/types.h (u_char, u_short, u_int, u_long, quad_t,
1157         u_quad_t, fsid_t, daddr_t, caddr_t): Protect the __USE_BSD typedefs
1158         against multiple definition.
1160 2001-05-30  Ulrich Drepper  <drepper@redhat.com>
1162         * po/da.po: Update from translation team.
1164 2001-05-29  Andreas Jaeger  <aj@suse.de>
1166         * sysdeps/ieee754/ldbl-128/e_acosl.c: New file, contributed by
1167         Stephen L Moshier <moshier@mediaone.net>.
1169         * math/libm-test.inc (sinh_test): Add new test case.
1171         * sysdeps/ieee754/ldbl_96/e_sinhl.c (__ieee754_sinhl): sinhl(x) =
1172         x when x < 2^-32.
1173         Patch by Stephen L Moshier <moshier@mediaone.net>.
1175 2001-05-23  Andreas Jaeger  <aj@suse.de>
1177         * iconvdata/testdata/WINDOWS-1255..UTF-8: Renamed to...
1178         * iconvdata/testdata/WINDOWS-1255..UTF8: this.
1180 2001-05-27  Andreas Jaeger  <aj@suse.de>
1182         * manual/stdio.texi (String Streams): Fix fmemopen description.
1183         Reported by Michal Kochanowicz <michal@michal.waw.pl>.
1185 2001-05-26  H.J. Lu <hjl@gnu.org>
1187         * sysdeps/unix/sysv/linux/mips/syscalls.list: Change sigsuspend
1188         to s_sigsuspend.  Add s_mmap2.
1190         * sysdeps/mips/atomicity.h: New file.
1192         * sysdeps/unix/sysv/linux/mips/getsysstats.c: New file.
1194         * sysdeps/unix/sysv/linux/mips/bits/ipc.h (ipc_perm): Put
1195         back __key.
1197 2001-05-25  Bruce Mitchener  <bruce@cubik.org>
1199         * manual/ctype.texi: Minor fix.
1200         * manual/install.texi: Likewise.
1201         * manual/startup.texi: Likewise.
1202         * manual/examples/dir.c: Use perror() rather than puts().
1204 2001-05-25  David Mosberger  <davidm@hpl.hp.com>
1206         * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h: Put stuff following
1207         #endif directive inside a comment to avoid compiler warnings.
1209 2001-05-25  Philipp Thomas  <pthomas@suse.de>
1211         * nis/nis_print.c (nis_nstype2str): Don't mark names of
1212         naming services for translation, only UNKNOWN needs it.
1213         Add comment to prevent it for the future.
1215 2001-05-25  Joseph S. Myers  <jsm28@cam.ac.uk>
1217         * misc/sys/cdefs.h (__restrict_arr): Define appropriately for GCC
1218         3.1 and non-GCC C99 compilers.
1220 2001-05-22  David Mosberger  <davidm@hpl.hp.com>
1222         * sysdeps/ia64/memmove.S: Increase MEMLAT from 6 to 21 for better
1223         performance.
1224         * sysdeps/ia64/memcpy.S: Likewise.
1226         * sysdeps/ia64/bcopy.S: New file.
1228         * sysdeps/ia64/bzero.S: New file (derived from memset.S).
1230 2001-05-26  Ulrich Drepper  <drepper@redhat.com>
1232         * sysdeps/ia64/fpu/libm-test-ulps: Add deltas for tanh(-0.7).
1234 2001-05-24  Ulrich Drepper  <drepper@redhat.com>
1236         * iconvdata/Makefile: Add rules for CP10007.
1237         * iconvdata/gconv-modules: Add entries for CP10007 ad MacCyrillic.
1238         * iconvdata/cp10007.c: New file.
1239         * iconvdata/tst-tables.sh: Add CP10007.
1241 2001-05-23  kaz Kojima  <kkojima@rr.iij4u.or.jp>
1243         * sysdeps/sh/dl-machine.h (_dl_runtime_resolve): Handle newer PLT.
1244         (_dl_runtime_profile): Likewise..
1246 2001-05-23  Thorsten Kukuk  <kukuk@suse.de>
1248         * sysdeps/posix/getaddrinfo.c: Support for AF_UNIX commented out.
1249         * posix/tst-getaddrinfo.c: Remove AF_UNIX test.
1251 2001-05-19  H.J. Lu  <hjl@gnu.org>
1253         * elf/dl-deps.c (_dl_map_object_deps): Pass objname and
1254         errstring of the failed DSO to _dl_signal_error ().
1256 2001-05-23  Ulrich Drepper  <drepper@redhat.com>
1258         * iconvdata/gconv-modules: Add more aliases to enable use in
1259         locale names.
1261 2001-05-23  Andreas Jaeger  <aj@suse.de>
1263         * sysdeps/unix/sysv/linux/ia64/Makefile (CFLAGS-initfini.s):
1264         Remove, it's not used anywhere anymore.
1265         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile
1266         (CFLAGS-initfini.s): Likewise.
1267         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile
1268         (CFLAGS-initfini.s): Likewise.
1269         * sysdeps/unix/sysv/linux/powerpc/Makefile (CFLAGS-initfini.s):
1270         Likewise.
1271         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-initfini.s):
1272         Likewise.
1274 2001-05-21  Bruno Haible  <haible@clisp.cons.org>
1276         * wcsmbs/mbrtowc.c (mbrtowc): Remove local variable 'flush', always
1277         use 0 instead, and rely on the converter to do the flush.
1278         * wcsmbs/tst-mbrtowc.c (utf8_test_1): New function, taken from
1279         utf8_test.
1280         (utf8_test_2, utf8_test_3): New function.
1281         (utf8_test): Call utf8_test_1, utf8_test_2, utf8_test_3.
1283 2001-05-22  Jakub Jelinek  <jakub@redhat.com>
1285         * elf/dl-close.c (_dl_close): Save imap->l_reldeps, not map->l_reldeps.
1287         * elf/Makefile (distribute): Add reldep4mod[1234].c.
1288         (tests): Add reldep4.
1289         (modules-names): Add reldep4mod[1234].
1290         (reldep4mod1.so, reldep4mod2.so, reldep4, reldep4.out): New rules.
1291         * elf/reldep4.c: New file.
1292         * elf/reldep4mod1.c: Likewise.
1293         * elf/reldep4mod2.c: Likewise.
1294         * elf/reldep4mod3.c: Likewise.
1295         * elf/reldep4mod4.c: Likewise.
1297 2001-05-18  Jakub Jelinek  <jakub@redhat.com>
1299         * elf/dl-lookup.c (PROTECTED): Remove defines.
1300         (add_dependency): Mark it with internal_function.
1301         (_dl_do_lookup, _dl_do_lookup_versioned): New functions.
1302         (_dl_lookup_symbol, _dl_lookup_symbol_skip,
1303         _dl_lookup_versioned_symbol, _dl_lookup_versioned_symbol_skip): Use
1304         it if we don't want do_lookup* inlined.
1306 2001-05-18  Jakub Jelinek  <jakub@redhat.com>
1308         * include/link.h (struct r_scope_elem): Remove r_duplist and
1309         r_nduplist fields.
1310         * elf/dl-load.c (_dl_map_object_from_fd): Don't initialize them.
1311         * elf/dl-lookup.c (_dl_lookup_symbol_skip): Look in r_list, not
1312         r_duplist.
1313         (_dl_lookup_versioned_symbol_skip): Likewise.
1314         * elf/dl-deps.c (struct list): Remove dup field, rename unique to next.
1315         (_dl_map_object_deps): Don't compute duplicate list.
1317         * elf/dl-symbol.c: Removed.
1318         * elf/Makefile (routines): Remove dl-symbol.
1320 2001-05-22  Ulrich Drepper  <drepper@redhat.com>
1322         * po/el.po: Update from translation team.
1323         * po/sv.po: Likewise.
1325 2001-05-20  Bruno Haible  <haible@clisp.cons.org>
1327         * iconvdata/cp1255.c: Completely rewritten.
1328         * iconvdata/Makefile (gen-8bit-gap-modules): Remove cp1255.
1329         * iconvdata/testdata/WINDOWS-1255: New file.
1330         * iconvdata/testdata/WINDOWS-1255..UTF8: New file.
1331         * iconvdata/TESTS: Add WINDOWS-1255 test.
1332         * iconvdata/CP1255.irreversible: New file.
1334 2001-05-20  Bruno Haible  <haible@clisp.cons.org>
1336         * iconvdata/cp1258.c: Completely rewritten.
1337         * iconvdata/Makefile (gen-8bit-gap-modules): Remove cp1258.
1338         * iconvdata/testdata/WINDOWS-1258: New file.
1339         * iconvdata/testdata/WINDOWS-1258..UTF8: New file.
1340         * iconvdata/TESTS: Add WINDOWS-1258 test.
1341         * iconvdata/tst-table-from.c (try): Reset the iconv descriptor before
1342         the main call, and flush it afterwards.
1343         (utf8_decode): Return a string, possibly containing several Unicode
1344         characters.
1345         (main): Update all utf8_decode calls.
1346         * iconvdata/CP1258.irreversible: New file.
1348 2001-05-20  Bruno Haible  <haible@clisp.cons.org>
1350         * iconv/gconv.c (__gconv): For flush without output, pass do_flush = 2.
1351         * iconv/skeleton.c: Distinguish do_flush = 1 and do_flush = 2.  In the
1352         first case, set outbuf, outstart, outend, and call PREPARE_LOOP before
1353         EMIT_SHIFT_TO_INIT; then pass the output produced by this step down to
1354         the next step.  In the second case, clear the state without calling
1355         EMIT_SHIFT_TO_INIT.
1356         * iconvdata/ibm930.c (EMIT_SHIFT_TO_INIT): Use outbuf instead of
1357         data->__outbuf, and outend instead of data->__outbufend.
1358         * iconvdata/ibm933.c (EMIT_SHIFT_TO_INIT): Likewise.
1359         * iconvdata/ibm935.c (EMIT_SHIFT_TO_INIT): Likewise.
1360         * iconvdata/ibm937.c (EMIT_SHIFT_TO_INIT): Likewise.
1361         * iconvdata/ibm939.c (EMIT_SHIFT_TO_INIT): Likewise.
1362         * iconvdata/iso-2022-cn.c (EMIT_SHIFT_TO_INIT): Likewise.
1363         * iconvdata/iso-2022-cn-ext.c (EMIT_SHIFT_TO_INIT): Likewise.
1364         * iconvdata/iso-2022-jp.c (EMIT_SHIFT_TO_INIT): Likewise.
1365         * iconvdata/iso-2022-kr.c (EMIT_SHIFT_TO_INIT): Likewise.
1366         * iconvdata/utf-7.c (EMIT_SHIFT_TO_INIT): Likewise.
1368 2001-05-21  Jakub Jelinek  <jakub@redhat.com>
1370         * elf/rtld.c (dl_main): Compute l_map_end for the main program.
1371         * elf/dl-sym.c (_dl_sym): Don't check for l_addr == 0.
1372         If match == _dl_loaded, caller can still come from the main program.
1373         (_dl_vsym): Likewise.
1374         * elf/dl-open.c (dl_open_worker): Don't check for l_addr == 0.
1375         * elf/dl-error.c (_dl_signal_error): Change NULL objname into "".
1376         * elf/restest2.c: New test.
1377         * elf/Makefile (tests): Add restest2.
1378         (restest2, LDFLAGS-restest2): Add rules.
1380 2001-05-22  Ulrich Drepper  <drepper@redhat.com>
1382         * intl/Makefile: Add a few more dependencies to avoid races in the
1383         test shell scripts.
1385 2001-05-22  Andreas Jaeger  <aj@suse.de>
1387         * sysdeps/ieee754/ldbl-128/s_log1pl.c: New file, contributed by
1388         Stephen L Moshier <moshier@mediaone.net>.
1390 2001-05-22  Martin Schwidefsky  <schwidefsky@de.ibm.com>
1392         * sysdeps/s390/s390-32/backtrace.c: Make backtrace return the
1393         return addresses instead of the stack pointers.
1394         * sysdeps/s390/s390-64/backtrace.c: Likewise.
1396 2001-05-21  Jakub Jelinek  <jakub@redhat.com>
1398         * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Include
1399         bits/sigcontext.h instead of bits/sigstack.h.
1400         * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h: Add
1401         multiple-inclusion guards.
1403 2001-05-21  Andreas Jaeger  <aj@suse.de>
1405         * locale/programs/ld-collate.c (handle_ellipsis): Fix message.
1406         Patch by Philipp Thomas <pthomas@suse.de>.
1408 2001-05-17  Bruce Mitchener  <bruce@cubik.org>
1410         * manual/arpg.texi: Spelling, misc fixes.
1411         * manual/arith.texi: Likewise.
1412         * manual/crypt.texi: Likewise.
1413         * manual/debug.texi: Likewise.
1414         * manual/getopt.texi: Likewise.
1415         * manual/intro.texi: Likewise.
1416         * manual/memory.texi: Likewise.
1417         * manual/nss.texi: Likewise.
1418         * manual/pattern.texi: Likewise.
1419         * manual/process.texi: Likewise.
1420         * manual/resource.texi: Likewise.
1421         * manual/search.texi: Likewise.
1422         * manual/setjmp.texi: Likewise.
1423         * manual/signal.texi: Likewise.
1424         * manual/socket.texi: Likewise.
1425         * manual/stdio.texi: Likewise.
1426         * manual/string.texi: Likewise.
1427         * manual/sysinfo.texi: Likewise.
1428         * manual/terminal.texi: Likewise.
1429         * manual/llio.texi: Document madvise().
1431 2001-05-20  Roland McGrath  <roland@frob.com>
1433         * Makeconfig (sysdep-makeconfigs): Include any Makeconfig files
1434         found within $(add-ons) directories too.
1435         [linuxthreads add-on]: Move variable settings for linuxthreads
1436         to new file linuxthreads/Makeconfig.
1438 2001-05-20  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
1440         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_STD_AUXV):
1441         Define for linux >= 2.4.5 on powerpc.
1442         (__ASSUME_MMAP2_SYSCALL): Likewise.
1444 2001-05-19  Roland McGrath  <roland@frob.com>
1446         * hurd/hurdlookup.c (__hurd_file_name_lookup_retry): Don't leak the
1447         result port when failing with ELOOP.  Do the ELOOP check when
1448         following an absolute symlink target as well as relative.
1449         Remove #ifdef SYMLOOP_MAX conditional--it should always be defined.
1451 2001-05-18  Andreas Jaeger  <aj@suse.de>
1453         * po/fr.po: Free software is "logiciel libre".
1454         Patch by Martin Michlmayr <tbm@cyrius.com>.
1456         * sysdeps/powerpc/elf/libc-start.c: Use __cxa_atexit.
1457         Patch by ekato@ees.hokudai.ac.jp, closes PR libc/2271.
1459 2001-05-17  David Mosberger  <davidm@hpl.hp.com>
1461         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: New file.
1463 2001-05-17  Ulrich Drepper  <drepper@redhat.com>
1465         * elf/dl-profile.c (_dl_mcount): Check whether state is
1466         GMON_PROF_ON before doing anything.
1468 2001-05-17  H.J. Lu  <hjl@gnu.org>
1470         * elf/sprof.c (read_symbols): Move "++symtab" into the while loop.
1472 2001-05-17  Ulrich Drepper  <drepper@redhat.com>
1474         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Use
1475         CHECK_SIGSET_NULL_OK and not CHECK_SIGSET for all parameters.
1476         Reported by Mark Burton <markb@ordern.com>.
1478 2001-05-17  Jakub Jelinek  <jakub@redhat.com>
1480         * elf/ldconfig.c (add_dir): Only warn about stat failure if
1481         opt_verbose.
1482         (search_dir): Likewise.
1484 2001-05-17  Ulrich Drepper  <drepper@redhat.com>
1486         * sysdeps/i386/i486/atomicity.h (exchange_and_add): Correct second
1487         parameter of xaddl.  Patch by H . J . Lu <hjl@lucon.org>.
1489 2001-05-14  Bruno Haible  <haible@clisp.cons.org>
1491         * iconvdata/iso-2022-cn-ext.c (BODY for FROM_LOOP): If SO is seen
1492         without previous announcement, reject it regularly, don't abort.
1494 2001-05-16  Ulrich Drepper  <drepper@redhat.com>
1496         * math/tgmath.h: Fix handling of int parameters to binary and
1497         ternary functions.  Reported by mitr@volny.cz.
1499         * math/test-tgmath.c: Add tests for calls with integer parameters.
1501 2001-05-15  Jakub Jelinek  <jakub@redhat.com>
1503         * sunrpc/rpc_thread.c (rpc_default): Remove.
1504         (__rpc_thread_destroy): Use __libc_tsd_RPC_VARS_mem instead of
1505         rpc_default.
1506         (rpc_thread_multi, __rpc_thread_svc_fdset, __rpc_thread_createerr,
1507         __rpc_thread_svc_pollfd, __rpc_thread_svc_max_pollfd): Likewise.
1508         * sunrpc/auth_none.c (authnone_private): Fix a typo.
1510 2001-05-16  Martin Schwidefsky  <schwidefsky@de.ibm.com>
1512         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Fix stack allocation.
1514 2001-05-16  Bruce Mitchener  <bruce@cubik.org>
1516         * manual/llio.texi: Many grammar and typo fixes to the section on AIO.
1518 2001-05-15  Andreas Jaeger  <aj@suse.de>
1520         * sysdeps/ieee754/ldbl-128/s_expm1l.c: New file, contributed by
1521         Stephen L Moshier <moshier@mediaone.net>.
1523         * sysdeps/i386/fpu/libm-test-ulps: Adjust for change.
1525         * math/libm-test.inc: Add comment with ToDo.
1527         * sysdeps/i386/fpu/e_expl.c: Rewritten to C and using a more
1528         accurate algorithm.  Patch by Stephen L Moshier <moshier@mediaone.net>.
1530         * sysdeps/i386/fpu/e_expl.S: Removed.
1532 2001-05-14  Roland McGrath  <roland@frob.com>
1534         * csu/Makefile ($(objpfx)g$(start-installed-name)): Turn this into a
1535         static pattern rule also that also covers
1536         $(objpx)g$(static-start-installed-name).
1537         [$(start-installed-name) != $(static-start-installed-name)]
1538         (extra-objs, omit-deps, install-lib): Add
1539         $(static-start-installed-name) and g$(static-start-installed-name).
1540         * sysdeps/mach/hurd/i386/Makefile: Don't add crt0.o to those here;
1541         just setting static-start-installed-name is now sufficient.
1542         (extra-objs): Add static-start.o here.
1543         (CFLAGS-initfini.s): Remove obsolete variable.
1544         * sysdeps/mach/hurd/i386/Makeconfig: New file.
1545         Define static-start-installed-name here.
1547         * Makeconfig: Include existing $(full_config_sysdirs:=/Makeconfig).
1548         * Make-dist (+sysdep-tsrcs): Look for Makeconfig files.
1550         * Makerules ($(+sysdir_pfx)sysd-Makefile): Remove this target and
1551         associated hair.  Instead, just use $(wildcard ...) in the include.
1553         * configure.in (critic_missing, aux_missing): Collect in these vars
1554         the names of the missing programs, and include them in the error msgs.
1555         * configure: Regenerated.
1557 2001-05-14  Andreas Jaeger  <aj@suse.de>
1559         * sysdeps/i386/fpu/libm-test-ulps: Adjust for new tests.
1561         * math/libm-test.inc (tanh_test): Add testcases for last tanh bug.
1563 2001-05-14  Stephen L Moshier <moshier@mediaone.net>
1565         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Fix sign test.
1567 2001-05-11  Jakub Jelinek  <jakub@redhat.com>
1569         * posix/regex.c (re_match_2_internal): Swap mbs_offset and csize
1570         as well if swapping strings.
1571         Make sure stop is not past end of second string.
1572         * posix/bug-regex4.c: New test.
1573         * posix/Makefile (tests): Add bug-regex4.
1575 2001-05-10  Andreas Jaeger  <aj@suse.de>
1577         * manual/install.texi (Linux): Clarify that Linux 2.2 is minimal
1578         requirement.
1580 2001-05-12  Andreas Jaeger  <aj@suse.de>
1582         * sysdeps/ieee754/dbl-64/s_sin.c: Include "math_private.h" for
1583         internal prototypes.
1584         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
1585         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
1586         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
1587         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
1588         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
1589         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
1590         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
1592         * math/math_private.h: Add prototypes for internal functions of
1593         the IBM Accurate Mathematical Library.
1595         * sysdeps/ieee754/dbl-64/s_atan.c: Include "math.h" for
1596         prototypes.
1597         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
1599         * sysdeps/ieee754/dbl-64/e_asin.c: Include "math_private.h" for
1600         internal prototypes.
1601         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
1602         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
1603         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
1604         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
1605         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
1606         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
1607         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
1608         * sysdeps/generic/e_rem_pio2l.c: Likewise.
1609         (__ieee754_rem_pio2l): Fix prototype.
1611         * math/math_private.h (__copysign): Add internal prototype.
1613 2001-05-11  Andreas Jaeger  <aj@suse.de>
1615         * sysdeps/unix/sysv/linux/configure.in: Move binutils check to...
1616         * sysdeps/unix/sysv/linux/mips/configure.in: ...here.  New file.
1618 2001-05-11  Andreas Jaeger  <aj@suse.de>
1620         * sysdeps/unix/sysv/linux/configure.in: Check binutils version on
1621         MIPS.
1623         * sysdeps/mips/rtld-ldscript.in: Removed unneeded binary output
1624         format directive.  Patch by Steven J. Hill <sjhill@cotw.com>.
1626 2001-05-11  Roland McGrath  <roland@frob.com>
1628         * sysdeps/mach/hurd/Makefile ($(link-rpcuserlibs)): Don't use
1629         $(build-module) here, since we don't need the full magilla.
1630         Just use $(build-module-helper) and append our special options.
1632 2001-05-09  Andreas Schwab  <schwab@suse.de>
1634         * sysdeps/unix/readdir.c: Make sure we don't modify errno when we
1635         reached EOF.
1637 2001-05-07  H.J. Lu  <hjl@gnu.org>
1639         * elf/ldconfig.c (dir_entry): Add ino and dev.
1640         (add_single_dir): Compare ino and dev to check if 2 directory
1641         paths are the same or not.  Free entry->path for duplicates.
1642         (add_dir): Initialize ino and dev for entry.
1643         (search_dir): Handle symlink to directory.
1645 2001-05-07  Andreas Jaeger  <aj@suse.de>
1647         * sysdeps/i386/fpu/libm-test-ulps: Add ulps for new exp tests.
1649         * math/libm-test.inc (exp_test): Add some more tests.
1650         (pow_test): Run double only test also for long double.
1652         * math/test-ldouble.c (TEST_LDOUBLE): Define.
1653         * math/test-ildoubl.c (TEST_LDOUBLE): Likewise.
1655         * sysdeps/generic/bits/confname.h: Remove extra comma at end of
1656         enumeration.
1657         Closes PR libc/2240.
1659         * scripts/config.guess: Imported from gnu.org.
1660         * scripts/config.sub: Likewise.
1662 2001-05-05  Jakub Jelinek  <jakub@redhat.com>
1664         * include/features.h (__USE_EXTERN_INLINES): Don't define if
1665         __NO_INLINE__ is defined.
1666         * ctype/ctype.h (tolower, toupper): Change the guard condition to
1667         __USE_EXTERN_INLINES check only.
1668         * stdlib/stdlib.h (strtod, ...): Likewise.
1669         * wcsmbs/wchar.h (mbrlen): Likewise.
1670         * string/string.h: Only include bits/string.h and bits/string2.h
1671         if __NO_INLINE__ is not defined.
1673 2001-05-07  Andreas Jaeger  <aj@suse.de>
1675         * debug/Makefile ($(objpfx)xtrace): Substitute @SLIBDIR@ instead
1676         of @LIBDIR@.
1678 2001-05-04  H.J. Lu  <hjl@gnu.org>
1680         * malloc/Makefile ($(objpfx)memusage): Substitute @SLIBDIR@
1681         not @LIBDIR@.
1683 2001-05-06  Andreas Jaeger  <aj@suse.de>
1685         * sysdeps/i386/fpu/e_fmodl.c: New, rewrite of e_fmodl.S.
1686         * sysdeps/i386/fpu/e_fmodl.S: Removed.
1687         * sysdeps/i386/fpu/e_atan2l.c: New, rewrite of e_atan2l.S.
1688         * sysdeps/i386/fpu/e_atan2l.S: Removed.
1689         * sysdeps/i386/fpu/e_acosl.c: New, rewrite of e_acos.S.
1690         * sysdeps/i386/fpu/s_atanl.c: New, rewrite of e_atanl.S.
1691         * sysdeps/i386/fpu/e_sqrtl.c: New, rewrite of e_sqrt.S.
1692         * sysdeps/i386/fpu/e_acosl.S: Removed.
1693         * sysdeps/i386/fpu/s_atanl.S: Removed.
1694         * sysdeps/i386/fpu/e_sqrtl.S: Removed.
1696 2001-05-05  Mark Kettenis  <kettenis@gnu.org>
1698         * sysdeps/mach/hurd/bits/environments.h: Add comment from
1699         sysdeps/generic/bits/environments.h.  Define _POSIX_V6_* values.
1701 2001-04-30  Jakub Jelinek  <jakub@redhat.com>
1703         * posix/confstr.c (confstr) [_CS_V6_WIDTH_RESTRICTED_ENVS]: Move so
1704         that _CS_LFS_CFLAGS can fall through to the empty returned string
1705         case.  Add FALLTHROUGH comment.
1707 2001-04-29  Ralf Baechle  <ralf@gnu.org>
1709         * sysdeps/unix/sysv/linux/mips/bits/sem.h: Make structure
1710         definitions match the kernel definitions.
1711         * sysdeps/unix/sysv/linux/mips/bits/ipc.h: Likewise.
1712         * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
1714 2001-04-29  Ben Collins  <bcollins@debian.org>
1716         * sysdeps/sparc/sparc64/dl-machine.h: Fix multiline strings
1717         warnings.
1718         * sysdeps/sparc/sparc64/soft-fp/qp_add.c: Likewise.
1719         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
1720         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
1721         * sysdeps/sparc/sparc64/soft-fp/qp_div.c: Likewise.
1722         * sysdeps/sparc/sparc64/soft-fp/qp_dtoq.c: Likewise.
1723         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
1724         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
1725         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
1726         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
1727         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
1728         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
1729         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
1730         * sysdeps/sparc/sparc64/soft-fp/qp_qtod.c: Likewise.
1731         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
1732         * sysdeps/sparc/sparc64/soft-fp/qp_qtos.c: Likewise.
1733         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
1734         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
1735         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
1736         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
1737         * sysdeps/sparc/sparc64/soft-fp/qp_sqrt.c: Likewise.
1738         * sysdeps/sparc/sparc64/soft-fp/qp_stoq.c: Likewise.
1739         * sysdeps/sparc/sparc64/soft-fp/qp_sub.c: Likewise.
1740         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
1742 2001-04-29  Andreas Schwab  <schwab@suse.de>
1744         * sysdeps/unix/sysv/linux/kernel-features.h: Fix missing backslash
1745         in last change.
1747 2001-04-29  Andreas Jaeger  <aj@suse.de>
1749         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
1750         Define for Arm, PowerPC and SH if kernel is 2.4.4 or newer.
1752         * sysdeps/unix/sysv/linux/bits/socket.h (PF_WANPIPE): New, from
1753         Linux 2.4.4.
1754         (AF_WANPIPE): Likewise.
1755         (MSG_MORE): New.
1757         * sysdeps/unix/sysv/linux/alpha/bits/socket.h: Add same changes as
1758         for Linux generic version.
1759         * sysdeps/unix/sysv/linux/s390/s390-64/bits/socket.h: Likewise.
1760         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
1761         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
1762         * sysdeps/unix/sysv/linux/ia64/bits/socket.h: Likewise.
1764         * sysdeps/gnu/netinet/tcp.h (TCP_QUICKACK): New.
1766 2001-04-27  Ulrich Drepper  <drepper@redhat.com>
1768         * nis/nss-nis.h: Correct test for invalid error number.
1769         * nis/nss-nisplus.h: Likewise.
1771         * nis/Makefile (libnss_compat-rountines): Add nss-nisplus.
1773 2001-04-26  Ulrich Drepper  <drepper@redhat.com>
1775         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add getunwind.
1777         * string/strcoll.c: Fix two memory allocation problems.
1778         * string/Makefile (tests): Add bug-strcoll1.
1779         * string/bug-strcoll1.c: New file.
1781         * malloc/mcheck.c (mcheck): Call malloc once before setting the
1782         hooks to allow the internal check hooks to be set up if necessary.
1784         * nis/nss-nis.h: Move yperr2nss_tab definition into separate file
1785         and rename to __yperr2nss_tab.  Change YPERR_COUNT into variable
1786         __yperr2nss_count.
1787         * nis/nss-nis.c: New file.
1788         * nis/nss-nisplus.h: Move niserr2nss_tab definition into separate file
1789         and rename to __niserr2nss_tab.  Change NISERR_COUNT into variable
1790         __niserr2nss_count.
1791         * nis/nss-nisplus.c: New file.
1792         * nis/Makefile (libnss_compat-routines): Add nss-nis.
1793         (libnss_nis-routines): Likewise.
1794         (libnss_nisplus-routines): Add nss-nisplus.
1796         * nis/nss_nisplus/nisplus-alias.c: Remove unnecessary initializations.
1797         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
1798         * nis/nss_nisplus/nisplus-grp.c: Likewise.
1799         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
1800         * nis/nss_nisplus/nisplus-network.c: Likewise.
1801         * nis/nss_nisplus/nisplus-proto.c: Likewise.
1802         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
1803         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
1804         * nis/nss_nisplus/nisplus-service.c: Likewise.
1805         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
1806         * nis/nss_nis/nis-alias.c: Likewise.
1807         * nis/nss_nis/nis-ethers.c: Likewise.
1808         * nis/nss_nis/nis-grp.c: Likewise.
1809         * nis/nss_nis/nis-network.c: Likewise.
1810         * nis/nss_nis/nis-proto.c: Likewise.
1811         * nis/nss_nis/nis-pwd.c: Likewise.
1812         * nis/nss_nis/nis-spwd.c: Likewise.
1813         * nis/nss_compat/compat-grp.c: Likewise.
1814         * nis/nss_compat/compat-initgroups.c: Likewise.
1815         * nis/nss_compat/compat-pwd.c: Likewise.
1816         * nis/nss_compat/compat-spwd.c: Likewise.
1818         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Some more
1819         optimizations.  Patch by Jakub Jelinek <jakub@redhat.com>.
1821 2001-04-26  Andreas Jaeger  <aj@suse.de>
1823         * po/zh_TW.po: Update.
1824         Patch by Tung-Han Hsieh <thhsieh@tlug.sinica.edu.tw>.
1826 2001-04-25  Ulrich Drepper  <drepper@redhat.com>
1828         * malloc/malloc.c: Allow MALLOC_ALIGNMENT to be defined on the
1829         compiler command line.
1830         * sysdeps/hppa/Makefile: Add -DMALLOC_ALIGNMENT=16 to compiler
1831         command line for malloc.c.
1833 2001-04-25  Jakub Jelinek  <jakub@redhat.com>
1835         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/time.h: Move to...
1836         * sysdeps/unix/sysv/linux/sparc/bits/time.h: ...here.
1837         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/bits/time.h: Remove.
1838         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/socket.h: Move to...
1839         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: ...here.  Adjust
1840         struct msghdr for __WORDSIZE == 32.
1841         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/statvfs.h: Move to...
1842         * sysdeps/unix/sysv/linux/sparc/bits/statvfs.h: ...here.  Adjust
1843         for __WORDSIZE == 32.
1844         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/siginfo.h: Remove.
1845         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/get_clockfreq.c: New
1846         file.
1847         * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S (__libc_siglongjmp):
1848         Rename from longjmp, make longjmp weak alias to it.
1850 2001-04-24  David S. Miller  <davem@redhat.com>
1852         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: New file.
1854 2001-04-25  Matthew Wilcox  <willy@ldl.fc.hp.com>
1856         * sysdeps/hppa/stackinfo.h: New file.
1857         * sysdeps/unix/sysv/linux/hppa/getdents64.c: New file.
1858         * sysdeps/unix/sysv/linux/hppa/mmap64.c: New file.
1859         * sysdeps/unix/sysv/linux/hppa/bits/resource.h: New file.
1860         * sysdeps/unix/sysv/linux/kernel-features.h: Add descriptions
1861         of PA kernel features.
1863 2001-04-25  Ulrich Drepper  <drepper@redhat.com>
1865         * locale/programs/localedef.c (main): Always set a file name for
1866         the initial locale.
1867         * locale/programs/locfile.c (locfile_read): filename is allowed to
1868         be NULL.
1870 2001-04-12  Paul Bame  <paul_bame@hp.com>
1872         * sysdeps/hppa/fpu/fclrexcpt.c: Clear the exception flags, not the
1873         enable flags.
1875 2001-04-24  Ulrich Drepper  <drepper@redhat.com>
1877         * sysdeps/generic/bits/environments.h (_POSIX_V6_LPBIG_OFFBIG,
1878         _XBS5_LPBIG_OFFBIG): Define to -1.
1879         Fix typos.
1881         * sysdeps/generic/bits/confname.h: Add _CS_V6_WIDTH_RESTRICTED_ENVS.
1882         * posix/confstr.c: Handle _CS_V6_WIDTH_RESTRICTED_ENVS.
1883         * posix/getconf.c: Handle _POSIX_V6_WIDTH_RESTRICTED_ENVS.
1884         * posix/tst-getconf.sh: Add _POSIX_V6_WIDTH_RESTRICTED_ENVS.
1886         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9b/Implies: New file.
1887         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9b/bits/time.h: Removed.
1889 2001-03-21  Alan Modra  <alan@one.net.au>
1891         * sysdeps/hppa/dl-machine.h (RTLD_START): Set up dp with DT_PLTGOT
1892         value from application so that constructors in non-PIC libs work.
1894 2000-12-13  Jes Sorensen  <jes@linuxcare.com>
1896         * sysdeps/hppa/dl-machine.h (RTLD_START): _dl_init now returns a
1897         function pointer, hence load the jump address and gp from the
1898         function pointer before jumping.
1900 2001-04-24  Andreas Jaeger  <aj@suse.de>
1902         * sysdeps/generic/send.c (__send): Return ssize_t.
1903         * sysdeps/mach/hurd/send.c (__send): Likewise.
1904         * sysdeps/mach/hurd/recv.c (recv): Likewise.
1905         * sysdeps/mach/hurd/sendto.c (sendto): Likewise.
1906         * sysdeps/generic/sendto.c (sendto): Likewise.
1907         * sysdeps/generic/recvmsg.c (recvmsg): Likewise.
1908         * sysdeps/mach/hurd/recvfrom.c (recvfrom): Likewise.
1909         * sysdeps/generic/recvfrom.c (recvfrom): Likewise.
1910         * sysdeps/generic/sendmsg.c (sendmsg): Likewise.
1912         * socket/sys/socket.h: send* and recv* return ssize_t.
1914         * include/sys/socket.h: send returns ssize_t.
1916         * sysdeps/i386/fpu_control.h: Fix comments.
1918 2001-04-24  Ulrich Drepper  <drepper@redhat.com>
1920         * sysdeps/ia64/Dist: Add hp-timing.c.
1921         * sysdeps/unix/sysv/linux/sparc/sparc64/Dist: Add ucontext_i.h.
1922         * posix/Makefile (distribute): Add tst-getconf.sh.
1923         * po/Makefile (distribute): Add $(BROKEN_LINGUAS:=.po).
1925 2001-04-23  Ulrich Drepper  <drepper@redhat.com>
1927         * sysdeps/ia64/Makefile [subdir=csu] (sysdep_routines): Add hp-timing.
1928         * sysdeps/ia64/Versions: Add _dl_cpuclock_offset for ld in 2.2.3.
1929         * sysdeps/ia64/hp-timing.c: New file.
1930         * sysdeps/ia64/hp-timing.h: New file.
1931         * sysdeps/unix/sysv/linux/ia64/bits/time.h: Add definitions for
1932         CLOCK_PROCESS_CPUTIME_ID and CLOCK_THREAD_CPUTIME_ID.
1934         * sysdeps/generic/clock_getcpuclockid.c: Make function generic, test
1935         using #ifdef whether the clock is available.
1936         * sysdeps/unix/i386/clock_getcpuclockid.c: Not needed anymore.
1938         * sysdeps/generic/dl-sysdep.c: Initialize _dl_cpuclock_offset to move
1939         it into data section.
1941         * sysdeps/unix/i386/i586/clock_getres.c: Removed.
1942         * sysdeps/unix/i386/i586/clock_gettime.c: Removed.
1943         * sysdeps/unix/i386/i586/clock_nanosleep.c: Removed.
1944         * sysdeps/unix/i386/i586/clock_settime.c: Removed.
1945         * sysdeps/unix/i386/i586/cpuclock-init.h: Removed.
1946         * sysdeps/generic/cpuclock-init.h: Removed.
1947         * sysdeps/unix/i386/i686/Implies: Removed.
1948         * sysdeps/unix/i386/i686/tempname.c: Removed.
1949         * sysdeps/i386/i686/Versions: New file.
1950         * sysdeps/unix/i386/i586/Versions: Removed.
1952         * sysdeps/posix/clock_getres.c: If HP_TIMING_AVAIL is nonzero handle
1953         CLOCK_PROCESS_CPUTIME_ID and CLOCK_THREAD_CPUTIME_ID.
1954         * sysdeps/unix/clock_gettime.c: Likewise.
1955         * sysdeps/unix/clock_nanosleep.c: Likewise.
1956         * sysdeps/unix/clock_settime.c: Likewise.
1957         * sysdeps/posix/tempname.c: Is HP_TIMING_AVAIL is nonzero define
1958         RANDOM_BITS use CPU clock.
1960         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/bits/time.h: New file.
1961         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9b/bits/time.h: New file.
1962         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/time.h: New file.
1963         * sysdeps/sparc/Versions: New file.
1965         * elf/dl-support.c: Don't use cpuclock-init.h definitions, use
1966         hp-timing.h definitions.
1967         * sysdeps/generic/dl-sysdep.c: Likewise.
1969         * include/libc-internal.h: Include hp-timing.h.  Use hp_timing_t in
1970         __get_clockfreq prototype.
1972         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
1973         Use hp_timing_t type.
1974         * sysdeps/generic/get_clockfreq.c (__get_clockfreq): Likewise.
1976         * sysdeps/unix/sysv/linux/ia64/get_clockfreq.c: New file.
1978         * sysdeps/posix/pathconf.c (__pathconf): For _PC_ASYNC_IO test
1979         whether named file is a regular file or a block device.
1980         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
1982 2001-04-23  Andreas Jaeger  <aj@suse.de>
1984         * nscd/nscd.h: Add noreturn attribute for start_threads.
1986 2001-04-22  Ulrich Drepper  <drepper@redhat.com>
1988         * posix/getconf.c: Fix names of XBS5 LFS test variables.
1989         Add missing configuration variables from XPG6.
1990         * posix/tst-getconf.c: New file.
1991         * posix/Makefile (generated): Add tst-getconf.out.
1992         (tests): Add ($objpfx)tst-getconf.out.
1993         Add rule to run tst-getconf.sh.
1994         * sysdeps/generic/bits/confname.h: Add missing _PC_ and _SC_ values
1995         from XPG6.
1996         * sysdeps/posix/fpathconf.c: Add handling of _PC_ALLOC_SIZE_MIN and
1997         _PC_SYMLINK_MAX.
1998         * sysdeps/posix/pathconf.c: Likewise.
1999         * sysdeps/posix/sysconf.c: Correct spelling of _SC_MULTI_PROCESS
2000         and _SC_SYMLOOP_MAX.
2002 2001-04-22  Philip Blundell  <philb@gnu.org>
2004         * sysdeps/arm/fpu/feenablxcpt.c: New file.
2005         * sysdeps/arm/fpu/fedisablxcpt.c: New file.
2006         * sysdeps/arm/fpu/fegetexcpt.c: New file.
2008 2001-04-22  Philip Blundell  <philb@gnu.org>
2010         * sysdeps/unix/sysv/linux/arm/sys/user.h (struct user_fpregs):
2011         Renamed from struct user_fp.
2012         (struct user_regs): New.
2013         (struct user): Use struct user_regs rather than struct pt_regs to
2014         avoid dependency on asm/ptrace.h.  Use struct user_fpregs in place
2015         of struct user_fp and struct user_fp_struct.
2016         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Include sys/procfs.h
2017         not sys/elf.h.
2019 2001-04-22  Philip Blundell  <philb@gnu.org>
2021         * sysdeps/unix/sysv/linux/arm/sys/elf.h: Move contents to
2022         sys/procfs.h, and tell the user to include that file instead.
2023         * sysdeps/unix/sysv/linux/arm/sys/procfs.h: Remove old cruft
2024         surrounded with #if 0.
2025         (elf_greg_t, ELF_NGREG, elf_gregset_t, elf_fpregset_t): Moved here
2026         from sys/elf.h.
2027         (prgregset_t, prfpregset_t): Define in terms of elf_gregset_t and
2028         elf_fpregset_t respectively.
2030 2001-04-22  Philip Blundell  <philb@gnu.org>
2032         * sysdeps/unix/sysv/linux/arm/register-dump.h: Also print the
2033         address that faulted.
2035 2001-04-21  Ulrich Drepper  <drepper@redhat.com>
2037         * sysdeps/generic/bits/confname.h: Add _SC_V6_* and _CS_POSIX_V6_*
2038         values.
2039         * sysdeps/generic/bits/environments.h: Define _POSIX_V6_* values.
2040         * posix/confstr.c: Handle _CS_POSIX_V6_* values.
2041         * posix/getconf.c: Handle _CS_POSIX_V6_* and _SC_V6_* values.
2042         * sysdeps/posix/sysconf.c: Handle _SC_V6_* values.
2044         * sysdeps/powerpc/fpu/libm-test-ulps: Add deltas for atan2f.
2045         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
2046         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
2047         * sysdeps/mips/fpu/libm-test-ulps: Likewise.
2049 2001-04-21  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
2051         * sysdeps/unix/sysv/linux/powerpc/mmap64.c: Correct check for invalid
2052         offset.
2054 2001-04-21  Ulrich Drepper  <drepper@redhat.com>
2056         * posix/getopt.h: Treat __cplusplus like __STDC__.
2058 2001-04-20  John S. Marvin  <jsm@fc.hp.com>
2060         * sysdeps/unix/sysv/linux/hppa/clone.S: Fix clone system call
2061         entry point stub.
2063 2001-04-20  Richard Hirst  <rhirst@linuxcare.com>
2065         * elf/elf.h: Corrected R_PARISC_DIR14R (should be 6, not 5),
2066         and added R_PARISC_DPREL21L and R_PARISC_DPREL14R for modutils.
2068         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Removed ptrace
2069         entry so the ptrace.c wrapper is used.
2071 2001-04-20  Alan Modra  <amodra@one.net.au>
2073         * sysdeps/hppa/dl-lookupcfg.h (_dl_function_address): Prototype.
2074         (DL_FUNCTION_ADDRESS): Define.
2075         (DL_DT_INIT_ADDRESS): Define.
2076         (DL_DT_FINI_ADDRESS): Define.
2077         * sysdeps/hppa/Versions: Add _dl_function_address.
2078         * sysdeps/hppa/dl-machine.h (ELF_MACHINE_START_ADDRESS): Define.
2079         * sysdeps/hppa/dl-symaddr.c (_dl_start_address): Rename to
2080         _dl_function_address.
2082 2001-04-21  Andreas Jaeger  <aj@suse.de>
2084         * rt/aio_misc.c (handle_fildes_io): Add noreturn attribute.
2085         * resolv/gai_misc.c (handle_requests): Likewise.
2086         * malloc/obstack.c (print_and_abort): Likewise.
2087         * malloc/mcheck.c (mabort): Likewise.
2089         * sysdeps/unix/i386/i586/clock_settime.c: Include
2090         "libc-internal.h" for __get_clockfreq declaration.
2092 2001-04-21  Ulrich Drepper  <drepper@redhat.com>
2094         * elf/dl-support.c: Include cpuclock-init.h.  Use CPUCLOCK_VARDEF and
2095         CPUCLOCK_INIT if defined.
2096         * sysdeps/generic/dl-sysdep.c: Likewise.
2097         * sysdeps/generic/cpuclock-init.h: New file.
2098         * sysdeps/unix/i386/i586/cpuclock-init.h: New file.
2099         * sysdeps/unix/i386/i586/Versions: New file.
2100         * sysdeps/unix/i386/i586/clock_settime.c: New file.
2101         * sysdeps/unix/i386/i586/clock_gettime.c: Handle thread CPU clock
2102         separately by calling __pthread_clock_gettime if this function is
2103         available.  Subtract offset from tsc value before computing time value.
2105 2001-04-20  Ulrich Drepper  <drepper@redhat.com>
2107         * iconv/iconv_prog.c (print_known_names): If printing goes not to
2108         a tty print in a more machine-friendly way.
2110         * sysdeps/ieee754/ldbl-128/e_asinl.c: New file.
2111         Contributed by Stephen L Moshier <moshier@mediaone.net>.
2113 2001-04-20  Andreas Jaeger  <aj@suse.de>
2115         * intl/Makefile (tests): Reorder conditions, tst-gettext needs msgfmt.
2117 2001-04-20  Andreas Schwab  <schwab@suse.de>
2119         * sysdeps/m68k/fpu/libm-test-ulps: Update.
2121 2001-04-19  Alan Modra  <amodra@one.net.au>
2123         * Makerules (libc_pic.os): Add $(LDFLAGS-c_pic.os).
2124         * sysdeps/hppa/Makefile (LDFLAGS-c_pic.os): Define.
2125         (CFLAGS-.os): Remove.
2127         * sysdeps/unix/sysv/linux/hppa/sysdep.h (CALL_MCOUNT): Update comment.
2129         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (NGREG, NFPREG,
2130         gregset): Correct for new kernel definitions.
2132 2001-04-19  Alan Modra  <alan@linuxcare.com.au>
2134         * sysdeps/hppa/elf/initfini.c: Change dlt reg save to r3 and
2135         generate unwind info by hand.
2137 2001-04-19  Ulrich Drepper  <drepper@redhat.com>
2139         * sysdeps/unix/sysv/linux/powerpc/mmap64.c (__mmap64): Optimize a bit.
2141         * configure.in: Correct regular expression for msgfmt.
2142         Patch by Bruno Haible <haible@ilog.fr>.
2144 2001-04-19  Andreas Jaeger  <aj@suse.de>
2146         * po/el.po: Add comment explaining what's broken.
2148         * po/Makefile (BROKEN_LINGUAS): New.
2149         (ALL_LINGUAS): Don't add broken languages.
2151 2001-04-19  Roland McGrath  <roland@frob.com>
2153         * sysdeps/mach/hurd/mlock.c: New file.
2154         * sysdeps/mach/hurd/munlock.c: New file.
2155         * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_MEMLOCK_RANGE): Define it.
2157         * misc/Makefile (routines): Add mlock munlock mlockall munlockall.
2158         * sysdeps/generic/mlock.c: New file.
2159         * sysdeps/generic/munlock.c: New file.
2160         * sysdeps/generic/mlockall.c: New file.
2161         * sysdeps/generic/munlockall.c: New file.
2162         * sysdeps/generic/bits/mman.h (MCL_CURRENT, MCL_FUTURE): New macros.
2163         * sysdeps/unix/sysv/linux/syscalls.list (mlock, munlock,
2164         mlockall, munlockall): Change caller field to - from EXTRA.
2165         Don't use __ names; not used (and not declared in include/sys/mman.h).
2167         * hurd/privports.c (__get_privileged_ports): Renamed with __.
2168         Use __ names for calls we make.
2169         (get_privileged_ports): Add alias.
2170         * hurd/hurd.h: Declare it with the __ name.
2171         * sysdeps/mach/hurd/reboot.c (reboot): Use __get_privileged_ports.
2172         * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
2173         * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
2175         * hurd/hurdsig.c (write_corefile): Check RLIMIT_CORE limit and do
2176         nothing if it's zero.
2178 2001-04-19  Matthew Wilcox  <willy@ldl.fc.hp.com>
2180         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL):
2181         Change to return a signed result for compatibility with other
2182         architectures, and correctness.
2184 2001-04-19  Ulrich Drepper  <drepper@redhat.com>
2186         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_32BITUIDS):
2187         HPPA always had them.  Patch by Matthew Wilcox <matthew@wil.cx>.
2189 2001-04-19  Andreas Jaeger  <aj@suse.de>
2191         * configure.in: Require gettext 0.10.36 or newer.
2193         * manual/install.texi (Tools for Compilation): Mention gettext 0.10.36.
2195         * po/zh_TW.po: Remove extraneous backslashes.
2197         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Remove unused
2198         variables b and n.
2200 2001-04-18  Jakub Jelinek  <jakub@redhat.com>
2202         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Update.
2203         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c: New file.
2204         * sysdeps/unix/sysv/linux/sparc/sparc64/swapcontext.c: New file.
2205         * sysdeps/unix/sysv/linux/sparc/sparc64/setcontext.S (__setcontext):
2206         Copy first word of uc_sigmask into __uc_sigmask.
2207         * sysdeps/unix/sysv/linux/sparc/sparc64/getcontext.S (__getcontext):
2208         Save uc_link around trap.  Copy __uc_sigmask into first word of
2209         uc_sigmask, clear the rest.  Make sure setcontext to the created
2210         context doesn't do this though.
2211         * sysdeps/unix/sysv/linux/sparc/sparc64/ucontext_i.h: New file.
2212         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (ucontext_t): Add
2213         uc_stack and uc_sigmask, rename old uc_sigmask to __uc_sigmask in the
2214         64bit version, make uc_sigmask __sigset_t in the 32bit version.
2216 2001-04-19  Andreas Jaeger  <aj@suse.de>
2218         * sysdeps/unix/sysv/linux/hppa/umount.c: Fix typos in last patch.
2220         * rt/Makefile (otherlibs): Added for static NSS.
2222         * glibcbug.in (BUGGLIBC): Send to new alias.
2224 2001-04-02  Andreas Schwab  <schwab@suse.de>
2226         * Makerules (build-module): Make sure exit codes get checked
2227         properly and remove unnecessary slashes.
2229 2001-04-17  Ulrich Drepper  <drepper@redhat.com>
2231         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
2232         Handle kernels which report only three digits after the decimal point.
2233         Reported by Van Okamura <van.okamura@oracle.com>.
2235         * sysdeps/alpha/fpu/libm-test-ulps: Adjust error values for atan2f.
2237 2001-04-17  David S. Miller  <davem@redhat.com>
2239         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Update for new atan2 tests.
2240         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
2242 2001-04-17  Jakub Jelinek  <jakub@redhat.com>
2244         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Make sure
2245         desired exceptions are raised for exceptional values.
2246         * math/libm-test.inc (acosh_test, atan_test, atan2_test, cacos_test,
2247         cacosh_test, casin_test, casinh_test, catan_test, catanh_test,
2248         clog_test, log_test, log1p_test, tan_test): Increase precision of
2249         expected values to satisfy ldbl-128.
2250         * sysdeps/alpha/fpu/libm-test-ulps: Adjust accordingly.
2251         * sysdeps/arm/libm-test-ulps: Likewise.
2252         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
2253         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
2254         * sysdeps/m68k/fpu/libm-test-ulps: Likewise.
2255         * sysdeps/mips/fpu/libm-test-ulps: Likewise.
2256         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
2257         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
2258         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
2259         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
2260         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
2262 2001-04-17  Andreas Jaeger  <aj@suse.de>
2264         * configure.in: Move test for critical programs up.
2266 2001-04-16  Stephen L Moshier  <moshier@mediaone.net>
2268         * sysdeps/ieee754/flt-32/e_asinf.c (pio2_hi, pio2_lo, pio4_hi):
2269         Correct the values.
2270         (pSx, qSx): Replace by shorter approximation.
2271         Use f suffix on float constants.
2273 2001-04-16  Ulrich Drepper  <drepper@redhat.com>
2275         * sysdeps/ieee754/ldbl-128/k_tanl.c: New file.
2276         Contributed by Stephen L Moshier <moshier@mediaone.net>.
2278         * string/string.h: Replace const in attribute list with __const__.
2280 2001-04-16  Roland McGrath  <roland@frob.com>
2282         * grp/initgroups.c (initgroups) [NGROUPS_MAX != 0]: Always use sysconf
2283         instead of the constant NGROUPS_MAX.  That way, the limit can be
2284         raised in the kernel configuration without having to recompile libc.
2286         * sysdeps/posix/euidaccess.c: Don't #include <limits.h> or try to
2287         define NGROUPS_MAX; we don't use it here.
2289 2001-04-16  Andreas Jaeger  <aj@suse.de>
2291         * math/libm-test.inc (atan2_test): Add more testcases.
2293         * iconv/gconv_db.c: Include gconv_charset.h for
2294         __gconv_lookup_alias prototype.
2296 2001-04-13  Ulrich Drepper  <drepper@redhat.com>
2298         * sysdeps/ieee754/ldbl-128/s_atanl.c: New file.
2299         Contributed by Stephen L Moshier <moshier@mediaone.net>.
2301 2001-04-13  Jes Sorensen  <jes@linuxcare.com>
2303         * intl/tst-codeset.c: Include string.h to get prototype for strcmp().
2305 2001-04-13  Jes Sorensen  <jes@linuxcare.com>
2307         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Add __pad0 to
2308         explicitly pad struct siginfo instead of relying on compiler padding.
2310 2001-04-12  Ulrich Drepper  <drepper@redhat.com>
2312         * sysdeps/ia64/Dist: Add elf/entry.h.
2314         * iconvdata/Makefile (distribute): Add TESTS2.
2316 2001-04-13  Jakub Jelinek  <jakub@redhat.com>
2318         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_load_address):
2319         Calculate load address differently.
2321 2001-04-12  Bruno Haible  <haible@clisp.cons.org>
2323         * iconvdata/TESTS2: New file.
2324         * iconvdata/run-iconv-test.sh: Also run tests from TESTS2.
2325         * iconvdata/testdata/alfabeta..UTF-8: New file.
2326         * iconvdata/testdata/alfabeta..UTF-16.BE: New file.
2327         * iconvdata/testdata/alfabeta..UTF-16.LE: New file.
2328         * iconvdata/testdata/alfabeta..UTF-32.BE: New file.
2329         * iconvdata/testdata/alfabeta..UTF-32.LE: New file.
2331 2001-04-11  Bruno Haible  <haible@clisp.cons.org>
2333         * iconvdata/utf-32.c: New file.
2334         * iconvdata/gconv-modules: Add entries for UTF-32, UTF-32LE, UTF-32BE.
2335         * iconvdata/Makefile (modules): Add UTF-32.
2336         (distribute): Add utf-32.c.
2338 2001-04-11  Bruno Haible  <haible@clisp.cons.org>
2340         * iconvdata/utf-16.c (PREPARE_LOOP): Initialize 'swap' after possibly
2341         changing it in the state.  After incrementing 'inptr', store it back.
2342         * iconvdata/unicode.c (PREPARE_LOOP): After incrementing 'inptr',
2343         store it back.
2345 2001-04-11  Bruno Haible  <haible@clisp.cons.org>
2347         * iconvdata/utf-16.c (gconv_init): Use MAX_NEEDED_FROM, not
2348         MIN_NEEDED_FROM.
2350 2001-04-11  David Mosberger  <davidm@hpl.hp.com>
2352         * sysdeps/ia64/htonl.S: Drop superfluous "alloc".
2353         * sysdeps/ia64/htons.S: Likewise.
2355         * sysdeps/ia64/memset.S: Add unwind directives.
2356         * sysdeps/ia64/strncpy.S: Likewise.
2357         * sysdeps/ia64/strcat.S: Likewise.
2359         * sysdeps/ia64/memccpy.S: Add unwind directives.  Drop superfluous
2360         restore of ar.pfs.
2361         * sysdeps/ia64/strchr.S: Likewise.
2362         * sysdeps/ia64/memmove.S: Likewise.
2363         * sysdeps/ia64/memcpy.S: Likewise.
2364         * sysdeps/ia64/memcmp.S: Likewise.
2365         * sysdeps/ia64/memchr.S: Likewise.
2366         * sysdeps/ia64/strcmp.S: Likewise.
2367         * sysdeps/ia64/strlen.S: Likewise.
2368         * sysdeps/ia64/strcpy.S: Likewise.
2369         * sysdeps/ia64/strncmp.S: Likewise.
2371 2001-04-11  Jakub Jelinek  <jakub@redhat.com>
2373         * wcsmbs/wchar.h (fgetwc, getwc, getwchar, fputwc, putwc, putwchar,
2374         fgetws, fputws, ungetwc, getwc_unlocked, getwchar_unlocked,
2375         fgetwc_unlocked, fputwc_unlocked, putwc_unlocked, putwchar_unlocked,
2376         fgetws_unlocked, fputws_unlocked, wcsftime): Add __THROW.
2378 2001-04-11  Andreas Jaeger  <aj@suse.de>
2380         * sysdeps/mips/elf/start.S [__ASSEMBLY__]: Define it.
2382 2001-04-11  Andreas Schwab  <schwab@suse.de>
2384         * sysdeps/m68k/fpu/libm-test-ulps: Adjusted.
2386 2001-04-11  Ulrich Drepper  <drepper@redhat.com>
2388         * sysdeps/arm/stackinfo.h: New file.
2390 2001-04-08  Thorsten Kukuk  <kukuk@suse.de>
2392         * sunrpc/rpc_main.c: If we compile RPC thread safe, allow
2393         rpcgen to generate thread safe code.
2395 2001-04-10  Andreas Jaeger  <aj@suse.de>
2397         * math/test-fenv.c (initial_tests): Protect FE_TONEAREST declaration.
2399 2001-04-10  Ulrich Drepper  <drepper@redhat.com>
2401         * elf/dl-minimal.c (__assert_fail): Change error string.  It's
2402         most of the time no bug in ld.so.
2403         (__assert_perror_fail): Likewise.
2405 2001-04-11  Hans-Peter Nilsson  <hp@axis.com>
2407         * sysdeps/generic/bits/fenv.h (fexcept_t): Change default type
2408         from struct to unsigned int.
2410 2001-04-10  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
2412         * elf/elf.h (AT_DCACHEBSIZE, AT_ICACHEBSIZE, AT_UCACHEBSIZE,
2413         AT_IGNOREPPC): New defines.
2414         * sysdeps/generic/dl-sysdep.c (_dl_show_auxv): Print them.
2415         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_STD_AUXV):
2416         Define for newer powerpc kernels.
2417         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Use the standard
2418         DL_FIND_ARG_COMPONENTS if __ASSUME_STD_AUXV is defined.
2420 2000-4-10  kaz Kojima  <kkojima@rr.iij4u.or.jp>
2422         * sysdeps/sh/stackinfo.h: New file.
2424 2001-04-10  Ulrich Drepper  <drepper@redhat.com>
2426         * locale/tst-C-locale.c (run_test): Add tests for locale objects.
2427         * locale/newlocale.c (__newlocale): Correct setting __ctype_b,
2428         __ctype_tolower, and __ctype_toupper elements.
2430         * ctype/ctype_l.c: Fix definitions of __tolower_l and __toupper_l.
2431         Reported by Konstantin Osipov <rabid@spylog.ru>.
2433         * sysdeps/i386/fpu/libm-test-ulps: Add deltas for tgamma to help
2434         the lousy AMD FPU.
2436 2001-04-10  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
2438         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: New file.
2439         * sysdeps/unix/sysv/linux/powerpc/Dist: Add sys/ptrace.h.
2440         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Delete wrong stuff.
2441         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Correct typedefs.
2443 2001-04-10  Ulrich Drepper  <drepper@redhat.com>
2445         * elf/dl-deps.c (_dl_map_object_deps): Provide complete error
2446         message.  Based on a patch by HJ Lu.
2448 2001-04-10  Andreas Schwab  <schwab@suse.de>
2450         * math/libm-test.inc (csinh_test): Don't require the invalid
2451         exception for csinh (x + iNaN), but make it optional.
2453 2001-04-09  David Mosberger  <davidm@hpl.hp.com>
2455         * sysdeps/ia64/elf/start.S (_start): Add unwind directives.
2457         * sysdeps/generic/entry.h [!__ASSEMBLY__]: Declare _start.
2458         * sysdeps/ia64/elf/entry.h: New file.
2459         * sysdeps/unix/sysv/linux/mips/entry.h [!__ASSEMBLY__]: Declare
2460         __start.
2461         * elf/rtld.c: Don't declare ENTRY_POINT.  Use ENTRY_POINT instead
2462         of &ENTRY_POINT.
2463         * sysdeps/generic/dl-sysdep.c: Likewise.
2464         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
2465         * sysdeps/ia64/elf/start.S: Save base address of register backing
2466         store in __libc_ia64_register_backing_store_base.
2468 2001-04-10  Martin Schwidefsky  <schwidefsky@de.ibm.com>
2470         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Fix return
2471         value of getcontext.
2472         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
2473         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Fix return
2474         value of setcontext.
2475         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
2476         * sysdeps/unix/sysv/linux/s390/swapcontext.c: Skip setcontext
2477         call by changing the saved context.
2479 2001-04-10  Ulrich Drepper  <drepper@redhat.com>
2481         * sysdeps/alpha/stackinfo.h: New file.
2482         * sysdeps/ia64/stackinfo.h: New file.
2484 2001-04-10  Andreas Schwab  <schwab@suse.de>
2486         * sysdeps/m68k/fpu/e_pow.c: Correct handling of some exceptional
2487         values.
2488         * sysdeps/m68k/fpu/e_scalb.c: Likewise.
2490 2001-04-09  Ulrich Drepper  <drepper@redhat.com>
2492         * sysdeps/sparc/sparc32/sparcv9/Dist: Add hp-timing.c.
2493         * sysdeps/sparc/sparc64/Dist: Add hp-timing.c.
2495         * libio/Makefile (distribute): Add fd_to_filename.h.
2497 2001-04-05  David S. Miller  <davem@redhat.com>
2499         Add hp-timing support for sparcv9/sparc64 targets.
2500         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: New file
2501         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: New file
2502         * sysdeps/sparc/sparc64/hp-timing.c: New file
2503         * sysdeps/sparc/sparc64/hp-timing.h: New file
2504         * sysdeps/sparc/sparc32/sparcv9/Makefile: Build hp-timing.
2505         * sysdeps/sparc/sparc64/Makefile: Likewise.
2507 2001-04-09  Jakub Jelinek  <jakub@redhat.com>
2509         * sysdeps/generic/fd_to_filename.h: New file.
2510         * sysdeps/unix/sysv/linux/fd_to_filename.h: New file.
2511         * libio/freopen.c (freopen): If FILENAME is NULL, try to get
2512         filename from the open file descriptor.
2513         * libio/freopen64.c (freopen64): Likewise.
2515 2001-04-09  Bruno Haible  <haible@clisp.cons.org>
2517         * misc/error.c (error): fflush stdout also if
2518         error_print_progname != NULL.
2519         (error_at_line): Likewise.
2521 2001-04-07  Bruno Haible  <haible@clisp.cons.org>
2523         * intl/gettextP.h (struct loaded_domain): Add codeset_cntr field.
2524         (struct binding): Add codeset_cntr field.
2525         (_nl_load_domain): Add domainbinding argument.
2526         (_nl_init_domain_conv, _nl_free_domain_conv): New declarations.
2527         (_nl_find_msg): New declaration, moved here from loadinfo.h.
2528         * intl/loadinfo.h (struct loaded_l10nfile): Remove domainbinding field.
2529         (_nl_make_l10nflist): Remove domainbinding argument.
2530         (_nl_find_msg): Move declaration to gettextP.h.
2531         * intl/bindtextdom.c (set_binding_values): Initialize ->codeset_cntr
2532         to 0.  Increment it when ->codeset is changed.
2533         * intl/dcigettext.c (DCIGETTEXT): Pass binding to _nl_find_msg.
2534         (_nl_find_msg): Add domainbinding argument.  Reinitialize the converter
2535         if domainbinding->codeset_cntr has been incremented.
2536         * intl/finddomain.c (_nl_find_domain): Don't pass domainbinding to
2537         _nl_make_l10nflist().  Pass it to _nl_load_domain() instead.
2538         * intl/l10nflist.c (_nl_make_l10nflist): Remove domainbinding argument.
2539         * intl/loadmsgcat.c (_nl_init_domain_conv): New function, extracted
2540          from _nl_load_domain.  Append //TRANSLIT also when using libiconv.
2541         (_nl_free_domain_conv): New function, extracted from _nl_unload_domain.
2542         (_nl_load_domain): Add domainbinding argument.  Call
2543         _nl_init_domain_conv.
2544         (_nl_unload_domain): Call _nl_free_domain_conv.
2545         * intl/Makefile (distribute): Add tst-codeset.sh, tstcodeset.po.
2546         (test-srcs): Add tst-codeset.
2547         (tests): Depend on tst-codeset.out.
2548         (tst-codeset.out): New rule.
2549         (CFLAGS-tst-codeset.c): New variable.
2550         * intl/tst-codeset.sh: New file.
2551         * intl/tstcodeset.po: New file.
2552         * intl/tst-codeset.c: New file.
2553         * locale/findlocale.c (_nl_find_locale): Update _nl_make_l10nflist
2554         calls.
2556 2001-04-07  Roland McGrath  <roland@frob.com>
2558         * mach/msgserver.c (__mach_msg_server_timeout): Add an assert.
2560 2001-03-31  Roland McGrath  <roland@frob.com>
2562         * sysdeps/mach/hurd/fork.c: Skip NEWPROC just like NEWTASK when
2563         copying send rights into child.  When we hit our name for our proc
2564         port, just copy NEWPROC directly instead of repeating proc_task2proc
2565         to install the child's port.
2567 2001-04-08  Roland McGrath  <roland@frob.com>
2569         * Makeconfig ($(common-objpfx)soversions.i): Grok entries with DEFAULT
2570         in second column, to provide default values for third column.
2571         * shlib-versions: Add comments about using DEFAULT in second column.
2572         (s390x-.*-linux.*): Replace individual entries with a DEFAULT entry.
2573         (cris-.*-linux.*): Likewise.
2575 2001-04-09  Ulrich Drepper  <drepper@redhat.com>
2577         * Makefile (distribute): Add scripts/documented.sh.
2578         * scripts/documented.sh: New file.
2580 2001-04-08  Hans-Peter Nilsson  <hp@axis.com>
2582         * sysdeps/unix/sysv/linux/cris/Dist: New file.
2583         * sysdeps/unix/sysv/linux/cris/Makefile: New file.
2584         * sysdeps/unix/sysv/linux/cris/_G_config.h: New file.
2585         * sysdeps/unix/sysv/linux/cris/bits/fcntl.h: New file.
2586         * sysdeps/unix/sysv/linux/cris/bits/mman.h: New file.
2587         * sysdeps/unix/sysv/linux/cris/bits/resource.h: New file.
2588         * sysdeps/unix/sysv/linux/cris/brk.c: New file.
2589         * sysdeps/unix/sysv/linux/cris/chown.c: New file.
2590         * sysdeps/unix/sysv/linux/cris/clone.S: New file.
2591         * sysdeps/unix/sysv/linux/cris/fchown.c: New file.
2592         * sysdeps/unix/sysv/linux/cris/fcntl.c: New file.
2593         * sysdeps/unix/sysv/linux/cris/fxstat.c: New file.
2594         * sysdeps/unix/sysv/linux/cris/getegid.c: New file.
2595         * sysdeps/unix/sysv/linux/cris/geteuid.c: New file.
2596         * sysdeps/unix/sysv/linux/cris/getgid.c: New file.
2597         * sysdeps/unix/sysv/linux/cris/getgroups.c: New file.
2598         * sysdeps/unix/sysv/linux/cris/getresgid.c: New file.
2599         * sysdeps/unix/sysv/linux/cris/getresuid.c: New file.
2600         * sysdeps/unix/sysv/linux/cris/getrlimit.c: New file.
2601         * sysdeps/unix/sysv/linux/cris/getrlimit64.c: New file.
2602         * sysdeps/unix/sysv/linux/cris/getuid.c: New file.
2603         * sysdeps/unix/sysv/linux/cris/lchown.c: New file.
2604         * sysdeps/unix/sysv/linux/cris/lockf64.c: New file.
2605         * sysdeps/unix/sysv/linux/cris/lxstat.c: New file.
2606         * sysdeps/unix/sysv/linux/cris/mmap.S: New file.
2607         * sysdeps/unix/sysv/linux/cris/mmap64.S: New file.
2608         * sysdeps/unix/sysv/linux/cris/msgctl.c: New file.
2609         * sysdeps/unix/sysv/linux/cris/profil-counter.h: New file.
2610         * sysdeps/unix/sysv/linux/cris/register-dump.h: New file.
2611         * sysdeps/unix/sysv/linux/cris/semctl.c: New file.
2612         * sysdeps/unix/sysv/linux/cris/setegid.c: New file.
2613         * sysdeps/unix/sysv/linux/cris/seteuid.c: New file.
2614         * sysdeps/unix/sysv/linux/cris/setfsgid.c: New file.
2615         * sysdeps/unix/sysv/linux/cris/setfsuid.c: New file.
2616         * sysdeps/unix/sysv/linux/cris/setgid.c: New file.
2617         * sysdeps/unix/sysv/linux/cris/setgroups.c: New file.
2618         * sysdeps/unix/sysv/linux/cris/setregid.c: New file.
2619         * sysdeps/unix/sysv/linux/cris/setresgid.c: New file.
2620         * sysdeps/unix/sysv/linux/cris/setresuid.c: New file.
2621         * sysdeps/unix/sysv/linux/cris/setreuid.c: New file.
2622         * sysdeps/unix/sysv/linux/cris/setrlimit.c: New file.
2623         * sysdeps/unix/sysv/linux/cris/setuid.c: New file.
2624         * sysdeps/unix/sysv/linux/cris/shmctl.c: New file.
2625         * sysdeps/unix/sysv/linux/cris/socket.S: New file.
2626         * sysdeps/unix/sysv/linux/cris/sys/ucontext.h: New file.
2627         * sysdeps/unix/sysv/linux/cris/syscall.S: New file.
2628         * sysdeps/unix/sysv/linux/cris/sysdep.S: New file.
2629         * sysdeps/unix/sysv/linux/cris/sysdep.h: New file.
2630         * sysdeps/unix/sysv/linux/cris/vfork.S: New file.
2631         * sysdeps/unix/sysv/linux/cris/xstat.c: New file.
2633 2001-04-08  Hans-Peter Nilsson  <hp@axis.com>
2635         * sysdeps/cris/Dist: New file.
2636         * sysdeps/cris/Implies: New file.
2637         * sysdeps/cris/Makefile: New file.
2638         * sysdeps/cris/__longjmp.S: New file.
2639         * sysdeps/cris/_mcount.S: New file.
2640         * sysdeps/cris/bits/endian.h: New file.
2641         * sysdeps/cris/bits/setjmp.h: New file.
2642         * sysdeps/cris/bits/string.h: New file.
2643         * sysdeps/cris/dl-machine.h: New file.
2644         * sysdeps/cris/elf/start.S: New file.
2645         * sysdeps/cris/machine-gmon.h: New file.
2646         * sysdeps/cris/memcopy.h: New file.
2647         * sysdeps/cris/memusage.h: New file.
2648         * sysdeps/cris/setjmp.S: New file.
2649         * sysdeps/cris/sysdep.h: New file.
2650         * sysdeps/cris/wordcopy.c: New file.
2652 2001-04-08  Hans-Peter Nilsson  <hp@axis.com>
2654         * elf/elf.h: Add new relocations for CRIS.
2656 2001-04-08  Hans-Peter Nilsson  <hp@axis.com>
2658         * shlib-versions: Add cases for Linux on CRIS.
2660 2001-04-08  Hans-Peter Nilsson  <hp@axis.com>
2662         * configure.in (ASM_LINE_SEP tests): Handle CRIS assembly, with
2663         ';' for comments and '@' for line separator.
2665 2001-04-08  Hans-Peter Nilsson  <hp@axis.com>
2667         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Fix
2668         typo; s/==/=/ for assignment.
2670 2001-04-08  Hans-Peter Nilsson  <hp@axis.com>
2672         * malloc/Makefile: Correct comment; mtrace is Perl, not AWK.
2674 2001-04-08  Hans-Peter Nilsson  <hp@axis.com>
2676         * iconv/gconv_simple.c (internal_ucs4_loop_unaligned): Check for
2677         empty input before checking full output.
2679 2001-04-08  Hans-Peter Nilsson  <hp@axis.com>
2681         * iconv/gconv.c (__gconv): Don't derefer parameter cd before
2682         checking if == -1L.
2684 2001-04-08  Ulrich Drepper  <drepper@redhat.com>
2686         * inet/rexec.c (rexec_af): Avoid calling perror with errno being set.
2688 2001-04-07  Stephen L Moshier  <moshier@mediaone.net>
2690         * sysdeps/ieee754/ldbl-128/e_logl.c: Correct infinity and NaN
2691         return values.
2693 2001-04-07  Ulrich Drepper  <drepper@redhat.com>
2695         * stdlib/tst-setcontext.c (main): Add a test for setcontext.
2697         * sysdeps/unix/sysv/linux/i386/getcontext.S: New file.
2698         * sysdeps/unix/sysv/linux/i386/setcontext.S: New file.
2699         * sysdeps/unix/sysv/linux/i386/makecontext.S: New file.
2700         * sysdeps/unix/sysv/linux/i386/swapcontext.S: New file.
2701         * sysdeps/unix/sysv/linux/i386/ucontext_i.h: New file.
2702         * sysdeps/unix/sysv/linux/i386/Dist: Add ucontext_i.h.
2704 2001-04-07  Andreas Jaeger  <aj@suse.de>
2706         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Use sincos
2707         instead of separate sin and cos.
2708         (__ieee754_j1l): Likewise.
2710 2001-04-06  Ulrich Drepper  <drepper@redhat.com>
2712         * sysdeps/ia64/abort-instr.h: New file.  Code by David Mosberger.
2714         * sysdeps/ia64/atomicity.h: New file.  Copied from libstdc++.
2716         * sysdeps/i386/i486/atomicity.h: Clean up the asms.
2718         * sysdeps/generic/e_scalb.c: Don't use FE_INVALID unless it's
2719         available.
2720         * sysdeps/generic/e_scalbf.c: Likewise.
2721         * sysdeps/generic/e_scalbl.c: Likewise.
2722         Patch by Mark Hatle <fray@mvista.com>.
2724 2001-04-05  David S. Miller  <davem@redhat.com>
2726         * sysdeps/sparc/abort-instr.h: New file.
2728 2001-04-05  Matt Wilson  <msw@redhat.com>
2730         * sysdeps/unix/sysv/linux/alpha/getsysstats.c (GET_NPROCS_PARSER):
2731         added code to parse new 2.4 format.
2732         (GET_NPROCS_CONF_PARSER): Likewise.
2734 2001-04-05  David S. Miller  <davem@redhat.com>
2736         * scripts/config.sub: Recognize sparcv9b like sparcv9.
2737         * configure.in: Add sparcv9b.
2738         * sysdeps/sparc/sparc32/sparcv9b/Implies: New file
2739         * sysdeps/sparc/sparc32/sparcv9b/memcpy.S: New file
2740         * sysdeps/sparc/sparc64/sparcv9b/memcpy.S: New file
2742 2001-04-06  David Mosberger  <davidm@hpl.hp.com>
2744         * stdlib/tst-setcontext.c: Move st2[] to global scope.
2745         (f2): Verify that stack pointer is inside st2[].
2747         * sysdeps/unix/sysv/linux/ia64/getcontext.S: It helps to save r12.
2748         * sysdeps/unix/sysv/linux/ia64/setcontext.S: It helps to restore r12.
2750 2001-04-06  Ulrich Drepper  <drepper@redhat.com>
2752         * timezone/antarctica: Update from tzdata2001b.
2753         * timezone/asia: Likewise.
2754         * timezone/australasia: Likewise.
2755         * timezone/europe: Likewise.
2756         * timezone/northamerica: Likewise.
2758         * iconv/iconv_open.c: Move strip and upstr definitions...
2759         * iconv/gconv_charset.h: ...here.  New file.
2760         * iconv/gconv_db.c (once): Move to file level.
2761         (do_lookup_alias): Split out from __gconv_find_transform.
2762         (__gconv_find_transform): Call do_lookup_alias.
2763         (__gconv_loopup_alias): New function.
2764         * locale/langinfo.h: Define _NL_*_CODESET values for all categories
2765         but LC_CTYPE.
2766         * locale/categories.def: Add entries for new _NL_*_CODESET values.
2767         * locale/C-ctype.c: Use _nl_C_codeset to initialize CODESET entry.
2768         * locale/C-address.c: Initialize _NL_*_CODESET element.
2769         * locale/C-collate.c: Likewise.
2770         * locale/C-identification.c: Likewise.
2771         * locale/C-measurement.c: Likewise.
2772         * locale/C-messages.c: Likewise.
2773         * locale/C-monetary.c: Likewise.
2774         * locale/C-name.c: Likewise.
2775         * locale/C-numeric.c: Likewise.
2776         * locale/C-paper.c: Likewise.
2777         * locale/C-telephone.c: Likewise.
2778         * locale/C-time.c: Likewise.
2779         * locale/localeinfo.h: Declare _nl_C_codeset.
2780         * locale/C_name.c: Define _nl_C_codeset.
2781         * locale/findlocale.c: Before accepting locale check that the used
2782         charset does not conflict with what the locale name said.
2783         * locale/programs/ld-address.c: Emit codeset information.
2784         * locale/programs/ld-collate.c: Likewise.
2785         * locale/programs/ld-identification.c: Likewise.
2786         * locale/programs/ld-measurement.c: Likewise.
2787         * locale/programs/ld-messages.c: Likewise.
2788         * locale/programs/ld-monetary.c: Likewise.
2789         * locale/programs/ld-name.c: Likewise.
2790         * locale/programs/ld-numeric.c: Likewise.
2791         * locale/programs/ld-paper.c: Likewise.
2792         * locale/programs/ld-telephone.c: Likewise.
2793         * locale/programs/ld-time.c: Likewise.
2795         * localedata/tests-mbwc/tst_funcs.h (TST_HEAD_LOCALE): It is an error
2796         if the locale data couldn't be found.
2798         * string/Makefile: Define tst-strxfrm-ENV.
2800         * ysdeps/unix/sysv/linux/ia64/getcontext.S: Fix comment.
2802 2001-04-06  Andreas Jaeger  <aj@suse.de>
2804         * include/sys/profil.h: New file.
2806         * dlfcn/modatexit.c: Add prototypes to silence GCC.
2807         * dlfcn/modcxaatexit.c: Likewise.
2808         * elf/globalmod1.c: Likewise.
2810 2001-04-05  David S. Miller  <davem@redhat.com>
2812         * elf/elf.h (HWCAP_SPARC_ULTRA3): Define it.
2813         * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h: Add it to
2814         capability flags table and HWCAP_IMPORTANT, increase
2815         _DL_HWCAP_COUNT to 6.
2816         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h: Likewise.
2818 2001-04-04  David Mosberger  <davidm@hpl.hp.com>
2820         * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext): Fix
2821         initialization of stack_end (bug reported by Zheng Gengbin
2822         <gzheng@students.uiuc.edu>).
2824 2001-04-05  Ulrich Drepper  <drepper@redhat.com>
2826         * sysdeps/i386/fpu/libm-test-ulps: Relax errors for asinl.
2828 2001-04-05  Martin Schwidefsky  <schwidefsky@de.ibm.com>
2830         * sysdeps/unix/sysv/linux/s390/s390-64/bits/socket.h: New file.
2832 2001-04-05  Ulrich Drepper  <drepper@redhat.com>
2834         * sysdeps/ieee754/ldbl-96/e_asinl.c: Correct handling of +-Inf.
2835         * sysdeps/i386/fpu/e_asinl.S: Removed.  Too inaccurate.
2837         * login/tst-utmp.c: Make file usable again in tst-utmpx.c.
2839 2001-04-04  Ulrich Drepper  <drepper@redhat.com>
2841         * sysdeps/unix/sysv/aix/dl-libc.c: Don't use the ELF version,
2842         define simple replacements here.  Patch by Michael Keezer.
2844         * sysdeps/ieee754/ldbl-128/e_logl.c: New file.
2845         * sysdeps/ieee754/ldbl-96/e_asinl.c: New file.
2846         Contributed by Stephen L Moshier <moshier@mediaone.net>.
2848         * posix/fnmatch_loop.c: Undefine NEW_PATTERN when it is not used
2849         anymore.
2851 2001-04-01  Andreas Jaeger  <aj@suse.de>
2853         * sysdeps/generic/s_nextafter.c (NO_LONG_DOUBLE): Add nexttowardl
2854         alias.
2856         * sysdeps/generic/s_fma.c (NO_LONG_DOUBLE): Add fmal alias.
2858 2001-04-04  Ulrich Drepper  <drepper@redhat.com>
2860         * sysdeps/unix/sysv/linux/s390/s390-64/Dist: Add ucontext_i.h.
2861         * sysdeps/unix/sysv/linux/s390/s390-32/Dist: Likewise.
2863 2001-04-04  Martin Schwidefsky  <schwidefsky@de.ibm.com>
2865         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: New file.
2866         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: New file.
2867         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: New file.
2868         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.h: New file.
2869         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: New file.
2870         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: New file.
2871         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: New file.
2872         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.h: New file.
2873         * sysdeps/unix/sysv/linux/s390/swapcontext.c: New file.
2875 2001-04-04  Andreas Jaeger  <aj@suse.de>
2877         * sysdeps/powerpc/dl-machine.h (ELF_MACHINE_NO_REL): Move to right
2878         place.
2880 2001-04-04  Ulrich Drepper  <drepper@redhat.com>
2882         * sunrpc/rpc_scan.c (symbols): Add entry for HYPER.
2883         * sunrpc/rpc_scan.h (enum tok_kind): Add TOK_HYPER.
2884         * sunrpc/rpc_parse.c (get_type): Handle TOK_HYPER.
2885         (unsigned_dec): Likewise.
2886         Patch by atai@jezebel.dreamhost.com.
2888         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r): Pass
2889         pointer to int as last parameter of yp_match.
2890         Patch by kanazawa@flab.fujitsu.co.jp.
2892 2001-04-03  Ulrich Drepper  <drepper@redhat.com>
2894         * resolv/netdb.h (gai_strerror): Make return value const.
2895         * sysdeps/generic/gai_strerror.c (gai_strerror): Likewise.
2896         * sysdeps/posix/gai_strerror.c (gai_strerror): Likewise.
2897         Add strings for new error values.
2899 2001-03-29  Michael Keezer  <mkeezer@redhat.com>
2901         * posix/tst-gnuglob.c: Added ifdef _DIRENT_HAVE_D_TYPE.
2902         * login/tst-utmp.c: Handle case where ut_tv is not available but
2903         ut_time is.
2904         * sysdeps/unix/sysv/aix/utmpx.h: New file.
2905         * sysdeps/unix/sysv/aix/bits/utmpx.h: Added
2906         _HAVE_UT_TYPE/PID/ID/TV/HOST defines.
2907         * sysdeps/unix/sysv/aix/libc-start.c: Removed temp code and made stub.
2908         * sysdeps/unix/sysv/aix/gettimeofday.c: New file added routines
2909         to access RTCU timer reg.
2910         * sysdeps/unix/sysv/aix/Makefile: Remove /usr/lib/crt0.o
2911         added dl-libc, dl-open,dl-sym, dl-close to misc.
2912         * sysdeps/unix/sysv/aix/start.c: New file.  Start code.
2913         * sysdeps/unix/sysv/aix/dlldr.h: New file.  AIX __loadx defines.
2914         * sysdeps/unix/sysv/aix/dl-close.c: New file.  AIX dl-close.
2915         * sysdeps/unix/sysv/aix/dl-open.c: New file.  AIX dl-open.
2916         * sysdeps/unix/sysv/aix/dl-sym.c: New file.  AIX dl-sym.
2917         * sysdeps/unix/sysv/aix/dl-libc.c: New file.  libc_dl-xxx support.
2918         * sysdeps/generic/strtoll.c: Added SHLIB_COMPAT(libc,GLIBC_2_0,
2919         GLIBC_2_2).
2920         * sysdeps/generic/strtoull.c: Likewise.
2921         * sysdeps/powerpc/ppc-mcount.S: Added nop after bl instruction.
2922         * sysdeps/unix/sysv/aix/powerpc/memset.c: New file to include
2923         sysdeps/generic/memset.c.
2924         * sysdeps/unix/sysv/aix/getpeername.c: Define __getpeername.
2926 2001-04-03  Ulrich Drepper  <drepper@redhat.com>
2928         * iconv/Makefile (CFLAGS-charmap.c): Add -DNEED_NULL_POINTER.
2929         * locale/programs/charmap.c: Define null_pointer if
2930         NEED_NULL_POINTER is defined.
2932         * misc/dirname.c (dirname): Handle multiple slashes correctly.
2934 2001-04-03  Martin Schwidefsky  <schwidefsky@de.ibm.com>
2936         * sysdeps/s390/s390-64/initfini.c: Fix __gmon_start__ GOT access.
2938 2001-04-03  Martin Schwidefsky  <schwidefsky@de.ibm.com>
2940         * sysdeps/s390/s390-32/bcopy.S: Optimize for speed.
2941         * sysdeps/s390/s390-64/bcopy.S: Likewise.
2942         * sysdeps/s390/s390-32/mempcy.S: Likewise.
2943         * sysdeps/s390/s390-64/memcpy.S: Likewise.
2945 2001-04-02  Bruno Haible  <haible@clisp.cons.org>
2947         * manual/message.texi (Advanced gettext functions): More specific
2948         syntax in the plural formula examples.
2950 2001-04-02  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
2952         * sysdeps/powerpc/atomicity.h: Silence warnings.
2953         * sysdeps/powerpc/dl-machine.h: Likewise.
2954         * sysdeps/powerpc/register-dump.h: Likewise.
2955         * sysdeps/powerpc/fpu/s_lrint.c: Likewise.
2957 2001-04-02  Andreas Jaeger  <aj@suse.de>
2959         * misc/tst-dirname.c (main): Add more tests, derived from a bug
2960         report by Michael Kerrisk <mtk16@ext.canterbury.ac.nz>.
2962 2001-04-01  Andreas Jaeger  <aj@suse.de>
2964         * debug/xtrace.sh (pcprofileso): Use SLIBDIR since libpcprofile.so
2965         is installed there.
2966         * malloc/memusage.sh (memusageso): Likewise for libmemusage.so.
2968 2001-04-01  H.J. Lu  <hjl@gnu.org>
2970         * posix/annexc.c (macrofile): Renamed from TMPFILE and set to
2971         tmpnam (NULL).
2972         * stdlib/isomac.c (macrofile): Likewise.
2974 2001-03-30  Thorsten Kukuk  <kukuk@suse.de>
2976         * inet/rcmd.c: Allow AF_UNSPEC as parameter.
2977         * nis/ypclnt.c (yp_all): Print error message only at last try,
2978         check for protocoll error only if we don't have a network error.
2980 2001-04-02  Andreas Schwab  <schwab@suse.de>
2982         * resolv/res_data.c (res_isourserver): Fix cast.
2984 2001-04-02  Andreas Jaeger  <aj@suse.de>
2986         * sysdeps/unix/sysv/linux/hppa/umount.c: Add prototype for
2987         __umount2.
2989         * sysdeps/i386/dl-machine.h (RTLD_START): Don't use multi-line
2990         strings.
2991         (ELF_MACHINE_RUNTIME_TRAMPOLINE): Likewise.
2993         * sysdeps/ieee754/dbl-64/uroot.h: Add missing braces arount
2994         initializers.
2995         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Likewise.
2997         * elf/rtld.c (print_statistics)[!HP_TIMING_NONAVAIL]: Avoid
2998         warning about unused variable.
3000         * string/string.h (strndupa): Add cast for C++ conformance.
3001         (strdupa): Likewise.
3002         Fixes PR libc/2173, reported by tbrowder@home.com.
3004 2001-03-30  Roland McGrath  <roland@frob.com>
3006         * sysdeps/mach/hurd/Makefile ($(link-rpcuserlibs)): Don't append
3007         options after $(build-module), which is no longer a single command.
3008         (LDFLAGS-link-rpcuserlibs): New variable to hold those options.
3009         (LDFLAGS-libmachuser-link.so, LDFLAGS-libhurduser-link.so): New
3010         variables using it.  Reported by Mark Kettenis <kettenis@gnu.org>.
3012 2001-03-11  Roland McGrath  <roland@frob.com>
3014         * elf/rtld.c (dl_main): Add cast to quiet warning.
3015         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
3016         * iconv/gconv_conf.c (__gconv_get_path): Likewise.
3017         (__gconv_read_conf): Likewise.
3018         * iconv/gconv_db.c (gen_steps): Likewise.
3019         (__gconv_find_transform): Likewise.
3020         * locale/programs/charmap-dir.c (fopen_uncompressed): Likewise.
3021         (fopen_uncompressed): Use const in second argument's type.
3023 2001-03-11  Roland McGrath  <roland@frob.com>
3025         * sysdeps/mach/hurd/dl-sysdep.c (__writev): New function.
3027         * mach/mach_error.h: Fix ancient #endif syntax.
3028         * hurd/hurdmalloc.c: Likewise.
3030         * sysdeps/generic/atomicity.h (exchange_and_add, atomic_add,
3031         compare_and_swap): Add volatile qualifier to first arg, to bring
3032         these prototypes in line with all the other implementations.
3033         Add a #warning to remind the builder that these are not atomic.
3035 2001-03-04  Roland McGrath  <roland@frob.com>
3037         * hurd/vpprintf.c (vpprintf) [USE_IN_LIBIO]: Use innermore first
3038         member of TEMP_F so its type is _IO_FILE * as expected.
3040         * hurd/fopenport.c (seekio): Conditionalize type of POS argument
3041         on [USE_IN_LIBIO].  Check the value for overflow, since for libio
3042         it might exceed off_t's range.
3044 2001-02-25  Roland McGrath  <roland@frob.com>
3046         * sysdeps/mach/hurd/sysd-stdio.c (__stdio_reopen): Use prototype.
3047         * sysdeps/unix/bsd/getpt.c (__posix_openpt): Likewise.
3049         * sysdeps/mach/hurd/i386/intr-msg.h (SYSCALL_EXAMINE): Make this a
3050         macro instead of an inline function,
3051         (MSG_EXAMINE): Likewise.
3053         * hurd/hurd/ioctl.h (_HURD_HANDLE_IOCTLS_1): Remove extraneous ##.
3055         * hurd/get-host.c: Include <string.h> for decls of built-ins.
3056         * hurd/hurdchdir.c: Likewise.
3057         * sysdeps/mach/hurd/i386/sigreturn.c: Likweise.
3058         * sysdeps/mach/hurd/opendir.c: Likewise.
3060         * mach/mach_init.c: Include <unistd.h> for _exit decl.
3062         * mach/errsystems.awk: Give output file a trailing newline.
3064         * mach/Machrules (MIG): Prepend CC='${CC}' to the mig command, so that
3065         the script will use our compiler for the cpp stage.
3067         With --enable-all-warnings we get a whole bunch of warnings,
3068         and these are just a few fixes; there are more needed to silence it.
3069         * mach/mach/mig_support.h (__mig_strncpy, mig_strncpy): Add extern
3070         decls before extern inline defns to quiet gcc warning.
3071         * hurd/hurd/threadvar.h (__hurd_threadvar_location_from_sp): Likewise.
3072         * sysdeps/mach/i386/machine-sp.h (__thread_stack_pointer): Likewise.
3074 2001-03-31  Andreas Jaeger  <aj@suse.de>
3076         * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_RAWHDLC): Added.
3077         (ARPHRD_HDLC): Define as alias for ARPHRD_CISCO.
3078         (ARPHRD_CISCO): New.
3079         Changes from Linux 2.4.3.
3081 2001-03-30  Isamu Hasegawa  <isamu@yamato.ibm.com>
3083         * posix/regex.c: Avoid an access violation if malloc fails.
3085 2001-03-30  Andreas Jaeger  <aj@suse.de>
3087         * sysdeps/alpha/ldiv.S (ldiv): Add alias for imaxdiv.
3089 2001-03-29  Ulrich Drepper  <drepper@redhat.com>
3091         * posix/regex.c: Remove unnecessary ifs.
3093         * math/bits/mathcalls.h: Remove infnan declaration.
3095 2001-03-29  H.J. Lu  <hjl@gnu.org>
3097         * include/endian.h: Define BIG_ENDI, LITTLE_ENDI, HIGH_HALF,
3098         and LOW_HALF only if _LIBC is defined and _ISOMAC is not defined.
3099         * stdlib/isomac.c (fmt): Define _LIBC and _ISOMAC.
3101 2001-03-29  Isamu Hasegawa  <isamu@yamato.ibm.com>
3103         * posix/regex.c: Fix typo and add a sentinel.
3105 2001-03-29  Ulrich Drepper  <drepper@redhat.com>
3107         * sysdeps/unix/sysv/linux/shm_open.c: Open new file always with
3108         O_NOFOLLOW.  Suggested by Christoph Roland.
3110 2001-03-27  Martin Schwidefsky  <schwidefsky@de.ibm.com>
3112         * sysdeps/s390/bits/string.h: New unified 31/64 bit string.h.
3113         * sysdeps/s390/s390-32/bits/string.h: Remove.
3114         * sysdeps/s390/s390-64/bits/string.h: Remove.
3115         * sysdeps/s390/s390-32/strcmp.S: New file.
3116         * sysdeps/s390/s390-64/strcmp.S: New file.
3118 2001-03-27  Martin Schwidefsky  <schwidefsky@de.ibm.com>
3120         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Fix typo.
3121         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
3123 2001-03-27  Ulrich Drepper  <drepper@redhat.com>
3125         * version.h (VERSION): Bump to 2.2.3.
3127         * stdlib/isomac.c (fmt): Don't define _LIBC.
3128         * include/endian.h: Define BIG_ENDI, LITTLE_ENDI, HIGH_HALF, and
3129         LOW_HALF only if _LIBC is defined.
3131         * sysdeps/i386/fpu/libm-test-ulps: Slight adjustment of yn() error.
3133         * posix/fnmatch_loop.c (FCT): Handle !() after * special like @()
3134         and +().
3135         * posix/tst-fnmatch.input: Add test cases for matching empty strings.
3137         * sysdeps/ieee754/dbl-64/endian.h: Removed.  Move definitions...
3138         * include/endian.h: ...to here.
3140 2001-03-27  kaz Kojima  <kkojima@rr.iij4u.or.jp>
3142         * sysdeps/sh/sys/ucontext.h (NFREG): Rename to NFPREG.
3143         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (NFREG): Likewise.
3145 2001-03-27  Martin Schwidefsky  <schwidefsky@de.ibm.com>
3147         * sysdeps/unix/sysv/linux/s390/ldconfig.h: Fix typo.
3149 2001-03-26  Ulrich Drepper  <drepper@redhat.com>
3151         * sysdeps/ia64/fpu/Dist: Add new files to distribute.
3152         * sysdeps/unix/sysv/linux/s390/s390-64/Dist: Likewise.
3153         * sysdeps/unix/sysv/linux/ia64/Dist: Likewise.
3155         * gmon/Makefile (headers): Add sys/profil.h.
3157 2001-03-18  Andreas Jaeger  <aj@suse.de>
3159         * manual/install.texi (Tools for Compilation): Advise to use GCC
3160         2.95.3.
3161         (Supported Configurations): Mention s390x.
3163 2001-03-26  Ben Collins  <bcollins@debian.org>
3165         * sysdeps/unix/sysv/linux/mips/bits/mman.h: Add MAP_* and MADV_*
3166         defines to match other architectures.
3168 2001-03-26  Ulrich Drepper  <drepper@redhat.com>
3170         * libio/Makefile (tests): Add tst-ext.
3171         * libio/tst-ext.c: New file.
3173         * libio/iosetvbuf.c (_IO_setvbuf): Clear line buffer flag for _IONBF.
3175 2001-03-25  Ulrich Drepper  <drepper@redhat.com>
3177         Add changes which were in this form in the original patch by
3178         Eric Norum <eric.norum@usask.ca>.
3179         * include/rpc/rpc.h: Remove svc_fdset, rpc_createerr, svc_pollfd, and
3180         svc_max_pollfd.
3181         * sunrpc/rpc/rpc.h: Declare __rpc_thread_svc_fdset,
3182         __rpc_thread_createerr, __rpc_thread_svc_pollfd, and
3183         __rpc_thread_svc_max_pollfd.
3184         Define svc_fdset, get_rpc_createerr, svc_pollfd, and
3185         svc_max_pollfd.
3186         * sunrpc/rpc_thread.c: Handle first thread special, it uses the
3187         global variables.
3188         Define __rpc_thread_svc_fdset, __rpc_thread_createerr,
3189         __rpc_thread_svc_pollfd, and __rpc_thread_svc_max_pollfd.
3190         * sunrpc/Versions [libc] (GLIBC_2.2.3): Export  __rpc_thread_svc_fdset,
3191         __rpc_thread_createerr, __rpc_thread_svc_pollfd, and
3192         __rpc_thread_svc_max_pollfd.
3193         * sunrpc/clnt_gen.c: Replace use of rpc_createerr by call to
3194         get_rpc_createerr.
3195         * sunrpc/clnt_perr.c: Likewise.
3196         * sunrpc/clnt_simp.c: Likewise.
3197         * sunrpc/clnt_tcp.c: Likewise.
3198         * sunrpc/clnt_udp.c: Likewise.
3199         * sunrpc/clnt_unix.c: Likewise.
3200         * sunrpc/pm_getport.c: Likewise.
3202         * sysdeps/unix/sysv/linux/i386/getgroups.c (__getgroups): getgroups32
3203         syscall checks for negative n so don't test here as well.
3205 2001-03-23  Jes Sorensen  <jes@linuxcare.com>
3207         * sysdeps/unix/sysv/linux/ia64/sysdep.h (ENTRY): Moved to ...
3208         * sysdeps/ia64/sysdep.h: ...here.
3210         * sysdeps/ia64/sysdep.h (LOCAL_ENTRY): Define.
3211         * sysdeps/ia64/sysdep.h (LOCAL_LEAF): Define.
3213         * sysdeps/ia64/_mcount.S (_mcount_ret_helper): Use LOCAL_LEAF() to
3214         declare instead of LEAF().  Suggestion from David Mosberger.
3216 2001-03-21  David Mosberger  <davidm@hpl.hp.com>
3218         * sysdeps/unix/sysv/linux/ia64/sysdep.h (CALL_MCOUNT): Add unwind
3219         directives.
3220         (PSEUDO): Drop .psr and .lsb directives.
3222         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Ditto.  Add unwind
3223         directives.
3224         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Ditto.
3226         * sysdeps/ia64/elf/start.S: Misc cleanup: remove .psr and .lsb
3227         directives etc.
3228         * sysdeps/unix/sysv/linux/ia64/brk.S: Ditto.
3229         * sysdeps/unix/sysv/linux/ia64/__longjmp.S: Ditto.
3230         * sysdeps/ia64/_mcount.S: Remove .psr and .lsb directives (no
3231         longer needed).  Add unwind directives.
3233         * sysdeps/ia64/sysdep.h: Define ASM_UNW_PRLG_RP, ASM_UNW_PRLG_PFS,
3234         ASM_UNW_PRLG_PSP, ASM_UNW_PRLG_PR, and ASM_UNW_PRLG_GRSAVE.
3236 2001-03-21  Paul Eggert  <eggert@twinsun.com>
3238         * posix/regex.h (RE_INVALID_INTERVAL_ORD): New macro.
3239         (RE_SYNTAX_POSIX_EGREP): Use it.
3240         * posix/regex.c (regex_compile): Implement it.
3242 2001-03-21  Paul Eggert  <eggert@twinsun.com>
3244         * posix/regex.c (GET_UNSIGNED_NUMBER): Check for overflow.
3245         Rewrite to avoid duplicate code.
3247 2001-03-21  H.J. Lu  <hjl@gnu.org>
3249         * elf/Makefile (tests): Don't depend on $(objpfx)tst-pathopt.out
3250         for cross-compiling.
3251         ($(objpfx)tst-pathopt.out): Undo the last change.
3253 2001-03-24  Mark Kettenis  <kettenis@gnu.org>
3255         * sysdeps/mach/hurd/i386/bits/sigcontext.h (sc_sp, sc_fp, sc_pc,
3256         sc_ps): Define as aliases for sc_uesp, sc_ebl, sc_eip and sc_efl.
3258         * sysdeps/mach/hurd/i386/init-first.c: Include <assert.h>.
3259         (_dl_argv): Declare.
3260         (init) [SHARED]: Readjust _dl_argv if we switched to a new stack.
3262 2001-03-22  Andreas Jaeger  <aj@suse.de>
3264         * iconvdata/Makefile (generated): Add iconv-test.xxx.
3266         * posix/Makefile (generated): Add bug-regex2.mtrace and
3267         bug-regex2-mem.
3269 2001-03-21  Ulrich Drepper  <drepper@redhat.com>
3271         * csu/version.c (__gnu_get_libc_release): Add prototype.
3272         (__gnu_get_libc_version): Likewise.
3273         * include/gnu/libc-version.h: Remove prototypes for not exported
3274         functions.
3276 2001-03-21  Jes Sorensen  <jes@linuxcare.com>
3278         * sysdeps/unix/sysv/linux/ia64/makecontext.c: Include libintl.h
3279         for internationalized printfs to work.
3281 2001-03-09  Bruno Haible  <haible@clisp.cons.org>
3283         * intl/dcigettext.c (transmem_block_t): Change to unsigned char, to
3284         avoid compiler warning.
3285         (_nl_find_msg): Add casts to avoid compiler warnings.
3287 2001-03-21  Ulrich Drepper  <drepper@redhat.com>
3289         * gmon/Makefile (routines): Add sprofil.
3290         (tests): Add tst-sprofil.
3291         (noprof): Add sprofil.
3292         * gmon/Versions [libc] (GLIBC_2.2.3): Add sprofil.
3294 2001-03-20  David Mosberger  <davidm@hpl.hp.com>
3296         * sysdeps/generic/sprofil.c: New file.
3297         * sysdeps/posix/sprofil.c: New file.
3298         * gmon/tst-sprofil.c: New file.
3299         * gmon/sys/profil.h: New file.
3301 2001-03-20  Andreas Schwab  <schwab@suse.de>
3303         * include/unistd.h: Adjust prototype of __gethostname.
3305 2001-03-20  Jakub Jelinek  <jakub@redhat.com>
3307         * sysdeps/sparc/stackinfo.h: New file.
3309 2001-03-21  Andreas Jaeger  <aj@suse.de>
3311         * elf/global.c (main): Use proper prototype.
3313 2001-03-20  Ulrich Drepper  <drepper@redhat.com>
3315         * sunrpc/Makefile (routines): Add rpc_thread.
3316         (CPPFLAGS): Add -D_RPC_THREAD_SAFE.
3317         * sunrpc/rpc_thread.c: New file.
3318         * sunrpc/Versions [libc] (GLIBC_2.2.3): Export __rpc_thread_destroy.
3319         * sunrpc/auth_none.c: Don't use global variables.  Access state in
3320         thread-local storage.
3321         * sunrpc/clnt_perr.c: Likewise.
3322         * sunrpc/clnt_raw.c: Likewise.
3323         * sunrpc/clnt_simp.c: Likewise.
3324         * sunrpc/key_call.c: Likewise.
3325         * sunrpc/rpc_common.c: Likewise.
3326         * sunrpc/svc.c: Likewise.
3327         * sunrpc/svc_raw.c: Likewise.
3328         * sunrpc/svc_simple.c: Likewise.
3329         * sunrpc/svcauth_des.c: Likewise.
3330         * hurd/hurd/threadvar.h (enum __hurd_threadvar_index): Add
3331         _HURD_THREADVAR_RPC_VARS.
3332         * sysdeps/generic/bits/libc-tsd.h: Mention _LIBC_TSD_KEY_RPC_VARS.
3333         * include/rpc/rpc.h: Define data structures for internal thread-local
3334         "global" variables.
3335         Based on patches by Eric Norum <eric.norum@usask.ca>.
3337         * elf/dl-load.c: Various little optimizations.
3339         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Return
3340         LINUX_LINK_MAX only if the statfs function is not implemented for
3341         the filesystem.
3343         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Return
3344         LINUX_LINK_MAX only if the fstatfs function is not implemented for
3345         the filesystem.
3347 2001-03-19  Ulrich Drepper  <drepper@redhat.com>
3349         * elf/dl-dst.h (DL_DST_COUNT): Add __builtin_expect.
3351         * elf/dl-load.c (_dl_dst_count): Make DST recognition more robust.
3352         (_dl_dst_substitute): Likewise.
3354 2001-03-17  Bruno Haible  <haible@clisp.cons.org>
3356         * intl/loadmsgcat.c (_nl_load_domain) [!_LIBC]: Use fstat, not fstat64.
3358 2001-03-17  Bruno Haible  <haible@clisp.cons.org>
3360         * intl/gettextP.h (struct expression): Add operators lnot, less_than,
3361         greater_than, less_or_equal, greater_or_equal.  Replace args2/args3
3362         union by a 'nargs' counter and an 'args[]' array.
3363         * intl/plural.y: Don't include stdarg.h.
3364         (new_exp): Take an array of arguments instead of varargs.
3365         (new_exp_0, new_exp_1, new_exp_2, new_exp_3): New functions.
3366         ('?' ':'): Make right-associative.
3367         (EQUOP2): New token, replaces '=' and '!'.
3368         (CMPOP2): New token.
3369         (ADDOP2): New token, replaces '+' and '-'.
3370         (MULOP2): New token, replaces '*', '/' and '%'.
3371         ('!'): New token.
3372         (exp): Add rules for CMPOP2 and '!'.  Don't call YYABORT.
3373         (start): Call YYABORT here.
3374         (FREE_EXPRESSION): Update.
3375         (yylex): Don't skip "\\n".  Recognize comparison and '!' operators.
3376         Update for new token symbols.
3377         * intl/loadmsgcat.c (plvar, plone, germanic_plural,
3378         init_germanic_plural): Update.
3379         * intl/dcigettext.c (_nl_find_msg): Optimize for space.
3380         (plural_eval): Recognize comparison and '!' operators.  Optimize for
3381         space.
3383 2001-03-10  Bruno Haible  <haible@clisp.cons.org>
3385         * intl/loadmsgcat.c (_nl_load_domain): locale_charset() doesn't return
3386         NULL any more.
3388 2001-01-05  Bruno Haible  <haible@clisp.cons.org>
3390         * intl/loadmsgcat.c: Include headers needed for alloca().
3391         (freea): New macro.
3392         (_nl_load_domain): Add fallback code for platforms lacking alloca.
3393         * intl/localealias.c: (ADD_BLOCK, FREE_BLOCK): Remove macros.
3394         (freea): New macro.
3395         (read_alias_file): Simplify fallback code for platforms lacking
3396         alloca.
3398 2001-01-07  Bruno Haible  <haible@clisp.cons.org>
3400         * intl/gettextP.h (__gettextdebug): Remove declaration.
3401         (__gettext_free_exp, __gettextparse): Convert prototype to K&R C
3402         syntax.
3403         (gettext_free_exp__, gettextparse__): New non-libc declarations.
3404         * intl/plural.y [!_LIBC]: Define gettextparse__, gettext_free_exp__,
3405         not __gettextparse, __gettext_free_exp.
3406         * intl/loadmsgcat.c [!_LIBC]: Use gettextparse__, not __gettextparse.
3408 2001-02-24  Bruno Haible  <haible@clisp.cons.org>
3410         * intl/dcigettext.c: Update comment about HAVE_LOCALE_NULL.
3412 2001-01-05  Bruno Haible  <haible@clisp.cons.org>
3414         * intl/loadmsgcat.c (_nl_load_domain): Add fallback code for platforms
3415         lacking strtoul, like SunOS4.
3417 2001-01-05  Bruno Haible  <haible@clisp.cons.org>
3419         * intl/l10nflist.c (_nl_normalize_codeset): Use tolower, not _tolower.
3421 2001-01-05  Bruno Haible  <haible@clisp.cons.org>
3423         * intl/bindtextdom.c (set_binding_values): Convert prototype to K&R C
3424         syntax.
3425         * intl/dcigettext.c (transcmp): Convert to K&R C syntax.
3426         * intl/explodename.c (_nl_find_language): Convert to K&R C syntax.
3427         * intl/plural.y (__gettext_free_exp, yylex, yyerror): Convert to K&R C
3428         syntax.
3430 2001-01-07  Bruno Haible  <haible@clisp.cons.org>
3432         * intl/gettextP.h (gettext__, dgettext__, dcgettext__, textdomain__,
3433         bindtextdomain__, bind_textdomain_codeset__): New declarations, from
3434         old libgettext.h.
3435         * intl/bindtextdom.c: Include libgnuintl.h instead of libgettext.h.
3436         * intl/dcgettext.c: Likewise.
3437         * intl/dcigettext.c: Likewise.
3438         * intl/dcngettext.c: Likewise.
3439         * intl/dngettext.c: Likewise.
3440         * intl/finddomain.c: Likewise.
3441         * intl/ngettext.c: Likewise.
3442         * intl/textdomain.c: Likewise.
3443         * intl/dgettext.c: Include libgnuintl.h instead of libgettext.h.
3444         Include gettextP.h.
3445         * intl/gettext.c: Likewise.  Don't include locale.h.
3447 2001-03-17  Bruno Haible  <haible@clisp.cons.org>
3449         * intl/gettextP.h (ZERO): New macro.
3450         (struct binding): Always use ZERO.
3451         * intl/bindtextdom.c (offsetof): Provide fallback for platforms that
3452         lack it, like SunOS4.
3453         (set_binding_values): Use offsetof, not sizeof.
3454         * intl/dcigettext.c (offsetof): Provide fallback for platforms that
3455         lack it, like SunOS4.
3456         (ZERO): Remove macro.
3457         (struct transmem_list): Use ZERO.
3458         (DCIGETTEXT): Use offsetof, not sizeof.
3460 2001-03-17  Bruno Haible  <haible@clisp.cons.org>
3462         * intl/gettextP.h: Include <stddef.h>.  Include gettext.h, for
3463         nls_uint32.
3464         * intl/bindtextdom.c: Don't include gettext.h.
3465         * intl/dcgettext.c: Likewise.
3466         * intl/dcigettext.c: Likewise.
3467         * intl/dcngettext.c: Likewise.
3468         * intl/dngettext.c: Likewise.
3469         * intl/finddomain.c: Likewise.
3470         * intl/localealias.c: Likewise.
3471         * intl/ngettext.c: Likewise.
3472         * intl/plural.y: Likewise.
3473         * intl/textdomain.c: Likewise.
3475 2001-03-17  Bruno Haible  <haible@clisp.cons.org>
3477         * intl/gettext.h: Don't include <stdio.h>.
3479 2001-03-17  Bruno Haible  <haible@clisp.cons.org>
3481         * intl/Makefile (CPPFLAGS): Set LOCALEDIR instead of GNULOCALEDIR.
3482         * intl/dcigettext.c (_nl_default_dirname): Initialize with LOCALEDIR.
3484 2001-03-19  Ulrich Drepper  <drepper@redhat.com>
3486         * sysdeps/unix/i386/i686/tempname.c: New file.
3488         * sysdeps/posix/tempname.c (__gen_tempname): If RANDOM_BITS is
3489         defined use this macro to get some bits of randomness instead of
3490         the usual gettimeofday or time calls.
3492 2001-03-16  Paul Eggert  <eggert@twinsun.com>
3494         * sysdeps/posix/tempname.c (uint64_t): Define to uintmax_t if
3495         not defined, and if UINT64_MAX is not defined.
3497 2001-03-19  Ulrich Drepper  <drepper@redhat.com>
3499         * elf/cache.c: Mark and have translated a few more messages.
3501 2001-03-19  Martin Schwidefsky  <schwidefsky@de.ibm.com>
3503         * elf/cache.c: Add case for FLAG_S390_LIB64.
3504         * sysdeps/generic/ldconfig.h: Add define for FLAG_S390_LIB64.
3505         * sysdeps/unix/sysv/linux/s390/ldconfig.h: New file.
3506         * sysdeps/unix/sysv/linux/s390/readelflib.c: New file.
3508 2001-03-19  Ulrich Drepper  <drepper@redhat.com>
3510         * string/Makefile (tests): Add tst-strxfrm.
3511         * string/tst-strxfrm.c: New file.  Based on a test case by Paul Eggert.
3512         * string/Depend: New file.
3514 2001-03-19  Paul Eggert  <eggert@twinsun.com>
3516         * string/strxfrm.c (strxfrm): strxfrm should return 0, not 1,
3517         when given the empty string in nontrivial locales.
3519 2001-03-17  H.J. Lu  <hjl@gnu.org>
3521         * manual/Makefile (install): Use $(INSTALL_DATA) instead of
3522         cp to install `dir'.
3524 2001-03-19  Andreas Schwab  <schwab@suse.de>
3526         * Makerules (build-shlib): Make sure exit codes get checked
3527         properly.
3529 2001-03-18  Ulrich Drepper  <drepper@redhat.com>
3531         * Makerules (build-shlib): Remove unnecessary slashes introduced in
3532         last change.
3534         * configure.in: Test for -Bgroup option of linker.
3535         * config.make.in: Define have-Bgroup.
3537         * conform/data/unistd.h-data: Require gethostname.
3538         * posix/unistd.h: Make gethostname prototype available for
3539         __USE_XOPEN2K.
3541         * crypt/Makefile: When generating DSO link with libc_nonshared.a.
3542         * debug/Makefile: Likewise.
3543         * dlfcn/Makefile: Likewise.
3544         * hesiod/Makefile: Likewise.
3545         * iconvdata/extra-module.mk: Likewise.
3546         * locale/Makefile: Likewise.
3547         * login/Makefile: Likewise.
3548         * math/Makefile: Likewise.
3549         * nis/Makefile: Likewise.
3550         * nss/Makefile: Likewise.
3551         * resolv/Makefile: Likewise.
3552         * rt/Makefile: Likewise.
3554 2001-03-17  Ulrich Drepper  <drepper@redhat.com>
3556         * inet/Makefile (tests): Remove left-over comment.
3558         * posix/unistd.h (gethostname): Change type of second parameter
3559         back to size_t as per upcoming XPG6.
3560         * sysdeps/unix/sysv/aix/gethostname.c: Change type of second
3561         parameter back to size_t as per upcoming XPG6.
3562         * sysdeps/unix/sysv/sysv4/gethostname.c: Likewise.
3563         * sysdeps/unix/sysv/gethostname.c: Likewise.
3564         * sysdeps/mach/hurd/gethostname.c: Likewise.
3565         * sysdeps/generic/gethostname.c: Likewise.
3567 2001-03-16  Ulrich Drepper  <drepper@redhat.com>
3569         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
3570         Handle NaN here.
3572         * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext):
3573         Internationalize.
3575 2001-02-06  Jakub Jelinek  <jakub@redhat.com>
3577         * elf/dl-load.c (_dl_map_object): Don't test l_opencount when
3578         looking for name matches.
3580 2001-02-26  Jakub Jelinek  <jakub@redhat.com>
3582         * sysdeps/generic/sigcontextinfo.h (CALL_SIGHANDLER): Define.
3583         * sysdeps/mach/hurd/i386/sigcontextinfo.h: Likewise.
3584         * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h: Likewise.
3585         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
3586         * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h: Likewise.
3587         * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h: Likewise.
3588         * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h: Likewise.
3589         * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h: Likewise.
3590         * sysdeps/unix/sysv/linux/s390/sigcontextinfo.h: Likewise.
3591         * sysdeps/unix/sysv/linux/sh/sigcontextinfo.h: Likewise.
3592         * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: Likewise.
3593         * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h: Likewise.
3595 2001-03-16  Ulrich Drepper  <drepper@redhat.com>
3597         * sysdeps/ieee754/ldbl-96/s_erfl.c: New file.
3598         Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>.
3600         * sysdeps/i386/fpu/libm-test-ulps: Adjust for addition of erfl and
3601         erfcl.
3602         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
3604 2001-03-16  David Mosberger  <davidm@hpl.hp.com>
3606         * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h (struct sigcontext):
3607         Drop hack that was needed for 2.1.1 kernel headers.
3609         * sysdeps/unix/sysv/linux/ia64/ucontext_i.h: New file.
3611         * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Rewrite to make it
3612         overlay with kernel's "struct sigcontext".
3614         * sysdeps/unix/sysv/linux/ia64/Makefile (sysdep_headers): Add
3615         sys/rse.h for "misc" subdir.
3616         (sysdep_routines): Add __start_context for "stdlib" subdir.
3618         * sysdeps/unix/sysv/linux/ia64/sys/rse.h: New file (based on
3619         kernel file of the same name).
3621         * stdlib/Makefile (tests): Add tst-setcontext.
3622         * stdlib/tst-setcontext.c: New file (based on a sample program by
3623         Uli Drepper).
3625         * sysdeps/unix/sysv/linux/ia64/setcontext.S: New file.
3626         * sysdeps/unix/sysv/linux/ia64/getcontext.S: New file.
3627         * sysdeps/unix/sysv/linux/ia64/__start_context.S: New file.
3628         * sysdeps/unix/sysv/linux/ia64/makecontext.c: New file.
3629         * sysdeps/unix/sysv/linux/ia64/swapcontext.c: New file.
3631         * sysdeps/unix/sysv/linux/ia64/__longjmp.S (__longjmp): Use extr.u
3632         instead of shift & and.
3634 2001-03-16  Martin Schwidefsky  <schwidefsky@de.ibm.com>
3636         * sysdeps/s390/s390-64/bits/huge_val.h: Move to...
3637         * sysdeps/s390/bits/huge_val.h: ...here.
3638         * sysdeps/s390/s390-32/bit/huge_val.h: Remove.
3639         * sysdeps/s390/s390-64/ffs.c: Move to...
3640         * sysdeps/s390/ffs.c: ...here.
3641         * sysdeps/s390/s390-32/ffs.c: Remove.
3643 2001-03-16  Jakub Jelinek  <jakub@redhat.com>
3645         * elf/ldconfig.c (search_dir): Remove bogus diagnostic, instead
3646         update osversion from more recent library.
3648 2001-03-13  Martin Schwidefsky  <schwidefsky@de.ibm.com>
3650         * sysdeps/unix/sysv/linux/s390/Dist: Move to...
3651         * sysdeps/unix/sysv/linux/s390/s390-32/Dist: ...here.
3652         * sysdeps/unix/sysv/linux/s390/Makefile: Move to...
3653         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: ...here.
3654         * sysdeps/unix/sysv/linux/s390/Versions: Move to...
3655         * sysdeps/unix/sysv/linux/s390/s390-32/Versions: ...here.
3656         * sysdeps/unix/sysv/linux/s390/alphasort64.c: Move to...
3657         * sysdeps/unix/sysv/linux/s390/s390-32/alphasort64.c: ...here.
3658         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Move to...
3659         * sysdeps/unix/sysv/linux/s390/s390-32/bits/fcntl.h: ...here.
3660         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Move to...
3661         * sysdeps/unix/sysv/linux/s390/s390-32/bits/mman.h: ...here.
3662         * sysdeps/unix/sysv/linux/s390/bits/resource.h: Move to...
3663         * sysdeps/unix/sysv/linux/s390/s390-32/bits/resource.h: ...here.
3664         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Move to...
3665         * sysdeps/unix/sysv/linux/s390/s390-32/bits/stat.h: ...here.
3666         * sysdeps/unix/sysv/linux/s390/chown.c: Move to...
3667         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: ...here.
3668         * sysdeps/unix/sysv/linux/s390/clone.S: Move to...
3669         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: ...here.
3670         * sysdeps/unix/sysv/linux/s390/fchown.c: Move to...
3671         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: ...here.
3672         * sysdeps/unix/sysv/linux/s390/fcntl.c: Move to...
3673         * sysdeps/unix/sysv/linux/s390/s390-32/fcntl.c: ...here.
3674         * sysdeps/unix/sysv/linux/s390/fxstat.c: Move to...
3675         * sysdeps/unix/sysv/linux/s390/s390-32/fxstat.c: ...here.
3676         * sysdeps/unix/sysv/linux/s390/getdents64.c: Move to...
3677         * sysdeps/unix/sysv/linux/s390/s390-32/getdents64.c: ...here.
3678         * sysdeps/unix/sysv/linux/s390/getegid.c: Move to...
3679         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: ...here.
3680         * sysdeps/unix/sysv/linux/s390/geteuid.c: Move to...
3681         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: ...here.
3682         * sysdeps/unix/sysv/linux/s390/getgid.c: Move to...
3683         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: ...here.
3684         * sysdeps/unix/sysv/linux/s390/getgroups.c: Move to...
3685         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: ...here.
3686         * sysdeps/unix/sysv/linux/s390/getresgid.c: Move to...
3687         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: ...here.
3688         * sysdeps/unix/sysv/linux/s390/getresuid.c: Move to...
3689         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: ...here.
3690         * sysdeps/unix/sysv/linux/s390/getrlimit.c: Move to...
3691         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: ...here.
3692         * sysdeps/unix/sysv/linux/s390/getrlimit64.c: Move to...
3693         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit64.c: ...here.
3694         * sysdeps/unix/sysv/linux/s390/getuid.c: Move to...
3695         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: ...here.
3696         * sysdeps/unix/sysv/linux/s390/lchown.c: Move to...
3697         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: ...here.
3698         * sysdeps/unix/sysv/linux/s390/lockf64.c: Move to...
3699         * sysdeps/unix/sysv/linux/s390/s390-32/lockf64.c: ...here.
3700         * sysdeps/unix/sysv/linux/s390/lxstat.c: Move to...
3701         * sysdeps/unix/sysv/linux/s390/s390-32/lxstat.c: ...here.
3702         * sysdeps/unix/sysv/linux/s390/mmap.S: Move to...
3703         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: ...here.
3704         * sysdeps/unix/sysv/linux/s390/mmap64.S: Move to...
3705         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: ...here.
3706         * sysdeps/unix/sysv/linux/s390/msgctl.c: Move to...
3707         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: ...here.
3708         * sysdeps/unix/sysv/linux/s390/oldgetrlimit64.c: Move to...
3709         * sysdeps/unix/sysv/linux/s390/s390-32/oldgetrlimit64.c: ...here.
3710         * sysdeps/unix/sysv/linux/s390/readdir64.c: Move to...
3711         * sysdeps/unix/sysv/linux/s390/s390-32/readdir64.c: ...here.
3712         * sysdeps/unix/sysv/linux/s390/readdir64_r.c: Move to...
3713         * sysdeps/unix/sysv/linux/s390/s390-32/readdir64_r.c: ...here.
3714         * sysdeps/unix/sysv/linux/s390/register-dump.h: Move to...
3715         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: ...here.
3716         * sysdeps/unix/sysv/linux/s390/scandir64.c: Move to...
3717         * sysdeps/unix/sysv/linux/s390/s390-32/scandir64.c: ...here.
3718         * sysdeps/unix/sysv/linux/s390/semctl.c: Move to...
3719         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: ...here.
3720         * sysdeps/unix/sysv/linux/s390/setegid.c: Move to...
3721         * sysdeps/unix/sysv/linux/s390/s390-32/setegid.c: ...here.
3722         * sysdeps/unix/sysv/linux/s390/seteuid.c: Move to...
3723         * sysdeps/unix/sysv/linux/s390/s390-32/seteuid.c: ...here.
3724         * sysdeps/unix/sysv/linux/s390/setfsgid.c: Move to...
3725         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: ...here.
3726         * sysdeps/unix/sysv/linux/s390/setfsuid.c: Move to...
3727         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: ...here.
3728         * sysdeps/unix/sysv/linux/s390/setgid.c: Move to...
3729         * sysdeps/unix/sysv/linux/s390/s390-32/setgid.c: ...here.
3730         * sysdeps/unix/sysv/linux/s390/setgroups.c: Move to...
3731         * sysdeps/unix/sysv/linux/s390/s390-32/setgroups.c: ...here.
3732         * sysdeps/unix/sysv/linux/s390/setregid.c: Move to...
3733         * sysdeps/unix/sysv/linux/s390/s390-32/setregid.c: ...here.
3734         * sysdeps/unix/sysv/linux/s390/setresgid.c: Move to...
3735         * sysdeps/unix/sysv/linux/s390/s390-32/setresgid.c: ...here.
3736         * sysdeps/unix/sysv/linux/s390/setresuid.c: Move to...
3737         * sysdeps/unix/sysv/linux/s390/s390-32/setresuid.c: ...here.
3738         * sysdeps/unix/sysv/linux/s390/setreuid.c: Move to...
3739         * sysdeps/unix/sysv/linux/s390/s390-32/setreuid.c: ...here.
3740         * sysdeps/unix/sysv/linux/s390/setrlimit.c: Move to...
3741         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: ...here.
3742         * sysdeps/unix/sysv/linux/s390/setuid.c: Move to...
3743         * sysdeps/unix/sysv/linux/s390/s390-32/setuid.c: ...here.
3744         * sysdeps/unix/sysv/linux/s390/shmctl.c: Move to...
3745         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: ...here.
3746         * sysdeps/unix/sysv/linux/s390/socket.S: Move to...
3747         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: ...here.
3748         * sysdeps/unix/sysv/linux/s390/sys/procfs.h: Move to...
3749         * sysdeps/unix/sysv/linux/s390/s390-32/sys/procfs.h: ...here.
3750         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Move to...
3751         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: ...here.
3752         * sysdeps/unix/sysv/linux/s390/syscall.S: Move to...
3753         * sysdeps/unix/sysv/linux/s390/s390-32/syscall.S: ...here.
3754         * sysdeps/unix/sysv/linux/s390/syscalls.list: Move to...
3755         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: ...here.
3756         * sysdeps/unix/sysv/linux/s390/sysdep.S: Move to...
3757         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: ...here.
3758         * sysdeps/unix/sysv/linux/s390/sysdep.h: Move to...
3759         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: ...here.
3760         * sysdeps/unix/sysv/linux/s390/versionsort64.c: Move to...
3761         * sysdeps/unix/sysv/linux/s390/s390-32/versionsort64.c: ...here.
3762         * sysdeps/unix/sysv/linux/s390/xstat.c: Move to...
3763         * sysdeps/unix/sysv/linux/s390/s390-32/xstat.c: ...here.
3765 2001-03-13  Martin Schwidefsky  <schwidefsky@de.ibm.com>
3767         * sysdeps/unix/sysv/linux/s390/s390-64/Dist: New file.
3768         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: New file.
3769         * sysdeps/unix/sysv/linux/s390/s390-64/bits/elfclass.h: New file.
3770         * sysdeps/unix/sysv/linux/s390/s390-64/bits/fcntl.h: New file.
3771         * sysdeps/unix/sysv/linux/s390/s390-64/bits/ipc.h: New file.
3772         * sysdeps/unix/sysv/linux/s390/s390-64/bits/mman.h: New file.
3773         * sysdeps/unix/sysv/linux/s390/s390-64/bits/msq.h: New file.
3774         * sysdeps/unix/sysv/linux/s390/s390-64/bits/resource.h: New file.
3775         * sysdeps/unix/sysv/linux/s390/s390-64/bits/sem.h: New file.
3776         * sysdeps/unix/sysv/linux/s390/s390-64/bits/shm.h: New file.
3777         * sysdeps/unix/sysv/linux/s390/s390-64/bits/sigaction.h: New file.
3778         * sysdeps/unix/sysv/linux/s390/s390-64/bits/siginfo.h: New file.
3779         * sysdeps/unix/sysv/linux/s390/s390-64/bits/sigstack.h: New file.
3780         * sysdeps/unix/sysv/linux/s390/s390-64/bits/stat.h: New file.
3781         * sysdeps/unix/sysv/linux/s390/s390-64/bits/types.h: New file.
3782         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: New file.
3783         * sysdeps/unix/sysv/linux/s390/s390-64/fstatfs64.c: New file.
3784         * sysdeps/unix/sysv/linux/s390/s390-64/ftruncate64.c: New file.
3785         * sysdeps/unix/sysv/linux/s390/s390-64/fxstat.c: New file.
3786         * sysdeps/unix/sysv/linux/s390/s390-64/fxstat64.c: New file.
3787         * sysdeps/unix/sysv/linux/s390/s390-64/getdents.c: New file.
3788         * sysdeps/unix/sysv/linux/s390/s390-64/getdents64.c: New file.
3789         * sysdeps/unix/sysv/linux/s390/s390-64/getrlimit64.c: New file.
3790         * sysdeps/unix/sysv/linux/s390/s390-64/glob.c: New file.
3791         * sysdeps/unix/sysv/linux/s390/s390-64/glob64.c: New file.
3792         * sysdeps/unix/sysv/linux/s390/s390-64/kernel_stat.h: New file.
3793         * sysdeps/unix/sysv/linux/s390/s390-64/lxstat.c: New file.
3794         * sysdeps/unix/sysv/linux/s390/s390-64/lxstat64.c: New file.
3795         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: New file.
3796         * sysdeps/unix/sysv/linux/s390/s390-64/mmap64.c: New file.
3797         * sysdeps/unix/sysv/linux/s390/s390-64/pread64.c: New file.
3798         * sysdeps/unix/sysv/linux/s390/s390-64/pwrite64.c: New file.
3799         * sysdeps/unix/sysv/linux/s390/s390-64/readdir.c: New file.
3800         * sysdeps/unix/sysv/linux/s390/s390-64/readdir64.c: New file.
3801         * sysdeps/unix/sysv/linux/s390/s390-64/readdir64_r.c: New file.
3802         * sysdeps/unix/sysv/linux/s390/s390-64/readdir_r.c : New file.
3803         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: New file.
3804         * sysdeps/unix/sysv/linux/s390/s390-64/setrlimit64.c: New file.
3805         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: New file.
3806         * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c: New file.
3807         * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c: New file.
3808         * sysdeps/unix/sysv/linux/s390/s390-64/sigsuspend.c: New file.
3809         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: New file.
3810         * sysdeps/unix/sysv/linux/s390/s390-64/statfs64.c: New file.
3811         * sysdeps/unix/sysv/linux/s390/s390-64/sys/procfs.h: New file.
3812         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: New file.
3813         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: New file.
3814         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: New file.
3815         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: New file.
3816         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: New file.
3817         * sysdeps/unix/sysv/linux/s390/s390-64/truncate64.c: New file.
3818         * sysdeps/unix/sysv/linux/s390/s390-64/xstat.c: New file.
3819         * sysdeps/unix/sysv/linux/s390/s390-64/xstat64.c: New file.
3821 2001-03-13  Martin Schwidefsky  <schwidefsky@de.ibm.com>
3823         * sysdeps/s390/Dist: Move to...
3824         * sysdeps/s390/390-32/Dist: ...here.
3825         * sysdeps/s390/Implies: Move to...
3826         * sysdeps/s390/s390-32/Implies: ...here.
3827         * sysdeps/s390/Makefile: Move to...
3828         * sysdeps/s390/s390-32/Makefile: ...here.
3829         * sysdeps/s390/Versions: Move to...
3830         * sysdeps/s390-32/s390/Versions: ...here.
3831         * sysdeps/s390/add_n.S: Move to...
3832         * sysdeps/s390/s390-32/add_n.S: ...here.
3833         * sysdeps/s390/addmul_1.S: Move to...
3834         * sysdeps/s390/s390-32/addmul_1.S: ...here.
3835         * sysdeps/s390/atomicity.h: Move to...
3836         * sysdeps/s390/s390-32/atomicity.h: ...here.
3837         * sysdeps/s390/backtrace.c: Move to...
3838         * sysdeps/s390/s390-32/backtrace.c: ...here.
3839         * sysdeps/s390/bcopy.S: Move to...
3840         * sysdeps/s390/s390-32/bcopy.S: ...here.
3841         * sysdeps/s390/bits/byteswap.h: Move to...
3842         * sysdeps/s390/s390-32/bits/byteswap.h: ...here.
3843         * sysdeps/s390/bits/huge_val.h: Move to...
3844         * sysdeps/s390/s390-32/bits/huge_val.h: ...here.
3845         * sysdeps/s390/bsd-_setjmp.S: Move to...
3846         * sysdeps/s390/s390-32/bsd-_setjmp.S: ...here.
3847         * sysdeps/s390/bsd-setjmp.S: Move to...
3848         * sysdeps/s390/s390-32/bsd-setjmp.S: ...here.
3849         * sysdeps/s390/bzero.S: Move to...
3850         * sysdeps/s390/s390-32/bzero.S: ...here.
3851         * sysdeps/s390/elf/bsd-_setjmp.S: Move to...
3852         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: ...here.
3853         * sysdeps/s390/elf/bsd-setjmp.S: Move to...
3854         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: ...here.
3855         * sysdeps/s390/elf/start.S: Move to...
3856         * sysdeps/s390/s390-32/elf/start.S: ...here.
3857         * sysdeps/s390/ffs.c: Move to...
3858         * sysdeps/s390/s390-32/ffs.c: ...here.
3859         * sysdeps/s390/memchr.S: Move to...
3860         * sysdeps/s390/s390-32/memchr.S: ...here.
3861         * sysdeps/s390/memcpy.S: Move to...
3862         * sysdeps/s390/s390-32/memcpy.S: ...here.
3863         * sysdeps/s390/memset.S: Move to...
3864         * sysdeps/s390/s390-32/memset.S: ...here.
3865         * sysdeps/s390/mul_1.S: Move to...
3866         * sysdeps/s390/s390-32/mul_1.S: ...here.
3867         * sysdeps/s390/s390-mcount.S: Move to...
3868         * sysdeps/s390/s390-32/s390-mcount.S: ...here.
3869         * sysdeps/s390/strcpy.S: Move to...
3870         * sysdeps/s390/s390-32/strcpy.S: ...here.
3871         * sysdeps/s390/strncpy.S: Move to...
3872         * sysdeps/s390/s390-32/strncpy.S: ...here.
3873         * sysdeps/s390/sub_n.S: Move to...
3874         * sysdeps/s390/s390-32/sub_n.S: ...here.
3876 2001-03-13  Martin Schwidefsky  <schwidefsky@de.ibm.com>
3878         * sysdeps/s390/s390-64/Dist: New file.
3879         * sysdeps/s390/s390-64/Implies: New file.
3880         * sysdeps/s390/s390-64/Makefile: New file.
3881         * sysdeps/s390/s390-64/__longjmp.c: New file.
3882         * sysdeps/s390/s390-64/add_n.S: New file.
3883         * sysdeps/s390/s390-64/atomicity.h: New file.
3884         * sysdeps/s390/s390-64/backtrace.c: New file.
3885         * sysdeps/s390/s390-64/bcopy.S: New file.
3886         * sysdeps/s390/s390-64/bits/byteswap.h: New file.
3887         * sysdeps/s390/s390-64/bits/huge_val.h: New file.
3888         * sysdeps/s390/s390-64/bits/setjmp.h: New file.
3889         * sysdeps/s390/s390-64/bits/string.h: New file.
3890         * sysdeps/s390/s390-64/bsd-_setjmp.S: New file.
3891         * sysdeps/s390/s390-64/bsd-setjmp.S: New file.
3892         * sysdeps/s390/s390-64/bzero.S: New file.
3893         * sysdeps/s390/s390-64/dl-machine.h: New file.
3894         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: New file.
3895         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: New file.
3896         * sysdeps/s390/s390-64/elf/setjmp.S: New file.
3897         * sysdeps/s390/s390-64/elf/start.S: New file.
3898         * sysdeps/s390/s390-64/ffs.c: New file.
3899         * sysdeps/s390/s390-64/initfini.c: New file.
3900         * sysdeps/s390/s390-64/memchr.S: New file.
3901         * sysdeps/s390/s390-64/memcpy.S: New file.
3902         * sysdeps/s390/s390-64/memset.S: New file.
3903         * sysdeps/s390/s390-64/s390x-mcount.S: New file.
3904         * sysdeps/s390/s390-64/setjmp.S: New file.
3905         * sysdeps/s390/s390-64/strcpy.S: New file.
3906         * sysdeps/s390/s390-64/strncpy.S: New file.
3907         * sysdeps/s390/s390-64/sub_n.S: New file.
3908         * sysdeps/s390/s390-64/sysdep.h: New file.
3910 2001-03-13  Martin Schwidefsky  <schwidefsky@de.ibm.com>
3912         * scripts/config.guess: Add support for Linux on 64 bit S/390.
3913         * scripts/config.sub: Likewise.
3915 2001-03-13  Martin Schwidefsky  <schwidefsky@de.ibm.com>
3917         * configure.in: Add support for 64 bit S/390.
3919         * elf/elf.h: Add new relocations for 64 bit S/390.
3921         * shlib-versions: Add rules for Linux on 64 bit S/390.
3923 2001-03-13  Martin Schwidefsky  <schwidefsky@de.ibm.com>
3925         * sysdeps/s390/__longjmp.c: Move to...
3926         * sysdeps/s390/s390-32/__longjmp.c: ...here.  Add code
3927         to load the floating point registers that should be saved
3928         according to the ABI.
3930         * sysdeps/s390/bits/setjmp.h: Move to...
3931         * sysdeps/s390/s390-32/bits/setjmp.h: ...here.  Avoid
3932         the use of long long in the __jmp_buf type definition.
3934         * sysdeps/s390/bits/string.h: Move to...
3935         * sysdeps/s390/s390-32/bits/string.h: ...here.  Add several missing
3936         #ifndef _FORCE_INLINES.
3938         * sysdeps/s390/dl-machine.h: Move to...
3939         * sysdeps/s390/s390-32/dl-machine.h: ...here.  Add a check for the
3940         executables EI_CLASS in elf_machine_matches_host.
3942         * sysdeps/s390/elf/setjmp.S: Move to...
3943         * sysdeps/s390/s390-32/elf/setjmp.S: ...here.  Replace
3944         branches to globally defined symbol __sigsetjmp by branches to
3945         a local label (this avoids the generation of a R_390_PC16DBL
3946         relocation in -fpic code).
3948         * sysdeps/s390/gmp-mparam.h: Use defines from <bits/wordsize.h> to
3949         calculate BITS_PER_MP_LIMB, BYTES_PER_MP_LIMB and BITS_PER_LONGINT.
3951         * sysdeps/s390/initfini.c: Move to...
3952         * sysdeps/s390/s390-32/initfini.c: ...here.  Replace ALIGN with
3953         ".align 4,0x07".
3955         * sysdeps/s390/setjmp.S: Move to...
3956         * sysdeps/s390/s390-32/setjmp.S: ...here.  Add code to store the
3957         floating point registers that should be saved according to the ABI.
3959         * sysdeps/s390/sys/ucontext.h: Remove since it is unused.
3961         * sysdeps/unix/sysv/linux/s390/sysdep.h: Move to...
3962         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: ...here.  Include
3963         sysdeps/s390/s390-32/sysdep.h instead of sysdeps/s390/sysdep.h.
3965 2001-03-13  Martin Schwidefsky  <schwidefsky@de.ibm.com>
3967         * configure.in: Change machine=s390 to machine=s390/s390-32.
3969         * elf/elf.h: Correct comment for R_390_PLT16DBL.
3971 2001-03-12  Jakub Jelinek  <jakub@redhat.com>
3973         * csu/Makefile (abi-tag.h): Define OS and version separately, allow
3974         version to be overriden from config.h.
3975         * csu/abi-note.S: Use OS and version separately, include config.h.
3976         * elf/dl-load.c (_dl_osversion): New.
3977         (_dl_map_object_from_fd): Kill some warnings.
3978         (open_verify): Check .note.ABI-tag of the library if present.
3979         * elf/Makefile (CPPFLAGS-dl-load.c): Add -I$(csu-objpfx).
3980         * elf/cache.c (struct cache_entry): Add osversion.
3981         (print_entry): Print osversion.
3982         (print_cache): Pass osversion to it.
3983         (compare): Sort according to osversion.
3984         (save_cache): Set osversion.
3985         (add_to_cache): Add osversion argument.
3986         * sysdeps/generic/ldconfig.h (add_to_cache, process_file,
3987         process_elf_file): Add osversion argument.
3988         * elf/readlib.c (process_file): Likewise.
3989         * sysdeps/generic/readelflib.c (process_elf_file): Likewise.
3990         * sysdeps/unix/sysv/linux/ia64/readelflib.c (process_elf_file,
3991         process_elf32_file, process_elf64_file): Likewise.
3992         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file,
3993         process_elf32_file, process_elf64_file): Likewise.
3994         * sysdeps/unix/sysv/linux/sparc/readelflib.c (process_elf_file,
3995         process_elf32_file, process_elf64_file): Likewise.
3996         * elf/ldconfig.c (manual_link): Pass it.
3997         (search_dir): Issue diagnostic if two libs with the same soname in
3998         the same directory have different .note.ABI-tag.  Record osversion in
3999         dlib_entry and use it from there.
4000         (struct lib_entry): Remove.
4001         (struct dlib_entry): Add osversion.
4002         * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Check
4003         osversion.
4004         * sysdeps/generic/dl-cache.h (struct file_entry_new): Replace __unused
4005         field with osversion.
4006         * sysdeps/generic/ldsodefs.h (_dl_osversion): Declare.
4007         * sysdeps/unix/sysv/linux/init-first.c: Include ldsodefs.h.
4008         * sysdeps/unix/sysv/linux/dl-osinfo.h (DL_SYSDEP_OSCHECK): Save kernel
4009         version in _dl_osversion.
4010         * sysdeps/unix/sysv/linux/configure.in: Define __ABI_TAG_VERSION.
4011         * Makerules (build-shlib-helper, build-module-helper): New.
4012         (build-shlib, build-module-helper): Make sure .note.ABI-tag comes
4013         early.
4014         * config.h.in (__ABI_TAG_VERSION): Add.
4015         * elf/dl-minimal.c (__strtoul_internal): Set endptr on return.
4016         * sysdeps/unix/sysv/linux/i386/dl-librecon.h (EXTRA_LD_ENVVARS):
4017         Handle LD_ASSUME_KERNEL.
4018         * sysdeps/unix/sysv/linux/dl-librecon.h: New.
4020 2001-03-15  Ulrich Drepper  <drepper@redhat.com>
4022         * timezone/antarctica: Update from tzdata2001a.
4023         * timezone/asia: Likewise.
4024         * timezone/australasia: Likewise.
4025         * timezone/backward: Likewise.
4026         * timezone/etcetera: Likewise.
4027         * timezone/europe: Likewise.
4028         * timezone/leapseconds: Likewise.
4029         * timezone/northamerica: Likewise.
4030         * timezone/southamerica: Likewise.
4031         * timezone/systemv: Likewise.
4032         * timezone/yearistype: Likewise.
4033         * timezone/zone.tab: Likewise.
4034         * timezone/tzdump.c: Update from tzcode2001a.
4036 2001-03-15  H.J. Lu  <hjl@gnu.org>
4038         * intl/Makefile: Fix a typo.
4040 2001-03-14  David Mosberger  <davidm@hpl.hp.com>
4042         * gmon/gmon.c (write_call_graph): Avoid unaligned accesses when
4043         writing arc structures.
4045 2001-03-15  H.J. Lu  <hjl@gnu.org>
4047         * elf/Makefile ($(objpfx)tst-pathopt.out): Protected against
4048         cross-compiling.
4050 2001-03-13  Andreas Schwab  <schwab@suse.de>
4052         * posix/PTESTS2C.sed: Replace literal CRs by `\r'.
4054 2001-03-15  Ulrich Drepper  <drepper@redhat.com>
4056         * sysdeps/unix/sysv/linux/cmsg_nxthdr.c (__cmsg_nxthdr): Fix test
4057         for control message fitting into message data.
4058         Patch by James Antill <james@and.org>.
4060         * posix/tst-fnmatch.input: Add test case for FNM_PERIOD handling with
4061         FNM_EXTMATCH.
4063         * posix/fnmatch_loop.c: Optimize handling of ?() and @().
4064         * posix/fnmatch.c: Define STRLEN and STRCAT appropriately.
4066         * posix/Versions [libc] (GLIBC_2.2.3): Add fnmatch.
4067         * posix/fnmatch.c: Define with new default version GLIBC_2.2.3 to
4068         avoid running binaries with libc versions without FNM_EXTMATCH support.
4070         * include/wchar.h: Add prototype for __wcscat.
4071         * wcsmbs/wcscat.c: Define __wcscat and make wcscat weak alias.
4073         * posix/fnmatch.h (FNM_EXTMATCH): Define.
4074         * posix/fnmatch.c (NO_LEADING_PERIOD): Define.
4075         (posixly_correct): Move global variable here.
4076         (INT, EXT, END): Name new functions defined in fnmatch_loop.c.
4077         (fnmatch): Pretty printing.
4078         * posix/fnmatch_loop.c: Add code to handle FNM_EXTMATCH.
4079         * posix/tst-fnmatch.c: Recognize EXTMATCH flag.
4080         * posix/tst-fnmatch.input: Add tests for extended matching.
4082         * posix/testfnm.c: Add test for patterns with multiple ** before /.
4083         * posix/fnmatch_loop.c: Fix problem with the test above.
4085 2001-03-14  Ulrich Drepper  <drepper@redhat.com>
4087         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Remove
4088         reference to usqrt.
4090         * resolv/res_data.c (fp_nquery): Call __res_ninit not __res_init.
4092 2001-03-12  Andreas Jaeger  <aj@suse.de>
4094         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
4095         Use EM_X86_64 instead of EM_X8664.
4097 2001-03-12  Ulrich Drepper  <drepper@redhat.com>
4099         * sysdeps/ieee754/dbl-64/upow.h: Define nZERO and nINF.
4101         * sysdeps/ieee754/dbl-64/e_remainder.c: Fix handling of boundary
4102         conditions.
4104         * sysdeps/ieee754/dbl-64/e_pow.c: Fix handling of boundary
4105         conditions.
4107         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Handle Inf and NaN
4108         correctly.
4109         (__cos): Likewise.
4111         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Handle NaN
4112         correctly.
4113         (__ieee754_acos): Likewise.
4115 2001-03-12  Andreas Jaeger  <aj@suse.de>
4117         * sysdeps/unix/sysv/linux/s390/sysdep.h (_LINUX_S390_SYSDEP_H):
4118         Fix typo.  Patch by Martin Schwidefsky  <schwidefsky@de.ibm.com>.
4120         * sysdeps/s390/bits/string.h: Protect __STRING_INLINE against
4121         redefinition.
4123 2001-03-11  Roland McGrath  <roland@frob.com>
4125         * sysdeps/mach/hurd/configure.in: Add a sanity check on $prefix.
4127 2001-03-11  Ulrich Drepper  <drepper@redhat.com>
4129         * sysdeps/ieee754/dbl-64/endian.h: Define also one of BIG_ENDI and
4130         LITTLE_ENDI.
4132         * sysdeps/ieee754/dbl-64/MathLib.h (Init_Lib): Use void as
4133         parameter list.
4135         Last-bit accurate math library implementation by IBM Haifa.
4136         Contributed by Abraham Ziv <ziv@il.ibm.com>, Moshe Olshansky
4137         <olshansk@il.ibm.com>, Ealan Henis <ealan@il.ibm.com>, and
4138         Anna Reitman <reitman@il.ibm.com>.
4139         * math/Makefile (dbl-only-routines): New variable.
4140         (libm-routines): Add $(dbl-only-routines).
4141         * sysdeps/ieee754/dbl-64/e_acos.c: Empty, definition is in e_asin.c.
4142         * sysdeps/ieee754/dbl-64/e_asin.c: Replaced with accurate asin
4143         implementation.
4144         * sysdeps/ieee754/dbl-64/e_atan2.c: Replaced with accurate atan2
4145         implementation.
4146         * sysdeps/ieee754/dbl-64/e_exp.c: Replaced with accurate exp
4147         implementation.
4148         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Don't use __kernel_sin and
4149         __kernel_cos.
4150         * sysdeps/ieee754/dbl-64/e_log.c: Replaced with accurate log
4151         implementation.
4152         * sysdeps/ieee754/dbl-64/e_remainder.c: Replaced with accurate
4153         remainder implementation.
4154         * sysdeps/ieee754/dbl-64/e_pow.c: Replaced with accurate pow
4155         implementation.
4156         * sysdeps/ieee754/dbl-64/e_sqrt.c: Replaced with accurate sqrt
4157         implementation.
4158         * sysdeps/ieee754/dbl-64/k_cos.c: Empty, definition is in s_sin.c.
4159         * sysdeps/ieee754/dbl-64/k_sin.c: Empty, definition is in s_sin.c.
4160         * sysdeps/ieee754/dbl-64/s_atan.c: Replaced with accurate atan
4161         implementation.
4162         * sysdeps/ieee754/dbl-64/s_cos.c: Empty, definition is in s_sin.c.
4163         * sysdeps/ieee754/dbl-64/s_sin.c: Replaced with accurate sin/cos
4164         implementation.
4165         * sysdeps/ieee754/dbl-64/s_sincos.c: Rewritten to not use __kernel_sin
4166         and __kernel_cos.
4167         * sysdeps/ieee754/dbl-64/s_tan.c: Replaced with accurate tan
4168         implementation.
4169         * sysdeps/ieee754/dbl-64/Dist: Add new non-code files.
4170         * sysdeps/ieee754/dbl-64/MathLib.h: New file.
4171         * sysdeps/ieee754/dbl-64/asincos.tbl: New file.
4172         * sysdeps/ieee754/dbl-64/atnat.h: New file.
4173         * sysdeps/ieee754/dbl-64/atnat2.h: New file.
4174         * sysdeps/ieee754/dbl-64/branred.c: New file.
4175         * sysdeps/ieee754/dbl-64/branred.h: New file.
4176         * sysdeps/ieee754/dbl-64/dla.h: New file.
4177         * sysdeps/ieee754/dbl-64/doasin.c: New file.
4178         * sysdeps/ieee754/dbl-64/doasin.h: New file.
4179         * sysdeps/ieee754/dbl-64/dosincos.c: New file.
4180         * sysdeps/ieee754/dbl-64/dosincos.h: New file.
4181         * sysdeps/ieee754/dbl-64/endian.h: New file.
4182         * sysdeps/ieee754/dbl-64/halfulp.c: New file.
4183         * sysdeps/ieee754/dbl-64/mpa.c: New file.
4184         * sysdeps/ieee754/dbl-64/mpa.h: New file.
4185         * sysdeps/ieee754/dbl-64/mpa2.h: New file.
4186         * sysdeps/ieee754/dbl-64/mpatan.c: New file.
4187         * sysdeps/ieee754/dbl-64/mpatan.h: New file.
4188         * sysdeps/ieee754/dbl-64/mpatan2.c: New file.
4189         * sysdeps/ieee754/dbl-64/mpexp.c: New file.
4190         * sysdeps/ieee754/dbl-64/mpexp.h: New file.
4191         * sysdeps/ieee754/dbl-64/mplog.c: New file.
4192         * sysdeps/ieee754/dbl-64/mplog.h: New file.
4193         * sysdeps/ieee754/dbl-64/mpsqrt.c: New file.
4194         * sysdeps/ieee754/dbl-64/mpsqrt.h: New file.
4195         * sysdeps/ieee754/dbl-64/mptan.c: New file.
4196         * sysdeps/ieee754/dbl-64/mydefs.h: New file.
4197         * sysdeps/ieee754/dbl-64/powtwo.tbl: New file.
4198         * sysdeps/ieee754/dbl-64/root.tbl: New file.
4199         * sysdeps/ieee754/dbl-64/sincos.tbl: New file.
4200         * sysdeps/ieee754/dbl-64/sincos32.c: New file.
4201         * sysdeps/ieee754/dbl-64/sincos32.h: New file.
4202         * sysdeps/ieee754/dbl-64/slowexp.c: New file.
4203         * sysdeps/ieee754/dbl-64/slowpow.c: New file.
4204         * sysdeps/ieee754/dbl-64/uasncs.h: New file.
4205         * sysdeps/ieee754/dbl-64/uatan.tbl: New file.
4206         * sysdeps/ieee754/dbl-64/uexp.h: New file.
4207         * sysdeps/ieee754/dbl-64/uexp.tbl: New file.
4208         * sysdeps/ieee754/dbl-64/ulog.h: New file.
4209         * sysdeps/ieee754/dbl-64/ulog.tbl: New file.
4210         * sysdeps/ieee754/dbl-64/upow.h: New file.
4211         * sysdeps/ieee754/dbl-64/upow.tbl: New file.
4212         * sysdeps/ieee754/dbl-64/urem.h: New file.
4213         * sysdeps/ieee754/dbl-64/uroot.h: New file.
4214         * sysdeps/ieee754/dbl-64/usncs.h: New file.
4215         * sysdeps/ieee754/dbl-64/utan.h: New file.
4216         * sysdeps/ieee754/dbl-64/utan.tbl: New file.
4217         * sysdeps/i386/fpu/branred.c: New file.
4218         * sysdeps/i386/fpu/doasin.c: New file.
4219         * sysdeps/i386/fpu/dosincos.c: New file.
4220         * sysdeps/i386/fpu/halfulp.c: New file.
4221         * sysdeps/i386/fpu/mpa.c: New file.
4222         * sysdeps/i386/fpu/mpatan.c: New file.
4223         * sysdeps/i386/fpu/mpatan2.c: New file.
4224         * sysdeps/i386/fpu/mpexp.c: New file.
4225         * sysdeps/i386/fpu/mplog.c: New file.
4226         * sysdeps/i386/fpu/mpsqrt.c: New file.
4227         * sysdeps/i386/fpu/mptan.c: New file.
4228         * sysdeps/i386/fpu/sincos32.c: New file.
4229         * sysdeps/i386/fpu/slowexp.c: New file.
4230         * sysdeps/i386/fpu/slowpow.c: New file.
4231         * sysdeps/ia64/fpu/branred.c: New file.
4232         * sysdeps/ia64/fpu/doasin.c: New file.
4233         * sysdeps/ia64/fpu/dosincos.c: New file.
4234         * sysdeps/ia64/fpu/halfulp.c: New file.
4235         * sysdeps/ia64/fpu/mpa.c: New file.
4236         * sysdeps/ia64/fpu/mpatan.c: New file.
4237         * sysdeps/ia64/fpu/mpatan2.c: New file.
4238         * sysdeps/ia64/fpu/mpexp.c: New file.
4239         * sysdeps/ia64/fpu/mplog.c: New file.
4240         * sysdeps/ia64/fpu/mpsqrt.c: New file.
4241         * sysdeps/ia64/fpu/mptan.c: New file.
4242         * sysdeps/ia64/fpu/sincos32.c: New file.
4243         * sysdeps/ia64/fpu/slowexp.c: New file.
4244         * sysdeps/ia64/fpu/slowpow.c: New file.
4245         * sysdeps/m68k/fpu/branred.c: New file.
4246         * sysdeps/m68k/fpu/doasin.c: New file.
4247         * sysdeps/m68k/fpu/dosincos.c: New file.
4248         * sysdeps/m68k/fpu/halfulp.c: New file.
4249         * sysdeps/m68k/fpu/mpa.c: New file.
4250         * sysdeps/m68k/fpu/mpatan.c: New file.
4251         * sysdeps/m68k/fpu/mpatan2.c: New file.
4252         * sysdeps/m68k/fpu/mpexp.c: New file.
4253         * sysdeps/m68k/fpu/mplog.c: New file.
4254         * sysdeps/m68k/fpu/mpsqrt.c: New file.
4255         * sysdeps/m68k/fpu/mptan.c: New file.
4256         * sysdeps/m68k/fpu/sincos32.c: New file.
4257         * sysdeps/m68k/fpu/slowexp.c: New file.
4258         * sysdeps/m68k/fpu/slowpow.c: New file.
4260         * iconvdata/gconv-modules: Add a number of alias, mostly for IBM
4261         codepages.
4263 2001-03-11  Andreas Jaeger  <aj@suse.de>
4265         * elf/elf.h (EM_*): Synch with official list.
4267 2001-03-07  David Mosberger  <davidm@hpl.hp.com>
4269         * sysdeps/ia64/bits/fenv.h (FE_NONIEEE_ENV): New macro.
4271 2001-03-07  Jes Sorensen  <jes@linuxcare.com>
4273         * sysdeps/unix/sysv/linux/ia64/ioperm.c (_ioperm): Remove unused
4274         variables addr & len.
4276 2001-02-22  Jes Sorensen  <jes@linuxcare.com>
4278         * sysdeps/ia64/fpu/feenablxcpt.c (feenableexcept): Remove
4279         punctuation in asm constraint.
4281 2001-03-07  Mark Kettenis  <kettenis@gnu.org>
4283         * resolv/netdb.h [__USE_GNU]: Define __need_timespec and include
4284         <time.h> to get definition of `struct timespec'.
4286 2001-03-08  Jakub Jelinek  <jakub@redhat.com>
4288         * elf/rtld.c (dl_main): If tracing, warn about undefined symbols if
4289         LD_WARN=1, not if LD_WARN is unset.
4291 2001-03-07  Andreas Schwab  <schwab@suse.de>
4293         * elf/ldconfig.h: Moved to ...
4294         * sysdeps/generic/ldconfig.h: ... here.
4295         * sysdeps/unix/sysv/linux/i386/ldconfig.h: New file.
4296         * sysdeps/unix/sysv/linux/m68k/ldconfig.h: New file.
4297         * sysdeps/unix/sysv/linux/ia64/ldconfig.h: New file.
4298         * elf/readlib.c (interpreters, known_libs): Use
4299         SYSDEP_KNOWN_INTERPRETER_NAMES and SYSDEP_KNOWN_LIBRARY_NAMES
4300         instead of hard coding old names.
4302 2001-03-09  Ulrich Drepper  <drepper@redhat.com>
4304         * catgets/Makefile (generated): Add test-gencat.h.
4305         (sample.SJIS.cat): Also generate header.
4306         * catgets/sample.SJIS: Add new set and message, both with symbolic
4307         names.
4308         * catgets/test-gencat.sh: Also compare generated header with what
4309         we expect.
4311 2001-03-07  Jakub Jelinek  <jakub@redhat.com>
4313         * catgets/gencat.c (read_input_file): Preserve properly symbolic
4314         names.
4316 2001-03-06  Andreas Jaeger  <aj@suse.de>
4318         * sysdeps/s390/dl-machine.h (elf_machine_relplt): Removed, it's not
4319         needed.
4320         (elf_machine_pltrel_p): Likewise.
4321         * sysdeps/powerpc/dl-machine.h: Likewise.
4322         * sysdeps/generic/dl-machine.h (elf_machine_pltrel_p): Likewise.
4324 2001-03-09  Ulrich Drepper  <drepper@redhat.com>
4326         * sysdeps/unix/sysv/linux/arm/Dist: Add dl-procinfo.c and
4327         dl-procinfo.h.
4329 2001-03-05  Philip Blundell  <philb@gnu.org>
4331         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c: New file.
4332         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h: New file.
4333         * sysdeps/unix/sysv/linux/arm/Makefile [subdir=elf]
4334         (sysdep-dl-routines, sysdep_routines, sysdep-rtld-routines): Add
4335         dl-procinfo.
4337 2001-03-09  Ulrich Drepper  <drepper@redhat.com>
4339         * dlfcn/tstatexit.c (main): Don't perform the test if __dso_handle
4340         is not available.
4341         * dlfcn/tstcxaatexit.c (main): Likewise.
4343 2001-03-10  Andreas Jaeger  <aj@suse.de>
4345         * sysdeps/i386/fpu/libm-test-ulps: Revert last patch.
4347 2001-03-09  Andreas Jaeger  <aj@suse.de>
4349         * sysdeps/s390/dl-machine.h (elf_machine_matches_host): Handle
4350         both new and old EM_S390 values.
4351         (EM_S390_OLD): New constant.
4353         * elf/elf.h (EM_S390): Use official value.
4355 2001-03-09  Ulrich Drepper  <drepper@redhat.com>
4357         * conform/data/sys/socket.h-data: Allow SO* symbols.
4359 2001-03-07  Andreas Schwab  <schwab@suse.de>
4361         * sysdeps/ia64/fpu/Makefile: Modify sysdep_routines instead of
4362         routines, and sysdep-CPPFLAGS instead of CPPFLAGS.
4364 2001-03-07  Andreas Jaeger  <aj@suse.de>
4366         * resolv/Makefile (routines): Only build gai_sigqueue when threads
4367         are available.
4369 2001-03-07  Jakub Jelinek  <jakub@redhat.com>
4371         * elf/ldconfig.c (_dl_sysdep_message): Remove.
4372         * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h: Include
4373         ldsodefs.h.
4374         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h: Likewise.
4376         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Use
4377         _dl_error_printf instead of _dl_sysdep_error.
4378         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
4379         * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h (_dl_procinfo):
4380         Use _dl_printf instead of _dl_sysdep_message.
4381         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h (_dl_procinfo):
4382         Likewise.
4384 2001-03-06  Ben Collins  <bcollins@debian.org>
4386         * manual/arith.texi (Integers): Fix documentation of fast and
4387         least integer typedefs.
4389 2001-03-06  Jakub Jelinek  <jakub@redhat.com>
4391         * resolv/Depend: New file.
4392         * resolv/Makefile (extra-libs, tests): Build libanl and ga_test only
4393         when libpthread is built.
4395 2001-03-06  Andreas Jaeger  <aj@suse.de>
4397         * sysdeps/i386/fpu/libm-test-ulps: Add some deltas.
4399         * sysdeps/sh/dl-machine.h (elf_machine_rela): Add missing comma.
4400         Patch by kaz Kojima <kkojima@rr.iij4u.or.jp>.
4402 2001-03-05  Ulrich Drepper  <drepper@redhat.com>
4404         * stdlib/Versions: Remove __new_exitfn again.  Not needed.
4406 2001-03-05  Andreas Jaeger  <aj@suse.de>
4408         * stdlib/msort.c (qsort): Don't use alloca in a function call.
4410 2001-03-05  Ulrich Drepper  <drepper@redhat.com>
4412         * sysdeps/unix/sysv/linux/bits/stat.h (__S_TYPEISMQ, __S_TYPEISSEM,
4413         __S_TYPEISSHM): Rewrite to enforce correct use the macros.  They still
4414         always return zero.
4415         * sysdeps/unix/sysv/linux/alpha/bits/stat.h: Likewise.
4416         * sysdeps/unix/sysv/linux/ia64/bits/stat.h: Likewise.
4417         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
4418         * sysdeps/unix/sysv/linux/m68k/bits/stat.h: Likewise.
4419         * sysdeps/unix/sysv/linux/mips/bits/stat.h: Likewise.
4420         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
4421         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
4423 2001-03-04  Andreas Jaeger  <aj@suse.de>
4425         * stdlib/longlong.h: Don't use multi-line strings.
4426         * iconvdata/tst-loading.c: Likewise.
4428         * csu/Makefile ($(objpfx)version-info.h): Don't use multi-line
4429         string.
4431 2001-03-04  Ulrich Drepper  <drepper@redhat.com>
4433         * sysdeps/ia64/fpu/libm-test-ulps: Adjust for addition of lgammal.
4435         * rt/lio_listio.c: Add a few asserts.
4437         * elf/global.c: New file.
4438         * elf/globalmod1.c: New file.
4439         * elf/Makefile: Add rules to build and run global.
4441         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Define SI_ASYNCNL.
4442         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
4443         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Likewise.
4444         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
4445         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/siginfo.h: Likewise.
4447         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: New file.
4448         Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>.
4450         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Fix handling of boundary cases.
4452         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Always initialize sign variable.
4453         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
4455         * sysdeps/i386/fpu/libm-test-ulps: Adjust after addition of lgammal.
4457         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Fix typo in last change.
4459 2001-03-04  Andreas Jaeger  <aj@suse.de>
4461         * resolv/tst-aton.c: Add testcase for IP with four periods.
4463         * resolv/inet_addr.c: Don't recognize an IP with four periods.
4464         Patch by Andre' Breiler <A.Breiler@gmx.net>.
4466 2001-02-27  Philip Blundell  <pb@futuretv.com>
4468         * elf/elf.h: Add new ARM definitions from latest (B-01)
4469         specification.  Correct naming of EF_ARM_ALIGN8 et al.
4471 2001-03-04  Ulrich Drepper  <drepper@redhat.com>
4473         * stdio-common/tst-printf.sh: Remove bashisms.
4474         Patch by Matthew Clarke <Matthew_Clarke@mindlink.bc.ca>.
4476 2001-03-03  Ulrich Drepper  <drepper@redhat.com>
4478         * Versions.def: Add libanl definition.
4479         * shlib-versions: Add entry for libanl.
4480         * resolv/Makefile (distribute): Add gai_misc.h and ga_test.c.
4481         (routines): Add gai_sigqueue.
4482         (extra-libs): Add libanl.
4483         (libanl-routines): New variable.
4484         Add rules to build libanl and ga_test.
4485         * resolv/Versions [libc] (GLIBC_2.2.3): Add __gai_sigqueue.
4486         [libanl]: New library.
4487         * resolv/netdb.h: Add definitions for libanl.
4488         * resolv/getaddrinfo_a.c: New file.
4489         * resolv/gai_cancel.c: New file.
4490         * resolv/gai_error.c: New file.
4491         * resolv/gai_misc.c: New file.
4492         * resolv/gai_misc.h: New file.
4493         * resolv/gai_notify.c: New file.
4494         * resolv/gai_suspend.c: New file.
4495         * resolv/ga_test.c: New file.
4496         * sysdeps/generic/gai_sigqueue.c: New file.
4497         * sysdeps/unix/sysv/linux/gai_sigqueue.c: New file.
4498         * sysdeps/generic/bits/siginfo.h: Allow __need_sigevent_t being defined
4499         and provide only that definition.
4500         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Likewise.
4501         * sysdeps/unix/sysv/linux/bits/siginfo.h: Likewise.
4502         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
4503         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Likewise.
4504         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
4505         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/siginfo.h: Likewise.
4507         * rt/aio_misc.c: Fix typos in comments.
4508         * rt/lio_listio.c: Pretty printing.  Little optimization in request
4509         list handling.
4511         * elf/rtld.c: Remove commented out code.
4513         * sysdeps/unix/sysv/linux/linux_fsinfo.h (SHMFS_SUPER_MAGIC):
4514         Update for real 2.4 kernels.
4516 2001-03-01  Ulrich Drepper  <drepper@redhat.com>
4518         * elf/dl-load.c: Pretty printing.
4520         * elf/dl-object.c (_dl_new_object): Don't add the loader's scope
4521         twice.
4523 2001-02-28  Ulrich Drepper  <drepper@redhat.com>
4525         * sysdeps/alpha/dl-machine.h (elf_machine_rela): Don't handle
4526         relocations which are not in ld.so if RTLD_BOOTSTRAP is defined.
4528         * sysdeps/powerpc/dl-machine.c (__process_machine_rela): Fix typo.
4530         * elf/dl-misc.c (_dl_debug_vdprintf): Fix typo visible on 64-bit
4531         machines.
4533         * sysdeps/unix/sysv/linux/powerpc/sysdep.h (C_TEXT): Define.
4535 2001-02-27  Ulrich Drepper  <drepper@redhat.com>
4537         * sysdeps/powerpc/elf/libc-start.c: Use new output functions and
4538         _dl_debug_mask.
4540         * elf/Versions [ld]: Don't export _dl_debug_message anymore.  Export
4541         _dl_debug_printf.
4542         * elf/dl-misc.c: Remove definition of _dl_sysdep_output and
4543         _dl_debug_message.  Define _dl_debug_vdprintf, _dl_debug_printf,
4544         _dl_debug_printf_c, and _dl_printf.
4545         * sysdeps/generic/ldsodefs.h: Don't declare _dl_sysdep_output,
4546         _dl_debug_message, _dl_sysdep_message, _dl_sysdep_error, and
4547         _dl_sysdep_fatal.  Declare _dl_debug_printf, _dl_debug_printf_c,
4548         _dl_printf, _dl_error_printf, and _dl_fatal_printf.
4549         * elf/dl-close.c: Replace use of old output functions with the new
4550         ones.
4551         * elf/dl-deps.c: Likewise.
4552         * elf/dl-error.c: Likewise.
4553         * elf/dl-fini.c: Likewise.
4554         * elf/dl-init.c: Likewise.
4555         * elf/dl-load.c: Likewise.
4556         * elf/dl-lookup.c: Likewise.
4557         * elf/dl-minimal.c: Likewise.
4558         * elf/dl-open.c: Likewise.
4559         * elf/dl-profile.c: Likewise.
4560         * elf/dl-reloc.c: Likewise.
4561         * elf/dl-version.c: Likewise.
4562         * elf/do-lookup.h: Likewise.
4563         * elf/rtld.c: Likewise.
4564         * sysdeps/generic/dl-cache.c: Likewise.
4565         * sysdeps/generic/dl-sysdep.c: Likewise.
4566         * sysdeps/generic/libc-start.c: Likewise.
4567         * sysdeps/i386/dl-machine.h: Likewise.
4568         * sysdeps/arm/dl-machine.h: Likewise.
4569         * sysdeps/hppa/dl-machine.h: Likewise.
4570         * sysdeps/m68k/dl-machine.h: Likewise.
4571         * sysdeps/powerpc/dl-machine.h: Likewise.
4572         * sysdeps/s390/dl-machine.h: Likewise.
4573         * sysdeps/sh/dl-machine.h: Likewise.
4574         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
4575         * sysdeps/unix/sysv/linux/i386/dl-librecon.h: Likewise.
4576         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
4578         * sysdeps/generic/ldsodefs.h: Remove _dl_secure declaration.
4580         * dlfcn/Makefile: Don't run tstatexit test unless .hidden is
4581         supported by assembler.
4583         * sysdeps/generic/ldsodefs.h: Remove commented-out variable
4584         declaractions.
4586         * elf/rtld.c: Little optimizations in handling _dl_lazy.
4588         * elf/cache.c (save_cache): Portability changes.
4589         * elf/dl-profile.c (_dl_start_profile): Likewise.
4591         * elf/sln.c: Cleanups.  Remove arbitrary limits.
4593         * elf/dl-close.c: Replace _dl_debug_* variables with _dl_debug_mask.
4594         * elf/dl-deps.c: Likewise.
4595         * elf/dl-fini.c: Likewise.
4596         * elf/dl-init.c: Likewise.
4597         * elf/dl-load.c: Likewise.
4598         * elf/dl-lookup.c: Likewise.
4599         * elf/dl-open.c: Likewise.
4600         * elf/dl-reloc.c: Likewise.
4601         * elf/dl-support.c: Likewise.
4602         * elf/dl-version.c: Likewise.
4603         * elf/do-lookup.h: Likewise.
4604         * elf/rtld.c: Likewise.
4605         * sysdeps/generic/dl-cache.c: Likewise.
4606         * sysdeps/generic/ldsodefs.h: Likewise.
4607         * sysdeps/generic/libc-start.c: Likewise.
4608         * elf/Versions: Don't export _dl_debug_impcalls and _dl_debug_files.
4609         Export _dl_debug_mask.
4610         * Versions.def: Define GLIBC_2.2.3 for ld.
4612 2001-02-26  Greg McGary  <greg@mcgary.org>
4614         * sysdeps/unix/make-syscalls.sh (ptr): Handle `V' keyletter.
4616 2001-02-26  Paul Eggert  <eggert@twinsun.com>
4618         Modify mkstemp.c and tempname.c so that they can be used by
4619         GNU applications on non-glibc platforms.
4621         * misc/mkstemp.c (__GT_FILE): Define to zero if not defined.
4623         * sysdeps/posix/tempname.c: Include <config.h> if HAVE_CONFIG_H.
4624         Include <stddef.h>, <stdint.h>, <string.h> only if
4625         STDC_HEADERS || _LIBC.
4626         Include <fcntl.h> only if HAVE_FCNTL_H || _LIBC.
4627         Include <unistd.h> only if HAVE_UNISTD_H || _LIBC.
4628         Include <sys/time.h> only if HAVE_SYS_TIME_H || _LIBC.
4629         (__set_errno): Define this macro if <errno.h> doesn't.
4630         (P_tmpdir, TMP_MAX, __GT_FILE, __GT_BIGFILE, __GT_DIR, __GT_NOCREATE):
4631         Define these macros if <stdio.h> doesn't.
4632         (S_ISDIR, S_IRUSR, S_IWUSR, S_IXUSR):
4633         Define these macros if <sys/stat.h> doesn't.
4634         Ignore <sys/stat.h> S_ISDIR if STAT_MACROS_BROKEN.
4635         (stat64, __getpid, __gettimeofday, __mkdir, __open, __open64,
4636         lxstat64, __xstat64): Define if not _LIBC.
4637         (struct_stat64): New macro.
4638         (direxists, __gen_tempname): Use it, to avoid a
4639         portability problem with Solaris 8.
4640         (__secure_getenv): Define if ! (HAVE___SECURE_GETENV || _LIBC).
4641         (__gen_tempname): Invoke gettimeofday only if
4642         HAVE_GETTIMEOFDAY || _LIBC; otherwise, fall back on plain "time".
4643         Use portable macros like S_IRUSR | S_IWUSR rather than nonportable
4644         octal values like 0600.
4646 2001-02-26  Ulrich Drepper  <drepper@redhat.com>
4648         * sysdeps/ieee754/ldbl-96/e_jnl.c: New file.
4649         Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>.
4651         * sysdeps/i386/fpu/libm-test-ulps: Update for jnl and ynl introduction.
4652         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
4654         * posix/wordexp-test.c (testit): Remove warnings.
4656         * dlfcn/Makefile (distribute): Add modatexit.c and modcxaatexit.c.
4657         (tests): Add tstatexit and tstcxaatexit.
4658         (module-names): Add modatexit and modcxaatexit.
4659         Add rules to build and run tstatexit and tstcxaatexit.
4660         * dlfcn/modatexit.c: New file.
4661         * dlfcn/modcxaatexit.c: New file.
4662         * dlfcn/tstatexit.c: New file.
4663         * dlfcn/tstcxaatexit.c: New file.
4665         * io/Makefile: Pass -DHAVE_DOT_HIDDEN to stat and mknod functions if
4666         .hidden is available.
4667         * io/stat.c: If .hidden is available use it to avoid exporting
4668         functions.
4669         * io/fstat.c: Likewise.
4670         * io/lstat.c: Likewise.
4671         * io/stat64.c: Likewise.
4672         * io/fstat64.c: Likewise.
4673         * io/lstat64.c: Likewise.
4674         * sysdeps/generic/mknod.c: Likewise.
4676         * malloc/mtrace.c: Use __cxa_atexit and not atexit.
4677         * sysdeps/generic/bb_init_func.c: Likewise.
4678         * sysdeps/generic/libc-start.c: Likewise.
4680         * stdlib/atexit.c (__new_exitfn): Move to cxa_atexit.c.
4681         (atexit): Implement using __cxa_atexit.
4682         Use .hidden if availble to avoid exporting atexit.
4683         * stdlib/cxa_atexit.c (__new_exitfn): Moved to here from atexit.c.
4684         * stdlib/Versions: Export __new_exitfn for GLIBC_2.2.3.
4685         * stdlib/Makefile (routines): Add old_atexit.
4686         (static-only-routines): Add atexit.
4687         Pass -DHAVE_DOT_HIDDEN for atexit.c if .hidden is available.
4688         * stdlib/old_atexit.c: New file.
4690         * intl/Makefile: Remove bogus endif.
4692 2001-02-26  Andreas Jaeger  <aj@suse.de>
4694         * iconvdata/Makefile (tests): Fix typo in last patch.
4696         * intl/Makefile (tests): Run mtrace-tst-gettext only when perl is
4697         available.
4698         Reported by Achim Gottinger <achim@gentoo.org>.
4700 2001-02-25  Andreas Jaeger  <aj@suse.de>
4702         * intl/Makefile (plural.c): Reorder rules so that they work if
4703         BISON doesn't exist.
4705 2001-02-25  Ulrich Drepper  <drepper@redhat.com>
4707         * intl/locale.alias: Don't use nb_NO but define aliases for it.
4709 2001-02-23  Ulrich Drepper  <drepper@redhat.com>
4711         * sysdeps/i386/strtok.S: Continue to return NULL after the first
4712         time this happened.
4714 2001-02-23  Andreas Jaeger  <aj@suse.de>
4716         * string/tester.c (test_strtok_r): Add testcase.
4717         (test_strtok_r): Always initialize cp for proper checking.
4719         * sysdeps/generic/strtok.c (strtok): Handle case of first strtok
4720         returning NULL correctly.
4721         Patch by Fumitoshi UKAI <ukai@debian.or.jp>.
4722         * sysdeps/generic/strtok_r.c (__strtok_r): Likewise.
4724 2001-02-23  Ulrich Drepper  <drepper@redhat.com>
4726         * sysdeps/unix/sysv/aix/bits/types.h: Define __need_NULL before
4727         including <stddef.h>.
4728         * sysdeps/unix/sysv/aix/write.c: Define alias __libc_write.
4729         * include/libc-symbols.h (weak_alias): Don't use .weak if
4730         HAVE_ASM_GLOBAL_DOT_NAME is defined.
4731         Patches by Michael Keezer <mkeezer@redhat.com>.
4733         * sysdeps/generic/ftime.c: Don't include <sys/time.h> at all.
4734         Patch by Michael Keezer <mkeezer@redhat.com>.
4736         * sysdeps/unix/sysv/aix/Dist: Remove restf.S and savef.S.
4737         * sysdeps/unix/sysv/aix/Makefile [$(subdir) == misc]
4738         (sysdep_routines): Remove restf.S and savef.S.
4739         * sysdeps/unix/sysv/aix/restf.S: Removed.
4740         * sysdeps/unix/sysv/aix/savef.S: Removed.
4741         * sysdeps/powerpc/fprrest.S: Use C_TEXT to define label.  Also define
4742         alternative names used on some platforms.
4743         * sysdeps/powerpc/fprsave.S: Likewise.
4744         * sysdeps/powerpc/gprrest0.S: Likewise.
4745         * sysdeps/powerpc/gprrest1.S: Likewise.
4746         * sysdeps/powerpc/gprsave0.S: Likewise.
4747         * sysdeps/powerpc/gprsave1.S: Likewise.
4748         Patch by Michael Keezer <mkeezer@redhat.com>.
4750 2001-02-22  Ulrich Drepper  <drepper@redhat.com>
4752         * sysdeps/i386/elf/start.S (_fp_hw): Actually define label.
4754 2001-02-22  Andreas Jaeger  <aj@suse.de>
4756         * string/tst-strtok.c (main): Fix error messages.
4758 2001-02-22  Andreas Jaeger  <aj@suse.de>
4760         * math/Makefile: Remove omit-long-double-fcts.
4762 2001-02-18  Maciej W. Rozycki  <macro@ds2.pg.gda.pl>
4764         * sysdeps/mips/bsd-_setjmp.S (_setjmp): Reorder instructions to
4765         avoid problems on MIPS I.
4766         * sysdeps/mips/bsd-setjmp.S (setjmp): Likewise.
4768         * sysdeps/mips/dl-machine.h (RTLD_START): Remove duplicate ".set
4769         noreorder".
4771 2001-02-21  Ulrich Drepper  <drepper@redhat.com>
4773         * posix/fnmatch_loop.c: Handle ranges outside glibc correctly.
4775         * sysdeps/generic/ftime.c: Include <time.h>.
4777         * configure.in: Don't check for libgd if user passed --without-gd.
4778         Patch by Achim Gottinger <achim@gentoo.org>.
4780         * sysdeps/i386/i686/strtok.S: Continue to return NULL after the
4781         first time this happened.
4782         * string/Makefile (tests): Add tst-strtok.
4784 2001-02-21  Andreas Jaeger  <aj@suse.de>
4786         * string/tst-strtok.c: New testcase, reported by
4787         Andrew Church <achurch@achurch.org>.
4789 2001-02-20  Ulrich Drepper  <drepper@redhat.com>
4791         * libio/iofwide.c: Remove fwide alias.
4793 2001-02-20  Andreas Jaeger  <aj@suse.de>
4795         * iconvdata/Makefile (tests): Only run mtrace-tst-loading if perl
4796         is available.
4797         Reported by Achim Gottinger <achim@gentoo.org>.
4799 2001-02-19  Ulrich Drepper  <drepper@redhat.com>
4801         * iconv/tst-iconv1.c (main): Remove debugging code.
4803         * sysdeps/ieee754/flt-32/e_powf.c: Handle x == +-1 correctly.
4804         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
4806         * sysdeps/generic/e_scalb.c: Set invalid exception for invalid
4807         parameters.
4808         * sysdeps/generic/e_scalbf.c: Likewise.
4809         * sysdeps/generic/e_scalbl.c: Likewise.
4811         * sysdeps/ia64/fpu/Makefile (libm-sysdep-routines): Add libm_error,
4812         libm_frexp4, libm_frexp4f, libm_frexp4l, and all the functions also
4813         in libc.
4814         (routines): Replace libm_error with libc_libm_error.
4815         * sysdeps/ia64/fpu/Dist: Add libc_libm_error.c.
4816         * sysdeps/ia64/fpu/libc_libm_error.c: New file.
4818 2001-02-18  Mark Kettenis  <kettenis@gnu.org>
4820         * malloc/mtrace.c [USE_IN_LIBIO]: Define fopen as _IO_fopen64.
4821         (mtrace): Revert 2001-02-13 patch: use fopen instead of fopen64.
4823 2001-02-17  H.J. Lu  <hjl@gnu.org>
4825         * sysdeps/unix/sysv/linux/ia64/clone2.S: Use clone2 and don't use
4826         scratch registers across the system call.
4828 2001-02-19  Andreas Jaeger  <aj@suse.de>
4830         * malloc/Makefile (tests): Run mtrace only when perl is available.
4831         Reported by Achim Gottinger <achim@gentoo.org>.
4833 2001-02-19  Ulrich Drepper  <drepper@redhat.com>
4835         * sysdeps/ieee754/ldbl-96/e_j1l.c: New file.
4836         Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>.
4838         * sysdeps/i386/fpu/libm-test-ulps: Adjust error values for j1 and y1.
4839         * sysdeps/ia64/fpu/libm-test-ulps: Adjust error values for y1.
4840         * math/libm-test.inc (j1_test): Mark constants as long double.
4841         (jn_test): Likewise.
4842         (y1_test): Likewise.
4843         (yn_test): Likewise.
4845         * libio/iogetline.c: Move return until after last statement.
4847         * localedata/show-ucs-data.c: Don't show < > for better readability.
4849         * sysdeps/ia64/fpu/Dist: New file.
4850         * sysdeps/ia64/fpu/Makefile: New file.
4851         * sysdeps/ia64/fpu/Versions: New file.
4852         * sysdeps/ia64/fpu/e_acos.S: New file.
4853         * sysdeps/ia64/fpu/e_acosf.S: New file.
4854         * sysdeps/ia64/fpu/e_acosl.S: New file.
4855         * sysdeps/ia64/fpu/e_asin.S: New file.
4856         * sysdeps/ia64/fpu/e_asinf.S: New file.
4857         * sysdeps/ia64/fpu/e_asinl.S: New file.
4858         * sysdeps/ia64/fpu/e_atan2.S: New file.
4859         * sysdeps/ia64/fpu/e_atan2f.S: New file.
4860         * sysdeps/ia64/fpu/e_atan2l.c: New file.
4861         * sysdeps/ia64/fpu/e_cosh.S: New file.
4862         * sysdeps/ia64/fpu/e_coshf.S: New file.
4863         * sysdeps/ia64/fpu/e_coshl.S: New file.
4864         * sysdeps/ia64/fpu/e_exp.S: New file.
4865         * sysdeps/ia64/fpu/e_expf.S: New file.
4866         * sysdeps/ia64/fpu/e_expl.c: New file.
4867         * sysdeps/ia64/fpu/e_fmod.S: New file.
4868         * sysdeps/ia64/fpu/e_fmodf.S: New file.
4869         * sysdeps/ia64/fpu/e_fmodl.S: New file.
4870         * sysdeps/ia64/fpu/e_hypot.S: New file.
4871         * sysdeps/ia64/fpu/e_hypotf.S: New file.
4872         * sysdeps/ia64/fpu/e_hypotl.S: New file.
4873         * sysdeps/ia64/fpu/e_log.S: New file.
4874         * sysdeps/ia64/fpu/e_log10.c: New file.
4875         * sysdeps/ia64/fpu/e_log10f.c: New file.
4876         * sysdeps/ia64/fpu/e_log10l.c: New file.
4877         * sysdeps/ia64/fpu/e_logf.S: New file.
4878         * sysdeps/ia64/fpu/e_logl.c: New file.
4879         * sysdeps/ia64/fpu/e_pow.S: New file.
4880         * sysdeps/ia64/fpu/e_powf.S: New file.
4881         * sysdeps/ia64/fpu/e_powl.S: New file.
4882         * sysdeps/ia64/fpu/e_rem_pio2.c: New file.
4883         * sysdeps/ia64/fpu/e_rem_pio2f.c: New file.
4884         * sysdeps/ia64/fpu/e_remainder.S: New file.
4885         * sysdeps/ia64/fpu/e_remainderf.S: New file.
4886         * sysdeps/ia64/fpu/e_remainderl.S: New file.
4887         * sysdeps/ia64/fpu/e_scalb.S: New file.
4888         * sysdeps/ia64/fpu/e_scalbf.S: New file.
4889         * sysdeps/ia64/fpu/e_scalbl.S: New file.
4890         * sysdeps/ia64/fpu/e_sinh.S: New file.
4891         * sysdeps/ia64/fpu/e_sinhf.S: New file.
4892         * sysdeps/ia64/fpu/e_sinhl.S: New file.
4893         * sysdeps/ia64/fpu/e_sqrt.S: New file.
4894         * sysdeps/ia64/fpu/e_sqrtf.S: New file.
4895         * sysdeps/ia64/fpu/e_sqrtl.S: New file.
4896         * sysdeps/ia64/fpu/k_rem_pio2.c: New file.
4897         * sysdeps/ia64/fpu/k_rem_pio2f.c: New file.
4898         * sysdeps/ia64/fpu/k_rem_pio2l.c: New file.
4899         * sysdeps/ia64/fpu/libm_atan2_reg.S: New file.
4900         * sysdeps/ia64/fpu/libm_error.c: New file.
4901         * sysdeps/ia64/fpu/libm_frexp4.S: New file.
4902         * sysdeps/ia64/fpu/libm_frexp4f.S: New file.
4903         * sysdeps/ia64/fpu/libm_frexp4l.S: New file.
4904         * sysdeps/ia64/fpu/libm_reduce.S: New file.
4905         * sysdeps/ia64/fpu/libm_support.h: New file.
4906         * sysdeps/ia64/fpu/libm_tan.S: New file.
4907         * sysdeps/ia64/fpu/s_atan.S: New file.
4908         * sysdeps/ia64/fpu/s_atanf.S: New file.
4909         * sysdeps/ia64/fpu/s_atanl.S: New file.
4910         * sysdeps/ia64/fpu/s_cbrt.S: New file.
4911         * sysdeps/ia64/fpu/s_cbrtf.S: New file.
4912         * sysdeps/ia64/fpu/s_cbrtl.S: New file.
4913         * sysdeps/ia64/fpu/s_ceil.S: New file.
4914         * sysdeps/ia64/fpu/s_ceilf.S: New file.
4915         * sysdeps/ia64/fpu/s_ceill.S: New file.
4916         * sysdeps/ia64/fpu/s_cos.S: New file.
4917         * sysdeps/ia64/fpu/s_cosf.S: New file.
4918         * sysdeps/ia64/fpu/s_cosl.S: New file.
4919         * sysdeps/ia64/fpu/s_expm1.S: New file.
4920         * sysdeps/ia64/fpu/s_expm1f.S: New file.
4921         * sysdeps/ia64/fpu/s_expm1l.S: New file.
4922         * sysdeps/ia64/fpu/s_floor.S: New file.
4923         * sysdeps/ia64/fpu/s_floorf.S: New file.
4924         * sysdeps/ia64/fpu/s_floorl.S: New file.
4925         * sysdeps/ia64/fpu/s_frexp.c: New file.
4926         * sysdeps/ia64/fpu/s_frexpf.c: New file.
4927         * sysdeps/ia64/fpu/s_frexpl.c: New file.
4928         * sysdeps/ia64/fpu/s_ilogb.S: New file.
4929         * sysdeps/ia64/fpu/s_ilogbf.S: New file.
4930         * sysdeps/ia64/fpu/s_ilogbl.S: New file.
4931         * sysdeps/ia64/fpu/s_ldexp.S: New file.
4932         * sysdeps/ia64/fpu/s_ldexpf.S: New file.
4933         * sysdeps/ia64/fpu/s_ldexpl.S: New file.
4934         * sysdeps/ia64/fpu/s_log1p.S: New file.
4935         * sysdeps/ia64/fpu/s_log1pf.S: New file.
4936         * sysdeps/ia64/fpu/s_log1pl.S: New file.
4937         * sysdeps/ia64/fpu/s_logb.S: New file.
4938         * sysdeps/ia64/fpu/s_logbf.S: New file.
4939         * sysdeps/ia64/fpu/s_logbl.S: New file.
4940         * sysdeps/ia64/fpu/s_matherrf.c: New file.
4941         * sysdeps/ia64/fpu/s_matherrl.c: New file.
4942         * sysdeps/ia64/fpu/s_modf.S: New file.
4943         * sysdeps/ia64/fpu/s_modff.S: New file.
4944         * sysdeps/ia64/fpu/s_modfl.S: New file.
4945         * sysdeps/ia64/fpu/s_nearbyint.S: New file.
4946         * sysdeps/ia64/fpu/s_nearbyintf.S: New file.
4947         * sysdeps/ia64/fpu/s_nearbyintl.S: New file.
4948         * sysdeps/ia64/fpu/s_rint.S: New file.
4949         * sysdeps/ia64/fpu/s_rintf.S: New file.
4950         * sysdeps/ia64/fpu/s_rintl.S: New file.
4951         * sysdeps/ia64/fpu/s_round.S: New file.
4952         * sysdeps/ia64/fpu/s_roundf.S: New file.
4953         * sysdeps/ia64/fpu/s_roundl.S: New file.
4954         * sysdeps/ia64/fpu/s_scalbn.S: New file.
4955         * sysdeps/ia64/fpu/s_scalbnf.S: New file.
4956         * sysdeps/ia64/fpu/s_scalbnl.S: New file.
4957         * sysdeps/ia64/fpu/s_significand.S: New file.
4958         * sysdeps/ia64/fpu/s_significandf.S: New file.
4959         * sysdeps/ia64/fpu/s_significandl.S: New file.
4960         * sysdeps/ia64/fpu/s_sin.c: New file.
4961         * sysdeps/ia64/fpu/s_sincos.c: New file.
4962         * sysdeps/ia64/fpu/s_sincosf.c: New file.
4963         * sysdeps/ia64/fpu/s_sincosl.c: New file.
4964         * sysdeps/ia64/fpu/s_sinf.c: New file.
4965         * sysdeps/ia64/fpu/s_sinl.c: New file.
4966         * sysdeps/ia64/fpu/s_tan.S: New file.
4967         * sysdeps/ia64/fpu/s_tanf.S: New file.
4968         * sysdeps/ia64/fpu/s_tanl.S: New file.
4969         * sysdeps/ia64/fpu/s_trunc.S: New file.
4970         * sysdeps/ia64/fpu/s_truncf.S: New file.
4971         * sysdeps/ia64/fpu/s_truncl.S: New file.
4972         * sysdeps/ia64/fpu/w_acos.c: New file.
4973         * sysdeps/ia64/fpu/w_acosf.c: New file.
4974         * sysdeps/ia64/fpu/w_acosl.c: New file.
4975         * sysdeps/ia64/fpu/w_asin.c: New file.
4976         * sysdeps/ia64/fpu/w_asinf.c: New file.
4977         * sysdeps/ia64/fpu/w_asinl.c: New file.
4978         * sysdeps/ia64/fpu/w_atan2.c: New file.
4979         * sysdeps/ia64/fpu/w_atan2f.c: New file.
4980         * sysdeps/ia64/fpu/w_atan2l.c: New file.
4981         * sysdeps/ia64/fpu/w_cosh.c: New file.
4982         * sysdeps/ia64/fpu/w_coshf.c: New file.
4983         * sysdeps/ia64/fpu/w_coshl.c: New file.
4984         * sysdeps/ia64/fpu/w_exp.c: New file.
4985         * sysdeps/ia64/fpu/w_expf.c: New file.
4986         * sysdeps/ia64/fpu/w_fmod.c: New file.
4987         * sysdeps/ia64/fpu/w_fmodf.c: New file.
4988         * sysdeps/ia64/fpu/w_fmodl.c: New file.
4989         * sysdeps/ia64/fpu/w_hypot.c: New file.
4990         * sysdeps/ia64/fpu/w_hypotf.c: New file.
4991         * sysdeps/ia64/fpu/w_hypotl.c: New file.
4992         * sysdeps/ia64/fpu/w_log.c: New file.
4993         * sysdeps/ia64/fpu/w_log10.c: New file.
4994         * sysdeps/ia64/fpu/w_log10f.c: New file.
4995         * sysdeps/ia64/fpu/w_log10l.c: New file.
4996         * sysdeps/ia64/fpu/w_logf.c: New file.
4997         * sysdeps/ia64/fpu/w_logl.c: New file.
4998         * sysdeps/ia64/fpu/w_pow.c: New file.
4999         * sysdeps/ia64/fpu/w_powf.c: New file.
5000         * sysdeps/ia64/fpu/w_powl.c: New file.
5001         * sysdeps/ia64/fpu/w_remainder.c: New file.
5002         * sysdeps/ia64/fpu/w_remainderf.c: New file.
5003         * sysdeps/ia64/fpu/w_remainderl.c: New file.
5004         * sysdeps/ia64/fpu/w_scalb.c: New file.
5005         * sysdeps/ia64/fpu/w_scalbf.c: New file.
5006         * sysdeps/ia64/fpu/w_scalbl.c: New file.
5007         * sysdeps/ia64/fpu/w_sqrt.c: New file.
5008         * sysdeps/ia64/fpu/w_sqrtf.c: New file.
5009         * sysdeps/ia64/fpu/w_sqrtl.c: New file.
5010         * sysdeps/ia64/fpu/libm-test-ulps: Adjust for long double
5011         implementation.
5012         * sysdeps/ia64/fpu/bits/mathdef.h: Correct float_t and double_t types.
5013         Change FP_ILOGBNAN for new implementation.
5014         * Verions.def: Add 2.2.3 versions.
5016 2001-02-18  Ulrich Drepper  <drepper@redhat.com>
5018         * math/libm-test.inc (scalb_test): Require invalid exception being
5019         raised for invalid parameters.
5020         * sysdeps/i386/fpu/e_scalb.S: Raise invalid exception if necessary.
5021         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
5022         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
5024 2001-02-18  Mark Kettenis  <kettenis@gnu.org>
5026         * sysdeps/mach/getsysstats.c (__get_phys_pages): Change return
5027         value to long int.
5028         (__get_avphys_pages): Likewise.
5030 2001-02-18  Ulrich Drepper  <drepper@redhat.com>
5032         * math/libm-test.inc (pow_test): Correct expected results for x == +-1.
5033         * sysdeps/i386/fpu/e_pow.S: Handle x == +-1 correctly.
5034         * sysdeps/i386/fpu/e_powf.S: Likewise.
5035         * sysdeps/i386/fpu/e_powl.S: Likewise.
5037         * sysdeps/i386/fpu/bits/mathinline.h: Remove pow inline code.
5039 2001-02-17  Ulrich Drepper  <drepper@redhat.com>
5041         * math/Makefile (libm-calls): It's e_exp2 not s_exp2.
5043         * sysdeps/generic/s_exp2l.c: Renamed to...
5044         * sysdeps/generic/e_exp2l.c: ...this.   New file.
5045         * sysdeps/i386/fpu/s_exp2.S: Renamed to...
5046         * sysdeps/i386/fpu/e_exp2.S: ...this.   New file.
5047         * sysdeps/i386/fpu/s_exp2f.S: Renamed to...
5048         * sysdeps/i386/fpu/e_exp2f.S: ...this.   New file.
5049         * sysdeps/i386/fpu/s_exp2l.S: Renamed to...
5050         * sysdeps/i386/fpu/e_exp2l.S: ...this.   New file.
5051         * sysdeps/ieee754/flt-32/s_exp2f.c: Renamed to...
5052         * sysdeps/ieee754/flt-32/e_exp2f.c: ...this.   New file.
5053         * sysdeps/ieee754/dbl-64/s_exp2.c: Renamed to...
5054         * sysdeps/ieee754/dbl-64/e_exp2.c: ...this.   New file.
5055         * sysdeps/m68k/fpu/s_exp2.c: Renamed to...
5056         * sysdeps/m68k/fpu/e_exp2.c: ...this.   New file.
5057         * sysdeps/m68k/fpu/s_exp2f.c: Renamed to...
5058         * sysdeps/m68k/fpu/e_exp2f.c: ...this.   New file.
5059         * sysdeps/m68k/fpu/s_exp2l.c: Renamed to...
5060         * sysdeps/m68k/fpu/e_exp2l.c: ...this.   New file.
5062 2001-02-17  Andreas Jaeger  <aj@suse.de>
5064         * configure.in: Allow gcc 3.
5066 2001-02-16  Ulrich Drepper  <drepper@redhat.com>
5068         * math/w_acos.c: Move to ...
5069         * sysdeps/generic/w_acos.c: ...here.  New file.
5070         * math/w_acosf.c: Move to ...
5071         * sysdeps/generic/w_acosf.c: ...here.  New file.
5072         * math/w_acosh.c: Move to ...
5073         * sysdeps/generic/w_acosh.c: ...here.  New file.
5074         * math/w_acoshf.c: Move to ...
5075         * sysdeps/generic/w_acoshf.c: ...here.  New file.
5076         * math/w_acoshl.c: Move to ...
5077         * sysdeps/generic/w_acoshl.c: ...here.  New file.
5078         * math/w_acosl.c: Move to ...
5079         * sysdeps/generic/w_acosl.c: ...here.  New file.
5080         * math/w_asin.c: Move to ...
5081         * sysdeps/generic/w_asin.c: ...here.  New file.
5082         * math/w_asinf.c: Move to ...
5083         * sysdeps/generic/w_asinf.c: ...here.  New file.
5084         * math/w_asinl.c: Move to ...
5085         * sysdeps/generic/w_asinl.c: ...here.  New file.
5086         * math/w_atan2.c: Move to ...
5087         * sysdeps/generic/w_atan2.c: ...here.  New file.
5088         * math/w_atan2f.c: Move to ...
5089         * sysdeps/generic/w_atan2f.c: ...here.  New file.
5090         * math/w_atan2l.c: Move to ...
5091         * sysdeps/generic/w_atan2l.c: ...here.  New file.
5092         * math/w_atanh.c: Move to ...
5093         * sysdeps/generic/w_atanh.c: ...here.  New file.
5094         * math/w_atanhf.c: Move to ...
5095         * sysdeps/generic/w_atanhf.c: ...here.  New file.
5096         * math/w_atanhl.c: Move to ...
5097         * sysdeps/generic/w_atanhl.c: ...here.  New file.
5098         * math/w_cosh.c: Move to ...
5099         * sysdeps/generic/w_cosh.c: ...here.  New file.
5100         * math/w_coshf.c: Move to ...
5101         * sysdeps/generic/w_coshf.c: ...here.  New file.
5102         * math/w_coshl.c: Move to ...
5103         * sysdeps/generic/w_coshl.c: ...here.  New file.
5104         * math/w_drem.c: Move to ...
5105         * sysdeps/generic/w_drem.c: ...here.  New file.
5106         * math/w_dremf.c: Move to ...
5107         * sysdeps/generic/w_dremf.c: ...here.  New file.
5108         * math/w_dreml.c: Move to ...
5109         * sysdeps/generic/w_dreml.c: ...here.  New file.
5110         * math/w_exp10.c: Move to ...
5111         * sysdeps/generic/w_exp10.c: ...here.  New file.
5112         * math/w_exp10f.c: Move to ...
5113         * sysdeps/generic/w_exp10f.c: ...here.  New file.
5114         * math/w_exp10l.c: Move to ...
5115         * sysdeps/generic/w_exp10l.c: ...here.  New file.
5116         * math/w_exp2.c: Move to ...
5117         * sysdeps/generic/w_exp2.c: ...here.  New file.
5118         * math/w_exp2f.c: Move to ...
5119         * sysdeps/generic/w_exp2f.c: ...here.  New file.
5120         * math/w_exp2l.c: Move to ...
5121         * sysdeps/generic/w_exp2l.c: ...here.  New file.
5122         * math/w_fmod.c: Move to ...
5123         * sysdeps/generic/w_fmod.c: ...here.  New file.
5124         * math/w_fmodf.c: Move to ...
5125         * sysdeps/generic/w_fmodf.c: ...here.  New file.
5126         * math/w_fmodl.c: Move to ...
5127         * sysdeps/generic/w_fmodl.c: ...here.  New file.
5128         * math/w_hypot.c: Move to ...
5129         * sysdeps/generic/w_hypot.c: ...here.  New file.
5130         * math/w_hypotf.c: Move to ...
5131         * sysdeps/generic/w_hypotf.c: ...here.  New file.
5132         * math/w_hypotl.c: Move to ...
5133         * sysdeps/generic/w_hypotl.c: ...here.  New file.
5134         * math/w_j0.c: Move to ...
5135         * sysdeps/generic/w_j0.c: ...here.  New file.
5136         * math/w_j0f.c: Move to ...
5137         * sysdeps/generic/w_j0f.c: ...here.  New file.
5138         * math/w_j0l.c: Move to ...
5139         * sysdeps/generic/w_j0l.c: ...here.  New file.
5140         * math/w_j1.c: Move to ...
5141         * sysdeps/generic/w_j1.c: ...here.  New file.
5142         * math/w_j1f.c: Move to ...
5143         * sysdeps/generic/w_j1f.c: ...here.  New file.
5144         * math/w_j1l.c: Move to ...
5145         * sysdeps/generic/w_j1l.c: ...here.  New file.
5146         * math/w_jn.c: Move to ...
5147         * sysdeps/generic/w_jn.c: ...here.  New file.
5148         * math/w_jnf.c: Move to ...
5149         * sysdeps/generic/w_jnf.c: ...here.  New file.
5150         * math/w_jnl.c: Move to ...
5151         * sysdeps/generic/w_jnl.c: ...here.  New file.
5152         * math/w_lgamma.c: Move to ...
5153         * sysdeps/generic/w_lgamma.c: ...here.  New file.
5154         * math/w_lgammaf.c: Move to ...
5155         * sysdeps/generic/w_lgammaf.c: ...here.  New file.
5156         * math/w_lgammaf_r.c: Move to ...
5157         * sysdeps/generic/w_lgammaf_r.c: ...here.  New file.
5158         * math/w_lgammal.c: Move to ...
5159         * sysdeps/generic/w_lgammal.c: ...here.  New file.
5160         * math/w_lgammal_r.c: Move to ...
5161         * sysdeps/generic/w_lgammal_r.c: ...here.  New file.
5162         * math/w_lgamma_r.c: Move to ...
5163         * sysdeps/generic/w_lgamma_r.c: ...here.  New file.
5164         * math/w_log10.c: Move to ...
5165         * sysdeps/generic/w_log10.c: ...here.  New file.
5166         * math/w_log10f.c: Move to ...
5167         * sysdeps/generic/w_log10f.c: ...here.  New file.
5168         * math/w_log10l.c: Move to ...
5169         * sysdeps/generic/w_log10l.c: ...here.  New file.
5170         * math/w_log.c: Move to ...
5171         * sysdeps/generic/w_log.c: ...here.  New file.
5172         * math/w_logf.c: Move to ...
5173         * sysdeps/generic/w_logf.c: ...here.  New file.
5174         * math/w_logl.c: Move to ...
5175         * sysdeps/generic/w_logl.c: ...here.  New file.
5176         * math/w_pow.c: Move to ...
5177         * sysdeps/generic/w_pow.c: ...here.  New file.
5178         * math/w_powf.c: Move to ...
5179         * sysdeps/generic/w_powf.c: ...here.  New file.
5180         * math/w_powl.c: Move to ...
5181         * sysdeps/generic/w_powl.c: ...here.  New file.
5182         * math/w_remainder.c: Move to ...
5183         * sysdeps/generic/w_remainder.c: ...here.  New file.
5184         * math/w_remainderf.c: Move to ...
5185         * sysdeps/generic/w_remainderf.c: ...here.  New file.
5186         * math/w_remainderl.c: Move to ...
5187         * sysdeps/generic/w_remainderl.c: ...here.  New file.
5188         * math/w_scalb.c: Move to ...
5189         * sysdeps/generic/w_scalb.c: ...here.  New file.
5190         * math/w_scalbf.c: Move to ...
5191         * sysdeps/generic/w_scalbf.c: ...here.  New file.
5192         * math/w_scalbl.c: Move to ...
5193         * sysdeps/generic/w_scalbl.c: ...here.  New file.
5194         * math/w_sinh.c: Move to ...
5195         * sysdeps/generic/w_sinh.c: ...here.  New file.
5196         * math/w_sinhf.c: Move to ...
5197         * sysdeps/generic/w_sinhf.c: ...here.  New file.
5198         * math/w_sinhl.c: Move to ...
5199         * sysdeps/generic/w_sinhl.c: ...here.  New file.
5200         * math/w_sqrtl.c: Move to ...
5201         * sysdeps/generic/w_sqrtl.c: ...here.  New file.
5202         * math/w_tgamma.c: Move to ...
5203         * sysdeps/generic/w_tgamma.c: ...here.  New file.
5204         * math/w_tgammaf.c: Move to ...
5205         * sysdeps/generic/w_tgammaf.c: ...here.  New file.
5206         * math/w_tgammal.c: Move to ...
5207         * sysdeps/generic/w_tgammal.c: ...here.  New file.
5209         * locale/programs/ld-address.c (address_finish): Add 'S' to allow
5210         formats for postal_fmt.
5212 2001-02-16  Jakub Jelinek  <jakub@redhat.com>
5214         * sysdeps/unix/sysv/linux/alpha/syscalls.list (ftruncate): Add
5215         __ftruncate64 alias.
5216         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (ftruncate):
5217         Likewise.
5219 2001-02-15  David Mosberger  <davidm@hpl.hp.com>
5221         * sysdeps/unix/sysv/linux/ia64/__longjmp.S (__longjmp): No need to
5222         do "loadrs".  Writing to bspstore already takes care of
5223         invalidating the "clean" partition.
5225 2001-02-16  Andreas Schwab  <schwab@suse.de>
5227         * sysdeps/m68k/fpu/s_nextafterl.c: New file.
5228         * sysdeps/m68k/fpu/s_fpclassifyl.c: New file.
5230 2001-02-15  Jakub Jelinek  <jakub@redhat.com>
5232         * posix/regex.c (init_syntax_once): Add prototype.
5233         (TRANSLATE): If MBS_SUPPORT, translate all characters up to '\xff'.
5234         (re_search_2): Avoid warning.
5235         (count_mbs_length): Add prototype.
5236         * posix/tst-regex3.c: New file.
5237         * posix/Makefile (tests): Add bug-regex3.
5239 2001-02-15  Ulrich Drepper  <drepper@redhat.com>
5241         * stdio-common/Makefile (tests): Add tst-gets.
5242         * stdio-common/tst-gets.c: New file.
5243         * stdio-common/tst-gets.input: New file.
5245         * elf/elf.h (DT_CHECKSUM): Define.
5247         * sysdeps/generic/strtoll.c: Don't export __strto*_internal as
5248         default symbol.
5249         * sysdeps/generic/strtoull.c: Likewise.
5251 2001-02-14  Wolfram Gloger  <wg@malloc.de>
5253         * malloc/malloc.c (new_heap): When allocating large chunk aligned
5254         to HEAP_MAX_SIZE, prefer one with lower address, to avoid `holes'
5255         between the heaps.
5257 2001-02-14  Ulrich Drepper  <drepper@redhat.com>
5259         * math/libm-test.inc (j0_test): Check whether sincos is available.
5260         (j1_test): Likewise.
5261         (jn_test): Likewise.
5262         (y0_test): Likewise.
5263         (y1_test): Likewise.
5264         (yn_test): Likewise.
5266         * posix/tst-gnuglob.c: Make a few entries DT_UNKNOWN and teach
5267         fake filesystem routines to handle this.
5269         * time/sys/time.h: Make settimeofday and adjtime available if
5270         _BSD_SOURCE.
5272         * time/sys/time.h: Make timer* macros available for BSD.
5274         * iconvdata/gb18030.c: Update for Dec 2000 re-release of GB18030.
5275         Patch by Yong Li <rigel863@yahoo.com>.
5277         * sysdeps/generic/glob.c (CONVERT_DIRENT_DIRENT64): Fix copying of
5278         name.
5280         * posix/Makefile (tests): Add tst-gnuglob.
5281         * posix/tst-gnuglob.c: New file.
5283 2001-02-13  H.J. Lu  <hjl@gnu.org>
5285         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add __ftruncate64.
5287 2001-02-13  Ulrich Drepper  <drepper@redhat.com>
5289         * locale/programs/ld-paper.c (paper_output): Pretty printing.
5291         * iconvdata/Makefile (modules): Add GBBIG5.
5292         (distribute): Add gbbig5.c.
5293         * iconvdata/gconv-modules: Add entries for GBBIG5 module.
5295         * iconvdata/gbbig5.c: New file.
5296         Contributed by Yong Li <rigel863@yahoo.com>.
5298 2001-02-13  Philip Blundell  <pb@futuretv.com>
5300         * manual/crypt.texi: Remove outdated references to crypt add-on.
5302         * manual/creature.texi: Improve wording slightly.
5304 2001-02-13  Ulrich Drepper  <drepper@redhat.com>
5306         * io/ftw.c: Always use readdir64.
5307         * io/ftw64.c: Likewise.
5308         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
5309         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
5310         * sysdeps/generic/glob.c: Likewise.  Convert results of gl_readdir
5311         callback to dirent.  Still allow compiling outside glibc.
5312         * sysdeps/gnu/glob64.c: Define COMPILE_GLOB64.
5313         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
5315         * malloc/mtrace.c: Use fopen64.
5316         * posix/spawni.c: Use __open64.
5317         * sysdeps/unix/opendir.c: Likewise.
5318         * sysdeps/unix/sysv/linux/gethostid.c: Likewise.
5320         * sysdeps/generic/ftruncate64.c: Define __ftruncate64 and make old
5321         name a weak alias.
5322         * sysdeps/unix/sysv/aix/ftruncate64.c: Likewise.
5323         * sysdeps/unix/sysv/linux/ftruncate64.c: Likewise.
5324         * sysdeps/unix/sysv/linux/mips/ftruncate64.c: Likewise.
5325         * sysdeps/unix/sysv/linux/powerpc/ftruncate64.c: Likewise.
5327         * resolv/res_data.c: Add cast to avoid warning.
5329         * include/unistd.h: Declare __ftruncate64.
5331         * sysdeps/generic/utmp_file.c: Use LFS functions and types.
5333         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use __lseek64
5334         instead of __lseek.
5336 2001-02-13  Andreas Jaeger  <aj@suse.de>
5338         * login/getutent_r.c: Include <stdlib.h> for NULL.
5339         * login/getutid_r.c: Likewise.
5341 2001-02-12  Ulrich Drepper  <drepper@redhat.com>
5343         * sysdeps/dbl-64/e_j0.c: Little optimization, use sincos.
5344         * sysdeps/dbl-64/e_j1.c: Likewise.
5345         * sysdeps/dbl-64/e_jn.c: Likewise.
5346         * sysdeps/flt-32/e_j0f.c: Likewise.
5347         * sysdeps/flt-32/e_j1f.c: Likewise.
5348         * sysdeps/ldbl-96/e_j0l.c: Likewise.
5350 2000-12-02  H.J. Lu  <hjl@gnu.org>
5352         * resolv/res_libc.c (res_init): Don't make it default.
5354 2001-02-12  Ulrich Drepper  <drepper@redhat.com>
5356         * manual/debug.texi: Improved the wording.
5357         Patch by Philip Blundell <pb@futuretv.com>.
5359 2001-02-12  Andreas Jaeger  <aj@suse.de>
5361         * posix/Makefile (tests): Don't run bug-regex2 when
5362         cross-compiling.
5364         * libio/Makefile (tests): Don't run test-freopen when
5365         cross-compiling.
5367         * manual/stdio.texi (Streams and I18N): Fix typos.
5369 2001-02-12  Ulrich Drepper  <drepper@redhat.com>
5371         * sysdeps/i386/fpu/libm-test-ulps: Adjust for errors in y0l.
5373         * math/libm-test.inc (j0_test): Make expected results long double
5374         constants.
5375         (y0_test): Likewise.
5377         * sysdeps/ieee754/ldbl-96/e_j0l.c: New file.
5378         Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>.
5380 2001-02-11  Jakub Jelinek  <jakub@redhat.com>
5382         * sysdeps/generic/strtoll.c (__strtoq_internal): Ressurect alias
5383         which was exported from libc.
5384         * sysdeps/generic/strtoull.c (__strtouq_internal): Likewise.
5386 2001-02-12  Andreas Jaeger  <aj@suse.de>
5388         * manual/arith.texi (Parsing of Integers): Fix some wordings.
5390 2001-02-11  Ulrich Drepper  <drepper@redhat.com>
5392         * sysdeps/generic/getsysstat.c: Change return value of get_phys_pages
5393         and get_avphys_page to long int.
5394         * sysdeps/unix/sysv/linux/getsysstat.c: Likewise.
5395         * include/sys/sysinfo.h: Likewise.
5396         * sysdeps/generic/sys/sysinfo.h: Likewise.
5397         * sysdeps/unix/sysv/linux/sys/sysinfo.h: Likewise.
5399         * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Fail if we
5400         cannot return as many values as the user asked for.
5402 2001-02-11  Andreas Jaeger  <aj@suse.de>
5404         * manual/resource.texi (Memory Resources): Fix typo.
5406         * libio/Makefile ($(objpfx)test-freopen.out): Pass
5407         run-program-prefix.
5409         * libio/test-freopen.sh: Use run_program_prefix.
5411 2001-02-10  Andreas Jaeger  <aj@suse.de>
5413         * stdlib/Makefile (tests): Don't run tst-fmtmsg when
5414         cross-compiling.
5415         ($(objpfx)tst-fmtmsg.out): Pass run-program-prefix.
5417         * stdlib/tst-fmtmsg.sh (test): Use run_program_prefix for static
5418         only builds.
5420         * elf/Makefile (tests): Only run tst-pathopt with shared libs.
5422         * posix/Makefile: Fix typo, it's build-static-nss.
5424         * iconv/Makefile (extra-objs): New.
5426 2001-02-10  Mark Kettenis  <kettenis@gnu.org>
5428         * sysdeps/unix/stime.c: Include <time.h>.
5430         * sysdeps/mach/hurd/setitimer.c: Include <time.h>.
5432 2001-02-10  Andreas Jaeger  <aj@suse.de>
5434         * manual/string.texi (Search Functions): Fix typo.
5436 2001-02-10  Mark Kettenis  <kettenis@gnu.org>
5438         * sysdeps/unix/bsd/times.c: Reorder includes and add <time.h>.
5439         (timeval_to_clock_t): Add clk_tck argument and use that instead of
5440         CLK_TCK.
5441         (__times): Use __getclktck to get the number of clock ticks per
5442         second and use its return value instead of CLK_TCK.
5444 2001-02-10  Mark Kettenis  <kettenis@gnu.org>
5446         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h (_HAVE_SA_LEN): Define.
5448 2001-02-10  Mark Kettenis  <kettenis@gnu.org>
5450         * sysdeps/mach/gettimeofday.c: Include <stddef.h>.
5452 2001-02-10  Andreas Jaeger  <aj@suse.de>
5454         * wctype/wcfuncs.c (func): Add prototype declarations to avoid
5455         warning.
5457 2001-02-09  Ulrich Drepper  <drepper@redhat.com>
5459         * posix/Makefile: Add rules to build and run bug-regex2.
5460         * posix/bug-regex2.c: New file.
5462 2001-02-10  Jakub Jelinek  <jakub@redhat.com>
5464         * posix/regex.c (convert_mbs_to_wcs): Change is_binary to char *.
5465         (regex_compile): Likewise.
5466         (FREE_VARIABLES): Don't free is_binary1 and is_binary2.
5467         (re_match_2_internal): Use just is_binary instead of two variables.
5468         Use REGEX_TALLOC to allocate it and FREE_VAR to free on failure.
5470 2001-02-09  Ulrich Drepper  <drepper@redhat.com>
5472         * version.h (VERSION): Bump to 2.2.2.
5474         * iconv/Makefile (distribute): Add iconv_charmap.c and
5475         dummy-repertoire.c.
5476         * elf/Makefile (distribute): Add firstobj.c.
5477         * Makefile (distribute): Add include/pthread.h.
5479         * configure.in: Require makeinfo version 4.
5481         * libio/tst_wscanf.c (main): Add cast to avoid warning.
5482         * libio/tst_swscanf.c (main): Likewise..
5484 2001-02-09  Jakub Jelinek  <jakub@redhat.com>
5486         * sysdeps/generic/setenv.c (unsetenv): Remove const from len.
5487         * sysdeps/sparc/fpu/bits/mathinline.h (sqrt, fdim): Don't define if
5488         __NO_MATH_INLINES.
5489         * sysdeps/i386/dl-machine.h (elf_machine_rel): Only declare refsym
5490         if not RTLD_BOOTSTRAP.
5491         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
5492         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
5494 2001-02-09  Ulrich Drepper  <drepper@redhat.com>
5496         * locale/programs/linereader.c (get_ident): Stop loop if EOF.  Use
5497         lr_ungetc to push back last read character.
5498         * locale/programs/linereader.h (lr_ungetc): Don't push back is
5499         character is EOF.
5500         (lr_ignore_rest): Don't warn about garbage if it is really the end
5501         of the file.
5503         * manual/Makefile: Use ifnottext and not ifinfo to protect Top node
5504         definition.
5506 2001-02-08  Ulrich Drepper  <drepper@redhat.com>
5508         * Makerules (build-shlib): Work around different order of
5509         processing of -B option in different gcc versions.
5511         * posix/regex.c: Fix alignment problem.
5512         Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
5514         * sysdeps/alpha/strrchr.S: Little optimization.
5515         Patch by Richard Henderson <rth@redhat.com>.
5517         * sysdeps/alpha/alphaev67/strrchr.S: New file.
5518         Contributed by Rick Gorton <rick.gorton@alpha-processor.com>.
5520 2001-02-08  kaz Kojima  <kkojima@rr.iij4u.or.jp>
5522         * sysdeps/sh/sh3/setjmp.S (__sigsetjmp): Correct function name
5523         in the assembler end directive.
5525 2001-02-08  Andreas Jaeger  <aj@suse.de>
5527         * manual/stdio.texi (Closing Streams): Fix typos.
5529 2001-02-07  Ulrich Drepper  <drepper@redhat.com>
5531         * sysdeps/alpha/alphaev67/strncat.S: Align last write address.
5532         Patch by Richard Henderson <rth@redhat.com>.
5533         Reported by Claus-Justus Heine <heine@instmath.rwth-aachen.de>.
5535         * stdlib/strfmon.c [USE_IN_LIBIO]: Define lock variable and store
5536         pointer in FILE structure before calling _IO_init.
5537         * stdlib/Makefile: Add -D_IO_MTSAFE_IO to CFLAGS for strfmon and
5538         strfmon_l if necessary.
5539         Reported by Jury Gerold <gjury@grips.com>.
5541         * sysdeps/gnu/netinet/tcp.h: Correct values of TCP_ macros.
5542         Patch by Pekka.Pietikainen@cern.ch.
5544         * posix/regex.c: Correct several problems with 64-bit architectures
5545         introduced in the MBS changes.
5546         Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
5548 2001-02-07  Jakub Jelinek  <jakub@redhat.com>
5550         * math/tgmath.h: Only add l suffixes if __NO_LONG_DOUBLE_MATH is
5551         not defined.
5552         * sysdeps/alpha/fpu/bits/mathinline.h: Honour __NO_MATH_INLINES.
5554 2001-02-07  Andreas Jaeger  <aj@suse.de>
5556         * manual/install.texi (Tools for Compilation): Fix typo.
5557         Reported by Pavel Machek <pavel@bug.ucw.cz>.
5559 2001-02-07  Ulrich Drepper  <drepper@redhat.com>
5561         * stdlib/strtod.c: Never stop prematurely reading digits before the
5562         decimal point is found.  Compute exponent limit for negative exponents
5563         correctly.  For numbers ending in all zeros eat the zeros even before
5564         the decimal point if the exponent is negative [PR libc/2072].
5565         * stdlib/Makefile (tests): Add bug-strtod.
5566         * stdlib/bug-strtod.c: New file.
5568 2001-02-07  Andreas Jaeger  <aj@suse.de>
5570         * posix/bug-regex1.c: Include <wchar.h> for fwide.
5572 2001-02-06  Ulrich Drepper  <drepper@redhat.com>
5574         * posix/regex.c (regex_compile): Don't store pointer in wchar_t array.
5575         Store index.
5576         (compile_range): Handle index being passed, not pointer.
5577         Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
5579         * posix/regex.c: Fix a cast in the code for bracket handling which
5580         caused 8-bit uncleanliness.
5581         Patch by Michal Jaegermann <michal@ellpspace.math.ualberta.ca>.
5583         * posix/Makefile (tests): Add bug-regex1.
5584         * posix/bug-regex1.c: New file.
5585         Contributed by Jim Meyering <jim@meyering.net>.
5587         * posix/regex.c: Many cleanups for incorrect format strings.
5589 2001-02-06  Andreas Jaeger  <aj@suse.de>
5591         * time/time.h (CLK_TCK): Check for !__STRICT_ANSI.
5593 2001-02-06  Ulrich Drepper  <drepper@redhat.com>
5595         * locale/programs/locale.c (write_locales): Use scandir to read
5596         directory so that the entries are sorted.
5598 2001-02-06  Andreas Jaeger  <aj@suse.de>
5600         * include/pthread.h: New file.
5602         * wctype/wctype.h: Move internal interfaces from here to...
5603         * include/wctype.h: ...here.
5605         * wcsmbs/wchar.h: Move __wcslen from here to...
5606         * include/wchar.h: ...here.
5608         * posix/sys/wait.h: Move __wait from here to...
5609         * include/sys/wait.h: ...here.
5611         * string/string.h: Move __ffs and __strerror_r from here to...
5612         * include/string.h: ...here.
5614         * stdlib/stdlib.h: Move __on_exit from here to...
5615         * include/stdlib.h: ...here.
5617         * libio/stdio.h: Move __vsnprintf from here to...
5618         * include/stdio.h: ...here.
5620 2001-02-06  Andreas Schwab  <schwab@suse.de>
5622         * sysdeps/unix/sysv/linux/ia64/ioperm.c: Don't include kernel
5623         headers.
5625         * timezone/Makefile: Don't assume that $(inst_zonedir) is a subdir
5626         of $(inst_datadir).
5628 2001-02-06  Ulrich Drepper  <drepper@redhat.com>
5630         * iconvdata/Makefile: Add dependency for bug-iconv2.out.
5632 2001-02-06  Andreas Jaeger  <aj@suse.de>
5634         * elf/firstobj.c: Add prototype.
5636         * posix/regex.c (convert_mbs_to_wcs): Make static, add prototype
5637         (truncate_wchar): Likewise.
5639 2001-02-06  Ulrich Drepper  <drepper@redhat.com>
5641         * locale/programs/locale.c: Implement --verbose option for -a
5642         which prints detailed information about the locales.
5644 2001-02-05  Ulrich Drepper  <drepper@redhat.com>
5646         * sunrpc/xdr_rec.c (set_input_fragment): Change type of header
5647         variable to uint32_t.
5648         Reported by Ulrich Weigand <weigand@immd1.informatik.uni-erlangen.de>.
5650 2001-02-04  Bruno Haible  <haible@clisp.cons.org>
5652         * locale/C-translit.h.in: Add transliterations for CJK units of
5653         measurement.
5655 2001-02-05  Ulrich Drepper  <drepper@redhat.com>
5657         * elf/cache.c (print_entry): Use PRIx64 instead of Lx in printf
5658         string.  Include <inttypes.h> instead of <stdint.h>.
5660         * localedata/Makefile (tests): Add bug-iconv-trans.
5661         Define bug-iconv-trans-ENV.
5662         * localedata/bug-iconv-trans.c: New file.
5664 2001-02-04  Bruno Haible  <haible@clisp.cons.org>
5666         * iconv/gconv_trans.c (__gconv_transliterate): Use a temporary output
5667         pointer, to avoid accumulating output from incomplete (unsuccessful)
5668         transliteration attempts.
5670 2001-02-05  Ulrich Drepper  <drepper@redhat.com>
5672         * elf/ldconfig.c (search_dir): Use PRIx64 instead of Lx in printf
5673         string.  Include <inttypes.h> instead of <stdint.h>.
5675         * configure.in: Add check for bison.
5676         * config.make.in: Define BISON variable.
5677         * intl/Makefile: Use BISON instead of YACC when generating plural.c.
5678         Rename YFLAGS to BISONFLAGS.
5680 2001-02-05  Andreas Jaeger  <aj@suse.de>
5682         * io/test-lfs.c (do_test): Test lseek64 return value, call
5683         test_ftello.
5684         (test_ftello): New function to test ftello64 and fseeko64.
5686         * signal/signal.h: Move __sigaction from here to...
5687         * include/signal.h: ...here.
5689         * io/fcntl.h: Move __fcntl and __open to...
5690         * include/fcntl.h: ...here.
5692 2001-02-04  Philip Blundell  <philb@gnu.org>
5694         * configure.in: Distinguish ARM from Thumb.
5696 2001-02-04  Philip Blundell  <philb@gnu.org>
5698         * sysdeps/arm/dl-machine.h (elf_machine_rel): Correct handling of
5699         PC24 relocs with negative value.
5701 2001-02-04  Ulrich Drepper  <drepper@redhat.com>
5703         * iconv/Makefile (iconv_prog-modules): Define.  Add vpath to find
5704         files in locale/programs.  Add CFLAGS definition to allow compiling
5705         localedef files.
5706         * iconv/dummy-repertoire.c: New file.
5707         * iconv/iconv_charmap.c: New file.
5708         * iconv/iconv_prog.h: New file.
5709         * iconv/iconv_prog.c: Make verbose and omit_invalid global.
5710         (main): If parameter for -f and -t contain slashes try first to resolve
5711         the strings as filenames of charmap files.  Use them for conversion
5712         in this case.
5713         * iconvdata/run-iconv-test.sh: If charmaps exist also run tests with
5714         iconv getting charmap names as parameters.
5715         * locale/programs/linereader.c (lr_token): Take extra parameters
5716         verbose and pass it to get_string.
5717         (get_string): Take extra parameters verbose.
5718         * locale/programs/charmap.c (parse_charmap): Take extra parameters
5719         verbose and be_quiet.  Change all callers of lr_token and
5720         parse_charmap.
5721         * locale/programs/charmap.h: Likewise.
5722         * locale/programs/ld-address.c: Likewise.
5723         * locale/programs/ld-collate.c: Likewise.
5724         * locale/programs/ld-ctype.c: Likewise.
5725         * locale/programs/ld-identification.c: Likewise.
5726         * locale/programs/ld-measurement.c: Likewise.
5727         * locale/programs/ld-messages.c: Likewise.
5728         * locale/programs/ld-monetary.c: Likewise.
5729         * locale/programs/ld-name.c: Likewise.
5730         * locale/programs/ld-numeric.c: Likewise.
5731         * locale/programs/ld-paper.c: Likewise.
5732         * locale/programs/ld-telephone.c: Likewise.
5733         * locale/programs/ld-time.c: Likewise.
5734         * locale/programs/linereader.c: Likewise.
5735         * locale/programs/linereader.h: Likewise.
5736         * locale/programs/localedef.c: Likewise.
5737         * locale/programs/locfile.c: Likewise.
5738         * locale/programs/locfile.h: Likewise.
5739         * locale/programs/repertoire.c: Likewise.
5741 2001-02-03  Ulrich Drepper  <drepper@redhat.com>
5743         * iconv/iconv_prog.c (main): If output file name is "-" write to
5744         stdout.
5745         (main): If -f or -t argument is missing use charset of the current
5746         locale.
5748 2001-02-03  Andreas Jaeger  <aj@suse.de>
5750         * sysdeps/i386/elf/start.S (_start): Align stack to 16-byte
5751         boundary for SSE/SSE-2 alignment.
5753         * posix/Makefile ($(objpfx)annexc.out): Also pass sysincludes to
5754         annexc.
5756 2001-02-03  Ulrich Drepper  <drepper@redhat.com>
5758         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: File was using crlf.
5759         Remove comma at end of enum.
5761         * elf/dl-init.c: Add a few __builtin_expect.
5763         * hesiod/hesiod.c: Remove unnecessary code.  Remove all uses of strcat.
5765 2001-02-02  Ulrich Drepper  <drepper@redhat.com>
5767         * hesiod/hesiod.c (hesiod_resolve): Also search HS records if
5768         errno is ECONNREFUSED.
5770         * posix/Makefile: Define MBS_SUPPORT for regex.c.
5771         * posix/regex.c: Implement multibyte character handling.
5772         Patch by Isamu Hasegawa <isamu@yamato.ibm.co.jp>.
5774         * string/tst-svc.input: Add two more test cases.
5775         * string/tst-svc.expect: Modify to reflect new test cases.
5777 2001-02-01  Jakub Jelinek  <jakub@redhat.com>
5779         * sysdeps/posix/getaddrinfo.c (gaih_local, gaih_inet): Replace all
5780         tp->name tests with tp->name[0] tests.
5782 2001-01-29  Ben Collins  <bcollins@debian.org>
5784         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r):
5785         Fix check for name == NULL.
5787 2001-02-01  Ulrich Drepper  <drepper@redhat.com>
5789         * elf/Makefile: Add rules to build and run initfirst test.
5790         * elf/initfirst.c: New file.
5791         * elf/firstobj.c: New file.
5793         * Makerules (build-shlib): Add $(extra-B-$(@F:lib%.so=%).so).
5794         * configure.in: Test for -z initfirst linker option.
5795         * config.make.in: Add have-z-initfirst.
5796         * elf/dl-init.c (_dl_init): Split out actual initialization code in
5797         new function call_init.  If _dl_initfirst is non-NULL initialize first.
5798         * elf/dl-load.c (_dl_map_from_fd): If DF_1_INITFIRST flag is set
5799         remember object in _dl_initfirst.
5800         * elf/soinit.c: Remove special support for calling
5801         __pthread_initialize_minimal.
5803         * conform/conformtest.pl: Add missing $prepend in type test.
5805 2001-01-31  Ulrich Drepper  <drepper@redhat.com>
5807         * elf/elf.h (SHT_CHECKSUM): New definition.
5809         * posix/fnmatch_loop.c: Remove incorrect reverse condition in
5810         [. .] matching.  Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
5811         * posix/tst-fnmatch.input: Add tests for [. .] in locales.
5813 2001-01-31  Mark Kettenis  <kettenis@gnu.org>
5815         * misc/sys/select.h: Include <bits/time.h> instead of <sys/time.h>
5816         to get definition of `struct timeval'.
5818 2001-01-31  Ulrich Drepper  <drepper@redhat.com>
5820         * posix/tst-fnmatch.input: Add test cases for de_DE.UTF-8 locale.
5821         * posix/fnmatch_loop.c: Fix handling of [= =] for multibyte charsets.
5823 2001-01-30  Ulrich Drepper  <drepper@redhat.com>
5825         * iconv/gconv_open.c (__gconv_open): Set conv_flags if IGNORE is
5826         seen, not flags.
5828         * nis/nis_findserv.c: Include <time.h>.
5830 2001-01-30  Yong Li  <yong.li@asu.edu>
5832         * iconv/iconv_prog.c (main): Correct error handling method name.
5834 2001-01-29  Ben Collins  <bcollins@debian.org>
5836         * sysdeps/sparc/fpu/fraiseexcpt.c: Include <float.h>.
5837         * sysdeps/hppa/fpu/fraiseexcpt.c: Likewise.
5838         * sysdeps/m68k/fpu/fraiseexcpt.c: Likewise.
5839         * sysdeps/s390/fpu/fraiseexcpt.c: Likewise.
5841 2001-01-30  Ulrich Drepper  <drepper@redhat.com>
5843         * locale/programs/ld-measurement.c (measurement_finish): Fix a typo.
5844         Patch by Marko Myllynen <myllynen@lut.fi>.
5846         * string/bits/string2.h (__strpbrk_c2): Correct parameter types
5847         (int instead of char).
5848         (__strpbrk_c3): Likewise.
5849         Reported by GOTO Masanori <gotom@debian.or.jp>.
5851         * sysdeps/generic/bits/sockaddr.h: Remove SA_LEN macro.
5852         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Likewise.
5853         * include/sys/socket.h: Add SA_LEN here for internal use.
5854         Reported by Arkadiusz Miskiewicz <misiek@pld.ORG.PL>.
5856 2001-01-29  Ulrich Drepper  <drepper@redhat.com>
5858         * malloc/Makefile: Don't build memusagestat if cross-compiling.
5860         * sysdeps/generic/dl-sysdep.c (set_seen): Fix typo.
5862         * math/libm-test.inc (rint_test): Add a few more tests for round
5863         to even rounding.
5865 2001-01-28  Ulrich Drepper  <drepper@redhat.com>
5867         * conform/data/pthread.h-data: Correct return type of pthread_exit.
5869         * conform/conformtest.pl: Add -fno-builtin to CFLAGS.
5871         * conform/data/stdlib.h-data: Add _Exit.
5873         * inet/arpa/inet.h: Don't include <sys/types.h>.  Define socklen_t
5874         if not already happened.
5875         * inet/netinet/in.h: Don't include <sys/types.h>, use <bits/types.h>.
5876         Don't include <limits.h> and <bits/sockaddr.h>.
5878         * conform/data/netinet/in.h-data: Allow all of <inttypes.h>.
5880         * conform/data/spawn.h-data: Allow all of <sched.h>.
5882         * sysdeps/ia64/fpu/fraiseexcpt.c: Include <float.h>.  Removed
5883         unused variable.
5885         * sunrpc/xdr_rec.c (xdrrec_getpos): Add cast to long to avoid warning.
5886         * sunrpc/xdr_sizeof.c (x_inline): Likewise.
5888         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Include <float.h>.
5890         * conform/conformtest.pl: Define $mustprepend{"stdio.h"}.
5891         * libio/stdio.h: Define va_list correctly.
5893         * conform/data/pthread.h-data: Make priority protocol related
5894         functions optional.  Fix typos.
5896         * posix/sched.h: Define sched_priority as __sched_priority.
5897         * sysdeps/generic/bits/sched.h (struct sched_param): Rename element
5898         to __sched_priority.
5899         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
5901 2001-01-27  Ulrich Drepper  <drepper@redhat.com>
5903         * sysdeps/generic/clock_getcpuclockid.c: Include <time.h> instead
5904         of <sys/time.h>.
5906         * sysdeps/unix/stime.c: Include <stddef.h> for NULL.
5907         * sysdeps/unix/time.c: Likewise.
5909         * conform/data/time.h-data: CLK_TCK is not in XPG6.  Fix tzname entry.
5910         * sysdeps/mach/hurd/bits/time.h: Don't define CLK_TCK for XPG6.
5911         * sysdeps/mach/hurd/i386/bits/time.h: Likewise.
5912         * sysdeps/unix/sysv/linux/bits/time.h: Likewise.
5913         * sysdeps/unix/sysv/linux/alpha/bits/time.h: Likewise.
5914         * sysdeps/unix/sysv/linux/i386/bits/time.h: Likewise.
5915         * sysdeps/unix/sysv/linux/ia64/bits/time.h: Likewise.
5916         * time/time.h: Likewise.
5918         * conform/conformtest.pl (@headers): Add complex.h and tgmath.h.
5919         * conform/data/complex.h-data: New file.
5920         * conform/data/tgmath.h-data: New file.
5922         * conform/data/wchar.h-data: Add missing functions.
5924         * sysdeps/gnu/bits/utmpx.h: Define RUN_LVL only if __USE_GNU.
5926         * conform/data/termios.h-data: Add missing const in tcsetattr()
5927         prototype.
5929         * posix/sys/wait.h: Include <signal.h> and <sys/resource.h>.
5930         Don't define pid_t here.
5932         * conform/data/sys/utsname.h-data: Don't provide fixed array sizes.
5934         * conform/data/sys/time.h-data: Allow sys/select.h.
5935         * conform/data/sys/un.h-data: Fix typo.
5936         * time/sys/time.h: Don't include all of <time.h>, just struct timeval.
5937         * sysdeps/posix/clock_getres.c: Include <time.h> instead of
5938         <sys/time.h>.
5939         * sysdeps/unix/clock_nanosleep.c: Likewise.
5940         * sysdeps/unix/i386/clock_getcpuclockid.c: Likewise.
5941         * sysdeps/unix/i386/i586/clock_getres.c: Likewise.
5942         * sysdeps/unix/clock_gettime.c: Also include <time.h>.
5943         * sysdeps/unix/clock_settime.c: Likewise.
5945         * sysdeps/generic/pselect.c: Include <stddef.h> for NULL.
5946         * login/getutent.c: Likewise.
5947         * login/getutid.c: Likewise.
5948         * login/getutline.c: Likewise.
5950         * socket/sys/un.h: Define SUN_LEN only if __USE_MISC.
5952         * sysdeps/unix/sysv/linux/bits/statvfs.h: Change type of f_fsid field
5953         to unsigned long.  Add __f_unused.  Define _STATVFSBUF_F_UNUSED.
5954         * sysdeps/unix/sysv/linux/internal_statvfs.c: Adjust initialization of
5955         f_fsid field after change in struct statvfs.
5956         * sysdeps/unix/sysv/linux/alpha/bits/statvfs.h: New file.
5957         * sysdeps/unix/sysv/linux/ia64/bits/statvfs.h: New file.
5958         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/statvfs.h: New file.
5960         * conform/data/sys/stat.h-data: Remove isfdtype.  Use
5961         optional-macro.
5963         * conform/data/sys/socket.h-data: Fix typos.  Correct getsockopt,
5964         recvfrom, send, and socketpair prototypes.  Add allow lines.
5965         * socket/sys/socket.h: Include <sys/uio.h>.
5966         Don't use fancy __SOCKADDR_ARG definition unless __USE_GNU.
5967         Fix type of second parameter of listen.
5968         Don't declare isfdtype unless __USE_MISC.
5969         * sysdeps/generic/listen.c: Fix type of second parameter of listen.
5970         * sysdeps/mach/hurd/listen.c: Likewise.
5971         * sysdeps/generic/bits/socket.h (struct sockaddr_storage): Define
5972         ss_family and __ss_family.
5973         * sysdeps/unix/sysv/aix/bits/socket.h: Likewise.
5974         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
5975         (struct msghdr): Change type of msg_iovlen to int and type of
5976         msg_controllen to socklen_t.
5977         * sysdeps/unix/sysv/linux/alpha/bits/socket.h: New file.
5978         * sysdeps/unix/sysv/linux/ia64/bits/socket.h: New file.
5979         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/socket.h: New file.
5980         * inet/rcmd.c (rcmd_af): __ss_family is now ss_family.
5981         (rresvport_af): Likewise.
5983         * conform/data/sys/shm.h-data: SHMLBA is not required to by a constant.
5984         * conform/conformtest.pl: Implement handling of symbol.
5986         * signal/signal.h: Fix handling of __need_* symbols.
5987         * misc/sys/select.c: Define fd_set here.  Remove __fd_set.  Define
5988         fd_mask only if __USE_MISC.  Declare pselect for __USE_XOPEN2K.
5989         * include/sys/select.h: Use fd_set not __fd_set.
5990         * sysdeps/generic/bits/select.h: Likewise.
5991         * sysdeps/i386/bits/select.h: Likewise.
5992         * sysdeps/generic/bits/types.h: Don't define __fd_mask, __NFDBITS,
5993         __FDELT, __FDMASK, and __fd_set here.
5994         * sysdeps/unix/sysv/aix/bits/types.h: Likewise.
5995         * sysdeps/unix/sysv/hpux/bits/types.h: Likewise.
5996         * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
5997         * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
5998         * sysdeps/unix/sysv/linux/ia64/bits/types.h: Likewise.
5999         * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
6000         * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
6001         * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
6002         * time/sys/time.h: Define struct timeval before including <time.h>
6003         and <sys/select.h>.
6005         * conform/data/sys/time.h-data: fd_set is a typedef.
6006         * conform/data/sys/select.h-data: New file.
6007         * conform/data/sys/mman.h-data: Make typed mem stuff optional.
6008         * conform/conformtest.pl (@headers): Add sys/select.h.
6009         (type, optional-type): Unless testing a typedef instantiate object.
6010         Implement optional-function.
6012         * math/test-misc.c: Include <float.h>.
6014 2001-01-27  Andreas Jaeger  <aj@suse.de>
6016         * misc/efgcvt_r.c: Include <float.h>.
6018 2001-01-26  Ulrich Drepper  <drepper@redhat.com>
6020         * conform/data/stdlib.h-data: Account for XPG6 changes.
6021         * stdlib/stdlib.h (__random): Change return value type to long.
6022         (posix_memalign): Cleanup parameter names.
6023         (setenv, unsetenv): Make available for __USE_XOPEN2K.
6024         Change return type of unsetenv to int.
6025         (qecvt, qgcvt, qfcvt): Declare only if __USE_MISC.
6026         * include/stdlib.h: Change return type of unsetenv to int.
6027         Change return type of random to long int.
6028         * sysdeps/generic/setenv.c (unsetenv): Change return type to int.
6029         Return -1 and set errno if parameter is invalid.
6030         * stdlib/random.c (__random): Change return value type to long.
6032         * conform/data/stdio.h-data: Account for changes in XPG6.
6034         * conform/data/spawn.h-data: Correct posix_spawnattr_setflags
6035         prototype.
6037         * conform/conformtest.pl: Define $mustprepend{"signal.h"}.
6038         * conform/data/signal.h-data: Fix sigev_notify_function entry.
6039         Fix typo (SIGVALRM -> SIGVTALRM).
6040         * sysdeps/unix/sysv/linux/bits/siginfo.h: Define sigev_notify_attr
6041         with real type.
6042         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Likewise.
6043         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
6044         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Likewise.
6045         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
6046         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/siginfo.h: Likewise.
6048         * conform/conformtest.pl: Implement optional-element.  Define
6049         $mustprepend{"sched.h"}.
6050         * conform/data/sched.h-data: Make sporadic scheduler definitions
6051         optional.
6053         * pwd/pwd.h: Don't define getpwent_r for XPG.
6055         * io/sys/poll.h: Define nfds_t and use it in poll prototype.
6056         * sysdeps/generic/poll.c: Use nfds_t type in function definition.
6057         * sysdeps/mach/hurd/poll.c: Likewise.
6058         * sysdeps/unix/bsd/poll.c: Likewise.
6059         * sysdeps/unix/sysv/linux/poll.c: Likewise.
6060         * sysdeps/unix/sysv/aix/poll.c: Likewise.
6061         * sysdeps/generic/bits/poll.h: Define NPOLLFILE only if __USE_MISC.
6062         * sysdeps/unix/sysv/linux/bits/poll.h: Likewise.
6063         * sysdeps/unix/sysv/linux/m68k/bits/poll.h: Likewise.
6064         * sysdeps/unix/sysv/linux/mips/bits/poll.h: Likewise.
6065         * sysdeps/unix/sysv/linux/sparc/bits/poll.h: Likewise.
6066         * conform/data/poll.h-data: Fix typo in poll prototype.
6068         * sysdeps/gnu/netinet/tcp.h: Define everything but TCP_ macros
6069         only if __USE_MISC.
6070         * conform/data/netinet/tcp.h-data: Reserved prefix TCP_.
6072         * sysdeps/gnu/net/if.h: Cleanup namespace.  Define IF_NAMESIZE.
6074         * inet/netinet/in.h: Make IPPROTO_ constants also macros.
6076         * conform/conformtest.pl: Implement optional-type.
6078         * resolv/netdb.h: Include <netinet/in.h> not <sys/socket.h>.  Include
6079         <rpc/netdb.h> only if __USE_MISC.  Include <stdint.h> instead of
6080         defining uint32_t here.  Define IPPORT_RESERVED.
6081         (struct hostent): Type of h_length element is int.
6082         (getnameinfo): Type of flags parameter is unsigned int.
6083         * inet/getnameinfo.c (getnameinfo): flags argument is unsigned.
6084         * conform/data/netdb.h-data: Add many missing definitions.
6086         * conform/conformtest.pl: Implement optional-macro.
6087         * conform/data/math.h-data: Update for XPG6.
6089         * math/math.h (HUGE): Define as FLT_MAX value but don't use
6090         FLT_MAX.  Don't include <float.h>.
6091         (MAXFLOAT): Likewise.
6093         * math/math.h: Define MATH_ERRNO and MATH_ERREXCEPT.
6095         * include/bits/xopen_lim.h: Don't define FOPEN_MAX here.
6097         * conform/data/limits.h-data: Mark constants as optional wherever
6098         appropriate.
6100         * posix/bits/posix2_lim.h: Set correct values for
6101         _POSIX2_COLL_WEIGHTS_MAX and _POSIX2_CHARCLASS_NAME_MAX.  Remove
6102         EQUIV_CLASS_MAX.
6104         * posix/bits/posix1_lim.h: Define _POSIX_TZNAME_MAX as 6.
6105         Required by POSIX.
6107         * intl/loadmsgcat.c: Include <locale.h.> for _LIBC.
6109         * conform/data/netinet/in.h-data: Add reserved prefixes.
6111         * conform/data/arpa/inet.h-data: Fix a few typos.
6113 2001-01-26  Andreas Jaeger  <aj@suse.de>
6115         * sysdeps/generic/strtol.c: Include <locale.h>
6116         * stdlib/strtod.c: Likewise
6117         * stdlib/strfmon.c: Likewise.
6118         * string/strcoll.c: Likewise.
6119         * string/strxfrm.c: Likewise.
6120         * wctype/wcfuncs_l.c: Likewise.
6121         * wctype/wctype_l.c: Likewise.
6122         * wctype/wctrans_l.c: Likewise.
6124         * include/bits/locale.h: New file.
6126 2001-01-26  Ulrich Drepper  <drepper@redhat.com>
6128         * locale/langinfo.h: Correct logic in #ifs when defining YESSTR
6129         and NOSTR.
6131         * locale/Makefile (headers): Add bits/locale.h.
6132         * locale/langinfo.h: Don't include <locale.h>.  Include <bits/locale.h>
6133         and use __LC_ constants instead of LC_.
6134         * locale/locale.h: Include <bits/locale.h> and define LC_ constants
6135         using __LC_ constants.
6136         * locale/bits/locale.h: New file.
6137         * locale/loadlocale.c: Include <locale.h>.
6138         * locale/nl_langinfo.h: Likewise.
6140         * posix/glob.h: Cleanup namespace for non-_GNU_SOURCE case.
6142         * io/sys/stat.h: Define S_IFSOCK for XPG6.
6144         * conform/data/fcntl.h-data: posix_madvise is not expected here.
6146         * conform/conformtest.pl: Fix handling of macro-str.
6148         * conform/data/inttypes.h-data: Add missing definition and all of
6149         stdint.h-data.
6151         * sysdeps/unix/sysv/linux/sys/param.h (MAXSYMLINKS): Bump to 20.
6153 2001-01-25  Ulrich Drepper  <drepper@redhat.com>
6155         * conform/conformtest.pl (@headers): Add stdint.h.
6156         * conform/data/stdint.h-data: New file.
6158         * conform/conformtest.pl: Recognize options --headers and
6159         --dialect.  Add dialect-specific CFLAGS.
6161         * conform/conformtest.pl: Implement handling of recursive
6162         allow-header.
6164         * conform/data/locale.h-data: Add new struct lconv members.
6166         * posix/wordexp.h: Correct definition of wordexp_t.
6167         * posix/wordexp.c: Moved to ...
6168         * sysdeps/generic/wordexp.c: ...here.  New file.
6169         * sysdeps/unix/sysv/linux/alpha/wordexp.c: New file.
6170         * sysdeps/unix/sysv/linux/ia64/wordexp.c: New file.
6171         * sysdeps/unix/sysv/linux/sparc/sparc64/wordexp.c: New file.
6172         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.2.2): Add
6173         wordexp.
6174         * sysdeps/unix/sysv/linux/ia64/Versions: Likewise.
6175         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions: Likewise.
6177         * math/tgmath.h: Pretty printing.
6179         * math/Makefile (tests): Add test-tgmath.
6180         (CFLAGS-test-tgmath.c): New variable.
6181         * math/test-tgmath.c: New file.  Contributed by Jakub Jelinek.
6183         * conform/conformtest.pl: Handle allow-header in secondary headers
6184         correctly.
6186         * conform/data/fcntl.h-data: Mark symbols introduced in XPG6 with
6187         #ifdef.
6189         * conform/data/netinet/in.h-data: Use correct comment character.
6190         * conform/data/sys/stat.h-data: Likewise.
6192 2001-01-25  Jakub Jelinek  <jakub@redhat.com>
6194         * math/tgmath.h (__TGMATH_BINARY_FIRST_REAL_ONLY,
6195         __TGMATH_BINARY_REAL_ONLY, __TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY,
6196         __TGMATH_TERNARY_REAL_ONLY): Use proper arguments to
6197         __builtin_classify_type, add ##f suffixes where appropriate.
6198         (__TGMATH_UNARY_REAL_IMAG): Remove extraneous left parenthesis.
6199         (__TGMATH_BINARY_REAL_IMAG): Likewise, use proper arguments to
6200         __builtin_classify_type.
6201         (fma): Fix spelling of first argument.
6203 2001-01-25  Ulrich Drepper  <drepper@redhat.com>
6205         * conform/data/unistd.h-data: Mark functions removed in XPG6
6206         correctly.
6208         * posix/unistd.h: Don't make functions removed in XPG6 available if
6209         __USE_XOPEN2K.
6211         * conform/conformtest.pl: Implement optional-constant.
6212         * conform/data/unistd.h-data: Use optional-constant wherever
6213         appropriate.
6215         * sysdeps/generic/bits/confname.h: Correct names of _SC_PBS
6216         constants and add _SC_STREAMS.
6217         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
6219         * sysdeps/unix/sysv/linux/statvfs64.c: Rename to __statvfs64 and
6220         make old name weak alias.
6221         * sysdeps/generic/statvfs64.c: Likewise.
6222         * sysdeps/unix/sysv/linux/fstatvfs64.c: Rename to __fstatvfs64 and
6223         make old name weak alias.
6224         * sysdeps/generic/fstatvfs64.c: Likewise.
6225         * include/sys/statvfs.h: New file.
6227         * sysdeps/generic/bits/confname.h: Define _PC_REC_INCR_XFER_SIZE,
6228         _PC_REC_MAX_XFER_SIZE, _PC_REC_MIN_XFER_SIZE, and
6229         _PC_REC_XFER_ALIGN.
6230         * sysdeps/posix/pathconf.c (__pathconf): Implement handling of
6231         _PC_REC_INCR_XFER_SIZE, _PC_REC_MAX_XFER_SIZE,
6232         _PC_REC_MIN_XFER_SIZE, and _PC_REC_XFER_ALIGN.
6233         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
6235         * conform/conformtest.pl: Run Unix tests for XPG6.
6236         Implement handling of known namespace violations.
6237         Improve printing of results.
6239         * posix/unistd.h (usleep): Correct return type.
6240         * sysdeps/unix/sysv/linux/usleep.c: Correct return type.
6241         * sysdeps/unix/bsd/usleep.c: Correct return type.
6242         * sysdeps/mach/usleep.c: Correct return type.
6243         * sysdeps/generic/usleep.c: Correct return type.
6245         * posix/unistd.h (sync): Correct return type.
6246         * sysdeps/generic/sync.c: Likewise.
6247         * sysdeps/mach/hurd/sync.c: Likewise.
6249         * sysdeps/generic/bits/confname.h (_SC_IOV_MAX): New definition.
6251         * posix/unistd.h: Make seteuid and setegid available for XPG6.
6253         * wcsmbs/wchar.h: Get FILE definition for XPG5.
6255         * conform/data/ctype.h-data: Use correct comment form.
6256         * conform/data/errno.h-data: Likewise.
6257         * conform/data/math.h-data: Likewise.
6258         * conform/data/mqueue.h-data: Likewise.
6259         * conform/data/netdb.h-data: Likewise.
6260         * conform/data/pthread.h-data: Likewise.
6262 2001-01-24  Ulrich Drepper  <drepper@redhat.com>
6264         * conform/data/wordexp.h-data: Fix typo.
6266         * conform/conformtest.pl: Handle allow-header correctly.
6268         * conform/data/time.h-data: Use correct comment form.
6270         * conform/conformtest.pl (checknamespace): Ignore #undef lines.
6272         * configure.in: Comment out binutils version test.
6274         * stdlib/strtod.c (str_to_mpn): Correct parsing of thousands
6275         separators.
6276         Reported by Lagardere Jean-Francois <LAGARDEREJ@thmulti.com>.
6278         * stdlib/tst-strtod.c (locale_test): New function.
6279         (main): Call locale_test.
6280         * stdlib/Makefile (tst-strtod-ENV): New variable.
6282 2001-01-24  Mark Kettenis  <kettenis@gnu.org>
6284         * hurd/hurdsig.c (_hurdsig_getenv): Remove spurious innermost
6285         declaration of value such that we actually return the value of the
6286         environment variable.
6288 2001-01-24  Andreas Jaeger  <aj@suse.de>
6290         * sysdeps/unix/sysv/linux/init-first.c: Remove extra __sysctl
6291         prototype.
6292         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
6294         * include/sys/sysctl.h: New file.
6296 2001-01-23  Andreas Jaeger  <aj@suse.de>
6298         * stdlib/Makefile ($(objpfx)isomac.out): Also pass sysincludes to
6299         isomac.
6301         * elf/dl-load.c (_dl_init_paths): Don't use strdupa in function
6302         arguments.  Reported by Jiri Kubicek <kubicek@bitsmart.com>,
6303         closes PR libc/2039.
6305         * manual/install.texi (Tools for Compilation): Change required
6306         binutils version.
6308 2001-01-22  Andreas Jaeger  <aj@suse.de>
6310         * configure.in: Add test for new enough binutils version, move
6311         compiler/binutils test up.
6313         * Versions.def: Add version GLIBC_2.2.2.
6315 2001-01-21  Ulrich Drepper  <drepper@redhat.com>
6317         * iconvdata/TESTS: UTF-8 test data for IBM932 and IBM943 are now
6318         available.
6319         * iconvdata/testdata/IBM932: New file.
6320         * iconvdata/testdata/IBM932..UTF8: New file.
6321         * iconvdata/testdata/IBM943: New file.
6322         * iconvdata/testdata/IBM943..UTF8: New file.
6323         Contributed by Masahide Washizawa <washi@jp.ibm.com>.
6325 2001-01-21  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
6327         * sysdeps/unix/sysv/linux/powerpc/mmap64.c: Correctly mask offset.
6329 2001-01-21  Ulrich Drepper  <drepper@redhat.com>
6331         * malloc/malloc.c: Remove a few unnecessary initializers of global
6332         variables.
6334 2000-12-09  H.J. Lu  <hjl@gnu.org>
6336         * nss/Makefile (routines): Add digits_dots.
6337         * nss/Versions (libc): Add __nss_hostname_digits_dots to GLIBC_2.2.2.
6338         * nss/digits_dots.c (__nss_hostname_digits_dots): Turn template
6339         into a function.
6340         * nss/nsswitch.h (__nss_hostname_digits_dots): New internal NSS
6341         function.
6342         * nss/getXXbyYY.c (H_ERRNO_VAR_P): New definition.
6343         (TYPE_VAR_P): Likewise.
6344         (FLAGS_VAR): Likewise.
6345         (AF_VAR_P): Likewise.
6346         (INTERNAL (REENTRANT_NAME)): Call __nss_hostname_digits_dots ()
6347         instead of including digits_dots.c.
6348         * nss/getXXbyYY_r.c (H_ERRNO_VAR_P): New definition.
6349         (TYPE_VAR_P): Likewise.
6350         (FLAGS_VAR): Likewise.
6351         (AF_VAR_P): Likewise.
6352         (INTERNAL (REENTRANT_NAME)): Call __nss_hostname_digits_dots ()
6353         instead of including digits_dots.c.
6355 2001-01-21  Ulrich Drepper  <drepper@redhat.com>
6357         * sysdeps/posix/getaddrinfo.c: Reduce .data size.
6359 2001-01-21  Andreas Jaeger  <aj@suse.de>
6361         * elf/constload2.c: Add prototype for init.
6363 2001-01-21  Ulrich Drepper  <drepper@redhat.com>
6365         * stdlib/stdlib.h (drand48_data): Make available only for
6366         __USE_MISC.  Rename elements to protect namespace.  Change type
6367         and position of a and init element.
6368         * stdlib/drand48-iter.c: Don't handle unsigned short > 16 bit
6369         differently.  Adjust for drand48_data change.  Don't compute a here,
6370         it comes from drand48_data.
6371         * stdlib/lcong48_r.c: Don't handle unsigned short > 16 bit
6372         differently.  Adjust for drand48_data change.  Compute a here.
6373         * stdlib/srand48_r.c: Likewise.
6374         * stdlib/drand48.c: Adjust for drand48_data change.
6375         * stdlib/lrand48.c: Likewise.
6376         * stdlib/mrand48.c: Likewise.
6377         * stdlib/seek48.c: Likewise.
6378         * stdlib/drand48_r.c: Likewise.
6379         * stdlib/lrand48_r.c: Likewise.
6380         * stdlib/mrand48_r.c: Likewise.
6381         * stdlib/seed48_r.c: Likewise.  Don't handle unsigned short > 16 bit
6382         differently.
6383         * stdlib/erand48_r.c: Don't handle unsigned short > 16 bit differently.
6384         * stdlib/jrand48_r.c: Likewise.
6386         * po/sv.po: Update from translation team.
6388 2001-01-21  Andreas Jaeger  <aj@suse.de>
6390         * stdio-common/vfprintf.c (vfprintf): Add casts.
6392 2001-01-20  Ulrich Drepper  <drepper@redhat.com>
6394         * iconvdata/run-iconv-test.sh: Reorgnize a bit to allow running only
6395         the ASCII test.
6396         * iconvdata/TESTS: Add entries for IBM932 and IBM943.
6398         * iconvdata/Makefile (modules): Add IBM932 and IBM943.
6399         * iconvdata/gconv-modules: Add entries for IBM932 and IBM943.
6400         * iconvdata/ibm932.c: New file.
6401         * iconvdata/ibm932.h: New file.
6402         * iconvdata/ibm943.c: New file.
6403         * iconvdata/ibm943.h: New file.
6404         Patches by Masahide Washizawa <washi@jp.ibm.com>.
6406         * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Fix typo
6407         preventing optimization from being done.  Set the correct type bit
6408         in seen.  Don't define and use _dl_base_addr unless
6409         NEED_DL_BASE_ADDR is defined.
6411         * io/ftw.c (ftw_dir): Add slash after directory name if there
6412         wasn't any.  Reported by loris <loris@iol.it>.
6413         * io/Makefile (tests): Add bug-ftw2.
6414         * io/bug-ftw2.c: New file.
6416 2001-01-19  Ulrich Drepper  <drepper@redhat.com>
6418         * stdlib/jrand48_r.c (__jrand48_r): Correct constructing of
6419         results.  Reported by Jeff Higham <jhigham@algorithmics.com>.
6420         * stdlib/tst-rand48.c: New file.
6421         * stdlib/Makefile (tests): Add tst-rand48.
6423         * locale/newlocale.c (__newlocale): Fix test for setting all
6424         categories.
6426 2001-01-19  Mark Kettenis  <kettenis@gnu.org>
6428         * sysdeps/mach/hurd/chroot.c (chroot): Revert 1999-02-27 changes,
6429         but change looking up the initial directory port in a similar way
6430         as done by _hurd_change_directory_port_from_name.
6431         * hurd/fchroot.c (fchroot): Likewise.
6433 2001-01-18  Ulrich Drepper  <drepper@redhat.com>
6435         * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): If HAVE_AUX_XID is
6436         defined don't look whether the AT_*ID values were set.
6437         If HAVE_AUX_PAGESIZE is defined don't look whether the pagesize is set.
6438         (_dl_show_auxv): Rewrite to avoid switch statement.
6439         * sysdeps/unix/sysv/linux/kernel-features.h: Define
6440         __ASSUME_AT_PAGESIZE for kernel >= 2.4.1.
6441         * sysdeps/unix/sysv/linux/ldsodefs.h: Define HAVE_AUX_XID.
6442         Define HAVE_AUX_PAGESIZE if __ASSUME_AT_PAGESIZE is defined.
6444         * sysdeps/unix/sysv/linux/fxstat64.c: Add one __builtin_expect.
6445         * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
6446         * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
6448         * elf/rtld.c (process_envvars): Call __strtoul_internal instead of
6449         strtoul.
6450         * elf/dl-minimal.c (strtol, __strtol_internal, strtoul): Removed.
6451         (__sigjmp_save): Set __mask_was_saved to zero since we don't save
6452         anything.
6453         * dlfcn/eval.c (__strtol_internal): Define here.
6454         (eval): Use __strtol_internal instead of strtol.
6456         * elf/elf.h: Add a few more EF_MIPS_* constants.
6458 2001-01-17  Ulrich Drepper  <drepper@redhat.com>
6460         * manual/Makefile (chapters): Add debug.
6461         * manual/debug.texi: New file.
6462         * manual/examples/execinfo.c: New file.
6463         Patch by suckfish@ihug.co.nz.
6465 2001-01-17  Andreas Schwab  <schwab@suse.de>
6467         * sysdeps/m68k/bits/byteswap.h (__bswap_32): Add cast to avoid
6468         invalid asm.
6470 2001-01-17  Andreas Jaeger  <aj@suse.de>
6472         * nscd/connections.c (nscd_run): Use proper format specifier.
6474 2001-01-16  Ulrich Drepper  <drepper@redhat.com>
6476         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Move x86_cap_flags and
6477         x86_platforms data into new file after prepending _dl_.  Change
6478         users.
6479         * sysdeps/unix/sysv/linux/i386/dl-procinfo.c: New file.
6480         * sysdeps/unix/sysv/linux/i386/Dist: Add dl-procinfo.c.
6481         * sysdeps/unix/sysv/linux/i386/Makefile: Add rules to build
6482         dl-procinfo.c.
6484         * setjmp/setjmp.h: Cleanup definition of setjmp macro.
6486         * sysdeps/i386/elf/bsd-setjmp.S: Real implementation.
6487         * sysdeps/i386/elf/bsd-_setjmp.S: Removed.
6488         * sysdeps/i386/elf/setjmp.S (setjmp): Removed here.
6489         (_setjmp): Likewise.
6490         * sysdeps/i386/bsd-_setjmp.S: Real implementation.
6491         * sysdeps/i386/bsd-setjmp.S: Real implementation.
6492         * sysdeps/i386/bits/setjmp.h: Remove PUSH_SIGNAL_MASK definition.
6493         * sysdeps/i386/setjmp.S: Remove PIC support.  This is the non-ELF
6494         version.
6496 2001-01-16  Andreas Jaeger  <aj@suse.de>
6498         * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h (SIGCONTEXT): Fix
6499         misapplied last patch.
6501 2001-01-15  Ulrich Drepper  <drepper@redhat.com>
6503         * stdlib/random.c (__initstate): Clean up a cast.
6504         (__setstate): Likewise.
6506         * sysdeps/unix/sysv/linux/mips/syscalls.list: Remove select
6507         syscall handling.  The generic Linux version should work.
6509 2001-01-15  Andreas Jaeger  <aj@suse.de>
6511         * sysdeps/unix/sysv/linux/sys/sendfile.h: Fix typo.
6513         * stdio-common/tstscanf.c (main): Add two testcases for '*' modifier.
6515 2001-01-14  Jakub Jelinek  <jakub@redhat.com>
6517         * nss/getent.c (print_aliases, aliases_keys, ethers_keys,
6518         netgroup_keys, print_rpc, rpc_keys, print_shadow, shadow_keys):
6519         New functions.
6520         (group_keys, hosts_keys, network_keys, passwd_keys, protocols_keys):
6521         If number is 0, list all.
6522         (services_keys): Likewise.  Lookup aliases as well.
6523         (databases): New table.
6524         (build_doc): Prepare argp doc text with list of supported databases.
6525         (main): Change to table driven processing.
6527 2001-01-14  Thorsten Kukuk <kukuk@suse.de>
6529         * sunrpc/xdr.c (xdr_long, xdr_u_long): Fix comments about these
6530         functions.
6532 2001-01-03  Jakub Jelinek  <jakub@redhat.com>
6534         * sunrpc/xdr.c (xdr_long, xdr_u_long): Return FALSE if trying to
6535         encode value which does not fit in the 32bit type.
6537 2001-01-15  Hiroyuki Machida <machida@sm.sony.co.jp>
6539         * sysdeps/unix/sysv/linux/mips/register-dump.h (REGISTER_DUMP):
6540         Change type of CTX to (struct sigcontext *).
6541         * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h (GET_PC): Likewise.
6542         (GET_FRAME): Likewise.
6543         (GET_STACK): Likewise.
6544         (SIGCONTEXT): Likewise.  Add 2nd arg _code.
6545         (SIGCONTEXT_EXTRA_ARGS): Add 2nd arg _code.
6547 2001-01-13  Ulrich Drepper  <drepper@redhat.com>
6549         * manual/texinfo.tex: Update from upstream version.
6551 2001-01-13  Jakub Jelinek  <jakub@redhat.com>
6553         * inet/ether_ntoh.c (lookup_function): Change arguments to match
6554         _nss_*_getntohost_r prototype.
6555         (ether_ntohost): Pass errno pointer to NSS function.
6557 2001-01-12  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
6559         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MS_SYNC): Fix value.
6560         (MAP_LOCKED): New definition.
6561         (MAP_NORESERVE): New definition.
6563 2001-01-12  Ulrich Drepper  <drepper@redhat.com>
6565         * assert/assert.h: Use static_cast instead of C-style cast for C++.
6566         Patch by Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>.
6568 2001-01-12  Ben Collins  <bcollins@debian.org>
6570         * sysdeps/generic/segfault.c (install_handler): Use access, not
6571         __access.
6573 2001-01-12  Andreas Jaeger  <aj@suse.de>
6575         * posix/fnmatch_loop.c (FCT): Remove signed warnings.
6576         * posix/wordexp.c (do_parse_glob): Likewise.
6577         * sysdeps/posix/sigblock.c (__sigblock): Likewise.
6578         * sysdeps/posix/sigsetmask.c (__sigsetmask): Likewise.
6579         * elf/dl-open.c (_dl_open): Likewise.
6580         * elf/dl-close.c (_dl_close): Likewise.
6581         * elf/dl-load.c (_dl_map_object): Likewise.
6582         * iconv/iconv_prog.c (process_fd): Likewise.
6583         * stdio-common/vfscanf.c (_IO_vfscanf): Likewise.
6585         * locale/localeinfo.h (struct locale_data): Use __flexarr instead
6586         of a zero-length array.
6588 2001-01-11  Jakub Jelinek  <jakub@redhat.com>
6590         * stdlib/cxa_atexit.c (__cxa_atexit): Cast to (void *, int) func.
6591         * stdlib/cxa_finalize.c (__cxa_finalize): Add hidden second argument.
6592         * stdlib/cxa_on_exit.c: Remove.
6593         * stdlib/Makefile: Revert last patch.
6594         * stdlib/Versions: Likewise.
6595         * include/stdlib.h: Likewise.
6596         * stdlib/exit.h: Revert last patch.
6597         (struct exit_function): Add second argument to cxa fn.
6598         * stdlib/exit.c: Revert last patch.
6599         (exit): Add hidden second argument.
6601 2001-01-11  H.J. Lu  <hjl@gnu.org>
6603         * elf/dl-libc.c (do_dlopen): Move DL_STATIC_INIT to ...
6604         * elf/dl-open.c (_dl_open): Here.
6605         * sysdeps/unix/sysv/linux/ia64/dl-static.c (_dl_static_lock):
6606         Make it static.
6607         (_dl_static_init): Initialize the variables every time when possible.
6608         * sysdeps/unix/sysv/linux/ia64/ldsodefs.h (DL_STATIC_INIT):
6609         Undefine it first.
6611 2001-01-11  Ulrich Drepper  <drepper@redhat.com>
6613         * stdlib/Makefile (routines): Add cxa_on_exit.
6614         * stdlib/Versions [libc] (GLIBC_2.2.1): Add __cxa_on_exit.
6615         * stdlib/cxa_on_exit.c: New file.
6616         * include/stdlib.h: Add prototype for __cxa_on_exit.
6617         * stdlib/exit.c: Handle ef_cxa2.
6618         * stdlib/exit.h (enum): Add ef_cxa2.
6619         (struct exit_function): Add cxa2.
6621         * Versions.def [ld]: Add GLIBC_2.2.1.
6623 2001-01-10  H.J. Lu  <hjl@gnu.org>
6625         * elf/dl-libc.c (do_dlopen): Call DL_STATIC_INIT for static binaries.
6626         * sysdeps/unix/sysv/linux/ia64/Makefile (sysdep-dl-routines): Add
6627         dl-static.
6628         * sysdeps/unix/sysv/linux/ia64/Versions (ld): Add _dl_var_init.
6629         * sysdeps/generic/ldsodefs.h (DL_STATIC_INIT): Defined if not defined.
6630         * sysdeps/unix/sysv/linux/ia64/ldsodefs.h: New file.
6631         * sysdeps/unix/sysv/linux/ia64/dl-static.c: New file.
6632         * sysdeps/unix/sysv/linux/ia64/Dist: Add dl-static.c.
6634 2001-01-11  Ulrich Drepper  <drepper@redhat.com>
6636         * libio/stdio.h: Remove definition of off_t.
6638 2001-01-11  Andreas Jaeger  <aj@suse.de>
6640         * wcsmbs/tst-mbrtowc.c (utf8_test): New function by Markus Kuhn
6641         <mkuhn@acm.org>.
6643 2001-01-10  Ulrich Drepper  <drepper@redhat.com>
6645         * sunrpc/Makefile (distribute): Add errqueue.h.
6647 2001-01-10  H.J. Lu  <hjl@gnu.org>
6649         * sysdeps/ia64/dl-machine.h (TRAMPOLINE_TEMPLATE): Also preserve
6650         r9, r10 and r11 for language specific registers.
6652 2001-01-10  Jakub Jelinek  <jakub@redhat.com>
6654         * sunrpc/clnt_udp.c (clntudp_bufcreate): Set IP_RECVERR on the
6655         UDP socket.
6656         (clntudp_call): Handle MSG_ERRQUEUE.
6657         * sysdeps/generic/errqueue.h: New file.
6658         * sysdeps/unix/sysv/linux/errqueue.h: New file.
6660 2001-01-10  H.J. Lu  <hjl@gnu.org>
6662         * sysdeps/unix/sysv/linux/ia64/syscalls.list (s_getpagesize): Removed.
6664 2001-01-10  Joseph S. Myers  <jsm28@cam.ac.uk>
6666         * CONFORMANCE: Update.
6668 2001-01-09  Ulrich Drepper  <drepper@redhat.com>
6670         * sysdeps/generic/elf/backtracesyms.c (__backtrace_symbols):
6671         Minimal cleanups.  Add assert to ensure memory handling is correct.
6673         * manual/conf.texi (File Minimums): Fix _POSIX_PATH_MAX value.
6674         Reported by Ben Collins <bcollins@debian.org>.
6676         * time/strftime.c (my_strftime): Mark previous GNU extensions
6677         which are now in C99 as such.
6679 2001-01-08  Ulrich Drepper  <drepper@redhat.com>
6681         * elf/rtld.c (process_envvars): Place output files for profiling
6682         in SUID binaries in /var/profile.
6684         * elf/dl-load.c (_dl_map_object): Don't look in cache for
6685         preloading in SUID binaries.
6687         * elf/dl-profile.c (_dl_start_profile): Open the output file with
6688         O_NOFOLLOW if possible.
6690         * include/stdlib.h: Add __posix_openpt declaration.
6691         * stdlib/stdlib.h: Add posix_openpt declaration.
6692         * login/Versions: Add posix_openpt for GLIBC_2.2.1.
6693         * sysdeps/generic/getpt.c: Define posix_openpt.
6694         * sysdeps/unix/bsd/getpt.c: Likewise.
6695         * sysdeps/unix/sysv/linux/getpt.c: Likewise.
6697         * time/Makefile (tests): Add tst-mktime.
6698         * time/tst-mktime.c: New file.
6700         * posix/tst-dir.c (main): One more mkdir() test.
6702         * sysdeps/unix/sysv/linux/ia64/getpagesize.c (__getpagesize):
6703         Remove getpagesize syscall.  We assume that the pagesize is always
6704         determined from the auxiliary vector.
6706         * intl/dcigettext.c: Fix a few warnings.
6707         Patch by Bruno Haible <haible@ilog.fr>.
6709 2001-01-08  Andreas Jaeger  <aj@suse.de>
6711         * io/test-lfs.c (do_test): Check lseek64 return for EINVAL.
6712         Reported by Joseph S. Myers <jsm28@cam.ac.uk>.
6714 2001-01-08  Ulrich Drepper  <drepper@redhat.com>
6716         * sysdeps/generic/segfault.c (install_handler): Check output file
6717         name with access().
6719         * resolv/res_query.c: Use simply getenv() for HOSTALIASES.
6720         * sysdeps/generic/unsecvars.h (UNSECURE_ENVVARS): Add HOSTALIASES.
6722         * sysdeps/generic/unsecvars.h (UNSECURE_ENVVARS): Add missing comma.
6724         * malloc/memusage.c (me): Use access() to determine whether we
6725         should write the output file or not.
6727         * libio/bits/stdio.h (printf): Define macro to map printf call to
6728         fprintf which gcc can optimize.
6729         * stdio-common/printf.c: Undefine printf.
6731 2001-01-07  Ulrich Drepper  <drepper@redhat.com>
6733         * sysdeps/generic/bits/byteswap.h (__bswap_64): Partly revert last
6734         patch.  We must use unsigned int for l member of union.
6736         * sysdeps/powerpc/elf/libc-start.c (__libc_start_main): Don't call
6737         _dl_aux_init for shared libraries.
6739         * sysdeps/unix/sysv/linux/glob64.c: Moved to ...
6740         * sysdeps/gnu/glob64.c: ...here.  New file.
6742 2001-01-07  Ben Collins  <bcollins@debian.org>
6744         * manual/examples/longopt.c: Make the "struct option" a little
6745         more like it should be, adding usage of required_argument,
6746         noargument and such, and also setting the options string right.
6748         * manual/sysinfo.texi (Load Average): New section, documents
6749         getloadavg().
6751 2001-01-06  Ulrich Drepper  <drepper@redhat.com>
6753         * version.h (VERSION): Bump to 2.2.1.
6755         * sysdeps/unix/sysv/linux/mips/Dist: Remove sys/acct.h.
6756         * sysdeps/alpha/Dist: Add alphaev6/stxncpy.S and alphaev6/stxcpy.S.
6757         * sysdeps/unix/sysv/aix/Dist: Add uitrunc.c, savef.S, and restf.S.
6758         * dlfcn/Makefile (distribute): Add errmsg1mod.c.
6759         * Makefile (distribute): Add include/libc-internal.h.
6760         * libio/Makefile (distribute): Avoid overwriting.
6762         * iconvdata/ibm937.c (BODY to IBM937): Correct several mistakes in
6763         buffer and table handling.
6765 2001-01-05  H.J. Lu  <hjl@gnu.org>
6767         * elf/dl-support.c (non_dynamic_init): Move the auxiliary
6768         vector checking to ...
6769         (_dl_aux_init): Here.  New function.  Defined only if
6770         HAVE_AUX_VECTOR is defined.
6772         * sysdeps/generic/libc-start.c (__libc_start_main): Call
6773         _dl_aux_init for static binaries if HAVE_AUX_VECTOR is defined.
6775         * sysdeps/powerpc/elf/libc-start.c (__libc_start_main): Call
6776         _dl_aux_init.
6778         * sysdeps/unix/sysv/linux/ldsodefs.h (DL_FIND_AUXV): Removed.
6779         (HAVE_AUX_VECTOR): Defined.
6780         (_dl_aux_init): Declared.
6782 2001-01-05  Ben Collins  <bcollins@debian.org>
6784         * manual/string.texi (Finding Tokens in a String): Document XPG
6785         basename() and dirname(), as well as GNU basename().
6787 2001-01-05  Jakub Jelinek  <jakub@redhat.com>
6789         * Makeconfig (preprocess-version): Replace -traditional with
6790         -x assembler-with-cpp.
6792 2001-01-05  Joseph S. Myers  <jsm28@cam.ac.uk>
6794         * math/bits/cmathcalls.h: Don't define inline cimag, creal or conj
6795         for GCC 2.97 or later.
6797 2001-01-05  Ben Collins  <bcollins@debian.org>
6799         * manual/stdio.texi (getline): Clarify the return value in the
6800         case of EOF being reached before a newline.
6802 2001-01-04  Jakub Jelinek  <jakub@redhat.com>
6804         * sunrpc/pmap_clnt.c (__get_myaddress): Return TRUE if successful,
6805         FALSE otherwise.
6806         (pmap_set, pmap_unset): Check __get_myaddress return value.
6808 2001-01-05  Mark Kettenis  <kettenis@gnu.org>
6810         * sysdeps/generic/netinet/if_ether.h: Include <sys/types.h>.
6811         (struct ether_addr): Declare ether_addr_octet member as
6812         `u_int8_t'.  Add __attribute__ ((__packed__)).
6814 2001-01-06  Mark Kettenis  <kettenis@gnu.org>
6816         * sysdeps/mach/hurd/readdir64.c: New file.
6817         * sysdeps/mach/hurd/readdir64_r.c: New file.
6819 2001-01-07  Mark Kettenis  <kettenis@gnu.org>
6821         * sysdeps/mach/hurd/fstatvfs.c (fstatvfs): Add comment about
6822         `struct statfs' and `struct statvfs' being identical.
6823         * sysdeps/mach/hurd/statvfs.c (statvfs): Likewise.
6825 2001-01-06  Mark Kettenis  <kettenis@gnu.org>
6827         * sysdeps/mach/hurd/fstatfs64.c: New file.
6828         * sysdeps/mach/hurd/fstatvfs64.c: New file.
6829         * sysdeps/mach/hurd/statfs64.c: New file.
6830         * sysdeps/mach/hurd/statvfs64.c: New file.
6831         * sysdeps/mach/hurd/statfsconv.c: New file.
6832         * sysdeps/mach/hurd/Dist: Add statfsconv.c.
6834 2001-01-06  Ulrich Drepper  <drepper@redhat.com>
6836         * iconv/skeleton.c: Reset outbuf for next round of the loop.
6837         Reported by Owen Taylor <otaylor@redhat.com>.
6838         * iconv/Makefile (tests): Add tst-iconv3.
6839         * iconv/tst-iconv3.c: New file.
6841         * iconvdata/ibm930.c: Fix handling of state.  Optimize a bit.
6842         * iconvdata/ibm933.c: Likewise.
6843         * iconvdata/ibm935.c: Likewise.
6844         * iconvdata/ibm937.c: Likewise.
6845         * iconvdata/ibm939.c: Likewise.
6846         * iconvdata/ibm930.h: Adjust single byte table for optimization.
6847         * iconvdata/ibm933.h: Likewise.
6848         * iconvdata/ibm935.h: Likewise.
6849         * iconvdata/ibm939.h: Likewise.
6851         * iconvdata/testdata/IBM930: Add misssing SI.
6852         * iconvdata/testdata/IBM933: Likewise.
6853         * iconvdata/testdata/IBM935: Likewise.
6854         * iconvdata/testdata/IBM937: Likewise.
6855         * iconvdata/testdata/IBM939: Likewise.
6857 2001-01-06  Andreas Jaeger  <aj@suse.de>
6859         * configure.in: Check for old add-ons that shouldn't be used with
6860         current glibc anymore.
6862 2001-01-06  Mark Kettenis  <kettenis@gnu.org>
6864         * sysdeps/mach/hurd/readdir_r.c (__readdir_r): Return error number
6865         instead of -1 on failure.  Don't forget to copy file name into
6866         *ENTRY if successful.  Set *RESULT to NULL upon reaching the end
6867         of the directory.
6869 2001-01-06  Mark Kettenis  <kettenis@gnu.org>
6871         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Don't forget to
6872         copy st_atime member.
6874 2001-01-05  Ulrich Drepper  <drepper@redhat.com>
6876         * io/ftw.c (ftw_dir): Don't add a second slash at the beginning
6877         for searches from the root directory.
6878         Reported by loris <loris@iol.it> [PR libc/1991].
6879         * io/Makefile (tests): Add bug-ftw1.
6880         * io/bug-ftw1.c: New file.
6882         * elf/dl-support.c (non_dynamic_init): Don't define DL_FIND_AUXV
6883         if it is not available.  Instead use it only if it is available.
6884         * sysdeps/unix/sysv/linux/ldsodefs.h: New file.
6886         * iconv/gconv_simple.c (internal_ics4_loop): Correct test for
6887         overflowing output buffer.
6888         (internal_ucs4_loop_unaligned): Likewise.
6889         (ucs4_internal_loop): Likewise.
6890         (ucs4_internal_loop_unaligned): Likewise.
6891         (internal_ucs4le_loop): Likewise.
6892         (internal_ucs4le_loop_unaligned): Likewise.
6893         (ucs4le_internal_loop): Likewise.
6894         (ucs4le_internal_loop_unaligned): Likewise.
6895         Reported by Owen Taylor <otaylor@redhat.com>.
6896         * iconv/Makefile (tests): Add tst-iconv2.
6897         * iconv/tst-iconv2.c: New file.
6899 2001-01-04  H.J. Lu  <hjl@gnu.org>
6901         * elf/dl-support.c (DL_FIND_AUXV): New.  Defined if not defined.
6902         (_dl_clktck): Declared.
6903         (non_dynamic_init): Take 3 arguments.
6904         Set _dl_pagesize, _dl_platform and _dl_clktck from AUX.
6906 2001-01-01  Bruno Haible  <haible@clisp.cons.org>
6908         Finish implementation of plural form handling.
6909         * intl/dcigettext.c (known_translation_t): Rename 'domain' field to
6910         'domainname'.  Remove 'plindex' field.  Add 'domain' and
6911         'translation_length' fields.
6912         (transcmp): Don't compare 'plindex' fields.
6913         (plural_lookup): New function.
6914         (DCIGETTEXT): Change cache handing in the plural case.  Don't call
6915         plural_eval before the translation and its catalog file have been
6916         found.  Remove plindex from cache key.  Add 'translation_length' and
6917         'domain' to cache result.
6918         (_nl_find_msg): Remove index argument, return length of translation
6919         to the caller instead.  Weaken comparison of string lengths, to account
6920         for plural entries.  Call iconv() on the entire result string, not
6921         only on the portion needed so far.
6922         * intl/loadinfo.h (_nl_find_msg): Remove index argument, add lengthp
6923         argument.
6924         * intl/loadmsgcat.c (_nl_load_domain): Adapt to _nl_find_msg change.
6926 2001-01-04  Ulrich Drepper  <drepper@redhat.com>
6928         * intl/plural.y (yylex): Minimal improvement in number scanner.
6930 2000-07-31  Bruno Haible  <haible@clisp.cons.org>
6932         * intl/plural.y: Include config.h.  Needed to define 'inline' away for
6933         C compilers that don't support it.
6934         (yylex): Don't use gcc specific case range syntax.
6935         * intl/loadmsgcat.c (INIT_GERMANIC_PLURAL): New macro, for old
6936         compilers.
6938 2000-10-12  Bruno Haible  <haible@clisp.cons.org>
6940         * intl/finddomain.c: Remove unneeded includes.
6942 2000-10-12  Bruno Haible  <haible@clisp.cons.org>
6944         * intl/localealias.c (memcpy): Return first argument, just like the
6945         real memcpy function does.
6946         * intl/bindtextdom.c (memcpy): Likewise.
6947         * intl/finddomain.c (memcpy): Likewise.
6948         * intl/l10nflist.c (memcpy): Likewise.
6949         * intl/textdomain.c (memcpy): Likewise.
6950         From Paul Eggert <eggert@twinsun.com>.
6952 2001-01-03  Jakub Jelinek  <jakub@redhat.com>
6954         * resolv/resolv.h (struct __res_state): Add nsinit field.
6955         * resolv/res_send.c (res_nsend): Use it instead of nscount.
6956         * resolv/res_init.c (__res_vinit): Initialize it.
6957         (res_nclose): Clear it instead of nscount.
6959 2001-01-04  Ulrich Drepper  <drepper@redhat.com>
6961         * malloc/mtrace.pl: Fix matching of addresses.
6962         Patch by Aharon Robbins <arnold@skeeve.com>.
6964         * Versions.def (ld): Add GLIBC_2.2.
6966         * catgets/gencat.c: Copyright 2001.
6967         * csu/version.c: Likewise.
6968         * debug/catchsegv.sh: Likewise.
6969         * debug/xtrace.sh: Likewise.
6970         * elf/ldconfig.c: Likewise.
6971         * elf/sprof.c: Likewise.
6972         * iconv/iconv_prog.c: Likewise.
6973         * locale/locale.c: Likewise.
6974         * locale/localedef.c: Likewise.
6975         * malloc/memusage.sh: Likewise.
6976         * malloc/mtrace.pl: Likewise.
6977         * nscd/nscd.c: Likewise.
6978         * posix/getconf.c: Likewise.
6980 2001-01-04  Mark Kettenis  <kettenis@gnu.org>
6982         * include/stdio.h: Only provide __getwc_unlocked prototype if
6983         USE_IN_LIBIO is defined.
6985 2001-01-04  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
6987         * sysdeps/unix/sysv/linux/sh/socket.S (__socket): Fix error code
6988         handling.
6990 2001-01-03  Andreas Schwab  <schwab@suse.de>
6992         * sysdeps/generic/strtoll.c: Remove unused __strtoq_internal alias.
6993         * sysdeps/generic/strtoull.c: Remove unused __strtouq_internal alias.
6995         * sysdeps/wordsize-64/strtol.c: Add strtoq alias and fix strtoll alias.
6996         * sysdeps/wordsize-64/strtoul.c: Add strtouq alias and fix
6997         strtoull alias.
6998         * sysdeps/wordsize-64/wcstol.c: Add wcstoq alias and fix wcstoll alias.
6999         * sysdeps/wordsize-64/wcstoul.c: Add wcstouq alias and fix
7000         wcstoull alias.
7002         * sysdeps/generic/strtoul.c: Make sure we find strtol.c in this
7003         directory.
7004         * sysdeps/generic/strtol_l.c: Likewise.
7005         * sysdeps/generic/strtoul_l.c: Likewise.
7006         * sysdeps/generic/wcstoul.c: Likewise, for wcstol.c.
7008         * sysdeps/wordsize-64/strtol_l.c: Fix alias.
7009         * sysdeps/wordsize-64/strtoul_l.c: Likewise.
7010         * sysdeps/wordsize-64/wcstol_l.c: Fix alias.
7011         * sysdeps/wordsize-64/wcstoul_l.c: Likewise.
7013 2001-01-04  Andreas Jaeger  <aj@suse.de>
7015         * nss/nsswitch.c: Include files for missing prototypes, remove
7016         buggy declaration of prototypes.
7018 2001-01-03  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
7020         * resolv/Versions: Fix bracing.
7021         * sysdeps/powerpc/soft-fp/Versions: Likewise.
7022         * sysdeps/sparc/sparc64/soft-fp/Versions: Likewise.
7024 2001-01-02  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
7026         * sysdeps/powerpc/dl-machine.c (__process_machine_rela): Fix typo.
7028 2001-01-02  Ulrich Drepper  <drepper@redhat.com>
7030         * manual/Makefile (TEXI2PDF): Change to texi2dvi --pdf.
7031         Suggested by Minko Markov <mmarkov@home.com>.
7033 2001-01-02  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
7035         * sysdeps/powerpc/elf/start.S (__data_start): Make it global.
7036         * sysdeps/powerpc/dl-machine.c (dl_reloc_overflow): Print the name of
7037         the failing symbol.
7038         (__process_machine_rela): Pass symbol to dl_reloc_overflow().
7040 2001-01-02  Ben Collins  <bcollins@debian.org>
7042         * time/tzset.c (tzset_internal): Make sure we fall back to UTC
7043         if TZ is not set and TZDEFAULT is not present.
7045 2001-01-01  Ben Collins  <bcollins@debian.org>
7047         * string/strings.h: Make sure we declare our functions even if
7048         string.h is already included, based on whether or not __USE_BSD is
7049         defined.
7051 2001-01-02  Ulrich Drepper  <drepper@redhat.com>
7053         * dlfcn/dlerror.c (dlerror): Handle call of dlerror() before any
7054         other dlopen() and dlsym().
7055         Based on a patch by Ben Collins <bcollins@debian.org>.
7057 2001-01-02  Andreas Jaeger  <aj@suse.de>
7059         * dlfcn/errmsg1.c (main): Call dlerror initially.
7060         Reported by Ben Collins <bcollins@debian.org>.
7062 2001-01-02  Ulrich Drepper  <drepper@redhat.com>
7064         * intl/dcigettext.c (guess_category_value): Rewrite so that LANGUAGE
7065         value is ignored if the selected locale is the C locale.
7066         * intl/tst-gettext.c: Set locale for above change.
7067         * intl/tst-translit.c: Likewise.
7069 2001-01-02  Andreas Jaeger  <aj@suse.de>
7071         * libio/wgenops.c (_IO_wdoallocbuf): Use correct wide access macro.
7072         (_IO_switch_to_wget_mode): Likewise.
7073         (_IO_sputbackwc): Likewise.
7074         (_IO_sungetwc): Use wint_t for result.
7076         * stdio-common/vfscanf.c (__vfscanf): Use WINT_T for done.
7078         * sysdeps/generic/strtol.c (strtol): Make cnt size_t for correct
7079         signedness.
7081         * sysdeps/generic/printf_fphex.c (putc): Cast _IO_putwc_unlocked
7082         to (int) to avoid warnings.
7083         * stdio-common/printf_fp.c (putc): Likewise.
7084         * stdio-common/printf_size.c (putc): Likewise.
7086         * sysdeps/generic/dl-sysdep.c (_dl_important_hwcaps): Make
7087         constant unsigned.
7089 2001-01-01  Andreas Jaeger  <aj@suse.de>
7091         * inet/rcmd.c (rcmd_af): Use socklen_t for len.
7093 2000-12-31  Andreas Jaeger  <aj@suse.de>
7095         * include/libc-internal.h: Add prototype for __libc_freeres.
7097         * sysdeps/unix/sysv/linux/init-first.c: Include <libc-internals.h>
7098         for prototypes, remove redundant prototypes.
7099         * gmon/gmon.c: Likewise.
7100         * sysdeps/unix/i386/i586/clock_getres.c: Likewise.
7101         * sysdeps/unix/i386/i586/clock_gettime.c: Likewise.
7102         * malloc/mtrace.c: Likewise.
7104         * sysdeps/generic/enbl-secure.c: Include <libc-internals.h> for
7105         prototypes.
7106         * elf/soinit.c: Likewise.
7107         * sysdeps/generic/prof-freq.c: Likewise.
7108         * sysdeps/mach/hurd/profil.c: Likewise.
7109         * debug/noophooks.c: Likewise.
7110         * debug/pcprofile.c: Likewise.
7111         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Likewise.
7112         * sysdeps/generic/get_clockfreq.c: Likewise.
7113         * malloc/set-freeres.c: Likewise.
7115         * locale/localeinfo.h: Add internal prototypes.
7117         * elf/rtld.c (dl_main): Fix prototype.
7119         * iconvdata/tst-table-to.c (main): Use return instead of exit to
7120         avoid warning.
7122         * nis/rpcsvc/yp_prot.h: Remove __P.
7123         * nis/rpcsvc/ypupd.h: Likewise.
7124         * nis/rpcsvc/yp.h: Likewise.
7126         * sunrpc/rpc_main.c: Add noreturn attributes.
7127         * sunrpc/rpc_scan.h: Likewise.
7129         * sunrpc/rpc_hout.c (storexdrfuncdecl): Make static.
7131         * sunrpc/rpcinfo.c: Add noreturn attribute to brdcst.
7133         * sunrpc/proto.h: Add noreturn attributes to error and crash.
7135         * posix/bsd-getpgrp.c: Add prototype to avoid warning.
7137         * sunrpc/svc_unix.c: Include <rpc/svc.h> for prototypes.
7139         * sunrpc/create_xid.c: Include <rpc/svc.h> for prototypes.
7141         * include/rpc/rpc_msg.h: Add prototypes for some functions.
7142         * include/rpc/auth.h: Likewise.
7143         * include/rpc/auth_des.h: Likewise.
7144         * include/rpc/clnt.h: Likewise.
7145         * include/rpc/rpc.h: Likewise.
7146         * include/rpc/svc.h: Likewise.
7147         * include/rpc/svc_auth.h: Likewise.
7149         * include/rpc/des_crypt.h: New file.
7151         * malloc/memusagestat.c (main): Use return instead of exit to
7152         avoid warning.
7153         * io/pwd.c (main): Likewise.
7154         * iconvdata/tst-table-from.c (main): Likewise.
7155         * ctype/test_ctype.c (main): Likewise.
7156         * setjmp/tst-setjmp.c (main): Likewise.
7157         * signal/tst-signal.c (main): Likewise.
7158         * stdlib/tst-strtol.c (main): Likewise.
7159         * stdlib/tst-strtod.c (main): Likewise.
7160         * stdlib/tst-strtoll.c (main): Likewise.
7161         * stdlib/tst-xpg-basename.c (main): Likewise.
7162         * dirent/tst-seekdir.c (main): Likewise.
7163         * grp/testgrp.c (main): Likewise.
7164         * inet/test_ifindex.c (main): Likewise.
7165         * io/test-utime.c (main): Likewise.
7166         * posix/test-vfork.c (main): Likewise.
7167         * posix/testfnm.c (main): Likewise.
7168         * stdio-common/temptest.c (main): Likewise.
7169         * stdio-common/test_rdwr.c (main): Likewise.
7170         * stdio-common/tst-fileno.c (main): Likewise.
7171         * stdio-common/tst-sscanf.c (main): Likewise.
7172         * stdio-common/tstscanf.c (main): Likewise.
7173         * string/bug-strncat1.c (main): Likewise.
7174         * string/bug-strpbrk1.c (main): Likewise.
7175         * string/bug-strspn1.c (main): Likewise.
7176         * string/test-ffs.c (main): Likewise.
7177         * string/tst-inlcall.c (main): Likewise.
7178         * string/tst-svc.c (main): Likewise.
7179         * timezone/test-tz.c (main): Likewise.
7180         * wctype/test_wcfuncs.c (main): Likewise.
7181         * wctype/test_wctype.c (main): Likewise.
7183         * stdlib/tst-random.c: Add attribute noreturn to fail.
7185 2000-12-28  Wolfram Gloger  <wg@malloc.de>
7187         * malloc/malloc.c (MALLOC_COPY): Handle case if source and
7188         destination overlap.  Assume dest is always below source if
7189         overlapping.
7191 2000-12-30  Ulrich Drepper  <drepper@redhat.com>
7193         * elf/dl-close.c (_dl_close): We can ignore the NODELETE flag if the
7194         object was not yet initialized.
7196 2000-12-28  H.J. Lu  <hjl@gnu.org>
7198         * elf/dl-deps.c (_dl_map_object_deps): Make sure the DSO state
7199         is always consistent even if its dependency is failed.
7201         * elf/dl-open.c (_dl_open): Increment the open count before
7202         calling _dl_close () in case of failure.
7204         * elf/neededtest4.c: New file.
7205         * elf/neededobj5.c: New file.
7206         * elf/neededobj6.c: New file.
7208         * elf/Makefile (distribute): Add neededobj5.c and neededobj6.c.
7209         (tests): Add neededtest4.
7210         (modules-names): Add neededobj5 and neededobj6.
7211         ($(objpfx)neededobj6.so): New target.
7212         ($(objpfx)neededtest4): New target.
7213         ($(objpfx)neededtest4.out): New target.
7215 2000-12-28  Joseph S. Myers  <jsm28@cam.ac.uk>
7217         * misc/sys/cdefs.h (__attribute_format_strfmon__): Define.
7218         * stdlib/monetary.h: Add strfmon format attributes.
7220 2000-12-28  Roland McGrath  <roland@frob.com>
7222         * sysdeps/mach/hurd/ioctl.c (do_ioctl): Avoid double-increment after
7223         __mempcpy does it for us.
7225 2000-12-28  Andreas Jaeger  <aj@suse.de>
7227         * sysdeps/generic/dl-environ.c: Add prototype for unsetenv.
7229         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Add prototype for
7230         __new_setrlimit.
7232         * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Add prototype for
7233         __old_getrlimit64.
7235         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Add prototype for
7236         __new_getrlimit.
7238         * sysdeps/unix/sysv/linux/i386/chown.c: Add prototypes for
7239         __chown_is_lchown and __real_chown.
7241         * sysdeps/generic/ldsodefs.h: Add noreturn attribute to
7242         _dl_reloc_bad_type.
7244         * sunrpc/rpc_hout.c (print_funcdef): Add break statement to shut
7245         up GCC's warning about "deprecated use of label at end of compound
7246         statement."
7247         * sunrpc/rpc_cout.c (emit_inline): Likewise.
7249         * gmon/bb_exit_func.c: Include <sys/gmon.h> for internal
7250         prototypes.
7251         Remove struct bb and __bb_head since those are declared by
7252         sys/gmon.h.
7254 2000-12-22  Ben Collins  <bcollins@debian.org>
7256         * manual/charset.texi: Fix typo in description of WCHAR_MAX.
7258         * manual/argp.texi: Document argp_domain as part of struct argp.
7260 2000-12-28  Andreas Jaeger  <aj@suse.de>
7262         * catgets/Makefile (generated): Add sample.SJIS.cat.
7264         * sunrpc/rpc_dtable.c: Include rpc/clnt.h for prototypes.
7266         * elf/dl-minimal.c: Add prototypes.
7268         * include/locale.h: Add internal prototypes.
7269         * include/sys/gmon.h: Likewise.
7271         * dlfcn/errmsg1mod.c: Add prototype for foo to shut up GCC.
7273 2000-12-27  Ben Collins  <bcollins@debian.org>
7275         * elf/dl-open.c (_dl_open): Correctly set the new objname pointer
7276         when reallocating the error strings.
7277         Reported by Kalle Olavi Niemitalo <kon@iki.fi>
7279 2000-12-27  Ulrich Drepper  <drepper@redhat.com>
7281         * dlfcn/Makefile (tests): Add errmsg1.
7282         (modules-names): Add errmsg1mod.
7283         Add rules to run errmsg1.
7284         * dlfcn/errmsg1.c: New file.
7285         * dlfcn/errmsg1mod.c: New file.
7287         * dlfcn/dlerror.c (dlerror): Always create output string which
7288         includes object file name.
7290         * sysdeps/alpha/alphaev6/memcpy.S: Don't go through unrolled loop
7291         if we would go through it only once.
7292         Patch by Rick Gorton <rick.gorton@api-networks.com>.
7294         * sysdeps/alpha/alphaev67/strncat.S: Fix handling of numeric parameter.
7295         Patch by Richard Henderson <rth@redhat.com>.
7297 2000-12-27  Jakub Jelinek  <jakub@redhat.com>
7299         * malloc/malloc.c (memmove): Add prototypes.
7300         (MALLOC_MEMMOVE): Define.
7301         (chunk_realloc): Use it instead of MALLOC_COPY if source and
7302         destination might overlap.
7304 2000-12-27  Andreas Jaeger  <aj@suse.de>
7306         * stdio-common/printf_fp.c (__printf_fp): Add prototype for nested
7307         function.
7308         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
7309         * locale/programs/locale.c (show_locale_vars): Likewise.
7310         (show_info): Likewise.
7311         * locale/programs/ld-collate.c (collate_output): Likewise.
7312         * locale/programs/ld-ctype.c (set_class_defaults): Likewise.
7313         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
7314         * stdlib/rpmatch.c (rpmatch): Likewise.
7316         * setjmp/tst-setjmp.c: Make local functions static.
7317         * setjmp/jmpbug.c: Likewise.
7318         * signal/tst-signal.c: Likewise.
7319         * stdio-common/tfformat.c: Likewise.
7320         * string/tst-svc.c: Likewise.
7321         * time/clocktest.c: Likewise.
7322         * time/tst-getdate.c: Likewise.
7323         * dirent/list.c: Likewise.
7324         * dirent/opendir-tst1.c: Likewise.
7325         * posix/runtests.c: Likewise.
7326         * posix/tst-getaddrinfo.c: Likewise.
7327         * posix/tst-chmod.c: Likewise.
7328         * posix/wordexp-test.c: Likewise.
7329         * misc/tst-efgcvt.c: Likewise.
7330         * timezone/tst-timezone.c: Likewise.
7331         * rt/tst-clock.c: Likewise.
7332         * rt/tst-shm.c: Likewise.
7333         * rt/tst-aio2.c: Likewise.
7334         * rt/tst-aio3.c: Likewise.
7335         * rt/tst-aio4.c: Likewise.
7336         * rt/tst-aio5.c: Likewise.
7338         * dlfcn/failtest.c: Add prototype for foo.
7340         * dlfcn/glrefmain.c: Add prototype for do_test.
7342         * dlfcn/tst-dladdr.c: Add prototype for do_test.
7344         * string/test-ffs.c (main): Add prototype for nested function.
7346         * sunrpc/des_soft.c: Include rpc/des_crypt.h for prototype.
7348         * nss/XXX-lookup.c: Add prototype to shut up GCC.
7350         * include/netinet/ether.h (DECLARE_NSS_PROTOTYPES): Fix
7351         setetherent prototype.
7352         Add internal interfaces.
7354         * nis/nss_nis/nis-ethers.c (_nss_nis_setetherent): Likewise.
7355         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent): Likewise.
7357         * resolv/res_data.c: Don't add (conflicting) prototypes for _LIBC.
7359         * nis/nis_intern.h: Add prototype for __pmap_getnisport.
7361         * nss/nss_files/files-ethers.c: Include netinet/ether.h to get
7362         prototypes, remove struct etherent since it's declared in ether.h.
7363         Fix ntohost declaration.
7365         * elf/dl-profile.c (_dl_mcount): Add empty statement to shut up GCC.
7367         * include/getopt.h: Add internal interfaces.
7368         * include/termios.h: Likewise.
7369         * include/resolv.h: Likewise.
7370         * include/netdb.h: Likewise.
7371         * include/grp.h: Likewise.
7372         * include/pwd.h: Likewise.
7373         * include/shadow.h: Likewise.
7374         * include/rpc/netdb.h: Likewise.
7375         * include/setjmp.h: Likewise.
7377         * include/stdio.h: Add prototypes for compatibility functions.
7378         * include/grp.h: Likewise.
7379         * include/pwd.h: Likewise.
7380         * include/shadow.h: Likewise.
7382         * include/fenv.h: Define internal interfaces.
7384 2000-12-27  Ulrich Drepper  <drepper@redhat.com>
7386         * sysdeps/generic/bits/byteswap.h (__bswap_64): Handle constant
7387         argument case separately.
7388         * sysdeps/i386/bits/byteswap.h (__bswap_64): Likewise.
7390 2000-12-27  Andreas Jaeger  <aj@suse.de>
7392         * include/sys/wait.h: Add some prototypes.
7393         * Rules (dummy.c): Create also prototype to shut up GCC.
7395 2000-12-27  Andreas Jaeger  <aj@suse.de>
7397         * sysdeps/mach/hurd/if_index.c (__protocol_available): Uncomment,
7398         it's not needed at the moment.
7399         * sysdeps/generic/if_index.c (__protocol_available): Likewise.
7400         * sysdeps/unix/sysv/linux/if_index.c (__protocol_available): Likewise.
7402 2000-12-26  Andreas Jaeger  <aj@suse.de>
7404         * libio/getc_u.c: Include stdio.h via system path to get internal
7405         prototypes.
7406         * libio/getwc_u.c: Likewise.
7408         * stdlib/strfmon.c: Fix prototype of __printf_fp.
7410         * stdio-common/vfprintf.c (process_arg): Move __printf_fphex and
7411         __printf_fp prototypes to ...
7412         * include/printf.h: ...here.
7414         * include/stdio.h: Add some internal prototypes to shut up GCC.
7415         * include/stdlib.h: Likewise.
7417         * sysdeps/posix/sigpause.c (__sigpause): Use ISO C prototype
7418         declaration.
7420         * include/signal.h: Add prototypes for internal sigpause
7421         interfaces.
7423 2000-12-26  Ulrich Drepper  <drepper@redhat.com>
7425         * sysdeps/generic/bits/byteswap.h (__bswap_64): Make it usable for
7426         64bit platforms.  Reported by Dave Gilbert <gilbertd@treblig.org>.
7428         * string/Makefile (tests): Add tst-bswap.
7429         * string/tst-bswap.c: New file.
7431 2000-12-11  Bruno Haible  <haible@clisp.cons.org>
7433         * Makefile ($(inst_includedir)/gnu/stubs.h): Sort in the C locale.
7435 2000-12-26  Ulrich Drepper  <drepper@redhat.com>
7437         * sunrpc/Makefile (rpcgen-cmd): Use single quotes in sed call.
7438         Patch by Ed Connell <Ed.Connell@sas.com>.
7440 2000-12-24  Ulrich Drepper  <drepper@redhat.com>
7442         * locale/iso-639.def: Correct one entry.  Add two missing entries.
7444         * locale/iso-4217.def: Change entry for Eritrea.
7445         Reported by Daniel Yacob <yacob@geez.org>.
7447 2000-12-23  Ben Collins  <bcollins@debian.org>
7449         * manual/charset.texi (Extended Char Intro): Fix typo in ISO 6937
7450         description.
7452         * manual/stdio.texi (Dynamic Output): Document the return value of
7453         asprintf.  Also make the asprintf/snprintf examples a little
7454         better (check for some error returns).
7456 2000-12-22  Andreas Jaeger  <aj@suse.de>
7458         * include/stdio.h: Add __ftrylockfile prototype.
7460 2000-12-21  H.J. Lu  <hjl@gnu.org>
7462         * sysdeps/ia64/fpu/math_ldbl.h (ieee_long_double_shape_type):
7463         Make sign_exponent element signed.
7465         * sysdeps/ieee754/ldbl-96/math_ldbl.h (ieee_long_double_shape_type):
7466         Fix a typo.
7468         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Remove dead branch.
7470 2000-12-21  Andreas Jaeger  <aj@suse.de>
7472         * nis/nss_nisplus/nisplus-ethers.c (struct etherent): Removed.
7473         * inet/ether_hton.c: Likewise
7474         * inet/ether_ntoh.c: Likewise.
7476         * nis/nss_nis/nis-ethers.c (_nss_nis_getntohost_r): Fix
7477         declaration to match prototype.
7479         * include/netinet/ether.h (struct etherent): Declare here so that
7480         all implementations use the same struct.
7482         * nis/nss_nis/nis-ethers.c: Include netinet/ether.h to get
7483         prototypes.
7484         (struct ether): Removed.
7485         Use struct etherent instead of ether everywhere.
7487         * include/rpc/auth.h (DECLARE_NSS_PROTOTYPES): New.
7489         * include/rpc/auth_des.h (DECLARE_NSS_PROTOTYPES): New.
7491         * sunrpc/publickey.c: Include auth_des.h for prototypes.
7493 2000-12-20  Ulrich Drepper  <drepper@redhat.com>
7495         * math/test-misc.c: Add more tests for nextafter functions.
7497         * sysdeps/i386/fpu/s_nextafterl.c: Handle change from denormal to
7498         normal correctly.  Correct test for sign.
7499         Based on a patch by HJ Lu.
7501 2000-12-19  Ulrich Drepper  <drepper@redhat.com>
7503         * Makeconfig (preprocess-version): Add -traditional to gcc call.
7504         Cleanup sed calls.
7506 2000-12-19  Andreas Jaeger  <aj@suse.de>
7508         * include/netinet/ether.h (DECLARE_NSS_PROTOTYPES): New.
7510         * nis/nis_intern.h: Add prototype for __do_niscall3.
7512         * nis/nss_nis/nis-rpc.c (_nss_nis_setrpcent): Fix declaration to
7513         match prototype.
7515         * include/netdb.h (DECLARE_NSS_PROTOTYPES): Reformat.
7517         * include/rpc/netdb.h (DECLARE_NSS_PROTOTYPES): New.
7519         * include/aliases.h (DECLARE_NSS_PROTOTYPES): New.
7521 2000-12-18  Ulrich Drepper  <drepper@redhat.com>
7523         * math/test-misc.c: Add more tests for nextafter.
7524         * sysdeps/i386/fpu/s_nextafterl.c: Handle decrement for x<0 correctly.
7525         * sysdeps/ieee754/ldbl-96/math_ldbl.h
7526         (ieee_long_double_shape_type): Make sign_exponent element signed.
7528         * manual/message.texi: Add Estonian to plural overview list.
7529         Correct rule for Slavic languages.
7530         Patch by Stanislav Brabec <utx@penguin.cz>.
7532         * nis/nss_nis/nis-netgrp.c: Remove unnecessary initializations.
7534 2000-12-18  Andreas Jaeger  <aj@suse.de>
7536         * test-skeleton.c: Use temp_name_list instead of name_list to
7537         avoid collision with name_list from inet/netgroup.h.
7539         * nss/nss_files/files-network.c (NEED_H_ERRNO): Define.
7541         * include/grp.h (DECLARE_NSS_PROTOTYPES): New.
7542         * include/pwd.h (DECLARE_NSS_PROTOTYPES): New.
7543         * include/netdb.h (DECLARE_NSS_PROTOTYPES): New.
7544         * include/shadow.h (DECLARE_NSS_PROTOTYPES): New.
7546         * hesiod/nss_hesiod/hesiod-proto.c (_nss_hesiod_setprotoent): Fix
7547         declaration to match prototype.
7548         * hesiod/nss_hesiod/hesiod-pwd.c (_nss_hesiod_setpwent): Likewise.
7549         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_setgrent): Likewise.
7550         * hesiod/nss_hesiod/hesiod-service.c (_nss_hesiod_setservent):
7551         Likewise.
7552         * nis/nss_nis/nis-grp.c (_nss_nis_setgrent): Likewise.
7553         * nis/nss_nis/nis-pwd.c (_nss_nis_setpwent): Likewise.
7554         * nis/nss_nis/nis-proto.c (_nss_nis_setprotoent): Likewise.
7555         * nis/nss_nis/nis-service.c (_nss_nis_setservent): Likewise.
7556         (_nss_nis_getservbyport_r): Likewise.
7557         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent): Likewise.
7558         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent): Likewise.
7559         * nis/nss_nis/nis-network.c (_nss_nis_getnetent_r): Likewise.
7560         (_nss_nis_setnetent): Likewise
7561         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
7562         (_nss_nis_endnetgrent): Likewise.
7563         * nis/nss_nisplus/nisplus-netgrp.c (_nss_nisplus_endnetgrent):
7564         Likewise.
7565         (_nss_nisplus_setnetgrent): Likewise.
7566         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Likewise.
7567         * nis/nss_nisplus/nisplus-pwd.c (_nss_nisplus_setpwent): Likewise.
7568         * nis/nss_nisplus/nisplus-grp.c (_nss_nisplus_setgrent): Likewise.
7569         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_setnetent):
7570         Likewise.
7571         * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_sethostent):
7572         Likewise.
7573         * nis/nss_nisplus/nisplus-service.c (_nss_nisplus_setservent):
7574         Likewise.
7575         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_setprotoent):
7576         Likewise.
7577         * nis/nss_compat/compat-spwd.c (_nss_compat_setspent): Likewise.
7578         * nis/nss_compat/compat-pwd.c (_nss_compat_setpwent): Likewise.
7579         * nis/nss_compat/compat-grp.c (_nss_compat_setgrent): Likewise.
7580         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Likewise.
7581         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Likewise.
7582         (_nss_dns_getnetbyaddr_r): Likewise.
7584 2000-12-17  Andreas Jaeger  <aj@suse.de>
7586         * sysdeps/generic/k_sinl.c (__kernel_sinl): Fix functions
7587         parameter.
7589         * sysdeps/unix/sysv/linux/shm_open.c (freeit): Make static and add
7590         unused attribute to shut up gcc warnings.
7592         * sysdeps/generic/k_sinl.c: Include math_private for prototypes.
7593         * sysdeps/generic/k_tanl.c: Likewise.
7594         * sysdeps/generic/k_cosl.c: Likewise.
7595         * sysdeps/generic/e_j0l.c: Likewise.
7596         * sysdeps/generic/e_j1l.c: Likewise.
7597         * sysdeps/generic/e_jnl.c: Likewise.
7598         * sysdeps/generic/e_lgammal_r.c: Likewise.
7600         * elf/vismain.c: Move prototypes for functions in vismod*.c to
7601         vismod.h.
7602         * elf/vismod.h: New file.
7603         * elf/Makefile (distribute): Add vismod.h.
7604         * elf/vismod1.c: Include vismod.h.
7605         * elf/vismod2.c: Likewise.
7606         * elf/vismod3.c: Likewise.
7608         * elf/constload3.c: Add prototype declarations to shut up gcc.
7609         * elf/failobj.c: Likewise.
7610         * elf/nodelmod3.c: Likewise.
7611         * elf/filtmod1.c: Likewise.
7612         * elf/filtmod2.c: Likewise.
7613         * elf/reldepmod1.c: Likewise.
7614         * elf/reldepmod2.c: Likewise.
7615         * elf/reldepmod3.c: Likewise.
7616         * elf/reldepmod4.c: Likewise.
7617         * elf/unload2dep.c: Likewise.
7618         * elf/unload2mod.c: Likewise.
7619         * elf/ltglobmod1.c: Likewise.
7620         * elf/pathoptobj.c: Likewise.
7621         * elf/neededobj1.c: Likewise.
7622         * elf/neededobj2.c: Likewise.
7623         * elf/neededobj3.c: Likewise.
7624         * elf/neededobj4.c: Likewise.
7625         * elf/nextmod1.c: Likewise.
7626         * elf/nextmod2.c: Likewise.
7628         * locale/programs/ld-collate.c (collate_finish): Don't use labels
7629         at end of compound statement.
7630         * locale/programs/locale.c (show_info): Likewise.
7631         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Likewise.
7633 2000-12-16  Jakub Jelinek  <jakub@redhat.com>
7635         * catgets/gencat.c (read_input_file): Avoid calling obstack_free
7636         with a pointer not returned by obstack_ functions.
7638 2000-12-16  Ulrich Drepper  <drepper@redhat.com>
7640         * sysdeps/unix/sysv/aix/bits/stat.h (struct stat): Align with AIX
7641         version.
7642         (struct stat64): Likewise.
7643         Reported by Michael Keezer <mkeezer@redhat.com>.
7645         * timezone/asia: Update from tzdata2000h.
7646         * timezone/australasia: Likewise.
7647         * timezone/backward: Likewise.
7648         * timezone/europe: Likewise.
7649         * timezone/northamerica: Likewise.
7650         * timezone/southamerica: Likewise.
7651         * timezone/zone.tab: Likewise.
7653 2000-12-14  Jakub Jelinek  <jakub@redhat.com>
7655         * io/ftw.c (ftw_dir): If process_entry returned non-zero result
7656         and dir.stream is NULL, only free dir.content.
7657         * io/ftwtest.c (cb, main): Add --early-exit option to test it.
7658         * io/ftwtest-sh: Test with --early-exit.
7660 2000-12-13  Jakub Jelinek  <jakub@redhat.com>
7662         * misc/efgcvt.c (FCVT_MAXDIG): Define.
7663         (FCVT_BUFPTR): New variable.
7664         (fcvt): If fcvt_r returns -1 on the static short buffer,
7665         try to malloc a sufficiently large one and retry.
7666         (free_mem): New function.
7667         * misc/qefgcvt.c (FCVT_MAXDIG): Define.
7668         * misc/tst-efgcvt.c (fcvt_tests): Add new test.
7670 2000-12-15  Ulrich Drepper  <drepper@redhat.com>
7672         * misc/dirname.c (dirname): Fix search for second to last slash.
7674 2000-12-13  Andreas Jaeger  <aj@suse.de>
7676         * misc/tst-dirname.c (main): Fix typo in test to really use
7677         the examples from Unix98.
7678         Reported by Michael Kerrisk <mtk16@ext.canterbury.ac.nz>.
7680 2000-12-09  H.J. Lu  <hjl@gnu.org>
7682         * sysdeps/ia64/fpu/s_fabs.S: New file.
7683         * sysdeps/ia64/fpu/s_fabsf.S: New file.
7684         * sysdeps/ia64/fpu/s_fabsl.S: New file.
7686 2000-12-15  Andreas Jaeger  <aj@suse.de>
7688         * stdio-common/scanf9.c (main): Reformat and change to avoid
7689         warnings.
7691         * stdio-common/tstdiomisc.c: Make local functions static.
7692         * stdio-common/tst-printf.c: Likewise.
7694         * elf/constload2.c: Add prototype declarations to shut up gcc.
7695         * elf/dep1.c: Likewise.
7696         * elf/dep2.c: Likewise.
7697         * elf/dep3.c: Likewise.
7698         * elf/dep4.c: Likewise.
7699         * elf/ltglobmod2.c: Likewise.
7701         * libio/fmemopen.c: Make local functions static.
7703         * elf/Makefile (distribute): Added testobj.h.
7705         * elf/testobj.h: New file.
7707         * elf/testobj1.c: Include testobj.h and move prototype
7708         declarations to testobj.h.
7709         * elf/testobj2.c: Likewise.
7710         * elf/testobj3.c: Likewise.
7711         * elf/testobj4.c: Likewise.
7712         * elf/testobj5.c: Likewise.
7713         * elf/testobj6.c: Likewise.
7714         * elf/testobj1_1.c: Likewise.
7715         * elf/preloadtest.c: Likewise.
7717 2000-12-15  Ben Collins  <bcollins@debian.org>
7719         * misc/sys/cdefs.h: Fix thinko in checks for flexarr macros.
7720         Patch by Akim Demaille <akim@epita.fr> in Debian bug report.
7722 2000-12-14  H.J. Lu  <hjl@gnu.org>
7724         * sysdeps/ieee754/flt-32/s_sincosf.c (__sincosf): The exponent
7725         field in a float is 8 bits, not 11 bits.
7727 2000-12-13  Jakub Jelinek  <jakub@redhat.com>
7729         * math/test-misc.c (main): Adjust m for IEEE quad long double.
7731 2000-12-13  Andreas Jaeger  <aj@suse.de>
7733         * manual/message.texi (Using gettextized software): Fix typo.
7735         * manual/charset.texi (Converting a Character): Fix mbstouwcs
7736         program to compile.
7737         Patch by Martin Buchholz <martin@xemacs.org>.
7739         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Fix typo.
7740         Reported by Michael Kerrisk <mtk16@ext.canterbury.ac.nz>.
7742 2000-12-11  Andreas Jaeger  <aj@suse.de>
7744         * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Declare
7745         kernel_sigset_t and use it.
7746         Patch by Hiroyuki Machida <machida@sm.sony.co.jp>.
7748 2000-12-10  Richard Henderson  <rth@redhat.com>
7750         * sysdeps/alpha/alphaev67/fpu/Implies: New file.
7751         * sysdeps/alpha/alphaev6/fpu/e_sqrtf.S: New file.
7752         * sysdeps/alpha/alphaev6/fpu/e_sqrt.S: New file.
7754 2000-12-10  Jakub Jelinek  <jakub@redhat.com>
7756         * sysdeps/alpha/htonl.S: Fix a typo.
7758 2000-12-10  Jakub Jelinek  <jakub@redhat.com>
7760         * sysdeps/alpha/alphaev6/stxcpy.S: Exchange t8 with t10.
7762 2000-12-10  Andreas Jaeger  <aj@suse.de>
7764         * locale/programs/ld-ctype.c (charclass_symbolic_ellipsis): Fixed
7765         cast as suggested by Jakub Jelinek <jakub@redhat.com> and Ulrich
7766         Drepper <drepper@redhat.com>.
7768 2000-12-09  Andreas Jaeger  <aj@suse.de>
7770         * sysdeps/unix/sysv/linux/mips/sigaction.c: New file.
7772         * sysdeps/unix/sysv/linux/mips/sys/acct.h: Removed, we can use the
7773         generic version.
7774         Patches by Hiroyuki Machida <machida@sm.sony.co.jp>.
7776         * locale/programs/ld-collate.c (handle_ellipsis): Fix format
7777         string.
7779         * locale/programs/ld-ctype.c (charclass_symbolic_ellipsis): Fix
7780         format string.
7782         * nscd/hstcache.c (addhstbyname): Add cast to avoid warning.
7783         * nscd/connections.c (handle_request): Likewise.
7784         * nscd/pwdcache.c (addpwbyname): Likewise.
7785         * nscd/grpcache.c (addgrbyname): Likewise.
7787         * nscd/nscd_conf.c (nscd_parse_file): Remove extra argument.
7789 2000-12-09  Ulrich Drepper  <drepper@redhat.com>
7791         * string/stratcliff.c: Add tests for stpncpy, memcpy, and mempcpy.
7793         * Makeconfig (default_cflags): Make -O2 the default for stable
7794         releases.
7796 2000-12-08  H.J. Lu  <hjl@gnu.org>
7798         * sysdeps/ia64/fpu/s_isinfl.S: Renamed to ...
7799         * sysdeps/ia64/fpu/s_isinf.S: This.
7800         Add a .pred.rel.mutex note to avoid false report.
7802         * sysdeps/ia64/fpu/s_isnanl.S: Renamed to ...
7803         * sysdeps/ia64/fpu/s_isnan.S: This.
7805         * sysdeps/ia64/fpu/s_fpclassify.S: New file.
7806         * sysdeps/ia64/fpu/s_fpclassifyf.S: New file.
7807         * sysdeps/ia64/fpu/s_fpclassifyl.S: New file.
7808         * sysdeps/ia64/fpu/s_isinff.S: New file.
7809         * sysdeps/ia64/fpu/s_isinfl.S: New file.
7810         * sysdeps/ia64/fpu/s_isnanf.S: New file.
7811         * sysdeps/ia64/fpu/s_isnanl.S: New file.
7812         * sysdeps/ia64/fpu/s_finite.S: New file.
7813         * sysdeps/ia64/fpu/s_finitef.S: New file.
7814         * sysdeps/ia64/fpu/s_finitel.S: New file.
7815         * sysdeps/ia64/fpu/s_signbit.S: New file.
7816         * sysdeps/ia64/fpu/s_signbitf.S: New file.
7817         * sysdeps/ia64/fpu/s_signbitl.S: New file.
7818         * sysdeps/ia64/fpu/s_copysign.S: New file.
7819         * sysdeps/ia64/fpu/s_copysignf.S: New file.
7820         * sysdeps/ia64/fpu/s_copysignl.S: New file.
7822 2000-12-08  Ulrich Drepper  <drepper@redhat.com>
7824         * math/libm-test.inc (main): Fix typos in messages.
7826         * string/stratcliff.c: Add test for rawmemchr.
7828 2000-12-08  Jakub Jelinek  <jakub@redhat.com>
7830         * elf/dl-open.c (_dl_open): If objname points right after errstring,
7831         allocate it together with errstring using alloca.
7832         * elf/dl-error.c (_dl_signal_error): If malloc failed, set objname
7833         to "", because it might point to local stack.
7835 2000-12-05  H.J. Lu  <hjl@gnu.org>
7837         * nss/Makefile (routines): Add getnssent and getnssent_r.
7838         * nss/nsswitch.h (__nss_setent): New internal NSS function.
7839         (__nss_endent): Likewise.
7840         (__nss_getent_r): Likewise.
7841         (__nss_getent): Likewise.
7842         * nss/getnssent_r.c: New file.
7843         * nss/getnssent.c: New file.
7844         * nss/getXXent.c (H_ERRNO_VAR): Updated.
7845         (GETFUNC_NAME): Updated to call __nss_getent ().
7846         * nss/getXXent_r.c (H_ERRNO_VAR_P): New.
7847         (STAYOPEN_TMPVAR): Updated.
7848         (STAYOPEN_VAR): Updated.
7849         (SETFUNC_NAME): Updated to call __nss_setent ().
7850         (ENDFUNC_NAME): Updated to call __nss_endent ().
7851         (INTERNAL (REENTRANT_GETNAME)): Updated to call __nss_getent_r ().
7853 2000-12-08  Andreas Jaeger  <aj@suse.de>
7855         * nscd/dbg_log.h (dbg_log): Correct attribute.
7857 2000-12-08  Jakub Jelinek  <jakub@redhat.com>
7859         * elf/dl-load.c (fillin_rpath): Don't assume there is '\0' at
7860         cp + len.  Compute where from dirname.
7861         Reported by <jreiser@BitWagon.com>.
7863 2000-12-08  Richard Henderson  <rth@twiddle.net>
7865         * sysdeps/alpha/_mcount.S: Fix typo.
7866         * sysdeps/alpha/strncpy.S: Likewise.
7868         * sysdeps/alpha/alphaev6/Implies: New file.
7869         * sysdeps/alpha/alphaev67/Implies: New file.
7870         * sysdeps/alpha/alphaev67/ffs.S: New file.
7871         * sysdeps/alpha/alphaev67/ffsll.S: New file.
7872         * sysdeps/alpha/alphaev67/rawmemchr.S: New file.
7873         * sysdeps/alpha/alphaev67/stpcpy.S: New file.
7874         * sysdeps/alpha/alphaev67/stpncpy.S: New file.
7875         * sysdeps/alpha/rawmemchr.S: New file.
7876         * sysdeps/alpha/strcat.S: Tail call to __stxcpy.
7877         * sysdeps/alpha/strcpy.S: Likewise.
7879         From GMP 3.1.1:
7880         * sysdeps/alpha/alphaev6/addmul_1.s: New file.
7882         From rick.gorton@alpha-processor.com:
7883         * sysdeps/alpha/alphaev6/memchr.S: New file.
7884         * sysdeps/alpha/alphaev6/memcpy.S: New file.
7885         * sysdeps/alpha/alphaev6/memset.S: New file.
7886         * sysdeps/alpha/alphaev6/stxcpy.S: New file.
7887         * sysdeps/alpha/alphaev6/stxncpy.S: New file.
7888         * sysdeps/alpha/alphaev67/strcat.S: New file.
7889         * sysdeps/alpha/alphaev67/strchr.S: New file.
7890         * sysdeps/alpha/alphaev67/strlen.S: New file.
7891         * sysdeps/alpha/alphaev67/strncat.S: New file.
7892         * sysdeps/alpha/htonl.S: Use a shorter sequence.
7894 2000-12-08  Jakub Jelinek  <jakub@redhat.com>
7896         * inet/getnameinfo.c (getnameinfo): Fix NI_NOFQDN support.
7897         Reported by <pspencer@fields.utoronto.ca>.
7899 2000-12-07  Jes Sorensen  <jes@linuxcare.com>
7901         * sysdeps/ia64/elf/start.S (__data_start): Add __data_start variable.
7902         Pointed out by Hans Boehm.
7904 2000-12-07  H.J. Lu  <hjl@gnu.org>
7906         * elf/dl-version.c (match_symbol): Check map->l_name[0] for printing.
7908 2000-12-07  Andreas Jaeger  <aj@suse.de>
7910         * misc/error.c: Add format attributes for __error and __error_at_line.
7912         * nscd/dbg_log.h: Add format attribute.
7914 2000-12-08  Ulrich Drepper  <drepper@redhat.com>
7916         * misc/sys/syslog.h: Add format attributes to syslog and vsyslog.
7917         Patch by Joseph S. Myers <jsm28@cam.ac.uk>.
7919 2000-12-07  Dan Pop  <Dan.Pop@cern.ch>
7921         * sysdeps/ia64/strcpy.S: Fix a bug in a recovery code sequence.
7923 2000-12-06  Ulrich Drepper  <drepper@redhat.com>
7925         * sysdeps/unix/sysv/aix/Makefile [$(subdir)==misc]
7926         (sysdep_routines): Add uitrunc.
7927         * sysdeps/unix/sysv/aix/uitrunc.c: New file.
7928         Patches by Michael Keezer <mkeezer@redhat.com>.
7930 2000-12-06  Roland McGrath  <roland@frob.com>
7932         * sysdeps/mach/hurd/ioctl.c (__ioctl): Don't clobber ARG as we copy in
7933         argument data, since it will be used to copy out too (for INOUT).
7934         Reported by Marcus Brinkmann <marcus@gnu.org>.
7936         * sysdeps/mach/hurd/ioctl.c: Include <stdint.h>.
7937         (__ioctl): Use uintptr_t instead of unsigned long int.
7939 2000-12-06  Jim Wilson  <wilson@redhat.com>
7941         * stdlib/l64a.c (l64a): Truncate M to 32-bit value.
7943 2000-12-06  Ulrich Drepper  <drepper@redhat.com>
7945         * stdio-common/printf_fp.c (__printf_fp): Handle decimal point in
7946         x.5 rounding correctly.
7948 2000-12-06  Mark Kettenis  <kettenis@gnu.org>
7950         * stdio-common/perror.c (perror): Conditionalize code dealing with
7951         wide-oriented streams on USE_IN_LIBIO.
7953 2000-12-06  Mark Kettenis  <kettenis@gnu.org>
7955         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup): Mark
7956         as internal_function.
7958 2000-12-05  Ulrich Drepper  <drepper@redhat.com>
7960         * sysdeps/alpha/elf/start.S (__data_start): Define.
7962 2000-12-05  H.J. Lu  <hjl@gnu.org>
7964         * nss/getXXent_r.c (setup): Change the return type to int.
7966 2000-12-05  Ulrich Drepper  <drepper@redhat.com>
7968         * sysdeps/unix/sysv/aix/Makefile [$(subdir)==misc]
7969         (sysdep_routines): Add restf and savef.
7970         * sysdeps/unix/sysv/aix/restf.c: New file.
7971         * sysdeps/unix/sysv/aix/savef.c: New file.
7972         Patches by Michael Keezer <mkeezer@redhat.com>.
7974         * sysdeps/unix/opendir.c (__opendir): Don't use o_directory_works
7975         if O_DIRECTORY is not defined.
7976         Patch by Michael Keezer <mkeezer@redhat.com>.
7978         * include/libc-symbols.h (C_SYMBOL_DOT_NAME): Define.
7979         Patch by Michael Keezer <mkeezer@redhat.com>.
7981         * locale/programs/linereader.c (get_toplvl_escape): Recognize more
7982         than 4 bytes in escape sequence.
7983         Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
7985 2000-12-05  Andreas Jaeger  <aj@suse.de>
7987         * sysdeps/unix/sysv/linux/mips/sys/tas.h (_test_and_set): Don't
7988         set mips2.
7990         * sysdeps/unix/sysv/linux/mips/sysdep.h: New file.
7992         * sysdeps/unix/sysv/linux/mips/sys/syscall.h: Removed.
7994         * sysdeps/unix/mips/sysdep.h: Use SYS_ify.
7995         Patches by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
7997         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Mark as
7998         internal_function.
7999         * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Likewise.
8000         * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start_cleanup): Likewise.
8002         * sysdeps/generic/dl-cache.c: Remove declaration of
8003         _dl_sysdep_read_whole_file.
8005         * elf/dl-load.c (_dl_map_object): Remove declaration of
8006         _dl_load_cache_lookup.
8008         * sysdeps/generic/ldsodefs.h: Add declarations of
8009         _dl_load_cache_lookup, _dl_unload_cache,
8010         _dl_sysdep_read_whole_file, _dl_sysdep_start and
8011         _dl_sysdep_start_cleanup.
8013         * elf/rtld.c: Remove prototypes that are defined in ldsodefs.h
8014         now.
8016         * elf/dl-misc.c: Include <ldsodefs.h> to get prototypes.
8017         * sysdeps/generic/dl-environ.c: Likewise.
8019         * stdio-common/printf_fp.c: Include <gmp.h> instead of
8020         <stdlib/gmp.h>.
8021         * math/atest-exp.c: Likewise.
8022         * math/atest-exp2.c: Likewise.
8023         * math/atest-sincos.c: Likewise.
8024         * stdio-common/_itoa.c: Likewise.
8025         * stdio-common/_itowa.c: Likewise.
8027         * include/gmp.h: New file with internal prototypes.
8029         * sysdeps/generic/longjmp.c: Move _longjmp_unwind declaration from
8030         here to...
8031         * include/setjmp.h: ...here.
8033         * locale/Makefile (routines): Remove codeset_name since it's not
8034         needed anywhere.
8036         * locale/codeset_name.c: Removed.
8038 2000-12-05  Ulrich Drepper  <drepper@redhat.com>
8040         * sysdeps/unix/sysv/aix/sys/param.h: Define MAXHOSTNAMELEN here.
8042 2000-12-05  Andreas Jaeger  <aj@suse.de>
8044         * sysdeps/unix/sysv/linux/sys/param.h: Revert last patch.
8046 2000-12-05  Martin Schwidefsky  <schwidefsky@de.ibm.com>
8048         * sysdeps/unix/sysv/linux/s390/mmap64.S: Use mmap if mmap2 isn't
8049         available.
8051 2000-12-05  Andreas Jaeger  <aj@suse.de>
8053         * nss/test-netdb.c: Mark local functions as static to avoid
8054         warnings.
8055         (main): Use return to silence warning.
8057         * stdlib/test-canon.c (check_path): Mark as static to avoid warning.
8059         * stdio-common/test-popen.c: Mark local functions as static to
8060         avoid warnings.
8061         (main): Use return to silence warning.
8063         * stdlib/testsort.c (compare): Mark as static to avoid warning.
8065         * assert/test-assert.c: Mark local functions as static to avoid
8066         warnings.
8067         * assert/test-assert-perr.c: Likewise.
8069         * math/libm-test.inc (main): Use return to silence warnings.
8071 2000-12-04  Ulrich Drepper  <drepper@redhat.com>
8073         * math/fenv.h: Fix typo in comment.
8075         * math/test-misc.c (main): Add a few more over and underflow tests
8076         for scalb.
8078         * sysdeps/i386/fpu/e_scalb.S: Handle NaN as first parameter correctly.
8079         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
8080         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
8081         * math/w_scalb.c: Don't use matherr except in SVID mode.
8082         * math/w_scalbf.c: Likewise.
8083         * math/w_scalbl.c: Likewise.
8084         * math/test-misc.c: Add test for NaN and scalbl.
8085         Reported by Fred J. Tydeman <tydeman@tybor.com>.
8087 2000-12-04  Ulrich Drepper  <drepper@redhat.com>
8089         * configure.in: Define HAVE_ASM_GLOBAL_DOT_NAME for AIX.
8090         * config.h.in: Add HAVE_ASM_GLOBAL_DOT_NAME.
8091         * include/libc-symbols.h (strong_alias): Define special version
8092         for HAVE_ASM_GLOBAL_DOT_NAME.
8093         (weak_alias): Likewise.
8094         * sysdeps/powerpc/bsd-setjmp.S: Use strong_alias not .set.
8095         * sysdeps/unix/sysv/aix/Makefile [$(subdir)==login]
8096         (sysdep_routines): Add setutxent, getutxent, endutxent, getutxid,
8097         getutxline, pututxline, and utmpxname.
8098         * sysdeps/unix/sysv/aix/fchdir.c: Define __fchdir.
8099         * sysdeps/unix/sysv/aix/lseek.c: Define __libc_lseek alias.
8100         * sysdeps/unix/sysv/aix/open.c: Define __libc_open alias.
8101         * sysdeps/unix/sysv/aix/pread.c: Define pread alias.
8102         * sysdeps/unix/sysv/aix/pread64.c: Define pread64 alias.
8103         * sysdeps/unix/sysv/aix/sysdep.h (JUMPTARGET): Use C_TEXT.
8104         * sysdeps/unix/sysv/aix/bits/types.h: Define __clockid_t and __timer_t.
8105         * sysdeps/unix/sysv/aix/bits/utmp.h: Cleanup.  Add comments.
8106         * sysdeps/unix/sysv/linux/sys/param.h (MAXHOSTNAMELEN): Define.
8107         Patches by Michael Keezer <mkeezer@redhat.com>.
8109 2000-12-04  H.J. Lu  <hjl@gnu.org>
8111         * configure.in: Change --with-oldest-abi=ABI to
8112         --enable-oldest-abi=ABI.
8114 2000-12-02  Bruno Haible  <haible@clisp.cons.org>
8116         * stdio-common/perror.c (perror): If stderr is wide-oriented, use
8117         fwprintf instead of fprintf.
8119 2000-12-04  Ulrich Drepper  <drepper@redhat.com>
8121         * sysdeps/alpha/fpu/bits/mathdef.h: Remove FLT_EVAL_METHOD and
8122         DECIMAL_DIG definitions.
8123         * sysdeps/arm/fpu/bits/mathdef.h: Likewise
8124         * sysdeps/generic/bits/mathdef.h: Likewise
8125         * sysdeps/i386/fpu/bits/mathdef.h: Likewise
8126         * sysdeps/ia64/fpu/bits/mathdef.h: Likewise
8127         * sysdeps/m68k/fpu/bits/mathdef.h: Likewise
8128         * sysdeps/powerpc/fpu/bits/mathdef.h: Likewise
8129         * sysdeps/sparc/fpu/bits/mathdef.h: Likewise
8130         * sysdeps/sh/sh4/fpu/bits/mathdef.h: Likewise
8132 2000-12-03  Ulrich Drepper  <drepper@redhat.com>
8134         * math/test-fenv.c (main): Use return instead of exit to avoid warning.
8136         * math/atest-exp.c: Mark local functions as static to avoid warnings.
8137         * math/atest-exp2.c: Likewise.
8138         * math/atest-sincos.c: Likewise.
8140         * sysdeps/i386/fpu/bits/mathdef.h (DECIMAL_DIG): Correct value.
8141         Reported by Fred J. Tydeman <tydeman@tybor.com>.
8143         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Hopefully fix
8144         the handling of denormalized numbers.
8146         * math/test-misc.c (main): Test for fpclassify and pseudo denormal
8147         numbers on x86.
8148         * sysdeps/i386/fpu/fpclassifyl.c: New file.
8150         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Handle the
8151         pseudo denormal representation of LDBL_MIN.
8153         * iconvdata/SJIS.irreversible: Remove unnecessary entries.
8154         * iconvdata/EUC-JP.irreversible: Remove unnecessary entries.
8156         * iconvdata/sjis.c: Enable round-trip mapping of backslash and tilde.
8157         * iconvdata/jis0208.c: Likewise.
8158         * iconvdata/jis0212.c: Likewise.
8159         Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
8161         * math/test-misc.c (main): More tests for frexp and some for
8162         fpclassify and isnormal.
8164         * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf): Correct
8165         test for subnormal.
8166         Reported by Fred J. Tydeman <tydeman@tybor.com>.
8168         * math/test-misc.c (main): Add tests for frexp.
8169         Reported by Fred J. Tydeman <tydeman@tybor.com>.
8170         * sysdeps/i386/fpu/s_frexpl.S: Don't overflow during the computation.
8172 2000-12-02  H.J. Lu  <hjl@gnu.org>
8174         * locale/lc-time.c (_nl_init_era_entries): Pass L'\0' instead of
8175         '\0' to wcschr.
8177 2000-12-02  Ulrich Drepper  <drepper@redhat.com>
8179         * sysdeps/i386/fpu/s_frexp.S: Add missing fwait.
8180         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
8181         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
8183         * sysdeps/generic/glob.c: Adjust types of several variables to
8184         avoid warnings.
8186 2000-12-01  Ulrich Drepper  <drepper@redhat.com>
8188         * sysdeps/unix/sysv/linux/shm_open.c: Remove incorrect comment.
8190 2000-11-30  Roland McGrath  <roland@frob.com>
8192         * hurd/hurd/ioctl.h (_HURD_HANDLE_IOCTLS_1): New macro.
8193         (_HURD_HANDLE_IOCTLS, _HURD_HANDLE_IOCTL): Redefine using it, so as to
8194         allow multiple instances using the same function name in one file.
8196 2000-12-01  Ulrich Drepper  <drepper@redhat.com>
8198         * configure.in: Correct test for pserver CVS access.
8200 2000-11-28  H.J. Lu  <hjl@gnu.org>
8202         * libio/libio.h: Remove extra "#if ... #endif".
8204 2000-11-29  H.J. Lu  <hjl@gnu.org>
8206         * stdio-common/vfscanf.c (ORIENT): Swap the COMPILE_WSCANF case.
8208 2000-12-01  H.J. Lu  <hjl@gnu.org>
8210         * nss/getXXbyYY_r.c: Fix verioned symbol handling.
8211         * nss/getXXent_r.c: Likewise.
8212         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
8214 2000-11-30  H.J. Lu  <hjl@gnu.org>
8216         * scripts/abi-versions.awk (oldest_abi): New variable.
8217         Handle the oldest ABI supported.
8219         * Makerules ($(common-objpfx)abi-versions.h): Set oldest_abi
8220         for scripts/abi-versions.awk.
8222         * configure.in: Add --with-oldest-abi=ABI.
8223         * configure: Rebuild.
8225         * config.make.in (oldest-abi): New.
8227         * config.h.in (GLIBC_OLDEST_ABI): New.
8229         * csu/version.c (banner): Support GLIBC_OLDEST_ABI.
8231 2000-11-30  Jakub Jelinek  <jakub@redhat.com>
8233         * locale/setlocale.c (setname): Free for all categories, not just
8234         LC_ALL.
8235         (setlocale): Store a copy of string passed by user, not the string
8236         itself.
8238 2000-11-30  Roland McGrath  <roland@frob.com>
8240         * sysdeps/mach/hurd/defs.c (init_stdio): Put this on __libc_subinit
8241         rather than _hurd_fd_subinit, so it happens after it's safe to use
8242         libc facilities like malloc.
8244 2000-11-28  Andreas Jaeger  <aj@suse.de>
8246         * sysdeps/unix/sysv/linux/getdents.c: Add _syscall_getdents64
8247         declaration, adjust declaration of __syscall_getdents to match
8248         kernel.
8250 2000-11-29  H.J. Lu  <hjl@gnu.org>
8252         * sysdeps/generic/readelflib.c (check_ptr): Undefine it first.
8254 2000-11-29  Andreas Jaeger  <aj@suse.de>
8256         * sysdeps/unix/sysv/linux/hppa/brk.c (__brk): Remove unused variable.
8258 2000-11-28  Ulrich Drepper  <drepper@redhat.com>
8260         * dlfcn/defaultmod1.c: Add prototypes to avoid warnings.
8261         * dlfcn/defaultmod2.c: Likewise.
8262         * dlfcn/dlopen.c: Likewise.
8263         * dlfcn/dlopenold.c: Likewise.
8264         * dlfcn/failtestmod.c: Likewise.
8265         * dlfcn/glreflib1.c: Likewise.
8266         * dlfcn/glreflib2.c: Likewise.
8267         * dlfcn/eval.c: Likewise.  Add attributes.
8269         * ctype/ctype-extn.c: Define isblank and not __isblank.
8271         * time/strftime.c: Add const where necessary to avoid warnings.
8272         * time/strptime.c (strptime_internal): Add casts to avoid warnings.
8274 2000-11-22  Paul Eggert  <eggert@twinsun.com>
8276         * time/strftime.c (my_strftime): Do not invoke mbrlen with a
8277         size of (size_t) -1; it's not portable.
8279 2000-11-28  Ulrich Drepper  <drepper@redhat.com>
8281         * sysdeps/i386/fpu/libm-test-ulps: Adjust some values for the
8282         crappy i486 FPU.
8283         Reported by Michael Deutschmann <michael@talamasca.ocis.net>.
8285 2000-11-14  Jes Sorensen  <jes@linuxcare.com>
8287         * sysdeps/ia64/_mcount.S: Call __mcount instead of __mcount_internal.
8289         * sysdeps/ia64/Makefile: Compile _mcount.S in subdir gmon as
8290         _mcount is required by profiled binaries.
8292         * sysdeps/unix/sysv/linux/ia64/machine-gmon.h: Moved to...
8293         * sysdeps/ia64/machine-gmon.h: ...here.
8295 2000-11-28  Masahide Washizawa  <washi@jp.ibm.com>
8297         * iconvdata/Makefile (modules): Add IBM922, IBM1124, and IBM1129.
8298         (distribute): Add ibm922.c, ibm1124.c, ibm1129.c, ibm922.h, ibm1124.h,
8299         and ibm1129.h.
8300         * iconvdata/gconv-modules: Add entries for IBM922, IBM1124, and
8301         IBM1129.
8302         * iconvdata/ibm922.c: New file.
8303         * iconvdata/ibm922.h: New file.
8304         * iconvdata/ibm1124.c: New file.
8305         * iconvdata/ibm1124.h: New file.
8306         * iconvdata/ibm1129.c: New file.
8307         * iconvdata/ibm1129.h: New file.
8308         * iconvdata/testdata/IBM922: New file.
8309         * iconvdata/testdata/IBM922..UTF8: New file.
8310         * iconvdata/testdata/IBM1124: New file.
8311         * iconvdata/testdata/IBM1124..UTF8: New file.
8312         * iconvdata/testdata/IBM1129: New file.
8313         * iconvdata/testdata/IBM1129..UTF8: New file.
8315 2000-11-28  Ulrich Drepper  <drepper@redhat.com>
8317         * catgets/gencat.c (normalize_line): Take extra parameter with escape
8318         character.  Change callers.
8319         (open_conversion): Determine mapping of 0x5c as wchar_t value.
8320         * catgets/Makefile: Add rules to build and run test-gencat.
8321         * catgets/sample.SJIS: New file.
8322         * catgets/test-gencat.c: New file.
8323         * catgets/test-gencat.sh: New file.
8324         Report and test case by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
8326 2000-11-28  Andreas Jaeger  <aj@suse.de>
8328         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Synch with generic
8329         Linux version.
8331 2000-11-28  Ulrich Drepper  <drepper@redhat.com>
8333         * sysdeps/unix/sysv/linux/bits/socket.h: Fix last patch.
8335 2000-11-28  Andreas Jaeger  <aj@suse.de>
8337         * sysdeps/unix/sysv/linux/bits/socket.h (struct cmsghdr): Use
8338         __flexarr.
8339         * sysdeps/unix/sysv/linux/mips/bits/socket.h (struct cmsghdr):
8340         Likewise.
8342 2000-11-27  Ulrich Drepper  <drepper@redhat.com>
8344         * misc/getusershell.c: Make strings in okshells array const.
8345         * misc/regexp.c: Add const to cast to avoid warnings.
8346         * sysdeps/unix/sysv/linux/llseek.c: Add prototype for __llseek.
8347         * sysdeps/unix/sysv/linux/i386/setresuid.c: Add prototype for
8348         __setresuid.
8349         * sysdeps/unix/sysv/linux/i386/setresgid.c: Add prototype for
8350         setresgid.
8351         * misc/error.c: Add prototypes for __error and __error_at_line.
8352         * misc/mntent_r.c (__getmntent_r): Add break at end of switch
8353         statement to avoid warning.
8354         * test-skeleton.c: Mark timeout_handler with noreturn.
8355         * iconv/skeleton.c (get16u): Add const to cast.
8356         (get32u): Likewise.
8357         * iconvdata/gb18030.c: Likewise.
8358         * iconvdata/iso-2022-cn-ext.c: Likewise.
8359         * iconvdata/ansi_x3.110.c: Add cast to avoid warning.
8360         * iconvdata/big5.c: Likewise.
8361         * iconvdata/big5hkscs.c: Likewise.
8362         * iconvdata/iso_6937.c: Likewise.
8363         * iconvdata/iso_6937-2.c: Likewise.
8364         * iconvdata/t.61.c: Likewise.
8365         * iconvdata/iso646.c: Add prototypes for gconv_init and gconv_env.
8366         * iconvdata/unicode.c: Likewise.
8367         * iconvdata/utf-16.c: Likewise.
8368         * iconvdata/cns11643.h (ucs4_to_cns11643): Define needed as size_t.
8369         * iconv/gconv_trans.c (__gconv_translit_find): Avoid one warning
8370         with little code shuffling.
8372         * sysdeps/powerpc/Makefile (CFLAGS-initfini.s): Add -O1 to avoid
8373         the problems introduced when the user selects -O3.
8375         * iconv/gconv.h (__gconv_info): Define __data element using __flexarr.
8376         * misc/sys/cdefs.h: Define __flexarr.
8377         Proposed by Joseph S. Myers <jsm28@cam.ac.uk>.
8379         * iconvdata/iso-2022-jp.c: Add prototypes to avoid warnings.
8380         * iconv/skeleton.c: Likewise.
8381         * iconvdata/iso8859-1.c (BODY to 8859-1): Add const to cast.
8382         * iconv/loop.c (get16): Add const to cast.
8383         (get32): Likewise.
8385 2000-11-27  Andreas Jaeger  <aj@suse.de>
8387         * login/programs/pt_chown.c (do_pt_chown): Mark function as static
8388         to avoid warning.
8389         * login/programs/utmpdump.c (print_entry): Likewise.
8391 2000-11-25  Maciej W. Rozycki  <macro@ds2.pg.gda.pl>
8393         * sysdeps/mips/__longjmp.c (__longjmp): Restore SP and FP last and
8394         in a single asm as they may be used to access other stored
8395         registers.
8396         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
8398 2000-11-27  Andreas Jaeger  <aj@suse.de>
8400         * rt/tst-aio.c: Mark test functions as static to avoid warnings.
8401         * rt/tst-aio64.c: Likewise.
8403 2000-11-27  Ulrich Drepper  <drepper@redhat.com>
8405         * catgets/Makefile (test1.cat): Set LC_ALL, LOCPATH, and GCONV_PATH
8406         for gencat run.
8407         (libc.cat): Likewise.
8408         * catgets/gencat.c: Implement handling of message catalogs encoded
8409         with stateful character sets.
8410         Based on a patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
8412 2000-11-26  Ulrich Drepper  <drepper@redhat.com>
8414         * sysdeps/unix/opendir.c (__opendir): Add cast to avoid warning.
8416         * inet/getnameinfo.c: Adjust casts to avoid warnings.
8417         * inet/rcmd.c: Likewise.
8418         * inet/ruserpass.c: Likewise.
8419         * inet/netinet/in.h (IN6_IS_ADDR_UNSPECIFIED, IN6_IS_ADDR_LOOPBACK,
8420         IN6_IS_ADDR_MULTICAST, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
8421         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, IN6_ARE_ADDR_EQUAL,
8422         IN6_IS_ADDR_MC_NODELOCAL, IN6_IS_ADDR_MC_LINKLOCAL,
8423         IN6_IS_ADDR_MC_SITELOCAL, IN6_IS_ADDR_MC_ORGLOCAL,
8424         IN6_IS_ADDR_MC_GLOBAL): Preserve const in cast.
8425         * include/aliases.h: Add prototypes for internal __getalias* functions.
8426         * include/netdb.h: Add prototypes for __old_gethostent_r,
8427         __old_gethostbyaddr_r, __old_gethostbyname_r, __old_gethostbyname2_r,
8428         __old_getnetent_r, __old_getnetbyaddr_r, __old_getnetbyname_r,
8429         __old_getservent_r, __old_getservbyname_r, __old_getservbyport_r,
8430         __old_getprotoent_r, __old_getprotobyname_r, __old_getprotobynumber_r.
8431         * include/rpc/netdb.h: Add prototypes for __old_getrpcbyname_r,
8432         __old_getrpcbynumber_r, __old_getrpcent_r.
8434         * include/rpc/netdb.h: Add __getrpcbyname_r, __getrpcbynumber_r,
8435         __getrpcent_r prototypes.
8437 2000-11-25  Ulrich Drepper  <drepper@redhat.com>
8439         * string/strcoll.c: Add casts to avoid warnings.
8440         * string/strnlen.c: Likewise.
8441         * string/strxfrm.c: Likewise.
8442         * sysdeps/generic/_strerror.c: Likewise.
8443         * sysdeps/generic/memrchr.c: Likewise.
8444         * sysdeps/generic/strcasestr.c: Likewise.
8445         * sysdeps/generic/strstr.c: Likewise.
8447         * locale/weight.h (findidx): Add const to cast to avoid warning.
8449         * elf/loadfail.c: Little cosmetic changes to avoid warnings.
8450         * elf/loadtest.c: Likewise.
8451         * elf/multiload.c: Likewise.
8452         * elf/next.c: Likewise.
8453         * elf/nodelete.c: Likewise.
8454         * elf/noload.c: Likewise.
8455         * elf/order.c: Likewise.
8456         * elf/origtest.c: Likewise.
8457         * elf/preloadtest.c: Likewise.
8458         * elf/restest1.c: Likewise.
8460         * sysdeps/i386/i486/bits/string.h (__strncat_g) [i686]: Fourth
8461         parameter of asm must be in %ecx.
8463         * string/tester.c: Mark test functions as static to avoid warnings.
8465         * iconv/gconv_conf.c (read_conf_file): Make mod_counter static to
8466         preserve value over different gconv-modules files.
8468 2000-11-24  Ulrich Drepper  <drepper@redhat.com>
8470         * locale/findlocale.c: Add casts to avoid warnings.
8471         * locale/localeinfo.h (LIMAGIC): Add cast to avoid warnings.
8472         * misc/efgcvt_r.c (fcvt_r): Use ssize_t instead of int and add cast
8473         to avoid warnings.
8474         * misc/tsearch.c (const_node): New type.
8475         (trecurse): Correct casts to avoid warnings.
8476         (__twalk): Likewise.
8477         * stdlib/tst-limits.c: Add z modifier to formats for WORD_BIT and
8478         LONG_BIT.
8480         * debug/backtrace-tst.c (compare): Add casts to avoid warnings.
8482         * test-skeleton.c: Mark local functions as static to avoid warnings.
8484 2000-11-23  H.J. Lu  <hjl@gnu.org>
8486         * rt/tst-aio6.c (do_test): Use pipe instead of STDIN_FILENO to
8487         support the background job.
8488         Fix a typo.
8490 2000-11-24  Ulrich Drepper  <drepper@redhat.com>
8492         * iconv/gconv_conf.c (insert_module): Replace old entry if new one
8493         has same names but lower cost.
8495 2000-11-23  Jakub Jelinek  <jakub@redhat.com>
8497         * sysdeps/sparc/sparc32/dl-machine.h: Ifdef out handling for relocs
8498         which never occur during bootstrap.
8499         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
8501 2000-11-23  Andreas Jaeger  <aj@suse.de>
8503         * nss/nss_files/files-hosts.c: Remove getipnodebyname.
8505         * nss/Versions: Remove _nss_files_getipnodebyname_r.
8507         * sysdeps/unix/sysv/linux/Versions: Fix typo in last patch.
8509 2000-11-18  Martin Buchholz  <martin@xemacs.org>
8511         * csu/gmon-start.c (__gmon_start__): Avoid over-clever trick `if
8512         (called++) return;'
8514 2000-11-21  Alan Modra  <alan@linuxcare.com.au>
8516         * sysdeps/generic/bsd-_setjmp.c (setjmp): Rename to _setjmp.
8518         * csu/abi-note.S: Correct comment for operating system number.
8520 2000-11-22  Ulrich Drepper  <drepper@redhat.com>
8522         * Versions.def: Add GLIBC_2.2.1 for glibc.
8524 2000-11-22  Andreas Schwab  <schwab@suse.de>
8526         * sysdeps/unix/sysv/linux/syscalls.list: Add pivot_root.
8527         * sysdeps/unix/sysv/linux/Versions: Add pivot_root at GLIBC_2.2.1.
8529 2000-11-22  Ulrich Drepper  <drepper@redhat.com>
8531         * rt/aio_suspend.c (aio_suspend): Convert timeout value to
8532         absolute time for pthread_cond_timedwait call.
8533         Reported by Lawrence Chen <lchen@opentext.com> [libc/1930].
8535         * rt/Makefile (tests): Add tst-aio6.
8536         * rt/tst-aio6.c: New file.
8538 2000-11-23  Andreas Jaeger  <aj@suse.de>
8540         * sysdeps/s390/bits/string.h (strncat): Fix one more typo.
8542 2000-11-22  Andreas Jaeger  <aj@suse.de>
8544         * sysdeps/s390/bits/string.h (strncat): Add missing quotation marks.
8546 2000-11-21  Martin Schwidefsky  <schwidefsky@de.ibm.com>
8548         * sysdeps/s390/bits/string.h: Make strncat always add a \0.
8550 2000-11-21  Andreas Schwab  <schwab@suse.de>
8552         * sysdeps/alpha/setjmp.S: Remove __setjmp entry point.
8553         * sysdeps/arm/setjmp.S: Likewise.
8554         * sysdeps/arm/fpu/setjmp.S: Likewise.
8555         * sysdeps/i386/setjmp.S: Likewise.
8556         * sysdeps/i386/elf/setjmp.S: Likewise.
8557         * sysdeps/s390/setjmp.S: Likewise.
8558         * sysdeps/s390/elf/setjmp.S: Likewise.
8559         * sysdeps/sh/sh3/setjmp.S: Likewise.
8560         * sysdeps/sh/sh4/setjmp.S: Likewise.
8561         * sysdeps/sparc/sparc32/setjmp.S: Likewise.
8562         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
8563         * sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S: Likewise.
8564         * sysdeps/unix/sysv/linux/m68k/setjmp.c: Removed.
8566 2000-11-21  Andreas Jaeger  <aj@suse.de>
8568         * sysdeps/generic/__longjmp.c (__longjmp): Remove obsolete
8569         NORETURN, fix parameter list.
8571         * string/bug-strncat1.c (main): Fix typo.
8572         Patch by Bernhard Kaindl <bernhard.kaindl@suse.de>.
8574 2000-11-20  Ulrich Drepper  <drepper@redhat.com>
8576         * configure.in: Add --enable-all-warnings.
8577         * config.make.in (all-warnings): New variable.
8578         * Makeconfig (+gccwarn): Define with many more warnings if
8579         all-warnings is yes.
8581 2000-11-20  Jakub Jelinek  <jakub@redhat.com>
8583         * iconvdata/bug-iconv2.c (main): Use %zd in format string.
8584         * io/test-lfs.c (do_test): Cast statbuf.st_size to long long.
8585         * malloc/tst-valloc.c (main): Cast valloc return value to long.
8586         * malloc/tst-obstack.c (verbose_malloc): Use %zd in format string.
8587         * math/test-fpucw.c (main): Use %lx in format string, cast
8588         control words to long.
8589         * stdio-common/tst-fmemopen.c (main): Use %td in format strings.
8590         * stdlib/tst-strtol.c (tests): Avoid (bogus?) decimal constant is so
8591         large that it is unsigned warning.
8593         * sysdeps/unix/sysv/linux/sparc/bits/types.h (__ssize_t): Changing
8594         it to long on sparc64.
8596 2000-11-20  Andreas Jaeger  <aj@suse.de>
8598         * nscd/nscd.h (termination_handler): Add noreturn attribute.
8599         (receiv_print_stats): Likewise.
8601         * elf/ldconfig.c (path_hwcap): Cast -1 for proper comparison.
8603 2000-11-20  Ulrich Drepper  <drepper@redhat.com>
8605         * malloc/thread-m.h: gcc doesn't tolerate zero-sized types anymore.
8607         * csu/gmon-start.c: Always have prototype for __gmon_start.
8608         * csu/version.c: Add prototypes for __libc_print_version and
8609         __libc_main.
8610         * iconv/gconv.c: Include gconv_int.h and gconv.h.
8611         * iconv/gconv.h (struct __gconv_step): Remove const from __from_name
8612         and __to_name.
8613         * iconv/gconv_builtin.h: Add ASCII module definitions.
8614         * iconv/gconv_conf.c (__gconv_path_elem): Remove const.
8615         (add_module): Add cast to avoid warning.  Rework construction of
8616         strings for new module.
8617         * iconv/gconv_db.c (__gconv_alias_compare): Make s1 and s2 const.
8618         (derivation_compare): Likewise.
8619         * iconv/gconv_dl.c (do_release_shlib): Remove const from nodep.
8620         (__gconv_release_shlib): Cast do_release_shlib as parameter for twalk.
8621         * iconv/gconv_int.h (__gconv_path_elem): Remove const.
8622         (struct gconv_alias): Remove const from fromname and toname.
8623         * iconv/gconv_simple.c: Include gconv_builtin.h to get prototypes
8624         for loop functions.
8625         (internal_ucs4_loop): Use correct const-ness.
8626         (ucs4_internal_loop): Likewise.
8627         (internal_ucs4le_loop): Likewise.
8628         (ucs4le_internal_loop_single): Likewise.
8629         * iconv/gconv_trans.c (__gconv_transliterate): Make from_idx, from_tbl,
8630         to_idx, to_tbl, winbuf, winbufend const.  Change casts in
8631         assignments appropriately.
8632         (struct known_trans): Remove const from fname.
8633         (trans_compare): Make s1 and s2 const.
8634         * iconv/loop.c (LOOPFC): Make outend parameter const.  Add cast to
8635         avoid warning.
8636         * iconv/skeleton.c: Remove cast in calls of loop functions.
8637         * iconvdata/gconv-modules: Remove US-ASCII definitions.
8638         * iconvdata/iso646.c: Remove US_ASCII support.
8639         * include/set-hooks.h (DEFINE_HOOK): Also generate prototype.
8640         * include/unistd.h: Add __libc_check_standard_fds prototype.
8641         * string/bits/string2.h (__mempcpy_args): Add const to casts.
8642         * sysdeps/generic/initfini.c: Add prototypes for dummy, _init, and
8643         _fini.
8644         * sysdeps/generic/libc-start.c: Add prototype for __libc_start_main.
8645         * sysdeps/i386/i486/bits/string.h (strcmp): Add const to casts.
8646         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Add cast to avoid
8647         warning.
8648         * sysdeps/unix/sysv/linux/init-first.c: Add prototypes for
8649         __libc_init_first and _dl_start.
8650         * intl/dcigettext.c (transcmp): Make s1 and s2 const.
8651         (DCIGETTEXT): Make domaindata variable const.
8652         * intl/loadmsgcat.c (_nl_load_domain): Rearrange domain initialization
8653         to avoid warning.
8655 2000-11-20  Hiroyuki Machida  <machida@sm.sony.co.jp>
8657         * sysdeps/unix/sysv/linux/mips/clone.S: Fix comments.
8659         * sysdeps/unix/sysv/linux/mips/kernel_stat.h (kernel_stat): Expand
8660         time_t to 'long int' not, 'unsigned int'.  Use 'long int' for
8661         __unused? members.
8663         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (O_NOFOLLOW): Use same
8664         value defined in /usr/include/asm-mips/fcntl.h.
8666 2000-11-18  Ulrich Drepper  <drepper@redhat.com>
8668         * stdio-common/Makefile (tests): Add test-vfprintf.
8669         (test-vfprintf-ENV): New variable.
8670         * stdio-common/test-vfprintf.c: New file.
8672         * wcsmbs/mbrtowc.c (__mbrtowc): Do not only flush if input is '\0'.
8674         * wcsmbs/Makefile (tests): Add tst-mbrtowc and tst-wcrtomb.
8675         (tst-mbrtowc-ENV): New variable.
8676         (tst-wcrtomb-ENV): New variable.
8677         * wcsmbs/tst-mbrtowc.c: New file.
8678         * wcsmbs/tst-wcrtomb.c: New file.
8680 2000-11-16  Andreas Jaeger  <aj@suse.de>
8682         * manual/install.texi (Tools for Compilation): Update
8683         documentation for GCC 2.95.2.
8685 2000-11-18  Ulrich Drepper  <drepper@redhat.com>
8687         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only return -EAI_AGAIN
8688         if IPv4 and IPv6 requests timed out.
8690 2000-11-18  Akim Demaille  <akim@epita.fr>
8692         * malloc/obstack.h: Formatting changes.
8693         (obstack_grow, obstack_grow0): Don't cast WHERE at all: it
8694         prevents type checking.
8695         (obstack_ptr_grow, obstack_ptr_grow_fast): When assigning, don't
8696         cast the value to (void *): assigning a `foo *' to a `void *'
8697         variable is valid.
8698         (obstack_int_grow, obstack_int_grow_fast): Don't cast AINT to int.
8700 2000-11-17  Ulrich Drepper  <drepper@redhat.com>
8702         * scripts/config.guess: Update from upstream maintainer.
8703         * scripts/config.sub: Likewise.
8705 2000-11-16  Ulrich Drepper  <drepper@redhat.com>
8707         * libio/freopen.c (freopen): Reset _mode after succesful reopening.
8708         * libio/freopen64.c (freopen64): Likewise.
8709         Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
8711         * libio/Makefile: Add rules to build and run test-freopen.
8712         * libio/test-freopen.c: New file.
8713         * libio/test-freopen.sh: New file.
8715 2000-11-15  H.J. Lu  <hjl@gnu.org>
8717         * sysdeps/generic/ldsodefs.h (DL_DT_INIT_ADDRESS): Defined if
8718         ELF_FUNCTION_PTR_IS_SPECIAL is not defined.
8719         (DL_DT_FINI_ADDRESS): Likewise.
8721         * sysdeps/ia64/dl-lookupcfg.h (_dl_lookup_address): Set the
8722         return type to ElfW(Addr).
8723         (_dl_function_address): New prototype.
8724         (DL_FUNCTION_ADDRESS): Defined.
8725         (DL_DT_INIT_ADDRESS): Defined as DL_FUNCTION_ADDRESS.
8726         (DL_DT_FINI_ADDRESS): Likewise.
8728         * sysdeps/ia64/Versions (GLIBC_2.2): Add _dl_function_address.
8730         * sysdeps/ia64/dl-machine.h (_dl_start_address): Removed.
8731         (ELF_MACHINE_START_ADDRESS): Changed to DL_FUNCTION_ADDRESS.
8733         * sysdeps/ia64/dl-symaddr.c (_dl_start_address): Renamed to ...
8734         (_dl_function_address): This.
8736         * elf/dl-fini.c (_dl_fini): Use DL_DT_FINI_ADDRESS to get the
8737         function pointer for DT_FINI.
8738         * elf/dl-close.c (_dl_close): Likewise.
8740         * elf/dl-init.c (_dl_init): Use DL_DT_INIT_ADDRESS to get the
8741         function pointer for DT_INIT.
8743 2000-11-16  Jakub Jelinek  <jakub@redhat.com>
8745         * sysdeps/generic/printf_fphex.c (__printf_fphex): Compute correctly
8746         end of wexpbuf buffer.
8748 2000-11-16  Andreas Jaeger  <aj@suse.de>
8750         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove duplicate
8751         definition of F_GETLK, F_SETLK, F_SETLKW.
8753 2000-11-16  Andreas Jaeger  <aj@suse.de>
8755         * sysdeps/generic/dl-cache.c (_DL_PLATFORMS_COUNT): Define to 0 if
8756         it's not defined.
8758 2000-11-15  Jakub Jelinek  <jakub@redhat.com>
8760         * dlfcn/default.c (main): Add test for dladdr of main returning
8761         argv[0] in dli_fname field.
8763 2000-11-15  Jakub Jelinek  <jakub@redhat.com>
8765         * Makeconfig (run-program-prefix): Move test-static test into the
8766         variable.
8768         * sysdeps/alpha/dl-machine.h (RTLD_START): Update _dl_argv.
8769         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise,
8770         schedule instructions.
8771         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise,
8772         schedule instructions, fix a bug in copying auxiliary data.
8774 2000-11-15  Ulrich Drepper  <drepper@redhat.com>
8776         * manual/startup.texi (Program Arguments): Fix type of main's envp
8777         parameter.
8778         Reported by Raúl Núñez de Arenas Coronado <dervishd@linuxfreak.com>.
8780         * iconvdata/gconv-modules: Add CP950 alias.
8782 2000-11-13  Jakub Jelinek  <jakub@redhat.com>
8784         * sysdeps/unix/sysv/linux/Makefile: Allow ports to override
8785         syscall-list.h goal.
8786         * sysdeps/unix/sysv/linux/sparc/Makefile: New file.
8788 2000-11-15  Ulrich Drepper  <drepper@redhat.com>
8790         * intl/Makefile: tst-gettext2.sh does not need a third parameter.
8792         * intl/tst-gettext2.sh: Copy locale data.  Adjust LOCPATH.  Verify
8793         output of program.
8795         * intl/tst-gettext2.c: Set C locale if setting other locale
8796         failed.  Use gettext() not _().
8798         * locale/setlocale.c: Increment _nl_msg_cat_cntr whenever we
8799         successfully loaded a new locale.
8801 2000-11-13  Andreas Jaeger  <aj@suse.de>
8803         * configure.in: Require gcc 2.95 or newer.
8805 2000-11-15  Ulrich Drepper  <drepper@redhat.com>
8807         * sysdeps/unix/sysv/linux/paths.h: Adjust for FHS.
8808         Patch by Arkadiusz Miskiewicz <misiek@pld.ORG.PL>.
8810 2000-11-11  Jim Meyering  <meyering@lucent.com>
8812         * string/strndup.c (strndup): Cast return value to `char *'.
8814 2000-11-15  Jim Meyering  <meyering@ascend.com>
8816         * sysdeps/generic/memchr.c: Remove some useless parentheses.
8817         [HAVE_STDLIB_H || defined _LIBC]: Include <stdlib.h>.
8818         [HAVE_BP_SYM_H || defined _LIBC]: Guard inclusion of bp-sym.h.
8819         [! (HAVE_BP_SYM_H || defined _LIBC)] (BP_SYM): Define as no-op.
8820         Also #undef __memchr.
8821         Use `weak_alias' only if it's defined.
8823 2000-11-10  H.J. Lu  <hjl@gnu.org>
8825         * Makefile.in (install): Set LANGUAGE=C LC_ALL=C.
8827 2000-11-15  Andreas Jaeger  <aj@suse.de>
8829         * elf/chroot_canon.c: Include <stdint.h>.
8831         * elf/cache.c (struct cache_entry): Use uint64_t for hwcap.
8832         (print_entry): Likewise.
8833         (add_to_cache): Likewise.
8835         * elf/ldconfig.h (add_to_cache): Change prototype for hwcap change.
8837         * elf/ldconfig.c (struct lib_entry): Use uint64_t for hwcap.
8838         (path_hwcap): Likewise.
8839         (search_dir): Likewise.
8841         * sysdeps/generic/dl-cache.c (HWCAP_CHECK): Handle platform.
8843         * elf/cache.c (add_to_cache): Handle 64 bit hwcap entry.
8845         * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h
8846         (_dl_platform_string): New.
8847         (_DL_HWCAP_PLATFORM): New.
8848         (_dl_string_platform): New.
8849         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h: Likewise.
8851         * sysdeps/generic/dl-procinfo.h (_DL_HWCAP_COUNT): New.
8852         (_dl_string_platform): New.
8853         (_DL_HWCAP_PLATFORM): New.
8854         (_dl_platform_string): New.
8856         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Added x86 platform
8857         recognition.
8858         (_DL_HWCAP_COUNT): New.
8859         (_dl_string_platform): New.
8860         (_DL_HWCAP_PLATFORM): New.
8861         (_dl_platform_string): New.
8863 2000-11-14  Ulrich Drepper  <drepper@redhat.com>
8865         * iconvdata/gconv-modules: Add CP936 as alias for GBK.
8867 2000-11-14  Andreas Jaeger  <aj@suse.de>
8869         * sysdeps/generic/dl-cache.c (HWCAP_CHECK): Fix access to _dl_hwcap.
8871 2000-11-13  Roland McGrath  <roland@frob.com>
8873         * hurd/get-host.c (_hurd_get_host_config): Fix last change.
8875 2000-11-13  Marcus Brinkmann <marcus@gnu.org>
8877         * hurd/get-host.c (_hurd_get_host_config): Fix possible buffer
8878         underrun and make sure the result is null terminated even if there
8879         is no trailing newline.
8881 2000-11-13  Jakub Jelinek  <jakub@redhat.com>
8883         * sysdeps/alpha/fpu/libm-test-ulps: Update.
8885 2000-11-10  H.J. Lu  <hjl@gnu.org>
8887         * sysdeps/ia64/fpu/libm-test-ulps: Updated.
8889 2000-11-10  Andreas Jaeger  <aj@suse.de>
8891         * elf/ldconfig.c (create_links): Fix alloca calculation.
8892         Patch by Ben Collins <bcollins@debian.org>.
8894 2000-11-09  Ulrich Drepper  <drepper@redhat.com>
8896         * inet/getnameinfo.c (getnameinfo): Use correct destination
8897         parameter for if_indextoname.
8898         Patch by Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>.
8900 2000-11-09  H.J. Lu  <hjl@gnu.org>
8902         * sunrpc/Versions (GLIBC_2.1): Remove xdr_cryptkeyarg,
8903         xdr_cryptkeyarg2, xdr_cryptkeyres, xdr_des_block,
8904         xdr_key_netstarg, xdr_key_netstres, xdr_keybuf and
8905         xdr_keystatus.
8907         * time/Versions (GLIBC_2.1): Move getitimer to...
8908         * sysdeps/unix/sysv/linux/alpha/Versions (GLIBC_2.1): ...here.
8910 2000-11-03  Bruno Haible  <haible@clisp.cons.org>
8912         * manual/install.texi: Recommend to set LANGUAGE=C LC_ALL=C during
8913         "make install", to work around a binary incompatibility between
8914         glibc 2.1 and glibc 2.2 gconv modules.
8916 2000-11-09  Ulrich Drepper  <drepper@redhat.com>
8918         * intl/locale.alias: Add thai.
8919         Patch by Chanop Silpa-Anan <chanop@syseng.anu.edu.au>.
8921 2000-11-07  Akim Demaille  <akim@epita.fr>
8923         * malloc/obstack.c (obstack_grow, obstack_grow0): Rename the second
8924         argument `data' for consistency with the prototypes.
8925         Qualify it `const'.
8926         (obstack_copy, obstack_copy0): Rename the second argument as
8927         `address' for consistency.  Qualify it `const'.
8928         * malloc/obstack.h (obstack_copy, obstack_copy0, obstack_grow)
8929         (obstack_grow0, obstack_ptr_grow, obstack_ptr_grow_fast): Qualify
8930         `const' their input argument (`data' or `address').
8931         Adjust the corresponding macros to include `const' in casts.
8933 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
8935         * sysdeps/posix/getaddrinfo.c: Clean-up: define family to hold
8936         target family.
8938 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
8940         * sysdeps/posix/getaddrinfo.c: Loosen protocol check to ease raw
8941         socket creation.
8943 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
8945         * sysdeps/posix/getaddrinfo.c: Ensure to fill ai_socktype and
8946         ai_protocol by internal table if service was not given.
8948 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
8950         * sysdeps/posix/getaddrinfo.c: Don't raise an error even if
8951         numerical port was specified with protocol without socktype.
8953 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
8955         * sysdeps/posix/getaddrinfo.c: Ensure to check if protocol is ok.
8957 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
8959         * inet/getnameinfo.c: getnameinfo() NI_xxx flag validation.
8961 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
8963         * sysdeps/posix/getaddrinfo.c: Ensure not to fill garbage value in
8964         sin6_scope_id field.
8966 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
8968         * inet/getnameinfo.c: Repair getnameinfo() sin6_socpe_id support.
8970 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
8972         * inet/getnameinfo.c: Repair NI_NOFQDN flag support.
8974 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
8976         * inet/getnameinfo.c: Wake-up sin6_scope_id support in
8977         getnameinfo(): check for whether sin6_socpe_id exist was wrong.
8979 2000-11-09  Martin Schwidefsky  <mschwide@nc.boeblingen.de.ibm.com>
8981         * sysdeps/unix/sysv/linux/s390/mmap.S: Use mmap2 if it is present.
8982         * sysdeps/unix/sysv/linux/s390/mmap64.S: New file.
8984 2000-11-09  H.J. Lu  <hjl@gnu.org>
8986         * io/Versions (GLIBC_2.1.1): Remove lockf64.
8989 See ChangeLog.11 for earlier changes.