1 2001-06-11 Andreas Jaeger <aj@suse.de>
3 * sysdeps/ieee754/ldbl-128/e_coshl.c: New file. Contributed by
4 Stephen L Moshier <moshier@mediaone.net>.
6 * aclocal.m4: Quote AC_FD_MSG and AC_FD_CC.
8 * sysdeps/powerpc/fpu/libm-test-ulps: Add ULPs for tanh (-0.7).
9 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
11 2001-06-11 Michael Deutschmann <michael@talamasca.ocis.net>
13 * rt/tst-aio4.c (do_test): Test whether rt signals are supported.
14 Use my_signo instead of MY_SIGNO and initialize it so that the
15 used signal is always available.
17 2001-06-11 Andreas Jaeger <aj@suse.de>,
18 Michael Deutschmann <michael@talamasca.ocis.net>
20 * io/test-lfs.c (do_prepare): Clean up error messages.
21 (test_ftello): Check for EFBIG and ENOSP, clean up error messages.
24 2001-06-11 Andreas Jaeger <aj@suse.de>
26 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (IXANY, IUCLC,
27 IMAXBEL): Make always visible since they're needed by POSIX.
28 Closes PR libc/2320, reported by Chris Yeoh <cyeoh@samba.org>.
30 2001-06-10 Ben Collins <bcollins@debian.org>
32 * sysdeps/arm/elf/start.S: Use #function, not @function, for
35 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Include limits.h to get
38 2001-06-07 H.J. Lu <hjl@gnu.org>
40 * sunrpc/rpc/rpc.h: Add __BEGIN_DECLS/__END_DECLS.
42 2001-06-10 Roland McGrath <roland@frob.com>
44 * elf/reldep4mod2.c: Use fully typed decls to avoid warnings.
45 * elf/reldep4mod4.c: Likewise.
47 2001-06-10 Mark Kettenis <kettenis@gnu.org>
49 * hurd/hurd/threadvar.h: Add prototype for __hurd_errno_location.
51 2001-06-08 Andreas Schwab <schwab@suse.de>
53 * posix/regex.c (re_match_2_internal) [case wordbeg, wordend]:
54 Don't dereference at end of string.
56 2001-06-06 Roland McGrath <roland@frob.com>
58 * sysdeps/mach/hurd/getsockopt.c: Fix handling of returned buffer size.
59 From Robert Bihlmeyer <robbe@orcus.priv.at>.
61 2001-06-06 Ulrich Drepper <drepper@redhat.com>
63 * po/ko.po: Update from translation team.
65 2001-06-06 Andreas Jaeger <aj@suse.de>
67 * manual/llio.texi (Memory-mapped I/O): Clarify that mapping is to
69 Reported by Robert Bernecky <bernecky@acm.org>.
71 2001-06-06 Jakub Jelinek <jakub@redhat.com>
73 * sysdeps/cris/elf/start.S: Fix a typo introduced by last patch.
74 * sysdeps/ia64/elf/start.S: Likewise.
75 * sysdeps/sh/elf/start.S: Likewise.
76 * sysdeps/s390/s390-32/elf/start.S: Likewise.
77 * sysdeps/s390/s390-64/elf/start.S: Likewise.
79 2001-06-05 Matthew Wilcox <willy@ldl.fc.hp.com>
81 * sysdeps/hppa/bsd-_setjmp.S: New.
82 * sysdeps/hppa/bsd-setjmp.S: New.
84 * sysdeps/hppa/dl-machine.h: Reformat asm statements to remove new
85 gcc warnings about multi-line strings.
87 * sysdeps/unix/sysv/linux/hppa/getrlimit.c: Remove.
88 * sysdeps/unix/sysv/linux/hppa/setrlimit.c: Remove.
90 * sysdeps/unix/sysv/linux/hppa/syscalls.list: Call getrlimit,
91 setrlimit directly instead of using wrappers.
93 2001-05-01 Richard Hirst <rhirst@linuxcare.com>
95 * sysdeps/unix/sysv/linux/hppa/syscall.S: remove dummy syscall.
96 * sysdeps/unix/sysv/linux/hppa/sysdep.c: implement syscall.
98 2001-06-05 Philipp Thomas <pthomas@suse.de>
100 * nis/nis_call.c (__nisbind_connect): Don't mark for translation
101 what can't be translated.
103 2001-06-06 Ulrich Drepper <drepper@redhat.com>
105 * timezone/zic.c: Update from tzcode2001c.
106 * timezone/private.h: Likewise.
107 * timezone/africa: Update from tzdata2001c.
108 * timezone/asia: Likewise.
109 * timezone/europe: Likewise.
110 * timezone/northamerica: Likewise.
111 * timezone/southamerica: Likewise.
112 * timezone/zone.tab: Likewise.
114 2001-06-04 Bruno Haible <haible@clisp.cons.org>
116 * iconv/loop.c (UNICODE_TAG_HANDLER): New macro.
117 * iconv/gconv_simple.c (__gconv_transform_internal_ascii): Invoke
119 (__gconv_transform_internal_ucs2): Likewise.
120 (__gconv_transform_internal_ucs2reverse): Likewise.
121 * iconvdata/8bit-gap.c (BODY for TO_LOOP): Invoke UNICODE_TAG_HANDLER.
122 * iconvdata/8bit-generic.c (BODY for TO_LOOP): Likewise.
123 * iconvdata/ansi_x3.110.c (BODY for TO_LOOP): Likewise.
124 * iconvdata/big5.c (BODY for TO_LOOP): Likewise.
125 * iconvdata/big5hkscs.c (BODY for TO_LOOP): Likewise.
126 * iconvdata/cp1255.c (BODY for TO_LOOP): Likewise.
127 * iconvdata/cp1258.c (BODY for TO_LOOP): Likewise.
128 * iconvdata/euc-cn.c (BODY for TO_LOOP): Likewise.
129 * iconvdata/euc-jp.c (BODY for TO_LOOP): Likewise.
130 * iconvdata/euc-kr.c (BODY for TO_LOOP): Likewise.
131 * iconvdata/euc-tw.c (BODY for TO_LOOP): Likewise.
132 * iconvdata/gbk.c (BODY for TO_LOOP): Likewise.
133 * iconvdata/ibm930.c (BODY for TO_LOOP): Likewise.
134 * iconvdata/ibm932.c (BODY for TO_LOOP): Likewise.
135 * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
136 * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
137 * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
138 * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
139 * iconvdata/ibm943.c (BODY for TO_LOOP): Likewise.
140 * iconvdata/iso646.c (BODY for TO_LOOP): Likewise.
141 * iconvdata/iso8859-1.c (BODY for TO_LOOP): Likewise.
142 * iconvdata/iso_6937.c (BODY for TO_LOOP): Likewise.
143 * iconvdata/iso_6937-2.c (BODY for TO_LOOP): Likewise.
144 * iconvdata/iso-2022-cn.c (BODY for TO_LOOP): Likewise.
145 * iconvdata/iso-2022-cn-ext.c (BODY for TO_LOOP): Likewise.
146 * iconvdata/iso-2022-kr.c (BODY for TO_LOOP): Likewise.
147 * iconvdata/johab.c (BODY for TO_LOOP): Likewise.
148 * iconvdata/sjis.c (BODY for TO_LOOP): Likewise.
149 * iconvdata/t.61.c (BODY for TO_LOOP): Likewise.
150 * iconvdata/uhc.c (BODY for TO_LOOP): Likewise.
151 * iconvdata/unicode.c (BODY for TO_LOOP): Likewise.
152 * iconvdata/iso-2022-jp.c (TAG_none, TAG_language, TAG_language_j,
153 TAG_language_ja, TAG_language_k, TAG_language_ko, TAG_language_z,
154 TAG_language_zh, CURRENT_TAG_MASK): New enum values.
155 (EMIT_SHIFT_TO_INIT): Don't emit an escape sequence if ASCII_set
156 is already selected but set2 or tag are set.
157 (conversion): New enum type.
158 (cvlist_t): New type.
159 (CVLIST, CVLIST_FIRST, CVLIST_REST): New macros.
160 (conversion_lists): New array.
161 (BODY for TO_LOOP): Keep track of Unicode 3.1 language tag. If "ja",
162 prefer conversion to Japanese character sets. If "zh", prefer
163 conversion to GB2312. If "ko", prefer conversion to KSC5601. Small
165 (INIT_PARAMS): Add tag.
166 (UPDATE_PARAMS): Add tag.
168 2001-06-04 Bruno Haible <haible@clisp.cons.org>
170 * locale/programs/locfile.c (write_locale_data): Before creat(),
171 unlink the file, to avoid crashing the processes that mmap it. Change
172 a double slash to a single slash. Free fname in case of error return.
174 2001-06-02 Jakub Jelinek <jakub@redhat.com>
176 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Mostly revert 2000-12-03
177 changes, do the special handling for denormal numbers, not for
178 normalized numbers (patch by <trevin@xmission.com>).
180 * math/test-misc.c (main): Test frexpl with denormal arguments.
182 2001-06-04 Jakub Jelinek <jakub@redhat.com>
184 * math/libm-test.inc (llround_test): Add two new llround tests.
185 * sysdeps/ieee754/ldbl-96/s_llroundl.c (__llroundl): Don't allow
186 overflow when rounding away from zero.
188 2001-06-04 Jakub Jelinek <jakub@redhat.com>
190 * math/Makefile (libm-calls): Add e_log2, w_log2, remove s_log2.
191 * math/math_private.h (__ieee754_log2, __ieee754_log2f,
192 __ieee754_log2l): New prototypes.
193 * sysdeps/generic/w_log2.c: New file.
194 * sysdeps/generic/w_log2f.c: New file.
195 * sysdeps/generic/w_log2l.c: New file.
196 * sysdeps/generic/s_log2l.c: Move...
197 * sysdeps/generic/e_log2l.c: ...to here. Rename to __ieee754_log2l.
198 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle log2(0)
200 * sysdeps/i386/fpu/s_log2.S: Move...
201 * sysdeps/i386/fpu/e_log2.S: ...to here. Rename to __ieee754_log2.
202 * sysdeps/i386/fpu/s_log2f.S: Move...
203 * sysdeps/i386/fpu/e_log2f.S: ...to here. Rename to __ieee754_log2f.
204 * sysdeps/i386/fpu/s_log2l.S: Move...
205 * sysdeps/i386/fpu/e_log2l.S: ...to here. Rename to __ieee754_log2l.
206 * sysdeps/m68k/fpu/s_log2.S: Move...
207 * sysdeps/m68k/fpu/e_log2.S: ...to here. Rename to __ieee754_log2.
208 * sysdeps/m68k/fpu/s_log2f.S: Move...
209 * sysdeps/m68k/fpu/e_log2f.S: ...to here. Rename to __ieee754_log2f.
210 * sysdeps/m68k/fpu/s_log2l.S: Move...
211 * sysdeps/m68k/fpu/e_log2l.S: ...to here. Rename to __ieee754_log2l.
212 * sysdeps/ieee754/dbl-64/s_log2.c: Move...
213 * sysdeps/ieee754/dbl-64/e_log2.c: ...to here. Rename to
215 * sysdeps/ieee754/flt-32/s_log2f.c: Move...
216 * sysdeps/ieee754/flt-32/e_log2f.c: ...to here. Rename to
219 2001-06-04 Jakub Jelinek <jakub@redhat.com>
221 * sysdeps/generic/w_exp2.c (u_threshold): Lower threshold so that
222 even arguments which result in denormalized exp2 are accepted.
223 (__exp2): Arguments equal to u_threshold already result into
225 * sysdeps/generic/w_exp2f.c (u_threshold, __exp2f): Likewise.
226 * sysdeps/generic/w_exp2l.c (u_threshold, __exp2l): Likewise.
227 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Lomark was too
228 low, with corrected lowmark use greaterequal, not greater.
229 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
231 2001-06-04 Jakub Jelinek <jakub@redhat.com>
233 * math/libm-test.inc (ilogb_test): Test that ilogb(+-Inf) == INT_MAX.
234 * sysdeps/i386/fpu/s_ilogb.S (__ilogb): Return INT_MAX for +-Inf.
235 * sysdeps/i386/fpu/s_ilogbf.S (__ilogbf): Likewise.
236 * sysdeps/i386/fpu/s_ilogbl.S (__ilogbl): Likewise.
237 * sysdeps/ieee754/dbl-64/s_ilogb.c (__ilogb): Likewise.
238 * sysdeps/ieee754/flt-32/s_ilogbf.c (__ilogbf): Likewise.
239 * sysdeps/ieee754/ldbl-128/s_ilogbl.c (__ilogbl): Likewise.
240 * sysdeps/ieee754/ldbl-96/s_ilogbl.c (__ilogbl): Likewise.
242 2001-06-04 Jakub Jelinek <jakub@redhat.com>
244 * sysdeps/generic/w_coshl.c (__coshl): Test if finite argument
245 gave non-finite result instead of using constant in generic
247 * sysdeps/generic/w_coshf.c (__coshf): Likewise.
248 * sysdeps/generic/w_cosh.c (__cosh): Likewise.
249 * sysdeps/generic/w_exp10.c (o_threshold, u_threshold): Remove.
250 (__exp10): Test if finite argument gave non-finite result.
251 * sysdeps/generic/w_exp10f.c (o_threshold, u_threshold, __exp10f):
253 * sysdeps/generic/w_exp10l.c (o_threshold, u_threshold, __exp10l):
256 2001-06-04 Jakub Jelinek <jakub@redhat.com>
258 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Fix
259 overflow threshold constant (log(LDBL_MAX)+M_LN2l).
261 2001-05-29 Bruno Haible <haible@clisp.cons.org>
263 * locale/programs/ld-ctype.c (idx_table): New struct type.
264 (idx_table_init, idx_table_get, idx_table_add): New functions.
265 (MAX_CHARNAMES_IDX): Remove macro.
266 (locale_ctype_t): Change type of charnames_idx field.
267 (ctype_startup): Change initialization of charnames_idx field.
268 (find_idx): Use idx_table_get and idx_table_add for speed.
270 * locale/programs/charmap.c (charmap_new_char): Fix ucs4 value
271 computation of characters in a range.
273 2001-05-29 Bruno Haible <haible@clisp.cons.org>
275 * iconvdata/gb18030.c (__fourbyte_to_ucs1): Add mappings for <U03F4>,
277 (__ucs_to_gb18030_tab1): Likewise.
278 (BODY for FROM_LOOP): Add mapping for <U00010000>..<U0010FFFF>.
279 (BODY for TO_LOOP): Likewise.
280 * iconvdata/tst-table-charmap.sh: Update for charmaps containing
282 * iconvdata/tst-table-from.c (bmp_only): New variable.
283 (utf8_decode): If bmp_only, don't return characters outside Unicode
285 (main): When testing UTF-8 or GB18030, set bmp_only to 1. Don't print
286 a conversion line if utf8_decode returns NULL.
287 * iconvdata/tst-table-to.c (main): When testing encodings other than
288 UTF-8 and GB18030, loop upto U+30000 instead of U+10000. Use UTF-8
289 instead of UCS-2 as input.
290 * iconvdata/tst-table.sh: For GB18030, use only the part < 0x10000
293 2001-05-29 Bruno Haible <haible@clisp.cons.org>
295 * iconvdata/cns11643l1.c: Update to Unicode 3.1.
296 (__cns11643l1_to_ucs4_tab): Regenerated.
297 (__cns11643l1_from_ucs4_tab12): Regenerated.
298 * iconvdata/cns11643.c: Update to Unicode 3.1.
299 (__cns11643l14_to_ucs4_tab): Remove array.
300 (__cns11643l3_to_ucs4_tab, __cns11643l4_to_ucs4_tab,
301 __cns11643l5_to_ucs4_tab, __cns11643l6_to_ucs4_tab,
302 __cns11643l7_to_ucs4_tab, __cns11643l15_to_ucs4_tab): New arrays.
303 (__cns11643_from_ucs4p0_tab): Renamed from __cns11643_from_ucs4_tab.
304 (__cns11643_from_ucs4p2_tab): New array.
305 * iconvdata/cns11643.h (__cns11643l14_to_ucs4_tab): Remove declaration.
306 (__cns11643l3_to_ucs4_tab, __cns11643l4_to_ucs4_tab,
307 __cns11643l5_to_ucs4_tab, __cns11643l6_to_ucs4_tab,
308 __cns11643l7_to_ucs4_tab, __cns11643l15_to_ucs4_tab): New declarations.
309 (cns11643_to_ucs4): Treat planes 3, 4, 5, 6, 7, 15 instead of 14.
310 (__cns11643_from_ucs4_tab): Remove declaration.
311 (__cns11643_from_ucs4p0_tab, __cns11643_from_ucs4p2_tab): New
313 (ucs4_to_cns11643): Update for new arrays. Treat U+3400..U+4DFF and
315 * iconvdata/cns11643l2.h (__cns11643_from_ucs4_tab): Remove
317 (__cns11643_from_ucs4p0_tab): New declaration.
318 (ucs4_to_cns11643l2): Update for new arrays.
319 * iconvdata/iso-2022-cn-ext.c (BODY for FROM_LOOP): Handle planes
321 (BODY for TO_LOOP): Handle planes 3 to 7, instead of plane 14.
322 * iconvdata/EUC-TW.irreversible: New file.
323 * iconvdata/tst-table.sh: Use it.
324 * iconvdata/Makefile (distribute): Add CP1255.irreversible,
325 CP1258.irreversible, EUC-TW.irreversible.
327 2001-05-29 Bruno Haible <haible@clisp.cons.org>
329 * locale/C-translit.h.in: Add transliterations for new Unicode 3.1
330 mathematical symbols.
332 2001-06-05 Andreas Jaeger <aj@suse.de>
334 * manual/stdio.texi (Portable Positioning): Fix description of
337 2001-06-06 Ulrich Drepper <drepper@redhat.com>
339 * sysdeps/generic/wordexp.c: Undo last patch. Use strndupa instead.
341 * po/sk.po: Update from translation team.
343 2001-06-05 Andreas Jaeger <aj@suse.de>
345 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Recognize
346 tmpfs, patch by Stanislav Brabec <utx@penguin.cz>.
349 2001-06-05 Ulrich Drepper <drepper@redhat.com>
351 * sysdeps/generic/wordexp.c: Add missing free.
352 Patch by yeti@physics.muni.cz.
354 2001-06-02 Tom Browder <tbrowder@home.com>
356 * misc/tst-tsearch.c (mangle_tree): Ensure array indices are
357 within bounds when lag > 0.
359 2001-06-05 Ulrich Drepper <drepper@redhat.com>
361 * po/tr.po: New file.
363 2001-06-05 Andreas Jaeger <aj@suse.de>
365 * manual/libm-err-tab.pl (parse_ulps): Fix typo.
367 2001-06-04 H.J. Lu <hjl@gnu.org>
369 * sysdeps/alpha/elf/start.S: Add .type for the entry point.
370 * sysdeps/arm/elf/start.S: Likewise.
371 * sysdeps/hppa/elf/start.S: Likewise.
372 * sysdeps/i386/elf/start.S: Likewise.
373 * sysdeps/m68k/elf/start.S: Likewise.
374 * sysdeps/mips/elf/start.S: Likewise.
375 * sysdeps/ia64/elf/start.S: Likewise.
376 * sysdeps/sh/elf/start.S: Likewise.
377 * sysdeps/s390/s390-32/elf/start.S: Likewise.
378 * sysdeps/s390/s390-64/elf/start.S: Likewise.
379 * sysdeps/cris/elf/start.S: Likewise.
381 2001-06-04 Bruce Mitchener <bruce@cubik.org>
383 * manual/resource.texi: Correct setpriority/nice documentation.
385 * sysdeps/unix/nice.c: Correct nice() implementation.
387 2001-06-04 Andreas Jaeger <aj@suse.de>
389 * sysdeps/ieee754/ldbl-128/e_sinhl.c: New file, contributed by
390 Stephen L Moshier <moshier@mediaone.net>.
392 2001-06-03 Roland McGrath <roland@frob.com>
394 * Makefile (postclean): Remove obsolete sysd-Makefile.
396 2001-06-01 Roland McGrath <roland@frob.com>
398 * sysdeps/alpha/fpu/fclrexcpt.c: #include <shlib-compat.h>
399 and use compat_symbol/versioned_symbol instead of plain
400 symbol_version/default_symbol_version.
401 * sysdeps/alpha/fpu/fegetenv.c: Likewise.
402 * sysdeps/alpha/fpu/fesetenv.c: Likewise.
403 * sysdeps/alpha/fpu/feupdateenv.c: Likewise.
404 * sysdeps/alpha/fpu/fgetexcptflg.c: Likewise.
405 * sysdeps/alpha/fpu/fraiseexcpt.c: Likewise.
406 * sysdeps/alpha/fpu/fsetexcptflg.c: Likewise.
407 * sysdeps/arm/fpu/fclrexcpt.c: Likewise.
408 * sysdeps/arm/fpu/fegetenv.c: Likewise.
409 * sysdeps/arm/fpu/fesetenv.c: Likewise.
410 * sysdeps/arm/fpu/fraiseexcpt.c: Likewise.
411 * sysdeps/arm/fpu/fsetexcptflg.c: Likewise.
412 * sysdeps/i386/fpu/fclrexcpt.c: Likewise.
413 * sysdeps/i386/fpu/fegetenv.c: Likewise.
414 * sysdeps/i386/fpu/fesetenv.c: Likewise.
415 * sysdeps/i386/fpu/feupdateenv.c: Likewise.
416 * sysdeps/i386/fpu/fgetexcptflg.c: Likewise.
417 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
418 * sysdeps/i386/fpu/fsetexcptflg.c: Likewise.
419 * sysdeps/m68k/fpu/fclrexcpt.c: Likewise.
420 * sysdeps/m68k/fpu/fegetenv.c: Likewise.
421 * sysdeps/m68k/fpu/fesetenv.c: Likewise.
422 * sysdeps/m68k/fpu/feupdateenv.c: Likewise.
423 * sysdeps/m68k/fpu/fgetexcptflg.c: Likewise.
424 * sysdeps/m68k/fpu/fraiseexcpt.c: Likewise.
425 * sysdeps/m68k/fpu/fsetexcptflg.c: Likewise.
426 * sysdeps/powerpc/fclrexcpt.c: Likewise.
427 * sysdeps/powerpc/fpu/fegetenv.c: Likewise.
428 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
429 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
430 * sysdeps/powerpc/fpu/fgetexcptflg.c: Likewise.
431 * sysdeps/powerpc/fpu/fraiseexcpt.c: Likewise.
432 * sysdeps/powerpc/fpu/fsetexcptflg.c: Likewise.
434 * iconvdata/cp1258.c: Include <stdlib.h> for abort decl.
435 * iconvdata/iso-2022-cn-ext.c: Likewise.
437 2001-06-01 Andreas Jaeger <aj@suse.de>
439 * Versions.def: Add version 2.2.4.
441 2001-06-01 Ulrich Drepper <drepper@redhat.com>
443 * socket/Makefile (routines): Add sockatmark.
444 * socket/Versions [GLIBC_2.2.4]: Add sockatmark.
445 * socket/sys/socket.h: Add prototype for sockatmark.
446 * sysdeps/generic/sockatmark.c: New file.
447 * sysdeps/unix/sockatmark.c: New file.
449 2001-06-01 Andreas Jaeger <aj@suse.de>
451 * sysdeps/unix/sysv/linux/speed.c (cfsetispeed): Max speed is
453 (cfsetospeed): Likewise.
454 Reported by Lukasz Trabinski <lukasz@lt.wsisiz.edu.pl>.
456 2001-05-31 Joseph S. Myers <jsm28@cam.ac.uk>
458 * misc/sys/cdefs.h (__restrict_arr): Define to empty for C++.
460 2001-05-30 Martin Schwidefsky <schwidefsky@de.ibm.com>
462 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: greg_t
463 needs to have the same aligment as the kernel structure.
465 2001-05-29 Jakub Jelinek <jakub@redhat.com>
467 * sunrpc/rpc/types.h (u_char, u_short, u_int, u_long, quad_t,
468 u_quad_t, fsid_t, daddr_t, caddr_t): Make sure the types are defined.
469 * posix/sys/types.h (u_char, u_short, u_int, u_long, quad_t,
470 u_quad_t, fsid_t, daddr_t, caddr_t): Protect the __USE_BSD typedefs
471 against multiple definition.
473 2001-05-30 Ulrich Drepper <drepper@redhat.com>
475 * po/da.po: Update from translation team.
477 2001-05-29 Andreas Jaeger <aj@suse.de>
479 * sysdeps/ieee754/ldbl-128/e_acosl.c: New file, contributed by
480 Stephen L Moshier <moshier@mediaone.net>.
482 * math/libm-test.inc (sinh_test): Add new test case.
484 * sysdeps/ieee754/ldbl_96/e_sinhl.c (__ieee754_sinhl): sinhl(x) =
486 Patch by Stephen L Moshier <moshier@mediaone.net>.
488 2001-05-23 Andreas Jaeger <aj@suse.de>
490 * iconvdata/testdata/WINDOWS-1255..UTF-8: Renamed to...
491 * iconvdata/testdata/WINDOWS-1255..UTF8: this.
493 2001-05-27 Andreas Jaeger <aj@suse.de>
495 * manual/stdio.texi (String Streams): Fix fmemopen description.
496 Reported by Michal Kochanowicz <michal@michal.waw.pl>.
498 2001-05-26 H.J. Lu <hjl@gnu.org>
500 * sysdeps/unix/sysv/linux/mips/syscalls.list: Change sigsuspend
501 to s_sigsuspend. Add s_mmap2.
503 * sysdeps/mips/atomicity.h: New file.
505 * sysdeps/unix/sysv/linux/mips/getsysstats.c: New file.
507 * sysdeps/unix/sysv/linux/mips/bits/ipc.h (ipc_perm): Put
510 2001-05-25 Bruce Mitchener <bruce@cubik.org>
512 * manual/ctype.texi: Minor fix.
513 * manual/install.texi: Likewise.
514 * manual/startup.texi: Likewise.
515 * manual/examples/dir.c: Use perror() rather than puts().
517 2001-05-25 David Mosberger <davidm@hpl.hp.com>
519 * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h: Put stuff following
520 #endif directive inside a comment to avoid compiler warnings.
522 2001-05-25 Philipp Thomas <pthomas@suse.de>
524 * nis/nis_print.c (nis_nstype2str): Don't mark names of
525 naming services for translation, only UNKNOWN needs it.
526 Add comment to prevent it for the future.
528 2001-05-25 Joseph S. Myers <jsm28@cam.ac.uk>
530 * misc/sys/cdefs.h (__restrict_arr): Define appropriately for GCC
531 3.1 and non-GCC C99 compilers.
533 2001-05-22 David Mosberger <davidm@hpl.hp.com>
535 * sysdeps/ia64/memmove.S: Increase MEMLAT from 6 to 21 for better
537 * sysdeps/ia64/memcpy.S: Likewise.
539 * sysdeps/ia64/bcopy.S: New file.
541 * sysdeps/ia64/bzero.S: New file (derived from memset.S).
543 2001-05-26 Ulrich Drepper <drepper@redhat.com>
545 * sysdeps/ia64/fpu/libm-test-ulps: Add deltas for tanh(-0.7).
547 2001-05-24 Ulrich Drepper <drepper@redhat.com>
549 * iconvdata/Makefile: Add rules for CP10007.
550 * iconvdata/gconv-modules: Add entries for CP10007 ad MacCyrillic.
551 * iconvdata/cp10007.c: New file.
552 * iconvdata/tst-tables.sh: Add CP10007.
554 2001-05-23 kaz Kojima <kkojima@rr.iij4u.or.jp>
556 * sysdeps/sh/dl-machine.h (_dl_runtime_resolve): Handle newer PLT.
557 (_dl_runtime_profile): Likewise..
559 2001-05-23 Thorsten Kukuk <kukuk@suse.de>
561 * sysdeps/posix/getaddrinfo.c: Support for AF_UNIX commented out.
562 * posix/tst-getaddrinfo.c: Remove AF_UNIX test.
564 2001-05-19 H.J. Lu <hjl@gnu.org>
566 * elf/dl-deps.c (_dl_map_object_deps): Pass objname and
567 errstring of the failed DSO to _dl_signal_error ().
569 2001-05-23 Ulrich Drepper <drepper@redhat.com>
571 * iconvdata/gconv-modules: Add more aliases to enable use in
574 2001-05-23 Andreas Jaeger <aj@suse.de>
576 * sysdeps/unix/sysv/linux/ia64/Makefile (CFLAGS-initfini.s):
577 Remove, it's not used anywhere anymore.
578 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile
579 (CFLAGS-initfini.s): Likewise.
580 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile
581 (CFLAGS-initfini.s): Likewise.
582 * sysdeps/unix/sysv/linux/powerpc/Makefile (CFLAGS-initfini.s):
584 * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-initfini.s):
587 2001-05-21 Bruno Haible <haible@clisp.cons.org>
589 * wcsmbs/mbrtowc.c (mbrtowc): Remove local variable 'flush', always
590 use 0 instead, and rely on the converter to do the flush.
591 * wcsmbs/tst-mbrtowc.c (utf8_test_1): New function, taken from
593 (utf8_test_2, utf8_test_3): New function.
594 (utf8_test): Call utf8_test_1, utf8_test_2, utf8_test_3.
596 2001-05-22 Jakub Jelinek <jakub@redhat.com>
598 * elf/dl-close.c (_dl_close): Save imap->l_reldeps, not map->l_reldeps.
600 * elf/Makefile (distribute): Add reldep4mod[1234].c.
601 (tests): Add reldep4.
602 (modules-names): Add reldep4mod[1234].
603 (reldep4mod1.so, reldep4mod2.so, reldep4, reldep4.out): New rules.
604 * elf/reldep4.c: New file.
605 * elf/reldep4mod1.c: Likewise.
606 * elf/reldep4mod2.c: Likewise.
607 * elf/reldep4mod3.c: Likewise.
608 * elf/reldep4mod4.c: Likewise.
610 2001-05-18 Jakub Jelinek <jakub@redhat.com>
612 * elf/dl-lookup.c (PROTECTED): Remove defines.
613 (add_dependency): Mark it with internal_function.
614 (_dl_do_lookup, _dl_do_lookup_versioned): New functions.
615 (_dl_lookup_symbol, _dl_lookup_symbol_skip,
616 _dl_lookup_versioned_symbol, _dl_lookup_versioned_symbol_skip): Use
617 it if we don't want do_lookup* inlined.
619 2001-05-18 Jakub Jelinek <jakub@redhat.com>
621 * include/link.h (struct r_scope_elem): Remove r_duplist and
623 * elf/dl-load.c (_dl_map_object_from_fd): Don't initialize them.
624 * elf/dl-lookup.c (_dl_lookup_symbol_skip): Look in r_list, not
626 (_dl_lookup_versioned_symbol_skip): Likewise.
627 * elf/dl-deps.c (struct list): Remove dup field, rename unique to next.
628 (_dl_map_object_deps): Don't compute duplicate list.
630 * elf/dl-symbol.c: Removed.
631 * elf/Makefile (routines): Remove dl-symbol.
633 2001-05-22 Ulrich Drepper <drepper@redhat.com>
635 * po/el.po: Update from translation team.
636 * po/sv.po: Likewise.
638 2001-05-20 Bruno Haible <haible@clisp.cons.org>
640 * iconvdata/cp1255.c: Completely rewritten.
641 * iconvdata/Makefile (gen-8bit-gap-modules): Remove cp1255.
642 * iconvdata/testdata/WINDOWS-1255: New file.
643 * iconvdata/testdata/WINDOWS-1255..UTF8: New file.
644 * iconvdata/TESTS: Add WINDOWS-1255 test.
645 * iconvdata/CP1255.irreversible: New file.
647 2001-05-20 Bruno Haible <haible@clisp.cons.org>
649 * iconvdata/cp1258.c: Completely rewritten.
650 * iconvdata/Makefile (gen-8bit-gap-modules): Remove cp1258.
651 * iconvdata/testdata/WINDOWS-1258: New file.
652 * iconvdata/testdata/WINDOWS-1258..UTF8: New file.
653 * iconvdata/TESTS: Add WINDOWS-1258 test.
654 * iconvdata/tst-table-from.c (try): Reset the iconv descriptor before
655 the main call, and flush it afterwards.
656 (utf8_decode): Return a string, possibly containing several Unicode
658 (main): Update all utf8_decode calls.
659 * iconvdata/CP1258.irreversible: New file.
661 2001-05-20 Bruno Haible <haible@clisp.cons.org>
663 * iconv/gconv.c (__gconv): For flush without output, pass do_flush = 2.
664 * iconv/skeleton.c: Distinguish do_flush = 1 and do_flush = 2. In the
665 first case, set outbuf, outstart, outend, and call PREPARE_LOOP before
666 EMIT_SHIFT_TO_INIT; then pass the output produced by this step down to
667 the next step. In the second case, clear the state without calling
669 * iconvdata/ibm930.c (EMIT_SHIFT_TO_INIT): Use outbuf instead of
670 data->__outbuf, and outend instead of data->__outbufend.
671 * iconvdata/ibm933.c (EMIT_SHIFT_TO_INIT): Likewise.
672 * iconvdata/ibm935.c (EMIT_SHIFT_TO_INIT): Likewise.
673 * iconvdata/ibm937.c (EMIT_SHIFT_TO_INIT): Likewise.
674 * iconvdata/ibm939.c (EMIT_SHIFT_TO_INIT): Likewise.
675 * iconvdata/iso-2022-cn.c (EMIT_SHIFT_TO_INIT): Likewise.
676 * iconvdata/iso-2022-cn-ext.c (EMIT_SHIFT_TO_INIT): Likewise.
677 * iconvdata/iso-2022-jp.c (EMIT_SHIFT_TO_INIT): Likewise.
678 * iconvdata/iso-2022-kr.c (EMIT_SHIFT_TO_INIT): Likewise.
679 * iconvdata/utf-7.c (EMIT_SHIFT_TO_INIT): Likewise.
681 2001-05-21 Jakub Jelinek <jakub@redhat.com>
683 * elf/rtld.c (dl_main): Compute l_map_end for the main program.
684 * elf/dl-sym.c (_dl_sym): Don't check for l_addr == 0.
685 If match == _dl_loaded, caller can still come from the main program.
686 (_dl_vsym): Likewise.
687 * elf/dl-open.c (dl_open_worker): Don't check for l_addr == 0.
688 * elf/dl-error.c (_dl_signal_error): Change NULL objname into "".
689 * elf/restest2.c: New test.
690 * elf/Makefile (tests): Add restest2.
691 (restest2, LDFLAGS-restest2): Add rules.
693 2001-05-22 Ulrich Drepper <drepper@redhat.com>
695 * intl/Makefile: Add a few more dependencies to avoid races in the
698 2001-05-22 Andreas Jaeger <aj@suse.de>
700 * sysdeps/ieee754/ldbl-128/s_log1pl.c: New file, contributed by
701 Stephen L Moshier <moshier@mediaone.net>.
703 2001-05-22 Martin Schwidefsky <schwidefsky@de.ibm.com>
705 * sysdeps/s390/s390-32/backtrace.c: Make backtrace return the
706 return addresses instead of the stack pointers.
707 * sysdeps/s390/s390-64/backtrace.c: Likewise.
709 2001-05-21 Jakub Jelinek <jakub@redhat.com>
711 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Include
712 bits/sigcontext.h instead of bits/sigstack.h.
713 * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h: Add
714 multiple-inclusion guards.
716 2001-05-21 Andreas Jaeger <aj@suse.de>
718 * locale/programs/ld-collate.c (handle_ellipsis): Fix message.
719 Patch by Philipp Thomas <pthomas@suse.de>.
721 2001-05-17 Bruce Mitchener <bruce@cubik.org>
723 * manual/arpg.texi: Spelling, misc fixes.
724 * manual/arith.texi: Likewise.
725 * manual/crypt.texi: Likewise.
726 * manual/debug.texi: Likewise.
727 * manual/getopt.texi: Likewise.
728 * manual/intro.texi: Likewise.
729 * manual/memory.texi: Likewise.
730 * manual/nss.texi: Likewise.
731 * manual/pattern.texi: Likewise.
732 * manual/process.texi: Likewise.
733 * manual/resource.texi: Likewise.
734 * manual/search.texi: Likewise.
735 * manual/setjmp.texi: Likewise.
736 * manual/signal.texi: Likewise.
737 * manual/socket.texi: Likewise.
738 * manual/stdio.texi: Likewise.
739 * manual/string.texi: Likewise.
740 * manual/sysinfo.texi: Likewise.
741 * manual/terminal.texi: Likewise.
742 * manual/llio.texi: Document madvise().
744 2001-05-20 Roland McGrath <roland@frob.com>
746 * Makeconfig (sysdep-makeconfigs): Include any Makeconfig files
747 found within $(add-ons) directories too.
748 [linuxthreads add-on]: Move variable settings for linuxthreads
749 to new file linuxthreads/Makeconfig.
751 2001-05-20 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
753 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_STD_AUXV):
754 Define for linux >= 2.4.5 on powerpc.
755 (__ASSUME_MMAP2_SYSCALL): Likewise.
757 2001-05-19 Roland McGrath <roland@frob.com>
759 * hurd/hurdlookup.c (__hurd_file_name_lookup_retry): Don't leak the
760 result port when failing with ELOOP. Do the ELOOP check when
761 following an absolute symlink target as well as relative.
762 Remove #ifdef SYMLOOP_MAX conditional--it should always be defined.
764 2001-05-18 Andreas Jaeger <aj@suse.de>
766 * po/fr.po: Free software is "logiciel libre".
767 Patch by Martin Michlmayr <tbm@cyrius.com>.
769 * sysdeps/powerpc/elf/libc-start.c: Use __cxa_atexit.
770 Patch by ekato@ees.hokudai.ac.jp, closes PR libc/2271.
772 2001-05-17 David Mosberger <davidm@hpl.hp.com>
774 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: New file.
776 2001-05-17 Ulrich Drepper <drepper@redhat.com>
778 * elf/dl-profile.c (_dl_mcount): Check whether state is
779 GMON_PROF_ON before doing anything.
781 2001-05-17 H.J. Lu <hjl@gnu.org>
783 * elf/sprof.c (read_symbols): Move "++symtab" into the while loop.
785 2001-05-17 Ulrich Drepper <drepper@redhat.com>
787 * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Use
788 CHECK_SIGSET_NULL_OK and not CHECK_SIGSET for all parameters.
789 Reported by Mark Burton <markb@ordern.com>.
791 2001-05-17 Jakub Jelinek <jakub@redhat.com>
793 * elf/ldconfig.c (add_dir): Only warn about stat failure if
795 (search_dir): Likewise.
797 2001-05-17 Ulrich Drepper <drepper@redhat.com>
799 * sysdeps/i386/i486/atomicity.h (exchange_and_add): Correct second
800 parameter of xaddl. Patch by H . J . Lu <hjl@lucon.org>.
802 2001-05-14 Bruno Haible <haible@clisp.cons.org>
804 * iconvdata/iso-2022-cn-ext.c (BODY for FROM_LOOP): If SO is seen
805 without previous announcement, reject it regularly, don't abort.
807 2001-05-16 Ulrich Drepper <drepper@redhat.com>
809 * math/tgmath.h: Fix handling of int parameters to binary and
810 ternary functions. Reported by mitr@volny.cz.
812 * math/test-tgmath.c: Add tests for calls with integer parameters.
814 2001-05-15 Jakub Jelinek <jakub@redhat.com>
816 * sunrpc/rpc_thread.c (rpc_default): Remove.
817 (__rpc_thread_destroy): Use __libc_tsd_RPC_VARS_mem instead of
819 (rpc_thread_multi, __rpc_thread_svc_fdset, __rpc_thread_createerr,
820 __rpc_thread_svc_pollfd, __rpc_thread_svc_max_pollfd): Likewise.
821 * sunrpc/auth_none.c (authnone_private): Fix a typo.
823 2001-05-16 Martin Schwidefsky <schwidefsky@de.ibm.com>
825 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Fix stack allocation.
827 2001-05-16 Bruce Mitchener <bruce@cubik.org>
829 * manual/llio.texi: Many grammar and typo fixes to the section on AIO.
831 2001-05-15 Andreas Jaeger <aj@suse.de>
833 * sysdeps/ieee754/ldbl-128/s_expm1l.c: New file, contributed by
834 Stephen L Moshier <moshier@mediaone.net>.
836 * sysdeps/i386/fpu/libm-test-ulps: Adjust for change.
838 * math/libm-test.inc: Add comment with ToDo.
840 * sysdeps/i386/fpu/e_expl.c: Rewritten to C and using a more
841 accurate algorithm. Patch by Stephen L Moshier <moshier@mediaone.net>.
843 * sysdeps/i386/fpu/e_expl.S: Removed.
845 2001-05-14 Roland McGrath <roland@frob.com>
847 * csu/Makefile ($(objpfx)g$(start-installed-name)): Turn this into a
848 static pattern rule also that also covers
849 $(objpx)g$(static-start-installed-name).
850 [$(start-installed-name) != $(static-start-installed-name)]
851 (extra-objs, omit-deps, install-lib): Add
852 $(static-start-installed-name) and g$(static-start-installed-name).
853 * sysdeps/mach/hurd/i386/Makefile: Don't add crt0.o to those here;
854 just setting static-start-installed-name is now sufficient.
855 (extra-objs): Add static-start.o here.
856 (CFLAGS-initfini.s): Remove obsolete variable.
857 * sysdeps/mach/hurd/i386/Makeconfig: New file.
858 Define static-start-installed-name here.
860 * Makeconfig: Include existing $(full_config_sysdirs:=/Makeconfig).
861 * Make-dist (+sysdep-tsrcs): Look for Makeconfig files.
863 * Makerules ($(+sysdir_pfx)sysd-Makefile): Remove this target and
864 associated hair. Instead, just use $(wildcard ...) in the include.
866 * configure.in (critic_missing, aux_missing): Collect in these vars
867 the names of the missing programs, and include them in the error msgs.
868 * configure: Regenerated.
870 2001-05-14 Andreas Jaeger <aj@suse.de>
872 * sysdeps/i386/fpu/libm-test-ulps: Adjust for new tests.
874 * math/libm-test.inc (tanh_test): Add testcases for last tanh bug.
876 2001-05-14 Stephen L Moshier <moshier@mediaone.net>
878 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Fix sign test.
880 2001-05-11 Jakub Jelinek <jakub@redhat.com>
882 * posix/regex.c (re_match_2_internal): Swap mbs_offset and csize
883 as well if swapping strings.
884 Make sure stop is not past end of second string.
885 * posix/bug-regex4.c: New test.
886 * posix/Makefile (tests): Add bug-regex4.
888 2001-05-10 Andreas Jaeger <aj@suse.de>
890 * manual/install.texi (Linux): Clarify that Linux 2.2 is minimal
893 2001-05-12 Andreas Jaeger <aj@suse.de>
895 * sysdeps/ieee754/dbl-64/s_sin.c: Include "math_private.h" for
897 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
898 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
899 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
900 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
901 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
902 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
903 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
905 * math/math_private.h: Add prototypes for internal functions of
906 the IBM Accurate Mathematical Library.
908 * sysdeps/ieee754/dbl-64/s_atan.c: Include "math.h" for
910 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
912 * sysdeps/ieee754/dbl-64/e_asin.c: Include "math_private.h" for
914 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
915 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
916 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
917 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
918 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
919 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
920 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
921 * sysdeps/generic/e_rem_pio2l.c: Likewise.
922 (__ieee754_rem_pio2l): Fix prototype.
924 * math/math_private.h (__copysign): Add internal prototype.
926 2001-05-11 Andreas Jaeger <aj@suse.de>
928 * sysdeps/unix/sysv/linux/configure.in: Move binutils check to...
929 * sysdeps/unix/sysv/linux/mips/configure.in: ...here. New file.
931 2001-05-11 Andreas Jaeger <aj@suse.de>
933 * sysdeps/unix/sysv/linux/configure.in: Check binutils version on
936 * sysdeps/mips/rtld-ldscript.in: Removed unneeded binary output
937 format directive. Patch by Steven J. Hill <sjhill@cotw.com>.
939 2001-05-11 Roland McGrath <roland@frob.com>
941 * sysdeps/mach/hurd/Makefile ($(link-rpcuserlibs)): Don't use
942 $(build-module) here, since we don't need the full magilla.
943 Just use $(build-module-helper) and append our special options.
945 2001-05-09 Andreas Schwab <schwab@suse.de>
947 * sysdeps/unix/readdir.c: Make sure we don't modify errno when we
950 2001-05-07 H.J. Lu <hjl@gnu.org>
952 * elf/ldconfig.c (dir_entry): Add ino and dev.
953 (add_single_dir): Compare ino and dev to check if 2 directory
954 paths are the same or not. Free entry->path for duplicates.
955 (add_dir): Initialize ino and dev for entry.
956 (search_dir): Handle symlink to directory.
958 2001-05-07 Andreas Jaeger <aj@suse.de>
960 * sysdeps/i386/fpu/libm-test-ulps: Add ulps for new exp tests.
962 * math/libm-test.inc (exp_test): Add some more tests.
963 (pow_test): Run double only test also for long double.
965 * math/test-ldouble.c (TEST_LDOUBLE): Define.
966 * math/test-ildoubl.c (TEST_LDOUBLE): Likewise.
968 * sysdeps/generic/bits/confname.h: Remove extra comma at end of
972 * scripts/config.guess: Imported from gnu.org.
973 * scripts/config.sub: Likewise.
975 2001-05-05 Jakub Jelinek <jakub@redhat.com>
977 * include/features.h (__USE_EXTERN_INLINES): Don't define if
978 __NO_INLINE__ is defined.
979 * ctype/ctype.h (tolower, toupper): Change the guard condition to
980 __USE_EXTERN_INLINES check only.
981 * stdlib/stdlib.h (strtod, ...): Likewise.
982 * wcsmbs/wchar.h (mbrlen): Likewise.
983 * string/string.h: Only include bits/string.h and bits/string2.h
984 if __NO_INLINE__ is not defined.
986 2001-05-07 Andreas Jaeger <aj@suse.de>
988 * debug/Makefile ($(objpfx)xtrace): Substitute @SLIBDIR@ instead
991 2001-05-04 H.J. Lu <hjl@gnu.org>
993 * malloc/Makefile ($(objpfx)memusage): Substitute @SLIBDIR@
996 2001-05-06 Andreas Jaeger <aj@suse.de>
998 * sysdeps/i386/fpu/e_fmodl.c: New, rewrite of e_fmodl.S.
999 * sysdeps/i386/fpu/e_fmodl.S: Removed.
1000 * sysdeps/i386/fpu/e_atan2l.c: New, rewrite of e_atan2l.S.
1001 * sysdeps/i386/fpu/e_atan2l.S: Removed.
1002 * sysdeps/i386/fpu/e_acosl.c: New, rewrite of e_acos.S.
1003 * sysdeps/i386/fpu/s_atanl.c: New, rewrite of e_atanl.S.
1004 * sysdeps/i386/fpu/e_sqrtl.c: New, rewrite of e_sqrt.S.
1005 * sysdeps/i386/fpu/e_acosl.S: Removed.
1006 * sysdeps/i386/fpu/s_atanl.S: Removed.
1007 * sysdeps/i386/fpu/e_sqrtl.S: Removed.
1009 2001-05-05 Mark Kettenis <kettenis@gnu.org>
1011 * sysdeps/mach/hurd/bits/environments.h: Add comment from
1012 sysdeps/generic/bits/environments.h. Define _POSIX_V6_* values.
1014 2001-04-30 Jakub Jelinek <jakub@redhat.com>
1016 * posix/confstr.c (confstr) [_CS_V6_WIDTH_RESTRICTED_ENVS]: Move so
1017 that _CS_LFS_CFLAGS can fall through to the empty returned string
1018 case. Add FALLTHROUGH comment.
1020 2001-04-29 Ralf Baechle <ralf@gnu.org>
1022 * sysdeps/unix/sysv/linux/mips/bits/sem.h: Make structure
1023 definitions match the kernel definitions.
1024 * sysdeps/unix/sysv/linux/mips/bits/ipc.h: Likewise.
1025 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
1027 2001-04-29 Ben Collins <bcollins@debian.org>
1029 * sysdeps/sparc/sparc64/dl-machine.h: Fix multiline strings
1031 * sysdeps/sparc/sparc64/soft-fp/qp_add.c: Likewise.
1032 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
1033 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
1034 * sysdeps/sparc/sparc64/soft-fp/qp_div.c: Likewise.
1035 * sysdeps/sparc/sparc64/soft-fp/qp_dtoq.c: Likewise.
1036 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
1037 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
1038 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
1039 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
1040 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
1041 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
1042 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
1043 * sysdeps/sparc/sparc64/soft-fp/qp_qtod.c: Likewise.
1044 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
1045 * sysdeps/sparc/sparc64/soft-fp/qp_qtos.c: Likewise.
1046 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
1047 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
1048 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
1049 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
1050 * sysdeps/sparc/sparc64/soft-fp/qp_sqrt.c: Likewise.
1051 * sysdeps/sparc/sparc64/soft-fp/qp_stoq.c: Likewise.
1052 * sysdeps/sparc/sparc64/soft-fp/qp_sub.c: Likewise.
1053 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
1055 2001-04-29 Andreas Schwab <schwab@suse.de>
1057 * sysdeps/unix/sysv/linux/kernel-features.h: Fix missing backslash
1060 2001-04-29 Andreas Jaeger <aj@suse.de>
1062 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
1063 Define for Arm, PowerPC and SH if kernel is 2.4.4 or newer.
1065 * sysdeps/unix/sysv/linux/bits/socket.h (PF_WANPIPE): New, from
1067 (AF_WANPIPE): Likewise.
1070 * sysdeps/unix/sysv/linux/alpha/bits/socket.h: Add same changes as
1071 for Linux generic version.
1072 * sysdeps/unix/sysv/linux/s390/s390-64/bits/socket.h: Likewise.
1073 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
1074 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
1075 * sysdeps/unix/sysv/linux/ia64/bits/socket.h: Likewise.
1077 * sysdeps/gnu/netinet/tcp.h (TCP_QUICKACK): New.
1079 2001-04-27 Ulrich Drepper <drepper@redhat.com>
1081 * nis/nss-nis.h: Correct test for invalid error number.
1082 * nis/nss-nisplus.h: Likewise.
1084 * nis/Makefile (libnss_compat-rountines): Add nss-nisplus.
1086 2001-04-26 Ulrich Drepper <drepper@redhat.com>
1088 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add getunwind.
1090 * string/strcoll.c: Fix two memory allocation problems.
1091 * string/Makefile (tests): Add bug-strcoll1.
1092 * string/bug-strcoll1.c: New file.
1094 * malloc/mcheck.c (mcheck): Call malloc once before setting the
1095 hooks to allow the internal check hooks to be set up if necessary.
1097 * nis/nss-nis.h: Move yperr2nss_tab definition into separate file
1098 and rename to __yperr2nss_tab. Change YPERR_COUNT into variable
1100 * nis/nss-nis.c: New file.
1101 * nis/nss-nisplus.h: Move niserr2nss_tab definition into separate file
1102 and rename to __niserr2nss_tab. Change NISERR_COUNT into variable
1104 * nis/nss-nisplus.c: New file.
1105 * nis/Makefile (libnss_compat-routines): Add nss-nis.
1106 (libnss_nis-routines): Likewise.
1107 (libnss_nisplus-routines): Add nss-nisplus.
1109 * nis/nss_nisplus/nisplus-alias.c: Remove unnecessary initializations.
1110 * nis/nss_nisplus/nisplus-ethers.c: Likewise.
1111 * nis/nss_nisplus/nisplus-grp.c: Likewise.
1112 * nis/nss_nisplus/nisplus-hosts.c: Likewise.
1113 * nis/nss_nisplus/nisplus-network.c: Likewise.
1114 * nis/nss_nisplus/nisplus-proto.c: Likewise.
1115 * nis/nss_nisplus/nisplus-pwd.c: Likewise.
1116 * nis/nss_nisplus/nisplus-rpc.c: Likewise.
1117 * nis/nss_nisplus/nisplus-service.c: Likewise.
1118 * nis/nss_nisplus/nisplus-spwd.c: Likewise.
1119 * nis/nss_nis/nis-alias.c: Likewise.
1120 * nis/nss_nis/nis-ethers.c: Likewise.
1121 * nis/nss_nis/nis-grp.c: Likewise.
1122 * nis/nss_nis/nis-network.c: Likewise.
1123 * nis/nss_nis/nis-proto.c: Likewise.
1124 * nis/nss_nis/nis-pwd.c: Likewise.
1125 * nis/nss_nis/nis-spwd.c: Likewise.
1126 * nis/nss_compat/compat-grp.c: Likewise.
1127 * nis/nss_compat/compat-initgroups.c: Likewise.
1128 * nis/nss_compat/compat-pwd.c: Likewise.
1129 * nis/nss_compat/compat-spwd.c: Likewise.
1131 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Some more
1132 optimizations. Patch by Jakub Jelinek <jakub@redhat.com>.
1134 2001-04-26 Andreas Jaeger <aj@suse.de>
1136 * po/zh_TW.po: Update.
1137 Patch by Tung-Han Hsieh <thhsieh@tlug.sinica.edu.tw>.
1139 2001-04-25 Ulrich Drepper <drepper@redhat.com>
1141 * malloc/malloc.c: Allow MALLOC_ALIGNMENT to be defined on the
1142 compiler command line.
1143 * sysdeps/hppa/Makefile: Add -DMALLOC_ALIGNMENT=16 to compiler
1144 command line for malloc.c.
1146 2001-04-25 Jakub Jelinek <jakub@redhat.com>
1148 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/time.h: Move to...
1149 * sysdeps/unix/sysv/linux/sparc/bits/time.h: ...here.
1150 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/bits/time.h: Remove.
1151 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/socket.h: Move to...
1152 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: ...here. Adjust
1153 struct msghdr for __WORDSIZE == 32.
1154 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/statvfs.h: Move to...
1155 * sysdeps/unix/sysv/linux/sparc/bits/statvfs.h: ...here. Adjust
1156 for __WORDSIZE == 32.
1157 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/siginfo.h: Remove.
1158 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/get_clockfreq.c: New
1160 * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S (__libc_siglongjmp):
1161 Rename from longjmp, make longjmp weak alias to it.
1163 2001-04-24 David S. Miller <davem@redhat.com>
1165 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: New file.
1167 2001-04-25 Matthew Wilcox <willy@ldl.fc.hp.com>
1169 * sysdeps/hppa/stackinfo.h: New file.
1170 * sysdeps/unix/sysv/linux/hppa/getdents64.c: New file.
1171 * sysdeps/unix/sysv/linux/hppa/mmap64.c: New file.
1172 * sysdeps/unix/sysv/linux/hppa/bits/resource.h: New file.
1173 * sysdeps/unix/sysv/linux/kernel-features.h: Add descriptions
1174 of PA kernel features.
1176 2001-04-25 Ulrich Drepper <drepper@redhat.com>
1178 * locale/programs/localedef.c (main): Always set a file name for
1180 * locale/programs/locfile.c (locfile_read): filename is allowed to
1183 2001-04-12 Paul Bame <paul_bame@hp.com>
1185 * sysdeps/hppa/fpu/fclrexcpt.c: Clear the exception flags, not the
1188 2001-04-24 Ulrich Drepper <drepper@redhat.com>
1190 * sysdeps/generic/bits/environments.h (_POSIX_V6_LPBIG_OFFBIG,
1191 _XBS5_LPBIG_OFFBIG): Define to -1.
1194 * sysdeps/generic/bits/confname.h: Add _CS_V6_WIDTH_RESTRICTED_ENVS.
1195 * posix/confstr.c: Handle _CS_V6_WIDTH_RESTRICTED_ENVS.
1196 * posix/getconf.c: Handle _POSIX_V6_WIDTH_RESTRICTED_ENVS.
1197 * posix/tst-getconf.sh: Add _POSIX_V6_WIDTH_RESTRICTED_ENVS.
1199 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9b/Implies: New file.
1200 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9b/bits/time.h: Removed.
1202 2001-03-21 Alan Modra <alan@one.net.au>
1204 * sysdeps/hppa/dl-machine.h (RTLD_START): Set up dp with DT_PLTGOT
1205 value from application so that constructors in non-PIC libs work.
1207 2000-12-13 Jes Sorensen <jes@linuxcare.com>
1209 * sysdeps/hppa/dl-machine.h (RTLD_START): _dl_init now returns a
1210 function pointer, hence load the jump address and gp from the
1211 function pointer before jumping.
1213 2001-04-24 Andreas Jaeger <aj@suse.de>
1215 * sysdeps/generic/send.c (__send): Return ssize_t.
1216 * sysdeps/mach/hurd/send.c (__send): Likewise.
1217 * sysdeps/mach/hurd/recv.c (recv): Likewise.
1218 * sysdeps/mach/hurd/sendto.c (sendto): Likewise.
1219 * sysdeps/generic/sendto.c (sendto): Likewise.
1220 * sysdeps/generic/recvmsg.c (recvmsg): Likewise.
1221 * sysdeps/mach/hurd/recvfrom.c (recvfrom): Likewise.
1222 * sysdeps/generic/recvfrom.c (recvfrom): Likewise.
1223 * sysdeps/generic/sendmsg.c (sendmsg): Likewise.
1225 * socket/sys/socket.h: send* and recv* return ssize_t.
1227 * include/sys/socket.h: send returns ssize_t.
1229 * sysdeps/i386/fpu_control.h: Fix comments.
1231 2001-04-24 Ulrich Drepper <drepper@redhat.com>
1233 * sysdeps/ia64/Dist: Add hp-timing.c.
1234 * sysdeps/unix/sysv/linux/sparc/sparc64/Dist: Add ucontext_i.h.
1235 * posix/Makefile (distribute): Add tst-getconf.sh.
1236 * po/Makefile (distribute): Add $(BROKEN_LINGUAS:=.po).
1238 2001-04-23 Ulrich Drepper <drepper@redhat.com>
1240 * sysdeps/ia64/Makefile [subdir=csu] (sysdep_routines): Add hp-timing.
1241 * sysdeps/ia64/Versions: Add _dl_cpuclock_offset for ld in 2.2.3.
1242 * sysdeps/ia64/hp-timing.c: New file.
1243 * sysdeps/ia64/hp-timing.h: New file.
1244 * sysdeps/unix/sysv/linux/ia64/bits/time.h: Add definitions for
1245 CLOCK_PROCESS_CPUTIME_ID and CLOCK_THREAD_CPUTIME_ID.
1247 * sysdeps/generic/clock_getcpuclockid.c: Make function generic, test
1248 using #ifdef whether the clock is available.
1249 * sysdeps/unix/i386/clock_getcpuclockid.c: Not needed anymore.
1251 * sysdeps/generic/dl-sysdep.c: Initialize _dl_cpuclock_offset to move
1252 it into data section.
1254 * sysdeps/unix/i386/i586/clock_getres.c: Removed.
1255 * sysdeps/unix/i386/i586/clock_gettime.c: Removed.
1256 * sysdeps/unix/i386/i586/clock_nanosleep.c: Removed.
1257 * sysdeps/unix/i386/i586/clock_settime.c: Removed.
1258 * sysdeps/unix/i386/i586/cpuclock-init.h: Removed.
1259 * sysdeps/generic/cpuclock-init.h: Removed.
1260 * sysdeps/unix/i386/i686/Implies: Removed.
1261 * sysdeps/unix/i386/i686/tempname.c: Removed.
1262 * sysdeps/i386/i686/Versions: New file.
1263 * sysdeps/unix/i386/i586/Versions: Removed.
1265 * sysdeps/posix/clock_getres.c: If HP_TIMING_AVAIL is nonzero handle
1266 CLOCK_PROCESS_CPUTIME_ID and CLOCK_THREAD_CPUTIME_ID.
1267 * sysdeps/unix/clock_gettime.c: Likewise.
1268 * sysdeps/unix/clock_nanosleep.c: Likewise.
1269 * sysdeps/unix/clock_settime.c: Likewise.
1270 * sysdeps/posix/tempname.c: Is HP_TIMING_AVAIL is nonzero define
1271 RANDOM_BITS use CPU clock.
1273 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/bits/time.h: New file.
1274 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9b/bits/time.h: New file.
1275 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/time.h: New file.
1276 * sysdeps/sparc/Versions: New file.
1278 * elf/dl-support.c: Don't use cpuclock-init.h definitions, use
1279 hp-timing.h definitions.
1280 * sysdeps/generic/dl-sysdep.c: Likewise.
1282 * include/libc-internal.h: Include hp-timing.h. Use hp_timing_t in
1283 __get_clockfreq prototype.
1285 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
1286 Use hp_timing_t type.
1287 * sysdeps/generic/get_clockfreq.c (__get_clockfreq): Likewise.
1289 * sysdeps/unix/sysv/linux/ia64/get_clockfreq.c: New file.
1291 * sysdeps/posix/pathconf.c (__pathconf): For _PC_ASYNC_IO test
1292 whether named file is a regular file or a block device.
1293 * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
1295 2001-04-23 Andreas Jaeger <aj@suse.de>
1297 * nscd/nscd.h: Add noreturn attribute for start_threads.
1299 2001-04-22 Ulrich Drepper <drepper@redhat.com>
1301 * posix/getconf.c: Fix names of XBS5 LFS test variables.
1302 Add missing configuration variables from XPG6.
1303 * posix/tst-getconf.c: New file.
1304 * posix/Makefile (generated): Add tst-getconf.out.
1305 (tests): Add ($objpfx)tst-getconf.out.
1306 Add rule to run tst-getconf.sh.
1307 * sysdeps/generic/bits/confname.h: Add missing _PC_ and _SC_ values
1309 * sysdeps/posix/fpathconf.c: Add handling of _PC_ALLOC_SIZE_MIN and
1311 * sysdeps/posix/pathconf.c: Likewise.
1312 * sysdeps/posix/sysconf.c: Correct spelling of _SC_MULTI_PROCESS
1313 and _SC_SYMLOOP_MAX.
1315 2001-04-22 Philip Blundell <philb@gnu.org>
1317 * sysdeps/arm/fpu/feenablxcpt.c: New file.
1318 * sysdeps/arm/fpu/fedisablxcpt.c: New file.
1319 * sysdeps/arm/fpu/fegetexcpt.c: New file.
1321 2001-04-22 Philip Blundell <philb@gnu.org>
1323 * sysdeps/unix/sysv/linux/arm/sys/user.h (struct user_fpregs):
1324 Renamed from struct user_fp.
1325 (struct user_regs): New.
1326 (struct user): Use struct user_regs rather than struct pt_regs to
1327 avoid dependency on asm/ptrace.h. Use struct user_fpregs in place
1328 of struct user_fp and struct user_fp_struct.
1329 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Include sys/procfs.h
1332 2001-04-22 Philip Blundell <philb@gnu.org>
1334 * sysdeps/unix/sysv/linux/arm/sys/elf.h: Move contents to
1335 sys/procfs.h, and tell the user to include that file instead.
1336 * sysdeps/unix/sysv/linux/arm/sys/procfs.h: Remove old cruft
1337 surrounded with #if 0.
1338 (elf_greg_t, ELF_NGREG, elf_gregset_t, elf_fpregset_t): Moved here
1340 (prgregset_t, prfpregset_t): Define in terms of elf_gregset_t and
1341 elf_fpregset_t respectively.
1343 2001-04-22 Philip Blundell <philb@gnu.org>
1345 * sysdeps/unix/sysv/linux/arm/register-dump.h: Also print the
1346 address that faulted.
1348 2001-04-21 Ulrich Drepper <drepper@redhat.com>
1350 * sysdeps/generic/bits/confname.h: Add _SC_V6_* and _CS_POSIX_V6_*
1352 * sysdeps/generic/bits/environments.h: Define _POSIX_V6_* values.
1353 * posix/confstr.c: Handle _CS_POSIX_V6_* values.
1354 * posix/getconf.c: Handle _CS_POSIX_V6_* and _SC_V6_* values.
1355 * sysdeps/posix/sysconf.c: Handle _SC_V6_* values.
1357 * sysdeps/powerpc/fpu/libm-test-ulps: Add deltas for atan2f.
1358 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
1359 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
1360 * sysdeps/mips/fpu/libm-test-ulps: Likewise.
1362 2001-04-21 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
1364 * sysdeps/unix/sysv/linux/powerpc/mmap64.c: Correct check for invalid
1367 2001-04-21 Ulrich Drepper <drepper@redhat.com>
1369 * posix/getopt.h: Treat __cplusplus like __STDC__.
1371 2001-04-20 John S. Marvin <jsm@fc.hp.com>
1373 * sysdeps/unix/sysv/linux/hppa/clone.S: Fix clone system call
1376 2001-04-20 Richard Hirst <rhirst@linuxcare.com>
1378 * elf/elf.h: Corrected R_PARISC_DIR14R (should be 6, not 5),
1379 and added R_PARISC_DPREL21L and R_PARISC_DPREL14R for modutils.
1381 * sysdeps/unix/sysv/linux/hppa/syscalls.list: Removed ptrace
1382 entry so the ptrace.c wrapper is used.
1384 2001-04-20 Alan Modra <amodra@one.net.au>
1386 * sysdeps/hppa/dl-lookupcfg.h (_dl_function_address): Prototype.
1387 (DL_FUNCTION_ADDRESS): Define.
1388 (DL_DT_INIT_ADDRESS): Define.
1389 (DL_DT_FINI_ADDRESS): Define.
1390 * sysdeps/hppa/Versions: Add _dl_function_address.
1391 * sysdeps/hppa/dl-machine.h (ELF_MACHINE_START_ADDRESS): Define.
1392 * sysdeps/hppa/dl-symaddr.c (_dl_start_address): Rename to
1393 _dl_function_address.
1395 2001-04-21 Andreas Jaeger <aj@suse.de>
1397 * rt/aio_misc.c (handle_fildes_io): Add noreturn attribute.
1398 * resolv/gai_misc.c (handle_requests): Likewise.
1399 * malloc/obstack.c (print_and_abort): Likewise.
1400 * malloc/mcheck.c (mabort): Likewise.
1402 * sysdeps/unix/i386/i586/clock_settime.c: Include
1403 "libc-internal.h" for __get_clockfreq declaration.
1405 2001-04-21 Ulrich Drepper <drepper@redhat.com>
1407 * elf/dl-support.c: Include cpuclock-init.h. Use CPUCLOCK_VARDEF and
1408 CPUCLOCK_INIT if defined.
1409 * sysdeps/generic/dl-sysdep.c: Likewise.
1410 * sysdeps/generic/cpuclock-init.h: New file.
1411 * sysdeps/unix/i386/i586/cpuclock-init.h: New file.
1412 * sysdeps/unix/i386/i586/Versions: New file.
1413 * sysdeps/unix/i386/i586/clock_settime.c: New file.
1414 * sysdeps/unix/i386/i586/clock_gettime.c: Handle thread CPU clock
1415 separately by calling __pthread_clock_gettime if this function is
1416 available. Subtract offset from tsc value before computing time value.
1418 2001-04-20 Ulrich Drepper <drepper@redhat.com>
1420 * iconv/iconv_prog.c (print_known_names): If printing goes not to
1421 a tty print in a more machine-friendly way.
1423 * sysdeps/ieee754/ldbl-128/e_asinl.c: New file.
1424 Contributed by Stephen L Moshier <moshier@mediaone.net>.
1426 2001-04-20 Andreas Jaeger <aj@suse.de>
1428 * intl/Makefile (tests): Reorder conditions, tst-gettext needs msgfmt.
1430 2001-04-20 Andreas Schwab <schwab@suse.de>
1432 * sysdeps/m68k/fpu/libm-test-ulps: Update.
1434 2001-04-19 Alan Modra <amodra@one.net.au>
1436 * Makerules (libc_pic.os): Add $(LDFLAGS-c_pic.os).
1437 * sysdeps/hppa/Makefile (LDFLAGS-c_pic.os): Define.
1438 (CFLAGS-.os): Remove.
1440 * sysdeps/unix/sysv/linux/hppa/sysdep.h (CALL_MCOUNT): Update comment.
1442 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (NGREG, NFPREG,
1443 gregset): Correct for new kernel definitions.
1445 2001-04-19 Alan Modra <alan@linuxcare.com.au>
1447 * sysdeps/hppa/elf/initfini.c: Change dlt reg save to r3 and
1448 generate unwind info by hand.
1450 2001-04-19 Ulrich Drepper <drepper@redhat.com>
1452 * sysdeps/unix/sysv/linux/powerpc/mmap64.c (__mmap64): Optimize a bit.
1454 * configure.in: Correct regular expression for msgfmt.
1455 Patch by Bruno Haible <haible@ilog.fr>.
1457 2001-04-19 Andreas Jaeger <aj@suse.de>
1459 * po/el.po: Add comment explaining what's broken.
1461 * po/Makefile (BROKEN_LINGUAS): New.
1462 (ALL_LINGUAS): Don't add broken languages.
1464 2001-04-19 Roland McGrath <roland@frob.com>
1466 * sysdeps/mach/hurd/mlock.c: New file.
1467 * sysdeps/mach/hurd/munlock.c: New file.
1468 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_MEMLOCK_RANGE): Define it.
1470 * misc/Makefile (routines): Add mlock munlock mlockall munlockall.
1471 * sysdeps/generic/mlock.c: New file.
1472 * sysdeps/generic/munlock.c: New file.
1473 * sysdeps/generic/mlockall.c: New file.
1474 * sysdeps/generic/munlockall.c: New file.
1475 * sysdeps/generic/bits/mman.h (MCL_CURRENT, MCL_FUTURE): New macros.
1476 * sysdeps/unix/sysv/linux/syscalls.list (mlock, munlock,
1477 mlockall, munlockall): Change caller field to - from EXTRA.
1478 Don't use __ names; not used (and not declared in include/sys/mman.h).
1480 * hurd/privports.c (__get_privileged_ports): Renamed with __.
1481 Use __ names for calls we make.
1482 (get_privileged_ports): Add alias.
1483 * hurd/hurd.h: Declare it with the __ name.
1484 * sysdeps/mach/hurd/reboot.c (reboot): Use __get_privileged_ports.
1485 * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
1486 * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
1488 * hurd/hurdsig.c (write_corefile): Check RLIMIT_CORE limit and do
1489 nothing if it's zero.
1491 2001-04-19 Matthew Wilcox <willy@ldl.fc.hp.com>
1493 * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL):
1494 Change to return a signed result for compatibility with other
1495 architectures, and correctness.
1497 2001-04-19 Ulrich Drepper <drepper@redhat.com>
1499 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_32BITUIDS):
1500 HPPA always had them. Patch by Matthew Wilcox <matthew@wil.cx>.
1502 2001-04-19 Andreas Jaeger <aj@suse.de>
1504 * configure.in: Require gettext 0.10.36 or newer.
1506 * manual/install.texi (Tools for Compilation): Mention gettext 0.10.36.
1508 * po/zh_TW.po: Remove extraneous backslashes.
1510 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Remove unused
1513 2001-04-18 Jakub Jelinek <jakub@redhat.com>
1515 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Update.
1516 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c: New file.
1517 * sysdeps/unix/sysv/linux/sparc/sparc64/swapcontext.c: New file.
1518 * sysdeps/unix/sysv/linux/sparc/sparc64/setcontext.S (__setcontext):
1519 Copy first word of uc_sigmask into __uc_sigmask.
1520 * sysdeps/unix/sysv/linux/sparc/sparc64/getcontext.S (__getcontext):
1521 Save uc_link around trap. Copy __uc_sigmask into first word of
1522 uc_sigmask, clear the rest. Make sure setcontext to the created
1523 context doesn't do this though.
1524 * sysdeps/unix/sysv/linux/sparc/sparc64/ucontext_i.h: New file.
1525 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (ucontext_t): Add
1526 uc_stack and uc_sigmask, rename old uc_sigmask to __uc_sigmask in the
1527 64bit version, make uc_sigmask __sigset_t in the 32bit version.
1529 2001-04-19 Andreas Jaeger <aj@suse.de>
1531 * sysdeps/unix/sysv/linux/hppa/umount.c: Fix typos in last patch.
1533 * rt/Makefile (otherlibs): Added for static NSS.
1535 * glibcbug.in (BUGGLIBC): Send to new alias.
1537 2001-04-02 Andreas Schwab <schwab@suse.de>
1539 * Makerules (build-module): Make sure exit codes get checked
1540 properly and remove unnecessary slashes.
1542 2001-04-17 Ulrich Drepper <drepper@redhat.com>
1544 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
1545 Handle kernels which report only three digits after the decimal point.
1546 Reported by Van Okamura <van.okamura@oracle.com>.
1548 * sysdeps/alpha/fpu/libm-test-ulps: Adjust error values for atan2f.
1550 2001-04-17 David S. Miller <davem@redhat.com>
1552 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Update for new atan2 tests.
1553 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
1555 2001-04-17 Jakub Jelinek <jakub@redhat.com>
1557 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Make sure
1558 desired exceptions are raised for exceptional values.
1559 * math/libm-test.inc (acosh_test, atan_test, atan2_test, cacos_test,
1560 cacosh_test, casin_test, casinh_test, catan_test, catanh_test,
1561 clog_test, log_test, log1p_test, tan_test): Increase precision of
1562 expected values to satisfy ldbl-128.
1563 * sysdeps/alpha/fpu/libm-test-ulps: Adjust accordingly.
1564 * sysdeps/arm/libm-test-ulps: Likewise.
1565 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
1566 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
1567 * sysdeps/m68k/fpu/libm-test-ulps: Likewise.
1568 * sysdeps/mips/fpu/libm-test-ulps: Likewise.
1569 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
1570 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
1571 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
1572 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
1573 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
1575 2001-04-17 Andreas Jaeger <aj@suse.de>
1577 * configure.in: Move test for critical programs up.
1579 2001-04-16 Stephen L Moshier <moshier@mediaone.net>
1581 * sysdeps/ieee754/flt-32/e_asinf.c (pio2_hi, pio2_lo, pio4_hi):
1582 Correct the values. (pSx, qSx): Replace by shorter approximation.
1583 Use f suffix on float constants.
1585 2001-04-16 Ulrich Drepper <drepper@redhat.com>
1587 * sysdeps/ieee754/ldbl-128/k_tanl.c: New file.
1588 Contributed by Stephen L Moshier <moshier@mediaone.net>.
1590 * string/string.h: Replace const in attribute list with __const__.
1592 2001-04-16 Roland McGrath <roland@frob.com>
1594 * grp/initgroups.c (initgroups) [NGROUPS_MAX != 0]: Always use sysconf
1595 instead of the constant NGROUPS_MAX. That way, the limit can be
1596 raised in the kernel configuration without having to recompile libc.
1598 * sysdeps/posix/euidaccess.c: Don't #include <limits.h> or try to
1599 define NGROUPS_MAX; we don't use it here.
1601 2001-04-16 Andreas Jaeger <aj@suse.de>
1603 * math/libm-test.inc (atan2_test): Add more testcases.
1605 * iconv/gconv_db.c: Include gconv_charset.h for
1606 __gconv_lookup_alias prototype.
1608 2001-04-13 Ulrich Drepper <drepper@redhat.com>
1610 * sysdeps/ieee754/ldbl-128/s_atanl.c: New file.
1611 Contributed by Stephen L Moshier <moshier@mediaone.net>.
1613 2001-04-13 Jes Sorensen <jes@linuxcare.com>
1615 * intl/tst-codeset.c: Include string.h to get prototype for strcmp().
1617 2001-04-13 Jes Sorensen <jes@linuxcare.com>
1619 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Add __pad0 to
1620 explicitly pad struct siginfo instead of relying on compiler padding.
1622 2001-04-12 Ulrich Drepper <drepper@redhat.com>
1624 * sysdeps/ia64/Dist: Add elf/entry.h.
1626 * iconvdata/Makefile (distribute): Add TESTS2.
1628 2001-04-13 Jakub Jelinek <jakub@redhat.com>
1630 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_load_address):
1631 Calculate load address differently.
1633 2001-04-12 Bruno Haible <haible@clisp.cons.org>
1635 * iconvdata/TESTS2: New file.
1636 * iconvdata/run-iconv-test.sh: Also run tests from TESTS2.
1637 * iconvdata/testdata/alfabeta..UTF-8: New file.
1638 * iconvdata/testdata/alfabeta..UTF-16.BE: New file.
1639 * iconvdata/testdata/alfabeta..UTF-16.LE: New file.
1640 * iconvdata/testdata/alfabeta..UTF-32.BE: New file.
1641 * iconvdata/testdata/alfabeta..UTF-32.LE: New file.
1643 2001-04-11 Bruno Haible <haible@clisp.cons.org>
1645 * iconvdata/utf-32.c: New file.
1646 * iconvdata/gconv-modules: Add entries for UTF-32, UTF-32LE, UTF-32BE.
1647 * iconvdata/Makefile (modules): Add UTF-32.
1648 (distribute): Add utf-32.c.
1650 2001-04-11 Bruno Haible <haible@clisp.cons.org>
1652 * iconvdata/utf-16.c (PREPARE_LOOP): Initialize 'swap' after possibly
1653 changing it in the state. After incrementing 'inptr', store it back.
1654 * iconvdata/unicode.c (PREPARE_LOOP): After incrementing 'inptr',
1657 2001-04-11 Bruno Haible <haible@clisp.cons.org>
1659 * iconvdata/utf-16.c (gconv_init): Use MAX_NEEDED_FROM, not
1662 2001-04-11 David Mosberger <davidm@hpl.hp.com>
1664 * sysdeps/ia64/htonl.S: Drop superfluous "alloc".
1665 * sysdeps/ia64/htons.S: Likewise.
1667 * sysdeps/ia64/memset.S: Add unwind directives.
1668 * sysdeps/ia64/strncpy.S: Likewise.
1669 * sysdeps/ia64/strcat.S: Likewise.
1671 * sysdeps/ia64/memccpy.S: Add unwind directives. Drop superfluous
1673 * sysdeps/ia64/strchr.S: Likewise.
1674 * sysdeps/ia64/memmove.S: Likewise.
1675 * sysdeps/ia64/memcpy.S: Likewise.
1676 * sysdeps/ia64/memcmp.S: Likewise.
1677 * sysdeps/ia64/memchr.S: Likewise.
1678 * sysdeps/ia64/strcmp.S: Likewise.
1679 * sysdeps/ia64/strlen.S: Likewise.
1680 * sysdeps/ia64/strcpy.S: Likewise.
1681 * sysdeps/ia64/strncmp.S: Likewise.
1683 2001-04-11 Jakub Jelinek <jakub@redhat.com>
1685 * wcsmbs/wchar.h (fgetwc, getwc, getwchar, fputwc, putwc, putwchar,
1686 fgetws, fputws, ungetwc, getwc_unlocked, getwchar_unlocked,
1687 fgetwc_unlocked, fputwc_unlocked, putwc_unlocked, putwchar_unlocked,
1688 fgetws_unlocked, fputws_unlocked, wcsftime): Add __THROW.
1690 2001-04-11 Andreas Jaeger <aj@suse.de>
1692 * sysdeps/mips/elf/start.S [__ASSEMBLY__]: Define it.
1694 2001-04-11 Andreas Schwab <schwab@suse.de>
1696 * sysdeps/m68k/fpu/libm-test-ulps: Adjusted.
1698 2001-04-11 Ulrich Drepper <drepper@redhat.com>
1700 * sysdeps/arm/stackinfo.h: New file.
1702 2001-04-08 Thorsten Kukuk <kukuk@suse.de>
1704 * sunrpc/rpc_main.c: If we compile RPC thread safe, allow
1705 rpcgen to generate thread safe code.
1707 2001-04-10 Andreas Jaeger <aj@suse.de>
1709 * math/test-fenv.c (initial_tests): Protect FE_TONEAREST declaration.
1711 2001-04-10 Ulrich Drepper <drepper@redhat.com>
1713 * elf/dl-minimal.c (__assert_fail): Change error string. It's
1714 most of the time no bug in ld.so.
1715 (__assert_perror_fail): Likewise.
1717 2001-04-11 Hans-Peter Nilsson <hp@axis.com>
1719 * sysdeps/generic/bits/fenv.h (fexcept_t): Change default type
1720 from struct to unsigned int.
1722 2001-04-10 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
1724 * elf/elf.h (AT_DCACHEBSIZE, AT_ICACHEBSIZE, AT_UCACHEBSIZE,
1725 AT_IGNOREPPC): New defines.
1726 * sysdeps/generic/dl-sysdep.c (_dl_show_auxv): Print them.
1727 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_STD_AUXV):
1728 Define for newer powerpc kernels.
1729 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Use the standard
1730 DL_FIND_ARG_COMPONENTS if __ASSUME_STD_AUXV is defined.
1732 2000-4-10 kaz Kojima <kkojima@rr.iij4u.or.jp>
1734 * sysdeps/sh/stackinfo.h: New file.
1736 2001-04-10 Ulrich Drepper <drepper@redhat.com>
1738 * locale/tst-C-locale.c (run_test): Add tests for locale objects.
1739 * locale/newlocale.c (__newlocale): Correct setting __ctype_b,
1740 __ctype_tolower, and __ctype_toupper elements.
1742 * ctype/ctype_l.c: Fix definitions of __tolower_l and __toupper_l.
1743 Reported by Konstantin Osipov <rabid@spylog.ru>.
1745 * sysdeps/i386/fpu/libm-test-ulps: Add deltas for tgamma to help
1748 2001-04-10 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
1750 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: New file.
1751 * sysdeps/unix/sysv/linux/powerpc/Dist: Add sys/ptrace.h.
1752 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Delete wrong stuff.
1753 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Correct typedefs.
1755 2001-04-10 Ulrich Drepper <drepper@redhat.com>
1757 * elf/dl-deps.c (_dl_map_object_deps): Provide complete error
1758 message. Based on a patch by HJ Lu.
1760 2001-04-10 Andreas Schwab <schwab@suse.de>
1762 * math/libm-test.inc (csinh_test): Don't require the invalid
1763 exception for csinh (x + iNaN), but make it optional.
1765 2001-04-09 David Mosberger <davidm@hpl.hp.com>
1767 * sysdeps/ia64/elf/start.S (_start): Add unwind directives.
1769 * sysdeps/generic/entry.h [!__ASSEMBLY__]: Declare _start.
1770 * sysdeps/ia64/elf/entry.h: New file.
1771 * sysdeps/unix/sysv/linux/mips/entry.h [!__ASSEMBLY__]: Declare
1773 * elf/rtld.c: Don't declare ENTRY_POINT. Use ENTRY_POINT instead
1775 * sysdeps/generic/dl-sysdep.c: Likewise.
1776 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
1777 * sysdeps/ia64/elf/start.S: Save base address of register backing
1778 store in __libc_ia64_register_backing_store_base.
1780 2001-04-10 Martin Schwidefsky <schwidefsky@de.ibm.com>
1782 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Fix return
1783 value of getcontext.
1784 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
1785 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Fix return
1786 value of setcontext.
1787 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
1788 * sysdeps/unix/sysv/linux/s390/swapcontext.c: Skip setcontext
1789 call by changing the saved context.
1791 2001-04-10 Ulrich Drepper <drepper@redhat.com>
1793 * sysdeps/alpha/stackinfo.h: New file.
1794 * sysdeps/ia64/stackinfo.h: New file.
1796 2001-04-10 Andreas Schwab <schwab@suse.de>
1798 * sysdeps/m68k/fpu/e_pow.c: Correct handling of some exceptional
1800 * sysdeps/m68k/fpu/e_scalb.c: Likewise.
1802 2001-04-09 Ulrich Drepper <drepper@redhat.com>
1804 * sysdeps/sparc/sparc32/sparcv9/Dist: Add hp-timing.c.
1805 * sysdeps/sparc/sparc64/Dist: Add hp-timing.c.
1807 * libio/Makefile (distribute): Add fd_to_filename.h.
1809 2001-04-05 David S. Miller <davem@redhat.com>
1811 Add hp-timing support for sparcv9/sparc64 targets.
1812 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: New file
1813 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: New file
1814 * sysdeps/sparc/sparc64/hp-timing.c: New file
1815 * sysdeps/sparc/sparc64/hp-timing.h: New file
1816 * sysdeps/sparc/sparc32/sparcv9/Makefile: Build hp-timing.
1817 * sysdeps/sparc/sparc64/Makefile: Likewise.
1819 2001-04-09 Jakub Jelinek <jakub@redhat.com>
1821 * sysdeps/generic/fd_to_filename.h: New file.
1822 * sysdeps/unix/sysv/linux/fd_to_filename.h: New file.
1823 * libio/freopen.c (freopen): If FILENAME is NULL, try to get
1824 filename from the open file descriptor.
1825 * libio/freopen64.c (freopen64): Likewise.
1827 2001-04-09 Bruno Haible <haible@clisp.cons.org>
1829 * misc/error.c (error): fflush stdout also if
1830 error_print_progname != NULL.
1831 (error_at_line): Likewise.
1833 2001-04-07 Bruno Haible <haible@clisp.cons.org>
1835 * intl/gettextP.h (struct loaded_domain): Add codeset_cntr field.
1836 (struct binding): Add codeset_cntr field.
1837 (_nl_load_domain): Add domainbinding argument.
1838 (_nl_init_domain_conv, _nl_free_domain_conv): New declarations.
1839 (_nl_find_msg): New declaration, moved here from loadinfo.h.
1840 * intl/loadinfo.h (struct loaded_l10nfile): Remove domainbinding field.
1841 (_nl_make_l10nflist): Remove domainbinding argument.
1842 (_nl_find_msg): Move declaration to gettextP.h.
1843 * intl/bindtextdom.c (set_binding_values): Initialize ->codeset_cntr
1844 to 0. Increment it when ->codeset is changed.
1845 * intl/dcigettext.c (DCIGETTEXT): Pass binding to _nl_find_msg.
1846 (_nl_find_msg): Add domainbinding argument. Reinitialize the converter
1847 if domainbinding->codeset_cntr has been incremented.
1848 * intl/finddomain.c (_nl_find_domain): Don't pass domainbinding to
1849 _nl_make_l10nflist(). Pass it to _nl_load_domain() instead.
1850 * intl/l10nflist.c (_nl_make_l10nflist): Remove domainbinding argument.
1851 * intl/loadmsgcat.c (_nl_init_domain_conv): New function, extracted
1852 from _nl_load_domain. Append //TRANSLIT also when using libiconv.
1853 (_nl_free_domain_conv): New function, extracted from _nl_unload_domain.
1854 (_nl_load_domain): Add domainbinding argument. Call
1855 _nl_init_domain_conv.
1856 (_nl_unload_domain): Call _nl_free_domain_conv.
1857 * intl/Makefile (distribute): Add tst-codeset.sh, tstcodeset.po.
1858 (test-srcs): Add tst-codeset.
1859 (tests): Depend on tst-codeset.out.
1860 (tst-codeset.out): New rule.
1861 (CFLAGS-tst-codeset.c): New variable.
1862 * intl/tst-codeset.sh: New file.
1863 * intl/tstcodeset.po: New file.
1864 * intl/tst-codeset.c: New file.
1865 * locale/findlocale.c (_nl_find_locale): Update _nl_make_l10nflist
1868 2001-04-07 Roland McGrath <roland@frob.com>
1870 * mach/msgserver.c (__mach_msg_server_timeout): Add an assert.
1872 2001-03-31 Roland McGrath <roland@frob.com>
1874 * sysdeps/mach/hurd/fork.c: Skip NEWPROC just like NEWTASK when
1875 copying send rights into child. When we hit our name for our proc
1876 port, just copy NEWPROC directly instead of repeating proc_task2proc
1877 to install the child's port.
1879 2001-04-08 Roland McGrath <roland@frob.com>
1881 * Makeconfig ($(common-objpfx)soversions.i): Grok entries with DEFAULT
1882 in second column, to provide default values for third column.
1883 * shlib-versions: Add comments about using DEFAULT in second column.
1884 (s390x-.*-linux.*): Replace individual entries with a DEFAULT entry.
1885 (cris-.*-linux.*): Likewise.
1887 2001-04-09 Ulrich Drepper <drepper@redhat.com>
1889 * Makefile (distribute): Add scripts/documented.sh.
1890 * scripts/documented.sh: New file.
1892 2001-04-08 Hans-Peter Nilsson <hp@axis.com>
1894 * sysdeps/unix/sysv/linux/cris/Dist: New file.
1895 * sysdeps/unix/sysv/linux/cris/Makefile: New file.
1896 * sysdeps/unix/sysv/linux/cris/_G_config.h: New file.
1897 * sysdeps/unix/sysv/linux/cris/bits/fcntl.h: New file.
1898 * sysdeps/unix/sysv/linux/cris/bits/mman.h: New file.
1899 * sysdeps/unix/sysv/linux/cris/bits/resource.h: New file.
1900 * sysdeps/unix/sysv/linux/cris/brk.c: New file.
1901 * sysdeps/unix/sysv/linux/cris/chown.c: New file.
1902 * sysdeps/unix/sysv/linux/cris/clone.S: New file.
1903 * sysdeps/unix/sysv/linux/cris/fchown.c: New file.
1904 * sysdeps/unix/sysv/linux/cris/fcntl.c: New file.
1905 * sysdeps/unix/sysv/linux/cris/fxstat.c: New file.
1906 * sysdeps/unix/sysv/linux/cris/getegid.c: New file.
1907 * sysdeps/unix/sysv/linux/cris/geteuid.c: New file.
1908 * sysdeps/unix/sysv/linux/cris/getgid.c: New file.
1909 * sysdeps/unix/sysv/linux/cris/getgroups.c: New file.
1910 * sysdeps/unix/sysv/linux/cris/getresgid.c: New file.
1911 * sysdeps/unix/sysv/linux/cris/getresuid.c: New file.
1912 * sysdeps/unix/sysv/linux/cris/getrlimit.c: New file.
1913 * sysdeps/unix/sysv/linux/cris/getrlimit64.c: New file.
1914 * sysdeps/unix/sysv/linux/cris/getuid.c: New file.
1915 * sysdeps/unix/sysv/linux/cris/lchown.c: New file.
1916 * sysdeps/unix/sysv/linux/cris/lockf64.c: New file.
1917 * sysdeps/unix/sysv/linux/cris/lxstat.c: New file.
1918 * sysdeps/unix/sysv/linux/cris/mmap.S: New file.
1919 * sysdeps/unix/sysv/linux/cris/mmap64.S: New file.
1920 * sysdeps/unix/sysv/linux/cris/msgctl.c: New file.
1921 * sysdeps/unix/sysv/linux/cris/profil-counter.h: New file.
1922 * sysdeps/unix/sysv/linux/cris/register-dump.h: New file.
1923 * sysdeps/unix/sysv/linux/cris/semctl.c: New file.
1924 * sysdeps/unix/sysv/linux/cris/setegid.c: New file.
1925 * sysdeps/unix/sysv/linux/cris/seteuid.c: New file.
1926 * sysdeps/unix/sysv/linux/cris/setfsgid.c: New file.
1927 * sysdeps/unix/sysv/linux/cris/setfsuid.c: New file.
1928 * sysdeps/unix/sysv/linux/cris/setgid.c: New file.
1929 * sysdeps/unix/sysv/linux/cris/setgroups.c: New file.
1930 * sysdeps/unix/sysv/linux/cris/setregid.c: New file.
1931 * sysdeps/unix/sysv/linux/cris/setresgid.c: New file.
1932 * sysdeps/unix/sysv/linux/cris/setresuid.c: New file.
1933 * sysdeps/unix/sysv/linux/cris/setreuid.c: New file.
1934 * sysdeps/unix/sysv/linux/cris/setrlimit.c: New file.
1935 * sysdeps/unix/sysv/linux/cris/setuid.c: New file.
1936 * sysdeps/unix/sysv/linux/cris/shmctl.c: New file.
1937 * sysdeps/unix/sysv/linux/cris/socket.S: New file.
1938 * sysdeps/unix/sysv/linux/cris/sys/ucontext.h: New file.
1939 * sysdeps/unix/sysv/linux/cris/syscall.S: New file.
1940 * sysdeps/unix/sysv/linux/cris/sysdep.S: New file.
1941 * sysdeps/unix/sysv/linux/cris/sysdep.h: New file.
1942 * sysdeps/unix/sysv/linux/cris/vfork.S: New file.
1943 * sysdeps/unix/sysv/linux/cris/xstat.c: New file.
1945 2001-04-08 Hans-Peter Nilsson <hp@axis.com>
1947 * sysdeps/cris/Dist: New file.
1948 * sysdeps/cris/Implies: New file.
1949 * sysdeps/cris/Makefile: New file.
1950 * sysdeps/cris/__longjmp.S: New file.
1951 * sysdeps/cris/_mcount.S: New file.
1952 * sysdeps/cris/bits/endian.h: New file.
1953 * sysdeps/cris/bits/setjmp.h: New file.
1954 * sysdeps/cris/bits/string.h: New file.
1955 * sysdeps/cris/dl-machine.h: New file.
1956 * sysdeps/cris/elf/start.S: New file.
1957 * sysdeps/cris/machine-gmon.h: New file.
1958 * sysdeps/cris/memcopy.h: New file.
1959 * sysdeps/cris/memusage.h: New file.
1960 * sysdeps/cris/setjmp.S: New file.
1961 * sysdeps/cris/sysdep.h: New file.
1962 * sysdeps/cris/wordcopy.c: New file.
1964 2001-04-08 Hans-Peter Nilsson <hp@axis.com>
1966 * elf/elf.h: Add new relocations for CRIS.
1968 2001-04-08 Hans-Peter Nilsson <hp@axis.com>
1970 * shlib-versions: Add cases for Linux on CRIS.
1972 2001-04-08 Hans-Peter Nilsson <hp@axis.com>
1974 * configure.in (ASM_LINE_SEP tests): Handle CRIS assembly, with
1975 ';' for comments and '@' for line separator.
1977 2001-04-08 Hans-Peter Nilsson <hp@axis.com>
1979 * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Fix
1980 typo; s/==/=/ for assignment.
1982 2001-04-08 Hans-Peter Nilsson <hp@axis.com>
1984 * malloc/Makefile: Correct comment; mtrace is Perl, not AWK.
1986 2001-04-08 Hans-Peter Nilsson <hp@axis.com>
1988 * iconv/gconv_simple.c (internal_ucs4_loop_unaligned): Check for
1989 empty input before checking full output.
1991 2001-04-08 Hans-Peter Nilsson <hp@axis.com>
1993 * iconv/gconv.c (__gconv): Don't derefer parameter cd before
1996 2001-04-08 Ulrich Drepper <drepper@redhat.com>
1998 * inet/rexec.c (rexec_af): Avoid calling perror with errno being set.
2000 2001-04-07 Stephen L Moshier <moshier@mediaone.net>
2002 * sysdeps/ieee754/ldbl-128/e_logl.c: Correct infinity and NaN
2005 2001-04-07 Ulrich Drepper <drepper@redhat.com>
2007 * stdlib/tst-setcontext.c (main): Add a test for setcontext.
2009 * sysdeps/unix/sysv/linux/i386/getcontext.S: New file.
2010 * sysdeps/unix/sysv/linux/i386/setcontext.S: New file.
2011 * sysdeps/unix/sysv/linux/i386/makecontext.S: New file.
2012 * sysdeps/unix/sysv/linux/i386/swapcontext.S: New file.
2013 * sysdeps/unix/sysv/linux/i386/ucontext_i.h: New file.
2014 * sysdeps/unix/sysv/linux/i386/Dist: Add ucontext_i.h.
2016 2001-04-07 Andreas Jaeger <aj@suse.de>
2018 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Use sincos
2019 instead of separate sin and cos.
2020 (__ieee754_j1l): Likewise.
2022 2001-04-06 Ulrich Drepper <drepper@redhat.com>
2024 * sysdeps/ia64/abort-instr.h: New file. Code by David Mosberger.
2026 * sysdeps/ia64/atomicity.h: New file. Copied from libstdc++.
2028 * sysdeps/i386/i486/atomicity.h: Clean up the asms.
2030 * sysdeps/generic/e_scalb.c: Don't use FE_INVALID unless it's
2032 * sysdeps/generic/e_scalbf.c: Likewise.
2033 * sysdeps/generic/e_scalbl.c: Likewise.
2034 Patch by Mark Hatle <fray@mvista.com>.
2036 2001-04-05 David S. Miller <davem@redhat.com>
2038 * sysdeps/sparc/abort-instr.h: New file.
2040 2001-04-05 Matt Wilson <msw@redhat.com>
2042 * sysdeps/unix/sysv/linux/alpha/getsysstats.c (GET_NPROCS_PARSER):
2043 added code to parse new 2.4 format.
2044 (GET_NPROCS_CONF_PARSER): Likewise.
2046 2001-04-05 David S. Miller <davem@redhat.com>
2048 * scripts/config.sub: Recognize sparcv9b like sparcv9.
2049 * configure.in: Add sparcv9b.
2050 * sysdeps/sparc/sparc32/sparcv9b/Implies: New file
2051 * sysdeps/sparc/sparc32/sparcv9b/memcpy.S: New file
2052 * sysdeps/sparc/sparc64/sparcv9b/memcpy.S: New file
2054 2001-04-06 David Mosberger <davidm@hpl.hp.com>
2056 * stdlib/tst-setcontext.c: Move st2[] to global scope.
2057 (f2): Verify that stack pointer is inside st2[].
2059 * sysdeps/unix/sysv/linux/ia64/getcontext.S: It helps to save r12.
2060 * sysdeps/unix/sysv/linux/ia64/setcontext.S: It helps to restore r12.
2062 2001-04-06 Ulrich Drepper <drepper@redhat.com>
2064 * timezone/antarctica: Update from tzdata2001b.
2065 * timezone/asia: Likewise.
2066 * timezone/australasia: Likewise.
2067 * timezone/europe: Likewise.
2068 * timezone/northamerica: Likewise.
2070 * iconv/iconv_open.c: Move strip and upstr definitions...
2071 * iconv/gconv_charset.h: ...here. New file.
2072 * iconv/gconv_db.c (once): Move to file level.
2073 (do_lookup_alias): Split out from __gconv_find_transform.
2074 (__gconv_find_transform): Call do_lookup_alias.
2075 (__gconv_loopup_alias): New function.
2076 * locale/langinfo.h: Define _NL_*_CODESET values for all categories
2078 * locale/categories.def: Add entries for new _NL_*_CODESET values.
2079 * locale/C-ctype.c: Use _nl_C_codeset to initialize CODESET entry.
2080 * locale/C-address.c: Initialize _NL_*_CODESET element.
2081 * locale/C-collate.c: Likewise.
2082 * locale/C-identification.c: Likewise.
2083 * locale/C-measurement.c: Likewise.
2084 * locale/C-messages.c: Likewise.
2085 * locale/C-monetary.c: Likewise.
2086 * locale/C-name.c: Likewise.
2087 * locale/C-numeric.c: Likewise.
2088 * locale/C-paper.c: Likewise.
2089 * locale/C-telephone.c: Likewise.
2090 * locale/C-time.c: Likewise.
2091 * locale/localeinfo.h: Declare _nl_C_codeset.
2092 * locale/C_name.c: Define _nl_C_codeset.
2093 * locale/findlocale.c: Before accepting locale check that the used
2094 charset does not conflict with what the locale name said.
2095 * locale/programs/ld-address.c: Emit codeset information.
2096 * locale/programs/ld-collate.c: Likewise.
2097 * locale/programs/ld-identification.c: Likewise.
2098 * locale/programs/ld-measurement.c: Likewise.
2099 * locale/programs/ld-messages.c: Likewise.
2100 * locale/programs/ld-monetary.c: Likewise.
2101 * locale/programs/ld-name.c: Likewise.
2102 * locale/programs/ld-numeric.c: Likewise.
2103 * locale/programs/ld-paper.c: Likewise.
2104 * locale/programs/ld-telephone.c: Likewise.
2105 * locale/programs/ld-time.c: Likewise.
2107 * localedata/tests-mbwc/tst_funcs.h (TST_HEAD_LOCALE): It is an error
2108 if the locale data couldn't be found.
2110 * string/Makefile: Define tst-strxfrm-ENV.
2112 * ysdeps/unix/sysv/linux/ia64/getcontext.S: Fix comment.
2114 2001-04-06 Andreas Jaeger <aj@suse.de>
2116 * include/sys/profil.h: New file.
2118 * dlfcn/modatexit.c: Add prototypes to silence GCC.
2119 * dlfcn/modcxaatexit.c: Likewise.
2120 * elf/globalmod1.c: Likewise.
2122 2001-04-05 David S. Miller <davem@redhat.com>
2124 * elf/elf.h (HWCAP_SPARC_ULTRA3): Define it.
2125 * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h: Add it to
2126 capability flags table and HWCAP_IMPORTANT, increase
2127 _DL_HWCAP_COUNT to 6.
2128 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h: Likewise.
2130 2001-04-04 David Mosberger <davidm@hpl.hp.com>
2132 * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext): Fix
2133 initialization of stack_end (bug reported by Zheng Gengbin
2134 <gzheng@students.uiuc.edu>).
2136 2001-04-05 Ulrich Drepper <drepper@redhat.com>
2138 * sysdeps/i386/fpu/libm-test-ulps: Relax errors for asinl.
2140 2001-04-05 Martin Schwidefsky <schwidefsky@de.ibm.com>
2142 * sysdeps/unix/sysv/linux/s390/s390-64/bits/socket.h: New file.
2144 2001-04-05 Ulrich Drepper <drepper@redhat.com>
2146 * sysdeps/ieee754/ldbl-96/e_asinl.c: Correct handling of +-Inf.
2147 * sysdeps/i386/fpu/e_asinl.S: Removed. Too inaccurate.
2149 * login/tst-utmp.c: Make file usable again in tst-utmpx.c.
2151 2001-04-04 Ulrich Drepper <drepper@redhat.com>
2153 * sysdeps/unix/sysv/aix/dl-libc.c: Don't use the ELF version,
2154 define simple replacements here. Patch by Michael Keezer.
2156 * sysdeps/ieee754/ldbl-128/e_logl.c: New file.
2157 * sysdeps/ieee754/ldbl-96/e_asinl.c: New file.
2158 Contributed by Stephen L Moshier <moshier@mediaone.net>.
2160 * posix/fnmatch_loop.c: Undefine NEW_PATTERN when it is not used
2163 2001-04-01 Andreas Jaeger <aj@suse.de>
2165 * sysdeps/generic/s_nextafter.c (NO_LONG_DOUBLE): Add nexttowardl
2168 * sysdeps/generic/s_fma.c (NO_LONG_DOUBLE): Add fmal alias.
2170 2001-04-04 Ulrich Drepper <drepper@redhat.com>
2172 * sysdeps/unix/sysv/linux/s390/s390-64/Dist: Add ucontext_i.h.
2173 * sysdeps/unix/sysv/linux/s390/s390-32/Dist: Likewise.
2175 2001-04-04 Martin Schwidefsky <schwidefsky@de.ibm.com>
2177 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: New file.
2178 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: New file.
2179 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: New file.
2180 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.h: New file.
2181 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: New file.
2182 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: New file.
2183 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: New file.
2184 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.h: New file.
2185 * sysdeps/unix/sysv/linux/s390/swapcontext.c: New file.
2187 2001-04-04 Andreas Jaeger <aj@suse.de>
2189 * sysdeps/powerpc/dl-machine.h (ELF_MACHINE_NO_REL): Move to right
2192 2001-04-04 Ulrich Drepper <drepper@redhat.com>
2194 * sunrpc/rpc_scan.c (symbols): Add entry for HYPER.
2195 * sunrpc/rpc_scan.h (enum tok_kind): Add TOK_HYPER.
2196 * sunrpc/rpc_parse.c (get_type): Handle TOK_HYPER.
2197 (unsigned_dec): Likewise.
2198 Patch by atai@jezebel.dreamhost.com.
2200 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r): Pass
2201 pointer to int as last parameter of yp_match.
2202 Patch by kanazawa@flab.fujitsu.co.jp.
2204 2001-04-03 Ulrich Drepper <drepper@redhat.com>
2206 * resolv/netdb.h (gai_strerror): Make return value const.
2207 * sysdeps/generic/gai_strerror.c (gai_strerror): Likewise.
2208 * sysdeps/posix/gai_strerror.c (gai_strerror): Likewise.
2209 Add strings for new error values.
2211 2001-03-29 Michael Keezer <mkeezer@redhat.com>
2213 * posix/tst-gnuglob.c: Added ifdef _DIRENT_HAVE_D_TYPE.
2214 * login/tst-utmp.c: Handle case where ut_tv is not available but
2216 * sysdeps/unix/sysv/aix/utmpx.h: New file.
2217 * sysdeps/unix/sysv/aix/bits/utmpx.h: Added
2218 _HAVE_UT_TYPE/PID/ID/TV/HOST defines.
2219 * sysdeps/unix/sysv/aix/libc-start.c: Removed temp code and made stub.
2220 * sysdeps/unix/sysv/aix/gettimeofday.c: New file added routines
2221 to access RTCU timer reg.
2222 * sysdeps/unix/sysv/aix/Makefile: Remove /usr/lib/crt0.o
2223 added dl-libc, dl-open,dl-sym, dl-close to misc.
2224 * sysdeps/unix/sysv/aix/start.c: New file. Start code.
2225 * sysdeps/unix/sysv/aix/dlldr.h: New file. AIX __loadx defines.
2226 * sysdeps/unix/sysv/aix/dl-close.c: New file. AIX dl-close.
2227 * sysdeps/unix/sysv/aix/dl-open.c: New file. AIX dl-open.
2228 * sysdeps/unix/sysv/aix/dl-sym.c: New file. AIX dl-sym.
2229 * sysdeps/unix/sysv/aix/dl-libc.c: New file. libc_dl-xxx support.
2230 * sysdeps/generic/strtoll.c: Added SHLIB_COMPAT(libc,GLIBC_2_0,
2232 * sysdeps/generic/strtoull.c: Likewise.
2233 * sysdeps/powerpc/ppc-mcount.S: Added nop after bl instruction.
2234 * sysdeps/unix/sysv/aix/powerpc/memset.c: New file to include
2235 sysdeps/generic/memset.c.
2236 * sysdeps/unix/sysv/aix/getpeername.c: Define __getpeername.
2238 2001-04-03 Ulrich Drepper <drepper@redhat.com>
2240 * iconv/Makefile (CFLAGS-charmap.c): Add -DNEED_NULL_POINTER.
2241 * locale/programs/charmap.c: Define null_pointer if
2242 NEED_NULL_POINTER is defined.
2244 * misc/dirname.c (dirname): Handle multiple slashes correctly.
2246 2001-04-03 Martin Schwidefsky <schwidefsky@de.ibm.com>
2248 * sysdeps/s390/s390-64/initfini.c: Fix __gmon_start__ GOT access.
2250 2001-04-03 Martin Schwidefsky <schwidefsky@de.ibm.com>
2252 * sysdeps/s390/s390-32/bcopy.S: Optimize for speed.
2253 * sysdeps/s390/s390-64/bcopy.S: Likewise.
2254 * sysdeps/s390/s390-32/mempcy.S: Likewise.
2255 * sysdeps/s390/s390-64/memcpy.S: Likewise.
2257 2001-04-02 Bruno Haible <haible@clisp.cons.org>
2259 * manual/message.texi (Advanced gettext functions): More specific
2260 syntax in the plural formula examples.
2262 2001-04-02 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
2264 * sysdeps/powerpc/atomicity.h: Silence warnings.
2265 * sysdeps/powerpc/dl-machine.h: Likewise.
2266 * sysdeps/powerpc/register-dump.h: Likewise.
2267 * sysdeps/powerpc/fpu/s_lrint.c: Likewise.
2269 2001-04-02 Andreas Jaeger <aj@suse.de>
2271 * misc/tst-dirname.c (main): Add more tests, derived from a bug
2272 report by Michael Kerrisk <mtk16@ext.canterbury.ac.nz>.
2274 2001-04-01 Andreas Jaeger <aj@suse.de>
2276 * debug/xtrace.sh (pcprofileso): Use SLIBDIR since libpcprofile.so
2278 * malloc/memusage.sh (memusageso): Likewise for libmemusage.so.
2280 2001-04-01 H.J. Lu <hjl@gnu.org>
2282 * posix/annexc.c (macrofile): Renamed from TMPFILE and set to
2284 * stdlib/isomac.c (macrofile): Likewise.
2286 2001-03-30 Thorsten Kukuk <kukuk@suse.de>
2288 * inet/rcmd.c: Allow AF_UNSPEC as parameter.
2289 * nis/ypclnt.c (yp_all): Print error message only at last try,
2290 check for protocoll error only if we don't have a network error.
2292 2001-04-02 Andreas Schwab <schwab@suse.de>
2294 * resolv/res_data.c (res_isourserver): Fix cast.
2296 2001-04-02 Andreas Jaeger <aj@suse.de>
2298 * sysdeps/unix/sysv/linux/hppa/umount.c: Add prototype for
2301 * sysdeps/i386/dl-machine.h (RTLD_START): Don't use multi-line
2303 (ELF_MACHINE_RUNTIME_TRAMPOLINE): Likewise.
2305 * sysdeps/ieee754/dbl-64/uroot.h: Add missing braces arount
2307 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Likewise.
2309 * elf/rtld.c (print_statistics)[!HP_TIMING_NONAVAIL]: Avoid
2310 warning about unused variable.
2312 * string/string.h (strndupa): Add cast for C++ conformance.
2313 (strdupa): Likewise.
2314 Fixes PR libc/2173, reported by tbrowder@home.com.
2316 2001-03-30 Roland McGrath <roland@frob.com>
2318 * sysdeps/mach/hurd/Makefile ($(link-rpcuserlibs)): Don't append
2319 options after $(build-module), which is no longer a single command.
2320 (LDFLAGS-link-rpcuserlibs): New variable to hold those options.
2321 (LDFLAGS-libmachuser-link.so, LDFLAGS-libhurduser-link.so): New
2322 variables using it. Reported by Mark Kettenis <kettenis@gnu.org>.
2324 2001-03-11 Roland McGrath <roland@frob.com>
2326 * elf/rtld.c (dl_main): Add cast to quiet warning.
2327 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
2328 * iconv/gconv_conf.c (__gconv_get_path): Likewise.
2329 (__gconv_read_conf): Likewise.
2330 * iconv/gconv_db.c (gen_steps): Likewise.
2331 (__gconv_find_transform): Likewise.
2332 * locale/programs/charmap-dir.c (fopen_uncompressed): Likewise.
2333 (fopen_uncompressed): Use const in second argument's type.
2335 2001-03-11 Roland McGrath <roland@frob.com>
2337 * sysdeps/mach/hurd/dl-sysdep.c (__writev): New function.
2339 * mach/mach_error.h: Fix ancient #endif syntax.
2340 * hurd/hurdmalloc.c: Likewise.
2342 * sysdeps/generic/atomicity.h (exchange_and_add, atomic_add,
2343 compare_and_swap): Add volatile qualifier to first arg, to bring
2344 these prototypes in line with all the other implementations.
2345 Add a #warning to remind the builder that these are not atomic.
2347 2001-03-04 Roland McGrath <roland@frob.com>
2349 * hurd/vpprintf.c (vpprintf) [USE_IN_LIBIO]: Use innermore first
2350 member of TEMP_F so its type is _IO_FILE * as expected.
2352 * hurd/fopenport.c (seekio): Conditionalize type of POS argument
2353 on [USE_IN_LIBIO]. Check the value for overflow, since for libio
2354 it might exceed off_t's range.
2356 2001-02-25 Roland McGrath <roland@frob.com>
2358 * sysdeps/mach/hurd/sysd-stdio.c (__stdio_reopen): Use prototype.
2359 * sysdeps/unix/bsd/getpt.c (__posix_openpt): Likewise.
2361 * sysdeps/mach/hurd/i386/intr-msg.h (SYSCALL_EXAMINE): Make this a
2362 macro instead of an inline function,
2363 (MSG_EXAMINE): Likewise.
2365 * hurd/hurd/ioctl.h (_HURD_HANDLE_IOCTLS_1): Remove extraneous ##.
2367 * hurd/get-host.c: Include <string.h> for decls of built-ins.
2368 * hurd/hurdchdir.c: Likewise.
2369 * sysdeps/mach/hurd/i386/sigreturn.c: Likweise.
2370 * sysdeps/mach/hurd/opendir.c: Likewise.
2372 * mach/mach_init.c: Include <unistd.h> for _exit decl.
2374 * mach/errsystems.awk: Give output file a trailing newline.
2376 * mach/Machrules (MIG): Prepend CC='${CC}' to the mig command, so that
2377 the script will use our compiler for the cpp stage.
2379 With --enable-all-warnings we get a whole bunch of warnings,
2380 and these are just a few fixes; there are more needed to silence it.
2381 * mach/mach/mig_support.h (__mig_strncpy, mig_strncpy): Add extern
2382 decls before extern inline defns to quiet gcc warning.
2383 * hurd/hurd/threadvar.h (__hurd_threadvar_location_from_sp): Likewise.
2384 * sysdeps/mach/i386/machine-sp.h (__thread_stack_pointer): Likewise.
2386 2001-03-31 Andreas Jaeger <aj@suse.de>
2388 * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_RAWHDLC): Added.
2389 (ARPHRD_HDLC): Define as alias for ARPHRD_CISCO.
2390 (ARPHRD_CISCO): New.
2391 Changes from Linux 2.4.3.
2393 2001-03-30 Isamu Hasegawa <isamu@yamato.ibm.com>
2395 * posix/regex.c: Avoid an access violation if malloc failes.
2397 2001-03-30 Andreas Jaeger <aj@suse.de>
2399 * sysdeps/alpha/ldiv.S (ldiv): Add alias for imaxdiv.
2401 2001-03-29 Ulrich Drepper <drepper@redhat.com>
2403 * posix/regex.c: Remove unnecessary ifs.
2405 * math/bits/mathcalls.h: Remove infnan declaration.
2407 2001-03-29 H.J. Lu <hjl@gnu.org>
2409 * include/endian.h: Define BIG_ENDI, LITTLE_ENDI, HIGH_HALF,
2410 and LOW_HALF only if _LIBC is defined and _ISOMAC is not defined.
2411 * stdlib/isomac.c (fmt): Define _LIBC and _ISOMAC.
2413 2001-03-29 Isamu Hasegawa <isamu@yamato.ibm.com>
2415 * posix/regex.c: Fix typo and add a sentinel.
2417 2001-03-29 Ulrich Drepper <drepper@redhat.com>
2419 * sysdeps/unix/sysv/linux/shm_open.c: Open new file always with
2420 O_NOFOLLOW. Suggested by Christoph Roland.
2422 2001-03-27 Martin Schwidefsky <schwidefsky@de.ibm.com>
2424 * sysdeps/s390/bits/string.h: New unified 31/64 bit string.h.
2425 * sysdeps/s390/s390-32/bits/string.h: Remove.
2426 * sysdeps/s390/s390-64/bits/string.h: Remove.
2427 * sysdeps/s390/s390-32/strcmp.S: New file.
2428 * sysdeps/s390/s390-64/strcmp.S: New file.
2430 2001-03-27 Martin Schwidefsky <schwidefsky@de.ibm.com>
2432 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Fix typo.
2433 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
2435 2001-03-27 Ulrich Drepper <drepper@redhat.com>
2437 * version.h (VERSION): Bump to 2.2.3.
2439 * stdlib/isomac.c (fmt): Don't define _LIBC.
2440 * include/endian.h: Define BIG_ENDI, LITTLE_ENDI, HIGH_HALF, and
2441 LOW_HALF only if _LIBC is defined.
2443 * sysdeps/i386/fpu/libm-test-ulps: Slight adjustment of yn() error.
2445 * posix/fnmatch_loop.c (FCT): Handle !() after * special like @()
2447 * posix/tst-fnmatch.input: Add test cases for matching empty strings.
2449 * sysdeps/ieee754/dbl-64/endian.h: Removed. Move definitions...
2450 * include/endian.h: ...to here.
2452 2001-03-27 kaz Kojima <kkojima@rr.iij4u.or.jp>
2454 * sysdeps/sh/sys/ucontext.h (NFREG): Rename to NFPREG.
2455 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (NFREG): Likewise.
2457 2001-03-27 Martin Schwidefsky <schwidefsky@de.ibm.com>
2459 * sysdeps/unix/sysv/linux/s390/ldconfig.h: Fix typo.
2461 2001-03-26 Ulrich Drepper <drepper@redhat.com>
2463 * sysdeps/ia64/fpu/Dist: Add new files to distribute.
2464 * sysdeps/unix/sysv/linux/s390/s390-64/Dist: Likewise.
2465 * sysdeps/unix/sysv/linux/ia64/Dist: Likewise.
2467 * gmon/Makefile (headers): Add sys/profil.h.
2469 2001-03-18 Andreas Jaeger <aj@suse.de>
2471 * manual/install.texi (Tools for Compilation): Advise to use GCC
2473 (Supported Configurations): Mention s390x.
2475 2001-03-26 Ben Collins <bcollins@debian.org>
2477 * sysdeps/unix/sysv/linux/mips/bits/mman.h: Add MAP_* and MADV_*
2478 defines to match other architectures.
2480 2001-03-26 Ulrich Drepper <drepper@redhat.com>
2482 * libio/Makefile (tests): Add tst-ext.
2483 * libio/tst-ext.c: New file.
2485 * libio/iosetvbuf.c (_IO_setvbuf): Clear line buffer flag for _IONBF.
2487 2001-03-25 Ulrich Drepper <drepper@redhat.com>
2489 Add changes which were in this form in the original patch by
2490 Eric Norum <eric.norum@usask.ca>.
2491 * include/rpc/rpc.h: Remove svc_fdset, rpc_createerr, svc_pollfd, and
2493 * sunrpc/rpc/rpc.h: Declare __rpc_thread_svc_fdset,
2494 __rpc_thread_createerr, __rpc_thread_svc_pollfd, and
2495 __rpc_thread_svc_max_pollfd.
2496 Define svc_fdset, get_rpc_createerr, svc_pollfd, and
2498 * sunrpc/rpc_thread.c: Handle first thread special, it uses the
2500 Define __rpc_thread_svc_fdset, __rpc_thread_createerr,
2501 __rpc_thread_svc_pollfd, and __rpc_thread_svc_max_pollfd.
2502 * sunrpc/Versions [libc] (GLIBC_2.2.3): Export __rpc_thread_svc_fdset,
2503 __rpc_thread_createerr, __rpc_thread_svc_pollfd, and
2504 __rpc_thread_svc_max_pollfd.
2505 * sunrpc/clnt_gen.c: Replace use of rpc_createerr by call to
2507 * sunrpc/clnt_perr.c: Likewise.
2508 * sunrpc/clnt_simp.c: Likewise.
2509 * sunrpc/clnt_tcp.c: Likewise.
2510 * sunrpc/clnt_udp.c: Likewise.
2511 * sunrpc/clnt_unix.c: Likewise.
2512 * sunrpc/pm_getport.c: Likewise.
2514 * sysdeps/unix/sysv/linux/i386/getgroups.c (__getgroups): getgroups32
2515 syscall checks for negative n so don't test here as well.
2517 2001-03-23 Jes Sorensen <jes@linuxcare.com>
2519 * sysdeps/unix/sysv/linux/ia64/sysdep.h (ENTRY): Moved to ...
2520 * sysdeps/ia64/sysdep.h: ...here.
2522 * sysdeps/ia64/sysdep.h (LOCAL_ENTRY): Define.
2523 * sysdeps/ia64/sysdep.h (LOCAL_LEAF): Define.
2525 * sysdeps/ia64/_mcount.S (_mcount_ret_helper): Use LOCAL_LEAF() to
2526 declare instead of LEAF(). Suggestion from David Mosberger.
2528 2001-03-21 David Mosberger <davidm@hpl.hp.com>
2530 * sysdeps/unix/sysv/linux/ia64/sysdep.h (CALL_MCOUNT): Add unwind
2532 (PSEUDO): Drop .psr and .lsb directives.
2534 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Ditto. Add unwind
2536 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Ditto.
2538 * sysdeps/ia64/elf/start.S: Misc cleanup: remove .psr and .lsb
2540 * sysdeps/unix/sysv/linux/ia64/brk.S: Ditto.
2541 * sysdeps/unix/sysv/linux/ia64/__longjmp.S: Ditto.
2542 * sysdeps/ia64/_mcount.S: Remove .psr and .lsb directives (no
2543 longer needed). Add unwind directives.
2545 * sysdeps/ia64/sysdep.h: Define ASM_UNW_PRLG_RP, ASM_UNW_PRLG_PFS,
2546 ASM_UNW_PRLG_PSP, ASM_UNW_PRLG_PR, and ASM_UNW_PRLG_GRSAVE.
2548 2001-03-21 Paul Eggert <eggert@twinsun.com>
2550 * posix/regex.h (RE_INVALID_INTERVAL_ORD): New macro.
2551 (RE_SYNTAX_POSIX_EGREP): Use it.
2552 * posix/regex.c (regex_compile): Implement it.
2554 2001-03-21 Paul Eggert <eggert@twinsun.com>
2556 * posix/regex.c (GET_UNSIGNED_NUMBER): Check for overflow.
2557 Rewrite to avoid duplicate code.
2559 2001-03-21 H.J. Lu <hjl@gnu.org>
2561 * elf/Makefile (tests): Don't depend on $(objpfx)tst-pathopt.out
2562 for cross-compiling.
2563 ($(objpfx)tst-pathopt.out): Undo the last change.
2565 2001-03-24 Mark Kettenis <kettenis@gnu.org>
2567 * sysdeps/mach/hurd/i386/bits/sigcontext.h (sc_sp, sc_fp, sc_pc,
2568 sc_ps): Define as aliases for sc_uesp, sc_ebl, sc_eip and sc_efl.
2570 * sysdeps/mach/hurd/i386/init-first.c: Include <assert.h>.
2571 (_dl_argv): Declare.
2572 (init) [SHARED]: Readjust _dl_argv if we switched to a new stack.
2574 2001-03-22 Andreas Jaeger <aj@suse.de>
2576 * iconvdata/Makefile (generated): Add iconv-test.xxx.
2578 * posix/Makefile (generated): Add bug-regex2.mtrace and
2581 2001-03-21 Ulrich Drepper <drepper@redhat.com>
2583 * csu/version.c (__gnu_get_libc_release): Add prototype.
2584 (__gnu_get_libc_version): Likewise.
2585 * include/gnu/libc-version.h: Remove prototypes for not exported
2588 2001-03-21 Jes Sorensen <jes@linuxcare.com>
2590 * sysdeps/unix/sysv/linux/ia64/makecontext.c: Include libintl.h
2591 for internationalized printfs to work.
2593 2001-03-09 Bruno Haible <haible@clisp.cons.org>
2595 * intl/dcigettext.c (transmem_block_t): Change to unsigned char, to
2596 avoid compiler warning.
2597 (_nl_find_msg): Add casts to avoid compiler warnings.
2599 2001-03-21 Ulrich Drepper <drepper@redhat.com>
2601 * gmon/Makefile (routines): Add sprofil.
2602 (tests): Add tst-sprofil.
2603 (noprof): Add sprofil.
2604 * gmon/Versions [libc] (GLIBC_2.2.3): Add sprofil.
2606 2001-03-20 David Mosberger <davidm@hpl.hp.com>
2608 * sysdeps/generic/sprofil.c: New file.
2609 * sysdeps/posix/sprofil.c: New file.
2610 * gmon/tst-sprofil.c: New file.
2611 * gmon/sys/profil.h: New file.
2613 2001-03-20 Andreas Schwab <schwab@suse.de>
2615 * include/unistd.h: Adjust prototype of __gethostname.
2617 2001-03-20 Jakub Jelinek <jakub@redhat.com>
2619 * sysdeps/sparc/stackinfo.h: New file.
2621 2001-03-21 Andreas Jaeger <aj@suse.de>
2623 * elf/global.c (main): Use proper prototype.
2625 2001-03-20 Ulrich Drepper <drepper@redhat.com>
2627 * sunrpc/Makefile (routines): Add rpc_thread.
2628 (CPPFLAGS): Add -D_RPC_THREAD_SAFE.
2629 * sunrpc/rpc_thread.c: New file.
2630 * sunrpc/Versions [libc] (GLIBC_2.2.3): Export __rpc_thread_destroy.
2631 * sunrpc/auth_none.c: Don't use global variables. Access state in
2632 thread-local storage.
2633 * sunrpc/clnt_perr.c: Likewise.
2634 * sunrpc/clnt_raw.c: Likewise.
2635 * sunrpc/clnt_simp.c: Likewise.
2636 * sunrpc/key_call.c: Likewise.
2637 * sunrpc/rpc_common.c: Likewise.
2638 * sunrpc/svc.c: Likewise.
2639 * sunrpc/svc_raw.c: Likewise.
2640 * sunrpc/svc_simple.c: Likewise.
2641 * sunrpc/svcauth_des.c: Likewise.
2642 * hurd/hurd/threadvar.h (enum __hurd_threadvar_index): Add
2643 _HURD_THREADVAR_RPC_VARS.
2644 * sysdeps/generic/bits/libc-tsd.h: Mention _LIBC_TSD_KEY_RPC_VARS.
2645 * include/rpc/rpc.h: Define data structures for internal thread-local
2647 Based on patches by Eric Norum <eric.norum@usask.ca>.
2649 * elf/dl-load.c: Various little optimizations.
2651 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Return
2652 LINUX_LINK_MAX only if the statfs function is not implemented for
2655 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Return
2656 LINUX_LINK_MAX only if the fstatfs function is not implemented for
2659 2001-03-19 Ulrich Drepper <drepper@redhat.com>
2661 * elf/dl-dst.h (DL_DST_COUNT): Add __builtin_expect.
2663 * elf/dl-load.c (_dl_dst_count): Make DST recognition more robust.
2664 (_dl_dst_substitute): Likewise.
2666 2001-03-17 Bruno Haible <haible@clisp.cons.org>
2668 * intl/loadmsgcat.c (_nl_load_domain) [!_LIBC]: Use fstat, not fstat64.
2670 2001-03-17 Bruno Haible <haible@clisp.cons.org>
2672 * intl/gettextP.h (struct expression): Add operators lnot, less_than,
2673 greater_than, less_or_equal, greater_or_equal. Replace args2/args3
2674 union by a 'nargs' counter and an 'args[]' array.
2675 * intl/plural.y: Don't include stdarg.h.
2676 (new_exp): Take an array of arguments instead of varargs.
2677 (new_exp_0, new_exp_1, new_exp_2, new_exp_3): New functions.
2678 ('?' ':'): Make right-associative.
2679 (EQUOP2): New token, replaces '=' and '!'.
2680 (CMPOP2): New token.
2681 (ADDOP2): New token, replaces '+' and '-'.
2682 (MULOP2): New token, replaces '*', '/' and '%'.
2684 (exp): Add rules for CMPOP2 and '!'. Don't call YYABORT.
2685 (start): Call YYABORT here.
2686 (FREE_EXPRESSION): Update.
2687 (yylex): Don't skip "\\n". Recognize comparison and '!' operators.
2688 Update for new token symbols.
2689 * intl/loadmsgcat.c (plvar, plone, germanic_plural,
2690 init_germanic_plural): Update.
2691 * intl/dcigettext.c (_nl_find_msg): Optimize for space.
2692 (plural_eval): Recognize comparison and '!' operators. Optimize for
2695 2001-03-10 Bruno Haible <haible@clisp.cons.org>
2697 * intl/loadmsgcat.c (_nl_load_domain): locale_charset() doesn't return
2700 2001-01-05 Bruno Haible <haible@clisp.cons.org>
2702 * intl/loadmsgcat.c: Include headers needed for alloca().
2704 (_nl_load_domain): Add fallback code for platforms lacking alloca.
2705 * intl/localealias.c: (ADD_BLOCK, FREE_BLOCK): Remove macros.
2707 (read_alias_file): Simplify fallback code for platforms lacking
2710 2001-01-07 Bruno Haible <haible@clisp.cons.org>
2712 * intl/gettextP.h (__gettextdebug): Remove declaration.
2713 (__gettext_free_exp, __gettextparse): Convert prototype to K&R C
2715 (gettext_free_exp__, gettextparse__): New non-libc declarations.
2716 * intl/plural.y [!_LIBC]: Define gettextparse__, gettext_free_exp__,
2717 not __gettextparse, __gettext_free_exp.
2718 * intl/loadmsgcat.c [!_LIBC]: Use gettextparse__, not __gettextparse.
2720 2001-02-24 Bruno Haible <haible@clisp.cons.org>
2722 * intl/dcigettext.c: Update comment about HAVE_LOCALE_NULL.
2724 2001-01-05 Bruno Haible <haible@clisp.cons.org>
2726 * intl/loadmsgcat.c (_nl_load_domain): Add fallback code for platforms
2727 lacking strtoul, like SunOS4.
2729 2001-01-05 Bruno Haible <haible@clisp.cons.org>
2731 * intl/l10nflist.c (_nl_normalize_codeset): Use tolower, not _tolower.
2733 2001-01-05 Bruno Haible <haible@clisp.cons.org>
2735 * intl/bindtextdom.c (set_binding_values): Convert prototype to K&R C
2737 * intl/dcigettext.c (transcmp): Convert to K&R C syntax.
2738 * intl/explodename.c (_nl_find_language): Convert to K&R C syntax.
2739 * intl/plural.y (__gettext_free_exp, yylex, yyerror): Convert to K&R C
2742 2001-01-07 Bruno Haible <haible@clisp.cons.org>
2744 * intl/gettextP.h (gettext__, dgettext__, dcgettext__, textdomain__,
2745 bindtextdomain__, bind_textdomain_codeset__): New declarations, from
2747 * intl/bindtextdom.c: Include libgnuintl.h instead of libgettext.h.
2748 * intl/dcgettext.c: Likewise.
2749 * intl/dcigettext.c: Likewise.
2750 * intl/dcngettext.c: Likewise.
2751 * intl/dngettext.c: Likewise.
2752 * intl/finddomain.c: Likewise.
2753 * intl/ngettext.c: Likewise.
2754 * intl/textdomain.c: Likewise.
2755 * intl/dgettext.c: Include libgnuintl.h instead of libgettext.h.
2757 * intl/gettext.c: Likewise. Don't include locale.h.
2759 2001-03-17 Bruno Haible <haible@clisp.cons.org>
2761 * intl/gettextP.h (ZERO): New macro.
2762 (struct binding): Always use ZERO.
2763 * intl/bindtextdom.c (offsetof): Provide fallback for platforms that
2764 lack it, like SunOS4.
2765 (set_binding_values): Use offsetof, not sizeof.
2766 * intl/dcigettext.c (offsetof): Provide fallback for platforms that
2767 lack it, like SunOS4.
2768 (ZERO): Remove macro.
2769 (struct transmem_list): Use ZERO.
2770 (DCIGETTEXT): Use offsetof, not sizeof.
2772 2001-03-17 Bruno Haible <haible@clisp.cons.org>
2774 * intl/gettextP.h: Include <stddef.h>. Include gettext.h, for
2776 * intl/bindtextdom.c: Don't include gettext.h.
2777 * intl/dcgettext.c: Likewise.
2778 * intl/dcigettext.c: Likewise.
2779 * intl/dcngettext.c: Likewise.
2780 * intl/dngettext.c: Likewise.
2781 * intl/finddomain.c: Likewise.
2782 * intl/localealias.c: Likewise.
2783 * intl/ngettext.c: Likewise.
2784 * intl/plural.y: Likewise.
2785 * intl/textdomain.c: Likewise.
2787 2001-03-17 Bruno Haible <haible@clisp.cons.org>
2789 * intl/gettext.h: Don't include <stdio.h>.
2791 2001-03-17 Bruno Haible <haible@clisp.cons.org>
2793 * intl/Makefile (CPPFLAGS): Set LOCALEDIR instead of GNULOCALEDIR.
2794 * intl/dcigettext.c (_nl_default_dirname): Initialize with LOCALEDIR.
2796 2001-03-19 Ulrich Drepper <drepper@redhat.com>
2798 * sysdeps/unix/i386/i686/tempname.c: New file.
2800 * sysdeps/posix/tempname.c (__gen_tempname): If RANDOM_BITS is
2801 defined use this macro to get some bits of randomness instead of
2802 the usual gettimeofday or time calls.
2804 2001-03-16 Paul Eggert <eggert@twinsun.com>
2806 * sysdeps/posix/tempname.c (uint64_t): Define to uintmax_t if
2807 not defined, and if UINT64_MAX is not defined.
2809 2001-03-19 Ulrich Drepper <drepper@redhat.com>
2811 * elf/cache.c: Mark and have translated a few more messages.
2813 2001-03-19 Martin Schwidefsky <schwidefsky@de.ibm.com>
2815 * elf/cache.c: Add case for FLAG_S390_LIB64.
2816 * sysdeps/generic/ldconfig.h: Add define for FLAG_S390_LIB64.
2817 * sysdeps/unix/sysv/linux/s390/ldconfig.h: New file.
2818 * sysdeps/unix/sysv/linux/s390/readelflib.c: New file.
2820 2001-03-19 Ulrich Drepper <drepper@redhat.com>
2822 * string/Makefile (tests): Add tst-strxfrm.
2823 * string/tst-strxfrm.c: New file. Based on a test case by Paul Eggert.
2824 * string/Depend: New file.
2826 2001-03-19 Paul Eggert <eggert@twinsun.com>
2828 * string/strxfrm.c (strxfrm): strxfrm should return 0, not 1,
2829 when given the empty string in nontrivial locales.
2831 2001-03-17 H.J. Lu <hjl@gnu.org>
2833 * manual/Makefile (install): Use $(INSTALL_DATA) instead of
2834 cp to install `dir'.
2836 2001-03-19 Andreas Schwab <schwab@suse.de>
2838 * Makerules (build-shlib): Make sure exit codes get checked
2841 2001-03-18 Ulrich Drepper <drepper@redhat.com>
2843 * Makerules (build-shlib): Remove unnecessary slashes introduced in
2846 * configure.in: Test for -Bgroup option of linker.
2847 * config.make.in: Define have-Bgroup.
2849 * conform/data/unistd.h-data: Require gethostname.
2850 * posix/unistd.h: Make gethostname prototype available for
2853 * crypt/Makefile: When generating DSO link with libc_nonshared.a.
2854 * debug/Makefile: Likewise.
2855 * dlfcn/Makefile: Likewise.
2856 * hesiod/Makefile: Likewise.
2857 * iconvdata/extra-module.mk: Likewise.
2858 * locale/Makefile: Likewise.
2859 * login/Makefile: Likewise.
2860 * math/Makefile: Likewise.
2861 * nis/Makefile: Likewise.
2862 * nss/Makefile: Likewise.
2863 * resolv/Makefile: Likewise.
2864 * rt/Makefile: Likewise.
2866 2001-03-17 Ulrich Drepper <drepper@redhat.com>
2868 * inet/Makefile (tests): Remove left-over comment.
2870 * posix/unistd.h (gethostname): Change type of second parameter
2871 back to size_t as per upcoming XPG6.
2872 * sysdeps/unix/sysv/aix/gethostname.c: Change type of second
2873 parameter back to size_t as per upcoming XPG6.
2874 * sysdeps/unix/sysv/sysv4/gethostname.c: Likewise.
2875 * sysdeps/unix/sysv/gethostname.c: Likewise.
2876 * sysdeps/mach/hurd/gethostname.c: Likewise.
2877 * sysdeps/generic/gethostname.c: Likewise.
2879 2001-03-16 Ulrich Drepper <drepper@redhat.com>
2881 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
2884 * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext):
2887 2001-02-06 Jakub Jelinek <jakub@redhat.com>
2889 * elf/dl-load.c (_dl_map_object): Don't test l_opencount when
2890 looking for name matches.
2892 2001-02-26 Jakub Jelinek <jakub@redhat.com>
2894 * sysdeps/generic/sigcontextinfo.h (CALL_SIGHANDLER): Define.
2895 * sysdeps/mach/hurd/i386/sigcontextinfo.h: Likewise.
2896 * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h: Likewise.
2897 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
2898 * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h: Likewise.
2899 * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h: Likewise.
2900 * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h: Likewise.
2901 * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h: Likewise.
2902 * sysdeps/unix/sysv/linux/s390/sigcontextinfo.h: Likewise.
2903 * sysdeps/unix/sysv/linux/sh/sigcontextinfo.h: Likewise.
2904 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: Likewise.
2905 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h: Likewise.
2907 2001-03-16 Ulrich Drepper <drepper@redhat.com>
2909 * sysdeps/ieee754/ldbl-96/s_erfl.c: New file.
2910 Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>.
2912 * sysdeps/i386/fpu/libm-test-ulps: Adjust for addition of erfl and
2914 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
2916 2001-03-16 David Mosberger <davidm@hpl.hp.com>
2918 * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h (struct sigcontext):
2919 Drop hack that was needed for 2.1.1 kernel headers.
2921 * sysdeps/unix/sysv/linux/ia64/ucontext_i.h: New file.
2923 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Rewrite to make it
2924 overlay with kernel's "struct sigcontext".
2926 * sysdeps/unix/sysv/linux/ia64/Makefile (sysdep_headers): Add
2927 sys/rse.h for "misc" subdir.
2928 (sysdep_routines): Add __start_context for "stdlib" subdir.
2930 * sysdeps/unix/sysv/linux/ia64/sys/rse.h: New file (based on
2931 kernel file of the same name).
2933 * stdlib/Makefile (tests): Add tst-setcontext.
2934 * stdlib/tst-setcontext.c: New file (based on a sample program by
2937 * sysdeps/unix/sysv/linux/ia64/setcontext.S: New file.
2938 * sysdeps/unix/sysv/linux/ia64/getcontext.S: New file.
2939 * sysdeps/unix/sysv/linux/ia64/__start_context.S: New file.
2940 * sysdeps/unix/sysv/linux/ia64/makecontext.c: New file.
2941 * sysdeps/unix/sysv/linux/ia64/swapcontext.c: New file.
2943 * sysdeps/unix/sysv/linux/ia64/__longjmp.S (__longjmp): Use extr.u
2944 instead of shift & and.
2946 2001-03-16 Martin Schwidefsky <schwidefsky@de.ibm.com>
2948 * sysdeps/s390/s390-64/bits/huge_val.h: Move to...
2949 * sysdeps/s390/bits/huge_val.h: ...here.
2950 * sysdeps/s390/s390-32/bit/huge_val.h: Remove.
2951 * sysdeps/s390/s390-64/ffs.c: Move to...
2952 * sysdeps/s390/ffs.c: ...here.
2953 * sysdeps/s390/s390-32/ffs.c: Remove.
2955 2001-03-16 Jakub Jelinek <jakub@redhat.com>
2957 * elf/ldconfig.c (search_dir): Remove bogus diagnostic, instead
2958 update osversion from more recent library.
2960 2001-03-13 Martin Schwidefsky <schwidefsky@de.ibm.com>
2962 * sysdeps/unix/sysv/linux/s390/Dist: Move to...
2963 * sysdeps/unix/sysv/linux/s390/s390-32/Dist: ...here.
2964 * sysdeps/unix/sysv/linux/s390/Makefile: Move to...
2965 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: ...here.
2966 * sysdeps/unix/sysv/linux/s390/Versions: Move to...
2967 * sysdeps/unix/sysv/linux/s390/s390-32/Versions: ...here.
2968 * sysdeps/unix/sysv/linux/s390/alphasort64.c: Move to...
2969 * sysdeps/unix/sysv/linux/s390/s390-32/alphasort64.c: ...here.
2970 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Move to...
2971 * sysdeps/unix/sysv/linux/s390/s390-32/bits/fcntl.h: ...here.
2972 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Move to...
2973 * sysdeps/unix/sysv/linux/s390/s390-32/bits/mman.h: ...here.
2974 * sysdeps/unix/sysv/linux/s390/bits/resource.h: Move to...
2975 * sysdeps/unix/sysv/linux/s390/s390-32/bits/resource.h: ...here.
2976 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Move to...
2977 * sysdeps/unix/sysv/linux/s390/s390-32/bits/stat.h: ...here.
2978 * sysdeps/unix/sysv/linux/s390/chown.c: Move to...
2979 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: ...here.
2980 * sysdeps/unix/sysv/linux/s390/clone.S: Move to...
2981 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: ...here.
2982 * sysdeps/unix/sysv/linux/s390/fchown.c: Move to...
2983 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: ...here.
2984 * sysdeps/unix/sysv/linux/s390/fcntl.c: Move to...
2985 * sysdeps/unix/sysv/linux/s390/s390-32/fcntl.c: ...here.
2986 * sysdeps/unix/sysv/linux/s390/fxstat.c: Move to...
2987 * sysdeps/unix/sysv/linux/s390/s390-32/fxstat.c: ...here.
2988 * sysdeps/unix/sysv/linux/s390/getdents64.c: Move to...
2989 * sysdeps/unix/sysv/linux/s390/s390-32/getdents64.c: ...here.
2990 * sysdeps/unix/sysv/linux/s390/getegid.c: Move to...
2991 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: ...here.
2992 * sysdeps/unix/sysv/linux/s390/geteuid.c: Move to...
2993 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: ...here.
2994 * sysdeps/unix/sysv/linux/s390/getgid.c: Move to...
2995 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: ...here.
2996 * sysdeps/unix/sysv/linux/s390/getgroups.c: Move to...
2997 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: ...here.
2998 * sysdeps/unix/sysv/linux/s390/getresgid.c: Move to...
2999 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: ...here.
3000 * sysdeps/unix/sysv/linux/s390/getresuid.c: Move to...
3001 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: ...here.
3002 * sysdeps/unix/sysv/linux/s390/getrlimit.c: Move to...
3003 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: ...here.
3004 * sysdeps/unix/sysv/linux/s390/getrlimit64.c: Move to...
3005 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit64.c: ...here.
3006 * sysdeps/unix/sysv/linux/s390/getuid.c: Move to...
3007 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: ...here.
3008 * sysdeps/unix/sysv/linux/s390/lchown.c: Move to...
3009 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: ...here.
3010 * sysdeps/unix/sysv/linux/s390/lockf64.c: Move to...
3011 * sysdeps/unix/sysv/linux/s390/s390-32/lockf64.c: ...here.
3012 * sysdeps/unix/sysv/linux/s390/lxstat.c: Move to...
3013 * sysdeps/unix/sysv/linux/s390/s390-32/lxstat.c: ...here.
3014 * sysdeps/unix/sysv/linux/s390/mmap.S: Move to...
3015 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: ...here.
3016 * sysdeps/unix/sysv/linux/s390/mmap64.S: Move to...
3017 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: ...here.
3018 * sysdeps/unix/sysv/linux/s390/msgctl.c: Move to...
3019 * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: ...here.
3020 * sysdeps/unix/sysv/linux/s390/oldgetrlimit64.c: Move to...
3021 * sysdeps/unix/sysv/linux/s390/s390-32/oldgetrlimit64.c: ...here.
3022 * sysdeps/unix/sysv/linux/s390/readdir64.c: Move to...
3023 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64.c: ...here.
3024 * sysdeps/unix/sysv/linux/s390/readdir64_r.c: Move to...
3025 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64_r.c: ...here.
3026 * sysdeps/unix/sysv/linux/s390/register-dump.h: Move to...
3027 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: ...here.
3028 * sysdeps/unix/sysv/linux/s390/scandir64.c: Move to...
3029 * sysdeps/unix/sysv/linux/s390/s390-32/scandir64.c: ...here.
3030 * sysdeps/unix/sysv/linux/s390/semctl.c: Move to...
3031 * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: ...here.
3032 * sysdeps/unix/sysv/linux/s390/setegid.c: Move to...
3033 * sysdeps/unix/sysv/linux/s390/s390-32/setegid.c: ...here.
3034 * sysdeps/unix/sysv/linux/s390/seteuid.c: Move to...
3035 * sysdeps/unix/sysv/linux/s390/s390-32/seteuid.c: ...here.
3036 * sysdeps/unix/sysv/linux/s390/setfsgid.c: Move to...
3037 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: ...here.
3038 * sysdeps/unix/sysv/linux/s390/setfsuid.c: Move to...
3039 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: ...here.
3040 * sysdeps/unix/sysv/linux/s390/setgid.c: Move to...
3041 * sysdeps/unix/sysv/linux/s390/s390-32/setgid.c: ...here.
3042 * sysdeps/unix/sysv/linux/s390/setgroups.c: Move to...
3043 * sysdeps/unix/sysv/linux/s390/s390-32/setgroups.c: ...here.
3044 * sysdeps/unix/sysv/linux/s390/setregid.c: Move to...
3045 * sysdeps/unix/sysv/linux/s390/s390-32/setregid.c: ...here.
3046 * sysdeps/unix/sysv/linux/s390/setresgid.c: Move to...
3047 * sysdeps/unix/sysv/linux/s390/s390-32/setresgid.c: ...here.
3048 * sysdeps/unix/sysv/linux/s390/setresuid.c: Move to...
3049 * sysdeps/unix/sysv/linux/s390/s390-32/setresuid.c: ...here.
3050 * sysdeps/unix/sysv/linux/s390/setreuid.c: Move to...
3051 * sysdeps/unix/sysv/linux/s390/s390-32/setreuid.c: ...here.
3052 * sysdeps/unix/sysv/linux/s390/setrlimit.c: Move to...
3053 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: ...here.
3054 * sysdeps/unix/sysv/linux/s390/setuid.c: Move to...
3055 * sysdeps/unix/sysv/linux/s390/s390-32/setuid.c: ...here.
3056 * sysdeps/unix/sysv/linux/s390/shmctl.c: Move to...
3057 * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: ...here.
3058 * sysdeps/unix/sysv/linux/s390/socket.S: Move to...
3059 * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: ...here.
3060 * sysdeps/unix/sysv/linux/s390/sys/procfs.h: Move to...
3061 * sysdeps/unix/sysv/linux/s390/s390-32/sys/procfs.h: ...here.
3062 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Move to...
3063 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: ...here.
3064 * sysdeps/unix/sysv/linux/s390/syscall.S: Move to...
3065 * sysdeps/unix/sysv/linux/s390/s390-32/syscall.S: ...here.
3066 * sysdeps/unix/sysv/linux/s390/syscalls.list: Move to...
3067 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: ...here.
3068 * sysdeps/unix/sysv/linux/s390/sysdep.S: Move to...
3069 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: ...here.
3070 * sysdeps/unix/sysv/linux/s390/sysdep.h: Move to...
3071 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: ...here.
3072 * sysdeps/unix/sysv/linux/s390/versionsort64.c: Move to...
3073 * sysdeps/unix/sysv/linux/s390/s390-32/versionsort64.c: ...here.
3074 * sysdeps/unix/sysv/linux/s390/xstat.c: Move to...
3075 * sysdeps/unix/sysv/linux/s390/s390-32/xstat.c: ...here.
3077 2001-03-13 Martin Schwidefsky <schwidefsky@de.ibm.com>
3079 * sysdeps/unix/sysv/linux/s390/s390-64/Dist: New file.
3080 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: New file.
3081 * sysdeps/unix/sysv/linux/s390/s390-64/bits/elfclass.h: New file.
3082 * sysdeps/unix/sysv/linux/s390/s390-64/bits/fcntl.h: New file.
3083 * sysdeps/unix/sysv/linux/s390/s390-64/bits/ipc.h: New file.
3084 * sysdeps/unix/sysv/linux/s390/s390-64/bits/mman.h: New file.
3085 * sysdeps/unix/sysv/linux/s390/s390-64/bits/msq.h: New file.
3086 * sysdeps/unix/sysv/linux/s390/s390-64/bits/resource.h: New file.
3087 * sysdeps/unix/sysv/linux/s390/s390-64/bits/sem.h: New file.
3088 * sysdeps/unix/sysv/linux/s390/s390-64/bits/shm.h: New file.
3089 * sysdeps/unix/sysv/linux/s390/s390-64/bits/sigaction.h: New file.
3090 * sysdeps/unix/sysv/linux/s390/s390-64/bits/siginfo.h: New file.
3091 * sysdeps/unix/sysv/linux/s390/s390-64/bits/sigstack.h: New file.
3092 * sysdeps/unix/sysv/linux/s390/s390-64/bits/stat.h: New file.
3093 * sysdeps/unix/sysv/linux/s390/s390-64/bits/types.h: New file.
3094 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: New file.
3095 * sysdeps/unix/sysv/linux/s390/s390-64/fstatfs64.c: New file.
3096 * sysdeps/unix/sysv/linux/s390/s390-64/ftruncate64.c: New file.
3097 * sysdeps/unix/sysv/linux/s390/s390-64/fxstat.c: New file.
3098 * sysdeps/unix/sysv/linux/s390/s390-64/fxstat64.c: New file.
3099 * sysdeps/unix/sysv/linux/s390/s390-64/getdents.c: New file.
3100 * sysdeps/unix/sysv/linux/s390/s390-64/getdents64.c: New file.
3101 * sysdeps/unix/sysv/linux/s390/s390-64/getrlimit64.c: New file.
3102 * sysdeps/unix/sysv/linux/s390/s390-64/glob.c: New file.
3103 * sysdeps/unix/sysv/linux/s390/s390-64/glob64.c: New file.
3104 * sysdeps/unix/sysv/linux/s390/s390-64/kernel_stat.h: New file.
3105 * sysdeps/unix/sysv/linux/s390/s390-64/lxstat.c: New file.
3106 * sysdeps/unix/sysv/linux/s390/s390-64/lxstat64.c: New file.
3107 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: New file.
3108 * sysdeps/unix/sysv/linux/s390/s390-64/mmap64.c: New file.
3109 * sysdeps/unix/sysv/linux/s390/s390-64/pread64.c: New file.
3110 * sysdeps/unix/sysv/linux/s390/s390-64/pwrite64.c: New file.
3111 * sysdeps/unix/sysv/linux/s390/s390-64/readdir.c: New file.
3112 * sysdeps/unix/sysv/linux/s390/s390-64/readdir64.c: New file.
3113 * sysdeps/unix/sysv/linux/s390/s390-64/readdir64_r.c: New file.
3114 * sysdeps/unix/sysv/linux/s390/s390-64/readdir_r.c : New file.
3115 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: New file.
3116 * sysdeps/unix/sysv/linux/s390/s390-64/setrlimit64.c: New file.
3117 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: New file.
3118 * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c: New file.
3119 * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c: New file.
3120 * sysdeps/unix/sysv/linux/s390/s390-64/sigsuspend.c: New file.
3121 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: New file.
3122 * sysdeps/unix/sysv/linux/s390/s390-64/statfs64.c: New file.
3123 * sysdeps/unix/sysv/linux/s390/s390-64/sys/procfs.h: New file.
3124 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: New file.
3125 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: New file.
3126 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: New file.
3127 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: New file.
3128 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: New file.
3129 * sysdeps/unix/sysv/linux/s390/s390-64/truncate64.c: New file.
3130 * sysdeps/unix/sysv/linux/s390/s390-64/xstat.c: New file.
3131 * sysdeps/unix/sysv/linux/s390/s390-64/xstat64.c: New file.
3133 2001-03-13 Martin Schwidefsky <schwidefsky@de.ibm.com>
3135 * sysdeps/s390/Dist: Move to...
3136 * sysdeps/s390/390-32/Dist: ...here.
3137 * sysdeps/s390/Implies: Move to...
3138 * sysdeps/s390/s390-32/Implies: ...here.
3139 * sysdeps/s390/Makefile: Move to...
3140 * sysdeps/s390/s390-32/Makefile: ...here.
3141 * sysdeps/s390/Versions: Move to...
3142 * sysdeps/s390-32/s390/Versions: ...here.
3143 * sysdeps/s390/add_n.S: Move to...
3144 * sysdeps/s390/s390-32/add_n.S: ...here.
3145 * sysdeps/s390/addmul_1.S: Move to...
3146 * sysdeps/s390/s390-32/addmul_1.S: ...here.
3147 * sysdeps/s390/atomicity.h: Move to...
3148 * sysdeps/s390/s390-32/atomicity.h: ...here.
3149 * sysdeps/s390/backtrace.c: Move to...
3150 * sysdeps/s390/s390-32/backtrace.c: ...here.
3151 * sysdeps/s390/bcopy.S: Move to...
3152 * sysdeps/s390/s390-32/bcopy.S: ...here.
3153 * sysdeps/s390/bits/byteswap.h: Move to...
3154 * sysdeps/s390/s390-32/bits/byteswap.h: ...here.
3155 * sysdeps/s390/bits/huge_val.h: Move to...
3156 * sysdeps/s390/s390-32/bits/huge_val.h: ...here.
3157 * sysdeps/s390/bsd-_setjmp.S: Move to...
3158 * sysdeps/s390/s390-32/bsd-_setjmp.S: ...here.
3159 * sysdeps/s390/bsd-setjmp.S: Move to...
3160 * sysdeps/s390/s390-32/bsd-setjmp.S: ...here.
3161 * sysdeps/s390/bzero.S: Move to...
3162 * sysdeps/s390/s390-32/bzero.S: ...here.
3163 * sysdeps/s390/elf/bsd-_setjmp.S: Move to...
3164 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: ...here.
3165 * sysdeps/s390/elf/bsd-setjmp.S: Move to...
3166 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: ...here.
3167 * sysdeps/s390/elf/start.S: Move to...
3168 * sysdeps/s390/s390-32/elf/start.S: ...here.
3169 * sysdeps/s390/ffs.c: Move to...
3170 * sysdeps/s390/s390-32/ffs.c: ...here.
3171 * sysdeps/s390/memchr.S: Move to...
3172 * sysdeps/s390/s390-32/memchr.S: ...here.
3173 * sysdeps/s390/memcpy.S: Move to...
3174 * sysdeps/s390/s390-32/memcpy.S: ...here.
3175 * sysdeps/s390/memset.S: Move to...
3176 * sysdeps/s390/s390-32/memset.S: ...here.
3177 * sysdeps/s390/mul_1.S: Move to...
3178 * sysdeps/s390/s390-32/mul_1.S: ...here.
3179 * sysdeps/s390/s390-mcount.S: Move to...
3180 * sysdeps/s390/s390-32/s390-mcount.S: ...here.
3181 * sysdeps/s390/strcpy.S: Move to...
3182 * sysdeps/s390/s390-32/strcpy.S: ...here.
3183 * sysdeps/s390/strncpy.S: Move to...
3184 * sysdeps/s390/s390-32/strncpy.S: ...here.
3185 * sysdeps/s390/sub_n.S: Move to...
3186 * sysdeps/s390/s390-32/sub_n.S: ...here.
3188 2001-03-13 Martin Schwidefsky <schwidefsky@de.ibm.com>
3190 * sysdeps/s390/s390-64/Dist: New file.
3191 * sysdeps/s390/s390-64/Implies: New file.
3192 * sysdeps/s390/s390-64/Makefile: New file.
3193 * sysdeps/s390/s390-64/__longjmp.c: New file.
3194 * sysdeps/s390/s390-64/add_n.S: New file.
3195 * sysdeps/s390/s390-64/atomicity.h: New file.
3196 * sysdeps/s390/s390-64/backtrace.c: New file.
3197 * sysdeps/s390/s390-64/bcopy.S: New file.
3198 * sysdeps/s390/s390-64/bits/byteswap.h: New file.
3199 * sysdeps/s390/s390-64/bits/huge_val.h: New file.
3200 * sysdeps/s390/s390-64/bits/setjmp.h: New file.
3201 * sysdeps/s390/s390-64/bits/string.h: New file.
3202 * sysdeps/s390/s390-64/bsd-_setjmp.S: New file.
3203 * sysdeps/s390/s390-64/bsd-setjmp.S: New file.
3204 * sysdeps/s390/s390-64/bzero.S: New file.
3205 * sysdeps/s390/s390-64/dl-machine.h: New file.
3206 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: New file.
3207 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: New file.
3208 * sysdeps/s390/s390-64/elf/setjmp.S: New file.
3209 * sysdeps/s390/s390-64/elf/start.S: New file.
3210 * sysdeps/s390/s390-64/ffs.c: New file.
3211 * sysdeps/s390/s390-64/initfini.c: New file.
3212 * sysdeps/s390/s390-64/memchr.S: New file.
3213 * sysdeps/s390/s390-64/memcpy.S: New file.
3214 * sysdeps/s390/s390-64/memset.S: New file.
3215 * sysdeps/s390/s390-64/s390x-mcount.S: New file.
3216 * sysdeps/s390/s390-64/setjmp.S: New file.
3217 * sysdeps/s390/s390-64/strcpy.S: New file.
3218 * sysdeps/s390/s390-64/strncpy.S: New file.
3219 * sysdeps/s390/s390-64/sub_n.S: New file.
3220 * sysdeps/s390/s390-64/sysdep.h: New file.
3222 2001-03-13 Martin Schwidefsky <schwidefsky@de.ibm.com>
3224 * scripts/config.guess: Add support for Linux on 64 bit S/390.
3225 * scripts/config.sub: Likewise.
3227 2001-03-13 Martin Schwidefsky <schwidefsky@de.ibm.com>
3229 * configure.in: Add support for 64 bit S/390.
3231 * elf/elf.h: Add new relocations for 64 bit S/390.
3233 * shlib-versions: Add rules for Linux on 64 bit S/390.
3235 2001-03-13 Martin Schwidefsky <schwidefsky@de.ibm.com>
3237 * sysdeps/s390/__longjmp.c: Move to...
3238 * sysdeps/s390/s390-32/__longjmp.c: ...here. Add code
3239 to load the floating point registers that should be saved
3240 according to the ABI.
3242 * sysdeps/s390/bits/setjmp.h: Move to...
3243 * sysdeps/s390/s390-32/bits/setjmp.h: ...here. Avoid
3244 the use of long long in the __jmp_buf type definition.
3246 * sysdeps/s390/bits/string.h: Move to...
3247 * sysdeps/s390/s390-32/bits/string.h: ...here. Add several missing
3248 #ifndef _FORCE_INLINES.
3250 * sysdeps/s390/dl-machine.h: Move to...
3251 * sysdeps/s390/s390-32/dl-machine.h: ...here. Add a check for the
3252 executables EI_CLASS in elf_machine_matches_host.
3254 * sysdeps/s390/elf/setjmp.S: Move to...
3255 * sysdeps/s390/s390-32/elf/setjmp.S: ...here. Replace
3256 branches to globally defined symbol __sigsetjmp by branches to
3257 a local label (this avoids the generation of a R_390_PC16DBL
3258 relocation in -fpic code).
3260 * sysdeps/s390/gmp-mparam.h: Use defines from <bits/wordsize.h> to
3261 calculate BITS_PER_MP_LIMB, BYTES_PER_MP_LIMB and BITS_PER_LONGINT.
3263 * sysdeps/s390/initfini.c: Move to...
3264 * sysdeps/s390/s390-32/initfini.c: ...here. Replace ALIGN with
3267 * sysdeps/s390/setjmp.S: Move to...
3268 * sysdeps/s390/s390-32/setjmp.S: ...here. Add code to store the
3269 floating point registers that should be saved according to the ABI.
3271 * sysdeps/s390/sys/ucontext.h: Remove since it is unused.
3273 * sysdeps/unix/sysv/linux/s390/sysdep.h: Move to...
3274 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: ...here. Include
3275 sysdeps/s390/s390-32/sysdep.h instead of sysdeps/s390/sysdep.h.
3277 2001-03-13 Martin Schwidefsky <schwidefsky@de.ibm.com>
3279 * configure.in: Change machine=s390 to machine=s390/s390-32.
3281 * elf/elf.h: Correct comment for R_390_PLT16DBL.
3283 2001-03-12 Jakub Jelinek <jakub@redhat.com>
3285 * csu/Makefile (abi-tag.h): Define OS and version separately, allow
3286 version to be overriden from config.h.
3287 * csu/abi-note.S: Use OS and version separately, include config.h.
3288 * elf/dl-load.c (_dl_osversion): New.
3289 (_dl_map_object_from_fd): Kill some warnings.
3290 (open_verify): Check .note.ABI-tag of the library if present.
3291 * elf/Makefile (CPPFLAGS-dl-load.c): Add -I$(csu-objpfx).
3292 * elf/cache.c (struct cache_entry): Add osversion.
3293 (print_entry): Print osversion.
3294 (print_cache): Pass osversion to it.
3295 (compare): Sort according to osversion.
3296 (save_cache): Set osversion.
3297 (add_to_cache): Add osversion argument.
3298 * sysdeps/generic/ldconfig.h (add_to_cache, process_file,
3299 process_elf_file): Add osversion argument.
3300 * elf/readlib.c (process_file): Likewise.
3301 * sysdeps/generic/readelflib.c (process_elf_file): Likewise.
3302 * sysdeps/unix/sysv/linux/ia64/readelflib.c (process_elf_file,
3303 process_elf32_file, process_elf64_file): Likewise.
3304 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file,
3305 process_elf32_file, process_elf64_file): Likewise.
3306 * sysdeps/unix/sysv/linux/sparc/readelflib.c (process_elf_file,
3307 process_elf32_file, process_elf64_file): Likewise.
3308 * elf/ldconfig.c (manual_link): Pass it.
3309 (search_dir): Issue diagnostic if two libs with the same soname in
3310 the same directory have different .note.ABI-tag. Record osversion in
3311 dlib_entry and use it from there.
3312 (struct lib_entry): Remove.
3313 (struct dlib_entry): Add osversion.
3314 * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Check
3316 * sysdeps/generic/dl-cache.h (struct file_entry_new): Replace __unused
3317 field with osversion.
3318 * sysdeps/generic/ldsodefs.h (_dl_osversion): Declare.
3319 * sysdeps/unix/sysv/linux/init-first.c: Include ldsodefs.h.
3320 * sysdeps/unix/sysv/linux/dl-osinfo.h (DL_SYSDEP_OSCHECK): Save kernel
3321 version in _dl_osversion.
3322 * sysdeps/unix/sysv/linux/configure.in: Define __ABI_TAG_VERSION.
3323 * Makerules (build-shlib-helper, build-module-helper): New.
3324 (build-shlib, build-module-helper): Make sure .note.ABI-tag comes
3326 * config.h.in (__ABI_TAG_VERSION): Add.
3327 * elf/dl-minimal.c (__strtoul_internal): Set endptr on return.
3328 * sysdeps/unix/sysv/linux/i386/dl-librecon.h (EXTRA_LD_ENVVARS):
3329 Handle LD_ASSUME_KERNEL.
3330 * sysdeps/unix/sysv/linux/dl-librecon.h: New.
3332 2001-03-15 Ulrich Drepper <drepper@redhat.com>
3334 * timezone/antarctica: Update from tzdata2001a.
3335 * timezone/asia: Likewise.
3336 * timezone/australasia: Likewise.
3337 * timezone/backward: Likewise.
3338 * timezone/etcetera: Likewise.
3339 * timezone/europe: Likewise.
3340 * timezone/leapseconds: Likewise.
3341 * timezone/northamerica: Likewise.
3342 * timezone/southamerica: Likewise.
3343 * timezone/systemv: Likewise.
3344 * timezone/yearistype: Likewise.
3345 * timezone/zone.tab: Likewise.
3346 * timezone/tzdump.c: Update from tzcode2001a.
3348 2001-03-15 H.J. Lu <hjl@gnu.org>
3350 * intl/Makefile: Fix a typo.
3352 2001-03-14 David Mosberger <davidm@hpl.hp.com>
3354 * gmon/gmon.c (write_call_graph): Avoid unaligned accesses when
3355 writing arc structures.
3357 2001-03-15 H.J. Lu <hjl@gnu.org>
3359 * elf/Makefile ($(objpfx)tst-pathopt.out): Protected against
3362 2001-03-13 Andreas Schwab <schwab@suse.de>
3364 * posix/PTESTS2C.sed: Replace literal CRs by `\r'.
3366 2001-03-15 Ulrich Drepper <drepper@redhat.com>
3368 * sysdeps/unix/sysv/linux/cmsg_nxthdr.c (__cmsg_nxthdr): Fix test
3369 for control message fitting into message data.
3370 Patch by James Antill <james@and.org>.
3372 * posix/tst-fnmatch.input: Add test case for FNM_PERIOD handling with
3375 * posix/fnmatch_loop.c: Optimize handling of ?() and @().
3376 * posix/fnmatch.c: Define STRLEN and STRCAT appropriately.
3378 * posix/Versions [libc] (GLIBC_2.2.3): Add fnmatch.
3379 * posix/fnmatch.c: Define with new default version GLIBC_2.2.3 to
3380 avoid running binaries with libc versions without FNM_EXTMATCH support.
3382 * include/wchar.h: Add prototype for __wcscat.
3383 * wcsmbs/wcscat.c: Define __wcscat and make wcscat weak alias.
3385 * posix/fnmatch.h (FNM_EXTMATCH): Define.
3386 * posix/fnmatch.c (NO_LEADING_PERIOD): Define.
3387 (posixly_correct): Move global variable here.
3388 (INT, EXT, END): Name new functions defined in fnmatch_loop.c.
3389 (fnmatch): Pretty printing.
3390 * posix/fnmatch_loop.c: Add code to handle FNM_EXTMATCH.
3391 * posix/tst-fnmatch.c: Recognize EXTMATCH flag.
3392 * posix/tst-fnmatch.input: Add tests for extended matching.
3394 * posix/testfnm.c: Add test for patterns with multiple ** before /.
3395 * posix/fnmatch_loop.c: Fix problem with the test above.
3397 2001-03-14 Ulrich Drepper <drepper@redhat.com>
3399 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Remove
3402 * resolv/res_data.c (fp_nquery): Call __res_ninit not __res_init.
3404 2001-03-12 Andreas Jaeger <aj@suse.de>
3406 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
3407 Use EM_X86_64 instead of EM_X8664.
3409 2001-03-12 Ulrich Drepper <drepper@redhat.com>
3411 * sysdeps/ieee754/dbl-64/upow.h: Define nZERO and nINF.
3413 * sysdeps/ieee754/dbl-64/e_remainder.c: Fix handling of boundary
3416 * sysdeps/ieee754/dbl-64/e_pow.c: Fix handling of boundary
3419 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Handle Inf and NaN
3423 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Handle NaN
3425 (__ieee754_acos): Likewise.
3427 2001-03-12 Andreas Jaeger <aj@suse.de>
3429 * sysdeps/unix/sysv/linux/s390/sysdep.h (_LINUX_S390_SYSDEP_H):
3430 Fix typo. Patch by Martin Schwidefsky <schwidefsky@de.ibm.com>.
3432 * sysdeps/s390/bits/string.h: Protect __STRING_INLINE against
3435 2001-03-11 Roland McGrath <roland@frob.com>
3437 * sysdeps/mach/hurd/configure.in: Add a sanity check on $prefix.
3439 2001-03-11 Ulrich Drepper <drepper@redhat.com>
3441 * sysdeps/ieee754/dbl-64/endian.h: Define also one of BIG_ENDI and
3444 * sysdeps/ieee754/dbl-64/MathLib.h (Init_Lib): Use void as
3447 Last-bit accurate math library implementation by IBM Haifa.
3448 Contributed by Abraham Ziv <ziv@il.ibm.com>, Moshe Olshansky
3449 <olshansk@il.ibm.com>, Ealan Henis <ealan@il.ibm.com>, and
3450 Anna Reitman <reitman@il.ibm.com>.
3451 * math/Makefile (dbl-only-routines): New variable.
3452 (libm-routines): Add $(dbl-only-routines).
3453 * sysdeps/ieee754/dbl-64/e_acos.c: Empty, definition is in e_asin.c.
3454 * sysdeps/ieee754/dbl-64/e_asin.c: Replaced with accurate asin
3456 * sysdeps/ieee754/dbl-64/e_atan2.c: Replaced with accurate atan2
3458 * sysdeps/ieee754/dbl-64/e_exp.c: Replaced with accurate exp
3460 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Don't use __kernel_sin and
3462 * sysdeps/ieee754/dbl-64/e_log.c: Replaced with accurate log
3464 * sysdeps/ieee754/dbl-64/e_remainder.c: Replaced with accurate
3465 remainder implementation.
3466 * sysdeps/ieee754/dbl-64/e_pow.c: Replaced with accurate pow
3468 * sysdeps/ieee754/dbl-64/e_sqrt.c: Replaced with accurate sqrt
3470 * sysdeps/ieee754/dbl-64/k_cos.c: Empty, definition is in s_sin.c.
3471 * sysdeps/ieee754/dbl-64/k_sin.c: Empty, definition is in s_sin.c.
3472 * sysdeps/ieee754/dbl-64/s_atan.c: Replaced with accurate atan
3474 * sysdeps/ieee754/dbl-64/s_cos.c: Empty, definition is in s_sin.c.
3475 * sysdeps/ieee754/dbl-64/s_sin.c: Replaced with accurate sin/cos
3477 * sysdeps/ieee754/dbl-64/s_sincos.c: Rewritten to not use __kernel_sin
3479 * sysdeps/ieee754/dbl-64/s_tan.c: Replaced with accurate tan
3481 * sysdeps/ieee754/dbl-64/Dist: Add new non-code files.
3482 * sysdeps/ieee754/dbl-64/MathLib.h: New file.
3483 * sysdeps/ieee754/dbl-64/asincos.tbl: New file.
3484 * sysdeps/ieee754/dbl-64/atnat.h: New file.
3485 * sysdeps/ieee754/dbl-64/atnat2.h: New file.
3486 * sysdeps/ieee754/dbl-64/branred.c: New file.
3487 * sysdeps/ieee754/dbl-64/branred.h: New file.
3488 * sysdeps/ieee754/dbl-64/dla.h: New file.
3489 * sysdeps/ieee754/dbl-64/doasin.c: New file.
3490 * sysdeps/ieee754/dbl-64/doasin.h: New file.
3491 * sysdeps/ieee754/dbl-64/dosincos.c: New file.
3492 * sysdeps/ieee754/dbl-64/dosincos.h: New file.
3493 * sysdeps/ieee754/dbl-64/endian.h: New file.
3494 * sysdeps/ieee754/dbl-64/halfulp.c: New file.
3495 * sysdeps/ieee754/dbl-64/mpa.c: New file.
3496 * sysdeps/ieee754/dbl-64/mpa.h: New file.
3497 * sysdeps/ieee754/dbl-64/mpa2.h: New file.
3498 * sysdeps/ieee754/dbl-64/mpatan.c: New file.
3499 * sysdeps/ieee754/dbl-64/mpatan.h: New file.
3500 * sysdeps/ieee754/dbl-64/mpatan2.c: New file.
3501 * sysdeps/ieee754/dbl-64/mpexp.c: New file.
3502 * sysdeps/ieee754/dbl-64/mpexp.h: New file.
3503 * sysdeps/ieee754/dbl-64/mplog.c: New file.
3504 * sysdeps/ieee754/dbl-64/mplog.h: New file.
3505 * sysdeps/ieee754/dbl-64/mpsqrt.c: New file.
3506 * sysdeps/ieee754/dbl-64/mpsqrt.h: New file.
3507 * sysdeps/ieee754/dbl-64/mptan.c: New file.
3508 * sysdeps/ieee754/dbl-64/mydefs.h: New file.
3509 * sysdeps/ieee754/dbl-64/powtwo.tbl: New file.
3510 * sysdeps/ieee754/dbl-64/root.tbl: New file.
3511 * sysdeps/ieee754/dbl-64/sincos.tbl: New file.
3512 * sysdeps/ieee754/dbl-64/sincos32.c: New file.
3513 * sysdeps/ieee754/dbl-64/sincos32.h: New file.
3514 * sysdeps/ieee754/dbl-64/slowexp.c: New file.
3515 * sysdeps/ieee754/dbl-64/slowpow.c: New file.
3516 * sysdeps/ieee754/dbl-64/uasncs.h: New file.
3517 * sysdeps/ieee754/dbl-64/uatan.tbl: New file.
3518 * sysdeps/ieee754/dbl-64/uexp.h: New file.
3519 * sysdeps/ieee754/dbl-64/uexp.tbl: New file.
3520 * sysdeps/ieee754/dbl-64/ulog.h: New file.
3521 * sysdeps/ieee754/dbl-64/ulog.tbl: New file.
3522 * sysdeps/ieee754/dbl-64/upow.h: New file.
3523 * sysdeps/ieee754/dbl-64/upow.tbl: New file.
3524 * sysdeps/ieee754/dbl-64/urem.h: New file.
3525 * sysdeps/ieee754/dbl-64/uroot.h: New file.
3526 * sysdeps/ieee754/dbl-64/usncs.h: New file.
3527 * sysdeps/ieee754/dbl-64/utan.h: New file.
3528 * sysdeps/ieee754/dbl-64/utan.tbl: New file.
3529 * sysdeps/i386/fpu/branred.c: New file.
3530 * sysdeps/i386/fpu/doasin.c: New file.
3531 * sysdeps/i386/fpu/dosincos.c: New file.
3532 * sysdeps/i386/fpu/halfulp.c: New file.
3533 * sysdeps/i386/fpu/mpa.c: New file.
3534 * sysdeps/i386/fpu/mpatan.c: New file.
3535 * sysdeps/i386/fpu/mpatan2.c: New file.
3536 * sysdeps/i386/fpu/mpexp.c: New file.
3537 * sysdeps/i386/fpu/mplog.c: New file.
3538 * sysdeps/i386/fpu/mpsqrt.c: New file.
3539 * sysdeps/i386/fpu/mptan.c: New file.
3540 * sysdeps/i386/fpu/sincos32.c: New file.
3541 * sysdeps/i386/fpu/slowexp.c: New file.
3542 * sysdeps/i386/fpu/slowpow.c: New file.
3543 * sysdeps/ia64/fpu/branred.c: New file.
3544 * sysdeps/ia64/fpu/doasin.c: New file.
3545 * sysdeps/ia64/fpu/dosincos.c: New file.
3546 * sysdeps/ia64/fpu/halfulp.c: New file.
3547 * sysdeps/ia64/fpu/mpa.c: New file.
3548 * sysdeps/ia64/fpu/mpatan.c: New file.
3549 * sysdeps/ia64/fpu/mpatan2.c: New file.
3550 * sysdeps/ia64/fpu/mpexp.c: New file.
3551 * sysdeps/ia64/fpu/mplog.c: New file.
3552 * sysdeps/ia64/fpu/mpsqrt.c: New file.
3553 * sysdeps/ia64/fpu/mptan.c: New file.
3554 * sysdeps/ia64/fpu/sincos32.c: New file.
3555 * sysdeps/ia64/fpu/slowexp.c: New file.
3556 * sysdeps/ia64/fpu/slowpow.c: New file.
3557 * sysdeps/m68k/fpu/branred.c: New file.
3558 * sysdeps/m68k/fpu/doasin.c: New file.
3559 * sysdeps/m68k/fpu/dosincos.c: New file.
3560 * sysdeps/m68k/fpu/halfulp.c: New file.
3561 * sysdeps/m68k/fpu/mpa.c: New file.
3562 * sysdeps/m68k/fpu/mpatan.c: New file.
3563 * sysdeps/m68k/fpu/mpatan2.c: New file.
3564 * sysdeps/m68k/fpu/mpexp.c: New file.
3565 * sysdeps/m68k/fpu/mplog.c: New file.
3566 * sysdeps/m68k/fpu/mpsqrt.c: New file.
3567 * sysdeps/m68k/fpu/mptan.c: New file.
3568 * sysdeps/m68k/fpu/sincos32.c: New file.
3569 * sysdeps/m68k/fpu/slowexp.c: New file.
3570 * sysdeps/m68k/fpu/slowpow.c: New file.
3572 * iconvdata/gconv-modules: Add a number of alias, mostly for IBM
3575 2001-03-11 Andreas Jaeger <aj@suse.de>
3577 * elf/elf.h (EM_*): Synch with official list.
3579 2001-03-07 David Mosberger <davidm@hpl.hp.com>
3581 * sysdeps/ia64/bits/fenv.h (FE_NONIEEE_ENV): New macro.
3583 2001-03-07 Jes Sorensen <jes@linuxcare.com>
3585 * sysdeps/unix/sysv/linux/ia64/ioperm.c (_ioperm): Remove unused
3586 variables addr & len.
3588 2001-02-22 Jes Sorensen <jes@linuxcare.com>
3590 * sysdeps/ia64/fpu/feenablxcpt.c (feenableexcept): Remove
3591 punctuation in asm constraint.
3593 2001-03-07 Mark Kettenis <kettenis@gnu.org>
3595 * resolv/netdb.h [__USE_GNU]: Define __need_timespec and include
3596 <time.h> to get definition of `struct timespec'.
3598 2001-03-08 Jakub Jelinek <jakub@redhat.com>
3600 * elf/rtld.c (dl_main): If tracing, warn about undefined symbols if
3601 LD_WARN=1, not if LD_WARN is unset.
3603 2001-03-07 Andreas Schwab <schwab@suse.de>
3605 * elf/ldconfig.h: Moved to ...
3606 * sysdeps/generic/ldconfig.h: ... here.
3607 * sysdeps/unix/sysv/linux/i386/ldconfig.h: New file.
3608 * sysdeps/unix/sysv/linux/m68k/ldconfig.h: New file.
3609 * sysdeps/unix/sysv/linux/ia64/ldconfig.h: New file.
3610 * elf/readlib.c (interpreters, known_libs): Use
3611 SYSDEP_KNOWN_INTERPRETER_NAMES and SYSDEP_KNOWN_LIBRARY_NAMES
3612 instead of hard coding old names.
3614 2001-03-09 Ulrich Drepper <drepper@redhat.com>
3616 * catgets/Makefile (generated): Add test-gencat.h.
3617 (sample.SJIS.cat): Also generate header.
3618 * catgets/sample.SJIS: Add new set and message, both with symbolic
3620 * catgets/test-gencat.sh: Also compare generated header with what
3623 2001-03-07 Jakub Jelinek <jakub@redhat.com>
3625 * catgets/gencat.c (read_input_file): Preserve properly symbolic
3628 2001-03-06 Andreas Jaeger <aj@suse.de>
3630 * sysdeps/s390/dl-machine.h (elf_machine_relplt): Removed, it's not
3632 (elf_machine_pltrel_p): Likewise.
3633 * sysdeps/powerpc/dl-machine.h: Likewise.
3634 * sysdeps/generic/dl-machine.h (elf_machine_pltrel_p): Likewise.
3636 2001-03-09 Ulrich Drepper <drepper@redhat.com>
3638 * sysdeps/unix/sysv/linux/arm/Dist: Add dl-procinfo.c and
3641 2001-03-05 Philip Blundell <philb@gnu.org>
3643 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c: New file.
3644 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h: New file.
3645 * sysdeps/unix/sysv/linux/arm/Makefile [subdir=elf]
3646 (sysdep-dl-routines, sysdep_routines, sysdep-rtld-routines): Add
3649 2001-03-09 Ulrich Drepper <drepper@redhat.com>
3651 * dlfcn/tstatexit.c (main): Don't perform the test if __dso_handle
3653 * dlfcn/tstcxaatexit.c (main): Likewise.
3655 2001-03-10 Andreas Jaeger <aj@suse.de>
3657 * sysdeps/i386/fpu/libm-test-ulps: Revert last patch.
3659 2001-03-09 Andreas Jaeger <aj@suse.de>
3661 * sysdeps/s390/dl-machine.h (elf_machine_matches_host): Handle
3662 both new and old EM_S390 values.
3663 (EM_S390_OLD): New constant.
3665 * elf/elf.h (EM_S390): Use official value.
3667 2001-03-09 Ulrich Drepper <drepper@redhat.com>
3669 * conform/data/sys/socket.h-data: Allow SO* symbols.
3671 2001-03-07 Andreas Schwab <schwab@suse.de>
3673 * sysdeps/ia64/fpu/Makefile: Modify sysdep_routines instead of
3674 routines, and sysdep-CPPFLAGS instead of CPPFLAGS.
3676 2001-03-07 Andreas Jaeger <aj@suse.de>
3678 * resolv/Makefile (routines): Only build gai_sigqueue when threads
3681 2001-03-07 Jakub Jelinek <jakub@redhat.com>
3683 * elf/ldconfig.c (_dl_sysdep_message): Remove.
3684 * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h: Include
3686 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h: Likewise.
3688 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Use
3689 _dl_error_printf instead of _dl_sysdep_error.
3690 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
3691 * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h (_dl_procinfo):
3692 Use _dl_printf instead of _dl_sysdep_message.
3693 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h (_dl_procinfo):
3696 2001-03-06 Ben Collins <bcollins@debian.org>
3698 * manual/arith.texi (Integers): Fix documentation of fast and
3699 least integer typedefs.
3701 2001-03-06 Jakub Jelinek <jakub@redhat.com>
3703 * resolv/Depend: New file.
3704 * resolv/Makefile (extra-libs, tests): Build libanl and ga_test only
3705 when libpthread is built.
3707 2001-03-06 Andreas Jaeger <aj@suse.de>
3709 * sysdeps/i386/fpu/libm-test-ulps: Add some deltas.
3711 * sysdeps/sh/dl-machine.h (elf_machine_rela): Add missing comma.
3712 Patch by kaz Kojima <kkojima@rr.iij4u.or.jp>.
3714 2001-03-05 Ulrich Drepper <drepper@redhat.com>
3716 * stdlib/Versions: Remove __new_exitfn again. Not needed.
3718 2001-03-05 Andreas Jaeger <aj@suse.de>
3720 * stdlib/msort.c (qsort): Don't use alloca in a function call.
3722 2001-03-05 Ulrich Drepper <drepper@redhat.com>
3724 * sysdeps/unix/sysv/linux/bits/stat.h (__S_TYPEISMQ, __S_TYPEISSEM,
3725 __S_TYPEISSHM): Rewrite to enforce correct use the macros. They still
3727 * sysdeps/unix/sysv/linux/alpha/bits/stat.h: Likewise.
3728 * sysdeps/unix/sysv/linux/ia64/bits/stat.h: Likewise.
3729 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
3730 * sysdeps/unix/sysv/linux/m68k/bits/stat.h: Likewise.
3731 * sysdeps/unix/sysv/linux/mips/bits/stat.h: Likewise.
3732 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
3733 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
3735 2001-03-04 Andreas Jaeger <aj@suse.de>
3737 * stdlib/longlong.h: Don't use multi-line strings.
3738 * iconvdata/tst-loading.c: Likewise.
3740 * csu/Makefile ($(objpfx)version-info.h): Don't use multi-line
3743 2001-03-04 Ulrich Drepper <drepper@redhat.com>
3745 * sysdeps/ia64/fpu/libm-test-ulps: Adjust for addition of lgammal.
3747 * rt/lio_listio.c: Add a few asserts.
3749 * elf/global.c: New file.
3750 * elf/globalmod1.c: New file.
3751 * elf/Makefile: Add rules to build and run global.
3753 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Define SI_ASYNCNL.
3754 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
3755 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Likewise.
3756 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
3757 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/siginfo.h: Likewise.
3759 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: New file.
3760 Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>.
3762 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Fix handling of boundary cases.
3764 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Always initialize sign variable.
3765 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
3767 * sysdeps/i386/fpu/libm-test-ulps: Adjust after addition of lgammal.
3769 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Fix typo in last change.
3771 2001-03-04 Andreas Jaeger <aj@suse.de>
3773 * resolv/tst-aton.c: Add testcase for IP with four periods.
3775 * resolv/inet_addr.c: Don't recognize an IP with four periods.
3776 Patch by Andre' Breiler <A.Breiler@gmx.net>.
3778 2001-02-27 Philip Blundell <pb@futuretv.com>
3780 * elf/elf.h: Add new ARM definitions from latest (B-01)
3781 specification. Correct naming of EF_ARM_ALIGN8 et al.
3783 2001-03-04 Ulrich Drepper <drepper@redhat.com>
3785 * stdio-common/tst-printf.sh: Remove bashisms.
3786 Patch by Matthew Clarke <Matthew_Clarke@mindlink.bc.ca>.
3788 2001-03-03 Ulrich Drepper <drepper@redhat.com>
3790 * Versions.def: Add libanl definition.
3791 * shlib-versions: Add entry for libanl.
3792 * resolv/Makefile (distribute): Add gai_misc.h and ga_test.c.
3793 (routines): Add gai_sigqueue.
3794 (extra-libs): Add libanl.
3795 (libanl-routines): New variable.
3796 Add rules to build libanl and ga_test.
3797 * resolv/Versions [libc] (GLIBC_2.2.3): Add __gai_sigqueue.
3798 [libanl]: New library.
3799 * resolv/netdb.h: Add definitions for libanl.
3800 * resolv/getaddrinfo_a.c: New file.
3801 * resolv/gai_cancel.c: New file.
3802 * resolv/gai_error.c: New file.
3803 * resolv/gai_misc.c: New file.
3804 * resolv/gai_misc.h: New file.
3805 * resolv/gai_notify.c: New file.
3806 * resolv/gai_suspend.c: New file.
3807 * resolv/ga_test.c: New file.
3808 * sysdeps/generic/gai_sigqueue.c: New file.
3809 * sysdeps/unix/sysv/linux/gai_sigqueue.c: New file.
3810 * sysdeps/generic/bits/siginfo.h: Allow __need_sigevent_t being defined
3811 and provide only that definition.
3812 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Likewise.
3813 * sysdeps/unix/sysv/linux/bits/siginfo.h: Likewise.
3814 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
3815 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Likewise.
3816 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
3817 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/siginfo.h: Likewise.
3819 * rt/aio_misc.c: Fix typos in comments.
3820 * rt/lio_listio.c: Pretty printing. Little optimization in request
3823 * elf/rtld.c: Remove commented out code.
3825 * sysdeps/unix/sysv/linux/linux_fsinfo.h (SHMFS_SUPER_MAGIC):
3826 Update for real 2.4 kernels.
3828 2001-03-01 Ulrich Drepper <drepper@redhat.com>
3830 * elf/dl-load.c: Pretty printing.
3832 * elf/dl-object.c (_dl_new_object): Don't add the loader's scope
3835 2001-02-28 Ulrich Drepper <drepper@redhat.com>
3837 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Don't handle
3838 relocations which are not in ld.so if RTLD_BOOTSTRAP is defined.
3840 * sysdeps/powerpc/dl-machine.c (__process_machine_rela): Fix typo.
3842 * elf/dl-misc.c (_dl_debug_vdprintf): Fix typo visible on 64-bit
3845 * sysdeps/unix/sysv/linux/powerpc/sysdep.h (C_TEXT): Define.
3847 2001-02-27 Ulrich Drepper <drepper@redhat.com>
3849 * sysdeps/powerpc/elf/libc-start.c: Use new output functions and
3852 * elf/Versions [ld]: Don't export _dl_debug_message anymore. Export
3854 * elf/dl-misc.c: Remove definition of _dl_sysdep_output and
3855 _dl_debug_message. Define _dl_debug_vdprintf, _dl_debug_printf,
3856 _dl_debug_printf_c, and _dl_printf.
3857 * sysdeps/generic/ldsodefs.h: Don't declare _dl_sysdep_output,
3858 _dl_debug_message, _dl_sysdep_message, _dl_sysdep_error, and
3859 _dl_sysdep_fatal. Declare _dl_debug_printf, _dl_debug_printf_c,
3860 _dl_printf, _dl_error_printf, and _dl_fatal_printf.
3861 * elf/dl-close.c: Replace use of old output functions with the new
3863 * elf/dl-deps.c: Likewise.
3864 * elf/dl-error.c: Likewise.
3865 * elf/dl-fini.c: Likewise.
3866 * elf/dl-init.c: Likewise.
3867 * elf/dl-load.c: Likewise.
3868 * elf/dl-lookup.c: Likewise.
3869 * elf/dl-minimal.c: Likewise.
3870 * elf/dl-open.c: Likewise.
3871 * elf/dl-profile.c: Likewise.
3872 * elf/dl-reloc.c: Likewise.
3873 * elf/dl-version.c: Likewise.
3874 * elf/do-lookup.h: Likewise.
3875 * elf/rtld.c: Likewise.
3876 * sysdeps/generic/dl-cache.c: Likewise.
3877 * sysdeps/generic/dl-sysdep.c: Likewise.
3878 * sysdeps/generic/libc-start.c: Likewise.
3879 * sysdeps/i386/dl-machine.h: Likewise.
3880 * sysdeps/arm/dl-machine.h: Likewise.
3881 * sysdeps/hppa/dl-machine.h: Likewise.
3882 * sysdeps/m68k/dl-machine.h: Likewise.
3883 * sysdeps/powerpc/dl-machine.h: Likewise.
3884 * sysdeps/s390/dl-machine.h: Likewise.
3885 * sysdeps/sh/dl-machine.h: Likewise.
3886 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
3887 * sysdeps/unix/sysv/linux/i386/dl-librecon.h: Likewise.
3888 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
3890 * sysdeps/generic/ldsodefs.h: Remove _dl_secure declaration.
3892 * dlfcn/Makefile: Don't run tstatexit test unless .hidden is
3893 supported by assembler.
3895 * sysdeps/generic/ldsodefs.h: Remove commented-out variable
3898 * elf/rtld.c: Little optimizations in handling _dl_lazy.
3900 * elf/cache.c (save_cache): Portability changes.
3901 * elf/dl-profile.c (_dl_start_profile): Likewise.
3903 * elf/sln.c: Cleanups. Remove arbitrary limits.
3905 * elf/dl-close.c: Replace _dl_debug_* variables with _dl_debug_mask.
3906 * elf/dl-deps.c: Likewise.
3907 * elf/dl-fini.c: Likewise.
3908 * elf/dl-init.c: Likewise.
3909 * elf/dl-load.c: Likewise.
3910 * elf/dl-lookup.c: Likewise.
3911 * elf/dl-open.c: Likewise.
3912 * elf/dl-reloc.c: Likewise.
3913 * elf/dl-support.c: Likewise.
3914 * elf/dl-version.c: Likewise.
3915 * elf/do-lookup.h: Likewise.
3916 * elf/rtld.c: Likewise.
3917 * sysdeps/generic/dl-cache.c: Likewise.
3918 * sysdeps/generic/ldsodefs.h: Likewise.
3919 * sysdeps/generic/libc-start.c: Likewise.
3920 * elf/Versions: Don't export _dl_debug_impcalls and _dl_debug_files.
3921 Export _dl_debug_mask.
3922 * Versions.def: Define GLIBC_2.2.3 for ld.
3924 2001-02-26 Greg McGary <greg@mcgary.org>
3926 * sysdeps/unix/make-syscalls.sh (ptr): Handle `V' keyletter.
3928 2001-02-26 Paul Eggert <eggert@twinsun.com>
3930 Modify mkstemp.c and tempname.c so that they can be used by
3931 GNU applications on non-glibc platforms.
3933 * misc/mkstemp.c (__GT_FILE): Define to zero if not defined.
3935 * sysdeps/posix/tempname.c: Include <config.h> if HAVE_CONFIG_H.
3936 Include <stddef.h>, <stdint.h>, <string.h> only if
3937 STDC_HEADERS || _LIBC.
3938 Include <fcntl.h> only if HAVE_FCNTL_H || _LIBC.
3939 Include <unistd.h> only if HAVE_UNISTD_H || _LIBC.
3940 Include <sys/time.h> only if HAVE_SYS_TIME_H || _LIBC.
3941 (__set_errno): Define this macro if <errno.h> doesn't.
3942 (P_tmpdir, TMP_MAX, __GT_FILE, __GT_BIGFILE, __GT_DIR, __GT_NOCREATE):
3943 Define these macros if <stdio.h> doesn't.
3944 (S_ISDIR, S_IRUSR, S_IWUSR, S_IXUSR):
3945 Define these macros if <sys/stat.h> doesn't.
3946 Ignore <sys/stat.h> S_ISDIR if STAT_MACROS_BROKEN.
3947 (stat64, __getpid, __gettimeofday, __mkdir, __open, __open64,
3948 lxstat64, __xstat64): Define if not _LIBC.
3949 (struct_stat64): New macro.
3950 (direxists, __gen_tempname): Use it, to avoid a
3951 portability problem with Solaris 8.
3952 (__secure_getenv): Define if ! (HAVE___SECURE_GETENV || _LIBC).
3953 (__gen_tempname): Invoke gettimeofday only if
3954 HAVE_GETTIMEOFDAY || _LIBC; otherwise, fall back on plain "time".
3955 Use portable macros like S_IRUSR | S_IWUSR rather than nonportable
3956 octal values like 0600.
3958 2001-02-26 Ulrich Drepper <drepper@redhat.com>
3960 * sysdeps/ieee754/ldbl-96/e_jnl.c: New file.
3961 Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>.
3963 * sysdeps/i386/fpu/libm-test-ulps: Update for jnl and ynl introduction.
3964 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
3966 * posix/wordexp-test.c (testit): Remove warnings.
3968 * dlfcn/Makefile (distribute): Add modatexit.c and modcxaatexit.c.
3969 (tests): Add tstatexit and tstcxaatexit.
3970 (module-names): Add modatexit and modcxaatexit.
3971 Add rules to build and run tstatexit and tstcxaatexit.
3972 * dlfcn/modatexit.c: New file.
3973 * dlfcn/modcxaatexit.c: New file.
3974 * dlfcn/tstatexit.c: New file.
3975 * dlfcn/tstcxaatexit.c: New file.
3977 * io/Makefile: Pass -DHAVE_DOT_HIDDEN to stat and mknod functions if
3978 .hidden is available.
3979 * io/stat.c: If .hidden is available use it to avoid exporting
3981 * io/fstat.c: Likewise.
3982 * io/lstat.c: Likewise.
3983 * io/stat64.c: Likewise.
3984 * io/fstat64.c: Likewise.
3985 * io/lstat64.c: Likewise.
3986 * sysdeps/generic/mknod.c: Likewise.
3988 * malloc/mtrace.c: Use __cxa_atexit and not atexit.
3989 * sysdeps/generic/bb_init_func.c: Likewise.
3990 * sysdeps/generic/libc-start.c: Likewise.
3992 * stdlib/atexit.c (__new_exitfn): Move to cxa_atexit.c.
3993 (atexit): Implement using __cxa_atexit.
3994 Use .hidden if availble to avoid exporting atexit.
3995 * stdlib/cxa_atexit.c (__new_exitfn): Moved to here from atexit.c.
3996 * stdlib/Versions: Export __new_exitfn for GLIBC_2.2.3.
3997 * stdlib/Makefile (routines): Add old_atexit.
3998 (static-only-routines): Add atexit.
3999 Pass -DHAVE_DOT_HIDDEN for atexit.c if .hidden is available.
4000 * stdlib/old_atexit.c: New file.
4002 * intl/Makefile: Remove bogus endif.
4004 2001-02-26 Andreas Jaeger <aj@suse.de>
4006 * iconvdata/Makefile (tests): Fix typo in last patch.
4008 * intl/Makefile (tests): Run mtrace-tst-gettext only when perl is
4010 Reported by Achim Gottinger <achim@gentoo.org>.
4012 2001-02-25 Andreas Jaeger <aj@suse.de>
4014 * intl/Makefile (plural.c): Reorder rules so that they work if
4015 BISON doesn't exist.
4017 2001-02-25 Ulrich Drepper <drepper@redhat.com>
4019 * intl/locale.alias: Don't use nb_NO but define aliases for it.
4021 2001-02-23 Ulrich Drepper <drepper@redhat.com>
4023 * sysdeps/i386/strtok.S: Continue to return NULL after the first
4026 2001-02-23 Andreas Jaeger <aj@suse.de>
4028 * string/tester.c (test_strtok_r): Add testcase.
4029 (test_strtok_r): Always initialize cp for proper checking.
4031 * sysdeps/generic/strtok.c (strtok): Handle case of first strtok
4032 returning NULL correctly.
4033 Patch by Fumitoshi UKAI <ukai@debian.or.jp>.
4034 * sysdeps/generic/strtok_r.c (__strtok_r): Likewise.
4036 2001-02-23 Ulrich Drepper <drepper@redhat.com>
4038 * sysdeps/unix/sysv/aix/bits/types.h: Define __need_NULL before
4039 including <stddef.h>.
4040 * sysdeps/unix/sysv/aix/write.c: Define alias __libc_write.
4041 * include/libc-symbols.h (weak_alias): Don't use .weak if
4042 HAVE_ASM_GLOBAL_DOT_NAME is defined.
4043 Patches by Michael Keezer <mkeezer@redhat.com>.
4045 * sysdeps/generic/ftime.c: Don't include <sys/time.h> at all.
4046 Patch by Michael Keezer <mkeezer@redhat.com>.
4048 * sysdeps/unix/sysv/aix/Dist: Remove restf.S and savef.S.
4049 * sysdeps/unix/sysv/aix/Makefile [$(subdir) == misc]
4050 (sysdep_routines): Remove restf.S and savef.S.
4051 * sysdeps/unix/sysv/aix/restf.S. Removed.
4052 * sysdeps/unix/sysv/aix/savef.S. Removed.
4053 * sysdeps/powerpc/fprrest.S: Use C_TEXT to define label. Also define
4054 alternative names used on some platforms.
4055 * sysdeps/powerpc/fprsave.S: Likewise.
4056 * sysdeps/powerpc/gprrest0.S: Likewise.
4057 * sysdeps/powerpc/gprrest1.S: Likewise.
4058 * sysdeps/powerpc/gprsave0.S: Likewise.
4059 * sysdeps/powerpc/gprsave1.S: Likewise.
4060 Patch by Michael Keezer <mkeezer@redhat.com>.
4062 2001-02-22 Ulrich Drepper <drepper@redhat.com>
4064 * sysdeps/i386/elf/start.S (_fp_hw): Actually define label.
4066 2001-02-22 Andreas Jaeger <aj@suse.de>
4068 * string/tst-strtok.c (main): Fix error messages.
4070 2001-02-22 Andreas Jaeger <aj@suse.de>
4072 * math/Makefile: Remove omit-long-double-fcts.
4074 2001-02-18 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
4076 * sysdeps/mips/bsd-_setjmp.S (_setjmp): Reorder instructions to
4077 avoid problems on MIPS I.
4078 * sysdeps/mips/bsd-setjmp.S (setjmp): Likewise.
4080 * sysdeps/mips/dl-machine.h (RTLD_START): Remove duplicate ".set
4083 2001-02-21 Ulrich Drepper <drepper@redhat.com>
4085 * posix/fnmatch_loop.c: Handle ranges outside glibc correctly.
4087 * sysdeps/generic/ftime.c: Include <time.h>.
4089 * configure.in: Don't check for libgd if user passed --without-gd.
4090 Patch by Achim Gottinger <achim@gentoo.org>.
4092 * sysdeps/i386/i686/strtok.S: Continue to return NULL after the
4093 first time this happened.
4094 * string/Makefile (tests): Add tst-strtok.
4096 2001-02-21 Andreas Jaeger <aj@suse.de>
4098 * string/tst-strtok.c: New testcase, reported by
4099 Andrew Church <achurch@achurch.org>.
4101 2001-02-20 Ulrich Drepper <drepper@redhat.com>
4103 * libio/iofwide.c: Remove fwide alias.
4105 2001-02-20 Andreas Jaeger <aj@suse.de>
4107 * iconvdata/Makefile (tests): Only run mtrace-tst-loading if perl
4109 Reported by Achim Gottinger <achim@gentoo.org>.
4111 2001-02-19 Ulrich Drepper <drepper@redhat.com>
4113 * iconv/tst-iconv1.c (main): Remove debugging code.
4115 * sysdeps/ieee754/flt-32/e_powf.c: Handle x == +-1 correctly.
4116 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
4118 * sysdeps/generic/e_scalb.c: Set invalid exception for invalid
4120 * sysdeps/generic/e_scalbf.c: Likewise.
4121 * sysdeps/generic/e_scalbl.c: Likewise.
4123 * sysdeps/ia64/fpu/Makefile (libm-sysdep-routines): Add libm_error,
4124 libm_frexp4, libm_frexp4f, libm_frexp4l, and all the functions also
4126 (routines): Replace libm_error with libc_libm_error.
4127 * sysdeps/ia64/fpu/Dist: Add libc_libm_error.c.
4128 * sysdeps/ia64/fpu/libc_libm_error.c: New file.
4130 2001-02-18 Mark Kettenis <kettenis@gnu.org>
4132 * malloc/mtrace.c [USE_IN_LIBIO]: Define fopen as _IO_fopen64.
4133 (mtrace): Revert 2001-02-13 patch: use fopen instead of fopen64.
4135 2001-02-17 H.J. Lu <hjl@gnu.org>
4137 * sysdeps/unix/sysv/linux/ia64/clone2.S: Use clone2 and don't use
4138 scratch registers across the system call.
4140 2001-02-19 Andreas Jaeger <aj@suse.de>
4142 * malloc/Makefile (tests): Run mtrace only when perl is available.
4143 Reported by Achim Gottinger <achim@gentoo.org>.
4145 2001-02-19 Ulrich Drepper <drepper@redhat.com>
4147 * sysdeps/ieee754/ldbl-96/e_j1l.c: New file.
4148 Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>.
4150 * sysdeps/i386/fpu/libm-test-ulps: Adjust error values for j1 and y1.
4151 * sysdeps/ia64/fpu/libm-test-ulps: Adjust error values for y1.
4152 * math/libm-test.inc (j1_test): Mark constants as long double.
4153 (jn_test): Likewise.
4154 (y1_test): Likewise.
4155 (yn_test): Likewise.
4157 * libio/iogetline.c: Move return until after last statement.
4159 * localedata/show-ucs-data.c: Don't show < > for better readability.
4161 * sysdeps/ia64/fpu/Dist: New file.
4162 * sysdeps/ia64/fpu/Makefile: New file.
4163 * sysdeps/ia64/fpu/Versions: New file.
4164 * sysdeps/ia64/fpu/e_acos.S: New file.
4165 * sysdeps/ia64/fpu/e_acosf.S: New file.
4166 * sysdeps/ia64/fpu/e_acosl.S: New file.
4167 * sysdeps/ia64/fpu/e_asin.S: New file.
4168 * sysdeps/ia64/fpu/e_asinf.S: New file.
4169 * sysdeps/ia64/fpu/e_asinl.S: New file.
4170 * sysdeps/ia64/fpu/e_atan2.S: New file.
4171 * sysdeps/ia64/fpu/e_atan2f.S: New file.
4172 * sysdeps/ia64/fpu/e_atan2l.c: New file.
4173 * sysdeps/ia64/fpu/e_cosh.S: New file.
4174 * sysdeps/ia64/fpu/e_coshf.S: New file.
4175 * sysdeps/ia64/fpu/e_coshl.S: New file.
4176 * sysdeps/ia64/fpu/e_exp.S: New file.
4177 * sysdeps/ia64/fpu/e_expf.S: New file.
4178 * sysdeps/ia64/fpu/e_expl.c: New file.
4179 * sysdeps/ia64/fpu/e_fmod.S: New file.
4180 * sysdeps/ia64/fpu/e_fmodf.S: New file.
4181 * sysdeps/ia64/fpu/e_fmodl.S: New file.
4182 * sysdeps/ia64/fpu/e_hypot.S: New file.
4183 * sysdeps/ia64/fpu/e_hypotf.S: New file.
4184 * sysdeps/ia64/fpu/e_hypotl.S: New file.
4185 * sysdeps/ia64/fpu/e_log.S: New file.
4186 * sysdeps/ia64/fpu/e_log10.c: New file.
4187 * sysdeps/ia64/fpu/e_log10f.c: New file.
4188 * sysdeps/ia64/fpu/e_log10l.c: New file.
4189 * sysdeps/ia64/fpu/e_logf.S: New file.
4190 * sysdeps/ia64/fpu/e_logl.c: New file.
4191 * sysdeps/ia64/fpu/e_pow.S: New file.
4192 * sysdeps/ia64/fpu/e_powf.S: New file.
4193 * sysdeps/ia64/fpu/e_powl.S: New file.
4194 * sysdeps/ia64/fpu/e_rem_pio2.c: New file.
4195 * sysdeps/ia64/fpu/e_rem_pio2f.c: New file.
4196 * sysdeps/ia64/fpu/e_remainder.S: New file.
4197 * sysdeps/ia64/fpu/e_remainderf.S: New file.
4198 * sysdeps/ia64/fpu/e_remainderl.S: New file.
4199 * sysdeps/ia64/fpu/e_scalb.S: New file.
4200 * sysdeps/ia64/fpu/e_scalbf.S: New file.
4201 * sysdeps/ia64/fpu/e_scalbl.S: New file.
4202 * sysdeps/ia64/fpu/e_sinh.S: New file.
4203 * sysdeps/ia64/fpu/e_sinhf.S: New file.
4204 * sysdeps/ia64/fpu/e_sinhl.S: New file.
4205 * sysdeps/ia64/fpu/e_sqrt.S: New file.
4206 * sysdeps/ia64/fpu/e_sqrtf.S: New file.
4207 * sysdeps/ia64/fpu/e_sqrtl.S: New file.
4208 * sysdeps/ia64/fpu/k_rem_pio2.c: New file.
4209 * sysdeps/ia64/fpu/k_rem_pio2f.c: New file.
4210 * sysdeps/ia64/fpu/k_rem_pio2l.c: New file.
4211 * sysdeps/ia64/fpu/libm_atan2_reg.S: New file.
4212 * sysdeps/ia64/fpu/libm_error.c: New file.
4213 * sysdeps/ia64/fpu/libm_frexp4.S: New file.
4214 * sysdeps/ia64/fpu/libm_frexp4f.S: New file.
4215 * sysdeps/ia64/fpu/libm_frexp4l.S: New file.
4216 * sysdeps/ia64/fpu/libm_reduce.S: New file.
4217 * sysdeps/ia64/fpu/libm_support.h: New file.
4218 * sysdeps/ia64/fpu/libm_tan.S: New file.
4219 * sysdeps/ia64/fpu/s_atan.S: New file.
4220 * sysdeps/ia64/fpu/s_atanf.S: New file.
4221 * sysdeps/ia64/fpu/s_atanl.S: New file.
4222 * sysdeps/ia64/fpu/s_cbrt.S: New file.
4223 * sysdeps/ia64/fpu/s_cbrtf.S: New file.
4224 * sysdeps/ia64/fpu/s_cbrtl.S: New file.
4225 * sysdeps/ia64/fpu/s_ceil.S: New file.
4226 * sysdeps/ia64/fpu/s_ceilf.S: New file.
4227 * sysdeps/ia64/fpu/s_ceill.S: New file.
4228 * sysdeps/ia64/fpu/s_cos.S: New file.
4229 * sysdeps/ia64/fpu/s_cosf.S: New file.
4230 * sysdeps/ia64/fpu/s_cosl.S: New file.
4231 * sysdeps/ia64/fpu/s_expm1.S: New file.
4232 * sysdeps/ia64/fpu/s_expm1f.S: New file.
4233 * sysdeps/ia64/fpu/s_expm1l.S: New file.
4234 * sysdeps/ia64/fpu/s_floor.S: New file.
4235 * sysdeps/ia64/fpu/s_floorf.S: New file.
4236 * sysdeps/ia64/fpu/s_floorl.S: New file.
4237 * sysdeps/ia64/fpu/s_frexp.c: New file.
4238 * sysdeps/ia64/fpu/s_frexpf.c: New file.
4239 * sysdeps/ia64/fpu/s_frexpl.c: New file.
4240 * sysdeps/ia64/fpu/s_ilogb.S: New file.
4241 * sysdeps/ia64/fpu/s_ilogbf.S: New file.
4242 * sysdeps/ia64/fpu/s_ilogbl.S: New file.
4243 * sysdeps/ia64/fpu/s_ldexp.S: New file.
4244 * sysdeps/ia64/fpu/s_ldexpf.S: New file.
4245 * sysdeps/ia64/fpu/s_ldexpl.S: New file.
4246 * sysdeps/ia64/fpu/s_log1p.S: New file.
4247 * sysdeps/ia64/fpu/s_log1pf.S: New file.
4248 * sysdeps/ia64/fpu/s_log1pl.S: New file.
4249 * sysdeps/ia64/fpu/s_logb.S: New file.
4250 * sysdeps/ia64/fpu/s_logbf.S: New file.
4251 * sysdeps/ia64/fpu/s_logbl.S: New file.
4252 * sysdeps/ia64/fpu/s_matherrf.c: New file.
4253 * sysdeps/ia64/fpu/s_matherrl.c: New file.
4254 * sysdeps/ia64/fpu/s_modf.S: New file.
4255 * sysdeps/ia64/fpu/s_modff.S: New file.
4256 * sysdeps/ia64/fpu/s_modfl.S: New file.
4257 * sysdeps/ia64/fpu/s_nearbyint.S: New file.
4258 * sysdeps/ia64/fpu/s_nearbyintf.S: New file.
4259 * sysdeps/ia64/fpu/s_nearbyintl.S: New file.
4260 * sysdeps/ia64/fpu/s_rint.S: New file.
4261 * sysdeps/ia64/fpu/s_rintf.S: New file.
4262 * sysdeps/ia64/fpu/s_rintl.S: New file.
4263 * sysdeps/ia64/fpu/s_round.S: New file.
4264 * sysdeps/ia64/fpu/s_roundf.S: New file.
4265 * sysdeps/ia64/fpu/s_roundl.S: New file.
4266 * sysdeps/ia64/fpu/s_scalbn.S: New file.
4267 * sysdeps/ia64/fpu/s_scalbnf.S: New file.
4268 * sysdeps/ia64/fpu/s_scalbnl.S: New file.
4269 * sysdeps/ia64/fpu/s_significand.S: New file.
4270 * sysdeps/ia64/fpu/s_significandf.S: New file.
4271 * sysdeps/ia64/fpu/s_significandl.S: New file.
4272 * sysdeps/ia64/fpu/s_sin.c: New file.
4273 * sysdeps/ia64/fpu/s_sincos.c: New file.
4274 * sysdeps/ia64/fpu/s_sincosf.c: New file.
4275 * sysdeps/ia64/fpu/s_sincosl.c: New file.
4276 * sysdeps/ia64/fpu/s_sinf.c: New file.
4277 * sysdeps/ia64/fpu/s_sinl.c: New file.
4278 * sysdeps/ia64/fpu/s_tan.S: New file.
4279 * sysdeps/ia64/fpu/s_tanf.S: New file.
4280 * sysdeps/ia64/fpu/s_tanl.S: New file.
4281 * sysdeps/ia64/fpu/s_trunc.S: New file.
4282 * sysdeps/ia64/fpu/s_truncf.S: New file.
4283 * sysdeps/ia64/fpu/s_truncl.S: New file.
4284 * sysdeps/ia64/fpu/w_acos.c: New file.
4285 * sysdeps/ia64/fpu/w_acosf.c: New file.
4286 * sysdeps/ia64/fpu/w_acosl.c: New file.
4287 * sysdeps/ia64/fpu/w_asin.c: New file.
4288 * sysdeps/ia64/fpu/w_asinf.c: New file.
4289 * sysdeps/ia64/fpu/w_asinl.c: New file.
4290 * sysdeps/ia64/fpu/w_atan2.c: New file.
4291 * sysdeps/ia64/fpu/w_atan2f.c: New file.
4292 * sysdeps/ia64/fpu/w_atan2l.c: New file.
4293 * sysdeps/ia64/fpu/w_cosh.c: New file.
4294 * sysdeps/ia64/fpu/w_coshf.c: New file.
4295 * sysdeps/ia64/fpu/w_coshl.c: New file.
4296 * sysdeps/ia64/fpu/w_exp.c: New file.
4297 * sysdeps/ia64/fpu/w_expf.c: New file.
4298 * sysdeps/ia64/fpu/w_fmod.c: New file.
4299 * sysdeps/ia64/fpu/w_fmodf.c: New file.
4300 * sysdeps/ia64/fpu/w_fmodl.c: New file.
4301 * sysdeps/ia64/fpu/w_hypot.c: New file.
4302 * sysdeps/ia64/fpu/w_hypotf.c: New file.
4303 * sysdeps/ia64/fpu/w_hypotl.c: New file.
4304 * sysdeps/ia64/fpu/w_log.c: New file.
4305 * sysdeps/ia64/fpu/w_log10.c: New file.
4306 * sysdeps/ia64/fpu/w_log10f.c: New file.
4307 * sysdeps/ia64/fpu/w_log10l.c: New file.
4308 * sysdeps/ia64/fpu/w_logf.c: New file.
4309 * sysdeps/ia64/fpu/w_logl.c: New file.
4310 * sysdeps/ia64/fpu/w_pow.c: New file.
4311 * sysdeps/ia64/fpu/w_powf.c: New file.
4312 * sysdeps/ia64/fpu/w_powl.c: New file.
4313 * sysdeps/ia64/fpu/w_remainder.c: New file.
4314 * sysdeps/ia64/fpu/w_remainderf.c: New file.
4315 * sysdeps/ia64/fpu/w_remainderl.c: New file.
4316 * sysdeps/ia64/fpu/w_scalb.c: New file.
4317 * sysdeps/ia64/fpu/w_scalbf.c: New file.
4318 * sysdeps/ia64/fpu/w_scalbl.c: New file.
4319 * sysdeps/ia64/fpu/w_sqrt.c: New file.
4320 * sysdeps/ia64/fpu/w_sqrtf.c: New file.
4321 * sysdeps/ia64/fpu/w_sqrtl.c: New file.
4322 * sysdeps/ia64/fpu/libm-test-ulps: Adjust for long double
4324 * sysdeps/ia64/fpu/bits/mathdef.h: Correct float_t and double_t types.
4325 Change FP_ILOGBNAN for new implementation.
4326 * Verions.def: Add 2.2.3 versions.
4328 2001-02-18 Ulrich Drepper <drepper@redhat.com>
4330 * math/libm-test.inc (scalb_test): Require invalid exception being
4331 raised for invalid parameters.
4332 * sysdeps/i386/fpu/e_scalb.S: Raise invalid exception if necessary.
4333 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
4334 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
4336 2001-02-18 Mark Kettenis <kettenis@gnu.org>
4338 * sysdeps/mach/getsysstats.c (__get_phys_pages): Change return
4340 (__get_avphys_pages): Likewise.
4342 2001-02-18 Ulrich Drepper <drepper@redhat.com>
4344 * math/libm-test.inc (pow_test): Correct expected results for x == +-1.
4345 * sysdeps/i386/fpu/e_pow.S: Handle x == +-1 correctly.
4346 * sysdeps/i386/fpu/e_powf.S: Likewise.
4347 * sysdeps/i386/fpu/e_powl.S: Likewise.
4349 * sysdeps/i386/fpu/bits/mathinline.h: Remove pow inline code.
4351 2001-02-17 Ulrich Drepper <drepper@redhat.com>
4353 * math/Makefile (libm-calls): It's e_exp2 not s_exp2.
4355 * sysdeps/generic/s_exp2l.c: Renamed to...
4356 * sysdeps/generic/e_exp2l.c: ...this. New file.
4357 * sysdeps/i386/fpu/s_exp2.S: Renamed to...
4358 * sysdeps/i386/fpu/e_exp2.S: ...this. New file.
4359 * sysdeps/i386/fpu/s_exp2f.S: Renamed to...
4360 * sysdeps/i386/fpu/e_exp2f.S: ...this. New file.
4361 * sysdeps/i386/fpu/s_exp2l.S: Renamed to...
4362 * sysdeps/i386/fpu/e_exp2l.S: ...this. New file.
4363 * sysdeps/ieee754/flt-32/s_exp2f.c: Renamed to...
4364 * sysdeps/ieee754/flt-32/e_exp2f.c: ...this. New file.
4365 * sysdeps/ieee754/dbl-64/s_exp2.c: Renamed to...
4366 * sysdeps/ieee754/dbl-64/e_exp2.c: ...this. New file.
4367 * sysdeps/m68k/fpu/s_exp2.c: Renamed to...
4368 * sysdeps/m68k/fpu/e_exp2.c: ...this. New file.
4369 * sysdeps/m68k/fpu/s_exp2f.c: Renamed to...
4370 * sysdeps/m68k/fpu/e_exp2f.c: ...this. New file.
4371 * sysdeps/m68k/fpu/s_exp2l.c: Renamed to...
4372 * sysdeps/m68k/fpu/e_exp2l.c: ...this. New file.
4374 2001-02-17 Andreas Jaeger <aj@suse.de>
4376 * configure.in: Allow gcc 3.
4378 2001-02-16 Ulrich Drepper <drepper@redhat.com>
4380 * math/w_acos.c: Move to ...
4381 * sysdeps/generic/w_acos.c: ...here. New file.
4382 * math/w_acosf.c: Move to ...
4383 * sysdeps/generic/w_acosf.c: ...here. New file.
4384 * math/w_acosh.c: Move to ...
4385 * sysdeps/generic/w_acosh.c: ...here. New file.
4386 * math/w_acoshf.c: Move to ...
4387 * sysdeps/generic/w_acoshf.c: ...here. New file.
4388 * math/w_acoshl.c: Move to ...
4389 * sysdeps/generic/w_acoshl.c: ...here. New file.
4390 * math/w_acosl.c: Move to ...
4391 * sysdeps/generic/w_acosl.c: ...here. New file.
4392 * math/w_asin.c: Move to ...
4393 * sysdeps/generic/w_asin.c: ...here. New file.
4394 * math/w_asinf.c: Move to ...
4395 * sysdeps/generic/w_asinf.c: ...here. New file.
4396 * math/w_asinl.c: Move to ...
4397 * sysdeps/generic/w_asinl.c: ...here. New file.
4398 * math/w_atan2.c: Move to ...
4399 * sysdeps/generic/w_atan2.c: ...here. New file.
4400 * math/w_atan2f.c: Move to ...
4401 * sysdeps/generic/w_atan2f.c: ...here. New file.
4402 * math/w_atan2l.c: Move to ...
4403 * sysdeps/generic/w_atan2l.c: ...here. New file.
4404 * math/w_atanh.c: Move to ...
4405 * sysdeps/generic/w_atanh.c: ...here. New file.
4406 * math/w_atanhf.c: Move to ...
4407 * sysdeps/generic/w_atanhf.c: ...here. New file.
4408 * math/w_atanhl.c: Move to ...
4409 * sysdeps/generic/w_atanhl.c: ...here. New file.
4410 * math/w_cosh.c: Move to ...
4411 * sysdeps/generic/w_cosh.c: ...here. New file.
4412 * math/w_coshf.c: Move to ...
4413 * sysdeps/generic/w_coshf.c: ...here. New file.
4414 * math/w_coshl.c: Move to ...
4415 * sysdeps/generic/w_coshl.c: ...here. New file.
4416 * math/w_drem.c: Move to ...
4417 * sysdeps/generic/w_drem.c: ...here. New file.
4418 * math/w_dremf.c: Move to ...
4419 * sysdeps/generic/w_dremf.c: ...here. New file.
4420 * math/w_dreml.c: Move to ...
4421 * sysdeps/generic/w_dreml.c: ...here. New file.
4422 * math/w_exp10.c: Move to ...
4423 * sysdeps/generic/w_exp10.c: ...here. New file.
4424 * math/w_exp10f.c: Move to ...
4425 * sysdeps/generic/w_exp10f.c: ...here. New file.
4426 * math/w_exp10l.c: Move to ...
4427 * sysdeps/generic/w_exp10l.c: ...here. New file.
4428 * math/w_exp2.c: Move to ...
4429 * sysdeps/generic/w_exp2.c: ...here. New file.
4430 * math/w_exp2f.c: Move to ...
4431 * sysdeps/generic/w_exp2f.c: ...here. New file.
4432 * math/w_exp2l.c: Move to ...
4433 * sysdeps/generic/w_exp2l.c: ...here. New file.
4434 * math/w_fmod.c: Move to ...
4435 * sysdeps/generic/w_fmod.c: ...here. New file.
4436 * math/w_fmodf.c: Move to ...
4437 * sysdeps/generic/w_fmodf.c: ...here. New file.
4438 * math/w_fmodl.c: Move to ...
4439 * sysdeps/generic/w_fmodl.c: ...here. New file.
4440 * math/w_hypot.c: Move to ...
4441 * sysdeps/generic/w_hypot.c: ...here. New file.
4442 * math/w_hypotf.c: Move to ...
4443 * sysdeps/generic/w_hypotf.c: ...here. New file.
4444 * math/w_hypotl.c: Move to ...
4445 * sysdeps/generic/w_hypotl.c: ...here. New file.
4446 * math/w_j0.c: Move to ...
4447 * sysdeps/generic/w_j0.c: ...here. New file.
4448 * math/w_j0f.c: Move to ...
4449 * sysdeps/generic/w_j0f.c: ...here. New file.
4450 * math/w_j0l.c: Move to ...
4451 * sysdeps/generic/w_j0l.c: ...here. New file.
4452 * math/w_j1.c: Move to ...
4453 * sysdeps/generic/w_j1.c: ...here. New file.
4454 * math/w_j1f.c: Move to ...
4455 * sysdeps/generic/w_j1f.c: ...here. New file.
4456 * math/w_j1l.c: Move to ...
4457 * sysdeps/generic/w_j1l.c: ...here. New file.
4458 * math/w_jn.c: Move to ...
4459 * sysdeps/generic/w_jn.c: ...here. New file.
4460 * math/w_jnf.c: Move to ...
4461 * sysdeps/generic/w_jnf.c: ...here. New file.
4462 * math/w_jnl.c: Move to ...
4463 * sysdeps/generic/w_jnl.c: ...here. New file.
4464 * math/w_lgamma.c: Move to ...
4465 * sysdeps/generic/w_lgamma.c: ...here. New file.
4466 * math/w_lgammaf.c: Move to ...
4467 * sysdeps/generic/w_lgammaf.c: ...here. New file.
4468 * math/w_lgammaf_r.c: Move to ...
4469 * sysdeps/generic/w_lgammaf_r.c: ...here. New file.
4470 * math/w_lgammal.c: Move to ...
4471 * sysdeps/generic/w_lgammal.c: ...here. New file.
4472 * math/w_lgammal_r.c: Move to ...
4473 * sysdeps/generic/w_lgammal_r.c: ...here. New file.
4474 * math/w_lgamma_r.c: Move to ...
4475 * sysdeps/generic/w_lgamma_r.c: ...here. New file.
4476 * math/w_log10.c: Move to ...
4477 * sysdeps/generic/w_log10.c: ...here. New file.
4478 * math/w_log10f.c: Move to ...
4479 * sysdeps/generic/w_log10f.c: ...here. New file.
4480 * math/w_log10l.c: Move to ...
4481 * sysdeps/generic/w_log10l.c: ...here. New file.
4482 * math/w_log.c: Move to ...
4483 * sysdeps/generic/w_log.c: ...here. New file.
4484 * math/w_logf.c: Move to ...
4485 * sysdeps/generic/w_logf.c: ...here. New file.
4486 * math/w_logl.c: Move to ...
4487 * sysdeps/generic/w_logl.c: ...here. New file.
4488 * math/w_pow.c: Move to ...
4489 * sysdeps/generic/w_pow.c: ...here. New file.
4490 * math/w_powf.c: Move to ...
4491 * sysdeps/generic/w_powf.c: ...here. New file.
4492 * math/w_powl.c: Move to ...
4493 * sysdeps/generic/w_powl.c: ...here. New file.
4494 * math/w_remainder.c: Move to ...
4495 * sysdeps/generic/w_remainder.c: ...here. New file.
4496 * math/w_remainderf.c: Move to ...
4497 * sysdeps/generic/w_remainderf.c: ...here. New file.
4498 * math/w_remainderl.c: Move to ...
4499 * sysdeps/generic/w_remainderl.c: ...here. New file.
4500 * math/w_scalb.c: Move to ...
4501 * sysdeps/generic/w_scalb.c: ...here. New file.
4502 * math/w_scalbf.c: Move to ...
4503 * sysdeps/generic/w_scalbf.c: ...here. New file.
4504 * math/w_scalbl.c: Move to ...
4505 * sysdeps/generic/w_scalbl.c: ...here. New file.
4506 * math/w_sinh.c: Move to ...
4507 * sysdeps/generic/w_sinh.c: ...here. New file.
4508 * math/w_sinhf.c: Move to ...
4509 * sysdeps/generic/w_sinhf.c: ...here. New file.
4510 * math/w_sinhl.c: Move to ...
4511 * sysdeps/generic/w_sinhl.c: ...here. New file.
4512 * math/w_sqrtl.c: Move to ...
4513 * sysdeps/generic/w_sqrtl.c: ...here. New file.
4514 * math/w_tgamma.c: Move to ...
4515 * sysdeps/generic/w_tgamma.c: ...here. New file.
4516 * math/w_tgammaf.c: Move to ...
4517 * sysdeps/generic/w_tgammaf.c: ...here. New file.
4518 * math/w_tgammal.c: Move to ...
4519 * sysdeps/generic/w_tgammal.c: ...here. New file.
4521 * locale/programs/ld-address.c (address_finish): Add 'S' to allow
4522 formats for postal_fmt.
4524 2001-02-16 Jakub Jelinek <jakub@redhat.com>
4526 * sysdeps/unix/sysv/linux/alpha/syscalls.list (ftruncate): Add
4527 __ftruncate64 alias.
4528 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (ftruncate):
4531 2001-02-15 David Mosberger <davidm@hpl.hp.com>
4533 * sysdeps/unix/sysv/linux/ia64/__longjmp.S (__longjmp): No need to
4534 do "loadrs". Writing to bspstore already takes care of
4535 invalidating the "clean" partition.
4537 2001-02-16 Andreas Schwab <schwab@suse.de>
4539 * sysdeps/m68k/fpu/s_nextafterl.c: New file.
4540 * sysdeps/m68k/fpu/s_fpclassifyl.c: New file.
4542 2001-02-15 Jakub Jelinek <jakub@redhat.com>
4544 * posix/regex.c (init_syntax_once): Add prototype.
4545 (TRANSLATE): If MBS_SUPPORT, translate all characters up to '\xff'.
4546 (re_search_2): Avoid warning.
4547 (count_mbs_length): Add prototype.
4548 * posix/tst-regex3.c: New file.
4549 * posix/Makefile (tests): Add bug-regex3.
4551 2001-02-15 Ulrich Drepper <drepper@redhat.com>
4553 * stdio-common/Makefile (tests): Add tst-gets.
4554 * stdio-common/tst-gets.c: New file.
4555 * stdio-common/tst-gets.input: New file.
4557 * elf/elf.h (DT_CHECKSUM): Define.
4559 * sysdeps/generic/strtoll.c: Don't export __strto*_internal as
4561 * sysdeps/generic/strtoull.c: Likewise.
4563 2001-02-14 Wolfram Gloger <wg@malloc.de>
4565 * malloc/malloc.c (new_heap): When allocating large chunk aligned
4566 to HEAP_MAX_SIZE, prefer one with lower address, to avoid `holes'
4569 2001-02-14 Ulrich Drepper <drepper@redhat.com>
4571 * math/libm-test.inc (j0_test): Check whether sincos is available.
4572 (j1_test): Likewise.
4573 (jn_test): Likewise.
4574 (y0_test): Likewise.
4575 (y1_test): Likewise.
4576 (yn_test): Likewise.
4578 * posix/tst-gnuglob.c: Make a few entries DT_UNKNOWN and teach
4579 fake filesystem routines to handle this.
4581 * time/sys/time.h: Make settimeofday and adjtime available if
4584 * time/sys/time.h: Make timer* macros available for BSD.
4586 * iconvdata/gb18030.c: Update for Dec 2000 re-release of GB18030.
4587 Patch by Yong Li <rigel863@yahoo.com>.
4589 * sysdeps/generic/glob.c (CONVERT_DIRENT_DIRENT64): Fix copying of
4592 * posix/Makefile (tests): Add tst-gnuglob.
4593 * posix/tst-gnuglob.c: New file.
4595 2001-02-13 H.J. Lu <hjl@gnu.org>
4597 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add __ftruncate64.
4599 2001-02-13 Ulrich Drepper <drepper@redhat.com>
4601 * locale/programs/ld-paper.c (paper_output): Pretty printing.
4603 * iconvdata/Makefile (modules): Add GBBIG5.
4604 (distribute): Add gbbig5.c.
4605 * iconvdata/gconv-modules: Add entries for GBBIG5 module.
4607 * iconvdata/gbbig5.c: New file.
4608 Contributed by Yong Li <rigel863@yahoo.com>.
4610 2001-02-13 Philip Blundell <pb@futuretv.com>
4612 * manual/crypt.texi: Remove outdated references to crypt add-on.
4614 * manual/creature.texi: Improve wording slightly.
4616 2001-02-13 Ulrich Drepper <drepper@redhat.com>
4618 * io/ftw.c: Always use readdir64.
4619 * io/ftw64.c: Likewise.
4620 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
4621 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
4622 * sysdeps/generic/glob.c: Likewise. Convert results of gl_readdir
4623 callback to dirent. Still allow compiling outside glibc.
4624 * sysdeps/gnu/glob64.c: Define COMPILE_GLOB64.
4625 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
4627 * malloc/mtrace.c: Use fopen64.
4628 * posix/spawni.c: Use __open64.
4629 * sysdeps/unix/opendir.c: Likewise.
4630 * sysdeps/unix/sysv/linux/gethostid.c: Likewise.
4632 * sysdeps/generic/ftruncate64.c: Define __ftruncate64 and make old
4634 * sysdeps/unix/sysv/aix/ftruncate64.c: Likewise.
4635 * sysdeps/unix/sysv/linux/ftruncate64.c: Likewise.
4636 * sysdeps/unix/sysv/linux/mips/ftruncate64.c: Likewise.
4637 * sysdeps/unix/sysv/linux/powerpc/ftruncate64.c: Likewise.
4639 * resolv/res_data.c: Add cast to avoid warning.
4641 * include/unistd.h: Declare __ftruncate64.
4643 * sysdeps/generic/utmp_file.c: Use LFS functions and types.
4645 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use __lseek64
4648 2001-02-13 Andreas Jaeger <aj@suse.de>
4650 * login/getutent_r.c: Include <stdlib.h> for NULL.
4651 * login/getutid_r.c: Likewise.
4653 2001-02-12 Ulrich Drepper <drepper@redhat.com>
4655 * sysdeps/dbl-64/e_j0.c: Little optimization, use sincos.
4656 * sysdeps/dbl-64/e_j1.c: Likewise.
4657 * sysdeps/dbl-64/e_jn.c: Likewise.
4658 * sysdeps/flt-32/e_j0f.c: Likewise.
4659 * sysdeps/flt-32/e_j1f.c: Likewise.
4660 * sysdeps/ldbl-96/e_j0l.c: Likewise.
4662 2000-12-02 H.J. Lu <hjl@gnu.org>
4664 * resolv/res_libc.c (res_init): Don't make it default.
4666 2001-02-12 Ulrich Drepper <drepper@redhat.com>
4668 * manual/debug.texi: Improved the wording.
4669 Patch by Philip Blundell <pb@futuretv.com>.
4671 2001-02-12 Andreas Jaeger <aj@suse.de>
4673 * posix/Makefile (tests): Don't run bug-regex2 when
4676 * libio/Makefile (tests): Don't run test-freopen when
4679 * manual/stdio.texi (Streams and I18N): Fix typos.
4681 2001-02-12 Ulrich Drepper <drepper@redhat.com>
4683 * sysdeps/i386/fpu/libm-test-ulps: Adjust for errors in y0l.
4685 * math/libm-test.inc (j0_test): Make expected results long double
4687 (y0_test): Likewise.
4689 * sysdeps/ieee754/ldbl-96/e_j0l.c: New file.
4690 Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>.
4692 2001-02-11 Jakub Jelinek <jakub@redhat.com>
4694 * sysdeps/generic/strtoll.c (__strtoq_internal): Ressurect alias
4695 which was exported from libc.
4696 * sysdeps/generic/strtoull.c (__strtouq_internal): Likewise.
4698 2001-02-12 Andreas Jaeger <aj@suse.de>
4700 * manual/arith.texi (Parsing of Integers): Fix some wordings.
4702 2001-02-11 Ulrich Drepper <drepper@redhat.com>
4704 * sysdeps/generic/getsysstat.c: Change return value of get_phys_pages
4705 and get_avphys_page to long int.
4706 * sysdeps/unix/sysv/linux/getsysstat.c: Likewise.
4707 * include/sys/sysinfo.h: Likewise.
4708 * sysdeps/generic/sys/sysinfo.h: Likewise.
4709 * sysdeps/unix/sysv/linux/sys/sysinfo.h: Likewise.
4711 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Fail if we
4712 cannot return as many values as the user asked for.
4714 2001-02-11 Andreas Jaeger <aj@suse.de>
4716 * manual/resource.texi (Memory Resources): Fix typo.
4718 * libio/Makefile ($(objpfx)test-freopen.out): Pass
4721 * libio/test-freopen.sh: Use run_program_prefix.
4723 2001-02-10 Andreas Jaeger <aj@suse.de>
4725 * stdlib/Makefile (tests): Don't run tst-fmtmsg when
4727 ($(objpfx)tst-fmtmsg.out): Pass run-program-prefix.
4729 * stdlib/tst-fmtmsg.sh (test): Use run_program_prefix for static
4732 * elf/Makefile (tests): Only run tst-pathopt with shared libs.
4734 * posix/Makefile: Fix typo, it's build-static-nss.
4736 * iconv/Makefile (extra-objs): New.
4738 2001-02-10 Mark Kettenis <kettenis@gnu.org>
4740 * sysdeps/unix/stime.c: Include <time.h>.
4742 * sysdeps/mach/hurd/setitimer.c: Include <time.h>.
4744 2001-02-10 Andreas Jaeger <aj@suse.de>
4746 * manual/string.texi (Search Functions): Fix typo.
4748 2001-02-10 Mark Kettenis <kettenis@gnu.org>
4750 * sysdeps/unix/bsd/times.c: Reorder includes and add <time.h>.
4751 (timeval_to_clock_t): Add clk_tck argument and use that instead of
4753 (__times): Use __getclktck to get the number of clock ticks per
4754 second and use its return value instead of CLK_TCK.
4756 2001-02-10 Mark Kettenis <kettenis@gnu.org>
4758 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h (_HAVE_SA_LEN): Define.
4760 2001-02-10 Mark Kettenis <kettenis@gnu.org>
4762 * sysdeps/mach/gettimeofday.c: Include <stddef.h>.
4764 2001-02-10 Andreas Jaeger <aj@suse.de>
4766 * wctype/wcfuncs.c (func): Add prototype declarations to avoid
4769 2001-02-09 Ulrich Drepper <drepper@redhat.com>
4771 * posix/Makefile: Add rules to build and run bug-regex2.
4772 * posix/bug-regex2.c: New file.
4774 2001-02-10 Jakub Jelinek <jakub@redhat.com>
4776 * posix/regex.c (convert_mbs_to_wcs): Change is_binary to char *.
4777 (regex_compile): Likewise.
4778 (FREE_VARIABLES): Don't free is_binary1 and is_binary2.
4779 (re_match_2_internal): Use just is_binary instead of two variables.
4780 Use REGEX_TALLOC to allocate it and FREE_VAR to free on failure.
4782 2001-02-09 Ulrich Drepper <drepper@redhat.com>
4784 * version.h (VERSION): Bump to 2.2.2.
4786 * iconv/Makefile (distribute): Add iconv_charmap.c and
4788 * elf/Makefile (distribute): Add firstobj.c.
4789 * Makefile (distribute): Add include/pthread.h.
4791 * configure.in: Require makeinfo version 4.
4793 * libio/tst_wscanf.c (main): Add cast to avoid warning.
4794 * libio/tst_swscanf.c (main): Likewise..
4796 2001-02-09 Jakub Jelinek <jakub@redhat.com>
4798 * sysdeps/generic/setenv.c (unsetenv): Remove const from len.
4799 * sysdeps/sparc/fpu/bits/mathinline.h (sqrt, fdim): Don't define if
4801 * sysdeps/i386/dl-machine.h (elf_machine_rel): Only declare refsym
4802 if not RTLD_BOOTSTRAP.
4803 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
4804 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
4806 2001-02-09 Ulrich Drepper <drepper@redhat.com>
4808 * locale/programs/linereader.c (get_ident): Stop loop if EOF. Use
4809 lr_ungetc to push back last read character.
4810 * locale/programs/linereader.h (lr_ungetc): Don't push back is
4812 (lr_ignore_rest): Don't warn about garbage if it is really the end
4815 * manual/Makefile: Use ifnottext and not ifinfo to protect Top node
4818 2001-02-08 Ulrich Drepper <drepper@redhat.com>
4820 * Makerules (build-shlib): Work around different order of
4821 processing of -B option in different gcc versions.
4823 * posix/regex.c: Fix alignment problem.
4824 Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
4826 * sysdeps/alpha/strrchr.S: Little optimization.
4827 Patch by Richard Henderson <rth@redhat.com>.
4829 * sysdeps/alpha/alphaev67/strrchr.S: New file.
4830 Contributed by Rick Gorton <rick.gorton@alpha-processor.com>.
4832 2001-02-08 kaz Kojima <kkojima@rr.iij4u.or.jp>
4834 * sysdeps/sh/sh3/setjmp.S (__sigsetjmp): Correct function name
4835 in the assembler end directive.
4837 2001-02-08 Andreas Jaeger <aj@suse.de>
4839 * manual/stdio.texi (Closing Streams): Fix typos.
4841 2001-02-07 Ulrich Drepper <drepper@redhat.com>
4843 * sysdeps/alpha/alphaev67/strncat.S: Align last write address.
4844 Patch by Richard Henderson <rth@redhat.com>.
4845 Reported by Claus-Justus Heine <heine@instmath.rwth-aachen.de>.
4847 * stdlib/strfmon.c [USE_IN_LIBIO]: Define lock variable and store
4848 pointer in FILE structure before calling _IO_init.
4849 * stdlib/Makefile: Add -D_IO_MTSAFE_IO to CFLAGS for strfmon and
4850 strfmon_l if necessary.
4851 Reported by Jury Gerold <gjury@grips.com>.
4853 * sysdeps/gnu/netinet/tcp.h: Correct values of TCP_ macros.
4854 Patch by Pekka.Pietikainen@cern.ch.
4856 * posix/regex.c: Correct several problems with 64-bit architectures
4857 introduced in the MBS changes.
4858 Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
4860 2001-02-07 Jakub Jelinek <jakub@redhat.com>
4862 * math/tgmath.h: Only add l suffixes if __NO_LONG_DOUBLE_MATH is
4864 * sysdeps/alpha/fpu/bits/mathinline.h: Honour __NO_MATH_INLINES.
4866 2001-02-07 Andreas Jaeger <aj@suse.de>
4868 * manual/install.texi (Tools for Compilation): Fix typo.
4869 Reported by Pavel Machek <pavel@bug.ucw.cz>.
4871 2001-02-07 Ulrich Drepper <drepper@redhat.com>
4873 * stdlib/strtod.c: Never stop prematurely reading digits before the
4874 decimal point is found. Compute exponent limit for negative exponents
4875 correctly. For numbers ending in all zeros eat the zeros even before
4876 the decimal point if the exponent is negative [PR libc/2072].
4877 * stdlib/Makefile (tests): Add bug-strtod.
4878 * stdlib/bug-strtod.c: New file.
4880 2001-02-07 Andreas Jaeger <aj@suse.de>
4882 * posix/bug-regex1.c: Include <wchar.h> for fwide.
4884 2001-02-06 Ulrich Drepper <drepper@redhat.com>
4886 * posix/regex.c (regex_compile): Don't store pointer in wchar_t array.
4888 (compile_range): Handle index being passed, not pointer.
4889 Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
4891 * posix/regex.c: Fix a cast in the code for bracket handling which
4892 caused 8-bit uncleanliness.
4893 Patch by Michal Jaegermann <michal@ellpspace.math.ualberta.ca>.
4895 * posix/Makefile (tests): Add bug-regex1.
4896 * posix/bug-regex1.c: New file.
4897 Contributed by Jim Meyering <jim@meyering.net>.
4899 * posix/regex.c: Many cleanups for incorrect format strings.
4901 2001-02-06 Andreas Jaeger <aj@suse.de>
4903 * time/time.h (CLK_TCK): Check for !__STRICT_ANSI.
4905 2001-02-06 Ulrich Drepper <drepper@redhat.com>
4907 * locale/programs/locale.c (write_locales): Use scandir to read
4908 directory so that the entries are sorted.
4910 2001-02-06 Andreas Jaeger <aj@suse.de>
4912 * include/pthread.h: New file.
4914 * wctype/wctype.h: Move internal interfaces from here to...
4915 * include/wctype.h: ...here.
4917 * wcsmbs/wchar.h: Move __wcslen from here to...
4918 * include/wchar.h: ...here.
4920 * posix/sys/wait.h: Move __wait from here to...
4921 * include/sys/wait.h: ...here.
4923 * string/string.h: Move __ffs and __strerror_r from here to...
4924 * include/string.h: ...here.
4926 * stdlib/stdlib.h: Move __on_exit from here to...
4927 * include/stdlib.h: ...here.
4929 * libio/stdio.h: Move __vsnprintf from here to...
4930 * include/stdio.h: ...here.
4932 2001-02-06 Andreas Schwab <schwab@suse.de>
4934 * sysdeps/unix/sysv/linux/ia64/ioperm.c: Don't include kernel
4937 * timezone/Makefile: Don't assume that $(inst_zonedir) is a subdir
4940 2001-02-06 Ulrich Drepper <drepper@redhat.com>
4942 * iconvdata/Makefile: Add dependency for bug-iconv2.out.
4944 2001-02-06 Andreas Jaeger <aj@suse.de>
4946 * elf/firstobj.c: Add prototype.
4948 * posix/regex.c (convert_mbs_to_wcs): Make static, add prototype
4949 (truncate_wchar): Likewise.
4951 2001-02-06 Ulrich Drepper <drepper@redhat.com>
4953 * locale/programs/locale.c: Implement --verbose option for -a
4954 which prints detailed information about the locales.
4956 2001-02-05 Ulrich Drepper <drepper@redhat.com>
4958 * sunrpc/xdr_rec.c (set_input_fragment): Change type of header
4959 variable to uint32_t.
4960 Reported by Ulrich Weigand <weigand@immd1.informatik.uni-erlangen.de>.
4962 2001-02-04 Bruno Haible <haible@clisp.cons.org>
4964 * locale/C-translit.h.in: Add transliterations for CJK units of
4967 2001-02-05 Ulrich Drepper <drepper@redhat.com>
4969 * elf/cache.c (print_entry): Use PRIx64 instead of Lx in printf
4970 string. Include <inttypes.h> instead of <stdint.h>.
4972 * localedata/Makefile (tests): Add bug-iconv-trans.
4973 Define bug-iconv-trans-ENV.
4974 * localedata/bug-iconv-trans.c: New file.
4976 2001-02-04 Bruno Haible <haible@clisp.cons.org>
4978 * iconv/gconv_trans.c (__gconv_transliterate): Use a temporary output
4979 pointer, to avoid accumulating output from incomplete (unsuccessful)
4980 transliteration attempts.
4982 2001-02-05 Ulrich Drepper <drepper@redhat.com>
4984 * elf/ldconfig.c (search_dir): Use PRIx64 instead of Lx in printf
4985 string. Include <inttypes.h> instead of <stdint.h>.
4987 * configure.in: Add check for bison.
4988 * config.make.in: Define BISON variable.
4989 * intl/Makefile: Use BISON instead of YACC when generating plural.c.
4990 Rename YFLAGS to BISONFLAGS.
4992 2001-02-05 Andreas Jaeger <aj@suse.de>
4994 * io/test-lfs.c (do_test): Test lseek64 return value, call
4996 (test_ftello): New function to test ftello64 and fseeko64.
4998 * signal/signal.h: Move __sigaction from here to...
4999 * include/signal.h: ...here.
5001 * io/fcntl.h: Move __fcntl and __open to...
5002 * include/fcntl.h: ...here.
5004 2001-02-04 Philip Blundell <philb@gnu.org>
5006 * configure.in: Distinguish ARM from Thumb.
5008 2001-02-04 Philip Blundell <philb@gnu.org>
5010 * sysdeps/arm/dl-machine.h (elf_machine_rel): Correct handling of
5011 PC24 relocs with negative value.
5013 2001-02-04 Ulrich Drepper <drepper@redhat.com>
5015 * iconv/Makefile (iconv_prog-modules): Define. Add vpath to find
5016 files in locale/programs. Add CFLAGS definition to allow compiling
5018 * iconv/dummy-repertoire.c: New file.
5019 * iconv/iconv_charmap.c: New file.
5020 * iconv/iconv_prog.h: New file.
5021 * iconv/iconv_prog.c: Make verbose and omit_invalid global.
5022 (main): If parameter for -f and -t contain slashes try first to resolve
5023 the strings as filenames of charmap files. Use them for conversion
5025 * iconvdata/run-iconv-test.sh: If charmaps exist also run tests with
5026 iconv getting charmap names as parameters.
5027 * locale/programs/linereader.c (lr_token): Take extra parameters
5028 verbose and pass it to get_string.
5029 (get_string): Take extra parameters verbose.
5030 * locale/programs/charmap.c (parse_charmap): Take extra parameters
5031 verbose and be_quiet. Change all callers of lr_token and
5033 * locale/programs/charmap.h: Likewise.
5034 * locale/programs/ld-address.c: Likewise.
5035 * locale/programs/ld-collate.c: Likewise.
5036 * locale/programs/ld-ctype.c: Likewise.
5037 * locale/programs/ld-identification.c: Likewise.
5038 * locale/programs/ld-measurement.c: Likewise.
5039 * locale/programs/ld-messages.c: Likewise.
5040 * locale/programs/ld-monetary.c: Likewise.
5041 * locale/programs/ld-name.c: Likewise.
5042 * locale/programs/ld-numeric.c: Likewise.
5043 * locale/programs/ld-paper.c: Likewise.
5044 * locale/programs/ld-telephone.c: Likewise.
5045 * locale/programs/ld-time.c: Likewise.
5046 * locale/programs/linereader.c: Likewise.
5047 * locale/programs/linereader.h: Likewise.
5048 * locale/programs/localedef.c: Likewise.
5049 * locale/programs/locfile.c: Likewise.
5050 * locale/programs/locfile.h: Likewise.
5051 * locale/programs/repertoire.c: Likewise.
5053 2001-02-03 Ulrich Drepper <drepper@redhat.com>
5055 * iconv/iconv_prog.c (main): If output file name is "-" write to
5057 (main): If -f or -t argument is missing use charset of the current
5060 2001-02-03 Andreas Jaeger <aj@suse.de>
5062 * sysdeps/i386/elf/start.S (_start): Align stack to 16-byte
5063 boundary for SSE/SSE-2 alignment.
5065 * posix/Makefile ($(objpfx)annexc.out): Also pass sysincludes to
5068 2001-02-03 Ulrich Drepper <drepper@redhat.com>
5070 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: File was using crlf.
5071 Remove comma at end of enum.
5073 * elf/dl-init.c: Add a few __builtin_expect.
5075 * hesiod/hesiod.c: Remove unnecessary code. Remove all uses of strcat.
5077 2001-02-02 Ulrich Drepper <drepper@redhat.com>
5079 * hesiod/hesiod.c (hesiod_resolve): Also search HS records if
5080 errno is ECONNREFUSED.
5082 * posix/Makefile: Define MBS_SUPPORT for regex.c.
5083 * posix/regex.c: Implement multibyte character handling.
5084 Patch by Isamu Hasegawa <isamu@yamato.ibm.co.jp>.
5086 * string/tst-svc.input: Add two more test cases.
5087 * string/tst-svc.expect: Modify to reflect new test cases.
5089 2001-02-01 Jakub Jelinek <jakub@redhat.com>
5091 * sysdeps/posix/getaddrinfo.c (gaih_local, gaih_inet): Replace all
5092 tp->name tests with tp->name[0] tests.
5094 2001-01-29 Ben Collins <bcollins@debian.org>
5096 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r):
5097 Fix check for name == NULL.
5099 2001-02-01 Ulrich Drepper <drepper@redhat.com>
5101 * elf/Makefile: Add rules to build and run initfirst test.
5102 * elf/initfirst.c: New file.
5103 * elf/firstobj.c: New file.
5105 * Makerules (build-shlib): Add $(extra-B-$(@F:lib%.so=%).so).
5106 * configure.in: Test for -z initfirst linker option.
5107 * config.make.in: Add have-z-initfirst.
5108 * elf/dl-init.c (_dl_init): Split out actual initialization code in
5109 new function call_init. If _dl_initfirst is non-NULL initialize first.
5110 * elf/dl-load.c (_dl_map_from_fd): If DF_1_INITFIRST flag is set
5111 remember object in _dl_initfirst.
5112 * elf/soinit.c: Remove special support for calling
5113 __pthread_initialize_minimal.
5115 * conform/conformtest.pl: Add missing $prepend in type test.
5117 2001-01-31 Ulrich Drepper <drepper@redhat.com>
5119 * elf/elf.h (SHT_CHECKSUM): New definition.
5121 * posix/fnmatch_loop.c: Remove incorrect reverse condition in
5122 [. .] matching. Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
5123 * posix/tst-fnmatch.input: Add tests for [. .] in locales.
5125 2001-01-31 Mark Kettenis <kettenis@gnu.org>
5127 * misc/sys/select.h: Include <bits/time.h> instead of <sys/time.h>
5128 to get definition of `struct timeval'.
5130 2001-01-31 Ulrich Drepper <drepper@redhat.com>
5132 * posix/tst-fnmatch.input: Add test cases for de_DE.UTF-8 locale.
5133 * posix/fnmatch_loop.c: Fix handling of [= =] for multibyte charsets.
5135 2001-01-30 Ulrich Drepper <drepper@redhat.com>
5137 * iconv/gconv_open.c (__gconv_open): Set conv_flags if IGNORE is
5140 * nis/nis_findserv.c: Include <time.h>.
5142 2001-01-30 Yong Li <yong.li@asu.edu>
5144 * iconv/iconv_prog.c (main): Correct error handling method name.
5146 2001-01-29 Ben Collins <bcollins@debian.org>
5148 * sysdeps/sparc/fpu/fraiseexcpt.c: Include <float.h>.
5149 * sysdeps/hppa/fpu/fraiseexcpt.c: Likewise.
5150 * sysdeps/m68k/fpu/fraiseexcpt.c: Likewise.
5151 * sysdeps/s390/fpu/fraiseexcpt.c: Likewise.
5153 2001-01-30 Ulrich Drepper <drepper@redhat.com>
5155 * locale/programs/ld-measurement.c (measurement_finish): Fix a typo.
5156 Patch by Marko Myllynen <myllynen@lut.fi>.
5158 * string/bits/string2.h (__strpbrk_c2): Correct parameter types
5159 (int instead of char).
5160 (__strpbrk_c3): Likewise.
5161 Reported by GOTO Masanori <gotom@debian.or.jp>.
5163 * sysdeps/generic/bits/sockaddr.h: Remove SA_LEN macro.
5164 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Likewise.
5165 * include/sys/socket.h: Add SA_LEN here for internal use.
5166 Reported by Arkadiusz Miskiewicz <misiek@pld.ORG.PL>.
5168 2001-01-29 Ulrich Drepper <drepper@redhat.com>
5170 * malloc/Makefile: Don't build memusagestat if cross-compiling.
5172 * sysdeps/generic/dl-sysdep.c (set_seen): Fix typo.
5174 * math/libm-test.inc (rint_test): Add a few more tests for round
5177 2001-01-28 Ulrich Drepper <drepper@redhat.com>
5179 * conform/data/pthread.h-data: Correct return type of pthread_exit.
5181 * conform/conformtest.pl: Add -fno-builtin to CFLAGS.
5183 * conform/data/stdlib.h-data: Add _Exit.
5185 * inet/arpa/inet.h: Don't include <sys/types.h>. Define socklen_t
5186 if not already happened.
5187 * inet/netinet/in.h: Don't include <sys/types.h>, use <bits/types.h>.
5188 Don't include <limits.h> and <bits/sockaddr.h>.
5190 * conform/data/netinet/in.h-data: Allow all of <inttypes.h>.
5192 * conform/data/spawn.h-data: Allow all of <sched.h>.
5194 * sysdeps/ia64/fpu/fraiseexcpt.c: Include <float.h>. Removed
5197 * sunrpc/xdr_rec.c (xdrrec_getpos): Add cast to long to avoid warning.
5198 * sunrpc/xdr_sizeof.c (x_inline): Likewise.
5200 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Include <float.h>.
5202 * conform/conformtest.pl: Define $mustprepend{"stdio.h"}.
5203 * libio/stdio.h: Define va_list correctly.
5205 * conform/data/pthread.h-data: Make priority protocol related
5206 functions optional. Fix typos.
5208 * posix/sched.h: Define sched_priority as __sched_priority.
5209 * sysdeps/generic/bits/sched.h (struct sched_param): Rename element
5210 to __sched_priority.
5211 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
5213 2001-01-27 Ulrich Drepper <drepper@redhat.com>
5215 * sysdeps/generic/clock_getcpuclockid.c: Include <time.h> instead
5218 * sysdeps/unix/stime.c: Include <stddef.h> for NULL.
5219 * sysdeps/unix/time.c: Likewise.
5221 * conform/data/time.h-data: CLK_TCK is not in XPG6. Fix tzname entry.
5222 * sysdeps/mach/hurd/bits/time.h: Don't define CLK_TCK for XPG6.
5223 * sysdeps/mach/hurd/i386/bits/time.h: Likewise.
5224 * sysdeps/unix/sysv/linux/bits/time.h: Likewise.
5225 * sysdeps/unix/sysv/linux/alpha/bits/time.h: Likewise.
5226 * sysdeps/unix/sysv/linux/i386/bits/time.h: Likewise.
5227 * sysdeps/unix/sysv/linux/ia64/bits/time.h: Likewise.
5228 * time/time.h: Likewise.
5230 * conform/conformtest.pl (@headers): Add complex.h and tgmath.h.
5231 * conform/data/complex.h-data: New file.
5232 * conform/data/tgmath.h-data: New file.
5234 * conform/data/wchar.h-data: Add missing functions.
5236 * sysdeps/gnu/bits/utmpx.h: Define RUN_LVL only if __USE_GNU.
5238 * conform/data/termios.h-data: Add missing const in tcsetattr()
5241 * posix/sys/wait.h: Include <signal.h> and <sys/resource.h>.
5242 Don't define pid_t here.
5244 * conform/data/sys/utsname.h-data: Don't provide fixed array sizes.
5246 * conform/data/sys/time.h-data: Allow sys/select.h.
5247 * conform/data/sys/un.h-data: Fix typo.
5248 * time/sys/time.h: Don't include all of <time.h>, just struct timeval.
5249 * sysdeps/posix/clock_getres.c: Include <time.h> instead of
5251 * sysdeps/unix/clock_nanosleep.c: Likewise.
5252 * sysdeps/unix/i386/clock_getcpuclockid.c: Likewise.
5253 * sysdeps/unix/i386/i586/clock_getres.c: Likewise.
5254 * sysdeps/unix/clock_gettime.c: Also include <time.h>.
5255 * sysdeps/unix/clock_settime.c: Likewise.
5257 * sysdeps/generic/pselect.c: Include <stddef.h> for NULL.
5258 * login/getutent.c: Likewise.
5259 * login/getutid.c: Likewise.
5260 * login/getutline.c: Likewise.
5262 * socket/sys/un.h: Define SUN_LEN only if __USE_MISC.
5264 * sysdeps/unix/sysv/linux/bits/statvfs.h: Change type of f_fsid field
5265 to unsigned long. Add __f_unused. Define _STATVFSBUF_F_UNUSED.
5266 * sysdeps/unix/sysv/linux/internal_statvfs.c: Adjust initialization of
5267 f_fsid field after change in struct statvfs.
5268 * sysdeps/unix/sysv/linux/alpha/bits/statvfs.h: New file.
5269 * sysdeps/unix/sysv/linux/ia64/bits/statvfs.h: New file.
5270 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/statvfs.h: New file.
5272 * conform/data/sys/stat.h-data: Remove isfdtype. Use
5275 * conform/data/sys/socket.h-data: Fix typos. Correct getsockopt,
5276 recvfrom, send, and socketpair prototypes. Add allow lines.
5277 * socket/sys/socket.h: Include <sys/uio.h>.
5278 Don't use fancy __SOCKADDR_ARG definition unless __USE_GNU.
5279 Fix type of second parameter of listen.
5280 Don't declare isfdtype unless __USE_MISC.
5281 * sysdeps/generic/listen.c: Fix type of second parameter of listen.
5282 * sysdeps/mach/hurd/listen.c: Likewise.
5283 * sysdeps/generic/bits/socket.h (struct sockaddr_storage): Define
5284 ss_family and __ss_family.
5285 * sysdeps/unix/sysv/aix/bits/socket.h: Likewise.
5286 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
5287 (struct msghdr): Change type of msg_iovlen to int and type of
5288 msg_controllen to socklen_t.
5289 * sysdeps/unix/sysv/linux/alpha/bits/socket.h: New file.
5290 * sysdeps/unix/sysv/linux/ia64/bits/socket.h: New file.
5291 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/socket.h: New file.
5292 * inet/rcmd.c (rcmd_af): __ss_family is now ss_family.
5293 (rresvport_af): Likewise.
5295 * conform/data/sys/shm.h-data: SHMLBA is not required to by a constant.
5296 * conform/conformtest.pl: Implement handling of symbol.
5298 * signal/signal.h: Fix handling of __need_* symbols.
5299 * misc/sys/select.c: Define fd_set here. Remove __fd_set. Define
5300 fd_mask only if __USE_MISC. Declare pselect for __USE_XOPEN2K.
5301 * include/sys/select.h: Use fd_set not __fd_set.
5302 * sysdeps/generic/bits/select.h: Likewise.
5303 * sysdeps/i386/bits/select.h: Likewise.
5304 * sysdeps/generic/bits/types.h: Don't define __fd_mask, __NFDBITS,
5305 __FDELT, __FDMASK, and __fd_set here.
5306 * sysdeps/unix/sysv/aix/bits/types.h: Likewise.
5307 * sysdeps/unix/sysv/hpux/bits/types.h: Likewise.
5308 * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
5309 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
5310 * sysdeps/unix/sysv/linux/ia64/bits/types.h: Likewise.
5311 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
5312 * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
5313 * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
5314 * time/sys/time.h: Define struct timeval before including <time.h>
5317 * conform/data/sys/time.h-data: fd_set is a typedef.
5318 * conform/data/sys/select.h-data: New file.
5319 * conform/data/sys/mman.h-data: Make typed mem stuff optional.
5320 * conform/conformtest.pl (@headers): Add sys/select.h.
5321 (type, optional-type): Unless testing a typedef instantiate object.
5322 Implement optional-function.
5324 * math/test-misc.c: Include <float.h>.
5326 2001-01-27 Andreas Jaeger <aj@suse.de>
5328 * misc/efgcvt_r.c: Include <float.h>.
5330 2001-01-26 Ulrich Drepper <drepper@redhat.com>
5332 * conform/data/stdlib.h-data: Account for XPG6 changes.
5333 * stdlib/stdlib.h (__random): Change return value type to long.
5334 (posix_memalign): Cleanup parameter names.
5335 (setenv, unsetenv): Make available for __USE_XOPEN2K.
5336 Change return type of unsetenv to int.
5337 (qecvt, qgcvt, qfcvt): Declare only if __USE_MISC.
5338 * include/stdlib.h: Change return type of unsetenv to int.
5339 Change return type of random to long int.
5340 * sysdeps/generic/setenv.c (unsetenv): Change return type to int.
5341 Return -1 and set errno if parameter is invalid.
5342 * stdlib/random.c (__random): Change return value type to long.
5344 * conform/data/stdio.h-data: Account for changes in XPG6.
5346 * conform/data/spawn.h-data: Correct posix_spawnattr_setflags
5349 * conform/conformtest.pl: Define $mustprepend{"signal.h"}.
5350 * conform/data/signal.h-data: Fix sigev_notify_function entry.
5351 Fix typo (SIGVALRM -> SIGVTALRM).
5352 * sysdeps/unix/sysv/linux/bits/siginfo.h: Define sigev_notify_attr
5354 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Likewise.
5355 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
5356 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Likewise.
5357 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
5358 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/siginfo.h: Likewise.
5360 * conform/conformtest.pl: Implement optional-element. Define
5361 $mustprepend{"sched.h"}.
5362 * conform/data/sched.h-data: Make sporadic scheduler definitions
5365 * pwd/pwd.h: Don't define getpwent_r for XPG.
5367 * io/sys/poll.h: Define nfds_t and use it in poll prototype.
5368 * sysdeps/generic/poll.c: Use nfds_t type in function definition.
5369 * sysdeps/mach/hurd/poll.c: Likewise.
5370 * sysdeps/unix/bsd/poll.c: Likewise.
5371 * sysdeps/unix/sysv/linux/poll.c: Likewise.
5372 * sysdeps/unix/sysv/aix/poll.c: Likewise.
5373 * sysdeps/generic/bits/poll.h: Define NPOLLFILE only if __USE_MISC.
5374 * sysdeps/unix/sysv/linux/bits/poll.h: Likewise.
5375 * sysdeps/unix/sysv/linux/m68k/bits/poll.h: Likewise.
5376 * sysdeps/unix/sysv/linux/mips/bits/poll.h: Likewise.
5377 * sysdeps/unix/sysv/linux/sparc/bits/poll.h: Likewise.
5378 * conform/data/poll.h-data: Fix typo in poll prototype.
5380 * sysdeps/gnu/netinet/tcp.h: Define everything but TCP_ macros
5382 * conform/data/netinet/tcp.h-data: Reserved prefix TCP_.
5384 * sysdeps/gnu/net/if.h: Cleanup namespace. Define IF_NAMESIZE.
5386 * inet/netinet/in.h: Make IPPROTO_ constants also macros.
5388 * conform/conformtest.pl: Implement optional-type.
5390 * resolv/netdb.h: Include <netinet/in.h> not <sys/socket.h>. Include
5391 <rpc/netdb.h> only if __USE_MISC. Include <stdint.h> instead of
5392 defining uint32_t here. Define IPPORT_RESERVED.
5393 (struct hostent): Type of h_length element is int.
5394 (getnameinfo): Type of flags parameter is unsigned int.
5395 * inet/getnameinfo.c (getnameinfo): flags argument is unsigned.
5396 * conform/data/netdb.h-data: Add many missing definitions.
5398 * conform/conformtest.pl: Implement optional-macro.
5399 * conform/data/math.h-data: Update for XPG6.
5401 * math/math.h (HUGE): Define as FLT_MAX value but don't use
5402 FLT_MAX. Don't include <float.h>.
5403 (MAXFLOAT): Likewise.
5405 * math/math.h: Define MATH_ERRNO and MATH_ERREXCEPT.
5407 * include/bits/xopen_lim.h: Don't define FOPEN_MAX here.
5409 * conform/data/limits.h-data: Mark constants as optional wherever
5412 * posix/bits/posix2_lim.h: Set correct values for
5413 _POSIX2_COLL_WEIGHTS_MAX and _POSIX2_CHARCLASS_NAME_MAX. Remove
5416 * posix/bits/posix1_lim.h: Define _POSIX_TZNAME_MAX as 6.
5419 * intl/loadmsgcat.c: Include <locale.h.> for _LIBC.
5421 * conform/data/netinet/in.h-data: Add reserved prefixes.
5423 * conform/data/arpa/inet.h-data: Fix a few typos.
5425 2001-01-26 Andreas Jaeger <aj@suse.de>
5427 * sysdeps/generic/strtol.c: Include <locale.h>
5428 * stdlib/strtod.c: Likewise
5429 * stdlib/strfmon.c: Likewise.
5430 * string/strcoll.c: Likewise.
5431 * string/strxfrm.c: Likewise.
5432 * wctype/wcfuncs_l.c: Likewise.
5433 * wctype/wctype_l.c: Likewise.
5434 * wctype/wctrans_l.c: Likewise.
5436 * include/bits/locale.h: New file.
5438 2001-01-26 Ulrich Drepper <drepper@redhat.com>
5440 * locale/langinfo.h: Correct logic in #ifs when defining YESSTR
5443 * locale/Makefile (headers): Add bits/locale.h.
5444 * locale/langinfo.h: Don't include <locale.h>. Include <bits/locale.h>
5445 and use __LC_ constants instead of LC_.
5446 * locale/locale.h: Include <bits/locale.h> and define LC_ constants
5447 using __LC_ constants.
5448 * locale/bits/locale.h: New file.
5449 * locale/loadlocale.c: Include <locale.h>.
5450 * locale/nl_langinfo.h: Likewise.
5452 * posix/glob.h: Cleanup namespace for non-_GNU_SOURCE case.
5454 * io/sys/stat.h: Define S_IFSOCK for XPG6.
5456 * conform/data/fcntl.h-data: posix_madvise is not expected here.
5458 * conform/conformtest.pl: Fix handling of macro-str.
5460 * conform/data/inttypes.h-data: Add missing definition and all of
5463 * sysdeps/unix/sysv/linux/sys/param.h (MAXSYMLINKS): Bump to 20.
5465 2001-01-25 Ulrich Drepper <drepper@redhat.com>
5467 * conform/conformtest.pl (@headers): Add stdint.h.
5468 * conform/data/stdint.h-data: New file.
5470 * conform/conformtest.pl: Recognize options --headers and
5471 --dialect. Add dialect-specific CFLAGS.
5473 * conform/conformtest.pl: Implement handling of recursive
5476 * conform/data/locale.h-data: Add new struct lconv members.
5478 * posix/wordexp.h: Correct definition of wordexp_t.
5479 * posix/wordexp.c: Moved to ...
5480 * sysdeps/generic/wordexp.c: ...here. New file.
5481 * sysdeps/unix/sysv/linux/alpha/wordexp.c: New file.
5482 * sysdeps/unix/sysv/linux/ia64/wordexp.c: New file.
5483 * sysdeps/unix/sysv/linux/sparc/sparc64/wordexp.c: New file.
5484 * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.2.2): Add
5486 * sysdeps/unix/sysv/linux/ia64/Versions: Likewise.
5487 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions: Likewise.
5489 * math/tgmath.h: Pretty printing.
5491 * math/Makefile (tests): Add test-tgmath.
5492 (CFLAGS-test-tgmath.c): New variable.
5493 * math/test-tgmath.c: New file. Contributed by Jakub Jelinek.
5495 * conform/conformtest.pl: Handle allow-header in secondary headers
5498 * conform/data/fcntl.h-data: Mark symbols introduced in XPG6 with
5501 * conform/data/netinet/in.h-data: Use correct comment character.
5502 * conform/data/sys/stat.h-data: Likewise.
5504 2001-01-25 Jakub Jelinek <jakub@redhat.com>
5506 * math/tgmath.h (__TGMATH_BINARY_FIRST_REAL_ONLY,
5507 __TGMATH_BINARY_REAL_ONLY, __TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY,
5508 __TGMATH_TERNARY_REAL_ONLY): Use proper arguments to
5509 __builtin_classify_type, add ##f suffixes where appropriate.
5510 (__TGMATH_UNARY_REAL_IMAG): Remove extraneous left parenthesis.
5511 (__TGMATH_BINARY_REAL_IMAG): Likewise, use proper arguments to
5512 __builtin_classify_type.
5513 (fma): Fix spelling of first argument.
5515 2001-01-25 Ulrich Drepper <drepper@redhat.com>
5517 * conform/data/unistd.h-data: Mark functions removed in XPG6
5520 * posix/unistd.h: Don't make functions removed in XPG6 available if
5523 * conform/conformtest.pl: Implement optional-constant.
5524 * conform/data/unistd.h-data: Use optional-constant wherever
5527 * sysdeps/generic/bits/confname.h: Correct names of _SC_PBS
5528 constants and add _SC_STREAMS.
5529 * sysdeps/posix/sysconf.c (__sysconf): Likewise.
5531 * sysdeps/unix/sysv/linux/statvfs64.c: Rename to __statvfs64 and
5532 make old name weak alias.
5533 * sysdeps/generic/statvfs64.c: Likewise.
5534 * sysdeps/unix/sysv/linux/fstatvfs64.c: Rename to __fstatvfs64 and
5535 make old name weak alias.
5536 * sysdeps/generic/fstatvfs64.c: Likewise.
5537 * include/sys/statvfs.h: New file.
5539 * sysdeps/generic/bits/confname.h: Define _PC_REC_INCR_XFER_SIZE,
5540 _PC_REC_MAX_XFER_SIZE, _PC_REC_MIN_XFER_SIZE, and
5542 * sysdeps/posix/pathconf.c (__pathconf): Implement handling of
5543 _PC_REC_INCR_XFER_SIZE, _PC_REC_MAX_XFER_SIZE,
5544 _PC_REC_MIN_XFER_SIZE, and _PC_REC_XFER_ALIGN.
5545 * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
5547 * conform/conformtest.pl: Run Unix tests for XPG6.
5548 Implement handling of known namespace violations.
5549 Improve printing of results.
5551 * posix/unistd.h (usleep): Correct return type.
5552 * sysdeps/unix/sysv/linux/usleep.c: Correct return type.
5553 * sysdeps/unix/bsd/usleep.c: Correct return type.
5554 * sysdeps/mach/usleep.c: Correct return type.
5555 * sysdeps/generic/usleep.c: Correct return type.
5557 * posix/unistd.h (sync): Correct return type.
5558 * sysdeps/generic/sync.c: Likewise.
5559 * sysdeps/mach/hurd/sync.c: Likewise.
5561 * sysdeps/generic/bits/confname.h (_SC_IOV_MAX): New definition.
5563 * posix/unistd.h: Make seteuid and setegid available for XPG6.
5565 * wcsmbs/wchar.h: Get FILE definition for XPG5.
5567 * conform/data/ctype.h-data: Use correct comment form.
5568 * conform/data/errno.h-data: Likewise.
5569 * conform/data/math.h-data: Likewise.
5570 * conform/data/mqueue.h-data: Likewise.
5571 * conform/data/netdb.h-data: Likewise.
5572 * conform/data/pthread.h-data: Likewise.
5574 2001-01-24 Ulrich Drepper <drepper@redhat.com>
5576 * conform/data/wordexp.h-data: Fix typo.
5578 * conform/conformtest.pl: Handle allow-header correctly.
5580 * conform/data/time.h-data: Use correct comment form.
5582 * conform/conformtest.pl (checknamespace): Ignore #undef lines.
5584 * configure.in: Comment out binutils version test.
5586 * stdlib/strtod.c (str_to_mpn): Correct parsing of thousands
5588 Reported by Lagardere Jean-Francois <LAGARDEREJ@thmulti.com>.
5590 * stdlib/tst-strtod.c (locale_test): New function.
5591 (main): Call locale_test.
5592 * stdlib/Makefile (tst-strtod-ENV): New variable.
5594 2001-01-24 Mark Kettenis <kettenis@gnu.org>
5596 * hurd/hurdsig.c (_hurdsig_getenv): Remove spurious innermost
5597 declaration of value such that we actually return the value of the
5598 environment variable.
5600 2001-01-24 Andreas Jaeger <aj@suse.de>
5602 * sysdeps/unix/sysv/linux/init-first.c: Remove extra __sysctl
5604 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
5606 * include/sys/sysctl.h: New file.
5608 2001-01-23 Andreas Jaeger <aj@suse.de>
5610 * stdlib/Makefile ($(objpfx)isomac.out): Also pass sysincludes to
5613 * elf/dl-load.c (_dl_init_paths): Don't use strdupa in function
5614 arguments. Reported by Jiri Kubicek <kubicek@bitsmart.com>,
5615 closes PR libc/2039.
5617 * manual/install.texi (Tools for Compilation): Change required
5620 2001-01-22 Andreas Jaeger <aj@suse.de>
5622 * configure.in: Add test for new enough binutils version, move
5623 compiler/binutils test up.
5625 * Versions.def: Add version GLIBC_2.2.2.
5627 2001-01-21 Ulrich Drepper <drepper@redhat.com>
5629 * iconvdata/TESTS: UTF-8 test data for IBM932 and IBM943 are now
5631 * iconvdata/testdata/IBM932: New file.
5632 * iconvdata/testdata/IBM932..UTF8: New file.
5633 * iconvdata/testdata/IBM943: New file.
5634 * iconvdata/testdata/IBM943..UTF8: New file.
5635 Contributed by Masahide Washizawa <washi@jp.ibm.com>.
5637 2001-01-21 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
5639 * sysdeps/unix/sysv/linux/powerpc/mmap64.c: Correctly mask offset.
5641 2001-01-21 Ulrich Drepper <drepper@redhat.com>
5643 * malloc/malloc.c: Remove a few unnecessary initializers of global
5646 2000-12-09 H.J. Lu <hjl@gnu.org>
5648 * nss/Makefile (routines): Add digits_dots.
5649 * nss/Versions (libc): Add __nss_hostname_digits_dots to GLIBC_2.2.2.
5650 * nss/digits_dots.c (__nss_hostname_digits_dots): Turn template
5652 * nss/nsswitch.h (__nss_hostname_digits_dots): New internal NSS
5654 * nss/getXXbyYY.c (H_ERRNO_VAR_P): New definition.
5655 (TYPE_VAR_P): Likewise.
5656 (FLAGS_VAR): Likewise.
5657 (AF_VAR_P): Likewise.
5658 (INTERNAL (REENTRANT_NAME)): Call __nss_hostname_digits_dots ()
5659 instead of including digits_dots.c.
5660 * nss/getXXbyYY_r.c (H_ERRNO_VAR_P): New definition.
5661 (TYPE_VAR_P): Likewise.
5662 (FLAGS_VAR): Likewise.
5663 (AF_VAR_P): Likewise.
5664 (INTERNAL (REENTRANT_NAME)): Call __nss_hostname_digits_dots ()
5665 instead of including digits_dots.c.
5667 2001-01-21 Ulrich Drepper <drepper@redhat.com>
5669 * sysdeps/posix/getaddrinfo.c: Reduce .data size.
5671 2001-01-21 Andreas Jaeger <aj@suse.de>
5673 * elf/constload2.c: Add prototype for init.
5675 2001-01-21 Ulrich Drepper <drepper@redhat.com>
5677 * stdlib/stdlib.h (drand48_data): Make available only for
5678 __USE_MISC. Rename elements to protect namespace. Change type
5679 and position of a and init element.
5680 * stdlib/drand48-iter.c: Don't handle unsigned short > 16 bit
5681 differently. Adjust for drand48_data change. Don't compute a here,
5682 it comes from drand48_data.
5683 * stdlib/lcong48_r.c: Don't handle unsigned short > 16 bit
5684 differently. Adjust for drand48_data change. Compute a here.
5685 * stdlib/srand48_r.c: Likewise.
5686 * stdlib/drand48.c: Adjust for drand48_data change.
5687 * stdlib/lrand48.c: Likewise.
5688 * stdlib/mrand48.c: Likewise.
5689 * stdlib/seek48.c: Likewise.
5690 * stdlib/drand48_r.c: Likewise.
5691 * stdlib/lrand48_r.c: Likewise.
5692 * stdlib/mrand48_r.c: Likewise.
5693 * stdlib/seed48_r.c: Likewise. Don't handle unsigned short > 16 bit
5695 * stdlib/erand48_r.c: Don't handle unsigned short > 16 bit differently.
5696 * stdlib/jrand48_r.c: Likewise.
5698 * po/sv.po: Update from translation team.
5700 2001-01-21 Andreas Jaeger <aj@suse.de>
5702 * stdio-common/vfprintf.c (vfprintf): Add casts.
5704 2001-01-20 Ulrich Drepper <drepper@redhat.com>
5706 * iconvdata/run-iconv-test.sh: Reorgnize a bit to allow running only
5708 * iconvdata/TESTS: Add entries for IBM932 and IBM943.
5710 * iconvdata/Makefile (modules): Add IBM932 and IBM943.
5711 * iconvdata/gconv-modules: Add entries for IBM932 and IBM943.
5712 * iconvdata/ibm932.c: New file.
5713 * iconvdata/ibm932.h: New file.
5714 * iconvdata/ibm943.c: New file.
5715 * iconvdata/ibm943.h: New file.
5716 Patches by Masahide Washizawa <washi@jp.ibm.com>.
5718 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Fix typo
5719 preventing optimization from being done. Set the correct type bit
5720 in seen. Don't define and use _dl_base_addr unless
5721 NEED_DL_BASE_ADDR is defined.
5723 * io/ftw.c (ftw_dir): Add slash after directory name if there
5724 wasn't any. Reported by loris <loris@iol.it>.
5725 * io/Makefile (tests): Add bug-ftw2.
5726 * io/bug-ftw2.c: New file.
5728 2001-01-19 Ulrich Drepper <drepper@redhat.com>
5730 * stdlib/jrand48_r.c (__jrand48_r): Correct constructing of
5731 results. Reported by Jeff Higham <jhigham@algorithmics.com>.
5732 * stdlib/tst-rand48.c: New file.
5733 * stdlib/Makefile (tests): Add tst-rand48.
5735 * locale/newlocale.c (__newlocale): Fix test for setting all
5738 2001-01-19 Mark Kettenis <kettenis@gnu.org>
5740 * sysdeps/mach/hurd/chroot.c (chroot): Revert 1999-02-27 changes,
5741 but change looking up the initial directory port in a similar way
5742 as done by _hurd_change_directory_port_from_name.
5743 * hurd/fchroot.c (fchroot): Likewise.
5745 2001-01-18 Ulrich Drepper <drepper@redhat.com>
5747 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): If HAVE_AUX_XID is
5748 defined don't look whether the AT_*ID values were set.
5749 If HAVE_AUX_PAGESIZE is defined don't look whether the pagesize is set.
5750 (_dl_show_auxv): Rewrite to avoid switch statement.
5751 * sysdeps/unix/sysv/linux/kernel-features.h: Define
5752 __ASSUME_AT_PAGESIZE for kernel >= 2.4.1.
5753 * sysdeps/unix/sysv/linux/ldsodefs.h: Define HAVE_AUX_XID.
5754 Define HAVE_AUX_PAGESIZE if __ASSUME_AT_PAGESIZE is defined.
5756 * sysdeps/unix/sysv/linux/fxstat64.c: Add one __builtin_expect.
5757 * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
5758 * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
5760 * elf/rtld.c (process_envvars): Call __strtoul_internal instead of
5762 * elf/dl-minimal.c (strtol, __strtol_internal, strtoul): Removed.
5763 (__sigjmp_save): Set __mask_was_saved to zero since we don't save
5765 * dlfcn/eval.c (__strtol_internal): Define here.
5766 (eval): Use __strtol_internal instead of strtol.
5768 * elf/elf.h: Add a few more EF_MIPS_* constants.
5770 2001-01-17 Ulrich Drepper <drepper@redhat.com>
5772 * manual/Makefile (chapters): Add debug.
5773 * manual/debug.texi: New file.
5774 * manual/examples/execinfo.c: New file.
5775 Patch by suckfish@ihug.co.nz.
5777 2001-01-17 Andreas Schwab <schwab@suse.de>
5779 * sysdeps/m68k/bits/byteswap.h (__bswap_32): Add cast to avoid
5782 2001-01-17 Andreas Jaeger <aj@suse.de>
5784 * nscd/connections.c (nscd_run): Use proper format specifier.
5786 2001-01-16 Ulrich Drepper <drepper@redhat.com>
5788 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Move x86_cap_flags and
5789 x86_platforms data into new file after prepending _dl_. Change
5791 * sysdeps/unix/sysv/linux/i386/dl-procinfo.c: New file.
5792 * sysdeps/unix/sysv/linux/i386/Dist: Add dl-procinfo.c.
5793 * sysdeps/unix/sysv/linux/i386/Makefile: Add rules to build
5796 * setjmp/setjmp.h: Cleanup definition of setjmp macro.
5798 * sysdeps/i386/elf/bsd-setjmp.S: Real implementation.
5799 * sysdeps/i386/elf/bsd-_setjmp.S: Removed.
5800 * sysdeps/i386/elf/setjmp.S (setjmp): Removed here.
5801 (_setjmp): Likewise.
5802 * sysdeps/i386/bsd-_setjmp.S: Real implementation.
5803 * sysdeps/i386/bsd-setjmp.S: Real implementation.
5804 * sysdeps/i386/bits/setjmp.h: Remove PUSH_SIGNAL_MASK definition.
5805 * sysdeps/i386/setjmp.S: Remove PIC support. This is the non-ELF
5808 2001-01-16 Andreas Jaeger <aj@suse.de>
5810 * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h (SIGCONTEXT): Fix
5811 misapplied last patch.
5813 2001-01-15 Ulrich Drepper <drepper@redhat.com>
5815 * stdlib/random.c (__initstate): Clean up a cast.
5816 (__setstate): Likewise.
5818 * sysdeps/unix/sysv/linux/mips/syscalls.list: Remove select
5819 syscall handling. The generic Linux version should work.
5821 2001-01-15 Andreas Jaeger <aj@suse.de>
5823 * sysdeps/unix/sysv/linux/sys/sendfile.h: Fix typo.
5825 * stdio-common/tstscanf.c (main): Add two testcases for '*' modifier.
5827 2001-01-14 Jakub Jelinek <jakub@redhat.com>
5829 * nss/getent.c (print_aliases, aliases_keys, ethers_keys,
5830 netgroup_keys, print_rpc, rpc_keys, print_shadow, shadow_keys):
5832 (group_keys, hosts_keys, network_keys, passwd_keys, protocols_keys):
5833 If number is 0, list all.
5834 (services_keys): Likewise. Lookup aliases as well.
5835 (databases): New table.
5836 (build_doc): Prepare argp doc text with list of supported databases.
5837 (main): Change to table driven processing.
5839 2001-01-14 Thorsten Kukuk <kukuk@suse.de>
5841 * sunrpc/xdr.c (xdr_long, xdr_u_long): Fix comments about these
5844 2001-01-03 Jakub Jelinek <jakub@redhat.com>
5846 * sunrpc/xdr.c (xdr_long, xdr_u_long): Return FALSE if trying to
5847 encode value which does not fit in the 32bit type.
5849 2001-01-15 Hiroyuki Machida <machida@sm.sony.co.jp>
5851 * sysdeps/unix/sysv/linux/mips/register-dump.h (REGISTER_DUMP):
5852 Change type of CTX to (struct sigcontext *).
5853 * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h (GET_PC): Likewise.
5854 (GET_FRAME): Likewise.
5855 (GET_STACK): Likewise.
5856 (SIGCONTEXT): Likewise. Add 2nd arg _code.
5857 (SIGCONTEXT_EXTRA_ARGS): Add 2nd arg _code.
5859 2001-01-13 Ulrich Drepper <drepper@redhat.com>
5861 * manual/texinfo.tex: Update from upstream version.
5863 2001-01-13 Jakub Jelinek <jakub@redhat.com>
5865 * inet/ether_ntoh.c (lookup_function): Change arguments to match
5866 _nss_*_getntohost_r prototype.
5867 (ether_ntohost): Pass errno pointer to NSS function.
5869 2001-01-12 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
5871 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MS_SYNC): Fix value.
5872 (MAP_LOCKED): New definition.
5873 (MAP_NORESERVE): New definition.
5875 2001-01-12 Ulrich Drepper <drepper@redhat.com>
5877 * assert/assert.h: Use static_cast instead of C-style cast for C++.
5878 Patch by Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>.
5880 2001-01-12 Ben Collins <bcollins@debian.org>
5882 * sysdeps/generic/segfault.c (install_handler): Use access, not
5885 2001-01-12 Andreas Jaeger <aj@suse.de>
5887 * posix/fnmatch_loop.c (FCT): Remove signed warnings.
5888 * posix/wordexp.c (do_parse_glob): Likewise.
5889 * sysdeps/posix/sigblock.c (__sigblock): Likewise.
5890 * sysdeps/posix/sigsetmask.c (__sigsetmask): Likewise.
5891 * elf/dl-open.c (_dl_open): Likewise.
5892 * elf/dl-close.c (_dl_close): Likewise.
5893 * elf/dl-load.c (_dl_map_object): Likewise.
5894 * iconv/iconv_prog.c (process_fd): Likewise.
5895 * stdio-common/vfscanf.c (_IO_vfscanf): Likewise.
5897 * locale/localeinfo.h (struct locale_data): Use __flexarr instead
5898 of a zero-length array.
5900 2001-01-11 Jakub Jelinek <jakub@redhat.com>
5902 * stdlib/cxa_atexit.c (__cxa_atexit): Cast to (void *, int) func.
5903 * stdlib/cxa_finalize.c (__cxa_finalize): Add hidden second argument.
5904 * stdlib/cxa_on_exit.c: Remove.
5905 * stdlib/Makefile: Revert last patch.
5906 * stdlib/Versions: Likewise.
5907 * include/stdlib.h: Likewise.
5908 * stdlib/exit.h: Revert last patch.
5909 (struct exit_function): Add second argument to cxa fn.
5910 * stdlib/exit.c: Revert last patch.
5911 (exit): Add hidden second argument.
5913 2001-01-11 H.J. Lu <hjl@gnu.org>
5915 * elf/dl-libc.c (do_dlopen): Move DL_STATIC_INIT to ...
5916 * elf/dl-open.c (_dl_open): Here.
5917 * sysdeps/unix/sysv/linux/ia64/dl-static.c (_dl_static_lock):
5919 (_dl_static_init): Initialize the variables every time when possible.
5920 * sysdeps/unix/sysv/linux/ia64/ldsodefs.h (DL_STATIC_INIT):
5923 2001-01-11 Ulrich Drepper <drepper@redhat.com>
5925 * stdlib/Makefile (routines): Add cxa_on_exit.
5926 * stdlib/Versions [libc] (GLIBC_2.2.1): Add __cxa_on_exit.
5927 * stdlib/cxa_on_exit.c: New file.
5928 * include/stdlib.h: Add prototype for __cxa_on_exit.
5929 * stdlib/exit.c: Handle ef_cxa2.
5930 * stdlib/exit.h (enum): Add ef_cxa2.
5931 (struct exit_function): Add cxa2.
5933 * Versions.def [ld]: Add GLIBC_2.2.1.
5935 2001-01-10 H.J. Lu <hjl@gnu.org>
5937 * elf/dl-libc.c (do_dlopen): Call DL_STATIC_INIT for static binaries.
5938 * sysdeps/unix/sysv/linux/ia64/Makefile (sysdep-dl-routines): Add
5940 * sysdeps/unix/sysv/linux/ia64/Versions (ld): Add _dl_var_init.
5941 * sysdeps/generic/ldsodefs.h (DL_STATIC_INIT): Defined if not defined.
5942 * sysdeps/unix/sysv/linux/ia64/ldsodefs.h: New file.
5943 * sysdeps/unix/sysv/linux/ia64/dl-static.c: New file.
5944 * sysdeps/unix/sysv/linux/ia64/Dist: Add dl-static.c.
5946 2001-01-11 Ulrich Drepper <drepper@redhat.com>
5948 * libio/stdio.h: Remove definition of off_t.
5950 2001-01-11 Andreas Jaeger <aj@suse.de>
5952 * wcsmbs/tst-mbrtowc.c (utf8_test): New function by Markus Kuhn
5955 2001-01-10 Ulrich Drepper <drepper@redhat.com>
5957 * sunrpc/Makefile (distribute): Add errqueue.h.
5959 2001-01-10 H.J. Lu <hjl@gnu.org>
5961 * sysdeps/ia64/dl-machine.h (TRAMPOLINE_TEMPLATE): Also preserve
5962 r9, r10 and r11 for language specific registers.
5964 2001-01-10 Jakub Jelinek <jakub@redhat.com>
5966 * sunrpc/clnt_udp.c (clntudp_bufcreate): Set IP_RECVERR on the
5968 (clntudp_call): Handle MSG_ERRQUEUE.
5969 * sysdeps/generic/errqueue.h: New file.
5970 * sysdeps/unix/sysv/linux/errqueue.h: New file.
5972 2001-01-10 H.J. Lu <hjl@gnu.org>
5974 * sysdeps/unix/sysv/linux/ia64/syscalls.list (s_getpagesize): Removed.
5976 2001-01-10 Joseph S. Myers <jsm28@cam.ac.uk>
5978 * CONFORMANCE: Update.
5980 2001-01-09 Ulrich Drepper <drepper@redhat.com>
5982 * sysdeps/generic/elf/backtracesyms.c (__backtrace_symbols):
5983 Minimal cleanups. Add assert to ensure memory handling is correct.
5985 * manual/conf.texi (File Minimums): Fix _POSIX_PATH_MAX value.
5986 Reported by Ben Collins <bcollins@debian.org>.
5988 * time/strftime.c (my_strftime): Mark previous GNU extensions
5989 which are now in C99 as such.
5991 2001-01-08 Ulrich Drepper <drepper@redhat.com>
5993 * elf/rtld.c (process_envvars): Place output files for profiling
5994 in SUID binaries in /var/profile.
5996 * elf/dl-load.c (_dl_map_object): Don't look in cache for
5997 preloading in SUID binaries.
5999 * elf/dl-profile.c (_dl_start_profile): Open the output file with
6000 O_NOFOLLOW if possible.
6002 * include/stdlib.h: Add __posix_openpt declaration.
6003 * stdlib/stdlib.h: Add posix_openpt declaration.
6004 * login/Versions: Add posix_openpt for GLIBC_2.2.1.
6005 * sysdeps/generic/getpt.c: Define posix_openpt.
6006 * sysdeps/unix/bsd/getpt.c: Likewise.
6007 * sysdeps/unix/sysv/linux/getpt.c: Likewise.
6009 * time/Makefile (tests): Add tst-mktime.
6010 * time/tst-mktime.c: New file.
6012 * posix/tst-dir.c (main): One more mkdir() test.
6014 * sysdeps/unix/sysv/linux/ia64/getpagesize.c (__getpagesize):
6015 Remove getpagesize syscall. We assume that the pagesize is always
6016 determined from the auxiliary vector.
6018 * intl/dcigettext.c: Fix a few warnings.
6019 Patch by Bruno Haible <haible@ilog.fr>.
6021 2001-01-08 Andreas Jaeger <aj@suse.de>
6023 * io/test-lfs.c (do_test): Check lseek64 return for EINVAL.
6024 Reported by Joseph S. Myers <jsm28@cam.ac.uk>.
6026 2001-01-08 Ulrich Drepper <drepper@redhat.com>
6028 * sysdeps/generic/segfault.c (install_handler): Check output file
6031 * resolv/res_query.c: Use simply getenv() for HOSTALIASES.
6032 * sysdeps/generic/unsecvars.h (UNSECURE_ENVVARS): Add HOSTALIASES.
6034 * sysdeps/generic/unsecvars.h (UNSECURE_ENVVARS): Add missing comma.
6036 * malloc/memusage.c (me): Use access() to determine whether we
6037 should write the output file or not.
6039 * libio/bits/stdio.h (printf): Define macro to map printf call to
6040 fprintf which gcc can optimize.
6041 * stdio-common/printf.c: Undefine printf.
6043 2001-01-07 Ulrich Drepper <drepper@redhat.com>
6045 * sysdeps/generic/bits/byteswap.h (__bswap_64): Partly revert last
6046 patch. We must use unsigned int for l member of union.
6048 * sysdeps/powerpc/elf/libc-start.c (__libc_start_main): Don't call
6049 _dl_aux_init for shared libraries.
6051 * sysdeps/unix/sysv/linux/glob64.c: Moved to ...
6052 * sysdeps/gnu/glob64.c: ...here. New file.
6054 2001-01-07 Ben Collins <bcollins@debian.org>
6056 * manual/examples/longopt.c: Make the "struct option" a little
6057 more like it should be, adding usage of required_argument,
6058 noargument and such, and also setting the options string right.
6060 * manual/sysinfo.texi (Load Average): New section, documents
6063 2001-01-06 Ulrich Drepper <drepper@redhat.com>
6065 * version.h (VERSION): Bump to 2.2.1.
6067 * sysdeps/unix/sysv/linux/mips/Dist: Remove sys/acct.h.
6068 * sysdeps/alpha/Dist: Add alphaev6/stxncpy.S and alphaev6/stxcpy.S.
6069 * sysdeps/unix/sysv/aix/Dist: Add uitrunc.c, savef.S, and restf.S.
6070 * dlfcn/Makefile (distribute): Add errmsg1mod.c.
6071 * Makefile (distribute): Add include/libc-internal.h.
6072 * libio/Makefile (distribute): Avoid overwriting.
6074 * iconvdata/ibm937.c (BODY to IBM937): Correct several mistakes in
6075 buffer and table handling.
6077 2001-01-05 H.J. Lu <hjl@gnu.org>
6079 * elf/dl-support.c (non_dynamic_init): Move the auxiliary
6080 vector checking to ...
6081 (_dl_aux_init): Here. New function. Defined only if
6082 HAVE_AUX_VECTOR is defined.
6084 * sysdeps/generic/libc-start.c (__libc_start_main): Call
6085 _dl_aux_init for static binaries if HAVE_AUX_VECTOR is defined.
6087 * sysdeps/powerpc/elf/libc-start.c (__libc_start_main): Call
6090 * sysdeps/unix/sysv/linux/ldsodefs.h (DL_FIND_AUXV): Removed.
6091 (HAVE_AUX_VECTOR): Defined.
6092 (_dl_aux_init): Declared.
6094 2001-01-05 Ben Collins <bcollins@debian.org>
6096 * manual/string.texi (Finding Tokens in a String): Document XPG
6097 basename() and dirname(), as well as GNU basename().
6099 2001-01-05 Jakub Jelinek <jakub@redhat.com>
6101 * Makeconfig (preprocess-version): Replace -traditional with
6102 -x assembler-with-cpp.
6104 2001-01-05 Joseph S. Myers <jsm28@cam.ac.uk>
6106 * math/bits/cmathcalls.h: Don't define inline cimag, creal or conj
6107 for GCC 2.97 or later.
6109 2001-01-05 Ben Collins <bcollins@debian.org>
6111 * manual/stdio.texi (getline): Clarify the return value in the
6112 case of EOF being reached before a newline.
6114 2001-01-04 Jakub Jelinek <jakub@redhat.com>
6116 * sunrpc/pmap_clnt.c (__get_myaddress): Return TRUE if successful,
6118 (pmap_set, pmap_unset): Check __get_myaddress return value.
6120 2001-01-05 Mark Kettenis <kettenis@gnu.org>
6122 * sysdeps/generic/netinet/if_ether.h: Include <sys/types.h>.
6123 (struct ether_addr): Declare ether_addr_octet member as
6124 `u_int8_t'. Add __attribute__ ((__packed__)).
6126 2001-01-06 Mark Kettenis <kettenis@gnu.org>
6128 * sysdeps/mach/hurd/readdir64.c: New file.
6129 * sysdeps/mach/hurd/readdir64_r.c: New file.
6131 2001-01-07 Mark Kettenis <kettenis@gnu.org>
6133 * sysdeps/mach/hurd/fstatvfs.c (fstatvfs): Add comment about
6134 `struct statfs' and `struct statvfs' being identical.
6135 * sysdeps/mach/hurd/statvfs.c (statvfs): Likewise.
6137 2001-01-06 Mark Kettenis <kettenis@gnu.org>
6139 * sysdeps/mach/hurd/fstatfs64.c: New file.
6140 * sysdeps/mach/hurd/fstatvfs64.c: New file.
6141 * sysdeps/mach/hurd/statfs64.c: New file.
6142 * sysdeps/mach/hurd/statvfs64.c: New file.
6143 * sysdeps/mach/hurd/statfsconv.c: New file.
6144 * sysdeps/mach/hurd/Dist: Add statfsconv.c.
6146 2001-01-06 Ulrich Drepper <drepper@redhat.com>
6148 * iconv/skeleton.c: Reset outbuf for next round of the loop.
6149 Reported by Owen Taylor <otaylor@redhat.com>.
6150 * iconv/Makefile (tests): Add tst-iconv3.
6151 * iconv/tst-iconv3.c: New file.
6153 * iconvdata/ibm930.c: Fix handling of state. Optimize a bit.
6154 * iconvdata/ibm933.c: Likewise.
6155 * iconvdata/ibm935.c: Likewise.
6156 * iconvdata/ibm937.c: Likewise.
6157 * iconvdata/ibm939.c: Likewise.
6158 * iconvdata/ibm930.h: Adjust single byte table for optimization.
6159 * iconvdata/ibm933.h: Likewise.
6160 * iconvdata/ibm935.h: Likewise.
6161 * iconvdata/ibm939.h: Likewise.
6163 * iconvdata/testdata/IBM930: Add misssing SI.
6164 * iconvdata/testdata/IBM933: Likewise.
6165 * iconvdata/testdata/IBM935: Likewise.
6166 * iconvdata/testdata/IBM937: Likewise.
6167 * iconvdata/testdata/IBM939: Likewise.
6169 2001-01-06 Andreas Jaeger <aj@suse.de>
6171 * configure.in: Check for old add-ons that shouldn't be used with
6172 current glibc anymore.
6174 2001-01-06 Mark Kettenis <kettenis@gnu.org>
6176 * sysdeps/mach/hurd/readdir_r.c (__readdir_r): Return error number
6177 instead of -1 on failure. Don't forget to copy file name into
6178 *ENTRY if successful. Set *RESULT to NULL upon reaching the end
6181 2001-01-06 Mark Kettenis <kettenis@gnu.org>
6183 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Don't forget to
6184 copy st_atime member.
6186 2001-01-05 Ulrich Drepper <drepper@redhat.com>
6188 * io/ftw.c (ftw_dir): Don't add a second slash at the beginning
6189 for searches from the root directory.
6190 Reported by loris <loris@iol.it> [PR libc/1991].
6191 * io/Makefile (tests): Add bug-ftw1.
6192 * io/bug-ftw1.c: New file.
6194 * elf/dl-support.c (non_dynamic_init): Don't define DL_FIND_AUXV
6195 if it is not available. Instead use it only if it is available.
6196 * sysdeps/unix/sysv/linux/ldsodefs.h: New file.
6198 * iconv/gconv_simple.c (internal_ics4_loop): Correct test for
6199 overflowing output buffer.
6200 (internal_ucs4_loop_unaligned): Likewise.
6201 (ucs4_internal_loop): Likewise.
6202 (ucs4_internal_loop_unaligned): Likewise.
6203 (internal_ucs4le_loop): Likewise.
6204 (internal_ucs4le_loop_unaligned): Likewise.
6205 (ucs4le_internal_loop): Likewise.
6206 (ucs4le_internal_loop_unaligned): Likewise.
6207 Reported by Owen Taylor <otaylor@redhat.com>.
6208 * iconv/Makefile (tests): Add tst-iconv2.
6209 * iconv/tst-iconv2.c: New file.
6211 2001-01-04 H.J. Lu <hjl@gnu.org>
6213 * elf/dl-support.c (DL_FIND_AUXV): New. Defined if not defined.
6214 (_dl_clktck): Declared.
6215 (non_dynamic_init): Take 3 arguments.
6216 Set _dl_pagesize, _dl_platform and _dl_clktck from AUX.
6218 2001-01-01 Bruno Haible <haible@clisp.cons.org>
6220 Finish implementation of plural form handling.
6221 * intl/dcigettext.c (known_translation_t): Rename 'domain' field to
6222 'domainname'. Remove 'plindex' field. Add 'domain' and
6223 'translation_length' fields.
6224 (transcmp): Don't compare 'plindex' fields.
6225 (plural_lookup): New function.
6226 (DCIGETTEXT): Change cache handing in the plural case. Don't call
6227 plural_eval before the translation and its catalog file have been
6228 found. Remove plindex from cache key. Add 'translation_length' and
6229 'domain' to cache result.
6230 (_nl_find_msg): Remove index argument, return length of translation
6231 to the caller instead. Weaken comparison of string lengths, to account
6232 for plural entries. Call iconv() on the entire result string, not
6233 only on the portion needed so far.
6234 * intl/loadinfo.h (_nl_find_msg): Remove index argument, add lengthp
6236 * intl/loadmsgcat.c (_nl_load_domain): Adapt to _nl_find_msg change.
6238 2001-01-04 Ulrich Drepper <drepper@redhat.com>
6240 * intl/plural.y (yylex): Minimal improvement in number scanner.
6242 2000-07-31 Bruno Haible <haible@clisp.cons.org>
6244 * intl/plural.y: Include config.h. Needed to define 'inline' away for
6245 C compilers that don't support it.
6246 (yylex): Don't use gcc specific case range syntax.
6247 * intl/loadmsgcat.c (INIT_GERMANIC_PLURAL): New macro, for old
6250 2000-10-12 Bruno Haible <haible@clisp.cons.org>
6252 * intl/finddomain.c: Remove unneeded includes.
6254 2000-10-12 Bruno Haible <haible@clisp.cons.org>
6256 * intl/localealias.c (memcpy): Return first argument, just like the
6257 real memcpy function does.
6258 * intl/bindtextdom.c (memcpy): Likewise.
6259 * intl/finddomain.c (memcpy): Likewise.
6260 * intl/l10nflist.c (memcpy): Likewise.
6261 * intl/textdomain.c (memcpy): Likewise.
6262 From Paul Eggert <eggert@twinsun.com>.
6264 2001-01-03 Jakub Jelinek <jakub@redhat.com>
6266 * resolv/resolv.h (struct __res_state): Add nsinit field.
6267 * resolv/res_send.c (res_nsend): Use it instead of nscount.
6268 * resolv/res_init.c (__res_vinit): Initialize it.
6269 (res_nclose): Clear it instead of nscount.
6271 2001-01-04 Ulrich Drepper <drepper@redhat.com>
6273 * malloc/mtrace.pl: Fix matching of addresses.
6274 Patch by Aharon Robbins <arnold@skeeve.com>.
6276 * Versions.def (ld): Add GLIBC_2.2.
6278 * catgets/gencat.c: Copyright 2001.
6279 * csu/version.c: Likewise.
6280 * debug/catchsegv.sh: Likewise.
6281 * debug/xtrace.sh: Likewise.
6282 * elf/ldconfig.c: Likewise.
6283 * elf/sprof.c: Likewise.
6284 * iconv/iconv_prog.c: Likewise.
6285 * locale/locale.c: Likewise.
6286 * locale/localedef.c: Likewise.
6287 * malloc/memusage.sh: Likewise.
6288 * malloc/mtrace.pl: Likewise.
6289 * nscd/nscd.c: Likewise.
6290 * posix/getconf.c: Likewise.
6292 2001-01-04 Mark Kettenis <kettenis@gnu.org>
6294 * include/stdio.h: Only provide __getwc_unlocked prototype if
6295 USE_IN_LIBIO is defined.
6297 2001-01-04 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6299 * sysdeps/unix/sysv/linux/sh/socket.S (__socket): Fix error code
6302 2001-01-03 Andreas Schwab <schwab@suse.de>
6304 * sysdeps/generic/strtoll.c: Remove unused __strtoq_internal alias.
6305 * sysdeps/generic/strtoull.c: Remove unused __strtouq_internal alias.
6307 * sysdeps/wordsize-64/strtol.c: Add strtoq alias and fix strtoll alias.
6308 * sysdeps/wordsize-64/strtoul.c: Add strtouq alias and fix
6310 * sysdeps/wordsize-64/wcstol.c: Add wcstoq alias and fix wcstoll alias.
6311 * sysdeps/wordsize-64/wcstoul.c: Add wcstouq alias and fix
6314 * sysdeps/generic/strtoul.c: Make sure we find strtol.c in this
6316 * sysdeps/generic/strtol_l.c: Likewise.
6317 * sysdeps/generic/strtoul_l.c: Likewise.
6318 * sysdeps/generic/wcstoul.c: Likewise, for wcstol.c.
6320 * sysdeps/wordsize-64/strtol_l.c: Fix alias.
6321 * sysdeps/wordsize-64/strtoul_l.c: Likewise.
6322 * sysdeps/wordsize-64/wcstol_l.c: Fix alias.
6323 * sysdeps/wordsize-64/wcstoul_l.c: Likewise.
6325 2001-01-04 Andreas Jaeger <aj@suse.de>
6327 * nss/nsswitch.c: Include files for missing prototypes, remove
6328 buggy declaration of prototypes.
6330 2001-01-03 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
6332 * resolv/Versions: Fix bracing.
6333 * sysdeps/powerpc/soft-fp/Versions: Likewise.
6334 * sysdeps/sparc/sparc64/soft-fp/Versions: Likewise.
6336 2001-01-02 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
6338 * sysdeps/powerpc/dl-machine.c (__process_machine_rela): Fix typo.
6340 2001-01-02 Ulrich Drepper <drepper@redhat.com>
6342 * manual/Makefile (TEXI2PDF): Change to texi2dvi --pdf.
6343 Suggested by Minko Markov <mmarkov@home.com>.
6345 2001-01-02 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
6347 * sysdeps/powerpc/elf/start.S (__data_start): Make it global.
6348 * sysdeps/powerpc/dl-machine.c (dl_reloc_overflow): Print the name of
6350 (__process_machine_rela): Pass symbol to dl_reloc_overflow().
6352 2001-01-02 Ben Collins <bcollins@debian.org>
6354 * time/tzset.c (tzset_internal): Make sure we fall back to UTC
6355 if TZ is not set and TZDEFAULT is not present.
6357 2001-01-01 Ben Collins <bcollins@debian.org>
6359 * string/strings.h: Make sure we declare our functions even if
6360 string.h is already included, based on whether or not __USE_BSD is
6363 2001-01-02 Ulrich Drepper <drepper@redhat.com>
6365 * dlfcn/dlerror.c (dlerror): Handle call of dlerror() before any
6366 other dlopen() and dlsym().
6367 Based on a patch by Ben Collins <bcollins@debian.org>.
6369 2001-01-02 Andreas Jaeger <aj@suse.de>
6371 * dlfcn/errmsg1.c (main): Call dlerror initially.
6372 Reported by Ben Collins <bcollins@debian.org>.
6374 2001-01-02 Ulrich Drepper <drepper@redhat.com>
6376 * intl/dcigettext.c (guess_category_value): Rewrite so that LANGUAGE
6377 value is ignored if the selected locale is the C locale.
6378 * intl/tst-gettext.c: Set locale for above change.
6379 * intl/tst-translit.c: Likewise.
6381 2001-01-02 Andreas Jaeger <aj@suse.de>
6383 * libio/wgenops.c (_IO_wdoallocbuf): Use correct wide access macro.
6384 (_IO_switch_to_wget_mode): Likewise.
6385 (_IO_sputbackwc): Likewise.
6386 (_IO_sungetwc): Use wint_t for result.
6388 * stdio-common/vfscanf.c (__vfscanf): Use WINT_T for done.
6390 * sysdeps/generic/strtol.c (strtol): Make cnt size_t for correct
6393 * sysdeps/generic/printf_fphex.c (putc): Cast _IO_putwc_unlocked
6394 to (int) to avoid warnings.
6395 * stdio-common/printf_fp.c (putc): Likewise.
6396 * stdio-common/printf_size.c (putc): Likewise.
6398 * sysdeps/generic/dl-sysdep.c (_dl_important_hwcaps): Make
6401 2001-01-01 Andreas Jaeger <aj@suse.de>
6403 * inet/rcmd.c (rcmd_af): Use socklen_t for len.
6405 2000-12-31 Andreas Jaeger <aj@suse.de>
6407 * include/libc-internal.h: Add prototype for __libc_freeres.
6409 * sysdeps/unix/sysv/linux/init-first.c: Include <libc-internals.h>
6410 for prototypes, remove redundant prototypes.
6411 * gmon/gmon.c: Likewise.
6412 * sysdeps/unix/i386/i586/clock_getres.c: Likewise.
6413 * sysdeps/unix/i386/i586/clock_gettime.c: Likewise.
6414 * malloc/mtrace.c: Likewise.
6416 * sysdeps/generic/enbl-secure.c: Include <libc-internals.h> for
6418 * elf/soinit.c: Likewise.
6419 * sysdeps/generic/prof-freq.c: Likewise.
6420 * sysdeps/mach/hurd/profil.c: Likewise.
6421 * debug/noophooks.c: Likewise.
6422 * debug/pcprofile.c: Likewise.
6423 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Likewise.
6424 * sysdeps/generic/get_clockfreq.c: Likewise.
6425 * malloc/set-freeres.c: Likewise.
6427 * locale/localeinfo.h: Add internal prototypes.
6429 * elf/rtld.c (dl_main): Fix prototype.
6431 * iconvdata/tst-table-to.c (main): Use return instead of exit to
6434 * nis/rpcsvc/yp_prot.h: Remove __P.
6435 * nis/rpcsvc/ypupd.h: Likewise.
6436 * nis/rpcsvc/yp.h: Likewise.
6438 * sunrpc/rpc_main.c: Add noreturn attributes.
6439 * sunrpc/rpc_scan.h: Likewise.
6441 * sunrpc/rpc_hout.c (storexdrfuncdecl): Make static.
6443 * sunrpc/rpcinfo.c: Add noreturn attribute to brdcst.
6445 * sunrpc/proto.h: Add noreturn attributes to error and crash.
6447 * posix/bsd-getpgrp.c: Add prototype to avoid warning.
6449 * sunrpc/svc_unix.c: Include <rpc/svc.h> for prototypes.
6451 * sunrpc/create_xid.c: Include <rpc/svc.h> for prototypes.
6453 * include/rpc/rpc_msg.h: Add prototypes for some functions.
6454 * include/rpc/auth.h: Likewise.
6455 * include/rpc/auth_des.h: Likewise.
6456 * include/rpc/clnt.h: Likewise.
6457 * include/rpc/rpc.h: Likewise.
6458 * include/rpc/svc.h: Likewise.
6459 * include/rpc/svc_auth.h: Likewise.
6461 * include/rpc/des_crypt.h: New file.
6463 * malloc/memusagestat.c (main): Use return instead of exit to
6465 * io/pwd.c (main): Likewise.
6466 * iconvdata/tst-table-from.c (main): Likewise.
6467 * ctype/test_ctype.c (main): Likewise.
6468 * setjmp/tst-setjmp.c (main): Likewise.
6469 * signal/tst-signal.c (main): Likewise.
6470 * stdlib/tst-strtol.c (main): Likewise.
6471 * stdlib/tst-strtod.c (main): Likewise.
6472 * stdlib/tst-strtoll.c (main): Likewise.
6473 * stdlib/tst-xpg-basename.c (main): Likewise.
6474 * dirent/tst-seekdir.c (main): Likewise.
6475 * grp/testgrp.c (main): Likewise.
6476 * inet/test_ifindex.c (main): Likewise.
6477 * io/test-utime.c (main): Likewise.
6478 * posix/test-vfork.c (main): Likewise.
6479 * posix/testfnm.c (main): Likewise.
6480 * stdio-common/temptest.c (main): Likewise.
6481 * stdio-common/test_rdwr.c (main): Likewise.
6482 * stdio-common/tst-fileno.c (main): Likewise.
6483 * stdio-common/tst-sscanf.c (main): Likewise.
6484 * stdio-common/tstscanf.c (main): Likewise.
6485 * string/bug-strncat1.c (main): Likewise.
6486 * string/bug-strpbrk1.c (main): Likewise.
6487 * string/bug-strspn1.c (main): Likewise.
6488 * string/test-ffs.c (main): Likewise.
6489 * string/tst-inlcall.c (main): Likewise.
6490 * string/tst-svc.c (main): Likewise.
6491 * timezone/test-tz.c (main): Likewise.
6492 * wctype/test_wcfuncs.c (main): Likewise.
6493 * wctype/test_wctype.c (main): Likewise.
6495 * stdlib/tst-random.c: Add attribute noreturn to fail.
6497 2000-12-28 Wolfram Gloger <wg@malloc.de>
6499 * malloc/malloc.c (MALLOC_COPY): Handle case if source and
6500 destination overlap. Assume dest is always below source if
6503 2000-12-30 Ulrich Drepper <drepper@redhat.com>
6505 * elf/dl-close.c (_dl_close): We can ignore the NODELETE flag if the
6506 object was not yet initialized.
6508 2000-12-28 H.J. Lu <hjl@gnu.org>
6510 * elf/dl-deps.c (_dl_map_object_deps): Make sure the DSO state
6511 is always consistent even if its dependency is failed.
6513 * elf/dl-open.c (_dl_open): Increment the open count before
6514 calling _dl_close () in case of failure.
6516 * elf/neededtest4.c: New file.
6517 * elf/neededobj5.c: New file.
6518 * elf/neededobj6.c: New file.
6520 * elf/Makefile (distribute): Add neededobj5.c and neededobj6.c.
6521 (tests): Add neededtest4.
6522 (modules-names): Add neededobj5 and neededobj6.
6523 ($(objpfx)neededobj6.so): New target.
6524 ($(objpfx)neededtest4): New target.
6525 ($(objpfx)neededtest4.out): New target.
6527 2000-12-28 Joseph S. Myers <jsm28@cam.ac.uk>
6529 * misc/sys/cdefs.h (__attribute_format_strfmon__): Define.
6530 * stdlib/monetary.h: Add strfmon format attributes.
6532 2000-12-28 Roland McGrath <roland@frob.com>
6534 * sysdeps/mach/hurd/ioctl.c (do_ioctl): Avoid double-increment after
6535 __mempcpy does it for us.
6537 2000-12-28 Andreas Jaeger <aj@suse.de>
6539 * sysdeps/generic/dl-environ.c: Add prototype for unsetenv.
6541 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Add prototype for
6544 * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Add prototype for
6547 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Add prototype for
6550 * sysdeps/unix/sysv/linux/i386/chown.c: Add prototypes for
6551 __chown_is_lchown and __real_chown.
6553 * sysdeps/generic/ldsodefs.h: Add noreturn attribute to
6556 * sunrpc/rpc_hout.c (print_funcdef): Add break statement to shut
6557 up GCC's warning about "deprecated use of label at end of compound
6559 * sunrpc/rpc_cout.c (emit_inline): Likewise.
6561 * gmon/bb_exit_func.c: Include <sys/gmon.h> for internal
6563 Remove struct bb and __bb_head since those are declared by
6566 2000-12-22 Ben Collins <bcollins@debian.org>
6568 * manual/charset.texi: Fix typo in description of WCHAR_MAX.
6570 * manual/argp.texi: Document argp_domain as part of struct argp.
6572 2000-12-28 Andreas Jaeger <aj@suse.de>
6574 * catgets/Makefile (generated): Add sample.SJIS.cat.
6576 * sunrpc/rpc_dtable.c: Include rpc/clnt.h for prototypes.
6578 * elf/dl-minimal.c: Add prototypes.
6580 * include/locale.h: Add internal prototypes.
6581 * include/sys/gmon.h: Likewise.
6583 * dlfcn/errmsg1mod.c: Add prototype for foo to shut up GCC.
6585 2000-12-27 Ben Collins <bcollins@debian.org>
6587 * elf/dl-open.c (_dl_open): Correctly set the new objname pointer
6588 when reallocating the error strings.
6589 Reported by Kalle Olavi Niemitalo <kon@iki.fi>
6591 2000-12-27 Ulrich Drepper <drepper@redhat.com>
6593 * dlfcn/Makefile (tests): Add errmsg1.
6594 (modules-names): Add errmsg1mod.
6595 Add rules to run errmsg1.
6596 * dlfcn/errmsg1.c: New file.
6597 * dlfcn/errmsg1mod.c: New file.
6599 * dlfcn/dlerror.c (dlerror): Always create output string which
6600 includes object file name.
6602 * sysdeps/alpha/alphaev6/memcpy.S: Don't go through unrolled loop
6603 if we would go through it only once.
6604 Patch by Rick Gorton <rick.gorton@api-networks.com>.
6606 * sysdeps/alpha/alphaev67/strncat.S: Fix handling of numeric parameter.
6607 Patch by Richard Henderson <rth@redhat.com>.
6609 2000-12-27 Jakub Jelinek <jakub@redhat.com>
6611 * malloc/malloc.c (memmove): Add prototypes.
6612 (MALLOC_MEMMOVE): Define.
6613 (chunk_realloc): Use it instead of MALLOC_COPY if source and
6614 destination might overlap.
6616 2000-12-27 Andreas Jaeger <aj@suse.de>
6618 * stdio-common/printf_fp.c (__printf_fp): Add prototype for nested
6620 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
6621 * locale/programs/locale.c (show_locale_vars): Likewise.
6622 (show_info): Likewise.
6623 * locale/programs/ld-collate.c (collate_output): Likewise.
6624 * locale/programs/ld-ctype.c (set_class_defaults): Likewise.
6625 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
6626 * stdlib/rpmatch.c (rpmatch): Likewise.
6628 * setjmp/tst-setjmp.c: Make local functions static.
6629 * setjmp/jmpbug.c: Likewise.
6630 * signal/tst-signal.c: Likewise.
6631 * stdio-common/tfformat.c: Likewise.
6632 * string/tst-svc.c: Likewise.
6633 * time/clocktest.c: Likewise.
6634 * time/tst-getdate.c: Likewise.
6635 * dirent/list.c: Likewise.
6636 * dirent/opendir-tst1.c: Likewise.
6637 * posix/runtests.c: Likewise.
6638 * posix/tst-getaddrinfo.c: Likewise.
6639 * posix/tst-chmod.c: Likewise.
6640 * posix/wordexp-test.c: Likewise.
6641 * misc/tst-efgcvt.c: Likewise.
6642 * timezone/tst-timezone.c: Likewise.
6643 * rt/tst-clock.c: Likewise.
6644 * rt/tst-shm.c: Likewise.
6645 * rt/tst-aio2.c: Likewise.
6646 * rt/tst-aio3.c: Likewise.
6647 * rt/tst-aio4.c: Likewise.
6648 * rt/tst-aio5.c: Likewise.
6650 * dlfcn/failtest.c: Add prototype for foo.
6652 * dlfcn/glrefmain.c: Add prototype for do_test.
6654 * dlfcn/tst-dladdr.c: Add prototype for do_test.
6656 * string/test-ffs.c (main): Add prototype for nested function.
6658 * sunrpc/des_soft.c: Include rpc/des_crypt.h for prototype.
6660 * nss/XXX-lookup.c: Add prototype to shut up GCC.
6662 * include/netinet/ether.h (DECLARE_NSS_PROTOTYPES): Fix
6663 setetherent prototype.
6664 Add internal interfaces.
6666 * nis/nss_nis/nis-ethers.c (_nss_nis_setetherent): Likewise.
6667 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent): Likewise.
6669 * resolv/res_data.c: Don't add (conflicting) prototypes for _LIBC.
6671 * nis/nis_intern.h: Add prototype for __pmap_getnisport.
6673 * nss/nss_files/files-ethers.c: Include netinet/ether.h to get
6674 prototypes, remove struct etherent since it's declared in ether.h.
6675 Fix ntohost declaration.
6677 * elf/dl-profile.c (_dl_mcount): Add empty statement to shut up GCC.
6679 * include/getopt.h: Add internal interfaces.
6680 * include/termios.h: Likewise.
6681 * include/resolv.h: Likewise.
6682 * include/netdb.h: Likewise.
6683 * include/grp.h: Likewise.
6684 * include/pwd.h: Likewise.
6685 * include/shadow.h: Likewise.
6686 * include/rpc/netdb.h: Likewise.
6687 * include/setjmp.h: Likewise.
6689 * include/stdio.h: Add prototypes for compatibility functions.
6690 * include/grp.h: Likewise.
6691 * include/pwd.h: Likewise.
6692 * include/shadow.h: Likewise.
6694 * include/fenv.h: Define internal interfaces.
6696 2000-12-27 Ulrich Drepper <drepper@redhat.com>
6698 * sysdeps/generic/bits/byteswap.h (__bswap_64): Handle constant
6699 argument case separately.
6700 * sysdeps/i386/bits/byteswap.h (__bswap_64): Likewise.
6702 2000-12-27 Andreas Jaeger <aj@suse.de>
6704 * include/sys/wait.h: Add some prototypes.
6705 * Rules (dummy.c): Create also prototype to shut up GCC.
6707 2000-12-27 Andreas Jaeger <aj@suse.de>
6709 * sysdeps/mach/hurd/if_index.c (__protocol_available): Uncomment,
6710 it's not needed at the moment.
6711 * sysdeps/generic/if_index.c (__protocol_available): Likewise.
6712 * sysdeps/unix/sysv/linux/if_index.c (__protocol_available): Likewise.
6714 2000-12-26 Andreas Jaeger <aj@suse.de>
6716 * libio/getc_u.c: Include stdio.h via system path to get internal
6718 * libio/getwc_u.c: Likewise.
6720 * stdlib/strfmon.c: Fix prototype of __printf_fp.
6722 * stdio-common/vfprintf.c (process_arg): Move __printf_fphex and
6723 __printf_fp prototypes to ...
6724 * include/printf.h: ...here.
6726 * include/stdio.h: Add some internal prototypes to shut up GCC.
6727 * include/stdlib.h: Likewise.
6729 * sysdeps/posix/sigpause.c (__sigpause): Use ISO C prototype
6732 * include/signal.h: Add prototypes for internal sigpause
6735 2000-12-26 Ulrich Drepper <drepper@redhat.com>
6737 * sysdeps/generic/bits/byteswap.h (__bswap_64): Make it usable for
6738 64bit platforms. Reported by Dave Gilbert <gilbertd@treblig.org>.
6740 * string/Makefile (tests): Add tst-bswap.
6741 * string/tst-bswap.c: New file.
6743 2000-12-11 Bruno Haible <haible@clisp.cons.org>
6745 * Makefile ($(inst_includedir)/gnu/stubs.h): Sort in the C locale.
6747 2000-12-26 Ulrich Drepper <drepper@redhat.com>
6749 * sunrpc/Makefile (rpcgen-cmd): Use single quotes in sed call.
6750 Patch by Ed Connell <Ed.Connell@sas.com>.
6752 2000-12-24 Ulrich Drepper <drepper@redhat.com>
6754 * locale/iso-639.def: Correct one entry. Add two missing entries.
6756 * locale/iso-4217.def: Change entry for Eritrea.
6757 Reported by Daniel Yacob <yacob@geez.org>.
6759 2000-12-23 Ben Collins <bcollins@debian.org>
6761 * manual/charset.texi (Extended Char Intro): Fix typo in ISO 6937
6764 * manual/stdio.texi (Dynamic Output): Document the return value of
6765 asprintf. Also make the asprintf/snprintf examples a little
6766 better (check for some error returns).
6768 2000-12-22 Andreas Jaeger <aj@suse.de>
6770 * include/stdio.h: Add __ftrylockfile prototype.
6772 2000-12-21 H.J. Lu <hjl@gnu.org>
6774 * sysdeps/ia64/fpu/math_ldbl.h (ieee_long_double_shape_type):
6775 Make sign_exponent element signed.
6777 * sysdeps/ieee754/ldbl-96/math_ldbl.h (ieee_long_double_shape_type):
6780 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Remove dead branch.
6782 2000-12-21 Andreas Jaeger <aj@suse.de>
6784 * nis/nss_nisplus/nisplus-ethers.c (struct etherent): Removed.
6785 * inet/ether_hton.c: Likewise
6786 * inet/ether_ntoh.c: Likewise.
6788 * nis/nss_nis/nis-ethers.c (_nss_nis_getntohost_r): Fix
6789 declaration to match prototype.
6791 * include/netinet/ether.h (struct etherent): Declare here so that
6792 all implementations use the same struct.
6794 * nis/nss_nis/nis-ethers.c: Include netinet/ether.h to get
6796 (struct ether): Removed.
6797 Use struct etherent instead of ether everywhere.
6799 * include/rpc/auth.h (DECLARE_NSS_PROTOTYPES): New.
6801 * include/rpc/auth_des.h (DECLARE_NSS_PROTOTYPES): New.
6803 * sunrpc/publickey.c: Include auth_des.h for prototypes.
6805 2000-12-20 Ulrich Drepper <drepper@redhat.com>
6807 * math/test-misc.c: Add more tests for nextafter functions.
6809 * sysdeps/i386/fpu/s_nextafterl.c: Handle change from denormal to
6810 normal correctly. Correct test for sign.
6811 Based on a patch by HJ Lu.
6813 2000-12-19 Ulrich Drepper <drepper@redhat.com>
6815 * Makeconfig (preprocess-version): Add -traditional to gcc call.
6818 2000-12-19 Andreas Jaeger <aj@suse.de>
6820 * include/netinet/ether.h (DECLARE_NSS_PROTOTYPES): New.
6822 * nis/nis_intern.h: Add prototype for __do_niscall3.
6824 * nis/nss_nis/nis-rpc.c (_nss_nis_setrpcent): Fix declaration to
6827 * include/netdb.h (DECLARE_NSS_PROTOTYPES): Reformat.
6829 * include/rpc/netdb.h (DECLARE_NSS_PROTOTYPES): New.
6831 * include/aliases.h (DECLARE_NSS_PROTOTYPES): New.
6833 2000-12-18 Ulrich Drepper <drepper@redhat.com>
6835 * math/test-misc.c: Add more tests for nextafter.
6836 * sysdeps/i386/fpu/s_nextafterl.c: Handle decrement for x<0 correctly.
6837 * sysdeps/ieee754/ldbl-96/math_ldbl.h
6838 (ieee_long_double_shape_type): Make sign_exponent element signed.
6840 * manual/message.texi: Add Estonian to plural overview list.
6841 Correct rule for Slavic languages.
6842 Patch by Stanislav Brabec <utx@penguin.cz>.
6844 * nis/nss_nis/nis-netgrp.c: Remove unnecessary initializations.
6846 2000-12-18 Andreas Jaeger <aj@suse.de>
6848 * test-skeleton.c: Use temp_name_list instead of name_list to
6849 avoid collision with name_list from inet/netgroup.h.
6851 * nss/nss_files/files-network.c (NEED_H_ERRNO): Define.
6853 * include/grp.h (DECLARE_NSS_PROTOTYPES): New.
6854 * include/pwd.h (DECLARE_NSS_PROTOTYPES): New.
6855 * include/netdb.h (DECLARE_NSS_PROTOTYPES): New.
6856 * include/shadow.h (DECLARE_NSS_PROTOTYPES): New.
6858 * hesiod/nss_hesiod/hesiod-proto.c (_nss_hesiod_setprotoent): Fix
6859 declaration to match prototype.
6860 * hesiod/nss_hesiod/hesiod-pwd.c (_nss_hesiod_setpwent): Likewise.
6861 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_setgrent): Likewise.
6862 * hesiod/nss_hesiod/hesiod-service.c (_nss_hesiod_setservent):
6864 * nis/nss_nis/nis-grp.c (_nss_nis_setgrent): Likewise.
6865 * nis/nss_nis/nis-pwd.c (_nss_nis_setpwent): Likewise.
6866 * nis/nss_nis/nis-proto.c (_nss_nis_setprotoent): Likewise.
6867 * nis/nss_nis/nis-service.c (_nss_nis_setservent): Likewise.
6868 (_nss_nis_getservbyport_r): Likewise.
6869 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent): Likewise.
6870 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent): Likewise.
6871 * nis/nss_nis/nis-network.c (_nss_nis_getnetent_r): Likewise.
6872 (_nss_nis_setnetent): Likewise
6873 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
6874 (_nss_nis_endnetgrent): Likewise.
6875 * nis/nss_nisplus/nisplus-netgrp.c (_nss_nisplus_endnetgrent):
6877 (_nss_nisplus_setnetgrent): Likewise.
6878 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Likewise.
6879 * nis/nss_nisplus/nisplus-pwd.c (_nss_nisplus_setpwent): Likewise.
6880 * nis/nss_nisplus/nisplus-grp.c (_nss_nisplus_setgrent): Likewise.
6881 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_setnetent):
6883 * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_sethostent):
6885 * nis/nss_nisplus/nisplus-service.c (_nss_nisplus_setservent):
6887 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_setprotoent):
6889 * nis/nss_compat/compat-spwd.c (_nss_compat_setspent): Likewise.
6890 * nis/nss_compat/compat-pwd.c (_nss_compat_setpwent): Likewise.
6891 * nis/nss_compat/compat-grp.c (_nss_compat_setgrent): Likewise.
6892 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Likewise.
6893 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Likewise.
6894 (_nss_dns_getnetbyaddr_r): Likewise.
6896 2000-12-17 Andreas Jaeger <aj@suse.de>
6898 * sysdeps/generic/k_sinl.c (__kernel_sinl): Fix functions
6901 * sysdeps/unix/sysv/linux/shm_open.c (freeit): Make static and add
6902 unused attribute to shut up gcc warnings.
6904 * sysdeps/generic/k_sinl.c: Include math_private for prototypes.
6905 * sysdeps/generic/k_tanl.c: Likewise.
6906 * sysdeps/generic/k_cosl.c: Likewise.
6907 * sysdeps/generic/e_j0l.c: Likewise.
6908 * sysdeps/generic/e_j1l.c: Likewise.
6909 * sysdeps/generic/e_jnl.c: Likewise.
6910 * sysdeps/generic/e_lgammal_r.c: Likewise.
6912 * elf/vismain.c: Move prototypes for functions in vismod*.c to
6914 * elf/vismod.h: New file.
6915 * elf/Makefile (distribute): Add vismod.h.
6916 * elf/vismod1.c: Include vismod.h.
6917 * elf/vismod2.c: Likewise.
6918 * elf/vismod3.c: Likewise.
6920 * elf/constload3.c: Add prototype declarations to shut up gcc.
6921 * elf/failobj.c: Likewise.
6922 * elf/nodelmod3.c: Likewise.
6923 * elf/filtmod1.c: Likewise.
6924 * elf/filtmod2.c: Likewise.
6925 * elf/reldepmod1.c: Likewise.
6926 * elf/reldepmod2.c: Likewise.
6927 * elf/reldepmod3.c: Likewise.
6928 * elf/reldepmod4.c: Likewise.
6929 * elf/unload2dep.c: Likewise.
6930 * elf/unload2mod.c: Likewise.
6931 * elf/ltglobmod1.c: Likewise.
6932 * elf/pathoptobj.c: Likewise.
6933 * elf/neededobj1.c: Likewise.
6934 * elf/neededobj2.c: Likewise.
6935 * elf/neededobj3.c: Likewise.
6936 * elf/neededobj4.c: Likewise.
6937 * elf/nextmod1.c: Likewise.
6938 * elf/nextmod2.c: Likewise.
6940 * locale/programs/ld-collate.c (collate_finish): Don't use labels
6941 at end of compound statement.
6942 * locale/programs/locale.c (show_info): Likewise.
6943 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Likewise.
6945 2000-12-16 Jakub Jelinek <jakub@redhat.com>
6947 * catgets/gencat.c (read_input_file): Avoid calling obstack_free
6948 with a pointer not returned by obstack_ functions.
6950 2000-12-16 Ulrich Drepper <drepper@redhat.com>
6952 * sysdeps/unix/sysv/aix/bits/stat.h (struct stat): Align with AIX
6954 (struct stat64): Likewise.
6955 Reported by Michael Keezer <mkeezer@redhat.com>.
6957 * timezone/asia: Update from tzdata2000h.
6958 * timezone/australasia: Likewise.
6959 * timezone/backward: Likewise.
6960 * timezone/europe: Likewise.
6961 * timezone/northamerica: Likewise.
6962 * timezone/southamerica: Likewise.
6963 * timezone/zone.tab: Likewise.
6965 2000-12-14 Jakub Jelinek <jakub@redhat.com>
6967 * io/ftw.c (ftw_dir): If process_entry returned non-zero result
6968 and dir.stream is NULL, only free dir.content.
6969 * io/ftwtest.c (cb, main): Add --early-exit option to test it.
6970 * io/ftwtest-sh: Test with --early-exit.
6972 2000-12-13 Jakub Jelinek <jakub@redhat.com>
6974 * misc/efgcvt.c (FCVT_MAXDIG): Define.
6975 (FCVT_BUFPTR): New variable.
6976 (fcvt): If fcvt_r returns -1 on the static short buffer,
6977 try to malloc a sufficiently large one and retry.
6978 (free_mem): New function.
6979 * misc/qefgcvt.c (FCVT_MAXDIG): Define.
6980 * misc/tst-efgcvt.c (fcvt_tests): Add new test.
6982 2000-12-15 Ulrich Drepper <drepper@redhat.com>
6984 * misc/dirname.c (dirname): Fix search for second to last slash.
6986 2000-12-13 Andreas Jaeger <aj@suse.de>
6988 * misc/tst-dirname.c (main): Fix typo in test to really use
6989 the examples from Unix98.
6990 Reported by Michael Kerrisk <mtk16@ext.canterbury.ac.nz>.
6992 2000-12-09 H.J. Lu <hjl@gnu.org>
6994 * sysdeps/ia64/fpu/s_fabs.S: New file.
6995 * sysdeps/ia64/fpu/s_fabsf.S: New file.
6996 * sysdeps/ia64/fpu/s_fabsl.S: New file.
6998 2000-12-15 Andreas Jaeger <aj@suse.de>
7000 * stdio-common/scanf9.c (main): Reformat and change to avoid
7003 * stdio-common/tstdiomisc.c: Make local functions static.
7004 * stdio-common/tst-printf.c: Likewise.
7006 * elf/constload2.c: Add prototype declarations to shut up gcc.
7007 * elf/dep1.c: Likewise.
7008 * elf/dep2.c: Likewise.
7009 * elf/dep3.c: Likewise.
7010 * elf/dep4.c: Likewise.
7011 * elf/ltglobmod2.c: Likewise.
7013 * libio/fmemopen.c: Make local functions static.
7015 * elf/Makefile (distribute): Added testobj.h.
7017 * elf/testobj.h: New file.
7019 * elf/testobj1.c: Include testobj.h and move prototype
7020 declarations to testobj.h.
7021 * elf/testobj2.c: Likewise.
7022 * elf/testobj3.c: Likewise.
7023 * elf/testobj4.c: Likewise.
7024 * elf/testobj5.c: Likewise.
7025 * elf/testobj6.c: Likewise.
7026 * elf/testobj1_1.c: Likewise.
7027 * elf/preloadtest.c: Likewise.
7029 2000-12-15 Ben Collins <bcollins@debian.org>
7031 * misc/sys/cdefs.h: Fix thinko in checks for flexarr macros.
7032 Patch by Akim Demaille <akim@epita.fr> in Debian bug report.
7034 2000-12-14 H.J. Lu <hjl@gnu.org>
7036 * sysdeps/ieee754/flt-32/s_sincosf.c (__sincosf): The exponent
7037 field in a float is 8 bits, not 11 bits.
7039 2000-12-13 Jakub Jelinek <jakub@redhat.com>
7041 * math/test-misc.c (main): Adjust m for IEEE quad long double.
7043 2000-12-13 Andreas Jaeger <aj@suse.de>
7045 * manual/message.texi (Using gettextized software): Fix typo.
7047 * manual/charset.texi (Converting a Character): Fix mbstouwcs
7049 Patch by Martin Buchholz <martin@xemacs.org>.
7051 * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Fix typo.
7052 Reported by Michael Kerrisk <mtk16@ext.canterbury.ac.nz>.
7054 2000-12-11 Andreas Jaeger <aj@suse.de>
7056 * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Declare
7057 kernel_sigset_t and use it.
7058 Patch by Hiroyuki Machida <machida@sm.sony.co.jp>.
7060 2000-12-10 Richard Henderson <rth@redhat.com>
7062 * sysdeps/alpha/alphaev67/fpu/Implies: New file.
7063 * sysdeps/alpha/alphaev6/fpu/e_sqrtf.S: New file.
7064 * sysdeps/alpha/alphaev6/fpu/e_sqrt.S: New file.
7066 2000-12-10 Jakub Jelinek <jakub@redhat.com>
7068 * sysdeps/alpha/htonl.S: Fix a typo.
7070 2000-12-10 Jakub Jelinek <jakub@redhat.com>
7072 * sysdeps/alpha/alphaev6/stxcpy.S: Exchange t8 with t10.
7074 2000-12-10 Andreas Jaeger <aj@suse.de>
7076 * locale/programs/ld-ctype.c (charclass_symbolic_ellipsis): Fixed
7077 cast as suggested by Jakub Jelinek <jakub@redhat.com> and Ulrich
7078 Drepper <drepper@redhat.com>.
7080 2000-12-09 Andreas Jaeger <aj@suse.de>
7082 * sysdeps/unix/sysv/linux/mips/sigaction.c: New file.
7084 * sysdeps/unix/sysv/linux/mips/sys/acct.h: Removed, we can use the
7086 Patches by Hiroyuki Machida <machida@sm.sony.co.jp>.
7088 * locale/programs/ld-collate.c (handle_ellipsis): Fix format
7091 * locale/programs/ld-ctype.c (charclass_symbolic_ellipsis): Fix
7094 * nscd/hstcache.c (addhstbyname): Add cast to avoid warning.
7095 * nscd/connections.c (handle_request): Likewise.
7096 * nscd/pwdcache.c (addpwbyname): Likewise.
7097 * nscd/grpcache.c (addgrbyname): Likewise.
7099 * nscd/nscd_conf.c (nscd_parse_file): Remove extra argument.
7101 2000-12-09 Ulrich Drepper <drepper@redhat.com>
7103 * string/stratcliff.c: Add tests for stpncpy, memcpy, and mempcpy.
7105 * Makeconfig (default_cflags): Make -O2 the default for stable
7108 2000-12-08 H.J. Lu <hjl@gnu.org>
7110 * sysdeps/ia64/fpu/s_isinfl.S: Renamed to ...
7111 * sysdeps/ia64/fpu/s_isinf.S: This.
7112 Add a .pred.rel.mutex note to avoid false report.
7114 * sysdeps/ia64/fpu/s_isnanl.S: Renamed to ...
7115 * sysdeps/ia64/fpu/s_isnan.S: This.
7117 * sysdeps/ia64/fpu/s_fpclassify.S: New file.
7118 * sysdeps/ia64/fpu/s_fpclassifyf.S: New file.
7119 * sysdeps/ia64/fpu/s_fpclassifyl.S: New file.
7120 * sysdeps/ia64/fpu/s_isinff.S: New file.
7121 * sysdeps/ia64/fpu/s_isinfl.S: New file.
7122 * sysdeps/ia64/fpu/s_isnanf.S: New file.
7123 * sysdeps/ia64/fpu/s_isnanl.S: New file.
7124 * sysdeps/ia64/fpu/s_finite.S: New file.
7125 * sysdeps/ia64/fpu/s_finitef.S: New file.
7126 * sysdeps/ia64/fpu/s_finitel.S: New file.
7127 * sysdeps/ia64/fpu/s_signbit.S: New file.
7128 * sysdeps/ia64/fpu/s_signbitf.S: New file.
7129 * sysdeps/ia64/fpu/s_signbitl.S: New file.
7130 * sysdeps/ia64/fpu/s_copysign.S: New file.
7131 * sysdeps/ia64/fpu/s_copysignf.S: New file.
7132 * sysdeps/ia64/fpu/s_copysignl.S: New file.
7134 2000-12-08 Ulrich Drepper <drepper@redhat.com>
7136 * math/libm-test.inc (main): Fix typos in messages.
7138 * string/stratcliff.c: Add test for rawmemchr.
7140 2000-12-08 Jakub Jelinek <jakub@redhat.com>
7142 * elf/dl-open.c (_dl_open): If objname points right after errstring,
7143 allocate it together with errstring using alloca.
7144 * elf/dl-error.c (_dl_signal_error): If malloc failed, set objname
7145 to "", because it might point to local stack.
7147 2000-12-05 H.J. Lu <hjl@gnu.org>
7149 * nss/Makefile (routines): Add getnssent and getnssent_r.
7150 * nss/nsswitch.h (__nss_setent): New internal NSS function.
7151 (__nss_endent): Likewise.
7152 (__nss_getent_r): Likewise.
7153 (__nss_getent): Likewise.
7154 * nss/getnssent_r.c: New file.
7155 * nss/getnssent.c: New file.
7156 * nss/getXXent.c (H_ERRNO_VAR): Updated.
7157 (GETFUNC_NAME): Updated to call __nss_getent ().
7158 * nss/getXXent_r.c (H_ERRNO_VAR_P): New.
7159 (STAYOPEN_TMPVAR): Updated.
7160 (STAYOPEN_VAR): Updated.
7161 (SETFUNC_NAME): Updated to call __nss_setent ().
7162 (ENDFUNC_NAME): Updated to call __nss_endent ().
7163 (INTERNAL (REENTRANT_GETNAME)): Updated to call __nss_getent_r ().
7165 2000-12-08 Andreas Jaeger <aj@suse.de>
7167 * nscd/dbg_log.h (dbg_log): Correct attribute.
7169 2000-12-08 Jakub Jelinek <jakub@redhat.com>
7171 * elf/dl-load.c (fillin_rpath): Don't assume there is '\0' at
7172 cp + len. Compute where from dirname.
7173 Reported by <jreiser@BitWagon.com>.
7175 2000-12-08 Richard Henderson <rth@twiddle.net>
7177 * sysdeps/alpha/_mcount.S: Fix typo.
7178 * sysdeps/alpha/strncpy.S: Likewise.
7180 * sysdeps/alpha/alphaev6/Implies: New file.
7181 * sysdeps/alpha/alphaev67/Implies: New file.
7182 * sysdeps/alpha/alphaev67/ffs.S: New file.
7183 * sysdeps/alpha/alphaev67/ffsll.S: New file.
7184 * sysdeps/alpha/alphaev67/rawmemchr.S: New file.
7185 * sysdeps/alpha/alphaev67/stpcpy.S: New file.
7186 * sysdeps/alpha/alphaev67/stpncpy.S: New file.
7187 * sysdeps/alpha/rawmemchr.S: New file.
7188 * sysdeps/alpha/strcat.S: Tail call to __stxcpy.
7189 * sysdeps/alpha/strcpy.S: Likewise.
7192 * sysdeps/alpha/alphaev6/addmul_1.s: New file.
7194 From rick.gorton@alpha-processor.com:
7195 * sysdeps/alpha/alphaev6/memchr.S: New file.
7196 * sysdeps/alpha/alphaev6/memcpy.S: New file.
7197 * sysdeps/alpha/alphaev6/memset.S: New file.
7198 * sysdeps/alpha/alphaev6/stxcpy.S: New file.
7199 * sysdeps/alpha/alphaev6/stxncpy.S: New file.
7200 * sysdeps/alpha/alphaev67/strcat.S: New file.
7201 * sysdeps/alpha/alphaev67/strchr.S: New file.
7202 * sysdeps/alpha/alphaev67/strlen.S: New file.
7203 * sysdeps/alpha/alphaev67/strncat.S: New file.
7204 * sysdeps/alpha/htonl.S: Use a shorter sequence.
7206 2000-12-08 Jakub Jelinek <jakub@redhat.com>
7208 * inet/getnameinfo.c (getnameinfo): Fix NI_NOFQDN support.
7209 Reported by <pspencer@fields.utoronto.ca>.
7211 2000-12-07 Jes Sorensen <jes@linuxcare.com>
7213 * sysdeps/ia64/elf/start.S (__data_start): Add __data_start variable.
7214 Pointed out by Hans Boehm.
7216 2000-12-07 H.J. Lu <hjl@gnu.org>
7218 * elf/dl-version.c (match_symbol): Check map->l_name[0] for printing.
7220 2000-12-07 Andreas Jaeger <aj@suse.de>
7222 * misc/error.c: Add format attributes for __error and __error_at_line.
7224 * nscd/dbg_log.h: Add format attribute.
7226 2000-12-08 Ulrich Drepper <drepper@redhat.com>
7228 * misc/sys/syslog.h: Add format attributes to syslog and vsyslog.
7229 Patch by Joseph S. Myers <jsm28@cam.ac.uk>.
7231 2000-12-07 Dan Pop <Dan.Pop@cern.ch>
7233 * sysdeps/ia64/strcpy.S: Fix a bug in a recovery code sequence.
7235 2000-12-06 Ulrich Drepper <drepper@redhat.com>
7237 * sysdeps/unix/sysv/aix/Makefile [$(subdir)==misc]
7238 (sysdep_routines): Add uitrunc.
7239 * sysdeps/unix/sysv/aix/uitrunc.c: New file.
7240 Patches by Michael Keezer <mkeezer@redhat.com>.
7242 2000-12-06 Roland McGrath <roland@frob.com>
7244 * sysdeps/mach/hurd/ioctl.c (__ioctl): Don't clobber ARG as we copy in
7245 argument data, since it will be used to copy out too (for INOUT).
7246 Reported by Marcus Brinkmann <marcus@gnu.org>.
7248 * sysdeps/mach/hurd/ioctl.c: Include <stdint.h>.
7249 (__ioctl): Use uintptr_t instead of unsigned long int.
7251 2000-12-06 Jim Wilson <wilson@redhat.com>
7253 * stdlib/l64a.c (l64a): Truncate M to 32-bit value.
7255 2000-12-06 Ulrich Drepper <drepper@redhat.com>
7257 * stdio-common/printf_fp.c (__printf_fp): Handle decimal point in
7258 x.5 rounding correctly.
7260 2000-12-06 Mark Kettenis <kettenis@gnu.org>
7262 * stdio-common/perror.c (perror): Conditionalize code dealing with
7263 wide-oriented streams on USE_IN_LIBIO.
7265 2000-12-06 Mark Kettenis <kettenis@gnu.org>
7267 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup): Mark
7268 as internal_function.
7270 2000-12-05 Ulrich Drepper <drepper@redhat.com>
7272 * sysdeps/alpha/elf/start.S (__data_start): Define.
7274 2000-12-05 H.J. Lu <hjl@gnu.org>
7276 * nss/getXXent_r.c (setup): Change the return type to int.
7278 2000-12-05 Ulrich Drepper <drepper@redhat.com>
7280 * sysdeps/unix/sysv/aix/Makefile [$(subdir)==misc]
7281 (sysdep_routines): Add restf and savef.
7282 * sysdeps/unix/sysv/aix/restf.c: New file.
7283 * sysdeps/unix/sysv/aix/savef.c: New file.
7284 Patches by Michael Keezer <mkeezer@redhat.com>.
7286 * sysdeps/unix/opendir.c (__opendir): Don't use o_directory_works
7287 if O_DIRECTORY is not defined.
7288 Patch by Michael Keezer <mkeezer@redhat.com>.
7290 * include/libc-symbols.h (C_SYMBOL_DOT_NAME): Define.
7291 Patch by Michael Keezer <mkeezer@redhat.com>.
7293 * locale/programs/linereader.c (get_toplvl_escape): Recognize more
7294 than 4 bytes in escape sequence.
7295 Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
7297 2000-12-05 Andreas Jaeger <aj@suse.de>
7299 * sysdeps/unix/sysv/linux/mips/sys/tas.h (_test_and_set): Don't
7302 * sysdeps/unix/sysv/linux/mips/sysdep.h: New file.
7304 * sysdeps/unix/sysv/linux/mips/sys/syscall.h: Removed.
7306 * sysdeps/unix/mips/sysdep.h: Use SYS_ify.
7307 Patches by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
7309 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Mark as
7311 * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Likewise.
7312 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start_cleanup): Likewise.
7314 * sysdeps/generic/dl-cache.c: Remove declaration of
7315 _dl_sysdep_read_whole_file.
7317 * elf/dl-load.c (_dl_map_object): Remove declaration of
7318 _dl_load_cache_lookup.
7320 * sysdeps/generic/ldsodefs.h: Add declarations of
7321 _dl_load_cache_lookup, _dl_unload_cache,
7322 _dl_sysdep_read_whole_file, _dl_sysdep_start and
7323 _dl_sysdep_start_cleanup.
7325 * elf/rtld.c: Remove prototypes that are defined in ldsodefs.h
7328 * elf/dl-misc.c: Include <ldsodefs.h> to get prototypes.
7329 * sysdeps/generic/dl-environ.c: Likewise.
7331 * stdio-common/printf_fp.c: Include <gmp.h> instead of
7333 * math/atest-exp.c: Likewise.
7334 * math/atest-exp2.c: Likewise.
7335 * math/atest-sincos.c: Likewise.
7336 * stdio-common/_itoa.c: Likewise.
7337 * stdio-common/_itowa.c: Likewise.
7339 * include/gmp.h: New file with internal prototypes.
7341 * sysdeps/generic/longjmp.c: Move _longjmp_unwind declaration from
7343 * include/setjmp.h: ...here.
7345 * locale/Makefile (routines): Remove codeset_name since it's not
7348 * locale/codeset_name.c: Removed.
7350 2000-12-05 Ulrich Drepper <drepper@redhat.com>
7352 * sysdeps/unix/sysv/aix/sys/param.h: Define MAXHOSTNAMELEN here.
7354 2000-12-05 Andreas Jaeger <aj@suse.de>
7356 * sysdeps/unix/sysv/linux/sys/param.h: Revert last patch.
7358 2000-12-05 Martin Schwidefsky <schwidefsky@de.ibm.com>
7360 * sysdeps/unix/sysv/linux/s390/mmap64.S: Use mmap if mmap2 isn't
7363 2000-12-05 Andreas Jaeger <aj@suse.de>
7365 * nss/test-netdb.c: Mark local functions as static to avoid
7367 (main): Use return to silence warning.
7369 * stdlib/test-canon.c (check_path): Mark as static to avoid warning.
7371 * stdio-common/test-popen.c: Mark local functions as static to
7373 (main): Use return to silence warning.
7375 * stdlib/testsort.c (compare): Mark as static to avoid warning.
7377 * assert/test-assert.c: Mark local functions as static to avoid
7379 * assert/test-assert-perr.c: Likewise.
7381 * math/libm-test.inc (main): Use return to silence warnings.
7383 2000-12-04 Ulrich Drepper <drepper@redhat.com>
7385 * math/fenv.h: Fix typo in comment.
7387 * math/test-misc.c (main): Add a few more over and underflow tests
7390 * sysdeps/i386/fpu/e_scalb.S: Handle NaN as first parameter correctly.
7391 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
7392 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
7393 * math/w_scalb.c: Don't use matherr except in SVID mode.
7394 * math/w_scalbf.c: Likewise.
7395 * math/w_scalbl.c: Likewise.
7396 * math/test-misc.c: Add test for NaN and scalbl.
7397 Reported by Fred J. Tydeman <tydeman@tybor.com>.
7399 2000-12-04 Ulrich Drepper <drepper@redhat.com>
7401 * configure.in: Define HAVE_ASM_GLOBAL_DOT_NAME for AIX.
7402 * config.h.in: Add HAVE_ASM_GLOBAL_DOT_NAME.
7403 * include/libc-symbols.h (strong_alias): Define special version
7404 for HAVE_ASM_GLOBAL_DOT_NAME.
7405 (weak_alias): Likewise.
7406 * sysdeps/powerpc/bsd-setjmp.S: Use strong_alias not .set.
7407 * sysdeps/unix/sysv/aix/Makefile [$(subdir)==login]
7408 (sysdep_routines): Add setutxent, getutxent, endutxent, getutxid,
7409 getutxline, pututxline, and utmpxname.
7410 * sysdeps/unix/sysv/aix/fchdir.c: Define __fchdir.
7411 * sysdeps/unix/sysv/aix/lseek.c: Define __libc_lseek alias.
7412 * sysdeps/unix/sysv/aix/open.c: Define __libc_open alias.
7413 * sysdeps/unix/sysv/aix/pread.c: Define pread alias.
7414 * sysdeps/unix/sysv/aix/pread64.c: Define pread64 alias.
7415 * sysdeps/unix/sysv/aix/sysdep.h (JUMPTARGET): Use C_TEXT.
7416 * sysdeps/unix/sysv/aix/bits/types.h: Define __clockid_t and __timer_t.
7417 * sysdeps/unix/sysv/aix/bits/utmp.h: Cleanup. Add comments.
7418 * sysdeps/unix/sysv/linux/sys/param.h (MAXHOSTNAMELEN): Define.
7419 Patches by Michael Keezer <mkeezer@redhat.com>.
7421 2000-12-04 H.J. Lu <hjl@gnu.org>
7423 * configure.in: Change --with-oldest-abi=ABI to
7424 --enable-oldest-abi=ABI.
7426 2000-12-02 Bruno Haible <haible@clisp.cons.org>
7428 * stdio-common/perror.c (perror): If stderr is wide-oriented, use
7429 fwprintf instead of fprintf.
7431 2000-12-04 Ulrich Drepper <drepper@redhat.com>
7433 * sysdeps/alpha/fpu/bits/mathdef.h: Remove FLT_EVAL_METHOD and
7434 DECIMAL_DIG definitions.
7435 * sysdeps/arm/fpu/bits/mathdef.h: Likewise
7436 * sysdeps/generic/bits/mathdef.h: Likewise
7437 * sysdeps/i386/fpu/bits/mathdef.h: Likewise
7438 * sysdeps/ia64/fpu/bits/mathdef.h: Likewise
7439 * sysdeps/m68k/fpu/bits/mathdef.h: Likewise
7440 * sysdeps/powerpc/fpu/bits/mathdef.h: Likewise
7441 * sysdeps/sparc/fpu/bits/mathdef.h: Likewise
7442 * sysdeps/sh/sh4/fpu/bits/mathdef.h: Likewise
7444 2000-12-03 Ulrich Drepper <drepper@redhat.com>
7446 * math/test-fenv.c (main): Use return instead of exit to avoid warning.
7448 * math/atest-exp.c: Mark local functions as static to avoid warnings.
7449 * math/atest-exp2.c: Likewise.
7450 * math/atest-sincos.c: Likewise.
7452 * sysdeps/i386/fpu/bits/mathdef.h (DECIMAL_DIG): Correct value.
7453 Reported by Fred J. Tydeman <tydeman@tybor.com>.
7455 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Hopefully fix
7456 the handling of denormalized numbers.
7458 * math/test-misc.c (main): Test for fpclassify and pseudo denormal
7460 * sysdeps/i386/fpu/fpclassifyl.c: New file.
7462 * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Handle the
7463 pseudo denormal representation of LDBL_MIN.
7465 * iconvdata/SJIS.irreversible: Remove unnecessary entries.
7466 * iconvdata/EUC-JP.irreversible: Remove unnecessary entries.
7468 * iconvdata/sjis.c: Enable round-trip mapping of backslash and tilde.
7469 * iconvdata/jis0208.c: Likewise.
7470 * iconvdata/jis0212.c: Likewise.
7471 Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
7473 * math/test-misc.c (main): More tests for frexp and some for
7474 fpclassify and isnormal.
7476 * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf): Correct
7478 Reported by Fred J. Tydeman <tydeman@tybor.com>.
7480 * math/test-misc.c (main): Add tests for frexp.
7481 Reported by Fred J. Tydeman <tydeman@tybor.com>.
7482 * sysdeps/i386/fpu/s_frexpl.S: Don't overflow during the computation.
7484 2000-12-02 H.J. Lu <hjl@gnu.org>
7486 * locale/lc-time.c (_nl_init_era_entries): Pass L'\0' instead of
7489 2000-12-02 Ulrich Drepper <drepper@redhat.com>
7491 * sysdeps/i386/fpu/s_frexp.S: Add missing fwait.
7492 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
7493 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
7495 * sysdeps/generic/glob.c: Adjust types of several variables to
7498 2000-12-01 Ulrich Drepper <drepper@redhat.com>
7500 * sysdeps/unix/sysv/linux/shm_open.c: Remove incorrect comment.
7502 2000-11-30 Roland McGrath <roland@frob.com>
7504 * hurd/hurd/ioctl.h (_HURD_HANDLE_IOCTLS_1): New macro.
7505 (_HURD_HANDLE_IOCTLS, _HURD_HANDLE_IOCTL): Redefine using it, so as to
7506 allow multiple instances using the same function name in one file.
7508 2000-12-01 Ulrich Drepper <drepper@redhat.com>
7510 * configure.in: Correct test for pserver CVS access.
7512 2000-11-28 H.J. Lu <hjl@gnu.org>
7514 * libio/libio.h: Remove extra "#if ... #endif".
7516 2000-11-29 H.J. Lu <hjl@gnu.org>
7518 * stdio-common/vfscanf.c (ORIENT): Swap the COMPILE_WSCANF case.
7520 2000-12-01 H.J. Lu <hjl@gnu.org>
7522 * nss/getXXbyYY_r.c: Fix verioned symbol handling.
7523 * nss/getXXent_r.c: Likewise.
7524 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
7526 2000-11-30 H.J. Lu <hjl@gnu.org>
7528 * scripts/abi-versions.awk (oldest_abi): New variable.
7529 Handle the oldest ABI supported.
7531 * Makerules ($(common-objpfx)abi-versions.h): Set oldest_abi
7532 for scripts/abi-versions.awk.
7534 * configure.in: Add --with-oldest-abi=ABI.
7535 * configure: Rebuild.
7537 * config.make.in (oldest-abi): New.
7539 * config.h.in (GLIBC_OLDEST_ABI): New.
7541 * csu/version.c (banner): Support GLIBC_OLDEST_ABI.
7543 2000-11-30 Jakub Jelinek <jakub@redhat.com>
7545 * locale/setlocale.c (setname): Free for all categories, not just
7547 (setlocale): Store a copy of string passed by user, not the string
7550 2000-11-30 Roland McGrath <roland@frob.com>
7552 * sysdeps/mach/hurd/defs.c (init_stdio): Put this on __libc_subinit
7553 rather than _hurd_fd_subinit, so it happens after it's safe to use
7554 libc facilities like malloc.
7556 2000-11-28 Andreas Jaeger <aj@suse.de>
7558 * sysdeps/unix/sysv/linux/getdents.c: Add _syscall_getdents64
7559 declaration, adjust declaration of __syscall_getdents to match
7562 2000-11-29 H.J. Lu <hjl@gnu.org>
7564 * sysdeps/generic/readelflib.c (check_ptr): Undefine it first.
7566 2000-11-29 Andreas Jaeger <aj@suse.de>
7568 * sysdeps/unix/sysv/linux/hppa/brk.c (__brk): Remove unused variable.
7570 2000-11-28 Ulrich Drepper <drepper@redhat.com>
7572 * dlfcn/defaultmod1.c: Add prototypes to avoid warnings.
7573 * dlfcn/defaultmod2.c: Likewise.
7574 * dlfcn/dlopen.c: Likewise.
7575 * dlfcn/dlopenold.c: Likewise.
7576 * dlfcn/failtestmod.c: Likewise.
7577 * dlfcn/glreflib1.c: Likewise.
7578 * dlfcn/glreflib2.c: Likewise.
7579 * dlfcn/eval.c: Likewise. Add attributes.
7581 * ctype/ctype-extn.c: Define isblank and not __isblank.
7583 * time/strftime.c: Add const where necessary to avoid warnings.
7584 * time/strptime.c (strptime_internal): Add casts to avoid warnings.
7586 2000-11-22 Paul Eggert <eggert@twinsun.com>
7588 * time/strftime.c (my_strftime): Do not invoke mbrlen with a
7589 size of (size_t) -1; it's not portable.
7591 2000-11-28 Ulrich Drepper <drepper@redhat.com>
7593 * sysdeps/i386/fpu/libm-test-ulps: Adjust some values for the
7595 Reported by Michael Deutschmann <michael@talamasca.ocis.net>.
7597 2000-11-14 Jes Sorensen <jes@linuxcare.com>
7599 * sysdeps/ia64/_mcount.S: Call __mcount instead of __mcount_internal.
7601 * sysdeps/ia64/Makefile: Compile _mcount.S in subdir gmon as
7602 _mcount is required by profiled binaries.
7604 * sysdeps/unix/sysv/linux/ia64/machine-gmon.h: Moved to...
7605 * sysdeps/ia64/machine-gmon.h: ...here.
7607 2000-11-28 Masahide Washizawa <washi@jp.ibm.com>
7609 * iconvdata/Makefile (modules): Add IBM922, IBM1124, and IBM1129.
7610 (distribute): Add ibm922.c, ibm1124.c, ibm1129.c, ibm922.h, ibm1124.h,
7612 * iconvdata/gconv-modules: Add entries for IBM922, IBM1124, and
7614 * iconvdata/ibm922.c: New file.
7615 * iconvdata/ibm922.h: New file.
7616 * iconvdata/ibm1124.c: New file.
7617 * iconvdata/ibm1124.h: New file.
7618 * iconvdata/ibm1129.c: New file.
7619 * iconvdata/ibm1129.h: New file.
7620 * iconvdata/testdata/IBM922: New file.
7621 * iconvdata/testdata/IBM922..UTF8: New file.
7622 * iconvdata/testdata/IBM1124: New file.
7623 * iconvdata/testdata/IBM1124..UTF8: New file.
7624 * iconvdata/testdata/IBM1129: New file.
7625 * iconvdata/testdata/IBM1129..UTF8: New file.
7627 2000-11-28 Ulrich Drepper <drepper@redhat.com>
7629 * catgets/gencat.c (normalize_line): Take extra parameter with escape
7630 character. Change callers.
7631 (open_conversion): Determine mapping of 0x5c as wchar_t value.
7632 * catgets/Makefile: Add rules to build and run test-gencat.
7633 * catgets/sample.SJIS: New file.
7634 * catgets/test-gencat.c: New file.
7635 * catgets/test-gencat.sh: New file.
7636 Report and test case by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
7638 2000-11-28 Andreas Jaeger <aj@suse.de>
7640 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Synch with generic
7643 2000-11-28 Ulrich Drepper <drepper@redhat.com>
7645 * sysdeps/unix/sysv/linux/bits/socket.h: Fix last patch.
7647 2000-11-28 Andreas Jaeger <aj@suse.de>
7649 * sysdeps/unix/sysv/linux/bits/socket.h (struct cmsghdr): Use
7651 * sysdeps/unix/sysv/linux/mips/bits/socket.h (struct cmsghdr):
7654 2000-11-27 Ulrich Drepper <drepper@redhat.com>
7656 * misc/getusershell.c: Make strings in okshells array const.
7657 * misc/regexp.c: Add const to cast to avoid warnings.
7658 * sysdeps/unix/sysv/linux/llseek.c: Add prototype for __llseek.
7659 * sysdeps/unix/sysv/linux/i386/setresuid.c: Add prototype for
7661 * sysdeps/unix/sysv/linux/i386/setresgid.c: Add prototype for
7663 * misc/error.c: Add prototypes for __error and __error_at_line.
7664 * misc/mntent_r.c (__getmntent_r): Add break at end of switch
7665 statement to avoid warning.
7666 * test-skeleton.c: Mark timeout_handler with noreturn.
7667 * iconv/skeleton.c (get16u): Add const to cast.
7669 * iconvdata/gb18030.c: Likewise.
7670 * iconvdata/iso-2022-cn-ext.c: Likewise.
7671 * iconvdata/ansi_x3.110.c: Add cast to avoid warning.
7672 * iconvdata/big5.c: Likewise.
7673 * iconvdata/big5hkscs.c: Likewise.
7674 * iconvdata/iso_6937.c: Likewise.
7675 * iconvdata/iso_6937-2.c: Likewise.
7676 * iconvdata/t.61.c: Likewise.
7677 * iconvdata/iso646.c: Add prototypes for gconv_init and gconv_env.
7678 * iconvdata/unicode.c: Likewise.
7679 * iconvdata/utf-16.c: Likewise.
7680 * iconvdata/cns11643.h (ucs4_to_cns11643): Define needed as size_t.
7681 * iconv/gconv_trans.c (__gconv_translit_find): Avoid one warning
7682 with little code shuffling.
7684 * sysdeps/powerpc/Makefile (CFLAGS-initfini.s): Add -O1 to avoid
7685 the problems introduced when the user selects -O3.
7687 * iconv/gconv.h (__gconv_info): Define __data element using __flexarr.
7688 * misc/sys/cdefs.h: Define __flexarr.
7689 Proposed by Joseph S. Myers <jsm28@cam.ac.uk>.
7691 * iconvdata/iso-2022-jp.c: Add prototypes to avoid warnings.
7692 * iconv/skeleton.c: Likewise.
7693 * iconvdata/iso8859-1.c (BODY to 8859-1): Add const to cast.
7694 * iconv/loop.c (get16): Add const to cast.
7697 2000-11-27 Andreas Jaeger <aj@suse.de>
7699 * login/programs/pt_chown.c (do_pt_chown): Mark function as static
7701 * login/programs/utmpdump.c (print_entry): Likewise.
7703 2000-11-25 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
7705 * sysdeps/mips/__longjmp.c (__longjmp): Restore SP and FP last and
7706 in a single asm as they may be used to access other stored
7708 * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
7710 2000-11-27 Andreas Jaeger <aj@suse.de>
7712 * rt/tst-aio.c: Mark test functions as static to avoid warnings.
7713 * rt/tst-aio64.c: Likewise.
7715 2000-11-27 Ulrich Drepper <drepper@redhat.com>
7717 * catgets/Makefile (test1.cat): Set LC_ALL, LOCPATH, and GCONV_PATH
7719 (libc.cat): Likewise.
7720 * catgets/gencat.c: Implement handling of message catalogs encoded
7721 with stateful character sets.
7722 Based on a patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
7724 2000-11-26 Ulrich Drepper <drepper@redhat.com>
7726 * sysdeps/unix/opendir.c (__opendir): Add cast to avoid warning.
7728 * inet/getnameinfo.c: Adjust casts to avoid warnings.
7729 * inet/rcmd.c: Likewise.
7730 * inet/ruserpass.c: Likewise.
7731 * inet/netinet/in.h (IN6_IS_ADDR_UNSPECIFIED, IN6_IS_ADDR_LOOPBACK,
7732 IN6_IS_ADDR_MULTICAST, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
7733 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, IN6_ARE_ADDR_EQUAL,
7734 IN6_IS_ADDR_MC_NODELOCAL, IN6_IS_ADDR_MC_LINKLOCAL,
7735 IN6_IS_ADDR_MC_SITELOCAL, IN6_IS_ADDR_MC_ORGLOCAL,
7736 IN6_IS_ADDR_MC_GLOBAL): Preserve const in cast.
7737 * include/aliases.h: Add prototypes for internal __getalias* functions.
7738 * include/netdb.h: Add prototypes for __old_gethostent_r,
7739 __old_gethostbyaddr_r, __old_gethostbyname_r, __old_gethostbyname2_r,
7740 __old_getnetent_r, __old_getnetbyaddr_r, __old_getnetbyname_r,
7741 __old_getservent_r, __old_getservbyname_r, __old_getservbyport_r,
7742 __old_getprotoent_r, __old_getprotobyname_r, __old_getprotobynumber_r.
7743 * include/rpc/netdb.h: Add prototypes for __old_getrpcbyname_r,
7744 __old_getrpcbynumber_r, __old_getrpcent_r.
7746 * include/rpc/netdb.h: Add __getrpcbyname_r, __getrpcbynumber_r,
7747 __getrpcent_r prototypes.
7749 2000-11-25 Ulrich Drepper <drepper@redhat.com>
7751 * string/strcoll.c: Add casts to avoid warnings.
7752 * string/strnlen.c: Likewise.
7753 * string/strxfrm.c: Likewise.
7754 * sysdeps/generic/_strerror.c: Likewise.
7755 * sysdeps/generic/memrchr.c: Likewise.
7756 * sysdeps/generic/strcasestr.c: Likewise.
7757 * sysdeps/generic/strstr.c: Likewise.
7759 * locale/weight.h (findidx): Add const to cast to avoid warning.
7761 * elf/loadfail.c: Little cosmetic changes to avoid warnings.
7762 * elf/loadtest.c: Likewise.
7763 * elf/multiload.c: Likewise.
7764 * elf/next.c: Likewise.
7765 * elf/nodelete.c: Likewise.
7766 * elf/noload.c: Likewise.
7767 * elf/order.c: Likewise.
7768 * elf/origtest.c: Likewise.
7769 * elf/preloadtest.c: Likewise.
7770 * elf/restest1.c: Likewise.
7772 * sysdeps/i386/i486/bits/string.h (__strncat_g) [i686]: Fourth
7773 parameter of asm must be in %ecx.
7775 * string/tester.c: Mark test functions as static to avoid warnings.
7777 * iconv/gconv_conf.c (read_conf_file): Make mod_counter static to
7778 preserve value over different gconv-modules files.
7780 2000-11-24 Ulrich Drepper <drepper@redhat.com>
7782 * locale/findlocale.c: Add casts to avoid warnings.
7783 * locale/localeinfo.h (LIMAGIC): Add cast to avoid warnings.
7784 * misc/efgcvt_r.c (fcvt_r): Use ssize_t instead of int and add cast
7786 * misc/tsearch.c (const_node): New type.
7787 (trecurse): Correct casts to avoid warnings.
7788 (__twalk): Likewise.
7789 * stdlib/tst-limits.c: Add z modifier to formats for WORD_BIT and
7792 * debug/backtrace-tst.c (compare): Add casts to avoid warnings.
7794 * test-skeleton.c: Mark local functions as static to avoid warnings.
7796 2000-11-23 H.J. Lu <hjl@gnu.org>
7798 * rt/tst-aio6.c (do_test): Use pipe instead of STDIN_FILENO to
7799 support the background job.
7802 2000-11-24 Ulrich Drepper <drepper@redhat.com>
7804 * iconv/gconv_conf.c (insert_module): Replace old entry if new one
7805 has same names but lower cost.
7807 2000-11-23 Jakub Jelinek <jakub@redhat.com>
7809 * sysdeps/sparc/sparc32/dl-machine.h: Ifdef out handling for relocs
7810 which never occur during bootstrap.
7811 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
7813 2000-11-23 Andreas Jaeger <aj@suse.de>
7815 * nss/nss_files/files-hosts.c: Remove getipnodebyname.
7817 * nss/Versions: Remove _nss_files_getipnodebyname_r.
7819 * sysdeps/unix/sysv/linux/Versions: Fix typo in last patch.
7821 2000-11-18 Martin Buchholz <martin@xemacs.org>
7823 * csu/gmon-start.c (__gmon_start__): Avoid over-clever trick `if
7826 2000-11-21 Alan Modra <alan@linuxcare.com.au>
7828 * sysdeps/generic/bsd-_setjmp.c (setjmp): Rename to _setjmp.
7830 * csu/abi-note.S: Correct comment for operating system number.
7832 2000-11-22 Ulrich Drepper <drepper@redhat.com>
7834 * Versions.def: Add GLIBC_2.2.1 for glibc.
7836 2000-11-22 Andreas Schwab <schwab@suse.de>
7838 * sysdeps/unix/sysv/linux/syscalls.list: Add pivot_root.
7839 * sysdeps/unix/sysv/linux/Versions: Add pivot_root at GLIBC_2.2.1.
7841 2000-11-22 Ulrich Drepper <drepper@redhat.com>
7843 * rt/aio_suspend.c (aio_suspend): Convert timeout value to
7844 absolute time for pthread_cond_timedwait call.
7845 Reported by Lawrence Chen <lchen@opentext.com> [libc/1930].
7847 * rt/Makefile (tests): Add tst-aio6.
7848 * rt/tst-aio6.c: New file.
7850 2000-11-23 Andreas Jaeger <aj@suse.de>
7852 * sysdeps/s390/bits/string.h (strncat): Fix one more typo.
7854 2000-11-22 Andreas Jaeger <aj@suse.de>
7856 * sysdeps/s390/bits/string.h (strncat): Add missing quotation marks.
7858 2000-11-21 Martin Schwidefsky <schwidefsky@de.ibm.com>
7860 * sysdeps/s390/bits/string.h: Make strncat always add a \0.
7862 2000-11-21 Andreas Schwab <schwab@suse.de>
7864 * sysdeps/alpha/setjmp.S: Remove __setjmp entry point.
7865 * sysdeps/arm/setjmp.S: Likewise.
7866 * sysdeps/arm/fpu/setjmp.S: Likewise.
7867 * sysdeps/i386/setjmp.S: Likewise.
7868 * sysdeps/i386/elf/setjmp.S: Likewise.
7869 * sysdeps/s390/setjmp.S: Likewise.
7870 * sysdeps/s390/elf/setjmp.S: Likewise.
7871 * sysdeps/sh/sh3/setjmp.S: Likewise.
7872 * sysdeps/sh/sh4/setjmp.S: Likewise.
7873 * sysdeps/sparc/sparc32/setjmp.S: Likewise.
7874 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
7875 * sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S: Likewise.
7876 * sysdeps/unix/sysv/linux/m68k/setjmp.c: Removed.
7878 2000-11-21 Andreas Jaeger <aj@suse.de>
7880 * sysdeps/generic/__longjmp.c (__longjmp): Remove obsolete
7881 NORETURN, fix parameter list.
7883 * string/bug-strncat1.c (main): Fix typo.
7884 Patch by Bernhard Kaindl <bernhard.kaindl@suse.de>.
7886 2000-11-20 Ulrich Drepper <drepper@redhat.com>
7888 * configure.in: Add --enable-all-warnings.
7889 * config.make.in (all-warnings): New variable.
7890 * Makeconfig (+gccwarn): Define with many more warnings if
7891 all-warnings is yes.
7893 2000-11-20 Jakub Jelinek <jakub@redhat.com>
7895 * iconvdata/bug-iconv2.c (main): Use %zd in format string.
7896 * io/test-lfs.c (do_test): Cast statbuf.st_size to long long.
7897 * malloc/tst-valloc.c (main): Cast valloc return value to long.
7898 * malloc/tst-obstack.c (verbose_malloc): Use %zd in format string.
7899 * math/test-fpucw.c (main): Use %lx in format string, cast
7900 control words to long.
7901 * stdio-common/tst-fmemopen.c (main): Use %td in format strings.
7902 * stdlib/tst-strtol.c (tests): Avoid (bogus?) decimal constant is so
7903 large that it is unsigned warning.
7905 * sysdeps/unix/sysv/linux/sparc/bits/types.h (__ssize_t): Changing
7906 it to long on sparc64.
7908 2000-11-20 Andreas Jaeger <aj@suse.de>
7910 * nscd/nscd.h (termination_handler): Add noreturn attribute.
7911 (receiv_print_stats): Likewise.
7913 * elf/ldconfig.c (path_hwcap): Cast -1 for proper comparison.
7915 2000-11-20 Ulrich Drepper <drepper@redhat.com>
7917 * malloc/thread-m.h: gcc doesn't tolerate zero-sized types anymore.
7919 * csu/gmon-start.c: Always have prototype for __gmon_start.
7920 * csu/version.c: Add prototypes for __libc_print_version and
7922 * iconv/gconv.c: Include gconv_int.h and gconv.h.
7923 * iconv/gconv.h (struct __gconv_step): Remove const from __from_name
7925 * iconv/gconv_builtin.h: Add ASCII module definitions.
7926 * iconv/gconv_conf.c (__gconv_path_elem): Remove const.
7927 (add_module): Add cast to avoid warning. Rework construction of
7928 strings for new module.
7929 * iconv/gconv_db.c (__gconv_alias_compare): Make s1 and s2 const.
7930 (derivation_compare): Likewise.
7931 * iconv/gconv_dl.c (do_release_shlib): Remove const from nodep.
7932 (__gconv_release_shlib): Cast do_release_shlib as parameter for twalk.
7933 * iconv/gconv_int.h (__gconv_path_elem): Remove const.
7934 (struct gconv_alias): Remove const from fromname and toname.
7935 * iconv/gconv_simple.c: Include gconv_builtin.h to get prototypes
7937 (internal_ucs4_loop): Use correct const-ness.
7938 (ucs4_internal_loop): Likewise.
7939 (internal_ucs4le_loop): Likewise.
7940 (ucs4le_internal_loop_single): Likewise.
7941 * iconv/gconv_trans.c (__gconv_transliterate): Make from_idx, from_tbl,
7942 to_idx, to_tbl, winbuf, winbufend const. Change casts in
7943 assignments appropriately.
7944 (struct known_trans): Remove const from fname.
7945 (trans_compare): Make s1 and s2 const.
7946 * iconv/loop.c (LOOPFC): Make outend parameter const. Add cast to
7948 * iconv/skeleton.c: Remove cast in calls of loop functions.
7949 * iconvdata/gconv-modules: Remove US-ASCII definitions.
7950 * iconvdata/iso646.c: Remove US_ASCII support.
7951 * include/set-hooks.h (DEFINE_HOOK): Also generate prototype.
7952 * include/unistd.h: Add __libc_check_standard_fds prototype.
7953 * string/bits/string2.h (__mempcpy_args): Add const to casts.
7954 * sysdeps/generic/initfini.c: Add prototypes for dummy, _init, and
7956 * sysdeps/generic/libc-start.c: Add prototype for __libc_start_main.
7957 * sysdeps/i386/i486/bits/string.h (strcmp): Add const to casts.
7958 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Add cast to avoid
7960 * sysdeps/unix/sysv/linux/init-first.c: Add prototypes for
7961 __libc_init_first and _dl_start.
7962 * intl/dcigettext.c (transcmp): Make s1 and s2 const.
7963 (DCIGETTEXT): Make domaindata variable const.
7964 * intl/loadmsgcat.c (_nl_load_domain): Rearrange domain initialization
7967 2000-11-20 Hiroyuki Machida <machida@sm.sony.co.jp>
7969 * sysdeps/unix/sysv/linux/mips/clone.S: Fix comments.
7971 * sysdeps/unix/sysv/linux/mips/kernel_stat.h (kernel_stat): Expand
7972 time_t to 'long int' not, 'unsigned int'. Use 'long int' for
7975 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (O_NOFOLLOW): Use same
7976 value defined in /usr/include/asm-mips/fcntl.h.
7978 2000-11-18 Ulrich Drepper <drepper@redhat.com>
7980 * stdio-common/Makefile (tests): Add test-vfprintf.
7981 (test-vfprintf-ENV): New variable.
7982 * stdio-common/test-vfprintf.c: New file.
7984 * wcsmbs/mbrtowc.c (__mbrtowc): Do not only flush if input is '\0'.
7986 * wcsmbs/Makefile (tests): Add tst-mbrtowc and tst-wcrtomb.
7987 (tst-mbrtowc-ENV): New variable.
7988 (tst-wcrtomb-ENV): New variable.
7989 * wcsmbs/tst-mbrtowc.c: New file.
7990 * wcsmbs/tst-wcrtomb.c: New file.
7992 2000-11-16 Andreas Jaeger <aj@suse.de>
7994 * manual/install.texi (Tools for Compilation): Update
7995 documentation for GCC 2.95.2.
7997 2000-11-18 Ulrich Drepper <drepper@redhat.com>
7999 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only return -EAI_AGAIN
8000 if IPv4 and IPv6 requests timed out.
8002 2000-11-18 Akim Demaille <akim@epita.fr>
8004 * malloc/obstack.h: Formatting changes.
8005 (obstack_grow, obstack_grow0): Don't cast WHERE at all: it
8006 prevents type checking.
8007 (obstack_ptr_grow, obstack_ptr_grow_fast): When assigning, don't
8008 cast the value to (void *): assigning a `foo *' to a `void *'
8010 (obstack_int_grow, obstack_int_grow_fast): Don't cast AINT to int.
8012 2000-11-17 Ulrich Drepper <drepper@redhat.com>
8014 * scripts/config.guess: Update from upstream maintainer.
8015 * scripts/config.sub: Likewise.
8017 2000-11-16 Ulrich Drepper <drepper@redhat.com>
8019 * libio/freopen.c (freopen): Reset _mode after succesful reopening.
8020 * libio/freopen64.c (freopen64): Likewise.
8021 Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
8023 * libio/Makefile: Add rules to build and run test-freopen.
8024 * libio/test-freopen.c: New file.
8025 * libio/test-freopen.sh: New file.
8027 2000-11-15 H.J. Lu <hjl@gnu.org>
8029 * sysdeps/generic/ldsodefs.h (DL_DT_INIT_ADDRESS): Defined if
8030 ELF_FUNCTION_PTR_IS_SPECIAL is not defined.
8031 (DL_DT_FINI_ADDRESS): Likewise.
8033 * sysdeps/ia64/dl-lookupcfg.h (_dl_lookup_address): Set the
8034 return type to ElfW(Addr).
8035 (_dl_function_address): New prototype.
8036 (DL_FUNCTION_ADDRESS): Defined.
8037 (DL_DT_INIT_ADDRESS): Defined as DL_FUNCTION_ADDRESS.
8038 (DL_DT_FINI_ADDRESS): Likewise.
8040 * sysdeps/ia64/Versions (GLIBC_2.2): Add _dl_function_address.
8042 * sysdeps/ia64/dl-machine.h (_dl_start_address): Removed.
8043 (ELF_MACHINE_START_ADDRESS): Changed to DL_FUNCTION_ADDRESS.
8045 * sysdeps/ia64/dl-symaddr.c (_dl_start_address): Renamed to ...
8046 (_dl_function_address): This.
8048 * elf/dl-fini.c (_dl_fini): Use DL_DT_FINI_ADDRESS to get the
8049 function pointer for DT_FINI.
8050 * elf/dl-close.c (_dl_close): Likewise.
8052 * elf/dl-init.c (_dl_init): Use DL_DT_INIT_ADDRESS to get the
8053 function pointer for DT_INIT.
8055 2000-11-16 Jakub Jelinek <jakub@redhat.com>
8057 * sysdeps/generic/printf_fphex.c (__printf_fphex): Compute correctly
8058 end of wexpbuf buffer.
8060 2000-11-16 Andreas Jaeger <aj@suse.de>
8062 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove duplicate
8063 definition of F_GETLK, F_SETLK, F_SETLKW.
8065 2000-11-16 Andreas Jaeger <aj@suse.de>
8067 * sysdeps/generic/dl-cache.c (_DL_PLATFORMS_COUNT): Define to 0 if
8070 2000-11-15 Jakub Jelinek <jakub@redhat.com>
8072 * dlfcn/default.c (main): Add test for dladdr of main returning
8073 argv[0] in dli_fname field.
8075 2000-11-15 Jakub Jelinek <jakub@redhat.com>
8077 * Makeconfig (run-program-prefix): Move test-static test into the
8080 * sysdeps/alpha/dl-machine.h (RTLD_START): Update _dl_argv.
8081 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise,
8082 schedule instructions.
8083 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise,
8084 schedule instructions, fix a bug in copying auxiliary data.
8086 2000-11-15 Ulrich Drepper <drepper@redhat.com>
8088 * manual/startup.texi (Program Arguments): Fix type of main's envp
8090 Reported by Raúl Núñez de Arenas Coronado <dervishd@linuxfreak.com>.
8092 * iconvdata/gconv-modules: Add CP950 alias.
8094 2000-11-13 Jakub Jelinek <jakub@redhat.com>
8096 * sysdeps/unix/sysv/linux/Makefile: Allow ports to override
8097 syscall-list.h goal.
8098 * sysdeps/unix/sysv/linux/sparc/Makefile: New file.
8100 2000-11-15 Ulrich Drepper <drepper@redhat.com>
8102 * intl/Makefile: tst-gettext2.sh does not need a third parameter.
8104 * intl/tst-gettext2.sh: Copy locale data. Adjust LOCPATH. Verify
8107 * intl/tst-gettext2.c: Set C locale if setting other locale
8108 failed. Use gettext() not _().
8110 * locale/setlocale.c: Increment _nl_msg_cat_cntr whenever we
8111 successfully loaded a new locale.
8113 2000-11-13 Andreas Jaeger <aj@suse.de>
8115 * configure.in: Require gcc 2.95 or newer.
8117 2000-11-15 Ulrich Drepper <drepper@redhat.com>
8119 * sysdeps/unix/sysv/linux/paths.h: Adjust for FHS.
8120 Patch by Arkadiusz Miskiewicz <misiek@pld.ORG.PL>.
8122 2000-11-11 Jim Meyering <meyering@lucent.com>
8124 * string/strndup.c (strndup): Cast return value to `char *'.
8126 2000-11-15 Jim Meyering <meyering@ascend.com>
8128 * sysdeps/generic/memchr.c: Remove some useless parentheses.
8129 [HAVE_STDLIB_H || defined _LIBC]: Include <stdlib.h>.
8130 [HAVE_BP_SYM_H || defined _LIBC]: Guard inclusion of bp-sym.h.
8131 [! (HAVE_BP_SYM_H || defined _LIBC)] (BP_SYM): Define as no-op.
8132 Also #undef __memchr.
8133 Use `weak_alias' only if it's defined.
8135 2000-11-10 H.J. Lu <hjl@gnu.org>
8137 * Makefile.in (install): Set LANGUAGE=C LC_ALL=C.
8139 2000-11-15 Andreas Jaeger <aj@suse.de>
8141 * elf/chroot_canon.c: Include <stdint.h>.
8143 * elf/cache.c (struct cache_entry): Use uint64_t for hwcap.
8144 (print_entry): Likewise.
8145 (add_to_cache): Likewise.
8147 * elf/ldconfig.h (add_to_cache): Change prototype for hwcap change.
8149 * elf/ldconfig.c (struct lib_entry): Use uint64_t for hwcap.
8150 (path_hwcap): Likewise.
8151 (search_dir): Likewise.
8153 * sysdeps/generic/dl-cache.c (HWCAP_CHECK): Handle platform.
8155 * elf/cache.c (add_to_cache): Handle 64 bit hwcap entry.
8157 * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h
8158 (_dl_platform_string): New.
8159 (_DL_HWCAP_PLATFORM): New.
8160 (_dl_string_platform): New.
8161 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h: Likewise.
8163 * sysdeps/generic/dl-procinfo.h (_DL_HWCAP_COUNT): New.
8164 (_dl_string_platform): New.
8165 (_DL_HWCAP_PLATFORM): New.
8166 (_dl_platform_string): New.
8168 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Added x86 platform
8170 (_DL_HWCAP_COUNT): New.
8171 (_dl_string_platform): New.
8172 (_DL_HWCAP_PLATFORM): New.
8173 (_dl_platform_string): New.
8175 2000-11-14 Ulrich Drepper <drepper@redhat.com>
8177 * iconvdata/gconv-modules: Add CP936 as alias for GBK.
8179 2000-11-14 Andreas Jaeger <aj@suse.de>
8181 * sysdeps/generic/dl-cache.c (HWCAP_CHECK): Fix access to _dl_hwcap.
8183 2000-11-13 Roland McGrath <roland@frob.com>
8185 * hurd/get-host.c (_hurd_get_host_config): Fix last change.
8187 2000-11-13 Marcus Brinkmann <marcus@gnu.org>
8189 * hurd/get-host.c (_hurd_get_host_config): Fix possible buffer
8190 underrun and make sure the result is null terminated even if there
8191 is no trailing newline.
8193 2000-11-13 Jakub Jelinek <jakub@redhat.com>
8195 * sysdeps/alpha/fpu/libm-test-ulps: Update.
8197 2000-11-10 H.J. Lu <hjl@gnu.org>
8199 * sysdeps/ia64/fpu/libm-test-ulps: Updated.
8201 2000-11-10 Andreas Jaeger <aj@suse.de>
8203 * elf/ldconfig.c (create_links): Fix alloca calculation.
8204 Patch by Ben Collins <bcollins@debian.org>.
8206 2000-11-09 Ulrich Drepper <drepper@redhat.com>
8208 * inet/getnameinfo.c (getnameinfo): Use correct destination
8209 parameter for if_indextoname.
8210 Patch by Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>.
8212 2000-11-09 H.J. Lu <hjl@gnu.org>
8214 * sunrpc/Versions (GLIBC_2.1): Remove xdr_cryptkeyarg,
8215 xdr_cryptkeyarg2, xdr_cryptkeyres, xdr_des_block,
8216 xdr_key_netstarg, xdr_key_netstres, xdr_keybuf and
8219 * time/Versions (GLIBC_2.1): Move getitimer to...
8220 * sysdeps/unix/sysv/linux/alpha/Versions (GLIBC_2.1): ...here.
8222 2000-11-03 Bruno Haible <haible@clisp.cons.org>
8224 * manual/install.texi: Recommend to set LANGUAGE=C LC_ALL=C during
8225 "make install", to work around a binary incompatibility between
8226 glibc 2.1 and glibc 2.2 gconv modules.
8228 2000-11-09 Ulrich Drepper <drepper@redhat.com>
8230 * intl/locale.alias: Add thai.
8231 Patch by Chanop Silpa-Anan <chanop@syseng.anu.edu.au>.
8233 2000-11-07 Akim Demaille <akim@epita.fr>
8235 * malloc/obstack.c (obstack_grow, obstack_grow0): Rename the second
8236 argument `data' for consistency with the prototypes.
8238 (obstack_copy, obstack_copy0): Rename the second argument as
8239 `address' for consistency. Qualify it `const'.
8240 * malloc/obstack.h (obstack_copy, obstack_copy0, obstack_grow)
8241 (obstack_grow0, obstack_ptr_grow, obstack_ptr_grow_fast): Qualify
8242 `const' their input argument (`data' or `address').
8243 Adjust the corresponding macros to include `const' in casts.
8245 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
8247 * sysdeps/posix/getaddrinfo.c: Clean-up: define family to hold
8250 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
8252 * sysdeps/posix/getaddrinfo.c: Loosen protocol check to ease raw
8255 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
8257 * sysdeps/posix/getaddrinfo.c: Ensure to fill ai_socktype and
8258 ai_protocol by internal table if service was not given.
8260 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
8262 * sysdeps/posix/getaddrinfo.c: Don't raise an error even if
8263 numerical port was specified with protocol without socktype.
8265 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
8267 * sysdeps/posix/getaddrinfo.c: Ensure to check if protocol is ok.
8269 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
8271 * inet/getnameinfo.c: getnameinfo() NI_xxx flag validation.
8273 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
8275 * sysdeps/posix/getaddrinfo.c: Ensure not to fill garbage value in
8276 sin6_scope_id field.
8278 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
8280 * inet/getnameinfo.c: Repair getnameinfo() sin6_socpe_id support.
8282 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
8284 * inet/getnameinfo.c: Repair NI_NOFQDN flag support.
8286 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
8288 * inet/getnameinfo.c: Wake-up sin6_scope_id support in
8289 getnameinfo(): check for whether sin6_socpe_id exist was wrong.
8291 2000-11-09 Martin Schwidefsky <mschwide@nc.boeblingen.de.ibm.com>
8293 * sysdeps/unix/sysv/linux/s390/mmap.S: Use mmap2 if it is present.
8294 * sysdeps/unix/sysv/linux/s390/mmap64.S: New file.
8296 2000-11-09 H.J. Lu <hjl@gnu.org>
8298 * io/Versions (GLIBC_2.1.1): Remove lockf64.
8301 See ChangeLog.11 for earlier changes.