Update.
[glibc.git] / ChangeLog
blob7da959ff836662a450aef5b7557e8e3919bbe4d7
1 2001-06-06  Andreas Jaeger  <aj@suse.de>
3         * manual/llio.texi (Memory-mapped I/O): Clarify that mapping is to
4         offset+length-1.
5         Reported by Robert Bernecky <bernecky@acm.org>.
7 2001-06-06  Jakub Jelinek  <jakub@redhat.com>
9         * sysdeps/cris/elf/start.S: Fix a typo introduced by last patch.
10         * sysdeps/ia64/elf/start.S: Likewise.
11         * sysdeps/sh/elf/start.S: Likewise.
12         * sysdeps/s390/s390-32/elf/start.S: Likewise.
13         * sysdeps/s390/s390-64/elf/start.S: Likewise.
15 2001-06-05  Matthew Wilcox  <willy@ldl.fc.hp.com>
17         * sysdeps/hppa/bsd-_setjmp.S: New.
18         * sysdeps/hppa/bsd-setjmp.S: New.
20         * sysdeps/hppa/dl-machine.h: Reformat asm statements to remove new
21         gcc warnings about multi-line strings.
23         * sysdeps/unix/sysv/linux/hppa/getrlimit.c: Remove.
24         * sysdeps/unix/sysv/linux/hppa/setrlimit.c: Remove.
26         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Call getrlimit,
27         setrlimit directly instead of using wrappers.
29 2001-05-01  Richard Hirst  <rhirst@linuxcare.com>
31         * sysdeps/unix/sysv/linux/hppa/syscall.S: remove dummy syscall.
32         * sysdeps/unix/sysv/linux/hppa/sysdep.c: implement syscall.
34 2001-06-05  Philipp Thomas  <pthomas@suse.de>
36         * nis/nis_call.c (__nisbind_connect): Don't mark for translation
37         what can't be translated.
39 2001-06-06  Ulrich Drepper  <drepper@redhat.com>
41         * timezone/zic.c: Update from tzcode2001c.
42         * timezone/private.h: Likewise.
43         * timezone/africa: Update from tzdata2001c.
44         * timezone/asia: Likewise.
45         * timezone/europe: Likewise.
46         * timezone/northamerica: Likewise.
47         * timezone/southamerica: Likewise.
48         * timezone/zone.tab: Likewise.
50 2001-06-04  Bruno Haible  <haible@clisp.cons.org>
52         * iconv/loop.c (UNICODE_TAG_HANDLER): New macro.
53         * iconv/gconv_simple.c (__gconv_transform_internal_ascii): Invoke
54         UNICODE_TAG_HANDLER.
55         (__gconv_transform_internal_ucs2): Likewise.
56         (__gconv_transform_internal_ucs2reverse): Likewise.
57         * iconvdata/8bit-gap.c (BODY for TO_LOOP): Invoke UNICODE_TAG_HANDLER.
58         * iconvdata/8bit-generic.c (BODY for TO_LOOP): Likewise.
59         * iconvdata/ansi_x3.110.c (BODY for TO_LOOP): Likewise.
60         * iconvdata/big5.c (BODY for TO_LOOP): Likewise.
61         * iconvdata/big5hkscs.c (BODY for TO_LOOP): Likewise.
62         * iconvdata/cp1255.c (BODY for TO_LOOP): Likewise.
63         * iconvdata/cp1258.c (BODY for TO_LOOP): Likewise.
64         * iconvdata/euc-cn.c (BODY for TO_LOOP): Likewise.
65         * iconvdata/euc-jp.c (BODY for TO_LOOP): Likewise.
66         * iconvdata/euc-kr.c (BODY for TO_LOOP): Likewise.
67         * iconvdata/euc-tw.c (BODY for TO_LOOP): Likewise.
68         * iconvdata/gbk.c (BODY for TO_LOOP): Likewise.
69         * iconvdata/ibm930.c (BODY for TO_LOOP): Likewise.
70         * iconvdata/ibm932.c (BODY for TO_LOOP): Likewise.
71         * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
72         * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
73         * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
74         * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
75         * iconvdata/ibm943.c (BODY for TO_LOOP): Likewise.
76         * iconvdata/iso646.c (BODY for TO_LOOP): Likewise.
77         * iconvdata/iso8859-1.c (BODY for TO_LOOP): Likewise.
78         * iconvdata/iso_6937.c (BODY for TO_LOOP): Likewise.
79         * iconvdata/iso_6937-2.c (BODY for TO_LOOP): Likewise.
80         * iconvdata/iso-2022-cn.c (BODY for TO_LOOP): Likewise.
81         * iconvdata/iso-2022-cn-ext.c (BODY for TO_LOOP): Likewise.
82         * iconvdata/iso-2022-kr.c (BODY for TO_LOOP): Likewise.
83         * iconvdata/johab.c (BODY for TO_LOOP): Likewise.
84         * iconvdata/sjis.c (BODY for TO_LOOP): Likewise.
85         * iconvdata/t.61.c (BODY for TO_LOOP): Likewise.
86         * iconvdata/uhc.c (BODY for TO_LOOP): Likewise.
87         * iconvdata/unicode.c (BODY for TO_LOOP): Likewise.
88         * iconvdata/iso-2022-jp.c (TAG_none, TAG_language, TAG_language_j,
89         TAG_language_ja, TAG_language_k, TAG_language_ko, TAG_language_z,
90         TAG_language_zh, CURRENT_TAG_MASK): New enum values.
91         (EMIT_SHIFT_TO_INIT): Don't emit an escape sequence if ASCII_set
92         is already selected but set2 or tag are set.
93         (conversion): New enum type.
94         (cvlist_t): New type.
95         (CVLIST, CVLIST_FIRST, CVLIST_REST): New macros.
96         (conversion_lists): New array.
97         (BODY for TO_LOOP): Keep track of Unicode 3.1 language tag. If "ja",
98         prefer conversion to Japanese character sets. If "zh", prefer
99         conversion to GB2312. If "ko", prefer conversion to KSC5601. Small
100         optimizations.
101         (INIT_PARAMS): Add tag.
102         (UPDATE_PARAMS): Add tag.
104 2001-06-04  Bruno Haible  <haible@clisp.cons.org>
106         * locale/programs/locfile.c (write_locale_data): Before creat(),
107         unlink the file, to avoid crashing the processes that mmap it.  Change
108         a double slash to a single slash.  Free fname in case of error return.
110 2001-06-02  Jakub Jelinek  <jakub@redhat.com>
112         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Mostly revert 2000-12-03
113         changes, do the special handling for denormal numbers, not for
114         normalized numbers (patch by <trevin@xmission.com>).
116         * math/test-misc.c (main): Test frexpl with denormal arguments.
118 2001-06-04  Jakub Jelinek  <jakub@redhat.com>
120         * math/libm-test.inc (llround_test): Add two new llround tests.
121         * sysdeps/ieee754/ldbl-96/s_llroundl.c (__llroundl): Don't allow
122         overflow when rounding away from zero.
124 2001-06-04  Jakub Jelinek  <jakub@redhat.com>
126         * math/Makefile (libm-calls): Add e_log2, w_log2, remove s_log2.
127         * math/math_private.h (__ieee754_log2, __ieee754_log2f,
128         __ieee754_log2l): New prototypes.
129         * sysdeps/generic/w_log2.c: New file.
130         * sysdeps/generic/w_log2f.c: New file.
131         * sysdeps/generic/w_log2l.c: New file.
132         * sysdeps/generic/s_log2l.c: Move...
133         * sysdeps/generic/e_log2l.c: ...to here. Rename to __ieee754_log2l.
134         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle log2(0)
135         and log2(x < 0).
136         * sysdeps/i386/fpu/s_log2.S: Move...
137         * sysdeps/i386/fpu/e_log2.S: ...to here. Rename to __ieee754_log2.
138         * sysdeps/i386/fpu/s_log2f.S: Move...
139         * sysdeps/i386/fpu/e_log2f.S: ...to here. Rename to __ieee754_log2f.
140         * sysdeps/i386/fpu/s_log2l.S: Move...
141         * sysdeps/i386/fpu/e_log2l.S: ...to here. Rename to __ieee754_log2l.
142         * sysdeps/m68k/fpu/s_log2.S: Move...
143         * sysdeps/m68k/fpu/e_log2.S: ...to here. Rename to __ieee754_log2.
144         * sysdeps/m68k/fpu/s_log2f.S: Move...
145         * sysdeps/m68k/fpu/e_log2f.S: ...to here. Rename to __ieee754_log2f.
146         * sysdeps/m68k/fpu/s_log2l.S: Move...
147         * sysdeps/m68k/fpu/e_log2l.S: ...to here. Rename to __ieee754_log2l.
148         * sysdeps/ieee754/dbl-64/s_log2.c: Move...
149         * sysdeps/ieee754/dbl-64/e_log2.c: ...to here. Rename to
150         __ieee754_log2.
151         * sysdeps/ieee754/flt-32/s_log2f.c: Move...
152         * sysdeps/ieee754/flt-32/e_log2f.c: ...to here. Rename to
153         __ieee754_log2f.
155 2001-06-04  Jakub Jelinek  <jakub@redhat.com>
157         * sysdeps/generic/w_exp2.c (u_threshold): Lower threshold so that
158         even arguments which result in denormalized exp2 are accepted.
159         (__exp2): Arguments equal to u_threshold already result into
160         underflow.
161         * sysdeps/generic/w_exp2f.c (u_threshold, __exp2f): Likewise.
162         * sysdeps/generic/w_exp2l.c (u_threshold, __exp2l): Likewise.
163         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Lomark was too
164         low, with corrected lowmark use greaterequal, not greater.
165         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
167 2001-06-04  Jakub Jelinek  <jakub@redhat.com>
169         * math/libm-test.inc (ilogb_test): Test that ilogb(+-Inf) == INT_MAX.
170         * sysdeps/i386/fpu/s_ilogb.S (__ilogb): Return INT_MAX for +-Inf.
171         * sysdeps/i386/fpu/s_ilogbf.S (__ilogbf): Likewise.
172         * sysdeps/i386/fpu/s_ilogbl.S (__ilogbl): Likewise.
173         * sysdeps/ieee754/dbl-64/s_ilogb.c (__ilogb): Likewise.
174         * sysdeps/ieee754/flt-32/s_ilogbf.c (__ilogbf): Likewise.
175         * sysdeps/ieee754/ldbl-128/s_ilogbl.c (__ilogbl): Likewise.
176         * sysdeps/ieee754/ldbl-96/s_ilogbl.c (__ilogbl): Likewise.
178 2001-06-04  Jakub Jelinek  <jakub@redhat.com>
180         * sysdeps/generic/w_coshl.c (__coshl): Test if finite argument
181         gave non-finite result instead of using constant in generic
182         version.
183         * sysdeps/generic/w_coshf.c (__coshf): Likewise.
184         * sysdeps/generic/w_cosh.c (__cosh): Likewise.
185         * sysdeps/generic/w_exp10.c (o_threshold, u_threshold): Remove.
186         (__exp10): Test if finite argument gave non-finite result.
187         * sysdeps/generic/w_exp10f.c (o_threshold, u_threshold, __exp10f):
188         Likewise.
189         * sysdeps/generic/w_exp10l.c (o_threshold, u_threshold, __exp10l):
190         Likewise.
192 2001-06-04  Jakub Jelinek  <jakub@redhat.com>
194         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Fix
195         overflow threshold constant (log(LDBL_MAX)+M_LN2l).
197 2001-05-29  Bruno Haible  <haible@clisp.cons.org>
199         * locale/programs/ld-ctype.c (idx_table): New struct type.
200         (idx_table_init, idx_table_get, idx_table_add): New functions.
201         (MAX_CHARNAMES_IDX): Remove macro.
202         (locale_ctype_t): Change type of charnames_idx field.
203         (ctype_startup): Change initialization of charnames_idx field.
204         (find_idx): Use idx_table_get and idx_table_add for speed.
206         * locale/programs/charmap.c (charmap_new_char): Fix ucs4 value
207         computation of characters in a range.
209 2001-05-29  Bruno Haible  <haible@clisp.cons.org>
211         * iconvdata/gb18030.c (__fourbyte_to_ucs1): Add mappings for <U03F4>,
212         <U03F5>.
213         (__ucs_to_gb18030_tab1): Likewise.
214         (BODY for FROM_LOOP): Add mapping for <U00010000>..<U0010FFFF>.
215         (BODY for TO_LOOP): Likewise.
216         * iconvdata/tst-table-charmap.sh: Update for charmaps containing
217         <U00xxxxxx> syntax.
218         * iconvdata/tst-table-from.c (bmp_only): New variable.
219         (utf8_decode): If bmp_only, don't return characters outside Unicode
220         plane 0.
221         (main): When testing UTF-8 or GB18030, set bmp_only to 1. Don't print
222         a conversion line if utf8_decode returns NULL.
223         * iconvdata/tst-table-to.c (main): When testing encodings other than
224         UTF-8 and GB18030, loop upto U+30000 instead of U+10000. Use UTF-8
225         instead of UCS-2 as input.
226         * iconvdata/tst-table.sh: For GB18030, use only the part < 0x10000
227         of the charmap.
229 2001-05-29  Bruno Haible  <haible@clisp.cons.org>
231         * iconvdata/cns11643l1.c: Update to Unicode 3.1.
232         (__cns11643l1_to_ucs4_tab): Regenerated.
233         (__cns11643l1_from_ucs4_tab12): Regenerated.
234         * iconvdata/cns11643.c: Update to Unicode 3.1.
235         (__cns11643l14_to_ucs4_tab): Remove array.
236         (__cns11643l3_to_ucs4_tab, __cns11643l4_to_ucs4_tab,
237         __cns11643l5_to_ucs4_tab, __cns11643l6_to_ucs4_tab,
238         __cns11643l7_to_ucs4_tab, __cns11643l15_to_ucs4_tab): New arrays.
239         (__cns11643_from_ucs4p0_tab): Renamed from __cns11643_from_ucs4_tab.
240         (__cns11643_from_ucs4p2_tab): New array.
241         * iconvdata/cns11643.h (__cns11643l14_to_ucs4_tab): Remove declaration.
242         (__cns11643l3_to_ucs4_tab, __cns11643l4_to_ucs4_tab,
243         __cns11643l5_to_ucs4_tab, __cns11643l6_to_ucs4_tab,
244         __cns11643l7_to_ucs4_tab, __cns11643l15_to_ucs4_tab): New declarations.
245         (cns11643_to_ucs4): Treat planes 3, 4, 5, 6, 7, 15 instead of 14.
246         (__cns11643_from_ucs4_tab): Remove declaration.
247         (__cns11643_from_ucs4p0_tab, __cns11643_from_ucs4p2_tab): New
248         declarations.
249         (ucs4_to_cns11643): Update for new arrays. Treat U+3400..U+4DFF and
250         U+20000..U+2A6D6.
251         * iconvdata/cns11643l2.h (__cns11643_from_ucs4_tab): Remove
252         declaration.
253         (__cns11643_from_ucs4p0_tab): New declaration.
254         (ucs4_to_cns11643l2): Update for new arrays.
255         * iconvdata/iso-2022-cn-ext.c (BODY for FROM_LOOP): Handle planes
256         3 to 7.
257         (BODY for TO_LOOP): Handle planes 3 to 7, instead of plane 14.
258         * iconvdata/EUC-TW.irreversible: New file.
259         * iconvdata/tst-table.sh: Use it.
260         * iconvdata/Makefile (distribute): Add CP1255.irreversible,
261         CP1258.irreversible, EUC-TW.irreversible.
263 2001-05-29  Bruno Haible  <haible@clisp.cons.org>
265         * locale/C-translit.h.in: Add transliterations for new Unicode 3.1
266         mathematical symbols.
268 2001-06-05  Andreas Jaeger  <aj@suse.de>
270         * manual/stdio.texi (Portable Positioning): Fix description of
271         fpos_t and fpos64_t.
273 2001-06-06  Ulrich Drepper  <drepper@redhat.com>
275         * sysdeps/generic/wordexp.c: Undo last patch.  Use strndupa instead.
277         * po/sk.po: Update from translation team.
279 2001-06-05  Andreas Jaeger  <aj@suse.de>
281         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Recognize
282         tmpfs, patch by Stanislav Brabec <utx@penguin.cz>.
283         Closes PR libc/2315.
285 2001-06-05  Ulrich Drepper  <drepper@redhat.com>
287         * sysdeps/generic/wordexp.c: Add missing free.
288         Patch by yeti@physics.muni.cz.
290 2001-06-02  Tom Browder  <tbrowder@home.com>
292         * misc/tst-tsearch.c (mangle_tree): Ensure array indices are
293         within bounds when lag > 0.
295 2001-06-05  Ulrich Drepper  <drepper@redhat.com>
297         * po/tr.po: New file.
299 2001-06-05  Andreas Jaeger  <aj@suse.de>
301         * manual/libm-err-tab.pl (parse_ulps): Fix typo.
303 2001-06-04  H.J. Lu  <hjl@gnu.org>
305         * sysdeps/alpha/elf/start.S: Add .type for the entry point.
306         * sysdeps/arm/elf/start.S: Likewise.
307         * sysdeps/hppa/elf/start.S: Likewise.
308         * sysdeps/i386/elf/start.S: Likewise.
309         * sysdeps/m68k/elf/start.S: Likewise.
310         * sysdeps/mips/elf/start.S: Likewise.
311         * sysdeps/ia64/elf/start.S: Likewise.
312         * sysdeps/sh/elf/start.S: Likewise.
313         * sysdeps/s390/s390-32/elf/start.S: Likewise.
314         * sysdeps/s390/s390-64/elf/start.S: Likewise.
315         * sysdeps/cris/elf/start.S: Likewise.
317 2001-06-04  Bruce Mitchener  <bruce@cubik.org>
319         * manual/resource.texi: Correct setpriority/nice documentation.
321         * sysdeps/unix/nice.c: Correct nice() implementation.
323 2001-06-04  Andreas Jaeger  <aj@suse.de>
325         * sysdeps/ieee754/ldbl-128/e_sinhl.c: New file, contributed by
326         Stephen L Moshier <moshier@mediaone.net>.
328 2001-06-03  Roland McGrath  <roland@frob.com>
330         * Makefile (postclean): Remove obsolete sysd-Makefile.
332 2001-06-01  Roland McGrath  <roland@frob.com>
334         * sysdeps/alpha/fpu/fclrexcpt.c: #include <shlib-compat.h>
335         and use compat_symbol/versioned_symbol instead of plain
336         symbol_version/default_symbol_version.
337         * sysdeps/alpha/fpu/fegetenv.c: Likewise.
338         * sysdeps/alpha/fpu/fesetenv.c: Likewise.
339         * sysdeps/alpha/fpu/feupdateenv.c: Likewise.
340         * sysdeps/alpha/fpu/fgetexcptflg.c: Likewise.
341         * sysdeps/alpha/fpu/fraiseexcpt.c: Likewise.
342         * sysdeps/alpha/fpu/fsetexcptflg.c: Likewise.
343         * sysdeps/arm/fpu/fclrexcpt.c: Likewise.
344         * sysdeps/arm/fpu/fegetenv.c: Likewise.
345         * sysdeps/arm/fpu/fesetenv.c: Likewise.
346         * sysdeps/arm/fpu/fraiseexcpt.c: Likewise.
347         * sysdeps/arm/fpu/fsetexcptflg.c: Likewise.
348         * sysdeps/i386/fpu/fclrexcpt.c: Likewise.
349         * sysdeps/i386/fpu/fegetenv.c: Likewise.
350         * sysdeps/i386/fpu/fesetenv.c: Likewise.
351         * sysdeps/i386/fpu/feupdateenv.c: Likewise.
352         * sysdeps/i386/fpu/fgetexcptflg.c: Likewise.
353         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
354         * sysdeps/i386/fpu/fsetexcptflg.c: Likewise.
355         * sysdeps/m68k/fpu/fclrexcpt.c: Likewise.
356         * sysdeps/m68k/fpu/fegetenv.c: Likewise.
357         * sysdeps/m68k/fpu/fesetenv.c: Likewise.
358         * sysdeps/m68k/fpu/feupdateenv.c: Likewise.
359         * sysdeps/m68k/fpu/fgetexcptflg.c: Likewise.
360         * sysdeps/m68k/fpu/fraiseexcpt.c: Likewise.
361         * sysdeps/m68k/fpu/fsetexcptflg.c: Likewise.
362         * sysdeps/powerpc/fclrexcpt.c: Likewise.
363         * sysdeps/powerpc/fpu/fegetenv.c: Likewise.
364         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
365         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
366         * sysdeps/powerpc/fpu/fgetexcptflg.c: Likewise.
367         * sysdeps/powerpc/fpu/fraiseexcpt.c: Likewise.
368         * sysdeps/powerpc/fpu/fsetexcptflg.c: Likewise.
370         * iconvdata/cp1258.c: Include <stdlib.h> for abort decl.
371         * iconvdata/iso-2022-cn-ext.c: Likewise.
373 2001-06-01  Andreas Jaeger  <aj@suse.de>
375         * Versions.def: Add version 2.2.4.
377 2001-06-01  Ulrich Drepper  <drepper@redhat.com>
379         * socket/Makefile (routines): Add sockatmark.
380         * socket/Versions [GLIBC_2.2.4]: Add sockatmark.
381         * socket/sys/socket.h: Add prototype for sockatmark.
382         * sysdeps/generic/sockatmark.c: New file.
383         * sysdeps/unix/sockatmark.c: New file.
385 2001-06-01  Andreas Jaeger  <aj@suse.de>
387         * sysdeps/unix/sysv/linux/speed.c (cfsetispeed): Max speed is
388         B4000000.
389         (cfsetospeed): Likewise.
390         Reported by Lukasz Trabinski <lukasz@lt.wsisiz.edu.pl>.
392 2001-05-31  Joseph S. Myers  <jsm28@cam.ac.uk>
394         * misc/sys/cdefs.h (__restrict_arr): Define to empty for C++.
396 2001-05-30  Martin Schwidefsky  <schwidefsky@de.ibm.com>
398         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: greg_t
399         needs to have the same aligment as the kernel structure.
401 2001-05-29  Jakub Jelinek  <jakub@redhat.com>
403         * sunrpc/rpc/types.h (u_char, u_short, u_int, u_long, quad_t,
404         u_quad_t, fsid_t, daddr_t, caddr_t): Make sure the types are defined.
405         * posix/sys/types.h (u_char, u_short, u_int, u_long, quad_t,
406         u_quad_t, fsid_t, daddr_t, caddr_t): Protect the __USE_BSD typedefs
407         against multiple definition.
409 2001-05-30  Ulrich Drepper  <drepper@redhat.com>
411         * po/da.po: Update from translation team.
413 2001-05-29  Andreas Jaeger  <aj@suse.de>
415         * sysdeps/ieee754/ldbl-128/e_acosl.c: New file, contributed by
416         Stephen L Moshier <moshier@mediaone.net>.
418         * math/libm-test.inc (sinh_test): Add new test case.
420         * sysdeps/ieee754/ldbl_96/e_sinhl.c (__ieee754_sinhl): sinhl(x) =
421         x when x < 2^-32.
422         Patch by Stephen L Moshier <moshier@mediaone.net>.
424 2001-05-23  Andreas Jaeger  <aj@suse.de>
426         * iconvdata/testdata/WINDOWS-1255..UTF-8: Renamed to...
427         * iconvdata/testdata/WINDOWS-1255..UTF8: this.
429 2001-05-27  Andreas Jaeger  <aj@suse.de>
431         * manual/stdio.texi (String Streams): Fix fmemopen description.
432         Reported by Michal Kochanowicz <michal@michal.waw.pl>.
434 2001-05-26  H.J. Lu <hjl@gnu.org>
436         * sysdeps/unix/sysv/linux/mips/syscalls.list: Change sigsuspend
437         to s_sigsuspend. Add s_mmap2.
439         * sysdeps/mips/atomicity.h: New file.
441         * sysdeps/unix/sysv/linux/mips/getsysstats.c: New file.
443         * sysdeps/unix/sysv/linux/mips/bits/ipc.h (ipc_perm): Put
444         back __key.
446 2001-05-25  Bruce Mitchener  <bruce@cubik.org>
448         * manual/ctype.texi: Minor fix.
449         * manual/install.texi: Likewise.
450         * manual/startup.texi: Likewise.
451         * manual/examples/dir.c: Use perror() rather than puts().
453 2001-05-25  David Mosberger  <davidm@hpl.hp.com>
455         * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h: Put stuff following
456         #endif directive inside a comment to avoid compiler warnings.
458 2001-05-25  Philipp Thomas  <pthomas@suse.de>
460         * nis/nis_print.c (nis_nstype2str): Don't mark names of
461         naming services for translation, only UNKNOWN needs it.
462         Add comment to prevent it for the future.
464 2001-05-25  Joseph S. Myers  <jsm28@cam.ac.uk>
466         * misc/sys/cdefs.h (__restrict_arr): Define appropriately for GCC
467         3.1 and non-GCC C99 compilers.
469 2001-05-22  David Mosberger  <davidm@hpl.hp.com>
471         * sysdeps/ia64/memmove.S: Increase MEMLAT from 6 to 21 for better
472         performance.
473         * sysdeps/ia64/memcpy.S: Likewise.
475         * sysdeps/ia64/bcopy.S: New file.
477         * sysdeps/ia64/bzero.S: New file (derived from memset.S).
479 2001-05-26  Ulrich Drepper  <drepper@redhat.com>
481         * sysdeps/ia64/fpu/libm-test-ulps: Add deltas for tanh(-0.7).
483 2001-05-24  Ulrich Drepper  <drepper@redhat.com>
485         * iconvdata/Makefile: Add rules for CP10007.
486         * iconvdata/gconv-modules: Add entries for CP10007 ad MacCyrillic.
487         * iconvdata/cp10007.c: New file.
488         * iconvdata/tst-tables.sh: Add CP10007.
490 2001-05-23  kaz Kojima  <kkojima@rr.iij4u.or.jp>
492         * sysdeps/sh/dl-machine.h (_dl_runtime_resolve): Handle newer PLT.
493         (_dl_runtime_profile): Likewise..
495 2001-05-23  Thorsten Kukuk  <kukuk@suse.de>
497         * sysdeps/posix/getaddrinfo.c: Support for AF_UNIX commented out.
498         * posix/tst-getaddrinfo.c: Remove AF_UNIX test.
500 2001-05-19  H.J. Lu  <hjl@gnu.org>
502         * elf/dl-deps.c (_dl_map_object_deps): Pass objname and
503         errstring of the failed DSO to _dl_signal_error ().
505 2001-05-23  Ulrich Drepper  <drepper@redhat.com>
507         * iconvdata/gconv-modules: Add more aliases to enable use in
508         locale names.
510 2001-05-23  Andreas Jaeger  <aj@suse.de>
512         * sysdeps/unix/sysv/linux/ia64/Makefile (CFLAGS-initfini.s):
513         Remove, it's not used anywhere anymore.
514         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile
515         (CFLAGS-initfini.s): Likewise.
516         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile
517         (CFLAGS-initfini.s): Likewise.
518         * sysdeps/unix/sysv/linux/powerpc/Makefile (CFLAGS-initfini.s):
519         Likewise.
520         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-initfini.s):
521         Likewise.
523 2001-05-21  Bruno Haible  <haible@clisp.cons.org>
525         * wcsmbs/mbrtowc.c (mbrtowc): Remove local variable 'flush', always
526         use 0 instead, and rely on the converter to do the flush.
527         * wcsmbs/tst-mbrtowc.c (utf8_test_1): New function, taken from
528         utf8_test.
529         (utf8_test_2, utf8_test_3): New function.
530         (utf8_test): Call utf8_test_1, utf8_test_2, utf8_test_3.
532 2001-05-22  Jakub Jelinek  <jakub@redhat.com>
534         * elf/dl-close.c (_dl_close): Save imap->l_reldeps, not map->l_reldeps.
536         * elf/Makefile (distribute): Add reldep4mod[1234].c.
537         (tests): Add reldep4.
538         (modules-names): Add reldep4mod[1234].
539         (reldep4mod1.so, reldep4mod2.so, reldep4, reldep4.out): New rules.
540         * elf/reldep4.c: New file.
541         * elf/reldep4mod1.c: Likewise.
542         * elf/reldep4mod2.c: Likewise.
543         * elf/reldep4mod3.c: Likewise.
544         * elf/reldep4mod4.c: Likewise.
546 2001-05-18  Jakub Jelinek  <jakub@redhat.com>
548         * elf/dl-lookup.c (PROTECTED): Remove defines.
549         (add_dependency): Mark it with internal_function.
550         (_dl_do_lookup, _dl_do_lookup_versioned): New functions.
551         (_dl_lookup_symbol, _dl_lookup_symbol_skip,
552         _dl_lookup_versioned_symbol, _dl_lookup_versioned_symbol_skip): Use
553         it if we don't want do_lookup* inlined.
555 2001-05-18  Jakub Jelinek  <jakub@redhat.com>
557         * include/link.h (struct r_scope_elem): Remove r_duplist and
558         r_nduplist fields.
559         * elf/dl-load.c (_dl_map_object_from_fd): Don't initialize them.
560         * elf/dl-lookup.c (_dl_lookup_symbol_skip): Look in r_list, not
561         r_duplist.
562         (_dl_lookup_versioned_symbol_skip): Likewise.
563         * elf/dl-deps.c (struct list): Remove dup field, rename unique to next.
564         (_dl_map_object_deps): Don't compute duplicate list.
566         * elf/dl-symbol.c: Removed.
567         * elf/Makefile (routines): Remove dl-symbol.
569 2001-05-22  Ulrich Drepper  <drepper@redhat.com>
571         * po/el.po: Update from translation team.
572         * po/sv.po: Likewise.
574 2001-05-20  Bruno Haible  <haible@clisp.cons.org>
576         * iconvdata/cp1255.c: Completely rewritten.
577         * iconvdata/Makefile (gen-8bit-gap-modules): Remove cp1255.
578         * iconvdata/testdata/WINDOWS-1255: New file.
579         * iconvdata/testdata/WINDOWS-1255..UTF8: New file.
580         * iconvdata/TESTS: Add WINDOWS-1255 test.
581         * iconvdata/CP1255.irreversible: New file.
583 2001-05-20  Bruno Haible  <haible@clisp.cons.org>
585         * iconvdata/cp1258.c: Completely rewritten.
586         * iconvdata/Makefile (gen-8bit-gap-modules): Remove cp1258.
587         * iconvdata/testdata/WINDOWS-1258: New file.
588         * iconvdata/testdata/WINDOWS-1258..UTF8: New file.
589         * iconvdata/TESTS: Add WINDOWS-1258 test.
590         * iconvdata/tst-table-from.c (try): Reset the iconv descriptor before
591         the main call, and flush it afterwards.
592         (utf8_decode): Return a string, possibly containing several Unicode
593         characters.
594         (main): Update all utf8_decode calls.
595         * iconvdata/CP1258.irreversible: New file.
597 2001-05-20  Bruno Haible  <haible@clisp.cons.org>
599         * iconv/gconv.c (__gconv): For flush without output, pass do_flush = 2.
600         * iconv/skeleton.c: Distinguish do_flush = 1 and do_flush = 2. In the
601         first case, set outbuf, outstart, outend, and call PREPARE_LOOP before
602         EMIT_SHIFT_TO_INIT; then pass the output produced by this step down to
603         the next step. In the second case, clear the state without calling
604         EMIT_SHIFT_TO_INIT.
605         * iconvdata/ibm930.c (EMIT_SHIFT_TO_INIT): Use outbuf instead of
606         data->__outbuf, and outend instead of data->__outbufend.
607         * iconvdata/ibm933.c (EMIT_SHIFT_TO_INIT): Likewise.
608         * iconvdata/ibm935.c (EMIT_SHIFT_TO_INIT): Likewise.
609         * iconvdata/ibm937.c (EMIT_SHIFT_TO_INIT): Likewise.
610         * iconvdata/ibm939.c (EMIT_SHIFT_TO_INIT): Likewise.
611         * iconvdata/iso-2022-cn.c (EMIT_SHIFT_TO_INIT): Likewise.
612         * iconvdata/iso-2022-cn-ext.c (EMIT_SHIFT_TO_INIT): Likewise.
613         * iconvdata/iso-2022-jp.c (EMIT_SHIFT_TO_INIT): Likewise.
614         * iconvdata/iso-2022-kr.c (EMIT_SHIFT_TO_INIT): Likewise.
615         * iconvdata/utf-7.c (EMIT_SHIFT_TO_INIT): Likewise.
617 2001-05-21  Jakub Jelinek  <jakub@redhat.com>
619         * elf/rtld.c (dl_main): Compute l_map_end for the main program.
620         * elf/dl-sym.c (_dl_sym): Don't check for l_addr == 0.
621         If match == _dl_loaded, caller can still come from the main program.
622         (_dl_vsym): Likewise.
623         * elf/dl-open.c (dl_open_worker): Don't check for l_addr == 0.
624         * elf/dl-error.c (_dl_signal_error): Change NULL objname into "".
625         * elf/restest2.c: New test.
626         * elf/Makefile (tests): Add restest2.
627         (restest2, LDFLAGS-restest2): Add rules.
629 2001-05-22  Ulrich Drepper  <drepper@redhat.com>
631         * intl/Makefile: Add a few more dependencies to avoid races in the
632         test shell scripts.
634 2001-05-22  Andreas Jaeger  <aj@suse.de>
636         * sysdeps/ieee754/ldbl-128/s_log1pl.c: New file, contributed by
637         Stephen L Moshier <moshier@mediaone.net>.
639 2001-05-22  Martin Schwidefsky  <schwidefsky@de.ibm.com>
641         * sysdeps/s390/s390-32/backtrace.c: Make backtrace return the
642         return addresses instead of the stack pointers.
643         * sysdeps/s390/s390-64/backtrace.c: Likewise.
645 2001-05-21  Jakub Jelinek  <jakub@redhat.com>
647         * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Include
648         bits/sigcontext.h instead of bits/sigstack.h.
649         * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h: Add
650         multiple-inclusion guards.
652 2001-05-21  Andreas Jaeger  <aj@suse.de>
654         * locale/programs/ld-collate.c (handle_ellipsis): Fix message.
655         Patch by Philipp Thomas <pthomas@suse.de>.
657 2001-05-17  Bruce Mitchener  <bruce@cubik.org>
659         * manual/arpg.texi: Spelling, misc fixes.
660         * manual/arith.texi: Likewise.
661         * manual/crypt.texi: Likewise.
662         * manual/debug.texi: Likewise.
663         * manual/getopt.texi: Likewise.
664         * manual/intro.texi: Likewise.
665         * manual/memory.texi: Likewise.
666         * manual/nss.texi: Likewise.
667         * manual/pattern.texi: Likewise.
668         * manual/process.texi: Likewise.
669         * manual/resource.texi: Likewise.
670         * manual/search.texi: Likewise.
671         * manual/setjmp.texi: Likewise.
672         * manual/signal.texi: Likewise.
673         * manual/socket.texi: Likewise.
674         * manual/stdio.texi: Likewise.
675         * manual/string.texi: Likewise.
676         * manual/sysinfo.texi: Likewise.
677         * manual/terminal.texi: Likewise.
678         * manual/llio.texi: Document madvise().
680 2001-05-20  Roland McGrath  <roland@frob.com>
682         * Makeconfig (sysdep-makeconfigs): Include any Makeconfig files
683         found within $(add-ons) directories too.
684         [linuxthreads add-on]: Move variable settings for linuxthreads
685         to new file linuxthreads/Makeconfig.
687 2001-05-20  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
689         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_STD_AUXV):
690         Define for linux >= 2.4.5 on powerpc.
691         (__ASSUME_MMAP2_SYSCALL): Likewise.
693 2001-05-19  Roland McGrath  <roland@frob.com>
695         * hurd/hurdlookup.c (__hurd_file_name_lookup_retry): Don't leak the
696         result port when failing with ELOOP.  Do the ELOOP check when
697         following an absolute symlink target as well as relative.
698         Remove #ifdef SYMLOOP_MAX conditional--it should always be defined.
700 2001-05-18  Andreas Jaeger  <aj@suse.de>
702         * po/fr.po: Free software is "logiciel libre".
703         Patch by Martin Michlmayr <tbm@cyrius.com>.
705         * sysdeps/powerpc/elf/libc-start.c: Use __cxa_atexit.
706         Patch by ekato@ees.hokudai.ac.jp, closes PR libc/2271.
708 2001-05-17  David Mosberger  <davidm@hpl.hp.com>
710         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: New file.
712 2001-05-17  Ulrich Drepper  <drepper@redhat.com>
714         * elf/dl-profile.c (_dl_mcount): Check whether state is
715         GMON_PROF_ON before doing anything.
717 2001-05-17  H.J. Lu  <hjl@gnu.org>
719         * elf/sprof.c (read_symbols): Move "++symtab" into the while loop.
721 2001-05-17  Ulrich Drepper  <drepper@redhat.com>
723         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Use
724         CHECK_SIGSET_NULL_OK and not CHECK_SIGSET for all parameters.
725         Reported by Mark Burton <markb@ordern.com>.
727 2001-05-17  Jakub Jelinek  <jakub@redhat.com>
729         * elf/ldconfig.c (add_dir): Only warn about stat failure if
730         opt_verbose.
731         (search_dir): Likewise.
733 2001-05-17  Ulrich Drepper  <drepper@redhat.com>
735         * sysdeps/i386/i486/atomicity.h (exchange_and_add): Correct second
736         parameter of xaddl.  Patch by H . J . Lu <hjl@lucon.org>.
738 2001-05-14  Bruno Haible  <haible@clisp.cons.org>
740         * iconvdata/iso-2022-cn-ext.c (BODY for FROM_LOOP): If SO is seen
741         without previous announcement, reject it regularly, don't abort.
743 2001-05-16  Ulrich Drepper  <drepper@redhat.com>
745         * math/tgmath.h: Fix handling of int parameters to binary and
746         ternary functions.  Reported by mitr@volny.cz.
748         * math/test-tgmath.c: Add tests for calls with integer parameters.
750 2001-05-15  Jakub Jelinek  <jakub@redhat.com>
752         * sunrpc/rpc_thread.c (rpc_default): Remove.
753         (__rpc_thread_destroy): Use __libc_tsd_RPC_VARS_mem instead of
754         rpc_default.
755         (rpc_thread_multi, __rpc_thread_svc_fdset, __rpc_thread_createerr,
756         __rpc_thread_svc_pollfd, __rpc_thread_svc_max_pollfd): Likewise.
757         * sunrpc/auth_none.c (authnone_private): Fix a typo.
759 2001-05-16  Martin Schwidefsky  <schwidefsky@de.ibm.com>
761         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Fix stack allocation.
763 2001-05-16  Bruce Mitchener  <bruce@cubik.org>
765         * manual/llio.texi: Many grammar and typo fixes to the section on AIO.
767 2001-05-15  Andreas Jaeger  <aj@suse.de>
769         * sysdeps/ieee754/ldbl-128/s_expm1l.c: New file, contributed by
770         Stephen L Moshier <moshier@mediaone.net>.
772         * sysdeps/i386/fpu/libm-test-ulps: Adjust for change.
774         * math/libm-test.inc: Add comment with ToDo.
776         * sysdeps/i386/fpu/e_expl.c: Rewritten to C and using a more
777         accurate algorithm.  Patch by Stephen L Moshier <moshier@mediaone.net>.
779         * sysdeps/i386/fpu/e_expl.S: Removed.
781 2001-05-14  Roland McGrath  <roland@frob.com>
783         * csu/Makefile ($(objpfx)g$(start-installed-name)): Turn this into a
784         static pattern rule also that also covers
785         $(objpx)g$(static-start-installed-name).
786         [$(start-installed-name) != $(static-start-installed-name)]
787         (extra-objs, omit-deps, install-lib): Add
788         $(static-start-installed-name) and g$(static-start-installed-name).
789         * sysdeps/mach/hurd/i386/Makefile: Don't add crt0.o to those here;
790         just setting static-start-installed-name is now sufficient.
791         (extra-objs): Add static-start.o here.
792         (CFLAGS-initfini.s): Remove obsolete variable.
793         * sysdeps/mach/hurd/i386/Makeconfig: New file.
794         Define static-start-installed-name here.
796         * Makeconfig: Include existing $(full_config_sysdirs:=/Makeconfig).
797         * Make-dist (+sysdep-tsrcs): Look for Makeconfig files.
799         * Makerules ($(+sysdir_pfx)sysd-Makefile): Remove this target and
800         associated hair.  Instead, just use $(wildcard ...) in the include.
802         * configure.in (critic_missing, aux_missing): Collect in these vars
803         the names of the missing programs, and include them in the error msgs.
804         * configure: Regenerated.
806 2001-05-14  Andreas Jaeger  <aj@suse.de>
808         * sysdeps/i386/fpu/libm-test-ulps: Adjust for new tests.
810         * math/libm-test.inc (tanh_test): Add testcases for last tanh bug.
812 2001-05-14  Stephen L Moshier <moshier@mediaone.net>
814         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Fix sign test.
816 2001-05-11  Jakub Jelinek  <jakub@redhat.com>
818         * posix/regex.c (re_match_2_internal): Swap mbs_offset and csize
819         as well if swapping strings.
820         Make sure stop is not past end of second string.
821         * posix/bug-regex4.c: New test.
822         * posix/Makefile (tests): Add bug-regex4.
824 2001-05-10  Andreas Jaeger  <aj@suse.de>
826         * manual/install.texi (Linux): Clarify that Linux 2.2 is minimal
827         requirement.
829 2001-05-12  Andreas Jaeger  <aj@suse.de>
831         * sysdeps/ieee754/dbl-64/s_sin.c: Include "math_private.h" for
832         internal prototypes.
833         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
834         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
835         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
836         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
837         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
838         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
839         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
841         * math/math_private.h: Add prototypes for internal functions of
842         the IBM Accurate Mathematical Library.
844         * sysdeps/ieee754/dbl-64/s_atan.c: Include "math.h" for
845         prototypes.
846         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
848         * sysdeps/ieee754/dbl-64/e_asin.c: Include "math_private.h" for
849         internal prototypes.
850         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
851         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
852         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
853         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
854         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
855         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
856         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
857         * sysdeps/generic/e_rem_pio2l.c: Likewise.
858         (__ieee754_rem_pio2l): Fix prototype.
860         * math/math_private.h (__copysign): Add internal prototype.
862 2001-05-11  Andreas Jaeger  <aj@suse.de>
864         * sysdeps/unix/sysv/linux/configure.in: Move binutils check to...
865         * sysdeps/unix/sysv/linux/mips/configure.in: ...here.  New file.
867 2001-05-11  Andreas Jaeger  <aj@suse.de>
869         * sysdeps/unix/sysv/linux/configure.in: Check binutils version on
870         MIPS.
872         * sysdeps/mips/rtld-ldscript.in: Removed unneeded binary output
873         format directive.  Patch by Steven J. Hill <sjhill@cotw.com>.
875 2001-05-11  Roland McGrath  <roland@frob.com>
877         * sysdeps/mach/hurd/Makefile ($(link-rpcuserlibs)): Don't use
878         $(build-module) here, since we don't need the full magilla.
879         Just use $(build-module-helper) and append our special options.
881 2001-05-09  Andreas Schwab  <schwab@suse.de>
883         * sysdeps/unix/readdir.c: Make sure we don't modify errno when we
884         reached EOF.
886 2001-05-07  H.J. Lu  <hjl@gnu.org>
888         * elf/ldconfig.c (dir_entry): Add ino and dev.
889         (add_single_dir): Compare ino and dev to check if 2 directory
890         paths are the same or not. Free entry->path for duplicates.
891         (add_dir): Initialize ino and dev for entry.
892         (search_dir): Handle symlink to directory.
894 2001-05-07  Andreas Jaeger  <aj@suse.de>
896         * sysdeps/i386/fpu/libm-test-ulps: Add ulps for new exp tests.
898         * math/libm-test.inc (exp_test): Add some more tests.
899         (pow_test): Run double only test also for long double.
901         * math/test-ldouble.c (TEST_LDOUBLE): Define.
902         * math/test-ildoubl.c (TEST_LDOUBLE): Likewise.
904         * sysdeps/generic/bits/confname.h: Remove extra comma at end of
905         enumeration.
906         Closes PR libc/2240.
908         * scripts/config.guess: Imported from gnu.org.
909         * scripts/config.sub: Likewise.
911 2001-05-05  Jakub Jelinek  <jakub@redhat.com>
913         * include/features.h (__USE_EXTERN_INLINES): Don't define if
914         __NO_INLINE__ is defined.
915         * ctype/ctype.h (tolower, toupper): Change the guard condition to
916         __USE_EXTERN_INLINES check only.
917         * stdlib/stdlib.h (strtod, ...): Likewise.
918         * wcsmbs/wchar.h (mbrlen): Likewise.
919         * string/string.h: Only include bits/string.h and bits/string2.h
920         if __NO_INLINE__ is not defined.
922 2001-05-07  Andreas Jaeger  <aj@suse.de>
924         * debug/Makefile ($(objpfx)xtrace): Substitute @SLIBDIR@ instead
925         of @LIBDIR@.
927 2001-05-04  H.J. Lu  <hjl@gnu.org>
929         * malloc/Makefile ($(objpfx)memusage): Substitute @SLIBDIR@
930         not @LIBDIR@.
932 2001-05-06  Andreas Jaeger  <aj@suse.de>
934         * sysdeps/i386/fpu/e_fmodl.c: New, rewrite of e_fmodl.S.
935         * sysdeps/i386/fpu/e_fmodl.S: Removed.
936         * sysdeps/i386/fpu/e_atan2l.c: New, rewrite of e_atan2l.S.
937         * sysdeps/i386/fpu/e_atan2l.S: Removed.
938         * sysdeps/i386/fpu/e_acosl.c: New, rewrite of e_acos.S.
939         * sysdeps/i386/fpu/s_atanl.c: New, rewrite of e_atanl.S.
940         * sysdeps/i386/fpu/e_sqrtl.c: New, rewrite of e_sqrt.S.
941         * sysdeps/i386/fpu/e_acosl.S: Removed.
942         * sysdeps/i386/fpu/s_atanl.S: Removed.
943         * sysdeps/i386/fpu/e_sqrtl.S: Removed.
945 2001-05-05  Mark Kettenis  <kettenis@gnu.org>
947         * sysdeps/mach/hurd/bits/environments.h: Add comment from
948         sysdeps/generic/bits/environments.h.  Define _POSIX_V6_* values.
950 2001-04-30  Jakub Jelinek  <jakub@redhat.com>
952         * posix/confstr.c (confstr) [_CS_V6_WIDTH_RESTRICTED_ENVS]: Move so
953         that _CS_LFS_CFLAGS can fall through to the empty returned string
954         case.  Add FALLTHROUGH comment.
956 2001-04-29  Ralf Baechle  <ralf@gnu.org>
958         * sysdeps/unix/sysv/linux/mips/bits/sem.h: Make structure
959         definitions match the kernel definitions.
960         * sysdeps/unix/sysv/linux/mips/bits/ipc.h: Likewise.
961         * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
963 2001-04-29  Ben Collins  <bcollins@debian.org>
965         * sysdeps/sparc/sparc64/dl-machine.h: Fix multiline strings
966         warnings.
967         * sysdeps/sparc/sparc64/soft-fp/qp_add.c: Likewise.
968         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
969         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
970         * sysdeps/sparc/sparc64/soft-fp/qp_div.c: Likewise.
971         * sysdeps/sparc/sparc64/soft-fp/qp_dtoq.c: Likewise.
972         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
973         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
974         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
975         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
976         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
977         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
978         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
979         * sysdeps/sparc/sparc64/soft-fp/qp_qtod.c: Likewise.
980         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
981         * sysdeps/sparc/sparc64/soft-fp/qp_qtos.c: Likewise.
982         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
983         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
984         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
985         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
986         * sysdeps/sparc/sparc64/soft-fp/qp_sqrt.c: Likewise.
987         * sysdeps/sparc/sparc64/soft-fp/qp_stoq.c: Likewise.
988         * sysdeps/sparc/sparc64/soft-fp/qp_sub.c: Likewise.
989         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
991 2001-04-29  Andreas Schwab  <schwab@suse.de>
993         * sysdeps/unix/sysv/linux/kernel-features.h: Fix missing backslash
994         in last change.
996 2001-04-29  Andreas Jaeger  <aj@suse.de>
998         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
999         Define for Arm, PowerPC and SH if kernel is 2.4.4 or newer.
1001         * sysdeps/unix/sysv/linux/bits/socket.h (PF_WANPIPE): New, from
1002         Linux 2.4.4.
1003         (AF_WANPIPE): Likewise.
1004         (MSG_MORE): New.
1006         * sysdeps/unix/sysv/linux/alpha/bits/socket.h: Add same changes as
1007         for Linux generic version.
1008         * sysdeps/unix/sysv/linux/s390/s390-64/bits/socket.h: Likewise.
1009         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
1010         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
1011         * sysdeps/unix/sysv/linux/ia64/bits/socket.h: Likewise.
1013         * sysdeps/gnu/netinet/tcp.h (TCP_QUICKACK): New.
1015 2001-04-27  Ulrich Drepper  <drepper@redhat.com>
1017         * nis/nss-nis.h: Correct test for invalid error number.
1018         * nis/nss-nisplus.h: Likewise.
1020         * nis/Makefile (libnss_compat-rountines): Add nss-nisplus.
1022 2001-04-26  Ulrich Drepper  <drepper@redhat.com>
1024         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add getunwind.
1026         * string/strcoll.c: Fix two memory allocation problems.
1027         * string/Makefile (tests): Add bug-strcoll1.
1028         * string/bug-strcoll1.c: New file.
1030         * malloc/mcheck.c (mcheck): Call malloc once before setting the
1031         hooks to allow the internal check hooks to be set up if necessary.
1033         * nis/nss-nis.h: Move yperr2nss_tab definition into separate file
1034         and rename to __yperr2nss_tab.  Change YPERR_COUNT into variable
1035         __yperr2nss_count.
1036         * nis/nss-nis.c: New file.
1037         * nis/nss-nisplus.h: Move niserr2nss_tab definition into separate file
1038         and rename to __niserr2nss_tab.  Change NISERR_COUNT into variable
1039         __niserr2nss_count.
1040         * nis/nss-nisplus.c: New file.
1041         * nis/Makefile (libnss_compat-routines): Add nss-nis.
1042         (libnss_nis-routines): Likewise.
1043         (libnss_nisplus-routines): Add nss-nisplus.
1045         * nis/nss_nisplus/nisplus-alias.c: Remove unnecessary initializations.
1046         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
1047         * nis/nss_nisplus/nisplus-grp.c: Likewise.
1048         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
1049         * nis/nss_nisplus/nisplus-network.c: Likewise.
1050         * nis/nss_nisplus/nisplus-proto.c: Likewise.
1051         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
1052         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
1053         * nis/nss_nisplus/nisplus-service.c: Likewise.
1054         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
1055         * nis/nss_nis/nis-alias.c: Likewise.
1056         * nis/nss_nis/nis-ethers.c: Likewise.
1057         * nis/nss_nis/nis-grp.c: Likewise.
1058         * nis/nss_nis/nis-network.c: Likewise.
1059         * nis/nss_nis/nis-proto.c: Likewise.
1060         * nis/nss_nis/nis-pwd.c: Likewise.
1061         * nis/nss_nis/nis-spwd.c: Likewise.
1062         * nis/nss_compat/compat-grp.c: Likewise.
1063         * nis/nss_compat/compat-initgroups.c: Likewise.
1064         * nis/nss_compat/compat-pwd.c: Likewise.
1065         * nis/nss_compat/compat-spwd.c: Likewise.
1067         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Some more
1068         optimizations.  Patch by Jakub Jelinek <jakub@redhat.com>.
1070 2001-04-26  Andreas Jaeger  <aj@suse.de>
1072         * po/zh_TW.po: Update.
1073         Patch by Tung-Han Hsieh <thhsieh@tlug.sinica.edu.tw>.
1075 2001-04-25  Ulrich Drepper  <drepper@redhat.com>
1077         * malloc/malloc.c: Allow MALLOC_ALIGNMENT to be defined on the
1078         compiler command line.
1079         * sysdeps/hppa/Makefile: Add -DMALLOC_ALIGNMENT=16 to compiler
1080         command line for malloc.c.
1082 2001-04-25  Jakub Jelinek  <jakub@redhat.com>
1084         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/time.h: Move to...
1085         * sysdeps/unix/sysv/linux/sparc/bits/time.h: ...here.
1086         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/bits/time.h: Remove.
1087         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/socket.h: Move to...
1088         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: ...here.  Adjust
1089         struct msghdr for __WORDSIZE == 32.
1090         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/statvfs.h: Move to...
1091         * sysdeps/unix/sysv/linux/sparc/bits/statvfs.h: ...here. Adjust
1092         for __WORDSIZE == 32.
1093         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/siginfo.h: Remove.
1094         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/get_clockfreq.c: New
1095         file.
1096         * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S (__libc_siglongjmp):
1097         Rename from longjmp, make longjmp weak alias to it.
1099 2001-04-24  David S. Miller  <davem@redhat.com>
1101         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: New file.
1103 2001-04-25  Matthew Wilcox  <willy@ldl.fc.hp.com>
1105         * sysdeps/hppa/stackinfo.h: New file.
1106         * sysdeps/unix/sysv/linux/hppa/getdents64.c: New file.
1107         * sysdeps/unix/sysv/linux/hppa/mmap64.c: New file.
1108         * sysdeps/unix/sysv/linux/hppa/bits/resource.h: New file.
1109         * sysdeps/unix/sysv/linux/kernel-features.h: Add descriptions
1110         of PA kernel features.
1112 2001-04-25  Ulrich Drepper  <drepper@redhat.com>
1114         * locale/programs/localedef.c (main): Always set a file name for
1115         the initial locale.
1116         * locale/programs/locfile.c (locfile_read): filename is allowed to
1117         be NULL.
1119 2001-04-12  Paul Bame  <paul_bame@hp.com>
1121         * sysdeps/hppa/fpu/fclrexcpt.c: Clear the exception flags, not the
1122         enable flags.
1124 2001-04-24  Ulrich Drepper  <drepper@redhat.com>
1126         * sysdeps/generic/bits/environments.h (_POSIX_V6_LPBIG_OFFBIG,
1127         _XBS5_LPBIG_OFFBIG): Define to -1.
1128         Fix typos.
1130         * sysdeps/generic/bits/confname.h: Add _CS_V6_WIDTH_RESTRICTED_ENVS.
1131         * posix/confstr.c: Handle _CS_V6_WIDTH_RESTRICTED_ENVS.
1132         * posix/getconf.c: Handle _POSIX_V6_WIDTH_RESTRICTED_ENVS.
1133         * posix/tst-getconf.sh: Add _POSIX_V6_WIDTH_RESTRICTED_ENVS.
1135         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9b/Implies: New file.
1136         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9b/bits/time.h: Removed.
1138 2001-03-21  Alan Modra  <alan@one.net.au>
1140         * sysdeps/hppa/dl-machine.h (RTLD_START): Set up dp with DT_PLTGOT
1141         value from application so that constructors in non-PIC libs work.
1143 2000-12-13  Jes Sorensen  <jes@linuxcare.com>
1145         * sysdeps/hppa/dl-machine.h (RTLD_START): _dl_init now returns a
1146         function pointer, hence load the jump address and gp from the
1147         function pointer before jumping.
1149 2001-04-24  Andreas Jaeger  <aj@suse.de>
1151         * sysdeps/generic/send.c (__send): Return ssize_t.
1152         * sysdeps/mach/hurd/send.c (__send): Likewise.
1153         * sysdeps/mach/hurd/recv.c (recv): Likewise.
1154         * sysdeps/mach/hurd/sendto.c (sendto): Likewise.
1155         * sysdeps/generic/sendto.c (sendto): Likewise.
1156         * sysdeps/generic/recvmsg.c (recvmsg): Likewise.
1157         * sysdeps/mach/hurd/recvfrom.c (recvfrom): Likewise.
1158         * sysdeps/generic/recvfrom.c (recvfrom): Likewise.
1159         * sysdeps/generic/sendmsg.c (sendmsg): Likewise.
1161         * socket/sys/socket.h: send* and recv* return ssize_t.
1163         * include/sys/socket.h: send returns ssize_t.
1165         * sysdeps/i386/fpu_control.h: Fix comments.
1167 2001-04-24  Ulrich Drepper  <drepper@redhat.com>
1169         * sysdeps/ia64/Dist: Add hp-timing.c.
1170         * sysdeps/unix/sysv/linux/sparc/sparc64/Dist: Add ucontext_i.h.
1171         * posix/Makefile (distribute): Add tst-getconf.sh.
1172         * po/Makefile (distribute): Add $(BROKEN_LINGUAS:=.po).
1174 2001-04-23  Ulrich Drepper  <drepper@redhat.com>
1176         * sysdeps/ia64/Makefile [subdir=csu] (sysdep_routines): Add hp-timing.
1177         * sysdeps/ia64/Versions: Add _dl_cpuclock_offset for ld in 2.2.3.
1178         * sysdeps/ia64/hp-timing.c: New file.
1179         * sysdeps/ia64/hp-timing.h: New file.
1180         * sysdeps/unix/sysv/linux/ia64/bits/time.h: Add definitions for
1181         CLOCK_PROCESS_CPUTIME_ID and CLOCK_THREAD_CPUTIME_ID.
1183         * sysdeps/generic/clock_getcpuclockid.c: Make function generic, test
1184         using #ifdef whether the clock is available.
1185         * sysdeps/unix/i386/clock_getcpuclockid.c: Not needed anymore.
1187         * sysdeps/generic/dl-sysdep.c: Initialize _dl_cpuclock_offset to move
1188         it into data section.
1190         * sysdeps/unix/i386/i586/clock_getres.c: Removed.
1191         * sysdeps/unix/i386/i586/clock_gettime.c: Removed.
1192         * sysdeps/unix/i386/i586/clock_nanosleep.c: Removed.
1193         * sysdeps/unix/i386/i586/clock_settime.c: Removed.
1194         * sysdeps/unix/i386/i586/cpuclock-init.h: Removed.
1195         * sysdeps/generic/cpuclock-init.h: Removed.
1196         * sysdeps/unix/i386/i686/Implies: Removed.
1197         * sysdeps/unix/i386/i686/tempname.c: Removed.
1198         * sysdeps/i386/i686/Versions: New file.
1199         * sysdeps/unix/i386/i586/Versions: Removed.
1201         * sysdeps/posix/clock_getres.c: If HP_TIMING_AVAIL is nonzero handle
1202         CLOCK_PROCESS_CPUTIME_ID and CLOCK_THREAD_CPUTIME_ID.
1203         * sysdeps/unix/clock_gettime.c: Likewise.
1204         * sysdeps/unix/clock_nanosleep.c: Likewise.
1205         * sysdeps/unix/clock_settime.c: Likewise.
1206         * sysdeps/posix/tempname.c: Is HP_TIMING_AVAIL is nonzero define
1207         RANDOM_BITS use CPU clock.
1209         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/bits/time.h: New file.
1210         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9b/bits/time.h: New file.
1211         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/time.h: New file.
1212         * sysdeps/sparc/Versions: New file.
1214         * elf/dl-support.c: Don't use cpuclock-init.h definitions, use
1215         hp-timing.h definitions.
1216         * sysdeps/generic/dl-sysdep.c: Likewise.
1218         * include/libc-internal.h: Include hp-timing.h.  Use hp_timing_t in
1219         __get_clockfreq prototype.
1221         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
1222         Use hp_timing_t type.
1223         * sysdeps/generic/get_clockfreq.c (__get_clockfreq): Likewise.
1225         * sysdeps/unix/sysv/linux/ia64/get_clockfreq.c: New file.
1227         * sysdeps/posix/pathconf.c (__pathconf): For _PC_ASYNC_IO test
1228         whether named file is a regular file or a block device.
1229         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
1231 2001-04-23  Andreas Jaeger  <aj@suse.de>
1233         * nscd/nscd.h: Add noreturn attribute for start_threads.
1235 2001-04-22  Ulrich Drepper  <drepper@redhat.com>
1237         * posix/getconf.c: Fix names of XBS5 LFS test variables.
1238         Add missing configuration variables from XPG6.
1239         * posix/tst-getconf.c: New file.
1240         * posix/Makefile (generated): Add tst-getconf.out.
1241         (tests): Add ($objpfx)tst-getconf.out.
1242         Add rule to run tst-getconf.sh.
1243         * sysdeps/generic/bits/confname.h: Add missing _PC_ and _SC_ values
1244         from XPG6.
1245         * sysdeps/posix/fpathconf.c: Add handling of _PC_ALLOC_SIZE_MIN and
1246         _PC_SYMLINK_MAX.
1247         * sysdeps/posix/pathconf.c: Likewise.
1248         * sysdeps/posix/sysconf.c: Correct spelling of _SC_MULTI_PROCESS
1249         and _SC_SYMLOOP_MAX.
1251 2001-04-22  Philip Blundell  <philb@gnu.org>
1253         * sysdeps/arm/fpu/feenablxcpt.c: New file.
1254         * sysdeps/arm/fpu/fedisablxcpt.c: New file.
1255         * sysdeps/arm/fpu/fegetexcpt.c: New file.
1257 2001-04-22  Philip Blundell  <philb@gnu.org>
1259         * sysdeps/unix/sysv/linux/arm/sys/user.h (struct user_fpregs):
1260         Renamed from struct user_fp.
1261         (struct user_regs): New.
1262         (struct user): Use struct user_regs rather than struct pt_regs to
1263         avoid dependency on asm/ptrace.h.  Use struct user_fpregs in place
1264         of struct user_fp and struct user_fp_struct.
1265         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Include sys/procfs.h
1266         not sys/elf.h.
1268 2001-04-22  Philip Blundell  <philb@gnu.org>
1270         * sysdeps/unix/sysv/linux/arm/sys/elf.h: Move contents to
1271         sys/procfs.h, and tell the user to include that file instead.
1272         * sysdeps/unix/sysv/linux/arm/sys/procfs.h: Remove old cruft
1273         surrounded with #if 0.
1274         (elf_greg_t, ELF_NGREG, elf_gregset_t, elf_fpregset_t): Moved here
1275         from sys/elf.h.
1276         (prgregset_t, prfpregset_t): Define in terms of elf_gregset_t and
1277         elf_fpregset_t respectively.
1279 2001-04-22  Philip Blundell  <philb@gnu.org>
1281         * sysdeps/unix/sysv/linux/arm/register-dump.h: Also print the
1282         address that faulted.
1284 2001-04-21  Ulrich Drepper  <drepper@redhat.com>
1286         * sysdeps/generic/bits/confname.h: Add _SC_V6_* and _CS_POSIX_V6_*
1287         values.
1288         * sysdeps/generic/bits/environments.h: Define _POSIX_V6_* values.
1289         * posix/confstr.c: Handle _CS_POSIX_V6_* values.
1290         * posix/getconf.c: Handle _CS_POSIX_V6_* and _SC_V6_* values.
1291         * sysdeps/posix/sysconf.c: Handle _SC_V6_* values.
1293         * sysdeps/powerpc/fpu/libm-test-ulps: Add deltas for atan2f.
1294         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
1295         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
1296         * sysdeps/mips/fpu/libm-test-ulps: Likewise.
1298 2001-04-21  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
1300         * sysdeps/unix/sysv/linux/powerpc/mmap64.c: Correct check for invalid
1301         offset.
1303 2001-04-21  Ulrich Drepper  <drepper@redhat.com>
1305         * posix/getopt.h: Treat __cplusplus like __STDC__.
1307 2001-04-20  John S. Marvin  <jsm@fc.hp.com>
1309         * sysdeps/unix/sysv/linux/hppa/clone.S: Fix clone system call
1310         entry point stub.
1312 2001-04-20  Richard Hirst  <rhirst@linuxcare.com>
1314         * elf/elf.h: Corrected R_PARISC_DIR14R (should be 6, not 5),
1315         and added R_PARISC_DPREL21L and R_PARISC_DPREL14R for modutils.
1317         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Removed ptrace
1318         entry so the ptrace.c wrapper is used.
1320 2001-04-20  Alan Modra  <amodra@one.net.au>
1322         * sysdeps/hppa/dl-lookupcfg.h (_dl_function_address): Prototype.
1323         (DL_FUNCTION_ADDRESS): Define.
1324         (DL_DT_INIT_ADDRESS): Define.
1325         (DL_DT_FINI_ADDRESS): Define.
1326         * sysdeps/hppa/Versions: Add _dl_function_address.
1327         * sysdeps/hppa/dl-machine.h (ELF_MACHINE_START_ADDRESS): Define.
1328         * sysdeps/hppa/dl-symaddr.c (_dl_start_address): Rename to
1329         _dl_function_address.
1331 2001-04-21  Andreas Jaeger  <aj@suse.de>
1333         * rt/aio_misc.c (handle_fildes_io): Add noreturn attribute.
1334         * resolv/gai_misc.c (handle_requests): Likewise.
1335         * malloc/obstack.c (print_and_abort): Likewise.
1336         * malloc/mcheck.c (mabort): Likewise.
1338         * sysdeps/unix/i386/i586/clock_settime.c: Include
1339         "libc-internal.h" for __get_clockfreq declaration.
1341 2001-04-21  Ulrich Drepper  <drepper@redhat.com>
1343         * elf/dl-support.c: Include cpuclock-init.h.  Use CPUCLOCK_VARDEF and
1344         CPUCLOCK_INIT if defined.
1345         * sysdeps/generic/dl-sysdep.c: Likewise.
1346         * sysdeps/generic/cpuclock-init.h: New file.
1347         * sysdeps/unix/i386/i586/cpuclock-init.h: New file.
1348         * sysdeps/unix/i386/i586/Versions: New file.
1349         * sysdeps/unix/i386/i586/clock_settime.c: New file.
1350         * sysdeps/unix/i386/i586/clock_gettime.c: Handle thread CPU clock
1351         separately by calling __pthread_clock_gettime if this function is
1352         available.  Subtract offset from tsc value before computing time value.
1354 2001-04-20  Ulrich Drepper  <drepper@redhat.com>
1356         * iconv/iconv_prog.c (print_known_names): If printing goes not to
1357         a tty print in a more machine-friendly way.
1359         * sysdeps/ieee754/ldbl-128/e_asinl.c: New file.
1360         Contributed by Stephen L Moshier <moshier@mediaone.net>.
1362 2001-04-20  Andreas Jaeger  <aj@suse.de>
1364         * intl/Makefile (tests): Reorder conditions, tst-gettext needs msgfmt.
1366 2001-04-20  Andreas Schwab  <schwab@suse.de>
1368         * sysdeps/m68k/fpu/libm-test-ulps: Update.
1370 2001-04-19  Alan Modra  <amodra@one.net.au>
1372         * Makerules (libc_pic.os): Add $(LDFLAGS-c_pic.os).
1373         * sysdeps/hppa/Makefile (LDFLAGS-c_pic.os): Define.
1374         (CFLAGS-.os): Remove.
1376         * sysdeps/unix/sysv/linux/hppa/sysdep.h (CALL_MCOUNT): Update comment.
1378         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (NGREG, NFPREG,
1379         gregset): Correct for new kernel definitions.
1381 2001-04-19  Alan Modra  <alan@linuxcare.com.au>
1383         * sysdeps/hppa/elf/initfini.c: Change dlt reg save to r3 and
1384         generate unwind info by hand.
1386 2001-04-19  Ulrich Drepper  <drepper@redhat.com>
1388         * sysdeps/unix/sysv/linux/powerpc/mmap64.c (__mmap64): Optimize a bit.
1390         * configure.in: Correct regular expression for msgfmt.
1391         Patch by Bruno Haible <haible@ilog.fr>.
1393 2001-04-19  Andreas Jaeger  <aj@suse.de>
1395         * po/el.po: Add comment explaining what's broken.
1397         * po/Makefile (BROKEN_LINGUAS): New.
1398         (ALL_LINGUAS): Don't add broken languages.
1400 2001-04-19  Roland McGrath  <roland@frob.com>
1402         * sysdeps/mach/hurd/mlock.c: New file.
1403         * sysdeps/mach/hurd/munlock.c: New file.
1404         * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_MEMLOCK_RANGE): Define it.
1406         * misc/Makefile (routines): Add mlock munlock mlockall munlockall.
1407         * sysdeps/generic/mlock.c: New file.
1408         * sysdeps/generic/munlock.c: New file.
1409         * sysdeps/generic/mlockall.c: New file.
1410         * sysdeps/generic/munlockall.c: New file.
1411         * sysdeps/generic/bits/mman.h (MCL_CURRENT, MCL_FUTURE): New macros.
1412         * sysdeps/unix/sysv/linux/syscalls.list (mlock, munlock,
1413         mlockall, munlockall): Change caller field to - from EXTRA.
1414         Don't use __ names; not used (and not declared in include/sys/mman.h).
1416         * hurd/privports.c (__get_privileged_ports): Renamed with __.
1417         Use __ names for calls we make.
1418         (get_privileged_ports): Add alias.
1419         * hurd/hurd.h: Declare it with the __ name.
1420         * sysdeps/mach/hurd/reboot.c (reboot): Use __get_privileged_ports.
1421         * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
1422         * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
1424         * hurd/hurdsig.c (write_corefile): Check RLIMIT_CORE limit and do
1425         nothing if it's zero.
1427 2001-04-19  Matthew Wilcox  <willy@ldl.fc.hp.com>
1429         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL):
1430         Change to return a signed result for compatibility with other
1431         architectures, and correctness.
1433 2001-04-19  Ulrich Drepper  <drepper@redhat.com>
1435         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_32BITUIDS):
1436         HPPA always had them.  Patch by Matthew Wilcox <matthew@wil.cx>.
1438 2001-04-19  Andreas Jaeger  <aj@suse.de>
1440         * configure.in: Require gettext 0.10.36 or newer.
1442         * manual/install.texi (Tools for Compilation): Mention gettext 0.10.36.
1444         * po/zh_TW.po: Remove extraneous backslashes.
1446         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Remove unused
1447         variables b and n.
1449 2001-04-18  Jakub Jelinek  <jakub@redhat.com>
1451         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Update.
1452         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c: New file.
1453         * sysdeps/unix/sysv/linux/sparc/sparc64/swapcontext.c: New file.
1454         * sysdeps/unix/sysv/linux/sparc/sparc64/setcontext.S (__setcontext):
1455         Copy first word of uc_sigmask into __uc_sigmask.
1456         * sysdeps/unix/sysv/linux/sparc/sparc64/getcontext.S (__getcontext):
1457         Save uc_link around trap. Copy __uc_sigmask into first word of
1458         uc_sigmask, clear the rest. Make sure setcontext to the created
1459         context doesn't do this though.
1460         * sysdeps/unix/sysv/linux/sparc/sparc64/ucontext_i.h: New file.
1461         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (ucontext_t): Add
1462         uc_stack and uc_sigmask, rename old uc_sigmask to __uc_sigmask in the
1463         64bit version, make uc_sigmask __sigset_t in the 32bit version.
1465 2001-04-19  Andreas Jaeger  <aj@suse.de>
1467         * sysdeps/unix/sysv/linux/hppa/umount.c: Fix typos in last patch.
1469         * rt/Makefile (otherlibs): Added for static NSS.
1471         * glibcbug.in (BUGGLIBC): Send to new alias.
1473 2001-04-02  Andreas Schwab  <schwab@suse.de>
1475         * Makerules (build-module): Make sure exit codes get checked
1476         properly and remove unnecessary slashes.
1478 2001-04-17  Ulrich Drepper  <drepper@redhat.com>
1480         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
1481         Handle kernels which report only three digits after the decimal point.
1482         Reported by Van Okamura <van.okamura@oracle.com>.
1484         * sysdeps/alpha/fpu/libm-test-ulps: Adjust error values for atan2f.
1486 2001-04-17  David S. Miller  <davem@redhat.com>
1488         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Update for new atan2 tests.
1489         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
1491 2001-04-17  Jakub Jelinek  <jakub@redhat.com>
1493         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Make sure
1494         desired exceptions are raised for exceptional values.
1495         * math/libm-test.inc (acosh_test, atan_test, atan2_test, cacos_test,
1496         cacosh_test, casin_test, casinh_test, catan_test, catanh_test,
1497         clog_test, log_test, log1p_test, tan_test): Increase precision of
1498         expected values to satisfy ldbl-128.
1499         * sysdeps/alpha/fpu/libm-test-ulps: Adjust accordingly.
1500         * sysdeps/arm/libm-test-ulps: Likewise.
1501         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
1502         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
1503         * sysdeps/m68k/fpu/libm-test-ulps: Likewise.
1504         * sysdeps/mips/fpu/libm-test-ulps: Likewise.
1505         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
1506         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
1507         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
1508         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
1509         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
1511 2001-04-17  Andreas Jaeger  <aj@suse.de>
1513         * configure.in: Move test for critical programs up.
1515 2001-04-16  Stephen L Moshier  <moshier@mediaone.net>
1517         * sysdeps/ieee754/flt-32/e_asinf.c (pio2_hi, pio2_lo, pio4_hi):
1518         Correct the values. (pSx, qSx): Replace by shorter approximation.
1519         Use f suffix on float constants.
1521 2001-04-16  Ulrich Drepper  <drepper@redhat.com>
1523         * sysdeps/ieee754/ldbl-128/k_tanl.c: New file.
1524         Contributed by Stephen L Moshier <moshier@mediaone.net>.
1526         * string/string.h: Replace const in attribute list with __const__.
1528 2001-04-16  Roland McGrath  <roland@frob.com>
1530         * grp/initgroups.c (initgroups) [NGROUPS_MAX != 0]: Always use sysconf
1531         instead of the constant NGROUPS_MAX.  That way, the limit can be
1532         raised in the kernel configuration without having to recompile libc.
1534         * sysdeps/posix/euidaccess.c: Don't #include <limits.h> or try to
1535         define NGROUPS_MAX; we don't use it here.
1537 2001-04-16  Andreas Jaeger  <aj@suse.de>
1539         * math/libm-test.inc (atan2_test): Add more testcases.
1541         * iconv/gconv_db.c: Include gconv_charset.h for
1542         __gconv_lookup_alias prototype.
1544 2001-04-13  Ulrich Drepper  <drepper@redhat.com>
1546         * sysdeps/ieee754/ldbl-128/s_atanl.c: New file.
1547         Contributed by Stephen L Moshier <moshier@mediaone.net>.
1549 2001-04-13  Jes Sorensen  <jes@linuxcare.com>
1551         * intl/tst-codeset.c: Include string.h to get prototype for strcmp().
1553 2001-04-13  Jes Sorensen  <jes@linuxcare.com>
1555         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Add __pad0 to
1556         explicitly pad struct siginfo instead of relying on compiler padding.
1558 2001-04-12  Ulrich Drepper  <drepper@redhat.com>
1560         * sysdeps/ia64/Dist: Add elf/entry.h.
1562         * iconvdata/Makefile (distribute): Add TESTS2.
1564 2001-04-13  Jakub Jelinek  <jakub@redhat.com>
1566         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_load_address):
1567         Calculate load address differently.
1569 2001-04-12  Bruno Haible  <haible@clisp.cons.org>
1571         * iconvdata/TESTS2: New file.
1572         * iconvdata/run-iconv-test.sh: Also run tests from TESTS2.
1573         * iconvdata/testdata/alfabeta..UTF-8: New file.
1574         * iconvdata/testdata/alfabeta..UTF-16.BE: New file.
1575         * iconvdata/testdata/alfabeta..UTF-16.LE: New file.
1576         * iconvdata/testdata/alfabeta..UTF-32.BE: New file.
1577         * iconvdata/testdata/alfabeta..UTF-32.LE: New file.
1579 2001-04-11  Bruno Haible  <haible@clisp.cons.org>
1581         * iconvdata/utf-32.c: New file.
1582         * iconvdata/gconv-modules: Add entries for UTF-32, UTF-32LE, UTF-32BE.
1583         * iconvdata/Makefile (modules): Add UTF-32.
1584         (distribute): Add utf-32.c.
1586 2001-04-11  Bruno Haible  <haible@clisp.cons.org>
1588         * iconvdata/utf-16.c (PREPARE_LOOP): Initialize 'swap' after possibly
1589         changing it in the state. After incrementing 'inptr', store it back.
1590         * iconvdata/unicode.c (PREPARE_LOOP): After incrementing 'inptr',
1591         store it back.
1593 2001-04-11  Bruno Haible  <haible@clisp.cons.org>
1595         * iconvdata/utf-16.c (gconv_init): Use MAX_NEEDED_FROM, not
1596         MIN_NEEDED_FROM.
1598 2001-04-11  David Mosberger  <davidm@hpl.hp.com>
1600         * sysdeps/ia64/htonl.S: Drop superfluous "alloc".
1601         * sysdeps/ia64/htons.S: Likewise.
1603         * sysdeps/ia64/memset.S: Add unwind directives.
1604         * sysdeps/ia64/strncpy.S: Likewise.
1605         * sysdeps/ia64/strcat.S: Likewise.
1607         * sysdeps/ia64/memccpy.S: Add unwind directives.  Drop superfluous
1608         restore of ar.pfs.
1609         * sysdeps/ia64/strchr.S: Likewise.
1610         * sysdeps/ia64/memmove.S: Likewise.
1611         * sysdeps/ia64/memcpy.S: Likewise.
1612         * sysdeps/ia64/memcmp.S: Likewise.
1613         * sysdeps/ia64/memchr.S: Likewise.
1614         * sysdeps/ia64/strcmp.S: Likewise.
1615         * sysdeps/ia64/strlen.S: Likewise.
1616         * sysdeps/ia64/strcpy.S: Likewise.
1617         * sysdeps/ia64/strncmp.S: Likewise.
1619 2001-04-11  Jakub Jelinek  <jakub@redhat.com>
1621         * wcsmbs/wchar.h (fgetwc, getwc, getwchar, fputwc, putwc, putwchar,
1622         fgetws, fputws, ungetwc, getwc_unlocked, getwchar_unlocked,
1623         fgetwc_unlocked, fputwc_unlocked, putwc_unlocked, putwchar_unlocked,
1624         fgetws_unlocked, fputws_unlocked, wcsftime): Add __THROW.
1626 2001-04-11  Andreas Jaeger  <aj@suse.de>
1628         * sysdeps/mips/elf/start.S [__ASSEMBLY__]: Define it.
1630 2001-04-11  Andreas Schwab  <schwab@suse.de>
1632         * sysdeps/m68k/fpu/libm-test-ulps: Adjusted.
1634 2001-04-11  Ulrich Drepper  <drepper@redhat.com>
1636         * sysdeps/arm/stackinfo.h: New file.
1638 2001-04-08  Thorsten Kukuk  <kukuk@suse.de>
1640         * sunrpc/rpc_main.c: If we compile RPC thread safe, allow
1641         rpcgen to generate thread safe code.
1643 2001-04-10  Andreas Jaeger  <aj@suse.de>
1645         * math/test-fenv.c (initial_tests): Protect FE_TONEAREST declaration.
1647 2001-04-10  Ulrich Drepper  <drepper@redhat.com>
1649         * elf/dl-minimal.c (__assert_fail): Change error string.  It's
1650         most of the time no bug in ld.so.
1651         (__assert_perror_fail): Likewise.
1653 2001-04-11  Hans-Peter Nilsson  <hp@axis.com>
1655         * sysdeps/generic/bits/fenv.h (fexcept_t): Change default type
1656         from struct to unsigned int.
1658 2001-04-10  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
1660         * elf/elf.h (AT_DCACHEBSIZE, AT_ICACHEBSIZE, AT_UCACHEBSIZE,
1661         AT_IGNOREPPC): New defines.
1662         * sysdeps/generic/dl-sysdep.c (_dl_show_auxv): Print them.
1663         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_STD_AUXV):
1664         Define for newer powerpc kernels.
1665         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Use the standard
1666         DL_FIND_ARG_COMPONENTS if __ASSUME_STD_AUXV is defined.
1668 2000-4-10  kaz Kojima  <kkojima@rr.iij4u.or.jp>
1670         * sysdeps/sh/stackinfo.h: New file.
1672 2001-04-10  Ulrich Drepper  <drepper@redhat.com>
1674         * locale/tst-C-locale.c (run_test): Add tests for locale objects.
1675         * locale/newlocale.c (__newlocale): Correct setting __ctype_b,
1676         __ctype_tolower, and __ctype_toupper elements.
1678         * ctype/ctype_l.c: Fix definitions of __tolower_l and __toupper_l.
1679         Reported by Konstantin Osipov <rabid@spylog.ru>.
1681         * sysdeps/i386/fpu/libm-test-ulps: Add deltas for tgamma to help
1682         the lousy AMD FPU.
1684 2001-04-10  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
1686         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: New file.
1687         * sysdeps/unix/sysv/linux/powerpc/Dist: Add sys/ptrace.h.
1688         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Delete wrong stuff.
1689         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Correct typedefs.
1691 2001-04-10  Ulrich Drepper  <drepper@redhat.com>
1693         * elf/dl-deps.c (_dl_map_object_deps): Provide complete error
1694         message.  Based on a patch by HJ Lu.
1696 2001-04-10  Andreas Schwab  <schwab@suse.de>
1698         * math/libm-test.inc (csinh_test): Don't require the invalid
1699         exception for csinh (x + iNaN), but make it optional.
1701 2001-04-09  David Mosberger  <davidm@hpl.hp.com>
1703         * sysdeps/ia64/elf/start.S (_start): Add unwind directives.
1705         * sysdeps/generic/entry.h [!__ASSEMBLY__]: Declare _start.
1706         * sysdeps/ia64/elf/entry.h: New file.
1707         * sysdeps/unix/sysv/linux/mips/entry.h [!__ASSEMBLY__]: Declare
1708         __start.
1709         * elf/rtld.c: Don't declare ENTRY_POINT.  Use ENTRY_POINT instead
1710         of &ENTRY_POINT.
1711         * sysdeps/generic/dl-sysdep.c: Likewise.
1712         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
1713         * sysdeps/ia64/elf/start.S: Save base address of register backing
1714         store in __libc_ia64_register_backing_store_base.
1716 2001-04-10  Martin Schwidefsky  <schwidefsky@de.ibm.com>
1718         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Fix return
1719         value of getcontext.
1720         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
1721         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Fix return
1722         value of setcontext.
1723         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
1724         * sysdeps/unix/sysv/linux/s390/swapcontext.c: Skip setcontext
1725         call by changing the saved context.
1727 2001-04-10  Ulrich Drepper  <drepper@redhat.com>
1729         * sysdeps/alpha/stackinfo.h: New file.
1730         * sysdeps/ia64/stackinfo.h: New file.
1732 2001-04-10  Andreas Schwab  <schwab@suse.de>
1734         * sysdeps/m68k/fpu/e_pow.c: Correct handling of some exceptional
1735         values.
1736         * sysdeps/m68k/fpu/e_scalb.c: Likewise.
1738 2001-04-09  Ulrich Drepper  <drepper@redhat.com>
1740         * sysdeps/sparc/sparc32/sparcv9/Dist: Add hp-timing.c.
1741         * sysdeps/sparc/sparc64/Dist: Add hp-timing.c.
1743         * libio/Makefile (distribute): Add fd_to_filename.h.
1745 2001-04-05  David S. Miller  <davem@redhat.com>
1747         Add hp-timing support for sparcv9/sparc64 targets.
1748         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: New file
1749         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: New file
1750         * sysdeps/sparc/sparc64/hp-timing.c: New file
1751         * sysdeps/sparc/sparc64/hp-timing.h: New file
1752         * sysdeps/sparc/sparc32/sparcv9/Makefile: Build hp-timing.
1753         * sysdeps/sparc/sparc64/Makefile: Likewise.
1755 2001-04-09  Jakub Jelinek  <jakub@redhat.com>
1757         * sysdeps/generic/fd_to_filename.h: New file.
1758         * sysdeps/unix/sysv/linux/fd_to_filename.h: New file.
1759         * libio/freopen.c (freopen): If FILENAME is NULL, try to get
1760         filename from the open file descriptor.
1761         * libio/freopen64.c (freopen64): Likewise.
1763 2001-04-09  Bruno Haible  <haible@clisp.cons.org>
1765         * misc/error.c (error): fflush stdout also if
1766         error_print_progname != NULL.
1767         (error_at_line): Likewise.
1769 2001-04-07  Bruno Haible  <haible@clisp.cons.org>
1771         * intl/gettextP.h (struct loaded_domain): Add codeset_cntr field.
1772         (struct binding): Add codeset_cntr field.
1773         (_nl_load_domain): Add domainbinding argument.
1774         (_nl_init_domain_conv, _nl_free_domain_conv): New declarations.
1775         (_nl_find_msg): New declaration, moved here from loadinfo.h.
1776         * intl/loadinfo.h (struct loaded_l10nfile): Remove domainbinding field.
1777         (_nl_make_l10nflist): Remove domainbinding argument.
1778         (_nl_find_msg): Move declaration to gettextP.h.
1779         * intl/bindtextdom.c (set_binding_values): Initialize ->codeset_cntr
1780         to 0.  Increment it when ->codeset is changed.
1781         * intl/dcigettext.c (DCIGETTEXT): Pass binding to _nl_find_msg.
1782         (_nl_find_msg): Add domainbinding argument.  Reinitialize the converter
1783         if domainbinding->codeset_cntr has been incremented.
1784         * intl/finddomain.c (_nl_find_domain): Don't pass domainbinding to
1785         _nl_make_l10nflist().  Pass it to _nl_load_domain() instead.
1786         * intl/l10nflist.c (_nl_make_l10nflist): Remove domainbinding argument.
1787         * intl/loadmsgcat.c (_nl_init_domain_conv): New function, extracted
1788          from _nl_load_domain.  Append //TRANSLIT also when using libiconv.
1789         (_nl_free_domain_conv): New function, extracted from _nl_unload_domain.
1790         (_nl_load_domain): Add domainbinding argument.  Call
1791         _nl_init_domain_conv.
1792         (_nl_unload_domain): Call _nl_free_domain_conv.
1793         * intl/Makefile (distribute): Add tst-codeset.sh, tstcodeset.po.
1794         (test-srcs): Add tst-codeset.
1795         (tests): Depend on tst-codeset.out.
1796         (tst-codeset.out): New rule.
1797         (CFLAGS-tst-codeset.c): New variable.
1798         * intl/tst-codeset.sh: New file.
1799         * intl/tstcodeset.po: New file.
1800         * intl/tst-codeset.c: New file.
1801         * locale/findlocale.c (_nl_find_locale): Update _nl_make_l10nflist
1802         calls.
1804 2001-04-07  Roland McGrath  <roland@frob.com>
1806         * mach/msgserver.c (__mach_msg_server_timeout): Add an assert.
1808 2001-03-31  Roland McGrath  <roland@frob.com>
1810         * sysdeps/mach/hurd/fork.c: Skip NEWPROC just like NEWTASK when
1811         copying send rights into child.  When we hit our name for our proc
1812         port, just copy NEWPROC directly instead of repeating proc_task2proc
1813         to install the child's port.
1815 2001-04-08  Roland McGrath  <roland@frob.com>
1817         * Makeconfig ($(common-objpfx)soversions.i): Grok entries with DEFAULT
1818         in second column, to provide default values for third column.
1819         * shlib-versions: Add comments about using DEFAULT in second column.
1820         (s390x-.*-linux.*): Replace individual entries with a DEFAULT entry.
1821         (cris-.*-linux.*): Likewise.
1823 2001-04-09  Ulrich Drepper  <drepper@redhat.com>
1825         * Makefile (distribute): Add scripts/documented.sh.
1826         * scripts/documented.sh: New file.
1828 2001-04-08  Hans-Peter Nilsson  <hp@axis.com>
1830         * sysdeps/unix/sysv/linux/cris/Dist: New file.
1831         * sysdeps/unix/sysv/linux/cris/Makefile: New file.
1832         * sysdeps/unix/sysv/linux/cris/_G_config.h: New file.
1833         * sysdeps/unix/sysv/linux/cris/bits/fcntl.h: New file.
1834         * sysdeps/unix/sysv/linux/cris/bits/mman.h: New file.
1835         * sysdeps/unix/sysv/linux/cris/bits/resource.h: New file.
1836         * sysdeps/unix/sysv/linux/cris/brk.c: New file.
1837         * sysdeps/unix/sysv/linux/cris/chown.c: New file.
1838         * sysdeps/unix/sysv/linux/cris/clone.S: New file.
1839         * sysdeps/unix/sysv/linux/cris/fchown.c: New file.
1840         * sysdeps/unix/sysv/linux/cris/fcntl.c: New file.
1841         * sysdeps/unix/sysv/linux/cris/fxstat.c: New file.
1842         * sysdeps/unix/sysv/linux/cris/getegid.c: New file.
1843         * sysdeps/unix/sysv/linux/cris/geteuid.c: New file.
1844         * sysdeps/unix/sysv/linux/cris/getgid.c: New file.
1845         * sysdeps/unix/sysv/linux/cris/getgroups.c: New file.
1846         * sysdeps/unix/sysv/linux/cris/getresgid.c: New file.
1847         * sysdeps/unix/sysv/linux/cris/getresuid.c: New file.
1848         * sysdeps/unix/sysv/linux/cris/getrlimit.c: New file.
1849         * sysdeps/unix/sysv/linux/cris/getrlimit64.c: New file.
1850         * sysdeps/unix/sysv/linux/cris/getuid.c: New file.
1851         * sysdeps/unix/sysv/linux/cris/lchown.c: New file.
1852         * sysdeps/unix/sysv/linux/cris/lockf64.c: New file.
1853         * sysdeps/unix/sysv/linux/cris/lxstat.c: New file.
1854         * sysdeps/unix/sysv/linux/cris/mmap.S: New file.
1855         * sysdeps/unix/sysv/linux/cris/mmap64.S: New file.
1856         * sysdeps/unix/sysv/linux/cris/msgctl.c: New file.
1857         * sysdeps/unix/sysv/linux/cris/profil-counter.h: New file.
1858         * sysdeps/unix/sysv/linux/cris/register-dump.h: New file.
1859         * sysdeps/unix/sysv/linux/cris/semctl.c: New file.
1860         * sysdeps/unix/sysv/linux/cris/setegid.c: New file.
1861         * sysdeps/unix/sysv/linux/cris/seteuid.c: New file.
1862         * sysdeps/unix/sysv/linux/cris/setfsgid.c: New file.
1863         * sysdeps/unix/sysv/linux/cris/setfsuid.c: New file.
1864         * sysdeps/unix/sysv/linux/cris/setgid.c: New file.
1865         * sysdeps/unix/sysv/linux/cris/setgroups.c: New file.
1866         * sysdeps/unix/sysv/linux/cris/setregid.c: New file.
1867         * sysdeps/unix/sysv/linux/cris/setresgid.c: New file.
1868         * sysdeps/unix/sysv/linux/cris/setresuid.c: New file.
1869         * sysdeps/unix/sysv/linux/cris/setreuid.c: New file.
1870         * sysdeps/unix/sysv/linux/cris/setrlimit.c: New file.
1871         * sysdeps/unix/sysv/linux/cris/setuid.c: New file.
1872         * sysdeps/unix/sysv/linux/cris/shmctl.c: New file.
1873         * sysdeps/unix/sysv/linux/cris/socket.S: New file.
1874         * sysdeps/unix/sysv/linux/cris/sys/ucontext.h: New file.
1875         * sysdeps/unix/sysv/linux/cris/syscall.S: New file.
1876         * sysdeps/unix/sysv/linux/cris/sysdep.S: New file.
1877         * sysdeps/unix/sysv/linux/cris/sysdep.h: New file.
1878         * sysdeps/unix/sysv/linux/cris/vfork.S: New file.
1879         * sysdeps/unix/sysv/linux/cris/xstat.c: New file.
1881 2001-04-08  Hans-Peter Nilsson  <hp@axis.com>
1883         * sysdeps/cris/Dist: New file.
1884         * sysdeps/cris/Implies: New file.
1885         * sysdeps/cris/Makefile: New file.
1886         * sysdeps/cris/__longjmp.S: New file.
1887         * sysdeps/cris/_mcount.S: New file.
1888         * sysdeps/cris/bits/endian.h: New file.
1889         * sysdeps/cris/bits/setjmp.h: New file.
1890         * sysdeps/cris/bits/string.h: New file.
1891         * sysdeps/cris/dl-machine.h: New file.
1892         * sysdeps/cris/elf/start.S: New file.
1893         * sysdeps/cris/machine-gmon.h: New file.
1894         * sysdeps/cris/memcopy.h: New file.
1895         * sysdeps/cris/memusage.h: New file.
1896         * sysdeps/cris/setjmp.S: New file.
1897         * sysdeps/cris/sysdep.h: New file.
1898         * sysdeps/cris/wordcopy.c: New file.
1900 2001-04-08  Hans-Peter Nilsson  <hp@axis.com>
1902         * elf/elf.h: Add new relocations for CRIS.
1904 2001-04-08  Hans-Peter Nilsson  <hp@axis.com>
1906         * shlib-versions: Add cases for Linux on CRIS.
1908 2001-04-08  Hans-Peter Nilsson  <hp@axis.com>
1910         * configure.in (ASM_LINE_SEP tests): Handle CRIS assembly, with
1911         ';' for comments and '@' for line separator.
1913 2001-04-08  Hans-Peter Nilsson  <hp@axis.com>
1915         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Fix
1916         typo; s/==/=/ for assignment.
1918 2001-04-08  Hans-Peter Nilsson  <hp@axis.com>
1920         * malloc/Makefile: Correct comment; mtrace is Perl, not AWK.
1922 2001-04-08  Hans-Peter Nilsson  <hp@axis.com>
1924         * iconv/gconv_simple.c (internal_ucs4_loop_unaligned): Check for
1925         empty input before checking full output.
1927 2001-04-08  Hans-Peter Nilsson  <hp@axis.com>
1929         * iconv/gconv.c (__gconv): Don't derefer parameter cd before
1930         checking if == -1L.
1932 2001-04-08  Ulrich Drepper  <drepper@redhat.com>
1934         * inet/rexec.c (rexec_af): Avoid calling perror with errno being set.
1936 2001-04-07  Stephen L Moshier  <moshier@mediaone.net>
1938         * sysdeps/ieee754/ldbl-128/e_logl.c: Correct infinity and NaN
1939         return values.
1941 2001-04-07  Ulrich Drepper  <drepper@redhat.com>
1943         * stdlib/tst-setcontext.c (main): Add a test for setcontext.
1945         * sysdeps/unix/sysv/linux/i386/getcontext.S: New file.
1946         * sysdeps/unix/sysv/linux/i386/setcontext.S: New file.
1947         * sysdeps/unix/sysv/linux/i386/makecontext.S: New file.
1948         * sysdeps/unix/sysv/linux/i386/swapcontext.S: New file.
1949         * sysdeps/unix/sysv/linux/i386/ucontext_i.h: New file.
1950         * sysdeps/unix/sysv/linux/i386/Dist: Add ucontext_i.h.
1952 2001-04-07  Andreas Jaeger  <aj@suse.de>
1954         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Use sincos
1955         instead of separate sin and cos.
1956         (__ieee754_j1l): Likewise.
1958 2001-04-06  Ulrich Drepper  <drepper@redhat.com>
1960         * sysdeps/ia64/abort-instr.h: New file.  Code by David Mosberger.
1962         * sysdeps/ia64/atomicity.h: New file.  Copied from libstdc++.
1964         * sysdeps/i386/i486/atomicity.h: Clean up the asms.
1966         * sysdeps/generic/e_scalb.c: Don't use FE_INVALID unless it's
1967         available.
1968         * sysdeps/generic/e_scalbf.c: Likewise.
1969         * sysdeps/generic/e_scalbl.c: Likewise.
1970         Patch by Mark Hatle <fray@mvista.com>.
1972 2001-04-05  David S. Miller  <davem@redhat.com>
1974         * sysdeps/sparc/abort-instr.h: New file.
1976 2001-04-05  Matt Wilson  <msw@redhat.com>
1978         * sysdeps/unix/sysv/linux/alpha/getsysstats.c (GET_NPROCS_PARSER):
1979         added code to parse new 2.4 format.
1980         (GET_NPROCS_CONF_PARSER): Likewise.
1982 2001-04-05  David S. Miller  <davem@redhat.com>
1984         * scripts/config.sub: Recognize sparcv9b like sparcv9.
1985         * configure.in: Add sparcv9b.
1986         * sysdeps/sparc/sparc32/sparcv9b/Implies: New file
1987         * sysdeps/sparc/sparc32/sparcv9b/memcpy.S: New file
1988         * sysdeps/sparc/sparc64/sparcv9b/memcpy.S: New file
1990 2001-04-06  David Mosberger  <davidm@hpl.hp.com>
1992         * stdlib/tst-setcontext.c: Move st2[] to global scope.
1993         (f2): Verify that stack pointer is inside st2[].
1995         * sysdeps/unix/sysv/linux/ia64/getcontext.S: It helps to save r12.
1996         * sysdeps/unix/sysv/linux/ia64/setcontext.S: It helps to restore r12.
1998 2001-04-06  Ulrich Drepper  <drepper@redhat.com>
2000         * timezone/antarctica: Update from tzdata2001b.
2001         * timezone/asia: Likewise.
2002         * timezone/australasia: Likewise.
2003         * timezone/europe: Likewise.
2004         * timezone/northamerica: Likewise.
2006         * iconv/iconv_open.c: Move strip and upstr definitions...
2007         * iconv/gconv_charset.h: ...here.  New file.
2008         * iconv/gconv_db.c (once): Move to file level.
2009         (do_lookup_alias): Split out from __gconv_find_transform.
2010         (__gconv_find_transform): Call do_lookup_alias.
2011         (__gconv_loopup_alias): New function.
2012         * locale/langinfo.h: Define _NL_*_CODESET values for all categories
2013         but LC_CTYPE.
2014         * locale/categories.def: Add entries for new _NL_*_CODESET values.
2015         * locale/C-ctype.c: Use _nl_C_codeset to initialize CODESET entry.
2016         * locale/C-address.c: Initialize _NL_*_CODESET element.
2017         * locale/C-collate.c: Likewise.
2018         * locale/C-identification.c: Likewise.
2019         * locale/C-measurement.c: Likewise.
2020         * locale/C-messages.c: Likewise.
2021         * locale/C-monetary.c: Likewise.
2022         * locale/C-name.c: Likewise.
2023         * locale/C-numeric.c: Likewise.
2024         * locale/C-paper.c: Likewise.
2025         * locale/C-telephone.c: Likewise.
2026         * locale/C-time.c: Likewise.
2027         * locale/localeinfo.h: Declare _nl_C_codeset.
2028         * locale/C_name.c: Define _nl_C_codeset.
2029         * locale/findlocale.c: Before accepting locale check that the used
2030         charset does not conflict with what the locale name said.
2031         * locale/programs/ld-address.c: Emit codeset information.
2032         * locale/programs/ld-collate.c: Likewise.
2033         * locale/programs/ld-identification.c: Likewise.
2034         * locale/programs/ld-measurement.c: Likewise.
2035         * locale/programs/ld-messages.c: Likewise.
2036         * locale/programs/ld-monetary.c: Likewise.
2037         * locale/programs/ld-name.c: Likewise.
2038         * locale/programs/ld-numeric.c: Likewise.
2039         * locale/programs/ld-paper.c: Likewise.
2040         * locale/programs/ld-telephone.c: Likewise.
2041         * locale/programs/ld-time.c: Likewise.
2043         * localedata/tests-mbwc/tst_funcs.h (TST_HEAD_LOCALE): It is an error
2044         if the locale data couldn't be found.
2046         * string/Makefile: Define tst-strxfrm-ENV.
2048         * ysdeps/unix/sysv/linux/ia64/getcontext.S: Fix comment.
2050 2001-04-06  Andreas Jaeger  <aj@suse.de>
2052         * include/sys/profil.h: New file.
2054         * dlfcn/modatexit.c: Add prototypes to silence GCC.
2055         * dlfcn/modcxaatexit.c: Likewise.
2056         * elf/globalmod1.c: Likewise.
2058 2001-04-05  David S. Miller  <davem@redhat.com>
2060         * elf/elf.h (HWCAP_SPARC_ULTRA3): Define it.
2061         * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h: Add it to
2062         capability flags table and HWCAP_IMPORTANT, increase
2063         _DL_HWCAP_COUNT to 6.
2064         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h: Likewise.
2066 2001-04-04  David Mosberger  <davidm@hpl.hp.com>
2068         * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext): Fix
2069         initialization of stack_end (bug reported by Zheng Gengbin
2070         <gzheng@students.uiuc.edu>).
2072 2001-04-05  Ulrich Drepper  <drepper@redhat.com>
2074         * sysdeps/i386/fpu/libm-test-ulps: Relax errors for asinl.
2076 2001-04-05  Martin Schwidefsky  <schwidefsky@de.ibm.com>
2078         * sysdeps/unix/sysv/linux/s390/s390-64/bits/socket.h: New file.
2080 2001-04-05  Ulrich Drepper  <drepper@redhat.com>
2082         * sysdeps/ieee754/ldbl-96/e_asinl.c: Correct handling of +-Inf.
2083         * sysdeps/i386/fpu/e_asinl.S: Removed.  Too inaccurate.
2085         * login/tst-utmp.c: Make file usable again in tst-utmpx.c.
2087 2001-04-04  Ulrich Drepper  <drepper@redhat.com>
2089         * sysdeps/unix/sysv/aix/dl-libc.c: Don't use the ELF version,
2090         define simple replacements here.  Patch by Michael Keezer.
2092         * sysdeps/ieee754/ldbl-128/e_logl.c: New file.
2093         * sysdeps/ieee754/ldbl-96/e_asinl.c: New file.
2094         Contributed by Stephen L Moshier <moshier@mediaone.net>.
2096         * posix/fnmatch_loop.c: Undefine NEW_PATTERN when it is not used
2097         anymore.
2099 2001-04-01  Andreas Jaeger  <aj@suse.de>
2101         * sysdeps/generic/s_nextafter.c (NO_LONG_DOUBLE): Add nexttowardl
2102         alias.
2104         * sysdeps/generic/s_fma.c (NO_LONG_DOUBLE): Add fmal alias.
2106 2001-04-04  Ulrich Drepper  <drepper@redhat.com>
2108         * sysdeps/unix/sysv/linux/s390/s390-64/Dist: Add ucontext_i.h.
2109         * sysdeps/unix/sysv/linux/s390/s390-32/Dist: Likewise.
2111 2001-04-04  Martin Schwidefsky  <schwidefsky@de.ibm.com>
2113         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: New file.
2114         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: New file.
2115         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: New file.
2116         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.h: New file.
2117         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: New file.
2118         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: New file.
2119         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: New file.
2120         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.h: New file.
2121         * sysdeps/unix/sysv/linux/s390/swapcontext.c: New file.
2123 2001-04-04  Andreas Jaeger  <aj@suse.de>
2125         * sysdeps/powerpc/dl-machine.h (ELF_MACHINE_NO_REL): Move to right
2126         place.
2128 2001-04-04  Ulrich Drepper  <drepper@redhat.com>
2130         * sunrpc/rpc_scan.c (symbols): Add entry for HYPER.
2131         * sunrpc/rpc_scan.h (enum tok_kind): Add TOK_HYPER.
2132         * sunrpc/rpc_parse.c (get_type): Handle TOK_HYPER.
2133         (unsigned_dec): Likewise.
2134         Patch by atai@jezebel.dreamhost.com.
2136         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r): Pass
2137         pointer to int as last parameter of yp_match.
2138         Patch by kanazawa@flab.fujitsu.co.jp.
2140 2001-04-03  Ulrich Drepper  <drepper@redhat.com>
2142         * resolv/netdb.h (gai_strerror): Make return value const.
2143         * sysdeps/generic/gai_strerror.c (gai_strerror): Likewise.
2144         * sysdeps/posix/gai_strerror.c (gai_strerror): Likewise.
2145         Add strings for new error values.
2147 2001-03-29  Michael Keezer  <mkeezer@redhat.com>
2149         * posix/tst-gnuglob.c: Added ifdef _DIRENT_HAVE_D_TYPE.
2150         * login/tst-utmp.c: Handle case where ut_tv is not available but
2151         ut_time is.
2152         * sysdeps/unix/sysv/aix/utmpx.h: New file.
2153         * sysdeps/unix/sysv/aix/bits/utmpx.h: Added
2154         _HAVE_UT_TYPE/PID/ID/TV/HOST defines.
2155         * sysdeps/unix/sysv/aix/libc-start.c: Removed temp code and made stub.
2156         * sysdeps/unix/sysv/aix/gettimeofday.c: New file added routines
2157         to access RTCU timer reg.
2158         * sysdeps/unix/sysv/aix/Makefile: Remove /usr/lib/crt0.o
2159         added dl-libc, dl-open,dl-sym, dl-close to misc.
2160         * sysdeps/unix/sysv/aix/start.c: New file.  Start code.
2161         * sysdeps/unix/sysv/aix/dlldr.h: New file.  AIX __loadx defines.
2162         * sysdeps/unix/sysv/aix/dl-close.c: New file.  AIX dl-close.
2163         * sysdeps/unix/sysv/aix/dl-open.c: New file.  AIX dl-open.
2164         * sysdeps/unix/sysv/aix/dl-sym.c: New file.  AIX dl-sym.
2165         * sysdeps/unix/sysv/aix/dl-libc.c: New file.  libc_dl-xxx support.
2166         * sysdeps/generic/strtoll.c: Added SHLIB_COMPAT(libc,GLIBC_2_0,
2167         GLIBC_2_2).
2168         * sysdeps/generic/strtoull.c: Likewise.
2169         * sysdeps/powerpc/ppc-mcount.S: Added nop after bl instruction.
2170         * sysdeps/unix/sysv/aix/powerpc/memset.c: New file to include
2171         sysdeps/generic/memset.c.
2172         * sysdeps/unix/sysv/aix/getpeername.c: Define __getpeername.
2174 2001-04-03  Ulrich Drepper  <drepper@redhat.com>
2176         * iconv/Makefile (CFLAGS-charmap.c): Add -DNEED_NULL_POINTER.
2177         * locale/programs/charmap.c: Define null_pointer if
2178         NEED_NULL_POINTER is defined.
2180         * misc/dirname.c (dirname): Handle multiple slashes correctly.
2182 2001-04-03  Martin Schwidefsky  <schwidefsky@de.ibm.com>
2184         * sysdeps/s390/s390-64/initfini.c: Fix __gmon_start__ GOT access.
2186 2001-04-03  Martin Schwidefsky  <schwidefsky@de.ibm.com>
2188         * sysdeps/s390/s390-32/bcopy.S: Optimize for speed.
2189         * sysdeps/s390/s390-64/bcopy.S: Likewise.
2190         * sysdeps/s390/s390-32/mempcy.S: Likewise.
2191         * sysdeps/s390/s390-64/memcpy.S: Likewise.
2193 2001-04-02  Bruno Haible  <haible@clisp.cons.org>
2195         * manual/message.texi (Advanced gettext functions): More specific
2196         syntax in the plural formula examples.
2198 2001-04-02  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
2200         * sysdeps/powerpc/atomicity.h: Silence warnings.
2201         * sysdeps/powerpc/dl-machine.h: Likewise.
2202         * sysdeps/powerpc/register-dump.h: Likewise.
2203         * sysdeps/powerpc/fpu/s_lrint.c: Likewise.
2205 2001-04-02  Andreas Jaeger  <aj@suse.de>
2207         * misc/tst-dirname.c (main): Add more tests, derived from a bug
2208         report by Michael Kerrisk <mtk16@ext.canterbury.ac.nz>.
2210 2001-04-01  Andreas Jaeger  <aj@suse.de>
2212         * debug/xtrace.sh (pcprofileso): Use SLIBDIR since libpcprofile.so
2213         is installed there.
2214         * malloc/memusage.sh (memusageso): Likewise for libmemusage.so.
2216 2001-04-01  H.J. Lu  <hjl@gnu.org>
2218         * posix/annexc.c (macrofile): Renamed from TMPFILE and set to
2219         tmpnam (NULL).
2220         * stdlib/isomac.c (macrofile): Likewise.
2222 2001-03-30  Thorsten Kukuk  <kukuk@suse.de>
2224         * inet/rcmd.c: Allow AF_UNSPEC as parameter.
2225         * nis/ypclnt.c (yp_all): Print error message only at last try,
2226         check for protocoll error only if we don't have a network error.
2228 2001-04-02  Andreas Schwab  <schwab@suse.de>
2230         * resolv/res_data.c (res_isourserver): Fix cast.
2232 2001-04-02  Andreas Jaeger  <aj@suse.de>
2234         * sysdeps/unix/sysv/linux/hppa/umount.c: Add prototype for
2235         __umount2.
2237         * sysdeps/i386/dl-machine.h (RTLD_START): Don't use multi-line
2238         strings.
2239         (ELF_MACHINE_RUNTIME_TRAMPOLINE): Likewise.
2241         * sysdeps/ieee754/dbl-64/uroot.h: Add missing braces arount
2242         initializers.
2243         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Likewise.
2245         * elf/rtld.c (print_statistics)[!HP_TIMING_NONAVAIL]: Avoid
2246         warning about unused variable.
2248         * string/string.h (strndupa): Add cast for C++ conformance.
2249         (strdupa): Likewise.
2250         Fixes PR libc/2173, reported by tbrowder@home.com.
2252 2001-03-30  Roland McGrath  <roland@frob.com>
2254         * sysdeps/mach/hurd/Makefile ($(link-rpcuserlibs)): Don't append
2255         options after $(build-module), which is no longer a single command.
2256         (LDFLAGS-link-rpcuserlibs): New variable to hold those options.
2257         (LDFLAGS-libmachuser-link.so, LDFLAGS-libhurduser-link.so): New
2258         variables using it.  Reported by Mark Kettenis <kettenis@gnu.org>.
2260 2001-03-11  Roland McGrath  <roland@frob.com>
2262         * elf/rtld.c (dl_main): Add cast to quiet warning.
2263         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
2264         * iconv/gconv_conf.c (__gconv_get_path): Likewise.
2265         (__gconv_read_conf): Likewise.
2266         * iconv/gconv_db.c (gen_steps): Likewise.
2267         (__gconv_find_transform): Likewise.
2268         * locale/programs/charmap-dir.c (fopen_uncompressed): Likewise.
2269         (fopen_uncompressed): Use const in second argument's type.
2271 2001-03-11  Roland McGrath  <roland@frob.com>
2273         * sysdeps/mach/hurd/dl-sysdep.c (__writev): New function.
2275         * mach/mach_error.h: Fix ancient #endif syntax.
2276         * hurd/hurdmalloc.c: Likewise.
2278         * sysdeps/generic/atomicity.h (exchange_and_add, atomic_add,
2279         compare_and_swap): Add volatile qualifier to first arg, to bring
2280         these prototypes in line with all the other implementations.
2281         Add a #warning to remind the builder that these are not atomic.
2283 2001-03-04  Roland McGrath  <roland@frob.com>
2285         * hurd/vpprintf.c (vpprintf) [USE_IN_LIBIO]: Use innermore first
2286         member of TEMP_F so its type is _IO_FILE * as expected.
2288         * hurd/fopenport.c (seekio): Conditionalize type of POS argument
2289         on [USE_IN_LIBIO].  Check the value for overflow, since for libio
2290         it might exceed off_t's range.
2292 2001-02-25  Roland McGrath  <roland@frob.com>
2294         * sysdeps/mach/hurd/sysd-stdio.c (__stdio_reopen): Use prototype.
2295         * sysdeps/unix/bsd/getpt.c (__posix_openpt): Likewise.
2297         * sysdeps/mach/hurd/i386/intr-msg.h (SYSCALL_EXAMINE): Make this a
2298         macro instead of an inline function,
2299         (MSG_EXAMINE): Likewise.
2301         * hurd/hurd/ioctl.h (_HURD_HANDLE_IOCTLS_1): Remove extraneous ##.
2303         * hurd/get-host.c: Include <string.h> for decls of built-ins.
2304         * hurd/hurdchdir.c: Likewise.
2305         * sysdeps/mach/hurd/i386/sigreturn.c: Likweise.
2306         * sysdeps/mach/hurd/opendir.c: Likewise.
2308         * mach/mach_init.c: Include <unistd.h> for _exit decl.
2310         * mach/errsystems.awk: Give output file a trailing newline.
2312         * mach/Machrules (MIG): Prepend CC='${CC}' to the mig command, so that
2313         the script will use our compiler for the cpp stage.
2315         With --enable-all-warnings we get a whole bunch of warnings,
2316         and these are just a few fixes; there are more needed to silence it.
2317         * mach/mach/mig_support.h (__mig_strncpy, mig_strncpy): Add extern
2318         decls before extern inline defns to quiet gcc warning.
2319         * hurd/hurd/threadvar.h (__hurd_threadvar_location_from_sp): Likewise.
2320         * sysdeps/mach/i386/machine-sp.h (__thread_stack_pointer): Likewise.
2322 2001-03-31  Andreas Jaeger  <aj@suse.de>
2324         * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_RAWHDLC): Added.
2325         (ARPHRD_HDLC): Define as alias for ARPHRD_CISCO.
2326         (ARPHRD_CISCO): New.
2327         Changes from Linux 2.4.3.
2329 2001-03-30  Isamu Hasegawa  <isamu@yamato.ibm.com>
2331         * posix/regex.c: Avoid an access violation if malloc failes.
2333 2001-03-30  Andreas Jaeger  <aj@suse.de>
2335         * sysdeps/alpha/ldiv.S (ldiv): Add alias for imaxdiv.
2337 2001-03-29  Ulrich Drepper  <drepper@redhat.com>
2339         * posix/regex.c: Remove unnecessary ifs.
2341         * math/bits/mathcalls.h: Remove infnan declaration.
2343 2001-03-29  H.J. Lu  <hjl@gnu.org>
2345         * include/endian.h: Define BIG_ENDI, LITTLE_ENDI, HIGH_HALF,
2346         and LOW_HALF only if _LIBC is defined and _ISOMAC is not defined.
2347         * stdlib/isomac.c (fmt): Define _LIBC and _ISOMAC.
2348         .
2349 2001-03-29  Isamu Hasegawa  <isamu@yamato.ibm.com>
2351         * posix/regex.c: Fix typo and add a sentinel.
2353 2001-03-29  Ulrich Drepper  <drepper@redhat.com>
2355         * sysdeps/unix/sysv/linux/shm_open.c: Open new file always with
2356         O_NOFOLLOW.  Suggested by Christoph Roland.
2358 2001-03-27  Martin Schwidefsky  <schwidefsky@de.ibm.com>
2360         * sysdeps/s390/bits/string.h: New unified 31/64 bit string.h.
2361         * sysdeps/s390/s390-32/bits/string.h: Remove.
2362         * sysdeps/s390/s390-64/bits/string.h: Remove.
2363         * sysdeps/s390/s390-32/strcmp.S: New file.
2364         * sysdeps/s390/s390-64/strcmp.S: New file.
2366 2001-03-27  Martin Schwidefsky  <schwidefsky@de.ibm.com>
2368         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Fix typo.
2369         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
2371 2001-03-27  Ulrich Drepper  <drepper@redhat.com>
2373         * version.h (VERSION): Bump to 2.2.3.
2375         * stdlib/isomac.c (fmt): Don't define _LIBC.
2376         * include/endian.h: Define BIG_ENDI, LITTLE_ENDI, HIGH_HALF, and
2377         LOW_HALF only if _LIBC is defined.
2379         * sysdeps/i386/fpu/libm-test-ulps: Slight adjustment of yn() error.
2381         * posix/fnmatch_loop.c (FCT): Handle !() after * special like @()
2382         and +().
2383         * posix/tst-fnmatch.input: Add test cases for matching empty strings.
2385         * sysdeps/ieee754/dbl-64/endian.h: Removed.  Move definitions...
2386         * include/endian.h: ...to here.
2388 2001-03-27  kaz Kojima  <kkojima@rr.iij4u.or.jp>
2390         * sysdeps/sh/sys/ucontext.h (NFREG): Rename to NFPREG.
2391         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (NFREG): Likewise.
2393 2001-03-27  Martin Schwidefsky  <schwidefsky@de.ibm.com>
2395         * sysdeps/unix/sysv/linux/s390/ldconfig.h: Fix typo.
2397 2001-03-26  Ulrich Drepper  <drepper@redhat.com>
2399         * sysdeps/ia64/fpu/Dist: Add new files to distribute.
2400         * sysdeps/unix/sysv/linux/s390/s390-64/Dist: Likewise.
2401         * sysdeps/unix/sysv/linux/ia64/Dist: Likewise.
2403         * gmon/Makefile (headers): Add sys/profil.h.
2405 2001-03-18  Andreas Jaeger  <aj@suse.de>
2407         * manual/install.texi (Tools for Compilation): Advise to use GCC
2408         2.95.3.
2409         (Supported Configurations): Mention s390x.
2411 2001-03-26  Ben Collins  <bcollins@debian.org>
2413         * sysdeps/unix/sysv/linux/mips/bits/mman.h: Add MAP_* and MADV_*
2414         defines to match other architectures.
2416 2001-03-26  Ulrich Drepper  <drepper@redhat.com>
2418         * libio/Makefile (tests): Add tst-ext.
2419         * libio/tst-ext.c: New file.
2421         * libio/iosetvbuf.c (_IO_setvbuf): Clear line buffer flag for _IONBF.
2423 2001-03-25  Ulrich Drepper  <drepper@redhat.com>
2425         Add changes which were in this form in the original patch by
2426         Eric Norum <eric.norum@usask.ca>.
2427         * include/rpc/rpc.h: Remove svc_fdset, rpc_createerr, svc_pollfd, and
2428         svc_max_pollfd.
2429         * sunrpc/rpc/rpc.h: Declare __rpc_thread_svc_fdset,
2430         __rpc_thread_createerr, __rpc_thread_svc_pollfd, and
2431         __rpc_thread_svc_max_pollfd.
2432         Define svc_fdset, get_rpc_createerr, svc_pollfd, and
2433         svc_max_pollfd.
2434         * sunrpc/rpc_thread.c: Handle first thread special, it uses the
2435         global variables.
2436         Define __rpc_thread_svc_fdset, __rpc_thread_createerr,
2437         __rpc_thread_svc_pollfd, and __rpc_thread_svc_max_pollfd.
2438         * sunrpc/Versions [libc] (GLIBC_2.2.3): Export  __rpc_thread_svc_fdset,
2439         __rpc_thread_createerr, __rpc_thread_svc_pollfd, and
2440         __rpc_thread_svc_max_pollfd.
2441         * sunrpc/clnt_gen.c: Replace use of rpc_createerr by call to
2442         get_rpc_createerr.
2443         * sunrpc/clnt_perr.c: Likewise.
2444         * sunrpc/clnt_simp.c: Likewise.
2445         * sunrpc/clnt_tcp.c: Likewise.
2446         * sunrpc/clnt_udp.c: Likewise.
2447         * sunrpc/clnt_unix.c: Likewise.
2448         * sunrpc/pm_getport.c: Likewise.
2450         * sysdeps/unix/sysv/linux/i386/getgroups.c (__getgroups): getgroups32
2451         syscall checks for negative n so don't test here as well.
2453 2001-03-23  Jes Sorensen  <jes@linuxcare.com>
2455         * sysdeps/unix/sysv/linux/ia64/sysdep.h (ENTRY): Moved to ...
2456         * sysdeps/ia64/sysdep.h: ...here.
2458         * sysdeps/ia64/sysdep.h (LOCAL_ENTRY): Define.
2459         * sysdeps/ia64/sysdep.h (LOCAL_LEAF): Define.
2461         * sysdeps/ia64/_mcount.S (_mcount_ret_helper): Use LOCAL_LEAF() to
2462         declare instead of LEAF().  Suggestion from David Mosberger.
2464 2001-03-21  David Mosberger  <davidm@hpl.hp.com>
2466         * sysdeps/unix/sysv/linux/ia64/sysdep.h (CALL_MCOUNT): Add unwind
2467         directives.
2468         (PSEUDO): Drop .psr and .lsb directives.
2470         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Ditto.  Add unwind
2471         directives.
2472         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Ditto.
2474         * sysdeps/ia64/elf/start.S: Misc cleanup: remove .psr and .lsb
2475         directives etc.
2476         * sysdeps/unix/sysv/linux/ia64/brk.S: Ditto.
2477         * sysdeps/unix/sysv/linux/ia64/__longjmp.S: Ditto.
2478         * sysdeps/ia64/_mcount.S: Remove .psr and .lsb directives (no
2479         longer needed).  Add unwind directives.
2481         * sysdeps/ia64/sysdep.h: Define ASM_UNW_PRLG_RP, ASM_UNW_PRLG_PFS,
2482         ASM_UNW_PRLG_PSP, ASM_UNW_PRLG_PR, and ASM_UNW_PRLG_GRSAVE.
2484 2001-03-21  Paul Eggert  <eggert@twinsun.com>
2486         * posix/regex.h (RE_INVALID_INTERVAL_ORD): New macro.
2487         (RE_SYNTAX_POSIX_EGREP): Use it.
2488         * posix/regex.c (regex_compile): Implement it.
2490 2001-03-21  Paul Eggert  <eggert@twinsun.com>
2492         * posix/regex.c (GET_UNSIGNED_NUMBER): Check for overflow.
2493         Rewrite to avoid duplicate code.
2495 2001-03-21  H.J. Lu  <hjl@gnu.org>
2497         * elf/Makefile (tests): Don't depend on $(objpfx)tst-pathopt.out
2498         for cross-compiling.
2499         ($(objpfx)tst-pathopt.out): Undo the last change.
2501 2001-03-24  Mark Kettenis  <kettenis@gnu.org>
2503         * sysdeps/mach/hurd/i386/bits/sigcontext.h (sc_sp, sc_fp, sc_pc,
2504         sc_ps): Define as aliases for sc_uesp, sc_ebl, sc_eip and sc_efl.
2506         * sysdeps/mach/hurd/i386/init-first.c: Include <assert.h>.
2507         (_dl_argv): Declare.
2508         (init) [SHARED]: Readjust _dl_argv if we switched to a new stack.
2510 2001-03-22  Andreas Jaeger  <aj@suse.de>
2512         * iconvdata/Makefile (generated): Add iconv-test.xxx.
2514         * posix/Makefile (generated): Add bug-regex2.mtrace and
2515         bug-regex2-mem.
2517 2001-03-21  Ulrich Drepper  <drepper@redhat.com>
2519         * csu/version.c (__gnu_get_libc_release): Add prototype.
2520         (__gnu_get_libc_version): Likewise.
2521         * include/gnu/libc-version.h: Remove prototypes for not exported
2522         functions.
2524 2001-03-21  Jes Sorensen  <jes@linuxcare.com>
2526         * sysdeps/unix/sysv/linux/ia64/makecontext.c: Include libintl.h
2527         for internationalized printfs to work.
2529 2001-03-09  Bruno Haible  <haible@clisp.cons.org>
2531         * intl/dcigettext.c (transmem_block_t): Change to unsigned char, to
2532         avoid compiler warning.
2533         (_nl_find_msg): Add casts to avoid compiler warnings.
2535 2001-03-21  Ulrich Drepper  <drepper@redhat.com>
2537         * gmon/Makefile (routines): Add sprofil.
2538         (tests): Add tst-sprofil.
2539         (noprof): Add sprofil.
2540         * gmon/Versions [libc] (GLIBC_2.2.3): Add sprofil.
2542 2001-03-20  David Mosberger  <davidm@hpl.hp.com>
2544         * sysdeps/generic/sprofil.c: New file.
2545         * sysdeps/posix/sprofil.c: New file.
2546         * gmon/tst-sprofil.c: New file.
2547         * gmon/sys/profil.h: New file.
2549 2001-03-20  Andreas Schwab  <schwab@suse.de>
2551         * include/unistd.h: Adjust prototype of __gethostname.
2553 2001-03-20  Jakub Jelinek  <jakub@redhat.com>
2555         * sysdeps/sparc/stackinfo.h: New file.
2557 2001-03-21  Andreas Jaeger  <aj@suse.de>
2559         * elf/global.c (main): Use proper prototype.
2561 2001-03-20  Ulrich Drepper  <drepper@redhat.com>
2563         * sunrpc/Makefile (routines): Add rpc_thread.
2564         (CPPFLAGS): Add -D_RPC_THREAD_SAFE.
2565         * sunrpc/rpc_thread.c: New file.
2566         * sunrpc/Versions [libc] (GLIBC_2.2.3): Export __rpc_thread_destroy.
2567         * sunrpc/auth_none.c: Don't use global variables.  Access state in
2568         thread-local storage.
2569         * sunrpc/clnt_perr.c: Likewise.
2570         * sunrpc/clnt_raw.c: Likewise.
2571         * sunrpc/clnt_simp.c: Likewise.
2572         * sunrpc/key_call.c: Likewise.
2573         * sunrpc/rpc_common.c: Likewise.
2574         * sunrpc/svc.c: Likewise.
2575         * sunrpc/svc_raw.c: Likewise.
2576         * sunrpc/svc_simple.c: Likewise.
2577         * sunrpc/svcauth_des.c: Likewise.
2578         * hurd/hurd/threadvar.h (enum __hurd_threadvar_index): Add
2579         _HURD_THREADVAR_RPC_VARS.
2580         * sysdeps/generic/bits/libc-tsd.h: Mention _LIBC_TSD_KEY_RPC_VARS.
2581         * include/rpc/rpc.h: Define data structures for internal thread-local
2582         "global" variables.
2583         Based on patches by Eric Norum <eric.norum@usask.ca>.
2585         * elf/dl-load.c: Various little optimizations.
2587         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Return
2588         LINUX_LINK_MAX only if the statfs function is not implemented for
2589         the filesystem.
2591         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Return
2592         LINUX_LINK_MAX only if the fstatfs function is not implemented for
2593         the filesystem.
2595 2001-03-19  Ulrich Drepper  <drepper@redhat.com>
2597         * elf/dl-dst.h (DL_DST_COUNT): Add __builtin_expect.
2599         * elf/dl-load.c (_dl_dst_count): Make DST recognition more robust.
2600         (_dl_dst_substitute): Likewise.
2602 2001-03-17  Bruno Haible  <haible@clisp.cons.org>
2604         * intl/loadmsgcat.c (_nl_load_domain) [!_LIBC]: Use fstat, not fstat64.
2606 2001-03-17  Bruno Haible  <haible@clisp.cons.org>
2608         * intl/gettextP.h (struct expression): Add operators lnot, less_than,
2609         greater_than, less_or_equal, greater_or_equal. Replace args2/args3
2610         union by a 'nargs' counter and an 'args[]' array.
2611         * intl/plural.y: Don't include stdarg.h.
2612         (new_exp): Take an array of arguments instead of varargs.
2613         (new_exp_0, new_exp_1, new_exp_2, new_exp_3): New functions.
2614         ('?' ':'): Make right-associative.
2615         (EQUOP2): New token, replaces '=' and '!'.
2616         (CMPOP2): New token.
2617         (ADDOP2): New token, replaces '+' and '-'.
2618         (MULOP2): New token, replaces '*', '/' and '%'.
2619         ('!'): New token.
2620         (exp): Add rules for CMPOP2 and '!'. Don't call YYABORT.
2621         (start): Call YYABORT here.
2622         (FREE_EXPRESSION): Update.
2623         (yylex): Don't skip "\\n". Recognize comparison and '!' operators.
2624         Update for new token symbols.
2625         * intl/loadmsgcat.c (plvar, plone, germanic_plural,
2626         init_germanic_plural): Update.
2627         * intl/dcigettext.c (_nl_find_msg): Optimize for space.
2628         (plural_eval): Recognize comparison and '!' operators. Optimize for
2629         space.
2631 2001-03-10  Bruno Haible  <haible@clisp.cons.org>
2633         * intl/loadmsgcat.c (_nl_load_domain): locale_charset() doesn't return
2634         NULL any more.
2636 2001-01-05  Bruno Haible  <haible@clisp.cons.org>
2638         * intl/loadmsgcat.c: Include headers needed for alloca().
2639         (freea): New macro.
2640         (_nl_load_domain): Add fallback code for platforms lacking alloca.
2641         * intl/localealias.c: (ADD_BLOCK, FREE_BLOCK): Remove macros.
2642         (freea): New macro.
2643         (read_alias_file): Simplify fallback code for platforms lacking
2644         alloca.
2646 2001-01-07  Bruno Haible  <haible@clisp.cons.org>
2648         * intl/gettextP.h (__gettextdebug): Remove declaration.
2649         (__gettext_free_exp, __gettextparse): Convert prototype to K&R C
2650         syntax.
2651         (gettext_free_exp__, gettextparse__): New non-libc declarations.
2652         * intl/plural.y [!_LIBC]: Define gettextparse__, gettext_free_exp__,
2653         not __gettextparse, __gettext_free_exp.
2654         * intl/loadmsgcat.c [!_LIBC]: Use gettextparse__, not __gettextparse.
2656 2001-02-24  Bruno Haible  <haible@clisp.cons.org>
2658         * intl/dcigettext.c: Update comment about HAVE_LOCALE_NULL.
2660 2001-01-05  Bruno Haible  <haible@clisp.cons.org>
2662         * intl/loadmsgcat.c (_nl_load_domain): Add fallback code for platforms
2663         lacking strtoul, like SunOS4.
2665 2001-01-05  Bruno Haible  <haible@clisp.cons.org>
2667         * intl/l10nflist.c (_nl_normalize_codeset): Use tolower, not _tolower.
2669 2001-01-05  Bruno Haible  <haible@clisp.cons.org>
2671         * intl/bindtextdom.c (set_binding_values): Convert prototype to K&R C
2672         syntax.
2673         * intl/dcigettext.c (transcmp): Convert to K&R C syntax.
2674         * intl/explodename.c (_nl_find_language): Convert to K&R C syntax.
2675         * intl/plural.y (__gettext_free_exp, yylex, yyerror): Convert to K&R C
2676         syntax.
2678 2001-01-07  Bruno Haible  <haible@clisp.cons.org>
2680         * intl/gettextP.h (gettext__, dgettext__, dcgettext__, textdomain__,
2681         bindtextdomain__, bind_textdomain_codeset__): New declarations, from
2682         old libgettext.h.
2683         * intl/bindtextdom.c: Include libgnuintl.h instead of libgettext.h.
2684         * intl/dcgettext.c: Likewise.
2685         * intl/dcigettext.c: Likewise.
2686         * intl/dcngettext.c: Likewise.
2687         * intl/dngettext.c: Likewise.
2688         * intl/finddomain.c: Likewise.
2689         * intl/ngettext.c: Likewise.
2690         * intl/textdomain.c: Likewise.
2691         * intl/dgettext.c: Include libgnuintl.h instead of libgettext.h.
2692         Include gettextP.h.
2693         * intl/gettext.c: Likewise.  Don't include locale.h.
2695 2001-03-17  Bruno Haible  <haible@clisp.cons.org>
2697         * intl/gettextP.h (ZERO): New macro.
2698         (struct binding): Always use ZERO.
2699         * intl/bindtextdom.c (offsetof): Provide fallback for platforms that
2700         lack it, like SunOS4.
2701         (set_binding_values): Use offsetof, not sizeof.
2702         * intl/dcigettext.c (offsetof): Provide fallback for platforms that
2703         lack it, like SunOS4.
2704         (ZERO): Remove macro.
2705         (struct transmem_list): Use ZERO.
2706         (DCIGETTEXT): Use offsetof, not sizeof.
2708 2001-03-17  Bruno Haible  <haible@clisp.cons.org>
2710         * intl/gettextP.h: Include <stddef.h>. Include gettext.h, for
2711         nls_uint32.
2712         * intl/bindtextdom.c: Don't include gettext.h.
2713         * intl/dcgettext.c: Likewise.
2714         * intl/dcigettext.c: Likewise.
2715         * intl/dcngettext.c: Likewise.
2716         * intl/dngettext.c: Likewise.
2717         * intl/finddomain.c: Likewise.
2718         * intl/localealias.c: Likewise.
2719         * intl/ngettext.c: Likewise.
2720         * intl/plural.y: Likewise.
2721         * intl/textdomain.c: Likewise.
2723 2001-03-17  Bruno Haible  <haible@clisp.cons.org>
2725         * intl/gettext.h: Don't include <stdio.h>.
2727 2001-03-17  Bruno Haible  <haible@clisp.cons.org>
2729         * intl/Makefile (CPPFLAGS): Set LOCALEDIR instead of GNULOCALEDIR.
2730         * intl/dcigettext.c (_nl_default_dirname): Initialize with LOCALEDIR.
2732 2001-03-19  Ulrich Drepper  <drepper@redhat.com>
2734         * sysdeps/unix/i386/i686/tempname.c: New file.
2736         * sysdeps/posix/tempname.c (__gen_tempname): If RANDOM_BITS is
2737         defined use this macro to get some bits of randomness instead of
2738         the usual gettimeofday or time calls.
2740 2001-03-16  Paul Eggert  <eggert@twinsun.com>
2742         * sysdeps/posix/tempname.c (uint64_t): Define to uintmax_t if
2743         not defined, and if UINT64_MAX is not defined.
2745 2001-03-19  Ulrich Drepper  <drepper@redhat.com>
2747         * elf/cache.c: Mark and have translated a few more messages.
2749 2001-03-19  Martin Schwidefsky  <schwidefsky@de.ibm.com>
2751         * elf/cache.c: Add case for FLAG_S390_LIB64.
2752         * sysdeps/generic/ldconfig.h: Add define for FLAG_S390_LIB64.
2753         * sysdeps/unix/sysv/linux/s390/ldconfig.h: New file.
2754         * sysdeps/unix/sysv/linux/s390/readelflib.c: New file.
2756 2001-03-19  Ulrich Drepper  <drepper@redhat.com>
2758         * string/Makefile (tests): Add tst-strxfrm.
2759         * string/tst-strxfrm.c: New file.  Based on a test case by Paul Eggert.
2760         * string/Depend: New file.
2762 2001-03-19  Paul Eggert  <eggert@twinsun.com>
2764         * string/strxfrm.c (strxfrm): strxfrm should return 0, not 1,
2765         when given the empty string in nontrivial locales.
2767 2001-03-17  H.J. Lu  <hjl@gnu.org>
2769         * manual/Makefile (install): Use $(INSTALL_DATA) instead of
2770         cp to install `dir'.
2772 2001-03-19  Andreas Schwab  <schwab@suse.de>
2774         * Makerules (build-shlib): Make sure exit codes get checked
2775         properly.
2777 2001-03-18  Ulrich Drepper  <drepper@redhat.com>
2779         * Makerules (build-shlib): Remove unnecessary slashes introduced in
2780         last change.
2782         * configure.in: Test for -Bgroup option of linker.
2783         * config.make.in: Define have-Bgroup.
2785         * conform/data/unistd.h-data: Require gethostname.
2786         * posix/unistd.h: Make gethostname prototype available for
2787         __USE_XOPEN2K.
2789         * crypt/Makefile: When generating DSO link with libc_nonshared.a.
2790         * debug/Makefile: Likewise.
2791         * dlfcn/Makefile: Likewise.
2792         * hesiod/Makefile: Likewise.
2793         * iconvdata/extra-module.mk: Likewise.
2794         * locale/Makefile: Likewise.
2795         * login/Makefile: Likewise.
2796         * math/Makefile: Likewise.
2797         * nis/Makefile: Likewise.
2798         * nss/Makefile: Likewise.
2799         * resolv/Makefile: Likewise.
2800         * rt/Makefile: Likewise.
2802 2001-03-17  Ulrich Drepper  <drepper@redhat.com>
2804         * inet/Makefile (tests): Remove left-over comment.
2806         * posix/unistd.h (gethostname): Change type of second parameter
2807         back to size_t as per upcoming XPG6.
2808         * sysdeps/unix/sysv/aix/gethostname.c: Change type of second
2809         parameter back to size_t as per upcoming XPG6.
2810         * sysdeps/unix/sysv/sysv4/gethostname.c: Likewise.
2811         * sysdeps/unix/sysv/gethostname.c: Likewise.
2812         * sysdeps/mach/hurd/gethostname.c: Likewise.
2813         * sysdeps/generic/gethostname.c: Likewise.
2815 2001-03-16  Ulrich Drepper  <drepper@redhat.com>
2817         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
2818         Handle NaN here.
2820         * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext):
2821         Internationalize.
2823 2001-02-06  Jakub Jelinek  <jakub@redhat.com>
2825         * elf/dl-load.c (_dl_map_object): Don't test l_opencount when
2826         looking for name matches.
2828 2001-02-26  Jakub Jelinek  <jakub@redhat.com>
2830         * sysdeps/generic/sigcontextinfo.h (CALL_SIGHANDLER): Define.
2831         * sysdeps/mach/hurd/i386/sigcontextinfo.h: Likewise.
2832         * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h: Likewise.
2833         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
2834         * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h: Likewise.
2835         * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h: Likewise.
2836         * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h: Likewise.
2837         * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h: Likewise.
2838         * sysdeps/unix/sysv/linux/s390/sigcontextinfo.h: Likewise.
2839         * sysdeps/unix/sysv/linux/sh/sigcontextinfo.h: Likewise.
2840         * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: Likewise.
2841         * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h: Likewise.
2843 2001-03-16  Ulrich Drepper  <drepper@redhat.com>
2845         * sysdeps/ieee754/ldbl-96/s_erfl.c: New file.
2846         Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>.
2848         * sysdeps/i386/fpu/libm-test-ulps: Adjust for addition of erfl and
2849         erfcl.
2850         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
2852 2001-03-16  David Mosberger  <davidm@hpl.hp.com>
2854         * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h (struct sigcontext):
2855         Drop hack that was needed for 2.1.1 kernel headers.
2857         * sysdeps/unix/sysv/linux/ia64/ucontext_i.h: New file.
2859         * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Rewrite to make it
2860         overlay with kernel's "struct sigcontext".
2862         * sysdeps/unix/sysv/linux/ia64/Makefile (sysdep_headers): Add
2863         sys/rse.h for "misc" subdir.
2864         (sysdep_routines): Add __start_context for "stdlib" subdir.
2866         * sysdeps/unix/sysv/linux/ia64/sys/rse.h: New file (based on
2867         kernel file of the same name).
2869         * stdlib/Makefile (tests): Add tst-setcontext.
2870         * stdlib/tst-setcontext.c: New file (based on a sample program by
2871         Uli Drepper).
2873         * sysdeps/unix/sysv/linux/ia64/setcontext.S: New file.
2874         * sysdeps/unix/sysv/linux/ia64/getcontext.S: New file.
2875         * sysdeps/unix/sysv/linux/ia64/__start_context.S: New file.
2876         * sysdeps/unix/sysv/linux/ia64/makecontext.c: New file.
2877         * sysdeps/unix/sysv/linux/ia64/swapcontext.c: New file.
2879         * sysdeps/unix/sysv/linux/ia64/__longjmp.S (__longjmp): Use extr.u
2880         instead of shift & and.
2882 2001-03-16  Martin Schwidefsky  <schwidefsky@de.ibm.com>
2884         * sysdeps/s390/s390-64/bits/huge_val.h: Move to...
2885         * sysdeps/s390/bits/huge_val.h: ...here.
2886         * sysdeps/s390/s390-32/bit/huge_val.h: Remove.
2887         * sysdeps/s390/s390-64/ffs.c: Move to...
2888         * sysdeps/s390/ffs.c: ...here.
2889         * sysdeps/s390/s390-32/ffs.c: Remove.
2891 2001-03-16  Jakub Jelinek  <jakub@redhat.com>
2893         * elf/ldconfig.c (search_dir): Remove bogus diagnostic, instead
2894         update osversion from more recent library.
2896 2001-03-13  Martin Schwidefsky  <schwidefsky@de.ibm.com>
2898         * sysdeps/unix/sysv/linux/s390/Dist: Move to...
2899         * sysdeps/unix/sysv/linux/s390/s390-32/Dist: ...here.
2900         * sysdeps/unix/sysv/linux/s390/Makefile: Move to...
2901         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: ...here.
2902         * sysdeps/unix/sysv/linux/s390/Versions: Move to...
2903         * sysdeps/unix/sysv/linux/s390/s390-32/Versions: ...here.
2904         * sysdeps/unix/sysv/linux/s390/alphasort64.c: Move to...
2905         * sysdeps/unix/sysv/linux/s390/s390-32/alphasort64.c: ...here.
2906         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Move to...
2907         * sysdeps/unix/sysv/linux/s390/s390-32/bits/fcntl.h: ...here.
2908         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Move to...
2909         * sysdeps/unix/sysv/linux/s390/s390-32/bits/mman.h: ...here.
2910         * sysdeps/unix/sysv/linux/s390/bits/resource.h: Move to...
2911         * sysdeps/unix/sysv/linux/s390/s390-32/bits/resource.h: ...here.
2912         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Move to...
2913         * sysdeps/unix/sysv/linux/s390/s390-32/bits/stat.h: ...here.
2914         * sysdeps/unix/sysv/linux/s390/chown.c: Move to...
2915         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: ...here.
2916         * sysdeps/unix/sysv/linux/s390/clone.S: Move to...
2917         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: ...here.
2918         * sysdeps/unix/sysv/linux/s390/fchown.c: Move to...
2919         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: ...here.
2920         * sysdeps/unix/sysv/linux/s390/fcntl.c: Move to...
2921         * sysdeps/unix/sysv/linux/s390/s390-32/fcntl.c: ...here.
2922         * sysdeps/unix/sysv/linux/s390/fxstat.c: Move to...
2923         * sysdeps/unix/sysv/linux/s390/s390-32/fxstat.c: ...here.
2924         * sysdeps/unix/sysv/linux/s390/getdents64.c: Move to...
2925         * sysdeps/unix/sysv/linux/s390/s390-32/getdents64.c: ...here.
2926         * sysdeps/unix/sysv/linux/s390/getegid.c: Move to...
2927         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: ...here.
2928         * sysdeps/unix/sysv/linux/s390/geteuid.c: Move to...
2929         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: ...here.
2930         * sysdeps/unix/sysv/linux/s390/getgid.c: Move to...
2931         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: ...here.
2932         * sysdeps/unix/sysv/linux/s390/getgroups.c: Move to...
2933         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: ...here.
2934         * sysdeps/unix/sysv/linux/s390/getresgid.c: Move to...
2935         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: ...here.
2936         * sysdeps/unix/sysv/linux/s390/getresuid.c: Move to...
2937         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: ...here.
2938         * sysdeps/unix/sysv/linux/s390/getrlimit.c: Move to...
2939         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: ...here.
2940         * sysdeps/unix/sysv/linux/s390/getrlimit64.c: Move to...
2941         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit64.c: ...here.
2942         * sysdeps/unix/sysv/linux/s390/getuid.c: Move to...
2943         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: ...here.
2944         * sysdeps/unix/sysv/linux/s390/lchown.c: Move to...
2945         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: ...here.
2946         * sysdeps/unix/sysv/linux/s390/lockf64.c: Move to...
2947         * sysdeps/unix/sysv/linux/s390/s390-32/lockf64.c: ...here.
2948         * sysdeps/unix/sysv/linux/s390/lxstat.c: Move to...
2949         * sysdeps/unix/sysv/linux/s390/s390-32/lxstat.c: ...here.
2950         * sysdeps/unix/sysv/linux/s390/mmap.S: Move to...
2951         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: ...here.
2952         * sysdeps/unix/sysv/linux/s390/mmap64.S: Move to...
2953         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: ...here.
2954         * sysdeps/unix/sysv/linux/s390/msgctl.c: Move to...
2955         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: ...here.
2956         * sysdeps/unix/sysv/linux/s390/oldgetrlimit64.c: Move to...
2957         * sysdeps/unix/sysv/linux/s390/s390-32/oldgetrlimit64.c: ...here.
2958         * sysdeps/unix/sysv/linux/s390/readdir64.c: Move to...
2959         * sysdeps/unix/sysv/linux/s390/s390-32/readdir64.c: ...here.
2960         * sysdeps/unix/sysv/linux/s390/readdir64_r.c: Move to...
2961         * sysdeps/unix/sysv/linux/s390/s390-32/readdir64_r.c: ...here.
2962         * sysdeps/unix/sysv/linux/s390/register-dump.h: Move to...
2963         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: ...here.
2964         * sysdeps/unix/sysv/linux/s390/scandir64.c: Move to...
2965         * sysdeps/unix/sysv/linux/s390/s390-32/scandir64.c: ...here.
2966         * sysdeps/unix/sysv/linux/s390/semctl.c: Move to...
2967         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: ...here.
2968         * sysdeps/unix/sysv/linux/s390/setegid.c: Move to...
2969         * sysdeps/unix/sysv/linux/s390/s390-32/setegid.c: ...here.
2970         * sysdeps/unix/sysv/linux/s390/seteuid.c: Move to...
2971         * sysdeps/unix/sysv/linux/s390/s390-32/seteuid.c: ...here.
2972         * sysdeps/unix/sysv/linux/s390/setfsgid.c: Move to...
2973         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: ...here.
2974         * sysdeps/unix/sysv/linux/s390/setfsuid.c: Move to...
2975         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: ...here.
2976         * sysdeps/unix/sysv/linux/s390/setgid.c: Move to...
2977         * sysdeps/unix/sysv/linux/s390/s390-32/setgid.c: ...here.
2978         * sysdeps/unix/sysv/linux/s390/setgroups.c: Move to...
2979         * sysdeps/unix/sysv/linux/s390/s390-32/setgroups.c: ...here.
2980         * sysdeps/unix/sysv/linux/s390/setregid.c: Move to...
2981         * sysdeps/unix/sysv/linux/s390/s390-32/setregid.c: ...here.
2982         * sysdeps/unix/sysv/linux/s390/setresgid.c: Move to...
2983         * sysdeps/unix/sysv/linux/s390/s390-32/setresgid.c: ...here.
2984         * sysdeps/unix/sysv/linux/s390/setresuid.c: Move to...
2985         * sysdeps/unix/sysv/linux/s390/s390-32/setresuid.c: ...here.
2986         * sysdeps/unix/sysv/linux/s390/setreuid.c: Move to...
2987         * sysdeps/unix/sysv/linux/s390/s390-32/setreuid.c: ...here.
2988         * sysdeps/unix/sysv/linux/s390/setrlimit.c: Move to...
2989         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: ...here.
2990         * sysdeps/unix/sysv/linux/s390/setuid.c: Move to...
2991         * sysdeps/unix/sysv/linux/s390/s390-32/setuid.c: ...here.
2992         * sysdeps/unix/sysv/linux/s390/shmctl.c: Move to...
2993         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: ...here.
2994         * sysdeps/unix/sysv/linux/s390/socket.S: Move to...
2995         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: ...here.
2996         * sysdeps/unix/sysv/linux/s390/sys/procfs.h: Move to...
2997         * sysdeps/unix/sysv/linux/s390/s390-32/sys/procfs.h: ...here.
2998         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Move to...
2999         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: ...here.
3000         * sysdeps/unix/sysv/linux/s390/syscall.S: Move to...
3001         * sysdeps/unix/sysv/linux/s390/s390-32/syscall.S: ...here.
3002         * sysdeps/unix/sysv/linux/s390/syscalls.list: Move to...
3003         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: ...here.
3004         * sysdeps/unix/sysv/linux/s390/sysdep.S: Move to...
3005         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: ...here.
3006         * sysdeps/unix/sysv/linux/s390/sysdep.h: Move to...
3007         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: ...here.
3008         * sysdeps/unix/sysv/linux/s390/versionsort64.c: Move to...
3009         * sysdeps/unix/sysv/linux/s390/s390-32/versionsort64.c: ...here.
3010         * sysdeps/unix/sysv/linux/s390/xstat.c: Move to...
3011         * sysdeps/unix/sysv/linux/s390/s390-32/xstat.c: ...here.
3013 2001-03-13  Martin Schwidefsky  <schwidefsky@de.ibm.com>
3015         * sysdeps/unix/sysv/linux/s390/s390-64/Dist: New file.
3016         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: New file.
3017         * sysdeps/unix/sysv/linux/s390/s390-64/bits/elfclass.h: New file.
3018         * sysdeps/unix/sysv/linux/s390/s390-64/bits/fcntl.h: New file.
3019         * sysdeps/unix/sysv/linux/s390/s390-64/bits/ipc.h: New file.
3020         * sysdeps/unix/sysv/linux/s390/s390-64/bits/mman.h: New file.
3021         * sysdeps/unix/sysv/linux/s390/s390-64/bits/msq.h: New file.
3022         * sysdeps/unix/sysv/linux/s390/s390-64/bits/resource.h: New file.
3023         * sysdeps/unix/sysv/linux/s390/s390-64/bits/sem.h: New file.
3024         * sysdeps/unix/sysv/linux/s390/s390-64/bits/shm.h: New file.
3025         * sysdeps/unix/sysv/linux/s390/s390-64/bits/sigaction.h: New file.
3026         * sysdeps/unix/sysv/linux/s390/s390-64/bits/siginfo.h: New file.
3027         * sysdeps/unix/sysv/linux/s390/s390-64/bits/sigstack.h: New file.
3028         * sysdeps/unix/sysv/linux/s390/s390-64/bits/stat.h: New file.
3029         * sysdeps/unix/sysv/linux/s390/s390-64/bits/types.h: New file.
3030         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: New file.
3031         * sysdeps/unix/sysv/linux/s390/s390-64/fstatfs64.c: New file.
3032         * sysdeps/unix/sysv/linux/s390/s390-64/ftruncate64.c: New file.
3033         * sysdeps/unix/sysv/linux/s390/s390-64/fxstat.c: New file.
3034         * sysdeps/unix/sysv/linux/s390/s390-64/fxstat64.c: New file.
3035         * sysdeps/unix/sysv/linux/s390/s390-64/getdents.c: New file.
3036         * sysdeps/unix/sysv/linux/s390/s390-64/getdents64.c: New file.
3037         * sysdeps/unix/sysv/linux/s390/s390-64/getrlimit64.c: New file.
3038         * sysdeps/unix/sysv/linux/s390/s390-64/glob.c: New file.
3039         * sysdeps/unix/sysv/linux/s390/s390-64/glob64.c: New file.
3040         * sysdeps/unix/sysv/linux/s390/s390-64/kernel_stat.h: New file.
3041         * sysdeps/unix/sysv/linux/s390/s390-64/lxstat.c: New file.
3042         * sysdeps/unix/sysv/linux/s390/s390-64/lxstat64.c: New file.
3043         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: New file.
3044         * sysdeps/unix/sysv/linux/s390/s390-64/mmap64.c: New file.
3045         * sysdeps/unix/sysv/linux/s390/s390-64/pread64.c: New file.
3046         * sysdeps/unix/sysv/linux/s390/s390-64/pwrite64.c: New file.
3047         * sysdeps/unix/sysv/linux/s390/s390-64/readdir.c: New file.
3048         * sysdeps/unix/sysv/linux/s390/s390-64/readdir64.c: New file.
3049         * sysdeps/unix/sysv/linux/s390/s390-64/readdir64_r.c: New file.
3050         * sysdeps/unix/sysv/linux/s390/s390-64/readdir_r.c : New file.
3051         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: New file.
3052         * sysdeps/unix/sysv/linux/s390/s390-64/setrlimit64.c: New file.
3053         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: New file.
3054         * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c: New file.
3055         * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c: New file.
3056         * sysdeps/unix/sysv/linux/s390/s390-64/sigsuspend.c: New file.
3057         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: New file.
3058         * sysdeps/unix/sysv/linux/s390/s390-64/statfs64.c: New file.
3059         * sysdeps/unix/sysv/linux/s390/s390-64/sys/procfs.h: New file.
3060         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: New file.
3061         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: New file.
3062         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: New file.
3063         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: New file.
3064         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: New file.
3065         * sysdeps/unix/sysv/linux/s390/s390-64/truncate64.c: New file.
3066         * sysdeps/unix/sysv/linux/s390/s390-64/xstat.c: New file.
3067         * sysdeps/unix/sysv/linux/s390/s390-64/xstat64.c: New file.
3069 2001-03-13  Martin Schwidefsky  <schwidefsky@de.ibm.com>
3071         * sysdeps/s390/Dist: Move to...
3072         * sysdeps/s390/390-32/Dist: ...here.
3073         * sysdeps/s390/Implies: Move to...
3074         * sysdeps/s390/s390-32/Implies: ...here.
3075         * sysdeps/s390/Makefile: Move to...
3076         * sysdeps/s390/s390-32/Makefile: ...here.
3077         * sysdeps/s390/Versions: Move to...
3078         * sysdeps/s390-32/s390/Versions: ...here.
3079         * sysdeps/s390/add_n.S: Move to...
3080         * sysdeps/s390/s390-32/add_n.S: ...here.
3081         * sysdeps/s390/addmul_1.S: Move to...
3082         * sysdeps/s390/s390-32/addmul_1.S: ...here.
3083         * sysdeps/s390/atomicity.h: Move to...
3084         * sysdeps/s390/s390-32/atomicity.h: ...here.
3085         * sysdeps/s390/backtrace.c: Move to...
3086         * sysdeps/s390/s390-32/backtrace.c: ...here.
3087         * sysdeps/s390/bcopy.S: Move to...
3088         * sysdeps/s390/s390-32/bcopy.S: ...here.
3089         * sysdeps/s390/bits/byteswap.h: Move to...
3090         * sysdeps/s390/s390-32/bits/byteswap.h: ...here.
3091         * sysdeps/s390/bits/huge_val.h: Move to...
3092         * sysdeps/s390/s390-32/bits/huge_val.h: ...here.
3093         * sysdeps/s390/bsd-_setjmp.S: Move to...
3094         * sysdeps/s390/s390-32/bsd-_setjmp.S: ...here.
3095         * sysdeps/s390/bsd-setjmp.S: Move to...
3096         * sysdeps/s390/s390-32/bsd-setjmp.S: ...here.
3097         * sysdeps/s390/bzero.S: Move to...
3098         * sysdeps/s390/s390-32/bzero.S: ...here.
3099         * sysdeps/s390/elf/bsd-_setjmp.S: Move to...
3100         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: ...here.
3101         * sysdeps/s390/elf/bsd-setjmp.S: Move to...
3102         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: ...here.
3103         * sysdeps/s390/elf/start.S: Move to...
3104         * sysdeps/s390/s390-32/elf/start.S: ...here.
3105         * sysdeps/s390/ffs.c: Move to...
3106         * sysdeps/s390/s390-32/ffs.c: ...here.
3107         * sysdeps/s390/memchr.S: Move to...
3108         * sysdeps/s390/s390-32/memchr.S: ...here.
3109         * sysdeps/s390/memcpy.S: Move to...
3110         * sysdeps/s390/s390-32/memcpy.S: ...here.
3111         * sysdeps/s390/memset.S: Move to...
3112         * sysdeps/s390/s390-32/memset.S: ...here.
3113         * sysdeps/s390/mul_1.S: Move to...
3114         * sysdeps/s390/s390-32/mul_1.S: ...here.
3115         * sysdeps/s390/s390-mcount.S: Move to...
3116         * sysdeps/s390/s390-32/s390-mcount.S: ...here.
3117         * sysdeps/s390/strcpy.S: Move to...
3118         * sysdeps/s390/s390-32/strcpy.S: ...here.
3119         * sysdeps/s390/strncpy.S: Move to...
3120         * sysdeps/s390/s390-32/strncpy.S: ...here.
3121         * sysdeps/s390/sub_n.S: Move to...
3122         * sysdeps/s390/s390-32/sub_n.S: ...here.
3124 2001-03-13  Martin Schwidefsky  <schwidefsky@de.ibm.com>
3126         * sysdeps/s390/s390-64/Dist: New file.
3127         * sysdeps/s390/s390-64/Implies: New file.
3128         * sysdeps/s390/s390-64/Makefile: New file.
3129         * sysdeps/s390/s390-64/__longjmp.c: New file.
3130         * sysdeps/s390/s390-64/add_n.S: New file.
3131         * sysdeps/s390/s390-64/atomicity.h: New file.
3132         * sysdeps/s390/s390-64/backtrace.c: New file.
3133         * sysdeps/s390/s390-64/bcopy.S: New file.
3134         * sysdeps/s390/s390-64/bits/byteswap.h: New file.
3135         * sysdeps/s390/s390-64/bits/huge_val.h: New file.
3136         * sysdeps/s390/s390-64/bits/setjmp.h: New file.
3137         * sysdeps/s390/s390-64/bits/string.h: New file.
3138         * sysdeps/s390/s390-64/bsd-_setjmp.S: New file.
3139         * sysdeps/s390/s390-64/bsd-setjmp.S: New file.
3140         * sysdeps/s390/s390-64/bzero.S: New file.
3141         * sysdeps/s390/s390-64/dl-machine.h: New file.
3142         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: New file.
3143         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: New file.
3144         * sysdeps/s390/s390-64/elf/setjmp.S: New file.
3145         * sysdeps/s390/s390-64/elf/start.S: New file.
3146         * sysdeps/s390/s390-64/ffs.c: New file.
3147         * sysdeps/s390/s390-64/initfini.c: New file.
3148         * sysdeps/s390/s390-64/memchr.S: New file.
3149         * sysdeps/s390/s390-64/memcpy.S: New file.
3150         * sysdeps/s390/s390-64/memset.S: New file.
3151         * sysdeps/s390/s390-64/s390x-mcount.S: New file.
3152         * sysdeps/s390/s390-64/setjmp.S: New file.
3153         * sysdeps/s390/s390-64/strcpy.S: New file.
3154         * sysdeps/s390/s390-64/strncpy.S: New file.
3155         * sysdeps/s390/s390-64/sub_n.S: New file.
3156         * sysdeps/s390/s390-64/sysdep.h: New file.
3158 2001-03-13  Martin Schwidefsky  <schwidefsky@de.ibm.com>
3160         * scripts/config.guess: Add support for Linux on 64 bit S/390.
3161         * scripts/config.sub: Likewise.
3163 2001-03-13  Martin Schwidefsky  <schwidefsky@de.ibm.com>
3165         * configure.in: Add support for 64 bit S/390.
3167         * elf/elf.h: Add new relocations for 64 bit S/390.
3169         * shlib-versions: Add rules for Linux on 64 bit S/390.
3171 2001-03-13  Martin Schwidefsky  <schwidefsky@de.ibm.com>
3173         * sysdeps/s390/__longjmp.c: Move to...
3174         * sysdeps/s390/s390-32/__longjmp.c: ...here.  Add code
3175         to load the floating point registers that should be saved
3176         according to the ABI.
3178         * sysdeps/s390/bits/setjmp.h: Move to...
3179         * sysdeps/s390/s390-32/bits/setjmp.h: ...here.  Avoid
3180         the use of long long in the __jmp_buf type definition.
3182         * sysdeps/s390/bits/string.h: Move to...
3183         * sysdeps/s390/s390-32/bits/string.h: ...here.  Add several missing
3184         #ifndef _FORCE_INLINES.
3186         * sysdeps/s390/dl-machine.h: Move to...
3187         * sysdeps/s390/s390-32/dl-machine.h: ...here.  Add a check for the
3188         executables EI_CLASS in elf_machine_matches_host.
3190         * sysdeps/s390/elf/setjmp.S: Move to...
3191         * sysdeps/s390/s390-32/elf/setjmp.S: ...here.  Replace
3192         branches to globally defined symbol __sigsetjmp by branches to
3193         a local label (this avoids the generation of a R_390_PC16DBL
3194         relocation in -fpic code).
3196         * sysdeps/s390/gmp-mparam.h: Use defines from <bits/wordsize.h> to
3197         calculate BITS_PER_MP_LIMB, BYTES_PER_MP_LIMB and BITS_PER_LONGINT.
3199         * sysdeps/s390/initfini.c: Move to...
3200         * sysdeps/s390/s390-32/initfini.c: ...here.  Replace ALIGN with
3201         ".align 4,0x07".
3203         * sysdeps/s390/setjmp.S: Move to...
3204         * sysdeps/s390/s390-32/setjmp.S: ...here.  Add code to store the
3205         floating point registers that should be saved according to the ABI.
3207         * sysdeps/s390/sys/ucontext.h: Remove since it is unused.
3209         * sysdeps/unix/sysv/linux/s390/sysdep.h: Move to...
3210         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: ...here. Include
3211         sysdeps/s390/s390-32/sysdep.h instead of sysdeps/s390/sysdep.h.
3213 2001-03-13  Martin Schwidefsky  <schwidefsky@de.ibm.com>
3215         * configure.in: Change machine=s390 to machine=s390/s390-32.
3217         * elf/elf.h: Correct comment for R_390_PLT16DBL.
3219 2001-03-12  Jakub Jelinek  <jakub@redhat.com>
3221         * csu/Makefile (abi-tag.h): Define OS and version separately, allow
3222         version to be overriden from config.h.
3223         * csu/abi-note.S: Use OS and version separately, include config.h.
3224         * elf/dl-load.c (_dl_osversion): New.
3225         (_dl_map_object_from_fd): Kill some warnings.
3226         (open_verify): Check .note.ABI-tag of the library if present.
3227         * elf/Makefile (CPPFLAGS-dl-load.c): Add -I$(csu-objpfx).
3228         * elf/cache.c (struct cache_entry): Add osversion.
3229         (print_entry): Print osversion.
3230         (print_cache): Pass osversion to it.
3231         (compare): Sort according to osversion.
3232         (save_cache): Set osversion.
3233         (add_to_cache): Add osversion argument.
3234         * sysdeps/generic/ldconfig.h (add_to_cache, process_file,
3235         process_elf_file): Add osversion argument.
3236         * elf/readlib.c (process_file): Likewise.
3237         * sysdeps/generic/readelflib.c (process_elf_file): Likewise.
3238         * sysdeps/unix/sysv/linux/ia64/readelflib.c (process_elf_file,
3239         process_elf32_file, process_elf64_file): Likewise.
3240         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file,
3241         process_elf32_file, process_elf64_file): Likewise.
3242         * sysdeps/unix/sysv/linux/sparc/readelflib.c (process_elf_file,
3243         process_elf32_file, process_elf64_file): Likewise.
3244         * elf/ldconfig.c (manual_link): Pass it.
3245         (search_dir): Issue diagnostic if two libs with the same soname in
3246         the same directory have different .note.ABI-tag.  Record osversion in
3247         dlib_entry and use it from there.
3248         (struct lib_entry): Remove.
3249         (struct dlib_entry): Add osversion.
3250         * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Check
3251         osversion.
3252         * sysdeps/generic/dl-cache.h (struct file_entry_new): Replace __unused
3253         field with osversion.
3254         * sysdeps/generic/ldsodefs.h (_dl_osversion): Declare.
3255         * sysdeps/unix/sysv/linux/init-first.c: Include ldsodefs.h.
3256         * sysdeps/unix/sysv/linux/dl-osinfo.h (DL_SYSDEP_OSCHECK): Save kernel
3257         version in _dl_osversion.
3258         * sysdeps/unix/sysv/linux/configure.in: Define __ABI_TAG_VERSION.
3259         * Makerules (build-shlib-helper, build-module-helper): New.
3260         (build-shlib, build-module-helper): Make sure .note.ABI-tag comes
3261         early.
3262         * config.h.in (__ABI_TAG_VERSION): Add.
3263         * elf/dl-minimal.c (__strtoul_internal): Set endptr on return.
3264         * sysdeps/unix/sysv/linux/i386/dl-librecon.h (EXTRA_LD_ENVVARS):
3265         Handle LD_ASSUME_KERNEL.
3266         * sysdeps/unix/sysv/linux/dl-librecon.h: New.
3268 2001-03-15  Ulrich Drepper  <drepper@redhat.com>
3270         * timezone/antarctica: Update from tzdata2001a.
3271         * timezone/asia: Likewise.
3272         * timezone/australasia: Likewise.
3273         * timezone/backward: Likewise.
3274         * timezone/etcetera: Likewise.
3275         * timezone/europe: Likewise.
3276         * timezone/leapseconds: Likewise.
3277         * timezone/northamerica: Likewise.
3278         * timezone/southamerica: Likewise.
3279         * timezone/systemv: Likewise.
3280         * timezone/yearistype: Likewise.
3281         * timezone/zone.tab: Likewise.
3282         * timezone/tzdump.c: Update from tzcode2001a.
3284 2001-03-15  H.J. Lu  <hjl@gnu.org>
3286         * intl/Makefile: Fix a typo.
3288 2001-03-14  David Mosberger  <davidm@hpl.hp.com>
3290         * gmon/gmon.c (write_call_graph): Avoid unaligned accesses when
3291         writing arc structures.
3293 2001-03-15  H.J. Lu  <hjl@gnu.org>
3295         * elf/Makefile ($(objpfx)tst-pathopt.out): Protected against
3296         cross-compiling.
3298 2001-03-13  Andreas Schwab  <schwab@suse.de>
3300         * posix/PTESTS2C.sed: Replace literal CRs by `\r'.
3302 2001-03-15  Ulrich Drepper  <drepper@redhat.com>
3304         * sysdeps/unix/sysv/linux/cmsg_nxthdr.c (__cmsg_nxthdr): Fix test
3305         for control message fitting into message data.
3306         Patch by James Antill <james@and.org>.
3308         * posix/tst-fnmatch.input: Add test case for FNM_PERIOD handling with
3309         FNM_EXTMATCH.
3311         * posix/fnmatch_loop.c: Optimize handling of ?() and @().
3312         * posix/fnmatch.c: Define STRLEN and STRCAT appropriately.
3314         * posix/Versions [libc] (GLIBC_2.2.3): Add fnmatch.
3315         * posix/fnmatch.c: Define with new default version GLIBC_2.2.3 to
3316         avoid running binaries with libc versions without FNM_EXTMATCH support.
3318         * include/wchar.h: Add prototype for __wcscat.
3319         * wcsmbs/wcscat.c: Define __wcscat and make wcscat weak alias.
3321         * posix/fnmatch.h (FNM_EXTMATCH): Define.
3322         * posix/fnmatch.c (NO_LEADING_PERIOD): Define.
3323         (posixly_correct): Move global variable here.
3324         (INT, EXT, END): Name new functions defined in fnmatch_loop.c.
3325         (fnmatch): Pretty printing.
3326         * posix/fnmatch_loop.c: Add code to handle FNM_EXTMATCH.
3327         * posix/tst-fnmatch.c: Recognize EXTMATCH flag.
3328         * posix/tst-fnmatch.input: Add tests for extended matching.
3330         * posix/testfnm.c: Add test for patterns with multiple ** before /.
3331         * posix/fnmatch_loop.c: Fix problem with the test above.
3333 2001-03-14  Ulrich Drepper  <drepper@redhat.com>
3335         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Remove
3336         reference to usqrt.
3338         * resolv/res_data.c (fp_nquery): Call __res_ninit not __res_init.
3340 2001-03-12  Andreas Jaeger  <aj@suse.de>
3342         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
3343         Use EM_X86_64 instead of EM_X8664.
3345 2001-03-12  Ulrich Drepper  <drepper@redhat.com>
3347         * sysdeps/ieee754/dbl-64/upow.h: Define nZERO and nINF.
3349         * sysdeps/ieee754/dbl-64/e_remainder.c: Fix handling of boundary
3350         conditions.
3352         * sysdeps/ieee754/dbl-64/e_pow.c: Fix handling of boundary
3353         conditions.
3355         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Handle Inf and NaN
3356         correctly.
3357         (__cos): Likewise.
3359         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Handle NaN
3360         correctly.
3361         (__ieee754_acos): Likewise.
3363 2001-03-12  Andreas Jaeger  <aj@suse.de>
3365         * sysdeps/unix/sysv/linux/s390/sysdep.h (_LINUX_S390_SYSDEP_H):
3366         Fix typo.  Patch by Martin Schwidefsky  <schwidefsky@de.ibm.com>.
3368         * sysdeps/s390/bits/string.h: Protect __STRING_INLINE against
3369         redefinition.
3371 2001-03-11  Roland McGrath  <roland@frob.com>
3373         * sysdeps/mach/hurd/configure.in: Add a sanity check on $prefix.
3375 2001-03-11  Ulrich Drepper  <drepper@redhat.com>
3377         * sysdeps/ieee754/dbl-64/endian.h: Define also one of BIG_ENDI and
3378         LITTLE_ENDI.
3380         * sysdeps/ieee754/dbl-64/MathLib.h (Init_Lib): Use void as
3381         parameter list.
3383         Last-bit accurate math library implementation by IBM Haifa.
3384         Contributed by Abraham Ziv <ziv@il.ibm.com>, Moshe Olshansky
3385         <olshansk@il.ibm.com>, Ealan Henis <ealan@il.ibm.com>, and
3386         Anna Reitman <reitman@il.ibm.com>.
3387         * math/Makefile (dbl-only-routines): New variable.
3388         (libm-routines): Add $(dbl-only-routines).
3389         * sysdeps/ieee754/dbl-64/e_acos.c: Empty, definition is in e_asin.c.
3390         * sysdeps/ieee754/dbl-64/e_asin.c: Replaced with accurate asin
3391         implementation.
3392         * sysdeps/ieee754/dbl-64/e_atan2.c: Replaced with accurate atan2
3393         implementation.
3394         * sysdeps/ieee754/dbl-64/e_exp.c: Replaced with accurate exp
3395         implementation.
3396         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Don't use __kernel_sin and
3397         __kernel_cos.
3398         * sysdeps/ieee754/dbl-64/e_log.c: Replaced with accurate log
3399         implementation.
3400         * sysdeps/ieee754/dbl-64/e_remainder.c: Replaced with accurate
3401         remainder implementation.
3402         * sysdeps/ieee754/dbl-64/e_pow.c: Replaced with accurate pow
3403         implementation.
3404         * sysdeps/ieee754/dbl-64/e_sqrt.c: Replaced with accurate sqrt
3405         implementation.
3406         * sysdeps/ieee754/dbl-64/k_cos.c: Empty, definition is in s_sin.c.
3407         * sysdeps/ieee754/dbl-64/k_sin.c: Empty, definition is in s_sin.c.
3408         * sysdeps/ieee754/dbl-64/s_atan.c: Replaced with accurate atan
3409         implementation.
3410         * sysdeps/ieee754/dbl-64/s_cos.c: Empty, definition is in s_sin.c.
3411         * sysdeps/ieee754/dbl-64/s_sin.c: Replaced with accurate sin/cos
3412         implementation.
3413         * sysdeps/ieee754/dbl-64/s_sincos.c: Rewritten to not use __kernel_sin
3414         and __kernel_cos.
3415         * sysdeps/ieee754/dbl-64/s_tan.c: Replaced with accurate tan
3416         implementation.
3417         * sysdeps/ieee754/dbl-64/Dist: Add new non-code files.
3418         * sysdeps/ieee754/dbl-64/MathLib.h: New file.
3419         * sysdeps/ieee754/dbl-64/asincos.tbl: New file.
3420         * sysdeps/ieee754/dbl-64/atnat.h: New file.
3421         * sysdeps/ieee754/dbl-64/atnat2.h: New file.
3422         * sysdeps/ieee754/dbl-64/branred.c: New file.
3423         * sysdeps/ieee754/dbl-64/branred.h: New file.
3424         * sysdeps/ieee754/dbl-64/dla.h: New file.
3425         * sysdeps/ieee754/dbl-64/doasin.c: New file.
3426         * sysdeps/ieee754/dbl-64/doasin.h: New file.
3427         * sysdeps/ieee754/dbl-64/dosincos.c: New file.
3428         * sysdeps/ieee754/dbl-64/dosincos.h: New file.
3429         * sysdeps/ieee754/dbl-64/endian.h: New file.
3430         * sysdeps/ieee754/dbl-64/halfulp.c: New file.
3431         * sysdeps/ieee754/dbl-64/mpa.c: New file.
3432         * sysdeps/ieee754/dbl-64/mpa.h: New file.
3433         * sysdeps/ieee754/dbl-64/mpa2.h: New file.
3434         * sysdeps/ieee754/dbl-64/mpatan.c: New file.
3435         * sysdeps/ieee754/dbl-64/mpatan.h: New file.
3436         * sysdeps/ieee754/dbl-64/mpatan2.c: New file.
3437         * sysdeps/ieee754/dbl-64/mpexp.c: New file.
3438         * sysdeps/ieee754/dbl-64/mpexp.h: New file.
3439         * sysdeps/ieee754/dbl-64/mplog.c: New file.
3440         * sysdeps/ieee754/dbl-64/mplog.h: New file.
3441         * sysdeps/ieee754/dbl-64/mpsqrt.c: New file.
3442         * sysdeps/ieee754/dbl-64/mpsqrt.h: New file.
3443         * sysdeps/ieee754/dbl-64/mptan.c: New file.
3444         * sysdeps/ieee754/dbl-64/mydefs.h: New file.
3445         * sysdeps/ieee754/dbl-64/powtwo.tbl: New file.
3446         * sysdeps/ieee754/dbl-64/root.tbl: New file.
3447         * sysdeps/ieee754/dbl-64/sincos.tbl: New file.
3448         * sysdeps/ieee754/dbl-64/sincos32.c: New file.
3449         * sysdeps/ieee754/dbl-64/sincos32.h: New file.
3450         * sysdeps/ieee754/dbl-64/slowexp.c: New file.
3451         * sysdeps/ieee754/dbl-64/slowpow.c: New file.
3452         * sysdeps/ieee754/dbl-64/uasncs.h: New file.
3453         * sysdeps/ieee754/dbl-64/uatan.tbl: New file.
3454         * sysdeps/ieee754/dbl-64/uexp.h: New file.
3455         * sysdeps/ieee754/dbl-64/uexp.tbl: New file.
3456         * sysdeps/ieee754/dbl-64/ulog.h: New file.
3457         * sysdeps/ieee754/dbl-64/ulog.tbl: New file.
3458         * sysdeps/ieee754/dbl-64/upow.h: New file.
3459         * sysdeps/ieee754/dbl-64/upow.tbl: New file.
3460         * sysdeps/ieee754/dbl-64/urem.h: New file.
3461         * sysdeps/ieee754/dbl-64/uroot.h: New file.
3462         * sysdeps/ieee754/dbl-64/usncs.h: New file.
3463         * sysdeps/ieee754/dbl-64/utan.h: New file.
3464         * sysdeps/ieee754/dbl-64/utan.tbl: New file.
3465         * sysdeps/i386/fpu/branred.c: New file.
3466         * sysdeps/i386/fpu/doasin.c: New file.
3467         * sysdeps/i386/fpu/dosincos.c: New file.
3468         * sysdeps/i386/fpu/halfulp.c: New file.
3469         * sysdeps/i386/fpu/mpa.c: New file.
3470         * sysdeps/i386/fpu/mpatan.c: New file.
3471         * sysdeps/i386/fpu/mpatan2.c: New file.
3472         * sysdeps/i386/fpu/mpexp.c: New file.
3473         * sysdeps/i386/fpu/mplog.c: New file.
3474         * sysdeps/i386/fpu/mpsqrt.c: New file.
3475         * sysdeps/i386/fpu/mptan.c: New file.
3476         * sysdeps/i386/fpu/sincos32.c: New file.
3477         * sysdeps/i386/fpu/slowexp.c: New file.
3478         * sysdeps/i386/fpu/slowpow.c: New file.
3479         * sysdeps/ia64/fpu/branred.c: New file.
3480         * sysdeps/ia64/fpu/doasin.c: New file.
3481         * sysdeps/ia64/fpu/dosincos.c: New file.
3482         * sysdeps/ia64/fpu/halfulp.c: New file.
3483         * sysdeps/ia64/fpu/mpa.c: New file.
3484         * sysdeps/ia64/fpu/mpatan.c: New file.
3485         * sysdeps/ia64/fpu/mpatan2.c: New file.
3486         * sysdeps/ia64/fpu/mpexp.c: New file.
3487         * sysdeps/ia64/fpu/mplog.c: New file.
3488         * sysdeps/ia64/fpu/mpsqrt.c: New file.
3489         * sysdeps/ia64/fpu/mptan.c: New file.
3490         * sysdeps/ia64/fpu/sincos32.c: New file.
3491         * sysdeps/ia64/fpu/slowexp.c: New file.
3492         * sysdeps/ia64/fpu/slowpow.c: New file.
3493         * sysdeps/m68k/fpu/branred.c: New file.
3494         * sysdeps/m68k/fpu/doasin.c: New file.
3495         * sysdeps/m68k/fpu/dosincos.c: New file.
3496         * sysdeps/m68k/fpu/halfulp.c: New file.
3497         * sysdeps/m68k/fpu/mpa.c: New file.
3498         * sysdeps/m68k/fpu/mpatan.c: New file.
3499         * sysdeps/m68k/fpu/mpatan2.c: New file.
3500         * sysdeps/m68k/fpu/mpexp.c: New file.
3501         * sysdeps/m68k/fpu/mplog.c: New file.
3502         * sysdeps/m68k/fpu/mpsqrt.c: New file.
3503         * sysdeps/m68k/fpu/mptan.c: New file.
3504         * sysdeps/m68k/fpu/sincos32.c: New file.
3505         * sysdeps/m68k/fpu/slowexp.c: New file.
3506         * sysdeps/m68k/fpu/slowpow.c: New file.
3508         * iconvdata/gconv-modules: Add a number of alias, mostly for IBM
3509         codepages.
3511 2001-03-11  Andreas Jaeger  <aj@suse.de>
3513         * elf/elf.h (EM_*): Synch with official list.
3515 2001-03-07  David Mosberger  <davidm@hpl.hp.com>
3517         * sysdeps/ia64/bits/fenv.h (FE_NONIEEE_ENV): New macro.
3519 2001-03-07  Jes Sorensen  <jes@linuxcare.com>
3521         * sysdeps/unix/sysv/linux/ia64/ioperm.c (_ioperm): Remove unused
3522         variables addr & len.
3524 2001-02-22  Jes Sorensen  <jes@linuxcare.com>
3526         * sysdeps/ia64/fpu/feenablxcpt.c (feenableexcept): Remove
3527         punctuation in asm constraint.
3529 2001-03-07  Mark Kettenis  <kettenis@gnu.org>
3531         * resolv/netdb.h [__USE_GNU]: Define __need_timespec and include
3532         <time.h> to get definition of `struct timespec'.
3534 2001-03-08  Jakub Jelinek  <jakub@redhat.com>
3536         * elf/rtld.c (dl_main): If tracing, warn about undefined symbols if
3537         LD_WARN=1, not if LD_WARN is unset.
3539 2001-03-07  Andreas Schwab  <schwab@suse.de>
3541         * elf/ldconfig.h: Moved to ...
3542         * sysdeps/generic/ldconfig.h: ... here.
3543         * sysdeps/unix/sysv/linux/i386/ldconfig.h: New file.
3544         * sysdeps/unix/sysv/linux/m68k/ldconfig.h: New file.
3545         * sysdeps/unix/sysv/linux/ia64/ldconfig.h: New file.
3546         * elf/readlib.c (interpreters, known_libs): Use
3547         SYSDEP_KNOWN_INTERPRETER_NAMES and SYSDEP_KNOWN_LIBRARY_NAMES
3548         instead of hard coding old names.
3550 2001-03-09  Ulrich Drepper  <drepper@redhat.com>
3552         * catgets/Makefile (generated): Add test-gencat.h.
3553         (sample.SJIS.cat): Also generate header.
3554         * catgets/sample.SJIS: Add new set and message, both with symbolic
3555         names.
3556         * catgets/test-gencat.sh: Also compare generated header with what
3557         we expect.
3559 2001-03-07  Jakub Jelinek  <jakub@redhat.com>
3561         * catgets/gencat.c (read_input_file): Preserve properly symbolic
3562         names.
3564 2001-03-06  Andreas Jaeger  <aj@suse.de>
3566         * sysdeps/s390/dl-machine.h (elf_machine_relplt): Removed, it's not
3567         needed.
3568         (elf_machine_pltrel_p): Likewise.
3569         * sysdeps/powerpc/dl-machine.h: Likewise.
3570         * sysdeps/generic/dl-machine.h (elf_machine_pltrel_p): Likewise.
3572 2001-03-09  Ulrich Drepper  <drepper@redhat.com>
3574         * sysdeps/unix/sysv/linux/arm/Dist: Add dl-procinfo.c and
3575         dl-procinfo.h.
3577 2001-03-05  Philip Blundell  <philb@gnu.org>
3579         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c: New file.
3580         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h: New file.
3581         * sysdeps/unix/sysv/linux/arm/Makefile [subdir=elf]
3582         (sysdep-dl-routines, sysdep_routines, sysdep-rtld-routines): Add
3583         dl-procinfo.
3585 2001-03-09  Ulrich Drepper  <drepper@redhat.com>
3587         * dlfcn/tstatexit.c (main): Don't perform the test if __dso_handle
3588         is not available.
3589         * dlfcn/tstcxaatexit.c (main): Likewise.
3591 2001-03-10  Andreas Jaeger  <aj@suse.de>
3593         * sysdeps/i386/fpu/libm-test-ulps: Revert last patch.
3595 2001-03-09  Andreas Jaeger  <aj@suse.de>
3597         * sysdeps/s390/dl-machine.h (elf_machine_matches_host): Handle
3598         both new and old EM_S390 values.
3599         (EM_S390_OLD): New constant.
3601         * elf/elf.h (EM_S390): Use official value.
3603 2001-03-09  Ulrich Drepper  <drepper@redhat.com>
3605         * conform/data/sys/socket.h-data: Allow SO* symbols.
3607 2001-03-07  Andreas Schwab  <schwab@suse.de>
3609         * sysdeps/ia64/fpu/Makefile: Modify sysdep_routines instead of
3610         routines, and sysdep-CPPFLAGS instead of CPPFLAGS.
3612 2001-03-07  Andreas Jaeger  <aj@suse.de>
3614         * resolv/Makefile (routines): Only build gai_sigqueue when threads
3615         are available.
3617 2001-03-07  Jakub Jelinek  <jakub@redhat.com>
3619         * elf/ldconfig.c (_dl_sysdep_message): Remove.
3620         * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h: Include
3621         ldsodefs.h.
3622         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h: Likewise.
3624         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Use
3625         _dl_error_printf instead of _dl_sysdep_error.
3626         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
3627         * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h (_dl_procinfo):
3628         Use _dl_printf instead of _dl_sysdep_message.
3629         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h (_dl_procinfo):
3630         Likewise.
3632 2001-03-06  Ben Collins  <bcollins@debian.org>
3634         * manual/arith.texi (Integers): Fix documentation of fast and
3635         least integer typedefs.
3637 2001-03-06  Jakub Jelinek  <jakub@redhat.com>
3639         * resolv/Depend: New file.
3640         * resolv/Makefile (extra-libs, tests): Build libanl and ga_test only
3641         when libpthread is built.
3643 2001-03-06  Andreas Jaeger  <aj@suse.de>
3645         * sysdeps/i386/fpu/libm-test-ulps: Add some deltas.
3647         * sysdeps/sh/dl-machine.h (elf_machine_rela): Add missing comma.
3648         Patch by kaz Kojima <kkojima@rr.iij4u.or.jp>.
3650 2001-03-05  Ulrich Drepper  <drepper@redhat.com>
3652         * stdlib/Versions: Remove __new_exitfn again.  Not needed.
3654 2001-03-05  Andreas Jaeger  <aj@suse.de>
3656         * stdlib/msort.c (qsort): Don't use alloca in a function call.
3658 2001-03-05  Ulrich Drepper  <drepper@redhat.com>
3660         * sysdeps/unix/sysv/linux/bits/stat.h (__S_TYPEISMQ, __S_TYPEISSEM,
3661         __S_TYPEISSHM): Rewrite to enforce correct use the macros.  They still
3662         always return zero.
3663         * sysdeps/unix/sysv/linux/alpha/bits/stat.h: Likewise.
3664         * sysdeps/unix/sysv/linux/ia64/bits/stat.h: Likewise.
3665         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
3666         * sysdeps/unix/sysv/linux/m68k/bits/stat.h: Likewise.
3667         * sysdeps/unix/sysv/linux/mips/bits/stat.h: Likewise.
3668         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
3669         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
3671 2001-03-04  Andreas Jaeger  <aj@suse.de>
3673         * stdlib/longlong.h: Don't use multi-line strings.
3674         * iconvdata/tst-loading.c: Likewise.
3676         * csu/Makefile ($(objpfx)version-info.h): Don't use multi-line
3677         string.
3679 2001-03-04  Ulrich Drepper  <drepper@redhat.com>
3681         * sysdeps/ia64/fpu/libm-test-ulps: Adjust for addition of lgammal.
3683         * rt/lio_listio.c: Add a few asserts.
3685         * elf/global.c: New file.
3686         * elf/globalmod1.c: New file.
3687         * elf/Makefile: Add rules to build and run global.
3689         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Define SI_ASYNCNL.
3690         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
3691         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Likewise.
3692         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
3693         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/siginfo.h: Likewise.
3695         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: New file.
3696         Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>.
3698         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Fix handling of boundary cases.
3700         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Always initialize sign variable.
3701         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
3703         * sysdeps/i386/fpu/libm-test-ulps: Adjust after addition of lgammal.
3705         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Fix typo in last change.
3707 2001-03-04  Andreas Jaeger  <aj@suse.de>
3709         * resolv/tst-aton.c: Add testcase for IP with four periods.
3711         * resolv/inet_addr.c: Don't recognize an IP with four periods.
3712         Patch by Andre' Breiler <A.Breiler@gmx.net>.
3714 2001-02-27  Philip Blundell  <pb@futuretv.com>
3716         * elf/elf.h: Add new ARM definitions from latest (B-01)
3717         specification.  Correct naming of EF_ARM_ALIGN8 et al.
3719 2001-03-04  Ulrich Drepper  <drepper@redhat.com>
3721         * stdio-common/tst-printf.sh: Remove bashisms.
3722         Patch by Matthew Clarke <Matthew_Clarke@mindlink.bc.ca>.
3724 2001-03-03  Ulrich Drepper  <drepper@redhat.com>
3726         * Versions.def: Add libanl definition.
3727         * shlib-versions: Add entry for libanl.
3728         * resolv/Makefile (distribute): Add gai_misc.h and ga_test.c.
3729         (routines): Add gai_sigqueue.
3730         (extra-libs): Add libanl.
3731         (libanl-routines): New variable.
3732         Add rules to build libanl and ga_test.
3733         * resolv/Versions [libc] (GLIBC_2.2.3): Add __gai_sigqueue.
3734         [libanl]: New library.
3735         * resolv/netdb.h: Add definitions for libanl.
3736         * resolv/getaddrinfo_a.c: New file.
3737         * resolv/gai_cancel.c: New file.
3738         * resolv/gai_error.c: New file.
3739         * resolv/gai_misc.c: New file.
3740         * resolv/gai_misc.h: New file.
3741         * resolv/gai_notify.c: New file.
3742         * resolv/gai_suspend.c: New file.
3743         * resolv/ga_test.c: New file.
3744         * sysdeps/generic/gai_sigqueue.c: New file.
3745         * sysdeps/unix/sysv/linux/gai_sigqueue.c: New file.
3746         * sysdeps/generic/bits/siginfo.h: Allow __need_sigevent_t being defined
3747         and provide only that definition.
3748         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Likewise.
3749         * sysdeps/unix/sysv/linux/bits/siginfo.h: Likewise.
3750         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
3751         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Likewise.
3752         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
3753         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/siginfo.h: Likewise.
3755         * rt/aio_misc.c: Fix typos in comments.
3756         * rt/lio_listio.c: Pretty printing.  Little optimization in request
3757         list handling.
3759         * elf/rtld.c: Remove commented out code.
3761         * sysdeps/unix/sysv/linux/linux_fsinfo.h (SHMFS_SUPER_MAGIC):
3762         Update for real 2.4 kernels.
3764 2001-03-01  Ulrich Drepper  <drepper@redhat.com>
3766         * elf/dl-load.c: Pretty printing.
3768         * elf/dl-object.c (_dl_new_object): Don't add the loader's scope
3769         twice.
3771 2001-02-28  Ulrich Drepper  <drepper@redhat.com>
3773         * sysdeps/alpha/dl-machine.h (elf_machine_rela): Don't handle
3774         relocations which are not in ld.so if RTLD_BOOTSTRAP is defined.
3776         * sysdeps/powerpc/dl-machine.c (__process_machine_rela): Fix typo.
3778         * elf/dl-misc.c (_dl_debug_vdprintf): Fix typo visible on 64-bit
3779         machines.
3781         * sysdeps/unix/sysv/linux/powerpc/sysdep.h (C_TEXT): Define.
3783 2001-02-27  Ulrich Drepper  <drepper@redhat.com>
3785         * sysdeps/powerpc/elf/libc-start.c: Use new output functions and
3786         _dl_debug_mask.
3788         * elf/Versions [ld]: Don't export _dl_debug_message anymore.  Export
3789         _dl_debug_printf.
3790         * elf/dl-misc.c: Remove definition of _dl_sysdep_output and
3791         _dl_debug_message.  Define _dl_debug_vdprintf, _dl_debug_printf,
3792         _dl_debug_printf_c, and _dl_printf.
3793         * sysdeps/generic/ldsodefs.h: Don't declare _dl_sysdep_output,
3794         _dl_debug_message, _dl_sysdep_message, _dl_sysdep_error, and
3795         _dl_sysdep_fatal.  Declare _dl_debug_printf, _dl_debug_printf_c,
3796         _dl_printf, _dl_error_printf, and _dl_fatal_printf.
3797         * elf/dl-close.c: Replace use of old output functions with the new
3798         ones.
3799         * elf/dl-deps.c: Likewise.
3800         * elf/dl-error.c: Likewise.
3801         * elf/dl-fini.c: Likewise.
3802         * elf/dl-init.c: Likewise.
3803         * elf/dl-load.c: Likewise.
3804         * elf/dl-lookup.c: Likewise.
3805         * elf/dl-minimal.c: Likewise.
3806         * elf/dl-open.c: Likewise.
3807         * elf/dl-profile.c: Likewise.
3808         * elf/dl-reloc.c: Likewise.
3809         * elf/dl-version.c: Likewise.
3810         * elf/do-lookup.h: Likewise.
3811         * elf/rtld.c: Likewise.
3812         * sysdeps/generic/dl-cache.c: Likewise.
3813         * sysdeps/generic/dl-sysdep.c: Likewise.
3814         * sysdeps/generic/libc-start.c: Likewise.
3815         * sysdeps/i386/dl-machine.h: Likewise.
3816         * sysdeps/arm/dl-machine.h: Likewise.
3817         * sysdeps/hppa/dl-machine.h: Likewise.
3818         * sysdeps/m68k/dl-machine.h: Likewise.
3819         * sysdeps/powerpc/dl-machine.h: Likewise.
3820         * sysdeps/s390/dl-machine.h: Likewise.
3821         * sysdeps/sh/dl-machine.h: Likewise.
3822         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
3823         * sysdeps/unix/sysv/linux/i386/dl-librecon.h: Likewise.
3824         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
3826         * sysdeps/generic/ldsodefs.h: Remove _dl_secure declaration.
3828         * dlfcn/Makefile: Don't run tstatexit test unless .hidden is
3829         supported by assembler.
3831         * sysdeps/generic/ldsodefs.h: Remove commented-out variable
3832         declaractions.
3834         * elf/rtld.c: Little optimizations in handling _dl_lazy.
3836         * elf/cache.c (save_cache): Portability changes.
3837         * elf/dl-profile.c (_dl_start_profile): Likewise.
3839         * elf/sln.c: Cleanups.  Remove arbitrary limits.
3841         * elf/dl-close.c: Replace _dl_debug_* variables with _dl_debug_mask.
3842         * elf/dl-deps.c: Likewise.
3843         * elf/dl-fini.c: Likewise.
3844         * elf/dl-init.c: Likewise.
3845         * elf/dl-load.c: Likewise.
3846         * elf/dl-lookup.c: Likewise.
3847         * elf/dl-open.c: Likewise.
3848         * elf/dl-reloc.c: Likewise.
3849         * elf/dl-support.c: Likewise.
3850         * elf/dl-version.c: Likewise.
3851         * elf/do-lookup.h: Likewise.
3852         * elf/rtld.c: Likewise.
3853         * sysdeps/generic/dl-cache.c: Likewise.
3854         * sysdeps/generic/ldsodefs.h: Likewise.
3855         * sysdeps/generic/libc-start.c: Likewise.
3856         * elf/Versions: Don't export _dl_debug_impcalls and _dl_debug_files.
3857         Export _dl_debug_mask.
3858         * Versions.def: Define GLIBC_2.2.3 for ld.
3860 2001-02-26  Greg McGary  <greg@mcgary.org>
3862         * sysdeps/unix/make-syscalls.sh (ptr): Handle `V' keyletter.
3864 2001-02-26  Paul Eggert  <eggert@twinsun.com>
3866         Modify mkstemp.c and tempname.c so that they can be used by
3867         GNU applications on non-glibc platforms.
3869         * misc/mkstemp.c (__GT_FILE): Define to zero if not defined.
3871         * sysdeps/posix/tempname.c: Include <config.h> if HAVE_CONFIG_H.
3872         Include <stddef.h>, <stdint.h>, <string.h> only if
3873         STDC_HEADERS || _LIBC.
3874         Include <fcntl.h> only if HAVE_FCNTL_H || _LIBC.
3875         Include <unistd.h> only if HAVE_UNISTD_H || _LIBC.
3876         Include <sys/time.h> only if HAVE_SYS_TIME_H || _LIBC.
3877         (__set_errno): Define this macro if <errno.h> doesn't.
3878         (P_tmpdir, TMP_MAX, __GT_FILE, __GT_BIGFILE, __GT_DIR, __GT_NOCREATE):
3879         Define these macros if <stdio.h> doesn't.
3880         (S_ISDIR, S_IRUSR, S_IWUSR, S_IXUSR):
3881         Define these macros if <sys/stat.h> doesn't.
3882         Ignore <sys/stat.h> S_ISDIR if STAT_MACROS_BROKEN.
3883         (stat64, __getpid, __gettimeofday, __mkdir, __open, __open64,
3884         lxstat64, __xstat64): Define if not _LIBC.
3885         (struct_stat64): New macro.
3886         (direxists, __gen_tempname): Use it, to avoid a
3887         portability problem with Solaris 8.
3888         (__secure_getenv): Define if ! (HAVE___SECURE_GETENV || _LIBC).
3889         (__gen_tempname): Invoke gettimeofday only if
3890         HAVE_GETTIMEOFDAY || _LIBC; otherwise, fall back on plain "time".
3891         Use portable macros like S_IRUSR | S_IWUSR rather than nonportable
3892         octal values like 0600.
3894 2001-02-26  Ulrich Drepper  <drepper@redhat.com>
3896         * sysdeps/ieee754/ldbl-96/e_jnl.c: New file.
3897         Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>.
3899         * sysdeps/i386/fpu/libm-test-ulps: Update for jnl and ynl introduction.
3900         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
3902         * posix/wordexp-test.c (testit): Remove warnings.
3904         * dlfcn/Makefile (distribute): Add modatexit.c and modcxaatexit.c.
3905         (tests): Add tstatexit and tstcxaatexit.
3906         (module-names): Add modatexit and modcxaatexit.
3907         Add rules to build and run tstatexit and tstcxaatexit.
3908         * dlfcn/modatexit.c: New file.
3909         * dlfcn/modcxaatexit.c: New file.
3910         * dlfcn/tstatexit.c: New file.
3911         * dlfcn/tstcxaatexit.c: New file.
3913         * io/Makefile: Pass -DHAVE_DOT_HIDDEN to stat and mknod functions if
3914         .hidden is available.
3915         * io/stat.c: If .hidden is available use it to avoid exporting
3916         functions.
3917         * io/fstat.c: Likewise.
3918         * io/lstat.c: Likewise.
3919         * io/stat64.c: Likewise.
3920         * io/fstat64.c: Likewise.
3921         * io/lstat64.c: Likewise.
3922         * sysdeps/generic/mknod.c: Likewise.
3924         * malloc/mtrace.c: Use __cxa_atexit and not atexit.
3925         * sysdeps/generic/bb_init_func.c: Likewise.
3926         * sysdeps/generic/libc-start.c: Likewise.
3928         * stdlib/atexit.c (__new_exitfn): Move to cxa_atexit.c.
3929         (atexit): Implement using __cxa_atexit.
3930         Use .hidden if availble to avoid exporting atexit.
3931         * stdlib/cxa_atexit.c (__new_exitfn): Moved to here from atexit.c.
3932         * stdlib/Versions: Export __new_exitfn for GLIBC_2.2.3.
3933         * stdlib/Makefile (routines): Add old_atexit.
3934         (static-only-routines): Add atexit.
3935         Pass -DHAVE_DOT_HIDDEN for atexit.c if .hidden is available.
3936         * stdlib/old_atexit.c: New file.
3938         * intl/Makefile: Remove bogus endif.
3940 2001-02-26  Andreas Jaeger  <aj@suse.de>
3942         * iconvdata/Makefile (tests): Fix typo in last patch.
3944         * intl/Makefile (tests): Run mtrace-tst-gettext only when perl is
3945         available.
3946         Reported by Achim Gottinger <achim@gentoo.org>.
3948 2001-02-25  Andreas Jaeger  <aj@suse.de>
3950         * intl/Makefile (plural.c): Reorder rules so that they work if
3951         BISON doesn't exist.
3953 2001-02-25  Ulrich Drepper  <drepper@redhat.com>
3955         * intl/locale.alias: Don't use nb_NO but define aliases for it.
3957 2001-02-23  Ulrich Drepper  <drepper@redhat.com>
3959         * sysdeps/i386/strtok.S: Continue to return NULL after the first
3960         time this happened.
3962 2001-02-23  Andreas Jaeger  <aj@suse.de>
3964         * string/tester.c (test_strtok_r): Add testcase.
3965         (test_strtok_r): Always initialize cp for proper checking.
3967         * sysdeps/generic/strtok.c (strtok): Handle case of first strtok
3968         returning NULL correctly.
3969         Patch by Fumitoshi UKAI <ukai@debian.or.jp>.
3970         * sysdeps/generic/strtok_r.c (__strtok_r): Likewise.
3972 2001-02-23  Ulrich Drepper  <drepper@redhat.com>
3974         * sysdeps/unix/sysv/aix/bits/types.h: Define __need_NULL before
3975         including <stddef.h>.
3976         * sysdeps/unix/sysv/aix/write.c: Define alias __libc_write.
3977         * include/libc-symbols.h (weak_alias): Don't use .weak if
3978         HAVE_ASM_GLOBAL_DOT_NAME is defined.
3979         Patches by Michael Keezer <mkeezer@redhat.com>.
3981         * sysdeps/generic/ftime.c: Don't include <sys/time.h> at all.
3982         Patch by Michael Keezer <mkeezer@redhat.com>.
3984         * sysdeps/unix/sysv/aix/Dist: Remove restf.S and savef.S.
3985         * sysdeps/unix/sysv/aix/Makefile [$(subdir) == misc]
3986         (sysdep_routines): Remove restf.S and savef.S.
3987         * sysdeps/unix/sysv/aix/restf.S. Removed.
3988         * sysdeps/unix/sysv/aix/savef.S. Removed.
3989         * sysdeps/powerpc/fprrest.S: Use C_TEXT to define label.  Also define
3990         alternative names used on some platforms.
3991         * sysdeps/powerpc/fprsave.S: Likewise.
3992         * sysdeps/powerpc/gprrest0.S: Likewise.
3993         * sysdeps/powerpc/gprrest1.S: Likewise.
3994         * sysdeps/powerpc/gprsave0.S: Likewise.
3995         * sysdeps/powerpc/gprsave1.S: Likewise.
3996         Patch by Michael Keezer <mkeezer@redhat.com>.
3998 2001-02-22  Ulrich Drepper  <drepper@redhat.com>
4000         * sysdeps/i386/elf/start.S (_fp_hw): Actually define label.
4002 2001-02-22  Andreas Jaeger  <aj@suse.de>
4004         * string/tst-strtok.c (main): Fix error messages.
4006 2001-02-22  Andreas Jaeger  <aj@suse.de>
4008         * math/Makefile: Remove omit-long-double-fcts.
4010 2001-02-18  Maciej W. Rozycki  <macro@ds2.pg.gda.pl>
4012         * sysdeps/mips/bsd-_setjmp.S (_setjmp): Reorder instructions to
4013         avoid problems on MIPS I.
4014         * sysdeps/mips/bsd-setjmp.S (setjmp): Likewise.
4016         * sysdeps/mips/dl-machine.h (RTLD_START): Remove duplicate ".set
4017         noreorder".
4019 2001-02-21  Ulrich Drepper  <drepper@redhat.com>
4021         * posix/fnmatch_loop.c: Handle ranges outside glibc correctly.
4023         * sysdeps/generic/ftime.c: Include <time.h>.
4025         * configure.in: Don't check for libgd if user passed --without-gd.
4026         Patch by Achim Gottinger <achim@gentoo.org>.
4028         * sysdeps/i386/i686/strtok.S: Continue to return NULL after the
4029         first time this happened.
4030         * string/Makefile (tests): Add tst-strtok.
4032 2001-02-21  Andreas Jaeger  <aj@suse.de>
4034         * string/tst-strtok.c: New testcase, reported by
4035         Andrew Church <achurch@achurch.org>.
4037 2001-02-20  Ulrich Drepper  <drepper@redhat.com>
4039         * libio/iofwide.c: Remove fwide alias.
4041 2001-02-20  Andreas Jaeger  <aj@suse.de>
4043         * iconvdata/Makefile (tests): Only run mtrace-tst-loading if perl
4044         is available.
4045         Reported by Achim Gottinger <achim@gentoo.org>.
4047 2001-02-19  Ulrich Drepper  <drepper@redhat.com>
4049         * iconv/tst-iconv1.c (main): Remove debugging code.
4051         * sysdeps/ieee754/flt-32/e_powf.c: Handle x == +-1 correctly.
4052         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
4054         * sysdeps/generic/e_scalb.c: Set invalid exception for invalid
4055         parameters.
4056         * sysdeps/generic/e_scalbf.c: Likewise.
4057         * sysdeps/generic/e_scalbl.c: Likewise.
4059         * sysdeps/ia64/fpu/Makefile (libm-sysdep-routines): Add libm_error,
4060         libm_frexp4, libm_frexp4f, libm_frexp4l, and all the functions also
4061         in libc.
4062         (routines): Replace libm_error with libc_libm_error.
4063         * sysdeps/ia64/fpu/Dist: Add libc_libm_error.c.
4064         * sysdeps/ia64/fpu/libc_libm_error.c: New file.
4066 2001-02-18  Mark Kettenis  <kettenis@gnu.org>
4068         * malloc/mtrace.c [USE_IN_LIBIO]: Define fopen as _IO_fopen64.
4069         (mtrace): Revert 2001-02-13 patch: use fopen instead of fopen64.
4071 2001-02-17  H.J. Lu  <hjl@gnu.org>
4073         * sysdeps/unix/sysv/linux/ia64/clone2.S: Use clone2 and don't use
4074         scratch registers across the system call.
4076 2001-02-19  Andreas Jaeger  <aj@suse.de>
4078         * malloc/Makefile (tests): Run mtrace only when perl is available.
4079         Reported by Achim Gottinger <achim@gentoo.org>.
4081 2001-02-19  Ulrich Drepper  <drepper@redhat.com>
4083         * sysdeps/ieee754/ldbl-96/e_j1l.c: New file.
4084         Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>.
4086         * sysdeps/i386/fpu/libm-test-ulps: Adjust error values for j1 and y1.
4087         * sysdeps/ia64/fpu/libm-test-ulps: Adjust error values for y1.
4088         * math/libm-test.inc (j1_test): Mark constants as long double.
4089         (jn_test): Likewise.
4090         (y1_test): Likewise.
4091         (yn_test): Likewise.
4093         * libio/iogetline.c: Move return until after last statement.
4095         * localedata/show-ucs-data.c: Don't show < > for better readability.
4097         * sysdeps/ia64/fpu/Dist: New file.
4098         * sysdeps/ia64/fpu/Makefile: New file.
4099         * sysdeps/ia64/fpu/Versions: New file.
4100         * sysdeps/ia64/fpu/e_acos.S: New file.
4101         * sysdeps/ia64/fpu/e_acosf.S: New file.
4102         * sysdeps/ia64/fpu/e_acosl.S: New file.
4103         * sysdeps/ia64/fpu/e_asin.S: New file.
4104         * sysdeps/ia64/fpu/e_asinf.S: New file.
4105         * sysdeps/ia64/fpu/e_asinl.S: New file.
4106         * sysdeps/ia64/fpu/e_atan2.S: New file.
4107         * sysdeps/ia64/fpu/e_atan2f.S: New file.
4108         * sysdeps/ia64/fpu/e_atan2l.c: New file.
4109         * sysdeps/ia64/fpu/e_cosh.S: New file.
4110         * sysdeps/ia64/fpu/e_coshf.S: New file.
4111         * sysdeps/ia64/fpu/e_coshl.S: New file.
4112         * sysdeps/ia64/fpu/e_exp.S: New file.
4113         * sysdeps/ia64/fpu/e_expf.S: New file.
4114         * sysdeps/ia64/fpu/e_expl.c: New file.
4115         * sysdeps/ia64/fpu/e_fmod.S: New file.
4116         * sysdeps/ia64/fpu/e_fmodf.S: New file.
4117         * sysdeps/ia64/fpu/e_fmodl.S: New file.
4118         * sysdeps/ia64/fpu/e_hypot.S: New file.
4119         * sysdeps/ia64/fpu/e_hypotf.S: New file.
4120         * sysdeps/ia64/fpu/e_hypotl.S: New file.
4121         * sysdeps/ia64/fpu/e_log.S: New file.
4122         * sysdeps/ia64/fpu/e_log10.c: New file.
4123         * sysdeps/ia64/fpu/e_log10f.c: New file.
4124         * sysdeps/ia64/fpu/e_log10l.c: New file.
4125         * sysdeps/ia64/fpu/e_logf.S: New file.
4126         * sysdeps/ia64/fpu/e_logl.c: New file.
4127         * sysdeps/ia64/fpu/e_pow.S: New file.
4128         * sysdeps/ia64/fpu/e_powf.S: New file.
4129         * sysdeps/ia64/fpu/e_powl.S: New file.
4130         * sysdeps/ia64/fpu/e_rem_pio2.c: New file.
4131         * sysdeps/ia64/fpu/e_rem_pio2f.c: New file.
4132         * sysdeps/ia64/fpu/e_remainder.S: New file.
4133         * sysdeps/ia64/fpu/e_remainderf.S: New file.
4134         * sysdeps/ia64/fpu/e_remainderl.S: New file.
4135         * sysdeps/ia64/fpu/e_scalb.S: New file.
4136         * sysdeps/ia64/fpu/e_scalbf.S: New file.
4137         * sysdeps/ia64/fpu/e_scalbl.S: New file.
4138         * sysdeps/ia64/fpu/e_sinh.S: New file.
4139         * sysdeps/ia64/fpu/e_sinhf.S: New file.
4140         * sysdeps/ia64/fpu/e_sinhl.S: New file.
4141         * sysdeps/ia64/fpu/e_sqrt.S: New file.
4142         * sysdeps/ia64/fpu/e_sqrtf.S: New file.
4143         * sysdeps/ia64/fpu/e_sqrtl.S: New file.
4144         * sysdeps/ia64/fpu/k_rem_pio2.c: New file.
4145         * sysdeps/ia64/fpu/k_rem_pio2f.c: New file.
4146         * sysdeps/ia64/fpu/k_rem_pio2l.c: New file.
4147         * sysdeps/ia64/fpu/libm_atan2_reg.S: New file.
4148         * sysdeps/ia64/fpu/libm_error.c: New file.
4149         * sysdeps/ia64/fpu/libm_frexp4.S: New file.
4150         * sysdeps/ia64/fpu/libm_frexp4f.S: New file.
4151         * sysdeps/ia64/fpu/libm_frexp4l.S: New file.
4152         * sysdeps/ia64/fpu/libm_reduce.S: New file.
4153         * sysdeps/ia64/fpu/libm_support.h: New file.
4154         * sysdeps/ia64/fpu/libm_tan.S: New file.
4155         * sysdeps/ia64/fpu/s_atan.S: New file.
4156         * sysdeps/ia64/fpu/s_atanf.S: New file.
4157         * sysdeps/ia64/fpu/s_atanl.S: New file.
4158         * sysdeps/ia64/fpu/s_cbrt.S: New file.
4159         * sysdeps/ia64/fpu/s_cbrtf.S: New file.
4160         * sysdeps/ia64/fpu/s_cbrtl.S: New file.
4161         * sysdeps/ia64/fpu/s_ceil.S: New file.
4162         * sysdeps/ia64/fpu/s_ceilf.S: New file.
4163         * sysdeps/ia64/fpu/s_ceill.S: New file.
4164         * sysdeps/ia64/fpu/s_cos.S: New file.
4165         * sysdeps/ia64/fpu/s_cosf.S: New file.
4166         * sysdeps/ia64/fpu/s_cosl.S: New file.
4167         * sysdeps/ia64/fpu/s_expm1.S: New file.
4168         * sysdeps/ia64/fpu/s_expm1f.S: New file.
4169         * sysdeps/ia64/fpu/s_expm1l.S: New file.
4170         * sysdeps/ia64/fpu/s_floor.S: New file.
4171         * sysdeps/ia64/fpu/s_floorf.S: New file.
4172         * sysdeps/ia64/fpu/s_floorl.S: New file.
4173         * sysdeps/ia64/fpu/s_frexp.c: New file.
4174         * sysdeps/ia64/fpu/s_frexpf.c: New file.
4175         * sysdeps/ia64/fpu/s_frexpl.c: New file.
4176         * sysdeps/ia64/fpu/s_ilogb.S: New file.
4177         * sysdeps/ia64/fpu/s_ilogbf.S: New file.
4178         * sysdeps/ia64/fpu/s_ilogbl.S: New file.
4179         * sysdeps/ia64/fpu/s_ldexp.S: New file.
4180         * sysdeps/ia64/fpu/s_ldexpf.S: New file.
4181         * sysdeps/ia64/fpu/s_ldexpl.S: New file.
4182         * sysdeps/ia64/fpu/s_log1p.S: New file.
4183         * sysdeps/ia64/fpu/s_log1pf.S: New file.
4184         * sysdeps/ia64/fpu/s_log1pl.S: New file.
4185         * sysdeps/ia64/fpu/s_logb.S: New file.
4186         * sysdeps/ia64/fpu/s_logbf.S: New file.
4187         * sysdeps/ia64/fpu/s_logbl.S: New file.
4188         * sysdeps/ia64/fpu/s_matherrf.c: New file.
4189         * sysdeps/ia64/fpu/s_matherrl.c: New file.
4190         * sysdeps/ia64/fpu/s_modf.S: New file.
4191         * sysdeps/ia64/fpu/s_modff.S: New file.
4192         * sysdeps/ia64/fpu/s_modfl.S: New file.
4193         * sysdeps/ia64/fpu/s_nearbyint.S: New file.
4194         * sysdeps/ia64/fpu/s_nearbyintf.S: New file.
4195         * sysdeps/ia64/fpu/s_nearbyintl.S: New file.
4196         * sysdeps/ia64/fpu/s_rint.S: New file.
4197         * sysdeps/ia64/fpu/s_rintf.S: New file.
4198         * sysdeps/ia64/fpu/s_rintl.S: New file.
4199         * sysdeps/ia64/fpu/s_round.S: New file.
4200         * sysdeps/ia64/fpu/s_roundf.S: New file.
4201         * sysdeps/ia64/fpu/s_roundl.S: New file.
4202         * sysdeps/ia64/fpu/s_scalbn.S: New file.
4203         * sysdeps/ia64/fpu/s_scalbnf.S: New file.
4204         * sysdeps/ia64/fpu/s_scalbnl.S: New file.
4205         * sysdeps/ia64/fpu/s_significand.S: New file.
4206         * sysdeps/ia64/fpu/s_significandf.S: New file.
4207         * sysdeps/ia64/fpu/s_significandl.S: New file.
4208         * sysdeps/ia64/fpu/s_sin.c: New file.
4209         * sysdeps/ia64/fpu/s_sincos.c: New file.
4210         * sysdeps/ia64/fpu/s_sincosf.c: New file.
4211         * sysdeps/ia64/fpu/s_sincosl.c: New file.
4212         * sysdeps/ia64/fpu/s_sinf.c: New file.
4213         * sysdeps/ia64/fpu/s_sinl.c: New file.
4214         * sysdeps/ia64/fpu/s_tan.S: New file.
4215         * sysdeps/ia64/fpu/s_tanf.S: New file.
4216         * sysdeps/ia64/fpu/s_tanl.S: New file.
4217         * sysdeps/ia64/fpu/s_trunc.S: New file.
4218         * sysdeps/ia64/fpu/s_truncf.S: New file.
4219         * sysdeps/ia64/fpu/s_truncl.S: New file.
4220         * sysdeps/ia64/fpu/w_acos.c: New file.
4221         * sysdeps/ia64/fpu/w_acosf.c: New file.
4222         * sysdeps/ia64/fpu/w_acosl.c: New file.
4223         * sysdeps/ia64/fpu/w_asin.c: New file.
4224         * sysdeps/ia64/fpu/w_asinf.c: New file.
4225         * sysdeps/ia64/fpu/w_asinl.c: New file.
4226         * sysdeps/ia64/fpu/w_atan2.c: New file.
4227         * sysdeps/ia64/fpu/w_atan2f.c: New file.
4228         * sysdeps/ia64/fpu/w_atan2l.c: New file.
4229         * sysdeps/ia64/fpu/w_cosh.c: New file.
4230         * sysdeps/ia64/fpu/w_coshf.c: New file.
4231         * sysdeps/ia64/fpu/w_coshl.c: New file.
4232         * sysdeps/ia64/fpu/w_exp.c: New file.
4233         * sysdeps/ia64/fpu/w_expf.c: New file.
4234         * sysdeps/ia64/fpu/w_fmod.c: New file.
4235         * sysdeps/ia64/fpu/w_fmodf.c: New file.
4236         * sysdeps/ia64/fpu/w_fmodl.c: New file.
4237         * sysdeps/ia64/fpu/w_hypot.c: New file.
4238         * sysdeps/ia64/fpu/w_hypotf.c: New file.
4239         * sysdeps/ia64/fpu/w_hypotl.c: New file.
4240         * sysdeps/ia64/fpu/w_log.c: New file.
4241         * sysdeps/ia64/fpu/w_log10.c: New file.
4242         * sysdeps/ia64/fpu/w_log10f.c: New file.
4243         * sysdeps/ia64/fpu/w_log10l.c: New file.
4244         * sysdeps/ia64/fpu/w_logf.c: New file.
4245         * sysdeps/ia64/fpu/w_logl.c: New file.
4246         * sysdeps/ia64/fpu/w_pow.c: New file.
4247         * sysdeps/ia64/fpu/w_powf.c: New file.
4248         * sysdeps/ia64/fpu/w_powl.c: New file.
4249         * sysdeps/ia64/fpu/w_remainder.c: New file.
4250         * sysdeps/ia64/fpu/w_remainderf.c: New file.
4251         * sysdeps/ia64/fpu/w_remainderl.c: New file.
4252         * sysdeps/ia64/fpu/w_scalb.c: New file.
4253         * sysdeps/ia64/fpu/w_scalbf.c: New file.
4254         * sysdeps/ia64/fpu/w_scalbl.c: New file.
4255         * sysdeps/ia64/fpu/w_sqrt.c: New file.
4256         * sysdeps/ia64/fpu/w_sqrtf.c: New file.
4257         * sysdeps/ia64/fpu/w_sqrtl.c: New file.
4258         * sysdeps/ia64/fpu/libm-test-ulps: Adjust for long double
4259         implementation.
4260         * sysdeps/ia64/fpu/bits/mathdef.h: Correct float_t and double_t types.
4261         Change FP_ILOGBNAN for new implementation.
4262         * Verions.def: Add 2.2.3 versions.
4264 2001-02-18  Ulrich Drepper  <drepper@redhat.com>
4266         * math/libm-test.inc (scalb_test): Require invalid exception being
4267         raised for invalid parameters.
4268         * sysdeps/i386/fpu/e_scalb.S: Raise invalid exception if necessary.
4269         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
4270         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
4272 2001-02-18  Mark Kettenis  <kettenis@gnu.org>
4274         * sysdeps/mach/getsysstats.c (__get_phys_pages): Change return
4275         value to long int.
4276         (__get_avphys_pages): Likewise.
4278 2001-02-18  Ulrich Drepper  <drepper@redhat.com>
4280         * math/libm-test.inc (pow_test): Correct expected results for x == +-1.
4281         * sysdeps/i386/fpu/e_pow.S: Handle x == +-1 correctly.
4282         * sysdeps/i386/fpu/e_powf.S: Likewise.
4283         * sysdeps/i386/fpu/e_powl.S: Likewise.
4285         * sysdeps/i386/fpu/bits/mathinline.h: Remove pow inline code.
4287 2001-02-17  Ulrich Drepper  <drepper@redhat.com>
4289         * math/Makefile (libm-calls): It's e_exp2 not s_exp2.
4291         * sysdeps/generic/s_exp2l.c: Renamed to...
4292         * sysdeps/generic/e_exp2l.c: ...this.   New file.
4293         * sysdeps/i386/fpu/s_exp2.S: Renamed to...
4294         * sysdeps/i386/fpu/e_exp2.S: ...this.   New file.
4295         * sysdeps/i386/fpu/s_exp2f.S: Renamed to...
4296         * sysdeps/i386/fpu/e_exp2f.S: ...this.   New file.
4297         * sysdeps/i386/fpu/s_exp2l.S: Renamed to...
4298         * sysdeps/i386/fpu/e_exp2l.S: ...this.   New file.
4299         * sysdeps/ieee754/flt-32/s_exp2f.c: Renamed to...
4300         * sysdeps/ieee754/flt-32/e_exp2f.c: ...this.   New file.
4301         * sysdeps/ieee754/dbl-64/s_exp2.c: Renamed to...
4302         * sysdeps/ieee754/dbl-64/e_exp2.c: ...this.   New file.
4303         * sysdeps/m68k/fpu/s_exp2.c: Renamed to...
4304         * sysdeps/m68k/fpu/e_exp2.c: ...this.   New file.
4305         * sysdeps/m68k/fpu/s_exp2f.c: Renamed to...
4306         * sysdeps/m68k/fpu/e_exp2f.c: ...this.   New file.
4307         * sysdeps/m68k/fpu/s_exp2l.c: Renamed to...
4308         * sysdeps/m68k/fpu/e_exp2l.c: ...this.   New file.
4310 2001-02-17  Andreas Jaeger  <aj@suse.de>
4312         * configure.in: Allow gcc 3.
4314 2001-02-16  Ulrich Drepper  <drepper@redhat.com>
4316         * math/w_acos.c: Move to ...
4317         * sysdeps/generic/w_acos.c: ...here.  New file.
4318         * math/w_acosf.c: Move to ...
4319         * sysdeps/generic/w_acosf.c: ...here.  New file.
4320         * math/w_acosh.c: Move to ...
4321         * sysdeps/generic/w_acosh.c: ...here.  New file.
4322         * math/w_acoshf.c: Move to ...
4323         * sysdeps/generic/w_acoshf.c: ...here.  New file.
4324         * math/w_acoshl.c: Move to ...
4325         * sysdeps/generic/w_acoshl.c: ...here.  New file.
4326         * math/w_acosl.c: Move to ...
4327         * sysdeps/generic/w_acosl.c: ...here.  New file.
4328         * math/w_asin.c: Move to ...
4329         * sysdeps/generic/w_asin.c: ...here.  New file.
4330         * math/w_asinf.c: Move to ...
4331         * sysdeps/generic/w_asinf.c: ...here.  New file.
4332         * math/w_asinl.c: Move to ...
4333         * sysdeps/generic/w_asinl.c: ...here.  New file.
4334         * math/w_atan2.c: Move to ...
4335         * sysdeps/generic/w_atan2.c: ...here.  New file.
4336         * math/w_atan2f.c: Move to ...
4337         * sysdeps/generic/w_atan2f.c: ...here.  New file.
4338         * math/w_atan2l.c: Move to ...
4339         * sysdeps/generic/w_atan2l.c: ...here.  New file.
4340         * math/w_atanh.c: Move to ...
4341         * sysdeps/generic/w_atanh.c: ...here.  New file.
4342         * math/w_atanhf.c: Move to ...
4343         * sysdeps/generic/w_atanhf.c: ...here.  New file.
4344         * math/w_atanhl.c: Move to ...
4345         * sysdeps/generic/w_atanhl.c: ...here.  New file.
4346         * math/w_cosh.c: Move to ...
4347         * sysdeps/generic/w_cosh.c: ...here.  New file.
4348         * math/w_coshf.c: Move to ...
4349         * sysdeps/generic/w_coshf.c: ...here.  New file.
4350         * math/w_coshl.c: Move to ...
4351         * sysdeps/generic/w_coshl.c: ...here.  New file.
4352         * math/w_drem.c: Move to ...
4353         * sysdeps/generic/w_drem.c: ...here.  New file.
4354         * math/w_dremf.c: Move to ...
4355         * sysdeps/generic/w_dremf.c: ...here.  New file.
4356         * math/w_dreml.c: Move to ...
4357         * sysdeps/generic/w_dreml.c: ...here.  New file.
4358         * math/w_exp10.c: Move to ...
4359         * sysdeps/generic/w_exp10.c: ...here.  New file.
4360         * math/w_exp10f.c: Move to ...
4361         * sysdeps/generic/w_exp10f.c: ...here.  New file.
4362         * math/w_exp10l.c: Move to ...
4363         * sysdeps/generic/w_exp10l.c: ...here.  New file.
4364         * math/w_exp2.c: Move to ...
4365         * sysdeps/generic/w_exp2.c: ...here.  New file.
4366         * math/w_exp2f.c: Move to ...
4367         * sysdeps/generic/w_exp2f.c: ...here.  New file.
4368         * math/w_exp2l.c: Move to ...
4369         * sysdeps/generic/w_exp2l.c: ...here.  New file.
4370         * math/w_fmod.c: Move to ...
4371         * sysdeps/generic/w_fmod.c: ...here.  New file.
4372         * math/w_fmodf.c: Move to ...
4373         * sysdeps/generic/w_fmodf.c: ...here.  New file.
4374         * math/w_fmodl.c: Move to ...
4375         * sysdeps/generic/w_fmodl.c: ...here.  New file.
4376         * math/w_hypot.c: Move to ...
4377         * sysdeps/generic/w_hypot.c: ...here.  New file.
4378         * math/w_hypotf.c: Move to ...
4379         * sysdeps/generic/w_hypotf.c: ...here.  New file.
4380         * math/w_hypotl.c: Move to ...
4381         * sysdeps/generic/w_hypotl.c: ...here.  New file.
4382         * math/w_j0.c: Move to ...
4383         * sysdeps/generic/w_j0.c: ...here.  New file.
4384         * math/w_j0f.c: Move to ...
4385         * sysdeps/generic/w_j0f.c: ...here.  New file.
4386         * math/w_j0l.c: Move to ...
4387         * sysdeps/generic/w_j0l.c: ...here.  New file.
4388         * math/w_j1.c: Move to ...
4389         * sysdeps/generic/w_j1.c: ...here.  New file.
4390         * math/w_j1f.c: Move to ...
4391         * sysdeps/generic/w_j1f.c: ...here.  New file.
4392         * math/w_j1l.c: Move to ...
4393         * sysdeps/generic/w_j1l.c: ...here.  New file.
4394         * math/w_jn.c: Move to ...
4395         * sysdeps/generic/w_jn.c: ...here.  New file.
4396         * math/w_jnf.c: Move to ...
4397         * sysdeps/generic/w_jnf.c: ...here.  New file.
4398         * math/w_jnl.c: Move to ...
4399         * sysdeps/generic/w_jnl.c: ...here.  New file.
4400         * math/w_lgamma.c: Move to ...
4401         * sysdeps/generic/w_lgamma.c: ...here.  New file.
4402         * math/w_lgammaf.c: Move to ...
4403         * sysdeps/generic/w_lgammaf.c: ...here.  New file.
4404         * math/w_lgammaf_r.c: Move to ...
4405         * sysdeps/generic/w_lgammaf_r.c: ...here.  New file.
4406         * math/w_lgammal.c: Move to ...
4407         * sysdeps/generic/w_lgammal.c: ...here.  New file.
4408         * math/w_lgammal_r.c: Move to ...
4409         * sysdeps/generic/w_lgammal_r.c: ...here.  New file.
4410         * math/w_lgamma_r.c: Move to ...
4411         * sysdeps/generic/w_lgamma_r.c: ...here.  New file.
4412         * math/w_log10.c: Move to ...
4413         * sysdeps/generic/w_log10.c: ...here.  New file.
4414         * math/w_log10f.c: Move to ...
4415         * sysdeps/generic/w_log10f.c: ...here.  New file.
4416         * math/w_log10l.c: Move to ...
4417         * sysdeps/generic/w_log10l.c: ...here.  New file.
4418         * math/w_log.c: Move to ...
4419         * sysdeps/generic/w_log.c: ...here.  New file.
4420         * math/w_logf.c: Move to ...
4421         * sysdeps/generic/w_logf.c: ...here.  New file.
4422         * math/w_logl.c: Move to ...
4423         * sysdeps/generic/w_logl.c: ...here.  New file.
4424         * math/w_pow.c: Move to ...
4425         * sysdeps/generic/w_pow.c: ...here.  New file.
4426         * math/w_powf.c: Move to ...
4427         * sysdeps/generic/w_powf.c: ...here.  New file.
4428         * math/w_powl.c: Move to ...
4429         * sysdeps/generic/w_powl.c: ...here.  New file.
4430         * math/w_remainder.c: Move to ...
4431         * sysdeps/generic/w_remainder.c: ...here.  New file.
4432         * math/w_remainderf.c: Move to ...
4433         * sysdeps/generic/w_remainderf.c: ...here.  New file.
4434         * math/w_remainderl.c: Move to ...
4435         * sysdeps/generic/w_remainderl.c: ...here.  New file.
4436         * math/w_scalb.c: Move to ...
4437         * sysdeps/generic/w_scalb.c: ...here.  New file.
4438         * math/w_scalbf.c: Move to ...
4439         * sysdeps/generic/w_scalbf.c: ...here.  New file.
4440         * math/w_scalbl.c: Move to ...
4441         * sysdeps/generic/w_scalbl.c: ...here.  New file.
4442         * math/w_sinh.c: Move to ...
4443         * sysdeps/generic/w_sinh.c: ...here.  New file.
4444         * math/w_sinhf.c: Move to ...
4445         * sysdeps/generic/w_sinhf.c: ...here.  New file.
4446         * math/w_sinhl.c: Move to ...
4447         * sysdeps/generic/w_sinhl.c: ...here.  New file.
4448         * math/w_sqrtl.c: Move to ...
4449         * sysdeps/generic/w_sqrtl.c: ...here.  New file.
4450         * math/w_tgamma.c: Move to ...
4451         * sysdeps/generic/w_tgamma.c: ...here.  New file.
4452         * math/w_tgammaf.c: Move to ...
4453         * sysdeps/generic/w_tgammaf.c: ...here.  New file.
4454         * math/w_tgammal.c: Move to ...
4455         * sysdeps/generic/w_tgammal.c: ...here.  New file.
4457         * locale/programs/ld-address.c (address_finish): Add 'S' to allow
4458         formats for postal_fmt.
4460 2001-02-16  Jakub Jelinek  <jakub@redhat.com>
4462         * sysdeps/unix/sysv/linux/alpha/syscalls.list (ftruncate): Add
4463         __ftruncate64 alias.
4464         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (ftruncate):
4465         Likewise.
4467 2001-02-15  David Mosberger  <davidm@hpl.hp.com>
4469         * sysdeps/unix/sysv/linux/ia64/__longjmp.S (__longjmp): No need to
4470         do "loadrs".  Writing to bspstore already takes care of
4471         invalidating the "clean" partition.
4473 2001-02-16  Andreas Schwab  <schwab@suse.de>
4475         * sysdeps/m68k/fpu/s_nextafterl.c: New file.
4476         * sysdeps/m68k/fpu/s_fpclassifyl.c: New file.
4478 2001-02-15  Jakub Jelinek  <jakub@redhat.com>
4480         * posix/regex.c (init_syntax_once): Add prototype.
4481         (TRANSLATE): If MBS_SUPPORT, translate all characters up to '\xff'.
4482         (re_search_2): Avoid warning.
4483         (count_mbs_length): Add prototype.
4484         * posix/tst-regex3.c: New file.
4485         * posix/Makefile (tests): Add bug-regex3.
4487 2001-02-15  Ulrich Drepper  <drepper@redhat.com>
4489         * stdio-common/Makefile (tests): Add tst-gets.
4490         * stdio-common/tst-gets.c: New file.
4491         * stdio-common/tst-gets.input: New file.
4493         * elf/elf.h (DT_CHECKSUM): Define.
4495         * sysdeps/generic/strtoll.c: Don't export __strto*_internal as
4496         default symbol.
4497         * sysdeps/generic/strtoull.c: Likewise.
4499 2001-02-14  Wolfram Gloger  <wg@malloc.de>
4501         * malloc/malloc.c (new_heap): When allocating large chunk aligned
4502         to HEAP_MAX_SIZE, prefer one with lower address, to avoid `holes'
4503         between the heaps.
4505 2001-02-14  Ulrich Drepper  <drepper@redhat.com>
4507         * math/libm-test.inc (j0_test): Check whether sincos is available.
4508         (j1_test): Likewise.
4509         (jn_test): Likewise.
4510         (y0_test): Likewise.
4511         (y1_test): Likewise.
4512         (yn_test): Likewise.
4514         * posix/tst-gnuglob.c: Make a few entries DT_UNKNOWN and teach
4515         fake filesystem routines to handle this.
4517         * time/sys/time.h: Make settimeofday and adjtime available if
4518         _BSD_SOURCE.
4520         * time/sys/time.h: Make timer* macros available for BSD.
4522         * iconvdata/gb18030.c: Update for Dec 2000 re-release of GB18030.
4523         Patch by Yong Li <rigel863@yahoo.com>.
4525         * sysdeps/generic/glob.c (CONVERT_DIRENT_DIRENT64): Fix copying of
4526         name.
4528         * posix/Makefile (tests): Add tst-gnuglob.
4529         * posix/tst-gnuglob.c: New file.
4531 2001-02-13  H.J. Lu  <hjl@gnu.org>
4533         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add __ftruncate64.
4535 2001-02-13  Ulrich Drepper  <drepper@redhat.com>
4537         * locale/programs/ld-paper.c (paper_output): Pretty printing.
4539         * iconvdata/Makefile (modules): Add GBBIG5.
4540         (distribute): Add gbbig5.c.
4541         * iconvdata/gconv-modules: Add entries for GBBIG5 module.
4543         * iconvdata/gbbig5.c: New file.
4544         Contributed by Yong Li <rigel863@yahoo.com>.
4546 2001-02-13  Philip Blundell  <pb@futuretv.com>
4548         * manual/crypt.texi: Remove outdated references to crypt add-on.
4550         * manual/creature.texi: Improve wording slightly.
4552 2001-02-13  Ulrich Drepper  <drepper@redhat.com>
4554         * io/ftw.c: Always use readdir64.
4555         * io/ftw64.c: Likewise.
4556         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
4557         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
4558         * sysdeps/generic/glob.c: Likewise.  Convert results of gl_readdir
4559         callback to dirent.  Still allow compiling outside glibc.
4560         * sysdeps/gnu/glob64.c: Define COMPILE_GLOB64.
4561         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
4563         * malloc/mtrace.c: Use fopen64.
4564         * posix/spawni.c: Use __open64.
4565         * sysdeps/unix/opendir.c: Likewise.
4566         * sysdeps/unix/sysv/linux/gethostid.c: Likewise.
4568         * sysdeps/generic/ftruncate64.c: Define __ftruncate64 and make old
4569         name a weak alias.
4570         * sysdeps/unix/sysv/aix/ftruncate64.c: Likewise.
4571         * sysdeps/unix/sysv/linux/ftruncate64.c: Likewise.
4572         * sysdeps/unix/sysv/linux/mips/ftruncate64.c: Likewise.
4573         * sysdeps/unix/sysv/linux/powerpc/ftruncate64.c: Likewise.
4575         * resolv/res_data.c: Add cast to avoid warning.
4577         * include/unistd.h: Declare __ftruncate64.
4579         * sysdeps/generic/utmp_file.c: Use LFS functions and types.
4581         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use __lseek64
4582         instead of __lseek.
4584 2001-02-13  Andreas Jaeger  <aj@suse.de>
4586         * login/getutent_r.c: Include <stdlib.h> for NULL.
4587         * login/getutid_r.c: Likewise.
4589 2001-02-12  Ulrich Drepper  <drepper@redhat.com>
4591         * sysdeps/dbl-64/e_j0.c: Little optimization, use sincos.
4592         * sysdeps/dbl-64/e_j1.c: Likewise.
4593         * sysdeps/dbl-64/e_jn.c: Likewise.
4594         * sysdeps/flt-32/e_j0f.c: Likewise.
4595         * sysdeps/flt-32/e_j1f.c: Likewise.
4596         * sysdeps/ldbl-96/e_j0l.c: Likewise.
4598 2000-12-02  H.J. Lu  <hjl@gnu.org>
4600         * resolv/res_libc.c (res_init): Don't make it default.
4602 2001-02-12  Ulrich Drepper  <drepper@redhat.com>
4604         * manual/debug.texi: Improved the wording.
4605         Patch by Philip Blundell <pb@futuretv.com>.
4607 2001-02-12  Andreas Jaeger  <aj@suse.de>
4609         * posix/Makefile (tests): Don't run bug-regex2 when
4610         cross-compiling.
4612         * libio/Makefile (tests): Don't run test-freopen when
4613         cross-compiling.
4615         * manual/stdio.texi (Streams and I18N): Fix typos.
4617 2001-02-12  Ulrich Drepper  <drepper@redhat.com>
4619         * sysdeps/i386/fpu/libm-test-ulps: Adjust for errors in y0l.
4621         * math/libm-test.inc (j0_test): Make expected results long double
4622         constants.
4623         (y0_test): Likewise.
4625         * sysdeps/ieee754/ldbl-96/e_j0l.c: New file.
4626         Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>.
4628 2001-02-11  Jakub Jelinek  <jakub@redhat.com>
4630         * sysdeps/generic/strtoll.c (__strtoq_internal): Ressurect alias
4631         which was exported from libc.
4632         * sysdeps/generic/strtoull.c (__strtouq_internal): Likewise.
4634 2001-02-12  Andreas Jaeger  <aj@suse.de>
4636         * manual/arith.texi (Parsing of Integers): Fix some wordings.
4638 2001-02-11  Ulrich Drepper  <drepper@redhat.com>
4640         * sysdeps/generic/getsysstat.c: Change return value of get_phys_pages
4641         and get_avphys_page to long int.
4642         * sysdeps/unix/sysv/linux/getsysstat.c: Likewise.
4643         * include/sys/sysinfo.h: Likewise.
4644         * sysdeps/generic/sys/sysinfo.h: Likewise.
4645         * sysdeps/unix/sysv/linux/sys/sysinfo.h: Likewise.
4647         * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Fail if we
4648         cannot return as many values as the user asked for.
4650 2001-02-11  Andreas Jaeger  <aj@suse.de>
4652         * manual/resource.texi (Memory Resources): Fix typo.
4654         * libio/Makefile ($(objpfx)test-freopen.out): Pass
4655         run-program-prefix.
4657         * libio/test-freopen.sh: Use run_program_prefix.
4659 2001-02-10  Andreas Jaeger  <aj@suse.de>
4661         * stdlib/Makefile (tests): Don't run tst-fmtmsg when
4662         cross-compiling.
4663         ($(objpfx)tst-fmtmsg.out): Pass run-program-prefix.
4665         * stdlib/tst-fmtmsg.sh (test): Use run_program_prefix for static
4666         only builds.
4668         * elf/Makefile (tests): Only run tst-pathopt with shared libs.
4670         * posix/Makefile: Fix typo, it's build-static-nss.
4672         * iconv/Makefile (extra-objs): New.
4674 2001-02-10  Mark Kettenis  <kettenis@gnu.org>
4676         * sysdeps/unix/stime.c: Include <time.h>.
4678         * sysdeps/mach/hurd/setitimer.c: Include <time.h>.
4680 2001-02-10  Andreas Jaeger  <aj@suse.de>
4682         * manual/string.texi (Search Functions): Fix typo.
4684 2001-02-10  Mark Kettenis  <kettenis@gnu.org>
4686         * sysdeps/unix/bsd/times.c: Reorder includes and add <time.h>.
4687         (timeval_to_clock_t): Add clk_tck argument and use that instead of
4688         CLK_TCK.
4689         (__times): Use __getclktck to get the number of clock ticks per
4690         second and use its return value instead of CLK_TCK.
4692 2001-02-10  Mark Kettenis  <kettenis@gnu.org>
4694         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h (_HAVE_SA_LEN): Define.
4696 2001-02-10  Mark Kettenis  <kettenis@gnu.org>
4698         * sysdeps/mach/gettimeofday.c: Include <stddef.h>.
4700 2001-02-10  Andreas Jaeger  <aj@suse.de>
4702         * wctype/wcfuncs.c (func): Add prototype declarations to avoid
4703         warning.
4705 2001-02-09  Ulrich Drepper  <drepper@redhat.com>
4707         * posix/Makefile: Add rules to build and run bug-regex2.
4708         * posix/bug-regex2.c: New file.
4710 2001-02-10  Jakub Jelinek  <jakub@redhat.com>
4712         * posix/regex.c (convert_mbs_to_wcs): Change is_binary to char *.
4713         (regex_compile): Likewise.
4714         (FREE_VARIABLES): Don't free is_binary1 and is_binary2.
4715         (re_match_2_internal): Use just is_binary instead of two variables.
4716         Use REGEX_TALLOC to allocate it and FREE_VAR to free on failure.
4718 2001-02-09  Ulrich Drepper  <drepper@redhat.com>
4720         * version.h (VERSION): Bump to 2.2.2.
4722         * iconv/Makefile (distribute): Add iconv_charmap.c and
4723         dummy-repertoire.c.
4724         * elf/Makefile (distribute): Add firstobj.c.
4725         * Makefile (distribute): Add include/pthread.h.
4727         * configure.in: Require makeinfo version 4.
4729         * libio/tst_wscanf.c (main): Add cast to avoid warning.
4730         * libio/tst_swscanf.c (main): Likewise..
4732 2001-02-09  Jakub Jelinek  <jakub@redhat.com>
4734         * sysdeps/generic/setenv.c (unsetenv): Remove const from len.
4735         * sysdeps/sparc/fpu/bits/mathinline.h (sqrt, fdim): Don't define if
4736         __NO_MATH_INLINES.
4737         * sysdeps/i386/dl-machine.h (elf_machine_rel): Only declare refsym
4738         if not RTLD_BOOTSTRAP.
4739         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
4740         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
4742 2001-02-09  Ulrich Drepper  <drepper@redhat.com>
4744         * locale/programs/linereader.c (get_ident): Stop loop if EOF.  Use
4745         lr_ungetc to push back last read character.
4746         * locale/programs/linereader.h (lr_ungetc): Don't push back is
4747         character is EOF.
4748         (lr_ignore_rest): Don't warn about garbage if it is really the end
4749         of the file.
4751         * manual/Makefile: Use ifnottext and not ifinfo to protect Top node
4752         definition.
4754 2001-02-08  Ulrich Drepper  <drepper@redhat.com>
4756         * Makerules (build-shlib): Work around different order of
4757         processing of -B option in different gcc versions.
4759         * posix/regex.c: Fix alignment problem.
4760         Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
4762         * sysdeps/alpha/strrchr.S: Little optimization.
4763         Patch by Richard Henderson <rth@redhat.com>.
4765         * sysdeps/alpha/alphaev67/strrchr.S: New file.
4766         Contributed by Rick Gorton <rick.gorton@alpha-processor.com>.
4768 2001-02-08  kaz Kojima  <kkojima@rr.iij4u.or.jp>
4770         * sysdeps/sh/sh3/setjmp.S (__sigsetjmp): Correct function name
4771         in the assembler end directive.
4773 2001-02-08  Andreas Jaeger  <aj@suse.de>
4775         * manual/stdio.texi (Closing Streams): Fix typos.
4777 2001-02-07  Ulrich Drepper  <drepper@redhat.com>
4779         * sysdeps/alpha/alphaev67/strncat.S: Align last write address.
4780         Patch by Richard Henderson <rth@redhat.com>.
4781         Reported by Claus-Justus Heine <heine@instmath.rwth-aachen.de>.
4783         * stdlib/strfmon.c [USE_IN_LIBIO]: Define lock variable and store
4784         pointer in FILE structure before calling _IO_init.
4785         * stdlib/Makefile: Add -D_IO_MTSAFE_IO to CFLAGS for strfmon and
4786         strfmon_l if necessary.
4787         Reported by Jury Gerold <gjury@grips.com>.
4789         * sysdeps/gnu/netinet/tcp.h: Correct values of TCP_ macros.
4790         Patch by Pekka.Pietikainen@cern.ch.
4792         * posix/regex.c: Correct several problems with 64-bit architectures
4793         introduced in the MBS changes.
4794         Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
4796 2001-02-07  Jakub Jelinek  <jakub@redhat.com>
4798         * math/tgmath.h: Only add l suffixes if __NO_LONG_DOUBLE_MATH is
4799         not defined.
4800         * sysdeps/alpha/fpu/bits/mathinline.h: Honour __NO_MATH_INLINES.
4802 2001-02-07  Andreas Jaeger  <aj@suse.de>
4804         * manual/install.texi (Tools for Compilation): Fix typo.
4805         Reported by Pavel Machek <pavel@bug.ucw.cz>.
4807 2001-02-07  Ulrich Drepper  <drepper@redhat.com>
4809         * stdlib/strtod.c: Never stop prematurely reading digits before the
4810         decimal point is found.  Compute exponent limit for negative exponents
4811         correctly.  For numbers ending in all zeros eat the zeros even before
4812         the decimal point if the exponent is negative [PR libc/2072].
4813         * stdlib/Makefile (tests): Add bug-strtod.
4814         * stdlib/bug-strtod.c: New file.
4816 2001-02-07  Andreas Jaeger  <aj@suse.de>
4818         * posix/bug-regex1.c: Include <wchar.h> for fwide.
4820 2001-02-06  Ulrich Drepper  <drepper@redhat.com>
4822         * posix/regex.c (regex_compile): Don't store pointer in wchar_t array.
4823         Store index.
4824         (compile_range): Handle index being passed, not pointer.
4825         Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
4827         * posix/regex.c: Fix a cast in the code for bracket handling which
4828         caused 8-bit uncleanliness.
4829         Patch by Michal Jaegermann <michal@ellpspace.math.ualberta.ca>.
4831         * posix/Makefile (tests): Add bug-regex1.
4832         * posix/bug-regex1.c: New file.
4833         Contributed by Jim Meyering <jim@meyering.net>.
4835         * posix/regex.c: Many cleanups for incorrect format strings.
4837 2001-02-06  Andreas Jaeger  <aj@suse.de>
4839         * time/time.h (CLK_TCK): Check for !__STRICT_ANSI.
4841 2001-02-06  Ulrich Drepper  <drepper@redhat.com>
4843         * locale/programs/locale.c (write_locales): Use scandir to read
4844         directory so that the entries are sorted.
4846 2001-02-06  Andreas Jaeger  <aj@suse.de>
4848         * include/pthread.h: New file.
4850         * wctype/wctype.h: Move internal interfaces from here to...
4851         * include/wctype.h: ...here.
4853         * wcsmbs/wchar.h: Move __wcslen from here to...
4854         * include/wchar.h: ...here.
4856         * posix/sys/wait.h: Move __wait from here to...
4857         * include/sys/wait.h: ...here.
4859         * string/string.h: Move __ffs and __strerror_r from here to...
4860         * include/string.h: ...here.
4862         * stdlib/stdlib.h: Move __on_exit from here to...
4863         * include/stdlib.h: ...here.
4865         * libio/stdio.h: Move __vsnprintf from here to...
4866         * include/stdio.h: ...here.
4868 2001-02-06  Andreas Schwab  <schwab@suse.de>
4870         * sysdeps/unix/sysv/linux/ia64/ioperm.c: Don't include kernel
4871         headers.
4873         * timezone/Makefile: Don't assume that $(inst_zonedir) is a subdir
4874         of $(inst_datadir).
4876 2001-02-06  Ulrich Drepper  <drepper@redhat.com>
4878         * iconvdata/Makefile: Add dependency for bug-iconv2.out.
4880 2001-02-06  Andreas Jaeger  <aj@suse.de>
4882         * elf/firstobj.c: Add prototype.
4884         * posix/regex.c (convert_mbs_to_wcs): Make static, add prototype
4885         (truncate_wchar): Likewise.
4887 2001-02-06  Ulrich Drepper  <drepper@redhat.com>
4889         * locale/programs/locale.c: Implement --verbose option for -a
4890         which prints detailed information about the locales.
4892 2001-02-05  Ulrich Drepper  <drepper@redhat.com>
4894         * sunrpc/xdr_rec.c (set_input_fragment): Change type of header
4895         variable to uint32_t.
4896         Reported by Ulrich Weigand <weigand@immd1.informatik.uni-erlangen.de>.
4898 2001-02-04  Bruno Haible  <haible@clisp.cons.org>
4900         * locale/C-translit.h.in: Add transliterations for CJK units of
4901         measurement.
4903 2001-02-05  Ulrich Drepper  <drepper@redhat.com>
4905         * elf/cache.c (print_entry): Use PRIx64 instead of Lx in printf
4906         string.  Include <inttypes.h> instead of <stdint.h>.
4908         * localedata/Makefile (tests): Add bug-iconv-trans.
4909         Define bug-iconv-trans-ENV.
4910         * localedata/bug-iconv-trans.c: New file.
4912 2001-02-04  Bruno Haible  <haible@clisp.cons.org>
4914         * iconv/gconv_trans.c (__gconv_transliterate): Use a temporary output
4915         pointer, to avoid accumulating output from incomplete (unsuccessful)
4916         transliteration attempts.
4918 2001-02-05  Ulrich Drepper  <drepper@redhat.com>
4920         * elf/ldconfig.c (search_dir): Use PRIx64 instead of Lx in printf
4921         string.  Include <inttypes.h> instead of <stdint.h>.
4923         * configure.in: Add check for bison.
4924         * config.make.in: Define BISON variable.
4925         * intl/Makefile: Use BISON instead of YACC when generating plural.c.
4926         Rename YFLAGS to BISONFLAGS.
4928 2001-02-05  Andreas Jaeger  <aj@suse.de>
4930         * io/test-lfs.c (do_test): Test lseek64 return value, call
4931         test_ftello.
4932         (test_ftello): New function to test ftello64 and fseeko64.
4934         * signal/signal.h: Move __sigaction from here to...
4935         * include/signal.h: ...here.
4937         * io/fcntl.h: Move __fcntl and __open to...
4938         * include/fcntl.h: ...here.
4940 2001-02-04  Philip Blundell  <philb@gnu.org>
4942         * configure.in: Distinguish ARM from Thumb.
4944 2001-02-04  Philip Blundell  <philb@gnu.org>
4946         * sysdeps/arm/dl-machine.h (elf_machine_rel): Correct handling of
4947         PC24 relocs with negative value.
4949 2001-02-04  Ulrich Drepper  <drepper@redhat.com>
4951         * iconv/Makefile (iconv_prog-modules): Define.  Add vpath to find
4952         files in locale/programs.  Add CFLAGS definition to allow compiling
4953         localedef files.
4954         * iconv/dummy-repertoire.c: New file.
4955         * iconv/iconv_charmap.c: New file.
4956         * iconv/iconv_prog.h: New file.
4957         * iconv/iconv_prog.c: Make verbose and omit_invalid global.
4958         (main): If parameter for -f and -t contain slashes try first to resolve
4959         the strings as filenames of charmap files.  Use them for conversion
4960         in this case.
4961         * iconvdata/run-iconv-test.sh: If charmaps exist also run tests with
4962         iconv getting charmap names as parameters.
4963         * locale/programs/linereader.c (lr_token): Take extra parameters
4964         verbose and pass it to get_string.
4965         (get_string): Take extra parameters verbose.
4966         * locale/programs/charmap.c (parse_charmap): Take extra parameters
4967         verbose and be_quiet.  Change all callers of lr_token and
4968         parse_charmap.
4969         * locale/programs/charmap.h: Likewise.
4970         * locale/programs/ld-address.c: Likewise.
4971         * locale/programs/ld-collate.c: Likewise.
4972         * locale/programs/ld-ctype.c: Likewise.
4973         * locale/programs/ld-identification.c: Likewise.
4974         * locale/programs/ld-measurement.c: Likewise.
4975         * locale/programs/ld-messages.c: Likewise.
4976         * locale/programs/ld-monetary.c: Likewise.
4977         * locale/programs/ld-name.c: Likewise.
4978         * locale/programs/ld-numeric.c: Likewise.
4979         * locale/programs/ld-paper.c: Likewise.
4980         * locale/programs/ld-telephone.c: Likewise.
4981         * locale/programs/ld-time.c: Likewise.
4982         * locale/programs/linereader.c: Likewise.
4983         * locale/programs/linereader.h: Likewise.
4984         * locale/programs/localedef.c: Likewise.
4985         * locale/programs/locfile.c: Likewise.
4986         * locale/programs/locfile.h: Likewise.
4987         * locale/programs/repertoire.c: Likewise.
4989 2001-02-03  Ulrich Drepper  <drepper@redhat.com>
4991         * iconv/iconv_prog.c (main): If output file name is "-" write to
4992         stdout.
4993         (main): If -f or -t argument is missing use charset of the current
4994         locale.
4996 2001-02-03  Andreas Jaeger  <aj@suse.de>
4998         * sysdeps/i386/elf/start.S (_start): Align stack to 16-byte
4999         boundary for SSE/SSE-2 alignment.
5001         * posix/Makefile ($(objpfx)annexc.out): Also pass sysincludes to
5002         annexc.
5004 2001-02-03  Ulrich Drepper  <drepper@redhat.com>
5006         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: File was using crlf.
5007         Remove comma at end of enum.
5009         * elf/dl-init.c: Add a few __builtin_expect.
5011         * hesiod/hesiod.c: Remove unnecessary code.  Remove all uses of strcat.
5013 2001-02-02  Ulrich Drepper  <drepper@redhat.com>
5015         * hesiod/hesiod.c (hesiod_resolve): Also search HS records if
5016         errno is ECONNREFUSED.
5018         * posix/Makefile: Define MBS_SUPPORT for regex.c.
5019         * posix/regex.c: Implement multibyte character handling.
5020         Patch by Isamu Hasegawa <isamu@yamato.ibm.co.jp>.
5022         * string/tst-svc.input: Add two more test cases.
5023         * string/tst-svc.expect: Modify to reflect new test cases.
5025 2001-02-01  Jakub Jelinek  <jakub@redhat.com>
5027         * sysdeps/posix/getaddrinfo.c (gaih_local, gaih_inet): Replace all
5028         tp->name tests with tp->name[0] tests.
5030 2001-01-29  Ben Collins  <bcollins@debian.org>
5032         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r):
5033         Fix check for name == NULL.
5035 2001-02-01  Ulrich Drepper  <drepper@redhat.com>
5037         * elf/Makefile: Add rules to build and run initfirst test.
5038         * elf/initfirst.c: New file.
5039         * elf/firstobj.c: New file.
5041         * Makerules (build-shlib): Add $(extra-B-$(@F:lib%.so=%).so).
5042         * configure.in: Test for -z initfirst linker option.
5043         * config.make.in: Add have-z-initfirst.
5044         * elf/dl-init.c (_dl_init): Split out actual initialization code in
5045         new function call_init.  If _dl_initfirst is non-NULL initialize first.
5046         * elf/dl-load.c (_dl_map_from_fd): If DF_1_INITFIRST flag is set
5047         remember object in _dl_initfirst.
5048         * elf/soinit.c: Remove special support for calling
5049         __pthread_initialize_minimal.
5051         * conform/conformtest.pl: Add missing $prepend in type test.
5053 2001-01-31  Ulrich Drepper  <drepper@redhat.com>
5055         * elf/elf.h (SHT_CHECKSUM): New definition.
5057         * posix/fnmatch_loop.c: Remove incorrect reverse condition in
5058         [. .] matching.  Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
5059         * posix/tst-fnmatch.input: Add tests for [. .] in locales.
5061 2001-01-31  Mark Kettenis  <kettenis@gnu.org>
5063         * misc/sys/select.h: Include <bits/time.h> instead of <sys/time.h>
5064         to get definition of `struct timeval'.
5066 2001-01-31  Ulrich Drepper  <drepper@redhat.com>
5068         * posix/tst-fnmatch.input: Add test cases for de_DE.UTF-8 locale.
5069         * posix/fnmatch_loop.c: Fix handling of [= =] for multibyte charsets.
5071 2001-01-30  Ulrich Drepper  <drepper@redhat.com>
5073         * iconv/gconv_open.c (__gconv_open): Set conv_flags if IGNORE is
5074         seen, not flags.
5076         * nis/nis_findserv.c: Include <time.h>.
5078 2001-01-30  Yong Li  <yong.li@asu.edu>
5080         * iconv/iconv_prog.c (main): Correct error handling method name.
5082 2001-01-29  Ben Collins  <bcollins@debian.org>
5084         * sysdeps/sparc/fpu/fraiseexcpt.c: Include <float.h>.
5085         * sysdeps/hppa/fpu/fraiseexcpt.c: Likewise.
5086         * sysdeps/m68k/fpu/fraiseexcpt.c: Likewise.
5087         * sysdeps/s390/fpu/fraiseexcpt.c: Likewise.
5089 2001-01-30  Ulrich Drepper  <drepper@redhat.com>
5091         * locale/programs/ld-measurement.c (measurement_finish): Fix a typo.
5092         Patch by Marko Myllynen <myllynen@lut.fi>.
5094         * string/bits/string2.h (__strpbrk_c2): Correct parameter types
5095         (int instead of char).
5096         (__strpbrk_c3): Likewise.
5097         Reported by GOTO Masanori <gotom@debian.or.jp>.
5099         * sysdeps/generic/bits/sockaddr.h: Remove SA_LEN macro.
5100         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Likewise.
5101         * include/sys/socket.h: Add SA_LEN here for internal use.
5102         Reported by Arkadiusz Miskiewicz <misiek@pld.ORG.PL>.
5104 2001-01-29  Ulrich Drepper  <drepper@redhat.com>
5106         * malloc/Makefile: Don't build memusagestat if cross-compiling.
5108         * sysdeps/generic/dl-sysdep.c (set_seen): Fix typo.
5110         * math/libm-test.inc (rint_test): Add a few more tests for round
5111         to even rounding.
5113 2001-01-28  Ulrich Drepper  <drepper@redhat.com>
5115         * conform/data/pthread.h-data: Correct return type of pthread_exit.
5117         * conform/conformtest.pl: Add -fno-builtin to CFLAGS.
5119         * conform/data/stdlib.h-data: Add _Exit.
5121         * inet/arpa/inet.h: Don't include <sys/types.h>.  Define socklen_t
5122         if not already happened.
5123         * inet/netinet/in.h: Don't include <sys/types.h>, use <bits/types.h>.
5124         Don't include <limits.h> and <bits/sockaddr.h>.
5126         * conform/data/netinet/in.h-data: Allow all of <inttypes.h>.
5128         * conform/data/spawn.h-data: Allow all of <sched.h>.
5130         * sysdeps/ia64/fpu/fraiseexcpt.c: Include <float.h>.  Removed
5131         unused variable.
5133         * sunrpc/xdr_rec.c (xdrrec_getpos): Add cast to long to avoid warning.
5134         * sunrpc/xdr_sizeof.c (x_inline): Likewise.
5136         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Include <float.h>.
5138         * conform/conformtest.pl: Define $mustprepend{"stdio.h"}.
5139         * libio/stdio.h: Define va_list correctly.
5141         * conform/data/pthread.h-data: Make priority protocol related
5142         functions optional.  Fix typos.
5144         * posix/sched.h: Define sched_priority as __sched_priority.
5145         * sysdeps/generic/bits/sched.h (struct sched_param): Rename element
5146         to __sched_priority.
5147         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
5149 2001-01-27  Ulrich Drepper  <drepper@redhat.com>
5151         * sysdeps/generic/clock_getcpuclockid.c: Include <time.h> instead
5152         of <sys/time.h>.
5154         * sysdeps/unix/stime.c: Include <stddef.h> for NULL.
5155         * sysdeps/unix/time.c: Likewise.
5157         * conform/data/time.h-data: CLK_TCK is not in XPG6.  Fix tzname entry.
5158         * sysdeps/mach/hurd/bits/time.h: Don't define CLK_TCK for XPG6.
5159         * sysdeps/mach/hurd/i386/bits/time.h: Likewise.
5160         * sysdeps/unix/sysv/linux/bits/time.h: Likewise.
5161         * sysdeps/unix/sysv/linux/alpha/bits/time.h: Likewise.
5162         * sysdeps/unix/sysv/linux/i386/bits/time.h: Likewise.
5163         * sysdeps/unix/sysv/linux/ia64/bits/time.h: Likewise.
5164         * time/time.h: Likewise.
5166         * conform/conformtest.pl (@headers): Add complex.h and tgmath.h.
5167         * conform/data/complex.h-data: New file.
5168         * conform/data/tgmath.h-data: New file.
5170         * conform/data/wchar.h-data: Add missing functions.
5172         * sysdeps/gnu/bits/utmpx.h: Define RUN_LVL only if __USE_GNU.
5174         * conform/data/termios.h-data: Add missing const in tcsetattr()
5175         prototype.
5177         * posix/sys/wait.h: Include <signal.h> and <sys/resource.h>.
5178         Don't define pid_t here.
5180         * conform/data/sys/utsname.h-data: Don't provide fixed array sizes.
5182         * conform/data/sys/time.h-data: Allow sys/select.h.
5183         * conform/data/sys/un.h-data: Fix typo.
5184         * time/sys/time.h: Don't include all of <time.h>, just struct timeval.
5185         * sysdeps/posix/clock_getres.c: Include <time.h> instead of
5186         <sys/time.h>.
5187         * sysdeps/unix/clock_nanosleep.c: Likewise.
5188         * sysdeps/unix/i386/clock_getcpuclockid.c: Likewise.
5189         * sysdeps/unix/i386/i586/clock_getres.c: Likewise.
5190         * sysdeps/unix/clock_gettime.c: Also include <time.h>.
5191         * sysdeps/unix/clock_settime.c: Likewise.
5193         * sysdeps/generic/pselect.c: Include <stddef.h> for NULL.
5194         * login/getutent.c: Likewise.
5195         * login/getutid.c: Likewise.
5196         * login/getutline.c: Likewise.
5198         * socket/sys/un.h: Define SUN_LEN only if __USE_MISC.
5200         * sysdeps/unix/sysv/linux/bits/statvfs.h: Change type of f_fsid field
5201         to unsigned long.  Add __f_unused.  Define _STATVFSBUF_F_UNUSED.
5202         * sysdeps/unix/sysv/linux/internal_statvfs.c: Adjust initialization of
5203         f_fsid field after change in struct statvfs.
5204         * sysdeps/unix/sysv/linux/alpha/bits/statvfs.h: New file.
5205         * sysdeps/unix/sysv/linux/ia64/bits/statvfs.h: New file.
5206         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/statvfs.h: New file.
5208         * conform/data/sys/stat.h-data: Remove isfdtype.  Use
5209         optional-macro.
5211         * conform/data/sys/socket.h-data: Fix typos.  Correct getsockopt,
5212         recvfrom, send, and socketpair prototypes.  Add allow lines.
5213         * socket/sys/socket.h: Include <sys/uio.h>.
5214         Don't use fancy __SOCKADDR_ARG definition unless __USE_GNU.
5215         Fix type of second parameter of listen.
5216         Don't declare isfdtype unless __USE_MISC.
5217         * sysdeps/generic/listen.c: Fix type of second parameter of listen.
5218         * sysdeps/mach/hurd/listen.c: Likewise.
5219         * sysdeps/generic/bits/socket.h (struct sockaddr_storage): Define
5220         ss_family and __ss_family.
5221         * sysdeps/unix/sysv/aix/bits/socket.h: Likewise.
5222         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
5223         (struct msghdr): Change type of msg_iovlen to int and type of
5224         msg_controllen to socklen_t.
5225         * sysdeps/unix/sysv/linux/alpha/bits/socket.h: New file.
5226         * sysdeps/unix/sysv/linux/ia64/bits/socket.h: New file.
5227         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/socket.h: New file.
5228         * inet/rcmd.c (rcmd_af): __ss_family is now ss_family.
5229         (rresvport_af): Likewise.
5231         * conform/data/sys/shm.h-data: SHMLBA is not required to by a constant.
5232         * conform/conformtest.pl: Implement handling of symbol.
5234         * signal/signal.h: Fix handling of __need_* symbols.
5235         * misc/sys/select.c: Define fd_set here.  Remove __fd_set.  Define
5236         fd_mask only if __USE_MISC.  Declare pselect for __USE_XOPEN2K.
5237         * include/sys/select.h: Use fd_set not __fd_set.
5238         * sysdeps/generic/bits/select.h: Likewise.
5239         * sysdeps/i386/bits/select.h: Likewise.
5240         * sysdeps/generic/bits/types.h: Don't define __fd_mask, __NFDBITS,
5241         __FDELT, __FDMASK, and __fd_set here.
5242         * sysdeps/unix/sysv/aix/bits/types.h: Likewise.
5243         * sysdeps/unix/sysv/hpux/bits/types.h: Likewise.
5244         * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
5245         * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
5246         * sysdeps/unix/sysv/linux/ia64/bits/types.h: Likewise.
5247         * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
5248         * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
5249         * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
5250         * time/sys/time.h: Define struct timeval before including <time.h>
5251         and <sys/select.h>.
5253         * conform/data/sys/time.h-data: fd_set is a typedef.
5254         * conform/data/sys/select.h-data: New file.
5255         * conform/data/sys/mman.h-data: Make typed mem stuff optional.
5256         * conform/conformtest.pl (@headers): Add sys/select.h.
5257         (type, optional-type): Unless testing a typedef instantiate object.
5258         Implement optional-function.
5260         * math/test-misc.c: Include <float.h>.
5262 2001-01-27  Andreas Jaeger  <aj@suse.de>
5264         * misc/efgcvt_r.c: Include <float.h>.
5266 2001-01-26  Ulrich Drepper  <drepper@redhat.com>
5268         * conform/data/stdlib.h-data: Account for XPG6 changes.
5269         * stdlib/stdlib.h (__random): Change return value type to long.
5270         (posix_memalign): Cleanup parameter names.
5271         (setenv, unsetenv): Make available for __USE_XOPEN2K.
5272         Change return type of unsetenv to int.
5273         (qecvt, qgcvt, qfcvt): Declare only if __USE_MISC.
5274         * include/stdlib.h: Change return type of unsetenv to int.
5275         Change return type of random to long int.
5276         * sysdeps/generic/setenv.c (unsetenv): Change return type to int.
5277         Return -1 and set errno if parameter is invalid.
5278         * stdlib/random.c (__random): Change return value type to long.
5280         * conform/data/stdio.h-data: Account for changes in XPG6.
5282         * conform/data/spawn.h-data: Correct posix_spawnattr_setflags
5283         prototype.
5285         * conform/conformtest.pl: Define $mustprepend{"signal.h"}.
5286         * conform/data/signal.h-data: Fix sigev_notify_function entry.
5287         Fix typo (SIGVALRM -> SIGVTALRM).
5288         * sysdeps/unix/sysv/linux/bits/siginfo.h: Define sigev_notify_attr
5289         with real type.
5290         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Likewise.
5291         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
5292         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Likewise.
5293         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
5294         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/siginfo.h: Likewise.
5296         * conform/conformtest.pl: Implement optional-element.  Define
5297         $mustprepend{"sched.h"}.
5298         * conform/data/sched.h-data: Make sporadic scheduler definitions
5299         optional.
5301         * pwd/pwd.h: Don't define getpwent_r for XPG.
5303         * io/sys/poll.h: Define nfds_t and use it in poll prototype.
5304         * sysdeps/generic/poll.c: Use nfds_t type in function definition.
5305         * sysdeps/mach/hurd/poll.c: Likewise.
5306         * sysdeps/unix/bsd/poll.c: Likewise.
5307         * sysdeps/unix/sysv/linux/poll.c: Likewise.
5308         * sysdeps/unix/sysv/aix/poll.c: Likewise.
5309         * sysdeps/generic/bits/poll.h: Define NPOLLFILE only if __USE_MISC.
5310         * sysdeps/unix/sysv/linux/bits/poll.h: Likewise.
5311         * sysdeps/unix/sysv/linux/m68k/bits/poll.h: Likewise.
5312         * sysdeps/unix/sysv/linux/mips/bits/poll.h: Likewise.
5313         * sysdeps/unix/sysv/linux/sparc/bits/poll.h: Likewise.
5314         * conform/data/poll.h-data: Fix typo in poll prototype.
5316         * sysdeps/gnu/netinet/tcp.h: Define everything but TCP_ macros
5317         only if __USE_MISC.
5318         * conform/data/netinet/tcp.h-data: Reserved prefix TCP_.
5320         * sysdeps/gnu/net/if.h: Cleanup namespace.  Define IF_NAMESIZE.
5322         * inet/netinet/in.h: Make IPPROTO_ constants also macros.
5324         * conform/conformtest.pl: Implement optional-type.
5326         * resolv/netdb.h: Include <netinet/in.h> not <sys/socket.h>.  Include
5327         <rpc/netdb.h> only if __USE_MISC.  Include <stdint.h> instead of
5328         defining uint32_t here.  Define IPPORT_RESERVED.
5329         (struct hostent): Type of h_length element is int.
5330         (getnameinfo): Type of flags parameter is unsigned int.
5331         * inet/getnameinfo.c (getnameinfo): flags argument is unsigned.
5332         * conform/data/netdb.h-data: Add many missing definitions.
5334         * conform/conformtest.pl: Implement optional-macro.
5335         * conform/data/math.h-data: Update for XPG6.
5337         * math/math.h (HUGE): Define as FLT_MAX value but don't use
5338         FLT_MAX.  Don't include <float.h>.
5339         (MAXFLOAT): Likewise.
5341         * math/math.h: Define MATH_ERRNO and MATH_ERREXCEPT.
5343         * include/bits/xopen_lim.h: Don't define FOPEN_MAX here.
5345         * conform/data/limits.h-data: Mark constants as optional wherever
5346         appropriate.
5348         * posix/bits/posix2_lim.h: Set correct values for
5349         _POSIX2_COLL_WEIGHTS_MAX and _POSIX2_CHARCLASS_NAME_MAX.  Remove
5350         EQUIV_CLASS_MAX.
5352         * posix/bits/posix1_lim.h: Define _POSIX_TZNAME_MAX as 6.
5353         Required by POSIX.
5355         * intl/loadmsgcat.c: Include <locale.h.> for _LIBC.
5357         * conform/data/netinet/in.h-data: Add reserved prefixes.
5359         * conform/data/arpa/inet.h-data: Fix a few typos.
5361 2001-01-26  Andreas Jaeger  <aj@suse.de>
5363         * sysdeps/generic/strtol.c: Include <locale.h>
5364         * stdlib/strtod.c: Likewise
5365         * stdlib/strfmon.c: Likewise.
5366         * string/strcoll.c: Likewise.
5367         * string/strxfrm.c: Likewise.
5368         * wctype/wcfuncs_l.c: Likewise.
5369         * wctype/wctype_l.c: Likewise.
5370         * wctype/wctrans_l.c: Likewise.
5372         * include/bits/locale.h: New file.
5374 2001-01-26  Ulrich Drepper  <drepper@redhat.com>
5376         * locale/langinfo.h: Correct logic in #ifs when defining YESSTR
5377         and NOSTR.
5379         * locale/Makefile (headers): Add bits/locale.h.
5380         * locale/langinfo.h: Don't include <locale.h>.  Include <bits/locale.h>
5381         and use __LC_ constants instead of LC_.
5382         * locale/locale.h: Include <bits/locale.h> and define LC_ constants
5383         using __LC_ constants.
5384         * locale/bits/locale.h: New file.
5385         * locale/loadlocale.c: Include <locale.h>.
5386         * locale/nl_langinfo.h: Likewise.
5388         * posix/glob.h: Cleanup namespace for non-_GNU_SOURCE case.
5390         * io/sys/stat.h: Define S_IFSOCK for XPG6.
5392         * conform/data/fcntl.h-data: posix_madvise is not expected here.
5394         * conform/conformtest.pl: Fix handling of macro-str.
5396         * conform/data/inttypes.h-data: Add missing definition and all of
5397         stdint.h-data.
5399         * sysdeps/unix/sysv/linux/sys/param.h (MAXSYMLINKS): Bump to 20.
5401 2001-01-25  Ulrich Drepper  <drepper@redhat.com>
5403         * conform/conformtest.pl (@headers): Add stdint.h.
5404         * conform/data/stdint.h-data: New file.
5406         * conform/conformtest.pl: Recognize options --headers and
5407         --dialect.  Add dialect-specific CFLAGS.
5409         * conform/conformtest.pl: Implement handling of recursive
5410         allow-header.
5412         * conform/data/locale.h-data: Add new struct lconv members.
5414         * posix/wordexp.h: Correct definition of wordexp_t.
5415         * posix/wordexp.c: Moved to ...
5416         * sysdeps/generic/wordexp.c: ...here.  New file.
5417         * sysdeps/unix/sysv/linux/alpha/wordexp.c: New file.
5418         * sysdeps/unix/sysv/linux/ia64/wordexp.c: New file.
5419         * sysdeps/unix/sysv/linux/sparc/sparc64/wordexp.c: New file.
5420         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.2.2): Add
5421         wordexp.
5422         * sysdeps/unix/sysv/linux/ia64/Versions: Likewise.
5423         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions: Likewise.
5425         * math/tgmath.h: Pretty printing.
5427         * math/Makefile (tests): Add test-tgmath.
5428         (CFLAGS-test-tgmath.c): New variable.
5429         * math/test-tgmath.c: New file.  Contributed by Jakub Jelinek.
5431         * conform/conformtest.pl: Handle allow-header in secondary headers
5432         correctly.
5434         * conform/data/fcntl.h-data: Mark symbols introduced in XPG6 with
5435         #ifdef.
5437         * conform/data/netinet/in.h-data: Use correct comment character.
5438         * conform/data/sys/stat.h-data: Likewise.
5440 2001-01-25  Jakub Jelinek  <jakub@redhat.com>
5442         * math/tgmath.h (__TGMATH_BINARY_FIRST_REAL_ONLY,
5443         __TGMATH_BINARY_REAL_ONLY, __TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY,
5444         __TGMATH_TERNARY_REAL_ONLY): Use proper arguments to
5445         __builtin_classify_type, add ##f suffixes where appropriate.
5446         (__TGMATH_UNARY_REAL_IMAG): Remove extraneous left parenthesis.
5447         (__TGMATH_BINARY_REAL_IMAG): Likewise, use proper arguments to
5448         __builtin_classify_type.
5449         (fma): Fix spelling of first argument.
5451 2001-01-25  Ulrich Drepper  <drepper@redhat.com>
5453         * conform/data/unistd.h-data: Mark functions removed in XPG6
5454         correctly.
5456         * posix/unistd.h: Don't make functions removed in XPG6 available if
5457         __USE_XOPEN2K.
5459         * conform/conformtest.pl: Implement optional-constant.
5460         * conform/data/unistd.h-data: Use optional-constant wherever
5461         appropriate.
5463         * sysdeps/generic/bits/confname.h: Correct names of _SC_PBS
5464         constants and add _SC_STREAMS.
5465         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
5467         * sysdeps/unix/sysv/linux/statvfs64.c: Rename to __statvfs64 and
5468         make old name weak alias.
5469         * sysdeps/generic/statvfs64.c: Likewise.
5470         * sysdeps/unix/sysv/linux/fstatvfs64.c: Rename to __fstatvfs64 and
5471         make old name weak alias.
5472         * sysdeps/generic/fstatvfs64.c: Likewise.
5473         * include/sys/statvfs.h: New file.
5475         * sysdeps/generic/bits/confname.h: Define _PC_REC_INCR_XFER_SIZE,
5476         _PC_REC_MAX_XFER_SIZE, _PC_REC_MIN_XFER_SIZE, and
5477         _PC_REC_XFER_ALIGN.
5478         * sysdeps/posix/pathconf.c (__pathconf): Implement handling of
5479         _PC_REC_INCR_XFER_SIZE, _PC_REC_MAX_XFER_SIZE,
5480         _PC_REC_MIN_XFER_SIZE, and _PC_REC_XFER_ALIGN.
5481         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
5483         * conform/conformtest.pl: Run Unix tests for XPG6.
5484         Implement handling of known namespace violations.
5485         Improve printing of results.
5487         * posix/unistd.h (usleep): Correct return type.
5488         * sysdeps/unix/sysv/linux/usleep.c: Correct return type.
5489         * sysdeps/unix/bsd/usleep.c: Correct return type.
5490         * sysdeps/mach/usleep.c: Correct return type.
5491         * sysdeps/generic/usleep.c: Correct return type.
5493         * posix/unistd.h (sync): Correct return type.
5494         * sysdeps/generic/sync.c: Likewise.
5495         * sysdeps/mach/hurd/sync.c: Likewise.
5497         * sysdeps/generic/bits/confname.h (_SC_IOV_MAX): New definition.
5499         * posix/unistd.h: Make seteuid and setegid available for XPG6.
5501         * wcsmbs/wchar.h: Get FILE definition for XPG5.
5503         * conform/data/ctype.h-data: Use correct comment form.
5504         * conform/data/errno.h-data: Likewise.
5505         * conform/data/math.h-data: Likewise.
5506         * conform/data/mqueue.h-data: Likewise.
5507         * conform/data/netdb.h-data: Likewise.
5508         * conform/data/pthread.h-data: Likewise.
5510 2001-01-24  Ulrich Drepper  <drepper@redhat.com>
5512         * conform/data/wordexp.h-data: Fix typo.
5514         * conform/conformtest.pl: Handle allow-header correctly.
5516         * conform/data/time.h-data: Use correct comment form.
5518         * conform/conformtest.pl (checknamespace): Ignore #undef lines.
5520         * configure.in: Comment out binutils version test.
5522         * stdlib/strtod.c (str_to_mpn): Correct parsing of thousands
5523         separators.
5524         Reported by Lagardere Jean-Francois <LAGARDEREJ@thmulti.com>.
5526         * stdlib/tst-strtod.c (locale_test): New function.
5527         (main): Call locale_test.
5528         * stdlib/Makefile (tst-strtod-ENV): New variable.
5530 2001-01-24  Mark Kettenis  <kettenis@gnu.org>
5532         * hurd/hurdsig.c (_hurdsig_getenv): Remove spurious innermost
5533         declaration of value such that we actually return the value of the
5534         environment variable.
5536 2001-01-24  Andreas Jaeger  <aj@suse.de>
5538         * sysdeps/unix/sysv/linux/init-first.c: Remove extra __sysctl
5539         prototype.
5540         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
5542         * include/sys/sysctl.h: New file.
5544 2001-01-23  Andreas Jaeger  <aj@suse.de>
5546         * stdlib/Makefile ($(objpfx)isomac.out): Also pass sysincludes to
5547         isomac.
5549         * elf/dl-load.c (_dl_init_paths): Don't use strdupa in function
5550         arguments.  Reported by Jiri Kubicek <kubicek@bitsmart.com>,
5551         closes PR libc/2039.
5553         * manual/install.texi (Tools for Compilation): Change required
5554         binutils version.
5556 2001-01-22  Andreas Jaeger  <aj@suse.de>
5558         * configure.in: Add test for new enough binutils version, move
5559         compiler/binutils test up.
5561         * Versions.def: Add version GLIBC_2.2.2.
5563 2001-01-21  Ulrich Drepper  <drepper@redhat.com>
5565         * iconvdata/TESTS: UTF-8 test data for IBM932 and IBM943 are now
5566         available.
5567         * iconvdata/testdata/IBM932: New file.
5568         * iconvdata/testdata/IBM932..UTF8: New file.
5569         * iconvdata/testdata/IBM943: New file.
5570         * iconvdata/testdata/IBM943..UTF8: New file.
5571         Contributed by Masahide Washizawa <washi@jp.ibm.com>.
5573 2001-01-21  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
5575         * sysdeps/unix/sysv/linux/powerpc/mmap64.c: Correctly mask offset.
5577 2001-01-21  Ulrich Drepper  <drepper@redhat.com>
5579         * malloc/malloc.c: Remove a few unnecessary initializers of global
5580         variables.
5582 2000-12-09  H.J. Lu  <hjl@gnu.org>
5584         * nss/Makefile (routines): Add digits_dots.
5585         * nss/Versions (libc): Add __nss_hostname_digits_dots to GLIBC_2.2.2.
5586         * nss/digits_dots.c (__nss_hostname_digits_dots): Turn template
5587         into a function.
5588         * nss/nsswitch.h (__nss_hostname_digits_dots): New internal NSS
5589         function.
5590         * nss/getXXbyYY.c (H_ERRNO_VAR_P): New definition.
5591         (TYPE_VAR_P): Likewise.
5592         (FLAGS_VAR): Likewise.
5593         (AF_VAR_P): Likewise.
5594         (INTERNAL (REENTRANT_NAME)): Call __nss_hostname_digits_dots ()
5595         instead of including digits_dots.c.
5596         * nss/getXXbyYY_r.c (H_ERRNO_VAR_P): New definition.
5597         (TYPE_VAR_P): Likewise.
5598         (FLAGS_VAR): Likewise.
5599         (AF_VAR_P): Likewise.
5600         (INTERNAL (REENTRANT_NAME)): Call __nss_hostname_digits_dots ()
5601         instead of including digits_dots.c.
5603 2001-01-21  Ulrich Drepper  <drepper@redhat.com>
5605         * sysdeps/posix/getaddrinfo.c: Reduce .data size.
5607 2001-01-21  Andreas Jaeger  <aj@suse.de>
5609         * elf/constload2.c: Add prototype for init.
5611 2001-01-21  Ulrich Drepper  <drepper@redhat.com>
5613         * stdlib/stdlib.h (drand48_data): Make available only for
5614         __USE_MISC.  Rename elements to protect namespace.  Change type
5615         and position of a and init element.
5616         * stdlib/drand48-iter.c: Don't handle unsigned short > 16 bit
5617         differently.  Adjust for drand48_data change.  Don't compute a here,
5618         it comes from drand48_data.
5619         * stdlib/lcong48_r.c: Don't handle unsigned short > 16 bit
5620         differently.  Adjust for drand48_data change.  Compute a here.
5621         * stdlib/srand48_r.c: Likewise.
5622         * stdlib/drand48.c: Adjust for drand48_data change.
5623         * stdlib/lrand48.c: Likewise.
5624         * stdlib/mrand48.c: Likewise.
5625         * stdlib/seek48.c: Likewise.
5626         * stdlib/drand48_r.c: Likewise.
5627         * stdlib/lrand48_r.c: Likewise.
5628         * stdlib/mrand48_r.c: Likewise.
5629         * stdlib/seed48_r.c: Likewise.  Don't handle unsigned short > 16 bit
5630         differently.
5631         * stdlib/erand48_r.c: Don't handle unsigned short > 16 bit differently.
5632         * stdlib/jrand48_r.c: Likewise.
5634         * po/sv.po: Update from translation team.
5636 2001-01-21  Andreas Jaeger  <aj@suse.de>
5638         * stdio-common/vfprintf.c (vfprintf): Add casts.
5640 2001-01-20  Ulrich Drepper  <drepper@redhat.com>
5642         * iconvdata/run-iconv-test.sh: Reorgnize a bit to allow running only
5643         the ASCII test.
5644         * iconvdata/TESTS: Add entries for IBM932 and IBM943.
5646         * iconvdata/Makefile (modules): Add IBM932 and IBM943.
5647         * iconvdata/gconv-modules: Add entries for IBM932 and IBM943.
5648         * iconvdata/ibm932.c: New file.
5649         * iconvdata/ibm932.h: New file.
5650         * iconvdata/ibm943.c: New file.
5651         * iconvdata/ibm943.h: New file.
5652         Patches by Masahide Washizawa <washi@jp.ibm.com>.
5654         * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Fix typo
5655         preventing optimization from being done.  Set the correct type bit
5656         in seen.  Don't define and use _dl_base_addr unless
5657         NEED_DL_BASE_ADDR is defined.
5659         * io/ftw.c (ftw_dir): Add slash after directory name if there
5660         wasn't any.  Reported by loris <loris@iol.it>.
5661         * io/Makefile (tests): Add bug-ftw2.
5662         * io/bug-ftw2.c: New file.
5664 2001-01-19  Ulrich Drepper  <drepper@redhat.com>
5666         * stdlib/jrand48_r.c (__jrand48_r): Correct constructing of
5667         results.  Reported by Jeff Higham <jhigham@algorithmics.com>.
5668         * stdlib/tst-rand48.c: New file.
5669         * stdlib/Makefile (tests): Add tst-rand48.
5671         * locale/newlocale.c (__newlocale): Fix test for setting all
5672         categories.
5674 2001-01-19  Mark Kettenis  <kettenis@gnu.org>
5676         * sysdeps/mach/hurd/chroot.c (chroot): Revert 1999-02-27 changes,
5677         but change looking up the initial directory port in a similar way
5678         as done by _hurd_change_directory_port_from_name.
5679         * hurd/fchroot.c (fchroot): Likewise.
5681 2001-01-18  Ulrich Drepper  <drepper@redhat.com>
5683         * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): If HAVE_AUX_XID is
5684         defined don't look whether the AT_*ID values were set.
5685         If HAVE_AUX_PAGESIZE is defined don't look whether the pagesize is set.
5686         (_dl_show_auxv): Rewrite to avoid switch statement.
5687         * sysdeps/unix/sysv/linux/kernel-features.h: Define
5688         __ASSUME_AT_PAGESIZE for kernel >= 2.4.1.
5689         * sysdeps/unix/sysv/linux/ldsodefs.h: Define HAVE_AUX_XID.
5690         Define HAVE_AUX_PAGESIZE if __ASSUME_AT_PAGESIZE is defined.
5692         * sysdeps/unix/sysv/linux/fxstat64.c: Add one __builtin_expect.
5693         * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
5694         * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
5696         * elf/rtld.c (process_envvars): Call __strtoul_internal instead of
5697         strtoul.
5698         * elf/dl-minimal.c (strtol, __strtol_internal, strtoul): Removed.
5699         (__sigjmp_save): Set __mask_was_saved to zero since we don't save
5700         anything.
5701         * dlfcn/eval.c (__strtol_internal): Define here.
5702         (eval): Use __strtol_internal instead of strtol.
5704         * elf/elf.h: Add a few more EF_MIPS_* constants.
5706 2001-01-17  Ulrich Drepper  <drepper@redhat.com>
5708         * manual/Makefile (chapters): Add debug.
5709         * manual/debug.texi: New file.
5710         * manual/examples/execinfo.c: New file.
5711         Patch by suckfish@ihug.co.nz.
5713 2001-01-17  Andreas Schwab  <schwab@suse.de>
5715         * sysdeps/m68k/bits/byteswap.h (__bswap_32): Add cast to avoid
5716         invalid asm.
5718 2001-01-17  Andreas Jaeger  <aj@suse.de>
5720         * nscd/connections.c (nscd_run): Use proper format specifier.
5722 2001-01-16  Ulrich Drepper  <drepper@redhat.com>
5724         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Move x86_cap_flags and
5725         x86_platforms data into new file after prepending _dl_.  Change
5726         users.
5727         * sysdeps/unix/sysv/linux/i386/dl-procinfo.c: New file.
5728         * sysdeps/unix/sysv/linux/i386/Dist: Add dl-procinfo.c.
5729         * sysdeps/unix/sysv/linux/i386/Makefile: Add rules to build
5730         dl-procinfo.c.
5732         * setjmp/setjmp.h: Cleanup definition of setjmp macro.
5734         * sysdeps/i386/elf/bsd-setjmp.S: Real implementation.
5735         * sysdeps/i386/elf/bsd-_setjmp.S: Removed.
5736         * sysdeps/i386/elf/setjmp.S (setjmp): Removed here.
5737         (_setjmp): Likewise.
5738         * sysdeps/i386/bsd-_setjmp.S: Real implementation.
5739         * sysdeps/i386/bsd-setjmp.S: Real implementation.
5740         * sysdeps/i386/bits/setjmp.h: Remove PUSH_SIGNAL_MASK definition.
5741         * sysdeps/i386/setjmp.S: Remove PIC support.  This is the non-ELF
5742         version.
5744 2001-01-16  Andreas Jaeger  <aj@suse.de>
5746         * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h (SIGCONTEXT): Fix
5747         misapplied last patch.
5749 2001-01-15  Ulrich Drepper  <drepper@redhat.com>
5751         * stdlib/random.c (__initstate): Clean up a cast.
5752         (__setstate): Likewise.
5754         * sysdeps/unix/sysv/linux/mips/syscalls.list: Remove select
5755         syscall handling.  The generic Linux version should work.
5757 2001-01-15  Andreas Jaeger  <aj@suse.de>
5759         * sysdeps/unix/sysv/linux/sys/sendfile.h: Fix typo.
5761         * stdio-common/tstscanf.c (main): Add two testcases for '*' modifier.
5763 2001-01-14  Jakub Jelinek  <jakub@redhat.com>
5765         * nss/getent.c (print_aliases, aliases_keys, ethers_keys,
5766         netgroup_keys, print_rpc, rpc_keys, print_shadow, shadow_keys):
5767         New functions.
5768         (group_keys, hosts_keys, network_keys, passwd_keys, protocols_keys):
5769         If number is 0, list all.
5770         (services_keys): Likewise.  Lookup aliases as well.
5771         (databases): New table.
5772         (build_doc): Prepare argp doc text with list of supported databases.
5773         (main): Change to table driven processing.
5775 2001-01-14  Thorsten Kukuk <kukuk@suse.de>
5777         * sunrpc/xdr.c (xdr_long, xdr_u_long): Fix comments about these
5778         functions.
5780 2001-01-03  Jakub Jelinek  <jakub@redhat.com>
5782         * sunrpc/xdr.c (xdr_long, xdr_u_long): Return FALSE if trying to
5783         encode value which does not fit in the 32bit type.
5785 2001-01-15  Hiroyuki Machida <machida@sm.sony.co.jp>
5787         * sysdeps/unix/sysv/linux/mips/register-dump.h (REGISTER_DUMP):
5788         Change type of CTX to (struct sigcontext *).
5789         * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h (GET_PC): Likewise.
5790         (GET_FRAME): Likewise.
5791         (GET_STACK): Likewise.
5792         (SIGCONTEXT): Likewise. Add 2nd arg _code.
5793         (SIGCONTEXT_EXTRA_ARGS): Add 2nd arg _code.
5795 2001-01-13  Ulrich Drepper  <drepper@redhat.com>
5797         * manual/texinfo.tex: Update from upstream version.
5799 2001-01-13  Jakub Jelinek  <jakub@redhat.com>
5801         * inet/ether_ntoh.c (lookup_function): Change arguments to match
5802         _nss_*_getntohost_r prototype.
5803         (ether_ntohost): Pass errno pointer to NSS function.
5805 2001-01-12  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
5807         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MS_SYNC): Fix value.
5808         (MAP_LOCKED): New definition.
5809         (MAP_NORESERVE): New definition.
5811 2001-01-12  Ulrich Drepper  <drepper@redhat.com>
5813         * assert/assert.h: Use static_cast instead of C-style cast for C++.
5814         Patch by Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>.
5816 2001-01-12  Ben Collins  <bcollins@debian.org>
5818         * sysdeps/generic/segfault.c (install_handler): Use access, not
5819         __access.
5821 2001-01-12  Andreas Jaeger  <aj@suse.de>
5823         * posix/fnmatch_loop.c (FCT): Remove signed warnings.
5824         * posix/wordexp.c (do_parse_glob): Likewise.
5825         * sysdeps/posix/sigblock.c (__sigblock): Likewise.
5826         * sysdeps/posix/sigsetmask.c (__sigsetmask): Likewise.
5827         * elf/dl-open.c (_dl_open): Likewise.
5828         * elf/dl-close.c (_dl_close): Likewise.
5829         * elf/dl-load.c (_dl_map_object): Likewise.
5830         * iconv/iconv_prog.c (process_fd): Likewise.
5831         * stdio-common/vfscanf.c (_IO_vfscanf): Likewise.
5833         * locale/localeinfo.h (struct locale_data): Use __flexarr instead
5834         of a zero-length array.
5836 2001-01-11  Jakub Jelinek  <jakub@redhat.com>
5838         * stdlib/cxa_atexit.c (__cxa_atexit): Cast to (void *, int) func.
5839         * stdlib/cxa_finalize.c (__cxa_finalize): Add hidden second argument.
5840         * stdlib/cxa_on_exit.c: Remove.
5841         * stdlib/Makefile: Revert last patch.
5842         * stdlib/Versions: Likewise.
5843         * include/stdlib.h: Likewise.
5844         * stdlib/exit.h: Revert last patch.
5845         (struct exit_function): Add second argument to cxa fn.
5846         * stdlib/exit.c: Revert last patch.
5847         (exit): Add hidden second argument.
5849 2001-01-11  H.J. Lu  <hjl@gnu.org>
5851         * elf/dl-libc.c (do_dlopen): Move DL_STATIC_INIT to ...
5852         * elf/dl-open.c (_dl_open): Here.
5853         * sysdeps/unix/sysv/linux/ia64/dl-static.c (_dl_static_lock):
5854         Make it static.
5855         (_dl_static_init): Initialize the variables every time when possible.
5856         * sysdeps/unix/sysv/linux/ia64/ldsodefs.h (DL_STATIC_INIT):
5857         Undefine it first.
5859 2001-01-11  Ulrich Drepper  <drepper@redhat.com>
5861         * stdlib/Makefile (routines): Add cxa_on_exit.
5862         * stdlib/Versions [libc] (GLIBC_2.2.1): Add __cxa_on_exit.
5863         * stdlib/cxa_on_exit.c: New file.
5864         * include/stdlib.h: Add prototype for __cxa_on_exit.
5865         * stdlib/exit.c: Handle ef_cxa2.
5866         * stdlib/exit.h (enum): Add ef_cxa2.
5867         (struct exit_function): Add cxa2.
5869         * Versions.def [ld]: Add GLIBC_2.2.1.
5871 2001-01-10  H.J. Lu  <hjl@gnu.org>
5873         * elf/dl-libc.c (do_dlopen): Call DL_STATIC_INIT for static binaries.
5874         * sysdeps/unix/sysv/linux/ia64/Makefile (sysdep-dl-routines): Add
5875         dl-static.
5876         * sysdeps/unix/sysv/linux/ia64/Versions (ld): Add _dl_var_init.
5877         * sysdeps/generic/ldsodefs.h (DL_STATIC_INIT): Defined if not defined.
5878         * sysdeps/unix/sysv/linux/ia64/ldsodefs.h: New file.
5879         * sysdeps/unix/sysv/linux/ia64/dl-static.c: New file.
5880         * sysdeps/unix/sysv/linux/ia64/Dist: Add dl-static.c.
5882 2001-01-11  Ulrich Drepper  <drepper@redhat.com>
5884         * libio/stdio.h: Remove definition of off_t.
5886 2001-01-11  Andreas Jaeger  <aj@suse.de>
5888         * wcsmbs/tst-mbrtowc.c (utf8_test): New function by Markus Kuhn
5889         <mkuhn@acm.org>.
5891 2001-01-10  Ulrich Drepper  <drepper@redhat.com>
5893         * sunrpc/Makefile (distribute): Add errqueue.h.
5895 2001-01-10  H.J. Lu  <hjl@gnu.org>
5897         * sysdeps/ia64/dl-machine.h (TRAMPOLINE_TEMPLATE): Also preserve
5898         r9, r10 and r11 for language specific registers.
5900 2001-01-10  Jakub Jelinek  <jakub@redhat.com>
5902         * sunrpc/clnt_udp.c (clntudp_bufcreate): Set IP_RECVERR on the
5903         UDP socket.
5904         (clntudp_call): Handle MSG_ERRQUEUE.
5905         * sysdeps/generic/errqueue.h: New file.
5906         * sysdeps/unix/sysv/linux/errqueue.h: New file.
5908 2001-01-10  H.J. Lu  <hjl@gnu.org>
5910         * sysdeps/unix/sysv/linux/ia64/syscalls.list (s_getpagesize): Removed.
5912 2001-01-10  Joseph S. Myers  <jsm28@cam.ac.uk>
5914         * CONFORMANCE: Update.
5916 2001-01-09  Ulrich Drepper  <drepper@redhat.com>
5918         * sysdeps/generic/elf/backtracesyms.c (__backtrace_symbols):
5919         Minimal cleanups.  Add assert to ensure memory handling is correct.
5921         * manual/conf.texi (File Minimums): Fix _POSIX_PATH_MAX value.
5922         Reported by Ben Collins <bcollins@debian.org>.
5924         * time/strftime.c (my_strftime): Mark previous GNU extensions
5925         which are now in C99 as such.
5927 2001-01-08  Ulrich Drepper  <drepper@redhat.com>
5929         * elf/rtld.c (process_envvars): Place output files for profiling
5930         in SUID binaries in /var/profile.
5932         * elf/dl-load.c (_dl_map_object): Don't look in cache for
5933         preloading in SUID binaries.
5935         * elf/dl-profile.c (_dl_start_profile): Open the output file with
5936         O_NOFOLLOW if possible.
5938         * include/stdlib.h: Add __posix_openpt declaration.
5939         * stdlib/stdlib.h: Add posix_openpt declaration.
5940         * login/Versions: Add posix_openpt for GLIBC_2.2.1.
5941         * sysdeps/generic/getpt.c: Define posix_openpt.
5942         * sysdeps/unix/bsd/getpt.c: Likewise.
5943         * sysdeps/unix/sysv/linux/getpt.c: Likewise.
5945         * time/Makefile (tests): Add tst-mktime.
5946         * time/tst-mktime.c: New file.
5948         * posix/tst-dir.c (main): One more mkdir() test.
5950         * sysdeps/unix/sysv/linux/ia64/getpagesize.c (__getpagesize):
5951         Remove getpagesize syscall.  We assume that the pagesize is always
5952         determined from the auxiliary vector.
5954         * intl/dcigettext.c: Fix a few warnings.
5955         Patch by Bruno Haible <haible@ilog.fr>.
5957 2001-01-08  Andreas Jaeger  <aj@suse.de>
5959         * io/test-lfs.c (do_test): Check lseek64 return for EINVAL.
5960         Reported by Joseph S. Myers <jsm28@cam.ac.uk>.
5962 2001-01-08  Ulrich Drepper  <drepper@redhat.com>
5964         * sysdeps/generic/segfault.c (install_handler): Check output file
5965         name with access().
5967         * resolv/res_query.c: Use simply getenv() for HOSTALIASES.
5968         * sysdeps/generic/unsecvars.h (UNSECURE_ENVVARS): Add HOSTALIASES.
5970         * sysdeps/generic/unsecvars.h (UNSECURE_ENVVARS): Add missing comma.
5972         * malloc/memusage.c (me): Use access() to determine whether we
5973         should write the output file or not.
5975         * libio/bits/stdio.h (printf): Define macro to map printf call to
5976         fprintf which gcc can optimize.
5977         * stdio-common/printf.c: Undefine printf.
5979 2001-01-07  Ulrich Drepper  <drepper@redhat.com>
5981         * sysdeps/generic/bits/byteswap.h (__bswap_64): Partly revert last
5982         patch.  We must use unsigned int for l member of union.
5984         * sysdeps/powerpc/elf/libc-start.c (__libc_start_main): Don't call
5985         _dl_aux_init for shared libraries.
5987         * sysdeps/unix/sysv/linux/glob64.c: Moved to ...
5988         * sysdeps/gnu/glob64.c: ...here.  New file.
5990 2001-01-07  Ben Collins  <bcollins@debian.org>
5992         * manual/examples/longopt.c: Make the "struct option" a little
5993         more like it should be, adding usage of required_argument,
5994         noargument and such, and also setting the options string right.
5996         * manual/sysinfo.texi (Load Average): New section, documents
5997         getloadavg().
5999 2001-01-06  Ulrich Drepper  <drepper@redhat.com>
6001         * version.h (VERSION): Bump to 2.2.1.
6003         * sysdeps/unix/sysv/linux/mips/Dist: Remove sys/acct.h.
6004         * sysdeps/alpha/Dist: Add alphaev6/stxncpy.S and alphaev6/stxcpy.S.
6005         * sysdeps/unix/sysv/aix/Dist: Add uitrunc.c, savef.S, and restf.S.
6006         * dlfcn/Makefile (distribute): Add errmsg1mod.c.
6007         * Makefile (distribute): Add include/libc-internal.h.
6008         * libio/Makefile (distribute): Avoid overwriting.
6010         * iconvdata/ibm937.c (BODY to IBM937): Correct several mistakes in
6011         buffer and table handling.
6013 2001-01-05  H.J. Lu  <hjl@gnu.org>
6015         * elf/dl-support.c (non_dynamic_init): Move the auxiliary
6016         vector checking to ...
6017         (_dl_aux_init): Here. New function. Defined only if
6018         HAVE_AUX_VECTOR is defined.
6020         * sysdeps/generic/libc-start.c (__libc_start_main): Call
6021         _dl_aux_init for static binaries if HAVE_AUX_VECTOR is defined.
6023         * sysdeps/powerpc/elf/libc-start.c (__libc_start_main): Call
6024         _dl_aux_init.
6026         * sysdeps/unix/sysv/linux/ldsodefs.h (DL_FIND_AUXV): Removed.
6027         (HAVE_AUX_VECTOR): Defined.
6028         (_dl_aux_init): Declared.
6030 2001-01-05  Ben Collins  <bcollins@debian.org>
6032         * manual/string.texi (Finding Tokens in a String): Document XPG
6033         basename() and dirname(), as well as GNU basename().
6035 2001-01-05  Jakub Jelinek  <jakub@redhat.com>
6037         * Makeconfig (preprocess-version): Replace -traditional with
6038         -x assembler-with-cpp.
6040 2001-01-05  Joseph S. Myers  <jsm28@cam.ac.uk>
6042         * math/bits/cmathcalls.h: Don't define inline cimag, creal or conj
6043         for GCC 2.97 or later.
6045 2001-01-05  Ben Collins  <bcollins@debian.org>
6047         * manual/stdio.texi (getline): Clarify the return value in the
6048         case of EOF being reached before a newline.
6050 2001-01-04  Jakub Jelinek  <jakub@redhat.com>
6052         * sunrpc/pmap_clnt.c (__get_myaddress): Return TRUE if successful,
6053         FALSE otherwise.
6054         (pmap_set, pmap_unset): Check __get_myaddress return value.
6056 2001-01-05  Mark Kettenis  <kettenis@gnu.org>
6058         * sysdeps/generic/netinet/if_ether.h: Include <sys/types.h>.
6059         (struct ether_addr): Declare ether_addr_octet member as
6060         `u_int8_t'.  Add __attribute__ ((__packed__)).
6062 2001-01-06  Mark Kettenis  <kettenis@gnu.org>
6064         * sysdeps/mach/hurd/readdir64.c: New file.
6065         * sysdeps/mach/hurd/readdir64_r.c: New file.
6067 2001-01-07  Mark Kettenis  <kettenis@gnu.org>
6069         * sysdeps/mach/hurd/fstatvfs.c (fstatvfs): Add comment about
6070         `struct statfs' and `struct statvfs' being identical.
6071         * sysdeps/mach/hurd/statvfs.c (statvfs): Likewise.
6073 2001-01-06  Mark Kettenis  <kettenis@gnu.org>
6075         * sysdeps/mach/hurd/fstatfs64.c: New file.
6076         * sysdeps/mach/hurd/fstatvfs64.c: New file.
6077         * sysdeps/mach/hurd/statfs64.c: New file.
6078         * sysdeps/mach/hurd/statvfs64.c: New file.
6079         * sysdeps/mach/hurd/statfsconv.c: New file.
6080         * sysdeps/mach/hurd/Dist: Add statfsconv.c.
6082 2001-01-06  Ulrich Drepper  <drepper@redhat.com>
6084         * iconv/skeleton.c: Reset outbuf for next round of the loop.
6085         Reported by Owen Taylor <otaylor@redhat.com>.
6086         * iconv/Makefile (tests): Add tst-iconv3.
6087         * iconv/tst-iconv3.c: New file.
6089         * iconvdata/ibm930.c: Fix handling of state.  Optimize a bit.
6090         * iconvdata/ibm933.c: Likewise.
6091         * iconvdata/ibm935.c: Likewise.
6092         * iconvdata/ibm937.c: Likewise.
6093         * iconvdata/ibm939.c: Likewise.
6094         * iconvdata/ibm930.h: Adjust single byte table for optimization.
6095         * iconvdata/ibm933.h: Likewise.
6096         * iconvdata/ibm935.h: Likewise.
6097         * iconvdata/ibm939.h: Likewise.
6099         * iconvdata/testdata/IBM930: Add misssing SI.
6100         * iconvdata/testdata/IBM933: Likewise.
6101         * iconvdata/testdata/IBM935: Likewise.
6102         * iconvdata/testdata/IBM937: Likewise.
6103         * iconvdata/testdata/IBM939: Likewise.
6105 2001-01-06  Andreas Jaeger  <aj@suse.de>
6107         * configure.in: Check for old add-ons that shouldn't be used with
6108         current glibc anymore.
6110 2001-01-06  Mark Kettenis  <kettenis@gnu.org>
6112         * sysdeps/mach/hurd/readdir_r.c (__readdir_r): Return error number
6113         instead of -1 on failure.  Don't forget to copy file name into
6114         *ENTRY if successful.  Set *RESULT to NULL upon reaching the end
6115         of the directory.
6117 2001-01-06  Mark Kettenis  <kettenis@gnu.org>
6119         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Don't forget to
6120         copy st_atime member.
6122 2001-01-05  Ulrich Drepper  <drepper@redhat.com>
6124         * io/ftw.c (ftw_dir): Don't add a second slash at the beginning
6125         for searches from the root directory.
6126         Reported by loris <loris@iol.it> [PR libc/1991].
6127         * io/Makefile (tests): Add bug-ftw1.
6128         * io/bug-ftw1.c: New file.
6130         * elf/dl-support.c (non_dynamic_init): Don't define DL_FIND_AUXV
6131         if it is not available.  Instead use it only if it is available.
6132         * sysdeps/unix/sysv/linux/ldsodefs.h: New file.
6134         * iconv/gconv_simple.c (internal_ics4_loop): Correct test for
6135         overflowing output buffer.
6136         (internal_ucs4_loop_unaligned): Likewise.
6137         (ucs4_internal_loop): Likewise.
6138         (ucs4_internal_loop_unaligned): Likewise.
6139         (internal_ucs4le_loop): Likewise.
6140         (internal_ucs4le_loop_unaligned): Likewise.
6141         (ucs4le_internal_loop): Likewise.
6142         (ucs4le_internal_loop_unaligned): Likewise.
6143         Reported by Owen Taylor <otaylor@redhat.com>.
6144         * iconv/Makefile (tests): Add tst-iconv2.
6145         * iconv/tst-iconv2.c: New file.
6147 2001-01-04  H.J. Lu  <hjl@gnu.org>
6149         * elf/dl-support.c (DL_FIND_AUXV): New.  Defined if not defined.
6150         (_dl_clktck): Declared.
6151         (non_dynamic_init): Take 3 arguments.
6152         Set _dl_pagesize, _dl_platform and _dl_clktck from AUX.
6154 2001-01-01  Bruno Haible  <haible@clisp.cons.org>
6156         Finish implementation of plural form handling.
6157         * intl/dcigettext.c (known_translation_t): Rename 'domain' field to
6158         'domainname'.  Remove 'plindex' field. Add 'domain' and
6159         'translation_length' fields.
6160         (transcmp): Don't compare 'plindex' fields.
6161         (plural_lookup): New function.
6162         (DCIGETTEXT): Change cache handing in the plural case.  Don't call
6163         plural_eval before the translation and its catalog file have been
6164         found. Remove plindex from cache key.  Add 'translation_length' and
6165         'domain' to cache result.
6166         (_nl_find_msg): Remove index argument, return length of translation
6167         to the caller instead.  Weaken comparison of string lengths, to account
6168         for plural entries.  Call iconv() on the entire result string, not
6169         only on the portion needed so far.
6170         * intl/loadinfo.h (_nl_find_msg): Remove index argument, add lengthp
6171         argument.
6172         * intl/loadmsgcat.c (_nl_load_domain): Adapt to _nl_find_msg change.
6174 2001-01-04  Ulrich Drepper  <drepper@redhat.com>
6176         * intl/plural.y (yylex): Minimal improvement in number scanner.
6178 2000-07-31  Bruno Haible  <haible@clisp.cons.org>
6180         * intl/plural.y: Include config.h. Needed to define 'inline' away for
6181         C compilers that don't support it.
6182         (yylex): Don't use gcc specific case range syntax.
6183         * intl/loadmsgcat.c (INIT_GERMANIC_PLURAL): New macro, for old
6184         compilers.
6186 2000-10-12  Bruno Haible  <haible@clisp.cons.org>
6188         * intl/finddomain.c: Remove unneeded includes.
6190 2000-10-12  Bruno Haible  <haible@clisp.cons.org>
6192         * intl/localealias.c (memcpy): Return first argument, just like the
6193         real memcpy function does.
6194         * intl/bindtextdom.c (memcpy): Likewise.
6195         * intl/finddomain.c (memcpy): Likewise.
6196         * intl/l10nflist.c (memcpy): Likewise.
6197         * intl/textdomain.c (memcpy): Likewise.
6198         From Paul Eggert <eggert@twinsun.com>.
6200 2001-01-03  Jakub Jelinek  <jakub@redhat.com>
6202         * resolv/resolv.h (struct __res_state): Add nsinit field.
6203         * resolv/res_send.c (res_nsend): Use it instead of nscount.
6204         * resolv/res_init.c (__res_vinit): Initialize it.
6205         (res_nclose): Clear it instead of nscount.
6207 2001-01-04  Ulrich Drepper  <drepper@redhat.com>
6209         * malloc/mtrace.pl: Fix matching of addresses.
6210         Patch by Aharon Robbins <arnold@skeeve.com>.
6212         * Versions.def (ld): Add GLIBC_2.2.
6214         * catgets/gencat.c: Copyright 2001.
6215         * csu/version.c: Likewise.
6216         * debug/catchsegv.sh: Likewise.
6217         * debug/xtrace.sh: Likewise.
6218         * elf/ldconfig.c: Likewise.
6219         * elf/sprof.c: Likewise.
6220         * iconv/iconv_prog.c: Likewise.
6221         * locale/locale.c: Likewise.
6222         * locale/localedef.c: Likewise.
6223         * malloc/memusage.sh: Likewise.
6224         * malloc/mtrace.pl: Likewise.
6225         * nscd/nscd.c: Likewise.
6226         * posix/getconf.c: Likewise.
6228 2001-01-04  Mark Kettenis  <kettenis@gnu.org>
6230         * include/stdio.h: Only provide __getwc_unlocked prototype if
6231         USE_IN_LIBIO is defined.
6233 2001-01-04  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
6235         * sysdeps/unix/sysv/linux/sh/socket.S (__socket): Fix error code
6236         handling.
6238 2001-01-03  Andreas Schwab  <schwab@suse.de>
6240         * sysdeps/generic/strtoll.c: Remove unused __strtoq_internal alias.
6241         * sysdeps/generic/strtoull.c: Remove unused __strtouq_internal alias.
6243         * sysdeps/wordsize-64/strtol.c: Add strtoq alias and fix strtoll alias.
6244         * sysdeps/wordsize-64/strtoul.c: Add strtouq alias and fix
6245         strtoull alias.
6246         * sysdeps/wordsize-64/wcstol.c: Add wcstoq alias and fix wcstoll alias.
6247         * sysdeps/wordsize-64/wcstoul.c: Add wcstouq alias and fix
6248         wcstoull alias.
6250         * sysdeps/generic/strtoul.c: Make sure we find strtol.c in this
6251         directory.
6252         * sysdeps/generic/strtol_l.c: Likewise.
6253         * sysdeps/generic/strtoul_l.c: Likewise.
6254         * sysdeps/generic/wcstoul.c: Likewise, for wcstol.c.
6256         * sysdeps/wordsize-64/strtol_l.c: Fix alias.
6257         * sysdeps/wordsize-64/strtoul_l.c: Likewise.
6258         * sysdeps/wordsize-64/wcstol_l.c: Fix alias.
6259         * sysdeps/wordsize-64/wcstoul_l.c: Likewise.
6261 2001-01-04  Andreas Jaeger  <aj@suse.de>
6263         * nss/nsswitch.c: Include files for missing prototypes, remove
6264         buggy declaration of prototypes.
6266 2001-01-03  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
6268         * resolv/Versions: Fix bracing.
6269         * sysdeps/powerpc/soft-fp/Versions: Likewise.
6270         * sysdeps/sparc/sparc64/soft-fp/Versions: Likewise.
6272 2001-01-02  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
6274         * sysdeps/powerpc/dl-machine.c (__process_machine_rela): Fix typo.
6276 2001-01-02  Ulrich Drepper  <drepper@redhat.com>
6278         * manual/Makefile (TEXI2PDF): Change to texi2dvi --pdf.
6279         Suggested by Minko Markov <mmarkov@home.com>.
6281 2001-01-02  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
6283         * sysdeps/powerpc/elf/start.S (__data_start): Make it global.
6284         * sysdeps/powerpc/dl-machine.c (dl_reloc_overflow): Print the name of
6285         the failing symbol.
6286         (__process_machine_rela): Pass symbol to dl_reloc_overflow().
6288 2001-01-02  Ben Collins  <bcollins@debian.org>
6290         * time/tzset.c (tzset_internal): Make sure we fall back to UTC
6291         if TZ is not set and TZDEFAULT is not present.
6293 2001-01-01  Ben Collins  <bcollins@debian.org>
6295         * string/strings.h: Make sure we declare our functions even if
6296         string.h is already included, based on whether or not __USE_BSD is
6297         defined.
6299 2001-01-02  Ulrich Drepper  <drepper@redhat.com>
6301         * dlfcn/dlerror.c (dlerror): Handle call of dlerror() before any
6302         other dlopen() and dlsym().
6303         Based on a patch by Ben Collins <bcollins@debian.org>.
6305 2001-01-02  Andreas Jaeger  <aj@suse.de>
6307         * dlfcn/errmsg1.c (main): Call dlerror initially.
6308         Reported by Ben Collins <bcollins@debian.org>.
6310 2001-01-02  Ulrich Drepper  <drepper@redhat.com>
6312         * intl/dcigettext.c (guess_category_value): Rewrite so that LANGUAGE
6313         value is ignored if the selected locale is the C locale.
6314         * intl/tst-gettext.c: Set locale for above change.
6315         * intl/tst-translit.c: Likewise.
6317 2001-01-02  Andreas Jaeger  <aj@suse.de>
6319         * libio/wgenops.c (_IO_wdoallocbuf): Use correct wide access macro.
6320         (_IO_switch_to_wget_mode): Likewise.
6321         (_IO_sputbackwc): Likewise.
6322         (_IO_sungetwc): Use wint_t for result.
6324         * stdio-common/vfscanf.c (__vfscanf): Use WINT_T for done.
6326         * sysdeps/generic/strtol.c (strtol): Make cnt size_t for correct
6327         signedness.
6329         * sysdeps/generic/printf_fphex.c (putc): Cast _IO_putwc_unlocked
6330         to (int) to avoid warnings.
6331         * stdio-common/printf_fp.c (putc): Likewise.
6332         * stdio-common/printf_size.c (putc): Likewise.
6334         * sysdeps/generic/dl-sysdep.c (_dl_important_hwcaps): Make
6335         constant unsigned.
6337 2001-01-01  Andreas Jaeger  <aj@suse.de>
6339         * inet/rcmd.c (rcmd_af): Use socklen_t for len.
6341 2000-12-31  Andreas Jaeger  <aj@suse.de>
6343         * include/libc-internal.h: Add prototype for __libc_freeres.
6345         * sysdeps/unix/sysv/linux/init-first.c: Include <libc-internals.h>
6346         for prototypes, remove redundant prototypes.
6347         * gmon/gmon.c: Likewise.
6348         * sysdeps/unix/i386/i586/clock_getres.c: Likewise.
6349         * sysdeps/unix/i386/i586/clock_gettime.c: Likewise.
6350         * malloc/mtrace.c: Likewise.
6352         * sysdeps/generic/enbl-secure.c: Include <libc-internals.h> for
6353         prototypes.
6354         * elf/soinit.c: Likewise.
6355         * sysdeps/generic/prof-freq.c: Likewise.
6356         * sysdeps/mach/hurd/profil.c: Likewise.
6357         * debug/noophooks.c: Likewise.
6358         * debug/pcprofile.c: Likewise.
6359         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Likewise.
6360         * sysdeps/generic/get_clockfreq.c: Likewise.
6361         * malloc/set-freeres.c: Likewise.
6363         * locale/localeinfo.h: Add internal prototypes.
6365         * elf/rtld.c (dl_main): Fix prototype.
6367         * iconvdata/tst-table-to.c (main): Use return instead of exit to
6368         avoid warning.
6370         * nis/rpcsvc/yp_prot.h: Remove __P.
6371         * nis/rpcsvc/ypupd.h: Likewise.
6372         * nis/rpcsvc/yp.h: Likewise.
6374         * sunrpc/rpc_main.c: Add noreturn attributes.
6375         * sunrpc/rpc_scan.h: Likewise.
6377         * sunrpc/rpc_hout.c (storexdrfuncdecl): Make static.
6379         * sunrpc/rpcinfo.c: Add noreturn attribute to brdcst.
6381         * sunrpc/proto.h: Add noreturn attributes to error and crash.
6383         * posix/bsd-getpgrp.c: Add prototype to avoid warning.
6385         * sunrpc/svc_unix.c: Include <rpc/svc.h> for prototypes.
6387         * sunrpc/create_xid.c: Include <rpc/svc.h> for prototypes.
6389         * include/rpc/rpc_msg.h: Add prototypes for some functions.
6390         * include/rpc/auth.h: Likewise.
6391         * include/rpc/auth_des.h: Likewise.
6392         * include/rpc/clnt.h: Likewise.
6393         * include/rpc/rpc.h: Likewise.
6394         * include/rpc/svc.h: Likewise.
6395         * include/rpc/svc_auth.h: Likewise.
6397         * include/rpc/des_crypt.h: New file.
6399         * malloc/memusagestat.c (main): Use return instead of exit to
6400         avoid warning.
6401         * io/pwd.c (main): Likewise.
6402         * iconvdata/tst-table-from.c (main): Likewise.
6403         * ctype/test_ctype.c (main): Likewise.
6404         * setjmp/tst-setjmp.c (main): Likewise.
6405         * signal/tst-signal.c (main): Likewise.
6406         * stdlib/tst-strtol.c (main): Likewise.
6407         * stdlib/tst-strtod.c (main): Likewise.
6408         * stdlib/tst-strtoll.c (main): Likewise.
6409         * stdlib/tst-xpg-basename.c (main): Likewise.
6410         * dirent/tst-seekdir.c (main): Likewise.
6411         * grp/testgrp.c (main): Likewise.
6412         * inet/test_ifindex.c (main): Likewise.
6413         * io/test-utime.c (main): Likewise.
6414         * posix/test-vfork.c (main): Likewise.
6415         * posix/testfnm.c (main): Likewise.
6416         * stdio-common/temptest.c (main): Likewise.
6417         * stdio-common/test_rdwr.c (main): Likewise.
6418         * stdio-common/tst-fileno.c (main): Likewise.
6419         * stdio-common/tst-sscanf.c (main): Likewise.
6420         * stdio-common/tstscanf.c (main): Likewise.
6421         * string/bug-strncat1.c (main): Likewise.
6422         * string/bug-strpbrk1.c (main): Likewise.
6423         * string/bug-strspn1.c (main): Likewise.
6424         * string/test-ffs.c (main): Likewise.
6425         * string/tst-inlcall.c (main): Likewise.
6426         * string/tst-svc.c (main): Likewise.
6427         * timezone/test-tz.c (main): Likewise.
6428         * wctype/test_wcfuncs.c (main): Likewise.
6429         * wctype/test_wctype.c (main): Likewise.
6431         * stdlib/tst-random.c: Add attribute noreturn to fail.
6433 2000-12-28  Wolfram Gloger  <wg@malloc.de>
6435         * malloc/malloc.c (MALLOC_COPY): Handle case if source and
6436         destination overlap.  Assume dest is always below source if
6437         overlapping.
6439 2000-12-30  Ulrich Drepper  <drepper@redhat.com>
6441         * elf/dl-close.c (_dl_close): We can ignore the NODELETE flag if the
6442         object was not yet initialized.
6444 2000-12-28  H.J. Lu  <hjl@gnu.org>
6446         * elf/dl-deps.c (_dl_map_object_deps): Make sure the DSO state
6447         is always consistent even if its dependency is failed.
6449         * elf/dl-open.c (_dl_open): Increment the open count before
6450         calling _dl_close () in case of failure.
6452         * elf/neededtest4.c: New file.
6453         * elf/neededobj5.c: New file.
6454         * elf/neededobj6.c: New file.
6456         * elf/Makefile (distribute): Add neededobj5.c and neededobj6.c.
6457         (tests): Add neededtest4.
6458         (modules-names): Add neededobj5 and neededobj6.
6459         ($(objpfx)neededobj6.so): New target.
6460         ($(objpfx)neededtest4): New target.
6461         ($(objpfx)neededtest4.out): New target.
6463 2000-12-28  Joseph S. Myers  <jsm28@cam.ac.uk>
6465         * misc/sys/cdefs.h (__attribute_format_strfmon__): Define.
6466         * stdlib/monetary.h: Add strfmon format attributes.
6468 2000-12-28  Roland McGrath  <roland@frob.com>
6470         * sysdeps/mach/hurd/ioctl.c (do_ioctl): Avoid double-increment after
6471         __mempcpy does it for us.
6473 2000-12-28  Andreas Jaeger  <aj@suse.de>
6475         * sysdeps/generic/dl-environ.c: Add prototype for unsetenv.
6477         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Add prototype for
6478         __new_setrlimit.
6480         * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Add prototype for
6481         __old_getrlimit64.
6483         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Add prototype for
6484         __new_getrlimit.
6486         * sysdeps/unix/sysv/linux/i386/chown.c: Add prototypes for
6487         __chown_is_lchown and __real_chown.
6489         * sysdeps/generic/ldsodefs.h: Add noreturn attribute to
6490         _dl_reloc_bad_type.
6492         * sunrpc/rpc_hout.c (print_funcdef): Add break statement to shut
6493         up GCC's warning about "deprecated use of label at end of compound
6494         statement."
6495         * sunrpc/rpc_cout.c (emit_inline): Likewise.
6497         * gmon/bb_exit_func.c: Include <sys/gmon.h> for internal
6498         prototypes.
6499         Remove struct bb and __bb_head since those are declared by
6500         sys/gmon.h.
6502 2000-12-22  Ben Collins  <bcollins@debian.org>
6504         * manual/charset.texi: Fix typo in description of WCHAR_MAX.
6506         * manual/argp.texi: Document argp_domain as part of struct argp.
6508 2000-12-28  Andreas Jaeger  <aj@suse.de>
6510         * catgets/Makefile (generated): Add sample.SJIS.cat.
6512         * sunrpc/rpc_dtable.c: Include rpc/clnt.h for prototypes.
6514         * elf/dl-minimal.c: Add prototypes.
6516         * include/locale.h: Add internal prototypes.
6517         * include/sys/gmon.h: Likewise.
6519         * dlfcn/errmsg1mod.c: Add prototype for foo to shut up GCC.
6521 2000-12-27  Ben Collins  <bcollins@debian.org>
6523         * elf/dl-open.c (_dl_open): Correctly set the new objname pointer
6524         when reallocating the error strings.
6525         Reported by Kalle Olavi Niemitalo <kon@iki.fi>
6527 2000-12-27  Ulrich Drepper  <drepper@redhat.com>
6529         * dlfcn/Makefile (tests): Add errmsg1.
6530         (modules-names): Add errmsg1mod.
6531         Add rules to run errmsg1.
6532         * dlfcn/errmsg1.c: New file.
6533         * dlfcn/errmsg1mod.c: New file.
6535         * dlfcn/dlerror.c (dlerror): Always create output string which
6536         includes object file name.
6538         * sysdeps/alpha/alphaev6/memcpy.S: Don't go through unrolled loop
6539         if we would go through it only once.
6540         Patch by Rick Gorton <rick.gorton@api-networks.com>.
6542         * sysdeps/alpha/alphaev67/strncat.S: Fix handling of numeric parameter.
6543         Patch by Richard Henderson <rth@redhat.com>.
6545 2000-12-27  Jakub Jelinek  <jakub@redhat.com>
6547         * malloc/malloc.c (memmove): Add prototypes.
6548         (MALLOC_MEMMOVE): Define.
6549         (chunk_realloc): Use it instead of MALLOC_COPY if source and
6550         destination might overlap.
6552 2000-12-27  Andreas Jaeger  <aj@suse.de>
6554         * stdio-common/printf_fp.c (__printf_fp): Add prototype for nested
6555         function.
6556         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
6557         * locale/programs/locale.c (show_locale_vars): Likewise.
6558         (show_info): Likewise.
6559         * locale/programs/ld-collate.c (collate_output): Likewise.
6560         * locale/programs/ld-ctype.c (set_class_defaults): Likewise.
6561         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
6562         * stdlib/rpmatch.c (rpmatch): Likewise.
6564         * setjmp/tst-setjmp.c: Make local functions static.
6565         * setjmp/jmpbug.c: Likewise.
6566         * signal/tst-signal.c: Likewise.
6567         * stdio-common/tfformat.c: Likewise.
6568         * string/tst-svc.c: Likewise.
6569         * time/clocktest.c: Likewise.
6570         * time/tst-getdate.c: Likewise.
6571         * dirent/list.c: Likewise.
6572         * dirent/opendir-tst1.c: Likewise.
6573         * posix/runtests.c: Likewise.
6574         * posix/tst-getaddrinfo.c: Likewise.
6575         * posix/tst-chmod.c: Likewise.
6576         * posix/wordexp-test.c: Likewise.
6577         * misc/tst-efgcvt.c: Likewise.
6578         * timezone/tst-timezone.c: Likewise.
6579         * rt/tst-clock.c: Likewise.
6580         * rt/tst-shm.c: Likewise.
6581         * rt/tst-aio2.c: Likewise.
6582         * rt/tst-aio3.c: Likewise.
6583         * rt/tst-aio4.c: Likewise.
6584         * rt/tst-aio5.c: Likewise.
6586         * dlfcn/failtest.c: Add prototype for foo.
6588         * dlfcn/glrefmain.c: Add prototype for do_test.
6590         * dlfcn/tst-dladdr.c: Add prototype for do_test.
6592         * string/test-ffs.c (main): Add prototype for nested function.
6594         * sunrpc/des_soft.c: Include rpc/des_crypt.h for prototype.
6596         * nss/XXX-lookup.c: Add prototype to shut up GCC.
6598         * include/netinet/ether.h (DECLARE_NSS_PROTOTYPES): Fix
6599         setetherent prototype.
6600         Add internal interfaces.
6602         * nis/nss_nis/nis-ethers.c (_nss_nis_setetherent): Likewise.
6603         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent): Likewise.
6605         * resolv/res_data.c: Don't add (conflicting) prototypes for _LIBC.
6607         * nis/nis_intern.h: Add prototype for __pmap_getnisport.
6609         * nss/nss_files/files-ethers.c: Include netinet/ether.h to get
6610         prototypes, remove struct etherent since it's declared in ether.h.
6611         Fix ntohost declaration.
6613         * elf/dl-profile.c (_dl_mcount): Add empty statement to shut up GCC.
6615         * include/getopt.h: Add internal interfaces.
6616         * include/termios.h: Likewise.
6617         * include/resolv.h: Likewise.
6618         * include/netdb.h: Likewise.
6619         * include/grp.h: Likewise.
6620         * include/pwd.h: Likewise.
6621         * include/shadow.h: Likewise.
6622         * include/rpc/netdb.h: Likewise.
6623         * include/setjmp.h: Likewise.
6625         * include/stdio.h: Add prototypes for compatibility functions.
6626         * include/grp.h: Likewise.
6627         * include/pwd.h: Likewise.
6628         * include/shadow.h: Likewise.
6630         * include/fenv.h: Define internal interfaces.
6632 2000-12-27  Ulrich Drepper  <drepper@redhat.com>
6634         * sysdeps/generic/bits/byteswap.h (__bswap_64): Handle constant
6635         argument case separately.
6636         * sysdeps/i386/bits/byteswap.h (__bswap_64): Likewise.
6638 2000-12-27  Andreas Jaeger  <aj@suse.de>
6640         * include/sys/wait.h: Add some prototypes.
6641         * Rules (dummy.c): Create also prototype to shut up GCC.
6643 2000-12-27  Andreas Jaeger  <aj@suse.de>
6645         * sysdeps/mach/hurd/if_index.c (__protocol_available): Uncomment,
6646         it's not needed at the moment.
6647         * sysdeps/generic/if_index.c (__protocol_available): Likewise.
6648         * sysdeps/unix/sysv/linux/if_index.c (__protocol_available): Likewise.
6650 2000-12-26  Andreas Jaeger  <aj@suse.de>
6652         * libio/getc_u.c: Include stdio.h via system path to get internal
6653         prototypes.
6654         * libio/getwc_u.c: Likewise.
6656         * stdlib/strfmon.c: Fix prototype of __printf_fp.
6658         * stdio-common/vfprintf.c (process_arg): Move __printf_fphex and
6659         __printf_fp prototypes to ...
6660         * include/printf.h: ...here.
6662         * include/stdio.h: Add some internal prototypes to shut up GCC.
6663         * include/stdlib.h: Likewise.
6665         * sysdeps/posix/sigpause.c (__sigpause): Use ISO C prototype
6666         declaration.
6668         * include/signal.h: Add prototypes for internal sigpause
6669         interfaces.
6671 2000-12-26  Ulrich Drepper  <drepper@redhat.com>
6673         * sysdeps/generic/bits/byteswap.h (__bswap_64): Make it usable for
6674         64bit platforms.  Reported by Dave Gilbert <gilbertd@treblig.org>.
6676         * string/Makefile (tests): Add tst-bswap.
6677         * string/tst-bswap.c: New file.
6679 2000-12-11  Bruno Haible  <haible@clisp.cons.org>
6681         * Makefile ($(inst_includedir)/gnu/stubs.h): Sort in the C locale.
6683 2000-12-26  Ulrich Drepper  <drepper@redhat.com>
6685         * sunrpc/Makefile (rpcgen-cmd): Use single quotes in sed call.
6686         Patch by Ed Connell <Ed.Connell@sas.com>.
6688 2000-12-24  Ulrich Drepper  <drepper@redhat.com>
6690         * locale/iso-639.def: Correct one entry.  Add two missing entries.
6692         * locale/iso-4217.def: Change entry for Eritrea.
6693         Reported by Daniel Yacob <yacob@geez.org>.
6695 2000-12-23  Ben Collins  <bcollins@debian.org>
6697         * manual/charset.texi (Extended Char Intro): Fix typo in ISO 6937
6698         description.
6700         * manual/stdio.texi (Dynamic Output): Document the return value of
6701         asprintf.  Also make the asprintf/snprintf examples a little
6702         better (check for some error returns).
6704 2000-12-22  Andreas Jaeger  <aj@suse.de>
6706         * include/stdio.h: Add __ftrylockfile prototype.
6708 2000-12-21  H.J. Lu  <hjl@gnu.org>
6710         * sysdeps/ia64/fpu/math_ldbl.h (ieee_long_double_shape_type):
6711         Make sign_exponent element signed.
6713         * sysdeps/ieee754/ldbl-96/math_ldbl.h (ieee_long_double_shape_type):
6714         Fix a typo.
6716         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Remove dead branch.
6718 2000-12-21  Andreas Jaeger  <aj@suse.de>
6720         * nis/nss_nisplus/nisplus-ethers.c (struct etherent): Removed.
6721         * inet/ether_hton.c: Likewise
6722         * inet/ether_ntoh.c: Likewise.
6724         * nis/nss_nis/nis-ethers.c (_nss_nis_getntohost_r): Fix
6725         declaration to match prototype.
6727         * include/netinet/ether.h (struct etherent): Declare here so that
6728         all implementations use the same struct.
6730         * nis/nss_nis/nis-ethers.c: Include netinet/ether.h to get
6731         prototypes.
6732         (struct ether): Removed.
6733         Use struct etherent instead of ether everywhere.
6735         * include/rpc/auth.h (DECLARE_NSS_PROTOTYPES): New.
6737         * include/rpc/auth_des.h (DECLARE_NSS_PROTOTYPES): New.
6739         * sunrpc/publickey.c: Include auth_des.h for prototypes.
6741 2000-12-20  Ulrich Drepper  <drepper@redhat.com>
6743         * math/test-misc.c: Add more tests for nextafter functions.
6745         * sysdeps/i386/fpu/s_nextafterl.c: Handle change from denormal to
6746         normal correctly.  Correct test for sign.
6747         Based on a patch by HJ Lu.
6749 2000-12-19  Ulrich Drepper  <drepper@redhat.com>
6751         * Makeconfig (preprocess-version): Add -traditional to gcc call.
6752         Cleanup sed calls.
6754 2000-12-19  Andreas Jaeger  <aj@suse.de>
6756         * include/netinet/ether.h (DECLARE_NSS_PROTOTYPES): New.
6758         * nis/nis_intern.h: Add prototype for __do_niscall3.
6760         * nis/nss_nis/nis-rpc.c (_nss_nis_setrpcent): Fix declaration to
6761         match prototype.
6763         * include/netdb.h (DECLARE_NSS_PROTOTYPES): Reformat.
6765         * include/rpc/netdb.h (DECLARE_NSS_PROTOTYPES): New.
6767         * include/aliases.h (DECLARE_NSS_PROTOTYPES): New.
6769 2000-12-18  Ulrich Drepper  <drepper@redhat.com>
6771         * math/test-misc.c: Add more tests for nextafter.
6772         * sysdeps/i386/fpu/s_nextafterl.c: Handle decrement for x<0 correctly.
6773         * sysdeps/ieee754/ldbl-96/math_ldbl.h
6774         (ieee_long_double_shape_type): Make sign_exponent element signed.
6776         * manual/message.texi: Add Estonian to plural overview list.
6777         Correct rule for Slavic languages.
6778         Patch by Stanislav Brabec <utx@penguin.cz>.
6780         * nis/nss_nis/nis-netgrp.c: Remove unnecessary initializations.
6782 2000-12-18  Andreas Jaeger  <aj@suse.de>
6784         * test-skeleton.c: Use temp_name_list instead of name_list to
6785         avoid collision with name_list from inet/netgroup.h.
6787         * nss/nss_files/files-network.c (NEED_H_ERRNO): Define.
6789         * include/grp.h (DECLARE_NSS_PROTOTYPES): New.
6790         * include/pwd.h (DECLARE_NSS_PROTOTYPES): New.
6791         * include/netdb.h (DECLARE_NSS_PROTOTYPES): New.
6792         * include/shadow.h (DECLARE_NSS_PROTOTYPES): New.
6794         * hesiod/nss_hesiod/hesiod-proto.c (_nss_hesiod_setprotoent): Fix
6795         declaration to match prototype.
6796         * hesiod/nss_hesiod/hesiod-pwd.c (_nss_hesiod_setpwent): Likewise.
6797         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_setgrent): Likewise.
6798         * hesiod/nss_hesiod/hesiod-service.c (_nss_hesiod_setservent):
6799         Likewise.
6800         * nis/nss_nis/nis-grp.c (_nss_nis_setgrent): Likewise.
6801         * nis/nss_nis/nis-pwd.c (_nss_nis_setpwent): Likewise.
6802         * nis/nss_nis/nis-proto.c (_nss_nis_setprotoent): Likewise.
6803         * nis/nss_nis/nis-service.c (_nss_nis_setservent): Likewise.
6804         (_nss_nis_getservbyport_r): Likewise.
6805         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent): Likewise.
6806         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent): Likewise.
6807         * nis/nss_nis/nis-network.c (_nss_nis_getnetent_r): Likewise.
6808         (_nss_nis_setnetent): Likewise
6809         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
6810         (_nss_nis_endnetgrent): Likewise.
6811         * nis/nss_nisplus/nisplus-netgrp.c (_nss_nisplus_endnetgrent):
6812         Likewise.
6813         (_nss_nisplus_setnetgrent): Likewise.
6814         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Likewise.
6815         * nis/nss_nisplus/nisplus-pwd.c (_nss_nisplus_setpwent): Likewise.
6816         * nis/nss_nisplus/nisplus-grp.c (_nss_nisplus_setgrent): Likewise.
6817         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_setnetent):
6818         Likewise.
6819         * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_sethostent):
6820         Likewise.
6821         * nis/nss_nisplus/nisplus-service.c (_nss_nisplus_setservent):
6822         Likewise.
6823         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_setprotoent):
6824         Likewise.
6825         * nis/nss_compat/compat-spwd.c (_nss_compat_setspent): Likewise.
6826         * nis/nss_compat/compat-pwd.c (_nss_compat_setpwent): Likewise.
6827         * nis/nss_compat/compat-grp.c (_nss_compat_setgrent): Likewise.
6828         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Likewise.
6829         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Likewise.
6830         (_nss_dns_getnetbyaddr_r): Likewise.
6832 2000-12-17  Andreas Jaeger  <aj@suse.de>
6834         * sysdeps/generic/k_sinl.c (__kernel_sinl): Fix functions
6835         parameter.
6837         * sysdeps/unix/sysv/linux/shm_open.c (freeit): Make static and add
6838         unused attribute to shut up gcc warnings.
6840         * sysdeps/generic/k_sinl.c: Include math_private for prototypes.
6841         * sysdeps/generic/k_tanl.c: Likewise.
6842         * sysdeps/generic/k_cosl.c: Likewise.
6843         * sysdeps/generic/e_j0l.c: Likewise.
6844         * sysdeps/generic/e_j1l.c: Likewise.
6845         * sysdeps/generic/e_jnl.c: Likewise.
6846         * sysdeps/generic/e_lgammal_r.c: Likewise.
6848         * elf/vismain.c: Move prototypes for functions in vismod*.c to
6849         vismod.h.
6850         * elf/vismod.h: New file.
6851         * elf/Makefile (distribute): Add vismod.h.
6852         * elf/vismod1.c: Include vismod.h.
6853         * elf/vismod2.c: Likewise.
6854         * elf/vismod3.c: Likewise.
6856         * elf/constload3.c: Add prototype declarations to shut up gcc.
6857         * elf/failobj.c: Likewise.
6858         * elf/nodelmod3.c: Likewise.
6859         * elf/filtmod1.c: Likewise.
6860         * elf/filtmod2.c: Likewise.
6861         * elf/reldepmod1.c: Likewise.
6862         * elf/reldepmod2.c: Likewise.
6863         * elf/reldepmod3.c: Likewise.
6864         * elf/reldepmod4.c: Likewise.
6865         * elf/unload2dep.c: Likewise.
6866         * elf/unload2mod.c: Likewise.
6867         * elf/ltglobmod1.c: Likewise.
6868         * elf/pathoptobj.c: Likewise.
6869         * elf/neededobj1.c: Likewise.
6870         * elf/neededobj2.c: Likewise.
6871         * elf/neededobj3.c: Likewise.
6872         * elf/neededobj4.c: Likewise.
6873         * elf/nextmod1.c: Likewise.
6874         * elf/nextmod2.c: Likewise.
6876         * locale/programs/ld-collate.c (collate_finish): Don't use labels
6877         at end of compound statement.
6878         * locale/programs/locale.c (show_info): Likewise.
6879         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Likewise.
6881 2000-12-16  Jakub Jelinek  <jakub@redhat.com>
6883         * catgets/gencat.c (read_input_file): Avoid calling obstack_free
6884         with a pointer not returned by obstack_ functions.
6886 2000-12-16  Ulrich Drepper  <drepper@redhat.com>
6888         * sysdeps/unix/sysv/aix/bits/stat.h (struct stat): Align with AIX
6889         version.
6890         (struct stat64): Likewise.
6891         Reported by Michael Keezer <mkeezer@redhat.com>.
6893         * timezone/asia: Update from tzdata2000h.
6894         * timezone/australasia: Likewise.
6895         * timezone/backward: Likewise.
6896         * timezone/europe: Likewise.
6897         * timezone/northamerica: Likewise.
6898         * timezone/southamerica: Likewise.
6899         * timezone/zone.tab: Likewise.
6901 2000-12-14  Jakub Jelinek  <jakub@redhat.com>
6903         * io/ftw.c (ftw_dir): If process_entry returned non-zero result
6904         and dir.stream is NULL, only free dir.content.
6905         * io/ftwtest.c (cb, main): Add --early-exit option to test it.
6906         * io/ftwtest-sh: Test with --early-exit.
6908 2000-12-13  Jakub Jelinek  <jakub@redhat.com>
6910         * misc/efgcvt.c (FCVT_MAXDIG): Define.
6911         (FCVT_BUFPTR): New variable.
6912         (fcvt): If fcvt_r returns -1 on the static short buffer,
6913         try to malloc a sufficiently large one and retry.
6914         (free_mem): New function.
6915         * misc/qefgcvt.c (FCVT_MAXDIG): Define.
6916         * misc/tst-efgcvt.c (fcvt_tests): Add new test.
6918 2000-12-15  Ulrich Drepper  <drepper@redhat.com>
6920         * misc/dirname.c (dirname): Fix search for second to last slash.
6922 2000-12-13  Andreas Jaeger  <aj@suse.de>
6924         * misc/tst-dirname.c (main): Fix typo in test to really use
6925         the examples from Unix98.
6926         Reported by Michael Kerrisk <mtk16@ext.canterbury.ac.nz>.
6928 2000-12-09  H.J. Lu  <hjl@gnu.org>
6930         * sysdeps/ia64/fpu/s_fabs.S: New file.
6931         * sysdeps/ia64/fpu/s_fabsf.S: New file.
6932         * sysdeps/ia64/fpu/s_fabsl.S: New file.
6934 2000-12-15  Andreas Jaeger  <aj@suse.de>
6936         * stdio-common/scanf9.c (main): Reformat and change to avoid
6937         warnings.
6939         * stdio-common/tstdiomisc.c: Make local functions static.
6940         * stdio-common/tst-printf.c: Likewise.
6942         * elf/constload2.c: Add prototype declarations to shut up gcc.
6943         * elf/dep1.c: Likewise.
6944         * elf/dep2.c: Likewise.
6945         * elf/dep3.c: Likewise.
6946         * elf/dep4.c: Likewise.
6947         * elf/ltglobmod2.c: Likewise.
6949         * libio/fmemopen.c: Make local functions static.
6951         * elf/Makefile (distribute): Added testobj.h.
6953         * elf/testobj.h: New file.
6955         * elf/testobj1.c: Include testobj.h and move prototype
6956         declarations to testobj.h.
6957         * elf/testobj2.c: Likewise.
6958         * elf/testobj3.c: Likewise.
6959         * elf/testobj4.c: Likewise.
6960         * elf/testobj5.c: Likewise.
6961         * elf/testobj6.c: Likewise.
6962         * elf/testobj1_1.c: Likewise.
6963         * elf/preloadtest.c: Likewise.
6965 2000-12-15  Ben Collins  <bcollins@debian.org>
6967         * misc/sys/cdefs.h: Fix thinko in checks for flexarr macros.
6968         Patch by Akim Demaille <akim@epita.fr> in Debian bug report.
6970 2000-12-14  H.J. Lu  <hjl@gnu.org>
6972         * sysdeps/ieee754/flt-32/s_sincosf.c (__sincosf): The exponent
6973         field in a float is 8 bits, not 11 bits.
6975 2000-12-13  Jakub Jelinek  <jakub@redhat.com>
6977         * math/test-misc.c (main): Adjust m for IEEE quad long double.
6979 2000-12-13  Andreas Jaeger  <aj@suse.de>
6981         * manual/message.texi (Using gettextized software): Fix typo.
6983         * manual/charset.texi (Converting a Character): Fix mbstouwcs
6984         program to compile.
6985         Patch by Martin Buchholz <martin@xemacs.org>.
6987         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Fix typo.
6988         Reported by Michael Kerrisk <mtk16@ext.canterbury.ac.nz>.
6990 2000-12-11  Andreas Jaeger  <aj@suse.de>
6992         * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Declare
6993         kernel_sigset_t and use it.
6994         Patch by Hiroyuki Machida <machida@sm.sony.co.jp>.
6996 2000-12-10  Richard Henderson  <rth@redhat.com>
6998         * sysdeps/alpha/alphaev67/fpu/Implies: New file.
6999         * sysdeps/alpha/alphaev6/fpu/e_sqrtf.S: New file.
7000         * sysdeps/alpha/alphaev6/fpu/e_sqrt.S: New file.
7002 2000-12-10  Jakub Jelinek  <jakub@redhat.com>
7004         * sysdeps/alpha/htonl.S: Fix a typo.
7006 2000-12-10  Jakub Jelinek  <jakub@redhat.com>
7008         * sysdeps/alpha/alphaev6/stxcpy.S: Exchange t8 with t10.
7010 2000-12-10  Andreas Jaeger  <aj@suse.de>
7012         * locale/programs/ld-ctype.c (charclass_symbolic_ellipsis): Fixed
7013         cast as suggested by Jakub Jelinek <jakub@redhat.com> and Ulrich
7014         Drepper <drepper@redhat.com>.
7016 2000-12-09  Andreas Jaeger  <aj@suse.de>
7018         * sysdeps/unix/sysv/linux/mips/sigaction.c: New file.
7020         * sysdeps/unix/sysv/linux/mips/sys/acct.h: Removed, we can use the
7021         generic version.
7022         Patches by Hiroyuki Machida <machida@sm.sony.co.jp>.
7024         * locale/programs/ld-collate.c (handle_ellipsis): Fix format
7025         string.
7027         * locale/programs/ld-ctype.c (charclass_symbolic_ellipsis): Fix
7028         format string.
7030         * nscd/hstcache.c (addhstbyname): Add cast to avoid warning.
7031         * nscd/connections.c (handle_request): Likewise.
7032         * nscd/pwdcache.c (addpwbyname): Likewise.
7033         * nscd/grpcache.c (addgrbyname): Likewise.
7035         * nscd/nscd_conf.c (nscd_parse_file): Remove extra argument.
7037 2000-12-09  Ulrich Drepper  <drepper@redhat.com>
7039         * string/stratcliff.c: Add tests for stpncpy, memcpy, and mempcpy.
7041         * Makeconfig (default_cflags): Make -O2 the default for stable
7042         releases.
7044 2000-12-08  H.J. Lu  <hjl@gnu.org>
7046         * sysdeps/ia64/fpu/s_isinfl.S: Renamed to ...
7047         * sysdeps/ia64/fpu/s_isinf.S: This.
7048         Add a .pred.rel.mutex note to avoid false report.
7050         * sysdeps/ia64/fpu/s_isnanl.S: Renamed to ...
7051         * sysdeps/ia64/fpu/s_isnan.S: This.
7053         * sysdeps/ia64/fpu/s_fpclassify.S: New file.
7054         * sysdeps/ia64/fpu/s_fpclassifyf.S: New file.
7055         * sysdeps/ia64/fpu/s_fpclassifyl.S: New file.
7056         * sysdeps/ia64/fpu/s_isinff.S: New file.
7057         * sysdeps/ia64/fpu/s_isinfl.S: New file.
7058         * sysdeps/ia64/fpu/s_isnanf.S: New file.
7059         * sysdeps/ia64/fpu/s_isnanl.S: New file.
7060         * sysdeps/ia64/fpu/s_finite.S: New file.
7061         * sysdeps/ia64/fpu/s_finitef.S: New file.
7062         * sysdeps/ia64/fpu/s_finitel.S: New file.
7063         * sysdeps/ia64/fpu/s_signbit.S: New file.
7064         * sysdeps/ia64/fpu/s_signbitf.S: New file.
7065         * sysdeps/ia64/fpu/s_signbitl.S: New file.
7066         * sysdeps/ia64/fpu/s_copysign.S: New file.
7067         * sysdeps/ia64/fpu/s_copysignf.S: New file.
7068         * sysdeps/ia64/fpu/s_copysignl.S: New file.
7070 2000-12-08  Ulrich Drepper  <drepper@redhat.com>
7072         * math/libm-test.inc (main): Fix typos in messages.
7074         * string/stratcliff.c: Add test for rawmemchr.
7076 2000-12-08  Jakub Jelinek  <jakub@redhat.com>
7078         * elf/dl-open.c (_dl_open): If objname points right after errstring,
7079         allocate it together with errstring using alloca.
7080         * elf/dl-error.c (_dl_signal_error): If malloc failed, set objname
7081         to "", because it might point to local stack.
7083 2000-12-05  H.J. Lu  <hjl@gnu.org>
7085         * nss/Makefile (routines): Add getnssent and getnssent_r.
7086         * nss/nsswitch.h (__nss_setent): New internal NSS function.
7087         (__nss_endent): Likewise.
7088         (__nss_getent_r): Likewise.
7089         (__nss_getent): Likewise.
7090         * nss/getnssent_r.c: New file.
7091         * nss/getnssent.c: New file.
7092         * nss/getXXent.c (H_ERRNO_VAR): Updated.
7093         (GETFUNC_NAME): Updated to call __nss_getent ().
7094         * nss/getXXent_r.c (H_ERRNO_VAR_P): New.
7095         (STAYOPEN_TMPVAR): Updated.
7096         (STAYOPEN_VAR): Updated.
7097         (SETFUNC_NAME): Updated to call __nss_setent ().
7098         (ENDFUNC_NAME): Updated to call __nss_endent ().
7099         (INTERNAL (REENTRANT_GETNAME)): Updated to call __nss_getent_r ().
7101 2000-12-08  Andreas Jaeger  <aj@suse.de>
7103         * nscd/dbg_log.h (dbg_log): Correct attribute.
7105 2000-12-08  Jakub Jelinek  <jakub@redhat.com>
7107         * elf/dl-load.c (fillin_rpath): Don't assume there is '\0' at
7108         cp + len.  Compute where from dirname.
7109         Reported by <jreiser@BitWagon.com>.
7111 2000-12-08  Richard Henderson  <rth@twiddle.net>
7113         * sysdeps/alpha/_mcount.S: Fix typo.
7114         * sysdeps/alpha/strncpy.S: Likewise.
7116         * sysdeps/alpha/alphaev6/Implies: New file.
7117         * sysdeps/alpha/alphaev67/Implies: New file.
7118         * sysdeps/alpha/alphaev67/ffs.S: New file.
7119         * sysdeps/alpha/alphaev67/ffsll.S: New file.
7120         * sysdeps/alpha/alphaev67/rawmemchr.S: New file.
7121         * sysdeps/alpha/alphaev67/stpcpy.S: New file.
7122         * sysdeps/alpha/alphaev67/stpncpy.S: New file.
7123         * sysdeps/alpha/rawmemchr.S: New file.
7124         * sysdeps/alpha/strcat.S: Tail call to __stxcpy.
7125         * sysdeps/alpha/strcpy.S: Likewise.
7127         From GMP 3.1.1:
7128         * sysdeps/alpha/alphaev6/addmul_1.s: New file.
7130         From rick.gorton@alpha-processor.com:
7131         * sysdeps/alpha/alphaev6/memchr.S: New file.
7132         * sysdeps/alpha/alphaev6/memcpy.S: New file.
7133         * sysdeps/alpha/alphaev6/memset.S: New file.
7134         * sysdeps/alpha/alphaev6/stxcpy.S: New file.
7135         * sysdeps/alpha/alphaev6/stxncpy.S: New file.
7136         * sysdeps/alpha/alphaev67/strcat.S: New file.
7137         * sysdeps/alpha/alphaev67/strchr.S: New file.
7138         * sysdeps/alpha/alphaev67/strlen.S: New file.
7139         * sysdeps/alpha/alphaev67/strncat.S: New file.
7140         * sysdeps/alpha/htonl.S: Use a shorter sequence.
7142 2000-12-08  Jakub Jelinek  <jakub@redhat.com>
7144         * inet/getnameinfo.c (getnameinfo): Fix NI_NOFQDN support.
7145         Reported by <pspencer@fields.utoronto.ca>.
7147 2000-12-07  Jes Sorensen  <jes@linuxcare.com>
7149         * sysdeps/ia64/elf/start.S (__data_start): Add __data_start variable.
7150         Pointed out by Hans Boehm.
7152 2000-12-07  H.J. Lu  <hjl@gnu.org>
7154         * elf/dl-version.c (match_symbol): Check map->l_name[0] for printing.
7156 2000-12-07  Andreas Jaeger  <aj@suse.de>
7158         * misc/error.c: Add format attributes for __error and __error_at_line.
7160         * nscd/dbg_log.h: Add format attribute.
7162 2000-12-08  Ulrich Drepper  <drepper@redhat.com>
7164         * misc/sys/syslog.h: Add format attributes to syslog and vsyslog.
7165         Patch by Joseph S. Myers <jsm28@cam.ac.uk>.
7167 2000-12-07  Dan Pop  <Dan.Pop@cern.ch>
7169         * sysdeps/ia64/strcpy.S: Fix a bug in a recovery code sequence.
7171 2000-12-06  Ulrich Drepper  <drepper@redhat.com>
7173         * sysdeps/unix/sysv/aix/Makefile [$(subdir)==misc]
7174         (sysdep_routines): Add uitrunc.
7175         * sysdeps/unix/sysv/aix/uitrunc.c: New file.
7176         Patches by Michael Keezer <mkeezer@redhat.com>.
7178 2000-12-06  Roland McGrath  <roland@frob.com>
7180         * sysdeps/mach/hurd/ioctl.c (__ioctl): Don't clobber ARG as we copy in
7181         argument data, since it will be used to copy out too (for INOUT).
7182         Reported by Marcus Brinkmann <marcus@gnu.org>.
7184         * sysdeps/mach/hurd/ioctl.c: Include <stdint.h>.
7185         (__ioctl): Use uintptr_t instead of unsigned long int.
7187 2000-12-06  Jim Wilson  <wilson@redhat.com>
7189         * stdlib/l64a.c (l64a): Truncate M to 32-bit value.
7191 2000-12-06  Ulrich Drepper  <drepper@redhat.com>
7193         * stdio-common/printf_fp.c (__printf_fp): Handle decimal point in
7194         x.5 rounding correctly.
7196 2000-12-06  Mark Kettenis  <kettenis@gnu.org>
7198         * stdio-common/perror.c (perror): Conditionalize code dealing with
7199         wide-oriented streams on USE_IN_LIBIO.
7201 2000-12-06  Mark Kettenis  <kettenis@gnu.org>
7203         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup): Mark
7204         as internal_function.
7206 2000-12-05  Ulrich Drepper  <drepper@redhat.com>
7208         * sysdeps/alpha/elf/start.S (__data_start): Define.
7210 2000-12-05  H.J. Lu  <hjl@gnu.org>
7212         * nss/getXXent_r.c (setup): Change the return type to int.
7214 2000-12-05  Ulrich Drepper  <drepper@redhat.com>
7216         * sysdeps/unix/sysv/aix/Makefile [$(subdir)==misc]
7217         (sysdep_routines): Add restf and savef.
7218         * sysdeps/unix/sysv/aix/restf.c: New file.
7219         * sysdeps/unix/sysv/aix/savef.c: New file.
7220         Patches by Michael Keezer <mkeezer@redhat.com>.
7222         * sysdeps/unix/opendir.c (__opendir): Don't use o_directory_works
7223         if O_DIRECTORY is not defined.
7224         Patch by Michael Keezer <mkeezer@redhat.com>.
7226         * include/libc-symbols.h (C_SYMBOL_DOT_NAME): Define.
7227         Patch by Michael Keezer <mkeezer@redhat.com>.
7229         * locale/programs/linereader.c (get_toplvl_escape): Recognize more
7230         than 4 bytes in escape sequence.
7231         Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
7233 2000-12-05  Andreas Jaeger  <aj@suse.de>
7235         * sysdeps/unix/sysv/linux/mips/sys/tas.h (_test_and_set): Don't
7236         set mips2.
7238         * sysdeps/unix/sysv/linux/mips/sysdep.h: New file.
7240         * sysdeps/unix/sysv/linux/mips/sys/syscall.h: Removed.
7242         * sysdeps/unix/mips/sysdep.h: Use SYS_ify.
7243         Patches by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
7245         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Mark as
7246         internal_function.
7247         * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Likewise.
7248         * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start_cleanup): Likewise.
7250         * sysdeps/generic/dl-cache.c: Remove declaration of
7251         _dl_sysdep_read_whole_file.
7253         * elf/dl-load.c (_dl_map_object): Remove declaration of
7254         _dl_load_cache_lookup.
7256         * sysdeps/generic/ldsodefs.h: Add declarations of
7257         _dl_load_cache_lookup, _dl_unload_cache,
7258         _dl_sysdep_read_whole_file, _dl_sysdep_start and
7259         _dl_sysdep_start_cleanup.
7261         * elf/rtld.c: Remove prototypes that are defined in ldsodefs.h
7262         now.
7264         * elf/dl-misc.c: Include <ldsodefs.h> to get prototypes.
7265         * sysdeps/generic/dl-environ.c: Likewise.
7267         * stdio-common/printf_fp.c: Include <gmp.h> instead of
7268         <stdlib/gmp.h>.
7269         * math/atest-exp.c: Likewise.
7270         * math/atest-exp2.c: Likewise.
7271         * math/atest-sincos.c: Likewise.
7272         * stdio-common/_itoa.c: Likewise.
7273         * stdio-common/_itowa.c: Likewise.
7275         * include/gmp.h: New file with internal prototypes.
7277         * sysdeps/generic/longjmp.c: Move _longjmp_unwind declaration from
7278         here to...
7279         * include/setjmp.h: ...here.
7281         * locale/Makefile (routines): Remove codeset_name since it's not
7282         needed anywhere.
7284         * locale/codeset_name.c: Removed.
7286 2000-12-05  Ulrich Drepper  <drepper@redhat.com>
7288         * sysdeps/unix/sysv/aix/sys/param.h: Define MAXHOSTNAMELEN here.
7290 2000-12-05  Andreas Jaeger  <aj@suse.de>
7292         * sysdeps/unix/sysv/linux/sys/param.h: Revert last patch.
7294 2000-12-05  Martin Schwidefsky  <schwidefsky@de.ibm.com>
7296         * sysdeps/unix/sysv/linux/s390/mmap64.S: Use mmap if mmap2 isn't
7297         available.
7299 2000-12-05  Andreas Jaeger  <aj@suse.de>
7301         * nss/test-netdb.c: Mark local functions as static to avoid
7302         warnings.
7303         (main): Use return to silence warning.
7305         * stdlib/test-canon.c (check_path): Mark as static to avoid warning.
7307         * stdio-common/test-popen.c: Mark local functions as static to
7308         avoid warnings.
7309         (main): Use return to silence warning.
7311         * stdlib/testsort.c (compare): Mark as static to avoid warning.
7313         * assert/test-assert.c: Mark local functions as static to avoid
7314         warnings.
7315         * assert/test-assert-perr.c: Likewise.
7317         * math/libm-test.inc (main): Use return to silence warnings.
7319 2000-12-04  Ulrich Drepper  <drepper@redhat.com>
7321         * math/fenv.h: Fix typo in comment.
7323         * math/test-misc.c (main): Add a few more over and underflow tests
7324         for scalb.
7326         * sysdeps/i386/fpu/e_scalb.S: Handle NaN as first parameter correctly.
7327         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
7328         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
7329         * math/w_scalb.c: Don't use matherr except in SVID mode.
7330         * math/w_scalbf.c: Likewise.
7331         * math/w_scalbl.c: Likewise.
7332         * math/test-misc.c: Add test for NaN and scalbl.
7333         Reported by Fred J. Tydeman <tydeman@tybor.com>.
7335 2000-12-04  Ulrich Drepper  <drepper@redhat.com>
7337         * configure.in: Define HAVE_ASM_GLOBAL_DOT_NAME for AIX.
7338         * config.h.in: Add HAVE_ASM_GLOBAL_DOT_NAME.
7339         * include/libc-symbols.h (strong_alias): Define special version
7340         for HAVE_ASM_GLOBAL_DOT_NAME.
7341         (weak_alias): Likewise.
7342         * sysdeps/powerpc/bsd-setjmp.S: Use strong_alias not .set.
7343         * sysdeps/unix/sysv/aix/Makefile [$(subdir)==login]
7344         (sysdep_routines): Add setutxent, getutxent, endutxent, getutxid,
7345         getutxline, pututxline, and utmpxname.
7346         * sysdeps/unix/sysv/aix/fchdir.c: Define __fchdir.
7347         * sysdeps/unix/sysv/aix/lseek.c: Define __libc_lseek alias.
7348         * sysdeps/unix/sysv/aix/open.c: Define __libc_open alias.
7349         * sysdeps/unix/sysv/aix/pread.c: Define pread alias.
7350         * sysdeps/unix/sysv/aix/pread64.c: Define pread64 alias.
7351         * sysdeps/unix/sysv/aix/sysdep.h (JUMPTARGET): Use C_TEXT.
7352         * sysdeps/unix/sysv/aix/bits/types.h: Define __clockid_t and __timer_t.
7353         * sysdeps/unix/sysv/aix/bits/utmp.h: Cleanup.  Add comments.
7354         * sysdeps/unix/sysv/linux/sys/param.h (MAXHOSTNAMELEN): Define.
7355         Patches by Michael Keezer <mkeezer@redhat.com>.
7357 2000-12-04  H.J. Lu  <hjl@gnu.org>
7359         * configure.in: Change --with-oldest-abi=ABI to
7360         --enable-oldest-abi=ABI.
7362 2000-12-02  Bruno Haible  <haible@clisp.cons.org>
7364         * stdio-common/perror.c (perror): If stderr is wide-oriented, use
7365         fwprintf instead of fprintf.
7367 2000-12-04  Ulrich Drepper  <drepper@redhat.com>
7369         * sysdeps/alpha/fpu/bits/mathdef.h: Remove FLT_EVAL_METHOD and
7370         DECIMAL_DIG definitions.
7371         * sysdeps/arm/fpu/bits/mathdef.h: Likewise
7372         * sysdeps/generic/bits/mathdef.h: Likewise
7373         * sysdeps/i386/fpu/bits/mathdef.h: Likewise
7374         * sysdeps/ia64/fpu/bits/mathdef.h: Likewise
7375         * sysdeps/m68k/fpu/bits/mathdef.h: Likewise
7376         * sysdeps/powerpc/fpu/bits/mathdef.h: Likewise
7377         * sysdeps/sparc/fpu/bits/mathdef.h: Likewise
7378         * sysdeps/sh/sh4/fpu/bits/mathdef.h: Likewise
7380 2000-12-03  Ulrich Drepper  <drepper@redhat.com>
7382         * math/test-fenv.c (main): Use return instead of exit to avoid warning.
7384         * math/atest-exp.c: Mark local functions as static to avoid warnings.
7385         * math/atest-exp2.c: Likewise.
7386         * math/atest-sincos.c: Likewise.
7388         * sysdeps/i386/fpu/bits/mathdef.h (DECIMAL_DIG): Correct value.
7389         Reported by Fred J. Tydeman <tydeman@tybor.com>.
7391         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Hopefully fix
7392         the handling of denormalized numbers.
7394         * math/test-misc.c (main): Test for fpclassify and pseudo denormal
7395         numbers on x86.
7396         * sysdeps/i386/fpu/fpclassifyl.c: New file.
7398         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Handle the
7399         pseudo denormal representation of LDBL_MIN.
7401         * iconvdata/SJIS.irreversible: Remove unnecessary entries.
7402         * iconvdata/EUC-JP.irreversible: Remove unnecessary entries.
7404         * iconvdata/sjis.c: Enable round-trip mapping of backslash and tilde.
7405         * iconvdata/jis0208.c: Likewise.
7406         * iconvdata/jis0212.c: Likewise.
7407         Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
7409         * math/test-misc.c (main): More tests for frexp and some for
7410         fpclassify and isnormal.
7412         * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf): Correct
7413         test for subnormal.
7414         Reported by Fred J. Tydeman <tydeman@tybor.com>.
7416         * math/test-misc.c (main): Add tests for frexp.
7417         Reported by Fred J. Tydeman <tydeman@tybor.com>.
7418         * sysdeps/i386/fpu/s_frexpl.S: Don't overflow during the computation.
7420 2000-12-02  H.J. Lu  <hjl@gnu.org>
7422         * locale/lc-time.c (_nl_init_era_entries): Pass L'\0' instead of
7423         '\0' to wcschr.
7425 2000-12-02  Ulrich Drepper  <drepper@redhat.com>
7427         * sysdeps/i386/fpu/s_frexp.S: Add missing fwait.
7428         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
7429         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
7431         * sysdeps/generic/glob.c: Adjust types of several variables to
7432         avoid warnings.
7434 2000-12-01  Ulrich Drepper  <drepper@redhat.com>
7436         * sysdeps/unix/sysv/linux/shm_open.c: Remove incorrect comment.
7438 2000-11-30  Roland McGrath  <roland@frob.com>
7440         * hurd/hurd/ioctl.h (_HURD_HANDLE_IOCTLS_1): New macro.
7441         (_HURD_HANDLE_IOCTLS, _HURD_HANDLE_IOCTL): Redefine using it, so as to
7442         allow multiple instances using the same function name in one file.
7444 2000-12-01  Ulrich Drepper  <drepper@redhat.com>
7446         * configure.in: Correct test for pserver CVS access.
7448 2000-11-28  H.J. Lu  <hjl@gnu.org>
7450         * libio/libio.h: Remove extra "#if ... #endif".
7452 2000-11-29  H.J. Lu  <hjl@gnu.org>
7454         * stdio-common/vfscanf.c (ORIENT): Swap the COMPILE_WSCANF case.
7456 2000-12-01  H.J. Lu  <hjl@gnu.org>
7458         * nss/getXXbyYY_r.c: Fix verioned symbol handling.
7459         * nss/getXXent_r.c: Likewise.
7460         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
7462 2000-11-30  H.J. Lu  <hjl@gnu.org>
7464         * scripts/abi-versions.awk (oldest_abi): New variable.
7465         Handle the oldest ABI supported.
7467         * Makerules ($(common-objpfx)abi-versions.h): Set oldest_abi
7468         for scripts/abi-versions.awk.
7470         * configure.in: Add --with-oldest-abi=ABI.
7471         * configure: Rebuild.
7473         * config.make.in (oldest-abi): New.
7475         * config.h.in (GLIBC_OLDEST_ABI): New.
7477         * csu/version.c (banner): Support GLIBC_OLDEST_ABI.
7479 2000-11-30  Jakub Jelinek  <jakub@redhat.com>
7481         * locale/setlocale.c (setname): Free for all categories, not just
7482         LC_ALL.
7483         (setlocale): Store a copy of string passed by user, not the string
7484         itself.
7486 2000-11-30  Roland McGrath  <roland@frob.com>
7488         * sysdeps/mach/hurd/defs.c (init_stdio): Put this on __libc_subinit
7489         rather than _hurd_fd_subinit, so it happens after it's safe to use
7490         libc facilities like malloc.
7492 2000-11-28  Andreas Jaeger  <aj@suse.de>
7494         * sysdeps/unix/sysv/linux/getdents.c: Add _syscall_getdents64
7495         declaration, adjust declaration of __syscall_getdents to match
7496         kernel.
7498 2000-11-29  H.J. Lu  <hjl@gnu.org>
7500         * sysdeps/generic/readelflib.c (check_ptr): Undefine it first.
7502 2000-11-29  Andreas Jaeger  <aj@suse.de>
7504         * sysdeps/unix/sysv/linux/hppa/brk.c (__brk): Remove unused variable.
7506 2000-11-28  Ulrich Drepper  <drepper@redhat.com>
7508         * dlfcn/defaultmod1.c: Add prototypes to avoid warnings.
7509         * dlfcn/defaultmod2.c: Likewise.
7510         * dlfcn/dlopen.c: Likewise.
7511         * dlfcn/dlopenold.c: Likewise.
7512         * dlfcn/failtestmod.c: Likewise.
7513         * dlfcn/glreflib1.c: Likewise.
7514         * dlfcn/glreflib2.c: Likewise.
7515         * dlfcn/eval.c: Likewise.  Add attributes.
7517         * ctype/ctype-extn.c: Define isblank and not __isblank.
7519         * time/strftime.c: Add const where necessary to avoid warnings.
7520         * time/strptime.c (strptime_internal): Add casts to avoid warnings.
7522 2000-11-22  Paul Eggert  <eggert@twinsun.com>
7524         * time/strftime.c (my_strftime): Do not invoke mbrlen with a
7525         size of (size_t) -1; it's not portable.
7527 2000-11-28  Ulrich Drepper  <drepper@redhat.com>
7529         * sysdeps/i386/fpu/libm-test-ulps: Adjust some values for the
7530         crappy i486 FPU.
7531         Reported by Michael Deutschmann <michael@talamasca.ocis.net>.
7533 2000-11-14  Jes Sorensen  <jes@linuxcare.com>
7535         * sysdeps/ia64/_mcount.S: Call __mcount instead of __mcount_internal.
7537         * sysdeps/ia64/Makefile: Compile _mcount.S in subdir gmon as
7538         _mcount is required by profiled binaries.
7540         * sysdeps/unix/sysv/linux/ia64/machine-gmon.h: Moved to...
7541         * sysdeps/ia64/machine-gmon.h: ...here.
7543 2000-11-28  Masahide Washizawa  <washi@jp.ibm.com>
7545         * iconvdata/Makefile (modules): Add IBM922, IBM1124, and IBM1129.
7546         (distribute): Add ibm922.c, ibm1124.c, ibm1129.c, ibm922.h, ibm1124.h,
7547         and ibm1129.h.
7548         * iconvdata/gconv-modules: Add entries for IBM922, IBM1124, and
7549         IBM1129.
7550         * iconvdata/ibm922.c: New file.
7551         * iconvdata/ibm922.h: New file.
7552         * iconvdata/ibm1124.c: New file.
7553         * iconvdata/ibm1124.h: New file.
7554         * iconvdata/ibm1129.c: New file.
7555         * iconvdata/ibm1129.h: New file.
7556         * iconvdata/testdata/IBM922: New file.
7557         * iconvdata/testdata/IBM922..UTF8: New file.
7558         * iconvdata/testdata/IBM1124: New file.
7559         * iconvdata/testdata/IBM1124..UTF8: New file.
7560         * iconvdata/testdata/IBM1129: New file.
7561         * iconvdata/testdata/IBM1129..UTF8: New file.
7563 2000-11-28  Ulrich Drepper  <drepper@redhat.com>
7565         * catgets/gencat.c (normalize_line): Take extra parameter with escape
7566         character.  Change callers.
7567         (open_conversion): Determine mapping of 0x5c as wchar_t value.
7568         * catgets/Makefile: Add rules to build and run test-gencat.
7569         * catgets/sample.SJIS: New file.
7570         * catgets/test-gencat.c: New file.
7571         * catgets/test-gencat.sh: New file.
7572         Report and test case by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
7574 2000-11-28  Andreas Jaeger  <aj@suse.de>
7576         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Synch with generic
7577         Linux version.
7579 2000-11-28  Ulrich Drepper  <drepper@redhat.com>
7581         * sysdeps/unix/sysv/linux/bits/socket.h: Fix last patch.
7583 2000-11-28  Andreas Jaeger  <aj@suse.de>
7585         * sysdeps/unix/sysv/linux/bits/socket.h (struct cmsghdr): Use
7586         __flexarr.
7587         * sysdeps/unix/sysv/linux/mips/bits/socket.h (struct cmsghdr):
7588         Likewise.
7590 2000-11-27  Ulrich Drepper  <drepper@redhat.com>
7592         * misc/getusershell.c: Make strings in okshells array const.
7593         * misc/regexp.c: Add const to cast to avoid warnings.
7594         * sysdeps/unix/sysv/linux/llseek.c: Add prototype for __llseek.
7595         * sysdeps/unix/sysv/linux/i386/setresuid.c: Add prototype for
7596         __setresuid.
7597         * sysdeps/unix/sysv/linux/i386/setresgid.c: Add prototype for
7598         setresgid.
7599         * misc/error.c: Add prototypes for __error and __error_at_line.
7600         * misc/mntent_r.c (__getmntent_r): Add break at end of switch
7601         statement to avoid warning.
7602         * test-skeleton.c: Mark timeout_handler with noreturn.
7603         * iconv/skeleton.c (get16u): Add const to cast.
7604         (get32u): Likewise.
7605         * iconvdata/gb18030.c: Likewise.
7606         * iconvdata/iso-2022-cn-ext.c: Likewise.
7607         * iconvdata/ansi_x3.110.c: Add cast to avoid warning.
7608         * iconvdata/big5.c: Likewise.
7609         * iconvdata/big5hkscs.c: Likewise.
7610         * iconvdata/iso_6937.c: Likewise.
7611         * iconvdata/iso_6937-2.c: Likewise.
7612         * iconvdata/t.61.c: Likewise.
7613         * iconvdata/iso646.c: Add prototypes for gconv_init and gconv_env.
7614         * iconvdata/unicode.c: Likewise.
7615         * iconvdata/utf-16.c: Likewise.
7616         * iconvdata/cns11643.h (ucs4_to_cns11643): Define needed as size_t.
7617         * iconv/gconv_trans.c (__gconv_translit_find): Avoid one warning
7618         with little code shuffling.
7620         * sysdeps/powerpc/Makefile (CFLAGS-initfini.s): Add -O1 to avoid
7621         the problems introduced when the user selects -O3.
7623         * iconv/gconv.h (__gconv_info): Define __data element using __flexarr.
7624         * misc/sys/cdefs.h: Define __flexarr.
7625         Proposed by Joseph S. Myers <jsm28@cam.ac.uk>.
7627         * iconvdata/iso-2022-jp.c: Add prototypes to avoid warnings.
7628         * iconv/skeleton.c: Likewise.
7629         * iconvdata/iso8859-1.c (BODY to 8859-1): Add const to cast.
7630         * iconv/loop.c (get16): Add const to cast.
7631         (get32): Likewise.
7633 2000-11-27  Andreas Jaeger  <aj@suse.de>
7635         * login/programs/pt_chown.c (do_pt_chown): Mark function as static
7636         to avoid warning.
7637         * login/programs/utmpdump.c (print_entry): Likewise.
7639 2000-11-25  Maciej W. Rozycki  <macro@ds2.pg.gda.pl>
7641         * sysdeps/mips/__longjmp.c (__longjmp): Restore SP and FP last and
7642         in a single asm as they may be used to access other stored
7643         registers.
7644         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
7646 2000-11-27  Andreas Jaeger  <aj@suse.de>
7648         * rt/tst-aio.c: Mark test functions as static to avoid warnings.
7649         * rt/tst-aio64.c: Likewise.
7651 2000-11-27  Ulrich Drepper  <drepper@redhat.com>
7653         * catgets/Makefile (test1.cat): Set LC_ALL, LOCPATH, and GCONV_PATH
7654         for gencat run.
7655         (libc.cat): Likewise.
7656         * catgets/gencat.c: Implement handling of message catalogs encoded
7657         with stateful character sets.
7658         Based on a patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
7660 2000-11-26  Ulrich Drepper  <drepper@redhat.com>
7662         * sysdeps/unix/opendir.c (__opendir): Add cast to avoid warning.
7664         * inet/getnameinfo.c: Adjust casts to avoid warnings.
7665         * inet/rcmd.c: Likewise.
7666         * inet/ruserpass.c: Likewise.
7667         * inet/netinet/in.h (IN6_IS_ADDR_UNSPECIFIED, IN6_IS_ADDR_LOOPBACK,
7668         IN6_IS_ADDR_MULTICAST, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
7669         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, IN6_ARE_ADDR_EQUAL,
7670         IN6_IS_ADDR_MC_NODELOCAL, IN6_IS_ADDR_MC_LINKLOCAL,
7671         IN6_IS_ADDR_MC_SITELOCAL, IN6_IS_ADDR_MC_ORGLOCAL,
7672         IN6_IS_ADDR_MC_GLOBAL): Preserve const in cast.
7673         * include/aliases.h: Add prototypes for internal __getalias* functions.
7674         * include/netdb.h: Add prototypes for __old_gethostent_r,
7675         __old_gethostbyaddr_r, __old_gethostbyname_r, __old_gethostbyname2_r,
7676         __old_getnetent_r, __old_getnetbyaddr_r, __old_getnetbyname_r,
7677         __old_getservent_r, __old_getservbyname_r, __old_getservbyport_r,
7678         __old_getprotoent_r, __old_getprotobyname_r, __old_getprotobynumber_r.
7679         * include/rpc/netdb.h: Add prototypes for __old_getrpcbyname_r,
7680         __old_getrpcbynumber_r, __old_getrpcent_r.
7682         * include/rpc/netdb.h: Add __getrpcbyname_r, __getrpcbynumber_r,
7683         __getrpcent_r prototypes.
7685 2000-11-25  Ulrich Drepper  <drepper@redhat.com>
7687         * string/strcoll.c: Add casts to avoid warnings.
7688         * string/strnlen.c: Likewise.
7689         * string/strxfrm.c: Likewise.
7690         * sysdeps/generic/_strerror.c: Likewise.
7691         * sysdeps/generic/memrchr.c: Likewise.
7692         * sysdeps/generic/strcasestr.c: Likewise.
7693         * sysdeps/generic/strstr.c: Likewise.
7695         * locale/weight.h (findidx): Add const to cast to avoid warning.
7697         * elf/loadfail.c: Little cosmetic changes to avoid warnings.
7698         * elf/loadtest.c: Likewise.
7699         * elf/multiload.c: Likewise.
7700         * elf/next.c: Likewise.
7701         * elf/nodelete.c: Likewise.
7702         * elf/noload.c: Likewise.
7703         * elf/order.c: Likewise.
7704         * elf/origtest.c: Likewise.
7705         * elf/preloadtest.c: Likewise.
7706         * elf/restest1.c: Likewise.
7708         * sysdeps/i386/i486/bits/string.h (__strncat_g) [i686]: Fourth
7709         parameter of asm must be in %ecx.
7711         * string/tester.c: Mark test functions as static to avoid warnings.
7713         * iconv/gconv_conf.c (read_conf_file): Make mod_counter static to
7714         preserve value over different gconv-modules files.
7716 2000-11-24  Ulrich Drepper  <drepper@redhat.com>
7718         * locale/findlocale.c: Add casts to avoid warnings.
7719         * locale/localeinfo.h (LIMAGIC): Add cast to avoid warnings.
7720         * misc/efgcvt_r.c (fcvt_r): Use ssize_t instead of int and add cast
7721         to avoid warnings.
7722         * misc/tsearch.c (const_node): New type.
7723         (trecurse): Correct casts to avoid warnings.
7724         (__twalk): Likewise.
7725         * stdlib/tst-limits.c: Add z modifier to formats for WORD_BIT and
7726         LONG_BIT.
7728         * debug/backtrace-tst.c (compare): Add casts to avoid warnings.
7730         * test-skeleton.c: Mark local functions as static to avoid warnings.
7732 2000-11-23  H.J. Lu  <hjl@gnu.org>
7734         * rt/tst-aio6.c (do_test): Use pipe instead of STDIN_FILENO to
7735         support the background job.
7736         Fix a typo.
7738 2000-11-24  Ulrich Drepper  <drepper@redhat.com>
7740         * iconv/gconv_conf.c (insert_module): Replace old entry if new one
7741         has same names but lower cost.
7743 2000-11-23  Jakub Jelinek  <jakub@redhat.com>
7745         * sysdeps/sparc/sparc32/dl-machine.h: Ifdef out handling for relocs
7746         which never occur during bootstrap.
7747         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
7749 2000-11-23  Andreas Jaeger  <aj@suse.de>
7751         * nss/nss_files/files-hosts.c: Remove getipnodebyname.
7753         * nss/Versions: Remove _nss_files_getipnodebyname_r.
7755         * sysdeps/unix/sysv/linux/Versions: Fix typo in last patch.
7757 2000-11-18  Martin Buchholz  <martin@xemacs.org>
7759         * csu/gmon-start.c (__gmon_start__): Avoid over-clever trick `if
7760         (called++) return;'
7762 2000-11-21  Alan Modra  <alan@linuxcare.com.au>
7764         * sysdeps/generic/bsd-_setjmp.c (setjmp): Rename to _setjmp.
7766         * csu/abi-note.S: Correct comment for operating system number.
7768 2000-11-22  Ulrich Drepper  <drepper@redhat.com>
7770         * Versions.def: Add GLIBC_2.2.1 for glibc.
7772 2000-11-22  Andreas Schwab  <schwab@suse.de>
7774         * sysdeps/unix/sysv/linux/syscalls.list: Add pivot_root.
7775         * sysdeps/unix/sysv/linux/Versions: Add pivot_root at GLIBC_2.2.1.
7777 2000-11-22  Ulrich Drepper  <drepper@redhat.com>
7779         * rt/aio_suspend.c (aio_suspend): Convert timeout value to
7780         absolute time for pthread_cond_timedwait call.
7781         Reported by Lawrence Chen <lchen@opentext.com> [libc/1930].
7783         * rt/Makefile (tests): Add tst-aio6.
7784         * rt/tst-aio6.c: New file.
7786 2000-11-23  Andreas Jaeger  <aj@suse.de>
7788         * sysdeps/s390/bits/string.h (strncat): Fix one more typo.
7790 2000-11-22  Andreas Jaeger  <aj@suse.de>
7792         * sysdeps/s390/bits/string.h (strncat): Add missing quotation marks.
7794 2000-11-21  Martin Schwidefsky  <schwidefsky@de.ibm.com>
7796         * sysdeps/s390/bits/string.h: Make strncat always add a \0.
7798 2000-11-21  Andreas Schwab  <schwab@suse.de>
7800         * sysdeps/alpha/setjmp.S: Remove __setjmp entry point.
7801         * sysdeps/arm/setjmp.S: Likewise.
7802         * sysdeps/arm/fpu/setjmp.S: Likewise.
7803         * sysdeps/i386/setjmp.S: Likewise.
7804         * sysdeps/i386/elf/setjmp.S: Likewise.
7805         * sysdeps/s390/setjmp.S: Likewise.
7806         * sysdeps/s390/elf/setjmp.S: Likewise.
7807         * sysdeps/sh/sh3/setjmp.S: Likewise.
7808         * sysdeps/sh/sh4/setjmp.S: Likewise.
7809         * sysdeps/sparc/sparc32/setjmp.S: Likewise.
7810         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
7811         * sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S: Likewise.
7812         * sysdeps/unix/sysv/linux/m68k/setjmp.c: Removed.
7814 2000-11-21  Andreas Jaeger  <aj@suse.de>
7816         * sysdeps/generic/__longjmp.c (__longjmp): Remove obsolete
7817         NORETURN, fix parameter list.
7819         * string/bug-strncat1.c (main): Fix typo.
7820         Patch by Bernhard Kaindl <bernhard.kaindl@suse.de>.
7822 2000-11-20  Ulrich Drepper  <drepper@redhat.com>
7824         * configure.in: Add --enable-all-warnings.
7825         * config.make.in (all-warnings): New variable.
7826         * Makeconfig (+gccwarn): Define with many more warnings if
7827         all-warnings is yes.
7829 2000-11-20  Jakub Jelinek  <jakub@redhat.com>
7831         * iconvdata/bug-iconv2.c (main): Use %zd in format string.
7832         * io/test-lfs.c (do_test): Cast statbuf.st_size to long long.
7833         * malloc/tst-valloc.c (main): Cast valloc return value to long.
7834         * malloc/tst-obstack.c (verbose_malloc): Use %zd in format string.
7835         * math/test-fpucw.c (main): Use %lx in format string, cast
7836         control words to long.
7837         * stdio-common/tst-fmemopen.c (main): Use %td in format strings.
7838         * stdlib/tst-strtol.c (tests): Avoid (bogus?) decimal constant is so
7839         large that it is unsigned warning.
7841         * sysdeps/unix/sysv/linux/sparc/bits/types.h (__ssize_t): Changing
7842         it to long on sparc64.
7844 2000-11-20  Andreas Jaeger  <aj@suse.de>
7846         * nscd/nscd.h (termination_handler): Add noreturn attribute.
7847         (receiv_print_stats): Likewise.
7849         * elf/ldconfig.c (path_hwcap): Cast -1 for proper comparison.
7851 2000-11-20  Ulrich Drepper  <drepper@redhat.com>
7853         * malloc/thread-m.h: gcc doesn't tolerate zero-sized types anymore.
7855         * csu/gmon-start.c: Always have prototype for __gmon_start.
7856         * csu/version.c: Add prototypes for __libc_print_version and
7857         __libc_main.
7858         * iconv/gconv.c: Include gconv_int.h and gconv.h.
7859         * iconv/gconv.h (struct __gconv_step): Remove const from __from_name
7860         and __to_name.
7861         * iconv/gconv_builtin.h: Add ASCII module definitions.
7862         * iconv/gconv_conf.c (__gconv_path_elem): Remove const.
7863         (add_module): Add cast to avoid warning.  Rework construction of
7864         strings for new module.
7865         * iconv/gconv_db.c (__gconv_alias_compare): Make s1 and s2 const.
7866         (derivation_compare): Likewise.
7867         * iconv/gconv_dl.c (do_release_shlib): Remove const from nodep.
7868         (__gconv_release_shlib): Cast do_release_shlib as parameter for twalk.
7869         * iconv/gconv_int.h (__gconv_path_elem): Remove const.
7870         (struct gconv_alias): Remove const from fromname and toname.
7871         * iconv/gconv_simple.c: Include gconv_builtin.h to get prototypes
7872         for loop functions.
7873         (internal_ucs4_loop): Use correct const-ness.
7874         (ucs4_internal_loop): Likewise.
7875         (internal_ucs4le_loop): Likewise.
7876         (ucs4le_internal_loop_single): Likewise.
7877         * iconv/gconv_trans.c (__gconv_transliterate): Make from_idx, from_tbl,
7878         to_idx, to_tbl, winbuf, winbufend const.  Change casts in
7879         assignments appropriately.
7880         (struct known_trans): Remove const from fname.
7881         (trans_compare): Make s1 and s2 const.
7882         * iconv/loop.c (LOOPFC): Make outend parameter const.  Add cast to
7883         avoid warning.
7884         * iconv/skeleton.c: Remove cast in calls of loop functions.
7885         * iconvdata/gconv-modules: Remove US-ASCII definitions.
7886         * iconvdata/iso646.c: Remove US_ASCII support.
7887         * include/set-hooks.h (DEFINE_HOOK): Also generate prototype.
7888         * include/unistd.h: Add __libc_check_standard_fds prototype.
7889         * string/bits/string2.h (__mempcpy_args): Add const to casts.
7890         * sysdeps/generic/initfini.c: Add prototypes for dummy, _init, and
7891         _fini.
7892         * sysdeps/generic/libc-start.c: Add prototype for __libc_start_main.
7893         * sysdeps/i386/i486/bits/string.h (strcmp): Add const to casts.
7894         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Add cast to avoid
7895         warning.
7896         * sysdeps/unix/sysv/linux/init-first.c: Add prototypes for
7897         __libc_init_first and _dl_start.
7898         * intl/dcigettext.c (transcmp): Make s1 and s2 const.
7899         (DCIGETTEXT): Make domaindata variable const.
7900         * intl/loadmsgcat.c (_nl_load_domain): Rearrange domain initialization
7901         to avoid warning.
7903 2000-11-20  Hiroyuki Machida  <machida@sm.sony.co.jp>
7905         * sysdeps/unix/sysv/linux/mips/clone.S: Fix comments.
7907         * sysdeps/unix/sysv/linux/mips/kernel_stat.h (kernel_stat): Expand
7908         time_t to 'long int' not, 'unsigned int'.  Use 'long int' for
7909         __unused? members.
7911         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (O_NOFOLLOW): Use same
7912         value defined in /usr/include/asm-mips/fcntl.h.
7914 2000-11-18  Ulrich Drepper  <drepper@redhat.com>
7916         * stdio-common/Makefile (tests): Add test-vfprintf.
7917         (test-vfprintf-ENV): New variable.
7918         * stdio-common/test-vfprintf.c: New file.
7920         * wcsmbs/mbrtowc.c (__mbrtowc): Do not only flush if input is '\0'.
7922         * wcsmbs/Makefile (tests): Add tst-mbrtowc and tst-wcrtomb.
7923         (tst-mbrtowc-ENV): New variable.
7924         (tst-wcrtomb-ENV): New variable.
7925         * wcsmbs/tst-mbrtowc.c: New file.
7926         * wcsmbs/tst-wcrtomb.c: New file.
7928 2000-11-16  Andreas Jaeger  <aj@suse.de>
7930         * manual/install.texi (Tools for Compilation): Update
7931         documentation for GCC 2.95.2.
7933 2000-11-18  Ulrich Drepper  <drepper@redhat.com>
7935         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only return -EAI_AGAIN
7936         if IPv4 and IPv6 requests timed out.
7938 2000-11-18  Akim Demaille  <akim@epita.fr>
7940         * malloc/obstack.h: Formatting changes.
7941         (obstack_grow, obstack_grow0): Don't cast WHERE at all: it
7942         prevents type checking.
7943         (obstack_ptr_grow, obstack_ptr_grow_fast): When assigning, don't
7944         cast the value to (void *): assigning a `foo *' to a `void *'
7945         variable is valid.
7946         (obstack_int_grow, obstack_int_grow_fast): Don't cast AINT to int.
7948 2000-11-17  Ulrich Drepper  <drepper@redhat.com>
7950         * scripts/config.guess: Update from upstream maintainer.
7951         * scripts/config.sub: Likewise.
7953 2000-11-16  Ulrich Drepper  <drepper@redhat.com>
7955         * libio/freopen.c (freopen): Reset _mode after succesful reopening.
7956         * libio/freopen64.c (freopen64): Likewise.
7957         Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
7959         * libio/Makefile: Add rules to build and run test-freopen.
7960         * libio/test-freopen.c: New file.
7961         * libio/test-freopen.sh: New file.
7963 2000-11-15  H.J. Lu  <hjl@gnu.org>
7965         * sysdeps/generic/ldsodefs.h (DL_DT_INIT_ADDRESS): Defined if
7966         ELF_FUNCTION_PTR_IS_SPECIAL is not defined.
7967         (DL_DT_FINI_ADDRESS): Likewise.
7969         * sysdeps/ia64/dl-lookupcfg.h (_dl_lookup_address): Set the
7970         return type to ElfW(Addr).
7971         (_dl_function_address): New prototype.
7972         (DL_FUNCTION_ADDRESS): Defined.
7973         (DL_DT_INIT_ADDRESS): Defined as DL_FUNCTION_ADDRESS.
7974         (DL_DT_FINI_ADDRESS): Likewise.
7976         * sysdeps/ia64/Versions (GLIBC_2.2): Add _dl_function_address.
7978         * sysdeps/ia64/dl-machine.h (_dl_start_address): Removed.
7979         (ELF_MACHINE_START_ADDRESS): Changed to DL_FUNCTION_ADDRESS.
7981         * sysdeps/ia64/dl-symaddr.c (_dl_start_address): Renamed to ...
7982         (_dl_function_address): This.
7984         * elf/dl-fini.c (_dl_fini): Use DL_DT_FINI_ADDRESS to get the
7985         function pointer for DT_FINI.
7986         * elf/dl-close.c (_dl_close): Likewise.
7988         * elf/dl-init.c (_dl_init): Use DL_DT_INIT_ADDRESS to get the
7989         function pointer for DT_INIT.
7991 2000-11-16  Jakub Jelinek  <jakub@redhat.com>
7993         * sysdeps/generic/printf_fphex.c (__printf_fphex): Compute correctly
7994         end of wexpbuf buffer.
7996 2000-11-16  Andreas Jaeger  <aj@suse.de>
7998         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove duplicate
7999         definition of F_GETLK, F_SETLK, F_SETLKW.
8001 2000-11-16  Andreas Jaeger  <aj@suse.de>
8003         * sysdeps/generic/dl-cache.c (_DL_PLATFORMS_COUNT): Define to 0 if
8004         it's not defined.
8006 2000-11-15  Jakub Jelinek  <jakub@redhat.com>
8008         * dlfcn/default.c (main): Add test for dladdr of main returning
8009         argv[0] in dli_fname field.
8011 2000-11-15  Jakub Jelinek  <jakub@redhat.com>
8013         * Makeconfig (run-program-prefix): Move test-static test into the
8014         variable.
8016         * sysdeps/alpha/dl-machine.h (RTLD_START): Update _dl_argv.
8017         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise,
8018         schedule instructions.
8019         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise,
8020         schedule instructions, fix a bug in copying auxiliary data.
8022 2000-11-15  Ulrich Drepper  <drepper@redhat.com>
8024         * manual/startup.texi (Program Arguments): Fix type of main's envp
8025         parameter.
8026         Reported by Raúl Núñez de Arenas Coronado <dervishd@linuxfreak.com>.
8028         * iconvdata/gconv-modules: Add CP950 alias.
8030 2000-11-13  Jakub Jelinek  <jakub@redhat.com>
8032         * sysdeps/unix/sysv/linux/Makefile: Allow ports to override
8033         syscall-list.h goal.
8034         * sysdeps/unix/sysv/linux/sparc/Makefile: New file.
8036 2000-11-15  Ulrich Drepper  <drepper@redhat.com>
8038         * intl/Makefile: tst-gettext2.sh does not need a third parameter.
8040         * intl/tst-gettext2.sh: Copy locale data.  Adjust LOCPATH.  Verify
8041         output of program.
8043         * intl/tst-gettext2.c: Set C locale if setting other locale
8044         failed.  Use gettext() not _().
8046         * locale/setlocale.c: Increment _nl_msg_cat_cntr whenever we
8047         successfully loaded a new locale.
8049 2000-11-13  Andreas Jaeger  <aj@suse.de>
8051         * configure.in: Require gcc 2.95 or newer.
8053 2000-11-15  Ulrich Drepper  <drepper@redhat.com>
8055         * sysdeps/unix/sysv/linux/paths.h: Adjust for FHS.
8056         Patch by Arkadiusz Miskiewicz <misiek@pld.ORG.PL>.
8058 2000-11-11  Jim Meyering  <meyering@lucent.com>
8060         * string/strndup.c (strndup): Cast return value to `char *'.
8062 2000-11-15  Jim Meyering  <meyering@ascend.com>
8064         * sysdeps/generic/memchr.c: Remove some useless parentheses.
8065         [HAVE_STDLIB_H || defined _LIBC]: Include <stdlib.h>.
8066         [HAVE_BP_SYM_H || defined _LIBC]: Guard inclusion of bp-sym.h.
8067         [! (HAVE_BP_SYM_H || defined _LIBC)] (BP_SYM): Define as no-op.
8068         Also #undef __memchr.
8069         Use `weak_alias' only if it's defined.
8071 2000-11-10  H.J. Lu  <hjl@gnu.org>
8073         * Makefile.in (install): Set LANGUAGE=C LC_ALL=C.
8075 2000-11-15  Andreas Jaeger  <aj@suse.de>
8077         * elf/chroot_canon.c: Include <stdint.h>.
8079         * elf/cache.c (struct cache_entry): Use uint64_t for hwcap.
8080         (print_entry): Likewise.
8081         (add_to_cache): Likewise.
8083         * elf/ldconfig.h (add_to_cache): Change prototype for hwcap change.
8085         * elf/ldconfig.c (struct lib_entry): Use uint64_t for hwcap.
8086         (path_hwcap): Likewise.
8087         (search_dir): Likewise.
8089         * sysdeps/generic/dl-cache.c (HWCAP_CHECK): Handle platform.
8091         * elf/cache.c (add_to_cache): Handle 64 bit hwcap entry.
8093         * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h
8094         (_dl_platform_string): New.
8095         (_DL_HWCAP_PLATFORM): New.
8096         (_dl_string_platform): New.
8097         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h: Likewise.
8099         * sysdeps/generic/dl-procinfo.h (_DL_HWCAP_COUNT): New.
8100         (_dl_string_platform): New.
8101         (_DL_HWCAP_PLATFORM): New.
8102         (_dl_platform_string): New.
8104         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Added x86 platform
8105         recognition.
8106         (_DL_HWCAP_COUNT): New.
8107         (_dl_string_platform): New.
8108         (_DL_HWCAP_PLATFORM): New.
8109         (_dl_platform_string): New.
8111 2000-11-14  Ulrich Drepper  <drepper@redhat.com>
8113         * iconvdata/gconv-modules: Add CP936 as alias for GBK.
8115 2000-11-14  Andreas Jaeger  <aj@suse.de>
8117         * sysdeps/generic/dl-cache.c (HWCAP_CHECK): Fix access to _dl_hwcap.
8119 2000-11-13  Roland McGrath  <roland@frob.com>
8121         * hurd/get-host.c (_hurd_get_host_config): Fix last change.
8123 2000-11-13  Marcus Brinkmann <marcus@gnu.org>
8125         * hurd/get-host.c (_hurd_get_host_config): Fix possible buffer
8126         underrun and make sure the result is null terminated even if there
8127         is no trailing newline.
8129 2000-11-13  Jakub Jelinek  <jakub@redhat.com>
8131         * sysdeps/alpha/fpu/libm-test-ulps: Update.
8133 2000-11-10  H.J. Lu  <hjl@gnu.org>
8135         * sysdeps/ia64/fpu/libm-test-ulps: Updated.
8137 2000-11-10  Andreas Jaeger  <aj@suse.de>
8139         * elf/ldconfig.c (create_links): Fix alloca calculation.
8140         Patch by Ben Collins <bcollins@debian.org>.
8142 2000-11-09  Ulrich Drepper  <drepper@redhat.com>
8144         * inet/getnameinfo.c (getnameinfo): Use correct destination
8145         parameter for if_indextoname.
8146         Patch by Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>.
8148 2000-11-09  H.J. Lu  <hjl@gnu.org>
8150         * sunrpc/Versions (GLIBC_2.1): Remove xdr_cryptkeyarg,
8151         xdr_cryptkeyarg2, xdr_cryptkeyres, xdr_des_block,
8152         xdr_key_netstarg, xdr_key_netstres, xdr_keybuf and
8153         xdr_keystatus.
8155         * time/Versions (GLIBC_2.1): Move getitimer to...
8156         * sysdeps/unix/sysv/linux/alpha/Versions (GLIBC_2.1): ...here.
8158 2000-11-03  Bruno Haible  <haible@clisp.cons.org>
8160         * manual/install.texi: Recommend to set LANGUAGE=C LC_ALL=C during
8161         "make install", to work around a binary incompatibility between
8162         glibc 2.1 and glibc 2.2 gconv modules.
8164 2000-11-09  Ulrich Drepper  <drepper@redhat.com>
8166         * intl/locale.alias: Add thai.
8167         Patch by Chanop Silpa-Anan <chanop@syseng.anu.edu.au>.
8169 2000-11-07  Akim Demaille  <akim@epita.fr>
8171         * malloc/obstack.c (obstack_grow, obstack_grow0): Rename the second
8172         argument `data' for consistency with the prototypes.
8173         Qualify it `const'.
8174         (obstack_copy, obstack_copy0): Rename the second argument as
8175         `address' for consistency.  Qualify it `const'.
8176         * malloc/obstack.h (obstack_copy, obstack_copy0, obstack_grow)
8177         (obstack_grow0, obstack_ptr_grow, obstack_ptr_grow_fast): Qualify
8178         `const' their input argument (`data' or `address').
8179         Adjust the corresponding macros to include `const' in casts.
8181 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
8183         * sysdeps/posix/getaddrinfo.c: Clean-up: define family to hold
8184         target family.
8186 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
8188         * sysdeps/posix/getaddrinfo.c: Loosen protocol check to ease raw
8189         socket creation.
8191 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
8193         * sysdeps/posix/getaddrinfo.c: Ensure to fill ai_socktype and
8194         ai_protocol by internal table if service was not given.
8196 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
8198         * sysdeps/posix/getaddrinfo.c: Don't raise an error even if
8199         numerical port was specified with protocol without socktype.
8201 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
8203         * sysdeps/posix/getaddrinfo.c: Ensure to check if protocol is ok.
8205 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
8207         * inet/getnameinfo.c: getnameinfo() NI_xxx flag validation.
8209 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
8211         * sysdeps/posix/getaddrinfo.c: Ensure not to fill garbage value in
8212         sin6_scope_id field.
8214 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
8216         * inet/getnameinfo.c: Repair getnameinfo() sin6_socpe_id support.
8218 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
8220         * inet/getnameinfo.c: Repair NI_NOFQDN flag support.
8222 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
8224         * inet/getnameinfo.c: Wake-up sin6_scope_id support in
8225         getnameinfo(): check for whether sin6_socpe_id exist was wrong.
8227 2000-11-09  Martin Schwidefsky  <mschwide@nc.boeblingen.de.ibm.com>
8229         * sysdeps/unix/sysv/linux/s390/mmap.S: Use mmap2 if it is present.
8230         * sysdeps/unix/sysv/linux/s390/mmap64.S: New file.
8232 2000-11-09  H.J. Lu  <hjl@gnu.org>
8234         * io/Versions (GLIBC_2.1.1): Remove lockf64.
8237 See ChangeLog.11 for earlier changes.