Update.
[glibc.git] / ChangeLog
blobe7d7af847fcc42a44492e80f2d3ebf51b6a3f1f8
1 2001-05-09  Michael Keezer  <mkeezer@redhat.com>
3         * Makeconfig: Added AIX-ld support for DSO.
4         * Makerules: Likewise.
5         * dlfcn/Makefile (defaultmod1.so): Added libc_nonshared.
6         (defaultmod2.so): Likewise.
7         * debug/Makefile: Conditionalize use of elf/ld.so.
8         * iconvdata/Makefile: Moved LDFLAG rpath/soname info into Makeconfig.
10         * sysdeps/unix/sysv/aix/Makefile: Added dl-support.c and dl-error.c.
11         * sysdeps/unix/sysv/aix/Makefile: Made (f/g)rsave(0/1) &
12         (f/g)prrest(0/1) static only.
13         * sysdeps/unix/sysv/aix/gettimeofday.c: Removed #if 0.
14         * sysdeps/unix/sysv/aix/start.c: Define __dso_handle if not ELF but
15         shared.
16         * sysdeps/unix/sysv/aix/setitimer.c: New file.
17         * sysdeps/unix/sysv/aix/sleep.c: New file.
18         * sysdeps/unix/sysv/aix/usleep.c: New file.
19         * sysdeps/unix/sysv/aix/dl-addr.c: New file.
20         * sysdeps/unix/sysv/aix/dl-error.c: New file.
21         * sysdeps/unix/sysv/aix/dl-support.c: New file.
22         * sysdeps/unix/sysv/aix/powerpc/register-dump.h: New file.
24 2001-06-19  Ulrich Drepper  <drepper@redhat.com>
26         * po/es.po: Update from translation team.
28 2001-06-19  Andreas Jaeger  <aj@suse.de>
30         * sysdeps/ieee754/ldbl-128/s_tanhl.c: New file.
32         * math/libm-test.inc (tanh_test): Test for 2^-56.
34         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Make sure result
35         equals argument when x < 2^-55.
36         Patches by Stephen L. Moshier <moshier@na-net.ornl.gov>.
38 2001-06-17  Alan Modra  <amodra@bigpond.net.au>
40         * sysdeps/hppa/dl-machine.h (elf_machine_rela): handle relocs
41         at unaligned address.
43 2001-06-18  Ulrich Drepper  <drepper@redhat.com>
45         * posix/regex.c: Reorganize code to build code twice, once for single
46         byte, once for multi-byte charsets.  Choose function set adequate for
47         locale at runtime.
48         Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
50         * po/nl.po: Update from translation team.
52 2001-06-09  Bruno Haible  <haible@clisp.cons.org>
54         * iconvdata/gconv-modules (BIG5HKSCS): New alias BIG5-HKSCS.
55         (ISO-8859-14): New aliases ISO_8859-14 and ISO-CELTIC.
56         * iconvdata/tst-tables.sh: For BIG5HKSCS, use BIG5-HKSCS charmap.
58 2001-05-26  Bruno Haible  <haible@clisp.cons.org>
60         * iconvdata/tst-tables.sh: For SJIS module, use SHIFT_JIS charmap.
61         * manual/charset.texi: Write Shift_JIS, not Shift-JIS.
63 2001-06-17  Roland McGrath  <roland@frob.com>
65         * sysdeps/pthread/aio_misc.h (LIO_DSYNC): Define to LIO_NOP + 1,
66         not LIO_READ + 1 (which is the value of LIO_WRITE!).
68         * Makerules (build-module-helper-objlist): New variable,
69         broken out of build-module.  Insert --whole-archive/--no-whole-archive
70         immediately each *_pic.a file in the link object list.
71         (whole-archive): New variable, used by that.
72         (build-module-objlist): New variable using build-module-helper-objlist.
73         (build-module, build-module-helper): Use it.
74         (build-shlib-objlist): New variable using build-module-helper-objlist.
75         (build-shlib): Use that.
76         * sysdeps/mach/hurd/Makefile ($(link-rpcuserlibs)): Likewise.
78         * posix/spawni.c: Moved to ...
79         * sysdeps/posix/spawni.c: ... here.
80         * sysdeps/generic/spawni.c: New file.
82 2001-06-16  Roland McGrath  <roland@frob.com>
84         * hurd/Makefile (routines): Add lookup-retry.
85         * hurd/hurdlookup.c (__hurd_file_name_lookup_retry): Broken out ...
86         * hurd/lookup-retry.c: ... into here, new file.
87         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Call that instead
88         using of duplicate code here.
90         * hurd/hurdexec.c (_hurd_exec): Be robust for DTABLESIZE==0.
92 2001-06-17  Ulrich Drepper  <drepper@redhat.com>
94         * po/ja.po: Update from translation team.
96 2001-06-04  Bruno Haible  <haible@clisp.cons.org>
98         * locale/programs/locfile.c (siblings_uncached, siblings, full_read,
99         compare_files): New functions.
100         (write_locale_data): Use xmalloc. Compare the file with the locale
101         data files for the same category in other locales, and reuse it if
102         possible and safe.
104 2001-06-07  Mark Kettenis  <kettenis@gnu.org>
106         * grp/initgroups.c (initgroups): Factor out re-usable code into...
107         (internal_getgrouplist): ... new function.
108         (getgrouplist): New function.
109         * grp/grp.h (getgrouplist): New prototype.
110         * grp/Versions [2.2.4]: Add getgrouplist.
112 2001-06-16  Ulrich Drepper  <drepper@redhat.com>
114         * inet/netinet/ip6.h: Fix comments in ip6_hdr.
115         Patch by Pekka Savola <pekkas@netcore.fi>.
117 2001-06-15  Roland McGrath  <roland@frob.com>
119         * rt/Makefile (aio-routines, clock-routines, timer-routines): New
120         variables, broken out of librt-routines.
121         (librt-routines): Set using those.
122         (extra-libs, extra-libc-others, tests): Set these unconditionally.
123         (distribute): No need for $(librt-map) or $(librt-routines:=.c) here.
124         * sysdeps/generic/aio_fsync.c: New file.
125         * sysdeps/generic/aio_misc.c: New file.
126         * sysdeps/generic/aio_write.c: New file.
127         * sysdeps/generic/aio_write64.c: New file.
128         * sysdeps/generic/aio_read64.c: New file.
129         * sysdeps/generic/aio_read.c: New file.
130         * sysdeps/generic/aio_notify.c: New file.
131         * sysdeps/generic/lio_listio64.c: New file.
132         * sysdeps/generic/lio_listio.c: New file.
133         * sysdeps/generic/aio_cancel.c: New file.
134         * sysdeps/generic/aio_misc.h: New file.
135         * sysdeps/generic/aio_suspend.c: New file.
136         * rt/aio_cancel.c: Moved to ...
137         * sysdeps/pthread/aio_cancel.c: ... here.
138         * rt/aio_fsync.c: Moved to ...
139         * sysdeps/pthread/aio_fsync.c: ... here.
140         * rt/aio_misc.c: Moved to ...
141         * sysdeps/pthread/aio_misc.c: ... here.
142         * rt/aio_misc.h: Moved to ...
143         * sysdeps/pthread/aio_misc.h: ... here.
144         * rt/aio_notify.c: Moved to ...
145         * sysdeps/pthread/aio_notify.c: ... here.
146         * rt/aio_read.c: Moved to ...
147         * sysdeps/pthread/aio_read.c: ... here.
148         * rt/aio_read64.c: Moved to ...
149         * sysdeps/pthread/aio_read64.c: ... here.
150         * rt/aio_suspend.c: Moved to ...
151         * sysdeps/pthread/aio_suspend.c: ... here.
152         * rt/aio_write.c: Moved to ...
153         * sysdeps/pthread/aio_write.c: ... here.
154         * rt/aio_write64.c: Moved to ...
155         * sysdeps/pthread/aio_write64.c: ... here.
156         * rt/lio_listio.c: Moved to ...
157         * sysdeps/pthread/lio_listio.c: ... here.
158         * rt/lio_listio64.c: Moved to ...
159         * sysdeps/pthread/lio_listio64.c: ... here.
161 2001-06-14  Roland McGrath  <roland@frob.com>
163         * configure.in: Let sysdeps Implies files in add-ons bring in
164         sysdeps directories from the main source and other add-ons too.
166 2001-06-15  Jakub Jelinek  <jakub@redhat.com>
168         * math/test-misc.c (main): Add tests for nextafter and nexttoward
169         with +-Inf as second argument.
171         * sysdeps/generic/s_nexttowardf.c (__nexttowardf): Only check for
172         NaN, not Inf.
173         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Fix check for NaN.
174         * sysdeps/i386/fpu/s_nexttoward.c: New.
175         * sysdeps/i386/fpu/s_nexttowardf.c: New.
176         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Simplify
177         check for NaN, optimize x==+-0 handling.
178         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf): Likewise.
179         * sysdeps/ieee754/ldbl-96/s_nextafterl.c (__nextafterl): Simplify
180         check for NaN, fix sign in x==+-0 case.
181         * sysdeps/ia64/fpu/s_nexttoward.c: New.
182         * sysdeps/ia64/fpu/s_nexttowardf.c: New.
184 2001-06-15  H.J. Lu  <hjl@gnu.org>
186         * rt/tst-aio2.c (do_test): Initialize cb.aio_offset to 0.
187         * rt/tst-aio3.c (do_test): Likewise.
188         * rt/tst-aio4.c (do_test): Likewise.
189         * rt/tst-aio5.c (do_test): Likewise.
190         * rt/tst-aio6.c (do_test): Likewise.
192 2001-06-15  Andreas Schwab  <schwab@suse.de>
194         * sysdeps/m68k/fpu/bits/mathinline.h: Don't define log2 as inline.
195         * sysdeps/m68k/fpu/mathimpl.h: Define __ieee754_log2 as inline.
197 2001-06-15  Andreas Jaeger  <aj@suse.de>
199         * gmon/tst-sprofil.c (fac): Make static to avoid compiler warning.
201 2001-06-14  Andreas Schwab  <schwab@suse.de>
203         * elf/ldconfig.c (search_dir): Fix check for regular file.
205         * sysdeps/m68k/fpu/e_log2f.c: Fix typo.
206         * sysdeps/m68k/fpu/e_log2l.c: Fix typo.
208 2001-06-14  Roland McGrath  <roland@frob.com>
210         * sysdeps/mach/hurd/bits/fcntl.h [ __USE_POSIX199309 || __USE_UNIX98]:
211         (O_DSYNC, O_RSYNC): New macros, both defined to O_SYNC as Linux does.
213 2001-06-13  Roland McGrath  <roland@frob.com>
215         * rt/aio_notify.c: Include <unistd.h> for _POSIX_REALTIME_SIGNALS.
217         * sysdeps/mach/hurd/fork.c (LOSE): Put `goto lose' in dead code
218         so the label is not considered unused.
220         * sysdeps/mach/hurd/pwrite64.c: New file.
221         * sysdeps/mach/hurd/pread64.c: New file.
223         * sysdeps/mach/hurd/pread.c
224         (__libc_pread): Define this name, with __pread as an alias.
225         * sysdeps/mach/hurd/pwrite.c
226         (__libc_pwrite): Define this name, with __pwrite as an alias.
228         Implement POSIX "shared memory objects" as regular
229         files residing in the /var/run/shm/ directory.
230         This works on any system that supports _POSIX_MAPPED_FILES,
231         to make it also support _POSIX_SHARED_MEMORY_OBJECTS.
232         * sysdeps/posix/shm_open.c: New file.
233         * sysdeps/posix/shm_unlink.c: New file.
234         * sysdeps/mach/hurd/bits/posix_opt.h
235         (_POSIX_SHARED_MEMORY_OBJECTS): Define it.
237         * rt/aio_notify.c (__aio_notify_only) [! _POSIX_REALTIME_SIGNALS]:
238         Use raise instead of __aio_sigqueue.
240         * sysdeps/mach/hurd/pread.c: Fail with EINVAL if OFFSET is negative.
241         * sysdeps/mach/hurd/pwrite.c: Likewise.
243         * shlib-versions [USE_IN_LIBIO] (.*-.*-gnu-gnu.*): libc=0.3
244         [USE_IN_LIBIO && !GLIBC_OLDEST_ABI] (.*-.*-gnu-gnu.*): Use GLIBC_2.2.4
245         as default version set.
247 2001-06-13  Ulrich Drepper  <drepper@redhat.com>
249         * libio/iolibio.h (_IO_freopen): Correct last parameter to
250         _IO_file_open.
251         (_IO_freopen64): Likewise.
252         Reported by simanek@quantum.karlov.mff.cuni.cz [PR libc/2326].
254         * elf/elf.h: Add a few more EM_* constants.
256 2001-06-12  Bruno Haible  <haible@clisp.cons.org>
258         * intl/dcigettext.c (DCIGETTEXT): Release the lock before returning.
260 2001-06-09  Ben Collins  <bcollins@debian.org>
262         * sysdeps/unix/sysv/linux/bits/termios.h: Define __MAX_BAUD.
263         * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
264         * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
265         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
266         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
267         * sysdeps/unix/sysv/linux/speed.c: Use __MAX_BAUD instead of
268         hardcoded B400000.
270 2001-06-13  Ulrich Drepper  <drepper@redhat.com>
272         * time/sys/time.h: Don't use enum __itimer_which ever for
273         __itimer_which_t for C++.
274         Reported by Martin Buchholz <martin@xemacs.org>.
276         * po/fr.po: Update from translation team.
278 2001-06-12  H.J. Lu  <hjl@gnu.org>
280         * configure.in: Fix typos in missing program names.
281         * configure: Regenerated.
283 2001-06-12  Andreas Jaeger  <aj@suse.de>
285         * iconvdata/tst-table-to.c: Include string.h for strcmp prototype.
287         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Add ULPs for tanh (-0.7).
289 2001-06-11  Andreas Jaeger  <aj@suse.de>
291         * sysdeps/ieee754/ldbl-128/e_coshl.c: New file.  Contributed by
292         Stephen L Moshier <moshier@mediaone.net>.
294         * aclocal.m4: Quote AC_FD_MSG and AC_FD_CC.
296         * sysdeps/powerpc/fpu/libm-test-ulps: Add ULPs for tanh (-0.7).
297         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
299 2001-06-11  Michael Deutschmann  <michael@talamasca.ocis.net>
301         * rt/tst-aio4.c (do_test): Test whether rt signals are supported.
302         Use my_signo instead of MY_SIGNO and initialize it so that the
303         used signal is always available.
305 2001-06-11  Andreas Jaeger  <aj@suse.de>,
306             Michael Deutschmann  <michael@talamasca.ocis.net>
308         * io/test-lfs.c (do_prepare): Clean up error messages.
309         (test_ftello): Check for EFBIG and ENOSPC, clean up error messages.
310         (do_test): Likewise.
312 2001-06-11  Andreas Jaeger  <aj@suse.de>
314         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (IXANY, IUCLC,
315         IMAXBEL): Make always visible since they're needed by POSIX.
316         Closes PR libc/2320, reported by Chris Yeoh <cyeoh@samba.org>.
318 2001-06-10  Ben Collins  <bcollins@debian.org>
320         * sysdeps/arm/elf/start.S: Use #function, not @function, for
321         .type of _start.
323         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Include limits.h to get
324         INT_MAX.
326 2001-06-07  H.J. Lu  <hjl@gnu.org>
328         * sunrpc/rpc/rpc.h: Add __BEGIN_DECLS/__END_DECLS.
330 2001-06-10  Roland McGrath  <roland@frob.com>
332         * elf/reldep4mod2.c: Use fully typed decls to avoid warnings.
333         * elf/reldep4mod4.c: Likewise.
335 2001-06-10  Mark Kettenis  <kettenis@gnu.org>
337         * hurd/hurd/threadvar.h: Add prototype for __hurd_errno_location.
339 2001-06-08  Andreas Schwab  <schwab@suse.de>
341         * posix/regex.c (re_match_2_internal) [case wordbeg, wordend]:
342         Don't dereference at end of string.
344 2001-06-06  Roland McGrath  <roland@frob.com>
346         * sysdeps/mach/hurd/getsockopt.c: Fix handling of returned buffer size.
347         From Robert Bihlmeyer <robbe@orcus.priv.at>.
349 2001-06-06  Ulrich Drepper  <drepper@redhat.com>
351         * po/ko.po: Update from translation team.
353 2001-06-06  Andreas Jaeger  <aj@suse.de>
355         * manual/llio.texi (Memory-mapped I/O): Clarify that mapping is to
356         offset+length-1.
357         Reported by Robert Bernecky <bernecky@acm.org>.
359 2001-06-06  Jakub Jelinek  <jakub@redhat.com>
361         * sysdeps/cris/elf/start.S: Fix a typo introduced by last patch.
362         * sysdeps/ia64/elf/start.S: Likewise.
363         * sysdeps/sh/elf/start.S: Likewise.
364         * sysdeps/s390/s390-32/elf/start.S: Likewise.
365         * sysdeps/s390/s390-64/elf/start.S: Likewise.
367 2001-06-05  Matthew Wilcox  <willy@ldl.fc.hp.com>
369         * sysdeps/hppa/bsd-_setjmp.S: New.
370         * sysdeps/hppa/bsd-setjmp.S: New.
372         * sysdeps/hppa/dl-machine.h: Reformat asm statements to remove new
373         gcc warnings about multi-line strings.
375         * sysdeps/unix/sysv/linux/hppa/getrlimit.c: Remove.
376         * sysdeps/unix/sysv/linux/hppa/setrlimit.c: Remove.
378         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Call getrlimit,
379         setrlimit directly instead of using wrappers.
381 2001-05-01  Richard Hirst  <rhirst@linuxcare.com>
383         * sysdeps/unix/sysv/linux/hppa/syscall.S: remove dummy syscall.
384         * sysdeps/unix/sysv/linux/hppa/sysdep.c: implement syscall.
386 2001-06-05  Philipp Thomas  <pthomas@suse.de>
388         * nis/nis_call.c (__nisbind_connect): Don't mark for translation
389         what can't be translated.
391 2001-06-06  Ulrich Drepper  <drepper@redhat.com>
393         * timezone/zic.c: Update from tzcode2001c.
394         * timezone/private.h: Likewise.
395         * timezone/africa: Update from tzdata2001c.
396         * timezone/asia: Likewise.
397         * timezone/europe: Likewise.
398         * timezone/northamerica: Likewise.
399         * timezone/southamerica: Likewise.
400         * timezone/zone.tab: Likewise.
402 2001-06-04  Bruno Haible  <haible@clisp.cons.org>
404         * iconv/loop.c (UNICODE_TAG_HANDLER): New macro.
405         * iconv/gconv_simple.c (__gconv_transform_internal_ascii): Invoke
406         UNICODE_TAG_HANDLER.
407         (__gconv_transform_internal_ucs2): Likewise.
408         (__gconv_transform_internal_ucs2reverse): Likewise.
409         * iconvdata/8bit-gap.c (BODY for TO_LOOP): Invoke UNICODE_TAG_HANDLER.
410         * iconvdata/8bit-generic.c (BODY for TO_LOOP): Likewise.
411         * iconvdata/ansi_x3.110.c (BODY for TO_LOOP): Likewise.
412         * iconvdata/big5.c (BODY for TO_LOOP): Likewise.
413         * iconvdata/big5hkscs.c (BODY for TO_LOOP): Likewise.
414         * iconvdata/cp1255.c (BODY for TO_LOOP): Likewise.
415         * iconvdata/cp1258.c (BODY for TO_LOOP): Likewise.
416         * iconvdata/euc-cn.c (BODY for TO_LOOP): Likewise.
417         * iconvdata/euc-jp.c (BODY for TO_LOOP): Likewise.
418         * iconvdata/euc-kr.c (BODY for TO_LOOP): Likewise.
419         * iconvdata/euc-tw.c (BODY for TO_LOOP): Likewise.
420         * iconvdata/gbk.c (BODY for TO_LOOP): Likewise.
421         * iconvdata/ibm930.c (BODY for TO_LOOP): Likewise.
422         * iconvdata/ibm932.c (BODY for TO_LOOP): Likewise.
423         * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
424         * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
425         * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
426         * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
427         * iconvdata/ibm943.c (BODY for TO_LOOP): Likewise.
428         * iconvdata/iso646.c (BODY for TO_LOOP): Likewise.
429         * iconvdata/iso8859-1.c (BODY for TO_LOOP): Likewise.
430         * iconvdata/iso_6937.c (BODY for TO_LOOP): Likewise.
431         * iconvdata/iso_6937-2.c (BODY for TO_LOOP): Likewise.
432         * iconvdata/iso-2022-cn.c (BODY for TO_LOOP): Likewise.
433         * iconvdata/iso-2022-cn-ext.c (BODY for TO_LOOP): Likewise.
434         * iconvdata/iso-2022-kr.c (BODY for TO_LOOP): Likewise.
435         * iconvdata/johab.c (BODY for TO_LOOP): Likewise.
436         * iconvdata/sjis.c (BODY for TO_LOOP): Likewise.
437         * iconvdata/t.61.c (BODY for TO_LOOP): Likewise.
438         * iconvdata/uhc.c (BODY for TO_LOOP): Likewise.
439         * iconvdata/unicode.c (BODY for TO_LOOP): Likewise.
440         * iconvdata/iso-2022-jp.c (TAG_none, TAG_language, TAG_language_j,
441         TAG_language_ja, TAG_language_k, TAG_language_ko, TAG_language_z,
442         TAG_language_zh, CURRENT_TAG_MASK): New enum values.
443         (EMIT_SHIFT_TO_INIT): Don't emit an escape sequence if ASCII_set
444         is already selected but set2 or tag are set.
445         (conversion): New enum type.
446         (cvlist_t): New type.
447         (CVLIST, CVLIST_FIRST, CVLIST_REST): New macros.
448         (conversion_lists): New array.
449         (BODY for TO_LOOP): Keep track of Unicode 3.1 language tag. I f "ja",
450         prefer conversion to Japanese character sets.  If "zh", prefer
451         conversion to GB2312. I f "ko", prefer conversion to KSC5601.  Small
452         optimizations.
453         (INIT_PARAMS): Add tag.
454         (UPDATE_PARAMS): Add tag.
456 2001-06-04  Bruno Haible  <haible@clisp.cons.org>
458         * locale/programs/locfile.c (write_locale_data): Before creat(),
459         unlink the file, to avoid crashing the processes that mmap it.  Change
460         a double slash to a single slash.  Free fname in case of error return.
462 2001-06-02  Jakub Jelinek  <jakub@redhat.com>
464         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Mostly revert 2000-12-03
465         changes, do the special handling for denormal numbers, not for
466         normalized numbers (patch by <trevin@xmission.com>).
468         * math/test-misc.c (main): Test frexpl with denormal arguments.
470 2001-06-04  Jakub Jelinek  <jakub@redhat.com>
472         * math/libm-test.inc (llround_test): Add two new llround tests.
473         * sysdeps/ieee754/ldbl-96/s_llroundl.c (__llroundl): Don't allow
474         overflow when rounding away from zero.
476 2001-06-04  Jakub Jelinek  <jakub@redhat.com>
478         * math/Makefile (libm-calls): Add e_log2, w_log2, remove s_log2.
479         * math/math_private.h (__ieee754_log2, __ieee754_log2f,
480         __ieee754_log2l): New prototypes.
481         * sysdeps/generic/w_log2.c: New file.
482         * sysdeps/generic/w_log2f.c: New file.
483         * sysdeps/generic/w_log2l.c: New file.
484         * sysdeps/generic/s_log2l.c: Move...
485         * sysdeps/generic/e_log2l.c: ...to here. Rename to __ieee754_log2l.
486         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle log2(0)
487         and log2(x < 0).
488         * sysdeps/i386/fpu/s_log2.S: Move...
489         * sysdeps/i386/fpu/e_log2.S: ...to here. Rename to __ieee754_log2.
490         * sysdeps/i386/fpu/s_log2f.S: Move...
491         * sysdeps/i386/fpu/e_log2f.S: ...to here. Rename to __ieee754_log2f.
492         * sysdeps/i386/fpu/s_log2l.S: Move...
493         * sysdeps/i386/fpu/e_log2l.S: ...to here. Rename to __ieee754_log2l.
494         * sysdeps/m68k/fpu/s_log2.c: Move...
495         * sysdeps/m68k/fpu/e_log2.c: ...to here. Rename to __ieee754_log2.
496         * sysdeps/m68k/fpu/s_log2f.c: Move...
497         * sysdeps/m68k/fpu/e_log2f.c: ...to here. Rename to __ieee754_log2f.
498         * sysdeps/m68k/fpu/s_log2l.c: Move...
499         * sysdeps/m68k/fpu/e_log2l.c: ...to here. Rename to __ieee754_log2l.
500         * sysdeps/ieee754/dbl-64/s_log2.c: Move...
501         * sysdeps/ieee754/dbl-64/e_log2.c: ...to here. Rename to
502         __ieee754_log2.
503         * sysdeps/ieee754/flt-32/s_log2f.c: Move...
504         * sysdeps/ieee754/flt-32/e_log2f.c: ...to here. Rename to
505         __ieee754_log2f.
507 2001-06-04  Jakub Jelinek  <jakub@redhat.com>
509         * sysdeps/generic/w_exp2.c (u_threshold): Lower threshold so that
510         even arguments which result in denormalized exp2 are accepted.
511         (__exp2): Arguments equal to u_threshold already result into
512         underflow.
513         * sysdeps/generic/w_exp2f.c (u_threshold, __exp2f): Likewise.
514         * sysdeps/generic/w_exp2l.c (u_threshold, __exp2l): Likewise.
515         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Lomark was too
516         low, with corrected lowmark use greaterequal, not greater.
517         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
519 2001-06-04  Jakub Jelinek  <jakub@redhat.com>
521         * math/libm-test.inc (ilogb_test): Test that ilogb(+-Inf) == INT_MAX.
522         * sysdeps/i386/fpu/s_ilogb.S (__ilogb): Return INT_MAX for +-Inf.
523         * sysdeps/i386/fpu/s_ilogbf.S (__ilogbf): Likewise.
524         * sysdeps/i386/fpu/s_ilogbl.S (__ilogbl): Likewise.
525         * sysdeps/ieee754/dbl-64/s_ilogb.c (__ilogb): Likewise.
526         * sysdeps/ieee754/flt-32/s_ilogbf.c (__ilogbf): Likewise.
527         * sysdeps/ieee754/ldbl-128/s_ilogbl.c (__ilogbl): Likewise.
528         * sysdeps/ieee754/ldbl-96/s_ilogbl.c (__ilogbl): Likewise.
530 2001-06-04  Jakub Jelinek  <jakub@redhat.com>
532         * sysdeps/generic/w_coshl.c (__coshl): Test if finite argument
533         gave non-finite result instead of using constant in generic
534         version.
535         * sysdeps/generic/w_coshf.c (__coshf): Likewise.
536         * sysdeps/generic/w_cosh.c (__cosh): Likewise.
537         * sysdeps/generic/w_exp10.c (o_threshold, u_threshold): Remove.
538         (__exp10): Test if finite argument gave non-finite result.
539         * sysdeps/generic/w_exp10f.c (o_threshold, u_threshold, __exp10f):
540         Likewise.
541         * sysdeps/generic/w_exp10l.c (o_threshold, u_threshold, __exp10l):
542         Likewise.
544 2001-06-04  Jakub Jelinek  <jakub@redhat.com>
546         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Fix
547         overflow threshold constant (log(LDBL_MAX)+M_LN2l).
549 2001-05-29  Bruno Haible  <haible@clisp.cons.org>
551         * locale/programs/ld-ctype.c (idx_table): New struct type.
552         (idx_table_init, idx_table_get, idx_table_add): New functions.
553         (MAX_CHARNAMES_IDX): Remove macro.
554         (locale_ctype_t): Change type of charnames_idx field.
555         (ctype_startup): Change initialization of charnames_idx field.
556         (find_idx): Use idx_table_get and idx_table_add for speed.
558         * locale/programs/charmap.c (charmap_new_char): Fix ucs4 value
559         computation of characters in a range.
561 2001-05-29  Bruno Haible  <haible@clisp.cons.org>
563         * iconvdata/gb18030.c (__fourbyte_to_ucs1): Add mappings for <U03F4>,
564         <U03F5>.
565         (__ucs_to_gb18030_tab1): Likewise.
566         (BODY for FROM_LOOP): Add mapping for <U00010000>..<U0010FFFF>.
567         (BODY for TO_LOOP): Likewise.
568         * iconvdata/tst-table-charmap.sh: Update for charmaps containing
569         <U00xxxxxx> syntax.
570         * iconvdata/tst-table-from.c (bmp_only): New variable.
571         (utf8_decode): If bmp_only, don't return characters outside Unicode
572         plane 0.
573         (main): When testing UTF-8 or GB18030, set bmp_only to 1. Don't print
574         a conversion line if utf8_decode returns NULL.
575         * iconvdata/tst-table-to.c (main): When testing encodings other than
576         UTF-8 and GB18030, loop upto U+30000 instead of U+10000. Use UTF-8
577         instead of UCS-2 as input.
578         * iconvdata/tst-table.sh: For GB18030, use only the part < 0x10000
579         of the charmap.
581 2001-05-29  Bruno Haible  <haible@clisp.cons.org>
583         * iconvdata/cns11643l1.c: Update to Unicode 3.1.
584         (__cns11643l1_to_ucs4_tab): Regenerated.
585         (__cns11643l1_from_ucs4_tab12): Regenerated.
586         * iconvdata/cns11643.c: Update to Unicode 3.1.
587         (__cns11643l14_to_ucs4_tab): Remove array.
588         (__cns11643l3_to_ucs4_tab, __cns11643l4_to_ucs4_tab,
589         __cns11643l5_to_ucs4_tab, __cns11643l6_to_ucs4_tab,
590         __cns11643l7_to_ucs4_tab, __cns11643l15_to_ucs4_tab): New arrays.
591         (__cns11643_from_ucs4p0_tab): Renamed from __cns11643_from_ucs4_tab.
592         (__cns11643_from_ucs4p2_tab): New array.
593         * iconvdata/cns11643.h (__cns11643l14_to_ucs4_tab): Remove declaration.
594         (__cns11643l3_to_ucs4_tab, __cns11643l4_to_ucs4_tab,
595         __cns11643l5_to_ucs4_tab, __cns11643l6_to_ucs4_tab,
596         __cns11643l7_to_ucs4_tab, __cns11643l15_to_ucs4_tab): New declarations.
597         (cns11643_to_ucs4): Treat planes 3, 4, 5, 6, 7, 15 instead of 14.
598         (__cns11643_from_ucs4_tab): Remove declaration.
599         (__cns11643_from_ucs4p0_tab, __cns11643_from_ucs4p2_tab): New
600         declarations.
601         (ucs4_to_cns11643): Update for new arrays. Treat U+3400..U+4DFF and
602         U+20000..U+2A6D6.
603         * iconvdata/cns11643l2.h (__cns11643_from_ucs4_tab): Remove
604         declaration.
605         (__cns11643_from_ucs4p0_tab): New declaration.
606         (ucs4_to_cns11643l2): Update for new arrays.
607         * iconvdata/iso-2022-cn-ext.c (BODY for FROM_LOOP): Handle planes
608         3 to 7.
609         (BODY for TO_LOOP): Handle planes 3 to 7, instead of plane 14.
610         * iconvdata/EUC-TW.irreversible: New file.
611         * iconvdata/tst-table.sh: Use it.
612         * iconvdata/Makefile (distribute): Add CP1255.irreversible,
613         CP1258.irreversible, EUC-TW.irreversible.
615 2001-05-29  Bruno Haible  <haible@clisp.cons.org>
617         * locale/C-translit.h.in: Add transliterations for new Unicode 3.1
618         mathematical symbols.
620 2001-06-05  Andreas Jaeger  <aj@suse.de>
622         * manual/stdio.texi (Portable Positioning): Fix description of
623         fpos_t and fpos64_t.
625 2001-06-06  Ulrich Drepper  <drepper@redhat.com>
627         * sysdeps/generic/wordexp.c: Undo last patch.  Use strndupa instead.
629         * po/sk.po: Update from translation team.
631 2001-06-05  Andreas Jaeger  <aj@suse.de>
633         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Recognize
634         tmpfs, patch by Stanislav Brabec <utx@penguin.cz>.
635         Closes PR libc/2315.
637 2001-06-05  Ulrich Drepper  <drepper@redhat.com>
639         * sysdeps/generic/wordexp.c: Add missing free.
640         Patch by yeti@physics.muni.cz.
642 2001-06-02  Tom Browder  <tbrowder@home.com>
644         * misc/tst-tsearch.c (mangle_tree): Ensure array indices are
645         within bounds when lag > 0.
647 2001-06-05  Ulrich Drepper  <drepper@redhat.com>
649         * po/tr.po: New file.
651 2001-06-05  Andreas Jaeger  <aj@suse.de>
653         * manual/libm-err-tab.pl (parse_ulps): Fix typo.
655 2001-06-04  H.J. Lu  <hjl@gnu.org>
657         * sysdeps/alpha/elf/start.S: Add .type for the entry point.
658         * sysdeps/arm/elf/start.S: Likewise.
659         * sysdeps/hppa/elf/start.S: Likewise.
660         * sysdeps/i386/elf/start.S: Likewise.
661         * sysdeps/m68k/elf/start.S: Likewise.
662         * sysdeps/mips/elf/start.S: Likewise.
663         * sysdeps/ia64/elf/start.S: Likewise.
664         * sysdeps/sh/elf/start.S: Likewise.
665         * sysdeps/s390/s390-32/elf/start.S: Likewise.
666         * sysdeps/s390/s390-64/elf/start.S: Likewise.
667         * sysdeps/cris/elf/start.S: Likewise.
669 2001-06-04  Bruce Mitchener  <bruce@cubik.org>
671         * manual/resource.texi: Correct setpriority/nice documentation.
673         * sysdeps/unix/nice.c: Correct nice() implementation.
675 2001-06-04  Andreas Jaeger  <aj@suse.de>
677         * sysdeps/ieee754/ldbl-128/e_sinhl.c: New file, contributed by
678         Stephen L Moshier <moshier@mediaone.net>.
680 2001-06-03  Roland McGrath  <roland@frob.com>
682         * Makefile (postclean): Remove obsolete sysd-Makefile.
684 2001-06-01  Roland McGrath  <roland@frob.com>
686         * sysdeps/alpha/fpu/fclrexcpt.c: #include <shlib-compat.h>
687         and use compat_symbol/versioned_symbol instead of plain
688         symbol_version/default_symbol_version.
689         * sysdeps/alpha/fpu/fegetenv.c: Likewise.
690         * sysdeps/alpha/fpu/fesetenv.c: Likewise.
691         * sysdeps/alpha/fpu/feupdateenv.c: Likewise.
692         * sysdeps/alpha/fpu/fgetexcptflg.c: Likewise.
693         * sysdeps/alpha/fpu/fraiseexcpt.c: Likewise.
694         * sysdeps/alpha/fpu/fsetexcptflg.c: Likewise.
695         * sysdeps/arm/fpu/fclrexcpt.c: Likewise.
696         * sysdeps/arm/fpu/fegetenv.c: Likewise.
697         * sysdeps/arm/fpu/fesetenv.c: Likewise.
698         * sysdeps/arm/fpu/fraiseexcpt.c: Likewise.
699         * sysdeps/arm/fpu/fsetexcptflg.c: Likewise.
700         * sysdeps/i386/fpu/fclrexcpt.c: Likewise.
701         * sysdeps/i386/fpu/fegetenv.c: Likewise.
702         * sysdeps/i386/fpu/fesetenv.c: Likewise.
703         * sysdeps/i386/fpu/feupdateenv.c: Likewise.
704         * sysdeps/i386/fpu/fgetexcptflg.c: Likewise.
705         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
706         * sysdeps/i386/fpu/fsetexcptflg.c: Likewise.
707         * sysdeps/m68k/fpu/fclrexcpt.c: Likewise.
708         * sysdeps/m68k/fpu/fegetenv.c: Likewise.
709         * sysdeps/m68k/fpu/fesetenv.c: Likewise.
710         * sysdeps/m68k/fpu/feupdateenv.c: Likewise.
711         * sysdeps/m68k/fpu/fgetexcptflg.c: Likewise.
712         * sysdeps/m68k/fpu/fraiseexcpt.c: Likewise.
713         * sysdeps/m68k/fpu/fsetexcptflg.c: Likewise.
714         * sysdeps/powerpc/fclrexcpt.c: Likewise.
715         * sysdeps/powerpc/fpu/fegetenv.c: Likewise.
716         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
717         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
718         * sysdeps/powerpc/fpu/fgetexcptflg.c: Likewise.
719         * sysdeps/powerpc/fpu/fraiseexcpt.c: Likewise.
720         * sysdeps/powerpc/fpu/fsetexcptflg.c: Likewise.
722         * iconvdata/cp1258.c: Include <stdlib.h> for abort decl.
723         * iconvdata/iso-2022-cn-ext.c: Likewise.
725 2001-06-01  Andreas Jaeger  <aj@suse.de>
727         * Versions.def: Add version 2.2.4.
729 2001-06-01  Ulrich Drepper  <drepper@redhat.com>
731         * socket/Makefile (routines): Add sockatmark.
732         * socket/Versions [GLIBC_2.2.4]: Add sockatmark.
733         * socket/sys/socket.h: Add prototype for sockatmark.
734         * sysdeps/generic/sockatmark.c: New file.
735         * sysdeps/unix/sockatmark.c: New file.
737 2001-06-01  Andreas Jaeger  <aj@suse.de>
739         * sysdeps/unix/sysv/linux/speed.c (cfsetispeed): Max speed is
740         B4000000.
741         (cfsetospeed): Likewise.
742         Reported by Lukasz Trabinski <lukasz@lt.wsisiz.edu.pl>.
744 2001-05-31  Joseph S. Myers  <jsm28@cam.ac.uk>
746         * misc/sys/cdefs.h (__restrict_arr): Define to empty for C++.
748 2001-05-30  Martin Schwidefsky  <schwidefsky@de.ibm.com>
750         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: greg_t
751         needs to have the same aligment as the kernel structure.
753 2001-05-29  Jakub Jelinek  <jakub@redhat.com>
755         * sunrpc/rpc/types.h (u_char, u_short, u_int, u_long, quad_t,
756         u_quad_t, fsid_t, daddr_t, caddr_t): Make sure the types are defined.
757         * posix/sys/types.h (u_char, u_short, u_int, u_long, quad_t,
758         u_quad_t, fsid_t, daddr_t, caddr_t): Protect the __USE_BSD typedefs
759         against multiple definition.
761 2001-05-30  Ulrich Drepper  <drepper@redhat.com>
763         * po/da.po: Update from translation team.
765 2001-05-29  Andreas Jaeger  <aj@suse.de>
767         * sysdeps/ieee754/ldbl-128/e_acosl.c: New file, contributed by
768         Stephen L Moshier <moshier@mediaone.net>.
770         * math/libm-test.inc (sinh_test): Add new test case.
772         * sysdeps/ieee754/ldbl_96/e_sinhl.c (__ieee754_sinhl): sinhl(x) =
773         x when x < 2^-32.
774         Patch by Stephen L Moshier <moshier@mediaone.net>.
776 2001-05-23  Andreas Jaeger  <aj@suse.de>
778         * iconvdata/testdata/WINDOWS-1255..UTF-8: Renamed to...
779         * iconvdata/testdata/WINDOWS-1255..UTF8: this.
781 2001-05-27  Andreas Jaeger  <aj@suse.de>
783         * manual/stdio.texi (String Streams): Fix fmemopen description.
784         Reported by Michal Kochanowicz <michal@michal.waw.pl>.
786 2001-05-26  H.J. Lu <hjl@gnu.org>
788         * sysdeps/unix/sysv/linux/mips/syscalls.list: Change sigsuspend
789         to s_sigsuspend. Add s_mmap2.
791         * sysdeps/mips/atomicity.h: New file.
793         * sysdeps/unix/sysv/linux/mips/getsysstats.c: New file.
795         * sysdeps/unix/sysv/linux/mips/bits/ipc.h (ipc_perm): Put
796         back __key.
798 2001-05-25  Bruce Mitchener  <bruce@cubik.org>
800         * manual/ctype.texi: Minor fix.
801         * manual/install.texi: Likewise.
802         * manual/startup.texi: Likewise.
803         * manual/examples/dir.c: Use perror() rather than puts().
805 2001-05-25  David Mosberger  <davidm@hpl.hp.com>
807         * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h: Put stuff following
808         #endif directive inside a comment to avoid compiler warnings.
810 2001-05-25  Philipp Thomas  <pthomas@suse.de>
812         * nis/nis_print.c (nis_nstype2str): Don't mark names of
813         naming services for translation, only UNKNOWN needs it.
814         Add comment to prevent it for the future.
816 2001-05-25  Joseph S. Myers  <jsm28@cam.ac.uk>
818         * misc/sys/cdefs.h (__restrict_arr): Define appropriately for GCC
819         3.1 and non-GCC C99 compilers.
821 2001-05-22  David Mosberger  <davidm@hpl.hp.com>
823         * sysdeps/ia64/memmove.S: Increase MEMLAT from 6 to 21 for better
824         performance.
825         * sysdeps/ia64/memcpy.S: Likewise.
827         * sysdeps/ia64/bcopy.S: New file.
829         * sysdeps/ia64/bzero.S: New file (derived from memset.S).
831 2001-05-26  Ulrich Drepper  <drepper@redhat.com>
833         * sysdeps/ia64/fpu/libm-test-ulps: Add deltas for tanh(-0.7).
835 2001-05-24  Ulrich Drepper  <drepper@redhat.com>
837         * iconvdata/Makefile: Add rules for CP10007.
838         * iconvdata/gconv-modules: Add entries for CP10007 ad MacCyrillic.
839         * iconvdata/cp10007.c: New file.
840         * iconvdata/tst-tables.sh: Add CP10007.
842 2001-05-23  kaz Kojima  <kkojima@rr.iij4u.or.jp>
844         * sysdeps/sh/dl-machine.h (_dl_runtime_resolve): Handle newer PLT.
845         (_dl_runtime_profile): Likewise..
847 2001-05-23  Thorsten Kukuk  <kukuk@suse.de>
849         * sysdeps/posix/getaddrinfo.c: Support for AF_UNIX commented out.
850         * posix/tst-getaddrinfo.c: Remove AF_UNIX test.
852 2001-05-19  H.J. Lu  <hjl@gnu.org>
854         * elf/dl-deps.c (_dl_map_object_deps): Pass objname and
855         errstring of the failed DSO to _dl_signal_error ().
857 2001-05-23  Ulrich Drepper  <drepper@redhat.com>
859         * iconvdata/gconv-modules: Add more aliases to enable use in
860         locale names.
862 2001-05-23  Andreas Jaeger  <aj@suse.de>
864         * sysdeps/unix/sysv/linux/ia64/Makefile (CFLAGS-initfini.s):
865         Remove, it's not used anywhere anymore.
866         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile
867         (CFLAGS-initfini.s): Likewise.
868         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile
869         (CFLAGS-initfini.s): Likewise.
870         * sysdeps/unix/sysv/linux/powerpc/Makefile (CFLAGS-initfini.s):
871         Likewise.
872         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-initfini.s):
873         Likewise.
875 2001-05-21  Bruno Haible  <haible@clisp.cons.org>
877         * wcsmbs/mbrtowc.c (mbrtowc): Remove local variable 'flush', always
878         use 0 instead, and rely on the converter to do the flush.
879         * wcsmbs/tst-mbrtowc.c (utf8_test_1): New function, taken from
880         utf8_test.
881         (utf8_test_2, utf8_test_3): New function.
882         (utf8_test): Call utf8_test_1, utf8_test_2, utf8_test_3.
884 2001-05-22  Jakub Jelinek  <jakub@redhat.com>
886         * elf/dl-close.c (_dl_close): Save imap->l_reldeps, not map->l_reldeps.
888         * elf/Makefile (distribute): Add reldep4mod[1234].c.
889         (tests): Add reldep4.
890         (modules-names): Add reldep4mod[1234].
891         (reldep4mod1.so, reldep4mod2.so, reldep4, reldep4.out): New rules.
892         * elf/reldep4.c: New file.
893         * elf/reldep4mod1.c: Likewise.
894         * elf/reldep4mod2.c: Likewise.
895         * elf/reldep4mod3.c: Likewise.
896         * elf/reldep4mod4.c: Likewise.
898 2001-05-18  Jakub Jelinek  <jakub@redhat.com>
900         * elf/dl-lookup.c (PROTECTED): Remove defines.
901         (add_dependency): Mark it with internal_function.
902         (_dl_do_lookup, _dl_do_lookup_versioned): New functions.
903         (_dl_lookup_symbol, _dl_lookup_symbol_skip,
904         _dl_lookup_versioned_symbol, _dl_lookup_versioned_symbol_skip): Use
905         it if we don't want do_lookup* inlined.
907 2001-05-18  Jakub Jelinek  <jakub@redhat.com>
909         * include/link.h (struct r_scope_elem): Remove r_duplist and
910         r_nduplist fields.
911         * elf/dl-load.c (_dl_map_object_from_fd): Don't initialize them.
912         * elf/dl-lookup.c (_dl_lookup_symbol_skip): Look in r_list, not
913         r_duplist.
914         (_dl_lookup_versioned_symbol_skip): Likewise.
915         * elf/dl-deps.c (struct list): Remove dup field, rename unique to next.
916         (_dl_map_object_deps): Don't compute duplicate list.
918         * elf/dl-symbol.c: Removed.
919         * elf/Makefile (routines): Remove dl-symbol.
921 2001-05-22  Ulrich Drepper  <drepper@redhat.com>
923         * po/el.po: Update from translation team.
924         * po/sv.po: Likewise.
926 2001-05-20  Bruno Haible  <haible@clisp.cons.org>
928         * iconvdata/cp1255.c: Completely rewritten.
929         * iconvdata/Makefile (gen-8bit-gap-modules): Remove cp1255.
930         * iconvdata/testdata/WINDOWS-1255: New file.
931         * iconvdata/testdata/WINDOWS-1255..UTF8: New file.
932         * iconvdata/TESTS: Add WINDOWS-1255 test.
933         * iconvdata/CP1255.irreversible: New file.
935 2001-05-20  Bruno Haible  <haible@clisp.cons.org>
937         * iconvdata/cp1258.c: Completely rewritten.
938         * iconvdata/Makefile (gen-8bit-gap-modules): Remove cp1258.
939         * iconvdata/testdata/WINDOWS-1258: New file.
940         * iconvdata/testdata/WINDOWS-1258..UTF8: New file.
941         * iconvdata/TESTS: Add WINDOWS-1258 test.
942         * iconvdata/tst-table-from.c (try): Reset the iconv descriptor before
943         the main call, and flush it afterwards.
944         (utf8_decode): Return a string, possibly containing several Unicode
945         characters.
946         (main): Update all utf8_decode calls.
947         * iconvdata/CP1258.irreversible: New file.
949 2001-05-20  Bruno Haible  <haible@clisp.cons.org>
951         * iconv/gconv.c (__gconv): For flush without output, pass do_flush = 2.
952         * iconv/skeleton.c: Distinguish do_flush = 1 and do_flush = 2. In the
953         first case, set outbuf, outstart, outend, and call PREPARE_LOOP before
954         EMIT_SHIFT_TO_INIT; then pass the output produced by this step down to
955         the next step. In the second case, clear the state without calling
956         EMIT_SHIFT_TO_INIT.
957         * iconvdata/ibm930.c (EMIT_SHIFT_TO_INIT): Use outbuf instead of
958         data->__outbuf, and outend instead of data->__outbufend.
959         * iconvdata/ibm933.c (EMIT_SHIFT_TO_INIT): Likewise.
960         * iconvdata/ibm935.c (EMIT_SHIFT_TO_INIT): Likewise.
961         * iconvdata/ibm937.c (EMIT_SHIFT_TO_INIT): Likewise.
962         * iconvdata/ibm939.c (EMIT_SHIFT_TO_INIT): Likewise.
963         * iconvdata/iso-2022-cn.c (EMIT_SHIFT_TO_INIT): Likewise.
964         * iconvdata/iso-2022-cn-ext.c (EMIT_SHIFT_TO_INIT): Likewise.
965         * iconvdata/iso-2022-jp.c (EMIT_SHIFT_TO_INIT): Likewise.
966         * iconvdata/iso-2022-kr.c (EMIT_SHIFT_TO_INIT): Likewise.
967         * iconvdata/utf-7.c (EMIT_SHIFT_TO_INIT): Likewise.
969 2001-05-21  Jakub Jelinek  <jakub@redhat.com>
971         * elf/rtld.c (dl_main): Compute l_map_end for the main program.
972         * elf/dl-sym.c (_dl_sym): Don't check for l_addr == 0.
973         If match == _dl_loaded, caller can still come from the main program.
974         (_dl_vsym): Likewise.
975         * elf/dl-open.c (dl_open_worker): Don't check for l_addr == 0.
976         * elf/dl-error.c (_dl_signal_error): Change NULL objname into "".
977         * elf/restest2.c: New test.
978         * elf/Makefile (tests): Add restest2.
979         (restest2, LDFLAGS-restest2): Add rules.
981 2001-05-22  Ulrich Drepper  <drepper@redhat.com>
983         * intl/Makefile: Add a few more dependencies to avoid races in the
984         test shell scripts.
986 2001-05-22  Andreas Jaeger  <aj@suse.de>
988         * sysdeps/ieee754/ldbl-128/s_log1pl.c: New file, contributed by
989         Stephen L Moshier <moshier@mediaone.net>.
991 2001-05-22  Martin Schwidefsky  <schwidefsky@de.ibm.com>
993         * sysdeps/s390/s390-32/backtrace.c: Make backtrace return the
994         return addresses instead of the stack pointers.
995         * sysdeps/s390/s390-64/backtrace.c: Likewise.
997 2001-05-21  Jakub Jelinek  <jakub@redhat.com>
999         * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Include
1000         bits/sigcontext.h instead of bits/sigstack.h.
1001         * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h: Add
1002         multiple-inclusion guards.
1004 2001-05-21  Andreas Jaeger  <aj@suse.de>
1006         * locale/programs/ld-collate.c (handle_ellipsis): Fix message.
1007         Patch by Philipp Thomas <pthomas@suse.de>.
1009 2001-05-17  Bruce Mitchener  <bruce@cubik.org>
1011         * manual/arpg.texi: Spelling, misc fixes.
1012         * manual/arith.texi: Likewise.
1013         * manual/crypt.texi: Likewise.
1014         * manual/debug.texi: Likewise.
1015         * manual/getopt.texi: Likewise.
1016         * manual/intro.texi: Likewise.
1017         * manual/memory.texi: Likewise.
1018         * manual/nss.texi: Likewise.
1019         * manual/pattern.texi: Likewise.
1020         * manual/process.texi: Likewise.
1021         * manual/resource.texi: Likewise.
1022         * manual/search.texi: Likewise.
1023         * manual/setjmp.texi: Likewise.
1024         * manual/signal.texi: Likewise.
1025         * manual/socket.texi: Likewise.
1026         * manual/stdio.texi: Likewise.
1027         * manual/string.texi: Likewise.
1028         * manual/sysinfo.texi: Likewise.
1029         * manual/terminal.texi: Likewise.
1030         * manual/llio.texi: Document madvise().
1032 2001-05-20  Roland McGrath  <roland@frob.com>
1034         * Makeconfig (sysdep-makeconfigs): Include any Makeconfig files
1035         found within $(add-ons) directories too.
1036         [linuxthreads add-on]: Move variable settings for linuxthreads
1037         to new file linuxthreads/Makeconfig.
1039 2001-05-20  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
1041         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_STD_AUXV):
1042         Define for linux >= 2.4.5 on powerpc.
1043         (__ASSUME_MMAP2_SYSCALL): Likewise.
1045 2001-05-19  Roland McGrath  <roland@frob.com>
1047         * hurd/hurdlookup.c (__hurd_file_name_lookup_retry): Don't leak the
1048         result port when failing with ELOOP.  Do the ELOOP check when
1049         following an absolute symlink target as well as relative.
1050         Remove #ifdef SYMLOOP_MAX conditional--it should always be defined.
1052 2001-05-18  Andreas Jaeger  <aj@suse.de>
1054         * po/fr.po: Free software is "logiciel libre".
1055         Patch by Martin Michlmayr <tbm@cyrius.com>.
1057         * sysdeps/powerpc/elf/libc-start.c: Use __cxa_atexit.
1058         Patch by ekato@ees.hokudai.ac.jp, closes PR libc/2271.
1060 2001-05-17  David Mosberger  <davidm@hpl.hp.com>
1062         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: New file.
1064 2001-05-17  Ulrich Drepper  <drepper@redhat.com>
1066         * elf/dl-profile.c (_dl_mcount): Check whether state is
1067         GMON_PROF_ON before doing anything.
1069 2001-05-17  H.J. Lu  <hjl@gnu.org>
1071         * elf/sprof.c (read_symbols): Move "++symtab" into the while loop.
1073 2001-05-17  Ulrich Drepper  <drepper@redhat.com>
1075         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Use
1076         CHECK_SIGSET_NULL_OK and not CHECK_SIGSET for all parameters.
1077         Reported by Mark Burton <markb@ordern.com>.
1079 2001-05-17  Jakub Jelinek  <jakub@redhat.com>
1081         * elf/ldconfig.c (add_dir): Only warn about stat failure if
1082         opt_verbose.
1083         (search_dir): Likewise.
1085 2001-05-17  Ulrich Drepper  <drepper@redhat.com>
1087         * sysdeps/i386/i486/atomicity.h (exchange_and_add): Correct second
1088         parameter of xaddl.  Patch by H . J . Lu <hjl@lucon.org>.
1090 2001-05-14  Bruno Haible  <haible@clisp.cons.org>
1092         * iconvdata/iso-2022-cn-ext.c (BODY for FROM_LOOP): If SO is seen
1093         without previous announcement, reject it regularly, don't abort.
1095 2001-05-16  Ulrich Drepper  <drepper@redhat.com>
1097         * math/tgmath.h: Fix handling of int parameters to binary and
1098         ternary functions.  Reported by mitr@volny.cz.
1100         * math/test-tgmath.c: Add tests for calls with integer parameters.
1102 2001-05-15  Jakub Jelinek  <jakub@redhat.com>
1104         * sunrpc/rpc_thread.c (rpc_default): Remove.
1105         (__rpc_thread_destroy): Use __libc_tsd_RPC_VARS_mem instead of
1106         rpc_default.
1107         (rpc_thread_multi, __rpc_thread_svc_fdset, __rpc_thread_createerr,
1108         __rpc_thread_svc_pollfd, __rpc_thread_svc_max_pollfd): Likewise.
1109         * sunrpc/auth_none.c (authnone_private): Fix a typo.
1111 2001-05-16  Martin Schwidefsky  <schwidefsky@de.ibm.com>
1113         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Fix stack allocation.
1115 2001-05-16  Bruce Mitchener  <bruce@cubik.org>
1117         * manual/llio.texi: Many grammar and typo fixes to the section on AIO.
1119 2001-05-15  Andreas Jaeger  <aj@suse.de>
1121         * sysdeps/ieee754/ldbl-128/s_expm1l.c: New file, contributed by
1122         Stephen L Moshier <moshier@mediaone.net>.
1124         * sysdeps/i386/fpu/libm-test-ulps: Adjust for change.
1126         * math/libm-test.inc: Add comment with ToDo.
1128         * sysdeps/i386/fpu/e_expl.c: Rewritten to C and using a more
1129         accurate algorithm.  Patch by Stephen L Moshier <moshier@mediaone.net>.
1131         * sysdeps/i386/fpu/e_expl.S: Removed.
1133 2001-05-14  Roland McGrath  <roland@frob.com>
1135         * csu/Makefile ($(objpfx)g$(start-installed-name)): Turn this into a
1136         static pattern rule also that also covers
1137         $(objpx)g$(static-start-installed-name).
1138         [$(start-installed-name) != $(static-start-installed-name)]
1139         (extra-objs, omit-deps, install-lib): Add
1140         $(static-start-installed-name) and g$(static-start-installed-name).
1141         * sysdeps/mach/hurd/i386/Makefile: Don't add crt0.o to those here;
1142         just setting static-start-installed-name is now sufficient.
1143         (extra-objs): Add static-start.o here.
1144         (CFLAGS-initfini.s): Remove obsolete variable.
1145         * sysdeps/mach/hurd/i386/Makeconfig: New file.
1146         Define static-start-installed-name here.
1148         * Makeconfig: Include existing $(full_config_sysdirs:=/Makeconfig).
1149         * Make-dist (+sysdep-tsrcs): Look for Makeconfig files.
1151         * Makerules ($(+sysdir_pfx)sysd-Makefile): Remove this target and
1152         associated hair.  Instead, just use $(wildcard ...) in the include.
1154         * configure.in (critic_missing, aux_missing): Collect in these vars
1155         the names of the missing programs, and include them in the error msgs.
1156         * configure: Regenerated.
1158 2001-05-14  Andreas Jaeger  <aj@suse.de>
1160         * sysdeps/i386/fpu/libm-test-ulps: Adjust for new tests.
1162         * math/libm-test.inc (tanh_test): Add testcases for last tanh bug.
1164 2001-05-14  Stephen L Moshier <moshier@mediaone.net>
1166         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Fix sign test.
1168 2001-05-11  Jakub Jelinek  <jakub@redhat.com>
1170         * posix/regex.c (re_match_2_internal): Swap mbs_offset and csize
1171         as well if swapping strings.
1172         Make sure stop is not past end of second string.
1173         * posix/bug-regex4.c: New test.
1174         * posix/Makefile (tests): Add bug-regex4.
1176 2001-05-10  Andreas Jaeger  <aj@suse.de>
1178         * manual/install.texi (Linux): Clarify that Linux 2.2 is minimal
1179         requirement.
1181 2001-05-12  Andreas Jaeger  <aj@suse.de>
1183         * sysdeps/ieee754/dbl-64/s_sin.c: Include "math_private.h" for
1184         internal prototypes.
1185         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
1186         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
1187         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
1188         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
1189         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
1190         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
1191         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
1193         * math/math_private.h: Add prototypes for internal functions of
1194         the IBM Accurate Mathematical Library.
1196         * sysdeps/ieee754/dbl-64/s_atan.c: Include "math.h" for
1197         prototypes.
1198         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
1200         * sysdeps/ieee754/dbl-64/e_asin.c: Include "math_private.h" for
1201         internal prototypes.
1202         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
1203         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
1204         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
1205         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
1206         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
1207         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
1208         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
1209         * sysdeps/generic/e_rem_pio2l.c: Likewise.
1210         (__ieee754_rem_pio2l): Fix prototype.
1212         * math/math_private.h (__copysign): Add internal prototype.
1214 2001-05-11  Andreas Jaeger  <aj@suse.de>
1216         * sysdeps/unix/sysv/linux/configure.in: Move binutils check to...
1217         * sysdeps/unix/sysv/linux/mips/configure.in: ...here.  New file.
1219 2001-05-11  Andreas Jaeger  <aj@suse.de>
1221         * sysdeps/unix/sysv/linux/configure.in: Check binutils version on
1222         MIPS.
1224         * sysdeps/mips/rtld-ldscript.in: Removed unneeded binary output
1225         format directive.  Patch by Steven J. Hill <sjhill@cotw.com>.
1227 2001-05-11  Roland McGrath  <roland@frob.com>
1229         * sysdeps/mach/hurd/Makefile ($(link-rpcuserlibs)): Don't use
1230         $(build-module) here, since we don't need the full magilla.
1231         Just use $(build-module-helper) and append our special options.
1233 2001-05-09  Andreas Schwab  <schwab@suse.de>
1235         * sysdeps/unix/readdir.c: Make sure we don't modify errno when we
1236         reached EOF.
1238 2001-05-07  H.J. Lu  <hjl@gnu.org>
1240         * elf/ldconfig.c (dir_entry): Add ino and dev.
1241         (add_single_dir): Compare ino and dev to check if 2 directory
1242         paths are the same or not. Free entry->path for duplicates.
1243         (add_dir): Initialize ino and dev for entry.
1244         (search_dir): Handle symlink to directory.
1246 2001-05-07  Andreas Jaeger  <aj@suse.de>
1248         * sysdeps/i386/fpu/libm-test-ulps: Add ulps for new exp tests.
1250         * math/libm-test.inc (exp_test): Add some more tests.
1251         (pow_test): Run double only test also for long double.
1253         * math/test-ldouble.c (TEST_LDOUBLE): Define.
1254         * math/test-ildoubl.c (TEST_LDOUBLE): Likewise.
1256         * sysdeps/generic/bits/confname.h: Remove extra comma at end of
1257         enumeration.
1258         Closes PR libc/2240.
1260         * scripts/config.guess: Imported from gnu.org.
1261         * scripts/config.sub: Likewise.
1263 2001-05-05  Jakub Jelinek  <jakub@redhat.com>
1265         * include/features.h (__USE_EXTERN_INLINES): Don't define if
1266         __NO_INLINE__ is defined.
1267         * ctype/ctype.h (tolower, toupper): Change the guard condition to
1268         __USE_EXTERN_INLINES check only.
1269         * stdlib/stdlib.h (strtod, ...): Likewise.
1270         * wcsmbs/wchar.h (mbrlen): Likewise.
1271         * string/string.h: Only include bits/string.h and bits/string2.h
1272         if __NO_INLINE__ is not defined.
1274 2001-05-07  Andreas Jaeger  <aj@suse.de>
1276         * debug/Makefile ($(objpfx)xtrace): Substitute @SLIBDIR@ instead
1277         of @LIBDIR@.
1279 2001-05-04  H.J. Lu  <hjl@gnu.org>
1281         * malloc/Makefile ($(objpfx)memusage): Substitute @SLIBDIR@
1282         not @LIBDIR@.
1284 2001-05-06  Andreas Jaeger  <aj@suse.de>
1286         * sysdeps/i386/fpu/e_fmodl.c: New, rewrite of e_fmodl.S.
1287         * sysdeps/i386/fpu/e_fmodl.S: Removed.
1288         * sysdeps/i386/fpu/e_atan2l.c: New, rewrite of e_atan2l.S.
1289         * sysdeps/i386/fpu/e_atan2l.S: Removed.
1290         * sysdeps/i386/fpu/e_acosl.c: New, rewrite of e_acos.S.
1291         * sysdeps/i386/fpu/s_atanl.c: New, rewrite of e_atanl.S.
1292         * sysdeps/i386/fpu/e_sqrtl.c: New, rewrite of e_sqrt.S.
1293         * sysdeps/i386/fpu/e_acosl.S: Removed.
1294         * sysdeps/i386/fpu/s_atanl.S: Removed.
1295         * sysdeps/i386/fpu/e_sqrtl.S: Removed.
1297 2001-05-05  Mark Kettenis  <kettenis@gnu.org>
1299         * sysdeps/mach/hurd/bits/environments.h: Add comment from
1300         sysdeps/generic/bits/environments.h.  Define _POSIX_V6_* values.
1302 2001-04-30  Jakub Jelinek  <jakub@redhat.com>
1304         * posix/confstr.c (confstr) [_CS_V6_WIDTH_RESTRICTED_ENVS]: Move so
1305         that _CS_LFS_CFLAGS can fall through to the empty returned string
1306         case.  Add FALLTHROUGH comment.
1308 2001-04-29  Ralf Baechle  <ralf@gnu.org>
1310         * sysdeps/unix/sysv/linux/mips/bits/sem.h: Make structure
1311         definitions match the kernel definitions.
1312         * sysdeps/unix/sysv/linux/mips/bits/ipc.h: Likewise.
1313         * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
1315 2001-04-29  Ben Collins  <bcollins@debian.org>
1317         * sysdeps/sparc/sparc64/dl-machine.h: Fix multiline strings
1318         warnings.
1319         * sysdeps/sparc/sparc64/soft-fp/qp_add.c: Likewise.
1320         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
1321         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
1322         * sysdeps/sparc/sparc64/soft-fp/qp_div.c: Likewise.
1323         * sysdeps/sparc/sparc64/soft-fp/qp_dtoq.c: Likewise.
1324         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
1325         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
1326         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
1327         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
1328         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
1329         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
1330         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
1331         * sysdeps/sparc/sparc64/soft-fp/qp_qtod.c: Likewise.
1332         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
1333         * sysdeps/sparc/sparc64/soft-fp/qp_qtos.c: Likewise.
1334         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
1335         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
1336         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
1337         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
1338         * sysdeps/sparc/sparc64/soft-fp/qp_sqrt.c: Likewise.
1339         * sysdeps/sparc/sparc64/soft-fp/qp_stoq.c: Likewise.
1340         * sysdeps/sparc/sparc64/soft-fp/qp_sub.c: Likewise.
1341         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
1343 2001-04-29  Andreas Schwab  <schwab@suse.de>
1345         * sysdeps/unix/sysv/linux/kernel-features.h: Fix missing backslash
1346         in last change.
1348 2001-04-29  Andreas Jaeger  <aj@suse.de>
1350         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
1351         Define for Arm, PowerPC and SH if kernel is 2.4.4 or newer.
1353         * sysdeps/unix/sysv/linux/bits/socket.h (PF_WANPIPE): New, from
1354         Linux 2.4.4.
1355         (AF_WANPIPE): Likewise.
1356         (MSG_MORE): New.
1358         * sysdeps/unix/sysv/linux/alpha/bits/socket.h: Add same changes as
1359         for Linux generic version.
1360         * sysdeps/unix/sysv/linux/s390/s390-64/bits/socket.h: Likewise.
1361         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
1362         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
1363         * sysdeps/unix/sysv/linux/ia64/bits/socket.h: Likewise.
1365         * sysdeps/gnu/netinet/tcp.h (TCP_QUICKACK): New.
1367 2001-04-27  Ulrich Drepper  <drepper@redhat.com>
1369         * nis/nss-nis.h: Correct test for invalid error number.
1370         * nis/nss-nisplus.h: Likewise.
1372         * nis/Makefile (libnss_compat-rountines): Add nss-nisplus.
1374 2001-04-26  Ulrich Drepper  <drepper@redhat.com>
1376         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add getunwind.
1378         * string/strcoll.c: Fix two memory allocation problems.
1379         * string/Makefile (tests): Add bug-strcoll1.
1380         * string/bug-strcoll1.c: New file.
1382         * malloc/mcheck.c (mcheck): Call malloc once before setting the
1383         hooks to allow the internal check hooks to be set up if necessary.
1385         * nis/nss-nis.h: Move yperr2nss_tab definition into separate file
1386         and rename to __yperr2nss_tab.  Change YPERR_COUNT into variable
1387         __yperr2nss_count.
1388         * nis/nss-nis.c: New file.
1389         * nis/nss-nisplus.h: Move niserr2nss_tab definition into separate file
1390         and rename to __niserr2nss_tab.  Change NISERR_COUNT into variable
1391         __niserr2nss_count.
1392         * nis/nss-nisplus.c: New file.
1393         * nis/Makefile (libnss_compat-routines): Add nss-nis.
1394         (libnss_nis-routines): Likewise.
1395         (libnss_nisplus-routines): Add nss-nisplus.
1397         * nis/nss_nisplus/nisplus-alias.c: Remove unnecessary initializations.
1398         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
1399         * nis/nss_nisplus/nisplus-grp.c: Likewise.
1400         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
1401         * nis/nss_nisplus/nisplus-network.c: Likewise.
1402         * nis/nss_nisplus/nisplus-proto.c: Likewise.
1403         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
1404         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
1405         * nis/nss_nisplus/nisplus-service.c: Likewise.
1406         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
1407         * nis/nss_nis/nis-alias.c: Likewise.
1408         * nis/nss_nis/nis-ethers.c: Likewise.
1409         * nis/nss_nis/nis-grp.c: Likewise.
1410         * nis/nss_nis/nis-network.c: Likewise.
1411         * nis/nss_nis/nis-proto.c: Likewise.
1412         * nis/nss_nis/nis-pwd.c: Likewise.
1413         * nis/nss_nis/nis-spwd.c: Likewise.
1414         * nis/nss_compat/compat-grp.c: Likewise.
1415         * nis/nss_compat/compat-initgroups.c: Likewise.
1416         * nis/nss_compat/compat-pwd.c: Likewise.
1417         * nis/nss_compat/compat-spwd.c: Likewise.
1419         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Some more
1420         optimizations.  Patch by Jakub Jelinek <jakub@redhat.com>.
1422 2001-04-26  Andreas Jaeger  <aj@suse.de>
1424         * po/zh_TW.po: Update.
1425         Patch by Tung-Han Hsieh <thhsieh@tlug.sinica.edu.tw>.
1427 2001-04-25  Ulrich Drepper  <drepper@redhat.com>
1429         * malloc/malloc.c: Allow MALLOC_ALIGNMENT to be defined on the
1430         compiler command line.
1431         * sysdeps/hppa/Makefile: Add -DMALLOC_ALIGNMENT=16 to compiler
1432         command line for malloc.c.
1434 2001-04-25  Jakub Jelinek  <jakub@redhat.com>
1436         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/time.h: Move to...
1437         * sysdeps/unix/sysv/linux/sparc/bits/time.h: ...here.
1438         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/bits/time.h: Remove.
1439         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/socket.h: Move to...
1440         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: ...here.  Adjust
1441         struct msghdr for __WORDSIZE == 32.
1442         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/statvfs.h: Move to...
1443         * sysdeps/unix/sysv/linux/sparc/bits/statvfs.h: ...here. Adjust
1444         for __WORDSIZE == 32.
1445         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/siginfo.h: Remove.
1446         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/get_clockfreq.c: New
1447         file.
1448         * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S (__libc_siglongjmp):
1449         Rename from longjmp, make longjmp weak alias to it.
1451 2001-04-24  David S. Miller  <davem@redhat.com>
1453         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: New file.
1455 2001-04-25  Matthew Wilcox  <willy@ldl.fc.hp.com>
1457         * sysdeps/hppa/stackinfo.h: New file.
1458         * sysdeps/unix/sysv/linux/hppa/getdents64.c: New file.
1459         * sysdeps/unix/sysv/linux/hppa/mmap64.c: New file.
1460         * sysdeps/unix/sysv/linux/hppa/bits/resource.h: New file.
1461         * sysdeps/unix/sysv/linux/kernel-features.h: Add descriptions
1462         of PA kernel features.
1464 2001-04-25  Ulrich Drepper  <drepper@redhat.com>
1466         * locale/programs/localedef.c (main): Always set a file name for
1467         the initial locale.
1468         * locale/programs/locfile.c (locfile_read): filename is allowed to
1469         be NULL.
1471 2001-04-12  Paul Bame  <paul_bame@hp.com>
1473         * sysdeps/hppa/fpu/fclrexcpt.c: Clear the exception flags, not the
1474         enable flags.
1476 2001-04-24  Ulrich Drepper  <drepper@redhat.com>
1478         * sysdeps/generic/bits/environments.h (_POSIX_V6_LPBIG_OFFBIG,
1479         _XBS5_LPBIG_OFFBIG): Define to -1.
1480         Fix typos.
1482         * sysdeps/generic/bits/confname.h: Add _CS_V6_WIDTH_RESTRICTED_ENVS.
1483         * posix/confstr.c: Handle _CS_V6_WIDTH_RESTRICTED_ENVS.
1484         * posix/getconf.c: Handle _POSIX_V6_WIDTH_RESTRICTED_ENVS.
1485         * posix/tst-getconf.sh: Add _POSIX_V6_WIDTH_RESTRICTED_ENVS.
1487         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9b/Implies: New file.
1488         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9b/bits/time.h: Removed.
1490 2001-03-21  Alan Modra  <alan@one.net.au>
1492         * sysdeps/hppa/dl-machine.h (RTLD_START): Set up dp with DT_PLTGOT
1493         value from application so that constructors in non-PIC libs work.
1495 2000-12-13  Jes Sorensen  <jes@linuxcare.com>
1497         * sysdeps/hppa/dl-machine.h (RTLD_START): _dl_init now returns a
1498         function pointer, hence load the jump address and gp from the
1499         function pointer before jumping.
1501 2001-04-24  Andreas Jaeger  <aj@suse.de>
1503         * sysdeps/generic/send.c (__send): Return ssize_t.
1504         * sysdeps/mach/hurd/send.c (__send): Likewise.
1505         * sysdeps/mach/hurd/recv.c (recv): Likewise.
1506         * sysdeps/mach/hurd/sendto.c (sendto): Likewise.
1507         * sysdeps/generic/sendto.c (sendto): Likewise.
1508         * sysdeps/generic/recvmsg.c (recvmsg): Likewise.
1509         * sysdeps/mach/hurd/recvfrom.c (recvfrom): Likewise.
1510         * sysdeps/generic/recvfrom.c (recvfrom): Likewise.
1511         * sysdeps/generic/sendmsg.c (sendmsg): Likewise.
1513         * socket/sys/socket.h: send* and recv* return ssize_t.
1515         * include/sys/socket.h: send returns ssize_t.
1517         * sysdeps/i386/fpu_control.h: Fix comments.
1519 2001-04-24  Ulrich Drepper  <drepper@redhat.com>
1521         * sysdeps/ia64/Dist: Add hp-timing.c.
1522         * sysdeps/unix/sysv/linux/sparc/sparc64/Dist: Add ucontext_i.h.
1523         * posix/Makefile (distribute): Add tst-getconf.sh.
1524         * po/Makefile (distribute): Add $(BROKEN_LINGUAS:=.po).
1526 2001-04-23  Ulrich Drepper  <drepper@redhat.com>
1528         * sysdeps/ia64/Makefile [subdir=csu] (sysdep_routines): Add hp-timing.
1529         * sysdeps/ia64/Versions: Add _dl_cpuclock_offset for ld in 2.2.3.
1530         * sysdeps/ia64/hp-timing.c: New file.
1531         * sysdeps/ia64/hp-timing.h: New file.
1532         * sysdeps/unix/sysv/linux/ia64/bits/time.h: Add definitions for
1533         CLOCK_PROCESS_CPUTIME_ID and CLOCK_THREAD_CPUTIME_ID.
1535         * sysdeps/generic/clock_getcpuclockid.c: Make function generic, test
1536         using #ifdef whether the clock is available.
1537         * sysdeps/unix/i386/clock_getcpuclockid.c: Not needed anymore.
1539         * sysdeps/generic/dl-sysdep.c: Initialize _dl_cpuclock_offset to move
1540         it into data section.
1542         * sysdeps/unix/i386/i586/clock_getres.c: Removed.
1543         * sysdeps/unix/i386/i586/clock_gettime.c: Removed.
1544         * sysdeps/unix/i386/i586/clock_nanosleep.c: Removed.
1545         * sysdeps/unix/i386/i586/clock_settime.c: Removed.
1546         * sysdeps/unix/i386/i586/cpuclock-init.h: Removed.
1547         * sysdeps/generic/cpuclock-init.h: Removed.
1548         * sysdeps/unix/i386/i686/Implies: Removed.
1549         * sysdeps/unix/i386/i686/tempname.c: Removed.
1550         * sysdeps/i386/i686/Versions: New file.
1551         * sysdeps/unix/i386/i586/Versions: Removed.
1553         * sysdeps/posix/clock_getres.c: If HP_TIMING_AVAIL is nonzero handle
1554         CLOCK_PROCESS_CPUTIME_ID and CLOCK_THREAD_CPUTIME_ID.
1555         * sysdeps/unix/clock_gettime.c: Likewise.
1556         * sysdeps/unix/clock_nanosleep.c: Likewise.
1557         * sysdeps/unix/clock_settime.c: Likewise.
1558         * sysdeps/posix/tempname.c: Is HP_TIMING_AVAIL is nonzero define
1559         RANDOM_BITS use CPU clock.
1561         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/bits/time.h: New file.
1562         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9b/bits/time.h: New file.
1563         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/time.h: New file.
1564         * sysdeps/sparc/Versions: New file.
1566         * elf/dl-support.c: Don't use cpuclock-init.h definitions, use
1567         hp-timing.h definitions.
1568         * sysdeps/generic/dl-sysdep.c: Likewise.
1570         * include/libc-internal.h: Include hp-timing.h.  Use hp_timing_t in
1571         __get_clockfreq prototype.
1573         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
1574         Use hp_timing_t type.
1575         * sysdeps/generic/get_clockfreq.c (__get_clockfreq): Likewise.
1577         * sysdeps/unix/sysv/linux/ia64/get_clockfreq.c: New file.
1579         * sysdeps/posix/pathconf.c (__pathconf): For _PC_ASYNC_IO test
1580         whether named file is a regular file or a block device.
1581         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
1583 2001-04-23  Andreas Jaeger  <aj@suse.de>
1585         * nscd/nscd.h: Add noreturn attribute for start_threads.
1587 2001-04-22  Ulrich Drepper  <drepper@redhat.com>
1589         * posix/getconf.c: Fix names of XBS5 LFS test variables.
1590         Add missing configuration variables from XPG6.
1591         * posix/tst-getconf.c: New file.
1592         * posix/Makefile (generated): Add tst-getconf.out.
1593         (tests): Add ($objpfx)tst-getconf.out.
1594         Add rule to run tst-getconf.sh.
1595         * sysdeps/generic/bits/confname.h: Add missing _PC_ and _SC_ values
1596         from XPG6.
1597         * sysdeps/posix/fpathconf.c: Add handling of _PC_ALLOC_SIZE_MIN and
1598         _PC_SYMLINK_MAX.
1599         * sysdeps/posix/pathconf.c: Likewise.
1600         * sysdeps/posix/sysconf.c: Correct spelling of _SC_MULTI_PROCESS
1601         and _SC_SYMLOOP_MAX.
1603 2001-04-22  Philip Blundell  <philb@gnu.org>
1605         * sysdeps/arm/fpu/feenablxcpt.c: New file.
1606         * sysdeps/arm/fpu/fedisablxcpt.c: New file.
1607         * sysdeps/arm/fpu/fegetexcpt.c: New file.
1609 2001-04-22  Philip Blundell  <philb@gnu.org>
1611         * sysdeps/unix/sysv/linux/arm/sys/user.h (struct user_fpregs):
1612         Renamed from struct user_fp.
1613         (struct user_regs): New.
1614         (struct user): Use struct user_regs rather than struct pt_regs to
1615         avoid dependency on asm/ptrace.h.  Use struct user_fpregs in place
1616         of struct user_fp and struct user_fp_struct.
1617         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Include sys/procfs.h
1618         not sys/elf.h.
1620 2001-04-22  Philip Blundell  <philb@gnu.org>
1622         * sysdeps/unix/sysv/linux/arm/sys/elf.h: Move contents to
1623         sys/procfs.h, and tell the user to include that file instead.
1624         * sysdeps/unix/sysv/linux/arm/sys/procfs.h: Remove old cruft
1625         surrounded with #if 0.
1626         (elf_greg_t, ELF_NGREG, elf_gregset_t, elf_fpregset_t): Moved here
1627         from sys/elf.h.
1628         (prgregset_t, prfpregset_t): Define in terms of elf_gregset_t and
1629         elf_fpregset_t respectively.
1631 2001-04-22  Philip Blundell  <philb@gnu.org>
1633         * sysdeps/unix/sysv/linux/arm/register-dump.h: Also print the
1634         address that faulted.
1636 2001-04-21  Ulrich Drepper  <drepper@redhat.com>
1638         * sysdeps/generic/bits/confname.h: Add _SC_V6_* and _CS_POSIX_V6_*
1639         values.
1640         * sysdeps/generic/bits/environments.h: Define _POSIX_V6_* values.
1641         * posix/confstr.c: Handle _CS_POSIX_V6_* values.
1642         * posix/getconf.c: Handle _CS_POSIX_V6_* and _SC_V6_* values.
1643         * sysdeps/posix/sysconf.c: Handle _SC_V6_* values.
1645         * sysdeps/powerpc/fpu/libm-test-ulps: Add deltas for atan2f.
1646         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
1647         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
1648         * sysdeps/mips/fpu/libm-test-ulps: Likewise.
1650 2001-04-21  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
1652         * sysdeps/unix/sysv/linux/powerpc/mmap64.c: Correct check for invalid
1653         offset.
1655 2001-04-21  Ulrich Drepper  <drepper@redhat.com>
1657         * posix/getopt.h: Treat __cplusplus like __STDC__.
1659 2001-04-20  John S. Marvin  <jsm@fc.hp.com>
1661         * sysdeps/unix/sysv/linux/hppa/clone.S: Fix clone system call
1662         entry point stub.
1664 2001-04-20  Richard Hirst  <rhirst@linuxcare.com>
1666         * elf/elf.h: Corrected R_PARISC_DIR14R (should be 6, not 5),
1667         and added R_PARISC_DPREL21L and R_PARISC_DPREL14R for modutils.
1669         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Removed ptrace
1670         entry so the ptrace.c wrapper is used.
1672 2001-04-20  Alan Modra  <amodra@one.net.au>
1674         * sysdeps/hppa/dl-lookupcfg.h (_dl_function_address): Prototype.
1675         (DL_FUNCTION_ADDRESS): Define.
1676         (DL_DT_INIT_ADDRESS): Define.
1677         (DL_DT_FINI_ADDRESS): Define.
1678         * sysdeps/hppa/Versions: Add _dl_function_address.
1679         * sysdeps/hppa/dl-machine.h (ELF_MACHINE_START_ADDRESS): Define.
1680         * sysdeps/hppa/dl-symaddr.c (_dl_start_address): Rename to
1681         _dl_function_address.
1683 2001-04-21  Andreas Jaeger  <aj@suse.de>
1685         * rt/aio_misc.c (handle_fildes_io): Add noreturn attribute.
1686         * resolv/gai_misc.c (handle_requests): Likewise.
1687         * malloc/obstack.c (print_and_abort): Likewise.
1688         * malloc/mcheck.c (mabort): Likewise.
1690         * sysdeps/unix/i386/i586/clock_settime.c: Include
1691         "libc-internal.h" for __get_clockfreq declaration.
1693 2001-04-21  Ulrich Drepper  <drepper@redhat.com>
1695         * elf/dl-support.c: Include cpuclock-init.h.  Use CPUCLOCK_VARDEF and
1696         CPUCLOCK_INIT if defined.
1697         * sysdeps/generic/dl-sysdep.c: Likewise.
1698         * sysdeps/generic/cpuclock-init.h: New file.
1699         * sysdeps/unix/i386/i586/cpuclock-init.h: New file.
1700         * sysdeps/unix/i386/i586/Versions: New file.
1701         * sysdeps/unix/i386/i586/clock_settime.c: New file.
1702         * sysdeps/unix/i386/i586/clock_gettime.c: Handle thread CPU clock
1703         separately by calling __pthread_clock_gettime if this function is
1704         available.  Subtract offset from tsc value before computing time value.
1706 2001-04-20  Ulrich Drepper  <drepper@redhat.com>
1708         * iconv/iconv_prog.c (print_known_names): If printing goes not to
1709         a tty print in a more machine-friendly way.
1711         * sysdeps/ieee754/ldbl-128/e_asinl.c: New file.
1712         Contributed by Stephen L Moshier <moshier@mediaone.net>.
1714 2001-04-20  Andreas Jaeger  <aj@suse.de>
1716         * intl/Makefile (tests): Reorder conditions, tst-gettext needs msgfmt.
1718 2001-04-20  Andreas Schwab  <schwab@suse.de>
1720         * sysdeps/m68k/fpu/libm-test-ulps: Update.
1722 2001-04-19  Alan Modra  <amodra@one.net.au>
1724         * Makerules (libc_pic.os): Add $(LDFLAGS-c_pic.os).
1725         * sysdeps/hppa/Makefile (LDFLAGS-c_pic.os): Define.
1726         (CFLAGS-.os): Remove.
1728         * sysdeps/unix/sysv/linux/hppa/sysdep.h (CALL_MCOUNT): Update comment.
1730         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (NGREG, NFPREG,
1731         gregset): Correct for new kernel definitions.
1733 2001-04-19  Alan Modra  <alan@linuxcare.com.au>
1735         * sysdeps/hppa/elf/initfini.c: Change dlt reg save to r3 and
1736         generate unwind info by hand.
1738 2001-04-19  Ulrich Drepper  <drepper@redhat.com>
1740         * sysdeps/unix/sysv/linux/powerpc/mmap64.c (__mmap64): Optimize a bit.
1742         * configure.in: Correct regular expression for msgfmt.
1743         Patch by Bruno Haible <haible@ilog.fr>.
1745 2001-04-19  Andreas Jaeger  <aj@suse.de>
1747         * po/el.po: Add comment explaining what's broken.
1749         * po/Makefile (BROKEN_LINGUAS): New.
1750         (ALL_LINGUAS): Don't add broken languages.
1752 2001-04-19  Roland McGrath  <roland@frob.com>
1754         * sysdeps/mach/hurd/mlock.c: New file.
1755         * sysdeps/mach/hurd/munlock.c: New file.
1756         * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_MEMLOCK_RANGE): Define it.
1758         * misc/Makefile (routines): Add mlock munlock mlockall munlockall.
1759         * sysdeps/generic/mlock.c: New file.
1760         * sysdeps/generic/munlock.c: New file.
1761         * sysdeps/generic/mlockall.c: New file.
1762         * sysdeps/generic/munlockall.c: New file.
1763         * sysdeps/generic/bits/mman.h (MCL_CURRENT, MCL_FUTURE): New macros.
1764         * sysdeps/unix/sysv/linux/syscalls.list (mlock, munlock,
1765         mlockall, munlockall): Change caller field to - from EXTRA.
1766         Don't use __ names; not used (and not declared in include/sys/mman.h).
1768         * hurd/privports.c (__get_privileged_ports): Renamed with __.
1769         Use __ names for calls we make.
1770         (get_privileged_ports): Add alias.
1771         * hurd/hurd.h: Declare it with the __ name.
1772         * sysdeps/mach/hurd/reboot.c (reboot): Use __get_privileged_ports.
1773         * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
1774         * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
1776         * hurd/hurdsig.c (write_corefile): Check RLIMIT_CORE limit and do
1777         nothing if it's zero.
1779 2001-04-19  Matthew Wilcox  <willy@ldl.fc.hp.com>
1781         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL):
1782         Change to return a signed result for compatibility with other
1783         architectures, and correctness.
1785 2001-04-19  Ulrich Drepper  <drepper@redhat.com>
1787         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_32BITUIDS):
1788         HPPA always had them.  Patch by Matthew Wilcox <matthew@wil.cx>.
1790 2001-04-19  Andreas Jaeger  <aj@suse.de>
1792         * configure.in: Require gettext 0.10.36 or newer.
1794         * manual/install.texi (Tools for Compilation): Mention gettext 0.10.36.
1796         * po/zh_TW.po: Remove extraneous backslashes.
1798         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Remove unused
1799         variables b and n.
1801 2001-04-18  Jakub Jelinek  <jakub@redhat.com>
1803         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Update.
1804         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c: New file.
1805         * sysdeps/unix/sysv/linux/sparc/sparc64/swapcontext.c: New file.
1806         * sysdeps/unix/sysv/linux/sparc/sparc64/setcontext.S (__setcontext):
1807         Copy first word of uc_sigmask into __uc_sigmask.
1808         * sysdeps/unix/sysv/linux/sparc/sparc64/getcontext.S (__getcontext):
1809         Save uc_link around trap. Copy __uc_sigmask into first word of
1810         uc_sigmask, clear the rest. Make sure setcontext to the created
1811         context doesn't do this though.
1812         * sysdeps/unix/sysv/linux/sparc/sparc64/ucontext_i.h: New file.
1813         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (ucontext_t): Add
1814         uc_stack and uc_sigmask, rename old uc_sigmask to __uc_sigmask in the
1815         64bit version, make uc_sigmask __sigset_t in the 32bit version.
1817 2001-04-19  Andreas Jaeger  <aj@suse.de>
1819         * sysdeps/unix/sysv/linux/hppa/umount.c: Fix typos in last patch.
1821         * rt/Makefile (otherlibs): Added for static NSS.
1823         * glibcbug.in (BUGGLIBC): Send to new alias.
1825 2001-04-02  Andreas Schwab  <schwab@suse.de>
1827         * Makerules (build-module): Make sure exit codes get checked
1828         properly and remove unnecessary slashes.
1830 2001-04-17  Ulrich Drepper  <drepper@redhat.com>
1832         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
1833         Handle kernels which report only three digits after the decimal point.
1834         Reported by Van Okamura <van.okamura@oracle.com>.
1836         * sysdeps/alpha/fpu/libm-test-ulps: Adjust error values for atan2f.
1838 2001-04-17  David S. Miller  <davem@redhat.com>
1840         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Update for new atan2 tests.
1841         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
1843 2001-04-17  Jakub Jelinek  <jakub@redhat.com>
1845         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Make sure
1846         desired exceptions are raised for exceptional values.
1847         * math/libm-test.inc (acosh_test, atan_test, atan2_test, cacos_test,
1848         cacosh_test, casin_test, casinh_test, catan_test, catanh_test,
1849         clog_test, log_test, log1p_test, tan_test): Increase precision of
1850         expected values to satisfy ldbl-128.
1851         * sysdeps/alpha/fpu/libm-test-ulps: Adjust accordingly.
1852         * sysdeps/arm/libm-test-ulps: Likewise.
1853         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
1854         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
1855         * sysdeps/m68k/fpu/libm-test-ulps: Likewise.
1856         * sysdeps/mips/fpu/libm-test-ulps: Likewise.
1857         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
1858         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
1859         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
1860         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
1861         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
1863 2001-04-17  Andreas Jaeger  <aj@suse.de>
1865         * configure.in: Move test for critical programs up.
1867 2001-04-16  Stephen L Moshier  <moshier@mediaone.net>
1869         * sysdeps/ieee754/flt-32/e_asinf.c (pio2_hi, pio2_lo, pio4_hi):
1870         Correct the values. (pSx, qSx): Replace by shorter approximation.
1871         Use f suffix on float constants.
1873 2001-04-16  Ulrich Drepper  <drepper@redhat.com>
1875         * sysdeps/ieee754/ldbl-128/k_tanl.c: New file.
1876         Contributed by Stephen L Moshier <moshier@mediaone.net>.
1878         * string/string.h: Replace const in attribute list with __const__.
1880 2001-04-16  Roland McGrath  <roland@frob.com>
1882         * grp/initgroups.c (initgroups) [NGROUPS_MAX != 0]: Always use sysconf
1883         instead of the constant NGROUPS_MAX.  That way, the limit can be
1884         raised in the kernel configuration without having to recompile libc.
1886         * sysdeps/posix/euidaccess.c: Don't #include <limits.h> or try to
1887         define NGROUPS_MAX; we don't use it here.
1889 2001-04-16  Andreas Jaeger  <aj@suse.de>
1891         * math/libm-test.inc (atan2_test): Add more testcases.
1893         * iconv/gconv_db.c: Include gconv_charset.h for
1894         __gconv_lookup_alias prototype.
1896 2001-04-13  Ulrich Drepper  <drepper@redhat.com>
1898         * sysdeps/ieee754/ldbl-128/s_atanl.c: New file.
1899         Contributed by Stephen L Moshier <moshier@mediaone.net>.
1901 2001-04-13  Jes Sorensen  <jes@linuxcare.com>
1903         * intl/tst-codeset.c: Include string.h to get prototype for strcmp().
1905 2001-04-13  Jes Sorensen  <jes@linuxcare.com>
1907         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Add __pad0 to
1908         explicitly pad struct siginfo instead of relying on compiler padding.
1910 2001-04-12  Ulrich Drepper  <drepper@redhat.com>
1912         * sysdeps/ia64/Dist: Add elf/entry.h.
1914         * iconvdata/Makefile (distribute): Add TESTS2.
1916 2001-04-13  Jakub Jelinek  <jakub@redhat.com>
1918         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_load_address):
1919         Calculate load address differently.
1921 2001-04-12  Bruno Haible  <haible@clisp.cons.org>
1923         * iconvdata/TESTS2: New file.
1924         * iconvdata/run-iconv-test.sh: Also run tests from TESTS2.
1925         * iconvdata/testdata/alfabeta..UTF-8: New file.
1926         * iconvdata/testdata/alfabeta..UTF-16.BE: New file.
1927         * iconvdata/testdata/alfabeta..UTF-16.LE: New file.
1928         * iconvdata/testdata/alfabeta..UTF-32.BE: New file.
1929         * iconvdata/testdata/alfabeta..UTF-32.LE: New file.
1931 2001-04-11  Bruno Haible  <haible@clisp.cons.org>
1933         * iconvdata/utf-32.c: New file.
1934         * iconvdata/gconv-modules: Add entries for UTF-32, UTF-32LE, UTF-32BE.
1935         * iconvdata/Makefile (modules): Add UTF-32.
1936         (distribute): Add utf-32.c.
1938 2001-04-11  Bruno Haible  <haible@clisp.cons.org>
1940         * iconvdata/utf-16.c (PREPARE_LOOP): Initialize 'swap' after possibly
1941         changing it in the state. After incrementing 'inptr', store it back.
1942         * iconvdata/unicode.c (PREPARE_LOOP): After incrementing 'inptr',
1943         store it back.
1945 2001-04-11  Bruno Haible  <haible@clisp.cons.org>
1947         * iconvdata/utf-16.c (gconv_init): Use MAX_NEEDED_FROM, not
1948         MIN_NEEDED_FROM.
1950 2001-04-11  David Mosberger  <davidm@hpl.hp.com>
1952         * sysdeps/ia64/htonl.S: Drop superfluous "alloc".
1953         * sysdeps/ia64/htons.S: Likewise.
1955         * sysdeps/ia64/memset.S: Add unwind directives.
1956         * sysdeps/ia64/strncpy.S: Likewise.
1957         * sysdeps/ia64/strcat.S: Likewise.
1959         * sysdeps/ia64/memccpy.S: Add unwind directives.  Drop superfluous
1960         restore of ar.pfs.
1961         * sysdeps/ia64/strchr.S: Likewise.
1962         * sysdeps/ia64/memmove.S: Likewise.
1963         * sysdeps/ia64/memcpy.S: Likewise.
1964         * sysdeps/ia64/memcmp.S: Likewise.
1965         * sysdeps/ia64/memchr.S: Likewise.
1966         * sysdeps/ia64/strcmp.S: Likewise.
1967         * sysdeps/ia64/strlen.S: Likewise.
1968         * sysdeps/ia64/strcpy.S: Likewise.
1969         * sysdeps/ia64/strncmp.S: Likewise.
1971 2001-04-11  Jakub Jelinek  <jakub@redhat.com>
1973         * wcsmbs/wchar.h (fgetwc, getwc, getwchar, fputwc, putwc, putwchar,
1974         fgetws, fputws, ungetwc, getwc_unlocked, getwchar_unlocked,
1975         fgetwc_unlocked, fputwc_unlocked, putwc_unlocked, putwchar_unlocked,
1976         fgetws_unlocked, fputws_unlocked, wcsftime): Add __THROW.
1978 2001-04-11  Andreas Jaeger  <aj@suse.de>
1980         * sysdeps/mips/elf/start.S [__ASSEMBLY__]: Define it.
1982 2001-04-11  Andreas Schwab  <schwab@suse.de>
1984         * sysdeps/m68k/fpu/libm-test-ulps: Adjusted.
1986 2001-04-11  Ulrich Drepper  <drepper@redhat.com>
1988         * sysdeps/arm/stackinfo.h: New file.
1990 2001-04-08  Thorsten Kukuk  <kukuk@suse.de>
1992         * sunrpc/rpc_main.c: If we compile RPC thread safe, allow
1993         rpcgen to generate thread safe code.
1995 2001-04-10  Andreas Jaeger  <aj@suse.de>
1997         * math/test-fenv.c (initial_tests): Protect FE_TONEAREST declaration.
1999 2001-04-10  Ulrich Drepper  <drepper@redhat.com>
2001         * elf/dl-minimal.c (__assert_fail): Change error string.  It's
2002         most of the time no bug in ld.so.
2003         (__assert_perror_fail): Likewise.
2005 2001-04-11  Hans-Peter Nilsson  <hp@axis.com>
2007         * sysdeps/generic/bits/fenv.h (fexcept_t): Change default type
2008         from struct to unsigned int.
2010 2001-04-10  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
2012         * elf/elf.h (AT_DCACHEBSIZE, AT_ICACHEBSIZE, AT_UCACHEBSIZE,
2013         AT_IGNOREPPC): New defines.
2014         * sysdeps/generic/dl-sysdep.c (_dl_show_auxv): Print them.
2015         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_STD_AUXV):
2016         Define for newer powerpc kernels.
2017         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Use the standard
2018         DL_FIND_ARG_COMPONENTS if __ASSUME_STD_AUXV is defined.
2020 2000-4-10  kaz Kojima  <kkojima@rr.iij4u.or.jp>
2022         * sysdeps/sh/stackinfo.h: New file.
2024 2001-04-10  Ulrich Drepper  <drepper@redhat.com>
2026         * locale/tst-C-locale.c (run_test): Add tests for locale objects.
2027         * locale/newlocale.c (__newlocale): Correct setting __ctype_b,
2028         __ctype_tolower, and __ctype_toupper elements.
2030         * ctype/ctype_l.c: Fix definitions of __tolower_l and __toupper_l.
2031         Reported by Konstantin Osipov <rabid@spylog.ru>.
2033         * sysdeps/i386/fpu/libm-test-ulps: Add deltas for tgamma to help
2034         the lousy AMD FPU.
2036 2001-04-10  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
2038         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: New file.
2039         * sysdeps/unix/sysv/linux/powerpc/Dist: Add sys/ptrace.h.
2040         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Delete wrong stuff.
2041         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Correct typedefs.
2043 2001-04-10  Ulrich Drepper  <drepper@redhat.com>
2045         * elf/dl-deps.c (_dl_map_object_deps): Provide complete error
2046         message.  Based on a patch by HJ Lu.
2048 2001-04-10  Andreas Schwab  <schwab@suse.de>
2050         * math/libm-test.inc (csinh_test): Don't require the invalid
2051         exception for csinh (x + iNaN), but make it optional.
2053 2001-04-09  David Mosberger  <davidm@hpl.hp.com>
2055         * sysdeps/ia64/elf/start.S (_start): Add unwind directives.
2057         * sysdeps/generic/entry.h [!__ASSEMBLY__]: Declare _start.
2058         * sysdeps/ia64/elf/entry.h: New file.
2059         * sysdeps/unix/sysv/linux/mips/entry.h [!__ASSEMBLY__]: Declare
2060         __start.
2061         * elf/rtld.c: Don't declare ENTRY_POINT.  Use ENTRY_POINT instead
2062         of &ENTRY_POINT.
2063         * sysdeps/generic/dl-sysdep.c: Likewise.
2064         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
2065         * sysdeps/ia64/elf/start.S: Save base address of register backing
2066         store in __libc_ia64_register_backing_store_base.
2068 2001-04-10  Martin Schwidefsky  <schwidefsky@de.ibm.com>
2070         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Fix return
2071         value of getcontext.
2072         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
2073         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Fix return
2074         value of setcontext.
2075         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
2076         * sysdeps/unix/sysv/linux/s390/swapcontext.c: Skip setcontext
2077         call by changing the saved context.
2079 2001-04-10  Ulrich Drepper  <drepper@redhat.com>
2081         * sysdeps/alpha/stackinfo.h: New file.
2082         * sysdeps/ia64/stackinfo.h: New file.
2084 2001-04-10  Andreas Schwab  <schwab@suse.de>
2086         * sysdeps/m68k/fpu/e_pow.c: Correct handling of some exceptional
2087         values.
2088         * sysdeps/m68k/fpu/e_scalb.c: Likewise.
2090 2001-04-09  Ulrich Drepper  <drepper@redhat.com>
2092         * sysdeps/sparc/sparc32/sparcv9/Dist: Add hp-timing.c.
2093         * sysdeps/sparc/sparc64/Dist: Add hp-timing.c.
2095         * libio/Makefile (distribute): Add fd_to_filename.h.
2097 2001-04-05  David S. Miller  <davem@redhat.com>
2099         Add hp-timing support for sparcv9/sparc64 targets.
2100         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: New file
2101         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: New file
2102         * sysdeps/sparc/sparc64/hp-timing.c: New file
2103         * sysdeps/sparc/sparc64/hp-timing.h: New file
2104         * sysdeps/sparc/sparc32/sparcv9/Makefile: Build hp-timing.
2105         * sysdeps/sparc/sparc64/Makefile: Likewise.
2107 2001-04-09  Jakub Jelinek  <jakub@redhat.com>
2109         * sysdeps/generic/fd_to_filename.h: New file.
2110         * sysdeps/unix/sysv/linux/fd_to_filename.h: New file.
2111         * libio/freopen.c (freopen): If FILENAME is NULL, try to get
2112         filename from the open file descriptor.
2113         * libio/freopen64.c (freopen64): Likewise.
2115 2001-04-09  Bruno Haible  <haible@clisp.cons.org>
2117         * misc/error.c (error): fflush stdout also if
2118         error_print_progname != NULL.
2119         (error_at_line): Likewise.
2121 2001-04-07  Bruno Haible  <haible@clisp.cons.org>
2123         * intl/gettextP.h (struct loaded_domain): Add codeset_cntr field.
2124         (struct binding): Add codeset_cntr field.
2125         (_nl_load_domain): Add domainbinding argument.
2126         (_nl_init_domain_conv, _nl_free_domain_conv): New declarations.
2127         (_nl_find_msg): New declaration, moved here from loadinfo.h.
2128         * intl/loadinfo.h (struct loaded_l10nfile): Remove domainbinding field.
2129         (_nl_make_l10nflist): Remove domainbinding argument.
2130         (_nl_find_msg): Move declaration to gettextP.h.
2131         * intl/bindtextdom.c (set_binding_values): Initialize ->codeset_cntr
2132         to 0.  Increment it when ->codeset is changed.
2133         * intl/dcigettext.c (DCIGETTEXT): Pass binding to _nl_find_msg.
2134         (_nl_find_msg): Add domainbinding argument.  Reinitialize the converter
2135         if domainbinding->codeset_cntr has been incremented.
2136         * intl/finddomain.c (_nl_find_domain): Don't pass domainbinding to
2137         _nl_make_l10nflist().  Pass it to _nl_load_domain() instead.
2138         * intl/l10nflist.c (_nl_make_l10nflist): Remove domainbinding argument.
2139         * intl/loadmsgcat.c (_nl_init_domain_conv): New function, extracted
2140          from _nl_load_domain.  Append //TRANSLIT also when using libiconv.
2141         (_nl_free_domain_conv): New function, extracted from _nl_unload_domain.
2142         (_nl_load_domain): Add domainbinding argument.  Call
2143         _nl_init_domain_conv.
2144         (_nl_unload_domain): Call _nl_free_domain_conv.
2145         * intl/Makefile (distribute): Add tst-codeset.sh, tstcodeset.po.
2146         (test-srcs): Add tst-codeset.
2147         (tests): Depend on tst-codeset.out.
2148         (tst-codeset.out): New rule.
2149         (CFLAGS-tst-codeset.c): New variable.
2150         * intl/tst-codeset.sh: New file.
2151         * intl/tstcodeset.po: New file.
2152         * intl/tst-codeset.c: New file.
2153         * locale/findlocale.c (_nl_find_locale): Update _nl_make_l10nflist
2154         calls.
2156 2001-04-07  Roland McGrath  <roland@frob.com>
2158         * mach/msgserver.c (__mach_msg_server_timeout): Add an assert.
2160 2001-03-31  Roland McGrath  <roland@frob.com>
2162         * sysdeps/mach/hurd/fork.c: Skip NEWPROC just like NEWTASK when
2163         copying send rights into child.  When we hit our name for our proc
2164         port, just copy NEWPROC directly instead of repeating proc_task2proc
2165         to install the child's port.
2167 2001-04-08  Roland McGrath  <roland@frob.com>
2169         * Makeconfig ($(common-objpfx)soversions.i): Grok entries with DEFAULT
2170         in second column, to provide default values for third column.
2171         * shlib-versions: Add comments about using DEFAULT in second column.
2172         (s390x-.*-linux.*): Replace individual entries with a DEFAULT entry.
2173         (cris-.*-linux.*): Likewise.
2175 2001-04-09  Ulrich Drepper  <drepper@redhat.com>
2177         * Makefile (distribute): Add scripts/documented.sh.
2178         * scripts/documented.sh: New file.
2180 2001-04-08  Hans-Peter Nilsson  <hp@axis.com>
2182         * sysdeps/unix/sysv/linux/cris/Dist: New file.
2183         * sysdeps/unix/sysv/linux/cris/Makefile: New file.
2184         * sysdeps/unix/sysv/linux/cris/_G_config.h: New file.
2185         * sysdeps/unix/sysv/linux/cris/bits/fcntl.h: New file.
2186         * sysdeps/unix/sysv/linux/cris/bits/mman.h: New file.
2187         * sysdeps/unix/sysv/linux/cris/bits/resource.h: New file.
2188         * sysdeps/unix/sysv/linux/cris/brk.c: New file.
2189         * sysdeps/unix/sysv/linux/cris/chown.c: New file.
2190         * sysdeps/unix/sysv/linux/cris/clone.S: New file.
2191         * sysdeps/unix/sysv/linux/cris/fchown.c: New file.
2192         * sysdeps/unix/sysv/linux/cris/fcntl.c: New file.
2193         * sysdeps/unix/sysv/linux/cris/fxstat.c: New file.
2194         * sysdeps/unix/sysv/linux/cris/getegid.c: New file.
2195         * sysdeps/unix/sysv/linux/cris/geteuid.c: New file.
2196         * sysdeps/unix/sysv/linux/cris/getgid.c: New file.
2197         * sysdeps/unix/sysv/linux/cris/getgroups.c: New file.
2198         * sysdeps/unix/sysv/linux/cris/getresgid.c: New file.
2199         * sysdeps/unix/sysv/linux/cris/getresuid.c: New file.
2200         * sysdeps/unix/sysv/linux/cris/getrlimit.c: New file.
2201         * sysdeps/unix/sysv/linux/cris/getrlimit64.c: New file.
2202         * sysdeps/unix/sysv/linux/cris/getuid.c: New file.
2203         * sysdeps/unix/sysv/linux/cris/lchown.c: New file.
2204         * sysdeps/unix/sysv/linux/cris/lockf64.c: New file.
2205         * sysdeps/unix/sysv/linux/cris/lxstat.c: New file.
2206         * sysdeps/unix/sysv/linux/cris/mmap.S: New file.
2207         * sysdeps/unix/sysv/linux/cris/mmap64.S: New file.
2208         * sysdeps/unix/sysv/linux/cris/msgctl.c: New file.
2209         * sysdeps/unix/sysv/linux/cris/profil-counter.h: New file.
2210         * sysdeps/unix/sysv/linux/cris/register-dump.h: New file.
2211         * sysdeps/unix/sysv/linux/cris/semctl.c: New file.
2212         * sysdeps/unix/sysv/linux/cris/setegid.c: New file.
2213         * sysdeps/unix/sysv/linux/cris/seteuid.c: New file.
2214         * sysdeps/unix/sysv/linux/cris/setfsgid.c: New file.
2215         * sysdeps/unix/sysv/linux/cris/setfsuid.c: New file.
2216         * sysdeps/unix/sysv/linux/cris/setgid.c: New file.
2217         * sysdeps/unix/sysv/linux/cris/setgroups.c: New file.
2218         * sysdeps/unix/sysv/linux/cris/setregid.c: New file.
2219         * sysdeps/unix/sysv/linux/cris/setresgid.c: New file.
2220         * sysdeps/unix/sysv/linux/cris/setresuid.c: New file.
2221         * sysdeps/unix/sysv/linux/cris/setreuid.c: New file.
2222         * sysdeps/unix/sysv/linux/cris/setrlimit.c: New file.
2223         * sysdeps/unix/sysv/linux/cris/setuid.c: New file.
2224         * sysdeps/unix/sysv/linux/cris/shmctl.c: New file.
2225         * sysdeps/unix/sysv/linux/cris/socket.S: New file.
2226         * sysdeps/unix/sysv/linux/cris/sys/ucontext.h: New file.
2227         * sysdeps/unix/sysv/linux/cris/syscall.S: New file.
2228         * sysdeps/unix/sysv/linux/cris/sysdep.S: New file.
2229         * sysdeps/unix/sysv/linux/cris/sysdep.h: New file.
2230         * sysdeps/unix/sysv/linux/cris/vfork.S: New file.
2231         * sysdeps/unix/sysv/linux/cris/xstat.c: New file.
2233 2001-04-08  Hans-Peter Nilsson  <hp@axis.com>
2235         * sysdeps/cris/Dist: New file.
2236         * sysdeps/cris/Implies: New file.
2237         * sysdeps/cris/Makefile: New file.
2238         * sysdeps/cris/__longjmp.S: New file.
2239         * sysdeps/cris/_mcount.S: New file.
2240         * sysdeps/cris/bits/endian.h: New file.
2241         * sysdeps/cris/bits/setjmp.h: New file.
2242         * sysdeps/cris/bits/string.h: New file.
2243         * sysdeps/cris/dl-machine.h: New file.
2244         * sysdeps/cris/elf/start.S: New file.
2245         * sysdeps/cris/machine-gmon.h: New file.
2246         * sysdeps/cris/memcopy.h: New file.
2247         * sysdeps/cris/memusage.h: New file.
2248         * sysdeps/cris/setjmp.S: New file.
2249         * sysdeps/cris/sysdep.h: New file.
2250         * sysdeps/cris/wordcopy.c: New file.
2252 2001-04-08  Hans-Peter Nilsson  <hp@axis.com>
2254         * elf/elf.h: Add new relocations for CRIS.
2256 2001-04-08  Hans-Peter Nilsson  <hp@axis.com>
2258         * shlib-versions: Add cases for Linux on CRIS.
2260 2001-04-08  Hans-Peter Nilsson  <hp@axis.com>
2262         * configure.in (ASM_LINE_SEP tests): Handle CRIS assembly, with
2263         ';' for comments and '@' for line separator.
2265 2001-04-08  Hans-Peter Nilsson  <hp@axis.com>
2267         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Fix
2268         typo; s/==/=/ for assignment.
2270 2001-04-08  Hans-Peter Nilsson  <hp@axis.com>
2272         * malloc/Makefile: Correct comment; mtrace is Perl, not AWK.
2274 2001-04-08  Hans-Peter Nilsson  <hp@axis.com>
2276         * iconv/gconv_simple.c (internal_ucs4_loop_unaligned): Check for
2277         empty input before checking full output.
2279 2001-04-08  Hans-Peter Nilsson  <hp@axis.com>
2281         * iconv/gconv.c (__gconv): Don't derefer parameter cd before
2282         checking if == -1L.
2284 2001-04-08  Ulrich Drepper  <drepper@redhat.com>
2286         * inet/rexec.c (rexec_af): Avoid calling perror with errno being set.
2288 2001-04-07  Stephen L Moshier  <moshier@mediaone.net>
2290         * sysdeps/ieee754/ldbl-128/e_logl.c: Correct infinity and NaN
2291         return values.
2293 2001-04-07  Ulrich Drepper  <drepper@redhat.com>
2295         * stdlib/tst-setcontext.c (main): Add a test for setcontext.
2297         * sysdeps/unix/sysv/linux/i386/getcontext.S: New file.
2298         * sysdeps/unix/sysv/linux/i386/setcontext.S: New file.
2299         * sysdeps/unix/sysv/linux/i386/makecontext.S: New file.
2300         * sysdeps/unix/sysv/linux/i386/swapcontext.S: New file.
2301         * sysdeps/unix/sysv/linux/i386/ucontext_i.h: New file.
2302         * sysdeps/unix/sysv/linux/i386/Dist: Add ucontext_i.h.
2304 2001-04-07  Andreas Jaeger  <aj@suse.de>
2306         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Use sincos
2307         instead of separate sin and cos.
2308         (__ieee754_j1l): Likewise.
2310 2001-04-06  Ulrich Drepper  <drepper@redhat.com>
2312         * sysdeps/ia64/abort-instr.h: New file.  Code by David Mosberger.
2314         * sysdeps/ia64/atomicity.h: New file.  Copied from libstdc++.
2316         * sysdeps/i386/i486/atomicity.h: Clean up the asms.
2318         * sysdeps/generic/e_scalb.c: Don't use FE_INVALID unless it's
2319         available.
2320         * sysdeps/generic/e_scalbf.c: Likewise.
2321         * sysdeps/generic/e_scalbl.c: Likewise.
2322         Patch by Mark Hatle <fray@mvista.com>.
2324 2001-04-05  David S. Miller  <davem@redhat.com>
2326         * sysdeps/sparc/abort-instr.h: New file.
2328 2001-04-05  Matt Wilson  <msw@redhat.com>
2330         * sysdeps/unix/sysv/linux/alpha/getsysstats.c (GET_NPROCS_PARSER):
2331         added code to parse new 2.4 format.
2332         (GET_NPROCS_CONF_PARSER): Likewise.
2334 2001-04-05  David S. Miller  <davem@redhat.com>
2336         * scripts/config.sub: Recognize sparcv9b like sparcv9.
2337         * configure.in: Add sparcv9b.
2338         * sysdeps/sparc/sparc32/sparcv9b/Implies: New file
2339         * sysdeps/sparc/sparc32/sparcv9b/memcpy.S: New file
2340         * sysdeps/sparc/sparc64/sparcv9b/memcpy.S: New file
2342 2001-04-06  David Mosberger  <davidm@hpl.hp.com>
2344         * stdlib/tst-setcontext.c: Move st2[] to global scope.
2345         (f2): Verify that stack pointer is inside st2[].
2347         * sysdeps/unix/sysv/linux/ia64/getcontext.S: It helps to save r12.
2348         * sysdeps/unix/sysv/linux/ia64/setcontext.S: It helps to restore r12.
2350 2001-04-06  Ulrich Drepper  <drepper@redhat.com>
2352         * timezone/antarctica: Update from tzdata2001b.
2353         * timezone/asia: Likewise.
2354         * timezone/australasia: Likewise.
2355         * timezone/europe: Likewise.
2356         * timezone/northamerica: Likewise.
2358         * iconv/iconv_open.c: Move strip and upstr definitions...
2359         * iconv/gconv_charset.h: ...here.  New file.
2360         * iconv/gconv_db.c (once): Move to file level.
2361         (do_lookup_alias): Split out from __gconv_find_transform.
2362         (__gconv_find_transform): Call do_lookup_alias.
2363         (__gconv_loopup_alias): New function.
2364         * locale/langinfo.h: Define _NL_*_CODESET values for all categories
2365         but LC_CTYPE.
2366         * locale/categories.def: Add entries for new _NL_*_CODESET values.
2367         * locale/C-ctype.c: Use _nl_C_codeset to initialize CODESET entry.
2368         * locale/C-address.c: Initialize _NL_*_CODESET element.
2369         * locale/C-collate.c: Likewise.
2370         * locale/C-identification.c: Likewise.
2371         * locale/C-measurement.c: Likewise.
2372         * locale/C-messages.c: Likewise.
2373         * locale/C-monetary.c: Likewise.
2374         * locale/C-name.c: Likewise.
2375         * locale/C-numeric.c: Likewise.
2376         * locale/C-paper.c: Likewise.
2377         * locale/C-telephone.c: Likewise.
2378         * locale/C-time.c: Likewise.
2379         * locale/localeinfo.h: Declare _nl_C_codeset.
2380         * locale/C_name.c: Define _nl_C_codeset.
2381         * locale/findlocale.c: Before accepting locale check that the used
2382         charset does not conflict with what the locale name said.
2383         * locale/programs/ld-address.c: Emit codeset information.
2384         * locale/programs/ld-collate.c: Likewise.
2385         * locale/programs/ld-identification.c: Likewise.
2386         * locale/programs/ld-measurement.c: Likewise.
2387         * locale/programs/ld-messages.c: Likewise.
2388         * locale/programs/ld-monetary.c: Likewise.
2389         * locale/programs/ld-name.c: Likewise.
2390         * locale/programs/ld-numeric.c: Likewise.
2391         * locale/programs/ld-paper.c: Likewise.
2392         * locale/programs/ld-telephone.c: Likewise.
2393         * locale/programs/ld-time.c: Likewise.
2395         * localedata/tests-mbwc/tst_funcs.h (TST_HEAD_LOCALE): It is an error
2396         if the locale data couldn't be found.
2398         * string/Makefile: Define tst-strxfrm-ENV.
2400         * ysdeps/unix/sysv/linux/ia64/getcontext.S: Fix comment.
2402 2001-04-06  Andreas Jaeger  <aj@suse.de>
2404         * include/sys/profil.h: New file.
2406         * dlfcn/modatexit.c: Add prototypes to silence GCC.
2407         * dlfcn/modcxaatexit.c: Likewise.
2408         * elf/globalmod1.c: Likewise.
2410 2001-04-05  David S. Miller  <davem@redhat.com>
2412         * elf/elf.h (HWCAP_SPARC_ULTRA3): Define it.
2413         * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h: Add it to
2414         capability flags table and HWCAP_IMPORTANT, increase
2415         _DL_HWCAP_COUNT to 6.
2416         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h: Likewise.
2418 2001-04-04  David Mosberger  <davidm@hpl.hp.com>
2420         * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext): Fix
2421         initialization of stack_end (bug reported by Zheng Gengbin
2422         <gzheng@students.uiuc.edu>).
2424 2001-04-05  Ulrich Drepper  <drepper@redhat.com>
2426         * sysdeps/i386/fpu/libm-test-ulps: Relax errors for asinl.
2428 2001-04-05  Martin Schwidefsky  <schwidefsky@de.ibm.com>
2430         * sysdeps/unix/sysv/linux/s390/s390-64/bits/socket.h: New file.
2432 2001-04-05  Ulrich Drepper  <drepper@redhat.com>
2434         * sysdeps/ieee754/ldbl-96/e_asinl.c: Correct handling of +-Inf.
2435         * sysdeps/i386/fpu/e_asinl.S: Removed.  Too inaccurate.
2437         * login/tst-utmp.c: Make file usable again in tst-utmpx.c.
2439 2001-04-04  Ulrich Drepper  <drepper@redhat.com>
2441         * sysdeps/unix/sysv/aix/dl-libc.c: Don't use the ELF version,
2442         define simple replacements here.  Patch by Michael Keezer.
2444         * sysdeps/ieee754/ldbl-128/e_logl.c: New file.
2445         * sysdeps/ieee754/ldbl-96/e_asinl.c: New file.
2446         Contributed by Stephen L Moshier <moshier@mediaone.net>.
2448         * posix/fnmatch_loop.c: Undefine NEW_PATTERN when it is not used
2449         anymore.
2451 2001-04-01  Andreas Jaeger  <aj@suse.de>
2453         * sysdeps/generic/s_nextafter.c (NO_LONG_DOUBLE): Add nexttowardl
2454         alias.
2456         * sysdeps/generic/s_fma.c (NO_LONG_DOUBLE): Add fmal alias.
2458 2001-04-04  Ulrich Drepper  <drepper@redhat.com>
2460         * sysdeps/unix/sysv/linux/s390/s390-64/Dist: Add ucontext_i.h.
2461         * sysdeps/unix/sysv/linux/s390/s390-32/Dist: Likewise.
2463 2001-04-04  Martin Schwidefsky  <schwidefsky@de.ibm.com>
2465         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: New file.
2466         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: New file.
2467         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: New file.
2468         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.h: New file.
2469         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: New file.
2470         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: New file.
2471         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: New file.
2472         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.h: New file.
2473         * sysdeps/unix/sysv/linux/s390/swapcontext.c: New file.
2475 2001-04-04  Andreas Jaeger  <aj@suse.de>
2477         * sysdeps/powerpc/dl-machine.h (ELF_MACHINE_NO_REL): Move to right
2478         place.
2480 2001-04-04  Ulrich Drepper  <drepper@redhat.com>
2482         * sunrpc/rpc_scan.c (symbols): Add entry for HYPER.
2483         * sunrpc/rpc_scan.h (enum tok_kind): Add TOK_HYPER.
2484         * sunrpc/rpc_parse.c (get_type): Handle TOK_HYPER.
2485         (unsigned_dec): Likewise.
2486         Patch by atai@jezebel.dreamhost.com.
2488         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r): Pass
2489         pointer to int as last parameter of yp_match.
2490         Patch by kanazawa@flab.fujitsu.co.jp.
2492 2001-04-03  Ulrich Drepper  <drepper@redhat.com>
2494         * resolv/netdb.h (gai_strerror): Make return value const.
2495         * sysdeps/generic/gai_strerror.c (gai_strerror): Likewise.
2496         * sysdeps/posix/gai_strerror.c (gai_strerror): Likewise.
2497         Add strings for new error values.
2499 2001-03-29  Michael Keezer  <mkeezer@redhat.com>
2501         * posix/tst-gnuglob.c: Added ifdef _DIRENT_HAVE_D_TYPE.
2502         * login/tst-utmp.c: Handle case where ut_tv is not available but
2503         ut_time is.
2504         * sysdeps/unix/sysv/aix/utmpx.h: New file.
2505         * sysdeps/unix/sysv/aix/bits/utmpx.h: Added
2506         _HAVE_UT_TYPE/PID/ID/TV/HOST defines.
2507         * sysdeps/unix/sysv/aix/libc-start.c: Removed temp code and made stub.
2508         * sysdeps/unix/sysv/aix/gettimeofday.c: New file added routines
2509         to access RTCU timer reg.
2510         * sysdeps/unix/sysv/aix/Makefile: Remove /usr/lib/crt0.o
2511         added dl-libc, dl-open,dl-sym, dl-close to misc.
2512         * sysdeps/unix/sysv/aix/start.c: New file.  Start code.
2513         * sysdeps/unix/sysv/aix/dlldr.h: New file.  AIX __loadx defines.
2514         * sysdeps/unix/sysv/aix/dl-close.c: New file.  AIX dl-close.
2515         * sysdeps/unix/sysv/aix/dl-open.c: New file.  AIX dl-open.
2516         * sysdeps/unix/sysv/aix/dl-sym.c: New file.  AIX dl-sym.
2517         * sysdeps/unix/sysv/aix/dl-libc.c: New file.  libc_dl-xxx support.
2518         * sysdeps/generic/strtoll.c: Added SHLIB_COMPAT(libc,GLIBC_2_0,
2519         GLIBC_2_2).
2520         * sysdeps/generic/strtoull.c: Likewise.
2521         * sysdeps/powerpc/ppc-mcount.S: Added nop after bl instruction.
2522         * sysdeps/unix/sysv/aix/powerpc/memset.c: New file to include
2523         sysdeps/generic/memset.c.
2524         * sysdeps/unix/sysv/aix/getpeername.c: Define __getpeername.
2526 2001-04-03  Ulrich Drepper  <drepper@redhat.com>
2528         * iconv/Makefile (CFLAGS-charmap.c): Add -DNEED_NULL_POINTER.
2529         * locale/programs/charmap.c: Define null_pointer if
2530         NEED_NULL_POINTER is defined.
2532         * misc/dirname.c (dirname): Handle multiple slashes correctly.
2534 2001-04-03  Martin Schwidefsky  <schwidefsky@de.ibm.com>
2536         * sysdeps/s390/s390-64/initfini.c: Fix __gmon_start__ GOT access.
2538 2001-04-03  Martin Schwidefsky  <schwidefsky@de.ibm.com>
2540         * sysdeps/s390/s390-32/bcopy.S: Optimize for speed.
2541         * sysdeps/s390/s390-64/bcopy.S: Likewise.
2542         * sysdeps/s390/s390-32/mempcy.S: Likewise.
2543         * sysdeps/s390/s390-64/memcpy.S: Likewise.
2545 2001-04-02  Bruno Haible  <haible@clisp.cons.org>
2547         * manual/message.texi (Advanced gettext functions): More specific
2548         syntax in the plural formula examples.
2550 2001-04-02  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
2552         * sysdeps/powerpc/atomicity.h: Silence warnings.
2553         * sysdeps/powerpc/dl-machine.h: Likewise.
2554         * sysdeps/powerpc/register-dump.h: Likewise.
2555         * sysdeps/powerpc/fpu/s_lrint.c: Likewise.
2557 2001-04-02  Andreas Jaeger  <aj@suse.de>
2559         * misc/tst-dirname.c (main): Add more tests, derived from a bug
2560         report by Michael Kerrisk <mtk16@ext.canterbury.ac.nz>.
2562 2001-04-01  Andreas Jaeger  <aj@suse.de>
2564         * debug/xtrace.sh (pcprofileso): Use SLIBDIR since libpcprofile.so
2565         is installed there.
2566         * malloc/memusage.sh (memusageso): Likewise for libmemusage.so.
2568 2001-04-01  H.J. Lu  <hjl@gnu.org>
2570         * posix/annexc.c (macrofile): Renamed from TMPFILE and set to
2571         tmpnam (NULL).
2572         * stdlib/isomac.c (macrofile): Likewise.
2574 2001-03-30  Thorsten Kukuk  <kukuk@suse.de>
2576         * inet/rcmd.c: Allow AF_UNSPEC as parameter.
2577         * nis/ypclnt.c (yp_all): Print error message only at last try,
2578         check for protocoll error only if we don't have a network error.
2580 2001-04-02  Andreas Schwab  <schwab@suse.de>
2582         * resolv/res_data.c (res_isourserver): Fix cast.
2584 2001-04-02  Andreas Jaeger  <aj@suse.de>
2586         * sysdeps/unix/sysv/linux/hppa/umount.c: Add prototype for
2587         __umount2.
2589         * sysdeps/i386/dl-machine.h (RTLD_START): Don't use multi-line
2590         strings.
2591         (ELF_MACHINE_RUNTIME_TRAMPOLINE): Likewise.
2593         * sysdeps/ieee754/dbl-64/uroot.h: Add missing braces arount
2594         initializers.
2595         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Likewise.
2597         * elf/rtld.c (print_statistics)[!HP_TIMING_NONAVAIL]: Avoid
2598         warning about unused variable.
2600         * string/string.h (strndupa): Add cast for C++ conformance.
2601         (strdupa): Likewise.
2602         Fixes PR libc/2173, reported by tbrowder@home.com.
2604 2001-03-30  Roland McGrath  <roland@frob.com>
2606         * sysdeps/mach/hurd/Makefile ($(link-rpcuserlibs)): Don't append
2607         options after $(build-module), which is no longer a single command.
2608         (LDFLAGS-link-rpcuserlibs): New variable to hold those options.
2609         (LDFLAGS-libmachuser-link.so, LDFLAGS-libhurduser-link.so): New
2610         variables using it.  Reported by Mark Kettenis <kettenis@gnu.org>.
2612 2001-03-11  Roland McGrath  <roland@frob.com>
2614         * elf/rtld.c (dl_main): Add cast to quiet warning.
2615         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
2616         * iconv/gconv_conf.c (__gconv_get_path): Likewise.
2617         (__gconv_read_conf): Likewise.
2618         * iconv/gconv_db.c (gen_steps): Likewise.
2619         (__gconv_find_transform): Likewise.
2620         * locale/programs/charmap-dir.c (fopen_uncompressed): Likewise.
2621         (fopen_uncompressed): Use const in second argument's type.
2623 2001-03-11  Roland McGrath  <roland@frob.com>
2625         * sysdeps/mach/hurd/dl-sysdep.c (__writev): New function.
2627         * mach/mach_error.h: Fix ancient #endif syntax.
2628         * hurd/hurdmalloc.c: Likewise.
2630         * sysdeps/generic/atomicity.h (exchange_and_add, atomic_add,
2631         compare_and_swap): Add volatile qualifier to first arg, to bring
2632         these prototypes in line with all the other implementations.
2633         Add a #warning to remind the builder that these are not atomic.
2635 2001-03-04  Roland McGrath  <roland@frob.com>
2637         * hurd/vpprintf.c (vpprintf) [USE_IN_LIBIO]: Use innermore first
2638         member of TEMP_F so its type is _IO_FILE * as expected.
2640         * hurd/fopenport.c (seekio): Conditionalize type of POS argument
2641         on [USE_IN_LIBIO].  Check the value for overflow, since for libio
2642         it might exceed off_t's range.
2644 2001-02-25  Roland McGrath  <roland@frob.com>
2646         * sysdeps/mach/hurd/sysd-stdio.c (__stdio_reopen): Use prototype.
2647         * sysdeps/unix/bsd/getpt.c (__posix_openpt): Likewise.
2649         * sysdeps/mach/hurd/i386/intr-msg.h (SYSCALL_EXAMINE): Make this a
2650         macro instead of an inline function,
2651         (MSG_EXAMINE): Likewise.
2653         * hurd/hurd/ioctl.h (_HURD_HANDLE_IOCTLS_1): Remove extraneous ##.
2655         * hurd/get-host.c: Include <string.h> for decls of built-ins.
2656         * hurd/hurdchdir.c: Likewise.
2657         * sysdeps/mach/hurd/i386/sigreturn.c: Likweise.
2658         * sysdeps/mach/hurd/opendir.c: Likewise.
2660         * mach/mach_init.c: Include <unistd.h> for _exit decl.
2662         * mach/errsystems.awk: Give output file a trailing newline.
2664         * mach/Machrules (MIG): Prepend CC='${CC}' to the mig command, so that
2665         the script will use our compiler for the cpp stage.
2667         With --enable-all-warnings we get a whole bunch of warnings,
2668         and these are just a few fixes; there are more needed to silence it.
2669         * mach/mach/mig_support.h (__mig_strncpy, mig_strncpy): Add extern
2670         decls before extern inline defns to quiet gcc warning.
2671         * hurd/hurd/threadvar.h (__hurd_threadvar_location_from_sp): Likewise.
2672         * sysdeps/mach/i386/machine-sp.h (__thread_stack_pointer): Likewise.
2674 2001-03-31  Andreas Jaeger  <aj@suse.de>
2676         * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_RAWHDLC): Added.
2677         (ARPHRD_HDLC): Define as alias for ARPHRD_CISCO.
2678         (ARPHRD_CISCO): New.
2679         Changes from Linux 2.4.3.
2681 2001-03-30  Isamu Hasegawa  <isamu@yamato.ibm.com>
2683         * posix/regex.c: Avoid an access violation if malloc fails.
2685 2001-03-30  Andreas Jaeger  <aj@suse.de>
2687         * sysdeps/alpha/ldiv.S (ldiv): Add alias for imaxdiv.
2689 2001-03-29  Ulrich Drepper  <drepper@redhat.com>
2691         * posix/regex.c: Remove unnecessary ifs.
2693         * math/bits/mathcalls.h: Remove infnan declaration.
2695 2001-03-29  H.J. Lu  <hjl@gnu.org>
2697         * include/endian.h: Define BIG_ENDI, LITTLE_ENDI, HIGH_HALF,
2698         and LOW_HALF only if _LIBC is defined and _ISOMAC is not defined.
2699         * stdlib/isomac.c (fmt): Define _LIBC and _ISOMAC.
2701 2001-03-29  Isamu Hasegawa  <isamu@yamato.ibm.com>
2703         * posix/regex.c: Fix typo and add a sentinel.
2705 2001-03-29  Ulrich Drepper  <drepper@redhat.com>
2707         * sysdeps/unix/sysv/linux/shm_open.c: Open new file always with
2708         O_NOFOLLOW.  Suggested by Christoph Roland.
2710 2001-03-27  Martin Schwidefsky  <schwidefsky@de.ibm.com>
2712         * sysdeps/s390/bits/string.h: New unified 31/64 bit string.h.
2713         * sysdeps/s390/s390-32/bits/string.h: Remove.
2714         * sysdeps/s390/s390-64/bits/string.h: Remove.
2715         * sysdeps/s390/s390-32/strcmp.S: New file.
2716         * sysdeps/s390/s390-64/strcmp.S: New file.
2718 2001-03-27  Martin Schwidefsky  <schwidefsky@de.ibm.com>
2720         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Fix typo.
2721         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
2723 2001-03-27  Ulrich Drepper  <drepper@redhat.com>
2725         * version.h (VERSION): Bump to 2.2.3.
2727         * stdlib/isomac.c (fmt): Don't define _LIBC.
2728         * include/endian.h: Define BIG_ENDI, LITTLE_ENDI, HIGH_HALF, and
2729         LOW_HALF only if _LIBC is defined.
2731         * sysdeps/i386/fpu/libm-test-ulps: Slight adjustment of yn() error.
2733         * posix/fnmatch_loop.c (FCT): Handle !() after * special like @()
2734         and +().
2735         * posix/tst-fnmatch.input: Add test cases for matching empty strings.
2737         * sysdeps/ieee754/dbl-64/endian.h: Removed.  Move definitions...
2738         * include/endian.h: ...to here.
2740 2001-03-27  kaz Kojima  <kkojima@rr.iij4u.or.jp>
2742         * sysdeps/sh/sys/ucontext.h (NFREG): Rename to NFPREG.
2743         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (NFREG): Likewise.
2745 2001-03-27  Martin Schwidefsky  <schwidefsky@de.ibm.com>
2747         * sysdeps/unix/sysv/linux/s390/ldconfig.h: Fix typo.
2749 2001-03-26  Ulrich Drepper  <drepper@redhat.com>
2751         * sysdeps/ia64/fpu/Dist: Add new files to distribute.
2752         * sysdeps/unix/sysv/linux/s390/s390-64/Dist: Likewise.
2753         * sysdeps/unix/sysv/linux/ia64/Dist: Likewise.
2755         * gmon/Makefile (headers): Add sys/profil.h.
2757 2001-03-18  Andreas Jaeger  <aj@suse.de>
2759         * manual/install.texi (Tools for Compilation): Advise to use GCC
2760         2.95.3.
2761         (Supported Configurations): Mention s390x.
2763 2001-03-26  Ben Collins  <bcollins@debian.org>
2765         * sysdeps/unix/sysv/linux/mips/bits/mman.h: Add MAP_* and MADV_*
2766         defines to match other architectures.
2768 2001-03-26  Ulrich Drepper  <drepper@redhat.com>
2770         * libio/Makefile (tests): Add tst-ext.
2771         * libio/tst-ext.c: New file.
2773         * libio/iosetvbuf.c (_IO_setvbuf): Clear line buffer flag for _IONBF.
2775 2001-03-25  Ulrich Drepper  <drepper@redhat.com>
2777         Add changes which were in this form in the original patch by
2778         Eric Norum <eric.norum@usask.ca>.
2779         * include/rpc/rpc.h: Remove svc_fdset, rpc_createerr, svc_pollfd, and
2780         svc_max_pollfd.
2781         * sunrpc/rpc/rpc.h: Declare __rpc_thread_svc_fdset,
2782         __rpc_thread_createerr, __rpc_thread_svc_pollfd, and
2783         __rpc_thread_svc_max_pollfd.
2784         Define svc_fdset, get_rpc_createerr, svc_pollfd, and
2785         svc_max_pollfd.
2786         * sunrpc/rpc_thread.c: Handle first thread special, it uses the
2787         global variables.
2788         Define __rpc_thread_svc_fdset, __rpc_thread_createerr,
2789         __rpc_thread_svc_pollfd, and __rpc_thread_svc_max_pollfd.
2790         * sunrpc/Versions [libc] (GLIBC_2.2.3): Export  __rpc_thread_svc_fdset,
2791         __rpc_thread_createerr, __rpc_thread_svc_pollfd, and
2792         __rpc_thread_svc_max_pollfd.
2793         * sunrpc/clnt_gen.c: Replace use of rpc_createerr by call to
2794         get_rpc_createerr.
2795         * sunrpc/clnt_perr.c: Likewise.
2796         * sunrpc/clnt_simp.c: Likewise.
2797         * sunrpc/clnt_tcp.c: Likewise.
2798         * sunrpc/clnt_udp.c: Likewise.
2799         * sunrpc/clnt_unix.c: Likewise.
2800         * sunrpc/pm_getport.c: Likewise.
2802         * sysdeps/unix/sysv/linux/i386/getgroups.c (__getgroups): getgroups32
2803         syscall checks for negative n so don't test here as well.
2805 2001-03-23  Jes Sorensen  <jes@linuxcare.com>
2807         * sysdeps/unix/sysv/linux/ia64/sysdep.h (ENTRY): Moved to ...
2808         * sysdeps/ia64/sysdep.h: ...here.
2810         * sysdeps/ia64/sysdep.h (LOCAL_ENTRY): Define.
2811         * sysdeps/ia64/sysdep.h (LOCAL_LEAF): Define.
2813         * sysdeps/ia64/_mcount.S (_mcount_ret_helper): Use LOCAL_LEAF() to
2814         declare instead of LEAF().  Suggestion from David Mosberger.
2816 2001-03-21  David Mosberger  <davidm@hpl.hp.com>
2818         * sysdeps/unix/sysv/linux/ia64/sysdep.h (CALL_MCOUNT): Add unwind
2819         directives.
2820         (PSEUDO): Drop .psr and .lsb directives.
2822         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Ditto.  Add unwind
2823         directives.
2824         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Ditto.
2826         * sysdeps/ia64/elf/start.S: Misc cleanup: remove .psr and .lsb
2827         directives etc.
2828         * sysdeps/unix/sysv/linux/ia64/brk.S: Ditto.
2829         * sysdeps/unix/sysv/linux/ia64/__longjmp.S: Ditto.
2830         * sysdeps/ia64/_mcount.S: Remove .psr and .lsb directives (no
2831         longer needed).  Add unwind directives.
2833         * sysdeps/ia64/sysdep.h: Define ASM_UNW_PRLG_RP, ASM_UNW_PRLG_PFS,
2834         ASM_UNW_PRLG_PSP, ASM_UNW_PRLG_PR, and ASM_UNW_PRLG_GRSAVE.
2836 2001-03-21  Paul Eggert  <eggert@twinsun.com>
2838         * posix/regex.h (RE_INVALID_INTERVAL_ORD): New macro.
2839         (RE_SYNTAX_POSIX_EGREP): Use it.
2840         * posix/regex.c (regex_compile): Implement it.
2842 2001-03-21  Paul Eggert  <eggert@twinsun.com>
2844         * posix/regex.c (GET_UNSIGNED_NUMBER): Check for overflow.
2845         Rewrite to avoid duplicate code.
2847 2001-03-21  H.J. Lu  <hjl@gnu.org>
2849         * elf/Makefile (tests): Don't depend on $(objpfx)tst-pathopt.out
2850         for cross-compiling.
2851         ($(objpfx)tst-pathopt.out): Undo the last change.
2853 2001-03-24  Mark Kettenis  <kettenis@gnu.org>
2855         * sysdeps/mach/hurd/i386/bits/sigcontext.h (sc_sp, sc_fp, sc_pc,
2856         sc_ps): Define as aliases for sc_uesp, sc_ebl, sc_eip and sc_efl.
2858         * sysdeps/mach/hurd/i386/init-first.c: Include <assert.h>.
2859         (_dl_argv): Declare.
2860         (init) [SHARED]: Readjust _dl_argv if we switched to a new stack.
2862 2001-03-22  Andreas Jaeger  <aj@suse.de>
2864         * iconvdata/Makefile (generated): Add iconv-test.xxx.
2866         * posix/Makefile (generated): Add bug-regex2.mtrace and
2867         bug-regex2-mem.
2869 2001-03-21  Ulrich Drepper  <drepper@redhat.com>
2871         * csu/version.c (__gnu_get_libc_release): Add prototype.
2872         (__gnu_get_libc_version): Likewise.
2873         * include/gnu/libc-version.h: Remove prototypes for not exported
2874         functions.
2876 2001-03-21  Jes Sorensen  <jes@linuxcare.com>
2878         * sysdeps/unix/sysv/linux/ia64/makecontext.c: Include libintl.h
2879         for internationalized printfs to work.
2881 2001-03-09  Bruno Haible  <haible@clisp.cons.org>
2883         * intl/dcigettext.c (transmem_block_t): Change to unsigned char, to
2884         avoid compiler warning.
2885         (_nl_find_msg): Add casts to avoid compiler warnings.
2887 2001-03-21  Ulrich Drepper  <drepper@redhat.com>
2889         * gmon/Makefile (routines): Add sprofil.
2890         (tests): Add tst-sprofil.
2891         (noprof): Add sprofil.
2892         * gmon/Versions [libc] (GLIBC_2.2.3): Add sprofil.
2894 2001-03-20  David Mosberger  <davidm@hpl.hp.com>
2896         * sysdeps/generic/sprofil.c: New file.
2897         * sysdeps/posix/sprofil.c: New file.
2898         * gmon/tst-sprofil.c: New file.
2899         * gmon/sys/profil.h: New file.
2901 2001-03-20  Andreas Schwab  <schwab@suse.de>
2903         * include/unistd.h: Adjust prototype of __gethostname.
2905 2001-03-20  Jakub Jelinek  <jakub@redhat.com>
2907         * sysdeps/sparc/stackinfo.h: New file.
2909 2001-03-21  Andreas Jaeger  <aj@suse.de>
2911         * elf/global.c (main): Use proper prototype.
2913 2001-03-20  Ulrich Drepper  <drepper@redhat.com>
2915         * sunrpc/Makefile (routines): Add rpc_thread.
2916         (CPPFLAGS): Add -D_RPC_THREAD_SAFE.
2917         * sunrpc/rpc_thread.c: New file.
2918         * sunrpc/Versions [libc] (GLIBC_2.2.3): Export __rpc_thread_destroy.
2919         * sunrpc/auth_none.c: Don't use global variables.  Access state in
2920         thread-local storage.
2921         * sunrpc/clnt_perr.c: Likewise.
2922         * sunrpc/clnt_raw.c: Likewise.
2923         * sunrpc/clnt_simp.c: Likewise.
2924         * sunrpc/key_call.c: Likewise.
2925         * sunrpc/rpc_common.c: Likewise.
2926         * sunrpc/svc.c: Likewise.
2927         * sunrpc/svc_raw.c: Likewise.
2928         * sunrpc/svc_simple.c: Likewise.
2929         * sunrpc/svcauth_des.c: Likewise.
2930         * hurd/hurd/threadvar.h (enum __hurd_threadvar_index): Add
2931         _HURD_THREADVAR_RPC_VARS.
2932         * sysdeps/generic/bits/libc-tsd.h: Mention _LIBC_TSD_KEY_RPC_VARS.
2933         * include/rpc/rpc.h: Define data structures for internal thread-local
2934         "global" variables.
2935         Based on patches by Eric Norum <eric.norum@usask.ca>.
2937         * elf/dl-load.c: Various little optimizations.
2939         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Return
2940         LINUX_LINK_MAX only if the statfs function is not implemented for
2941         the filesystem.
2943         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Return
2944         LINUX_LINK_MAX only if the fstatfs function is not implemented for
2945         the filesystem.
2947 2001-03-19  Ulrich Drepper  <drepper@redhat.com>
2949         * elf/dl-dst.h (DL_DST_COUNT): Add __builtin_expect.
2951         * elf/dl-load.c (_dl_dst_count): Make DST recognition more robust.
2952         (_dl_dst_substitute): Likewise.
2954 2001-03-17  Bruno Haible  <haible@clisp.cons.org>
2956         * intl/loadmsgcat.c (_nl_load_domain) [!_LIBC]: Use fstat, not fstat64.
2958 2001-03-17  Bruno Haible  <haible@clisp.cons.org>
2960         * intl/gettextP.h (struct expression): Add operators lnot, less_than,
2961         greater_than, less_or_equal, greater_or_equal. Replace args2/args3
2962         union by a 'nargs' counter and an 'args[]' array.
2963         * intl/plural.y: Don't include stdarg.h.
2964         (new_exp): Take an array of arguments instead of varargs.
2965         (new_exp_0, new_exp_1, new_exp_2, new_exp_3): New functions.
2966         ('?' ':'): Make right-associative.
2967         (EQUOP2): New token, replaces '=' and '!'.
2968         (CMPOP2): New token.
2969         (ADDOP2): New token, replaces '+' and '-'.
2970         (MULOP2): New token, replaces '*', '/' and '%'.
2971         ('!'): New token.
2972         (exp): Add rules for CMPOP2 and '!'. Don't call YYABORT.
2973         (start): Call YYABORT here.
2974         (FREE_EXPRESSION): Update.
2975         (yylex): Don't skip "\\n". Recognize comparison and '!' operators.
2976         Update for new token symbols.
2977         * intl/loadmsgcat.c (plvar, plone, germanic_plural,
2978         init_germanic_plural): Update.
2979         * intl/dcigettext.c (_nl_find_msg): Optimize for space.
2980         (plural_eval): Recognize comparison and '!' operators. Optimize for
2981         space.
2983 2001-03-10  Bruno Haible  <haible@clisp.cons.org>
2985         * intl/loadmsgcat.c (_nl_load_domain): locale_charset() doesn't return
2986         NULL any more.
2988 2001-01-05  Bruno Haible  <haible@clisp.cons.org>
2990         * intl/loadmsgcat.c: Include headers needed for alloca().
2991         (freea): New macro.
2992         (_nl_load_domain): Add fallback code for platforms lacking alloca.
2993         * intl/localealias.c: (ADD_BLOCK, FREE_BLOCK): Remove macros.
2994         (freea): New macro.
2995         (read_alias_file): Simplify fallback code for platforms lacking
2996         alloca.
2998 2001-01-07  Bruno Haible  <haible@clisp.cons.org>
3000         * intl/gettextP.h (__gettextdebug): Remove declaration.
3001         (__gettext_free_exp, __gettextparse): Convert prototype to K&R C
3002         syntax.
3003         (gettext_free_exp__, gettextparse__): New non-libc declarations.
3004         * intl/plural.y [!_LIBC]: Define gettextparse__, gettext_free_exp__,
3005         not __gettextparse, __gettext_free_exp.
3006         * intl/loadmsgcat.c [!_LIBC]: Use gettextparse__, not __gettextparse.
3008 2001-02-24  Bruno Haible  <haible@clisp.cons.org>
3010         * intl/dcigettext.c: Update comment about HAVE_LOCALE_NULL.
3012 2001-01-05  Bruno Haible  <haible@clisp.cons.org>
3014         * intl/loadmsgcat.c (_nl_load_domain): Add fallback code for platforms
3015         lacking strtoul, like SunOS4.
3017 2001-01-05  Bruno Haible  <haible@clisp.cons.org>
3019         * intl/l10nflist.c (_nl_normalize_codeset): Use tolower, not _tolower.
3021 2001-01-05  Bruno Haible  <haible@clisp.cons.org>
3023         * intl/bindtextdom.c (set_binding_values): Convert prototype to K&R C
3024         syntax.
3025         * intl/dcigettext.c (transcmp): Convert to K&R C syntax.
3026         * intl/explodename.c (_nl_find_language): Convert to K&R C syntax.
3027         * intl/plural.y (__gettext_free_exp, yylex, yyerror): Convert to K&R C
3028         syntax.
3030 2001-01-07  Bruno Haible  <haible@clisp.cons.org>
3032         * intl/gettextP.h (gettext__, dgettext__, dcgettext__, textdomain__,
3033         bindtextdomain__, bind_textdomain_codeset__): New declarations, from
3034         old libgettext.h.
3035         * intl/bindtextdom.c: Include libgnuintl.h instead of libgettext.h.
3036         * intl/dcgettext.c: Likewise.
3037         * intl/dcigettext.c: Likewise.
3038         * intl/dcngettext.c: Likewise.
3039         * intl/dngettext.c: Likewise.
3040         * intl/finddomain.c: Likewise.
3041         * intl/ngettext.c: Likewise.
3042         * intl/textdomain.c: Likewise.
3043         * intl/dgettext.c: Include libgnuintl.h instead of libgettext.h.
3044         Include gettextP.h.
3045         * intl/gettext.c: Likewise.  Don't include locale.h.
3047 2001-03-17  Bruno Haible  <haible@clisp.cons.org>
3049         * intl/gettextP.h (ZERO): New macro.
3050         (struct binding): Always use ZERO.
3051         * intl/bindtextdom.c (offsetof): Provide fallback for platforms that
3052         lack it, like SunOS4.
3053         (set_binding_values): Use offsetof, not sizeof.
3054         * intl/dcigettext.c (offsetof): Provide fallback for platforms that
3055         lack it, like SunOS4.
3056         (ZERO): Remove macro.
3057         (struct transmem_list): Use ZERO.
3058         (DCIGETTEXT): Use offsetof, not sizeof.
3060 2001-03-17  Bruno Haible  <haible@clisp.cons.org>
3062         * intl/gettextP.h: Include <stddef.h>. Include gettext.h, for
3063         nls_uint32.
3064         * intl/bindtextdom.c: Don't include gettext.h.
3065         * intl/dcgettext.c: Likewise.
3066         * intl/dcigettext.c: Likewise.
3067         * intl/dcngettext.c: Likewise.
3068         * intl/dngettext.c: Likewise.
3069         * intl/finddomain.c: Likewise.
3070         * intl/localealias.c: Likewise.
3071         * intl/ngettext.c: Likewise.
3072         * intl/plural.y: Likewise.
3073         * intl/textdomain.c: Likewise.
3075 2001-03-17  Bruno Haible  <haible@clisp.cons.org>
3077         * intl/gettext.h: Don't include <stdio.h>.
3079 2001-03-17  Bruno Haible  <haible@clisp.cons.org>
3081         * intl/Makefile (CPPFLAGS): Set LOCALEDIR instead of GNULOCALEDIR.
3082         * intl/dcigettext.c (_nl_default_dirname): Initialize with LOCALEDIR.
3084 2001-03-19  Ulrich Drepper  <drepper@redhat.com>
3086         * sysdeps/unix/i386/i686/tempname.c: New file.
3088         * sysdeps/posix/tempname.c (__gen_tempname): If RANDOM_BITS is
3089         defined use this macro to get some bits of randomness instead of
3090         the usual gettimeofday or time calls.
3092 2001-03-16  Paul Eggert  <eggert@twinsun.com>
3094         * sysdeps/posix/tempname.c (uint64_t): Define to uintmax_t if
3095         not defined, and if UINT64_MAX is not defined.
3097 2001-03-19  Ulrich Drepper  <drepper@redhat.com>
3099         * elf/cache.c: Mark and have translated a few more messages.
3101 2001-03-19  Martin Schwidefsky  <schwidefsky@de.ibm.com>
3103         * elf/cache.c: Add case for FLAG_S390_LIB64.
3104         * sysdeps/generic/ldconfig.h: Add define for FLAG_S390_LIB64.
3105         * sysdeps/unix/sysv/linux/s390/ldconfig.h: New file.
3106         * sysdeps/unix/sysv/linux/s390/readelflib.c: New file.
3108 2001-03-19  Ulrich Drepper  <drepper@redhat.com>
3110         * string/Makefile (tests): Add tst-strxfrm.
3111         * string/tst-strxfrm.c: New file.  Based on a test case by Paul Eggert.
3112         * string/Depend: New file.
3114 2001-03-19  Paul Eggert  <eggert@twinsun.com>
3116         * string/strxfrm.c (strxfrm): strxfrm should return 0, not 1,
3117         when given the empty string in nontrivial locales.
3119 2001-03-17  H.J. Lu  <hjl@gnu.org>
3121         * manual/Makefile (install): Use $(INSTALL_DATA) instead of
3122         cp to install `dir'.
3124 2001-03-19  Andreas Schwab  <schwab@suse.de>
3126         * Makerules (build-shlib): Make sure exit codes get checked
3127         properly.
3129 2001-03-18  Ulrich Drepper  <drepper@redhat.com>
3131         * Makerules (build-shlib): Remove unnecessary slashes introduced in
3132         last change.
3134         * configure.in: Test for -Bgroup option of linker.
3135         * config.make.in: Define have-Bgroup.
3137         * conform/data/unistd.h-data: Require gethostname.
3138         * posix/unistd.h: Make gethostname prototype available for
3139         __USE_XOPEN2K.
3141         * crypt/Makefile: When generating DSO link with libc_nonshared.a.
3142         * debug/Makefile: Likewise.
3143         * dlfcn/Makefile: Likewise.
3144         * hesiod/Makefile: Likewise.
3145         * iconvdata/extra-module.mk: Likewise.
3146         * locale/Makefile: Likewise.
3147         * login/Makefile: Likewise.
3148         * math/Makefile: Likewise.
3149         * nis/Makefile: Likewise.
3150         * nss/Makefile: Likewise.
3151         * resolv/Makefile: Likewise.
3152         * rt/Makefile: Likewise.
3154 2001-03-17  Ulrich Drepper  <drepper@redhat.com>
3156         * inet/Makefile (tests): Remove left-over comment.
3158         * posix/unistd.h (gethostname): Change type of second parameter
3159         back to size_t as per upcoming XPG6.
3160         * sysdeps/unix/sysv/aix/gethostname.c: Change type of second
3161         parameter back to size_t as per upcoming XPG6.
3162         * sysdeps/unix/sysv/sysv4/gethostname.c: Likewise.
3163         * sysdeps/unix/sysv/gethostname.c: Likewise.
3164         * sysdeps/mach/hurd/gethostname.c: Likewise.
3165         * sysdeps/generic/gethostname.c: Likewise.
3167 2001-03-16  Ulrich Drepper  <drepper@redhat.com>
3169         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
3170         Handle NaN here.
3172         * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext):
3173         Internationalize.
3175 2001-02-06  Jakub Jelinek  <jakub@redhat.com>
3177         * elf/dl-load.c (_dl_map_object): Don't test l_opencount when
3178         looking for name matches.
3180 2001-02-26  Jakub Jelinek  <jakub@redhat.com>
3182         * sysdeps/generic/sigcontextinfo.h (CALL_SIGHANDLER): Define.
3183         * sysdeps/mach/hurd/i386/sigcontextinfo.h: Likewise.
3184         * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h: Likewise.
3185         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
3186         * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h: Likewise.
3187         * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h: Likewise.
3188         * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h: Likewise.
3189         * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h: Likewise.
3190         * sysdeps/unix/sysv/linux/s390/sigcontextinfo.h: Likewise.
3191         * sysdeps/unix/sysv/linux/sh/sigcontextinfo.h: Likewise.
3192         * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: Likewise.
3193         * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h: Likewise.
3195 2001-03-16  Ulrich Drepper  <drepper@redhat.com>
3197         * sysdeps/ieee754/ldbl-96/s_erfl.c: New file.
3198         Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>.
3200         * sysdeps/i386/fpu/libm-test-ulps: Adjust for addition of erfl and
3201         erfcl.
3202         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
3204 2001-03-16  David Mosberger  <davidm@hpl.hp.com>
3206         * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h (struct sigcontext):
3207         Drop hack that was needed for 2.1.1 kernel headers.
3209         * sysdeps/unix/sysv/linux/ia64/ucontext_i.h: New file.
3211         * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Rewrite to make it
3212         overlay with kernel's "struct sigcontext".
3214         * sysdeps/unix/sysv/linux/ia64/Makefile (sysdep_headers): Add
3215         sys/rse.h for "misc" subdir.
3216         (sysdep_routines): Add __start_context for "stdlib" subdir.
3218         * sysdeps/unix/sysv/linux/ia64/sys/rse.h: New file (based on
3219         kernel file of the same name).
3221         * stdlib/Makefile (tests): Add tst-setcontext.
3222         * stdlib/tst-setcontext.c: New file (based on a sample program by
3223         Uli Drepper).
3225         * sysdeps/unix/sysv/linux/ia64/setcontext.S: New file.
3226         * sysdeps/unix/sysv/linux/ia64/getcontext.S: New file.
3227         * sysdeps/unix/sysv/linux/ia64/__start_context.S: New file.
3228         * sysdeps/unix/sysv/linux/ia64/makecontext.c: New file.
3229         * sysdeps/unix/sysv/linux/ia64/swapcontext.c: New file.
3231         * sysdeps/unix/sysv/linux/ia64/__longjmp.S (__longjmp): Use extr.u
3232         instead of shift & and.
3234 2001-03-16  Martin Schwidefsky  <schwidefsky@de.ibm.com>
3236         * sysdeps/s390/s390-64/bits/huge_val.h: Move to...
3237         * sysdeps/s390/bits/huge_val.h: ...here.
3238         * sysdeps/s390/s390-32/bit/huge_val.h: Remove.
3239         * sysdeps/s390/s390-64/ffs.c: Move to...
3240         * sysdeps/s390/ffs.c: ...here.
3241         * sysdeps/s390/s390-32/ffs.c: Remove.
3243 2001-03-16  Jakub Jelinek  <jakub@redhat.com>
3245         * elf/ldconfig.c (search_dir): Remove bogus diagnostic, instead
3246         update osversion from more recent library.
3248 2001-03-13  Martin Schwidefsky  <schwidefsky@de.ibm.com>
3250         * sysdeps/unix/sysv/linux/s390/Dist: Move to...
3251         * sysdeps/unix/sysv/linux/s390/s390-32/Dist: ...here.
3252         * sysdeps/unix/sysv/linux/s390/Makefile: Move to...
3253         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: ...here.
3254         * sysdeps/unix/sysv/linux/s390/Versions: Move to...
3255         * sysdeps/unix/sysv/linux/s390/s390-32/Versions: ...here.
3256         * sysdeps/unix/sysv/linux/s390/alphasort64.c: Move to...
3257         * sysdeps/unix/sysv/linux/s390/s390-32/alphasort64.c: ...here.
3258         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Move to...
3259         * sysdeps/unix/sysv/linux/s390/s390-32/bits/fcntl.h: ...here.
3260         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Move to...
3261         * sysdeps/unix/sysv/linux/s390/s390-32/bits/mman.h: ...here.
3262         * sysdeps/unix/sysv/linux/s390/bits/resource.h: Move to...
3263         * sysdeps/unix/sysv/linux/s390/s390-32/bits/resource.h: ...here.
3264         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Move to...
3265         * sysdeps/unix/sysv/linux/s390/s390-32/bits/stat.h: ...here.
3266         * sysdeps/unix/sysv/linux/s390/chown.c: Move to...
3267         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: ...here.
3268         * sysdeps/unix/sysv/linux/s390/clone.S: Move to...
3269         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: ...here.
3270         * sysdeps/unix/sysv/linux/s390/fchown.c: Move to...
3271         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: ...here.
3272         * sysdeps/unix/sysv/linux/s390/fcntl.c: Move to...
3273         * sysdeps/unix/sysv/linux/s390/s390-32/fcntl.c: ...here.
3274         * sysdeps/unix/sysv/linux/s390/fxstat.c: Move to...
3275         * sysdeps/unix/sysv/linux/s390/s390-32/fxstat.c: ...here.
3276         * sysdeps/unix/sysv/linux/s390/getdents64.c: Move to...
3277         * sysdeps/unix/sysv/linux/s390/s390-32/getdents64.c: ...here.
3278         * sysdeps/unix/sysv/linux/s390/getegid.c: Move to...
3279         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: ...here.
3280         * sysdeps/unix/sysv/linux/s390/geteuid.c: Move to...
3281         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: ...here.
3282         * sysdeps/unix/sysv/linux/s390/getgid.c: Move to...
3283         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: ...here.
3284         * sysdeps/unix/sysv/linux/s390/getgroups.c: Move to...
3285         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: ...here.
3286         * sysdeps/unix/sysv/linux/s390/getresgid.c: Move to...
3287         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: ...here.
3288         * sysdeps/unix/sysv/linux/s390/getresuid.c: Move to...
3289         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: ...here.
3290         * sysdeps/unix/sysv/linux/s390/getrlimit.c: Move to...
3291         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: ...here.
3292         * sysdeps/unix/sysv/linux/s390/getrlimit64.c: Move to...
3293         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit64.c: ...here.
3294         * sysdeps/unix/sysv/linux/s390/getuid.c: Move to...
3295         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: ...here.
3296         * sysdeps/unix/sysv/linux/s390/lchown.c: Move to...
3297         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: ...here.
3298         * sysdeps/unix/sysv/linux/s390/lockf64.c: Move to...
3299         * sysdeps/unix/sysv/linux/s390/s390-32/lockf64.c: ...here.
3300         * sysdeps/unix/sysv/linux/s390/lxstat.c: Move to...
3301         * sysdeps/unix/sysv/linux/s390/s390-32/lxstat.c: ...here.
3302         * sysdeps/unix/sysv/linux/s390/mmap.S: Move to...
3303         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: ...here.
3304         * sysdeps/unix/sysv/linux/s390/mmap64.S: Move to...
3305         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: ...here.
3306         * sysdeps/unix/sysv/linux/s390/msgctl.c: Move to...
3307         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: ...here.
3308         * sysdeps/unix/sysv/linux/s390/oldgetrlimit64.c: Move to...
3309         * sysdeps/unix/sysv/linux/s390/s390-32/oldgetrlimit64.c: ...here.
3310         * sysdeps/unix/sysv/linux/s390/readdir64.c: Move to...
3311         * sysdeps/unix/sysv/linux/s390/s390-32/readdir64.c: ...here.
3312         * sysdeps/unix/sysv/linux/s390/readdir64_r.c: Move to...
3313         * sysdeps/unix/sysv/linux/s390/s390-32/readdir64_r.c: ...here.
3314         * sysdeps/unix/sysv/linux/s390/register-dump.h: Move to...
3315         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: ...here.
3316         * sysdeps/unix/sysv/linux/s390/scandir64.c: Move to...
3317         * sysdeps/unix/sysv/linux/s390/s390-32/scandir64.c: ...here.
3318         * sysdeps/unix/sysv/linux/s390/semctl.c: Move to...
3319         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: ...here.
3320         * sysdeps/unix/sysv/linux/s390/setegid.c: Move to...
3321         * sysdeps/unix/sysv/linux/s390/s390-32/setegid.c: ...here.
3322         * sysdeps/unix/sysv/linux/s390/seteuid.c: Move to...
3323         * sysdeps/unix/sysv/linux/s390/s390-32/seteuid.c: ...here.
3324         * sysdeps/unix/sysv/linux/s390/setfsgid.c: Move to...
3325         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: ...here.
3326         * sysdeps/unix/sysv/linux/s390/setfsuid.c: Move to...
3327         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: ...here.
3328         * sysdeps/unix/sysv/linux/s390/setgid.c: Move to...
3329         * sysdeps/unix/sysv/linux/s390/s390-32/setgid.c: ...here.
3330         * sysdeps/unix/sysv/linux/s390/setgroups.c: Move to...
3331         * sysdeps/unix/sysv/linux/s390/s390-32/setgroups.c: ...here.
3332         * sysdeps/unix/sysv/linux/s390/setregid.c: Move to...
3333         * sysdeps/unix/sysv/linux/s390/s390-32/setregid.c: ...here.
3334         * sysdeps/unix/sysv/linux/s390/setresgid.c: Move to...
3335         * sysdeps/unix/sysv/linux/s390/s390-32/setresgid.c: ...here.
3336         * sysdeps/unix/sysv/linux/s390/setresuid.c: Move to...
3337         * sysdeps/unix/sysv/linux/s390/s390-32/setresuid.c: ...here.
3338         * sysdeps/unix/sysv/linux/s390/setreuid.c: Move to...
3339         * sysdeps/unix/sysv/linux/s390/s390-32/setreuid.c: ...here.
3340         * sysdeps/unix/sysv/linux/s390/setrlimit.c: Move to...
3341         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: ...here.
3342         * sysdeps/unix/sysv/linux/s390/setuid.c: Move to...
3343         * sysdeps/unix/sysv/linux/s390/s390-32/setuid.c: ...here.
3344         * sysdeps/unix/sysv/linux/s390/shmctl.c: Move to...
3345         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: ...here.
3346         * sysdeps/unix/sysv/linux/s390/socket.S: Move to...
3347         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: ...here.
3348         * sysdeps/unix/sysv/linux/s390/sys/procfs.h: Move to...
3349         * sysdeps/unix/sysv/linux/s390/s390-32/sys/procfs.h: ...here.
3350         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Move to...
3351         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: ...here.
3352         * sysdeps/unix/sysv/linux/s390/syscall.S: Move to...
3353         * sysdeps/unix/sysv/linux/s390/s390-32/syscall.S: ...here.
3354         * sysdeps/unix/sysv/linux/s390/syscalls.list: Move to...
3355         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: ...here.
3356         * sysdeps/unix/sysv/linux/s390/sysdep.S: Move to...
3357         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: ...here.
3358         * sysdeps/unix/sysv/linux/s390/sysdep.h: Move to...
3359         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: ...here.
3360         * sysdeps/unix/sysv/linux/s390/versionsort64.c: Move to...
3361         * sysdeps/unix/sysv/linux/s390/s390-32/versionsort64.c: ...here.
3362         * sysdeps/unix/sysv/linux/s390/xstat.c: Move to...
3363         * sysdeps/unix/sysv/linux/s390/s390-32/xstat.c: ...here.
3365 2001-03-13  Martin Schwidefsky  <schwidefsky@de.ibm.com>
3367         * sysdeps/unix/sysv/linux/s390/s390-64/Dist: New file.
3368         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: New file.
3369         * sysdeps/unix/sysv/linux/s390/s390-64/bits/elfclass.h: New file.
3370         * sysdeps/unix/sysv/linux/s390/s390-64/bits/fcntl.h: New file.
3371         * sysdeps/unix/sysv/linux/s390/s390-64/bits/ipc.h: New file.
3372         * sysdeps/unix/sysv/linux/s390/s390-64/bits/mman.h: New file.
3373         * sysdeps/unix/sysv/linux/s390/s390-64/bits/msq.h: New file.
3374         * sysdeps/unix/sysv/linux/s390/s390-64/bits/resource.h: New file.
3375         * sysdeps/unix/sysv/linux/s390/s390-64/bits/sem.h: New file.
3376         * sysdeps/unix/sysv/linux/s390/s390-64/bits/shm.h: New file.
3377         * sysdeps/unix/sysv/linux/s390/s390-64/bits/sigaction.h: New file.
3378         * sysdeps/unix/sysv/linux/s390/s390-64/bits/siginfo.h: New file.
3379         * sysdeps/unix/sysv/linux/s390/s390-64/bits/sigstack.h: New file.
3380         * sysdeps/unix/sysv/linux/s390/s390-64/bits/stat.h: New file.
3381         * sysdeps/unix/sysv/linux/s390/s390-64/bits/types.h: New file.
3382         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: New file.
3383         * sysdeps/unix/sysv/linux/s390/s390-64/fstatfs64.c: New file.
3384         * sysdeps/unix/sysv/linux/s390/s390-64/ftruncate64.c: New file.
3385         * sysdeps/unix/sysv/linux/s390/s390-64/fxstat.c: New file.
3386         * sysdeps/unix/sysv/linux/s390/s390-64/fxstat64.c: New file.
3387         * sysdeps/unix/sysv/linux/s390/s390-64/getdents.c: New file.
3388         * sysdeps/unix/sysv/linux/s390/s390-64/getdents64.c: New file.
3389         * sysdeps/unix/sysv/linux/s390/s390-64/getrlimit64.c: New file.
3390         * sysdeps/unix/sysv/linux/s390/s390-64/glob.c: New file.
3391         * sysdeps/unix/sysv/linux/s390/s390-64/glob64.c: New file.
3392         * sysdeps/unix/sysv/linux/s390/s390-64/kernel_stat.h: New file.
3393         * sysdeps/unix/sysv/linux/s390/s390-64/lxstat.c: New file.
3394         * sysdeps/unix/sysv/linux/s390/s390-64/lxstat64.c: New file.
3395         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: New file.
3396         * sysdeps/unix/sysv/linux/s390/s390-64/mmap64.c: New file.
3397         * sysdeps/unix/sysv/linux/s390/s390-64/pread64.c: New file.
3398         * sysdeps/unix/sysv/linux/s390/s390-64/pwrite64.c: New file.
3399         * sysdeps/unix/sysv/linux/s390/s390-64/readdir.c: New file.
3400         * sysdeps/unix/sysv/linux/s390/s390-64/readdir64.c: New file.
3401         * sysdeps/unix/sysv/linux/s390/s390-64/readdir64_r.c: New file.
3402         * sysdeps/unix/sysv/linux/s390/s390-64/readdir_r.c : New file.
3403         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: New file.
3404         * sysdeps/unix/sysv/linux/s390/s390-64/setrlimit64.c: New file.
3405         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: New file.
3406         * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c: New file.
3407         * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c: New file.
3408         * sysdeps/unix/sysv/linux/s390/s390-64/sigsuspend.c: New file.
3409         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: New file.
3410         * sysdeps/unix/sysv/linux/s390/s390-64/statfs64.c: New file.
3411         * sysdeps/unix/sysv/linux/s390/s390-64/sys/procfs.h: New file.
3412         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: New file.
3413         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: New file.
3414         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: New file.
3415         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: New file.
3416         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: New file.
3417         * sysdeps/unix/sysv/linux/s390/s390-64/truncate64.c: New file.
3418         * sysdeps/unix/sysv/linux/s390/s390-64/xstat.c: New file.
3419         * sysdeps/unix/sysv/linux/s390/s390-64/xstat64.c: New file.
3421 2001-03-13  Martin Schwidefsky  <schwidefsky@de.ibm.com>
3423         * sysdeps/s390/Dist: Move to...
3424         * sysdeps/s390/390-32/Dist: ...here.
3425         * sysdeps/s390/Implies: Move to...
3426         * sysdeps/s390/s390-32/Implies: ...here.
3427         * sysdeps/s390/Makefile: Move to...
3428         * sysdeps/s390/s390-32/Makefile: ...here.
3429         * sysdeps/s390/Versions: Move to...
3430         * sysdeps/s390-32/s390/Versions: ...here.
3431         * sysdeps/s390/add_n.S: Move to...
3432         * sysdeps/s390/s390-32/add_n.S: ...here.
3433         * sysdeps/s390/addmul_1.S: Move to...
3434         * sysdeps/s390/s390-32/addmul_1.S: ...here.
3435         * sysdeps/s390/atomicity.h: Move to...
3436         * sysdeps/s390/s390-32/atomicity.h: ...here.
3437         * sysdeps/s390/backtrace.c: Move to...
3438         * sysdeps/s390/s390-32/backtrace.c: ...here.
3439         * sysdeps/s390/bcopy.S: Move to...
3440         * sysdeps/s390/s390-32/bcopy.S: ...here.
3441         * sysdeps/s390/bits/byteswap.h: Move to...
3442         * sysdeps/s390/s390-32/bits/byteswap.h: ...here.
3443         * sysdeps/s390/bits/huge_val.h: Move to...
3444         * sysdeps/s390/s390-32/bits/huge_val.h: ...here.
3445         * sysdeps/s390/bsd-_setjmp.S: Move to...
3446         * sysdeps/s390/s390-32/bsd-_setjmp.S: ...here.
3447         * sysdeps/s390/bsd-setjmp.S: Move to...
3448         * sysdeps/s390/s390-32/bsd-setjmp.S: ...here.
3449         * sysdeps/s390/bzero.S: Move to...
3450         * sysdeps/s390/s390-32/bzero.S: ...here.
3451         * sysdeps/s390/elf/bsd-_setjmp.S: Move to...
3452         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: ...here.
3453         * sysdeps/s390/elf/bsd-setjmp.S: Move to...
3454         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: ...here.
3455         * sysdeps/s390/elf/start.S: Move to...
3456         * sysdeps/s390/s390-32/elf/start.S: ...here.
3457         * sysdeps/s390/ffs.c: Move to...
3458         * sysdeps/s390/s390-32/ffs.c: ...here.
3459         * sysdeps/s390/memchr.S: Move to...
3460         * sysdeps/s390/s390-32/memchr.S: ...here.
3461         * sysdeps/s390/memcpy.S: Move to...
3462         * sysdeps/s390/s390-32/memcpy.S: ...here.
3463         * sysdeps/s390/memset.S: Move to...
3464         * sysdeps/s390/s390-32/memset.S: ...here.
3465         * sysdeps/s390/mul_1.S: Move to...
3466         * sysdeps/s390/s390-32/mul_1.S: ...here.
3467         * sysdeps/s390/s390-mcount.S: Move to...
3468         * sysdeps/s390/s390-32/s390-mcount.S: ...here.
3469         * sysdeps/s390/strcpy.S: Move to...
3470         * sysdeps/s390/s390-32/strcpy.S: ...here.
3471         * sysdeps/s390/strncpy.S: Move to...
3472         * sysdeps/s390/s390-32/strncpy.S: ...here.
3473         * sysdeps/s390/sub_n.S: Move to...
3474         * sysdeps/s390/s390-32/sub_n.S: ...here.
3476 2001-03-13  Martin Schwidefsky  <schwidefsky@de.ibm.com>
3478         * sysdeps/s390/s390-64/Dist: New file.
3479         * sysdeps/s390/s390-64/Implies: New file.
3480         * sysdeps/s390/s390-64/Makefile: New file.
3481         * sysdeps/s390/s390-64/__longjmp.c: New file.
3482         * sysdeps/s390/s390-64/add_n.S: New file.
3483         * sysdeps/s390/s390-64/atomicity.h: New file.
3484         * sysdeps/s390/s390-64/backtrace.c: New file.
3485         * sysdeps/s390/s390-64/bcopy.S: New file.
3486         * sysdeps/s390/s390-64/bits/byteswap.h: New file.
3487         * sysdeps/s390/s390-64/bits/huge_val.h: New file.
3488         * sysdeps/s390/s390-64/bits/setjmp.h: New file.
3489         * sysdeps/s390/s390-64/bits/string.h: New file.
3490         * sysdeps/s390/s390-64/bsd-_setjmp.S: New file.
3491         * sysdeps/s390/s390-64/bsd-setjmp.S: New file.
3492         * sysdeps/s390/s390-64/bzero.S: New file.
3493         * sysdeps/s390/s390-64/dl-machine.h: New file.
3494         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: New file.
3495         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: New file.
3496         * sysdeps/s390/s390-64/elf/setjmp.S: New file.
3497         * sysdeps/s390/s390-64/elf/start.S: New file.
3498         * sysdeps/s390/s390-64/ffs.c: New file.
3499         * sysdeps/s390/s390-64/initfini.c: New file.
3500         * sysdeps/s390/s390-64/memchr.S: New file.
3501         * sysdeps/s390/s390-64/memcpy.S: New file.
3502         * sysdeps/s390/s390-64/memset.S: New file.
3503         * sysdeps/s390/s390-64/s390x-mcount.S: New file.
3504         * sysdeps/s390/s390-64/setjmp.S: New file.
3505         * sysdeps/s390/s390-64/strcpy.S: New file.
3506         * sysdeps/s390/s390-64/strncpy.S: New file.
3507         * sysdeps/s390/s390-64/sub_n.S: New file.
3508         * sysdeps/s390/s390-64/sysdep.h: New file.
3510 2001-03-13  Martin Schwidefsky  <schwidefsky@de.ibm.com>
3512         * scripts/config.guess: Add support for Linux on 64 bit S/390.
3513         * scripts/config.sub: Likewise.
3515 2001-03-13  Martin Schwidefsky  <schwidefsky@de.ibm.com>
3517         * configure.in: Add support for 64 bit S/390.
3519         * elf/elf.h: Add new relocations for 64 bit S/390.
3521         * shlib-versions: Add rules for Linux on 64 bit S/390.
3523 2001-03-13  Martin Schwidefsky  <schwidefsky@de.ibm.com>
3525         * sysdeps/s390/__longjmp.c: Move to...
3526         * sysdeps/s390/s390-32/__longjmp.c: ...here.  Add code
3527         to load the floating point registers that should be saved
3528         according to the ABI.
3530         * sysdeps/s390/bits/setjmp.h: Move to...
3531         * sysdeps/s390/s390-32/bits/setjmp.h: ...here.  Avoid
3532         the use of long long in the __jmp_buf type definition.
3534         * sysdeps/s390/bits/string.h: Move to...
3535         * sysdeps/s390/s390-32/bits/string.h: ...here.  Add several missing
3536         #ifndef _FORCE_INLINES.
3538         * sysdeps/s390/dl-machine.h: Move to...
3539         * sysdeps/s390/s390-32/dl-machine.h: ...here.  Add a check for the
3540         executables EI_CLASS in elf_machine_matches_host.
3542         * sysdeps/s390/elf/setjmp.S: Move to...
3543         * sysdeps/s390/s390-32/elf/setjmp.S: ...here.  Replace
3544         branches to globally defined symbol __sigsetjmp by branches to
3545         a local label (this avoids the generation of a R_390_PC16DBL
3546         relocation in -fpic code).
3548         * sysdeps/s390/gmp-mparam.h: Use defines from <bits/wordsize.h> to
3549         calculate BITS_PER_MP_LIMB, BYTES_PER_MP_LIMB and BITS_PER_LONGINT.
3551         * sysdeps/s390/initfini.c: Move to...
3552         * sysdeps/s390/s390-32/initfini.c: ...here.  Replace ALIGN with
3553         ".align 4,0x07".
3555         * sysdeps/s390/setjmp.S: Move to...
3556         * sysdeps/s390/s390-32/setjmp.S: ...here.  Add code to store the
3557         floating point registers that should be saved according to the ABI.
3559         * sysdeps/s390/sys/ucontext.h: Remove since it is unused.
3561         * sysdeps/unix/sysv/linux/s390/sysdep.h: Move to...
3562         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: ...here. Include
3563         sysdeps/s390/s390-32/sysdep.h instead of sysdeps/s390/sysdep.h.
3565 2001-03-13  Martin Schwidefsky  <schwidefsky@de.ibm.com>
3567         * configure.in: Change machine=s390 to machine=s390/s390-32.
3569         * elf/elf.h: Correct comment for R_390_PLT16DBL.
3571 2001-03-12  Jakub Jelinek  <jakub@redhat.com>
3573         * csu/Makefile (abi-tag.h): Define OS and version separately, allow
3574         version to be overriden from config.h.
3575         * csu/abi-note.S: Use OS and version separately, include config.h.
3576         * elf/dl-load.c (_dl_osversion): New.
3577         (_dl_map_object_from_fd): Kill some warnings.
3578         (open_verify): Check .note.ABI-tag of the library if present.
3579         * elf/Makefile (CPPFLAGS-dl-load.c): Add -I$(csu-objpfx).
3580         * elf/cache.c (struct cache_entry): Add osversion.
3581         (print_entry): Print osversion.
3582         (print_cache): Pass osversion to it.
3583         (compare): Sort according to osversion.
3584         (save_cache): Set osversion.
3585         (add_to_cache): Add osversion argument.
3586         * sysdeps/generic/ldconfig.h (add_to_cache, process_file,
3587         process_elf_file): Add osversion argument.
3588         * elf/readlib.c (process_file): Likewise.
3589         * sysdeps/generic/readelflib.c (process_elf_file): Likewise.
3590         * sysdeps/unix/sysv/linux/ia64/readelflib.c (process_elf_file,
3591         process_elf32_file, process_elf64_file): Likewise.
3592         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file,
3593         process_elf32_file, process_elf64_file): Likewise.
3594         * sysdeps/unix/sysv/linux/sparc/readelflib.c (process_elf_file,
3595         process_elf32_file, process_elf64_file): Likewise.
3596         * elf/ldconfig.c (manual_link): Pass it.
3597         (search_dir): Issue diagnostic if two libs with the same soname in
3598         the same directory have different .note.ABI-tag.  Record osversion in
3599         dlib_entry and use it from there.
3600         (struct lib_entry): Remove.
3601         (struct dlib_entry): Add osversion.
3602         * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Check
3603         osversion.
3604         * sysdeps/generic/dl-cache.h (struct file_entry_new): Replace __unused
3605         field with osversion.
3606         * sysdeps/generic/ldsodefs.h (_dl_osversion): Declare.
3607         * sysdeps/unix/sysv/linux/init-first.c: Include ldsodefs.h.
3608         * sysdeps/unix/sysv/linux/dl-osinfo.h (DL_SYSDEP_OSCHECK): Save kernel
3609         version in _dl_osversion.
3610         * sysdeps/unix/sysv/linux/configure.in: Define __ABI_TAG_VERSION.
3611         * Makerules (build-shlib-helper, build-module-helper): New.
3612         (build-shlib, build-module-helper): Make sure .note.ABI-tag comes
3613         early.
3614         * config.h.in (__ABI_TAG_VERSION): Add.
3615         * elf/dl-minimal.c (__strtoul_internal): Set endptr on return.
3616         * sysdeps/unix/sysv/linux/i386/dl-librecon.h (EXTRA_LD_ENVVARS):
3617         Handle LD_ASSUME_KERNEL.
3618         * sysdeps/unix/sysv/linux/dl-librecon.h: New.
3620 2001-03-15  Ulrich Drepper  <drepper@redhat.com>
3622         * timezone/antarctica: Update from tzdata2001a.
3623         * timezone/asia: Likewise.
3624         * timezone/australasia: Likewise.
3625         * timezone/backward: Likewise.
3626         * timezone/etcetera: Likewise.
3627         * timezone/europe: Likewise.
3628         * timezone/leapseconds: Likewise.
3629         * timezone/northamerica: Likewise.
3630         * timezone/southamerica: Likewise.
3631         * timezone/systemv: Likewise.
3632         * timezone/yearistype: Likewise.
3633         * timezone/zone.tab: Likewise.
3634         * timezone/tzdump.c: Update from tzcode2001a.
3636 2001-03-15  H.J. Lu  <hjl@gnu.org>
3638         * intl/Makefile: Fix a typo.
3640 2001-03-14  David Mosberger  <davidm@hpl.hp.com>
3642         * gmon/gmon.c (write_call_graph): Avoid unaligned accesses when
3643         writing arc structures.
3645 2001-03-15  H.J. Lu  <hjl@gnu.org>
3647         * elf/Makefile ($(objpfx)tst-pathopt.out): Protected against
3648         cross-compiling.
3650 2001-03-13  Andreas Schwab  <schwab@suse.de>
3652         * posix/PTESTS2C.sed: Replace literal CRs by `\r'.
3654 2001-03-15  Ulrich Drepper  <drepper@redhat.com>
3656         * sysdeps/unix/sysv/linux/cmsg_nxthdr.c (__cmsg_nxthdr): Fix test
3657         for control message fitting into message data.
3658         Patch by James Antill <james@and.org>.
3660         * posix/tst-fnmatch.input: Add test case for FNM_PERIOD handling with
3661         FNM_EXTMATCH.
3663         * posix/fnmatch_loop.c: Optimize handling of ?() and @().
3664         * posix/fnmatch.c: Define STRLEN and STRCAT appropriately.
3666         * posix/Versions [libc] (GLIBC_2.2.3): Add fnmatch.
3667         * posix/fnmatch.c: Define with new default version GLIBC_2.2.3 to
3668         avoid running binaries with libc versions without FNM_EXTMATCH support.
3670         * include/wchar.h: Add prototype for __wcscat.
3671         * wcsmbs/wcscat.c: Define __wcscat and make wcscat weak alias.
3673         * posix/fnmatch.h (FNM_EXTMATCH): Define.
3674         * posix/fnmatch.c (NO_LEADING_PERIOD): Define.
3675         (posixly_correct): Move global variable here.
3676         (INT, EXT, END): Name new functions defined in fnmatch_loop.c.
3677         (fnmatch): Pretty printing.
3678         * posix/fnmatch_loop.c: Add code to handle FNM_EXTMATCH.
3679         * posix/tst-fnmatch.c: Recognize EXTMATCH flag.
3680         * posix/tst-fnmatch.input: Add tests for extended matching.
3682         * posix/testfnm.c: Add test for patterns with multiple ** before /.
3683         * posix/fnmatch_loop.c: Fix problem with the test above.
3685 2001-03-14  Ulrich Drepper  <drepper@redhat.com>
3687         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Remove
3688         reference to usqrt.
3690         * resolv/res_data.c (fp_nquery): Call __res_ninit not __res_init.
3692 2001-03-12  Andreas Jaeger  <aj@suse.de>
3694         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
3695         Use EM_X86_64 instead of EM_X8664.
3697 2001-03-12  Ulrich Drepper  <drepper@redhat.com>
3699         * sysdeps/ieee754/dbl-64/upow.h: Define nZERO and nINF.
3701         * sysdeps/ieee754/dbl-64/e_remainder.c: Fix handling of boundary
3702         conditions.
3704         * sysdeps/ieee754/dbl-64/e_pow.c: Fix handling of boundary
3705         conditions.
3707         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Handle Inf and NaN
3708         correctly.
3709         (__cos): Likewise.
3711         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Handle NaN
3712         correctly.
3713         (__ieee754_acos): Likewise.
3715 2001-03-12  Andreas Jaeger  <aj@suse.de>
3717         * sysdeps/unix/sysv/linux/s390/sysdep.h (_LINUX_S390_SYSDEP_H):
3718         Fix typo.  Patch by Martin Schwidefsky  <schwidefsky@de.ibm.com>.
3720         * sysdeps/s390/bits/string.h: Protect __STRING_INLINE against
3721         redefinition.
3723 2001-03-11  Roland McGrath  <roland@frob.com>
3725         * sysdeps/mach/hurd/configure.in: Add a sanity check on $prefix.
3727 2001-03-11  Ulrich Drepper  <drepper@redhat.com>
3729         * sysdeps/ieee754/dbl-64/endian.h: Define also one of BIG_ENDI and
3730         LITTLE_ENDI.
3732         * sysdeps/ieee754/dbl-64/MathLib.h (Init_Lib): Use void as
3733         parameter list.
3735         Last-bit accurate math library implementation by IBM Haifa.
3736         Contributed by Abraham Ziv <ziv@il.ibm.com>, Moshe Olshansky
3737         <olshansk@il.ibm.com>, Ealan Henis <ealan@il.ibm.com>, and
3738         Anna Reitman <reitman@il.ibm.com>.
3739         * math/Makefile (dbl-only-routines): New variable.
3740         (libm-routines): Add $(dbl-only-routines).
3741         * sysdeps/ieee754/dbl-64/e_acos.c: Empty, definition is in e_asin.c.
3742         * sysdeps/ieee754/dbl-64/e_asin.c: Replaced with accurate asin
3743         implementation.
3744         * sysdeps/ieee754/dbl-64/e_atan2.c: Replaced with accurate atan2
3745         implementation.
3746         * sysdeps/ieee754/dbl-64/e_exp.c: Replaced with accurate exp
3747         implementation.
3748         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Don't use __kernel_sin and
3749         __kernel_cos.
3750         * sysdeps/ieee754/dbl-64/e_log.c: Replaced with accurate log
3751         implementation.
3752         * sysdeps/ieee754/dbl-64/e_remainder.c: Replaced with accurate
3753         remainder implementation.
3754         * sysdeps/ieee754/dbl-64/e_pow.c: Replaced with accurate pow
3755         implementation.
3756         * sysdeps/ieee754/dbl-64/e_sqrt.c: Replaced with accurate sqrt
3757         implementation.
3758         * sysdeps/ieee754/dbl-64/k_cos.c: Empty, definition is in s_sin.c.
3759         * sysdeps/ieee754/dbl-64/k_sin.c: Empty, definition is in s_sin.c.
3760         * sysdeps/ieee754/dbl-64/s_atan.c: Replaced with accurate atan
3761         implementation.
3762         * sysdeps/ieee754/dbl-64/s_cos.c: Empty, definition is in s_sin.c.
3763         * sysdeps/ieee754/dbl-64/s_sin.c: Replaced with accurate sin/cos
3764         implementation.
3765         * sysdeps/ieee754/dbl-64/s_sincos.c: Rewritten to not use __kernel_sin
3766         and __kernel_cos.
3767         * sysdeps/ieee754/dbl-64/s_tan.c: Replaced with accurate tan
3768         implementation.
3769         * sysdeps/ieee754/dbl-64/Dist: Add new non-code files.
3770         * sysdeps/ieee754/dbl-64/MathLib.h: New file.
3771         * sysdeps/ieee754/dbl-64/asincos.tbl: New file.
3772         * sysdeps/ieee754/dbl-64/atnat.h: New file.
3773         * sysdeps/ieee754/dbl-64/atnat2.h: New file.
3774         * sysdeps/ieee754/dbl-64/branred.c: New file.
3775         * sysdeps/ieee754/dbl-64/branred.h: New file.
3776         * sysdeps/ieee754/dbl-64/dla.h: New file.
3777         * sysdeps/ieee754/dbl-64/doasin.c: New file.
3778         * sysdeps/ieee754/dbl-64/doasin.h: New file.
3779         * sysdeps/ieee754/dbl-64/dosincos.c: New file.
3780         * sysdeps/ieee754/dbl-64/dosincos.h: New file.
3781         * sysdeps/ieee754/dbl-64/endian.h: New file.
3782         * sysdeps/ieee754/dbl-64/halfulp.c: New file.
3783         * sysdeps/ieee754/dbl-64/mpa.c: New file.
3784         * sysdeps/ieee754/dbl-64/mpa.h: New file.
3785         * sysdeps/ieee754/dbl-64/mpa2.h: New file.
3786         * sysdeps/ieee754/dbl-64/mpatan.c: New file.
3787         * sysdeps/ieee754/dbl-64/mpatan.h: New file.
3788         * sysdeps/ieee754/dbl-64/mpatan2.c: New file.
3789         * sysdeps/ieee754/dbl-64/mpexp.c: New file.
3790         * sysdeps/ieee754/dbl-64/mpexp.h: New file.
3791         * sysdeps/ieee754/dbl-64/mplog.c: New file.
3792         * sysdeps/ieee754/dbl-64/mplog.h: New file.
3793         * sysdeps/ieee754/dbl-64/mpsqrt.c: New file.
3794         * sysdeps/ieee754/dbl-64/mpsqrt.h: New file.
3795         * sysdeps/ieee754/dbl-64/mptan.c: New file.
3796         * sysdeps/ieee754/dbl-64/mydefs.h: New file.
3797         * sysdeps/ieee754/dbl-64/powtwo.tbl: New file.
3798         * sysdeps/ieee754/dbl-64/root.tbl: New file.
3799         * sysdeps/ieee754/dbl-64/sincos.tbl: New file.
3800         * sysdeps/ieee754/dbl-64/sincos32.c: New file.
3801         * sysdeps/ieee754/dbl-64/sincos32.h: New file.
3802         * sysdeps/ieee754/dbl-64/slowexp.c: New file.
3803         * sysdeps/ieee754/dbl-64/slowpow.c: New file.
3804         * sysdeps/ieee754/dbl-64/uasncs.h: New file.
3805         * sysdeps/ieee754/dbl-64/uatan.tbl: New file.
3806         * sysdeps/ieee754/dbl-64/uexp.h: New file.
3807         * sysdeps/ieee754/dbl-64/uexp.tbl: New file.
3808         * sysdeps/ieee754/dbl-64/ulog.h: New file.
3809         * sysdeps/ieee754/dbl-64/ulog.tbl: New file.
3810         * sysdeps/ieee754/dbl-64/upow.h: New file.
3811         * sysdeps/ieee754/dbl-64/upow.tbl: New file.
3812         * sysdeps/ieee754/dbl-64/urem.h: New file.
3813         * sysdeps/ieee754/dbl-64/uroot.h: New file.
3814         * sysdeps/ieee754/dbl-64/usncs.h: New file.
3815         * sysdeps/ieee754/dbl-64/utan.h: New file.
3816         * sysdeps/ieee754/dbl-64/utan.tbl: New file.
3817         * sysdeps/i386/fpu/branred.c: New file.
3818         * sysdeps/i386/fpu/doasin.c: New file.
3819         * sysdeps/i386/fpu/dosincos.c: New file.
3820         * sysdeps/i386/fpu/halfulp.c: New file.
3821         * sysdeps/i386/fpu/mpa.c: New file.
3822         * sysdeps/i386/fpu/mpatan.c: New file.
3823         * sysdeps/i386/fpu/mpatan2.c: New file.
3824         * sysdeps/i386/fpu/mpexp.c: New file.
3825         * sysdeps/i386/fpu/mplog.c: New file.
3826         * sysdeps/i386/fpu/mpsqrt.c: New file.
3827         * sysdeps/i386/fpu/mptan.c: New file.
3828         * sysdeps/i386/fpu/sincos32.c: New file.
3829         * sysdeps/i386/fpu/slowexp.c: New file.
3830         * sysdeps/i386/fpu/slowpow.c: New file.
3831         * sysdeps/ia64/fpu/branred.c: New file.
3832         * sysdeps/ia64/fpu/doasin.c: New file.
3833         * sysdeps/ia64/fpu/dosincos.c: New file.
3834         * sysdeps/ia64/fpu/halfulp.c: New file.
3835         * sysdeps/ia64/fpu/mpa.c: New file.
3836         * sysdeps/ia64/fpu/mpatan.c: New file.
3837         * sysdeps/ia64/fpu/mpatan2.c: New file.
3838         * sysdeps/ia64/fpu/mpexp.c: New file.
3839         * sysdeps/ia64/fpu/mplog.c: New file.
3840         * sysdeps/ia64/fpu/mpsqrt.c: New file.
3841         * sysdeps/ia64/fpu/mptan.c: New file.
3842         * sysdeps/ia64/fpu/sincos32.c: New file.
3843         * sysdeps/ia64/fpu/slowexp.c: New file.
3844         * sysdeps/ia64/fpu/slowpow.c: New file.
3845         * sysdeps/m68k/fpu/branred.c: New file.
3846         * sysdeps/m68k/fpu/doasin.c: New file.
3847         * sysdeps/m68k/fpu/dosincos.c: New file.
3848         * sysdeps/m68k/fpu/halfulp.c: New file.
3849         * sysdeps/m68k/fpu/mpa.c: New file.
3850         * sysdeps/m68k/fpu/mpatan.c: New file.
3851         * sysdeps/m68k/fpu/mpatan2.c: New file.
3852         * sysdeps/m68k/fpu/mpexp.c: New file.
3853         * sysdeps/m68k/fpu/mplog.c: New file.
3854         * sysdeps/m68k/fpu/mpsqrt.c: New file.
3855         * sysdeps/m68k/fpu/mptan.c: New file.
3856         * sysdeps/m68k/fpu/sincos32.c: New file.
3857         * sysdeps/m68k/fpu/slowexp.c: New file.
3858         * sysdeps/m68k/fpu/slowpow.c: New file.
3860         * iconvdata/gconv-modules: Add a number of alias, mostly for IBM
3861         codepages.
3863 2001-03-11  Andreas Jaeger  <aj@suse.de>
3865         * elf/elf.h (EM_*): Synch with official list.
3867 2001-03-07  David Mosberger  <davidm@hpl.hp.com>
3869         * sysdeps/ia64/bits/fenv.h (FE_NONIEEE_ENV): New macro.
3871 2001-03-07  Jes Sorensen  <jes@linuxcare.com>
3873         * sysdeps/unix/sysv/linux/ia64/ioperm.c (_ioperm): Remove unused
3874         variables addr & len.
3876 2001-02-22  Jes Sorensen  <jes@linuxcare.com>
3878         * sysdeps/ia64/fpu/feenablxcpt.c (feenableexcept): Remove
3879         punctuation in asm constraint.
3881 2001-03-07  Mark Kettenis  <kettenis@gnu.org>
3883         * resolv/netdb.h [__USE_GNU]: Define __need_timespec and include
3884         <time.h> to get definition of `struct timespec'.
3886 2001-03-08  Jakub Jelinek  <jakub@redhat.com>
3888         * elf/rtld.c (dl_main): If tracing, warn about undefined symbols if
3889         LD_WARN=1, not if LD_WARN is unset.
3891 2001-03-07  Andreas Schwab  <schwab@suse.de>
3893         * elf/ldconfig.h: Moved to ...
3894         * sysdeps/generic/ldconfig.h: ... here.
3895         * sysdeps/unix/sysv/linux/i386/ldconfig.h: New file.
3896         * sysdeps/unix/sysv/linux/m68k/ldconfig.h: New file.
3897         * sysdeps/unix/sysv/linux/ia64/ldconfig.h: New file.
3898         * elf/readlib.c (interpreters, known_libs): Use
3899         SYSDEP_KNOWN_INTERPRETER_NAMES and SYSDEP_KNOWN_LIBRARY_NAMES
3900         instead of hard coding old names.
3902 2001-03-09  Ulrich Drepper  <drepper@redhat.com>
3904         * catgets/Makefile (generated): Add test-gencat.h.
3905         (sample.SJIS.cat): Also generate header.
3906         * catgets/sample.SJIS: Add new set and message, both with symbolic
3907         names.
3908         * catgets/test-gencat.sh: Also compare generated header with what
3909         we expect.
3911 2001-03-07  Jakub Jelinek  <jakub@redhat.com>
3913         * catgets/gencat.c (read_input_file): Preserve properly symbolic
3914         names.
3916 2001-03-06  Andreas Jaeger  <aj@suse.de>
3918         * sysdeps/s390/dl-machine.h (elf_machine_relplt): Removed, it's not
3919         needed.
3920         (elf_machine_pltrel_p): Likewise.
3921         * sysdeps/powerpc/dl-machine.h: Likewise.
3922         * sysdeps/generic/dl-machine.h (elf_machine_pltrel_p): Likewise.
3924 2001-03-09  Ulrich Drepper  <drepper@redhat.com>
3926         * sysdeps/unix/sysv/linux/arm/Dist: Add dl-procinfo.c and
3927         dl-procinfo.h.
3929 2001-03-05  Philip Blundell  <philb@gnu.org>
3931         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c: New file.
3932         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h: New file.
3933         * sysdeps/unix/sysv/linux/arm/Makefile [subdir=elf]
3934         (sysdep-dl-routines, sysdep_routines, sysdep-rtld-routines): Add
3935         dl-procinfo.
3937 2001-03-09  Ulrich Drepper  <drepper@redhat.com>
3939         * dlfcn/tstatexit.c (main): Don't perform the test if __dso_handle
3940         is not available.
3941         * dlfcn/tstcxaatexit.c (main): Likewise.
3943 2001-03-10  Andreas Jaeger  <aj@suse.de>
3945         * sysdeps/i386/fpu/libm-test-ulps: Revert last patch.
3947 2001-03-09  Andreas Jaeger  <aj@suse.de>
3949         * sysdeps/s390/dl-machine.h (elf_machine_matches_host): Handle
3950         both new and old EM_S390 values.
3951         (EM_S390_OLD): New constant.
3953         * elf/elf.h (EM_S390): Use official value.
3955 2001-03-09  Ulrich Drepper  <drepper@redhat.com>
3957         * conform/data/sys/socket.h-data: Allow SO* symbols.
3959 2001-03-07  Andreas Schwab  <schwab@suse.de>
3961         * sysdeps/ia64/fpu/Makefile: Modify sysdep_routines instead of
3962         routines, and sysdep-CPPFLAGS instead of CPPFLAGS.
3964 2001-03-07  Andreas Jaeger  <aj@suse.de>
3966         * resolv/Makefile (routines): Only build gai_sigqueue when threads
3967         are available.
3969 2001-03-07  Jakub Jelinek  <jakub@redhat.com>
3971         * elf/ldconfig.c (_dl_sysdep_message): Remove.
3972         * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h: Include
3973         ldsodefs.h.
3974         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h: Likewise.
3976         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Use
3977         _dl_error_printf instead of _dl_sysdep_error.
3978         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
3979         * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h (_dl_procinfo):
3980         Use _dl_printf instead of _dl_sysdep_message.
3981         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h (_dl_procinfo):
3982         Likewise.
3984 2001-03-06  Ben Collins  <bcollins@debian.org>
3986         * manual/arith.texi (Integers): Fix documentation of fast and
3987         least integer typedefs.
3989 2001-03-06  Jakub Jelinek  <jakub@redhat.com>
3991         * resolv/Depend: New file.
3992         * resolv/Makefile (extra-libs, tests): Build libanl and ga_test only
3993         when libpthread is built.
3995 2001-03-06  Andreas Jaeger  <aj@suse.de>
3997         * sysdeps/i386/fpu/libm-test-ulps: Add some deltas.
3999         * sysdeps/sh/dl-machine.h (elf_machine_rela): Add missing comma.
4000         Patch by kaz Kojima <kkojima@rr.iij4u.or.jp>.
4002 2001-03-05  Ulrich Drepper  <drepper@redhat.com>
4004         * stdlib/Versions: Remove __new_exitfn again.  Not needed.
4006 2001-03-05  Andreas Jaeger  <aj@suse.de>
4008         * stdlib/msort.c (qsort): Don't use alloca in a function call.
4010 2001-03-05  Ulrich Drepper  <drepper@redhat.com>
4012         * sysdeps/unix/sysv/linux/bits/stat.h (__S_TYPEISMQ, __S_TYPEISSEM,
4013         __S_TYPEISSHM): Rewrite to enforce correct use the macros.  They still
4014         always return zero.
4015         * sysdeps/unix/sysv/linux/alpha/bits/stat.h: Likewise.
4016         * sysdeps/unix/sysv/linux/ia64/bits/stat.h: Likewise.
4017         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
4018         * sysdeps/unix/sysv/linux/m68k/bits/stat.h: Likewise.
4019         * sysdeps/unix/sysv/linux/mips/bits/stat.h: Likewise.
4020         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
4021         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
4023 2001-03-04  Andreas Jaeger  <aj@suse.de>
4025         * stdlib/longlong.h: Don't use multi-line strings.
4026         * iconvdata/tst-loading.c: Likewise.
4028         * csu/Makefile ($(objpfx)version-info.h): Don't use multi-line
4029         string.
4031 2001-03-04  Ulrich Drepper  <drepper@redhat.com>
4033         * sysdeps/ia64/fpu/libm-test-ulps: Adjust for addition of lgammal.
4035         * rt/lio_listio.c: Add a few asserts.
4037         * elf/global.c: New file.
4038         * elf/globalmod1.c: New file.
4039         * elf/Makefile: Add rules to build and run global.
4041         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Define SI_ASYNCNL.
4042         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
4043         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Likewise.
4044         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
4045         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/siginfo.h: Likewise.
4047         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: New file.
4048         Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>.
4050         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Fix handling of boundary cases.
4052         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Always initialize sign variable.
4053         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
4055         * sysdeps/i386/fpu/libm-test-ulps: Adjust after addition of lgammal.
4057         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Fix typo in last change.
4059 2001-03-04  Andreas Jaeger  <aj@suse.de>
4061         * resolv/tst-aton.c: Add testcase for IP with four periods.
4063         * resolv/inet_addr.c: Don't recognize an IP with four periods.
4064         Patch by Andre' Breiler <A.Breiler@gmx.net>.
4066 2001-02-27  Philip Blundell  <pb@futuretv.com>
4068         * elf/elf.h: Add new ARM definitions from latest (B-01)
4069         specification.  Correct naming of EF_ARM_ALIGN8 et al.
4071 2001-03-04  Ulrich Drepper  <drepper@redhat.com>
4073         * stdio-common/tst-printf.sh: Remove bashisms.
4074         Patch by Matthew Clarke <Matthew_Clarke@mindlink.bc.ca>.
4076 2001-03-03  Ulrich Drepper  <drepper@redhat.com>
4078         * Versions.def: Add libanl definition.
4079         * shlib-versions: Add entry for libanl.
4080         * resolv/Makefile (distribute): Add gai_misc.h and ga_test.c.
4081         (routines): Add gai_sigqueue.
4082         (extra-libs): Add libanl.
4083         (libanl-routines): New variable.
4084         Add rules to build libanl and ga_test.
4085         * resolv/Versions [libc] (GLIBC_2.2.3): Add __gai_sigqueue.
4086         [libanl]: New library.
4087         * resolv/netdb.h: Add definitions for libanl.
4088         * resolv/getaddrinfo_a.c: New file.
4089         * resolv/gai_cancel.c: New file.
4090         * resolv/gai_error.c: New file.
4091         * resolv/gai_misc.c: New file.
4092         * resolv/gai_misc.h: New file.
4093         * resolv/gai_notify.c: New file.
4094         * resolv/gai_suspend.c: New file.
4095         * resolv/ga_test.c: New file.
4096         * sysdeps/generic/gai_sigqueue.c: New file.
4097         * sysdeps/unix/sysv/linux/gai_sigqueue.c: New file.
4098         * sysdeps/generic/bits/siginfo.h: Allow __need_sigevent_t being defined
4099         and provide only that definition.
4100         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Likewise.
4101         * sysdeps/unix/sysv/linux/bits/siginfo.h: Likewise.
4102         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
4103         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Likewise.
4104         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
4105         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/siginfo.h: Likewise.
4107         * rt/aio_misc.c: Fix typos in comments.
4108         * rt/lio_listio.c: Pretty printing.  Little optimization in request
4109         list handling.
4111         * elf/rtld.c: Remove commented out code.
4113         * sysdeps/unix/sysv/linux/linux_fsinfo.h (SHMFS_SUPER_MAGIC):
4114         Update for real 2.4 kernels.
4116 2001-03-01  Ulrich Drepper  <drepper@redhat.com>
4118         * elf/dl-load.c: Pretty printing.
4120         * elf/dl-object.c (_dl_new_object): Don't add the loader's scope
4121         twice.
4123 2001-02-28  Ulrich Drepper  <drepper@redhat.com>
4125         * sysdeps/alpha/dl-machine.h (elf_machine_rela): Don't handle
4126         relocations which are not in ld.so if RTLD_BOOTSTRAP is defined.
4128         * sysdeps/powerpc/dl-machine.c (__process_machine_rela): Fix typo.
4130         * elf/dl-misc.c (_dl_debug_vdprintf): Fix typo visible on 64-bit
4131         machines.
4133         * sysdeps/unix/sysv/linux/powerpc/sysdep.h (C_TEXT): Define.
4135 2001-02-27  Ulrich Drepper  <drepper@redhat.com>
4137         * sysdeps/powerpc/elf/libc-start.c: Use new output functions and
4138         _dl_debug_mask.
4140         * elf/Versions [ld]: Don't export _dl_debug_message anymore.  Export
4141         _dl_debug_printf.
4142         * elf/dl-misc.c: Remove definition of _dl_sysdep_output and
4143         _dl_debug_message.  Define _dl_debug_vdprintf, _dl_debug_printf,
4144         _dl_debug_printf_c, and _dl_printf.
4145         * sysdeps/generic/ldsodefs.h: Don't declare _dl_sysdep_output,
4146         _dl_debug_message, _dl_sysdep_message, _dl_sysdep_error, and
4147         _dl_sysdep_fatal.  Declare _dl_debug_printf, _dl_debug_printf_c,
4148         _dl_printf, _dl_error_printf, and _dl_fatal_printf.
4149         * elf/dl-close.c: Replace use of old output functions with the new
4150         ones.
4151         * elf/dl-deps.c: Likewise.
4152         * elf/dl-error.c: Likewise.
4153         * elf/dl-fini.c: Likewise.
4154         * elf/dl-init.c: Likewise.
4155         * elf/dl-load.c: Likewise.
4156         * elf/dl-lookup.c: Likewise.
4157         * elf/dl-minimal.c: Likewise.
4158         * elf/dl-open.c: Likewise.
4159         * elf/dl-profile.c: Likewise.
4160         * elf/dl-reloc.c: Likewise.
4161         * elf/dl-version.c: Likewise.
4162         * elf/do-lookup.h: Likewise.
4163         * elf/rtld.c: Likewise.
4164         * sysdeps/generic/dl-cache.c: Likewise.
4165         * sysdeps/generic/dl-sysdep.c: Likewise.
4166         * sysdeps/generic/libc-start.c: Likewise.
4167         * sysdeps/i386/dl-machine.h: Likewise.
4168         * sysdeps/arm/dl-machine.h: Likewise.
4169         * sysdeps/hppa/dl-machine.h: Likewise.
4170         * sysdeps/m68k/dl-machine.h: Likewise.
4171         * sysdeps/powerpc/dl-machine.h: Likewise.
4172         * sysdeps/s390/dl-machine.h: Likewise.
4173         * sysdeps/sh/dl-machine.h: Likewise.
4174         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
4175         * sysdeps/unix/sysv/linux/i386/dl-librecon.h: Likewise.
4176         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
4178         * sysdeps/generic/ldsodefs.h: Remove _dl_secure declaration.
4180         * dlfcn/Makefile: Don't run tstatexit test unless .hidden is
4181         supported by assembler.
4183         * sysdeps/generic/ldsodefs.h: Remove commented-out variable
4184         declaractions.
4186         * elf/rtld.c: Little optimizations in handling _dl_lazy.
4188         * elf/cache.c (save_cache): Portability changes.
4189         * elf/dl-profile.c (_dl_start_profile): Likewise.
4191         * elf/sln.c: Cleanups.  Remove arbitrary limits.
4193         * elf/dl-close.c: Replace _dl_debug_* variables with _dl_debug_mask.
4194         * elf/dl-deps.c: Likewise.
4195         * elf/dl-fini.c: Likewise.
4196         * elf/dl-init.c: Likewise.
4197         * elf/dl-load.c: Likewise.
4198         * elf/dl-lookup.c: Likewise.
4199         * elf/dl-open.c: Likewise.
4200         * elf/dl-reloc.c: Likewise.
4201         * elf/dl-support.c: Likewise.
4202         * elf/dl-version.c: Likewise.
4203         * elf/do-lookup.h: Likewise.
4204         * elf/rtld.c: Likewise.
4205         * sysdeps/generic/dl-cache.c: Likewise.
4206         * sysdeps/generic/ldsodefs.h: Likewise.
4207         * sysdeps/generic/libc-start.c: Likewise.
4208         * elf/Versions: Don't export _dl_debug_impcalls and _dl_debug_files.
4209         Export _dl_debug_mask.
4210         * Versions.def: Define GLIBC_2.2.3 for ld.
4212 2001-02-26  Greg McGary  <greg@mcgary.org>
4214         * sysdeps/unix/make-syscalls.sh (ptr): Handle `V' keyletter.
4216 2001-02-26  Paul Eggert  <eggert@twinsun.com>
4218         Modify mkstemp.c and tempname.c so that they can be used by
4219         GNU applications on non-glibc platforms.
4221         * misc/mkstemp.c (__GT_FILE): Define to zero if not defined.
4223         * sysdeps/posix/tempname.c: Include <config.h> if HAVE_CONFIG_H.
4224         Include <stddef.h>, <stdint.h>, <string.h> only if
4225         STDC_HEADERS || _LIBC.
4226         Include <fcntl.h> only if HAVE_FCNTL_H || _LIBC.
4227         Include <unistd.h> only if HAVE_UNISTD_H || _LIBC.
4228         Include <sys/time.h> only if HAVE_SYS_TIME_H || _LIBC.
4229         (__set_errno): Define this macro if <errno.h> doesn't.
4230         (P_tmpdir, TMP_MAX, __GT_FILE, __GT_BIGFILE, __GT_DIR, __GT_NOCREATE):
4231         Define these macros if <stdio.h> doesn't.
4232         (S_ISDIR, S_IRUSR, S_IWUSR, S_IXUSR):
4233         Define these macros if <sys/stat.h> doesn't.
4234         Ignore <sys/stat.h> S_ISDIR if STAT_MACROS_BROKEN.
4235         (stat64, __getpid, __gettimeofday, __mkdir, __open, __open64,
4236         lxstat64, __xstat64): Define if not _LIBC.
4237         (struct_stat64): New macro.
4238         (direxists, __gen_tempname): Use it, to avoid a
4239         portability problem with Solaris 8.
4240         (__secure_getenv): Define if ! (HAVE___SECURE_GETENV || _LIBC).
4241         (__gen_tempname): Invoke gettimeofday only if
4242         HAVE_GETTIMEOFDAY || _LIBC; otherwise, fall back on plain "time".
4243         Use portable macros like S_IRUSR | S_IWUSR rather than nonportable
4244         octal values like 0600.
4246 2001-02-26  Ulrich Drepper  <drepper@redhat.com>
4248         * sysdeps/ieee754/ldbl-96/e_jnl.c: New file.
4249         Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>.
4251         * sysdeps/i386/fpu/libm-test-ulps: Update for jnl and ynl introduction.
4252         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
4254         * posix/wordexp-test.c (testit): Remove warnings.
4256         * dlfcn/Makefile (distribute): Add modatexit.c and modcxaatexit.c.
4257         (tests): Add tstatexit and tstcxaatexit.
4258         (module-names): Add modatexit and modcxaatexit.
4259         Add rules to build and run tstatexit and tstcxaatexit.
4260         * dlfcn/modatexit.c: New file.
4261         * dlfcn/modcxaatexit.c: New file.
4262         * dlfcn/tstatexit.c: New file.
4263         * dlfcn/tstcxaatexit.c: New file.
4265         * io/Makefile: Pass -DHAVE_DOT_HIDDEN to stat and mknod functions if
4266         .hidden is available.
4267         * io/stat.c: If .hidden is available use it to avoid exporting
4268         functions.
4269         * io/fstat.c: Likewise.
4270         * io/lstat.c: Likewise.
4271         * io/stat64.c: Likewise.
4272         * io/fstat64.c: Likewise.
4273         * io/lstat64.c: Likewise.
4274         * sysdeps/generic/mknod.c: Likewise.
4276         * malloc/mtrace.c: Use __cxa_atexit and not atexit.
4277         * sysdeps/generic/bb_init_func.c: Likewise.
4278         * sysdeps/generic/libc-start.c: Likewise.
4280         * stdlib/atexit.c (__new_exitfn): Move to cxa_atexit.c.
4281         (atexit): Implement using __cxa_atexit.
4282         Use .hidden if availble to avoid exporting atexit.
4283         * stdlib/cxa_atexit.c (__new_exitfn): Moved to here from atexit.c.
4284         * stdlib/Versions: Export __new_exitfn for GLIBC_2.2.3.
4285         * stdlib/Makefile (routines): Add old_atexit.
4286         (static-only-routines): Add atexit.
4287         Pass -DHAVE_DOT_HIDDEN for atexit.c if .hidden is available.
4288         * stdlib/old_atexit.c: New file.
4290         * intl/Makefile: Remove bogus endif.
4292 2001-02-26  Andreas Jaeger  <aj@suse.de>
4294         * iconvdata/Makefile (tests): Fix typo in last patch.
4296         * intl/Makefile (tests): Run mtrace-tst-gettext only when perl is
4297         available.
4298         Reported by Achim Gottinger <achim@gentoo.org>.
4300 2001-02-25  Andreas Jaeger  <aj@suse.de>
4302         * intl/Makefile (plural.c): Reorder rules so that they work if
4303         BISON doesn't exist.
4305 2001-02-25  Ulrich Drepper  <drepper@redhat.com>
4307         * intl/locale.alias: Don't use nb_NO but define aliases for it.
4309 2001-02-23  Ulrich Drepper  <drepper@redhat.com>
4311         * sysdeps/i386/strtok.S: Continue to return NULL after the first
4312         time this happened.
4314 2001-02-23  Andreas Jaeger  <aj@suse.de>
4316         * string/tester.c (test_strtok_r): Add testcase.
4317         (test_strtok_r): Always initialize cp for proper checking.
4319         * sysdeps/generic/strtok.c (strtok): Handle case of first strtok
4320         returning NULL correctly.
4321         Patch by Fumitoshi UKAI <ukai@debian.or.jp>.
4322         * sysdeps/generic/strtok_r.c (__strtok_r): Likewise.
4324 2001-02-23  Ulrich Drepper  <drepper@redhat.com>
4326         * sysdeps/unix/sysv/aix/bits/types.h: Define __need_NULL before
4327         including <stddef.h>.
4328         * sysdeps/unix/sysv/aix/write.c: Define alias __libc_write.
4329         * include/libc-symbols.h (weak_alias): Don't use .weak if
4330         HAVE_ASM_GLOBAL_DOT_NAME is defined.
4331         Patches by Michael Keezer <mkeezer@redhat.com>.
4333         * sysdeps/generic/ftime.c: Don't include <sys/time.h> at all.
4334         Patch by Michael Keezer <mkeezer@redhat.com>.
4336         * sysdeps/unix/sysv/aix/Dist: Remove restf.S and savef.S.
4337         * sysdeps/unix/sysv/aix/Makefile [$(subdir) == misc]
4338         (sysdep_routines): Remove restf.S and savef.S.
4339         * sysdeps/unix/sysv/aix/restf.S. Removed.
4340         * sysdeps/unix/sysv/aix/savef.S. Removed.
4341         * sysdeps/powerpc/fprrest.S: Use C_TEXT to define label.  Also define
4342         alternative names used on some platforms.
4343         * sysdeps/powerpc/fprsave.S: Likewise.
4344         * sysdeps/powerpc/gprrest0.S: Likewise.
4345         * sysdeps/powerpc/gprrest1.S: Likewise.
4346         * sysdeps/powerpc/gprsave0.S: Likewise.
4347         * sysdeps/powerpc/gprsave1.S: Likewise.
4348         Patch by Michael Keezer <mkeezer@redhat.com>.
4350 2001-02-22  Ulrich Drepper  <drepper@redhat.com>
4352         * sysdeps/i386/elf/start.S (_fp_hw): Actually define label.
4354 2001-02-22  Andreas Jaeger  <aj@suse.de>
4356         * string/tst-strtok.c (main): Fix error messages.
4358 2001-02-22  Andreas Jaeger  <aj@suse.de>
4360         * math/Makefile: Remove omit-long-double-fcts.
4362 2001-02-18  Maciej W. Rozycki  <macro@ds2.pg.gda.pl>
4364         * sysdeps/mips/bsd-_setjmp.S (_setjmp): Reorder instructions to
4365         avoid problems on MIPS I.
4366         * sysdeps/mips/bsd-setjmp.S (setjmp): Likewise.
4368         * sysdeps/mips/dl-machine.h (RTLD_START): Remove duplicate ".set
4369         noreorder".
4371 2001-02-21  Ulrich Drepper  <drepper@redhat.com>
4373         * posix/fnmatch_loop.c: Handle ranges outside glibc correctly.
4375         * sysdeps/generic/ftime.c: Include <time.h>.
4377         * configure.in: Don't check for libgd if user passed --without-gd.
4378         Patch by Achim Gottinger <achim@gentoo.org>.
4380         * sysdeps/i386/i686/strtok.S: Continue to return NULL after the
4381         first time this happened.
4382         * string/Makefile (tests): Add tst-strtok.
4384 2001-02-21  Andreas Jaeger  <aj@suse.de>
4386         * string/tst-strtok.c: New testcase, reported by
4387         Andrew Church <achurch@achurch.org>.
4389 2001-02-20  Ulrich Drepper  <drepper@redhat.com>
4391         * libio/iofwide.c: Remove fwide alias.
4393 2001-02-20  Andreas Jaeger  <aj@suse.de>
4395         * iconvdata/Makefile (tests): Only run mtrace-tst-loading if perl
4396         is available.
4397         Reported by Achim Gottinger <achim@gentoo.org>.
4399 2001-02-19  Ulrich Drepper  <drepper@redhat.com>
4401         * iconv/tst-iconv1.c (main): Remove debugging code.
4403         * sysdeps/ieee754/flt-32/e_powf.c: Handle x == +-1 correctly.
4404         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
4406         * sysdeps/generic/e_scalb.c: Set invalid exception for invalid
4407         parameters.
4408         * sysdeps/generic/e_scalbf.c: Likewise.
4409         * sysdeps/generic/e_scalbl.c: Likewise.
4411         * sysdeps/ia64/fpu/Makefile (libm-sysdep-routines): Add libm_error,
4412         libm_frexp4, libm_frexp4f, libm_frexp4l, and all the functions also
4413         in libc.
4414         (routines): Replace libm_error with libc_libm_error.
4415         * sysdeps/ia64/fpu/Dist: Add libc_libm_error.c.
4416         * sysdeps/ia64/fpu/libc_libm_error.c: New file.
4418 2001-02-18  Mark Kettenis  <kettenis@gnu.org>
4420         * malloc/mtrace.c [USE_IN_LIBIO]: Define fopen as _IO_fopen64.
4421         (mtrace): Revert 2001-02-13 patch: use fopen instead of fopen64.
4423 2001-02-17  H.J. Lu  <hjl@gnu.org>
4425         * sysdeps/unix/sysv/linux/ia64/clone2.S: Use clone2 and don't use
4426         scratch registers across the system call.
4428 2001-02-19  Andreas Jaeger  <aj@suse.de>
4430         * malloc/Makefile (tests): Run mtrace only when perl is available.
4431         Reported by Achim Gottinger <achim@gentoo.org>.
4433 2001-02-19  Ulrich Drepper  <drepper@redhat.com>
4435         * sysdeps/ieee754/ldbl-96/e_j1l.c: New file.
4436         Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>.
4438         * sysdeps/i386/fpu/libm-test-ulps: Adjust error values for j1 and y1.
4439         * sysdeps/ia64/fpu/libm-test-ulps: Adjust error values for y1.
4440         * math/libm-test.inc (j1_test): Mark constants as long double.
4441         (jn_test): Likewise.
4442         (y1_test): Likewise.
4443         (yn_test): Likewise.
4445         * libio/iogetline.c: Move return until after last statement.
4447         * localedata/show-ucs-data.c: Don't show < > for better readability.
4449         * sysdeps/ia64/fpu/Dist: New file.
4450         * sysdeps/ia64/fpu/Makefile: New file.
4451         * sysdeps/ia64/fpu/Versions: New file.
4452         * sysdeps/ia64/fpu/e_acos.S: New file.
4453         * sysdeps/ia64/fpu/e_acosf.S: New file.
4454         * sysdeps/ia64/fpu/e_acosl.S: New file.
4455         * sysdeps/ia64/fpu/e_asin.S: New file.
4456         * sysdeps/ia64/fpu/e_asinf.S: New file.
4457         * sysdeps/ia64/fpu/e_asinl.S: New file.
4458         * sysdeps/ia64/fpu/e_atan2.S: New file.
4459         * sysdeps/ia64/fpu/e_atan2f.S: New file.
4460         * sysdeps/ia64/fpu/e_atan2l.c: New file.
4461         * sysdeps/ia64/fpu/e_cosh.S: New file.
4462         * sysdeps/ia64/fpu/e_coshf.S: New file.
4463         * sysdeps/ia64/fpu/e_coshl.S: New file.
4464         * sysdeps/ia64/fpu/e_exp.S: New file.
4465         * sysdeps/ia64/fpu/e_expf.S: New file.
4466         * sysdeps/ia64/fpu/e_expl.c: New file.
4467         * sysdeps/ia64/fpu/e_fmod.S: New file.
4468         * sysdeps/ia64/fpu/e_fmodf.S: New file.
4469         * sysdeps/ia64/fpu/e_fmodl.S: New file.
4470         * sysdeps/ia64/fpu/e_hypot.S: New file.
4471         * sysdeps/ia64/fpu/e_hypotf.S: New file.
4472         * sysdeps/ia64/fpu/e_hypotl.S: New file.
4473         * sysdeps/ia64/fpu/e_log.S: New file.
4474         * sysdeps/ia64/fpu/e_log10.c: New file.
4475         * sysdeps/ia64/fpu/e_log10f.c: New file.
4476         * sysdeps/ia64/fpu/e_log10l.c: New file.
4477         * sysdeps/ia64/fpu/e_logf.S: New file.
4478         * sysdeps/ia64/fpu/e_logl.c: New file.
4479         * sysdeps/ia64/fpu/e_pow.S: New file.
4480         * sysdeps/ia64/fpu/e_powf.S: New file.
4481         * sysdeps/ia64/fpu/e_powl.S: New file.
4482         * sysdeps/ia64/fpu/e_rem_pio2.c: New file.
4483         * sysdeps/ia64/fpu/e_rem_pio2f.c: New file.
4484         * sysdeps/ia64/fpu/e_remainder.S: New file.
4485         * sysdeps/ia64/fpu/e_remainderf.S: New file.
4486         * sysdeps/ia64/fpu/e_remainderl.S: New file.
4487         * sysdeps/ia64/fpu/e_scalb.S: New file.
4488         * sysdeps/ia64/fpu/e_scalbf.S: New file.
4489         * sysdeps/ia64/fpu/e_scalbl.S: New file.
4490         * sysdeps/ia64/fpu/e_sinh.S: New file.
4491         * sysdeps/ia64/fpu/e_sinhf.S: New file.
4492         * sysdeps/ia64/fpu/e_sinhl.S: New file.
4493         * sysdeps/ia64/fpu/e_sqrt.S: New file.
4494         * sysdeps/ia64/fpu/e_sqrtf.S: New file.
4495         * sysdeps/ia64/fpu/e_sqrtl.S: New file.
4496         * sysdeps/ia64/fpu/k_rem_pio2.c: New file.
4497         * sysdeps/ia64/fpu/k_rem_pio2f.c: New file.
4498         * sysdeps/ia64/fpu/k_rem_pio2l.c: New file.
4499         * sysdeps/ia64/fpu/libm_atan2_reg.S: New file.
4500         * sysdeps/ia64/fpu/libm_error.c: New file.
4501         * sysdeps/ia64/fpu/libm_frexp4.S: New file.
4502         * sysdeps/ia64/fpu/libm_frexp4f.S: New file.
4503         * sysdeps/ia64/fpu/libm_frexp4l.S: New file.
4504         * sysdeps/ia64/fpu/libm_reduce.S: New file.
4505         * sysdeps/ia64/fpu/libm_support.h: New file.
4506         * sysdeps/ia64/fpu/libm_tan.S: New file.
4507         * sysdeps/ia64/fpu/s_atan.S: New file.
4508         * sysdeps/ia64/fpu/s_atanf.S: New file.
4509         * sysdeps/ia64/fpu/s_atanl.S: New file.
4510         * sysdeps/ia64/fpu/s_cbrt.S: New file.
4511         * sysdeps/ia64/fpu/s_cbrtf.S: New file.
4512         * sysdeps/ia64/fpu/s_cbrtl.S: New file.
4513         * sysdeps/ia64/fpu/s_ceil.S: New file.
4514         * sysdeps/ia64/fpu/s_ceilf.S: New file.
4515         * sysdeps/ia64/fpu/s_ceill.S: New file.
4516         * sysdeps/ia64/fpu/s_cos.S: New file.
4517         * sysdeps/ia64/fpu/s_cosf.S: New file.
4518         * sysdeps/ia64/fpu/s_cosl.S: New file.
4519         * sysdeps/ia64/fpu/s_expm1.S: New file.
4520         * sysdeps/ia64/fpu/s_expm1f.S: New file.
4521         * sysdeps/ia64/fpu/s_expm1l.S: New file.
4522         * sysdeps/ia64/fpu/s_floor.S: New file.
4523         * sysdeps/ia64/fpu/s_floorf.S: New file.
4524         * sysdeps/ia64/fpu/s_floorl.S: New file.
4525         * sysdeps/ia64/fpu/s_frexp.c: New file.
4526         * sysdeps/ia64/fpu/s_frexpf.c: New file.
4527         * sysdeps/ia64/fpu/s_frexpl.c: New file.
4528         * sysdeps/ia64/fpu/s_ilogb.S: New file.
4529         * sysdeps/ia64/fpu/s_ilogbf.S: New file.
4530         * sysdeps/ia64/fpu/s_ilogbl.S: New file.
4531         * sysdeps/ia64/fpu/s_ldexp.S: New file.
4532         * sysdeps/ia64/fpu/s_ldexpf.S: New file.
4533         * sysdeps/ia64/fpu/s_ldexpl.S: New file.
4534         * sysdeps/ia64/fpu/s_log1p.S: New file.
4535         * sysdeps/ia64/fpu/s_log1pf.S: New file.
4536         * sysdeps/ia64/fpu/s_log1pl.S: New file.
4537         * sysdeps/ia64/fpu/s_logb.S: New file.
4538         * sysdeps/ia64/fpu/s_logbf.S: New file.
4539         * sysdeps/ia64/fpu/s_logbl.S: New file.
4540         * sysdeps/ia64/fpu/s_matherrf.c: New file.
4541         * sysdeps/ia64/fpu/s_matherrl.c: New file.
4542         * sysdeps/ia64/fpu/s_modf.S: New file.
4543         * sysdeps/ia64/fpu/s_modff.S: New file.
4544         * sysdeps/ia64/fpu/s_modfl.S: New file.
4545         * sysdeps/ia64/fpu/s_nearbyint.S: New file.
4546         * sysdeps/ia64/fpu/s_nearbyintf.S: New file.
4547         * sysdeps/ia64/fpu/s_nearbyintl.S: New file.
4548         * sysdeps/ia64/fpu/s_rint.S: New file.
4549         * sysdeps/ia64/fpu/s_rintf.S: New file.
4550         * sysdeps/ia64/fpu/s_rintl.S: New file.
4551         * sysdeps/ia64/fpu/s_round.S: New file.
4552         * sysdeps/ia64/fpu/s_roundf.S: New file.
4553         * sysdeps/ia64/fpu/s_roundl.S: New file.
4554         * sysdeps/ia64/fpu/s_scalbn.S: New file.
4555         * sysdeps/ia64/fpu/s_scalbnf.S: New file.
4556         * sysdeps/ia64/fpu/s_scalbnl.S: New file.
4557         * sysdeps/ia64/fpu/s_significand.S: New file.
4558         * sysdeps/ia64/fpu/s_significandf.S: New file.
4559         * sysdeps/ia64/fpu/s_significandl.S: New file.
4560         * sysdeps/ia64/fpu/s_sin.c: New file.
4561         * sysdeps/ia64/fpu/s_sincos.c: New file.
4562         * sysdeps/ia64/fpu/s_sincosf.c: New file.
4563         * sysdeps/ia64/fpu/s_sincosl.c: New file.
4564         * sysdeps/ia64/fpu/s_sinf.c: New file.
4565         * sysdeps/ia64/fpu/s_sinl.c: New file.
4566         * sysdeps/ia64/fpu/s_tan.S: New file.
4567         * sysdeps/ia64/fpu/s_tanf.S: New file.
4568         * sysdeps/ia64/fpu/s_tanl.S: New file.
4569         * sysdeps/ia64/fpu/s_trunc.S: New file.
4570         * sysdeps/ia64/fpu/s_truncf.S: New file.
4571         * sysdeps/ia64/fpu/s_truncl.S: New file.
4572         * sysdeps/ia64/fpu/w_acos.c: New file.
4573         * sysdeps/ia64/fpu/w_acosf.c: New file.
4574         * sysdeps/ia64/fpu/w_acosl.c: New file.
4575         * sysdeps/ia64/fpu/w_asin.c: New file.
4576         * sysdeps/ia64/fpu/w_asinf.c: New file.
4577         * sysdeps/ia64/fpu/w_asinl.c: New file.
4578         * sysdeps/ia64/fpu/w_atan2.c: New file.
4579         * sysdeps/ia64/fpu/w_atan2f.c: New file.
4580         * sysdeps/ia64/fpu/w_atan2l.c: New file.
4581         * sysdeps/ia64/fpu/w_cosh.c: New file.
4582         * sysdeps/ia64/fpu/w_coshf.c: New file.
4583         * sysdeps/ia64/fpu/w_coshl.c: New file.
4584         * sysdeps/ia64/fpu/w_exp.c: New file.
4585         * sysdeps/ia64/fpu/w_expf.c: New file.
4586         * sysdeps/ia64/fpu/w_fmod.c: New file.
4587         * sysdeps/ia64/fpu/w_fmodf.c: New file.
4588         * sysdeps/ia64/fpu/w_fmodl.c: New file.
4589         * sysdeps/ia64/fpu/w_hypot.c: New file.
4590         * sysdeps/ia64/fpu/w_hypotf.c: New file.
4591         * sysdeps/ia64/fpu/w_hypotl.c: New file.
4592         * sysdeps/ia64/fpu/w_log.c: New file.
4593         * sysdeps/ia64/fpu/w_log10.c: New file.
4594         * sysdeps/ia64/fpu/w_log10f.c: New file.
4595         * sysdeps/ia64/fpu/w_log10l.c: New file.
4596         * sysdeps/ia64/fpu/w_logf.c: New file.
4597         * sysdeps/ia64/fpu/w_logl.c: New file.
4598         * sysdeps/ia64/fpu/w_pow.c: New file.
4599         * sysdeps/ia64/fpu/w_powf.c: New file.
4600         * sysdeps/ia64/fpu/w_powl.c: New file.
4601         * sysdeps/ia64/fpu/w_remainder.c: New file.
4602         * sysdeps/ia64/fpu/w_remainderf.c: New file.
4603         * sysdeps/ia64/fpu/w_remainderl.c: New file.
4604         * sysdeps/ia64/fpu/w_scalb.c: New file.
4605         * sysdeps/ia64/fpu/w_scalbf.c: New file.
4606         * sysdeps/ia64/fpu/w_scalbl.c: New file.
4607         * sysdeps/ia64/fpu/w_sqrt.c: New file.
4608         * sysdeps/ia64/fpu/w_sqrtf.c: New file.
4609         * sysdeps/ia64/fpu/w_sqrtl.c: New file.
4610         * sysdeps/ia64/fpu/libm-test-ulps: Adjust for long double
4611         implementation.
4612         * sysdeps/ia64/fpu/bits/mathdef.h: Correct float_t and double_t types.
4613         Change FP_ILOGBNAN for new implementation.
4614         * Verions.def: Add 2.2.3 versions.
4616 2001-02-18  Ulrich Drepper  <drepper@redhat.com>
4618         * math/libm-test.inc (scalb_test): Require invalid exception being
4619         raised for invalid parameters.
4620         * sysdeps/i386/fpu/e_scalb.S: Raise invalid exception if necessary.
4621         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
4622         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
4624 2001-02-18  Mark Kettenis  <kettenis@gnu.org>
4626         * sysdeps/mach/getsysstats.c (__get_phys_pages): Change return
4627         value to long int.
4628         (__get_avphys_pages): Likewise.
4630 2001-02-18  Ulrich Drepper  <drepper@redhat.com>
4632         * math/libm-test.inc (pow_test): Correct expected results for x == +-1.
4633         * sysdeps/i386/fpu/e_pow.S: Handle x == +-1 correctly.
4634         * sysdeps/i386/fpu/e_powf.S: Likewise.
4635         * sysdeps/i386/fpu/e_powl.S: Likewise.
4637         * sysdeps/i386/fpu/bits/mathinline.h: Remove pow inline code.
4639 2001-02-17  Ulrich Drepper  <drepper@redhat.com>
4641         * math/Makefile (libm-calls): It's e_exp2 not s_exp2.
4643         * sysdeps/generic/s_exp2l.c: Renamed to...
4644         * sysdeps/generic/e_exp2l.c: ...this.   New file.
4645         * sysdeps/i386/fpu/s_exp2.S: Renamed to...
4646         * sysdeps/i386/fpu/e_exp2.S: ...this.   New file.
4647         * sysdeps/i386/fpu/s_exp2f.S: Renamed to...
4648         * sysdeps/i386/fpu/e_exp2f.S: ...this.   New file.
4649         * sysdeps/i386/fpu/s_exp2l.S: Renamed to...
4650         * sysdeps/i386/fpu/e_exp2l.S: ...this.   New file.
4651         * sysdeps/ieee754/flt-32/s_exp2f.c: Renamed to...
4652         * sysdeps/ieee754/flt-32/e_exp2f.c: ...this.   New file.
4653         * sysdeps/ieee754/dbl-64/s_exp2.c: Renamed to...
4654         * sysdeps/ieee754/dbl-64/e_exp2.c: ...this.   New file.
4655         * sysdeps/m68k/fpu/s_exp2.c: Renamed to...
4656         * sysdeps/m68k/fpu/e_exp2.c: ...this.   New file.
4657         * sysdeps/m68k/fpu/s_exp2f.c: Renamed to...
4658         * sysdeps/m68k/fpu/e_exp2f.c: ...this.   New file.
4659         * sysdeps/m68k/fpu/s_exp2l.c: Renamed to...
4660         * sysdeps/m68k/fpu/e_exp2l.c: ...this.   New file.
4662 2001-02-17  Andreas Jaeger  <aj@suse.de>
4664         * configure.in: Allow gcc 3.
4666 2001-02-16  Ulrich Drepper  <drepper@redhat.com>
4668         * math/w_acos.c: Move to ...
4669         * sysdeps/generic/w_acos.c: ...here.  New file.
4670         * math/w_acosf.c: Move to ...
4671         * sysdeps/generic/w_acosf.c: ...here.  New file.
4672         * math/w_acosh.c: Move to ...
4673         * sysdeps/generic/w_acosh.c: ...here.  New file.
4674         * math/w_acoshf.c: Move to ...
4675         * sysdeps/generic/w_acoshf.c: ...here.  New file.
4676         * math/w_acoshl.c: Move to ...
4677         * sysdeps/generic/w_acoshl.c: ...here.  New file.
4678         * math/w_acosl.c: Move to ...
4679         * sysdeps/generic/w_acosl.c: ...here.  New file.
4680         * math/w_asin.c: Move to ...
4681         * sysdeps/generic/w_asin.c: ...here.  New file.
4682         * math/w_asinf.c: Move to ...
4683         * sysdeps/generic/w_asinf.c: ...here.  New file.
4684         * math/w_asinl.c: Move to ...
4685         * sysdeps/generic/w_asinl.c: ...here.  New file.
4686         * math/w_atan2.c: Move to ...
4687         * sysdeps/generic/w_atan2.c: ...here.  New file.
4688         * math/w_atan2f.c: Move to ...
4689         * sysdeps/generic/w_atan2f.c: ...here.  New file.
4690         * math/w_atan2l.c: Move to ...
4691         * sysdeps/generic/w_atan2l.c: ...here.  New file.
4692         * math/w_atanh.c: Move to ...
4693         * sysdeps/generic/w_atanh.c: ...here.  New file.
4694         * math/w_atanhf.c: Move to ...
4695         * sysdeps/generic/w_atanhf.c: ...here.  New file.
4696         * math/w_atanhl.c: Move to ...
4697         * sysdeps/generic/w_atanhl.c: ...here.  New file.
4698         * math/w_cosh.c: Move to ...
4699         * sysdeps/generic/w_cosh.c: ...here.  New file.
4700         * math/w_coshf.c: Move to ...
4701         * sysdeps/generic/w_coshf.c: ...here.  New file.
4702         * math/w_coshl.c: Move to ...
4703         * sysdeps/generic/w_coshl.c: ...here.  New file.
4704         * math/w_drem.c: Move to ...
4705         * sysdeps/generic/w_drem.c: ...here.  New file.
4706         * math/w_dremf.c: Move to ...
4707         * sysdeps/generic/w_dremf.c: ...here.  New file.
4708         * math/w_dreml.c: Move to ...
4709         * sysdeps/generic/w_dreml.c: ...here.  New file.
4710         * math/w_exp10.c: Move to ...
4711         * sysdeps/generic/w_exp10.c: ...here.  New file.
4712         * math/w_exp10f.c: Move to ...
4713         * sysdeps/generic/w_exp10f.c: ...here.  New file.
4714         * math/w_exp10l.c: Move to ...
4715         * sysdeps/generic/w_exp10l.c: ...here.  New file.
4716         * math/w_exp2.c: Move to ...
4717         * sysdeps/generic/w_exp2.c: ...here.  New file.
4718         * math/w_exp2f.c: Move to ...
4719         * sysdeps/generic/w_exp2f.c: ...here.  New file.
4720         * math/w_exp2l.c: Move to ...
4721         * sysdeps/generic/w_exp2l.c: ...here.  New file.
4722         * math/w_fmod.c: Move to ...
4723         * sysdeps/generic/w_fmod.c: ...here.  New file.
4724         * math/w_fmodf.c: Move to ...
4725         * sysdeps/generic/w_fmodf.c: ...here.  New file.
4726         * math/w_fmodl.c: Move to ...
4727         * sysdeps/generic/w_fmodl.c: ...here.  New file.
4728         * math/w_hypot.c: Move to ...
4729         * sysdeps/generic/w_hypot.c: ...here.  New file.
4730         * math/w_hypotf.c: Move to ...
4731         * sysdeps/generic/w_hypotf.c: ...here.  New file.
4732         * math/w_hypotl.c: Move to ...
4733         * sysdeps/generic/w_hypotl.c: ...here.  New file.
4734         * math/w_j0.c: Move to ...
4735         * sysdeps/generic/w_j0.c: ...here.  New file.
4736         * math/w_j0f.c: Move to ...
4737         * sysdeps/generic/w_j0f.c: ...here.  New file.
4738         * math/w_j0l.c: Move to ...
4739         * sysdeps/generic/w_j0l.c: ...here.  New file.
4740         * math/w_j1.c: Move to ...
4741         * sysdeps/generic/w_j1.c: ...here.  New file.
4742         * math/w_j1f.c: Move to ...
4743         * sysdeps/generic/w_j1f.c: ...here.  New file.
4744         * math/w_j1l.c: Move to ...
4745         * sysdeps/generic/w_j1l.c: ...here.  New file.
4746         * math/w_jn.c: Move to ...
4747         * sysdeps/generic/w_jn.c: ...here.  New file.
4748         * math/w_jnf.c: Move to ...
4749         * sysdeps/generic/w_jnf.c: ...here.  New file.
4750         * math/w_jnl.c: Move to ...
4751         * sysdeps/generic/w_jnl.c: ...here.  New file.
4752         * math/w_lgamma.c: Move to ...
4753         * sysdeps/generic/w_lgamma.c: ...here.  New file.
4754         * math/w_lgammaf.c: Move to ...
4755         * sysdeps/generic/w_lgammaf.c: ...here.  New file.
4756         * math/w_lgammaf_r.c: Move to ...
4757         * sysdeps/generic/w_lgammaf_r.c: ...here.  New file.
4758         * math/w_lgammal.c: Move to ...
4759         * sysdeps/generic/w_lgammal.c: ...here.  New file.
4760         * math/w_lgammal_r.c: Move to ...
4761         * sysdeps/generic/w_lgammal_r.c: ...here.  New file.
4762         * math/w_lgamma_r.c: Move to ...
4763         * sysdeps/generic/w_lgamma_r.c: ...here.  New file.
4764         * math/w_log10.c: Move to ...
4765         * sysdeps/generic/w_log10.c: ...here.  New file.
4766         * math/w_log10f.c: Move to ...
4767         * sysdeps/generic/w_log10f.c: ...here.  New file.
4768         * math/w_log10l.c: Move to ...
4769         * sysdeps/generic/w_log10l.c: ...here.  New file.
4770         * math/w_log.c: Move to ...
4771         * sysdeps/generic/w_log.c: ...here.  New file.
4772         * math/w_logf.c: Move to ...
4773         * sysdeps/generic/w_logf.c: ...here.  New file.
4774         * math/w_logl.c: Move to ...
4775         * sysdeps/generic/w_logl.c: ...here.  New file.
4776         * math/w_pow.c: Move to ...
4777         * sysdeps/generic/w_pow.c: ...here.  New file.
4778         * math/w_powf.c: Move to ...
4779         * sysdeps/generic/w_powf.c: ...here.  New file.
4780         * math/w_powl.c: Move to ...
4781         * sysdeps/generic/w_powl.c: ...here.  New file.
4782         * math/w_remainder.c: Move to ...
4783         * sysdeps/generic/w_remainder.c: ...here.  New file.
4784         * math/w_remainderf.c: Move to ...
4785         * sysdeps/generic/w_remainderf.c: ...here.  New file.
4786         * math/w_remainderl.c: Move to ...
4787         * sysdeps/generic/w_remainderl.c: ...here.  New file.
4788         * math/w_scalb.c: Move to ...
4789         * sysdeps/generic/w_scalb.c: ...here.  New file.
4790         * math/w_scalbf.c: Move to ...
4791         * sysdeps/generic/w_scalbf.c: ...here.  New file.
4792         * math/w_scalbl.c: Move to ...
4793         * sysdeps/generic/w_scalbl.c: ...here.  New file.
4794         * math/w_sinh.c: Move to ...
4795         * sysdeps/generic/w_sinh.c: ...here.  New file.
4796         * math/w_sinhf.c: Move to ...
4797         * sysdeps/generic/w_sinhf.c: ...here.  New file.
4798         * math/w_sinhl.c: Move to ...
4799         * sysdeps/generic/w_sinhl.c: ...here.  New file.
4800         * math/w_sqrtl.c: Move to ...
4801         * sysdeps/generic/w_sqrtl.c: ...here.  New file.
4802         * math/w_tgamma.c: Move to ...
4803         * sysdeps/generic/w_tgamma.c: ...here.  New file.
4804         * math/w_tgammaf.c: Move to ...
4805         * sysdeps/generic/w_tgammaf.c: ...here.  New file.
4806         * math/w_tgammal.c: Move to ...
4807         * sysdeps/generic/w_tgammal.c: ...here.  New file.
4809         * locale/programs/ld-address.c (address_finish): Add 'S' to allow
4810         formats for postal_fmt.
4812 2001-02-16  Jakub Jelinek  <jakub@redhat.com>
4814         * sysdeps/unix/sysv/linux/alpha/syscalls.list (ftruncate): Add
4815         __ftruncate64 alias.
4816         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (ftruncate):
4817         Likewise.
4819 2001-02-15  David Mosberger  <davidm@hpl.hp.com>
4821         * sysdeps/unix/sysv/linux/ia64/__longjmp.S (__longjmp): No need to
4822         do "loadrs".  Writing to bspstore already takes care of
4823         invalidating the "clean" partition.
4825 2001-02-16  Andreas Schwab  <schwab@suse.de>
4827         * sysdeps/m68k/fpu/s_nextafterl.c: New file.
4828         * sysdeps/m68k/fpu/s_fpclassifyl.c: New file.
4830 2001-02-15  Jakub Jelinek  <jakub@redhat.com>
4832         * posix/regex.c (init_syntax_once): Add prototype.
4833         (TRANSLATE): If MBS_SUPPORT, translate all characters up to '\xff'.
4834         (re_search_2): Avoid warning.
4835         (count_mbs_length): Add prototype.
4836         * posix/tst-regex3.c: New file.
4837         * posix/Makefile (tests): Add bug-regex3.
4839 2001-02-15  Ulrich Drepper  <drepper@redhat.com>
4841         * stdio-common/Makefile (tests): Add tst-gets.
4842         * stdio-common/tst-gets.c: New file.
4843         * stdio-common/tst-gets.input: New file.
4845         * elf/elf.h (DT_CHECKSUM): Define.
4847         * sysdeps/generic/strtoll.c: Don't export __strto*_internal as
4848         default symbol.
4849         * sysdeps/generic/strtoull.c: Likewise.
4851 2001-02-14  Wolfram Gloger  <wg@malloc.de>
4853         * malloc/malloc.c (new_heap): When allocating large chunk aligned
4854         to HEAP_MAX_SIZE, prefer one with lower address, to avoid `holes'
4855         between the heaps.
4857 2001-02-14  Ulrich Drepper  <drepper@redhat.com>
4859         * math/libm-test.inc (j0_test): Check whether sincos is available.
4860         (j1_test): Likewise.
4861         (jn_test): Likewise.
4862         (y0_test): Likewise.
4863         (y1_test): Likewise.
4864         (yn_test): Likewise.
4866         * posix/tst-gnuglob.c: Make a few entries DT_UNKNOWN and teach
4867         fake filesystem routines to handle this.
4869         * time/sys/time.h: Make settimeofday and adjtime available if
4870         _BSD_SOURCE.
4872         * time/sys/time.h: Make timer* macros available for BSD.
4874         * iconvdata/gb18030.c: Update for Dec 2000 re-release of GB18030.
4875         Patch by Yong Li <rigel863@yahoo.com>.
4877         * sysdeps/generic/glob.c (CONVERT_DIRENT_DIRENT64): Fix copying of
4878         name.
4880         * posix/Makefile (tests): Add tst-gnuglob.
4881         * posix/tst-gnuglob.c: New file.
4883 2001-02-13  H.J. Lu  <hjl@gnu.org>
4885         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add __ftruncate64.
4887 2001-02-13  Ulrich Drepper  <drepper@redhat.com>
4889         * locale/programs/ld-paper.c (paper_output): Pretty printing.
4891         * iconvdata/Makefile (modules): Add GBBIG5.
4892         (distribute): Add gbbig5.c.
4893         * iconvdata/gconv-modules: Add entries for GBBIG5 module.
4895         * iconvdata/gbbig5.c: New file.
4896         Contributed by Yong Li <rigel863@yahoo.com>.
4898 2001-02-13  Philip Blundell  <pb@futuretv.com>
4900         * manual/crypt.texi: Remove outdated references to crypt add-on.
4902         * manual/creature.texi: Improve wording slightly.
4904 2001-02-13  Ulrich Drepper  <drepper@redhat.com>
4906         * io/ftw.c: Always use readdir64.
4907         * io/ftw64.c: Likewise.
4908         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
4909         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
4910         * sysdeps/generic/glob.c: Likewise.  Convert results of gl_readdir
4911         callback to dirent.  Still allow compiling outside glibc.
4912         * sysdeps/gnu/glob64.c: Define COMPILE_GLOB64.
4913         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
4915         * malloc/mtrace.c: Use fopen64.
4916         * posix/spawni.c: Use __open64.
4917         * sysdeps/unix/opendir.c: Likewise.
4918         * sysdeps/unix/sysv/linux/gethostid.c: Likewise.
4920         * sysdeps/generic/ftruncate64.c: Define __ftruncate64 and make old
4921         name a weak alias.
4922         * sysdeps/unix/sysv/aix/ftruncate64.c: Likewise.
4923         * sysdeps/unix/sysv/linux/ftruncate64.c: Likewise.
4924         * sysdeps/unix/sysv/linux/mips/ftruncate64.c: Likewise.
4925         * sysdeps/unix/sysv/linux/powerpc/ftruncate64.c: Likewise.
4927         * resolv/res_data.c: Add cast to avoid warning.
4929         * include/unistd.h: Declare __ftruncate64.
4931         * sysdeps/generic/utmp_file.c: Use LFS functions and types.
4933         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use __lseek64
4934         instead of __lseek.
4936 2001-02-13  Andreas Jaeger  <aj@suse.de>
4938         * login/getutent_r.c: Include <stdlib.h> for NULL.
4939         * login/getutid_r.c: Likewise.
4941 2001-02-12  Ulrich Drepper  <drepper@redhat.com>
4943         * sysdeps/dbl-64/e_j0.c: Little optimization, use sincos.
4944         * sysdeps/dbl-64/e_j1.c: Likewise.
4945         * sysdeps/dbl-64/e_jn.c: Likewise.
4946         * sysdeps/flt-32/e_j0f.c: Likewise.
4947         * sysdeps/flt-32/e_j1f.c: Likewise.
4948         * sysdeps/ldbl-96/e_j0l.c: Likewise.
4950 2000-12-02  H.J. Lu  <hjl@gnu.org>
4952         * resolv/res_libc.c (res_init): Don't make it default.
4954 2001-02-12  Ulrich Drepper  <drepper@redhat.com>
4956         * manual/debug.texi: Improved the wording.
4957         Patch by Philip Blundell <pb@futuretv.com>.
4959 2001-02-12  Andreas Jaeger  <aj@suse.de>
4961         * posix/Makefile (tests): Don't run bug-regex2 when
4962         cross-compiling.
4964         * libio/Makefile (tests): Don't run test-freopen when
4965         cross-compiling.
4967         * manual/stdio.texi (Streams and I18N): Fix typos.
4969 2001-02-12  Ulrich Drepper  <drepper@redhat.com>
4971         * sysdeps/i386/fpu/libm-test-ulps: Adjust for errors in y0l.
4973         * math/libm-test.inc (j0_test): Make expected results long double
4974         constants.
4975         (y0_test): Likewise.
4977         * sysdeps/ieee754/ldbl-96/e_j0l.c: New file.
4978         Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>.
4980 2001-02-11  Jakub Jelinek  <jakub@redhat.com>
4982         * sysdeps/generic/strtoll.c (__strtoq_internal): Ressurect alias
4983         which was exported from libc.
4984         * sysdeps/generic/strtoull.c (__strtouq_internal): Likewise.
4986 2001-02-12  Andreas Jaeger  <aj@suse.de>
4988         * manual/arith.texi (Parsing of Integers): Fix some wordings.
4990 2001-02-11  Ulrich Drepper  <drepper@redhat.com>
4992         * sysdeps/generic/getsysstat.c: Change return value of get_phys_pages
4993         and get_avphys_page to long int.
4994         * sysdeps/unix/sysv/linux/getsysstat.c: Likewise.
4995         * include/sys/sysinfo.h: Likewise.
4996         * sysdeps/generic/sys/sysinfo.h: Likewise.
4997         * sysdeps/unix/sysv/linux/sys/sysinfo.h: Likewise.
4999         * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Fail if we
5000         cannot return as many values as the user asked for.
5002 2001-02-11  Andreas Jaeger  <aj@suse.de>
5004         * manual/resource.texi (Memory Resources): Fix typo.
5006         * libio/Makefile ($(objpfx)test-freopen.out): Pass
5007         run-program-prefix.
5009         * libio/test-freopen.sh: Use run_program_prefix.
5011 2001-02-10  Andreas Jaeger  <aj@suse.de>
5013         * stdlib/Makefile (tests): Don't run tst-fmtmsg when
5014         cross-compiling.
5015         ($(objpfx)tst-fmtmsg.out): Pass run-program-prefix.
5017         * stdlib/tst-fmtmsg.sh (test): Use run_program_prefix for static
5018         only builds.
5020         * elf/Makefile (tests): Only run tst-pathopt with shared libs.
5022         * posix/Makefile: Fix typo, it's build-static-nss.
5024         * iconv/Makefile (extra-objs): New.
5026 2001-02-10  Mark Kettenis  <kettenis@gnu.org>
5028         * sysdeps/unix/stime.c: Include <time.h>.
5030         * sysdeps/mach/hurd/setitimer.c: Include <time.h>.
5032 2001-02-10  Andreas Jaeger  <aj@suse.de>
5034         * manual/string.texi (Search Functions): Fix typo.
5036 2001-02-10  Mark Kettenis  <kettenis@gnu.org>
5038         * sysdeps/unix/bsd/times.c: Reorder includes and add <time.h>.
5039         (timeval_to_clock_t): Add clk_tck argument and use that instead of
5040         CLK_TCK.
5041         (__times): Use __getclktck to get the number of clock ticks per
5042         second and use its return value instead of CLK_TCK.
5044 2001-02-10  Mark Kettenis  <kettenis@gnu.org>
5046         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h (_HAVE_SA_LEN): Define.
5048 2001-02-10  Mark Kettenis  <kettenis@gnu.org>
5050         * sysdeps/mach/gettimeofday.c: Include <stddef.h>.
5052 2001-02-10  Andreas Jaeger  <aj@suse.de>
5054         * wctype/wcfuncs.c (func): Add prototype declarations to avoid
5055         warning.
5057 2001-02-09  Ulrich Drepper  <drepper@redhat.com>
5059         * posix/Makefile: Add rules to build and run bug-regex2.
5060         * posix/bug-regex2.c: New file.
5062 2001-02-10  Jakub Jelinek  <jakub@redhat.com>
5064         * posix/regex.c (convert_mbs_to_wcs): Change is_binary to char *.
5065         (regex_compile): Likewise.
5066         (FREE_VARIABLES): Don't free is_binary1 and is_binary2.
5067         (re_match_2_internal): Use just is_binary instead of two variables.
5068         Use REGEX_TALLOC to allocate it and FREE_VAR to free on failure.
5070 2001-02-09  Ulrich Drepper  <drepper@redhat.com>
5072         * version.h (VERSION): Bump to 2.2.2.
5074         * iconv/Makefile (distribute): Add iconv_charmap.c and
5075         dummy-repertoire.c.
5076         * elf/Makefile (distribute): Add firstobj.c.
5077         * Makefile (distribute): Add include/pthread.h.
5079         * configure.in: Require makeinfo version 4.
5081         * libio/tst_wscanf.c (main): Add cast to avoid warning.
5082         * libio/tst_swscanf.c (main): Likewise..
5084 2001-02-09  Jakub Jelinek  <jakub@redhat.com>
5086         * sysdeps/generic/setenv.c (unsetenv): Remove const from len.
5087         * sysdeps/sparc/fpu/bits/mathinline.h (sqrt, fdim): Don't define if
5088         __NO_MATH_INLINES.
5089         * sysdeps/i386/dl-machine.h (elf_machine_rel): Only declare refsym
5090         if not RTLD_BOOTSTRAP.
5091         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
5092         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
5094 2001-02-09  Ulrich Drepper  <drepper@redhat.com>
5096         * locale/programs/linereader.c (get_ident): Stop loop if EOF.  Use
5097         lr_ungetc to push back last read character.
5098         * locale/programs/linereader.h (lr_ungetc): Don't push back is
5099         character is EOF.
5100         (lr_ignore_rest): Don't warn about garbage if it is really the end
5101         of the file.
5103         * manual/Makefile: Use ifnottext and not ifinfo to protect Top node
5104         definition.
5106 2001-02-08  Ulrich Drepper  <drepper@redhat.com>
5108         * Makerules (build-shlib): Work around different order of
5109         processing of -B option in different gcc versions.
5111         * posix/regex.c: Fix alignment problem.
5112         Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
5114         * sysdeps/alpha/strrchr.S: Little optimization.
5115         Patch by Richard Henderson <rth@redhat.com>.
5117         * sysdeps/alpha/alphaev67/strrchr.S: New file.
5118         Contributed by Rick Gorton <rick.gorton@alpha-processor.com>.
5120 2001-02-08  kaz Kojima  <kkojima@rr.iij4u.or.jp>
5122         * sysdeps/sh/sh3/setjmp.S (__sigsetjmp): Correct function name
5123         in the assembler end directive.
5125 2001-02-08  Andreas Jaeger  <aj@suse.de>
5127         * manual/stdio.texi (Closing Streams): Fix typos.
5129 2001-02-07  Ulrich Drepper  <drepper@redhat.com>
5131         * sysdeps/alpha/alphaev67/strncat.S: Align last write address.
5132         Patch by Richard Henderson <rth@redhat.com>.
5133         Reported by Claus-Justus Heine <heine@instmath.rwth-aachen.de>.
5135         * stdlib/strfmon.c [USE_IN_LIBIO]: Define lock variable and store
5136         pointer in FILE structure before calling _IO_init.
5137         * stdlib/Makefile: Add -D_IO_MTSAFE_IO to CFLAGS for strfmon and
5138         strfmon_l if necessary.
5139         Reported by Jury Gerold <gjury@grips.com>.
5141         * sysdeps/gnu/netinet/tcp.h: Correct values of TCP_ macros.
5142         Patch by Pekka.Pietikainen@cern.ch.
5144         * posix/regex.c: Correct several problems with 64-bit architectures
5145         introduced in the MBS changes.
5146         Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
5148 2001-02-07  Jakub Jelinek  <jakub@redhat.com>
5150         * math/tgmath.h: Only add l suffixes if __NO_LONG_DOUBLE_MATH is
5151         not defined.
5152         * sysdeps/alpha/fpu/bits/mathinline.h: Honour __NO_MATH_INLINES.
5154 2001-02-07  Andreas Jaeger  <aj@suse.de>
5156         * manual/install.texi (Tools for Compilation): Fix typo.
5157         Reported by Pavel Machek <pavel@bug.ucw.cz>.
5159 2001-02-07  Ulrich Drepper  <drepper@redhat.com>
5161         * stdlib/strtod.c: Never stop prematurely reading digits before the
5162         decimal point is found.  Compute exponent limit for negative exponents
5163         correctly.  For numbers ending in all zeros eat the zeros even before
5164         the decimal point if the exponent is negative [PR libc/2072].
5165         * stdlib/Makefile (tests): Add bug-strtod.
5166         * stdlib/bug-strtod.c: New file.
5168 2001-02-07  Andreas Jaeger  <aj@suse.de>
5170         * posix/bug-regex1.c: Include <wchar.h> for fwide.
5172 2001-02-06  Ulrich Drepper  <drepper@redhat.com>
5174         * posix/regex.c (regex_compile): Don't store pointer in wchar_t array.
5175         Store index.
5176         (compile_range): Handle index being passed, not pointer.
5177         Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
5179         * posix/regex.c: Fix a cast in the code for bracket handling which
5180         caused 8-bit uncleanliness.
5181         Patch by Michal Jaegermann <michal@ellpspace.math.ualberta.ca>.
5183         * posix/Makefile (tests): Add bug-regex1.
5184         * posix/bug-regex1.c: New file.
5185         Contributed by Jim Meyering <jim@meyering.net>.
5187         * posix/regex.c: Many cleanups for incorrect format strings.
5189 2001-02-06  Andreas Jaeger  <aj@suse.de>
5191         * time/time.h (CLK_TCK): Check for !__STRICT_ANSI.
5193 2001-02-06  Ulrich Drepper  <drepper@redhat.com>
5195         * locale/programs/locale.c (write_locales): Use scandir to read
5196         directory so that the entries are sorted.
5198 2001-02-06  Andreas Jaeger  <aj@suse.de>
5200         * include/pthread.h: New file.
5202         * wctype/wctype.h: Move internal interfaces from here to...
5203         * include/wctype.h: ...here.
5205         * wcsmbs/wchar.h: Move __wcslen from here to...
5206         * include/wchar.h: ...here.
5208         * posix/sys/wait.h: Move __wait from here to...
5209         * include/sys/wait.h: ...here.
5211         * string/string.h: Move __ffs and __strerror_r from here to...
5212         * include/string.h: ...here.
5214         * stdlib/stdlib.h: Move __on_exit from here to...
5215         * include/stdlib.h: ...here.
5217         * libio/stdio.h: Move __vsnprintf from here to...
5218         * include/stdio.h: ...here.
5220 2001-02-06  Andreas Schwab  <schwab@suse.de>
5222         * sysdeps/unix/sysv/linux/ia64/ioperm.c: Don't include kernel
5223         headers.
5225         * timezone/Makefile: Don't assume that $(inst_zonedir) is a subdir
5226         of $(inst_datadir).
5228 2001-02-06  Ulrich Drepper  <drepper@redhat.com>
5230         * iconvdata/Makefile: Add dependency for bug-iconv2.out.
5232 2001-02-06  Andreas Jaeger  <aj@suse.de>
5234         * elf/firstobj.c: Add prototype.
5236         * posix/regex.c (convert_mbs_to_wcs): Make static, add prototype
5237         (truncate_wchar): Likewise.
5239 2001-02-06  Ulrich Drepper  <drepper@redhat.com>
5241         * locale/programs/locale.c: Implement --verbose option for -a
5242         which prints detailed information about the locales.
5244 2001-02-05  Ulrich Drepper  <drepper@redhat.com>
5246         * sunrpc/xdr_rec.c (set_input_fragment): Change type of header
5247         variable to uint32_t.
5248         Reported by Ulrich Weigand <weigand@immd1.informatik.uni-erlangen.de>.
5250 2001-02-04  Bruno Haible  <haible@clisp.cons.org>
5252         * locale/C-translit.h.in: Add transliterations for CJK units of
5253         measurement.
5255 2001-02-05  Ulrich Drepper  <drepper@redhat.com>
5257         * elf/cache.c (print_entry): Use PRIx64 instead of Lx in printf
5258         string.  Include <inttypes.h> instead of <stdint.h>.
5260         * localedata/Makefile (tests): Add bug-iconv-trans.
5261         Define bug-iconv-trans-ENV.
5262         * localedata/bug-iconv-trans.c: New file.
5264 2001-02-04  Bruno Haible  <haible@clisp.cons.org>
5266         * iconv/gconv_trans.c (__gconv_transliterate): Use a temporary output
5267         pointer, to avoid accumulating output from incomplete (unsuccessful)
5268         transliteration attempts.
5270 2001-02-05  Ulrich Drepper  <drepper@redhat.com>
5272         * elf/ldconfig.c (search_dir): Use PRIx64 instead of Lx in printf
5273         string.  Include <inttypes.h> instead of <stdint.h>.
5275         * configure.in: Add check for bison.
5276         * config.make.in: Define BISON variable.
5277         * intl/Makefile: Use BISON instead of YACC when generating plural.c.
5278         Rename YFLAGS to BISONFLAGS.
5280 2001-02-05  Andreas Jaeger  <aj@suse.de>
5282         * io/test-lfs.c (do_test): Test lseek64 return value, call
5283         test_ftello.
5284         (test_ftello): New function to test ftello64 and fseeko64.
5286         * signal/signal.h: Move __sigaction from here to...
5287         * include/signal.h: ...here.
5289         * io/fcntl.h: Move __fcntl and __open to...
5290         * include/fcntl.h: ...here.
5292 2001-02-04  Philip Blundell  <philb@gnu.org>
5294         * configure.in: Distinguish ARM from Thumb.
5296 2001-02-04  Philip Blundell  <philb@gnu.org>
5298         * sysdeps/arm/dl-machine.h (elf_machine_rel): Correct handling of
5299         PC24 relocs with negative value.
5301 2001-02-04  Ulrich Drepper  <drepper@redhat.com>
5303         * iconv/Makefile (iconv_prog-modules): Define.  Add vpath to find
5304         files in locale/programs.  Add CFLAGS definition to allow compiling
5305         localedef files.
5306         * iconv/dummy-repertoire.c: New file.
5307         * iconv/iconv_charmap.c: New file.
5308         * iconv/iconv_prog.h: New file.
5309         * iconv/iconv_prog.c: Make verbose and omit_invalid global.
5310         (main): If parameter for -f and -t contain slashes try first to resolve
5311         the strings as filenames of charmap files.  Use them for conversion
5312         in this case.
5313         * iconvdata/run-iconv-test.sh: If charmaps exist also run tests with
5314         iconv getting charmap names as parameters.
5315         * locale/programs/linereader.c (lr_token): Take extra parameters
5316         verbose and pass it to get_string.
5317         (get_string): Take extra parameters verbose.
5318         * locale/programs/charmap.c (parse_charmap): Take extra parameters
5319         verbose and be_quiet.  Change all callers of lr_token and
5320         parse_charmap.
5321         * locale/programs/charmap.h: Likewise.
5322         * locale/programs/ld-address.c: Likewise.
5323         * locale/programs/ld-collate.c: Likewise.
5324         * locale/programs/ld-ctype.c: Likewise.
5325         * locale/programs/ld-identification.c: Likewise.
5326         * locale/programs/ld-measurement.c: Likewise.
5327         * locale/programs/ld-messages.c: Likewise.
5328         * locale/programs/ld-monetary.c: Likewise.
5329         * locale/programs/ld-name.c: Likewise.
5330         * locale/programs/ld-numeric.c: Likewise.
5331         * locale/programs/ld-paper.c: Likewise.
5332         * locale/programs/ld-telephone.c: Likewise.
5333         * locale/programs/ld-time.c: Likewise.
5334         * locale/programs/linereader.c: Likewise.
5335         * locale/programs/linereader.h: Likewise.
5336         * locale/programs/localedef.c: Likewise.
5337         * locale/programs/locfile.c: Likewise.
5338         * locale/programs/locfile.h: Likewise.
5339         * locale/programs/repertoire.c: Likewise.
5341 2001-02-03  Ulrich Drepper  <drepper@redhat.com>
5343         * iconv/iconv_prog.c (main): If output file name is "-" write to
5344         stdout.
5345         (main): If -f or -t argument is missing use charset of the current
5346         locale.
5348 2001-02-03  Andreas Jaeger  <aj@suse.de>
5350         * sysdeps/i386/elf/start.S (_start): Align stack to 16-byte
5351         boundary for SSE/SSE-2 alignment.
5353         * posix/Makefile ($(objpfx)annexc.out): Also pass sysincludes to
5354         annexc.
5356 2001-02-03  Ulrich Drepper  <drepper@redhat.com>
5358         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: File was using crlf.
5359         Remove comma at end of enum.
5361         * elf/dl-init.c: Add a few __builtin_expect.
5363         * hesiod/hesiod.c: Remove unnecessary code.  Remove all uses of strcat.
5365 2001-02-02  Ulrich Drepper  <drepper@redhat.com>
5367         * hesiod/hesiod.c (hesiod_resolve): Also search HS records if
5368         errno is ECONNREFUSED.
5370         * posix/Makefile: Define MBS_SUPPORT for regex.c.
5371         * posix/regex.c: Implement multibyte character handling.
5372         Patch by Isamu Hasegawa <isamu@yamato.ibm.co.jp>.
5374         * string/tst-svc.input: Add two more test cases.
5375         * string/tst-svc.expect: Modify to reflect new test cases.
5377 2001-02-01  Jakub Jelinek  <jakub@redhat.com>
5379         * sysdeps/posix/getaddrinfo.c (gaih_local, gaih_inet): Replace all
5380         tp->name tests with tp->name[0] tests.
5382 2001-01-29  Ben Collins  <bcollins@debian.org>
5384         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r):
5385         Fix check for name == NULL.
5387 2001-02-01  Ulrich Drepper  <drepper@redhat.com>
5389         * elf/Makefile: Add rules to build and run initfirst test.
5390         * elf/initfirst.c: New file.
5391         * elf/firstobj.c: New file.
5393         * Makerules (build-shlib): Add $(extra-B-$(@F:lib%.so=%).so).
5394         * configure.in: Test for -z initfirst linker option.
5395         * config.make.in: Add have-z-initfirst.
5396         * elf/dl-init.c (_dl_init): Split out actual initialization code in
5397         new function call_init.  If _dl_initfirst is non-NULL initialize first.
5398         * elf/dl-load.c (_dl_map_from_fd): If DF_1_INITFIRST flag is set
5399         remember object in _dl_initfirst.
5400         * elf/soinit.c: Remove special support for calling
5401         __pthread_initialize_minimal.
5403         * conform/conformtest.pl: Add missing $prepend in type test.
5405 2001-01-31  Ulrich Drepper  <drepper@redhat.com>
5407         * elf/elf.h (SHT_CHECKSUM): New definition.
5409         * posix/fnmatch_loop.c: Remove incorrect reverse condition in
5410         [. .] matching.  Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
5411         * posix/tst-fnmatch.input: Add tests for [. .] in locales.
5413 2001-01-31  Mark Kettenis  <kettenis@gnu.org>
5415         * misc/sys/select.h: Include <bits/time.h> instead of <sys/time.h>
5416         to get definition of `struct timeval'.
5418 2001-01-31  Ulrich Drepper  <drepper@redhat.com>
5420         * posix/tst-fnmatch.input: Add test cases for de_DE.UTF-8 locale.
5421         * posix/fnmatch_loop.c: Fix handling of [= =] for multibyte charsets.
5423 2001-01-30  Ulrich Drepper  <drepper@redhat.com>
5425         * iconv/gconv_open.c (__gconv_open): Set conv_flags if IGNORE is
5426         seen, not flags.
5428         * nis/nis_findserv.c: Include <time.h>.
5430 2001-01-30  Yong Li  <yong.li@asu.edu>
5432         * iconv/iconv_prog.c (main): Correct error handling method name.
5434 2001-01-29  Ben Collins  <bcollins@debian.org>
5436         * sysdeps/sparc/fpu/fraiseexcpt.c: Include <float.h>.
5437         * sysdeps/hppa/fpu/fraiseexcpt.c: Likewise.
5438         * sysdeps/m68k/fpu/fraiseexcpt.c: Likewise.
5439         * sysdeps/s390/fpu/fraiseexcpt.c: Likewise.
5441 2001-01-30  Ulrich Drepper  <drepper@redhat.com>
5443         * locale/programs/ld-measurement.c (measurement_finish): Fix a typo.
5444         Patch by Marko Myllynen <myllynen@lut.fi>.
5446         * string/bits/string2.h (__strpbrk_c2): Correct parameter types
5447         (int instead of char).
5448         (__strpbrk_c3): Likewise.
5449         Reported by GOTO Masanori <gotom@debian.or.jp>.
5451         * sysdeps/generic/bits/sockaddr.h: Remove SA_LEN macro.
5452         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Likewise.
5453         * include/sys/socket.h: Add SA_LEN here for internal use.
5454         Reported by Arkadiusz Miskiewicz <misiek@pld.ORG.PL>.
5456 2001-01-29  Ulrich Drepper  <drepper@redhat.com>
5458         * malloc/Makefile: Don't build memusagestat if cross-compiling.
5460         * sysdeps/generic/dl-sysdep.c (set_seen): Fix typo.
5462         * math/libm-test.inc (rint_test): Add a few more tests for round
5463         to even rounding.
5465 2001-01-28  Ulrich Drepper  <drepper@redhat.com>
5467         * conform/data/pthread.h-data: Correct return type of pthread_exit.
5469         * conform/conformtest.pl: Add -fno-builtin to CFLAGS.
5471         * conform/data/stdlib.h-data: Add _Exit.
5473         * inet/arpa/inet.h: Don't include <sys/types.h>.  Define socklen_t
5474         if not already happened.
5475         * inet/netinet/in.h: Don't include <sys/types.h>, use <bits/types.h>.
5476         Don't include <limits.h> and <bits/sockaddr.h>.
5478         * conform/data/netinet/in.h-data: Allow all of <inttypes.h>.
5480         * conform/data/spawn.h-data: Allow all of <sched.h>.
5482         * sysdeps/ia64/fpu/fraiseexcpt.c: Include <float.h>.  Removed
5483         unused variable.
5485         * sunrpc/xdr_rec.c (xdrrec_getpos): Add cast to long to avoid warning.
5486         * sunrpc/xdr_sizeof.c (x_inline): Likewise.
5488         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Include <float.h>.
5490         * conform/conformtest.pl: Define $mustprepend{"stdio.h"}.
5491         * libio/stdio.h: Define va_list correctly.
5493         * conform/data/pthread.h-data: Make priority protocol related
5494         functions optional.  Fix typos.
5496         * posix/sched.h: Define sched_priority as __sched_priority.
5497         * sysdeps/generic/bits/sched.h (struct sched_param): Rename element
5498         to __sched_priority.
5499         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
5501 2001-01-27  Ulrich Drepper  <drepper@redhat.com>
5503         * sysdeps/generic/clock_getcpuclockid.c: Include <time.h> instead
5504         of <sys/time.h>.
5506         * sysdeps/unix/stime.c: Include <stddef.h> for NULL.
5507         * sysdeps/unix/time.c: Likewise.
5509         * conform/data/time.h-data: CLK_TCK is not in XPG6.  Fix tzname entry.
5510         * sysdeps/mach/hurd/bits/time.h: Don't define CLK_TCK for XPG6.
5511         * sysdeps/mach/hurd/i386/bits/time.h: Likewise.
5512         * sysdeps/unix/sysv/linux/bits/time.h: Likewise.
5513         * sysdeps/unix/sysv/linux/alpha/bits/time.h: Likewise.
5514         * sysdeps/unix/sysv/linux/i386/bits/time.h: Likewise.
5515         * sysdeps/unix/sysv/linux/ia64/bits/time.h: Likewise.
5516         * time/time.h: Likewise.
5518         * conform/conformtest.pl (@headers): Add complex.h and tgmath.h.
5519         * conform/data/complex.h-data: New file.
5520         * conform/data/tgmath.h-data: New file.
5522         * conform/data/wchar.h-data: Add missing functions.
5524         * sysdeps/gnu/bits/utmpx.h: Define RUN_LVL only if __USE_GNU.
5526         * conform/data/termios.h-data: Add missing const in tcsetattr()
5527         prototype.
5529         * posix/sys/wait.h: Include <signal.h> and <sys/resource.h>.
5530         Don't define pid_t here.
5532         * conform/data/sys/utsname.h-data: Don't provide fixed array sizes.
5534         * conform/data/sys/time.h-data: Allow sys/select.h.
5535         * conform/data/sys/un.h-data: Fix typo.
5536         * time/sys/time.h: Don't include all of <time.h>, just struct timeval.
5537         * sysdeps/posix/clock_getres.c: Include <time.h> instead of
5538         <sys/time.h>.
5539         * sysdeps/unix/clock_nanosleep.c: Likewise.
5540         * sysdeps/unix/i386/clock_getcpuclockid.c: Likewise.
5541         * sysdeps/unix/i386/i586/clock_getres.c: Likewise.
5542         * sysdeps/unix/clock_gettime.c: Also include <time.h>.
5543         * sysdeps/unix/clock_settime.c: Likewise.
5545         * sysdeps/generic/pselect.c: Include <stddef.h> for NULL.
5546         * login/getutent.c: Likewise.
5547         * login/getutid.c: Likewise.
5548         * login/getutline.c: Likewise.
5550         * socket/sys/un.h: Define SUN_LEN only if __USE_MISC.
5552         * sysdeps/unix/sysv/linux/bits/statvfs.h: Change type of f_fsid field
5553         to unsigned long.  Add __f_unused.  Define _STATVFSBUF_F_UNUSED.
5554         * sysdeps/unix/sysv/linux/internal_statvfs.c: Adjust initialization of
5555         f_fsid field after change in struct statvfs.
5556         * sysdeps/unix/sysv/linux/alpha/bits/statvfs.h: New file.
5557         * sysdeps/unix/sysv/linux/ia64/bits/statvfs.h: New file.
5558         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/statvfs.h: New file.
5560         * conform/data/sys/stat.h-data: Remove isfdtype.  Use
5561         optional-macro.
5563         * conform/data/sys/socket.h-data: Fix typos.  Correct getsockopt,
5564         recvfrom, send, and socketpair prototypes.  Add allow lines.
5565         * socket/sys/socket.h: Include <sys/uio.h>.
5566         Don't use fancy __SOCKADDR_ARG definition unless __USE_GNU.
5567         Fix type of second parameter of listen.
5568         Don't declare isfdtype unless __USE_MISC.
5569         * sysdeps/generic/listen.c: Fix type of second parameter of listen.
5570         * sysdeps/mach/hurd/listen.c: Likewise.
5571         * sysdeps/generic/bits/socket.h (struct sockaddr_storage): Define
5572         ss_family and __ss_family.
5573         * sysdeps/unix/sysv/aix/bits/socket.h: Likewise.
5574         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
5575         (struct msghdr): Change type of msg_iovlen to int and type of
5576         msg_controllen to socklen_t.
5577         * sysdeps/unix/sysv/linux/alpha/bits/socket.h: New file.
5578         * sysdeps/unix/sysv/linux/ia64/bits/socket.h: New file.
5579         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/socket.h: New file.
5580         * inet/rcmd.c (rcmd_af): __ss_family is now ss_family.
5581         (rresvport_af): Likewise.
5583         * conform/data/sys/shm.h-data: SHMLBA is not required to by a constant.
5584         * conform/conformtest.pl: Implement handling of symbol.
5586         * signal/signal.h: Fix handling of __need_* symbols.
5587         * misc/sys/select.c: Define fd_set here.  Remove __fd_set.  Define
5588         fd_mask only if __USE_MISC.  Declare pselect for __USE_XOPEN2K.
5589         * include/sys/select.h: Use fd_set not __fd_set.
5590         * sysdeps/generic/bits/select.h: Likewise.
5591         * sysdeps/i386/bits/select.h: Likewise.
5592         * sysdeps/generic/bits/types.h: Don't define __fd_mask, __NFDBITS,
5593         __FDELT, __FDMASK, and __fd_set here.
5594         * sysdeps/unix/sysv/aix/bits/types.h: Likewise.
5595         * sysdeps/unix/sysv/hpux/bits/types.h: Likewise.
5596         * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
5597         * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
5598         * sysdeps/unix/sysv/linux/ia64/bits/types.h: Likewise.
5599         * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
5600         * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
5601         * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
5602         * time/sys/time.h: Define struct timeval before including <time.h>
5603         and <sys/select.h>.
5605         * conform/data/sys/time.h-data: fd_set is a typedef.
5606         * conform/data/sys/select.h-data: New file.
5607         * conform/data/sys/mman.h-data: Make typed mem stuff optional.
5608         * conform/conformtest.pl (@headers): Add sys/select.h.
5609         (type, optional-type): Unless testing a typedef instantiate object.
5610         Implement optional-function.
5612         * math/test-misc.c: Include <float.h>.
5614 2001-01-27  Andreas Jaeger  <aj@suse.de>
5616         * misc/efgcvt_r.c: Include <float.h>.
5618 2001-01-26  Ulrich Drepper  <drepper@redhat.com>
5620         * conform/data/stdlib.h-data: Account for XPG6 changes.
5621         * stdlib/stdlib.h (__random): Change return value type to long.
5622         (posix_memalign): Cleanup parameter names.
5623         (setenv, unsetenv): Make available for __USE_XOPEN2K.
5624         Change return type of unsetenv to int.
5625         (qecvt, qgcvt, qfcvt): Declare only if __USE_MISC.
5626         * include/stdlib.h: Change return type of unsetenv to int.
5627         Change return type of random to long int.
5628         * sysdeps/generic/setenv.c (unsetenv): Change return type to int.
5629         Return -1 and set errno if parameter is invalid.
5630         * stdlib/random.c (__random): Change return value type to long.
5632         * conform/data/stdio.h-data: Account for changes in XPG6.
5634         * conform/data/spawn.h-data: Correct posix_spawnattr_setflags
5635         prototype.
5637         * conform/conformtest.pl: Define $mustprepend{"signal.h"}.
5638         * conform/data/signal.h-data: Fix sigev_notify_function entry.
5639         Fix typo (SIGVALRM -> SIGVTALRM).
5640         * sysdeps/unix/sysv/linux/bits/siginfo.h: Define sigev_notify_attr
5641         with real type.
5642         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Likewise.
5643         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
5644         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Likewise.
5645         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
5646         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/siginfo.h: Likewise.
5648         * conform/conformtest.pl: Implement optional-element.  Define
5649         $mustprepend{"sched.h"}.
5650         * conform/data/sched.h-data: Make sporadic scheduler definitions
5651         optional.
5653         * pwd/pwd.h: Don't define getpwent_r for XPG.
5655         * io/sys/poll.h: Define nfds_t and use it in poll prototype.
5656         * sysdeps/generic/poll.c: Use nfds_t type in function definition.
5657         * sysdeps/mach/hurd/poll.c: Likewise.
5658         * sysdeps/unix/bsd/poll.c: Likewise.
5659         * sysdeps/unix/sysv/linux/poll.c: Likewise.
5660         * sysdeps/unix/sysv/aix/poll.c: Likewise.
5661         * sysdeps/generic/bits/poll.h: Define NPOLLFILE only if __USE_MISC.
5662         * sysdeps/unix/sysv/linux/bits/poll.h: Likewise.
5663         * sysdeps/unix/sysv/linux/m68k/bits/poll.h: Likewise.
5664         * sysdeps/unix/sysv/linux/mips/bits/poll.h: Likewise.
5665         * sysdeps/unix/sysv/linux/sparc/bits/poll.h: Likewise.
5666         * conform/data/poll.h-data: Fix typo in poll prototype.
5668         * sysdeps/gnu/netinet/tcp.h: Define everything but TCP_ macros
5669         only if __USE_MISC.
5670         * conform/data/netinet/tcp.h-data: Reserved prefix TCP_.
5672         * sysdeps/gnu/net/if.h: Cleanup namespace.  Define IF_NAMESIZE.
5674         * inet/netinet/in.h: Make IPPROTO_ constants also macros.
5676         * conform/conformtest.pl: Implement optional-type.
5678         * resolv/netdb.h: Include <netinet/in.h> not <sys/socket.h>.  Include
5679         <rpc/netdb.h> only if __USE_MISC.  Include <stdint.h> instead of
5680         defining uint32_t here.  Define IPPORT_RESERVED.
5681         (struct hostent): Type of h_length element is int.
5682         (getnameinfo): Type of flags parameter is unsigned int.
5683         * inet/getnameinfo.c (getnameinfo): flags argument is unsigned.
5684         * conform/data/netdb.h-data: Add many missing definitions.
5686         * conform/conformtest.pl: Implement optional-macro.
5687         * conform/data/math.h-data: Update for XPG6.
5689         * math/math.h (HUGE): Define as FLT_MAX value but don't use
5690         FLT_MAX.  Don't include <float.h>.
5691         (MAXFLOAT): Likewise.
5693         * math/math.h: Define MATH_ERRNO and MATH_ERREXCEPT.
5695         * include/bits/xopen_lim.h: Don't define FOPEN_MAX here.
5697         * conform/data/limits.h-data: Mark constants as optional wherever
5698         appropriate.
5700         * posix/bits/posix2_lim.h: Set correct values for
5701         _POSIX2_COLL_WEIGHTS_MAX and _POSIX2_CHARCLASS_NAME_MAX.  Remove
5702         EQUIV_CLASS_MAX.
5704         * posix/bits/posix1_lim.h: Define _POSIX_TZNAME_MAX as 6.
5705         Required by POSIX.
5707         * intl/loadmsgcat.c: Include <locale.h.> for _LIBC.
5709         * conform/data/netinet/in.h-data: Add reserved prefixes.
5711         * conform/data/arpa/inet.h-data: Fix a few typos.
5713 2001-01-26  Andreas Jaeger  <aj@suse.de>
5715         * sysdeps/generic/strtol.c: Include <locale.h>
5716         * stdlib/strtod.c: Likewise
5717         * stdlib/strfmon.c: Likewise.
5718         * string/strcoll.c: Likewise.
5719         * string/strxfrm.c: Likewise.
5720         * wctype/wcfuncs_l.c: Likewise.
5721         * wctype/wctype_l.c: Likewise.
5722         * wctype/wctrans_l.c: Likewise.
5724         * include/bits/locale.h: New file.
5726 2001-01-26  Ulrich Drepper  <drepper@redhat.com>
5728         * locale/langinfo.h: Correct logic in #ifs when defining YESSTR
5729         and NOSTR.
5731         * locale/Makefile (headers): Add bits/locale.h.
5732         * locale/langinfo.h: Don't include <locale.h>.  Include <bits/locale.h>
5733         and use __LC_ constants instead of LC_.
5734         * locale/locale.h: Include <bits/locale.h> and define LC_ constants
5735         using __LC_ constants.
5736         * locale/bits/locale.h: New file.
5737         * locale/loadlocale.c: Include <locale.h>.
5738         * locale/nl_langinfo.h: Likewise.
5740         * posix/glob.h: Cleanup namespace for non-_GNU_SOURCE case.
5742         * io/sys/stat.h: Define S_IFSOCK for XPG6.
5744         * conform/data/fcntl.h-data: posix_madvise is not expected here.
5746         * conform/conformtest.pl: Fix handling of macro-str.
5748         * conform/data/inttypes.h-data: Add missing definition and all of
5749         stdint.h-data.
5751         * sysdeps/unix/sysv/linux/sys/param.h (MAXSYMLINKS): Bump to 20.
5753 2001-01-25  Ulrich Drepper  <drepper@redhat.com>
5755         * conform/conformtest.pl (@headers): Add stdint.h.
5756         * conform/data/stdint.h-data: New file.
5758         * conform/conformtest.pl: Recognize options --headers and
5759         --dialect.  Add dialect-specific CFLAGS.
5761         * conform/conformtest.pl: Implement handling of recursive
5762         allow-header.
5764         * conform/data/locale.h-data: Add new struct lconv members.
5766         * posix/wordexp.h: Correct definition of wordexp_t.
5767         * posix/wordexp.c: Moved to ...
5768         * sysdeps/generic/wordexp.c: ...here.  New file.
5769         * sysdeps/unix/sysv/linux/alpha/wordexp.c: New file.
5770         * sysdeps/unix/sysv/linux/ia64/wordexp.c: New file.
5771         * sysdeps/unix/sysv/linux/sparc/sparc64/wordexp.c: New file.
5772         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.2.2): Add
5773         wordexp.
5774         * sysdeps/unix/sysv/linux/ia64/Versions: Likewise.
5775         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions: Likewise.
5777         * math/tgmath.h: Pretty printing.
5779         * math/Makefile (tests): Add test-tgmath.
5780         (CFLAGS-test-tgmath.c): New variable.
5781         * math/test-tgmath.c: New file.  Contributed by Jakub Jelinek.
5783         * conform/conformtest.pl: Handle allow-header in secondary headers
5784         correctly.
5786         * conform/data/fcntl.h-data: Mark symbols introduced in XPG6 with
5787         #ifdef.
5789         * conform/data/netinet/in.h-data: Use correct comment character.
5790         * conform/data/sys/stat.h-data: Likewise.
5792 2001-01-25  Jakub Jelinek  <jakub@redhat.com>
5794         * math/tgmath.h (__TGMATH_BINARY_FIRST_REAL_ONLY,
5795         __TGMATH_BINARY_REAL_ONLY, __TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY,
5796         __TGMATH_TERNARY_REAL_ONLY): Use proper arguments to
5797         __builtin_classify_type, add ##f suffixes where appropriate.
5798         (__TGMATH_UNARY_REAL_IMAG): Remove extraneous left parenthesis.
5799         (__TGMATH_BINARY_REAL_IMAG): Likewise, use proper arguments to
5800         __builtin_classify_type.
5801         (fma): Fix spelling of first argument.
5803 2001-01-25  Ulrich Drepper  <drepper@redhat.com>
5805         * conform/data/unistd.h-data: Mark functions removed in XPG6
5806         correctly.
5808         * posix/unistd.h: Don't make functions removed in XPG6 available if
5809         __USE_XOPEN2K.
5811         * conform/conformtest.pl: Implement optional-constant.
5812         * conform/data/unistd.h-data: Use optional-constant wherever
5813         appropriate.
5815         * sysdeps/generic/bits/confname.h: Correct names of _SC_PBS
5816         constants and add _SC_STREAMS.
5817         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
5819         * sysdeps/unix/sysv/linux/statvfs64.c: Rename to __statvfs64 and
5820         make old name weak alias.
5821         * sysdeps/generic/statvfs64.c: Likewise.
5822         * sysdeps/unix/sysv/linux/fstatvfs64.c: Rename to __fstatvfs64 and
5823         make old name weak alias.
5824         * sysdeps/generic/fstatvfs64.c: Likewise.
5825         * include/sys/statvfs.h: New file.
5827         * sysdeps/generic/bits/confname.h: Define _PC_REC_INCR_XFER_SIZE,
5828         _PC_REC_MAX_XFER_SIZE, _PC_REC_MIN_XFER_SIZE, and
5829         _PC_REC_XFER_ALIGN.
5830         * sysdeps/posix/pathconf.c (__pathconf): Implement handling of
5831         _PC_REC_INCR_XFER_SIZE, _PC_REC_MAX_XFER_SIZE,
5832         _PC_REC_MIN_XFER_SIZE, and _PC_REC_XFER_ALIGN.
5833         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
5835         * conform/conformtest.pl: Run Unix tests for XPG6.
5836         Implement handling of known namespace violations.
5837         Improve printing of results.
5839         * posix/unistd.h (usleep): Correct return type.
5840         * sysdeps/unix/sysv/linux/usleep.c: Correct return type.
5841         * sysdeps/unix/bsd/usleep.c: Correct return type.
5842         * sysdeps/mach/usleep.c: Correct return type.
5843         * sysdeps/generic/usleep.c: Correct return type.
5845         * posix/unistd.h (sync): Correct return type.
5846         * sysdeps/generic/sync.c: Likewise.
5847         * sysdeps/mach/hurd/sync.c: Likewise.
5849         * sysdeps/generic/bits/confname.h (_SC_IOV_MAX): New definition.
5851         * posix/unistd.h: Make seteuid and setegid available for XPG6.
5853         * wcsmbs/wchar.h: Get FILE definition for XPG5.
5855         * conform/data/ctype.h-data: Use correct comment form.
5856         * conform/data/errno.h-data: Likewise.
5857         * conform/data/math.h-data: Likewise.
5858         * conform/data/mqueue.h-data: Likewise.
5859         * conform/data/netdb.h-data: Likewise.
5860         * conform/data/pthread.h-data: Likewise.
5862 2001-01-24  Ulrich Drepper  <drepper@redhat.com>
5864         * conform/data/wordexp.h-data: Fix typo.
5866         * conform/conformtest.pl: Handle allow-header correctly.
5868         * conform/data/time.h-data: Use correct comment form.
5870         * conform/conformtest.pl (checknamespace): Ignore #undef lines.
5872         * configure.in: Comment out binutils version test.
5874         * stdlib/strtod.c (str_to_mpn): Correct parsing of thousands
5875         separators.
5876         Reported by Lagardere Jean-Francois <LAGARDEREJ@thmulti.com>.
5878         * stdlib/tst-strtod.c (locale_test): New function.
5879         (main): Call locale_test.
5880         * stdlib/Makefile (tst-strtod-ENV): New variable.
5882 2001-01-24  Mark Kettenis  <kettenis@gnu.org>
5884         * hurd/hurdsig.c (_hurdsig_getenv): Remove spurious innermost
5885         declaration of value such that we actually return the value of the
5886         environment variable.
5888 2001-01-24  Andreas Jaeger  <aj@suse.de>
5890         * sysdeps/unix/sysv/linux/init-first.c: Remove extra __sysctl
5891         prototype.
5892         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
5894         * include/sys/sysctl.h: New file.
5896 2001-01-23  Andreas Jaeger  <aj@suse.de>
5898         * stdlib/Makefile ($(objpfx)isomac.out): Also pass sysincludes to
5899         isomac.
5901         * elf/dl-load.c (_dl_init_paths): Don't use strdupa in function
5902         arguments.  Reported by Jiri Kubicek <kubicek@bitsmart.com>,
5903         closes PR libc/2039.
5905         * manual/install.texi (Tools for Compilation): Change required
5906         binutils version.
5908 2001-01-22  Andreas Jaeger  <aj@suse.de>
5910         * configure.in: Add test for new enough binutils version, move
5911         compiler/binutils test up.
5913         * Versions.def: Add version GLIBC_2.2.2.
5915 2001-01-21  Ulrich Drepper  <drepper@redhat.com>
5917         * iconvdata/TESTS: UTF-8 test data for IBM932 and IBM943 are now
5918         available.
5919         * iconvdata/testdata/IBM932: New file.
5920         * iconvdata/testdata/IBM932..UTF8: New file.
5921         * iconvdata/testdata/IBM943: New file.
5922         * iconvdata/testdata/IBM943..UTF8: New file.
5923         Contributed by Masahide Washizawa <washi@jp.ibm.com>.
5925 2001-01-21  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
5927         * sysdeps/unix/sysv/linux/powerpc/mmap64.c: Correctly mask offset.
5929 2001-01-21  Ulrich Drepper  <drepper@redhat.com>
5931         * malloc/malloc.c: Remove a few unnecessary initializers of global
5932         variables.
5934 2000-12-09  H.J. Lu  <hjl@gnu.org>
5936         * nss/Makefile (routines): Add digits_dots.
5937         * nss/Versions (libc): Add __nss_hostname_digits_dots to GLIBC_2.2.2.
5938         * nss/digits_dots.c (__nss_hostname_digits_dots): Turn template
5939         into a function.
5940         * nss/nsswitch.h (__nss_hostname_digits_dots): New internal NSS
5941         function.
5942         * nss/getXXbyYY.c (H_ERRNO_VAR_P): New definition.
5943         (TYPE_VAR_P): Likewise.
5944         (FLAGS_VAR): Likewise.
5945         (AF_VAR_P): Likewise.
5946         (INTERNAL (REENTRANT_NAME)): Call __nss_hostname_digits_dots ()
5947         instead of including digits_dots.c.
5948         * nss/getXXbyYY_r.c (H_ERRNO_VAR_P): New definition.
5949         (TYPE_VAR_P): Likewise.
5950         (FLAGS_VAR): Likewise.
5951         (AF_VAR_P): Likewise.
5952         (INTERNAL (REENTRANT_NAME)): Call __nss_hostname_digits_dots ()
5953         instead of including digits_dots.c.
5955 2001-01-21  Ulrich Drepper  <drepper@redhat.com>
5957         * sysdeps/posix/getaddrinfo.c: Reduce .data size.
5959 2001-01-21  Andreas Jaeger  <aj@suse.de>
5961         * elf/constload2.c: Add prototype for init.
5963 2001-01-21  Ulrich Drepper  <drepper@redhat.com>
5965         * stdlib/stdlib.h (drand48_data): Make available only for
5966         __USE_MISC.  Rename elements to protect namespace.  Change type
5967         and position of a and init element.
5968         * stdlib/drand48-iter.c: Don't handle unsigned short > 16 bit
5969         differently.  Adjust for drand48_data change.  Don't compute a here,
5970         it comes from drand48_data.
5971         * stdlib/lcong48_r.c: Don't handle unsigned short > 16 bit
5972         differently.  Adjust for drand48_data change.  Compute a here.
5973         * stdlib/srand48_r.c: Likewise.
5974         * stdlib/drand48.c: Adjust for drand48_data change.
5975         * stdlib/lrand48.c: Likewise.
5976         * stdlib/mrand48.c: Likewise.
5977         * stdlib/seek48.c: Likewise.
5978         * stdlib/drand48_r.c: Likewise.
5979         * stdlib/lrand48_r.c: Likewise.
5980         * stdlib/mrand48_r.c: Likewise.
5981         * stdlib/seed48_r.c: Likewise.  Don't handle unsigned short > 16 bit
5982         differently.
5983         * stdlib/erand48_r.c: Don't handle unsigned short > 16 bit differently.
5984         * stdlib/jrand48_r.c: Likewise.
5986         * po/sv.po: Update from translation team.
5988 2001-01-21  Andreas Jaeger  <aj@suse.de>
5990         * stdio-common/vfprintf.c (vfprintf): Add casts.
5992 2001-01-20  Ulrich Drepper  <drepper@redhat.com>
5994         * iconvdata/run-iconv-test.sh: Reorgnize a bit to allow running only
5995         the ASCII test.
5996         * iconvdata/TESTS: Add entries for IBM932 and IBM943.
5998         * iconvdata/Makefile (modules): Add IBM932 and IBM943.
5999         * iconvdata/gconv-modules: Add entries for IBM932 and IBM943.
6000         * iconvdata/ibm932.c: New file.
6001         * iconvdata/ibm932.h: New file.
6002         * iconvdata/ibm943.c: New file.
6003         * iconvdata/ibm943.h: New file.
6004         Patches by Masahide Washizawa <washi@jp.ibm.com>.
6006         * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Fix typo
6007         preventing optimization from being done.  Set the correct type bit
6008         in seen.  Don't define and use _dl_base_addr unless
6009         NEED_DL_BASE_ADDR is defined.
6011         * io/ftw.c (ftw_dir): Add slash after directory name if there
6012         wasn't any.  Reported by loris <loris@iol.it>.
6013         * io/Makefile (tests): Add bug-ftw2.
6014         * io/bug-ftw2.c: New file.
6016 2001-01-19  Ulrich Drepper  <drepper@redhat.com>
6018         * stdlib/jrand48_r.c (__jrand48_r): Correct constructing of
6019         results.  Reported by Jeff Higham <jhigham@algorithmics.com>.
6020         * stdlib/tst-rand48.c: New file.
6021         * stdlib/Makefile (tests): Add tst-rand48.
6023         * locale/newlocale.c (__newlocale): Fix test for setting all
6024         categories.
6026 2001-01-19  Mark Kettenis  <kettenis@gnu.org>
6028         * sysdeps/mach/hurd/chroot.c (chroot): Revert 1999-02-27 changes,
6029         but change looking up the initial directory port in a similar way
6030         as done by _hurd_change_directory_port_from_name.
6031         * hurd/fchroot.c (fchroot): Likewise.
6033 2001-01-18  Ulrich Drepper  <drepper@redhat.com>
6035         * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): If HAVE_AUX_XID is
6036         defined don't look whether the AT_*ID values were set.
6037         If HAVE_AUX_PAGESIZE is defined don't look whether the pagesize is set.
6038         (_dl_show_auxv): Rewrite to avoid switch statement.
6039         * sysdeps/unix/sysv/linux/kernel-features.h: Define
6040         __ASSUME_AT_PAGESIZE for kernel >= 2.4.1.
6041         * sysdeps/unix/sysv/linux/ldsodefs.h: Define HAVE_AUX_XID.
6042         Define HAVE_AUX_PAGESIZE if __ASSUME_AT_PAGESIZE is defined.
6044         * sysdeps/unix/sysv/linux/fxstat64.c: Add one __builtin_expect.
6045         * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
6046         * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
6048         * elf/rtld.c (process_envvars): Call __strtoul_internal instead of
6049         strtoul.
6050         * elf/dl-minimal.c (strtol, __strtol_internal, strtoul): Removed.
6051         (__sigjmp_save): Set __mask_was_saved to zero since we don't save
6052         anything.
6053         * dlfcn/eval.c (__strtol_internal): Define here.
6054         (eval): Use __strtol_internal instead of strtol.
6056         * elf/elf.h: Add a few more EF_MIPS_* constants.
6058 2001-01-17  Ulrich Drepper  <drepper@redhat.com>
6060         * manual/Makefile (chapters): Add debug.
6061         * manual/debug.texi: New file.
6062         * manual/examples/execinfo.c: New file.
6063         Patch by suckfish@ihug.co.nz.
6065 2001-01-17  Andreas Schwab  <schwab@suse.de>
6067         * sysdeps/m68k/bits/byteswap.h (__bswap_32): Add cast to avoid
6068         invalid asm.
6070 2001-01-17  Andreas Jaeger  <aj@suse.de>
6072         * nscd/connections.c (nscd_run): Use proper format specifier.
6074 2001-01-16  Ulrich Drepper  <drepper@redhat.com>
6076         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Move x86_cap_flags and
6077         x86_platforms data into new file after prepending _dl_.  Change
6078         users.
6079         * sysdeps/unix/sysv/linux/i386/dl-procinfo.c: New file.
6080         * sysdeps/unix/sysv/linux/i386/Dist: Add dl-procinfo.c.
6081         * sysdeps/unix/sysv/linux/i386/Makefile: Add rules to build
6082         dl-procinfo.c.
6084         * setjmp/setjmp.h: Cleanup definition of setjmp macro.
6086         * sysdeps/i386/elf/bsd-setjmp.S: Real implementation.
6087         * sysdeps/i386/elf/bsd-_setjmp.S: Removed.
6088         * sysdeps/i386/elf/setjmp.S (setjmp): Removed here.
6089         (_setjmp): Likewise.
6090         * sysdeps/i386/bsd-_setjmp.S: Real implementation.
6091         * sysdeps/i386/bsd-setjmp.S: Real implementation.
6092         * sysdeps/i386/bits/setjmp.h: Remove PUSH_SIGNAL_MASK definition.
6093         * sysdeps/i386/setjmp.S: Remove PIC support.  This is the non-ELF
6094         version.
6096 2001-01-16  Andreas Jaeger  <aj@suse.de>
6098         * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h (SIGCONTEXT): Fix
6099         misapplied last patch.
6101 2001-01-15  Ulrich Drepper  <drepper@redhat.com>
6103         * stdlib/random.c (__initstate): Clean up a cast.
6104         (__setstate): Likewise.
6106         * sysdeps/unix/sysv/linux/mips/syscalls.list: Remove select
6107         syscall handling.  The generic Linux version should work.
6109 2001-01-15  Andreas Jaeger  <aj@suse.de>
6111         * sysdeps/unix/sysv/linux/sys/sendfile.h: Fix typo.
6113         * stdio-common/tstscanf.c (main): Add two testcases for '*' modifier.
6115 2001-01-14  Jakub Jelinek  <jakub@redhat.com>
6117         * nss/getent.c (print_aliases, aliases_keys, ethers_keys,
6118         netgroup_keys, print_rpc, rpc_keys, print_shadow, shadow_keys):
6119         New functions.
6120         (group_keys, hosts_keys, network_keys, passwd_keys, protocols_keys):
6121         If number is 0, list all.
6122         (services_keys): Likewise.  Lookup aliases as well.
6123         (databases): New table.
6124         (build_doc): Prepare argp doc text with list of supported databases.
6125         (main): Change to table driven processing.
6127 2001-01-14  Thorsten Kukuk <kukuk@suse.de>
6129         * sunrpc/xdr.c (xdr_long, xdr_u_long): Fix comments about these
6130         functions.
6132 2001-01-03  Jakub Jelinek  <jakub@redhat.com>
6134         * sunrpc/xdr.c (xdr_long, xdr_u_long): Return FALSE if trying to
6135         encode value which does not fit in the 32bit type.
6137 2001-01-15  Hiroyuki Machida <machida@sm.sony.co.jp>
6139         * sysdeps/unix/sysv/linux/mips/register-dump.h (REGISTER_DUMP):
6140         Change type of CTX to (struct sigcontext *).
6141         * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h (GET_PC): Likewise.
6142         (GET_FRAME): Likewise.
6143         (GET_STACK): Likewise.
6144         (SIGCONTEXT): Likewise. Add 2nd arg _code.
6145         (SIGCONTEXT_EXTRA_ARGS): Add 2nd arg _code.
6147 2001-01-13  Ulrich Drepper  <drepper@redhat.com>
6149         * manual/texinfo.tex: Update from upstream version.
6151 2001-01-13  Jakub Jelinek  <jakub@redhat.com>
6153         * inet/ether_ntoh.c (lookup_function): Change arguments to match
6154         _nss_*_getntohost_r prototype.
6155         (ether_ntohost): Pass errno pointer to NSS function.
6157 2001-01-12  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
6159         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MS_SYNC): Fix value.
6160         (MAP_LOCKED): New definition.
6161         (MAP_NORESERVE): New definition.
6163 2001-01-12  Ulrich Drepper  <drepper@redhat.com>
6165         * assert/assert.h: Use static_cast instead of C-style cast for C++.
6166         Patch by Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>.
6168 2001-01-12  Ben Collins  <bcollins@debian.org>
6170         * sysdeps/generic/segfault.c (install_handler): Use access, not
6171         __access.
6173 2001-01-12  Andreas Jaeger  <aj@suse.de>
6175         * posix/fnmatch_loop.c (FCT): Remove signed warnings.
6176         * posix/wordexp.c (do_parse_glob): Likewise.
6177         * sysdeps/posix/sigblock.c (__sigblock): Likewise.
6178         * sysdeps/posix/sigsetmask.c (__sigsetmask): Likewise.
6179         * elf/dl-open.c (_dl_open): Likewise.
6180         * elf/dl-close.c (_dl_close): Likewise.
6181         * elf/dl-load.c (_dl_map_object): Likewise.
6182         * iconv/iconv_prog.c (process_fd): Likewise.
6183         * stdio-common/vfscanf.c (_IO_vfscanf): Likewise.
6185         * locale/localeinfo.h (struct locale_data): Use __flexarr instead
6186         of a zero-length array.
6188 2001-01-11  Jakub Jelinek  <jakub@redhat.com>
6190         * stdlib/cxa_atexit.c (__cxa_atexit): Cast to (void *, int) func.
6191         * stdlib/cxa_finalize.c (__cxa_finalize): Add hidden second argument.
6192         * stdlib/cxa_on_exit.c: Remove.
6193         * stdlib/Makefile: Revert last patch.
6194         * stdlib/Versions: Likewise.
6195         * include/stdlib.h: Likewise.
6196         * stdlib/exit.h: Revert last patch.
6197         (struct exit_function): Add second argument to cxa fn.
6198         * stdlib/exit.c: Revert last patch.
6199         (exit): Add hidden second argument.
6201 2001-01-11  H.J. Lu  <hjl@gnu.org>
6203         * elf/dl-libc.c (do_dlopen): Move DL_STATIC_INIT to ...
6204         * elf/dl-open.c (_dl_open): Here.
6205         * sysdeps/unix/sysv/linux/ia64/dl-static.c (_dl_static_lock):
6206         Make it static.
6207         (_dl_static_init): Initialize the variables every time when possible.
6208         * sysdeps/unix/sysv/linux/ia64/ldsodefs.h (DL_STATIC_INIT):
6209         Undefine it first.
6211 2001-01-11  Ulrich Drepper  <drepper@redhat.com>
6213         * stdlib/Makefile (routines): Add cxa_on_exit.
6214         * stdlib/Versions [libc] (GLIBC_2.2.1): Add __cxa_on_exit.
6215         * stdlib/cxa_on_exit.c: New file.
6216         * include/stdlib.h: Add prototype for __cxa_on_exit.
6217         * stdlib/exit.c: Handle ef_cxa2.
6218         * stdlib/exit.h (enum): Add ef_cxa2.
6219         (struct exit_function): Add cxa2.
6221         * Versions.def [ld]: Add GLIBC_2.2.1.
6223 2001-01-10  H.J. Lu  <hjl@gnu.org>
6225         * elf/dl-libc.c (do_dlopen): Call DL_STATIC_INIT for static binaries.
6226         * sysdeps/unix/sysv/linux/ia64/Makefile (sysdep-dl-routines): Add
6227         dl-static.
6228         * sysdeps/unix/sysv/linux/ia64/Versions (ld): Add _dl_var_init.
6229         * sysdeps/generic/ldsodefs.h (DL_STATIC_INIT): Defined if not defined.
6230         * sysdeps/unix/sysv/linux/ia64/ldsodefs.h: New file.
6231         * sysdeps/unix/sysv/linux/ia64/dl-static.c: New file.
6232         * sysdeps/unix/sysv/linux/ia64/Dist: Add dl-static.c.
6234 2001-01-11  Ulrich Drepper  <drepper@redhat.com>
6236         * libio/stdio.h: Remove definition of off_t.
6238 2001-01-11  Andreas Jaeger  <aj@suse.de>
6240         * wcsmbs/tst-mbrtowc.c (utf8_test): New function by Markus Kuhn
6241         <mkuhn@acm.org>.
6243 2001-01-10  Ulrich Drepper  <drepper@redhat.com>
6245         * sunrpc/Makefile (distribute): Add errqueue.h.
6247 2001-01-10  H.J. Lu  <hjl@gnu.org>
6249         * sysdeps/ia64/dl-machine.h (TRAMPOLINE_TEMPLATE): Also preserve
6250         r9, r10 and r11 for language specific registers.
6252 2001-01-10  Jakub Jelinek  <jakub@redhat.com>
6254         * sunrpc/clnt_udp.c (clntudp_bufcreate): Set IP_RECVERR on the
6255         UDP socket.
6256         (clntudp_call): Handle MSG_ERRQUEUE.
6257         * sysdeps/generic/errqueue.h: New file.
6258         * sysdeps/unix/sysv/linux/errqueue.h: New file.
6260 2001-01-10  H.J. Lu  <hjl@gnu.org>
6262         * sysdeps/unix/sysv/linux/ia64/syscalls.list (s_getpagesize): Removed.
6264 2001-01-10  Joseph S. Myers  <jsm28@cam.ac.uk>
6266         * CONFORMANCE: Update.
6268 2001-01-09  Ulrich Drepper  <drepper@redhat.com>
6270         * sysdeps/generic/elf/backtracesyms.c (__backtrace_symbols):
6271         Minimal cleanups.  Add assert to ensure memory handling is correct.
6273         * manual/conf.texi (File Minimums): Fix _POSIX_PATH_MAX value.
6274         Reported by Ben Collins <bcollins@debian.org>.
6276         * time/strftime.c (my_strftime): Mark previous GNU extensions
6277         which are now in C99 as such.
6279 2001-01-08  Ulrich Drepper  <drepper@redhat.com>
6281         * elf/rtld.c (process_envvars): Place output files for profiling
6282         in SUID binaries in /var/profile.
6284         * elf/dl-load.c (_dl_map_object): Don't look in cache for
6285         preloading in SUID binaries.
6287         * elf/dl-profile.c (_dl_start_profile): Open the output file with
6288         O_NOFOLLOW if possible.
6290         * include/stdlib.h: Add __posix_openpt declaration.
6291         * stdlib/stdlib.h: Add posix_openpt declaration.
6292         * login/Versions: Add posix_openpt for GLIBC_2.2.1.
6293         * sysdeps/generic/getpt.c: Define posix_openpt.
6294         * sysdeps/unix/bsd/getpt.c: Likewise.
6295         * sysdeps/unix/sysv/linux/getpt.c: Likewise.
6297         * time/Makefile (tests): Add tst-mktime.
6298         * time/tst-mktime.c: New file.
6300         * posix/tst-dir.c (main): One more mkdir() test.
6302         * sysdeps/unix/sysv/linux/ia64/getpagesize.c (__getpagesize):
6303         Remove getpagesize syscall.  We assume that the pagesize is always
6304         determined from the auxiliary vector.
6306         * intl/dcigettext.c: Fix a few warnings.
6307         Patch by Bruno Haible <haible@ilog.fr>.
6309 2001-01-08  Andreas Jaeger  <aj@suse.de>
6311         * io/test-lfs.c (do_test): Check lseek64 return for EINVAL.
6312         Reported by Joseph S. Myers <jsm28@cam.ac.uk>.
6314 2001-01-08  Ulrich Drepper  <drepper@redhat.com>
6316         * sysdeps/generic/segfault.c (install_handler): Check output file
6317         name with access().
6319         * resolv/res_query.c: Use simply getenv() for HOSTALIASES.
6320         * sysdeps/generic/unsecvars.h (UNSECURE_ENVVARS): Add HOSTALIASES.
6322         * sysdeps/generic/unsecvars.h (UNSECURE_ENVVARS): Add missing comma.
6324         * malloc/memusage.c (me): Use access() to determine whether we
6325         should write the output file or not.
6327         * libio/bits/stdio.h (printf): Define macro to map printf call to
6328         fprintf which gcc can optimize.
6329         * stdio-common/printf.c: Undefine printf.
6331 2001-01-07  Ulrich Drepper  <drepper@redhat.com>
6333         * sysdeps/generic/bits/byteswap.h (__bswap_64): Partly revert last
6334         patch.  We must use unsigned int for l member of union.
6336         * sysdeps/powerpc/elf/libc-start.c (__libc_start_main): Don't call
6337         _dl_aux_init for shared libraries.
6339         * sysdeps/unix/sysv/linux/glob64.c: Moved to ...
6340         * sysdeps/gnu/glob64.c: ...here.  New file.
6342 2001-01-07  Ben Collins  <bcollins@debian.org>
6344         * manual/examples/longopt.c: Make the "struct option" a little
6345         more like it should be, adding usage of required_argument,
6346         noargument and such, and also setting the options string right.
6348         * manual/sysinfo.texi (Load Average): New section, documents
6349         getloadavg().
6351 2001-01-06  Ulrich Drepper  <drepper@redhat.com>
6353         * version.h (VERSION): Bump to 2.2.1.
6355         * sysdeps/unix/sysv/linux/mips/Dist: Remove sys/acct.h.
6356         * sysdeps/alpha/Dist: Add alphaev6/stxncpy.S and alphaev6/stxcpy.S.
6357         * sysdeps/unix/sysv/aix/Dist: Add uitrunc.c, savef.S, and restf.S.
6358         * dlfcn/Makefile (distribute): Add errmsg1mod.c.
6359         * Makefile (distribute): Add include/libc-internal.h.
6360         * libio/Makefile (distribute): Avoid overwriting.
6362         * iconvdata/ibm937.c (BODY to IBM937): Correct several mistakes in
6363         buffer and table handling.
6365 2001-01-05  H.J. Lu  <hjl@gnu.org>
6367         * elf/dl-support.c (non_dynamic_init): Move the auxiliary
6368         vector checking to ...
6369         (_dl_aux_init): Here. New function. Defined only if
6370         HAVE_AUX_VECTOR is defined.
6372         * sysdeps/generic/libc-start.c (__libc_start_main): Call
6373         _dl_aux_init for static binaries if HAVE_AUX_VECTOR is defined.
6375         * sysdeps/powerpc/elf/libc-start.c (__libc_start_main): Call
6376         _dl_aux_init.
6378         * sysdeps/unix/sysv/linux/ldsodefs.h (DL_FIND_AUXV): Removed.
6379         (HAVE_AUX_VECTOR): Defined.
6380         (_dl_aux_init): Declared.
6382 2001-01-05  Ben Collins  <bcollins@debian.org>
6384         * manual/string.texi (Finding Tokens in a String): Document XPG
6385         basename() and dirname(), as well as GNU basename().
6387 2001-01-05  Jakub Jelinek  <jakub@redhat.com>
6389         * Makeconfig (preprocess-version): Replace -traditional with
6390         -x assembler-with-cpp.
6392 2001-01-05  Joseph S. Myers  <jsm28@cam.ac.uk>
6394         * math/bits/cmathcalls.h: Don't define inline cimag, creal or conj
6395         for GCC 2.97 or later.
6397 2001-01-05  Ben Collins  <bcollins@debian.org>
6399         * manual/stdio.texi (getline): Clarify the return value in the
6400         case of EOF being reached before a newline.
6402 2001-01-04  Jakub Jelinek  <jakub@redhat.com>
6404         * sunrpc/pmap_clnt.c (__get_myaddress): Return TRUE if successful,
6405         FALSE otherwise.
6406         (pmap_set, pmap_unset): Check __get_myaddress return value.
6408 2001-01-05  Mark Kettenis  <kettenis@gnu.org>
6410         * sysdeps/generic/netinet/if_ether.h: Include <sys/types.h>.
6411         (struct ether_addr): Declare ether_addr_octet member as
6412         `u_int8_t'.  Add __attribute__ ((__packed__)).
6414 2001-01-06  Mark Kettenis  <kettenis@gnu.org>
6416         * sysdeps/mach/hurd/readdir64.c: New file.
6417         * sysdeps/mach/hurd/readdir64_r.c: New file.
6419 2001-01-07  Mark Kettenis  <kettenis@gnu.org>
6421         * sysdeps/mach/hurd/fstatvfs.c (fstatvfs): Add comment about
6422         `struct statfs' and `struct statvfs' being identical.
6423         * sysdeps/mach/hurd/statvfs.c (statvfs): Likewise.
6425 2001-01-06  Mark Kettenis  <kettenis@gnu.org>
6427         * sysdeps/mach/hurd/fstatfs64.c: New file.
6428         * sysdeps/mach/hurd/fstatvfs64.c: New file.
6429         * sysdeps/mach/hurd/statfs64.c: New file.
6430         * sysdeps/mach/hurd/statvfs64.c: New file.
6431         * sysdeps/mach/hurd/statfsconv.c: New file.
6432         * sysdeps/mach/hurd/Dist: Add statfsconv.c.
6434 2001-01-06  Ulrich Drepper  <drepper@redhat.com>
6436         * iconv/skeleton.c: Reset outbuf for next round of the loop.
6437         Reported by Owen Taylor <otaylor@redhat.com>.
6438         * iconv/Makefile (tests): Add tst-iconv3.
6439         * iconv/tst-iconv3.c: New file.
6441         * iconvdata/ibm930.c: Fix handling of state.  Optimize a bit.
6442         * iconvdata/ibm933.c: Likewise.
6443         * iconvdata/ibm935.c: Likewise.
6444         * iconvdata/ibm937.c: Likewise.
6445         * iconvdata/ibm939.c: Likewise.
6446         * iconvdata/ibm930.h: Adjust single byte table for optimization.
6447         * iconvdata/ibm933.h: Likewise.
6448         * iconvdata/ibm935.h: Likewise.
6449         * iconvdata/ibm939.h: Likewise.
6451         * iconvdata/testdata/IBM930: Add misssing SI.
6452         * iconvdata/testdata/IBM933: Likewise.
6453         * iconvdata/testdata/IBM935: Likewise.
6454         * iconvdata/testdata/IBM937: Likewise.
6455         * iconvdata/testdata/IBM939: Likewise.
6457 2001-01-06  Andreas Jaeger  <aj@suse.de>
6459         * configure.in: Check for old add-ons that shouldn't be used with
6460         current glibc anymore.
6462 2001-01-06  Mark Kettenis  <kettenis@gnu.org>
6464         * sysdeps/mach/hurd/readdir_r.c (__readdir_r): Return error number
6465         instead of -1 on failure.  Don't forget to copy file name into
6466         *ENTRY if successful.  Set *RESULT to NULL upon reaching the end
6467         of the directory.
6469 2001-01-06  Mark Kettenis  <kettenis@gnu.org>
6471         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Don't forget to
6472         copy st_atime member.
6474 2001-01-05  Ulrich Drepper  <drepper@redhat.com>
6476         * io/ftw.c (ftw_dir): Don't add a second slash at the beginning
6477         for searches from the root directory.
6478         Reported by loris <loris@iol.it> [PR libc/1991].
6479         * io/Makefile (tests): Add bug-ftw1.
6480         * io/bug-ftw1.c: New file.
6482         * elf/dl-support.c (non_dynamic_init): Don't define DL_FIND_AUXV
6483         if it is not available.  Instead use it only if it is available.
6484         * sysdeps/unix/sysv/linux/ldsodefs.h: New file.
6486         * iconv/gconv_simple.c (internal_ics4_loop): Correct test for
6487         overflowing output buffer.
6488         (internal_ucs4_loop_unaligned): Likewise.
6489         (ucs4_internal_loop): Likewise.
6490         (ucs4_internal_loop_unaligned): Likewise.
6491         (internal_ucs4le_loop): Likewise.
6492         (internal_ucs4le_loop_unaligned): Likewise.
6493         (ucs4le_internal_loop): Likewise.
6494         (ucs4le_internal_loop_unaligned): Likewise.
6495         Reported by Owen Taylor <otaylor@redhat.com>.
6496         * iconv/Makefile (tests): Add tst-iconv2.
6497         * iconv/tst-iconv2.c: New file.
6499 2001-01-04  H.J. Lu  <hjl@gnu.org>
6501         * elf/dl-support.c (DL_FIND_AUXV): New.  Defined if not defined.
6502         (_dl_clktck): Declared.
6503         (non_dynamic_init): Take 3 arguments.
6504         Set _dl_pagesize, _dl_platform and _dl_clktck from AUX.
6506 2001-01-01  Bruno Haible  <haible@clisp.cons.org>
6508         Finish implementation of plural form handling.
6509         * intl/dcigettext.c (known_translation_t): Rename 'domain' field to
6510         'domainname'.  Remove 'plindex' field. Add 'domain' and
6511         'translation_length' fields.
6512         (transcmp): Don't compare 'plindex' fields.
6513         (plural_lookup): New function.
6514         (DCIGETTEXT): Change cache handing in the plural case.  Don't call
6515         plural_eval before the translation and its catalog file have been
6516         found. Remove plindex from cache key.  Add 'translation_length' and
6517         'domain' to cache result.
6518         (_nl_find_msg): Remove index argument, return length of translation
6519         to the caller instead.  Weaken comparison of string lengths, to account
6520         for plural entries.  Call iconv() on the entire result string, not
6521         only on the portion needed so far.
6522         * intl/loadinfo.h (_nl_find_msg): Remove index argument, add lengthp
6523         argument.
6524         * intl/loadmsgcat.c (_nl_load_domain): Adapt to _nl_find_msg change.
6526 2001-01-04  Ulrich Drepper  <drepper@redhat.com>
6528         * intl/plural.y (yylex): Minimal improvement in number scanner.
6530 2000-07-31  Bruno Haible  <haible@clisp.cons.org>
6532         * intl/plural.y: Include config.h. Needed to define 'inline' away for
6533         C compilers that don't support it.
6534         (yylex): Don't use gcc specific case range syntax.
6535         * intl/loadmsgcat.c (INIT_GERMANIC_PLURAL): New macro, for old
6536         compilers.
6538 2000-10-12  Bruno Haible  <haible@clisp.cons.org>
6540         * intl/finddomain.c: Remove unneeded includes.
6542 2000-10-12  Bruno Haible  <haible@clisp.cons.org>
6544         * intl/localealias.c (memcpy): Return first argument, just like the
6545         real memcpy function does.
6546         * intl/bindtextdom.c (memcpy): Likewise.
6547         * intl/finddomain.c (memcpy): Likewise.
6548         * intl/l10nflist.c (memcpy): Likewise.
6549         * intl/textdomain.c (memcpy): Likewise.
6550         From Paul Eggert <eggert@twinsun.com>.
6552 2001-01-03  Jakub Jelinek  <jakub@redhat.com>
6554         * resolv/resolv.h (struct __res_state): Add nsinit field.
6555         * resolv/res_send.c (res_nsend): Use it instead of nscount.
6556         * resolv/res_init.c (__res_vinit): Initialize it.
6557         (res_nclose): Clear it instead of nscount.
6559 2001-01-04  Ulrich Drepper  <drepper@redhat.com>
6561         * malloc/mtrace.pl: Fix matching of addresses.
6562         Patch by Aharon Robbins <arnold@skeeve.com>.
6564         * Versions.def (ld): Add GLIBC_2.2.
6566         * catgets/gencat.c: Copyright 2001.
6567         * csu/version.c: Likewise.
6568         * debug/catchsegv.sh: Likewise.
6569         * debug/xtrace.sh: Likewise.
6570         * elf/ldconfig.c: Likewise.
6571         * elf/sprof.c: Likewise.
6572         * iconv/iconv_prog.c: Likewise.
6573         * locale/locale.c: Likewise.
6574         * locale/localedef.c: Likewise.
6575         * malloc/memusage.sh: Likewise.
6576         * malloc/mtrace.pl: Likewise.
6577         * nscd/nscd.c: Likewise.
6578         * posix/getconf.c: Likewise.
6580 2001-01-04  Mark Kettenis  <kettenis@gnu.org>
6582         * include/stdio.h: Only provide __getwc_unlocked prototype if
6583         USE_IN_LIBIO is defined.
6585 2001-01-04  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
6587         * sysdeps/unix/sysv/linux/sh/socket.S (__socket): Fix error code
6588         handling.
6590 2001-01-03  Andreas Schwab  <schwab@suse.de>
6592         * sysdeps/generic/strtoll.c: Remove unused __strtoq_internal alias.
6593         * sysdeps/generic/strtoull.c: Remove unused __strtouq_internal alias.
6595         * sysdeps/wordsize-64/strtol.c: Add strtoq alias and fix strtoll alias.
6596         * sysdeps/wordsize-64/strtoul.c: Add strtouq alias and fix
6597         strtoull alias.
6598         * sysdeps/wordsize-64/wcstol.c: Add wcstoq alias and fix wcstoll alias.
6599         * sysdeps/wordsize-64/wcstoul.c: Add wcstouq alias and fix
6600         wcstoull alias.
6602         * sysdeps/generic/strtoul.c: Make sure we find strtol.c in this
6603         directory.
6604         * sysdeps/generic/strtol_l.c: Likewise.
6605         * sysdeps/generic/strtoul_l.c: Likewise.
6606         * sysdeps/generic/wcstoul.c: Likewise, for wcstol.c.
6608         * sysdeps/wordsize-64/strtol_l.c: Fix alias.
6609         * sysdeps/wordsize-64/strtoul_l.c: Likewise.
6610         * sysdeps/wordsize-64/wcstol_l.c: Fix alias.
6611         * sysdeps/wordsize-64/wcstoul_l.c: Likewise.
6613 2001-01-04  Andreas Jaeger  <aj@suse.de>
6615         * nss/nsswitch.c: Include files for missing prototypes, remove
6616         buggy declaration of prototypes.
6618 2001-01-03  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
6620         * resolv/Versions: Fix bracing.
6621         * sysdeps/powerpc/soft-fp/Versions: Likewise.
6622         * sysdeps/sparc/sparc64/soft-fp/Versions: Likewise.
6624 2001-01-02  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
6626         * sysdeps/powerpc/dl-machine.c (__process_machine_rela): Fix typo.
6628 2001-01-02  Ulrich Drepper  <drepper@redhat.com>
6630         * manual/Makefile (TEXI2PDF): Change to texi2dvi --pdf.
6631         Suggested by Minko Markov <mmarkov@home.com>.
6633 2001-01-02  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
6635         * sysdeps/powerpc/elf/start.S (__data_start): Make it global.
6636         * sysdeps/powerpc/dl-machine.c (dl_reloc_overflow): Print the name of
6637         the failing symbol.
6638         (__process_machine_rela): Pass symbol to dl_reloc_overflow().
6640 2001-01-02  Ben Collins  <bcollins@debian.org>
6642         * time/tzset.c (tzset_internal): Make sure we fall back to UTC
6643         if TZ is not set and TZDEFAULT is not present.
6645 2001-01-01  Ben Collins  <bcollins@debian.org>
6647         * string/strings.h: Make sure we declare our functions even if
6648         string.h is already included, based on whether or not __USE_BSD is
6649         defined.
6651 2001-01-02  Ulrich Drepper  <drepper@redhat.com>
6653         * dlfcn/dlerror.c (dlerror): Handle call of dlerror() before any
6654         other dlopen() and dlsym().
6655         Based on a patch by Ben Collins <bcollins@debian.org>.
6657 2001-01-02  Andreas Jaeger  <aj@suse.de>
6659         * dlfcn/errmsg1.c (main): Call dlerror initially.
6660         Reported by Ben Collins <bcollins@debian.org>.
6662 2001-01-02  Ulrich Drepper  <drepper@redhat.com>
6664         * intl/dcigettext.c (guess_category_value): Rewrite so that LANGUAGE
6665         value is ignored if the selected locale is the C locale.
6666         * intl/tst-gettext.c: Set locale for above change.
6667         * intl/tst-translit.c: Likewise.
6669 2001-01-02  Andreas Jaeger  <aj@suse.de>
6671         * libio/wgenops.c (_IO_wdoallocbuf): Use correct wide access macro.
6672         (_IO_switch_to_wget_mode): Likewise.
6673         (_IO_sputbackwc): Likewise.
6674         (_IO_sungetwc): Use wint_t for result.
6676         * stdio-common/vfscanf.c (__vfscanf): Use WINT_T for done.
6678         * sysdeps/generic/strtol.c (strtol): Make cnt size_t for correct
6679         signedness.
6681         * sysdeps/generic/printf_fphex.c (putc): Cast _IO_putwc_unlocked
6682         to (int) to avoid warnings.
6683         * stdio-common/printf_fp.c (putc): Likewise.
6684         * stdio-common/printf_size.c (putc): Likewise.
6686         * sysdeps/generic/dl-sysdep.c (_dl_important_hwcaps): Make
6687         constant unsigned.
6689 2001-01-01  Andreas Jaeger  <aj@suse.de>
6691         * inet/rcmd.c (rcmd_af): Use socklen_t for len.
6693 2000-12-31  Andreas Jaeger  <aj@suse.de>
6695         * include/libc-internal.h: Add prototype for __libc_freeres.
6697         * sysdeps/unix/sysv/linux/init-first.c: Include <libc-internals.h>
6698         for prototypes, remove redundant prototypes.
6699         * gmon/gmon.c: Likewise.
6700         * sysdeps/unix/i386/i586/clock_getres.c: Likewise.
6701         * sysdeps/unix/i386/i586/clock_gettime.c: Likewise.
6702         * malloc/mtrace.c: Likewise.
6704         * sysdeps/generic/enbl-secure.c: Include <libc-internals.h> for
6705         prototypes.
6706         * elf/soinit.c: Likewise.
6707         * sysdeps/generic/prof-freq.c: Likewise.
6708         * sysdeps/mach/hurd/profil.c: Likewise.
6709         * debug/noophooks.c: Likewise.
6710         * debug/pcprofile.c: Likewise.
6711         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Likewise.
6712         * sysdeps/generic/get_clockfreq.c: Likewise.
6713         * malloc/set-freeres.c: Likewise.
6715         * locale/localeinfo.h: Add internal prototypes.
6717         * elf/rtld.c (dl_main): Fix prototype.
6719         * iconvdata/tst-table-to.c (main): Use return instead of exit to
6720         avoid warning.
6722         * nis/rpcsvc/yp_prot.h: Remove __P.
6723         * nis/rpcsvc/ypupd.h: Likewise.
6724         * nis/rpcsvc/yp.h: Likewise.
6726         * sunrpc/rpc_main.c: Add noreturn attributes.
6727         * sunrpc/rpc_scan.h: Likewise.
6729         * sunrpc/rpc_hout.c (storexdrfuncdecl): Make static.
6731         * sunrpc/rpcinfo.c: Add noreturn attribute to brdcst.
6733         * sunrpc/proto.h: Add noreturn attributes to error and crash.
6735         * posix/bsd-getpgrp.c: Add prototype to avoid warning.
6737         * sunrpc/svc_unix.c: Include <rpc/svc.h> for prototypes.
6739         * sunrpc/create_xid.c: Include <rpc/svc.h> for prototypes.
6741         * include/rpc/rpc_msg.h: Add prototypes for some functions.
6742         * include/rpc/auth.h: Likewise.
6743         * include/rpc/auth_des.h: Likewise.
6744         * include/rpc/clnt.h: Likewise.
6745         * include/rpc/rpc.h: Likewise.
6746         * include/rpc/svc.h: Likewise.
6747         * include/rpc/svc_auth.h: Likewise.
6749         * include/rpc/des_crypt.h: New file.
6751         * malloc/memusagestat.c (main): Use return instead of exit to
6752         avoid warning.
6753         * io/pwd.c (main): Likewise.
6754         * iconvdata/tst-table-from.c (main): Likewise.
6755         * ctype/test_ctype.c (main): Likewise.
6756         * setjmp/tst-setjmp.c (main): Likewise.
6757         * signal/tst-signal.c (main): Likewise.
6758         * stdlib/tst-strtol.c (main): Likewise.
6759         * stdlib/tst-strtod.c (main): Likewise.
6760         * stdlib/tst-strtoll.c (main): Likewise.
6761         * stdlib/tst-xpg-basename.c (main): Likewise.
6762         * dirent/tst-seekdir.c (main): Likewise.
6763         * grp/testgrp.c (main): Likewise.
6764         * inet/test_ifindex.c (main): Likewise.
6765         * io/test-utime.c (main): Likewise.
6766         * posix/test-vfork.c (main): Likewise.
6767         * posix/testfnm.c (main): Likewise.
6768         * stdio-common/temptest.c (main): Likewise.
6769         * stdio-common/test_rdwr.c (main): Likewise.
6770         * stdio-common/tst-fileno.c (main): Likewise.
6771         * stdio-common/tst-sscanf.c (main): Likewise.
6772         * stdio-common/tstscanf.c (main): Likewise.
6773         * string/bug-strncat1.c (main): Likewise.
6774         * string/bug-strpbrk1.c (main): Likewise.
6775         * string/bug-strspn1.c (main): Likewise.
6776         * string/test-ffs.c (main): Likewise.
6777         * string/tst-inlcall.c (main): Likewise.
6778         * string/tst-svc.c (main): Likewise.
6779         * timezone/test-tz.c (main): Likewise.
6780         * wctype/test_wcfuncs.c (main): Likewise.
6781         * wctype/test_wctype.c (main): Likewise.
6783         * stdlib/tst-random.c: Add attribute noreturn to fail.
6785 2000-12-28  Wolfram Gloger  <wg@malloc.de>
6787         * malloc/malloc.c (MALLOC_COPY): Handle case if source and
6788         destination overlap.  Assume dest is always below source if
6789         overlapping.
6791 2000-12-30  Ulrich Drepper  <drepper@redhat.com>
6793         * elf/dl-close.c (_dl_close): We can ignore the NODELETE flag if the
6794         object was not yet initialized.
6796 2000-12-28  H.J. Lu  <hjl@gnu.org>
6798         * elf/dl-deps.c (_dl_map_object_deps): Make sure the DSO state
6799         is always consistent even if its dependency is failed.
6801         * elf/dl-open.c (_dl_open): Increment the open count before
6802         calling _dl_close () in case of failure.
6804         * elf/neededtest4.c: New file.
6805         * elf/neededobj5.c: New file.
6806         * elf/neededobj6.c: New file.
6808         * elf/Makefile (distribute): Add neededobj5.c and neededobj6.c.
6809         (tests): Add neededtest4.
6810         (modules-names): Add neededobj5 and neededobj6.
6811         ($(objpfx)neededobj6.so): New target.
6812         ($(objpfx)neededtest4): New target.
6813         ($(objpfx)neededtest4.out): New target.
6815 2000-12-28  Joseph S. Myers  <jsm28@cam.ac.uk>
6817         * misc/sys/cdefs.h (__attribute_format_strfmon__): Define.
6818         * stdlib/monetary.h: Add strfmon format attributes.
6820 2000-12-28  Roland McGrath  <roland@frob.com>
6822         * sysdeps/mach/hurd/ioctl.c (do_ioctl): Avoid double-increment after
6823         __mempcpy does it for us.
6825 2000-12-28  Andreas Jaeger  <aj@suse.de>
6827         * sysdeps/generic/dl-environ.c: Add prototype for unsetenv.
6829         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Add prototype for
6830         __new_setrlimit.
6832         * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Add prototype for
6833         __old_getrlimit64.
6835         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Add prototype for
6836         __new_getrlimit.
6838         * sysdeps/unix/sysv/linux/i386/chown.c: Add prototypes for
6839         __chown_is_lchown and __real_chown.
6841         * sysdeps/generic/ldsodefs.h: Add noreturn attribute to
6842         _dl_reloc_bad_type.
6844         * sunrpc/rpc_hout.c (print_funcdef): Add break statement to shut
6845         up GCC's warning about "deprecated use of label at end of compound
6846         statement."
6847         * sunrpc/rpc_cout.c (emit_inline): Likewise.
6849         * gmon/bb_exit_func.c: Include <sys/gmon.h> for internal
6850         prototypes.
6851         Remove struct bb and __bb_head since those are declared by
6852         sys/gmon.h.
6854 2000-12-22  Ben Collins  <bcollins@debian.org>
6856         * manual/charset.texi: Fix typo in description of WCHAR_MAX.
6858         * manual/argp.texi: Document argp_domain as part of struct argp.
6860 2000-12-28  Andreas Jaeger  <aj@suse.de>
6862         * catgets/Makefile (generated): Add sample.SJIS.cat.
6864         * sunrpc/rpc_dtable.c: Include rpc/clnt.h for prototypes.
6866         * elf/dl-minimal.c: Add prototypes.
6868         * include/locale.h: Add internal prototypes.
6869         * include/sys/gmon.h: Likewise.
6871         * dlfcn/errmsg1mod.c: Add prototype for foo to shut up GCC.
6873 2000-12-27  Ben Collins  <bcollins@debian.org>
6875         * elf/dl-open.c (_dl_open): Correctly set the new objname pointer
6876         when reallocating the error strings.
6877         Reported by Kalle Olavi Niemitalo <kon@iki.fi>
6879 2000-12-27  Ulrich Drepper  <drepper@redhat.com>
6881         * dlfcn/Makefile (tests): Add errmsg1.
6882         (modules-names): Add errmsg1mod.
6883         Add rules to run errmsg1.
6884         * dlfcn/errmsg1.c: New file.
6885         * dlfcn/errmsg1mod.c: New file.
6887         * dlfcn/dlerror.c (dlerror): Always create output string which
6888         includes object file name.
6890         * sysdeps/alpha/alphaev6/memcpy.S: Don't go through unrolled loop
6891         if we would go through it only once.
6892         Patch by Rick Gorton <rick.gorton@api-networks.com>.
6894         * sysdeps/alpha/alphaev67/strncat.S: Fix handling of numeric parameter.
6895         Patch by Richard Henderson <rth@redhat.com>.
6897 2000-12-27  Jakub Jelinek  <jakub@redhat.com>
6899         * malloc/malloc.c (memmove): Add prototypes.
6900         (MALLOC_MEMMOVE): Define.
6901         (chunk_realloc): Use it instead of MALLOC_COPY if source and
6902         destination might overlap.
6904 2000-12-27  Andreas Jaeger  <aj@suse.de>
6906         * stdio-common/printf_fp.c (__printf_fp): Add prototype for nested
6907         function.
6908         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
6909         * locale/programs/locale.c (show_locale_vars): Likewise.
6910         (show_info): Likewise.
6911         * locale/programs/ld-collate.c (collate_output): Likewise.
6912         * locale/programs/ld-ctype.c (set_class_defaults): Likewise.
6913         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
6914         * stdlib/rpmatch.c (rpmatch): Likewise.
6916         * setjmp/tst-setjmp.c: Make local functions static.
6917         * setjmp/jmpbug.c: Likewise.
6918         * signal/tst-signal.c: Likewise.
6919         * stdio-common/tfformat.c: Likewise.
6920         * string/tst-svc.c: Likewise.
6921         * time/clocktest.c: Likewise.
6922         * time/tst-getdate.c: Likewise.
6923         * dirent/list.c: Likewise.
6924         * dirent/opendir-tst1.c: Likewise.
6925         * posix/runtests.c: Likewise.
6926         * posix/tst-getaddrinfo.c: Likewise.
6927         * posix/tst-chmod.c: Likewise.
6928         * posix/wordexp-test.c: Likewise.
6929         * misc/tst-efgcvt.c: Likewise.
6930         * timezone/tst-timezone.c: Likewise.
6931         * rt/tst-clock.c: Likewise.
6932         * rt/tst-shm.c: Likewise.
6933         * rt/tst-aio2.c: Likewise.
6934         * rt/tst-aio3.c: Likewise.
6935         * rt/tst-aio4.c: Likewise.
6936         * rt/tst-aio5.c: Likewise.
6938         * dlfcn/failtest.c: Add prototype for foo.
6940         * dlfcn/glrefmain.c: Add prototype for do_test.
6942         * dlfcn/tst-dladdr.c: Add prototype for do_test.
6944         * string/test-ffs.c (main): Add prototype for nested function.
6946         * sunrpc/des_soft.c: Include rpc/des_crypt.h for prototype.
6948         * nss/XXX-lookup.c: Add prototype to shut up GCC.
6950         * include/netinet/ether.h (DECLARE_NSS_PROTOTYPES): Fix
6951         setetherent prototype.
6952         Add internal interfaces.
6954         * nis/nss_nis/nis-ethers.c (_nss_nis_setetherent): Likewise.
6955         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent): Likewise.
6957         * resolv/res_data.c: Don't add (conflicting) prototypes for _LIBC.
6959         * nis/nis_intern.h: Add prototype for __pmap_getnisport.
6961         * nss/nss_files/files-ethers.c: Include netinet/ether.h to get
6962         prototypes, remove struct etherent since it's declared in ether.h.
6963         Fix ntohost declaration.
6965         * elf/dl-profile.c (_dl_mcount): Add empty statement to shut up GCC.
6967         * include/getopt.h: Add internal interfaces.
6968         * include/termios.h: Likewise.
6969         * include/resolv.h: Likewise.
6970         * include/netdb.h: Likewise.
6971         * include/grp.h: Likewise.
6972         * include/pwd.h: Likewise.
6973         * include/shadow.h: Likewise.
6974         * include/rpc/netdb.h: Likewise.
6975         * include/setjmp.h: Likewise.
6977         * include/stdio.h: Add prototypes for compatibility functions.
6978         * include/grp.h: Likewise.
6979         * include/pwd.h: Likewise.
6980         * include/shadow.h: Likewise.
6982         * include/fenv.h: Define internal interfaces.
6984 2000-12-27  Ulrich Drepper  <drepper@redhat.com>
6986         * sysdeps/generic/bits/byteswap.h (__bswap_64): Handle constant
6987         argument case separately.
6988         * sysdeps/i386/bits/byteswap.h (__bswap_64): Likewise.
6990 2000-12-27  Andreas Jaeger  <aj@suse.de>
6992         * include/sys/wait.h: Add some prototypes.
6993         * Rules (dummy.c): Create also prototype to shut up GCC.
6995 2000-12-27  Andreas Jaeger  <aj@suse.de>
6997         * sysdeps/mach/hurd/if_index.c (__protocol_available): Uncomment,
6998         it's not needed at the moment.
6999         * sysdeps/generic/if_index.c (__protocol_available): Likewise.
7000         * sysdeps/unix/sysv/linux/if_index.c (__protocol_available): Likewise.
7002 2000-12-26  Andreas Jaeger  <aj@suse.de>
7004         * libio/getc_u.c: Include stdio.h via system path to get internal
7005         prototypes.
7006         * libio/getwc_u.c: Likewise.
7008         * stdlib/strfmon.c: Fix prototype of __printf_fp.
7010         * stdio-common/vfprintf.c (process_arg): Move __printf_fphex and
7011         __printf_fp prototypes to ...
7012         * include/printf.h: ...here.
7014         * include/stdio.h: Add some internal prototypes to shut up GCC.
7015         * include/stdlib.h: Likewise.
7017         * sysdeps/posix/sigpause.c (__sigpause): Use ISO C prototype
7018         declaration.
7020         * include/signal.h: Add prototypes for internal sigpause
7021         interfaces.
7023 2000-12-26  Ulrich Drepper  <drepper@redhat.com>
7025         * sysdeps/generic/bits/byteswap.h (__bswap_64): Make it usable for
7026         64bit platforms.  Reported by Dave Gilbert <gilbertd@treblig.org>.
7028         * string/Makefile (tests): Add tst-bswap.
7029         * string/tst-bswap.c: New file.
7031 2000-12-11  Bruno Haible  <haible@clisp.cons.org>
7033         * Makefile ($(inst_includedir)/gnu/stubs.h): Sort in the C locale.
7035 2000-12-26  Ulrich Drepper  <drepper@redhat.com>
7037         * sunrpc/Makefile (rpcgen-cmd): Use single quotes in sed call.
7038         Patch by Ed Connell <Ed.Connell@sas.com>.
7040 2000-12-24  Ulrich Drepper  <drepper@redhat.com>
7042         * locale/iso-639.def: Correct one entry.  Add two missing entries.
7044         * locale/iso-4217.def: Change entry for Eritrea.
7045         Reported by Daniel Yacob <yacob@geez.org>.
7047 2000-12-23  Ben Collins  <bcollins@debian.org>
7049         * manual/charset.texi (Extended Char Intro): Fix typo in ISO 6937
7050         description.
7052         * manual/stdio.texi (Dynamic Output): Document the return value of
7053         asprintf.  Also make the asprintf/snprintf examples a little
7054         better (check for some error returns).
7056 2000-12-22  Andreas Jaeger  <aj@suse.de>
7058         * include/stdio.h: Add __ftrylockfile prototype.
7060 2000-12-21  H.J. Lu  <hjl@gnu.org>
7062         * sysdeps/ia64/fpu/math_ldbl.h (ieee_long_double_shape_type):
7063         Make sign_exponent element signed.
7065         * sysdeps/ieee754/ldbl-96/math_ldbl.h (ieee_long_double_shape_type):
7066         Fix a typo.
7068         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Remove dead branch.
7070 2000-12-21  Andreas Jaeger  <aj@suse.de>
7072         * nis/nss_nisplus/nisplus-ethers.c (struct etherent): Removed.
7073         * inet/ether_hton.c: Likewise
7074         * inet/ether_ntoh.c: Likewise.
7076         * nis/nss_nis/nis-ethers.c (_nss_nis_getntohost_r): Fix
7077         declaration to match prototype.
7079         * include/netinet/ether.h (struct etherent): Declare here so that
7080         all implementations use the same struct.
7082         * nis/nss_nis/nis-ethers.c: Include netinet/ether.h to get
7083         prototypes.
7084         (struct ether): Removed.
7085         Use struct etherent instead of ether everywhere.
7087         * include/rpc/auth.h (DECLARE_NSS_PROTOTYPES): New.
7089         * include/rpc/auth_des.h (DECLARE_NSS_PROTOTYPES): New.
7091         * sunrpc/publickey.c: Include auth_des.h for prototypes.
7093 2000-12-20  Ulrich Drepper  <drepper@redhat.com>
7095         * math/test-misc.c: Add more tests for nextafter functions.
7097         * sysdeps/i386/fpu/s_nextafterl.c: Handle change from denormal to
7098         normal correctly.  Correct test for sign.
7099         Based on a patch by HJ Lu.
7101 2000-12-19  Ulrich Drepper  <drepper@redhat.com>
7103         * Makeconfig (preprocess-version): Add -traditional to gcc call.
7104         Cleanup sed calls.
7106 2000-12-19  Andreas Jaeger  <aj@suse.de>
7108         * include/netinet/ether.h (DECLARE_NSS_PROTOTYPES): New.
7110         * nis/nis_intern.h: Add prototype for __do_niscall3.
7112         * nis/nss_nis/nis-rpc.c (_nss_nis_setrpcent): Fix declaration to
7113         match prototype.
7115         * include/netdb.h (DECLARE_NSS_PROTOTYPES): Reformat.
7117         * include/rpc/netdb.h (DECLARE_NSS_PROTOTYPES): New.
7119         * include/aliases.h (DECLARE_NSS_PROTOTYPES): New.
7121 2000-12-18  Ulrich Drepper  <drepper@redhat.com>
7123         * math/test-misc.c: Add more tests for nextafter.
7124         * sysdeps/i386/fpu/s_nextafterl.c: Handle decrement for x<0 correctly.
7125         * sysdeps/ieee754/ldbl-96/math_ldbl.h
7126         (ieee_long_double_shape_type): Make sign_exponent element signed.
7128         * manual/message.texi: Add Estonian to plural overview list.
7129         Correct rule for Slavic languages.
7130         Patch by Stanislav Brabec <utx@penguin.cz>.
7132         * nis/nss_nis/nis-netgrp.c: Remove unnecessary initializations.
7134 2000-12-18  Andreas Jaeger  <aj@suse.de>
7136         * test-skeleton.c: Use temp_name_list instead of name_list to
7137         avoid collision with name_list from inet/netgroup.h.
7139         * nss/nss_files/files-network.c (NEED_H_ERRNO): Define.
7141         * include/grp.h (DECLARE_NSS_PROTOTYPES): New.
7142         * include/pwd.h (DECLARE_NSS_PROTOTYPES): New.
7143         * include/netdb.h (DECLARE_NSS_PROTOTYPES): New.
7144         * include/shadow.h (DECLARE_NSS_PROTOTYPES): New.
7146         * hesiod/nss_hesiod/hesiod-proto.c (_nss_hesiod_setprotoent): Fix
7147         declaration to match prototype.
7148         * hesiod/nss_hesiod/hesiod-pwd.c (_nss_hesiod_setpwent): Likewise.
7149         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_setgrent): Likewise.
7150         * hesiod/nss_hesiod/hesiod-service.c (_nss_hesiod_setservent):
7151         Likewise.
7152         * nis/nss_nis/nis-grp.c (_nss_nis_setgrent): Likewise.
7153         * nis/nss_nis/nis-pwd.c (_nss_nis_setpwent): Likewise.
7154         * nis/nss_nis/nis-proto.c (_nss_nis_setprotoent): Likewise.
7155         * nis/nss_nis/nis-service.c (_nss_nis_setservent): Likewise.
7156         (_nss_nis_getservbyport_r): Likewise.
7157         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent): Likewise.
7158         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent): Likewise.
7159         * nis/nss_nis/nis-network.c (_nss_nis_getnetent_r): Likewise.
7160         (_nss_nis_setnetent): Likewise
7161         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
7162         (_nss_nis_endnetgrent): Likewise.
7163         * nis/nss_nisplus/nisplus-netgrp.c (_nss_nisplus_endnetgrent):
7164         Likewise.
7165         (_nss_nisplus_setnetgrent): Likewise.
7166         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Likewise.
7167         * nis/nss_nisplus/nisplus-pwd.c (_nss_nisplus_setpwent): Likewise.
7168         * nis/nss_nisplus/nisplus-grp.c (_nss_nisplus_setgrent): Likewise.
7169         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_setnetent):
7170         Likewise.
7171         * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_sethostent):
7172         Likewise.
7173         * nis/nss_nisplus/nisplus-service.c (_nss_nisplus_setservent):
7174         Likewise.
7175         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_setprotoent):
7176         Likewise.
7177         * nis/nss_compat/compat-spwd.c (_nss_compat_setspent): Likewise.
7178         * nis/nss_compat/compat-pwd.c (_nss_compat_setpwent): Likewise.
7179         * nis/nss_compat/compat-grp.c (_nss_compat_setgrent): Likewise.
7180         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Likewise.
7181         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Likewise.
7182         (_nss_dns_getnetbyaddr_r): Likewise.
7184 2000-12-17  Andreas Jaeger  <aj@suse.de>
7186         * sysdeps/generic/k_sinl.c (__kernel_sinl): Fix functions
7187         parameter.
7189         * sysdeps/unix/sysv/linux/shm_open.c (freeit): Make static and add
7190         unused attribute to shut up gcc warnings.
7192         * sysdeps/generic/k_sinl.c: Include math_private for prototypes.
7193         * sysdeps/generic/k_tanl.c: Likewise.
7194         * sysdeps/generic/k_cosl.c: Likewise.
7195         * sysdeps/generic/e_j0l.c: Likewise.
7196         * sysdeps/generic/e_j1l.c: Likewise.
7197         * sysdeps/generic/e_jnl.c: Likewise.
7198         * sysdeps/generic/e_lgammal_r.c: Likewise.
7200         * elf/vismain.c: Move prototypes for functions in vismod*.c to
7201         vismod.h.
7202         * elf/vismod.h: New file.
7203         * elf/Makefile (distribute): Add vismod.h.
7204         * elf/vismod1.c: Include vismod.h.
7205         * elf/vismod2.c: Likewise.
7206         * elf/vismod3.c: Likewise.
7208         * elf/constload3.c: Add prototype declarations to shut up gcc.
7209         * elf/failobj.c: Likewise.
7210         * elf/nodelmod3.c: Likewise.
7211         * elf/filtmod1.c: Likewise.
7212         * elf/filtmod2.c: Likewise.
7213         * elf/reldepmod1.c: Likewise.
7214         * elf/reldepmod2.c: Likewise.
7215         * elf/reldepmod3.c: Likewise.
7216         * elf/reldepmod4.c: Likewise.
7217         * elf/unload2dep.c: Likewise.
7218         * elf/unload2mod.c: Likewise.
7219         * elf/ltglobmod1.c: Likewise.
7220         * elf/pathoptobj.c: Likewise.
7221         * elf/neededobj1.c: Likewise.
7222         * elf/neededobj2.c: Likewise.
7223         * elf/neededobj3.c: Likewise.
7224         * elf/neededobj4.c: Likewise.
7225         * elf/nextmod1.c: Likewise.
7226         * elf/nextmod2.c: Likewise.
7228         * locale/programs/ld-collate.c (collate_finish): Don't use labels
7229         at end of compound statement.
7230         * locale/programs/locale.c (show_info): Likewise.
7231         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Likewise.
7233 2000-12-16  Jakub Jelinek  <jakub@redhat.com>
7235         * catgets/gencat.c (read_input_file): Avoid calling obstack_free
7236         with a pointer not returned by obstack_ functions.
7238 2000-12-16  Ulrich Drepper  <drepper@redhat.com>
7240         * sysdeps/unix/sysv/aix/bits/stat.h (struct stat): Align with AIX
7241         version.
7242         (struct stat64): Likewise.
7243         Reported by Michael Keezer <mkeezer@redhat.com>.
7245         * timezone/asia: Update from tzdata2000h.
7246         * timezone/australasia: Likewise.
7247         * timezone/backward: Likewise.
7248         * timezone/europe: Likewise.
7249         * timezone/northamerica: Likewise.
7250         * timezone/southamerica: Likewise.
7251         * timezone/zone.tab: Likewise.
7253 2000-12-14  Jakub Jelinek  <jakub@redhat.com>
7255         * io/ftw.c (ftw_dir): If process_entry returned non-zero result
7256         and dir.stream is NULL, only free dir.content.
7257         * io/ftwtest.c (cb, main): Add --early-exit option to test it.
7258         * io/ftwtest-sh: Test with --early-exit.
7260 2000-12-13  Jakub Jelinek  <jakub@redhat.com>
7262         * misc/efgcvt.c (FCVT_MAXDIG): Define.
7263         (FCVT_BUFPTR): New variable.
7264         (fcvt): If fcvt_r returns -1 on the static short buffer,
7265         try to malloc a sufficiently large one and retry.
7266         (free_mem): New function.
7267         * misc/qefgcvt.c (FCVT_MAXDIG): Define.
7268         * misc/tst-efgcvt.c (fcvt_tests): Add new test.
7270 2000-12-15  Ulrich Drepper  <drepper@redhat.com>
7272         * misc/dirname.c (dirname): Fix search for second to last slash.
7274 2000-12-13  Andreas Jaeger  <aj@suse.de>
7276         * misc/tst-dirname.c (main): Fix typo in test to really use
7277         the examples from Unix98.
7278         Reported by Michael Kerrisk <mtk16@ext.canterbury.ac.nz>.
7280 2000-12-09  H.J. Lu  <hjl@gnu.org>
7282         * sysdeps/ia64/fpu/s_fabs.S: New file.
7283         * sysdeps/ia64/fpu/s_fabsf.S: New file.
7284         * sysdeps/ia64/fpu/s_fabsl.S: New file.
7286 2000-12-15  Andreas Jaeger  <aj@suse.de>
7288         * stdio-common/scanf9.c (main): Reformat and change to avoid
7289         warnings.
7291         * stdio-common/tstdiomisc.c: Make local functions static.
7292         * stdio-common/tst-printf.c: Likewise.
7294         * elf/constload2.c: Add prototype declarations to shut up gcc.
7295         * elf/dep1.c: Likewise.
7296         * elf/dep2.c: Likewise.
7297         * elf/dep3.c: Likewise.
7298         * elf/dep4.c: Likewise.
7299         * elf/ltglobmod2.c: Likewise.
7301         * libio/fmemopen.c: Make local functions static.
7303         * elf/Makefile (distribute): Added testobj.h.
7305         * elf/testobj.h: New file.
7307         * elf/testobj1.c: Include testobj.h and move prototype
7308         declarations to testobj.h.
7309         * elf/testobj2.c: Likewise.
7310         * elf/testobj3.c: Likewise.
7311         * elf/testobj4.c: Likewise.
7312         * elf/testobj5.c: Likewise.
7313         * elf/testobj6.c: Likewise.
7314         * elf/testobj1_1.c: Likewise.
7315         * elf/preloadtest.c: Likewise.
7317 2000-12-15  Ben Collins  <bcollins@debian.org>
7319         * misc/sys/cdefs.h: Fix thinko in checks for flexarr macros.
7320         Patch by Akim Demaille <akim@epita.fr> in Debian bug report.
7322 2000-12-14  H.J. Lu  <hjl@gnu.org>
7324         * sysdeps/ieee754/flt-32/s_sincosf.c (__sincosf): The exponent
7325         field in a float is 8 bits, not 11 bits.
7327 2000-12-13  Jakub Jelinek  <jakub@redhat.com>
7329         * math/test-misc.c (main): Adjust m for IEEE quad long double.
7331 2000-12-13  Andreas Jaeger  <aj@suse.de>
7333         * manual/message.texi (Using gettextized software): Fix typo.
7335         * manual/charset.texi (Converting a Character): Fix mbstouwcs
7336         program to compile.
7337         Patch by Martin Buchholz <martin@xemacs.org>.
7339         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Fix typo.
7340         Reported by Michael Kerrisk <mtk16@ext.canterbury.ac.nz>.
7342 2000-12-11  Andreas Jaeger  <aj@suse.de>
7344         * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Declare
7345         kernel_sigset_t and use it.
7346         Patch by Hiroyuki Machida <machida@sm.sony.co.jp>.
7348 2000-12-10  Richard Henderson  <rth@redhat.com>
7350         * sysdeps/alpha/alphaev67/fpu/Implies: New file.
7351         * sysdeps/alpha/alphaev6/fpu/e_sqrtf.S: New file.
7352         * sysdeps/alpha/alphaev6/fpu/e_sqrt.S: New file.
7354 2000-12-10  Jakub Jelinek  <jakub@redhat.com>
7356         * sysdeps/alpha/htonl.S: Fix a typo.
7358 2000-12-10  Jakub Jelinek  <jakub@redhat.com>
7360         * sysdeps/alpha/alphaev6/stxcpy.S: Exchange t8 with t10.
7362 2000-12-10  Andreas Jaeger  <aj@suse.de>
7364         * locale/programs/ld-ctype.c (charclass_symbolic_ellipsis): Fixed
7365         cast as suggested by Jakub Jelinek <jakub@redhat.com> and Ulrich
7366         Drepper <drepper@redhat.com>.
7368 2000-12-09  Andreas Jaeger  <aj@suse.de>
7370         * sysdeps/unix/sysv/linux/mips/sigaction.c: New file.
7372         * sysdeps/unix/sysv/linux/mips/sys/acct.h: Removed, we can use the
7373         generic version.
7374         Patches by Hiroyuki Machida <machida@sm.sony.co.jp>.
7376         * locale/programs/ld-collate.c (handle_ellipsis): Fix format
7377         string.
7379         * locale/programs/ld-ctype.c (charclass_symbolic_ellipsis): Fix
7380         format string.
7382         * nscd/hstcache.c (addhstbyname): Add cast to avoid warning.
7383         * nscd/connections.c (handle_request): Likewise.
7384         * nscd/pwdcache.c (addpwbyname): Likewise.
7385         * nscd/grpcache.c (addgrbyname): Likewise.
7387         * nscd/nscd_conf.c (nscd_parse_file): Remove extra argument.
7389 2000-12-09  Ulrich Drepper  <drepper@redhat.com>
7391         * string/stratcliff.c: Add tests for stpncpy, memcpy, and mempcpy.
7393         * Makeconfig (default_cflags): Make -O2 the default for stable
7394         releases.
7396 2000-12-08  H.J. Lu  <hjl@gnu.org>
7398         * sysdeps/ia64/fpu/s_isinfl.S: Renamed to ...
7399         * sysdeps/ia64/fpu/s_isinf.S: This.
7400         Add a .pred.rel.mutex note to avoid false report.
7402         * sysdeps/ia64/fpu/s_isnanl.S: Renamed to ...
7403         * sysdeps/ia64/fpu/s_isnan.S: This.
7405         * sysdeps/ia64/fpu/s_fpclassify.S: New file.
7406         * sysdeps/ia64/fpu/s_fpclassifyf.S: New file.
7407         * sysdeps/ia64/fpu/s_fpclassifyl.S: New file.
7408         * sysdeps/ia64/fpu/s_isinff.S: New file.
7409         * sysdeps/ia64/fpu/s_isinfl.S: New file.
7410         * sysdeps/ia64/fpu/s_isnanf.S: New file.
7411         * sysdeps/ia64/fpu/s_isnanl.S: New file.
7412         * sysdeps/ia64/fpu/s_finite.S: New file.
7413         * sysdeps/ia64/fpu/s_finitef.S: New file.
7414         * sysdeps/ia64/fpu/s_finitel.S: New file.
7415         * sysdeps/ia64/fpu/s_signbit.S: New file.
7416         * sysdeps/ia64/fpu/s_signbitf.S: New file.
7417         * sysdeps/ia64/fpu/s_signbitl.S: New file.
7418         * sysdeps/ia64/fpu/s_copysign.S: New file.
7419         * sysdeps/ia64/fpu/s_copysignf.S: New file.
7420         * sysdeps/ia64/fpu/s_copysignl.S: New file.
7422 2000-12-08  Ulrich Drepper  <drepper@redhat.com>
7424         * math/libm-test.inc (main): Fix typos in messages.
7426         * string/stratcliff.c: Add test for rawmemchr.
7428 2000-12-08  Jakub Jelinek  <jakub@redhat.com>
7430         * elf/dl-open.c (_dl_open): If objname points right after errstring,
7431         allocate it together with errstring using alloca.
7432         * elf/dl-error.c (_dl_signal_error): If malloc failed, set objname
7433         to "", because it might point to local stack.
7435 2000-12-05  H.J. Lu  <hjl@gnu.org>
7437         * nss/Makefile (routines): Add getnssent and getnssent_r.
7438         * nss/nsswitch.h (__nss_setent): New internal NSS function.
7439         (__nss_endent): Likewise.
7440         (__nss_getent_r): Likewise.
7441         (__nss_getent): Likewise.
7442         * nss/getnssent_r.c: New file.
7443         * nss/getnssent.c: New file.
7444         * nss/getXXent.c (H_ERRNO_VAR): Updated.
7445         (GETFUNC_NAME): Updated to call __nss_getent ().
7446         * nss/getXXent_r.c (H_ERRNO_VAR_P): New.
7447         (STAYOPEN_TMPVAR): Updated.
7448         (STAYOPEN_VAR): Updated.
7449         (SETFUNC_NAME): Updated to call __nss_setent ().
7450         (ENDFUNC_NAME): Updated to call __nss_endent ().
7451         (INTERNAL (REENTRANT_GETNAME)): Updated to call __nss_getent_r ().
7453 2000-12-08  Andreas Jaeger  <aj@suse.de>
7455         * nscd/dbg_log.h (dbg_log): Correct attribute.
7457 2000-12-08  Jakub Jelinek  <jakub@redhat.com>
7459         * elf/dl-load.c (fillin_rpath): Don't assume there is '\0' at
7460         cp + len.  Compute where from dirname.
7461         Reported by <jreiser@BitWagon.com>.
7463 2000-12-08  Richard Henderson  <rth@twiddle.net>
7465         * sysdeps/alpha/_mcount.S: Fix typo.
7466         * sysdeps/alpha/strncpy.S: Likewise.
7468         * sysdeps/alpha/alphaev6/Implies: New file.
7469         * sysdeps/alpha/alphaev67/Implies: New file.
7470         * sysdeps/alpha/alphaev67/ffs.S: New file.
7471         * sysdeps/alpha/alphaev67/ffsll.S: New file.
7472         * sysdeps/alpha/alphaev67/rawmemchr.S: New file.
7473         * sysdeps/alpha/alphaev67/stpcpy.S: New file.
7474         * sysdeps/alpha/alphaev67/stpncpy.S: New file.
7475         * sysdeps/alpha/rawmemchr.S: New file.
7476         * sysdeps/alpha/strcat.S: Tail call to __stxcpy.
7477         * sysdeps/alpha/strcpy.S: Likewise.
7479         From GMP 3.1.1:
7480         * sysdeps/alpha/alphaev6/addmul_1.s: New file.
7482         From rick.gorton@alpha-processor.com:
7483         * sysdeps/alpha/alphaev6/memchr.S: New file.
7484         * sysdeps/alpha/alphaev6/memcpy.S: New file.
7485         * sysdeps/alpha/alphaev6/memset.S: New file.
7486         * sysdeps/alpha/alphaev6/stxcpy.S: New file.
7487         * sysdeps/alpha/alphaev6/stxncpy.S: New file.
7488         * sysdeps/alpha/alphaev67/strcat.S: New file.
7489         * sysdeps/alpha/alphaev67/strchr.S: New file.
7490         * sysdeps/alpha/alphaev67/strlen.S: New file.
7491         * sysdeps/alpha/alphaev67/strncat.S: New file.
7492         * sysdeps/alpha/htonl.S: Use a shorter sequence.
7494 2000-12-08  Jakub Jelinek  <jakub@redhat.com>
7496         * inet/getnameinfo.c (getnameinfo): Fix NI_NOFQDN support.
7497         Reported by <pspencer@fields.utoronto.ca>.
7499 2000-12-07  Jes Sorensen  <jes@linuxcare.com>
7501         * sysdeps/ia64/elf/start.S (__data_start): Add __data_start variable.
7502         Pointed out by Hans Boehm.
7504 2000-12-07  H.J. Lu  <hjl@gnu.org>
7506         * elf/dl-version.c (match_symbol): Check map->l_name[0] for printing.
7508 2000-12-07  Andreas Jaeger  <aj@suse.de>
7510         * misc/error.c: Add format attributes for __error and __error_at_line.
7512         * nscd/dbg_log.h: Add format attribute.
7514 2000-12-08  Ulrich Drepper  <drepper@redhat.com>
7516         * misc/sys/syslog.h: Add format attributes to syslog and vsyslog.
7517         Patch by Joseph S. Myers <jsm28@cam.ac.uk>.
7519 2000-12-07  Dan Pop  <Dan.Pop@cern.ch>
7521         * sysdeps/ia64/strcpy.S: Fix a bug in a recovery code sequence.
7523 2000-12-06  Ulrich Drepper  <drepper@redhat.com>
7525         * sysdeps/unix/sysv/aix/Makefile [$(subdir)==misc]
7526         (sysdep_routines): Add uitrunc.
7527         * sysdeps/unix/sysv/aix/uitrunc.c: New file.
7528         Patches by Michael Keezer <mkeezer@redhat.com>.
7530 2000-12-06  Roland McGrath  <roland@frob.com>
7532         * sysdeps/mach/hurd/ioctl.c (__ioctl): Don't clobber ARG as we copy in
7533         argument data, since it will be used to copy out too (for INOUT).
7534         Reported by Marcus Brinkmann <marcus@gnu.org>.
7536         * sysdeps/mach/hurd/ioctl.c: Include <stdint.h>.
7537         (__ioctl): Use uintptr_t instead of unsigned long int.
7539 2000-12-06  Jim Wilson  <wilson@redhat.com>
7541         * stdlib/l64a.c (l64a): Truncate M to 32-bit value.
7543 2000-12-06  Ulrich Drepper  <drepper@redhat.com>
7545         * stdio-common/printf_fp.c (__printf_fp): Handle decimal point in
7546         x.5 rounding correctly.
7548 2000-12-06  Mark Kettenis  <kettenis@gnu.org>
7550         * stdio-common/perror.c (perror): Conditionalize code dealing with
7551         wide-oriented streams on USE_IN_LIBIO.
7553 2000-12-06  Mark Kettenis  <kettenis@gnu.org>
7555         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup): Mark
7556         as internal_function.
7558 2000-12-05  Ulrich Drepper  <drepper@redhat.com>
7560         * sysdeps/alpha/elf/start.S (__data_start): Define.
7562 2000-12-05  H.J. Lu  <hjl@gnu.org>
7564         * nss/getXXent_r.c (setup): Change the return type to int.
7566 2000-12-05  Ulrich Drepper  <drepper@redhat.com>
7568         * sysdeps/unix/sysv/aix/Makefile [$(subdir)==misc]
7569         (sysdep_routines): Add restf and savef.
7570         * sysdeps/unix/sysv/aix/restf.c: New file.
7571         * sysdeps/unix/sysv/aix/savef.c: New file.
7572         Patches by Michael Keezer <mkeezer@redhat.com>.
7574         * sysdeps/unix/opendir.c (__opendir): Don't use o_directory_works
7575         if O_DIRECTORY is not defined.
7576         Patch by Michael Keezer <mkeezer@redhat.com>.
7578         * include/libc-symbols.h (C_SYMBOL_DOT_NAME): Define.
7579         Patch by Michael Keezer <mkeezer@redhat.com>.
7581         * locale/programs/linereader.c (get_toplvl_escape): Recognize more
7582         than 4 bytes in escape sequence.
7583         Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
7585 2000-12-05  Andreas Jaeger  <aj@suse.de>
7587         * sysdeps/unix/sysv/linux/mips/sys/tas.h (_test_and_set): Don't
7588         set mips2.
7590         * sysdeps/unix/sysv/linux/mips/sysdep.h: New file.
7592         * sysdeps/unix/sysv/linux/mips/sys/syscall.h: Removed.
7594         * sysdeps/unix/mips/sysdep.h: Use SYS_ify.
7595         Patches by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
7597         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Mark as
7598         internal_function.
7599         * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Likewise.
7600         * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start_cleanup): Likewise.
7602         * sysdeps/generic/dl-cache.c: Remove declaration of
7603         _dl_sysdep_read_whole_file.
7605         * elf/dl-load.c (_dl_map_object): Remove declaration of
7606         _dl_load_cache_lookup.
7608         * sysdeps/generic/ldsodefs.h: Add declarations of
7609         _dl_load_cache_lookup, _dl_unload_cache,
7610         _dl_sysdep_read_whole_file, _dl_sysdep_start and
7611         _dl_sysdep_start_cleanup.
7613         * elf/rtld.c: Remove prototypes that are defined in ldsodefs.h
7614         now.
7616         * elf/dl-misc.c: Include <ldsodefs.h> to get prototypes.
7617         * sysdeps/generic/dl-environ.c: Likewise.
7619         * stdio-common/printf_fp.c: Include <gmp.h> instead of
7620         <stdlib/gmp.h>.
7621         * math/atest-exp.c: Likewise.
7622         * math/atest-exp2.c: Likewise.
7623         * math/atest-sincos.c: Likewise.
7624         * stdio-common/_itoa.c: Likewise.
7625         * stdio-common/_itowa.c: Likewise.
7627         * include/gmp.h: New file with internal prototypes.
7629         * sysdeps/generic/longjmp.c: Move _longjmp_unwind declaration from
7630         here to...
7631         * include/setjmp.h: ...here.
7633         * locale/Makefile (routines): Remove codeset_name since it's not
7634         needed anywhere.
7636         * locale/codeset_name.c: Removed.
7638 2000-12-05  Ulrich Drepper  <drepper@redhat.com>
7640         * sysdeps/unix/sysv/aix/sys/param.h: Define MAXHOSTNAMELEN here.
7642 2000-12-05  Andreas Jaeger  <aj@suse.de>
7644         * sysdeps/unix/sysv/linux/sys/param.h: Revert last patch.
7646 2000-12-05  Martin Schwidefsky  <schwidefsky@de.ibm.com>
7648         * sysdeps/unix/sysv/linux/s390/mmap64.S: Use mmap if mmap2 isn't
7649         available.
7651 2000-12-05  Andreas Jaeger  <aj@suse.de>
7653         * nss/test-netdb.c: Mark local functions as static to avoid
7654         warnings.
7655         (main): Use return to silence warning.
7657         * stdlib/test-canon.c (check_path): Mark as static to avoid warning.
7659         * stdio-common/test-popen.c: Mark local functions as static to
7660         avoid warnings.
7661         (main): Use return to silence warning.
7663         * stdlib/testsort.c (compare): Mark as static to avoid warning.
7665         * assert/test-assert.c: Mark local functions as static to avoid
7666         warnings.
7667         * assert/test-assert-perr.c: Likewise.
7669         * math/libm-test.inc (main): Use return to silence warnings.
7671 2000-12-04  Ulrich Drepper  <drepper@redhat.com>
7673         * math/fenv.h: Fix typo in comment.
7675         * math/test-misc.c (main): Add a few more over and underflow tests
7676         for scalb.
7678         * sysdeps/i386/fpu/e_scalb.S: Handle NaN as first parameter correctly.
7679         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
7680         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
7681         * math/w_scalb.c: Don't use matherr except in SVID mode.
7682         * math/w_scalbf.c: Likewise.
7683         * math/w_scalbl.c: Likewise.
7684         * math/test-misc.c: Add test for NaN and scalbl.
7685         Reported by Fred J. Tydeman <tydeman@tybor.com>.
7687 2000-12-04  Ulrich Drepper  <drepper@redhat.com>
7689         * configure.in: Define HAVE_ASM_GLOBAL_DOT_NAME for AIX.
7690         * config.h.in: Add HAVE_ASM_GLOBAL_DOT_NAME.
7691         * include/libc-symbols.h (strong_alias): Define special version
7692         for HAVE_ASM_GLOBAL_DOT_NAME.
7693         (weak_alias): Likewise.
7694         * sysdeps/powerpc/bsd-setjmp.S: Use strong_alias not .set.
7695         * sysdeps/unix/sysv/aix/Makefile [$(subdir)==login]
7696         (sysdep_routines): Add setutxent, getutxent, endutxent, getutxid,
7697         getutxline, pututxline, and utmpxname.
7698         * sysdeps/unix/sysv/aix/fchdir.c: Define __fchdir.
7699         * sysdeps/unix/sysv/aix/lseek.c: Define __libc_lseek alias.
7700         * sysdeps/unix/sysv/aix/open.c: Define __libc_open alias.
7701         * sysdeps/unix/sysv/aix/pread.c: Define pread alias.
7702         * sysdeps/unix/sysv/aix/pread64.c: Define pread64 alias.
7703         * sysdeps/unix/sysv/aix/sysdep.h (JUMPTARGET): Use C_TEXT.
7704         * sysdeps/unix/sysv/aix/bits/types.h: Define __clockid_t and __timer_t.
7705         * sysdeps/unix/sysv/aix/bits/utmp.h: Cleanup.  Add comments.
7706         * sysdeps/unix/sysv/linux/sys/param.h (MAXHOSTNAMELEN): Define.
7707         Patches by Michael Keezer <mkeezer@redhat.com>.
7709 2000-12-04  H.J. Lu  <hjl@gnu.org>
7711         * configure.in: Change --with-oldest-abi=ABI to
7712         --enable-oldest-abi=ABI.
7714 2000-12-02  Bruno Haible  <haible@clisp.cons.org>
7716         * stdio-common/perror.c (perror): If stderr is wide-oriented, use
7717         fwprintf instead of fprintf.
7719 2000-12-04  Ulrich Drepper  <drepper@redhat.com>
7721         * sysdeps/alpha/fpu/bits/mathdef.h: Remove FLT_EVAL_METHOD and
7722         DECIMAL_DIG definitions.
7723         * sysdeps/arm/fpu/bits/mathdef.h: Likewise
7724         * sysdeps/generic/bits/mathdef.h: Likewise
7725         * sysdeps/i386/fpu/bits/mathdef.h: Likewise
7726         * sysdeps/ia64/fpu/bits/mathdef.h: Likewise
7727         * sysdeps/m68k/fpu/bits/mathdef.h: Likewise
7728         * sysdeps/powerpc/fpu/bits/mathdef.h: Likewise
7729         * sysdeps/sparc/fpu/bits/mathdef.h: Likewise
7730         * sysdeps/sh/sh4/fpu/bits/mathdef.h: Likewise
7732 2000-12-03  Ulrich Drepper  <drepper@redhat.com>
7734         * math/test-fenv.c (main): Use return instead of exit to avoid warning.
7736         * math/atest-exp.c: Mark local functions as static to avoid warnings.
7737         * math/atest-exp2.c: Likewise.
7738         * math/atest-sincos.c: Likewise.
7740         * sysdeps/i386/fpu/bits/mathdef.h (DECIMAL_DIG): Correct value.
7741         Reported by Fred J. Tydeman <tydeman@tybor.com>.
7743         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Hopefully fix
7744         the handling of denormalized numbers.
7746         * math/test-misc.c (main): Test for fpclassify and pseudo denormal
7747         numbers on x86.
7748         * sysdeps/i386/fpu/fpclassifyl.c: New file.
7750         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Handle the
7751         pseudo denormal representation of LDBL_MIN.
7753         * iconvdata/SJIS.irreversible: Remove unnecessary entries.
7754         * iconvdata/EUC-JP.irreversible: Remove unnecessary entries.
7756         * iconvdata/sjis.c: Enable round-trip mapping of backslash and tilde.
7757         * iconvdata/jis0208.c: Likewise.
7758         * iconvdata/jis0212.c: Likewise.
7759         Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
7761         * math/test-misc.c (main): More tests for frexp and some for
7762         fpclassify and isnormal.
7764         * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf): Correct
7765         test for subnormal.
7766         Reported by Fred J. Tydeman <tydeman@tybor.com>.
7768         * math/test-misc.c (main): Add tests for frexp.
7769         Reported by Fred J. Tydeman <tydeman@tybor.com>.
7770         * sysdeps/i386/fpu/s_frexpl.S: Don't overflow during the computation.
7772 2000-12-02  H.J. Lu  <hjl@gnu.org>
7774         * locale/lc-time.c (_nl_init_era_entries): Pass L'\0' instead of
7775         '\0' to wcschr.
7777 2000-12-02  Ulrich Drepper  <drepper@redhat.com>
7779         * sysdeps/i386/fpu/s_frexp.S: Add missing fwait.
7780         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
7781         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
7783         * sysdeps/generic/glob.c: Adjust types of several variables to
7784         avoid warnings.
7786 2000-12-01  Ulrich Drepper  <drepper@redhat.com>
7788         * sysdeps/unix/sysv/linux/shm_open.c: Remove incorrect comment.
7790 2000-11-30  Roland McGrath  <roland@frob.com>
7792         * hurd/hurd/ioctl.h (_HURD_HANDLE_IOCTLS_1): New macro.
7793         (_HURD_HANDLE_IOCTLS, _HURD_HANDLE_IOCTL): Redefine using it, so as to
7794         allow multiple instances using the same function name in one file.
7796 2000-12-01  Ulrich Drepper  <drepper@redhat.com>
7798         * configure.in: Correct test for pserver CVS access.
7800 2000-11-28  H.J. Lu  <hjl@gnu.org>
7802         * libio/libio.h: Remove extra "#if ... #endif".
7804 2000-11-29  H.J. Lu  <hjl@gnu.org>
7806         * stdio-common/vfscanf.c (ORIENT): Swap the COMPILE_WSCANF case.
7808 2000-12-01  H.J. Lu  <hjl@gnu.org>
7810         * nss/getXXbyYY_r.c: Fix verioned symbol handling.
7811         * nss/getXXent_r.c: Likewise.
7812         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
7814 2000-11-30  H.J. Lu  <hjl@gnu.org>
7816         * scripts/abi-versions.awk (oldest_abi): New variable.
7817         Handle the oldest ABI supported.
7819         * Makerules ($(common-objpfx)abi-versions.h): Set oldest_abi
7820         for scripts/abi-versions.awk.
7822         * configure.in: Add --with-oldest-abi=ABI.
7823         * configure: Rebuild.
7825         * config.make.in (oldest-abi): New.
7827         * config.h.in (GLIBC_OLDEST_ABI): New.
7829         * csu/version.c (banner): Support GLIBC_OLDEST_ABI.
7831 2000-11-30  Jakub Jelinek  <jakub@redhat.com>
7833         * locale/setlocale.c (setname): Free for all categories, not just
7834         LC_ALL.
7835         (setlocale): Store a copy of string passed by user, not the string
7836         itself.
7838 2000-11-30  Roland McGrath  <roland@frob.com>
7840         * sysdeps/mach/hurd/defs.c (init_stdio): Put this on __libc_subinit
7841         rather than _hurd_fd_subinit, so it happens after it's safe to use
7842         libc facilities like malloc.
7844 2000-11-28  Andreas Jaeger  <aj@suse.de>
7846         * sysdeps/unix/sysv/linux/getdents.c: Add _syscall_getdents64
7847         declaration, adjust declaration of __syscall_getdents to match
7848         kernel.
7850 2000-11-29  H.J. Lu  <hjl@gnu.org>
7852         * sysdeps/generic/readelflib.c (check_ptr): Undefine it first.
7854 2000-11-29  Andreas Jaeger  <aj@suse.de>
7856         * sysdeps/unix/sysv/linux/hppa/brk.c (__brk): Remove unused variable.
7858 2000-11-28  Ulrich Drepper  <drepper@redhat.com>
7860         * dlfcn/defaultmod1.c: Add prototypes to avoid warnings.
7861         * dlfcn/defaultmod2.c: Likewise.
7862         * dlfcn/dlopen.c: Likewise.
7863         * dlfcn/dlopenold.c: Likewise.
7864         * dlfcn/failtestmod.c: Likewise.
7865         * dlfcn/glreflib1.c: Likewise.
7866         * dlfcn/glreflib2.c: Likewise.
7867         * dlfcn/eval.c: Likewise.  Add attributes.
7869         * ctype/ctype-extn.c: Define isblank and not __isblank.
7871         * time/strftime.c: Add const where necessary to avoid warnings.
7872         * time/strptime.c (strptime_internal): Add casts to avoid warnings.
7874 2000-11-22  Paul Eggert  <eggert@twinsun.com>
7876         * time/strftime.c (my_strftime): Do not invoke mbrlen with a
7877         size of (size_t) -1; it's not portable.
7879 2000-11-28  Ulrich Drepper  <drepper@redhat.com>
7881         * sysdeps/i386/fpu/libm-test-ulps: Adjust some values for the
7882         crappy i486 FPU.
7883         Reported by Michael Deutschmann <michael@talamasca.ocis.net>.
7885 2000-11-14  Jes Sorensen  <jes@linuxcare.com>
7887         * sysdeps/ia64/_mcount.S: Call __mcount instead of __mcount_internal.
7889         * sysdeps/ia64/Makefile: Compile _mcount.S in subdir gmon as
7890         _mcount is required by profiled binaries.
7892         * sysdeps/unix/sysv/linux/ia64/machine-gmon.h: Moved to...
7893         * sysdeps/ia64/machine-gmon.h: ...here.
7895 2000-11-28  Masahide Washizawa  <washi@jp.ibm.com>
7897         * iconvdata/Makefile (modules): Add IBM922, IBM1124, and IBM1129.
7898         (distribute): Add ibm922.c, ibm1124.c, ibm1129.c, ibm922.h, ibm1124.h,
7899         and ibm1129.h.
7900         * iconvdata/gconv-modules: Add entries for IBM922, IBM1124, and
7901         IBM1129.
7902         * iconvdata/ibm922.c: New file.
7903         * iconvdata/ibm922.h: New file.
7904         * iconvdata/ibm1124.c: New file.
7905         * iconvdata/ibm1124.h: New file.
7906         * iconvdata/ibm1129.c: New file.
7907         * iconvdata/ibm1129.h: New file.
7908         * iconvdata/testdata/IBM922: New file.
7909         * iconvdata/testdata/IBM922..UTF8: New file.
7910         * iconvdata/testdata/IBM1124: New file.
7911         * iconvdata/testdata/IBM1124..UTF8: New file.
7912         * iconvdata/testdata/IBM1129: New file.
7913         * iconvdata/testdata/IBM1129..UTF8: New file.
7915 2000-11-28  Ulrich Drepper  <drepper@redhat.com>
7917         * catgets/gencat.c (normalize_line): Take extra parameter with escape
7918         character.  Change callers.
7919         (open_conversion): Determine mapping of 0x5c as wchar_t value.
7920         * catgets/Makefile: Add rules to build and run test-gencat.
7921         * catgets/sample.SJIS: New file.
7922         * catgets/test-gencat.c: New file.
7923         * catgets/test-gencat.sh: New file.
7924         Report and test case by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
7926 2000-11-28  Andreas Jaeger  <aj@suse.de>
7928         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Synch with generic
7929         Linux version.
7931 2000-11-28  Ulrich Drepper  <drepper@redhat.com>
7933         * sysdeps/unix/sysv/linux/bits/socket.h: Fix last patch.
7935 2000-11-28  Andreas Jaeger  <aj@suse.de>
7937         * sysdeps/unix/sysv/linux/bits/socket.h (struct cmsghdr): Use
7938         __flexarr.
7939         * sysdeps/unix/sysv/linux/mips/bits/socket.h (struct cmsghdr):
7940         Likewise.
7942 2000-11-27  Ulrich Drepper  <drepper@redhat.com>
7944         * misc/getusershell.c: Make strings in okshells array const.
7945         * misc/regexp.c: Add const to cast to avoid warnings.
7946         * sysdeps/unix/sysv/linux/llseek.c: Add prototype for __llseek.
7947         * sysdeps/unix/sysv/linux/i386/setresuid.c: Add prototype for
7948         __setresuid.
7949         * sysdeps/unix/sysv/linux/i386/setresgid.c: Add prototype for
7950         setresgid.
7951         * misc/error.c: Add prototypes for __error and __error_at_line.
7952         * misc/mntent_r.c (__getmntent_r): Add break at end of switch
7953         statement to avoid warning.
7954         * test-skeleton.c: Mark timeout_handler with noreturn.
7955         * iconv/skeleton.c (get16u): Add const to cast.
7956         (get32u): Likewise.
7957         * iconvdata/gb18030.c: Likewise.
7958         * iconvdata/iso-2022-cn-ext.c: Likewise.
7959         * iconvdata/ansi_x3.110.c: Add cast to avoid warning.
7960         * iconvdata/big5.c: Likewise.
7961         * iconvdata/big5hkscs.c: Likewise.
7962         * iconvdata/iso_6937.c: Likewise.
7963         * iconvdata/iso_6937-2.c: Likewise.
7964         * iconvdata/t.61.c: Likewise.
7965         * iconvdata/iso646.c: Add prototypes for gconv_init and gconv_env.
7966         * iconvdata/unicode.c: Likewise.
7967         * iconvdata/utf-16.c: Likewise.
7968         * iconvdata/cns11643.h (ucs4_to_cns11643): Define needed as size_t.
7969         * iconv/gconv_trans.c (__gconv_translit_find): Avoid one warning
7970         with little code shuffling.
7972         * sysdeps/powerpc/Makefile (CFLAGS-initfini.s): Add -O1 to avoid
7973         the problems introduced when the user selects -O3.
7975         * iconv/gconv.h (__gconv_info): Define __data element using __flexarr.
7976         * misc/sys/cdefs.h: Define __flexarr.
7977         Proposed by Joseph S. Myers <jsm28@cam.ac.uk>.
7979         * iconvdata/iso-2022-jp.c: Add prototypes to avoid warnings.
7980         * iconv/skeleton.c: Likewise.
7981         * iconvdata/iso8859-1.c (BODY to 8859-1): Add const to cast.
7982         * iconv/loop.c (get16): Add const to cast.
7983         (get32): Likewise.
7985 2000-11-27  Andreas Jaeger  <aj@suse.de>
7987         * login/programs/pt_chown.c (do_pt_chown): Mark function as static
7988         to avoid warning.
7989         * login/programs/utmpdump.c (print_entry): Likewise.
7991 2000-11-25  Maciej W. Rozycki  <macro@ds2.pg.gda.pl>
7993         * sysdeps/mips/__longjmp.c (__longjmp): Restore SP and FP last and
7994         in a single asm as they may be used to access other stored
7995         registers.
7996         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
7998 2000-11-27  Andreas Jaeger  <aj@suse.de>
8000         * rt/tst-aio.c: Mark test functions as static to avoid warnings.
8001         * rt/tst-aio64.c: Likewise.
8003 2000-11-27  Ulrich Drepper  <drepper@redhat.com>
8005         * catgets/Makefile (test1.cat): Set LC_ALL, LOCPATH, and GCONV_PATH
8006         for gencat run.
8007         (libc.cat): Likewise.
8008         * catgets/gencat.c: Implement handling of message catalogs encoded
8009         with stateful character sets.
8010         Based on a patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
8012 2000-11-26  Ulrich Drepper  <drepper@redhat.com>
8014         * sysdeps/unix/opendir.c (__opendir): Add cast to avoid warning.
8016         * inet/getnameinfo.c: Adjust casts to avoid warnings.
8017         * inet/rcmd.c: Likewise.
8018         * inet/ruserpass.c: Likewise.
8019         * inet/netinet/in.h (IN6_IS_ADDR_UNSPECIFIED, IN6_IS_ADDR_LOOPBACK,
8020         IN6_IS_ADDR_MULTICAST, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
8021         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, IN6_ARE_ADDR_EQUAL,
8022         IN6_IS_ADDR_MC_NODELOCAL, IN6_IS_ADDR_MC_LINKLOCAL,
8023         IN6_IS_ADDR_MC_SITELOCAL, IN6_IS_ADDR_MC_ORGLOCAL,
8024         IN6_IS_ADDR_MC_GLOBAL): Preserve const in cast.
8025         * include/aliases.h: Add prototypes for internal __getalias* functions.
8026         * include/netdb.h: Add prototypes for __old_gethostent_r,
8027         __old_gethostbyaddr_r, __old_gethostbyname_r, __old_gethostbyname2_r,
8028         __old_getnetent_r, __old_getnetbyaddr_r, __old_getnetbyname_r,
8029         __old_getservent_r, __old_getservbyname_r, __old_getservbyport_r,
8030         __old_getprotoent_r, __old_getprotobyname_r, __old_getprotobynumber_r.
8031         * include/rpc/netdb.h: Add prototypes for __old_getrpcbyname_r,
8032         __old_getrpcbynumber_r, __old_getrpcent_r.
8034         * include/rpc/netdb.h: Add __getrpcbyname_r, __getrpcbynumber_r,
8035         __getrpcent_r prototypes.
8037 2000-11-25  Ulrich Drepper  <drepper@redhat.com>
8039         * string/strcoll.c: Add casts to avoid warnings.
8040         * string/strnlen.c: Likewise.
8041         * string/strxfrm.c: Likewise.
8042         * sysdeps/generic/_strerror.c: Likewise.
8043         * sysdeps/generic/memrchr.c: Likewise.
8044         * sysdeps/generic/strcasestr.c: Likewise.
8045         * sysdeps/generic/strstr.c: Likewise.
8047         * locale/weight.h (findidx): Add const to cast to avoid warning.
8049         * elf/loadfail.c: Little cosmetic changes to avoid warnings.
8050         * elf/loadtest.c: Likewise.
8051         * elf/multiload.c: Likewise.
8052         * elf/next.c: Likewise.
8053         * elf/nodelete.c: Likewise.
8054         * elf/noload.c: Likewise.
8055         * elf/order.c: Likewise.
8056         * elf/origtest.c: Likewise.
8057         * elf/preloadtest.c: Likewise.
8058         * elf/restest1.c: Likewise.
8060         * sysdeps/i386/i486/bits/string.h (__strncat_g) [i686]: Fourth
8061         parameter of asm must be in %ecx.
8063         * string/tester.c: Mark test functions as static to avoid warnings.
8065         * iconv/gconv_conf.c (read_conf_file): Make mod_counter static to
8066         preserve value over different gconv-modules files.
8068 2000-11-24  Ulrich Drepper  <drepper@redhat.com>
8070         * locale/findlocale.c: Add casts to avoid warnings.
8071         * locale/localeinfo.h (LIMAGIC): Add cast to avoid warnings.
8072         * misc/efgcvt_r.c (fcvt_r): Use ssize_t instead of int and add cast
8073         to avoid warnings.
8074         * misc/tsearch.c (const_node): New type.
8075         (trecurse): Correct casts to avoid warnings.
8076         (__twalk): Likewise.
8077         * stdlib/tst-limits.c: Add z modifier to formats for WORD_BIT and
8078         LONG_BIT.
8080         * debug/backtrace-tst.c (compare): Add casts to avoid warnings.
8082         * test-skeleton.c: Mark local functions as static to avoid warnings.
8084 2000-11-23  H.J. Lu  <hjl@gnu.org>
8086         * rt/tst-aio6.c (do_test): Use pipe instead of STDIN_FILENO to
8087         support the background job.
8088         Fix a typo.
8090 2000-11-24  Ulrich Drepper  <drepper@redhat.com>
8092         * iconv/gconv_conf.c (insert_module): Replace old entry if new one
8093         has same names but lower cost.
8095 2000-11-23  Jakub Jelinek  <jakub@redhat.com>
8097         * sysdeps/sparc/sparc32/dl-machine.h: Ifdef out handling for relocs
8098         which never occur during bootstrap.
8099         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
8101 2000-11-23  Andreas Jaeger  <aj@suse.de>
8103         * nss/nss_files/files-hosts.c: Remove getipnodebyname.
8105         * nss/Versions: Remove _nss_files_getipnodebyname_r.
8107         * sysdeps/unix/sysv/linux/Versions: Fix typo in last patch.
8109 2000-11-18  Martin Buchholz  <martin@xemacs.org>
8111         * csu/gmon-start.c (__gmon_start__): Avoid over-clever trick `if
8112         (called++) return;'
8114 2000-11-21  Alan Modra  <alan@linuxcare.com.au>
8116         * sysdeps/generic/bsd-_setjmp.c (setjmp): Rename to _setjmp.
8118         * csu/abi-note.S: Correct comment for operating system number.
8120 2000-11-22  Ulrich Drepper  <drepper@redhat.com>
8122         * Versions.def: Add GLIBC_2.2.1 for glibc.
8124 2000-11-22  Andreas Schwab  <schwab@suse.de>
8126         * sysdeps/unix/sysv/linux/syscalls.list: Add pivot_root.
8127         * sysdeps/unix/sysv/linux/Versions: Add pivot_root at GLIBC_2.2.1.
8129 2000-11-22  Ulrich Drepper  <drepper@redhat.com>
8131         * rt/aio_suspend.c (aio_suspend): Convert timeout value to
8132         absolute time for pthread_cond_timedwait call.
8133         Reported by Lawrence Chen <lchen@opentext.com> [libc/1930].
8135         * rt/Makefile (tests): Add tst-aio6.
8136         * rt/tst-aio6.c: New file.
8138 2000-11-23  Andreas Jaeger  <aj@suse.de>
8140         * sysdeps/s390/bits/string.h (strncat): Fix one more typo.
8142 2000-11-22  Andreas Jaeger  <aj@suse.de>
8144         * sysdeps/s390/bits/string.h (strncat): Add missing quotation marks.
8146 2000-11-21  Martin Schwidefsky  <schwidefsky@de.ibm.com>
8148         * sysdeps/s390/bits/string.h: Make strncat always add a \0.
8150 2000-11-21  Andreas Schwab  <schwab@suse.de>
8152         * sysdeps/alpha/setjmp.S: Remove __setjmp entry point.
8153         * sysdeps/arm/setjmp.S: Likewise.
8154         * sysdeps/arm/fpu/setjmp.S: Likewise.
8155         * sysdeps/i386/setjmp.S: Likewise.
8156         * sysdeps/i386/elf/setjmp.S: Likewise.
8157         * sysdeps/s390/setjmp.S: Likewise.
8158         * sysdeps/s390/elf/setjmp.S: Likewise.
8159         * sysdeps/sh/sh3/setjmp.S: Likewise.
8160         * sysdeps/sh/sh4/setjmp.S: Likewise.
8161         * sysdeps/sparc/sparc32/setjmp.S: Likewise.
8162         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
8163         * sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S: Likewise.
8164         * sysdeps/unix/sysv/linux/m68k/setjmp.c: Removed.
8166 2000-11-21  Andreas Jaeger  <aj@suse.de>
8168         * sysdeps/generic/__longjmp.c (__longjmp): Remove obsolete
8169         NORETURN, fix parameter list.
8171         * string/bug-strncat1.c (main): Fix typo.
8172         Patch by Bernhard Kaindl <bernhard.kaindl@suse.de>.
8174 2000-11-20  Ulrich Drepper  <drepper@redhat.com>
8176         * configure.in: Add --enable-all-warnings.
8177         * config.make.in (all-warnings): New variable.
8178         * Makeconfig (+gccwarn): Define with many more warnings if
8179         all-warnings is yes.
8181 2000-11-20  Jakub Jelinek  <jakub@redhat.com>
8183         * iconvdata/bug-iconv2.c (main): Use %zd in format string.
8184         * io/test-lfs.c (do_test): Cast statbuf.st_size to long long.
8185         * malloc/tst-valloc.c (main): Cast valloc return value to long.
8186         * malloc/tst-obstack.c (verbose_malloc): Use %zd in format string.
8187         * math/test-fpucw.c (main): Use %lx in format string, cast
8188         control words to long.
8189         * stdio-common/tst-fmemopen.c (main): Use %td in format strings.
8190         * stdlib/tst-strtol.c (tests): Avoid (bogus?) decimal constant is so
8191         large that it is unsigned warning.
8193         * sysdeps/unix/sysv/linux/sparc/bits/types.h (__ssize_t): Changing
8194         it to long on sparc64.
8196 2000-11-20  Andreas Jaeger  <aj@suse.de>
8198         * nscd/nscd.h (termination_handler): Add noreturn attribute.
8199         (receiv_print_stats): Likewise.
8201         * elf/ldconfig.c (path_hwcap): Cast -1 for proper comparison.
8203 2000-11-20  Ulrich Drepper  <drepper@redhat.com>
8205         * malloc/thread-m.h: gcc doesn't tolerate zero-sized types anymore.
8207         * csu/gmon-start.c: Always have prototype for __gmon_start.
8208         * csu/version.c: Add prototypes for __libc_print_version and
8209         __libc_main.
8210         * iconv/gconv.c: Include gconv_int.h and gconv.h.
8211         * iconv/gconv.h (struct __gconv_step): Remove const from __from_name
8212         and __to_name.
8213         * iconv/gconv_builtin.h: Add ASCII module definitions.
8214         * iconv/gconv_conf.c (__gconv_path_elem): Remove const.
8215         (add_module): Add cast to avoid warning.  Rework construction of
8216         strings for new module.
8217         * iconv/gconv_db.c (__gconv_alias_compare): Make s1 and s2 const.
8218         (derivation_compare): Likewise.
8219         * iconv/gconv_dl.c (do_release_shlib): Remove const from nodep.
8220         (__gconv_release_shlib): Cast do_release_shlib as parameter for twalk.
8221         * iconv/gconv_int.h (__gconv_path_elem): Remove const.
8222         (struct gconv_alias): Remove const from fromname and toname.
8223         * iconv/gconv_simple.c: Include gconv_builtin.h to get prototypes
8224         for loop functions.
8225         (internal_ucs4_loop): Use correct const-ness.
8226         (ucs4_internal_loop): Likewise.
8227         (internal_ucs4le_loop): Likewise.
8228         (ucs4le_internal_loop_single): Likewise.
8229         * iconv/gconv_trans.c (__gconv_transliterate): Make from_idx, from_tbl,
8230         to_idx, to_tbl, winbuf, winbufend const.  Change casts in
8231         assignments appropriately.
8232         (struct known_trans): Remove const from fname.
8233         (trans_compare): Make s1 and s2 const.
8234         * iconv/loop.c (LOOPFC): Make outend parameter const.  Add cast to
8235         avoid warning.
8236         * iconv/skeleton.c: Remove cast in calls of loop functions.
8237         * iconvdata/gconv-modules: Remove US-ASCII definitions.
8238         * iconvdata/iso646.c: Remove US_ASCII support.
8239         * include/set-hooks.h (DEFINE_HOOK): Also generate prototype.
8240         * include/unistd.h: Add __libc_check_standard_fds prototype.
8241         * string/bits/string2.h (__mempcpy_args): Add const to casts.
8242         * sysdeps/generic/initfini.c: Add prototypes for dummy, _init, and
8243         _fini.
8244         * sysdeps/generic/libc-start.c: Add prototype for __libc_start_main.
8245         * sysdeps/i386/i486/bits/string.h (strcmp): Add const to casts.
8246         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Add cast to avoid
8247         warning.
8248         * sysdeps/unix/sysv/linux/init-first.c: Add prototypes for
8249         __libc_init_first and _dl_start.
8250         * intl/dcigettext.c (transcmp): Make s1 and s2 const.
8251         (DCIGETTEXT): Make domaindata variable const.
8252         * intl/loadmsgcat.c (_nl_load_domain): Rearrange domain initialization
8253         to avoid warning.
8255 2000-11-20  Hiroyuki Machida  <machida@sm.sony.co.jp>
8257         * sysdeps/unix/sysv/linux/mips/clone.S: Fix comments.
8259         * sysdeps/unix/sysv/linux/mips/kernel_stat.h (kernel_stat): Expand
8260         time_t to 'long int' not, 'unsigned int'.  Use 'long int' for
8261         __unused? members.
8263         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (O_NOFOLLOW): Use same
8264         value defined in /usr/include/asm-mips/fcntl.h.
8266 2000-11-18  Ulrich Drepper  <drepper@redhat.com>
8268         * stdio-common/Makefile (tests): Add test-vfprintf.
8269         (test-vfprintf-ENV): New variable.
8270         * stdio-common/test-vfprintf.c: New file.
8272         * wcsmbs/mbrtowc.c (__mbrtowc): Do not only flush if input is '\0'.
8274         * wcsmbs/Makefile (tests): Add tst-mbrtowc and tst-wcrtomb.
8275         (tst-mbrtowc-ENV): New variable.
8276         (tst-wcrtomb-ENV): New variable.
8277         * wcsmbs/tst-mbrtowc.c: New file.
8278         * wcsmbs/tst-wcrtomb.c: New file.
8280 2000-11-16  Andreas Jaeger  <aj@suse.de>
8282         * manual/install.texi (Tools for Compilation): Update
8283         documentation for GCC 2.95.2.
8285 2000-11-18  Ulrich Drepper  <drepper@redhat.com>
8287         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only return -EAI_AGAIN
8288         if IPv4 and IPv6 requests timed out.
8290 2000-11-18  Akim Demaille  <akim@epita.fr>
8292         * malloc/obstack.h: Formatting changes.
8293         (obstack_grow, obstack_grow0): Don't cast WHERE at all: it
8294         prevents type checking.
8295         (obstack_ptr_grow, obstack_ptr_grow_fast): When assigning, don't
8296         cast the value to (void *): assigning a `foo *' to a `void *'
8297         variable is valid.
8298         (obstack_int_grow, obstack_int_grow_fast): Don't cast AINT to int.
8300 2000-11-17  Ulrich Drepper  <drepper@redhat.com>
8302         * scripts/config.guess: Update from upstream maintainer.
8303         * scripts/config.sub: Likewise.
8305 2000-11-16  Ulrich Drepper  <drepper@redhat.com>
8307         * libio/freopen.c (freopen): Reset _mode after succesful reopening.
8308         * libio/freopen64.c (freopen64): Likewise.
8309         Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
8311         * libio/Makefile: Add rules to build and run test-freopen.
8312         * libio/test-freopen.c: New file.
8313         * libio/test-freopen.sh: New file.
8315 2000-11-15  H.J. Lu  <hjl@gnu.org>
8317         * sysdeps/generic/ldsodefs.h (DL_DT_INIT_ADDRESS): Defined if
8318         ELF_FUNCTION_PTR_IS_SPECIAL is not defined.
8319         (DL_DT_FINI_ADDRESS): Likewise.
8321         * sysdeps/ia64/dl-lookupcfg.h (_dl_lookup_address): Set the
8322         return type to ElfW(Addr).
8323         (_dl_function_address): New prototype.
8324         (DL_FUNCTION_ADDRESS): Defined.
8325         (DL_DT_INIT_ADDRESS): Defined as DL_FUNCTION_ADDRESS.
8326         (DL_DT_FINI_ADDRESS): Likewise.
8328         * sysdeps/ia64/Versions (GLIBC_2.2): Add _dl_function_address.
8330         * sysdeps/ia64/dl-machine.h (_dl_start_address): Removed.
8331         (ELF_MACHINE_START_ADDRESS): Changed to DL_FUNCTION_ADDRESS.
8333         * sysdeps/ia64/dl-symaddr.c (_dl_start_address): Renamed to ...
8334         (_dl_function_address): This.
8336         * elf/dl-fini.c (_dl_fini): Use DL_DT_FINI_ADDRESS to get the
8337         function pointer for DT_FINI.
8338         * elf/dl-close.c (_dl_close): Likewise.
8340         * elf/dl-init.c (_dl_init): Use DL_DT_INIT_ADDRESS to get the
8341         function pointer for DT_INIT.
8343 2000-11-16  Jakub Jelinek  <jakub@redhat.com>
8345         * sysdeps/generic/printf_fphex.c (__printf_fphex): Compute correctly
8346         end of wexpbuf buffer.
8348 2000-11-16  Andreas Jaeger  <aj@suse.de>
8350         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove duplicate
8351         definition of F_GETLK, F_SETLK, F_SETLKW.
8353 2000-11-16  Andreas Jaeger  <aj@suse.de>
8355         * sysdeps/generic/dl-cache.c (_DL_PLATFORMS_COUNT): Define to 0 if
8356         it's not defined.
8358 2000-11-15  Jakub Jelinek  <jakub@redhat.com>
8360         * dlfcn/default.c (main): Add test for dladdr of main returning
8361         argv[0] in dli_fname field.
8363 2000-11-15  Jakub Jelinek  <jakub@redhat.com>
8365         * Makeconfig (run-program-prefix): Move test-static test into the
8366         variable.
8368         * sysdeps/alpha/dl-machine.h (RTLD_START): Update _dl_argv.
8369         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise,
8370         schedule instructions.
8371         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise,
8372         schedule instructions, fix a bug in copying auxiliary data.
8374 2000-11-15  Ulrich Drepper  <drepper@redhat.com>
8376         * manual/startup.texi (Program Arguments): Fix type of main's envp
8377         parameter.
8378         Reported by Raúl Núñez de Arenas Coronado <dervishd@linuxfreak.com>.
8380         * iconvdata/gconv-modules: Add CP950 alias.
8382 2000-11-13  Jakub Jelinek  <jakub@redhat.com>
8384         * sysdeps/unix/sysv/linux/Makefile: Allow ports to override
8385         syscall-list.h goal.
8386         * sysdeps/unix/sysv/linux/sparc/Makefile: New file.
8388 2000-11-15  Ulrich Drepper  <drepper@redhat.com>
8390         * intl/Makefile: tst-gettext2.sh does not need a third parameter.
8392         * intl/tst-gettext2.sh: Copy locale data.  Adjust LOCPATH.  Verify
8393         output of program.
8395         * intl/tst-gettext2.c: Set C locale if setting other locale
8396         failed.  Use gettext() not _().
8398         * locale/setlocale.c: Increment _nl_msg_cat_cntr whenever we
8399         successfully loaded a new locale.
8401 2000-11-13  Andreas Jaeger  <aj@suse.de>
8403         * configure.in: Require gcc 2.95 or newer.
8405 2000-11-15  Ulrich Drepper  <drepper@redhat.com>
8407         * sysdeps/unix/sysv/linux/paths.h: Adjust for FHS.
8408         Patch by Arkadiusz Miskiewicz <misiek@pld.ORG.PL>.
8410 2000-11-11  Jim Meyering  <meyering@lucent.com>
8412         * string/strndup.c (strndup): Cast return value to `char *'.
8414 2000-11-15  Jim Meyering  <meyering@ascend.com>
8416         * sysdeps/generic/memchr.c: Remove some useless parentheses.
8417         [HAVE_STDLIB_H || defined _LIBC]: Include <stdlib.h>.
8418         [HAVE_BP_SYM_H || defined _LIBC]: Guard inclusion of bp-sym.h.
8419         [! (HAVE_BP_SYM_H || defined _LIBC)] (BP_SYM): Define as no-op.
8420         Also #undef __memchr.
8421         Use `weak_alias' only if it's defined.
8423 2000-11-10  H.J. Lu  <hjl@gnu.org>
8425         * Makefile.in (install): Set LANGUAGE=C LC_ALL=C.
8427 2000-11-15  Andreas Jaeger  <aj@suse.de>
8429         * elf/chroot_canon.c: Include <stdint.h>.
8431         * elf/cache.c (struct cache_entry): Use uint64_t for hwcap.
8432         (print_entry): Likewise.
8433         (add_to_cache): Likewise.
8435         * elf/ldconfig.h (add_to_cache): Change prototype for hwcap change.
8437         * elf/ldconfig.c (struct lib_entry): Use uint64_t for hwcap.
8438         (path_hwcap): Likewise.
8439         (search_dir): Likewise.
8441         * sysdeps/generic/dl-cache.c (HWCAP_CHECK): Handle platform.
8443         * elf/cache.c (add_to_cache): Handle 64 bit hwcap entry.
8445         * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h
8446         (_dl_platform_string): New.
8447         (_DL_HWCAP_PLATFORM): New.
8448         (_dl_string_platform): New.
8449         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h: Likewise.
8451         * sysdeps/generic/dl-procinfo.h (_DL_HWCAP_COUNT): New.
8452         (_dl_string_platform): New.
8453         (_DL_HWCAP_PLATFORM): New.
8454         (_dl_platform_string): New.
8456         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Added x86 platform
8457         recognition.
8458         (_DL_HWCAP_COUNT): New.
8459         (_dl_string_platform): New.
8460         (_DL_HWCAP_PLATFORM): New.
8461         (_dl_platform_string): New.
8463 2000-11-14  Ulrich Drepper  <drepper@redhat.com>
8465         * iconvdata/gconv-modules: Add CP936 as alias for GBK.
8467 2000-11-14  Andreas Jaeger  <aj@suse.de>
8469         * sysdeps/generic/dl-cache.c (HWCAP_CHECK): Fix access to _dl_hwcap.
8471 2000-11-13  Roland McGrath  <roland@frob.com>
8473         * hurd/get-host.c (_hurd_get_host_config): Fix last change.
8475 2000-11-13  Marcus Brinkmann <marcus@gnu.org>
8477         * hurd/get-host.c (_hurd_get_host_config): Fix possible buffer
8478         underrun and make sure the result is null terminated even if there
8479         is no trailing newline.
8481 2000-11-13  Jakub Jelinek  <jakub@redhat.com>
8483         * sysdeps/alpha/fpu/libm-test-ulps: Update.
8485 2000-11-10  H.J. Lu  <hjl@gnu.org>
8487         * sysdeps/ia64/fpu/libm-test-ulps: Updated.
8489 2000-11-10  Andreas Jaeger  <aj@suse.de>
8491         * elf/ldconfig.c (create_links): Fix alloca calculation.
8492         Patch by Ben Collins <bcollins@debian.org>.
8494 2000-11-09  Ulrich Drepper  <drepper@redhat.com>
8496         * inet/getnameinfo.c (getnameinfo): Use correct destination
8497         parameter for if_indextoname.
8498         Patch by Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>.
8500 2000-11-09  H.J. Lu  <hjl@gnu.org>
8502         * sunrpc/Versions (GLIBC_2.1): Remove xdr_cryptkeyarg,
8503         xdr_cryptkeyarg2, xdr_cryptkeyres, xdr_des_block,
8504         xdr_key_netstarg, xdr_key_netstres, xdr_keybuf and
8505         xdr_keystatus.
8507         * time/Versions (GLIBC_2.1): Move getitimer to...
8508         * sysdeps/unix/sysv/linux/alpha/Versions (GLIBC_2.1): ...here.
8510 2000-11-03  Bruno Haible  <haible@clisp.cons.org>
8512         * manual/install.texi: Recommend to set LANGUAGE=C LC_ALL=C during
8513         "make install", to work around a binary incompatibility between
8514         glibc 2.1 and glibc 2.2 gconv modules.
8516 2000-11-09  Ulrich Drepper  <drepper@redhat.com>
8518         * intl/locale.alias: Add thai.
8519         Patch by Chanop Silpa-Anan <chanop@syseng.anu.edu.au>.
8521 2000-11-07  Akim Demaille  <akim@epita.fr>
8523         * malloc/obstack.c (obstack_grow, obstack_grow0): Rename the second
8524         argument `data' for consistency with the prototypes.
8525         Qualify it `const'.
8526         (obstack_copy, obstack_copy0): Rename the second argument as
8527         `address' for consistency.  Qualify it `const'.
8528         * malloc/obstack.h (obstack_copy, obstack_copy0, obstack_grow)
8529         (obstack_grow0, obstack_ptr_grow, obstack_ptr_grow_fast): Qualify
8530         `const' their input argument (`data' or `address').
8531         Adjust the corresponding macros to include `const' in casts.
8533 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
8535         * sysdeps/posix/getaddrinfo.c: Clean-up: define family to hold
8536         target family.
8538 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
8540         * sysdeps/posix/getaddrinfo.c: Loosen protocol check to ease raw
8541         socket creation.
8543 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
8545         * sysdeps/posix/getaddrinfo.c: Ensure to fill ai_socktype and
8546         ai_protocol by internal table if service was not given.
8548 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
8550         * sysdeps/posix/getaddrinfo.c: Don't raise an error even if
8551         numerical port was specified with protocol without socktype.
8553 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
8555         * sysdeps/posix/getaddrinfo.c: Ensure to check if protocol is ok.
8557 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
8559         * inet/getnameinfo.c: getnameinfo() NI_xxx flag validation.
8561 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
8563         * sysdeps/posix/getaddrinfo.c: Ensure not to fill garbage value in
8564         sin6_scope_id field.
8566 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
8568         * inet/getnameinfo.c: Repair getnameinfo() sin6_socpe_id support.
8570 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
8572         * inet/getnameinfo.c: Repair NI_NOFQDN flag support.
8574 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
8576         * inet/getnameinfo.c: Wake-up sin6_scope_id support in
8577         getnameinfo(): check for whether sin6_socpe_id exist was wrong.
8579 2000-11-09  Martin Schwidefsky  <mschwide@nc.boeblingen.de.ibm.com>
8581         * sysdeps/unix/sysv/linux/s390/mmap.S: Use mmap2 if it is present.
8582         * sysdeps/unix/sysv/linux/s390/mmap64.S: New file.
8584 2000-11-09  H.J. Lu  <hjl@gnu.org>
8586         * io/Versions (GLIBC_2.1.1): Remove lockf64.
8589 See ChangeLog.11 for earlier changes.