Update.
[glibc.git] / ChangeLog
blobef2c31e2048b197177339cd85659c5cda4969920
1 2001-06-28  Mark Kettenis  <kettenis@gnu.org>
3         * manual/users.texi (Setting Groups): Correct initgroups
4         documentation.  Add documentation for getgrouplist.
6 2001-06-28  H.J. Lu  <hjl@gnu.org>
8         * locale/findlocale.c (locale_file_list): Renamed to ...
9         (_nl_locale_file_list): This. Make it extern.
10         (free_mem): Move to ...
11         * locale/setlocale.c (free_mem): Here.
13 2001-06-28  Mark Kettenis  <kettenis@gnu.org>
15         * sysdeps/mach/hurd/read.c: Include <hurd/fd.h>.
16         (__libc_read): Don't call __pread.  Use _hurd_fd_read directly
17         instead.
18         * sysdeps/mach/hurd/write.c: Include <hurd/fd.h>.
19         (__libc_write): Don't call __pwrite.  Use _hurd_fd_write directly
20         instead.
22         * sysdeps/mach/hurd/Makefile ($(link-rpcuserlibs)): Add back
23         -Wl,-soname option lost in 2001-06-16 change.
25 2001-06-27  Ulrich Drepper  <drepper@redhat.com>
27         * posix/tst-regex.c: Pass REG_NEWLINE to regcomp.  Add extra tests.
28         Restrict printing of string in debug mode to 100 characters to make
29         the output useful for long input texts.
31         * posix/Makefile: Add rules to build and run tst-regex.
33 2001-06-20  Isamu Hasegawa  <isamu@yamato.ibm.com>
35         * posix/regex.c (FREE_WCS_BUFFERS): New macro to free buffers.
36         (re_search_2): invoke convert_mbs_to_wcs and FREE_WCS_BUFFERS.
37         (wcs_re_match_2_internal): Check whether the wcs buffers need
38         seting up or not, and skip seting up routin if not needed.
40 2001-06-26  Isamu Hasegawa  <isamu@yamato.ibm.com>
42         * posix/regex.c (count_mbs_length): Use binary search for optimization.
44 2001-06-27  Ulrich Drepper  <drepper@redhat.com>
46         * posix/tst-regex.c: Fix several bugs.  Add more tests.
48 2001-06-26  Mark Kettenis  <kettenis@gnu.org>
50         * hurd/Makefile (user-interfaces): Add pfinet.
51         * hurd/hurdioctl.c: Include <hurd/pfinet.h>, <net/if.h> and
52         <netinet/in.h>.
53         (siocgifconf): New function.  Register it with HURD_HANDLE_IOCTL
54         as the handler for SIOCGIFCONF.
55         * sysdeps/mach/hurd/bits/ioctls.h: Modify SIOCSIFFLAGS and
56         SIOCGIFFLAGS to be of IOC type ifreq_short.  Modify SIOCSIFMETRIC
57         and SIOCGIFMETRIC to be of IOC type ifreq_int.  Add new macro
58         definitions for SIOCGIFMTU, SIOCSIFMTU, SIOCGIFINDEX and
59         SIOCGIFNAME.
60         From Marcus Brunkmann <marcus@gnu.org>.
62 2001-06-25  Ulrich Drepper  <drepper@redhat.com>
64         * sysdeps/gnu/net/if.h: Correct _IOT_ifreq and add _IOT_ifreq_short
65         and _IOT_ifreq_int.  Patch by Mark Kettenis <kettenis@wins.uva.nl>.
67         * elf/dl-deps.c (_dl_map_object_deps): Fix handling of failing
68         _dl_catch_error calls.
70 2001-06-22  Jakub Jelinek  <jakub@redhat.com>
72         * posix/regex.c (regex_compile, re_match_2_internal): Fix comment
73         typos.
75 2001-06-01  Wolfram Gloger  <wg@malloc.de>
77         * malloc/malloc.c (malloc_atfork, free_atfork): Use a unique value
78         ATFORK_ARENA_PTR, not 0, for the thread-specific arena pointer
79         when malloc_atfork is in use.
81 2001-06-22  Andreas Jaeger  <aj@suse.de>
83         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Add parenthese
84         to avoid warnings.
86         * sysdeps/i386/fpu/e_expl.c (__ieee754_expl): Remove unused
87         variable.
88         Add unused attributes to avoid warnings.
90         * elf/reldep4mod4.c: Add prototype to avoid warning.
91         * elf/reldep4mod2.c: Likewise.
93         * sysdeps/i386/fpu/e_expl.c: Include <math_private.h> for
94         prototypes.
96 2001-06-18  Roland McGrath  <roland@frob.com>
98         * hurd/hurd/fd.h (_hurd_fd_error_signal): Change return type to int.
100 2001-06-20  Alexandre Oliva  <aoliva@redhat.com>
102         * sysdeps/unix/sysv/settimeofday.c: Include time.h.
104 2001-06-19  Martin Schwidefsky  <schwidefsky@de.ibm.com>
106         * sysdeps/unix/sysv/linux/s390/s390-64/dl-cache.h: New file.
108 2001-05-09  Michael Keezer  <mkeezer@redhat.com>
110         * Makeconfig: Added AIX-ld support for DSO.
111         * Makerules: Likewise.
112         * dlfcn/Makefile (defaultmod1.so): Added libc_nonshared.
113         (defaultmod2.so): Likewise.
114         * debug/Makefile: Conditionalize use of elf/ld.so.
115         * iconvdata/Makefile: Moved LDFLAG rpath/soname info into Makeconfig.
117         * sysdeps/unix/sysv/aix/Makefile: Added dl-support.c and dl-error.c.
118         * sysdeps/unix/sysv/aix/Makefile: Made (f/g)rsave(0/1) &
119         (f/g)prrest(0/1) static only.
120         * sysdeps/unix/sysv/aix/gettimeofday.c: Removed #if 0.
121         * sysdeps/unix/sysv/aix/start.c: Define __dso_handle if not ELF but
122         shared.
123         * sysdeps/unix/sysv/aix/setitimer.c: New file.
124         * sysdeps/unix/sysv/aix/sleep.c: New file.
125         * sysdeps/unix/sysv/aix/usleep.c: New file.
126         * sysdeps/unix/sysv/aix/dl-addr.c: New file.
127         * sysdeps/unix/sysv/aix/dl-error.c: New file.
128         * sysdeps/unix/sysv/aix/dl-support.c: New file.
129         * sysdeps/unix/sysv/aix/powerpc/register-dump.h: New file.
131 2001-06-19  Ulrich Drepper  <drepper@redhat.com>
133         * po/es.po: Update from translation team.
135 2001-06-19  Andreas Jaeger  <aj@suse.de>
137         * sysdeps/ieee754/ldbl-128/s_tanhl.c: New file.
139         * math/libm-test.inc (tanh_test): Test for 2^-56.
141         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Make sure result
142         equals argument when x < 2^-55.
143         Patches by Stephen L. Moshier <moshier@na-net.ornl.gov>.
145 2001-06-17  Alan Modra  <amodra@bigpond.net.au>
147         * sysdeps/hppa/dl-machine.h (elf_machine_rela): handle relocs
148         at unaligned address.
150 2001-06-18  Ulrich Drepper  <drepper@redhat.com>
152         * posix/regex.c: Reorganize code to build code twice, once for single
153         byte, once for multi-byte charsets.  Choose function set adequate for
154         locale at runtime.
155         Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
157         * po/nl.po: Update from translation team.
159 2001-06-09  Bruno Haible  <haible@clisp.cons.org>
161         * iconvdata/gconv-modules (BIG5HKSCS): New alias BIG5-HKSCS.
162         (ISO-8859-14): New aliases ISO_8859-14 and ISO-CELTIC.
163         * iconvdata/tst-tables.sh: For BIG5HKSCS, use BIG5-HKSCS charmap.
165 2001-05-26  Bruno Haible  <haible@clisp.cons.org>
167         * iconvdata/tst-tables.sh: For SJIS module, use SHIFT_JIS charmap.
168         * manual/charset.texi: Write Shift_JIS, not Shift-JIS.
170 2001-06-17  Roland McGrath  <roland@frob.com>
172         * sysdeps/pthread/aio_misc.h (LIO_DSYNC): Define to LIO_NOP + 1,
173         not LIO_READ + 1 (which is the value of LIO_WRITE!).
175         * Makerules (build-module-helper-objlist): New variable,
176         broken out of build-module.  Insert --whole-archive/--no-whole-archive
177         immediately each *_pic.a file in the link object list.
178         (whole-archive): New variable, used by that.
179         (build-module-objlist): New variable using build-module-helper-objlist.
180         (build-module, build-module-helper): Use it.
181         (build-shlib-objlist): New variable using build-module-helper-objlist.
182         (build-shlib): Use that.
183         * sysdeps/mach/hurd/Makefile ($(link-rpcuserlibs)): Likewise.
185         * posix/spawni.c: Moved to ...
186         * sysdeps/posix/spawni.c: ... here.
187         * sysdeps/generic/spawni.c: New file.
189 2001-06-16  Roland McGrath  <roland@frob.com>
191         * hurd/Makefile (routines): Add lookup-retry.
192         * hurd/hurdlookup.c (__hurd_file_name_lookup_retry): Broken out ...
193         * hurd/lookup-retry.c: ... into here, new file.
194         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Call that instead
195         using of duplicate code here.
197         * hurd/hurdexec.c (_hurd_exec): Be robust for DTABLESIZE==0.
199 2001-06-17  Ulrich Drepper  <drepper@redhat.com>
201         * po/ja.po: Update from translation team.
203 2001-06-04  Bruno Haible  <haible@clisp.cons.org>
205         * locale/programs/locfile.c (siblings_uncached, siblings, full_read,
206         compare_files): New functions.
207         (write_locale_data): Use xmalloc. Compare the file with the locale
208         data files for the same category in other locales, and reuse it if
209         possible and safe.
211 2001-06-07  Mark Kettenis  <kettenis@gnu.org>
213         * grp/initgroups.c (initgroups): Factor out re-usable code into...
214         (internal_getgrouplist): ... new function.
215         (getgrouplist): New function.
216         * grp/grp.h (getgrouplist): New prototype.
217         * grp/Versions [2.2.4]: Add getgrouplist.
219 2001-06-16  Ulrich Drepper  <drepper@redhat.com>
221         * inet/netinet/ip6.h: Fix comments in ip6_hdr.
222         Patch by Pekka Savola <pekkas@netcore.fi>.
224 2001-06-15  Roland McGrath  <roland@frob.com>
226         * rt/Makefile (aio-routines, clock-routines, timer-routines): New
227         variables, broken out of librt-routines.
228         (librt-routines): Set using those.
229         (extra-libs, extra-libc-others, tests): Set these unconditionally.
230         (distribute): No need for $(librt-map) or $(librt-routines:=.c) here.
231         * sysdeps/generic/aio_fsync.c: New file.
232         * sysdeps/generic/aio_misc.c: New file.
233         * sysdeps/generic/aio_write.c: New file.
234         * sysdeps/generic/aio_write64.c: New file.
235         * sysdeps/generic/aio_read64.c: New file.
236         * sysdeps/generic/aio_read.c: New file.
237         * sysdeps/generic/aio_notify.c: New file.
238         * sysdeps/generic/lio_listio64.c: New file.
239         * sysdeps/generic/lio_listio.c: New file.
240         * sysdeps/generic/aio_cancel.c: New file.
241         * sysdeps/generic/aio_misc.h: New file.
242         * sysdeps/generic/aio_suspend.c: New file.
243         * rt/aio_cancel.c: Moved to ...
244         * sysdeps/pthread/aio_cancel.c: ... here.
245         * rt/aio_fsync.c: Moved to ...
246         * sysdeps/pthread/aio_fsync.c: ... here.
247         * rt/aio_misc.c: Moved to ...
248         * sysdeps/pthread/aio_misc.c: ... here.
249         * rt/aio_misc.h: Moved to ...
250         * sysdeps/pthread/aio_misc.h: ... here.
251         * rt/aio_notify.c: Moved to ...
252         * sysdeps/pthread/aio_notify.c: ... here.
253         * rt/aio_read.c: Moved to ...
254         * sysdeps/pthread/aio_read.c: ... here.
255         * rt/aio_read64.c: Moved to ...
256         * sysdeps/pthread/aio_read64.c: ... here.
257         * rt/aio_suspend.c: Moved to ...
258         * sysdeps/pthread/aio_suspend.c: ... here.
259         * rt/aio_write.c: Moved to ...
260         * sysdeps/pthread/aio_write.c: ... here.
261         * rt/aio_write64.c: Moved to ...
262         * sysdeps/pthread/aio_write64.c: ... here.
263         * rt/lio_listio.c: Moved to ...
264         * sysdeps/pthread/lio_listio.c: ... here.
265         * rt/lio_listio64.c: Moved to ...
266         * sysdeps/pthread/lio_listio64.c: ... here.
268 2001-06-14  Roland McGrath  <roland@frob.com>
270         * configure.in: Let sysdeps Implies files in add-ons bring in
271         sysdeps directories from the main source and other add-ons too.
273 2001-06-15  Jakub Jelinek  <jakub@redhat.com>
275         * math/test-misc.c (main): Add tests for nextafter and nexttoward
276         with +-Inf as second argument.
278         * sysdeps/generic/s_nexttowardf.c (__nexttowardf): Only check for
279         NaN, not Inf.
280         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Fix check for NaN.
281         * sysdeps/i386/fpu/s_nexttoward.c: New.
282         * sysdeps/i386/fpu/s_nexttowardf.c: New.
283         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Simplify
284         check for NaN, optimize x==+-0 handling.
285         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf): Likewise.
286         * sysdeps/ieee754/ldbl-96/s_nextafterl.c (__nextafterl): Simplify
287         check for NaN, fix sign in x==+-0 case.
288         * sysdeps/ia64/fpu/s_nexttoward.c: New.
289         * sysdeps/ia64/fpu/s_nexttowardf.c: New.
291 2001-06-15  H.J. Lu  <hjl@gnu.org>
293         * rt/tst-aio2.c (do_test): Initialize cb.aio_offset to 0.
294         * rt/tst-aio3.c (do_test): Likewise.
295         * rt/tst-aio4.c (do_test): Likewise.
296         * rt/tst-aio5.c (do_test): Likewise.
297         * rt/tst-aio6.c (do_test): Likewise.
299 2001-06-15  Andreas Schwab  <schwab@suse.de>
301         * sysdeps/m68k/fpu/bits/mathinline.h: Don't define log2 as inline.
302         * sysdeps/m68k/fpu/mathimpl.h: Define __ieee754_log2 as inline.
304 2001-06-15  Andreas Jaeger  <aj@suse.de>
306         * gmon/tst-sprofil.c (fac): Make static to avoid compiler warning.
308 2001-06-14  Andreas Schwab  <schwab@suse.de>
310         * elf/ldconfig.c (search_dir): Fix check for regular file.
312         * sysdeps/m68k/fpu/e_log2f.c: Fix typo.
313         * sysdeps/m68k/fpu/e_log2l.c: Fix typo.
315 2001-06-14  Roland McGrath  <roland@frob.com>
317         * sysdeps/mach/hurd/bits/fcntl.h [ __USE_POSIX199309 || __USE_UNIX98]:
318         (O_DSYNC, O_RSYNC): New macros, both defined to O_SYNC as Linux does.
320 2001-06-13  Roland McGrath  <roland@frob.com>
322         * rt/aio_notify.c: Include <unistd.h> for _POSIX_REALTIME_SIGNALS.
324         * sysdeps/mach/hurd/fork.c (LOSE): Put `goto lose' in dead code
325         so the label is not considered unused.
327         * sysdeps/mach/hurd/pwrite64.c: New file.
328         * sysdeps/mach/hurd/pread64.c: New file.
330         * sysdeps/mach/hurd/pread.c
331         (__libc_pread): Define this name, with __pread as an alias.
332         * sysdeps/mach/hurd/pwrite.c
333         (__libc_pwrite): Define this name, with __pwrite as an alias.
335         Implement POSIX "shared memory objects" as regular
336         files residing in the /var/run/shm/ directory.
337         This works on any system that supports _POSIX_MAPPED_FILES,
338         to make it also support _POSIX_SHARED_MEMORY_OBJECTS.
339         * sysdeps/posix/shm_open.c: New file.
340         * sysdeps/posix/shm_unlink.c: New file.
341         * sysdeps/mach/hurd/bits/posix_opt.h
342         (_POSIX_SHARED_MEMORY_OBJECTS): Define it.
344         * rt/aio_notify.c (__aio_notify_only) [! _POSIX_REALTIME_SIGNALS]:
345         Use raise instead of __aio_sigqueue.
347         * sysdeps/mach/hurd/pread.c: Fail with EINVAL if OFFSET is negative.
348         * sysdeps/mach/hurd/pwrite.c: Likewise.
350         * shlib-versions [USE_IN_LIBIO] (.*-.*-gnu-gnu.*): libc=0.3
351         [USE_IN_LIBIO && !GLIBC_OLDEST_ABI] (.*-.*-gnu-gnu.*): Use GLIBC_2.2.4
352         as default version set.
354 2001-06-13  Ulrich Drepper  <drepper@redhat.com>
356         * libio/iolibio.h (_IO_freopen): Correct last parameter to
357         _IO_file_open.
358         (_IO_freopen64): Likewise.
359         Reported by simanek@quantum.karlov.mff.cuni.cz [PR libc/2326].
361         * elf/elf.h: Add a few more EM_* constants.
363 2001-06-12  Bruno Haible  <haible@clisp.cons.org>
365         * intl/dcigettext.c (DCIGETTEXT): Release the lock before returning.
367 2001-06-09  Ben Collins  <bcollins@debian.org>
369         * sysdeps/unix/sysv/linux/bits/termios.h: Define __MAX_BAUD.
370         * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
371         * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
372         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
373         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
374         * sysdeps/unix/sysv/linux/speed.c: Use __MAX_BAUD instead of
375         hardcoded B400000.
377 2001-06-13  Ulrich Drepper  <drepper@redhat.com>
379         * time/sys/time.h: Don't use enum __itimer_which ever for
380         __itimer_which_t for C++.
381         Reported by Martin Buchholz <martin@xemacs.org>.
383         * po/fr.po: Update from translation team.
385 2001-06-12  H.J. Lu  <hjl@gnu.org>
387         * configure.in: Fix typos in missing program names.
388         * configure: Regenerated.
390 2001-06-12  Andreas Jaeger  <aj@suse.de>
392         * iconvdata/tst-table-to.c: Include string.h for strcmp prototype.
394         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Add ULPs for tanh (-0.7).
396 2001-06-11  Andreas Jaeger  <aj@suse.de>
398         * sysdeps/ieee754/ldbl-128/e_coshl.c: New file.  Contributed by
399         Stephen L Moshier <moshier@mediaone.net>.
401         * aclocal.m4: Quote AC_FD_MSG and AC_FD_CC.
403         * sysdeps/powerpc/fpu/libm-test-ulps: Add ULPs for tanh (-0.7).
404         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
406 2001-06-11  Michael Deutschmann  <michael@talamasca.ocis.net>
408         * rt/tst-aio4.c (do_test): Test whether rt signals are supported.
409         Use my_signo instead of MY_SIGNO and initialize it so that the
410         used signal is always available.
412 2001-06-11  Andreas Jaeger  <aj@suse.de>,
413             Michael Deutschmann  <michael@talamasca.ocis.net>
415         * io/test-lfs.c (do_prepare): Clean up error messages.
416         (test_ftello): Check for EFBIG and ENOSPC, clean up error messages.
417         (do_test): Likewise.
419 2001-06-11  Andreas Jaeger  <aj@suse.de>
421         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (IXANY, IUCLC,
422         IMAXBEL): Make always visible since they're needed by POSIX.
423         Closes PR libc/2320, reported by Chris Yeoh <cyeoh@samba.org>.
425 2001-06-10  Ben Collins  <bcollins@debian.org>
427         * sysdeps/arm/elf/start.S: Use #function, not @function, for
428         .type of _start.
430         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Include limits.h to get
431         INT_MAX.
433 2001-06-07  H.J. Lu  <hjl@gnu.org>
435         * sunrpc/rpc/rpc.h: Add __BEGIN_DECLS/__END_DECLS.
437 2001-06-10  Roland McGrath  <roland@frob.com>
439         * elf/reldep4mod2.c: Use fully typed decls to avoid warnings.
440         * elf/reldep4mod4.c: Likewise.
442 2001-06-10  Mark Kettenis  <kettenis@gnu.org>
444         * hurd/hurd/threadvar.h: Add prototype for __hurd_errno_location.
446 2001-06-08  Andreas Schwab  <schwab@suse.de>
448         * posix/regex.c (re_match_2_internal) [case wordbeg, wordend]:
449         Don't dereference at end of string.
451 2001-06-06  Roland McGrath  <roland@frob.com>
453         * sysdeps/mach/hurd/getsockopt.c: Fix handling of returned buffer size.
454         From Robert Bihlmeyer <robbe@orcus.priv.at>.
456 2001-06-06  Ulrich Drepper  <drepper@redhat.com>
458         * po/ko.po: Update from translation team.
460 2001-06-06  Andreas Jaeger  <aj@suse.de>
462         * manual/llio.texi (Memory-mapped I/O): Clarify that mapping is to
463         offset+length-1.
464         Reported by Robert Bernecky <bernecky@acm.org>.
466 2001-06-06  Jakub Jelinek  <jakub@redhat.com>
468         * sysdeps/cris/elf/start.S: Fix a typo introduced by last patch.
469         * sysdeps/ia64/elf/start.S: Likewise.
470         * sysdeps/sh/elf/start.S: Likewise.
471         * sysdeps/s390/s390-32/elf/start.S: Likewise.
472         * sysdeps/s390/s390-64/elf/start.S: Likewise.
474 2001-06-05  Matthew Wilcox  <willy@ldl.fc.hp.com>
476         * sysdeps/hppa/bsd-_setjmp.S: New.
477         * sysdeps/hppa/bsd-setjmp.S: New.
479         * sysdeps/hppa/dl-machine.h: Reformat asm statements to remove new
480         gcc warnings about multi-line strings.
482         * sysdeps/unix/sysv/linux/hppa/getrlimit.c: Remove.
483         * sysdeps/unix/sysv/linux/hppa/setrlimit.c: Remove.
485         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Call getrlimit,
486         setrlimit directly instead of using wrappers.
488 2001-05-01  Richard Hirst  <rhirst@linuxcare.com>
490         * sysdeps/unix/sysv/linux/hppa/syscall.S: remove dummy syscall.
491         * sysdeps/unix/sysv/linux/hppa/sysdep.c: implement syscall.
493 2001-06-05  Philipp Thomas  <pthomas@suse.de>
495         * nis/nis_call.c (__nisbind_connect): Don't mark for translation
496         what can't be translated.
498 2001-06-06  Ulrich Drepper  <drepper@redhat.com>
500         * timezone/zic.c: Update from tzcode2001c.
501         * timezone/private.h: Likewise.
502         * timezone/africa: Update from tzdata2001c.
503         * timezone/asia: Likewise.
504         * timezone/europe: Likewise.
505         * timezone/northamerica: Likewise.
506         * timezone/southamerica: Likewise.
507         * timezone/zone.tab: Likewise.
509 2001-06-04  Bruno Haible  <haible@clisp.cons.org>
511         * iconv/loop.c (UNICODE_TAG_HANDLER): New macro.
512         * iconv/gconv_simple.c (__gconv_transform_internal_ascii): Invoke
513         UNICODE_TAG_HANDLER.
514         (__gconv_transform_internal_ucs2): Likewise.
515         (__gconv_transform_internal_ucs2reverse): Likewise.
516         * iconvdata/8bit-gap.c (BODY for TO_LOOP): Invoke UNICODE_TAG_HANDLER.
517         * iconvdata/8bit-generic.c (BODY for TO_LOOP): Likewise.
518         * iconvdata/ansi_x3.110.c (BODY for TO_LOOP): Likewise.
519         * iconvdata/big5.c (BODY for TO_LOOP): Likewise.
520         * iconvdata/big5hkscs.c (BODY for TO_LOOP): Likewise.
521         * iconvdata/cp1255.c (BODY for TO_LOOP): Likewise.
522         * iconvdata/cp1258.c (BODY for TO_LOOP): Likewise.
523         * iconvdata/euc-cn.c (BODY for TO_LOOP): Likewise.
524         * iconvdata/euc-jp.c (BODY for TO_LOOP): Likewise.
525         * iconvdata/euc-kr.c (BODY for TO_LOOP): Likewise.
526         * iconvdata/euc-tw.c (BODY for TO_LOOP): Likewise.
527         * iconvdata/gbk.c (BODY for TO_LOOP): Likewise.
528         * iconvdata/ibm930.c (BODY for TO_LOOP): Likewise.
529         * iconvdata/ibm932.c (BODY for TO_LOOP): Likewise.
530         * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
531         * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
532         * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
533         * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
534         * iconvdata/ibm943.c (BODY for TO_LOOP): Likewise.
535         * iconvdata/iso646.c (BODY for TO_LOOP): Likewise.
536         * iconvdata/iso8859-1.c (BODY for TO_LOOP): Likewise.
537         * iconvdata/iso_6937.c (BODY for TO_LOOP): Likewise.
538         * iconvdata/iso_6937-2.c (BODY for TO_LOOP): Likewise.
539         * iconvdata/iso-2022-cn.c (BODY for TO_LOOP): Likewise.
540         * iconvdata/iso-2022-cn-ext.c (BODY for TO_LOOP): Likewise.
541         * iconvdata/iso-2022-kr.c (BODY for TO_LOOP): Likewise.
542         * iconvdata/johab.c (BODY for TO_LOOP): Likewise.
543         * iconvdata/sjis.c (BODY for TO_LOOP): Likewise.
544         * iconvdata/t.61.c (BODY for TO_LOOP): Likewise.
545         * iconvdata/uhc.c (BODY for TO_LOOP): Likewise.
546         * iconvdata/unicode.c (BODY for TO_LOOP): Likewise.
547         * iconvdata/iso-2022-jp.c (TAG_none, TAG_language, TAG_language_j,
548         TAG_language_ja, TAG_language_k, TAG_language_ko, TAG_language_z,
549         TAG_language_zh, CURRENT_TAG_MASK): New enum values.
550         (EMIT_SHIFT_TO_INIT): Don't emit an escape sequence if ASCII_set
551         is already selected but set2 or tag are set.
552         (conversion): New enum type.
553         (cvlist_t): New type.
554         (CVLIST, CVLIST_FIRST, CVLIST_REST): New macros.
555         (conversion_lists): New array.
556         (BODY for TO_LOOP): Keep track of Unicode 3.1 language tag. I f "ja",
557         prefer conversion to Japanese character sets.  If "zh", prefer
558         conversion to GB2312. I f "ko", prefer conversion to KSC5601.  Small
559         optimizations.
560         (INIT_PARAMS): Add tag.
561         (UPDATE_PARAMS): Add tag.
563 2001-06-04  Bruno Haible  <haible@clisp.cons.org>
565         * locale/programs/locfile.c (write_locale_data): Before creat(),
566         unlink the file, to avoid crashing the processes that mmap it.  Change
567         a double slash to a single slash.  Free fname in case of error return.
569 2001-06-02  Jakub Jelinek  <jakub@redhat.com>
571         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Mostly revert 2000-12-03
572         changes, do the special handling for denormal numbers, not for
573         normalized numbers (patch by <trevin@xmission.com>).
575         * math/test-misc.c (main): Test frexpl with denormal arguments.
577 2001-06-04  Jakub Jelinek  <jakub@redhat.com>
579         * math/libm-test.inc (llround_test): Add two new llround tests.
580         * sysdeps/ieee754/ldbl-96/s_llroundl.c (__llroundl): Don't allow
581         overflow when rounding away from zero.
583 2001-06-04  Jakub Jelinek  <jakub@redhat.com>
585         * math/Makefile (libm-calls): Add e_log2, w_log2, remove s_log2.
586         * math/math_private.h (__ieee754_log2, __ieee754_log2f,
587         __ieee754_log2l): New prototypes.
588         * sysdeps/generic/w_log2.c: New file.
589         * sysdeps/generic/w_log2f.c: New file.
590         * sysdeps/generic/w_log2l.c: New file.
591         * sysdeps/generic/s_log2l.c: Move...
592         * sysdeps/generic/e_log2l.c: ...to here. Rename to __ieee754_log2l.
593         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle log2(0)
594         and log2(x < 0).
595         * sysdeps/i386/fpu/s_log2.S: Move...
596         * sysdeps/i386/fpu/e_log2.S: ...to here. Rename to __ieee754_log2.
597         * sysdeps/i386/fpu/s_log2f.S: Move...
598         * sysdeps/i386/fpu/e_log2f.S: ...to here. Rename to __ieee754_log2f.
599         * sysdeps/i386/fpu/s_log2l.S: Move...
600         * sysdeps/i386/fpu/e_log2l.S: ...to here. Rename to __ieee754_log2l.
601         * sysdeps/m68k/fpu/s_log2.c: Move...
602         * sysdeps/m68k/fpu/e_log2.c: ...to here. Rename to __ieee754_log2.
603         * sysdeps/m68k/fpu/s_log2f.c: Move...
604         * sysdeps/m68k/fpu/e_log2f.c: ...to here. Rename to __ieee754_log2f.
605         * sysdeps/m68k/fpu/s_log2l.c: Move...
606         * sysdeps/m68k/fpu/e_log2l.c: ...to here. Rename to __ieee754_log2l.
607         * sysdeps/ieee754/dbl-64/s_log2.c: Move...
608         * sysdeps/ieee754/dbl-64/e_log2.c: ...to here. Rename to
609         __ieee754_log2.
610         * sysdeps/ieee754/flt-32/s_log2f.c: Move...
611         * sysdeps/ieee754/flt-32/e_log2f.c: ...to here. Rename to
612         __ieee754_log2f.
614 2001-06-04  Jakub Jelinek  <jakub@redhat.com>
616         * sysdeps/generic/w_exp2.c (u_threshold): Lower threshold so that
617         even arguments which result in denormalized exp2 are accepted.
618         (__exp2): Arguments equal to u_threshold already result into
619         underflow.
620         * sysdeps/generic/w_exp2f.c (u_threshold, __exp2f): Likewise.
621         * sysdeps/generic/w_exp2l.c (u_threshold, __exp2l): Likewise.
622         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Lomark was too
623         low, with corrected lowmark use greaterequal, not greater.
624         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
626 2001-06-04  Jakub Jelinek  <jakub@redhat.com>
628         * math/libm-test.inc (ilogb_test): Test that ilogb(+-Inf) == INT_MAX.
629         * sysdeps/i386/fpu/s_ilogb.S (__ilogb): Return INT_MAX for +-Inf.
630         * sysdeps/i386/fpu/s_ilogbf.S (__ilogbf): Likewise.
631         * sysdeps/i386/fpu/s_ilogbl.S (__ilogbl): Likewise.
632         * sysdeps/ieee754/dbl-64/s_ilogb.c (__ilogb): Likewise.
633         * sysdeps/ieee754/flt-32/s_ilogbf.c (__ilogbf): Likewise.
634         * sysdeps/ieee754/ldbl-128/s_ilogbl.c (__ilogbl): Likewise.
635         * sysdeps/ieee754/ldbl-96/s_ilogbl.c (__ilogbl): Likewise.
637 2001-06-04  Jakub Jelinek  <jakub@redhat.com>
639         * sysdeps/generic/w_coshl.c (__coshl): Test if finite argument
640         gave non-finite result instead of using constant in generic
641         version.
642         * sysdeps/generic/w_coshf.c (__coshf): Likewise.
643         * sysdeps/generic/w_cosh.c (__cosh): Likewise.
644         * sysdeps/generic/w_exp10.c (o_threshold, u_threshold): Remove.
645         (__exp10): Test if finite argument gave non-finite result.
646         * sysdeps/generic/w_exp10f.c (o_threshold, u_threshold, __exp10f):
647         Likewise.
648         * sysdeps/generic/w_exp10l.c (o_threshold, u_threshold, __exp10l):
649         Likewise.
651 2001-06-04  Jakub Jelinek  <jakub@redhat.com>
653         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Fix
654         overflow threshold constant (log(LDBL_MAX)+M_LN2l).
656 2001-05-29  Bruno Haible  <haible@clisp.cons.org>
658         * locale/programs/ld-ctype.c (idx_table): New struct type.
659         (idx_table_init, idx_table_get, idx_table_add): New functions.
660         (MAX_CHARNAMES_IDX): Remove macro.
661         (locale_ctype_t): Change type of charnames_idx field.
662         (ctype_startup): Change initialization of charnames_idx field.
663         (find_idx): Use idx_table_get and idx_table_add for speed.
665         * locale/programs/charmap.c (charmap_new_char): Fix ucs4 value
666         computation of characters in a range.
668 2001-05-29  Bruno Haible  <haible@clisp.cons.org>
670         * iconvdata/gb18030.c (__fourbyte_to_ucs1): Add mappings for <U03F4>,
671         <U03F5>.
672         (__ucs_to_gb18030_tab1): Likewise.
673         (BODY for FROM_LOOP): Add mapping for <U00010000>..<U0010FFFF>.
674         (BODY for TO_LOOP): Likewise.
675         * iconvdata/tst-table-charmap.sh: Update for charmaps containing
676         <U00xxxxxx> syntax.
677         * iconvdata/tst-table-from.c (bmp_only): New variable.
678         (utf8_decode): If bmp_only, don't return characters outside Unicode
679         plane 0.
680         (main): When testing UTF-8 or GB18030, set bmp_only to 1. Don't print
681         a conversion line if utf8_decode returns NULL.
682         * iconvdata/tst-table-to.c (main): When testing encodings other than
683         UTF-8 and GB18030, loop upto U+30000 instead of U+10000. Use UTF-8
684         instead of UCS-2 as input.
685         * iconvdata/tst-table.sh: For GB18030, use only the part < 0x10000
686         of the charmap.
688 2001-05-29  Bruno Haible  <haible@clisp.cons.org>
690         * iconvdata/cns11643l1.c: Update to Unicode 3.1.
691         (__cns11643l1_to_ucs4_tab): Regenerated.
692         (__cns11643l1_from_ucs4_tab12): Regenerated.
693         * iconvdata/cns11643.c: Update to Unicode 3.1.
694         (__cns11643l14_to_ucs4_tab): Remove array.
695         (__cns11643l3_to_ucs4_tab, __cns11643l4_to_ucs4_tab,
696         __cns11643l5_to_ucs4_tab, __cns11643l6_to_ucs4_tab,
697         __cns11643l7_to_ucs4_tab, __cns11643l15_to_ucs4_tab): New arrays.
698         (__cns11643_from_ucs4p0_tab): Renamed from __cns11643_from_ucs4_tab.
699         (__cns11643_from_ucs4p2_tab): New array.
700         * iconvdata/cns11643.h (__cns11643l14_to_ucs4_tab): Remove declaration.
701         (__cns11643l3_to_ucs4_tab, __cns11643l4_to_ucs4_tab,
702         __cns11643l5_to_ucs4_tab, __cns11643l6_to_ucs4_tab,
703         __cns11643l7_to_ucs4_tab, __cns11643l15_to_ucs4_tab): New declarations.
704         (cns11643_to_ucs4): Treat planes 3, 4, 5, 6, 7, 15 instead of 14.
705         (__cns11643_from_ucs4_tab): Remove declaration.
706         (__cns11643_from_ucs4p0_tab, __cns11643_from_ucs4p2_tab): New
707         declarations.
708         (ucs4_to_cns11643): Update for new arrays. Treat U+3400..U+4DFF and
709         U+20000..U+2A6D6.
710         * iconvdata/cns11643l2.h (__cns11643_from_ucs4_tab): Remove
711         declaration.
712         (__cns11643_from_ucs4p0_tab): New declaration.
713         (ucs4_to_cns11643l2): Update for new arrays.
714         * iconvdata/iso-2022-cn-ext.c (BODY for FROM_LOOP): Handle planes
715         3 to 7.
716         (BODY for TO_LOOP): Handle planes 3 to 7, instead of plane 14.
717         * iconvdata/EUC-TW.irreversible: New file.
718         * iconvdata/tst-table.sh: Use it.
719         * iconvdata/Makefile (distribute): Add CP1255.irreversible,
720         CP1258.irreversible, EUC-TW.irreversible.
722 2001-05-29  Bruno Haible  <haible@clisp.cons.org>
724         * locale/C-translit.h.in: Add transliterations for new Unicode 3.1
725         mathematical symbols.
727 2001-06-05  Andreas Jaeger  <aj@suse.de>
729         * manual/stdio.texi (Portable Positioning): Fix description of
730         fpos_t and fpos64_t.
732 2001-06-06  Ulrich Drepper  <drepper@redhat.com>
734         * sysdeps/generic/wordexp.c: Undo last patch.  Use strndupa instead.
736         * po/sk.po: Update from translation team.
738 2001-06-05  Andreas Jaeger  <aj@suse.de>
740         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Recognize
741         tmpfs, patch by Stanislav Brabec <utx@penguin.cz>.
742         Closes PR libc/2315.
744 2001-06-05  Ulrich Drepper  <drepper@redhat.com>
746         * sysdeps/generic/wordexp.c: Add missing free.
747         Patch by yeti@physics.muni.cz.
749 2001-06-02  Tom Browder  <tbrowder@home.com>
751         * misc/tst-tsearch.c (mangle_tree): Ensure array indices are
752         within bounds when lag > 0.
754 2001-06-05  Ulrich Drepper  <drepper@redhat.com>
756         * po/tr.po: New file.
758 2001-06-05  Andreas Jaeger  <aj@suse.de>
760         * manual/libm-err-tab.pl (parse_ulps): Fix typo.
762 2001-06-04  H.J. Lu  <hjl@gnu.org>
764         * sysdeps/alpha/elf/start.S: Add .type for the entry point.
765         * sysdeps/arm/elf/start.S: Likewise.
766         * sysdeps/hppa/elf/start.S: Likewise.
767         * sysdeps/i386/elf/start.S: Likewise.
768         * sysdeps/m68k/elf/start.S: Likewise.
769         * sysdeps/mips/elf/start.S: Likewise.
770         * sysdeps/ia64/elf/start.S: Likewise.
771         * sysdeps/sh/elf/start.S: Likewise.
772         * sysdeps/s390/s390-32/elf/start.S: Likewise.
773         * sysdeps/s390/s390-64/elf/start.S: Likewise.
774         * sysdeps/cris/elf/start.S: Likewise.
776 2001-06-04  Bruce Mitchener  <bruce@cubik.org>
778         * manual/resource.texi: Correct setpriority/nice documentation.
780         * sysdeps/unix/nice.c: Correct nice() implementation.
782 2001-06-04  Andreas Jaeger  <aj@suse.de>
784         * sysdeps/ieee754/ldbl-128/e_sinhl.c: New file, contributed by
785         Stephen L Moshier <moshier@mediaone.net>.
787 2001-06-03  Roland McGrath  <roland@frob.com>
789         * Makefile (postclean): Remove obsolete sysd-Makefile.
791 2001-06-01  Roland McGrath  <roland@frob.com>
793         * sysdeps/alpha/fpu/fclrexcpt.c: #include <shlib-compat.h>
794         and use compat_symbol/versioned_symbol instead of plain
795         symbol_version/default_symbol_version.
796         * sysdeps/alpha/fpu/fegetenv.c: Likewise.
797         * sysdeps/alpha/fpu/fesetenv.c: Likewise.
798         * sysdeps/alpha/fpu/feupdateenv.c: Likewise.
799         * sysdeps/alpha/fpu/fgetexcptflg.c: Likewise.
800         * sysdeps/alpha/fpu/fraiseexcpt.c: Likewise.
801         * sysdeps/alpha/fpu/fsetexcptflg.c: Likewise.
802         * sysdeps/arm/fpu/fclrexcpt.c: Likewise.
803         * sysdeps/arm/fpu/fegetenv.c: Likewise.
804         * sysdeps/arm/fpu/fesetenv.c: Likewise.
805         * sysdeps/arm/fpu/fraiseexcpt.c: Likewise.
806         * sysdeps/arm/fpu/fsetexcptflg.c: Likewise.
807         * sysdeps/i386/fpu/fclrexcpt.c: Likewise.
808         * sysdeps/i386/fpu/fegetenv.c: Likewise.
809         * sysdeps/i386/fpu/fesetenv.c: Likewise.
810         * sysdeps/i386/fpu/feupdateenv.c: Likewise.
811         * sysdeps/i386/fpu/fgetexcptflg.c: Likewise.
812         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
813         * sysdeps/i386/fpu/fsetexcptflg.c: Likewise.
814         * sysdeps/m68k/fpu/fclrexcpt.c: Likewise.
815         * sysdeps/m68k/fpu/fegetenv.c: Likewise.
816         * sysdeps/m68k/fpu/fesetenv.c: Likewise.
817         * sysdeps/m68k/fpu/feupdateenv.c: Likewise.
818         * sysdeps/m68k/fpu/fgetexcptflg.c: Likewise.
819         * sysdeps/m68k/fpu/fraiseexcpt.c: Likewise.
820         * sysdeps/m68k/fpu/fsetexcptflg.c: Likewise.
821         * sysdeps/powerpc/fclrexcpt.c: Likewise.
822         * sysdeps/powerpc/fpu/fegetenv.c: Likewise.
823         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
824         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
825         * sysdeps/powerpc/fpu/fgetexcptflg.c: Likewise.
826         * sysdeps/powerpc/fpu/fraiseexcpt.c: Likewise.
827         * sysdeps/powerpc/fpu/fsetexcptflg.c: Likewise.
829         * iconvdata/cp1258.c: Include <stdlib.h> for abort decl.
830         * iconvdata/iso-2022-cn-ext.c: Likewise.
832 2001-06-01  Andreas Jaeger  <aj@suse.de>
834         * Versions.def: Add version 2.2.4.
836 2001-06-01  Ulrich Drepper  <drepper@redhat.com>
838         * socket/Makefile (routines): Add sockatmark.
839         * socket/Versions [GLIBC_2.2.4]: Add sockatmark.
840         * socket/sys/socket.h: Add prototype for sockatmark.
841         * sysdeps/generic/sockatmark.c: New file.
842         * sysdeps/unix/sockatmark.c: New file.
844 2001-06-01  Andreas Jaeger  <aj@suse.de>
846         * sysdeps/unix/sysv/linux/speed.c (cfsetispeed): Max speed is
847         B4000000.
848         (cfsetospeed): Likewise.
849         Reported by Lukasz Trabinski <lukasz@lt.wsisiz.edu.pl>.
851 2001-05-31  Joseph S. Myers  <jsm28@cam.ac.uk>
853         * misc/sys/cdefs.h (__restrict_arr): Define to empty for C++.
855 2001-05-30  Martin Schwidefsky  <schwidefsky@de.ibm.com>
857         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: greg_t
858         needs to have the same aligment as the kernel structure.
860 2001-05-29  Jakub Jelinek  <jakub@redhat.com>
862         * sunrpc/rpc/types.h (u_char, u_short, u_int, u_long, quad_t,
863         u_quad_t, fsid_t, daddr_t, caddr_t): Make sure the types are defined.
864         * posix/sys/types.h (u_char, u_short, u_int, u_long, quad_t,
865         u_quad_t, fsid_t, daddr_t, caddr_t): Protect the __USE_BSD typedefs
866         against multiple definition.
868 2001-05-30  Ulrich Drepper  <drepper@redhat.com>
870         * po/da.po: Update from translation team.
872 2001-05-29  Andreas Jaeger  <aj@suse.de>
874         * sysdeps/ieee754/ldbl-128/e_acosl.c: New file, contributed by
875         Stephen L Moshier <moshier@mediaone.net>.
877         * math/libm-test.inc (sinh_test): Add new test case.
879         * sysdeps/ieee754/ldbl_96/e_sinhl.c (__ieee754_sinhl): sinhl(x) =
880         x when x < 2^-32.
881         Patch by Stephen L Moshier <moshier@mediaone.net>.
883 2001-05-23  Andreas Jaeger  <aj@suse.de>
885         * iconvdata/testdata/WINDOWS-1255..UTF-8: Renamed to...
886         * iconvdata/testdata/WINDOWS-1255..UTF8: this.
888 2001-05-27  Andreas Jaeger  <aj@suse.de>
890         * manual/stdio.texi (String Streams): Fix fmemopen description.
891         Reported by Michal Kochanowicz <michal@michal.waw.pl>.
893 2001-05-26  H.J. Lu <hjl@gnu.org>
895         * sysdeps/unix/sysv/linux/mips/syscalls.list: Change sigsuspend
896         to s_sigsuspend. Add s_mmap2.
898         * sysdeps/mips/atomicity.h: New file.
900         * sysdeps/unix/sysv/linux/mips/getsysstats.c: New file.
902         * sysdeps/unix/sysv/linux/mips/bits/ipc.h (ipc_perm): Put
903         back __key.
905 2001-05-25  Bruce Mitchener  <bruce@cubik.org>
907         * manual/ctype.texi: Minor fix.
908         * manual/install.texi: Likewise.
909         * manual/startup.texi: Likewise.
910         * manual/examples/dir.c: Use perror() rather than puts().
912 2001-05-25  David Mosberger  <davidm@hpl.hp.com>
914         * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h: Put stuff following
915         #endif directive inside a comment to avoid compiler warnings.
917 2001-05-25  Philipp Thomas  <pthomas@suse.de>
919         * nis/nis_print.c (nis_nstype2str): Don't mark names of
920         naming services for translation, only UNKNOWN needs it.
921         Add comment to prevent it for the future.
923 2001-05-25  Joseph S. Myers  <jsm28@cam.ac.uk>
925         * misc/sys/cdefs.h (__restrict_arr): Define appropriately for GCC
926         3.1 and non-GCC C99 compilers.
928 2001-05-22  David Mosberger  <davidm@hpl.hp.com>
930         * sysdeps/ia64/memmove.S: Increase MEMLAT from 6 to 21 for better
931         performance.
932         * sysdeps/ia64/memcpy.S: Likewise.
934         * sysdeps/ia64/bcopy.S: New file.
936         * sysdeps/ia64/bzero.S: New file (derived from memset.S).
938 2001-05-26  Ulrich Drepper  <drepper@redhat.com>
940         * sysdeps/ia64/fpu/libm-test-ulps: Add deltas for tanh(-0.7).
942 2001-05-24  Ulrich Drepper  <drepper@redhat.com>
944         * iconvdata/Makefile: Add rules for CP10007.
945         * iconvdata/gconv-modules: Add entries for CP10007 ad MacCyrillic.
946         * iconvdata/cp10007.c: New file.
947         * iconvdata/tst-tables.sh: Add CP10007.
949 2001-05-23  kaz Kojima  <kkojima@rr.iij4u.or.jp>
951         * sysdeps/sh/dl-machine.h (_dl_runtime_resolve): Handle newer PLT.
952         (_dl_runtime_profile): Likewise..
954 2001-05-23  Thorsten Kukuk  <kukuk@suse.de>
956         * sysdeps/posix/getaddrinfo.c: Support for AF_UNIX commented out.
957         * posix/tst-getaddrinfo.c: Remove AF_UNIX test.
959 2001-05-19  H.J. Lu  <hjl@gnu.org>
961         * elf/dl-deps.c (_dl_map_object_deps): Pass objname and
962         errstring of the failed DSO to _dl_signal_error ().
964 2001-05-23  Ulrich Drepper  <drepper@redhat.com>
966         * iconvdata/gconv-modules: Add more aliases to enable use in
967         locale names.
969 2001-05-23  Andreas Jaeger  <aj@suse.de>
971         * sysdeps/unix/sysv/linux/ia64/Makefile (CFLAGS-initfini.s):
972         Remove, it's not used anywhere anymore.
973         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile
974         (CFLAGS-initfini.s): Likewise.
975         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile
976         (CFLAGS-initfini.s): Likewise.
977         * sysdeps/unix/sysv/linux/powerpc/Makefile (CFLAGS-initfini.s):
978         Likewise.
979         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-initfini.s):
980         Likewise.
982 2001-05-21  Bruno Haible  <haible@clisp.cons.org>
984         * wcsmbs/mbrtowc.c (mbrtowc): Remove local variable 'flush', always
985         use 0 instead, and rely on the converter to do the flush.
986         * wcsmbs/tst-mbrtowc.c (utf8_test_1): New function, taken from
987         utf8_test.
988         (utf8_test_2, utf8_test_3): New function.
989         (utf8_test): Call utf8_test_1, utf8_test_2, utf8_test_3.
991 2001-05-22  Jakub Jelinek  <jakub@redhat.com>
993         * elf/dl-close.c (_dl_close): Save imap->l_reldeps, not map->l_reldeps.
995         * elf/Makefile (distribute): Add reldep4mod[1234].c.
996         (tests): Add reldep4.
997         (modules-names): Add reldep4mod[1234].
998         (reldep4mod1.so, reldep4mod2.so, reldep4, reldep4.out): New rules.
999         * elf/reldep4.c: New file.
1000         * elf/reldep4mod1.c: Likewise.
1001         * elf/reldep4mod2.c: Likewise.
1002         * elf/reldep4mod3.c: Likewise.
1003         * elf/reldep4mod4.c: Likewise.
1005 2001-05-18  Jakub Jelinek  <jakub@redhat.com>
1007         * elf/dl-lookup.c (PROTECTED): Remove defines.
1008         (add_dependency): Mark it with internal_function.
1009         (_dl_do_lookup, _dl_do_lookup_versioned): New functions.
1010         (_dl_lookup_symbol, _dl_lookup_symbol_skip,
1011         _dl_lookup_versioned_symbol, _dl_lookup_versioned_symbol_skip): Use
1012         it if we don't want do_lookup* inlined.
1014 2001-05-18  Jakub Jelinek  <jakub@redhat.com>
1016         * include/link.h (struct r_scope_elem): Remove r_duplist and
1017         r_nduplist fields.
1018         * elf/dl-load.c (_dl_map_object_from_fd): Don't initialize them.
1019         * elf/dl-lookup.c (_dl_lookup_symbol_skip): Look in r_list, not
1020         r_duplist.
1021         (_dl_lookup_versioned_symbol_skip): Likewise.
1022         * elf/dl-deps.c (struct list): Remove dup field, rename unique to next.
1023         (_dl_map_object_deps): Don't compute duplicate list.
1025         * elf/dl-symbol.c: Removed.
1026         * elf/Makefile (routines): Remove dl-symbol.
1028 2001-05-22  Ulrich Drepper  <drepper@redhat.com>
1030         * po/el.po: Update from translation team.
1031         * po/sv.po: Likewise.
1033 2001-05-20  Bruno Haible  <haible@clisp.cons.org>
1035         * iconvdata/cp1255.c: Completely rewritten.
1036         * iconvdata/Makefile (gen-8bit-gap-modules): Remove cp1255.
1037         * iconvdata/testdata/WINDOWS-1255: New file.
1038         * iconvdata/testdata/WINDOWS-1255..UTF8: New file.
1039         * iconvdata/TESTS: Add WINDOWS-1255 test.
1040         * iconvdata/CP1255.irreversible: New file.
1042 2001-05-20  Bruno Haible  <haible@clisp.cons.org>
1044         * iconvdata/cp1258.c: Completely rewritten.
1045         * iconvdata/Makefile (gen-8bit-gap-modules): Remove cp1258.
1046         * iconvdata/testdata/WINDOWS-1258: New file.
1047         * iconvdata/testdata/WINDOWS-1258..UTF8: New file.
1048         * iconvdata/TESTS: Add WINDOWS-1258 test.
1049         * iconvdata/tst-table-from.c (try): Reset the iconv descriptor before
1050         the main call, and flush it afterwards.
1051         (utf8_decode): Return a string, possibly containing several Unicode
1052         characters.
1053         (main): Update all utf8_decode calls.
1054         * iconvdata/CP1258.irreversible: New file.
1056 2001-05-20  Bruno Haible  <haible@clisp.cons.org>
1058         * iconv/gconv.c (__gconv): For flush without output, pass do_flush = 2.
1059         * iconv/skeleton.c: Distinguish do_flush = 1 and do_flush = 2. In the
1060         first case, set outbuf, outstart, outend, and call PREPARE_LOOP before
1061         EMIT_SHIFT_TO_INIT; then pass the output produced by this step down to
1062         the next step. In the second case, clear the state without calling
1063         EMIT_SHIFT_TO_INIT.
1064         * iconvdata/ibm930.c (EMIT_SHIFT_TO_INIT): Use outbuf instead of
1065         data->__outbuf, and outend instead of data->__outbufend.
1066         * iconvdata/ibm933.c (EMIT_SHIFT_TO_INIT): Likewise.
1067         * iconvdata/ibm935.c (EMIT_SHIFT_TO_INIT): Likewise.
1068         * iconvdata/ibm937.c (EMIT_SHIFT_TO_INIT): Likewise.
1069         * iconvdata/ibm939.c (EMIT_SHIFT_TO_INIT): Likewise.
1070         * iconvdata/iso-2022-cn.c (EMIT_SHIFT_TO_INIT): Likewise.
1071         * iconvdata/iso-2022-cn-ext.c (EMIT_SHIFT_TO_INIT): Likewise.
1072         * iconvdata/iso-2022-jp.c (EMIT_SHIFT_TO_INIT): Likewise.
1073         * iconvdata/iso-2022-kr.c (EMIT_SHIFT_TO_INIT): Likewise.
1074         * iconvdata/utf-7.c (EMIT_SHIFT_TO_INIT): Likewise.
1076 2001-05-21  Jakub Jelinek  <jakub@redhat.com>
1078         * elf/rtld.c (dl_main): Compute l_map_end for the main program.
1079         * elf/dl-sym.c (_dl_sym): Don't check for l_addr == 0.
1080         If match == _dl_loaded, caller can still come from the main program.
1081         (_dl_vsym): Likewise.
1082         * elf/dl-open.c (dl_open_worker): Don't check for l_addr == 0.
1083         * elf/dl-error.c (_dl_signal_error): Change NULL objname into "".
1084         * elf/restest2.c: New test.
1085         * elf/Makefile (tests): Add restest2.
1086         (restest2, LDFLAGS-restest2): Add rules.
1088 2001-05-22  Ulrich Drepper  <drepper@redhat.com>
1090         * intl/Makefile: Add a few more dependencies to avoid races in the
1091         test shell scripts.
1093 2001-05-22  Andreas Jaeger  <aj@suse.de>
1095         * sysdeps/ieee754/ldbl-128/s_log1pl.c: New file, contributed by
1096         Stephen L Moshier <moshier@mediaone.net>.
1098 2001-05-22  Martin Schwidefsky  <schwidefsky@de.ibm.com>
1100         * sysdeps/s390/s390-32/backtrace.c: Make backtrace return the
1101         return addresses instead of the stack pointers.
1102         * sysdeps/s390/s390-64/backtrace.c: Likewise.
1104 2001-05-21  Jakub Jelinek  <jakub@redhat.com>
1106         * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Include
1107         bits/sigcontext.h instead of bits/sigstack.h.
1108         * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h: Add
1109         multiple-inclusion guards.
1111 2001-05-21  Andreas Jaeger  <aj@suse.de>
1113         * locale/programs/ld-collate.c (handle_ellipsis): Fix message.
1114         Patch by Philipp Thomas <pthomas@suse.de>.
1116 2001-05-17  Bruce Mitchener  <bruce@cubik.org>
1118         * manual/arpg.texi: Spelling, misc fixes.
1119         * manual/arith.texi: Likewise.
1120         * manual/crypt.texi: Likewise.
1121         * manual/debug.texi: Likewise.
1122         * manual/getopt.texi: Likewise.
1123         * manual/intro.texi: Likewise.
1124         * manual/memory.texi: Likewise.
1125         * manual/nss.texi: Likewise.
1126         * manual/pattern.texi: Likewise.
1127         * manual/process.texi: Likewise.
1128         * manual/resource.texi: Likewise.
1129         * manual/search.texi: Likewise.
1130         * manual/setjmp.texi: Likewise.
1131         * manual/signal.texi: Likewise.
1132         * manual/socket.texi: Likewise.
1133         * manual/stdio.texi: Likewise.
1134         * manual/string.texi: Likewise.
1135         * manual/sysinfo.texi: Likewise.
1136         * manual/terminal.texi: Likewise.
1137         * manual/llio.texi: Document madvise().
1139 2001-05-20  Roland McGrath  <roland@frob.com>
1141         * Makeconfig (sysdep-makeconfigs): Include any Makeconfig files
1142         found within $(add-ons) directories too.
1143         [linuxthreads add-on]: Move variable settings for linuxthreads
1144         to new file linuxthreads/Makeconfig.
1146 2001-05-20  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
1148         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_STD_AUXV):
1149         Define for linux >= 2.4.5 on powerpc.
1150         (__ASSUME_MMAP2_SYSCALL): Likewise.
1152 2001-05-19  Roland McGrath  <roland@frob.com>
1154         * hurd/hurdlookup.c (__hurd_file_name_lookup_retry): Don't leak the
1155         result port when failing with ELOOP.  Do the ELOOP check when
1156         following an absolute symlink target as well as relative.
1157         Remove #ifdef SYMLOOP_MAX conditional--it should always be defined.
1159 2001-05-18  Andreas Jaeger  <aj@suse.de>
1161         * po/fr.po: Free software is "logiciel libre".
1162         Patch by Martin Michlmayr <tbm@cyrius.com>.
1164         * sysdeps/powerpc/elf/libc-start.c: Use __cxa_atexit.
1165         Patch by ekato@ees.hokudai.ac.jp, closes PR libc/2271.
1167 2001-05-17  David Mosberger  <davidm@hpl.hp.com>
1169         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: New file.
1171 2001-05-17  Ulrich Drepper  <drepper@redhat.com>
1173         * elf/dl-profile.c (_dl_mcount): Check whether state is
1174         GMON_PROF_ON before doing anything.
1176 2001-05-17  H.J. Lu  <hjl@gnu.org>
1178         * elf/sprof.c (read_symbols): Move "++symtab" into the while loop.
1180 2001-05-17  Ulrich Drepper  <drepper@redhat.com>
1182         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Use
1183         CHECK_SIGSET_NULL_OK and not CHECK_SIGSET for all parameters.
1184         Reported by Mark Burton <markb@ordern.com>.
1186 2001-05-17  Jakub Jelinek  <jakub@redhat.com>
1188         * elf/ldconfig.c (add_dir): Only warn about stat failure if
1189         opt_verbose.
1190         (search_dir): Likewise.
1192 2001-05-17  Ulrich Drepper  <drepper@redhat.com>
1194         * sysdeps/i386/i486/atomicity.h (exchange_and_add): Correct second
1195         parameter of xaddl.  Patch by H . J . Lu <hjl@lucon.org>.
1197 2001-05-14  Bruno Haible  <haible@clisp.cons.org>
1199         * iconvdata/iso-2022-cn-ext.c (BODY for FROM_LOOP): If SO is seen
1200         without previous announcement, reject it regularly, don't abort.
1202 2001-05-16  Ulrich Drepper  <drepper@redhat.com>
1204         * math/tgmath.h: Fix handling of int parameters to binary and
1205         ternary functions.  Reported by mitr@volny.cz.
1207         * math/test-tgmath.c: Add tests for calls with integer parameters.
1209 2001-05-15  Jakub Jelinek  <jakub@redhat.com>
1211         * sunrpc/rpc_thread.c (rpc_default): Remove.
1212         (__rpc_thread_destroy): Use __libc_tsd_RPC_VARS_mem instead of
1213         rpc_default.
1214         (rpc_thread_multi, __rpc_thread_svc_fdset, __rpc_thread_createerr,
1215         __rpc_thread_svc_pollfd, __rpc_thread_svc_max_pollfd): Likewise.
1216         * sunrpc/auth_none.c (authnone_private): Fix a typo.
1218 2001-05-16  Martin Schwidefsky  <schwidefsky@de.ibm.com>
1220         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Fix stack allocation.
1222 2001-05-16  Bruce Mitchener  <bruce@cubik.org>
1224         * manual/llio.texi: Many grammar and typo fixes to the section on AIO.
1226 2001-05-15  Andreas Jaeger  <aj@suse.de>
1228         * sysdeps/ieee754/ldbl-128/s_expm1l.c: New file, contributed by
1229         Stephen L Moshier <moshier@mediaone.net>.
1231         * sysdeps/i386/fpu/libm-test-ulps: Adjust for change.
1233         * math/libm-test.inc: Add comment with ToDo.
1235         * sysdeps/i386/fpu/e_expl.c: Rewritten to C and using a more
1236         accurate algorithm.  Patch by Stephen L Moshier <moshier@mediaone.net>.
1238         * sysdeps/i386/fpu/e_expl.S: Removed.
1240 2001-05-14  Roland McGrath  <roland@frob.com>
1242         * csu/Makefile ($(objpfx)g$(start-installed-name)): Turn this into a
1243         static pattern rule also that also covers
1244         $(objpx)g$(static-start-installed-name).
1245         [$(start-installed-name) != $(static-start-installed-name)]
1246         (extra-objs, omit-deps, install-lib): Add
1247         $(static-start-installed-name) and g$(static-start-installed-name).
1248         * sysdeps/mach/hurd/i386/Makefile: Don't add crt0.o to those here;
1249         just setting static-start-installed-name is now sufficient.
1250         (extra-objs): Add static-start.o here.
1251         (CFLAGS-initfini.s): Remove obsolete variable.
1252         * sysdeps/mach/hurd/i386/Makeconfig: New file.
1253         Define static-start-installed-name here.
1255         * Makeconfig: Include existing $(full_config_sysdirs:=/Makeconfig).
1256         * Make-dist (+sysdep-tsrcs): Look for Makeconfig files.
1258         * Makerules ($(+sysdir_pfx)sysd-Makefile): Remove this target and
1259         associated hair.  Instead, just use $(wildcard ...) in the include.
1261         * configure.in (critic_missing, aux_missing): Collect in these vars
1262         the names of the missing programs, and include them in the error msgs.
1263         * configure: Regenerated.
1265 2001-05-14  Andreas Jaeger  <aj@suse.de>
1267         * sysdeps/i386/fpu/libm-test-ulps: Adjust for new tests.
1269         * math/libm-test.inc (tanh_test): Add testcases for last tanh bug.
1271 2001-05-14  Stephen L Moshier <moshier@mediaone.net>
1273         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Fix sign test.
1275 2001-05-11  Jakub Jelinek  <jakub@redhat.com>
1277         * posix/regex.c (re_match_2_internal): Swap mbs_offset and csize
1278         as well if swapping strings.
1279         Make sure stop is not past end of second string.
1280         * posix/bug-regex4.c: New test.
1281         * posix/Makefile (tests): Add bug-regex4.
1283 2001-05-10  Andreas Jaeger  <aj@suse.de>
1285         * manual/install.texi (Linux): Clarify that Linux 2.2 is minimal
1286         requirement.
1288 2001-05-12  Andreas Jaeger  <aj@suse.de>
1290         * sysdeps/ieee754/dbl-64/s_sin.c: Include "math_private.h" for
1291         internal prototypes.
1292         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
1293         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
1294         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
1295         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
1296         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
1297         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
1298         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
1300         * math/math_private.h: Add prototypes for internal functions of
1301         the IBM Accurate Mathematical Library.
1303         * sysdeps/ieee754/dbl-64/s_atan.c: Include "math.h" for
1304         prototypes.
1305         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
1307         * sysdeps/ieee754/dbl-64/e_asin.c: Include "math_private.h" for
1308         internal prototypes.
1309         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
1310         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
1311         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
1312         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
1313         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
1314         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
1315         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
1316         * sysdeps/generic/e_rem_pio2l.c: Likewise.
1317         (__ieee754_rem_pio2l): Fix prototype.
1319         * math/math_private.h (__copysign): Add internal prototype.
1321 2001-05-11  Andreas Jaeger  <aj@suse.de>
1323         * sysdeps/unix/sysv/linux/configure.in: Move binutils check to...
1324         * sysdeps/unix/sysv/linux/mips/configure.in: ...here.  New file.
1326 2001-05-11  Andreas Jaeger  <aj@suse.de>
1328         * sysdeps/unix/sysv/linux/configure.in: Check binutils version on
1329         MIPS.
1331         * sysdeps/mips/rtld-ldscript.in: Removed unneeded binary output
1332         format directive.  Patch by Steven J. Hill <sjhill@cotw.com>.
1334 2001-05-11  Roland McGrath  <roland@frob.com>
1336         * sysdeps/mach/hurd/Makefile ($(link-rpcuserlibs)): Don't use
1337         $(build-module) here, since we don't need the full magilla.
1338         Just use $(build-module-helper) and append our special options.
1340 2001-05-09  Andreas Schwab  <schwab@suse.de>
1342         * sysdeps/unix/readdir.c: Make sure we don't modify errno when we
1343         reached EOF.
1345 2001-05-07  H.J. Lu  <hjl@gnu.org>
1347         * elf/ldconfig.c (dir_entry): Add ino and dev.
1348         (add_single_dir): Compare ino and dev to check if 2 directory
1349         paths are the same or not. Free entry->path for duplicates.
1350         (add_dir): Initialize ino and dev for entry.
1351         (search_dir): Handle symlink to directory.
1353 2001-05-07  Andreas Jaeger  <aj@suse.de>
1355         * sysdeps/i386/fpu/libm-test-ulps: Add ulps for new exp tests.
1357         * math/libm-test.inc (exp_test): Add some more tests.
1358         (pow_test): Run double only test also for long double.
1360         * math/test-ldouble.c (TEST_LDOUBLE): Define.
1361         * math/test-ildoubl.c (TEST_LDOUBLE): Likewise.
1363         * sysdeps/generic/bits/confname.h: Remove extra comma at end of
1364         enumeration.
1365         Closes PR libc/2240.
1367         * scripts/config.guess: Imported from gnu.org.
1368         * scripts/config.sub: Likewise.
1370 2001-05-05  Jakub Jelinek  <jakub@redhat.com>
1372         * include/features.h (__USE_EXTERN_INLINES): Don't define if
1373         __NO_INLINE__ is defined.
1374         * ctype/ctype.h (tolower, toupper): Change the guard condition to
1375         __USE_EXTERN_INLINES check only.
1376         * stdlib/stdlib.h (strtod, ...): Likewise.
1377         * wcsmbs/wchar.h (mbrlen): Likewise.
1378         * string/string.h: Only include bits/string.h and bits/string2.h
1379         if __NO_INLINE__ is not defined.
1381 2001-05-07  Andreas Jaeger  <aj@suse.de>
1383         * debug/Makefile ($(objpfx)xtrace): Substitute @SLIBDIR@ instead
1384         of @LIBDIR@.
1386 2001-05-04  H.J. Lu  <hjl@gnu.org>
1388         * malloc/Makefile ($(objpfx)memusage): Substitute @SLIBDIR@
1389         not @LIBDIR@.
1391 2001-05-06  Andreas Jaeger  <aj@suse.de>
1393         * sysdeps/i386/fpu/e_fmodl.c: New, rewrite of e_fmodl.S.
1394         * sysdeps/i386/fpu/e_fmodl.S: Removed.
1395         * sysdeps/i386/fpu/e_atan2l.c: New, rewrite of e_atan2l.S.
1396         * sysdeps/i386/fpu/e_atan2l.S: Removed.
1397         * sysdeps/i386/fpu/e_acosl.c: New, rewrite of e_acos.S.
1398         * sysdeps/i386/fpu/s_atanl.c: New, rewrite of e_atanl.S.
1399         * sysdeps/i386/fpu/e_sqrtl.c: New, rewrite of e_sqrt.S.
1400         * sysdeps/i386/fpu/e_acosl.S: Removed.
1401         * sysdeps/i386/fpu/s_atanl.S: Removed.
1402         * sysdeps/i386/fpu/e_sqrtl.S: Removed.
1404 2001-05-05  Mark Kettenis  <kettenis@gnu.org>
1406         * sysdeps/mach/hurd/bits/environments.h: Add comment from
1407         sysdeps/generic/bits/environments.h.  Define _POSIX_V6_* values.
1409 2001-04-30  Jakub Jelinek  <jakub@redhat.com>
1411         * posix/confstr.c (confstr) [_CS_V6_WIDTH_RESTRICTED_ENVS]: Move so
1412         that _CS_LFS_CFLAGS can fall through to the empty returned string
1413         case.  Add FALLTHROUGH comment.
1415 2001-04-29  Ralf Baechle  <ralf@gnu.org>
1417         * sysdeps/unix/sysv/linux/mips/bits/sem.h: Make structure
1418         definitions match the kernel definitions.
1419         * sysdeps/unix/sysv/linux/mips/bits/ipc.h: Likewise.
1420         * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
1422 2001-04-29  Ben Collins  <bcollins@debian.org>
1424         * sysdeps/sparc/sparc64/dl-machine.h: Fix multiline strings
1425         warnings.
1426         * sysdeps/sparc/sparc64/soft-fp/qp_add.c: Likewise.
1427         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
1428         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
1429         * sysdeps/sparc/sparc64/soft-fp/qp_div.c: Likewise.
1430         * sysdeps/sparc/sparc64/soft-fp/qp_dtoq.c: Likewise.
1431         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
1432         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
1433         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
1434         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
1435         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
1436         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
1437         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
1438         * sysdeps/sparc/sparc64/soft-fp/qp_qtod.c: Likewise.
1439         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
1440         * sysdeps/sparc/sparc64/soft-fp/qp_qtos.c: Likewise.
1441         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
1442         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
1443         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
1444         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
1445         * sysdeps/sparc/sparc64/soft-fp/qp_sqrt.c: Likewise.
1446         * sysdeps/sparc/sparc64/soft-fp/qp_stoq.c: Likewise.
1447         * sysdeps/sparc/sparc64/soft-fp/qp_sub.c: Likewise.
1448         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
1450 2001-04-29  Andreas Schwab  <schwab@suse.de>
1452         * sysdeps/unix/sysv/linux/kernel-features.h: Fix missing backslash
1453         in last change.
1455 2001-04-29  Andreas Jaeger  <aj@suse.de>
1457         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
1458         Define for Arm, PowerPC and SH if kernel is 2.4.4 or newer.
1460         * sysdeps/unix/sysv/linux/bits/socket.h (PF_WANPIPE): New, from
1461         Linux 2.4.4.
1462         (AF_WANPIPE): Likewise.
1463         (MSG_MORE): New.
1465         * sysdeps/unix/sysv/linux/alpha/bits/socket.h: Add same changes as
1466         for Linux generic version.
1467         * sysdeps/unix/sysv/linux/s390/s390-64/bits/socket.h: Likewise.
1468         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
1469         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
1470         * sysdeps/unix/sysv/linux/ia64/bits/socket.h: Likewise.
1472         * sysdeps/gnu/netinet/tcp.h (TCP_QUICKACK): New.
1474 2001-04-27  Ulrich Drepper  <drepper@redhat.com>
1476         * nis/nss-nis.h: Correct test for invalid error number.
1477         * nis/nss-nisplus.h: Likewise.
1479         * nis/Makefile (libnss_compat-rountines): Add nss-nisplus.
1481 2001-04-26  Ulrich Drepper  <drepper@redhat.com>
1483         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add getunwind.
1485         * string/strcoll.c: Fix two memory allocation problems.
1486         * string/Makefile (tests): Add bug-strcoll1.
1487         * string/bug-strcoll1.c: New file.
1489         * malloc/mcheck.c (mcheck): Call malloc once before setting the
1490         hooks to allow the internal check hooks to be set up if necessary.
1492         * nis/nss-nis.h: Move yperr2nss_tab definition into separate file
1493         and rename to __yperr2nss_tab.  Change YPERR_COUNT into variable
1494         __yperr2nss_count.
1495         * nis/nss-nis.c: New file.
1496         * nis/nss-nisplus.h: Move niserr2nss_tab definition into separate file
1497         and rename to __niserr2nss_tab.  Change NISERR_COUNT into variable
1498         __niserr2nss_count.
1499         * nis/nss-nisplus.c: New file.
1500         * nis/Makefile (libnss_compat-routines): Add nss-nis.
1501         (libnss_nis-routines): Likewise.
1502         (libnss_nisplus-routines): Add nss-nisplus.
1504         * nis/nss_nisplus/nisplus-alias.c: Remove unnecessary initializations.
1505         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
1506         * nis/nss_nisplus/nisplus-grp.c: Likewise.
1507         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
1508         * nis/nss_nisplus/nisplus-network.c: Likewise.
1509         * nis/nss_nisplus/nisplus-proto.c: Likewise.
1510         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
1511         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
1512         * nis/nss_nisplus/nisplus-service.c: Likewise.
1513         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
1514         * nis/nss_nis/nis-alias.c: Likewise.
1515         * nis/nss_nis/nis-ethers.c: Likewise.
1516         * nis/nss_nis/nis-grp.c: Likewise.
1517         * nis/nss_nis/nis-network.c: Likewise.
1518         * nis/nss_nis/nis-proto.c: Likewise.
1519         * nis/nss_nis/nis-pwd.c: Likewise.
1520         * nis/nss_nis/nis-spwd.c: Likewise.
1521         * nis/nss_compat/compat-grp.c: Likewise.
1522         * nis/nss_compat/compat-initgroups.c: Likewise.
1523         * nis/nss_compat/compat-pwd.c: Likewise.
1524         * nis/nss_compat/compat-spwd.c: Likewise.
1526         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Some more
1527         optimizations.  Patch by Jakub Jelinek <jakub@redhat.com>.
1529 2001-04-26  Andreas Jaeger  <aj@suse.de>
1531         * po/zh_TW.po: Update.
1532         Patch by Tung-Han Hsieh <thhsieh@tlug.sinica.edu.tw>.
1534 2001-04-25  Ulrich Drepper  <drepper@redhat.com>
1536         * malloc/malloc.c: Allow MALLOC_ALIGNMENT to be defined on the
1537         compiler command line.
1538         * sysdeps/hppa/Makefile: Add -DMALLOC_ALIGNMENT=16 to compiler
1539         command line for malloc.c.
1541 2001-04-25  Jakub Jelinek  <jakub@redhat.com>
1543         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/time.h: Move to...
1544         * sysdeps/unix/sysv/linux/sparc/bits/time.h: ...here.
1545         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/bits/time.h: Remove.
1546         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/socket.h: Move to...
1547         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: ...here.  Adjust
1548         struct msghdr for __WORDSIZE == 32.
1549         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/statvfs.h: Move to...
1550         * sysdeps/unix/sysv/linux/sparc/bits/statvfs.h: ...here. Adjust
1551         for __WORDSIZE == 32.
1552         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/siginfo.h: Remove.
1553         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/get_clockfreq.c: New
1554         file.
1555         * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S (__libc_siglongjmp):
1556         Rename from longjmp, make longjmp weak alias to it.
1558 2001-04-24  David S. Miller  <davem@redhat.com>
1560         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: New file.
1562 2001-04-25  Matthew Wilcox  <willy@ldl.fc.hp.com>
1564         * sysdeps/hppa/stackinfo.h: New file.
1565         * sysdeps/unix/sysv/linux/hppa/getdents64.c: New file.
1566         * sysdeps/unix/sysv/linux/hppa/mmap64.c: New file.
1567         * sysdeps/unix/sysv/linux/hppa/bits/resource.h: New file.
1568         * sysdeps/unix/sysv/linux/kernel-features.h: Add descriptions
1569         of PA kernel features.
1571 2001-04-25  Ulrich Drepper  <drepper@redhat.com>
1573         * locale/programs/localedef.c (main): Always set a file name for
1574         the initial locale.
1575         * locale/programs/locfile.c (locfile_read): filename is allowed to
1576         be NULL.
1578 2001-04-12  Paul Bame  <paul_bame@hp.com>
1580         * sysdeps/hppa/fpu/fclrexcpt.c: Clear the exception flags, not the
1581         enable flags.
1583 2001-04-24  Ulrich Drepper  <drepper@redhat.com>
1585         * sysdeps/generic/bits/environments.h (_POSIX_V6_LPBIG_OFFBIG,
1586         _XBS5_LPBIG_OFFBIG): Define to -1.
1587         Fix typos.
1589         * sysdeps/generic/bits/confname.h: Add _CS_V6_WIDTH_RESTRICTED_ENVS.
1590         * posix/confstr.c: Handle _CS_V6_WIDTH_RESTRICTED_ENVS.
1591         * posix/getconf.c: Handle _POSIX_V6_WIDTH_RESTRICTED_ENVS.
1592         * posix/tst-getconf.sh: Add _POSIX_V6_WIDTH_RESTRICTED_ENVS.
1594         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9b/Implies: New file.
1595         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9b/bits/time.h: Removed.
1597 2001-03-21  Alan Modra  <alan@one.net.au>
1599         * sysdeps/hppa/dl-machine.h (RTLD_START): Set up dp with DT_PLTGOT
1600         value from application so that constructors in non-PIC libs work.
1602 2000-12-13  Jes Sorensen  <jes@linuxcare.com>
1604         * sysdeps/hppa/dl-machine.h (RTLD_START): _dl_init now returns a
1605         function pointer, hence load the jump address and gp from the
1606         function pointer before jumping.
1608 2001-04-24  Andreas Jaeger  <aj@suse.de>
1610         * sysdeps/generic/send.c (__send): Return ssize_t.
1611         * sysdeps/mach/hurd/send.c (__send): Likewise.
1612         * sysdeps/mach/hurd/recv.c (recv): Likewise.
1613         * sysdeps/mach/hurd/sendto.c (sendto): Likewise.
1614         * sysdeps/generic/sendto.c (sendto): Likewise.
1615         * sysdeps/generic/recvmsg.c (recvmsg): Likewise.
1616         * sysdeps/mach/hurd/recvfrom.c (recvfrom): Likewise.
1617         * sysdeps/generic/recvfrom.c (recvfrom): Likewise.
1618         * sysdeps/generic/sendmsg.c (sendmsg): Likewise.
1620         * socket/sys/socket.h: send* and recv* return ssize_t.
1622         * include/sys/socket.h: send returns ssize_t.
1624         * sysdeps/i386/fpu_control.h: Fix comments.
1626 2001-04-24  Ulrich Drepper  <drepper@redhat.com>
1628         * sysdeps/ia64/Dist: Add hp-timing.c.
1629         * sysdeps/unix/sysv/linux/sparc/sparc64/Dist: Add ucontext_i.h.
1630         * posix/Makefile (distribute): Add tst-getconf.sh.
1631         * po/Makefile (distribute): Add $(BROKEN_LINGUAS:=.po).
1633 2001-04-23  Ulrich Drepper  <drepper@redhat.com>
1635         * sysdeps/ia64/Makefile [subdir=csu] (sysdep_routines): Add hp-timing.
1636         * sysdeps/ia64/Versions: Add _dl_cpuclock_offset for ld in 2.2.3.
1637         * sysdeps/ia64/hp-timing.c: New file.
1638         * sysdeps/ia64/hp-timing.h: New file.
1639         * sysdeps/unix/sysv/linux/ia64/bits/time.h: Add definitions for
1640         CLOCK_PROCESS_CPUTIME_ID and CLOCK_THREAD_CPUTIME_ID.
1642         * sysdeps/generic/clock_getcpuclockid.c: Make function generic, test
1643         using #ifdef whether the clock is available.
1644         * sysdeps/unix/i386/clock_getcpuclockid.c: Not needed anymore.
1646         * sysdeps/generic/dl-sysdep.c: Initialize _dl_cpuclock_offset to move
1647         it into data section.
1649         * sysdeps/unix/i386/i586/clock_getres.c: Removed.
1650         * sysdeps/unix/i386/i586/clock_gettime.c: Removed.
1651         * sysdeps/unix/i386/i586/clock_nanosleep.c: Removed.
1652         * sysdeps/unix/i386/i586/clock_settime.c: Removed.
1653         * sysdeps/unix/i386/i586/cpuclock-init.h: Removed.
1654         * sysdeps/generic/cpuclock-init.h: Removed.
1655         * sysdeps/unix/i386/i686/Implies: Removed.
1656         * sysdeps/unix/i386/i686/tempname.c: Removed.
1657         * sysdeps/i386/i686/Versions: New file.
1658         * sysdeps/unix/i386/i586/Versions: Removed.
1660         * sysdeps/posix/clock_getres.c: If HP_TIMING_AVAIL is nonzero handle
1661         CLOCK_PROCESS_CPUTIME_ID and CLOCK_THREAD_CPUTIME_ID.
1662         * sysdeps/unix/clock_gettime.c: Likewise.
1663         * sysdeps/unix/clock_nanosleep.c: Likewise.
1664         * sysdeps/unix/clock_settime.c: Likewise.
1665         * sysdeps/posix/tempname.c: Is HP_TIMING_AVAIL is nonzero define
1666         RANDOM_BITS use CPU clock.
1668         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/bits/time.h: New file.
1669         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9b/bits/time.h: New file.
1670         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/time.h: New file.
1671         * sysdeps/sparc/Versions: New file.
1673         * elf/dl-support.c: Don't use cpuclock-init.h definitions, use
1674         hp-timing.h definitions.
1675         * sysdeps/generic/dl-sysdep.c: Likewise.
1677         * include/libc-internal.h: Include hp-timing.h.  Use hp_timing_t in
1678         __get_clockfreq prototype.
1680         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
1681         Use hp_timing_t type.
1682         * sysdeps/generic/get_clockfreq.c (__get_clockfreq): Likewise.
1684         * sysdeps/unix/sysv/linux/ia64/get_clockfreq.c: New file.
1686         * sysdeps/posix/pathconf.c (__pathconf): For _PC_ASYNC_IO test
1687         whether named file is a regular file or a block device.
1688         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
1690 2001-04-23  Andreas Jaeger  <aj@suse.de>
1692         * nscd/nscd.h: Add noreturn attribute for start_threads.
1694 2001-04-22  Ulrich Drepper  <drepper@redhat.com>
1696         * posix/getconf.c: Fix names of XBS5 LFS test variables.
1697         Add missing configuration variables from XPG6.
1698         * posix/tst-getconf.c: New file.
1699         * posix/Makefile (generated): Add tst-getconf.out.
1700         (tests): Add ($objpfx)tst-getconf.out.
1701         Add rule to run tst-getconf.sh.
1702         * sysdeps/generic/bits/confname.h: Add missing _PC_ and _SC_ values
1703         from XPG6.
1704         * sysdeps/posix/fpathconf.c: Add handling of _PC_ALLOC_SIZE_MIN and
1705         _PC_SYMLINK_MAX.
1706         * sysdeps/posix/pathconf.c: Likewise.
1707         * sysdeps/posix/sysconf.c: Correct spelling of _SC_MULTI_PROCESS
1708         and _SC_SYMLOOP_MAX.
1710 2001-04-22  Philip Blundell  <philb@gnu.org>
1712         * sysdeps/arm/fpu/feenablxcpt.c: New file.
1713         * sysdeps/arm/fpu/fedisablxcpt.c: New file.
1714         * sysdeps/arm/fpu/fegetexcpt.c: New file.
1716 2001-04-22  Philip Blundell  <philb@gnu.org>
1718         * sysdeps/unix/sysv/linux/arm/sys/user.h (struct user_fpregs):
1719         Renamed from struct user_fp.
1720         (struct user_regs): New.
1721         (struct user): Use struct user_regs rather than struct pt_regs to
1722         avoid dependency on asm/ptrace.h.  Use struct user_fpregs in place
1723         of struct user_fp and struct user_fp_struct.
1724         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Include sys/procfs.h
1725         not sys/elf.h.
1727 2001-04-22  Philip Blundell  <philb@gnu.org>
1729         * sysdeps/unix/sysv/linux/arm/sys/elf.h: Move contents to
1730         sys/procfs.h, and tell the user to include that file instead.
1731         * sysdeps/unix/sysv/linux/arm/sys/procfs.h: Remove old cruft
1732         surrounded with #if 0.
1733         (elf_greg_t, ELF_NGREG, elf_gregset_t, elf_fpregset_t): Moved here
1734         from sys/elf.h.
1735         (prgregset_t, prfpregset_t): Define in terms of elf_gregset_t and
1736         elf_fpregset_t respectively.
1738 2001-04-22  Philip Blundell  <philb@gnu.org>
1740         * sysdeps/unix/sysv/linux/arm/register-dump.h: Also print the
1741         address that faulted.
1743 2001-04-21  Ulrich Drepper  <drepper@redhat.com>
1745         * sysdeps/generic/bits/confname.h: Add _SC_V6_* and _CS_POSIX_V6_*
1746         values.
1747         * sysdeps/generic/bits/environments.h: Define _POSIX_V6_* values.
1748         * posix/confstr.c: Handle _CS_POSIX_V6_* values.
1749         * posix/getconf.c: Handle _CS_POSIX_V6_* and _SC_V6_* values.
1750         * sysdeps/posix/sysconf.c: Handle _SC_V6_* values.
1752         * sysdeps/powerpc/fpu/libm-test-ulps: Add deltas for atan2f.
1753         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
1754         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
1755         * sysdeps/mips/fpu/libm-test-ulps: Likewise.
1757 2001-04-21  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
1759         * sysdeps/unix/sysv/linux/powerpc/mmap64.c: Correct check for invalid
1760         offset.
1762 2001-04-21  Ulrich Drepper  <drepper@redhat.com>
1764         * posix/getopt.h: Treat __cplusplus like __STDC__.
1766 2001-04-20  John S. Marvin  <jsm@fc.hp.com>
1768         * sysdeps/unix/sysv/linux/hppa/clone.S: Fix clone system call
1769         entry point stub.
1771 2001-04-20  Richard Hirst  <rhirst@linuxcare.com>
1773         * elf/elf.h: Corrected R_PARISC_DIR14R (should be 6, not 5),
1774         and added R_PARISC_DPREL21L and R_PARISC_DPREL14R for modutils.
1776         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Removed ptrace
1777         entry so the ptrace.c wrapper is used.
1779 2001-04-20  Alan Modra  <amodra@one.net.au>
1781         * sysdeps/hppa/dl-lookupcfg.h (_dl_function_address): Prototype.
1782         (DL_FUNCTION_ADDRESS): Define.
1783         (DL_DT_INIT_ADDRESS): Define.
1784         (DL_DT_FINI_ADDRESS): Define.
1785         * sysdeps/hppa/Versions: Add _dl_function_address.
1786         * sysdeps/hppa/dl-machine.h (ELF_MACHINE_START_ADDRESS): Define.
1787         * sysdeps/hppa/dl-symaddr.c (_dl_start_address): Rename to
1788         _dl_function_address.
1790 2001-04-21  Andreas Jaeger  <aj@suse.de>
1792         * rt/aio_misc.c (handle_fildes_io): Add noreturn attribute.
1793         * resolv/gai_misc.c (handle_requests): Likewise.
1794         * malloc/obstack.c (print_and_abort): Likewise.
1795         * malloc/mcheck.c (mabort): Likewise.
1797         * sysdeps/unix/i386/i586/clock_settime.c: Include
1798         "libc-internal.h" for __get_clockfreq declaration.
1800 2001-04-21  Ulrich Drepper  <drepper@redhat.com>
1802         * elf/dl-support.c: Include cpuclock-init.h.  Use CPUCLOCK_VARDEF and
1803         CPUCLOCK_INIT if defined.
1804         * sysdeps/generic/dl-sysdep.c: Likewise.
1805         * sysdeps/generic/cpuclock-init.h: New file.
1806         * sysdeps/unix/i386/i586/cpuclock-init.h: New file.
1807         * sysdeps/unix/i386/i586/Versions: New file.
1808         * sysdeps/unix/i386/i586/clock_settime.c: New file.
1809         * sysdeps/unix/i386/i586/clock_gettime.c: Handle thread CPU clock
1810         separately by calling __pthread_clock_gettime if this function is
1811         available.  Subtract offset from tsc value before computing time value.
1813 2001-04-20  Ulrich Drepper  <drepper@redhat.com>
1815         * iconv/iconv_prog.c (print_known_names): If printing goes not to
1816         a tty print in a more machine-friendly way.
1818         * sysdeps/ieee754/ldbl-128/e_asinl.c: New file.
1819         Contributed by Stephen L Moshier <moshier@mediaone.net>.
1821 2001-04-20  Andreas Jaeger  <aj@suse.de>
1823         * intl/Makefile (tests): Reorder conditions, tst-gettext needs msgfmt.
1825 2001-04-20  Andreas Schwab  <schwab@suse.de>
1827         * sysdeps/m68k/fpu/libm-test-ulps: Update.
1829 2001-04-19  Alan Modra  <amodra@one.net.au>
1831         * Makerules (libc_pic.os): Add $(LDFLAGS-c_pic.os).
1832         * sysdeps/hppa/Makefile (LDFLAGS-c_pic.os): Define.
1833         (CFLAGS-.os): Remove.
1835         * sysdeps/unix/sysv/linux/hppa/sysdep.h (CALL_MCOUNT): Update comment.
1837         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (NGREG, NFPREG,
1838         gregset): Correct for new kernel definitions.
1840 2001-04-19  Alan Modra  <alan@linuxcare.com.au>
1842         * sysdeps/hppa/elf/initfini.c: Change dlt reg save to r3 and
1843         generate unwind info by hand.
1845 2001-04-19  Ulrich Drepper  <drepper@redhat.com>
1847         * sysdeps/unix/sysv/linux/powerpc/mmap64.c (__mmap64): Optimize a bit.
1849         * configure.in: Correct regular expression for msgfmt.
1850         Patch by Bruno Haible <haible@ilog.fr>.
1852 2001-04-19  Andreas Jaeger  <aj@suse.de>
1854         * po/el.po: Add comment explaining what's broken.
1856         * po/Makefile (BROKEN_LINGUAS): New.
1857         (ALL_LINGUAS): Don't add broken languages.
1859 2001-04-19  Roland McGrath  <roland@frob.com>
1861         * sysdeps/mach/hurd/mlock.c: New file.
1862         * sysdeps/mach/hurd/munlock.c: New file.
1863         * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_MEMLOCK_RANGE): Define it.
1865         * misc/Makefile (routines): Add mlock munlock mlockall munlockall.
1866         * sysdeps/generic/mlock.c: New file.
1867         * sysdeps/generic/munlock.c: New file.
1868         * sysdeps/generic/mlockall.c: New file.
1869         * sysdeps/generic/munlockall.c: New file.
1870         * sysdeps/generic/bits/mman.h (MCL_CURRENT, MCL_FUTURE): New macros.
1871         * sysdeps/unix/sysv/linux/syscalls.list (mlock, munlock,
1872         mlockall, munlockall): Change caller field to - from EXTRA.
1873         Don't use __ names; not used (and not declared in include/sys/mman.h).
1875         * hurd/privports.c (__get_privileged_ports): Renamed with __.
1876         Use __ names for calls we make.
1877         (get_privileged_ports): Add alias.
1878         * hurd/hurd.h: Declare it with the __ name.
1879         * sysdeps/mach/hurd/reboot.c (reboot): Use __get_privileged_ports.
1880         * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
1881         * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
1883         * hurd/hurdsig.c (write_corefile): Check RLIMIT_CORE limit and do
1884         nothing if it's zero.
1886 2001-04-19  Matthew Wilcox  <willy@ldl.fc.hp.com>
1888         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL):
1889         Change to return a signed result for compatibility with other
1890         architectures, and correctness.
1892 2001-04-19  Ulrich Drepper  <drepper@redhat.com>
1894         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_32BITUIDS):
1895         HPPA always had them.  Patch by Matthew Wilcox <matthew@wil.cx>.
1897 2001-04-19  Andreas Jaeger  <aj@suse.de>
1899         * configure.in: Require gettext 0.10.36 or newer.
1901         * manual/install.texi (Tools for Compilation): Mention gettext 0.10.36.
1903         * po/zh_TW.po: Remove extraneous backslashes.
1905         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Remove unused
1906         variables b and n.
1908 2001-04-18  Jakub Jelinek  <jakub@redhat.com>
1910         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Update.
1911         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c: New file.
1912         * sysdeps/unix/sysv/linux/sparc/sparc64/swapcontext.c: New file.
1913         * sysdeps/unix/sysv/linux/sparc/sparc64/setcontext.S (__setcontext):
1914         Copy first word of uc_sigmask into __uc_sigmask.
1915         * sysdeps/unix/sysv/linux/sparc/sparc64/getcontext.S (__getcontext):
1916         Save uc_link around trap. Copy __uc_sigmask into first word of
1917         uc_sigmask, clear the rest. Make sure setcontext to the created
1918         context doesn't do this though.
1919         * sysdeps/unix/sysv/linux/sparc/sparc64/ucontext_i.h: New file.
1920         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (ucontext_t): Add
1921         uc_stack and uc_sigmask, rename old uc_sigmask to __uc_sigmask in the
1922         64bit version, make uc_sigmask __sigset_t in the 32bit version.
1924 2001-04-19  Andreas Jaeger  <aj@suse.de>
1926         * sysdeps/unix/sysv/linux/hppa/umount.c: Fix typos in last patch.
1928         * rt/Makefile (otherlibs): Added for static NSS.
1930         * glibcbug.in (BUGGLIBC): Send to new alias.
1932 2001-04-02  Andreas Schwab  <schwab@suse.de>
1934         * Makerules (build-module): Make sure exit codes get checked
1935         properly and remove unnecessary slashes.
1937 2001-04-17  Ulrich Drepper  <drepper@redhat.com>
1939         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
1940         Handle kernels which report only three digits after the decimal point.
1941         Reported by Van Okamura <van.okamura@oracle.com>.
1943         * sysdeps/alpha/fpu/libm-test-ulps: Adjust error values for atan2f.
1945 2001-04-17  David S. Miller  <davem@redhat.com>
1947         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Update for new atan2 tests.
1948         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
1950 2001-04-17  Jakub Jelinek  <jakub@redhat.com>
1952         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Make sure
1953         desired exceptions are raised for exceptional values.
1954         * math/libm-test.inc (acosh_test, atan_test, atan2_test, cacos_test,
1955         cacosh_test, casin_test, casinh_test, catan_test, catanh_test,
1956         clog_test, log_test, log1p_test, tan_test): Increase precision of
1957         expected values to satisfy ldbl-128.
1958         * sysdeps/alpha/fpu/libm-test-ulps: Adjust accordingly.
1959         * sysdeps/arm/libm-test-ulps: Likewise.
1960         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
1961         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
1962         * sysdeps/m68k/fpu/libm-test-ulps: Likewise.
1963         * sysdeps/mips/fpu/libm-test-ulps: Likewise.
1964         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
1965         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
1966         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
1967         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
1968         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
1970 2001-04-17  Andreas Jaeger  <aj@suse.de>
1972         * configure.in: Move test for critical programs up.
1974 2001-04-16  Stephen L Moshier  <moshier@mediaone.net>
1976         * sysdeps/ieee754/flt-32/e_asinf.c (pio2_hi, pio2_lo, pio4_hi):
1977         Correct the values. (pSx, qSx): Replace by shorter approximation.
1978         Use f suffix on float constants.
1980 2001-04-16  Ulrich Drepper  <drepper@redhat.com>
1982         * sysdeps/ieee754/ldbl-128/k_tanl.c: New file.
1983         Contributed by Stephen L Moshier <moshier@mediaone.net>.
1985         * string/string.h: Replace const in attribute list with __const__.
1987 2001-04-16  Roland McGrath  <roland@frob.com>
1989         * grp/initgroups.c (initgroups) [NGROUPS_MAX != 0]: Always use sysconf
1990         instead of the constant NGROUPS_MAX.  That way, the limit can be
1991         raised in the kernel configuration without having to recompile libc.
1993         * sysdeps/posix/euidaccess.c: Don't #include <limits.h> or try to
1994         define NGROUPS_MAX; we don't use it here.
1996 2001-04-16  Andreas Jaeger  <aj@suse.de>
1998         * math/libm-test.inc (atan2_test): Add more testcases.
2000         * iconv/gconv_db.c: Include gconv_charset.h for
2001         __gconv_lookup_alias prototype.
2003 2001-04-13  Ulrich Drepper  <drepper@redhat.com>
2005         * sysdeps/ieee754/ldbl-128/s_atanl.c: New file.
2006         Contributed by Stephen L Moshier <moshier@mediaone.net>.
2008 2001-04-13  Jes Sorensen  <jes@linuxcare.com>
2010         * intl/tst-codeset.c: Include string.h to get prototype for strcmp().
2012 2001-04-13  Jes Sorensen  <jes@linuxcare.com>
2014         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Add __pad0 to
2015         explicitly pad struct siginfo instead of relying on compiler padding.
2017 2001-04-12  Ulrich Drepper  <drepper@redhat.com>
2019         * sysdeps/ia64/Dist: Add elf/entry.h.
2021         * iconvdata/Makefile (distribute): Add TESTS2.
2023 2001-04-13  Jakub Jelinek  <jakub@redhat.com>
2025         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_load_address):
2026         Calculate load address differently.
2028 2001-04-12  Bruno Haible  <haible@clisp.cons.org>
2030         * iconvdata/TESTS2: New file.
2031         * iconvdata/run-iconv-test.sh: Also run tests from TESTS2.
2032         * iconvdata/testdata/alfabeta..UTF-8: New file.
2033         * iconvdata/testdata/alfabeta..UTF-16.BE: New file.
2034         * iconvdata/testdata/alfabeta..UTF-16.LE: New file.
2035         * iconvdata/testdata/alfabeta..UTF-32.BE: New file.
2036         * iconvdata/testdata/alfabeta..UTF-32.LE: New file.
2038 2001-04-11  Bruno Haible  <haible@clisp.cons.org>
2040         * iconvdata/utf-32.c: New file.
2041         * iconvdata/gconv-modules: Add entries for UTF-32, UTF-32LE, UTF-32BE.
2042         * iconvdata/Makefile (modules): Add UTF-32.
2043         (distribute): Add utf-32.c.
2045 2001-04-11  Bruno Haible  <haible@clisp.cons.org>
2047         * iconvdata/utf-16.c (PREPARE_LOOP): Initialize 'swap' after possibly
2048         changing it in the state. After incrementing 'inptr', store it back.
2049         * iconvdata/unicode.c (PREPARE_LOOP): After incrementing 'inptr',
2050         store it back.
2052 2001-04-11  Bruno Haible  <haible@clisp.cons.org>
2054         * iconvdata/utf-16.c (gconv_init): Use MAX_NEEDED_FROM, not
2055         MIN_NEEDED_FROM.
2057 2001-04-11  David Mosberger  <davidm@hpl.hp.com>
2059         * sysdeps/ia64/htonl.S: Drop superfluous "alloc".
2060         * sysdeps/ia64/htons.S: Likewise.
2062         * sysdeps/ia64/memset.S: Add unwind directives.
2063         * sysdeps/ia64/strncpy.S: Likewise.
2064         * sysdeps/ia64/strcat.S: Likewise.
2066         * sysdeps/ia64/memccpy.S: Add unwind directives.  Drop superfluous
2067         restore of ar.pfs.
2068         * sysdeps/ia64/strchr.S: Likewise.
2069         * sysdeps/ia64/memmove.S: Likewise.
2070         * sysdeps/ia64/memcpy.S: Likewise.
2071         * sysdeps/ia64/memcmp.S: Likewise.
2072         * sysdeps/ia64/memchr.S: Likewise.
2073         * sysdeps/ia64/strcmp.S: Likewise.
2074         * sysdeps/ia64/strlen.S: Likewise.
2075         * sysdeps/ia64/strcpy.S: Likewise.
2076         * sysdeps/ia64/strncmp.S: Likewise.
2078 2001-04-11  Jakub Jelinek  <jakub@redhat.com>
2080         * wcsmbs/wchar.h (fgetwc, getwc, getwchar, fputwc, putwc, putwchar,
2081         fgetws, fputws, ungetwc, getwc_unlocked, getwchar_unlocked,
2082         fgetwc_unlocked, fputwc_unlocked, putwc_unlocked, putwchar_unlocked,
2083         fgetws_unlocked, fputws_unlocked, wcsftime): Add __THROW.
2085 2001-04-11  Andreas Jaeger  <aj@suse.de>
2087         * sysdeps/mips/elf/start.S [__ASSEMBLY__]: Define it.
2089 2001-04-11  Andreas Schwab  <schwab@suse.de>
2091         * sysdeps/m68k/fpu/libm-test-ulps: Adjusted.
2093 2001-04-11  Ulrich Drepper  <drepper@redhat.com>
2095         * sysdeps/arm/stackinfo.h: New file.
2097 2001-04-08  Thorsten Kukuk  <kukuk@suse.de>
2099         * sunrpc/rpc_main.c: If we compile RPC thread safe, allow
2100         rpcgen to generate thread safe code.
2102 2001-04-10  Andreas Jaeger  <aj@suse.de>
2104         * math/test-fenv.c (initial_tests): Protect FE_TONEAREST declaration.
2106 2001-04-10  Ulrich Drepper  <drepper@redhat.com>
2108         * elf/dl-minimal.c (__assert_fail): Change error string.  It's
2109         most of the time no bug in ld.so.
2110         (__assert_perror_fail): Likewise.
2112 2001-04-11  Hans-Peter Nilsson  <hp@axis.com>
2114         * sysdeps/generic/bits/fenv.h (fexcept_t): Change default type
2115         from struct to unsigned int.
2117 2001-04-10  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
2119         * elf/elf.h (AT_DCACHEBSIZE, AT_ICACHEBSIZE, AT_UCACHEBSIZE,
2120         AT_IGNOREPPC): New defines.
2121         * sysdeps/generic/dl-sysdep.c (_dl_show_auxv): Print them.
2122         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_STD_AUXV):
2123         Define for newer powerpc kernels.
2124         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Use the standard
2125         DL_FIND_ARG_COMPONENTS if __ASSUME_STD_AUXV is defined.
2127 2000-4-10  kaz Kojima  <kkojima@rr.iij4u.or.jp>
2129         * sysdeps/sh/stackinfo.h: New file.
2131 2001-04-10  Ulrich Drepper  <drepper@redhat.com>
2133         * locale/tst-C-locale.c (run_test): Add tests for locale objects.
2134         * locale/newlocale.c (__newlocale): Correct setting __ctype_b,
2135         __ctype_tolower, and __ctype_toupper elements.
2137         * ctype/ctype_l.c: Fix definitions of __tolower_l and __toupper_l.
2138         Reported by Konstantin Osipov <rabid@spylog.ru>.
2140         * sysdeps/i386/fpu/libm-test-ulps: Add deltas for tgamma to help
2141         the lousy AMD FPU.
2143 2001-04-10  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
2145         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: New file.
2146         * sysdeps/unix/sysv/linux/powerpc/Dist: Add sys/ptrace.h.
2147         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Delete wrong stuff.
2148         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Correct typedefs.
2150 2001-04-10  Ulrich Drepper  <drepper@redhat.com>
2152         * elf/dl-deps.c (_dl_map_object_deps): Provide complete error
2153         message.  Based on a patch by HJ Lu.
2155 2001-04-10  Andreas Schwab  <schwab@suse.de>
2157         * math/libm-test.inc (csinh_test): Don't require the invalid
2158         exception for csinh (x + iNaN), but make it optional.
2160 2001-04-09  David Mosberger  <davidm@hpl.hp.com>
2162         * sysdeps/ia64/elf/start.S (_start): Add unwind directives.
2164         * sysdeps/generic/entry.h [!__ASSEMBLY__]: Declare _start.
2165         * sysdeps/ia64/elf/entry.h: New file.
2166         * sysdeps/unix/sysv/linux/mips/entry.h [!__ASSEMBLY__]: Declare
2167         __start.
2168         * elf/rtld.c: Don't declare ENTRY_POINT.  Use ENTRY_POINT instead
2169         of &ENTRY_POINT.
2170         * sysdeps/generic/dl-sysdep.c: Likewise.
2171         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
2172         * sysdeps/ia64/elf/start.S: Save base address of register backing
2173         store in __libc_ia64_register_backing_store_base.
2175 2001-04-10  Martin Schwidefsky  <schwidefsky@de.ibm.com>
2177         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Fix return
2178         value of getcontext.
2179         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
2180         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Fix return
2181         value of setcontext.
2182         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
2183         * sysdeps/unix/sysv/linux/s390/swapcontext.c: Skip setcontext
2184         call by changing the saved context.
2186 2001-04-10  Ulrich Drepper  <drepper@redhat.com>
2188         * sysdeps/alpha/stackinfo.h: New file.
2189         * sysdeps/ia64/stackinfo.h: New file.
2191 2001-04-10  Andreas Schwab  <schwab@suse.de>
2193         * sysdeps/m68k/fpu/e_pow.c: Correct handling of some exceptional
2194         values.
2195         * sysdeps/m68k/fpu/e_scalb.c: Likewise.
2197 2001-04-09  Ulrich Drepper  <drepper@redhat.com>
2199         * sysdeps/sparc/sparc32/sparcv9/Dist: Add hp-timing.c.
2200         * sysdeps/sparc/sparc64/Dist: Add hp-timing.c.
2202         * libio/Makefile (distribute): Add fd_to_filename.h.
2204 2001-04-05  David S. Miller  <davem@redhat.com>
2206         Add hp-timing support for sparcv9/sparc64 targets.
2207         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: New file
2208         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: New file
2209         * sysdeps/sparc/sparc64/hp-timing.c: New file
2210         * sysdeps/sparc/sparc64/hp-timing.h: New file
2211         * sysdeps/sparc/sparc32/sparcv9/Makefile: Build hp-timing.
2212         * sysdeps/sparc/sparc64/Makefile: Likewise.
2214 2001-04-09  Jakub Jelinek  <jakub@redhat.com>
2216         * sysdeps/generic/fd_to_filename.h: New file.
2217         * sysdeps/unix/sysv/linux/fd_to_filename.h: New file.
2218         * libio/freopen.c (freopen): If FILENAME is NULL, try to get
2219         filename from the open file descriptor.
2220         * libio/freopen64.c (freopen64): Likewise.
2222 2001-04-09  Bruno Haible  <haible@clisp.cons.org>
2224         * misc/error.c (error): fflush stdout also if
2225         error_print_progname != NULL.
2226         (error_at_line): Likewise.
2228 2001-04-07  Bruno Haible  <haible@clisp.cons.org>
2230         * intl/gettextP.h (struct loaded_domain): Add codeset_cntr field.
2231         (struct binding): Add codeset_cntr field.
2232         (_nl_load_domain): Add domainbinding argument.
2233         (_nl_init_domain_conv, _nl_free_domain_conv): New declarations.
2234         (_nl_find_msg): New declaration, moved here from loadinfo.h.
2235         * intl/loadinfo.h (struct loaded_l10nfile): Remove domainbinding field.
2236         (_nl_make_l10nflist): Remove domainbinding argument.
2237         (_nl_find_msg): Move declaration to gettextP.h.
2238         * intl/bindtextdom.c (set_binding_values): Initialize ->codeset_cntr
2239         to 0.  Increment it when ->codeset is changed.
2240         * intl/dcigettext.c (DCIGETTEXT): Pass binding to _nl_find_msg.
2241         (_nl_find_msg): Add domainbinding argument.  Reinitialize the converter
2242         if domainbinding->codeset_cntr has been incremented.
2243         * intl/finddomain.c (_nl_find_domain): Don't pass domainbinding to
2244         _nl_make_l10nflist().  Pass it to _nl_load_domain() instead.
2245         * intl/l10nflist.c (_nl_make_l10nflist): Remove domainbinding argument.
2246         * intl/loadmsgcat.c (_nl_init_domain_conv): New function, extracted
2247          from _nl_load_domain.  Append //TRANSLIT also when using libiconv.
2248         (_nl_free_domain_conv): New function, extracted from _nl_unload_domain.
2249         (_nl_load_domain): Add domainbinding argument.  Call
2250         _nl_init_domain_conv.
2251         (_nl_unload_domain): Call _nl_free_domain_conv.
2252         * intl/Makefile (distribute): Add tst-codeset.sh, tstcodeset.po.
2253         (test-srcs): Add tst-codeset.
2254         (tests): Depend on tst-codeset.out.
2255         (tst-codeset.out): New rule.
2256         (CFLAGS-tst-codeset.c): New variable.
2257         * intl/tst-codeset.sh: New file.
2258         * intl/tstcodeset.po: New file.
2259         * intl/tst-codeset.c: New file.
2260         * locale/findlocale.c (_nl_find_locale): Update _nl_make_l10nflist
2261         calls.
2263 2001-04-07  Roland McGrath  <roland@frob.com>
2265         * mach/msgserver.c (__mach_msg_server_timeout): Add an assert.
2267 2001-03-31  Roland McGrath  <roland@frob.com>
2269         * sysdeps/mach/hurd/fork.c: Skip NEWPROC just like NEWTASK when
2270         copying send rights into child.  When we hit our name for our proc
2271         port, just copy NEWPROC directly instead of repeating proc_task2proc
2272         to install the child's port.
2274 2001-04-08  Roland McGrath  <roland@frob.com>
2276         * Makeconfig ($(common-objpfx)soversions.i): Grok entries with DEFAULT
2277         in second column, to provide default values for third column.
2278         * shlib-versions: Add comments about using DEFAULT in second column.
2279         (s390x-.*-linux.*): Replace individual entries with a DEFAULT entry.
2280         (cris-.*-linux.*): Likewise.
2282 2001-04-09  Ulrich Drepper  <drepper@redhat.com>
2284         * Makefile (distribute): Add scripts/documented.sh.
2285         * scripts/documented.sh: New file.
2287 2001-04-08  Hans-Peter Nilsson  <hp@axis.com>
2289         * sysdeps/unix/sysv/linux/cris/Dist: New file.
2290         * sysdeps/unix/sysv/linux/cris/Makefile: New file.
2291         * sysdeps/unix/sysv/linux/cris/_G_config.h: New file.
2292         * sysdeps/unix/sysv/linux/cris/bits/fcntl.h: New file.
2293         * sysdeps/unix/sysv/linux/cris/bits/mman.h: New file.
2294         * sysdeps/unix/sysv/linux/cris/bits/resource.h: New file.
2295         * sysdeps/unix/sysv/linux/cris/brk.c: New file.
2296         * sysdeps/unix/sysv/linux/cris/chown.c: New file.
2297         * sysdeps/unix/sysv/linux/cris/clone.S: New file.
2298         * sysdeps/unix/sysv/linux/cris/fchown.c: New file.
2299         * sysdeps/unix/sysv/linux/cris/fcntl.c: New file.
2300         * sysdeps/unix/sysv/linux/cris/fxstat.c: New file.
2301         * sysdeps/unix/sysv/linux/cris/getegid.c: New file.
2302         * sysdeps/unix/sysv/linux/cris/geteuid.c: New file.
2303         * sysdeps/unix/sysv/linux/cris/getgid.c: New file.
2304         * sysdeps/unix/sysv/linux/cris/getgroups.c: New file.
2305         * sysdeps/unix/sysv/linux/cris/getresgid.c: New file.
2306         * sysdeps/unix/sysv/linux/cris/getresuid.c: New file.
2307         * sysdeps/unix/sysv/linux/cris/getrlimit.c: New file.
2308         * sysdeps/unix/sysv/linux/cris/getrlimit64.c: New file.
2309         * sysdeps/unix/sysv/linux/cris/getuid.c: New file.
2310         * sysdeps/unix/sysv/linux/cris/lchown.c: New file.
2311         * sysdeps/unix/sysv/linux/cris/lockf64.c: New file.
2312         * sysdeps/unix/sysv/linux/cris/lxstat.c: New file.
2313         * sysdeps/unix/sysv/linux/cris/mmap.S: New file.
2314         * sysdeps/unix/sysv/linux/cris/mmap64.S: New file.
2315         * sysdeps/unix/sysv/linux/cris/msgctl.c: New file.
2316         * sysdeps/unix/sysv/linux/cris/profil-counter.h: New file.
2317         * sysdeps/unix/sysv/linux/cris/register-dump.h: New file.
2318         * sysdeps/unix/sysv/linux/cris/semctl.c: New file.
2319         * sysdeps/unix/sysv/linux/cris/setegid.c: New file.
2320         * sysdeps/unix/sysv/linux/cris/seteuid.c: New file.
2321         * sysdeps/unix/sysv/linux/cris/setfsgid.c: New file.
2322         * sysdeps/unix/sysv/linux/cris/setfsuid.c: New file.
2323         * sysdeps/unix/sysv/linux/cris/setgid.c: New file.
2324         * sysdeps/unix/sysv/linux/cris/setgroups.c: New file.
2325         * sysdeps/unix/sysv/linux/cris/setregid.c: New file.
2326         * sysdeps/unix/sysv/linux/cris/setresgid.c: New file.
2327         * sysdeps/unix/sysv/linux/cris/setresuid.c: New file.
2328         * sysdeps/unix/sysv/linux/cris/setreuid.c: New file.
2329         * sysdeps/unix/sysv/linux/cris/setrlimit.c: New file.
2330         * sysdeps/unix/sysv/linux/cris/setuid.c: New file.
2331         * sysdeps/unix/sysv/linux/cris/shmctl.c: New file.
2332         * sysdeps/unix/sysv/linux/cris/socket.S: New file.
2333         * sysdeps/unix/sysv/linux/cris/sys/ucontext.h: New file.
2334         * sysdeps/unix/sysv/linux/cris/syscall.S: New file.
2335         * sysdeps/unix/sysv/linux/cris/sysdep.S: New file.
2336         * sysdeps/unix/sysv/linux/cris/sysdep.h: New file.
2337         * sysdeps/unix/sysv/linux/cris/vfork.S: New file.
2338         * sysdeps/unix/sysv/linux/cris/xstat.c: New file.
2340 2001-04-08  Hans-Peter Nilsson  <hp@axis.com>
2342         * sysdeps/cris/Dist: New file.
2343         * sysdeps/cris/Implies: New file.
2344         * sysdeps/cris/Makefile: New file.
2345         * sysdeps/cris/__longjmp.S: New file.
2346         * sysdeps/cris/_mcount.S: New file.
2347         * sysdeps/cris/bits/endian.h: New file.
2348         * sysdeps/cris/bits/setjmp.h: New file.
2349         * sysdeps/cris/bits/string.h: New file.
2350         * sysdeps/cris/dl-machine.h: New file.
2351         * sysdeps/cris/elf/start.S: New file.
2352         * sysdeps/cris/machine-gmon.h: New file.
2353         * sysdeps/cris/memcopy.h: New file.
2354         * sysdeps/cris/memusage.h: New file.
2355         * sysdeps/cris/setjmp.S: New file.
2356         * sysdeps/cris/sysdep.h: New file.
2357         * sysdeps/cris/wordcopy.c: New file.
2359 2001-04-08  Hans-Peter Nilsson  <hp@axis.com>
2361         * elf/elf.h: Add new relocations for CRIS.
2363 2001-04-08  Hans-Peter Nilsson  <hp@axis.com>
2365         * shlib-versions: Add cases for Linux on CRIS.
2367 2001-04-08  Hans-Peter Nilsson  <hp@axis.com>
2369         * configure.in (ASM_LINE_SEP tests): Handle CRIS assembly, with
2370         ';' for comments and '@' for line separator.
2372 2001-04-08  Hans-Peter Nilsson  <hp@axis.com>
2374         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Fix
2375         typo; s/==/=/ for assignment.
2377 2001-04-08  Hans-Peter Nilsson  <hp@axis.com>
2379         * malloc/Makefile: Correct comment; mtrace is Perl, not AWK.
2381 2001-04-08  Hans-Peter Nilsson  <hp@axis.com>
2383         * iconv/gconv_simple.c (internal_ucs4_loop_unaligned): Check for
2384         empty input before checking full output.
2386 2001-04-08  Hans-Peter Nilsson  <hp@axis.com>
2388         * iconv/gconv.c (__gconv): Don't derefer parameter cd before
2389         checking if == -1L.
2391 2001-04-08  Ulrich Drepper  <drepper@redhat.com>
2393         * inet/rexec.c (rexec_af): Avoid calling perror with errno being set.
2395 2001-04-07  Stephen L Moshier  <moshier@mediaone.net>
2397         * sysdeps/ieee754/ldbl-128/e_logl.c: Correct infinity and NaN
2398         return values.
2400 2001-04-07  Ulrich Drepper  <drepper@redhat.com>
2402         * stdlib/tst-setcontext.c (main): Add a test for setcontext.
2404         * sysdeps/unix/sysv/linux/i386/getcontext.S: New file.
2405         * sysdeps/unix/sysv/linux/i386/setcontext.S: New file.
2406         * sysdeps/unix/sysv/linux/i386/makecontext.S: New file.
2407         * sysdeps/unix/sysv/linux/i386/swapcontext.S: New file.
2408         * sysdeps/unix/sysv/linux/i386/ucontext_i.h: New file.
2409         * sysdeps/unix/sysv/linux/i386/Dist: Add ucontext_i.h.
2411 2001-04-07  Andreas Jaeger  <aj@suse.de>
2413         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Use sincos
2414         instead of separate sin and cos.
2415         (__ieee754_j1l): Likewise.
2417 2001-04-06  Ulrich Drepper  <drepper@redhat.com>
2419         * sysdeps/ia64/abort-instr.h: New file.  Code by David Mosberger.
2421         * sysdeps/ia64/atomicity.h: New file.  Copied from libstdc++.
2423         * sysdeps/i386/i486/atomicity.h: Clean up the asms.
2425         * sysdeps/generic/e_scalb.c: Don't use FE_INVALID unless it's
2426         available.
2427         * sysdeps/generic/e_scalbf.c: Likewise.
2428         * sysdeps/generic/e_scalbl.c: Likewise.
2429         Patch by Mark Hatle <fray@mvista.com>.
2431 2001-04-05  David S. Miller  <davem@redhat.com>
2433         * sysdeps/sparc/abort-instr.h: New file.
2435 2001-04-05  Matt Wilson  <msw@redhat.com>
2437         * sysdeps/unix/sysv/linux/alpha/getsysstats.c (GET_NPROCS_PARSER):
2438         added code to parse new 2.4 format.
2439         (GET_NPROCS_CONF_PARSER): Likewise.
2441 2001-04-05  David S. Miller  <davem@redhat.com>
2443         * scripts/config.sub: Recognize sparcv9b like sparcv9.
2444         * configure.in: Add sparcv9b.
2445         * sysdeps/sparc/sparc32/sparcv9b/Implies: New file
2446         * sysdeps/sparc/sparc32/sparcv9b/memcpy.S: New file
2447         * sysdeps/sparc/sparc64/sparcv9b/memcpy.S: New file
2449 2001-04-06  David Mosberger  <davidm@hpl.hp.com>
2451         * stdlib/tst-setcontext.c: Move st2[] to global scope.
2452         (f2): Verify that stack pointer is inside st2[].
2454         * sysdeps/unix/sysv/linux/ia64/getcontext.S: It helps to save r12.
2455         * sysdeps/unix/sysv/linux/ia64/setcontext.S: It helps to restore r12.
2457 2001-04-06  Ulrich Drepper  <drepper@redhat.com>
2459         * timezone/antarctica: Update from tzdata2001b.
2460         * timezone/asia: Likewise.
2461         * timezone/australasia: Likewise.
2462         * timezone/europe: Likewise.
2463         * timezone/northamerica: Likewise.
2465         * iconv/iconv_open.c: Move strip and upstr definitions...
2466         * iconv/gconv_charset.h: ...here.  New file.
2467         * iconv/gconv_db.c (once): Move to file level.
2468         (do_lookup_alias): Split out from __gconv_find_transform.
2469         (__gconv_find_transform): Call do_lookup_alias.
2470         (__gconv_loopup_alias): New function.
2471         * locale/langinfo.h: Define _NL_*_CODESET values for all categories
2472         but LC_CTYPE.
2473         * locale/categories.def: Add entries for new _NL_*_CODESET values.
2474         * locale/C-ctype.c: Use _nl_C_codeset to initialize CODESET entry.
2475         * locale/C-address.c: Initialize _NL_*_CODESET element.
2476         * locale/C-collate.c: Likewise.
2477         * locale/C-identification.c: Likewise.
2478         * locale/C-measurement.c: Likewise.
2479         * locale/C-messages.c: Likewise.
2480         * locale/C-monetary.c: Likewise.
2481         * locale/C-name.c: Likewise.
2482         * locale/C-numeric.c: Likewise.
2483         * locale/C-paper.c: Likewise.
2484         * locale/C-telephone.c: Likewise.
2485         * locale/C-time.c: Likewise.
2486         * locale/localeinfo.h: Declare _nl_C_codeset.
2487         * locale/C_name.c: Define _nl_C_codeset.
2488         * locale/findlocale.c: Before accepting locale check that the used
2489         charset does not conflict with what the locale name said.
2490         * locale/programs/ld-address.c: Emit codeset information.
2491         * locale/programs/ld-collate.c: Likewise.
2492         * locale/programs/ld-identification.c: Likewise.
2493         * locale/programs/ld-measurement.c: Likewise.
2494         * locale/programs/ld-messages.c: Likewise.
2495         * locale/programs/ld-monetary.c: Likewise.
2496         * locale/programs/ld-name.c: Likewise.
2497         * locale/programs/ld-numeric.c: Likewise.
2498         * locale/programs/ld-paper.c: Likewise.
2499         * locale/programs/ld-telephone.c: Likewise.
2500         * locale/programs/ld-time.c: Likewise.
2502         * localedata/tests-mbwc/tst_funcs.h (TST_HEAD_LOCALE): It is an error
2503         if the locale data couldn't be found.
2505         * string/Makefile: Define tst-strxfrm-ENV.
2507         * ysdeps/unix/sysv/linux/ia64/getcontext.S: Fix comment.
2509 2001-04-06  Andreas Jaeger  <aj@suse.de>
2511         * include/sys/profil.h: New file.
2513         * dlfcn/modatexit.c: Add prototypes to silence GCC.
2514         * dlfcn/modcxaatexit.c: Likewise.
2515         * elf/globalmod1.c: Likewise.
2517 2001-04-05  David S. Miller  <davem@redhat.com>
2519         * elf/elf.h (HWCAP_SPARC_ULTRA3): Define it.
2520         * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h: Add it to
2521         capability flags table and HWCAP_IMPORTANT, increase
2522         _DL_HWCAP_COUNT to 6.
2523         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h: Likewise.
2525 2001-04-04  David Mosberger  <davidm@hpl.hp.com>
2527         * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext): Fix
2528         initialization of stack_end (bug reported by Zheng Gengbin
2529         <gzheng@students.uiuc.edu>).
2531 2001-04-05  Ulrich Drepper  <drepper@redhat.com>
2533         * sysdeps/i386/fpu/libm-test-ulps: Relax errors for asinl.
2535 2001-04-05  Martin Schwidefsky  <schwidefsky@de.ibm.com>
2537         * sysdeps/unix/sysv/linux/s390/s390-64/bits/socket.h: New file.
2539 2001-04-05  Ulrich Drepper  <drepper@redhat.com>
2541         * sysdeps/ieee754/ldbl-96/e_asinl.c: Correct handling of +-Inf.
2542         * sysdeps/i386/fpu/e_asinl.S: Removed.  Too inaccurate.
2544         * login/tst-utmp.c: Make file usable again in tst-utmpx.c.
2546 2001-04-04  Ulrich Drepper  <drepper@redhat.com>
2548         * sysdeps/unix/sysv/aix/dl-libc.c: Don't use the ELF version,
2549         define simple replacements here.  Patch by Michael Keezer.
2551         * sysdeps/ieee754/ldbl-128/e_logl.c: New file.
2552         * sysdeps/ieee754/ldbl-96/e_asinl.c: New file.
2553         Contributed by Stephen L Moshier <moshier@mediaone.net>.
2555         * posix/fnmatch_loop.c: Undefine NEW_PATTERN when it is not used
2556         anymore.
2558 2001-04-01  Andreas Jaeger  <aj@suse.de>
2560         * sysdeps/generic/s_nextafter.c (NO_LONG_DOUBLE): Add nexttowardl
2561         alias.
2563         * sysdeps/generic/s_fma.c (NO_LONG_DOUBLE): Add fmal alias.
2565 2001-04-04  Ulrich Drepper  <drepper@redhat.com>
2567         * sysdeps/unix/sysv/linux/s390/s390-64/Dist: Add ucontext_i.h.
2568         * sysdeps/unix/sysv/linux/s390/s390-32/Dist: Likewise.
2570 2001-04-04  Martin Schwidefsky  <schwidefsky@de.ibm.com>
2572         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: New file.
2573         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: New file.
2574         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: New file.
2575         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.h: New file.
2576         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: New file.
2577         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: New file.
2578         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: New file.
2579         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.h: New file.
2580         * sysdeps/unix/sysv/linux/s390/swapcontext.c: New file.
2582 2001-04-04  Andreas Jaeger  <aj@suse.de>
2584         * sysdeps/powerpc/dl-machine.h (ELF_MACHINE_NO_REL): Move to right
2585         place.
2587 2001-04-04  Ulrich Drepper  <drepper@redhat.com>
2589         * sunrpc/rpc_scan.c (symbols): Add entry for HYPER.
2590         * sunrpc/rpc_scan.h (enum tok_kind): Add TOK_HYPER.
2591         * sunrpc/rpc_parse.c (get_type): Handle TOK_HYPER.
2592         (unsigned_dec): Likewise.
2593         Patch by atai@jezebel.dreamhost.com.
2595         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r): Pass
2596         pointer to int as last parameter of yp_match.
2597         Patch by kanazawa@flab.fujitsu.co.jp.
2599 2001-04-03  Ulrich Drepper  <drepper@redhat.com>
2601         * resolv/netdb.h (gai_strerror): Make return value const.
2602         * sysdeps/generic/gai_strerror.c (gai_strerror): Likewise.
2603         * sysdeps/posix/gai_strerror.c (gai_strerror): Likewise.
2604         Add strings for new error values.
2606 2001-03-29  Michael Keezer  <mkeezer@redhat.com>
2608         * posix/tst-gnuglob.c: Added ifdef _DIRENT_HAVE_D_TYPE.
2609         * login/tst-utmp.c: Handle case where ut_tv is not available but
2610         ut_time is.
2611         * sysdeps/unix/sysv/aix/utmpx.h: New file.
2612         * sysdeps/unix/sysv/aix/bits/utmpx.h: Added
2613         _HAVE_UT_TYPE/PID/ID/TV/HOST defines.
2614         * sysdeps/unix/sysv/aix/libc-start.c: Removed temp code and made stub.
2615         * sysdeps/unix/sysv/aix/gettimeofday.c: New file added routines
2616         to access RTCU timer reg.
2617         * sysdeps/unix/sysv/aix/Makefile: Remove /usr/lib/crt0.o
2618         added dl-libc, dl-open,dl-sym, dl-close to misc.
2619         * sysdeps/unix/sysv/aix/start.c: New file.  Start code.
2620         * sysdeps/unix/sysv/aix/dlldr.h: New file.  AIX __loadx defines.
2621         * sysdeps/unix/sysv/aix/dl-close.c: New file.  AIX dl-close.
2622         * sysdeps/unix/sysv/aix/dl-open.c: New file.  AIX dl-open.
2623         * sysdeps/unix/sysv/aix/dl-sym.c: New file.  AIX dl-sym.
2624         * sysdeps/unix/sysv/aix/dl-libc.c: New file.  libc_dl-xxx support.
2625         * sysdeps/generic/strtoll.c: Added SHLIB_COMPAT(libc,GLIBC_2_0,
2626         GLIBC_2_2).
2627         * sysdeps/generic/strtoull.c: Likewise.
2628         * sysdeps/powerpc/ppc-mcount.S: Added nop after bl instruction.
2629         * sysdeps/unix/sysv/aix/powerpc/memset.c: New file to include
2630         sysdeps/generic/memset.c.
2631         * sysdeps/unix/sysv/aix/getpeername.c: Define __getpeername.
2633 2001-04-03  Ulrich Drepper  <drepper@redhat.com>
2635         * iconv/Makefile (CFLAGS-charmap.c): Add -DNEED_NULL_POINTER.
2636         * locale/programs/charmap.c: Define null_pointer if
2637         NEED_NULL_POINTER is defined.
2639         * misc/dirname.c (dirname): Handle multiple slashes correctly.
2641 2001-04-03  Martin Schwidefsky  <schwidefsky@de.ibm.com>
2643         * sysdeps/s390/s390-64/initfini.c: Fix __gmon_start__ GOT access.
2645 2001-04-03  Martin Schwidefsky  <schwidefsky@de.ibm.com>
2647         * sysdeps/s390/s390-32/bcopy.S: Optimize for speed.
2648         * sysdeps/s390/s390-64/bcopy.S: Likewise.
2649         * sysdeps/s390/s390-32/mempcy.S: Likewise.
2650         * sysdeps/s390/s390-64/memcpy.S: Likewise.
2652 2001-04-02  Bruno Haible  <haible@clisp.cons.org>
2654         * manual/message.texi (Advanced gettext functions): More specific
2655         syntax in the plural formula examples.
2657 2001-04-02  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
2659         * sysdeps/powerpc/atomicity.h: Silence warnings.
2660         * sysdeps/powerpc/dl-machine.h: Likewise.
2661         * sysdeps/powerpc/register-dump.h: Likewise.
2662         * sysdeps/powerpc/fpu/s_lrint.c: Likewise.
2664 2001-04-02  Andreas Jaeger  <aj@suse.de>
2666         * misc/tst-dirname.c (main): Add more tests, derived from a bug
2667         report by Michael Kerrisk <mtk16@ext.canterbury.ac.nz>.
2669 2001-04-01  Andreas Jaeger  <aj@suse.de>
2671         * debug/xtrace.sh (pcprofileso): Use SLIBDIR since libpcprofile.so
2672         is installed there.
2673         * malloc/memusage.sh (memusageso): Likewise for libmemusage.so.
2675 2001-04-01  H.J. Lu  <hjl@gnu.org>
2677         * posix/annexc.c (macrofile): Renamed from TMPFILE and set to
2678         tmpnam (NULL).
2679         * stdlib/isomac.c (macrofile): Likewise.
2681 2001-03-30  Thorsten Kukuk  <kukuk@suse.de>
2683         * inet/rcmd.c: Allow AF_UNSPEC as parameter.
2684         * nis/ypclnt.c (yp_all): Print error message only at last try,
2685         check for protocoll error only if we don't have a network error.
2687 2001-04-02  Andreas Schwab  <schwab@suse.de>
2689         * resolv/res_data.c (res_isourserver): Fix cast.
2691 2001-04-02  Andreas Jaeger  <aj@suse.de>
2693         * sysdeps/unix/sysv/linux/hppa/umount.c: Add prototype for
2694         __umount2.
2696         * sysdeps/i386/dl-machine.h (RTLD_START): Don't use multi-line
2697         strings.
2698         (ELF_MACHINE_RUNTIME_TRAMPOLINE): Likewise.
2700         * sysdeps/ieee754/dbl-64/uroot.h: Add missing braces arount
2701         initializers.
2702         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Likewise.
2704         * elf/rtld.c (print_statistics)[!HP_TIMING_NONAVAIL]: Avoid
2705         warning about unused variable.
2707         * string/string.h (strndupa): Add cast for C++ conformance.
2708         (strdupa): Likewise.
2709         Fixes PR libc/2173, reported by tbrowder@home.com.
2711 2001-03-30  Roland McGrath  <roland@frob.com>
2713         * sysdeps/mach/hurd/Makefile ($(link-rpcuserlibs)): Don't append
2714         options after $(build-module), which is no longer a single command.
2715         (LDFLAGS-link-rpcuserlibs): New variable to hold those options.
2716         (LDFLAGS-libmachuser-link.so, LDFLAGS-libhurduser-link.so): New
2717         variables using it.  Reported by Mark Kettenis <kettenis@gnu.org>.
2719 2001-03-11  Roland McGrath  <roland@frob.com>
2721         * elf/rtld.c (dl_main): Add cast to quiet warning.
2722         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
2723         * iconv/gconv_conf.c (__gconv_get_path): Likewise.
2724         (__gconv_read_conf): Likewise.
2725         * iconv/gconv_db.c (gen_steps): Likewise.
2726         (__gconv_find_transform): Likewise.
2727         * locale/programs/charmap-dir.c (fopen_uncompressed): Likewise.
2728         (fopen_uncompressed): Use const in second argument's type.
2730 2001-03-11  Roland McGrath  <roland@frob.com>
2732         * sysdeps/mach/hurd/dl-sysdep.c (__writev): New function.
2734         * mach/mach_error.h: Fix ancient #endif syntax.
2735         * hurd/hurdmalloc.c: Likewise.
2737         * sysdeps/generic/atomicity.h (exchange_and_add, atomic_add,
2738         compare_and_swap): Add volatile qualifier to first arg, to bring
2739         these prototypes in line with all the other implementations.
2740         Add a #warning to remind the builder that these are not atomic.
2742 2001-03-04  Roland McGrath  <roland@frob.com>
2744         * hurd/vpprintf.c (vpprintf) [USE_IN_LIBIO]: Use innermore first
2745         member of TEMP_F so its type is _IO_FILE * as expected.
2747         * hurd/fopenport.c (seekio): Conditionalize type of POS argument
2748         on [USE_IN_LIBIO].  Check the value for overflow, since for libio
2749         it might exceed off_t's range.
2751 2001-02-25  Roland McGrath  <roland@frob.com>
2753         * sysdeps/mach/hurd/sysd-stdio.c (__stdio_reopen): Use prototype.
2754         * sysdeps/unix/bsd/getpt.c (__posix_openpt): Likewise.
2756         * sysdeps/mach/hurd/i386/intr-msg.h (SYSCALL_EXAMINE): Make this a
2757         macro instead of an inline function,
2758         (MSG_EXAMINE): Likewise.
2760         * hurd/hurd/ioctl.h (_HURD_HANDLE_IOCTLS_1): Remove extraneous ##.
2762         * hurd/get-host.c: Include <string.h> for decls of built-ins.
2763         * hurd/hurdchdir.c: Likewise.
2764         * sysdeps/mach/hurd/i386/sigreturn.c: Likweise.
2765         * sysdeps/mach/hurd/opendir.c: Likewise.
2767         * mach/mach_init.c: Include <unistd.h> for _exit decl.
2769         * mach/errsystems.awk: Give output file a trailing newline.
2771         * mach/Machrules (MIG): Prepend CC='${CC}' to the mig command, so that
2772         the script will use our compiler for the cpp stage.
2774         With --enable-all-warnings we get a whole bunch of warnings,
2775         and these are just a few fixes; there are more needed to silence it.
2776         * mach/mach/mig_support.h (__mig_strncpy, mig_strncpy): Add extern
2777         decls before extern inline defns to quiet gcc warning.
2778         * hurd/hurd/threadvar.h (__hurd_threadvar_location_from_sp): Likewise.
2779         * sysdeps/mach/i386/machine-sp.h (__thread_stack_pointer): Likewise.
2781 2001-03-31  Andreas Jaeger  <aj@suse.de>
2783         * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_RAWHDLC): Added.
2784         (ARPHRD_HDLC): Define as alias for ARPHRD_CISCO.
2785         (ARPHRD_CISCO): New.
2786         Changes from Linux 2.4.3.
2788 2001-03-30  Isamu Hasegawa  <isamu@yamato.ibm.com>
2790         * posix/regex.c: Avoid an access violation if malloc fails.
2792 2001-03-30  Andreas Jaeger  <aj@suse.de>
2794         * sysdeps/alpha/ldiv.S (ldiv): Add alias for imaxdiv.
2796 2001-03-29  Ulrich Drepper  <drepper@redhat.com>
2798         * posix/regex.c: Remove unnecessary ifs.
2800         * math/bits/mathcalls.h: Remove infnan declaration.
2802 2001-03-29  H.J. Lu  <hjl@gnu.org>
2804         * include/endian.h: Define BIG_ENDI, LITTLE_ENDI, HIGH_HALF,
2805         and LOW_HALF only if _LIBC is defined and _ISOMAC is not defined.
2806         * stdlib/isomac.c (fmt): Define _LIBC and _ISOMAC.
2808 2001-03-29  Isamu Hasegawa  <isamu@yamato.ibm.com>
2810         * posix/regex.c: Fix typo and add a sentinel.
2812 2001-03-29  Ulrich Drepper  <drepper@redhat.com>
2814         * sysdeps/unix/sysv/linux/shm_open.c: Open new file always with
2815         O_NOFOLLOW.  Suggested by Christoph Roland.
2817 2001-03-27  Martin Schwidefsky  <schwidefsky@de.ibm.com>
2819         * sysdeps/s390/bits/string.h: New unified 31/64 bit string.h.
2820         * sysdeps/s390/s390-32/bits/string.h: Remove.
2821         * sysdeps/s390/s390-64/bits/string.h: Remove.
2822         * sysdeps/s390/s390-32/strcmp.S: New file.
2823         * sysdeps/s390/s390-64/strcmp.S: New file.
2825 2001-03-27  Martin Schwidefsky  <schwidefsky@de.ibm.com>
2827         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Fix typo.
2828         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
2830 2001-03-27  Ulrich Drepper  <drepper@redhat.com>
2832         * version.h (VERSION): Bump to 2.2.3.
2834         * stdlib/isomac.c (fmt): Don't define _LIBC.
2835         * include/endian.h: Define BIG_ENDI, LITTLE_ENDI, HIGH_HALF, and
2836         LOW_HALF only if _LIBC is defined.
2838         * sysdeps/i386/fpu/libm-test-ulps: Slight adjustment of yn() error.
2840         * posix/fnmatch_loop.c (FCT): Handle !() after * special like @()
2841         and +().
2842         * posix/tst-fnmatch.input: Add test cases for matching empty strings.
2844         * sysdeps/ieee754/dbl-64/endian.h: Removed.  Move definitions...
2845         * include/endian.h: ...to here.
2847 2001-03-27  kaz Kojima  <kkojima@rr.iij4u.or.jp>
2849         * sysdeps/sh/sys/ucontext.h (NFREG): Rename to NFPREG.
2850         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (NFREG): Likewise.
2852 2001-03-27  Martin Schwidefsky  <schwidefsky@de.ibm.com>
2854         * sysdeps/unix/sysv/linux/s390/ldconfig.h: Fix typo.
2856 2001-03-26  Ulrich Drepper  <drepper@redhat.com>
2858         * sysdeps/ia64/fpu/Dist: Add new files to distribute.
2859         * sysdeps/unix/sysv/linux/s390/s390-64/Dist: Likewise.
2860         * sysdeps/unix/sysv/linux/ia64/Dist: Likewise.
2862         * gmon/Makefile (headers): Add sys/profil.h.
2864 2001-03-18  Andreas Jaeger  <aj@suse.de>
2866         * manual/install.texi (Tools for Compilation): Advise to use GCC
2867         2.95.3.
2868         (Supported Configurations): Mention s390x.
2870 2001-03-26  Ben Collins  <bcollins@debian.org>
2872         * sysdeps/unix/sysv/linux/mips/bits/mman.h: Add MAP_* and MADV_*
2873         defines to match other architectures.
2875 2001-03-26  Ulrich Drepper  <drepper@redhat.com>
2877         * libio/Makefile (tests): Add tst-ext.
2878         * libio/tst-ext.c: New file.
2880         * libio/iosetvbuf.c (_IO_setvbuf): Clear line buffer flag for _IONBF.
2882 2001-03-25  Ulrich Drepper  <drepper@redhat.com>
2884         Add changes which were in this form in the original patch by
2885         Eric Norum <eric.norum@usask.ca>.
2886         * include/rpc/rpc.h: Remove svc_fdset, rpc_createerr, svc_pollfd, and
2887         svc_max_pollfd.
2888         * sunrpc/rpc/rpc.h: Declare __rpc_thread_svc_fdset,
2889         __rpc_thread_createerr, __rpc_thread_svc_pollfd, and
2890         __rpc_thread_svc_max_pollfd.
2891         Define svc_fdset, get_rpc_createerr, svc_pollfd, and
2892         svc_max_pollfd.
2893         * sunrpc/rpc_thread.c: Handle first thread special, it uses the
2894         global variables.
2895         Define __rpc_thread_svc_fdset, __rpc_thread_createerr,
2896         __rpc_thread_svc_pollfd, and __rpc_thread_svc_max_pollfd.
2897         * sunrpc/Versions [libc] (GLIBC_2.2.3): Export  __rpc_thread_svc_fdset,
2898         __rpc_thread_createerr, __rpc_thread_svc_pollfd, and
2899         __rpc_thread_svc_max_pollfd.
2900         * sunrpc/clnt_gen.c: Replace use of rpc_createerr by call to
2901         get_rpc_createerr.
2902         * sunrpc/clnt_perr.c: Likewise.
2903         * sunrpc/clnt_simp.c: Likewise.
2904         * sunrpc/clnt_tcp.c: Likewise.
2905         * sunrpc/clnt_udp.c: Likewise.
2906         * sunrpc/clnt_unix.c: Likewise.
2907         * sunrpc/pm_getport.c: Likewise.
2909         * sysdeps/unix/sysv/linux/i386/getgroups.c (__getgroups): getgroups32
2910         syscall checks for negative n so don't test here as well.
2912 2001-03-23  Jes Sorensen  <jes@linuxcare.com>
2914         * sysdeps/unix/sysv/linux/ia64/sysdep.h (ENTRY): Moved to ...
2915         * sysdeps/ia64/sysdep.h: ...here.
2917         * sysdeps/ia64/sysdep.h (LOCAL_ENTRY): Define.
2918         * sysdeps/ia64/sysdep.h (LOCAL_LEAF): Define.
2920         * sysdeps/ia64/_mcount.S (_mcount_ret_helper): Use LOCAL_LEAF() to
2921         declare instead of LEAF().  Suggestion from David Mosberger.
2923 2001-03-21  David Mosberger  <davidm@hpl.hp.com>
2925         * sysdeps/unix/sysv/linux/ia64/sysdep.h (CALL_MCOUNT): Add unwind
2926         directives.
2927         (PSEUDO): Drop .psr and .lsb directives.
2929         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Ditto.  Add unwind
2930         directives.
2931         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Ditto.
2933         * sysdeps/ia64/elf/start.S: Misc cleanup: remove .psr and .lsb
2934         directives etc.
2935         * sysdeps/unix/sysv/linux/ia64/brk.S: Ditto.
2936         * sysdeps/unix/sysv/linux/ia64/__longjmp.S: Ditto.
2937         * sysdeps/ia64/_mcount.S: Remove .psr and .lsb directives (no
2938         longer needed).  Add unwind directives.
2940         * sysdeps/ia64/sysdep.h: Define ASM_UNW_PRLG_RP, ASM_UNW_PRLG_PFS,
2941         ASM_UNW_PRLG_PSP, ASM_UNW_PRLG_PR, and ASM_UNW_PRLG_GRSAVE.
2943 2001-03-21  Paul Eggert  <eggert@twinsun.com>
2945         * posix/regex.h (RE_INVALID_INTERVAL_ORD): New macro.
2946         (RE_SYNTAX_POSIX_EGREP): Use it.
2947         * posix/regex.c (regex_compile): Implement it.
2949 2001-03-21  Paul Eggert  <eggert@twinsun.com>
2951         * posix/regex.c (GET_UNSIGNED_NUMBER): Check for overflow.
2952         Rewrite to avoid duplicate code.
2954 2001-03-21  H.J. Lu  <hjl@gnu.org>
2956         * elf/Makefile (tests): Don't depend on $(objpfx)tst-pathopt.out
2957         for cross-compiling.
2958         ($(objpfx)tst-pathopt.out): Undo the last change.
2960 2001-03-24  Mark Kettenis  <kettenis@gnu.org>
2962         * sysdeps/mach/hurd/i386/bits/sigcontext.h (sc_sp, sc_fp, sc_pc,
2963         sc_ps): Define as aliases for sc_uesp, sc_ebl, sc_eip and sc_efl.
2965         * sysdeps/mach/hurd/i386/init-first.c: Include <assert.h>.
2966         (_dl_argv): Declare.
2967         (init) [SHARED]: Readjust _dl_argv if we switched to a new stack.
2969 2001-03-22  Andreas Jaeger  <aj@suse.de>
2971         * iconvdata/Makefile (generated): Add iconv-test.xxx.
2973         * posix/Makefile (generated): Add bug-regex2.mtrace and
2974         bug-regex2-mem.
2976 2001-03-21  Ulrich Drepper  <drepper@redhat.com>
2978         * csu/version.c (__gnu_get_libc_release): Add prototype.
2979         (__gnu_get_libc_version): Likewise.
2980         * include/gnu/libc-version.h: Remove prototypes for not exported
2981         functions.
2983 2001-03-21  Jes Sorensen  <jes@linuxcare.com>
2985         * sysdeps/unix/sysv/linux/ia64/makecontext.c: Include libintl.h
2986         for internationalized printfs to work.
2988 2001-03-09  Bruno Haible  <haible@clisp.cons.org>
2990         * intl/dcigettext.c (transmem_block_t): Change to unsigned char, to
2991         avoid compiler warning.
2992         (_nl_find_msg): Add casts to avoid compiler warnings.
2994 2001-03-21  Ulrich Drepper  <drepper@redhat.com>
2996         * gmon/Makefile (routines): Add sprofil.
2997         (tests): Add tst-sprofil.
2998         (noprof): Add sprofil.
2999         * gmon/Versions [libc] (GLIBC_2.2.3): Add sprofil.
3001 2001-03-20  David Mosberger  <davidm@hpl.hp.com>
3003         * sysdeps/generic/sprofil.c: New file.
3004         * sysdeps/posix/sprofil.c: New file.
3005         * gmon/tst-sprofil.c: New file.
3006         * gmon/sys/profil.h: New file.
3008 2001-03-20  Andreas Schwab  <schwab@suse.de>
3010         * include/unistd.h: Adjust prototype of __gethostname.
3012 2001-03-20  Jakub Jelinek  <jakub@redhat.com>
3014         * sysdeps/sparc/stackinfo.h: New file.
3016 2001-03-21  Andreas Jaeger  <aj@suse.de>
3018         * elf/global.c (main): Use proper prototype.
3020 2001-03-20  Ulrich Drepper  <drepper@redhat.com>
3022         * sunrpc/Makefile (routines): Add rpc_thread.
3023         (CPPFLAGS): Add -D_RPC_THREAD_SAFE.
3024         * sunrpc/rpc_thread.c: New file.
3025         * sunrpc/Versions [libc] (GLIBC_2.2.3): Export __rpc_thread_destroy.
3026         * sunrpc/auth_none.c: Don't use global variables.  Access state in
3027         thread-local storage.
3028         * sunrpc/clnt_perr.c: Likewise.
3029         * sunrpc/clnt_raw.c: Likewise.
3030         * sunrpc/clnt_simp.c: Likewise.
3031         * sunrpc/key_call.c: Likewise.
3032         * sunrpc/rpc_common.c: Likewise.
3033         * sunrpc/svc.c: Likewise.
3034         * sunrpc/svc_raw.c: Likewise.
3035         * sunrpc/svc_simple.c: Likewise.
3036         * sunrpc/svcauth_des.c: Likewise.
3037         * hurd/hurd/threadvar.h (enum __hurd_threadvar_index): Add
3038         _HURD_THREADVAR_RPC_VARS.
3039         * sysdeps/generic/bits/libc-tsd.h: Mention _LIBC_TSD_KEY_RPC_VARS.
3040         * include/rpc/rpc.h: Define data structures for internal thread-local
3041         "global" variables.
3042         Based on patches by Eric Norum <eric.norum@usask.ca>.
3044         * elf/dl-load.c: Various little optimizations.
3046         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Return
3047         LINUX_LINK_MAX only if the statfs function is not implemented for
3048         the filesystem.
3050         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Return
3051         LINUX_LINK_MAX only if the fstatfs function is not implemented for
3052         the filesystem.
3054 2001-03-19  Ulrich Drepper  <drepper@redhat.com>
3056         * elf/dl-dst.h (DL_DST_COUNT): Add __builtin_expect.
3058         * elf/dl-load.c (_dl_dst_count): Make DST recognition more robust.
3059         (_dl_dst_substitute): Likewise.
3061 2001-03-17  Bruno Haible  <haible@clisp.cons.org>
3063         * intl/loadmsgcat.c (_nl_load_domain) [!_LIBC]: Use fstat, not fstat64.
3065 2001-03-17  Bruno Haible  <haible@clisp.cons.org>
3067         * intl/gettextP.h (struct expression): Add operators lnot, less_than,
3068         greater_than, less_or_equal, greater_or_equal. Replace args2/args3
3069         union by a 'nargs' counter and an 'args[]' array.
3070         * intl/plural.y: Don't include stdarg.h.
3071         (new_exp): Take an array of arguments instead of varargs.
3072         (new_exp_0, new_exp_1, new_exp_2, new_exp_3): New functions.
3073         ('?' ':'): Make right-associative.
3074         (EQUOP2): New token, replaces '=' and '!'.
3075         (CMPOP2): New token.
3076         (ADDOP2): New token, replaces '+' and '-'.
3077         (MULOP2): New token, replaces '*', '/' and '%'.
3078         ('!'): New token.
3079         (exp): Add rules for CMPOP2 and '!'. Don't call YYABORT.
3080         (start): Call YYABORT here.
3081         (FREE_EXPRESSION): Update.
3082         (yylex): Don't skip "\\n". Recognize comparison and '!' operators.
3083         Update for new token symbols.
3084         * intl/loadmsgcat.c (plvar, plone, germanic_plural,
3085         init_germanic_plural): Update.
3086         * intl/dcigettext.c (_nl_find_msg): Optimize for space.
3087         (plural_eval): Recognize comparison and '!' operators. Optimize for
3088         space.
3090 2001-03-10  Bruno Haible  <haible@clisp.cons.org>
3092         * intl/loadmsgcat.c (_nl_load_domain): locale_charset() doesn't return
3093         NULL any more.
3095 2001-01-05  Bruno Haible  <haible@clisp.cons.org>
3097         * intl/loadmsgcat.c: Include headers needed for alloca().
3098         (freea): New macro.
3099         (_nl_load_domain): Add fallback code for platforms lacking alloca.
3100         * intl/localealias.c: (ADD_BLOCK, FREE_BLOCK): Remove macros.
3101         (freea): New macro.
3102         (read_alias_file): Simplify fallback code for platforms lacking
3103         alloca.
3105 2001-01-07  Bruno Haible  <haible@clisp.cons.org>
3107         * intl/gettextP.h (__gettextdebug): Remove declaration.
3108         (__gettext_free_exp, __gettextparse): Convert prototype to K&R C
3109         syntax.
3110         (gettext_free_exp__, gettextparse__): New non-libc declarations.
3111         * intl/plural.y [!_LIBC]: Define gettextparse__, gettext_free_exp__,
3112         not __gettextparse, __gettext_free_exp.
3113         * intl/loadmsgcat.c [!_LIBC]: Use gettextparse__, not __gettextparse.
3115 2001-02-24  Bruno Haible  <haible@clisp.cons.org>
3117         * intl/dcigettext.c: Update comment about HAVE_LOCALE_NULL.
3119 2001-01-05  Bruno Haible  <haible@clisp.cons.org>
3121         * intl/loadmsgcat.c (_nl_load_domain): Add fallback code for platforms
3122         lacking strtoul, like SunOS4.
3124 2001-01-05  Bruno Haible  <haible@clisp.cons.org>
3126         * intl/l10nflist.c (_nl_normalize_codeset): Use tolower, not _tolower.
3128 2001-01-05  Bruno Haible  <haible@clisp.cons.org>
3130         * intl/bindtextdom.c (set_binding_values): Convert prototype to K&R C
3131         syntax.
3132         * intl/dcigettext.c (transcmp): Convert to K&R C syntax.
3133         * intl/explodename.c (_nl_find_language): Convert to K&R C syntax.
3134         * intl/plural.y (__gettext_free_exp, yylex, yyerror): Convert to K&R C
3135         syntax.
3137 2001-01-07  Bruno Haible  <haible@clisp.cons.org>
3139         * intl/gettextP.h (gettext__, dgettext__, dcgettext__, textdomain__,
3140         bindtextdomain__, bind_textdomain_codeset__): New declarations, from
3141         old libgettext.h.
3142         * intl/bindtextdom.c: Include libgnuintl.h instead of libgettext.h.
3143         * intl/dcgettext.c: Likewise.
3144         * intl/dcigettext.c: Likewise.
3145         * intl/dcngettext.c: Likewise.
3146         * intl/dngettext.c: Likewise.
3147         * intl/finddomain.c: Likewise.
3148         * intl/ngettext.c: Likewise.
3149         * intl/textdomain.c: Likewise.
3150         * intl/dgettext.c: Include libgnuintl.h instead of libgettext.h.
3151         Include gettextP.h.
3152         * intl/gettext.c: Likewise.  Don't include locale.h.
3154 2001-03-17  Bruno Haible  <haible@clisp.cons.org>
3156         * intl/gettextP.h (ZERO): New macro.
3157         (struct binding): Always use ZERO.
3158         * intl/bindtextdom.c (offsetof): Provide fallback for platforms that
3159         lack it, like SunOS4.
3160         (set_binding_values): Use offsetof, not sizeof.
3161         * intl/dcigettext.c (offsetof): Provide fallback for platforms that
3162         lack it, like SunOS4.
3163         (ZERO): Remove macro.
3164         (struct transmem_list): Use ZERO.
3165         (DCIGETTEXT): Use offsetof, not sizeof.
3167 2001-03-17  Bruno Haible  <haible@clisp.cons.org>
3169         * intl/gettextP.h: Include <stddef.h>. Include gettext.h, for
3170         nls_uint32.
3171         * intl/bindtextdom.c: Don't include gettext.h.
3172         * intl/dcgettext.c: Likewise.
3173         * intl/dcigettext.c: Likewise.
3174         * intl/dcngettext.c: Likewise.
3175         * intl/dngettext.c: Likewise.
3176         * intl/finddomain.c: Likewise.
3177         * intl/localealias.c: Likewise.
3178         * intl/ngettext.c: Likewise.
3179         * intl/plural.y: Likewise.
3180         * intl/textdomain.c: Likewise.
3182 2001-03-17  Bruno Haible  <haible@clisp.cons.org>
3184         * intl/gettext.h: Don't include <stdio.h>.
3186 2001-03-17  Bruno Haible  <haible@clisp.cons.org>
3188         * intl/Makefile (CPPFLAGS): Set LOCALEDIR instead of GNULOCALEDIR.
3189         * intl/dcigettext.c (_nl_default_dirname): Initialize with LOCALEDIR.
3191 2001-03-19  Ulrich Drepper  <drepper@redhat.com>
3193         * sysdeps/unix/i386/i686/tempname.c: New file.
3195         * sysdeps/posix/tempname.c (__gen_tempname): If RANDOM_BITS is
3196         defined use this macro to get some bits of randomness instead of
3197         the usual gettimeofday or time calls.
3199 2001-03-16  Paul Eggert  <eggert@twinsun.com>
3201         * sysdeps/posix/tempname.c (uint64_t): Define to uintmax_t if
3202         not defined, and if UINT64_MAX is not defined.
3204 2001-03-19  Ulrich Drepper  <drepper@redhat.com>
3206         * elf/cache.c: Mark and have translated a few more messages.
3208 2001-03-19  Martin Schwidefsky  <schwidefsky@de.ibm.com>
3210         * elf/cache.c: Add case for FLAG_S390_LIB64.
3211         * sysdeps/generic/ldconfig.h: Add define for FLAG_S390_LIB64.
3212         * sysdeps/unix/sysv/linux/s390/ldconfig.h: New file.
3213         * sysdeps/unix/sysv/linux/s390/readelflib.c: New file.
3215 2001-03-19  Ulrich Drepper  <drepper@redhat.com>
3217         * string/Makefile (tests): Add tst-strxfrm.
3218         * string/tst-strxfrm.c: New file.  Based on a test case by Paul Eggert.
3219         * string/Depend: New file.
3221 2001-03-19  Paul Eggert  <eggert@twinsun.com>
3223         * string/strxfrm.c (strxfrm): strxfrm should return 0, not 1,
3224         when given the empty string in nontrivial locales.
3226 2001-03-17  H.J. Lu  <hjl@gnu.org>
3228         * manual/Makefile (install): Use $(INSTALL_DATA) instead of
3229         cp to install `dir'.
3231 2001-03-19  Andreas Schwab  <schwab@suse.de>
3233         * Makerules (build-shlib): Make sure exit codes get checked
3234         properly.
3236 2001-03-18  Ulrich Drepper  <drepper@redhat.com>
3238         * Makerules (build-shlib): Remove unnecessary slashes introduced in
3239         last change.
3241         * configure.in: Test for -Bgroup option of linker.
3242         * config.make.in: Define have-Bgroup.
3244         * conform/data/unistd.h-data: Require gethostname.
3245         * posix/unistd.h: Make gethostname prototype available for
3246         __USE_XOPEN2K.
3248         * crypt/Makefile: When generating DSO link with libc_nonshared.a.
3249         * debug/Makefile: Likewise.
3250         * dlfcn/Makefile: Likewise.
3251         * hesiod/Makefile: Likewise.
3252         * iconvdata/extra-module.mk: Likewise.
3253         * locale/Makefile: Likewise.
3254         * login/Makefile: Likewise.
3255         * math/Makefile: Likewise.
3256         * nis/Makefile: Likewise.
3257         * nss/Makefile: Likewise.
3258         * resolv/Makefile: Likewise.
3259         * rt/Makefile: Likewise.
3261 2001-03-17  Ulrich Drepper  <drepper@redhat.com>
3263         * inet/Makefile (tests): Remove left-over comment.
3265         * posix/unistd.h (gethostname): Change type of second parameter
3266         back to size_t as per upcoming XPG6.
3267         * sysdeps/unix/sysv/aix/gethostname.c: Change type of second
3268         parameter back to size_t as per upcoming XPG6.
3269         * sysdeps/unix/sysv/sysv4/gethostname.c: Likewise.
3270         * sysdeps/unix/sysv/gethostname.c: Likewise.
3271         * sysdeps/mach/hurd/gethostname.c: Likewise.
3272         * sysdeps/generic/gethostname.c: Likewise.
3274 2001-03-16  Ulrich Drepper  <drepper@redhat.com>
3276         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
3277         Handle NaN here.
3279         * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext):
3280         Internationalize.
3282 2001-02-06  Jakub Jelinek  <jakub@redhat.com>
3284         * elf/dl-load.c (_dl_map_object): Don't test l_opencount when
3285         looking for name matches.
3287 2001-02-26  Jakub Jelinek  <jakub@redhat.com>
3289         * sysdeps/generic/sigcontextinfo.h (CALL_SIGHANDLER): Define.
3290         * sysdeps/mach/hurd/i386/sigcontextinfo.h: Likewise.
3291         * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h: Likewise.
3292         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
3293         * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h: Likewise.
3294         * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h: Likewise.
3295         * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h: Likewise.
3296         * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h: Likewise.
3297         * sysdeps/unix/sysv/linux/s390/sigcontextinfo.h: Likewise.
3298         * sysdeps/unix/sysv/linux/sh/sigcontextinfo.h: Likewise.
3299         * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: Likewise.
3300         * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h: Likewise.
3302 2001-03-16  Ulrich Drepper  <drepper@redhat.com>
3304         * sysdeps/ieee754/ldbl-96/s_erfl.c: New file.
3305         Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>.
3307         * sysdeps/i386/fpu/libm-test-ulps: Adjust for addition of erfl and
3308         erfcl.
3309         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
3311 2001-03-16  David Mosberger  <davidm@hpl.hp.com>
3313         * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h (struct sigcontext):
3314         Drop hack that was needed for 2.1.1 kernel headers.
3316         * sysdeps/unix/sysv/linux/ia64/ucontext_i.h: New file.
3318         * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Rewrite to make it
3319         overlay with kernel's "struct sigcontext".
3321         * sysdeps/unix/sysv/linux/ia64/Makefile (sysdep_headers): Add
3322         sys/rse.h for "misc" subdir.
3323         (sysdep_routines): Add __start_context for "stdlib" subdir.
3325         * sysdeps/unix/sysv/linux/ia64/sys/rse.h: New file (based on
3326         kernel file of the same name).
3328         * stdlib/Makefile (tests): Add tst-setcontext.
3329         * stdlib/tst-setcontext.c: New file (based on a sample program by
3330         Uli Drepper).
3332         * sysdeps/unix/sysv/linux/ia64/setcontext.S: New file.
3333         * sysdeps/unix/sysv/linux/ia64/getcontext.S: New file.
3334         * sysdeps/unix/sysv/linux/ia64/__start_context.S: New file.
3335         * sysdeps/unix/sysv/linux/ia64/makecontext.c: New file.
3336         * sysdeps/unix/sysv/linux/ia64/swapcontext.c: New file.
3338         * sysdeps/unix/sysv/linux/ia64/__longjmp.S (__longjmp): Use extr.u
3339         instead of shift & and.
3341 2001-03-16  Martin Schwidefsky  <schwidefsky@de.ibm.com>
3343         * sysdeps/s390/s390-64/bits/huge_val.h: Move to...
3344         * sysdeps/s390/bits/huge_val.h: ...here.
3345         * sysdeps/s390/s390-32/bit/huge_val.h: Remove.
3346         * sysdeps/s390/s390-64/ffs.c: Move to...
3347         * sysdeps/s390/ffs.c: ...here.
3348         * sysdeps/s390/s390-32/ffs.c: Remove.
3350 2001-03-16  Jakub Jelinek  <jakub@redhat.com>
3352         * elf/ldconfig.c (search_dir): Remove bogus diagnostic, instead
3353         update osversion from more recent library.
3355 2001-03-13  Martin Schwidefsky  <schwidefsky@de.ibm.com>
3357         * sysdeps/unix/sysv/linux/s390/Dist: Move to...
3358         * sysdeps/unix/sysv/linux/s390/s390-32/Dist: ...here.
3359         * sysdeps/unix/sysv/linux/s390/Makefile: Move to...
3360         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: ...here.
3361         * sysdeps/unix/sysv/linux/s390/Versions: Move to...
3362         * sysdeps/unix/sysv/linux/s390/s390-32/Versions: ...here.
3363         * sysdeps/unix/sysv/linux/s390/alphasort64.c: Move to...
3364         * sysdeps/unix/sysv/linux/s390/s390-32/alphasort64.c: ...here.
3365         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Move to...
3366         * sysdeps/unix/sysv/linux/s390/s390-32/bits/fcntl.h: ...here.
3367         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Move to...
3368         * sysdeps/unix/sysv/linux/s390/s390-32/bits/mman.h: ...here.
3369         * sysdeps/unix/sysv/linux/s390/bits/resource.h: Move to...
3370         * sysdeps/unix/sysv/linux/s390/s390-32/bits/resource.h: ...here.
3371         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Move to...
3372         * sysdeps/unix/sysv/linux/s390/s390-32/bits/stat.h: ...here.
3373         * sysdeps/unix/sysv/linux/s390/chown.c: Move to...
3374         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: ...here.
3375         * sysdeps/unix/sysv/linux/s390/clone.S: Move to...
3376         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: ...here.
3377         * sysdeps/unix/sysv/linux/s390/fchown.c: Move to...
3378         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: ...here.
3379         * sysdeps/unix/sysv/linux/s390/fcntl.c: Move to...
3380         * sysdeps/unix/sysv/linux/s390/s390-32/fcntl.c: ...here.
3381         * sysdeps/unix/sysv/linux/s390/fxstat.c: Move to...
3382         * sysdeps/unix/sysv/linux/s390/s390-32/fxstat.c: ...here.
3383         * sysdeps/unix/sysv/linux/s390/getdents64.c: Move to...
3384         * sysdeps/unix/sysv/linux/s390/s390-32/getdents64.c: ...here.
3385         * sysdeps/unix/sysv/linux/s390/getegid.c: Move to...
3386         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: ...here.
3387         * sysdeps/unix/sysv/linux/s390/geteuid.c: Move to...
3388         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: ...here.
3389         * sysdeps/unix/sysv/linux/s390/getgid.c: Move to...
3390         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: ...here.
3391         * sysdeps/unix/sysv/linux/s390/getgroups.c: Move to...
3392         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: ...here.
3393         * sysdeps/unix/sysv/linux/s390/getresgid.c: Move to...
3394         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: ...here.
3395         * sysdeps/unix/sysv/linux/s390/getresuid.c: Move to...
3396         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: ...here.
3397         * sysdeps/unix/sysv/linux/s390/getrlimit.c: Move to...
3398         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: ...here.
3399         * sysdeps/unix/sysv/linux/s390/getrlimit64.c: Move to...
3400         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit64.c: ...here.
3401         * sysdeps/unix/sysv/linux/s390/getuid.c: Move to...
3402         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: ...here.
3403         * sysdeps/unix/sysv/linux/s390/lchown.c: Move to...
3404         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: ...here.
3405         * sysdeps/unix/sysv/linux/s390/lockf64.c: Move to...
3406         * sysdeps/unix/sysv/linux/s390/s390-32/lockf64.c: ...here.
3407         * sysdeps/unix/sysv/linux/s390/lxstat.c: Move to...
3408         * sysdeps/unix/sysv/linux/s390/s390-32/lxstat.c: ...here.
3409         * sysdeps/unix/sysv/linux/s390/mmap.S: Move to...
3410         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: ...here.
3411         * sysdeps/unix/sysv/linux/s390/mmap64.S: Move to...
3412         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: ...here.
3413         * sysdeps/unix/sysv/linux/s390/msgctl.c: Move to...
3414         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: ...here.
3415         * sysdeps/unix/sysv/linux/s390/oldgetrlimit64.c: Move to...
3416         * sysdeps/unix/sysv/linux/s390/s390-32/oldgetrlimit64.c: ...here.
3417         * sysdeps/unix/sysv/linux/s390/readdir64.c: Move to...
3418         * sysdeps/unix/sysv/linux/s390/s390-32/readdir64.c: ...here.
3419         * sysdeps/unix/sysv/linux/s390/readdir64_r.c: Move to...
3420         * sysdeps/unix/sysv/linux/s390/s390-32/readdir64_r.c: ...here.
3421         * sysdeps/unix/sysv/linux/s390/register-dump.h: Move to...
3422         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: ...here.
3423         * sysdeps/unix/sysv/linux/s390/scandir64.c: Move to...
3424         * sysdeps/unix/sysv/linux/s390/s390-32/scandir64.c: ...here.
3425         * sysdeps/unix/sysv/linux/s390/semctl.c: Move to...
3426         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: ...here.
3427         * sysdeps/unix/sysv/linux/s390/setegid.c: Move to...
3428         * sysdeps/unix/sysv/linux/s390/s390-32/setegid.c: ...here.
3429         * sysdeps/unix/sysv/linux/s390/seteuid.c: Move to...
3430         * sysdeps/unix/sysv/linux/s390/s390-32/seteuid.c: ...here.
3431         * sysdeps/unix/sysv/linux/s390/setfsgid.c: Move to...
3432         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: ...here.
3433         * sysdeps/unix/sysv/linux/s390/setfsuid.c: Move to...
3434         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: ...here.
3435         * sysdeps/unix/sysv/linux/s390/setgid.c: Move to...
3436         * sysdeps/unix/sysv/linux/s390/s390-32/setgid.c: ...here.
3437         * sysdeps/unix/sysv/linux/s390/setgroups.c: Move to...
3438         * sysdeps/unix/sysv/linux/s390/s390-32/setgroups.c: ...here.
3439         * sysdeps/unix/sysv/linux/s390/setregid.c: Move to...
3440         * sysdeps/unix/sysv/linux/s390/s390-32/setregid.c: ...here.
3441         * sysdeps/unix/sysv/linux/s390/setresgid.c: Move to...
3442         * sysdeps/unix/sysv/linux/s390/s390-32/setresgid.c: ...here.
3443         * sysdeps/unix/sysv/linux/s390/setresuid.c: Move to...
3444         * sysdeps/unix/sysv/linux/s390/s390-32/setresuid.c: ...here.
3445         * sysdeps/unix/sysv/linux/s390/setreuid.c: Move to...
3446         * sysdeps/unix/sysv/linux/s390/s390-32/setreuid.c: ...here.
3447         * sysdeps/unix/sysv/linux/s390/setrlimit.c: Move to...
3448         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: ...here.
3449         * sysdeps/unix/sysv/linux/s390/setuid.c: Move to...
3450         * sysdeps/unix/sysv/linux/s390/s390-32/setuid.c: ...here.
3451         * sysdeps/unix/sysv/linux/s390/shmctl.c: Move to...
3452         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: ...here.
3453         * sysdeps/unix/sysv/linux/s390/socket.S: Move to...
3454         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: ...here.
3455         * sysdeps/unix/sysv/linux/s390/sys/procfs.h: Move to...
3456         * sysdeps/unix/sysv/linux/s390/s390-32/sys/procfs.h: ...here.
3457         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Move to...
3458         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: ...here.
3459         * sysdeps/unix/sysv/linux/s390/syscall.S: Move to...
3460         * sysdeps/unix/sysv/linux/s390/s390-32/syscall.S: ...here.
3461         * sysdeps/unix/sysv/linux/s390/syscalls.list: Move to...
3462         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: ...here.
3463         * sysdeps/unix/sysv/linux/s390/sysdep.S: Move to...
3464         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: ...here.
3465         * sysdeps/unix/sysv/linux/s390/sysdep.h: Move to...
3466         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: ...here.
3467         * sysdeps/unix/sysv/linux/s390/versionsort64.c: Move to...
3468         * sysdeps/unix/sysv/linux/s390/s390-32/versionsort64.c: ...here.
3469         * sysdeps/unix/sysv/linux/s390/xstat.c: Move to...
3470         * sysdeps/unix/sysv/linux/s390/s390-32/xstat.c: ...here.
3472 2001-03-13  Martin Schwidefsky  <schwidefsky@de.ibm.com>
3474         * sysdeps/unix/sysv/linux/s390/s390-64/Dist: New file.
3475         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: New file.
3476         * sysdeps/unix/sysv/linux/s390/s390-64/bits/elfclass.h: New file.
3477         * sysdeps/unix/sysv/linux/s390/s390-64/bits/fcntl.h: New file.
3478         * sysdeps/unix/sysv/linux/s390/s390-64/bits/ipc.h: New file.
3479         * sysdeps/unix/sysv/linux/s390/s390-64/bits/mman.h: New file.
3480         * sysdeps/unix/sysv/linux/s390/s390-64/bits/msq.h: New file.
3481         * sysdeps/unix/sysv/linux/s390/s390-64/bits/resource.h: New file.
3482         * sysdeps/unix/sysv/linux/s390/s390-64/bits/sem.h: New file.
3483         * sysdeps/unix/sysv/linux/s390/s390-64/bits/shm.h: New file.
3484         * sysdeps/unix/sysv/linux/s390/s390-64/bits/sigaction.h: New file.
3485         * sysdeps/unix/sysv/linux/s390/s390-64/bits/siginfo.h: New file.
3486         * sysdeps/unix/sysv/linux/s390/s390-64/bits/sigstack.h: New file.
3487         * sysdeps/unix/sysv/linux/s390/s390-64/bits/stat.h: New file.
3488         * sysdeps/unix/sysv/linux/s390/s390-64/bits/types.h: New file.
3489         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: New file.
3490         * sysdeps/unix/sysv/linux/s390/s390-64/fstatfs64.c: New file.
3491         * sysdeps/unix/sysv/linux/s390/s390-64/ftruncate64.c: New file.
3492         * sysdeps/unix/sysv/linux/s390/s390-64/fxstat.c: New file.
3493         * sysdeps/unix/sysv/linux/s390/s390-64/fxstat64.c: New file.
3494         * sysdeps/unix/sysv/linux/s390/s390-64/getdents.c: New file.
3495         * sysdeps/unix/sysv/linux/s390/s390-64/getdents64.c: New file.
3496         * sysdeps/unix/sysv/linux/s390/s390-64/getrlimit64.c: New file.
3497         * sysdeps/unix/sysv/linux/s390/s390-64/glob.c: New file.
3498         * sysdeps/unix/sysv/linux/s390/s390-64/glob64.c: New file.
3499         * sysdeps/unix/sysv/linux/s390/s390-64/kernel_stat.h: New file.
3500         * sysdeps/unix/sysv/linux/s390/s390-64/lxstat.c: New file.
3501         * sysdeps/unix/sysv/linux/s390/s390-64/lxstat64.c: New file.
3502         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: New file.
3503         * sysdeps/unix/sysv/linux/s390/s390-64/mmap64.c: New file.
3504         * sysdeps/unix/sysv/linux/s390/s390-64/pread64.c: New file.
3505         * sysdeps/unix/sysv/linux/s390/s390-64/pwrite64.c: New file.
3506         * sysdeps/unix/sysv/linux/s390/s390-64/readdir.c: New file.
3507         * sysdeps/unix/sysv/linux/s390/s390-64/readdir64.c: New file.
3508         * sysdeps/unix/sysv/linux/s390/s390-64/readdir64_r.c: New file.
3509         * sysdeps/unix/sysv/linux/s390/s390-64/readdir_r.c : New file.
3510         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: New file.
3511         * sysdeps/unix/sysv/linux/s390/s390-64/setrlimit64.c: New file.
3512         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: New file.
3513         * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c: New file.
3514         * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c: New file.
3515         * sysdeps/unix/sysv/linux/s390/s390-64/sigsuspend.c: New file.
3516         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: New file.
3517         * sysdeps/unix/sysv/linux/s390/s390-64/statfs64.c: New file.
3518         * sysdeps/unix/sysv/linux/s390/s390-64/sys/procfs.h: New file.
3519         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: New file.
3520         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: New file.
3521         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: New file.
3522         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: New file.
3523         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: New file.
3524         * sysdeps/unix/sysv/linux/s390/s390-64/truncate64.c: New file.
3525         * sysdeps/unix/sysv/linux/s390/s390-64/xstat.c: New file.
3526         * sysdeps/unix/sysv/linux/s390/s390-64/xstat64.c: New file.
3528 2001-03-13  Martin Schwidefsky  <schwidefsky@de.ibm.com>
3530         * sysdeps/s390/Dist: Move to...
3531         * sysdeps/s390/390-32/Dist: ...here.
3532         * sysdeps/s390/Implies: Move to...
3533         * sysdeps/s390/s390-32/Implies: ...here.
3534         * sysdeps/s390/Makefile: Move to...
3535         * sysdeps/s390/s390-32/Makefile: ...here.
3536         * sysdeps/s390/Versions: Move to...
3537         * sysdeps/s390-32/s390/Versions: ...here.
3538         * sysdeps/s390/add_n.S: Move to...
3539         * sysdeps/s390/s390-32/add_n.S: ...here.
3540         * sysdeps/s390/addmul_1.S: Move to...
3541         * sysdeps/s390/s390-32/addmul_1.S: ...here.
3542         * sysdeps/s390/atomicity.h: Move to...
3543         * sysdeps/s390/s390-32/atomicity.h: ...here.
3544         * sysdeps/s390/backtrace.c: Move to...
3545         * sysdeps/s390/s390-32/backtrace.c: ...here.
3546         * sysdeps/s390/bcopy.S: Move to...
3547         * sysdeps/s390/s390-32/bcopy.S: ...here.
3548         * sysdeps/s390/bits/byteswap.h: Move to...
3549         * sysdeps/s390/s390-32/bits/byteswap.h: ...here.
3550         * sysdeps/s390/bits/huge_val.h: Move to...
3551         * sysdeps/s390/s390-32/bits/huge_val.h: ...here.
3552         * sysdeps/s390/bsd-_setjmp.S: Move to...
3553         * sysdeps/s390/s390-32/bsd-_setjmp.S: ...here.
3554         * sysdeps/s390/bsd-setjmp.S: Move to...
3555         * sysdeps/s390/s390-32/bsd-setjmp.S: ...here.
3556         * sysdeps/s390/bzero.S: Move to...
3557         * sysdeps/s390/s390-32/bzero.S: ...here.
3558         * sysdeps/s390/elf/bsd-_setjmp.S: Move to...
3559         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: ...here.
3560         * sysdeps/s390/elf/bsd-setjmp.S: Move to...
3561         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: ...here.
3562         * sysdeps/s390/elf/start.S: Move to...
3563         * sysdeps/s390/s390-32/elf/start.S: ...here.
3564         * sysdeps/s390/ffs.c: Move to...
3565         * sysdeps/s390/s390-32/ffs.c: ...here.
3566         * sysdeps/s390/memchr.S: Move to...
3567         * sysdeps/s390/s390-32/memchr.S: ...here.
3568         * sysdeps/s390/memcpy.S: Move to...
3569         * sysdeps/s390/s390-32/memcpy.S: ...here.
3570         * sysdeps/s390/memset.S: Move to...
3571         * sysdeps/s390/s390-32/memset.S: ...here.
3572         * sysdeps/s390/mul_1.S: Move to...
3573         * sysdeps/s390/s390-32/mul_1.S: ...here.
3574         * sysdeps/s390/s390-mcount.S: Move to...
3575         * sysdeps/s390/s390-32/s390-mcount.S: ...here.
3576         * sysdeps/s390/strcpy.S: Move to...
3577         * sysdeps/s390/s390-32/strcpy.S: ...here.
3578         * sysdeps/s390/strncpy.S: Move to...
3579         * sysdeps/s390/s390-32/strncpy.S: ...here.
3580         * sysdeps/s390/sub_n.S: Move to...
3581         * sysdeps/s390/s390-32/sub_n.S: ...here.
3583 2001-03-13  Martin Schwidefsky  <schwidefsky@de.ibm.com>
3585         * sysdeps/s390/s390-64/Dist: New file.
3586         * sysdeps/s390/s390-64/Implies: New file.
3587         * sysdeps/s390/s390-64/Makefile: New file.
3588         * sysdeps/s390/s390-64/__longjmp.c: New file.
3589         * sysdeps/s390/s390-64/add_n.S: New file.
3590         * sysdeps/s390/s390-64/atomicity.h: New file.
3591         * sysdeps/s390/s390-64/backtrace.c: New file.
3592         * sysdeps/s390/s390-64/bcopy.S: New file.
3593         * sysdeps/s390/s390-64/bits/byteswap.h: New file.
3594         * sysdeps/s390/s390-64/bits/huge_val.h: New file.
3595         * sysdeps/s390/s390-64/bits/setjmp.h: New file.
3596         * sysdeps/s390/s390-64/bits/string.h: New file.
3597         * sysdeps/s390/s390-64/bsd-_setjmp.S: New file.
3598         * sysdeps/s390/s390-64/bsd-setjmp.S: New file.
3599         * sysdeps/s390/s390-64/bzero.S: New file.
3600         * sysdeps/s390/s390-64/dl-machine.h: New file.
3601         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: New file.
3602         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: New file.
3603         * sysdeps/s390/s390-64/elf/setjmp.S: New file.
3604         * sysdeps/s390/s390-64/elf/start.S: New file.
3605         * sysdeps/s390/s390-64/ffs.c: New file.
3606         * sysdeps/s390/s390-64/initfini.c: New file.
3607         * sysdeps/s390/s390-64/memchr.S: New file.
3608         * sysdeps/s390/s390-64/memcpy.S: New file.
3609         * sysdeps/s390/s390-64/memset.S: New file.
3610         * sysdeps/s390/s390-64/s390x-mcount.S: New file.
3611         * sysdeps/s390/s390-64/setjmp.S: New file.
3612         * sysdeps/s390/s390-64/strcpy.S: New file.
3613         * sysdeps/s390/s390-64/strncpy.S: New file.
3614         * sysdeps/s390/s390-64/sub_n.S: New file.
3615         * sysdeps/s390/s390-64/sysdep.h: New file.
3617 2001-03-13  Martin Schwidefsky  <schwidefsky@de.ibm.com>
3619         * scripts/config.guess: Add support for Linux on 64 bit S/390.
3620         * scripts/config.sub: Likewise.
3622 2001-03-13  Martin Schwidefsky  <schwidefsky@de.ibm.com>
3624         * configure.in: Add support for 64 bit S/390.
3626         * elf/elf.h: Add new relocations for 64 bit S/390.
3628         * shlib-versions: Add rules for Linux on 64 bit S/390.
3630 2001-03-13  Martin Schwidefsky  <schwidefsky@de.ibm.com>
3632         * sysdeps/s390/__longjmp.c: Move to...
3633         * sysdeps/s390/s390-32/__longjmp.c: ...here.  Add code
3634         to load the floating point registers that should be saved
3635         according to the ABI.
3637         * sysdeps/s390/bits/setjmp.h: Move to...
3638         * sysdeps/s390/s390-32/bits/setjmp.h: ...here.  Avoid
3639         the use of long long in the __jmp_buf type definition.
3641         * sysdeps/s390/bits/string.h: Move to...
3642         * sysdeps/s390/s390-32/bits/string.h: ...here.  Add several missing
3643         #ifndef _FORCE_INLINES.
3645         * sysdeps/s390/dl-machine.h: Move to...
3646         * sysdeps/s390/s390-32/dl-machine.h: ...here.  Add a check for the
3647         executables EI_CLASS in elf_machine_matches_host.
3649         * sysdeps/s390/elf/setjmp.S: Move to...
3650         * sysdeps/s390/s390-32/elf/setjmp.S: ...here.  Replace
3651         branches to globally defined symbol __sigsetjmp by branches to
3652         a local label (this avoids the generation of a R_390_PC16DBL
3653         relocation in -fpic code).
3655         * sysdeps/s390/gmp-mparam.h: Use defines from <bits/wordsize.h> to
3656         calculate BITS_PER_MP_LIMB, BYTES_PER_MP_LIMB and BITS_PER_LONGINT.
3658         * sysdeps/s390/initfini.c: Move to...
3659         * sysdeps/s390/s390-32/initfini.c: ...here.  Replace ALIGN with
3660         ".align 4,0x07".
3662         * sysdeps/s390/setjmp.S: Move to...
3663         * sysdeps/s390/s390-32/setjmp.S: ...here.  Add code to store the
3664         floating point registers that should be saved according to the ABI.
3666         * sysdeps/s390/sys/ucontext.h: Remove since it is unused.
3668         * sysdeps/unix/sysv/linux/s390/sysdep.h: Move to...
3669         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: ...here. Include
3670         sysdeps/s390/s390-32/sysdep.h instead of sysdeps/s390/sysdep.h.
3672 2001-03-13  Martin Schwidefsky  <schwidefsky@de.ibm.com>
3674         * configure.in: Change machine=s390 to machine=s390/s390-32.
3676         * elf/elf.h: Correct comment for R_390_PLT16DBL.
3678 2001-03-12  Jakub Jelinek  <jakub@redhat.com>
3680         * csu/Makefile (abi-tag.h): Define OS and version separately, allow
3681         version to be overriden from config.h.
3682         * csu/abi-note.S: Use OS and version separately, include config.h.
3683         * elf/dl-load.c (_dl_osversion): New.
3684         (_dl_map_object_from_fd): Kill some warnings.
3685         (open_verify): Check .note.ABI-tag of the library if present.
3686         * elf/Makefile (CPPFLAGS-dl-load.c): Add -I$(csu-objpfx).
3687         * elf/cache.c (struct cache_entry): Add osversion.
3688         (print_entry): Print osversion.
3689         (print_cache): Pass osversion to it.
3690         (compare): Sort according to osversion.
3691         (save_cache): Set osversion.
3692         (add_to_cache): Add osversion argument.
3693         * sysdeps/generic/ldconfig.h (add_to_cache, process_file,
3694         process_elf_file): Add osversion argument.
3695         * elf/readlib.c (process_file): Likewise.
3696         * sysdeps/generic/readelflib.c (process_elf_file): Likewise.
3697         * sysdeps/unix/sysv/linux/ia64/readelflib.c (process_elf_file,
3698         process_elf32_file, process_elf64_file): Likewise.
3699         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file,
3700         process_elf32_file, process_elf64_file): Likewise.
3701         * sysdeps/unix/sysv/linux/sparc/readelflib.c (process_elf_file,
3702         process_elf32_file, process_elf64_file): Likewise.
3703         * elf/ldconfig.c (manual_link): Pass it.
3704         (search_dir): Issue diagnostic if two libs with the same soname in
3705         the same directory have different .note.ABI-tag.  Record osversion in
3706         dlib_entry and use it from there.
3707         (struct lib_entry): Remove.
3708         (struct dlib_entry): Add osversion.
3709         * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Check
3710         osversion.
3711         * sysdeps/generic/dl-cache.h (struct file_entry_new): Replace __unused
3712         field with osversion.
3713         * sysdeps/generic/ldsodefs.h (_dl_osversion): Declare.
3714         * sysdeps/unix/sysv/linux/init-first.c: Include ldsodefs.h.
3715         * sysdeps/unix/sysv/linux/dl-osinfo.h (DL_SYSDEP_OSCHECK): Save kernel
3716         version in _dl_osversion.
3717         * sysdeps/unix/sysv/linux/configure.in: Define __ABI_TAG_VERSION.
3718         * Makerules (build-shlib-helper, build-module-helper): New.
3719         (build-shlib, build-module-helper): Make sure .note.ABI-tag comes
3720         early.
3721         * config.h.in (__ABI_TAG_VERSION): Add.
3722         * elf/dl-minimal.c (__strtoul_internal): Set endptr on return.
3723         * sysdeps/unix/sysv/linux/i386/dl-librecon.h (EXTRA_LD_ENVVARS):
3724         Handle LD_ASSUME_KERNEL.
3725         * sysdeps/unix/sysv/linux/dl-librecon.h: New.
3727 2001-03-15  Ulrich Drepper  <drepper@redhat.com>
3729         * timezone/antarctica: Update from tzdata2001a.
3730         * timezone/asia: Likewise.
3731         * timezone/australasia: Likewise.
3732         * timezone/backward: Likewise.
3733         * timezone/etcetera: Likewise.
3734         * timezone/europe: Likewise.
3735         * timezone/leapseconds: Likewise.
3736         * timezone/northamerica: Likewise.
3737         * timezone/southamerica: Likewise.
3738         * timezone/systemv: Likewise.
3739         * timezone/yearistype: Likewise.
3740         * timezone/zone.tab: Likewise.
3741         * timezone/tzdump.c: Update from tzcode2001a.
3743 2001-03-15  H.J. Lu  <hjl@gnu.org>
3745         * intl/Makefile: Fix a typo.
3747 2001-03-14  David Mosberger  <davidm@hpl.hp.com>
3749         * gmon/gmon.c (write_call_graph): Avoid unaligned accesses when
3750         writing arc structures.
3752 2001-03-15  H.J. Lu  <hjl@gnu.org>
3754         * elf/Makefile ($(objpfx)tst-pathopt.out): Protected against
3755         cross-compiling.
3757 2001-03-13  Andreas Schwab  <schwab@suse.de>
3759         * posix/PTESTS2C.sed: Replace literal CRs by `\r'.
3761 2001-03-15  Ulrich Drepper  <drepper@redhat.com>
3763         * sysdeps/unix/sysv/linux/cmsg_nxthdr.c (__cmsg_nxthdr): Fix test
3764         for control message fitting into message data.
3765         Patch by James Antill <james@and.org>.
3767         * posix/tst-fnmatch.input: Add test case for FNM_PERIOD handling with
3768         FNM_EXTMATCH.
3770         * posix/fnmatch_loop.c: Optimize handling of ?() and @().
3771         * posix/fnmatch.c: Define STRLEN and STRCAT appropriately.
3773         * posix/Versions [libc] (GLIBC_2.2.3): Add fnmatch.
3774         * posix/fnmatch.c: Define with new default version GLIBC_2.2.3 to
3775         avoid running binaries with libc versions without FNM_EXTMATCH support.
3777         * include/wchar.h: Add prototype for __wcscat.
3778         * wcsmbs/wcscat.c: Define __wcscat and make wcscat weak alias.
3780         * posix/fnmatch.h (FNM_EXTMATCH): Define.
3781         * posix/fnmatch.c (NO_LEADING_PERIOD): Define.
3782         (posixly_correct): Move global variable here.
3783         (INT, EXT, END): Name new functions defined in fnmatch_loop.c.
3784         (fnmatch): Pretty printing.
3785         * posix/fnmatch_loop.c: Add code to handle FNM_EXTMATCH.
3786         * posix/tst-fnmatch.c: Recognize EXTMATCH flag.
3787         * posix/tst-fnmatch.input: Add tests for extended matching.
3789         * posix/testfnm.c: Add test for patterns with multiple ** before /.
3790         * posix/fnmatch_loop.c: Fix problem with the test above.
3792 2001-03-14  Ulrich Drepper  <drepper@redhat.com>
3794         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Remove
3795         reference to usqrt.
3797         * resolv/res_data.c (fp_nquery): Call __res_ninit not __res_init.
3799 2001-03-12  Andreas Jaeger  <aj@suse.de>
3801         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
3802         Use EM_X86_64 instead of EM_X8664.
3804 2001-03-12  Ulrich Drepper  <drepper@redhat.com>
3806         * sysdeps/ieee754/dbl-64/upow.h: Define nZERO and nINF.
3808         * sysdeps/ieee754/dbl-64/e_remainder.c: Fix handling of boundary
3809         conditions.
3811         * sysdeps/ieee754/dbl-64/e_pow.c: Fix handling of boundary
3812         conditions.
3814         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Handle Inf and NaN
3815         correctly.
3816         (__cos): Likewise.
3818         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Handle NaN
3819         correctly.
3820         (__ieee754_acos): Likewise.
3822 2001-03-12  Andreas Jaeger  <aj@suse.de>
3824         * sysdeps/unix/sysv/linux/s390/sysdep.h (_LINUX_S390_SYSDEP_H):
3825         Fix typo.  Patch by Martin Schwidefsky  <schwidefsky@de.ibm.com>.
3827         * sysdeps/s390/bits/string.h: Protect __STRING_INLINE against
3828         redefinition.
3830 2001-03-11  Roland McGrath  <roland@frob.com>
3832         * sysdeps/mach/hurd/configure.in: Add a sanity check on $prefix.
3834 2001-03-11  Ulrich Drepper  <drepper@redhat.com>
3836         * sysdeps/ieee754/dbl-64/endian.h: Define also one of BIG_ENDI and
3837         LITTLE_ENDI.
3839         * sysdeps/ieee754/dbl-64/MathLib.h (Init_Lib): Use void as
3840         parameter list.
3842         Last-bit accurate math library implementation by IBM Haifa.
3843         Contributed by Abraham Ziv <ziv@il.ibm.com>, Moshe Olshansky
3844         <olshansk@il.ibm.com>, Ealan Henis <ealan@il.ibm.com>, and
3845         Anna Reitman <reitman@il.ibm.com>.
3846         * math/Makefile (dbl-only-routines): New variable.
3847         (libm-routines): Add $(dbl-only-routines).
3848         * sysdeps/ieee754/dbl-64/e_acos.c: Empty, definition is in e_asin.c.
3849         * sysdeps/ieee754/dbl-64/e_asin.c: Replaced with accurate asin
3850         implementation.
3851         * sysdeps/ieee754/dbl-64/e_atan2.c: Replaced with accurate atan2
3852         implementation.
3853         * sysdeps/ieee754/dbl-64/e_exp.c: Replaced with accurate exp
3854         implementation.
3855         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Don't use __kernel_sin and
3856         __kernel_cos.
3857         * sysdeps/ieee754/dbl-64/e_log.c: Replaced with accurate log
3858         implementation.
3859         * sysdeps/ieee754/dbl-64/e_remainder.c: Replaced with accurate
3860         remainder implementation.
3861         * sysdeps/ieee754/dbl-64/e_pow.c: Replaced with accurate pow
3862         implementation.
3863         * sysdeps/ieee754/dbl-64/e_sqrt.c: Replaced with accurate sqrt
3864         implementation.
3865         * sysdeps/ieee754/dbl-64/k_cos.c: Empty, definition is in s_sin.c.
3866         * sysdeps/ieee754/dbl-64/k_sin.c: Empty, definition is in s_sin.c.
3867         * sysdeps/ieee754/dbl-64/s_atan.c: Replaced with accurate atan
3868         implementation.
3869         * sysdeps/ieee754/dbl-64/s_cos.c: Empty, definition is in s_sin.c.
3870         * sysdeps/ieee754/dbl-64/s_sin.c: Replaced with accurate sin/cos
3871         implementation.
3872         * sysdeps/ieee754/dbl-64/s_sincos.c: Rewritten to not use __kernel_sin
3873         and __kernel_cos.
3874         * sysdeps/ieee754/dbl-64/s_tan.c: Replaced with accurate tan
3875         implementation.
3876         * sysdeps/ieee754/dbl-64/Dist: Add new non-code files.
3877         * sysdeps/ieee754/dbl-64/MathLib.h: New file.
3878         * sysdeps/ieee754/dbl-64/asincos.tbl: New file.
3879         * sysdeps/ieee754/dbl-64/atnat.h: New file.
3880         * sysdeps/ieee754/dbl-64/atnat2.h: New file.
3881         * sysdeps/ieee754/dbl-64/branred.c: New file.
3882         * sysdeps/ieee754/dbl-64/branred.h: New file.
3883         * sysdeps/ieee754/dbl-64/dla.h: New file.
3884         * sysdeps/ieee754/dbl-64/doasin.c: New file.
3885         * sysdeps/ieee754/dbl-64/doasin.h: New file.
3886         * sysdeps/ieee754/dbl-64/dosincos.c: New file.
3887         * sysdeps/ieee754/dbl-64/dosincos.h: New file.
3888         * sysdeps/ieee754/dbl-64/endian.h: New file.
3889         * sysdeps/ieee754/dbl-64/halfulp.c: New file.
3890         * sysdeps/ieee754/dbl-64/mpa.c: New file.
3891         * sysdeps/ieee754/dbl-64/mpa.h: New file.
3892         * sysdeps/ieee754/dbl-64/mpa2.h: New file.
3893         * sysdeps/ieee754/dbl-64/mpatan.c: New file.
3894         * sysdeps/ieee754/dbl-64/mpatan.h: New file.
3895         * sysdeps/ieee754/dbl-64/mpatan2.c: New file.
3896         * sysdeps/ieee754/dbl-64/mpexp.c: New file.
3897         * sysdeps/ieee754/dbl-64/mpexp.h: New file.
3898         * sysdeps/ieee754/dbl-64/mplog.c: New file.
3899         * sysdeps/ieee754/dbl-64/mplog.h: New file.
3900         * sysdeps/ieee754/dbl-64/mpsqrt.c: New file.
3901         * sysdeps/ieee754/dbl-64/mpsqrt.h: New file.
3902         * sysdeps/ieee754/dbl-64/mptan.c: New file.
3903         * sysdeps/ieee754/dbl-64/mydefs.h: New file.
3904         * sysdeps/ieee754/dbl-64/powtwo.tbl: New file.
3905         * sysdeps/ieee754/dbl-64/root.tbl: New file.
3906         * sysdeps/ieee754/dbl-64/sincos.tbl: New file.
3907         * sysdeps/ieee754/dbl-64/sincos32.c: New file.
3908         * sysdeps/ieee754/dbl-64/sincos32.h: New file.
3909         * sysdeps/ieee754/dbl-64/slowexp.c: New file.
3910         * sysdeps/ieee754/dbl-64/slowpow.c: New file.
3911         * sysdeps/ieee754/dbl-64/uasncs.h: New file.
3912         * sysdeps/ieee754/dbl-64/uatan.tbl: New file.
3913         * sysdeps/ieee754/dbl-64/uexp.h: New file.
3914         * sysdeps/ieee754/dbl-64/uexp.tbl: New file.
3915         * sysdeps/ieee754/dbl-64/ulog.h: New file.
3916         * sysdeps/ieee754/dbl-64/ulog.tbl: New file.
3917         * sysdeps/ieee754/dbl-64/upow.h: New file.
3918         * sysdeps/ieee754/dbl-64/upow.tbl: New file.
3919         * sysdeps/ieee754/dbl-64/urem.h: New file.
3920         * sysdeps/ieee754/dbl-64/uroot.h: New file.
3921         * sysdeps/ieee754/dbl-64/usncs.h: New file.
3922         * sysdeps/ieee754/dbl-64/utan.h: New file.
3923         * sysdeps/ieee754/dbl-64/utan.tbl: New file.
3924         * sysdeps/i386/fpu/branred.c: New file.
3925         * sysdeps/i386/fpu/doasin.c: New file.
3926         * sysdeps/i386/fpu/dosincos.c: New file.
3927         * sysdeps/i386/fpu/halfulp.c: New file.
3928         * sysdeps/i386/fpu/mpa.c: New file.
3929         * sysdeps/i386/fpu/mpatan.c: New file.
3930         * sysdeps/i386/fpu/mpatan2.c: New file.
3931         * sysdeps/i386/fpu/mpexp.c: New file.
3932         * sysdeps/i386/fpu/mplog.c: New file.
3933         * sysdeps/i386/fpu/mpsqrt.c: New file.
3934         * sysdeps/i386/fpu/mptan.c: New file.
3935         * sysdeps/i386/fpu/sincos32.c: New file.
3936         * sysdeps/i386/fpu/slowexp.c: New file.
3937         * sysdeps/i386/fpu/slowpow.c: New file.
3938         * sysdeps/ia64/fpu/branred.c: New file.
3939         * sysdeps/ia64/fpu/doasin.c: New file.
3940         * sysdeps/ia64/fpu/dosincos.c: New file.
3941         * sysdeps/ia64/fpu/halfulp.c: New file.
3942         * sysdeps/ia64/fpu/mpa.c: New file.
3943         * sysdeps/ia64/fpu/mpatan.c: New file.
3944         * sysdeps/ia64/fpu/mpatan2.c: New file.
3945         * sysdeps/ia64/fpu/mpexp.c: New file.
3946         * sysdeps/ia64/fpu/mplog.c: New file.
3947         * sysdeps/ia64/fpu/mpsqrt.c: New file.
3948         * sysdeps/ia64/fpu/mptan.c: New file.
3949         * sysdeps/ia64/fpu/sincos32.c: New file.
3950         * sysdeps/ia64/fpu/slowexp.c: New file.
3951         * sysdeps/ia64/fpu/slowpow.c: New file.
3952         * sysdeps/m68k/fpu/branred.c: New file.
3953         * sysdeps/m68k/fpu/doasin.c: New file.
3954         * sysdeps/m68k/fpu/dosincos.c: New file.
3955         * sysdeps/m68k/fpu/halfulp.c: New file.
3956         * sysdeps/m68k/fpu/mpa.c: New file.
3957         * sysdeps/m68k/fpu/mpatan.c: New file.
3958         * sysdeps/m68k/fpu/mpatan2.c: New file.
3959         * sysdeps/m68k/fpu/mpexp.c: New file.
3960         * sysdeps/m68k/fpu/mplog.c: New file.
3961         * sysdeps/m68k/fpu/mpsqrt.c: New file.
3962         * sysdeps/m68k/fpu/mptan.c: New file.
3963         * sysdeps/m68k/fpu/sincos32.c: New file.
3964         * sysdeps/m68k/fpu/slowexp.c: New file.
3965         * sysdeps/m68k/fpu/slowpow.c: New file.
3967         * iconvdata/gconv-modules: Add a number of alias, mostly for IBM
3968         codepages.
3970 2001-03-11  Andreas Jaeger  <aj@suse.de>
3972         * elf/elf.h (EM_*): Synch with official list.
3974 2001-03-07  David Mosberger  <davidm@hpl.hp.com>
3976         * sysdeps/ia64/bits/fenv.h (FE_NONIEEE_ENV): New macro.
3978 2001-03-07  Jes Sorensen  <jes@linuxcare.com>
3980         * sysdeps/unix/sysv/linux/ia64/ioperm.c (_ioperm): Remove unused
3981         variables addr & len.
3983 2001-02-22  Jes Sorensen  <jes@linuxcare.com>
3985         * sysdeps/ia64/fpu/feenablxcpt.c (feenableexcept): Remove
3986         punctuation in asm constraint.
3988 2001-03-07  Mark Kettenis  <kettenis@gnu.org>
3990         * resolv/netdb.h [__USE_GNU]: Define __need_timespec and include
3991         <time.h> to get definition of `struct timespec'.
3993 2001-03-08  Jakub Jelinek  <jakub@redhat.com>
3995         * elf/rtld.c (dl_main): If tracing, warn about undefined symbols if
3996         LD_WARN=1, not if LD_WARN is unset.
3998 2001-03-07  Andreas Schwab  <schwab@suse.de>
4000         * elf/ldconfig.h: Moved to ...
4001         * sysdeps/generic/ldconfig.h: ... here.
4002         * sysdeps/unix/sysv/linux/i386/ldconfig.h: New file.
4003         * sysdeps/unix/sysv/linux/m68k/ldconfig.h: New file.
4004         * sysdeps/unix/sysv/linux/ia64/ldconfig.h: New file.
4005         * elf/readlib.c (interpreters, known_libs): Use
4006         SYSDEP_KNOWN_INTERPRETER_NAMES and SYSDEP_KNOWN_LIBRARY_NAMES
4007         instead of hard coding old names.
4009 2001-03-09  Ulrich Drepper  <drepper@redhat.com>
4011         * catgets/Makefile (generated): Add test-gencat.h.
4012         (sample.SJIS.cat): Also generate header.
4013         * catgets/sample.SJIS: Add new set and message, both with symbolic
4014         names.
4015         * catgets/test-gencat.sh: Also compare generated header with what
4016         we expect.
4018 2001-03-07  Jakub Jelinek  <jakub@redhat.com>
4020         * catgets/gencat.c (read_input_file): Preserve properly symbolic
4021         names.
4023 2001-03-06  Andreas Jaeger  <aj@suse.de>
4025         * sysdeps/s390/dl-machine.h (elf_machine_relplt): Removed, it's not
4026         needed.
4027         (elf_machine_pltrel_p): Likewise.
4028         * sysdeps/powerpc/dl-machine.h: Likewise.
4029         * sysdeps/generic/dl-machine.h (elf_machine_pltrel_p): Likewise.
4031 2001-03-09  Ulrich Drepper  <drepper@redhat.com>
4033         * sysdeps/unix/sysv/linux/arm/Dist: Add dl-procinfo.c and
4034         dl-procinfo.h.
4036 2001-03-05  Philip Blundell  <philb@gnu.org>
4038         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c: New file.
4039         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h: New file.
4040         * sysdeps/unix/sysv/linux/arm/Makefile [subdir=elf]
4041         (sysdep-dl-routines, sysdep_routines, sysdep-rtld-routines): Add
4042         dl-procinfo.
4044 2001-03-09  Ulrich Drepper  <drepper@redhat.com>
4046         * dlfcn/tstatexit.c (main): Don't perform the test if __dso_handle
4047         is not available.
4048         * dlfcn/tstcxaatexit.c (main): Likewise.
4050 2001-03-10  Andreas Jaeger  <aj@suse.de>
4052         * sysdeps/i386/fpu/libm-test-ulps: Revert last patch.
4054 2001-03-09  Andreas Jaeger  <aj@suse.de>
4056         * sysdeps/s390/dl-machine.h (elf_machine_matches_host): Handle
4057         both new and old EM_S390 values.
4058         (EM_S390_OLD): New constant.
4060         * elf/elf.h (EM_S390): Use official value.
4062 2001-03-09  Ulrich Drepper  <drepper@redhat.com>
4064         * conform/data/sys/socket.h-data: Allow SO* symbols.
4066 2001-03-07  Andreas Schwab  <schwab@suse.de>
4068         * sysdeps/ia64/fpu/Makefile: Modify sysdep_routines instead of
4069         routines, and sysdep-CPPFLAGS instead of CPPFLAGS.
4071 2001-03-07  Andreas Jaeger  <aj@suse.de>
4073         * resolv/Makefile (routines): Only build gai_sigqueue when threads
4074         are available.
4076 2001-03-07  Jakub Jelinek  <jakub@redhat.com>
4078         * elf/ldconfig.c (_dl_sysdep_message): Remove.
4079         * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h: Include
4080         ldsodefs.h.
4081         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h: Likewise.
4083         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Use
4084         _dl_error_printf instead of _dl_sysdep_error.
4085         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
4086         * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h (_dl_procinfo):
4087         Use _dl_printf instead of _dl_sysdep_message.
4088         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h (_dl_procinfo):
4089         Likewise.
4091 2001-03-06  Ben Collins  <bcollins@debian.org>
4093         * manual/arith.texi (Integers): Fix documentation of fast and
4094         least integer typedefs.
4096 2001-03-06  Jakub Jelinek  <jakub@redhat.com>
4098         * resolv/Depend: New file.
4099         * resolv/Makefile (extra-libs, tests): Build libanl and ga_test only
4100         when libpthread is built.
4102 2001-03-06  Andreas Jaeger  <aj@suse.de>
4104         * sysdeps/i386/fpu/libm-test-ulps: Add some deltas.
4106         * sysdeps/sh/dl-machine.h (elf_machine_rela): Add missing comma.
4107         Patch by kaz Kojima <kkojima@rr.iij4u.or.jp>.
4109 2001-03-05  Ulrich Drepper  <drepper@redhat.com>
4111         * stdlib/Versions: Remove __new_exitfn again.  Not needed.
4113 2001-03-05  Andreas Jaeger  <aj@suse.de>
4115         * stdlib/msort.c (qsort): Don't use alloca in a function call.
4117 2001-03-05  Ulrich Drepper  <drepper@redhat.com>
4119         * sysdeps/unix/sysv/linux/bits/stat.h (__S_TYPEISMQ, __S_TYPEISSEM,
4120         __S_TYPEISSHM): Rewrite to enforce correct use the macros.  They still
4121         always return zero.
4122         * sysdeps/unix/sysv/linux/alpha/bits/stat.h: Likewise.
4123         * sysdeps/unix/sysv/linux/ia64/bits/stat.h: Likewise.
4124         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
4125         * sysdeps/unix/sysv/linux/m68k/bits/stat.h: Likewise.
4126         * sysdeps/unix/sysv/linux/mips/bits/stat.h: Likewise.
4127         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
4128         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
4130 2001-03-04  Andreas Jaeger  <aj@suse.de>
4132         * stdlib/longlong.h: Don't use multi-line strings.
4133         * iconvdata/tst-loading.c: Likewise.
4135         * csu/Makefile ($(objpfx)version-info.h): Don't use multi-line
4136         string.
4138 2001-03-04  Ulrich Drepper  <drepper@redhat.com>
4140         * sysdeps/ia64/fpu/libm-test-ulps: Adjust for addition of lgammal.
4142         * rt/lio_listio.c: Add a few asserts.
4144         * elf/global.c: New file.
4145         * elf/globalmod1.c: New file.
4146         * elf/Makefile: Add rules to build and run global.
4148         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Define SI_ASYNCNL.
4149         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
4150         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Likewise.
4151         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
4152         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/siginfo.h: Likewise.
4154         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: New file.
4155         Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>.
4157         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Fix handling of boundary cases.
4159         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Always initialize sign variable.
4160         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
4162         * sysdeps/i386/fpu/libm-test-ulps: Adjust after addition of lgammal.
4164         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Fix typo in last change.
4166 2001-03-04  Andreas Jaeger  <aj@suse.de>
4168         * resolv/tst-aton.c: Add testcase for IP with four periods.
4170         * resolv/inet_addr.c: Don't recognize an IP with four periods.
4171         Patch by Andre' Breiler <A.Breiler@gmx.net>.
4173 2001-02-27  Philip Blundell  <pb@futuretv.com>
4175         * elf/elf.h: Add new ARM definitions from latest (B-01)
4176         specification.  Correct naming of EF_ARM_ALIGN8 et al.
4178 2001-03-04  Ulrich Drepper  <drepper@redhat.com>
4180         * stdio-common/tst-printf.sh: Remove bashisms.
4181         Patch by Matthew Clarke <Matthew_Clarke@mindlink.bc.ca>.
4183 2001-03-03  Ulrich Drepper  <drepper@redhat.com>
4185         * Versions.def: Add libanl definition.
4186         * shlib-versions: Add entry for libanl.
4187         * resolv/Makefile (distribute): Add gai_misc.h and ga_test.c.
4188         (routines): Add gai_sigqueue.
4189         (extra-libs): Add libanl.
4190         (libanl-routines): New variable.
4191         Add rules to build libanl and ga_test.
4192         * resolv/Versions [libc] (GLIBC_2.2.3): Add __gai_sigqueue.
4193         [libanl]: New library.
4194         * resolv/netdb.h: Add definitions for libanl.
4195         * resolv/getaddrinfo_a.c: New file.
4196         * resolv/gai_cancel.c: New file.
4197         * resolv/gai_error.c: New file.
4198         * resolv/gai_misc.c: New file.
4199         * resolv/gai_misc.h: New file.
4200         * resolv/gai_notify.c: New file.
4201         * resolv/gai_suspend.c: New file.
4202         * resolv/ga_test.c: New file.
4203         * sysdeps/generic/gai_sigqueue.c: New file.
4204         * sysdeps/unix/sysv/linux/gai_sigqueue.c: New file.
4205         * sysdeps/generic/bits/siginfo.h: Allow __need_sigevent_t being defined
4206         and provide only that definition.
4207         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Likewise.
4208         * sysdeps/unix/sysv/linux/bits/siginfo.h: Likewise.
4209         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
4210         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Likewise.
4211         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
4212         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/siginfo.h: Likewise.
4214         * rt/aio_misc.c: Fix typos in comments.
4215         * rt/lio_listio.c: Pretty printing.  Little optimization in request
4216         list handling.
4218         * elf/rtld.c: Remove commented out code.
4220         * sysdeps/unix/sysv/linux/linux_fsinfo.h (SHMFS_SUPER_MAGIC):
4221         Update for real 2.4 kernels.
4223 2001-03-01  Ulrich Drepper  <drepper@redhat.com>
4225         * elf/dl-load.c: Pretty printing.
4227         * elf/dl-object.c (_dl_new_object): Don't add the loader's scope
4228         twice.
4230 2001-02-28  Ulrich Drepper  <drepper@redhat.com>
4232         * sysdeps/alpha/dl-machine.h (elf_machine_rela): Don't handle
4233         relocations which are not in ld.so if RTLD_BOOTSTRAP is defined.
4235         * sysdeps/powerpc/dl-machine.c (__process_machine_rela): Fix typo.
4237         * elf/dl-misc.c (_dl_debug_vdprintf): Fix typo visible on 64-bit
4238         machines.
4240         * sysdeps/unix/sysv/linux/powerpc/sysdep.h (C_TEXT): Define.
4242 2001-02-27  Ulrich Drepper  <drepper@redhat.com>
4244         * sysdeps/powerpc/elf/libc-start.c: Use new output functions and
4245         _dl_debug_mask.
4247         * elf/Versions [ld]: Don't export _dl_debug_message anymore.  Export
4248         _dl_debug_printf.
4249         * elf/dl-misc.c: Remove definition of _dl_sysdep_output and
4250         _dl_debug_message.  Define _dl_debug_vdprintf, _dl_debug_printf,
4251         _dl_debug_printf_c, and _dl_printf.
4252         * sysdeps/generic/ldsodefs.h: Don't declare _dl_sysdep_output,
4253         _dl_debug_message, _dl_sysdep_message, _dl_sysdep_error, and
4254         _dl_sysdep_fatal.  Declare _dl_debug_printf, _dl_debug_printf_c,
4255         _dl_printf, _dl_error_printf, and _dl_fatal_printf.
4256         * elf/dl-close.c: Replace use of old output functions with the new
4257         ones.
4258         * elf/dl-deps.c: Likewise.
4259         * elf/dl-error.c: Likewise.
4260         * elf/dl-fini.c: Likewise.
4261         * elf/dl-init.c: Likewise.
4262         * elf/dl-load.c: Likewise.
4263         * elf/dl-lookup.c: Likewise.
4264         * elf/dl-minimal.c: Likewise.
4265         * elf/dl-open.c: Likewise.
4266         * elf/dl-profile.c: Likewise.
4267         * elf/dl-reloc.c: Likewise.
4268         * elf/dl-version.c: Likewise.
4269         * elf/do-lookup.h: Likewise.
4270         * elf/rtld.c: Likewise.
4271         * sysdeps/generic/dl-cache.c: Likewise.
4272         * sysdeps/generic/dl-sysdep.c: Likewise.
4273         * sysdeps/generic/libc-start.c: Likewise.
4274         * sysdeps/i386/dl-machine.h: Likewise.
4275         * sysdeps/arm/dl-machine.h: Likewise.
4276         * sysdeps/hppa/dl-machine.h: Likewise.
4277         * sysdeps/m68k/dl-machine.h: Likewise.
4278         * sysdeps/powerpc/dl-machine.h: Likewise.
4279         * sysdeps/s390/dl-machine.h: Likewise.
4280         * sysdeps/sh/dl-machine.h: Likewise.
4281         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
4282         * sysdeps/unix/sysv/linux/i386/dl-librecon.h: Likewise.
4283         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
4285         * sysdeps/generic/ldsodefs.h: Remove _dl_secure declaration.
4287         * dlfcn/Makefile: Don't run tstatexit test unless .hidden is
4288         supported by assembler.
4290         * sysdeps/generic/ldsodefs.h: Remove commented-out variable
4291         declaractions.
4293         * elf/rtld.c: Little optimizations in handling _dl_lazy.
4295         * elf/cache.c (save_cache): Portability changes.
4296         * elf/dl-profile.c (_dl_start_profile): Likewise.
4298         * elf/sln.c: Cleanups.  Remove arbitrary limits.
4300         * elf/dl-close.c: Replace _dl_debug_* variables with _dl_debug_mask.
4301         * elf/dl-deps.c: Likewise.
4302         * elf/dl-fini.c: Likewise.
4303         * elf/dl-init.c: Likewise.
4304         * elf/dl-load.c: Likewise.
4305         * elf/dl-lookup.c: Likewise.
4306         * elf/dl-open.c: Likewise.
4307         * elf/dl-reloc.c: Likewise.
4308         * elf/dl-support.c: Likewise.
4309         * elf/dl-version.c: Likewise.
4310         * elf/do-lookup.h: Likewise.
4311         * elf/rtld.c: Likewise.
4312         * sysdeps/generic/dl-cache.c: Likewise.
4313         * sysdeps/generic/ldsodefs.h: Likewise.
4314         * sysdeps/generic/libc-start.c: Likewise.
4315         * elf/Versions: Don't export _dl_debug_impcalls and _dl_debug_files.
4316         Export _dl_debug_mask.
4317         * Versions.def: Define GLIBC_2.2.3 for ld.
4319 2001-02-26  Greg McGary  <greg@mcgary.org>
4321         * sysdeps/unix/make-syscalls.sh (ptr): Handle `V' keyletter.
4323 2001-02-26  Paul Eggert  <eggert@twinsun.com>
4325         Modify mkstemp.c and tempname.c so that they can be used by
4326         GNU applications on non-glibc platforms.
4328         * misc/mkstemp.c (__GT_FILE): Define to zero if not defined.
4330         * sysdeps/posix/tempname.c: Include <config.h> if HAVE_CONFIG_H.
4331         Include <stddef.h>, <stdint.h>, <string.h> only if
4332         STDC_HEADERS || _LIBC.
4333         Include <fcntl.h> only if HAVE_FCNTL_H || _LIBC.
4334         Include <unistd.h> only if HAVE_UNISTD_H || _LIBC.
4335         Include <sys/time.h> only if HAVE_SYS_TIME_H || _LIBC.
4336         (__set_errno): Define this macro if <errno.h> doesn't.
4337         (P_tmpdir, TMP_MAX, __GT_FILE, __GT_BIGFILE, __GT_DIR, __GT_NOCREATE):
4338         Define these macros if <stdio.h> doesn't.
4339         (S_ISDIR, S_IRUSR, S_IWUSR, S_IXUSR):
4340         Define these macros if <sys/stat.h> doesn't.
4341         Ignore <sys/stat.h> S_ISDIR if STAT_MACROS_BROKEN.
4342         (stat64, __getpid, __gettimeofday, __mkdir, __open, __open64,
4343         lxstat64, __xstat64): Define if not _LIBC.
4344         (struct_stat64): New macro.
4345         (direxists, __gen_tempname): Use it, to avoid a
4346         portability problem with Solaris 8.
4347         (__secure_getenv): Define if ! (HAVE___SECURE_GETENV || _LIBC).
4348         (__gen_tempname): Invoke gettimeofday only if
4349         HAVE_GETTIMEOFDAY || _LIBC; otherwise, fall back on plain "time".
4350         Use portable macros like S_IRUSR | S_IWUSR rather than nonportable
4351         octal values like 0600.
4353 2001-02-26  Ulrich Drepper  <drepper@redhat.com>
4355         * sysdeps/ieee754/ldbl-96/e_jnl.c: New file.
4356         Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>.
4358         * sysdeps/i386/fpu/libm-test-ulps: Update for jnl and ynl introduction.
4359         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
4361         * posix/wordexp-test.c (testit): Remove warnings.
4363         * dlfcn/Makefile (distribute): Add modatexit.c and modcxaatexit.c.
4364         (tests): Add tstatexit and tstcxaatexit.
4365         (module-names): Add modatexit and modcxaatexit.
4366         Add rules to build and run tstatexit and tstcxaatexit.
4367         * dlfcn/modatexit.c: New file.
4368         * dlfcn/modcxaatexit.c: New file.
4369         * dlfcn/tstatexit.c: New file.
4370         * dlfcn/tstcxaatexit.c: New file.
4372         * io/Makefile: Pass -DHAVE_DOT_HIDDEN to stat and mknod functions if
4373         .hidden is available.
4374         * io/stat.c: If .hidden is available use it to avoid exporting
4375         functions.
4376         * io/fstat.c: Likewise.
4377         * io/lstat.c: Likewise.
4378         * io/stat64.c: Likewise.
4379         * io/fstat64.c: Likewise.
4380         * io/lstat64.c: Likewise.
4381         * sysdeps/generic/mknod.c: Likewise.
4383         * malloc/mtrace.c: Use __cxa_atexit and not atexit.
4384         * sysdeps/generic/bb_init_func.c: Likewise.
4385         * sysdeps/generic/libc-start.c: Likewise.
4387         * stdlib/atexit.c (__new_exitfn): Move to cxa_atexit.c.
4388         (atexit): Implement using __cxa_atexit.
4389         Use .hidden if availble to avoid exporting atexit.
4390         * stdlib/cxa_atexit.c (__new_exitfn): Moved to here from atexit.c.
4391         * stdlib/Versions: Export __new_exitfn for GLIBC_2.2.3.
4392         * stdlib/Makefile (routines): Add old_atexit.
4393         (static-only-routines): Add atexit.
4394         Pass -DHAVE_DOT_HIDDEN for atexit.c if .hidden is available.
4395         * stdlib/old_atexit.c: New file.
4397         * intl/Makefile: Remove bogus endif.
4399 2001-02-26  Andreas Jaeger  <aj@suse.de>
4401         * iconvdata/Makefile (tests): Fix typo in last patch.
4403         * intl/Makefile (tests): Run mtrace-tst-gettext only when perl is
4404         available.
4405         Reported by Achim Gottinger <achim@gentoo.org>.
4407 2001-02-25  Andreas Jaeger  <aj@suse.de>
4409         * intl/Makefile (plural.c): Reorder rules so that they work if
4410         BISON doesn't exist.
4412 2001-02-25  Ulrich Drepper  <drepper@redhat.com>
4414         * intl/locale.alias: Don't use nb_NO but define aliases for it.
4416 2001-02-23  Ulrich Drepper  <drepper@redhat.com>
4418         * sysdeps/i386/strtok.S: Continue to return NULL after the first
4419         time this happened.
4421 2001-02-23  Andreas Jaeger  <aj@suse.de>
4423         * string/tester.c (test_strtok_r): Add testcase.
4424         (test_strtok_r): Always initialize cp for proper checking.
4426         * sysdeps/generic/strtok.c (strtok): Handle case of first strtok
4427         returning NULL correctly.
4428         Patch by Fumitoshi UKAI <ukai@debian.or.jp>.
4429         * sysdeps/generic/strtok_r.c (__strtok_r): Likewise.
4431 2001-02-23  Ulrich Drepper  <drepper@redhat.com>
4433         * sysdeps/unix/sysv/aix/bits/types.h: Define __need_NULL before
4434         including <stddef.h>.
4435         * sysdeps/unix/sysv/aix/write.c: Define alias __libc_write.
4436         * include/libc-symbols.h (weak_alias): Don't use .weak if
4437         HAVE_ASM_GLOBAL_DOT_NAME is defined.
4438         Patches by Michael Keezer <mkeezer@redhat.com>.
4440         * sysdeps/generic/ftime.c: Don't include <sys/time.h> at all.
4441         Patch by Michael Keezer <mkeezer@redhat.com>.
4443         * sysdeps/unix/sysv/aix/Dist: Remove restf.S and savef.S.
4444         * sysdeps/unix/sysv/aix/Makefile [$(subdir) == misc]
4445         (sysdep_routines): Remove restf.S and savef.S.
4446         * sysdeps/unix/sysv/aix/restf.S. Removed.
4447         * sysdeps/unix/sysv/aix/savef.S. Removed.
4448         * sysdeps/powerpc/fprrest.S: Use C_TEXT to define label.  Also define
4449         alternative names used on some platforms.
4450         * sysdeps/powerpc/fprsave.S: Likewise.
4451         * sysdeps/powerpc/gprrest0.S: Likewise.
4452         * sysdeps/powerpc/gprrest1.S: Likewise.
4453         * sysdeps/powerpc/gprsave0.S: Likewise.
4454         * sysdeps/powerpc/gprsave1.S: Likewise.
4455         Patch by Michael Keezer <mkeezer@redhat.com>.
4457 2001-02-22  Ulrich Drepper  <drepper@redhat.com>
4459         * sysdeps/i386/elf/start.S (_fp_hw): Actually define label.
4461 2001-02-22  Andreas Jaeger  <aj@suse.de>
4463         * string/tst-strtok.c (main): Fix error messages.
4465 2001-02-22  Andreas Jaeger  <aj@suse.de>
4467         * math/Makefile: Remove omit-long-double-fcts.
4469 2001-02-18  Maciej W. Rozycki  <macro@ds2.pg.gda.pl>
4471         * sysdeps/mips/bsd-_setjmp.S (_setjmp): Reorder instructions to
4472         avoid problems on MIPS I.
4473         * sysdeps/mips/bsd-setjmp.S (setjmp): Likewise.
4475         * sysdeps/mips/dl-machine.h (RTLD_START): Remove duplicate ".set
4476         noreorder".
4478 2001-02-21  Ulrich Drepper  <drepper@redhat.com>
4480         * posix/fnmatch_loop.c: Handle ranges outside glibc correctly.
4482         * sysdeps/generic/ftime.c: Include <time.h>.
4484         * configure.in: Don't check for libgd if user passed --without-gd.
4485         Patch by Achim Gottinger <achim@gentoo.org>.
4487         * sysdeps/i386/i686/strtok.S: Continue to return NULL after the
4488         first time this happened.
4489         * string/Makefile (tests): Add tst-strtok.
4491 2001-02-21  Andreas Jaeger  <aj@suse.de>
4493         * string/tst-strtok.c: New testcase, reported by
4494         Andrew Church <achurch@achurch.org>.
4496 2001-02-20  Ulrich Drepper  <drepper@redhat.com>
4498         * libio/iofwide.c: Remove fwide alias.
4500 2001-02-20  Andreas Jaeger  <aj@suse.de>
4502         * iconvdata/Makefile (tests): Only run mtrace-tst-loading if perl
4503         is available.
4504         Reported by Achim Gottinger <achim@gentoo.org>.
4506 2001-02-19  Ulrich Drepper  <drepper@redhat.com>
4508         * iconv/tst-iconv1.c (main): Remove debugging code.
4510         * sysdeps/ieee754/flt-32/e_powf.c: Handle x == +-1 correctly.
4511         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
4513         * sysdeps/generic/e_scalb.c: Set invalid exception for invalid
4514         parameters.
4515         * sysdeps/generic/e_scalbf.c: Likewise.
4516         * sysdeps/generic/e_scalbl.c: Likewise.
4518         * sysdeps/ia64/fpu/Makefile (libm-sysdep-routines): Add libm_error,
4519         libm_frexp4, libm_frexp4f, libm_frexp4l, and all the functions also
4520         in libc.
4521         (routines): Replace libm_error with libc_libm_error.
4522         * sysdeps/ia64/fpu/Dist: Add libc_libm_error.c.
4523         * sysdeps/ia64/fpu/libc_libm_error.c: New file.
4525 2001-02-18  Mark Kettenis  <kettenis@gnu.org>
4527         * malloc/mtrace.c [USE_IN_LIBIO]: Define fopen as _IO_fopen64.
4528         (mtrace): Revert 2001-02-13 patch: use fopen instead of fopen64.
4530 2001-02-17  H.J. Lu  <hjl@gnu.org>
4532         * sysdeps/unix/sysv/linux/ia64/clone2.S: Use clone2 and don't use
4533         scratch registers across the system call.
4535 2001-02-19  Andreas Jaeger  <aj@suse.de>
4537         * malloc/Makefile (tests): Run mtrace only when perl is available.
4538         Reported by Achim Gottinger <achim@gentoo.org>.
4540 2001-02-19  Ulrich Drepper  <drepper@redhat.com>
4542         * sysdeps/ieee754/ldbl-96/e_j1l.c: New file.
4543         Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>.
4545         * sysdeps/i386/fpu/libm-test-ulps: Adjust error values for j1 and y1.
4546         * sysdeps/ia64/fpu/libm-test-ulps: Adjust error values for y1.
4547         * math/libm-test.inc (j1_test): Mark constants as long double.
4548         (jn_test): Likewise.
4549         (y1_test): Likewise.
4550         (yn_test): Likewise.
4552         * libio/iogetline.c: Move return until after last statement.
4554         * localedata/show-ucs-data.c: Don't show < > for better readability.
4556         * sysdeps/ia64/fpu/Dist: New file.
4557         * sysdeps/ia64/fpu/Makefile: New file.
4558         * sysdeps/ia64/fpu/Versions: New file.
4559         * sysdeps/ia64/fpu/e_acos.S: New file.
4560         * sysdeps/ia64/fpu/e_acosf.S: New file.
4561         * sysdeps/ia64/fpu/e_acosl.S: New file.
4562         * sysdeps/ia64/fpu/e_asin.S: New file.
4563         * sysdeps/ia64/fpu/e_asinf.S: New file.
4564         * sysdeps/ia64/fpu/e_asinl.S: New file.
4565         * sysdeps/ia64/fpu/e_atan2.S: New file.
4566         * sysdeps/ia64/fpu/e_atan2f.S: New file.
4567         * sysdeps/ia64/fpu/e_atan2l.c: New file.
4568         * sysdeps/ia64/fpu/e_cosh.S: New file.
4569         * sysdeps/ia64/fpu/e_coshf.S: New file.
4570         * sysdeps/ia64/fpu/e_coshl.S: New file.
4571         * sysdeps/ia64/fpu/e_exp.S: New file.
4572         * sysdeps/ia64/fpu/e_expf.S: New file.
4573         * sysdeps/ia64/fpu/e_expl.c: New file.
4574         * sysdeps/ia64/fpu/e_fmod.S: New file.
4575         * sysdeps/ia64/fpu/e_fmodf.S: New file.
4576         * sysdeps/ia64/fpu/e_fmodl.S: New file.
4577         * sysdeps/ia64/fpu/e_hypot.S: New file.
4578         * sysdeps/ia64/fpu/e_hypotf.S: New file.
4579         * sysdeps/ia64/fpu/e_hypotl.S: New file.
4580         * sysdeps/ia64/fpu/e_log.S: New file.
4581         * sysdeps/ia64/fpu/e_log10.c: New file.
4582         * sysdeps/ia64/fpu/e_log10f.c: New file.
4583         * sysdeps/ia64/fpu/e_log10l.c: New file.
4584         * sysdeps/ia64/fpu/e_logf.S: New file.
4585         * sysdeps/ia64/fpu/e_logl.c: New file.
4586         * sysdeps/ia64/fpu/e_pow.S: New file.
4587         * sysdeps/ia64/fpu/e_powf.S: New file.
4588         * sysdeps/ia64/fpu/e_powl.S: New file.
4589         * sysdeps/ia64/fpu/e_rem_pio2.c: New file.
4590         * sysdeps/ia64/fpu/e_rem_pio2f.c: New file.
4591         * sysdeps/ia64/fpu/e_remainder.S: New file.
4592         * sysdeps/ia64/fpu/e_remainderf.S: New file.
4593         * sysdeps/ia64/fpu/e_remainderl.S: New file.
4594         * sysdeps/ia64/fpu/e_scalb.S: New file.
4595         * sysdeps/ia64/fpu/e_scalbf.S: New file.
4596         * sysdeps/ia64/fpu/e_scalbl.S: New file.
4597         * sysdeps/ia64/fpu/e_sinh.S: New file.
4598         * sysdeps/ia64/fpu/e_sinhf.S: New file.
4599         * sysdeps/ia64/fpu/e_sinhl.S: New file.
4600         * sysdeps/ia64/fpu/e_sqrt.S: New file.
4601         * sysdeps/ia64/fpu/e_sqrtf.S: New file.
4602         * sysdeps/ia64/fpu/e_sqrtl.S: New file.
4603         * sysdeps/ia64/fpu/k_rem_pio2.c: New file.
4604         * sysdeps/ia64/fpu/k_rem_pio2f.c: New file.
4605         * sysdeps/ia64/fpu/k_rem_pio2l.c: New file.
4606         * sysdeps/ia64/fpu/libm_atan2_reg.S: New file.
4607         * sysdeps/ia64/fpu/libm_error.c: New file.
4608         * sysdeps/ia64/fpu/libm_frexp4.S: New file.
4609         * sysdeps/ia64/fpu/libm_frexp4f.S: New file.
4610         * sysdeps/ia64/fpu/libm_frexp4l.S: New file.
4611         * sysdeps/ia64/fpu/libm_reduce.S: New file.
4612         * sysdeps/ia64/fpu/libm_support.h: New file.
4613         * sysdeps/ia64/fpu/libm_tan.S: New file.
4614         * sysdeps/ia64/fpu/s_atan.S: New file.
4615         * sysdeps/ia64/fpu/s_atanf.S: New file.
4616         * sysdeps/ia64/fpu/s_atanl.S: New file.
4617         * sysdeps/ia64/fpu/s_cbrt.S: New file.
4618         * sysdeps/ia64/fpu/s_cbrtf.S: New file.
4619         * sysdeps/ia64/fpu/s_cbrtl.S: New file.
4620         * sysdeps/ia64/fpu/s_ceil.S: New file.
4621         * sysdeps/ia64/fpu/s_ceilf.S: New file.
4622         * sysdeps/ia64/fpu/s_ceill.S: New file.
4623         * sysdeps/ia64/fpu/s_cos.S: New file.
4624         * sysdeps/ia64/fpu/s_cosf.S: New file.
4625         * sysdeps/ia64/fpu/s_cosl.S: New file.
4626         * sysdeps/ia64/fpu/s_expm1.S: New file.
4627         * sysdeps/ia64/fpu/s_expm1f.S: New file.
4628         * sysdeps/ia64/fpu/s_expm1l.S: New file.
4629         * sysdeps/ia64/fpu/s_floor.S: New file.
4630         * sysdeps/ia64/fpu/s_floorf.S: New file.
4631         * sysdeps/ia64/fpu/s_floorl.S: New file.
4632         * sysdeps/ia64/fpu/s_frexp.c: New file.
4633         * sysdeps/ia64/fpu/s_frexpf.c: New file.
4634         * sysdeps/ia64/fpu/s_frexpl.c: New file.
4635         * sysdeps/ia64/fpu/s_ilogb.S: New file.
4636         * sysdeps/ia64/fpu/s_ilogbf.S: New file.
4637         * sysdeps/ia64/fpu/s_ilogbl.S: New file.
4638         * sysdeps/ia64/fpu/s_ldexp.S: New file.
4639         * sysdeps/ia64/fpu/s_ldexpf.S: New file.
4640         * sysdeps/ia64/fpu/s_ldexpl.S: New file.
4641         * sysdeps/ia64/fpu/s_log1p.S: New file.
4642         * sysdeps/ia64/fpu/s_log1pf.S: New file.
4643         * sysdeps/ia64/fpu/s_log1pl.S: New file.
4644         * sysdeps/ia64/fpu/s_logb.S: New file.
4645         * sysdeps/ia64/fpu/s_logbf.S: New file.
4646         * sysdeps/ia64/fpu/s_logbl.S: New file.
4647         * sysdeps/ia64/fpu/s_matherrf.c: New file.
4648         * sysdeps/ia64/fpu/s_matherrl.c: New file.
4649         * sysdeps/ia64/fpu/s_modf.S: New file.
4650         * sysdeps/ia64/fpu/s_modff.S: New file.
4651         * sysdeps/ia64/fpu/s_modfl.S: New file.
4652         * sysdeps/ia64/fpu/s_nearbyint.S: New file.
4653         * sysdeps/ia64/fpu/s_nearbyintf.S: New file.
4654         * sysdeps/ia64/fpu/s_nearbyintl.S: New file.
4655         * sysdeps/ia64/fpu/s_rint.S: New file.
4656         * sysdeps/ia64/fpu/s_rintf.S: New file.
4657         * sysdeps/ia64/fpu/s_rintl.S: New file.
4658         * sysdeps/ia64/fpu/s_round.S: New file.
4659         * sysdeps/ia64/fpu/s_roundf.S: New file.
4660         * sysdeps/ia64/fpu/s_roundl.S: New file.
4661         * sysdeps/ia64/fpu/s_scalbn.S: New file.
4662         * sysdeps/ia64/fpu/s_scalbnf.S: New file.
4663         * sysdeps/ia64/fpu/s_scalbnl.S: New file.
4664         * sysdeps/ia64/fpu/s_significand.S: New file.
4665         * sysdeps/ia64/fpu/s_significandf.S: New file.
4666         * sysdeps/ia64/fpu/s_significandl.S: New file.
4667         * sysdeps/ia64/fpu/s_sin.c: New file.
4668         * sysdeps/ia64/fpu/s_sincos.c: New file.
4669         * sysdeps/ia64/fpu/s_sincosf.c: New file.
4670         * sysdeps/ia64/fpu/s_sincosl.c: New file.
4671         * sysdeps/ia64/fpu/s_sinf.c: New file.
4672         * sysdeps/ia64/fpu/s_sinl.c: New file.
4673         * sysdeps/ia64/fpu/s_tan.S: New file.
4674         * sysdeps/ia64/fpu/s_tanf.S: New file.
4675         * sysdeps/ia64/fpu/s_tanl.S: New file.
4676         * sysdeps/ia64/fpu/s_trunc.S: New file.
4677         * sysdeps/ia64/fpu/s_truncf.S: New file.
4678         * sysdeps/ia64/fpu/s_truncl.S: New file.
4679         * sysdeps/ia64/fpu/w_acos.c: New file.
4680         * sysdeps/ia64/fpu/w_acosf.c: New file.
4681         * sysdeps/ia64/fpu/w_acosl.c: New file.
4682         * sysdeps/ia64/fpu/w_asin.c: New file.
4683         * sysdeps/ia64/fpu/w_asinf.c: New file.
4684         * sysdeps/ia64/fpu/w_asinl.c: New file.
4685         * sysdeps/ia64/fpu/w_atan2.c: New file.
4686         * sysdeps/ia64/fpu/w_atan2f.c: New file.
4687         * sysdeps/ia64/fpu/w_atan2l.c: New file.
4688         * sysdeps/ia64/fpu/w_cosh.c: New file.
4689         * sysdeps/ia64/fpu/w_coshf.c: New file.
4690         * sysdeps/ia64/fpu/w_coshl.c: New file.
4691         * sysdeps/ia64/fpu/w_exp.c: New file.
4692         * sysdeps/ia64/fpu/w_expf.c: New file.
4693         * sysdeps/ia64/fpu/w_fmod.c: New file.
4694         * sysdeps/ia64/fpu/w_fmodf.c: New file.
4695         * sysdeps/ia64/fpu/w_fmodl.c: New file.
4696         * sysdeps/ia64/fpu/w_hypot.c: New file.
4697         * sysdeps/ia64/fpu/w_hypotf.c: New file.
4698         * sysdeps/ia64/fpu/w_hypotl.c: New file.
4699         * sysdeps/ia64/fpu/w_log.c: New file.
4700         * sysdeps/ia64/fpu/w_log10.c: New file.
4701         * sysdeps/ia64/fpu/w_log10f.c: New file.
4702         * sysdeps/ia64/fpu/w_log10l.c: New file.
4703         * sysdeps/ia64/fpu/w_logf.c: New file.
4704         * sysdeps/ia64/fpu/w_logl.c: New file.
4705         * sysdeps/ia64/fpu/w_pow.c: New file.
4706         * sysdeps/ia64/fpu/w_powf.c: New file.
4707         * sysdeps/ia64/fpu/w_powl.c: New file.
4708         * sysdeps/ia64/fpu/w_remainder.c: New file.
4709         * sysdeps/ia64/fpu/w_remainderf.c: New file.
4710         * sysdeps/ia64/fpu/w_remainderl.c: New file.
4711         * sysdeps/ia64/fpu/w_scalb.c: New file.
4712         * sysdeps/ia64/fpu/w_scalbf.c: New file.
4713         * sysdeps/ia64/fpu/w_scalbl.c: New file.
4714         * sysdeps/ia64/fpu/w_sqrt.c: New file.
4715         * sysdeps/ia64/fpu/w_sqrtf.c: New file.
4716         * sysdeps/ia64/fpu/w_sqrtl.c: New file.
4717         * sysdeps/ia64/fpu/libm-test-ulps: Adjust for long double
4718         implementation.
4719         * sysdeps/ia64/fpu/bits/mathdef.h: Correct float_t and double_t types.
4720         Change FP_ILOGBNAN for new implementation.
4721         * Verions.def: Add 2.2.3 versions.
4723 2001-02-18  Ulrich Drepper  <drepper@redhat.com>
4725         * math/libm-test.inc (scalb_test): Require invalid exception being
4726         raised for invalid parameters.
4727         * sysdeps/i386/fpu/e_scalb.S: Raise invalid exception if necessary.
4728         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
4729         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
4731 2001-02-18  Mark Kettenis  <kettenis@gnu.org>
4733         * sysdeps/mach/getsysstats.c (__get_phys_pages): Change return
4734         value to long int.
4735         (__get_avphys_pages): Likewise.
4737 2001-02-18  Ulrich Drepper  <drepper@redhat.com>
4739         * math/libm-test.inc (pow_test): Correct expected results for x == +-1.
4740         * sysdeps/i386/fpu/e_pow.S: Handle x == +-1 correctly.
4741         * sysdeps/i386/fpu/e_powf.S: Likewise.
4742         * sysdeps/i386/fpu/e_powl.S: Likewise.
4744         * sysdeps/i386/fpu/bits/mathinline.h: Remove pow inline code.
4746 2001-02-17  Ulrich Drepper  <drepper@redhat.com>
4748         * math/Makefile (libm-calls): It's e_exp2 not s_exp2.
4750         * sysdeps/generic/s_exp2l.c: Renamed to...
4751         * sysdeps/generic/e_exp2l.c: ...this.   New file.
4752         * sysdeps/i386/fpu/s_exp2.S: Renamed to...
4753         * sysdeps/i386/fpu/e_exp2.S: ...this.   New file.
4754         * sysdeps/i386/fpu/s_exp2f.S: Renamed to...
4755         * sysdeps/i386/fpu/e_exp2f.S: ...this.   New file.
4756         * sysdeps/i386/fpu/s_exp2l.S: Renamed to...
4757         * sysdeps/i386/fpu/e_exp2l.S: ...this.   New file.
4758         * sysdeps/ieee754/flt-32/s_exp2f.c: Renamed to...
4759         * sysdeps/ieee754/flt-32/e_exp2f.c: ...this.   New file.
4760         * sysdeps/ieee754/dbl-64/s_exp2.c: Renamed to...
4761         * sysdeps/ieee754/dbl-64/e_exp2.c: ...this.   New file.
4762         * sysdeps/m68k/fpu/s_exp2.c: Renamed to...
4763         * sysdeps/m68k/fpu/e_exp2.c: ...this.   New file.
4764         * sysdeps/m68k/fpu/s_exp2f.c: Renamed to...
4765         * sysdeps/m68k/fpu/e_exp2f.c: ...this.   New file.
4766         * sysdeps/m68k/fpu/s_exp2l.c: Renamed to...
4767         * sysdeps/m68k/fpu/e_exp2l.c: ...this.   New file.
4769 2001-02-17  Andreas Jaeger  <aj@suse.de>
4771         * configure.in: Allow gcc 3.
4773 2001-02-16  Ulrich Drepper  <drepper@redhat.com>
4775         * math/w_acos.c: Move to ...
4776         * sysdeps/generic/w_acos.c: ...here.  New file.
4777         * math/w_acosf.c: Move to ...
4778         * sysdeps/generic/w_acosf.c: ...here.  New file.
4779         * math/w_acosh.c: Move to ...
4780         * sysdeps/generic/w_acosh.c: ...here.  New file.
4781         * math/w_acoshf.c: Move to ...
4782         * sysdeps/generic/w_acoshf.c: ...here.  New file.
4783         * math/w_acoshl.c: Move to ...
4784         * sysdeps/generic/w_acoshl.c: ...here.  New file.
4785         * math/w_acosl.c: Move to ...
4786         * sysdeps/generic/w_acosl.c: ...here.  New file.
4787         * math/w_asin.c: Move to ...
4788         * sysdeps/generic/w_asin.c: ...here.  New file.
4789         * math/w_asinf.c: Move to ...
4790         * sysdeps/generic/w_asinf.c: ...here.  New file.
4791         * math/w_asinl.c: Move to ...
4792         * sysdeps/generic/w_asinl.c: ...here.  New file.
4793         * math/w_atan2.c: Move to ...
4794         * sysdeps/generic/w_atan2.c: ...here.  New file.
4795         * math/w_atan2f.c: Move to ...
4796         * sysdeps/generic/w_atan2f.c: ...here.  New file.
4797         * math/w_atan2l.c: Move to ...
4798         * sysdeps/generic/w_atan2l.c: ...here.  New file.
4799         * math/w_atanh.c: Move to ...
4800         * sysdeps/generic/w_atanh.c: ...here.  New file.
4801         * math/w_atanhf.c: Move to ...
4802         * sysdeps/generic/w_atanhf.c: ...here.  New file.
4803         * math/w_atanhl.c: Move to ...
4804         * sysdeps/generic/w_atanhl.c: ...here.  New file.
4805         * math/w_cosh.c: Move to ...
4806         * sysdeps/generic/w_cosh.c: ...here.  New file.
4807         * math/w_coshf.c: Move to ...
4808         * sysdeps/generic/w_coshf.c: ...here.  New file.
4809         * math/w_coshl.c: Move to ...
4810         * sysdeps/generic/w_coshl.c: ...here.  New file.
4811         * math/w_drem.c: Move to ...
4812         * sysdeps/generic/w_drem.c: ...here.  New file.
4813         * math/w_dremf.c: Move to ...
4814         * sysdeps/generic/w_dremf.c: ...here.  New file.
4815         * math/w_dreml.c: Move to ...
4816         * sysdeps/generic/w_dreml.c: ...here.  New file.
4817         * math/w_exp10.c: Move to ...
4818         * sysdeps/generic/w_exp10.c: ...here.  New file.
4819         * math/w_exp10f.c: Move to ...
4820         * sysdeps/generic/w_exp10f.c: ...here.  New file.
4821         * math/w_exp10l.c: Move to ...
4822         * sysdeps/generic/w_exp10l.c: ...here.  New file.
4823         * math/w_exp2.c: Move to ...
4824         * sysdeps/generic/w_exp2.c: ...here.  New file.
4825         * math/w_exp2f.c: Move to ...
4826         * sysdeps/generic/w_exp2f.c: ...here.  New file.
4827         * math/w_exp2l.c: Move to ...
4828         * sysdeps/generic/w_exp2l.c: ...here.  New file.
4829         * math/w_fmod.c: Move to ...
4830         * sysdeps/generic/w_fmod.c: ...here.  New file.
4831         * math/w_fmodf.c: Move to ...
4832         * sysdeps/generic/w_fmodf.c: ...here.  New file.
4833         * math/w_fmodl.c: Move to ...
4834         * sysdeps/generic/w_fmodl.c: ...here.  New file.
4835         * math/w_hypot.c: Move to ...
4836         * sysdeps/generic/w_hypot.c: ...here.  New file.
4837         * math/w_hypotf.c: Move to ...
4838         * sysdeps/generic/w_hypotf.c: ...here.  New file.
4839         * math/w_hypotl.c: Move to ...
4840         * sysdeps/generic/w_hypotl.c: ...here.  New file.
4841         * math/w_j0.c: Move to ...
4842         * sysdeps/generic/w_j0.c: ...here.  New file.
4843         * math/w_j0f.c: Move to ...
4844         * sysdeps/generic/w_j0f.c: ...here.  New file.
4845         * math/w_j0l.c: Move to ...
4846         * sysdeps/generic/w_j0l.c: ...here.  New file.
4847         * math/w_j1.c: Move to ...
4848         * sysdeps/generic/w_j1.c: ...here.  New file.
4849         * math/w_j1f.c: Move to ...
4850         * sysdeps/generic/w_j1f.c: ...here.  New file.
4851         * math/w_j1l.c: Move to ...
4852         * sysdeps/generic/w_j1l.c: ...here.  New file.
4853         * math/w_jn.c: Move to ...
4854         * sysdeps/generic/w_jn.c: ...here.  New file.
4855         * math/w_jnf.c: Move to ...
4856         * sysdeps/generic/w_jnf.c: ...here.  New file.
4857         * math/w_jnl.c: Move to ...
4858         * sysdeps/generic/w_jnl.c: ...here.  New file.
4859         * math/w_lgamma.c: Move to ...
4860         * sysdeps/generic/w_lgamma.c: ...here.  New file.
4861         * math/w_lgammaf.c: Move to ...
4862         * sysdeps/generic/w_lgammaf.c: ...here.  New file.
4863         * math/w_lgammaf_r.c: Move to ...
4864         * sysdeps/generic/w_lgammaf_r.c: ...here.  New file.
4865         * math/w_lgammal.c: Move to ...
4866         * sysdeps/generic/w_lgammal.c: ...here.  New file.
4867         * math/w_lgammal_r.c: Move to ...
4868         * sysdeps/generic/w_lgammal_r.c: ...here.  New file.
4869         * math/w_lgamma_r.c: Move to ...
4870         * sysdeps/generic/w_lgamma_r.c: ...here.  New file.
4871         * math/w_log10.c: Move to ...
4872         * sysdeps/generic/w_log10.c: ...here.  New file.
4873         * math/w_log10f.c: Move to ...
4874         * sysdeps/generic/w_log10f.c: ...here.  New file.
4875         * math/w_log10l.c: Move to ...
4876         * sysdeps/generic/w_log10l.c: ...here.  New file.
4877         * math/w_log.c: Move to ...
4878         * sysdeps/generic/w_log.c: ...here.  New file.
4879         * math/w_logf.c: Move to ...
4880         * sysdeps/generic/w_logf.c: ...here.  New file.
4881         * math/w_logl.c: Move to ...
4882         * sysdeps/generic/w_logl.c: ...here.  New file.
4883         * math/w_pow.c: Move to ...
4884         * sysdeps/generic/w_pow.c: ...here.  New file.
4885         * math/w_powf.c: Move to ...
4886         * sysdeps/generic/w_powf.c: ...here.  New file.
4887         * math/w_powl.c: Move to ...
4888         * sysdeps/generic/w_powl.c: ...here.  New file.
4889         * math/w_remainder.c: Move to ...
4890         * sysdeps/generic/w_remainder.c: ...here.  New file.
4891         * math/w_remainderf.c: Move to ...
4892         * sysdeps/generic/w_remainderf.c: ...here.  New file.
4893         * math/w_remainderl.c: Move to ...
4894         * sysdeps/generic/w_remainderl.c: ...here.  New file.
4895         * math/w_scalb.c: Move to ...
4896         * sysdeps/generic/w_scalb.c: ...here.  New file.
4897         * math/w_scalbf.c: Move to ...
4898         * sysdeps/generic/w_scalbf.c: ...here.  New file.
4899         * math/w_scalbl.c: Move to ...
4900         * sysdeps/generic/w_scalbl.c: ...here.  New file.
4901         * math/w_sinh.c: Move to ...
4902         * sysdeps/generic/w_sinh.c: ...here.  New file.
4903         * math/w_sinhf.c: Move to ...
4904         * sysdeps/generic/w_sinhf.c: ...here.  New file.
4905         * math/w_sinhl.c: Move to ...
4906         * sysdeps/generic/w_sinhl.c: ...here.  New file.
4907         * math/w_sqrtl.c: Move to ...
4908         * sysdeps/generic/w_sqrtl.c: ...here.  New file.
4909         * math/w_tgamma.c: Move to ...
4910         * sysdeps/generic/w_tgamma.c: ...here.  New file.
4911         * math/w_tgammaf.c: Move to ...
4912         * sysdeps/generic/w_tgammaf.c: ...here.  New file.
4913         * math/w_tgammal.c: Move to ...
4914         * sysdeps/generic/w_tgammal.c: ...here.  New file.
4916         * locale/programs/ld-address.c (address_finish): Add 'S' to allow
4917         formats for postal_fmt.
4919 2001-02-16  Jakub Jelinek  <jakub@redhat.com>
4921         * sysdeps/unix/sysv/linux/alpha/syscalls.list (ftruncate): Add
4922         __ftruncate64 alias.
4923         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (ftruncate):
4924         Likewise.
4926 2001-02-15  David Mosberger  <davidm@hpl.hp.com>
4928         * sysdeps/unix/sysv/linux/ia64/__longjmp.S (__longjmp): No need to
4929         do "loadrs".  Writing to bspstore already takes care of
4930         invalidating the "clean" partition.
4932 2001-02-16  Andreas Schwab  <schwab@suse.de>
4934         * sysdeps/m68k/fpu/s_nextafterl.c: New file.
4935         * sysdeps/m68k/fpu/s_fpclassifyl.c: New file.
4937 2001-02-15  Jakub Jelinek  <jakub@redhat.com>
4939         * posix/regex.c (init_syntax_once): Add prototype.
4940         (TRANSLATE): If MBS_SUPPORT, translate all characters up to '\xff'.
4941         (re_search_2): Avoid warning.
4942         (count_mbs_length): Add prototype.
4943         * posix/tst-regex3.c: New file.
4944         * posix/Makefile (tests): Add bug-regex3.
4946 2001-02-15  Ulrich Drepper  <drepper@redhat.com>
4948         * stdio-common/Makefile (tests): Add tst-gets.
4949         * stdio-common/tst-gets.c: New file.
4950         * stdio-common/tst-gets.input: New file.
4952         * elf/elf.h (DT_CHECKSUM): Define.
4954         * sysdeps/generic/strtoll.c: Don't export __strto*_internal as
4955         default symbol.
4956         * sysdeps/generic/strtoull.c: Likewise.
4958 2001-02-14  Wolfram Gloger  <wg@malloc.de>
4960         * malloc/malloc.c (new_heap): When allocating large chunk aligned
4961         to HEAP_MAX_SIZE, prefer one with lower address, to avoid `holes'
4962         between the heaps.
4964 2001-02-14  Ulrich Drepper  <drepper@redhat.com>
4966         * math/libm-test.inc (j0_test): Check whether sincos is available.
4967         (j1_test): Likewise.
4968         (jn_test): Likewise.
4969         (y0_test): Likewise.
4970         (y1_test): Likewise.
4971         (yn_test): Likewise.
4973         * posix/tst-gnuglob.c: Make a few entries DT_UNKNOWN and teach
4974         fake filesystem routines to handle this.
4976         * time/sys/time.h: Make settimeofday and adjtime available if
4977         _BSD_SOURCE.
4979         * time/sys/time.h: Make timer* macros available for BSD.
4981         * iconvdata/gb18030.c: Update for Dec 2000 re-release of GB18030.
4982         Patch by Yong Li <rigel863@yahoo.com>.
4984         * sysdeps/generic/glob.c (CONVERT_DIRENT_DIRENT64): Fix copying of
4985         name.
4987         * posix/Makefile (tests): Add tst-gnuglob.
4988         * posix/tst-gnuglob.c: New file.
4990 2001-02-13  H.J. Lu  <hjl@gnu.org>
4992         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add __ftruncate64.
4994 2001-02-13  Ulrich Drepper  <drepper@redhat.com>
4996         * locale/programs/ld-paper.c (paper_output): Pretty printing.
4998         * iconvdata/Makefile (modules): Add GBBIG5.
4999         (distribute): Add gbbig5.c.
5000         * iconvdata/gconv-modules: Add entries for GBBIG5 module.
5002         * iconvdata/gbbig5.c: New file.
5003         Contributed by Yong Li <rigel863@yahoo.com>.
5005 2001-02-13  Philip Blundell  <pb@futuretv.com>
5007         * manual/crypt.texi: Remove outdated references to crypt add-on.
5009         * manual/creature.texi: Improve wording slightly.
5011 2001-02-13  Ulrich Drepper  <drepper@redhat.com>
5013         * io/ftw.c: Always use readdir64.
5014         * io/ftw64.c: Likewise.
5015         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
5016         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
5017         * sysdeps/generic/glob.c: Likewise.  Convert results of gl_readdir
5018         callback to dirent.  Still allow compiling outside glibc.
5019         * sysdeps/gnu/glob64.c: Define COMPILE_GLOB64.
5020         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
5022         * malloc/mtrace.c: Use fopen64.
5023         * posix/spawni.c: Use __open64.
5024         * sysdeps/unix/opendir.c: Likewise.
5025         * sysdeps/unix/sysv/linux/gethostid.c: Likewise.
5027         * sysdeps/generic/ftruncate64.c: Define __ftruncate64 and make old
5028         name a weak alias.
5029         * sysdeps/unix/sysv/aix/ftruncate64.c: Likewise.
5030         * sysdeps/unix/sysv/linux/ftruncate64.c: Likewise.
5031         * sysdeps/unix/sysv/linux/mips/ftruncate64.c: Likewise.
5032         * sysdeps/unix/sysv/linux/powerpc/ftruncate64.c: Likewise.
5034         * resolv/res_data.c: Add cast to avoid warning.
5036         * include/unistd.h: Declare __ftruncate64.
5038         * sysdeps/generic/utmp_file.c: Use LFS functions and types.
5040         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use __lseek64
5041         instead of __lseek.
5043 2001-02-13  Andreas Jaeger  <aj@suse.de>
5045         * login/getutent_r.c: Include <stdlib.h> for NULL.
5046         * login/getutid_r.c: Likewise.
5048 2001-02-12  Ulrich Drepper  <drepper@redhat.com>
5050         * sysdeps/dbl-64/e_j0.c: Little optimization, use sincos.
5051         * sysdeps/dbl-64/e_j1.c: Likewise.
5052         * sysdeps/dbl-64/e_jn.c: Likewise.
5053         * sysdeps/flt-32/e_j0f.c: Likewise.
5054         * sysdeps/flt-32/e_j1f.c: Likewise.
5055         * sysdeps/ldbl-96/e_j0l.c: Likewise.
5057 2000-12-02  H.J. Lu  <hjl@gnu.org>
5059         * resolv/res_libc.c (res_init): Don't make it default.
5061 2001-02-12  Ulrich Drepper  <drepper@redhat.com>
5063         * manual/debug.texi: Improved the wording.
5064         Patch by Philip Blundell <pb@futuretv.com>.
5066 2001-02-12  Andreas Jaeger  <aj@suse.de>
5068         * posix/Makefile (tests): Don't run bug-regex2 when
5069         cross-compiling.
5071         * libio/Makefile (tests): Don't run test-freopen when
5072         cross-compiling.
5074         * manual/stdio.texi (Streams and I18N): Fix typos.
5076 2001-02-12  Ulrich Drepper  <drepper@redhat.com>
5078         * sysdeps/i386/fpu/libm-test-ulps: Adjust for errors in y0l.
5080         * math/libm-test.inc (j0_test): Make expected results long double
5081         constants.
5082         (y0_test): Likewise.
5084         * sysdeps/ieee754/ldbl-96/e_j0l.c: New file.
5085         Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>.
5087 2001-02-11  Jakub Jelinek  <jakub@redhat.com>
5089         * sysdeps/generic/strtoll.c (__strtoq_internal): Ressurect alias
5090         which was exported from libc.
5091         * sysdeps/generic/strtoull.c (__strtouq_internal): Likewise.
5093 2001-02-12  Andreas Jaeger  <aj@suse.de>
5095         * manual/arith.texi (Parsing of Integers): Fix some wordings.
5097 2001-02-11  Ulrich Drepper  <drepper@redhat.com>
5099         * sysdeps/generic/getsysstat.c: Change return value of get_phys_pages
5100         and get_avphys_page to long int.
5101         * sysdeps/unix/sysv/linux/getsysstat.c: Likewise.
5102         * include/sys/sysinfo.h: Likewise.
5103         * sysdeps/generic/sys/sysinfo.h: Likewise.
5104         * sysdeps/unix/sysv/linux/sys/sysinfo.h: Likewise.
5106         * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Fail if we
5107         cannot return as many values as the user asked for.
5109 2001-02-11  Andreas Jaeger  <aj@suse.de>
5111         * manual/resource.texi (Memory Resources): Fix typo.
5113         * libio/Makefile ($(objpfx)test-freopen.out): Pass
5114         run-program-prefix.
5116         * libio/test-freopen.sh: Use run_program_prefix.
5118 2001-02-10  Andreas Jaeger  <aj@suse.de>
5120         * stdlib/Makefile (tests): Don't run tst-fmtmsg when
5121         cross-compiling.
5122         ($(objpfx)tst-fmtmsg.out): Pass run-program-prefix.
5124         * stdlib/tst-fmtmsg.sh (test): Use run_program_prefix for static
5125         only builds.
5127         * elf/Makefile (tests): Only run tst-pathopt with shared libs.
5129         * posix/Makefile: Fix typo, it's build-static-nss.
5131         * iconv/Makefile (extra-objs): New.
5133 2001-02-10  Mark Kettenis  <kettenis@gnu.org>
5135         * sysdeps/unix/stime.c: Include <time.h>.
5137         * sysdeps/mach/hurd/setitimer.c: Include <time.h>.
5139 2001-02-10  Andreas Jaeger  <aj@suse.de>
5141         * manual/string.texi (Search Functions): Fix typo.
5143 2001-02-10  Mark Kettenis  <kettenis@gnu.org>
5145         * sysdeps/unix/bsd/times.c: Reorder includes and add <time.h>.
5146         (timeval_to_clock_t): Add clk_tck argument and use that instead of
5147         CLK_TCK.
5148         (__times): Use __getclktck to get the number of clock ticks per
5149         second and use its return value instead of CLK_TCK.
5151 2001-02-10  Mark Kettenis  <kettenis@gnu.org>
5153         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h (_HAVE_SA_LEN): Define.
5155 2001-02-10  Mark Kettenis  <kettenis@gnu.org>
5157         * sysdeps/mach/gettimeofday.c: Include <stddef.h>.
5159 2001-02-10  Andreas Jaeger  <aj@suse.de>
5161         * wctype/wcfuncs.c (func): Add prototype declarations to avoid
5162         warning.
5164 2001-02-09  Ulrich Drepper  <drepper@redhat.com>
5166         * posix/Makefile: Add rules to build and run bug-regex2.
5167         * posix/bug-regex2.c: New file.
5169 2001-02-10  Jakub Jelinek  <jakub@redhat.com>
5171         * posix/regex.c (convert_mbs_to_wcs): Change is_binary to char *.
5172         (regex_compile): Likewise.
5173         (FREE_VARIABLES): Don't free is_binary1 and is_binary2.
5174         (re_match_2_internal): Use just is_binary instead of two variables.
5175         Use REGEX_TALLOC to allocate it and FREE_VAR to free on failure.
5177 2001-02-09  Ulrich Drepper  <drepper@redhat.com>
5179         * version.h (VERSION): Bump to 2.2.2.
5181         * iconv/Makefile (distribute): Add iconv_charmap.c and
5182         dummy-repertoire.c.
5183         * elf/Makefile (distribute): Add firstobj.c.
5184         * Makefile (distribute): Add include/pthread.h.
5186         * configure.in: Require makeinfo version 4.
5188         * libio/tst_wscanf.c (main): Add cast to avoid warning.
5189         * libio/tst_swscanf.c (main): Likewise..
5191 2001-02-09  Jakub Jelinek  <jakub@redhat.com>
5193         * sysdeps/generic/setenv.c (unsetenv): Remove const from len.
5194         * sysdeps/sparc/fpu/bits/mathinline.h (sqrt, fdim): Don't define if
5195         __NO_MATH_INLINES.
5196         * sysdeps/i386/dl-machine.h (elf_machine_rel): Only declare refsym
5197         if not RTLD_BOOTSTRAP.
5198         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
5199         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
5201 2001-02-09  Ulrich Drepper  <drepper@redhat.com>
5203         * locale/programs/linereader.c (get_ident): Stop loop if EOF.  Use
5204         lr_ungetc to push back last read character.
5205         * locale/programs/linereader.h (lr_ungetc): Don't push back is
5206         character is EOF.
5207         (lr_ignore_rest): Don't warn about garbage if it is really the end
5208         of the file.
5210         * manual/Makefile: Use ifnottext and not ifinfo to protect Top node
5211         definition.
5213 2001-02-08  Ulrich Drepper  <drepper@redhat.com>
5215         * Makerules (build-shlib): Work around different order of
5216         processing of -B option in different gcc versions.
5218         * posix/regex.c: Fix alignment problem.
5219         Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
5221         * sysdeps/alpha/strrchr.S: Little optimization.
5222         Patch by Richard Henderson <rth@redhat.com>.
5224         * sysdeps/alpha/alphaev67/strrchr.S: New file.
5225         Contributed by Rick Gorton <rick.gorton@alpha-processor.com>.
5227 2001-02-08  kaz Kojima  <kkojima@rr.iij4u.or.jp>
5229         * sysdeps/sh/sh3/setjmp.S (__sigsetjmp): Correct function name
5230         in the assembler end directive.
5232 2001-02-08  Andreas Jaeger  <aj@suse.de>
5234         * manual/stdio.texi (Closing Streams): Fix typos.
5236 2001-02-07  Ulrich Drepper  <drepper@redhat.com>
5238         * sysdeps/alpha/alphaev67/strncat.S: Align last write address.
5239         Patch by Richard Henderson <rth@redhat.com>.
5240         Reported by Claus-Justus Heine <heine@instmath.rwth-aachen.de>.
5242         * stdlib/strfmon.c [USE_IN_LIBIO]: Define lock variable and store
5243         pointer in FILE structure before calling _IO_init.
5244         * stdlib/Makefile: Add -D_IO_MTSAFE_IO to CFLAGS for strfmon and
5245         strfmon_l if necessary.
5246         Reported by Jury Gerold <gjury@grips.com>.
5248         * sysdeps/gnu/netinet/tcp.h: Correct values of TCP_ macros.
5249         Patch by Pekka.Pietikainen@cern.ch.
5251         * posix/regex.c: Correct several problems with 64-bit architectures
5252         introduced in the MBS changes.
5253         Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
5255 2001-02-07  Jakub Jelinek  <jakub@redhat.com>
5257         * math/tgmath.h: Only add l suffixes if __NO_LONG_DOUBLE_MATH is
5258         not defined.
5259         * sysdeps/alpha/fpu/bits/mathinline.h: Honour __NO_MATH_INLINES.
5261 2001-02-07  Andreas Jaeger  <aj@suse.de>
5263         * manual/install.texi (Tools for Compilation): Fix typo.
5264         Reported by Pavel Machek <pavel@bug.ucw.cz>.
5266 2001-02-07  Ulrich Drepper  <drepper@redhat.com>
5268         * stdlib/strtod.c: Never stop prematurely reading digits before the
5269         decimal point is found.  Compute exponent limit for negative exponents
5270         correctly.  For numbers ending in all zeros eat the zeros even before
5271         the decimal point if the exponent is negative [PR libc/2072].
5272         * stdlib/Makefile (tests): Add bug-strtod.
5273         * stdlib/bug-strtod.c: New file.
5275 2001-02-07  Andreas Jaeger  <aj@suse.de>
5277         * posix/bug-regex1.c: Include <wchar.h> for fwide.
5279 2001-02-06  Ulrich Drepper  <drepper@redhat.com>
5281         * posix/regex.c (regex_compile): Don't store pointer in wchar_t array.
5282         Store index.
5283         (compile_range): Handle index being passed, not pointer.
5284         Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
5286         * posix/regex.c: Fix a cast in the code for bracket handling which
5287         caused 8-bit uncleanliness.
5288         Patch by Michal Jaegermann <michal@ellpspace.math.ualberta.ca>.
5290         * posix/Makefile (tests): Add bug-regex1.
5291         * posix/bug-regex1.c: New file.
5292         Contributed by Jim Meyering <jim@meyering.net>.
5294         * posix/regex.c: Many cleanups for incorrect format strings.
5296 2001-02-06  Andreas Jaeger  <aj@suse.de>
5298         * time/time.h (CLK_TCK): Check for !__STRICT_ANSI.
5300 2001-02-06  Ulrich Drepper  <drepper@redhat.com>
5302         * locale/programs/locale.c (write_locales): Use scandir to read
5303         directory so that the entries are sorted.
5305 2001-02-06  Andreas Jaeger  <aj@suse.de>
5307         * include/pthread.h: New file.
5309         * wctype/wctype.h: Move internal interfaces from here to...
5310         * include/wctype.h: ...here.
5312         * wcsmbs/wchar.h: Move __wcslen from here to...
5313         * include/wchar.h: ...here.
5315         * posix/sys/wait.h: Move __wait from here to...
5316         * include/sys/wait.h: ...here.
5318         * string/string.h: Move __ffs and __strerror_r from here to...
5319         * include/string.h: ...here.
5321         * stdlib/stdlib.h: Move __on_exit from here to...
5322         * include/stdlib.h: ...here.
5324         * libio/stdio.h: Move __vsnprintf from here to...
5325         * include/stdio.h: ...here.
5327 2001-02-06  Andreas Schwab  <schwab@suse.de>
5329         * sysdeps/unix/sysv/linux/ia64/ioperm.c: Don't include kernel
5330         headers.
5332         * timezone/Makefile: Don't assume that $(inst_zonedir) is a subdir
5333         of $(inst_datadir).
5335 2001-02-06  Ulrich Drepper  <drepper@redhat.com>
5337         * iconvdata/Makefile: Add dependency for bug-iconv2.out.
5339 2001-02-06  Andreas Jaeger  <aj@suse.de>
5341         * elf/firstobj.c: Add prototype.
5343         * posix/regex.c (convert_mbs_to_wcs): Make static, add prototype
5344         (truncate_wchar): Likewise.
5346 2001-02-06  Ulrich Drepper  <drepper@redhat.com>
5348         * locale/programs/locale.c: Implement --verbose option for -a
5349         which prints detailed information about the locales.
5351 2001-02-05  Ulrich Drepper  <drepper@redhat.com>
5353         * sunrpc/xdr_rec.c (set_input_fragment): Change type of header
5354         variable to uint32_t.
5355         Reported by Ulrich Weigand <weigand@immd1.informatik.uni-erlangen.de>.
5357 2001-02-04  Bruno Haible  <haible@clisp.cons.org>
5359         * locale/C-translit.h.in: Add transliterations for CJK units of
5360         measurement.
5362 2001-02-05  Ulrich Drepper  <drepper@redhat.com>
5364         * elf/cache.c (print_entry): Use PRIx64 instead of Lx in printf
5365         string.  Include <inttypes.h> instead of <stdint.h>.
5367         * localedata/Makefile (tests): Add bug-iconv-trans.
5368         Define bug-iconv-trans-ENV.
5369         * localedata/bug-iconv-trans.c: New file.
5371 2001-02-04  Bruno Haible  <haible@clisp.cons.org>
5373         * iconv/gconv_trans.c (__gconv_transliterate): Use a temporary output
5374         pointer, to avoid accumulating output from incomplete (unsuccessful)
5375         transliteration attempts.
5377 2001-02-05  Ulrich Drepper  <drepper@redhat.com>
5379         * elf/ldconfig.c (search_dir): Use PRIx64 instead of Lx in printf
5380         string.  Include <inttypes.h> instead of <stdint.h>.
5382         * configure.in: Add check for bison.
5383         * config.make.in: Define BISON variable.
5384         * intl/Makefile: Use BISON instead of YACC when generating plural.c.
5385         Rename YFLAGS to BISONFLAGS.
5387 2001-02-05  Andreas Jaeger  <aj@suse.de>
5389         * io/test-lfs.c (do_test): Test lseek64 return value, call
5390         test_ftello.
5391         (test_ftello): New function to test ftello64 and fseeko64.
5393         * signal/signal.h: Move __sigaction from here to...
5394         * include/signal.h: ...here.
5396         * io/fcntl.h: Move __fcntl and __open to...
5397         * include/fcntl.h: ...here.
5399 2001-02-04  Philip Blundell  <philb@gnu.org>
5401         * configure.in: Distinguish ARM from Thumb.
5403 2001-02-04  Philip Blundell  <philb@gnu.org>
5405         * sysdeps/arm/dl-machine.h (elf_machine_rel): Correct handling of
5406         PC24 relocs with negative value.
5408 2001-02-04  Ulrich Drepper  <drepper@redhat.com>
5410         * iconv/Makefile (iconv_prog-modules): Define.  Add vpath to find
5411         files in locale/programs.  Add CFLAGS definition to allow compiling
5412         localedef files.
5413         * iconv/dummy-repertoire.c: New file.
5414         * iconv/iconv_charmap.c: New file.
5415         * iconv/iconv_prog.h: New file.
5416         * iconv/iconv_prog.c: Make verbose and omit_invalid global.
5417         (main): If parameter for -f and -t contain slashes try first to resolve
5418         the strings as filenames of charmap files.  Use them for conversion
5419         in this case.
5420         * iconvdata/run-iconv-test.sh: If charmaps exist also run tests with
5421         iconv getting charmap names as parameters.
5422         * locale/programs/linereader.c (lr_token): Take extra parameters
5423         verbose and pass it to get_string.
5424         (get_string): Take extra parameters verbose.
5425         * locale/programs/charmap.c (parse_charmap): Take extra parameters
5426         verbose and be_quiet.  Change all callers of lr_token and
5427         parse_charmap.
5428         * locale/programs/charmap.h: Likewise.
5429         * locale/programs/ld-address.c: Likewise.
5430         * locale/programs/ld-collate.c: Likewise.
5431         * locale/programs/ld-ctype.c: Likewise.
5432         * locale/programs/ld-identification.c: Likewise.
5433         * locale/programs/ld-measurement.c: Likewise.
5434         * locale/programs/ld-messages.c: Likewise.
5435         * locale/programs/ld-monetary.c: Likewise.
5436         * locale/programs/ld-name.c: Likewise.
5437         * locale/programs/ld-numeric.c: Likewise.
5438         * locale/programs/ld-paper.c: Likewise.
5439         * locale/programs/ld-telephone.c: Likewise.
5440         * locale/programs/ld-time.c: Likewise.
5441         * locale/programs/linereader.c: Likewise.
5442         * locale/programs/linereader.h: Likewise.
5443         * locale/programs/localedef.c: Likewise.
5444         * locale/programs/locfile.c: Likewise.
5445         * locale/programs/locfile.h: Likewise.
5446         * locale/programs/repertoire.c: Likewise.
5448 2001-02-03  Ulrich Drepper  <drepper@redhat.com>
5450         * iconv/iconv_prog.c (main): If output file name is "-" write to
5451         stdout.
5452         (main): If -f or -t argument is missing use charset of the current
5453         locale.
5455 2001-02-03  Andreas Jaeger  <aj@suse.de>
5457         * sysdeps/i386/elf/start.S (_start): Align stack to 16-byte
5458         boundary for SSE/SSE-2 alignment.
5460         * posix/Makefile ($(objpfx)annexc.out): Also pass sysincludes to
5461         annexc.
5463 2001-02-03  Ulrich Drepper  <drepper@redhat.com>
5465         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: File was using crlf.
5466         Remove comma at end of enum.
5468         * elf/dl-init.c: Add a few __builtin_expect.
5470         * hesiod/hesiod.c: Remove unnecessary code.  Remove all uses of strcat.
5472 2001-02-02  Ulrich Drepper  <drepper@redhat.com>
5474         * hesiod/hesiod.c (hesiod_resolve): Also search HS records if
5475         errno is ECONNREFUSED.
5477         * posix/Makefile: Define MBS_SUPPORT for regex.c.
5478         * posix/regex.c: Implement multibyte character handling.
5479         Patch by Isamu Hasegawa <isamu@yamato.ibm.co.jp>.
5481         * string/tst-svc.input: Add two more test cases.
5482         * string/tst-svc.expect: Modify to reflect new test cases.
5484 2001-02-01  Jakub Jelinek  <jakub@redhat.com>
5486         * sysdeps/posix/getaddrinfo.c (gaih_local, gaih_inet): Replace all
5487         tp->name tests with tp->name[0] tests.
5489 2001-01-29  Ben Collins  <bcollins@debian.org>
5491         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r):
5492         Fix check for name == NULL.
5494 2001-02-01  Ulrich Drepper  <drepper@redhat.com>
5496         * elf/Makefile: Add rules to build and run initfirst test.
5497         * elf/initfirst.c: New file.
5498         * elf/firstobj.c: New file.
5500         * Makerules (build-shlib): Add $(extra-B-$(@F:lib%.so=%).so).
5501         * configure.in: Test for -z initfirst linker option.
5502         * config.make.in: Add have-z-initfirst.
5503         * elf/dl-init.c (_dl_init): Split out actual initialization code in
5504         new function call_init.  If _dl_initfirst is non-NULL initialize first.
5505         * elf/dl-load.c (_dl_map_from_fd): If DF_1_INITFIRST flag is set
5506         remember object in _dl_initfirst.
5507         * elf/soinit.c: Remove special support for calling
5508         __pthread_initialize_minimal.
5510         * conform/conformtest.pl: Add missing $prepend in type test.
5512 2001-01-31  Ulrich Drepper  <drepper@redhat.com>
5514         * elf/elf.h (SHT_CHECKSUM): New definition.
5516         * posix/fnmatch_loop.c: Remove incorrect reverse condition in
5517         [. .] matching.  Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
5518         * posix/tst-fnmatch.input: Add tests for [. .] in locales.
5520 2001-01-31  Mark Kettenis  <kettenis@gnu.org>
5522         * misc/sys/select.h: Include <bits/time.h> instead of <sys/time.h>
5523         to get definition of `struct timeval'.
5525 2001-01-31  Ulrich Drepper  <drepper@redhat.com>
5527         * posix/tst-fnmatch.input: Add test cases for de_DE.UTF-8 locale.
5528         * posix/fnmatch_loop.c: Fix handling of [= =] for multibyte charsets.
5530 2001-01-30  Ulrich Drepper  <drepper@redhat.com>
5532         * iconv/gconv_open.c (__gconv_open): Set conv_flags if IGNORE is
5533         seen, not flags.
5535         * nis/nis_findserv.c: Include <time.h>.
5537 2001-01-30  Yong Li  <yong.li@asu.edu>
5539         * iconv/iconv_prog.c (main): Correct error handling method name.
5541 2001-01-29  Ben Collins  <bcollins@debian.org>
5543         * sysdeps/sparc/fpu/fraiseexcpt.c: Include <float.h>.
5544         * sysdeps/hppa/fpu/fraiseexcpt.c: Likewise.
5545         * sysdeps/m68k/fpu/fraiseexcpt.c: Likewise.
5546         * sysdeps/s390/fpu/fraiseexcpt.c: Likewise.
5548 2001-01-30  Ulrich Drepper  <drepper@redhat.com>
5550         * locale/programs/ld-measurement.c (measurement_finish): Fix a typo.
5551         Patch by Marko Myllynen <myllynen@lut.fi>.
5553         * string/bits/string2.h (__strpbrk_c2): Correct parameter types
5554         (int instead of char).
5555         (__strpbrk_c3): Likewise.
5556         Reported by GOTO Masanori <gotom@debian.or.jp>.
5558         * sysdeps/generic/bits/sockaddr.h: Remove SA_LEN macro.
5559         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Likewise.
5560         * include/sys/socket.h: Add SA_LEN here for internal use.
5561         Reported by Arkadiusz Miskiewicz <misiek@pld.ORG.PL>.
5563 2001-01-29  Ulrich Drepper  <drepper@redhat.com>
5565         * malloc/Makefile: Don't build memusagestat if cross-compiling.
5567         * sysdeps/generic/dl-sysdep.c (set_seen): Fix typo.
5569         * math/libm-test.inc (rint_test): Add a few more tests for round
5570         to even rounding.
5572 2001-01-28  Ulrich Drepper  <drepper@redhat.com>
5574         * conform/data/pthread.h-data: Correct return type of pthread_exit.
5576         * conform/conformtest.pl: Add -fno-builtin to CFLAGS.
5578         * conform/data/stdlib.h-data: Add _Exit.
5580         * inet/arpa/inet.h: Don't include <sys/types.h>.  Define socklen_t
5581         if not already happened.
5582         * inet/netinet/in.h: Don't include <sys/types.h>, use <bits/types.h>.
5583         Don't include <limits.h> and <bits/sockaddr.h>.
5585         * conform/data/netinet/in.h-data: Allow all of <inttypes.h>.
5587         * conform/data/spawn.h-data: Allow all of <sched.h>.
5589         * sysdeps/ia64/fpu/fraiseexcpt.c: Include <float.h>.  Removed
5590         unused variable.
5592         * sunrpc/xdr_rec.c (xdrrec_getpos): Add cast to long to avoid warning.
5593         * sunrpc/xdr_sizeof.c (x_inline): Likewise.
5595         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Include <float.h>.
5597         * conform/conformtest.pl: Define $mustprepend{"stdio.h"}.
5598         * libio/stdio.h: Define va_list correctly.
5600         * conform/data/pthread.h-data: Make priority protocol related
5601         functions optional.  Fix typos.
5603         * posix/sched.h: Define sched_priority as __sched_priority.
5604         * sysdeps/generic/bits/sched.h (struct sched_param): Rename element
5605         to __sched_priority.
5606         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
5608 2001-01-27  Ulrich Drepper  <drepper@redhat.com>
5610         * sysdeps/generic/clock_getcpuclockid.c: Include <time.h> instead
5611         of <sys/time.h>.
5613         * sysdeps/unix/stime.c: Include <stddef.h> for NULL.
5614         * sysdeps/unix/time.c: Likewise.
5616         * conform/data/time.h-data: CLK_TCK is not in XPG6.  Fix tzname entry.
5617         * sysdeps/mach/hurd/bits/time.h: Don't define CLK_TCK for XPG6.
5618         * sysdeps/mach/hurd/i386/bits/time.h: Likewise.
5619         * sysdeps/unix/sysv/linux/bits/time.h: Likewise.
5620         * sysdeps/unix/sysv/linux/alpha/bits/time.h: Likewise.
5621         * sysdeps/unix/sysv/linux/i386/bits/time.h: Likewise.
5622         * sysdeps/unix/sysv/linux/ia64/bits/time.h: Likewise.
5623         * time/time.h: Likewise.
5625         * conform/conformtest.pl (@headers): Add complex.h and tgmath.h.
5626         * conform/data/complex.h-data: New file.
5627         * conform/data/tgmath.h-data: New file.
5629         * conform/data/wchar.h-data: Add missing functions.
5631         * sysdeps/gnu/bits/utmpx.h: Define RUN_LVL only if __USE_GNU.
5633         * conform/data/termios.h-data: Add missing const in tcsetattr()
5634         prototype.
5636         * posix/sys/wait.h: Include <signal.h> and <sys/resource.h>.
5637         Don't define pid_t here.
5639         * conform/data/sys/utsname.h-data: Don't provide fixed array sizes.
5641         * conform/data/sys/time.h-data: Allow sys/select.h.
5642         * conform/data/sys/un.h-data: Fix typo.
5643         * time/sys/time.h: Don't include all of <time.h>, just struct timeval.
5644         * sysdeps/posix/clock_getres.c: Include <time.h> instead of
5645         <sys/time.h>.
5646         * sysdeps/unix/clock_nanosleep.c: Likewise.
5647         * sysdeps/unix/i386/clock_getcpuclockid.c: Likewise.
5648         * sysdeps/unix/i386/i586/clock_getres.c: Likewise.
5649         * sysdeps/unix/clock_gettime.c: Also include <time.h>.
5650         * sysdeps/unix/clock_settime.c: Likewise.
5652         * sysdeps/generic/pselect.c: Include <stddef.h> for NULL.
5653         * login/getutent.c: Likewise.
5654         * login/getutid.c: Likewise.
5655         * login/getutline.c: Likewise.
5657         * socket/sys/un.h: Define SUN_LEN only if __USE_MISC.
5659         * sysdeps/unix/sysv/linux/bits/statvfs.h: Change type of f_fsid field
5660         to unsigned long.  Add __f_unused.  Define _STATVFSBUF_F_UNUSED.
5661         * sysdeps/unix/sysv/linux/internal_statvfs.c: Adjust initialization of
5662         f_fsid field after change in struct statvfs.
5663         * sysdeps/unix/sysv/linux/alpha/bits/statvfs.h: New file.
5664         * sysdeps/unix/sysv/linux/ia64/bits/statvfs.h: New file.
5665         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/statvfs.h: New file.
5667         * conform/data/sys/stat.h-data: Remove isfdtype.  Use
5668         optional-macro.
5670         * conform/data/sys/socket.h-data: Fix typos.  Correct getsockopt,
5671         recvfrom, send, and socketpair prototypes.  Add allow lines.
5672         * socket/sys/socket.h: Include <sys/uio.h>.
5673         Don't use fancy __SOCKADDR_ARG definition unless __USE_GNU.
5674         Fix type of second parameter of listen.
5675         Don't declare isfdtype unless __USE_MISC.
5676         * sysdeps/generic/listen.c: Fix type of second parameter of listen.
5677         * sysdeps/mach/hurd/listen.c: Likewise.
5678         * sysdeps/generic/bits/socket.h (struct sockaddr_storage): Define
5679         ss_family and __ss_family.
5680         * sysdeps/unix/sysv/aix/bits/socket.h: Likewise.
5681         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
5682         (struct msghdr): Change type of msg_iovlen to int and type of
5683         msg_controllen to socklen_t.
5684         * sysdeps/unix/sysv/linux/alpha/bits/socket.h: New file.
5685         * sysdeps/unix/sysv/linux/ia64/bits/socket.h: New file.
5686         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/socket.h: New file.
5687         * inet/rcmd.c (rcmd_af): __ss_family is now ss_family.
5688         (rresvport_af): Likewise.
5690         * conform/data/sys/shm.h-data: SHMLBA is not required to by a constant.
5691         * conform/conformtest.pl: Implement handling of symbol.
5693         * signal/signal.h: Fix handling of __need_* symbols.
5694         * misc/sys/select.c: Define fd_set here.  Remove __fd_set.  Define
5695         fd_mask only if __USE_MISC.  Declare pselect for __USE_XOPEN2K.
5696         * include/sys/select.h: Use fd_set not __fd_set.
5697         * sysdeps/generic/bits/select.h: Likewise.
5698         * sysdeps/i386/bits/select.h: Likewise.
5699         * sysdeps/generic/bits/types.h: Don't define __fd_mask, __NFDBITS,
5700         __FDELT, __FDMASK, and __fd_set here.
5701         * sysdeps/unix/sysv/aix/bits/types.h: Likewise.
5702         * sysdeps/unix/sysv/hpux/bits/types.h: Likewise.
5703         * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
5704         * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
5705         * sysdeps/unix/sysv/linux/ia64/bits/types.h: Likewise.
5706         * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
5707         * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
5708         * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
5709         * time/sys/time.h: Define struct timeval before including <time.h>
5710         and <sys/select.h>.
5712         * conform/data/sys/time.h-data: fd_set is a typedef.
5713         * conform/data/sys/select.h-data: New file.
5714         * conform/data/sys/mman.h-data: Make typed mem stuff optional.
5715         * conform/conformtest.pl (@headers): Add sys/select.h.
5716         (type, optional-type): Unless testing a typedef instantiate object.
5717         Implement optional-function.
5719         * math/test-misc.c: Include <float.h>.
5721 2001-01-27  Andreas Jaeger  <aj@suse.de>
5723         * misc/efgcvt_r.c: Include <float.h>.
5725 2001-01-26  Ulrich Drepper  <drepper@redhat.com>
5727         * conform/data/stdlib.h-data: Account for XPG6 changes.
5728         * stdlib/stdlib.h (__random): Change return value type to long.
5729         (posix_memalign): Cleanup parameter names.
5730         (setenv, unsetenv): Make available for __USE_XOPEN2K.
5731         Change return type of unsetenv to int.
5732         (qecvt, qgcvt, qfcvt): Declare only if __USE_MISC.
5733         * include/stdlib.h: Change return type of unsetenv to int.
5734         Change return type of random to long int.
5735         * sysdeps/generic/setenv.c (unsetenv): Change return type to int.
5736         Return -1 and set errno if parameter is invalid.
5737         * stdlib/random.c (__random): Change return value type to long.
5739         * conform/data/stdio.h-data: Account for changes in XPG6.
5741         * conform/data/spawn.h-data: Correct posix_spawnattr_setflags
5742         prototype.
5744         * conform/conformtest.pl: Define $mustprepend{"signal.h"}.
5745         * conform/data/signal.h-data: Fix sigev_notify_function entry.
5746         Fix typo (SIGVALRM -> SIGVTALRM).
5747         * sysdeps/unix/sysv/linux/bits/siginfo.h: Define sigev_notify_attr
5748         with real type.
5749         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Likewise.
5750         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
5751         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Likewise.
5752         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
5753         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/siginfo.h: Likewise.
5755         * conform/conformtest.pl: Implement optional-element.  Define
5756         $mustprepend{"sched.h"}.
5757         * conform/data/sched.h-data: Make sporadic scheduler definitions
5758         optional.
5760         * pwd/pwd.h: Don't define getpwent_r for XPG.
5762         * io/sys/poll.h: Define nfds_t and use it in poll prototype.
5763         * sysdeps/generic/poll.c: Use nfds_t type in function definition.
5764         * sysdeps/mach/hurd/poll.c: Likewise.
5765         * sysdeps/unix/bsd/poll.c: Likewise.
5766         * sysdeps/unix/sysv/linux/poll.c: Likewise.
5767         * sysdeps/unix/sysv/aix/poll.c: Likewise.
5768         * sysdeps/generic/bits/poll.h: Define NPOLLFILE only if __USE_MISC.
5769         * sysdeps/unix/sysv/linux/bits/poll.h: Likewise.
5770         * sysdeps/unix/sysv/linux/m68k/bits/poll.h: Likewise.
5771         * sysdeps/unix/sysv/linux/mips/bits/poll.h: Likewise.
5772         * sysdeps/unix/sysv/linux/sparc/bits/poll.h: Likewise.
5773         * conform/data/poll.h-data: Fix typo in poll prototype.
5775         * sysdeps/gnu/netinet/tcp.h: Define everything but TCP_ macros
5776         only if __USE_MISC.
5777         * conform/data/netinet/tcp.h-data: Reserved prefix TCP_.
5779         * sysdeps/gnu/net/if.h: Cleanup namespace.  Define IF_NAMESIZE.
5781         * inet/netinet/in.h: Make IPPROTO_ constants also macros.
5783         * conform/conformtest.pl: Implement optional-type.
5785         * resolv/netdb.h: Include <netinet/in.h> not <sys/socket.h>.  Include
5786         <rpc/netdb.h> only if __USE_MISC.  Include <stdint.h> instead of
5787         defining uint32_t here.  Define IPPORT_RESERVED.
5788         (struct hostent): Type of h_length element is int.
5789         (getnameinfo): Type of flags parameter is unsigned int.
5790         * inet/getnameinfo.c (getnameinfo): flags argument is unsigned.
5791         * conform/data/netdb.h-data: Add many missing definitions.
5793         * conform/conformtest.pl: Implement optional-macro.
5794         * conform/data/math.h-data: Update for XPG6.
5796         * math/math.h (HUGE): Define as FLT_MAX value but don't use
5797         FLT_MAX.  Don't include <float.h>.
5798         (MAXFLOAT): Likewise.
5800         * math/math.h: Define MATH_ERRNO and MATH_ERREXCEPT.
5802         * include/bits/xopen_lim.h: Don't define FOPEN_MAX here.
5804         * conform/data/limits.h-data: Mark constants as optional wherever
5805         appropriate.
5807         * posix/bits/posix2_lim.h: Set correct values for
5808         _POSIX2_COLL_WEIGHTS_MAX and _POSIX2_CHARCLASS_NAME_MAX.  Remove
5809         EQUIV_CLASS_MAX.
5811         * posix/bits/posix1_lim.h: Define _POSIX_TZNAME_MAX as 6.
5812         Required by POSIX.
5814         * intl/loadmsgcat.c: Include <locale.h.> for _LIBC.
5816         * conform/data/netinet/in.h-data: Add reserved prefixes.
5818         * conform/data/arpa/inet.h-data: Fix a few typos.
5820 2001-01-26  Andreas Jaeger  <aj@suse.de>
5822         * sysdeps/generic/strtol.c: Include <locale.h>
5823         * stdlib/strtod.c: Likewise
5824         * stdlib/strfmon.c: Likewise.
5825         * string/strcoll.c: Likewise.
5826         * string/strxfrm.c: Likewise.
5827         * wctype/wcfuncs_l.c: Likewise.
5828         * wctype/wctype_l.c: Likewise.
5829         * wctype/wctrans_l.c: Likewise.
5831         * include/bits/locale.h: New file.
5833 2001-01-26  Ulrich Drepper  <drepper@redhat.com>
5835         * locale/langinfo.h: Correct logic in #ifs when defining YESSTR
5836         and NOSTR.
5838         * locale/Makefile (headers): Add bits/locale.h.
5839         * locale/langinfo.h: Don't include <locale.h>.  Include <bits/locale.h>
5840         and use __LC_ constants instead of LC_.
5841         * locale/locale.h: Include <bits/locale.h> and define LC_ constants
5842         using __LC_ constants.
5843         * locale/bits/locale.h: New file.
5844         * locale/loadlocale.c: Include <locale.h>.
5845         * locale/nl_langinfo.h: Likewise.
5847         * posix/glob.h: Cleanup namespace for non-_GNU_SOURCE case.
5849         * io/sys/stat.h: Define S_IFSOCK for XPG6.
5851         * conform/data/fcntl.h-data: posix_madvise is not expected here.
5853         * conform/conformtest.pl: Fix handling of macro-str.
5855         * conform/data/inttypes.h-data: Add missing definition and all of
5856         stdint.h-data.
5858         * sysdeps/unix/sysv/linux/sys/param.h (MAXSYMLINKS): Bump to 20.
5860 2001-01-25  Ulrich Drepper  <drepper@redhat.com>
5862         * conform/conformtest.pl (@headers): Add stdint.h.
5863         * conform/data/stdint.h-data: New file.
5865         * conform/conformtest.pl: Recognize options --headers and
5866         --dialect.  Add dialect-specific CFLAGS.
5868         * conform/conformtest.pl: Implement handling of recursive
5869         allow-header.
5871         * conform/data/locale.h-data: Add new struct lconv members.
5873         * posix/wordexp.h: Correct definition of wordexp_t.
5874         * posix/wordexp.c: Moved to ...
5875         * sysdeps/generic/wordexp.c: ...here.  New file.
5876         * sysdeps/unix/sysv/linux/alpha/wordexp.c: New file.
5877         * sysdeps/unix/sysv/linux/ia64/wordexp.c: New file.
5878         * sysdeps/unix/sysv/linux/sparc/sparc64/wordexp.c: New file.
5879         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.2.2): Add
5880         wordexp.
5881         * sysdeps/unix/sysv/linux/ia64/Versions: Likewise.
5882         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions: Likewise.
5884         * math/tgmath.h: Pretty printing.
5886         * math/Makefile (tests): Add test-tgmath.
5887         (CFLAGS-test-tgmath.c): New variable.
5888         * math/test-tgmath.c: New file.  Contributed by Jakub Jelinek.
5890         * conform/conformtest.pl: Handle allow-header in secondary headers
5891         correctly.
5893         * conform/data/fcntl.h-data: Mark symbols introduced in XPG6 with
5894         #ifdef.
5896         * conform/data/netinet/in.h-data: Use correct comment character.
5897         * conform/data/sys/stat.h-data: Likewise.
5899 2001-01-25  Jakub Jelinek  <jakub@redhat.com>
5901         * math/tgmath.h (__TGMATH_BINARY_FIRST_REAL_ONLY,
5902         __TGMATH_BINARY_REAL_ONLY, __TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY,
5903         __TGMATH_TERNARY_REAL_ONLY): Use proper arguments to
5904         __builtin_classify_type, add ##f suffixes where appropriate.
5905         (__TGMATH_UNARY_REAL_IMAG): Remove extraneous left parenthesis.
5906         (__TGMATH_BINARY_REAL_IMAG): Likewise, use proper arguments to
5907         __builtin_classify_type.
5908         (fma): Fix spelling of first argument.
5910 2001-01-25  Ulrich Drepper  <drepper@redhat.com>
5912         * conform/data/unistd.h-data: Mark functions removed in XPG6
5913         correctly.
5915         * posix/unistd.h: Don't make functions removed in XPG6 available if
5916         __USE_XOPEN2K.
5918         * conform/conformtest.pl: Implement optional-constant.
5919         * conform/data/unistd.h-data: Use optional-constant wherever
5920         appropriate.
5922         * sysdeps/generic/bits/confname.h: Correct names of _SC_PBS
5923         constants and add _SC_STREAMS.
5924         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
5926         * sysdeps/unix/sysv/linux/statvfs64.c: Rename to __statvfs64 and
5927         make old name weak alias.
5928         * sysdeps/generic/statvfs64.c: Likewise.
5929         * sysdeps/unix/sysv/linux/fstatvfs64.c: Rename to __fstatvfs64 and
5930         make old name weak alias.
5931         * sysdeps/generic/fstatvfs64.c: Likewise.
5932         * include/sys/statvfs.h: New file.
5934         * sysdeps/generic/bits/confname.h: Define _PC_REC_INCR_XFER_SIZE,
5935         _PC_REC_MAX_XFER_SIZE, _PC_REC_MIN_XFER_SIZE, and
5936         _PC_REC_XFER_ALIGN.
5937         * sysdeps/posix/pathconf.c (__pathconf): Implement handling of
5938         _PC_REC_INCR_XFER_SIZE, _PC_REC_MAX_XFER_SIZE,
5939         _PC_REC_MIN_XFER_SIZE, and _PC_REC_XFER_ALIGN.
5940         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
5942         * conform/conformtest.pl: Run Unix tests for XPG6.
5943         Implement handling of known namespace violations.
5944         Improve printing of results.
5946         * posix/unistd.h (usleep): Correct return type.
5947         * sysdeps/unix/sysv/linux/usleep.c: Correct return type.
5948         * sysdeps/unix/bsd/usleep.c: Correct return type.
5949         * sysdeps/mach/usleep.c: Correct return type.
5950         * sysdeps/generic/usleep.c: Correct return type.
5952         * posix/unistd.h (sync): Correct return type.
5953         * sysdeps/generic/sync.c: Likewise.
5954         * sysdeps/mach/hurd/sync.c: Likewise.
5956         * sysdeps/generic/bits/confname.h (_SC_IOV_MAX): New definition.
5958         * posix/unistd.h: Make seteuid and setegid available for XPG6.
5960         * wcsmbs/wchar.h: Get FILE definition for XPG5.
5962         * conform/data/ctype.h-data: Use correct comment form.
5963         * conform/data/errno.h-data: Likewise.
5964         * conform/data/math.h-data: Likewise.
5965         * conform/data/mqueue.h-data: Likewise.
5966         * conform/data/netdb.h-data: Likewise.
5967         * conform/data/pthread.h-data: Likewise.
5969 2001-01-24  Ulrich Drepper  <drepper@redhat.com>
5971         * conform/data/wordexp.h-data: Fix typo.
5973         * conform/conformtest.pl: Handle allow-header correctly.
5975         * conform/data/time.h-data: Use correct comment form.
5977         * conform/conformtest.pl (checknamespace): Ignore #undef lines.
5979         * configure.in: Comment out binutils version test.
5981         * stdlib/strtod.c (str_to_mpn): Correct parsing of thousands
5982         separators.
5983         Reported by Lagardere Jean-Francois <LAGARDEREJ@thmulti.com>.
5985         * stdlib/tst-strtod.c (locale_test): New function.
5986         (main): Call locale_test.
5987         * stdlib/Makefile (tst-strtod-ENV): New variable.
5989 2001-01-24  Mark Kettenis  <kettenis@gnu.org>
5991         * hurd/hurdsig.c (_hurdsig_getenv): Remove spurious innermost
5992         declaration of value such that we actually return the value of the
5993         environment variable.
5995 2001-01-24  Andreas Jaeger  <aj@suse.de>
5997         * sysdeps/unix/sysv/linux/init-first.c: Remove extra __sysctl
5998         prototype.
5999         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
6001         * include/sys/sysctl.h: New file.
6003 2001-01-23  Andreas Jaeger  <aj@suse.de>
6005         * stdlib/Makefile ($(objpfx)isomac.out): Also pass sysincludes to
6006         isomac.
6008         * elf/dl-load.c (_dl_init_paths): Don't use strdupa in function
6009         arguments.  Reported by Jiri Kubicek <kubicek@bitsmart.com>,
6010         closes PR libc/2039.
6012         * manual/install.texi (Tools for Compilation): Change required
6013         binutils version.
6015 2001-01-22  Andreas Jaeger  <aj@suse.de>
6017         * configure.in: Add test for new enough binutils version, move
6018         compiler/binutils test up.
6020         * Versions.def: Add version GLIBC_2.2.2.
6022 2001-01-21  Ulrich Drepper  <drepper@redhat.com>
6024         * iconvdata/TESTS: UTF-8 test data for IBM932 and IBM943 are now
6025         available.
6026         * iconvdata/testdata/IBM932: New file.
6027         * iconvdata/testdata/IBM932..UTF8: New file.
6028         * iconvdata/testdata/IBM943: New file.
6029         * iconvdata/testdata/IBM943..UTF8: New file.
6030         Contributed by Masahide Washizawa <washi@jp.ibm.com>.
6032 2001-01-21  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
6034         * sysdeps/unix/sysv/linux/powerpc/mmap64.c: Correctly mask offset.
6036 2001-01-21  Ulrich Drepper  <drepper@redhat.com>
6038         * malloc/malloc.c: Remove a few unnecessary initializers of global
6039         variables.
6041 2000-12-09  H.J. Lu  <hjl@gnu.org>
6043         * nss/Makefile (routines): Add digits_dots.
6044         * nss/Versions (libc): Add __nss_hostname_digits_dots to GLIBC_2.2.2.
6045         * nss/digits_dots.c (__nss_hostname_digits_dots): Turn template
6046         into a function.
6047         * nss/nsswitch.h (__nss_hostname_digits_dots): New internal NSS
6048         function.
6049         * nss/getXXbyYY.c (H_ERRNO_VAR_P): New definition.
6050         (TYPE_VAR_P): Likewise.
6051         (FLAGS_VAR): Likewise.
6052         (AF_VAR_P): Likewise.
6053         (INTERNAL (REENTRANT_NAME)): Call __nss_hostname_digits_dots ()
6054         instead of including digits_dots.c.
6055         * nss/getXXbyYY_r.c (H_ERRNO_VAR_P): New definition.
6056         (TYPE_VAR_P): Likewise.
6057         (FLAGS_VAR): Likewise.
6058         (AF_VAR_P): Likewise.
6059         (INTERNAL (REENTRANT_NAME)): Call __nss_hostname_digits_dots ()
6060         instead of including digits_dots.c.
6062 2001-01-21  Ulrich Drepper  <drepper@redhat.com>
6064         * sysdeps/posix/getaddrinfo.c: Reduce .data size.
6066 2001-01-21  Andreas Jaeger  <aj@suse.de>
6068         * elf/constload2.c: Add prototype for init.
6070 2001-01-21  Ulrich Drepper  <drepper@redhat.com>
6072         * stdlib/stdlib.h (drand48_data): Make available only for
6073         __USE_MISC.  Rename elements to protect namespace.  Change type
6074         and position of a and init element.
6075         * stdlib/drand48-iter.c: Don't handle unsigned short > 16 bit
6076         differently.  Adjust for drand48_data change.  Don't compute a here,
6077         it comes from drand48_data.
6078         * stdlib/lcong48_r.c: Don't handle unsigned short > 16 bit
6079         differently.  Adjust for drand48_data change.  Compute a here.
6080         * stdlib/srand48_r.c: Likewise.
6081         * stdlib/drand48.c: Adjust for drand48_data change.
6082         * stdlib/lrand48.c: Likewise.
6083         * stdlib/mrand48.c: Likewise.
6084         * stdlib/seek48.c: Likewise.
6085         * stdlib/drand48_r.c: Likewise.
6086         * stdlib/lrand48_r.c: Likewise.
6087         * stdlib/mrand48_r.c: Likewise.
6088         * stdlib/seed48_r.c: Likewise.  Don't handle unsigned short > 16 bit
6089         differently.
6090         * stdlib/erand48_r.c: Don't handle unsigned short > 16 bit differently.
6091         * stdlib/jrand48_r.c: Likewise.
6093         * po/sv.po: Update from translation team.
6095 2001-01-21  Andreas Jaeger  <aj@suse.de>
6097         * stdio-common/vfprintf.c (vfprintf): Add casts.
6099 2001-01-20  Ulrich Drepper  <drepper@redhat.com>
6101         * iconvdata/run-iconv-test.sh: Reorgnize a bit to allow running only
6102         the ASCII test.
6103         * iconvdata/TESTS: Add entries for IBM932 and IBM943.
6105         * iconvdata/Makefile (modules): Add IBM932 and IBM943.
6106         * iconvdata/gconv-modules: Add entries for IBM932 and IBM943.
6107         * iconvdata/ibm932.c: New file.
6108         * iconvdata/ibm932.h: New file.
6109         * iconvdata/ibm943.c: New file.
6110         * iconvdata/ibm943.h: New file.
6111         Patches by Masahide Washizawa <washi@jp.ibm.com>.
6113         * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Fix typo
6114         preventing optimization from being done.  Set the correct type bit
6115         in seen.  Don't define and use _dl_base_addr unless
6116         NEED_DL_BASE_ADDR is defined.
6118         * io/ftw.c (ftw_dir): Add slash after directory name if there
6119         wasn't any.  Reported by loris <loris@iol.it>.
6120         * io/Makefile (tests): Add bug-ftw2.
6121         * io/bug-ftw2.c: New file.
6123 2001-01-19  Ulrich Drepper  <drepper@redhat.com>
6125         * stdlib/jrand48_r.c (__jrand48_r): Correct constructing of
6126         results.  Reported by Jeff Higham <jhigham@algorithmics.com>.
6127         * stdlib/tst-rand48.c: New file.
6128         * stdlib/Makefile (tests): Add tst-rand48.
6130         * locale/newlocale.c (__newlocale): Fix test for setting all
6131         categories.
6133 2001-01-19  Mark Kettenis  <kettenis@gnu.org>
6135         * sysdeps/mach/hurd/chroot.c (chroot): Revert 1999-02-27 changes,
6136         but change looking up the initial directory port in a similar way
6137         as done by _hurd_change_directory_port_from_name.
6138         * hurd/fchroot.c (fchroot): Likewise.
6140 2001-01-18  Ulrich Drepper  <drepper@redhat.com>
6142         * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): If HAVE_AUX_XID is
6143         defined don't look whether the AT_*ID values were set.
6144         If HAVE_AUX_PAGESIZE is defined don't look whether the pagesize is set.
6145         (_dl_show_auxv): Rewrite to avoid switch statement.
6146         * sysdeps/unix/sysv/linux/kernel-features.h: Define
6147         __ASSUME_AT_PAGESIZE for kernel >= 2.4.1.
6148         * sysdeps/unix/sysv/linux/ldsodefs.h: Define HAVE_AUX_XID.
6149         Define HAVE_AUX_PAGESIZE if __ASSUME_AT_PAGESIZE is defined.
6151         * sysdeps/unix/sysv/linux/fxstat64.c: Add one __builtin_expect.
6152         * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
6153         * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
6155         * elf/rtld.c (process_envvars): Call __strtoul_internal instead of
6156         strtoul.
6157         * elf/dl-minimal.c (strtol, __strtol_internal, strtoul): Removed.
6158         (__sigjmp_save): Set __mask_was_saved to zero since we don't save
6159         anything.
6160         * dlfcn/eval.c (__strtol_internal): Define here.
6161         (eval): Use __strtol_internal instead of strtol.
6163         * elf/elf.h: Add a few more EF_MIPS_* constants.
6165 2001-01-17  Ulrich Drepper  <drepper@redhat.com>
6167         * manual/Makefile (chapters): Add debug.
6168         * manual/debug.texi: New file.
6169         * manual/examples/execinfo.c: New file.
6170         Patch by suckfish@ihug.co.nz.
6172 2001-01-17  Andreas Schwab  <schwab@suse.de>
6174         * sysdeps/m68k/bits/byteswap.h (__bswap_32): Add cast to avoid
6175         invalid asm.
6177 2001-01-17  Andreas Jaeger  <aj@suse.de>
6179         * nscd/connections.c (nscd_run): Use proper format specifier.
6181 2001-01-16  Ulrich Drepper  <drepper@redhat.com>
6183         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Move x86_cap_flags and
6184         x86_platforms data into new file after prepending _dl_.  Change
6185         users.
6186         * sysdeps/unix/sysv/linux/i386/dl-procinfo.c: New file.
6187         * sysdeps/unix/sysv/linux/i386/Dist: Add dl-procinfo.c.
6188         * sysdeps/unix/sysv/linux/i386/Makefile: Add rules to build
6189         dl-procinfo.c.
6191         * setjmp/setjmp.h: Cleanup definition of setjmp macro.
6193         * sysdeps/i386/elf/bsd-setjmp.S: Real implementation.
6194         * sysdeps/i386/elf/bsd-_setjmp.S: Removed.
6195         * sysdeps/i386/elf/setjmp.S (setjmp): Removed here.
6196         (_setjmp): Likewise.
6197         * sysdeps/i386/bsd-_setjmp.S: Real implementation.
6198         * sysdeps/i386/bsd-setjmp.S: Real implementation.
6199         * sysdeps/i386/bits/setjmp.h: Remove PUSH_SIGNAL_MASK definition.
6200         * sysdeps/i386/setjmp.S: Remove PIC support.  This is the non-ELF
6201         version.
6203 2001-01-16  Andreas Jaeger  <aj@suse.de>
6205         * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h (SIGCONTEXT): Fix
6206         misapplied last patch.
6208 2001-01-15  Ulrich Drepper  <drepper@redhat.com>
6210         * stdlib/random.c (__initstate): Clean up a cast.
6211         (__setstate): Likewise.
6213         * sysdeps/unix/sysv/linux/mips/syscalls.list: Remove select
6214         syscall handling.  The generic Linux version should work.
6216 2001-01-15  Andreas Jaeger  <aj@suse.de>
6218         * sysdeps/unix/sysv/linux/sys/sendfile.h: Fix typo.
6220         * stdio-common/tstscanf.c (main): Add two testcases for '*' modifier.
6222 2001-01-14  Jakub Jelinek  <jakub@redhat.com>
6224         * nss/getent.c (print_aliases, aliases_keys, ethers_keys,
6225         netgroup_keys, print_rpc, rpc_keys, print_shadow, shadow_keys):
6226         New functions.
6227         (group_keys, hosts_keys, network_keys, passwd_keys, protocols_keys):
6228         If number is 0, list all.
6229         (services_keys): Likewise.  Lookup aliases as well.
6230         (databases): New table.
6231         (build_doc): Prepare argp doc text with list of supported databases.
6232         (main): Change to table driven processing.
6234 2001-01-14  Thorsten Kukuk <kukuk@suse.de>
6236         * sunrpc/xdr.c (xdr_long, xdr_u_long): Fix comments about these
6237         functions.
6239 2001-01-03  Jakub Jelinek  <jakub@redhat.com>
6241         * sunrpc/xdr.c (xdr_long, xdr_u_long): Return FALSE if trying to
6242         encode value which does not fit in the 32bit type.
6244 2001-01-15  Hiroyuki Machida <machida@sm.sony.co.jp>
6246         * sysdeps/unix/sysv/linux/mips/register-dump.h (REGISTER_DUMP):
6247         Change type of CTX to (struct sigcontext *).
6248         * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h (GET_PC): Likewise.
6249         (GET_FRAME): Likewise.
6250         (GET_STACK): Likewise.
6251         (SIGCONTEXT): Likewise. Add 2nd arg _code.
6252         (SIGCONTEXT_EXTRA_ARGS): Add 2nd arg _code.
6254 2001-01-13  Ulrich Drepper  <drepper@redhat.com>
6256         * manual/texinfo.tex: Update from upstream version.
6258 2001-01-13  Jakub Jelinek  <jakub@redhat.com>
6260         * inet/ether_ntoh.c (lookup_function): Change arguments to match
6261         _nss_*_getntohost_r prototype.
6262         (ether_ntohost): Pass errno pointer to NSS function.
6264 2001-01-12  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
6266         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MS_SYNC): Fix value.
6267         (MAP_LOCKED): New definition.
6268         (MAP_NORESERVE): New definition.
6270 2001-01-12  Ulrich Drepper  <drepper@redhat.com>
6272         * assert/assert.h: Use static_cast instead of C-style cast for C++.
6273         Patch by Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>.
6275 2001-01-12  Ben Collins  <bcollins@debian.org>
6277         * sysdeps/generic/segfault.c (install_handler): Use access, not
6278         __access.
6280 2001-01-12  Andreas Jaeger  <aj@suse.de>
6282         * posix/fnmatch_loop.c (FCT): Remove signed warnings.
6283         * posix/wordexp.c (do_parse_glob): Likewise.
6284         * sysdeps/posix/sigblock.c (__sigblock): Likewise.
6285         * sysdeps/posix/sigsetmask.c (__sigsetmask): Likewise.
6286         * elf/dl-open.c (_dl_open): Likewise.
6287         * elf/dl-close.c (_dl_close): Likewise.
6288         * elf/dl-load.c (_dl_map_object): Likewise.
6289         * iconv/iconv_prog.c (process_fd): Likewise.
6290         * stdio-common/vfscanf.c (_IO_vfscanf): Likewise.
6292         * locale/localeinfo.h (struct locale_data): Use __flexarr instead
6293         of a zero-length array.
6295 2001-01-11  Jakub Jelinek  <jakub@redhat.com>
6297         * stdlib/cxa_atexit.c (__cxa_atexit): Cast to (void *, int) func.
6298         * stdlib/cxa_finalize.c (__cxa_finalize): Add hidden second argument.
6299         * stdlib/cxa_on_exit.c: Remove.
6300         * stdlib/Makefile: Revert last patch.
6301         * stdlib/Versions: Likewise.
6302         * include/stdlib.h: Likewise.
6303         * stdlib/exit.h: Revert last patch.
6304         (struct exit_function): Add second argument to cxa fn.
6305         * stdlib/exit.c: Revert last patch.
6306         (exit): Add hidden second argument.
6308 2001-01-11  H.J. Lu  <hjl@gnu.org>
6310         * elf/dl-libc.c (do_dlopen): Move DL_STATIC_INIT to ...
6311         * elf/dl-open.c (_dl_open): Here.
6312         * sysdeps/unix/sysv/linux/ia64/dl-static.c (_dl_static_lock):
6313         Make it static.
6314         (_dl_static_init): Initialize the variables every time when possible.
6315         * sysdeps/unix/sysv/linux/ia64/ldsodefs.h (DL_STATIC_INIT):
6316         Undefine it first.
6318 2001-01-11  Ulrich Drepper  <drepper@redhat.com>
6320         * stdlib/Makefile (routines): Add cxa_on_exit.
6321         * stdlib/Versions [libc] (GLIBC_2.2.1): Add __cxa_on_exit.
6322         * stdlib/cxa_on_exit.c: New file.
6323         * include/stdlib.h: Add prototype for __cxa_on_exit.
6324         * stdlib/exit.c: Handle ef_cxa2.
6325         * stdlib/exit.h (enum): Add ef_cxa2.
6326         (struct exit_function): Add cxa2.
6328         * Versions.def [ld]: Add GLIBC_2.2.1.
6330 2001-01-10  H.J. Lu  <hjl@gnu.org>
6332         * elf/dl-libc.c (do_dlopen): Call DL_STATIC_INIT for static binaries.
6333         * sysdeps/unix/sysv/linux/ia64/Makefile (sysdep-dl-routines): Add
6334         dl-static.
6335         * sysdeps/unix/sysv/linux/ia64/Versions (ld): Add _dl_var_init.
6336         * sysdeps/generic/ldsodefs.h (DL_STATIC_INIT): Defined if not defined.
6337         * sysdeps/unix/sysv/linux/ia64/ldsodefs.h: New file.
6338         * sysdeps/unix/sysv/linux/ia64/dl-static.c: New file.
6339         * sysdeps/unix/sysv/linux/ia64/Dist: Add dl-static.c.
6341 2001-01-11  Ulrich Drepper  <drepper@redhat.com>
6343         * libio/stdio.h: Remove definition of off_t.
6345 2001-01-11  Andreas Jaeger  <aj@suse.de>
6347         * wcsmbs/tst-mbrtowc.c (utf8_test): New function by Markus Kuhn
6348         <mkuhn@acm.org>.
6350 2001-01-10  Ulrich Drepper  <drepper@redhat.com>
6352         * sunrpc/Makefile (distribute): Add errqueue.h.
6354 2001-01-10  H.J. Lu  <hjl@gnu.org>
6356         * sysdeps/ia64/dl-machine.h (TRAMPOLINE_TEMPLATE): Also preserve
6357         r9, r10 and r11 for language specific registers.
6359 2001-01-10  Jakub Jelinek  <jakub@redhat.com>
6361         * sunrpc/clnt_udp.c (clntudp_bufcreate): Set IP_RECVERR on the
6362         UDP socket.
6363         (clntudp_call): Handle MSG_ERRQUEUE.
6364         * sysdeps/generic/errqueue.h: New file.
6365         * sysdeps/unix/sysv/linux/errqueue.h: New file.
6367 2001-01-10  H.J. Lu  <hjl@gnu.org>
6369         * sysdeps/unix/sysv/linux/ia64/syscalls.list (s_getpagesize): Removed.
6371 2001-01-10  Joseph S. Myers  <jsm28@cam.ac.uk>
6373         * CONFORMANCE: Update.
6375 2001-01-09  Ulrich Drepper  <drepper@redhat.com>
6377         * sysdeps/generic/elf/backtracesyms.c (__backtrace_symbols):
6378         Minimal cleanups.  Add assert to ensure memory handling is correct.
6380         * manual/conf.texi (File Minimums): Fix _POSIX_PATH_MAX value.
6381         Reported by Ben Collins <bcollins@debian.org>.
6383         * time/strftime.c (my_strftime): Mark previous GNU extensions
6384         which are now in C99 as such.
6386 2001-01-08  Ulrich Drepper  <drepper@redhat.com>
6388         * elf/rtld.c (process_envvars): Place output files for profiling
6389         in SUID binaries in /var/profile.
6391         * elf/dl-load.c (_dl_map_object): Don't look in cache for
6392         preloading in SUID binaries.
6394         * elf/dl-profile.c (_dl_start_profile): Open the output file with
6395         O_NOFOLLOW if possible.
6397         * include/stdlib.h: Add __posix_openpt declaration.
6398         * stdlib/stdlib.h: Add posix_openpt declaration.
6399         * login/Versions: Add posix_openpt for GLIBC_2.2.1.
6400         * sysdeps/generic/getpt.c: Define posix_openpt.
6401         * sysdeps/unix/bsd/getpt.c: Likewise.
6402         * sysdeps/unix/sysv/linux/getpt.c: Likewise.
6404         * time/Makefile (tests): Add tst-mktime.
6405         * time/tst-mktime.c: New file.
6407         * posix/tst-dir.c (main): One more mkdir() test.
6409         * sysdeps/unix/sysv/linux/ia64/getpagesize.c (__getpagesize):
6410         Remove getpagesize syscall.  We assume that the pagesize is always
6411         determined from the auxiliary vector.
6413         * intl/dcigettext.c: Fix a few warnings.
6414         Patch by Bruno Haible <haible@ilog.fr>.
6416 2001-01-08  Andreas Jaeger  <aj@suse.de>
6418         * io/test-lfs.c (do_test): Check lseek64 return for EINVAL.
6419         Reported by Joseph S. Myers <jsm28@cam.ac.uk>.
6421 2001-01-08  Ulrich Drepper  <drepper@redhat.com>
6423         * sysdeps/generic/segfault.c (install_handler): Check output file
6424         name with access().
6426         * resolv/res_query.c: Use simply getenv() for HOSTALIASES.
6427         * sysdeps/generic/unsecvars.h (UNSECURE_ENVVARS): Add HOSTALIASES.
6429         * sysdeps/generic/unsecvars.h (UNSECURE_ENVVARS): Add missing comma.
6431         * malloc/memusage.c (me): Use access() to determine whether we
6432         should write the output file or not.
6434         * libio/bits/stdio.h (printf): Define macro to map printf call to
6435         fprintf which gcc can optimize.
6436         * stdio-common/printf.c: Undefine printf.
6438 2001-01-07  Ulrich Drepper  <drepper@redhat.com>
6440         * sysdeps/generic/bits/byteswap.h (__bswap_64): Partly revert last
6441         patch.  We must use unsigned int for l member of union.
6443         * sysdeps/powerpc/elf/libc-start.c (__libc_start_main): Don't call
6444         _dl_aux_init for shared libraries.
6446         * sysdeps/unix/sysv/linux/glob64.c: Moved to ...
6447         * sysdeps/gnu/glob64.c: ...here.  New file.
6449 2001-01-07  Ben Collins  <bcollins@debian.org>
6451         * manual/examples/longopt.c: Make the "struct option" a little
6452         more like it should be, adding usage of required_argument,
6453         noargument and such, and also setting the options string right.
6455         * manual/sysinfo.texi (Load Average): New section, documents
6456         getloadavg().
6458 2001-01-06  Ulrich Drepper  <drepper@redhat.com>
6460         * version.h (VERSION): Bump to 2.2.1.
6462         * sysdeps/unix/sysv/linux/mips/Dist: Remove sys/acct.h.
6463         * sysdeps/alpha/Dist: Add alphaev6/stxncpy.S and alphaev6/stxcpy.S.
6464         * sysdeps/unix/sysv/aix/Dist: Add uitrunc.c, savef.S, and restf.S.
6465         * dlfcn/Makefile (distribute): Add errmsg1mod.c.
6466         * Makefile (distribute): Add include/libc-internal.h.
6467         * libio/Makefile (distribute): Avoid overwriting.
6469         * iconvdata/ibm937.c (BODY to IBM937): Correct several mistakes in
6470         buffer and table handling.
6472 2001-01-05  H.J. Lu  <hjl@gnu.org>
6474         * elf/dl-support.c (non_dynamic_init): Move the auxiliary
6475         vector checking to ...
6476         (_dl_aux_init): Here. New function. Defined only if
6477         HAVE_AUX_VECTOR is defined.
6479         * sysdeps/generic/libc-start.c (__libc_start_main): Call
6480         _dl_aux_init for static binaries if HAVE_AUX_VECTOR is defined.
6482         * sysdeps/powerpc/elf/libc-start.c (__libc_start_main): Call
6483         _dl_aux_init.
6485         * sysdeps/unix/sysv/linux/ldsodefs.h (DL_FIND_AUXV): Removed.
6486         (HAVE_AUX_VECTOR): Defined.
6487         (_dl_aux_init): Declared.
6489 2001-01-05  Ben Collins  <bcollins@debian.org>
6491         * manual/string.texi (Finding Tokens in a String): Document XPG
6492         basename() and dirname(), as well as GNU basename().
6494 2001-01-05  Jakub Jelinek  <jakub@redhat.com>
6496         * Makeconfig (preprocess-version): Replace -traditional with
6497         -x assembler-with-cpp.
6499 2001-01-05  Joseph S. Myers  <jsm28@cam.ac.uk>
6501         * math/bits/cmathcalls.h: Don't define inline cimag, creal or conj
6502         for GCC 2.97 or later.
6504 2001-01-05  Ben Collins  <bcollins@debian.org>
6506         * manual/stdio.texi (getline): Clarify the return value in the
6507         case of EOF being reached before a newline.
6509 2001-01-04  Jakub Jelinek  <jakub@redhat.com>
6511         * sunrpc/pmap_clnt.c (__get_myaddress): Return TRUE if successful,
6512         FALSE otherwise.
6513         (pmap_set, pmap_unset): Check __get_myaddress return value.
6515 2001-01-05  Mark Kettenis  <kettenis@gnu.org>
6517         * sysdeps/generic/netinet/if_ether.h: Include <sys/types.h>.
6518         (struct ether_addr): Declare ether_addr_octet member as
6519         `u_int8_t'.  Add __attribute__ ((__packed__)).
6521 2001-01-06  Mark Kettenis  <kettenis@gnu.org>
6523         * sysdeps/mach/hurd/readdir64.c: New file.
6524         * sysdeps/mach/hurd/readdir64_r.c: New file.
6526 2001-01-07  Mark Kettenis  <kettenis@gnu.org>
6528         * sysdeps/mach/hurd/fstatvfs.c (fstatvfs): Add comment about
6529         `struct statfs' and `struct statvfs' being identical.
6530         * sysdeps/mach/hurd/statvfs.c (statvfs): Likewise.
6532 2001-01-06  Mark Kettenis  <kettenis@gnu.org>
6534         * sysdeps/mach/hurd/fstatfs64.c: New file.
6535         * sysdeps/mach/hurd/fstatvfs64.c: New file.
6536         * sysdeps/mach/hurd/statfs64.c: New file.
6537         * sysdeps/mach/hurd/statvfs64.c: New file.
6538         * sysdeps/mach/hurd/statfsconv.c: New file.
6539         * sysdeps/mach/hurd/Dist: Add statfsconv.c.
6541 2001-01-06  Ulrich Drepper  <drepper@redhat.com>
6543         * iconv/skeleton.c: Reset outbuf for next round of the loop.
6544         Reported by Owen Taylor <otaylor@redhat.com>.
6545         * iconv/Makefile (tests): Add tst-iconv3.
6546         * iconv/tst-iconv3.c: New file.
6548         * iconvdata/ibm930.c: Fix handling of state.  Optimize a bit.
6549         * iconvdata/ibm933.c: Likewise.
6550         * iconvdata/ibm935.c: Likewise.
6551         * iconvdata/ibm937.c: Likewise.
6552         * iconvdata/ibm939.c: Likewise.
6553         * iconvdata/ibm930.h: Adjust single byte table for optimization.
6554         * iconvdata/ibm933.h: Likewise.
6555         * iconvdata/ibm935.h: Likewise.
6556         * iconvdata/ibm939.h: Likewise.
6558         * iconvdata/testdata/IBM930: Add misssing SI.
6559         * iconvdata/testdata/IBM933: Likewise.
6560         * iconvdata/testdata/IBM935: Likewise.
6561         * iconvdata/testdata/IBM937: Likewise.
6562         * iconvdata/testdata/IBM939: Likewise.
6564 2001-01-06  Andreas Jaeger  <aj@suse.de>
6566         * configure.in: Check for old add-ons that shouldn't be used with
6567         current glibc anymore.
6569 2001-01-06  Mark Kettenis  <kettenis@gnu.org>
6571         * sysdeps/mach/hurd/readdir_r.c (__readdir_r): Return error number
6572         instead of -1 on failure.  Don't forget to copy file name into
6573         *ENTRY if successful.  Set *RESULT to NULL upon reaching the end
6574         of the directory.
6576 2001-01-06  Mark Kettenis  <kettenis@gnu.org>
6578         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Don't forget to
6579         copy st_atime member.
6581 2001-01-05  Ulrich Drepper  <drepper@redhat.com>
6583         * io/ftw.c (ftw_dir): Don't add a second slash at the beginning
6584         for searches from the root directory.
6585         Reported by loris <loris@iol.it> [PR libc/1991].
6586         * io/Makefile (tests): Add bug-ftw1.
6587         * io/bug-ftw1.c: New file.
6589         * elf/dl-support.c (non_dynamic_init): Don't define DL_FIND_AUXV
6590         if it is not available.  Instead use it only if it is available.
6591         * sysdeps/unix/sysv/linux/ldsodefs.h: New file.
6593         * iconv/gconv_simple.c (internal_ics4_loop): Correct test for
6594         overflowing output buffer.
6595         (internal_ucs4_loop_unaligned): Likewise.
6596         (ucs4_internal_loop): Likewise.
6597         (ucs4_internal_loop_unaligned): Likewise.
6598         (internal_ucs4le_loop): Likewise.
6599         (internal_ucs4le_loop_unaligned): Likewise.
6600         (ucs4le_internal_loop): Likewise.
6601         (ucs4le_internal_loop_unaligned): Likewise.
6602         Reported by Owen Taylor <otaylor@redhat.com>.
6603         * iconv/Makefile (tests): Add tst-iconv2.
6604         * iconv/tst-iconv2.c: New file.
6606 2001-01-04  H.J. Lu  <hjl@gnu.org>
6608         * elf/dl-support.c (DL_FIND_AUXV): New.  Defined if not defined.
6609         (_dl_clktck): Declared.
6610         (non_dynamic_init): Take 3 arguments.
6611         Set _dl_pagesize, _dl_platform and _dl_clktck from AUX.
6613 2001-01-01  Bruno Haible  <haible@clisp.cons.org>
6615         Finish implementation of plural form handling.
6616         * intl/dcigettext.c (known_translation_t): Rename 'domain' field to
6617         'domainname'.  Remove 'plindex' field. Add 'domain' and
6618         'translation_length' fields.
6619         (transcmp): Don't compare 'plindex' fields.
6620         (plural_lookup): New function.
6621         (DCIGETTEXT): Change cache handing in the plural case.  Don't call
6622         plural_eval before the translation and its catalog file have been
6623         found. Remove plindex from cache key.  Add 'translation_length' and
6624         'domain' to cache result.
6625         (_nl_find_msg): Remove index argument, return length of translation
6626         to the caller instead.  Weaken comparison of string lengths, to account
6627         for plural entries.  Call iconv() on the entire result string, not
6628         only on the portion needed so far.
6629         * intl/loadinfo.h (_nl_find_msg): Remove index argument, add lengthp
6630         argument.
6631         * intl/loadmsgcat.c (_nl_load_domain): Adapt to _nl_find_msg change.
6633 2001-01-04  Ulrich Drepper  <drepper@redhat.com>
6635         * intl/plural.y (yylex): Minimal improvement in number scanner.
6637 2000-07-31  Bruno Haible  <haible@clisp.cons.org>
6639         * intl/plural.y: Include config.h. Needed to define 'inline' away for
6640         C compilers that don't support it.
6641         (yylex): Don't use gcc specific case range syntax.
6642         * intl/loadmsgcat.c (INIT_GERMANIC_PLURAL): New macro, for old
6643         compilers.
6645 2000-10-12  Bruno Haible  <haible@clisp.cons.org>
6647         * intl/finddomain.c: Remove unneeded includes.
6649 2000-10-12  Bruno Haible  <haible@clisp.cons.org>
6651         * intl/localealias.c (memcpy): Return first argument, just like the
6652         real memcpy function does.
6653         * intl/bindtextdom.c (memcpy): Likewise.
6654         * intl/finddomain.c (memcpy): Likewise.
6655         * intl/l10nflist.c (memcpy): Likewise.
6656         * intl/textdomain.c (memcpy): Likewise.
6657         From Paul Eggert <eggert@twinsun.com>.
6659 2001-01-03  Jakub Jelinek  <jakub@redhat.com>
6661         * resolv/resolv.h (struct __res_state): Add nsinit field.
6662         * resolv/res_send.c (res_nsend): Use it instead of nscount.
6663         * resolv/res_init.c (__res_vinit): Initialize it.
6664         (res_nclose): Clear it instead of nscount.
6666 2001-01-04  Ulrich Drepper  <drepper@redhat.com>
6668         * malloc/mtrace.pl: Fix matching of addresses.
6669         Patch by Aharon Robbins <arnold@skeeve.com>.
6671         * Versions.def (ld): Add GLIBC_2.2.
6673         * catgets/gencat.c: Copyright 2001.
6674         * csu/version.c: Likewise.
6675         * debug/catchsegv.sh: Likewise.
6676         * debug/xtrace.sh: Likewise.
6677         * elf/ldconfig.c: Likewise.
6678         * elf/sprof.c: Likewise.
6679         * iconv/iconv_prog.c: Likewise.
6680         * locale/locale.c: Likewise.
6681         * locale/localedef.c: Likewise.
6682         * malloc/memusage.sh: Likewise.
6683         * malloc/mtrace.pl: Likewise.
6684         * nscd/nscd.c: Likewise.
6685         * posix/getconf.c: Likewise.
6687 2001-01-04  Mark Kettenis  <kettenis@gnu.org>
6689         * include/stdio.h: Only provide __getwc_unlocked prototype if
6690         USE_IN_LIBIO is defined.
6692 2001-01-04  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
6694         * sysdeps/unix/sysv/linux/sh/socket.S (__socket): Fix error code
6695         handling.
6697 2001-01-03  Andreas Schwab  <schwab@suse.de>
6699         * sysdeps/generic/strtoll.c: Remove unused __strtoq_internal alias.
6700         * sysdeps/generic/strtoull.c: Remove unused __strtouq_internal alias.
6702         * sysdeps/wordsize-64/strtol.c: Add strtoq alias and fix strtoll alias.
6703         * sysdeps/wordsize-64/strtoul.c: Add strtouq alias and fix
6704         strtoull alias.
6705         * sysdeps/wordsize-64/wcstol.c: Add wcstoq alias and fix wcstoll alias.
6706         * sysdeps/wordsize-64/wcstoul.c: Add wcstouq alias and fix
6707         wcstoull alias.
6709         * sysdeps/generic/strtoul.c: Make sure we find strtol.c in this
6710         directory.
6711         * sysdeps/generic/strtol_l.c: Likewise.
6712         * sysdeps/generic/strtoul_l.c: Likewise.
6713         * sysdeps/generic/wcstoul.c: Likewise, for wcstol.c.
6715         * sysdeps/wordsize-64/strtol_l.c: Fix alias.
6716         * sysdeps/wordsize-64/strtoul_l.c: Likewise.
6717         * sysdeps/wordsize-64/wcstol_l.c: Fix alias.
6718         * sysdeps/wordsize-64/wcstoul_l.c: Likewise.
6720 2001-01-04  Andreas Jaeger  <aj@suse.de>
6722         * nss/nsswitch.c: Include files for missing prototypes, remove
6723         buggy declaration of prototypes.
6725 2001-01-03  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
6727         * resolv/Versions: Fix bracing.
6728         * sysdeps/powerpc/soft-fp/Versions: Likewise.
6729         * sysdeps/sparc/sparc64/soft-fp/Versions: Likewise.
6731 2001-01-02  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
6733         * sysdeps/powerpc/dl-machine.c (__process_machine_rela): Fix typo.
6735 2001-01-02  Ulrich Drepper  <drepper@redhat.com>
6737         * manual/Makefile (TEXI2PDF): Change to texi2dvi --pdf.
6738         Suggested by Minko Markov <mmarkov@home.com>.
6740 2001-01-02  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
6742         * sysdeps/powerpc/elf/start.S (__data_start): Make it global.
6743         * sysdeps/powerpc/dl-machine.c (dl_reloc_overflow): Print the name of
6744         the failing symbol.
6745         (__process_machine_rela): Pass symbol to dl_reloc_overflow().
6747 2001-01-02  Ben Collins  <bcollins@debian.org>
6749         * time/tzset.c (tzset_internal): Make sure we fall back to UTC
6750         if TZ is not set and TZDEFAULT is not present.
6752 2001-01-01  Ben Collins  <bcollins@debian.org>
6754         * string/strings.h: Make sure we declare our functions even if
6755         string.h is already included, based on whether or not __USE_BSD is
6756         defined.
6758 2001-01-02  Ulrich Drepper  <drepper@redhat.com>
6760         * dlfcn/dlerror.c (dlerror): Handle call of dlerror() before any
6761         other dlopen() and dlsym().
6762         Based on a patch by Ben Collins <bcollins@debian.org>.
6764 2001-01-02  Andreas Jaeger  <aj@suse.de>
6766         * dlfcn/errmsg1.c (main): Call dlerror initially.
6767         Reported by Ben Collins <bcollins@debian.org>.
6769 2001-01-02  Ulrich Drepper  <drepper@redhat.com>
6771         * intl/dcigettext.c (guess_category_value): Rewrite so that LANGUAGE
6772         value is ignored if the selected locale is the C locale.
6773         * intl/tst-gettext.c: Set locale for above change.
6774         * intl/tst-translit.c: Likewise.
6776 2001-01-02  Andreas Jaeger  <aj@suse.de>
6778         * libio/wgenops.c (_IO_wdoallocbuf): Use correct wide access macro.
6779         (_IO_switch_to_wget_mode): Likewise.
6780         (_IO_sputbackwc): Likewise.
6781         (_IO_sungetwc): Use wint_t for result.
6783         * stdio-common/vfscanf.c (__vfscanf): Use WINT_T for done.
6785         * sysdeps/generic/strtol.c (strtol): Make cnt size_t for correct
6786         signedness.
6788         * sysdeps/generic/printf_fphex.c (putc): Cast _IO_putwc_unlocked
6789         to (int) to avoid warnings.
6790         * stdio-common/printf_fp.c (putc): Likewise.
6791         * stdio-common/printf_size.c (putc): Likewise.
6793         * sysdeps/generic/dl-sysdep.c (_dl_important_hwcaps): Make
6794         constant unsigned.
6796 2001-01-01  Andreas Jaeger  <aj@suse.de>
6798         * inet/rcmd.c (rcmd_af): Use socklen_t for len.
6800 2000-12-31  Andreas Jaeger  <aj@suse.de>
6802         * include/libc-internal.h: Add prototype for __libc_freeres.
6804         * sysdeps/unix/sysv/linux/init-first.c: Include <libc-internals.h>
6805         for prototypes, remove redundant prototypes.
6806         * gmon/gmon.c: Likewise.
6807         * sysdeps/unix/i386/i586/clock_getres.c: Likewise.
6808         * sysdeps/unix/i386/i586/clock_gettime.c: Likewise.
6809         * malloc/mtrace.c: Likewise.
6811         * sysdeps/generic/enbl-secure.c: Include <libc-internals.h> for
6812         prototypes.
6813         * elf/soinit.c: Likewise.
6814         * sysdeps/generic/prof-freq.c: Likewise.
6815         * sysdeps/mach/hurd/profil.c: Likewise.
6816         * debug/noophooks.c: Likewise.
6817         * debug/pcprofile.c: Likewise.
6818         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Likewise.
6819         * sysdeps/generic/get_clockfreq.c: Likewise.
6820         * malloc/set-freeres.c: Likewise.
6822         * locale/localeinfo.h: Add internal prototypes.
6824         * elf/rtld.c (dl_main): Fix prototype.
6826         * iconvdata/tst-table-to.c (main): Use return instead of exit to
6827         avoid warning.
6829         * nis/rpcsvc/yp_prot.h: Remove __P.
6830         * nis/rpcsvc/ypupd.h: Likewise.
6831         * nis/rpcsvc/yp.h: Likewise.
6833         * sunrpc/rpc_main.c: Add noreturn attributes.
6834         * sunrpc/rpc_scan.h: Likewise.
6836         * sunrpc/rpc_hout.c (storexdrfuncdecl): Make static.
6838         * sunrpc/rpcinfo.c: Add noreturn attribute to brdcst.
6840         * sunrpc/proto.h: Add noreturn attributes to error and crash.
6842         * posix/bsd-getpgrp.c: Add prototype to avoid warning.
6844         * sunrpc/svc_unix.c: Include <rpc/svc.h> for prototypes.
6846         * sunrpc/create_xid.c: Include <rpc/svc.h> for prototypes.
6848         * include/rpc/rpc_msg.h: Add prototypes for some functions.
6849         * include/rpc/auth.h: Likewise.
6850         * include/rpc/auth_des.h: Likewise.
6851         * include/rpc/clnt.h: Likewise.
6852         * include/rpc/rpc.h: Likewise.
6853         * include/rpc/svc.h: Likewise.
6854         * include/rpc/svc_auth.h: Likewise.
6856         * include/rpc/des_crypt.h: New file.
6858         * malloc/memusagestat.c (main): Use return instead of exit to
6859         avoid warning.
6860         * io/pwd.c (main): Likewise.
6861         * iconvdata/tst-table-from.c (main): Likewise.
6862         * ctype/test_ctype.c (main): Likewise.
6863         * setjmp/tst-setjmp.c (main): Likewise.
6864         * signal/tst-signal.c (main): Likewise.
6865         * stdlib/tst-strtol.c (main): Likewise.
6866         * stdlib/tst-strtod.c (main): Likewise.
6867         * stdlib/tst-strtoll.c (main): Likewise.
6868         * stdlib/tst-xpg-basename.c (main): Likewise.
6869         * dirent/tst-seekdir.c (main): Likewise.
6870         * grp/testgrp.c (main): Likewise.
6871         * inet/test_ifindex.c (main): Likewise.
6872         * io/test-utime.c (main): Likewise.
6873         * posix/test-vfork.c (main): Likewise.
6874         * posix/testfnm.c (main): Likewise.
6875         * stdio-common/temptest.c (main): Likewise.
6876         * stdio-common/test_rdwr.c (main): Likewise.
6877         * stdio-common/tst-fileno.c (main): Likewise.
6878         * stdio-common/tst-sscanf.c (main): Likewise.
6879         * stdio-common/tstscanf.c (main): Likewise.
6880         * string/bug-strncat1.c (main): Likewise.
6881         * string/bug-strpbrk1.c (main): Likewise.
6882         * string/bug-strspn1.c (main): Likewise.
6883         * string/test-ffs.c (main): Likewise.
6884         * string/tst-inlcall.c (main): Likewise.
6885         * string/tst-svc.c (main): Likewise.
6886         * timezone/test-tz.c (main): Likewise.
6887         * wctype/test_wcfuncs.c (main): Likewise.
6888         * wctype/test_wctype.c (main): Likewise.
6890         * stdlib/tst-random.c: Add attribute noreturn to fail.
6892 2000-12-28  Wolfram Gloger  <wg@malloc.de>
6894         * malloc/malloc.c (MALLOC_COPY): Handle case if source and
6895         destination overlap.  Assume dest is always below source if
6896         overlapping.
6898 2000-12-30  Ulrich Drepper  <drepper@redhat.com>
6900         * elf/dl-close.c (_dl_close): We can ignore the NODELETE flag if the
6901         object was not yet initialized.
6903 2000-12-28  H.J. Lu  <hjl@gnu.org>
6905         * elf/dl-deps.c (_dl_map_object_deps): Make sure the DSO state
6906         is always consistent even if its dependency is failed.
6908         * elf/dl-open.c (_dl_open): Increment the open count before
6909         calling _dl_close () in case of failure.
6911         * elf/neededtest4.c: New file.
6912         * elf/neededobj5.c: New file.
6913         * elf/neededobj6.c: New file.
6915         * elf/Makefile (distribute): Add neededobj5.c and neededobj6.c.
6916         (tests): Add neededtest4.
6917         (modules-names): Add neededobj5 and neededobj6.
6918         ($(objpfx)neededobj6.so): New target.
6919         ($(objpfx)neededtest4): New target.
6920         ($(objpfx)neededtest4.out): New target.
6922 2000-12-28  Joseph S. Myers  <jsm28@cam.ac.uk>
6924         * misc/sys/cdefs.h (__attribute_format_strfmon__): Define.
6925         * stdlib/monetary.h: Add strfmon format attributes.
6927 2000-12-28  Roland McGrath  <roland@frob.com>
6929         * sysdeps/mach/hurd/ioctl.c (do_ioctl): Avoid double-increment after
6930         __mempcpy does it for us.
6932 2000-12-28  Andreas Jaeger  <aj@suse.de>
6934         * sysdeps/generic/dl-environ.c: Add prototype for unsetenv.
6936         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Add prototype for
6937         __new_setrlimit.
6939         * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Add prototype for
6940         __old_getrlimit64.
6942         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Add prototype for
6943         __new_getrlimit.
6945         * sysdeps/unix/sysv/linux/i386/chown.c: Add prototypes for
6946         __chown_is_lchown and __real_chown.
6948         * sysdeps/generic/ldsodefs.h: Add noreturn attribute to
6949         _dl_reloc_bad_type.
6951         * sunrpc/rpc_hout.c (print_funcdef): Add break statement to shut
6952         up GCC's warning about "deprecated use of label at end of compound
6953         statement."
6954         * sunrpc/rpc_cout.c (emit_inline): Likewise.
6956         * gmon/bb_exit_func.c: Include <sys/gmon.h> for internal
6957         prototypes.
6958         Remove struct bb and __bb_head since those are declared by
6959         sys/gmon.h.
6961 2000-12-22  Ben Collins  <bcollins@debian.org>
6963         * manual/charset.texi: Fix typo in description of WCHAR_MAX.
6965         * manual/argp.texi: Document argp_domain as part of struct argp.
6967 2000-12-28  Andreas Jaeger  <aj@suse.de>
6969         * catgets/Makefile (generated): Add sample.SJIS.cat.
6971         * sunrpc/rpc_dtable.c: Include rpc/clnt.h for prototypes.
6973         * elf/dl-minimal.c: Add prototypes.
6975         * include/locale.h: Add internal prototypes.
6976         * include/sys/gmon.h: Likewise.
6978         * dlfcn/errmsg1mod.c: Add prototype for foo to shut up GCC.
6980 2000-12-27  Ben Collins  <bcollins@debian.org>
6982         * elf/dl-open.c (_dl_open): Correctly set the new objname pointer
6983         when reallocating the error strings.
6984         Reported by Kalle Olavi Niemitalo <kon@iki.fi>
6986 2000-12-27  Ulrich Drepper  <drepper@redhat.com>
6988         * dlfcn/Makefile (tests): Add errmsg1.
6989         (modules-names): Add errmsg1mod.
6990         Add rules to run errmsg1.
6991         * dlfcn/errmsg1.c: New file.
6992         * dlfcn/errmsg1mod.c: New file.
6994         * dlfcn/dlerror.c (dlerror): Always create output string which
6995         includes object file name.
6997         * sysdeps/alpha/alphaev6/memcpy.S: Don't go through unrolled loop
6998         if we would go through it only once.
6999         Patch by Rick Gorton <rick.gorton@api-networks.com>.
7001         * sysdeps/alpha/alphaev67/strncat.S: Fix handling of numeric parameter.
7002         Patch by Richard Henderson <rth@redhat.com>.
7004 2000-12-27  Jakub Jelinek  <jakub@redhat.com>
7006         * malloc/malloc.c (memmove): Add prototypes.
7007         (MALLOC_MEMMOVE): Define.
7008         (chunk_realloc): Use it instead of MALLOC_COPY if source and
7009         destination might overlap.
7011 2000-12-27  Andreas Jaeger  <aj@suse.de>
7013         * stdio-common/printf_fp.c (__printf_fp): Add prototype for nested
7014         function.
7015         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
7016         * locale/programs/locale.c (show_locale_vars): Likewise.
7017         (show_info): Likewise.
7018         * locale/programs/ld-collate.c (collate_output): Likewise.
7019         * locale/programs/ld-ctype.c (set_class_defaults): Likewise.
7020         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
7021         * stdlib/rpmatch.c (rpmatch): Likewise.
7023         * setjmp/tst-setjmp.c: Make local functions static.
7024         * setjmp/jmpbug.c: Likewise.
7025         * signal/tst-signal.c: Likewise.
7026         * stdio-common/tfformat.c: Likewise.
7027         * string/tst-svc.c: Likewise.
7028         * time/clocktest.c: Likewise.
7029         * time/tst-getdate.c: Likewise.
7030         * dirent/list.c: Likewise.
7031         * dirent/opendir-tst1.c: Likewise.
7032         * posix/runtests.c: Likewise.
7033         * posix/tst-getaddrinfo.c: Likewise.
7034         * posix/tst-chmod.c: Likewise.
7035         * posix/wordexp-test.c: Likewise.
7036         * misc/tst-efgcvt.c: Likewise.
7037         * timezone/tst-timezone.c: Likewise.
7038         * rt/tst-clock.c: Likewise.
7039         * rt/tst-shm.c: Likewise.
7040         * rt/tst-aio2.c: Likewise.
7041         * rt/tst-aio3.c: Likewise.
7042         * rt/tst-aio4.c: Likewise.
7043         * rt/tst-aio5.c: Likewise.
7045         * dlfcn/failtest.c: Add prototype for foo.
7047         * dlfcn/glrefmain.c: Add prototype for do_test.
7049         * dlfcn/tst-dladdr.c: Add prototype for do_test.
7051         * string/test-ffs.c (main): Add prototype for nested function.
7053         * sunrpc/des_soft.c: Include rpc/des_crypt.h for prototype.
7055         * nss/XXX-lookup.c: Add prototype to shut up GCC.
7057         * include/netinet/ether.h (DECLARE_NSS_PROTOTYPES): Fix
7058         setetherent prototype.
7059         Add internal interfaces.
7061         * nis/nss_nis/nis-ethers.c (_nss_nis_setetherent): Likewise.
7062         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent): Likewise.
7064         * resolv/res_data.c: Don't add (conflicting) prototypes for _LIBC.
7066         * nis/nis_intern.h: Add prototype for __pmap_getnisport.
7068         * nss/nss_files/files-ethers.c: Include netinet/ether.h to get
7069         prototypes, remove struct etherent since it's declared in ether.h.
7070         Fix ntohost declaration.
7072         * elf/dl-profile.c (_dl_mcount): Add empty statement to shut up GCC.
7074         * include/getopt.h: Add internal interfaces.
7075         * include/termios.h: Likewise.
7076         * include/resolv.h: Likewise.
7077         * include/netdb.h: Likewise.
7078         * include/grp.h: Likewise.
7079         * include/pwd.h: Likewise.
7080         * include/shadow.h: Likewise.
7081         * include/rpc/netdb.h: Likewise.
7082         * include/setjmp.h: Likewise.
7084         * include/stdio.h: Add prototypes for compatibility functions.
7085         * include/grp.h: Likewise.
7086         * include/pwd.h: Likewise.
7087         * include/shadow.h: Likewise.
7089         * include/fenv.h: Define internal interfaces.
7091 2000-12-27  Ulrich Drepper  <drepper@redhat.com>
7093         * sysdeps/generic/bits/byteswap.h (__bswap_64): Handle constant
7094         argument case separately.
7095         * sysdeps/i386/bits/byteswap.h (__bswap_64): Likewise.
7097 2000-12-27  Andreas Jaeger  <aj@suse.de>
7099         * include/sys/wait.h: Add some prototypes.
7100         * Rules (dummy.c): Create also prototype to shut up GCC.
7102 2000-12-27  Andreas Jaeger  <aj@suse.de>
7104         * sysdeps/mach/hurd/if_index.c (__protocol_available): Uncomment,
7105         it's not needed at the moment.
7106         * sysdeps/generic/if_index.c (__protocol_available): Likewise.
7107         * sysdeps/unix/sysv/linux/if_index.c (__protocol_available): Likewise.
7109 2000-12-26  Andreas Jaeger  <aj@suse.de>
7111         * libio/getc_u.c: Include stdio.h via system path to get internal
7112         prototypes.
7113         * libio/getwc_u.c: Likewise.
7115         * stdlib/strfmon.c: Fix prototype of __printf_fp.
7117         * stdio-common/vfprintf.c (process_arg): Move __printf_fphex and
7118         __printf_fp prototypes to ...
7119         * include/printf.h: ...here.
7121         * include/stdio.h: Add some internal prototypes to shut up GCC.
7122         * include/stdlib.h: Likewise.
7124         * sysdeps/posix/sigpause.c (__sigpause): Use ISO C prototype
7125         declaration.
7127         * include/signal.h: Add prototypes for internal sigpause
7128         interfaces.
7130 2000-12-26  Ulrich Drepper  <drepper@redhat.com>
7132         * sysdeps/generic/bits/byteswap.h (__bswap_64): Make it usable for
7133         64bit platforms.  Reported by Dave Gilbert <gilbertd@treblig.org>.
7135         * string/Makefile (tests): Add tst-bswap.
7136         * string/tst-bswap.c: New file.
7138 2000-12-11  Bruno Haible  <haible@clisp.cons.org>
7140         * Makefile ($(inst_includedir)/gnu/stubs.h): Sort in the C locale.
7142 2000-12-26  Ulrich Drepper  <drepper@redhat.com>
7144         * sunrpc/Makefile (rpcgen-cmd): Use single quotes in sed call.
7145         Patch by Ed Connell <Ed.Connell@sas.com>.
7147 2000-12-24  Ulrich Drepper  <drepper@redhat.com>
7149         * locale/iso-639.def: Correct one entry.  Add two missing entries.
7151         * locale/iso-4217.def: Change entry for Eritrea.
7152         Reported by Daniel Yacob <yacob@geez.org>.
7154 2000-12-23  Ben Collins  <bcollins@debian.org>
7156         * manual/charset.texi (Extended Char Intro): Fix typo in ISO 6937
7157         description.
7159         * manual/stdio.texi (Dynamic Output): Document the return value of
7160         asprintf.  Also make the asprintf/snprintf examples a little
7161         better (check for some error returns).
7163 2000-12-22  Andreas Jaeger  <aj@suse.de>
7165         * include/stdio.h: Add __ftrylockfile prototype.
7167 2000-12-21  H.J. Lu  <hjl@gnu.org>
7169         * sysdeps/ia64/fpu/math_ldbl.h (ieee_long_double_shape_type):
7170         Make sign_exponent element signed.
7172         * sysdeps/ieee754/ldbl-96/math_ldbl.h (ieee_long_double_shape_type):
7173         Fix a typo.
7175         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Remove dead branch.
7177 2000-12-21  Andreas Jaeger  <aj@suse.de>
7179         * nis/nss_nisplus/nisplus-ethers.c (struct etherent): Removed.
7180         * inet/ether_hton.c: Likewise
7181         * inet/ether_ntoh.c: Likewise.
7183         * nis/nss_nis/nis-ethers.c (_nss_nis_getntohost_r): Fix
7184         declaration to match prototype.
7186         * include/netinet/ether.h (struct etherent): Declare here so that
7187         all implementations use the same struct.
7189         * nis/nss_nis/nis-ethers.c: Include netinet/ether.h to get
7190         prototypes.
7191         (struct ether): Removed.
7192         Use struct etherent instead of ether everywhere.
7194         * include/rpc/auth.h (DECLARE_NSS_PROTOTYPES): New.
7196         * include/rpc/auth_des.h (DECLARE_NSS_PROTOTYPES): New.
7198         * sunrpc/publickey.c: Include auth_des.h for prototypes.
7200 2000-12-20  Ulrich Drepper  <drepper@redhat.com>
7202         * math/test-misc.c: Add more tests for nextafter functions.
7204         * sysdeps/i386/fpu/s_nextafterl.c: Handle change from denormal to
7205         normal correctly.  Correct test for sign.
7206         Based on a patch by HJ Lu.
7208 2000-12-19  Ulrich Drepper  <drepper@redhat.com>
7210         * Makeconfig (preprocess-version): Add -traditional to gcc call.
7211         Cleanup sed calls.
7213 2000-12-19  Andreas Jaeger  <aj@suse.de>
7215         * include/netinet/ether.h (DECLARE_NSS_PROTOTYPES): New.
7217         * nis/nis_intern.h: Add prototype for __do_niscall3.
7219         * nis/nss_nis/nis-rpc.c (_nss_nis_setrpcent): Fix declaration to
7220         match prototype.
7222         * include/netdb.h (DECLARE_NSS_PROTOTYPES): Reformat.
7224         * include/rpc/netdb.h (DECLARE_NSS_PROTOTYPES): New.
7226         * include/aliases.h (DECLARE_NSS_PROTOTYPES): New.
7228 2000-12-18  Ulrich Drepper  <drepper@redhat.com>
7230         * math/test-misc.c: Add more tests for nextafter.
7231         * sysdeps/i386/fpu/s_nextafterl.c: Handle decrement for x<0 correctly.
7232         * sysdeps/ieee754/ldbl-96/math_ldbl.h
7233         (ieee_long_double_shape_type): Make sign_exponent element signed.
7235         * manual/message.texi: Add Estonian to plural overview list.
7236         Correct rule for Slavic languages.
7237         Patch by Stanislav Brabec <utx@penguin.cz>.
7239         * nis/nss_nis/nis-netgrp.c: Remove unnecessary initializations.
7241 2000-12-18  Andreas Jaeger  <aj@suse.de>
7243         * test-skeleton.c: Use temp_name_list instead of name_list to
7244         avoid collision with name_list from inet/netgroup.h.
7246         * nss/nss_files/files-network.c (NEED_H_ERRNO): Define.
7248         * include/grp.h (DECLARE_NSS_PROTOTYPES): New.
7249         * include/pwd.h (DECLARE_NSS_PROTOTYPES): New.
7250         * include/netdb.h (DECLARE_NSS_PROTOTYPES): New.
7251         * include/shadow.h (DECLARE_NSS_PROTOTYPES): New.
7253         * hesiod/nss_hesiod/hesiod-proto.c (_nss_hesiod_setprotoent): Fix
7254         declaration to match prototype.
7255         * hesiod/nss_hesiod/hesiod-pwd.c (_nss_hesiod_setpwent): Likewise.
7256         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_setgrent): Likewise.
7257         * hesiod/nss_hesiod/hesiod-service.c (_nss_hesiod_setservent):
7258         Likewise.
7259         * nis/nss_nis/nis-grp.c (_nss_nis_setgrent): Likewise.
7260         * nis/nss_nis/nis-pwd.c (_nss_nis_setpwent): Likewise.
7261         * nis/nss_nis/nis-proto.c (_nss_nis_setprotoent): Likewise.
7262         * nis/nss_nis/nis-service.c (_nss_nis_setservent): Likewise.
7263         (_nss_nis_getservbyport_r): Likewise.
7264         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent): Likewise.
7265         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent): Likewise.
7266         * nis/nss_nis/nis-network.c (_nss_nis_getnetent_r): Likewise.
7267         (_nss_nis_setnetent): Likewise
7268         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
7269         (_nss_nis_endnetgrent): Likewise.
7270         * nis/nss_nisplus/nisplus-netgrp.c (_nss_nisplus_endnetgrent):
7271         Likewise.
7272         (_nss_nisplus_setnetgrent): Likewise.
7273         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Likewise.
7274         * nis/nss_nisplus/nisplus-pwd.c (_nss_nisplus_setpwent): Likewise.
7275         * nis/nss_nisplus/nisplus-grp.c (_nss_nisplus_setgrent): Likewise.
7276         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_setnetent):
7277         Likewise.
7278         * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_sethostent):
7279         Likewise.
7280         * nis/nss_nisplus/nisplus-service.c (_nss_nisplus_setservent):
7281         Likewise.
7282         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_setprotoent):
7283         Likewise.
7284         * nis/nss_compat/compat-spwd.c (_nss_compat_setspent): Likewise.
7285         * nis/nss_compat/compat-pwd.c (_nss_compat_setpwent): Likewise.
7286         * nis/nss_compat/compat-grp.c (_nss_compat_setgrent): Likewise.
7287         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Likewise.
7288         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Likewise.
7289         (_nss_dns_getnetbyaddr_r): Likewise.
7291 2000-12-17  Andreas Jaeger  <aj@suse.de>
7293         * sysdeps/generic/k_sinl.c (__kernel_sinl): Fix functions
7294         parameter.
7296         * sysdeps/unix/sysv/linux/shm_open.c (freeit): Make static and add
7297         unused attribute to shut up gcc warnings.
7299         * sysdeps/generic/k_sinl.c: Include math_private for prototypes.
7300         * sysdeps/generic/k_tanl.c: Likewise.
7301         * sysdeps/generic/k_cosl.c: Likewise.
7302         * sysdeps/generic/e_j0l.c: Likewise.
7303         * sysdeps/generic/e_j1l.c: Likewise.
7304         * sysdeps/generic/e_jnl.c: Likewise.
7305         * sysdeps/generic/e_lgammal_r.c: Likewise.
7307         * elf/vismain.c: Move prototypes for functions in vismod*.c to
7308         vismod.h.
7309         * elf/vismod.h: New file.
7310         * elf/Makefile (distribute): Add vismod.h.
7311         * elf/vismod1.c: Include vismod.h.
7312         * elf/vismod2.c: Likewise.
7313         * elf/vismod3.c: Likewise.
7315         * elf/constload3.c: Add prototype declarations to shut up gcc.
7316         * elf/failobj.c: Likewise.
7317         * elf/nodelmod3.c: Likewise.
7318         * elf/filtmod1.c: Likewise.
7319         * elf/filtmod2.c: Likewise.
7320         * elf/reldepmod1.c: Likewise.
7321         * elf/reldepmod2.c: Likewise.
7322         * elf/reldepmod3.c: Likewise.
7323         * elf/reldepmod4.c: Likewise.
7324         * elf/unload2dep.c: Likewise.
7325         * elf/unload2mod.c: Likewise.
7326         * elf/ltglobmod1.c: Likewise.
7327         * elf/pathoptobj.c: Likewise.
7328         * elf/neededobj1.c: Likewise.
7329         * elf/neededobj2.c: Likewise.
7330         * elf/neededobj3.c: Likewise.
7331         * elf/neededobj4.c: Likewise.
7332         * elf/nextmod1.c: Likewise.
7333         * elf/nextmod2.c: Likewise.
7335         * locale/programs/ld-collate.c (collate_finish): Don't use labels
7336         at end of compound statement.
7337         * locale/programs/locale.c (show_info): Likewise.
7338         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Likewise.
7340 2000-12-16  Jakub Jelinek  <jakub@redhat.com>
7342         * catgets/gencat.c (read_input_file): Avoid calling obstack_free
7343         with a pointer not returned by obstack_ functions.
7345 2000-12-16  Ulrich Drepper  <drepper@redhat.com>
7347         * sysdeps/unix/sysv/aix/bits/stat.h (struct stat): Align with AIX
7348         version.
7349         (struct stat64): Likewise.
7350         Reported by Michael Keezer <mkeezer@redhat.com>.
7352         * timezone/asia: Update from tzdata2000h.
7353         * timezone/australasia: Likewise.
7354         * timezone/backward: Likewise.
7355         * timezone/europe: Likewise.
7356         * timezone/northamerica: Likewise.
7357         * timezone/southamerica: Likewise.
7358         * timezone/zone.tab: Likewise.
7360 2000-12-14  Jakub Jelinek  <jakub@redhat.com>
7362         * io/ftw.c (ftw_dir): If process_entry returned non-zero result
7363         and dir.stream is NULL, only free dir.content.
7364         * io/ftwtest.c (cb, main): Add --early-exit option to test it.
7365         * io/ftwtest-sh: Test with --early-exit.
7367 2000-12-13  Jakub Jelinek  <jakub@redhat.com>
7369         * misc/efgcvt.c (FCVT_MAXDIG): Define.
7370         (FCVT_BUFPTR): New variable.
7371         (fcvt): If fcvt_r returns -1 on the static short buffer,
7372         try to malloc a sufficiently large one and retry.
7373         (free_mem): New function.
7374         * misc/qefgcvt.c (FCVT_MAXDIG): Define.
7375         * misc/tst-efgcvt.c (fcvt_tests): Add new test.
7377 2000-12-15  Ulrich Drepper  <drepper@redhat.com>
7379         * misc/dirname.c (dirname): Fix search for second to last slash.
7381 2000-12-13  Andreas Jaeger  <aj@suse.de>
7383         * misc/tst-dirname.c (main): Fix typo in test to really use
7384         the examples from Unix98.
7385         Reported by Michael Kerrisk <mtk16@ext.canterbury.ac.nz>.
7387 2000-12-09  H.J. Lu  <hjl@gnu.org>
7389         * sysdeps/ia64/fpu/s_fabs.S: New file.
7390         * sysdeps/ia64/fpu/s_fabsf.S: New file.
7391         * sysdeps/ia64/fpu/s_fabsl.S: New file.
7393 2000-12-15  Andreas Jaeger  <aj@suse.de>
7395         * stdio-common/scanf9.c (main): Reformat and change to avoid
7396         warnings.
7398         * stdio-common/tstdiomisc.c: Make local functions static.
7399         * stdio-common/tst-printf.c: Likewise.
7401         * elf/constload2.c: Add prototype declarations to shut up gcc.
7402         * elf/dep1.c: Likewise.
7403         * elf/dep2.c: Likewise.
7404         * elf/dep3.c: Likewise.
7405         * elf/dep4.c: Likewise.
7406         * elf/ltglobmod2.c: Likewise.
7408         * libio/fmemopen.c: Make local functions static.
7410         * elf/Makefile (distribute): Added testobj.h.
7412         * elf/testobj.h: New file.
7414         * elf/testobj1.c: Include testobj.h and move prototype
7415         declarations to testobj.h.
7416         * elf/testobj2.c: Likewise.
7417         * elf/testobj3.c: Likewise.
7418         * elf/testobj4.c: Likewise.
7419         * elf/testobj5.c: Likewise.
7420         * elf/testobj6.c: Likewise.
7421         * elf/testobj1_1.c: Likewise.
7422         * elf/preloadtest.c: Likewise.
7424 2000-12-15  Ben Collins  <bcollins@debian.org>
7426         * misc/sys/cdefs.h: Fix thinko in checks for flexarr macros.
7427         Patch by Akim Demaille <akim@epita.fr> in Debian bug report.
7429 2000-12-14  H.J. Lu  <hjl@gnu.org>
7431         * sysdeps/ieee754/flt-32/s_sincosf.c (__sincosf): The exponent
7432         field in a float is 8 bits, not 11 bits.
7434 2000-12-13  Jakub Jelinek  <jakub@redhat.com>
7436         * math/test-misc.c (main): Adjust m for IEEE quad long double.
7438 2000-12-13  Andreas Jaeger  <aj@suse.de>
7440         * manual/message.texi (Using gettextized software): Fix typo.
7442         * manual/charset.texi (Converting a Character): Fix mbstouwcs
7443         program to compile.
7444         Patch by Martin Buchholz <martin@xemacs.org>.
7446         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Fix typo.
7447         Reported by Michael Kerrisk <mtk16@ext.canterbury.ac.nz>.
7449 2000-12-11  Andreas Jaeger  <aj@suse.de>
7451         * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Declare
7452         kernel_sigset_t and use it.
7453         Patch by Hiroyuki Machida <machida@sm.sony.co.jp>.
7455 2000-12-10  Richard Henderson  <rth@redhat.com>
7457         * sysdeps/alpha/alphaev67/fpu/Implies: New file.
7458         * sysdeps/alpha/alphaev6/fpu/e_sqrtf.S: New file.
7459         * sysdeps/alpha/alphaev6/fpu/e_sqrt.S: New file.
7461 2000-12-10  Jakub Jelinek  <jakub@redhat.com>
7463         * sysdeps/alpha/htonl.S: Fix a typo.
7465 2000-12-10  Jakub Jelinek  <jakub@redhat.com>
7467         * sysdeps/alpha/alphaev6/stxcpy.S: Exchange t8 with t10.
7469 2000-12-10  Andreas Jaeger  <aj@suse.de>
7471         * locale/programs/ld-ctype.c (charclass_symbolic_ellipsis): Fixed
7472         cast as suggested by Jakub Jelinek <jakub@redhat.com> and Ulrich
7473         Drepper <drepper@redhat.com>.
7475 2000-12-09  Andreas Jaeger  <aj@suse.de>
7477         * sysdeps/unix/sysv/linux/mips/sigaction.c: New file.
7479         * sysdeps/unix/sysv/linux/mips/sys/acct.h: Removed, we can use the
7480         generic version.
7481         Patches by Hiroyuki Machida <machida@sm.sony.co.jp>.
7483         * locale/programs/ld-collate.c (handle_ellipsis): Fix format
7484         string.
7486         * locale/programs/ld-ctype.c (charclass_symbolic_ellipsis): Fix
7487         format string.
7489         * nscd/hstcache.c (addhstbyname): Add cast to avoid warning.
7490         * nscd/connections.c (handle_request): Likewise.
7491         * nscd/pwdcache.c (addpwbyname): Likewise.
7492         * nscd/grpcache.c (addgrbyname): Likewise.
7494         * nscd/nscd_conf.c (nscd_parse_file): Remove extra argument.
7496 2000-12-09  Ulrich Drepper  <drepper@redhat.com>
7498         * string/stratcliff.c: Add tests for stpncpy, memcpy, and mempcpy.
7500         * Makeconfig (default_cflags): Make -O2 the default for stable
7501         releases.
7503 2000-12-08  H.J. Lu  <hjl@gnu.org>
7505         * sysdeps/ia64/fpu/s_isinfl.S: Renamed to ...
7506         * sysdeps/ia64/fpu/s_isinf.S: This.
7507         Add a .pred.rel.mutex note to avoid false report.
7509         * sysdeps/ia64/fpu/s_isnanl.S: Renamed to ...
7510         * sysdeps/ia64/fpu/s_isnan.S: This.
7512         * sysdeps/ia64/fpu/s_fpclassify.S: New file.
7513         * sysdeps/ia64/fpu/s_fpclassifyf.S: New file.
7514         * sysdeps/ia64/fpu/s_fpclassifyl.S: New file.
7515         * sysdeps/ia64/fpu/s_isinff.S: New file.
7516         * sysdeps/ia64/fpu/s_isinfl.S: New file.
7517         * sysdeps/ia64/fpu/s_isnanf.S: New file.
7518         * sysdeps/ia64/fpu/s_isnanl.S: New file.
7519         * sysdeps/ia64/fpu/s_finite.S: New file.
7520         * sysdeps/ia64/fpu/s_finitef.S: New file.
7521         * sysdeps/ia64/fpu/s_finitel.S: New file.
7522         * sysdeps/ia64/fpu/s_signbit.S: New file.
7523         * sysdeps/ia64/fpu/s_signbitf.S: New file.
7524         * sysdeps/ia64/fpu/s_signbitl.S: New file.
7525         * sysdeps/ia64/fpu/s_copysign.S: New file.
7526         * sysdeps/ia64/fpu/s_copysignf.S: New file.
7527         * sysdeps/ia64/fpu/s_copysignl.S: New file.
7529 2000-12-08  Ulrich Drepper  <drepper@redhat.com>
7531         * math/libm-test.inc (main): Fix typos in messages.
7533         * string/stratcliff.c: Add test for rawmemchr.
7535 2000-12-08  Jakub Jelinek  <jakub@redhat.com>
7537         * elf/dl-open.c (_dl_open): If objname points right after errstring,
7538         allocate it together with errstring using alloca.
7539         * elf/dl-error.c (_dl_signal_error): If malloc failed, set objname
7540         to "", because it might point to local stack.
7542 2000-12-05  H.J. Lu  <hjl@gnu.org>
7544         * nss/Makefile (routines): Add getnssent and getnssent_r.
7545         * nss/nsswitch.h (__nss_setent): New internal NSS function.
7546         (__nss_endent): Likewise.
7547         (__nss_getent_r): Likewise.
7548         (__nss_getent): Likewise.
7549         * nss/getnssent_r.c: New file.
7550         * nss/getnssent.c: New file.
7551         * nss/getXXent.c (H_ERRNO_VAR): Updated.
7552         (GETFUNC_NAME): Updated to call __nss_getent ().
7553         * nss/getXXent_r.c (H_ERRNO_VAR_P): New.
7554         (STAYOPEN_TMPVAR): Updated.
7555         (STAYOPEN_VAR): Updated.
7556         (SETFUNC_NAME): Updated to call __nss_setent ().
7557         (ENDFUNC_NAME): Updated to call __nss_endent ().
7558         (INTERNAL (REENTRANT_GETNAME)): Updated to call __nss_getent_r ().
7560 2000-12-08  Andreas Jaeger  <aj@suse.de>
7562         * nscd/dbg_log.h (dbg_log): Correct attribute.
7564 2000-12-08  Jakub Jelinek  <jakub@redhat.com>
7566         * elf/dl-load.c (fillin_rpath): Don't assume there is '\0' at
7567         cp + len.  Compute where from dirname.
7568         Reported by <jreiser@BitWagon.com>.
7570 2000-12-08  Richard Henderson  <rth@twiddle.net>
7572         * sysdeps/alpha/_mcount.S: Fix typo.
7573         * sysdeps/alpha/strncpy.S: Likewise.
7575         * sysdeps/alpha/alphaev6/Implies: New file.
7576         * sysdeps/alpha/alphaev67/Implies: New file.
7577         * sysdeps/alpha/alphaev67/ffs.S: New file.
7578         * sysdeps/alpha/alphaev67/ffsll.S: New file.
7579         * sysdeps/alpha/alphaev67/rawmemchr.S: New file.
7580         * sysdeps/alpha/alphaev67/stpcpy.S: New file.
7581         * sysdeps/alpha/alphaev67/stpncpy.S: New file.
7582         * sysdeps/alpha/rawmemchr.S: New file.
7583         * sysdeps/alpha/strcat.S: Tail call to __stxcpy.
7584         * sysdeps/alpha/strcpy.S: Likewise.
7586         From GMP 3.1.1:
7587         * sysdeps/alpha/alphaev6/addmul_1.s: New file.
7589         From rick.gorton@alpha-processor.com:
7590         * sysdeps/alpha/alphaev6/memchr.S: New file.
7591         * sysdeps/alpha/alphaev6/memcpy.S: New file.
7592         * sysdeps/alpha/alphaev6/memset.S: New file.
7593         * sysdeps/alpha/alphaev6/stxcpy.S: New file.
7594         * sysdeps/alpha/alphaev6/stxncpy.S: New file.
7595         * sysdeps/alpha/alphaev67/strcat.S: New file.
7596         * sysdeps/alpha/alphaev67/strchr.S: New file.
7597         * sysdeps/alpha/alphaev67/strlen.S: New file.
7598         * sysdeps/alpha/alphaev67/strncat.S: New file.
7599         * sysdeps/alpha/htonl.S: Use a shorter sequence.
7601 2000-12-08  Jakub Jelinek  <jakub@redhat.com>
7603         * inet/getnameinfo.c (getnameinfo): Fix NI_NOFQDN support.
7604         Reported by <pspencer@fields.utoronto.ca>.
7606 2000-12-07  Jes Sorensen  <jes@linuxcare.com>
7608         * sysdeps/ia64/elf/start.S (__data_start): Add __data_start variable.
7609         Pointed out by Hans Boehm.
7611 2000-12-07  H.J. Lu  <hjl@gnu.org>
7613         * elf/dl-version.c (match_symbol): Check map->l_name[0] for printing.
7615 2000-12-07  Andreas Jaeger  <aj@suse.de>
7617         * misc/error.c: Add format attributes for __error and __error_at_line.
7619         * nscd/dbg_log.h: Add format attribute.
7621 2000-12-08  Ulrich Drepper  <drepper@redhat.com>
7623         * misc/sys/syslog.h: Add format attributes to syslog and vsyslog.
7624         Patch by Joseph S. Myers <jsm28@cam.ac.uk>.
7626 2000-12-07  Dan Pop  <Dan.Pop@cern.ch>
7628         * sysdeps/ia64/strcpy.S: Fix a bug in a recovery code sequence.
7630 2000-12-06  Ulrich Drepper  <drepper@redhat.com>
7632         * sysdeps/unix/sysv/aix/Makefile [$(subdir)==misc]
7633         (sysdep_routines): Add uitrunc.
7634         * sysdeps/unix/sysv/aix/uitrunc.c: New file.
7635         Patches by Michael Keezer <mkeezer@redhat.com>.
7637 2000-12-06  Roland McGrath  <roland@frob.com>
7639         * sysdeps/mach/hurd/ioctl.c (__ioctl): Don't clobber ARG as we copy in
7640         argument data, since it will be used to copy out too (for INOUT).
7641         Reported by Marcus Brinkmann <marcus@gnu.org>.
7643         * sysdeps/mach/hurd/ioctl.c: Include <stdint.h>.
7644         (__ioctl): Use uintptr_t instead of unsigned long int.
7646 2000-12-06  Jim Wilson  <wilson@redhat.com>
7648         * stdlib/l64a.c (l64a): Truncate M to 32-bit value.
7650 2000-12-06  Ulrich Drepper  <drepper@redhat.com>
7652         * stdio-common/printf_fp.c (__printf_fp): Handle decimal point in
7653         x.5 rounding correctly.
7655 2000-12-06  Mark Kettenis  <kettenis@gnu.org>
7657         * stdio-common/perror.c (perror): Conditionalize code dealing with
7658         wide-oriented streams on USE_IN_LIBIO.
7660 2000-12-06  Mark Kettenis  <kettenis@gnu.org>
7662         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup): Mark
7663         as internal_function.
7665 2000-12-05  Ulrich Drepper  <drepper@redhat.com>
7667         * sysdeps/alpha/elf/start.S (__data_start): Define.
7669 2000-12-05  H.J. Lu  <hjl@gnu.org>
7671         * nss/getXXent_r.c (setup): Change the return type to int.
7673 2000-12-05  Ulrich Drepper  <drepper@redhat.com>
7675         * sysdeps/unix/sysv/aix/Makefile [$(subdir)==misc]
7676         (sysdep_routines): Add restf and savef.
7677         * sysdeps/unix/sysv/aix/restf.c: New file.
7678         * sysdeps/unix/sysv/aix/savef.c: New file.
7679         Patches by Michael Keezer <mkeezer@redhat.com>.
7681         * sysdeps/unix/opendir.c (__opendir): Don't use o_directory_works
7682         if O_DIRECTORY is not defined.
7683         Patch by Michael Keezer <mkeezer@redhat.com>.
7685         * include/libc-symbols.h (C_SYMBOL_DOT_NAME): Define.
7686         Patch by Michael Keezer <mkeezer@redhat.com>.
7688         * locale/programs/linereader.c (get_toplvl_escape): Recognize more
7689         than 4 bytes in escape sequence.
7690         Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
7692 2000-12-05  Andreas Jaeger  <aj@suse.de>
7694         * sysdeps/unix/sysv/linux/mips/sys/tas.h (_test_and_set): Don't
7695         set mips2.
7697         * sysdeps/unix/sysv/linux/mips/sysdep.h: New file.
7699         * sysdeps/unix/sysv/linux/mips/sys/syscall.h: Removed.
7701         * sysdeps/unix/mips/sysdep.h: Use SYS_ify.
7702         Patches by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
7704         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Mark as
7705         internal_function.
7706         * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Likewise.
7707         * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start_cleanup): Likewise.
7709         * sysdeps/generic/dl-cache.c: Remove declaration of
7710         _dl_sysdep_read_whole_file.
7712         * elf/dl-load.c (_dl_map_object): Remove declaration of
7713         _dl_load_cache_lookup.
7715         * sysdeps/generic/ldsodefs.h: Add declarations of
7716         _dl_load_cache_lookup, _dl_unload_cache,
7717         _dl_sysdep_read_whole_file, _dl_sysdep_start and
7718         _dl_sysdep_start_cleanup.
7720         * elf/rtld.c: Remove prototypes that are defined in ldsodefs.h
7721         now.
7723         * elf/dl-misc.c: Include <ldsodefs.h> to get prototypes.
7724         * sysdeps/generic/dl-environ.c: Likewise.
7726         * stdio-common/printf_fp.c: Include <gmp.h> instead of
7727         <stdlib/gmp.h>.
7728         * math/atest-exp.c: Likewise.
7729         * math/atest-exp2.c: Likewise.
7730         * math/atest-sincos.c: Likewise.
7731         * stdio-common/_itoa.c: Likewise.
7732         * stdio-common/_itowa.c: Likewise.
7734         * include/gmp.h: New file with internal prototypes.
7736         * sysdeps/generic/longjmp.c: Move _longjmp_unwind declaration from
7737         here to...
7738         * include/setjmp.h: ...here.
7740         * locale/Makefile (routines): Remove codeset_name since it's not
7741         needed anywhere.
7743         * locale/codeset_name.c: Removed.
7745 2000-12-05  Ulrich Drepper  <drepper@redhat.com>
7747         * sysdeps/unix/sysv/aix/sys/param.h: Define MAXHOSTNAMELEN here.
7749 2000-12-05  Andreas Jaeger  <aj@suse.de>
7751         * sysdeps/unix/sysv/linux/sys/param.h: Revert last patch.
7753 2000-12-05  Martin Schwidefsky  <schwidefsky@de.ibm.com>
7755         * sysdeps/unix/sysv/linux/s390/mmap64.S: Use mmap if mmap2 isn't
7756         available.
7758 2000-12-05  Andreas Jaeger  <aj@suse.de>
7760         * nss/test-netdb.c: Mark local functions as static to avoid
7761         warnings.
7762         (main): Use return to silence warning.
7764         * stdlib/test-canon.c (check_path): Mark as static to avoid warning.
7766         * stdio-common/test-popen.c: Mark local functions as static to
7767         avoid warnings.
7768         (main): Use return to silence warning.
7770         * stdlib/testsort.c (compare): Mark as static to avoid warning.
7772         * assert/test-assert.c: Mark local functions as static to avoid
7773         warnings.
7774         * assert/test-assert-perr.c: Likewise.
7776         * math/libm-test.inc (main): Use return to silence warnings.
7778 2000-12-04  Ulrich Drepper  <drepper@redhat.com>
7780         * math/fenv.h: Fix typo in comment.
7782         * math/test-misc.c (main): Add a few more over and underflow tests
7783         for scalb.
7785         * sysdeps/i386/fpu/e_scalb.S: Handle NaN as first parameter correctly.
7786         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
7787         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
7788         * math/w_scalb.c: Don't use matherr except in SVID mode.
7789         * math/w_scalbf.c: Likewise.
7790         * math/w_scalbl.c: Likewise.
7791         * math/test-misc.c: Add test for NaN and scalbl.
7792         Reported by Fred J. Tydeman <tydeman@tybor.com>.
7794 2000-12-04  Ulrich Drepper  <drepper@redhat.com>
7796         * configure.in: Define HAVE_ASM_GLOBAL_DOT_NAME for AIX.
7797         * config.h.in: Add HAVE_ASM_GLOBAL_DOT_NAME.
7798         * include/libc-symbols.h (strong_alias): Define special version
7799         for HAVE_ASM_GLOBAL_DOT_NAME.
7800         (weak_alias): Likewise.
7801         * sysdeps/powerpc/bsd-setjmp.S: Use strong_alias not .set.
7802         * sysdeps/unix/sysv/aix/Makefile [$(subdir)==login]
7803         (sysdep_routines): Add setutxent, getutxent, endutxent, getutxid,
7804         getutxline, pututxline, and utmpxname.
7805         * sysdeps/unix/sysv/aix/fchdir.c: Define __fchdir.
7806         * sysdeps/unix/sysv/aix/lseek.c: Define __libc_lseek alias.
7807         * sysdeps/unix/sysv/aix/open.c: Define __libc_open alias.
7808         * sysdeps/unix/sysv/aix/pread.c: Define pread alias.
7809         * sysdeps/unix/sysv/aix/pread64.c: Define pread64 alias.
7810         * sysdeps/unix/sysv/aix/sysdep.h (JUMPTARGET): Use C_TEXT.
7811         * sysdeps/unix/sysv/aix/bits/types.h: Define __clockid_t and __timer_t.
7812         * sysdeps/unix/sysv/aix/bits/utmp.h: Cleanup.  Add comments.
7813         * sysdeps/unix/sysv/linux/sys/param.h (MAXHOSTNAMELEN): Define.
7814         Patches by Michael Keezer <mkeezer@redhat.com>.
7816 2000-12-04  H.J. Lu  <hjl@gnu.org>
7818         * configure.in: Change --with-oldest-abi=ABI to
7819         --enable-oldest-abi=ABI.
7821 2000-12-02  Bruno Haible  <haible@clisp.cons.org>
7823         * stdio-common/perror.c (perror): If stderr is wide-oriented, use
7824         fwprintf instead of fprintf.
7826 2000-12-04  Ulrich Drepper  <drepper@redhat.com>
7828         * sysdeps/alpha/fpu/bits/mathdef.h: Remove FLT_EVAL_METHOD and
7829         DECIMAL_DIG definitions.
7830         * sysdeps/arm/fpu/bits/mathdef.h: Likewise
7831         * sysdeps/generic/bits/mathdef.h: Likewise
7832         * sysdeps/i386/fpu/bits/mathdef.h: Likewise
7833         * sysdeps/ia64/fpu/bits/mathdef.h: Likewise
7834         * sysdeps/m68k/fpu/bits/mathdef.h: Likewise
7835         * sysdeps/powerpc/fpu/bits/mathdef.h: Likewise
7836         * sysdeps/sparc/fpu/bits/mathdef.h: Likewise
7837         * sysdeps/sh/sh4/fpu/bits/mathdef.h: Likewise
7839 2000-12-03  Ulrich Drepper  <drepper@redhat.com>
7841         * math/test-fenv.c (main): Use return instead of exit to avoid warning.
7843         * math/atest-exp.c: Mark local functions as static to avoid warnings.
7844         * math/atest-exp2.c: Likewise.
7845         * math/atest-sincos.c: Likewise.
7847         * sysdeps/i386/fpu/bits/mathdef.h (DECIMAL_DIG): Correct value.
7848         Reported by Fred J. Tydeman <tydeman@tybor.com>.
7850         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Hopefully fix
7851         the handling of denormalized numbers.
7853         * math/test-misc.c (main): Test for fpclassify and pseudo denormal
7854         numbers on x86.
7855         * sysdeps/i386/fpu/fpclassifyl.c: New file.
7857         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Handle the
7858         pseudo denormal representation of LDBL_MIN.
7860         * iconvdata/SJIS.irreversible: Remove unnecessary entries.
7861         * iconvdata/EUC-JP.irreversible: Remove unnecessary entries.
7863         * iconvdata/sjis.c: Enable round-trip mapping of backslash and tilde.
7864         * iconvdata/jis0208.c: Likewise.
7865         * iconvdata/jis0212.c: Likewise.
7866         Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
7868         * math/test-misc.c (main): More tests for frexp and some for
7869         fpclassify and isnormal.
7871         * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf): Correct
7872         test for subnormal.
7873         Reported by Fred J. Tydeman <tydeman@tybor.com>.
7875         * math/test-misc.c (main): Add tests for frexp.
7876         Reported by Fred J. Tydeman <tydeman@tybor.com>.
7877         * sysdeps/i386/fpu/s_frexpl.S: Don't overflow during the computation.
7879 2000-12-02  H.J. Lu  <hjl@gnu.org>
7881         * locale/lc-time.c (_nl_init_era_entries): Pass L'\0' instead of
7882         '\0' to wcschr.
7884 2000-12-02  Ulrich Drepper  <drepper@redhat.com>
7886         * sysdeps/i386/fpu/s_frexp.S: Add missing fwait.
7887         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
7888         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
7890         * sysdeps/generic/glob.c: Adjust types of several variables to
7891         avoid warnings.
7893 2000-12-01  Ulrich Drepper  <drepper@redhat.com>
7895         * sysdeps/unix/sysv/linux/shm_open.c: Remove incorrect comment.
7897 2000-11-30  Roland McGrath  <roland@frob.com>
7899         * hurd/hurd/ioctl.h (_HURD_HANDLE_IOCTLS_1): New macro.
7900         (_HURD_HANDLE_IOCTLS, _HURD_HANDLE_IOCTL): Redefine using it, so as to
7901         allow multiple instances using the same function name in one file.
7903 2000-12-01  Ulrich Drepper  <drepper@redhat.com>
7905         * configure.in: Correct test for pserver CVS access.
7907 2000-11-28  H.J. Lu  <hjl@gnu.org>
7909         * libio/libio.h: Remove extra "#if ... #endif".
7911 2000-11-29  H.J. Lu  <hjl@gnu.org>
7913         * stdio-common/vfscanf.c (ORIENT): Swap the COMPILE_WSCANF case.
7915 2000-12-01  H.J. Lu  <hjl@gnu.org>
7917         * nss/getXXbyYY_r.c: Fix verioned symbol handling.
7918         * nss/getXXent_r.c: Likewise.
7919         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
7921 2000-11-30  H.J. Lu  <hjl@gnu.org>
7923         * scripts/abi-versions.awk (oldest_abi): New variable.
7924         Handle the oldest ABI supported.
7926         * Makerules ($(common-objpfx)abi-versions.h): Set oldest_abi
7927         for scripts/abi-versions.awk.
7929         * configure.in: Add --with-oldest-abi=ABI.
7930         * configure: Rebuild.
7932         * config.make.in (oldest-abi): New.
7934         * config.h.in (GLIBC_OLDEST_ABI): New.
7936         * csu/version.c (banner): Support GLIBC_OLDEST_ABI.
7938 2000-11-30  Jakub Jelinek  <jakub@redhat.com>
7940         * locale/setlocale.c (setname): Free for all categories, not just
7941         LC_ALL.
7942         (setlocale): Store a copy of string passed by user, not the string
7943         itself.
7945 2000-11-30  Roland McGrath  <roland@frob.com>
7947         * sysdeps/mach/hurd/defs.c (init_stdio): Put this on __libc_subinit
7948         rather than _hurd_fd_subinit, so it happens after it's safe to use
7949         libc facilities like malloc.
7951 2000-11-28  Andreas Jaeger  <aj@suse.de>
7953         * sysdeps/unix/sysv/linux/getdents.c: Add _syscall_getdents64
7954         declaration, adjust declaration of __syscall_getdents to match
7955         kernel.
7957 2000-11-29  H.J. Lu  <hjl@gnu.org>
7959         * sysdeps/generic/readelflib.c (check_ptr): Undefine it first.
7961 2000-11-29  Andreas Jaeger  <aj@suse.de>
7963         * sysdeps/unix/sysv/linux/hppa/brk.c (__brk): Remove unused variable.
7965 2000-11-28  Ulrich Drepper  <drepper@redhat.com>
7967         * dlfcn/defaultmod1.c: Add prototypes to avoid warnings.
7968         * dlfcn/defaultmod2.c: Likewise.
7969         * dlfcn/dlopen.c: Likewise.
7970         * dlfcn/dlopenold.c: Likewise.
7971         * dlfcn/failtestmod.c: Likewise.
7972         * dlfcn/glreflib1.c: Likewise.
7973         * dlfcn/glreflib2.c: Likewise.
7974         * dlfcn/eval.c: Likewise.  Add attributes.
7976         * ctype/ctype-extn.c: Define isblank and not __isblank.
7978         * time/strftime.c: Add const where necessary to avoid warnings.
7979         * time/strptime.c (strptime_internal): Add casts to avoid warnings.
7981 2000-11-22  Paul Eggert  <eggert@twinsun.com>
7983         * time/strftime.c (my_strftime): Do not invoke mbrlen with a
7984         size of (size_t) -1; it's not portable.
7986 2000-11-28  Ulrich Drepper  <drepper@redhat.com>
7988         * sysdeps/i386/fpu/libm-test-ulps: Adjust some values for the
7989         crappy i486 FPU.
7990         Reported by Michael Deutschmann <michael@talamasca.ocis.net>.
7992 2000-11-14  Jes Sorensen  <jes@linuxcare.com>
7994         * sysdeps/ia64/_mcount.S: Call __mcount instead of __mcount_internal.
7996         * sysdeps/ia64/Makefile: Compile _mcount.S in subdir gmon as
7997         _mcount is required by profiled binaries.
7999         * sysdeps/unix/sysv/linux/ia64/machine-gmon.h: Moved to...
8000         * sysdeps/ia64/machine-gmon.h: ...here.
8002 2000-11-28  Masahide Washizawa  <washi@jp.ibm.com>
8004         * iconvdata/Makefile (modules): Add IBM922, IBM1124, and IBM1129.
8005         (distribute): Add ibm922.c, ibm1124.c, ibm1129.c, ibm922.h, ibm1124.h,
8006         and ibm1129.h.
8007         * iconvdata/gconv-modules: Add entries for IBM922, IBM1124, and
8008         IBM1129.
8009         * iconvdata/ibm922.c: New file.
8010         * iconvdata/ibm922.h: New file.
8011         * iconvdata/ibm1124.c: New file.
8012         * iconvdata/ibm1124.h: New file.
8013         * iconvdata/ibm1129.c: New file.
8014         * iconvdata/ibm1129.h: New file.
8015         * iconvdata/testdata/IBM922: New file.
8016         * iconvdata/testdata/IBM922..UTF8: New file.
8017         * iconvdata/testdata/IBM1124: New file.
8018         * iconvdata/testdata/IBM1124..UTF8: New file.
8019         * iconvdata/testdata/IBM1129: New file.
8020         * iconvdata/testdata/IBM1129..UTF8: New file.
8022 2000-11-28  Ulrich Drepper  <drepper@redhat.com>
8024         * catgets/gencat.c (normalize_line): Take extra parameter with escape
8025         character.  Change callers.
8026         (open_conversion): Determine mapping of 0x5c as wchar_t value.
8027         * catgets/Makefile: Add rules to build and run test-gencat.
8028         * catgets/sample.SJIS: New file.
8029         * catgets/test-gencat.c: New file.
8030         * catgets/test-gencat.sh: New file.
8031         Report and test case by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
8033 2000-11-28  Andreas Jaeger  <aj@suse.de>
8035         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Synch with generic
8036         Linux version.
8038 2000-11-28  Ulrich Drepper  <drepper@redhat.com>
8040         * sysdeps/unix/sysv/linux/bits/socket.h: Fix last patch.
8042 2000-11-28  Andreas Jaeger  <aj@suse.de>
8044         * sysdeps/unix/sysv/linux/bits/socket.h (struct cmsghdr): Use
8045         __flexarr.
8046         * sysdeps/unix/sysv/linux/mips/bits/socket.h (struct cmsghdr):
8047         Likewise.
8049 2000-11-27  Ulrich Drepper  <drepper@redhat.com>
8051         * misc/getusershell.c: Make strings in okshells array const.
8052         * misc/regexp.c: Add const to cast to avoid warnings.
8053         * sysdeps/unix/sysv/linux/llseek.c: Add prototype for __llseek.
8054         * sysdeps/unix/sysv/linux/i386/setresuid.c: Add prototype for
8055         __setresuid.
8056         * sysdeps/unix/sysv/linux/i386/setresgid.c: Add prototype for
8057         setresgid.
8058         * misc/error.c: Add prototypes for __error and __error_at_line.
8059         * misc/mntent_r.c (__getmntent_r): Add break at end of switch
8060         statement to avoid warning.
8061         * test-skeleton.c: Mark timeout_handler with noreturn.
8062         * iconv/skeleton.c (get16u): Add const to cast.
8063         (get32u): Likewise.
8064         * iconvdata/gb18030.c: Likewise.
8065         * iconvdata/iso-2022-cn-ext.c: Likewise.
8066         * iconvdata/ansi_x3.110.c: Add cast to avoid warning.
8067         * iconvdata/big5.c: Likewise.
8068         * iconvdata/big5hkscs.c: Likewise.
8069         * iconvdata/iso_6937.c: Likewise.
8070         * iconvdata/iso_6937-2.c: Likewise.
8071         * iconvdata/t.61.c: Likewise.
8072         * iconvdata/iso646.c: Add prototypes for gconv_init and gconv_env.
8073         * iconvdata/unicode.c: Likewise.
8074         * iconvdata/utf-16.c: Likewise.
8075         * iconvdata/cns11643.h (ucs4_to_cns11643): Define needed as size_t.
8076         * iconv/gconv_trans.c (__gconv_translit_find): Avoid one warning
8077         with little code shuffling.
8079         * sysdeps/powerpc/Makefile (CFLAGS-initfini.s): Add -O1 to avoid
8080         the problems introduced when the user selects -O3.
8082         * iconv/gconv.h (__gconv_info): Define __data element using __flexarr.
8083         * misc/sys/cdefs.h: Define __flexarr.
8084         Proposed by Joseph S. Myers <jsm28@cam.ac.uk>.
8086         * iconvdata/iso-2022-jp.c: Add prototypes to avoid warnings.
8087         * iconv/skeleton.c: Likewise.
8088         * iconvdata/iso8859-1.c (BODY to 8859-1): Add const to cast.
8089         * iconv/loop.c (get16): Add const to cast.
8090         (get32): Likewise.
8092 2000-11-27  Andreas Jaeger  <aj@suse.de>
8094         * login/programs/pt_chown.c (do_pt_chown): Mark function as static
8095         to avoid warning.
8096         * login/programs/utmpdump.c (print_entry): Likewise.
8098 2000-11-25  Maciej W. Rozycki  <macro@ds2.pg.gda.pl>
8100         * sysdeps/mips/__longjmp.c (__longjmp): Restore SP and FP last and
8101         in a single asm as they may be used to access other stored
8102         registers.
8103         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
8105 2000-11-27  Andreas Jaeger  <aj@suse.de>
8107         * rt/tst-aio.c: Mark test functions as static to avoid warnings.
8108         * rt/tst-aio64.c: Likewise.
8110 2000-11-27  Ulrich Drepper  <drepper@redhat.com>
8112         * catgets/Makefile (test1.cat): Set LC_ALL, LOCPATH, and GCONV_PATH
8113         for gencat run.
8114         (libc.cat): Likewise.
8115         * catgets/gencat.c: Implement handling of message catalogs encoded
8116         with stateful character sets.
8117         Based on a patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
8119 2000-11-26  Ulrich Drepper  <drepper@redhat.com>
8121         * sysdeps/unix/opendir.c (__opendir): Add cast to avoid warning.
8123         * inet/getnameinfo.c: Adjust casts to avoid warnings.
8124         * inet/rcmd.c: Likewise.
8125         * inet/ruserpass.c: Likewise.
8126         * inet/netinet/in.h (IN6_IS_ADDR_UNSPECIFIED, IN6_IS_ADDR_LOOPBACK,
8127         IN6_IS_ADDR_MULTICAST, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
8128         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, IN6_ARE_ADDR_EQUAL,
8129         IN6_IS_ADDR_MC_NODELOCAL, IN6_IS_ADDR_MC_LINKLOCAL,
8130         IN6_IS_ADDR_MC_SITELOCAL, IN6_IS_ADDR_MC_ORGLOCAL,
8131         IN6_IS_ADDR_MC_GLOBAL): Preserve const in cast.
8132         * include/aliases.h: Add prototypes for internal __getalias* functions.
8133         * include/netdb.h: Add prototypes for __old_gethostent_r,
8134         __old_gethostbyaddr_r, __old_gethostbyname_r, __old_gethostbyname2_r,
8135         __old_getnetent_r, __old_getnetbyaddr_r, __old_getnetbyname_r,
8136         __old_getservent_r, __old_getservbyname_r, __old_getservbyport_r,
8137         __old_getprotoent_r, __old_getprotobyname_r, __old_getprotobynumber_r.
8138         * include/rpc/netdb.h: Add prototypes for __old_getrpcbyname_r,
8139         __old_getrpcbynumber_r, __old_getrpcent_r.
8141         * include/rpc/netdb.h: Add __getrpcbyname_r, __getrpcbynumber_r,
8142         __getrpcent_r prototypes.
8144 2000-11-25  Ulrich Drepper  <drepper@redhat.com>
8146         * string/strcoll.c: Add casts to avoid warnings.
8147         * string/strnlen.c: Likewise.
8148         * string/strxfrm.c: Likewise.
8149         * sysdeps/generic/_strerror.c: Likewise.
8150         * sysdeps/generic/memrchr.c: Likewise.
8151         * sysdeps/generic/strcasestr.c: Likewise.
8152         * sysdeps/generic/strstr.c: Likewise.
8154         * locale/weight.h (findidx): Add const to cast to avoid warning.
8156         * elf/loadfail.c: Little cosmetic changes to avoid warnings.
8157         * elf/loadtest.c: Likewise.
8158         * elf/multiload.c: Likewise.
8159         * elf/next.c: Likewise.
8160         * elf/nodelete.c: Likewise.
8161         * elf/noload.c: Likewise.
8162         * elf/order.c: Likewise.
8163         * elf/origtest.c: Likewise.
8164         * elf/preloadtest.c: Likewise.
8165         * elf/restest1.c: Likewise.
8167         * sysdeps/i386/i486/bits/string.h (__strncat_g) [i686]: Fourth
8168         parameter of asm must be in %ecx.
8170         * string/tester.c: Mark test functions as static to avoid warnings.
8172         * iconv/gconv_conf.c (read_conf_file): Make mod_counter static to
8173         preserve value over different gconv-modules files.
8175 2000-11-24  Ulrich Drepper  <drepper@redhat.com>
8177         * locale/findlocale.c: Add casts to avoid warnings.
8178         * locale/localeinfo.h (LIMAGIC): Add cast to avoid warnings.
8179         * misc/efgcvt_r.c (fcvt_r): Use ssize_t instead of int and add cast
8180         to avoid warnings.
8181         * misc/tsearch.c (const_node): New type.
8182         (trecurse): Correct casts to avoid warnings.
8183         (__twalk): Likewise.
8184         * stdlib/tst-limits.c: Add z modifier to formats for WORD_BIT and
8185         LONG_BIT.
8187         * debug/backtrace-tst.c (compare): Add casts to avoid warnings.
8189         * test-skeleton.c: Mark local functions as static to avoid warnings.
8191 2000-11-23  H.J. Lu  <hjl@gnu.org>
8193         * rt/tst-aio6.c (do_test): Use pipe instead of STDIN_FILENO to
8194         support the background job.
8195         Fix a typo.
8197 2000-11-24  Ulrich Drepper  <drepper@redhat.com>
8199         * iconv/gconv_conf.c (insert_module): Replace old entry if new one
8200         has same names but lower cost.
8202 2000-11-23  Jakub Jelinek  <jakub@redhat.com>
8204         * sysdeps/sparc/sparc32/dl-machine.h: Ifdef out handling for relocs
8205         which never occur during bootstrap.
8206         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
8208 2000-11-23  Andreas Jaeger  <aj@suse.de>
8210         * nss/nss_files/files-hosts.c: Remove getipnodebyname.
8212         * nss/Versions: Remove _nss_files_getipnodebyname_r.
8214         * sysdeps/unix/sysv/linux/Versions: Fix typo in last patch.
8216 2000-11-18  Martin Buchholz  <martin@xemacs.org>
8218         * csu/gmon-start.c (__gmon_start__): Avoid over-clever trick `if
8219         (called++) return;'
8221 2000-11-21  Alan Modra  <alan@linuxcare.com.au>
8223         * sysdeps/generic/bsd-_setjmp.c (setjmp): Rename to _setjmp.
8225         * csu/abi-note.S: Correct comment for operating system number.
8227 2000-11-22  Ulrich Drepper  <drepper@redhat.com>
8229         * Versions.def: Add GLIBC_2.2.1 for glibc.
8231 2000-11-22  Andreas Schwab  <schwab@suse.de>
8233         * sysdeps/unix/sysv/linux/syscalls.list: Add pivot_root.
8234         * sysdeps/unix/sysv/linux/Versions: Add pivot_root at GLIBC_2.2.1.
8236 2000-11-22  Ulrich Drepper  <drepper@redhat.com>
8238         * rt/aio_suspend.c (aio_suspend): Convert timeout value to
8239         absolute time for pthread_cond_timedwait call.
8240         Reported by Lawrence Chen <lchen@opentext.com> [libc/1930].
8242         * rt/Makefile (tests): Add tst-aio6.
8243         * rt/tst-aio6.c: New file.
8245 2000-11-23  Andreas Jaeger  <aj@suse.de>
8247         * sysdeps/s390/bits/string.h (strncat): Fix one more typo.
8249 2000-11-22  Andreas Jaeger  <aj@suse.de>
8251         * sysdeps/s390/bits/string.h (strncat): Add missing quotation marks.
8253 2000-11-21  Martin Schwidefsky  <schwidefsky@de.ibm.com>
8255         * sysdeps/s390/bits/string.h: Make strncat always add a \0.
8257 2000-11-21  Andreas Schwab  <schwab@suse.de>
8259         * sysdeps/alpha/setjmp.S: Remove __setjmp entry point.
8260         * sysdeps/arm/setjmp.S: Likewise.
8261         * sysdeps/arm/fpu/setjmp.S: Likewise.
8262         * sysdeps/i386/setjmp.S: Likewise.
8263         * sysdeps/i386/elf/setjmp.S: Likewise.
8264         * sysdeps/s390/setjmp.S: Likewise.
8265         * sysdeps/s390/elf/setjmp.S: Likewise.
8266         * sysdeps/sh/sh3/setjmp.S: Likewise.
8267         * sysdeps/sh/sh4/setjmp.S: Likewise.
8268         * sysdeps/sparc/sparc32/setjmp.S: Likewise.
8269         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
8270         * sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S: Likewise.
8271         * sysdeps/unix/sysv/linux/m68k/setjmp.c: Removed.
8273 2000-11-21  Andreas Jaeger  <aj@suse.de>
8275         * sysdeps/generic/__longjmp.c (__longjmp): Remove obsolete
8276         NORETURN, fix parameter list.
8278         * string/bug-strncat1.c (main): Fix typo.
8279         Patch by Bernhard Kaindl <bernhard.kaindl@suse.de>.
8281 2000-11-20  Ulrich Drepper  <drepper@redhat.com>
8283         * configure.in: Add --enable-all-warnings.
8284         * config.make.in (all-warnings): New variable.
8285         * Makeconfig (+gccwarn): Define with many more warnings if
8286         all-warnings is yes.
8288 2000-11-20  Jakub Jelinek  <jakub@redhat.com>
8290         * iconvdata/bug-iconv2.c (main): Use %zd in format string.
8291         * io/test-lfs.c (do_test): Cast statbuf.st_size to long long.
8292         * malloc/tst-valloc.c (main): Cast valloc return value to long.
8293         * malloc/tst-obstack.c (verbose_malloc): Use %zd in format string.
8294         * math/test-fpucw.c (main): Use %lx in format string, cast
8295         control words to long.
8296         * stdio-common/tst-fmemopen.c (main): Use %td in format strings.
8297         * stdlib/tst-strtol.c (tests): Avoid (bogus?) decimal constant is so
8298         large that it is unsigned warning.
8300         * sysdeps/unix/sysv/linux/sparc/bits/types.h (__ssize_t): Changing
8301         it to long on sparc64.
8303 2000-11-20  Andreas Jaeger  <aj@suse.de>
8305         * nscd/nscd.h (termination_handler): Add noreturn attribute.
8306         (receiv_print_stats): Likewise.
8308         * elf/ldconfig.c (path_hwcap): Cast -1 for proper comparison.
8310 2000-11-20  Ulrich Drepper  <drepper@redhat.com>
8312         * malloc/thread-m.h: gcc doesn't tolerate zero-sized types anymore.
8314         * csu/gmon-start.c: Always have prototype for __gmon_start.
8315         * csu/version.c: Add prototypes for __libc_print_version and
8316         __libc_main.
8317         * iconv/gconv.c: Include gconv_int.h and gconv.h.
8318         * iconv/gconv.h (struct __gconv_step): Remove const from __from_name
8319         and __to_name.
8320         * iconv/gconv_builtin.h: Add ASCII module definitions.
8321         * iconv/gconv_conf.c (__gconv_path_elem): Remove const.
8322         (add_module): Add cast to avoid warning.  Rework construction of
8323         strings for new module.
8324         * iconv/gconv_db.c (__gconv_alias_compare): Make s1 and s2 const.
8325         (derivation_compare): Likewise.
8326         * iconv/gconv_dl.c (do_release_shlib): Remove const from nodep.
8327         (__gconv_release_shlib): Cast do_release_shlib as parameter for twalk.
8328         * iconv/gconv_int.h (__gconv_path_elem): Remove const.
8329         (struct gconv_alias): Remove const from fromname and toname.
8330         * iconv/gconv_simple.c: Include gconv_builtin.h to get prototypes
8331         for loop functions.
8332         (internal_ucs4_loop): Use correct const-ness.
8333         (ucs4_internal_loop): Likewise.
8334         (internal_ucs4le_loop): Likewise.
8335         (ucs4le_internal_loop_single): Likewise.
8336         * iconv/gconv_trans.c (__gconv_transliterate): Make from_idx, from_tbl,
8337         to_idx, to_tbl, winbuf, winbufend const.  Change casts in
8338         assignments appropriately.
8339         (struct known_trans): Remove const from fname.
8340         (trans_compare): Make s1 and s2 const.
8341         * iconv/loop.c (LOOPFC): Make outend parameter const.  Add cast to
8342         avoid warning.
8343         * iconv/skeleton.c: Remove cast in calls of loop functions.
8344         * iconvdata/gconv-modules: Remove US-ASCII definitions.
8345         * iconvdata/iso646.c: Remove US_ASCII support.
8346         * include/set-hooks.h (DEFINE_HOOK): Also generate prototype.
8347         * include/unistd.h: Add __libc_check_standard_fds prototype.
8348         * string/bits/string2.h (__mempcpy_args): Add const to casts.
8349         * sysdeps/generic/initfini.c: Add prototypes for dummy, _init, and
8350         _fini.
8351         * sysdeps/generic/libc-start.c: Add prototype for __libc_start_main.
8352         * sysdeps/i386/i486/bits/string.h (strcmp): Add const to casts.
8353         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Add cast to avoid
8354         warning.
8355         * sysdeps/unix/sysv/linux/init-first.c: Add prototypes for
8356         __libc_init_first and _dl_start.
8357         * intl/dcigettext.c (transcmp): Make s1 and s2 const.
8358         (DCIGETTEXT): Make domaindata variable const.
8359         * intl/loadmsgcat.c (_nl_load_domain): Rearrange domain initialization
8360         to avoid warning.
8362 2000-11-20  Hiroyuki Machida  <machida@sm.sony.co.jp>
8364         * sysdeps/unix/sysv/linux/mips/clone.S: Fix comments.
8366         * sysdeps/unix/sysv/linux/mips/kernel_stat.h (kernel_stat): Expand
8367         time_t to 'long int' not, 'unsigned int'.  Use 'long int' for
8368         __unused? members.
8370         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (O_NOFOLLOW): Use same
8371         value defined in /usr/include/asm-mips/fcntl.h.
8373 2000-11-18  Ulrich Drepper  <drepper@redhat.com>
8375         * stdio-common/Makefile (tests): Add test-vfprintf.
8376         (test-vfprintf-ENV): New variable.
8377         * stdio-common/test-vfprintf.c: New file.
8379         * wcsmbs/mbrtowc.c (__mbrtowc): Do not only flush if input is '\0'.
8381         * wcsmbs/Makefile (tests): Add tst-mbrtowc and tst-wcrtomb.
8382         (tst-mbrtowc-ENV): New variable.
8383         (tst-wcrtomb-ENV): New variable.
8384         * wcsmbs/tst-mbrtowc.c: New file.
8385         * wcsmbs/tst-wcrtomb.c: New file.
8387 2000-11-16  Andreas Jaeger  <aj@suse.de>
8389         * manual/install.texi (Tools for Compilation): Update
8390         documentation for GCC 2.95.2.
8392 2000-11-18  Ulrich Drepper  <drepper@redhat.com>
8394         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only return -EAI_AGAIN
8395         if IPv4 and IPv6 requests timed out.
8397 2000-11-18  Akim Demaille  <akim@epita.fr>
8399         * malloc/obstack.h: Formatting changes.
8400         (obstack_grow, obstack_grow0): Don't cast WHERE at all: it
8401         prevents type checking.
8402         (obstack_ptr_grow, obstack_ptr_grow_fast): When assigning, don't
8403         cast the value to (void *): assigning a `foo *' to a `void *'
8404         variable is valid.
8405         (obstack_int_grow, obstack_int_grow_fast): Don't cast AINT to int.
8407 2000-11-17  Ulrich Drepper  <drepper@redhat.com>
8409         * scripts/config.guess: Update from upstream maintainer.
8410         * scripts/config.sub: Likewise.
8412 2000-11-16  Ulrich Drepper  <drepper@redhat.com>
8414         * libio/freopen.c (freopen): Reset _mode after succesful reopening.
8415         * libio/freopen64.c (freopen64): Likewise.
8416         Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
8418         * libio/Makefile: Add rules to build and run test-freopen.
8419         * libio/test-freopen.c: New file.
8420         * libio/test-freopen.sh: New file.
8422 2000-11-15  H.J. Lu  <hjl@gnu.org>
8424         * sysdeps/generic/ldsodefs.h (DL_DT_INIT_ADDRESS): Defined if
8425         ELF_FUNCTION_PTR_IS_SPECIAL is not defined.
8426         (DL_DT_FINI_ADDRESS): Likewise.
8428         * sysdeps/ia64/dl-lookupcfg.h (_dl_lookup_address): Set the
8429         return type to ElfW(Addr).
8430         (_dl_function_address): New prototype.
8431         (DL_FUNCTION_ADDRESS): Defined.
8432         (DL_DT_INIT_ADDRESS): Defined as DL_FUNCTION_ADDRESS.
8433         (DL_DT_FINI_ADDRESS): Likewise.
8435         * sysdeps/ia64/Versions (GLIBC_2.2): Add _dl_function_address.
8437         * sysdeps/ia64/dl-machine.h (_dl_start_address): Removed.
8438         (ELF_MACHINE_START_ADDRESS): Changed to DL_FUNCTION_ADDRESS.
8440         * sysdeps/ia64/dl-symaddr.c (_dl_start_address): Renamed to ...
8441         (_dl_function_address): This.
8443         * elf/dl-fini.c (_dl_fini): Use DL_DT_FINI_ADDRESS to get the
8444         function pointer for DT_FINI.
8445         * elf/dl-close.c (_dl_close): Likewise.
8447         * elf/dl-init.c (_dl_init): Use DL_DT_INIT_ADDRESS to get the
8448         function pointer for DT_INIT.
8450 2000-11-16  Jakub Jelinek  <jakub@redhat.com>
8452         * sysdeps/generic/printf_fphex.c (__printf_fphex): Compute correctly
8453         end of wexpbuf buffer.
8455 2000-11-16  Andreas Jaeger  <aj@suse.de>
8457         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove duplicate
8458         definition of F_GETLK, F_SETLK, F_SETLKW.
8460 2000-11-16  Andreas Jaeger  <aj@suse.de>
8462         * sysdeps/generic/dl-cache.c (_DL_PLATFORMS_COUNT): Define to 0 if
8463         it's not defined.
8465 2000-11-15  Jakub Jelinek  <jakub@redhat.com>
8467         * dlfcn/default.c (main): Add test for dladdr of main returning
8468         argv[0] in dli_fname field.
8470 2000-11-15  Jakub Jelinek  <jakub@redhat.com>
8472         * Makeconfig (run-program-prefix): Move test-static test into the
8473         variable.
8475         * sysdeps/alpha/dl-machine.h (RTLD_START): Update _dl_argv.
8476         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise,
8477         schedule instructions.
8478         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise,
8479         schedule instructions, fix a bug in copying auxiliary data.
8481 2000-11-15  Ulrich Drepper  <drepper@redhat.com>
8483         * manual/startup.texi (Program Arguments): Fix type of main's envp
8484         parameter.
8485         Reported by Raúl Núñez de Arenas Coronado <dervishd@linuxfreak.com>.
8487         * iconvdata/gconv-modules: Add CP950 alias.
8489 2000-11-13  Jakub Jelinek  <jakub@redhat.com>
8491         * sysdeps/unix/sysv/linux/Makefile: Allow ports to override
8492         syscall-list.h goal.
8493         * sysdeps/unix/sysv/linux/sparc/Makefile: New file.
8495 2000-11-15  Ulrich Drepper  <drepper@redhat.com>
8497         * intl/Makefile: tst-gettext2.sh does not need a third parameter.
8499         * intl/tst-gettext2.sh: Copy locale data.  Adjust LOCPATH.  Verify
8500         output of program.
8502         * intl/tst-gettext2.c: Set C locale if setting other locale
8503         failed.  Use gettext() not _().
8505         * locale/setlocale.c: Increment _nl_msg_cat_cntr whenever we
8506         successfully loaded a new locale.
8508 2000-11-13  Andreas Jaeger  <aj@suse.de>
8510         * configure.in: Require gcc 2.95 or newer.
8512 2000-11-15  Ulrich Drepper  <drepper@redhat.com>
8514         * sysdeps/unix/sysv/linux/paths.h: Adjust for FHS.
8515         Patch by Arkadiusz Miskiewicz <misiek@pld.ORG.PL>.
8517 2000-11-11  Jim Meyering  <meyering@lucent.com>
8519         * string/strndup.c (strndup): Cast return value to `char *'.
8521 2000-11-15  Jim Meyering  <meyering@ascend.com>
8523         * sysdeps/generic/memchr.c: Remove some useless parentheses.
8524         [HAVE_STDLIB_H || defined _LIBC]: Include <stdlib.h>.
8525         [HAVE_BP_SYM_H || defined _LIBC]: Guard inclusion of bp-sym.h.
8526         [! (HAVE_BP_SYM_H || defined _LIBC)] (BP_SYM): Define as no-op.
8527         Also #undef __memchr.
8528         Use `weak_alias' only if it's defined.
8530 2000-11-10  H.J. Lu  <hjl@gnu.org>
8532         * Makefile.in (install): Set LANGUAGE=C LC_ALL=C.
8534 2000-11-15  Andreas Jaeger  <aj@suse.de>
8536         * elf/chroot_canon.c: Include <stdint.h>.
8538         * elf/cache.c (struct cache_entry): Use uint64_t for hwcap.
8539         (print_entry): Likewise.
8540         (add_to_cache): Likewise.
8542         * elf/ldconfig.h (add_to_cache): Change prototype for hwcap change.
8544         * elf/ldconfig.c (struct lib_entry): Use uint64_t for hwcap.
8545         (path_hwcap): Likewise.
8546         (search_dir): Likewise.
8548         * sysdeps/generic/dl-cache.c (HWCAP_CHECK): Handle platform.
8550         * elf/cache.c (add_to_cache): Handle 64 bit hwcap entry.
8552         * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h
8553         (_dl_platform_string): New.
8554         (_DL_HWCAP_PLATFORM): New.
8555         (_dl_string_platform): New.
8556         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h: Likewise.
8558         * sysdeps/generic/dl-procinfo.h (_DL_HWCAP_COUNT): New.
8559         (_dl_string_platform): New.
8560         (_DL_HWCAP_PLATFORM): New.
8561         (_dl_platform_string): New.
8563         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Added x86 platform
8564         recognition.
8565         (_DL_HWCAP_COUNT): New.
8566         (_dl_string_platform): New.
8567         (_DL_HWCAP_PLATFORM): New.
8568         (_dl_platform_string): New.
8570 2000-11-14  Ulrich Drepper  <drepper@redhat.com>
8572         * iconvdata/gconv-modules: Add CP936 as alias for GBK.
8574 2000-11-14  Andreas Jaeger  <aj@suse.de>
8576         * sysdeps/generic/dl-cache.c (HWCAP_CHECK): Fix access to _dl_hwcap.
8578 2000-11-13  Roland McGrath  <roland@frob.com>
8580         * hurd/get-host.c (_hurd_get_host_config): Fix last change.
8582 2000-11-13  Marcus Brinkmann <marcus@gnu.org>
8584         * hurd/get-host.c (_hurd_get_host_config): Fix possible buffer
8585         underrun and make sure the result is null terminated even if there
8586         is no trailing newline.
8588 2000-11-13  Jakub Jelinek  <jakub@redhat.com>
8590         * sysdeps/alpha/fpu/libm-test-ulps: Update.
8592 2000-11-10  H.J. Lu  <hjl@gnu.org>
8594         * sysdeps/ia64/fpu/libm-test-ulps: Updated.
8596 2000-11-10  Andreas Jaeger  <aj@suse.de>
8598         * elf/ldconfig.c (create_links): Fix alloca calculation.
8599         Patch by Ben Collins <bcollins@debian.org>.
8601 2000-11-09  Ulrich Drepper  <drepper@redhat.com>
8603         * inet/getnameinfo.c (getnameinfo): Use correct destination
8604         parameter for if_indextoname.
8605         Patch by Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>.
8607 2000-11-09  H.J. Lu  <hjl@gnu.org>
8609         * sunrpc/Versions (GLIBC_2.1): Remove xdr_cryptkeyarg,
8610         xdr_cryptkeyarg2, xdr_cryptkeyres, xdr_des_block,
8611         xdr_key_netstarg, xdr_key_netstres, xdr_keybuf and
8612         xdr_keystatus.
8614         * time/Versions (GLIBC_2.1): Move getitimer to...
8615         * sysdeps/unix/sysv/linux/alpha/Versions (GLIBC_2.1): ...here.
8617 2000-11-03  Bruno Haible  <haible@clisp.cons.org>
8619         * manual/install.texi: Recommend to set LANGUAGE=C LC_ALL=C during
8620         "make install", to work around a binary incompatibility between
8621         glibc 2.1 and glibc 2.2 gconv modules.
8623 2000-11-09  Ulrich Drepper  <drepper@redhat.com>
8625         * intl/locale.alias: Add thai.
8626         Patch by Chanop Silpa-Anan <chanop@syseng.anu.edu.au>.
8628 2000-11-07  Akim Demaille  <akim@epita.fr>
8630         * malloc/obstack.c (obstack_grow, obstack_grow0): Rename the second
8631         argument `data' for consistency with the prototypes.
8632         Qualify it `const'.
8633         (obstack_copy, obstack_copy0): Rename the second argument as
8634         `address' for consistency.  Qualify it `const'.
8635         * malloc/obstack.h (obstack_copy, obstack_copy0, obstack_grow)
8636         (obstack_grow0, obstack_ptr_grow, obstack_ptr_grow_fast): Qualify
8637         `const' their input argument (`data' or `address').
8638         Adjust the corresponding macros to include `const' in casts.
8640 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
8642         * sysdeps/posix/getaddrinfo.c: Clean-up: define family to hold
8643         target family.
8645 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
8647         * sysdeps/posix/getaddrinfo.c: Loosen protocol check to ease raw
8648         socket creation.
8650 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
8652         * sysdeps/posix/getaddrinfo.c: Ensure to fill ai_socktype and
8653         ai_protocol by internal table if service was not given.
8655 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
8657         * sysdeps/posix/getaddrinfo.c: Don't raise an error even if
8658         numerical port was specified with protocol without socktype.
8660 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
8662         * sysdeps/posix/getaddrinfo.c: Ensure to check if protocol is ok.
8664 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
8666         * inet/getnameinfo.c: getnameinfo() NI_xxx flag validation.
8668 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
8670         * sysdeps/posix/getaddrinfo.c: Ensure not to fill garbage value in
8671         sin6_scope_id field.
8673 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
8675         * inet/getnameinfo.c: Repair getnameinfo() sin6_socpe_id support.
8677 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
8679         * inet/getnameinfo.c: Repair NI_NOFQDN flag support.
8681 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
8683         * inet/getnameinfo.c: Wake-up sin6_scope_id support in
8684         getnameinfo(): check for whether sin6_socpe_id exist was wrong.
8686 2000-11-09  Martin Schwidefsky  <mschwide@nc.boeblingen.de.ibm.com>
8688         * sysdeps/unix/sysv/linux/s390/mmap.S: Use mmap2 if it is present.
8689         * sysdeps/unix/sysv/linux/s390/mmap64.S: New file.
8691 2000-11-09  H.J. Lu  <hjl@gnu.org>
8693         * io/Versions (GLIBC_2.1.1): Remove lockf64.
8696 See ChangeLog.11 for earlier changes.