1 2001-06-05 Matthew Wilcox <willy@ldl.fc.hp.com>
3 * sysdeps/hppa/bsd-_setjmp.S: New.
4 * sysdeps/hppa/bsd-setjmp.S: New.
6 * sysdeps/hppa/dl-machine.h: Reformat asm statements to remove new
7 gcc warnings about multi-line strings.
9 * sysdeps/unix/sysv/linux/hppa/getrlimit.c: Remove.
10 * sysdeps/unix/sysv/linux/hppa/setrlimit.c: Remove.
12 * sysdeps/unix/sysv/linux/hppa/syscalls.list: Call getrlimit,
13 setrlimit directly instead of using wrappers.
15 2001-05-01 Richard Hirst <rhirst@linuxcare.com>
17 * sysdeps/unix/sysv/linux/hppa/syscall.S: remove dummy syscall.
18 * sysdeps/unix/sysv/linux/hppa/sysdep.c: implement syscall.
20 2001-06-05 Philipp Thomas <pthomas@suse.de>
22 * nis/nis_call.c (__nisbind_connect): Don't mark for translation
23 what can't be translated.
25 2001-06-06 Ulrich Drepper <drepper@redhat.com>
27 * timezone/zic.c: Update from tzcode2001c.
28 * timezone/private.h: Likewise.
29 * timezone/africa: Update from tzdata2001c.
30 * timezone/asia: Likewise.
31 * timezone/europe: Likewise.
32 * timezone/northamerica: Likewise.
33 * timezone/southamerica: Likewise.
34 * timezone/zone.tab: Likewise.
36 2001-06-04 Bruno Haible <haible@clisp.cons.org>
38 * iconv/loop.c (UNICODE_TAG_HANDLER): New macro.
39 * iconv/gconv_simple.c (__gconv_transform_internal_ascii): Invoke
41 (__gconv_transform_internal_ucs2): Likewise.
42 (__gconv_transform_internal_ucs2reverse): Likewise.
43 * iconvdata/8bit-gap.c (BODY for TO_LOOP): Invoke UNICODE_TAG_HANDLER.
44 * iconvdata/8bit-generic.c (BODY for TO_LOOP): Likewise.
45 * iconvdata/ansi_x3.110.c (BODY for TO_LOOP): Likewise.
46 * iconvdata/big5.c (BODY for TO_LOOP): Likewise.
47 * iconvdata/big5hkscs.c (BODY for TO_LOOP): Likewise.
48 * iconvdata/cp1255.c (BODY for TO_LOOP): Likewise.
49 * iconvdata/cp1258.c (BODY for TO_LOOP): Likewise.
50 * iconvdata/euc-cn.c (BODY for TO_LOOP): Likewise.
51 * iconvdata/euc-jp.c (BODY for TO_LOOP): Likewise.
52 * iconvdata/euc-kr.c (BODY for TO_LOOP): Likewise.
53 * iconvdata/euc-tw.c (BODY for TO_LOOP): Likewise.
54 * iconvdata/gbk.c (BODY for TO_LOOP): Likewise.
55 * iconvdata/ibm930.c (BODY for TO_LOOP): Likewise.
56 * iconvdata/ibm932.c (BODY for TO_LOOP): Likewise.
57 * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
58 * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
59 * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
60 * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
61 * iconvdata/ibm943.c (BODY for TO_LOOP): Likewise.
62 * iconvdata/iso646.c (BODY for TO_LOOP): Likewise.
63 * iconvdata/iso8859-1.c (BODY for TO_LOOP): Likewise.
64 * iconvdata/iso_6937.c (BODY for TO_LOOP): Likewise.
65 * iconvdata/iso_6937-2.c (BODY for TO_LOOP): Likewise.
66 * iconvdata/iso-2022-cn.c (BODY for TO_LOOP): Likewise.
67 * iconvdata/iso-2022-cn-ext.c (BODY for TO_LOOP): Likewise.
68 * iconvdata/iso-2022-kr.c (BODY for TO_LOOP): Likewise.
69 * iconvdata/johab.c (BODY for TO_LOOP): Likewise.
70 * iconvdata/sjis.c (BODY for TO_LOOP): Likewise.
71 * iconvdata/t.61.c (BODY for TO_LOOP): Likewise.
72 * iconvdata/uhc.c (BODY for TO_LOOP): Likewise.
73 * iconvdata/unicode.c (BODY for TO_LOOP): Likewise.
74 * iconvdata/iso-2022-jp.c (TAG_none, TAG_language, TAG_language_j,
75 TAG_language_ja, TAG_language_k, TAG_language_ko, TAG_language_z,
76 TAG_language_zh, CURRENT_TAG_MASK): New enum values.
77 (EMIT_SHIFT_TO_INIT): Don't emit an escape sequence if ASCII_set
78 is already selected but set2 or tag are set.
79 (conversion): New enum type.
81 (CVLIST, CVLIST_FIRST, CVLIST_REST): New macros.
82 (conversion_lists): New array.
83 (BODY for TO_LOOP): Keep track of Unicode 3.1 language tag. If "ja",
84 prefer conversion to Japanese character sets. If "zh", prefer
85 conversion to GB2312. If "ko", prefer conversion to KSC5601. Small
87 (INIT_PARAMS): Add tag.
88 (UPDATE_PARAMS): Add tag.
90 2001-06-04 Bruno Haible <haible@clisp.cons.org>
92 * locale/programs/locfile.c (write_locale_data): Before creat(),
93 unlink the file, to avoid crashing the processes that mmap it. Change
94 a double slash to a single slash. Free fname in case of error return.
96 2001-06-02 Jakub Jelinek <jakub@redhat.com>
98 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Mostly revert 2000-12-03
99 changes, do the special handling for denormal numbers, not for
100 normalized numbers (patch by <trevin@xmission.com>).
102 * math/test-misc.c (main): Test frexpl with denormal arguments.
104 2001-06-04 Jakub Jelinek <jakub@redhat.com>
106 * math/libm-test.inc (llround_test): Add two new llround tests.
107 * sysdeps/ieee754/ldbl-96/s_llroundl.c (__llroundl): Don't allow
108 overflow when rounding away from zero.
110 2001-06-04 Jakub Jelinek <jakub@redhat.com>
112 * math/Makefile (libm-calls): Add e_log2, w_log2, remove s_log2.
113 * math/math_private.h (__ieee754_log2, __ieee754_log2f,
114 __ieee754_log2l): New prototypes.
115 * sysdeps/generic/w_log2.c: New file.
116 * sysdeps/generic/w_log2f.c: New file.
117 * sysdeps/generic/w_log2l.c: New file.
118 * sysdeps/generic/s_log2l.c: Move...
119 * sysdeps/generic/e_log2l.c: ...to here. Rename to __ieee754_log2l.
120 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle log2(0)
122 * sysdeps/i386/fpu/s_log2.S: Move...
123 * sysdeps/i386/fpu/e_log2.S: ...to here. Rename to __ieee754_log2.
124 * sysdeps/i386/fpu/s_log2f.S: Move...
125 * sysdeps/i386/fpu/e_log2f.S: ...to here. Rename to __ieee754_log2f.
126 * sysdeps/i386/fpu/s_log2l.S: Move...
127 * sysdeps/i386/fpu/e_log2l.S: ...to here. Rename to __ieee754_log2l.
128 * sysdeps/m68k/fpu/s_log2.S: Move...
129 * sysdeps/m68k/fpu/e_log2.S: ...to here. Rename to __ieee754_log2.
130 * sysdeps/m68k/fpu/s_log2f.S: Move...
131 * sysdeps/m68k/fpu/e_log2f.S: ...to here. Rename to __ieee754_log2f.
132 * sysdeps/m68k/fpu/s_log2l.S: Move...
133 * sysdeps/m68k/fpu/e_log2l.S: ...to here. Rename to __ieee754_log2l.
134 * sysdeps/ieee754/dbl-64/s_log2.c: Move...
135 * sysdeps/ieee754/dbl-64/e_log2.c: ...to here. Rename to
137 * sysdeps/ieee754/flt-32/s_log2f.c: Move...
138 * sysdeps/ieee754/flt-32/e_log2f.c: ...to here. Rename to
141 2001-06-04 Jakub Jelinek <jakub@redhat.com>
143 * sysdeps/generic/w_exp2.c (u_threshold): Lower threshold so that
144 even arguments which result in denormalized exp2 are accepted.
145 (__exp2): Arguments equal to u_threshold already result into
147 * sysdeps/generic/w_exp2f.c (u_threshold, __exp2f): Likewise.
148 * sysdeps/generic/w_exp2l.c (u_threshold, __exp2l): Likewise.
149 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Lomark was too
150 low, with corrected lowmark use greaterequal, not greater.
151 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
153 2001-06-04 Jakub Jelinek <jakub@redhat.com>
155 * math/libm-test.inc (ilogb_test): Test that ilogb(+-Inf) == INT_MAX.
156 * sysdeps/i386/fpu/s_ilogb.S (__ilogb): Return INT_MAX for +-Inf.
157 * sysdeps/i386/fpu/s_ilogbf.S (__ilogbf): Likewise.
158 * sysdeps/i386/fpu/s_ilogbl.S (__ilogbl): Likewise.
159 * sysdeps/ieee754/dbl-64/s_ilogb.c (__ilogb): Likewise.
160 * sysdeps/ieee754/flt-32/s_ilogbf.c (__ilogbf): Likewise.
161 * sysdeps/ieee754/ldbl-128/s_ilogbl.c (__ilogbl): Likewise.
162 * sysdeps/ieee754/ldbl-96/s_ilogbl.c (__ilogbl): Likewise.
164 2001-06-04 Jakub Jelinek <jakub@redhat.com>
166 * sysdeps/generic/w_coshl.c (__coshl): Test if finite argument
167 gave non-finite result instead of using constant in generic
169 * sysdeps/generic/w_coshf.c (__coshf): Likewise.
170 * sysdeps/generic/w_cosh.c (__cosh): Likewise.
171 * sysdeps/generic/w_exp10.c (o_threshold, u_threshold): Remove.
172 (__exp10): Test if finite argument gave non-finite result.
173 * sysdeps/generic/w_exp10f.c (o_threshold, u_threshold, __exp10f):
175 * sysdeps/generic/w_exp10l.c (o_threshold, u_threshold, __exp10l):
178 2001-06-04 Jakub Jelinek <jakub@redhat.com>
180 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Fix
181 overflow threshold constant (log(LDBL_MAX)+M_LN2l).
183 2001-05-29 Bruno Haible <haible@clisp.cons.org>
185 * locale/programs/ld-ctype.c (idx_table): New struct type.
186 (idx_table_init, idx_table_get, idx_table_add): New functions.
187 (MAX_CHARNAMES_IDX): Remove macro.
188 (locale_ctype_t): Change type of charnames_idx field.
189 (ctype_startup): Change initialization of charnames_idx field.
190 (find_idx): Use idx_table_get and idx_table_add for speed.
192 * locale/programs/charmap.c (charmap_new_char): Fix ucs4 value
193 computation of characters in a range.
195 2001-05-29 Bruno Haible <haible@clisp.cons.org>
197 * iconvdata/gb18030.c (__fourbyte_to_ucs1): Add mappings for <U03F4>,
199 (__ucs_to_gb18030_tab1): Likewise.
200 (BODY for FROM_LOOP): Add mapping for <U00010000>..<U0010FFFF>.
201 (BODY for TO_LOOP): Likewise.
202 * iconvdata/tst-table-charmap.sh: Update for charmaps containing
204 * iconvdata/tst-table-from.c (bmp_only): New variable.
205 (utf8_decode): If bmp_only, don't return characters outside Unicode
207 (main): When testing UTF-8 or GB18030, set bmp_only to 1. Don't print
208 a conversion line if utf8_decode returns NULL.
209 * iconvdata/tst-table-to.c (main): When testing encodings other than
210 UTF-8 and GB18030, loop upto U+30000 instead of U+10000. Use UTF-8
211 instead of UCS-2 as input.
212 * iconvdata/tst-table.sh: For GB18030, use only the part < 0x10000
215 2001-05-29 Bruno Haible <haible@clisp.cons.org>
217 * iconvdata/cns11643l1.c: Update to Unicode 3.1.
218 (__cns11643l1_to_ucs4_tab): Regenerated.
219 (__cns11643l1_from_ucs4_tab12): Regenerated.
220 * iconvdata/cns11643.c: Update to Unicode 3.1.
221 (__cns11643l14_to_ucs4_tab): Remove array.
222 (__cns11643l3_to_ucs4_tab, __cns11643l4_to_ucs4_tab,
223 __cns11643l5_to_ucs4_tab, __cns11643l6_to_ucs4_tab,
224 __cns11643l7_to_ucs4_tab, __cns11643l15_to_ucs4_tab): New arrays.
225 (__cns11643_from_ucs4p0_tab): Renamed from __cns11643_from_ucs4_tab.
226 (__cns11643_from_ucs4p2_tab): New array.
227 * iconvdata/cns11643.h (__cns11643l14_to_ucs4_tab): Remove declaration.
228 (__cns11643l3_to_ucs4_tab, __cns11643l4_to_ucs4_tab,
229 __cns11643l5_to_ucs4_tab, __cns11643l6_to_ucs4_tab,
230 __cns11643l7_to_ucs4_tab, __cns11643l15_to_ucs4_tab): New declarations.
231 (cns11643_to_ucs4): Treat planes 3, 4, 5, 6, 7, 15 instead of 14.
232 (__cns11643_from_ucs4_tab): Remove declaration.
233 (__cns11643_from_ucs4p0_tab, __cns11643_from_ucs4p2_tab): New
235 (ucs4_to_cns11643): Update for new arrays. Treat U+3400..U+4DFF and
237 * iconvdata/cns11643l2.h (__cns11643_from_ucs4_tab): Remove
239 (__cns11643_from_ucs4p0_tab): New declaration.
240 (ucs4_to_cns11643l2): Update for new arrays.
241 * iconvdata/iso-2022-cn-ext.c (BODY for FROM_LOOP): Handle planes
243 (BODY for TO_LOOP): Handle planes 3 to 7, instead of plane 14.
244 * iconvdata/EUC-TW.irreversible: New file.
245 * iconvdata/tst-table.sh: Use it.
246 * iconvdata/Makefile (distribute): Add CP1255.irreversible,
247 CP1258.irreversible, EUC-TW.irreversible.
249 2001-05-29 Bruno Haible <haible@clisp.cons.org>
251 * locale/C-translit.h.in: Add transliterations for new Unicode 3.1
252 mathematical symbols.
254 2001-06-05 Andreas Jaeger <aj@suse.de>
256 * manual/stdio.texi (Portable Positioning): Fix description of
259 2001-06-06 Ulrich Drepper <drepper@redhat.com>
261 * sysdeps/generic/wordexp.c: Undo last patch. Use strndupa instead.
263 * po/sk.po: Update from translation team.
265 2001-06-05 Andreas Jaeger <aj@suse.de>
267 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Recognize
268 tmpfs, patch by Stanislav Brabec <utx@penguin.cz>.
271 2001-06-05 Ulrich Drepper <drepper@redhat.com>
273 * sysdeps/generic/wordexp.c: Add missing free.
274 Patch by yeti@physics.muni.cz.
276 2001-06-02 Tom Browder <tbrowder@home.com>
278 * misc/tst-tsearch.c (mangle_tree): Ensure array indices are
279 within bounds when lag > 0.
281 2001-06-05 Ulrich Drepper <drepper@redhat.com>
283 * po/tr.po: New file.
285 2001-06-05 Andreas Jaeger <aj@suse.de>
287 * manual/libm-err-tab.pl (parse_ulps): Fix typo.
289 2001-06-04 H.J. Lu <hjl@gnu.org>
291 * sysdeps/alpha/elf/start.S: Add .type for the entry point.
292 * sysdeps/arm/elf/start.S: Likewise.
293 * sysdeps/hppa/elf/start.S: Likewise.
294 * sysdeps/i386/elf/start.S: Likewise.
295 * sysdeps/m68k/elf/start.S: Likewise.
296 * sysdeps/mips/elf/start.S: Likewise.
297 * sysdeps/ia64/elf/start.S: Likewise.
298 * sysdeps/sh/elf/start.S: Likewise.
299 * sysdeps/s390/s390-32/elf/start.S: Likewise.
300 * sysdeps/s390/s390-64/elf/start.S: Likewise.
301 * sysdeps/cris/elf/start.S: Likewise.
303 2001-06-04 Bruce Mitchener <bruce@cubik.org>
305 * manual/resource.texi: Correct setpriority/nice documentation.
307 * sysdeps/unix/nice.c: Correct nice() implementation.
309 2001-06-04 Andreas Jaeger <aj@suse.de>
311 * sysdeps/ieee754/ldbl-128/e_sinhl.c: New file, contributed by
312 Stephen L Moshier <moshier@mediaone.net>.
314 2001-06-03 Roland McGrath <roland@frob.com>
316 * Makefile (postclean): Remove obsolete sysd-Makefile.
318 2001-06-01 Roland McGrath <roland@frob.com>
320 * sysdeps/alpha/fpu/fclrexcpt.c: #include <shlib-compat.h>
321 and use compat_symbol/versioned_symbol instead of plain
322 symbol_version/default_symbol_version.
323 * sysdeps/alpha/fpu/fegetenv.c: Likewise.
324 * sysdeps/alpha/fpu/fesetenv.c: Likewise.
325 * sysdeps/alpha/fpu/feupdateenv.c: Likewise.
326 * sysdeps/alpha/fpu/fgetexcptflg.c: Likewise.
327 * sysdeps/alpha/fpu/fraiseexcpt.c: Likewise.
328 * sysdeps/alpha/fpu/fsetexcptflg.c: Likewise.
329 * sysdeps/arm/fpu/fclrexcpt.c: Likewise.
330 * sysdeps/arm/fpu/fegetenv.c: Likewise.
331 * sysdeps/arm/fpu/fesetenv.c: Likewise.
332 * sysdeps/arm/fpu/fraiseexcpt.c: Likewise.
333 * sysdeps/arm/fpu/fsetexcptflg.c: Likewise.
334 * sysdeps/i386/fpu/fclrexcpt.c: Likewise.
335 * sysdeps/i386/fpu/fegetenv.c: Likewise.
336 * sysdeps/i386/fpu/fesetenv.c: Likewise.
337 * sysdeps/i386/fpu/feupdateenv.c: Likewise.
338 * sysdeps/i386/fpu/fgetexcptflg.c: Likewise.
339 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
340 * sysdeps/i386/fpu/fsetexcptflg.c: Likewise.
341 * sysdeps/m68k/fpu/fclrexcpt.c: Likewise.
342 * sysdeps/m68k/fpu/fegetenv.c: Likewise.
343 * sysdeps/m68k/fpu/fesetenv.c: Likewise.
344 * sysdeps/m68k/fpu/feupdateenv.c: Likewise.
345 * sysdeps/m68k/fpu/fgetexcptflg.c: Likewise.
346 * sysdeps/m68k/fpu/fraiseexcpt.c: Likewise.
347 * sysdeps/m68k/fpu/fsetexcptflg.c: Likewise.
348 * sysdeps/powerpc/fclrexcpt.c: Likewise.
349 * sysdeps/powerpc/fpu/fegetenv.c: Likewise.
350 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
351 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
352 * sysdeps/powerpc/fpu/fgetexcptflg.c: Likewise.
353 * sysdeps/powerpc/fpu/fraiseexcpt.c: Likewise.
354 * sysdeps/powerpc/fpu/fsetexcptflg.c: Likewise.
356 * iconvdata/cp1258.c: Include <stdlib.h> for abort decl.
357 * iconvdata/iso-2022-cn-ext.c: Likewise.
359 2001-06-01 Andreas Jaeger <aj@suse.de>
361 * Versions.def: Add version 2.2.4.
363 2001-06-01 Ulrich Drepper <drepper@redhat.com>
365 * socket/Makefile (routines): Add sockatmark.
366 * socket/Versions [GLIBC_2.2.4]: Add sockatmark.
367 * socket/sys/socket.h: Add prototype for sockatmark.
368 * sysdeps/generic/sockatmark.c: New file.
369 * sysdeps/unix/sockatmark.c: New file.
371 2001-06-01 Andreas Jaeger <aj@suse.de>
373 * sysdeps/unix/sysv/linux/speed.c (cfsetispeed): Max speed is
375 (cfsetospeed): Likewise.
376 Reported by Lukasz Trabinski <lukasz@lt.wsisiz.edu.pl>.
378 2001-05-31 Joseph S. Myers <jsm28@cam.ac.uk>
380 * misc/sys/cdefs.h (__restrict_arr): Define to empty for C++.
382 2001-05-30 Martin Schwidefsky <schwidefsky@de.ibm.com>
384 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: greg_t
385 needs to have the same aligment as the kernel structure.
387 2001-05-29 Jakub Jelinek <jakub@redhat.com>
389 * sunrpc/rpc/types.h (u_char, u_short, u_int, u_long, quad_t,
390 u_quad_t, fsid_t, daddr_t, caddr_t): Make sure the types are defined.
391 * posix/sys/types.h (u_char, u_short, u_int, u_long, quad_t,
392 u_quad_t, fsid_t, daddr_t, caddr_t): Protect the __USE_BSD typedefs
393 against multiple definition.
395 2001-05-30 Ulrich Drepper <drepper@redhat.com>
397 * po/da.po: Update from translation team.
399 2001-05-29 Andreas Jaeger <aj@suse.de>
401 * sysdeps/ieee754/ldbl-128/e_acosl.c: New file, contributed by
402 Stephen L Moshier <moshier@mediaone.net>.
404 * math/libm-test.inc (sinh_test): Add new test case.
406 * sysdeps/ieee754/ldbl_96/e_sinhl.c (__ieee754_sinhl): sinhl(x) =
408 Patch by Stephen L Moshier <moshier@mediaone.net>.
410 2001-05-23 Andreas Jaeger <aj@suse.de>
412 * iconvdata/testdata/WINDOWS-1255..UTF-8: Renamed to...
413 * iconvdata/testdata/WINDOWS-1255..UTF8: this.
415 2001-05-27 Andreas Jaeger <aj@suse.de>
417 * manual/stdio.texi (String Streams): Fix fmemopen description.
418 Reported by Michal Kochanowicz <michal@michal.waw.pl>.
420 2001-05-26 H.J. Lu <hjl@gnu.org>
422 * sysdeps/unix/sysv/linux/mips/syscalls.list: Change sigsuspend
423 to s_sigsuspend. Add s_mmap2.
425 * sysdeps/mips/atomicity.h: New file.
427 * sysdeps/unix/sysv/linux/mips/getsysstats.c: New file.
429 * sysdeps/unix/sysv/linux/mips/bits/ipc.h (ipc_perm): Put
432 2001-05-25 Bruce Mitchener <bruce@cubik.org>
434 * manual/ctype.texi: Minor fix.
435 * manual/install.texi: Likewise.
436 * manual/startup.texi: Likewise.
437 * manual/examples/dir.c: Use perror() rather than puts().
439 2001-05-25 David Mosberger <davidm@hpl.hp.com>
441 * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h: Put stuff following
442 #endif directive inside a comment to avoid compiler warnings.
444 2001-05-25 Philipp Thomas <pthomas@suse.de>
446 * nis/nis_print.c (nis_nstype2str): Don't mark names of
447 naming services for translation, only UNKNOWN needs it.
448 Add comment to prevent it for the future.
450 2001-05-25 Joseph S. Myers <jsm28@cam.ac.uk>
452 * misc/sys/cdefs.h (__restrict_arr): Define appropriately for GCC
453 3.1 and non-GCC C99 compilers.
455 2001-05-22 David Mosberger <davidm@hpl.hp.com>
457 * sysdeps/ia64/memmove.S: Increase MEMLAT from 6 to 21 for better
459 * sysdeps/ia64/memcpy.S: Likewise.
461 * sysdeps/ia64/bcopy.S: New file.
463 * sysdeps/ia64/bzero.S: New file (derived from memset.S).
465 2001-05-26 Ulrich Drepper <drepper@redhat.com>
467 * sysdeps/ia64/fpu/libm-test-ulps: Add deltas for tanh(-0.7).
469 2001-05-24 Ulrich Drepper <drepper@redhat.com>
471 * iconvdata/Makefile: Add rules for CP10007.
472 * iconvdata/gconv-modules: Add entries for CP10007 ad MacCyrillic.
473 * iconvdata/cp10007.c: New file.
474 * iconvdata/tst-tables.sh: Add CP10007.
476 2001-05-23 kaz Kojima <kkojima@rr.iij4u.or.jp>
478 * sysdeps/sh/dl-machine.h (_dl_runtime_resolve): Handle newer PLT.
479 (_dl_runtime_profile): Likewise..
481 2001-05-23 Thorsten Kukuk <kukuk@suse.de>
483 * sysdeps/posix/getaddrinfo.c: Support for AF_UNIX commented out.
484 * posix/tst-getaddrinfo.c: Remove AF_UNIX test.
486 2001-05-19 H.J. Lu <hjl@gnu.org>
488 * elf/dl-deps.c (_dl_map_object_deps): Pass objname and
489 errstring of the failed DSO to _dl_signal_error ().
491 2001-05-23 Ulrich Drepper <drepper@redhat.com>
493 * iconvdata/gconv-modules: Add more aliases to enable use in
496 2001-05-23 Andreas Jaeger <aj@suse.de>
498 * sysdeps/unix/sysv/linux/ia64/Makefile (CFLAGS-initfini.s):
499 Remove, it's not used anywhere anymore.
500 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile
501 (CFLAGS-initfini.s): Likewise.
502 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile
503 (CFLAGS-initfini.s): Likewise.
504 * sysdeps/unix/sysv/linux/powerpc/Makefile (CFLAGS-initfini.s):
506 * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-initfini.s):
509 2001-05-21 Bruno Haible <haible@clisp.cons.org>
511 * wcsmbs/mbrtowc.c (mbrtowc): Remove local variable 'flush', always
512 use 0 instead, and rely on the converter to do the flush.
513 * wcsmbs/tst-mbrtowc.c (utf8_test_1): New function, taken from
515 (utf8_test_2, utf8_test_3): New function.
516 (utf8_test): Call utf8_test_1, utf8_test_2, utf8_test_3.
518 2001-05-22 Jakub Jelinek <jakub@redhat.com>
520 * elf/dl-close.c (_dl_close): Save imap->l_reldeps, not map->l_reldeps.
522 * elf/Makefile (distribute): Add reldep4mod[1234].c.
523 (tests): Add reldep4.
524 (modules-names): Add reldep4mod[1234].
525 (reldep4mod1.so, reldep4mod2.so, reldep4, reldep4.out): New rules.
526 * elf/reldep4.c: New file.
527 * elf/reldep4mod1.c: Likewise.
528 * elf/reldep4mod2.c: Likewise.
529 * elf/reldep4mod3.c: Likewise.
530 * elf/reldep4mod4.c: Likewise.
532 2001-05-18 Jakub Jelinek <jakub@redhat.com>
534 * elf/dl-lookup.c (PROTECTED): Remove defines.
535 (add_dependency): Mark it with internal_function.
536 (_dl_do_lookup, _dl_do_lookup_versioned): New functions.
537 (_dl_lookup_symbol, _dl_lookup_symbol_skip,
538 _dl_lookup_versioned_symbol, _dl_lookup_versioned_symbol_skip): Use
539 it if we don't want do_lookup* inlined.
541 2001-05-18 Jakub Jelinek <jakub@redhat.com>
543 * include/link.h (struct r_scope_elem): Remove r_duplist and
545 * elf/dl-load.c (_dl_map_object_from_fd): Don't initialize them.
546 * elf/dl-lookup.c (_dl_lookup_symbol_skip): Look in r_list, not
548 (_dl_lookup_versioned_symbol_skip): Likewise.
549 * elf/dl-deps.c (struct list): Remove dup field, rename unique to next.
550 (_dl_map_object_deps): Don't compute duplicate list.
552 * elf/dl-symbol.c: Removed.
553 * elf/Makefile (routines): Remove dl-symbol.
555 2001-05-22 Ulrich Drepper <drepper@redhat.com>
557 * po/el.po: Update from translation team.
558 * po/sv.po: Likewise.
560 2001-05-20 Bruno Haible <haible@clisp.cons.org>
562 * iconvdata/cp1255.c: Completely rewritten.
563 * iconvdata/Makefile (gen-8bit-gap-modules): Remove cp1255.
564 * iconvdata/testdata/WINDOWS-1255: New file.
565 * iconvdata/testdata/WINDOWS-1255..UTF8: New file.
566 * iconvdata/TESTS: Add WINDOWS-1255 test.
567 * iconvdata/CP1255.irreversible: New file.
569 2001-05-20 Bruno Haible <haible@clisp.cons.org>
571 * iconvdata/cp1258.c: Completely rewritten.
572 * iconvdata/Makefile (gen-8bit-gap-modules): Remove cp1258.
573 * iconvdata/testdata/WINDOWS-1258: New file.
574 * iconvdata/testdata/WINDOWS-1258..UTF8: New file.
575 * iconvdata/TESTS: Add WINDOWS-1258 test.
576 * iconvdata/tst-table-from.c (try): Reset the iconv descriptor before
577 the main call, and flush it afterwards.
578 (utf8_decode): Return a string, possibly containing several Unicode
580 (main): Update all utf8_decode calls.
581 * iconvdata/CP1258.irreversible: New file.
583 2001-05-20 Bruno Haible <haible@clisp.cons.org>
585 * iconv/gconv.c (__gconv): For flush without output, pass do_flush = 2.
586 * iconv/skeleton.c: Distinguish do_flush = 1 and do_flush = 2. In the
587 first case, set outbuf, outstart, outend, and call PREPARE_LOOP before
588 EMIT_SHIFT_TO_INIT; then pass the output produced by this step down to
589 the next step. In the second case, clear the state without calling
591 * iconvdata/ibm930.c (EMIT_SHIFT_TO_INIT): Use outbuf instead of
592 data->__outbuf, and outend instead of data->__outbufend.
593 * iconvdata/ibm933.c (EMIT_SHIFT_TO_INIT): Likewise.
594 * iconvdata/ibm935.c (EMIT_SHIFT_TO_INIT): Likewise.
595 * iconvdata/ibm937.c (EMIT_SHIFT_TO_INIT): Likewise.
596 * iconvdata/ibm939.c (EMIT_SHIFT_TO_INIT): Likewise.
597 * iconvdata/iso-2022-cn.c (EMIT_SHIFT_TO_INIT): Likewise.
598 * iconvdata/iso-2022-cn-ext.c (EMIT_SHIFT_TO_INIT): Likewise.
599 * iconvdata/iso-2022-jp.c (EMIT_SHIFT_TO_INIT): Likewise.
600 * iconvdata/iso-2022-kr.c (EMIT_SHIFT_TO_INIT): Likewise.
601 * iconvdata/utf-7.c (EMIT_SHIFT_TO_INIT): Likewise.
603 2001-05-21 Jakub Jelinek <jakub@redhat.com>
605 * elf/rtld.c (dl_main): Compute l_map_end for the main program.
606 * elf/dl-sym.c (_dl_sym): Don't check for l_addr == 0.
607 If match == _dl_loaded, caller can still come from the main program.
608 (_dl_vsym): Likewise.
609 * elf/dl-open.c (dl_open_worker): Don't check for l_addr == 0.
610 * elf/dl-error.c (_dl_signal_error): Change NULL objname into "".
611 * elf/restest2.c: New test.
612 * elf/Makefile (tests): Add restest2.
613 (restest2, LDFLAGS-restest2): Add rules.
615 2001-05-22 Ulrich Drepper <drepper@redhat.com>
617 * intl/Makefile: Add a few more dependencies to avoid races in the
620 2001-05-22 Andreas Jaeger <aj@suse.de>
622 * sysdeps/ieee754/ldbl-128/s_log1pl.c: New file, contributed by
623 Stephen L Moshier <moshier@mediaone.net>.
625 2001-05-22 Martin Schwidefsky <schwidefsky@de.ibm.com>
627 * sysdeps/s390/s390-32/backtrace.c: Make backtrace return the
628 return addresses instead of the stack pointers.
629 * sysdeps/s390/s390-64/backtrace.c: Likewise.
631 2001-05-21 Jakub Jelinek <jakub@redhat.com>
633 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Include
634 bits/sigcontext.h instead of bits/sigstack.h.
635 * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h: Add
636 multiple-inclusion guards.
638 2001-05-21 Andreas Jaeger <aj@suse.de>
640 * locale/programs/ld-collate.c (handle_ellipsis): Fix message.
641 Patch by Philipp Thomas <pthomas@suse.de>.
643 2001-05-17 Bruce Mitchener <bruce@cubik.org>
645 * manual/arpg.texi: Spelling, misc fixes.
646 * manual/arith.texi: Likewise.
647 * manual/crypt.texi: Likewise.
648 * manual/debug.texi: Likewise.
649 * manual/getopt.texi: Likewise.
650 * manual/intro.texi: Likewise.
651 * manual/memory.texi: Likewise.
652 * manual/nss.texi: Likewise.
653 * manual/pattern.texi: Likewise.
654 * manual/process.texi: Likewise.
655 * manual/resource.texi: Likewise.
656 * manual/search.texi: Likewise.
657 * manual/setjmp.texi: Likewise.
658 * manual/signal.texi: Likewise.
659 * manual/socket.texi: Likewise.
660 * manual/stdio.texi: Likewise.
661 * manual/string.texi: Likewise.
662 * manual/sysinfo.texi: Likewise.
663 * manual/terminal.texi: Likewise.
664 * manual/llio.texi: Document madvise().
666 2001-05-20 Roland McGrath <roland@frob.com>
668 * Makeconfig (sysdep-makeconfigs): Include any Makeconfig files
669 found within $(add-ons) directories too.
670 [linuxthreads add-on]: Move variable settings for linuxthreads
671 to new file linuxthreads/Makeconfig.
673 2001-05-20 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
675 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_STD_AUXV):
676 Define for linux >= 2.4.5 on powerpc.
677 (__ASSUME_MMAP2_SYSCALL): Likewise.
679 2001-05-19 Roland McGrath <roland@frob.com>
681 * hurd/hurdlookup.c (__hurd_file_name_lookup_retry): Don't leak the
682 result port when failing with ELOOP. Do the ELOOP check when
683 following an absolute symlink target as well as relative.
684 Remove #ifdef SYMLOOP_MAX conditional--it should always be defined.
686 2001-05-18 Andreas Jaeger <aj@suse.de>
688 * po/fr.po: Free software is "logiciel libre".
689 Patch by Martin Michlmayr <tbm@cyrius.com>.
691 * sysdeps/powerpc/elf/libc-start.c: Use __cxa_atexit.
692 Patch by ekato@ees.hokudai.ac.jp, closes PR libc/2271.
694 2001-05-17 David Mosberger <davidm@hpl.hp.com>
696 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: New file.
698 2001-05-17 Ulrich Drepper <drepper@redhat.com>
700 * elf/dl-profile.c (_dl_mcount): Check whether state is
701 GMON_PROF_ON before doing anything.
703 2001-05-17 H.J. Lu <hjl@gnu.org>
705 * elf/sprof.c (read_symbols): Move "++symtab" into the while loop.
707 2001-05-17 Ulrich Drepper <drepper@redhat.com>
709 * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Use
710 CHECK_SIGSET_NULL_OK and not CHECK_SIGSET for all parameters.
711 Reported by Mark Burton <markb@ordern.com>.
713 2001-05-17 Jakub Jelinek <jakub@redhat.com>
715 * elf/ldconfig.c (add_dir): Only warn about stat failure if
717 (search_dir): Likewise.
719 2001-05-17 Ulrich Drepper <drepper@redhat.com>
721 * sysdeps/i386/i486/atomicity.h (exchange_and_add): Correct second
722 parameter of xaddl. Patch by H . J . Lu <hjl@lucon.org>.
724 2001-05-14 Bruno Haible <haible@clisp.cons.org>
726 * iconvdata/iso-2022-cn-ext.c (BODY for FROM_LOOP): If SO is seen
727 without previous announcement, reject it regularly, don't abort.
729 2001-05-16 Ulrich Drepper <drepper@redhat.com>
731 * math/tgmath.h: Fix handling of int parameters to binary and
732 ternary functions. Reported by mitr@volny.cz.
734 * math/test-tgmath.c: Add tests for calls with integer parameters.
736 2001-05-15 Jakub Jelinek <jakub@redhat.com>
738 * sunrpc/rpc_thread.c (rpc_default): Remove.
739 (__rpc_thread_destroy): Use __libc_tsd_RPC_VARS_mem instead of
741 (rpc_thread_multi, __rpc_thread_svc_fdset, __rpc_thread_createerr,
742 __rpc_thread_svc_pollfd, __rpc_thread_svc_max_pollfd): Likewise.
743 * sunrpc/auth_none.c (authnone_private): Fix a typo.
745 2001-05-16 Martin Schwidefsky <schwidefsky@de.ibm.com>
747 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Fix stack allocation.
749 2001-05-16 Bruce Mitchener <bruce@cubik.org>
751 * manual/llio.texi: Many grammar and typo fixes to the section on AIO.
753 2001-05-15 Andreas Jaeger <aj@suse.de>
755 * sysdeps/ieee754/ldbl-128/s_expm1l.c: New file, contributed by
756 Stephen L Moshier <moshier@mediaone.net>.
758 * sysdeps/i386/fpu/libm-test-ulps: Adjust for change.
760 * math/libm-test.inc: Add comment with ToDo.
762 * sysdeps/i386/fpu/e_expl.c: Rewritten to C and using a more
763 accurate algorithm. Patch by Stephen L Moshier <moshier@mediaone.net>.
765 * sysdeps/i386/fpu/e_expl.S: Removed.
767 2001-05-14 Roland McGrath <roland@frob.com>
769 * csu/Makefile ($(objpfx)g$(start-installed-name)): Turn this into a
770 static pattern rule also that also covers
771 $(objpx)g$(static-start-installed-name).
772 [$(start-installed-name) != $(static-start-installed-name)]
773 (extra-objs, omit-deps, install-lib): Add
774 $(static-start-installed-name) and g$(static-start-installed-name).
775 * sysdeps/mach/hurd/i386/Makefile: Don't add crt0.o to those here;
776 just setting static-start-installed-name is now sufficient.
777 (extra-objs): Add static-start.o here.
778 (CFLAGS-initfini.s): Remove obsolete variable.
779 * sysdeps/mach/hurd/i386/Makeconfig: New file.
780 Define static-start-installed-name here.
782 * Makeconfig: Include existing $(full_config_sysdirs:=/Makeconfig).
783 * Make-dist (+sysdep-tsrcs): Look for Makeconfig files.
785 * Makerules ($(+sysdir_pfx)sysd-Makefile): Remove this target and
786 associated hair. Instead, just use $(wildcard ...) in the include.
788 * configure.in (critic_missing, aux_missing): Collect in these vars
789 the names of the missing programs, and include them in the error msgs.
790 * configure: Regenerated.
792 2001-05-14 Andreas Jaeger <aj@suse.de>
794 * sysdeps/i386/fpu/libm-test-ulps: Adjust for new tests.
796 * math/libm-test.inc (tanh_test): Add testcases for last tanh bug.
798 2001-05-14 Stephen L Moshier <moshier@mediaone.net>
800 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Fix sign test.
802 2001-05-11 Jakub Jelinek <jakub@redhat.com>
804 * posix/regex.c (re_match_2_internal): Swap mbs_offset and csize
805 as well if swapping strings.
806 Make sure stop is not past end of second string.
807 * posix/bug-regex4.c: New test.
808 * posix/Makefile (tests): Add bug-regex4.
810 2001-05-10 Andreas Jaeger <aj@suse.de>
812 * manual/install.texi (Linux): Clarify that Linux 2.2 is minimal
815 2001-05-12 Andreas Jaeger <aj@suse.de>
817 * sysdeps/ieee754/dbl-64/s_sin.c: Include "math_private.h" for
819 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
820 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
821 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
822 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
823 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
824 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
825 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
827 * math/math_private.h: Add prototypes for internal functions of
828 the IBM Accurate Mathematical Library.
830 * sysdeps/ieee754/dbl-64/s_atan.c: Include "math.h" for
832 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
834 * sysdeps/ieee754/dbl-64/e_asin.c: Include "math_private.h" for
836 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
837 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
838 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
839 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
840 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
841 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
842 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
843 * sysdeps/generic/e_rem_pio2l.c: Likewise.
844 (__ieee754_rem_pio2l): Fix prototype.
846 * math/math_private.h (__copysign): Add internal prototype.
848 2001-05-11 Andreas Jaeger <aj@suse.de>
850 * sysdeps/unix/sysv/linux/configure.in: Move binutils check to...
851 * sysdeps/unix/sysv/linux/mips/configure.in: ...here. New file.
853 2001-05-11 Andreas Jaeger <aj@suse.de>
855 * sysdeps/unix/sysv/linux/configure.in: Check binutils version on
858 * sysdeps/mips/rtld-ldscript.in: Removed unneeded binary output
859 format directive. Patch by Steven J. Hill <sjhill@cotw.com>.
861 2001-05-11 Roland McGrath <roland@frob.com>
863 * sysdeps/mach/hurd/Makefile ($(link-rpcuserlibs)): Don't use
864 $(build-module) here, since we don't need the full magilla.
865 Just use $(build-module-helper) and append our special options.
867 2001-05-09 Andreas Schwab <schwab@suse.de>
869 * sysdeps/unix/readdir.c: Make sure we don't modify errno when we
872 2001-05-07 H.J. Lu <hjl@gnu.org>
874 * elf/ldconfig.c (dir_entry): Add ino and dev.
875 (add_single_dir): Compare ino and dev to check if 2 directory
876 paths are the same or not. Free entry->path for duplicates.
877 (add_dir): Initialize ino and dev for entry.
878 (search_dir): Handle symlink to directory.
880 2001-05-07 Andreas Jaeger <aj@suse.de>
882 * sysdeps/i386/fpu/libm-test-ulps: Add ulps for new exp tests.
884 * math/libm-test.inc (exp_test): Add some more tests.
885 (pow_test): Run double only test also for long double.
887 * math/test-ldouble.c (TEST_LDOUBLE): Define.
888 * math/test-ildoubl.c (TEST_LDOUBLE): Likewise.
890 * sysdeps/generic/bits/confname.h: Remove extra comma at end of
894 * scripts/config.guess: Imported from gnu.org.
895 * scripts/config.sub: Likewise.
897 2001-05-05 Jakub Jelinek <jakub@redhat.com>
899 * include/features.h (__USE_EXTERN_INLINES): Don't define if
900 __NO_INLINE__ is defined.
901 * ctype/ctype.h (tolower, toupper): Change the guard condition to
902 __USE_EXTERN_INLINES check only.
903 * stdlib/stdlib.h (strtod, ...): Likewise.
904 * wcsmbs/wchar.h (mbrlen): Likewise.
905 * string/string.h: Only include bits/string.h and bits/string2.h
906 if __NO_INLINE__ is not defined.
908 2001-05-07 Andreas Jaeger <aj@suse.de>
910 * debug/Makefile ($(objpfx)xtrace): Substitute @SLIBDIR@ instead
913 2001-05-04 H.J. Lu <hjl@gnu.org>
915 * malloc/Makefile ($(objpfx)memusage): Substitute @SLIBDIR@
918 2001-05-06 Andreas Jaeger <aj@suse.de>
920 * sysdeps/i386/fpu/e_fmodl.c: New, rewrite of e_fmodl.S.
921 * sysdeps/i386/fpu/e_fmodl.S: Removed.
922 * sysdeps/i386/fpu/e_atan2l.c: New, rewrite of e_atan2l.S.
923 * sysdeps/i386/fpu/e_atan2l.S: Removed.
924 * sysdeps/i386/fpu/e_acosl.c: New, rewrite of e_acos.S.
925 * sysdeps/i386/fpu/s_atanl.c: New, rewrite of e_atanl.S.
926 * sysdeps/i386/fpu/e_sqrtl.c: New, rewrite of e_sqrt.S.
927 * sysdeps/i386/fpu/e_acosl.S: Removed.
928 * sysdeps/i386/fpu/s_atanl.S: Removed.
929 * sysdeps/i386/fpu/e_sqrtl.S: Removed.
931 2001-05-05 Mark Kettenis <kettenis@gnu.org>
933 * sysdeps/mach/hurd/bits/environments.h: Add comment from
934 sysdeps/generic/bits/environments.h. Define _POSIX_V6_* values.
936 2001-04-30 Jakub Jelinek <jakub@redhat.com>
938 * posix/confstr.c (confstr) [_CS_V6_WIDTH_RESTRICTED_ENVS]: Move so
939 that _CS_LFS_CFLAGS can fall through to the empty returned string
940 case. Add FALLTHROUGH comment.
942 2001-04-29 Ralf Baechle <ralf@gnu.org>
944 * sysdeps/unix/sysv/linux/mips/bits/sem.h: Make structure
945 definitions match the kernel definitions.
946 * sysdeps/unix/sysv/linux/mips/bits/ipc.h: Likewise.
947 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
949 2001-04-29 Ben Collins <bcollins@debian.org>
951 * sysdeps/sparc/sparc64/dl-machine.h: Fix multiline strings
953 * sysdeps/sparc/sparc64/soft-fp/qp_add.c: Likewise.
954 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
955 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
956 * sysdeps/sparc/sparc64/soft-fp/qp_div.c: Likewise.
957 * sysdeps/sparc/sparc64/soft-fp/qp_dtoq.c: Likewise.
958 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
959 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
960 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
961 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
962 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
963 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
964 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
965 * sysdeps/sparc/sparc64/soft-fp/qp_qtod.c: Likewise.
966 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
967 * sysdeps/sparc/sparc64/soft-fp/qp_qtos.c: Likewise.
968 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
969 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
970 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
971 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
972 * sysdeps/sparc/sparc64/soft-fp/qp_sqrt.c: Likewise.
973 * sysdeps/sparc/sparc64/soft-fp/qp_stoq.c: Likewise.
974 * sysdeps/sparc/sparc64/soft-fp/qp_sub.c: Likewise.
975 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
977 2001-04-29 Andreas Schwab <schwab@suse.de>
979 * sysdeps/unix/sysv/linux/kernel-features.h: Fix missing backslash
982 2001-04-29 Andreas Jaeger <aj@suse.de>
984 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
985 Define for Arm, PowerPC and SH if kernel is 2.4.4 or newer.
987 * sysdeps/unix/sysv/linux/bits/socket.h (PF_WANPIPE): New, from
989 (AF_WANPIPE): Likewise.
992 * sysdeps/unix/sysv/linux/alpha/bits/socket.h: Add same changes as
993 for Linux generic version.
994 * sysdeps/unix/sysv/linux/s390/s390-64/bits/socket.h: Likewise.
995 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
996 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
997 * sysdeps/unix/sysv/linux/ia64/bits/socket.h: Likewise.
999 * sysdeps/gnu/netinet/tcp.h (TCP_QUICKACK): New.
1001 2001-04-27 Ulrich Drepper <drepper@redhat.com>
1003 * nis/nss-nis.h: Correct test for invalid error number.
1004 * nis/nss-nisplus.h: Likewise.
1006 * nis/Makefile (libnss_compat-rountines): Add nss-nisplus.
1008 2001-04-26 Ulrich Drepper <drepper@redhat.com>
1010 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add getunwind.
1012 * string/strcoll.c: Fix two memory allocation problems.
1013 * string/Makefile (tests): Add bug-strcoll1.
1014 * string/bug-strcoll1.c: New file.
1016 * malloc/mcheck.c (mcheck): Call malloc once before setting the
1017 hooks to allow the internal check hooks to be set up if necessary.
1019 * nis/nss-nis.h: Move yperr2nss_tab definition into separate file
1020 and rename to __yperr2nss_tab. Change YPERR_COUNT into variable
1022 * nis/nss-nis.c: New file.
1023 * nis/nss-nisplus.h: Move niserr2nss_tab definition into separate file
1024 and rename to __niserr2nss_tab. Change NISERR_COUNT into variable
1026 * nis/nss-nisplus.c: New file.
1027 * nis/Makefile (libnss_compat-routines): Add nss-nis.
1028 (libnss_nis-routines): Likewise.
1029 (libnss_nisplus-routines): Add nss-nisplus.
1031 * nis/nss_nisplus/nisplus-alias.c: Remove unnecessary initializations.
1032 * nis/nss_nisplus/nisplus-ethers.c: Likewise.
1033 * nis/nss_nisplus/nisplus-grp.c: Likewise.
1034 * nis/nss_nisplus/nisplus-hosts.c: Likewise.
1035 * nis/nss_nisplus/nisplus-network.c: Likewise.
1036 * nis/nss_nisplus/nisplus-proto.c: Likewise.
1037 * nis/nss_nisplus/nisplus-pwd.c: Likewise.
1038 * nis/nss_nisplus/nisplus-rpc.c: Likewise.
1039 * nis/nss_nisplus/nisplus-service.c: Likewise.
1040 * nis/nss_nisplus/nisplus-spwd.c: Likewise.
1041 * nis/nss_nis/nis-alias.c: Likewise.
1042 * nis/nss_nis/nis-ethers.c: Likewise.
1043 * nis/nss_nis/nis-grp.c: Likewise.
1044 * nis/nss_nis/nis-network.c: Likewise.
1045 * nis/nss_nis/nis-proto.c: Likewise.
1046 * nis/nss_nis/nis-pwd.c: Likewise.
1047 * nis/nss_nis/nis-spwd.c: Likewise.
1048 * nis/nss_compat/compat-grp.c: Likewise.
1049 * nis/nss_compat/compat-initgroups.c: Likewise.
1050 * nis/nss_compat/compat-pwd.c: Likewise.
1051 * nis/nss_compat/compat-spwd.c: Likewise.
1053 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Some more
1054 optimizations. Patch by Jakub Jelinek <jakub@redhat.com>.
1056 2001-04-26 Andreas Jaeger <aj@suse.de>
1058 * po/zh_TW.po: Update.
1059 Patch by Tung-Han Hsieh <thhsieh@tlug.sinica.edu.tw>.
1061 2001-04-25 Ulrich Drepper <drepper@redhat.com>
1063 * malloc/malloc.c: Allow MALLOC_ALIGNMENT to be defined on the
1064 compiler command line.
1065 * sysdeps/hppa/Makefile: Add -DMALLOC_ALIGNMENT=16 to compiler
1066 command line for malloc.c.
1068 2001-04-25 Jakub Jelinek <jakub@redhat.com>
1070 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/time.h: Move to...
1071 * sysdeps/unix/sysv/linux/sparc/bits/time.h: ...here.
1072 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/bits/time.h: Remove.
1073 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/socket.h: Move to...
1074 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: ...here. Adjust
1075 struct msghdr for __WORDSIZE == 32.
1076 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/statvfs.h: Move to...
1077 * sysdeps/unix/sysv/linux/sparc/bits/statvfs.h: ...here. Adjust
1078 for __WORDSIZE == 32.
1079 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/siginfo.h: Remove.
1080 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/get_clockfreq.c: New
1082 * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S (__libc_siglongjmp):
1083 Rename from longjmp, make longjmp weak alias to it.
1085 2001-04-24 David S. Miller <davem@redhat.com>
1087 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: New file.
1089 2001-04-25 Matthew Wilcox <willy@ldl.fc.hp.com>
1091 * sysdeps/hppa/stackinfo.h: New file.
1092 * sysdeps/unix/sysv/linux/hppa/getdents64.c: New file.
1093 * sysdeps/unix/sysv/linux/hppa/mmap64.c: New file.
1094 * sysdeps/unix/sysv/linux/hppa/bits/resource.h: New file.
1095 * sysdeps/unix/sysv/linux/kernel-features.h: Add descriptions
1096 of PA kernel features.
1098 2001-04-25 Ulrich Drepper <drepper@redhat.com>
1100 * locale/programs/localedef.c (main): Always set a file name for
1102 * locale/programs/locfile.c (locfile_read): filename is allowed to
1105 2001-04-12 Paul Bame <paul_bame@hp.com>
1107 * sysdeps/hppa/fpu/fclrexcpt.c: Clear the exception flags, not the
1110 2001-04-24 Ulrich Drepper <drepper@redhat.com>
1112 * sysdeps/generic/bits/environments.h (_POSIX_V6_LPBIG_OFFBIG,
1113 _XBS5_LPBIG_OFFBIG): Define to -1.
1116 * sysdeps/generic/bits/confname.h: Add _CS_V6_WIDTH_RESTRICTED_ENVS.
1117 * posix/confstr.c: Handle _CS_V6_WIDTH_RESTRICTED_ENVS.
1118 * posix/getconf.c: Handle _POSIX_V6_WIDTH_RESTRICTED_ENVS.
1119 * posix/tst-getconf.sh: Add _POSIX_V6_WIDTH_RESTRICTED_ENVS.
1121 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9b/Implies: New file.
1122 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9b/bits/time.h: Removed.
1124 2001-03-21 Alan Modra <alan@one.net.au>
1126 * sysdeps/hppa/dl-machine.h (RTLD_START): Set up dp with DT_PLTGOT
1127 value from application so that constructors in non-PIC libs work.
1129 2000-12-13 Jes Sorensen <jes@linuxcare.com>
1131 * sysdeps/hppa/dl-machine.h (RTLD_START): _dl_init now returns a
1132 function pointer, hence load the jump address and gp from the
1133 function pointer before jumping.
1135 2001-04-24 Andreas Jaeger <aj@suse.de>
1137 * sysdeps/generic/send.c (__send): Return ssize_t.
1138 * sysdeps/mach/hurd/send.c (__send): Likewise.
1139 * sysdeps/mach/hurd/recv.c (recv): Likewise.
1140 * sysdeps/mach/hurd/sendto.c (sendto): Likewise.
1141 * sysdeps/generic/sendto.c (sendto): Likewise.
1142 * sysdeps/generic/recvmsg.c (recvmsg): Likewise.
1143 * sysdeps/mach/hurd/recvfrom.c (recvfrom): Likewise.
1144 * sysdeps/generic/recvfrom.c (recvfrom): Likewise.
1145 * sysdeps/generic/sendmsg.c (sendmsg): Likewise.
1147 * socket/sys/socket.h: send* and recv* return ssize_t.
1149 * include/sys/socket.h: send returns ssize_t.
1151 * sysdeps/i386/fpu_control.h: Fix comments.
1153 2001-04-24 Ulrich Drepper <drepper@redhat.com>
1155 * sysdeps/ia64/Dist: Add hp-timing.c.
1156 * sysdeps/unix/sysv/linux/sparc/sparc64/Dist: Add ucontext_i.h.
1157 * posix/Makefile (distribute): Add tst-getconf.sh.
1158 * po/Makefile (distribute): Add $(BROKEN_LINGUAS:=.po).
1160 2001-04-23 Ulrich Drepper <drepper@redhat.com>
1162 * sysdeps/ia64/Makefile [subdir=csu] (sysdep_routines): Add hp-timing.
1163 * sysdeps/ia64/Versions: Add _dl_cpuclock_offset for ld in 2.2.3.
1164 * sysdeps/ia64/hp-timing.c: New file.
1165 * sysdeps/ia64/hp-timing.h: New file.
1166 * sysdeps/unix/sysv/linux/ia64/bits/time.h: Add definitions for
1167 CLOCK_PROCESS_CPUTIME_ID and CLOCK_THREAD_CPUTIME_ID.
1169 * sysdeps/generic/clock_getcpuclockid.c: Make function generic, test
1170 using #ifdef whether the clock is available.
1171 * sysdeps/unix/i386/clock_getcpuclockid.c: Not needed anymore.
1173 * sysdeps/generic/dl-sysdep.c: Initialize _dl_cpuclock_offset to move
1174 it into data section.
1176 * sysdeps/unix/i386/i586/clock_getres.c: Removed.
1177 * sysdeps/unix/i386/i586/clock_gettime.c: Removed.
1178 * sysdeps/unix/i386/i586/clock_nanosleep.c: Removed.
1179 * sysdeps/unix/i386/i586/clock_settime.c: Removed.
1180 * sysdeps/unix/i386/i586/cpuclock-init.h: Removed.
1181 * sysdeps/generic/cpuclock-init.h: Removed.
1182 * sysdeps/unix/i386/i686/Implies: Removed.
1183 * sysdeps/unix/i386/i686/tempname.c: Removed.
1184 * sysdeps/i386/i686/Versions: New file.
1185 * sysdeps/unix/i386/i586/Versions: Removed.
1187 * sysdeps/posix/clock_getres.c: If HP_TIMING_AVAIL is nonzero handle
1188 CLOCK_PROCESS_CPUTIME_ID and CLOCK_THREAD_CPUTIME_ID.
1189 * sysdeps/unix/clock_gettime.c: Likewise.
1190 * sysdeps/unix/clock_nanosleep.c: Likewise.
1191 * sysdeps/unix/clock_settime.c: Likewise.
1192 * sysdeps/posix/tempname.c: Is HP_TIMING_AVAIL is nonzero define
1193 RANDOM_BITS use CPU clock.
1195 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/bits/time.h: New file.
1196 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9b/bits/time.h: New file.
1197 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/time.h: New file.
1198 * sysdeps/sparc/Versions: New file.
1200 * elf/dl-support.c: Don't use cpuclock-init.h definitions, use
1201 hp-timing.h definitions.
1202 * sysdeps/generic/dl-sysdep.c: Likewise.
1204 * include/libc-internal.h: Include hp-timing.h. Use hp_timing_t in
1205 __get_clockfreq prototype.
1207 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
1208 Use hp_timing_t type.
1209 * sysdeps/generic/get_clockfreq.c (__get_clockfreq): Likewise.
1211 * sysdeps/unix/sysv/linux/ia64/get_clockfreq.c: New file.
1213 * sysdeps/posix/pathconf.c (__pathconf): For _PC_ASYNC_IO test
1214 whether named file is a regular file or a block device.
1215 * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
1217 2001-04-23 Andreas Jaeger <aj@suse.de>
1219 * nscd/nscd.h: Add noreturn attribute for start_threads.
1221 2001-04-22 Ulrich Drepper <drepper@redhat.com>
1223 * posix/getconf.c: Fix names of XBS5 LFS test variables.
1224 Add missing configuration variables from XPG6.
1225 * posix/tst-getconf.c: New file.
1226 * posix/Makefile (generated): Add tst-getconf.out.
1227 (tests): Add ($objpfx)tst-getconf.out.
1228 Add rule to run tst-getconf.sh.
1229 * sysdeps/generic/bits/confname.h: Add missing _PC_ and _SC_ values
1231 * sysdeps/posix/fpathconf.c: Add handling of _PC_ALLOC_SIZE_MIN and
1233 * sysdeps/posix/pathconf.c: Likewise.
1234 * sysdeps/posix/sysconf.c: Correct spelling of _SC_MULTI_PROCESS
1235 and _SC_SYMLOOP_MAX.
1237 2001-04-22 Philip Blundell <philb@gnu.org>
1239 * sysdeps/arm/fpu/feenablxcpt.c: New file.
1240 * sysdeps/arm/fpu/fedisablxcpt.c: New file.
1241 * sysdeps/arm/fpu/fegetexcpt.c: New file.
1243 2001-04-22 Philip Blundell <philb@gnu.org>
1245 * sysdeps/unix/sysv/linux/arm/sys/user.h (struct user_fpregs):
1246 Renamed from struct user_fp.
1247 (struct user_regs): New.
1248 (struct user): Use struct user_regs rather than struct pt_regs to
1249 avoid dependency on asm/ptrace.h. Use struct user_fpregs in place
1250 of struct user_fp and struct user_fp_struct.
1251 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Include sys/procfs.h
1254 2001-04-22 Philip Blundell <philb@gnu.org>
1256 * sysdeps/unix/sysv/linux/arm/sys/elf.h: Move contents to
1257 sys/procfs.h, and tell the user to include that file instead.
1258 * sysdeps/unix/sysv/linux/arm/sys/procfs.h: Remove old cruft
1259 surrounded with #if 0.
1260 (elf_greg_t, ELF_NGREG, elf_gregset_t, elf_fpregset_t): Moved here
1262 (prgregset_t, prfpregset_t): Define in terms of elf_gregset_t and
1263 elf_fpregset_t respectively.
1265 2001-04-22 Philip Blundell <philb@gnu.org>
1267 * sysdeps/unix/sysv/linux/arm/register-dump.h: Also print the
1268 address that faulted.
1270 2001-04-21 Ulrich Drepper <drepper@redhat.com>
1272 * sysdeps/generic/bits/confname.h: Add _SC_V6_* and _CS_POSIX_V6_*
1274 * sysdeps/generic/bits/environments.h: Define _POSIX_V6_* values.
1275 * posix/confstr.c: Handle _CS_POSIX_V6_* values.
1276 * posix/getconf.c: Handle _CS_POSIX_V6_* and _SC_V6_* values.
1277 * sysdeps/posix/sysconf.c: Handle _SC_V6_* values.
1279 * sysdeps/powerpc/fpu/libm-test-ulps: Add deltas for atan2f.
1280 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
1281 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
1282 * sysdeps/mips/fpu/libm-test-ulps: Likewise.
1284 2001-04-21 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
1286 * sysdeps/unix/sysv/linux/powerpc/mmap64.c: Correct check for invalid
1289 2001-04-21 Ulrich Drepper <drepper@redhat.com>
1291 * posix/getopt.h: Treat __cplusplus like __STDC__.
1293 2001-04-20 John S. Marvin <jsm@fc.hp.com>
1295 * sysdeps/unix/sysv/linux/hppa/clone.S: Fix clone system call
1298 2001-04-20 Richard Hirst <rhirst@linuxcare.com>
1300 * elf/elf.h: Corrected R_PARISC_DIR14R (should be 6, not 5),
1301 and added R_PARISC_DPREL21L and R_PARISC_DPREL14R for modutils.
1303 * sysdeps/unix/sysv/linux/hppa/syscalls.list: Removed ptrace
1304 entry so the ptrace.c wrapper is used.
1306 2001-04-20 Alan Modra <amodra@one.net.au>
1308 * sysdeps/hppa/dl-lookupcfg.h (_dl_function_address): Prototype.
1309 (DL_FUNCTION_ADDRESS): Define.
1310 (DL_DT_INIT_ADDRESS): Define.
1311 (DL_DT_FINI_ADDRESS): Define.
1312 * sysdeps/hppa/Versions: Add _dl_function_address.
1313 * sysdeps/hppa/dl-machine.h (ELF_MACHINE_START_ADDRESS): Define.
1314 * sysdeps/hppa/dl-symaddr.c (_dl_start_address): Rename to
1315 _dl_function_address.
1317 2001-04-21 Andreas Jaeger <aj@suse.de>
1319 * rt/aio_misc.c (handle_fildes_io): Add noreturn attribute.
1320 * resolv/gai_misc.c (handle_requests): Likewise.
1321 * malloc/obstack.c (print_and_abort): Likewise.
1322 * malloc/mcheck.c (mabort): Likewise.
1324 * sysdeps/unix/i386/i586/clock_settime.c: Include
1325 "libc-internal.h" for __get_clockfreq declaration.
1327 2001-04-21 Ulrich Drepper <drepper@redhat.com>
1329 * elf/dl-support.c: Include cpuclock-init.h. Use CPUCLOCK_VARDEF and
1330 CPUCLOCK_INIT if defined.
1331 * sysdeps/generic/dl-sysdep.c: Likewise.
1332 * sysdeps/generic/cpuclock-init.h: New file.
1333 * sysdeps/unix/i386/i586/cpuclock-init.h: New file.
1334 * sysdeps/unix/i386/i586/Versions: New file.
1335 * sysdeps/unix/i386/i586/clock_settime.c: New file.
1336 * sysdeps/unix/i386/i586/clock_gettime.c: Handle thread CPU clock
1337 separately by calling __pthread_clock_gettime if this function is
1338 available. Subtract offset from tsc value before computing time value.
1340 2001-04-20 Ulrich Drepper <drepper@redhat.com>
1342 * iconv/iconv_prog.c (print_known_names): If printing goes not to
1343 a tty print in a more machine-friendly way.
1345 * sysdeps/ieee754/ldbl-128/e_asinl.c: New file.
1346 Contributed by Stephen L Moshier <moshier@mediaone.net>.
1348 2001-04-20 Andreas Jaeger <aj@suse.de>
1350 * intl/Makefile (tests): Reorder conditions, tst-gettext needs msgfmt.
1352 2001-04-20 Andreas Schwab <schwab@suse.de>
1354 * sysdeps/m68k/fpu/libm-test-ulps: Update.
1356 2001-04-19 Alan Modra <amodra@one.net.au>
1358 * Makerules (libc_pic.os): Add $(LDFLAGS-c_pic.os).
1359 * sysdeps/hppa/Makefile (LDFLAGS-c_pic.os): Define.
1360 (CFLAGS-.os): Remove.
1362 * sysdeps/unix/sysv/linux/hppa/sysdep.h (CALL_MCOUNT): Update comment.
1364 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (NGREG, NFPREG,
1365 gregset): Correct for new kernel definitions.
1367 2001-04-19 Alan Modra <alan@linuxcare.com.au>
1369 * sysdeps/hppa/elf/initfini.c: Change dlt reg save to r3 and
1370 generate unwind info by hand.
1372 2001-04-19 Ulrich Drepper <drepper@redhat.com>
1374 * sysdeps/unix/sysv/linux/powerpc/mmap64.c (__mmap64): Optimize a bit.
1376 * configure.in: Correct regular expression for msgfmt.
1377 Patch by Bruno Haible <haible@ilog.fr>.
1379 2001-04-19 Andreas Jaeger <aj@suse.de>
1381 * po/el.po: Add comment explaining what's broken.
1383 * po/Makefile (BROKEN_LINGUAS): New.
1384 (ALL_LINGUAS): Don't add broken languages.
1386 2001-04-19 Roland McGrath <roland@frob.com>
1388 * sysdeps/mach/hurd/mlock.c: New file.
1389 * sysdeps/mach/hurd/munlock.c: New file.
1390 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_MEMLOCK_RANGE): Define it.
1392 * misc/Makefile (routines): Add mlock munlock mlockall munlockall.
1393 * sysdeps/generic/mlock.c: New file.
1394 * sysdeps/generic/munlock.c: New file.
1395 * sysdeps/generic/mlockall.c: New file.
1396 * sysdeps/generic/munlockall.c: New file.
1397 * sysdeps/generic/bits/mman.h (MCL_CURRENT, MCL_FUTURE): New macros.
1398 * sysdeps/unix/sysv/linux/syscalls.list (mlock, munlock,
1399 mlockall, munlockall): Change caller field to - from EXTRA.
1400 Don't use __ names; not used (and not declared in include/sys/mman.h).
1402 * hurd/privports.c (__get_privileged_ports): Renamed with __.
1403 Use __ names for calls we make.
1404 (get_privileged_ports): Add alias.
1405 * hurd/hurd.h: Declare it with the __ name.
1406 * sysdeps/mach/hurd/reboot.c (reboot): Use __get_privileged_ports.
1407 * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
1408 * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
1410 * hurd/hurdsig.c (write_corefile): Check RLIMIT_CORE limit and do
1411 nothing if it's zero.
1413 2001-04-19 Matthew Wilcox <willy@ldl.fc.hp.com>
1415 * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL):
1416 Change to return a signed result for compatibility with other
1417 architectures, and correctness.
1419 2001-04-19 Ulrich Drepper <drepper@redhat.com>
1421 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_32BITUIDS):
1422 HPPA always had them. Patch by Matthew Wilcox <matthew@wil.cx>.
1424 2001-04-19 Andreas Jaeger <aj@suse.de>
1426 * configure.in: Require gettext 0.10.36 or newer.
1428 * manual/install.texi (Tools for Compilation): Mention gettext 0.10.36.
1430 * po/zh_TW.po: Remove extraneous backslashes.
1432 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Remove unused
1435 2001-04-18 Jakub Jelinek <jakub@redhat.com>
1437 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Update.
1438 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c: New file.
1439 * sysdeps/unix/sysv/linux/sparc/sparc64/swapcontext.c: New file.
1440 * sysdeps/unix/sysv/linux/sparc/sparc64/setcontext.S (__setcontext):
1441 Copy first word of uc_sigmask into __uc_sigmask.
1442 * sysdeps/unix/sysv/linux/sparc/sparc64/getcontext.S (__getcontext):
1443 Save uc_link around trap. Copy __uc_sigmask into first word of
1444 uc_sigmask, clear the rest. Make sure setcontext to the created
1445 context doesn't do this though.
1446 * sysdeps/unix/sysv/linux/sparc/sparc64/ucontext_i.h: New file.
1447 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (ucontext_t): Add
1448 uc_stack and uc_sigmask, rename old uc_sigmask to __uc_sigmask in the
1449 64bit version, make uc_sigmask __sigset_t in the 32bit version.
1451 2001-04-19 Andreas Jaeger <aj@suse.de>
1453 * sysdeps/unix/sysv/linux/hppa/umount.c: Fix typos in last patch.
1455 * rt/Makefile (otherlibs): Added for static NSS.
1457 * glibcbug.in (BUGGLIBC): Send to new alias.
1459 2001-04-02 Andreas Schwab <schwab@suse.de>
1461 * Makerules (build-module): Make sure exit codes get checked
1462 properly and remove unnecessary slashes.
1464 2001-04-17 Ulrich Drepper <drepper@redhat.com>
1466 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
1467 Handle kernels which report only three digits after the decimal point.
1468 Reported by Van Okamura <van.okamura@oracle.com>.
1470 * sysdeps/alpha/fpu/libm-test-ulps: Adjust error values for atan2f.
1472 2001-04-17 David S. Miller <davem@redhat.com>
1474 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Update for new atan2 tests.
1475 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
1477 2001-04-17 Jakub Jelinek <jakub@redhat.com>
1479 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Make sure
1480 desired exceptions are raised for exceptional values.
1481 * math/libm-test.inc (acosh_test, atan_test, atan2_test, cacos_test,
1482 cacosh_test, casin_test, casinh_test, catan_test, catanh_test,
1483 clog_test, log_test, log1p_test, tan_test): Increase precision of
1484 expected values to satisfy ldbl-128.
1485 * sysdeps/alpha/fpu/libm-test-ulps: Adjust accordingly.
1486 * sysdeps/arm/libm-test-ulps: Likewise.
1487 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
1488 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
1489 * sysdeps/m68k/fpu/libm-test-ulps: Likewise.
1490 * sysdeps/mips/fpu/libm-test-ulps: Likewise.
1491 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
1492 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
1493 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
1494 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
1495 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
1497 2001-04-17 Andreas Jaeger <aj@suse.de>
1499 * configure.in: Move test for critical programs up.
1501 2001-04-16 Stephen L Moshier <moshier@mediaone.net>
1503 * sysdeps/ieee754/flt-32/e_asinf.c (pio2_hi, pio2_lo, pio4_hi):
1504 Correct the values. (pSx, qSx): Replace by shorter approximation.
1505 Use f suffix on float constants.
1507 2001-04-16 Ulrich Drepper <drepper@redhat.com>
1509 * sysdeps/ieee754/ldbl-128/k_tanl.c: New file.
1510 Contributed by Stephen L Moshier <moshier@mediaone.net>.
1512 * string/string.h: Replace const in attribute list with __const__.
1514 2001-04-16 Roland McGrath <roland@frob.com>
1516 * grp/initgroups.c (initgroups) [NGROUPS_MAX != 0]: Always use sysconf
1517 instead of the constant NGROUPS_MAX. That way, the limit can be
1518 raised in the kernel configuration without having to recompile libc.
1520 * sysdeps/posix/euidaccess.c: Don't #include <limits.h> or try to
1521 define NGROUPS_MAX; we don't use it here.
1523 2001-04-16 Andreas Jaeger <aj@suse.de>
1525 * math/libm-test.inc (atan2_test): Add more testcases.
1527 * iconv/gconv_db.c: Include gconv_charset.h for
1528 __gconv_lookup_alias prototype.
1530 2001-04-13 Ulrich Drepper <drepper@redhat.com>
1532 * sysdeps/ieee754/ldbl-128/s_atanl.c: New file.
1533 Contributed by Stephen L Moshier <moshier@mediaone.net>.
1535 2001-04-13 Jes Sorensen <jes@linuxcare.com>
1537 * intl/tst-codeset.c: Include string.h to get prototype for strcmp().
1539 2001-04-13 Jes Sorensen <jes@linuxcare.com>
1541 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Add __pad0 to
1542 explicitly pad struct siginfo instead of relying on compiler padding.
1544 2001-04-12 Ulrich Drepper <drepper@redhat.com>
1546 * sysdeps/ia64/Dist: Add elf/entry.h.
1548 * iconvdata/Makefile (distribute): Add TESTS2.
1550 2001-04-13 Jakub Jelinek <jakub@redhat.com>
1552 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_load_address):
1553 Calculate load address differently.
1555 2001-04-12 Bruno Haible <haible@clisp.cons.org>
1557 * iconvdata/TESTS2: New file.
1558 * iconvdata/run-iconv-test.sh: Also run tests from TESTS2.
1559 * iconvdata/testdata/alfabeta..UTF-8: New file.
1560 * iconvdata/testdata/alfabeta..UTF-16.BE: New file.
1561 * iconvdata/testdata/alfabeta..UTF-16.LE: New file.
1562 * iconvdata/testdata/alfabeta..UTF-32.BE: New file.
1563 * iconvdata/testdata/alfabeta..UTF-32.LE: New file.
1565 2001-04-11 Bruno Haible <haible@clisp.cons.org>
1567 * iconvdata/utf-32.c: New file.
1568 * iconvdata/gconv-modules: Add entries for UTF-32, UTF-32LE, UTF-32BE.
1569 * iconvdata/Makefile (modules): Add UTF-32.
1570 (distribute): Add utf-32.c.
1572 2001-04-11 Bruno Haible <haible@clisp.cons.org>
1574 * iconvdata/utf-16.c (PREPARE_LOOP): Initialize 'swap' after possibly
1575 changing it in the state. After incrementing 'inptr', store it back.
1576 * iconvdata/unicode.c (PREPARE_LOOP): After incrementing 'inptr',
1579 2001-04-11 Bruno Haible <haible@clisp.cons.org>
1581 * iconvdata/utf-16.c (gconv_init): Use MAX_NEEDED_FROM, not
1584 2001-04-11 David Mosberger <davidm@hpl.hp.com>
1586 * sysdeps/ia64/htonl.S: Drop superfluous "alloc".
1587 * sysdeps/ia64/htons.S: Likewise.
1589 * sysdeps/ia64/memset.S: Add unwind directives.
1590 * sysdeps/ia64/strncpy.S: Likewise.
1591 * sysdeps/ia64/strcat.S: Likewise.
1593 * sysdeps/ia64/memccpy.S: Add unwind directives. Drop superfluous
1595 * sysdeps/ia64/strchr.S: Likewise.
1596 * sysdeps/ia64/memmove.S: Likewise.
1597 * sysdeps/ia64/memcpy.S: Likewise.
1598 * sysdeps/ia64/memcmp.S: Likewise.
1599 * sysdeps/ia64/memchr.S: Likewise.
1600 * sysdeps/ia64/strcmp.S: Likewise.
1601 * sysdeps/ia64/strlen.S: Likewise.
1602 * sysdeps/ia64/strcpy.S: Likewise.
1603 * sysdeps/ia64/strncmp.S: Likewise.
1605 2001-04-11 Jakub Jelinek <jakub@redhat.com>
1607 * wcsmbs/wchar.h (fgetwc, getwc, getwchar, fputwc, putwc, putwchar,
1608 fgetws, fputws, ungetwc, getwc_unlocked, getwchar_unlocked,
1609 fgetwc_unlocked, fputwc_unlocked, putwc_unlocked, putwchar_unlocked,
1610 fgetws_unlocked, fputws_unlocked, wcsftime): Add __THROW.
1612 2001-04-11 Andreas Jaeger <aj@suse.de>
1614 * sysdeps/mips/elf/start.S [__ASSEMBLY__]: Define it.
1616 2001-04-11 Andreas Schwab <schwab@suse.de>
1618 * sysdeps/m68k/fpu/libm-test-ulps: Adjusted.
1620 2001-04-11 Ulrich Drepper <drepper@redhat.com>
1622 * sysdeps/arm/stackinfo.h: New file.
1624 2001-04-08 Thorsten Kukuk <kukuk@suse.de>
1626 * sunrpc/rpc_main.c: If we compile RPC thread safe, allow
1627 rpcgen to generate thread safe code.
1629 2001-04-10 Andreas Jaeger <aj@suse.de>
1631 * math/test-fenv.c (initial_tests): Protect FE_TONEAREST declaration.
1633 2001-04-10 Ulrich Drepper <drepper@redhat.com>
1635 * elf/dl-minimal.c (__assert_fail): Change error string. It's
1636 most of the time no bug in ld.so.
1637 (__assert_perror_fail): Likewise.
1639 2001-04-11 Hans-Peter Nilsson <hp@axis.com>
1641 * sysdeps/generic/bits/fenv.h (fexcept_t): Change default type
1642 from struct to unsigned int.
1644 2001-04-10 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
1646 * elf/elf.h (AT_DCACHEBSIZE, AT_ICACHEBSIZE, AT_UCACHEBSIZE,
1647 AT_IGNOREPPC): New defines.
1648 * sysdeps/generic/dl-sysdep.c (_dl_show_auxv): Print them.
1649 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_STD_AUXV):
1650 Define for newer powerpc kernels.
1651 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Use the standard
1652 DL_FIND_ARG_COMPONENTS if __ASSUME_STD_AUXV is defined.
1654 2000-4-10 kaz Kojima <kkojima@rr.iij4u.or.jp>
1656 * sysdeps/sh/stackinfo.h: New file.
1658 2001-04-10 Ulrich Drepper <drepper@redhat.com>
1660 * locale/tst-C-locale.c (run_test): Add tests for locale objects.
1661 * locale/newlocale.c (__newlocale): Correct setting __ctype_b,
1662 __ctype_tolower, and __ctype_toupper elements.
1664 * ctype/ctype_l.c: Fix definitions of __tolower_l and __toupper_l.
1665 Reported by Konstantin Osipov <rabid@spylog.ru>.
1667 * sysdeps/i386/fpu/libm-test-ulps: Add deltas for tgamma to help
1670 2001-04-10 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
1672 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: New file.
1673 * sysdeps/unix/sysv/linux/powerpc/Dist: Add sys/ptrace.h.
1674 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Delete wrong stuff.
1675 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Correct typedefs.
1677 2001-04-10 Ulrich Drepper <drepper@redhat.com>
1679 * elf/dl-deps.c (_dl_map_object_deps): Provide complete error
1680 message. Based on a patch by HJ Lu.
1682 2001-04-10 Andreas Schwab <schwab@suse.de>
1684 * math/libm-test.inc (csinh_test): Don't require the invalid
1685 exception for csinh (x + iNaN), but make it optional.
1687 2001-04-09 David Mosberger <davidm@hpl.hp.com>
1689 * sysdeps/ia64/elf/start.S (_start): Add unwind directives.
1691 * sysdeps/generic/entry.h [!__ASSEMBLY__]: Declare _start.
1692 * sysdeps/ia64/elf/entry.h: New file.
1693 * sysdeps/unix/sysv/linux/mips/entry.h [!__ASSEMBLY__]: Declare
1695 * elf/rtld.c: Don't declare ENTRY_POINT. Use ENTRY_POINT instead
1697 * sysdeps/generic/dl-sysdep.c: Likewise.
1698 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
1699 * sysdeps/ia64/elf/start.S: Save base address of register backing
1700 store in __libc_ia64_register_backing_store_base.
1702 2001-04-10 Martin Schwidefsky <schwidefsky@de.ibm.com>
1704 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Fix return
1705 value of getcontext.
1706 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
1707 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Fix return
1708 value of setcontext.
1709 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
1710 * sysdeps/unix/sysv/linux/s390/swapcontext.c: Skip setcontext
1711 call by changing the saved context.
1713 2001-04-10 Ulrich Drepper <drepper@redhat.com>
1715 * sysdeps/alpha/stackinfo.h: New file.
1716 * sysdeps/ia64/stackinfo.h: New file.
1718 2001-04-10 Andreas Schwab <schwab@suse.de>
1720 * sysdeps/m68k/fpu/e_pow.c: Correct handling of some exceptional
1722 * sysdeps/m68k/fpu/e_scalb.c: Likewise.
1724 2001-04-09 Ulrich Drepper <drepper@redhat.com>
1726 * sysdeps/sparc/sparc32/sparcv9/Dist: Add hp-timing.c.
1727 * sysdeps/sparc/sparc64/Dist: Add hp-timing.c.
1729 * libio/Makefile (distribute): Add fd_to_filename.h.
1731 2001-04-05 David S. Miller <davem@redhat.com>
1733 Add hp-timing support for sparcv9/sparc64 targets.
1734 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: New file
1735 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: New file
1736 * sysdeps/sparc/sparc64/hp-timing.c: New file
1737 * sysdeps/sparc/sparc64/hp-timing.h: New file
1738 * sysdeps/sparc/sparc32/sparcv9/Makefile: Build hp-timing.
1739 * sysdeps/sparc/sparc64/Makefile: Likewise.
1741 2001-04-09 Jakub Jelinek <jakub@redhat.com>
1743 * sysdeps/generic/fd_to_filename.h: New file.
1744 * sysdeps/unix/sysv/linux/fd_to_filename.h: New file.
1745 * libio/freopen.c (freopen): If FILENAME is NULL, try to get
1746 filename from the open file descriptor.
1747 * libio/freopen64.c (freopen64): Likewise.
1749 2001-04-09 Bruno Haible <haible@clisp.cons.org>
1751 * misc/error.c (error): fflush stdout also if
1752 error_print_progname != NULL.
1753 (error_at_line): Likewise.
1755 2001-04-07 Bruno Haible <haible@clisp.cons.org>
1757 * intl/gettextP.h (struct loaded_domain): Add codeset_cntr field.
1758 (struct binding): Add codeset_cntr field.
1759 (_nl_load_domain): Add domainbinding argument.
1760 (_nl_init_domain_conv, _nl_free_domain_conv): New declarations.
1761 (_nl_find_msg): New declaration, moved here from loadinfo.h.
1762 * intl/loadinfo.h (struct loaded_l10nfile): Remove domainbinding field.
1763 (_nl_make_l10nflist): Remove domainbinding argument.
1764 (_nl_find_msg): Move declaration to gettextP.h.
1765 * intl/bindtextdom.c (set_binding_values): Initialize ->codeset_cntr
1766 to 0. Increment it when ->codeset is changed.
1767 * intl/dcigettext.c (DCIGETTEXT): Pass binding to _nl_find_msg.
1768 (_nl_find_msg): Add domainbinding argument. Reinitialize the converter
1769 if domainbinding->codeset_cntr has been incremented.
1770 * intl/finddomain.c (_nl_find_domain): Don't pass domainbinding to
1771 _nl_make_l10nflist(). Pass it to _nl_load_domain() instead.
1772 * intl/l10nflist.c (_nl_make_l10nflist): Remove domainbinding argument.
1773 * intl/loadmsgcat.c (_nl_init_domain_conv): New function, extracted
1774 from _nl_load_domain. Append //TRANSLIT also when using libiconv.
1775 (_nl_free_domain_conv): New function, extracted from _nl_unload_domain.
1776 (_nl_load_domain): Add domainbinding argument. Call
1777 _nl_init_domain_conv.
1778 (_nl_unload_domain): Call _nl_free_domain_conv.
1779 * intl/Makefile (distribute): Add tst-codeset.sh, tstcodeset.po.
1780 (test-srcs): Add tst-codeset.
1781 (tests): Depend on tst-codeset.out.
1782 (tst-codeset.out): New rule.
1783 (CFLAGS-tst-codeset.c): New variable.
1784 * intl/tst-codeset.sh: New file.
1785 * intl/tstcodeset.po: New file.
1786 * intl/tst-codeset.c: New file.
1787 * locale/findlocale.c (_nl_find_locale): Update _nl_make_l10nflist
1790 2001-04-07 Roland McGrath <roland@frob.com>
1792 * mach/msgserver.c (__mach_msg_server_timeout): Add an assert.
1794 2001-03-31 Roland McGrath <roland@frob.com>
1796 * sysdeps/mach/hurd/fork.c: Skip NEWPROC just like NEWTASK when
1797 copying send rights into child. When we hit our name for our proc
1798 port, just copy NEWPROC directly instead of repeating proc_task2proc
1799 to install the child's port.
1801 2001-04-08 Roland McGrath <roland@frob.com>
1803 * Makeconfig ($(common-objpfx)soversions.i): Grok entries with DEFAULT
1804 in second column, to provide default values for third column.
1805 * shlib-versions: Add comments about using DEFAULT in second column.
1806 (s390x-.*-linux.*): Replace individual entries with a DEFAULT entry.
1807 (cris-.*-linux.*): Likewise.
1809 2001-04-09 Ulrich Drepper <drepper@redhat.com>
1811 * Makefile (distribute): Add scripts/documented.sh.
1812 * scripts/documented.sh: New file.
1814 2001-04-08 Hans-Peter Nilsson <hp@axis.com>
1816 * sysdeps/unix/sysv/linux/cris/Dist: New file.
1817 * sysdeps/unix/sysv/linux/cris/Makefile: New file.
1818 * sysdeps/unix/sysv/linux/cris/_G_config.h: New file.
1819 * sysdeps/unix/sysv/linux/cris/bits/fcntl.h: New file.
1820 * sysdeps/unix/sysv/linux/cris/bits/mman.h: New file.
1821 * sysdeps/unix/sysv/linux/cris/bits/resource.h: New file.
1822 * sysdeps/unix/sysv/linux/cris/brk.c: New file.
1823 * sysdeps/unix/sysv/linux/cris/chown.c: New file.
1824 * sysdeps/unix/sysv/linux/cris/clone.S: New file.
1825 * sysdeps/unix/sysv/linux/cris/fchown.c: New file.
1826 * sysdeps/unix/sysv/linux/cris/fcntl.c: New file.
1827 * sysdeps/unix/sysv/linux/cris/fxstat.c: New file.
1828 * sysdeps/unix/sysv/linux/cris/getegid.c: New file.
1829 * sysdeps/unix/sysv/linux/cris/geteuid.c: New file.
1830 * sysdeps/unix/sysv/linux/cris/getgid.c: New file.
1831 * sysdeps/unix/sysv/linux/cris/getgroups.c: New file.
1832 * sysdeps/unix/sysv/linux/cris/getresgid.c: New file.
1833 * sysdeps/unix/sysv/linux/cris/getresuid.c: New file.
1834 * sysdeps/unix/sysv/linux/cris/getrlimit.c: New file.
1835 * sysdeps/unix/sysv/linux/cris/getrlimit64.c: New file.
1836 * sysdeps/unix/sysv/linux/cris/getuid.c: New file.
1837 * sysdeps/unix/sysv/linux/cris/lchown.c: New file.
1838 * sysdeps/unix/sysv/linux/cris/lockf64.c: New file.
1839 * sysdeps/unix/sysv/linux/cris/lxstat.c: New file.
1840 * sysdeps/unix/sysv/linux/cris/mmap.S: New file.
1841 * sysdeps/unix/sysv/linux/cris/mmap64.S: New file.
1842 * sysdeps/unix/sysv/linux/cris/msgctl.c: New file.
1843 * sysdeps/unix/sysv/linux/cris/profil-counter.h: New file.
1844 * sysdeps/unix/sysv/linux/cris/register-dump.h: New file.
1845 * sysdeps/unix/sysv/linux/cris/semctl.c: New file.
1846 * sysdeps/unix/sysv/linux/cris/setegid.c: New file.
1847 * sysdeps/unix/sysv/linux/cris/seteuid.c: New file.
1848 * sysdeps/unix/sysv/linux/cris/setfsgid.c: New file.
1849 * sysdeps/unix/sysv/linux/cris/setfsuid.c: New file.
1850 * sysdeps/unix/sysv/linux/cris/setgid.c: New file.
1851 * sysdeps/unix/sysv/linux/cris/setgroups.c: New file.
1852 * sysdeps/unix/sysv/linux/cris/setregid.c: New file.
1853 * sysdeps/unix/sysv/linux/cris/setresgid.c: New file.
1854 * sysdeps/unix/sysv/linux/cris/setresuid.c: New file.
1855 * sysdeps/unix/sysv/linux/cris/setreuid.c: New file.
1856 * sysdeps/unix/sysv/linux/cris/setrlimit.c: New file.
1857 * sysdeps/unix/sysv/linux/cris/setuid.c: New file.
1858 * sysdeps/unix/sysv/linux/cris/shmctl.c: New file.
1859 * sysdeps/unix/sysv/linux/cris/socket.S: New file.
1860 * sysdeps/unix/sysv/linux/cris/sys/ucontext.h: New file.
1861 * sysdeps/unix/sysv/linux/cris/syscall.S: New file.
1862 * sysdeps/unix/sysv/linux/cris/sysdep.S: New file.
1863 * sysdeps/unix/sysv/linux/cris/sysdep.h: New file.
1864 * sysdeps/unix/sysv/linux/cris/vfork.S: New file.
1865 * sysdeps/unix/sysv/linux/cris/xstat.c: New file.
1867 2001-04-08 Hans-Peter Nilsson <hp@axis.com>
1869 * sysdeps/cris/Dist: New file.
1870 * sysdeps/cris/Implies: New file.
1871 * sysdeps/cris/Makefile: New file.
1872 * sysdeps/cris/__longjmp.S: New file.
1873 * sysdeps/cris/_mcount.S: New file.
1874 * sysdeps/cris/bits/endian.h: New file.
1875 * sysdeps/cris/bits/setjmp.h: New file.
1876 * sysdeps/cris/bits/string.h: New file.
1877 * sysdeps/cris/dl-machine.h: New file.
1878 * sysdeps/cris/elf/start.S: New file.
1879 * sysdeps/cris/machine-gmon.h: New file.
1880 * sysdeps/cris/memcopy.h: New file.
1881 * sysdeps/cris/memusage.h: New file.
1882 * sysdeps/cris/setjmp.S: New file.
1883 * sysdeps/cris/sysdep.h: New file.
1884 * sysdeps/cris/wordcopy.c: New file.
1886 2001-04-08 Hans-Peter Nilsson <hp@axis.com>
1888 * elf/elf.h: Add new relocations for CRIS.
1890 2001-04-08 Hans-Peter Nilsson <hp@axis.com>
1892 * shlib-versions: Add cases for Linux on CRIS.
1894 2001-04-08 Hans-Peter Nilsson <hp@axis.com>
1896 * configure.in (ASM_LINE_SEP tests): Handle CRIS assembly, with
1897 ';' for comments and '@' for line separator.
1899 2001-04-08 Hans-Peter Nilsson <hp@axis.com>
1901 * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Fix
1902 typo; s/==/=/ for assignment.
1904 2001-04-08 Hans-Peter Nilsson <hp@axis.com>
1906 * malloc/Makefile: Correct comment; mtrace is Perl, not AWK.
1908 2001-04-08 Hans-Peter Nilsson <hp@axis.com>
1910 * iconv/gconv_simple.c (internal_ucs4_loop_unaligned): Check for
1911 empty input before checking full output.
1913 2001-04-08 Hans-Peter Nilsson <hp@axis.com>
1915 * iconv/gconv.c (__gconv): Don't derefer parameter cd before
1918 2001-04-08 Ulrich Drepper <drepper@redhat.com>
1920 * inet/rexec.c (rexec_af): Avoid calling perror with errno being set.
1922 2001-04-07 Stephen L Moshier <moshier@mediaone.net>
1924 * sysdeps/ieee754/ldbl-128/e_logl.c: Correct infinity and NaN
1927 2001-04-07 Ulrich Drepper <drepper@redhat.com>
1929 * stdlib/tst-setcontext.c (main): Add a test for setcontext.
1931 * sysdeps/unix/sysv/linux/i386/getcontext.S: New file.
1932 * sysdeps/unix/sysv/linux/i386/setcontext.S: New file.
1933 * sysdeps/unix/sysv/linux/i386/makecontext.S: New file.
1934 * sysdeps/unix/sysv/linux/i386/swapcontext.S: New file.
1935 * sysdeps/unix/sysv/linux/i386/ucontext_i.h: New file.
1936 * sysdeps/unix/sysv/linux/i386/Dist: Add ucontext_i.h.
1938 2001-04-07 Andreas Jaeger <aj@suse.de>
1940 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Use sincos
1941 instead of separate sin and cos.
1942 (__ieee754_j1l): Likewise.
1944 2001-04-06 Ulrich Drepper <drepper@redhat.com>
1946 * sysdeps/ia64/abort-instr.h: New file. Code by David Mosberger.
1948 * sysdeps/ia64/atomicity.h: New file. Copied from libstdc++.
1950 * sysdeps/i386/i486/atomicity.h: Clean up the asms.
1952 * sysdeps/generic/e_scalb.c: Don't use FE_INVALID unless it's
1954 * sysdeps/generic/e_scalbf.c: Likewise.
1955 * sysdeps/generic/e_scalbl.c: Likewise.
1956 Patch by Mark Hatle <fray@mvista.com>.
1958 2001-04-05 David S. Miller <davem@redhat.com>
1960 * sysdeps/sparc/abort-instr.h: New file.
1962 2001-04-05 Matt Wilson <msw@redhat.com>
1964 * sysdeps/unix/sysv/linux/alpha/getsysstats.c (GET_NPROCS_PARSER):
1965 added code to parse new 2.4 format.
1966 (GET_NPROCS_CONF_PARSER): Likewise.
1968 2001-04-05 David S. Miller <davem@redhat.com>
1970 * scripts/config.sub: Recognize sparcv9b like sparcv9.
1971 * configure.in: Add sparcv9b.
1972 * sysdeps/sparc/sparc32/sparcv9b/Implies: New file
1973 * sysdeps/sparc/sparc32/sparcv9b/memcpy.S: New file
1974 * sysdeps/sparc/sparc64/sparcv9b/memcpy.S: New file
1976 2001-04-06 David Mosberger <davidm@hpl.hp.com>
1978 * stdlib/tst-setcontext.c: Move st2[] to global scope.
1979 (f2): Verify that stack pointer is inside st2[].
1981 * sysdeps/unix/sysv/linux/ia64/getcontext.S: It helps to save r12.
1982 * sysdeps/unix/sysv/linux/ia64/setcontext.S: It helps to restore r12.
1984 2001-04-06 Ulrich Drepper <drepper@redhat.com>
1986 * timezone/antarctica: Update from tzdata2001b.
1987 * timezone/asia: Likewise.
1988 * timezone/australasia: Likewise.
1989 * timezone/europe: Likewise.
1990 * timezone/northamerica: Likewise.
1992 * iconv/iconv_open.c: Move strip and upstr definitions...
1993 * iconv/gconv_charset.h: ...here. New file.
1994 * iconv/gconv_db.c (once): Move to file level.
1995 (do_lookup_alias): Split out from __gconv_find_transform.
1996 (__gconv_find_transform): Call do_lookup_alias.
1997 (__gconv_loopup_alias): New function.
1998 * locale/langinfo.h: Define _NL_*_CODESET values for all categories
2000 * locale/categories.def: Add entries for new _NL_*_CODESET values.
2001 * locale/C-ctype.c: Use _nl_C_codeset to initialize CODESET entry.
2002 * locale/C-address.c: Initialize _NL_*_CODESET element.
2003 * locale/C-collate.c: Likewise.
2004 * locale/C-identification.c: Likewise.
2005 * locale/C-measurement.c: Likewise.
2006 * locale/C-messages.c: Likewise.
2007 * locale/C-monetary.c: Likewise.
2008 * locale/C-name.c: Likewise.
2009 * locale/C-numeric.c: Likewise.
2010 * locale/C-paper.c: Likewise.
2011 * locale/C-telephone.c: Likewise.
2012 * locale/C-time.c: Likewise.
2013 * locale/localeinfo.h: Declare _nl_C_codeset.
2014 * locale/C_name.c: Define _nl_C_codeset.
2015 * locale/findlocale.c: Before accepting locale check that the used
2016 charset does not conflict with what the locale name said.
2017 * locale/programs/ld-address.c: Emit codeset information.
2018 * locale/programs/ld-collate.c: Likewise.
2019 * locale/programs/ld-identification.c: Likewise.
2020 * locale/programs/ld-measurement.c: Likewise.
2021 * locale/programs/ld-messages.c: Likewise.
2022 * locale/programs/ld-monetary.c: Likewise.
2023 * locale/programs/ld-name.c: Likewise.
2024 * locale/programs/ld-numeric.c: Likewise.
2025 * locale/programs/ld-paper.c: Likewise.
2026 * locale/programs/ld-telephone.c: Likewise.
2027 * locale/programs/ld-time.c: Likewise.
2029 * localedata/tests-mbwc/tst_funcs.h (TST_HEAD_LOCALE): It is an error
2030 if the locale data couldn't be found.
2032 * string/Makefile: Define tst-strxfrm-ENV.
2034 * ysdeps/unix/sysv/linux/ia64/getcontext.S: Fix comment.
2036 2001-04-06 Andreas Jaeger <aj@suse.de>
2038 * include/sys/profil.h: New file.
2040 * dlfcn/modatexit.c: Add prototypes to silence GCC.
2041 * dlfcn/modcxaatexit.c: Likewise.
2042 * elf/globalmod1.c: Likewise.
2044 2001-04-05 David S. Miller <davem@redhat.com>
2046 * elf/elf.h (HWCAP_SPARC_ULTRA3): Define it.
2047 * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h: Add it to
2048 capability flags table and HWCAP_IMPORTANT, increase
2049 _DL_HWCAP_COUNT to 6.
2050 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h: Likewise.
2052 2001-04-04 David Mosberger <davidm@hpl.hp.com>
2054 * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext): Fix
2055 initialization of stack_end (bug reported by Zheng Gengbin
2056 <gzheng@students.uiuc.edu>).
2058 2001-04-05 Ulrich Drepper <drepper@redhat.com>
2060 * sysdeps/i386/fpu/libm-test-ulps: Relax errors for asinl.
2062 2001-04-05 Martin Schwidefsky <schwidefsky@de.ibm.com>
2064 * sysdeps/unix/sysv/linux/s390/s390-64/bits/socket.h: New file.
2066 2001-04-05 Ulrich Drepper <drepper@redhat.com>
2068 * sysdeps/ieee754/ldbl-96/e_asinl.c: Correct handling of +-Inf.
2069 * sysdeps/i386/fpu/e_asinl.S: Removed. Too inaccurate.
2071 * login/tst-utmp.c: Make file usable again in tst-utmpx.c.
2073 2001-04-04 Ulrich Drepper <drepper@redhat.com>
2075 * sysdeps/unix/sysv/aix/dl-libc.c: Don't use the ELF version,
2076 define simple replacements here. Patch by Michael Keezer.
2078 * sysdeps/ieee754/ldbl-128/e_logl.c: New file.
2079 * sysdeps/ieee754/ldbl-96/e_asinl.c: New file.
2080 Contributed by Stephen L Moshier <moshier@mediaone.net>.
2082 * posix/fnmatch_loop.c: Undefine NEW_PATTERN when it is not used
2085 2001-04-01 Andreas Jaeger <aj@suse.de>
2087 * sysdeps/generic/s_nextafter.c (NO_LONG_DOUBLE): Add nexttowardl
2090 * sysdeps/generic/s_fma.c (NO_LONG_DOUBLE): Add fmal alias.
2092 2001-04-04 Ulrich Drepper <drepper@redhat.com>
2094 * sysdeps/unix/sysv/linux/s390/s390-64/Dist: Add ucontext_i.h.
2095 * sysdeps/unix/sysv/linux/s390/s390-32/Dist: Likewise.
2097 2001-04-04 Martin Schwidefsky <schwidefsky@de.ibm.com>
2099 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: New file.
2100 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: New file.
2101 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: New file.
2102 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.h: New file.
2103 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: New file.
2104 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: New file.
2105 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: New file.
2106 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.h: New file.
2107 * sysdeps/unix/sysv/linux/s390/swapcontext.c: New file.
2109 2001-04-04 Andreas Jaeger <aj@suse.de>
2111 * sysdeps/powerpc/dl-machine.h (ELF_MACHINE_NO_REL): Move to right
2114 2001-04-04 Ulrich Drepper <drepper@redhat.com>
2116 * sunrpc/rpc_scan.c (symbols): Add entry for HYPER.
2117 * sunrpc/rpc_scan.h (enum tok_kind): Add TOK_HYPER.
2118 * sunrpc/rpc_parse.c (get_type): Handle TOK_HYPER.
2119 (unsigned_dec): Likewise.
2120 Patch by atai@jezebel.dreamhost.com.
2122 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r): Pass
2123 pointer to int as last parameter of yp_match.
2124 Patch by kanazawa@flab.fujitsu.co.jp.
2126 2001-04-03 Ulrich Drepper <drepper@redhat.com>
2128 * resolv/netdb.h (gai_strerror): Make return value const.
2129 * sysdeps/generic/gai_strerror.c (gai_strerror): Likewise.
2130 * sysdeps/posix/gai_strerror.c (gai_strerror): Likewise.
2131 Add strings for new error values.
2133 2001-03-29 Michael Keezer <mkeezer@redhat.com>
2135 * posix/tst-gnuglob.c: Added ifdef _DIRENT_HAVE_D_TYPE.
2136 * login/tst-utmp.c: Handle case where ut_tv is not available but
2138 * sysdeps/unix/sysv/aix/utmpx.h: New file.
2139 * sysdeps/unix/sysv/aix/bits/utmpx.h: Added
2140 _HAVE_UT_TYPE/PID/ID/TV/HOST defines.
2141 * sysdeps/unix/sysv/aix/libc-start.c: Removed temp code and made stub.
2142 * sysdeps/unix/sysv/aix/gettimeofday.c: New file added routines
2143 to access RTCU timer reg.
2144 * sysdeps/unix/sysv/aix/Makefile: Remove /usr/lib/crt0.o
2145 added dl-libc, dl-open,dl-sym, dl-close to misc.
2146 * sysdeps/unix/sysv/aix/start.c: New file. Start code.
2147 * sysdeps/unix/sysv/aix/dlldr.h: New file. AIX __loadx defines.
2148 * sysdeps/unix/sysv/aix/dl-close.c: New file. AIX dl-close.
2149 * sysdeps/unix/sysv/aix/dl-open.c: New file. AIX dl-open.
2150 * sysdeps/unix/sysv/aix/dl-sym.c: New file. AIX dl-sym.
2151 * sysdeps/unix/sysv/aix/dl-libc.c: New file. libc_dl-xxx support.
2152 * sysdeps/generic/strtoll.c: Added SHLIB_COMPAT(libc,GLIBC_2_0,
2154 * sysdeps/generic/strtoull.c: Likewise.
2155 * sysdeps/powerpc/ppc-mcount.S: Added nop after bl instruction.
2156 * sysdeps/unix/sysv/aix/powerpc/memset.c: New file to include
2157 sysdeps/generic/memset.c.
2158 * sysdeps/unix/sysv/aix/getpeername.c: Define __getpeername.
2160 2001-04-03 Ulrich Drepper <drepper@redhat.com>
2162 * iconv/Makefile (CFLAGS-charmap.c): Add -DNEED_NULL_POINTER.
2163 * locale/programs/charmap.c: Define null_pointer if
2164 NEED_NULL_POINTER is defined.
2166 * misc/dirname.c (dirname): Handle multiple slashes correctly.
2168 2001-04-03 Martin Schwidefsky <schwidefsky@de.ibm.com>
2170 * sysdeps/s390/s390-64/initfini.c: Fix __gmon_start__ GOT access.
2172 2001-04-03 Martin Schwidefsky <schwidefsky@de.ibm.com>
2174 * sysdeps/s390/s390-32/bcopy.S: Optimize for speed.
2175 * sysdeps/s390/s390-64/bcopy.S: Likewise.
2176 * sysdeps/s390/s390-32/mempcy.S: Likewise.
2177 * sysdeps/s390/s390-64/memcpy.S: Likewise.
2179 2001-04-02 Bruno Haible <haible@clisp.cons.org>
2181 * manual/message.texi (Advanced gettext functions): More specific
2182 syntax in the plural formula examples.
2184 2001-04-02 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
2186 * sysdeps/powerpc/atomicity.h: Silence warnings.
2187 * sysdeps/powerpc/dl-machine.h: Likewise.
2188 * sysdeps/powerpc/register-dump.h: Likewise.
2189 * sysdeps/powerpc/fpu/s_lrint.c: Likewise.
2191 2001-04-02 Andreas Jaeger <aj@suse.de>
2193 * misc/tst-dirname.c (main): Add more tests, derived from a bug
2194 report by Michael Kerrisk <mtk16@ext.canterbury.ac.nz>.
2196 2001-04-01 Andreas Jaeger <aj@suse.de>
2198 * debug/xtrace.sh (pcprofileso): Use SLIBDIR since libpcprofile.so
2200 * malloc/memusage.sh (memusageso): Likewise for libmemusage.so.
2202 2001-04-01 H.J. Lu <hjl@gnu.org>
2204 * posix/annexc.c (macrofile): Renamed from TMPFILE and set to
2206 * stdlib/isomac.c (macrofile): Likewise.
2208 2001-03-30 Thorsten Kukuk <kukuk@suse.de>
2210 * inet/rcmd.c: Allow AF_UNSPEC as parameter.
2211 * nis/ypclnt.c (yp_all): Print error message only at last try,
2212 check for protocoll error only if we don't have a network error.
2214 2001-04-02 Andreas Schwab <schwab@suse.de>
2216 * resolv/res_data.c (res_isourserver): Fix cast.
2218 2001-04-02 Andreas Jaeger <aj@suse.de>
2220 * sysdeps/unix/sysv/linux/hppa/umount.c: Add prototype for
2223 * sysdeps/i386/dl-machine.h (RTLD_START): Don't use multi-line
2225 (ELF_MACHINE_RUNTIME_TRAMPOLINE): Likewise.
2227 * sysdeps/ieee754/dbl-64/uroot.h: Add missing braces arount
2229 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Likewise.
2231 * elf/rtld.c (print_statistics)[!HP_TIMING_NONAVAIL]: Avoid
2232 warning about unused variable.
2234 * string/string.h (strndupa): Add cast for C++ conformance.
2235 (strdupa): Likewise.
2236 Fixes PR libc/2173, reported by tbrowder@home.com.
2238 2001-03-30 Roland McGrath <roland@frob.com>
2240 * sysdeps/mach/hurd/Makefile ($(link-rpcuserlibs)): Don't append
2241 options after $(build-module), which is no longer a single command.
2242 (LDFLAGS-link-rpcuserlibs): New variable to hold those options.
2243 (LDFLAGS-libmachuser-link.so, LDFLAGS-libhurduser-link.so): New
2244 variables using it. Reported by Mark Kettenis <kettenis@gnu.org>.
2246 2001-03-11 Roland McGrath <roland@frob.com>
2248 * elf/rtld.c (dl_main): Add cast to quiet warning.
2249 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
2250 * iconv/gconv_conf.c (__gconv_get_path): Likewise.
2251 (__gconv_read_conf): Likewise.
2252 * iconv/gconv_db.c (gen_steps): Likewise.
2253 (__gconv_find_transform): Likewise.
2254 * locale/programs/charmap-dir.c (fopen_uncompressed): Likewise.
2255 (fopen_uncompressed): Use const in second argument's type.
2257 2001-03-11 Roland McGrath <roland@frob.com>
2259 * sysdeps/mach/hurd/dl-sysdep.c (__writev): New function.
2261 * mach/mach_error.h: Fix ancient #endif syntax.
2262 * hurd/hurdmalloc.c: Likewise.
2264 * sysdeps/generic/atomicity.h (exchange_and_add, atomic_add,
2265 compare_and_swap): Add volatile qualifier to first arg, to bring
2266 these prototypes in line with all the other implementations.
2267 Add a #warning to remind the builder that these are not atomic.
2269 2001-03-04 Roland McGrath <roland@frob.com>
2271 * hurd/vpprintf.c (vpprintf) [USE_IN_LIBIO]: Use innermore first
2272 member of TEMP_F so its type is _IO_FILE * as expected.
2274 * hurd/fopenport.c (seekio): Conditionalize type of POS argument
2275 on [USE_IN_LIBIO]. Check the value for overflow, since for libio
2276 it might exceed off_t's range.
2278 2001-02-25 Roland McGrath <roland@frob.com>
2280 * sysdeps/mach/hurd/sysd-stdio.c (__stdio_reopen): Use prototype.
2281 * sysdeps/unix/bsd/getpt.c (__posix_openpt): Likewise.
2283 * sysdeps/mach/hurd/i386/intr-msg.h (SYSCALL_EXAMINE): Make this a
2284 macro instead of an inline function,
2285 (MSG_EXAMINE): Likewise.
2287 * hurd/hurd/ioctl.h (_HURD_HANDLE_IOCTLS_1): Remove extraneous ##.
2289 * hurd/get-host.c: Include <string.h> for decls of built-ins.
2290 * hurd/hurdchdir.c: Likewise.
2291 * sysdeps/mach/hurd/i386/sigreturn.c: Likweise.
2292 * sysdeps/mach/hurd/opendir.c: Likewise.
2294 * mach/mach_init.c: Include <unistd.h> for _exit decl.
2296 * mach/errsystems.awk: Give output file a trailing newline.
2298 * mach/Machrules (MIG): Prepend CC='${CC}' to the mig command, so that
2299 the script will use our compiler for the cpp stage.
2301 With --enable-all-warnings we get a whole bunch of warnings,
2302 and these are just a few fixes; there are more needed to silence it.
2303 * mach/mach/mig_support.h (__mig_strncpy, mig_strncpy): Add extern
2304 decls before extern inline defns to quiet gcc warning.
2305 * hurd/hurd/threadvar.h (__hurd_threadvar_location_from_sp): Likewise.
2306 * sysdeps/mach/i386/machine-sp.h (__thread_stack_pointer): Likewise.
2308 2001-03-31 Andreas Jaeger <aj@suse.de>
2310 * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_RAWHDLC): Added.
2311 (ARPHRD_HDLC): Define as alias for ARPHRD_CISCO.
2312 (ARPHRD_CISCO): New.
2313 Changes from Linux 2.4.3.
2315 2001-03-30 Isamu Hasegawa <isamu@yamato.ibm.com>
2317 * posix/regex.c: Avoid an access violation if malloc failes.
2319 2001-03-30 Andreas Jaeger <aj@suse.de>
2321 * sysdeps/alpha/ldiv.S (ldiv): Add alias for imaxdiv.
2323 2001-03-29 Ulrich Drepper <drepper@redhat.com>
2325 * posix/regex.c: Remove unnecessary ifs.
2327 * math/bits/mathcalls.h: Remove infnan declaration.
2329 2001-03-29 H.J. Lu <hjl@gnu.org>
2331 * include/endian.h: Define BIG_ENDI, LITTLE_ENDI, HIGH_HALF,
2332 and LOW_HALF only if _LIBC is defined and _ISOMAC is not defined.
2333 * stdlib/isomac.c (fmt): Define _LIBC and _ISOMAC.
2335 2001-03-29 Isamu Hasegawa <isamu@yamato.ibm.com>
2337 * posix/regex.c: Fix typo and add a sentinel.
2339 2001-03-29 Ulrich Drepper <drepper@redhat.com>
2341 * sysdeps/unix/sysv/linux/shm_open.c: Open new file always with
2342 O_NOFOLLOW. Suggested by Christoph Roland.
2344 2001-03-27 Martin Schwidefsky <schwidefsky@de.ibm.com>
2346 * sysdeps/s390/bits/string.h: New unified 31/64 bit string.h.
2347 * sysdeps/s390/s390-32/bits/string.h: Remove.
2348 * sysdeps/s390/s390-64/bits/string.h: Remove.
2349 * sysdeps/s390/s390-32/strcmp.S: New file.
2350 * sysdeps/s390/s390-64/strcmp.S: New file.
2352 2001-03-27 Martin Schwidefsky <schwidefsky@de.ibm.com>
2354 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Fix typo.
2355 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
2357 2001-03-27 Ulrich Drepper <drepper@redhat.com>
2359 * version.h (VERSION): Bump to 2.2.3.
2361 * stdlib/isomac.c (fmt): Don't define _LIBC.
2362 * include/endian.h: Define BIG_ENDI, LITTLE_ENDI, HIGH_HALF, and
2363 LOW_HALF only if _LIBC is defined.
2365 * sysdeps/i386/fpu/libm-test-ulps: Slight adjustment of yn() error.
2367 * posix/fnmatch_loop.c (FCT): Handle !() after * special like @()
2369 * posix/tst-fnmatch.input: Add test cases for matching empty strings.
2371 * sysdeps/ieee754/dbl-64/endian.h: Removed. Move definitions...
2372 * include/endian.h: ...to here.
2374 2001-03-27 kaz Kojima <kkojima@rr.iij4u.or.jp>
2376 * sysdeps/sh/sys/ucontext.h (NFREG): Rename to NFPREG.
2377 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (NFREG): Likewise.
2379 2001-03-27 Martin Schwidefsky <schwidefsky@de.ibm.com>
2381 * sysdeps/unix/sysv/linux/s390/ldconfig.h: Fix typo.
2383 2001-03-26 Ulrich Drepper <drepper@redhat.com>
2385 * sysdeps/ia64/fpu/Dist: Add new files to distribute.
2386 * sysdeps/unix/sysv/linux/s390/s390-64/Dist: Likewise.
2387 * sysdeps/unix/sysv/linux/ia64/Dist: Likewise.
2389 * gmon/Makefile (headers): Add sys/profil.h.
2391 2001-03-18 Andreas Jaeger <aj@suse.de>
2393 * manual/install.texi (Tools for Compilation): Advise to use GCC
2395 (Supported Configurations): Mention s390x.
2397 2001-03-26 Ben Collins <bcollins@debian.org>
2399 * sysdeps/unix/sysv/linux/mips/bits/mman.h: Add MAP_* and MADV_*
2400 defines to match other architectures.
2402 2001-03-26 Ulrich Drepper <drepper@redhat.com>
2404 * libio/Makefile (tests): Add tst-ext.
2405 * libio/tst-ext.c: New file.
2407 * libio/iosetvbuf.c (_IO_setvbuf): Clear line buffer flag for _IONBF.
2409 2001-03-25 Ulrich Drepper <drepper@redhat.com>
2411 Add changes which were in this form in the original patch by
2412 Eric Norum <eric.norum@usask.ca>.
2413 * include/rpc/rpc.h: Remove svc_fdset, rpc_createerr, svc_pollfd, and
2415 * sunrpc/rpc/rpc.h: Declare __rpc_thread_svc_fdset,
2416 __rpc_thread_createerr, __rpc_thread_svc_pollfd, and
2417 __rpc_thread_svc_max_pollfd.
2418 Define svc_fdset, get_rpc_createerr, svc_pollfd, and
2420 * sunrpc/rpc_thread.c: Handle first thread special, it uses the
2422 Define __rpc_thread_svc_fdset, __rpc_thread_createerr,
2423 __rpc_thread_svc_pollfd, and __rpc_thread_svc_max_pollfd.
2424 * sunrpc/Versions [libc] (GLIBC_2.2.3): Export __rpc_thread_svc_fdset,
2425 __rpc_thread_createerr, __rpc_thread_svc_pollfd, and
2426 __rpc_thread_svc_max_pollfd.
2427 * sunrpc/clnt_gen.c: Replace use of rpc_createerr by call to
2429 * sunrpc/clnt_perr.c: Likewise.
2430 * sunrpc/clnt_simp.c: Likewise.
2431 * sunrpc/clnt_tcp.c: Likewise.
2432 * sunrpc/clnt_udp.c: Likewise.
2433 * sunrpc/clnt_unix.c: Likewise.
2434 * sunrpc/pm_getport.c: Likewise.
2436 * sysdeps/unix/sysv/linux/i386/getgroups.c (__getgroups): getgroups32
2437 syscall checks for negative n so don't test here as well.
2439 2001-03-23 Jes Sorensen <jes@linuxcare.com>
2441 * sysdeps/unix/sysv/linux/ia64/sysdep.h (ENTRY): Moved to ...
2442 * sysdeps/ia64/sysdep.h: ...here.
2444 * sysdeps/ia64/sysdep.h (LOCAL_ENTRY): Define.
2445 * sysdeps/ia64/sysdep.h (LOCAL_LEAF): Define.
2447 * sysdeps/ia64/_mcount.S (_mcount_ret_helper): Use LOCAL_LEAF() to
2448 declare instead of LEAF(). Suggestion from David Mosberger.
2450 2001-03-21 David Mosberger <davidm@hpl.hp.com>
2452 * sysdeps/unix/sysv/linux/ia64/sysdep.h (CALL_MCOUNT): Add unwind
2454 (PSEUDO): Drop .psr and .lsb directives.
2456 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Ditto. Add unwind
2458 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Ditto.
2460 * sysdeps/ia64/elf/start.S: Misc cleanup: remove .psr and .lsb
2462 * sysdeps/unix/sysv/linux/ia64/brk.S: Ditto.
2463 * sysdeps/unix/sysv/linux/ia64/__longjmp.S: Ditto.
2464 * sysdeps/ia64/_mcount.S: Remove .psr and .lsb directives (no
2465 longer needed). Add unwind directives.
2467 * sysdeps/ia64/sysdep.h: Define ASM_UNW_PRLG_RP, ASM_UNW_PRLG_PFS,
2468 ASM_UNW_PRLG_PSP, ASM_UNW_PRLG_PR, and ASM_UNW_PRLG_GRSAVE.
2470 2001-03-21 Paul Eggert <eggert@twinsun.com>
2472 * posix/regex.h (RE_INVALID_INTERVAL_ORD): New macro.
2473 (RE_SYNTAX_POSIX_EGREP): Use it.
2474 * posix/regex.c (regex_compile): Implement it.
2476 2001-03-21 Paul Eggert <eggert@twinsun.com>
2478 * posix/regex.c (GET_UNSIGNED_NUMBER): Check for overflow.
2479 Rewrite to avoid duplicate code.
2481 2001-03-21 H.J. Lu <hjl@gnu.org>
2483 * elf/Makefile (tests): Don't depend on $(objpfx)tst-pathopt.out
2484 for cross-compiling.
2485 ($(objpfx)tst-pathopt.out): Undo the last change.
2487 2001-03-24 Mark Kettenis <kettenis@gnu.org>
2489 * sysdeps/mach/hurd/i386/bits/sigcontext.h (sc_sp, sc_fp, sc_pc,
2490 sc_ps): Define as aliases for sc_uesp, sc_ebl, sc_eip and sc_efl.
2492 * sysdeps/mach/hurd/i386/init-first.c: Include <assert.h>.
2493 (_dl_argv): Declare.
2494 (init) [SHARED]: Readjust _dl_argv if we switched to a new stack.
2496 2001-03-22 Andreas Jaeger <aj@suse.de>
2498 * iconvdata/Makefile (generated): Add iconv-test.xxx.
2500 * posix/Makefile (generated): Add bug-regex2.mtrace and
2503 2001-03-21 Ulrich Drepper <drepper@redhat.com>
2505 * csu/version.c (__gnu_get_libc_release): Add prototype.
2506 (__gnu_get_libc_version): Likewise.
2507 * include/gnu/libc-version.h: Remove prototypes for not exported
2510 2001-03-21 Jes Sorensen <jes@linuxcare.com>
2512 * sysdeps/unix/sysv/linux/ia64/makecontext.c: Include libintl.h
2513 for internationalized printfs to work.
2515 2001-03-09 Bruno Haible <haible@clisp.cons.org>
2517 * intl/dcigettext.c (transmem_block_t): Change to unsigned char, to
2518 avoid compiler warning.
2519 (_nl_find_msg): Add casts to avoid compiler warnings.
2521 2001-03-21 Ulrich Drepper <drepper@redhat.com>
2523 * gmon/Makefile (routines): Add sprofil.
2524 (tests): Add tst-sprofil.
2525 (noprof): Add sprofil.
2526 * gmon/Versions [libc] (GLIBC_2.2.3): Add sprofil.
2528 2001-03-20 David Mosberger <davidm@hpl.hp.com>
2530 * sysdeps/generic/sprofil.c: New file.
2531 * sysdeps/posix/sprofil.c: New file.
2532 * gmon/tst-sprofil.c: New file.
2533 * gmon/sys/profil.h: New file.
2535 2001-03-20 Andreas Schwab <schwab@suse.de>
2537 * include/unistd.h: Adjust prototype of __gethostname.
2539 2001-03-20 Jakub Jelinek <jakub@redhat.com>
2541 * sysdeps/sparc/stackinfo.h: New file.
2543 2001-03-21 Andreas Jaeger <aj@suse.de>
2545 * elf/global.c (main): Use proper prototype.
2547 2001-03-20 Ulrich Drepper <drepper@redhat.com>
2549 * sunrpc/Makefile (routines): Add rpc_thread.
2550 (CPPFLAGS): Add -D_RPC_THREAD_SAFE.
2551 * sunrpc/rpc_thread.c: New file.
2552 * sunrpc/Versions [libc] (GLIBC_2.2.3): Export __rpc_thread_destroy.
2553 * sunrpc/auth_none.c: Don't use global variables. Access state in
2554 thread-local storage.
2555 * sunrpc/clnt_perr.c: Likewise.
2556 * sunrpc/clnt_raw.c: Likewise.
2557 * sunrpc/clnt_simp.c: Likewise.
2558 * sunrpc/key_call.c: Likewise.
2559 * sunrpc/rpc_common.c: Likewise.
2560 * sunrpc/svc.c: Likewise.
2561 * sunrpc/svc_raw.c: Likewise.
2562 * sunrpc/svc_simple.c: Likewise.
2563 * sunrpc/svcauth_des.c: Likewise.
2564 * hurd/hurd/threadvar.h (enum __hurd_threadvar_index): Add
2565 _HURD_THREADVAR_RPC_VARS.
2566 * sysdeps/generic/bits/libc-tsd.h: Mention _LIBC_TSD_KEY_RPC_VARS.
2567 * include/rpc/rpc.h: Define data structures for internal thread-local
2569 Based on patches by Eric Norum <eric.norum@usask.ca>.
2571 * elf/dl-load.c: Various little optimizations.
2573 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Return
2574 LINUX_LINK_MAX only if the statfs function is not implemented for
2577 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Return
2578 LINUX_LINK_MAX only if the fstatfs function is not implemented for
2581 2001-03-19 Ulrich Drepper <drepper@redhat.com>
2583 * elf/dl-dst.h (DL_DST_COUNT): Add __builtin_expect.
2585 * elf/dl-load.c (_dl_dst_count): Make DST recognition more robust.
2586 (_dl_dst_substitute): Likewise.
2588 2001-03-17 Bruno Haible <haible@clisp.cons.org>
2590 * intl/loadmsgcat.c (_nl_load_domain) [!_LIBC]: Use fstat, not fstat64.
2592 2001-03-17 Bruno Haible <haible@clisp.cons.org>
2594 * intl/gettextP.h (struct expression): Add operators lnot, less_than,
2595 greater_than, less_or_equal, greater_or_equal. Replace args2/args3
2596 union by a 'nargs' counter and an 'args[]' array.
2597 * intl/plural.y: Don't include stdarg.h.
2598 (new_exp): Take an array of arguments instead of varargs.
2599 (new_exp_0, new_exp_1, new_exp_2, new_exp_3): New functions.
2600 ('?' ':'): Make right-associative.
2601 (EQUOP2): New token, replaces '=' and '!'.
2602 (CMPOP2): New token.
2603 (ADDOP2): New token, replaces '+' and '-'.
2604 (MULOP2): New token, replaces '*', '/' and '%'.
2606 (exp): Add rules for CMPOP2 and '!'. Don't call YYABORT.
2607 (start): Call YYABORT here.
2608 (FREE_EXPRESSION): Update.
2609 (yylex): Don't skip "\\n". Recognize comparison and '!' operators.
2610 Update for new token symbols.
2611 * intl/loadmsgcat.c (plvar, plone, germanic_plural,
2612 init_germanic_plural): Update.
2613 * intl/dcigettext.c (_nl_find_msg): Optimize for space.
2614 (plural_eval): Recognize comparison and '!' operators. Optimize for
2617 2001-03-10 Bruno Haible <haible@clisp.cons.org>
2619 * intl/loadmsgcat.c (_nl_load_domain): locale_charset() doesn't return
2622 2001-01-05 Bruno Haible <haible@clisp.cons.org>
2624 * intl/loadmsgcat.c: Include headers needed for alloca().
2626 (_nl_load_domain): Add fallback code for platforms lacking alloca.
2627 * intl/localealias.c: (ADD_BLOCK, FREE_BLOCK): Remove macros.
2629 (read_alias_file): Simplify fallback code for platforms lacking
2632 2001-01-07 Bruno Haible <haible@clisp.cons.org>
2634 * intl/gettextP.h (__gettextdebug): Remove declaration.
2635 (__gettext_free_exp, __gettextparse): Convert prototype to K&R C
2637 (gettext_free_exp__, gettextparse__): New non-libc declarations.
2638 * intl/plural.y [!_LIBC]: Define gettextparse__, gettext_free_exp__,
2639 not __gettextparse, __gettext_free_exp.
2640 * intl/loadmsgcat.c [!_LIBC]: Use gettextparse__, not __gettextparse.
2642 2001-02-24 Bruno Haible <haible@clisp.cons.org>
2644 * intl/dcigettext.c: Update comment about HAVE_LOCALE_NULL.
2646 2001-01-05 Bruno Haible <haible@clisp.cons.org>
2648 * intl/loadmsgcat.c (_nl_load_domain): Add fallback code for platforms
2649 lacking strtoul, like SunOS4.
2651 2001-01-05 Bruno Haible <haible@clisp.cons.org>
2653 * intl/l10nflist.c (_nl_normalize_codeset): Use tolower, not _tolower.
2655 2001-01-05 Bruno Haible <haible@clisp.cons.org>
2657 * intl/bindtextdom.c (set_binding_values): Convert prototype to K&R C
2659 * intl/dcigettext.c (transcmp): Convert to K&R C syntax.
2660 * intl/explodename.c (_nl_find_language): Convert to K&R C syntax.
2661 * intl/plural.y (__gettext_free_exp, yylex, yyerror): Convert to K&R C
2664 2001-01-07 Bruno Haible <haible@clisp.cons.org>
2666 * intl/gettextP.h (gettext__, dgettext__, dcgettext__, textdomain__,
2667 bindtextdomain__, bind_textdomain_codeset__): New declarations, from
2669 * intl/bindtextdom.c: Include libgnuintl.h instead of libgettext.h.
2670 * intl/dcgettext.c: Likewise.
2671 * intl/dcigettext.c: Likewise.
2672 * intl/dcngettext.c: Likewise.
2673 * intl/dngettext.c: Likewise.
2674 * intl/finddomain.c: Likewise.
2675 * intl/ngettext.c: Likewise.
2676 * intl/textdomain.c: Likewise.
2677 * intl/dgettext.c: Include libgnuintl.h instead of libgettext.h.
2679 * intl/gettext.c: Likewise. Don't include locale.h.
2681 2001-03-17 Bruno Haible <haible@clisp.cons.org>
2683 * intl/gettextP.h (ZERO): New macro.
2684 (struct binding): Always use ZERO.
2685 * intl/bindtextdom.c (offsetof): Provide fallback for platforms that
2686 lack it, like SunOS4.
2687 (set_binding_values): Use offsetof, not sizeof.
2688 * intl/dcigettext.c (offsetof): Provide fallback for platforms that
2689 lack it, like SunOS4.
2690 (ZERO): Remove macro.
2691 (struct transmem_list): Use ZERO.
2692 (DCIGETTEXT): Use offsetof, not sizeof.
2694 2001-03-17 Bruno Haible <haible@clisp.cons.org>
2696 * intl/gettextP.h: Include <stddef.h>. Include gettext.h, for
2698 * intl/bindtextdom.c: Don't include gettext.h.
2699 * intl/dcgettext.c: Likewise.
2700 * intl/dcigettext.c: Likewise.
2701 * intl/dcngettext.c: Likewise.
2702 * intl/dngettext.c: Likewise.
2703 * intl/finddomain.c: Likewise.
2704 * intl/localealias.c: Likewise.
2705 * intl/ngettext.c: Likewise.
2706 * intl/plural.y: Likewise.
2707 * intl/textdomain.c: Likewise.
2709 2001-03-17 Bruno Haible <haible@clisp.cons.org>
2711 * intl/gettext.h: Don't include <stdio.h>.
2713 2001-03-17 Bruno Haible <haible@clisp.cons.org>
2715 * intl/Makefile (CPPFLAGS): Set LOCALEDIR instead of GNULOCALEDIR.
2716 * intl/dcigettext.c (_nl_default_dirname): Initialize with LOCALEDIR.
2718 2001-03-19 Ulrich Drepper <drepper@redhat.com>
2720 * sysdeps/unix/i386/i686/tempname.c: New file.
2722 * sysdeps/posix/tempname.c (__gen_tempname): If RANDOM_BITS is
2723 defined use this macro to get some bits of randomness instead of
2724 the usual gettimeofday or time calls.
2726 2001-03-16 Paul Eggert <eggert@twinsun.com>
2728 * sysdeps/posix/tempname.c (uint64_t): Define to uintmax_t if
2729 not defined, and if UINT64_MAX is not defined.
2731 2001-03-19 Ulrich Drepper <drepper@redhat.com>
2733 * elf/cache.c: Mark and have translated a few more messages.
2735 2001-03-19 Martin Schwidefsky <schwidefsky@de.ibm.com>
2737 * elf/cache.c: Add case for FLAG_S390_LIB64.
2738 * sysdeps/generic/ldconfig.h: Add define for FLAG_S390_LIB64.
2739 * sysdeps/unix/sysv/linux/s390/ldconfig.h: New file.
2740 * sysdeps/unix/sysv/linux/s390/readelflib.c: New file.
2742 2001-03-19 Ulrich Drepper <drepper@redhat.com>
2744 * string/Makefile (tests): Add tst-strxfrm.
2745 * string/tst-strxfrm.c: New file. Based on a test case by Paul Eggert.
2746 * string/Depend: New file.
2748 2001-03-19 Paul Eggert <eggert@twinsun.com>
2750 * string/strxfrm.c (strxfrm): strxfrm should return 0, not 1,
2751 when given the empty string in nontrivial locales.
2753 2001-03-17 H.J. Lu <hjl@gnu.org>
2755 * manual/Makefile (install): Use $(INSTALL_DATA) instead of
2756 cp to install `dir'.
2758 2001-03-19 Andreas Schwab <schwab@suse.de>
2760 * Makerules (build-shlib): Make sure exit codes get checked
2763 2001-03-18 Ulrich Drepper <drepper@redhat.com>
2765 * Makerules (build-shlib): Remove unnecessary slashes introduced in
2768 * configure.in: Test for -Bgroup option of linker.
2769 * config.make.in: Define have-Bgroup.
2771 * conform/data/unistd.h-data: Require gethostname.
2772 * posix/unistd.h: Make gethostname prototype available for
2775 * crypt/Makefile: When generating DSO link with libc_nonshared.a.
2776 * debug/Makefile: Likewise.
2777 * dlfcn/Makefile: Likewise.
2778 * hesiod/Makefile: Likewise.
2779 * iconvdata/extra-module.mk: Likewise.
2780 * locale/Makefile: Likewise.
2781 * login/Makefile: Likewise.
2782 * math/Makefile: Likewise.
2783 * nis/Makefile: Likewise.
2784 * nss/Makefile: Likewise.
2785 * resolv/Makefile: Likewise.
2786 * rt/Makefile: Likewise.
2788 2001-03-17 Ulrich Drepper <drepper@redhat.com>
2790 * inet/Makefile (tests): Remove left-over comment.
2792 * posix/unistd.h (gethostname): Change type of second parameter
2793 back to size_t as per upcoming XPG6.
2794 * sysdeps/unix/sysv/aix/gethostname.c: Change type of second
2795 parameter back to size_t as per upcoming XPG6.
2796 * sysdeps/unix/sysv/sysv4/gethostname.c: Likewise.
2797 * sysdeps/unix/sysv/gethostname.c: Likewise.
2798 * sysdeps/mach/hurd/gethostname.c: Likewise.
2799 * sysdeps/generic/gethostname.c: Likewise.
2801 2001-03-16 Ulrich Drepper <drepper@redhat.com>
2803 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
2806 * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext):
2809 2001-02-06 Jakub Jelinek <jakub@redhat.com>
2811 * elf/dl-load.c (_dl_map_object): Don't test l_opencount when
2812 looking for name matches.
2814 2001-02-26 Jakub Jelinek <jakub@redhat.com>
2816 * sysdeps/generic/sigcontextinfo.h (CALL_SIGHANDLER): Define.
2817 * sysdeps/mach/hurd/i386/sigcontextinfo.h: Likewise.
2818 * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h: Likewise.
2819 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
2820 * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h: Likewise.
2821 * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h: Likewise.
2822 * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h: Likewise.
2823 * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h: Likewise.
2824 * sysdeps/unix/sysv/linux/s390/sigcontextinfo.h: Likewise.
2825 * sysdeps/unix/sysv/linux/sh/sigcontextinfo.h: Likewise.
2826 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: Likewise.
2827 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h: Likewise.
2829 2001-03-16 Ulrich Drepper <drepper@redhat.com>
2831 * sysdeps/ieee754/ldbl-96/s_erfl.c: New file.
2832 Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>.
2834 * sysdeps/i386/fpu/libm-test-ulps: Adjust for addition of erfl and
2836 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
2838 2001-03-16 David Mosberger <davidm@hpl.hp.com>
2840 * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h (struct sigcontext):
2841 Drop hack that was needed for 2.1.1 kernel headers.
2843 * sysdeps/unix/sysv/linux/ia64/ucontext_i.h: New file.
2845 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Rewrite to make it
2846 overlay with kernel's "struct sigcontext".
2848 * sysdeps/unix/sysv/linux/ia64/Makefile (sysdep_headers): Add
2849 sys/rse.h for "misc" subdir.
2850 (sysdep_routines): Add __start_context for "stdlib" subdir.
2852 * sysdeps/unix/sysv/linux/ia64/sys/rse.h: New file (based on
2853 kernel file of the same name).
2855 * stdlib/Makefile (tests): Add tst-setcontext.
2856 * stdlib/tst-setcontext.c: New file (based on a sample program by
2859 * sysdeps/unix/sysv/linux/ia64/setcontext.S: New file.
2860 * sysdeps/unix/sysv/linux/ia64/getcontext.S: New file.
2861 * sysdeps/unix/sysv/linux/ia64/__start_context.S: New file.
2862 * sysdeps/unix/sysv/linux/ia64/makecontext.c: New file.
2863 * sysdeps/unix/sysv/linux/ia64/swapcontext.c: New file.
2865 * sysdeps/unix/sysv/linux/ia64/__longjmp.S (__longjmp): Use extr.u
2866 instead of shift & and.
2868 2001-03-16 Martin Schwidefsky <schwidefsky@de.ibm.com>
2870 * sysdeps/s390/s390-64/bits/huge_val.h: Move to...
2871 * sysdeps/s390/bits/huge_val.h: ...here.
2872 * sysdeps/s390/s390-32/bit/huge_val.h: Remove.
2873 * sysdeps/s390/s390-64/ffs.c: Move to...
2874 * sysdeps/s390/ffs.c: ...here.
2875 * sysdeps/s390/s390-32/ffs.c: Remove.
2877 2001-03-16 Jakub Jelinek <jakub@redhat.com>
2879 * elf/ldconfig.c (search_dir): Remove bogus diagnostic, instead
2880 update osversion from more recent library.
2882 2001-03-13 Martin Schwidefsky <schwidefsky@de.ibm.com>
2884 * sysdeps/unix/sysv/linux/s390/Dist: Move to...
2885 * sysdeps/unix/sysv/linux/s390/s390-32/Dist: ...here.
2886 * sysdeps/unix/sysv/linux/s390/Makefile: Move to...
2887 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: ...here.
2888 * sysdeps/unix/sysv/linux/s390/Versions: Move to...
2889 * sysdeps/unix/sysv/linux/s390/s390-32/Versions: ...here.
2890 * sysdeps/unix/sysv/linux/s390/alphasort64.c: Move to...
2891 * sysdeps/unix/sysv/linux/s390/s390-32/alphasort64.c: ...here.
2892 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Move to...
2893 * sysdeps/unix/sysv/linux/s390/s390-32/bits/fcntl.h: ...here.
2894 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Move to...
2895 * sysdeps/unix/sysv/linux/s390/s390-32/bits/mman.h: ...here.
2896 * sysdeps/unix/sysv/linux/s390/bits/resource.h: Move to...
2897 * sysdeps/unix/sysv/linux/s390/s390-32/bits/resource.h: ...here.
2898 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Move to...
2899 * sysdeps/unix/sysv/linux/s390/s390-32/bits/stat.h: ...here.
2900 * sysdeps/unix/sysv/linux/s390/chown.c: Move to...
2901 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: ...here.
2902 * sysdeps/unix/sysv/linux/s390/clone.S: Move to...
2903 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: ...here.
2904 * sysdeps/unix/sysv/linux/s390/fchown.c: Move to...
2905 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: ...here.
2906 * sysdeps/unix/sysv/linux/s390/fcntl.c: Move to...
2907 * sysdeps/unix/sysv/linux/s390/s390-32/fcntl.c: ...here.
2908 * sysdeps/unix/sysv/linux/s390/fxstat.c: Move to...
2909 * sysdeps/unix/sysv/linux/s390/s390-32/fxstat.c: ...here.
2910 * sysdeps/unix/sysv/linux/s390/getdents64.c: Move to...
2911 * sysdeps/unix/sysv/linux/s390/s390-32/getdents64.c: ...here.
2912 * sysdeps/unix/sysv/linux/s390/getegid.c: Move to...
2913 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: ...here.
2914 * sysdeps/unix/sysv/linux/s390/geteuid.c: Move to...
2915 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: ...here.
2916 * sysdeps/unix/sysv/linux/s390/getgid.c: Move to...
2917 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: ...here.
2918 * sysdeps/unix/sysv/linux/s390/getgroups.c: Move to...
2919 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: ...here.
2920 * sysdeps/unix/sysv/linux/s390/getresgid.c: Move to...
2921 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: ...here.
2922 * sysdeps/unix/sysv/linux/s390/getresuid.c: Move to...
2923 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: ...here.
2924 * sysdeps/unix/sysv/linux/s390/getrlimit.c: Move to...
2925 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: ...here.
2926 * sysdeps/unix/sysv/linux/s390/getrlimit64.c: Move to...
2927 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit64.c: ...here.
2928 * sysdeps/unix/sysv/linux/s390/getuid.c: Move to...
2929 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: ...here.
2930 * sysdeps/unix/sysv/linux/s390/lchown.c: Move to...
2931 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: ...here.
2932 * sysdeps/unix/sysv/linux/s390/lockf64.c: Move to...
2933 * sysdeps/unix/sysv/linux/s390/s390-32/lockf64.c: ...here.
2934 * sysdeps/unix/sysv/linux/s390/lxstat.c: Move to...
2935 * sysdeps/unix/sysv/linux/s390/s390-32/lxstat.c: ...here.
2936 * sysdeps/unix/sysv/linux/s390/mmap.S: Move to...
2937 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: ...here.
2938 * sysdeps/unix/sysv/linux/s390/mmap64.S: Move to...
2939 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: ...here.
2940 * sysdeps/unix/sysv/linux/s390/msgctl.c: Move to...
2941 * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: ...here.
2942 * sysdeps/unix/sysv/linux/s390/oldgetrlimit64.c: Move to...
2943 * sysdeps/unix/sysv/linux/s390/s390-32/oldgetrlimit64.c: ...here.
2944 * sysdeps/unix/sysv/linux/s390/readdir64.c: Move to...
2945 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64.c: ...here.
2946 * sysdeps/unix/sysv/linux/s390/readdir64_r.c: Move to...
2947 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64_r.c: ...here.
2948 * sysdeps/unix/sysv/linux/s390/register-dump.h: Move to...
2949 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: ...here.
2950 * sysdeps/unix/sysv/linux/s390/scandir64.c: Move to...
2951 * sysdeps/unix/sysv/linux/s390/s390-32/scandir64.c: ...here.
2952 * sysdeps/unix/sysv/linux/s390/semctl.c: Move to...
2953 * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: ...here.
2954 * sysdeps/unix/sysv/linux/s390/setegid.c: Move to...
2955 * sysdeps/unix/sysv/linux/s390/s390-32/setegid.c: ...here.
2956 * sysdeps/unix/sysv/linux/s390/seteuid.c: Move to...
2957 * sysdeps/unix/sysv/linux/s390/s390-32/seteuid.c: ...here.
2958 * sysdeps/unix/sysv/linux/s390/setfsgid.c: Move to...
2959 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: ...here.
2960 * sysdeps/unix/sysv/linux/s390/setfsuid.c: Move to...
2961 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: ...here.
2962 * sysdeps/unix/sysv/linux/s390/setgid.c: Move to...
2963 * sysdeps/unix/sysv/linux/s390/s390-32/setgid.c: ...here.
2964 * sysdeps/unix/sysv/linux/s390/setgroups.c: Move to...
2965 * sysdeps/unix/sysv/linux/s390/s390-32/setgroups.c: ...here.
2966 * sysdeps/unix/sysv/linux/s390/setregid.c: Move to...
2967 * sysdeps/unix/sysv/linux/s390/s390-32/setregid.c: ...here.
2968 * sysdeps/unix/sysv/linux/s390/setresgid.c: Move to...
2969 * sysdeps/unix/sysv/linux/s390/s390-32/setresgid.c: ...here.
2970 * sysdeps/unix/sysv/linux/s390/setresuid.c: Move to...
2971 * sysdeps/unix/sysv/linux/s390/s390-32/setresuid.c: ...here.
2972 * sysdeps/unix/sysv/linux/s390/setreuid.c: Move to...
2973 * sysdeps/unix/sysv/linux/s390/s390-32/setreuid.c: ...here.
2974 * sysdeps/unix/sysv/linux/s390/setrlimit.c: Move to...
2975 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: ...here.
2976 * sysdeps/unix/sysv/linux/s390/setuid.c: Move to...
2977 * sysdeps/unix/sysv/linux/s390/s390-32/setuid.c: ...here.
2978 * sysdeps/unix/sysv/linux/s390/shmctl.c: Move to...
2979 * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: ...here.
2980 * sysdeps/unix/sysv/linux/s390/socket.S: Move to...
2981 * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: ...here.
2982 * sysdeps/unix/sysv/linux/s390/sys/procfs.h: Move to...
2983 * sysdeps/unix/sysv/linux/s390/s390-32/sys/procfs.h: ...here.
2984 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Move to...
2985 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: ...here.
2986 * sysdeps/unix/sysv/linux/s390/syscall.S: Move to...
2987 * sysdeps/unix/sysv/linux/s390/s390-32/syscall.S: ...here.
2988 * sysdeps/unix/sysv/linux/s390/syscalls.list: Move to...
2989 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: ...here.
2990 * sysdeps/unix/sysv/linux/s390/sysdep.S: Move to...
2991 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: ...here.
2992 * sysdeps/unix/sysv/linux/s390/sysdep.h: Move to...
2993 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: ...here.
2994 * sysdeps/unix/sysv/linux/s390/versionsort64.c: Move to...
2995 * sysdeps/unix/sysv/linux/s390/s390-32/versionsort64.c: ...here.
2996 * sysdeps/unix/sysv/linux/s390/xstat.c: Move to...
2997 * sysdeps/unix/sysv/linux/s390/s390-32/xstat.c: ...here.
2999 2001-03-13 Martin Schwidefsky <schwidefsky@de.ibm.com>
3001 * sysdeps/unix/sysv/linux/s390/s390-64/Dist: New file.
3002 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: New file.
3003 * sysdeps/unix/sysv/linux/s390/s390-64/bits/elfclass.h: New file.
3004 * sysdeps/unix/sysv/linux/s390/s390-64/bits/fcntl.h: New file.
3005 * sysdeps/unix/sysv/linux/s390/s390-64/bits/ipc.h: New file.
3006 * sysdeps/unix/sysv/linux/s390/s390-64/bits/mman.h: New file.
3007 * sysdeps/unix/sysv/linux/s390/s390-64/bits/msq.h: New file.
3008 * sysdeps/unix/sysv/linux/s390/s390-64/bits/resource.h: New file.
3009 * sysdeps/unix/sysv/linux/s390/s390-64/bits/sem.h: New file.
3010 * sysdeps/unix/sysv/linux/s390/s390-64/bits/shm.h: New file.
3011 * sysdeps/unix/sysv/linux/s390/s390-64/bits/sigaction.h: New file.
3012 * sysdeps/unix/sysv/linux/s390/s390-64/bits/siginfo.h: New file.
3013 * sysdeps/unix/sysv/linux/s390/s390-64/bits/sigstack.h: New file.
3014 * sysdeps/unix/sysv/linux/s390/s390-64/bits/stat.h: New file.
3015 * sysdeps/unix/sysv/linux/s390/s390-64/bits/types.h: New file.
3016 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: New file.
3017 * sysdeps/unix/sysv/linux/s390/s390-64/fstatfs64.c: New file.
3018 * sysdeps/unix/sysv/linux/s390/s390-64/ftruncate64.c: New file.
3019 * sysdeps/unix/sysv/linux/s390/s390-64/fxstat.c: New file.
3020 * sysdeps/unix/sysv/linux/s390/s390-64/fxstat64.c: New file.
3021 * sysdeps/unix/sysv/linux/s390/s390-64/getdents.c: New file.
3022 * sysdeps/unix/sysv/linux/s390/s390-64/getdents64.c: New file.
3023 * sysdeps/unix/sysv/linux/s390/s390-64/getrlimit64.c: New file.
3024 * sysdeps/unix/sysv/linux/s390/s390-64/glob.c: New file.
3025 * sysdeps/unix/sysv/linux/s390/s390-64/glob64.c: New file.
3026 * sysdeps/unix/sysv/linux/s390/s390-64/kernel_stat.h: New file.
3027 * sysdeps/unix/sysv/linux/s390/s390-64/lxstat.c: New file.
3028 * sysdeps/unix/sysv/linux/s390/s390-64/lxstat64.c: New file.
3029 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: New file.
3030 * sysdeps/unix/sysv/linux/s390/s390-64/mmap64.c: New file.
3031 * sysdeps/unix/sysv/linux/s390/s390-64/pread64.c: New file.
3032 * sysdeps/unix/sysv/linux/s390/s390-64/pwrite64.c: New file.
3033 * sysdeps/unix/sysv/linux/s390/s390-64/readdir.c: New file.
3034 * sysdeps/unix/sysv/linux/s390/s390-64/readdir64.c: New file.
3035 * sysdeps/unix/sysv/linux/s390/s390-64/readdir64_r.c: New file.
3036 * sysdeps/unix/sysv/linux/s390/s390-64/readdir_r.c : New file.
3037 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: New file.
3038 * sysdeps/unix/sysv/linux/s390/s390-64/setrlimit64.c: New file.
3039 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: New file.
3040 * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c: New file.
3041 * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c: New file.
3042 * sysdeps/unix/sysv/linux/s390/s390-64/sigsuspend.c: New file.
3043 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: New file.
3044 * sysdeps/unix/sysv/linux/s390/s390-64/statfs64.c: New file.
3045 * sysdeps/unix/sysv/linux/s390/s390-64/sys/procfs.h: New file.
3046 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: New file.
3047 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: New file.
3048 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: New file.
3049 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: New file.
3050 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: New file.
3051 * sysdeps/unix/sysv/linux/s390/s390-64/truncate64.c: New file.
3052 * sysdeps/unix/sysv/linux/s390/s390-64/xstat.c: New file.
3053 * sysdeps/unix/sysv/linux/s390/s390-64/xstat64.c: New file.
3055 2001-03-13 Martin Schwidefsky <schwidefsky@de.ibm.com>
3057 * sysdeps/s390/Dist: Move to...
3058 * sysdeps/s390/390-32/Dist: ...here.
3059 * sysdeps/s390/Implies: Move to...
3060 * sysdeps/s390/s390-32/Implies: ...here.
3061 * sysdeps/s390/Makefile: Move to...
3062 * sysdeps/s390/s390-32/Makefile: ...here.
3063 * sysdeps/s390/Versions: Move to...
3064 * sysdeps/s390-32/s390/Versions: ...here.
3065 * sysdeps/s390/add_n.S: Move to...
3066 * sysdeps/s390/s390-32/add_n.S: ...here.
3067 * sysdeps/s390/addmul_1.S: Move to...
3068 * sysdeps/s390/s390-32/addmul_1.S: ...here.
3069 * sysdeps/s390/atomicity.h: Move to...
3070 * sysdeps/s390/s390-32/atomicity.h: ...here.
3071 * sysdeps/s390/backtrace.c: Move to...
3072 * sysdeps/s390/s390-32/backtrace.c: ...here.
3073 * sysdeps/s390/bcopy.S: Move to...
3074 * sysdeps/s390/s390-32/bcopy.S: ...here.
3075 * sysdeps/s390/bits/byteswap.h: Move to...
3076 * sysdeps/s390/s390-32/bits/byteswap.h: ...here.
3077 * sysdeps/s390/bits/huge_val.h: Move to...
3078 * sysdeps/s390/s390-32/bits/huge_val.h: ...here.
3079 * sysdeps/s390/bsd-_setjmp.S: Move to...
3080 * sysdeps/s390/s390-32/bsd-_setjmp.S: ...here.
3081 * sysdeps/s390/bsd-setjmp.S: Move to...
3082 * sysdeps/s390/s390-32/bsd-setjmp.S: ...here.
3083 * sysdeps/s390/bzero.S: Move to...
3084 * sysdeps/s390/s390-32/bzero.S: ...here.
3085 * sysdeps/s390/elf/bsd-_setjmp.S: Move to...
3086 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: ...here.
3087 * sysdeps/s390/elf/bsd-setjmp.S: Move to...
3088 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: ...here.
3089 * sysdeps/s390/elf/start.S: Move to...
3090 * sysdeps/s390/s390-32/elf/start.S: ...here.
3091 * sysdeps/s390/ffs.c: Move to...
3092 * sysdeps/s390/s390-32/ffs.c: ...here.
3093 * sysdeps/s390/memchr.S: Move to...
3094 * sysdeps/s390/s390-32/memchr.S: ...here.
3095 * sysdeps/s390/memcpy.S: Move to...
3096 * sysdeps/s390/s390-32/memcpy.S: ...here.
3097 * sysdeps/s390/memset.S: Move to...
3098 * sysdeps/s390/s390-32/memset.S: ...here.
3099 * sysdeps/s390/mul_1.S: Move to...
3100 * sysdeps/s390/s390-32/mul_1.S: ...here.
3101 * sysdeps/s390/s390-mcount.S: Move to...
3102 * sysdeps/s390/s390-32/s390-mcount.S: ...here.
3103 * sysdeps/s390/strcpy.S: Move to...
3104 * sysdeps/s390/s390-32/strcpy.S: ...here.
3105 * sysdeps/s390/strncpy.S: Move to...
3106 * sysdeps/s390/s390-32/strncpy.S: ...here.
3107 * sysdeps/s390/sub_n.S: Move to...
3108 * sysdeps/s390/s390-32/sub_n.S: ...here.
3110 2001-03-13 Martin Schwidefsky <schwidefsky@de.ibm.com>
3112 * sysdeps/s390/s390-64/Dist: New file.
3113 * sysdeps/s390/s390-64/Implies: New file.
3114 * sysdeps/s390/s390-64/Makefile: New file.
3115 * sysdeps/s390/s390-64/__longjmp.c: New file.
3116 * sysdeps/s390/s390-64/add_n.S: New file.
3117 * sysdeps/s390/s390-64/atomicity.h: New file.
3118 * sysdeps/s390/s390-64/backtrace.c: New file.
3119 * sysdeps/s390/s390-64/bcopy.S: New file.
3120 * sysdeps/s390/s390-64/bits/byteswap.h: New file.
3121 * sysdeps/s390/s390-64/bits/huge_val.h: New file.
3122 * sysdeps/s390/s390-64/bits/setjmp.h: New file.
3123 * sysdeps/s390/s390-64/bits/string.h: New file.
3124 * sysdeps/s390/s390-64/bsd-_setjmp.S: New file.
3125 * sysdeps/s390/s390-64/bsd-setjmp.S: New file.
3126 * sysdeps/s390/s390-64/bzero.S: New file.
3127 * sysdeps/s390/s390-64/dl-machine.h: New file.
3128 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: New file.
3129 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: New file.
3130 * sysdeps/s390/s390-64/elf/setjmp.S: New file.
3131 * sysdeps/s390/s390-64/elf/start.S: New file.
3132 * sysdeps/s390/s390-64/ffs.c: New file.
3133 * sysdeps/s390/s390-64/initfini.c: New file.
3134 * sysdeps/s390/s390-64/memchr.S: New file.
3135 * sysdeps/s390/s390-64/memcpy.S: New file.
3136 * sysdeps/s390/s390-64/memset.S: New file.
3137 * sysdeps/s390/s390-64/s390x-mcount.S: New file.
3138 * sysdeps/s390/s390-64/setjmp.S: New file.
3139 * sysdeps/s390/s390-64/strcpy.S: New file.
3140 * sysdeps/s390/s390-64/strncpy.S: New file.
3141 * sysdeps/s390/s390-64/sub_n.S: New file.
3142 * sysdeps/s390/s390-64/sysdep.h: New file.
3144 2001-03-13 Martin Schwidefsky <schwidefsky@de.ibm.com>
3146 * scripts/config.guess: Add support for Linux on 64 bit S/390.
3147 * scripts/config.sub: Likewise.
3149 2001-03-13 Martin Schwidefsky <schwidefsky@de.ibm.com>
3151 * configure.in: Add support for 64 bit S/390.
3153 * elf/elf.h: Add new relocations for 64 bit S/390.
3155 * shlib-versions: Add rules for Linux on 64 bit S/390.
3157 2001-03-13 Martin Schwidefsky <schwidefsky@de.ibm.com>
3159 * sysdeps/s390/__longjmp.c: Move to...
3160 * sysdeps/s390/s390-32/__longjmp.c: ...here. Add code
3161 to load the floating point registers that should be saved
3162 according to the ABI.
3164 * sysdeps/s390/bits/setjmp.h: Move to...
3165 * sysdeps/s390/s390-32/bits/setjmp.h: ...here. Avoid
3166 the use of long long in the __jmp_buf type definition.
3168 * sysdeps/s390/bits/string.h: Move to...
3169 * sysdeps/s390/s390-32/bits/string.h: ...here. Add several missing
3170 #ifndef _FORCE_INLINES.
3172 * sysdeps/s390/dl-machine.h: Move to...
3173 * sysdeps/s390/s390-32/dl-machine.h: ...here. Add a check for the
3174 executables EI_CLASS in elf_machine_matches_host.
3176 * sysdeps/s390/elf/setjmp.S: Move to...
3177 * sysdeps/s390/s390-32/elf/setjmp.S: ...here. Replace
3178 branches to globally defined symbol __sigsetjmp by branches to
3179 a local label (this avoids the generation of a R_390_PC16DBL
3180 relocation in -fpic code).
3182 * sysdeps/s390/gmp-mparam.h: Use defines from <bits/wordsize.h> to
3183 calculate BITS_PER_MP_LIMB, BYTES_PER_MP_LIMB and BITS_PER_LONGINT.
3185 * sysdeps/s390/initfini.c: Move to...
3186 * sysdeps/s390/s390-32/initfini.c: ...here. Replace ALIGN with
3189 * sysdeps/s390/setjmp.S: Move to...
3190 * sysdeps/s390/s390-32/setjmp.S: ...here. Add code to store the
3191 floating point registers that should be saved according to the ABI.
3193 * sysdeps/s390/sys/ucontext.h: Remove since it is unused.
3195 * sysdeps/unix/sysv/linux/s390/sysdep.h: Move to...
3196 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: ...here. Include
3197 sysdeps/s390/s390-32/sysdep.h instead of sysdeps/s390/sysdep.h.
3199 2001-03-13 Martin Schwidefsky <schwidefsky@de.ibm.com>
3201 * configure.in: Change machine=s390 to machine=s390/s390-32.
3203 * elf/elf.h: Correct comment for R_390_PLT16DBL.
3205 2001-03-12 Jakub Jelinek <jakub@redhat.com>
3207 * csu/Makefile (abi-tag.h): Define OS and version separately, allow
3208 version to be overriden from config.h.
3209 * csu/abi-note.S: Use OS and version separately, include config.h.
3210 * elf/dl-load.c (_dl_osversion): New.
3211 (_dl_map_object_from_fd): Kill some warnings.
3212 (open_verify): Check .note.ABI-tag of the library if present.
3213 * elf/Makefile (CPPFLAGS-dl-load.c): Add -I$(csu-objpfx).
3214 * elf/cache.c (struct cache_entry): Add osversion.
3215 (print_entry): Print osversion.
3216 (print_cache): Pass osversion to it.
3217 (compare): Sort according to osversion.
3218 (save_cache): Set osversion.
3219 (add_to_cache): Add osversion argument.
3220 * sysdeps/generic/ldconfig.h (add_to_cache, process_file,
3221 process_elf_file): Add osversion argument.
3222 * elf/readlib.c (process_file): Likewise.
3223 * sysdeps/generic/readelflib.c (process_elf_file): Likewise.
3224 * sysdeps/unix/sysv/linux/ia64/readelflib.c (process_elf_file,
3225 process_elf32_file, process_elf64_file): Likewise.
3226 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file,
3227 process_elf32_file, process_elf64_file): Likewise.
3228 * sysdeps/unix/sysv/linux/sparc/readelflib.c (process_elf_file,
3229 process_elf32_file, process_elf64_file): Likewise.
3230 * elf/ldconfig.c (manual_link): Pass it.
3231 (search_dir): Issue diagnostic if two libs with the same soname in
3232 the same directory have different .note.ABI-tag. Record osversion in
3233 dlib_entry and use it from there.
3234 (struct lib_entry): Remove.
3235 (struct dlib_entry): Add osversion.
3236 * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Check
3238 * sysdeps/generic/dl-cache.h (struct file_entry_new): Replace __unused
3239 field with osversion.
3240 * sysdeps/generic/ldsodefs.h (_dl_osversion): Declare.
3241 * sysdeps/unix/sysv/linux/init-first.c: Include ldsodefs.h.
3242 * sysdeps/unix/sysv/linux/dl-osinfo.h (DL_SYSDEP_OSCHECK): Save kernel
3243 version in _dl_osversion.
3244 * sysdeps/unix/sysv/linux/configure.in: Define __ABI_TAG_VERSION.
3245 * Makerules (build-shlib-helper, build-module-helper): New.
3246 (build-shlib, build-module-helper): Make sure .note.ABI-tag comes
3248 * config.h.in (__ABI_TAG_VERSION): Add.
3249 * elf/dl-minimal.c (__strtoul_internal): Set endptr on return.
3250 * sysdeps/unix/sysv/linux/i386/dl-librecon.h (EXTRA_LD_ENVVARS):
3251 Handle LD_ASSUME_KERNEL.
3252 * sysdeps/unix/sysv/linux/dl-librecon.h: New.
3254 2001-03-15 Ulrich Drepper <drepper@redhat.com>
3256 * timezone/antarctica: Update from tzdata2001a.
3257 * timezone/asia: Likewise.
3258 * timezone/australasia: Likewise.
3259 * timezone/backward: Likewise.
3260 * timezone/etcetera: Likewise.
3261 * timezone/europe: Likewise.
3262 * timezone/leapseconds: Likewise.
3263 * timezone/northamerica: Likewise.
3264 * timezone/southamerica: Likewise.
3265 * timezone/systemv: Likewise.
3266 * timezone/yearistype: Likewise.
3267 * timezone/zone.tab: Likewise.
3268 * timezone/tzdump.c: Update from tzcode2001a.
3270 2001-03-15 H.J. Lu <hjl@gnu.org>
3272 * intl/Makefile: Fix a typo.
3274 2001-03-14 David Mosberger <davidm@hpl.hp.com>
3276 * gmon/gmon.c (write_call_graph): Avoid unaligned accesses when
3277 writing arc structures.
3279 2001-03-15 H.J. Lu <hjl@gnu.org>
3281 * elf/Makefile ($(objpfx)tst-pathopt.out): Protected against
3284 2001-03-13 Andreas Schwab <schwab@suse.de>
3286 * posix/PTESTS2C.sed: Replace literal CRs by `\r'.
3288 2001-03-15 Ulrich Drepper <drepper@redhat.com>
3290 * sysdeps/unix/sysv/linux/cmsg_nxthdr.c (__cmsg_nxthdr): Fix test
3291 for control message fitting into message data.
3292 Patch by James Antill <james@and.org>.
3294 * posix/tst-fnmatch.input: Add test case for FNM_PERIOD handling with
3297 * posix/fnmatch_loop.c: Optimize handling of ?() and @().
3298 * posix/fnmatch.c: Define STRLEN and STRCAT appropriately.
3300 * posix/Versions [libc] (GLIBC_2.2.3): Add fnmatch.
3301 * posix/fnmatch.c: Define with new default version GLIBC_2.2.3 to
3302 avoid running binaries with libc versions without FNM_EXTMATCH support.
3304 * include/wchar.h: Add prototype for __wcscat.
3305 * wcsmbs/wcscat.c: Define __wcscat and make wcscat weak alias.
3307 * posix/fnmatch.h (FNM_EXTMATCH): Define.
3308 * posix/fnmatch.c (NO_LEADING_PERIOD): Define.
3309 (posixly_correct): Move global variable here.
3310 (INT, EXT, END): Name new functions defined in fnmatch_loop.c.
3311 (fnmatch): Pretty printing.
3312 * posix/fnmatch_loop.c: Add code to handle FNM_EXTMATCH.
3313 * posix/tst-fnmatch.c: Recognize EXTMATCH flag.
3314 * posix/tst-fnmatch.input: Add tests for extended matching.
3316 * posix/testfnm.c: Add test for patterns with multiple ** before /.
3317 * posix/fnmatch_loop.c: Fix problem with the test above.
3319 2001-03-14 Ulrich Drepper <drepper@redhat.com>
3321 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Remove
3324 * resolv/res_data.c (fp_nquery): Call __res_ninit not __res_init.
3326 2001-03-12 Andreas Jaeger <aj@suse.de>
3328 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
3329 Use EM_X86_64 instead of EM_X8664.
3331 2001-03-12 Ulrich Drepper <drepper@redhat.com>
3333 * sysdeps/ieee754/dbl-64/upow.h: Define nZERO and nINF.
3335 * sysdeps/ieee754/dbl-64/e_remainder.c: Fix handling of boundary
3338 * sysdeps/ieee754/dbl-64/e_pow.c: Fix handling of boundary
3341 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Handle Inf and NaN
3345 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Handle NaN
3347 (__ieee754_acos): Likewise.
3349 2001-03-12 Andreas Jaeger <aj@suse.de>
3351 * sysdeps/unix/sysv/linux/s390/sysdep.h (_LINUX_S390_SYSDEP_H):
3352 Fix typo. Patch by Martin Schwidefsky <schwidefsky@de.ibm.com>.
3354 * sysdeps/s390/bits/string.h: Protect __STRING_INLINE against
3357 2001-03-11 Roland McGrath <roland@frob.com>
3359 * sysdeps/mach/hurd/configure.in: Add a sanity check on $prefix.
3361 2001-03-11 Ulrich Drepper <drepper@redhat.com>
3363 * sysdeps/ieee754/dbl-64/endian.h: Define also one of BIG_ENDI and
3366 * sysdeps/ieee754/dbl-64/MathLib.h (Init_Lib): Use void as
3369 Last-bit accurate math library implementation by IBM Haifa.
3370 Contributed by Abraham Ziv <ziv@il.ibm.com>, Moshe Olshansky
3371 <olshansk@il.ibm.com>, Ealan Henis <ealan@il.ibm.com>, and
3372 Anna Reitman <reitman@il.ibm.com>.
3373 * math/Makefile (dbl-only-routines): New variable.
3374 (libm-routines): Add $(dbl-only-routines).
3375 * sysdeps/ieee754/dbl-64/e_acos.c: Empty, definition is in e_asin.c.
3376 * sysdeps/ieee754/dbl-64/e_asin.c: Replaced with accurate asin
3378 * sysdeps/ieee754/dbl-64/e_atan2.c: Replaced with accurate atan2
3380 * sysdeps/ieee754/dbl-64/e_exp.c: Replaced with accurate exp
3382 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Don't use __kernel_sin and
3384 * sysdeps/ieee754/dbl-64/e_log.c: Replaced with accurate log
3386 * sysdeps/ieee754/dbl-64/e_remainder.c: Replaced with accurate
3387 remainder implementation.
3388 * sysdeps/ieee754/dbl-64/e_pow.c: Replaced with accurate pow
3390 * sysdeps/ieee754/dbl-64/e_sqrt.c: Replaced with accurate sqrt
3392 * sysdeps/ieee754/dbl-64/k_cos.c: Empty, definition is in s_sin.c.
3393 * sysdeps/ieee754/dbl-64/k_sin.c: Empty, definition is in s_sin.c.
3394 * sysdeps/ieee754/dbl-64/s_atan.c: Replaced with accurate atan
3396 * sysdeps/ieee754/dbl-64/s_cos.c: Empty, definition is in s_sin.c.
3397 * sysdeps/ieee754/dbl-64/s_sin.c: Replaced with accurate sin/cos
3399 * sysdeps/ieee754/dbl-64/s_sincos.c: Rewritten to not use __kernel_sin
3401 * sysdeps/ieee754/dbl-64/s_tan.c: Replaced with accurate tan
3403 * sysdeps/ieee754/dbl-64/Dist: Add new non-code files.
3404 * sysdeps/ieee754/dbl-64/MathLib.h: New file.
3405 * sysdeps/ieee754/dbl-64/asincos.tbl: New file.
3406 * sysdeps/ieee754/dbl-64/atnat.h: New file.
3407 * sysdeps/ieee754/dbl-64/atnat2.h: New file.
3408 * sysdeps/ieee754/dbl-64/branred.c: New file.
3409 * sysdeps/ieee754/dbl-64/branred.h: New file.
3410 * sysdeps/ieee754/dbl-64/dla.h: New file.
3411 * sysdeps/ieee754/dbl-64/doasin.c: New file.
3412 * sysdeps/ieee754/dbl-64/doasin.h: New file.
3413 * sysdeps/ieee754/dbl-64/dosincos.c: New file.
3414 * sysdeps/ieee754/dbl-64/dosincos.h: New file.
3415 * sysdeps/ieee754/dbl-64/endian.h: New file.
3416 * sysdeps/ieee754/dbl-64/halfulp.c: New file.
3417 * sysdeps/ieee754/dbl-64/mpa.c: New file.
3418 * sysdeps/ieee754/dbl-64/mpa.h: New file.
3419 * sysdeps/ieee754/dbl-64/mpa2.h: New file.
3420 * sysdeps/ieee754/dbl-64/mpatan.c: New file.
3421 * sysdeps/ieee754/dbl-64/mpatan.h: New file.
3422 * sysdeps/ieee754/dbl-64/mpatan2.c: New file.
3423 * sysdeps/ieee754/dbl-64/mpexp.c: New file.
3424 * sysdeps/ieee754/dbl-64/mpexp.h: New file.
3425 * sysdeps/ieee754/dbl-64/mplog.c: New file.
3426 * sysdeps/ieee754/dbl-64/mplog.h: New file.
3427 * sysdeps/ieee754/dbl-64/mpsqrt.c: New file.
3428 * sysdeps/ieee754/dbl-64/mpsqrt.h: New file.
3429 * sysdeps/ieee754/dbl-64/mptan.c: New file.
3430 * sysdeps/ieee754/dbl-64/mydefs.h: New file.
3431 * sysdeps/ieee754/dbl-64/powtwo.tbl: New file.
3432 * sysdeps/ieee754/dbl-64/root.tbl: New file.
3433 * sysdeps/ieee754/dbl-64/sincos.tbl: New file.
3434 * sysdeps/ieee754/dbl-64/sincos32.c: New file.
3435 * sysdeps/ieee754/dbl-64/sincos32.h: New file.
3436 * sysdeps/ieee754/dbl-64/slowexp.c: New file.
3437 * sysdeps/ieee754/dbl-64/slowpow.c: New file.
3438 * sysdeps/ieee754/dbl-64/uasncs.h: New file.
3439 * sysdeps/ieee754/dbl-64/uatan.tbl: New file.
3440 * sysdeps/ieee754/dbl-64/uexp.h: New file.
3441 * sysdeps/ieee754/dbl-64/uexp.tbl: New file.
3442 * sysdeps/ieee754/dbl-64/ulog.h: New file.
3443 * sysdeps/ieee754/dbl-64/ulog.tbl: New file.
3444 * sysdeps/ieee754/dbl-64/upow.h: New file.
3445 * sysdeps/ieee754/dbl-64/upow.tbl: New file.
3446 * sysdeps/ieee754/dbl-64/urem.h: New file.
3447 * sysdeps/ieee754/dbl-64/uroot.h: New file.
3448 * sysdeps/ieee754/dbl-64/usncs.h: New file.
3449 * sysdeps/ieee754/dbl-64/utan.h: New file.
3450 * sysdeps/ieee754/dbl-64/utan.tbl: New file.
3451 * sysdeps/i386/fpu/branred.c: New file.
3452 * sysdeps/i386/fpu/doasin.c: New file.
3453 * sysdeps/i386/fpu/dosincos.c: New file.
3454 * sysdeps/i386/fpu/halfulp.c: New file.
3455 * sysdeps/i386/fpu/mpa.c: New file.
3456 * sysdeps/i386/fpu/mpatan.c: New file.
3457 * sysdeps/i386/fpu/mpatan2.c: New file.
3458 * sysdeps/i386/fpu/mpexp.c: New file.
3459 * sysdeps/i386/fpu/mplog.c: New file.
3460 * sysdeps/i386/fpu/mpsqrt.c: New file.
3461 * sysdeps/i386/fpu/mptan.c: New file.
3462 * sysdeps/i386/fpu/sincos32.c: New file.
3463 * sysdeps/i386/fpu/slowexp.c: New file.
3464 * sysdeps/i386/fpu/slowpow.c: New file.
3465 * sysdeps/ia64/fpu/branred.c: New file.
3466 * sysdeps/ia64/fpu/doasin.c: New file.
3467 * sysdeps/ia64/fpu/dosincos.c: New file.
3468 * sysdeps/ia64/fpu/halfulp.c: New file.
3469 * sysdeps/ia64/fpu/mpa.c: New file.
3470 * sysdeps/ia64/fpu/mpatan.c: New file.
3471 * sysdeps/ia64/fpu/mpatan2.c: New file.
3472 * sysdeps/ia64/fpu/mpexp.c: New file.
3473 * sysdeps/ia64/fpu/mplog.c: New file.
3474 * sysdeps/ia64/fpu/mpsqrt.c: New file.
3475 * sysdeps/ia64/fpu/mptan.c: New file.
3476 * sysdeps/ia64/fpu/sincos32.c: New file.
3477 * sysdeps/ia64/fpu/slowexp.c: New file.
3478 * sysdeps/ia64/fpu/slowpow.c: New file.
3479 * sysdeps/m68k/fpu/branred.c: New file.
3480 * sysdeps/m68k/fpu/doasin.c: New file.
3481 * sysdeps/m68k/fpu/dosincos.c: New file.
3482 * sysdeps/m68k/fpu/halfulp.c: New file.
3483 * sysdeps/m68k/fpu/mpa.c: New file.
3484 * sysdeps/m68k/fpu/mpatan.c: New file.
3485 * sysdeps/m68k/fpu/mpatan2.c: New file.
3486 * sysdeps/m68k/fpu/mpexp.c: New file.
3487 * sysdeps/m68k/fpu/mplog.c: New file.
3488 * sysdeps/m68k/fpu/mpsqrt.c: New file.
3489 * sysdeps/m68k/fpu/mptan.c: New file.
3490 * sysdeps/m68k/fpu/sincos32.c: New file.
3491 * sysdeps/m68k/fpu/slowexp.c: New file.
3492 * sysdeps/m68k/fpu/slowpow.c: New file.
3494 * iconvdata/gconv-modules: Add a number of alias, mostly for IBM
3497 2001-03-11 Andreas Jaeger <aj@suse.de>
3499 * elf/elf.h (EM_*): Synch with official list.
3501 2001-03-07 David Mosberger <davidm@hpl.hp.com>
3503 * sysdeps/ia64/bits/fenv.h (FE_NONIEEE_ENV): New macro.
3505 2001-03-07 Jes Sorensen <jes@linuxcare.com>
3507 * sysdeps/unix/sysv/linux/ia64/ioperm.c (_ioperm): Remove unused
3508 variables addr & len.
3510 2001-02-22 Jes Sorensen <jes@linuxcare.com>
3512 * sysdeps/ia64/fpu/feenablxcpt.c (feenableexcept): Remove
3513 punctuation in asm constraint.
3515 2001-03-07 Mark Kettenis <kettenis@gnu.org>
3517 * resolv/netdb.h [__USE_GNU]: Define __need_timespec and include
3518 <time.h> to get definition of `struct timespec'.
3520 2001-03-08 Jakub Jelinek <jakub@redhat.com>
3522 * elf/rtld.c (dl_main): If tracing, warn about undefined symbols if
3523 LD_WARN=1, not if LD_WARN is unset.
3525 2001-03-07 Andreas Schwab <schwab@suse.de>
3527 * elf/ldconfig.h: Moved to ...
3528 * sysdeps/generic/ldconfig.h: ... here.
3529 * sysdeps/unix/sysv/linux/i386/ldconfig.h: New file.
3530 * sysdeps/unix/sysv/linux/m68k/ldconfig.h: New file.
3531 * sysdeps/unix/sysv/linux/ia64/ldconfig.h: New file.
3532 * elf/readlib.c (interpreters, known_libs): Use
3533 SYSDEP_KNOWN_INTERPRETER_NAMES and SYSDEP_KNOWN_LIBRARY_NAMES
3534 instead of hard coding old names.
3536 2001-03-09 Ulrich Drepper <drepper@redhat.com>
3538 * catgets/Makefile (generated): Add test-gencat.h.
3539 (sample.SJIS.cat): Also generate header.
3540 * catgets/sample.SJIS: Add new set and message, both with symbolic
3542 * catgets/test-gencat.sh: Also compare generated header with what
3545 2001-03-07 Jakub Jelinek <jakub@redhat.com>
3547 * catgets/gencat.c (read_input_file): Preserve properly symbolic
3550 2001-03-06 Andreas Jaeger <aj@suse.de>
3552 * sysdeps/s390/dl-machine.h (elf_machine_relplt): Removed, it's not
3554 (elf_machine_pltrel_p): Likewise.
3555 * sysdeps/powerpc/dl-machine.h: Likewise.
3556 * sysdeps/generic/dl-machine.h (elf_machine_pltrel_p): Likewise.
3558 2001-03-09 Ulrich Drepper <drepper@redhat.com>
3560 * sysdeps/unix/sysv/linux/arm/Dist: Add dl-procinfo.c and
3563 2001-03-05 Philip Blundell <philb@gnu.org>
3565 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c: New file.
3566 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h: New file.
3567 * sysdeps/unix/sysv/linux/arm/Makefile [subdir=elf]
3568 (sysdep-dl-routines, sysdep_routines, sysdep-rtld-routines): Add
3571 2001-03-09 Ulrich Drepper <drepper@redhat.com>
3573 * dlfcn/tstatexit.c (main): Don't perform the test if __dso_handle
3575 * dlfcn/tstcxaatexit.c (main): Likewise.
3577 2001-03-10 Andreas Jaeger <aj@suse.de>
3579 * sysdeps/i386/fpu/libm-test-ulps: Revert last patch.
3581 2001-03-09 Andreas Jaeger <aj@suse.de>
3583 * sysdeps/s390/dl-machine.h (elf_machine_matches_host): Handle
3584 both new and old EM_S390 values.
3585 (EM_S390_OLD): New constant.
3587 * elf/elf.h (EM_S390): Use official value.
3589 2001-03-09 Ulrich Drepper <drepper@redhat.com>
3591 * conform/data/sys/socket.h-data: Allow SO* symbols.
3593 2001-03-07 Andreas Schwab <schwab@suse.de>
3595 * sysdeps/ia64/fpu/Makefile: Modify sysdep_routines instead of
3596 routines, and sysdep-CPPFLAGS instead of CPPFLAGS.
3598 2001-03-07 Andreas Jaeger <aj@suse.de>
3600 * resolv/Makefile (routines): Only build gai_sigqueue when threads
3603 2001-03-07 Jakub Jelinek <jakub@redhat.com>
3605 * elf/ldconfig.c (_dl_sysdep_message): Remove.
3606 * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h: Include
3608 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h: Likewise.
3610 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Use
3611 _dl_error_printf instead of _dl_sysdep_error.
3612 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
3613 * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h (_dl_procinfo):
3614 Use _dl_printf instead of _dl_sysdep_message.
3615 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h (_dl_procinfo):
3618 2001-03-06 Ben Collins <bcollins@debian.org>
3620 * manual/arith.texi (Integers): Fix documentation of fast and
3621 least integer typedefs.
3623 2001-03-06 Jakub Jelinek <jakub@redhat.com>
3625 * resolv/Depend: New file.
3626 * resolv/Makefile (extra-libs, tests): Build libanl and ga_test only
3627 when libpthread is built.
3629 2001-03-06 Andreas Jaeger <aj@suse.de>
3631 * sysdeps/i386/fpu/libm-test-ulps: Add some deltas.
3633 * sysdeps/sh/dl-machine.h (elf_machine_rela): Add missing comma.
3634 Patch by kaz Kojima <kkojima@rr.iij4u.or.jp>.
3636 2001-03-05 Ulrich Drepper <drepper@redhat.com>
3638 * stdlib/Versions: Remove __new_exitfn again. Not needed.
3640 2001-03-05 Andreas Jaeger <aj@suse.de>
3642 * stdlib/msort.c (qsort): Don't use alloca in a function call.
3644 2001-03-05 Ulrich Drepper <drepper@redhat.com>
3646 * sysdeps/unix/sysv/linux/bits/stat.h (__S_TYPEISMQ, __S_TYPEISSEM,
3647 __S_TYPEISSHM): Rewrite to enforce correct use the macros. They still
3649 * sysdeps/unix/sysv/linux/alpha/bits/stat.h: Likewise.
3650 * sysdeps/unix/sysv/linux/ia64/bits/stat.h: Likewise.
3651 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
3652 * sysdeps/unix/sysv/linux/m68k/bits/stat.h: Likewise.
3653 * sysdeps/unix/sysv/linux/mips/bits/stat.h: Likewise.
3654 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
3655 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
3657 2001-03-04 Andreas Jaeger <aj@suse.de>
3659 * stdlib/longlong.h: Don't use multi-line strings.
3660 * iconvdata/tst-loading.c: Likewise.
3662 * csu/Makefile ($(objpfx)version-info.h): Don't use multi-line
3665 2001-03-04 Ulrich Drepper <drepper@redhat.com>
3667 * sysdeps/ia64/fpu/libm-test-ulps: Adjust for addition of lgammal.
3669 * rt/lio_listio.c: Add a few asserts.
3671 * elf/global.c: New file.
3672 * elf/globalmod1.c: New file.
3673 * elf/Makefile: Add rules to build and run global.
3675 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Define SI_ASYNCNL.
3676 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
3677 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Likewise.
3678 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
3679 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/siginfo.h: Likewise.
3681 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: New file.
3682 Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>.
3684 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Fix handling of boundary cases.
3686 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Always initialize sign variable.
3687 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
3689 * sysdeps/i386/fpu/libm-test-ulps: Adjust after addition of lgammal.
3691 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Fix typo in last change.
3693 2001-03-04 Andreas Jaeger <aj@suse.de>
3695 * resolv/tst-aton.c: Add testcase for IP with four periods.
3697 * resolv/inet_addr.c: Don't recognize an IP with four periods.
3698 Patch by Andre' Breiler <A.Breiler@gmx.net>.
3700 2001-02-27 Philip Blundell <pb@futuretv.com>
3702 * elf/elf.h: Add new ARM definitions from latest (B-01)
3703 specification. Correct naming of EF_ARM_ALIGN8 et al.
3705 2001-03-04 Ulrich Drepper <drepper@redhat.com>
3707 * stdio-common/tst-printf.sh: Remove bashisms.
3708 Patch by Matthew Clarke <Matthew_Clarke@mindlink.bc.ca>.
3710 2001-03-03 Ulrich Drepper <drepper@redhat.com>
3712 * Versions.def: Add libanl definition.
3713 * shlib-versions: Add entry for libanl.
3714 * resolv/Makefile (distribute): Add gai_misc.h and ga_test.c.
3715 (routines): Add gai_sigqueue.
3716 (extra-libs): Add libanl.
3717 (libanl-routines): New variable.
3718 Add rules to build libanl and ga_test.
3719 * resolv/Versions [libc] (GLIBC_2.2.3): Add __gai_sigqueue.
3720 [libanl]: New library.
3721 * resolv/netdb.h: Add definitions for libanl.
3722 * resolv/getaddrinfo_a.c: New file.
3723 * resolv/gai_cancel.c: New file.
3724 * resolv/gai_error.c: New file.
3725 * resolv/gai_misc.c: New file.
3726 * resolv/gai_misc.h: New file.
3727 * resolv/gai_notify.c: New file.
3728 * resolv/gai_suspend.c: New file.
3729 * resolv/ga_test.c: New file.
3730 * sysdeps/generic/gai_sigqueue.c: New file.
3731 * sysdeps/unix/sysv/linux/gai_sigqueue.c: New file.
3732 * sysdeps/generic/bits/siginfo.h: Allow __need_sigevent_t being defined
3733 and provide only that definition.
3734 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Likewise.
3735 * sysdeps/unix/sysv/linux/bits/siginfo.h: Likewise.
3736 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
3737 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Likewise.
3738 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
3739 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/siginfo.h: Likewise.
3741 * rt/aio_misc.c: Fix typos in comments.
3742 * rt/lio_listio.c: Pretty printing. Little optimization in request
3745 * elf/rtld.c: Remove commented out code.
3747 * sysdeps/unix/sysv/linux/linux_fsinfo.h (SHMFS_SUPER_MAGIC):
3748 Update for real 2.4 kernels.
3750 2001-03-01 Ulrich Drepper <drepper@redhat.com>
3752 * elf/dl-load.c: Pretty printing.
3754 * elf/dl-object.c (_dl_new_object): Don't add the loader's scope
3757 2001-02-28 Ulrich Drepper <drepper@redhat.com>
3759 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Don't handle
3760 relocations which are not in ld.so if RTLD_BOOTSTRAP is defined.
3762 * sysdeps/powerpc/dl-machine.c (__process_machine_rela): Fix typo.
3764 * elf/dl-misc.c (_dl_debug_vdprintf): Fix typo visible on 64-bit
3767 * sysdeps/unix/sysv/linux/powerpc/sysdep.h (C_TEXT): Define.
3769 2001-02-27 Ulrich Drepper <drepper@redhat.com>
3771 * sysdeps/powerpc/elf/libc-start.c: Use new output functions and
3774 * elf/Versions [ld]: Don't export _dl_debug_message anymore. Export
3776 * elf/dl-misc.c: Remove definition of _dl_sysdep_output and
3777 _dl_debug_message. Define _dl_debug_vdprintf, _dl_debug_printf,
3778 _dl_debug_printf_c, and _dl_printf.
3779 * sysdeps/generic/ldsodefs.h: Don't declare _dl_sysdep_output,
3780 _dl_debug_message, _dl_sysdep_message, _dl_sysdep_error, and
3781 _dl_sysdep_fatal. Declare _dl_debug_printf, _dl_debug_printf_c,
3782 _dl_printf, _dl_error_printf, and _dl_fatal_printf.
3783 * elf/dl-close.c: Replace use of old output functions with the new
3785 * elf/dl-deps.c: Likewise.
3786 * elf/dl-error.c: Likewise.
3787 * elf/dl-fini.c: Likewise.
3788 * elf/dl-init.c: Likewise.
3789 * elf/dl-load.c: Likewise.
3790 * elf/dl-lookup.c: Likewise.
3791 * elf/dl-minimal.c: Likewise.
3792 * elf/dl-open.c: Likewise.
3793 * elf/dl-profile.c: Likewise.
3794 * elf/dl-reloc.c: Likewise.
3795 * elf/dl-version.c: Likewise.
3796 * elf/do-lookup.h: Likewise.
3797 * elf/rtld.c: Likewise.
3798 * sysdeps/generic/dl-cache.c: Likewise.
3799 * sysdeps/generic/dl-sysdep.c: Likewise.
3800 * sysdeps/generic/libc-start.c: Likewise.
3801 * sysdeps/i386/dl-machine.h: Likewise.
3802 * sysdeps/arm/dl-machine.h: Likewise.
3803 * sysdeps/hppa/dl-machine.h: Likewise.
3804 * sysdeps/m68k/dl-machine.h: Likewise.
3805 * sysdeps/powerpc/dl-machine.h: Likewise.
3806 * sysdeps/s390/dl-machine.h: Likewise.
3807 * sysdeps/sh/dl-machine.h: Likewise.
3808 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
3809 * sysdeps/unix/sysv/linux/i386/dl-librecon.h: Likewise.
3810 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
3812 * sysdeps/generic/ldsodefs.h: Remove _dl_secure declaration.
3814 * dlfcn/Makefile: Don't run tstatexit test unless .hidden is
3815 supported by assembler.
3817 * sysdeps/generic/ldsodefs.h: Remove commented-out variable
3820 * elf/rtld.c: Little optimizations in handling _dl_lazy.
3822 * elf/cache.c (save_cache): Portability changes.
3823 * elf/dl-profile.c (_dl_start_profile): Likewise.
3825 * elf/sln.c: Cleanups. Remove arbitrary limits.
3827 * elf/dl-close.c: Replace _dl_debug_* variables with _dl_debug_mask.
3828 * elf/dl-deps.c: Likewise.
3829 * elf/dl-fini.c: Likewise.
3830 * elf/dl-init.c: Likewise.
3831 * elf/dl-load.c: Likewise.
3832 * elf/dl-lookup.c: Likewise.
3833 * elf/dl-open.c: Likewise.
3834 * elf/dl-reloc.c: Likewise.
3835 * elf/dl-support.c: Likewise.
3836 * elf/dl-version.c: Likewise.
3837 * elf/do-lookup.h: Likewise.
3838 * elf/rtld.c: Likewise.
3839 * sysdeps/generic/dl-cache.c: Likewise.
3840 * sysdeps/generic/ldsodefs.h: Likewise.
3841 * sysdeps/generic/libc-start.c: Likewise.
3842 * elf/Versions: Don't export _dl_debug_impcalls and _dl_debug_files.
3843 Export _dl_debug_mask.
3844 * Versions.def: Define GLIBC_2.2.3 for ld.
3846 2001-02-26 Greg McGary <greg@mcgary.org>
3848 * sysdeps/unix/make-syscalls.sh (ptr): Handle `V' keyletter.
3850 2001-02-26 Paul Eggert <eggert@twinsun.com>
3852 Modify mkstemp.c and tempname.c so that they can be used by
3853 GNU applications on non-glibc platforms.
3855 * misc/mkstemp.c (__GT_FILE): Define to zero if not defined.
3857 * sysdeps/posix/tempname.c: Include <config.h> if HAVE_CONFIG_H.
3858 Include <stddef.h>, <stdint.h>, <string.h> only if
3859 STDC_HEADERS || _LIBC.
3860 Include <fcntl.h> only if HAVE_FCNTL_H || _LIBC.
3861 Include <unistd.h> only if HAVE_UNISTD_H || _LIBC.
3862 Include <sys/time.h> only if HAVE_SYS_TIME_H || _LIBC.
3863 (__set_errno): Define this macro if <errno.h> doesn't.
3864 (P_tmpdir, TMP_MAX, __GT_FILE, __GT_BIGFILE, __GT_DIR, __GT_NOCREATE):
3865 Define these macros if <stdio.h> doesn't.
3866 (S_ISDIR, S_IRUSR, S_IWUSR, S_IXUSR):
3867 Define these macros if <sys/stat.h> doesn't.
3868 Ignore <sys/stat.h> S_ISDIR if STAT_MACROS_BROKEN.
3869 (stat64, __getpid, __gettimeofday, __mkdir, __open, __open64,
3870 lxstat64, __xstat64): Define if not _LIBC.
3871 (struct_stat64): New macro.
3872 (direxists, __gen_tempname): Use it, to avoid a
3873 portability problem with Solaris 8.
3874 (__secure_getenv): Define if ! (HAVE___SECURE_GETENV || _LIBC).
3875 (__gen_tempname): Invoke gettimeofday only if
3876 HAVE_GETTIMEOFDAY || _LIBC; otherwise, fall back on plain "time".
3877 Use portable macros like S_IRUSR | S_IWUSR rather than nonportable
3878 octal values like 0600.
3880 2001-02-26 Ulrich Drepper <drepper@redhat.com>
3882 * sysdeps/ieee754/ldbl-96/e_jnl.c: New file.
3883 Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>.
3885 * sysdeps/i386/fpu/libm-test-ulps: Update for jnl and ynl introduction.
3886 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
3888 * posix/wordexp-test.c (testit): Remove warnings.
3890 * dlfcn/Makefile (distribute): Add modatexit.c and modcxaatexit.c.
3891 (tests): Add tstatexit and tstcxaatexit.
3892 (module-names): Add modatexit and modcxaatexit.
3893 Add rules to build and run tstatexit and tstcxaatexit.
3894 * dlfcn/modatexit.c: New file.
3895 * dlfcn/modcxaatexit.c: New file.
3896 * dlfcn/tstatexit.c: New file.
3897 * dlfcn/tstcxaatexit.c: New file.
3899 * io/Makefile: Pass -DHAVE_DOT_HIDDEN to stat and mknod functions if
3900 .hidden is available.
3901 * io/stat.c: If .hidden is available use it to avoid exporting
3903 * io/fstat.c: Likewise.
3904 * io/lstat.c: Likewise.
3905 * io/stat64.c: Likewise.
3906 * io/fstat64.c: Likewise.
3907 * io/lstat64.c: Likewise.
3908 * sysdeps/generic/mknod.c: Likewise.
3910 * malloc/mtrace.c: Use __cxa_atexit and not atexit.
3911 * sysdeps/generic/bb_init_func.c: Likewise.
3912 * sysdeps/generic/libc-start.c: Likewise.
3914 * stdlib/atexit.c (__new_exitfn): Move to cxa_atexit.c.
3915 (atexit): Implement using __cxa_atexit.
3916 Use .hidden if availble to avoid exporting atexit.
3917 * stdlib/cxa_atexit.c (__new_exitfn): Moved to here from atexit.c.
3918 * stdlib/Versions: Export __new_exitfn for GLIBC_2.2.3.
3919 * stdlib/Makefile (routines): Add old_atexit.
3920 (static-only-routines): Add atexit.
3921 Pass -DHAVE_DOT_HIDDEN for atexit.c if .hidden is available.
3922 * stdlib/old_atexit.c: New file.
3924 * intl/Makefile: Remove bogus endif.
3926 2001-02-26 Andreas Jaeger <aj@suse.de>
3928 * iconvdata/Makefile (tests): Fix typo in last patch.
3930 * intl/Makefile (tests): Run mtrace-tst-gettext only when perl is
3932 Reported by Achim Gottinger <achim@gentoo.org>.
3934 2001-02-25 Andreas Jaeger <aj@suse.de>
3936 * intl/Makefile (plural.c): Reorder rules so that they work if
3937 BISON doesn't exist.
3939 2001-02-25 Ulrich Drepper <drepper@redhat.com>
3941 * intl/locale.alias: Don't use nb_NO but define aliases for it.
3943 2001-02-23 Ulrich Drepper <drepper@redhat.com>
3945 * sysdeps/i386/strtok.S: Continue to return NULL after the first
3948 2001-02-23 Andreas Jaeger <aj@suse.de>
3950 * string/tester.c (test_strtok_r): Add testcase.
3951 (test_strtok_r): Always initialize cp for proper checking.
3953 * sysdeps/generic/strtok.c (strtok): Handle case of first strtok
3954 returning NULL correctly.
3955 Patch by Fumitoshi UKAI <ukai@debian.or.jp>.
3956 * sysdeps/generic/strtok_r.c (__strtok_r): Likewise.
3958 2001-02-23 Ulrich Drepper <drepper@redhat.com>
3960 * sysdeps/unix/sysv/aix/bits/types.h: Define __need_NULL before
3961 including <stddef.h>.
3962 * sysdeps/unix/sysv/aix/write.c: Define alias __libc_write.
3963 * include/libc-symbols.h (weak_alias): Don't use .weak if
3964 HAVE_ASM_GLOBAL_DOT_NAME is defined.
3965 Patches by Michael Keezer <mkeezer@redhat.com>.
3967 * sysdeps/generic/ftime.c: Don't include <sys/time.h> at all.
3968 Patch by Michael Keezer <mkeezer@redhat.com>.
3970 * sysdeps/unix/sysv/aix/Dist: Remove restf.S and savef.S.
3971 * sysdeps/unix/sysv/aix/Makefile [$(subdir) == misc]
3972 (sysdep_routines): Remove restf.S and savef.S.
3973 * sysdeps/unix/sysv/aix/restf.S. Removed.
3974 * sysdeps/unix/sysv/aix/savef.S. Removed.
3975 * sysdeps/powerpc/fprrest.S: Use C_TEXT to define label. Also define
3976 alternative names used on some platforms.
3977 * sysdeps/powerpc/fprsave.S: Likewise.
3978 * sysdeps/powerpc/gprrest0.S: Likewise.
3979 * sysdeps/powerpc/gprrest1.S: Likewise.
3980 * sysdeps/powerpc/gprsave0.S: Likewise.
3981 * sysdeps/powerpc/gprsave1.S: Likewise.
3982 Patch by Michael Keezer <mkeezer@redhat.com>.
3984 2001-02-22 Ulrich Drepper <drepper@redhat.com>
3986 * sysdeps/i386/elf/start.S (_fp_hw): Actually define label.
3988 2001-02-22 Andreas Jaeger <aj@suse.de>
3990 * string/tst-strtok.c (main): Fix error messages.
3992 2001-02-22 Andreas Jaeger <aj@suse.de>
3994 * math/Makefile: Remove omit-long-double-fcts.
3996 2001-02-18 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
3998 * sysdeps/mips/bsd-_setjmp.S (_setjmp): Reorder instructions to
3999 avoid problems on MIPS I.
4000 * sysdeps/mips/bsd-setjmp.S (setjmp): Likewise.
4002 * sysdeps/mips/dl-machine.h (RTLD_START): Remove duplicate ".set
4005 2001-02-21 Ulrich Drepper <drepper@redhat.com>
4007 * posix/fnmatch_loop.c: Handle ranges outside glibc correctly.
4009 * sysdeps/generic/ftime.c: Include <time.h>.
4011 * configure.in: Don't check for libgd if user passed --without-gd.
4012 Patch by Achim Gottinger <achim@gentoo.org>.
4014 * sysdeps/i386/i686/strtok.S: Continue to return NULL after the
4015 first time this happened.
4016 * string/Makefile (tests): Add tst-strtok.
4018 2001-02-21 Andreas Jaeger <aj@suse.de>
4020 * string/tst-strtok.c: New testcase, reported by
4021 Andrew Church <achurch@achurch.org>.
4023 2001-02-20 Ulrich Drepper <drepper@redhat.com>
4025 * libio/iofwide.c: Remove fwide alias.
4027 2001-02-20 Andreas Jaeger <aj@suse.de>
4029 * iconvdata/Makefile (tests): Only run mtrace-tst-loading if perl
4031 Reported by Achim Gottinger <achim@gentoo.org>.
4033 2001-02-19 Ulrich Drepper <drepper@redhat.com>
4035 * iconv/tst-iconv1.c (main): Remove debugging code.
4037 * sysdeps/ieee754/flt-32/e_powf.c: Handle x == +-1 correctly.
4038 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
4040 * sysdeps/generic/e_scalb.c: Set invalid exception for invalid
4042 * sysdeps/generic/e_scalbf.c: Likewise.
4043 * sysdeps/generic/e_scalbl.c: Likewise.
4045 * sysdeps/ia64/fpu/Makefile (libm-sysdep-routines): Add libm_error,
4046 libm_frexp4, libm_frexp4f, libm_frexp4l, and all the functions also
4048 (routines): Replace libm_error with libc_libm_error.
4049 * sysdeps/ia64/fpu/Dist: Add libc_libm_error.c.
4050 * sysdeps/ia64/fpu/libc_libm_error.c: New file.
4052 2001-02-18 Mark Kettenis <kettenis@gnu.org>
4054 * malloc/mtrace.c [USE_IN_LIBIO]: Define fopen as _IO_fopen64.
4055 (mtrace): Revert 2001-02-13 patch: use fopen instead of fopen64.
4057 2001-02-17 H.J. Lu <hjl@gnu.org>
4059 * sysdeps/unix/sysv/linux/ia64/clone2.S: Use clone2 and don't use
4060 scratch registers across the system call.
4062 2001-02-19 Andreas Jaeger <aj@suse.de>
4064 * malloc/Makefile (tests): Run mtrace only when perl is available.
4065 Reported by Achim Gottinger <achim@gentoo.org>.
4067 2001-02-19 Ulrich Drepper <drepper@redhat.com>
4069 * sysdeps/ieee754/ldbl-96/e_j1l.c: New file.
4070 Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>.
4072 * sysdeps/i386/fpu/libm-test-ulps: Adjust error values for j1 and y1.
4073 * sysdeps/ia64/fpu/libm-test-ulps: Adjust error values for y1.
4074 * math/libm-test.inc (j1_test): Mark constants as long double.
4075 (jn_test): Likewise.
4076 (y1_test): Likewise.
4077 (yn_test): Likewise.
4079 * libio/iogetline.c: Move return until after last statement.
4081 * localedata/show-ucs-data.c: Don't show < > for better readability.
4083 * sysdeps/ia64/fpu/Dist: New file.
4084 * sysdeps/ia64/fpu/Makefile: New file.
4085 * sysdeps/ia64/fpu/Versions: New file.
4086 * sysdeps/ia64/fpu/e_acos.S: New file.
4087 * sysdeps/ia64/fpu/e_acosf.S: New file.
4088 * sysdeps/ia64/fpu/e_acosl.S: New file.
4089 * sysdeps/ia64/fpu/e_asin.S: New file.
4090 * sysdeps/ia64/fpu/e_asinf.S: New file.
4091 * sysdeps/ia64/fpu/e_asinl.S: New file.
4092 * sysdeps/ia64/fpu/e_atan2.S: New file.
4093 * sysdeps/ia64/fpu/e_atan2f.S: New file.
4094 * sysdeps/ia64/fpu/e_atan2l.c: New file.
4095 * sysdeps/ia64/fpu/e_cosh.S: New file.
4096 * sysdeps/ia64/fpu/e_coshf.S: New file.
4097 * sysdeps/ia64/fpu/e_coshl.S: New file.
4098 * sysdeps/ia64/fpu/e_exp.S: New file.
4099 * sysdeps/ia64/fpu/e_expf.S: New file.
4100 * sysdeps/ia64/fpu/e_expl.c: New file.
4101 * sysdeps/ia64/fpu/e_fmod.S: New file.
4102 * sysdeps/ia64/fpu/e_fmodf.S: New file.
4103 * sysdeps/ia64/fpu/e_fmodl.S: New file.
4104 * sysdeps/ia64/fpu/e_hypot.S: New file.
4105 * sysdeps/ia64/fpu/e_hypotf.S: New file.
4106 * sysdeps/ia64/fpu/e_hypotl.S: New file.
4107 * sysdeps/ia64/fpu/e_log.S: New file.
4108 * sysdeps/ia64/fpu/e_log10.c: New file.
4109 * sysdeps/ia64/fpu/e_log10f.c: New file.
4110 * sysdeps/ia64/fpu/e_log10l.c: New file.
4111 * sysdeps/ia64/fpu/e_logf.S: New file.
4112 * sysdeps/ia64/fpu/e_logl.c: New file.
4113 * sysdeps/ia64/fpu/e_pow.S: New file.
4114 * sysdeps/ia64/fpu/e_powf.S: New file.
4115 * sysdeps/ia64/fpu/e_powl.S: New file.
4116 * sysdeps/ia64/fpu/e_rem_pio2.c: New file.
4117 * sysdeps/ia64/fpu/e_rem_pio2f.c: New file.
4118 * sysdeps/ia64/fpu/e_remainder.S: New file.
4119 * sysdeps/ia64/fpu/e_remainderf.S: New file.
4120 * sysdeps/ia64/fpu/e_remainderl.S: New file.
4121 * sysdeps/ia64/fpu/e_scalb.S: New file.
4122 * sysdeps/ia64/fpu/e_scalbf.S: New file.
4123 * sysdeps/ia64/fpu/e_scalbl.S: New file.
4124 * sysdeps/ia64/fpu/e_sinh.S: New file.
4125 * sysdeps/ia64/fpu/e_sinhf.S: New file.
4126 * sysdeps/ia64/fpu/e_sinhl.S: New file.
4127 * sysdeps/ia64/fpu/e_sqrt.S: New file.
4128 * sysdeps/ia64/fpu/e_sqrtf.S: New file.
4129 * sysdeps/ia64/fpu/e_sqrtl.S: New file.
4130 * sysdeps/ia64/fpu/k_rem_pio2.c: New file.
4131 * sysdeps/ia64/fpu/k_rem_pio2f.c: New file.
4132 * sysdeps/ia64/fpu/k_rem_pio2l.c: New file.
4133 * sysdeps/ia64/fpu/libm_atan2_reg.S: New file.
4134 * sysdeps/ia64/fpu/libm_error.c: New file.
4135 * sysdeps/ia64/fpu/libm_frexp4.S: New file.
4136 * sysdeps/ia64/fpu/libm_frexp4f.S: New file.
4137 * sysdeps/ia64/fpu/libm_frexp4l.S: New file.
4138 * sysdeps/ia64/fpu/libm_reduce.S: New file.
4139 * sysdeps/ia64/fpu/libm_support.h: New file.
4140 * sysdeps/ia64/fpu/libm_tan.S: New file.
4141 * sysdeps/ia64/fpu/s_atan.S: New file.
4142 * sysdeps/ia64/fpu/s_atanf.S: New file.
4143 * sysdeps/ia64/fpu/s_atanl.S: New file.
4144 * sysdeps/ia64/fpu/s_cbrt.S: New file.
4145 * sysdeps/ia64/fpu/s_cbrtf.S: New file.
4146 * sysdeps/ia64/fpu/s_cbrtl.S: New file.
4147 * sysdeps/ia64/fpu/s_ceil.S: New file.
4148 * sysdeps/ia64/fpu/s_ceilf.S: New file.
4149 * sysdeps/ia64/fpu/s_ceill.S: New file.
4150 * sysdeps/ia64/fpu/s_cos.S: New file.
4151 * sysdeps/ia64/fpu/s_cosf.S: New file.
4152 * sysdeps/ia64/fpu/s_cosl.S: New file.
4153 * sysdeps/ia64/fpu/s_expm1.S: New file.
4154 * sysdeps/ia64/fpu/s_expm1f.S: New file.
4155 * sysdeps/ia64/fpu/s_expm1l.S: New file.
4156 * sysdeps/ia64/fpu/s_floor.S: New file.
4157 * sysdeps/ia64/fpu/s_floorf.S: New file.
4158 * sysdeps/ia64/fpu/s_floorl.S: New file.
4159 * sysdeps/ia64/fpu/s_frexp.c: New file.
4160 * sysdeps/ia64/fpu/s_frexpf.c: New file.
4161 * sysdeps/ia64/fpu/s_frexpl.c: New file.
4162 * sysdeps/ia64/fpu/s_ilogb.S: New file.
4163 * sysdeps/ia64/fpu/s_ilogbf.S: New file.
4164 * sysdeps/ia64/fpu/s_ilogbl.S: New file.
4165 * sysdeps/ia64/fpu/s_ldexp.S: New file.
4166 * sysdeps/ia64/fpu/s_ldexpf.S: New file.
4167 * sysdeps/ia64/fpu/s_ldexpl.S: New file.
4168 * sysdeps/ia64/fpu/s_log1p.S: New file.
4169 * sysdeps/ia64/fpu/s_log1pf.S: New file.
4170 * sysdeps/ia64/fpu/s_log1pl.S: New file.
4171 * sysdeps/ia64/fpu/s_logb.S: New file.
4172 * sysdeps/ia64/fpu/s_logbf.S: New file.
4173 * sysdeps/ia64/fpu/s_logbl.S: New file.
4174 * sysdeps/ia64/fpu/s_matherrf.c: New file.
4175 * sysdeps/ia64/fpu/s_matherrl.c: New file.
4176 * sysdeps/ia64/fpu/s_modf.S: New file.
4177 * sysdeps/ia64/fpu/s_modff.S: New file.
4178 * sysdeps/ia64/fpu/s_modfl.S: New file.
4179 * sysdeps/ia64/fpu/s_nearbyint.S: New file.
4180 * sysdeps/ia64/fpu/s_nearbyintf.S: New file.
4181 * sysdeps/ia64/fpu/s_nearbyintl.S: New file.
4182 * sysdeps/ia64/fpu/s_rint.S: New file.
4183 * sysdeps/ia64/fpu/s_rintf.S: New file.
4184 * sysdeps/ia64/fpu/s_rintl.S: New file.
4185 * sysdeps/ia64/fpu/s_round.S: New file.
4186 * sysdeps/ia64/fpu/s_roundf.S: New file.
4187 * sysdeps/ia64/fpu/s_roundl.S: New file.
4188 * sysdeps/ia64/fpu/s_scalbn.S: New file.
4189 * sysdeps/ia64/fpu/s_scalbnf.S: New file.
4190 * sysdeps/ia64/fpu/s_scalbnl.S: New file.
4191 * sysdeps/ia64/fpu/s_significand.S: New file.
4192 * sysdeps/ia64/fpu/s_significandf.S: New file.
4193 * sysdeps/ia64/fpu/s_significandl.S: New file.
4194 * sysdeps/ia64/fpu/s_sin.c: New file.
4195 * sysdeps/ia64/fpu/s_sincos.c: New file.
4196 * sysdeps/ia64/fpu/s_sincosf.c: New file.
4197 * sysdeps/ia64/fpu/s_sincosl.c: New file.
4198 * sysdeps/ia64/fpu/s_sinf.c: New file.
4199 * sysdeps/ia64/fpu/s_sinl.c: New file.
4200 * sysdeps/ia64/fpu/s_tan.S: New file.
4201 * sysdeps/ia64/fpu/s_tanf.S: New file.
4202 * sysdeps/ia64/fpu/s_tanl.S: New file.
4203 * sysdeps/ia64/fpu/s_trunc.S: New file.
4204 * sysdeps/ia64/fpu/s_truncf.S: New file.
4205 * sysdeps/ia64/fpu/s_truncl.S: New file.
4206 * sysdeps/ia64/fpu/w_acos.c: New file.
4207 * sysdeps/ia64/fpu/w_acosf.c: New file.
4208 * sysdeps/ia64/fpu/w_acosl.c: New file.
4209 * sysdeps/ia64/fpu/w_asin.c: New file.
4210 * sysdeps/ia64/fpu/w_asinf.c: New file.
4211 * sysdeps/ia64/fpu/w_asinl.c: New file.
4212 * sysdeps/ia64/fpu/w_atan2.c: New file.
4213 * sysdeps/ia64/fpu/w_atan2f.c: New file.
4214 * sysdeps/ia64/fpu/w_atan2l.c: New file.
4215 * sysdeps/ia64/fpu/w_cosh.c: New file.
4216 * sysdeps/ia64/fpu/w_coshf.c: New file.
4217 * sysdeps/ia64/fpu/w_coshl.c: New file.
4218 * sysdeps/ia64/fpu/w_exp.c: New file.
4219 * sysdeps/ia64/fpu/w_expf.c: New file.
4220 * sysdeps/ia64/fpu/w_fmod.c: New file.
4221 * sysdeps/ia64/fpu/w_fmodf.c: New file.
4222 * sysdeps/ia64/fpu/w_fmodl.c: New file.
4223 * sysdeps/ia64/fpu/w_hypot.c: New file.
4224 * sysdeps/ia64/fpu/w_hypotf.c: New file.
4225 * sysdeps/ia64/fpu/w_hypotl.c: New file.
4226 * sysdeps/ia64/fpu/w_log.c: New file.
4227 * sysdeps/ia64/fpu/w_log10.c: New file.
4228 * sysdeps/ia64/fpu/w_log10f.c: New file.
4229 * sysdeps/ia64/fpu/w_log10l.c: New file.
4230 * sysdeps/ia64/fpu/w_logf.c: New file.
4231 * sysdeps/ia64/fpu/w_logl.c: New file.
4232 * sysdeps/ia64/fpu/w_pow.c: New file.
4233 * sysdeps/ia64/fpu/w_powf.c: New file.
4234 * sysdeps/ia64/fpu/w_powl.c: New file.
4235 * sysdeps/ia64/fpu/w_remainder.c: New file.
4236 * sysdeps/ia64/fpu/w_remainderf.c: New file.
4237 * sysdeps/ia64/fpu/w_remainderl.c: New file.
4238 * sysdeps/ia64/fpu/w_scalb.c: New file.
4239 * sysdeps/ia64/fpu/w_scalbf.c: New file.
4240 * sysdeps/ia64/fpu/w_scalbl.c: New file.
4241 * sysdeps/ia64/fpu/w_sqrt.c: New file.
4242 * sysdeps/ia64/fpu/w_sqrtf.c: New file.
4243 * sysdeps/ia64/fpu/w_sqrtl.c: New file.
4244 * sysdeps/ia64/fpu/libm-test-ulps: Adjust for long double
4246 * sysdeps/ia64/fpu/bits/mathdef.h: Correct float_t and double_t types.
4247 Change FP_ILOGBNAN for new implementation.
4248 * Verions.def: Add 2.2.3 versions.
4250 2001-02-18 Ulrich Drepper <drepper@redhat.com>
4252 * math/libm-test.inc (scalb_test): Require invalid exception being
4253 raised for invalid parameters.
4254 * sysdeps/i386/fpu/e_scalb.S: Raise invalid exception if necessary.
4255 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
4256 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
4258 2001-02-18 Mark Kettenis <kettenis@gnu.org>
4260 * sysdeps/mach/getsysstats.c (__get_phys_pages): Change return
4262 (__get_avphys_pages): Likewise.
4264 2001-02-18 Ulrich Drepper <drepper@redhat.com>
4266 * math/libm-test.inc (pow_test): Correct expected results for x == +-1.
4267 * sysdeps/i386/fpu/e_pow.S: Handle x == +-1 correctly.
4268 * sysdeps/i386/fpu/e_powf.S: Likewise.
4269 * sysdeps/i386/fpu/e_powl.S: Likewise.
4271 * sysdeps/i386/fpu/bits/mathinline.h: Remove pow inline code.
4273 2001-02-17 Ulrich Drepper <drepper@redhat.com>
4275 * math/Makefile (libm-calls): It's e_exp2 not s_exp2.
4277 * sysdeps/generic/s_exp2l.c: Renamed to...
4278 * sysdeps/generic/e_exp2l.c: ...this. New file.
4279 * sysdeps/i386/fpu/s_exp2.S: Renamed to...
4280 * sysdeps/i386/fpu/e_exp2.S: ...this. New file.
4281 * sysdeps/i386/fpu/s_exp2f.S: Renamed to...
4282 * sysdeps/i386/fpu/e_exp2f.S: ...this. New file.
4283 * sysdeps/i386/fpu/s_exp2l.S: Renamed to...
4284 * sysdeps/i386/fpu/e_exp2l.S: ...this. New file.
4285 * sysdeps/ieee754/flt-32/s_exp2f.c: Renamed to...
4286 * sysdeps/ieee754/flt-32/e_exp2f.c: ...this. New file.
4287 * sysdeps/ieee754/dbl-64/s_exp2.c: Renamed to...
4288 * sysdeps/ieee754/dbl-64/e_exp2.c: ...this. New file.
4289 * sysdeps/m68k/fpu/s_exp2.c: Renamed to...
4290 * sysdeps/m68k/fpu/e_exp2.c: ...this. New file.
4291 * sysdeps/m68k/fpu/s_exp2f.c: Renamed to...
4292 * sysdeps/m68k/fpu/e_exp2f.c: ...this. New file.
4293 * sysdeps/m68k/fpu/s_exp2l.c: Renamed to...
4294 * sysdeps/m68k/fpu/e_exp2l.c: ...this. New file.
4296 2001-02-17 Andreas Jaeger <aj@suse.de>
4298 * configure.in: Allow gcc 3.
4300 2001-02-16 Ulrich Drepper <drepper@redhat.com>
4302 * math/w_acos.c: Move to ...
4303 * sysdeps/generic/w_acos.c: ...here. New file.
4304 * math/w_acosf.c: Move to ...
4305 * sysdeps/generic/w_acosf.c: ...here. New file.
4306 * math/w_acosh.c: Move to ...
4307 * sysdeps/generic/w_acosh.c: ...here. New file.
4308 * math/w_acoshf.c: Move to ...
4309 * sysdeps/generic/w_acoshf.c: ...here. New file.
4310 * math/w_acoshl.c: Move to ...
4311 * sysdeps/generic/w_acoshl.c: ...here. New file.
4312 * math/w_acosl.c: Move to ...
4313 * sysdeps/generic/w_acosl.c: ...here. New file.
4314 * math/w_asin.c: Move to ...
4315 * sysdeps/generic/w_asin.c: ...here. New file.
4316 * math/w_asinf.c: Move to ...
4317 * sysdeps/generic/w_asinf.c: ...here. New file.
4318 * math/w_asinl.c: Move to ...
4319 * sysdeps/generic/w_asinl.c: ...here. New file.
4320 * math/w_atan2.c: Move to ...
4321 * sysdeps/generic/w_atan2.c: ...here. New file.
4322 * math/w_atan2f.c: Move to ...
4323 * sysdeps/generic/w_atan2f.c: ...here. New file.
4324 * math/w_atan2l.c: Move to ...
4325 * sysdeps/generic/w_atan2l.c: ...here. New file.
4326 * math/w_atanh.c: Move to ...
4327 * sysdeps/generic/w_atanh.c: ...here. New file.
4328 * math/w_atanhf.c: Move to ...
4329 * sysdeps/generic/w_atanhf.c: ...here. New file.
4330 * math/w_atanhl.c: Move to ...
4331 * sysdeps/generic/w_atanhl.c: ...here. New file.
4332 * math/w_cosh.c: Move to ...
4333 * sysdeps/generic/w_cosh.c: ...here. New file.
4334 * math/w_coshf.c: Move to ...
4335 * sysdeps/generic/w_coshf.c: ...here. New file.
4336 * math/w_coshl.c: Move to ...
4337 * sysdeps/generic/w_coshl.c: ...here. New file.
4338 * math/w_drem.c: Move to ...
4339 * sysdeps/generic/w_drem.c: ...here. New file.
4340 * math/w_dremf.c: Move to ...
4341 * sysdeps/generic/w_dremf.c: ...here. New file.
4342 * math/w_dreml.c: Move to ...
4343 * sysdeps/generic/w_dreml.c: ...here. New file.
4344 * math/w_exp10.c: Move to ...
4345 * sysdeps/generic/w_exp10.c: ...here. New file.
4346 * math/w_exp10f.c: Move to ...
4347 * sysdeps/generic/w_exp10f.c: ...here. New file.
4348 * math/w_exp10l.c: Move to ...
4349 * sysdeps/generic/w_exp10l.c: ...here. New file.
4350 * math/w_exp2.c: Move to ...
4351 * sysdeps/generic/w_exp2.c: ...here. New file.
4352 * math/w_exp2f.c: Move to ...
4353 * sysdeps/generic/w_exp2f.c: ...here. New file.
4354 * math/w_exp2l.c: Move to ...
4355 * sysdeps/generic/w_exp2l.c: ...here. New file.
4356 * math/w_fmod.c: Move to ...
4357 * sysdeps/generic/w_fmod.c: ...here. New file.
4358 * math/w_fmodf.c: Move to ...
4359 * sysdeps/generic/w_fmodf.c: ...here. New file.
4360 * math/w_fmodl.c: Move to ...
4361 * sysdeps/generic/w_fmodl.c: ...here. New file.
4362 * math/w_hypot.c: Move to ...
4363 * sysdeps/generic/w_hypot.c: ...here. New file.
4364 * math/w_hypotf.c: Move to ...
4365 * sysdeps/generic/w_hypotf.c: ...here. New file.
4366 * math/w_hypotl.c: Move to ...
4367 * sysdeps/generic/w_hypotl.c: ...here. New file.
4368 * math/w_j0.c: Move to ...
4369 * sysdeps/generic/w_j0.c: ...here. New file.
4370 * math/w_j0f.c: Move to ...
4371 * sysdeps/generic/w_j0f.c: ...here. New file.
4372 * math/w_j0l.c: Move to ...
4373 * sysdeps/generic/w_j0l.c: ...here. New file.
4374 * math/w_j1.c: Move to ...
4375 * sysdeps/generic/w_j1.c: ...here. New file.
4376 * math/w_j1f.c: Move to ...
4377 * sysdeps/generic/w_j1f.c: ...here. New file.
4378 * math/w_j1l.c: Move to ...
4379 * sysdeps/generic/w_j1l.c: ...here. New file.
4380 * math/w_jn.c: Move to ...
4381 * sysdeps/generic/w_jn.c: ...here. New file.
4382 * math/w_jnf.c: Move to ...
4383 * sysdeps/generic/w_jnf.c: ...here. New file.
4384 * math/w_jnl.c: Move to ...
4385 * sysdeps/generic/w_jnl.c: ...here. New file.
4386 * math/w_lgamma.c: Move to ...
4387 * sysdeps/generic/w_lgamma.c: ...here. New file.
4388 * math/w_lgammaf.c: Move to ...
4389 * sysdeps/generic/w_lgammaf.c: ...here. New file.
4390 * math/w_lgammaf_r.c: Move to ...
4391 * sysdeps/generic/w_lgammaf_r.c: ...here. New file.
4392 * math/w_lgammal.c: Move to ...
4393 * sysdeps/generic/w_lgammal.c: ...here. New file.
4394 * math/w_lgammal_r.c: Move to ...
4395 * sysdeps/generic/w_lgammal_r.c: ...here. New file.
4396 * math/w_lgamma_r.c: Move to ...
4397 * sysdeps/generic/w_lgamma_r.c: ...here. New file.
4398 * math/w_log10.c: Move to ...
4399 * sysdeps/generic/w_log10.c: ...here. New file.
4400 * math/w_log10f.c: Move to ...
4401 * sysdeps/generic/w_log10f.c: ...here. New file.
4402 * math/w_log10l.c: Move to ...
4403 * sysdeps/generic/w_log10l.c: ...here. New file.
4404 * math/w_log.c: Move to ...
4405 * sysdeps/generic/w_log.c: ...here. New file.
4406 * math/w_logf.c: Move to ...
4407 * sysdeps/generic/w_logf.c: ...here. New file.
4408 * math/w_logl.c: Move to ...
4409 * sysdeps/generic/w_logl.c: ...here. New file.
4410 * math/w_pow.c: Move to ...
4411 * sysdeps/generic/w_pow.c: ...here. New file.
4412 * math/w_powf.c: Move to ...
4413 * sysdeps/generic/w_powf.c: ...here. New file.
4414 * math/w_powl.c: Move to ...
4415 * sysdeps/generic/w_powl.c: ...here. New file.
4416 * math/w_remainder.c: Move to ...
4417 * sysdeps/generic/w_remainder.c: ...here. New file.
4418 * math/w_remainderf.c: Move to ...
4419 * sysdeps/generic/w_remainderf.c: ...here. New file.
4420 * math/w_remainderl.c: Move to ...
4421 * sysdeps/generic/w_remainderl.c: ...here. New file.
4422 * math/w_scalb.c: Move to ...
4423 * sysdeps/generic/w_scalb.c: ...here. New file.
4424 * math/w_scalbf.c: Move to ...
4425 * sysdeps/generic/w_scalbf.c: ...here. New file.
4426 * math/w_scalbl.c: Move to ...
4427 * sysdeps/generic/w_scalbl.c: ...here. New file.
4428 * math/w_sinh.c: Move to ...
4429 * sysdeps/generic/w_sinh.c: ...here. New file.
4430 * math/w_sinhf.c: Move to ...
4431 * sysdeps/generic/w_sinhf.c: ...here. New file.
4432 * math/w_sinhl.c: Move to ...
4433 * sysdeps/generic/w_sinhl.c: ...here. New file.
4434 * math/w_sqrtl.c: Move to ...
4435 * sysdeps/generic/w_sqrtl.c: ...here. New file.
4436 * math/w_tgamma.c: Move to ...
4437 * sysdeps/generic/w_tgamma.c: ...here. New file.
4438 * math/w_tgammaf.c: Move to ...
4439 * sysdeps/generic/w_tgammaf.c: ...here. New file.
4440 * math/w_tgammal.c: Move to ...
4441 * sysdeps/generic/w_tgammal.c: ...here. New file.
4443 * locale/programs/ld-address.c (address_finish): Add 'S' to allow
4444 formats for postal_fmt.
4446 2001-02-16 Jakub Jelinek <jakub@redhat.com>
4448 * sysdeps/unix/sysv/linux/alpha/syscalls.list (ftruncate): Add
4449 __ftruncate64 alias.
4450 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (ftruncate):
4453 2001-02-15 David Mosberger <davidm@hpl.hp.com>
4455 * sysdeps/unix/sysv/linux/ia64/__longjmp.S (__longjmp): No need to
4456 do "loadrs". Writing to bspstore already takes care of
4457 invalidating the "clean" partition.
4459 2001-02-16 Andreas Schwab <schwab@suse.de>
4461 * sysdeps/m68k/fpu/s_nextafterl.c: New file.
4462 * sysdeps/m68k/fpu/s_fpclassifyl.c: New file.
4464 2001-02-15 Jakub Jelinek <jakub@redhat.com>
4466 * posix/regex.c (init_syntax_once): Add prototype.
4467 (TRANSLATE): If MBS_SUPPORT, translate all characters up to '\xff'.
4468 (re_search_2): Avoid warning.
4469 (count_mbs_length): Add prototype.
4470 * posix/tst-regex3.c: New file.
4471 * posix/Makefile (tests): Add bug-regex3.
4473 2001-02-15 Ulrich Drepper <drepper@redhat.com>
4475 * stdio-common/Makefile (tests): Add tst-gets.
4476 * stdio-common/tst-gets.c: New file.
4477 * stdio-common/tst-gets.input: New file.
4479 * elf/elf.h (DT_CHECKSUM): Define.
4481 * sysdeps/generic/strtoll.c: Don't export __strto*_internal as
4483 * sysdeps/generic/strtoull.c: Likewise.
4485 2001-02-14 Wolfram Gloger <wg@malloc.de>
4487 * malloc/malloc.c (new_heap): When allocating large chunk aligned
4488 to HEAP_MAX_SIZE, prefer one with lower address, to avoid `holes'
4491 2001-02-14 Ulrich Drepper <drepper@redhat.com>
4493 * math/libm-test.inc (j0_test): Check whether sincos is available.
4494 (j1_test): Likewise.
4495 (jn_test): Likewise.
4496 (y0_test): Likewise.
4497 (y1_test): Likewise.
4498 (yn_test): Likewise.
4500 * posix/tst-gnuglob.c: Make a few entries DT_UNKNOWN and teach
4501 fake filesystem routines to handle this.
4503 * time/sys/time.h: Make settimeofday and adjtime available if
4506 * time/sys/time.h: Make timer* macros available for BSD.
4508 * iconvdata/gb18030.c: Update for Dec 2000 re-release of GB18030.
4509 Patch by Yong Li <rigel863@yahoo.com>.
4511 * sysdeps/generic/glob.c (CONVERT_DIRENT_DIRENT64): Fix copying of
4514 * posix/Makefile (tests): Add tst-gnuglob.
4515 * posix/tst-gnuglob.c: New file.
4517 2001-02-13 H.J. Lu <hjl@gnu.org>
4519 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add __ftruncate64.
4521 2001-02-13 Ulrich Drepper <drepper@redhat.com>
4523 * locale/programs/ld-paper.c (paper_output): Pretty printing.
4525 * iconvdata/Makefile (modules): Add GBBIG5.
4526 (distribute): Add gbbig5.c.
4527 * iconvdata/gconv-modules: Add entries for GBBIG5 module.
4529 * iconvdata/gbbig5.c: New file.
4530 Contributed by Yong Li <rigel863@yahoo.com>.
4532 2001-02-13 Philip Blundell <pb@futuretv.com>
4534 * manual/crypt.texi: Remove outdated references to crypt add-on.
4536 * manual/creature.texi: Improve wording slightly.
4538 2001-02-13 Ulrich Drepper <drepper@redhat.com>
4540 * io/ftw.c: Always use readdir64.
4541 * io/ftw64.c: Likewise.
4542 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
4543 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
4544 * sysdeps/generic/glob.c: Likewise. Convert results of gl_readdir
4545 callback to dirent. Still allow compiling outside glibc.
4546 * sysdeps/gnu/glob64.c: Define COMPILE_GLOB64.
4547 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
4549 * malloc/mtrace.c: Use fopen64.
4550 * posix/spawni.c: Use __open64.
4551 * sysdeps/unix/opendir.c: Likewise.
4552 * sysdeps/unix/sysv/linux/gethostid.c: Likewise.
4554 * sysdeps/generic/ftruncate64.c: Define __ftruncate64 and make old
4556 * sysdeps/unix/sysv/aix/ftruncate64.c: Likewise.
4557 * sysdeps/unix/sysv/linux/ftruncate64.c: Likewise.
4558 * sysdeps/unix/sysv/linux/mips/ftruncate64.c: Likewise.
4559 * sysdeps/unix/sysv/linux/powerpc/ftruncate64.c: Likewise.
4561 * resolv/res_data.c: Add cast to avoid warning.
4563 * include/unistd.h: Declare __ftruncate64.
4565 * sysdeps/generic/utmp_file.c: Use LFS functions and types.
4567 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use __lseek64
4570 2001-02-13 Andreas Jaeger <aj@suse.de>
4572 * login/getutent_r.c: Include <stdlib.h> for NULL.
4573 * login/getutid_r.c: Likewise.
4575 2001-02-12 Ulrich Drepper <drepper@redhat.com>
4577 * sysdeps/dbl-64/e_j0.c: Little optimization, use sincos.
4578 * sysdeps/dbl-64/e_j1.c: Likewise.
4579 * sysdeps/dbl-64/e_jn.c: Likewise.
4580 * sysdeps/flt-32/e_j0f.c: Likewise.
4581 * sysdeps/flt-32/e_j1f.c: Likewise.
4582 * sysdeps/ldbl-96/e_j0l.c: Likewise.
4584 2000-12-02 H.J. Lu <hjl@gnu.org>
4586 * resolv/res_libc.c (res_init): Don't make it default.
4588 2001-02-12 Ulrich Drepper <drepper@redhat.com>
4590 * manual/debug.texi: Improved the wording.
4591 Patch by Philip Blundell <pb@futuretv.com>.
4593 2001-02-12 Andreas Jaeger <aj@suse.de>
4595 * posix/Makefile (tests): Don't run bug-regex2 when
4598 * libio/Makefile (tests): Don't run test-freopen when
4601 * manual/stdio.texi (Streams and I18N): Fix typos.
4603 2001-02-12 Ulrich Drepper <drepper@redhat.com>
4605 * sysdeps/i386/fpu/libm-test-ulps: Adjust for errors in y0l.
4607 * math/libm-test.inc (j0_test): Make expected results long double
4609 (y0_test): Likewise.
4611 * sysdeps/ieee754/ldbl-96/e_j0l.c: New file.
4612 Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>.
4614 2001-02-11 Jakub Jelinek <jakub@redhat.com>
4616 * sysdeps/generic/strtoll.c (__strtoq_internal): Ressurect alias
4617 which was exported from libc.
4618 * sysdeps/generic/strtoull.c (__strtouq_internal): Likewise.
4620 2001-02-12 Andreas Jaeger <aj@suse.de>
4622 * manual/arith.texi (Parsing of Integers): Fix some wordings.
4624 2001-02-11 Ulrich Drepper <drepper@redhat.com>
4626 * sysdeps/generic/getsysstat.c: Change return value of get_phys_pages
4627 and get_avphys_page to long int.
4628 * sysdeps/unix/sysv/linux/getsysstat.c: Likewise.
4629 * include/sys/sysinfo.h: Likewise.
4630 * sysdeps/generic/sys/sysinfo.h: Likewise.
4631 * sysdeps/unix/sysv/linux/sys/sysinfo.h: Likewise.
4633 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Fail if we
4634 cannot return as many values as the user asked for.
4636 2001-02-11 Andreas Jaeger <aj@suse.de>
4638 * manual/resource.texi (Memory Resources): Fix typo.
4640 * libio/Makefile ($(objpfx)test-freopen.out): Pass
4643 * libio/test-freopen.sh: Use run_program_prefix.
4645 2001-02-10 Andreas Jaeger <aj@suse.de>
4647 * stdlib/Makefile (tests): Don't run tst-fmtmsg when
4649 ($(objpfx)tst-fmtmsg.out): Pass run-program-prefix.
4651 * stdlib/tst-fmtmsg.sh (test): Use run_program_prefix for static
4654 * elf/Makefile (tests): Only run tst-pathopt with shared libs.
4656 * posix/Makefile: Fix typo, it's build-static-nss.
4658 * iconv/Makefile (extra-objs): New.
4660 2001-02-10 Mark Kettenis <kettenis@gnu.org>
4662 * sysdeps/unix/stime.c: Include <time.h>.
4664 * sysdeps/mach/hurd/setitimer.c: Include <time.h>.
4666 2001-02-10 Andreas Jaeger <aj@suse.de>
4668 * manual/string.texi (Search Functions): Fix typo.
4670 2001-02-10 Mark Kettenis <kettenis@gnu.org>
4672 * sysdeps/unix/bsd/times.c: Reorder includes and add <time.h>.
4673 (timeval_to_clock_t): Add clk_tck argument and use that instead of
4675 (__times): Use __getclktck to get the number of clock ticks per
4676 second and use its return value instead of CLK_TCK.
4678 2001-02-10 Mark Kettenis <kettenis@gnu.org>
4680 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h (_HAVE_SA_LEN): Define.
4682 2001-02-10 Mark Kettenis <kettenis@gnu.org>
4684 * sysdeps/mach/gettimeofday.c: Include <stddef.h>.
4686 2001-02-10 Andreas Jaeger <aj@suse.de>
4688 * wctype/wcfuncs.c (func): Add prototype declarations to avoid
4691 2001-02-09 Ulrich Drepper <drepper@redhat.com>
4693 * posix/Makefile: Add rules to build and run bug-regex2.
4694 * posix/bug-regex2.c: New file.
4696 2001-02-10 Jakub Jelinek <jakub@redhat.com>
4698 * posix/regex.c (convert_mbs_to_wcs): Change is_binary to char *.
4699 (regex_compile): Likewise.
4700 (FREE_VARIABLES): Don't free is_binary1 and is_binary2.
4701 (re_match_2_internal): Use just is_binary instead of two variables.
4702 Use REGEX_TALLOC to allocate it and FREE_VAR to free on failure.
4704 2001-02-09 Ulrich Drepper <drepper@redhat.com>
4706 * version.h (VERSION): Bump to 2.2.2.
4708 * iconv/Makefile (distribute): Add iconv_charmap.c and
4710 * elf/Makefile (distribute): Add firstobj.c.
4711 * Makefile (distribute): Add include/pthread.h.
4713 * configure.in: Require makeinfo version 4.
4715 * libio/tst_wscanf.c (main): Add cast to avoid warning.
4716 * libio/tst_swscanf.c (main): Likewise..
4718 2001-02-09 Jakub Jelinek <jakub@redhat.com>
4720 * sysdeps/generic/setenv.c (unsetenv): Remove const from len.
4721 * sysdeps/sparc/fpu/bits/mathinline.h (sqrt, fdim): Don't define if
4723 * sysdeps/i386/dl-machine.h (elf_machine_rel): Only declare refsym
4724 if not RTLD_BOOTSTRAP.
4725 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
4726 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
4728 2001-02-09 Ulrich Drepper <drepper@redhat.com>
4730 * locale/programs/linereader.c (get_ident): Stop loop if EOF. Use
4731 lr_ungetc to push back last read character.
4732 * locale/programs/linereader.h (lr_ungetc): Don't push back is
4734 (lr_ignore_rest): Don't warn about garbage if it is really the end
4737 * manual/Makefile: Use ifnottext and not ifinfo to protect Top node
4740 2001-02-08 Ulrich Drepper <drepper@redhat.com>
4742 * Makerules (build-shlib): Work around different order of
4743 processing of -B option in different gcc versions.
4745 * posix/regex.c: Fix alignment problem.
4746 Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
4748 * sysdeps/alpha/strrchr.S: Little optimization.
4749 Patch by Richard Henderson <rth@redhat.com>.
4751 * sysdeps/alpha/alphaev67/strrchr.S: New file.
4752 Contributed by Rick Gorton <rick.gorton@alpha-processor.com>.
4754 2001-02-08 kaz Kojima <kkojima@rr.iij4u.or.jp>
4756 * sysdeps/sh/sh3/setjmp.S (__sigsetjmp): Correct function name
4757 in the assembler end directive.
4759 2001-02-08 Andreas Jaeger <aj@suse.de>
4761 * manual/stdio.texi (Closing Streams): Fix typos.
4763 2001-02-07 Ulrich Drepper <drepper@redhat.com>
4765 * sysdeps/alpha/alphaev67/strncat.S: Align last write address.
4766 Patch by Richard Henderson <rth@redhat.com>.
4767 Reported by Claus-Justus Heine <heine@instmath.rwth-aachen.de>.
4769 * stdlib/strfmon.c [USE_IN_LIBIO]: Define lock variable and store
4770 pointer in FILE structure before calling _IO_init.
4771 * stdlib/Makefile: Add -D_IO_MTSAFE_IO to CFLAGS for strfmon and
4772 strfmon_l if necessary.
4773 Reported by Jury Gerold <gjury@grips.com>.
4775 * sysdeps/gnu/netinet/tcp.h: Correct values of TCP_ macros.
4776 Patch by Pekka.Pietikainen@cern.ch.
4778 * posix/regex.c: Correct several problems with 64-bit architectures
4779 introduced in the MBS changes.
4780 Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
4782 2001-02-07 Jakub Jelinek <jakub@redhat.com>
4784 * math/tgmath.h: Only add l suffixes if __NO_LONG_DOUBLE_MATH is
4786 * sysdeps/alpha/fpu/bits/mathinline.h: Honour __NO_MATH_INLINES.
4788 2001-02-07 Andreas Jaeger <aj@suse.de>
4790 * manual/install.texi (Tools for Compilation): Fix typo.
4791 Reported by Pavel Machek <pavel@bug.ucw.cz>.
4793 2001-02-07 Ulrich Drepper <drepper@redhat.com>
4795 * stdlib/strtod.c: Never stop prematurely reading digits before the
4796 decimal point is found. Compute exponent limit for negative exponents
4797 correctly. For numbers ending in all zeros eat the zeros even before
4798 the decimal point if the exponent is negative [PR libc/2072].
4799 * stdlib/Makefile (tests): Add bug-strtod.
4800 * stdlib/bug-strtod.c: New file.
4802 2001-02-07 Andreas Jaeger <aj@suse.de>
4804 * posix/bug-regex1.c: Include <wchar.h> for fwide.
4806 2001-02-06 Ulrich Drepper <drepper@redhat.com>
4808 * posix/regex.c (regex_compile): Don't store pointer in wchar_t array.
4810 (compile_range): Handle index being passed, not pointer.
4811 Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
4813 * posix/regex.c: Fix a cast in the code for bracket handling which
4814 caused 8-bit uncleanliness.
4815 Patch by Michal Jaegermann <michal@ellpspace.math.ualberta.ca>.
4817 * posix/Makefile (tests): Add bug-regex1.
4818 * posix/bug-regex1.c: New file.
4819 Contributed by Jim Meyering <jim@meyering.net>.
4821 * posix/regex.c: Many cleanups for incorrect format strings.
4823 2001-02-06 Andreas Jaeger <aj@suse.de>
4825 * time/time.h (CLK_TCK): Check for !__STRICT_ANSI.
4827 2001-02-06 Ulrich Drepper <drepper@redhat.com>
4829 * locale/programs/locale.c (write_locales): Use scandir to read
4830 directory so that the entries are sorted.
4832 2001-02-06 Andreas Jaeger <aj@suse.de>
4834 * include/pthread.h: New file.
4836 * wctype/wctype.h: Move internal interfaces from here to...
4837 * include/wctype.h: ...here.
4839 * wcsmbs/wchar.h: Move __wcslen from here to...
4840 * include/wchar.h: ...here.
4842 * posix/sys/wait.h: Move __wait from here to...
4843 * include/sys/wait.h: ...here.
4845 * string/string.h: Move __ffs and __strerror_r from here to...
4846 * include/string.h: ...here.
4848 * stdlib/stdlib.h: Move __on_exit from here to...
4849 * include/stdlib.h: ...here.
4851 * libio/stdio.h: Move __vsnprintf from here to...
4852 * include/stdio.h: ...here.
4854 2001-02-06 Andreas Schwab <schwab@suse.de>
4856 * sysdeps/unix/sysv/linux/ia64/ioperm.c: Don't include kernel
4859 * timezone/Makefile: Don't assume that $(inst_zonedir) is a subdir
4862 2001-02-06 Ulrich Drepper <drepper@redhat.com>
4864 * iconvdata/Makefile: Add dependency for bug-iconv2.out.
4866 2001-02-06 Andreas Jaeger <aj@suse.de>
4868 * elf/firstobj.c: Add prototype.
4870 * posix/regex.c (convert_mbs_to_wcs): Make static, add prototype
4871 (truncate_wchar): Likewise.
4873 2001-02-06 Ulrich Drepper <drepper@redhat.com>
4875 * locale/programs/locale.c: Implement --verbose option for -a
4876 which prints detailed information about the locales.
4878 2001-02-05 Ulrich Drepper <drepper@redhat.com>
4880 * sunrpc/xdr_rec.c (set_input_fragment): Change type of header
4881 variable to uint32_t.
4882 Reported by Ulrich Weigand <weigand@immd1.informatik.uni-erlangen.de>.
4884 2001-02-04 Bruno Haible <haible@clisp.cons.org>
4886 * locale/C-translit.h.in: Add transliterations for CJK units of
4889 2001-02-05 Ulrich Drepper <drepper@redhat.com>
4891 * elf/cache.c (print_entry): Use PRIx64 instead of Lx in printf
4892 string. Include <inttypes.h> instead of <stdint.h>.
4894 * localedata/Makefile (tests): Add bug-iconv-trans.
4895 Define bug-iconv-trans-ENV.
4896 * localedata/bug-iconv-trans.c: New file.
4898 2001-02-04 Bruno Haible <haible@clisp.cons.org>
4900 * iconv/gconv_trans.c (__gconv_transliterate): Use a temporary output
4901 pointer, to avoid accumulating output from incomplete (unsuccessful)
4902 transliteration attempts.
4904 2001-02-05 Ulrich Drepper <drepper@redhat.com>
4906 * elf/ldconfig.c (search_dir): Use PRIx64 instead of Lx in printf
4907 string. Include <inttypes.h> instead of <stdint.h>.
4909 * configure.in: Add check for bison.
4910 * config.make.in: Define BISON variable.
4911 * intl/Makefile: Use BISON instead of YACC when generating plural.c.
4912 Rename YFLAGS to BISONFLAGS.
4914 2001-02-05 Andreas Jaeger <aj@suse.de>
4916 * io/test-lfs.c (do_test): Test lseek64 return value, call
4918 (test_ftello): New function to test ftello64 and fseeko64.
4920 * signal/signal.h: Move __sigaction from here to...
4921 * include/signal.h: ...here.
4923 * io/fcntl.h: Move __fcntl and __open to...
4924 * include/fcntl.h: ...here.
4926 2001-02-04 Philip Blundell <philb@gnu.org>
4928 * configure.in: Distinguish ARM from Thumb.
4930 2001-02-04 Philip Blundell <philb@gnu.org>
4932 * sysdeps/arm/dl-machine.h (elf_machine_rel): Correct handling of
4933 PC24 relocs with negative value.
4935 2001-02-04 Ulrich Drepper <drepper@redhat.com>
4937 * iconv/Makefile (iconv_prog-modules): Define. Add vpath to find
4938 files in locale/programs. Add CFLAGS definition to allow compiling
4940 * iconv/dummy-repertoire.c: New file.
4941 * iconv/iconv_charmap.c: New file.
4942 * iconv/iconv_prog.h: New file.
4943 * iconv/iconv_prog.c: Make verbose and omit_invalid global.
4944 (main): If parameter for -f and -t contain slashes try first to resolve
4945 the strings as filenames of charmap files. Use them for conversion
4947 * iconvdata/run-iconv-test.sh: If charmaps exist also run tests with
4948 iconv getting charmap names as parameters.
4949 * locale/programs/linereader.c (lr_token): Take extra parameters
4950 verbose and pass it to get_string.
4951 (get_string): Take extra parameters verbose.
4952 * locale/programs/charmap.c (parse_charmap): Take extra parameters
4953 verbose and be_quiet. Change all callers of lr_token and
4955 * locale/programs/charmap.h: Likewise.
4956 * locale/programs/ld-address.c: Likewise.
4957 * locale/programs/ld-collate.c: Likewise.
4958 * locale/programs/ld-ctype.c: Likewise.
4959 * locale/programs/ld-identification.c: Likewise.
4960 * locale/programs/ld-measurement.c: Likewise.
4961 * locale/programs/ld-messages.c: Likewise.
4962 * locale/programs/ld-monetary.c: Likewise.
4963 * locale/programs/ld-name.c: Likewise.
4964 * locale/programs/ld-numeric.c: Likewise.
4965 * locale/programs/ld-paper.c: Likewise.
4966 * locale/programs/ld-telephone.c: Likewise.
4967 * locale/programs/ld-time.c: Likewise.
4968 * locale/programs/linereader.c: Likewise.
4969 * locale/programs/linereader.h: Likewise.
4970 * locale/programs/localedef.c: Likewise.
4971 * locale/programs/locfile.c: Likewise.
4972 * locale/programs/locfile.h: Likewise.
4973 * locale/programs/repertoire.c: Likewise.
4975 2001-02-03 Ulrich Drepper <drepper@redhat.com>
4977 * iconv/iconv_prog.c (main): If output file name is "-" write to
4979 (main): If -f or -t argument is missing use charset of the current
4982 2001-02-03 Andreas Jaeger <aj@suse.de>
4984 * sysdeps/i386/elf/start.S (_start): Align stack to 16-byte
4985 boundary for SSE/SSE-2 alignment.
4987 * posix/Makefile ($(objpfx)annexc.out): Also pass sysincludes to
4990 2001-02-03 Ulrich Drepper <drepper@redhat.com>
4992 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: File was using crlf.
4993 Remove comma at end of enum.
4995 * elf/dl-init.c: Add a few __builtin_expect.
4997 * hesiod/hesiod.c: Remove unnecessary code. Remove all uses of strcat.
4999 2001-02-02 Ulrich Drepper <drepper@redhat.com>
5001 * hesiod/hesiod.c (hesiod_resolve): Also search HS records if
5002 errno is ECONNREFUSED.
5004 * posix/Makefile: Define MBS_SUPPORT for regex.c.
5005 * posix/regex.c: Implement multibyte character handling.
5006 Patch by Isamu Hasegawa <isamu@yamato.ibm.co.jp>.
5008 * string/tst-svc.input: Add two more test cases.
5009 * string/tst-svc.expect: Modify to reflect new test cases.
5011 2001-02-01 Jakub Jelinek <jakub@redhat.com>
5013 * sysdeps/posix/getaddrinfo.c (gaih_local, gaih_inet): Replace all
5014 tp->name tests with tp->name[0] tests.
5016 2001-01-29 Ben Collins <bcollins@debian.org>
5018 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r):
5019 Fix check for name == NULL.
5021 2001-02-01 Ulrich Drepper <drepper@redhat.com>
5023 * elf/Makefile: Add rules to build and run initfirst test.
5024 * elf/initfirst.c: New file.
5025 * elf/firstobj.c: New file.
5027 * Makerules (build-shlib): Add $(extra-B-$(@F:lib%.so=%).so).
5028 * configure.in: Test for -z initfirst linker option.
5029 * config.make.in: Add have-z-initfirst.
5030 * elf/dl-init.c (_dl_init): Split out actual initialization code in
5031 new function call_init. If _dl_initfirst is non-NULL initialize first.
5032 * elf/dl-load.c (_dl_map_from_fd): If DF_1_INITFIRST flag is set
5033 remember object in _dl_initfirst.
5034 * elf/soinit.c: Remove special support for calling
5035 __pthread_initialize_minimal.
5037 * conform/conformtest.pl: Add missing $prepend in type test.
5039 2001-01-31 Ulrich Drepper <drepper@redhat.com>
5041 * elf/elf.h (SHT_CHECKSUM): New definition.
5043 * posix/fnmatch_loop.c: Remove incorrect reverse condition in
5044 [. .] matching. Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
5045 * posix/tst-fnmatch.input: Add tests for [. .] in locales.
5047 2001-01-31 Mark Kettenis <kettenis@gnu.org>
5049 * misc/sys/select.h: Include <bits/time.h> instead of <sys/time.h>
5050 to get definition of `struct timeval'.
5052 2001-01-31 Ulrich Drepper <drepper@redhat.com>
5054 * posix/tst-fnmatch.input: Add test cases for de_DE.UTF-8 locale.
5055 * posix/fnmatch_loop.c: Fix handling of [= =] for multibyte charsets.
5057 2001-01-30 Ulrich Drepper <drepper@redhat.com>
5059 * iconv/gconv_open.c (__gconv_open): Set conv_flags if IGNORE is
5062 * nis/nis_findserv.c: Include <time.h>.
5064 2001-01-30 Yong Li <yong.li@asu.edu>
5066 * iconv/iconv_prog.c (main): Correct error handling method name.
5068 2001-01-29 Ben Collins <bcollins@debian.org>
5070 * sysdeps/sparc/fpu/fraiseexcpt.c: Include <float.h>.
5071 * sysdeps/hppa/fpu/fraiseexcpt.c: Likewise.
5072 * sysdeps/m68k/fpu/fraiseexcpt.c: Likewise.
5073 * sysdeps/s390/fpu/fraiseexcpt.c: Likewise.
5075 2001-01-30 Ulrich Drepper <drepper@redhat.com>
5077 * locale/programs/ld-measurement.c (measurement_finish): Fix a typo.
5078 Patch by Marko Myllynen <myllynen@lut.fi>.
5080 * string/bits/string2.h (__strpbrk_c2): Correct parameter types
5081 (int instead of char).
5082 (__strpbrk_c3): Likewise.
5083 Reported by GOTO Masanori <gotom@debian.or.jp>.
5085 * sysdeps/generic/bits/sockaddr.h: Remove SA_LEN macro.
5086 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Likewise.
5087 * include/sys/socket.h: Add SA_LEN here for internal use.
5088 Reported by Arkadiusz Miskiewicz <misiek@pld.ORG.PL>.
5090 2001-01-29 Ulrich Drepper <drepper@redhat.com>
5092 * malloc/Makefile: Don't build memusagestat if cross-compiling.
5094 * sysdeps/generic/dl-sysdep.c (set_seen): Fix typo.
5096 * math/libm-test.inc (rint_test): Add a few more tests for round
5099 2001-01-28 Ulrich Drepper <drepper@redhat.com>
5101 * conform/data/pthread.h-data: Correct return type of pthread_exit.
5103 * conform/conformtest.pl: Add -fno-builtin to CFLAGS.
5105 * conform/data/stdlib.h-data: Add _Exit.
5107 * inet/arpa/inet.h: Don't include <sys/types.h>. Define socklen_t
5108 if not already happened.
5109 * inet/netinet/in.h: Don't include <sys/types.h>, use <bits/types.h>.
5110 Don't include <limits.h> and <bits/sockaddr.h>.
5112 * conform/data/netinet/in.h-data: Allow all of <inttypes.h>.
5114 * conform/data/spawn.h-data: Allow all of <sched.h>.
5116 * sysdeps/ia64/fpu/fraiseexcpt.c: Include <float.h>. Removed
5119 * sunrpc/xdr_rec.c (xdrrec_getpos): Add cast to long to avoid warning.
5120 * sunrpc/xdr_sizeof.c (x_inline): Likewise.
5122 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Include <float.h>.
5124 * conform/conformtest.pl: Define $mustprepend{"stdio.h"}.
5125 * libio/stdio.h: Define va_list correctly.
5127 * conform/data/pthread.h-data: Make priority protocol related
5128 functions optional. Fix typos.
5130 * posix/sched.h: Define sched_priority as __sched_priority.
5131 * sysdeps/generic/bits/sched.h (struct sched_param): Rename element
5132 to __sched_priority.
5133 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
5135 2001-01-27 Ulrich Drepper <drepper@redhat.com>
5137 * sysdeps/generic/clock_getcpuclockid.c: Include <time.h> instead
5140 * sysdeps/unix/stime.c: Include <stddef.h> for NULL.
5141 * sysdeps/unix/time.c: Likewise.
5143 * conform/data/time.h-data: CLK_TCK is not in XPG6. Fix tzname entry.
5144 * sysdeps/mach/hurd/bits/time.h: Don't define CLK_TCK for XPG6.
5145 * sysdeps/mach/hurd/i386/bits/time.h: Likewise.
5146 * sysdeps/unix/sysv/linux/bits/time.h: Likewise.
5147 * sysdeps/unix/sysv/linux/alpha/bits/time.h: Likewise.
5148 * sysdeps/unix/sysv/linux/i386/bits/time.h: Likewise.
5149 * sysdeps/unix/sysv/linux/ia64/bits/time.h: Likewise.
5150 * time/time.h: Likewise.
5152 * conform/conformtest.pl (@headers): Add complex.h and tgmath.h.
5153 * conform/data/complex.h-data: New file.
5154 * conform/data/tgmath.h-data: New file.
5156 * conform/data/wchar.h-data: Add missing functions.
5158 * sysdeps/gnu/bits/utmpx.h: Define RUN_LVL only if __USE_GNU.
5160 * conform/data/termios.h-data: Add missing const in tcsetattr()
5163 * posix/sys/wait.h: Include <signal.h> and <sys/resource.h>.
5164 Don't define pid_t here.
5166 * conform/data/sys/utsname.h-data: Don't provide fixed array sizes.
5168 * conform/data/sys/time.h-data: Allow sys/select.h.
5169 * conform/data/sys/un.h-data: Fix typo.
5170 * time/sys/time.h: Don't include all of <time.h>, just struct timeval.
5171 * sysdeps/posix/clock_getres.c: Include <time.h> instead of
5173 * sysdeps/unix/clock_nanosleep.c: Likewise.
5174 * sysdeps/unix/i386/clock_getcpuclockid.c: Likewise.
5175 * sysdeps/unix/i386/i586/clock_getres.c: Likewise.
5176 * sysdeps/unix/clock_gettime.c: Also include <time.h>.
5177 * sysdeps/unix/clock_settime.c: Likewise.
5179 * sysdeps/generic/pselect.c: Include <stddef.h> for NULL.
5180 * login/getutent.c: Likewise.
5181 * login/getutid.c: Likewise.
5182 * login/getutline.c: Likewise.
5184 * socket/sys/un.h: Define SUN_LEN only if __USE_MISC.
5186 * sysdeps/unix/sysv/linux/bits/statvfs.h: Change type of f_fsid field
5187 to unsigned long. Add __f_unused. Define _STATVFSBUF_F_UNUSED.
5188 * sysdeps/unix/sysv/linux/internal_statvfs.c: Adjust initialization of
5189 f_fsid field after change in struct statvfs.
5190 * sysdeps/unix/sysv/linux/alpha/bits/statvfs.h: New file.
5191 * sysdeps/unix/sysv/linux/ia64/bits/statvfs.h: New file.
5192 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/statvfs.h: New file.
5194 * conform/data/sys/stat.h-data: Remove isfdtype. Use
5197 * conform/data/sys/socket.h-data: Fix typos. Correct getsockopt,
5198 recvfrom, send, and socketpair prototypes. Add allow lines.
5199 * socket/sys/socket.h: Include <sys/uio.h>.
5200 Don't use fancy __SOCKADDR_ARG definition unless __USE_GNU.
5201 Fix type of second parameter of listen.
5202 Don't declare isfdtype unless __USE_MISC.
5203 * sysdeps/generic/listen.c: Fix type of second parameter of listen.
5204 * sysdeps/mach/hurd/listen.c: Likewise.
5205 * sysdeps/generic/bits/socket.h (struct sockaddr_storage): Define
5206 ss_family and __ss_family.
5207 * sysdeps/unix/sysv/aix/bits/socket.h: Likewise.
5208 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
5209 (struct msghdr): Change type of msg_iovlen to int and type of
5210 msg_controllen to socklen_t.
5211 * sysdeps/unix/sysv/linux/alpha/bits/socket.h: New file.
5212 * sysdeps/unix/sysv/linux/ia64/bits/socket.h: New file.
5213 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/socket.h: New file.
5214 * inet/rcmd.c (rcmd_af): __ss_family is now ss_family.
5215 (rresvport_af): Likewise.
5217 * conform/data/sys/shm.h-data: SHMLBA is not required to by a constant.
5218 * conform/conformtest.pl: Implement handling of symbol.
5220 * signal/signal.h: Fix handling of __need_* symbols.
5221 * misc/sys/select.c: Define fd_set here. Remove __fd_set. Define
5222 fd_mask only if __USE_MISC. Declare pselect for __USE_XOPEN2K.
5223 * include/sys/select.h: Use fd_set not __fd_set.
5224 * sysdeps/generic/bits/select.h: Likewise.
5225 * sysdeps/i386/bits/select.h: Likewise.
5226 * sysdeps/generic/bits/types.h: Don't define __fd_mask, __NFDBITS,
5227 __FDELT, __FDMASK, and __fd_set here.
5228 * sysdeps/unix/sysv/aix/bits/types.h: Likewise.
5229 * sysdeps/unix/sysv/hpux/bits/types.h: Likewise.
5230 * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
5231 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
5232 * sysdeps/unix/sysv/linux/ia64/bits/types.h: Likewise.
5233 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
5234 * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
5235 * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
5236 * time/sys/time.h: Define struct timeval before including <time.h>
5239 * conform/data/sys/time.h-data: fd_set is a typedef.
5240 * conform/data/sys/select.h-data: New file.
5241 * conform/data/sys/mman.h-data: Make typed mem stuff optional.
5242 * conform/conformtest.pl (@headers): Add sys/select.h.
5243 (type, optional-type): Unless testing a typedef instantiate object.
5244 Implement optional-function.
5246 * math/test-misc.c: Include <float.h>.
5248 2001-01-27 Andreas Jaeger <aj@suse.de>
5250 * misc/efgcvt_r.c: Include <float.h>.
5252 2001-01-26 Ulrich Drepper <drepper@redhat.com>
5254 * conform/data/stdlib.h-data: Account for XPG6 changes.
5255 * stdlib/stdlib.h (__random): Change return value type to long.
5256 (posix_memalign): Cleanup parameter names.
5257 (setenv, unsetenv): Make available for __USE_XOPEN2K.
5258 Change return type of unsetenv to int.
5259 (qecvt, qgcvt, qfcvt): Declare only if __USE_MISC.
5260 * include/stdlib.h: Change return type of unsetenv to int.
5261 Change return type of random to long int.
5262 * sysdeps/generic/setenv.c (unsetenv): Change return type to int.
5263 Return -1 and set errno if parameter is invalid.
5264 * stdlib/random.c (__random): Change return value type to long.
5266 * conform/data/stdio.h-data: Account for changes in XPG6.
5268 * conform/data/spawn.h-data: Correct posix_spawnattr_setflags
5271 * conform/conformtest.pl: Define $mustprepend{"signal.h"}.
5272 * conform/data/signal.h-data: Fix sigev_notify_function entry.
5273 Fix typo (SIGVALRM -> SIGVTALRM).
5274 * sysdeps/unix/sysv/linux/bits/siginfo.h: Define sigev_notify_attr
5276 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Likewise.
5277 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
5278 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Likewise.
5279 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
5280 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/siginfo.h: Likewise.
5282 * conform/conformtest.pl: Implement optional-element. Define
5283 $mustprepend{"sched.h"}.
5284 * conform/data/sched.h-data: Make sporadic scheduler definitions
5287 * pwd/pwd.h: Don't define getpwent_r for XPG.
5289 * io/sys/poll.h: Define nfds_t and use it in poll prototype.
5290 * sysdeps/generic/poll.c: Use nfds_t type in function definition.
5291 * sysdeps/mach/hurd/poll.c: Likewise.
5292 * sysdeps/unix/bsd/poll.c: Likewise.
5293 * sysdeps/unix/sysv/linux/poll.c: Likewise.
5294 * sysdeps/unix/sysv/aix/poll.c: Likewise.
5295 * sysdeps/generic/bits/poll.h: Define NPOLLFILE only if __USE_MISC.
5296 * sysdeps/unix/sysv/linux/bits/poll.h: Likewise.
5297 * sysdeps/unix/sysv/linux/m68k/bits/poll.h: Likewise.
5298 * sysdeps/unix/sysv/linux/mips/bits/poll.h: Likewise.
5299 * sysdeps/unix/sysv/linux/sparc/bits/poll.h: Likewise.
5300 * conform/data/poll.h-data: Fix typo in poll prototype.
5302 * sysdeps/gnu/netinet/tcp.h: Define everything but TCP_ macros
5304 * conform/data/netinet/tcp.h-data: Reserved prefix TCP_.
5306 * sysdeps/gnu/net/if.h: Cleanup namespace. Define IF_NAMESIZE.
5308 * inet/netinet/in.h: Make IPPROTO_ constants also macros.
5310 * conform/conformtest.pl: Implement optional-type.
5312 * resolv/netdb.h: Include <netinet/in.h> not <sys/socket.h>. Include
5313 <rpc/netdb.h> only if __USE_MISC. Include <stdint.h> instead of
5314 defining uint32_t here. Define IPPORT_RESERVED.
5315 (struct hostent): Type of h_length element is int.
5316 (getnameinfo): Type of flags parameter is unsigned int.
5317 * inet/getnameinfo.c (getnameinfo): flags argument is unsigned.
5318 * conform/data/netdb.h-data: Add many missing definitions.
5320 * conform/conformtest.pl: Implement optional-macro.
5321 * conform/data/math.h-data: Update for XPG6.
5323 * math/math.h (HUGE): Define as FLT_MAX value but don't use
5324 FLT_MAX. Don't include <float.h>.
5325 (MAXFLOAT): Likewise.
5327 * math/math.h: Define MATH_ERRNO and MATH_ERREXCEPT.
5329 * include/bits/xopen_lim.h: Don't define FOPEN_MAX here.
5331 * conform/data/limits.h-data: Mark constants as optional wherever
5334 * posix/bits/posix2_lim.h: Set correct values for
5335 _POSIX2_COLL_WEIGHTS_MAX and _POSIX2_CHARCLASS_NAME_MAX. Remove
5338 * posix/bits/posix1_lim.h: Define _POSIX_TZNAME_MAX as 6.
5341 * intl/loadmsgcat.c: Include <locale.h.> for _LIBC.
5343 * conform/data/netinet/in.h-data: Add reserved prefixes.
5345 * conform/data/arpa/inet.h-data: Fix a few typos.
5347 2001-01-26 Andreas Jaeger <aj@suse.de>
5349 * sysdeps/generic/strtol.c: Include <locale.h>
5350 * stdlib/strtod.c: Likewise
5351 * stdlib/strfmon.c: Likewise.
5352 * string/strcoll.c: Likewise.
5353 * string/strxfrm.c: Likewise.
5354 * wctype/wcfuncs_l.c: Likewise.
5355 * wctype/wctype_l.c: Likewise.
5356 * wctype/wctrans_l.c: Likewise.
5358 * include/bits/locale.h: New file.
5360 2001-01-26 Ulrich Drepper <drepper@redhat.com>
5362 * locale/langinfo.h: Correct logic in #ifs when defining YESSTR
5365 * locale/Makefile (headers): Add bits/locale.h.
5366 * locale/langinfo.h: Don't include <locale.h>. Include <bits/locale.h>
5367 and use __LC_ constants instead of LC_.
5368 * locale/locale.h: Include <bits/locale.h> and define LC_ constants
5369 using __LC_ constants.
5370 * locale/bits/locale.h: New file.
5371 * locale/loadlocale.c: Include <locale.h>.
5372 * locale/nl_langinfo.h: Likewise.
5374 * posix/glob.h: Cleanup namespace for non-_GNU_SOURCE case.
5376 * io/sys/stat.h: Define S_IFSOCK for XPG6.
5378 * conform/data/fcntl.h-data: posix_madvise is not expected here.
5380 * conform/conformtest.pl: Fix handling of macro-str.
5382 * conform/data/inttypes.h-data: Add missing definition and all of
5385 * sysdeps/unix/sysv/linux/sys/param.h (MAXSYMLINKS): Bump to 20.
5387 2001-01-25 Ulrich Drepper <drepper@redhat.com>
5389 * conform/conformtest.pl (@headers): Add stdint.h.
5390 * conform/data/stdint.h-data: New file.
5392 * conform/conformtest.pl: Recognize options --headers and
5393 --dialect. Add dialect-specific CFLAGS.
5395 * conform/conformtest.pl: Implement handling of recursive
5398 * conform/data/locale.h-data: Add new struct lconv members.
5400 * posix/wordexp.h: Correct definition of wordexp_t.
5401 * posix/wordexp.c: Moved to ...
5402 * sysdeps/generic/wordexp.c: ...here. New file.
5403 * sysdeps/unix/sysv/linux/alpha/wordexp.c: New file.
5404 * sysdeps/unix/sysv/linux/ia64/wordexp.c: New file.
5405 * sysdeps/unix/sysv/linux/sparc/sparc64/wordexp.c: New file.
5406 * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.2.2): Add
5408 * sysdeps/unix/sysv/linux/ia64/Versions: Likewise.
5409 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions: Likewise.
5411 * math/tgmath.h: Pretty printing.
5413 * math/Makefile (tests): Add test-tgmath.
5414 (CFLAGS-test-tgmath.c): New variable.
5415 * math/test-tgmath.c: New file. Contributed by Jakub Jelinek.
5417 * conform/conformtest.pl: Handle allow-header in secondary headers
5420 * conform/data/fcntl.h-data: Mark symbols introduced in XPG6 with
5423 * conform/data/netinet/in.h-data: Use correct comment character.
5424 * conform/data/sys/stat.h-data: Likewise.
5426 2001-01-25 Jakub Jelinek <jakub@redhat.com>
5428 * math/tgmath.h (__TGMATH_BINARY_FIRST_REAL_ONLY,
5429 __TGMATH_BINARY_REAL_ONLY, __TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY,
5430 __TGMATH_TERNARY_REAL_ONLY): Use proper arguments to
5431 __builtin_classify_type, add ##f suffixes where appropriate.
5432 (__TGMATH_UNARY_REAL_IMAG): Remove extraneous left parenthesis.
5433 (__TGMATH_BINARY_REAL_IMAG): Likewise, use proper arguments to
5434 __builtin_classify_type.
5435 (fma): Fix spelling of first argument.
5437 2001-01-25 Ulrich Drepper <drepper@redhat.com>
5439 * conform/data/unistd.h-data: Mark functions removed in XPG6
5442 * posix/unistd.h: Don't make functions removed in XPG6 available if
5445 * conform/conformtest.pl: Implement optional-constant.
5446 * conform/data/unistd.h-data: Use optional-constant wherever
5449 * sysdeps/generic/bits/confname.h: Correct names of _SC_PBS
5450 constants and add _SC_STREAMS.
5451 * sysdeps/posix/sysconf.c (__sysconf): Likewise.
5453 * sysdeps/unix/sysv/linux/statvfs64.c: Rename to __statvfs64 and
5454 make old name weak alias.
5455 * sysdeps/generic/statvfs64.c: Likewise.
5456 * sysdeps/unix/sysv/linux/fstatvfs64.c: Rename to __fstatvfs64 and
5457 make old name weak alias.
5458 * sysdeps/generic/fstatvfs64.c: Likewise.
5459 * include/sys/statvfs.h: New file.
5461 * sysdeps/generic/bits/confname.h: Define _PC_REC_INCR_XFER_SIZE,
5462 _PC_REC_MAX_XFER_SIZE, _PC_REC_MIN_XFER_SIZE, and
5464 * sysdeps/posix/pathconf.c (__pathconf): Implement handling of
5465 _PC_REC_INCR_XFER_SIZE, _PC_REC_MAX_XFER_SIZE,
5466 _PC_REC_MIN_XFER_SIZE, and _PC_REC_XFER_ALIGN.
5467 * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
5469 * conform/conformtest.pl: Run Unix tests for XPG6.
5470 Implement handling of known namespace violations.
5471 Improve printing of results.
5473 * posix/unistd.h (usleep): Correct return type.
5474 * sysdeps/unix/sysv/linux/usleep.c: Correct return type.
5475 * sysdeps/unix/bsd/usleep.c: Correct return type.
5476 * sysdeps/mach/usleep.c: Correct return type.
5477 * sysdeps/generic/usleep.c: Correct return type.
5479 * posix/unistd.h (sync): Correct return type.
5480 * sysdeps/generic/sync.c: Likewise.
5481 * sysdeps/mach/hurd/sync.c: Likewise.
5483 * sysdeps/generic/bits/confname.h (_SC_IOV_MAX): New definition.
5485 * posix/unistd.h: Make seteuid and setegid available for XPG6.
5487 * wcsmbs/wchar.h: Get FILE definition for XPG5.
5489 * conform/data/ctype.h-data: Use correct comment form.
5490 * conform/data/errno.h-data: Likewise.
5491 * conform/data/math.h-data: Likewise.
5492 * conform/data/mqueue.h-data: Likewise.
5493 * conform/data/netdb.h-data: Likewise.
5494 * conform/data/pthread.h-data: Likewise.
5496 2001-01-24 Ulrich Drepper <drepper@redhat.com>
5498 * conform/data/wordexp.h-data: Fix typo.
5500 * conform/conformtest.pl: Handle allow-header correctly.
5502 * conform/data/time.h-data: Use correct comment form.
5504 * conform/conformtest.pl (checknamespace): Ignore #undef lines.
5506 * configure.in: Comment out binutils version test.
5508 * stdlib/strtod.c (str_to_mpn): Correct parsing of thousands
5510 Reported by Lagardere Jean-Francois <LAGARDEREJ@thmulti.com>.
5512 * stdlib/tst-strtod.c (locale_test): New function.
5513 (main): Call locale_test.
5514 * stdlib/Makefile (tst-strtod-ENV): New variable.
5516 2001-01-24 Mark Kettenis <kettenis@gnu.org>
5518 * hurd/hurdsig.c (_hurdsig_getenv): Remove spurious innermost
5519 declaration of value such that we actually return the value of the
5520 environment variable.
5522 2001-01-24 Andreas Jaeger <aj@suse.de>
5524 * sysdeps/unix/sysv/linux/init-first.c: Remove extra __sysctl
5526 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
5528 * include/sys/sysctl.h: New file.
5530 2001-01-23 Andreas Jaeger <aj@suse.de>
5532 * stdlib/Makefile ($(objpfx)isomac.out): Also pass sysincludes to
5535 * elf/dl-load.c (_dl_init_paths): Don't use strdupa in function
5536 arguments. Reported by Jiri Kubicek <kubicek@bitsmart.com>,
5537 closes PR libc/2039.
5539 * manual/install.texi (Tools for Compilation): Change required
5542 2001-01-22 Andreas Jaeger <aj@suse.de>
5544 * configure.in: Add test for new enough binutils version, move
5545 compiler/binutils test up.
5547 * Versions.def: Add version GLIBC_2.2.2.
5549 2001-01-21 Ulrich Drepper <drepper@redhat.com>
5551 * iconvdata/TESTS: UTF-8 test data for IBM932 and IBM943 are now
5553 * iconvdata/testdata/IBM932: New file.
5554 * iconvdata/testdata/IBM932..UTF8: New file.
5555 * iconvdata/testdata/IBM943: New file.
5556 * iconvdata/testdata/IBM943..UTF8: New file.
5557 Contributed by Masahide Washizawa <washi@jp.ibm.com>.
5559 2001-01-21 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
5561 * sysdeps/unix/sysv/linux/powerpc/mmap64.c: Correctly mask offset.
5563 2001-01-21 Ulrich Drepper <drepper@redhat.com>
5565 * malloc/malloc.c: Remove a few unnecessary initializers of global
5568 2000-12-09 H.J. Lu <hjl@gnu.org>
5570 * nss/Makefile (routines): Add digits_dots.
5571 * nss/Versions (libc): Add __nss_hostname_digits_dots to GLIBC_2.2.2.
5572 * nss/digits_dots.c (__nss_hostname_digits_dots): Turn template
5574 * nss/nsswitch.h (__nss_hostname_digits_dots): New internal NSS
5576 * nss/getXXbyYY.c (H_ERRNO_VAR_P): New definition.
5577 (TYPE_VAR_P): Likewise.
5578 (FLAGS_VAR): Likewise.
5579 (AF_VAR_P): Likewise.
5580 (INTERNAL (REENTRANT_NAME)): Call __nss_hostname_digits_dots ()
5581 instead of including digits_dots.c.
5582 * nss/getXXbyYY_r.c (H_ERRNO_VAR_P): New definition.
5583 (TYPE_VAR_P): Likewise.
5584 (FLAGS_VAR): Likewise.
5585 (AF_VAR_P): Likewise.
5586 (INTERNAL (REENTRANT_NAME)): Call __nss_hostname_digits_dots ()
5587 instead of including digits_dots.c.
5589 2001-01-21 Ulrich Drepper <drepper@redhat.com>
5591 * sysdeps/posix/getaddrinfo.c: Reduce .data size.
5593 2001-01-21 Andreas Jaeger <aj@suse.de>
5595 * elf/constload2.c: Add prototype for init.
5597 2001-01-21 Ulrich Drepper <drepper@redhat.com>
5599 * stdlib/stdlib.h (drand48_data): Make available only for
5600 __USE_MISC. Rename elements to protect namespace. Change type
5601 and position of a and init element.
5602 * stdlib/drand48-iter.c: Don't handle unsigned short > 16 bit
5603 differently. Adjust for drand48_data change. Don't compute a here,
5604 it comes from drand48_data.
5605 * stdlib/lcong48_r.c: Don't handle unsigned short > 16 bit
5606 differently. Adjust for drand48_data change. Compute a here.
5607 * stdlib/srand48_r.c: Likewise.
5608 * stdlib/drand48.c: Adjust for drand48_data change.
5609 * stdlib/lrand48.c: Likewise.
5610 * stdlib/mrand48.c: Likewise.
5611 * stdlib/seek48.c: Likewise.
5612 * stdlib/drand48_r.c: Likewise.
5613 * stdlib/lrand48_r.c: Likewise.
5614 * stdlib/mrand48_r.c: Likewise.
5615 * stdlib/seed48_r.c: Likewise. Don't handle unsigned short > 16 bit
5617 * stdlib/erand48_r.c: Don't handle unsigned short > 16 bit differently.
5618 * stdlib/jrand48_r.c: Likewise.
5620 * po/sv.po: Update from translation team.
5622 2001-01-21 Andreas Jaeger <aj@suse.de>
5624 * stdio-common/vfprintf.c (vfprintf): Add casts.
5626 2001-01-20 Ulrich Drepper <drepper@redhat.com>
5628 * iconvdata/run-iconv-test.sh: Reorgnize a bit to allow running only
5630 * iconvdata/TESTS: Add entries for IBM932 and IBM943.
5632 * iconvdata/Makefile (modules): Add IBM932 and IBM943.
5633 * iconvdata/gconv-modules: Add entries for IBM932 and IBM943.
5634 * iconvdata/ibm932.c: New file.
5635 * iconvdata/ibm932.h: New file.
5636 * iconvdata/ibm943.c: New file.
5637 * iconvdata/ibm943.h: New file.
5638 Patches by Masahide Washizawa <washi@jp.ibm.com>.
5640 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Fix typo
5641 preventing optimization from being done. Set the correct type bit
5642 in seen. Don't define and use _dl_base_addr unless
5643 NEED_DL_BASE_ADDR is defined.
5645 * io/ftw.c (ftw_dir): Add slash after directory name if there
5646 wasn't any. Reported by loris <loris@iol.it>.
5647 * io/Makefile (tests): Add bug-ftw2.
5648 * io/bug-ftw2.c: New file.
5650 2001-01-19 Ulrich Drepper <drepper@redhat.com>
5652 * stdlib/jrand48_r.c (__jrand48_r): Correct constructing of
5653 results. Reported by Jeff Higham <jhigham@algorithmics.com>.
5654 * stdlib/tst-rand48.c: New file.
5655 * stdlib/Makefile (tests): Add tst-rand48.
5657 * locale/newlocale.c (__newlocale): Fix test for setting all
5660 2001-01-19 Mark Kettenis <kettenis@gnu.org>
5662 * sysdeps/mach/hurd/chroot.c (chroot): Revert 1999-02-27 changes,
5663 but change looking up the initial directory port in a similar way
5664 as done by _hurd_change_directory_port_from_name.
5665 * hurd/fchroot.c (fchroot): Likewise.
5667 2001-01-18 Ulrich Drepper <drepper@redhat.com>
5669 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): If HAVE_AUX_XID is
5670 defined don't look whether the AT_*ID values were set.
5671 If HAVE_AUX_PAGESIZE is defined don't look whether the pagesize is set.
5672 (_dl_show_auxv): Rewrite to avoid switch statement.
5673 * sysdeps/unix/sysv/linux/kernel-features.h: Define
5674 __ASSUME_AT_PAGESIZE for kernel >= 2.4.1.
5675 * sysdeps/unix/sysv/linux/ldsodefs.h: Define HAVE_AUX_XID.
5676 Define HAVE_AUX_PAGESIZE if __ASSUME_AT_PAGESIZE is defined.
5678 * sysdeps/unix/sysv/linux/fxstat64.c: Add one __builtin_expect.
5679 * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
5680 * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
5682 * elf/rtld.c (process_envvars): Call __strtoul_internal instead of
5684 * elf/dl-minimal.c (strtol, __strtol_internal, strtoul): Removed.
5685 (__sigjmp_save): Set __mask_was_saved to zero since we don't save
5687 * dlfcn/eval.c (__strtol_internal): Define here.
5688 (eval): Use __strtol_internal instead of strtol.
5690 * elf/elf.h: Add a few more EF_MIPS_* constants.
5692 2001-01-17 Ulrich Drepper <drepper@redhat.com>
5694 * manual/Makefile (chapters): Add debug.
5695 * manual/debug.texi: New file.
5696 * manual/examples/execinfo.c: New file.
5697 Patch by suckfish@ihug.co.nz.
5699 2001-01-17 Andreas Schwab <schwab@suse.de>
5701 * sysdeps/m68k/bits/byteswap.h (__bswap_32): Add cast to avoid
5704 2001-01-17 Andreas Jaeger <aj@suse.de>
5706 * nscd/connections.c (nscd_run): Use proper format specifier.
5708 2001-01-16 Ulrich Drepper <drepper@redhat.com>
5710 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Move x86_cap_flags and
5711 x86_platforms data into new file after prepending _dl_. Change
5713 * sysdeps/unix/sysv/linux/i386/dl-procinfo.c: New file.
5714 * sysdeps/unix/sysv/linux/i386/Dist: Add dl-procinfo.c.
5715 * sysdeps/unix/sysv/linux/i386/Makefile: Add rules to build
5718 * setjmp/setjmp.h: Cleanup definition of setjmp macro.
5720 * sysdeps/i386/elf/bsd-setjmp.S: Real implementation.
5721 * sysdeps/i386/elf/bsd-_setjmp.S: Removed.
5722 * sysdeps/i386/elf/setjmp.S (setjmp): Removed here.
5723 (_setjmp): Likewise.
5724 * sysdeps/i386/bsd-_setjmp.S: Real implementation.
5725 * sysdeps/i386/bsd-setjmp.S: Real implementation.
5726 * sysdeps/i386/bits/setjmp.h: Remove PUSH_SIGNAL_MASK definition.
5727 * sysdeps/i386/setjmp.S: Remove PIC support. This is the non-ELF
5730 2001-01-16 Andreas Jaeger <aj@suse.de>
5732 * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h (SIGCONTEXT): Fix
5733 misapplied last patch.
5735 2001-01-15 Ulrich Drepper <drepper@redhat.com>
5737 * stdlib/random.c (__initstate): Clean up a cast.
5738 (__setstate): Likewise.
5740 * sysdeps/unix/sysv/linux/mips/syscalls.list: Remove select
5741 syscall handling. The generic Linux version should work.
5743 2001-01-15 Andreas Jaeger <aj@suse.de>
5745 * sysdeps/unix/sysv/linux/sys/sendfile.h: Fix typo.
5747 * stdio-common/tstscanf.c (main): Add two testcases for '*' modifier.
5749 2001-01-14 Jakub Jelinek <jakub@redhat.com>
5751 * nss/getent.c (print_aliases, aliases_keys, ethers_keys,
5752 netgroup_keys, print_rpc, rpc_keys, print_shadow, shadow_keys):
5754 (group_keys, hosts_keys, network_keys, passwd_keys, protocols_keys):
5755 If number is 0, list all.
5756 (services_keys): Likewise. Lookup aliases as well.
5757 (databases): New table.
5758 (build_doc): Prepare argp doc text with list of supported databases.
5759 (main): Change to table driven processing.
5761 2001-01-14 Thorsten Kukuk <kukuk@suse.de>
5763 * sunrpc/xdr.c (xdr_long, xdr_u_long): Fix comments about these
5766 2001-01-03 Jakub Jelinek <jakub@redhat.com>
5768 * sunrpc/xdr.c (xdr_long, xdr_u_long): Return FALSE if trying to
5769 encode value which does not fit in the 32bit type.
5771 2001-01-15 Hiroyuki Machida <machida@sm.sony.co.jp>
5773 * sysdeps/unix/sysv/linux/mips/register-dump.h (REGISTER_DUMP):
5774 Change type of CTX to (struct sigcontext *).
5775 * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h (GET_PC): Likewise.
5776 (GET_FRAME): Likewise.
5777 (GET_STACK): Likewise.
5778 (SIGCONTEXT): Likewise. Add 2nd arg _code.
5779 (SIGCONTEXT_EXTRA_ARGS): Add 2nd arg _code.
5781 2001-01-13 Ulrich Drepper <drepper@redhat.com>
5783 * manual/texinfo.tex: Update from upstream version.
5785 2001-01-13 Jakub Jelinek <jakub@redhat.com>
5787 * inet/ether_ntoh.c (lookup_function): Change arguments to match
5788 _nss_*_getntohost_r prototype.
5789 (ether_ntohost): Pass errno pointer to NSS function.
5791 2001-01-12 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
5793 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MS_SYNC): Fix value.
5794 (MAP_LOCKED): New definition.
5795 (MAP_NORESERVE): New definition.
5797 2001-01-12 Ulrich Drepper <drepper@redhat.com>
5799 * assert/assert.h: Use static_cast instead of C-style cast for C++.
5800 Patch by Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>.
5802 2001-01-12 Ben Collins <bcollins@debian.org>
5804 * sysdeps/generic/segfault.c (install_handler): Use access, not
5807 2001-01-12 Andreas Jaeger <aj@suse.de>
5809 * posix/fnmatch_loop.c (FCT): Remove signed warnings.
5810 * posix/wordexp.c (do_parse_glob): Likewise.
5811 * sysdeps/posix/sigblock.c (__sigblock): Likewise.
5812 * sysdeps/posix/sigsetmask.c (__sigsetmask): Likewise.
5813 * elf/dl-open.c (_dl_open): Likewise.
5814 * elf/dl-close.c (_dl_close): Likewise.
5815 * elf/dl-load.c (_dl_map_object): Likewise.
5816 * iconv/iconv_prog.c (process_fd): Likewise.
5817 * stdio-common/vfscanf.c (_IO_vfscanf): Likewise.
5819 * locale/localeinfo.h (struct locale_data): Use __flexarr instead
5820 of a zero-length array.
5822 2001-01-11 Jakub Jelinek <jakub@redhat.com>
5824 * stdlib/cxa_atexit.c (__cxa_atexit): Cast to (void *, int) func.
5825 * stdlib/cxa_finalize.c (__cxa_finalize): Add hidden second argument.
5826 * stdlib/cxa_on_exit.c: Remove.
5827 * stdlib/Makefile: Revert last patch.
5828 * stdlib/Versions: Likewise.
5829 * include/stdlib.h: Likewise.
5830 * stdlib/exit.h: Revert last patch.
5831 (struct exit_function): Add second argument to cxa fn.
5832 * stdlib/exit.c: Revert last patch.
5833 (exit): Add hidden second argument.
5835 2001-01-11 H.J. Lu <hjl@gnu.org>
5837 * elf/dl-libc.c (do_dlopen): Move DL_STATIC_INIT to ...
5838 * elf/dl-open.c (_dl_open): Here.
5839 * sysdeps/unix/sysv/linux/ia64/dl-static.c (_dl_static_lock):
5841 (_dl_static_init): Initialize the variables every time when possible.
5842 * sysdeps/unix/sysv/linux/ia64/ldsodefs.h (DL_STATIC_INIT):
5845 2001-01-11 Ulrich Drepper <drepper@redhat.com>
5847 * stdlib/Makefile (routines): Add cxa_on_exit.
5848 * stdlib/Versions [libc] (GLIBC_2.2.1): Add __cxa_on_exit.
5849 * stdlib/cxa_on_exit.c: New file.
5850 * include/stdlib.h: Add prototype for __cxa_on_exit.
5851 * stdlib/exit.c: Handle ef_cxa2.
5852 * stdlib/exit.h (enum): Add ef_cxa2.
5853 (struct exit_function): Add cxa2.
5855 * Versions.def [ld]: Add GLIBC_2.2.1.
5857 2001-01-10 H.J. Lu <hjl@gnu.org>
5859 * elf/dl-libc.c (do_dlopen): Call DL_STATIC_INIT for static binaries.
5860 * sysdeps/unix/sysv/linux/ia64/Makefile (sysdep-dl-routines): Add
5862 * sysdeps/unix/sysv/linux/ia64/Versions (ld): Add _dl_var_init.
5863 * sysdeps/generic/ldsodefs.h (DL_STATIC_INIT): Defined if not defined.
5864 * sysdeps/unix/sysv/linux/ia64/ldsodefs.h: New file.
5865 * sysdeps/unix/sysv/linux/ia64/dl-static.c: New file.
5866 * sysdeps/unix/sysv/linux/ia64/Dist: Add dl-static.c.
5868 2001-01-11 Ulrich Drepper <drepper@redhat.com>
5870 * libio/stdio.h: Remove definition of off_t.
5872 2001-01-11 Andreas Jaeger <aj@suse.de>
5874 * wcsmbs/tst-mbrtowc.c (utf8_test): New function by Markus Kuhn
5877 2001-01-10 Ulrich Drepper <drepper@redhat.com>
5879 * sunrpc/Makefile (distribute): Add errqueue.h.
5881 2001-01-10 H.J. Lu <hjl@gnu.org>
5883 * sysdeps/ia64/dl-machine.h (TRAMPOLINE_TEMPLATE): Also preserve
5884 r9, r10 and r11 for language specific registers.
5886 2001-01-10 Jakub Jelinek <jakub@redhat.com>
5888 * sunrpc/clnt_udp.c (clntudp_bufcreate): Set IP_RECVERR on the
5890 (clntudp_call): Handle MSG_ERRQUEUE.
5891 * sysdeps/generic/errqueue.h: New file.
5892 * sysdeps/unix/sysv/linux/errqueue.h: New file.
5894 2001-01-10 H.J. Lu <hjl@gnu.org>
5896 * sysdeps/unix/sysv/linux/ia64/syscalls.list (s_getpagesize): Removed.
5898 2001-01-10 Joseph S. Myers <jsm28@cam.ac.uk>
5900 * CONFORMANCE: Update.
5902 2001-01-09 Ulrich Drepper <drepper@redhat.com>
5904 * sysdeps/generic/elf/backtracesyms.c (__backtrace_symbols):
5905 Minimal cleanups. Add assert to ensure memory handling is correct.
5907 * manual/conf.texi (File Minimums): Fix _POSIX_PATH_MAX value.
5908 Reported by Ben Collins <bcollins@debian.org>.
5910 * time/strftime.c (my_strftime): Mark previous GNU extensions
5911 which are now in C99 as such.
5913 2001-01-08 Ulrich Drepper <drepper@redhat.com>
5915 * elf/rtld.c (process_envvars): Place output files for profiling
5916 in SUID binaries in /var/profile.
5918 * elf/dl-load.c (_dl_map_object): Don't look in cache for
5919 preloading in SUID binaries.
5921 * elf/dl-profile.c (_dl_start_profile): Open the output file with
5922 O_NOFOLLOW if possible.
5924 * include/stdlib.h: Add __posix_openpt declaration.
5925 * stdlib/stdlib.h: Add posix_openpt declaration.
5926 * login/Versions: Add posix_openpt for GLIBC_2.2.1.
5927 * sysdeps/generic/getpt.c: Define posix_openpt.
5928 * sysdeps/unix/bsd/getpt.c: Likewise.
5929 * sysdeps/unix/sysv/linux/getpt.c: Likewise.
5931 * time/Makefile (tests): Add tst-mktime.
5932 * time/tst-mktime.c: New file.
5934 * posix/tst-dir.c (main): One more mkdir() test.
5936 * sysdeps/unix/sysv/linux/ia64/getpagesize.c (__getpagesize):
5937 Remove getpagesize syscall. We assume that the pagesize is always
5938 determined from the auxiliary vector.
5940 * intl/dcigettext.c: Fix a few warnings.
5941 Patch by Bruno Haible <haible@ilog.fr>.
5943 2001-01-08 Andreas Jaeger <aj@suse.de>
5945 * io/test-lfs.c (do_test): Check lseek64 return for EINVAL.
5946 Reported by Joseph S. Myers <jsm28@cam.ac.uk>.
5948 2001-01-08 Ulrich Drepper <drepper@redhat.com>
5950 * sysdeps/generic/segfault.c (install_handler): Check output file
5953 * resolv/res_query.c: Use simply getenv() for HOSTALIASES.
5954 * sysdeps/generic/unsecvars.h (UNSECURE_ENVVARS): Add HOSTALIASES.
5956 * sysdeps/generic/unsecvars.h (UNSECURE_ENVVARS): Add missing comma.
5958 * malloc/memusage.c (me): Use access() to determine whether we
5959 should write the output file or not.
5961 * libio/bits/stdio.h (printf): Define macro to map printf call to
5962 fprintf which gcc can optimize.
5963 * stdio-common/printf.c: Undefine printf.
5965 2001-01-07 Ulrich Drepper <drepper@redhat.com>
5967 * sysdeps/generic/bits/byteswap.h (__bswap_64): Partly revert last
5968 patch. We must use unsigned int for l member of union.
5970 * sysdeps/powerpc/elf/libc-start.c (__libc_start_main): Don't call
5971 _dl_aux_init for shared libraries.
5973 * sysdeps/unix/sysv/linux/glob64.c: Moved to ...
5974 * sysdeps/gnu/glob64.c: ...here. New file.
5976 2001-01-07 Ben Collins <bcollins@debian.org>
5978 * manual/examples/longopt.c: Make the "struct option" a little
5979 more like it should be, adding usage of required_argument,
5980 noargument and such, and also setting the options string right.
5982 * manual/sysinfo.texi (Load Average): New section, documents
5985 2001-01-06 Ulrich Drepper <drepper@redhat.com>
5987 * version.h (VERSION): Bump to 2.2.1.
5989 * sysdeps/unix/sysv/linux/mips/Dist: Remove sys/acct.h.
5990 * sysdeps/alpha/Dist: Add alphaev6/stxncpy.S and alphaev6/stxcpy.S.
5991 * sysdeps/unix/sysv/aix/Dist: Add uitrunc.c, savef.S, and restf.S.
5992 * dlfcn/Makefile (distribute): Add errmsg1mod.c.
5993 * Makefile (distribute): Add include/libc-internal.h.
5994 * libio/Makefile (distribute): Avoid overwriting.
5996 * iconvdata/ibm937.c (BODY to IBM937): Correct several mistakes in
5997 buffer and table handling.
5999 2001-01-05 H.J. Lu <hjl@gnu.org>
6001 * elf/dl-support.c (non_dynamic_init): Move the auxiliary
6002 vector checking to ...
6003 (_dl_aux_init): Here. New function. Defined only if
6004 HAVE_AUX_VECTOR is defined.
6006 * sysdeps/generic/libc-start.c (__libc_start_main): Call
6007 _dl_aux_init for static binaries if HAVE_AUX_VECTOR is defined.
6009 * sysdeps/powerpc/elf/libc-start.c (__libc_start_main): Call
6012 * sysdeps/unix/sysv/linux/ldsodefs.h (DL_FIND_AUXV): Removed.
6013 (HAVE_AUX_VECTOR): Defined.
6014 (_dl_aux_init): Declared.
6016 2001-01-05 Ben Collins <bcollins@debian.org>
6018 * manual/string.texi (Finding Tokens in a String): Document XPG
6019 basename() and dirname(), as well as GNU basename().
6021 2001-01-05 Jakub Jelinek <jakub@redhat.com>
6023 * Makeconfig (preprocess-version): Replace -traditional with
6024 -x assembler-with-cpp.
6026 2001-01-05 Joseph S. Myers <jsm28@cam.ac.uk>
6028 * math/bits/cmathcalls.h: Don't define inline cimag, creal or conj
6029 for GCC 2.97 or later.
6031 2001-01-05 Ben Collins <bcollins@debian.org>
6033 * manual/stdio.texi (getline): Clarify the return value in the
6034 case of EOF being reached before a newline.
6036 2001-01-04 Jakub Jelinek <jakub@redhat.com>
6038 * sunrpc/pmap_clnt.c (__get_myaddress): Return TRUE if successful,
6040 (pmap_set, pmap_unset): Check __get_myaddress return value.
6042 2001-01-05 Mark Kettenis <kettenis@gnu.org>
6044 * sysdeps/generic/netinet/if_ether.h: Include <sys/types.h>.
6045 (struct ether_addr): Declare ether_addr_octet member as
6046 `u_int8_t'. Add __attribute__ ((__packed__)).
6048 2001-01-06 Mark Kettenis <kettenis@gnu.org>
6050 * sysdeps/mach/hurd/readdir64.c: New file.
6051 * sysdeps/mach/hurd/readdir64_r.c: New file.
6053 2001-01-07 Mark Kettenis <kettenis@gnu.org>
6055 * sysdeps/mach/hurd/fstatvfs.c (fstatvfs): Add comment about
6056 `struct statfs' and `struct statvfs' being identical.
6057 * sysdeps/mach/hurd/statvfs.c (statvfs): Likewise.
6059 2001-01-06 Mark Kettenis <kettenis@gnu.org>
6061 * sysdeps/mach/hurd/fstatfs64.c: New file.
6062 * sysdeps/mach/hurd/fstatvfs64.c: New file.
6063 * sysdeps/mach/hurd/statfs64.c: New file.
6064 * sysdeps/mach/hurd/statvfs64.c: New file.
6065 * sysdeps/mach/hurd/statfsconv.c: New file.
6066 * sysdeps/mach/hurd/Dist: Add statfsconv.c.
6068 2001-01-06 Ulrich Drepper <drepper@redhat.com>
6070 * iconv/skeleton.c: Reset outbuf for next round of the loop.
6071 Reported by Owen Taylor <otaylor@redhat.com>.
6072 * iconv/Makefile (tests): Add tst-iconv3.
6073 * iconv/tst-iconv3.c: New file.
6075 * iconvdata/ibm930.c: Fix handling of state. Optimize a bit.
6076 * iconvdata/ibm933.c: Likewise.
6077 * iconvdata/ibm935.c: Likewise.
6078 * iconvdata/ibm937.c: Likewise.
6079 * iconvdata/ibm939.c: Likewise.
6080 * iconvdata/ibm930.h: Adjust single byte table for optimization.
6081 * iconvdata/ibm933.h: Likewise.
6082 * iconvdata/ibm935.h: Likewise.
6083 * iconvdata/ibm939.h: Likewise.
6085 * iconvdata/testdata/IBM930: Add misssing SI.
6086 * iconvdata/testdata/IBM933: Likewise.
6087 * iconvdata/testdata/IBM935: Likewise.
6088 * iconvdata/testdata/IBM937: Likewise.
6089 * iconvdata/testdata/IBM939: Likewise.
6091 2001-01-06 Andreas Jaeger <aj@suse.de>
6093 * configure.in: Check for old add-ons that shouldn't be used with
6094 current glibc anymore.
6096 2001-01-06 Mark Kettenis <kettenis@gnu.org>
6098 * sysdeps/mach/hurd/readdir_r.c (__readdir_r): Return error number
6099 instead of -1 on failure. Don't forget to copy file name into
6100 *ENTRY if successful. Set *RESULT to NULL upon reaching the end
6103 2001-01-06 Mark Kettenis <kettenis@gnu.org>
6105 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Don't forget to
6106 copy st_atime member.
6108 2001-01-05 Ulrich Drepper <drepper@redhat.com>
6110 * io/ftw.c (ftw_dir): Don't add a second slash at the beginning
6111 for searches from the root directory.
6112 Reported by loris <loris@iol.it> [PR libc/1991].
6113 * io/Makefile (tests): Add bug-ftw1.
6114 * io/bug-ftw1.c: New file.
6116 * elf/dl-support.c (non_dynamic_init): Don't define DL_FIND_AUXV
6117 if it is not available. Instead use it only if it is available.
6118 * sysdeps/unix/sysv/linux/ldsodefs.h: New file.
6120 * iconv/gconv_simple.c (internal_ics4_loop): Correct test for
6121 overflowing output buffer.
6122 (internal_ucs4_loop_unaligned): Likewise.
6123 (ucs4_internal_loop): Likewise.
6124 (ucs4_internal_loop_unaligned): Likewise.
6125 (internal_ucs4le_loop): Likewise.
6126 (internal_ucs4le_loop_unaligned): Likewise.
6127 (ucs4le_internal_loop): Likewise.
6128 (ucs4le_internal_loop_unaligned): Likewise.
6129 Reported by Owen Taylor <otaylor@redhat.com>.
6130 * iconv/Makefile (tests): Add tst-iconv2.
6131 * iconv/tst-iconv2.c: New file.
6133 2001-01-04 H.J. Lu <hjl@gnu.org>
6135 * elf/dl-support.c (DL_FIND_AUXV): New. Defined if not defined.
6136 (_dl_clktck): Declared.
6137 (non_dynamic_init): Take 3 arguments.
6138 Set _dl_pagesize, _dl_platform and _dl_clktck from AUX.
6140 2001-01-01 Bruno Haible <haible@clisp.cons.org>
6142 Finish implementation of plural form handling.
6143 * intl/dcigettext.c (known_translation_t): Rename 'domain' field to
6144 'domainname'. Remove 'plindex' field. Add 'domain' and
6145 'translation_length' fields.
6146 (transcmp): Don't compare 'plindex' fields.
6147 (plural_lookup): New function.
6148 (DCIGETTEXT): Change cache handing in the plural case. Don't call
6149 plural_eval before the translation and its catalog file have been
6150 found. Remove plindex from cache key. Add 'translation_length' and
6151 'domain' to cache result.
6152 (_nl_find_msg): Remove index argument, return length of translation
6153 to the caller instead. Weaken comparison of string lengths, to account
6154 for plural entries. Call iconv() on the entire result string, not
6155 only on the portion needed so far.
6156 * intl/loadinfo.h (_nl_find_msg): Remove index argument, add lengthp
6158 * intl/loadmsgcat.c (_nl_load_domain): Adapt to _nl_find_msg change.
6160 2001-01-04 Ulrich Drepper <drepper@redhat.com>
6162 * intl/plural.y (yylex): Minimal improvement in number scanner.
6164 2000-07-31 Bruno Haible <haible@clisp.cons.org>
6166 * intl/plural.y: Include config.h. Needed to define 'inline' away for
6167 C compilers that don't support it.
6168 (yylex): Don't use gcc specific case range syntax.
6169 * intl/loadmsgcat.c (INIT_GERMANIC_PLURAL): New macro, for old
6172 2000-10-12 Bruno Haible <haible@clisp.cons.org>
6174 * intl/finddomain.c: Remove unneeded includes.
6176 2000-10-12 Bruno Haible <haible@clisp.cons.org>
6178 * intl/localealias.c (memcpy): Return first argument, just like the
6179 real memcpy function does.
6180 * intl/bindtextdom.c (memcpy): Likewise.
6181 * intl/finddomain.c (memcpy): Likewise.
6182 * intl/l10nflist.c (memcpy): Likewise.
6183 * intl/textdomain.c (memcpy): Likewise.
6184 From Paul Eggert <eggert@twinsun.com>.
6186 2001-01-03 Jakub Jelinek <jakub@redhat.com>
6188 * resolv/resolv.h (struct __res_state): Add nsinit field.
6189 * resolv/res_send.c (res_nsend): Use it instead of nscount.
6190 * resolv/res_init.c (__res_vinit): Initialize it.
6191 (res_nclose): Clear it instead of nscount.
6193 2001-01-04 Ulrich Drepper <drepper@redhat.com>
6195 * malloc/mtrace.pl: Fix matching of addresses.
6196 Patch by Aharon Robbins <arnold@skeeve.com>.
6198 * Versions.def (ld): Add GLIBC_2.2.
6200 * catgets/gencat.c: Copyright 2001.
6201 * csu/version.c: Likewise.
6202 * debug/catchsegv.sh: Likewise.
6203 * debug/xtrace.sh: Likewise.
6204 * elf/ldconfig.c: Likewise.
6205 * elf/sprof.c: Likewise.
6206 * iconv/iconv_prog.c: Likewise.
6207 * locale/locale.c: Likewise.
6208 * locale/localedef.c: Likewise.
6209 * malloc/memusage.sh: Likewise.
6210 * malloc/mtrace.pl: Likewise.
6211 * nscd/nscd.c: Likewise.
6212 * posix/getconf.c: Likewise.
6214 2001-01-04 Mark Kettenis <kettenis@gnu.org>
6216 * include/stdio.h: Only provide __getwc_unlocked prototype if
6217 USE_IN_LIBIO is defined.
6219 2001-01-04 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6221 * sysdeps/unix/sysv/linux/sh/socket.S (__socket): Fix error code
6224 2001-01-03 Andreas Schwab <schwab@suse.de>
6226 * sysdeps/generic/strtoll.c: Remove unused __strtoq_internal alias.
6227 * sysdeps/generic/strtoull.c: Remove unused __strtouq_internal alias.
6229 * sysdeps/wordsize-64/strtol.c: Add strtoq alias and fix strtoll alias.
6230 * sysdeps/wordsize-64/strtoul.c: Add strtouq alias and fix
6232 * sysdeps/wordsize-64/wcstol.c: Add wcstoq alias and fix wcstoll alias.
6233 * sysdeps/wordsize-64/wcstoul.c: Add wcstouq alias and fix
6236 * sysdeps/generic/strtoul.c: Make sure we find strtol.c in this
6238 * sysdeps/generic/strtol_l.c: Likewise.
6239 * sysdeps/generic/strtoul_l.c: Likewise.
6240 * sysdeps/generic/wcstoul.c: Likewise, for wcstol.c.
6242 * sysdeps/wordsize-64/strtol_l.c: Fix alias.
6243 * sysdeps/wordsize-64/strtoul_l.c: Likewise.
6244 * sysdeps/wordsize-64/wcstol_l.c: Fix alias.
6245 * sysdeps/wordsize-64/wcstoul_l.c: Likewise.
6247 2001-01-04 Andreas Jaeger <aj@suse.de>
6249 * nss/nsswitch.c: Include files for missing prototypes, remove
6250 buggy declaration of prototypes.
6252 2001-01-03 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
6254 * resolv/Versions: Fix bracing.
6255 * sysdeps/powerpc/soft-fp/Versions: Likewise.
6256 * sysdeps/sparc/sparc64/soft-fp/Versions: Likewise.
6258 2001-01-02 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
6260 * sysdeps/powerpc/dl-machine.c (__process_machine_rela): Fix typo.
6262 2001-01-02 Ulrich Drepper <drepper@redhat.com>
6264 * manual/Makefile (TEXI2PDF): Change to texi2dvi --pdf.
6265 Suggested by Minko Markov <mmarkov@home.com>.
6267 2001-01-02 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
6269 * sysdeps/powerpc/elf/start.S (__data_start): Make it global.
6270 * sysdeps/powerpc/dl-machine.c (dl_reloc_overflow): Print the name of
6272 (__process_machine_rela): Pass symbol to dl_reloc_overflow().
6274 2001-01-02 Ben Collins <bcollins@debian.org>
6276 * time/tzset.c (tzset_internal): Make sure we fall back to UTC
6277 if TZ is not set and TZDEFAULT is not present.
6279 2001-01-01 Ben Collins <bcollins@debian.org>
6281 * string/strings.h: Make sure we declare our functions even if
6282 string.h is already included, based on whether or not __USE_BSD is
6285 2001-01-02 Ulrich Drepper <drepper@redhat.com>
6287 * dlfcn/dlerror.c (dlerror): Handle call of dlerror() before any
6288 other dlopen() and dlsym().
6289 Based on a patch by Ben Collins <bcollins@debian.org>.
6291 2001-01-02 Andreas Jaeger <aj@suse.de>
6293 * dlfcn/errmsg1.c (main): Call dlerror initially.
6294 Reported by Ben Collins <bcollins@debian.org>.
6296 2001-01-02 Ulrich Drepper <drepper@redhat.com>
6298 * intl/dcigettext.c (guess_category_value): Rewrite so that LANGUAGE
6299 value is ignored if the selected locale is the C locale.
6300 * intl/tst-gettext.c: Set locale for above change.
6301 * intl/tst-translit.c: Likewise.
6303 2001-01-02 Andreas Jaeger <aj@suse.de>
6305 * libio/wgenops.c (_IO_wdoallocbuf): Use correct wide access macro.
6306 (_IO_switch_to_wget_mode): Likewise.
6307 (_IO_sputbackwc): Likewise.
6308 (_IO_sungetwc): Use wint_t for result.
6310 * stdio-common/vfscanf.c (__vfscanf): Use WINT_T for done.
6312 * sysdeps/generic/strtol.c (strtol): Make cnt size_t for correct
6315 * sysdeps/generic/printf_fphex.c (putc): Cast _IO_putwc_unlocked
6316 to (int) to avoid warnings.
6317 * stdio-common/printf_fp.c (putc): Likewise.
6318 * stdio-common/printf_size.c (putc): Likewise.
6320 * sysdeps/generic/dl-sysdep.c (_dl_important_hwcaps): Make
6323 2001-01-01 Andreas Jaeger <aj@suse.de>
6325 * inet/rcmd.c (rcmd_af): Use socklen_t for len.
6327 2000-12-31 Andreas Jaeger <aj@suse.de>
6329 * include/libc-internal.h: Add prototype for __libc_freeres.
6331 * sysdeps/unix/sysv/linux/init-first.c: Include <libc-internals.h>
6332 for prototypes, remove redundant prototypes.
6333 * gmon/gmon.c: Likewise.
6334 * sysdeps/unix/i386/i586/clock_getres.c: Likewise.
6335 * sysdeps/unix/i386/i586/clock_gettime.c: Likewise.
6336 * malloc/mtrace.c: Likewise.
6338 * sysdeps/generic/enbl-secure.c: Include <libc-internals.h> for
6340 * elf/soinit.c: Likewise.
6341 * sysdeps/generic/prof-freq.c: Likewise.
6342 * sysdeps/mach/hurd/profil.c: Likewise.
6343 * debug/noophooks.c: Likewise.
6344 * debug/pcprofile.c: Likewise.
6345 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Likewise.
6346 * sysdeps/generic/get_clockfreq.c: Likewise.
6347 * malloc/set-freeres.c: Likewise.
6349 * locale/localeinfo.h: Add internal prototypes.
6351 * elf/rtld.c (dl_main): Fix prototype.
6353 * iconvdata/tst-table-to.c (main): Use return instead of exit to
6356 * nis/rpcsvc/yp_prot.h: Remove __P.
6357 * nis/rpcsvc/ypupd.h: Likewise.
6358 * nis/rpcsvc/yp.h: Likewise.
6360 * sunrpc/rpc_main.c: Add noreturn attributes.
6361 * sunrpc/rpc_scan.h: Likewise.
6363 * sunrpc/rpc_hout.c (storexdrfuncdecl): Make static.
6365 * sunrpc/rpcinfo.c: Add noreturn attribute to brdcst.
6367 * sunrpc/proto.h: Add noreturn attributes to error and crash.
6369 * posix/bsd-getpgrp.c: Add prototype to avoid warning.
6371 * sunrpc/svc_unix.c: Include <rpc/svc.h> for prototypes.
6373 * sunrpc/create_xid.c: Include <rpc/svc.h> for prototypes.
6375 * include/rpc/rpc_msg.h: Add prototypes for some functions.
6376 * include/rpc/auth.h: Likewise.
6377 * include/rpc/auth_des.h: Likewise.
6378 * include/rpc/clnt.h: Likewise.
6379 * include/rpc/rpc.h: Likewise.
6380 * include/rpc/svc.h: Likewise.
6381 * include/rpc/svc_auth.h: Likewise.
6383 * include/rpc/des_crypt.h: New file.
6385 * malloc/memusagestat.c (main): Use return instead of exit to
6387 * io/pwd.c (main): Likewise.
6388 * iconvdata/tst-table-from.c (main): Likewise.
6389 * ctype/test_ctype.c (main): Likewise.
6390 * setjmp/tst-setjmp.c (main): Likewise.
6391 * signal/tst-signal.c (main): Likewise.
6392 * stdlib/tst-strtol.c (main): Likewise.
6393 * stdlib/tst-strtod.c (main): Likewise.
6394 * stdlib/tst-strtoll.c (main): Likewise.
6395 * stdlib/tst-xpg-basename.c (main): Likewise.
6396 * dirent/tst-seekdir.c (main): Likewise.
6397 * grp/testgrp.c (main): Likewise.
6398 * inet/test_ifindex.c (main): Likewise.
6399 * io/test-utime.c (main): Likewise.
6400 * posix/test-vfork.c (main): Likewise.
6401 * posix/testfnm.c (main): Likewise.
6402 * stdio-common/temptest.c (main): Likewise.
6403 * stdio-common/test_rdwr.c (main): Likewise.
6404 * stdio-common/tst-fileno.c (main): Likewise.
6405 * stdio-common/tst-sscanf.c (main): Likewise.
6406 * stdio-common/tstscanf.c (main): Likewise.
6407 * string/bug-strncat1.c (main): Likewise.
6408 * string/bug-strpbrk1.c (main): Likewise.
6409 * string/bug-strspn1.c (main): Likewise.
6410 * string/test-ffs.c (main): Likewise.
6411 * string/tst-inlcall.c (main): Likewise.
6412 * string/tst-svc.c (main): Likewise.
6413 * timezone/test-tz.c (main): Likewise.
6414 * wctype/test_wcfuncs.c (main): Likewise.
6415 * wctype/test_wctype.c (main): Likewise.
6417 * stdlib/tst-random.c: Add attribute noreturn to fail.
6419 2000-12-28 Wolfram Gloger <wg@malloc.de>
6421 * malloc/malloc.c (MALLOC_COPY): Handle case if source and
6422 destination overlap. Assume dest is always below source if
6425 2000-12-30 Ulrich Drepper <drepper@redhat.com>
6427 * elf/dl-close.c (_dl_close): We can ignore the NODELETE flag if the
6428 object was not yet initialized.
6430 2000-12-28 H.J. Lu <hjl@gnu.org>
6432 * elf/dl-deps.c (_dl_map_object_deps): Make sure the DSO state
6433 is always consistent even if its dependency is failed.
6435 * elf/dl-open.c (_dl_open): Increment the open count before
6436 calling _dl_close () in case of failure.
6438 * elf/neededtest4.c: New file.
6439 * elf/neededobj5.c: New file.
6440 * elf/neededobj6.c: New file.
6442 * elf/Makefile (distribute): Add neededobj5.c and neededobj6.c.
6443 (tests): Add neededtest4.
6444 (modules-names): Add neededobj5 and neededobj6.
6445 ($(objpfx)neededobj6.so): New target.
6446 ($(objpfx)neededtest4): New target.
6447 ($(objpfx)neededtest4.out): New target.
6449 2000-12-28 Joseph S. Myers <jsm28@cam.ac.uk>
6451 * misc/sys/cdefs.h (__attribute_format_strfmon__): Define.
6452 * stdlib/monetary.h: Add strfmon format attributes.
6454 2000-12-28 Roland McGrath <roland@frob.com>
6456 * sysdeps/mach/hurd/ioctl.c (do_ioctl): Avoid double-increment after
6457 __mempcpy does it for us.
6459 2000-12-28 Andreas Jaeger <aj@suse.de>
6461 * sysdeps/generic/dl-environ.c: Add prototype for unsetenv.
6463 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Add prototype for
6466 * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Add prototype for
6469 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Add prototype for
6472 * sysdeps/unix/sysv/linux/i386/chown.c: Add prototypes for
6473 __chown_is_lchown and __real_chown.
6475 * sysdeps/generic/ldsodefs.h: Add noreturn attribute to
6478 * sunrpc/rpc_hout.c (print_funcdef): Add break statement to shut
6479 up GCC's warning about "deprecated use of label at end of compound
6481 * sunrpc/rpc_cout.c (emit_inline): Likewise.
6483 * gmon/bb_exit_func.c: Include <sys/gmon.h> for internal
6485 Remove struct bb and __bb_head since those are declared by
6488 2000-12-22 Ben Collins <bcollins@debian.org>
6490 * manual/charset.texi: Fix typo in description of WCHAR_MAX.
6492 * manual/argp.texi: Document argp_domain as part of struct argp.
6494 2000-12-28 Andreas Jaeger <aj@suse.de>
6496 * catgets/Makefile (generated): Add sample.SJIS.cat.
6498 * sunrpc/rpc_dtable.c: Include rpc/clnt.h for prototypes.
6500 * elf/dl-minimal.c: Add prototypes.
6502 * include/locale.h: Add internal prototypes.
6503 * include/sys/gmon.h: Likewise.
6505 * dlfcn/errmsg1mod.c: Add prototype for foo to shut up GCC.
6507 2000-12-27 Ben Collins <bcollins@debian.org>
6509 * elf/dl-open.c (_dl_open): Correctly set the new objname pointer
6510 when reallocating the error strings.
6511 Reported by Kalle Olavi Niemitalo <kon@iki.fi>
6513 2000-12-27 Ulrich Drepper <drepper@redhat.com>
6515 * dlfcn/Makefile (tests): Add errmsg1.
6516 (modules-names): Add errmsg1mod.
6517 Add rules to run errmsg1.
6518 * dlfcn/errmsg1.c: New file.
6519 * dlfcn/errmsg1mod.c: New file.
6521 * dlfcn/dlerror.c (dlerror): Always create output string which
6522 includes object file name.
6524 * sysdeps/alpha/alphaev6/memcpy.S: Don't go through unrolled loop
6525 if we would go through it only once.
6526 Patch by Rick Gorton <rick.gorton@api-networks.com>.
6528 * sysdeps/alpha/alphaev67/strncat.S: Fix handling of numeric parameter.
6529 Patch by Richard Henderson <rth@redhat.com>.
6531 2000-12-27 Jakub Jelinek <jakub@redhat.com>
6533 * malloc/malloc.c (memmove): Add prototypes.
6534 (MALLOC_MEMMOVE): Define.
6535 (chunk_realloc): Use it instead of MALLOC_COPY if source and
6536 destination might overlap.
6538 2000-12-27 Andreas Jaeger <aj@suse.de>
6540 * stdio-common/printf_fp.c (__printf_fp): Add prototype for nested
6542 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
6543 * locale/programs/locale.c (show_locale_vars): Likewise.
6544 (show_info): Likewise.
6545 * locale/programs/ld-collate.c (collate_output): Likewise.
6546 * locale/programs/ld-ctype.c (set_class_defaults): Likewise.
6547 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
6548 * stdlib/rpmatch.c (rpmatch): Likewise.
6550 * setjmp/tst-setjmp.c: Make local functions static.
6551 * setjmp/jmpbug.c: Likewise.
6552 * signal/tst-signal.c: Likewise.
6553 * stdio-common/tfformat.c: Likewise.
6554 * string/tst-svc.c: Likewise.
6555 * time/clocktest.c: Likewise.
6556 * time/tst-getdate.c: Likewise.
6557 * dirent/list.c: Likewise.
6558 * dirent/opendir-tst1.c: Likewise.
6559 * posix/runtests.c: Likewise.
6560 * posix/tst-getaddrinfo.c: Likewise.
6561 * posix/tst-chmod.c: Likewise.
6562 * posix/wordexp-test.c: Likewise.
6563 * misc/tst-efgcvt.c: Likewise.
6564 * timezone/tst-timezone.c: Likewise.
6565 * rt/tst-clock.c: Likewise.
6566 * rt/tst-shm.c: Likewise.
6567 * rt/tst-aio2.c: Likewise.
6568 * rt/tst-aio3.c: Likewise.
6569 * rt/tst-aio4.c: Likewise.
6570 * rt/tst-aio5.c: Likewise.
6572 * dlfcn/failtest.c: Add prototype for foo.
6574 * dlfcn/glrefmain.c: Add prototype for do_test.
6576 * dlfcn/tst-dladdr.c: Add prototype for do_test.
6578 * string/test-ffs.c (main): Add prototype for nested function.
6580 * sunrpc/des_soft.c: Include rpc/des_crypt.h for prototype.
6582 * nss/XXX-lookup.c: Add prototype to shut up GCC.
6584 * include/netinet/ether.h (DECLARE_NSS_PROTOTYPES): Fix
6585 setetherent prototype.
6586 Add internal interfaces.
6588 * nis/nss_nis/nis-ethers.c (_nss_nis_setetherent): Likewise.
6589 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent): Likewise.
6591 * resolv/res_data.c: Don't add (conflicting) prototypes for _LIBC.
6593 * nis/nis_intern.h: Add prototype for __pmap_getnisport.
6595 * nss/nss_files/files-ethers.c: Include netinet/ether.h to get
6596 prototypes, remove struct etherent since it's declared in ether.h.
6597 Fix ntohost declaration.
6599 * elf/dl-profile.c (_dl_mcount): Add empty statement to shut up GCC.
6601 * include/getopt.h: Add internal interfaces.
6602 * include/termios.h: Likewise.
6603 * include/resolv.h: Likewise.
6604 * include/netdb.h: Likewise.
6605 * include/grp.h: Likewise.
6606 * include/pwd.h: Likewise.
6607 * include/shadow.h: Likewise.
6608 * include/rpc/netdb.h: Likewise.
6609 * include/setjmp.h: Likewise.
6611 * include/stdio.h: Add prototypes for compatibility functions.
6612 * include/grp.h: Likewise.
6613 * include/pwd.h: Likewise.
6614 * include/shadow.h: Likewise.
6616 * include/fenv.h: Define internal interfaces.
6618 2000-12-27 Ulrich Drepper <drepper@redhat.com>
6620 * sysdeps/generic/bits/byteswap.h (__bswap_64): Handle constant
6621 argument case separately.
6622 * sysdeps/i386/bits/byteswap.h (__bswap_64): Likewise.
6624 2000-12-27 Andreas Jaeger <aj@suse.de>
6626 * include/sys/wait.h: Add some prototypes.
6627 * Rules (dummy.c): Create also prototype to shut up GCC.
6629 2000-12-27 Andreas Jaeger <aj@suse.de>
6631 * sysdeps/mach/hurd/if_index.c (__protocol_available): Uncomment,
6632 it's not needed at the moment.
6633 * sysdeps/generic/if_index.c (__protocol_available): Likewise.
6634 * sysdeps/unix/sysv/linux/if_index.c (__protocol_available): Likewise.
6636 2000-12-26 Andreas Jaeger <aj@suse.de>
6638 * libio/getc_u.c: Include stdio.h via system path to get internal
6640 * libio/getwc_u.c: Likewise.
6642 * stdlib/strfmon.c: Fix prototype of __printf_fp.
6644 * stdio-common/vfprintf.c (process_arg): Move __printf_fphex and
6645 __printf_fp prototypes to ...
6646 * include/printf.h: ...here.
6648 * include/stdio.h: Add some internal prototypes to shut up GCC.
6649 * include/stdlib.h: Likewise.
6651 * sysdeps/posix/sigpause.c (__sigpause): Use ISO C prototype
6654 * include/signal.h: Add prototypes for internal sigpause
6657 2000-12-26 Ulrich Drepper <drepper@redhat.com>
6659 * sysdeps/generic/bits/byteswap.h (__bswap_64): Make it usable for
6660 64bit platforms. Reported by Dave Gilbert <gilbertd@treblig.org>.
6662 * string/Makefile (tests): Add tst-bswap.
6663 * string/tst-bswap.c: New file.
6665 2000-12-11 Bruno Haible <haible@clisp.cons.org>
6667 * Makefile ($(inst_includedir)/gnu/stubs.h): Sort in the C locale.
6669 2000-12-26 Ulrich Drepper <drepper@redhat.com>
6671 * sunrpc/Makefile (rpcgen-cmd): Use single quotes in sed call.
6672 Patch by Ed Connell <Ed.Connell@sas.com>.
6674 2000-12-24 Ulrich Drepper <drepper@redhat.com>
6676 * locale/iso-639.def: Correct one entry. Add two missing entries.
6678 * locale/iso-4217.def: Change entry for Eritrea.
6679 Reported by Daniel Yacob <yacob@geez.org>.
6681 2000-12-23 Ben Collins <bcollins@debian.org>
6683 * manual/charset.texi (Extended Char Intro): Fix typo in ISO 6937
6686 * manual/stdio.texi (Dynamic Output): Document the return value of
6687 asprintf. Also make the asprintf/snprintf examples a little
6688 better (check for some error returns).
6690 2000-12-22 Andreas Jaeger <aj@suse.de>
6692 * include/stdio.h: Add __ftrylockfile prototype.
6694 2000-12-21 H.J. Lu <hjl@gnu.org>
6696 * sysdeps/ia64/fpu/math_ldbl.h (ieee_long_double_shape_type):
6697 Make sign_exponent element signed.
6699 * sysdeps/ieee754/ldbl-96/math_ldbl.h (ieee_long_double_shape_type):
6702 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Remove dead branch.
6704 2000-12-21 Andreas Jaeger <aj@suse.de>
6706 * nis/nss_nisplus/nisplus-ethers.c (struct etherent): Removed.
6707 * inet/ether_hton.c: Likewise
6708 * inet/ether_ntoh.c: Likewise.
6710 * nis/nss_nis/nis-ethers.c (_nss_nis_getntohost_r): Fix
6711 declaration to match prototype.
6713 * include/netinet/ether.h (struct etherent): Declare here so that
6714 all implementations use the same struct.
6716 * nis/nss_nis/nis-ethers.c: Include netinet/ether.h to get
6718 (struct ether): Removed.
6719 Use struct etherent instead of ether everywhere.
6721 * include/rpc/auth.h (DECLARE_NSS_PROTOTYPES): New.
6723 * include/rpc/auth_des.h (DECLARE_NSS_PROTOTYPES): New.
6725 * sunrpc/publickey.c: Include auth_des.h for prototypes.
6727 2000-12-20 Ulrich Drepper <drepper@redhat.com>
6729 * math/test-misc.c: Add more tests for nextafter functions.
6731 * sysdeps/i386/fpu/s_nextafterl.c: Handle change from denormal to
6732 normal correctly. Correct test for sign.
6733 Based on a patch by HJ Lu.
6735 2000-12-19 Ulrich Drepper <drepper@redhat.com>
6737 * Makeconfig (preprocess-version): Add -traditional to gcc call.
6740 2000-12-19 Andreas Jaeger <aj@suse.de>
6742 * include/netinet/ether.h (DECLARE_NSS_PROTOTYPES): New.
6744 * nis/nis_intern.h: Add prototype for __do_niscall3.
6746 * nis/nss_nis/nis-rpc.c (_nss_nis_setrpcent): Fix declaration to
6749 * include/netdb.h (DECLARE_NSS_PROTOTYPES): Reformat.
6751 * include/rpc/netdb.h (DECLARE_NSS_PROTOTYPES): New.
6753 * include/aliases.h (DECLARE_NSS_PROTOTYPES): New.
6755 2000-12-18 Ulrich Drepper <drepper@redhat.com>
6757 * math/test-misc.c: Add more tests for nextafter.
6758 * sysdeps/i386/fpu/s_nextafterl.c: Handle decrement for x<0 correctly.
6759 * sysdeps/ieee754/ldbl-96/math_ldbl.h
6760 (ieee_long_double_shape_type): Make sign_exponent element signed.
6762 * manual/message.texi: Add Estonian to plural overview list.
6763 Correct rule for Slavic languages.
6764 Patch by Stanislav Brabec <utx@penguin.cz>.
6766 * nis/nss_nis/nis-netgrp.c: Remove unnecessary initializations.
6768 2000-12-18 Andreas Jaeger <aj@suse.de>
6770 * test-skeleton.c: Use temp_name_list instead of name_list to
6771 avoid collision with name_list from inet/netgroup.h.
6773 * nss/nss_files/files-network.c (NEED_H_ERRNO): Define.
6775 * include/grp.h (DECLARE_NSS_PROTOTYPES): New.
6776 * include/pwd.h (DECLARE_NSS_PROTOTYPES): New.
6777 * include/netdb.h (DECLARE_NSS_PROTOTYPES): New.
6778 * include/shadow.h (DECLARE_NSS_PROTOTYPES): New.
6780 * hesiod/nss_hesiod/hesiod-proto.c (_nss_hesiod_setprotoent): Fix
6781 declaration to match prototype.
6782 * hesiod/nss_hesiod/hesiod-pwd.c (_nss_hesiod_setpwent): Likewise.
6783 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_setgrent): Likewise.
6784 * hesiod/nss_hesiod/hesiod-service.c (_nss_hesiod_setservent):
6786 * nis/nss_nis/nis-grp.c (_nss_nis_setgrent): Likewise.
6787 * nis/nss_nis/nis-pwd.c (_nss_nis_setpwent): Likewise.
6788 * nis/nss_nis/nis-proto.c (_nss_nis_setprotoent): Likewise.
6789 * nis/nss_nis/nis-service.c (_nss_nis_setservent): Likewise.
6790 (_nss_nis_getservbyport_r): Likewise.
6791 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent): Likewise.
6792 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent): Likewise.
6793 * nis/nss_nis/nis-network.c (_nss_nis_getnetent_r): Likewise.
6794 (_nss_nis_setnetent): Likewise
6795 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
6796 (_nss_nis_endnetgrent): Likewise.
6797 * nis/nss_nisplus/nisplus-netgrp.c (_nss_nisplus_endnetgrent):
6799 (_nss_nisplus_setnetgrent): Likewise.
6800 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Likewise.
6801 * nis/nss_nisplus/nisplus-pwd.c (_nss_nisplus_setpwent): Likewise.
6802 * nis/nss_nisplus/nisplus-grp.c (_nss_nisplus_setgrent): Likewise.
6803 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_setnetent):
6805 * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_sethostent):
6807 * nis/nss_nisplus/nisplus-service.c (_nss_nisplus_setservent):
6809 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_setprotoent):
6811 * nis/nss_compat/compat-spwd.c (_nss_compat_setspent): Likewise.
6812 * nis/nss_compat/compat-pwd.c (_nss_compat_setpwent): Likewise.
6813 * nis/nss_compat/compat-grp.c (_nss_compat_setgrent): Likewise.
6814 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Likewise.
6815 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Likewise.
6816 (_nss_dns_getnetbyaddr_r): Likewise.
6818 2000-12-17 Andreas Jaeger <aj@suse.de>
6820 * sysdeps/generic/k_sinl.c (__kernel_sinl): Fix functions
6823 * sysdeps/unix/sysv/linux/shm_open.c (freeit): Make static and add
6824 unused attribute to shut up gcc warnings.
6826 * sysdeps/generic/k_sinl.c: Include math_private for prototypes.
6827 * sysdeps/generic/k_tanl.c: Likewise.
6828 * sysdeps/generic/k_cosl.c: Likewise.
6829 * sysdeps/generic/e_j0l.c: Likewise.
6830 * sysdeps/generic/e_j1l.c: Likewise.
6831 * sysdeps/generic/e_jnl.c: Likewise.
6832 * sysdeps/generic/e_lgammal_r.c: Likewise.
6834 * elf/vismain.c: Move prototypes for functions in vismod*.c to
6836 * elf/vismod.h: New file.
6837 * elf/Makefile (distribute): Add vismod.h.
6838 * elf/vismod1.c: Include vismod.h.
6839 * elf/vismod2.c: Likewise.
6840 * elf/vismod3.c: Likewise.
6842 * elf/constload3.c: Add prototype declarations to shut up gcc.
6843 * elf/failobj.c: Likewise.
6844 * elf/nodelmod3.c: Likewise.
6845 * elf/filtmod1.c: Likewise.
6846 * elf/filtmod2.c: Likewise.
6847 * elf/reldepmod1.c: Likewise.
6848 * elf/reldepmod2.c: Likewise.
6849 * elf/reldepmod3.c: Likewise.
6850 * elf/reldepmod4.c: Likewise.
6851 * elf/unload2dep.c: Likewise.
6852 * elf/unload2mod.c: Likewise.
6853 * elf/ltglobmod1.c: Likewise.
6854 * elf/pathoptobj.c: Likewise.
6855 * elf/neededobj1.c: Likewise.
6856 * elf/neededobj2.c: Likewise.
6857 * elf/neededobj3.c: Likewise.
6858 * elf/neededobj4.c: Likewise.
6859 * elf/nextmod1.c: Likewise.
6860 * elf/nextmod2.c: Likewise.
6862 * locale/programs/ld-collate.c (collate_finish): Don't use labels
6863 at end of compound statement.
6864 * locale/programs/locale.c (show_info): Likewise.
6865 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Likewise.
6867 2000-12-16 Jakub Jelinek <jakub@redhat.com>
6869 * catgets/gencat.c (read_input_file): Avoid calling obstack_free
6870 with a pointer not returned by obstack_ functions.
6872 2000-12-16 Ulrich Drepper <drepper@redhat.com>
6874 * sysdeps/unix/sysv/aix/bits/stat.h (struct stat): Align with AIX
6876 (struct stat64): Likewise.
6877 Reported by Michael Keezer <mkeezer@redhat.com>.
6879 * timezone/asia: Update from tzdata2000h.
6880 * timezone/australasia: Likewise.
6881 * timezone/backward: Likewise.
6882 * timezone/europe: Likewise.
6883 * timezone/northamerica: Likewise.
6884 * timezone/southamerica: Likewise.
6885 * timezone/zone.tab: Likewise.
6887 2000-12-14 Jakub Jelinek <jakub@redhat.com>
6889 * io/ftw.c (ftw_dir): If process_entry returned non-zero result
6890 and dir.stream is NULL, only free dir.content.
6891 * io/ftwtest.c (cb, main): Add --early-exit option to test it.
6892 * io/ftwtest-sh: Test with --early-exit.
6894 2000-12-13 Jakub Jelinek <jakub@redhat.com>
6896 * misc/efgcvt.c (FCVT_MAXDIG): Define.
6897 (FCVT_BUFPTR): New variable.
6898 (fcvt): If fcvt_r returns -1 on the static short buffer,
6899 try to malloc a sufficiently large one and retry.
6900 (free_mem): New function.
6901 * misc/qefgcvt.c (FCVT_MAXDIG): Define.
6902 * misc/tst-efgcvt.c (fcvt_tests): Add new test.
6904 2000-12-15 Ulrich Drepper <drepper@redhat.com>
6906 * misc/dirname.c (dirname): Fix search for second to last slash.
6908 2000-12-13 Andreas Jaeger <aj@suse.de>
6910 * misc/tst-dirname.c (main): Fix typo in test to really use
6911 the examples from Unix98.
6912 Reported by Michael Kerrisk <mtk16@ext.canterbury.ac.nz>.
6914 2000-12-09 H.J. Lu <hjl@gnu.org>
6916 * sysdeps/ia64/fpu/s_fabs.S: New file.
6917 * sysdeps/ia64/fpu/s_fabsf.S: New file.
6918 * sysdeps/ia64/fpu/s_fabsl.S: New file.
6920 2000-12-15 Andreas Jaeger <aj@suse.de>
6922 * stdio-common/scanf9.c (main): Reformat and change to avoid
6925 * stdio-common/tstdiomisc.c: Make local functions static.
6926 * stdio-common/tst-printf.c: Likewise.
6928 * elf/constload2.c: Add prototype declarations to shut up gcc.
6929 * elf/dep1.c: Likewise.
6930 * elf/dep2.c: Likewise.
6931 * elf/dep3.c: Likewise.
6932 * elf/dep4.c: Likewise.
6933 * elf/ltglobmod2.c: Likewise.
6935 * libio/fmemopen.c: Make local functions static.
6937 * elf/Makefile (distribute): Added testobj.h.
6939 * elf/testobj.h: New file.
6941 * elf/testobj1.c: Include testobj.h and move prototype
6942 declarations to testobj.h.
6943 * elf/testobj2.c: Likewise.
6944 * elf/testobj3.c: Likewise.
6945 * elf/testobj4.c: Likewise.
6946 * elf/testobj5.c: Likewise.
6947 * elf/testobj6.c: Likewise.
6948 * elf/testobj1_1.c: Likewise.
6949 * elf/preloadtest.c: Likewise.
6951 2000-12-15 Ben Collins <bcollins@debian.org>
6953 * misc/sys/cdefs.h: Fix thinko in checks for flexarr macros.
6954 Patch by Akim Demaille <akim@epita.fr> in Debian bug report.
6956 2000-12-14 H.J. Lu <hjl@gnu.org>
6958 * sysdeps/ieee754/flt-32/s_sincosf.c (__sincosf): The exponent
6959 field in a float is 8 bits, not 11 bits.
6961 2000-12-13 Jakub Jelinek <jakub@redhat.com>
6963 * math/test-misc.c (main): Adjust m for IEEE quad long double.
6965 2000-12-13 Andreas Jaeger <aj@suse.de>
6967 * manual/message.texi (Using gettextized software): Fix typo.
6969 * manual/charset.texi (Converting a Character): Fix mbstouwcs
6971 Patch by Martin Buchholz <martin@xemacs.org>.
6973 * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Fix typo.
6974 Reported by Michael Kerrisk <mtk16@ext.canterbury.ac.nz>.
6976 2000-12-11 Andreas Jaeger <aj@suse.de>
6978 * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Declare
6979 kernel_sigset_t and use it.
6980 Patch by Hiroyuki Machida <machida@sm.sony.co.jp>.
6982 2000-12-10 Richard Henderson <rth@redhat.com>
6984 * sysdeps/alpha/alphaev67/fpu/Implies: New file.
6985 * sysdeps/alpha/alphaev6/fpu/e_sqrtf.S: New file.
6986 * sysdeps/alpha/alphaev6/fpu/e_sqrt.S: New file.
6988 2000-12-10 Jakub Jelinek <jakub@redhat.com>
6990 * sysdeps/alpha/htonl.S: Fix a typo.
6992 2000-12-10 Jakub Jelinek <jakub@redhat.com>
6994 * sysdeps/alpha/alphaev6/stxcpy.S: Exchange t8 with t10.
6996 2000-12-10 Andreas Jaeger <aj@suse.de>
6998 * locale/programs/ld-ctype.c (charclass_symbolic_ellipsis): Fixed
6999 cast as suggested by Jakub Jelinek <jakub@redhat.com> and Ulrich
7000 Drepper <drepper@redhat.com>.
7002 2000-12-09 Andreas Jaeger <aj@suse.de>
7004 * sysdeps/unix/sysv/linux/mips/sigaction.c: New file.
7006 * sysdeps/unix/sysv/linux/mips/sys/acct.h: Removed, we can use the
7008 Patches by Hiroyuki Machida <machida@sm.sony.co.jp>.
7010 * locale/programs/ld-collate.c (handle_ellipsis): Fix format
7013 * locale/programs/ld-ctype.c (charclass_symbolic_ellipsis): Fix
7016 * nscd/hstcache.c (addhstbyname): Add cast to avoid warning.
7017 * nscd/connections.c (handle_request): Likewise.
7018 * nscd/pwdcache.c (addpwbyname): Likewise.
7019 * nscd/grpcache.c (addgrbyname): Likewise.
7021 * nscd/nscd_conf.c (nscd_parse_file): Remove extra argument.
7023 2000-12-09 Ulrich Drepper <drepper@redhat.com>
7025 * string/stratcliff.c: Add tests for stpncpy, memcpy, and mempcpy.
7027 * Makeconfig (default_cflags): Make -O2 the default for stable
7030 2000-12-08 H.J. Lu <hjl@gnu.org>
7032 * sysdeps/ia64/fpu/s_isinfl.S: Renamed to ...
7033 * sysdeps/ia64/fpu/s_isinf.S: This.
7034 Add a .pred.rel.mutex note to avoid false report.
7036 * sysdeps/ia64/fpu/s_isnanl.S: Renamed to ...
7037 * sysdeps/ia64/fpu/s_isnan.S: This.
7039 * sysdeps/ia64/fpu/s_fpclassify.S: New file.
7040 * sysdeps/ia64/fpu/s_fpclassifyf.S: New file.
7041 * sysdeps/ia64/fpu/s_fpclassifyl.S: New file.
7042 * sysdeps/ia64/fpu/s_isinff.S: New file.
7043 * sysdeps/ia64/fpu/s_isinfl.S: New file.
7044 * sysdeps/ia64/fpu/s_isnanf.S: New file.
7045 * sysdeps/ia64/fpu/s_isnanl.S: New file.
7046 * sysdeps/ia64/fpu/s_finite.S: New file.
7047 * sysdeps/ia64/fpu/s_finitef.S: New file.
7048 * sysdeps/ia64/fpu/s_finitel.S: New file.
7049 * sysdeps/ia64/fpu/s_signbit.S: New file.
7050 * sysdeps/ia64/fpu/s_signbitf.S: New file.
7051 * sysdeps/ia64/fpu/s_signbitl.S: New file.
7052 * sysdeps/ia64/fpu/s_copysign.S: New file.
7053 * sysdeps/ia64/fpu/s_copysignf.S: New file.
7054 * sysdeps/ia64/fpu/s_copysignl.S: New file.
7056 2000-12-08 Ulrich Drepper <drepper@redhat.com>
7058 * math/libm-test.inc (main): Fix typos in messages.
7060 * string/stratcliff.c: Add test for rawmemchr.
7062 2000-12-08 Jakub Jelinek <jakub@redhat.com>
7064 * elf/dl-open.c (_dl_open): If objname points right after errstring,
7065 allocate it together with errstring using alloca.
7066 * elf/dl-error.c (_dl_signal_error): If malloc failed, set objname
7067 to "", because it might point to local stack.
7069 2000-12-05 H.J. Lu <hjl@gnu.org>
7071 * nss/Makefile (routines): Add getnssent and getnssent_r.
7072 * nss/nsswitch.h (__nss_setent): New internal NSS function.
7073 (__nss_endent): Likewise.
7074 (__nss_getent_r): Likewise.
7075 (__nss_getent): Likewise.
7076 * nss/getnssent_r.c: New file.
7077 * nss/getnssent.c: New file.
7078 * nss/getXXent.c (H_ERRNO_VAR): Updated.
7079 (GETFUNC_NAME): Updated to call __nss_getent ().
7080 * nss/getXXent_r.c (H_ERRNO_VAR_P): New.
7081 (STAYOPEN_TMPVAR): Updated.
7082 (STAYOPEN_VAR): Updated.
7083 (SETFUNC_NAME): Updated to call __nss_setent ().
7084 (ENDFUNC_NAME): Updated to call __nss_endent ().
7085 (INTERNAL (REENTRANT_GETNAME)): Updated to call __nss_getent_r ().
7087 2000-12-08 Andreas Jaeger <aj@suse.de>
7089 * nscd/dbg_log.h (dbg_log): Correct attribute.
7091 2000-12-08 Jakub Jelinek <jakub@redhat.com>
7093 * elf/dl-load.c (fillin_rpath): Don't assume there is '\0' at
7094 cp + len. Compute where from dirname.
7095 Reported by <jreiser@BitWagon.com>.
7097 2000-12-08 Richard Henderson <rth@twiddle.net>
7099 * sysdeps/alpha/_mcount.S: Fix typo.
7100 * sysdeps/alpha/strncpy.S: Likewise.
7102 * sysdeps/alpha/alphaev6/Implies: New file.
7103 * sysdeps/alpha/alphaev67/Implies: New file.
7104 * sysdeps/alpha/alphaev67/ffs.S: New file.
7105 * sysdeps/alpha/alphaev67/ffsll.S: New file.
7106 * sysdeps/alpha/alphaev67/rawmemchr.S: New file.
7107 * sysdeps/alpha/alphaev67/stpcpy.S: New file.
7108 * sysdeps/alpha/alphaev67/stpncpy.S: New file.
7109 * sysdeps/alpha/rawmemchr.S: New file.
7110 * sysdeps/alpha/strcat.S: Tail call to __stxcpy.
7111 * sysdeps/alpha/strcpy.S: Likewise.
7114 * sysdeps/alpha/alphaev6/addmul_1.s: New file.
7116 From rick.gorton@alpha-processor.com:
7117 * sysdeps/alpha/alphaev6/memchr.S: New file.
7118 * sysdeps/alpha/alphaev6/memcpy.S: New file.
7119 * sysdeps/alpha/alphaev6/memset.S: New file.
7120 * sysdeps/alpha/alphaev6/stxcpy.S: New file.
7121 * sysdeps/alpha/alphaev6/stxncpy.S: New file.
7122 * sysdeps/alpha/alphaev67/strcat.S: New file.
7123 * sysdeps/alpha/alphaev67/strchr.S: New file.
7124 * sysdeps/alpha/alphaev67/strlen.S: New file.
7125 * sysdeps/alpha/alphaev67/strncat.S: New file.
7126 * sysdeps/alpha/htonl.S: Use a shorter sequence.
7128 2000-12-08 Jakub Jelinek <jakub@redhat.com>
7130 * inet/getnameinfo.c (getnameinfo): Fix NI_NOFQDN support.
7131 Reported by <pspencer@fields.utoronto.ca>.
7133 2000-12-07 Jes Sorensen <jes@linuxcare.com>
7135 * sysdeps/ia64/elf/start.S (__data_start): Add __data_start variable.
7136 Pointed out by Hans Boehm.
7138 2000-12-07 H.J. Lu <hjl@gnu.org>
7140 * elf/dl-version.c (match_symbol): Check map->l_name[0] for printing.
7142 2000-12-07 Andreas Jaeger <aj@suse.de>
7144 * misc/error.c: Add format attributes for __error and __error_at_line.
7146 * nscd/dbg_log.h: Add format attribute.
7148 2000-12-08 Ulrich Drepper <drepper@redhat.com>
7150 * misc/sys/syslog.h: Add format attributes to syslog and vsyslog.
7151 Patch by Joseph S. Myers <jsm28@cam.ac.uk>.
7153 2000-12-07 Dan Pop <Dan.Pop@cern.ch>
7155 * sysdeps/ia64/strcpy.S: Fix a bug in a recovery code sequence.
7157 2000-12-06 Ulrich Drepper <drepper@redhat.com>
7159 * sysdeps/unix/sysv/aix/Makefile [$(subdir)==misc]
7160 (sysdep_routines): Add uitrunc.
7161 * sysdeps/unix/sysv/aix/uitrunc.c: New file.
7162 Patches by Michael Keezer <mkeezer@redhat.com>.
7164 2000-12-06 Roland McGrath <roland@frob.com>
7166 * sysdeps/mach/hurd/ioctl.c (__ioctl): Don't clobber ARG as we copy in
7167 argument data, since it will be used to copy out too (for INOUT).
7168 Reported by Marcus Brinkmann <marcus@gnu.org>.
7170 * sysdeps/mach/hurd/ioctl.c: Include <stdint.h>.
7171 (__ioctl): Use uintptr_t instead of unsigned long int.
7173 2000-12-06 Jim Wilson <wilson@redhat.com>
7175 * stdlib/l64a.c (l64a): Truncate M to 32-bit value.
7177 2000-12-06 Ulrich Drepper <drepper@redhat.com>
7179 * stdio-common/printf_fp.c (__printf_fp): Handle decimal point in
7180 x.5 rounding correctly.
7182 2000-12-06 Mark Kettenis <kettenis@gnu.org>
7184 * stdio-common/perror.c (perror): Conditionalize code dealing with
7185 wide-oriented streams on USE_IN_LIBIO.
7187 2000-12-06 Mark Kettenis <kettenis@gnu.org>
7189 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup): Mark
7190 as internal_function.
7192 2000-12-05 Ulrich Drepper <drepper@redhat.com>
7194 * sysdeps/alpha/elf/start.S (__data_start): Define.
7196 2000-12-05 H.J. Lu <hjl@gnu.org>
7198 * nss/getXXent_r.c (setup): Change the return type to int.
7200 2000-12-05 Ulrich Drepper <drepper@redhat.com>
7202 * sysdeps/unix/sysv/aix/Makefile [$(subdir)==misc]
7203 (sysdep_routines): Add restf and savef.
7204 * sysdeps/unix/sysv/aix/restf.c: New file.
7205 * sysdeps/unix/sysv/aix/savef.c: New file.
7206 Patches by Michael Keezer <mkeezer@redhat.com>.
7208 * sysdeps/unix/opendir.c (__opendir): Don't use o_directory_works
7209 if O_DIRECTORY is not defined.
7210 Patch by Michael Keezer <mkeezer@redhat.com>.
7212 * include/libc-symbols.h (C_SYMBOL_DOT_NAME): Define.
7213 Patch by Michael Keezer <mkeezer@redhat.com>.
7215 * locale/programs/linereader.c (get_toplvl_escape): Recognize more
7216 than 4 bytes in escape sequence.
7217 Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
7219 2000-12-05 Andreas Jaeger <aj@suse.de>
7221 * sysdeps/unix/sysv/linux/mips/sys/tas.h (_test_and_set): Don't
7224 * sysdeps/unix/sysv/linux/mips/sysdep.h: New file.
7226 * sysdeps/unix/sysv/linux/mips/sys/syscall.h: Removed.
7228 * sysdeps/unix/mips/sysdep.h: Use SYS_ify.
7229 Patches by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
7231 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Mark as
7233 * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Likewise.
7234 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start_cleanup): Likewise.
7236 * sysdeps/generic/dl-cache.c: Remove declaration of
7237 _dl_sysdep_read_whole_file.
7239 * elf/dl-load.c (_dl_map_object): Remove declaration of
7240 _dl_load_cache_lookup.
7242 * sysdeps/generic/ldsodefs.h: Add declarations of
7243 _dl_load_cache_lookup, _dl_unload_cache,
7244 _dl_sysdep_read_whole_file, _dl_sysdep_start and
7245 _dl_sysdep_start_cleanup.
7247 * elf/rtld.c: Remove prototypes that are defined in ldsodefs.h
7250 * elf/dl-misc.c: Include <ldsodefs.h> to get prototypes.
7251 * sysdeps/generic/dl-environ.c: Likewise.
7253 * stdio-common/printf_fp.c: Include <gmp.h> instead of
7255 * math/atest-exp.c: Likewise.
7256 * math/atest-exp2.c: Likewise.
7257 * math/atest-sincos.c: Likewise.
7258 * stdio-common/_itoa.c: Likewise.
7259 * stdio-common/_itowa.c: Likewise.
7261 * include/gmp.h: New file with internal prototypes.
7263 * sysdeps/generic/longjmp.c: Move _longjmp_unwind declaration from
7265 * include/setjmp.h: ...here.
7267 * locale/Makefile (routines): Remove codeset_name since it's not
7270 * locale/codeset_name.c: Removed.
7272 2000-12-05 Ulrich Drepper <drepper@redhat.com>
7274 * sysdeps/unix/sysv/aix/sys/param.h: Define MAXHOSTNAMELEN here.
7276 2000-12-05 Andreas Jaeger <aj@suse.de>
7278 * sysdeps/unix/sysv/linux/sys/param.h: Revert last patch.
7280 2000-12-05 Martin Schwidefsky <schwidefsky@de.ibm.com>
7282 * sysdeps/unix/sysv/linux/s390/mmap64.S: Use mmap if mmap2 isn't
7285 2000-12-05 Andreas Jaeger <aj@suse.de>
7287 * nss/test-netdb.c: Mark local functions as static to avoid
7289 (main): Use return to silence warning.
7291 * stdlib/test-canon.c (check_path): Mark as static to avoid warning.
7293 * stdio-common/test-popen.c: Mark local functions as static to
7295 (main): Use return to silence warning.
7297 * stdlib/testsort.c (compare): Mark as static to avoid warning.
7299 * assert/test-assert.c: Mark local functions as static to avoid
7301 * assert/test-assert-perr.c: Likewise.
7303 * math/libm-test.inc (main): Use return to silence warnings.
7305 2000-12-04 Ulrich Drepper <drepper@redhat.com>
7307 * math/fenv.h: Fix typo in comment.
7309 * math/test-misc.c (main): Add a few more over and underflow tests
7312 * sysdeps/i386/fpu/e_scalb.S: Handle NaN as first parameter correctly.
7313 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
7314 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
7315 * math/w_scalb.c: Don't use matherr except in SVID mode.
7316 * math/w_scalbf.c: Likewise.
7317 * math/w_scalbl.c: Likewise.
7318 * math/test-misc.c: Add test for NaN and scalbl.
7319 Reported by Fred J. Tydeman <tydeman@tybor.com>.
7321 2000-12-04 Ulrich Drepper <drepper@redhat.com>
7323 * configure.in: Define HAVE_ASM_GLOBAL_DOT_NAME for AIX.
7324 * config.h.in: Add HAVE_ASM_GLOBAL_DOT_NAME.
7325 * include/libc-symbols.h (strong_alias): Define special version
7326 for HAVE_ASM_GLOBAL_DOT_NAME.
7327 (weak_alias): Likewise.
7328 * sysdeps/powerpc/bsd-setjmp.S: Use strong_alias not .set.
7329 * sysdeps/unix/sysv/aix/Makefile [$(subdir)==login]
7330 (sysdep_routines): Add setutxent, getutxent, endutxent, getutxid,
7331 getutxline, pututxline, and utmpxname.
7332 * sysdeps/unix/sysv/aix/fchdir.c: Define __fchdir.
7333 * sysdeps/unix/sysv/aix/lseek.c: Define __libc_lseek alias.
7334 * sysdeps/unix/sysv/aix/open.c: Define __libc_open alias.
7335 * sysdeps/unix/sysv/aix/pread.c: Define pread alias.
7336 * sysdeps/unix/sysv/aix/pread64.c: Define pread64 alias.
7337 * sysdeps/unix/sysv/aix/sysdep.h (JUMPTARGET): Use C_TEXT.
7338 * sysdeps/unix/sysv/aix/bits/types.h: Define __clockid_t and __timer_t.
7339 * sysdeps/unix/sysv/aix/bits/utmp.h: Cleanup. Add comments.
7340 * sysdeps/unix/sysv/linux/sys/param.h (MAXHOSTNAMELEN): Define.
7341 Patches by Michael Keezer <mkeezer@redhat.com>.
7343 2000-12-04 H.J. Lu <hjl@gnu.org>
7345 * configure.in: Change --with-oldest-abi=ABI to
7346 --enable-oldest-abi=ABI.
7348 2000-12-02 Bruno Haible <haible@clisp.cons.org>
7350 * stdio-common/perror.c (perror): If stderr is wide-oriented, use
7351 fwprintf instead of fprintf.
7353 2000-12-04 Ulrich Drepper <drepper@redhat.com>
7355 * sysdeps/alpha/fpu/bits/mathdef.h: Remove FLT_EVAL_METHOD and
7356 DECIMAL_DIG definitions.
7357 * sysdeps/arm/fpu/bits/mathdef.h: Likewise
7358 * sysdeps/generic/bits/mathdef.h: Likewise
7359 * sysdeps/i386/fpu/bits/mathdef.h: Likewise
7360 * sysdeps/ia64/fpu/bits/mathdef.h: Likewise
7361 * sysdeps/m68k/fpu/bits/mathdef.h: Likewise
7362 * sysdeps/powerpc/fpu/bits/mathdef.h: Likewise
7363 * sysdeps/sparc/fpu/bits/mathdef.h: Likewise
7364 * sysdeps/sh/sh4/fpu/bits/mathdef.h: Likewise
7366 2000-12-03 Ulrich Drepper <drepper@redhat.com>
7368 * math/test-fenv.c (main): Use return instead of exit to avoid warning.
7370 * math/atest-exp.c: Mark local functions as static to avoid warnings.
7371 * math/atest-exp2.c: Likewise.
7372 * math/atest-sincos.c: Likewise.
7374 * sysdeps/i386/fpu/bits/mathdef.h (DECIMAL_DIG): Correct value.
7375 Reported by Fred J. Tydeman <tydeman@tybor.com>.
7377 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Hopefully fix
7378 the handling of denormalized numbers.
7380 * math/test-misc.c (main): Test for fpclassify and pseudo denormal
7382 * sysdeps/i386/fpu/fpclassifyl.c: New file.
7384 * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Handle the
7385 pseudo denormal representation of LDBL_MIN.
7387 * iconvdata/SJIS.irreversible: Remove unnecessary entries.
7388 * iconvdata/EUC-JP.irreversible: Remove unnecessary entries.
7390 * iconvdata/sjis.c: Enable round-trip mapping of backslash and tilde.
7391 * iconvdata/jis0208.c: Likewise.
7392 * iconvdata/jis0212.c: Likewise.
7393 Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
7395 * math/test-misc.c (main): More tests for frexp and some for
7396 fpclassify and isnormal.
7398 * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf): Correct
7400 Reported by Fred J. Tydeman <tydeman@tybor.com>.
7402 * math/test-misc.c (main): Add tests for frexp.
7403 Reported by Fred J. Tydeman <tydeman@tybor.com>.
7404 * sysdeps/i386/fpu/s_frexpl.S: Don't overflow during the computation.
7406 2000-12-02 H.J. Lu <hjl@gnu.org>
7408 * locale/lc-time.c (_nl_init_era_entries): Pass L'\0' instead of
7411 2000-12-02 Ulrich Drepper <drepper@redhat.com>
7413 * sysdeps/i386/fpu/s_frexp.S: Add missing fwait.
7414 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
7415 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
7417 * sysdeps/generic/glob.c: Adjust types of several variables to
7420 2000-12-01 Ulrich Drepper <drepper@redhat.com>
7422 * sysdeps/unix/sysv/linux/shm_open.c: Remove incorrect comment.
7424 2000-11-30 Roland McGrath <roland@frob.com>
7426 * hurd/hurd/ioctl.h (_HURD_HANDLE_IOCTLS_1): New macro.
7427 (_HURD_HANDLE_IOCTLS, _HURD_HANDLE_IOCTL): Redefine using it, so as to
7428 allow multiple instances using the same function name in one file.
7430 2000-12-01 Ulrich Drepper <drepper@redhat.com>
7432 * configure.in: Correct test for pserver CVS access.
7434 2000-11-28 H.J. Lu <hjl@gnu.org>
7436 * libio/libio.h: Remove extra "#if ... #endif".
7438 2000-11-29 H.J. Lu <hjl@gnu.org>
7440 * stdio-common/vfscanf.c (ORIENT): Swap the COMPILE_WSCANF case.
7442 2000-12-01 H.J. Lu <hjl@gnu.org>
7444 * nss/getXXbyYY_r.c: Fix verioned symbol handling.
7445 * nss/getXXent_r.c: Likewise.
7446 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
7448 2000-11-30 H.J. Lu <hjl@gnu.org>
7450 * scripts/abi-versions.awk (oldest_abi): New variable.
7451 Handle the oldest ABI supported.
7453 * Makerules ($(common-objpfx)abi-versions.h): Set oldest_abi
7454 for scripts/abi-versions.awk.
7456 * configure.in: Add --with-oldest-abi=ABI.
7457 * configure: Rebuild.
7459 * config.make.in (oldest-abi): New.
7461 * config.h.in (GLIBC_OLDEST_ABI): New.
7463 * csu/version.c (banner): Support GLIBC_OLDEST_ABI.
7465 2000-11-30 Jakub Jelinek <jakub@redhat.com>
7467 * locale/setlocale.c (setname): Free for all categories, not just
7469 (setlocale): Store a copy of string passed by user, not the string
7472 2000-11-30 Roland McGrath <roland@frob.com>
7474 * sysdeps/mach/hurd/defs.c (init_stdio): Put this on __libc_subinit
7475 rather than _hurd_fd_subinit, so it happens after it's safe to use
7476 libc facilities like malloc.
7478 2000-11-28 Andreas Jaeger <aj@suse.de>
7480 * sysdeps/unix/sysv/linux/getdents.c: Add _syscall_getdents64
7481 declaration, adjust declaration of __syscall_getdents to match
7484 2000-11-29 H.J. Lu <hjl@gnu.org>
7486 * sysdeps/generic/readelflib.c (check_ptr): Undefine it first.
7488 2000-11-29 Andreas Jaeger <aj@suse.de>
7490 * sysdeps/unix/sysv/linux/hppa/brk.c (__brk): Remove unused variable.
7492 2000-11-28 Ulrich Drepper <drepper@redhat.com>
7494 * dlfcn/defaultmod1.c: Add prototypes to avoid warnings.
7495 * dlfcn/defaultmod2.c: Likewise.
7496 * dlfcn/dlopen.c: Likewise.
7497 * dlfcn/dlopenold.c: Likewise.
7498 * dlfcn/failtestmod.c: Likewise.
7499 * dlfcn/glreflib1.c: Likewise.
7500 * dlfcn/glreflib2.c: Likewise.
7501 * dlfcn/eval.c: Likewise. Add attributes.
7503 * ctype/ctype-extn.c: Define isblank and not __isblank.
7505 * time/strftime.c: Add const where necessary to avoid warnings.
7506 * time/strptime.c (strptime_internal): Add casts to avoid warnings.
7508 2000-11-22 Paul Eggert <eggert@twinsun.com>
7510 * time/strftime.c (my_strftime): Do not invoke mbrlen with a
7511 size of (size_t) -1; it's not portable.
7513 2000-11-28 Ulrich Drepper <drepper@redhat.com>
7515 * sysdeps/i386/fpu/libm-test-ulps: Adjust some values for the
7517 Reported by Michael Deutschmann <michael@talamasca.ocis.net>.
7519 2000-11-14 Jes Sorensen <jes@linuxcare.com>
7521 * sysdeps/ia64/_mcount.S: Call __mcount instead of __mcount_internal.
7523 * sysdeps/ia64/Makefile: Compile _mcount.S in subdir gmon as
7524 _mcount is required by profiled binaries.
7526 * sysdeps/unix/sysv/linux/ia64/machine-gmon.h: Moved to...
7527 * sysdeps/ia64/machine-gmon.h: ...here.
7529 2000-11-28 Masahide Washizawa <washi@jp.ibm.com>
7531 * iconvdata/Makefile (modules): Add IBM922, IBM1124, and IBM1129.
7532 (distribute): Add ibm922.c, ibm1124.c, ibm1129.c, ibm922.h, ibm1124.h,
7534 * iconvdata/gconv-modules: Add entries for IBM922, IBM1124, and
7536 * iconvdata/ibm922.c: New file.
7537 * iconvdata/ibm922.h: New file.
7538 * iconvdata/ibm1124.c: New file.
7539 * iconvdata/ibm1124.h: New file.
7540 * iconvdata/ibm1129.c: New file.
7541 * iconvdata/ibm1129.h: New file.
7542 * iconvdata/testdata/IBM922: New file.
7543 * iconvdata/testdata/IBM922..UTF8: New file.
7544 * iconvdata/testdata/IBM1124: New file.
7545 * iconvdata/testdata/IBM1124..UTF8: New file.
7546 * iconvdata/testdata/IBM1129: New file.
7547 * iconvdata/testdata/IBM1129..UTF8: New file.
7549 2000-11-28 Ulrich Drepper <drepper@redhat.com>
7551 * catgets/gencat.c (normalize_line): Take extra parameter with escape
7552 character. Change callers.
7553 (open_conversion): Determine mapping of 0x5c as wchar_t value.
7554 * catgets/Makefile: Add rules to build and run test-gencat.
7555 * catgets/sample.SJIS: New file.
7556 * catgets/test-gencat.c: New file.
7557 * catgets/test-gencat.sh: New file.
7558 Report and test case by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
7560 2000-11-28 Andreas Jaeger <aj@suse.de>
7562 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Synch with generic
7565 2000-11-28 Ulrich Drepper <drepper@redhat.com>
7567 * sysdeps/unix/sysv/linux/bits/socket.h: Fix last patch.
7569 2000-11-28 Andreas Jaeger <aj@suse.de>
7571 * sysdeps/unix/sysv/linux/bits/socket.h (struct cmsghdr): Use
7573 * sysdeps/unix/sysv/linux/mips/bits/socket.h (struct cmsghdr):
7576 2000-11-27 Ulrich Drepper <drepper@redhat.com>
7578 * misc/getusershell.c: Make strings in okshells array const.
7579 * misc/regexp.c: Add const to cast to avoid warnings.
7580 * sysdeps/unix/sysv/linux/llseek.c: Add prototype for __llseek.
7581 * sysdeps/unix/sysv/linux/i386/setresuid.c: Add prototype for
7583 * sysdeps/unix/sysv/linux/i386/setresgid.c: Add prototype for
7585 * misc/error.c: Add prototypes for __error and __error_at_line.
7586 * misc/mntent_r.c (__getmntent_r): Add break at end of switch
7587 statement to avoid warning.
7588 * test-skeleton.c: Mark timeout_handler with noreturn.
7589 * iconv/skeleton.c (get16u): Add const to cast.
7591 * iconvdata/gb18030.c: Likewise.
7592 * iconvdata/iso-2022-cn-ext.c: Likewise.
7593 * iconvdata/ansi_x3.110.c: Add cast to avoid warning.
7594 * iconvdata/big5.c: Likewise.
7595 * iconvdata/big5hkscs.c: Likewise.
7596 * iconvdata/iso_6937.c: Likewise.
7597 * iconvdata/iso_6937-2.c: Likewise.
7598 * iconvdata/t.61.c: Likewise.
7599 * iconvdata/iso646.c: Add prototypes for gconv_init and gconv_env.
7600 * iconvdata/unicode.c: Likewise.
7601 * iconvdata/utf-16.c: Likewise.
7602 * iconvdata/cns11643.h (ucs4_to_cns11643): Define needed as size_t.
7603 * iconv/gconv_trans.c (__gconv_translit_find): Avoid one warning
7604 with little code shuffling.
7606 * sysdeps/powerpc/Makefile (CFLAGS-initfini.s): Add -O1 to avoid
7607 the problems introduced when the user selects -O3.
7609 * iconv/gconv.h (__gconv_info): Define __data element using __flexarr.
7610 * misc/sys/cdefs.h: Define __flexarr.
7611 Proposed by Joseph S. Myers <jsm28@cam.ac.uk>.
7613 * iconvdata/iso-2022-jp.c: Add prototypes to avoid warnings.
7614 * iconv/skeleton.c: Likewise.
7615 * iconvdata/iso8859-1.c (BODY to 8859-1): Add const to cast.
7616 * iconv/loop.c (get16): Add const to cast.
7619 2000-11-27 Andreas Jaeger <aj@suse.de>
7621 * login/programs/pt_chown.c (do_pt_chown): Mark function as static
7623 * login/programs/utmpdump.c (print_entry): Likewise.
7625 2000-11-25 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
7627 * sysdeps/mips/__longjmp.c (__longjmp): Restore SP and FP last and
7628 in a single asm as they may be used to access other stored
7630 * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
7632 2000-11-27 Andreas Jaeger <aj@suse.de>
7634 * rt/tst-aio.c: Mark test functions as static to avoid warnings.
7635 * rt/tst-aio64.c: Likewise.
7637 2000-11-27 Ulrich Drepper <drepper@redhat.com>
7639 * catgets/Makefile (test1.cat): Set LC_ALL, LOCPATH, and GCONV_PATH
7641 (libc.cat): Likewise.
7642 * catgets/gencat.c: Implement handling of message catalogs encoded
7643 with stateful character sets.
7644 Based on a patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
7646 2000-11-26 Ulrich Drepper <drepper@redhat.com>
7648 * sysdeps/unix/opendir.c (__opendir): Add cast to avoid warning.
7650 * inet/getnameinfo.c: Adjust casts to avoid warnings.
7651 * inet/rcmd.c: Likewise.
7652 * inet/ruserpass.c: Likewise.
7653 * inet/netinet/in.h (IN6_IS_ADDR_UNSPECIFIED, IN6_IS_ADDR_LOOPBACK,
7654 IN6_IS_ADDR_MULTICAST, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
7655 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, IN6_ARE_ADDR_EQUAL,
7656 IN6_IS_ADDR_MC_NODELOCAL, IN6_IS_ADDR_MC_LINKLOCAL,
7657 IN6_IS_ADDR_MC_SITELOCAL, IN6_IS_ADDR_MC_ORGLOCAL,
7658 IN6_IS_ADDR_MC_GLOBAL): Preserve const in cast.
7659 * include/aliases.h: Add prototypes for internal __getalias* functions.
7660 * include/netdb.h: Add prototypes for __old_gethostent_r,
7661 __old_gethostbyaddr_r, __old_gethostbyname_r, __old_gethostbyname2_r,
7662 __old_getnetent_r, __old_getnetbyaddr_r, __old_getnetbyname_r,
7663 __old_getservent_r, __old_getservbyname_r, __old_getservbyport_r,
7664 __old_getprotoent_r, __old_getprotobyname_r, __old_getprotobynumber_r.
7665 * include/rpc/netdb.h: Add prototypes for __old_getrpcbyname_r,
7666 __old_getrpcbynumber_r, __old_getrpcent_r.
7668 * include/rpc/netdb.h: Add __getrpcbyname_r, __getrpcbynumber_r,
7669 __getrpcent_r prototypes.
7671 2000-11-25 Ulrich Drepper <drepper@redhat.com>
7673 * string/strcoll.c: Add casts to avoid warnings.
7674 * string/strnlen.c: Likewise.
7675 * string/strxfrm.c: Likewise.
7676 * sysdeps/generic/_strerror.c: Likewise.
7677 * sysdeps/generic/memrchr.c: Likewise.
7678 * sysdeps/generic/strcasestr.c: Likewise.
7679 * sysdeps/generic/strstr.c: Likewise.
7681 * locale/weight.h (findidx): Add const to cast to avoid warning.
7683 * elf/loadfail.c: Little cosmetic changes to avoid warnings.
7684 * elf/loadtest.c: Likewise.
7685 * elf/multiload.c: Likewise.
7686 * elf/next.c: Likewise.
7687 * elf/nodelete.c: Likewise.
7688 * elf/noload.c: Likewise.
7689 * elf/order.c: Likewise.
7690 * elf/origtest.c: Likewise.
7691 * elf/preloadtest.c: Likewise.
7692 * elf/restest1.c: Likewise.
7694 * sysdeps/i386/i486/bits/string.h (__strncat_g) [i686]: Fourth
7695 parameter of asm must be in %ecx.
7697 * string/tester.c: Mark test functions as static to avoid warnings.
7699 * iconv/gconv_conf.c (read_conf_file): Make mod_counter static to
7700 preserve value over different gconv-modules files.
7702 2000-11-24 Ulrich Drepper <drepper@redhat.com>
7704 * locale/findlocale.c: Add casts to avoid warnings.
7705 * locale/localeinfo.h (LIMAGIC): Add cast to avoid warnings.
7706 * misc/efgcvt_r.c (fcvt_r): Use ssize_t instead of int and add cast
7708 * misc/tsearch.c (const_node): New type.
7709 (trecurse): Correct casts to avoid warnings.
7710 (__twalk): Likewise.
7711 * stdlib/tst-limits.c: Add z modifier to formats for WORD_BIT and
7714 * debug/backtrace-tst.c (compare): Add casts to avoid warnings.
7716 * test-skeleton.c: Mark local functions as static to avoid warnings.
7718 2000-11-23 H.J. Lu <hjl@gnu.org>
7720 * rt/tst-aio6.c (do_test): Use pipe instead of STDIN_FILENO to
7721 support the background job.
7724 2000-11-24 Ulrich Drepper <drepper@redhat.com>
7726 * iconv/gconv_conf.c (insert_module): Replace old entry if new one
7727 has same names but lower cost.
7729 2000-11-23 Jakub Jelinek <jakub@redhat.com>
7731 * sysdeps/sparc/sparc32/dl-machine.h: Ifdef out handling for relocs
7732 which never occur during bootstrap.
7733 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
7735 2000-11-23 Andreas Jaeger <aj@suse.de>
7737 * nss/nss_files/files-hosts.c: Remove getipnodebyname.
7739 * nss/Versions: Remove _nss_files_getipnodebyname_r.
7741 * sysdeps/unix/sysv/linux/Versions: Fix typo in last patch.
7743 2000-11-18 Martin Buchholz <martin@xemacs.org>
7745 * csu/gmon-start.c (__gmon_start__): Avoid over-clever trick `if
7748 2000-11-21 Alan Modra <alan@linuxcare.com.au>
7750 * sysdeps/generic/bsd-_setjmp.c (setjmp): Rename to _setjmp.
7752 * csu/abi-note.S: Correct comment for operating system number.
7754 2000-11-22 Ulrich Drepper <drepper@redhat.com>
7756 * Versions.def: Add GLIBC_2.2.1 for glibc.
7758 2000-11-22 Andreas Schwab <schwab@suse.de>
7760 * sysdeps/unix/sysv/linux/syscalls.list: Add pivot_root.
7761 * sysdeps/unix/sysv/linux/Versions: Add pivot_root at GLIBC_2.2.1.
7763 2000-11-22 Ulrich Drepper <drepper@redhat.com>
7765 * rt/aio_suspend.c (aio_suspend): Convert timeout value to
7766 absolute time for pthread_cond_timedwait call.
7767 Reported by Lawrence Chen <lchen@opentext.com> [libc/1930].
7769 * rt/Makefile (tests): Add tst-aio6.
7770 * rt/tst-aio6.c: New file.
7772 2000-11-23 Andreas Jaeger <aj@suse.de>
7774 * sysdeps/s390/bits/string.h (strncat): Fix one more typo.
7776 2000-11-22 Andreas Jaeger <aj@suse.de>
7778 * sysdeps/s390/bits/string.h (strncat): Add missing quotation marks.
7780 2000-11-21 Martin Schwidefsky <schwidefsky@de.ibm.com>
7782 * sysdeps/s390/bits/string.h: Make strncat always add a \0.
7784 2000-11-21 Andreas Schwab <schwab@suse.de>
7786 * sysdeps/alpha/setjmp.S: Remove __setjmp entry point.
7787 * sysdeps/arm/setjmp.S: Likewise.
7788 * sysdeps/arm/fpu/setjmp.S: Likewise.
7789 * sysdeps/i386/setjmp.S: Likewise.
7790 * sysdeps/i386/elf/setjmp.S: Likewise.
7791 * sysdeps/s390/setjmp.S: Likewise.
7792 * sysdeps/s390/elf/setjmp.S: Likewise.
7793 * sysdeps/sh/sh3/setjmp.S: Likewise.
7794 * sysdeps/sh/sh4/setjmp.S: Likewise.
7795 * sysdeps/sparc/sparc32/setjmp.S: Likewise.
7796 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
7797 * sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S: Likewise.
7798 * sysdeps/unix/sysv/linux/m68k/setjmp.c: Removed.
7800 2000-11-21 Andreas Jaeger <aj@suse.de>
7802 * sysdeps/generic/__longjmp.c (__longjmp): Remove obsolete
7803 NORETURN, fix parameter list.
7805 * string/bug-strncat1.c (main): Fix typo.
7806 Patch by Bernhard Kaindl <bernhard.kaindl@suse.de>.
7808 2000-11-20 Ulrich Drepper <drepper@redhat.com>
7810 * configure.in: Add --enable-all-warnings.
7811 * config.make.in (all-warnings): New variable.
7812 * Makeconfig (+gccwarn): Define with many more warnings if
7813 all-warnings is yes.
7815 2000-11-20 Jakub Jelinek <jakub@redhat.com>
7817 * iconvdata/bug-iconv2.c (main): Use %zd in format string.
7818 * io/test-lfs.c (do_test): Cast statbuf.st_size to long long.
7819 * malloc/tst-valloc.c (main): Cast valloc return value to long.
7820 * malloc/tst-obstack.c (verbose_malloc): Use %zd in format string.
7821 * math/test-fpucw.c (main): Use %lx in format string, cast
7822 control words to long.
7823 * stdio-common/tst-fmemopen.c (main): Use %td in format strings.
7824 * stdlib/tst-strtol.c (tests): Avoid (bogus?) decimal constant is so
7825 large that it is unsigned warning.
7827 * sysdeps/unix/sysv/linux/sparc/bits/types.h (__ssize_t): Changing
7828 it to long on sparc64.
7830 2000-11-20 Andreas Jaeger <aj@suse.de>
7832 * nscd/nscd.h (termination_handler): Add noreturn attribute.
7833 (receiv_print_stats): Likewise.
7835 * elf/ldconfig.c (path_hwcap): Cast -1 for proper comparison.
7837 2000-11-20 Ulrich Drepper <drepper@redhat.com>
7839 * malloc/thread-m.h: gcc doesn't tolerate zero-sized types anymore.
7841 * csu/gmon-start.c: Always have prototype for __gmon_start.
7842 * csu/version.c: Add prototypes for __libc_print_version and
7844 * iconv/gconv.c: Include gconv_int.h and gconv.h.
7845 * iconv/gconv.h (struct __gconv_step): Remove const from __from_name
7847 * iconv/gconv_builtin.h: Add ASCII module definitions.
7848 * iconv/gconv_conf.c (__gconv_path_elem): Remove const.
7849 (add_module): Add cast to avoid warning. Rework construction of
7850 strings for new module.
7851 * iconv/gconv_db.c (__gconv_alias_compare): Make s1 and s2 const.
7852 (derivation_compare): Likewise.
7853 * iconv/gconv_dl.c (do_release_shlib): Remove const from nodep.
7854 (__gconv_release_shlib): Cast do_release_shlib as parameter for twalk.
7855 * iconv/gconv_int.h (__gconv_path_elem): Remove const.
7856 (struct gconv_alias): Remove const from fromname and toname.
7857 * iconv/gconv_simple.c: Include gconv_builtin.h to get prototypes
7859 (internal_ucs4_loop): Use correct const-ness.
7860 (ucs4_internal_loop): Likewise.
7861 (internal_ucs4le_loop): Likewise.
7862 (ucs4le_internal_loop_single): Likewise.
7863 * iconv/gconv_trans.c (__gconv_transliterate): Make from_idx, from_tbl,
7864 to_idx, to_tbl, winbuf, winbufend const. Change casts in
7865 assignments appropriately.
7866 (struct known_trans): Remove const from fname.
7867 (trans_compare): Make s1 and s2 const.
7868 * iconv/loop.c (LOOPFC): Make outend parameter const. Add cast to
7870 * iconv/skeleton.c: Remove cast in calls of loop functions.
7871 * iconvdata/gconv-modules: Remove US-ASCII definitions.
7872 * iconvdata/iso646.c: Remove US_ASCII support.
7873 * include/set-hooks.h (DEFINE_HOOK): Also generate prototype.
7874 * include/unistd.h: Add __libc_check_standard_fds prototype.
7875 * string/bits/string2.h (__mempcpy_args): Add const to casts.
7876 * sysdeps/generic/initfini.c: Add prototypes for dummy, _init, and
7878 * sysdeps/generic/libc-start.c: Add prototype for __libc_start_main.
7879 * sysdeps/i386/i486/bits/string.h (strcmp): Add const to casts.
7880 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Add cast to avoid
7882 * sysdeps/unix/sysv/linux/init-first.c: Add prototypes for
7883 __libc_init_first and _dl_start.
7884 * intl/dcigettext.c (transcmp): Make s1 and s2 const.
7885 (DCIGETTEXT): Make domaindata variable const.
7886 * intl/loadmsgcat.c (_nl_load_domain): Rearrange domain initialization
7889 2000-11-20 Hiroyuki Machida <machida@sm.sony.co.jp>
7891 * sysdeps/unix/sysv/linux/mips/clone.S: Fix comments.
7893 * sysdeps/unix/sysv/linux/mips/kernel_stat.h (kernel_stat): Expand
7894 time_t to 'long int' not, 'unsigned int'. Use 'long int' for
7897 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (O_NOFOLLOW): Use same
7898 value defined in /usr/include/asm-mips/fcntl.h.
7900 2000-11-18 Ulrich Drepper <drepper@redhat.com>
7902 * stdio-common/Makefile (tests): Add test-vfprintf.
7903 (test-vfprintf-ENV): New variable.
7904 * stdio-common/test-vfprintf.c: New file.
7906 * wcsmbs/mbrtowc.c (__mbrtowc): Do not only flush if input is '\0'.
7908 * wcsmbs/Makefile (tests): Add tst-mbrtowc and tst-wcrtomb.
7909 (tst-mbrtowc-ENV): New variable.
7910 (tst-wcrtomb-ENV): New variable.
7911 * wcsmbs/tst-mbrtowc.c: New file.
7912 * wcsmbs/tst-wcrtomb.c: New file.
7914 2000-11-16 Andreas Jaeger <aj@suse.de>
7916 * manual/install.texi (Tools for Compilation): Update
7917 documentation for GCC 2.95.2.
7919 2000-11-18 Ulrich Drepper <drepper@redhat.com>
7921 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only return -EAI_AGAIN
7922 if IPv4 and IPv6 requests timed out.
7924 2000-11-18 Akim Demaille <akim@epita.fr>
7926 * malloc/obstack.h: Formatting changes.
7927 (obstack_grow, obstack_grow0): Don't cast WHERE at all: it
7928 prevents type checking.
7929 (obstack_ptr_grow, obstack_ptr_grow_fast): When assigning, don't
7930 cast the value to (void *): assigning a `foo *' to a `void *'
7932 (obstack_int_grow, obstack_int_grow_fast): Don't cast AINT to int.
7934 2000-11-17 Ulrich Drepper <drepper@redhat.com>
7936 * scripts/config.guess: Update from upstream maintainer.
7937 * scripts/config.sub: Likewise.
7939 2000-11-16 Ulrich Drepper <drepper@redhat.com>
7941 * libio/freopen.c (freopen): Reset _mode after succesful reopening.
7942 * libio/freopen64.c (freopen64): Likewise.
7943 Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
7945 * libio/Makefile: Add rules to build and run test-freopen.
7946 * libio/test-freopen.c: New file.
7947 * libio/test-freopen.sh: New file.
7949 2000-11-15 H.J. Lu <hjl@gnu.org>
7951 * sysdeps/generic/ldsodefs.h (DL_DT_INIT_ADDRESS): Defined if
7952 ELF_FUNCTION_PTR_IS_SPECIAL is not defined.
7953 (DL_DT_FINI_ADDRESS): Likewise.
7955 * sysdeps/ia64/dl-lookupcfg.h (_dl_lookup_address): Set the
7956 return type to ElfW(Addr).
7957 (_dl_function_address): New prototype.
7958 (DL_FUNCTION_ADDRESS): Defined.
7959 (DL_DT_INIT_ADDRESS): Defined as DL_FUNCTION_ADDRESS.
7960 (DL_DT_FINI_ADDRESS): Likewise.
7962 * sysdeps/ia64/Versions (GLIBC_2.2): Add _dl_function_address.
7964 * sysdeps/ia64/dl-machine.h (_dl_start_address): Removed.
7965 (ELF_MACHINE_START_ADDRESS): Changed to DL_FUNCTION_ADDRESS.
7967 * sysdeps/ia64/dl-symaddr.c (_dl_start_address): Renamed to ...
7968 (_dl_function_address): This.
7970 * elf/dl-fini.c (_dl_fini): Use DL_DT_FINI_ADDRESS to get the
7971 function pointer for DT_FINI.
7972 * elf/dl-close.c (_dl_close): Likewise.
7974 * elf/dl-init.c (_dl_init): Use DL_DT_INIT_ADDRESS to get the
7975 function pointer for DT_INIT.
7977 2000-11-16 Jakub Jelinek <jakub@redhat.com>
7979 * sysdeps/generic/printf_fphex.c (__printf_fphex): Compute correctly
7980 end of wexpbuf buffer.
7982 2000-11-16 Andreas Jaeger <aj@suse.de>
7984 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove duplicate
7985 definition of F_GETLK, F_SETLK, F_SETLKW.
7987 2000-11-16 Andreas Jaeger <aj@suse.de>
7989 * sysdeps/generic/dl-cache.c (_DL_PLATFORMS_COUNT): Define to 0 if
7992 2000-11-15 Jakub Jelinek <jakub@redhat.com>
7994 * dlfcn/default.c (main): Add test for dladdr of main returning
7995 argv[0] in dli_fname field.
7997 2000-11-15 Jakub Jelinek <jakub@redhat.com>
7999 * Makeconfig (run-program-prefix): Move test-static test into the
8002 * sysdeps/alpha/dl-machine.h (RTLD_START): Update _dl_argv.
8003 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise,
8004 schedule instructions.
8005 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise,
8006 schedule instructions, fix a bug in copying auxiliary data.
8008 2000-11-15 Ulrich Drepper <drepper@redhat.com>
8010 * manual/startup.texi (Program Arguments): Fix type of main's envp
8012 Reported by Raúl Núñez de Arenas Coronado <dervishd@linuxfreak.com>.
8014 * iconvdata/gconv-modules: Add CP950 alias.
8016 2000-11-13 Jakub Jelinek <jakub@redhat.com>
8018 * sysdeps/unix/sysv/linux/Makefile: Allow ports to override
8019 syscall-list.h goal.
8020 * sysdeps/unix/sysv/linux/sparc/Makefile: New file.
8022 2000-11-15 Ulrich Drepper <drepper@redhat.com>
8024 * intl/Makefile: tst-gettext2.sh does not need a third parameter.
8026 * intl/tst-gettext2.sh: Copy locale data. Adjust LOCPATH. Verify
8029 * intl/tst-gettext2.c: Set C locale if setting other locale
8030 failed. Use gettext() not _().
8032 * locale/setlocale.c: Increment _nl_msg_cat_cntr whenever we
8033 successfully loaded a new locale.
8035 2000-11-13 Andreas Jaeger <aj@suse.de>
8037 * configure.in: Require gcc 2.95 or newer.
8039 2000-11-15 Ulrich Drepper <drepper@redhat.com>
8041 * sysdeps/unix/sysv/linux/paths.h: Adjust for FHS.
8042 Patch by Arkadiusz Miskiewicz <misiek@pld.ORG.PL>.
8044 2000-11-11 Jim Meyering <meyering@lucent.com>
8046 * string/strndup.c (strndup): Cast return value to `char *'.
8048 2000-11-15 Jim Meyering <meyering@ascend.com>
8050 * sysdeps/generic/memchr.c: Remove some useless parentheses.
8051 [HAVE_STDLIB_H || defined _LIBC]: Include <stdlib.h>.
8052 [HAVE_BP_SYM_H || defined _LIBC]: Guard inclusion of bp-sym.h.
8053 [! (HAVE_BP_SYM_H || defined _LIBC)] (BP_SYM): Define as no-op.
8054 Also #undef __memchr.
8055 Use `weak_alias' only if it's defined.
8057 2000-11-10 H.J. Lu <hjl@gnu.org>
8059 * Makefile.in (install): Set LANGUAGE=C LC_ALL=C.
8061 2000-11-15 Andreas Jaeger <aj@suse.de>
8063 * elf/chroot_canon.c: Include <stdint.h>.
8065 * elf/cache.c (struct cache_entry): Use uint64_t for hwcap.
8066 (print_entry): Likewise.
8067 (add_to_cache): Likewise.
8069 * elf/ldconfig.h (add_to_cache): Change prototype for hwcap change.
8071 * elf/ldconfig.c (struct lib_entry): Use uint64_t for hwcap.
8072 (path_hwcap): Likewise.
8073 (search_dir): Likewise.
8075 * sysdeps/generic/dl-cache.c (HWCAP_CHECK): Handle platform.
8077 * elf/cache.c (add_to_cache): Handle 64 bit hwcap entry.
8079 * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h
8080 (_dl_platform_string): New.
8081 (_DL_HWCAP_PLATFORM): New.
8082 (_dl_string_platform): New.
8083 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h: Likewise.
8085 * sysdeps/generic/dl-procinfo.h (_DL_HWCAP_COUNT): New.
8086 (_dl_string_platform): New.
8087 (_DL_HWCAP_PLATFORM): New.
8088 (_dl_platform_string): New.
8090 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Added x86 platform
8092 (_DL_HWCAP_COUNT): New.
8093 (_dl_string_platform): New.
8094 (_DL_HWCAP_PLATFORM): New.
8095 (_dl_platform_string): New.
8097 2000-11-14 Ulrich Drepper <drepper@redhat.com>
8099 * iconvdata/gconv-modules: Add CP936 as alias for GBK.
8101 2000-11-14 Andreas Jaeger <aj@suse.de>
8103 * sysdeps/generic/dl-cache.c (HWCAP_CHECK): Fix access to _dl_hwcap.
8105 2000-11-13 Roland McGrath <roland@frob.com>
8107 * hurd/get-host.c (_hurd_get_host_config): Fix last change.
8109 2000-11-13 Marcus Brinkmann <marcus@gnu.org>
8111 * hurd/get-host.c (_hurd_get_host_config): Fix possible buffer
8112 underrun and make sure the result is null terminated even if there
8113 is no trailing newline.
8115 2000-11-13 Jakub Jelinek <jakub@redhat.com>
8117 * sysdeps/alpha/fpu/libm-test-ulps: Update.
8119 2000-11-10 H.J. Lu <hjl@gnu.org>
8121 * sysdeps/ia64/fpu/libm-test-ulps: Updated.
8123 2000-11-10 Andreas Jaeger <aj@suse.de>
8125 * elf/ldconfig.c (create_links): Fix alloca calculation.
8126 Patch by Ben Collins <bcollins@debian.org>.
8128 2000-11-09 Ulrich Drepper <drepper@redhat.com>
8130 * inet/getnameinfo.c (getnameinfo): Use correct destination
8131 parameter for if_indextoname.
8132 Patch by Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>.
8134 2000-11-09 H.J. Lu <hjl@gnu.org>
8136 * sunrpc/Versions (GLIBC_2.1): Remove xdr_cryptkeyarg,
8137 xdr_cryptkeyarg2, xdr_cryptkeyres, xdr_des_block,
8138 xdr_key_netstarg, xdr_key_netstres, xdr_keybuf and
8141 * time/Versions (GLIBC_2.1): Move getitimer to...
8142 * sysdeps/unix/sysv/linux/alpha/Versions (GLIBC_2.1): ...here.
8144 2000-11-03 Bruno Haible <haible@clisp.cons.org>
8146 * manual/install.texi: Recommend to set LANGUAGE=C LC_ALL=C during
8147 "make install", to work around a binary incompatibility between
8148 glibc 2.1 and glibc 2.2 gconv modules.
8150 2000-11-09 Ulrich Drepper <drepper@redhat.com>
8152 * intl/locale.alias: Add thai.
8153 Patch by Chanop Silpa-Anan <chanop@syseng.anu.edu.au>.
8155 2000-11-07 Akim Demaille <akim@epita.fr>
8157 * malloc/obstack.c (obstack_grow, obstack_grow0): Rename the second
8158 argument `data' for consistency with the prototypes.
8160 (obstack_copy, obstack_copy0): Rename the second argument as
8161 `address' for consistency. Qualify it `const'.
8162 * malloc/obstack.h (obstack_copy, obstack_copy0, obstack_grow)
8163 (obstack_grow0, obstack_ptr_grow, obstack_ptr_grow_fast): Qualify
8164 `const' their input argument (`data' or `address').
8165 Adjust the corresponding macros to include `const' in casts.
8167 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
8169 * sysdeps/posix/getaddrinfo.c: Clean-up: define family to hold
8172 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
8174 * sysdeps/posix/getaddrinfo.c: Loosen protocol check to ease raw
8177 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
8179 * sysdeps/posix/getaddrinfo.c: Ensure to fill ai_socktype and
8180 ai_protocol by internal table if service was not given.
8182 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
8184 * sysdeps/posix/getaddrinfo.c: Don't raise an error even if
8185 numerical port was specified with protocol without socktype.
8187 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
8189 * sysdeps/posix/getaddrinfo.c: Ensure to check if protocol is ok.
8191 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
8193 * inet/getnameinfo.c: getnameinfo() NI_xxx flag validation.
8195 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
8197 * sysdeps/posix/getaddrinfo.c: Ensure not to fill garbage value in
8198 sin6_scope_id field.
8200 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
8202 * inet/getnameinfo.c: Repair getnameinfo() sin6_socpe_id support.
8204 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
8206 * inet/getnameinfo.c: Repair NI_NOFQDN flag support.
8208 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
8210 * inet/getnameinfo.c: Wake-up sin6_scope_id support in
8211 getnameinfo(): check for whether sin6_socpe_id exist was wrong.
8213 2000-11-09 Martin Schwidefsky <mschwide@nc.boeblingen.de.ibm.com>
8215 * sysdeps/unix/sysv/linux/s390/mmap.S: Use mmap2 if it is present.
8216 * sysdeps/unix/sysv/linux/s390/mmap64.S: New file.
8218 2000-11-09 H.J. Lu <hjl@gnu.org>
8220 * io/Versions (GLIBC_2.1.1): Remove lockf64.
8223 See ChangeLog.11 for earlier changes.