1 2001-06-12 Andreas Jaeger <aj@suse.de>
3 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Add ULPs for tanh (-0.7).
5 2001-06-11 Andreas Jaeger <aj@suse.de>
7 * sysdeps/ieee754/ldbl-128/e_coshl.c: New file. Contributed by
8 Stephen L Moshier <moshier@mediaone.net>.
10 * aclocal.m4: Quote AC_FD_MSG and AC_FD_CC.
12 * sysdeps/powerpc/fpu/libm-test-ulps: Add ULPs for tanh (-0.7).
13 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
15 2001-06-11 Michael Deutschmann <michael@talamasca.ocis.net>
17 * rt/tst-aio4.c (do_test): Test whether rt signals are supported.
18 Use my_signo instead of MY_SIGNO and initialize it so that the
19 used signal is always available.
21 2001-06-11 Andreas Jaeger <aj@suse.de>,
22 Michael Deutschmann <michael@talamasca.ocis.net>
24 * io/test-lfs.c (do_prepare): Clean up error messages.
25 (test_ftello): Check for EFBIG and ENOSP, clean up error messages.
28 2001-06-11 Andreas Jaeger <aj@suse.de>
30 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (IXANY, IUCLC,
31 IMAXBEL): Make always visible since they're needed by POSIX.
32 Closes PR libc/2320, reported by Chris Yeoh <cyeoh@samba.org>.
34 2001-06-10 Ben Collins <bcollins@debian.org>
36 * sysdeps/arm/elf/start.S: Use #function, not @function, for
39 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Include limits.h to get
42 2001-06-07 H.J. Lu <hjl@gnu.org>
44 * sunrpc/rpc/rpc.h: Add __BEGIN_DECLS/__END_DECLS.
46 2001-06-10 Roland McGrath <roland@frob.com>
48 * elf/reldep4mod2.c: Use fully typed decls to avoid warnings.
49 * elf/reldep4mod4.c: Likewise.
51 2001-06-10 Mark Kettenis <kettenis@gnu.org>
53 * hurd/hurd/threadvar.h: Add prototype for __hurd_errno_location.
55 2001-06-08 Andreas Schwab <schwab@suse.de>
57 * posix/regex.c (re_match_2_internal) [case wordbeg, wordend]:
58 Don't dereference at end of string.
60 2001-06-06 Roland McGrath <roland@frob.com>
62 * sysdeps/mach/hurd/getsockopt.c: Fix handling of returned buffer size.
63 From Robert Bihlmeyer <robbe@orcus.priv.at>.
65 2001-06-06 Ulrich Drepper <drepper@redhat.com>
67 * po/ko.po: Update from translation team.
69 2001-06-06 Andreas Jaeger <aj@suse.de>
71 * manual/llio.texi (Memory-mapped I/O): Clarify that mapping is to
73 Reported by Robert Bernecky <bernecky@acm.org>.
75 2001-06-06 Jakub Jelinek <jakub@redhat.com>
77 * sysdeps/cris/elf/start.S: Fix a typo introduced by last patch.
78 * sysdeps/ia64/elf/start.S: Likewise.
79 * sysdeps/sh/elf/start.S: Likewise.
80 * sysdeps/s390/s390-32/elf/start.S: Likewise.
81 * sysdeps/s390/s390-64/elf/start.S: Likewise.
83 2001-06-05 Matthew Wilcox <willy@ldl.fc.hp.com>
85 * sysdeps/hppa/bsd-_setjmp.S: New.
86 * sysdeps/hppa/bsd-setjmp.S: New.
88 * sysdeps/hppa/dl-machine.h: Reformat asm statements to remove new
89 gcc warnings about multi-line strings.
91 * sysdeps/unix/sysv/linux/hppa/getrlimit.c: Remove.
92 * sysdeps/unix/sysv/linux/hppa/setrlimit.c: Remove.
94 * sysdeps/unix/sysv/linux/hppa/syscalls.list: Call getrlimit,
95 setrlimit directly instead of using wrappers.
97 2001-05-01 Richard Hirst <rhirst@linuxcare.com>
99 * sysdeps/unix/sysv/linux/hppa/syscall.S: remove dummy syscall.
100 * sysdeps/unix/sysv/linux/hppa/sysdep.c: implement syscall.
102 2001-06-05 Philipp Thomas <pthomas@suse.de>
104 * nis/nis_call.c (__nisbind_connect): Don't mark for translation
105 what can't be translated.
107 2001-06-06 Ulrich Drepper <drepper@redhat.com>
109 * timezone/zic.c: Update from tzcode2001c.
110 * timezone/private.h: Likewise.
111 * timezone/africa: Update from tzdata2001c.
112 * timezone/asia: Likewise.
113 * timezone/europe: Likewise.
114 * timezone/northamerica: Likewise.
115 * timezone/southamerica: Likewise.
116 * timezone/zone.tab: Likewise.
118 2001-06-04 Bruno Haible <haible@clisp.cons.org>
120 * iconv/loop.c (UNICODE_TAG_HANDLER): New macro.
121 * iconv/gconv_simple.c (__gconv_transform_internal_ascii): Invoke
123 (__gconv_transform_internal_ucs2): Likewise.
124 (__gconv_transform_internal_ucs2reverse): Likewise.
125 * iconvdata/8bit-gap.c (BODY for TO_LOOP): Invoke UNICODE_TAG_HANDLER.
126 * iconvdata/8bit-generic.c (BODY for TO_LOOP): Likewise.
127 * iconvdata/ansi_x3.110.c (BODY for TO_LOOP): Likewise.
128 * iconvdata/big5.c (BODY for TO_LOOP): Likewise.
129 * iconvdata/big5hkscs.c (BODY for TO_LOOP): Likewise.
130 * iconvdata/cp1255.c (BODY for TO_LOOP): Likewise.
131 * iconvdata/cp1258.c (BODY for TO_LOOP): Likewise.
132 * iconvdata/euc-cn.c (BODY for TO_LOOP): Likewise.
133 * iconvdata/euc-jp.c (BODY for TO_LOOP): Likewise.
134 * iconvdata/euc-kr.c (BODY for TO_LOOP): Likewise.
135 * iconvdata/euc-tw.c (BODY for TO_LOOP): Likewise.
136 * iconvdata/gbk.c (BODY for TO_LOOP): Likewise.
137 * iconvdata/ibm930.c (BODY for TO_LOOP): Likewise.
138 * iconvdata/ibm932.c (BODY for TO_LOOP): Likewise.
139 * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
140 * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
141 * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
142 * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
143 * iconvdata/ibm943.c (BODY for TO_LOOP): Likewise.
144 * iconvdata/iso646.c (BODY for TO_LOOP): Likewise.
145 * iconvdata/iso8859-1.c (BODY for TO_LOOP): Likewise.
146 * iconvdata/iso_6937.c (BODY for TO_LOOP): Likewise.
147 * iconvdata/iso_6937-2.c (BODY for TO_LOOP): Likewise.
148 * iconvdata/iso-2022-cn.c (BODY for TO_LOOP): Likewise.
149 * iconvdata/iso-2022-cn-ext.c (BODY for TO_LOOP): Likewise.
150 * iconvdata/iso-2022-kr.c (BODY for TO_LOOP): Likewise.
151 * iconvdata/johab.c (BODY for TO_LOOP): Likewise.
152 * iconvdata/sjis.c (BODY for TO_LOOP): Likewise.
153 * iconvdata/t.61.c (BODY for TO_LOOP): Likewise.
154 * iconvdata/uhc.c (BODY for TO_LOOP): Likewise.
155 * iconvdata/unicode.c (BODY for TO_LOOP): Likewise.
156 * iconvdata/iso-2022-jp.c (TAG_none, TAG_language, TAG_language_j,
157 TAG_language_ja, TAG_language_k, TAG_language_ko, TAG_language_z,
158 TAG_language_zh, CURRENT_TAG_MASK): New enum values.
159 (EMIT_SHIFT_TO_INIT): Don't emit an escape sequence if ASCII_set
160 is already selected but set2 or tag are set.
161 (conversion): New enum type.
162 (cvlist_t): New type.
163 (CVLIST, CVLIST_FIRST, CVLIST_REST): New macros.
164 (conversion_lists): New array.
165 (BODY for TO_LOOP): Keep track of Unicode 3.1 language tag. If "ja",
166 prefer conversion to Japanese character sets. If "zh", prefer
167 conversion to GB2312. If "ko", prefer conversion to KSC5601. Small
169 (INIT_PARAMS): Add tag.
170 (UPDATE_PARAMS): Add tag.
172 2001-06-04 Bruno Haible <haible@clisp.cons.org>
174 * locale/programs/locfile.c (write_locale_data): Before creat(),
175 unlink the file, to avoid crashing the processes that mmap it. Change
176 a double slash to a single slash. Free fname in case of error return.
178 2001-06-02 Jakub Jelinek <jakub@redhat.com>
180 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Mostly revert 2000-12-03
181 changes, do the special handling for denormal numbers, not for
182 normalized numbers (patch by <trevin@xmission.com>).
184 * math/test-misc.c (main): Test frexpl with denormal arguments.
186 2001-06-04 Jakub Jelinek <jakub@redhat.com>
188 * math/libm-test.inc (llround_test): Add two new llround tests.
189 * sysdeps/ieee754/ldbl-96/s_llroundl.c (__llroundl): Don't allow
190 overflow when rounding away from zero.
192 2001-06-04 Jakub Jelinek <jakub@redhat.com>
194 * math/Makefile (libm-calls): Add e_log2, w_log2, remove s_log2.
195 * math/math_private.h (__ieee754_log2, __ieee754_log2f,
196 __ieee754_log2l): New prototypes.
197 * sysdeps/generic/w_log2.c: New file.
198 * sysdeps/generic/w_log2f.c: New file.
199 * sysdeps/generic/w_log2l.c: New file.
200 * sysdeps/generic/s_log2l.c: Move...
201 * sysdeps/generic/e_log2l.c: ...to here. Rename to __ieee754_log2l.
202 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle log2(0)
204 * sysdeps/i386/fpu/s_log2.S: Move...
205 * sysdeps/i386/fpu/e_log2.S: ...to here. Rename to __ieee754_log2.
206 * sysdeps/i386/fpu/s_log2f.S: Move...
207 * sysdeps/i386/fpu/e_log2f.S: ...to here. Rename to __ieee754_log2f.
208 * sysdeps/i386/fpu/s_log2l.S: Move...
209 * sysdeps/i386/fpu/e_log2l.S: ...to here. Rename to __ieee754_log2l.
210 * sysdeps/m68k/fpu/s_log2.S: Move...
211 * sysdeps/m68k/fpu/e_log2.S: ...to here. Rename to __ieee754_log2.
212 * sysdeps/m68k/fpu/s_log2f.S: Move...
213 * sysdeps/m68k/fpu/e_log2f.S: ...to here. Rename to __ieee754_log2f.
214 * sysdeps/m68k/fpu/s_log2l.S: Move...
215 * sysdeps/m68k/fpu/e_log2l.S: ...to here. Rename to __ieee754_log2l.
216 * sysdeps/ieee754/dbl-64/s_log2.c: Move...
217 * sysdeps/ieee754/dbl-64/e_log2.c: ...to here. Rename to
219 * sysdeps/ieee754/flt-32/s_log2f.c: Move...
220 * sysdeps/ieee754/flt-32/e_log2f.c: ...to here. Rename to
223 2001-06-04 Jakub Jelinek <jakub@redhat.com>
225 * sysdeps/generic/w_exp2.c (u_threshold): Lower threshold so that
226 even arguments which result in denormalized exp2 are accepted.
227 (__exp2): Arguments equal to u_threshold already result into
229 * sysdeps/generic/w_exp2f.c (u_threshold, __exp2f): Likewise.
230 * sysdeps/generic/w_exp2l.c (u_threshold, __exp2l): Likewise.
231 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Lomark was too
232 low, with corrected lowmark use greaterequal, not greater.
233 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
235 2001-06-04 Jakub Jelinek <jakub@redhat.com>
237 * math/libm-test.inc (ilogb_test): Test that ilogb(+-Inf) == INT_MAX.
238 * sysdeps/i386/fpu/s_ilogb.S (__ilogb): Return INT_MAX for +-Inf.
239 * sysdeps/i386/fpu/s_ilogbf.S (__ilogbf): Likewise.
240 * sysdeps/i386/fpu/s_ilogbl.S (__ilogbl): Likewise.
241 * sysdeps/ieee754/dbl-64/s_ilogb.c (__ilogb): Likewise.
242 * sysdeps/ieee754/flt-32/s_ilogbf.c (__ilogbf): Likewise.
243 * sysdeps/ieee754/ldbl-128/s_ilogbl.c (__ilogbl): Likewise.
244 * sysdeps/ieee754/ldbl-96/s_ilogbl.c (__ilogbl): Likewise.
246 2001-06-04 Jakub Jelinek <jakub@redhat.com>
248 * sysdeps/generic/w_coshl.c (__coshl): Test if finite argument
249 gave non-finite result instead of using constant in generic
251 * sysdeps/generic/w_coshf.c (__coshf): Likewise.
252 * sysdeps/generic/w_cosh.c (__cosh): Likewise.
253 * sysdeps/generic/w_exp10.c (o_threshold, u_threshold): Remove.
254 (__exp10): Test if finite argument gave non-finite result.
255 * sysdeps/generic/w_exp10f.c (o_threshold, u_threshold, __exp10f):
257 * sysdeps/generic/w_exp10l.c (o_threshold, u_threshold, __exp10l):
260 2001-06-04 Jakub Jelinek <jakub@redhat.com>
262 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Fix
263 overflow threshold constant (log(LDBL_MAX)+M_LN2l).
265 2001-05-29 Bruno Haible <haible@clisp.cons.org>
267 * locale/programs/ld-ctype.c (idx_table): New struct type.
268 (idx_table_init, idx_table_get, idx_table_add): New functions.
269 (MAX_CHARNAMES_IDX): Remove macro.
270 (locale_ctype_t): Change type of charnames_idx field.
271 (ctype_startup): Change initialization of charnames_idx field.
272 (find_idx): Use idx_table_get and idx_table_add for speed.
274 * locale/programs/charmap.c (charmap_new_char): Fix ucs4 value
275 computation of characters in a range.
277 2001-05-29 Bruno Haible <haible@clisp.cons.org>
279 * iconvdata/gb18030.c (__fourbyte_to_ucs1): Add mappings for <U03F4>,
281 (__ucs_to_gb18030_tab1): Likewise.
282 (BODY for FROM_LOOP): Add mapping for <U00010000>..<U0010FFFF>.
283 (BODY for TO_LOOP): Likewise.
284 * iconvdata/tst-table-charmap.sh: Update for charmaps containing
286 * iconvdata/tst-table-from.c (bmp_only): New variable.
287 (utf8_decode): If bmp_only, don't return characters outside Unicode
289 (main): When testing UTF-8 or GB18030, set bmp_only to 1. Don't print
290 a conversion line if utf8_decode returns NULL.
291 * iconvdata/tst-table-to.c (main): When testing encodings other than
292 UTF-8 and GB18030, loop upto U+30000 instead of U+10000. Use UTF-8
293 instead of UCS-2 as input.
294 * iconvdata/tst-table.sh: For GB18030, use only the part < 0x10000
297 2001-05-29 Bruno Haible <haible@clisp.cons.org>
299 * iconvdata/cns11643l1.c: Update to Unicode 3.1.
300 (__cns11643l1_to_ucs4_tab): Regenerated.
301 (__cns11643l1_from_ucs4_tab12): Regenerated.
302 * iconvdata/cns11643.c: Update to Unicode 3.1.
303 (__cns11643l14_to_ucs4_tab): Remove array.
304 (__cns11643l3_to_ucs4_tab, __cns11643l4_to_ucs4_tab,
305 __cns11643l5_to_ucs4_tab, __cns11643l6_to_ucs4_tab,
306 __cns11643l7_to_ucs4_tab, __cns11643l15_to_ucs4_tab): New arrays.
307 (__cns11643_from_ucs4p0_tab): Renamed from __cns11643_from_ucs4_tab.
308 (__cns11643_from_ucs4p2_tab): New array.
309 * iconvdata/cns11643.h (__cns11643l14_to_ucs4_tab): Remove declaration.
310 (__cns11643l3_to_ucs4_tab, __cns11643l4_to_ucs4_tab,
311 __cns11643l5_to_ucs4_tab, __cns11643l6_to_ucs4_tab,
312 __cns11643l7_to_ucs4_tab, __cns11643l15_to_ucs4_tab): New declarations.
313 (cns11643_to_ucs4): Treat planes 3, 4, 5, 6, 7, 15 instead of 14.
314 (__cns11643_from_ucs4_tab): Remove declaration.
315 (__cns11643_from_ucs4p0_tab, __cns11643_from_ucs4p2_tab): New
317 (ucs4_to_cns11643): Update for new arrays. Treat U+3400..U+4DFF and
319 * iconvdata/cns11643l2.h (__cns11643_from_ucs4_tab): Remove
321 (__cns11643_from_ucs4p0_tab): New declaration.
322 (ucs4_to_cns11643l2): Update for new arrays.
323 * iconvdata/iso-2022-cn-ext.c (BODY for FROM_LOOP): Handle planes
325 (BODY for TO_LOOP): Handle planes 3 to 7, instead of plane 14.
326 * iconvdata/EUC-TW.irreversible: New file.
327 * iconvdata/tst-table.sh: Use it.
328 * iconvdata/Makefile (distribute): Add CP1255.irreversible,
329 CP1258.irreversible, EUC-TW.irreversible.
331 2001-05-29 Bruno Haible <haible@clisp.cons.org>
333 * locale/C-translit.h.in: Add transliterations for new Unicode 3.1
334 mathematical symbols.
336 2001-06-05 Andreas Jaeger <aj@suse.de>
338 * manual/stdio.texi (Portable Positioning): Fix description of
341 2001-06-06 Ulrich Drepper <drepper@redhat.com>
343 * sysdeps/generic/wordexp.c: Undo last patch. Use strndupa instead.
345 * po/sk.po: Update from translation team.
347 2001-06-05 Andreas Jaeger <aj@suse.de>
349 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Recognize
350 tmpfs, patch by Stanislav Brabec <utx@penguin.cz>.
353 2001-06-05 Ulrich Drepper <drepper@redhat.com>
355 * sysdeps/generic/wordexp.c: Add missing free.
356 Patch by yeti@physics.muni.cz.
358 2001-06-02 Tom Browder <tbrowder@home.com>
360 * misc/tst-tsearch.c (mangle_tree): Ensure array indices are
361 within bounds when lag > 0.
363 2001-06-05 Ulrich Drepper <drepper@redhat.com>
365 * po/tr.po: New file.
367 2001-06-05 Andreas Jaeger <aj@suse.de>
369 * manual/libm-err-tab.pl (parse_ulps): Fix typo.
371 2001-06-04 H.J. Lu <hjl@gnu.org>
373 * sysdeps/alpha/elf/start.S: Add .type for the entry point.
374 * sysdeps/arm/elf/start.S: Likewise.
375 * sysdeps/hppa/elf/start.S: Likewise.
376 * sysdeps/i386/elf/start.S: Likewise.
377 * sysdeps/m68k/elf/start.S: Likewise.
378 * sysdeps/mips/elf/start.S: Likewise.
379 * sysdeps/ia64/elf/start.S: Likewise.
380 * sysdeps/sh/elf/start.S: Likewise.
381 * sysdeps/s390/s390-32/elf/start.S: Likewise.
382 * sysdeps/s390/s390-64/elf/start.S: Likewise.
383 * sysdeps/cris/elf/start.S: Likewise.
385 2001-06-04 Bruce Mitchener <bruce@cubik.org>
387 * manual/resource.texi: Correct setpriority/nice documentation.
389 * sysdeps/unix/nice.c: Correct nice() implementation.
391 2001-06-04 Andreas Jaeger <aj@suse.de>
393 * sysdeps/ieee754/ldbl-128/e_sinhl.c: New file, contributed by
394 Stephen L Moshier <moshier@mediaone.net>.
396 2001-06-03 Roland McGrath <roland@frob.com>
398 * Makefile (postclean): Remove obsolete sysd-Makefile.
400 2001-06-01 Roland McGrath <roland@frob.com>
402 * sysdeps/alpha/fpu/fclrexcpt.c: #include <shlib-compat.h>
403 and use compat_symbol/versioned_symbol instead of plain
404 symbol_version/default_symbol_version.
405 * sysdeps/alpha/fpu/fegetenv.c: Likewise.
406 * sysdeps/alpha/fpu/fesetenv.c: Likewise.
407 * sysdeps/alpha/fpu/feupdateenv.c: Likewise.
408 * sysdeps/alpha/fpu/fgetexcptflg.c: Likewise.
409 * sysdeps/alpha/fpu/fraiseexcpt.c: Likewise.
410 * sysdeps/alpha/fpu/fsetexcptflg.c: Likewise.
411 * sysdeps/arm/fpu/fclrexcpt.c: Likewise.
412 * sysdeps/arm/fpu/fegetenv.c: Likewise.
413 * sysdeps/arm/fpu/fesetenv.c: Likewise.
414 * sysdeps/arm/fpu/fraiseexcpt.c: Likewise.
415 * sysdeps/arm/fpu/fsetexcptflg.c: Likewise.
416 * sysdeps/i386/fpu/fclrexcpt.c: Likewise.
417 * sysdeps/i386/fpu/fegetenv.c: Likewise.
418 * sysdeps/i386/fpu/fesetenv.c: Likewise.
419 * sysdeps/i386/fpu/feupdateenv.c: Likewise.
420 * sysdeps/i386/fpu/fgetexcptflg.c: Likewise.
421 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
422 * sysdeps/i386/fpu/fsetexcptflg.c: Likewise.
423 * sysdeps/m68k/fpu/fclrexcpt.c: Likewise.
424 * sysdeps/m68k/fpu/fegetenv.c: Likewise.
425 * sysdeps/m68k/fpu/fesetenv.c: Likewise.
426 * sysdeps/m68k/fpu/feupdateenv.c: Likewise.
427 * sysdeps/m68k/fpu/fgetexcptflg.c: Likewise.
428 * sysdeps/m68k/fpu/fraiseexcpt.c: Likewise.
429 * sysdeps/m68k/fpu/fsetexcptflg.c: Likewise.
430 * sysdeps/powerpc/fclrexcpt.c: Likewise.
431 * sysdeps/powerpc/fpu/fegetenv.c: Likewise.
432 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
433 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
434 * sysdeps/powerpc/fpu/fgetexcptflg.c: Likewise.
435 * sysdeps/powerpc/fpu/fraiseexcpt.c: Likewise.
436 * sysdeps/powerpc/fpu/fsetexcptflg.c: Likewise.
438 * iconvdata/cp1258.c: Include <stdlib.h> for abort decl.
439 * iconvdata/iso-2022-cn-ext.c: Likewise.
441 2001-06-01 Andreas Jaeger <aj@suse.de>
443 * Versions.def: Add version 2.2.4.
445 2001-06-01 Ulrich Drepper <drepper@redhat.com>
447 * socket/Makefile (routines): Add sockatmark.
448 * socket/Versions [GLIBC_2.2.4]: Add sockatmark.
449 * socket/sys/socket.h: Add prototype for sockatmark.
450 * sysdeps/generic/sockatmark.c: New file.
451 * sysdeps/unix/sockatmark.c: New file.
453 2001-06-01 Andreas Jaeger <aj@suse.de>
455 * sysdeps/unix/sysv/linux/speed.c (cfsetispeed): Max speed is
457 (cfsetospeed): Likewise.
458 Reported by Lukasz Trabinski <lukasz@lt.wsisiz.edu.pl>.
460 2001-05-31 Joseph S. Myers <jsm28@cam.ac.uk>
462 * misc/sys/cdefs.h (__restrict_arr): Define to empty for C++.
464 2001-05-30 Martin Schwidefsky <schwidefsky@de.ibm.com>
466 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: greg_t
467 needs to have the same aligment as the kernel structure.
469 2001-05-29 Jakub Jelinek <jakub@redhat.com>
471 * sunrpc/rpc/types.h (u_char, u_short, u_int, u_long, quad_t,
472 u_quad_t, fsid_t, daddr_t, caddr_t): Make sure the types are defined.
473 * posix/sys/types.h (u_char, u_short, u_int, u_long, quad_t,
474 u_quad_t, fsid_t, daddr_t, caddr_t): Protect the __USE_BSD typedefs
475 against multiple definition.
477 2001-05-30 Ulrich Drepper <drepper@redhat.com>
479 * po/da.po: Update from translation team.
481 2001-05-29 Andreas Jaeger <aj@suse.de>
483 * sysdeps/ieee754/ldbl-128/e_acosl.c: New file, contributed by
484 Stephen L Moshier <moshier@mediaone.net>.
486 * math/libm-test.inc (sinh_test): Add new test case.
488 * sysdeps/ieee754/ldbl_96/e_sinhl.c (__ieee754_sinhl): sinhl(x) =
490 Patch by Stephen L Moshier <moshier@mediaone.net>.
492 2001-05-23 Andreas Jaeger <aj@suse.de>
494 * iconvdata/testdata/WINDOWS-1255..UTF-8: Renamed to...
495 * iconvdata/testdata/WINDOWS-1255..UTF8: this.
497 2001-05-27 Andreas Jaeger <aj@suse.de>
499 * manual/stdio.texi (String Streams): Fix fmemopen description.
500 Reported by Michal Kochanowicz <michal@michal.waw.pl>.
502 2001-05-26 H.J. Lu <hjl@gnu.org>
504 * sysdeps/unix/sysv/linux/mips/syscalls.list: Change sigsuspend
505 to s_sigsuspend. Add s_mmap2.
507 * sysdeps/mips/atomicity.h: New file.
509 * sysdeps/unix/sysv/linux/mips/getsysstats.c: New file.
511 * sysdeps/unix/sysv/linux/mips/bits/ipc.h (ipc_perm): Put
514 2001-05-25 Bruce Mitchener <bruce@cubik.org>
516 * manual/ctype.texi: Minor fix.
517 * manual/install.texi: Likewise.
518 * manual/startup.texi: Likewise.
519 * manual/examples/dir.c: Use perror() rather than puts().
521 2001-05-25 David Mosberger <davidm@hpl.hp.com>
523 * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h: Put stuff following
524 #endif directive inside a comment to avoid compiler warnings.
526 2001-05-25 Philipp Thomas <pthomas@suse.de>
528 * nis/nis_print.c (nis_nstype2str): Don't mark names of
529 naming services for translation, only UNKNOWN needs it.
530 Add comment to prevent it for the future.
532 2001-05-25 Joseph S. Myers <jsm28@cam.ac.uk>
534 * misc/sys/cdefs.h (__restrict_arr): Define appropriately for GCC
535 3.1 and non-GCC C99 compilers.
537 2001-05-22 David Mosberger <davidm@hpl.hp.com>
539 * sysdeps/ia64/memmove.S: Increase MEMLAT from 6 to 21 for better
541 * sysdeps/ia64/memcpy.S: Likewise.
543 * sysdeps/ia64/bcopy.S: New file.
545 * sysdeps/ia64/bzero.S: New file (derived from memset.S).
547 2001-05-26 Ulrich Drepper <drepper@redhat.com>
549 * sysdeps/ia64/fpu/libm-test-ulps: Add deltas for tanh(-0.7).
551 2001-05-24 Ulrich Drepper <drepper@redhat.com>
553 * iconvdata/Makefile: Add rules for CP10007.
554 * iconvdata/gconv-modules: Add entries for CP10007 ad MacCyrillic.
555 * iconvdata/cp10007.c: New file.
556 * iconvdata/tst-tables.sh: Add CP10007.
558 2001-05-23 kaz Kojima <kkojima@rr.iij4u.or.jp>
560 * sysdeps/sh/dl-machine.h (_dl_runtime_resolve): Handle newer PLT.
561 (_dl_runtime_profile): Likewise..
563 2001-05-23 Thorsten Kukuk <kukuk@suse.de>
565 * sysdeps/posix/getaddrinfo.c: Support for AF_UNIX commented out.
566 * posix/tst-getaddrinfo.c: Remove AF_UNIX test.
568 2001-05-19 H.J. Lu <hjl@gnu.org>
570 * elf/dl-deps.c (_dl_map_object_deps): Pass objname and
571 errstring of the failed DSO to _dl_signal_error ().
573 2001-05-23 Ulrich Drepper <drepper@redhat.com>
575 * iconvdata/gconv-modules: Add more aliases to enable use in
578 2001-05-23 Andreas Jaeger <aj@suse.de>
580 * sysdeps/unix/sysv/linux/ia64/Makefile (CFLAGS-initfini.s):
581 Remove, it's not used anywhere anymore.
582 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile
583 (CFLAGS-initfini.s): Likewise.
584 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile
585 (CFLAGS-initfini.s): Likewise.
586 * sysdeps/unix/sysv/linux/powerpc/Makefile (CFLAGS-initfini.s):
588 * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-initfini.s):
591 2001-05-21 Bruno Haible <haible@clisp.cons.org>
593 * wcsmbs/mbrtowc.c (mbrtowc): Remove local variable 'flush', always
594 use 0 instead, and rely on the converter to do the flush.
595 * wcsmbs/tst-mbrtowc.c (utf8_test_1): New function, taken from
597 (utf8_test_2, utf8_test_3): New function.
598 (utf8_test): Call utf8_test_1, utf8_test_2, utf8_test_3.
600 2001-05-22 Jakub Jelinek <jakub@redhat.com>
602 * elf/dl-close.c (_dl_close): Save imap->l_reldeps, not map->l_reldeps.
604 * elf/Makefile (distribute): Add reldep4mod[1234].c.
605 (tests): Add reldep4.
606 (modules-names): Add reldep4mod[1234].
607 (reldep4mod1.so, reldep4mod2.so, reldep4, reldep4.out): New rules.
608 * elf/reldep4.c: New file.
609 * elf/reldep4mod1.c: Likewise.
610 * elf/reldep4mod2.c: Likewise.
611 * elf/reldep4mod3.c: Likewise.
612 * elf/reldep4mod4.c: Likewise.
614 2001-05-18 Jakub Jelinek <jakub@redhat.com>
616 * elf/dl-lookup.c (PROTECTED): Remove defines.
617 (add_dependency): Mark it with internal_function.
618 (_dl_do_lookup, _dl_do_lookup_versioned): New functions.
619 (_dl_lookup_symbol, _dl_lookup_symbol_skip,
620 _dl_lookup_versioned_symbol, _dl_lookup_versioned_symbol_skip): Use
621 it if we don't want do_lookup* inlined.
623 2001-05-18 Jakub Jelinek <jakub@redhat.com>
625 * include/link.h (struct r_scope_elem): Remove r_duplist and
627 * elf/dl-load.c (_dl_map_object_from_fd): Don't initialize them.
628 * elf/dl-lookup.c (_dl_lookup_symbol_skip): Look in r_list, not
630 (_dl_lookup_versioned_symbol_skip): Likewise.
631 * elf/dl-deps.c (struct list): Remove dup field, rename unique to next.
632 (_dl_map_object_deps): Don't compute duplicate list.
634 * elf/dl-symbol.c: Removed.
635 * elf/Makefile (routines): Remove dl-symbol.
637 2001-05-22 Ulrich Drepper <drepper@redhat.com>
639 * po/el.po: Update from translation team.
640 * po/sv.po: Likewise.
642 2001-05-20 Bruno Haible <haible@clisp.cons.org>
644 * iconvdata/cp1255.c: Completely rewritten.
645 * iconvdata/Makefile (gen-8bit-gap-modules): Remove cp1255.
646 * iconvdata/testdata/WINDOWS-1255: New file.
647 * iconvdata/testdata/WINDOWS-1255..UTF8: New file.
648 * iconvdata/TESTS: Add WINDOWS-1255 test.
649 * iconvdata/CP1255.irreversible: New file.
651 2001-05-20 Bruno Haible <haible@clisp.cons.org>
653 * iconvdata/cp1258.c: Completely rewritten.
654 * iconvdata/Makefile (gen-8bit-gap-modules): Remove cp1258.
655 * iconvdata/testdata/WINDOWS-1258: New file.
656 * iconvdata/testdata/WINDOWS-1258..UTF8: New file.
657 * iconvdata/TESTS: Add WINDOWS-1258 test.
658 * iconvdata/tst-table-from.c (try): Reset the iconv descriptor before
659 the main call, and flush it afterwards.
660 (utf8_decode): Return a string, possibly containing several Unicode
662 (main): Update all utf8_decode calls.
663 * iconvdata/CP1258.irreversible: New file.
665 2001-05-20 Bruno Haible <haible@clisp.cons.org>
667 * iconv/gconv.c (__gconv): For flush without output, pass do_flush = 2.
668 * iconv/skeleton.c: Distinguish do_flush = 1 and do_flush = 2. In the
669 first case, set outbuf, outstart, outend, and call PREPARE_LOOP before
670 EMIT_SHIFT_TO_INIT; then pass the output produced by this step down to
671 the next step. In the second case, clear the state without calling
673 * iconvdata/ibm930.c (EMIT_SHIFT_TO_INIT): Use outbuf instead of
674 data->__outbuf, and outend instead of data->__outbufend.
675 * iconvdata/ibm933.c (EMIT_SHIFT_TO_INIT): Likewise.
676 * iconvdata/ibm935.c (EMIT_SHIFT_TO_INIT): Likewise.
677 * iconvdata/ibm937.c (EMIT_SHIFT_TO_INIT): Likewise.
678 * iconvdata/ibm939.c (EMIT_SHIFT_TO_INIT): Likewise.
679 * iconvdata/iso-2022-cn.c (EMIT_SHIFT_TO_INIT): Likewise.
680 * iconvdata/iso-2022-cn-ext.c (EMIT_SHIFT_TO_INIT): Likewise.
681 * iconvdata/iso-2022-jp.c (EMIT_SHIFT_TO_INIT): Likewise.
682 * iconvdata/iso-2022-kr.c (EMIT_SHIFT_TO_INIT): Likewise.
683 * iconvdata/utf-7.c (EMIT_SHIFT_TO_INIT): Likewise.
685 2001-05-21 Jakub Jelinek <jakub@redhat.com>
687 * elf/rtld.c (dl_main): Compute l_map_end for the main program.
688 * elf/dl-sym.c (_dl_sym): Don't check for l_addr == 0.
689 If match == _dl_loaded, caller can still come from the main program.
690 (_dl_vsym): Likewise.
691 * elf/dl-open.c (dl_open_worker): Don't check for l_addr == 0.
692 * elf/dl-error.c (_dl_signal_error): Change NULL objname into "".
693 * elf/restest2.c: New test.
694 * elf/Makefile (tests): Add restest2.
695 (restest2, LDFLAGS-restest2): Add rules.
697 2001-05-22 Ulrich Drepper <drepper@redhat.com>
699 * intl/Makefile: Add a few more dependencies to avoid races in the
702 2001-05-22 Andreas Jaeger <aj@suse.de>
704 * sysdeps/ieee754/ldbl-128/s_log1pl.c: New file, contributed by
705 Stephen L Moshier <moshier@mediaone.net>.
707 2001-05-22 Martin Schwidefsky <schwidefsky@de.ibm.com>
709 * sysdeps/s390/s390-32/backtrace.c: Make backtrace return the
710 return addresses instead of the stack pointers.
711 * sysdeps/s390/s390-64/backtrace.c: Likewise.
713 2001-05-21 Jakub Jelinek <jakub@redhat.com>
715 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Include
716 bits/sigcontext.h instead of bits/sigstack.h.
717 * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h: Add
718 multiple-inclusion guards.
720 2001-05-21 Andreas Jaeger <aj@suse.de>
722 * locale/programs/ld-collate.c (handle_ellipsis): Fix message.
723 Patch by Philipp Thomas <pthomas@suse.de>.
725 2001-05-17 Bruce Mitchener <bruce@cubik.org>
727 * manual/arpg.texi: Spelling, misc fixes.
728 * manual/arith.texi: Likewise.
729 * manual/crypt.texi: Likewise.
730 * manual/debug.texi: Likewise.
731 * manual/getopt.texi: Likewise.
732 * manual/intro.texi: Likewise.
733 * manual/memory.texi: Likewise.
734 * manual/nss.texi: Likewise.
735 * manual/pattern.texi: Likewise.
736 * manual/process.texi: Likewise.
737 * manual/resource.texi: Likewise.
738 * manual/search.texi: Likewise.
739 * manual/setjmp.texi: Likewise.
740 * manual/signal.texi: Likewise.
741 * manual/socket.texi: Likewise.
742 * manual/stdio.texi: Likewise.
743 * manual/string.texi: Likewise.
744 * manual/sysinfo.texi: Likewise.
745 * manual/terminal.texi: Likewise.
746 * manual/llio.texi: Document madvise().
748 2001-05-20 Roland McGrath <roland@frob.com>
750 * Makeconfig (sysdep-makeconfigs): Include any Makeconfig files
751 found within $(add-ons) directories too.
752 [linuxthreads add-on]: Move variable settings for linuxthreads
753 to new file linuxthreads/Makeconfig.
755 2001-05-20 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
757 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_STD_AUXV):
758 Define for linux >= 2.4.5 on powerpc.
759 (__ASSUME_MMAP2_SYSCALL): Likewise.
761 2001-05-19 Roland McGrath <roland@frob.com>
763 * hurd/hurdlookup.c (__hurd_file_name_lookup_retry): Don't leak the
764 result port when failing with ELOOP. Do the ELOOP check when
765 following an absolute symlink target as well as relative.
766 Remove #ifdef SYMLOOP_MAX conditional--it should always be defined.
768 2001-05-18 Andreas Jaeger <aj@suse.de>
770 * po/fr.po: Free software is "logiciel libre".
771 Patch by Martin Michlmayr <tbm@cyrius.com>.
773 * sysdeps/powerpc/elf/libc-start.c: Use __cxa_atexit.
774 Patch by ekato@ees.hokudai.ac.jp, closes PR libc/2271.
776 2001-05-17 David Mosberger <davidm@hpl.hp.com>
778 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: New file.
780 2001-05-17 Ulrich Drepper <drepper@redhat.com>
782 * elf/dl-profile.c (_dl_mcount): Check whether state is
783 GMON_PROF_ON before doing anything.
785 2001-05-17 H.J. Lu <hjl@gnu.org>
787 * elf/sprof.c (read_symbols): Move "++symtab" into the while loop.
789 2001-05-17 Ulrich Drepper <drepper@redhat.com>
791 * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Use
792 CHECK_SIGSET_NULL_OK and not CHECK_SIGSET for all parameters.
793 Reported by Mark Burton <markb@ordern.com>.
795 2001-05-17 Jakub Jelinek <jakub@redhat.com>
797 * elf/ldconfig.c (add_dir): Only warn about stat failure if
799 (search_dir): Likewise.
801 2001-05-17 Ulrich Drepper <drepper@redhat.com>
803 * sysdeps/i386/i486/atomicity.h (exchange_and_add): Correct second
804 parameter of xaddl. Patch by H . J . Lu <hjl@lucon.org>.
806 2001-05-14 Bruno Haible <haible@clisp.cons.org>
808 * iconvdata/iso-2022-cn-ext.c (BODY for FROM_LOOP): If SO is seen
809 without previous announcement, reject it regularly, don't abort.
811 2001-05-16 Ulrich Drepper <drepper@redhat.com>
813 * math/tgmath.h: Fix handling of int parameters to binary and
814 ternary functions. Reported by mitr@volny.cz.
816 * math/test-tgmath.c: Add tests for calls with integer parameters.
818 2001-05-15 Jakub Jelinek <jakub@redhat.com>
820 * sunrpc/rpc_thread.c (rpc_default): Remove.
821 (__rpc_thread_destroy): Use __libc_tsd_RPC_VARS_mem instead of
823 (rpc_thread_multi, __rpc_thread_svc_fdset, __rpc_thread_createerr,
824 __rpc_thread_svc_pollfd, __rpc_thread_svc_max_pollfd): Likewise.
825 * sunrpc/auth_none.c (authnone_private): Fix a typo.
827 2001-05-16 Martin Schwidefsky <schwidefsky@de.ibm.com>
829 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Fix stack allocation.
831 2001-05-16 Bruce Mitchener <bruce@cubik.org>
833 * manual/llio.texi: Many grammar and typo fixes to the section on AIO.
835 2001-05-15 Andreas Jaeger <aj@suse.de>
837 * sysdeps/ieee754/ldbl-128/s_expm1l.c: New file, contributed by
838 Stephen L Moshier <moshier@mediaone.net>.
840 * sysdeps/i386/fpu/libm-test-ulps: Adjust for change.
842 * math/libm-test.inc: Add comment with ToDo.
844 * sysdeps/i386/fpu/e_expl.c: Rewritten to C and using a more
845 accurate algorithm. Patch by Stephen L Moshier <moshier@mediaone.net>.
847 * sysdeps/i386/fpu/e_expl.S: Removed.
849 2001-05-14 Roland McGrath <roland@frob.com>
851 * csu/Makefile ($(objpfx)g$(start-installed-name)): Turn this into a
852 static pattern rule also that also covers
853 $(objpx)g$(static-start-installed-name).
854 [$(start-installed-name) != $(static-start-installed-name)]
855 (extra-objs, omit-deps, install-lib): Add
856 $(static-start-installed-name) and g$(static-start-installed-name).
857 * sysdeps/mach/hurd/i386/Makefile: Don't add crt0.o to those here;
858 just setting static-start-installed-name is now sufficient.
859 (extra-objs): Add static-start.o here.
860 (CFLAGS-initfini.s): Remove obsolete variable.
861 * sysdeps/mach/hurd/i386/Makeconfig: New file.
862 Define static-start-installed-name here.
864 * Makeconfig: Include existing $(full_config_sysdirs:=/Makeconfig).
865 * Make-dist (+sysdep-tsrcs): Look for Makeconfig files.
867 * Makerules ($(+sysdir_pfx)sysd-Makefile): Remove this target and
868 associated hair. Instead, just use $(wildcard ...) in the include.
870 * configure.in (critic_missing, aux_missing): Collect in these vars
871 the names of the missing programs, and include them in the error msgs.
872 * configure: Regenerated.
874 2001-05-14 Andreas Jaeger <aj@suse.de>
876 * sysdeps/i386/fpu/libm-test-ulps: Adjust for new tests.
878 * math/libm-test.inc (tanh_test): Add testcases for last tanh bug.
880 2001-05-14 Stephen L Moshier <moshier@mediaone.net>
882 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Fix sign test.
884 2001-05-11 Jakub Jelinek <jakub@redhat.com>
886 * posix/regex.c (re_match_2_internal): Swap mbs_offset and csize
887 as well if swapping strings.
888 Make sure stop is not past end of second string.
889 * posix/bug-regex4.c: New test.
890 * posix/Makefile (tests): Add bug-regex4.
892 2001-05-10 Andreas Jaeger <aj@suse.de>
894 * manual/install.texi (Linux): Clarify that Linux 2.2 is minimal
897 2001-05-12 Andreas Jaeger <aj@suse.de>
899 * sysdeps/ieee754/dbl-64/s_sin.c: Include "math_private.h" for
901 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
902 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
903 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
904 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
905 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
906 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
907 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
909 * math/math_private.h: Add prototypes for internal functions of
910 the IBM Accurate Mathematical Library.
912 * sysdeps/ieee754/dbl-64/s_atan.c: Include "math.h" for
914 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
916 * sysdeps/ieee754/dbl-64/e_asin.c: Include "math_private.h" for
918 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
919 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
920 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
921 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
922 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
923 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
924 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
925 * sysdeps/generic/e_rem_pio2l.c: Likewise.
926 (__ieee754_rem_pio2l): Fix prototype.
928 * math/math_private.h (__copysign): Add internal prototype.
930 2001-05-11 Andreas Jaeger <aj@suse.de>
932 * sysdeps/unix/sysv/linux/configure.in: Move binutils check to...
933 * sysdeps/unix/sysv/linux/mips/configure.in: ...here. New file.
935 2001-05-11 Andreas Jaeger <aj@suse.de>
937 * sysdeps/unix/sysv/linux/configure.in: Check binutils version on
940 * sysdeps/mips/rtld-ldscript.in: Removed unneeded binary output
941 format directive. Patch by Steven J. Hill <sjhill@cotw.com>.
943 2001-05-11 Roland McGrath <roland@frob.com>
945 * sysdeps/mach/hurd/Makefile ($(link-rpcuserlibs)): Don't use
946 $(build-module) here, since we don't need the full magilla.
947 Just use $(build-module-helper) and append our special options.
949 2001-05-09 Andreas Schwab <schwab@suse.de>
951 * sysdeps/unix/readdir.c: Make sure we don't modify errno when we
954 2001-05-07 H.J. Lu <hjl@gnu.org>
956 * elf/ldconfig.c (dir_entry): Add ino and dev.
957 (add_single_dir): Compare ino and dev to check if 2 directory
958 paths are the same or not. Free entry->path for duplicates.
959 (add_dir): Initialize ino and dev for entry.
960 (search_dir): Handle symlink to directory.
962 2001-05-07 Andreas Jaeger <aj@suse.de>
964 * sysdeps/i386/fpu/libm-test-ulps: Add ulps for new exp tests.
966 * math/libm-test.inc (exp_test): Add some more tests.
967 (pow_test): Run double only test also for long double.
969 * math/test-ldouble.c (TEST_LDOUBLE): Define.
970 * math/test-ildoubl.c (TEST_LDOUBLE): Likewise.
972 * sysdeps/generic/bits/confname.h: Remove extra comma at end of
976 * scripts/config.guess: Imported from gnu.org.
977 * scripts/config.sub: Likewise.
979 2001-05-05 Jakub Jelinek <jakub@redhat.com>
981 * include/features.h (__USE_EXTERN_INLINES): Don't define if
982 __NO_INLINE__ is defined.
983 * ctype/ctype.h (tolower, toupper): Change the guard condition to
984 __USE_EXTERN_INLINES check only.
985 * stdlib/stdlib.h (strtod, ...): Likewise.
986 * wcsmbs/wchar.h (mbrlen): Likewise.
987 * string/string.h: Only include bits/string.h and bits/string2.h
988 if __NO_INLINE__ is not defined.
990 2001-05-07 Andreas Jaeger <aj@suse.de>
992 * debug/Makefile ($(objpfx)xtrace): Substitute @SLIBDIR@ instead
995 2001-05-04 H.J. Lu <hjl@gnu.org>
997 * malloc/Makefile ($(objpfx)memusage): Substitute @SLIBDIR@
1000 2001-05-06 Andreas Jaeger <aj@suse.de>
1002 * sysdeps/i386/fpu/e_fmodl.c: New, rewrite of e_fmodl.S.
1003 * sysdeps/i386/fpu/e_fmodl.S: Removed.
1004 * sysdeps/i386/fpu/e_atan2l.c: New, rewrite of e_atan2l.S.
1005 * sysdeps/i386/fpu/e_atan2l.S: Removed.
1006 * sysdeps/i386/fpu/e_acosl.c: New, rewrite of e_acos.S.
1007 * sysdeps/i386/fpu/s_atanl.c: New, rewrite of e_atanl.S.
1008 * sysdeps/i386/fpu/e_sqrtl.c: New, rewrite of e_sqrt.S.
1009 * sysdeps/i386/fpu/e_acosl.S: Removed.
1010 * sysdeps/i386/fpu/s_atanl.S: Removed.
1011 * sysdeps/i386/fpu/e_sqrtl.S: Removed.
1013 2001-05-05 Mark Kettenis <kettenis@gnu.org>
1015 * sysdeps/mach/hurd/bits/environments.h: Add comment from
1016 sysdeps/generic/bits/environments.h. Define _POSIX_V6_* values.
1018 2001-04-30 Jakub Jelinek <jakub@redhat.com>
1020 * posix/confstr.c (confstr) [_CS_V6_WIDTH_RESTRICTED_ENVS]: Move so
1021 that _CS_LFS_CFLAGS can fall through to the empty returned string
1022 case. Add FALLTHROUGH comment.
1024 2001-04-29 Ralf Baechle <ralf@gnu.org>
1026 * sysdeps/unix/sysv/linux/mips/bits/sem.h: Make structure
1027 definitions match the kernel definitions.
1028 * sysdeps/unix/sysv/linux/mips/bits/ipc.h: Likewise.
1029 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
1031 2001-04-29 Ben Collins <bcollins@debian.org>
1033 * sysdeps/sparc/sparc64/dl-machine.h: Fix multiline strings
1035 * sysdeps/sparc/sparc64/soft-fp/qp_add.c: Likewise.
1036 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
1037 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
1038 * sysdeps/sparc/sparc64/soft-fp/qp_div.c: Likewise.
1039 * sysdeps/sparc/sparc64/soft-fp/qp_dtoq.c: Likewise.
1040 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
1041 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
1042 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
1043 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
1044 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
1045 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
1046 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
1047 * sysdeps/sparc/sparc64/soft-fp/qp_qtod.c: Likewise.
1048 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
1049 * sysdeps/sparc/sparc64/soft-fp/qp_qtos.c: Likewise.
1050 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
1051 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
1052 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
1053 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
1054 * sysdeps/sparc/sparc64/soft-fp/qp_sqrt.c: Likewise.
1055 * sysdeps/sparc/sparc64/soft-fp/qp_stoq.c: Likewise.
1056 * sysdeps/sparc/sparc64/soft-fp/qp_sub.c: Likewise.
1057 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
1059 2001-04-29 Andreas Schwab <schwab@suse.de>
1061 * sysdeps/unix/sysv/linux/kernel-features.h: Fix missing backslash
1064 2001-04-29 Andreas Jaeger <aj@suse.de>
1066 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
1067 Define for Arm, PowerPC and SH if kernel is 2.4.4 or newer.
1069 * sysdeps/unix/sysv/linux/bits/socket.h (PF_WANPIPE): New, from
1071 (AF_WANPIPE): Likewise.
1074 * sysdeps/unix/sysv/linux/alpha/bits/socket.h: Add same changes as
1075 for Linux generic version.
1076 * sysdeps/unix/sysv/linux/s390/s390-64/bits/socket.h: Likewise.
1077 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
1078 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
1079 * sysdeps/unix/sysv/linux/ia64/bits/socket.h: Likewise.
1081 * sysdeps/gnu/netinet/tcp.h (TCP_QUICKACK): New.
1083 2001-04-27 Ulrich Drepper <drepper@redhat.com>
1085 * nis/nss-nis.h: Correct test for invalid error number.
1086 * nis/nss-nisplus.h: Likewise.
1088 * nis/Makefile (libnss_compat-rountines): Add nss-nisplus.
1090 2001-04-26 Ulrich Drepper <drepper@redhat.com>
1092 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add getunwind.
1094 * string/strcoll.c: Fix two memory allocation problems.
1095 * string/Makefile (tests): Add bug-strcoll1.
1096 * string/bug-strcoll1.c: New file.
1098 * malloc/mcheck.c (mcheck): Call malloc once before setting the
1099 hooks to allow the internal check hooks to be set up if necessary.
1101 * nis/nss-nis.h: Move yperr2nss_tab definition into separate file
1102 and rename to __yperr2nss_tab. Change YPERR_COUNT into variable
1104 * nis/nss-nis.c: New file.
1105 * nis/nss-nisplus.h: Move niserr2nss_tab definition into separate file
1106 and rename to __niserr2nss_tab. Change NISERR_COUNT into variable
1108 * nis/nss-nisplus.c: New file.
1109 * nis/Makefile (libnss_compat-routines): Add nss-nis.
1110 (libnss_nis-routines): Likewise.
1111 (libnss_nisplus-routines): Add nss-nisplus.
1113 * nis/nss_nisplus/nisplus-alias.c: Remove unnecessary initializations.
1114 * nis/nss_nisplus/nisplus-ethers.c: Likewise.
1115 * nis/nss_nisplus/nisplus-grp.c: Likewise.
1116 * nis/nss_nisplus/nisplus-hosts.c: Likewise.
1117 * nis/nss_nisplus/nisplus-network.c: Likewise.
1118 * nis/nss_nisplus/nisplus-proto.c: Likewise.
1119 * nis/nss_nisplus/nisplus-pwd.c: Likewise.
1120 * nis/nss_nisplus/nisplus-rpc.c: Likewise.
1121 * nis/nss_nisplus/nisplus-service.c: Likewise.
1122 * nis/nss_nisplus/nisplus-spwd.c: Likewise.
1123 * nis/nss_nis/nis-alias.c: Likewise.
1124 * nis/nss_nis/nis-ethers.c: Likewise.
1125 * nis/nss_nis/nis-grp.c: Likewise.
1126 * nis/nss_nis/nis-network.c: Likewise.
1127 * nis/nss_nis/nis-proto.c: Likewise.
1128 * nis/nss_nis/nis-pwd.c: Likewise.
1129 * nis/nss_nis/nis-spwd.c: Likewise.
1130 * nis/nss_compat/compat-grp.c: Likewise.
1131 * nis/nss_compat/compat-initgroups.c: Likewise.
1132 * nis/nss_compat/compat-pwd.c: Likewise.
1133 * nis/nss_compat/compat-spwd.c: Likewise.
1135 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Some more
1136 optimizations. Patch by Jakub Jelinek <jakub@redhat.com>.
1138 2001-04-26 Andreas Jaeger <aj@suse.de>
1140 * po/zh_TW.po: Update.
1141 Patch by Tung-Han Hsieh <thhsieh@tlug.sinica.edu.tw>.
1143 2001-04-25 Ulrich Drepper <drepper@redhat.com>
1145 * malloc/malloc.c: Allow MALLOC_ALIGNMENT to be defined on the
1146 compiler command line.
1147 * sysdeps/hppa/Makefile: Add -DMALLOC_ALIGNMENT=16 to compiler
1148 command line for malloc.c.
1150 2001-04-25 Jakub Jelinek <jakub@redhat.com>
1152 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/time.h: Move to...
1153 * sysdeps/unix/sysv/linux/sparc/bits/time.h: ...here.
1154 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/bits/time.h: Remove.
1155 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/socket.h: Move to...
1156 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: ...here. Adjust
1157 struct msghdr for __WORDSIZE == 32.
1158 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/statvfs.h: Move to...
1159 * sysdeps/unix/sysv/linux/sparc/bits/statvfs.h: ...here. Adjust
1160 for __WORDSIZE == 32.
1161 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/siginfo.h: Remove.
1162 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/get_clockfreq.c: New
1164 * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S (__libc_siglongjmp):
1165 Rename from longjmp, make longjmp weak alias to it.
1167 2001-04-24 David S. Miller <davem@redhat.com>
1169 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: New file.
1171 2001-04-25 Matthew Wilcox <willy@ldl.fc.hp.com>
1173 * sysdeps/hppa/stackinfo.h: New file.
1174 * sysdeps/unix/sysv/linux/hppa/getdents64.c: New file.
1175 * sysdeps/unix/sysv/linux/hppa/mmap64.c: New file.
1176 * sysdeps/unix/sysv/linux/hppa/bits/resource.h: New file.
1177 * sysdeps/unix/sysv/linux/kernel-features.h: Add descriptions
1178 of PA kernel features.
1180 2001-04-25 Ulrich Drepper <drepper@redhat.com>
1182 * locale/programs/localedef.c (main): Always set a file name for
1184 * locale/programs/locfile.c (locfile_read): filename is allowed to
1187 2001-04-12 Paul Bame <paul_bame@hp.com>
1189 * sysdeps/hppa/fpu/fclrexcpt.c: Clear the exception flags, not the
1192 2001-04-24 Ulrich Drepper <drepper@redhat.com>
1194 * sysdeps/generic/bits/environments.h (_POSIX_V6_LPBIG_OFFBIG,
1195 _XBS5_LPBIG_OFFBIG): Define to -1.
1198 * sysdeps/generic/bits/confname.h: Add _CS_V6_WIDTH_RESTRICTED_ENVS.
1199 * posix/confstr.c: Handle _CS_V6_WIDTH_RESTRICTED_ENVS.
1200 * posix/getconf.c: Handle _POSIX_V6_WIDTH_RESTRICTED_ENVS.
1201 * posix/tst-getconf.sh: Add _POSIX_V6_WIDTH_RESTRICTED_ENVS.
1203 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9b/Implies: New file.
1204 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9b/bits/time.h: Removed.
1206 2001-03-21 Alan Modra <alan@one.net.au>
1208 * sysdeps/hppa/dl-machine.h (RTLD_START): Set up dp with DT_PLTGOT
1209 value from application so that constructors in non-PIC libs work.
1211 2000-12-13 Jes Sorensen <jes@linuxcare.com>
1213 * sysdeps/hppa/dl-machine.h (RTLD_START): _dl_init now returns a
1214 function pointer, hence load the jump address and gp from the
1215 function pointer before jumping.
1217 2001-04-24 Andreas Jaeger <aj@suse.de>
1219 * sysdeps/generic/send.c (__send): Return ssize_t.
1220 * sysdeps/mach/hurd/send.c (__send): Likewise.
1221 * sysdeps/mach/hurd/recv.c (recv): Likewise.
1222 * sysdeps/mach/hurd/sendto.c (sendto): Likewise.
1223 * sysdeps/generic/sendto.c (sendto): Likewise.
1224 * sysdeps/generic/recvmsg.c (recvmsg): Likewise.
1225 * sysdeps/mach/hurd/recvfrom.c (recvfrom): Likewise.
1226 * sysdeps/generic/recvfrom.c (recvfrom): Likewise.
1227 * sysdeps/generic/sendmsg.c (sendmsg): Likewise.
1229 * socket/sys/socket.h: send* and recv* return ssize_t.
1231 * include/sys/socket.h: send returns ssize_t.
1233 * sysdeps/i386/fpu_control.h: Fix comments.
1235 2001-04-24 Ulrich Drepper <drepper@redhat.com>
1237 * sysdeps/ia64/Dist: Add hp-timing.c.
1238 * sysdeps/unix/sysv/linux/sparc/sparc64/Dist: Add ucontext_i.h.
1239 * posix/Makefile (distribute): Add tst-getconf.sh.
1240 * po/Makefile (distribute): Add $(BROKEN_LINGUAS:=.po).
1242 2001-04-23 Ulrich Drepper <drepper@redhat.com>
1244 * sysdeps/ia64/Makefile [subdir=csu] (sysdep_routines): Add hp-timing.
1245 * sysdeps/ia64/Versions: Add _dl_cpuclock_offset for ld in 2.2.3.
1246 * sysdeps/ia64/hp-timing.c: New file.
1247 * sysdeps/ia64/hp-timing.h: New file.
1248 * sysdeps/unix/sysv/linux/ia64/bits/time.h: Add definitions for
1249 CLOCK_PROCESS_CPUTIME_ID and CLOCK_THREAD_CPUTIME_ID.
1251 * sysdeps/generic/clock_getcpuclockid.c: Make function generic, test
1252 using #ifdef whether the clock is available.
1253 * sysdeps/unix/i386/clock_getcpuclockid.c: Not needed anymore.
1255 * sysdeps/generic/dl-sysdep.c: Initialize _dl_cpuclock_offset to move
1256 it into data section.
1258 * sysdeps/unix/i386/i586/clock_getres.c: Removed.
1259 * sysdeps/unix/i386/i586/clock_gettime.c: Removed.
1260 * sysdeps/unix/i386/i586/clock_nanosleep.c: Removed.
1261 * sysdeps/unix/i386/i586/clock_settime.c: Removed.
1262 * sysdeps/unix/i386/i586/cpuclock-init.h: Removed.
1263 * sysdeps/generic/cpuclock-init.h: Removed.
1264 * sysdeps/unix/i386/i686/Implies: Removed.
1265 * sysdeps/unix/i386/i686/tempname.c: Removed.
1266 * sysdeps/i386/i686/Versions: New file.
1267 * sysdeps/unix/i386/i586/Versions: Removed.
1269 * sysdeps/posix/clock_getres.c: If HP_TIMING_AVAIL is nonzero handle
1270 CLOCK_PROCESS_CPUTIME_ID and CLOCK_THREAD_CPUTIME_ID.
1271 * sysdeps/unix/clock_gettime.c: Likewise.
1272 * sysdeps/unix/clock_nanosleep.c: Likewise.
1273 * sysdeps/unix/clock_settime.c: Likewise.
1274 * sysdeps/posix/tempname.c: Is HP_TIMING_AVAIL is nonzero define
1275 RANDOM_BITS use CPU clock.
1277 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/bits/time.h: New file.
1278 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9b/bits/time.h: New file.
1279 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/time.h: New file.
1280 * sysdeps/sparc/Versions: New file.
1282 * elf/dl-support.c: Don't use cpuclock-init.h definitions, use
1283 hp-timing.h definitions.
1284 * sysdeps/generic/dl-sysdep.c: Likewise.
1286 * include/libc-internal.h: Include hp-timing.h. Use hp_timing_t in
1287 __get_clockfreq prototype.
1289 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
1290 Use hp_timing_t type.
1291 * sysdeps/generic/get_clockfreq.c (__get_clockfreq): Likewise.
1293 * sysdeps/unix/sysv/linux/ia64/get_clockfreq.c: New file.
1295 * sysdeps/posix/pathconf.c (__pathconf): For _PC_ASYNC_IO test
1296 whether named file is a regular file or a block device.
1297 * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
1299 2001-04-23 Andreas Jaeger <aj@suse.de>
1301 * nscd/nscd.h: Add noreturn attribute for start_threads.
1303 2001-04-22 Ulrich Drepper <drepper@redhat.com>
1305 * posix/getconf.c: Fix names of XBS5 LFS test variables.
1306 Add missing configuration variables from XPG6.
1307 * posix/tst-getconf.c: New file.
1308 * posix/Makefile (generated): Add tst-getconf.out.
1309 (tests): Add ($objpfx)tst-getconf.out.
1310 Add rule to run tst-getconf.sh.
1311 * sysdeps/generic/bits/confname.h: Add missing _PC_ and _SC_ values
1313 * sysdeps/posix/fpathconf.c: Add handling of _PC_ALLOC_SIZE_MIN and
1315 * sysdeps/posix/pathconf.c: Likewise.
1316 * sysdeps/posix/sysconf.c: Correct spelling of _SC_MULTI_PROCESS
1317 and _SC_SYMLOOP_MAX.
1319 2001-04-22 Philip Blundell <philb@gnu.org>
1321 * sysdeps/arm/fpu/feenablxcpt.c: New file.
1322 * sysdeps/arm/fpu/fedisablxcpt.c: New file.
1323 * sysdeps/arm/fpu/fegetexcpt.c: New file.
1325 2001-04-22 Philip Blundell <philb@gnu.org>
1327 * sysdeps/unix/sysv/linux/arm/sys/user.h (struct user_fpregs):
1328 Renamed from struct user_fp.
1329 (struct user_regs): New.
1330 (struct user): Use struct user_regs rather than struct pt_regs to
1331 avoid dependency on asm/ptrace.h. Use struct user_fpregs in place
1332 of struct user_fp and struct user_fp_struct.
1333 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Include sys/procfs.h
1336 2001-04-22 Philip Blundell <philb@gnu.org>
1338 * sysdeps/unix/sysv/linux/arm/sys/elf.h: Move contents to
1339 sys/procfs.h, and tell the user to include that file instead.
1340 * sysdeps/unix/sysv/linux/arm/sys/procfs.h: Remove old cruft
1341 surrounded with #if 0.
1342 (elf_greg_t, ELF_NGREG, elf_gregset_t, elf_fpregset_t): Moved here
1344 (prgregset_t, prfpregset_t): Define in terms of elf_gregset_t and
1345 elf_fpregset_t respectively.
1347 2001-04-22 Philip Blundell <philb@gnu.org>
1349 * sysdeps/unix/sysv/linux/arm/register-dump.h: Also print the
1350 address that faulted.
1352 2001-04-21 Ulrich Drepper <drepper@redhat.com>
1354 * sysdeps/generic/bits/confname.h: Add _SC_V6_* and _CS_POSIX_V6_*
1356 * sysdeps/generic/bits/environments.h: Define _POSIX_V6_* values.
1357 * posix/confstr.c: Handle _CS_POSIX_V6_* values.
1358 * posix/getconf.c: Handle _CS_POSIX_V6_* and _SC_V6_* values.
1359 * sysdeps/posix/sysconf.c: Handle _SC_V6_* values.
1361 * sysdeps/powerpc/fpu/libm-test-ulps: Add deltas for atan2f.
1362 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
1363 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
1364 * sysdeps/mips/fpu/libm-test-ulps: Likewise.
1366 2001-04-21 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
1368 * sysdeps/unix/sysv/linux/powerpc/mmap64.c: Correct check for invalid
1371 2001-04-21 Ulrich Drepper <drepper@redhat.com>
1373 * posix/getopt.h: Treat __cplusplus like __STDC__.
1375 2001-04-20 John S. Marvin <jsm@fc.hp.com>
1377 * sysdeps/unix/sysv/linux/hppa/clone.S: Fix clone system call
1380 2001-04-20 Richard Hirst <rhirst@linuxcare.com>
1382 * elf/elf.h: Corrected R_PARISC_DIR14R (should be 6, not 5),
1383 and added R_PARISC_DPREL21L and R_PARISC_DPREL14R for modutils.
1385 * sysdeps/unix/sysv/linux/hppa/syscalls.list: Removed ptrace
1386 entry so the ptrace.c wrapper is used.
1388 2001-04-20 Alan Modra <amodra@one.net.au>
1390 * sysdeps/hppa/dl-lookupcfg.h (_dl_function_address): Prototype.
1391 (DL_FUNCTION_ADDRESS): Define.
1392 (DL_DT_INIT_ADDRESS): Define.
1393 (DL_DT_FINI_ADDRESS): Define.
1394 * sysdeps/hppa/Versions: Add _dl_function_address.
1395 * sysdeps/hppa/dl-machine.h (ELF_MACHINE_START_ADDRESS): Define.
1396 * sysdeps/hppa/dl-symaddr.c (_dl_start_address): Rename to
1397 _dl_function_address.
1399 2001-04-21 Andreas Jaeger <aj@suse.de>
1401 * rt/aio_misc.c (handle_fildes_io): Add noreturn attribute.
1402 * resolv/gai_misc.c (handle_requests): Likewise.
1403 * malloc/obstack.c (print_and_abort): Likewise.
1404 * malloc/mcheck.c (mabort): Likewise.
1406 * sysdeps/unix/i386/i586/clock_settime.c: Include
1407 "libc-internal.h" for __get_clockfreq declaration.
1409 2001-04-21 Ulrich Drepper <drepper@redhat.com>
1411 * elf/dl-support.c: Include cpuclock-init.h. Use CPUCLOCK_VARDEF and
1412 CPUCLOCK_INIT if defined.
1413 * sysdeps/generic/dl-sysdep.c: Likewise.
1414 * sysdeps/generic/cpuclock-init.h: New file.
1415 * sysdeps/unix/i386/i586/cpuclock-init.h: New file.
1416 * sysdeps/unix/i386/i586/Versions: New file.
1417 * sysdeps/unix/i386/i586/clock_settime.c: New file.
1418 * sysdeps/unix/i386/i586/clock_gettime.c: Handle thread CPU clock
1419 separately by calling __pthread_clock_gettime if this function is
1420 available. Subtract offset from tsc value before computing time value.
1422 2001-04-20 Ulrich Drepper <drepper@redhat.com>
1424 * iconv/iconv_prog.c (print_known_names): If printing goes not to
1425 a tty print in a more machine-friendly way.
1427 * sysdeps/ieee754/ldbl-128/e_asinl.c: New file.
1428 Contributed by Stephen L Moshier <moshier@mediaone.net>.
1430 2001-04-20 Andreas Jaeger <aj@suse.de>
1432 * intl/Makefile (tests): Reorder conditions, tst-gettext needs msgfmt.
1434 2001-04-20 Andreas Schwab <schwab@suse.de>
1436 * sysdeps/m68k/fpu/libm-test-ulps: Update.
1438 2001-04-19 Alan Modra <amodra@one.net.au>
1440 * Makerules (libc_pic.os): Add $(LDFLAGS-c_pic.os).
1441 * sysdeps/hppa/Makefile (LDFLAGS-c_pic.os): Define.
1442 (CFLAGS-.os): Remove.
1444 * sysdeps/unix/sysv/linux/hppa/sysdep.h (CALL_MCOUNT): Update comment.
1446 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (NGREG, NFPREG,
1447 gregset): Correct for new kernel definitions.
1449 2001-04-19 Alan Modra <alan@linuxcare.com.au>
1451 * sysdeps/hppa/elf/initfini.c: Change dlt reg save to r3 and
1452 generate unwind info by hand.
1454 2001-04-19 Ulrich Drepper <drepper@redhat.com>
1456 * sysdeps/unix/sysv/linux/powerpc/mmap64.c (__mmap64): Optimize a bit.
1458 * configure.in: Correct regular expression for msgfmt.
1459 Patch by Bruno Haible <haible@ilog.fr>.
1461 2001-04-19 Andreas Jaeger <aj@suse.de>
1463 * po/el.po: Add comment explaining what's broken.
1465 * po/Makefile (BROKEN_LINGUAS): New.
1466 (ALL_LINGUAS): Don't add broken languages.
1468 2001-04-19 Roland McGrath <roland@frob.com>
1470 * sysdeps/mach/hurd/mlock.c: New file.
1471 * sysdeps/mach/hurd/munlock.c: New file.
1472 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_MEMLOCK_RANGE): Define it.
1474 * misc/Makefile (routines): Add mlock munlock mlockall munlockall.
1475 * sysdeps/generic/mlock.c: New file.
1476 * sysdeps/generic/munlock.c: New file.
1477 * sysdeps/generic/mlockall.c: New file.
1478 * sysdeps/generic/munlockall.c: New file.
1479 * sysdeps/generic/bits/mman.h (MCL_CURRENT, MCL_FUTURE): New macros.
1480 * sysdeps/unix/sysv/linux/syscalls.list (mlock, munlock,
1481 mlockall, munlockall): Change caller field to - from EXTRA.
1482 Don't use __ names; not used (and not declared in include/sys/mman.h).
1484 * hurd/privports.c (__get_privileged_ports): Renamed with __.
1485 Use __ names for calls we make.
1486 (get_privileged_ports): Add alias.
1487 * hurd/hurd.h: Declare it with the __ name.
1488 * sysdeps/mach/hurd/reboot.c (reboot): Use __get_privileged_ports.
1489 * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
1490 * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
1492 * hurd/hurdsig.c (write_corefile): Check RLIMIT_CORE limit and do
1493 nothing if it's zero.
1495 2001-04-19 Matthew Wilcox <willy@ldl.fc.hp.com>
1497 * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL):
1498 Change to return a signed result for compatibility with other
1499 architectures, and correctness.
1501 2001-04-19 Ulrich Drepper <drepper@redhat.com>
1503 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_32BITUIDS):
1504 HPPA always had them. Patch by Matthew Wilcox <matthew@wil.cx>.
1506 2001-04-19 Andreas Jaeger <aj@suse.de>
1508 * configure.in: Require gettext 0.10.36 or newer.
1510 * manual/install.texi (Tools for Compilation): Mention gettext 0.10.36.
1512 * po/zh_TW.po: Remove extraneous backslashes.
1514 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Remove unused
1517 2001-04-18 Jakub Jelinek <jakub@redhat.com>
1519 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Update.
1520 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c: New file.
1521 * sysdeps/unix/sysv/linux/sparc/sparc64/swapcontext.c: New file.
1522 * sysdeps/unix/sysv/linux/sparc/sparc64/setcontext.S (__setcontext):
1523 Copy first word of uc_sigmask into __uc_sigmask.
1524 * sysdeps/unix/sysv/linux/sparc/sparc64/getcontext.S (__getcontext):
1525 Save uc_link around trap. Copy __uc_sigmask into first word of
1526 uc_sigmask, clear the rest. Make sure setcontext to the created
1527 context doesn't do this though.
1528 * sysdeps/unix/sysv/linux/sparc/sparc64/ucontext_i.h: New file.
1529 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (ucontext_t): Add
1530 uc_stack and uc_sigmask, rename old uc_sigmask to __uc_sigmask in the
1531 64bit version, make uc_sigmask __sigset_t in the 32bit version.
1533 2001-04-19 Andreas Jaeger <aj@suse.de>
1535 * sysdeps/unix/sysv/linux/hppa/umount.c: Fix typos in last patch.
1537 * rt/Makefile (otherlibs): Added for static NSS.
1539 * glibcbug.in (BUGGLIBC): Send to new alias.
1541 2001-04-02 Andreas Schwab <schwab@suse.de>
1543 * Makerules (build-module): Make sure exit codes get checked
1544 properly and remove unnecessary slashes.
1546 2001-04-17 Ulrich Drepper <drepper@redhat.com>
1548 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
1549 Handle kernels which report only three digits after the decimal point.
1550 Reported by Van Okamura <van.okamura@oracle.com>.
1552 * sysdeps/alpha/fpu/libm-test-ulps: Adjust error values for atan2f.
1554 2001-04-17 David S. Miller <davem@redhat.com>
1556 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Update for new atan2 tests.
1557 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
1559 2001-04-17 Jakub Jelinek <jakub@redhat.com>
1561 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Make sure
1562 desired exceptions are raised for exceptional values.
1563 * math/libm-test.inc (acosh_test, atan_test, atan2_test, cacos_test,
1564 cacosh_test, casin_test, casinh_test, catan_test, catanh_test,
1565 clog_test, log_test, log1p_test, tan_test): Increase precision of
1566 expected values to satisfy ldbl-128.
1567 * sysdeps/alpha/fpu/libm-test-ulps: Adjust accordingly.
1568 * sysdeps/arm/libm-test-ulps: Likewise.
1569 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
1570 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
1571 * sysdeps/m68k/fpu/libm-test-ulps: Likewise.
1572 * sysdeps/mips/fpu/libm-test-ulps: Likewise.
1573 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
1574 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
1575 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
1576 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
1577 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
1579 2001-04-17 Andreas Jaeger <aj@suse.de>
1581 * configure.in: Move test for critical programs up.
1583 2001-04-16 Stephen L Moshier <moshier@mediaone.net>
1585 * sysdeps/ieee754/flt-32/e_asinf.c (pio2_hi, pio2_lo, pio4_hi):
1586 Correct the values. (pSx, qSx): Replace by shorter approximation.
1587 Use f suffix on float constants.
1589 2001-04-16 Ulrich Drepper <drepper@redhat.com>
1591 * sysdeps/ieee754/ldbl-128/k_tanl.c: New file.
1592 Contributed by Stephen L Moshier <moshier@mediaone.net>.
1594 * string/string.h: Replace const in attribute list with __const__.
1596 2001-04-16 Roland McGrath <roland@frob.com>
1598 * grp/initgroups.c (initgroups) [NGROUPS_MAX != 0]: Always use sysconf
1599 instead of the constant NGROUPS_MAX. That way, the limit can be
1600 raised in the kernel configuration without having to recompile libc.
1602 * sysdeps/posix/euidaccess.c: Don't #include <limits.h> or try to
1603 define NGROUPS_MAX; we don't use it here.
1605 2001-04-16 Andreas Jaeger <aj@suse.de>
1607 * math/libm-test.inc (atan2_test): Add more testcases.
1609 * iconv/gconv_db.c: Include gconv_charset.h for
1610 __gconv_lookup_alias prototype.
1612 2001-04-13 Ulrich Drepper <drepper@redhat.com>
1614 * sysdeps/ieee754/ldbl-128/s_atanl.c: New file.
1615 Contributed by Stephen L Moshier <moshier@mediaone.net>.
1617 2001-04-13 Jes Sorensen <jes@linuxcare.com>
1619 * intl/tst-codeset.c: Include string.h to get prototype for strcmp().
1621 2001-04-13 Jes Sorensen <jes@linuxcare.com>
1623 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Add __pad0 to
1624 explicitly pad struct siginfo instead of relying on compiler padding.
1626 2001-04-12 Ulrich Drepper <drepper@redhat.com>
1628 * sysdeps/ia64/Dist: Add elf/entry.h.
1630 * iconvdata/Makefile (distribute): Add TESTS2.
1632 2001-04-13 Jakub Jelinek <jakub@redhat.com>
1634 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_load_address):
1635 Calculate load address differently.
1637 2001-04-12 Bruno Haible <haible@clisp.cons.org>
1639 * iconvdata/TESTS2: New file.
1640 * iconvdata/run-iconv-test.sh: Also run tests from TESTS2.
1641 * iconvdata/testdata/alfabeta..UTF-8: New file.
1642 * iconvdata/testdata/alfabeta..UTF-16.BE: New file.
1643 * iconvdata/testdata/alfabeta..UTF-16.LE: New file.
1644 * iconvdata/testdata/alfabeta..UTF-32.BE: New file.
1645 * iconvdata/testdata/alfabeta..UTF-32.LE: New file.
1647 2001-04-11 Bruno Haible <haible@clisp.cons.org>
1649 * iconvdata/utf-32.c: New file.
1650 * iconvdata/gconv-modules: Add entries for UTF-32, UTF-32LE, UTF-32BE.
1651 * iconvdata/Makefile (modules): Add UTF-32.
1652 (distribute): Add utf-32.c.
1654 2001-04-11 Bruno Haible <haible@clisp.cons.org>
1656 * iconvdata/utf-16.c (PREPARE_LOOP): Initialize 'swap' after possibly
1657 changing it in the state. After incrementing 'inptr', store it back.
1658 * iconvdata/unicode.c (PREPARE_LOOP): After incrementing 'inptr',
1661 2001-04-11 Bruno Haible <haible@clisp.cons.org>
1663 * iconvdata/utf-16.c (gconv_init): Use MAX_NEEDED_FROM, not
1666 2001-04-11 David Mosberger <davidm@hpl.hp.com>
1668 * sysdeps/ia64/htonl.S: Drop superfluous "alloc".
1669 * sysdeps/ia64/htons.S: Likewise.
1671 * sysdeps/ia64/memset.S: Add unwind directives.
1672 * sysdeps/ia64/strncpy.S: Likewise.
1673 * sysdeps/ia64/strcat.S: Likewise.
1675 * sysdeps/ia64/memccpy.S: Add unwind directives. Drop superfluous
1677 * sysdeps/ia64/strchr.S: Likewise.
1678 * sysdeps/ia64/memmove.S: Likewise.
1679 * sysdeps/ia64/memcpy.S: Likewise.
1680 * sysdeps/ia64/memcmp.S: Likewise.
1681 * sysdeps/ia64/memchr.S: Likewise.
1682 * sysdeps/ia64/strcmp.S: Likewise.
1683 * sysdeps/ia64/strlen.S: Likewise.
1684 * sysdeps/ia64/strcpy.S: Likewise.
1685 * sysdeps/ia64/strncmp.S: Likewise.
1687 2001-04-11 Jakub Jelinek <jakub@redhat.com>
1689 * wcsmbs/wchar.h (fgetwc, getwc, getwchar, fputwc, putwc, putwchar,
1690 fgetws, fputws, ungetwc, getwc_unlocked, getwchar_unlocked,
1691 fgetwc_unlocked, fputwc_unlocked, putwc_unlocked, putwchar_unlocked,
1692 fgetws_unlocked, fputws_unlocked, wcsftime): Add __THROW.
1694 2001-04-11 Andreas Jaeger <aj@suse.de>
1696 * sysdeps/mips/elf/start.S [__ASSEMBLY__]: Define it.
1698 2001-04-11 Andreas Schwab <schwab@suse.de>
1700 * sysdeps/m68k/fpu/libm-test-ulps: Adjusted.
1702 2001-04-11 Ulrich Drepper <drepper@redhat.com>
1704 * sysdeps/arm/stackinfo.h: New file.
1706 2001-04-08 Thorsten Kukuk <kukuk@suse.de>
1708 * sunrpc/rpc_main.c: If we compile RPC thread safe, allow
1709 rpcgen to generate thread safe code.
1711 2001-04-10 Andreas Jaeger <aj@suse.de>
1713 * math/test-fenv.c (initial_tests): Protect FE_TONEAREST declaration.
1715 2001-04-10 Ulrich Drepper <drepper@redhat.com>
1717 * elf/dl-minimal.c (__assert_fail): Change error string. It's
1718 most of the time no bug in ld.so.
1719 (__assert_perror_fail): Likewise.
1721 2001-04-11 Hans-Peter Nilsson <hp@axis.com>
1723 * sysdeps/generic/bits/fenv.h (fexcept_t): Change default type
1724 from struct to unsigned int.
1726 2001-04-10 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
1728 * elf/elf.h (AT_DCACHEBSIZE, AT_ICACHEBSIZE, AT_UCACHEBSIZE,
1729 AT_IGNOREPPC): New defines.
1730 * sysdeps/generic/dl-sysdep.c (_dl_show_auxv): Print them.
1731 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_STD_AUXV):
1732 Define for newer powerpc kernels.
1733 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Use the standard
1734 DL_FIND_ARG_COMPONENTS if __ASSUME_STD_AUXV is defined.
1736 2000-4-10 kaz Kojima <kkojima@rr.iij4u.or.jp>
1738 * sysdeps/sh/stackinfo.h: New file.
1740 2001-04-10 Ulrich Drepper <drepper@redhat.com>
1742 * locale/tst-C-locale.c (run_test): Add tests for locale objects.
1743 * locale/newlocale.c (__newlocale): Correct setting __ctype_b,
1744 __ctype_tolower, and __ctype_toupper elements.
1746 * ctype/ctype_l.c: Fix definitions of __tolower_l and __toupper_l.
1747 Reported by Konstantin Osipov <rabid@spylog.ru>.
1749 * sysdeps/i386/fpu/libm-test-ulps: Add deltas for tgamma to help
1752 2001-04-10 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
1754 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: New file.
1755 * sysdeps/unix/sysv/linux/powerpc/Dist: Add sys/ptrace.h.
1756 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Delete wrong stuff.
1757 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Correct typedefs.
1759 2001-04-10 Ulrich Drepper <drepper@redhat.com>
1761 * elf/dl-deps.c (_dl_map_object_deps): Provide complete error
1762 message. Based on a patch by HJ Lu.
1764 2001-04-10 Andreas Schwab <schwab@suse.de>
1766 * math/libm-test.inc (csinh_test): Don't require the invalid
1767 exception for csinh (x + iNaN), but make it optional.
1769 2001-04-09 David Mosberger <davidm@hpl.hp.com>
1771 * sysdeps/ia64/elf/start.S (_start): Add unwind directives.
1773 * sysdeps/generic/entry.h [!__ASSEMBLY__]: Declare _start.
1774 * sysdeps/ia64/elf/entry.h: New file.
1775 * sysdeps/unix/sysv/linux/mips/entry.h [!__ASSEMBLY__]: Declare
1777 * elf/rtld.c: Don't declare ENTRY_POINT. Use ENTRY_POINT instead
1779 * sysdeps/generic/dl-sysdep.c: Likewise.
1780 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
1781 * sysdeps/ia64/elf/start.S: Save base address of register backing
1782 store in __libc_ia64_register_backing_store_base.
1784 2001-04-10 Martin Schwidefsky <schwidefsky@de.ibm.com>
1786 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Fix return
1787 value of getcontext.
1788 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
1789 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Fix return
1790 value of setcontext.
1791 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
1792 * sysdeps/unix/sysv/linux/s390/swapcontext.c: Skip setcontext
1793 call by changing the saved context.
1795 2001-04-10 Ulrich Drepper <drepper@redhat.com>
1797 * sysdeps/alpha/stackinfo.h: New file.
1798 * sysdeps/ia64/stackinfo.h: New file.
1800 2001-04-10 Andreas Schwab <schwab@suse.de>
1802 * sysdeps/m68k/fpu/e_pow.c: Correct handling of some exceptional
1804 * sysdeps/m68k/fpu/e_scalb.c: Likewise.
1806 2001-04-09 Ulrich Drepper <drepper@redhat.com>
1808 * sysdeps/sparc/sparc32/sparcv9/Dist: Add hp-timing.c.
1809 * sysdeps/sparc/sparc64/Dist: Add hp-timing.c.
1811 * libio/Makefile (distribute): Add fd_to_filename.h.
1813 2001-04-05 David S. Miller <davem@redhat.com>
1815 Add hp-timing support for sparcv9/sparc64 targets.
1816 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: New file
1817 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: New file
1818 * sysdeps/sparc/sparc64/hp-timing.c: New file
1819 * sysdeps/sparc/sparc64/hp-timing.h: New file
1820 * sysdeps/sparc/sparc32/sparcv9/Makefile: Build hp-timing.
1821 * sysdeps/sparc/sparc64/Makefile: Likewise.
1823 2001-04-09 Jakub Jelinek <jakub@redhat.com>
1825 * sysdeps/generic/fd_to_filename.h: New file.
1826 * sysdeps/unix/sysv/linux/fd_to_filename.h: New file.
1827 * libio/freopen.c (freopen): If FILENAME is NULL, try to get
1828 filename from the open file descriptor.
1829 * libio/freopen64.c (freopen64): Likewise.
1831 2001-04-09 Bruno Haible <haible@clisp.cons.org>
1833 * misc/error.c (error): fflush stdout also if
1834 error_print_progname != NULL.
1835 (error_at_line): Likewise.
1837 2001-04-07 Bruno Haible <haible@clisp.cons.org>
1839 * intl/gettextP.h (struct loaded_domain): Add codeset_cntr field.
1840 (struct binding): Add codeset_cntr field.
1841 (_nl_load_domain): Add domainbinding argument.
1842 (_nl_init_domain_conv, _nl_free_domain_conv): New declarations.
1843 (_nl_find_msg): New declaration, moved here from loadinfo.h.
1844 * intl/loadinfo.h (struct loaded_l10nfile): Remove domainbinding field.
1845 (_nl_make_l10nflist): Remove domainbinding argument.
1846 (_nl_find_msg): Move declaration to gettextP.h.
1847 * intl/bindtextdom.c (set_binding_values): Initialize ->codeset_cntr
1848 to 0. Increment it when ->codeset is changed.
1849 * intl/dcigettext.c (DCIGETTEXT): Pass binding to _nl_find_msg.
1850 (_nl_find_msg): Add domainbinding argument. Reinitialize the converter
1851 if domainbinding->codeset_cntr has been incremented.
1852 * intl/finddomain.c (_nl_find_domain): Don't pass domainbinding to
1853 _nl_make_l10nflist(). Pass it to _nl_load_domain() instead.
1854 * intl/l10nflist.c (_nl_make_l10nflist): Remove domainbinding argument.
1855 * intl/loadmsgcat.c (_nl_init_domain_conv): New function, extracted
1856 from _nl_load_domain. Append //TRANSLIT also when using libiconv.
1857 (_nl_free_domain_conv): New function, extracted from _nl_unload_domain.
1858 (_nl_load_domain): Add domainbinding argument. Call
1859 _nl_init_domain_conv.
1860 (_nl_unload_domain): Call _nl_free_domain_conv.
1861 * intl/Makefile (distribute): Add tst-codeset.sh, tstcodeset.po.
1862 (test-srcs): Add tst-codeset.
1863 (tests): Depend on tst-codeset.out.
1864 (tst-codeset.out): New rule.
1865 (CFLAGS-tst-codeset.c): New variable.
1866 * intl/tst-codeset.sh: New file.
1867 * intl/tstcodeset.po: New file.
1868 * intl/tst-codeset.c: New file.
1869 * locale/findlocale.c (_nl_find_locale): Update _nl_make_l10nflist
1872 2001-04-07 Roland McGrath <roland@frob.com>
1874 * mach/msgserver.c (__mach_msg_server_timeout): Add an assert.
1876 2001-03-31 Roland McGrath <roland@frob.com>
1878 * sysdeps/mach/hurd/fork.c: Skip NEWPROC just like NEWTASK when
1879 copying send rights into child. When we hit our name for our proc
1880 port, just copy NEWPROC directly instead of repeating proc_task2proc
1881 to install the child's port.
1883 2001-04-08 Roland McGrath <roland@frob.com>
1885 * Makeconfig ($(common-objpfx)soversions.i): Grok entries with DEFAULT
1886 in second column, to provide default values for third column.
1887 * shlib-versions: Add comments about using DEFAULT in second column.
1888 (s390x-.*-linux.*): Replace individual entries with a DEFAULT entry.
1889 (cris-.*-linux.*): Likewise.
1891 2001-04-09 Ulrich Drepper <drepper@redhat.com>
1893 * Makefile (distribute): Add scripts/documented.sh.
1894 * scripts/documented.sh: New file.
1896 2001-04-08 Hans-Peter Nilsson <hp@axis.com>
1898 * sysdeps/unix/sysv/linux/cris/Dist: New file.
1899 * sysdeps/unix/sysv/linux/cris/Makefile: New file.
1900 * sysdeps/unix/sysv/linux/cris/_G_config.h: New file.
1901 * sysdeps/unix/sysv/linux/cris/bits/fcntl.h: New file.
1902 * sysdeps/unix/sysv/linux/cris/bits/mman.h: New file.
1903 * sysdeps/unix/sysv/linux/cris/bits/resource.h: New file.
1904 * sysdeps/unix/sysv/linux/cris/brk.c: New file.
1905 * sysdeps/unix/sysv/linux/cris/chown.c: New file.
1906 * sysdeps/unix/sysv/linux/cris/clone.S: New file.
1907 * sysdeps/unix/sysv/linux/cris/fchown.c: New file.
1908 * sysdeps/unix/sysv/linux/cris/fcntl.c: New file.
1909 * sysdeps/unix/sysv/linux/cris/fxstat.c: New file.
1910 * sysdeps/unix/sysv/linux/cris/getegid.c: New file.
1911 * sysdeps/unix/sysv/linux/cris/geteuid.c: New file.
1912 * sysdeps/unix/sysv/linux/cris/getgid.c: New file.
1913 * sysdeps/unix/sysv/linux/cris/getgroups.c: New file.
1914 * sysdeps/unix/sysv/linux/cris/getresgid.c: New file.
1915 * sysdeps/unix/sysv/linux/cris/getresuid.c: New file.
1916 * sysdeps/unix/sysv/linux/cris/getrlimit.c: New file.
1917 * sysdeps/unix/sysv/linux/cris/getrlimit64.c: New file.
1918 * sysdeps/unix/sysv/linux/cris/getuid.c: New file.
1919 * sysdeps/unix/sysv/linux/cris/lchown.c: New file.
1920 * sysdeps/unix/sysv/linux/cris/lockf64.c: New file.
1921 * sysdeps/unix/sysv/linux/cris/lxstat.c: New file.
1922 * sysdeps/unix/sysv/linux/cris/mmap.S: New file.
1923 * sysdeps/unix/sysv/linux/cris/mmap64.S: New file.
1924 * sysdeps/unix/sysv/linux/cris/msgctl.c: New file.
1925 * sysdeps/unix/sysv/linux/cris/profil-counter.h: New file.
1926 * sysdeps/unix/sysv/linux/cris/register-dump.h: New file.
1927 * sysdeps/unix/sysv/linux/cris/semctl.c: New file.
1928 * sysdeps/unix/sysv/linux/cris/setegid.c: New file.
1929 * sysdeps/unix/sysv/linux/cris/seteuid.c: New file.
1930 * sysdeps/unix/sysv/linux/cris/setfsgid.c: New file.
1931 * sysdeps/unix/sysv/linux/cris/setfsuid.c: New file.
1932 * sysdeps/unix/sysv/linux/cris/setgid.c: New file.
1933 * sysdeps/unix/sysv/linux/cris/setgroups.c: New file.
1934 * sysdeps/unix/sysv/linux/cris/setregid.c: New file.
1935 * sysdeps/unix/sysv/linux/cris/setresgid.c: New file.
1936 * sysdeps/unix/sysv/linux/cris/setresuid.c: New file.
1937 * sysdeps/unix/sysv/linux/cris/setreuid.c: New file.
1938 * sysdeps/unix/sysv/linux/cris/setrlimit.c: New file.
1939 * sysdeps/unix/sysv/linux/cris/setuid.c: New file.
1940 * sysdeps/unix/sysv/linux/cris/shmctl.c: New file.
1941 * sysdeps/unix/sysv/linux/cris/socket.S: New file.
1942 * sysdeps/unix/sysv/linux/cris/sys/ucontext.h: New file.
1943 * sysdeps/unix/sysv/linux/cris/syscall.S: New file.
1944 * sysdeps/unix/sysv/linux/cris/sysdep.S: New file.
1945 * sysdeps/unix/sysv/linux/cris/sysdep.h: New file.
1946 * sysdeps/unix/sysv/linux/cris/vfork.S: New file.
1947 * sysdeps/unix/sysv/linux/cris/xstat.c: New file.
1949 2001-04-08 Hans-Peter Nilsson <hp@axis.com>
1951 * sysdeps/cris/Dist: New file.
1952 * sysdeps/cris/Implies: New file.
1953 * sysdeps/cris/Makefile: New file.
1954 * sysdeps/cris/__longjmp.S: New file.
1955 * sysdeps/cris/_mcount.S: New file.
1956 * sysdeps/cris/bits/endian.h: New file.
1957 * sysdeps/cris/bits/setjmp.h: New file.
1958 * sysdeps/cris/bits/string.h: New file.
1959 * sysdeps/cris/dl-machine.h: New file.
1960 * sysdeps/cris/elf/start.S: New file.
1961 * sysdeps/cris/machine-gmon.h: New file.
1962 * sysdeps/cris/memcopy.h: New file.
1963 * sysdeps/cris/memusage.h: New file.
1964 * sysdeps/cris/setjmp.S: New file.
1965 * sysdeps/cris/sysdep.h: New file.
1966 * sysdeps/cris/wordcopy.c: New file.
1968 2001-04-08 Hans-Peter Nilsson <hp@axis.com>
1970 * elf/elf.h: Add new relocations for CRIS.
1972 2001-04-08 Hans-Peter Nilsson <hp@axis.com>
1974 * shlib-versions: Add cases for Linux on CRIS.
1976 2001-04-08 Hans-Peter Nilsson <hp@axis.com>
1978 * configure.in (ASM_LINE_SEP tests): Handle CRIS assembly, with
1979 ';' for comments and '@' for line separator.
1981 2001-04-08 Hans-Peter Nilsson <hp@axis.com>
1983 * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Fix
1984 typo; s/==/=/ for assignment.
1986 2001-04-08 Hans-Peter Nilsson <hp@axis.com>
1988 * malloc/Makefile: Correct comment; mtrace is Perl, not AWK.
1990 2001-04-08 Hans-Peter Nilsson <hp@axis.com>
1992 * iconv/gconv_simple.c (internal_ucs4_loop_unaligned): Check for
1993 empty input before checking full output.
1995 2001-04-08 Hans-Peter Nilsson <hp@axis.com>
1997 * iconv/gconv.c (__gconv): Don't derefer parameter cd before
2000 2001-04-08 Ulrich Drepper <drepper@redhat.com>
2002 * inet/rexec.c (rexec_af): Avoid calling perror with errno being set.
2004 2001-04-07 Stephen L Moshier <moshier@mediaone.net>
2006 * sysdeps/ieee754/ldbl-128/e_logl.c: Correct infinity and NaN
2009 2001-04-07 Ulrich Drepper <drepper@redhat.com>
2011 * stdlib/tst-setcontext.c (main): Add a test for setcontext.
2013 * sysdeps/unix/sysv/linux/i386/getcontext.S: New file.
2014 * sysdeps/unix/sysv/linux/i386/setcontext.S: New file.
2015 * sysdeps/unix/sysv/linux/i386/makecontext.S: New file.
2016 * sysdeps/unix/sysv/linux/i386/swapcontext.S: New file.
2017 * sysdeps/unix/sysv/linux/i386/ucontext_i.h: New file.
2018 * sysdeps/unix/sysv/linux/i386/Dist: Add ucontext_i.h.
2020 2001-04-07 Andreas Jaeger <aj@suse.de>
2022 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Use sincos
2023 instead of separate sin and cos.
2024 (__ieee754_j1l): Likewise.
2026 2001-04-06 Ulrich Drepper <drepper@redhat.com>
2028 * sysdeps/ia64/abort-instr.h: New file. Code by David Mosberger.
2030 * sysdeps/ia64/atomicity.h: New file. Copied from libstdc++.
2032 * sysdeps/i386/i486/atomicity.h: Clean up the asms.
2034 * sysdeps/generic/e_scalb.c: Don't use FE_INVALID unless it's
2036 * sysdeps/generic/e_scalbf.c: Likewise.
2037 * sysdeps/generic/e_scalbl.c: Likewise.
2038 Patch by Mark Hatle <fray@mvista.com>.
2040 2001-04-05 David S. Miller <davem@redhat.com>
2042 * sysdeps/sparc/abort-instr.h: New file.
2044 2001-04-05 Matt Wilson <msw@redhat.com>
2046 * sysdeps/unix/sysv/linux/alpha/getsysstats.c (GET_NPROCS_PARSER):
2047 added code to parse new 2.4 format.
2048 (GET_NPROCS_CONF_PARSER): Likewise.
2050 2001-04-05 David S. Miller <davem@redhat.com>
2052 * scripts/config.sub: Recognize sparcv9b like sparcv9.
2053 * configure.in: Add sparcv9b.
2054 * sysdeps/sparc/sparc32/sparcv9b/Implies: New file
2055 * sysdeps/sparc/sparc32/sparcv9b/memcpy.S: New file
2056 * sysdeps/sparc/sparc64/sparcv9b/memcpy.S: New file
2058 2001-04-06 David Mosberger <davidm@hpl.hp.com>
2060 * stdlib/tst-setcontext.c: Move st2[] to global scope.
2061 (f2): Verify that stack pointer is inside st2[].
2063 * sysdeps/unix/sysv/linux/ia64/getcontext.S: It helps to save r12.
2064 * sysdeps/unix/sysv/linux/ia64/setcontext.S: It helps to restore r12.
2066 2001-04-06 Ulrich Drepper <drepper@redhat.com>
2068 * timezone/antarctica: Update from tzdata2001b.
2069 * timezone/asia: Likewise.
2070 * timezone/australasia: Likewise.
2071 * timezone/europe: Likewise.
2072 * timezone/northamerica: Likewise.
2074 * iconv/iconv_open.c: Move strip and upstr definitions...
2075 * iconv/gconv_charset.h: ...here. New file.
2076 * iconv/gconv_db.c (once): Move to file level.
2077 (do_lookup_alias): Split out from __gconv_find_transform.
2078 (__gconv_find_transform): Call do_lookup_alias.
2079 (__gconv_loopup_alias): New function.
2080 * locale/langinfo.h: Define _NL_*_CODESET values for all categories
2082 * locale/categories.def: Add entries for new _NL_*_CODESET values.
2083 * locale/C-ctype.c: Use _nl_C_codeset to initialize CODESET entry.
2084 * locale/C-address.c: Initialize _NL_*_CODESET element.
2085 * locale/C-collate.c: Likewise.
2086 * locale/C-identification.c: Likewise.
2087 * locale/C-measurement.c: Likewise.
2088 * locale/C-messages.c: Likewise.
2089 * locale/C-monetary.c: Likewise.
2090 * locale/C-name.c: Likewise.
2091 * locale/C-numeric.c: Likewise.
2092 * locale/C-paper.c: Likewise.
2093 * locale/C-telephone.c: Likewise.
2094 * locale/C-time.c: Likewise.
2095 * locale/localeinfo.h: Declare _nl_C_codeset.
2096 * locale/C_name.c: Define _nl_C_codeset.
2097 * locale/findlocale.c: Before accepting locale check that the used
2098 charset does not conflict with what the locale name said.
2099 * locale/programs/ld-address.c: Emit codeset information.
2100 * locale/programs/ld-collate.c: Likewise.
2101 * locale/programs/ld-identification.c: Likewise.
2102 * locale/programs/ld-measurement.c: Likewise.
2103 * locale/programs/ld-messages.c: Likewise.
2104 * locale/programs/ld-monetary.c: Likewise.
2105 * locale/programs/ld-name.c: Likewise.
2106 * locale/programs/ld-numeric.c: Likewise.
2107 * locale/programs/ld-paper.c: Likewise.
2108 * locale/programs/ld-telephone.c: Likewise.
2109 * locale/programs/ld-time.c: Likewise.
2111 * localedata/tests-mbwc/tst_funcs.h (TST_HEAD_LOCALE): It is an error
2112 if the locale data couldn't be found.
2114 * string/Makefile: Define tst-strxfrm-ENV.
2116 * ysdeps/unix/sysv/linux/ia64/getcontext.S: Fix comment.
2118 2001-04-06 Andreas Jaeger <aj@suse.de>
2120 * include/sys/profil.h: New file.
2122 * dlfcn/modatexit.c: Add prototypes to silence GCC.
2123 * dlfcn/modcxaatexit.c: Likewise.
2124 * elf/globalmod1.c: Likewise.
2126 2001-04-05 David S. Miller <davem@redhat.com>
2128 * elf/elf.h (HWCAP_SPARC_ULTRA3): Define it.
2129 * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h: Add it to
2130 capability flags table and HWCAP_IMPORTANT, increase
2131 _DL_HWCAP_COUNT to 6.
2132 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h: Likewise.
2134 2001-04-04 David Mosberger <davidm@hpl.hp.com>
2136 * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext): Fix
2137 initialization of stack_end (bug reported by Zheng Gengbin
2138 <gzheng@students.uiuc.edu>).
2140 2001-04-05 Ulrich Drepper <drepper@redhat.com>
2142 * sysdeps/i386/fpu/libm-test-ulps: Relax errors for asinl.
2144 2001-04-05 Martin Schwidefsky <schwidefsky@de.ibm.com>
2146 * sysdeps/unix/sysv/linux/s390/s390-64/bits/socket.h: New file.
2148 2001-04-05 Ulrich Drepper <drepper@redhat.com>
2150 * sysdeps/ieee754/ldbl-96/e_asinl.c: Correct handling of +-Inf.
2151 * sysdeps/i386/fpu/e_asinl.S: Removed. Too inaccurate.
2153 * login/tst-utmp.c: Make file usable again in tst-utmpx.c.
2155 2001-04-04 Ulrich Drepper <drepper@redhat.com>
2157 * sysdeps/unix/sysv/aix/dl-libc.c: Don't use the ELF version,
2158 define simple replacements here. Patch by Michael Keezer.
2160 * sysdeps/ieee754/ldbl-128/e_logl.c: New file.
2161 * sysdeps/ieee754/ldbl-96/e_asinl.c: New file.
2162 Contributed by Stephen L Moshier <moshier@mediaone.net>.
2164 * posix/fnmatch_loop.c: Undefine NEW_PATTERN when it is not used
2167 2001-04-01 Andreas Jaeger <aj@suse.de>
2169 * sysdeps/generic/s_nextafter.c (NO_LONG_DOUBLE): Add nexttowardl
2172 * sysdeps/generic/s_fma.c (NO_LONG_DOUBLE): Add fmal alias.
2174 2001-04-04 Ulrich Drepper <drepper@redhat.com>
2176 * sysdeps/unix/sysv/linux/s390/s390-64/Dist: Add ucontext_i.h.
2177 * sysdeps/unix/sysv/linux/s390/s390-32/Dist: Likewise.
2179 2001-04-04 Martin Schwidefsky <schwidefsky@de.ibm.com>
2181 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: New file.
2182 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: New file.
2183 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: New file.
2184 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.h: New file.
2185 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: New file.
2186 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: New file.
2187 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: New file.
2188 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.h: New file.
2189 * sysdeps/unix/sysv/linux/s390/swapcontext.c: New file.
2191 2001-04-04 Andreas Jaeger <aj@suse.de>
2193 * sysdeps/powerpc/dl-machine.h (ELF_MACHINE_NO_REL): Move to right
2196 2001-04-04 Ulrich Drepper <drepper@redhat.com>
2198 * sunrpc/rpc_scan.c (symbols): Add entry for HYPER.
2199 * sunrpc/rpc_scan.h (enum tok_kind): Add TOK_HYPER.
2200 * sunrpc/rpc_parse.c (get_type): Handle TOK_HYPER.
2201 (unsigned_dec): Likewise.
2202 Patch by atai@jezebel.dreamhost.com.
2204 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r): Pass
2205 pointer to int as last parameter of yp_match.
2206 Patch by kanazawa@flab.fujitsu.co.jp.
2208 2001-04-03 Ulrich Drepper <drepper@redhat.com>
2210 * resolv/netdb.h (gai_strerror): Make return value const.
2211 * sysdeps/generic/gai_strerror.c (gai_strerror): Likewise.
2212 * sysdeps/posix/gai_strerror.c (gai_strerror): Likewise.
2213 Add strings for new error values.
2215 2001-03-29 Michael Keezer <mkeezer@redhat.com>
2217 * posix/tst-gnuglob.c: Added ifdef _DIRENT_HAVE_D_TYPE.
2218 * login/tst-utmp.c: Handle case where ut_tv is not available but
2220 * sysdeps/unix/sysv/aix/utmpx.h: New file.
2221 * sysdeps/unix/sysv/aix/bits/utmpx.h: Added
2222 _HAVE_UT_TYPE/PID/ID/TV/HOST defines.
2223 * sysdeps/unix/sysv/aix/libc-start.c: Removed temp code and made stub.
2224 * sysdeps/unix/sysv/aix/gettimeofday.c: New file added routines
2225 to access RTCU timer reg.
2226 * sysdeps/unix/sysv/aix/Makefile: Remove /usr/lib/crt0.o
2227 added dl-libc, dl-open,dl-sym, dl-close to misc.
2228 * sysdeps/unix/sysv/aix/start.c: New file. Start code.
2229 * sysdeps/unix/sysv/aix/dlldr.h: New file. AIX __loadx defines.
2230 * sysdeps/unix/sysv/aix/dl-close.c: New file. AIX dl-close.
2231 * sysdeps/unix/sysv/aix/dl-open.c: New file. AIX dl-open.
2232 * sysdeps/unix/sysv/aix/dl-sym.c: New file. AIX dl-sym.
2233 * sysdeps/unix/sysv/aix/dl-libc.c: New file. libc_dl-xxx support.
2234 * sysdeps/generic/strtoll.c: Added SHLIB_COMPAT(libc,GLIBC_2_0,
2236 * sysdeps/generic/strtoull.c: Likewise.
2237 * sysdeps/powerpc/ppc-mcount.S: Added nop after bl instruction.
2238 * sysdeps/unix/sysv/aix/powerpc/memset.c: New file to include
2239 sysdeps/generic/memset.c.
2240 * sysdeps/unix/sysv/aix/getpeername.c: Define __getpeername.
2242 2001-04-03 Ulrich Drepper <drepper@redhat.com>
2244 * iconv/Makefile (CFLAGS-charmap.c): Add -DNEED_NULL_POINTER.
2245 * locale/programs/charmap.c: Define null_pointer if
2246 NEED_NULL_POINTER is defined.
2248 * misc/dirname.c (dirname): Handle multiple slashes correctly.
2250 2001-04-03 Martin Schwidefsky <schwidefsky@de.ibm.com>
2252 * sysdeps/s390/s390-64/initfini.c: Fix __gmon_start__ GOT access.
2254 2001-04-03 Martin Schwidefsky <schwidefsky@de.ibm.com>
2256 * sysdeps/s390/s390-32/bcopy.S: Optimize for speed.
2257 * sysdeps/s390/s390-64/bcopy.S: Likewise.
2258 * sysdeps/s390/s390-32/mempcy.S: Likewise.
2259 * sysdeps/s390/s390-64/memcpy.S: Likewise.
2261 2001-04-02 Bruno Haible <haible@clisp.cons.org>
2263 * manual/message.texi (Advanced gettext functions): More specific
2264 syntax in the plural formula examples.
2266 2001-04-02 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
2268 * sysdeps/powerpc/atomicity.h: Silence warnings.
2269 * sysdeps/powerpc/dl-machine.h: Likewise.
2270 * sysdeps/powerpc/register-dump.h: Likewise.
2271 * sysdeps/powerpc/fpu/s_lrint.c: Likewise.
2273 2001-04-02 Andreas Jaeger <aj@suse.de>
2275 * misc/tst-dirname.c (main): Add more tests, derived from a bug
2276 report by Michael Kerrisk <mtk16@ext.canterbury.ac.nz>.
2278 2001-04-01 Andreas Jaeger <aj@suse.de>
2280 * debug/xtrace.sh (pcprofileso): Use SLIBDIR since libpcprofile.so
2282 * malloc/memusage.sh (memusageso): Likewise for libmemusage.so.
2284 2001-04-01 H.J. Lu <hjl@gnu.org>
2286 * posix/annexc.c (macrofile): Renamed from TMPFILE and set to
2288 * stdlib/isomac.c (macrofile): Likewise.
2290 2001-03-30 Thorsten Kukuk <kukuk@suse.de>
2292 * inet/rcmd.c: Allow AF_UNSPEC as parameter.
2293 * nis/ypclnt.c (yp_all): Print error message only at last try,
2294 check for protocoll error only if we don't have a network error.
2296 2001-04-02 Andreas Schwab <schwab@suse.de>
2298 * resolv/res_data.c (res_isourserver): Fix cast.
2300 2001-04-02 Andreas Jaeger <aj@suse.de>
2302 * sysdeps/unix/sysv/linux/hppa/umount.c: Add prototype for
2305 * sysdeps/i386/dl-machine.h (RTLD_START): Don't use multi-line
2307 (ELF_MACHINE_RUNTIME_TRAMPOLINE): Likewise.
2309 * sysdeps/ieee754/dbl-64/uroot.h: Add missing braces arount
2311 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Likewise.
2313 * elf/rtld.c (print_statistics)[!HP_TIMING_NONAVAIL]: Avoid
2314 warning about unused variable.
2316 * string/string.h (strndupa): Add cast for C++ conformance.
2317 (strdupa): Likewise.
2318 Fixes PR libc/2173, reported by tbrowder@home.com.
2320 2001-03-30 Roland McGrath <roland@frob.com>
2322 * sysdeps/mach/hurd/Makefile ($(link-rpcuserlibs)): Don't append
2323 options after $(build-module), which is no longer a single command.
2324 (LDFLAGS-link-rpcuserlibs): New variable to hold those options.
2325 (LDFLAGS-libmachuser-link.so, LDFLAGS-libhurduser-link.so): New
2326 variables using it. Reported by Mark Kettenis <kettenis@gnu.org>.
2328 2001-03-11 Roland McGrath <roland@frob.com>
2330 * elf/rtld.c (dl_main): Add cast to quiet warning.
2331 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
2332 * iconv/gconv_conf.c (__gconv_get_path): Likewise.
2333 (__gconv_read_conf): Likewise.
2334 * iconv/gconv_db.c (gen_steps): Likewise.
2335 (__gconv_find_transform): Likewise.
2336 * locale/programs/charmap-dir.c (fopen_uncompressed): Likewise.
2337 (fopen_uncompressed): Use const in second argument's type.
2339 2001-03-11 Roland McGrath <roland@frob.com>
2341 * sysdeps/mach/hurd/dl-sysdep.c (__writev): New function.
2343 * mach/mach_error.h: Fix ancient #endif syntax.
2344 * hurd/hurdmalloc.c: Likewise.
2346 * sysdeps/generic/atomicity.h (exchange_and_add, atomic_add,
2347 compare_and_swap): Add volatile qualifier to first arg, to bring
2348 these prototypes in line with all the other implementations.
2349 Add a #warning to remind the builder that these are not atomic.
2351 2001-03-04 Roland McGrath <roland@frob.com>
2353 * hurd/vpprintf.c (vpprintf) [USE_IN_LIBIO]: Use innermore first
2354 member of TEMP_F so its type is _IO_FILE * as expected.
2356 * hurd/fopenport.c (seekio): Conditionalize type of POS argument
2357 on [USE_IN_LIBIO]. Check the value for overflow, since for libio
2358 it might exceed off_t's range.
2360 2001-02-25 Roland McGrath <roland@frob.com>
2362 * sysdeps/mach/hurd/sysd-stdio.c (__stdio_reopen): Use prototype.
2363 * sysdeps/unix/bsd/getpt.c (__posix_openpt): Likewise.
2365 * sysdeps/mach/hurd/i386/intr-msg.h (SYSCALL_EXAMINE): Make this a
2366 macro instead of an inline function,
2367 (MSG_EXAMINE): Likewise.
2369 * hurd/hurd/ioctl.h (_HURD_HANDLE_IOCTLS_1): Remove extraneous ##.
2371 * hurd/get-host.c: Include <string.h> for decls of built-ins.
2372 * hurd/hurdchdir.c: Likewise.
2373 * sysdeps/mach/hurd/i386/sigreturn.c: Likweise.
2374 * sysdeps/mach/hurd/opendir.c: Likewise.
2376 * mach/mach_init.c: Include <unistd.h> for _exit decl.
2378 * mach/errsystems.awk: Give output file a trailing newline.
2380 * mach/Machrules (MIG): Prepend CC='${CC}' to the mig command, so that
2381 the script will use our compiler for the cpp stage.
2383 With --enable-all-warnings we get a whole bunch of warnings,
2384 and these are just a few fixes; there are more needed to silence it.
2385 * mach/mach/mig_support.h (__mig_strncpy, mig_strncpy): Add extern
2386 decls before extern inline defns to quiet gcc warning.
2387 * hurd/hurd/threadvar.h (__hurd_threadvar_location_from_sp): Likewise.
2388 * sysdeps/mach/i386/machine-sp.h (__thread_stack_pointer): Likewise.
2390 2001-03-31 Andreas Jaeger <aj@suse.de>
2392 * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_RAWHDLC): Added.
2393 (ARPHRD_HDLC): Define as alias for ARPHRD_CISCO.
2394 (ARPHRD_CISCO): New.
2395 Changes from Linux 2.4.3.
2397 2001-03-30 Isamu Hasegawa <isamu@yamato.ibm.com>
2399 * posix/regex.c: Avoid an access violation if malloc failes.
2401 2001-03-30 Andreas Jaeger <aj@suse.de>
2403 * sysdeps/alpha/ldiv.S (ldiv): Add alias for imaxdiv.
2405 2001-03-29 Ulrich Drepper <drepper@redhat.com>
2407 * posix/regex.c: Remove unnecessary ifs.
2409 * math/bits/mathcalls.h: Remove infnan declaration.
2411 2001-03-29 H.J. Lu <hjl@gnu.org>
2413 * include/endian.h: Define BIG_ENDI, LITTLE_ENDI, HIGH_HALF,
2414 and LOW_HALF only if _LIBC is defined and _ISOMAC is not defined.
2415 * stdlib/isomac.c (fmt): Define _LIBC and _ISOMAC.
2417 2001-03-29 Isamu Hasegawa <isamu@yamato.ibm.com>
2419 * posix/regex.c: Fix typo and add a sentinel.
2421 2001-03-29 Ulrich Drepper <drepper@redhat.com>
2423 * sysdeps/unix/sysv/linux/shm_open.c: Open new file always with
2424 O_NOFOLLOW. Suggested by Christoph Roland.
2426 2001-03-27 Martin Schwidefsky <schwidefsky@de.ibm.com>
2428 * sysdeps/s390/bits/string.h: New unified 31/64 bit string.h.
2429 * sysdeps/s390/s390-32/bits/string.h: Remove.
2430 * sysdeps/s390/s390-64/bits/string.h: Remove.
2431 * sysdeps/s390/s390-32/strcmp.S: New file.
2432 * sysdeps/s390/s390-64/strcmp.S: New file.
2434 2001-03-27 Martin Schwidefsky <schwidefsky@de.ibm.com>
2436 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Fix typo.
2437 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
2439 2001-03-27 Ulrich Drepper <drepper@redhat.com>
2441 * version.h (VERSION): Bump to 2.2.3.
2443 * stdlib/isomac.c (fmt): Don't define _LIBC.
2444 * include/endian.h: Define BIG_ENDI, LITTLE_ENDI, HIGH_HALF, and
2445 LOW_HALF only if _LIBC is defined.
2447 * sysdeps/i386/fpu/libm-test-ulps: Slight adjustment of yn() error.
2449 * posix/fnmatch_loop.c (FCT): Handle !() after * special like @()
2451 * posix/tst-fnmatch.input: Add test cases for matching empty strings.
2453 * sysdeps/ieee754/dbl-64/endian.h: Removed. Move definitions...
2454 * include/endian.h: ...to here.
2456 2001-03-27 kaz Kojima <kkojima@rr.iij4u.or.jp>
2458 * sysdeps/sh/sys/ucontext.h (NFREG): Rename to NFPREG.
2459 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (NFREG): Likewise.
2461 2001-03-27 Martin Schwidefsky <schwidefsky@de.ibm.com>
2463 * sysdeps/unix/sysv/linux/s390/ldconfig.h: Fix typo.
2465 2001-03-26 Ulrich Drepper <drepper@redhat.com>
2467 * sysdeps/ia64/fpu/Dist: Add new files to distribute.
2468 * sysdeps/unix/sysv/linux/s390/s390-64/Dist: Likewise.
2469 * sysdeps/unix/sysv/linux/ia64/Dist: Likewise.
2471 * gmon/Makefile (headers): Add sys/profil.h.
2473 2001-03-18 Andreas Jaeger <aj@suse.de>
2475 * manual/install.texi (Tools for Compilation): Advise to use GCC
2477 (Supported Configurations): Mention s390x.
2479 2001-03-26 Ben Collins <bcollins@debian.org>
2481 * sysdeps/unix/sysv/linux/mips/bits/mman.h: Add MAP_* and MADV_*
2482 defines to match other architectures.
2484 2001-03-26 Ulrich Drepper <drepper@redhat.com>
2486 * libio/Makefile (tests): Add tst-ext.
2487 * libio/tst-ext.c: New file.
2489 * libio/iosetvbuf.c (_IO_setvbuf): Clear line buffer flag for _IONBF.
2491 2001-03-25 Ulrich Drepper <drepper@redhat.com>
2493 Add changes which were in this form in the original patch by
2494 Eric Norum <eric.norum@usask.ca>.
2495 * include/rpc/rpc.h: Remove svc_fdset, rpc_createerr, svc_pollfd, and
2497 * sunrpc/rpc/rpc.h: Declare __rpc_thread_svc_fdset,
2498 __rpc_thread_createerr, __rpc_thread_svc_pollfd, and
2499 __rpc_thread_svc_max_pollfd.
2500 Define svc_fdset, get_rpc_createerr, svc_pollfd, and
2502 * sunrpc/rpc_thread.c: Handle first thread special, it uses the
2504 Define __rpc_thread_svc_fdset, __rpc_thread_createerr,
2505 __rpc_thread_svc_pollfd, and __rpc_thread_svc_max_pollfd.
2506 * sunrpc/Versions [libc] (GLIBC_2.2.3): Export __rpc_thread_svc_fdset,
2507 __rpc_thread_createerr, __rpc_thread_svc_pollfd, and
2508 __rpc_thread_svc_max_pollfd.
2509 * sunrpc/clnt_gen.c: Replace use of rpc_createerr by call to
2511 * sunrpc/clnt_perr.c: Likewise.
2512 * sunrpc/clnt_simp.c: Likewise.
2513 * sunrpc/clnt_tcp.c: Likewise.
2514 * sunrpc/clnt_udp.c: Likewise.
2515 * sunrpc/clnt_unix.c: Likewise.
2516 * sunrpc/pm_getport.c: Likewise.
2518 * sysdeps/unix/sysv/linux/i386/getgroups.c (__getgroups): getgroups32
2519 syscall checks for negative n so don't test here as well.
2521 2001-03-23 Jes Sorensen <jes@linuxcare.com>
2523 * sysdeps/unix/sysv/linux/ia64/sysdep.h (ENTRY): Moved to ...
2524 * sysdeps/ia64/sysdep.h: ...here.
2526 * sysdeps/ia64/sysdep.h (LOCAL_ENTRY): Define.
2527 * sysdeps/ia64/sysdep.h (LOCAL_LEAF): Define.
2529 * sysdeps/ia64/_mcount.S (_mcount_ret_helper): Use LOCAL_LEAF() to
2530 declare instead of LEAF(). Suggestion from David Mosberger.
2532 2001-03-21 David Mosberger <davidm@hpl.hp.com>
2534 * sysdeps/unix/sysv/linux/ia64/sysdep.h (CALL_MCOUNT): Add unwind
2536 (PSEUDO): Drop .psr and .lsb directives.
2538 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Ditto. Add unwind
2540 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Ditto.
2542 * sysdeps/ia64/elf/start.S: Misc cleanup: remove .psr and .lsb
2544 * sysdeps/unix/sysv/linux/ia64/brk.S: Ditto.
2545 * sysdeps/unix/sysv/linux/ia64/__longjmp.S: Ditto.
2546 * sysdeps/ia64/_mcount.S: Remove .psr and .lsb directives (no
2547 longer needed). Add unwind directives.
2549 * sysdeps/ia64/sysdep.h: Define ASM_UNW_PRLG_RP, ASM_UNW_PRLG_PFS,
2550 ASM_UNW_PRLG_PSP, ASM_UNW_PRLG_PR, and ASM_UNW_PRLG_GRSAVE.
2552 2001-03-21 Paul Eggert <eggert@twinsun.com>
2554 * posix/regex.h (RE_INVALID_INTERVAL_ORD): New macro.
2555 (RE_SYNTAX_POSIX_EGREP): Use it.
2556 * posix/regex.c (regex_compile): Implement it.
2558 2001-03-21 Paul Eggert <eggert@twinsun.com>
2560 * posix/regex.c (GET_UNSIGNED_NUMBER): Check for overflow.
2561 Rewrite to avoid duplicate code.
2563 2001-03-21 H.J. Lu <hjl@gnu.org>
2565 * elf/Makefile (tests): Don't depend on $(objpfx)tst-pathopt.out
2566 for cross-compiling.
2567 ($(objpfx)tst-pathopt.out): Undo the last change.
2569 2001-03-24 Mark Kettenis <kettenis@gnu.org>
2571 * sysdeps/mach/hurd/i386/bits/sigcontext.h (sc_sp, sc_fp, sc_pc,
2572 sc_ps): Define as aliases for sc_uesp, sc_ebl, sc_eip and sc_efl.
2574 * sysdeps/mach/hurd/i386/init-first.c: Include <assert.h>.
2575 (_dl_argv): Declare.
2576 (init) [SHARED]: Readjust _dl_argv if we switched to a new stack.
2578 2001-03-22 Andreas Jaeger <aj@suse.de>
2580 * iconvdata/Makefile (generated): Add iconv-test.xxx.
2582 * posix/Makefile (generated): Add bug-regex2.mtrace and
2585 2001-03-21 Ulrich Drepper <drepper@redhat.com>
2587 * csu/version.c (__gnu_get_libc_release): Add prototype.
2588 (__gnu_get_libc_version): Likewise.
2589 * include/gnu/libc-version.h: Remove prototypes for not exported
2592 2001-03-21 Jes Sorensen <jes@linuxcare.com>
2594 * sysdeps/unix/sysv/linux/ia64/makecontext.c: Include libintl.h
2595 for internationalized printfs to work.
2597 2001-03-09 Bruno Haible <haible@clisp.cons.org>
2599 * intl/dcigettext.c (transmem_block_t): Change to unsigned char, to
2600 avoid compiler warning.
2601 (_nl_find_msg): Add casts to avoid compiler warnings.
2603 2001-03-21 Ulrich Drepper <drepper@redhat.com>
2605 * gmon/Makefile (routines): Add sprofil.
2606 (tests): Add tst-sprofil.
2607 (noprof): Add sprofil.
2608 * gmon/Versions [libc] (GLIBC_2.2.3): Add sprofil.
2610 2001-03-20 David Mosberger <davidm@hpl.hp.com>
2612 * sysdeps/generic/sprofil.c: New file.
2613 * sysdeps/posix/sprofil.c: New file.
2614 * gmon/tst-sprofil.c: New file.
2615 * gmon/sys/profil.h: New file.
2617 2001-03-20 Andreas Schwab <schwab@suse.de>
2619 * include/unistd.h: Adjust prototype of __gethostname.
2621 2001-03-20 Jakub Jelinek <jakub@redhat.com>
2623 * sysdeps/sparc/stackinfo.h: New file.
2625 2001-03-21 Andreas Jaeger <aj@suse.de>
2627 * elf/global.c (main): Use proper prototype.
2629 2001-03-20 Ulrich Drepper <drepper@redhat.com>
2631 * sunrpc/Makefile (routines): Add rpc_thread.
2632 (CPPFLAGS): Add -D_RPC_THREAD_SAFE.
2633 * sunrpc/rpc_thread.c: New file.
2634 * sunrpc/Versions [libc] (GLIBC_2.2.3): Export __rpc_thread_destroy.
2635 * sunrpc/auth_none.c: Don't use global variables. Access state in
2636 thread-local storage.
2637 * sunrpc/clnt_perr.c: Likewise.
2638 * sunrpc/clnt_raw.c: Likewise.
2639 * sunrpc/clnt_simp.c: Likewise.
2640 * sunrpc/key_call.c: Likewise.
2641 * sunrpc/rpc_common.c: Likewise.
2642 * sunrpc/svc.c: Likewise.
2643 * sunrpc/svc_raw.c: Likewise.
2644 * sunrpc/svc_simple.c: Likewise.
2645 * sunrpc/svcauth_des.c: Likewise.
2646 * hurd/hurd/threadvar.h (enum __hurd_threadvar_index): Add
2647 _HURD_THREADVAR_RPC_VARS.
2648 * sysdeps/generic/bits/libc-tsd.h: Mention _LIBC_TSD_KEY_RPC_VARS.
2649 * include/rpc/rpc.h: Define data structures for internal thread-local
2651 Based on patches by Eric Norum <eric.norum@usask.ca>.
2653 * elf/dl-load.c: Various little optimizations.
2655 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Return
2656 LINUX_LINK_MAX only if the statfs function is not implemented for
2659 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Return
2660 LINUX_LINK_MAX only if the fstatfs function is not implemented for
2663 2001-03-19 Ulrich Drepper <drepper@redhat.com>
2665 * elf/dl-dst.h (DL_DST_COUNT): Add __builtin_expect.
2667 * elf/dl-load.c (_dl_dst_count): Make DST recognition more robust.
2668 (_dl_dst_substitute): Likewise.
2670 2001-03-17 Bruno Haible <haible@clisp.cons.org>
2672 * intl/loadmsgcat.c (_nl_load_domain) [!_LIBC]: Use fstat, not fstat64.
2674 2001-03-17 Bruno Haible <haible@clisp.cons.org>
2676 * intl/gettextP.h (struct expression): Add operators lnot, less_than,
2677 greater_than, less_or_equal, greater_or_equal. Replace args2/args3
2678 union by a 'nargs' counter and an 'args[]' array.
2679 * intl/plural.y: Don't include stdarg.h.
2680 (new_exp): Take an array of arguments instead of varargs.
2681 (new_exp_0, new_exp_1, new_exp_2, new_exp_3): New functions.
2682 ('?' ':'): Make right-associative.
2683 (EQUOP2): New token, replaces '=' and '!'.
2684 (CMPOP2): New token.
2685 (ADDOP2): New token, replaces '+' and '-'.
2686 (MULOP2): New token, replaces '*', '/' and '%'.
2688 (exp): Add rules for CMPOP2 and '!'. Don't call YYABORT.
2689 (start): Call YYABORT here.
2690 (FREE_EXPRESSION): Update.
2691 (yylex): Don't skip "\\n". Recognize comparison and '!' operators.
2692 Update for new token symbols.
2693 * intl/loadmsgcat.c (plvar, plone, germanic_plural,
2694 init_germanic_plural): Update.
2695 * intl/dcigettext.c (_nl_find_msg): Optimize for space.
2696 (plural_eval): Recognize comparison and '!' operators. Optimize for
2699 2001-03-10 Bruno Haible <haible@clisp.cons.org>
2701 * intl/loadmsgcat.c (_nl_load_domain): locale_charset() doesn't return
2704 2001-01-05 Bruno Haible <haible@clisp.cons.org>
2706 * intl/loadmsgcat.c: Include headers needed for alloca().
2708 (_nl_load_domain): Add fallback code for platforms lacking alloca.
2709 * intl/localealias.c: (ADD_BLOCK, FREE_BLOCK): Remove macros.
2711 (read_alias_file): Simplify fallback code for platforms lacking
2714 2001-01-07 Bruno Haible <haible@clisp.cons.org>
2716 * intl/gettextP.h (__gettextdebug): Remove declaration.
2717 (__gettext_free_exp, __gettextparse): Convert prototype to K&R C
2719 (gettext_free_exp__, gettextparse__): New non-libc declarations.
2720 * intl/plural.y [!_LIBC]: Define gettextparse__, gettext_free_exp__,
2721 not __gettextparse, __gettext_free_exp.
2722 * intl/loadmsgcat.c [!_LIBC]: Use gettextparse__, not __gettextparse.
2724 2001-02-24 Bruno Haible <haible@clisp.cons.org>
2726 * intl/dcigettext.c: Update comment about HAVE_LOCALE_NULL.
2728 2001-01-05 Bruno Haible <haible@clisp.cons.org>
2730 * intl/loadmsgcat.c (_nl_load_domain): Add fallback code for platforms
2731 lacking strtoul, like SunOS4.
2733 2001-01-05 Bruno Haible <haible@clisp.cons.org>
2735 * intl/l10nflist.c (_nl_normalize_codeset): Use tolower, not _tolower.
2737 2001-01-05 Bruno Haible <haible@clisp.cons.org>
2739 * intl/bindtextdom.c (set_binding_values): Convert prototype to K&R C
2741 * intl/dcigettext.c (transcmp): Convert to K&R C syntax.
2742 * intl/explodename.c (_nl_find_language): Convert to K&R C syntax.
2743 * intl/plural.y (__gettext_free_exp, yylex, yyerror): Convert to K&R C
2746 2001-01-07 Bruno Haible <haible@clisp.cons.org>
2748 * intl/gettextP.h (gettext__, dgettext__, dcgettext__, textdomain__,
2749 bindtextdomain__, bind_textdomain_codeset__): New declarations, from
2751 * intl/bindtextdom.c: Include libgnuintl.h instead of libgettext.h.
2752 * intl/dcgettext.c: Likewise.
2753 * intl/dcigettext.c: Likewise.
2754 * intl/dcngettext.c: Likewise.
2755 * intl/dngettext.c: Likewise.
2756 * intl/finddomain.c: Likewise.
2757 * intl/ngettext.c: Likewise.
2758 * intl/textdomain.c: Likewise.
2759 * intl/dgettext.c: Include libgnuintl.h instead of libgettext.h.
2761 * intl/gettext.c: Likewise. Don't include locale.h.
2763 2001-03-17 Bruno Haible <haible@clisp.cons.org>
2765 * intl/gettextP.h (ZERO): New macro.
2766 (struct binding): Always use ZERO.
2767 * intl/bindtextdom.c (offsetof): Provide fallback for platforms that
2768 lack it, like SunOS4.
2769 (set_binding_values): Use offsetof, not sizeof.
2770 * intl/dcigettext.c (offsetof): Provide fallback for platforms that
2771 lack it, like SunOS4.
2772 (ZERO): Remove macro.
2773 (struct transmem_list): Use ZERO.
2774 (DCIGETTEXT): Use offsetof, not sizeof.
2776 2001-03-17 Bruno Haible <haible@clisp.cons.org>
2778 * intl/gettextP.h: Include <stddef.h>. Include gettext.h, for
2780 * intl/bindtextdom.c: Don't include gettext.h.
2781 * intl/dcgettext.c: Likewise.
2782 * intl/dcigettext.c: Likewise.
2783 * intl/dcngettext.c: Likewise.
2784 * intl/dngettext.c: Likewise.
2785 * intl/finddomain.c: Likewise.
2786 * intl/localealias.c: Likewise.
2787 * intl/ngettext.c: Likewise.
2788 * intl/plural.y: Likewise.
2789 * intl/textdomain.c: Likewise.
2791 2001-03-17 Bruno Haible <haible@clisp.cons.org>
2793 * intl/gettext.h: Don't include <stdio.h>.
2795 2001-03-17 Bruno Haible <haible@clisp.cons.org>
2797 * intl/Makefile (CPPFLAGS): Set LOCALEDIR instead of GNULOCALEDIR.
2798 * intl/dcigettext.c (_nl_default_dirname): Initialize with LOCALEDIR.
2800 2001-03-19 Ulrich Drepper <drepper@redhat.com>
2802 * sysdeps/unix/i386/i686/tempname.c: New file.
2804 * sysdeps/posix/tempname.c (__gen_tempname): If RANDOM_BITS is
2805 defined use this macro to get some bits of randomness instead of
2806 the usual gettimeofday or time calls.
2808 2001-03-16 Paul Eggert <eggert@twinsun.com>
2810 * sysdeps/posix/tempname.c (uint64_t): Define to uintmax_t if
2811 not defined, and if UINT64_MAX is not defined.
2813 2001-03-19 Ulrich Drepper <drepper@redhat.com>
2815 * elf/cache.c: Mark and have translated a few more messages.
2817 2001-03-19 Martin Schwidefsky <schwidefsky@de.ibm.com>
2819 * elf/cache.c: Add case for FLAG_S390_LIB64.
2820 * sysdeps/generic/ldconfig.h: Add define for FLAG_S390_LIB64.
2821 * sysdeps/unix/sysv/linux/s390/ldconfig.h: New file.
2822 * sysdeps/unix/sysv/linux/s390/readelflib.c: New file.
2824 2001-03-19 Ulrich Drepper <drepper@redhat.com>
2826 * string/Makefile (tests): Add tst-strxfrm.
2827 * string/tst-strxfrm.c: New file. Based on a test case by Paul Eggert.
2828 * string/Depend: New file.
2830 2001-03-19 Paul Eggert <eggert@twinsun.com>
2832 * string/strxfrm.c (strxfrm): strxfrm should return 0, not 1,
2833 when given the empty string in nontrivial locales.
2835 2001-03-17 H.J. Lu <hjl@gnu.org>
2837 * manual/Makefile (install): Use $(INSTALL_DATA) instead of
2838 cp to install `dir'.
2840 2001-03-19 Andreas Schwab <schwab@suse.de>
2842 * Makerules (build-shlib): Make sure exit codes get checked
2845 2001-03-18 Ulrich Drepper <drepper@redhat.com>
2847 * Makerules (build-shlib): Remove unnecessary slashes introduced in
2850 * configure.in: Test for -Bgroup option of linker.
2851 * config.make.in: Define have-Bgroup.
2853 * conform/data/unistd.h-data: Require gethostname.
2854 * posix/unistd.h: Make gethostname prototype available for
2857 * crypt/Makefile: When generating DSO link with libc_nonshared.a.
2858 * debug/Makefile: Likewise.
2859 * dlfcn/Makefile: Likewise.
2860 * hesiod/Makefile: Likewise.
2861 * iconvdata/extra-module.mk: Likewise.
2862 * locale/Makefile: Likewise.
2863 * login/Makefile: Likewise.
2864 * math/Makefile: Likewise.
2865 * nis/Makefile: Likewise.
2866 * nss/Makefile: Likewise.
2867 * resolv/Makefile: Likewise.
2868 * rt/Makefile: Likewise.
2870 2001-03-17 Ulrich Drepper <drepper@redhat.com>
2872 * inet/Makefile (tests): Remove left-over comment.
2874 * posix/unistd.h (gethostname): Change type of second parameter
2875 back to size_t as per upcoming XPG6.
2876 * sysdeps/unix/sysv/aix/gethostname.c: Change type of second
2877 parameter back to size_t as per upcoming XPG6.
2878 * sysdeps/unix/sysv/sysv4/gethostname.c: Likewise.
2879 * sysdeps/unix/sysv/gethostname.c: Likewise.
2880 * sysdeps/mach/hurd/gethostname.c: Likewise.
2881 * sysdeps/generic/gethostname.c: Likewise.
2883 2001-03-16 Ulrich Drepper <drepper@redhat.com>
2885 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
2888 * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext):
2891 2001-02-06 Jakub Jelinek <jakub@redhat.com>
2893 * elf/dl-load.c (_dl_map_object): Don't test l_opencount when
2894 looking for name matches.
2896 2001-02-26 Jakub Jelinek <jakub@redhat.com>
2898 * sysdeps/generic/sigcontextinfo.h (CALL_SIGHANDLER): Define.
2899 * sysdeps/mach/hurd/i386/sigcontextinfo.h: Likewise.
2900 * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h: Likewise.
2901 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
2902 * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h: Likewise.
2903 * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h: Likewise.
2904 * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h: Likewise.
2905 * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h: Likewise.
2906 * sysdeps/unix/sysv/linux/s390/sigcontextinfo.h: Likewise.
2907 * sysdeps/unix/sysv/linux/sh/sigcontextinfo.h: Likewise.
2908 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: Likewise.
2909 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h: Likewise.
2911 2001-03-16 Ulrich Drepper <drepper@redhat.com>
2913 * sysdeps/ieee754/ldbl-96/s_erfl.c: New file.
2914 Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>.
2916 * sysdeps/i386/fpu/libm-test-ulps: Adjust for addition of erfl and
2918 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
2920 2001-03-16 David Mosberger <davidm@hpl.hp.com>
2922 * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h (struct sigcontext):
2923 Drop hack that was needed for 2.1.1 kernel headers.
2925 * sysdeps/unix/sysv/linux/ia64/ucontext_i.h: New file.
2927 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Rewrite to make it
2928 overlay with kernel's "struct sigcontext".
2930 * sysdeps/unix/sysv/linux/ia64/Makefile (sysdep_headers): Add
2931 sys/rse.h for "misc" subdir.
2932 (sysdep_routines): Add __start_context for "stdlib" subdir.
2934 * sysdeps/unix/sysv/linux/ia64/sys/rse.h: New file (based on
2935 kernel file of the same name).
2937 * stdlib/Makefile (tests): Add tst-setcontext.
2938 * stdlib/tst-setcontext.c: New file (based on a sample program by
2941 * sysdeps/unix/sysv/linux/ia64/setcontext.S: New file.
2942 * sysdeps/unix/sysv/linux/ia64/getcontext.S: New file.
2943 * sysdeps/unix/sysv/linux/ia64/__start_context.S: New file.
2944 * sysdeps/unix/sysv/linux/ia64/makecontext.c: New file.
2945 * sysdeps/unix/sysv/linux/ia64/swapcontext.c: New file.
2947 * sysdeps/unix/sysv/linux/ia64/__longjmp.S (__longjmp): Use extr.u
2948 instead of shift & and.
2950 2001-03-16 Martin Schwidefsky <schwidefsky@de.ibm.com>
2952 * sysdeps/s390/s390-64/bits/huge_val.h: Move to...
2953 * sysdeps/s390/bits/huge_val.h: ...here.
2954 * sysdeps/s390/s390-32/bit/huge_val.h: Remove.
2955 * sysdeps/s390/s390-64/ffs.c: Move to...
2956 * sysdeps/s390/ffs.c: ...here.
2957 * sysdeps/s390/s390-32/ffs.c: Remove.
2959 2001-03-16 Jakub Jelinek <jakub@redhat.com>
2961 * elf/ldconfig.c (search_dir): Remove bogus diagnostic, instead
2962 update osversion from more recent library.
2964 2001-03-13 Martin Schwidefsky <schwidefsky@de.ibm.com>
2966 * sysdeps/unix/sysv/linux/s390/Dist: Move to...
2967 * sysdeps/unix/sysv/linux/s390/s390-32/Dist: ...here.
2968 * sysdeps/unix/sysv/linux/s390/Makefile: Move to...
2969 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: ...here.
2970 * sysdeps/unix/sysv/linux/s390/Versions: Move to...
2971 * sysdeps/unix/sysv/linux/s390/s390-32/Versions: ...here.
2972 * sysdeps/unix/sysv/linux/s390/alphasort64.c: Move to...
2973 * sysdeps/unix/sysv/linux/s390/s390-32/alphasort64.c: ...here.
2974 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Move to...
2975 * sysdeps/unix/sysv/linux/s390/s390-32/bits/fcntl.h: ...here.
2976 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Move to...
2977 * sysdeps/unix/sysv/linux/s390/s390-32/bits/mman.h: ...here.
2978 * sysdeps/unix/sysv/linux/s390/bits/resource.h: Move to...
2979 * sysdeps/unix/sysv/linux/s390/s390-32/bits/resource.h: ...here.
2980 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Move to...
2981 * sysdeps/unix/sysv/linux/s390/s390-32/bits/stat.h: ...here.
2982 * sysdeps/unix/sysv/linux/s390/chown.c: Move to...
2983 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: ...here.
2984 * sysdeps/unix/sysv/linux/s390/clone.S: Move to...
2985 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: ...here.
2986 * sysdeps/unix/sysv/linux/s390/fchown.c: Move to...
2987 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: ...here.
2988 * sysdeps/unix/sysv/linux/s390/fcntl.c: Move to...
2989 * sysdeps/unix/sysv/linux/s390/s390-32/fcntl.c: ...here.
2990 * sysdeps/unix/sysv/linux/s390/fxstat.c: Move to...
2991 * sysdeps/unix/sysv/linux/s390/s390-32/fxstat.c: ...here.
2992 * sysdeps/unix/sysv/linux/s390/getdents64.c: Move to...
2993 * sysdeps/unix/sysv/linux/s390/s390-32/getdents64.c: ...here.
2994 * sysdeps/unix/sysv/linux/s390/getegid.c: Move to...
2995 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: ...here.
2996 * sysdeps/unix/sysv/linux/s390/geteuid.c: Move to...
2997 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: ...here.
2998 * sysdeps/unix/sysv/linux/s390/getgid.c: Move to...
2999 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: ...here.
3000 * sysdeps/unix/sysv/linux/s390/getgroups.c: Move to...
3001 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: ...here.
3002 * sysdeps/unix/sysv/linux/s390/getresgid.c: Move to...
3003 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: ...here.
3004 * sysdeps/unix/sysv/linux/s390/getresuid.c: Move to...
3005 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: ...here.
3006 * sysdeps/unix/sysv/linux/s390/getrlimit.c: Move to...
3007 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: ...here.
3008 * sysdeps/unix/sysv/linux/s390/getrlimit64.c: Move to...
3009 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit64.c: ...here.
3010 * sysdeps/unix/sysv/linux/s390/getuid.c: Move to...
3011 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: ...here.
3012 * sysdeps/unix/sysv/linux/s390/lchown.c: Move to...
3013 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: ...here.
3014 * sysdeps/unix/sysv/linux/s390/lockf64.c: Move to...
3015 * sysdeps/unix/sysv/linux/s390/s390-32/lockf64.c: ...here.
3016 * sysdeps/unix/sysv/linux/s390/lxstat.c: Move to...
3017 * sysdeps/unix/sysv/linux/s390/s390-32/lxstat.c: ...here.
3018 * sysdeps/unix/sysv/linux/s390/mmap.S: Move to...
3019 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: ...here.
3020 * sysdeps/unix/sysv/linux/s390/mmap64.S: Move to...
3021 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: ...here.
3022 * sysdeps/unix/sysv/linux/s390/msgctl.c: Move to...
3023 * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: ...here.
3024 * sysdeps/unix/sysv/linux/s390/oldgetrlimit64.c: Move to...
3025 * sysdeps/unix/sysv/linux/s390/s390-32/oldgetrlimit64.c: ...here.
3026 * sysdeps/unix/sysv/linux/s390/readdir64.c: Move to...
3027 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64.c: ...here.
3028 * sysdeps/unix/sysv/linux/s390/readdir64_r.c: Move to...
3029 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64_r.c: ...here.
3030 * sysdeps/unix/sysv/linux/s390/register-dump.h: Move to...
3031 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: ...here.
3032 * sysdeps/unix/sysv/linux/s390/scandir64.c: Move to...
3033 * sysdeps/unix/sysv/linux/s390/s390-32/scandir64.c: ...here.
3034 * sysdeps/unix/sysv/linux/s390/semctl.c: Move to...
3035 * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: ...here.
3036 * sysdeps/unix/sysv/linux/s390/setegid.c: Move to...
3037 * sysdeps/unix/sysv/linux/s390/s390-32/setegid.c: ...here.
3038 * sysdeps/unix/sysv/linux/s390/seteuid.c: Move to...
3039 * sysdeps/unix/sysv/linux/s390/s390-32/seteuid.c: ...here.
3040 * sysdeps/unix/sysv/linux/s390/setfsgid.c: Move to...
3041 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: ...here.
3042 * sysdeps/unix/sysv/linux/s390/setfsuid.c: Move to...
3043 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: ...here.
3044 * sysdeps/unix/sysv/linux/s390/setgid.c: Move to...
3045 * sysdeps/unix/sysv/linux/s390/s390-32/setgid.c: ...here.
3046 * sysdeps/unix/sysv/linux/s390/setgroups.c: Move to...
3047 * sysdeps/unix/sysv/linux/s390/s390-32/setgroups.c: ...here.
3048 * sysdeps/unix/sysv/linux/s390/setregid.c: Move to...
3049 * sysdeps/unix/sysv/linux/s390/s390-32/setregid.c: ...here.
3050 * sysdeps/unix/sysv/linux/s390/setresgid.c: Move to...
3051 * sysdeps/unix/sysv/linux/s390/s390-32/setresgid.c: ...here.
3052 * sysdeps/unix/sysv/linux/s390/setresuid.c: Move to...
3053 * sysdeps/unix/sysv/linux/s390/s390-32/setresuid.c: ...here.
3054 * sysdeps/unix/sysv/linux/s390/setreuid.c: Move to...
3055 * sysdeps/unix/sysv/linux/s390/s390-32/setreuid.c: ...here.
3056 * sysdeps/unix/sysv/linux/s390/setrlimit.c: Move to...
3057 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: ...here.
3058 * sysdeps/unix/sysv/linux/s390/setuid.c: Move to...
3059 * sysdeps/unix/sysv/linux/s390/s390-32/setuid.c: ...here.
3060 * sysdeps/unix/sysv/linux/s390/shmctl.c: Move to...
3061 * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: ...here.
3062 * sysdeps/unix/sysv/linux/s390/socket.S: Move to...
3063 * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: ...here.
3064 * sysdeps/unix/sysv/linux/s390/sys/procfs.h: Move to...
3065 * sysdeps/unix/sysv/linux/s390/s390-32/sys/procfs.h: ...here.
3066 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Move to...
3067 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: ...here.
3068 * sysdeps/unix/sysv/linux/s390/syscall.S: Move to...
3069 * sysdeps/unix/sysv/linux/s390/s390-32/syscall.S: ...here.
3070 * sysdeps/unix/sysv/linux/s390/syscalls.list: Move to...
3071 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: ...here.
3072 * sysdeps/unix/sysv/linux/s390/sysdep.S: Move to...
3073 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: ...here.
3074 * sysdeps/unix/sysv/linux/s390/sysdep.h: Move to...
3075 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: ...here.
3076 * sysdeps/unix/sysv/linux/s390/versionsort64.c: Move to...
3077 * sysdeps/unix/sysv/linux/s390/s390-32/versionsort64.c: ...here.
3078 * sysdeps/unix/sysv/linux/s390/xstat.c: Move to...
3079 * sysdeps/unix/sysv/linux/s390/s390-32/xstat.c: ...here.
3081 2001-03-13 Martin Schwidefsky <schwidefsky@de.ibm.com>
3083 * sysdeps/unix/sysv/linux/s390/s390-64/Dist: New file.
3084 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: New file.
3085 * sysdeps/unix/sysv/linux/s390/s390-64/bits/elfclass.h: New file.
3086 * sysdeps/unix/sysv/linux/s390/s390-64/bits/fcntl.h: New file.
3087 * sysdeps/unix/sysv/linux/s390/s390-64/bits/ipc.h: New file.
3088 * sysdeps/unix/sysv/linux/s390/s390-64/bits/mman.h: New file.
3089 * sysdeps/unix/sysv/linux/s390/s390-64/bits/msq.h: New file.
3090 * sysdeps/unix/sysv/linux/s390/s390-64/bits/resource.h: New file.
3091 * sysdeps/unix/sysv/linux/s390/s390-64/bits/sem.h: New file.
3092 * sysdeps/unix/sysv/linux/s390/s390-64/bits/shm.h: New file.
3093 * sysdeps/unix/sysv/linux/s390/s390-64/bits/sigaction.h: New file.
3094 * sysdeps/unix/sysv/linux/s390/s390-64/bits/siginfo.h: New file.
3095 * sysdeps/unix/sysv/linux/s390/s390-64/bits/sigstack.h: New file.
3096 * sysdeps/unix/sysv/linux/s390/s390-64/bits/stat.h: New file.
3097 * sysdeps/unix/sysv/linux/s390/s390-64/bits/types.h: New file.
3098 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: New file.
3099 * sysdeps/unix/sysv/linux/s390/s390-64/fstatfs64.c: New file.
3100 * sysdeps/unix/sysv/linux/s390/s390-64/ftruncate64.c: New file.
3101 * sysdeps/unix/sysv/linux/s390/s390-64/fxstat.c: New file.
3102 * sysdeps/unix/sysv/linux/s390/s390-64/fxstat64.c: New file.
3103 * sysdeps/unix/sysv/linux/s390/s390-64/getdents.c: New file.
3104 * sysdeps/unix/sysv/linux/s390/s390-64/getdents64.c: New file.
3105 * sysdeps/unix/sysv/linux/s390/s390-64/getrlimit64.c: New file.
3106 * sysdeps/unix/sysv/linux/s390/s390-64/glob.c: New file.
3107 * sysdeps/unix/sysv/linux/s390/s390-64/glob64.c: New file.
3108 * sysdeps/unix/sysv/linux/s390/s390-64/kernel_stat.h: New file.
3109 * sysdeps/unix/sysv/linux/s390/s390-64/lxstat.c: New file.
3110 * sysdeps/unix/sysv/linux/s390/s390-64/lxstat64.c: New file.
3111 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: New file.
3112 * sysdeps/unix/sysv/linux/s390/s390-64/mmap64.c: New file.
3113 * sysdeps/unix/sysv/linux/s390/s390-64/pread64.c: New file.
3114 * sysdeps/unix/sysv/linux/s390/s390-64/pwrite64.c: New file.
3115 * sysdeps/unix/sysv/linux/s390/s390-64/readdir.c: New file.
3116 * sysdeps/unix/sysv/linux/s390/s390-64/readdir64.c: New file.
3117 * sysdeps/unix/sysv/linux/s390/s390-64/readdir64_r.c: New file.
3118 * sysdeps/unix/sysv/linux/s390/s390-64/readdir_r.c : New file.
3119 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: New file.
3120 * sysdeps/unix/sysv/linux/s390/s390-64/setrlimit64.c: New file.
3121 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: New file.
3122 * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c: New file.
3123 * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c: New file.
3124 * sysdeps/unix/sysv/linux/s390/s390-64/sigsuspend.c: New file.
3125 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: New file.
3126 * sysdeps/unix/sysv/linux/s390/s390-64/statfs64.c: New file.
3127 * sysdeps/unix/sysv/linux/s390/s390-64/sys/procfs.h: New file.
3128 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: New file.
3129 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: New file.
3130 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: New file.
3131 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: New file.
3132 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: New file.
3133 * sysdeps/unix/sysv/linux/s390/s390-64/truncate64.c: New file.
3134 * sysdeps/unix/sysv/linux/s390/s390-64/xstat.c: New file.
3135 * sysdeps/unix/sysv/linux/s390/s390-64/xstat64.c: New file.
3137 2001-03-13 Martin Schwidefsky <schwidefsky@de.ibm.com>
3139 * sysdeps/s390/Dist: Move to...
3140 * sysdeps/s390/390-32/Dist: ...here.
3141 * sysdeps/s390/Implies: Move to...
3142 * sysdeps/s390/s390-32/Implies: ...here.
3143 * sysdeps/s390/Makefile: Move to...
3144 * sysdeps/s390/s390-32/Makefile: ...here.
3145 * sysdeps/s390/Versions: Move to...
3146 * sysdeps/s390-32/s390/Versions: ...here.
3147 * sysdeps/s390/add_n.S: Move to...
3148 * sysdeps/s390/s390-32/add_n.S: ...here.
3149 * sysdeps/s390/addmul_1.S: Move to...
3150 * sysdeps/s390/s390-32/addmul_1.S: ...here.
3151 * sysdeps/s390/atomicity.h: Move to...
3152 * sysdeps/s390/s390-32/atomicity.h: ...here.
3153 * sysdeps/s390/backtrace.c: Move to...
3154 * sysdeps/s390/s390-32/backtrace.c: ...here.
3155 * sysdeps/s390/bcopy.S: Move to...
3156 * sysdeps/s390/s390-32/bcopy.S: ...here.
3157 * sysdeps/s390/bits/byteswap.h: Move to...
3158 * sysdeps/s390/s390-32/bits/byteswap.h: ...here.
3159 * sysdeps/s390/bits/huge_val.h: Move to...
3160 * sysdeps/s390/s390-32/bits/huge_val.h: ...here.
3161 * sysdeps/s390/bsd-_setjmp.S: Move to...
3162 * sysdeps/s390/s390-32/bsd-_setjmp.S: ...here.
3163 * sysdeps/s390/bsd-setjmp.S: Move to...
3164 * sysdeps/s390/s390-32/bsd-setjmp.S: ...here.
3165 * sysdeps/s390/bzero.S: Move to...
3166 * sysdeps/s390/s390-32/bzero.S: ...here.
3167 * sysdeps/s390/elf/bsd-_setjmp.S: Move to...
3168 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: ...here.
3169 * sysdeps/s390/elf/bsd-setjmp.S: Move to...
3170 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: ...here.
3171 * sysdeps/s390/elf/start.S: Move to...
3172 * sysdeps/s390/s390-32/elf/start.S: ...here.
3173 * sysdeps/s390/ffs.c: Move to...
3174 * sysdeps/s390/s390-32/ffs.c: ...here.
3175 * sysdeps/s390/memchr.S: Move to...
3176 * sysdeps/s390/s390-32/memchr.S: ...here.
3177 * sysdeps/s390/memcpy.S: Move to...
3178 * sysdeps/s390/s390-32/memcpy.S: ...here.
3179 * sysdeps/s390/memset.S: Move to...
3180 * sysdeps/s390/s390-32/memset.S: ...here.
3181 * sysdeps/s390/mul_1.S: Move to...
3182 * sysdeps/s390/s390-32/mul_1.S: ...here.
3183 * sysdeps/s390/s390-mcount.S: Move to...
3184 * sysdeps/s390/s390-32/s390-mcount.S: ...here.
3185 * sysdeps/s390/strcpy.S: Move to...
3186 * sysdeps/s390/s390-32/strcpy.S: ...here.
3187 * sysdeps/s390/strncpy.S: Move to...
3188 * sysdeps/s390/s390-32/strncpy.S: ...here.
3189 * sysdeps/s390/sub_n.S: Move to...
3190 * sysdeps/s390/s390-32/sub_n.S: ...here.
3192 2001-03-13 Martin Schwidefsky <schwidefsky@de.ibm.com>
3194 * sysdeps/s390/s390-64/Dist: New file.
3195 * sysdeps/s390/s390-64/Implies: New file.
3196 * sysdeps/s390/s390-64/Makefile: New file.
3197 * sysdeps/s390/s390-64/__longjmp.c: New file.
3198 * sysdeps/s390/s390-64/add_n.S: New file.
3199 * sysdeps/s390/s390-64/atomicity.h: New file.
3200 * sysdeps/s390/s390-64/backtrace.c: New file.
3201 * sysdeps/s390/s390-64/bcopy.S: New file.
3202 * sysdeps/s390/s390-64/bits/byteswap.h: New file.
3203 * sysdeps/s390/s390-64/bits/huge_val.h: New file.
3204 * sysdeps/s390/s390-64/bits/setjmp.h: New file.
3205 * sysdeps/s390/s390-64/bits/string.h: New file.
3206 * sysdeps/s390/s390-64/bsd-_setjmp.S: New file.
3207 * sysdeps/s390/s390-64/bsd-setjmp.S: New file.
3208 * sysdeps/s390/s390-64/bzero.S: New file.
3209 * sysdeps/s390/s390-64/dl-machine.h: New file.
3210 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: New file.
3211 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: New file.
3212 * sysdeps/s390/s390-64/elf/setjmp.S: New file.
3213 * sysdeps/s390/s390-64/elf/start.S: New file.
3214 * sysdeps/s390/s390-64/ffs.c: New file.
3215 * sysdeps/s390/s390-64/initfini.c: New file.
3216 * sysdeps/s390/s390-64/memchr.S: New file.
3217 * sysdeps/s390/s390-64/memcpy.S: New file.
3218 * sysdeps/s390/s390-64/memset.S: New file.
3219 * sysdeps/s390/s390-64/s390x-mcount.S: New file.
3220 * sysdeps/s390/s390-64/setjmp.S: New file.
3221 * sysdeps/s390/s390-64/strcpy.S: New file.
3222 * sysdeps/s390/s390-64/strncpy.S: New file.
3223 * sysdeps/s390/s390-64/sub_n.S: New file.
3224 * sysdeps/s390/s390-64/sysdep.h: New file.
3226 2001-03-13 Martin Schwidefsky <schwidefsky@de.ibm.com>
3228 * scripts/config.guess: Add support for Linux on 64 bit S/390.
3229 * scripts/config.sub: Likewise.
3231 2001-03-13 Martin Schwidefsky <schwidefsky@de.ibm.com>
3233 * configure.in: Add support for 64 bit S/390.
3235 * elf/elf.h: Add new relocations for 64 bit S/390.
3237 * shlib-versions: Add rules for Linux on 64 bit S/390.
3239 2001-03-13 Martin Schwidefsky <schwidefsky@de.ibm.com>
3241 * sysdeps/s390/__longjmp.c: Move to...
3242 * sysdeps/s390/s390-32/__longjmp.c: ...here. Add code
3243 to load the floating point registers that should be saved
3244 according to the ABI.
3246 * sysdeps/s390/bits/setjmp.h: Move to...
3247 * sysdeps/s390/s390-32/bits/setjmp.h: ...here. Avoid
3248 the use of long long in the __jmp_buf type definition.
3250 * sysdeps/s390/bits/string.h: Move to...
3251 * sysdeps/s390/s390-32/bits/string.h: ...here. Add several missing
3252 #ifndef _FORCE_INLINES.
3254 * sysdeps/s390/dl-machine.h: Move to...
3255 * sysdeps/s390/s390-32/dl-machine.h: ...here. Add a check for the
3256 executables EI_CLASS in elf_machine_matches_host.
3258 * sysdeps/s390/elf/setjmp.S: Move to...
3259 * sysdeps/s390/s390-32/elf/setjmp.S: ...here. Replace
3260 branches to globally defined symbol __sigsetjmp by branches to
3261 a local label (this avoids the generation of a R_390_PC16DBL
3262 relocation in -fpic code).
3264 * sysdeps/s390/gmp-mparam.h: Use defines from <bits/wordsize.h> to
3265 calculate BITS_PER_MP_LIMB, BYTES_PER_MP_LIMB and BITS_PER_LONGINT.
3267 * sysdeps/s390/initfini.c: Move to...
3268 * sysdeps/s390/s390-32/initfini.c: ...here. Replace ALIGN with
3271 * sysdeps/s390/setjmp.S: Move to...
3272 * sysdeps/s390/s390-32/setjmp.S: ...here. Add code to store the
3273 floating point registers that should be saved according to the ABI.
3275 * sysdeps/s390/sys/ucontext.h: Remove since it is unused.
3277 * sysdeps/unix/sysv/linux/s390/sysdep.h: Move to...
3278 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: ...here. Include
3279 sysdeps/s390/s390-32/sysdep.h instead of sysdeps/s390/sysdep.h.
3281 2001-03-13 Martin Schwidefsky <schwidefsky@de.ibm.com>
3283 * configure.in: Change machine=s390 to machine=s390/s390-32.
3285 * elf/elf.h: Correct comment for R_390_PLT16DBL.
3287 2001-03-12 Jakub Jelinek <jakub@redhat.com>
3289 * csu/Makefile (abi-tag.h): Define OS and version separately, allow
3290 version to be overriden from config.h.
3291 * csu/abi-note.S: Use OS and version separately, include config.h.
3292 * elf/dl-load.c (_dl_osversion): New.
3293 (_dl_map_object_from_fd): Kill some warnings.
3294 (open_verify): Check .note.ABI-tag of the library if present.
3295 * elf/Makefile (CPPFLAGS-dl-load.c): Add -I$(csu-objpfx).
3296 * elf/cache.c (struct cache_entry): Add osversion.
3297 (print_entry): Print osversion.
3298 (print_cache): Pass osversion to it.
3299 (compare): Sort according to osversion.
3300 (save_cache): Set osversion.
3301 (add_to_cache): Add osversion argument.
3302 * sysdeps/generic/ldconfig.h (add_to_cache, process_file,
3303 process_elf_file): Add osversion argument.
3304 * elf/readlib.c (process_file): Likewise.
3305 * sysdeps/generic/readelflib.c (process_elf_file): Likewise.
3306 * sysdeps/unix/sysv/linux/ia64/readelflib.c (process_elf_file,
3307 process_elf32_file, process_elf64_file): Likewise.
3308 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file,
3309 process_elf32_file, process_elf64_file): Likewise.
3310 * sysdeps/unix/sysv/linux/sparc/readelflib.c (process_elf_file,
3311 process_elf32_file, process_elf64_file): Likewise.
3312 * elf/ldconfig.c (manual_link): Pass it.
3313 (search_dir): Issue diagnostic if two libs with the same soname in
3314 the same directory have different .note.ABI-tag. Record osversion in
3315 dlib_entry and use it from there.
3316 (struct lib_entry): Remove.
3317 (struct dlib_entry): Add osversion.
3318 * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Check
3320 * sysdeps/generic/dl-cache.h (struct file_entry_new): Replace __unused
3321 field with osversion.
3322 * sysdeps/generic/ldsodefs.h (_dl_osversion): Declare.
3323 * sysdeps/unix/sysv/linux/init-first.c: Include ldsodefs.h.
3324 * sysdeps/unix/sysv/linux/dl-osinfo.h (DL_SYSDEP_OSCHECK): Save kernel
3325 version in _dl_osversion.
3326 * sysdeps/unix/sysv/linux/configure.in: Define __ABI_TAG_VERSION.
3327 * Makerules (build-shlib-helper, build-module-helper): New.
3328 (build-shlib, build-module-helper): Make sure .note.ABI-tag comes
3330 * config.h.in (__ABI_TAG_VERSION): Add.
3331 * elf/dl-minimal.c (__strtoul_internal): Set endptr on return.
3332 * sysdeps/unix/sysv/linux/i386/dl-librecon.h (EXTRA_LD_ENVVARS):
3333 Handle LD_ASSUME_KERNEL.
3334 * sysdeps/unix/sysv/linux/dl-librecon.h: New.
3336 2001-03-15 Ulrich Drepper <drepper@redhat.com>
3338 * timezone/antarctica: Update from tzdata2001a.
3339 * timezone/asia: Likewise.
3340 * timezone/australasia: Likewise.
3341 * timezone/backward: Likewise.
3342 * timezone/etcetera: Likewise.
3343 * timezone/europe: Likewise.
3344 * timezone/leapseconds: Likewise.
3345 * timezone/northamerica: Likewise.
3346 * timezone/southamerica: Likewise.
3347 * timezone/systemv: Likewise.
3348 * timezone/yearistype: Likewise.
3349 * timezone/zone.tab: Likewise.
3350 * timezone/tzdump.c: Update from tzcode2001a.
3352 2001-03-15 H.J. Lu <hjl@gnu.org>
3354 * intl/Makefile: Fix a typo.
3356 2001-03-14 David Mosberger <davidm@hpl.hp.com>
3358 * gmon/gmon.c (write_call_graph): Avoid unaligned accesses when
3359 writing arc structures.
3361 2001-03-15 H.J. Lu <hjl@gnu.org>
3363 * elf/Makefile ($(objpfx)tst-pathopt.out): Protected against
3366 2001-03-13 Andreas Schwab <schwab@suse.de>
3368 * posix/PTESTS2C.sed: Replace literal CRs by `\r'.
3370 2001-03-15 Ulrich Drepper <drepper@redhat.com>
3372 * sysdeps/unix/sysv/linux/cmsg_nxthdr.c (__cmsg_nxthdr): Fix test
3373 for control message fitting into message data.
3374 Patch by James Antill <james@and.org>.
3376 * posix/tst-fnmatch.input: Add test case for FNM_PERIOD handling with
3379 * posix/fnmatch_loop.c: Optimize handling of ?() and @().
3380 * posix/fnmatch.c: Define STRLEN and STRCAT appropriately.
3382 * posix/Versions [libc] (GLIBC_2.2.3): Add fnmatch.
3383 * posix/fnmatch.c: Define with new default version GLIBC_2.2.3 to
3384 avoid running binaries with libc versions without FNM_EXTMATCH support.
3386 * include/wchar.h: Add prototype for __wcscat.
3387 * wcsmbs/wcscat.c: Define __wcscat and make wcscat weak alias.
3389 * posix/fnmatch.h (FNM_EXTMATCH): Define.
3390 * posix/fnmatch.c (NO_LEADING_PERIOD): Define.
3391 (posixly_correct): Move global variable here.
3392 (INT, EXT, END): Name new functions defined in fnmatch_loop.c.
3393 (fnmatch): Pretty printing.
3394 * posix/fnmatch_loop.c: Add code to handle FNM_EXTMATCH.
3395 * posix/tst-fnmatch.c: Recognize EXTMATCH flag.
3396 * posix/tst-fnmatch.input: Add tests for extended matching.
3398 * posix/testfnm.c: Add test for patterns with multiple ** before /.
3399 * posix/fnmatch_loop.c: Fix problem with the test above.
3401 2001-03-14 Ulrich Drepper <drepper@redhat.com>
3403 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Remove
3406 * resolv/res_data.c (fp_nquery): Call __res_ninit not __res_init.
3408 2001-03-12 Andreas Jaeger <aj@suse.de>
3410 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
3411 Use EM_X86_64 instead of EM_X8664.
3413 2001-03-12 Ulrich Drepper <drepper@redhat.com>
3415 * sysdeps/ieee754/dbl-64/upow.h: Define nZERO and nINF.
3417 * sysdeps/ieee754/dbl-64/e_remainder.c: Fix handling of boundary
3420 * sysdeps/ieee754/dbl-64/e_pow.c: Fix handling of boundary
3423 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Handle Inf and NaN
3427 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Handle NaN
3429 (__ieee754_acos): Likewise.
3431 2001-03-12 Andreas Jaeger <aj@suse.de>
3433 * sysdeps/unix/sysv/linux/s390/sysdep.h (_LINUX_S390_SYSDEP_H):
3434 Fix typo. Patch by Martin Schwidefsky <schwidefsky@de.ibm.com>.
3436 * sysdeps/s390/bits/string.h: Protect __STRING_INLINE against
3439 2001-03-11 Roland McGrath <roland@frob.com>
3441 * sysdeps/mach/hurd/configure.in: Add a sanity check on $prefix.
3443 2001-03-11 Ulrich Drepper <drepper@redhat.com>
3445 * sysdeps/ieee754/dbl-64/endian.h: Define also one of BIG_ENDI and
3448 * sysdeps/ieee754/dbl-64/MathLib.h (Init_Lib): Use void as
3451 Last-bit accurate math library implementation by IBM Haifa.
3452 Contributed by Abraham Ziv <ziv@il.ibm.com>, Moshe Olshansky
3453 <olshansk@il.ibm.com>, Ealan Henis <ealan@il.ibm.com>, and
3454 Anna Reitman <reitman@il.ibm.com>.
3455 * math/Makefile (dbl-only-routines): New variable.
3456 (libm-routines): Add $(dbl-only-routines).
3457 * sysdeps/ieee754/dbl-64/e_acos.c: Empty, definition is in e_asin.c.
3458 * sysdeps/ieee754/dbl-64/e_asin.c: Replaced with accurate asin
3460 * sysdeps/ieee754/dbl-64/e_atan2.c: Replaced with accurate atan2
3462 * sysdeps/ieee754/dbl-64/e_exp.c: Replaced with accurate exp
3464 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Don't use __kernel_sin and
3466 * sysdeps/ieee754/dbl-64/e_log.c: Replaced with accurate log
3468 * sysdeps/ieee754/dbl-64/e_remainder.c: Replaced with accurate
3469 remainder implementation.
3470 * sysdeps/ieee754/dbl-64/e_pow.c: Replaced with accurate pow
3472 * sysdeps/ieee754/dbl-64/e_sqrt.c: Replaced with accurate sqrt
3474 * sysdeps/ieee754/dbl-64/k_cos.c: Empty, definition is in s_sin.c.
3475 * sysdeps/ieee754/dbl-64/k_sin.c: Empty, definition is in s_sin.c.
3476 * sysdeps/ieee754/dbl-64/s_atan.c: Replaced with accurate atan
3478 * sysdeps/ieee754/dbl-64/s_cos.c: Empty, definition is in s_sin.c.
3479 * sysdeps/ieee754/dbl-64/s_sin.c: Replaced with accurate sin/cos
3481 * sysdeps/ieee754/dbl-64/s_sincos.c: Rewritten to not use __kernel_sin
3483 * sysdeps/ieee754/dbl-64/s_tan.c: Replaced with accurate tan
3485 * sysdeps/ieee754/dbl-64/Dist: Add new non-code files.
3486 * sysdeps/ieee754/dbl-64/MathLib.h: New file.
3487 * sysdeps/ieee754/dbl-64/asincos.tbl: New file.
3488 * sysdeps/ieee754/dbl-64/atnat.h: New file.
3489 * sysdeps/ieee754/dbl-64/atnat2.h: New file.
3490 * sysdeps/ieee754/dbl-64/branred.c: New file.
3491 * sysdeps/ieee754/dbl-64/branred.h: New file.
3492 * sysdeps/ieee754/dbl-64/dla.h: New file.
3493 * sysdeps/ieee754/dbl-64/doasin.c: New file.
3494 * sysdeps/ieee754/dbl-64/doasin.h: New file.
3495 * sysdeps/ieee754/dbl-64/dosincos.c: New file.
3496 * sysdeps/ieee754/dbl-64/dosincos.h: New file.
3497 * sysdeps/ieee754/dbl-64/endian.h: New file.
3498 * sysdeps/ieee754/dbl-64/halfulp.c: New file.
3499 * sysdeps/ieee754/dbl-64/mpa.c: New file.
3500 * sysdeps/ieee754/dbl-64/mpa.h: New file.
3501 * sysdeps/ieee754/dbl-64/mpa2.h: New file.
3502 * sysdeps/ieee754/dbl-64/mpatan.c: New file.
3503 * sysdeps/ieee754/dbl-64/mpatan.h: New file.
3504 * sysdeps/ieee754/dbl-64/mpatan2.c: New file.
3505 * sysdeps/ieee754/dbl-64/mpexp.c: New file.
3506 * sysdeps/ieee754/dbl-64/mpexp.h: New file.
3507 * sysdeps/ieee754/dbl-64/mplog.c: New file.
3508 * sysdeps/ieee754/dbl-64/mplog.h: New file.
3509 * sysdeps/ieee754/dbl-64/mpsqrt.c: New file.
3510 * sysdeps/ieee754/dbl-64/mpsqrt.h: New file.
3511 * sysdeps/ieee754/dbl-64/mptan.c: New file.
3512 * sysdeps/ieee754/dbl-64/mydefs.h: New file.
3513 * sysdeps/ieee754/dbl-64/powtwo.tbl: New file.
3514 * sysdeps/ieee754/dbl-64/root.tbl: New file.
3515 * sysdeps/ieee754/dbl-64/sincos.tbl: New file.
3516 * sysdeps/ieee754/dbl-64/sincos32.c: New file.
3517 * sysdeps/ieee754/dbl-64/sincos32.h: New file.
3518 * sysdeps/ieee754/dbl-64/slowexp.c: New file.
3519 * sysdeps/ieee754/dbl-64/slowpow.c: New file.
3520 * sysdeps/ieee754/dbl-64/uasncs.h: New file.
3521 * sysdeps/ieee754/dbl-64/uatan.tbl: New file.
3522 * sysdeps/ieee754/dbl-64/uexp.h: New file.
3523 * sysdeps/ieee754/dbl-64/uexp.tbl: New file.
3524 * sysdeps/ieee754/dbl-64/ulog.h: New file.
3525 * sysdeps/ieee754/dbl-64/ulog.tbl: New file.
3526 * sysdeps/ieee754/dbl-64/upow.h: New file.
3527 * sysdeps/ieee754/dbl-64/upow.tbl: New file.
3528 * sysdeps/ieee754/dbl-64/urem.h: New file.
3529 * sysdeps/ieee754/dbl-64/uroot.h: New file.
3530 * sysdeps/ieee754/dbl-64/usncs.h: New file.
3531 * sysdeps/ieee754/dbl-64/utan.h: New file.
3532 * sysdeps/ieee754/dbl-64/utan.tbl: New file.
3533 * sysdeps/i386/fpu/branred.c: New file.
3534 * sysdeps/i386/fpu/doasin.c: New file.
3535 * sysdeps/i386/fpu/dosincos.c: New file.
3536 * sysdeps/i386/fpu/halfulp.c: New file.
3537 * sysdeps/i386/fpu/mpa.c: New file.
3538 * sysdeps/i386/fpu/mpatan.c: New file.
3539 * sysdeps/i386/fpu/mpatan2.c: New file.
3540 * sysdeps/i386/fpu/mpexp.c: New file.
3541 * sysdeps/i386/fpu/mplog.c: New file.
3542 * sysdeps/i386/fpu/mpsqrt.c: New file.
3543 * sysdeps/i386/fpu/mptan.c: New file.
3544 * sysdeps/i386/fpu/sincos32.c: New file.
3545 * sysdeps/i386/fpu/slowexp.c: New file.
3546 * sysdeps/i386/fpu/slowpow.c: New file.
3547 * sysdeps/ia64/fpu/branred.c: New file.
3548 * sysdeps/ia64/fpu/doasin.c: New file.
3549 * sysdeps/ia64/fpu/dosincos.c: New file.
3550 * sysdeps/ia64/fpu/halfulp.c: New file.
3551 * sysdeps/ia64/fpu/mpa.c: New file.
3552 * sysdeps/ia64/fpu/mpatan.c: New file.
3553 * sysdeps/ia64/fpu/mpatan2.c: New file.
3554 * sysdeps/ia64/fpu/mpexp.c: New file.
3555 * sysdeps/ia64/fpu/mplog.c: New file.
3556 * sysdeps/ia64/fpu/mpsqrt.c: New file.
3557 * sysdeps/ia64/fpu/mptan.c: New file.
3558 * sysdeps/ia64/fpu/sincos32.c: New file.
3559 * sysdeps/ia64/fpu/slowexp.c: New file.
3560 * sysdeps/ia64/fpu/slowpow.c: New file.
3561 * sysdeps/m68k/fpu/branred.c: New file.
3562 * sysdeps/m68k/fpu/doasin.c: New file.
3563 * sysdeps/m68k/fpu/dosincos.c: New file.
3564 * sysdeps/m68k/fpu/halfulp.c: New file.
3565 * sysdeps/m68k/fpu/mpa.c: New file.
3566 * sysdeps/m68k/fpu/mpatan.c: New file.
3567 * sysdeps/m68k/fpu/mpatan2.c: New file.
3568 * sysdeps/m68k/fpu/mpexp.c: New file.
3569 * sysdeps/m68k/fpu/mplog.c: New file.
3570 * sysdeps/m68k/fpu/mpsqrt.c: New file.
3571 * sysdeps/m68k/fpu/mptan.c: New file.
3572 * sysdeps/m68k/fpu/sincos32.c: New file.
3573 * sysdeps/m68k/fpu/slowexp.c: New file.
3574 * sysdeps/m68k/fpu/slowpow.c: New file.
3576 * iconvdata/gconv-modules: Add a number of alias, mostly for IBM
3579 2001-03-11 Andreas Jaeger <aj@suse.de>
3581 * elf/elf.h (EM_*): Synch with official list.
3583 2001-03-07 David Mosberger <davidm@hpl.hp.com>
3585 * sysdeps/ia64/bits/fenv.h (FE_NONIEEE_ENV): New macro.
3587 2001-03-07 Jes Sorensen <jes@linuxcare.com>
3589 * sysdeps/unix/sysv/linux/ia64/ioperm.c (_ioperm): Remove unused
3590 variables addr & len.
3592 2001-02-22 Jes Sorensen <jes@linuxcare.com>
3594 * sysdeps/ia64/fpu/feenablxcpt.c (feenableexcept): Remove
3595 punctuation in asm constraint.
3597 2001-03-07 Mark Kettenis <kettenis@gnu.org>
3599 * resolv/netdb.h [__USE_GNU]: Define __need_timespec and include
3600 <time.h> to get definition of `struct timespec'.
3602 2001-03-08 Jakub Jelinek <jakub@redhat.com>
3604 * elf/rtld.c (dl_main): If tracing, warn about undefined symbols if
3605 LD_WARN=1, not if LD_WARN is unset.
3607 2001-03-07 Andreas Schwab <schwab@suse.de>
3609 * elf/ldconfig.h: Moved to ...
3610 * sysdeps/generic/ldconfig.h: ... here.
3611 * sysdeps/unix/sysv/linux/i386/ldconfig.h: New file.
3612 * sysdeps/unix/sysv/linux/m68k/ldconfig.h: New file.
3613 * sysdeps/unix/sysv/linux/ia64/ldconfig.h: New file.
3614 * elf/readlib.c (interpreters, known_libs): Use
3615 SYSDEP_KNOWN_INTERPRETER_NAMES and SYSDEP_KNOWN_LIBRARY_NAMES
3616 instead of hard coding old names.
3618 2001-03-09 Ulrich Drepper <drepper@redhat.com>
3620 * catgets/Makefile (generated): Add test-gencat.h.
3621 (sample.SJIS.cat): Also generate header.
3622 * catgets/sample.SJIS: Add new set and message, both with symbolic
3624 * catgets/test-gencat.sh: Also compare generated header with what
3627 2001-03-07 Jakub Jelinek <jakub@redhat.com>
3629 * catgets/gencat.c (read_input_file): Preserve properly symbolic
3632 2001-03-06 Andreas Jaeger <aj@suse.de>
3634 * sysdeps/s390/dl-machine.h (elf_machine_relplt): Removed, it's not
3636 (elf_machine_pltrel_p): Likewise.
3637 * sysdeps/powerpc/dl-machine.h: Likewise.
3638 * sysdeps/generic/dl-machine.h (elf_machine_pltrel_p): Likewise.
3640 2001-03-09 Ulrich Drepper <drepper@redhat.com>
3642 * sysdeps/unix/sysv/linux/arm/Dist: Add dl-procinfo.c and
3645 2001-03-05 Philip Blundell <philb@gnu.org>
3647 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c: New file.
3648 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h: New file.
3649 * sysdeps/unix/sysv/linux/arm/Makefile [subdir=elf]
3650 (sysdep-dl-routines, sysdep_routines, sysdep-rtld-routines): Add
3653 2001-03-09 Ulrich Drepper <drepper@redhat.com>
3655 * dlfcn/tstatexit.c (main): Don't perform the test if __dso_handle
3657 * dlfcn/tstcxaatexit.c (main): Likewise.
3659 2001-03-10 Andreas Jaeger <aj@suse.de>
3661 * sysdeps/i386/fpu/libm-test-ulps: Revert last patch.
3663 2001-03-09 Andreas Jaeger <aj@suse.de>
3665 * sysdeps/s390/dl-machine.h (elf_machine_matches_host): Handle
3666 both new and old EM_S390 values.
3667 (EM_S390_OLD): New constant.
3669 * elf/elf.h (EM_S390): Use official value.
3671 2001-03-09 Ulrich Drepper <drepper@redhat.com>
3673 * conform/data/sys/socket.h-data: Allow SO* symbols.
3675 2001-03-07 Andreas Schwab <schwab@suse.de>
3677 * sysdeps/ia64/fpu/Makefile: Modify sysdep_routines instead of
3678 routines, and sysdep-CPPFLAGS instead of CPPFLAGS.
3680 2001-03-07 Andreas Jaeger <aj@suse.de>
3682 * resolv/Makefile (routines): Only build gai_sigqueue when threads
3685 2001-03-07 Jakub Jelinek <jakub@redhat.com>
3687 * elf/ldconfig.c (_dl_sysdep_message): Remove.
3688 * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h: Include
3690 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h: Likewise.
3692 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Use
3693 _dl_error_printf instead of _dl_sysdep_error.
3694 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
3695 * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h (_dl_procinfo):
3696 Use _dl_printf instead of _dl_sysdep_message.
3697 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h (_dl_procinfo):
3700 2001-03-06 Ben Collins <bcollins@debian.org>
3702 * manual/arith.texi (Integers): Fix documentation of fast and
3703 least integer typedefs.
3705 2001-03-06 Jakub Jelinek <jakub@redhat.com>
3707 * resolv/Depend: New file.
3708 * resolv/Makefile (extra-libs, tests): Build libanl and ga_test only
3709 when libpthread is built.
3711 2001-03-06 Andreas Jaeger <aj@suse.de>
3713 * sysdeps/i386/fpu/libm-test-ulps: Add some deltas.
3715 * sysdeps/sh/dl-machine.h (elf_machine_rela): Add missing comma.
3716 Patch by kaz Kojima <kkojima@rr.iij4u.or.jp>.
3718 2001-03-05 Ulrich Drepper <drepper@redhat.com>
3720 * stdlib/Versions: Remove __new_exitfn again. Not needed.
3722 2001-03-05 Andreas Jaeger <aj@suse.de>
3724 * stdlib/msort.c (qsort): Don't use alloca in a function call.
3726 2001-03-05 Ulrich Drepper <drepper@redhat.com>
3728 * sysdeps/unix/sysv/linux/bits/stat.h (__S_TYPEISMQ, __S_TYPEISSEM,
3729 __S_TYPEISSHM): Rewrite to enforce correct use the macros. They still
3731 * sysdeps/unix/sysv/linux/alpha/bits/stat.h: Likewise.
3732 * sysdeps/unix/sysv/linux/ia64/bits/stat.h: Likewise.
3733 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
3734 * sysdeps/unix/sysv/linux/m68k/bits/stat.h: Likewise.
3735 * sysdeps/unix/sysv/linux/mips/bits/stat.h: Likewise.
3736 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
3737 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
3739 2001-03-04 Andreas Jaeger <aj@suse.de>
3741 * stdlib/longlong.h: Don't use multi-line strings.
3742 * iconvdata/tst-loading.c: Likewise.
3744 * csu/Makefile ($(objpfx)version-info.h): Don't use multi-line
3747 2001-03-04 Ulrich Drepper <drepper@redhat.com>
3749 * sysdeps/ia64/fpu/libm-test-ulps: Adjust for addition of lgammal.
3751 * rt/lio_listio.c: Add a few asserts.
3753 * elf/global.c: New file.
3754 * elf/globalmod1.c: New file.
3755 * elf/Makefile: Add rules to build and run global.
3757 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Define SI_ASYNCNL.
3758 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
3759 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Likewise.
3760 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
3761 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/siginfo.h: Likewise.
3763 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: New file.
3764 Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>.
3766 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Fix handling of boundary cases.
3768 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Always initialize sign variable.
3769 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
3771 * sysdeps/i386/fpu/libm-test-ulps: Adjust after addition of lgammal.
3773 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Fix typo in last change.
3775 2001-03-04 Andreas Jaeger <aj@suse.de>
3777 * resolv/tst-aton.c: Add testcase for IP with four periods.
3779 * resolv/inet_addr.c: Don't recognize an IP with four periods.
3780 Patch by Andre' Breiler <A.Breiler@gmx.net>.
3782 2001-02-27 Philip Blundell <pb@futuretv.com>
3784 * elf/elf.h: Add new ARM definitions from latest (B-01)
3785 specification. Correct naming of EF_ARM_ALIGN8 et al.
3787 2001-03-04 Ulrich Drepper <drepper@redhat.com>
3789 * stdio-common/tst-printf.sh: Remove bashisms.
3790 Patch by Matthew Clarke <Matthew_Clarke@mindlink.bc.ca>.
3792 2001-03-03 Ulrich Drepper <drepper@redhat.com>
3794 * Versions.def: Add libanl definition.
3795 * shlib-versions: Add entry for libanl.
3796 * resolv/Makefile (distribute): Add gai_misc.h and ga_test.c.
3797 (routines): Add gai_sigqueue.
3798 (extra-libs): Add libanl.
3799 (libanl-routines): New variable.
3800 Add rules to build libanl and ga_test.
3801 * resolv/Versions [libc] (GLIBC_2.2.3): Add __gai_sigqueue.
3802 [libanl]: New library.
3803 * resolv/netdb.h: Add definitions for libanl.
3804 * resolv/getaddrinfo_a.c: New file.
3805 * resolv/gai_cancel.c: New file.
3806 * resolv/gai_error.c: New file.
3807 * resolv/gai_misc.c: New file.
3808 * resolv/gai_misc.h: New file.
3809 * resolv/gai_notify.c: New file.
3810 * resolv/gai_suspend.c: New file.
3811 * resolv/ga_test.c: New file.
3812 * sysdeps/generic/gai_sigqueue.c: New file.
3813 * sysdeps/unix/sysv/linux/gai_sigqueue.c: New file.
3814 * sysdeps/generic/bits/siginfo.h: Allow __need_sigevent_t being defined
3815 and provide only that definition.
3816 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Likewise.
3817 * sysdeps/unix/sysv/linux/bits/siginfo.h: Likewise.
3818 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
3819 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Likewise.
3820 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
3821 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/siginfo.h: Likewise.
3823 * rt/aio_misc.c: Fix typos in comments.
3824 * rt/lio_listio.c: Pretty printing. Little optimization in request
3827 * elf/rtld.c: Remove commented out code.
3829 * sysdeps/unix/sysv/linux/linux_fsinfo.h (SHMFS_SUPER_MAGIC):
3830 Update for real 2.4 kernels.
3832 2001-03-01 Ulrich Drepper <drepper@redhat.com>
3834 * elf/dl-load.c: Pretty printing.
3836 * elf/dl-object.c (_dl_new_object): Don't add the loader's scope
3839 2001-02-28 Ulrich Drepper <drepper@redhat.com>
3841 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Don't handle
3842 relocations which are not in ld.so if RTLD_BOOTSTRAP is defined.
3844 * sysdeps/powerpc/dl-machine.c (__process_machine_rela): Fix typo.
3846 * elf/dl-misc.c (_dl_debug_vdprintf): Fix typo visible on 64-bit
3849 * sysdeps/unix/sysv/linux/powerpc/sysdep.h (C_TEXT): Define.
3851 2001-02-27 Ulrich Drepper <drepper@redhat.com>
3853 * sysdeps/powerpc/elf/libc-start.c: Use new output functions and
3856 * elf/Versions [ld]: Don't export _dl_debug_message anymore. Export
3858 * elf/dl-misc.c: Remove definition of _dl_sysdep_output and
3859 _dl_debug_message. Define _dl_debug_vdprintf, _dl_debug_printf,
3860 _dl_debug_printf_c, and _dl_printf.
3861 * sysdeps/generic/ldsodefs.h: Don't declare _dl_sysdep_output,
3862 _dl_debug_message, _dl_sysdep_message, _dl_sysdep_error, and
3863 _dl_sysdep_fatal. Declare _dl_debug_printf, _dl_debug_printf_c,
3864 _dl_printf, _dl_error_printf, and _dl_fatal_printf.
3865 * elf/dl-close.c: Replace use of old output functions with the new
3867 * elf/dl-deps.c: Likewise.
3868 * elf/dl-error.c: Likewise.
3869 * elf/dl-fini.c: Likewise.
3870 * elf/dl-init.c: Likewise.
3871 * elf/dl-load.c: Likewise.
3872 * elf/dl-lookup.c: Likewise.
3873 * elf/dl-minimal.c: Likewise.
3874 * elf/dl-open.c: Likewise.
3875 * elf/dl-profile.c: Likewise.
3876 * elf/dl-reloc.c: Likewise.
3877 * elf/dl-version.c: Likewise.
3878 * elf/do-lookup.h: Likewise.
3879 * elf/rtld.c: Likewise.
3880 * sysdeps/generic/dl-cache.c: Likewise.
3881 * sysdeps/generic/dl-sysdep.c: Likewise.
3882 * sysdeps/generic/libc-start.c: Likewise.
3883 * sysdeps/i386/dl-machine.h: Likewise.
3884 * sysdeps/arm/dl-machine.h: Likewise.
3885 * sysdeps/hppa/dl-machine.h: Likewise.
3886 * sysdeps/m68k/dl-machine.h: Likewise.
3887 * sysdeps/powerpc/dl-machine.h: Likewise.
3888 * sysdeps/s390/dl-machine.h: Likewise.
3889 * sysdeps/sh/dl-machine.h: Likewise.
3890 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
3891 * sysdeps/unix/sysv/linux/i386/dl-librecon.h: Likewise.
3892 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
3894 * sysdeps/generic/ldsodefs.h: Remove _dl_secure declaration.
3896 * dlfcn/Makefile: Don't run tstatexit test unless .hidden is
3897 supported by assembler.
3899 * sysdeps/generic/ldsodefs.h: Remove commented-out variable
3902 * elf/rtld.c: Little optimizations in handling _dl_lazy.
3904 * elf/cache.c (save_cache): Portability changes.
3905 * elf/dl-profile.c (_dl_start_profile): Likewise.
3907 * elf/sln.c: Cleanups. Remove arbitrary limits.
3909 * elf/dl-close.c: Replace _dl_debug_* variables with _dl_debug_mask.
3910 * elf/dl-deps.c: Likewise.
3911 * elf/dl-fini.c: Likewise.
3912 * elf/dl-init.c: Likewise.
3913 * elf/dl-load.c: Likewise.
3914 * elf/dl-lookup.c: Likewise.
3915 * elf/dl-open.c: Likewise.
3916 * elf/dl-reloc.c: Likewise.
3917 * elf/dl-support.c: Likewise.
3918 * elf/dl-version.c: Likewise.
3919 * elf/do-lookup.h: Likewise.
3920 * elf/rtld.c: Likewise.
3921 * sysdeps/generic/dl-cache.c: Likewise.
3922 * sysdeps/generic/ldsodefs.h: Likewise.
3923 * sysdeps/generic/libc-start.c: Likewise.
3924 * elf/Versions: Don't export _dl_debug_impcalls and _dl_debug_files.
3925 Export _dl_debug_mask.
3926 * Versions.def: Define GLIBC_2.2.3 for ld.
3928 2001-02-26 Greg McGary <greg@mcgary.org>
3930 * sysdeps/unix/make-syscalls.sh (ptr): Handle `V' keyletter.
3932 2001-02-26 Paul Eggert <eggert@twinsun.com>
3934 Modify mkstemp.c and tempname.c so that they can be used by
3935 GNU applications on non-glibc platforms.
3937 * misc/mkstemp.c (__GT_FILE): Define to zero if not defined.
3939 * sysdeps/posix/tempname.c: Include <config.h> if HAVE_CONFIG_H.
3940 Include <stddef.h>, <stdint.h>, <string.h> only if
3941 STDC_HEADERS || _LIBC.
3942 Include <fcntl.h> only if HAVE_FCNTL_H || _LIBC.
3943 Include <unistd.h> only if HAVE_UNISTD_H || _LIBC.
3944 Include <sys/time.h> only if HAVE_SYS_TIME_H || _LIBC.
3945 (__set_errno): Define this macro if <errno.h> doesn't.
3946 (P_tmpdir, TMP_MAX, __GT_FILE, __GT_BIGFILE, __GT_DIR, __GT_NOCREATE):
3947 Define these macros if <stdio.h> doesn't.
3948 (S_ISDIR, S_IRUSR, S_IWUSR, S_IXUSR):
3949 Define these macros if <sys/stat.h> doesn't.
3950 Ignore <sys/stat.h> S_ISDIR if STAT_MACROS_BROKEN.
3951 (stat64, __getpid, __gettimeofday, __mkdir, __open, __open64,
3952 lxstat64, __xstat64): Define if not _LIBC.
3953 (struct_stat64): New macro.
3954 (direxists, __gen_tempname): Use it, to avoid a
3955 portability problem with Solaris 8.
3956 (__secure_getenv): Define if ! (HAVE___SECURE_GETENV || _LIBC).
3957 (__gen_tempname): Invoke gettimeofday only if
3958 HAVE_GETTIMEOFDAY || _LIBC; otherwise, fall back on plain "time".
3959 Use portable macros like S_IRUSR | S_IWUSR rather than nonportable
3960 octal values like 0600.
3962 2001-02-26 Ulrich Drepper <drepper@redhat.com>
3964 * sysdeps/ieee754/ldbl-96/e_jnl.c: New file.
3965 Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>.
3967 * sysdeps/i386/fpu/libm-test-ulps: Update for jnl and ynl introduction.
3968 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
3970 * posix/wordexp-test.c (testit): Remove warnings.
3972 * dlfcn/Makefile (distribute): Add modatexit.c and modcxaatexit.c.
3973 (tests): Add tstatexit and tstcxaatexit.
3974 (module-names): Add modatexit and modcxaatexit.
3975 Add rules to build and run tstatexit and tstcxaatexit.
3976 * dlfcn/modatexit.c: New file.
3977 * dlfcn/modcxaatexit.c: New file.
3978 * dlfcn/tstatexit.c: New file.
3979 * dlfcn/tstcxaatexit.c: New file.
3981 * io/Makefile: Pass -DHAVE_DOT_HIDDEN to stat and mknod functions if
3982 .hidden is available.
3983 * io/stat.c: If .hidden is available use it to avoid exporting
3985 * io/fstat.c: Likewise.
3986 * io/lstat.c: Likewise.
3987 * io/stat64.c: Likewise.
3988 * io/fstat64.c: Likewise.
3989 * io/lstat64.c: Likewise.
3990 * sysdeps/generic/mknod.c: Likewise.
3992 * malloc/mtrace.c: Use __cxa_atexit and not atexit.
3993 * sysdeps/generic/bb_init_func.c: Likewise.
3994 * sysdeps/generic/libc-start.c: Likewise.
3996 * stdlib/atexit.c (__new_exitfn): Move to cxa_atexit.c.
3997 (atexit): Implement using __cxa_atexit.
3998 Use .hidden if availble to avoid exporting atexit.
3999 * stdlib/cxa_atexit.c (__new_exitfn): Moved to here from atexit.c.
4000 * stdlib/Versions: Export __new_exitfn for GLIBC_2.2.3.
4001 * stdlib/Makefile (routines): Add old_atexit.
4002 (static-only-routines): Add atexit.
4003 Pass -DHAVE_DOT_HIDDEN for atexit.c if .hidden is available.
4004 * stdlib/old_atexit.c: New file.
4006 * intl/Makefile: Remove bogus endif.
4008 2001-02-26 Andreas Jaeger <aj@suse.de>
4010 * iconvdata/Makefile (tests): Fix typo in last patch.
4012 * intl/Makefile (tests): Run mtrace-tst-gettext only when perl is
4014 Reported by Achim Gottinger <achim@gentoo.org>.
4016 2001-02-25 Andreas Jaeger <aj@suse.de>
4018 * intl/Makefile (plural.c): Reorder rules so that they work if
4019 BISON doesn't exist.
4021 2001-02-25 Ulrich Drepper <drepper@redhat.com>
4023 * intl/locale.alias: Don't use nb_NO but define aliases for it.
4025 2001-02-23 Ulrich Drepper <drepper@redhat.com>
4027 * sysdeps/i386/strtok.S: Continue to return NULL after the first
4030 2001-02-23 Andreas Jaeger <aj@suse.de>
4032 * string/tester.c (test_strtok_r): Add testcase.
4033 (test_strtok_r): Always initialize cp for proper checking.
4035 * sysdeps/generic/strtok.c (strtok): Handle case of first strtok
4036 returning NULL correctly.
4037 Patch by Fumitoshi UKAI <ukai@debian.or.jp>.
4038 * sysdeps/generic/strtok_r.c (__strtok_r): Likewise.
4040 2001-02-23 Ulrich Drepper <drepper@redhat.com>
4042 * sysdeps/unix/sysv/aix/bits/types.h: Define __need_NULL before
4043 including <stddef.h>.
4044 * sysdeps/unix/sysv/aix/write.c: Define alias __libc_write.
4045 * include/libc-symbols.h (weak_alias): Don't use .weak if
4046 HAVE_ASM_GLOBAL_DOT_NAME is defined.
4047 Patches by Michael Keezer <mkeezer@redhat.com>.
4049 * sysdeps/generic/ftime.c: Don't include <sys/time.h> at all.
4050 Patch by Michael Keezer <mkeezer@redhat.com>.
4052 * sysdeps/unix/sysv/aix/Dist: Remove restf.S and savef.S.
4053 * sysdeps/unix/sysv/aix/Makefile [$(subdir) == misc]
4054 (sysdep_routines): Remove restf.S and savef.S.
4055 * sysdeps/unix/sysv/aix/restf.S. Removed.
4056 * sysdeps/unix/sysv/aix/savef.S. Removed.
4057 * sysdeps/powerpc/fprrest.S: Use C_TEXT to define label. Also define
4058 alternative names used on some platforms.
4059 * sysdeps/powerpc/fprsave.S: Likewise.
4060 * sysdeps/powerpc/gprrest0.S: Likewise.
4061 * sysdeps/powerpc/gprrest1.S: Likewise.
4062 * sysdeps/powerpc/gprsave0.S: Likewise.
4063 * sysdeps/powerpc/gprsave1.S: Likewise.
4064 Patch by Michael Keezer <mkeezer@redhat.com>.
4066 2001-02-22 Ulrich Drepper <drepper@redhat.com>
4068 * sysdeps/i386/elf/start.S (_fp_hw): Actually define label.
4070 2001-02-22 Andreas Jaeger <aj@suse.de>
4072 * string/tst-strtok.c (main): Fix error messages.
4074 2001-02-22 Andreas Jaeger <aj@suse.de>
4076 * math/Makefile: Remove omit-long-double-fcts.
4078 2001-02-18 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
4080 * sysdeps/mips/bsd-_setjmp.S (_setjmp): Reorder instructions to
4081 avoid problems on MIPS I.
4082 * sysdeps/mips/bsd-setjmp.S (setjmp): Likewise.
4084 * sysdeps/mips/dl-machine.h (RTLD_START): Remove duplicate ".set
4087 2001-02-21 Ulrich Drepper <drepper@redhat.com>
4089 * posix/fnmatch_loop.c: Handle ranges outside glibc correctly.
4091 * sysdeps/generic/ftime.c: Include <time.h>.
4093 * configure.in: Don't check for libgd if user passed --without-gd.
4094 Patch by Achim Gottinger <achim@gentoo.org>.
4096 * sysdeps/i386/i686/strtok.S: Continue to return NULL after the
4097 first time this happened.
4098 * string/Makefile (tests): Add tst-strtok.
4100 2001-02-21 Andreas Jaeger <aj@suse.de>
4102 * string/tst-strtok.c: New testcase, reported by
4103 Andrew Church <achurch@achurch.org>.
4105 2001-02-20 Ulrich Drepper <drepper@redhat.com>
4107 * libio/iofwide.c: Remove fwide alias.
4109 2001-02-20 Andreas Jaeger <aj@suse.de>
4111 * iconvdata/Makefile (tests): Only run mtrace-tst-loading if perl
4113 Reported by Achim Gottinger <achim@gentoo.org>.
4115 2001-02-19 Ulrich Drepper <drepper@redhat.com>
4117 * iconv/tst-iconv1.c (main): Remove debugging code.
4119 * sysdeps/ieee754/flt-32/e_powf.c: Handle x == +-1 correctly.
4120 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
4122 * sysdeps/generic/e_scalb.c: Set invalid exception for invalid
4124 * sysdeps/generic/e_scalbf.c: Likewise.
4125 * sysdeps/generic/e_scalbl.c: Likewise.
4127 * sysdeps/ia64/fpu/Makefile (libm-sysdep-routines): Add libm_error,
4128 libm_frexp4, libm_frexp4f, libm_frexp4l, and all the functions also
4130 (routines): Replace libm_error with libc_libm_error.
4131 * sysdeps/ia64/fpu/Dist: Add libc_libm_error.c.
4132 * sysdeps/ia64/fpu/libc_libm_error.c: New file.
4134 2001-02-18 Mark Kettenis <kettenis@gnu.org>
4136 * malloc/mtrace.c [USE_IN_LIBIO]: Define fopen as _IO_fopen64.
4137 (mtrace): Revert 2001-02-13 patch: use fopen instead of fopen64.
4139 2001-02-17 H.J. Lu <hjl@gnu.org>
4141 * sysdeps/unix/sysv/linux/ia64/clone2.S: Use clone2 and don't use
4142 scratch registers across the system call.
4144 2001-02-19 Andreas Jaeger <aj@suse.de>
4146 * malloc/Makefile (tests): Run mtrace only when perl is available.
4147 Reported by Achim Gottinger <achim@gentoo.org>.
4149 2001-02-19 Ulrich Drepper <drepper@redhat.com>
4151 * sysdeps/ieee754/ldbl-96/e_j1l.c: New file.
4152 Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>.
4154 * sysdeps/i386/fpu/libm-test-ulps: Adjust error values for j1 and y1.
4155 * sysdeps/ia64/fpu/libm-test-ulps: Adjust error values for y1.
4156 * math/libm-test.inc (j1_test): Mark constants as long double.
4157 (jn_test): Likewise.
4158 (y1_test): Likewise.
4159 (yn_test): Likewise.
4161 * libio/iogetline.c: Move return until after last statement.
4163 * localedata/show-ucs-data.c: Don't show < > for better readability.
4165 * sysdeps/ia64/fpu/Dist: New file.
4166 * sysdeps/ia64/fpu/Makefile: New file.
4167 * sysdeps/ia64/fpu/Versions: New file.
4168 * sysdeps/ia64/fpu/e_acos.S: New file.
4169 * sysdeps/ia64/fpu/e_acosf.S: New file.
4170 * sysdeps/ia64/fpu/e_acosl.S: New file.
4171 * sysdeps/ia64/fpu/e_asin.S: New file.
4172 * sysdeps/ia64/fpu/e_asinf.S: New file.
4173 * sysdeps/ia64/fpu/e_asinl.S: New file.
4174 * sysdeps/ia64/fpu/e_atan2.S: New file.
4175 * sysdeps/ia64/fpu/e_atan2f.S: New file.
4176 * sysdeps/ia64/fpu/e_atan2l.c: New file.
4177 * sysdeps/ia64/fpu/e_cosh.S: New file.
4178 * sysdeps/ia64/fpu/e_coshf.S: New file.
4179 * sysdeps/ia64/fpu/e_coshl.S: New file.
4180 * sysdeps/ia64/fpu/e_exp.S: New file.
4181 * sysdeps/ia64/fpu/e_expf.S: New file.
4182 * sysdeps/ia64/fpu/e_expl.c: New file.
4183 * sysdeps/ia64/fpu/e_fmod.S: New file.
4184 * sysdeps/ia64/fpu/e_fmodf.S: New file.
4185 * sysdeps/ia64/fpu/e_fmodl.S: New file.
4186 * sysdeps/ia64/fpu/e_hypot.S: New file.
4187 * sysdeps/ia64/fpu/e_hypotf.S: New file.
4188 * sysdeps/ia64/fpu/e_hypotl.S: New file.
4189 * sysdeps/ia64/fpu/e_log.S: New file.
4190 * sysdeps/ia64/fpu/e_log10.c: New file.
4191 * sysdeps/ia64/fpu/e_log10f.c: New file.
4192 * sysdeps/ia64/fpu/e_log10l.c: New file.
4193 * sysdeps/ia64/fpu/e_logf.S: New file.
4194 * sysdeps/ia64/fpu/e_logl.c: New file.
4195 * sysdeps/ia64/fpu/e_pow.S: New file.
4196 * sysdeps/ia64/fpu/e_powf.S: New file.
4197 * sysdeps/ia64/fpu/e_powl.S: New file.
4198 * sysdeps/ia64/fpu/e_rem_pio2.c: New file.
4199 * sysdeps/ia64/fpu/e_rem_pio2f.c: New file.
4200 * sysdeps/ia64/fpu/e_remainder.S: New file.
4201 * sysdeps/ia64/fpu/e_remainderf.S: New file.
4202 * sysdeps/ia64/fpu/e_remainderl.S: New file.
4203 * sysdeps/ia64/fpu/e_scalb.S: New file.
4204 * sysdeps/ia64/fpu/e_scalbf.S: New file.
4205 * sysdeps/ia64/fpu/e_scalbl.S: New file.
4206 * sysdeps/ia64/fpu/e_sinh.S: New file.
4207 * sysdeps/ia64/fpu/e_sinhf.S: New file.
4208 * sysdeps/ia64/fpu/e_sinhl.S: New file.
4209 * sysdeps/ia64/fpu/e_sqrt.S: New file.
4210 * sysdeps/ia64/fpu/e_sqrtf.S: New file.
4211 * sysdeps/ia64/fpu/e_sqrtl.S: New file.
4212 * sysdeps/ia64/fpu/k_rem_pio2.c: New file.
4213 * sysdeps/ia64/fpu/k_rem_pio2f.c: New file.
4214 * sysdeps/ia64/fpu/k_rem_pio2l.c: New file.
4215 * sysdeps/ia64/fpu/libm_atan2_reg.S: New file.
4216 * sysdeps/ia64/fpu/libm_error.c: New file.
4217 * sysdeps/ia64/fpu/libm_frexp4.S: New file.
4218 * sysdeps/ia64/fpu/libm_frexp4f.S: New file.
4219 * sysdeps/ia64/fpu/libm_frexp4l.S: New file.
4220 * sysdeps/ia64/fpu/libm_reduce.S: New file.
4221 * sysdeps/ia64/fpu/libm_support.h: New file.
4222 * sysdeps/ia64/fpu/libm_tan.S: New file.
4223 * sysdeps/ia64/fpu/s_atan.S: New file.
4224 * sysdeps/ia64/fpu/s_atanf.S: New file.
4225 * sysdeps/ia64/fpu/s_atanl.S: New file.
4226 * sysdeps/ia64/fpu/s_cbrt.S: New file.
4227 * sysdeps/ia64/fpu/s_cbrtf.S: New file.
4228 * sysdeps/ia64/fpu/s_cbrtl.S: New file.
4229 * sysdeps/ia64/fpu/s_ceil.S: New file.
4230 * sysdeps/ia64/fpu/s_ceilf.S: New file.
4231 * sysdeps/ia64/fpu/s_ceill.S: New file.
4232 * sysdeps/ia64/fpu/s_cos.S: New file.
4233 * sysdeps/ia64/fpu/s_cosf.S: New file.
4234 * sysdeps/ia64/fpu/s_cosl.S: New file.
4235 * sysdeps/ia64/fpu/s_expm1.S: New file.
4236 * sysdeps/ia64/fpu/s_expm1f.S: New file.
4237 * sysdeps/ia64/fpu/s_expm1l.S: New file.
4238 * sysdeps/ia64/fpu/s_floor.S: New file.
4239 * sysdeps/ia64/fpu/s_floorf.S: New file.
4240 * sysdeps/ia64/fpu/s_floorl.S: New file.
4241 * sysdeps/ia64/fpu/s_frexp.c: New file.
4242 * sysdeps/ia64/fpu/s_frexpf.c: New file.
4243 * sysdeps/ia64/fpu/s_frexpl.c: New file.
4244 * sysdeps/ia64/fpu/s_ilogb.S: New file.
4245 * sysdeps/ia64/fpu/s_ilogbf.S: New file.
4246 * sysdeps/ia64/fpu/s_ilogbl.S: New file.
4247 * sysdeps/ia64/fpu/s_ldexp.S: New file.
4248 * sysdeps/ia64/fpu/s_ldexpf.S: New file.
4249 * sysdeps/ia64/fpu/s_ldexpl.S: New file.
4250 * sysdeps/ia64/fpu/s_log1p.S: New file.
4251 * sysdeps/ia64/fpu/s_log1pf.S: New file.
4252 * sysdeps/ia64/fpu/s_log1pl.S: New file.
4253 * sysdeps/ia64/fpu/s_logb.S: New file.
4254 * sysdeps/ia64/fpu/s_logbf.S: New file.
4255 * sysdeps/ia64/fpu/s_logbl.S: New file.
4256 * sysdeps/ia64/fpu/s_matherrf.c: New file.
4257 * sysdeps/ia64/fpu/s_matherrl.c: New file.
4258 * sysdeps/ia64/fpu/s_modf.S: New file.
4259 * sysdeps/ia64/fpu/s_modff.S: New file.
4260 * sysdeps/ia64/fpu/s_modfl.S: New file.
4261 * sysdeps/ia64/fpu/s_nearbyint.S: New file.
4262 * sysdeps/ia64/fpu/s_nearbyintf.S: New file.
4263 * sysdeps/ia64/fpu/s_nearbyintl.S: New file.
4264 * sysdeps/ia64/fpu/s_rint.S: New file.
4265 * sysdeps/ia64/fpu/s_rintf.S: New file.
4266 * sysdeps/ia64/fpu/s_rintl.S: New file.
4267 * sysdeps/ia64/fpu/s_round.S: New file.
4268 * sysdeps/ia64/fpu/s_roundf.S: New file.
4269 * sysdeps/ia64/fpu/s_roundl.S: New file.
4270 * sysdeps/ia64/fpu/s_scalbn.S: New file.
4271 * sysdeps/ia64/fpu/s_scalbnf.S: New file.
4272 * sysdeps/ia64/fpu/s_scalbnl.S: New file.
4273 * sysdeps/ia64/fpu/s_significand.S: New file.
4274 * sysdeps/ia64/fpu/s_significandf.S: New file.
4275 * sysdeps/ia64/fpu/s_significandl.S: New file.
4276 * sysdeps/ia64/fpu/s_sin.c: New file.
4277 * sysdeps/ia64/fpu/s_sincos.c: New file.
4278 * sysdeps/ia64/fpu/s_sincosf.c: New file.
4279 * sysdeps/ia64/fpu/s_sincosl.c: New file.
4280 * sysdeps/ia64/fpu/s_sinf.c: New file.
4281 * sysdeps/ia64/fpu/s_sinl.c: New file.
4282 * sysdeps/ia64/fpu/s_tan.S: New file.
4283 * sysdeps/ia64/fpu/s_tanf.S: New file.
4284 * sysdeps/ia64/fpu/s_tanl.S: New file.
4285 * sysdeps/ia64/fpu/s_trunc.S: New file.
4286 * sysdeps/ia64/fpu/s_truncf.S: New file.
4287 * sysdeps/ia64/fpu/s_truncl.S: New file.
4288 * sysdeps/ia64/fpu/w_acos.c: New file.
4289 * sysdeps/ia64/fpu/w_acosf.c: New file.
4290 * sysdeps/ia64/fpu/w_acosl.c: New file.
4291 * sysdeps/ia64/fpu/w_asin.c: New file.
4292 * sysdeps/ia64/fpu/w_asinf.c: New file.
4293 * sysdeps/ia64/fpu/w_asinl.c: New file.
4294 * sysdeps/ia64/fpu/w_atan2.c: New file.
4295 * sysdeps/ia64/fpu/w_atan2f.c: New file.
4296 * sysdeps/ia64/fpu/w_atan2l.c: New file.
4297 * sysdeps/ia64/fpu/w_cosh.c: New file.
4298 * sysdeps/ia64/fpu/w_coshf.c: New file.
4299 * sysdeps/ia64/fpu/w_coshl.c: New file.
4300 * sysdeps/ia64/fpu/w_exp.c: New file.
4301 * sysdeps/ia64/fpu/w_expf.c: New file.
4302 * sysdeps/ia64/fpu/w_fmod.c: New file.
4303 * sysdeps/ia64/fpu/w_fmodf.c: New file.
4304 * sysdeps/ia64/fpu/w_fmodl.c: New file.
4305 * sysdeps/ia64/fpu/w_hypot.c: New file.
4306 * sysdeps/ia64/fpu/w_hypotf.c: New file.
4307 * sysdeps/ia64/fpu/w_hypotl.c: New file.
4308 * sysdeps/ia64/fpu/w_log.c: New file.
4309 * sysdeps/ia64/fpu/w_log10.c: New file.
4310 * sysdeps/ia64/fpu/w_log10f.c: New file.
4311 * sysdeps/ia64/fpu/w_log10l.c: New file.
4312 * sysdeps/ia64/fpu/w_logf.c: New file.
4313 * sysdeps/ia64/fpu/w_logl.c: New file.
4314 * sysdeps/ia64/fpu/w_pow.c: New file.
4315 * sysdeps/ia64/fpu/w_powf.c: New file.
4316 * sysdeps/ia64/fpu/w_powl.c: New file.
4317 * sysdeps/ia64/fpu/w_remainder.c: New file.
4318 * sysdeps/ia64/fpu/w_remainderf.c: New file.
4319 * sysdeps/ia64/fpu/w_remainderl.c: New file.
4320 * sysdeps/ia64/fpu/w_scalb.c: New file.
4321 * sysdeps/ia64/fpu/w_scalbf.c: New file.
4322 * sysdeps/ia64/fpu/w_scalbl.c: New file.
4323 * sysdeps/ia64/fpu/w_sqrt.c: New file.
4324 * sysdeps/ia64/fpu/w_sqrtf.c: New file.
4325 * sysdeps/ia64/fpu/w_sqrtl.c: New file.
4326 * sysdeps/ia64/fpu/libm-test-ulps: Adjust for long double
4328 * sysdeps/ia64/fpu/bits/mathdef.h: Correct float_t and double_t types.
4329 Change FP_ILOGBNAN for new implementation.
4330 * Verions.def: Add 2.2.3 versions.
4332 2001-02-18 Ulrich Drepper <drepper@redhat.com>
4334 * math/libm-test.inc (scalb_test): Require invalid exception being
4335 raised for invalid parameters.
4336 * sysdeps/i386/fpu/e_scalb.S: Raise invalid exception if necessary.
4337 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
4338 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
4340 2001-02-18 Mark Kettenis <kettenis@gnu.org>
4342 * sysdeps/mach/getsysstats.c (__get_phys_pages): Change return
4344 (__get_avphys_pages): Likewise.
4346 2001-02-18 Ulrich Drepper <drepper@redhat.com>
4348 * math/libm-test.inc (pow_test): Correct expected results for x == +-1.
4349 * sysdeps/i386/fpu/e_pow.S: Handle x == +-1 correctly.
4350 * sysdeps/i386/fpu/e_powf.S: Likewise.
4351 * sysdeps/i386/fpu/e_powl.S: Likewise.
4353 * sysdeps/i386/fpu/bits/mathinline.h: Remove pow inline code.
4355 2001-02-17 Ulrich Drepper <drepper@redhat.com>
4357 * math/Makefile (libm-calls): It's e_exp2 not s_exp2.
4359 * sysdeps/generic/s_exp2l.c: Renamed to...
4360 * sysdeps/generic/e_exp2l.c: ...this. New file.
4361 * sysdeps/i386/fpu/s_exp2.S: Renamed to...
4362 * sysdeps/i386/fpu/e_exp2.S: ...this. New file.
4363 * sysdeps/i386/fpu/s_exp2f.S: Renamed to...
4364 * sysdeps/i386/fpu/e_exp2f.S: ...this. New file.
4365 * sysdeps/i386/fpu/s_exp2l.S: Renamed to...
4366 * sysdeps/i386/fpu/e_exp2l.S: ...this. New file.
4367 * sysdeps/ieee754/flt-32/s_exp2f.c: Renamed to...
4368 * sysdeps/ieee754/flt-32/e_exp2f.c: ...this. New file.
4369 * sysdeps/ieee754/dbl-64/s_exp2.c: Renamed to...
4370 * sysdeps/ieee754/dbl-64/e_exp2.c: ...this. New file.
4371 * sysdeps/m68k/fpu/s_exp2.c: Renamed to...
4372 * sysdeps/m68k/fpu/e_exp2.c: ...this. New file.
4373 * sysdeps/m68k/fpu/s_exp2f.c: Renamed to...
4374 * sysdeps/m68k/fpu/e_exp2f.c: ...this. New file.
4375 * sysdeps/m68k/fpu/s_exp2l.c: Renamed to...
4376 * sysdeps/m68k/fpu/e_exp2l.c: ...this. New file.
4378 2001-02-17 Andreas Jaeger <aj@suse.de>
4380 * configure.in: Allow gcc 3.
4382 2001-02-16 Ulrich Drepper <drepper@redhat.com>
4384 * math/w_acos.c: Move to ...
4385 * sysdeps/generic/w_acos.c: ...here. New file.
4386 * math/w_acosf.c: Move to ...
4387 * sysdeps/generic/w_acosf.c: ...here. New file.
4388 * math/w_acosh.c: Move to ...
4389 * sysdeps/generic/w_acosh.c: ...here. New file.
4390 * math/w_acoshf.c: Move to ...
4391 * sysdeps/generic/w_acoshf.c: ...here. New file.
4392 * math/w_acoshl.c: Move to ...
4393 * sysdeps/generic/w_acoshl.c: ...here. New file.
4394 * math/w_acosl.c: Move to ...
4395 * sysdeps/generic/w_acosl.c: ...here. New file.
4396 * math/w_asin.c: Move to ...
4397 * sysdeps/generic/w_asin.c: ...here. New file.
4398 * math/w_asinf.c: Move to ...
4399 * sysdeps/generic/w_asinf.c: ...here. New file.
4400 * math/w_asinl.c: Move to ...
4401 * sysdeps/generic/w_asinl.c: ...here. New file.
4402 * math/w_atan2.c: Move to ...
4403 * sysdeps/generic/w_atan2.c: ...here. New file.
4404 * math/w_atan2f.c: Move to ...
4405 * sysdeps/generic/w_atan2f.c: ...here. New file.
4406 * math/w_atan2l.c: Move to ...
4407 * sysdeps/generic/w_atan2l.c: ...here. New file.
4408 * math/w_atanh.c: Move to ...
4409 * sysdeps/generic/w_atanh.c: ...here. New file.
4410 * math/w_atanhf.c: Move to ...
4411 * sysdeps/generic/w_atanhf.c: ...here. New file.
4412 * math/w_atanhl.c: Move to ...
4413 * sysdeps/generic/w_atanhl.c: ...here. New file.
4414 * math/w_cosh.c: Move to ...
4415 * sysdeps/generic/w_cosh.c: ...here. New file.
4416 * math/w_coshf.c: Move to ...
4417 * sysdeps/generic/w_coshf.c: ...here. New file.
4418 * math/w_coshl.c: Move to ...
4419 * sysdeps/generic/w_coshl.c: ...here. New file.
4420 * math/w_drem.c: Move to ...
4421 * sysdeps/generic/w_drem.c: ...here. New file.
4422 * math/w_dremf.c: Move to ...
4423 * sysdeps/generic/w_dremf.c: ...here. New file.
4424 * math/w_dreml.c: Move to ...
4425 * sysdeps/generic/w_dreml.c: ...here. New file.
4426 * math/w_exp10.c: Move to ...
4427 * sysdeps/generic/w_exp10.c: ...here. New file.
4428 * math/w_exp10f.c: Move to ...
4429 * sysdeps/generic/w_exp10f.c: ...here. New file.
4430 * math/w_exp10l.c: Move to ...
4431 * sysdeps/generic/w_exp10l.c: ...here. New file.
4432 * math/w_exp2.c: Move to ...
4433 * sysdeps/generic/w_exp2.c: ...here. New file.
4434 * math/w_exp2f.c: Move to ...
4435 * sysdeps/generic/w_exp2f.c: ...here. New file.
4436 * math/w_exp2l.c: Move to ...
4437 * sysdeps/generic/w_exp2l.c: ...here. New file.
4438 * math/w_fmod.c: Move to ...
4439 * sysdeps/generic/w_fmod.c: ...here. New file.
4440 * math/w_fmodf.c: Move to ...
4441 * sysdeps/generic/w_fmodf.c: ...here. New file.
4442 * math/w_fmodl.c: Move to ...
4443 * sysdeps/generic/w_fmodl.c: ...here. New file.
4444 * math/w_hypot.c: Move to ...
4445 * sysdeps/generic/w_hypot.c: ...here. New file.
4446 * math/w_hypotf.c: Move to ...
4447 * sysdeps/generic/w_hypotf.c: ...here. New file.
4448 * math/w_hypotl.c: Move to ...
4449 * sysdeps/generic/w_hypotl.c: ...here. New file.
4450 * math/w_j0.c: Move to ...
4451 * sysdeps/generic/w_j0.c: ...here. New file.
4452 * math/w_j0f.c: Move to ...
4453 * sysdeps/generic/w_j0f.c: ...here. New file.
4454 * math/w_j0l.c: Move to ...
4455 * sysdeps/generic/w_j0l.c: ...here. New file.
4456 * math/w_j1.c: Move to ...
4457 * sysdeps/generic/w_j1.c: ...here. New file.
4458 * math/w_j1f.c: Move to ...
4459 * sysdeps/generic/w_j1f.c: ...here. New file.
4460 * math/w_j1l.c: Move to ...
4461 * sysdeps/generic/w_j1l.c: ...here. New file.
4462 * math/w_jn.c: Move to ...
4463 * sysdeps/generic/w_jn.c: ...here. New file.
4464 * math/w_jnf.c: Move to ...
4465 * sysdeps/generic/w_jnf.c: ...here. New file.
4466 * math/w_jnl.c: Move to ...
4467 * sysdeps/generic/w_jnl.c: ...here. New file.
4468 * math/w_lgamma.c: Move to ...
4469 * sysdeps/generic/w_lgamma.c: ...here. New file.
4470 * math/w_lgammaf.c: Move to ...
4471 * sysdeps/generic/w_lgammaf.c: ...here. New file.
4472 * math/w_lgammaf_r.c: Move to ...
4473 * sysdeps/generic/w_lgammaf_r.c: ...here. New file.
4474 * math/w_lgammal.c: Move to ...
4475 * sysdeps/generic/w_lgammal.c: ...here. New file.
4476 * math/w_lgammal_r.c: Move to ...
4477 * sysdeps/generic/w_lgammal_r.c: ...here. New file.
4478 * math/w_lgamma_r.c: Move to ...
4479 * sysdeps/generic/w_lgamma_r.c: ...here. New file.
4480 * math/w_log10.c: Move to ...
4481 * sysdeps/generic/w_log10.c: ...here. New file.
4482 * math/w_log10f.c: Move to ...
4483 * sysdeps/generic/w_log10f.c: ...here. New file.
4484 * math/w_log10l.c: Move to ...
4485 * sysdeps/generic/w_log10l.c: ...here. New file.
4486 * math/w_log.c: Move to ...
4487 * sysdeps/generic/w_log.c: ...here. New file.
4488 * math/w_logf.c: Move to ...
4489 * sysdeps/generic/w_logf.c: ...here. New file.
4490 * math/w_logl.c: Move to ...
4491 * sysdeps/generic/w_logl.c: ...here. New file.
4492 * math/w_pow.c: Move to ...
4493 * sysdeps/generic/w_pow.c: ...here. New file.
4494 * math/w_powf.c: Move to ...
4495 * sysdeps/generic/w_powf.c: ...here. New file.
4496 * math/w_powl.c: Move to ...
4497 * sysdeps/generic/w_powl.c: ...here. New file.
4498 * math/w_remainder.c: Move to ...
4499 * sysdeps/generic/w_remainder.c: ...here. New file.
4500 * math/w_remainderf.c: Move to ...
4501 * sysdeps/generic/w_remainderf.c: ...here. New file.
4502 * math/w_remainderl.c: Move to ...
4503 * sysdeps/generic/w_remainderl.c: ...here. New file.
4504 * math/w_scalb.c: Move to ...
4505 * sysdeps/generic/w_scalb.c: ...here. New file.
4506 * math/w_scalbf.c: Move to ...
4507 * sysdeps/generic/w_scalbf.c: ...here. New file.
4508 * math/w_scalbl.c: Move to ...
4509 * sysdeps/generic/w_scalbl.c: ...here. New file.
4510 * math/w_sinh.c: Move to ...
4511 * sysdeps/generic/w_sinh.c: ...here. New file.
4512 * math/w_sinhf.c: Move to ...
4513 * sysdeps/generic/w_sinhf.c: ...here. New file.
4514 * math/w_sinhl.c: Move to ...
4515 * sysdeps/generic/w_sinhl.c: ...here. New file.
4516 * math/w_sqrtl.c: Move to ...
4517 * sysdeps/generic/w_sqrtl.c: ...here. New file.
4518 * math/w_tgamma.c: Move to ...
4519 * sysdeps/generic/w_tgamma.c: ...here. New file.
4520 * math/w_tgammaf.c: Move to ...
4521 * sysdeps/generic/w_tgammaf.c: ...here. New file.
4522 * math/w_tgammal.c: Move to ...
4523 * sysdeps/generic/w_tgammal.c: ...here. New file.
4525 * locale/programs/ld-address.c (address_finish): Add 'S' to allow
4526 formats for postal_fmt.
4528 2001-02-16 Jakub Jelinek <jakub@redhat.com>
4530 * sysdeps/unix/sysv/linux/alpha/syscalls.list (ftruncate): Add
4531 __ftruncate64 alias.
4532 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (ftruncate):
4535 2001-02-15 David Mosberger <davidm@hpl.hp.com>
4537 * sysdeps/unix/sysv/linux/ia64/__longjmp.S (__longjmp): No need to
4538 do "loadrs". Writing to bspstore already takes care of
4539 invalidating the "clean" partition.
4541 2001-02-16 Andreas Schwab <schwab@suse.de>
4543 * sysdeps/m68k/fpu/s_nextafterl.c: New file.
4544 * sysdeps/m68k/fpu/s_fpclassifyl.c: New file.
4546 2001-02-15 Jakub Jelinek <jakub@redhat.com>
4548 * posix/regex.c (init_syntax_once): Add prototype.
4549 (TRANSLATE): If MBS_SUPPORT, translate all characters up to '\xff'.
4550 (re_search_2): Avoid warning.
4551 (count_mbs_length): Add prototype.
4552 * posix/tst-regex3.c: New file.
4553 * posix/Makefile (tests): Add bug-regex3.
4555 2001-02-15 Ulrich Drepper <drepper@redhat.com>
4557 * stdio-common/Makefile (tests): Add tst-gets.
4558 * stdio-common/tst-gets.c: New file.
4559 * stdio-common/tst-gets.input: New file.
4561 * elf/elf.h (DT_CHECKSUM): Define.
4563 * sysdeps/generic/strtoll.c: Don't export __strto*_internal as
4565 * sysdeps/generic/strtoull.c: Likewise.
4567 2001-02-14 Wolfram Gloger <wg@malloc.de>
4569 * malloc/malloc.c (new_heap): When allocating large chunk aligned
4570 to HEAP_MAX_SIZE, prefer one with lower address, to avoid `holes'
4573 2001-02-14 Ulrich Drepper <drepper@redhat.com>
4575 * math/libm-test.inc (j0_test): Check whether sincos is available.
4576 (j1_test): Likewise.
4577 (jn_test): Likewise.
4578 (y0_test): Likewise.
4579 (y1_test): Likewise.
4580 (yn_test): Likewise.
4582 * posix/tst-gnuglob.c: Make a few entries DT_UNKNOWN and teach
4583 fake filesystem routines to handle this.
4585 * time/sys/time.h: Make settimeofday and adjtime available if
4588 * time/sys/time.h: Make timer* macros available for BSD.
4590 * iconvdata/gb18030.c: Update for Dec 2000 re-release of GB18030.
4591 Patch by Yong Li <rigel863@yahoo.com>.
4593 * sysdeps/generic/glob.c (CONVERT_DIRENT_DIRENT64): Fix copying of
4596 * posix/Makefile (tests): Add tst-gnuglob.
4597 * posix/tst-gnuglob.c: New file.
4599 2001-02-13 H.J. Lu <hjl@gnu.org>
4601 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add __ftruncate64.
4603 2001-02-13 Ulrich Drepper <drepper@redhat.com>
4605 * locale/programs/ld-paper.c (paper_output): Pretty printing.
4607 * iconvdata/Makefile (modules): Add GBBIG5.
4608 (distribute): Add gbbig5.c.
4609 * iconvdata/gconv-modules: Add entries for GBBIG5 module.
4611 * iconvdata/gbbig5.c: New file.
4612 Contributed by Yong Li <rigel863@yahoo.com>.
4614 2001-02-13 Philip Blundell <pb@futuretv.com>
4616 * manual/crypt.texi: Remove outdated references to crypt add-on.
4618 * manual/creature.texi: Improve wording slightly.
4620 2001-02-13 Ulrich Drepper <drepper@redhat.com>
4622 * io/ftw.c: Always use readdir64.
4623 * io/ftw64.c: Likewise.
4624 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
4625 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
4626 * sysdeps/generic/glob.c: Likewise. Convert results of gl_readdir
4627 callback to dirent. Still allow compiling outside glibc.
4628 * sysdeps/gnu/glob64.c: Define COMPILE_GLOB64.
4629 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
4631 * malloc/mtrace.c: Use fopen64.
4632 * posix/spawni.c: Use __open64.
4633 * sysdeps/unix/opendir.c: Likewise.
4634 * sysdeps/unix/sysv/linux/gethostid.c: Likewise.
4636 * sysdeps/generic/ftruncate64.c: Define __ftruncate64 and make old
4638 * sysdeps/unix/sysv/aix/ftruncate64.c: Likewise.
4639 * sysdeps/unix/sysv/linux/ftruncate64.c: Likewise.
4640 * sysdeps/unix/sysv/linux/mips/ftruncate64.c: Likewise.
4641 * sysdeps/unix/sysv/linux/powerpc/ftruncate64.c: Likewise.
4643 * resolv/res_data.c: Add cast to avoid warning.
4645 * include/unistd.h: Declare __ftruncate64.
4647 * sysdeps/generic/utmp_file.c: Use LFS functions and types.
4649 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use __lseek64
4652 2001-02-13 Andreas Jaeger <aj@suse.de>
4654 * login/getutent_r.c: Include <stdlib.h> for NULL.
4655 * login/getutid_r.c: Likewise.
4657 2001-02-12 Ulrich Drepper <drepper@redhat.com>
4659 * sysdeps/dbl-64/e_j0.c: Little optimization, use sincos.
4660 * sysdeps/dbl-64/e_j1.c: Likewise.
4661 * sysdeps/dbl-64/e_jn.c: Likewise.
4662 * sysdeps/flt-32/e_j0f.c: Likewise.
4663 * sysdeps/flt-32/e_j1f.c: Likewise.
4664 * sysdeps/ldbl-96/e_j0l.c: Likewise.
4666 2000-12-02 H.J. Lu <hjl@gnu.org>
4668 * resolv/res_libc.c (res_init): Don't make it default.
4670 2001-02-12 Ulrich Drepper <drepper@redhat.com>
4672 * manual/debug.texi: Improved the wording.
4673 Patch by Philip Blundell <pb@futuretv.com>.
4675 2001-02-12 Andreas Jaeger <aj@suse.de>
4677 * posix/Makefile (tests): Don't run bug-regex2 when
4680 * libio/Makefile (tests): Don't run test-freopen when
4683 * manual/stdio.texi (Streams and I18N): Fix typos.
4685 2001-02-12 Ulrich Drepper <drepper@redhat.com>
4687 * sysdeps/i386/fpu/libm-test-ulps: Adjust for errors in y0l.
4689 * math/libm-test.inc (j0_test): Make expected results long double
4691 (y0_test): Likewise.
4693 * sysdeps/ieee754/ldbl-96/e_j0l.c: New file.
4694 Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>.
4696 2001-02-11 Jakub Jelinek <jakub@redhat.com>
4698 * sysdeps/generic/strtoll.c (__strtoq_internal): Ressurect alias
4699 which was exported from libc.
4700 * sysdeps/generic/strtoull.c (__strtouq_internal): Likewise.
4702 2001-02-12 Andreas Jaeger <aj@suse.de>
4704 * manual/arith.texi (Parsing of Integers): Fix some wordings.
4706 2001-02-11 Ulrich Drepper <drepper@redhat.com>
4708 * sysdeps/generic/getsysstat.c: Change return value of get_phys_pages
4709 and get_avphys_page to long int.
4710 * sysdeps/unix/sysv/linux/getsysstat.c: Likewise.
4711 * include/sys/sysinfo.h: Likewise.
4712 * sysdeps/generic/sys/sysinfo.h: Likewise.
4713 * sysdeps/unix/sysv/linux/sys/sysinfo.h: Likewise.
4715 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Fail if we
4716 cannot return as many values as the user asked for.
4718 2001-02-11 Andreas Jaeger <aj@suse.de>
4720 * manual/resource.texi (Memory Resources): Fix typo.
4722 * libio/Makefile ($(objpfx)test-freopen.out): Pass
4725 * libio/test-freopen.sh: Use run_program_prefix.
4727 2001-02-10 Andreas Jaeger <aj@suse.de>
4729 * stdlib/Makefile (tests): Don't run tst-fmtmsg when
4731 ($(objpfx)tst-fmtmsg.out): Pass run-program-prefix.
4733 * stdlib/tst-fmtmsg.sh (test): Use run_program_prefix for static
4736 * elf/Makefile (tests): Only run tst-pathopt with shared libs.
4738 * posix/Makefile: Fix typo, it's build-static-nss.
4740 * iconv/Makefile (extra-objs): New.
4742 2001-02-10 Mark Kettenis <kettenis@gnu.org>
4744 * sysdeps/unix/stime.c: Include <time.h>.
4746 * sysdeps/mach/hurd/setitimer.c: Include <time.h>.
4748 2001-02-10 Andreas Jaeger <aj@suse.de>
4750 * manual/string.texi (Search Functions): Fix typo.
4752 2001-02-10 Mark Kettenis <kettenis@gnu.org>
4754 * sysdeps/unix/bsd/times.c: Reorder includes and add <time.h>.
4755 (timeval_to_clock_t): Add clk_tck argument and use that instead of
4757 (__times): Use __getclktck to get the number of clock ticks per
4758 second and use its return value instead of CLK_TCK.
4760 2001-02-10 Mark Kettenis <kettenis@gnu.org>
4762 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h (_HAVE_SA_LEN): Define.
4764 2001-02-10 Mark Kettenis <kettenis@gnu.org>
4766 * sysdeps/mach/gettimeofday.c: Include <stddef.h>.
4768 2001-02-10 Andreas Jaeger <aj@suse.de>
4770 * wctype/wcfuncs.c (func): Add prototype declarations to avoid
4773 2001-02-09 Ulrich Drepper <drepper@redhat.com>
4775 * posix/Makefile: Add rules to build and run bug-regex2.
4776 * posix/bug-regex2.c: New file.
4778 2001-02-10 Jakub Jelinek <jakub@redhat.com>
4780 * posix/regex.c (convert_mbs_to_wcs): Change is_binary to char *.
4781 (regex_compile): Likewise.
4782 (FREE_VARIABLES): Don't free is_binary1 and is_binary2.
4783 (re_match_2_internal): Use just is_binary instead of two variables.
4784 Use REGEX_TALLOC to allocate it and FREE_VAR to free on failure.
4786 2001-02-09 Ulrich Drepper <drepper@redhat.com>
4788 * version.h (VERSION): Bump to 2.2.2.
4790 * iconv/Makefile (distribute): Add iconv_charmap.c and
4792 * elf/Makefile (distribute): Add firstobj.c.
4793 * Makefile (distribute): Add include/pthread.h.
4795 * configure.in: Require makeinfo version 4.
4797 * libio/tst_wscanf.c (main): Add cast to avoid warning.
4798 * libio/tst_swscanf.c (main): Likewise..
4800 2001-02-09 Jakub Jelinek <jakub@redhat.com>
4802 * sysdeps/generic/setenv.c (unsetenv): Remove const from len.
4803 * sysdeps/sparc/fpu/bits/mathinline.h (sqrt, fdim): Don't define if
4805 * sysdeps/i386/dl-machine.h (elf_machine_rel): Only declare refsym
4806 if not RTLD_BOOTSTRAP.
4807 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
4808 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
4810 2001-02-09 Ulrich Drepper <drepper@redhat.com>
4812 * locale/programs/linereader.c (get_ident): Stop loop if EOF. Use
4813 lr_ungetc to push back last read character.
4814 * locale/programs/linereader.h (lr_ungetc): Don't push back is
4816 (lr_ignore_rest): Don't warn about garbage if it is really the end
4819 * manual/Makefile: Use ifnottext and not ifinfo to protect Top node
4822 2001-02-08 Ulrich Drepper <drepper@redhat.com>
4824 * Makerules (build-shlib): Work around different order of
4825 processing of -B option in different gcc versions.
4827 * posix/regex.c: Fix alignment problem.
4828 Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
4830 * sysdeps/alpha/strrchr.S: Little optimization.
4831 Patch by Richard Henderson <rth@redhat.com>.
4833 * sysdeps/alpha/alphaev67/strrchr.S: New file.
4834 Contributed by Rick Gorton <rick.gorton@alpha-processor.com>.
4836 2001-02-08 kaz Kojima <kkojima@rr.iij4u.or.jp>
4838 * sysdeps/sh/sh3/setjmp.S (__sigsetjmp): Correct function name
4839 in the assembler end directive.
4841 2001-02-08 Andreas Jaeger <aj@suse.de>
4843 * manual/stdio.texi (Closing Streams): Fix typos.
4845 2001-02-07 Ulrich Drepper <drepper@redhat.com>
4847 * sysdeps/alpha/alphaev67/strncat.S: Align last write address.
4848 Patch by Richard Henderson <rth@redhat.com>.
4849 Reported by Claus-Justus Heine <heine@instmath.rwth-aachen.de>.
4851 * stdlib/strfmon.c [USE_IN_LIBIO]: Define lock variable and store
4852 pointer in FILE structure before calling _IO_init.
4853 * stdlib/Makefile: Add -D_IO_MTSAFE_IO to CFLAGS for strfmon and
4854 strfmon_l if necessary.
4855 Reported by Jury Gerold <gjury@grips.com>.
4857 * sysdeps/gnu/netinet/tcp.h: Correct values of TCP_ macros.
4858 Patch by Pekka.Pietikainen@cern.ch.
4860 * posix/regex.c: Correct several problems with 64-bit architectures
4861 introduced in the MBS changes.
4862 Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
4864 2001-02-07 Jakub Jelinek <jakub@redhat.com>
4866 * math/tgmath.h: Only add l suffixes if __NO_LONG_DOUBLE_MATH is
4868 * sysdeps/alpha/fpu/bits/mathinline.h: Honour __NO_MATH_INLINES.
4870 2001-02-07 Andreas Jaeger <aj@suse.de>
4872 * manual/install.texi (Tools for Compilation): Fix typo.
4873 Reported by Pavel Machek <pavel@bug.ucw.cz>.
4875 2001-02-07 Ulrich Drepper <drepper@redhat.com>
4877 * stdlib/strtod.c: Never stop prematurely reading digits before the
4878 decimal point is found. Compute exponent limit for negative exponents
4879 correctly. For numbers ending in all zeros eat the zeros even before
4880 the decimal point if the exponent is negative [PR libc/2072].
4881 * stdlib/Makefile (tests): Add bug-strtod.
4882 * stdlib/bug-strtod.c: New file.
4884 2001-02-07 Andreas Jaeger <aj@suse.de>
4886 * posix/bug-regex1.c: Include <wchar.h> for fwide.
4888 2001-02-06 Ulrich Drepper <drepper@redhat.com>
4890 * posix/regex.c (regex_compile): Don't store pointer in wchar_t array.
4892 (compile_range): Handle index being passed, not pointer.
4893 Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
4895 * posix/regex.c: Fix a cast in the code for bracket handling which
4896 caused 8-bit uncleanliness.
4897 Patch by Michal Jaegermann <michal@ellpspace.math.ualberta.ca>.
4899 * posix/Makefile (tests): Add bug-regex1.
4900 * posix/bug-regex1.c: New file.
4901 Contributed by Jim Meyering <jim@meyering.net>.
4903 * posix/regex.c: Many cleanups for incorrect format strings.
4905 2001-02-06 Andreas Jaeger <aj@suse.de>
4907 * time/time.h (CLK_TCK): Check for !__STRICT_ANSI.
4909 2001-02-06 Ulrich Drepper <drepper@redhat.com>
4911 * locale/programs/locale.c (write_locales): Use scandir to read
4912 directory so that the entries are sorted.
4914 2001-02-06 Andreas Jaeger <aj@suse.de>
4916 * include/pthread.h: New file.
4918 * wctype/wctype.h: Move internal interfaces from here to...
4919 * include/wctype.h: ...here.
4921 * wcsmbs/wchar.h: Move __wcslen from here to...
4922 * include/wchar.h: ...here.
4924 * posix/sys/wait.h: Move __wait from here to...
4925 * include/sys/wait.h: ...here.
4927 * string/string.h: Move __ffs and __strerror_r from here to...
4928 * include/string.h: ...here.
4930 * stdlib/stdlib.h: Move __on_exit from here to...
4931 * include/stdlib.h: ...here.
4933 * libio/stdio.h: Move __vsnprintf from here to...
4934 * include/stdio.h: ...here.
4936 2001-02-06 Andreas Schwab <schwab@suse.de>
4938 * sysdeps/unix/sysv/linux/ia64/ioperm.c: Don't include kernel
4941 * timezone/Makefile: Don't assume that $(inst_zonedir) is a subdir
4944 2001-02-06 Ulrich Drepper <drepper@redhat.com>
4946 * iconvdata/Makefile: Add dependency for bug-iconv2.out.
4948 2001-02-06 Andreas Jaeger <aj@suse.de>
4950 * elf/firstobj.c: Add prototype.
4952 * posix/regex.c (convert_mbs_to_wcs): Make static, add prototype
4953 (truncate_wchar): Likewise.
4955 2001-02-06 Ulrich Drepper <drepper@redhat.com>
4957 * locale/programs/locale.c: Implement --verbose option for -a
4958 which prints detailed information about the locales.
4960 2001-02-05 Ulrich Drepper <drepper@redhat.com>
4962 * sunrpc/xdr_rec.c (set_input_fragment): Change type of header
4963 variable to uint32_t.
4964 Reported by Ulrich Weigand <weigand@immd1.informatik.uni-erlangen.de>.
4966 2001-02-04 Bruno Haible <haible@clisp.cons.org>
4968 * locale/C-translit.h.in: Add transliterations for CJK units of
4971 2001-02-05 Ulrich Drepper <drepper@redhat.com>
4973 * elf/cache.c (print_entry): Use PRIx64 instead of Lx in printf
4974 string. Include <inttypes.h> instead of <stdint.h>.
4976 * localedata/Makefile (tests): Add bug-iconv-trans.
4977 Define bug-iconv-trans-ENV.
4978 * localedata/bug-iconv-trans.c: New file.
4980 2001-02-04 Bruno Haible <haible@clisp.cons.org>
4982 * iconv/gconv_trans.c (__gconv_transliterate): Use a temporary output
4983 pointer, to avoid accumulating output from incomplete (unsuccessful)
4984 transliteration attempts.
4986 2001-02-05 Ulrich Drepper <drepper@redhat.com>
4988 * elf/ldconfig.c (search_dir): Use PRIx64 instead of Lx in printf
4989 string. Include <inttypes.h> instead of <stdint.h>.
4991 * configure.in: Add check for bison.
4992 * config.make.in: Define BISON variable.
4993 * intl/Makefile: Use BISON instead of YACC when generating plural.c.
4994 Rename YFLAGS to BISONFLAGS.
4996 2001-02-05 Andreas Jaeger <aj@suse.de>
4998 * io/test-lfs.c (do_test): Test lseek64 return value, call
5000 (test_ftello): New function to test ftello64 and fseeko64.
5002 * signal/signal.h: Move __sigaction from here to...
5003 * include/signal.h: ...here.
5005 * io/fcntl.h: Move __fcntl and __open to...
5006 * include/fcntl.h: ...here.
5008 2001-02-04 Philip Blundell <philb@gnu.org>
5010 * configure.in: Distinguish ARM from Thumb.
5012 2001-02-04 Philip Blundell <philb@gnu.org>
5014 * sysdeps/arm/dl-machine.h (elf_machine_rel): Correct handling of
5015 PC24 relocs with negative value.
5017 2001-02-04 Ulrich Drepper <drepper@redhat.com>
5019 * iconv/Makefile (iconv_prog-modules): Define. Add vpath to find
5020 files in locale/programs. Add CFLAGS definition to allow compiling
5022 * iconv/dummy-repertoire.c: New file.
5023 * iconv/iconv_charmap.c: New file.
5024 * iconv/iconv_prog.h: New file.
5025 * iconv/iconv_prog.c: Make verbose and omit_invalid global.
5026 (main): If parameter for -f and -t contain slashes try first to resolve
5027 the strings as filenames of charmap files. Use them for conversion
5029 * iconvdata/run-iconv-test.sh: If charmaps exist also run tests with
5030 iconv getting charmap names as parameters.
5031 * locale/programs/linereader.c (lr_token): Take extra parameters
5032 verbose and pass it to get_string.
5033 (get_string): Take extra parameters verbose.
5034 * locale/programs/charmap.c (parse_charmap): Take extra parameters
5035 verbose and be_quiet. Change all callers of lr_token and
5037 * locale/programs/charmap.h: Likewise.
5038 * locale/programs/ld-address.c: Likewise.
5039 * locale/programs/ld-collate.c: Likewise.
5040 * locale/programs/ld-ctype.c: Likewise.
5041 * locale/programs/ld-identification.c: Likewise.
5042 * locale/programs/ld-measurement.c: Likewise.
5043 * locale/programs/ld-messages.c: Likewise.
5044 * locale/programs/ld-monetary.c: Likewise.
5045 * locale/programs/ld-name.c: Likewise.
5046 * locale/programs/ld-numeric.c: Likewise.
5047 * locale/programs/ld-paper.c: Likewise.
5048 * locale/programs/ld-telephone.c: Likewise.
5049 * locale/programs/ld-time.c: Likewise.
5050 * locale/programs/linereader.c: Likewise.
5051 * locale/programs/linereader.h: Likewise.
5052 * locale/programs/localedef.c: Likewise.
5053 * locale/programs/locfile.c: Likewise.
5054 * locale/programs/locfile.h: Likewise.
5055 * locale/programs/repertoire.c: Likewise.
5057 2001-02-03 Ulrich Drepper <drepper@redhat.com>
5059 * iconv/iconv_prog.c (main): If output file name is "-" write to
5061 (main): If -f or -t argument is missing use charset of the current
5064 2001-02-03 Andreas Jaeger <aj@suse.de>
5066 * sysdeps/i386/elf/start.S (_start): Align stack to 16-byte
5067 boundary for SSE/SSE-2 alignment.
5069 * posix/Makefile ($(objpfx)annexc.out): Also pass sysincludes to
5072 2001-02-03 Ulrich Drepper <drepper@redhat.com>
5074 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: File was using crlf.
5075 Remove comma at end of enum.
5077 * elf/dl-init.c: Add a few __builtin_expect.
5079 * hesiod/hesiod.c: Remove unnecessary code. Remove all uses of strcat.
5081 2001-02-02 Ulrich Drepper <drepper@redhat.com>
5083 * hesiod/hesiod.c (hesiod_resolve): Also search HS records if
5084 errno is ECONNREFUSED.
5086 * posix/Makefile: Define MBS_SUPPORT for regex.c.
5087 * posix/regex.c: Implement multibyte character handling.
5088 Patch by Isamu Hasegawa <isamu@yamato.ibm.co.jp>.
5090 * string/tst-svc.input: Add two more test cases.
5091 * string/tst-svc.expect: Modify to reflect new test cases.
5093 2001-02-01 Jakub Jelinek <jakub@redhat.com>
5095 * sysdeps/posix/getaddrinfo.c (gaih_local, gaih_inet): Replace all
5096 tp->name tests with tp->name[0] tests.
5098 2001-01-29 Ben Collins <bcollins@debian.org>
5100 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r):
5101 Fix check for name == NULL.
5103 2001-02-01 Ulrich Drepper <drepper@redhat.com>
5105 * elf/Makefile: Add rules to build and run initfirst test.
5106 * elf/initfirst.c: New file.
5107 * elf/firstobj.c: New file.
5109 * Makerules (build-shlib): Add $(extra-B-$(@F:lib%.so=%).so).
5110 * configure.in: Test for -z initfirst linker option.
5111 * config.make.in: Add have-z-initfirst.
5112 * elf/dl-init.c (_dl_init): Split out actual initialization code in
5113 new function call_init. If _dl_initfirst is non-NULL initialize first.
5114 * elf/dl-load.c (_dl_map_from_fd): If DF_1_INITFIRST flag is set
5115 remember object in _dl_initfirst.
5116 * elf/soinit.c: Remove special support for calling
5117 __pthread_initialize_minimal.
5119 * conform/conformtest.pl: Add missing $prepend in type test.
5121 2001-01-31 Ulrich Drepper <drepper@redhat.com>
5123 * elf/elf.h (SHT_CHECKSUM): New definition.
5125 * posix/fnmatch_loop.c: Remove incorrect reverse condition in
5126 [. .] matching. Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
5127 * posix/tst-fnmatch.input: Add tests for [. .] in locales.
5129 2001-01-31 Mark Kettenis <kettenis@gnu.org>
5131 * misc/sys/select.h: Include <bits/time.h> instead of <sys/time.h>
5132 to get definition of `struct timeval'.
5134 2001-01-31 Ulrich Drepper <drepper@redhat.com>
5136 * posix/tst-fnmatch.input: Add test cases for de_DE.UTF-8 locale.
5137 * posix/fnmatch_loop.c: Fix handling of [= =] for multibyte charsets.
5139 2001-01-30 Ulrich Drepper <drepper@redhat.com>
5141 * iconv/gconv_open.c (__gconv_open): Set conv_flags if IGNORE is
5144 * nis/nis_findserv.c: Include <time.h>.
5146 2001-01-30 Yong Li <yong.li@asu.edu>
5148 * iconv/iconv_prog.c (main): Correct error handling method name.
5150 2001-01-29 Ben Collins <bcollins@debian.org>
5152 * sysdeps/sparc/fpu/fraiseexcpt.c: Include <float.h>.
5153 * sysdeps/hppa/fpu/fraiseexcpt.c: Likewise.
5154 * sysdeps/m68k/fpu/fraiseexcpt.c: Likewise.
5155 * sysdeps/s390/fpu/fraiseexcpt.c: Likewise.
5157 2001-01-30 Ulrich Drepper <drepper@redhat.com>
5159 * locale/programs/ld-measurement.c (measurement_finish): Fix a typo.
5160 Patch by Marko Myllynen <myllynen@lut.fi>.
5162 * string/bits/string2.h (__strpbrk_c2): Correct parameter types
5163 (int instead of char).
5164 (__strpbrk_c3): Likewise.
5165 Reported by GOTO Masanori <gotom@debian.or.jp>.
5167 * sysdeps/generic/bits/sockaddr.h: Remove SA_LEN macro.
5168 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Likewise.
5169 * include/sys/socket.h: Add SA_LEN here for internal use.
5170 Reported by Arkadiusz Miskiewicz <misiek@pld.ORG.PL>.
5172 2001-01-29 Ulrich Drepper <drepper@redhat.com>
5174 * malloc/Makefile: Don't build memusagestat if cross-compiling.
5176 * sysdeps/generic/dl-sysdep.c (set_seen): Fix typo.
5178 * math/libm-test.inc (rint_test): Add a few more tests for round
5181 2001-01-28 Ulrich Drepper <drepper@redhat.com>
5183 * conform/data/pthread.h-data: Correct return type of pthread_exit.
5185 * conform/conformtest.pl: Add -fno-builtin to CFLAGS.
5187 * conform/data/stdlib.h-data: Add _Exit.
5189 * inet/arpa/inet.h: Don't include <sys/types.h>. Define socklen_t
5190 if not already happened.
5191 * inet/netinet/in.h: Don't include <sys/types.h>, use <bits/types.h>.
5192 Don't include <limits.h> and <bits/sockaddr.h>.
5194 * conform/data/netinet/in.h-data: Allow all of <inttypes.h>.
5196 * conform/data/spawn.h-data: Allow all of <sched.h>.
5198 * sysdeps/ia64/fpu/fraiseexcpt.c: Include <float.h>. Removed
5201 * sunrpc/xdr_rec.c (xdrrec_getpos): Add cast to long to avoid warning.
5202 * sunrpc/xdr_sizeof.c (x_inline): Likewise.
5204 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Include <float.h>.
5206 * conform/conformtest.pl: Define $mustprepend{"stdio.h"}.
5207 * libio/stdio.h: Define va_list correctly.
5209 * conform/data/pthread.h-data: Make priority protocol related
5210 functions optional. Fix typos.
5212 * posix/sched.h: Define sched_priority as __sched_priority.
5213 * sysdeps/generic/bits/sched.h (struct sched_param): Rename element
5214 to __sched_priority.
5215 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
5217 2001-01-27 Ulrich Drepper <drepper@redhat.com>
5219 * sysdeps/generic/clock_getcpuclockid.c: Include <time.h> instead
5222 * sysdeps/unix/stime.c: Include <stddef.h> for NULL.
5223 * sysdeps/unix/time.c: Likewise.
5225 * conform/data/time.h-data: CLK_TCK is not in XPG6. Fix tzname entry.
5226 * sysdeps/mach/hurd/bits/time.h: Don't define CLK_TCK for XPG6.
5227 * sysdeps/mach/hurd/i386/bits/time.h: Likewise.
5228 * sysdeps/unix/sysv/linux/bits/time.h: Likewise.
5229 * sysdeps/unix/sysv/linux/alpha/bits/time.h: Likewise.
5230 * sysdeps/unix/sysv/linux/i386/bits/time.h: Likewise.
5231 * sysdeps/unix/sysv/linux/ia64/bits/time.h: Likewise.
5232 * time/time.h: Likewise.
5234 * conform/conformtest.pl (@headers): Add complex.h and tgmath.h.
5235 * conform/data/complex.h-data: New file.
5236 * conform/data/tgmath.h-data: New file.
5238 * conform/data/wchar.h-data: Add missing functions.
5240 * sysdeps/gnu/bits/utmpx.h: Define RUN_LVL only if __USE_GNU.
5242 * conform/data/termios.h-data: Add missing const in tcsetattr()
5245 * posix/sys/wait.h: Include <signal.h> and <sys/resource.h>.
5246 Don't define pid_t here.
5248 * conform/data/sys/utsname.h-data: Don't provide fixed array sizes.
5250 * conform/data/sys/time.h-data: Allow sys/select.h.
5251 * conform/data/sys/un.h-data: Fix typo.
5252 * time/sys/time.h: Don't include all of <time.h>, just struct timeval.
5253 * sysdeps/posix/clock_getres.c: Include <time.h> instead of
5255 * sysdeps/unix/clock_nanosleep.c: Likewise.
5256 * sysdeps/unix/i386/clock_getcpuclockid.c: Likewise.
5257 * sysdeps/unix/i386/i586/clock_getres.c: Likewise.
5258 * sysdeps/unix/clock_gettime.c: Also include <time.h>.
5259 * sysdeps/unix/clock_settime.c: Likewise.
5261 * sysdeps/generic/pselect.c: Include <stddef.h> for NULL.
5262 * login/getutent.c: Likewise.
5263 * login/getutid.c: Likewise.
5264 * login/getutline.c: Likewise.
5266 * socket/sys/un.h: Define SUN_LEN only if __USE_MISC.
5268 * sysdeps/unix/sysv/linux/bits/statvfs.h: Change type of f_fsid field
5269 to unsigned long. Add __f_unused. Define _STATVFSBUF_F_UNUSED.
5270 * sysdeps/unix/sysv/linux/internal_statvfs.c: Adjust initialization of
5271 f_fsid field after change in struct statvfs.
5272 * sysdeps/unix/sysv/linux/alpha/bits/statvfs.h: New file.
5273 * sysdeps/unix/sysv/linux/ia64/bits/statvfs.h: New file.
5274 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/statvfs.h: New file.
5276 * conform/data/sys/stat.h-data: Remove isfdtype. Use
5279 * conform/data/sys/socket.h-data: Fix typos. Correct getsockopt,
5280 recvfrom, send, and socketpair prototypes. Add allow lines.
5281 * socket/sys/socket.h: Include <sys/uio.h>.
5282 Don't use fancy __SOCKADDR_ARG definition unless __USE_GNU.
5283 Fix type of second parameter of listen.
5284 Don't declare isfdtype unless __USE_MISC.
5285 * sysdeps/generic/listen.c: Fix type of second parameter of listen.
5286 * sysdeps/mach/hurd/listen.c: Likewise.
5287 * sysdeps/generic/bits/socket.h (struct sockaddr_storage): Define
5288 ss_family and __ss_family.
5289 * sysdeps/unix/sysv/aix/bits/socket.h: Likewise.
5290 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
5291 (struct msghdr): Change type of msg_iovlen to int and type of
5292 msg_controllen to socklen_t.
5293 * sysdeps/unix/sysv/linux/alpha/bits/socket.h: New file.
5294 * sysdeps/unix/sysv/linux/ia64/bits/socket.h: New file.
5295 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/socket.h: New file.
5296 * inet/rcmd.c (rcmd_af): __ss_family is now ss_family.
5297 (rresvport_af): Likewise.
5299 * conform/data/sys/shm.h-data: SHMLBA is not required to by a constant.
5300 * conform/conformtest.pl: Implement handling of symbol.
5302 * signal/signal.h: Fix handling of __need_* symbols.
5303 * misc/sys/select.c: Define fd_set here. Remove __fd_set. Define
5304 fd_mask only if __USE_MISC. Declare pselect for __USE_XOPEN2K.
5305 * include/sys/select.h: Use fd_set not __fd_set.
5306 * sysdeps/generic/bits/select.h: Likewise.
5307 * sysdeps/i386/bits/select.h: Likewise.
5308 * sysdeps/generic/bits/types.h: Don't define __fd_mask, __NFDBITS,
5309 __FDELT, __FDMASK, and __fd_set here.
5310 * sysdeps/unix/sysv/aix/bits/types.h: Likewise.
5311 * sysdeps/unix/sysv/hpux/bits/types.h: Likewise.
5312 * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
5313 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
5314 * sysdeps/unix/sysv/linux/ia64/bits/types.h: Likewise.
5315 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
5316 * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
5317 * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
5318 * time/sys/time.h: Define struct timeval before including <time.h>
5321 * conform/data/sys/time.h-data: fd_set is a typedef.
5322 * conform/data/sys/select.h-data: New file.
5323 * conform/data/sys/mman.h-data: Make typed mem stuff optional.
5324 * conform/conformtest.pl (@headers): Add sys/select.h.
5325 (type, optional-type): Unless testing a typedef instantiate object.
5326 Implement optional-function.
5328 * math/test-misc.c: Include <float.h>.
5330 2001-01-27 Andreas Jaeger <aj@suse.de>
5332 * misc/efgcvt_r.c: Include <float.h>.
5334 2001-01-26 Ulrich Drepper <drepper@redhat.com>
5336 * conform/data/stdlib.h-data: Account for XPG6 changes.
5337 * stdlib/stdlib.h (__random): Change return value type to long.
5338 (posix_memalign): Cleanup parameter names.
5339 (setenv, unsetenv): Make available for __USE_XOPEN2K.
5340 Change return type of unsetenv to int.
5341 (qecvt, qgcvt, qfcvt): Declare only if __USE_MISC.
5342 * include/stdlib.h: Change return type of unsetenv to int.
5343 Change return type of random to long int.
5344 * sysdeps/generic/setenv.c (unsetenv): Change return type to int.
5345 Return -1 and set errno if parameter is invalid.
5346 * stdlib/random.c (__random): Change return value type to long.
5348 * conform/data/stdio.h-data: Account for changes in XPG6.
5350 * conform/data/spawn.h-data: Correct posix_spawnattr_setflags
5353 * conform/conformtest.pl: Define $mustprepend{"signal.h"}.
5354 * conform/data/signal.h-data: Fix sigev_notify_function entry.
5355 Fix typo (SIGVALRM -> SIGVTALRM).
5356 * sysdeps/unix/sysv/linux/bits/siginfo.h: Define sigev_notify_attr
5358 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Likewise.
5359 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
5360 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Likewise.
5361 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
5362 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/siginfo.h: Likewise.
5364 * conform/conformtest.pl: Implement optional-element. Define
5365 $mustprepend{"sched.h"}.
5366 * conform/data/sched.h-data: Make sporadic scheduler definitions
5369 * pwd/pwd.h: Don't define getpwent_r for XPG.
5371 * io/sys/poll.h: Define nfds_t and use it in poll prototype.
5372 * sysdeps/generic/poll.c: Use nfds_t type in function definition.
5373 * sysdeps/mach/hurd/poll.c: Likewise.
5374 * sysdeps/unix/bsd/poll.c: Likewise.
5375 * sysdeps/unix/sysv/linux/poll.c: Likewise.
5376 * sysdeps/unix/sysv/aix/poll.c: Likewise.
5377 * sysdeps/generic/bits/poll.h: Define NPOLLFILE only if __USE_MISC.
5378 * sysdeps/unix/sysv/linux/bits/poll.h: Likewise.
5379 * sysdeps/unix/sysv/linux/m68k/bits/poll.h: Likewise.
5380 * sysdeps/unix/sysv/linux/mips/bits/poll.h: Likewise.
5381 * sysdeps/unix/sysv/linux/sparc/bits/poll.h: Likewise.
5382 * conform/data/poll.h-data: Fix typo in poll prototype.
5384 * sysdeps/gnu/netinet/tcp.h: Define everything but TCP_ macros
5386 * conform/data/netinet/tcp.h-data: Reserved prefix TCP_.
5388 * sysdeps/gnu/net/if.h: Cleanup namespace. Define IF_NAMESIZE.
5390 * inet/netinet/in.h: Make IPPROTO_ constants also macros.
5392 * conform/conformtest.pl: Implement optional-type.
5394 * resolv/netdb.h: Include <netinet/in.h> not <sys/socket.h>. Include
5395 <rpc/netdb.h> only if __USE_MISC. Include <stdint.h> instead of
5396 defining uint32_t here. Define IPPORT_RESERVED.
5397 (struct hostent): Type of h_length element is int.
5398 (getnameinfo): Type of flags parameter is unsigned int.
5399 * inet/getnameinfo.c (getnameinfo): flags argument is unsigned.
5400 * conform/data/netdb.h-data: Add many missing definitions.
5402 * conform/conformtest.pl: Implement optional-macro.
5403 * conform/data/math.h-data: Update for XPG6.
5405 * math/math.h (HUGE): Define as FLT_MAX value but don't use
5406 FLT_MAX. Don't include <float.h>.
5407 (MAXFLOAT): Likewise.
5409 * math/math.h: Define MATH_ERRNO and MATH_ERREXCEPT.
5411 * include/bits/xopen_lim.h: Don't define FOPEN_MAX here.
5413 * conform/data/limits.h-data: Mark constants as optional wherever
5416 * posix/bits/posix2_lim.h: Set correct values for
5417 _POSIX2_COLL_WEIGHTS_MAX and _POSIX2_CHARCLASS_NAME_MAX. Remove
5420 * posix/bits/posix1_lim.h: Define _POSIX_TZNAME_MAX as 6.
5423 * intl/loadmsgcat.c: Include <locale.h.> for _LIBC.
5425 * conform/data/netinet/in.h-data: Add reserved prefixes.
5427 * conform/data/arpa/inet.h-data: Fix a few typos.
5429 2001-01-26 Andreas Jaeger <aj@suse.de>
5431 * sysdeps/generic/strtol.c: Include <locale.h>
5432 * stdlib/strtod.c: Likewise
5433 * stdlib/strfmon.c: Likewise.
5434 * string/strcoll.c: Likewise.
5435 * string/strxfrm.c: Likewise.
5436 * wctype/wcfuncs_l.c: Likewise.
5437 * wctype/wctype_l.c: Likewise.
5438 * wctype/wctrans_l.c: Likewise.
5440 * include/bits/locale.h: New file.
5442 2001-01-26 Ulrich Drepper <drepper@redhat.com>
5444 * locale/langinfo.h: Correct logic in #ifs when defining YESSTR
5447 * locale/Makefile (headers): Add bits/locale.h.
5448 * locale/langinfo.h: Don't include <locale.h>. Include <bits/locale.h>
5449 and use __LC_ constants instead of LC_.
5450 * locale/locale.h: Include <bits/locale.h> and define LC_ constants
5451 using __LC_ constants.
5452 * locale/bits/locale.h: New file.
5453 * locale/loadlocale.c: Include <locale.h>.
5454 * locale/nl_langinfo.h: Likewise.
5456 * posix/glob.h: Cleanup namespace for non-_GNU_SOURCE case.
5458 * io/sys/stat.h: Define S_IFSOCK for XPG6.
5460 * conform/data/fcntl.h-data: posix_madvise is not expected here.
5462 * conform/conformtest.pl: Fix handling of macro-str.
5464 * conform/data/inttypes.h-data: Add missing definition and all of
5467 * sysdeps/unix/sysv/linux/sys/param.h (MAXSYMLINKS): Bump to 20.
5469 2001-01-25 Ulrich Drepper <drepper@redhat.com>
5471 * conform/conformtest.pl (@headers): Add stdint.h.
5472 * conform/data/stdint.h-data: New file.
5474 * conform/conformtest.pl: Recognize options --headers and
5475 --dialect. Add dialect-specific CFLAGS.
5477 * conform/conformtest.pl: Implement handling of recursive
5480 * conform/data/locale.h-data: Add new struct lconv members.
5482 * posix/wordexp.h: Correct definition of wordexp_t.
5483 * posix/wordexp.c: Moved to ...
5484 * sysdeps/generic/wordexp.c: ...here. New file.
5485 * sysdeps/unix/sysv/linux/alpha/wordexp.c: New file.
5486 * sysdeps/unix/sysv/linux/ia64/wordexp.c: New file.
5487 * sysdeps/unix/sysv/linux/sparc/sparc64/wordexp.c: New file.
5488 * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.2.2): Add
5490 * sysdeps/unix/sysv/linux/ia64/Versions: Likewise.
5491 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions: Likewise.
5493 * math/tgmath.h: Pretty printing.
5495 * math/Makefile (tests): Add test-tgmath.
5496 (CFLAGS-test-tgmath.c): New variable.
5497 * math/test-tgmath.c: New file. Contributed by Jakub Jelinek.
5499 * conform/conformtest.pl: Handle allow-header in secondary headers
5502 * conform/data/fcntl.h-data: Mark symbols introduced in XPG6 with
5505 * conform/data/netinet/in.h-data: Use correct comment character.
5506 * conform/data/sys/stat.h-data: Likewise.
5508 2001-01-25 Jakub Jelinek <jakub@redhat.com>
5510 * math/tgmath.h (__TGMATH_BINARY_FIRST_REAL_ONLY,
5511 __TGMATH_BINARY_REAL_ONLY, __TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY,
5512 __TGMATH_TERNARY_REAL_ONLY): Use proper arguments to
5513 __builtin_classify_type, add ##f suffixes where appropriate.
5514 (__TGMATH_UNARY_REAL_IMAG): Remove extraneous left parenthesis.
5515 (__TGMATH_BINARY_REAL_IMAG): Likewise, use proper arguments to
5516 __builtin_classify_type.
5517 (fma): Fix spelling of first argument.
5519 2001-01-25 Ulrich Drepper <drepper@redhat.com>
5521 * conform/data/unistd.h-data: Mark functions removed in XPG6
5524 * posix/unistd.h: Don't make functions removed in XPG6 available if
5527 * conform/conformtest.pl: Implement optional-constant.
5528 * conform/data/unistd.h-data: Use optional-constant wherever
5531 * sysdeps/generic/bits/confname.h: Correct names of _SC_PBS
5532 constants and add _SC_STREAMS.
5533 * sysdeps/posix/sysconf.c (__sysconf): Likewise.
5535 * sysdeps/unix/sysv/linux/statvfs64.c: Rename to __statvfs64 and
5536 make old name weak alias.
5537 * sysdeps/generic/statvfs64.c: Likewise.
5538 * sysdeps/unix/sysv/linux/fstatvfs64.c: Rename to __fstatvfs64 and
5539 make old name weak alias.
5540 * sysdeps/generic/fstatvfs64.c: Likewise.
5541 * include/sys/statvfs.h: New file.
5543 * sysdeps/generic/bits/confname.h: Define _PC_REC_INCR_XFER_SIZE,
5544 _PC_REC_MAX_XFER_SIZE, _PC_REC_MIN_XFER_SIZE, and
5546 * sysdeps/posix/pathconf.c (__pathconf): Implement handling of
5547 _PC_REC_INCR_XFER_SIZE, _PC_REC_MAX_XFER_SIZE,
5548 _PC_REC_MIN_XFER_SIZE, and _PC_REC_XFER_ALIGN.
5549 * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
5551 * conform/conformtest.pl: Run Unix tests for XPG6.
5552 Implement handling of known namespace violations.
5553 Improve printing of results.
5555 * posix/unistd.h (usleep): Correct return type.
5556 * sysdeps/unix/sysv/linux/usleep.c: Correct return type.
5557 * sysdeps/unix/bsd/usleep.c: Correct return type.
5558 * sysdeps/mach/usleep.c: Correct return type.
5559 * sysdeps/generic/usleep.c: Correct return type.
5561 * posix/unistd.h (sync): Correct return type.
5562 * sysdeps/generic/sync.c: Likewise.
5563 * sysdeps/mach/hurd/sync.c: Likewise.
5565 * sysdeps/generic/bits/confname.h (_SC_IOV_MAX): New definition.
5567 * posix/unistd.h: Make seteuid and setegid available for XPG6.
5569 * wcsmbs/wchar.h: Get FILE definition for XPG5.
5571 * conform/data/ctype.h-data: Use correct comment form.
5572 * conform/data/errno.h-data: Likewise.
5573 * conform/data/math.h-data: Likewise.
5574 * conform/data/mqueue.h-data: Likewise.
5575 * conform/data/netdb.h-data: Likewise.
5576 * conform/data/pthread.h-data: Likewise.
5578 2001-01-24 Ulrich Drepper <drepper@redhat.com>
5580 * conform/data/wordexp.h-data: Fix typo.
5582 * conform/conformtest.pl: Handle allow-header correctly.
5584 * conform/data/time.h-data: Use correct comment form.
5586 * conform/conformtest.pl (checknamespace): Ignore #undef lines.
5588 * configure.in: Comment out binutils version test.
5590 * stdlib/strtod.c (str_to_mpn): Correct parsing of thousands
5592 Reported by Lagardere Jean-Francois <LAGARDEREJ@thmulti.com>.
5594 * stdlib/tst-strtod.c (locale_test): New function.
5595 (main): Call locale_test.
5596 * stdlib/Makefile (tst-strtod-ENV): New variable.
5598 2001-01-24 Mark Kettenis <kettenis@gnu.org>
5600 * hurd/hurdsig.c (_hurdsig_getenv): Remove spurious innermost
5601 declaration of value such that we actually return the value of the
5602 environment variable.
5604 2001-01-24 Andreas Jaeger <aj@suse.de>
5606 * sysdeps/unix/sysv/linux/init-first.c: Remove extra __sysctl
5608 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
5610 * include/sys/sysctl.h: New file.
5612 2001-01-23 Andreas Jaeger <aj@suse.de>
5614 * stdlib/Makefile ($(objpfx)isomac.out): Also pass sysincludes to
5617 * elf/dl-load.c (_dl_init_paths): Don't use strdupa in function
5618 arguments. Reported by Jiri Kubicek <kubicek@bitsmart.com>,
5619 closes PR libc/2039.
5621 * manual/install.texi (Tools for Compilation): Change required
5624 2001-01-22 Andreas Jaeger <aj@suse.de>
5626 * configure.in: Add test for new enough binutils version, move
5627 compiler/binutils test up.
5629 * Versions.def: Add version GLIBC_2.2.2.
5631 2001-01-21 Ulrich Drepper <drepper@redhat.com>
5633 * iconvdata/TESTS: UTF-8 test data for IBM932 and IBM943 are now
5635 * iconvdata/testdata/IBM932: New file.
5636 * iconvdata/testdata/IBM932..UTF8: New file.
5637 * iconvdata/testdata/IBM943: New file.
5638 * iconvdata/testdata/IBM943..UTF8: New file.
5639 Contributed by Masahide Washizawa <washi@jp.ibm.com>.
5641 2001-01-21 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
5643 * sysdeps/unix/sysv/linux/powerpc/mmap64.c: Correctly mask offset.
5645 2001-01-21 Ulrich Drepper <drepper@redhat.com>
5647 * malloc/malloc.c: Remove a few unnecessary initializers of global
5650 2000-12-09 H.J. Lu <hjl@gnu.org>
5652 * nss/Makefile (routines): Add digits_dots.
5653 * nss/Versions (libc): Add __nss_hostname_digits_dots to GLIBC_2.2.2.
5654 * nss/digits_dots.c (__nss_hostname_digits_dots): Turn template
5656 * nss/nsswitch.h (__nss_hostname_digits_dots): New internal NSS
5658 * nss/getXXbyYY.c (H_ERRNO_VAR_P): New definition.
5659 (TYPE_VAR_P): Likewise.
5660 (FLAGS_VAR): Likewise.
5661 (AF_VAR_P): Likewise.
5662 (INTERNAL (REENTRANT_NAME)): Call __nss_hostname_digits_dots ()
5663 instead of including digits_dots.c.
5664 * nss/getXXbyYY_r.c (H_ERRNO_VAR_P): New definition.
5665 (TYPE_VAR_P): Likewise.
5666 (FLAGS_VAR): Likewise.
5667 (AF_VAR_P): Likewise.
5668 (INTERNAL (REENTRANT_NAME)): Call __nss_hostname_digits_dots ()
5669 instead of including digits_dots.c.
5671 2001-01-21 Ulrich Drepper <drepper@redhat.com>
5673 * sysdeps/posix/getaddrinfo.c: Reduce .data size.
5675 2001-01-21 Andreas Jaeger <aj@suse.de>
5677 * elf/constload2.c: Add prototype for init.
5679 2001-01-21 Ulrich Drepper <drepper@redhat.com>
5681 * stdlib/stdlib.h (drand48_data): Make available only for
5682 __USE_MISC. Rename elements to protect namespace. Change type
5683 and position of a and init element.
5684 * stdlib/drand48-iter.c: Don't handle unsigned short > 16 bit
5685 differently. Adjust for drand48_data change. Don't compute a here,
5686 it comes from drand48_data.
5687 * stdlib/lcong48_r.c: Don't handle unsigned short > 16 bit
5688 differently. Adjust for drand48_data change. Compute a here.
5689 * stdlib/srand48_r.c: Likewise.
5690 * stdlib/drand48.c: Adjust for drand48_data change.
5691 * stdlib/lrand48.c: Likewise.
5692 * stdlib/mrand48.c: Likewise.
5693 * stdlib/seek48.c: Likewise.
5694 * stdlib/drand48_r.c: Likewise.
5695 * stdlib/lrand48_r.c: Likewise.
5696 * stdlib/mrand48_r.c: Likewise.
5697 * stdlib/seed48_r.c: Likewise. Don't handle unsigned short > 16 bit
5699 * stdlib/erand48_r.c: Don't handle unsigned short > 16 bit differently.
5700 * stdlib/jrand48_r.c: Likewise.
5702 * po/sv.po: Update from translation team.
5704 2001-01-21 Andreas Jaeger <aj@suse.de>
5706 * stdio-common/vfprintf.c (vfprintf): Add casts.
5708 2001-01-20 Ulrich Drepper <drepper@redhat.com>
5710 * iconvdata/run-iconv-test.sh: Reorgnize a bit to allow running only
5712 * iconvdata/TESTS: Add entries for IBM932 and IBM943.
5714 * iconvdata/Makefile (modules): Add IBM932 and IBM943.
5715 * iconvdata/gconv-modules: Add entries for IBM932 and IBM943.
5716 * iconvdata/ibm932.c: New file.
5717 * iconvdata/ibm932.h: New file.
5718 * iconvdata/ibm943.c: New file.
5719 * iconvdata/ibm943.h: New file.
5720 Patches by Masahide Washizawa <washi@jp.ibm.com>.
5722 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Fix typo
5723 preventing optimization from being done. Set the correct type bit
5724 in seen. Don't define and use _dl_base_addr unless
5725 NEED_DL_BASE_ADDR is defined.
5727 * io/ftw.c (ftw_dir): Add slash after directory name if there
5728 wasn't any. Reported by loris <loris@iol.it>.
5729 * io/Makefile (tests): Add bug-ftw2.
5730 * io/bug-ftw2.c: New file.
5732 2001-01-19 Ulrich Drepper <drepper@redhat.com>
5734 * stdlib/jrand48_r.c (__jrand48_r): Correct constructing of
5735 results. Reported by Jeff Higham <jhigham@algorithmics.com>.
5736 * stdlib/tst-rand48.c: New file.
5737 * stdlib/Makefile (tests): Add tst-rand48.
5739 * locale/newlocale.c (__newlocale): Fix test for setting all
5742 2001-01-19 Mark Kettenis <kettenis@gnu.org>
5744 * sysdeps/mach/hurd/chroot.c (chroot): Revert 1999-02-27 changes,
5745 but change looking up the initial directory port in a similar way
5746 as done by _hurd_change_directory_port_from_name.
5747 * hurd/fchroot.c (fchroot): Likewise.
5749 2001-01-18 Ulrich Drepper <drepper@redhat.com>
5751 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): If HAVE_AUX_XID is
5752 defined don't look whether the AT_*ID values were set.
5753 If HAVE_AUX_PAGESIZE is defined don't look whether the pagesize is set.
5754 (_dl_show_auxv): Rewrite to avoid switch statement.
5755 * sysdeps/unix/sysv/linux/kernel-features.h: Define
5756 __ASSUME_AT_PAGESIZE for kernel >= 2.4.1.
5757 * sysdeps/unix/sysv/linux/ldsodefs.h: Define HAVE_AUX_XID.
5758 Define HAVE_AUX_PAGESIZE if __ASSUME_AT_PAGESIZE is defined.
5760 * sysdeps/unix/sysv/linux/fxstat64.c: Add one __builtin_expect.
5761 * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
5762 * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
5764 * elf/rtld.c (process_envvars): Call __strtoul_internal instead of
5766 * elf/dl-minimal.c (strtol, __strtol_internal, strtoul): Removed.
5767 (__sigjmp_save): Set __mask_was_saved to zero since we don't save
5769 * dlfcn/eval.c (__strtol_internal): Define here.
5770 (eval): Use __strtol_internal instead of strtol.
5772 * elf/elf.h: Add a few more EF_MIPS_* constants.
5774 2001-01-17 Ulrich Drepper <drepper@redhat.com>
5776 * manual/Makefile (chapters): Add debug.
5777 * manual/debug.texi: New file.
5778 * manual/examples/execinfo.c: New file.
5779 Patch by suckfish@ihug.co.nz.
5781 2001-01-17 Andreas Schwab <schwab@suse.de>
5783 * sysdeps/m68k/bits/byteswap.h (__bswap_32): Add cast to avoid
5786 2001-01-17 Andreas Jaeger <aj@suse.de>
5788 * nscd/connections.c (nscd_run): Use proper format specifier.
5790 2001-01-16 Ulrich Drepper <drepper@redhat.com>
5792 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Move x86_cap_flags and
5793 x86_platforms data into new file after prepending _dl_. Change
5795 * sysdeps/unix/sysv/linux/i386/dl-procinfo.c: New file.
5796 * sysdeps/unix/sysv/linux/i386/Dist: Add dl-procinfo.c.
5797 * sysdeps/unix/sysv/linux/i386/Makefile: Add rules to build
5800 * setjmp/setjmp.h: Cleanup definition of setjmp macro.
5802 * sysdeps/i386/elf/bsd-setjmp.S: Real implementation.
5803 * sysdeps/i386/elf/bsd-_setjmp.S: Removed.
5804 * sysdeps/i386/elf/setjmp.S (setjmp): Removed here.
5805 (_setjmp): Likewise.
5806 * sysdeps/i386/bsd-_setjmp.S: Real implementation.
5807 * sysdeps/i386/bsd-setjmp.S: Real implementation.
5808 * sysdeps/i386/bits/setjmp.h: Remove PUSH_SIGNAL_MASK definition.
5809 * sysdeps/i386/setjmp.S: Remove PIC support. This is the non-ELF
5812 2001-01-16 Andreas Jaeger <aj@suse.de>
5814 * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h (SIGCONTEXT): Fix
5815 misapplied last patch.
5817 2001-01-15 Ulrich Drepper <drepper@redhat.com>
5819 * stdlib/random.c (__initstate): Clean up a cast.
5820 (__setstate): Likewise.
5822 * sysdeps/unix/sysv/linux/mips/syscalls.list: Remove select
5823 syscall handling. The generic Linux version should work.
5825 2001-01-15 Andreas Jaeger <aj@suse.de>
5827 * sysdeps/unix/sysv/linux/sys/sendfile.h: Fix typo.
5829 * stdio-common/tstscanf.c (main): Add two testcases for '*' modifier.
5831 2001-01-14 Jakub Jelinek <jakub@redhat.com>
5833 * nss/getent.c (print_aliases, aliases_keys, ethers_keys,
5834 netgroup_keys, print_rpc, rpc_keys, print_shadow, shadow_keys):
5836 (group_keys, hosts_keys, network_keys, passwd_keys, protocols_keys):
5837 If number is 0, list all.
5838 (services_keys): Likewise. Lookup aliases as well.
5839 (databases): New table.
5840 (build_doc): Prepare argp doc text with list of supported databases.
5841 (main): Change to table driven processing.
5843 2001-01-14 Thorsten Kukuk <kukuk@suse.de>
5845 * sunrpc/xdr.c (xdr_long, xdr_u_long): Fix comments about these
5848 2001-01-03 Jakub Jelinek <jakub@redhat.com>
5850 * sunrpc/xdr.c (xdr_long, xdr_u_long): Return FALSE if trying to
5851 encode value which does not fit in the 32bit type.
5853 2001-01-15 Hiroyuki Machida <machida@sm.sony.co.jp>
5855 * sysdeps/unix/sysv/linux/mips/register-dump.h (REGISTER_DUMP):
5856 Change type of CTX to (struct sigcontext *).
5857 * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h (GET_PC): Likewise.
5858 (GET_FRAME): Likewise.
5859 (GET_STACK): Likewise.
5860 (SIGCONTEXT): Likewise. Add 2nd arg _code.
5861 (SIGCONTEXT_EXTRA_ARGS): Add 2nd arg _code.
5863 2001-01-13 Ulrich Drepper <drepper@redhat.com>
5865 * manual/texinfo.tex: Update from upstream version.
5867 2001-01-13 Jakub Jelinek <jakub@redhat.com>
5869 * inet/ether_ntoh.c (lookup_function): Change arguments to match
5870 _nss_*_getntohost_r prototype.
5871 (ether_ntohost): Pass errno pointer to NSS function.
5873 2001-01-12 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
5875 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MS_SYNC): Fix value.
5876 (MAP_LOCKED): New definition.
5877 (MAP_NORESERVE): New definition.
5879 2001-01-12 Ulrich Drepper <drepper@redhat.com>
5881 * assert/assert.h: Use static_cast instead of C-style cast for C++.
5882 Patch by Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>.
5884 2001-01-12 Ben Collins <bcollins@debian.org>
5886 * sysdeps/generic/segfault.c (install_handler): Use access, not
5889 2001-01-12 Andreas Jaeger <aj@suse.de>
5891 * posix/fnmatch_loop.c (FCT): Remove signed warnings.
5892 * posix/wordexp.c (do_parse_glob): Likewise.
5893 * sysdeps/posix/sigblock.c (__sigblock): Likewise.
5894 * sysdeps/posix/sigsetmask.c (__sigsetmask): Likewise.
5895 * elf/dl-open.c (_dl_open): Likewise.
5896 * elf/dl-close.c (_dl_close): Likewise.
5897 * elf/dl-load.c (_dl_map_object): Likewise.
5898 * iconv/iconv_prog.c (process_fd): Likewise.
5899 * stdio-common/vfscanf.c (_IO_vfscanf): Likewise.
5901 * locale/localeinfo.h (struct locale_data): Use __flexarr instead
5902 of a zero-length array.
5904 2001-01-11 Jakub Jelinek <jakub@redhat.com>
5906 * stdlib/cxa_atexit.c (__cxa_atexit): Cast to (void *, int) func.
5907 * stdlib/cxa_finalize.c (__cxa_finalize): Add hidden second argument.
5908 * stdlib/cxa_on_exit.c: Remove.
5909 * stdlib/Makefile: Revert last patch.
5910 * stdlib/Versions: Likewise.
5911 * include/stdlib.h: Likewise.
5912 * stdlib/exit.h: Revert last patch.
5913 (struct exit_function): Add second argument to cxa fn.
5914 * stdlib/exit.c: Revert last patch.
5915 (exit): Add hidden second argument.
5917 2001-01-11 H.J. Lu <hjl@gnu.org>
5919 * elf/dl-libc.c (do_dlopen): Move DL_STATIC_INIT to ...
5920 * elf/dl-open.c (_dl_open): Here.
5921 * sysdeps/unix/sysv/linux/ia64/dl-static.c (_dl_static_lock):
5923 (_dl_static_init): Initialize the variables every time when possible.
5924 * sysdeps/unix/sysv/linux/ia64/ldsodefs.h (DL_STATIC_INIT):
5927 2001-01-11 Ulrich Drepper <drepper@redhat.com>
5929 * stdlib/Makefile (routines): Add cxa_on_exit.
5930 * stdlib/Versions [libc] (GLIBC_2.2.1): Add __cxa_on_exit.
5931 * stdlib/cxa_on_exit.c: New file.
5932 * include/stdlib.h: Add prototype for __cxa_on_exit.
5933 * stdlib/exit.c: Handle ef_cxa2.
5934 * stdlib/exit.h (enum): Add ef_cxa2.
5935 (struct exit_function): Add cxa2.
5937 * Versions.def [ld]: Add GLIBC_2.2.1.
5939 2001-01-10 H.J. Lu <hjl@gnu.org>
5941 * elf/dl-libc.c (do_dlopen): Call DL_STATIC_INIT for static binaries.
5942 * sysdeps/unix/sysv/linux/ia64/Makefile (sysdep-dl-routines): Add
5944 * sysdeps/unix/sysv/linux/ia64/Versions (ld): Add _dl_var_init.
5945 * sysdeps/generic/ldsodefs.h (DL_STATIC_INIT): Defined if not defined.
5946 * sysdeps/unix/sysv/linux/ia64/ldsodefs.h: New file.
5947 * sysdeps/unix/sysv/linux/ia64/dl-static.c: New file.
5948 * sysdeps/unix/sysv/linux/ia64/Dist: Add dl-static.c.
5950 2001-01-11 Ulrich Drepper <drepper@redhat.com>
5952 * libio/stdio.h: Remove definition of off_t.
5954 2001-01-11 Andreas Jaeger <aj@suse.de>
5956 * wcsmbs/tst-mbrtowc.c (utf8_test): New function by Markus Kuhn
5959 2001-01-10 Ulrich Drepper <drepper@redhat.com>
5961 * sunrpc/Makefile (distribute): Add errqueue.h.
5963 2001-01-10 H.J. Lu <hjl@gnu.org>
5965 * sysdeps/ia64/dl-machine.h (TRAMPOLINE_TEMPLATE): Also preserve
5966 r9, r10 and r11 for language specific registers.
5968 2001-01-10 Jakub Jelinek <jakub@redhat.com>
5970 * sunrpc/clnt_udp.c (clntudp_bufcreate): Set IP_RECVERR on the
5972 (clntudp_call): Handle MSG_ERRQUEUE.
5973 * sysdeps/generic/errqueue.h: New file.
5974 * sysdeps/unix/sysv/linux/errqueue.h: New file.
5976 2001-01-10 H.J. Lu <hjl@gnu.org>
5978 * sysdeps/unix/sysv/linux/ia64/syscalls.list (s_getpagesize): Removed.
5980 2001-01-10 Joseph S. Myers <jsm28@cam.ac.uk>
5982 * CONFORMANCE: Update.
5984 2001-01-09 Ulrich Drepper <drepper@redhat.com>
5986 * sysdeps/generic/elf/backtracesyms.c (__backtrace_symbols):
5987 Minimal cleanups. Add assert to ensure memory handling is correct.
5989 * manual/conf.texi (File Minimums): Fix _POSIX_PATH_MAX value.
5990 Reported by Ben Collins <bcollins@debian.org>.
5992 * time/strftime.c (my_strftime): Mark previous GNU extensions
5993 which are now in C99 as such.
5995 2001-01-08 Ulrich Drepper <drepper@redhat.com>
5997 * elf/rtld.c (process_envvars): Place output files for profiling
5998 in SUID binaries in /var/profile.
6000 * elf/dl-load.c (_dl_map_object): Don't look in cache for
6001 preloading in SUID binaries.
6003 * elf/dl-profile.c (_dl_start_profile): Open the output file with
6004 O_NOFOLLOW if possible.
6006 * include/stdlib.h: Add __posix_openpt declaration.
6007 * stdlib/stdlib.h: Add posix_openpt declaration.
6008 * login/Versions: Add posix_openpt for GLIBC_2.2.1.
6009 * sysdeps/generic/getpt.c: Define posix_openpt.
6010 * sysdeps/unix/bsd/getpt.c: Likewise.
6011 * sysdeps/unix/sysv/linux/getpt.c: Likewise.
6013 * time/Makefile (tests): Add tst-mktime.
6014 * time/tst-mktime.c: New file.
6016 * posix/tst-dir.c (main): One more mkdir() test.
6018 * sysdeps/unix/sysv/linux/ia64/getpagesize.c (__getpagesize):
6019 Remove getpagesize syscall. We assume that the pagesize is always
6020 determined from the auxiliary vector.
6022 * intl/dcigettext.c: Fix a few warnings.
6023 Patch by Bruno Haible <haible@ilog.fr>.
6025 2001-01-08 Andreas Jaeger <aj@suse.de>
6027 * io/test-lfs.c (do_test): Check lseek64 return for EINVAL.
6028 Reported by Joseph S. Myers <jsm28@cam.ac.uk>.
6030 2001-01-08 Ulrich Drepper <drepper@redhat.com>
6032 * sysdeps/generic/segfault.c (install_handler): Check output file
6035 * resolv/res_query.c: Use simply getenv() for HOSTALIASES.
6036 * sysdeps/generic/unsecvars.h (UNSECURE_ENVVARS): Add HOSTALIASES.
6038 * sysdeps/generic/unsecvars.h (UNSECURE_ENVVARS): Add missing comma.
6040 * malloc/memusage.c (me): Use access() to determine whether we
6041 should write the output file or not.
6043 * libio/bits/stdio.h (printf): Define macro to map printf call to
6044 fprintf which gcc can optimize.
6045 * stdio-common/printf.c: Undefine printf.
6047 2001-01-07 Ulrich Drepper <drepper@redhat.com>
6049 * sysdeps/generic/bits/byteswap.h (__bswap_64): Partly revert last
6050 patch. We must use unsigned int for l member of union.
6052 * sysdeps/powerpc/elf/libc-start.c (__libc_start_main): Don't call
6053 _dl_aux_init for shared libraries.
6055 * sysdeps/unix/sysv/linux/glob64.c: Moved to ...
6056 * sysdeps/gnu/glob64.c: ...here. New file.
6058 2001-01-07 Ben Collins <bcollins@debian.org>
6060 * manual/examples/longopt.c: Make the "struct option" a little
6061 more like it should be, adding usage of required_argument,
6062 noargument and such, and also setting the options string right.
6064 * manual/sysinfo.texi (Load Average): New section, documents
6067 2001-01-06 Ulrich Drepper <drepper@redhat.com>
6069 * version.h (VERSION): Bump to 2.2.1.
6071 * sysdeps/unix/sysv/linux/mips/Dist: Remove sys/acct.h.
6072 * sysdeps/alpha/Dist: Add alphaev6/stxncpy.S and alphaev6/stxcpy.S.
6073 * sysdeps/unix/sysv/aix/Dist: Add uitrunc.c, savef.S, and restf.S.
6074 * dlfcn/Makefile (distribute): Add errmsg1mod.c.
6075 * Makefile (distribute): Add include/libc-internal.h.
6076 * libio/Makefile (distribute): Avoid overwriting.
6078 * iconvdata/ibm937.c (BODY to IBM937): Correct several mistakes in
6079 buffer and table handling.
6081 2001-01-05 H.J. Lu <hjl@gnu.org>
6083 * elf/dl-support.c (non_dynamic_init): Move the auxiliary
6084 vector checking to ...
6085 (_dl_aux_init): Here. New function. Defined only if
6086 HAVE_AUX_VECTOR is defined.
6088 * sysdeps/generic/libc-start.c (__libc_start_main): Call
6089 _dl_aux_init for static binaries if HAVE_AUX_VECTOR is defined.
6091 * sysdeps/powerpc/elf/libc-start.c (__libc_start_main): Call
6094 * sysdeps/unix/sysv/linux/ldsodefs.h (DL_FIND_AUXV): Removed.
6095 (HAVE_AUX_VECTOR): Defined.
6096 (_dl_aux_init): Declared.
6098 2001-01-05 Ben Collins <bcollins@debian.org>
6100 * manual/string.texi (Finding Tokens in a String): Document XPG
6101 basename() and dirname(), as well as GNU basename().
6103 2001-01-05 Jakub Jelinek <jakub@redhat.com>
6105 * Makeconfig (preprocess-version): Replace -traditional with
6106 -x assembler-with-cpp.
6108 2001-01-05 Joseph S. Myers <jsm28@cam.ac.uk>
6110 * math/bits/cmathcalls.h: Don't define inline cimag, creal or conj
6111 for GCC 2.97 or later.
6113 2001-01-05 Ben Collins <bcollins@debian.org>
6115 * manual/stdio.texi (getline): Clarify the return value in the
6116 case of EOF being reached before a newline.
6118 2001-01-04 Jakub Jelinek <jakub@redhat.com>
6120 * sunrpc/pmap_clnt.c (__get_myaddress): Return TRUE if successful,
6122 (pmap_set, pmap_unset): Check __get_myaddress return value.
6124 2001-01-05 Mark Kettenis <kettenis@gnu.org>
6126 * sysdeps/generic/netinet/if_ether.h: Include <sys/types.h>.
6127 (struct ether_addr): Declare ether_addr_octet member as
6128 `u_int8_t'. Add __attribute__ ((__packed__)).
6130 2001-01-06 Mark Kettenis <kettenis@gnu.org>
6132 * sysdeps/mach/hurd/readdir64.c: New file.
6133 * sysdeps/mach/hurd/readdir64_r.c: New file.
6135 2001-01-07 Mark Kettenis <kettenis@gnu.org>
6137 * sysdeps/mach/hurd/fstatvfs.c (fstatvfs): Add comment about
6138 `struct statfs' and `struct statvfs' being identical.
6139 * sysdeps/mach/hurd/statvfs.c (statvfs): Likewise.
6141 2001-01-06 Mark Kettenis <kettenis@gnu.org>
6143 * sysdeps/mach/hurd/fstatfs64.c: New file.
6144 * sysdeps/mach/hurd/fstatvfs64.c: New file.
6145 * sysdeps/mach/hurd/statfs64.c: New file.
6146 * sysdeps/mach/hurd/statvfs64.c: New file.
6147 * sysdeps/mach/hurd/statfsconv.c: New file.
6148 * sysdeps/mach/hurd/Dist: Add statfsconv.c.
6150 2001-01-06 Ulrich Drepper <drepper@redhat.com>
6152 * iconv/skeleton.c: Reset outbuf for next round of the loop.
6153 Reported by Owen Taylor <otaylor@redhat.com>.
6154 * iconv/Makefile (tests): Add tst-iconv3.
6155 * iconv/tst-iconv3.c: New file.
6157 * iconvdata/ibm930.c: Fix handling of state. Optimize a bit.
6158 * iconvdata/ibm933.c: Likewise.
6159 * iconvdata/ibm935.c: Likewise.
6160 * iconvdata/ibm937.c: Likewise.
6161 * iconvdata/ibm939.c: Likewise.
6162 * iconvdata/ibm930.h: Adjust single byte table for optimization.
6163 * iconvdata/ibm933.h: Likewise.
6164 * iconvdata/ibm935.h: Likewise.
6165 * iconvdata/ibm939.h: Likewise.
6167 * iconvdata/testdata/IBM930: Add misssing SI.
6168 * iconvdata/testdata/IBM933: Likewise.
6169 * iconvdata/testdata/IBM935: Likewise.
6170 * iconvdata/testdata/IBM937: Likewise.
6171 * iconvdata/testdata/IBM939: Likewise.
6173 2001-01-06 Andreas Jaeger <aj@suse.de>
6175 * configure.in: Check for old add-ons that shouldn't be used with
6176 current glibc anymore.
6178 2001-01-06 Mark Kettenis <kettenis@gnu.org>
6180 * sysdeps/mach/hurd/readdir_r.c (__readdir_r): Return error number
6181 instead of -1 on failure. Don't forget to copy file name into
6182 *ENTRY if successful. Set *RESULT to NULL upon reaching the end
6185 2001-01-06 Mark Kettenis <kettenis@gnu.org>
6187 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Don't forget to
6188 copy st_atime member.
6190 2001-01-05 Ulrich Drepper <drepper@redhat.com>
6192 * io/ftw.c (ftw_dir): Don't add a second slash at the beginning
6193 for searches from the root directory.
6194 Reported by loris <loris@iol.it> [PR libc/1991].
6195 * io/Makefile (tests): Add bug-ftw1.
6196 * io/bug-ftw1.c: New file.
6198 * elf/dl-support.c (non_dynamic_init): Don't define DL_FIND_AUXV
6199 if it is not available. Instead use it only if it is available.
6200 * sysdeps/unix/sysv/linux/ldsodefs.h: New file.
6202 * iconv/gconv_simple.c (internal_ics4_loop): Correct test for
6203 overflowing output buffer.
6204 (internal_ucs4_loop_unaligned): Likewise.
6205 (ucs4_internal_loop): Likewise.
6206 (ucs4_internal_loop_unaligned): Likewise.
6207 (internal_ucs4le_loop): Likewise.
6208 (internal_ucs4le_loop_unaligned): Likewise.
6209 (ucs4le_internal_loop): Likewise.
6210 (ucs4le_internal_loop_unaligned): Likewise.
6211 Reported by Owen Taylor <otaylor@redhat.com>.
6212 * iconv/Makefile (tests): Add tst-iconv2.
6213 * iconv/tst-iconv2.c: New file.
6215 2001-01-04 H.J. Lu <hjl@gnu.org>
6217 * elf/dl-support.c (DL_FIND_AUXV): New. Defined if not defined.
6218 (_dl_clktck): Declared.
6219 (non_dynamic_init): Take 3 arguments.
6220 Set _dl_pagesize, _dl_platform and _dl_clktck from AUX.
6222 2001-01-01 Bruno Haible <haible@clisp.cons.org>
6224 Finish implementation of plural form handling.
6225 * intl/dcigettext.c (known_translation_t): Rename 'domain' field to
6226 'domainname'. Remove 'plindex' field. Add 'domain' and
6227 'translation_length' fields.
6228 (transcmp): Don't compare 'plindex' fields.
6229 (plural_lookup): New function.
6230 (DCIGETTEXT): Change cache handing in the plural case. Don't call
6231 plural_eval before the translation and its catalog file have been
6232 found. Remove plindex from cache key. Add 'translation_length' and
6233 'domain' to cache result.
6234 (_nl_find_msg): Remove index argument, return length of translation
6235 to the caller instead. Weaken comparison of string lengths, to account
6236 for plural entries. Call iconv() on the entire result string, not
6237 only on the portion needed so far.
6238 * intl/loadinfo.h (_nl_find_msg): Remove index argument, add lengthp
6240 * intl/loadmsgcat.c (_nl_load_domain): Adapt to _nl_find_msg change.
6242 2001-01-04 Ulrich Drepper <drepper@redhat.com>
6244 * intl/plural.y (yylex): Minimal improvement in number scanner.
6246 2000-07-31 Bruno Haible <haible@clisp.cons.org>
6248 * intl/plural.y: Include config.h. Needed to define 'inline' away for
6249 C compilers that don't support it.
6250 (yylex): Don't use gcc specific case range syntax.
6251 * intl/loadmsgcat.c (INIT_GERMANIC_PLURAL): New macro, for old
6254 2000-10-12 Bruno Haible <haible@clisp.cons.org>
6256 * intl/finddomain.c: Remove unneeded includes.
6258 2000-10-12 Bruno Haible <haible@clisp.cons.org>
6260 * intl/localealias.c (memcpy): Return first argument, just like the
6261 real memcpy function does.
6262 * intl/bindtextdom.c (memcpy): Likewise.
6263 * intl/finddomain.c (memcpy): Likewise.
6264 * intl/l10nflist.c (memcpy): Likewise.
6265 * intl/textdomain.c (memcpy): Likewise.
6266 From Paul Eggert <eggert@twinsun.com>.
6268 2001-01-03 Jakub Jelinek <jakub@redhat.com>
6270 * resolv/resolv.h (struct __res_state): Add nsinit field.
6271 * resolv/res_send.c (res_nsend): Use it instead of nscount.
6272 * resolv/res_init.c (__res_vinit): Initialize it.
6273 (res_nclose): Clear it instead of nscount.
6275 2001-01-04 Ulrich Drepper <drepper@redhat.com>
6277 * malloc/mtrace.pl: Fix matching of addresses.
6278 Patch by Aharon Robbins <arnold@skeeve.com>.
6280 * Versions.def (ld): Add GLIBC_2.2.
6282 * catgets/gencat.c: Copyright 2001.
6283 * csu/version.c: Likewise.
6284 * debug/catchsegv.sh: Likewise.
6285 * debug/xtrace.sh: Likewise.
6286 * elf/ldconfig.c: Likewise.
6287 * elf/sprof.c: Likewise.
6288 * iconv/iconv_prog.c: Likewise.
6289 * locale/locale.c: Likewise.
6290 * locale/localedef.c: Likewise.
6291 * malloc/memusage.sh: Likewise.
6292 * malloc/mtrace.pl: Likewise.
6293 * nscd/nscd.c: Likewise.
6294 * posix/getconf.c: Likewise.
6296 2001-01-04 Mark Kettenis <kettenis@gnu.org>
6298 * include/stdio.h: Only provide __getwc_unlocked prototype if
6299 USE_IN_LIBIO is defined.
6301 2001-01-04 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6303 * sysdeps/unix/sysv/linux/sh/socket.S (__socket): Fix error code
6306 2001-01-03 Andreas Schwab <schwab@suse.de>
6308 * sysdeps/generic/strtoll.c: Remove unused __strtoq_internal alias.
6309 * sysdeps/generic/strtoull.c: Remove unused __strtouq_internal alias.
6311 * sysdeps/wordsize-64/strtol.c: Add strtoq alias and fix strtoll alias.
6312 * sysdeps/wordsize-64/strtoul.c: Add strtouq alias and fix
6314 * sysdeps/wordsize-64/wcstol.c: Add wcstoq alias and fix wcstoll alias.
6315 * sysdeps/wordsize-64/wcstoul.c: Add wcstouq alias and fix
6318 * sysdeps/generic/strtoul.c: Make sure we find strtol.c in this
6320 * sysdeps/generic/strtol_l.c: Likewise.
6321 * sysdeps/generic/strtoul_l.c: Likewise.
6322 * sysdeps/generic/wcstoul.c: Likewise, for wcstol.c.
6324 * sysdeps/wordsize-64/strtol_l.c: Fix alias.
6325 * sysdeps/wordsize-64/strtoul_l.c: Likewise.
6326 * sysdeps/wordsize-64/wcstol_l.c: Fix alias.
6327 * sysdeps/wordsize-64/wcstoul_l.c: Likewise.
6329 2001-01-04 Andreas Jaeger <aj@suse.de>
6331 * nss/nsswitch.c: Include files for missing prototypes, remove
6332 buggy declaration of prototypes.
6334 2001-01-03 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
6336 * resolv/Versions: Fix bracing.
6337 * sysdeps/powerpc/soft-fp/Versions: Likewise.
6338 * sysdeps/sparc/sparc64/soft-fp/Versions: Likewise.
6340 2001-01-02 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
6342 * sysdeps/powerpc/dl-machine.c (__process_machine_rela): Fix typo.
6344 2001-01-02 Ulrich Drepper <drepper@redhat.com>
6346 * manual/Makefile (TEXI2PDF): Change to texi2dvi --pdf.
6347 Suggested by Minko Markov <mmarkov@home.com>.
6349 2001-01-02 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
6351 * sysdeps/powerpc/elf/start.S (__data_start): Make it global.
6352 * sysdeps/powerpc/dl-machine.c (dl_reloc_overflow): Print the name of
6354 (__process_machine_rela): Pass symbol to dl_reloc_overflow().
6356 2001-01-02 Ben Collins <bcollins@debian.org>
6358 * time/tzset.c (tzset_internal): Make sure we fall back to UTC
6359 if TZ is not set and TZDEFAULT is not present.
6361 2001-01-01 Ben Collins <bcollins@debian.org>
6363 * string/strings.h: Make sure we declare our functions even if
6364 string.h is already included, based on whether or not __USE_BSD is
6367 2001-01-02 Ulrich Drepper <drepper@redhat.com>
6369 * dlfcn/dlerror.c (dlerror): Handle call of dlerror() before any
6370 other dlopen() and dlsym().
6371 Based on a patch by Ben Collins <bcollins@debian.org>.
6373 2001-01-02 Andreas Jaeger <aj@suse.de>
6375 * dlfcn/errmsg1.c (main): Call dlerror initially.
6376 Reported by Ben Collins <bcollins@debian.org>.
6378 2001-01-02 Ulrich Drepper <drepper@redhat.com>
6380 * intl/dcigettext.c (guess_category_value): Rewrite so that LANGUAGE
6381 value is ignored if the selected locale is the C locale.
6382 * intl/tst-gettext.c: Set locale for above change.
6383 * intl/tst-translit.c: Likewise.
6385 2001-01-02 Andreas Jaeger <aj@suse.de>
6387 * libio/wgenops.c (_IO_wdoallocbuf): Use correct wide access macro.
6388 (_IO_switch_to_wget_mode): Likewise.
6389 (_IO_sputbackwc): Likewise.
6390 (_IO_sungetwc): Use wint_t for result.
6392 * stdio-common/vfscanf.c (__vfscanf): Use WINT_T for done.
6394 * sysdeps/generic/strtol.c (strtol): Make cnt size_t for correct
6397 * sysdeps/generic/printf_fphex.c (putc): Cast _IO_putwc_unlocked
6398 to (int) to avoid warnings.
6399 * stdio-common/printf_fp.c (putc): Likewise.
6400 * stdio-common/printf_size.c (putc): Likewise.
6402 * sysdeps/generic/dl-sysdep.c (_dl_important_hwcaps): Make
6405 2001-01-01 Andreas Jaeger <aj@suse.de>
6407 * inet/rcmd.c (rcmd_af): Use socklen_t for len.
6409 2000-12-31 Andreas Jaeger <aj@suse.de>
6411 * include/libc-internal.h: Add prototype for __libc_freeres.
6413 * sysdeps/unix/sysv/linux/init-first.c: Include <libc-internals.h>
6414 for prototypes, remove redundant prototypes.
6415 * gmon/gmon.c: Likewise.
6416 * sysdeps/unix/i386/i586/clock_getres.c: Likewise.
6417 * sysdeps/unix/i386/i586/clock_gettime.c: Likewise.
6418 * malloc/mtrace.c: Likewise.
6420 * sysdeps/generic/enbl-secure.c: Include <libc-internals.h> for
6422 * elf/soinit.c: Likewise.
6423 * sysdeps/generic/prof-freq.c: Likewise.
6424 * sysdeps/mach/hurd/profil.c: Likewise.
6425 * debug/noophooks.c: Likewise.
6426 * debug/pcprofile.c: Likewise.
6427 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Likewise.
6428 * sysdeps/generic/get_clockfreq.c: Likewise.
6429 * malloc/set-freeres.c: Likewise.
6431 * locale/localeinfo.h: Add internal prototypes.
6433 * elf/rtld.c (dl_main): Fix prototype.
6435 * iconvdata/tst-table-to.c (main): Use return instead of exit to
6438 * nis/rpcsvc/yp_prot.h: Remove __P.
6439 * nis/rpcsvc/ypupd.h: Likewise.
6440 * nis/rpcsvc/yp.h: Likewise.
6442 * sunrpc/rpc_main.c: Add noreturn attributes.
6443 * sunrpc/rpc_scan.h: Likewise.
6445 * sunrpc/rpc_hout.c (storexdrfuncdecl): Make static.
6447 * sunrpc/rpcinfo.c: Add noreturn attribute to brdcst.
6449 * sunrpc/proto.h: Add noreturn attributes to error and crash.
6451 * posix/bsd-getpgrp.c: Add prototype to avoid warning.
6453 * sunrpc/svc_unix.c: Include <rpc/svc.h> for prototypes.
6455 * sunrpc/create_xid.c: Include <rpc/svc.h> for prototypes.
6457 * include/rpc/rpc_msg.h: Add prototypes for some functions.
6458 * include/rpc/auth.h: Likewise.
6459 * include/rpc/auth_des.h: Likewise.
6460 * include/rpc/clnt.h: Likewise.
6461 * include/rpc/rpc.h: Likewise.
6462 * include/rpc/svc.h: Likewise.
6463 * include/rpc/svc_auth.h: Likewise.
6465 * include/rpc/des_crypt.h: New file.
6467 * malloc/memusagestat.c (main): Use return instead of exit to
6469 * io/pwd.c (main): Likewise.
6470 * iconvdata/tst-table-from.c (main): Likewise.
6471 * ctype/test_ctype.c (main): Likewise.
6472 * setjmp/tst-setjmp.c (main): Likewise.
6473 * signal/tst-signal.c (main): Likewise.
6474 * stdlib/tst-strtol.c (main): Likewise.
6475 * stdlib/tst-strtod.c (main): Likewise.
6476 * stdlib/tst-strtoll.c (main): Likewise.
6477 * stdlib/tst-xpg-basename.c (main): Likewise.
6478 * dirent/tst-seekdir.c (main): Likewise.
6479 * grp/testgrp.c (main): Likewise.
6480 * inet/test_ifindex.c (main): Likewise.
6481 * io/test-utime.c (main): Likewise.
6482 * posix/test-vfork.c (main): Likewise.
6483 * posix/testfnm.c (main): Likewise.
6484 * stdio-common/temptest.c (main): Likewise.
6485 * stdio-common/test_rdwr.c (main): Likewise.
6486 * stdio-common/tst-fileno.c (main): Likewise.
6487 * stdio-common/tst-sscanf.c (main): Likewise.
6488 * stdio-common/tstscanf.c (main): Likewise.
6489 * string/bug-strncat1.c (main): Likewise.
6490 * string/bug-strpbrk1.c (main): Likewise.
6491 * string/bug-strspn1.c (main): Likewise.
6492 * string/test-ffs.c (main): Likewise.
6493 * string/tst-inlcall.c (main): Likewise.
6494 * string/tst-svc.c (main): Likewise.
6495 * timezone/test-tz.c (main): Likewise.
6496 * wctype/test_wcfuncs.c (main): Likewise.
6497 * wctype/test_wctype.c (main): Likewise.
6499 * stdlib/tst-random.c: Add attribute noreturn to fail.
6501 2000-12-28 Wolfram Gloger <wg@malloc.de>
6503 * malloc/malloc.c (MALLOC_COPY): Handle case if source and
6504 destination overlap. Assume dest is always below source if
6507 2000-12-30 Ulrich Drepper <drepper@redhat.com>
6509 * elf/dl-close.c (_dl_close): We can ignore the NODELETE flag if the
6510 object was not yet initialized.
6512 2000-12-28 H.J. Lu <hjl@gnu.org>
6514 * elf/dl-deps.c (_dl_map_object_deps): Make sure the DSO state
6515 is always consistent even if its dependency is failed.
6517 * elf/dl-open.c (_dl_open): Increment the open count before
6518 calling _dl_close () in case of failure.
6520 * elf/neededtest4.c: New file.
6521 * elf/neededobj5.c: New file.
6522 * elf/neededobj6.c: New file.
6524 * elf/Makefile (distribute): Add neededobj5.c and neededobj6.c.
6525 (tests): Add neededtest4.
6526 (modules-names): Add neededobj5 and neededobj6.
6527 ($(objpfx)neededobj6.so): New target.
6528 ($(objpfx)neededtest4): New target.
6529 ($(objpfx)neededtest4.out): New target.
6531 2000-12-28 Joseph S. Myers <jsm28@cam.ac.uk>
6533 * misc/sys/cdefs.h (__attribute_format_strfmon__): Define.
6534 * stdlib/monetary.h: Add strfmon format attributes.
6536 2000-12-28 Roland McGrath <roland@frob.com>
6538 * sysdeps/mach/hurd/ioctl.c (do_ioctl): Avoid double-increment after
6539 __mempcpy does it for us.
6541 2000-12-28 Andreas Jaeger <aj@suse.de>
6543 * sysdeps/generic/dl-environ.c: Add prototype for unsetenv.
6545 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Add prototype for
6548 * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Add prototype for
6551 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Add prototype for
6554 * sysdeps/unix/sysv/linux/i386/chown.c: Add prototypes for
6555 __chown_is_lchown and __real_chown.
6557 * sysdeps/generic/ldsodefs.h: Add noreturn attribute to
6560 * sunrpc/rpc_hout.c (print_funcdef): Add break statement to shut
6561 up GCC's warning about "deprecated use of label at end of compound
6563 * sunrpc/rpc_cout.c (emit_inline): Likewise.
6565 * gmon/bb_exit_func.c: Include <sys/gmon.h> for internal
6567 Remove struct bb and __bb_head since those are declared by
6570 2000-12-22 Ben Collins <bcollins@debian.org>
6572 * manual/charset.texi: Fix typo in description of WCHAR_MAX.
6574 * manual/argp.texi: Document argp_domain as part of struct argp.
6576 2000-12-28 Andreas Jaeger <aj@suse.de>
6578 * catgets/Makefile (generated): Add sample.SJIS.cat.
6580 * sunrpc/rpc_dtable.c: Include rpc/clnt.h for prototypes.
6582 * elf/dl-minimal.c: Add prototypes.
6584 * include/locale.h: Add internal prototypes.
6585 * include/sys/gmon.h: Likewise.
6587 * dlfcn/errmsg1mod.c: Add prototype for foo to shut up GCC.
6589 2000-12-27 Ben Collins <bcollins@debian.org>
6591 * elf/dl-open.c (_dl_open): Correctly set the new objname pointer
6592 when reallocating the error strings.
6593 Reported by Kalle Olavi Niemitalo <kon@iki.fi>
6595 2000-12-27 Ulrich Drepper <drepper@redhat.com>
6597 * dlfcn/Makefile (tests): Add errmsg1.
6598 (modules-names): Add errmsg1mod.
6599 Add rules to run errmsg1.
6600 * dlfcn/errmsg1.c: New file.
6601 * dlfcn/errmsg1mod.c: New file.
6603 * dlfcn/dlerror.c (dlerror): Always create output string which
6604 includes object file name.
6606 * sysdeps/alpha/alphaev6/memcpy.S: Don't go through unrolled loop
6607 if we would go through it only once.
6608 Patch by Rick Gorton <rick.gorton@api-networks.com>.
6610 * sysdeps/alpha/alphaev67/strncat.S: Fix handling of numeric parameter.
6611 Patch by Richard Henderson <rth@redhat.com>.
6613 2000-12-27 Jakub Jelinek <jakub@redhat.com>
6615 * malloc/malloc.c (memmove): Add prototypes.
6616 (MALLOC_MEMMOVE): Define.
6617 (chunk_realloc): Use it instead of MALLOC_COPY if source and
6618 destination might overlap.
6620 2000-12-27 Andreas Jaeger <aj@suse.de>
6622 * stdio-common/printf_fp.c (__printf_fp): Add prototype for nested
6624 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
6625 * locale/programs/locale.c (show_locale_vars): Likewise.
6626 (show_info): Likewise.
6627 * locale/programs/ld-collate.c (collate_output): Likewise.
6628 * locale/programs/ld-ctype.c (set_class_defaults): Likewise.
6629 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
6630 * stdlib/rpmatch.c (rpmatch): Likewise.
6632 * setjmp/tst-setjmp.c: Make local functions static.
6633 * setjmp/jmpbug.c: Likewise.
6634 * signal/tst-signal.c: Likewise.
6635 * stdio-common/tfformat.c: Likewise.
6636 * string/tst-svc.c: Likewise.
6637 * time/clocktest.c: Likewise.
6638 * time/tst-getdate.c: Likewise.
6639 * dirent/list.c: Likewise.
6640 * dirent/opendir-tst1.c: Likewise.
6641 * posix/runtests.c: Likewise.
6642 * posix/tst-getaddrinfo.c: Likewise.
6643 * posix/tst-chmod.c: Likewise.
6644 * posix/wordexp-test.c: Likewise.
6645 * misc/tst-efgcvt.c: Likewise.
6646 * timezone/tst-timezone.c: Likewise.
6647 * rt/tst-clock.c: Likewise.
6648 * rt/tst-shm.c: Likewise.
6649 * rt/tst-aio2.c: Likewise.
6650 * rt/tst-aio3.c: Likewise.
6651 * rt/tst-aio4.c: Likewise.
6652 * rt/tst-aio5.c: Likewise.
6654 * dlfcn/failtest.c: Add prototype for foo.
6656 * dlfcn/glrefmain.c: Add prototype for do_test.
6658 * dlfcn/tst-dladdr.c: Add prototype for do_test.
6660 * string/test-ffs.c (main): Add prototype for nested function.
6662 * sunrpc/des_soft.c: Include rpc/des_crypt.h for prototype.
6664 * nss/XXX-lookup.c: Add prototype to shut up GCC.
6666 * include/netinet/ether.h (DECLARE_NSS_PROTOTYPES): Fix
6667 setetherent prototype.
6668 Add internal interfaces.
6670 * nis/nss_nis/nis-ethers.c (_nss_nis_setetherent): Likewise.
6671 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent): Likewise.
6673 * resolv/res_data.c: Don't add (conflicting) prototypes for _LIBC.
6675 * nis/nis_intern.h: Add prototype for __pmap_getnisport.
6677 * nss/nss_files/files-ethers.c: Include netinet/ether.h to get
6678 prototypes, remove struct etherent since it's declared in ether.h.
6679 Fix ntohost declaration.
6681 * elf/dl-profile.c (_dl_mcount): Add empty statement to shut up GCC.
6683 * include/getopt.h: Add internal interfaces.
6684 * include/termios.h: Likewise.
6685 * include/resolv.h: Likewise.
6686 * include/netdb.h: Likewise.
6687 * include/grp.h: Likewise.
6688 * include/pwd.h: Likewise.
6689 * include/shadow.h: Likewise.
6690 * include/rpc/netdb.h: Likewise.
6691 * include/setjmp.h: Likewise.
6693 * include/stdio.h: Add prototypes for compatibility functions.
6694 * include/grp.h: Likewise.
6695 * include/pwd.h: Likewise.
6696 * include/shadow.h: Likewise.
6698 * include/fenv.h: Define internal interfaces.
6700 2000-12-27 Ulrich Drepper <drepper@redhat.com>
6702 * sysdeps/generic/bits/byteswap.h (__bswap_64): Handle constant
6703 argument case separately.
6704 * sysdeps/i386/bits/byteswap.h (__bswap_64): Likewise.
6706 2000-12-27 Andreas Jaeger <aj@suse.de>
6708 * include/sys/wait.h: Add some prototypes.
6709 * Rules (dummy.c): Create also prototype to shut up GCC.
6711 2000-12-27 Andreas Jaeger <aj@suse.de>
6713 * sysdeps/mach/hurd/if_index.c (__protocol_available): Uncomment,
6714 it's not needed at the moment.
6715 * sysdeps/generic/if_index.c (__protocol_available): Likewise.
6716 * sysdeps/unix/sysv/linux/if_index.c (__protocol_available): Likewise.
6718 2000-12-26 Andreas Jaeger <aj@suse.de>
6720 * libio/getc_u.c: Include stdio.h via system path to get internal
6722 * libio/getwc_u.c: Likewise.
6724 * stdlib/strfmon.c: Fix prototype of __printf_fp.
6726 * stdio-common/vfprintf.c (process_arg): Move __printf_fphex and
6727 __printf_fp prototypes to ...
6728 * include/printf.h: ...here.
6730 * include/stdio.h: Add some internal prototypes to shut up GCC.
6731 * include/stdlib.h: Likewise.
6733 * sysdeps/posix/sigpause.c (__sigpause): Use ISO C prototype
6736 * include/signal.h: Add prototypes for internal sigpause
6739 2000-12-26 Ulrich Drepper <drepper@redhat.com>
6741 * sysdeps/generic/bits/byteswap.h (__bswap_64): Make it usable for
6742 64bit platforms. Reported by Dave Gilbert <gilbertd@treblig.org>.
6744 * string/Makefile (tests): Add tst-bswap.
6745 * string/tst-bswap.c: New file.
6747 2000-12-11 Bruno Haible <haible@clisp.cons.org>
6749 * Makefile ($(inst_includedir)/gnu/stubs.h): Sort in the C locale.
6751 2000-12-26 Ulrich Drepper <drepper@redhat.com>
6753 * sunrpc/Makefile (rpcgen-cmd): Use single quotes in sed call.
6754 Patch by Ed Connell <Ed.Connell@sas.com>.
6756 2000-12-24 Ulrich Drepper <drepper@redhat.com>
6758 * locale/iso-639.def: Correct one entry. Add two missing entries.
6760 * locale/iso-4217.def: Change entry for Eritrea.
6761 Reported by Daniel Yacob <yacob@geez.org>.
6763 2000-12-23 Ben Collins <bcollins@debian.org>
6765 * manual/charset.texi (Extended Char Intro): Fix typo in ISO 6937
6768 * manual/stdio.texi (Dynamic Output): Document the return value of
6769 asprintf. Also make the asprintf/snprintf examples a little
6770 better (check for some error returns).
6772 2000-12-22 Andreas Jaeger <aj@suse.de>
6774 * include/stdio.h: Add __ftrylockfile prototype.
6776 2000-12-21 H.J. Lu <hjl@gnu.org>
6778 * sysdeps/ia64/fpu/math_ldbl.h (ieee_long_double_shape_type):
6779 Make sign_exponent element signed.
6781 * sysdeps/ieee754/ldbl-96/math_ldbl.h (ieee_long_double_shape_type):
6784 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Remove dead branch.
6786 2000-12-21 Andreas Jaeger <aj@suse.de>
6788 * nis/nss_nisplus/nisplus-ethers.c (struct etherent): Removed.
6789 * inet/ether_hton.c: Likewise
6790 * inet/ether_ntoh.c: Likewise.
6792 * nis/nss_nis/nis-ethers.c (_nss_nis_getntohost_r): Fix
6793 declaration to match prototype.
6795 * include/netinet/ether.h (struct etherent): Declare here so that
6796 all implementations use the same struct.
6798 * nis/nss_nis/nis-ethers.c: Include netinet/ether.h to get
6800 (struct ether): Removed.
6801 Use struct etherent instead of ether everywhere.
6803 * include/rpc/auth.h (DECLARE_NSS_PROTOTYPES): New.
6805 * include/rpc/auth_des.h (DECLARE_NSS_PROTOTYPES): New.
6807 * sunrpc/publickey.c: Include auth_des.h for prototypes.
6809 2000-12-20 Ulrich Drepper <drepper@redhat.com>
6811 * math/test-misc.c: Add more tests for nextafter functions.
6813 * sysdeps/i386/fpu/s_nextafterl.c: Handle change from denormal to
6814 normal correctly. Correct test for sign.
6815 Based on a patch by HJ Lu.
6817 2000-12-19 Ulrich Drepper <drepper@redhat.com>
6819 * Makeconfig (preprocess-version): Add -traditional to gcc call.
6822 2000-12-19 Andreas Jaeger <aj@suse.de>
6824 * include/netinet/ether.h (DECLARE_NSS_PROTOTYPES): New.
6826 * nis/nis_intern.h: Add prototype for __do_niscall3.
6828 * nis/nss_nis/nis-rpc.c (_nss_nis_setrpcent): Fix declaration to
6831 * include/netdb.h (DECLARE_NSS_PROTOTYPES): Reformat.
6833 * include/rpc/netdb.h (DECLARE_NSS_PROTOTYPES): New.
6835 * include/aliases.h (DECLARE_NSS_PROTOTYPES): New.
6837 2000-12-18 Ulrich Drepper <drepper@redhat.com>
6839 * math/test-misc.c: Add more tests for nextafter.
6840 * sysdeps/i386/fpu/s_nextafterl.c: Handle decrement for x<0 correctly.
6841 * sysdeps/ieee754/ldbl-96/math_ldbl.h
6842 (ieee_long_double_shape_type): Make sign_exponent element signed.
6844 * manual/message.texi: Add Estonian to plural overview list.
6845 Correct rule for Slavic languages.
6846 Patch by Stanislav Brabec <utx@penguin.cz>.
6848 * nis/nss_nis/nis-netgrp.c: Remove unnecessary initializations.
6850 2000-12-18 Andreas Jaeger <aj@suse.de>
6852 * test-skeleton.c: Use temp_name_list instead of name_list to
6853 avoid collision with name_list from inet/netgroup.h.
6855 * nss/nss_files/files-network.c (NEED_H_ERRNO): Define.
6857 * include/grp.h (DECLARE_NSS_PROTOTYPES): New.
6858 * include/pwd.h (DECLARE_NSS_PROTOTYPES): New.
6859 * include/netdb.h (DECLARE_NSS_PROTOTYPES): New.
6860 * include/shadow.h (DECLARE_NSS_PROTOTYPES): New.
6862 * hesiod/nss_hesiod/hesiod-proto.c (_nss_hesiod_setprotoent): Fix
6863 declaration to match prototype.
6864 * hesiod/nss_hesiod/hesiod-pwd.c (_nss_hesiod_setpwent): Likewise.
6865 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_setgrent): Likewise.
6866 * hesiod/nss_hesiod/hesiod-service.c (_nss_hesiod_setservent):
6868 * nis/nss_nis/nis-grp.c (_nss_nis_setgrent): Likewise.
6869 * nis/nss_nis/nis-pwd.c (_nss_nis_setpwent): Likewise.
6870 * nis/nss_nis/nis-proto.c (_nss_nis_setprotoent): Likewise.
6871 * nis/nss_nis/nis-service.c (_nss_nis_setservent): Likewise.
6872 (_nss_nis_getservbyport_r): Likewise.
6873 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent): Likewise.
6874 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent): Likewise.
6875 * nis/nss_nis/nis-network.c (_nss_nis_getnetent_r): Likewise.
6876 (_nss_nis_setnetent): Likewise
6877 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
6878 (_nss_nis_endnetgrent): Likewise.
6879 * nis/nss_nisplus/nisplus-netgrp.c (_nss_nisplus_endnetgrent):
6881 (_nss_nisplus_setnetgrent): Likewise.
6882 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Likewise.
6883 * nis/nss_nisplus/nisplus-pwd.c (_nss_nisplus_setpwent): Likewise.
6884 * nis/nss_nisplus/nisplus-grp.c (_nss_nisplus_setgrent): Likewise.
6885 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_setnetent):
6887 * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_sethostent):
6889 * nis/nss_nisplus/nisplus-service.c (_nss_nisplus_setservent):
6891 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_setprotoent):
6893 * nis/nss_compat/compat-spwd.c (_nss_compat_setspent): Likewise.
6894 * nis/nss_compat/compat-pwd.c (_nss_compat_setpwent): Likewise.
6895 * nis/nss_compat/compat-grp.c (_nss_compat_setgrent): Likewise.
6896 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Likewise.
6897 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Likewise.
6898 (_nss_dns_getnetbyaddr_r): Likewise.
6900 2000-12-17 Andreas Jaeger <aj@suse.de>
6902 * sysdeps/generic/k_sinl.c (__kernel_sinl): Fix functions
6905 * sysdeps/unix/sysv/linux/shm_open.c (freeit): Make static and add
6906 unused attribute to shut up gcc warnings.
6908 * sysdeps/generic/k_sinl.c: Include math_private for prototypes.
6909 * sysdeps/generic/k_tanl.c: Likewise.
6910 * sysdeps/generic/k_cosl.c: Likewise.
6911 * sysdeps/generic/e_j0l.c: Likewise.
6912 * sysdeps/generic/e_j1l.c: Likewise.
6913 * sysdeps/generic/e_jnl.c: Likewise.
6914 * sysdeps/generic/e_lgammal_r.c: Likewise.
6916 * elf/vismain.c: Move prototypes for functions in vismod*.c to
6918 * elf/vismod.h: New file.
6919 * elf/Makefile (distribute): Add vismod.h.
6920 * elf/vismod1.c: Include vismod.h.
6921 * elf/vismod2.c: Likewise.
6922 * elf/vismod3.c: Likewise.
6924 * elf/constload3.c: Add prototype declarations to shut up gcc.
6925 * elf/failobj.c: Likewise.
6926 * elf/nodelmod3.c: Likewise.
6927 * elf/filtmod1.c: Likewise.
6928 * elf/filtmod2.c: Likewise.
6929 * elf/reldepmod1.c: Likewise.
6930 * elf/reldepmod2.c: Likewise.
6931 * elf/reldepmod3.c: Likewise.
6932 * elf/reldepmod4.c: Likewise.
6933 * elf/unload2dep.c: Likewise.
6934 * elf/unload2mod.c: Likewise.
6935 * elf/ltglobmod1.c: Likewise.
6936 * elf/pathoptobj.c: Likewise.
6937 * elf/neededobj1.c: Likewise.
6938 * elf/neededobj2.c: Likewise.
6939 * elf/neededobj3.c: Likewise.
6940 * elf/neededobj4.c: Likewise.
6941 * elf/nextmod1.c: Likewise.
6942 * elf/nextmod2.c: Likewise.
6944 * locale/programs/ld-collate.c (collate_finish): Don't use labels
6945 at end of compound statement.
6946 * locale/programs/locale.c (show_info): Likewise.
6947 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Likewise.
6949 2000-12-16 Jakub Jelinek <jakub@redhat.com>
6951 * catgets/gencat.c (read_input_file): Avoid calling obstack_free
6952 with a pointer not returned by obstack_ functions.
6954 2000-12-16 Ulrich Drepper <drepper@redhat.com>
6956 * sysdeps/unix/sysv/aix/bits/stat.h (struct stat): Align with AIX
6958 (struct stat64): Likewise.
6959 Reported by Michael Keezer <mkeezer@redhat.com>.
6961 * timezone/asia: Update from tzdata2000h.
6962 * timezone/australasia: Likewise.
6963 * timezone/backward: Likewise.
6964 * timezone/europe: Likewise.
6965 * timezone/northamerica: Likewise.
6966 * timezone/southamerica: Likewise.
6967 * timezone/zone.tab: Likewise.
6969 2000-12-14 Jakub Jelinek <jakub@redhat.com>
6971 * io/ftw.c (ftw_dir): If process_entry returned non-zero result
6972 and dir.stream is NULL, only free dir.content.
6973 * io/ftwtest.c (cb, main): Add --early-exit option to test it.
6974 * io/ftwtest-sh: Test with --early-exit.
6976 2000-12-13 Jakub Jelinek <jakub@redhat.com>
6978 * misc/efgcvt.c (FCVT_MAXDIG): Define.
6979 (FCVT_BUFPTR): New variable.
6980 (fcvt): If fcvt_r returns -1 on the static short buffer,
6981 try to malloc a sufficiently large one and retry.
6982 (free_mem): New function.
6983 * misc/qefgcvt.c (FCVT_MAXDIG): Define.
6984 * misc/tst-efgcvt.c (fcvt_tests): Add new test.
6986 2000-12-15 Ulrich Drepper <drepper@redhat.com>
6988 * misc/dirname.c (dirname): Fix search for second to last slash.
6990 2000-12-13 Andreas Jaeger <aj@suse.de>
6992 * misc/tst-dirname.c (main): Fix typo in test to really use
6993 the examples from Unix98.
6994 Reported by Michael Kerrisk <mtk16@ext.canterbury.ac.nz>.
6996 2000-12-09 H.J. Lu <hjl@gnu.org>
6998 * sysdeps/ia64/fpu/s_fabs.S: New file.
6999 * sysdeps/ia64/fpu/s_fabsf.S: New file.
7000 * sysdeps/ia64/fpu/s_fabsl.S: New file.
7002 2000-12-15 Andreas Jaeger <aj@suse.de>
7004 * stdio-common/scanf9.c (main): Reformat and change to avoid
7007 * stdio-common/tstdiomisc.c: Make local functions static.
7008 * stdio-common/tst-printf.c: Likewise.
7010 * elf/constload2.c: Add prototype declarations to shut up gcc.
7011 * elf/dep1.c: Likewise.
7012 * elf/dep2.c: Likewise.
7013 * elf/dep3.c: Likewise.
7014 * elf/dep4.c: Likewise.
7015 * elf/ltglobmod2.c: Likewise.
7017 * libio/fmemopen.c: Make local functions static.
7019 * elf/Makefile (distribute): Added testobj.h.
7021 * elf/testobj.h: New file.
7023 * elf/testobj1.c: Include testobj.h and move prototype
7024 declarations to testobj.h.
7025 * elf/testobj2.c: Likewise.
7026 * elf/testobj3.c: Likewise.
7027 * elf/testobj4.c: Likewise.
7028 * elf/testobj5.c: Likewise.
7029 * elf/testobj6.c: Likewise.
7030 * elf/testobj1_1.c: Likewise.
7031 * elf/preloadtest.c: Likewise.
7033 2000-12-15 Ben Collins <bcollins@debian.org>
7035 * misc/sys/cdefs.h: Fix thinko in checks for flexarr macros.
7036 Patch by Akim Demaille <akim@epita.fr> in Debian bug report.
7038 2000-12-14 H.J. Lu <hjl@gnu.org>
7040 * sysdeps/ieee754/flt-32/s_sincosf.c (__sincosf): The exponent
7041 field in a float is 8 bits, not 11 bits.
7043 2000-12-13 Jakub Jelinek <jakub@redhat.com>
7045 * math/test-misc.c (main): Adjust m for IEEE quad long double.
7047 2000-12-13 Andreas Jaeger <aj@suse.de>
7049 * manual/message.texi (Using gettextized software): Fix typo.
7051 * manual/charset.texi (Converting a Character): Fix mbstouwcs
7053 Patch by Martin Buchholz <martin@xemacs.org>.
7055 * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Fix typo.
7056 Reported by Michael Kerrisk <mtk16@ext.canterbury.ac.nz>.
7058 2000-12-11 Andreas Jaeger <aj@suse.de>
7060 * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Declare
7061 kernel_sigset_t and use it.
7062 Patch by Hiroyuki Machida <machida@sm.sony.co.jp>.
7064 2000-12-10 Richard Henderson <rth@redhat.com>
7066 * sysdeps/alpha/alphaev67/fpu/Implies: New file.
7067 * sysdeps/alpha/alphaev6/fpu/e_sqrtf.S: New file.
7068 * sysdeps/alpha/alphaev6/fpu/e_sqrt.S: New file.
7070 2000-12-10 Jakub Jelinek <jakub@redhat.com>
7072 * sysdeps/alpha/htonl.S: Fix a typo.
7074 2000-12-10 Jakub Jelinek <jakub@redhat.com>
7076 * sysdeps/alpha/alphaev6/stxcpy.S: Exchange t8 with t10.
7078 2000-12-10 Andreas Jaeger <aj@suse.de>
7080 * locale/programs/ld-ctype.c (charclass_symbolic_ellipsis): Fixed
7081 cast as suggested by Jakub Jelinek <jakub@redhat.com> and Ulrich
7082 Drepper <drepper@redhat.com>.
7084 2000-12-09 Andreas Jaeger <aj@suse.de>
7086 * sysdeps/unix/sysv/linux/mips/sigaction.c: New file.
7088 * sysdeps/unix/sysv/linux/mips/sys/acct.h: Removed, we can use the
7090 Patches by Hiroyuki Machida <machida@sm.sony.co.jp>.
7092 * locale/programs/ld-collate.c (handle_ellipsis): Fix format
7095 * locale/programs/ld-ctype.c (charclass_symbolic_ellipsis): Fix
7098 * nscd/hstcache.c (addhstbyname): Add cast to avoid warning.
7099 * nscd/connections.c (handle_request): Likewise.
7100 * nscd/pwdcache.c (addpwbyname): Likewise.
7101 * nscd/grpcache.c (addgrbyname): Likewise.
7103 * nscd/nscd_conf.c (nscd_parse_file): Remove extra argument.
7105 2000-12-09 Ulrich Drepper <drepper@redhat.com>
7107 * string/stratcliff.c: Add tests for stpncpy, memcpy, and mempcpy.
7109 * Makeconfig (default_cflags): Make -O2 the default for stable
7112 2000-12-08 H.J. Lu <hjl@gnu.org>
7114 * sysdeps/ia64/fpu/s_isinfl.S: Renamed to ...
7115 * sysdeps/ia64/fpu/s_isinf.S: This.
7116 Add a .pred.rel.mutex note to avoid false report.
7118 * sysdeps/ia64/fpu/s_isnanl.S: Renamed to ...
7119 * sysdeps/ia64/fpu/s_isnan.S: This.
7121 * sysdeps/ia64/fpu/s_fpclassify.S: New file.
7122 * sysdeps/ia64/fpu/s_fpclassifyf.S: New file.
7123 * sysdeps/ia64/fpu/s_fpclassifyl.S: New file.
7124 * sysdeps/ia64/fpu/s_isinff.S: New file.
7125 * sysdeps/ia64/fpu/s_isinfl.S: New file.
7126 * sysdeps/ia64/fpu/s_isnanf.S: New file.
7127 * sysdeps/ia64/fpu/s_isnanl.S: New file.
7128 * sysdeps/ia64/fpu/s_finite.S: New file.
7129 * sysdeps/ia64/fpu/s_finitef.S: New file.
7130 * sysdeps/ia64/fpu/s_finitel.S: New file.
7131 * sysdeps/ia64/fpu/s_signbit.S: New file.
7132 * sysdeps/ia64/fpu/s_signbitf.S: New file.
7133 * sysdeps/ia64/fpu/s_signbitl.S: New file.
7134 * sysdeps/ia64/fpu/s_copysign.S: New file.
7135 * sysdeps/ia64/fpu/s_copysignf.S: New file.
7136 * sysdeps/ia64/fpu/s_copysignl.S: New file.
7138 2000-12-08 Ulrich Drepper <drepper@redhat.com>
7140 * math/libm-test.inc (main): Fix typos in messages.
7142 * string/stratcliff.c: Add test for rawmemchr.
7144 2000-12-08 Jakub Jelinek <jakub@redhat.com>
7146 * elf/dl-open.c (_dl_open): If objname points right after errstring,
7147 allocate it together with errstring using alloca.
7148 * elf/dl-error.c (_dl_signal_error): If malloc failed, set objname
7149 to "", because it might point to local stack.
7151 2000-12-05 H.J. Lu <hjl@gnu.org>
7153 * nss/Makefile (routines): Add getnssent and getnssent_r.
7154 * nss/nsswitch.h (__nss_setent): New internal NSS function.
7155 (__nss_endent): Likewise.
7156 (__nss_getent_r): Likewise.
7157 (__nss_getent): Likewise.
7158 * nss/getnssent_r.c: New file.
7159 * nss/getnssent.c: New file.
7160 * nss/getXXent.c (H_ERRNO_VAR): Updated.
7161 (GETFUNC_NAME): Updated to call __nss_getent ().
7162 * nss/getXXent_r.c (H_ERRNO_VAR_P): New.
7163 (STAYOPEN_TMPVAR): Updated.
7164 (STAYOPEN_VAR): Updated.
7165 (SETFUNC_NAME): Updated to call __nss_setent ().
7166 (ENDFUNC_NAME): Updated to call __nss_endent ().
7167 (INTERNAL (REENTRANT_GETNAME)): Updated to call __nss_getent_r ().
7169 2000-12-08 Andreas Jaeger <aj@suse.de>
7171 * nscd/dbg_log.h (dbg_log): Correct attribute.
7173 2000-12-08 Jakub Jelinek <jakub@redhat.com>
7175 * elf/dl-load.c (fillin_rpath): Don't assume there is '\0' at
7176 cp + len. Compute where from dirname.
7177 Reported by <jreiser@BitWagon.com>.
7179 2000-12-08 Richard Henderson <rth@twiddle.net>
7181 * sysdeps/alpha/_mcount.S: Fix typo.
7182 * sysdeps/alpha/strncpy.S: Likewise.
7184 * sysdeps/alpha/alphaev6/Implies: New file.
7185 * sysdeps/alpha/alphaev67/Implies: New file.
7186 * sysdeps/alpha/alphaev67/ffs.S: New file.
7187 * sysdeps/alpha/alphaev67/ffsll.S: New file.
7188 * sysdeps/alpha/alphaev67/rawmemchr.S: New file.
7189 * sysdeps/alpha/alphaev67/stpcpy.S: New file.
7190 * sysdeps/alpha/alphaev67/stpncpy.S: New file.
7191 * sysdeps/alpha/rawmemchr.S: New file.
7192 * sysdeps/alpha/strcat.S: Tail call to __stxcpy.
7193 * sysdeps/alpha/strcpy.S: Likewise.
7196 * sysdeps/alpha/alphaev6/addmul_1.s: New file.
7198 From rick.gorton@alpha-processor.com:
7199 * sysdeps/alpha/alphaev6/memchr.S: New file.
7200 * sysdeps/alpha/alphaev6/memcpy.S: New file.
7201 * sysdeps/alpha/alphaev6/memset.S: New file.
7202 * sysdeps/alpha/alphaev6/stxcpy.S: New file.
7203 * sysdeps/alpha/alphaev6/stxncpy.S: New file.
7204 * sysdeps/alpha/alphaev67/strcat.S: New file.
7205 * sysdeps/alpha/alphaev67/strchr.S: New file.
7206 * sysdeps/alpha/alphaev67/strlen.S: New file.
7207 * sysdeps/alpha/alphaev67/strncat.S: New file.
7208 * sysdeps/alpha/htonl.S: Use a shorter sequence.
7210 2000-12-08 Jakub Jelinek <jakub@redhat.com>
7212 * inet/getnameinfo.c (getnameinfo): Fix NI_NOFQDN support.
7213 Reported by <pspencer@fields.utoronto.ca>.
7215 2000-12-07 Jes Sorensen <jes@linuxcare.com>
7217 * sysdeps/ia64/elf/start.S (__data_start): Add __data_start variable.
7218 Pointed out by Hans Boehm.
7220 2000-12-07 H.J. Lu <hjl@gnu.org>
7222 * elf/dl-version.c (match_symbol): Check map->l_name[0] for printing.
7224 2000-12-07 Andreas Jaeger <aj@suse.de>
7226 * misc/error.c: Add format attributes for __error and __error_at_line.
7228 * nscd/dbg_log.h: Add format attribute.
7230 2000-12-08 Ulrich Drepper <drepper@redhat.com>
7232 * misc/sys/syslog.h: Add format attributes to syslog and vsyslog.
7233 Patch by Joseph S. Myers <jsm28@cam.ac.uk>.
7235 2000-12-07 Dan Pop <Dan.Pop@cern.ch>
7237 * sysdeps/ia64/strcpy.S: Fix a bug in a recovery code sequence.
7239 2000-12-06 Ulrich Drepper <drepper@redhat.com>
7241 * sysdeps/unix/sysv/aix/Makefile [$(subdir)==misc]
7242 (sysdep_routines): Add uitrunc.
7243 * sysdeps/unix/sysv/aix/uitrunc.c: New file.
7244 Patches by Michael Keezer <mkeezer@redhat.com>.
7246 2000-12-06 Roland McGrath <roland@frob.com>
7248 * sysdeps/mach/hurd/ioctl.c (__ioctl): Don't clobber ARG as we copy in
7249 argument data, since it will be used to copy out too (for INOUT).
7250 Reported by Marcus Brinkmann <marcus@gnu.org>.
7252 * sysdeps/mach/hurd/ioctl.c: Include <stdint.h>.
7253 (__ioctl): Use uintptr_t instead of unsigned long int.
7255 2000-12-06 Jim Wilson <wilson@redhat.com>
7257 * stdlib/l64a.c (l64a): Truncate M to 32-bit value.
7259 2000-12-06 Ulrich Drepper <drepper@redhat.com>
7261 * stdio-common/printf_fp.c (__printf_fp): Handle decimal point in
7262 x.5 rounding correctly.
7264 2000-12-06 Mark Kettenis <kettenis@gnu.org>
7266 * stdio-common/perror.c (perror): Conditionalize code dealing with
7267 wide-oriented streams on USE_IN_LIBIO.
7269 2000-12-06 Mark Kettenis <kettenis@gnu.org>
7271 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup): Mark
7272 as internal_function.
7274 2000-12-05 Ulrich Drepper <drepper@redhat.com>
7276 * sysdeps/alpha/elf/start.S (__data_start): Define.
7278 2000-12-05 H.J. Lu <hjl@gnu.org>
7280 * nss/getXXent_r.c (setup): Change the return type to int.
7282 2000-12-05 Ulrich Drepper <drepper@redhat.com>
7284 * sysdeps/unix/sysv/aix/Makefile [$(subdir)==misc]
7285 (sysdep_routines): Add restf and savef.
7286 * sysdeps/unix/sysv/aix/restf.c: New file.
7287 * sysdeps/unix/sysv/aix/savef.c: New file.
7288 Patches by Michael Keezer <mkeezer@redhat.com>.
7290 * sysdeps/unix/opendir.c (__opendir): Don't use o_directory_works
7291 if O_DIRECTORY is not defined.
7292 Patch by Michael Keezer <mkeezer@redhat.com>.
7294 * include/libc-symbols.h (C_SYMBOL_DOT_NAME): Define.
7295 Patch by Michael Keezer <mkeezer@redhat.com>.
7297 * locale/programs/linereader.c (get_toplvl_escape): Recognize more
7298 than 4 bytes in escape sequence.
7299 Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
7301 2000-12-05 Andreas Jaeger <aj@suse.de>
7303 * sysdeps/unix/sysv/linux/mips/sys/tas.h (_test_and_set): Don't
7306 * sysdeps/unix/sysv/linux/mips/sysdep.h: New file.
7308 * sysdeps/unix/sysv/linux/mips/sys/syscall.h: Removed.
7310 * sysdeps/unix/mips/sysdep.h: Use SYS_ify.
7311 Patches by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
7313 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Mark as
7315 * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Likewise.
7316 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start_cleanup): Likewise.
7318 * sysdeps/generic/dl-cache.c: Remove declaration of
7319 _dl_sysdep_read_whole_file.
7321 * elf/dl-load.c (_dl_map_object): Remove declaration of
7322 _dl_load_cache_lookup.
7324 * sysdeps/generic/ldsodefs.h: Add declarations of
7325 _dl_load_cache_lookup, _dl_unload_cache,
7326 _dl_sysdep_read_whole_file, _dl_sysdep_start and
7327 _dl_sysdep_start_cleanup.
7329 * elf/rtld.c: Remove prototypes that are defined in ldsodefs.h
7332 * elf/dl-misc.c: Include <ldsodefs.h> to get prototypes.
7333 * sysdeps/generic/dl-environ.c: Likewise.
7335 * stdio-common/printf_fp.c: Include <gmp.h> instead of
7337 * math/atest-exp.c: Likewise.
7338 * math/atest-exp2.c: Likewise.
7339 * math/atest-sincos.c: Likewise.
7340 * stdio-common/_itoa.c: Likewise.
7341 * stdio-common/_itowa.c: Likewise.
7343 * include/gmp.h: New file with internal prototypes.
7345 * sysdeps/generic/longjmp.c: Move _longjmp_unwind declaration from
7347 * include/setjmp.h: ...here.
7349 * locale/Makefile (routines): Remove codeset_name since it's not
7352 * locale/codeset_name.c: Removed.
7354 2000-12-05 Ulrich Drepper <drepper@redhat.com>
7356 * sysdeps/unix/sysv/aix/sys/param.h: Define MAXHOSTNAMELEN here.
7358 2000-12-05 Andreas Jaeger <aj@suse.de>
7360 * sysdeps/unix/sysv/linux/sys/param.h: Revert last patch.
7362 2000-12-05 Martin Schwidefsky <schwidefsky@de.ibm.com>
7364 * sysdeps/unix/sysv/linux/s390/mmap64.S: Use mmap if mmap2 isn't
7367 2000-12-05 Andreas Jaeger <aj@suse.de>
7369 * nss/test-netdb.c: Mark local functions as static to avoid
7371 (main): Use return to silence warning.
7373 * stdlib/test-canon.c (check_path): Mark as static to avoid warning.
7375 * stdio-common/test-popen.c: Mark local functions as static to
7377 (main): Use return to silence warning.
7379 * stdlib/testsort.c (compare): Mark as static to avoid warning.
7381 * assert/test-assert.c: Mark local functions as static to avoid
7383 * assert/test-assert-perr.c: Likewise.
7385 * math/libm-test.inc (main): Use return to silence warnings.
7387 2000-12-04 Ulrich Drepper <drepper@redhat.com>
7389 * math/fenv.h: Fix typo in comment.
7391 * math/test-misc.c (main): Add a few more over and underflow tests
7394 * sysdeps/i386/fpu/e_scalb.S: Handle NaN as first parameter correctly.
7395 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
7396 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
7397 * math/w_scalb.c: Don't use matherr except in SVID mode.
7398 * math/w_scalbf.c: Likewise.
7399 * math/w_scalbl.c: Likewise.
7400 * math/test-misc.c: Add test for NaN and scalbl.
7401 Reported by Fred J. Tydeman <tydeman@tybor.com>.
7403 2000-12-04 Ulrich Drepper <drepper@redhat.com>
7405 * configure.in: Define HAVE_ASM_GLOBAL_DOT_NAME for AIX.
7406 * config.h.in: Add HAVE_ASM_GLOBAL_DOT_NAME.
7407 * include/libc-symbols.h (strong_alias): Define special version
7408 for HAVE_ASM_GLOBAL_DOT_NAME.
7409 (weak_alias): Likewise.
7410 * sysdeps/powerpc/bsd-setjmp.S: Use strong_alias not .set.
7411 * sysdeps/unix/sysv/aix/Makefile [$(subdir)==login]
7412 (sysdep_routines): Add setutxent, getutxent, endutxent, getutxid,
7413 getutxline, pututxline, and utmpxname.
7414 * sysdeps/unix/sysv/aix/fchdir.c: Define __fchdir.
7415 * sysdeps/unix/sysv/aix/lseek.c: Define __libc_lseek alias.
7416 * sysdeps/unix/sysv/aix/open.c: Define __libc_open alias.
7417 * sysdeps/unix/sysv/aix/pread.c: Define pread alias.
7418 * sysdeps/unix/sysv/aix/pread64.c: Define pread64 alias.
7419 * sysdeps/unix/sysv/aix/sysdep.h (JUMPTARGET): Use C_TEXT.
7420 * sysdeps/unix/sysv/aix/bits/types.h: Define __clockid_t and __timer_t.
7421 * sysdeps/unix/sysv/aix/bits/utmp.h: Cleanup. Add comments.
7422 * sysdeps/unix/sysv/linux/sys/param.h (MAXHOSTNAMELEN): Define.
7423 Patches by Michael Keezer <mkeezer@redhat.com>.
7425 2000-12-04 H.J. Lu <hjl@gnu.org>
7427 * configure.in: Change --with-oldest-abi=ABI to
7428 --enable-oldest-abi=ABI.
7430 2000-12-02 Bruno Haible <haible@clisp.cons.org>
7432 * stdio-common/perror.c (perror): If stderr is wide-oriented, use
7433 fwprintf instead of fprintf.
7435 2000-12-04 Ulrich Drepper <drepper@redhat.com>
7437 * sysdeps/alpha/fpu/bits/mathdef.h: Remove FLT_EVAL_METHOD and
7438 DECIMAL_DIG definitions.
7439 * sysdeps/arm/fpu/bits/mathdef.h: Likewise
7440 * sysdeps/generic/bits/mathdef.h: Likewise
7441 * sysdeps/i386/fpu/bits/mathdef.h: Likewise
7442 * sysdeps/ia64/fpu/bits/mathdef.h: Likewise
7443 * sysdeps/m68k/fpu/bits/mathdef.h: Likewise
7444 * sysdeps/powerpc/fpu/bits/mathdef.h: Likewise
7445 * sysdeps/sparc/fpu/bits/mathdef.h: Likewise
7446 * sysdeps/sh/sh4/fpu/bits/mathdef.h: Likewise
7448 2000-12-03 Ulrich Drepper <drepper@redhat.com>
7450 * math/test-fenv.c (main): Use return instead of exit to avoid warning.
7452 * math/atest-exp.c: Mark local functions as static to avoid warnings.
7453 * math/atest-exp2.c: Likewise.
7454 * math/atest-sincos.c: Likewise.
7456 * sysdeps/i386/fpu/bits/mathdef.h (DECIMAL_DIG): Correct value.
7457 Reported by Fred J. Tydeman <tydeman@tybor.com>.
7459 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Hopefully fix
7460 the handling of denormalized numbers.
7462 * math/test-misc.c (main): Test for fpclassify and pseudo denormal
7464 * sysdeps/i386/fpu/fpclassifyl.c: New file.
7466 * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Handle the
7467 pseudo denormal representation of LDBL_MIN.
7469 * iconvdata/SJIS.irreversible: Remove unnecessary entries.
7470 * iconvdata/EUC-JP.irreversible: Remove unnecessary entries.
7472 * iconvdata/sjis.c: Enable round-trip mapping of backslash and tilde.
7473 * iconvdata/jis0208.c: Likewise.
7474 * iconvdata/jis0212.c: Likewise.
7475 Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
7477 * math/test-misc.c (main): More tests for frexp and some for
7478 fpclassify and isnormal.
7480 * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf): Correct
7482 Reported by Fred J. Tydeman <tydeman@tybor.com>.
7484 * math/test-misc.c (main): Add tests for frexp.
7485 Reported by Fred J. Tydeman <tydeman@tybor.com>.
7486 * sysdeps/i386/fpu/s_frexpl.S: Don't overflow during the computation.
7488 2000-12-02 H.J. Lu <hjl@gnu.org>
7490 * locale/lc-time.c (_nl_init_era_entries): Pass L'\0' instead of
7493 2000-12-02 Ulrich Drepper <drepper@redhat.com>
7495 * sysdeps/i386/fpu/s_frexp.S: Add missing fwait.
7496 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
7497 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
7499 * sysdeps/generic/glob.c: Adjust types of several variables to
7502 2000-12-01 Ulrich Drepper <drepper@redhat.com>
7504 * sysdeps/unix/sysv/linux/shm_open.c: Remove incorrect comment.
7506 2000-11-30 Roland McGrath <roland@frob.com>
7508 * hurd/hurd/ioctl.h (_HURD_HANDLE_IOCTLS_1): New macro.
7509 (_HURD_HANDLE_IOCTLS, _HURD_HANDLE_IOCTL): Redefine using it, so as to
7510 allow multiple instances using the same function name in one file.
7512 2000-12-01 Ulrich Drepper <drepper@redhat.com>
7514 * configure.in: Correct test for pserver CVS access.
7516 2000-11-28 H.J. Lu <hjl@gnu.org>
7518 * libio/libio.h: Remove extra "#if ... #endif".
7520 2000-11-29 H.J. Lu <hjl@gnu.org>
7522 * stdio-common/vfscanf.c (ORIENT): Swap the COMPILE_WSCANF case.
7524 2000-12-01 H.J. Lu <hjl@gnu.org>
7526 * nss/getXXbyYY_r.c: Fix verioned symbol handling.
7527 * nss/getXXent_r.c: Likewise.
7528 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
7530 2000-11-30 H.J. Lu <hjl@gnu.org>
7532 * scripts/abi-versions.awk (oldest_abi): New variable.
7533 Handle the oldest ABI supported.
7535 * Makerules ($(common-objpfx)abi-versions.h): Set oldest_abi
7536 for scripts/abi-versions.awk.
7538 * configure.in: Add --with-oldest-abi=ABI.
7539 * configure: Rebuild.
7541 * config.make.in (oldest-abi): New.
7543 * config.h.in (GLIBC_OLDEST_ABI): New.
7545 * csu/version.c (banner): Support GLIBC_OLDEST_ABI.
7547 2000-11-30 Jakub Jelinek <jakub@redhat.com>
7549 * locale/setlocale.c (setname): Free for all categories, not just
7551 (setlocale): Store a copy of string passed by user, not the string
7554 2000-11-30 Roland McGrath <roland@frob.com>
7556 * sysdeps/mach/hurd/defs.c (init_stdio): Put this on __libc_subinit
7557 rather than _hurd_fd_subinit, so it happens after it's safe to use
7558 libc facilities like malloc.
7560 2000-11-28 Andreas Jaeger <aj@suse.de>
7562 * sysdeps/unix/sysv/linux/getdents.c: Add _syscall_getdents64
7563 declaration, adjust declaration of __syscall_getdents to match
7566 2000-11-29 H.J. Lu <hjl@gnu.org>
7568 * sysdeps/generic/readelflib.c (check_ptr): Undefine it first.
7570 2000-11-29 Andreas Jaeger <aj@suse.de>
7572 * sysdeps/unix/sysv/linux/hppa/brk.c (__brk): Remove unused variable.
7574 2000-11-28 Ulrich Drepper <drepper@redhat.com>
7576 * dlfcn/defaultmod1.c: Add prototypes to avoid warnings.
7577 * dlfcn/defaultmod2.c: Likewise.
7578 * dlfcn/dlopen.c: Likewise.
7579 * dlfcn/dlopenold.c: Likewise.
7580 * dlfcn/failtestmod.c: Likewise.
7581 * dlfcn/glreflib1.c: Likewise.
7582 * dlfcn/glreflib2.c: Likewise.
7583 * dlfcn/eval.c: Likewise. Add attributes.
7585 * ctype/ctype-extn.c: Define isblank and not __isblank.
7587 * time/strftime.c: Add const where necessary to avoid warnings.
7588 * time/strptime.c (strptime_internal): Add casts to avoid warnings.
7590 2000-11-22 Paul Eggert <eggert@twinsun.com>
7592 * time/strftime.c (my_strftime): Do not invoke mbrlen with a
7593 size of (size_t) -1; it's not portable.
7595 2000-11-28 Ulrich Drepper <drepper@redhat.com>
7597 * sysdeps/i386/fpu/libm-test-ulps: Adjust some values for the
7599 Reported by Michael Deutschmann <michael@talamasca.ocis.net>.
7601 2000-11-14 Jes Sorensen <jes@linuxcare.com>
7603 * sysdeps/ia64/_mcount.S: Call __mcount instead of __mcount_internal.
7605 * sysdeps/ia64/Makefile: Compile _mcount.S in subdir gmon as
7606 _mcount is required by profiled binaries.
7608 * sysdeps/unix/sysv/linux/ia64/machine-gmon.h: Moved to...
7609 * sysdeps/ia64/machine-gmon.h: ...here.
7611 2000-11-28 Masahide Washizawa <washi@jp.ibm.com>
7613 * iconvdata/Makefile (modules): Add IBM922, IBM1124, and IBM1129.
7614 (distribute): Add ibm922.c, ibm1124.c, ibm1129.c, ibm922.h, ibm1124.h,
7616 * iconvdata/gconv-modules: Add entries for IBM922, IBM1124, and
7618 * iconvdata/ibm922.c: New file.
7619 * iconvdata/ibm922.h: New file.
7620 * iconvdata/ibm1124.c: New file.
7621 * iconvdata/ibm1124.h: New file.
7622 * iconvdata/ibm1129.c: New file.
7623 * iconvdata/ibm1129.h: New file.
7624 * iconvdata/testdata/IBM922: New file.
7625 * iconvdata/testdata/IBM922..UTF8: New file.
7626 * iconvdata/testdata/IBM1124: New file.
7627 * iconvdata/testdata/IBM1124..UTF8: New file.
7628 * iconvdata/testdata/IBM1129: New file.
7629 * iconvdata/testdata/IBM1129..UTF8: New file.
7631 2000-11-28 Ulrich Drepper <drepper@redhat.com>
7633 * catgets/gencat.c (normalize_line): Take extra parameter with escape
7634 character. Change callers.
7635 (open_conversion): Determine mapping of 0x5c as wchar_t value.
7636 * catgets/Makefile: Add rules to build and run test-gencat.
7637 * catgets/sample.SJIS: New file.
7638 * catgets/test-gencat.c: New file.
7639 * catgets/test-gencat.sh: New file.
7640 Report and test case by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
7642 2000-11-28 Andreas Jaeger <aj@suse.de>
7644 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Synch with generic
7647 2000-11-28 Ulrich Drepper <drepper@redhat.com>
7649 * sysdeps/unix/sysv/linux/bits/socket.h: Fix last patch.
7651 2000-11-28 Andreas Jaeger <aj@suse.de>
7653 * sysdeps/unix/sysv/linux/bits/socket.h (struct cmsghdr): Use
7655 * sysdeps/unix/sysv/linux/mips/bits/socket.h (struct cmsghdr):
7658 2000-11-27 Ulrich Drepper <drepper@redhat.com>
7660 * misc/getusershell.c: Make strings in okshells array const.
7661 * misc/regexp.c: Add const to cast to avoid warnings.
7662 * sysdeps/unix/sysv/linux/llseek.c: Add prototype for __llseek.
7663 * sysdeps/unix/sysv/linux/i386/setresuid.c: Add prototype for
7665 * sysdeps/unix/sysv/linux/i386/setresgid.c: Add prototype for
7667 * misc/error.c: Add prototypes for __error and __error_at_line.
7668 * misc/mntent_r.c (__getmntent_r): Add break at end of switch
7669 statement to avoid warning.
7670 * test-skeleton.c: Mark timeout_handler with noreturn.
7671 * iconv/skeleton.c (get16u): Add const to cast.
7673 * iconvdata/gb18030.c: Likewise.
7674 * iconvdata/iso-2022-cn-ext.c: Likewise.
7675 * iconvdata/ansi_x3.110.c: Add cast to avoid warning.
7676 * iconvdata/big5.c: Likewise.
7677 * iconvdata/big5hkscs.c: Likewise.
7678 * iconvdata/iso_6937.c: Likewise.
7679 * iconvdata/iso_6937-2.c: Likewise.
7680 * iconvdata/t.61.c: Likewise.
7681 * iconvdata/iso646.c: Add prototypes for gconv_init and gconv_env.
7682 * iconvdata/unicode.c: Likewise.
7683 * iconvdata/utf-16.c: Likewise.
7684 * iconvdata/cns11643.h (ucs4_to_cns11643): Define needed as size_t.
7685 * iconv/gconv_trans.c (__gconv_translit_find): Avoid one warning
7686 with little code shuffling.
7688 * sysdeps/powerpc/Makefile (CFLAGS-initfini.s): Add -O1 to avoid
7689 the problems introduced when the user selects -O3.
7691 * iconv/gconv.h (__gconv_info): Define __data element using __flexarr.
7692 * misc/sys/cdefs.h: Define __flexarr.
7693 Proposed by Joseph S. Myers <jsm28@cam.ac.uk>.
7695 * iconvdata/iso-2022-jp.c: Add prototypes to avoid warnings.
7696 * iconv/skeleton.c: Likewise.
7697 * iconvdata/iso8859-1.c (BODY to 8859-1): Add const to cast.
7698 * iconv/loop.c (get16): Add const to cast.
7701 2000-11-27 Andreas Jaeger <aj@suse.de>
7703 * login/programs/pt_chown.c (do_pt_chown): Mark function as static
7705 * login/programs/utmpdump.c (print_entry): Likewise.
7707 2000-11-25 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
7709 * sysdeps/mips/__longjmp.c (__longjmp): Restore SP and FP last and
7710 in a single asm as they may be used to access other stored
7712 * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
7714 2000-11-27 Andreas Jaeger <aj@suse.de>
7716 * rt/tst-aio.c: Mark test functions as static to avoid warnings.
7717 * rt/tst-aio64.c: Likewise.
7719 2000-11-27 Ulrich Drepper <drepper@redhat.com>
7721 * catgets/Makefile (test1.cat): Set LC_ALL, LOCPATH, and GCONV_PATH
7723 (libc.cat): Likewise.
7724 * catgets/gencat.c: Implement handling of message catalogs encoded
7725 with stateful character sets.
7726 Based on a patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
7728 2000-11-26 Ulrich Drepper <drepper@redhat.com>
7730 * sysdeps/unix/opendir.c (__opendir): Add cast to avoid warning.
7732 * inet/getnameinfo.c: Adjust casts to avoid warnings.
7733 * inet/rcmd.c: Likewise.
7734 * inet/ruserpass.c: Likewise.
7735 * inet/netinet/in.h (IN6_IS_ADDR_UNSPECIFIED, IN6_IS_ADDR_LOOPBACK,
7736 IN6_IS_ADDR_MULTICAST, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
7737 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, IN6_ARE_ADDR_EQUAL,
7738 IN6_IS_ADDR_MC_NODELOCAL, IN6_IS_ADDR_MC_LINKLOCAL,
7739 IN6_IS_ADDR_MC_SITELOCAL, IN6_IS_ADDR_MC_ORGLOCAL,
7740 IN6_IS_ADDR_MC_GLOBAL): Preserve const in cast.
7741 * include/aliases.h: Add prototypes for internal __getalias* functions.
7742 * include/netdb.h: Add prototypes for __old_gethostent_r,
7743 __old_gethostbyaddr_r, __old_gethostbyname_r, __old_gethostbyname2_r,
7744 __old_getnetent_r, __old_getnetbyaddr_r, __old_getnetbyname_r,
7745 __old_getservent_r, __old_getservbyname_r, __old_getservbyport_r,
7746 __old_getprotoent_r, __old_getprotobyname_r, __old_getprotobynumber_r.
7747 * include/rpc/netdb.h: Add prototypes for __old_getrpcbyname_r,
7748 __old_getrpcbynumber_r, __old_getrpcent_r.
7750 * include/rpc/netdb.h: Add __getrpcbyname_r, __getrpcbynumber_r,
7751 __getrpcent_r prototypes.
7753 2000-11-25 Ulrich Drepper <drepper@redhat.com>
7755 * string/strcoll.c: Add casts to avoid warnings.
7756 * string/strnlen.c: Likewise.
7757 * string/strxfrm.c: Likewise.
7758 * sysdeps/generic/_strerror.c: Likewise.
7759 * sysdeps/generic/memrchr.c: Likewise.
7760 * sysdeps/generic/strcasestr.c: Likewise.
7761 * sysdeps/generic/strstr.c: Likewise.
7763 * locale/weight.h (findidx): Add const to cast to avoid warning.
7765 * elf/loadfail.c: Little cosmetic changes to avoid warnings.
7766 * elf/loadtest.c: Likewise.
7767 * elf/multiload.c: Likewise.
7768 * elf/next.c: Likewise.
7769 * elf/nodelete.c: Likewise.
7770 * elf/noload.c: Likewise.
7771 * elf/order.c: Likewise.
7772 * elf/origtest.c: Likewise.
7773 * elf/preloadtest.c: Likewise.
7774 * elf/restest1.c: Likewise.
7776 * sysdeps/i386/i486/bits/string.h (__strncat_g) [i686]: Fourth
7777 parameter of asm must be in %ecx.
7779 * string/tester.c: Mark test functions as static to avoid warnings.
7781 * iconv/gconv_conf.c (read_conf_file): Make mod_counter static to
7782 preserve value over different gconv-modules files.
7784 2000-11-24 Ulrich Drepper <drepper@redhat.com>
7786 * locale/findlocale.c: Add casts to avoid warnings.
7787 * locale/localeinfo.h (LIMAGIC): Add cast to avoid warnings.
7788 * misc/efgcvt_r.c (fcvt_r): Use ssize_t instead of int and add cast
7790 * misc/tsearch.c (const_node): New type.
7791 (trecurse): Correct casts to avoid warnings.
7792 (__twalk): Likewise.
7793 * stdlib/tst-limits.c: Add z modifier to formats for WORD_BIT and
7796 * debug/backtrace-tst.c (compare): Add casts to avoid warnings.
7798 * test-skeleton.c: Mark local functions as static to avoid warnings.
7800 2000-11-23 H.J. Lu <hjl@gnu.org>
7802 * rt/tst-aio6.c (do_test): Use pipe instead of STDIN_FILENO to
7803 support the background job.
7806 2000-11-24 Ulrich Drepper <drepper@redhat.com>
7808 * iconv/gconv_conf.c (insert_module): Replace old entry if new one
7809 has same names but lower cost.
7811 2000-11-23 Jakub Jelinek <jakub@redhat.com>
7813 * sysdeps/sparc/sparc32/dl-machine.h: Ifdef out handling for relocs
7814 which never occur during bootstrap.
7815 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
7817 2000-11-23 Andreas Jaeger <aj@suse.de>
7819 * nss/nss_files/files-hosts.c: Remove getipnodebyname.
7821 * nss/Versions: Remove _nss_files_getipnodebyname_r.
7823 * sysdeps/unix/sysv/linux/Versions: Fix typo in last patch.
7825 2000-11-18 Martin Buchholz <martin@xemacs.org>
7827 * csu/gmon-start.c (__gmon_start__): Avoid over-clever trick `if
7830 2000-11-21 Alan Modra <alan@linuxcare.com.au>
7832 * sysdeps/generic/bsd-_setjmp.c (setjmp): Rename to _setjmp.
7834 * csu/abi-note.S: Correct comment for operating system number.
7836 2000-11-22 Ulrich Drepper <drepper@redhat.com>
7838 * Versions.def: Add GLIBC_2.2.1 for glibc.
7840 2000-11-22 Andreas Schwab <schwab@suse.de>
7842 * sysdeps/unix/sysv/linux/syscalls.list: Add pivot_root.
7843 * sysdeps/unix/sysv/linux/Versions: Add pivot_root at GLIBC_2.2.1.
7845 2000-11-22 Ulrich Drepper <drepper@redhat.com>
7847 * rt/aio_suspend.c (aio_suspend): Convert timeout value to
7848 absolute time for pthread_cond_timedwait call.
7849 Reported by Lawrence Chen <lchen@opentext.com> [libc/1930].
7851 * rt/Makefile (tests): Add tst-aio6.
7852 * rt/tst-aio6.c: New file.
7854 2000-11-23 Andreas Jaeger <aj@suse.de>
7856 * sysdeps/s390/bits/string.h (strncat): Fix one more typo.
7858 2000-11-22 Andreas Jaeger <aj@suse.de>
7860 * sysdeps/s390/bits/string.h (strncat): Add missing quotation marks.
7862 2000-11-21 Martin Schwidefsky <schwidefsky@de.ibm.com>
7864 * sysdeps/s390/bits/string.h: Make strncat always add a \0.
7866 2000-11-21 Andreas Schwab <schwab@suse.de>
7868 * sysdeps/alpha/setjmp.S: Remove __setjmp entry point.
7869 * sysdeps/arm/setjmp.S: Likewise.
7870 * sysdeps/arm/fpu/setjmp.S: Likewise.
7871 * sysdeps/i386/setjmp.S: Likewise.
7872 * sysdeps/i386/elf/setjmp.S: Likewise.
7873 * sysdeps/s390/setjmp.S: Likewise.
7874 * sysdeps/s390/elf/setjmp.S: Likewise.
7875 * sysdeps/sh/sh3/setjmp.S: Likewise.
7876 * sysdeps/sh/sh4/setjmp.S: Likewise.
7877 * sysdeps/sparc/sparc32/setjmp.S: Likewise.
7878 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
7879 * sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S: Likewise.
7880 * sysdeps/unix/sysv/linux/m68k/setjmp.c: Removed.
7882 2000-11-21 Andreas Jaeger <aj@suse.de>
7884 * sysdeps/generic/__longjmp.c (__longjmp): Remove obsolete
7885 NORETURN, fix parameter list.
7887 * string/bug-strncat1.c (main): Fix typo.
7888 Patch by Bernhard Kaindl <bernhard.kaindl@suse.de>.
7890 2000-11-20 Ulrich Drepper <drepper@redhat.com>
7892 * configure.in: Add --enable-all-warnings.
7893 * config.make.in (all-warnings): New variable.
7894 * Makeconfig (+gccwarn): Define with many more warnings if
7895 all-warnings is yes.
7897 2000-11-20 Jakub Jelinek <jakub@redhat.com>
7899 * iconvdata/bug-iconv2.c (main): Use %zd in format string.
7900 * io/test-lfs.c (do_test): Cast statbuf.st_size to long long.
7901 * malloc/tst-valloc.c (main): Cast valloc return value to long.
7902 * malloc/tst-obstack.c (verbose_malloc): Use %zd in format string.
7903 * math/test-fpucw.c (main): Use %lx in format string, cast
7904 control words to long.
7905 * stdio-common/tst-fmemopen.c (main): Use %td in format strings.
7906 * stdlib/tst-strtol.c (tests): Avoid (bogus?) decimal constant is so
7907 large that it is unsigned warning.
7909 * sysdeps/unix/sysv/linux/sparc/bits/types.h (__ssize_t): Changing
7910 it to long on sparc64.
7912 2000-11-20 Andreas Jaeger <aj@suse.de>
7914 * nscd/nscd.h (termination_handler): Add noreturn attribute.
7915 (receiv_print_stats): Likewise.
7917 * elf/ldconfig.c (path_hwcap): Cast -1 for proper comparison.
7919 2000-11-20 Ulrich Drepper <drepper@redhat.com>
7921 * malloc/thread-m.h: gcc doesn't tolerate zero-sized types anymore.
7923 * csu/gmon-start.c: Always have prototype for __gmon_start.
7924 * csu/version.c: Add prototypes for __libc_print_version and
7926 * iconv/gconv.c: Include gconv_int.h and gconv.h.
7927 * iconv/gconv.h (struct __gconv_step): Remove const from __from_name
7929 * iconv/gconv_builtin.h: Add ASCII module definitions.
7930 * iconv/gconv_conf.c (__gconv_path_elem): Remove const.
7931 (add_module): Add cast to avoid warning. Rework construction of
7932 strings for new module.
7933 * iconv/gconv_db.c (__gconv_alias_compare): Make s1 and s2 const.
7934 (derivation_compare): Likewise.
7935 * iconv/gconv_dl.c (do_release_shlib): Remove const from nodep.
7936 (__gconv_release_shlib): Cast do_release_shlib as parameter for twalk.
7937 * iconv/gconv_int.h (__gconv_path_elem): Remove const.
7938 (struct gconv_alias): Remove const from fromname and toname.
7939 * iconv/gconv_simple.c: Include gconv_builtin.h to get prototypes
7941 (internal_ucs4_loop): Use correct const-ness.
7942 (ucs4_internal_loop): Likewise.
7943 (internal_ucs4le_loop): Likewise.
7944 (ucs4le_internal_loop_single): Likewise.
7945 * iconv/gconv_trans.c (__gconv_transliterate): Make from_idx, from_tbl,
7946 to_idx, to_tbl, winbuf, winbufend const. Change casts in
7947 assignments appropriately.
7948 (struct known_trans): Remove const from fname.
7949 (trans_compare): Make s1 and s2 const.
7950 * iconv/loop.c (LOOPFC): Make outend parameter const. Add cast to
7952 * iconv/skeleton.c: Remove cast in calls of loop functions.
7953 * iconvdata/gconv-modules: Remove US-ASCII definitions.
7954 * iconvdata/iso646.c: Remove US_ASCII support.
7955 * include/set-hooks.h (DEFINE_HOOK): Also generate prototype.
7956 * include/unistd.h: Add __libc_check_standard_fds prototype.
7957 * string/bits/string2.h (__mempcpy_args): Add const to casts.
7958 * sysdeps/generic/initfini.c: Add prototypes for dummy, _init, and
7960 * sysdeps/generic/libc-start.c: Add prototype for __libc_start_main.
7961 * sysdeps/i386/i486/bits/string.h (strcmp): Add const to casts.
7962 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Add cast to avoid
7964 * sysdeps/unix/sysv/linux/init-first.c: Add prototypes for
7965 __libc_init_first and _dl_start.
7966 * intl/dcigettext.c (transcmp): Make s1 and s2 const.
7967 (DCIGETTEXT): Make domaindata variable const.
7968 * intl/loadmsgcat.c (_nl_load_domain): Rearrange domain initialization
7971 2000-11-20 Hiroyuki Machida <machida@sm.sony.co.jp>
7973 * sysdeps/unix/sysv/linux/mips/clone.S: Fix comments.
7975 * sysdeps/unix/sysv/linux/mips/kernel_stat.h (kernel_stat): Expand
7976 time_t to 'long int' not, 'unsigned int'. Use 'long int' for
7979 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (O_NOFOLLOW): Use same
7980 value defined in /usr/include/asm-mips/fcntl.h.
7982 2000-11-18 Ulrich Drepper <drepper@redhat.com>
7984 * stdio-common/Makefile (tests): Add test-vfprintf.
7985 (test-vfprintf-ENV): New variable.
7986 * stdio-common/test-vfprintf.c: New file.
7988 * wcsmbs/mbrtowc.c (__mbrtowc): Do not only flush if input is '\0'.
7990 * wcsmbs/Makefile (tests): Add tst-mbrtowc and tst-wcrtomb.
7991 (tst-mbrtowc-ENV): New variable.
7992 (tst-wcrtomb-ENV): New variable.
7993 * wcsmbs/tst-mbrtowc.c: New file.
7994 * wcsmbs/tst-wcrtomb.c: New file.
7996 2000-11-16 Andreas Jaeger <aj@suse.de>
7998 * manual/install.texi (Tools for Compilation): Update
7999 documentation for GCC 2.95.2.
8001 2000-11-18 Ulrich Drepper <drepper@redhat.com>
8003 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only return -EAI_AGAIN
8004 if IPv4 and IPv6 requests timed out.
8006 2000-11-18 Akim Demaille <akim@epita.fr>
8008 * malloc/obstack.h: Formatting changes.
8009 (obstack_grow, obstack_grow0): Don't cast WHERE at all: it
8010 prevents type checking.
8011 (obstack_ptr_grow, obstack_ptr_grow_fast): When assigning, don't
8012 cast the value to (void *): assigning a `foo *' to a `void *'
8014 (obstack_int_grow, obstack_int_grow_fast): Don't cast AINT to int.
8016 2000-11-17 Ulrich Drepper <drepper@redhat.com>
8018 * scripts/config.guess: Update from upstream maintainer.
8019 * scripts/config.sub: Likewise.
8021 2000-11-16 Ulrich Drepper <drepper@redhat.com>
8023 * libio/freopen.c (freopen): Reset _mode after succesful reopening.
8024 * libio/freopen64.c (freopen64): Likewise.
8025 Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
8027 * libio/Makefile: Add rules to build and run test-freopen.
8028 * libio/test-freopen.c: New file.
8029 * libio/test-freopen.sh: New file.
8031 2000-11-15 H.J. Lu <hjl@gnu.org>
8033 * sysdeps/generic/ldsodefs.h (DL_DT_INIT_ADDRESS): Defined if
8034 ELF_FUNCTION_PTR_IS_SPECIAL is not defined.
8035 (DL_DT_FINI_ADDRESS): Likewise.
8037 * sysdeps/ia64/dl-lookupcfg.h (_dl_lookup_address): Set the
8038 return type to ElfW(Addr).
8039 (_dl_function_address): New prototype.
8040 (DL_FUNCTION_ADDRESS): Defined.
8041 (DL_DT_INIT_ADDRESS): Defined as DL_FUNCTION_ADDRESS.
8042 (DL_DT_FINI_ADDRESS): Likewise.
8044 * sysdeps/ia64/Versions (GLIBC_2.2): Add _dl_function_address.
8046 * sysdeps/ia64/dl-machine.h (_dl_start_address): Removed.
8047 (ELF_MACHINE_START_ADDRESS): Changed to DL_FUNCTION_ADDRESS.
8049 * sysdeps/ia64/dl-symaddr.c (_dl_start_address): Renamed to ...
8050 (_dl_function_address): This.
8052 * elf/dl-fini.c (_dl_fini): Use DL_DT_FINI_ADDRESS to get the
8053 function pointer for DT_FINI.
8054 * elf/dl-close.c (_dl_close): Likewise.
8056 * elf/dl-init.c (_dl_init): Use DL_DT_INIT_ADDRESS to get the
8057 function pointer for DT_INIT.
8059 2000-11-16 Jakub Jelinek <jakub@redhat.com>
8061 * sysdeps/generic/printf_fphex.c (__printf_fphex): Compute correctly
8062 end of wexpbuf buffer.
8064 2000-11-16 Andreas Jaeger <aj@suse.de>
8066 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove duplicate
8067 definition of F_GETLK, F_SETLK, F_SETLKW.
8069 2000-11-16 Andreas Jaeger <aj@suse.de>
8071 * sysdeps/generic/dl-cache.c (_DL_PLATFORMS_COUNT): Define to 0 if
8074 2000-11-15 Jakub Jelinek <jakub@redhat.com>
8076 * dlfcn/default.c (main): Add test for dladdr of main returning
8077 argv[0] in dli_fname field.
8079 2000-11-15 Jakub Jelinek <jakub@redhat.com>
8081 * Makeconfig (run-program-prefix): Move test-static test into the
8084 * sysdeps/alpha/dl-machine.h (RTLD_START): Update _dl_argv.
8085 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise,
8086 schedule instructions.
8087 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise,
8088 schedule instructions, fix a bug in copying auxiliary data.
8090 2000-11-15 Ulrich Drepper <drepper@redhat.com>
8092 * manual/startup.texi (Program Arguments): Fix type of main's envp
8094 Reported by Raúl Núñez de Arenas Coronado <dervishd@linuxfreak.com>.
8096 * iconvdata/gconv-modules: Add CP950 alias.
8098 2000-11-13 Jakub Jelinek <jakub@redhat.com>
8100 * sysdeps/unix/sysv/linux/Makefile: Allow ports to override
8101 syscall-list.h goal.
8102 * sysdeps/unix/sysv/linux/sparc/Makefile: New file.
8104 2000-11-15 Ulrich Drepper <drepper@redhat.com>
8106 * intl/Makefile: tst-gettext2.sh does not need a third parameter.
8108 * intl/tst-gettext2.sh: Copy locale data. Adjust LOCPATH. Verify
8111 * intl/tst-gettext2.c: Set C locale if setting other locale
8112 failed. Use gettext() not _().
8114 * locale/setlocale.c: Increment _nl_msg_cat_cntr whenever we
8115 successfully loaded a new locale.
8117 2000-11-13 Andreas Jaeger <aj@suse.de>
8119 * configure.in: Require gcc 2.95 or newer.
8121 2000-11-15 Ulrich Drepper <drepper@redhat.com>
8123 * sysdeps/unix/sysv/linux/paths.h: Adjust for FHS.
8124 Patch by Arkadiusz Miskiewicz <misiek@pld.ORG.PL>.
8126 2000-11-11 Jim Meyering <meyering@lucent.com>
8128 * string/strndup.c (strndup): Cast return value to `char *'.
8130 2000-11-15 Jim Meyering <meyering@ascend.com>
8132 * sysdeps/generic/memchr.c: Remove some useless parentheses.
8133 [HAVE_STDLIB_H || defined _LIBC]: Include <stdlib.h>.
8134 [HAVE_BP_SYM_H || defined _LIBC]: Guard inclusion of bp-sym.h.
8135 [! (HAVE_BP_SYM_H || defined _LIBC)] (BP_SYM): Define as no-op.
8136 Also #undef __memchr.
8137 Use `weak_alias' only if it's defined.
8139 2000-11-10 H.J. Lu <hjl@gnu.org>
8141 * Makefile.in (install): Set LANGUAGE=C LC_ALL=C.
8143 2000-11-15 Andreas Jaeger <aj@suse.de>
8145 * elf/chroot_canon.c: Include <stdint.h>.
8147 * elf/cache.c (struct cache_entry): Use uint64_t for hwcap.
8148 (print_entry): Likewise.
8149 (add_to_cache): Likewise.
8151 * elf/ldconfig.h (add_to_cache): Change prototype for hwcap change.
8153 * elf/ldconfig.c (struct lib_entry): Use uint64_t for hwcap.
8154 (path_hwcap): Likewise.
8155 (search_dir): Likewise.
8157 * sysdeps/generic/dl-cache.c (HWCAP_CHECK): Handle platform.
8159 * elf/cache.c (add_to_cache): Handle 64 bit hwcap entry.
8161 * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h
8162 (_dl_platform_string): New.
8163 (_DL_HWCAP_PLATFORM): New.
8164 (_dl_string_platform): New.
8165 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h: Likewise.
8167 * sysdeps/generic/dl-procinfo.h (_DL_HWCAP_COUNT): New.
8168 (_dl_string_platform): New.
8169 (_DL_HWCAP_PLATFORM): New.
8170 (_dl_platform_string): New.
8172 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Added x86 platform
8174 (_DL_HWCAP_COUNT): New.
8175 (_dl_string_platform): New.
8176 (_DL_HWCAP_PLATFORM): New.
8177 (_dl_platform_string): New.
8179 2000-11-14 Ulrich Drepper <drepper@redhat.com>
8181 * iconvdata/gconv-modules: Add CP936 as alias for GBK.
8183 2000-11-14 Andreas Jaeger <aj@suse.de>
8185 * sysdeps/generic/dl-cache.c (HWCAP_CHECK): Fix access to _dl_hwcap.
8187 2000-11-13 Roland McGrath <roland@frob.com>
8189 * hurd/get-host.c (_hurd_get_host_config): Fix last change.
8191 2000-11-13 Marcus Brinkmann <marcus@gnu.org>
8193 * hurd/get-host.c (_hurd_get_host_config): Fix possible buffer
8194 underrun and make sure the result is null terminated even if there
8195 is no trailing newline.
8197 2000-11-13 Jakub Jelinek <jakub@redhat.com>
8199 * sysdeps/alpha/fpu/libm-test-ulps: Update.
8201 2000-11-10 H.J. Lu <hjl@gnu.org>
8203 * sysdeps/ia64/fpu/libm-test-ulps: Updated.
8205 2000-11-10 Andreas Jaeger <aj@suse.de>
8207 * elf/ldconfig.c (create_links): Fix alloca calculation.
8208 Patch by Ben Collins <bcollins@debian.org>.
8210 2000-11-09 Ulrich Drepper <drepper@redhat.com>
8212 * inet/getnameinfo.c (getnameinfo): Use correct destination
8213 parameter for if_indextoname.
8214 Patch by Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>.
8216 2000-11-09 H.J. Lu <hjl@gnu.org>
8218 * sunrpc/Versions (GLIBC_2.1): Remove xdr_cryptkeyarg,
8219 xdr_cryptkeyarg2, xdr_cryptkeyres, xdr_des_block,
8220 xdr_key_netstarg, xdr_key_netstres, xdr_keybuf and
8223 * time/Versions (GLIBC_2.1): Move getitimer to...
8224 * sysdeps/unix/sysv/linux/alpha/Versions (GLIBC_2.1): ...here.
8226 2000-11-03 Bruno Haible <haible@clisp.cons.org>
8228 * manual/install.texi: Recommend to set LANGUAGE=C LC_ALL=C during
8229 "make install", to work around a binary incompatibility between
8230 glibc 2.1 and glibc 2.2 gconv modules.
8232 2000-11-09 Ulrich Drepper <drepper@redhat.com>
8234 * intl/locale.alias: Add thai.
8235 Patch by Chanop Silpa-Anan <chanop@syseng.anu.edu.au>.
8237 2000-11-07 Akim Demaille <akim@epita.fr>
8239 * malloc/obstack.c (obstack_grow, obstack_grow0): Rename the second
8240 argument `data' for consistency with the prototypes.
8242 (obstack_copy, obstack_copy0): Rename the second argument as
8243 `address' for consistency. Qualify it `const'.
8244 * malloc/obstack.h (obstack_copy, obstack_copy0, obstack_grow)
8245 (obstack_grow0, obstack_ptr_grow, obstack_ptr_grow_fast): Qualify
8246 `const' their input argument (`data' or `address').
8247 Adjust the corresponding macros to include `const' in casts.
8249 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
8251 * sysdeps/posix/getaddrinfo.c: Clean-up: define family to hold
8254 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
8256 * sysdeps/posix/getaddrinfo.c: Loosen protocol check to ease raw
8259 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
8261 * sysdeps/posix/getaddrinfo.c: Ensure to fill ai_socktype and
8262 ai_protocol by internal table if service was not given.
8264 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
8266 * sysdeps/posix/getaddrinfo.c: Don't raise an error even if
8267 numerical port was specified with protocol without socktype.
8269 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
8271 * sysdeps/posix/getaddrinfo.c: Ensure to check if protocol is ok.
8273 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
8275 * inet/getnameinfo.c: getnameinfo() NI_xxx flag validation.
8277 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
8279 * sysdeps/posix/getaddrinfo.c: Ensure not to fill garbage value in
8280 sin6_scope_id field.
8282 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
8284 * inet/getnameinfo.c: Repair getnameinfo() sin6_socpe_id support.
8286 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
8288 * inet/getnameinfo.c: Repair NI_NOFQDN flag support.
8290 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
8292 * inet/getnameinfo.c: Wake-up sin6_scope_id support in
8293 getnameinfo(): check for whether sin6_socpe_id exist was wrong.
8295 2000-11-09 Martin Schwidefsky <mschwide@nc.boeblingen.de.ibm.com>
8297 * sysdeps/unix/sysv/linux/s390/mmap.S: Use mmap2 if it is present.
8298 * sysdeps/unix/sysv/linux/s390/mmap64.S: New file.
8300 2000-11-09 H.J. Lu <hjl@gnu.org>
8302 * io/Versions (GLIBC_2.1.1): Remove lockf64.
8305 See ChangeLog.11 for earlier changes.