* elf/ldconfig.c (search_dir): Fix check for regular file.
[glibc.git] / ChangeLog
blob65cfc36021b36616781adad61f8410fc2f0c44fa
1 2001-06-14  Andreas Schwab  <schwab@suse.de>
3         * elf/ldconfig.c (search_dir): Fix check for regular file.
5         * sysdeps/m68k/fpu/e_log2f.c: Fix typo.
6         * sysdeps/m68k/fpu/e_log2l.c: Fix typo.
8 2001-06-14  Roland McGrath  <roland@frob.com>
10         * sysdeps/mach/hurd/bits/fcntl.h [ __USE_POSIX199309 || __USE_UNIX98]:
11         (O_DSYNC, O_RSYNC): New macros, both defined to O_SYNC as Linux does.
13 2001-06-13  Roland McGrath  <roland@frob.com>
15         * rt/aio_notify.c: Include <unistd.h> for _POSIX_REALTIME_SIGNALS.
17         * sysdeps/mach/hurd/fork.c (LOSE): Put `goto lose' in dead code
18         so the label is not considered unused.
20         * sysdeps/mach/hurd/pwrite64.c: New file.
21         * sysdeps/mach/hurd/pread64.c: New file.
23         * sysdeps/mach/hurd/pread.c
24         (__libc_pread): Define this name, with __pread as an alias.
25         * sysdeps/mach/hurd/pwrite.c
26         (__libc_pwrite): Define this name, with __pwrite as an alias.
28         Implement POSIX "shared memory objects" as regular
29         files residing in the /var/run/shm/ directory.
30         This works on any system that supports _POSIX_MAPPED_FILES,
31         to make it also support _POSIX_SHARED_MEMORY_OBJECTS.
32         * sysdeps/posix/shm_open.c: New file.
33         * sysdeps/posix/shm_unlink.c: New file.
34         * sysdeps/mach/hurd/bits/posix_opt.h
35         (_POSIX_SHARED_MEMORY_OBJECTS): Define it.
37         * rt/aio_notify.c (__aio_notify_only) [! _POSIX_REALTIME_SIGNALS]:
38         Use raise instead of __aio_sigqueue.
40         * sysdeps/mach/hurd/pread.c: Fail with EINVAL if OFFSET is negative.
41         * sysdeps/mach/hurd/pwrite.c: Likewise.
43         * shlib-versions [USE_IN_LIBIO] (.*-.*-gnu-gnu.*): libc=0.3
44         [USE_IN_LIBIO && !GLIBC_OLDEST_ABI] (.*-.*-gnu-gnu.*): Use GLIBC_2.2.4
45         as default version set.
47 2001-06-13  Ulrich Drepper  <drepper@redhat.com>
49         * libio/iolibio.h (_IO_freopen): Correct last parameter to
50         _IO_file_open.
51         (_IO_freopen64): Likewise.
52         Reported by simanek@quantum.karlov.mff.cuni.cz [PR libc/2326].
54         * elf/elf.h: Add a few more EM_* constants.
56 2001-06-12  Bruno Haible  <haible@clisp.cons.org>
58         * intl/dcigettext.c (DCIGETTEXT): Release the lock before returning.
60 2001-06-09  Ben Collins  <bcollins@debian.org>
62         * sysdeps/unix/sysv/linux/bits/termios.h: Define __MAX_BAUD.
63         * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
64         * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
65         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
66         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
67         * sysdeps/unix/sysv/linux/speed.c: Use __MAX_BAUD instead of
68         hardcoded B400000.
70 2001-06-13  Ulrich Drepper  <drepper@redhat.com>
72         * time/sys/time.h: Don't use enum __itimer_which ever for
73         __itimer_which_t for C++.
74         Reported by Martin Buchholz <martin@xemacs.org>.
76         * po/fr.po: Update from translation team.
78 2001-06-12  H.J. Lu  <hjl@gnu.org>
80         * configure.in: Fix typos in missing program names.
81         * configure: Regenerated.
83 2001-06-12  Andreas Jaeger  <aj@suse.de>
85         * iconvdata/tst-table-to.c: Include string.h for strcmp prototype.
87         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Add ULPs for tanh (-0.7).
89 2001-06-11  Andreas Jaeger  <aj@suse.de>
91         * sysdeps/ieee754/ldbl-128/e_coshl.c: New file.  Contributed by
92         Stephen L Moshier <moshier@mediaone.net>.
94         * aclocal.m4: Quote AC_FD_MSG and AC_FD_CC.
96         * sysdeps/powerpc/fpu/libm-test-ulps: Add ULPs for tanh (-0.7).
97         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
99 2001-06-11  Michael Deutschmann  <michael@talamasca.ocis.net>
101         * rt/tst-aio4.c (do_test): Test whether rt signals are supported.
102         Use my_signo instead of MY_SIGNO and initialize it so that the
103         used signal is always available.
105 2001-06-11  Andreas Jaeger  <aj@suse.de>,
106             Michael Deutschmann  <michael@talamasca.ocis.net>
108         * io/test-lfs.c (do_prepare): Clean up error messages.
109         (test_ftello): Check for EFBIG and ENOSPC, clean up error messages.
110         (do_test): Likewise.
112 2001-06-11  Andreas Jaeger  <aj@suse.de>
114         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (IXANY, IUCLC,
115         IMAXBEL): Make always visible since they're needed by POSIX.
116         Closes PR libc/2320, reported by Chris Yeoh <cyeoh@samba.org>.
118 2001-06-10  Ben Collins  <bcollins@debian.org>
120         * sysdeps/arm/elf/start.S: Use #function, not @function, for
121         .type of _start.
123         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Include limits.h to get
124         INT_MAX.
126 2001-06-07  H.J. Lu  <hjl@gnu.org>
128         * sunrpc/rpc/rpc.h: Add __BEGIN_DECLS/__END_DECLS.
130 2001-06-10  Roland McGrath  <roland@frob.com>
132         * elf/reldep4mod2.c: Use fully typed decls to avoid warnings.
133         * elf/reldep4mod4.c: Likewise.
135 2001-06-10  Mark Kettenis  <kettenis@gnu.org>
137         * hurd/hurd/threadvar.h: Add prototype for __hurd_errno_location.
139 2001-06-08  Andreas Schwab  <schwab@suse.de>
141         * posix/regex.c (re_match_2_internal) [case wordbeg, wordend]:
142         Don't dereference at end of string.
144 2001-06-06  Roland McGrath  <roland@frob.com>
146         * sysdeps/mach/hurd/getsockopt.c: Fix handling of returned buffer size.
147         From Robert Bihlmeyer <robbe@orcus.priv.at>.
149 2001-06-06  Ulrich Drepper  <drepper@redhat.com>
151         * po/ko.po: Update from translation team.
153 2001-06-06  Andreas Jaeger  <aj@suse.de>
155         * manual/llio.texi (Memory-mapped I/O): Clarify that mapping is to
156         offset+length-1.
157         Reported by Robert Bernecky <bernecky@acm.org>.
159 2001-06-06  Jakub Jelinek  <jakub@redhat.com>
161         * sysdeps/cris/elf/start.S: Fix a typo introduced by last patch.
162         * sysdeps/ia64/elf/start.S: Likewise.
163         * sysdeps/sh/elf/start.S: Likewise.
164         * sysdeps/s390/s390-32/elf/start.S: Likewise.
165         * sysdeps/s390/s390-64/elf/start.S: Likewise.
167 2001-06-05  Matthew Wilcox  <willy@ldl.fc.hp.com>
169         * sysdeps/hppa/bsd-_setjmp.S: New.
170         * sysdeps/hppa/bsd-setjmp.S: New.
172         * sysdeps/hppa/dl-machine.h: Reformat asm statements to remove new
173         gcc warnings about multi-line strings.
175         * sysdeps/unix/sysv/linux/hppa/getrlimit.c: Remove.
176         * sysdeps/unix/sysv/linux/hppa/setrlimit.c: Remove.
178         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Call getrlimit,
179         setrlimit directly instead of using wrappers.
181 2001-05-01  Richard Hirst  <rhirst@linuxcare.com>
183         * sysdeps/unix/sysv/linux/hppa/syscall.S: remove dummy syscall.
184         * sysdeps/unix/sysv/linux/hppa/sysdep.c: implement syscall.
186 2001-06-05  Philipp Thomas  <pthomas@suse.de>
188         * nis/nis_call.c (__nisbind_connect): Don't mark for translation
189         what can't be translated.
191 2001-06-06  Ulrich Drepper  <drepper@redhat.com>
193         * timezone/zic.c: Update from tzcode2001c.
194         * timezone/private.h: Likewise.
195         * timezone/africa: Update from tzdata2001c.
196         * timezone/asia: Likewise.
197         * timezone/europe: Likewise.
198         * timezone/northamerica: Likewise.
199         * timezone/southamerica: Likewise.
200         * timezone/zone.tab: Likewise.
202 2001-06-04  Bruno Haible  <haible@clisp.cons.org>
204         * iconv/loop.c (UNICODE_TAG_HANDLER): New macro.
205         * iconv/gconv_simple.c (__gconv_transform_internal_ascii): Invoke
206         UNICODE_TAG_HANDLER.
207         (__gconv_transform_internal_ucs2): Likewise.
208         (__gconv_transform_internal_ucs2reverse): Likewise.
209         * iconvdata/8bit-gap.c (BODY for TO_LOOP): Invoke UNICODE_TAG_HANDLER.
210         * iconvdata/8bit-generic.c (BODY for TO_LOOP): Likewise.
211         * iconvdata/ansi_x3.110.c (BODY for TO_LOOP): Likewise.
212         * iconvdata/big5.c (BODY for TO_LOOP): Likewise.
213         * iconvdata/big5hkscs.c (BODY for TO_LOOP): Likewise.
214         * iconvdata/cp1255.c (BODY for TO_LOOP): Likewise.
215         * iconvdata/cp1258.c (BODY for TO_LOOP): Likewise.
216         * iconvdata/euc-cn.c (BODY for TO_LOOP): Likewise.
217         * iconvdata/euc-jp.c (BODY for TO_LOOP): Likewise.
218         * iconvdata/euc-kr.c (BODY for TO_LOOP): Likewise.
219         * iconvdata/euc-tw.c (BODY for TO_LOOP): Likewise.
220         * iconvdata/gbk.c (BODY for TO_LOOP): Likewise.
221         * iconvdata/ibm930.c (BODY for TO_LOOP): Likewise.
222         * iconvdata/ibm932.c (BODY for TO_LOOP): Likewise.
223         * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
224         * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
225         * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
226         * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
227         * iconvdata/ibm943.c (BODY for TO_LOOP): Likewise.
228         * iconvdata/iso646.c (BODY for TO_LOOP): Likewise.
229         * iconvdata/iso8859-1.c (BODY for TO_LOOP): Likewise.
230         * iconvdata/iso_6937.c (BODY for TO_LOOP): Likewise.
231         * iconvdata/iso_6937-2.c (BODY for TO_LOOP): Likewise.
232         * iconvdata/iso-2022-cn.c (BODY for TO_LOOP): Likewise.
233         * iconvdata/iso-2022-cn-ext.c (BODY for TO_LOOP): Likewise.
234         * iconvdata/iso-2022-kr.c (BODY for TO_LOOP): Likewise.
235         * iconvdata/johab.c (BODY for TO_LOOP): Likewise.
236         * iconvdata/sjis.c (BODY for TO_LOOP): Likewise.
237         * iconvdata/t.61.c (BODY for TO_LOOP): Likewise.
238         * iconvdata/uhc.c (BODY for TO_LOOP): Likewise.
239         * iconvdata/unicode.c (BODY for TO_LOOP): Likewise.
240         * iconvdata/iso-2022-jp.c (TAG_none, TAG_language, TAG_language_j,
241         TAG_language_ja, TAG_language_k, TAG_language_ko, TAG_language_z,
242         TAG_language_zh, CURRENT_TAG_MASK): New enum values.
243         (EMIT_SHIFT_TO_INIT): Don't emit an escape sequence if ASCII_set
244         is already selected but set2 or tag are set.
245         (conversion): New enum type.
246         (cvlist_t): New type.
247         (CVLIST, CVLIST_FIRST, CVLIST_REST): New macros.
248         (conversion_lists): New array.
249         (BODY for TO_LOOP): Keep track of Unicode 3.1 language tag. If "ja",
250         prefer conversion to Japanese character sets. If "zh", prefer
251         conversion to GB2312. If "ko", prefer conversion to KSC5601. Small
252         optimizations.
253         (INIT_PARAMS): Add tag.
254         (UPDATE_PARAMS): Add tag.
256 2001-06-04  Bruno Haible  <haible@clisp.cons.org>
258         * locale/programs/locfile.c (write_locale_data): Before creat(),
259         unlink the file, to avoid crashing the processes that mmap it.  Change
260         a double slash to a single slash.  Free fname in case of error return.
262 2001-06-02  Jakub Jelinek  <jakub@redhat.com>
264         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Mostly revert 2000-12-03
265         changes, do the special handling for denormal numbers, not for
266         normalized numbers (patch by <trevin@xmission.com>).
268         * math/test-misc.c (main): Test frexpl with denormal arguments.
270 2001-06-04  Jakub Jelinek  <jakub@redhat.com>
272         * math/libm-test.inc (llround_test): Add two new llround tests.
273         * sysdeps/ieee754/ldbl-96/s_llroundl.c (__llroundl): Don't allow
274         overflow when rounding away from zero.
276 2001-06-04  Jakub Jelinek  <jakub@redhat.com>
278         * math/Makefile (libm-calls): Add e_log2, w_log2, remove s_log2.
279         * math/math_private.h (__ieee754_log2, __ieee754_log2f,
280         __ieee754_log2l): New prototypes.
281         * sysdeps/generic/w_log2.c: New file.
282         * sysdeps/generic/w_log2f.c: New file.
283         * sysdeps/generic/w_log2l.c: New file.
284         * sysdeps/generic/s_log2l.c: Move...
285         * sysdeps/generic/e_log2l.c: ...to here. Rename to __ieee754_log2l.
286         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle log2(0)
287         and log2(x < 0).
288         * sysdeps/i386/fpu/s_log2.S: Move...
289         * sysdeps/i386/fpu/e_log2.S: ...to here. Rename to __ieee754_log2.
290         * sysdeps/i386/fpu/s_log2f.S: Move...
291         * sysdeps/i386/fpu/e_log2f.S: ...to here. Rename to __ieee754_log2f.
292         * sysdeps/i386/fpu/s_log2l.S: Move...
293         * sysdeps/i386/fpu/e_log2l.S: ...to here. Rename to __ieee754_log2l.
294         * sysdeps/m68k/fpu/s_log2.c: Move...
295         * sysdeps/m68k/fpu/e_log2.c: ...to here. Rename to __ieee754_log2.
296         * sysdeps/m68k/fpu/s_log2f.c: Move...
297         * sysdeps/m68k/fpu/e_log2f.c: ...to here. Rename to __ieee754_log2f.
298         * sysdeps/m68k/fpu/s_log2l.c: Move...
299         * sysdeps/m68k/fpu/e_log2l.c: ...to here. Rename to __ieee754_log2l.
300         * sysdeps/ieee754/dbl-64/s_log2.c: Move...
301         * sysdeps/ieee754/dbl-64/e_log2.c: ...to here. Rename to
302         __ieee754_log2.
303         * sysdeps/ieee754/flt-32/s_log2f.c: Move...
304         * sysdeps/ieee754/flt-32/e_log2f.c: ...to here. Rename to
305         __ieee754_log2f.
307 2001-06-04  Jakub Jelinek  <jakub@redhat.com>
309         * sysdeps/generic/w_exp2.c (u_threshold): Lower threshold so that
310         even arguments which result in denormalized exp2 are accepted.
311         (__exp2): Arguments equal to u_threshold already result into
312         underflow.
313         * sysdeps/generic/w_exp2f.c (u_threshold, __exp2f): Likewise.
314         * sysdeps/generic/w_exp2l.c (u_threshold, __exp2l): Likewise.
315         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Lomark was too
316         low, with corrected lowmark use greaterequal, not greater.
317         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
319 2001-06-04  Jakub Jelinek  <jakub@redhat.com>
321         * math/libm-test.inc (ilogb_test): Test that ilogb(+-Inf) == INT_MAX.
322         * sysdeps/i386/fpu/s_ilogb.S (__ilogb): Return INT_MAX for +-Inf.
323         * sysdeps/i386/fpu/s_ilogbf.S (__ilogbf): Likewise.
324         * sysdeps/i386/fpu/s_ilogbl.S (__ilogbl): Likewise.
325         * sysdeps/ieee754/dbl-64/s_ilogb.c (__ilogb): Likewise.
326         * sysdeps/ieee754/flt-32/s_ilogbf.c (__ilogbf): Likewise.
327         * sysdeps/ieee754/ldbl-128/s_ilogbl.c (__ilogbl): Likewise.
328         * sysdeps/ieee754/ldbl-96/s_ilogbl.c (__ilogbl): Likewise.
330 2001-06-04  Jakub Jelinek  <jakub@redhat.com>
332         * sysdeps/generic/w_coshl.c (__coshl): Test if finite argument
333         gave non-finite result instead of using constant in generic
334         version.
335         * sysdeps/generic/w_coshf.c (__coshf): Likewise.
336         * sysdeps/generic/w_cosh.c (__cosh): Likewise.
337         * sysdeps/generic/w_exp10.c (o_threshold, u_threshold): Remove.
338         (__exp10): Test if finite argument gave non-finite result.
339         * sysdeps/generic/w_exp10f.c (o_threshold, u_threshold, __exp10f):
340         Likewise.
341         * sysdeps/generic/w_exp10l.c (o_threshold, u_threshold, __exp10l):
342         Likewise.
344 2001-06-04  Jakub Jelinek  <jakub@redhat.com>
346         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Fix
347         overflow threshold constant (log(LDBL_MAX)+M_LN2l).
349 2001-05-29  Bruno Haible  <haible@clisp.cons.org>
351         * locale/programs/ld-ctype.c (idx_table): New struct type.
352         (idx_table_init, idx_table_get, idx_table_add): New functions.
353         (MAX_CHARNAMES_IDX): Remove macro.
354         (locale_ctype_t): Change type of charnames_idx field.
355         (ctype_startup): Change initialization of charnames_idx field.
356         (find_idx): Use idx_table_get and idx_table_add for speed.
358         * locale/programs/charmap.c (charmap_new_char): Fix ucs4 value
359         computation of characters in a range.
361 2001-05-29  Bruno Haible  <haible@clisp.cons.org>
363         * iconvdata/gb18030.c (__fourbyte_to_ucs1): Add mappings for <U03F4>,
364         <U03F5>.
365         (__ucs_to_gb18030_tab1): Likewise.
366         (BODY for FROM_LOOP): Add mapping for <U00010000>..<U0010FFFF>.
367         (BODY for TO_LOOP): Likewise.
368         * iconvdata/tst-table-charmap.sh: Update for charmaps containing
369         <U00xxxxxx> syntax.
370         * iconvdata/tst-table-from.c (bmp_only): New variable.
371         (utf8_decode): If bmp_only, don't return characters outside Unicode
372         plane 0.
373         (main): When testing UTF-8 or GB18030, set bmp_only to 1. Don't print
374         a conversion line if utf8_decode returns NULL.
375         * iconvdata/tst-table-to.c (main): When testing encodings other than
376         UTF-8 and GB18030, loop upto U+30000 instead of U+10000. Use UTF-8
377         instead of UCS-2 as input.
378         * iconvdata/tst-table.sh: For GB18030, use only the part < 0x10000
379         of the charmap.
381 2001-05-29  Bruno Haible  <haible@clisp.cons.org>
383         * iconvdata/cns11643l1.c: Update to Unicode 3.1.
384         (__cns11643l1_to_ucs4_tab): Regenerated.
385         (__cns11643l1_from_ucs4_tab12): Regenerated.
386         * iconvdata/cns11643.c: Update to Unicode 3.1.
387         (__cns11643l14_to_ucs4_tab): Remove array.
388         (__cns11643l3_to_ucs4_tab, __cns11643l4_to_ucs4_tab,
389         __cns11643l5_to_ucs4_tab, __cns11643l6_to_ucs4_tab,
390         __cns11643l7_to_ucs4_tab, __cns11643l15_to_ucs4_tab): New arrays.
391         (__cns11643_from_ucs4p0_tab): Renamed from __cns11643_from_ucs4_tab.
392         (__cns11643_from_ucs4p2_tab): New array.
393         * iconvdata/cns11643.h (__cns11643l14_to_ucs4_tab): Remove declaration.
394         (__cns11643l3_to_ucs4_tab, __cns11643l4_to_ucs4_tab,
395         __cns11643l5_to_ucs4_tab, __cns11643l6_to_ucs4_tab,
396         __cns11643l7_to_ucs4_tab, __cns11643l15_to_ucs4_tab): New declarations.
397         (cns11643_to_ucs4): Treat planes 3, 4, 5, 6, 7, 15 instead of 14.
398         (__cns11643_from_ucs4_tab): Remove declaration.
399         (__cns11643_from_ucs4p0_tab, __cns11643_from_ucs4p2_tab): New
400         declarations.
401         (ucs4_to_cns11643): Update for new arrays. Treat U+3400..U+4DFF and
402         U+20000..U+2A6D6.
403         * iconvdata/cns11643l2.h (__cns11643_from_ucs4_tab): Remove
404         declaration.
405         (__cns11643_from_ucs4p0_tab): New declaration.
406         (ucs4_to_cns11643l2): Update for new arrays.
407         * iconvdata/iso-2022-cn-ext.c (BODY for FROM_LOOP): Handle planes
408         3 to 7.
409         (BODY for TO_LOOP): Handle planes 3 to 7, instead of plane 14.
410         * iconvdata/EUC-TW.irreversible: New file.
411         * iconvdata/tst-table.sh: Use it.
412         * iconvdata/Makefile (distribute): Add CP1255.irreversible,
413         CP1258.irreversible, EUC-TW.irreversible.
415 2001-05-29  Bruno Haible  <haible@clisp.cons.org>
417         * locale/C-translit.h.in: Add transliterations for new Unicode 3.1
418         mathematical symbols.
420 2001-06-05  Andreas Jaeger  <aj@suse.de>
422         * manual/stdio.texi (Portable Positioning): Fix description of
423         fpos_t and fpos64_t.
425 2001-06-06  Ulrich Drepper  <drepper@redhat.com>
427         * sysdeps/generic/wordexp.c: Undo last patch.  Use strndupa instead.
429         * po/sk.po: Update from translation team.
431 2001-06-05  Andreas Jaeger  <aj@suse.de>
433         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Recognize
434         tmpfs, patch by Stanislav Brabec <utx@penguin.cz>.
435         Closes PR libc/2315.
437 2001-06-05  Ulrich Drepper  <drepper@redhat.com>
439         * sysdeps/generic/wordexp.c: Add missing free.
440         Patch by yeti@physics.muni.cz.
442 2001-06-02  Tom Browder  <tbrowder@home.com>
444         * misc/tst-tsearch.c (mangle_tree): Ensure array indices are
445         within bounds when lag > 0.
447 2001-06-05  Ulrich Drepper  <drepper@redhat.com>
449         * po/tr.po: New file.
451 2001-06-05  Andreas Jaeger  <aj@suse.de>
453         * manual/libm-err-tab.pl (parse_ulps): Fix typo.
455 2001-06-04  H.J. Lu  <hjl@gnu.org>
457         * sysdeps/alpha/elf/start.S: Add .type for the entry point.
458         * sysdeps/arm/elf/start.S: Likewise.
459         * sysdeps/hppa/elf/start.S: Likewise.
460         * sysdeps/i386/elf/start.S: Likewise.
461         * sysdeps/m68k/elf/start.S: Likewise.
462         * sysdeps/mips/elf/start.S: Likewise.
463         * sysdeps/ia64/elf/start.S: Likewise.
464         * sysdeps/sh/elf/start.S: Likewise.
465         * sysdeps/s390/s390-32/elf/start.S: Likewise.
466         * sysdeps/s390/s390-64/elf/start.S: Likewise.
467         * sysdeps/cris/elf/start.S: Likewise.
469 2001-06-04  Bruce Mitchener  <bruce@cubik.org>
471         * manual/resource.texi: Correct setpriority/nice documentation.
473         * sysdeps/unix/nice.c: Correct nice() implementation.
475 2001-06-04  Andreas Jaeger  <aj@suse.de>
477         * sysdeps/ieee754/ldbl-128/e_sinhl.c: New file, contributed by
478         Stephen L Moshier <moshier@mediaone.net>.
480 2001-06-03  Roland McGrath  <roland@frob.com>
482         * Makefile (postclean): Remove obsolete sysd-Makefile.
484 2001-06-01  Roland McGrath  <roland@frob.com>
486         * sysdeps/alpha/fpu/fclrexcpt.c: #include <shlib-compat.h>
487         and use compat_symbol/versioned_symbol instead of plain
488         symbol_version/default_symbol_version.
489         * sysdeps/alpha/fpu/fegetenv.c: Likewise.
490         * sysdeps/alpha/fpu/fesetenv.c: Likewise.
491         * sysdeps/alpha/fpu/feupdateenv.c: Likewise.
492         * sysdeps/alpha/fpu/fgetexcptflg.c: Likewise.
493         * sysdeps/alpha/fpu/fraiseexcpt.c: Likewise.
494         * sysdeps/alpha/fpu/fsetexcptflg.c: Likewise.
495         * sysdeps/arm/fpu/fclrexcpt.c: Likewise.
496         * sysdeps/arm/fpu/fegetenv.c: Likewise.
497         * sysdeps/arm/fpu/fesetenv.c: Likewise.
498         * sysdeps/arm/fpu/fraiseexcpt.c: Likewise.
499         * sysdeps/arm/fpu/fsetexcptflg.c: Likewise.
500         * sysdeps/i386/fpu/fclrexcpt.c: Likewise.
501         * sysdeps/i386/fpu/fegetenv.c: Likewise.
502         * sysdeps/i386/fpu/fesetenv.c: Likewise.
503         * sysdeps/i386/fpu/feupdateenv.c: Likewise.
504         * sysdeps/i386/fpu/fgetexcptflg.c: Likewise.
505         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
506         * sysdeps/i386/fpu/fsetexcptflg.c: Likewise.
507         * sysdeps/m68k/fpu/fclrexcpt.c: Likewise.
508         * sysdeps/m68k/fpu/fegetenv.c: Likewise.
509         * sysdeps/m68k/fpu/fesetenv.c: Likewise.
510         * sysdeps/m68k/fpu/feupdateenv.c: Likewise.
511         * sysdeps/m68k/fpu/fgetexcptflg.c: Likewise.
512         * sysdeps/m68k/fpu/fraiseexcpt.c: Likewise.
513         * sysdeps/m68k/fpu/fsetexcptflg.c: Likewise.
514         * sysdeps/powerpc/fclrexcpt.c: Likewise.
515         * sysdeps/powerpc/fpu/fegetenv.c: Likewise.
516         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
517         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
518         * sysdeps/powerpc/fpu/fgetexcptflg.c: Likewise.
519         * sysdeps/powerpc/fpu/fraiseexcpt.c: Likewise.
520         * sysdeps/powerpc/fpu/fsetexcptflg.c: Likewise.
522         * iconvdata/cp1258.c: Include <stdlib.h> for abort decl.
523         * iconvdata/iso-2022-cn-ext.c: Likewise.
525 2001-06-01  Andreas Jaeger  <aj@suse.de>
527         * Versions.def: Add version 2.2.4.
529 2001-06-01  Ulrich Drepper  <drepper@redhat.com>
531         * socket/Makefile (routines): Add sockatmark.
532         * socket/Versions [GLIBC_2.2.4]: Add sockatmark.
533         * socket/sys/socket.h: Add prototype for sockatmark.
534         * sysdeps/generic/sockatmark.c: New file.
535         * sysdeps/unix/sockatmark.c: New file.
537 2001-06-01  Andreas Jaeger  <aj@suse.de>
539         * sysdeps/unix/sysv/linux/speed.c (cfsetispeed): Max speed is
540         B4000000.
541         (cfsetospeed): Likewise.
542         Reported by Lukasz Trabinski <lukasz@lt.wsisiz.edu.pl>.
544 2001-05-31  Joseph S. Myers  <jsm28@cam.ac.uk>
546         * misc/sys/cdefs.h (__restrict_arr): Define to empty for C++.
548 2001-05-30  Martin Schwidefsky  <schwidefsky@de.ibm.com>
550         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: greg_t
551         needs to have the same aligment as the kernel structure.
553 2001-05-29  Jakub Jelinek  <jakub@redhat.com>
555         * sunrpc/rpc/types.h (u_char, u_short, u_int, u_long, quad_t,
556         u_quad_t, fsid_t, daddr_t, caddr_t): Make sure the types are defined.
557         * posix/sys/types.h (u_char, u_short, u_int, u_long, quad_t,
558         u_quad_t, fsid_t, daddr_t, caddr_t): Protect the __USE_BSD typedefs
559         against multiple definition.
561 2001-05-30  Ulrich Drepper  <drepper@redhat.com>
563         * po/da.po: Update from translation team.
565 2001-05-29  Andreas Jaeger  <aj@suse.de>
567         * sysdeps/ieee754/ldbl-128/e_acosl.c: New file, contributed by
568         Stephen L Moshier <moshier@mediaone.net>.
570         * math/libm-test.inc (sinh_test): Add new test case.
572         * sysdeps/ieee754/ldbl_96/e_sinhl.c (__ieee754_sinhl): sinhl(x) =
573         x when x < 2^-32.
574         Patch by Stephen L Moshier <moshier@mediaone.net>.
576 2001-05-23  Andreas Jaeger  <aj@suse.de>
578         * iconvdata/testdata/WINDOWS-1255..UTF-8: Renamed to...
579         * iconvdata/testdata/WINDOWS-1255..UTF8: this.
581 2001-05-27  Andreas Jaeger  <aj@suse.de>
583         * manual/stdio.texi (String Streams): Fix fmemopen description.
584         Reported by Michal Kochanowicz <michal@michal.waw.pl>.
586 2001-05-26  H.J. Lu <hjl@gnu.org>
588         * sysdeps/unix/sysv/linux/mips/syscalls.list: Change sigsuspend
589         to s_sigsuspend. Add s_mmap2.
591         * sysdeps/mips/atomicity.h: New file.
593         * sysdeps/unix/sysv/linux/mips/getsysstats.c: New file.
595         * sysdeps/unix/sysv/linux/mips/bits/ipc.h (ipc_perm): Put
596         back __key.
598 2001-05-25  Bruce Mitchener  <bruce@cubik.org>
600         * manual/ctype.texi: Minor fix.
601         * manual/install.texi: Likewise.
602         * manual/startup.texi: Likewise.
603         * manual/examples/dir.c: Use perror() rather than puts().
605 2001-05-25  David Mosberger  <davidm@hpl.hp.com>
607         * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h: Put stuff following
608         #endif directive inside a comment to avoid compiler warnings.
610 2001-05-25  Philipp Thomas  <pthomas@suse.de>
612         * nis/nis_print.c (nis_nstype2str): Don't mark names of
613         naming services for translation, only UNKNOWN needs it.
614         Add comment to prevent it for the future.
616 2001-05-25  Joseph S. Myers  <jsm28@cam.ac.uk>
618         * misc/sys/cdefs.h (__restrict_arr): Define appropriately for GCC
619         3.1 and non-GCC C99 compilers.
621 2001-05-22  David Mosberger  <davidm@hpl.hp.com>
623         * sysdeps/ia64/memmove.S: Increase MEMLAT from 6 to 21 for better
624         performance.
625         * sysdeps/ia64/memcpy.S: Likewise.
627         * sysdeps/ia64/bcopy.S: New file.
629         * sysdeps/ia64/bzero.S: New file (derived from memset.S).
631 2001-05-26  Ulrich Drepper  <drepper@redhat.com>
633         * sysdeps/ia64/fpu/libm-test-ulps: Add deltas for tanh(-0.7).
635 2001-05-24  Ulrich Drepper  <drepper@redhat.com>
637         * iconvdata/Makefile: Add rules for CP10007.
638         * iconvdata/gconv-modules: Add entries for CP10007 ad MacCyrillic.
639         * iconvdata/cp10007.c: New file.
640         * iconvdata/tst-tables.sh: Add CP10007.
642 2001-05-23  kaz Kojima  <kkojima@rr.iij4u.or.jp>
644         * sysdeps/sh/dl-machine.h (_dl_runtime_resolve): Handle newer PLT.
645         (_dl_runtime_profile): Likewise..
647 2001-05-23  Thorsten Kukuk  <kukuk@suse.de>
649         * sysdeps/posix/getaddrinfo.c: Support for AF_UNIX commented out.
650         * posix/tst-getaddrinfo.c: Remove AF_UNIX test.
652 2001-05-19  H.J. Lu  <hjl@gnu.org>
654         * elf/dl-deps.c (_dl_map_object_deps): Pass objname and
655         errstring of the failed DSO to _dl_signal_error ().
657 2001-05-23  Ulrich Drepper  <drepper@redhat.com>
659         * iconvdata/gconv-modules: Add more aliases to enable use in
660         locale names.
662 2001-05-23  Andreas Jaeger  <aj@suse.de>
664         * sysdeps/unix/sysv/linux/ia64/Makefile (CFLAGS-initfini.s):
665         Remove, it's not used anywhere anymore.
666         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile
667         (CFLAGS-initfini.s): Likewise.
668         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile
669         (CFLAGS-initfini.s): Likewise.
670         * sysdeps/unix/sysv/linux/powerpc/Makefile (CFLAGS-initfini.s):
671         Likewise.
672         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-initfini.s):
673         Likewise.
675 2001-05-21  Bruno Haible  <haible@clisp.cons.org>
677         * wcsmbs/mbrtowc.c (mbrtowc): Remove local variable 'flush', always
678         use 0 instead, and rely on the converter to do the flush.
679         * wcsmbs/tst-mbrtowc.c (utf8_test_1): New function, taken from
680         utf8_test.
681         (utf8_test_2, utf8_test_3): New function.
682         (utf8_test): Call utf8_test_1, utf8_test_2, utf8_test_3.
684 2001-05-22  Jakub Jelinek  <jakub@redhat.com>
686         * elf/dl-close.c (_dl_close): Save imap->l_reldeps, not map->l_reldeps.
688         * elf/Makefile (distribute): Add reldep4mod[1234].c.
689         (tests): Add reldep4.
690         (modules-names): Add reldep4mod[1234].
691         (reldep4mod1.so, reldep4mod2.so, reldep4, reldep4.out): New rules.
692         * elf/reldep4.c: New file.
693         * elf/reldep4mod1.c: Likewise.
694         * elf/reldep4mod2.c: Likewise.
695         * elf/reldep4mod3.c: Likewise.
696         * elf/reldep4mod4.c: Likewise.
698 2001-05-18  Jakub Jelinek  <jakub@redhat.com>
700         * elf/dl-lookup.c (PROTECTED): Remove defines.
701         (add_dependency): Mark it with internal_function.
702         (_dl_do_lookup, _dl_do_lookup_versioned): New functions.
703         (_dl_lookup_symbol, _dl_lookup_symbol_skip,
704         _dl_lookup_versioned_symbol, _dl_lookup_versioned_symbol_skip): Use
705         it if we don't want do_lookup* inlined.
707 2001-05-18  Jakub Jelinek  <jakub@redhat.com>
709         * include/link.h (struct r_scope_elem): Remove r_duplist and
710         r_nduplist fields.
711         * elf/dl-load.c (_dl_map_object_from_fd): Don't initialize them.
712         * elf/dl-lookup.c (_dl_lookup_symbol_skip): Look in r_list, not
713         r_duplist.
714         (_dl_lookup_versioned_symbol_skip): Likewise.
715         * elf/dl-deps.c (struct list): Remove dup field, rename unique to next.
716         (_dl_map_object_deps): Don't compute duplicate list.
718         * elf/dl-symbol.c: Removed.
719         * elf/Makefile (routines): Remove dl-symbol.
721 2001-05-22  Ulrich Drepper  <drepper@redhat.com>
723         * po/el.po: Update from translation team.
724         * po/sv.po: Likewise.
726 2001-05-20  Bruno Haible  <haible@clisp.cons.org>
728         * iconvdata/cp1255.c: Completely rewritten.
729         * iconvdata/Makefile (gen-8bit-gap-modules): Remove cp1255.
730         * iconvdata/testdata/WINDOWS-1255: New file.
731         * iconvdata/testdata/WINDOWS-1255..UTF8: New file.
732         * iconvdata/TESTS: Add WINDOWS-1255 test.
733         * iconvdata/CP1255.irreversible: New file.
735 2001-05-20  Bruno Haible  <haible@clisp.cons.org>
737         * iconvdata/cp1258.c: Completely rewritten.
738         * iconvdata/Makefile (gen-8bit-gap-modules): Remove cp1258.
739         * iconvdata/testdata/WINDOWS-1258: New file.
740         * iconvdata/testdata/WINDOWS-1258..UTF8: New file.
741         * iconvdata/TESTS: Add WINDOWS-1258 test.
742         * iconvdata/tst-table-from.c (try): Reset the iconv descriptor before
743         the main call, and flush it afterwards.
744         (utf8_decode): Return a string, possibly containing several Unicode
745         characters.
746         (main): Update all utf8_decode calls.
747         * iconvdata/CP1258.irreversible: New file.
749 2001-05-20  Bruno Haible  <haible@clisp.cons.org>
751         * iconv/gconv.c (__gconv): For flush without output, pass do_flush = 2.
752         * iconv/skeleton.c: Distinguish do_flush = 1 and do_flush = 2. In the
753         first case, set outbuf, outstart, outend, and call PREPARE_LOOP before
754         EMIT_SHIFT_TO_INIT; then pass the output produced by this step down to
755         the next step. In the second case, clear the state without calling
756         EMIT_SHIFT_TO_INIT.
757         * iconvdata/ibm930.c (EMIT_SHIFT_TO_INIT): Use outbuf instead of
758         data->__outbuf, and outend instead of data->__outbufend.
759         * iconvdata/ibm933.c (EMIT_SHIFT_TO_INIT): Likewise.
760         * iconvdata/ibm935.c (EMIT_SHIFT_TO_INIT): Likewise.
761         * iconvdata/ibm937.c (EMIT_SHIFT_TO_INIT): Likewise.
762         * iconvdata/ibm939.c (EMIT_SHIFT_TO_INIT): Likewise.
763         * iconvdata/iso-2022-cn.c (EMIT_SHIFT_TO_INIT): Likewise.
764         * iconvdata/iso-2022-cn-ext.c (EMIT_SHIFT_TO_INIT): Likewise.
765         * iconvdata/iso-2022-jp.c (EMIT_SHIFT_TO_INIT): Likewise.
766         * iconvdata/iso-2022-kr.c (EMIT_SHIFT_TO_INIT): Likewise.
767         * iconvdata/utf-7.c (EMIT_SHIFT_TO_INIT): Likewise.
769 2001-05-21  Jakub Jelinek  <jakub@redhat.com>
771         * elf/rtld.c (dl_main): Compute l_map_end for the main program.
772         * elf/dl-sym.c (_dl_sym): Don't check for l_addr == 0.
773         If match == _dl_loaded, caller can still come from the main program.
774         (_dl_vsym): Likewise.
775         * elf/dl-open.c (dl_open_worker): Don't check for l_addr == 0.
776         * elf/dl-error.c (_dl_signal_error): Change NULL objname into "".
777         * elf/restest2.c: New test.
778         * elf/Makefile (tests): Add restest2.
779         (restest2, LDFLAGS-restest2): Add rules.
781 2001-05-22  Ulrich Drepper  <drepper@redhat.com>
783         * intl/Makefile: Add a few more dependencies to avoid races in the
784         test shell scripts.
786 2001-05-22  Andreas Jaeger  <aj@suse.de>
788         * sysdeps/ieee754/ldbl-128/s_log1pl.c: New file, contributed by
789         Stephen L Moshier <moshier@mediaone.net>.
791 2001-05-22  Martin Schwidefsky  <schwidefsky@de.ibm.com>
793         * sysdeps/s390/s390-32/backtrace.c: Make backtrace return the
794         return addresses instead of the stack pointers.
795         * sysdeps/s390/s390-64/backtrace.c: Likewise.
797 2001-05-21  Jakub Jelinek  <jakub@redhat.com>
799         * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Include
800         bits/sigcontext.h instead of bits/sigstack.h.
801         * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h: Add
802         multiple-inclusion guards.
804 2001-05-21  Andreas Jaeger  <aj@suse.de>
806         * locale/programs/ld-collate.c (handle_ellipsis): Fix message.
807         Patch by Philipp Thomas <pthomas@suse.de>.
809 2001-05-17  Bruce Mitchener  <bruce@cubik.org>
811         * manual/arpg.texi: Spelling, misc fixes.
812         * manual/arith.texi: Likewise.
813         * manual/crypt.texi: Likewise.
814         * manual/debug.texi: Likewise.
815         * manual/getopt.texi: Likewise.
816         * manual/intro.texi: Likewise.
817         * manual/memory.texi: Likewise.
818         * manual/nss.texi: Likewise.
819         * manual/pattern.texi: Likewise.
820         * manual/process.texi: Likewise.
821         * manual/resource.texi: Likewise.
822         * manual/search.texi: Likewise.
823         * manual/setjmp.texi: Likewise.
824         * manual/signal.texi: Likewise.
825         * manual/socket.texi: Likewise.
826         * manual/stdio.texi: Likewise.
827         * manual/string.texi: Likewise.
828         * manual/sysinfo.texi: Likewise.
829         * manual/terminal.texi: Likewise.
830         * manual/llio.texi: Document madvise().
832 2001-05-20  Roland McGrath  <roland@frob.com>
834         * Makeconfig (sysdep-makeconfigs): Include any Makeconfig files
835         found within $(add-ons) directories too.
836         [linuxthreads add-on]: Move variable settings for linuxthreads
837         to new file linuxthreads/Makeconfig.
839 2001-05-20  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
841         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_STD_AUXV):
842         Define for linux >= 2.4.5 on powerpc.
843         (__ASSUME_MMAP2_SYSCALL): Likewise.
845 2001-05-19  Roland McGrath  <roland@frob.com>
847         * hurd/hurdlookup.c (__hurd_file_name_lookup_retry): Don't leak the
848         result port when failing with ELOOP.  Do the ELOOP check when
849         following an absolute symlink target as well as relative.
850         Remove #ifdef SYMLOOP_MAX conditional--it should always be defined.
852 2001-05-18  Andreas Jaeger  <aj@suse.de>
854         * po/fr.po: Free software is "logiciel libre".
855         Patch by Martin Michlmayr <tbm@cyrius.com>.
857         * sysdeps/powerpc/elf/libc-start.c: Use __cxa_atexit.
858         Patch by ekato@ees.hokudai.ac.jp, closes PR libc/2271.
860 2001-05-17  David Mosberger  <davidm@hpl.hp.com>
862         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: New file.
864 2001-05-17  Ulrich Drepper  <drepper@redhat.com>
866         * elf/dl-profile.c (_dl_mcount): Check whether state is
867         GMON_PROF_ON before doing anything.
869 2001-05-17  H.J. Lu  <hjl@gnu.org>
871         * elf/sprof.c (read_symbols): Move "++symtab" into the while loop.
873 2001-05-17  Ulrich Drepper  <drepper@redhat.com>
875         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Use
876         CHECK_SIGSET_NULL_OK and not CHECK_SIGSET for all parameters.
877         Reported by Mark Burton <markb@ordern.com>.
879 2001-05-17  Jakub Jelinek  <jakub@redhat.com>
881         * elf/ldconfig.c (add_dir): Only warn about stat failure if
882         opt_verbose.
883         (search_dir): Likewise.
885 2001-05-17  Ulrich Drepper  <drepper@redhat.com>
887         * sysdeps/i386/i486/atomicity.h (exchange_and_add): Correct second
888         parameter of xaddl.  Patch by H . J . Lu <hjl@lucon.org>.
890 2001-05-14  Bruno Haible  <haible@clisp.cons.org>
892         * iconvdata/iso-2022-cn-ext.c (BODY for FROM_LOOP): If SO is seen
893         without previous announcement, reject it regularly, don't abort.
895 2001-05-16  Ulrich Drepper  <drepper@redhat.com>
897         * math/tgmath.h: Fix handling of int parameters to binary and
898         ternary functions.  Reported by mitr@volny.cz.
900         * math/test-tgmath.c: Add tests for calls with integer parameters.
902 2001-05-15  Jakub Jelinek  <jakub@redhat.com>
904         * sunrpc/rpc_thread.c (rpc_default): Remove.
905         (__rpc_thread_destroy): Use __libc_tsd_RPC_VARS_mem instead of
906         rpc_default.
907         (rpc_thread_multi, __rpc_thread_svc_fdset, __rpc_thread_createerr,
908         __rpc_thread_svc_pollfd, __rpc_thread_svc_max_pollfd): Likewise.
909         * sunrpc/auth_none.c (authnone_private): Fix a typo.
911 2001-05-16  Martin Schwidefsky  <schwidefsky@de.ibm.com>
913         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Fix stack allocation.
915 2001-05-16  Bruce Mitchener  <bruce@cubik.org>
917         * manual/llio.texi: Many grammar and typo fixes to the section on AIO.
919 2001-05-15  Andreas Jaeger  <aj@suse.de>
921         * sysdeps/ieee754/ldbl-128/s_expm1l.c: New file, contributed by
922         Stephen L Moshier <moshier@mediaone.net>.
924         * sysdeps/i386/fpu/libm-test-ulps: Adjust for change.
926         * math/libm-test.inc: Add comment with ToDo.
928         * sysdeps/i386/fpu/e_expl.c: Rewritten to C and using a more
929         accurate algorithm.  Patch by Stephen L Moshier <moshier@mediaone.net>.
931         * sysdeps/i386/fpu/e_expl.S: Removed.
933 2001-05-14  Roland McGrath  <roland@frob.com>
935         * csu/Makefile ($(objpfx)g$(start-installed-name)): Turn this into a
936         static pattern rule also that also covers
937         $(objpx)g$(static-start-installed-name).
938         [$(start-installed-name) != $(static-start-installed-name)]
939         (extra-objs, omit-deps, install-lib): Add
940         $(static-start-installed-name) and g$(static-start-installed-name).
941         * sysdeps/mach/hurd/i386/Makefile: Don't add crt0.o to those here;
942         just setting static-start-installed-name is now sufficient.
943         (extra-objs): Add static-start.o here.
944         (CFLAGS-initfini.s): Remove obsolete variable.
945         * sysdeps/mach/hurd/i386/Makeconfig: New file.
946         Define static-start-installed-name here.
948         * Makeconfig: Include existing $(full_config_sysdirs:=/Makeconfig).
949         * Make-dist (+sysdep-tsrcs): Look for Makeconfig files.
951         * Makerules ($(+sysdir_pfx)sysd-Makefile): Remove this target and
952         associated hair.  Instead, just use $(wildcard ...) in the include.
954         * configure.in (critic_missing, aux_missing): Collect in these vars
955         the names of the missing programs, and include them in the error msgs.
956         * configure: Regenerated.
958 2001-05-14  Andreas Jaeger  <aj@suse.de>
960         * sysdeps/i386/fpu/libm-test-ulps: Adjust for new tests.
962         * math/libm-test.inc (tanh_test): Add testcases for last tanh bug.
964 2001-05-14  Stephen L Moshier <moshier@mediaone.net>
966         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Fix sign test.
968 2001-05-11  Jakub Jelinek  <jakub@redhat.com>
970         * posix/regex.c (re_match_2_internal): Swap mbs_offset and csize
971         as well if swapping strings.
972         Make sure stop is not past end of second string.
973         * posix/bug-regex4.c: New test.
974         * posix/Makefile (tests): Add bug-regex4.
976 2001-05-10  Andreas Jaeger  <aj@suse.de>
978         * manual/install.texi (Linux): Clarify that Linux 2.2 is minimal
979         requirement.
981 2001-05-12  Andreas Jaeger  <aj@suse.de>
983         * sysdeps/ieee754/dbl-64/s_sin.c: Include "math_private.h" for
984         internal prototypes.
985         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
986         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
987         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
988         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
989         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
990         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
991         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
993         * math/math_private.h: Add prototypes for internal functions of
994         the IBM Accurate Mathematical Library.
996         * sysdeps/ieee754/dbl-64/s_atan.c: Include "math.h" for
997         prototypes.
998         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
1000         * sysdeps/ieee754/dbl-64/e_asin.c: Include "math_private.h" for
1001         internal prototypes.
1002         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
1003         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
1004         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
1005         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
1006         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
1007         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
1008         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
1009         * sysdeps/generic/e_rem_pio2l.c: Likewise.
1010         (__ieee754_rem_pio2l): Fix prototype.
1012         * math/math_private.h (__copysign): Add internal prototype.
1014 2001-05-11  Andreas Jaeger  <aj@suse.de>
1016         * sysdeps/unix/sysv/linux/configure.in: Move binutils check to...
1017         * sysdeps/unix/sysv/linux/mips/configure.in: ...here.  New file.
1019 2001-05-11  Andreas Jaeger  <aj@suse.de>
1021         * sysdeps/unix/sysv/linux/configure.in: Check binutils version on
1022         MIPS.
1024         * sysdeps/mips/rtld-ldscript.in: Removed unneeded binary output
1025         format directive.  Patch by Steven J. Hill <sjhill@cotw.com>.
1027 2001-05-11  Roland McGrath  <roland@frob.com>
1029         * sysdeps/mach/hurd/Makefile ($(link-rpcuserlibs)): Don't use
1030         $(build-module) here, since we don't need the full magilla.
1031         Just use $(build-module-helper) and append our special options.
1033 2001-05-09  Andreas Schwab  <schwab@suse.de>
1035         * sysdeps/unix/readdir.c: Make sure we don't modify errno when we
1036         reached EOF.
1038 2001-05-07  H.J. Lu  <hjl@gnu.org>
1040         * elf/ldconfig.c (dir_entry): Add ino and dev.
1041         (add_single_dir): Compare ino and dev to check if 2 directory
1042         paths are the same or not. Free entry->path for duplicates.
1043         (add_dir): Initialize ino and dev for entry.
1044         (search_dir): Handle symlink to directory.
1046 2001-05-07  Andreas Jaeger  <aj@suse.de>
1048         * sysdeps/i386/fpu/libm-test-ulps: Add ulps for new exp tests.
1050         * math/libm-test.inc (exp_test): Add some more tests.
1051         (pow_test): Run double only test also for long double.
1053         * math/test-ldouble.c (TEST_LDOUBLE): Define.
1054         * math/test-ildoubl.c (TEST_LDOUBLE): Likewise.
1056         * sysdeps/generic/bits/confname.h: Remove extra comma at end of
1057         enumeration.
1058         Closes PR libc/2240.
1060         * scripts/config.guess: Imported from gnu.org.
1061         * scripts/config.sub: Likewise.
1063 2001-05-05  Jakub Jelinek  <jakub@redhat.com>
1065         * include/features.h (__USE_EXTERN_INLINES): Don't define if
1066         __NO_INLINE__ is defined.
1067         * ctype/ctype.h (tolower, toupper): Change the guard condition to
1068         __USE_EXTERN_INLINES check only.
1069         * stdlib/stdlib.h (strtod, ...): Likewise.
1070         * wcsmbs/wchar.h (mbrlen): Likewise.
1071         * string/string.h: Only include bits/string.h and bits/string2.h
1072         if __NO_INLINE__ is not defined.
1074 2001-05-07  Andreas Jaeger  <aj@suse.de>
1076         * debug/Makefile ($(objpfx)xtrace): Substitute @SLIBDIR@ instead
1077         of @LIBDIR@.
1079 2001-05-04  H.J. Lu  <hjl@gnu.org>
1081         * malloc/Makefile ($(objpfx)memusage): Substitute @SLIBDIR@
1082         not @LIBDIR@.
1084 2001-05-06  Andreas Jaeger  <aj@suse.de>
1086         * sysdeps/i386/fpu/e_fmodl.c: New, rewrite of e_fmodl.S.
1087         * sysdeps/i386/fpu/e_fmodl.S: Removed.
1088         * sysdeps/i386/fpu/e_atan2l.c: New, rewrite of e_atan2l.S.
1089         * sysdeps/i386/fpu/e_atan2l.S: Removed.
1090         * sysdeps/i386/fpu/e_acosl.c: New, rewrite of e_acos.S.
1091         * sysdeps/i386/fpu/s_atanl.c: New, rewrite of e_atanl.S.
1092         * sysdeps/i386/fpu/e_sqrtl.c: New, rewrite of e_sqrt.S.
1093         * sysdeps/i386/fpu/e_acosl.S: Removed.
1094         * sysdeps/i386/fpu/s_atanl.S: Removed.
1095         * sysdeps/i386/fpu/e_sqrtl.S: Removed.
1097 2001-05-05  Mark Kettenis  <kettenis@gnu.org>
1099         * sysdeps/mach/hurd/bits/environments.h: Add comment from
1100         sysdeps/generic/bits/environments.h.  Define _POSIX_V6_* values.
1102 2001-04-30  Jakub Jelinek  <jakub@redhat.com>
1104         * posix/confstr.c (confstr) [_CS_V6_WIDTH_RESTRICTED_ENVS]: Move so
1105         that _CS_LFS_CFLAGS can fall through to the empty returned string
1106         case.  Add FALLTHROUGH comment.
1108 2001-04-29  Ralf Baechle  <ralf@gnu.org>
1110         * sysdeps/unix/sysv/linux/mips/bits/sem.h: Make structure
1111         definitions match the kernel definitions.
1112         * sysdeps/unix/sysv/linux/mips/bits/ipc.h: Likewise.
1113         * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
1115 2001-04-29  Ben Collins  <bcollins@debian.org>
1117         * sysdeps/sparc/sparc64/dl-machine.h: Fix multiline strings
1118         warnings.
1119         * sysdeps/sparc/sparc64/soft-fp/qp_add.c: Likewise.
1120         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
1121         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
1122         * sysdeps/sparc/sparc64/soft-fp/qp_div.c: Likewise.
1123         * sysdeps/sparc/sparc64/soft-fp/qp_dtoq.c: Likewise.
1124         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
1125         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
1126         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
1127         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
1128         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
1129         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
1130         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
1131         * sysdeps/sparc/sparc64/soft-fp/qp_qtod.c: Likewise.
1132         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
1133         * sysdeps/sparc/sparc64/soft-fp/qp_qtos.c: Likewise.
1134         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
1135         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
1136         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
1137         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
1138         * sysdeps/sparc/sparc64/soft-fp/qp_sqrt.c: Likewise.
1139         * sysdeps/sparc/sparc64/soft-fp/qp_stoq.c: Likewise.
1140         * sysdeps/sparc/sparc64/soft-fp/qp_sub.c: Likewise.
1141         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
1143 2001-04-29  Andreas Schwab  <schwab@suse.de>
1145         * sysdeps/unix/sysv/linux/kernel-features.h: Fix missing backslash
1146         in last change.
1148 2001-04-29  Andreas Jaeger  <aj@suse.de>
1150         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
1151         Define for Arm, PowerPC and SH if kernel is 2.4.4 or newer.
1153         * sysdeps/unix/sysv/linux/bits/socket.h (PF_WANPIPE): New, from
1154         Linux 2.4.4.
1155         (AF_WANPIPE): Likewise.
1156         (MSG_MORE): New.
1158         * sysdeps/unix/sysv/linux/alpha/bits/socket.h: Add same changes as
1159         for Linux generic version.
1160         * sysdeps/unix/sysv/linux/s390/s390-64/bits/socket.h: Likewise.
1161         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
1162         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
1163         * sysdeps/unix/sysv/linux/ia64/bits/socket.h: Likewise.
1165         * sysdeps/gnu/netinet/tcp.h (TCP_QUICKACK): New.
1167 2001-04-27  Ulrich Drepper  <drepper@redhat.com>
1169         * nis/nss-nis.h: Correct test for invalid error number.
1170         * nis/nss-nisplus.h: Likewise.
1172         * nis/Makefile (libnss_compat-rountines): Add nss-nisplus.
1174 2001-04-26  Ulrich Drepper  <drepper@redhat.com>
1176         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add getunwind.
1178         * string/strcoll.c: Fix two memory allocation problems.
1179         * string/Makefile (tests): Add bug-strcoll1.
1180         * string/bug-strcoll1.c: New file.
1182         * malloc/mcheck.c (mcheck): Call malloc once before setting the
1183         hooks to allow the internal check hooks to be set up if necessary.
1185         * nis/nss-nis.h: Move yperr2nss_tab definition into separate file
1186         and rename to __yperr2nss_tab.  Change YPERR_COUNT into variable
1187         __yperr2nss_count.
1188         * nis/nss-nis.c: New file.
1189         * nis/nss-nisplus.h: Move niserr2nss_tab definition into separate file
1190         and rename to __niserr2nss_tab.  Change NISERR_COUNT into variable
1191         __niserr2nss_count.
1192         * nis/nss-nisplus.c: New file.
1193         * nis/Makefile (libnss_compat-routines): Add nss-nis.
1194         (libnss_nis-routines): Likewise.
1195         (libnss_nisplus-routines): Add nss-nisplus.
1197         * nis/nss_nisplus/nisplus-alias.c: Remove unnecessary initializations.
1198         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
1199         * nis/nss_nisplus/nisplus-grp.c: Likewise.
1200         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
1201         * nis/nss_nisplus/nisplus-network.c: Likewise.
1202         * nis/nss_nisplus/nisplus-proto.c: Likewise.
1203         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
1204         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
1205         * nis/nss_nisplus/nisplus-service.c: Likewise.
1206         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
1207         * nis/nss_nis/nis-alias.c: Likewise.
1208         * nis/nss_nis/nis-ethers.c: Likewise.
1209         * nis/nss_nis/nis-grp.c: Likewise.
1210         * nis/nss_nis/nis-network.c: Likewise.
1211         * nis/nss_nis/nis-proto.c: Likewise.
1212         * nis/nss_nis/nis-pwd.c: Likewise.
1213         * nis/nss_nis/nis-spwd.c: Likewise.
1214         * nis/nss_compat/compat-grp.c: Likewise.
1215         * nis/nss_compat/compat-initgroups.c: Likewise.
1216         * nis/nss_compat/compat-pwd.c: Likewise.
1217         * nis/nss_compat/compat-spwd.c: Likewise.
1219         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Some more
1220         optimizations.  Patch by Jakub Jelinek <jakub@redhat.com>.
1222 2001-04-26  Andreas Jaeger  <aj@suse.de>
1224         * po/zh_TW.po: Update.
1225         Patch by Tung-Han Hsieh <thhsieh@tlug.sinica.edu.tw>.
1227 2001-04-25  Ulrich Drepper  <drepper@redhat.com>
1229         * malloc/malloc.c: Allow MALLOC_ALIGNMENT to be defined on the
1230         compiler command line.
1231         * sysdeps/hppa/Makefile: Add -DMALLOC_ALIGNMENT=16 to compiler
1232         command line for malloc.c.
1234 2001-04-25  Jakub Jelinek  <jakub@redhat.com>
1236         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/time.h: Move to...
1237         * sysdeps/unix/sysv/linux/sparc/bits/time.h: ...here.
1238         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/bits/time.h: Remove.
1239         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/socket.h: Move to...
1240         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: ...here.  Adjust
1241         struct msghdr for __WORDSIZE == 32.
1242         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/statvfs.h: Move to...
1243         * sysdeps/unix/sysv/linux/sparc/bits/statvfs.h: ...here. Adjust
1244         for __WORDSIZE == 32.
1245         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/siginfo.h: Remove.
1246         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/get_clockfreq.c: New
1247         file.
1248         * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S (__libc_siglongjmp):
1249         Rename from longjmp, make longjmp weak alias to it.
1251 2001-04-24  David S. Miller  <davem@redhat.com>
1253         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: New file.
1255 2001-04-25  Matthew Wilcox  <willy@ldl.fc.hp.com>
1257         * sysdeps/hppa/stackinfo.h: New file.
1258         * sysdeps/unix/sysv/linux/hppa/getdents64.c: New file.
1259         * sysdeps/unix/sysv/linux/hppa/mmap64.c: New file.
1260         * sysdeps/unix/sysv/linux/hppa/bits/resource.h: New file.
1261         * sysdeps/unix/sysv/linux/kernel-features.h: Add descriptions
1262         of PA kernel features.
1264 2001-04-25  Ulrich Drepper  <drepper@redhat.com>
1266         * locale/programs/localedef.c (main): Always set a file name for
1267         the initial locale.
1268         * locale/programs/locfile.c (locfile_read): filename is allowed to
1269         be NULL.
1271 2001-04-12  Paul Bame  <paul_bame@hp.com>
1273         * sysdeps/hppa/fpu/fclrexcpt.c: Clear the exception flags, not the
1274         enable flags.
1276 2001-04-24  Ulrich Drepper  <drepper@redhat.com>
1278         * sysdeps/generic/bits/environments.h (_POSIX_V6_LPBIG_OFFBIG,
1279         _XBS5_LPBIG_OFFBIG): Define to -1.
1280         Fix typos.
1282         * sysdeps/generic/bits/confname.h: Add _CS_V6_WIDTH_RESTRICTED_ENVS.
1283         * posix/confstr.c: Handle _CS_V6_WIDTH_RESTRICTED_ENVS.
1284         * posix/getconf.c: Handle _POSIX_V6_WIDTH_RESTRICTED_ENVS.
1285         * posix/tst-getconf.sh: Add _POSIX_V6_WIDTH_RESTRICTED_ENVS.
1287         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9b/Implies: New file.
1288         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9b/bits/time.h: Removed.
1290 2001-03-21  Alan Modra  <alan@one.net.au>
1292         * sysdeps/hppa/dl-machine.h (RTLD_START): Set up dp with DT_PLTGOT
1293         value from application so that constructors in non-PIC libs work.
1295 2000-12-13  Jes Sorensen  <jes@linuxcare.com>
1297         * sysdeps/hppa/dl-machine.h (RTLD_START): _dl_init now returns a
1298         function pointer, hence load the jump address and gp from the
1299         function pointer before jumping.
1301 2001-04-24  Andreas Jaeger  <aj@suse.de>
1303         * sysdeps/generic/send.c (__send): Return ssize_t.
1304         * sysdeps/mach/hurd/send.c (__send): Likewise.
1305         * sysdeps/mach/hurd/recv.c (recv): Likewise.
1306         * sysdeps/mach/hurd/sendto.c (sendto): Likewise.
1307         * sysdeps/generic/sendto.c (sendto): Likewise.
1308         * sysdeps/generic/recvmsg.c (recvmsg): Likewise.
1309         * sysdeps/mach/hurd/recvfrom.c (recvfrom): Likewise.
1310         * sysdeps/generic/recvfrom.c (recvfrom): Likewise.
1311         * sysdeps/generic/sendmsg.c (sendmsg): Likewise.
1313         * socket/sys/socket.h: send* and recv* return ssize_t.
1315         * include/sys/socket.h: send returns ssize_t.
1317         * sysdeps/i386/fpu_control.h: Fix comments.
1319 2001-04-24  Ulrich Drepper  <drepper@redhat.com>
1321         * sysdeps/ia64/Dist: Add hp-timing.c.
1322         * sysdeps/unix/sysv/linux/sparc/sparc64/Dist: Add ucontext_i.h.
1323         * posix/Makefile (distribute): Add tst-getconf.sh.
1324         * po/Makefile (distribute): Add $(BROKEN_LINGUAS:=.po).
1326 2001-04-23  Ulrich Drepper  <drepper@redhat.com>
1328         * sysdeps/ia64/Makefile [subdir=csu] (sysdep_routines): Add hp-timing.
1329         * sysdeps/ia64/Versions: Add _dl_cpuclock_offset for ld in 2.2.3.
1330         * sysdeps/ia64/hp-timing.c: New file.
1331         * sysdeps/ia64/hp-timing.h: New file.
1332         * sysdeps/unix/sysv/linux/ia64/bits/time.h: Add definitions for
1333         CLOCK_PROCESS_CPUTIME_ID and CLOCK_THREAD_CPUTIME_ID.
1335         * sysdeps/generic/clock_getcpuclockid.c: Make function generic, test
1336         using #ifdef whether the clock is available.
1337         * sysdeps/unix/i386/clock_getcpuclockid.c: Not needed anymore.
1339         * sysdeps/generic/dl-sysdep.c: Initialize _dl_cpuclock_offset to move
1340         it into data section.
1342         * sysdeps/unix/i386/i586/clock_getres.c: Removed.
1343         * sysdeps/unix/i386/i586/clock_gettime.c: Removed.
1344         * sysdeps/unix/i386/i586/clock_nanosleep.c: Removed.
1345         * sysdeps/unix/i386/i586/clock_settime.c: Removed.
1346         * sysdeps/unix/i386/i586/cpuclock-init.h: Removed.
1347         * sysdeps/generic/cpuclock-init.h: Removed.
1348         * sysdeps/unix/i386/i686/Implies: Removed.
1349         * sysdeps/unix/i386/i686/tempname.c: Removed.
1350         * sysdeps/i386/i686/Versions: New file.
1351         * sysdeps/unix/i386/i586/Versions: Removed.
1353         * sysdeps/posix/clock_getres.c: If HP_TIMING_AVAIL is nonzero handle
1354         CLOCK_PROCESS_CPUTIME_ID and CLOCK_THREAD_CPUTIME_ID.
1355         * sysdeps/unix/clock_gettime.c: Likewise.
1356         * sysdeps/unix/clock_nanosleep.c: Likewise.
1357         * sysdeps/unix/clock_settime.c: Likewise.
1358         * sysdeps/posix/tempname.c: Is HP_TIMING_AVAIL is nonzero define
1359         RANDOM_BITS use CPU clock.
1361         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/bits/time.h: New file.
1362         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9b/bits/time.h: New file.
1363         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/time.h: New file.
1364         * sysdeps/sparc/Versions: New file.
1366         * elf/dl-support.c: Don't use cpuclock-init.h definitions, use
1367         hp-timing.h definitions.
1368         * sysdeps/generic/dl-sysdep.c: Likewise.
1370         * include/libc-internal.h: Include hp-timing.h.  Use hp_timing_t in
1371         __get_clockfreq prototype.
1373         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
1374         Use hp_timing_t type.
1375         * sysdeps/generic/get_clockfreq.c (__get_clockfreq): Likewise.
1377         * sysdeps/unix/sysv/linux/ia64/get_clockfreq.c: New file.
1379         * sysdeps/posix/pathconf.c (__pathconf): For _PC_ASYNC_IO test
1380         whether named file is a regular file or a block device.
1381         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
1383 2001-04-23  Andreas Jaeger  <aj@suse.de>
1385         * nscd/nscd.h: Add noreturn attribute for start_threads.
1387 2001-04-22  Ulrich Drepper  <drepper@redhat.com>
1389         * posix/getconf.c: Fix names of XBS5 LFS test variables.
1390         Add missing configuration variables from XPG6.
1391         * posix/tst-getconf.c: New file.
1392         * posix/Makefile (generated): Add tst-getconf.out.
1393         (tests): Add ($objpfx)tst-getconf.out.
1394         Add rule to run tst-getconf.sh.
1395         * sysdeps/generic/bits/confname.h: Add missing _PC_ and _SC_ values
1396         from XPG6.
1397         * sysdeps/posix/fpathconf.c: Add handling of _PC_ALLOC_SIZE_MIN and
1398         _PC_SYMLINK_MAX.
1399         * sysdeps/posix/pathconf.c: Likewise.
1400         * sysdeps/posix/sysconf.c: Correct spelling of _SC_MULTI_PROCESS
1401         and _SC_SYMLOOP_MAX.
1403 2001-04-22  Philip Blundell  <philb@gnu.org>
1405         * sysdeps/arm/fpu/feenablxcpt.c: New file.
1406         * sysdeps/arm/fpu/fedisablxcpt.c: New file.
1407         * sysdeps/arm/fpu/fegetexcpt.c: New file.
1409 2001-04-22  Philip Blundell  <philb@gnu.org>
1411         * sysdeps/unix/sysv/linux/arm/sys/user.h (struct user_fpregs):
1412         Renamed from struct user_fp.
1413         (struct user_regs): New.
1414         (struct user): Use struct user_regs rather than struct pt_regs to
1415         avoid dependency on asm/ptrace.h.  Use struct user_fpregs in place
1416         of struct user_fp and struct user_fp_struct.
1417         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Include sys/procfs.h
1418         not sys/elf.h.
1420 2001-04-22  Philip Blundell  <philb@gnu.org>
1422         * sysdeps/unix/sysv/linux/arm/sys/elf.h: Move contents to
1423         sys/procfs.h, and tell the user to include that file instead.
1424         * sysdeps/unix/sysv/linux/arm/sys/procfs.h: Remove old cruft
1425         surrounded with #if 0.
1426         (elf_greg_t, ELF_NGREG, elf_gregset_t, elf_fpregset_t): Moved here
1427         from sys/elf.h.
1428         (prgregset_t, prfpregset_t): Define in terms of elf_gregset_t and
1429         elf_fpregset_t respectively.
1431 2001-04-22  Philip Blundell  <philb@gnu.org>
1433         * sysdeps/unix/sysv/linux/arm/register-dump.h: Also print the
1434         address that faulted.
1436 2001-04-21  Ulrich Drepper  <drepper@redhat.com>
1438         * sysdeps/generic/bits/confname.h: Add _SC_V6_* and _CS_POSIX_V6_*
1439         values.
1440         * sysdeps/generic/bits/environments.h: Define _POSIX_V6_* values.
1441         * posix/confstr.c: Handle _CS_POSIX_V6_* values.
1442         * posix/getconf.c: Handle _CS_POSIX_V6_* and _SC_V6_* values.
1443         * sysdeps/posix/sysconf.c: Handle _SC_V6_* values.
1445         * sysdeps/powerpc/fpu/libm-test-ulps: Add deltas for atan2f.
1446         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
1447         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
1448         * sysdeps/mips/fpu/libm-test-ulps: Likewise.
1450 2001-04-21  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
1452         * sysdeps/unix/sysv/linux/powerpc/mmap64.c: Correct check for invalid
1453         offset.
1455 2001-04-21  Ulrich Drepper  <drepper@redhat.com>
1457         * posix/getopt.h: Treat __cplusplus like __STDC__.
1459 2001-04-20  John S. Marvin  <jsm@fc.hp.com>
1461         * sysdeps/unix/sysv/linux/hppa/clone.S: Fix clone system call
1462         entry point stub.
1464 2001-04-20  Richard Hirst  <rhirst@linuxcare.com>
1466         * elf/elf.h: Corrected R_PARISC_DIR14R (should be 6, not 5),
1467         and added R_PARISC_DPREL21L and R_PARISC_DPREL14R for modutils.
1469         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Removed ptrace
1470         entry so the ptrace.c wrapper is used.
1472 2001-04-20  Alan Modra  <amodra@one.net.au>
1474         * sysdeps/hppa/dl-lookupcfg.h (_dl_function_address): Prototype.
1475         (DL_FUNCTION_ADDRESS): Define.
1476         (DL_DT_INIT_ADDRESS): Define.
1477         (DL_DT_FINI_ADDRESS): Define.
1478         * sysdeps/hppa/Versions: Add _dl_function_address.
1479         * sysdeps/hppa/dl-machine.h (ELF_MACHINE_START_ADDRESS): Define.
1480         * sysdeps/hppa/dl-symaddr.c (_dl_start_address): Rename to
1481         _dl_function_address.
1483 2001-04-21  Andreas Jaeger  <aj@suse.de>
1485         * rt/aio_misc.c (handle_fildes_io): Add noreturn attribute.
1486         * resolv/gai_misc.c (handle_requests): Likewise.
1487         * malloc/obstack.c (print_and_abort): Likewise.
1488         * malloc/mcheck.c (mabort): Likewise.
1490         * sysdeps/unix/i386/i586/clock_settime.c: Include
1491         "libc-internal.h" for __get_clockfreq declaration.
1493 2001-04-21  Ulrich Drepper  <drepper@redhat.com>
1495         * elf/dl-support.c: Include cpuclock-init.h.  Use CPUCLOCK_VARDEF and
1496         CPUCLOCK_INIT if defined.
1497         * sysdeps/generic/dl-sysdep.c: Likewise.
1498         * sysdeps/generic/cpuclock-init.h: New file.
1499         * sysdeps/unix/i386/i586/cpuclock-init.h: New file.
1500         * sysdeps/unix/i386/i586/Versions: New file.
1501         * sysdeps/unix/i386/i586/clock_settime.c: New file.
1502         * sysdeps/unix/i386/i586/clock_gettime.c: Handle thread CPU clock
1503         separately by calling __pthread_clock_gettime if this function is
1504         available.  Subtract offset from tsc value before computing time value.
1506 2001-04-20  Ulrich Drepper  <drepper@redhat.com>
1508         * iconv/iconv_prog.c (print_known_names): If printing goes not to
1509         a tty print in a more machine-friendly way.
1511         * sysdeps/ieee754/ldbl-128/e_asinl.c: New file.
1512         Contributed by Stephen L Moshier <moshier@mediaone.net>.
1514 2001-04-20  Andreas Jaeger  <aj@suse.de>
1516         * intl/Makefile (tests): Reorder conditions, tst-gettext needs msgfmt.
1518 2001-04-20  Andreas Schwab  <schwab@suse.de>
1520         * sysdeps/m68k/fpu/libm-test-ulps: Update.
1522 2001-04-19  Alan Modra  <amodra@one.net.au>
1524         * Makerules (libc_pic.os): Add $(LDFLAGS-c_pic.os).
1525         * sysdeps/hppa/Makefile (LDFLAGS-c_pic.os): Define.
1526         (CFLAGS-.os): Remove.
1528         * sysdeps/unix/sysv/linux/hppa/sysdep.h (CALL_MCOUNT): Update comment.
1530         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (NGREG, NFPREG,
1531         gregset): Correct for new kernel definitions.
1533 2001-04-19  Alan Modra  <alan@linuxcare.com.au>
1535         * sysdeps/hppa/elf/initfini.c: Change dlt reg save to r3 and
1536         generate unwind info by hand.
1538 2001-04-19  Ulrich Drepper  <drepper@redhat.com>
1540         * sysdeps/unix/sysv/linux/powerpc/mmap64.c (__mmap64): Optimize a bit.
1542         * configure.in: Correct regular expression for msgfmt.
1543         Patch by Bruno Haible <haible@ilog.fr>.
1545 2001-04-19  Andreas Jaeger  <aj@suse.de>
1547         * po/el.po: Add comment explaining what's broken.
1549         * po/Makefile (BROKEN_LINGUAS): New.
1550         (ALL_LINGUAS): Don't add broken languages.
1552 2001-04-19  Roland McGrath  <roland@frob.com>
1554         * sysdeps/mach/hurd/mlock.c: New file.
1555         * sysdeps/mach/hurd/munlock.c: New file.
1556         * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_MEMLOCK_RANGE): Define it.
1558         * misc/Makefile (routines): Add mlock munlock mlockall munlockall.
1559         * sysdeps/generic/mlock.c: New file.
1560         * sysdeps/generic/munlock.c: New file.
1561         * sysdeps/generic/mlockall.c: New file.
1562         * sysdeps/generic/munlockall.c: New file.
1563         * sysdeps/generic/bits/mman.h (MCL_CURRENT, MCL_FUTURE): New macros.
1564         * sysdeps/unix/sysv/linux/syscalls.list (mlock, munlock,
1565         mlockall, munlockall): Change caller field to - from EXTRA.
1566         Don't use __ names; not used (and not declared in include/sys/mman.h).
1568         * hurd/privports.c (__get_privileged_ports): Renamed with __.
1569         Use __ names for calls we make.
1570         (get_privileged_ports): Add alias.
1571         * hurd/hurd.h: Declare it with the __ name.
1572         * sysdeps/mach/hurd/reboot.c (reboot): Use __get_privileged_ports.
1573         * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
1574         * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
1576         * hurd/hurdsig.c (write_corefile): Check RLIMIT_CORE limit and do
1577         nothing if it's zero.
1579 2001-04-19  Matthew Wilcox  <willy@ldl.fc.hp.com>
1581         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL):
1582         Change to return a signed result for compatibility with other
1583         architectures, and correctness.
1585 2001-04-19  Ulrich Drepper  <drepper@redhat.com>
1587         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_32BITUIDS):
1588         HPPA always had them.  Patch by Matthew Wilcox <matthew@wil.cx>.
1590 2001-04-19  Andreas Jaeger  <aj@suse.de>
1592         * configure.in: Require gettext 0.10.36 or newer.
1594         * manual/install.texi (Tools for Compilation): Mention gettext 0.10.36.
1596         * po/zh_TW.po: Remove extraneous backslashes.
1598         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Remove unused
1599         variables b and n.
1601 2001-04-18  Jakub Jelinek  <jakub@redhat.com>
1603         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Update.
1604         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c: New file.
1605         * sysdeps/unix/sysv/linux/sparc/sparc64/swapcontext.c: New file.
1606         * sysdeps/unix/sysv/linux/sparc/sparc64/setcontext.S (__setcontext):
1607         Copy first word of uc_sigmask into __uc_sigmask.
1608         * sysdeps/unix/sysv/linux/sparc/sparc64/getcontext.S (__getcontext):
1609         Save uc_link around trap. Copy __uc_sigmask into first word of
1610         uc_sigmask, clear the rest. Make sure setcontext to the created
1611         context doesn't do this though.
1612         * sysdeps/unix/sysv/linux/sparc/sparc64/ucontext_i.h: New file.
1613         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (ucontext_t): Add
1614         uc_stack and uc_sigmask, rename old uc_sigmask to __uc_sigmask in the
1615         64bit version, make uc_sigmask __sigset_t in the 32bit version.
1617 2001-04-19  Andreas Jaeger  <aj@suse.de>
1619         * sysdeps/unix/sysv/linux/hppa/umount.c: Fix typos in last patch.
1621         * rt/Makefile (otherlibs): Added for static NSS.
1623         * glibcbug.in (BUGGLIBC): Send to new alias.
1625 2001-04-02  Andreas Schwab  <schwab@suse.de>
1627         * Makerules (build-module): Make sure exit codes get checked
1628         properly and remove unnecessary slashes.
1630 2001-04-17  Ulrich Drepper  <drepper@redhat.com>
1632         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
1633         Handle kernels which report only three digits after the decimal point.
1634         Reported by Van Okamura <van.okamura@oracle.com>.
1636         * sysdeps/alpha/fpu/libm-test-ulps: Adjust error values for atan2f.
1638 2001-04-17  David S. Miller  <davem@redhat.com>
1640         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Update for new atan2 tests.
1641         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
1643 2001-04-17  Jakub Jelinek  <jakub@redhat.com>
1645         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Make sure
1646         desired exceptions are raised for exceptional values.
1647         * math/libm-test.inc (acosh_test, atan_test, atan2_test, cacos_test,
1648         cacosh_test, casin_test, casinh_test, catan_test, catanh_test,
1649         clog_test, log_test, log1p_test, tan_test): Increase precision of
1650         expected values to satisfy ldbl-128.
1651         * sysdeps/alpha/fpu/libm-test-ulps: Adjust accordingly.
1652         * sysdeps/arm/libm-test-ulps: Likewise.
1653         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
1654         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
1655         * sysdeps/m68k/fpu/libm-test-ulps: Likewise.
1656         * sysdeps/mips/fpu/libm-test-ulps: Likewise.
1657         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
1658         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
1659         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
1660         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
1661         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
1663 2001-04-17  Andreas Jaeger  <aj@suse.de>
1665         * configure.in: Move test for critical programs up.
1667 2001-04-16  Stephen L Moshier  <moshier@mediaone.net>
1669         * sysdeps/ieee754/flt-32/e_asinf.c (pio2_hi, pio2_lo, pio4_hi):
1670         Correct the values. (pSx, qSx): Replace by shorter approximation.
1671         Use f suffix on float constants.
1673 2001-04-16  Ulrich Drepper  <drepper@redhat.com>
1675         * sysdeps/ieee754/ldbl-128/k_tanl.c: New file.
1676         Contributed by Stephen L Moshier <moshier@mediaone.net>.
1678         * string/string.h: Replace const in attribute list with __const__.
1680 2001-04-16  Roland McGrath  <roland@frob.com>
1682         * grp/initgroups.c (initgroups) [NGROUPS_MAX != 0]: Always use sysconf
1683         instead of the constant NGROUPS_MAX.  That way, the limit can be
1684         raised in the kernel configuration without having to recompile libc.
1686         * sysdeps/posix/euidaccess.c: Don't #include <limits.h> or try to
1687         define NGROUPS_MAX; we don't use it here.
1689 2001-04-16  Andreas Jaeger  <aj@suse.de>
1691         * math/libm-test.inc (atan2_test): Add more testcases.
1693         * iconv/gconv_db.c: Include gconv_charset.h for
1694         __gconv_lookup_alias prototype.
1696 2001-04-13  Ulrich Drepper  <drepper@redhat.com>
1698         * sysdeps/ieee754/ldbl-128/s_atanl.c: New file.
1699         Contributed by Stephen L Moshier <moshier@mediaone.net>.
1701 2001-04-13  Jes Sorensen  <jes@linuxcare.com>
1703         * intl/tst-codeset.c: Include string.h to get prototype for strcmp().
1705 2001-04-13  Jes Sorensen  <jes@linuxcare.com>
1707         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Add __pad0 to
1708         explicitly pad struct siginfo instead of relying on compiler padding.
1710 2001-04-12  Ulrich Drepper  <drepper@redhat.com>
1712         * sysdeps/ia64/Dist: Add elf/entry.h.
1714         * iconvdata/Makefile (distribute): Add TESTS2.
1716 2001-04-13  Jakub Jelinek  <jakub@redhat.com>
1718         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_load_address):
1719         Calculate load address differently.
1721 2001-04-12  Bruno Haible  <haible@clisp.cons.org>
1723         * iconvdata/TESTS2: New file.
1724         * iconvdata/run-iconv-test.sh: Also run tests from TESTS2.
1725         * iconvdata/testdata/alfabeta..UTF-8: New file.
1726         * iconvdata/testdata/alfabeta..UTF-16.BE: New file.
1727         * iconvdata/testdata/alfabeta..UTF-16.LE: New file.
1728         * iconvdata/testdata/alfabeta..UTF-32.BE: New file.
1729         * iconvdata/testdata/alfabeta..UTF-32.LE: New file.
1731 2001-04-11  Bruno Haible  <haible@clisp.cons.org>
1733         * iconvdata/utf-32.c: New file.
1734         * iconvdata/gconv-modules: Add entries for UTF-32, UTF-32LE, UTF-32BE.
1735         * iconvdata/Makefile (modules): Add UTF-32.
1736         (distribute): Add utf-32.c.
1738 2001-04-11  Bruno Haible  <haible@clisp.cons.org>
1740         * iconvdata/utf-16.c (PREPARE_LOOP): Initialize 'swap' after possibly
1741         changing it in the state. After incrementing 'inptr', store it back.
1742         * iconvdata/unicode.c (PREPARE_LOOP): After incrementing 'inptr',
1743         store it back.
1745 2001-04-11  Bruno Haible  <haible@clisp.cons.org>
1747         * iconvdata/utf-16.c (gconv_init): Use MAX_NEEDED_FROM, not
1748         MIN_NEEDED_FROM.
1750 2001-04-11  David Mosberger  <davidm@hpl.hp.com>
1752         * sysdeps/ia64/htonl.S: Drop superfluous "alloc".
1753         * sysdeps/ia64/htons.S: Likewise.
1755         * sysdeps/ia64/memset.S: Add unwind directives.
1756         * sysdeps/ia64/strncpy.S: Likewise.
1757         * sysdeps/ia64/strcat.S: Likewise.
1759         * sysdeps/ia64/memccpy.S: Add unwind directives.  Drop superfluous
1760         restore of ar.pfs.
1761         * sysdeps/ia64/strchr.S: Likewise.
1762         * sysdeps/ia64/memmove.S: Likewise.
1763         * sysdeps/ia64/memcpy.S: Likewise.
1764         * sysdeps/ia64/memcmp.S: Likewise.
1765         * sysdeps/ia64/memchr.S: Likewise.
1766         * sysdeps/ia64/strcmp.S: Likewise.
1767         * sysdeps/ia64/strlen.S: Likewise.
1768         * sysdeps/ia64/strcpy.S: Likewise.
1769         * sysdeps/ia64/strncmp.S: Likewise.
1771 2001-04-11  Jakub Jelinek  <jakub@redhat.com>
1773         * wcsmbs/wchar.h (fgetwc, getwc, getwchar, fputwc, putwc, putwchar,
1774         fgetws, fputws, ungetwc, getwc_unlocked, getwchar_unlocked,
1775         fgetwc_unlocked, fputwc_unlocked, putwc_unlocked, putwchar_unlocked,
1776         fgetws_unlocked, fputws_unlocked, wcsftime): Add __THROW.
1778 2001-04-11  Andreas Jaeger  <aj@suse.de>
1780         * sysdeps/mips/elf/start.S [__ASSEMBLY__]: Define it.
1782 2001-04-11  Andreas Schwab  <schwab@suse.de>
1784         * sysdeps/m68k/fpu/libm-test-ulps: Adjusted.
1786 2001-04-11  Ulrich Drepper  <drepper@redhat.com>
1788         * sysdeps/arm/stackinfo.h: New file.
1790 2001-04-08  Thorsten Kukuk  <kukuk@suse.de>
1792         * sunrpc/rpc_main.c: If we compile RPC thread safe, allow
1793         rpcgen to generate thread safe code.
1795 2001-04-10  Andreas Jaeger  <aj@suse.de>
1797         * math/test-fenv.c (initial_tests): Protect FE_TONEAREST declaration.
1799 2001-04-10  Ulrich Drepper  <drepper@redhat.com>
1801         * elf/dl-minimal.c (__assert_fail): Change error string.  It's
1802         most of the time no bug in ld.so.
1803         (__assert_perror_fail): Likewise.
1805 2001-04-11  Hans-Peter Nilsson  <hp@axis.com>
1807         * sysdeps/generic/bits/fenv.h (fexcept_t): Change default type
1808         from struct to unsigned int.
1810 2001-04-10  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
1812         * elf/elf.h (AT_DCACHEBSIZE, AT_ICACHEBSIZE, AT_UCACHEBSIZE,
1813         AT_IGNOREPPC): New defines.
1814         * sysdeps/generic/dl-sysdep.c (_dl_show_auxv): Print them.
1815         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_STD_AUXV):
1816         Define for newer powerpc kernels.
1817         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Use the standard
1818         DL_FIND_ARG_COMPONENTS if __ASSUME_STD_AUXV is defined.
1820 2000-4-10  kaz Kojima  <kkojima@rr.iij4u.or.jp>
1822         * sysdeps/sh/stackinfo.h: New file.
1824 2001-04-10  Ulrich Drepper  <drepper@redhat.com>
1826         * locale/tst-C-locale.c (run_test): Add tests for locale objects.
1827         * locale/newlocale.c (__newlocale): Correct setting __ctype_b,
1828         __ctype_tolower, and __ctype_toupper elements.
1830         * ctype/ctype_l.c: Fix definitions of __tolower_l and __toupper_l.
1831         Reported by Konstantin Osipov <rabid@spylog.ru>.
1833         * sysdeps/i386/fpu/libm-test-ulps: Add deltas for tgamma to help
1834         the lousy AMD FPU.
1836 2001-04-10  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
1838         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: New file.
1839         * sysdeps/unix/sysv/linux/powerpc/Dist: Add sys/ptrace.h.
1840         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Delete wrong stuff.
1841         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Correct typedefs.
1843 2001-04-10  Ulrich Drepper  <drepper@redhat.com>
1845         * elf/dl-deps.c (_dl_map_object_deps): Provide complete error
1846         message.  Based on a patch by HJ Lu.
1848 2001-04-10  Andreas Schwab  <schwab@suse.de>
1850         * math/libm-test.inc (csinh_test): Don't require the invalid
1851         exception for csinh (x + iNaN), but make it optional.
1853 2001-04-09  David Mosberger  <davidm@hpl.hp.com>
1855         * sysdeps/ia64/elf/start.S (_start): Add unwind directives.
1857         * sysdeps/generic/entry.h [!__ASSEMBLY__]: Declare _start.
1858         * sysdeps/ia64/elf/entry.h: New file.
1859         * sysdeps/unix/sysv/linux/mips/entry.h [!__ASSEMBLY__]: Declare
1860         __start.
1861         * elf/rtld.c: Don't declare ENTRY_POINT.  Use ENTRY_POINT instead
1862         of &ENTRY_POINT.
1863         * sysdeps/generic/dl-sysdep.c: Likewise.
1864         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
1865         * sysdeps/ia64/elf/start.S: Save base address of register backing
1866         store in __libc_ia64_register_backing_store_base.
1868 2001-04-10  Martin Schwidefsky  <schwidefsky@de.ibm.com>
1870         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Fix return
1871         value of getcontext.
1872         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
1873         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Fix return
1874         value of setcontext.
1875         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
1876         * sysdeps/unix/sysv/linux/s390/swapcontext.c: Skip setcontext
1877         call by changing the saved context.
1879 2001-04-10  Ulrich Drepper  <drepper@redhat.com>
1881         * sysdeps/alpha/stackinfo.h: New file.
1882         * sysdeps/ia64/stackinfo.h: New file.
1884 2001-04-10  Andreas Schwab  <schwab@suse.de>
1886         * sysdeps/m68k/fpu/e_pow.c: Correct handling of some exceptional
1887         values.
1888         * sysdeps/m68k/fpu/e_scalb.c: Likewise.
1890 2001-04-09  Ulrich Drepper  <drepper@redhat.com>
1892         * sysdeps/sparc/sparc32/sparcv9/Dist: Add hp-timing.c.
1893         * sysdeps/sparc/sparc64/Dist: Add hp-timing.c.
1895         * libio/Makefile (distribute): Add fd_to_filename.h.
1897 2001-04-05  David S. Miller  <davem@redhat.com>
1899         Add hp-timing support for sparcv9/sparc64 targets.
1900         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: New file
1901         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: New file
1902         * sysdeps/sparc/sparc64/hp-timing.c: New file
1903         * sysdeps/sparc/sparc64/hp-timing.h: New file
1904         * sysdeps/sparc/sparc32/sparcv9/Makefile: Build hp-timing.
1905         * sysdeps/sparc/sparc64/Makefile: Likewise.
1907 2001-04-09  Jakub Jelinek  <jakub@redhat.com>
1909         * sysdeps/generic/fd_to_filename.h: New file.
1910         * sysdeps/unix/sysv/linux/fd_to_filename.h: New file.
1911         * libio/freopen.c (freopen): If FILENAME is NULL, try to get
1912         filename from the open file descriptor.
1913         * libio/freopen64.c (freopen64): Likewise.
1915 2001-04-09  Bruno Haible  <haible@clisp.cons.org>
1917         * misc/error.c (error): fflush stdout also if
1918         error_print_progname != NULL.
1919         (error_at_line): Likewise.
1921 2001-04-07  Bruno Haible  <haible@clisp.cons.org>
1923         * intl/gettextP.h (struct loaded_domain): Add codeset_cntr field.
1924         (struct binding): Add codeset_cntr field.
1925         (_nl_load_domain): Add domainbinding argument.
1926         (_nl_init_domain_conv, _nl_free_domain_conv): New declarations.
1927         (_nl_find_msg): New declaration, moved here from loadinfo.h.
1928         * intl/loadinfo.h (struct loaded_l10nfile): Remove domainbinding field.
1929         (_nl_make_l10nflist): Remove domainbinding argument.
1930         (_nl_find_msg): Move declaration to gettextP.h.
1931         * intl/bindtextdom.c (set_binding_values): Initialize ->codeset_cntr
1932         to 0.  Increment it when ->codeset is changed.
1933         * intl/dcigettext.c (DCIGETTEXT): Pass binding to _nl_find_msg.
1934         (_nl_find_msg): Add domainbinding argument.  Reinitialize the converter
1935         if domainbinding->codeset_cntr has been incremented.
1936         * intl/finddomain.c (_nl_find_domain): Don't pass domainbinding to
1937         _nl_make_l10nflist().  Pass it to _nl_load_domain() instead.
1938         * intl/l10nflist.c (_nl_make_l10nflist): Remove domainbinding argument.
1939         * intl/loadmsgcat.c (_nl_init_domain_conv): New function, extracted
1940          from _nl_load_domain.  Append //TRANSLIT also when using libiconv.
1941         (_nl_free_domain_conv): New function, extracted from _nl_unload_domain.
1942         (_nl_load_domain): Add domainbinding argument.  Call
1943         _nl_init_domain_conv.
1944         (_nl_unload_domain): Call _nl_free_domain_conv.
1945         * intl/Makefile (distribute): Add tst-codeset.sh, tstcodeset.po.
1946         (test-srcs): Add tst-codeset.
1947         (tests): Depend on tst-codeset.out.
1948         (tst-codeset.out): New rule.
1949         (CFLAGS-tst-codeset.c): New variable.
1950         * intl/tst-codeset.sh: New file.
1951         * intl/tstcodeset.po: New file.
1952         * intl/tst-codeset.c: New file.
1953         * locale/findlocale.c (_nl_find_locale): Update _nl_make_l10nflist
1954         calls.
1956 2001-04-07  Roland McGrath  <roland@frob.com>
1958         * mach/msgserver.c (__mach_msg_server_timeout): Add an assert.
1960 2001-03-31  Roland McGrath  <roland@frob.com>
1962         * sysdeps/mach/hurd/fork.c: Skip NEWPROC just like NEWTASK when
1963         copying send rights into child.  When we hit our name for our proc
1964         port, just copy NEWPROC directly instead of repeating proc_task2proc
1965         to install the child's port.
1967 2001-04-08  Roland McGrath  <roland@frob.com>
1969         * Makeconfig ($(common-objpfx)soversions.i): Grok entries with DEFAULT
1970         in second column, to provide default values for third column.
1971         * shlib-versions: Add comments about using DEFAULT in second column.
1972         (s390x-.*-linux.*): Replace individual entries with a DEFAULT entry.
1973         (cris-.*-linux.*): Likewise.
1975 2001-04-09  Ulrich Drepper  <drepper@redhat.com>
1977         * Makefile (distribute): Add scripts/documented.sh.
1978         * scripts/documented.sh: New file.
1980 2001-04-08  Hans-Peter Nilsson  <hp@axis.com>
1982         * sysdeps/unix/sysv/linux/cris/Dist: New file.
1983         * sysdeps/unix/sysv/linux/cris/Makefile: New file.
1984         * sysdeps/unix/sysv/linux/cris/_G_config.h: New file.
1985         * sysdeps/unix/sysv/linux/cris/bits/fcntl.h: New file.
1986         * sysdeps/unix/sysv/linux/cris/bits/mman.h: New file.
1987         * sysdeps/unix/sysv/linux/cris/bits/resource.h: New file.
1988         * sysdeps/unix/sysv/linux/cris/brk.c: New file.
1989         * sysdeps/unix/sysv/linux/cris/chown.c: New file.
1990         * sysdeps/unix/sysv/linux/cris/clone.S: New file.
1991         * sysdeps/unix/sysv/linux/cris/fchown.c: New file.
1992         * sysdeps/unix/sysv/linux/cris/fcntl.c: New file.
1993         * sysdeps/unix/sysv/linux/cris/fxstat.c: New file.
1994         * sysdeps/unix/sysv/linux/cris/getegid.c: New file.
1995         * sysdeps/unix/sysv/linux/cris/geteuid.c: New file.
1996         * sysdeps/unix/sysv/linux/cris/getgid.c: New file.
1997         * sysdeps/unix/sysv/linux/cris/getgroups.c: New file.
1998         * sysdeps/unix/sysv/linux/cris/getresgid.c: New file.
1999         * sysdeps/unix/sysv/linux/cris/getresuid.c: New file.
2000         * sysdeps/unix/sysv/linux/cris/getrlimit.c: New file.
2001         * sysdeps/unix/sysv/linux/cris/getrlimit64.c: New file.
2002         * sysdeps/unix/sysv/linux/cris/getuid.c: New file.
2003         * sysdeps/unix/sysv/linux/cris/lchown.c: New file.
2004         * sysdeps/unix/sysv/linux/cris/lockf64.c: New file.
2005         * sysdeps/unix/sysv/linux/cris/lxstat.c: New file.
2006         * sysdeps/unix/sysv/linux/cris/mmap.S: New file.
2007         * sysdeps/unix/sysv/linux/cris/mmap64.S: New file.
2008         * sysdeps/unix/sysv/linux/cris/msgctl.c: New file.
2009         * sysdeps/unix/sysv/linux/cris/profil-counter.h: New file.
2010         * sysdeps/unix/sysv/linux/cris/register-dump.h: New file.
2011         * sysdeps/unix/sysv/linux/cris/semctl.c: New file.
2012         * sysdeps/unix/sysv/linux/cris/setegid.c: New file.
2013         * sysdeps/unix/sysv/linux/cris/seteuid.c: New file.
2014         * sysdeps/unix/sysv/linux/cris/setfsgid.c: New file.
2015         * sysdeps/unix/sysv/linux/cris/setfsuid.c: New file.
2016         * sysdeps/unix/sysv/linux/cris/setgid.c: New file.
2017         * sysdeps/unix/sysv/linux/cris/setgroups.c: New file.
2018         * sysdeps/unix/sysv/linux/cris/setregid.c: New file.
2019         * sysdeps/unix/sysv/linux/cris/setresgid.c: New file.
2020         * sysdeps/unix/sysv/linux/cris/setresuid.c: New file.
2021         * sysdeps/unix/sysv/linux/cris/setreuid.c: New file.
2022         * sysdeps/unix/sysv/linux/cris/setrlimit.c: New file.
2023         * sysdeps/unix/sysv/linux/cris/setuid.c: New file.
2024         * sysdeps/unix/sysv/linux/cris/shmctl.c: New file.
2025         * sysdeps/unix/sysv/linux/cris/socket.S: New file.
2026         * sysdeps/unix/sysv/linux/cris/sys/ucontext.h: New file.
2027         * sysdeps/unix/sysv/linux/cris/syscall.S: New file.
2028         * sysdeps/unix/sysv/linux/cris/sysdep.S: New file.
2029         * sysdeps/unix/sysv/linux/cris/sysdep.h: New file.
2030         * sysdeps/unix/sysv/linux/cris/vfork.S: New file.
2031         * sysdeps/unix/sysv/linux/cris/xstat.c: New file.
2033 2001-04-08  Hans-Peter Nilsson  <hp@axis.com>
2035         * sysdeps/cris/Dist: New file.
2036         * sysdeps/cris/Implies: New file.
2037         * sysdeps/cris/Makefile: New file.
2038         * sysdeps/cris/__longjmp.S: New file.
2039         * sysdeps/cris/_mcount.S: New file.
2040         * sysdeps/cris/bits/endian.h: New file.
2041         * sysdeps/cris/bits/setjmp.h: New file.
2042         * sysdeps/cris/bits/string.h: New file.
2043         * sysdeps/cris/dl-machine.h: New file.
2044         * sysdeps/cris/elf/start.S: New file.
2045         * sysdeps/cris/machine-gmon.h: New file.
2046         * sysdeps/cris/memcopy.h: New file.
2047         * sysdeps/cris/memusage.h: New file.
2048         * sysdeps/cris/setjmp.S: New file.
2049         * sysdeps/cris/sysdep.h: New file.
2050         * sysdeps/cris/wordcopy.c: New file.
2052 2001-04-08  Hans-Peter Nilsson  <hp@axis.com>
2054         * elf/elf.h: Add new relocations for CRIS.
2056 2001-04-08  Hans-Peter Nilsson  <hp@axis.com>
2058         * shlib-versions: Add cases for Linux on CRIS.
2060 2001-04-08  Hans-Peter Nilsson  <hp@axis.com>
2062         * configure.in (ASM_LINE_SEP tests): Handle CRIS assembly, with
2063         ';' for comments and '@' for line separator.
2065 2001-04-08  Hans-Peter Nilsson  <hp@axis.com>
2067         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Fix
2068         typo; s/==/=/ for assignment.
2070 2001-04-08  Hans-Peter Nilsson  <hp@axis.com>
2072         * malloc/Makefile: Correct comment; mtrace is Perl, not AWK.
2074 2001-04-08  Hans-Peter Nilsson  <hp@axis.com>
2076         * iconv/gconv_simple.c (internal_ucs4_loop_unaligned): Check for
2077         empty input before checking full output.
2079 2001-04-08  Hans-Peter Nilsson  <hp@axis.com>
2081         * iconv/gconv.c (__gconv): Don't derefer parameter cd before
2082         checking if == -1L.
2084 2001-04-08  Ulrich Drepper  <drepper@redhat.com>
2086         * inet/rexec.c (rexec_af): Avoid calling perror with errno being set.
2088 2001-04-07  Stephen L Moshier  <moshier@mediaone.net>
2090         * sysdeps/ieee754/ldbl-128/e_logl.c: Correct infinity and NaN
2091         return values.
2093 2001-04-07  Ulrich Drepper  <drepper@redhat.com>
2095         * stdlib/tst-setcontext.c (main): Add a test for setcontext.
2097         * sysdeps/unix/sysv/linux/i386/getcontext.S: New file.
2098         * sysdeps/unix/sysv/linux/i386/setcontext.S: New file.
2099         * sysdeps/unix/sysv/linux/i386/makecontext.S: New file.
2100         * sysdeps/unix/sysv/linux/i386/swapcontext.S: New file.
2101         * sysdeps/unix/sysv/linux/i386/ucontext_i.h: New file.
2102         * sysdeps/unix/sysv/linux/i386/Dist: Add ucontext_i.h.
2104 2001-04-07  Andreas Jaeger  <aj@suse.de>
2106         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Use sincos
2107         instead of separate sin and cos.
2108         (__ieee754_j1l): Likewise.
2110 2001-04-06  Ulrich Drepper  <drepper@redhat.com>
2112         * sysdeps/ia64/abort-instr.h: New file.  Code by David Mosberger.
2114         * sysdeps/ia64/atomicity.h: New file.  Copied from libstdc++.
2116         * sysdeps/i386/i486/atomicity.h: Clean up the asms.
2118         * sysdeps/generic/e_scalb.c: Don't use FE_INVALID unless it's
2119         available.
2120         * sysdeps/generic/e_scalbf.c: Likewise.
2121         * sysdeps/generic/e_scalbl.c: Likewise.
2122         Patch by Mark Hatle <fray@mvista.com>.
2124 2001-04-05  David S. Miller  <davem@redhat.com>
2126         * sysdeps/sparc/abort-instr.h: New file.
2128 2001-04-05  Matt Wilson  <msw@redhat.com>
2130         * sysdeps/unix/sysv/linux/alpha/getsysstats.c (GET_NPROCS_PARSER):
2131         added code to parse new 2.4 format.
2132         (GET_NPROCS_CONF_PARSER): Likewise.
2134 2001-04-05  David S. Miller  <davem@redhat.com>
2136         * scripts/config.sub: Recognize sparcv9b like sparcv9.
2137         * configure.in: Add sparcv9b.
2138         * sysdeps/sparc/sparc32/sparcv9b/Implies: New file
2139         * sysdeps/sparc/sparc32/sparcv9b/memcpy.S: New file
2140         * sysdeps/sparc/sparc64/sparcv9b/memcpy.S: New file
2142 2001-04-06  David Mosberger  <davidm@hpl.hp.com>
2144         * stdlib/tst-setcontext.c: Move st2[] to global scope.
2145         (f2): Verify that stack pointer is inside st2[].
2147         * sysdeps/unix/sysv/linux/ia64/getcontext.S: It helps to save r12.
2148         * sysdeps/unix/sysv/linux/ia64/setcontext.S: It helps to restore r12.
2150 2001-04-06  Ulrich Drepper  <drepper@redhat.com>
2152         * timezone/antarctica: Update from tzdata2001b.
2153         * timezone/asia: Likewise.
2154         * timezone/australasia: Likewise.
2155         * timezone/europe: Likewise.
2156         * timezone/northamerica: Likewise.
2158         * iconv/iconv_open.c: Move strip and upstr definitions...
2159         * iconv/gconv_charset.h: ...here.  New file.
2160         * iconv/gconv_db.c (once): Move to file level.
2161         (do_lookup_alias): Split out from __gconv_find_transform.
2162         (__gconv_find_transform): Call do_lookup_alias.
2163         (__gconv_loopup_alias): New function.
2164         * locale/langinfo.h: Define _NL_*_CODESET values for all categories
2165         but LC_CTYPE.
2166         * locale/categories.def: Add entries for new _NL_*_CODESET values.
2167         * locale/C-ctype.c: Use _nl_C_codeset to initialize CODESET entry.
2168         * locale/C-address.c: Initialize _NL_*_CODESET element.
2169         * locale/C-collate.c: Likewise.
2170         * locale/C-identification.c: Likewise.
2171         * locale/C-measurement.c: Likewise.
2172         * locale/C-messages.c: Likewise.
2173         * locale/C-monetary.c: Likewise.
2174         * locale/C-name.c: Likewise.
2175         * locale/C-numeric.c: Likewise.
2176         * locale/C-paper.c: Likewise.
2177         * locale/C-telephone.c: Likewise.
2178         * locale/C-time.c: Likewise.
2179         * locale/localeinfo.h: Declare _nl_C_codeset.
2180         * locale/C_name.c: Define _nl_C_codeset.
2181         * locale/findlocale.c: Before accepting locale check that the used
2182         charset does not conflict with what the locale name said.
2183         * locale/programs/ld-address.c: Emit codeset information.
2184         * locale/programs/ld-collate.c: Likewise.
2185         * locale/programs/ld-identification.c: Likewise.
2186         * locale/programs/ld-measurement.c: Likewise.
2187         * locale/programs/ld-messages.c: Likewise.
2188         * locale/programs/ld-monetary.c: Likewise.
2189         * locale/programs/ld-name.c: Likewise.
2190         * locale/programs/ld-numeric.c: Likewise.
2191         * locale/programs/ld-paper.c: Likewise.
2192         * locale/programs/ld-telephone.c: Likewise.
2193         * locale/programs/ld-time.c: Likewise.
2195         * localedata/tests-mbwc/tst_funcs.h (TST_HEAD_LOCALE): It is an error
2196         if the locale data couldn't be found.
2198         * string/Makefile: Define tst-strxfrm-ENV.
2200         * ysdeps/unix/sysv/linux/ia64/getcontext.S: Fix comment.
2202 2001-04-06  Andreas Jaeger  <aj@suse.de>
2204         * include/sys/profil.h: New file.
2206         * dlfcn/modatexit.c: Add prototypes to silence GCC.
2207         * dlfcn/modcxaatexit.c: Likewise.
2208         * elf/globalmod1.c: Likewise.
2210 2001-04-05  David S. Miller  <davem@redhat.com>
2212         * elf/elf.h (HWCAP_SPARC_ULTRA3): Define it.
2213         * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h: Add it to
2214         capability flags table and HWCAP_IMPORTANT, increase
2215         _DL_HWCAP_COUNT to 6.
2216         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h: Likewise.
2218 2001-04-04  David Mosberger  <davidm@hpl.hp.com>
2220         * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext): Fix
2221         initialization of stack_end (bug reported by Zheng Gengbin
2222         <gzheng@students.uiuc.edu>).
2224 2001-04-05  Ulrich Drepper  <drepper@redhat.com>
2226         * sysdeps/i386/fpu/libm-test-ulps: Relax errors for asinl.
2228 2001-04-05  Martin Schwidefsky  <schwidefsky@de.ibm.com>
2230         * sysdeps/unix/sysv/linux/s390/s390-64/bits/socket.h: New file.
2232 2001-04-05  Ulrich Drepper  <drepper@redhat.com>
2234         * sysdeps/ieee754/ldbl-96/e_asinl.c: Correct handling of +-Inf.
2235         * sysdeps/i386/fpu/e_asinl.S: Removed.  Too inaccurate.
2237         * login/tst-utmp.c: Make file usable again in tst-utmpx.c.
2239 2001-04-04  Ulrich Drepper  <drepper@redhat.com>
2241         * sysdeps/unix/sysv/aix/dl-libc.c: Don't use the ELF version,
2242         define simple replacements here.  Patch by Michael Keezer.
2244         * sysdeps/ieee754/ldbl-128/e_logl.c: New file.
2245         * sysdeps/ieee754/ldbl-96/e_asinl.c: New file.
2246         Contributed by Stephen L Moshier <moshier@mediaone.net>.
2248         * posix/fnmatch_loop.c: Undefine NEW_PATTERN when it is not used
2249         anymore.
2251 2001-04-01  Andreas Jaeger  <aj@suse.de>
2253         * sysdeps/generic/s_nextafter.c (NO_LONG_DOUBLE): Add nexttowardl
2254         alias.
2256         * sysdeps/generic/s_fma.c (NO_LONG_DOUBLE): Add fmal alias.
2258 2001-04-04  Ulrich Drepper  <drepper@redhat.com>
2260         * sysdeps/unix/sysv/linux/s390/s390-64/Dist: Add ucontext_i.h.
2261         * sysdeps/unix/sysv/linux/s390/s390-32/Dist: Likewise.
2263 2001-04-04  Martin Schwidefsky  <schwidefsky@de.ibm.com>
2265         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: New file.
2266         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: New file.
2267         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: New file.
2268         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.h: New file.
2269         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: New file.
2270         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: New file.
2271         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: New file.
2272         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.h: New file.
2273         * sysdeps/unix/sysv/linux/s390/swapcontext.c: New file.
2275 2001-04-04  Andreas Jaeger  <aj@suse.de>
2277         * sysdeps/powerpc/dl-machine.h (ELF_MACHINE_NO_REL): Move to right
2278         place.
2280 2001-04-04  Ulrich Drepper  <drepper@redhat.com>
2282         * sunrpc/rpc_scan.c (symbols): Add entry for HYPER.
2283         * sunrpc/rpc_scan.h (enum tok_kind): Add TOK_HYPER.
2284         * sunrpc/rpc_parse.c (get_type): Handle TOK_HYPER.
2285         (unsigned_dec): Likewise.
2286         Patch by atai@jezebel.dreamhost.com.
2288         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r): Pass
2289         pointer to int as last parameter of yp_match.
2290         Patch by kanazawa@flab.fujitsu.co.jp.
2292 2001-04-03  Ulrich Drepper  <drepper@redhat.com>
2294         * resolv/netdb.h (gai_strerror): Make return value const.
2295         * sysdeps/generic/gai_strerror.c (gai_strerror): Likewise.
2296         * sysdeps/posix/gai_strerror.c (gai_strerror): Likewise.
2297         Add strings for new error values.
2299 2001-03-29  Michael Keezer  <mkeezer@redhat.com>
2301         * posix/tst-gnuglob.c: Added ifdef _DIRENT_HAVE_D_TYPE.
2302         * login/tst-utmp.c: Handle case where ut_tv is not available but
2303         ut_time is.
2304         * sysdeps/unix/sysv/aix/utmpx.h: New file.
2305         * sysdeps/unix/sysv/aix/bits/utmpx.h: Added
2306         _HAVE_UT_TYPE/PID/ID/TV/HOST defines.
2307         * sysdeps/unix/sysv/aix/libc-start.c: Removed temp code and made stub.
2308         * sysdeps/unix/sysv/aix/gettimeofday.c: New file added routines
2309         to access RTCU timer reg.
2310         * sysdeps/unix/sysv/aix/Makefile: Remove /usr/lib/crt0.o
2311         added dl-libc, dl-open,dl-sym, dl-close to misc.
2312         * sysdeps/unix/sysv/aix/start.c: New file.  Start code.
2313         * sysdeps/unix/sysv/aix/dlldr.h: New file.  AIX __loadx defines.
2314         * sysdeps/unix/sysv/aix/dl-close.c: New file.  AIX dl-close.
2315         * sysdeps/unix/sysv/aix/dl-open.c: New file.  AIX dl-open.
2316         * sysdeps/unix/sysv/aix/dl-sym.c: New file.  AIX dl-sym.
2317         * sysdeps/unix/sysv/aix/dl-libc.c: New file.  libc_dl-xxx support.
2318         * sysdeps/generic/strtoll.c: Added SHLIB_COMPAT(libc,GLIBC_2_0,
2319         GLIBC_2_2).
2320         * sysdeps/generic/strtoull.c: Likewise.
2321         * sysdeps/powerpc/ppc-mcount.S: Added nop after bl instruction.
2322         * sysdeps/unix/sysv/aix/powerpc/memset.c: New file to include
2323         sysdeps/generic/memset.c.
2324         * sysdeps/unix/sysv/aix/getpeername.c: Define __getpeername.
2326 2001-04-03  Ulrich Drepper  <drepper@redhat.com>
2328         * iconv/Makefile (CFLAGS-charmap.c): Add -DNEED_NULL_POINTER.
2329         * locale/programs/charmap.c: Define null_pointer if
2330         NEED_NULL_POINTER is defined.
2332         * misc/dirname.c (dirname): Handle multiple slashes correctly.
2334 2001-04-03  Martin Schwidefsky  <schwidefsky@de.ibm.com>
2336         * sysdeps/s390/s390-64/initfini.c: Fix __gmon_start__ GOT access.
2338 2001-04-03  Martin Schwidefsky  <schwidefsky@de.ibm.com>
2340         * sysdeps/s390/s390-32/bcopy.S: Optimize for speed.
2341         * sysdeps/s390/s390-64/bcopy.S: Likewise.
2342         * sysdeps/s390/s390-32/mempcy.S: Likewise.
2343         * sysdeps/s390/s390-64/memcpy.S: Likewise.
2345 2001-04-02  Bruno Haible  <haible@clisp.cons.org>
2347         * manual/message.texi (Advanced gettext functions): More specific
2348         syntax in the plural formula examples.
2350 2001-04-02  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
2352         * sysdeps/powerpc/atomicity.h: Silence warnings.
2353         * sysdeps/powerpc/dl-machine.h: Likewise.
2354         * sysdeps/powerpc/register-dump.h: Likewise.
2355         * sysdeps/powerpc/fpu/s_lrint.c: Likewise.
2357 2001-04-02  Andreas Jaeger  <aj@suse.de>
2359         * misc/tst-dirname.c (main): Add more tests, derived from a bug
2360         report by Michael Kerrisk <mtk16@ext.canterbury.ac.nz>.
2362 2001-04-01  Andreas Jaeger  <aj@suse.de>
2364         * debug/xtrace.sh (pcprofileso): Use SLIBDIR since libpcprofile.so
2365         is installed there.
2366         * malloc/memusage.sh (memusageso): Likewise for libmemusage.so.
2368 2001-04-01  H.J. Lu  <hjl@gnu.org>
2370         * posix/annexc.c (macrofile): Renamed from TMPFILE and set to
2371         tmpnam (NULL).
2372         * stdlib/isomac.c (macrofile): Likewise.
2374 2001-03-30  Thorsten Kukuk  <kukuk@suse.de>
2376         * inet/rcmd.c: Allow AF_UNSPEC as parameter.
2377         * nis/ypclnt.c (yp_all): Print error message only at last try,
2378         check for protocoll error only if we don't have a network error.
2380 2001-04-02  Andreas Schwab  <schwab@suse.de>
2382         * resolv/res_data.c (res_isourserver): Fix cast.
2384 2001-04-02  Andreas Jaeger  <aj@suse.de>
2386         * sysdeps/unix/sysv/linux/hppa/umount.c: Add prototype for
2387         __umount2.
2389         * sysdeps/i386/dl-machine.h (RTLD_START): Don't use multi-line
2390         strings.
2391         (ELF_MACHINE_RUNTIME_TRAMPOLINE): Likewise.
2393         * sysdeps/ieee754/dbl-64/uroot.h: Add missing braces arount
2394         initializers.
2395         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Likewise.
2397         * elf/rtld.c (print_statistics)[!HP_TIMING_NONAVAIL]: Avoid
2398         warning about unused variable.
2400         * string/string.h (strndupa): Add cast for C++ conformance.
2401         (strdupa): Likewise.
2402         Fixes PR libc/2173, reported by tbrowder@home.com.
2404 2001-03-30  Roland McGrath  <roland@frob.com>
2406         * sysdeps/mach/hurd/Makefile ($(link-rpcuserlibs)): Don't append
2407         options after $(build-module), which is no longer a single command.
2408         (LDFLAGS-link-rpcuserlibs): New variable to hold those options.
2409         (LDFLAGS-libmachuser-link.so, LDFLAGS-libhurduser-link.so): New
2410         variables using it.  Reported by Mark Kettenis <kettenis@gnu.org>.
2412 2001-03-11  Roland McGrath  <roland@frob.com>
2414         * elf/rtld.c (dl_main): Add cast to quiet warning.
2415         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
2416         * iconv/gconv_conf.c (__gconv_get_path): Likewise.
2417         (__gconv_read_conf): Likewise.
2418         * iconv/gconv_db.c (gen_steps): Likewise.
2419         (__gconv_find_transform): Likewise.
2420         * locale/programs/charmap-dir.c (fopen_uncompressed): Likewise.
2421         (fopen_uncompressed): Use const in second argument's type.
2423 2001-03-11  Roland McGrath  <roland@frob.com>
2425         * sysdeps/mach/hurd/dl-sysdep.c (__writev): New function.
2427         * mach/mach_error.h: Fix ancient #endif syntax.
2428         * hurd/hurdmalloc.c: Likewise.
2430         * sysdeps/generic/atomicity.h (exchange_and_add, atomic_add,
2431         compare_and_swap): Add volatile qualifier to first arg, to bring
2432         these prototypes in line with all the other implementations.
2433         Add a #warning to remind the builder that these are not atomic.
2435 2001-03-04  Roland McGrath  <roland@frob.com>
2437         * hurd/vpprintf.c (vpprintf) [USE_IN_LIBIO]: Use innermore first
2438         member of TEMP_F so its type is _IO_FILE * as expected.
2440         * hurd/fopenport.c (seekio): Conditionalize type of POS argument
2441         on [USE_IN_LIBIO].  Check the value for overflow, since for libio
2442         it might exceed off_t's range.
2444 2001-02-25  Roland McGrath  <roland@frob.com>
2446         * sysdeps/mach/hurd/sysd-stdio.c (__stdio_reopen): Use prototype.
2447         * sysdeps/unix/bsd/getpt.c (__posix_openpt): Likewise.
2449         * sysdeps/mach/hurd/i386/intr-msg.h (SYSCALL_EXAMINE): Make this a
2450         macro instead of an inline function,
2451         (MSG_EXAMINE): Likewise.
2453         * hurd/hurd/ioctl.h (_HURD_HANDLE_IOCTLS_1): Remove extraneous ##.
2455         * hurd/get-host.c: Include <string.h> for decls of built-ins.
2456         * hurd/hurdchdir.c: Likewise.
2457         * sysdeps/mach/hurd/i386/sigreturn.c: Likweise.
2458         * sysdeps/mach/hurd/opendir.c: Likewise.
2460         * mach/mach_init.c: Include <unistd.h> for _exit decl.
2462         * mach/errsystems.awk: Give output file a trailing newline.
2464         * mach/Machrules (MIG): Prepend CC='${CC}' to the mig command, so that
2465         the script will use our compiler for the cpp stage.
2467         With --enable-all-warnings we get a whole bunch of warnings,
2468         and these are just a few fixes; there are more needed to silence it.
2469         * mach/mach/mig_support.h (__mig_strncpy, mig_strncpy): Add extern
2470         decls before extern inline defns to quiet gcc warning.
2471         * hurd/hurd/threadvar.h (__hurd_threadvar_location_from_sp): Likewise.
2472         * sysdeps/mach/i386/machine-sp.h (__thread_stack_pointer): Likewise.
2474 2001-03-31  Andreas Jaeger  <aj@suse.de>
2476         * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_RAWHDLC): Added.
2477         (ARPHRD_HDLC): Define as alias for ARPHRD_CISCO.
2478         (ARPHRD_CISCO): New.
2479         Changes from Linux 2.4.3.
2481 2001-03-30  Isamu Hasegawa  <isamu@yamato.ibm.com>
2483         * posix/regex.c: Avoid an access violation if malloc failes.
2485 2001-03-30  Andreas Jaeger  <aj@suse.de>
2487         * sysdeps/alpha/ldiv.S (ldiv): Add alias for imaxdiv.
2489 2001-03-29  Ulrich Drepper  <drepper@redhat.com>
2491         * posix/regex.c: Remove unnecessary ifs.
2493         * math/bits/mathcalls.h: Remove infnan declaration.
2495 2001-03-29  H.J. Lu  <hjl@gnu.org>
2497         * include/endian.h: Define BIG_ENDI, LITTLE_ENDI, HIGH_HALF,
2498         and LOW_HALF only if _LIBC is defined and _ISOMAC is not defined.
2499         * stdlib/isomac.c (fmt): Define _LIBC and _ISOMAC.
2500         .
2501 2001-03-29  Isamu Hasegawa  <isamu@yamato.ibm.com>
2503         * posix/regex.c: Fix typo and add a sentinel.
2505 2001-03-29  Ulrich Drepper  <drepper@redhat.com>
2507         * sysdeps/unix/sysv/linux/shm_open.c: Open new file always with
2508         O_NOFOLLOW.  Suggested by Christoph Roland.
2510 2001-03-27  Martin Schwidefsky  <schwidefsky@de.ibm.com>
2512         * sysdeps/s390/bits/string.h: New unified 31/64 bit string.h.
2513         * sysdeps/s390/s390-32/bits/string.h: Remove.
2514         * sysdeps/s390/s390-64/bits/string.h: Remove.
2515         * sysdeps/s390/s390-32/strcmp.S: New file.
2516         * sysdeps/s390/s390-64/strcmp.S: New file.
2518 2001-03-27  Martin Schwidefsky  <schwidefsky@de.ibm.com>
2520         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Fix typo.
2521         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
2523 2001-03-27  Ulrich Drepper  <drepper@redhat.com>
2525         * version.h (VERSION): Bump to 2.2.3.
2527         * stdlib/isomac.c (fmt): Don't define _LIBC.
2528         * include/endian.h: Define BIG_ENDI, LITTLE_ENDI, HIGH_HALF, and
2529         LOW_HALF only if _LIBC is defined.
2531         * sysdeps/i386/fpu/libm-test-ulps: Slight adjustment of yn() error.
2533         * posix/fnmatch_loop.c (FCT): Handle !() after * special like @()
2534         and +().
2535         * posix/tst-fnmatch.input: Add test cases for matching empty strings.
2537         * sysdeps/ieee754/dbl-64/endian.h: Removed.  Move definitions...
2538         * include/endian.h: ...to here.
2540 2001-03-27  kaz Kojima  <kkojima@rr.iij4u.or.jp>
2542         * sysdeps/sh/sys/ucontext.h (NFREG): Rename to NFPREG.
2543         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (NFREG): Likewise.
2545 2001-03-27  Martin Schwidefsky  <schwidefsky@de.ibm.com>
2547         * sysdeps/unix/sysv/linux/s390/ldconfig.h: Fix typo.
2549 2001-03-26  Ulrich Drepper  <drepper@redhat.com>
2551         * sysdeps/ia64/fpu/Dist: Add new files to distribute.
2552         * sysdeps/unix/sysv/linux/s390/s390-64/Dist: Likewise.
2553         * sysdeps/unix/sysv/linux/ia64/Dist: Likewise.
2555         * gmon/Makefile (headers): Add sys/profil.h.
2557 2001-03-18  Andreas Jaeger  <aj@suse.de>
2559         * manual/install.texi (Tools for Compilation): Advise to use GCC
2560         2.95.3.
2561         (Supported Configurations): Mention s390x.
2563 2001-03-26  Ben Collins  <bcollins@debian.org>
2565         * sysdeps/unix/sysv/linux/mips/bits/mman.h: Add MAP_* and MADV_*
2566         defines to match other architectures.
2568 2001-03-26  Ulrich Drepper  <drepper@redhat.com>
2570         * libio/Makefile (tests): Add tst-ext.
2571         * libio/tst-ext.c: New file.
2573         * libio/iosetvbuf.c (_IO_setvbuf): Clear line buffer flag for _IONBF.
2575 2001-03-25  Ulrich Drepper  <drepper@redhat.com>
2577         Add changes which were in this form in the original patch by
2578         Eric Norum <eric.norum@usask.ca>.
2579         * include/rpc/rpc.h: Remove svc_fdset, rpc_createerr, svc_pollfd, and
2580         svc_max_pollfd.
2581         * sunrpc/rpc/rpc.h: Declare __rpc_thread_svc_fdset,
2582         __rpc_thread_createerr, __rpc_thread_svc_pollfd, and
2583         __rpc_thread_svc_max_pollfd.
2584         Define svc_fdset, get_rpc_createerr, svc_pollfd, and
2585         svc_max_pollfd.
2586         * sunrpc/rpc_thread.c: Handle first thread special, it uses the
2587         global variables.
2588         Define __rpc_thread_svc_fdset, __rpc_thread_createerr,
2589         __rpc_thread_svc_pollfd, and __rpc_thread_svc_max_pollfd.
2590         * sunrpc/Versions [libc] (GLIBC_2.2.3): Export  __rpc_thread_svc_fdset,
2591         __rpc_thread_createerr, __rpc_thread_svc_pollfd, and
2592         __rpc_thread_svc_max_pollfd.
2593         * sunrpc/clnt_gen.c: Replace use of rpc_createerr by call to
2594         get_rpc_createerr.
2595         * sunrpc/clnt_perr.c: Likewise.
2596         * sunrpc/clnt_simp.c: Likewise.
2597         * sunrpc/clnt_tcp.c: Likewise.
2598         * sunrpc/clnt_udp.c: Likewise.
2599         * sunrpc/clnt_unix.c: Likewise.
2600         * sunrpc/pm_getport.c: Likewise.
2602         * sysdeps/unix/sysv/linux/i386/getgroups.c (__getgroups): getgroups32
2603         syscall checks for negative n so don't test here as well.
2605 2001-03-23  Jes Sorensen  <jes@linuxcare.com>
2607         * sysdeps/unix/sysv/linux/ia64/sysdep.h (ENTRY): Moved to ...
2608         * sysdeps/ia64/sysdep.h: ...here.
2610         * sysdeps/ia64/sysdep.h (LOCAL_ENTRY): Define.
2611         * sysdeps/ia64/sysdep.h (LOCAL_LEAF): Define.
2613         * sysdeps/ia64/_mcount.S (_mcount_ret_helper): Use LOCAL_LEAF() to
2614         declare instead of LEAF().  Suggestion from David Mosberger.
2616 2001-03-21  David Mosberger  <davidm@hpl.hp.com>
2618         * sysdeps/unix/sysv/linux/ia64/sysdep.h (CALL_MCOUNT): Add unwind
2619         directives.
2620         (PSEUDO): Drop .psr and .lsb directives.
2622         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Ditto.  Add unwind
2623         directives.
2624         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Ditto.
2626         * sysdeps/ia64/elf/start.S: Misc cleanup: remove .psr and .lsb
2627         directives etc.
2628         * sysdeps/unix/sysv/linux/ia64/brk.S: Ditto.
2629         * sysdeps/unix/sysv/linux/ia64/__longjmp.S: Ditto.
2630         * sysdeps/ia64/_mcount.S: Remove .psr and .lsb directives (no
2631         longer needed).  Add unwind directives.
2633         * sysdeps/ia64/sysdep.h: Define ASM_UNW_PRLG_RP, ASM_UNW_PRLG_PFS,
2634         ASM_UNW_PRLG_PSP, ASM_UNW_PRLG_PR, and ASM_UNW_PRLG_GRSAVE.
2636 2001-03-21  Paul Eggert  <eggert@twinsun.com>
2638         * posix/regex.h (RE_INVALID_INTERVAL_ORD): New macro.
2639         (RE_SYNTAX_POSIX_EGREP): Use it.
2640         * posix/regex.c (regex_compile): Implement it.
2642 2001-03-21  Paul Eggert  <eggert@twinsun.com>
2644         * posix/regex.c (GET_UNSIGNED_NUMBER): Check for overflow.
2645         Rewrite to avoid duplicate code.
2647 2001-03-21  H.J. Lu  <hjl@gnu.org>
2649         * elf/Makefile (tests): Don't depend on $(objpfx)tst-pathopt.out
2650         for cross-compiling.
2651         ($(objpfx)tst-pathopt.out): Undo the last change.
2653 2001-03-24  Mark Kettenis  <kettenis@gnu.org>
2655         * sysdeps/mach/hurd/i386/bits/sigcontext.h (sc_sp, sc_fp, sc_pc,
2656         sc_ps): Define as aliases for sc_uesp, sc_ebl, sc_eip and sc_efl.
2658         * sysdeps/mach/hurd/i386/init-first.c: Include <assert.h>.
2659         (_dl_argv): Declare.
2660         (init) [SHARED]: Readjust _dl_argv if we switched to a new stack.
2662 2001-03-22  Andreas Jaeger  <aj@suse.de>
2664         * iconvdata/Makefile (generated): Add iconv-test.xxx.
2666         * posix/Makefile (generated): Add bug-regex2.mtrace and
2667         bug-regex2-mem.
2669 2001-03-21  Ulrich Drepper  <drepper@redhat.com>
2671         * csu/version.c (__gnu_get_libc_release): Add prototype.
2672         (__gnu_get_libc_version): Likewise.
2673         * include/gnu/libc-version.h: Remove prototypes for not exported
2674         functions.
2676 2001-03-21  Jes Sorensen  <jes@linuxcare.com>
2678         * sysdeps/unix/sysv/linux/ia64/makecontext.c: Include libintl.h
2679         for internationalized printfs to work.
2681 2001-03-09  Bruno Haible  <haible@clisp.cons.org>
2683         * intl/dcigettext.c (transmem_block_t): Change to unsigned char, to
2684         avoid compiler warning.
2685         (_nl_find_msg): Add casts to avoid compiler warnings.
2687 2001-03-21  Ulrich Drepper  <drepper@redhat.com>
2689         * gmon/Makefile (routines): Add sprofil.
2690         (tests): Add tst-sprofil.
2691         (noprof): Add sprofil.
2692         * gmon/Versions [libc] (GLIBC_2.2.3): Add sprofil.
2694 2001-03-20  David Mosberger  <davidm@hpl.hp.com>
2696         * sysdeps/generic/sprofil.c: New file.
2697         * sysdeps/posix/sprofil.c: New file.
2698         * gmon/tst-sprofil.c: New file.
2699         * gmon/sys/profil.h: New file.
2701 2001-03-20  Andreas Schwab  <schwab@suse.de>
2703         * include/unistd.h: Adjust prototype of __gethostname.
2705 2001-03-20  Jakub Jelinek  <jakub@redhat.com>
2707         * sysdeps/sparc/stackinfo.h: New file.
2709 2001-03-21  Andreas Jaeger  <aj@suse.de>
2711         * elf/global.c (main): Use proper prototype.
2713 2001-03-20  Ulrich Drepper  <drepper@redhat.com>
2715         * sunrpc/Makefile (routines): Add rpc_thread.
2716         (CPPFLAGS): Add -D_RPC_THREAD_SAFE.
2717         * sunrpc/rpc_thread.c: New file.
2718         * sunrpc/Versions [libc] (GLIBC_2.2.3): Export __rpc_thread_destroy.
2719         * sunrpc/auth_none.c: Don't use global variables.  Access state in
2720         thread-local storage.
2721         * sunrpc/clnt_perr.c: Likewise.
2722         * sunrpc/clnt_raw.c: Likewise.
2723         * sunrpc/clnt_simp.c: Likewise.
2724         * sunrpc/key_call.c: Likewise.
2725         * sunrpc/rpc_common.c: Likewise.
2726         * sunrpc/svc.c: Likewise.
2727         * sunrpc/svc_raw.c: Likewise.
2728         * sunrpc/svc_simple.c: Likewise.
2729         * sunrpc/svcauth_des.c: Likewise.
2730         * hurd/hurd/threadvar.h (enum __hurd_threadvar_index): Add
2731         _HURD_THREADVAR_RPC_VARS.
2732         * sysdeps/generic/bits/libc-tsd.h: Mention _LIBC_TSD_KEY_RPC_VARS.
2733         * include/rpc/rpc.h: Define data structures for internal thread-local
2734         "global" variables.
2735         Based on patches by Eric Norum <eric.norum@usask.ca>.
2737         * elf/dl-load.c: Various little optimizations.
2739         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Return
2740         LINUX_LINK_MAX only if the statfs function is not implemented for
2741         the filesystem.
2743         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Return
2744         LINUX_LINK_MAX only if the fstatfs function is not implemented for
2745         the filesystem.
2747 2001-03-19  Ulrich Drepper  <drepper@redhat.com>
2749         * elf/dl-dst.h (DL_DST_COUNT): Add __builtin_expect.
2751         * elf/dl-load.c (_dl_dst_count): Make DST recognition more robust.
2752         (_dl_dst_substitute): Likewise.
2754 2001-03-17  Bruno Haible  <haible@clisp.cons.org>
2756         * intl/loadmsgcat.c (_nl_load_domain) [!_LIBC]: Use fstat, not fstat64.
2758 2001-03-17  Bruno Haible  <haible@clisp.cons.org>
2760         * intl/gettextP.h (struct expression): Add operators lnot, less_than,
2761         greater_than, less_or_equal, greater_or_equal. Replace args2/args3
2762         union by a 'nargs' counter and an 'args[]' array.
2763         * intl/plural.y: Don't include stdarg.h.
2764         (new_exp): Take an array of arguments instead of varargs.
2765         (new_exp_0, new_exp_1, new_exp_2, new_exp_3): New functions.
2766         ('?' ':'): Make right-associative.
2767         (EQUOP2): New token, replaces '=' and '!'.
2768         (CMPOP2): New token.
2769         (ADDOP2): New token, replaces '+' and '-'.
2770         (MULOP2): New token, replaces '*', '/' and '%'.
2771         ('!'): New token.
2772         (exp): Add rules for CMPOP2 and '!'. Don't call YYABORT.
2773         (start): Call YYABORT here.
2774         (FREE_EXPRESSION): Update.
2775         (yylex): Don't skip "\\n". Recognize comparison and '!' operators.
2776         Update for new token symbols.
2777         * intl/loadmsgcat.c (plvar, plone, germanic_plural,
2778         init_germanic_plural): Update.
2779         * intl/dcigettext.c (_nl_find_msg): Optimize for space.
2780         (plural_eval): Recognize comparison and '!' operators. Optimize for
2781         space.
2783 2001-03-10  Bruno Haible  <haible@clisp.cons.org>
2785         * intl/loadmsgcat.c (_nl_load_domain): locale_charset() doesn't return
2786         NULL any more.
2788 2001-01-05  Bruno Haible  <haible@clisp.cons.org>
2790         * intl/loadmsgcat.c: Include headers needed for alloca().
2791         (freea): New macro.
2792         (_nl_load_domain): Add fallback code for platforms lacking alloca.
2793         * intl/localealias.c: (ADD_BLOCK, FREE_BLOCK): Remove macros.
2794         (freea): New macro.
2795         (read_alias_file): Simplify fallback code for platforms lacking
2796         alloca.
2798 2001-01-07  Bruno Haible  <haible@clisp.cons.org>
2800         * intl/gettextP.h (__gettextdebug): Remove declaration.
2801         (__gettext_free_exp, __gettextparse): Convert prototype to K&R C
2802         syntax.
2803         (gettext_free_exp__, gettextparse__): New non-libc declarations.
2804         * intl/plural.y [!_LIBC]: Define gettextparse__, gettext_free_exp__,
2805         not __gettextparse, __gettext_free_exp.
2806         * intl/loadmsgcat.c [!_LIBC]: Use gettextparse__, not __gettextparse.
2808 2001-02-24  Bruno Haible  <haible@clisp.cons.org>
2810         * intl/dcigettext.c: Update comment about HAVE_LOCALE_NULL.
2812 2001-01-05  Bruno Haible  <haible@clisp.cons.org>
2814         * intl/loadmsgcat.c (_nl_load_domain): Add fallback code for platforms
2815         lacking strtoul, like SunOS4.
2817 2001-01-05  Bruno Haible  <haible@clisp.cons.org>
2819         * intl/l10nflist.c (_nl_normalize_codeset): Use tolower, not _tolower.
2821 2001-01-05  Bruno Haible  <haible@clisp.cons.org>
2823         * intl/bindtextdom.c (set_binding_values): Convert prototype to K&R C
2824         syntax.
2825         * intl/dcigettext.c (transcmp): Convert to K&R C syntax.
2826         * intl/explodename.c (_nl_find_language): Convert to K&R C syntax.
2827         * intl/plural.y (__gettext_free_exp, yylex, yyerror): Convert to K&R C
2828         syntax.
2830 2001-01-07  Bruno Haible  <haible@clisp.cons.org>
2832         * intl/gettextP.h (gettext__, dgettext__, dcgettext__, textdomain__,
2833         bindtextdomain__, bind_textdomain_codeset__): New declarations, from
2834         old libgettext.h.
2835         * intl/bindtextdom.c: Include libgnuintl.h instead of libgettext.h.
2836         * intl/dcgettext.c: Likewise.
2837         * intl/dcigettext.c: Likewise.
2838         * intl/dcngettext.c: Likewise.
2839         * intl/dngettext.c: Likewise.
2840         * intl/finddomain.c: Likewise.
2841         * intl/ngettext.c: Likewise.
2842         * intl/textdomain.c: Likewise.
2843         * intl/dgettext.c: Include libgnuintl.h instead of libgettext.h.
2844         Include gettextP.h.
2845         * intl/gettext.c: Likewise.  Don't include locale.h.
2847 2001-03-17  Bruno Haible  <haible@clisp.cons.org>
2849         * intl/gettextP.h (ZERO): New macro.
2850         (struct binding): Always use ZERO.
2851         * intl/bindtextdom.c (offsetof): Provide fallback for platforms that
2852         lack it, like SunOS4.
2853         (set_binding_values): Use offsetof, not sizeof.
2854         * intl/dcigettext.c (offsetof): Provide fallback for platforms that
2855         lack it, like SunOS4.
2856         (ZERO): Remove macro.
2857         (struct transmem_list): Use ZERO.
2858         (DCIGETTEXT): Use offsetof, not sizeof.
2860 2001-03-17  Bruno Haible  <haible@clisp.cons.org>
2862         * intl/gettextP.h: Include <stddef.h>. Include gettext.h, for
2863         nls_uint32.
2864         * intl/bindtextdom.c: Don't include gettext.h.
2865         * intl/dcgettext.c: Likewise.
2866         * intl/dcigettext.c: Likewise.
2867         * intl/dcngettext.c: Likewise.
2868         * intl/dngettext.c: Likewise.
2869         * intl/finddomain.c: Likewise.
2870         * intl/localealias.c: Likewise.
2871         * intl/ngettext.c: Likewise.
2872         * intl/plural.y: Likewise.
2873         * intl/textdomain.c: Likewise.
2875 2001-03-17  Bruno Haible  <haible@clisp.cons.org>
2877         * intl/gettext.h: Don't include <stdio.h>.
2879 2001-03-17  Bruno Haible  <haible@clisp.cons.org>
2881         * intl/Makefile (CPPFLAGS): Set LOCALEDIR instead of GNULOCALEDIR.
2882         * intl/dcigettext.c (_nl_default_dirname): Initialize with LOCALEDIR.
2884 2001-03-19  Ulrich Drepper  <drepper@redhat.com>
2886         * sysdeps/unix/i386/i686/tempname.c: New file.
2888         * sysdeps/posix/tempname.c (__gen_tempname): If RANDOM_BITS is
2889         defined use this macro to get some bits of randomness instead of
2890         the usual gettimeofday or time calls.
2892 2001-03-16  Paul Eggert  <eggert@twinsun.com>
2894         * sysdeps/posix/tempname.c (uint64_t): Define to uintmax_t if
2895         not defined, and if UINT64_MAX is not defined.
2897 2001-03-19  Ulrich Drepper  <drepper@redhat.com>
2899         * elf/cache.c: Mark and have translated a few more messages.
2901 2001-03-19  Martin Schwidefsky  <schwidefsky@de.ibm.com>
2903         * elf/cache.c: Add case for FLAG_S390_LIB64.
2904         * sysdeps/generic/ldconfig.h: Add define for FLAG_S390_LIB64.
2905         * sysdeps/unix/sysv/linux/s390/ldconfig.h: New file.
2906         * sysdeps/unix/sysv/linux/s390/readelflib.c: New file.
2908 2001-03-19  Ulrich Drepper  <drepper@redhat.com>
2910         * string/Makefile (tests): Add tst-strxfrm.
2911         * string/tst-strxfrm.c: New file.  Based on a test case by Paul Eggert.
2912         * string/Depend: New file.
2914 2001-03-19  Paul Eggert  <eggert@twinsun.com>
2916         * string/strxfrm.c (strxfrm): strxfrm should return 0, not 1,
2917         when given the empty string in nontrivial locales.
2919 2001-03-17  H.J. Lu  <hjl@gnu.org>
2921         * manual/Makefile (install): Use $(INSTALL_DATA) instead of
2922         cp to install `dir'.
2924 2001-03-19  Andreas Schwab  <schwab@suse.de>
2926         * Makerules (build-shlib): Make sure exit codes get checked
2927         properly.
2929 2001-03-18  Ulrich Drepper  <drepper@redhat.com>
2931         * Makerules (build-shlib): Remove unnecessary slashes introduced in
2932         last change.
2934         * configure.in: Test for -Bgroup option of linker.
2935         * config.make.in: Define have-Bgroup.
2937         * conform/data/unistd.h-data: Require gethostname.
2938         * posix/unistd.h: Make gethostname prototype available for
2939         __USE_XOPEN2K.
2941         * crypt/Makefile: When generating DSO link with libc_nonshared.a.
2942         * debug/Makefile: Likewise.
2943         * dlfcn/Makefile: Likewise.
2944         * hesiod/Makefile: Likewise.
2945         * iconvdata/extra-module.mk: Likewise.
2946         * locale/Makefile: Likewise.
2947         * login/Makefile: Likewise.
2948         * math/Makefile: Likewise.
2949         * nis/Makefile: Likewise.
2950         * nss/Makefile: Likewise.
2951         * resolv/Makefile: Likewise.
2952         * rt/Makefile: Likewise.
2954 2001-03-17  Ulrich Drepper  <drepper@redhat.com>
2956         * inet/Makefile (tests): Remove left-over comment.
2958         * posix/unistd.h (gethostname): Change type of second parameter
2959         back to size_t as per upcoming XPG6.
2960         * sysdeps/unix/sysv/aix/gethostname.c: Change type of second
2961         parameter back to size_t as per upcoming XPG6.
2962         * sysdeps/unix/sysv/sysv4/gethostname.c: Likewise.
2963         * sysdeps/unix/sysv/gethostname.c: Likewise.
2964         * sysdeps/mach/hurd/gethostname.c: Likewise.
2965         * sysdeps/generic/gethostname.c: Likewise.
2967 2001-03-16  Ulrich Drepper  <drepper@redhat.com>
2969         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
2970         Handle NaN here.
2972         * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext):
2973         Internationalize.
2975 2001-02-06  Jakub Jelinek  <jakub@redhat.com>
2977         * elf/dl-load.c (_dl_map_object): Don't test l_opencount when
2978         looking for name matches.
2980 2001-02-26  Jakub Jelinek  <jakub@redhat.com>
2982         * sysdeps/generic/sigcontextinfo.h (CALL_SIGHANDLER): Define.
2983         * sysdeps/mach/hurd/i386/sigcontextinfo.h: Likewise.
2984         * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h: Likewise.
2985         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
2986         * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h: Likewise.
2987         * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h: Likewise.
2988         * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h: Likewise.
2989         * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h: Likewise.
2990         * sysdeps/unix/sysv/linux/s390/sigcontextinfo.h: Likewise.
2991         * sysdeps/unix/sysv/linux/sh/sigcontextinfo.h: Likewise.
2992         * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: Likewise.
2993         * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h: Likewise.
2995 2001-03-16  Ulrich Drepper  <drepper@redhat.com>
2997         * sysdeps/ieee754/ldbl-96/s_erfl.c: New file.
2998         Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>.
3000         * sysdeps/i386/fpu/libm-test-ulps: Adjust for addition of erfl and
3001         erfcl.
3002         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
3004 2001-03-16  David Mosberger  <davidm@hpl.hp.com>
3006         * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h (struct sigcontext):
3007         Drop hack that was needed for 2.1.1 kernel headers.
3009         * sysdeps/unix/sysv/linux/ia64/ucontext_i.h: New file.
3011         * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Rewrite to make it
3012         overlay with kernel's "struct sigcontext".
3014         * sysdeps/unix/sysv/linux/ia64/Makefile (sysdep_headers): Add
3015         sys/rse.h for "misc" subdir.
3016         (sysdep_routines): Add __start_context for "stdlib" subdir.
3018         * sysdeps/unix/sysv/linux/ia64/sys/rse.h: New file (based on
3019         kernel file of the same name).
3021         * stdlib/Makefile (tests): Add tst-setcontext.
3022         * stdlib/tst-setcontext.c: New file (based on a sample program by
3023         Uli Drepper).
3025         * sysdeps/unix/sysv/linux/ia64/setcontext.S: New file.
3026         * sysdeps/unix/sysv/linux/ia64/getcontext.S: New file.
3027         * sysdeps/unix/sysv/linux/ia64/__start_context.S: New file.
3028         * sysdeps/unix/sysv/linux/ia64/makecontext.c: New file.
3029         * sysdeps/unix/sysv/linux/ia64/swapcontext.c: New file.
3031         * sysdeps/unix/sysv/linux/ia64/__longjmp.S (__longjmp): Use extr.u
3032         instead of shift & and.
3034 2001-03-16  Martin Schwidefsky  <schwidefsky@de.ibm.com>
3036         * sysdeps/s390/s390-64/bits/huge_val.h: Move to...
3037         * sysdeps/s390/bits/huge_val.h: ...here.
3038         * sysdeps/s390/s390-32/bit/huge_val.h: Remove.
3039         * sysdeps/s390/s390-64/ffs.c: Move to...
3040         * sysdeps/s390/ffs.c: ...here.
3041         * sysdeps/s390/s390-32/ffs.c: Remove.
3043 2001-03-16  Jakub Jelinek  <jakub@redhat.com>
3045         * elf/ldconfig.c (search_dir): Remove bogus diagnostic, instead
3046         update osversion from more recent library.
3048 2001-03-13  Martin Schwidefsky  <schwidefsky@de.ibm.com>
3050         * sysdeps/unix/sysv/linux/s390/Dist: Move to...
3051         * sysdeps/unix/sysv/linux/s390/s390-32/Dist: ...here.
3052         * sysdeps/unix/sysv/linux/s390/Makefile: Move to...
3053         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: ...here.
3054         * sysdeps/unix/sysv/linux/s390/Versions: Move to...
3055         * sysdeps/unix/sysv/linux/s390/s390-32/Versions: ...here.
3056         * sysdeps/unix/sysv/linux/s390/alphasort64.c: Move to...
3057         * sysdeps/unix/sysv/linux/s390/s390-32/alphasort64.c: ...here.
3058         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Move to...
3059         * sysdeps/unix/sysv/linux/s390/s390-32/bits/fcntl.h: ...here.
3060         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Move to...
3061         * sysdeps/unix/sysv/linux/s390/s390-32/bits/mman.h: ...here.
3062         * sysdeps/unix/sysv/linux/s390/bits/resource.h: Move to...
3063         * sysdeps/unix/sysv/linux/s390/s390-32/bits/resource.h: ...here.
3064         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Move to...
3065         * sysdeps/unix/sysv/linux/s390/s390-32/bits/stat.h: ...here.
3066         * sysdeps/unix/sysv/linux/s390/chown.c: Move to...
3067         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: ...here.
3068         * sysdeps/unix/sysv/linux/s390/clone.S: Move to...
3069         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: ...here.
3070         * sysdeps/unix/sysv/linux/s390/fchown.c: Move to...
3071         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: ...here.
3072         * sysdeps/unix/sysv/linux/s390/fcntl.c: Move to...
3073         * sysdeps/unix/sysv/linux/s390/s390-32/fcntl.c: ...here.
3074         * sysdeps/unix/sysv/linux/s390/fxstat.c: Move to...
3075         * sysdeps/unix/sysv/linux/s390/s390-32/fxstat.c: ...here.
3076         * sysdeps/unix/sysv/linux/s390/getdents64.c: Move to...
3077         * sysdeps/unix/sysv/linux/s390/s390-32/getdents64.c: ...here.
3078         * sysdeps/unix/sysv/linux/s390/getegid.c: Move to...
3079         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: ...here.
3080         * sysdeps/unix/sysv/linux/s390/geteuid.c: Move to...
3081         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: ...here.
3082         * sysdeps/unix/sysv/linux/s390/getgid.c: Move to...
3083         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: ...here.
3084         * sysdeps/unix/sysv/linux/s390/getgroups.c: Move to...
3085         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: ...here.
3086         * sysdeps/unix/sysv/linux/s390/getresgid.c: Move to...
3087         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: ...here.
3088         * sysdeps/unix/sysv/linux/s390/getresuid.c: Move to...
3089         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: ...here.
3090         * sysdeps/unix/sysv/linux/s390/getrlimit.c: Move to...
3091         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: ...here.
3092         * sysdeps/unix/sysv/linux/s390/getrlimit64.c: Move to...
3093         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit64.c: ...here.
3094         * sysdeps/unix/sysv/linux/s390/getuid.c: Move to...
3095         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: ...here.
3096         * sysdeps/unix/sysv/linux/s390/lchown.c: Move to...
3097         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: ...here.
3098         * sysdeps/unix/sysv/linux/s390/lockf64.c: Move to...
3099         * sysdeps/unix/sysv/linux/s390/s390-32/lockf64.c: ...here.
3100         * sysdeps/unix/sysv/linux/s390/lxstat.c: Move to...
3101         * sysdeps/unix/sysv/linux/s390/s390-32/lxstat.c: ...here.
3102         * sysdeps/unix/sysv/linux/s390/mmap.S: Move to...
3103         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: ...here.
3104         * sysdeps/unix/sysv/linux/s390/mmap64.S: Move to...
3105         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: ...here.
3106         * sysdeps/unix/sysv/linux/s390/msgctl.c: Move to...
3107         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: ...here.
3108         * sysdeps/unix/sysv/linux/s390/oldgetrlimit64.c: Move to...
3109         * sysdeps/unix/sysv/linux/s390/s390-32/oldgetrlimit64.c: ...here.
3110         * sysdeps/unix/sysv/linux/s390/readdir64.c: Move to...
3111         * sysdeps/unix/sysv/linux/s390/s390-32/readdir64.c: ...here.
3112         * sysdeps/unix/sysv/linux/s390/readdir64_r.c: Move to...
3113         * sysdeps/unix/sysv/linux/s390/s390-32/readdir64_r.c: ...here.
3114         * sysdeps/unix/sysv/linux/s390/register-dump.h: Move to...
3115         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: ...here.
3116         * sysdeps/unix/sysv/linux/s390/scandir64.c: Move to...
3117         * sysdeps/unix/sysv/linux/s390/s390-32/scandir64.c: ...here.
3118         * sysdeps/unix/sysv/linux/s390/semctl.c: Move to...
3119         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: ...here.
3120         * sysdeps/unix/sysv/linux/s390/setegid.c: Move to...
3121         * sysdeps/unix/sysv/linux/s390/s390-32/setegid.c: ...here.
3122         * sysdeps/unix/sysv/linux/s390/seteuid.c: Move to...
3123         * sysdeps/unix/sysv/linux/s390/s390-32/seteuid.c: ...here.
3124         * sysdeps/unix/sysv/linux/s390/setfsgid.c: Move to...
3125         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: ...here.
3126         * sysdeps/unix/sysv/linux/s390/setfsuid.c: Move to...
3127         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: ...here.
3128         * sysdeps/unix/sysv/linux/s390/setgid.c: Move to...
3129         * sysdeps/unix/sysv/linux/s390/s390-32/setgid.c: ...here.
3130         * sysdeps/unix/sysv/linux/s390/setgroups.c: Move to...
3131         * sysdeps/unix/sysv/linux/s390/s390-32/setgroups.c: ...here.
3132         * sysdeps/unix/sysv/linux/s390/setregid.c: Move to...
3133         * sysdeps/unix/sysv/linux/s390/s390-32/setregid.c: ...here.
3134         * sysdeps/unix/sysv/linux/s390/setresgid.c: Move to...
3135         * sysdeps/unix/sysv/linux/s390/s390-32/setresgid.c: ...here.
3136         * sysdeps/unix/sysv/linux/s390/setresuid.c: Move to...
3137         * sysdeps/unix/sysv/linux/s390/s390-32/setresuid.c: ...here.
3138         * sysdeps/unix/sysv/linux/s390/setreuid.c: Move to...
3139         * sysdeps/unix/sysv/linux/s390/s390-32/setreuid.c: ...here.
3140         * sysdeps/unix/sysv/linux/s390/setrlimit.c: Move to...
3141         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: ...here.
3142         * sysdeps/unix/sysv/linux/s390/setuid.c: Move to...
3143         * sysdeps/unix/sysv/linux/s390/s390-32/setuid.c: ...here.
3144         * sysdeps/unix/sysv/linux/s390/shmctl.c: Move to...
3145         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: ...here.
3146         * sysdeps/unix/sysv/linux/s390/socket.S: Move to...
3147         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: ...here.
3148         * sysdeps/unix/sysv/linux/s390/sys/procfs.h: Move to...
3149         * sysdeps/unix/sysv/linux/s390/s390-32/sys/procfs.h: ...here.
3150         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Move to...
3151         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: ...here.
3152         * sysdeps/unix/sysv/linux/s390/syscall.S: Move to...
3153         * sysdeps/unix/sysv/linux/s390/s390-32/syscall.S: ...here.
3154         * sysdeps/unix/sysv/linux/s390/syscalls.list: Move to...
3155         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: ...here.
3156         * sysdeps/unix/sysv/linux/s390/sysdep.S: Move to...
3157         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: ...here.
3158         * sysdeps/unix/sysv/linux/s390/sysdep.h: Move to...
3159         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: ...here.
3160         * sysdeps/unix/sysv/linux/s390/versionsort64.c: Move to...
3161         * sysdeps/unix/sysv/linux/s390/s390-32/versionsort64.c: ...here.
3162         * sysdeps/unix/sysv/linux/s390/xstat.c: Move to...
3163         * sysdeps/unix/sysv/linux/s390/s390-32/xstat.c: ...here.
3165 2001-03-13  Martin Schwidefsky  <schwidefsky@de.ibm.com>
3167         * sysdeps/unix/sysv/linux/s390/s390-64/Dist: New file.
3168         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: New file.
3169         * sysdeps/unix/sysv/linux/s390/s390-64/bits/elfclass.h: New file.
3170         * sysdeps/unix/sysv/linux/s390/s390-64/bits/fcntl.h: New file.
3171         * sysdeps/unix/sysv/linux/s390/s390-64/bits/ipc.h: New file.
3172         * sysdeps/unix/sysv/linux/s390/s390-64/bits/mman.h: New file.
3173         * sysdeps/unix/sysv/linux/s390/s390-64/bits/msq.h: New file.
3174         * sysdeps/unix/sysv/linux/s390/s390-64/bits/resource.h: New file.
3175         * sysdeps/unix/sysv/linux/s390/s390-64/bits/sem.h: New file.
3176         * sysdeps/unix/sysv/linux/s390/s390-64/bits/shm.h: New file.
3177         * sysdeps/unix/sysv/linux/s390/s390-64/bits/sigaction.h: New file.
3178         * sysdeps/unix/sysv/linux/s390/s390-64/bits/siginfo.h: New file.
3179         * sysdeps/unix/sysv/linux/s390/s390-64/bits/sigstack.h: New file.
3180         * sysdeps/unix/sysv/linux/s390/s390-64/bits/stat.h: New file.
3181         * sysdeps/unix/sysv/linux/s390/s390-64/bits/types.h: New file.
3182         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: New file.
3183         * sysdeps/unix/sysv/linux/s390/s390-64/fstatfs64.c: New file.
3184         * sysdeps/unix/sysv/linux/s390/s390-64/ftruncate64.c: New file.
3185         * sysdeps/unix/sysv/linux/s390/s390-64/fxstat.c: New file.
3186         * sysdeps/unix/sysv/linux/s390/s390-64/fxstat64.c: New file.
3187         * sysdeps/unix/sysv/linux/s390/s390-64/getdents.c: New file.
3188         * sysdeps/unix/sysv/linux/s390/s390-64/getdents64.c: New file.
3189         * sysdeps/unix/sysv/linux/s390/s390-64/getrlimit64.c: New file.
3190         * sysdeps/unix/sysv/linux/s390/s390-64/glob.c: New file.
3191         * sysdeps/unix/sysv/linux/s390/s390-64/glob64.c: New file.
3192         * sysdeps/unix/sysv/linux/s390/s390-64/kernel_stat.h: New file.
3193         * sysdeps/unix/sysv/linux/s390/s390-64/lxstat.c: New file.
3194         * sysdeps/unix/sysv/linux/s390/s390-64/lxstat64.c: New file.
3195         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: New file.
3196         * sysdeps/unix/sysv/linux/s390/s390-64/mmap64.c: New file.
3197         * sysdeps/unix/sysv/linux/s390/s390-64/pread64.c: New file.
3198         * sysdeps/unix/sysv/linux/s390/s390-64/pwrite64.c: New file.
3199         * sysdeps/unix/sysv/linux/s390/s390-64/readdir.c: New file.
3200         * sysdeps/unix/sysv/linux/s390/s390-64/readdir64.c: New file.
3201         * sysdeps/unix/sysv/linux/s390/s390-64/readdir64_r.c: New file.
3202         * sysdeps/unix/sysv/linux/s390/s390-64/readdir_r.c : New file.
3203         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: New file.
3204         * sysdeps/unix/sysv/linux/s390/s390-64/setrlimit64.c: New file.
3205         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: New file.
3206         * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c: New file.
3207         * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c: New file.
3208         * sysdeps/unix/sysv/linux/s390/s390-64/sigsuspend.c: New file.
3209         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: New file.
3210         * sysdeps/unix/sysv/linux/s390/s390-64/statfs64.c: New file.
3211         * sysdeps/unix/sysv/linux/s390/s390-64/sys/procfs.h: New file.
3212         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: New file.
3213         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: New file.
3214         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: New file.
3215         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: New file.
3216         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: New file.
3217         * sysdeps/unix/sysv/linux/s390/s390-64/truncate64.c: New file.
3218         * sysdeps/unix/sysv/linux/s390/s390-64/xstat.c: New file.
3219         * sysdeps/unix/sysv/linux/s390/s390-64/xstat64.c: New file.
3221 2001-03-13  Martin Schwidefsky  <schwidefsky@de.ibm.com>
3223         * sysdeps/s390/Dist: Move to...
3224         * sysdeps/s390/390-32/Dist: ...here.
3225         * sysdeps/s390/Implies: Move to...
3226         * sysdeps/s390/s390-32/Implies: ...here.
3227         * sysdeps/s390/Makefile: Move to...
3228         * sysdeps/s390/s390-32/Makefile: ...here.
3229         * sysdeps/s390/Versions: Move to...
3230         * sysdeps/s390-32/s390/Versions: ...here.
3231         * sysdeps/s390/add_n.S: Move to...
3232         * sysdeps/s390/s390-32/add_n.S: ...here.
3233         * sysdeps/s390/addmul_1.S: Move to...
3234         * sysdeps/s390/s390-32/addmul_1.S: ...here.
3235         * sysdeps/s390/atomicity.h: Move to...
3236         * sysdeps/s390/s390-32/atomicity.h: ...here.
3237         * sysdeps/s390/backtrace.c: Move to...
3238         * sysdeps/s390/s390-32/backtrace.c: ...here.
3239         * sysdeps/s390/bcopy.S: Move to...
3240         * sysdeps/s390/s390-32/bcopy.S: ...here.
3241         * sysdeps/s390/bits/byteswap.h: Move to...
3242         * sysdeps/s390/s390-32/bits/byteswap.h: ...here.
3243         * sysdeps/s390/bits/huge_val.h: Move to...
3244         * sysdeps/s390/s390-32/bits/huge_val.h: ...here.
3245         * sysdeps/s390/bsd-_setjmp.S: Move to...
3246         * sysdeps/s390/s390-32/bsd-_setjmp.S: ...here.
3247         * sysdeps/s390/bsd-setjmp.S: Move to...
3248         * sysdeps/s390/s390-32/bsd-setjmp.S: ...here.
3249         * sysdeps/s390/bzero.S: Move to...
3250         * sysdeps/s390/s390-32/bzero.S: ...here.
3251         * sysdeps/s390/elf/bsd-_setjmp.S: Move to...
3252         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: ...here.
3253         * sysdeps/s390/elf/bsd-setjmp.S: Move to...
3254         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: ...here.
3255         * sysdeps/s390/elf/start.S: Move to...
3256         * sysdeps/s390/s390-32/elf/start.S: ...here.
3257         * sysdeps/s390/ffs.c: Move to...
3258         * sysdeps/s390/s390-32/ffs.c: ...here.
3259         * sysdeps/s390/memchr.S: Move to...
3260         * sysdeps/s390/s390-32/memchr.S: ...here.
3261         * sysdeps/s390/memcpy.S: Move to...
3262         * sysdeps/s390/s390-32/memcpy.S: ...here.
3263         * sysdeps/s390/memset.S: Move to...
3264         * sysdeps/s390/s390-32/memset.S: ...here.
3265         * sysdeps/s390/mul_1.S: Move to...
3266         * sysdeps/s390/s390-32/mul_1.S: ...here.
3267         * sysdeps/s390/s390-mcount.S: Move to...
3268         * sysdeps/s390/s390-32/s390-mcount.S: ...here.
3269         * sysdeps/s390/strcpy.S: Move to...
3270         * sysdeps/s390/s390-32/strcpy.S: ...here.
3271         * sysdeps/s390/strncpy.S: Move to...
3272         * sysdeps/s390/s390-32/strncpy.S: ...here.
3273         * sysdeps/s390/sub_n.S: Move to...
3274         * sysdeps/s390/s390-32/sub_n.S: ...here.
3276 2001-03-13  Martin Schwidefsky  <schwidefsky@de.ibm.com>
3278         * sysdeps/s390/s390-64/Dist: New file.
3279         * sysdeps/s390/s390-64/Implies: New file.
3280         * sysdeps/s390/s390-64/Makefile: New file.
3281         * sysdeps/s390/s390-64/__longjmp.c: New file.
3282         * sysdeps/s390/s390-64/add_n.S: New file.
3283         * sysdeps/s390/s390-64/atomicity.h: New file.
3284         * sysdeps/s390/s390-64/backtrace.c: New file.
3285         * sysdeps/s390/s390-64/bcopy.S: New file.
3286         * sysdeps/s390/s390-64/bits/byteswap.h: New file.
3287         * sysdeps/s390/s390-64/bits/huge_val.h: New file.
3288         * sysdeps/s390/s390-64/bits/setjmp.h: New file.
3289         * sysdeps/s390/s390-64/bits/string.h: New file.
3290         * sysdeps/s390/s390-64/bsd-_setjmp.S: New file.
3291         * sysdeps/s390/s390-64/bsd-setjmp.S: New file.
3292         * sysdeps/s390/s390-64/bzero.S: New file.
3293         * sysdeps/s390/s390-64/dl-machine.h: New file.
3294         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: New file.
3295         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: New file.
3296         * sysdeps/s390/s390-64/elf/setjmp.S: New file.
3297         * sysdeps/s390/s390-64/elf/start.S: New file.
3298         * sysdeps/s390/s390-64/ffs.c: New file.
3299         * sysdeps/s390/s390-64/initfini.c: New file.
3300         * sysdeps/s390/s390-64/memchr.S: New file.
3301         * sysdeps/s390/s390-64/memcpy.S: New file.
3302         * sysdeps/s390/s390-64/memset.S: New file.
3303         * sysdeps/s390/s390-64/s390x-mcount.S: New file.
3304         * sysdeps/s390/s390-64/setjmp.S: New file.
3305         * sysdeps/s390/s390-64/strcpy.S: New file.
3306         * sysdeps/s390/s390-64/strncpy.S: New file.
3307         * sysdeps/s390/s390-64/sub_n.S: New file.
3308         * sysdeps/s390/s390-64/sysdep.h: New file.
3310 2001-03-13  Martin Schwidefsky  <schwidefsky@de.ibm.com>
3312         * scripts/config.guess: Add support for Linux on 64 bit S/390.
3313         * scripts/config.sub: Likewise.
3315 2001-03-13  Martin Schwidefsky  <schwidefsky@de.ibm.com>
3317         * configure.in: Add support for 64 bit S/390.
3319         * elf/elf.h: Add new relocations for 64 bit S/390.
3321         * shlib-versions: Add rules for Linux on 64 bit S/390.
3323 2001-03-13  Martin Schwidefsky  <schwidefsky@de.ibm.com>
3325         * sysdeps/s390/__longjmp.c: Move to...
3326         * sysdeps/s390/s390-32/__longjmp.c: ...here.  Add code
3327         to load the floating point registers that should be saved
3328         according to the ABI.
3330         * sysdeps/s390/bits/setjmp.h: Move to...
3331         * sysdeps/s390/s390-32/bits/setjmp.h: ...here.  Avoid
3332         the use of long long in the __jmp_buf type definition.
3334         * sysdeps/s390/bits/string.h: Move to...
3335         * sysdeps/s390/s390-32/bits/string.h: ...here.  Add several missing
3336         #ifndef _FORCE_INLINES.
3338         * sysdeps/s390/dl-machine.h: Move to...
3339         * sysdeps/s390/s390-32/dl-machine.h: ...here.  Add a check for the
3340         executables EI_CLASS in elf_machine_matches_host.
3342         * sysdeps/s390/elf/setjmp.S: Move to...
3343         * sysdeps/s390/s390-32/elf/setjmp.S: ...here.  Replace
3344         branches to globally defined symbol __sigsetjmp by branches to
3345         a local label (this avoids the generation of a R_390_PC16DBL
3346         relocation in -fpic code).
3348         * sysdeps/s390/gmp-mparam.h: Use defines from <bits/wordsize.h> to
3349         calculate BITS_PER_MP_LIMB, BYTES_PER_MP_LIMB and BITS_PER_LONGINT.
3351         * sysdeps/s390/initfini.c: Move to...
3352         * sysdeps/s390/s390-32/initfini.c: ...here.  Replace ALIGN with
3353         ".align 4,0x07".
3355         * sysdeps/s390/setjmp.S: Move to...
3356         * sysdeps/s390/s390-32/setjmp.S: ...here.  Add code to store the
3357         floating point registers that should be saved according to the ABI.
3359         * sysdeps/s390/sys/ucontext.h: Remove since it is unused.
3361         * sysdeps/unix/sysv/linux/s390/sysdep.h: Move to...
3362         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: ...here. Include
3363         sysdeps/s390/s390-32/sysdep.h instead of sysdeps/s390/sysdep.h.
3365 2001-03-13  Martin Schwidefsky  <schwidefsky@de.ibm.com>
3367         * configure.in: Change machine=s390 to machine=s390/s390-32.
3369         * elf/elf.h: Correct comment for R_390_PLT16DBL.
3371 2001-03-12  Jakub Jelinek  <jakub@redhat.com>
3373         * csu/Makefile (abi-tag.h): Define OS and version separately, allow
3374         version to be overriden from config.h.
3375         * csu/abi-note.S: Use OS and version separately, include config.h.
3376         * elf/dl-load.c (_dl_osversion): New.
3377         (_dl_map_object_from_fd): Kill some warnings.
3378         (open_verify): Check .note.ABI-tag of the library if present.
3379         * elf/Makefile (CPPFLAGS-dl-load.c): Add -I$(csu-objpfx).
3380         * elf/cache.c (struct cache_entry): Add osversion.
3381         (print_entry): Print osversion.
3382         (print_cache): Pass osversion to it.
3383         (compare): Sort according to osversion.
3384         (save_cache): Set osversion.
3385         (add_to_cache): Add osversion argument.
3386         * sysdeps/generic/ldconfig.h (add_to_cache, process_file,
3387         process_elf_file): Add osversion argument.
3388         * elf/readlib.c (process_file): Likewise.
3389         * sysdeps/generic/readelflib.c (process_elf_file): Likewise.
3390         * sysdeps/unix/sysv/linux/ia64/readelflib.c (process_elf_file,
3391         process_elf32_file, process_elf64_file): Likewise.
3392         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file,
3393         process_elf32_file, process_elf64_file): Likewise.
3394         * sysdeps/unix/sysv/linux/sparc/readelflib.c (process_elf_file,
3395         process_elf32_file, process_elf64_file): Likewise.
3396         * elf/ldconfig.c (manual_link): Pass it.
3397         (search_dir): Issue diagnostic if two libs with the same soname in
3398         the same directory have different .note.ABI-tag.  Record osversion in
3399         dlib_entry and use it from there.
3400         (struct lib_entry): Remove.
3401         (struct dlib_entry): Add osversion.
3402         * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Check
3403         osversion.
3404         * sysdeps/generic/dl-cache.h (struct file_entry_new): Replace __unused
3405         field with osversion.
3406         * sysdeps/generic/ldsodefs.h (_dl_osversion): Declare.
3407         * sysdeps/unix/sysv/linux/init-first.c: Include ldsodefs.h.
3408         * sysdeps/unix/sysv/linux/dl-osinfo.h (DL_SYSDEP_OSCHECK): Save kernel
3409         version in _dl_osversion.
3410         * sysdeps/unix/sysv/linux/configure.in: Define __ABI_TAG_VERSION.
3411         * Makerules (build-shlib-helper, build-module-helper): New.
3412         (build-shlib, build-module-helper): Make sure .note.ABI-tag comes
3413         early.
3414         * config.h.in (__ABI_TAG_VERSION): Add.
3415         * elf/dl-minimal.c (__strtoul_internal): Set endptr on return.
3416         * sysdeps/unix/sysv/linux/i386/dl-librecon.h (EXTRA_LD_ENVVARS):
3417         Handle LD_ASSUME_KERNEL.
3418         * sysdeps/unix/sysv/linux/dl-librecon.h: New.
3420 2001-03-15  Ulrich Drepper  <drepper@redhat.com>
3422         * timezone/antarctica: Update from tzdata2001a.
3423         * timezone/asia: Likewise.
3424         * timezone/australasia: Likewise.
3425         * timezone/backward: Likewise.
3426         * timezone/etcetera: Likewise.
3427         * timezone/europe: Likewise.
3428         * timezone/leapseconds: Likewise.
3429         * timezone/northamerica: Likewise.
3430         * timezone/southamerica: Likewise.
3431         * timezone/systemv: Likewise.
3432         * timezone/yearistype: Likewise.
3433         * timezone/zone.tab: Likewise.
3434         * timezone/tzdump.c: Update from tzcode2001a.
3436 2001-03-15  H.J. Lu  <hjl@gnu.org>
3438         * intl/Makefile: Fix a typo.
3440 2001-03-14  David Mosberger  <davidm@hpl.hp.com>
3442         * gmon/gmon.c (write_call_graph): Avoid unaligned accesses when
3443         writing arc structures.
3445 2001-03-15  H.J. Lu  <hjl@gnu.org>
3447         * elf/Makefile ($(objpfx)tst-pathopt.out): Protected against
3448         cross-compiling.
3450 2001-03-13  Andreas Schwab  <schwab@suse.de>
3452         * posix/PTESTS2C.sed: Replace literal CRs by `\r'.
3454 2001-03-15  Ulrich Drepper  <drepper@redhat.com>
3456         * sysdeps/unix/sysv/linux/cmsg_nxthdr.c (__cmsg_nxthdr): Fix test
3457         for control message fitting into message data.
3458         Patch by James Antill <james@and.org>.
3460         * posix/tst-fnmatch.input: Add test case for FNM_PERIOD handling with
3461         FNM_EXTMATCH.
3463         * posix/fnmatch_loop.c: Optimize handling of ?() and @().
3464         * posix/fnmatch.c: Define STRLEN and STRCAT appropriately.
3466         * posix/Versions [libc] (GLIBC_2.2.3): Add fnmatch.
3467         * posix/fnmatch.c: Define with new default version GLIBC_2.2.3 to
3468         avoid running binaries with libc versions without FNM_EXTMATCH support.
3470         * include/wchar.h: Add prototype for __wcscat.
3471         * wcsmbs/wcscat.c: Define __wcscat and make wcscat weak alias.
3473         * posix/fnmatch.h (FNM_EXTMATCH): Define.
3474         * posix/fnmatch.c (NO_LEADING_PERIOD): Define.
3475         (posixly_correct): Move global variable here.
3476         (INT, EXT, END): Name new functions defined in fnmatch_loop.c.
3477         (fnmatch): Pretty printing.
3478         * posix/fnmatch_loop.c: Add code to handle FNM_EXTMATCH.
3479         * posix/tst-fnmatch.c: Recognize EXTMATCH flag.
3480         * posix/tst-fnmatch.input: Add tests for extended matching.
3482         * posix/testfnm.c: Add test for patterns with multiple ** before /.
3483         * posix/fnmatch_loop.c: Fix problem with the test above.
3485 2001-03-14  Ulrich Drepper  <drepper@redhat.com>
3487         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Remove
3488         reference to usqrt.
3490         * resolv/res_data.c (fp_nquery): Call __res_ninit not __res_init.
3492 2001-03-12  Andreas Jaeger  <aj@suse.de>
3494         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
3495         Use EM_X86_64 instead of EM_X8664.
3497 2001-03-12  Ulrich Drepper  <drepper@redhat.com>
3499         * sysdeps/ieee754/dbl-64/upow.h: Define nZERO and nINF.
3501         * sysdeps/ieee754/dbl-64/e_remainder.c: Fix handling of boundary
3502         conditions.
3504         * sysdeps/ieee754/dbl-64/e_pow.c: Fix handling of boundary
3505         conditions.
3507         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Handle Inf and NaN
3508         correctly.
3509         (__cos): Likewise.
3511         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Handle NaN
3512         correctly.
3513         (__ieee754_acos): Likewise.
3515 2001-03-12  Andreas Jaeger  <aj@suse.de>
3517         * sysdeps/unix/sysv/linux/s390/sysdep.h (_LINUX_S390_SYSDEP_H):
3518         Fix typo.  Patch by Martin Schwidefsky  <schwidefsky@de.ibm.com>.
3520         * sysdeps/s390/bits/string.h: Protect __STRING_INLINE against
3521         redefinition.
3523 2001-03-11  Roland McGrath  <roland@frob.com>
3525         * sysdeps/mach/hurd/configure.in: Add a sanity check on $prefix.
3527 2001-03-11  Ulrich Drepper  <drepper@redhat.com>
3529         * sysdeps/ieee754/dbl-64/endian.h: Define also one of BIG_ENDI and
3530         LITTLE_ENDI.
3532         * sysdeps/ieee754/dbl-64/MathLib.h (Init_Lib): Use void as
3533         parameter list.
3535         Last-bit accurate math library implementation by IBM Haifa.
3536         Contributed by Abraham Ziv <ziv@il.ibm.com>, Moshe Olshansky
3537         <olshansk@il.ibm.com>, Ealan Henis <ealan@il.ibm.com>, and
3538         Anna Reitman <reitman@il.ibm.com>.
3539         * math/Makefile (dbl-only-routines): New variable.
3540         (libm-routines): Add $(dbl-only-routines).
3541         * sysdeps/ieee754/dbl-64/e_acos.c: Empty, definition is in e_asin.c.
3542         * sysdeps/ieee754/dbl-64/e_asin.c: Replaced with accurate asin
3543         implementation.
3544         * sysdeps/ieee754/dbl-64/e_atan2.c: Replaced with accurate atan2
3545         implementation.
3546         * sysdeps/ieee754/dbl-64/e_exp.c: Replaced with accurate exp
3547         implementation.
3548         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Don't use __kernel_sin and
3549         __kernel_cos.
3550         * sysdeps/ieee754/dbl-64/e_log.c: Replaced with accurate log
3551         implementation.
3552         * sysdeps/ieee754/dbl-64/e_remainder.c: Replaced with accurate
3553         remainder implementation.
3554         * sysdeps/ieee754/dbl-64/e_pow.c: Replaced with accurate pow
3555         implementation.
3556         * sysdeps/ieee754/dbl-64/e_sqrt.c: Replaced with accurate sqrt
3557         implementation.
3558         * sysdeps/ieee754/dbl-64/k_cos.c: Empty, definition is in s_sin.c.
3559         * sysdeps/ieee754/dbl-64/k_sin.c: Empty, definition is in s_sin.c.
3560         * sysdeps/ieee754/dbl-64/s_atan.c: Replaced with accurate atan
3561         implementation.
3562         * sysdeps/ieee754/dbl-64/s_cos.c: Empty, definition is in s_sin.c.
3563         * sysdeps/ieee754/dbl-64/s_sin.c: Replaced with accurate sin/cos
3564         implementation.
3565         * sysdeps/ieee754/dbl-64/s_sincos.c: Rewritten to not use __kernel_sin
3566         and __kernel_cos.
3567         * sysdeps/ieee754/dbl-64/s_tan.c: Replaced with accurate tan
3568         implementation.
3569         * sysdeps/ieee754/dbl-64/Dist: Add new non-code files.
3570         * sysdeps/ieee754/dbl-64/MathLib.h: New file.
3571         * sysdeps/ieee754/dbl-64/asincos.tbl: New file.
3572         * sysdeps/ieee754/dbl-64/atnat.h: New file.
3573         * sysdeps/ieee754/dbl-64/atnat2.h: New file.
3574         * sysdeps/ieee754/dbl-64/branred.c: New file.
3575         * sysdeps/ieee754/dbl-64/branred.h: New file.
3576         * sysdeps/ieee754/dbl-64/dla.h: New file.
3577         * sysdeps/ieee754/dbl-64/doasin.c: New file.
3578         * sysdeps/ieee754/dbl-64/doasin.h: New file.
3579         * sysdeps/ieee754/dbl-64/dosincos.c: New file.
3580         * sysdeps/ieee754/dbl-64/dosincos.h: New file.
3581         * sysdeps/ieee754/dbl-64/endian.h: New file.
3582         * sysdeps/ieee754/dbl-64/halfulp.c: New file.
3583         * sysdeps/ieee754/dbl-64/mpa.c: New file.
3584         * sysdeps/ieee754/dbl-64/mpa.h: New file.
3585         * sysdeps/ieee754/dbl-64/mpa2.h: New file.
3586         * sysdeps/ieee754/dbl-64/mpatan.c: New file.
3587         * sysdeps/ieee754/dbl-64/mpatan.h: New file.
3588         * sysdeps/ieee754/dbl-64/mpatan2.c: New file.
3589         * sysdeps/ieee754/dbl-64/mpexp.c: New file.
3590         * sysdeps/ieee754/dbl-64/mpexp.h: New file.
3591         * sysdeps/ieee754/dbl-64/mplog.c: New file.
3592         * sysdeps/ieee754/dbl-64/mplog.h: New file.
3593         * sysdeps/ieee754/dbl-64/mpsqrt.c: New file.
3594         * sysdeps/ieee754/dbl-64/mpsqrt.h: New file.
3595         * sysdeps/ieee754/dbl-64/mptan.c: New file.
3596         * sysdeps/ieee754/dbl-64/mydefs.h: New file.
3597         * sysdeps/ieee754/dbl-64/powtwo.tbl: New file.
3598         * sysdeps/ieee754/dbl-64/root.tbl: New file.
3599         * sysdeps/ieee754/dbl-64/sincos.tbl: New file.
3600         * sysdeps/ieee754/dbl-64/sincos32.c: New file.
3601         * sysdeps/ieee754/dbl-64/sincos32.h: New file.
3602         * sysdeps/ieee754/dbl-64/slowexp.c: New file.
3603         * sysdeps/ieee754/dbl-64/slowpow.c: New file.
3604         * sysdeps/ieee754/dbl-64/uasncs.h: New file.
3605         * sysdeps/ieee754/dbl-64/uatan.tbl: New file.
3606         * sysdeps/ieee754/dbl-64/uexp.h: New file.
3607         * sysdeps/ieee754/dbl-64/uexp.tbl: New file.
3608         * sysdeps/ieee754/dbl-64/ulog.h: New file.
3609         * sysdeps/ieee754/dbl-64/ulog.tbl: New file.
3610         * sysdeps/ieee754/dbl-64/upow.h: New file.
3611         * sysdeps/ieee754/dbl-64/upow.tbl: New file.
3612         * sysdeps/ieee754/dbl-64/urem.h: New file.
3613         * sysdeps/ieee754/dbl-64/uroot.h: New file.
3614         * sysdeps/ieee754/dbl-64/usncs.h: New file.
3615         * sysdeps/ieee754/dbl-64/utan.h: New file.
3616         * sysdeps/ieee754/dbl-64/utan.tbl: New file.
3617         * sysdeps/i386/fpu/branred.c: New file.
3618         * sysdeps/i386/fpu/doasin.c: New file.
3619         * sysdeps/i386/fpu/dosincos.c: New file.
3620         * sysdeps/i386/fpu/halfulp.c: New file.
3621         * sysdeps/i386/fpu/mpa.c: New file.
3622         * sysdeps/i386/fpu/mpatan.c: New file.
3623         * sysdeps/i386/fpu/mpatan2.c: New file.
3624         * sysdeps/i386/fpu/mpexp.c: New file.
3625         * sysdeps/i386/fpu/mplog.c: New file.
3626         * sysdeps/i386/fpu/mpsqrt.c: New file.
3627         * sysdeps/i386/fpu/mptan.c: New file.
3628         * sysdeps/i386/fpu/sincos32.c: New file.
3629         * sysdeps/i386/fpu/slowexp.c: New file.
3630         * sysdeps/i386/fpu/slowpow.c: New file.
3631         * sysdeps/ia64/fpu/branred.c: New file.
3632         * sysdeps/ia64/fpu/doasin.c: New file.
3633         * sysdeps/ia64/fpu/dosincos.c: New file.
3634         * sysdeps/ia64/fpu/halfulp.c: New file.
3635         * sysdeps/ia64/fpu/mpa.c: New file.
3636         * sysdeps/ia64/fpu/mpatan.c: New file.
3637         * sysdeps/ia64/fpu/mpatan2.c: New file.
3638         * sysdeps/ia64/fpu/mpexp.c: New file.
3639         * sysdeps/ia64/fpu/mplog.c: New file.
3640         * sysdeps/ia64/fpu/mpsqrt.c: New file.
3641         * sysdeps/ia64/fpu/mptan.c: New file.
3642         * sysdeps/ia64/fpu/sincos32.c: New file.
3643         * sysdeps/ia64/fpu/slowexp.c: New file.
3644         * sysdeps/ia64/fpu/slowpow.c: New file.
3645         * sysdeps/m68k/fpu/branred.c: New file.
3646         * sysdeps/m68k/fpu/doasin.c: New file.
3647         * sysdeps/m68k/fpu/dosincos.c: New file.
3648         * sysdeps/m68k/fpu/halfulp.c: New file.
3649         * sysdeps/m68k/fpu/mpa.c: New file.
3650         * sysdeps/m68k/fpu/mpatan.c: New file.
3651         * sysdeps/m68k/fpu/mpatan2.c: New file.
3652         * sysdeps/m68k/fpu/mpexp.c: New file.
3653         * sysdeps/m68k/fpu/mplog.c: New file.
3654         * sysdeps/m68k/fpu/mpsqrt.c: New file.
3655         * sysdeps/m68k/fpu/mptan.c: New file.
3656         * sysdeps/m68k/fpu/sincos32.c: New file.
3657         * sysdeps/m68k/fpu/slowexp.c: New file.
3658         * sysdeps/m68k/fpu/slowpow.c: New file.
3660         * iconvdata/gconv-modules: Add a number of alias, mostly for IBM
3661         codepages.
3663 2001-03-11  Andreas Jaeger  <aj@suse.de>
3665         * elf/elf.h (EM_*): Synch with official list.
3667 2001-03-07  David Mosberger  <davidm@hpl.hp.com>
3669         * sysdeps/ia64/bits/fenv.h (FE_NONIEEE_ENV): New macro.
3671 2001-03-07  Jes Sorensen  <jes@linuxcare.com>
3673         * sysdeps/unix/sysv/linux/ia64/ioperm.c (_ioperm): Remove unused
3674         variables addr & len.
3676 2001-02-22  Jes Sorensen  <jes@linuxcare.com>
3678         * sysdeps/ia64/fpu/feenablxcpt.c (feenableexcept): Remove
3679         punctuation in asm constraint.
3681 2001-03-07  Mark Kettenis  <kettenis@gnu.org>
3683         * resolv/netdb.h [__USE_GNU]: Define __need_timespec and include
3684         <time.h> to get definition of `struct timespec'.
3686 2001-03-08  Jakub Jelinek  <jakub@redhat.com>
3688         * elf/rtld.c (dl_main): If tracing, warn about undefined symbols if
3689         LD_WARN=1, not if LD_WARN is unset.
3691 2001-03-07  Andreas Schwab  <schwab@suse.de>
3693         * elf/ldconfig.h: Moved to ...
3694         * sysdeps/generic/ldconfig.h: ... here.
3695         * sysdeps/unix/sysv/linux/i386/ldconfig.h: New file.
3696         * sysdeps/unix/sysv/linux/m68k/ldconfig.h: New file.
3697         * sysdeps/unix/sysv/linux/ia64/ldconfig.h: New file.
3698         * elf/readlib.c (interpreters, known_libs): Use
3699         SYSDEP_KNOWN_INTERPRETER_NAMES and SYSDEP_KNOWN_LIBRARY_NAMES
3700         instead of hard coding old names.
3702 2001-03-09  Ulrich Drepper  <drepper@redhat.com>
3704         * catgets/Makefile (generated): Add test-gencat.h.
3705         (sample.SJIS.cat): Also generate header.
3706         * catgets/sample.SJIS: Add new set and message, both with symbolic
3707         names.
3708         * catgets/test-gencat.sh: Also compare generated header with what
3709         we expect.
3711 2001-03-07  Jakub Jelinek  <jakub@redhat.com>
3713         * catgets/gencat.c (read_input_file): Preserve properly symbolic
3714         names.
3716 2001-03-06  Andreas Jaeger  <aj@suse.de>
3718         * sysdeps/s390/dl-machine.h (elf_machine_relplt): Removed, it's not
3719         needed.
3720         (elf_machine_pltrel_p): Likewise.
3721         * sysdeps/powerpc/dl-machine.h: Likewise.
3722         * sysdeps/generic/dl-machine.h (elf_machine_pltrel_p): Likewise.
3724 2001-03-09  Ulrich Drepper  <drepper@redhat.com>
3726         * sysdeps/unix/sysv/linux/arm/Dist: Add dl-procinfo.c and
3727         dl-procinfo.h.
3729 2001-03-05  Philip Blundell  <philb@gnu.org>
3731         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c: New file.
3732         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h: New file.
3733         * sysdeps/unix/sysv/linux/arm/Makefile [subdir=elf]
3734         (sysdep-dl-routines, sysdep_routines, sysdep-rtld-routines): Add
3735         dl-procinfo.
3737 2001-03-09  Ulrich Drepper  <drepper@redhat.com>
3739         * dlfcn/tstatexit.c (main): Don't perform the test if __dso_handle
3740         is not available.
3741         * dlfcn/tstcxaatexit.c (main): Likewise.
3743 2001-03-10  Andreas Jaeger  <aj@suse.de>
3745         * sysdeps/i386/fpu/libm-test-ulps: Revert last patch.
3747 2001-03-09  Andreas Jaeger  <aj@suse.de>
3749         * sysdeps/s390/dl-machine.h (elf_machine_matches_host): Handle
3750         both new and old EM_S390 values.
3751         (EM_S390_OLD): New constant.
3753         * elf/elf.h (EM_S390): Use official value.
3755 2001-03-09  Ulrich Drepper  <drepper@redhat.com>
3757         * conform/data/sys/socket.h-data: Allow SO* symbols.
3759 2001-03-07  Andreas Schwab  <schwab@suse.de>
3761         * sysdeps/ia64/fpu/Makefile: Modify sysdep_routines instead of
3762         routines, and sysdep-CPPFLAGS instead of CPPFLAGS.
3764 2001-03-07  Andreas Jaeger  <aj@suse.de>
3766         * resolv/Makefile (routines): Only build gai_sigqueue when threads
3767         are available.
3769 2001-03-07  Jakub Jelinek  <jakub@redhat.com>
3771         * elf/ldconfig.c (_dl_sysdep_message): Remove.
3772         * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h: Include
3773         ldsodefs.h.
3774         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h: Likewise.
3776         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Use
3777         _dl_error_printf instead of _dl_sysdep_error.
3778         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
3779         * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h (_dl_procinfo):
3780         Use _dl_printf instead of _dl_sysdep_message.
3781         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h (_dl_procinfo):
3782         Likewise.
3784 2001-03-06  Ben Collins  <bcollins@debian.org>
3786         * manual/arith.texi (Integers): Fix documentation of fast and
3787         least integer typedefs.
3789 2001-03-06  Jakub Jelinek  <jakub@redhat.com>
3791         * resolv/Depend: New file.
3792         * resolv/Makefile (extra-libs, tests): Build libanl and ga_test only
3793         when libpthread is built.
3795 2001-03-06  Andreas Jaeger  <aj@suse.de>
3797         * sysdeps/i386/fpu/libm-test-ulps: Add some deltas.
3799         * sysdeps/sh/dl-machine.h (elf_machine_rela): Add missing comma.
3800         Patch by kaz Kojima <kkojima@rr.iij4u.or.jp>.
3802 2001-03-05  Ulrich Drepper  <drepper@redhat.com>
3804         * stdlib/Versions: Remove __new_exitfn again.  Not needed.
3806 2001-03-05  Andreas Jaeger  <aj@suse.de>
3808         * stdlib/msort.c (qsort): Don't use alloca in a function call.
3810 2001-03-05  Ulrich Drepper  <drepper@redhat.com>
3812         * sysdeps/unix/sysv/linux/bits/stat.h (__S_TYPEISMQ, __S_TYPEISSEM,
3813         __S_TYPEISSHM): Rewrite to enforce correct use the macros.  They still
3814         always return zero.
3815         * sysdeps/unix/sysv/linux/alpha/bits/stat.h: Likewise.
3816         * sysdeps/unix/sysv/linux/ia64/bits/stat.h: Likewise.
3817         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
3818         * sysdeps/unix/sysv/linux/m68k/bits/stat.h: Likewise.
3819         * sysdeps/unix/sysv/linux/mips/bits/stat.h: Likewise.
3820         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
3821         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
3823 2001-03-04  Andreas Jaeger  <aj@suse.de>
3825         * stdlib/longlong.h: Don't use multi-line strings.
3826         * iconvdata/tst-loading.c: Likewise.
3828         * csu/Makefile ($(objpfx)version-info.h): Don't use multi-line
3829         string.
3831 2001-03-04  Ulrich Drepper  <drepper@redhat.com>
3833         * sysdeps/ia64/fpu/libm-test-ulps: Adjust for addition of lgammal.
3835         * rt/lio_listio.c: Add a few asserts.
3837         * elf/global.c: New file.
3838         * elf/globalmod1.c: New file.
3839         * elf/Makefile: Add rules to build and run global.
3841         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Define SI_ASYNCNL.
3842         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
3843         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Likewise.
3844         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
3845         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/siginfo.h: Likewise.
3847         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: New file.
3848         Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>.
3850         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Fix handling of boundary cases.
3852         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Always initialize sign variable.
3853         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
3855         * sysdeps/i386/fpu/libm-test-ulps: Adjust after addition of lgammal.
3857         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Fix typo in last change.
3859 2001-03-04  Andreas Jaeger  <aj@suse.de>
3861         * resolv/tst-aton.c: Add testcase for IP with four periods.
3863         * resolv/inet_addr.c: Don't recognize an IP with four periods.
3864         Patch by Andre' Breiler <A.Breiler@gmx.net>.
3866 2001-02-27  Philip Blundell  <pb@futuretv.com>
3868         * elf/elf.h: Add new ARM definitions from latest (B-01)
3869         specification.  Correct naming of EF_ARM_ALIGN8 et al.
3871 2001-03-04  Ulrich Drepper  <drepper@redhat.com>
3873         * stdio-common/tst-printf.sh: Remove bashisms.
3874         Patch by Matthew Clarke <Matthew_Clarke@mindlink.bc.ca>.
3876 2001-03-03  Ulrich Drepper  <drepper@redhat.com>
3878         * Versions.def: Add libanl definition.
3879         * shlib-versions: Add entry for libanl.
3880         * resolv/Makefile (distribute): Add gai_misc.h and ga_test.c.
3881         (routines): Add gai_sigqueue.
3882         (extra-libs): Add libanl.
3883         (libanl-routines): New variable.
3884         Add rules to build libanl and ga_test.
3885         * resolv/Versions [libc] (GLIBC_2.2.3): Add __gai_sigqueue.
3886         [libanl]: New library.
3887         * resolv/netdb.h: Add definitions for libanl.
3888         * resolv/getaddrinfo_a.c: New file.
3889         * resolv/gai_cancel.c: New file.
3890         * resolv/gai_error.c: New file.
3891         * resolv/gai_misc.c: New file.
3892         * resolv/gai_misc.h: New file.
3893         * resolv/gai_notify.c: New file.
3894         * resolv/gai_suspend.c: New file.
3895         * resolv/ga_test.c: New file.
3896         * sysdeps/generic/gai_sigqueue.c: New file.
3897         * sysdeps/unix/sysv/linux/gai_sigqueue.c: New file.
3898         * sysdeps/generic/bits/siginfo.h: Allow __need_sigevent_t being defined
3899         and provide only that definition.
3900         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Likewise.
3901         * sysdeps/unix/sysv/linux/bits/siginfo.h: Likewise.
3902         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
3903         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Likewise.
3904         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
3905         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/siginfo.h: Likewise.
3907         * rt/aio_misc.c: Fix typos in comments.
3908         * rt/lio_listio.c: Pretty printing.  Little optimization in request
3909         list handling.
3911         * elf/rtld.c: Remove commented out code.
3913         * sysdeps/unix/sysv/linux/linux_fsinfo.h (SHMFS_SUPER_MAGIC):
3914         Update for real 2.4 kernels.
3916 2001-03-01  Ulrich Drepper  <drepper@redhat.com>
3918         * elf/dl-load.c: Pretty printing.
3920         * elf/dl-object.c (_dl_new_object): Don't add the loader's scope
3921         twice.
3923 2001-02-28  Ulrich Drepper  <drepper@redhat.com>
3925         * sysdeps/alpha/dl-machine.h (elf_machine_rela): Don't handle
3926         relocations which are not in ld.so if RTLD_BOOTSTRAP is defined.
3928         * sysdeps/powerpc/dl-machine.c (__process_machine_rela): Fix typo.
3930         * elf/dl-misc.c (_dl_debug_vdprintf): Fix typo visible on 64-bit
3931         machines.
3933         * sysdeps/unix/sysv/linux/powerpc/sysdep.h (C_TEXT): Define.
3935 2001-02-27  Ulrich Drepper  <drepper@redhat.com>
3937         * sysdeps/powerpc/elf/libc-start.c: Use new output functions and
3938         _dl_debug_mask.
3940         * elf/Versions [ld]: Don't export _dl_debug_message anymore.  Export
3941         _dl_debug_printf.
3942         * elf/dl-misc.c: Remove definition of _dl_sysdep_output and
3943         _dl_debug_message.  Define _dl_debug_vdprintf, _dl_debug_printf,
3944         _dl_debug_printf_c, and _dl_printf.
3945         * sysdeps/generic/ldsodefs.h: Don't declare _dl_sysdep_output,
3946         _dl_debug_message, _dl_sysdep_message, _dl_sysdep_error, and
3947         _dl_sysdep_fatal.  Declare _dl_debug_printf, _dl_debug_printf_c,
3948         _dl_printf, _dl_error_printf, and _dl_fatal_printf.
3949         * elf/dl-close.c: Replace use of old output functions with the new
3950         ones.
3951         * elf/dl-deps.c: Likewise.
3952         * elf/dl-error.c: Likewise.
3953         * elf/dl-fini.c: Likewise.
3954         * elf/dl-init.c: Likewise.
3955         * elf/dl-load.c: Likewise.
3956         * elf/dl-lookup.c: Likewise.
3957         * elf/dl-minimal.c: Likewise.
3958         * elf/dl-open.c: Likewise.
3959         * elf/dl-profile.c: Likewise.
3960         * elf/dl-reloc.c: Likewise.
3961         * elf/dl-version.c: Likewise.
3962         * elf/do-lookup.h: Likewise.
3963         * elf/rtld.c: Likewise.
3964         * sysdeps/generic/dl-cache.c: Likewise.
3965         * sysdeps/generic/dl-sysdep.c: Likewise.
3966         * sysdeps/generic/libc-start.c: Likewise.
3967         * sysdeps/i386/dl-machine.h: Likewise.
3968         * sysdeps/arm/dl-machine.h: Likewise.
3969         * sysdeps/hppa/dl-machine.h: Likewise.
3970         * sysdeps/m68k/dl-machine.h: Likewise.
3971         * sysdeps/powerpc/dl-machine.h: Likewise.
3972         * sysdeps/s390/dl-machine.h: Likewise.
3973         * sysdeps/sh/dl-machine.h: Likewise.
3974         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
3975         * sysdeps/unix/sysv/linux/i386/dl-librecon.h: Likewise.
3976         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
3978         * sysdeps/generic/ldsodefs.h: Remove _dl_secure declaration.
3980         * dlfcn/Makefile: Don't run tstatexit test unless .hidden is
3981         supported by assembler.
3983         * sysdeps/generic/ldsodefs.h: Remove commented-out variable
3984         declaractions.
3986         * elf/rtld.c: Little optimizations in handling _dl_lazy.
3988         * elf/cache.c (save_cache): Portability changes.
3989         * elf/dl-profile.c (_dl_start_profile): Likewise.
3991         * elf/sln.c: Cleanups.  Remove arbitrary limits.
3993         * elf/dl-close.c: Replace _dl_debug_* variables with _dl_debug_mask.
3994         * elf/dl-deps.c: Likewise.
3995         * elf/dl-fini.c: Likewise.
3996         * elf/dl-init.c: Likewise.
3997         * elf/dl-load.c: Likewise.
3998         * elf/dl-lookup.c: Likewise.
3999         * elf/dl-open.c: Likewise.
4000         * elf/dl-reloc.c: Likewise.
4001         * elf/dl-support.c: Likewise.
4002         * elf/dl-version.c: Likewise.
4003         * elf/do-lookup.h: Likewise.
4004         * elf/rtld.c: Likewise.
4005         * sysdeps/generic/dl-cache.c: Likewise.
4006         * sysdeps/generic/ldsodefs.h: Likewise.
4007         * sysdeps/generic/libc-start.c: Likewise.
4008         * elf/Versions: Don't export _dl_debug_impcalls and _dl_debug_files.
4009         Export _dl_debug_mask.
4010         * Versions.def: Define GLIBC_2.2.3 for ld.
4012 2001-02-26  Greg McGary  <greg@mcgary.org>
4014         * sysdeps/unix/make-syscalls.sh (ptr): Handle `V' keyletter.
4016 2001-02-26  Paul Eggert  <eggert@twinsun.com>
4018         Modify mkstemp.c and tempname.c so that they can be used by
4019         GNU applications on non-glibc platforms.
4021         * misc/mkstemp.c (__GT_FILE): Define to zero if not defined.
4023         * sysdeps/posix/tempname.c: Include <config.h> if HAVE_CONFIG_H.
4024         Include <stddef.h>, <stdint.h>, <string.h> only if
4025         STDC_HEADERS || _LIBC.
4026         Include <fcntl.h> only if HAVE_FCNTL_H || _LIBC.
4027         Include <unistd.h> only if HAVE_UNISTD_H || _LIBC.
4028         Include <sys/time.h> only if HAVE_SYS_TIME_H || _LIBC.
4029         (__set_errno): Define this macro if <errno.h> doesn't.
4030         (P_tmpdir, TMP_MAX, __GT_FILE, __GT_BIGFILE, __GT_DIR, __GT_NOCREATE):
4031         Define these macros if <stdio.h> doesn't.
4032         (S_ISDIR, S_IRUSR, S_IWUSR, S_IXUSR):
4033         Define these macros if <sys/stat.h> doesn't.
4034         Ignore <sys/stat.h> S_ISDIR if STAT_MACROS_BROKEN.
4035         (stat64, __getpid, __gettimeofday, __mkdir, __open, __open64,
4036         lxstat64, __xstat64): Define if not _LIBC.
4037         (struct_stat64): New macro.
4038         (direxists, __gen_tempname): Use it, to avoid a
4039         portability problem with Solaris 8.
4040         (__secure_getenv): Define if ! (HAVE___SECURE_GETENV || _LIBC).
4041         (__gen_tempname): Invoke gettimeofday only if
4042         HAVE_GETTIMEOFDAY || _LIBC; otherwise, fall back on plain "time".
4043         Use portable macros like S_IRUSR | S_IWUSR rather than nonportable
4044         octal values like 0600.
4046 2001-02-26  Ulrich Drepper  <drepper@redhat.com>
4048         * sysdeps/ieee754/ldbl-96/e_jnl.c: New file.
4049         Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>.
4051         * sysdeps/i386/fpu/libm-test-ulps: Update for jnl and ynl introduction.
4052         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
4054         * posix/wordexp-test.c (testit): Remove warnings.
4056         * dlfcn/Makefile (distribute): Add modatexit.c and modcxaatexit.c.
4057         (tests): Add tstatexit and tstcxaatexit.
4058         (module-names): Add modatexit and modcxaatexit.
4059         Add rules to build and run tstatexit and tstcxaatexit.
4060         * dlfcn/modatexit.c: New file.
4061         * dlfcn/modcxaatexit.c: New file.
4062         * dlfcn/tstatexit.c: New file.
4063         * dlfcn/tstcxaatexit.c: New file.
4065         * io/Makefile: Pass -DHAVE_DOT_HIDDEN to stat and mknod functions if
4066         .hidden is available.
4067         * io/stat.c: If .hidden is available use it to avoid exporting
4068         functions.
4069         * io/fstat.c: Likewise.
4070         * io/lstat.c: Likewise.
4071         * io/stat64.c: Likewise.
4072         * io/fstat64.c: Likewise.
4073         * io/lstat64.c: Likewise.
4074         * sysdeps/generic/mknod.c: Likewise.
4076         * malloc/mtrace.c: Use __cxa_atexit and not atexit.
4077         * sysdeps/generic/bb_init_func.c: Likewise.
4078         * sysdeps/generic/libc-start.c: Likewise.
4080         * stdlib/atexit.c (__new_exitfn): Move to cxa_atexit.c.
4081         (atexit): Implement using __cxa_atexit.
4082         Use .hidden if availble to avoid exporting atexit.
4083         * stdlib/cxa_atexit.c (__new_exitfn): Moved to here from atexit.c.
4084         * stdlib/Versions: Export __new_exitfn for GLIBC_2.2.3.
4085         * stdlib/Makefile (routines): Add old_atexit.
4086         (static-only-routines): Add atexit.
4087         Pass -DHAVE_DOT_HIDDEN for atexit.c if .hidden is available.
4088         * stdlib/old_atexit.c: New file.
4090         * intl/Makefile: Remove bogus endif.
4092 2001-02-26  Andreas Jaeger  <aj@suse.de>
4094         * iconvdata/Makefile (tests): Fix typo in last patch.
4096         * intl/Makefile (tests): Run mtrace-tst-gettext only when perl is
4097         available.
4098         Reported by Achim Gottinger <achim@gentoo.org>.
4100 2001-02-25  Andreas Jaeger  <aj@suse.de>
4102         * intl/Makefile (plural.c): Reorder rules so that they work if
4103         BISON doesn't exist.
4105 2001-02-25  Ulrich Drepper  <drepper@redhat.com>
4107         * intl/locale.alias: Don't use nb_NO but define aliases for it.
4109 2001-02-23  Ulrich Drepper  <drepper@redhat.com>
4111         * sysdeps/i386/strtok.S: Continue to return NULL after the first
4112         time this happened.
4114 2001-02-23  Andreas Jaeger  <aj@suse.de>
4116         * string/tester.c (test_strtok_r): Add testcase.
4117         (test_strtok_r): Always initialize cp for proper checking.
4119         * sysdeps/generic/strtok.c (strtok): Handle case of first strtok
4120         returning NULL correctly.
4121         Patch by Fumitoshi UKAI <ukai@debian.or.jp>.
4122         * sysdeps/generic/strtok_r.c (__strtok_r): Likewise.
4124 2001-02-23  Ulrich Drepper  <drepper@redhat.com>
4126         * sysdeps/unix/sysv/aix/bits/types.h: Define __need_NULL before
4127         including <stddef.h>.
4128         * sysdeps/unix/sysv/aix/write.c: Define alias __libc_write.
4129         * include/libc-symbols.h (weak_alias): Don't use .weak if
4130         HAVE_ASM_GLOBAL_DOT_NAME is defined.
4131         Patches by Michael Keezer <mkeezer@redhat.com>.
4133         * sysdeps/generic/ftime.c: Don't include <sys/time.h> at all.
4134         Patch by Michael Keezer <mkeezer@redhat.com>.
4136         * sysdeps/unix/sysv/aix/Dist: Remove restf.S and savef.S.
4137         * sysdeps/unix/sysv/aix/Makefile [$(subdir) == misc]
4138         (sysdep_routines): Remove restf.S and savef.S.
4139         * sysdeps/unix/sysv/aix/restf.S. Removed.
4140         * sysdeps/unix/sysv/aix/savef.S. Removed.
4141         * sysdeps/powerpc/fprrest.S: Use C_TEXT to define label.  Also define
4142         alternative names used on some platforms.
4143         * sysdeps/powerpc/fprsave.S: Likewise.
4144         * sysdeps/powerpc/gprrest0.S: Likewise.
4145         * sysdeps/powerpc/gprrest1.S: Likewise.
4146         * sysdeps/powerpc/gprsave0.S: Likewise.
4147         * sysdeps/powerpc/gprsave1.S: Likewise.
4148         Patch by Michael Keezer <mkeezer@redhat.com>.
4150 2001-02-22  Ulrich Drepper  <drepper@redhat.com>
4152         * sysdeps/i386/elf/start.S (_fp_hw): Actually define label.
4154 2001-02-22  Andreas Jaeger  <aj@suse.de>
4156         * string/tst-strtok.c (main): Fix error messages.
4158 2001-02-22  Andreas Jaeger  <aj@suse.de>
4160         * math/Makefile: Remove omit-long-double-fcts.
4162 2001-02-18  Maciej W. Rozycki  <macro@ds2.pg.gda.pl>
4164         * sysdeps/mips/bsd-_setjmp.S (_setjmp): Reorder instructions to
4165         avoid problems on MIPS I.
4166         * sysdeps/mips/bsd-setjmp.S (setjmp): Likewise.
4168         * sysdeps/mips/dl-machine.h (RTLD_START): Remove duplicate ".set
4169         noreorder".
4171 2001-02-21  Ulrich Drepper  <drepper@redhat.com>
4173         * posix/fnmatch_loop.c: Handle ranges outside glibc correctly.
4175         * sysdeps/generic/ftime.c: Include <time.h>.
4177         * configure.in: Don't check for libgd if user passed --without-gd.
4178         Patch by Achim Gottinger <achim@gentoo.org>.
4180         * sysdeps/i386/i686/strtok.S: Continue to return NULL after the
4181         first time this happened.
4182         * string/Makefile (tests): Add tst-strtok.
4184 2001-02-21  Andreas Jaeger  <aj@suse.de>
4186         * string/tst-strtok.c: New testcase, reported by
4187         Andrew Church <achurch@achurch.org>.
4189 2001-02-20  Ulrich Drepper  <drepper@redhat.com>
4191         * libio/iofwide.c: Remove fwide alias.
4193 2001-02-20  Andreas Jaeger  <aj@suse.de>
4195         * iconvdata/Makefile (tests): Only run mtrace-tst-loading if perl
4196         is available.
4197         Reported by Achim Gottinger <achim@gentoo.org>.
4199 2001-02-19  Ulrich Drepper  <drepper@redhat.com>
4201         * iconv/tst-iconv1.c (main): Remove debugging code.
4203         * sysdeps/ieee754/flt-32/e_powf.c: Handle x == +-1 correctly.
4204         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
4206         * sysdeps/generic/e_scalb.c: Set invalid exception for invalid
4207         parameters.
4208         * sysdeps/generic/e_scalbf.c: Likewise.
4209         * sysdeps/generic/e_scalbl.c: Likewise.
4211         * sysdeps/ia64/fpu/Makefile (libm-sysdep-routines): Add libm_error,
4212         libm_frexp4, libm_frexp4f, libm_frexp4l, and all the functions also
4213         in libc.
4214         (routines): Replace libm_error with libc_libm_error.
4215         * sysdeps/ia64/fpu/Dist: Add libc_libm_error.c.
4216         * sysdeps/ia64/fpu/libc_libm_error.c: New file.
4218 2001-02-18  Mark Kettenis  <kettenis@gnu.org>
4220         * malloc/mtrace.c [USE_IN_LIBIO]: Define fopen as _IO_fopen64.
4221         (mtrace): Revert 2001-02-13 patch: use fopen instead of fopen64.
4223 2001-02-17  H.J. Lu  <hjl@gnu.org>
4225         * sysdeps/unix/sysv/linux/ia64/clone2.S: Use clone2 and don't use
4226         scratch registers across the system call.
4228 2001-02-19  Andreas Jaeger  <aj@suse.de>
4230         * malloc/Makefile (tests): Run mtrace only when perl is available.
4231         Reported by Achim Gottinger <achim@gentoo.org>.
4233 2001-02-19  Ulrich Drepper  <drepper@redhat.com>
4235         * sysdeps/ieee754/ldbl-96/e_j1l.c: New file.
4236         Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>.
4238         * sysdeps/i386/fpu/libm-test-ulps: Adjust error values for j1 and y1.
4239         * sysdeps/ia64/fpu/libm-test-ulps: Adjust error values for y1.
4240         * math/libm-test.inc (j1_test): Mark constants as long double.
4241         (jn_test): Likewise.
4242         (y1_test): Likewise.
4243         (yn_test): Likewise.
4245         * libio/iogetline.c: Move return until after last statement.
4247         * localedata/show-ucs-data.c: Don't show < > for better readability.
4249         * sysdeps/ia64/fpu/Dist: New file.
4250         * sysdeps/ia64/fpu/Makefile: New file.
4251         * sysdeps/ia64/fpu/Versions: New file.
4252         * sysdeps/ia64/fpu/e_acos.S: New file.
4253         * sysdeps/ia64/fpu/e_acosf.S: New file.
4254         * sysdeps/ia64/fpu/e_acosl.S: New file.
4255         * sysdeps/ia64/fpu/e_asin.S: New file.
4256         * sysdeps/ia64/fpu/e_asinf.S: New file.
4257         * sysdeps/ia64/fpu/e_asinl.S: New file.
4258         * sysdeps/ia64/fpu/e_atan2.S: New file.
4259         * sysdeps/ia64/fpu/e_atan2f.S: New file.
4260         * sysdeps/ia64/fpu/e_atan2l.c: New file.
4261         * sysdeps/ia64/fpu/e_cosh.S: New file.
4262         * sysdeps/ia64/fpu/e_coshf.S: New file.
4263         * sysdeps/ia64/fpu/e_coshl.S: New file.
4264         * sysdeps/ia64/fpu/e_exp.S: New file.
4265         * sysdeps/ia64/fpu/e_expf.S: New file.
4266         * sysdeps/ia64/fpu/e_expl.c: New file.
4267         * sysdeps/ia64/fpu/e_fmod.S: New file.
4268         * sysdeps/ia64/fpu/e_fmodf.S: New file.
4269         * sysdeps/ia64/fpu/e_fmodl.S: New file.
4270         * sysdeps/ia64/fpu/e_hypot.S: New file.
4271         * sysdeps/ia64/fpu/e_hypotf.S: New file.
4272         * sysdeps/ia64/fpu/e_hypotl.S: New file.
4273         * sysdeps/ia64/fpu/e_log.S: New file.
4274         * sysdeps/ia64/fpu/e_log10.c: New file.
4275         * sysdeps/ia64/fpu/e_log10f.c: New file.
4276         * sysdeps/ia64/fpu/e_log10l.c: New file.
4277         * sysdeps/ia64/fpu/e_logf.S: New file.
4278         * sysdeps/ia64/fpu/e_logl.c: New file.
4279         * sysdeps/ia64/fpu/e_pow.S: New file.
4280         * sysdeps/ia64/fpu/e_powf.S: New file.
4281         * sysdeps/ia64/fpu/e_powl.S: New file.
4282         * sysdeps/ia64/fpu/e_rem_pio2.c: New file.
4283         * sysdeps/ia64/fpu/e_rem_pio2f.c: New file.
4284         * sysdeps/ia64/fpu/e_remainder.S: New file.
4285         * sysdeps/ia64/fpu/e_remainderf.S: New file.
4286         * sysdeps/ia64/fpu/e_remainderl.S: New file.
4287         * sysdeps/ia64/fpu/e_scalb.S: New file.
4288         * sysdeps/ia64/fpu/e_scalbf.S: New file.
4289         * sysdeps/ia64/fpu/e_scalbl.S: New file.
4290         * sysdeps/ia64/fpu/e_sinh.S: New file.
4291         * sysdeps/ia64/fpu/e_sinhf.S: New file.
4292         * sysdeps/ia64/fpu/e_sinhl.S: New file.
4293         * sysdeps/ia64/fpu/e_sqrt.S: New file.
4294         * sysdeps/ia64/fpu/e_sqrtf.S: New file.
4295         * sysdeps/ia64/fpu/e_sqrtl.S: New file.
4296         * sysdeps/ia64/fpu/k_rem_pio2.c: New file.
4297         * sysdeps/ia64/fpu/k_rem_pio2f.c: New file.
4298         * sysdeps/ia64/fpu/k_rem_pio2l.c: New file.
4299         * sysdeps/ia64/fpu/libm_atan2_reg.S: New file.
4300         * sysdeps/ia64/fpu/libm_error.c: New file.
4301         * sysdeps/ia64/fpu/libm_frexp4.S: New file.
4302         * sysdeps/ia64/fpu/libm_frexp4f.S: New file.
4303         * sysdeps/ia64/fpu/libm_frexp4l.S: New file.
4304         * sysdeps/ia64/fpu/libm_reduce.S: New file.
4305         * sysdeps/ia64/fpu/libm_support.h: New file.
4306         * sysdeps/ia64/fpu/libm_tan.S: New file.
4307         * sysdeps/ia64/fpu/s_atan.S: New file.
4308         * sysdeps/ia64/fpu/s_atanf.S: New file.
4309         * sysdeps/ia64/fpu/s_atanl.S: New file.
4310         * sysdeps/ia64/fpu/s_cbrt.S: New file.
4311         * sysdeps/ia64/fpu/s_cbrtf.S: New file.
4312         * sysdeps/ia64/fpu/s_cbrtl.S: New file.
4313         * sysdeps/ia64/fpu/s_ceil.S: New file.
4314         * sysdeps/ia64/fpu/s_ceilf.S: New file.
4315         * sysdeps/ia64/fpu/s_ceill.S: New file.
4316         * sysdeps/ia64/fpu/s_cos.S: New file.
4317         * sysdeps/ia64/fpu/s_cosf.S: New file.
4318         * sysdeps/ia64/fpu/s_cosl.S: New file.
4319         * sysdeps/ia64/fpu/s_expm1.S: New file.
4320         * sysdeps/ia64/fpu/s_expm1f.S: New file.
4321         * sysdeps/ia64/fpu/s_expm1l.S: New file.
4322         * sysdeps/ia64/fpu/s_floor.S: New file.
4323         * sysdeps/ia64/fpu/s_floorf.S: New file.
4324         * sysdeps/ia64/fpu/s_floorl.S: New file.
4325         * sysdeps/ia64/fpu/s_frexp.c: New file.
4326         * sysdeps/ia64/fpu/s_frexpf.c: New file.
4327         * sysdeps/ia64/fpu/s_frexpl.c: New file.
4328         * sysdeps/ia64/fpu/s_ilogb.S: New file.
4329         * sysdeps/ia64/fpu/s_ilogbf.S: New file.
4330         * sysdeps/ia64/fpu/s_ilogbl.S: New file.
4331         * sysdeps/ia64/fpu/s_ldexp.S: New file.
4332         * sysdeps/ia64/fpu/s_ldexpf.S: New file.
4333         * sysdeps/ia64/fpu/s_ldexpl.S: New file.
4334         * sysdeps/ia64/fpu/s_log1p.S: New file.
4335         * sysdeps/ia64/fpu/s_log1pf.S: New file.
4336         * sysdeps/ia64/fpu/s_log1pl.S: New file.
4337         * sysdeps/ia64/fpu/s_logb.S: New file.
4338         * sysdeps/ia64/fpu/s_logbf.S: New file.
4339         * sysdeps/ia64/fpu/s_logbl.S: New file.
4340         * sysdeps/ia64/fpu/s_matherrf.c: New file.
4341         * sysdeps/ia64/fpu/s_matherrl.c: New file.
4342         * sysdeps/ia64/fpu/s_modf.S: New file.
4343         * sysdeps/ia64/fpu/s_modff.S: New file.
4344         * sysdeps/ia64/fpu/s_modfl.S: New file.
4345         * sysdeps/ia64/fpu/s_nearbyint.S: New file.
4346         * sysdeps/ia64/fpu/s_nearbyintf.S: New file.
4347         * sysdeps/ia64/fpu/s_nearbyintl.S: New file.
4348         * sysdeps/ia64/fpu/s_rint.S: New file.
4349         * sysdeps/ia64/fpu/s_rintf.S: New file.
4350         * sysdeps/ia64/fpu/s_rintl.S: New file.
4351         * sysdeps/ia64/fpu/s_round.S: New file.
4352         * sysdeps/ia64/fpu/s_roundf.S: New file.
4353         * sysdeps/ia64/fpu/s_roundl.S: New file.
4354         * sysdeps/ia64/fpu/s_scalbn.S: New file.
4355         * sysdeps/ia64/fpu/s_scalbnf.S: New file.
4356         * sysdeps/ia64/fpu/s_scalbnl.S: New file.
4357         * sysdeps/ia64/fpu/s_significand.S: New file.
4358         * sysdeps/ia64/fpu/s_significandf.S: New file.
4359         * sysdeps/ia64/fpu/s_significandl.S: New file.
4360         * sysdeps/ia64/fpu/s_sin.c: New file.
4361         * sysdeps/ia64/fpu/s_sincos.c: New file.
4362         * sysdeps/ia64/fpu/s_sincosf.c: New file.
4363         * sysdeps/ia64/fpu/s_sincosl.c: New file.
4364         * sysdeps/ia64/fpu/s_sinf.c: New file.
4365         * sysdeps/ia64/fpu/s_sinl.c: New file.
4366         * sysdeps/ia64/fpu/s_tan.S: New file.
4367         * sysdeps/ia64/fpu/s_tanf.S: New file.
4368         * sysdeps/ia64/fpu/s_tanl.S: New file.
4369         * sysdeps/ia64/fpu/s_trunc.S: New file.
4370         * sysdeps/ia64/fpu/s_truncf.S: New file.
4371         * sysdeps/ia64/fpu/s_truncl.S: New file.
4372         * sysdeps/ia64/fpu/w_acos.c: New file.
4373         * sysdeps/ia64/fpu/w_acosf.c: New file.
4374         * sysdeps/ia64/fpu/w_acosl.c: New file.
4375         * sysdeps/ia64/fpu/w_asin.c: New file.
4376         * sysdeps/ia64/fpu/w_asinf.c: New file.
4377         * sysdeps/ia64/fpu/w_asinl.c: New file.
4378         * sysdeps/ia64/fpu/w_atan2.c: New file.
4379         * sysdeps/ia64/fpu/w_atan2f.c: New file.
4380         * sysdeps/ia64/fpu/w_atan2l.c: New file.
4381         * sysdeps/ia64/fpu/w_cosh.c: New file.
4382         * sysdeps/ia64/fpu/w_coshf.c: New file.
4383         * sysdeps/ia64/fpu/w_coshl.c: New file.
4384         * sysdeps/ia64/fpu/w_exp.c: New file.
4385         * sysdeps/ia64/fpu/w_expf.c: New file.
4386         * sysdeps/ia64/fpu/w_fmod.c: New file.
4387         * sysdeps/ia64/fpu/w_fmodf.c: New file.
4388         * sysdeps/ia64/fpu/w_fmodl.c: New file.
4389         * sysdeps/ia64/fpu/w_hypot.c: New file.
4390         * sysdeps/ia64/fpu/w_hypotf.c: New file.
4391         * sysdeps/ia64/fpu/w_hypotl.c: New file.
4392         * sysdeps/ia64/fpu/w_log.c: New file.
4393         * sysdeps/ia64/fpu/w_log10.c: New file.
4394         * sysdeps/ia64/fpu/w_log10f.c: New file.
4395         * sysdeps/ia64/fpu/w_log10l.c: New file.
4396         * sysdeps/ia64/fpu/w_logf.c: New file.
4397         * sysdeps/ia64/fpu/w_logl.c: New file.
4398         * sysdeps/ia64/fpu/w_pow.c: New file.
4399         * sysdeps/ia64/fpu/w_powf.c: New file.
4400         * sysdeps/ia64/fpu/w_powl.c: New file.
4401         * sysdeps/ia64/fpu/w_remainder.c: New file.
4402         * sysdeps/ia64/fpu/w_remainderf.c: New file.
4403         * sysdeps/ia64/fpu/w_remainderl.c: New file.
4404         * sysdeps/ia64/fpu/w_scalb.c: New file.
4405         * sysdeps/ia64/fpu/w_scalbf.c: New file.
4406         * sysdeps/ia64/fpu/w_scalbl.c: New file.
4407         * sysdeps/ia64/fpu/w_sqrt.c: New file.
4408         * sysdeps/ia64/fpu/w_sqrtf.c: New file.
4409         * sysdeps/ia64/fpu/w_sqrtl.c: New file.
4410         * sysdeps/ia64/fpu/libm-test-ulps: Adjust for long double
4411         implementation.
4412         * sysdeps/ia64/fpu/bits/mathdef.h: Correct float_t and double_t types.
4413         Change FP_ILOGBNAN for new implementation.
4414         * Verions.def: Add 2.2.3 versions.
4416 2001-02-18  Ulrich Drepper  <drepper@redhat.com>
4418         * math/libm-test.inc (scalb_test): Require invalid exception being
4419         raised for invalid parameters.
4420         * sysdeps/i386/fpu/e_scalb.S: Raise invalid exception if necessary.
4421         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
4422         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
4424 2001-02-18  Mark Kettenis  <kettenis@gnu.org>
4426         * sysdeps/mach/getsysstats.c (__get_phys_pages): Change return
4427         value to long int.
4428         (__get_avphys_pages): Likewise.
4430 2001-02-18  Ulrich Drepper  <drepper@redhat.com>
4432         * math/libm-test.inc (pow_test): Correct expected results for x == +-1.
4433         * sysdeps/i386/fpu/e_pow.S: Handle x == +-1 correctly.
4434         * sysdeps/i386/fpu/e_powf.S: Likewise.
4435         * sysdeps/i386/fpu/e_powl.S: Likewise.
4437         * sysdeps/i386/fpu/bits/mathinline.h: Remove pow inline code.
4439 2001-02-17  Ulrich Drepper  <drepper@redhat.com>
4441         * math/Makefile (libm-calls): It's e_exp2 not s_exp2.
4443         * sysdeps/generic/s_exp2l.c: Renamed to...
4444         * sysdeps/generic/e_exp2l.c: ...this.   New file.
4445         * sysdeps/i386/fpu/s_exp2.S: Renamed to...
4446         * sysdeps/i386/fpu/e_exp2.S: ...this.   New file.
4447         * sysdeps/i386/fpu/s_exp2f.S: Renamed to...
4448         * sysdeps/i386/fpu/e_exp2f.S: ...this.   New file.
4449         * sysdeps/i386/fpu/s_exp2l.S: Renamed to...
4450         * sysdeps/i386/fpu/e_exp2l.S: ...this.   New file.
4451         * sysdeps/ieee754/flt-32/s_exp2f.c: Renamed to...
4452         * sysdeps/ieee754/flt-32/e_exp2f.c: ...this.   New file.
4453         * sysdeps/ieee754/dbl-64/s_exp2.c: Renamed to...
4454         * sysdeps/ieee754/dbl-64/e_exp2.c: ...this.   New file.
4455         * sysdeps/m68k/fpu/s_exp2.c: Renamed to...
4456         * sysdeps/m68k/fpu/e_exp2.c: ...this.   New file.
4457         * sysdeps/m68k/fpu/s_exp2f.c: Renamed to...
4458         * sysdeps/m68k/fpu/e_exp2f.c: ...this.   New file.
4459         * sysdeps/m68k/fpu/s_exp2l.c: Renamed to...
4460         * sysdeps/m68k/fpu/e_exp2l.c: ...this.   New file.
4462 2001-02-17  Andreas Jaeger  <aj@suse.de>
4464         * configure.in: Allow gcc 3.
4466 2001-02-16  Ulrich Drepper  <drepper@redhat.com>
4468         * math/w_acos.c: Move to ...
4469         * sysdeps/generic/w_acos.c: ...here.  New file.
4470         * math/w_acosf.c: Move to ...
4471         * sysdeps/generic/w_acosf.c: ...here.  New file.
4472         * math/w_acosh.c: Move to ...
4473         * sysdeps/generic/w_acosh.c: ...here.  New file.
4474         * math/w_acoshf.c: Move to ...
4475         * sysdeps/generic/w_acoshf.c: ...here.  New file.
4476         * math/w_acoshl.c: Move to ...
4477         * sysdeps/generic/w_acoshl.c: ...here.  New file.
4478         * math/w_acosl.c: Move to ...
4479         * sysdeps/generic/w_acosl.c: ...here.  New file.
4480         * math/w_asin.c: Move to ...
4481         * sysdeps/generic/w_asin.c: ...here.  New file.
4482         * math/w_asinf.c: Move to ...
4483         * sysdeps/generic/w_asinf.c: ...here.  New file.
4484         * math/w_asinl.c: Move to ...
4485         * sysdeps/generic/w_asinl.c: ...here.  New file.
4486         * math/w_atan2.c: Move to ...
4487         * sysdeps/generic/w_atan2.c: ...here.  New file.
4488         * math/w_atan2f.c: Move to ...
4489         * sysdeps/generic/w_atan2f.c: ...here.  New file.
4490         * math/w_atan2l.c: Move to ...
4491         * sysdeps/generic/w_atan2l.c: ...here.  New file.
4492         * math/w_atanh.c: Move to ...
4493         * sysdeps/generic/w_atanh.c: ...here.  New file.
4494         * math/w_atanhf.c: Move to ...
4495         * sysdeps/generic/w_atanhf.c: ...here.  New file.
4496         * math/w_atanhl.c: Move to ...
4497         * sysdeps/generic/w_atanhl.c: ...here.  New file.
4498         * math/w_cosh.c: Move to ...
4499         * sysdeps/generic/w_cosh.c: ...here.  New file.
4500         * math/w_coshf.c: Move to ...
4501         * sysdeps/generic/w_coshf.c: ...here.  New file.
4502         * math/w_coshl.c: Move to ...
4503         * sysdeps/generic/w_coshl.c: ...here.  New file.
4504         * math/w_drem.c: Move to ...
4505         * sysdeps/generic/w_drem.c: ...here.  New file.
4506         * math/w_dremf.c: Move to ...
4507         * sysdeps/generic/w_dremf.c: ...here.  New file.
4508         * math/w_dreml.c: Move to ...
4509         * sysdeps/generic/w_dreml.c: ...here.  New file.
4510         * math/w_exp10.c: Move to ...
4511         * sysdeps/generic/w_exp10.c: ...here.  New file.
4512         * math/w_exp10f.c: Move to ...
4513         * sysdeps/generic/w_exp10f.c: ...here.  New file.
4514         * math/w_exp10l.c: Move to ...
4515         * sysdeps/generic/w_exp10l.c: ...here.  New file.
4516         * math/w_exp2.c: Move to ...
4517         * sysdeps/generic/w_exp2.c: ...here.  New file.
4518         * math/w_exp2f.c: Move to ...
4519         * sysdeps/generic/w_exp2f.c: ...here.  New file.
4520         * math/w_exp2l.c: Move to ...
4521         * sysdeps/generic/w_exp2l.c: ...here.  New file.
4522         * math/w_fmod.c: Move to ...
4523         * sysdeps/generic/w_fmod.c: ...here.  New file.
4524         * math/w_fmodf.c: Move to ...
4525         * sysdeps/generic/w_fmodf.c: ...here.  New file.
4526         * math/w_fmodl.c: Move to ...
4527         * sysdeps/generic/w_fmodl.c: ...here.  New file.
4528         * math/w_hypot.c: Move to ...
4529         * sysdeps/generic/w_hypot.c: ...here.  New file.
4530         * math/w_hypotf.c: Move to ...
4531         * sysdeps/generic/w_hypotf.c: ...here.  New file.
4532         * math/w_hypotl.c: Move to ...
4533         * sysdeps/generic/w_hypotl.c: ...here.  New file.
4534         * math/w_j0.c: Move to ...
4535         * sysdeps/generic/w_j0.c: ...here.  New file.
4536         * math/w_j0f.c: Move to ...
4537         * sysdeps/generic/w_j0f.c: ...here.  New file.
4538         * math/w_j0l.c: Move to ...
4539         * sysdeps/generic/w_j0l.c: ...here.  New file.
4540         * math/w_j1.c: Move to ...
4541         * sysdeps/generic/w_j1.c: ...here.  New file.
4542         * math/w_j1f.c: Move to ...
4543         * sysdeps/generic/w_j1f.c: ...here.  New file.
4544         * math/w_j1l.c: Move to ...
4545         * sysdeps/generic/w_j1l.c: ...here.  New file.
4546         * math/w_jn.c: Move to ...
4547         * sysdeps/generic/w_jn.c: ...here.  New file.
4548         * math/w_jnf.c: Move to ...
4549         * sysdeps/generic/w_jnf.c: ...here.  New file.
4550         * math/w_jnl.c: Move to ...
4551         * sysdeps/generic/w_jnl.c: ...here.  New file.
4552         * math/w_lgamma.c: Move to ...
4553         * sysdeps/generic/w_lgamma.c: ...here.  New file.
4554         * math/w_lgammaf.c: Move to ...
4555         * sysdeps/generic/w_lgammaf.c: ...here.  New file.
4556         * math/w_lgammaf_r.c: Move to ...
4557         * sysdeps/generic/w_lgammaf_r.c: ...here.  New file.
4558         * math/w_lgammal.c: Move to ...
4559         * sysdeps/generic/w_lgammal.c: ...here.  New file.
4560         * math/w_lgammal_r.c: Move to ...
4561         * sysdeps/generic/w_lgammal_r.c: ...here.  New file.
4562         * math/w_lgamma_r.c: Move to ...
4563         * sysdeps/generic/w_lgamma_r.c: ...here.  New file.
4564         * math/w_log10.c: Move to ...
4565         * sysdeps/generic/w_log10.c: ...here.  New file.
4566         * math/w_log10f.c: Move to ...
4567         * sysdeps/generic/w_log10f.c: ...here.  New file.
4568         * math/w_log10l.c: Move to ...
4569         * sysdeps/generic/w_log10l.c: ...here.  New file.
4570         * math/w_log.c: Move to ...
4571         * sysdeps/generic/w_log.c: ...here.  New file.
4572         * math/w_logf.c: Move to ...
4573         * sysdeps/generic/w_logf.c: ...here.  New file.
4574         * math/w_logl.c: Move to ...
4575         * sysdeps/generic/w_logl.c: ...here.  New file.
4576         * math/w_pow.c: Move to ...
4577         * sysdeps/generic/w_pow.c: ...here.  New file.
4578         * math/w_powf.c: Move to ...
4579         * sysdeps/generic/w_powf.c: ...here.  New file.
4580         * math/w_powl.c: Move to ...
4581         * sysdeps/generic/w_powl.c: ...here.  New file.
4582         * math/w_remainder.c: Move to ...
4583         * sysdeps/generic/w_remainder.c: ...here.  New file.
4584         * math/w_remainderf.c: Move to ...
4585         * sysdeps/generic/w_remainderf.c: ...here.  New file.
4586         * math/w_remainderl.c: Move to ...
4587         * sysdeps/generic/w_remainderl.c: ...here.  New file.
4588         * math/w_scalb.c: Move to ...
4589         * sysdeps/generic/w_scalb.c: ...here.  New file.
4590         * math/w_scalbf.c: Move to ...
4591         * sysdeps/generic/w_scalbf.c: ...here.  New file.
4592         * math/w_scalbl.c: Move to ...
4593         * sysdeps/generic/w_scalbl.c: ...here.  New file.
4594         * math/w_sinh.c: Move to ...
4595         * sysdeps/generic/w_sinh.c: ...here.  New file.
4596         * math/w_sinhf.c: Move to ...
4597         * sysdeps/generic/w_sinhf.c: ...here.  New file.
4598         * math/w_sinhl.c: Move to ...
4599         * sysdeps/generic/w_sinhl.c: ...here.  New file.
4600         * math/w_sqrtl.c: Move to ...
4601         * sysdeps/generic/w_sqrtl.c: ...here.  New file.
4602         * math/w_tgamma.c: Move to ...
4603         * sysdeps/generic/w_tgamma.c: ...here.  New file.
4604         * math/w_tgammaf.c: Move to ...
4605         * sysdeps/generic/w_tgammaf.c: ...here.  New file.
4606         * math/w_tgammal.c: Move to ...
4607         * sysdeps/generic/w_tgammal.c: ...here.  New file.
4609         * locale/programs/ld-address.c (address_finish): Add 'S' to allow
4610         formats for postal_fmt.
4612 2001-02-16  Jakub Jelinek  <jakub@redhat.com>
4614         * sysdeps/unix/sysv/linux/alpha/syscalls.list (ftruncate): Add
4615         __ftruncate64 alias.
4616         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (ftruncate):
4617         Likewise.
4619 2001-02-15  David Mosberger  <davidm@hpl.hp.com>
4621         * sysdeps/unix/sysv/linux/ia64/__longjmp.S (__longjmp): No need to
4622         do "loadrs".  Writing to bspstore already takes care of
4623         invalidating the "clean" partition.
4625 2001-02-16  Andreas Schwab  <schwab@suse.de>
4627         * sysdeps/m68k/fpu/s_nextafterl.c: New file.
4628         * sysdeps/m68k/fpu/s_fpclassifyl.c: New file.
4630 2001-02-15  Jakub Jelinek  <jakub@redhat.com>
4632         * posix/regex.c (init_syntax_once): Add prototype.
4633         (TRANSLATE): If MBS_SUPPORT, translate all characters up to '\xff'.
4634         (re_search_2): Avoid warning.
4635         (count_mbs_length): Add prototype.
4636         * posix/tst-regex3.c: New file.
4637         * posix/Makefile (tests): Add bug-regex3.
4639 2001-02-15  Ulrich Drepper  <drepper@redhat.com>
4641         * stdio-common/Makefile (tests): Add tst-gets.
4642         * stdio-common/tst-gets.c: New file.
4643         * stdio-common/tst-gets.input: New file.
4645         * elf/elf.h (DT_CHECKSUM): Define.
4647         * sysdeps/generic/strtoll.c: Don't export __strto*_internal as
4648         default symbol.
4649         * sysdeps/generic/strtoull.c: Likewise.
4651 2001-02-14  Wolfram Gloger  <wg@malloc.de>
4653         * malloc/malloc.c (new_heap): When allocating large chunk aligned
4654         to HEAP_MAX_SIZE, prefer one with lower address, to avoid `holes'
4655         between the heaps.
4657 2001-02-14  Ulrich Drepper  <drepper@redhat.com>
4659         * math/libm-test.inc (j0_test): Check whether sincos is available.
4660         (j1_test): Likewise.
4661         (jn_test): Likewise.
4662         (y0_test): Likewise.
4663         (y1_test): Likewise.
4664         (yn_test): Likewise.
4666         * posix/tst-gnuglob.c: Make a few entries DT_UNKNOWN and teach
4667         fake filesystem routines to handle this.
4669         * time/sys/time.h: Make settimeofday and adjtime available if
4670         _BSD_SOURCE.
4672         * time/sys/time.h: Make timer* macros available for BSD.
4674         * iconvdata/gb18030.c: Update for Dec 2000 re-release of GB18030.
4675         Patch by Yong Li <rigel863@yahoo.com>.
4677         * sysdeps/generic/glob.c (CONVERT_DIRENT_DIRENT64): Fix copying of
4678         name.
4680         * posix/Makefile (tests): Add tst-gnuglob.
4681         * posix/tst-gnuglob.c: New file.
4683 2001-02-13  H.J. Lu  <hjl@gnu.org>
4685         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add __ftruncate64.
4687 2001-02-13  Ulrich Drepper  <drepper@redhat.com>
4689         * locale/programs/ld-paper.c (paper_output): Pretty printing.
4691         * iconvdata/Makefile (modules): Add GBBIG5.
4692         (distribute): Add gbbig5.c.
4693         * iconvdata/gconv-modules: Add entries for GBBIG5 module.
4695         * iconvdata/gbbig5.c: New file.
4696         Contributed by Yong Li <rigel863@yahoo.com>.
4698 2001-02-13  Philip Blundell  <pb@futuretv.com>
4700         * manual/crypt.texi: Remove outdated references to crypt add-on.
4702         * manual/creature.texi: Improve wording slightly.
4704 2001-02-13  Ulrich Drepper  <drepper@redhat.com>
4706         * io/ftw.c: Always use readdir64.
4707         * io/ftw64.c: Likewise.
4708         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
4709         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
4710         * sysdeps/generic/glob.c: Likewise.  Convert results of gl_readdir
4711         callback to dirent.  Still allow compiling outside glibc.
4712         * sysdeps/gnu/glob64.c: Define COMPILE_GLOB64.
4713         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
4715         * malloc/mtrace.c: Use fopen64.
4716         * posix/spawni.c: Use __open64.
4717         * sysdeps/unix/opendir.c: Likewise.
4718         * sysdeps/unix/sysv/linux/gethostid.c: Likewise.
4720         * sysdeps/generic/ftruncate64.c: Define __ftruncate64 and make old
4721         name a weak alias.
4722         * sysdeps/unix/sysv/aix/ftruncate64.c: Likewise.
4723         * sysdeps/unix/sysv/linux/ftruncate64.c: Likewise.
4724         * sysdeps/unix/sysv/linux/mips/ftruncate64.c: Likewise.
4725         * sysdeps/unix/sysv/linux/powerpc/ftruncate64.c: Likewise.
4727         * resolv/res_data.c: Add cast to avoid warning.
4729         * include/unistd.h: Declare __ftruncate64.
4731         * sysdeps/generic/utmp_file.c: Use LFS functions and types.
4733         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use __lseek64
4734         instead of __lseek.
4736 2001-02-13  Andreas Jaeger  <aj@suse.de>
4738         * login/getutent_r.c: Include <stdlib.h> for NULL.
4739         * login/getutid_r.c: Likewise.
4741 2001-02-12  Ulrich Drepper  <drepper@redhat.com>
4743         * sysdeps/dbl-64/e_j0.c: Little optimization, use sincos.
4744         * sysdeps/dbl-64/e_j1.c: Likewise.
4745         * sysdeps/dbl-64/e_jn.c: Likewise.
4746         * sysdeps/flt-32/e_j0f.c: Likewise.
4747         * sysdeps/flt-32/e_j1f.c: Likewise.
4748         * sysdeps/ldbl-96/e_j0l.c: Likewise.
4750 2000-12-02  H.J. Lu  <hjl@gnu.org>
4752         * resolv/res_libc.c (res_init): Don't make it default.
4754 2001-02-12  Ulrich Drepper  <drepper@redhat.com>
4756         * manual/debug.texi: Improved the wording.
4757         Patch by Philip Blundell <pb@futuretv.com>.
4759 2001-02-12  Andreas Jaeger  <aj@suse.de>
4761         * posix/Makefile (tests): Don't run bug-regex2 when
4762         cross-compiling.
4764         * libio/Makefile (tests): Don't run test-freopen when
4765         cross-compiling.
4767         * manual/stdio.texi (Streams and I18N): Fix typos.
4769 2001-02-12  Ulrich Drepper  <drepper@redhat.com>
4771         * sysdeps/i386/fpu/libm-test-ulps: Adjust for errors in y0l.
4773         * math/libm-test.inc (j0_test): Make expected results long double
4774         constants.
4775         (y0_test): Likewise.
4777         * sysdeps/ieee754/ldbl-96/e_j0l.c: New file.
4778         Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>.
4780 2001-02-11  Jakub Jelinek  <jakub@redhat.com>
4782         * sysdeps/generic/strtoll.c (__strtoq_internal): Ressurect alias
4783         which was exported from libc.
4784         * sysdeps/generic/strtoull.c (__strtouq_internal): Likewise.
4786 2001-02-12  Andreas Jaeger  <aj@suse.de>
4788         * manual/arith.texi (Parsing of Integers): Fix some wordings.
4790 2001-02-11  Ulrich Drepper  <drepper@redhat.com>
4792         * sysdeps/generic/getsysstat.c: Change return value of get_phys_pages
4793         and get_avphys_page to long int.
4794         * sysdeps/unix/sysv/linux/getsysstat.c: Likewise.
4795         * include/sys/sysinfo.h: Likewise.
4796         * sysdeps/generic/sys/sysinfo.h: Likewise.
4797         * sysdeps/unix/sysv/linux/sys/sysinfo.h: Likewise.
4799         * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Fail if we
4800         cannot return as many values as the user asked for.
4802 2001-02-11  Andreas Jaeger  <aj@suse.de>
4804         * manual/resource.texi (Memory Resources): Fix typo.
4806         * libio/Makefile ($(objpfx)test-freopen.out): Pass
4807         run-program-prefix.
4809         * libio/test-freopen.sh: Use run_program_prefix.
4811 2001-02-10  Andreas Jaeger  <aj@suse.de>
4813         * stdlib/Makefile (tests): Don't run tst-fmtmsg when
4814         cross-compiling.
4815         ($(objpfx)tst-fmtmsg.out): Pass run-program-prefix.
4817         * stdlib/tst-fmtmsg.sh (test): Use run_program_prefix for static
4818         only builds.
4820         * elf/Makefile (tests): Only run tst-pathopt with shared libs.
4822         * posix/Makefile: Fix typo, it's build-static-nss.
4824         * iconv/Makefile (extra-objs): New.
4826 2001-02-10  Mark Kettenis  <kettenis@gnu.org>
4828         * sysdeps/unix/stime.c: Include <time.h>.
4830         * sysdeps/mach/hurd/setitimer.c: Include <time.h>.
4832 2001-02-10  Andreas Jaeger  <aj@suse.de>
4834         * manual/string.texi (Search Functions): Fix typo.
4836 2001-02-10  Mark Kettenis  <kettenis@gnu.org>
4838         * sysdeps/unix/bsd/times.c: Reorder includes and add <time.h>.
4839         (timeval_to_clock_t): Add clk_tck argument and use that instead of
4840         CLK_TCK.
4841         (__times): Use __getclktck to get the number of clock ticks per
4842         second and use its return value instead of CLK_TCK.
4844 2001-02-10  Mark Kettenis  <kettenis@gnu.org>
4846         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h (_HAVE_SA_LEN): Define.
4848 2001-02-10  Mark Kettenis  <kettenis@gnu.org>
4850         * sysdeps/mach/gettimeofday.c: Include <stddef.h>.
4852 2001-02-10  Andreas Jaeger  <aj@suse.de>
4854         * wctype/wcfuncs.c (func): Add prototype declarations to avoid
4855         warning.
4857 2001-02-09  Ulrich Drepper  <drepper@redhat.com>
4859         * posix/Makefile: Add rules to build and run bug-regex2.
4860         * posix/bug-regex2.c: New file.
4862 2001-02-10  Jakub Jelinek  <jakub@redhat.com>
4864         * posix/regex.c (convert_mbs_to_wcs): Change is_binary to char *.
4865         (regex_compile): Likewise.
4866         (FREE_VARIABLES): Don't free is_binary1 and is_binary2.
4867         (re_match_2_internal): Use just is_binary instead of two variables.
4868         Use REGEX_TALLOC to allocate it and FREE_VAR to free on failure.
4870 2001-02-09  Ulrich Drepper  <drepper@redhat.com>
4872         * version.h (VERSION): Bump to 2.2.2.
4874         * iconv/Makefile (distribute): Add iconv_charmap.c and
4875         dummy-repertoire.c.
4876         * elf/Makefile (distribute): Add firstobj.c.
4877         * Makefile (distribute): Add include/pthread.h.
4879         * configure.in: Require makeinfo version 4.
4881         * libio/tst_wscanf.c (main): Add cast to avoid warning.
4882         * libio/tst_swscanf.c (main): Likewise..
4884 2001-02-09  Jakub Jelinek  <jakub@redhat.com>
4886         * sysdeps/generic/setenv.c (unsetenv): Remove const from len.
4887         * sysdeps/sparc/fpu/bits/mathinline.h (sqrt, fdim): Don't define if
4888         __NO_MATH_INLINES.
4889         * sysdeps/i386/dl-machine.h (elf_machine_rel): Only declare refsym
4890         if not RTLD_BOOTSTRAP.
4891         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
4892         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
4894 2001-02-09  Ulrich Drepper  <drepper@redhat.com>
4896         * locale/programs/linereader.c (get_ident): Stop loop if EOF.  Use
4897         lr_ungetc to push back last read character.
4898         * locale/programs/linereader.h (lr_ungetc): Don't push back is
4899         character is EOF.
4900         (lr_ignore_rest): Don't warn about garbage if it is really the end
4901         of the file.
4903         * manual/Makefile: Use ifnottext and not ifinfo to protect Top node
4904         definition.
4906 2001-02-08  Ulrich Drepper  <drepper@redhat.com>
4908         * Makerules (build-shlib): Work around different order of
4909         processing of -B option in different gcc versions.
4911         * posix/regex.c: Fix alignment problem.
4912         Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
4914         * sysdeps/alpha/strrchr.S: Little optimization.
4915         Patch by Richard Henderson <rth@redhat.com>.
4917         * sysdeps/alpha/alphaev67/strrchr.S: New file.
4918         Contributed by Rick Gorton <rick.gorton@alpha-processor.com>.
4920 2001-02-08  kaz Kojima  <kkojima@rr.iij4u.or.jp>
4922         * sysdeps/sh/sh3/setjmp.S (__sigsetjmp): Correct function name
4923         in the assembler end directive.
4925 2001-02-08  Andreas Jaeger  <aj@suse.de>
4927         * manual/stdio.texi (Closing Streams): Fix typos.
4929 2001-02-07  Ulrich Drepper  <drepper@redhat.com>
4931         * sysdeps/alpha/alphaev67/strncat.S: Align last write address.
4932         Patch by Richard Henderson <rth@redhat.com>.
4933         Reported by Claus-Justus Heine <heine@instmath.rwth-aachen.de>.
4935         * stdlib/strfmon.c [USE_IN_LIBIO]: Define lock variable and store
4936         pointer in FILE structure before calling _IO_init.
4937         * stdlib/Makefile: Add -D_IO_MTSAFE_IO to CFLAGS for strfmon and
4938         strfmon_l if necessary.
4939         Reported by Jury Gerold <gjury@grips.com>.
4941         * sysdeps/gnu/netinet/tcp.h: Correct values of TCP_ macros.
4942         Patch by Pekka.Pietikainen@cern.ch.
4944         * posix/regex.c: Correct several problems with 64-bit architectures
4945         introduced in the MBS changes.
4946         Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
4948 2001-02-07  Jakub Jelinek  <jakub@redhat.com>
4950         * math/tgmath.h: Only add l suffixes if __NO_LONG_DOUBLE_MATH is
4951         not defined.
4952         * sysdeps/alpha/fpu/bits/mathinline.h: Honour __NO_MATH_INLINES.
4954 2001-02-07  Andreas Jaeger  <aj@suse.de>
4956         * manual/install.texi (Tools for Compilation): Fix typo.
4957         Reported by Pavel Machek <pavel@bug.ucw.cz>.
4959 2001-02-07  Ulrich Drepper  <drepper@redhat.com>
4961         * stdlib/strtod.c: Never stop prematurely reading digits before the
4962         decimal point is found.  Compute exponent limit for negative exponents
4963         correctly.  For numbers ending in all zeros eat the zeros even before
4964         the decimal point if the exponent is negative [PR libc/2072].
4965         * stdlib/Makefile (tests): Add bug-strtod.
4966         * stdlib/bug-strtod.c: New file.
4968 2001-02-07  Andreas Jaeger  <aj@suse.de>
4970         * posix/bug-regex1.c: Include <wchar.h> for fwide.
4972 2001-02-06  Ulrich Drepper  <drepper@redhat.com>
4974         * posix/regex.c (regex_compile): Don't store pointer in wchar_t array.
4975         Store index.
4976         (compile_range): Handle index being passed, not pointer.
4977         Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
4979         * posix/regex.c: Fix a cast in the code for bracket handling which
4980         caused 8-bit uncleanliness.
4981         Patch by Michal Jaegermann <michal@ellpspace.math.ualberta.ca>.
4983         * posix/Makefile (tests): Add bug-regex1.
4984         * posix/bug-regex1.c: New file.
4985         Contributed by Jim Meyering <jim@meyering.net>.
4987         * posix/regex.c: Many cleanups for incorrect format strings.
4989 2001-02-06  Andreas Jaeger  <aj@suse.de>
4991         * time/time.h (CLK_TCK): Check for !__STRICT_ANSI.
4993 2001-02-06  Ulrich Drepper  <drepper@redhat.com>
4995         * locale/programs/locale.c (write_locales): Use scandir to read
4996         directory so that the entries are sorted.
4998 2001-02-06  Andreas Jaeger  <aj@suse.de>
5000         * include/pthread.h: New file.
5002         * wctype/wctype.h: Move internal interfaces from here to...
5003         * include/wctype.h: ...here.
5005         * wcsmbs/wchar.h: Move __wcslen from here to...
5006         * include/wchar.h: ...here.
5008         * posix/sys/wait.h: Move __wait from here to...
5009         * include/sys/wait.h: ...here.
5011         * string/string.h: Move __ffs and __strerror_r from here to...
5012         * include/string.h: ...here.
5014         * stdlib/stdlib.h: Move __on_exit from here to...
5015         * include/stdlib.h: ...here.
5017         * libio/stdio.h: Move __vsnprintf from here to...
5018         * include/stdio.h: ...here.
5020 2001-02-06  Andreas Schwab  <schwab@suse.de>
5022         * sysdeps/unix/sysv/linux/ia64/ioperm.c: Don't include kernel
5023         headers.
5025         * timezone/Makefile: Don't assume that $(inst_zonedir) is a subdir
5026         of $(inst_datadir).
5028 2001-02-06  Ulrich Drepper  <drepper@redhat.com>
5030         * iconvdata/Makefile: Add dependency for bug-iconv2.out.
5032 2001-02-06  Andreas Jaeger  <aj@suse.de>
5034         * elf/firstobj.c: Add prototype.
5036         * posix/regex.c (convert_mbs_to_wcs): Make static, add prototype
5037         (truncate_wchar): Likewise.
5039 2001-02-06  Ulrich Drepper  <drepper@redhat.com>
5041         * locale/programs/locale.c: Implement --verbose option for -a
5042         which prints detailed information about the locales.
5044 2001-02-05  Ulrich Drepper  <drepper@redhat.com>
5046         * sunrpc/xdr_rec.c (set_input_fragment): Change type of header
5047         variable to uint32_t.
5048         Reported by Ulrich Weigand <weigand@immd1.informatik.uni-erlangen.de>.
5050 2001-02-04  Bruno Haible  <haible@clisp.cons.org>
5052         * locale/C-translit.h.in: Add transliterations for CJK units of
5053         measurement.
5055 2001-02-05  Ulrich Drepper  <drepper@redhat.com>
5057         * elf/cache.c (print_entry): Use PRIx64 instead of Lx in printf
5058         string.  Include <inttypes.h> instead of <stdint.h>.
5060         * localedata/Makefile (tests): Add bug-iconv-trans.
5061         Define bug-iconv-trans-ENV.
5062         * localedata/bug-iconv-trans.c: New file.
5064 2001-02-04  Bruno Haible  <haible@clisp.cons.org>
5066         * iconv/gconv_trans.c (__gconv_transliterate): Use a temporary output
5067         pointer, to avoid accumulating output from incomplete (unsuccessful)
5068         transliteration attempts.
5070 2001-02-05  Ulrich Drepper  <drepper@redhat.com>
5072         * elf/ldconfig.c (search_dir): Use PRIx64 instead of Lx in printf
5073         string.  Include <inttypes.h> instead of <stdint.h>.
5075         * configure.in: Add check for bison.
5076         * config.make.in: Define BISON variable.
5077         * intl/Makefile: Use BISON instead of YACC when generating plural.c.
5078         Rename YFLAGS to BISONFLAGS.
5080 2001-02-05  Andreas Jaeger  <aj@suse.de>
5082         * io/test-lfs.c (do_test): Test lseek64 return value, call
5083         test_ftello.
5084         (test_ftello): New function to test ftello64 and fseeko64.
5086         * signal/signal.h: Move __sigaction from here to...
5087         * include/signal.h: ...here.
5089         * io/fcntl.h: Move __fcntl and __open to...
5090         * include/fcntl.h: ...here.
5092 2001-02-04  Philip Blundell  <philb@gnu.org>
5094         * configure.in: Distinguish ARM from Thumb.
5096 2001-02-04  Philip Blundell  <philb@gnu.org>
5098         * sysdeps/arm/dl-machine.h (elf_machine_rel): Correct handling of
5099         PC24 relocs with negative value.
5101 2001-02-04  Ulrich Drepper  <drepper@redhat.com>
5103         * iconv/Makefile (iconv_prog-modules): Define.  Add vpath to find
5104         files in locale/programs.  Add CFLAGS definition to allow compiling
5105         localedef files.
5106         * iconv/dummy-repertoire.c: New file.
5107         * iconv/iconv_charmap.c: New file.
5108         * iconv/iconv_prog.h: New file.
5109         * iconv/iconv_prog.c: Make verbose and omit_invalid global.
5110         (main): If parameter for -f and -t contain slashes try first to resolve
5111         the strings as filenames of charmap files.  Use them for conversion
5112         in this case.
5113         * iconvdata/run-iconv-test.sh: If charmaps exist also run tests with
5114         iconv getting charmap names as parameters.
5115         * locale/programs/linereader.c (lr_token): Take extra parameters
5116         verbose and pass it to get_string.
5117         (get_string): Take extra parameters verbose.
5118         * locale/programs/charmap.c (parse_charmap): Take extra parameters
5119         verbose and be_quiet.  Change all callers of lr_token and
5120         parse_charmap.
5121         * locale/programs/charmap.h: Likewise.
5122         * locale/programs/ld-address.c: Likewise.
5123         * locale/programs/ld-collate.c: Likewise.
5124         * locale/programs/ld-ctype.c: Likewise.
5125         * locale/programs/ld-identification.c: Likewise.
5126         * locale/programs/ld-measurement.c: Likewise.
5127         * locale/programs/ld-messages.c: Likewise.
5128         * locale/programs/ld-monetary.c: Likewise.
5129         * locale/programs/ld-name.c: Likewise.
5130         * locale/programs/ld-numeric.c: Likewise.
5131         * locale/programs/ld-paper.c: Likewise.
5132         * locale/programs/ld-telephone.c: Likewise.
5133         * locale/programs/ld-time.c: Likewise.
5134         * locale/programs/linereader.c: Likewise.
5135         * locale/programs/linereader.h: Likewise.
5136         * locale/programs/localedef.c: Likewise.
5137         * locale/programs/locfile.c: Likewise.
5138         * locale/programs/locfile.h: Likewise.
5139         * locale/programs/repertoire.c: Likewise.
5141 2001-02-03  Ulrich Drepper  <drepper@redhat.com>
5143         * iconv/iconv_prog.c (main): If output file name is "-" write to
5144         stdout.
5145         (main): If -f or -t argument is missing use charset of the current
5146         locale.
5148 2001-02-03  Andreas Jaeger  <aj@suse.de>
5150         * sysdeps/i386/elf/start.S (_start): Align stack to 16-byte
5151         boundary for SSE/SSE-2 alignment.
5153         * posix/Makefile ($(objpfx)annexc.out): Also pass sysincludes to
5154         annexc.
5156 2001-02-03  Ulrich Drepper  <drepper@redhat.com>
5158         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: File was using crlf.
5159         Remove comma at end of enum.
5161         * elf/dl-init.c: Add a few __builtin_expect.
5163         * hesiod/hesiod.c: Remove unnecessary code.  Remove all uses of strcat.
5165 2001-02-02  Ulrich Drepper  <drepper@redhat.com>
5167         * hesiod/hesiod.c (hesiod_resolve): Also search HS records if
5168         errno is ECONNREFUSED.
5170         * posix/Makefile: Define MBS_SUPPORT for regex.c.
5171         * posix/regex.c: Implement multibyte character handling.
5172         Patch by Isamu Hasegawa <isamu@yamato.ibm.co.jp>.
5174         * string/tst-svc.input: Add two more test cases.
5175         * string/tst-svc.expect: Modify to reflect new test cases.
5177 2001-02-01  Jakub Jelinek  <jakub@redhat.com>
5179         * sysdeps/posix/getaddrinfo.c (gaih_local, gaih_inet): Replace all
5180         tp->name tests with tp->name[0] tests.
5182 2001-01-29  Ben Collins  <bcollins@debian.org>
5184         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r):
5185         Fix check for name == NULL.
5187 2001-02-01  Ulrich Drepper  <drepper@redhat.com>
5189         * elf/Makefile: Add rules to build and run initfirst test.
5190         * elf/initfirst.c: New file.
5191         * elf/firstobj.c: New file.
5193         * Makerules (build-shlib): Add $(extra-B-$(@F:lib%.so=%).so).
5194         * configure.in: Test for -z initfirst linker option.
5195         * config.make.in: Add have-z-initfirst.
5196         * elf/dl-init.c (_dl_init): Split out actual initialization code in
5197         new function call_init.  If _dl_initfirst is non-NULL initialize first.
5198         * elf/dl-load.c (_dl_map_from_fd): If DF_1_INITFIRST flag is set
5199         remember object in _dl_initfirst.
5200         * elf/soinit.c: Remove special support for calling
5201         __pthread_initialize_minimal.
5203         * conform/conformtest.pl: Add missing $prepend in type test.
5205 2001-01-31  Ulrich Drepper  <drepper@redhat.com>
5207         * elf/elf.h (SHT_CHECKSUM): New definition.
5209         * posix/fnmatch_loop.c: Remove incorrect reverse condition in
5210         [. .] matching.  Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
5211         * posix/tst-fnmatch.input: Add tests for [. .] in locales.
5213 2001-01-31  Mark Kettenis  <kettenis@gnu.org>
5215         * misc/sys/select.h: Include <bits/time.h> instead of <sys/time.h>
5216         to get definition of `struct timeval'.
5218 2001-01-31  Ulrich Drepper  <drepper@redhat.com>
5220         * posix/tst-fnmatch.input: Add test cases for de_DE.UTF-8 locale.
5221         * posix/fnmatch_loop.c: Fix handling of [= =] for multibyte charsets.
5223 2001-01-30  Ulrich Drepper  <drepper@redhat.com>
5225         * iconv/gconv_open.c (__gconv_open): Set conv_flags if IGNORE is
5226         seen, not flags.
5228         * nis/nis_findserv.c: Include <time.h>.
5230 2001-01-30  Yong Li  <yong.li@asu.edu>
5232         * iconv/iconv_prog.c (main): Correct error handling method name.
5234 2001-01-29  Ben Collins  <bcollins@debian.org>
5236         * sysdeps/sparc/fpu/fraiseexcpt.c: Include <float.h>.
5237         * sysdeps/hppa/fpu/fraiseexcpt.c: Likewise.
5238         * sysdeps/m68k/fpu/fraiseexcpt.c: Likewise.
5239         * sysdeps/s390/fpu/fraiseexcpt.c: Likewise.
5241 2001-01-30  Ulrich Drepper  <drepper@redhat.com>
5243         * locale/programs/ld-measurement.c (measurement_finish): Fix a typo.
5244         Patch by Marko Myllynen <myllynen@lut.fi>.
5246         * string/bits/string2.h (__strpbrk_c2): Correct parameter types
5247         (int instead of char).
5248         (__strpbrk_c3): Likewise.
5249         Reported by GOTO Masanori <gotom@debian.or.jp>.
5251         * sysdeps/generic/bits/sockaddr.h: Remove SA_LEN macro.
5252         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Likewise.
5253         * include/sys/socket.h: Add SA_LEN here for internal use.
5254         Reported by Arkadiusz Miskiewicz <misiek@pld.ORG.PL>.
5256 2001-01-29  Ulrich Drepper  <drepper@redhat.com>
5258         * malloc/Makefile: Don't build memusagestat if cross-compiling.
5260         * sysdeps/generic/dl-sysdep.c (set_seen): Fix typo.
5262         * math/libm-test.inc (rint_test): Add a few more tests for round
5263         to even rounding.
5265 2001-01-28  Ulrich Drepper  <drepper@redhat.com>
5267         * conform/data/pthread.h-data: Correct return type of pthread_exit.
5269         * conform/conformtest.pl: Add -fno-builtin to CFLAGS.
5271         * conform/data/stdlib.h-data: Add _Exit.
5273         * inet/arpa/inet.h: Don't include <sys/types.h>.  Define socklen_t
5274         if not already happened.
5275         * inet/netinet/in.h: Don't include <sys/types.h>, use <bits/types.h>.
5276         Don't include <limits.h> and <bits/sockaddr.h>.
5278         * conform/data/netinet/in.h-data: Allow all of <inttypes.h>.
5280         * conform/data/spawn.h-data: Allow all of <sched.h>.
5282         * sysdeps/ia64/fpu/fraiseexcpt.c: Include <float.h>.  Removed
5283         unused variable.
5285         * sunrpc/xdr_rec.c (xdrrec_getpos): Add cast to long to avoid warning.
5286         * sunrpc/xdr_sizeof.c (x_inline): Likewise.
5288         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Include <float.h>.
5290         * conform/conformtest.pl: Define $mustprepend{"stdio.h"}.
5291         * libio/stdio.h: Define va_list correctly.
5293         * conform/data/pthread.h-data: Make priority protocol related
5294         functions optional.  Fix typos.
5296         * posix/sched.h: Define sched_priority as __sched_priority.
5297         * sysdeps/generic/bits/sched.h (struct sched_param): Rename element
5298         to __sched_priority.
5299         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
5301 2001-01-27  Ulrich Drepper  <drepper@redhat.com>
5303         * sysdeps/generic/clock_getcpuclockid.c: Include <time.h> instead
5304         of <sys/time.h>.
5306         * sysdeps/unix/stime.c: Include <stddef.h> for NULL.
5307         * sysdeps/unix/time.c: Likewise.
5309         * conform/data/time.h-data: CLK_TCK is not in XPG6.  Fix tzname entry.
5310         * sysdeps/mach/hurd/bits/time.h: Don't define CLK_TCK for XPG6.
5311         * sysdeps/mach/hurd/i386/bits/time.h: Likewise.
5312         * sysdeps/unix/sysv/linux/bits/time.h: Likewise.
5313         * sysdeps/unix/sysv/linux/alpha/bits/time.h: Likewise.
5314         * sysdeps/unix/sysv/linux/i386/bits/time.h: Likewise.
5315         * sysdeps/unix/sysv/linux/ia64/bits/time.h: Likewise.
5316         * time/time.h: Likewise.
5318         * conform/conformtest.pl (@headers): Add complex.h and tgmath.h.
5319         * conform/data/complex.h-data: New file.
5320         * conform/data/tgmath.h-data: New file.
5322         * conform/data/wchar.h-data: Add missing functions.
5324         * sysdeps/gnu/bits/utmpx.h: Define RUN_LVL only if __USE_GNU.
5326         * conform/data/termios.h-data: Add missing const in tcsetattr()
5327         prototype.
5329         * posix/sys/wait.h: Include <signal.h> and <sys/resource.h>.
5330         Don't define pid_t here.
5332         * conform/data/sys/utsname.h-data: Don't provide fixed array sizes.
5334         * conform/data/sys/time.h-data: Allow sys/select.h.
5335         * conform/data/sys/un.h-data: Fix typo.
5336         * time/sys/time.h: Don't include all of <time.h>, just struct timeval.
5337         * sysdeps/posix/clock_getres.c: Include <time.h> instead of
5338         <sys/time.h>.
5339         * sysdeps/unix/clock_nanosleep.c: Likewise.
5340         * sysdeps/unix/i386/clock_getcpuclockid.c: Likewise.
5341         * sysdeps/unix/i386/i586/clock_getres.c: Likewise.
5342         * sysdeps/unix/clock_gettime.c: Also include <time.h>.
5343         * sysdeps/unix/clock_settime.c: Likewise.
5345         * sysdeps/generic/pselect.c: Include <stddef.h> for NULL.
5346         * login/getutent.c: Likewise.
5347         * login/getutid.c: Likewise.
5348         * login/getutline.c: Likewise.
5350         * socket/sys/un.h: Define SUN_LEN only if __USE_MISC.
5352         * sysdeps/unix/sysv/linux/bits/statvfs.h: Change type of f_fsid field
5353         to unsigned long.  Add __f_unused.  Define _STATVFSBUF_F_UNUSED.
5354         * sysdeps/unix/sysv/linux/internal_statvfs.c: Adjust initialization of
5355         f_fsid field after change in struct statvfs.
5356         * sysdeps/unix/sysv/linux/alpha/bits/statvfs.h: New file.
5357         * sysdeps/unix/sysv/linux/ia64/bits/statvfs.h: New file.
5358         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/statvfs.h: New file.
5360         * conform/data/sys/stat.h-data: Remove isfdtype.  Use
5361         optional-macro.
5363         * conform/data/sys/socket.h-data: Fix typos.  Correct getsockopt,
5364         recvfrom, send, and socketpair prototypes.  Add allow lines.
5365         * socket/sys/socket.h: Include <sys/uio.h>.
5366         Don't use fancy __SOCKADDR_ARG definition unless __USE_GNU.
5367         Fix type of second parameter of listen.
5368         Don't declare isfdtype unless __USE_MISC.
5369         * sysdeps/generic/listen.c: Fix type of second parameter of listen.
5370         * sysdeps/mach/hurd/listen.c: Likewise.
5371         * sysdeps/generic/bits/socket.h (struct sockaddr_storage): Define
5372         ss_family and __ss_family.
5373         * sysdeps/unix/sysv/aix/bits/socket.h: Likewise.
5374         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
5375         (struct msghdr): Change type of msg_iovlen to int and type of
5376         msg_controllen to socklen_t.
5377         * sysdeps/unix/sysv/linux/alpha/bits/socket.h: New file.
5378         * sysdeps/unix/sysv/linux/ia64/bits/socket.h: New file.
5379         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/socket.h: New file.
5380         * inet/rcmd.c (rcmd_af): __ss_family is now ss_family.
5381         (rresvport_af): Likewise.
5383         * conform/data/sys/shm.h-data: SHMLBA is not required to by a constant.
5384         * conform/conformtest.pl: Implement handling of symbol.
5386         * signal/signal.h: Fix handling of __need_* symbols.
5387         * misc/sys/select.c: Define fd_set here.  Remove __fd_set.  Define
5388         fd_mask only if __USE_MISC.  Declare pselect for __USE_XOPEN2K.
5389         * include/sys/select.h: Use fd_set not __fd_set.
5390         * sysdeps/generic/bits/select.h: Likewise.
5391         * sysdeps/i386/bits/select.h: Likewise.
5392         * sysdeps/generic/bits/types.h: Don't define __fd_mask, __NFDBITS,
5393         __FDELT, __FDMASK, and __fd_set here.
5394         * sysdeps/unix/sysv/aix/bits/types.h: Likewise.
5395         * sysdeps/unix/sysv/hpux/bits/types.h: Likewise.
5396         * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
5397         * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
5398         * sysdeps/unix/sysv/linux/ia64/bits/types.h: Likewise.
5399         * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
5400         * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
5401         * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
5402         * time/sys/time.h: Define struct timeval before including <time.h>
5403         and <sys/select.h>.
5405         * conform/data/sys/time.h-data: fd_set is a typedef.
5406         * conform/data/sys/select.h-data: New file.
5407         * conform/data/sys/mman.h-data: Make typed mem stuff optional.
5408         * conform/conformtest.pl (@headers): Add sys/select.h.
5409         (type, optional-type): Unless testing a typedef instantiate object.
5410         Implement optional-function.
5412         * math/test-misc.c: Include <float.h>.
5414 2001-01-27  Andreas Jaeger  <aj@suse.de>
5416         * misc/efgcvt_r.c: Include <float.h>.
5418 2001-01-26  Ulrich Drepper  <drepper@redhat.com>
5420         * conform/data/stdlib.h-data: Account for XPG6 changes.
5421         * stdlib/stdlib.h (__random): Change return value type to long.
5422         (posix_memalign): Cleanup parameter names.
5423         (setenv, unsetenv): Make available for __USE_XOPEN2K.
5424         Change return type of unsetenv to int.
5425         (qecvt, qgcvt, qfcvt): Declare only if __USE_MISC.
5426         * include/stdlib.h: Change return type of unsetenv to int.
5427         Change return type of random to long int.
5428         * sysdeps/generic/setenv.c (unsetenv): Change return type to int.
5429         Return -1 and set errno if parameter is invalid.
5430         * stdlib/random.c (__random): Change return value type to long.
5432         * conform/data/stdio.h-data: Account for changes in XPG6.
5434         * conform/data/spawn.h-data: Correct posix_spawnattr_setflags
5435         prototype.
5437         * conform/conformtest.pl: Define $mustprepend{"signal.h"}.
5438         * conform/data/signal.h-data: Fix sigev_notify_function entry.
5439         Fix typo (SIGVALRM -> SIGVTALRM).
5440         * sysdeps/unix/sysv/linux/bits/siginfo.h: Define sigev_notify_attr
5441         with real type.
5442         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Likewise.
5443         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
5444         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Likewise.
5445         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
5446         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/siginfo.h: Likewise.
5448         * conform/conformtest.pl: Implement optional-element.  Define
5449         $mustprepend{"sched.h"}.
5450         * conform/data/sched.h-data: Make sporadic scheduler definitions
5451         optional.
5453         * pwd/pwd.h: Don't define getpwent_r for XPG.
5455         * io/sys/poll.h: Define nfds_t and use it in poll prototype.
5456         * sysdeps/generic/poll.c: Use nfds_t type in function definition.
5457         * sysdeps/mach/hurd/poll.c: Likewise.
5458         * sysdeps/unix/bsd/poll.c: Likewise.
5459         * sysdeps/unix/sysv/linux/poll.c: Likewise.
5460         * sysdeps/unix/sysv/aix/poll.c: Likewise.
5461         * sysdeps/generic/bits/poll.h: Define NPOLLFILE only if __USE_MISC.
5462         * sysdeps/unix/sysv/linux/bits/poll.h: Likewise.
5463         * sysdeps/unix/sysv/linux/m68k/bits/poll.h: Likewise.
5464         * sysdeps/unix/sysv/linux/mips/bits/poll.h: Likewise.
5465         * sysdeps/unix/sysv/linux/sparc/bits/poll.h: Likewise.
5466         * conform/data/poll.h-data: Fix typo in poll prototype.
5468         * sysdeps/gnu/netinet/tcp.h: Define everything but TCP_ macros
5469         only if __USE_MISC.
5470         * conform/data/netinet/tcp.h-data: Reserved prefix TCP_.
5472         * sysdeps/gnu/net/if.h: Cleanup namespace.  Define IF_NAMESIZE.
5474         * inet/netinet/in.h: Make IPPROTO_ constants also macros.
5476         * conform/conformtest.pl: Implement optional-type.
5478         * resolv/netdb.h: Include <netinet/in.h> not <sys/socket.h>.  Include
5479         <rpc/netdb.h> only if __USE_MISC.  Include <stdint.h> instead of
5480         defining uint32_t here.  Define IPPORT_RESERVED.
5481         (struct hostent): Type of h_length element is int.
5482         (getnameinfo): Type of flags parameter is unsigned int.
5483         * inet/getnameinfo.c (getnameinfo): flags argument is unsigned.
5484         * conform/data/netdb.h-data: Add many missing definitions.
5486         * conform/conformtest.pl: Implement optional-macro.
5487         * conform/data/math.h-data: Update for XPG6.
5489         * math/math.h (HUGE): Define as FLT_MAX value but don't use
5490         FLT_MAX.  Don't include <float.h>.
5491         (MAXFLOAT): Likewise.
5493         * math/math.h: Define MATH_ERRNO and MATH_ERREXCEPT.
5495         * include/bits/xopen_lim.h: Don't define FOPEN_MAX here.
5497         * conform/data/limits.h-data: Mark constants as optional wherever
5498         appropriate.
5500         * posix/bits/posix2_lim.h: Set correct values for
5501         _POSIX2_COLL_WEIGHTS_MAX and _POSIX2_CHARCLASS_NAME_MAX.  Remove
5502         EQUIV_CLASS_MAX.
5504         * posix/bits/posix1_lim.h: Define _POSIX_TZNAME_MAX as 6.
5505         Required by POSIX.
5507         * intl/loadmsgcat.c: Include <locale.h.> for _LIBC.
5509         * conform/data/netinet/in.h-data: Add reserved prefixes.
5511         * conform/data/arpa/inet.h-data: Fix a few typos.
5513 2001-01-26  Andreas Jaeger  <aj@suse.de>
5515         * sysdeps/generic/strtol.c: Include <locale.h>
5516         * stdlib/strtod.c: Likewise
5517         * stdlib/strfmon.c: Likewise.
5518         * string/strcoll.c: Likewise.
5519         * string/strxfrm.c: Likewise.
5520         * wctype/wcfuncs_l.c: Likewise.
5521         * wctype/wctype_l.c: Likewise.
5522         * wctype/wctrans_l.c: Likewise.
5524         * include/bits/locale.h: New file.
5526 2001-01-26  Ulrich Drepper  <drepper@redhat.com>
5528         * locale/langinfo.h: Correct logic in #ifs when defining YESSTR
5529         and NOSTR.
5531         * locale/Makefile (headers): Add bits/locale.h.
5532         * locale/langinfo.h: Don't include <locale.h>.  Include <bits/locale.h>
5533         and use __LC_ constants instead of LC_.
5534         * locale/locale.h: Include <bits/locale.h> and define LC_ constants
5535         using __LC_ constants.
5536         * locale/bits/locale.h: New file.
5537         * locale/loadlocale.c: Include <locale.h>.
5538         * locale/nl_langinfo.h: Likewise.
5540         * posix/glob.h: Cleanup namespace for non-_GNU_SOURCE case.
5542         * io/sys/stat.h: Define S_IFSOCK for XPG6.
5544         * conform/data/fcntl.h-data: posix_madvise is not expected here.
5546         * conform/conformtest.pl: Fix handling of macro-str.
5548         * conform/data/inttypes.h-data: Add missing definition and all of
5549         stdint.h-data.
5551         * sysdeps/unix/sysv/linux/sys/param.h (MAXSYMLINKS): Bump to 20.
5553 2001-01-25  Ulrich Drepper  <drepper@redhat.com>
5555         * conform/conformtest.pl (@headers): Add stdint.h.
5556         * conform/data/stdint.h-data: New file.
5558         * conform/conformtest.pl: Recognize options --headers and
5559         --dialect.  Add dialect-specific CFLAGS.
5561         * conform/conformtest.pl: Implement handling of recursive
5562         allow-header.
5564         * conform/data/locale.h-data: Add new struct lconv members.
5566         * posix/wordexp.h: Correct definition of wordexp_t.
5567         * posix/wordexp.c: Moved to ...
5568         * sysdeps/generic/wordexp.c: ...here.  New file.
5569         * sysdeps/unix/sysv/linux/alpha/wordexp.c: New file.
5570         * sysdeps/unix/sysv/linux/ia64/wordexp.c: New file.
5571         * sysdeps/unix/sysv/linux/sparc/sparc64/wordexp.c: New file.
5572         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.2.2): Add
5573         wordexp.
5574         * sysdeps/unix/sysv/linux/ia64/Versions: Likewise.
5575         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions: Likewise.
5577         * math/tgmath.h: Pretty printing.
5579         * math/Makefile (tests): Add test-tgmath.
5580         (CFLAGS-test-tgmath.c): New variable.
5581         * math/test-tgmath.c: New file.  Contributed by Jakub Jelinek.
5583         * conform/conformtest.pl: Handle allow-header in secondary headers
5584         correctly.
5586         * conform/data/fcntl.h-data: Mark symbols introduced in XPG6 with
5587         #ifdef.
5589         * conform/data/netinet/in.h-data: Use correct comment character.
5590         * conform/data/sys/stat.h-data: Likewise.
5592 2001-01-25  Jakub Jelinek  <jakub@redhat.com>
5594         * math/tgmath.h (__TGMATH_BINARY_FIRST_REAL_ONLY,
5595         __TGMATH_BINARY_REAL_ONLY, __TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY,
5596         __TGMATH_TERNARY_REAL_ONLY): Use proper arguments to
5597         __builtin_classify_type, add ##f suffixes where appropriate.
5598         (__TGMATH_UNARY_REAL_IMAG): Remove extraneous left parenthesis.
5599         (__TGMATH_BINARY_REAL_IMAG): Likewise, use proper arguments to
5600         __builtin_classify_type.
5601         (fma): Fix spelling of first argument.
5603 2001-01-25  Ulrich Drepper  <drepper@redhat.com>
5605         * conform/data/unistd.h-data: Mark functions removed in XPG6
5606         correctly.
5608         * posix/unistd.h: Don't make functions removed in XPG6 available if
5609         __USE_XOPEN2K.
5611         * conform/conformtest.pl: Implement optional-constant.
5612         * conform/data/unistd.h-data: Use optional-constant wherever
5613         appropriate.
5615         * sysdeps/generic/bits/confname.h: Correct names of _SC_PBS
5616         constants and add _SC_STREAMS.
5617         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
5619         * sysdeps/unix/sysv/linux/statvfs64.c: Rename to __statvfs64 and
5620         make old name weak alias.
5621         * sysdeps/generic/statvfs64.c: Likewise.
5622         * sysdeps/unix/sysv/linux/fstatvfs64.c: Rename to __fstatvfs64 and
5623         make old name weak alias.
5624         * sysdeps/generic/fstatvfs64.c: Likewise.
5625         * include/sys/statvfs.h: New file.
5627         * sysdeps/generic/bits/confname.h: Define _PC_REC_INCR_XFER_SIZE,
5628         _PC_REC_MAX_XFER_SIZE, _PC_REC_MIN_XFER_SIZE, and
5629         _PC_REC_XFER_ALIGN.
5630         * sysdeps/posix/pathconf.c (__pathconf): Implement handling of
5631         _PC_REC_INCR_XFER_SIZE, _PC_REC_MAX_XFER_SIZE,
5632         _PC_REC_MIN_XFER_SIZE, and _PC_REC_XFER_ALIGN.
5633         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
5635         * conform/conformtest.pl: Run Unix tests for XPG6.
5636         Implement handling of known namespace violations.
5637         Improve printing of results.
5639         * posix/unistd.h (usleep): Correct return type.
5640         * sysdeps/unix/sysv/linux/usleep.c: Correct return type.
5641         * sysdeps/unix/bsd/usleep.c: Correct return type.
5642         * sysdeps/mach/usleep.c: Correct return type.
5643         * sysdeps/generic/usleep.c: Correct return type.
5645         * posix/unistd.h (sync): Correct return type.
5646         * sysdeps/generic/sync.c: Likewise.
5647         * sysdeps/mach/hurd/sync.c: Likewise.
5649         * sysdeps/generic/bits/confname.h (_SC_IOV_MAX): New definition.
5651         * posix/unistd.h: Make seteuid and setegid available for XPG6.
5653         * wcsmbs/wchar.h: Get FILE definition for XPG5.
5655         * conform/data/ctype.h-data: Use correct comment form.
5656         * conform/data/errno.h-data: Likewise.
5657         * conform/data/math.h-data: Likewise.
5658         * conform/data/mqueue.h-data: Likewise.
5659         * conform/data/netdb.h-data: Likewise.
5660         * conform/data/pthread.h-data: Likewise.
5662 2001-01-24  Ulrich Drepper  <drepper@redhat.com>
5664         * conform/data/wordexp.h-data: Fix typo.
5666         * conform/conformtest.pl: Handle allow-header correctly.
5668         * conform/data/time.h-data: Use correct comment form.
5670         * conform/conformtest.pl (checknamespace): Ignore #undef lines.
5672         * configure.in: Comment out binutils version test.
5674         * stdlib/strtod.c (str_to_mpn): Correct parsing of thousands
5675         separators.
5676         Reported by Lagardere Jean-Francois <LAGARDEREJ@thmulti.com>.
5678         * stdlib/tst-strtod.c (locale_test): New function.
5679         (main): Call locale_test.
5680         * stdlib/Makefile (tst-strtod-ENV): New variable.
5682 2001-01-24  Mark Kettenis  <kettenis@gnu.org>
5684         * hurd/hurdsig.c (_hurdsig_getenv): Remove spurious innermost
5685         declaration of value such that we actually return the value of the
5686         environment variable.
5688 2001-01-24  Andreas Jaeger  <aj@suse.de>
5690         * sysdeps/unix/sysv/linux/init-first.c: Remove extra __sysctl
5691         prototype.
5692         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
5694         * include/sys/sysctl.h: New file.
5696 2001-01-23  Andreas Jaeger  <aj@suse.de>
5698         * stdlib/Makefile ($(objpfx)isomac.out): Also pass sysincludes to
5699         isomac.
5701         * elf/dl-load.c (_dl_init_paths): Don't use strdupa in function
5702         arguments.  Reported by Jiri Kubicek <kubicek@bitsmart.com>,
5703         closes PR libc/2039.
5705         * manual/install.texi (Tools for Compilation): Change required
5706         binutils version.
5708 2001-01-22  Andreas Jaeger  <aj@suse.de>
5710         * configure.in: Add test for new enough binutils version, move
5711         compiler/binutils test up.
5713         * Versions.def: Add version GLIBC_2.2.2.
5715 2001-01-21  Ulrich Drepper  <drepper@redhat.com>
5717         * iconvdata/TESTS: UTF-8 test data for IBM932 and IBM943 are now
5718         available.
5719         * iconvdata/testdata/IBM932: New file.
5720         * iconvdata/testdata/IBM932..UTF8: New file.
5721         * iconvdata/testdata/IBM943: New file.
5722         * iconvdata/testdata/IBM943..UTF8: New file.
5723         Contributed by Masahide Washizawa <washi@jp.ibm.com>.
5725 2001-01-21  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
5727         * sysdeps/unix/sysv/linux/powerpc/mmap64.c: Correctly mask offset.
5729 2001-01-21  Ulrich Drepper  <drepper@redhat.com>
5731         * malloc/malloc.c: Remove a few unnecessary initializers of global
5732         variables.
5734 2000-12-09  H.J. Lu  <hjl@gnu.org>
5736         * nss/Makefile (routines): Add digits_dots.
5737         * nss/Versions (libc): Add __nss_hostname_digits_dots to GLIBC_2.2.2.
5738         * nss/digits_dots.c (__nss_hostname_digits_dots): Turn template
5739         into a function.
5740         * nss/nsswitch.h (__nss_hostname_digits_dots): New internal NSS
5741         function.
5742         * nss/getXXbyYY.c (H_ERRNO_VAR_P): New definition.
5743         (TYPE_VAR_P): Likewise.
5744         (FLAGS_VAR): Likewise.
5745         (AF_VAR_P): Likewise.
5746         (INTERNAL (REENTRANT_NAME)): Call __nss_hostname_digits_dots ()
5747         instead of including digits_dots.c.
5748         * nss/getXXbyYY_r.c (H_ERRNO_VAR_P): New definition.
5749         (TYPE_VAR_P): Likewise.
5750         (FLAGS_VAR): Likewise.
5751         (AF_VAR_P): Likewise.
5752         (INTERNAL (REENTRANT_NAME)): Call __nss_hostname_digits_dots ()
5753         instead of including digits_dots.c.
5755 2001-01-21  Ulrich Drepper  <drepper@redhat.com>
5757         * sysdeps/posix/getaddrinfo.c: Reduce .data size.
5759 2001-01-21  Andreas Jaeger  <aj@suse.de>
5761         * elf/constload2.c: Add prototype for init.
5763 2001-01-21  Ulrich Drepper  <drepper@redhat.com>
5765         * stdlib/stdlib.h (drand48_data): Make available only for
5766         __USE_MISC.  Rename elements to protect namespace.  Change type
5767         and position of a and init element.
5768         * stdlib/drand48-iter.c: Don't handle unsigned short > 16 bit
5769         differently.  Adjust for drand48_data change.  Don't compute a here,
5770         it comes from drand48_data.
5771         * stdlib/lcong48_r.c: Don't handle unsigned short > 16 bit
5772         differently.  Adjust for drand48_data change.  Compute a here.
5773         * stdlib/srand48_r.c: Likewise.
5774         * stdlib/drand48.c: Adjust for drand48_data change.
5775         * stdlib/lrand48.c: Likewise.
5776         * stdlib/mrand48.c: Likewise.
5777         * stdlib/seek48.c: Likewise.
5778         * stdlib/drand48_r.c: Likewise.
5779         * stdlib/lrand48_r.c: Likewise.
5780         * stdlib/mrand48_r.c: Likewise.
5781         * stdlib/seed48_r.c: Likewise.  Don't handle unsigned short > 16 bit
5782         differently.
5783         * stdlib/erand48_r.c: Don't handle unsigned short > 16 bit differently.
5784         * stdlib/jrand48_r.c: Likewise.
5786         * po/sv.po: Update from translation team.
5788 2001-01-21  Andreas Jaeger  <aj@suse.de>
5790         * stdio-common/vfprintf.c (vfprintf): Add casts.
5792 2001-01-20  Ulrich Drepper  <drepper@redhat.com>
5794         * iconvdata/run-iconv-test.sh: Reorgnize a bit to allow running only
5795         the ASCII test.
5796         * iconvdata/TESTS: Add entries for IBM932 and IBM943.
5798         * iconvdata/Makefile (modules): Add IBM932 and IBM943.
5799         * iconvdata/gconv-modules: Add entries for IBM932 and IBM943.
5800         * iconvdata/ibm932.c: New file.
5801         * iconvdata/ibm932.h: New file.
5802         * iconvdata/ibm943.c: New file.
5803         * iconvdata/ibm943.h: New file.
5804         Patches by Masahide Washizawa <washi@jp.ibm.com>.
5806         * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Fix typo
5807         preventing optimization from being done.  Set the correct type bit
5808         in seen.  Don't define and use _dl_base_addr unless
5809         NEED_DL_BASE_ADDR is defined.
5811         * io/ftw.c (ftw_dir): Add slash after directory name if there
5812         wasn't any.  Reported by loris <loris@iol.it>.
5813         * io/Makefile (tests): Add bug-ftw2.
5814         * io/bug-ftw2.c: New file.
5816 2001-01-19  Ulrich Drepper  <drepper@redhat.com>
5818         * stdlib/jrand48_r.c (__jrand48_r): Correct constructing of
5819         results.  Reported by Jeff Higham <jhigham@algorithmics.com>.
5820         * stdlib/tst-rand48.c: New file.
5821         * stdlib/Makefile (tests): Add tst-rand48.
5823         * locale/newlocale.c (__newlocale): Fix test for setting all
5824         categories.
5826 2001-01-19  Mark Kettenis  <kettenis@gnu.org>
5828         * sysdeps/mach/hurd/chroot.c (chroot): Revert 1999-02-27 changes,
5829         but change looking up the initial directory port in a similar way
5830         as done by _hurd_change_directory_port_from_name.
5831         * hurd/fchroot.c (fchroot): Likewise.
5833 2001-01-18  Ulrich Drepper  <drepper@redhat.com>
5835         * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): If HAVE_AUX_XID is
5836         defined don't look whether the AT_*ID values were set.
5837         If HAVE_AUX_PAGESIZE is defined don't look whether the pagesize is set.
5838         (_dl_show_auxv): Rewrite to avoid switch statement.
5839         * sysdeps/unix/sysv/linux/kernel-features.h: Define
5840         __ASSUME_AT_PAGESIZE for kernel >= 2.4.1.
5841         * sysdeps/unix/sysv/linux/ldsodefs.h: Define HAVE_AUX_XID.
5842         Define HAVE_AUX_PAGESIZE if __ASSUME_AT_PAGESIZE is defined.
5844         * sysdeps/unix/sysv/linux/fxstat64.c: Add one __builtin_expect.
5845         * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
5846         * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
5848         * elf/rtld.c (process_envvars): Call __strtoul_internal instead of
5849         strtoul.
5850         * elf/dl-minimal.c (strtol, __strtol_internal, strtoul): Removed.
5851         (__sigjmp_save): Set __mask_was_saved to zero since we don't save
5852         anything.
5853         * dlfcn/eval.c (__strtol_internal): Define here.
5854         (eval): Use __strtol_internal instead of strtol.
5856         * elf/elf.h: Add a few more EF_MIPS_* constants.
5858 2001-01-17  Ulrich Drepper  <drepper@redhat.com>
5860         * manual/Makefile (chapters): Add debug.
5861         * manual/debug.texi: New file.
5862         * manual/examples/execinfo.c: New file.
5863         Patch by suckfish@ihug.co.nz.
5865 2001-01-17  Andreas Schwab  <schwab@suse.de>
5867         * sysdeps/m68k/bits/byteswap.h (__bswap_32): Add cast to avoid
5868         invalid asm.
5870 2001-01-17  Andreas Jaeger  <aj@suse.de>
5872         * nscd/connections.c (nscd_run): Use proper format specifier.
5874 2001-01-16  Ulrich Drepper  <drepper@redhat.com>
5876         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Move x86_cap_flags and
5877         x86_platforms data into new file after prepending _dl_.  Change
5878         users.
5879         * sysdeps/unix/sysv/linux/i386/dl-procinfo.c: New file.
5880         * sysdeps/unix/sysv/linux/i386/Dist: Add dl-procinfo.c.
5881         * sysdeps/unix/sysv/linux/i386/Makefile: Add rules to build
5882         dl-procinfo.c.
5884         * setjmp/setjmp.h: Cleanup definition of setjmp macro.
5886         * sysdeps/i386/elf/bsd-setjmp.S: Real implementation.
5887         * sysdeps/i386/elf/bsd-_setjmp.S: Removed.
5888         * sysdeps/i386/elf/setjmp.S (setjmp): Removed here.
5889         (_setjmp): Likewise.
5890         * sysdeps/i386/bsd-_setjmp.S: Real implementation.
5891         * sysdeps/i386/bsd-setjmp.S: Real implementation.
5892         * sysdeps/i386/bits/setjmp.h: Remove PUSH_SIGNAL_MASK definition.
5893         * sysdeps/i386/setjmp.S: Remove PIC support.  This is the non-ELF
5894         version.
5896 2001-01-16  Andreas Jaeger  <aj@suse.de>
5898         * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h (SIGCONTEXT): Fix
5899         misapplied last patch.
5901 2001-01-15  Ulrich Drepper  <drepper@redhat.com>
5903         * stdlib/random.c (__initstate): Clean up a cast.
5904         (__setstate): Likewise.
5906         * sysdeps/unix/sysv/linux/mips/syscalls.list: Remove select
5907         syscall handling.  The generic Linux version should work.
5909 2001-01-15  Andreas Jaeger  <aj@suse.de>
5911         * sysdeps/unix/sysv/linux/sys/sendfile.h: Fix typo.
5913         * stdio-common/tstscanf.c (main): Add two testcases for '*' modifier.
5915 2001-01-14  Jakub Jelinek  <jakub@redhat.com>
5917         * nss/getent.c (print_aliases, aliases_keys, ethers_keys,
5918         netgroup_keys, print_rpc, rpc_keys, print_shadow, shadow_keys):
5919         New functions.
5920         (group_keys, hosts_keys, network_keys, passwd_keys, protocols_keys):
5921         If number is 0, list all.
5922         (services_keys): Likewise.  Lookup aliases as well.
5923         (databases): New table.
5924         (build_doc): Prepare argp doc text with list of supported databases.
5925         (main): Change to table driven processing.
5927 2001-01-14  Thorsten Kukuk <kukuk@suse.de>
5929         * sunrpc/xdr.c (xdr_long, xdr_u_long): Fix comments about these
5930         functions.
5932 2001-01-03  Jakub Jelinek  <jakub@redhat.com>
5934         * sunrpc/xdr.c (xdr_long, xdr_u_long): Return FALSE if trying to
5935         encode value which does not fit in the 32bit type.
5937 2001-01-15  Hiroyuki Machida <machida@sm.sony.co.jp>
5939         * sysdeps/unix/sysv/linux/mips/register-dump.h (REGISTER_DUMP):
5940         Change type of CTX to (struct sigcontext *).
5941         * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h (GET_PC): Likewise.
5942         (GET_FRAME): Likewise.
5943         (GET_STACK): Likewise.
5944         (SIGCONTEXT): Likewise. Add 2nd arg _code.
5945         (SIGCONTEXT_EXTRA_ARGS): Add 2nd arg _code.
5947 2001-01-13  Ulrich Drepper  <drepper@redhat.com>
5949         * manual/texinfo.tex: Update from upstream version.
5951 2001-01-13  Jakub Jelinek  <jakub@redhat.com>
5953         * inet/ether_ntoh.c (lookup_function): Change arguments to match
5954         _nss_*_getntohost_r prototype.
5955         (ether_ntohost): Pass errno pointer to NSS function.
5957 2001-01-12  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
5959         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MS_SYNC): Fix value.
5960         (MAP_LOCKED): New definition.
5961         (MAP_NORESERVE): New definition.
5963 2001-01-12  Ulrich Drepper  <drepper@redhat.com>
5965         * assert/assert.h: Use static_cast instead of C-style cast for C++.
5966         Patch by Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>.
5968 2001-01-12  Ben Collins  <bcollins@debian.org>
5970         * sysdeps/generic/segfault.c (install_handler): Use access, not
5971         __access.
5973 2001-01-12  Andreas Jaeger  <aj@suse.de>
5975         * posix/fnmatch_loop.c (FCT): Remove signed warnings.
5976         * posix/wordexp.c (do_parse_glob): Likewise.
5977         * sysdeps/posix/sigblock.c (__sigblock): Likewise.
5978         * sysdeps/posix/sigsetmask.c (__sigsetmask): Likewise.
5979         * elf/dl-open.c (_dl_open): Likewise.
5980         * elf/dl-close.c (_dl_close): Likewise.
5981         * elf/dl-load.c (_dl_map_object): Likewise.
5982         * iconv/iconv_prog.c (process_fd): Likewise.
5983         * stdio-common/vfscanf.c (_IO_vfscanf): Likewise.
5985         * locale/localeinfo.h (struct locale_data): Use __flexarr instead
5986         of a zero-length array.
5988 2001-01-11  Jakub Jelinek  <jakub@redhat.com>
5990         * stdlib/cxa_atexit.c (__cxa_atexit): Cast to (void *, int) func.
5991         * stdlib/cxa_finalize.c (__cxa_finalize): Add hidden second argument.
5992         * stdlib/cxa_on_exit.c: Remove.
5993         * stdlib/Makefile: Revert last patch.
5994         * stdlib/Versions: Likewise.
5995         * include/stdlib.h: Likewise.
5996         * stdlib/exit.h: Revert last patch.
5997         (struct exit_function): Add second argument to cxa fn.
5998         * stdlib/exit.c: Revert last patch.
5999         (exit): Add hidden second argument.
6001 2001-01-11  H.J. Lu  <hjl@gnu.org>
6003         * elf/dl-libc.c (do_dlopen): Move DL_STATIC_INIT to ...
6004         * elf/dl-open.c (_dl_open): Here.
6005         * sysdeps/unix/sysv/linux/ia64/dl-static.c (_dl_static_lock):
6006         Make it static.
6007         (_dl_static_init): Initialize the variables every time when possible.
6008         * sysdeps/unix/sysv/linux/ia64/ldsodefs.h (DL_STATIC_INIT):
6009         Undefine it first.
6011 2001-01-11  Ulrich Drepper  <drepper@redhat.com>
6013         * stdlib/Makefile (routines): Add cxa_on_exit.
6014         * stdlib/Versions [libc] (GLIBC_2.2.1): Add __cxa_on_exit.
6015         * stdlib/cxa_on_exit.c: New file.
6016         * include/stdlib.h: Add prototype for __cxa_on_exit.
6017         * stdlib/exit.c: Handle ef_cxa2.
6018         * stdlib/exit.h (enum): Add ef_cxa2.
6019         (struct exit_function): Add cxa2.
6021         * Versions.def [ld]: Add GLIBC_2.2.1.
6023 2001-01-10  H.J. Lu  <hjl@gnu.org>
6025         * elf/dl-libc.c (do_dlopen): Call DL_STATIC_INIT for static binaries.
6026         * sysdeps/unix/sysv/linux/ia64/Makefile (sysdep-dl-routines): Add
6027         dl-static.
6028         * sysdeps/unix/sysv/linux/ia64/Versions (ld): Add _dl_var_init.
6029         * sysdeps/generic/ldsodefs.h (DL_STATIC_INIT): Defined if not defined.
6030         * sysdeps/unix/sysv/linux/ia64/ldsodefs.h: New file.
6031         * sysdeps/unix/sysv/linux/ia64/dl-static.c: New file.
6032         * sysdeps/unix/sysv/linux/ia64/Dist: Add dl-static.c.
6034 2001-01-11  Ulrich Drepper  <drepper@redhat.com>
6036         * libio/stdio.h: Remove definition of off_t.
6038 2001-01-11  Andreas Jaeger  <aj@suse.de>
6040         * wcsmbs/tst-mbrtowc.c (utf8_test): New function by Markus Kuhn
6041         <mkuhn@acm.org>.
6043 2001-01-10  Ulrich Drepper  <drepper@redhat.com>
6045         * sunrpc/Makefile (distribute): Add errqueue.h.
6047 2001-01-10  H.J. Lu  <hjl@gnu.org>
6049         * sysdeps/ia64/dl-machine.h (TRAMPOLINE_TEMPLATE): Also preserve
6050         r9, r10 and r11 for language specific registers.
6052 2001-01-10  Jakub Jelinek  <jakub@redhat.com>
6054         * sunrpc/clnt_udp.c (clntudp_bufcreate): Set IP_RECVERR on the
6055         UDP socket.
6056         (clntudp_call): Handle MSG_ERRQUEUE.
6057         * sysdeps/generic/errqueue.h: New file.
6058         * sysdeps/unix/sysv/linux/errqueue.h: New file.
6060 2001-01-10  H.J. Lu  <hjl@gnu.org>
6062         * sysdeps/unix/sysv/linux/ia64/syscalls.list (s_getpagesize): Removed.
6064 2001-01-10  Joseph S. Myers  <jsm28@cam.ac.uk>
6066         * CONFORMANCE: Update.
6068 2001-01-09  Ulrich Drepper  <drepper@redhat.com>
6070         * sysdeps/generic/elf/backtracesyms.c (__backtrace_symbols):
6071         Minimal cleanups.  Add assert to ensure memory handling is correct.
6073         * manual/conf.texi (File Minimums): Fix _POSIX_PATH_MAX value.
6074         Reported by Ben Collins <bcollins@debian.org>.
6076         * time/strftime.c (my_strftime): Mark previous GNU extensions
6077         which are now in C99 as such.
6079 2001-01-08  Ulrich Drepper  <drepper@redhat.com>
6081         * elf/rtld.c (process_envvars): Place output files for profiling
6082         in SUID binaries in /var/profile.
6084         * elf/dl-load.c (_dl_map_object): Don't look in cache for
6085         preloading in SUID binaries.
6087         * elf/dl-profile.c (_dl_start_profile): Open the output file with
6088         O_NOFOLLOW if possible.
6090         * include/stdlib.h: Add __posix_openpt declaration.
6091         * stdlib/stdlib.h: Add posix_openpt declaration.
6092         * login/Versions: Add posix_openpt for GLIBC_2.2.1.
6093         * sysdeps/generic/getpt.c: Define posix_openpt.
6094         * sysdeps/unix/bsd/getpt.c: Likewise.
6095         * sysdeps/unix/sysv/linux/getpt.c: Likewise.
6097         * time/Makefile (tests): Add tst-mktime.
6098         * time/tst-mktime.c: New file.
6100         * posix/tst-dir.c (main): One more mkdir() test.
6102         * sysdeps/unix/sysv/linux/ia64/getpagesize.c (__getpagesize):
6103         Remove getpagesize syscall.  We assume that the pagesize is always
6104         determined from the auxiliary vector.
6106         * intl/dcigettext.c: Fix a few warnings.
6107         Patch by Bruno Haible <haible@ilog.fr>.
6109 2001-01-08  Andreas Jaeger  <aj@suse.de>
6111         * io/test-lfs.c (do_test): Check lseek64 return for EINVAL.
6112         Reported by Joseph S. Myers <jsm28@cam.ac.uk>.
6114 2001-01-08  Ulrich Drepper  <drepper@redhat.com>
6116         * sysdeps/generic/segfault.c (install_handler): Check output file
6117         name with access().
6119         * resolv/res_query.c: Use simply getenv() for HOSTALIASES.
6120         * sysdeps/generic/unsecvars.h (UNSECURE_ENVVARS): Add HOSTALIASES.
6122         * sysdeps/generic/unsecvars.h (UNSECURE_ENVVARS): Add missing comma.
6124         * malloc/memusage.c (me): Use access() to determine whether we
6125         should write the output file or not.
6127         * libio/bits/stdio.h (printf): Define macro to map printf call to
6128         fprintf which gcc can optimize.
6129         * stdio-common/printf.c: Undefine printf.
6131 2001-01-07  Ulrich Drepper  <drepper@redhat.com>
6133         * sysdeps/generic/bits/byteswap.h (__bswap_64): Partly revert last
6134         patch.  We must use unsigned int for l member of union.
6136         * sysdeps/powerpc/elf/libc-start.c (__libc_start_main): Don't call
6137         _dl_aux_init for shared libraries.
6139         * sysdeps/unix/sysv/linux/glob64.c: Moved to ...
6140         * sysdeps/gnu/glob64.c: ...here.  New file.
6142 2001-01-07  Ben Collins  <bcollins@debian.org>
6144         * manual/examples/longopt.c: Make the "struct option" a little
6145         more like it should be, adding usage of required_argument,
6146         noargument and such, and also setting the options string right.
6148         * manual/sysinfo.texi (Load Average): New section, documents
6149         getloadavg().
6151 2001-01-06  Ulrich Drepper  <drepper@redhat.com>
6153         * version.h (VERSION): Bump to 2.2.1.
6155         * sysdeps/unix/sysv/linux/mips/Dist: Remove sys/acct.h.
6156         * sysdeps/alpha/Dist: Add alphaev6/stxncpy.S and alphaev6/stxcpy.S.
6157         * sysdeps/unix/sysv/aix/Dist: Add uitrunc.c, savef.S, and restf.S.
6158         * dlfcn/Makefile (distribute): Add errmsg1mod.c.
6159         * Makefile (distribute): Add include/libc-internal.h.
6160         * libio/Makefile (distribute): Avoid overwriting.
6162         * iconvdata/ibm937.c (BODY to IBM937): Correct several mistakes in
6163         buffer and table handling.
6165 2001-01-05  H.J. Lu  <hjl@gnu.org>
6167         * elf/dl-support.c (non_dynamic_init): Move the auxiliary
6168         vector checking to ...
6169         (_dl_aux_init): Here. New function. Defined only if
6170         HAVE_AUX_VECTOR is defined.
6172         * sysdeps/generic/libc-start.c (__libc_start_main): Call
6173         _dl_aux_init for static binaries if HAVE_AUX_VECTOR is defined.
6175         * sysdeps/powerpc/elf/libc-start.c (__libc_start_main): Call
6176         _dl_aux_init.
6178         * sysdeps/unix/sysv/linux/ldsodefs.h (DL_FIND_AUXV): Removed.
6179         (HAVE_AUX_VECTOR): Defined.
6180         (_dl_aux_init): Declared.
6182 2001-01-05  Ben Collins  <bcollins@debian.org>
6184         * manual/string.texi (Finding Tokens in a String): Document XPG
6185         basename() and dirname(), as well as GNU basename().
6187 2001-01-05  Jakub Jelinek  <jakub@redhat.com>
6189         * Makeconfig (preprocess-version): Replace -traditional with
6190         -x assembler-with-cpp.
6192 2001-01-05  Joseph S. Myers  <jsm28@cam.ac.uk>
6194         * math/bits/cmathcalls.h: Don't define inline cimag, creal or conj
6195         for GCC 2.97 or later.
6197 2001-01-05  Ben Collins  <bcollins@debian.org>
6199         * manual/stdio.texi (getline): Clarify the return value in the
6200         case of EOF being reached before a newline.
6202 2001-01-04  Jakub Jelinek  <jakub@redhat.com>
6204         * sunrpc/pmap_clnt.c (__get_myaddress): Return TRUE if successful,
6205         FALSE otherwise.
6206         (pmap_set, pmap_unset): Check __get_myaddress return value.
6208 2001-01-05  Mark Kettenis  <kettenis@gnu.org>
6210         * sysdeps/generic/netinet/if_ether.h: Include <sys/types.h>.
6211         (struct ether_addr): Declare ether_addr_octet member as
6212         `u_int8_t'.  Add __attribute__ ((__packed__)).
6214 2001-01-06  Mark Kettenis  <kettenis@gnu.org>
6216         * sysdeps/mach/hurd/readdir64.c: New file.
6217         * sysdeps/mach/hurd/readdir64_r.c: New file.
6219 2001-01-07  Mark Kettenis  <kettenis@gnu.org>
6221         * sysdeps/mach/hurd/fstatvfs.c (fstatvfs): Add comment about
6222         `struct statfs' and `struct statvfs' being identical.
6223         * sysdeps/mach/hurd/statvfs.c (statvfs): Likewise.
6225 2001-01-06  Mark Kettenis  <kettenis@gnu.org>
6227         * sysdeps/mach/hurd/fstatfs64.c: New file.
6228         * sysdeps/mach/hurd/fstatvfs64.c: New file.
6229         * sysdeps/mach/hurd/statfs64.c: New file.
6230         * sysdeps/mach/hurd/statvfs64.c: New file.
6231         * sysdeps/mach/hurd/statfsconv.c: New file.
6232         * sysdeps/mach/hurd/Dist: Add statfsconv.c.
6234 2001-01-06  Ulrich Drepper  <drepper@redhat.com>
6236         * iconv/skeleton.c: Reset outbuf for next round of the loop.
6237         Reported by Owen Taylor <otaylor@redhat.com>.
6238         * iconv/Makefile (tests): Add tst-iconv3.
6239         * iconv/tst-iconv3.c: New file.
6241         * iconvdata/ibm930.c: Fix handling of state.  Optimize a bit.
6242         * iconvdata/ibm933.c: Likewise.
6243         * iconvdata/ibm935.c: Likewise.
6244         * iconvdata/ibm937.c: Likewise.
6245         * iconvdata/ibm939.c: Likewise.
6246         * iconvdata/ibm930.h: Adjust single byte table for optimization.
6247         * iconvdata/ibm933.h: Likewise.
6248         * iconvdata/ibm935.h: Likewise.
6249         * iconvdata/ibm939.h: Likewise.
6251         * iconvdata/testdata/IBM930: Add misssing SI.
6252         * iconvdata/testdata/IBM933: Likewise.
6253         * iconvdata/testdata/IBM935: Likewise.
6254         * iconvdata/testdata/IBM937: Likewise.
6255         * iconvdata/testdata/IBM939: Likewise.
6257 2001-01-06  Andreas Jaeger  <aj@suse.de>
6259         * configure.in: Check for old add-ons that shouldn't be used with
6260         current glibc anymore.
6262 2001-01-06  Mark Kettenis  <kettenis@gnu.org>
6264         * sysdeps/mach/hurd/readdir_r.c (__readdir_r): Return error number
6265         instead of -1 on failure.  Don't forget to copy file name into
6266         *ENTRY if successful.  Set *RESULT to NULL upon reaching the end
6267         of the directory.
6269 2001-01-06  Mark Kettenis  <kettenis@gnu.org>
6271         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Don't forget to
6272         copy st_atime member.
6274 2001-01-05  Ulrich Drepper  <drepper@redhat.com>
6276         * io/ftw.c (ftw_dir): Don't add a second slash at the beginning
6277         for searches from the root directory.
6278         Reported by loris <loris@iol.it> [PR libc/1991].
6279         * io/Makefile (tests): Add bug-ftw1.
6280         * io/bug-ftw1.c: New file.
6282         * elf/dl-support.c (non_dynamic_init): Don't define DL_FIND_AUXV
6283         if it is not available.  Instead use it only if it is available.
6284         * sysdeps/unix/sysv/linux/ldsodefs.h: New file.
6286         * iconv/gconv_simple.c (internal_ics4_loop): Correct test for
6287         overflowing output buffer.
6288         (internal_ucs4_loop_unaligned): Likewise.
6289         (ucs4_internal_loop): Likewise.
6290         (ucs4_internal_loop_unaligned): Likewise.
6291         (internal_ucs4le_loop): Likewise.
6292         (internal_ucs4le_loop_unaligned): Likewise.
6293         (ucs4le_internal_loop): Likewise.
6294         (ucs4le_internal_loop_unaligned): Likewise.
6295         Reported by Owen Taylor <otaylor@redhat.com>.
6296         * iconv/Makefile (tests): Add tst-iconv2.
6297         * iconv/tst-iconv2.c: New file.
6299 2001-01-04  H.J. Lu  <hjl@gnu.org>
6301         * elf/dl-support.c (DL_FIND_AUXV): New.  Defined if not defined.
6302         (_dl_clktck): Declared.
6303         (non_dynamic_init): Take 3 arguments.
6304         Set _dl_pagesize, _dl_platform and _dl_clktck from AUX.
6306 2001-01-01  Bruno Haible  <haible@clisp.cons.org>
6308         Finish implementation of plural form handling.
6309         * intl/dcigettext.c (known_translation_t): Rename 'domain' field to
6310         'domainname'.  Remove 'plindex' field. Add 'domain' and
6311         'translation_length' fields.
6312         (transcmp): Don't compare 'plindex' fields.
6313         (plural_lookup): New function.
6314         (DCIGETTEXT): Change cache handing in the plural case.  Don't call
6315         plural_eval before the translation and its catalog file have been
6316         found. Remove plindex from cache key.  Add 'translation_length' and
6317         'domain' to cache result.
6318         (_nl_find_msg): Remove index argument, return length of translation
6319         to the caller instead.  Weaken comparison of string lengths, to account
6320         for plural entries.  Call iconv() on the entire result string, not
6321         only on the portion needed so far.
6322         * intl/loadinfo.h (_nl_find_msg): Remove index argument, add lengthp
6323         argument.
6324         * intl/loadmsgcat.c (_nl_load_domain): Adapt to _nl_find_msg change.
6326 2001-01-04  Ulrich Drepper  <drepper@redhat.com>
6328         * intl/plural.y (yylex): Minimal improvement in number scanner.
6330 2000-07-31  Bruno Haible  <haible@clisp.cons.org>
6332         * intl/plural.y: Include config.h. Needed to define 'inline' away for
6333         C compilers that don't support it.
6334         (yylex): Don't use gcc specific case range syntax.
6335         * intl/loadmsgcat.c (INIT_GERMANIC_PLURAL): New macro, for old
6336         compilers.
6338 2000-10-12  Bruno Haible  <haible@clisp.cons.org>
6340         * intl/finddomain.c: Remove unneeded includes.
6342 2000-10-12  Bruno Haible  <haible@clisp.cons.org>
6344         * intl/localealias.c (memcpy): Return first argument, just like the
6345         real memcpy function does.
6346         * intl/bindtextdom.c (memcpy): Likewise.
6347         * intl/finddomain.c (memcpy): Likewise.
6348         * intl/l10nflist.c (memcpy): Likewise.
6349         * intl/textdomain.c (memcpy): Likewise.
6350         From Paul Eggert <eggert@twinsun.com>.
6352 2001-01-03  Jakub Jelinek  <jakub@redhat.com>
6354         * resolv/resolv.h (struct __res_state): Add nsinit field.
6355         * resolv/res_send.c (res_nsend): Use it instead of nscount.
6356         * resolv/res_init.c (__res_vinit): Initialize it.
6357         (res_nclose): Clear it instead of nscount.
6359 2001-01-04  Ulrich Drepper  <drepper@redhat.com>
6361         * malloc/mtrace.pl: Fix matching of addresses.
6362         Patch by Aharon Robbins <arnold@skeeve.com>.
6364         * Versions.def (ld): Add GLIBC_2.2.
6366         * catgets/gencat.c: Copyright 2001.
6367         * csu/version.c: Likewise.
6368         * debug/catchsegv.sh: Likewise.
6369         * debug/xtrace.sh: Likewise.
6370         * elf/ldconfig.c: Likewise.
6371         * elf/sprof.c: Likewise.
6372         * iconv/iconv_prog.c: Likewise.
6373         * locale/locale.c: Likewise.
6374         * locale/localedef.c: Likewise.
6375         * malloc/memusage.sh: Likewise.
6376         * malloc/mtrace.pl: Likewise.
6377         * nscd/nscd.c: Likewise.
6378         * posix/getconf.c: Likewise.
6380 2001-01-04  Mark Kettenis  <kettenis@gnu.org>
6382         * include/stdio.h: Only provide __getwc_unlocked prototype if
6383         USE_IN_LIBIO is defined.
6385 2001-01-04  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
6387         * sysdeps/unix/sysv/linux/sh/socket.S (__socket): Fix error code
6388         handling.
6390 2001-01-03  Andreas Schwab  <schwab@suse.de>
6392         * sysdeps/generic/strtoll.c: Remove unused __strtoq_internal alias.
6393         * sysdeps/generic/strtoull.c: Remove unused __strtouq_internal alias.
6395         * sysdeps/wordsize-64/strtol.c: Add strtoq alias and fix strtoll alias.
6396         * sysdeps/wordsize-64/strtoul.c: Add strtouq alias and fix
6397         strtoull alias.
6398         * sysdeps/wordsize-64/wcstol.c: Add wcstoq alias and fix wcstoll alias.
6399         * sysdeps/wordsize-64/wcstoul.c: Add wcstouq alias and fix
6400         wcstoull alias.
6402         * sysdeps/generic/strtoul.c: Make sure we find strtol.c in this
6403         directory.
6404         * sysdeps/generic/strtol_l.c: Likewise.
6405         * sysdeps/generic/strtoul_l.c: Likewise.
6406         * sysdeps/generic/wcstoul.c: Likewise, for wcstol.c.
6408         * sysdeps/wordsize-64/strtol_l.c: Fix alias.
6409         * sysdeps/wordsize-64/strtoul_l.c: Likewise.
6410         * sysdeps/wordsize-64/wcstol_l.c: Fix alias.
6411         * sysdeps/wordsize-64/wcstoul_l.c: Likewise.
6413 2001-01-04  Andreas Jaeger  <aj@suse.de>
6415         * nss/nsswitch.c: Include files for missing prototypes, remove
6416         buggy declaration of prototypes.
6418 2001-01-03  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
6420         * resolv/Versions: Fix bracing.
6421         * sysdeps/powerpc/soft-fp/Versions: Likewise.
6422         * sysdeps/sparc/sparc64/soft-fp/Versions: Likewise.
6424 2001-01-02  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
6426         * sysdeps/powerpc/dl-machine.c (__process_machine_rela): Fix typo.
6428 2001-01-02  Ulrich Drepper  <drepper@redhat.com>
6430         * manual/Makefile (TEXI2PDF): Change to texi2dvi --pdf.
6431         Suggested by Minko Markov <mmarkov@home.com>.
6433 2001-01-02  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
6435         * sysdeps/powerpc/elf/start.S (__data_start): Make it global.
6436         * sysdeps/powerpc/dl-machine.c (dl_reloc_overflow): Print the name of
6437         the failing symbol.
6438         (__process_machine_rela): Pass symbol to dl_reloc_overflow().
6440 2001-01-02  Ben Collins  <bcollins@debian.org>
6442         * time/tzset.c (tzset_internal): Make sure we fall back to UTC
6443         if TZ is not set and TZDEFAULT is not present.
6445 2001-01-01  Ben Collins  <bcollins@debian.org>
6447         * string/strings.h: Make sure we declare our functions even if
6448         string.h is already included, based on whether or not __USE_BSD is
6449         defined.
6451 2001-01-02  Ulrich Drepper  <drepper@redhat.com>
6453         * dlfcn/dlerror.c (dlerror): Handle call of dlerror() before any
6454         other dlopen() and dlsym().
6455         Based on a patch by Ben Collins <bcollins@debian.org>.
6457 2001-01-02  Andreas Jaeger  <aj@suse.de>
6459         * dlfcn/errmsg1.c (main): Call dlerror initially.
6460         Reported by Ben Collins <bcollins@debian.org>.
6462 2001-01-02  Ulrich Drepper  <drepper@redhat.com>
6464         * intl/dcigettext.c (guess_category_value): Rewrite so that LANGUAGE
6465         value is ignored if the selected locale is the C locale.
6466         * intl/tst-gettext.c: Set locale for above change.
6467         * intl/tst-translit.c: Likewise.
6469 2001-01-02  Andreas Jaeger  <aj@suse.de>
6471         * libio/wgenops.c (_IO_wdoallocbuf): Use correct wide access macro.
6472         (_IO_switch_to_wget_mode): Likewise.
6473         (_IO_sputbackwc): Likewise.
6474         (_IO_sungetwc): Use wint_t for result.
6476         * stdio-common/vfscanf.c (__vfscanf): Use WINT_T for done.
6478         * sysdeps/generic/strtol.c (strtol): Make cnt size_t for correct
6479         signedness.
6481         * sysdeps/generic/printf_fphex.c (putc): Cast _IO_putwc_unlocked
6482         to (int) to avoid warnings.
6483         * stdio-common/printf_fp.c (putc): Likewise.
6484         * stdio-common/printf_size.c (putc): Likewise.
6486         * sysdeps/generic/dl-sysdep.c (_dl_important_hwcaps): Make
6487         constant unsigned.
6489 2001-01-01  Andreas Jaeger  <aj@suse.de>
6491         * inet/rcmd.c (rcmd_af): Use socklen_t for len.
6493 2000-12-31  Andreas Jaeger  <aj@suse.de>
6495         * include/libc-internal.h: Add prototype for __libc_freeres.
6497         * sysdeps/unix/sysv/linux/init-first.c: Include <libc-internals.h>
6498         for prototypes, remove redundant prototypes.
6499         * gmon/gmon.c: Likewise.
6500         * sysdeps/unix/i386/i586/clock_getres.c: Likewise.
6501         * sysdeps/unix/i386/i586/clock_gettime.c: Likewise.
6502         * malloc/mtrace.c: Likewise.
6504         * sysdeps/generic/enbl-secure.c: Include <libc-internals.h> for
6505         prototypes.
6506         * elf/soinit.c: Likewise.
6507         * sysdeps/generic/prof-freq.c: Likewise.
6508         * sysdeps/mach/hurd/profil.c: Likewise.
6509         * debug/noophooks.c: Likewise.
6510         * debug/pcprofile.c: Likewise.
6511         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Likewise.
6512         * sysdeps/generic/get_clockfreq.c: Likewise.
6513         * malloc/set-freeres.c: Likewise.
6515         * locale/localeinfo.h: Add internal prototypes.
6517         * elf/rtld.c (dl_main): Fix prototype.
6519         * iconvdata/tst-table-to.c (main): Use return instead of exit to
6520         avoid warning.
6522         * nis/rpcsvc/yp_prot.h: Remove __P.
6523         * nis/rpcsvc/ypupd.h: Likewise.
6524         * nis/rpcsvc/yp.h: Likewise.
6526         * sunrpc/rpc_main.c: Add noreturn attributes.
6527         * sunrpc/rpc_scan.h: Likewise.
6529         * sunrpc/rpc_hout.c (storexdrfuncdecl): Make static.
6531         * sunrpc/rpcinfo.c: Add noreturn attribute to brdcst.
6533         * sunrpc/proto.h: Add noreturn attributes to error and crash.
6535         * posix/bsd-getpgrp.c: Add prototype to avoid warning.
6537         * sunrpc/svc_unix.c: Include <rpc/svc.h> for prototypes.
6539         * sunrpc/create_xid.c: Include <rpc/svc.h> for prototypes.
6541         * include/rpc/rpc_msg.h: Add prototypes for some functions.
6542         * include/rpc/auth.h: Likewise.
6543         * include/rpc/auth_des.h: Likewise.
6544         * include/rpc/clnt.h: Likewise.
6545         * include/rpc/rpc.h: Likewise.
6546         * include/rpc/svc.h: Likewise.
6547         * include/rpc/svc_auth.h: Likewise.
6549         * include/rpc/des_crypt.h: New file.
6551         * malloc/memusagestat.c (main): Use return instead of exit to
6552         avoid warning.
6553         * io/pwd.c (main): Likewise.
6554         * iconvdata/tst-table-from.c (main): Likewise.
6555         * ctype/test_ctype.c (main): Likewise.
6556         * setjmp/tst-setjmp.c (main): Likewise.
6557         * signal/tst-signal.c (main): Likewise.
6558         * stdlib/tst-strtol.c (main): Likewise.
6559         * stdlib/tst-strtod.c (main): Likewise.
6560         * stdlib/tst-strtoll.c (main): Likewise.
6561         * stdlib/tst-xpg-basename.c (main): Likewise.
6562         * dirent/tst-seekdir.c (main): Likewise.
6563         * grp/testgrp.c (main): Likewise.
6564         * inet/test_ifindex.c (main): Likewise.
6565         * io/test-utime.c (main): Likewise.
6566         * posix/test-vfork.c (main): Likewise.
6567         * posix/testfnm.c (main): Likewise.
6568         * stdio-common/temptest.c (main): Likewise.
6569         * stdio-common/test_rdwr.c (main): Likewise.
6570         * stdio-common/tst-fileno.c (main): Likewise.
6571         * stdio-common/tst-sscanf.c (main): Likewise.
6572         * stdio-common/tstscanf.c (main): Likewise.
6573         * string/bug-strncat1.c (main): Likewise.
6574         * string/bug-strpbrk1.c (main): Likewise.
6575         * string/bug-strspn1.c (main): Likewise.
6576         * string/test-ffs.c (main): Likewise.
6577         * string/tst-inlcall.c (main): Likewise.
6578         * string/tst-svc.c (main): Likewise.
6579         * timezone/test-tz.c (main): Likewise.
6580         * wctype/test_wcfuncs.c (main): Likewise.
6581         * wctype/test_wctype.c (main): Likewise.
6583         * stdlib/tst-random.c: Add attribute noreturn to fail.
6585 2000-12-28  Wolfram Gloger  <wg@malloc.de>
6587         * malloc/malloc.c (MALLOC_COPY): Handle case if source and
6588         destination overlap.  Assume dest is always below source if
6589         overlapping.
6591 2000-12-30  Ulrich Drepper  <drepper@redhat.com>
6593         * elf/dl-close.c (_dl_close): We can ignore the NODELETE flag if the
6594         object was not yet initialized.
6596 2000-12-28  H.J. Lu  <hjl@gnu.org>
6598         * elf/dl-deps.c (_dl_map_object_deps): Make sure the DSO state
6599         is always consistent even if its dependency is failed.
6601         * elf/dl-open.c (_dl_open): Increment the open count before
6602         calling _dl_close () in case of failure.
6604         * elf/neededtest4.c: New file.
6605         * elf/neededobj5.c: New file.
6606         * elf/neededobj6.c: New file.
6608         * elf/Makefile (distribute): Add neededobj5.c and neededobj6.c.
6609         (tests): Add neededtest4.
6610         (modules-names): Add neededobj5 and neededobj6.
6611         ($(objpfx)neededobj6.so): New target.
6612         ($(objpfx)neededtest4): New target.
6613         ($(objpfx)neededtest4.out): New target.
6615 2000-12-28  Joseph S. Myers  <jsm28@cam.ac.uk>
6617         * misc/sys/cdefs.h (__attribute_format_strfmon__): Define.
6618         * stdlib/monetary.h: Add strfmon format attributes.
6620 2000-12-28  Roland McGrath  <roland@frob.com>
6622         * sysdeps/mach/hurd/ioctl.c (do_ioctl): Avoid double-increment after
6623         __mempcpy does it for us.
6625 2000-12-28  Andreas Jaeger  <aj@suse.de>
6627         * sysdeps/generic/dl-environ.c: Add prototype for unsetenv.
6629         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Add prototype for
6630         __new_setrlimit.
6632         * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Add prototype for
6633         __old_getrlimit64.
6635         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Add prototype for
6636         __new_getrlimit.
6638         * sysdeps/unix/sysv/linux/i386/chown.c: Add prototypes for
6639         __chown_is_lchown and __real_chown.
6641         * sysdeps/generic/ldsodefs.h: Add noreturn attribute to
6642         _dl_reloc_bad_type.
6644         * sunrpc/rpc_hout.c (print_funcdef): Add break statement to shut
6645         up GCC's warning about "deprecated use of label at end of compound
6646         statement."
6647         * sunrpc/rpc_cout.c (emit_inline): Likewise.
6649         * gmon/bb_exit_func.c: Include <sys/gmon.h> for internal
6650         prototypes.
6651         Remove struct bb and __bb_head since those are declared by
6652         sys/gmon.h.
6654 2000-12-22  Ben Collins  <bcollins@debian.org>
6656         * manual/charset.texi: Fix typo in description of WCHAR_MAX.
6658         * manual/argp.texi: Document argp_domain as part of struct argp.
6660 2000-12-28  Andreas Jaeger  <aj@suse.de>
6662         * catgets/Makefile (generated): Add sample.SJIS.cat.
6664         * sunrpc/rpc_dtable.c: Include rpc/clnt.h for prototypes.
6666         * elf/dl-minimal.c: Add prototypes.
6668         * include/locale.h: Add internal prototypes.
6669         * include/sys/gmon.h: Likewise.
6671         * dlfcn/errmsg1mod.c: Add prototype for foo to shut up GCC.
6673 2000-12-27  Ben Collins  <bcollins@debian.org>
6675         * elf/dl-open.c (_dl_open): Correctly set the new objname pointer
6676         when reallocating the error strings.
6677         Reported by Kalle Olavi Niemitalo <kon@iki.fi>
6679 2000-12-27  Ulrich Drepper  <drepper@redhat.com>
6681         * dlfcn/Makefile (tests): Add errmsg1.
6682         (modules-names): Add errmsg1mod.
6683         Add rules to run errmsg1.
6684         * dlfcn/errmsg1.c: New file.
6685         * dlfcn/errmsg1mod.c: New file.
6687         * dlfcn/dlerror.c (dlerror): Always create output string which
6688         includes object file name.
6690         * sysdeps/alpha/alphaev6/memcpy.S: Don't go through unrolled loop
6691         if we would go through it only once.
6692         Patch by Rick Gorton <rick.gorton@api-networks.com>.
6694         * sysdeps/alpha/alphaev67/strncat.S: Fix handling of numeric parameter.
6695         Patch by Richard Henderson <rth@redhat.com>.
6697 2000-12-27  Jakub Jelinek  <jakub@redhat.com>
6699         * malloc/malloc.c (memmove): Add prototypes.
6700         (MALLOC_MEMMOVE): Define.
6701         (chunk_realloc): Use it instead of MALLOC_COPY if source and
6702         destination might overlap.
6704 2000-12-27  Andreas Jaeger  <aj@suse.de>
6706         * stdio-common/printf_fp.c (__printf_fp): Add prototype for nested
6707         function.
6708         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
6709         * locale/programs/locale.c (show_locale_vars): Likewise.
6710         (show_info): Likewise.
6711         * locale/programs/ld-collate.c (collate_output): Likewise.
6712         * locale/programs/ld-ctype.c (set_class_defaults): Likewise.
6713         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
6714         * stdlib/rpmatch.c (rpmatch): Likewise.
6716         * setjmp/tst-setjmp.c: Make local functions static.
6717         * setjmp/jmpbug.c: Likewise.
6718         * signal/tst-signal.c: Likewise.
6719         * stdio-common/tfformat.c: Likewise.
6720         * string/tst-svc.c: Likewise.
6721         * time/clocktest.c: Likewise.
6722         * time/tst-getdate.c: Likewise.
6723         * dirent/list.c: Likewise.
6724         * dirent/opendir-tst1.c: Likewise.
6725         * posix/runtests.c: Likewise.
6726         * posix/tst-getaddrinfo.c: Likewise.
6727         * posix/tst-chmod.c: Likewise.
6728         * posix/wordexp-test.c: Likewise.
6729         * misc/tst-efgcvt.c: Likewise.
6730         * timezone/tst-timezone.c: Likewise.
6731         * rt/tst-clock.c: Likewise.
6732         * rt/tst-shm.c: Likewise.
6733         * rt/tst-aio2.c: Likewise.
6734         * rt/tst-aio3.c: Likewise.
6735         * rt/tst-aio4.c: Likewise.
6736         * rt/tst-aio5.c: Likewise.
6738         * dlfcn/failtest.c: Add prototype for foo.
6740         * dlfcn/glrefmain.c: Add prototype for do_test.
6742         * dlfcn/tst-dladdr.c: Add prototype for do_test.
6744         * string/test-ffs.c (main): Add prototype for nested function.
6746         * sunrpc/des_soft.c: Include rpc/des_crypt.h for prototype.
6748         * nss/XXX-lookup.c: Add prototype to shut up GCC.
6750         * include/netinet/ether.h (DECLARE_NSS_PROTOTYPES): Fix
6751         setetherent prototype.
6752         Add internal interfaces.
6754         * nis/nss_nis/nis-ethers.c (_nss_nis_setetherent): Likewise.
6755         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent): Likewise.
6757         * resolv/res_data.c: Don't add (conflicting) prototypes for _LIBC.
6759         * nis/nis_intern.h: Add prototype for __pmap_getnisport.
6761         * nss/nss_files/files-ethers.c: Include netinet/ether.h to get
6762         prototypes, remove struct etherent since it's declared in ether.h.
6763         Fix ntohost declaration.
6765         * elf/dl-profile.c (_dl_mcount): Add empty statement to shut up GCC.
6767         * include/getopt.h: Add internal interfaces.
6768         * include/termios.h: Likewise.
6769         * include/resolv.h: Likewise.
6770         * include/netdb.h: Likewise.
6771         * include/grp.h: Likewise.
6772         * include/pwd.h: Likewise.
6773         * include/shadow.h: Likewise.
6774         * include/rpc/netdb.h: Likewise.
6775         * include/setjmp.h: Likewise.
6777         * include/stdio.h: Add prototypes for compatibility functions.
6778         * include/grp.h: Likewise.
6779         * include/pwd.h: Likewise.
6780         * include/shadow.h: Likewise.
6782         * include/fenv.h: Define internal interfaces.
6784 2000-12-27  Ulrich Drepper  <drepper@redhat.com>
6786         * sysdeps/generic/bits/byteswap.h (__bswap_64): Handle constant
6787         argument case separately.
6788         * sysdeps/i386/bits/byteswap.h (__bswap_64): Likewise.
6790 2000-12-27  Andreas Jaeger  <aj@suse.de>
6792         * include/sys/wait.h: Add some prototypes.
6793         * Rules (dummy.c): Create also prototype to shut up GCC.
6795 2000-12-27  Andreas Jaeger  <aj@suse.de>
6797         * sysdeps/mach/hurd/if_index.c (__protocol_available): Uncomment,
6798         it's not needed at the moment.
6799         * sysdeps/generic/if_index.c (__protocol_available): Likewise.
6800         * sysdeps/unix/sysv/linux/if_index.c (__protocol_available): Likewise.
6802 2000-12-26  Andreas Jaeger  <aj@suse.de>
6804         * libio/getc_u.c: Include stdio.h via system path to get internal
6805         prototypes.
6806         * libio/getwc_u.c: Likewise.
6808         * stdlib/strfmon.c: Fix prototype of __printf_fp.
6810         * stdio-common/vfprintf.c (process_arg): Move __printf_fphex and
6811         __printf_fp prototypes to ...
6812         * include/printf.h: ...here.
6814         * include/stdio.h: Add some internal prototypes to shut up GCC.
6815         * include/stdlib.h: Likewise.
6817         * sysdeps/posix/sigpause.c (__sigpause): Use ISO C prototype
6818         declaration.
6820         * include/signal.h: Add prototypes for internal sigpause
6821         interfaces.
6823 2000-12-26  Ulrich Drepper  <drepper@redhat.com>
6825         * sysdeps/generic/bits/byteswap.h (__bswap_64): Make it usable for
6826         64bit platforms.  Reported by Dave Gilbert <gilbertd@treblig.org>.
6828         * string/Makefile (tests): Add tst-bswap.
6829         * string/tst-bswap.c: New file.
6831 2000-12-11  Bruno Haible  <haible@clisp.cons.org>
6833         * Makefile ($(inst_includedir)/gnu/stubs.h): Sort in the C locale.
6835 2000-12-26  Ulrich Drepper  <drepper@redhat.com>
6837         * sunrpc/Makefile (rpcgen-cmd): Use single quotes in sed call.
6838         Patch by Ed Connell <Ed.Connell@sas.com>.
6840 2000-12-24  Ulrich Drepper  <drepper@redhat.com>
6842         * locale/iso-639.def: Correct one entry.  Add two missing entries.
6844         * locale/iso-4217.def: Change entry for Eritrea.
6845         Reported by Daniel Yacob <yacob@geez.org>.
6847 2000-12-23  Ben Collins  <bcollins@debian.org>
6849         * manual/charset.texi (Extended Char Intro): Fix typo in ISO 6937
6850         description.
6852         * manual/stdio.texi (Dynamic Output): Document the return value of
6853         asprintf.  Also make the asprintf/snprintf examples a little
6854         better (check for some error returns).
6856 2000-12-22  Andreas Jaeger  <aj@suse.de>
6858         * include/stdio.h: Add __ftrylockfile prototype.
6860 2000-12-21  H.J. Lu  <hjl@gnu.org>
6862         * sysdeps/ia64/fpu/math_ldbl.h (ieee_long_double_shape_type):
6863         Make sign_exponent element signed.
6865         * sysdeps/ieee754/ldbl-96/math_ldbl.h (ieee_long_double_shape_type):
6866         Fix a typo.
6868         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Remove dead branch.
6870 2000-12-21  Andreas Jaeger  <aj@suse.de>
6872         * nis/nss_nisplus/nisplus-ethers.c (struct etherent): Removed.
6873         * inet/ether_hton.c: Likewise
6874         * inet/ether_ntoh.c: Likewise.
6876         * nis/nss_nis/nis-ethers.c (_nss_nis_getntohost_r): Fix
6877         declaration to match prototype.
6879         * include/netinet/ether.h (struct etherent): Declare here so that
6880         all implementations use the same struct.
6882         * nis/nss_nis/nis-ethers.c: Include netinet/ether.h to get
6883         prototypes.
6884         (struct ether): Removed.
6885         Use struct etherent instead of ether everywhere.
6887         * include/rpc/auth.h (DECLARE_NSS_PROTOTYPES): New.
6889         * include/rpc/auth_des.h (DECLARE_NSS_PROTOTYPES): New.
6891         * sunrpc/publickey.c: Include auth_des.h for prototypes.
6893 2000-12-20  Ulrich Drepper  <drepper@redhat.com>
6895         * math/test-misc.c: Add more tests for nextafter functions.
6897         * sysdeps/i386/fpu/s_nextafterl.c: Handle change from denormal to
6898         normal correctly.  Correct test for sign.
6899         Based on a patch by HJ Lu.
6901 2000-12-19  Ulrich Drepper  <drepper@redhat.com>
6903         * Makeconfig (preprocess-version): Add -traditional to gcc call.
6904         Cleanup sed calls.
6906 2000-12-19  Andreas Jaeger  <aj@suse.de>
6908         * include/netinet/ether.h (DECLARE_NSS_PROTOTYPES): New.
6910         * nis/nis_intern.h: Add prototype for __do_niscall3.
6912         * nis/nss_nis/nis-rpc.c (_nss_nis_setrpcent): Fix declaration to
6913         match prototype.
6915         * include/netdb.h (DECLARE_NSS_PROTOTYPES): Reformat.
6917         * include/rpc/netdb.h (DECLARE_NSS_PROTOTYPES): New.
6919         * include/aliases.h (DECLARE_NSS_PROTOTYPES): New.
6921 2000-12-18  Ulrich Drepper  <drepper@redhat.com>
6923         * math/test-misc.c: Add more tests for nextafter.
6924         * sysdeps/i386/fpu/s_nextafterl.c: Handle decrement for x<0 correctly.
6925         * sysdeps/ieee754/ldbl-96/math_ldbl.h
6926         (ieee_long_double_shape_type): Make sign_exponent element signed.
6928         * manual/message.texi: Add Estonian to plural overview list.
6929         Correct rule for Slavic languages.
6930         Patch by Stanislav Brabec <utx@penguin.cz>.
6932         * nis/nss_nis/nis-netgrp.c: Remove unnecessary initializations.
6934 2000-12-18  Andreas Jaeger  <aj@suse.de>
6936         * test-skeleton.c: Use temp_name_list instead of name_list to
6937         avoid collision with name_list from inet/netgroup.h.
6939         * nss/nss_files/files-network.c (NEED_H_ERRNO): Define.
6941         * include/grp.h (DECLARE_NSS_PROTOTYPES): New.
6942         * include/pwd.h (DECLARE_NSS_PROTOTYPES): New.
6943         * include/netdb.h (DECLARE_NSS_PROTOTYPES): New.
6944         * include/shadow.h (DECLARE_NSS_PROTOTYPES): New.
6946         * hesiod/nss_hesiod/hesiod-proto.c (_nss_hesiod_setprotoent): Fix
6947         declaration to match prototype.
6948         * hesiod/nss_hesiod/hesiod-pwd.c (_nss_hesiod_setpwent): Likewise.
6949         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_setgrent): Likewise.
6950         * hesiod/nss_hesiod/hesiod-service.c (_nss_hesiod_setservent):
6951         Likewise.
6952         * nis/nss_nis/nis-grp.c (_nss_nis_setgrent): Likewise.
6953         * nis/nss_nis/nis-pwd.c (_nss_nis_setpwent): Likewise.
6954         * nis/nss_nis/nis-proto.c (_nss_nis_setprotoent): Likewise.
6955         * nis/nss_nis/nis-service.c (_nss_nis_setservent): Likewise.
6956         (_nss_nis_getservbyport_r): Likewise.
6957         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent): Likewise.
6958         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent): Likewise.
6959         * nis/nss_nis/nis-network.c (_nss_nis_getnetent_r): Likewise.
6960         (_nss_nis_setnetent): Likewise
6961         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
6962         (_nss_nis_endnetgrent): Likewise.
6963         * nis/nss_nisplus/nisplus-netgrp.c (_nss_nisplus_endnetgrent):
6964         Likewise.
6965         (_nss_nisplus_setnetgrent): Likewise.
6966         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Likewise.
6967         * nis/nss_nisplus/nisplus-pwd.c (_nss_nisplus_setpwent): Likewise.
6968         * nis/nss_nisplus/nisplus-grp.c (_nss_nisplus_setgrent): Likewise.
6969         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_setnetent):
6970         Likewise.
6971         * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_sethostent):
6972         Likewise.
6973         * nis/nss_nisplus/nisplus-service.c (_nss_nisplus_setservent):
6974         Likewise.
6975         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_setprotoent):
6976         Likewise.
6977         * nis/nss_compat/compat-spwd.c (_nss_compat_setspent): Likewise.
6978         * nis/nss_compat/compat-pwd.c (_nss_compat_setpwent): Likewise.
6979         * nis/nss_compat/compat-grp.c (_nss_compat_setgrent): Likewise.
6980         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Likewise.
6981         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Likewise.
6982         (_nss_dns_getnetbyaddr_r): Likewise.
6984 2000-12-17  Andreas Jaeger  <aj@suse.de>
6986         * sysdeps/generic/k_sinl.c (__kernel_sinl): Fix functions
6987         parameter.
6989         * sysdeps/unix/sysv/linux/shm_open.c (freeit): Make static and add
6990         unused attribute to shut up gcc warnings.
6992         * sysdeps/generic/k_sinl.c: Include math_private for prototypes.
6993         * sysdeps/generic/k_tanl.c: Likewise.
6994         * sysdeps/generic/k_cosl.c: Likewise.
6995         * sysdeps/generic/e_j0l.c: Likewise.
6996         * sysdeps/generic/e_j1l.c: Likewise.
6997         * sysdeps/generic/e_jnl.c: Likewise.
6998         * sysdeps/generic/e_lgammal_r.c: Likewise.
7000         * elf/vismain.c: Move prototypes for functions in vismod*.c to
7001         vismod.h.
7002         * elf/vismod.h: New file.
7003         * elf/Makefile (distribute): Add vismod.h.
7004         * elf/vismod1.c: Include vismod.h.
7005         * elf/vismod2.c: Likewise.
7006         * elf/vismod3.c: Likewise.
7008         * elf/constload3.c: Add prototype declarations to shut up gcc.
7009         * elf/failobj.c: Likewise.
7010         * elf/nodelmod3.c: Likewise.
7011         * elf/filtmod1.c: Likewise.
7012         * elf/filtmod2.c: Likewise.
7013         * elf/reldepmod1.c: Likewise.
7014         * elf/reldepmod2.c: Likewise.
7015         * elf/reldepmod3.c: Likewise.
7016         * elf/reldepmod4.c: Likewise.
7017         * elf/unload2dep.c: Likewise.
7018         * elf/unload2mod.c: Likewise.
7019         * elf/ltglobmod1.c: Likewise.
7020         * elf/pathoptobj.c: Likewise.
7021         * elf/neededobj1.c: Likewise.
7022         * elf/neededobj2.c: Likewise.
7023         * elf/neededobj3.c: Likewise.
7024         * elf/neededobj4.c: Likewise.
7025         * elf/nextmod1.c: Likewise.
7026         * elf/nextmod2.c: Likewise.
7028         * locale/programs/ld-collate.c (collate_finish): Don't use labels
7029         at end of compound statement.
7030         * locale/programs/locale.c (show_info): Likewise.
7031         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Likewise.
7033 2000-12-16  Jakub Jelinek  <jakub@redhat.com>
7035         * catgets/gencat.c (read_input_file): Avoid calling obstack_free
7036         with a pointer not returned by obstack_ functions.
7038 2000-12-16  Ulrich Drepper  <drepper@redhat.com>
7040         * sysdeps/unix/sysv/aix/bits/stat.h (struct stat): Align with AIX
7041         version.
7042         (struct stat64): Likewise.
7043         Reported by Michael Keezer <mkeezer@redhat.com>.
7045         * timezone/asia: Update from tzdata2000h.
7046         * timezone/australasia: Likewise.
7047         * timezone/backward: Likewise.
7048         * timezone/europe: Likewise.
7049         * timezone/northamerica: Likewise.
7050         * timezone/southamerica: Likewise.
7051         * timezone/zone.tab: Likewise.
7053 2000-12-14  Jakub Jelinek  <jakub@redhat.com>
7055         * io/ftw.c (ftw_dir): If process_entry returned non-zero result
7056         and dir.stream is NULL, only free dir.content.
7057         * io/ftwtest.c (cb, main): Add --early-exit option to test it.
7058         * io/ftwtest-sh: Test with --early-exit.
7060 2000-12-13  Jakub Jelinek  <jakub@redhat.com>
7062         * misc/efgcvt.c (FCVT_MAXDIG): Define.
7063         (FCVT_BUFPTR): New variable.
7064         (fcvt): If fcvt_r returns -1 on the static short buffer,
7065         try to malloc a sufficiently large one and retry.
7066         (free_mem): New function.
7067         * misc/qefgcvt.c (FCVT_MAXDIG): Define.
7068         * misc/tst-efgcvt.c (fcvt_tests): Add new test.
7070 2000-12-15  Ulrich Drepper  <drepper@redhat.com>
7072         * misc/dirname.c (dirname): Fix search for second to last slash.
7074 2000-12-13  Andreas Jaeger  <aj@suse.de>
7076         * misc/tst-dirname.c (main): Fix typo in test to really use
7077         the examples from Unix98.
7078         Reported by Michael Kerrisk <mtk16@ext.canterbury.ac.nz>.
7080 2000-12-09  H.J. Lu  <hjl@gnu.org>
7082         * sysdeps/ia64/fpu/s_fabs.S: New file.
7083         * sysdeps/ia64/fpu/s_fabsf.S: New file.
7084         * sysdeps/ia64/fpu/s_fabsl.S: New file.
7086 2000-12-15  Andreas Jaeger  <aj@suse.de>
7088         * stdio-common/scanf9.c (main): Reformat and change to avoid
7089         warnings.
7091         * stdio-common/tstdiomisc.c: Make local functions static.
7092         * stdio-common/tst-printf.c: Likewise.
7094         * elf/constload2.c: Add prototype declarations to shut up gcc.
7095         * elf/dep1.c: Likewise.
7096         * elf/dep2.c: Likewise.
7097         * elf/dep3.c: Likewise.
7098         * elf/dep4.c: Likewise.
7099         * elf/ltglobmod2.c: Likewise.
7101         * libio/fmemopen.c: Make local functions static.
7103         * elf/Makefile (distribute): Added testobj.h.
7105         * elf/testobj.h: New file.
7107         * elf/testobj1.c: Include testobj.h and move prototype
7108         declarations to testobj.h.
7109         * elf/testobj2.c: Likewise.
7110         * elf/testobj3.c: Likewise.
7111         * elf/testobj4.c: Likewise.
7112         * elf/testobj5.c: Likewise.
7113         * elf/testobj6.c: Likewise.
7114         * elf/testobj1_1.c: Likewise.
7115         * elf/preloadtest.c: Likewise.
7117 2000-12-15  Ben Collins  <bcollins@debian.org>
7119         * misc/sys/cdefs.h: Fix thinko in checks for flexarr macros.
7120         Patch by Akim Demaille <akim@epita.fr> in Debian bug report.
7122 2000-12-14  H.J. Lu  <hjl@gnu.org>
7124         * sysdeps/ieee754/flt-32/s_sincosf.c (__sincosf): The exponent
7125         field in a float is 8 bits, not 11 bits.
7127 2000-12-13  Jakub Jelinek  <jakub@redhat.com>
7129         * math/test-misc.c (main): Adjust m for IEEE quad long double.
7131 2000-12-13  Andreas Jaeger  <aj@suse.de>
7133         * manual/message.texi (Using gettextized software): Fix typo.
7135         * manual/charset.texi (Converting a Character): Fix mbstouwcs
7136         program to compile.
7137         Patch by Martin Buchholz <martin@xemacs.org>.
7139         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Fix typo.
7140         Reported by Michael Kerrisk <mtk16@ext.canterbury.ac.nz>.
7142 2000-12-11  Andreas Jaeger  <aj@suse.de>
7144         * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Declare
7145         kernel_sigset_t and use it.
7146         Patch by Hiroyuki Machida <machida@sm.sony.co.jp>.
7148 2000-12-10  Richard Henderson  <rth@redhat.com>
7150         * sysdeps/alpha/alphaev67/fpu/Implies: New file.
7151         * sysdeps/alpha/alphaev6/fpu/e_sqrtf.S: New file.
7152         * sysdeps/alpha/alphaev6/fpu/e_sqrt.S: New file.
7154 2000-12-10  Jakub Jelinek  <jakub@redhat.com>
7156         * sysdeps/alpha/htonl.S: Fix a typo.
7158 2000-12-10  Jakub Jelinek  <jakub@redhat.com>
7160         * sysdeps/alpha/alphaev6/stxcpy.S: Exchange t8 with t10.
7162 2000-12-10  Andreas Jaeger  <aj@suse.de>
7164         * locale/programs/ld-ctype.c (charclass_symbolic_ellipsis): Fixed
7165         cast as suggested by Jakub Jelinek <jakub@redhat.com> and Ulrich
7166         Drepper <drepper@redhat.com>.
7168 2000-12-09  Andreas Jaeger  <aj@suse.de>
7170         * sysdeps/unix/sysv/linux/mips/sigaction.c: New file.
7172         * sysdeps/unix/sysv/linux/mips/sys/acct.h: Removed, we can use the
7173         generic version.
7174         Patches by Hiroyuki Machida <machida@sm.sony.co.jp>.
7176         * locale/programs/ld-collate.c (handle_ellipsis): Fix format
7177         string.
7179         * locale/programs/ld-ctype.c (charclass_symbolic_ellipsis): Fix
7180         format string.
7182         * nscd/hstcache.c (addhstbyname): Add cast to avoid warning.
7183         * nscd/connections.c (handle_request): Likewise.
7184         * nscd/pwdcache.c (addpwbyname): Likewise.
7185         * nscd/grpcache.c (addgrbyname): Likewise.
7187         * nscd/nscd_conf.c (nscd_parse_file): Remove extra argument.
7189 2000-12-09  Ulrich Drepper  <drepper@redhat.com>
7191         * string/stratcliff.c: Add tests for stpncpy, memcpy, and mempcpy.
7193         * Makeconfig (default_cflags): Make -O2 the default for stable
7194         releases.
7196 2000-12-08  H.J. Lu  <hjl@gnu.org>
7198         * sysdeps/ia64/fpu/s_isinfl.S: Renamed to ...
7199         * sysdeps/ia64/fpu/s_isinf.S: This.
7200         Add a .pred.rel.mutex note to avoid false report.
7202         * sysdeps/ia64/fpu/s_isnanl.S: Renamed to ...
7203         * sysdeps/ia64/fpu/s_isnan.S: This.
7205         * sysdeps/ia64/fpu/s_fpclassify.S: New file.
7206         * sysdeps/ia64/fpu/s_fpclassifyf.S: New file.
7207         * sysdeps/ia64/fpu/s_fpclassifyl.S: New file.
7208         * sysdeps/ia64/fpu/s_isinff.S: New file.
7209         * sysdeps/ia64/fpu/s_isinfl.S: New file.
7210         * sysdeps/ia64/fpu/s_isnanf.S: New file.
7211         * sysdeps/ia64/fpu/s_isnanl.S: New file.
7212         * sysdeps/ia64/fpu/s_finite.S: New file.
7213         * sysdeps/ia64/fpu/s_finitef.S: New file.
7214         * sysdeps/ia64/fpu/s_finitel.S: New file.
7215         * sysdeps/ia64/fpu/s_signbit.S: New file.
7216         * sysdeps/ia64/fpu/s_signbitf.S: New file.
7217         * sysdeps/ia64/fpu/s_signbitl.S: New file.
7218         * sysdeps/ia64/fpu/s_copysign.S: New file.
7219         * sysdeps/ia64/fpu/s_copysignf.S: New file.
7220         * sysdeps/ia64/fpu/s_copysignl.S: New file.
7222 2000-12-08  Ulrich Drepper  <drepper@redhat.com>
7224         * math/libm-test.inc (main): Fix typos in messages.
7226         * string/stratcliff.c: Add test for rawmemchr.
7228 2000-12-08  Jakub Jelinek  <jakub@redhat.com>
7230         * elf/dl-open.c (_dl_open): If objname points right after errstring,
7231         allocate it together with errstring using alloca.
7232         * elf/dl-error.c (_dl_signal_error): If malloc failed, set objname
7233         to "", because it might point to local stack.
7235 2000-12-05  H.J. Lu  <hjl@gnu.org>
7237         * nss/Makefile (routines): Add getnssent and getnssent_r.
7238         * nss/nsswitch.h (__nss_setent): New internal NSS function.
7239         (__nss_endent): Likewise.
7240         (__nss_getent_r): Likewise.
7241         (__nss_getent): Likewise.
7242         * nss/getnssent_r.c: New file.
7243         * nss/getnssent.c: New file.
7244         * nss/getXXent.c (H_ERRNO_VAR): Updated.
7245         (GETFUNC_NAME): Updated to call __nss_getent ().
7246         * nss/getXXent_r.c (H_ERRNO_VAR_P): New.
7247         (STAYOPEN_TMPVAR): Updated.
7248         (STAYOPEN_VAR): Updated.
7249         (SETFUNC_NAME): Updated to call __nss_setent ().
7250         (ENDFUNC_NAME): Updated to call __nss_endent ().
7251         (INTERNAL (REENTRANT_GETNAME)): Updated to call __nss_getent_r ().
7253 2000-12-08  Andreas Jaeger  <aj@suse.de>
7255         * nscd/dbg_log.h (dbg_log): Correct attribute.
7257 2000-12-08  Jakub Jelinek  <jakub@redhat.com>
7259         * elf/dl-load.c (fillin_rpath): Don't assume there is '\0' at
7260         cp + len.  Compute where from dirname.
7261         Reported by <jreiser@BitWagon.com>.
7263 2000-12-08  Richard Henderson  <rth@twiddle.net>
7265         * sysdeps/alpha/_mcount.S: Fix typo.
7266         * sysdeps/alpha/strncpy.S: Likewise.
7268         * sysdeps/alpha/alphaev6/Implies: New file.
7269         * sysdeps/alpha/alphaev67/Implies: New file.
7270         * sysdeps/alpha/alphaev67/ffs.S: New file.
7271         * sysdeps/alpha/alphaev67/ffsll.S: New file.
7272         * sysdeps/alpha/alphaev67/rawmemchr.S: New file.
7273         * sysdeps/alpha/alphaev67/stpcpy.S: New file.
7274         * sysdeps/alpha/alphaev67/stpncpy.S: New file.
7275         * sysdeps/alpha/rawmemchr.S: New file.
7276         * sysdeps/alpha/strcat.S: Tail call to __stxcpy.
7277         * sysdeps/alpha/strcpy.S: Likewise.
7279         From GMP 3.1.1:
7280         * sysdeps/alpha/alphaev6/addmul_1.s: New file.
7282         From rick.gorton@alpha-processor.com:
7283         * sysdeps/alpha/alphaev6/memchr.S: New file.
7284         * sysdeps/alpha/alphaev6/memcpy.S: New file.
7285         * sysdeps/alpha/alphaev6/memset.S: New file.
7286         * sysdeps/alpha/alphaev6/stxcpy.S: New file.
7287         * sysdeps/alpha/alphaev6/stxncpy.S: New file.
7288         * sysdeps/alpha/alphaev67/strcat.S: New file.
7289         * sysdeps/alpha/alphaev67/strchr.S: New file.
7290         * sysdeps/alpha/alphaev67/strlen.S: New file.
7291         * sysdeps/alpha/alphaev67/strncat.S: New file.
7292         * sysdeps/alpha/htonl.S: Use a shorter sequence.
7294 2000-12-08  Jakub Jelinek  <jakub@redhat.com>
7296         * inet/getnameinfo.c (getnameinfo): Fix NI_NOFQDN support.
7297         Reported by <pspencer@fields.utoronto.ca>.
7299 2000-12-07  Jes Sorensen  <jes@linuxcare.com>
7301         * sysdeps/ia64/elf/start.S (__data_start): Add __data_start variable.
7302         Pointed out by Hans Boehm.
7304 2000-12-07  H.J. Lu  <hjl@gnu.org>
7306         * elf/dl-version.c (match_symbol): Check map->l_name[0] for printing.
7308 2000-12-07  Andreas Jaeger  <aj@suse.de>
7310         * misc/error.c: Add format attributes for __error and __error_at_line.
7312         * nscd/dbg_log.h: Add format attribute.
7314 2000-12-08  Ulrich Drepper  <drepper@redhat.com>
7316         * misc/sys/syslog.h: Add format attributes to syslog and vsyslog.
7317         Patch by Joseph S. Myers <jsm28@cam.ac.uk>.
7319 2000-12-07  Dan Pop  <Dan.Pop@cern.ch>
7321         * sysdeps/ia64/strcpy.S: Fix a bug in a recovery code sequence.
7323 2000-12-06  Ulrich Drepper  <drepper@redhat.com>
7325         * sysdeps/unix/sysv/aix/Makefile [$(subdir)==misc]
7326         (sysdep_routines): Add uitrunc.
7327         * sysdeps/unix/sysv/aix/uitrunc.c: New file.
7328         Patches by Michael Keezer <mkeezer@redhat.com>.
7330 2000-12-06  Roland McGrath  <roland@frob.com>
7332         * sysdeps/mach/hurd/ioctl.c (__ioctl): Don't clobber ARG as we copy in
7333         argument data, since it will be used to copy out too (for INOUT).
7334         Reported by Marcus Brinkmann <marcus@gnu.org>.
7336         * sysdeps/mach/hurd/ioctl.c: Include <stdint.h>.
7337         (__ioctl): Use uintptr_t instead of unsigned long int.
7339 2000-12-06  Jim Wilson  <wilson@redhat.com>
7341         * stdlib/l64a.c (l64a): Truncate M to 32-bit value.
7343 2000-12-06  Ulrich Drepper  <drepper@redhat.com>
7345         * stdio-common/printf_fp.c (__printf_fp): Handle decimal point in
7346         x.5 rounding correctly.
7348 2000-12-06  Mark Kettenis  <kettenis@gnu.org>
7350         * stdio-common/perror.c (perror): Conditionalize code dealing with
7351         wide-oriented streams on USE_IN_LIBIO.
7353 2000-12-06  Mark Kettenis  <kettenis@gnu.org>
7355         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup): Mark
7356         as internal_function.
7358 2000-12-05  Ulrich Drepper  <drepper@redhat.com>
7360         * sysdeps/alpha/elf/start.S (__data_start): Define.
7362 2000-12-05  H.J. Lu  <hjl@gnu.org>
7364         * nss/getXXent_r.c (setup): Change the return type to int.
7366 2000-12-05  Ulrich Drepper  <drepper@redhat.com>
7368         * sysdeps/unix/sysv/aix/Makefile [$(subdir)==misc]
7369         (sysdep_routines): Add restf and savef.
7370         * sysdeps/unix/sysv/aix/restf.c: New file.
7371         * sysdeps/unix/sysv/aix/savef.c: New file.
7372         Patches by Michael Keezer <mkeezer@redhat.com>.
7374         * sysdeps/unix/opendir.c (__opendir): Don't use o_directory_works
7375         if O_DIRECTORY is not defined.
7376         Patch by Michael Keezer <mkeezer@redhat.com>.
7378         * include/libc-symbols.h (C_SYMBOL_DOT_NAME): Define.
7379         Patch by Michael Keezer <mkeezer@redhat.com>.
7381         * locale/programs/linereader.c (get_toplvl_escape): Recognize more
7382         than 4 bytes in escape sequence.
7383         Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
7385 2000-12-05  Andreas Jaeger  <aj@suse.de>
7387         * sysdeps/unix/sysv/linux/mips/sys/tas.h (_test_and_set): Don't
7388         set mips2.
7390         * sysdeps/unix/sysv/linux/mips/sysdep.h: New file.
7392         * sysdeps/unix/sysv/linux/mips/sys/syscall.h: Removed.
7394         * sysdeps/unix/mips/sysdep.h: Use SYS_ify.
7395         Patches by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
7397         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Mark as
7398         internal_function.
7399         * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Likewise.
7400         * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start_cleanup): Likewise.
7402         * sysdeps/generic/dl-cache.c: Remove declaration of
7403         _dl_sysdep_read_whole_file.
7405         * elf/dl-load.c (_dl_map_object): Remove declaration of
7406         _dl_load_cache_lookup.
7408         * sysdeps/generic/ldsodefs.h: Add declarations of
7409         _dl_load_cache_lookup, _dl_unload_cache,
7410         _dl_sysdep_read_whole_file, _dl_sysdep_start and
7411         _dl_sysdep_start_cleanup.
7413         * elf/rtld.c: Remove prototypes that are defined in ldsodefs.h
7414         now.
7416         * elf/dl-misc.c: Include <ldsodefs.h> to get prototypes.
7417         * sysdeps/generic/dl-environ.c: Likewise.
7419         * stdio-common/printf_fp.c: Include <gmp.h> instead of
7420         <stdlib/gmp.h>.
7421         * math/atest-exp.c: Likewise.
7422         * math/atest-exp2.c: Likewise.
7423         * math/atest-sincos.c: Likewise.
7424         * stdio-common/_itoa.c: Likewise.
7425         * stdio-common/_itowa.c: Likewise.
7427         * include/gmp.h: New file with internal prototypes.
7429         * sysdeps/generic/longjmp.c: Move _longjmp_unwind declaration from
7430         here to...
7431         * include/setjmp.h: ...here.
7433         * locale/Makefile (routines): Remove codeset_name since it's not
7434         needed anywhere.
7436         * locale/codeset_name.c: Removed.
7438 2000-12-05  Ulrich Drepper  <drepper@redhat.com>
7440         * sysdeps/unix/sysv/aix/sys/param.h: Define MAXHOSTNAMELEN here.
7442 2000-12-05  Andreas Jaeger  <aj@suse.de>
7444         * sysdeps/unix/sysv/linux/sys/param.h: Revert last patch.
7446 2000-12-05  Martin Schwidefsky  <schwidefsky@de.ibm.com>
7448         * sysdeps/unix/sysv/linux/s390/mmap64.S: Use mmap if mmap2 isn't
7449         available.
7451 2000-12-05  Andreas Jaeger  <aj@suse.de>
7453         * nss/test-netdb.c: Mark local functions as static to avoid
7454         warnings.
7455         (main): Use return to silence warning.
7457         * stdlib/test-canon.c (check_path): Mark as static to avoid warning.
7459         * stdio-common/test-popen.c: Mark local functions as static to
7460         avoid warnings.
7461         (main): Use return to silence warning.
7463         * stdlib/testsort.c (compare): Mark as static to avoid warning.
7465         * assert/test-assert.c: Mark local functions as static to avoid
7466         warnings.
7467         * assert/test-assert-perr.c: Likewise.
7469         * math/libm-test.inc (main): Use return to silence warnings.
7471 2000-12-04  Ulrich Drepper  <drepper@redhat.com>
7473         * math/fenv.h: Fix typo in comment.
7475         * math/test-misc.c (main): Add a few more over and underflow tests
7476         for scalb.
7478         * sysdeps/i386/fpu/e_scalb.S: Handle NaN as first parameter correctly.
7479         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
7480         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
7481         * math/w_scalb.c: Don't use matherr except in SVID mode.
7482         * math/w_scalbf.c: Likewise.
7483         * math/w_scalbl.c: Likewise.
7484         * math/test-misc.c: Add test for NaN and scalbl.
7485         Reported by Fred J. Tydeman <tydeman@tybor.com>.
7487 2000-12-04  Ulrich Drepper  <drepper@redhat.com>
7489         * configure.in: Define HAVE_ASM_GLOBAL_DOT_NAME for AIX.
7490         * config.h.in: Add HAVE_ASM_GLOBAL_DOT_NAME.
7491         * include/libc-symbols.h (strong_alias): Define special version
7492         for HAVE_ASM_GLOBAL_DOT_NAME.
7493         (weak_alias): Likewise.
7494         * sysdeps/powerpc/bsd-setjmp.S: Use strong_alias not .set.
7495         * sysdeps/unix/sysv/aix/Makefile [$(subdir)==login]
7496         (sysdep_routines): Add setutxent, getutxent, endutxent, getutxid,
7497         getutxline, pututxline, and utmpxname.
7498         * sysdeps/unix/sysv/aix/fchdir.c: Define __fchdir.
7499         * sysdeps/unix/sysv/aix/lseek.c: Define __libc_lseek alias.
7500         * sysdeps/unix/sysv/aix/open.c: Define __libc_open alias.
7501         * sysdeps/unix/sysv/aix/pread.c: Define pread alias.
7502         * sysdeps/unix/sysv/aix/pread64.c: Define pread64 alias.
7503         * sysdeps/unix/sysv/aix/sysdep.h (JUMPTARGET): Use C_TEXT.
7504         * sysdeps/unix/sysv/aix/bits/types.h: Define __clockid_t and __timer_t.
7505         * sysdeps/unix/sysv/aix/bits/utmp.h: Cleanup.  Add comments.
7506         * sysdeps/unix/sysv/linux/sys/param.h (MAXHOSTNAMELEN): Define.
7507         Patches by Michael Keezer <mkeezer@redhat.com>.
7509 2000-12-04  H.J. Lu  <hjl@gnu.org>
7511         * configure.in: Change --with-oldest-abi=ABI to
7512         --enable-oldest-abi=ABI.
7514 2000-12-02  Bruno Haible  <haible@clisp.cons.org>
7516         * stdio-common/perror.c (perror): If stderr is wide-oriented, use
7517         fwprintf instead of fprintf.
7519 2000-12-04  Ulrich Drepper  <drepper@redhat.com>
7521         * sysdeps/alpha/fpu/bits/mathdef.h: Remove FLT_EVAL_METHOD and
7522         DECIMAL_DIG definitions.
7523         * sysdeps/arm/fpu/bits/mathdef.h: Likewise
7524         * sysdeps/generic/bits/mathdef.h: Likewise
7525         * sysdeps/i386/fpu/bits/mathdef.h: Likewise
7526         * sysdeps/ia64/fpu/bits/mathdef.h: Likewise
7527         * sysdeps/m68k/fpu/bits/mathdef.h: Likewise
7528         * sysdeps/powerpc/fpu/bits/mathdef.h: Likewise
7529         * sysdeps/sparc/fpu/bits/mathdef.h: Likewise
7530         * sysdeps/sh/sh4/fpu/bits/mathdef.h: Likewise
7532 2000-12-03  Ulrich Drepper  <drepper@redhat.com>
7534         * math/test-fenv.c (main): Use return instead of exit to avoid warning.
7536         * math/atest-exp.c: Mark local functions as static to avoid warnings.
7537         * math/atest-exp2.c: Likewise.
7538         * math/atest-sincos.c: Likewise.
7540         * sysdeps/i386/fpu/bits/mathdef.h (DECIMAL_DIG): Correct value.
7541         Reported by Fred J. Tydeman <tydeman@tybor.com>.
7543         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Hopefully fix
7544         the handling of denormalized numbers.
7546         * math/test-misc.c (main): Test for fpclassify and pseudo denormal
7547         numbers on x86.
7548         * sysdeps/i386/fpu/fpclassifyl.c: New file.
7550         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Handle the
7551         pseudo denormal representation of LDBL_MIN.
7553         * iconvdata/SJIS.irreversible: Remove unnecessary entries.
7554         * iconvdata/EUC-JP.irreversible: Remove unnecessary entries.
7556         * iconvdata/sjis.c: Enable round-trip mapping of backslash and tilde.
7557         * iconvdata/jis0208.c: Likewise.
7558         * iconvdata/jis0212.c: Likewise.
7559         Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
7561         * math/test-misc.c (main): More tests for frexp and some for
7562         fpclassify and isnormal.
7564         * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf): Correct
7565         test for subnormal.
7566         Reported by Fred J. Tydeman <tydeman@tybor.com>.
7568         * math/test-misc.c (main): Add tests for frexp.
7569         Reported by Fred J. Tydeman <tydeman@tybor.com>.
7570         * sysdeps/i386/fpu/s_frexpl.S: Don't overflow during the computation.
7572 2000-12-02  H.J. Lu  <hjl@gnu.org>
7574         * locale/lc-time.c (_nl_init_era_entries): Pass L'\0' instead of
7575         '\0' to wcschr.
7577 2000-12-02  Ulrich Drepper  <drepper@redhat.com>
7579         * sysdeps/i386/fpu/s_frexp.S: Add missing fwait.
7580         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
7581         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
7583         * sysdeps/generic/glob.c: Adjust types of several variables to
7584         avoid warnings.
7586 2000-12-01  Ulrich Drepper  <drepper@redhat.com>
7588         * sysdeps/unix/sysv/linux/shm_open.c: Remove incorrect comment.
7590 2000-11-30  Roland McGrath  <roland@frob.com>
7592         * hurd/hurd/ioctl.h (_HURD_HANDLE_IOCTLS_1): New macro.
7593         (_HURD_HANDLE_IOCTLS, _HURD_HANDLE_IOCTL): Redefine using it, so as to
7594         allow multiple instances using the same function name in one file.
7596 2000-12-01  Ulrich Drepper  <drepper@redhat.com>
7598         * configure.in: Correct test for pserver CVS access.
7600 2000-11-28  H.J. Lu  <hjl@gnu.org>
7602         * libio/libio.h: Remove extra "#if ... #endif".
7604 2000-11-29  H.J. Lu  <hjl@gnu.org>
7606         * stdio-common/vfscanf.c (ORIENT): Swap the COMPILE_WSCANF case.
7608 2000-12-01  H.J. Lu  <hjl@gnu.org>
7610         * nss/getXXbyYY_r.c: Fix verioned symbol handling.
7611         * nss/getXXent_r.c: Likewise.
7612         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
7614 2000-11-30  H.J. Lu  <hjl@gnu.org>
7616         * scripts/abi-versions.awk (oldest_abi): New variable.
7617         Handle the oldest ABI supported.
7619         * Makerules ($(common-objpfx)abi-versions.h): Set oldest_abi
7620         for scripts/abi-versions.awk.
7622         * configure.in: Add --with-oldest-abi=ABI.
7623         * configure: Rebuild.
7625         * config.make.in (oldest-abi): New.
7627         * config.h.in (GLIBC_OLDEST_ABI): New.
7629         * csu/version.c (banner): Support GLIBC_OLDEST_ABI.
7631 2000-11-30  Jakub Jelinek  <jakub@redhat.com>
7633         * locale/setlocale.c (setname): Free for all categories, not just
7634         LC_ALL.
7635         (setlocale): Store a copy of string passed by user, not the string
7636         itself.
7638 2000-11-30  Roland McGrath  <roland@frob.com>
7640         * sysdeps/mach/hurd/defs.c (init_stdio): Put this on __libc_subinit
7641         rather than _hurd_fd_subinit, so it happens after it's safe to use
7642         libc facilities like malloc.
7644 2000-11-28  Andreas Jaeger  <aj@suse.de>
7646         * sysdeps/unix/sysv/linux/getdents.c: Add _syscall_getdents64
7647         declaration, adjust declaration of __syscall_getdents to match
7648         kernel.
7650 2000-11-29  H.J. Lu  <hjl@gnu.org>
7652         * sysdeps/generic/readelflib.c (check_ptr): Undefine it first.
7654 2000-11-29  Andreas Jaeger  <aj@suse.de>
7656         * sysdeps/unix/sysv/linux/hppa/brk.c (__brk): Remove unused variable.
7658 2000-11-28  Ulrich Drepper  <drepper@redhat.com>
7660         * dlfcn/defaultmod1.c: Add prototypes to avoid warnings.
7661         * dlfcn/defaultmod2.c: Likewise.
7662         * dlfcn/dlopen.c: Likewise.
7663         * dlfcn/dlopenold.c: Likewise.
7664         * dlfcn/failtestmod.c: Likewise.
7665         * dlfcn/glreflib1.c: Likewise.
7666         * dlfcn/glreflib2.c: Likewise.
7667         * dlfcn/eval.c: Likewise.  Add attributes.
7669         * ctype/ctype-extn.c: Define isblank and not __isblank.
7671         * time/strftime.c: Add const where necessary to avoid warnings.
7672         * time/strptime.c (strptime_internal): Add casts to avoid warnings.
7674 2000-11-22  Paul Eggert  <eggert@twinsun.com>
7676         * time/strftime.c (my_strftime): Do not invoke mbrlen with a
7677         size of (size_t) -1; it's not portable.
7679 2000-11-28  Ulrich Drepper  <drepper@redhat.com>
7681         * sysdeps/i386/fpu/libm-test-ulps: Adjust some values for the
7682         crappy i486 FPU.
7683         Reported by Michael Deutschmann <michael@talamasca.ocis.net>.
7685 2000-11-14  Jes Sorensen  <jes@linuxcare.com>
7687         * sysdeps/ia64/_mcount.S: Call __mcount instead of __mcount_internal.
7689         * sysdeps/ia64/Makefile: Compile _mcount.S in subdir gmon as
7690         _mcount is required by profiled binaries.
7692         * sysdeps/unix/sysv/linux/ia64/machine-gmon.h: Moved to...
7693         * sysdeps/ia64/machine-gmon.h: ...here.
7695 2000-11-28  Masahide Washizawa  <washi@jp.ibm.com>
7697         * iconvdata/Makefile (modules): Add IBM922, IBM1124, and IBM1129.
7698         (distribute): Add ibm922.c, ibm1124.c, ibm1129.c, ibm922.h, ibm1124.h,
7699         and ibm1129.h.
7700         * iconvdata/gconv-modules: Add entries for IBM922, IBM1124, and
7701         IBM1129.
7702         * iconvdata/ibm922.c: New file.
7703         * iconvdata/ibm922.h: New file.
7704         * iconvdata/ibm1124.c: New file.
7705         * iconvdata/ibm1124.h: New file.
7706         * iconvdata/ibm1129.c: New file.
7707         * iconvdata/ibm1129.h: New file.
7708         * iconvdata/testdata/IBM922: New file.
7709         * iconvdata/testdata/IBM922..UTF8: New file.
7710         * iconvdata/testdata/IBM1124: New file.
7711         * iconvdata/testdata/IBM1124..UTF8: New file.
7712         * iconvdata/testdata/IBM1129: New file.
7713         * iconvdata/testdata/IBM1129..UTF8: New file.
7715 2000-11-28  Ulrich Drepper  <drepper@redhat.com>
7717         * catgets/gencat.c (normalize_line): Take extra parameter with escape
7718         character.  Change callers.
7719         (open_conversion): Determine mapping of 0x5c as wchar_t value.
7720         * catgets/Makefile: Add rules to build and run test-gencat.
7721         * catgets/sample.SJIS: New file.
7722         * catgets/test-gencat.c: New file.
7723         * catgets/test-gencat.sh: New file.
7724         Report and test case by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
7726 2000-11-28  Andreas Jaeger  <aj@suse.de>
7728         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Synch with generic
7729         Linux version.
7731 2000-11-28  Ulrich Drepper  <drepper@redhat.com>
7733         * sysdeps/unix/sysv/linux/bits/socket.h: Fix last patch.
7735 2000-11-28  Andreas Jaeger  <aj@suse.de>
7737         * sysdeps/unix/sysv/linux/bits/socket.h (struct cmsghdr): Use
7738         __flexarr.
7739         * sysdeps/unix/sysv/linux/mips/bits/socket.h (struct cmsghdr):
7740         Likewise.
7742 2000-11-27  Ulrich Drepper  <drepper@redhat.com>
7744         * misc/getusershell.c: Make strings in okshells array const.
7745         * misc/regexp.c: Add const to cast to avoid warnings.
7746         * sysdeps/unix/sysv/linux/llseek.c: Add prototype for __llseek.
7747         * sysdeps/unix/sysv/linux/i386/setresuid.c: Add prototype for
7748         __setresuid.
7749         * sysdeps/unix/sysv/linux/i386/setresgid.c: Add prototype for
7750         setresgid.
7751         * misc/error.c: Add prototypes for __error and __error_at_line.
7752         * misc/mntent_r.c (__getmntent_r): Add break at end of switch
7753         statement to avoid warning.
7754         * test-skeleton.c: Mark timeout_handler with noreturn.
7755         * iconv/skeleton.c (get16u): Add const to cast.
7756         (get32u): Likewise.
7757         * iconvdata/gb18030.c: Likewise.
7758         * iconvdata/iso-2022-cn-ext.c: Likewise.
7759         * iconvdata/ansi_x3.110.c: Add cast to avoid warning.
7760         * iconvdata/big5.c: Likewise.
7761         * iconvdata/big5hkscs.c: Likewise.
7762         * iconvdata/iso_6937.c: Likewise.
7763         * iconvdata/iso_6937-2.c: Likewise.
7764         * iconvdata/t.61.c: Likewise.
7765         * iconvdata/iso646.c: Add prototypes for gconv_init and gconv_env.
7766         * iconvdata/unicode.c: Likewise.
7767         * iconvdata/utf-16.c: Likewise.
7768         * iconvdata/cns11643.h (ucs4_to_cns11643): Define needed as size_t.
7769         * iconv/gconv_trans.c (__gconv_translit_find): Avoid one warning
7770         with little code shuffling.
7772         * sysdeps/powerpc/Makefile (CFLAGS-initfini.s): Add -O1 to avoid
7773         the problems introduced when the user selects -O3.
7775         * iconv/gconv.h (__gconv_info): Define __data element using __flexarr.
7776         * misc/sys/cdefs.h: Define __flexarr.
7777         Proposed by Joseph S. Myers <jsm28@cam.ac.uk>.
7779         * iconvdata/iso-2022-jp.c: Add prototypes to avoid warnings.
7780         * iconv/skeleton.c: Likewise.
7781         * iconvdata/iso8859-1.c (BODY to 8859-1): Add const to cast.
7782         * iconv/loop.c (get16): Add const to cast.
7783         (get32): Likewise.
7785 2000-11-27  Andreas Jaeger  <aj@suse.de>
7787         * login/programs/pt_chown.c (do_pt_chown): Mark function as static
7788         to avoid warning.
7789         * login/programs/utmpdump.c (print_entry): Likewise.
7791 2000-11-25  Maciej W. Rozycki  <macro@ds2.pg.gda.pl>
7793         * sysdeps/mips/__longjmp.c (__longjmp): Restore SP and FP last and
7794         in a single asm as they may be used to access other stored
7795         registers.
7796         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
7798 2000-11-27  Andreas Jaeger  <aj@suse.de>
7800         * rt/tst-aio.c: Mark test functions as static to avoid warnings.
7801         * rt/tst-aio64.c: Likewise.
7803 2000-11-27  Ulrich Drepper  <drepper@redhat.com>
7805         * catgets/Makefile (test1.cat): Set LC_ALL, LOCPATH, and GCONV_PATH
7806         for gencat run.
7807         (libc.cat): Likewise.
7808         * catgets/gencat.c: Implement handling of message catalogs encoded
7809         with stateful character sets.
7810         Based on a patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
7812 2000-11-26  Ulrich Drepper  <drepper@redhat.com>
7814         * sysdeps/unix/opendir.c (__opendir): Add cast to avoid warning.
7816         * inet/getnameinfo.c: Adjust casts to avoid warnings.
7817         * inet/rcmd.c: Likewise.
7818         * inet/ruserpass.c: Likewise.
7819         * inet/netinet/in.h (IN6_IS_ADDR_UNSPECIFIED, IN6_IS_ADDR_LOOPBACK,
7820         IN6_IS_ADDR_MULTICAST, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
7821         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, IN6_ARE_ADDR_EQUAL,
7822         IN6_IS_ADDR_MC_NODELOCAL, IN6_IS_ADDR_MC_LINKLOCAL,
7823         IN6_IS_ADDR_MC_SITELOCAL, IN6_IS_ADDR_MC_ORGLOCAL,
7824         IN6_IS_ADDR_MC_GLOBAL): Preserve const in cast.
7825         * include/aliases.h: Add prototypes for internal __getalias* functions.
7826         * include/netdb.h: Add prototypes for __old_gethostent_r,
7827         __old_gethostbyaddr_r, __old_gethostbyname_r, __old_gethostbyname2_r,
7828         __old_getnetent_r, __old_getnetbyaddr_r, __old_getnetbyname_r,
7829         __old_getservent_r, __old_getservbyname_r, __old_getservbyport_r,
7830         __old_getprotoent_r, __old_getprotobyname_r, __old_getprotobynumber_r.
7831         * include/rpc/netdb.h: Add prototypes for __old_getrpcbyname_r,
7832         __old_getrpcbynumber_r, __old_getrpcent_r.
7834         * include/rpc/netdb.h: Add __getrpcbyname_r, __getrpcbynumber_r,
7835         __getrpcent_r prototypes.
7837 2000-11-25  Ulrich Drepper  <drepper@redhat.com>
7839         * string/strcoll.c: Add casts to avoid warnings.
7840         * string/strnlen.c: Likewise.
7841         * string/strxfrm.c: Likewise.
7842         * sysdeps/generic/_strerror.c: Likewise.
7843         * sysdeps/generic/memrchr.c: Likewise.
7844         * sysdeps/generic/strcasestr.c: Likewise.
7845         * sysdeps/generic/strstr.c: Likewise.
7847         * locale/weight.h (findidx): Add const to cast to avoid warning.
7849         * elf/loadfail.c: Little cosmetic changes to avoid warnings.
7850         * elf/loadtest.c: Likewise.
7851         * elf/multiload.c: Likewise.
7852         * elf/next.c: Likewise.
7853         * elf/nodelete.c: Likewise.
7854         * elf/noload.c: Likewise.
7855         * elf/order.c: Likewise.
7856         * elf/origtest.c: Likewise.
7857         * elf/preloadtest.c: Likewise.
7858         * elf/restest1.c: Likewise.
7860         * sysdeps/i386/i486/bits/string.h (__strncat_g) [i686]: Fourth
7861         parameter of asm must be in %ecx.
7863         * string/tester.c: Mark test functions as static to avoid warnings.
7865         * iconv/gconv_conf.c (read_conf_file): Make mod_counter static to
7866         preserve value over different gconv-modules files.
7868 2000-11-24  Ulrich Drepper  <drepper@redhat.com>
7870         * locale/findlocale.c: Add casts to avoid warnings.
7871         * locale/localeinfo.h (LIMAGIC): Add cast to avoid warnings.
7872         * misc/efgcvt_r.c (fcvt_r): Use ssize_t instead of int and add cast
7873         to avoid warnings.
7874         * misc/tsearch.c (const_node): New type.
7875         (trecurse): Correct casts to avoid warnings.
7876         (__twalk): Likewise.
7877         * stdlib/tst-limits.c: Add z modifier to formats for WORD_BIT and
7878         LONG_BIT.
7880         * debug/backtrace-tst.c (compare): Add casts to avoid warnings.
7882         * test-skeleton.c: Mark local functions as static to avoid warnings.
7884 2000-11-23  H.J. Lu  <hjl@gnu.org>
7886         * rt/tst-aio6.c (do_test): Use pipe instead of STDIN_FILENO to
7887         support the background job.
7888         Fix a typo.
7890 2000-11-24  Ulrich Drepper  <drepper@redhat.com>
7892         * iconv/gconv_conf.c (insert_module): Replace old entry if new one
7893         has same names but lower cost.
7895 2000-11-23  Jakub Jelinek  <jakub@redhat.com>
7897         * sysdeps/sparc/sparc32/dl-machine.h: Ifdef out handling for relocs
7898         which never occur during bootstrap.
7899         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
7901 2000-11-23  Andreas Jaeger  <aj@suse.de>
7903         * nss/nss_files/files-hosts.c: Remove getipnodebyname.
7905         * nss/Versions: Remove _nss_files_getipnodebyname_r.
7907         * sysdeps/unix/sysv/linux/Versions: Fix typo in last patch.
7909 2000-11-18  Martin Buchholz  <martin@xemacs.org>
7911         * csu/gmon-start.c (__gmon_start__): Avoid over-clever trick `if
7912         (called++) return;'
7914 2000-11-21  Alan Modra  <alan@linuxcare.com.au>
7916         * sysdeps/generic/bsd-_setjmp.c (setjmp): Rename to _setjmp.
7918         * csu/abi-note.S: Correct comment for operating system number.
7920 2000-11-22  Ulrich Drepper  <drepper@redhat.com>
7922         * Versions.def: Add GLIBC_2.2.1 for glibc.
7924 2000-11-22  Andreas Schwab  <schwab@suse.de>
7926         * sysdeps/unix/sysv/linux/syscalls.list: Add pivot_root.
7927         * sysdeps/unix/sysv/linux/Versions: Add pivot_root at GLIBC_2.2.1.
7929 2000-11-22  Ulrich Drepper  <drepper@redhat.com>
7931         * rt/aio_suspend.c (aio_suspend): Convert timeout value to
7932         absolute time for pthread_cond_timedwait call.
7933         Reported by Lawrence Chen <lchen@opentext.com> [libc/1930].
7935         * rt/Makefile (tests): Add tst-aio6.
7936         * rt/tst-aio6.c: New file.
7938 2000-11-23  Andreas Jaeger  <aj@suse.de>
7940         * sysdeps/s390/bits/string.h (strncat): Fix one more typo.
7942 2000-11-22  Andreas Jaeger  <aj@suse.de>
7944         * sysdeps/s390/bits/string.h (strncat): Add missing quotation marks.
7946 2000-11-21  Martin Schwidefsky  <schwidefsky@de.ibm.com>
7948         * sysdeps/s390/bits/string.h: Make strncat always add a \0.
7950 2000-11-21  Andreas Schwab  <schwab@suse.de>
7952         * sysdeps/alpha/setjmp.S: Remove __setjmp entry point.
7953         * sysdeps/arm/setjmp.S: Likewise.
7954         * sysdeps/arm/fpu/setjmp.S: Likewise.
7955         * sysdeps/i386/setjmp.S: Likewise.
7956         * sysdeps/i386/elf/setjmp.S: Likewise.
7957         * sysdeps/s390/setjmp.S: Likewise.
7958         * sysdeps/s390/elf/setjmp.S: Likewise.
7959         * sysdeps/sh/sh3/setjmp.S: Likewise.
7960         * sysdeps/sh/sh4/setjmp.S: Likewise.
7961         * sysdeps/sparc/sparc32/setjmp.S: Likewise.
7962         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
7963         * sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S: Likewise.
7964         * sysdeps/unix/sysv/linux/m68k/setjmp.c: Removed.
7966 2000-11-21  Andreas Jaeger  <aj@suse.de>
7968         * sysdeps/generic/__longjmp.c (__longjmp): Remove obsolete
7969         NORETURN, fix parameter list.
7971         * string/bug-strncat1.c (main): Fix typo.
7972         Patch by Bernhard Kaindl <bernhard.kaindl@suse.de>.
7974 2000-11-20  Ulrich Drepper  <drepper@redhat.com>
7976         * configure.in: Add --enable-all-warnings.
7977         * config.make.in (all-warnings): New variable.
7978         * Makeconfig (+gccwarn): Define with many more warnings if
7979         all-warnings is yes.
7981 2000-11-20  Jakub Jelinek  <jakub@redhat.com>
7983         * iconvdata/bug-iconv2.c (main): Use %zd in format string.
7984         * io/test-lfs.c (do_test): Cast statbuf.st_size to long long.
7985         * malloc/tst-valloc.c (main): Cast valloc return value to long.
7986         * malloc/tst-obstack.c (verbose_malloc): Use %zd in format string.
7987         * math/test-fpucw.c (main): Use %lx in format string, cast
7988         control words to long.
7989         * stdio-common/tst-fmemopen.c (main): Use %td in format strings.
7990         * stdlib/tst-strtol.c (tests): Avoid (bogus?) decimal constant is so
7991         large that it is unsigned warning.
7993         * sysdeps/unix/sysv/linux/sparc/bits/types.h (__ssize_t): Changing
7994         it to long on sparc64.
7996 2000-11-20  Andreas Jaeger  <aj@suse.de>
7998         * nscd/nscd.h (termination_handler): Add noreturn attribute.
7999         (receiv_print_stats): Likewise.
8001         * elf/ldconfig.c (path_hwcap): Cast -1 for proper comparison.
8003 2000-11-20  Ulrich Drepper  <drepper@redhat.com>
8005         * malloc/thread-m.h: gcc doesn't tolerate zero-sized types anymore.
8007         * csu/gmon-start.c: Always have prototype for __gmon_start.
8008         * csu/version.c: Add prototypes for __libc_print_version and
8009         __libc_main.
8010         * iconv/gconv.c: Include gconv_int.h and gconv.h.
8011         * iconv/gconv.h (struct __gconv_step): Remove const from __from_name
8012         and __to_name.
8013         * iconv/gconv_builtin.h: Add ASCII module definitions.
8014         * iconv/gconv_conf.c (__gconv_path_elem): Remove const.
8015         (add_module): Add cast to avoid warning.  Rework construction of
8016         strings for new module.
8017         * iconv/gconv_db.c (__gconv_alias_compare): Make s1 and s2 const.
8018         (derivation_compare): Likewise.
8019         * iconv/gconv_dl.c (do_release_shlib): Remove const from nodep.
8020         (__gconv_release_shlib): Cast do_release_shlib as parameter for twalk.
8021         * iconv/gconv_int.h (__gconv_path_elem): Remove const.
8022         (struct gconv_alias): Remove const from fromname and toname.
8023         * iconv/gconv_simple.c: Include gconv_builtin.h to get prototypes
8024         for loop functions.
8025         (internal_ucs4_loop): Use correct const-ness.
8026         (ucs4_internal_loop): Likewise.
8027         (internal_ucs4le_loop): Likewise.
8028         (ucs4le_internal_loop_single): Likewise.
8029         * iconv/gconv_trans.c (__gconv_transliterate): Make from_idx, from_tbl,
8030         to_idx, to_tbl, winbuf, winbufend const.  Change casts in
8031         assignments appropriately.
8032         (struct known_trans): Remove const from fname.
8033         (trans_compare): Make s1 and s2 const.
8034         * iconv/loop.c (LOOPFC): Make outend parameter const.  Add cast to
8035         avoid warning.
8036         * iconv/skeleton.c: Remove cast in calls of loop functions.
8037         * iconvdata/gconv-modules: Remove US-ASCII definitions.
8038         * iconvdata/iso646.c: Remove US_ASCII support.
8039         * include/set-hooks.h (DEFINE_HOOK): Also generate prototype.
8040         * include/unistd.h: Add __libc_check_standard_fds prototype.
8041         * string/bits/string2.h (__mempcpy_args): Add const to casts.
8042         * sysdeps/generic/initfini.c: Add prototypes for dummy, _init, and
8043         _fini.
8044         * sysdeps/generic/libc-start.c: Add prototype for __libc_start_main.
8045         * sysdeps/i386/i486/bits/string.h (strcmp): Add const to casts.
8046         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Add cast to avoid
8047         warning.
8048         * sysdeps/unix/sysv/linux/init-first.c: Add prototypes for
8049         __libc_init_first and _dl_start.
8050         * intl/dcigettext.c (transcmp): Make s1 and s2 const.
8051         (DCIGETTEXT): Make domaindata variable const.
8052         * intl/loadmsgcat.c (_nl_load_domain): Rearrange domain initialization
8053         to avoid warning.
8055 2000-11-20  Hiroyuki Machida  <machida@sm.sony.co.jp>
8057         * sysdeps/unix/sysv/linux/mips/clone.S: Fix comments.
8059         * sysdeps/unix/sysv/linux/mips/kernel_stat.h (kernel_stat): Expand
8060         time_t to 'long int' not, 'unsigned int'.  Use 'long int' for
8061         __unused? members.
8063         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (O_NOFOLLOW): Use same
8064         value defined in /usr/include/asm-mips/fcntl.h.
8066 2000-11-18  Ulrich Drepper  <drepper@redhat.com>
8068         * stdio-common/Makefile (tests): Add test-vfprintf.
8069         (test-vfprintf-ENV): New variable.
8070         * stdio-common/test-vfprintf.c: New file.
8072         * wcsmbs/mbrtowc.c (__mbrtowc): Do not only flush if input is '\0'.
8074         * wcsmbs/Makefile (tests): Add tst-mbrtowc and tst-wcrtomb.
8075         (tst-mbrtowc-ENV): New variable.
8076         (tst-wcrtomb-ENV): New variable.
8077         * wcsmbs/tst-mbrtowc.c: New file.
8078         * wcsmbs/tst-wcrtomb.c: New file.
8080 2000-11-16  Andreas Jaeger  <aj@suse.de>
8082         * manual/install.texi (Tools for Compilation): Update
8083         documentation for GCC 2.95.2.
8085 2000-11-18  Ulrich Drepper  <drepper@redhat.com>
8087         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only return -EAI_AGAIN
8088         if IPv4 and IPv6 requests timed out.
8090 2000-11-18  Akim Demaille  <akim@epita.fr>
8092         * malloc/obstack.h: Formatting changes.
8093         (obstack_grow, obstack_grow0): Don't cast WHERE at all: it
8094         prevents type checking.
8095         (obstack_ptr_grow, obstack_ptr_grow_fast): When assigning, don't
8096         cast the value to (void *): assigning a `foo *' to a `void *'
8097         variable is valid.
8098         (obstack_int_grow, obstack_int_grow_fast): Don't cast AINT to int.
8100 2000-11-17  Ulrich Drepper  <drepper@redhat.com>
8102         * scripts/config.guess: Update from upstream maintainer.
8103         * scripts/config.sub: Likewise.
8105 2000-11-16  Ulrich Drepper  <drepper@redhat.com>
8107         * libio/freopen.c (freopen): Reset _mode after succesful reopening.
8108         * libio/freopen64.c (freopen64): Likewise.
8109         Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
8111         * libio/Makefile: Add rules to build and run test-freopen.
8112         * libio/test-freopen.c: New file.
8113         * libio/test-freopen.sh: New file.
8115 2000-11-15  H.J. Lu  <hjl@gnu.org>
8117         * sysdeps/generic/ldsodefs.h (DL_DT_INIT_ADDRESS): Defined if
8118         ELF_FUNCTION_PTR_IS_SPECIAL is not defined.
8119         (DL_DT_FINI_ADDRESS): Likewise.
8121         * sysdeps/ia64/dl-lookupcfg.h (_dl_lookup_address): Set the
8122         return type to ElfW(Addr).
8123         (_dl_function_address): New prototype.
8124         (DL_FUNCTION_ADDRESS): Defined.
8125         (DL_DT_INIT_ADDRESS): Defined as DL_FUNCTION_ADDRESS.
8126         (DL_DT_FINI_ADDRESS): Likewise.
8128         * sysdeps/ia64/Versions (GLIBC_2.2): Add _dl_function_address.
8130         * sysdeps/ia64/dl-machine.h (_dl_start_address): Removed.
8131         (ELF_MACHINE_START_ADDRESS): Changed to DL_FUNCTION_ADDRESS.
8133         * sysdeps/ia64/dl-symaddr.c (_dl_start_address): Renamed to ...
8134         (_dl_function_address): This.
8136         * elf/dl-fini.c (_dl_fini): Use DL_DT_FINI_ADDRESS to get the
8137         function pointer for DT_FINI.
8138         * elf/dl-close.c (_dl_close): Likewise.
8140         * elf/dl-init.c (_dl_init): Use DL_DT_INIT_ADDRESS to get the
8141         function pointer for DT_INIT.
8143 2000-11-16  Jakub Jelinek  <jakub@redhat.com>
8145         * sysdeps/generic/printf_fphex.c (__printf_fphex): Compute correctly
8146         end of wexpbuf buffer.
8148 2000-11-16  Andreas Jaeger  <aj@suse.de>
8150         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove duplicate
8151         definition of F_GETLK, F_SETLK, F_SETLKW.
8153 2000-11-16  Andreas Jaeger  <aj@suse.de>
8155         * sysdeps/generic/dl-cache.c (_DL_PLATFORMS_COUNT): Define to 0 if
8156         it's not defined.
8158 2000-11-15  Jakub Jelinek  <jakub@redhat.com>
8160         * dlfcn/default.c (main): Add test for dladdr of main returning
8161         argv[0] in dli_fname field.
8163 2000-11-15  Jakub Jelinek  <jakub@redhat.com>
8165         * Makeconfig (run-program-prefix): Move test-static test into the
8166         variable.
8168         * sysdeps/alpha/dl-machine.h (RTLD_START): Update _dl_argv.
8169         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise,
8170         schedule instructions.
8171         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise,
8172         schedule instructions, fix a bug in copying auxiliary data.
8174 2000-11-15  Ulrich Drepper  <drepper@redhat.com>
8176         * manual/startup.texi (Program Arguments): Fix type of main's envp
8177         parameter.
8178         Reported by Raúl Núñez de Arenas Coronado <dervishd@linuxfreak.com>.
8180         * iconvdata/gconv-modules: Add CP950 alias.
8182 2000-11-13  Jakub Jelinek  <jakub@redhat.com>
8184         * sysdeps/unix/sysv/linux/Makefile: Allow ports to override
8185         syscall-list.h goal.
8186         * sysdeps/unix/sysv/linux/sparc/Makefile: New file.
8188 2000-11-15  Ulrich Drepper  <drepper@redhat.com>
8190         * intl/Makefile: tst-gettext2.sh does not need a third parameter.
8192         * intl/tst-gettext2.sh: Copy locale data.  Adjust LOCPATH.  Verify
8193         output of program.
8195         * intl/tst-gettext2.c: Set C locale if setting other locale
8196         failed.  Use gettext() not _().
8198         * locale/setlocale.c: Increment _nl_msg_cat_cntr whenever we
8199         successfully loaded a new locale.
8201 2000-11-13  Andreas Jaeger  <aj@suse.de>
8203         * configure.in: Require gcc 2.95 or newer.
8205 2000-11-15  Ulrich Drepper  <drepper@redhat.com>
8207         * sysdeps/unix/sysv/linux/paths.h: Adjust for FHS.
8208         Patch by Arkadiusz Miskiewicz <misiek@pld.ORG.PL>.
8210 2000-11-11  Jim Meyering  <meyering@lucent.com>
8212         * string/strndup.c (strndup): Cast return value to `char *'.
8214 2000-11-15  Jim Meyering  <meyering@ascend.com>
8216         * sysdeps/generic/memchr.c: Remove some useless parentheses.
8217         [HAVE_STDLIB_H || defined _LIBC]: Include <stdlib.h>.
8218         [HAVE_BP_SYM_H || defined _LIBC]: Guard inclusion of bp-sym.h.
8219         [! (HAVE_BP_SYM_H || defined _LIBC)] (BP_SYM): Define as no-op.
8220         Also #undef __memchr.
8221         Use `weak_alias' only if it's defined.
8223 2000-11-10  H.J. Lu  <hjl@gnu.org>
8225         * Makefile.in (install): Set LANGUAGE=C LC_ALL=C.
8227 2000-11-15  Andreas Jaeger  <aj@suse.de>
8229         * elf/chroot_canon.c: Include <stdint.h>.
8231         * elf/cache.c (struct cache_entry): Use uint64_t for hwcap.
8232         (print_entry): Likewise.
8233         (add_to_cache): Likewise.
8235         * elf/ldconfig.h (add_to_cache): Change prototype for hwcap change.
8237         * elf/ldconfig.c (struct lib_entry): Use uint64_t for hwcap.
8238         (path_hwcap): Likewise.
8239         (search_dir): Likewise.
8241         * sysdeps/generic/dl-cache.c (HWCAP_CHECK): Handle platform.
8243         * elf/cache.c (add_to_cache): Handle 64 bit hwcap entry.
8245         * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h
8246         (_dl_platform_string): New.
8247         (_DL_HWCAP_PLATFORM): New.
8248         (_dl_string_platform): New.
8249         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h: Likewise.
8251         * sysdeps/generic/dl-procinfo.h (_DL_HWCAP_COUNT): New.
8252         (_dl_string_platform): New.
8253         (_DL_HWCAP_PLATFORM): New.
8254         (_dl_platform_string): New.
8256         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Added x86 platform
8257         recognition.
8258         (_DL_HWCAP_COUNT): New.
8259         (_dl_string_platform): New.
8260         (_DL_HWCAP_PLATFORM): New.
8261         (_dl_platform_string): New.
8263 2000-11-14  Ulrich Drepper  <drepper@redhat.com>
8265         * iconvdata/gconv-modules: Add CP936 as alias for GBK.
8267 2000-11-14  Andreas Jaeger  <aj@suse.de>
8269         * sysdeps/generic/dl-cache.c (HWCAP_CHECK): Fix access to _dl_hwcap.
8271 2000-11-13  Roland McGrath  <roland@frob.com>
8273         * hurd/get-host.c (_hurd_get_host_config): Fix last change.
8275 2000-11-13  Marcus Brinkmann <marcus@gnu.org>
8277         * hurd/get-host.c (_hurd_get_host_config): Fix possible buffer
8278         underrun and make sure the result is null terminated even if there
8279         is no trailing newline.
8281 2000-11-13  Jakub Jelinek  <jakub@redhat.com>
8283         * sysdeps/alpha/fpu/libm-test-ulps: Update.
8285 2000-11-10  H.J. Lu  <hjl@gnu.org>
8287         * sysdeps/ia64/fpu/libm-test-ulps: Updated.
8289 2000-11-10  Andreas Jaeger  <aj@suse.de>
8291         * elf/ldconfig.c (create_links): Fix alloca calculation.
8292         Patch by Ben Collins <bcollins@debian.org>.
8294 2000-11-09  Ulrich Drepper  <drepper@redhat.com>
8296         * inet/getnameinfo.c (getnameinfo): Use correct destination
8297         parameter for if_indextoname.
8298         Patch by Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>.
8300 2000-11-09  H.J. Lu  <hjl@gnu.org>
8302         * sunrpc/Versions (GLIBC_2.1): Remove xdr_cryptkeyarg,
8303         xdr_cryptkeyarg2, xdr_cryptkeyres, xdr_des_block,
8304         xdr_key_netstarg, xdr_key_netstres, xdr_keybuf and
8305         xdr_keystatus.
8307         * time/Versions (GLIBC_2.1): Move getitimer to...
8308         * sysdeps/unix/sysv/linux/alpha/Versions (GLIBC_2.1): ...here.
8310 2000-11-03  Bruno Haible  <haible@clisp.cons.org>
8312         * manual/install.texi: Recommend to set LANGUAGE=C LC_ALL=C during
8313         "make install", to work around a binary incompatibility between
8314         glibc 2.1 and glibc 2.2 gconv modules.
8316 2000-11-09  Ulrich Drepper  <drepper@redhat.com>
8318         * intl/locale.alias: Add thai.
8319         Patch by Chanop Silpa-Anan <chanop@syseng.anu.edu.au>.
8321 2000-11-07  Akim Demaille  <akim@epita.fr>
8323         * malloc/obstack.c (obstack_grow, obstack_grow0): Rename the second
8324         argument `data' for consistency with the prototypes.
8325         Qualify it `const'.
8326         (obstack_copy, obstack_copy0): Rename the second argument as
8327         `address' for consistency.  Qualify it `const'.
8328         * malloc/obstack.h (obstack_copy, obstack_copy0, obstack_grow)
8329         (obstack_grow0, obstack_ptr_grow, obstack_ptr_grow_fast): Qualify
8330         `const' their input argument (`data' or `address').
8331         Adjust the corresponding macros to include `const' in casts.
8333 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
8335         * sysdeps/posix/getaddrinfo.c: Clean-up: define family to hold
8336         target family.
8338 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
8340         * sysdeps/posix/getaddrinfo.c: Loosen protocol check to ease raw
8341         socket creation.
8343 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
8345         * sysdeps/posix/getaddrinfo.c: Ensure to fill ai_socktype and
8346         ai_protocol by internal table if service was not given.
8348 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
8350         * sysdeps/posix/getaddrinfo.c: Don't raise an error even if
8351         numerical port was specified with protocol without socktype.
8353 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
8355         * sysdeps/posix/getaddrinfo.c: Ensure to check if protocol is ok.
8357 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
8359         * inet/getnameinfo.c: getnameinfo() NI_xxx flag validation.
8361 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
8363         * sysdeps/posix/getaddrinfo.c: Ensure not to fill garbage value in
8364         sin6_scope_id field.
8366 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
8368         * inet/getnameinfo.c: Repair getnameinfo() sin6_socpe_id support.
8370 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
8372         * inet/getnameinfo.c: Repair NI_NOFQDN flag support.
8374 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
8376         * inet/getnameinfo.c: Wake-up sin6_scope_id support in
8377         getnameinfo(): check for whether sin6_socpe_id exist was wrong.
8379 2000-11-09  Martin Schwidefsky  <mschwide@nc.boeblingen.de.ibm.com>
8381         * sysdeps/unix/sysv/linux/s390/mmap.S: Use mmap2 if it is present.
8382         * sysdeps/unix/sysv/linux/s390/mmap64.S: New file.
8384 2000-11-09  H.J. Lu  <hjl@gnu.org>
8386         * io/Versions (GLIBC_2.1.1): Remove lockf64.
8389 See ChangeLog.11 for earlier changes.