1 2000-09-07 Andreas Jaeger <aj@suse.de>
3 * locale/programs/ld-collate.c (handle_ellipsis): Fix typo.
4 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
5 Reported by GOTO Masanori <gotom@debian.or.jp>.
7 2000-09-07 Ulrich Drepper <drepper@redhat.com>
9 * posix/Makefile (tests): Add tst-dir.
10 (tst-dir-ARGS): New variable.
11 * posix/tst-dir.c: New file.
13 2000-09-07 Andreas Jaeger <aj@suse.de>
15 * sysdeps/unix/sysv/linux/mips/sys/syscall.h (SYS_getdents64): New.
18 * sysdeps/unix/sysv/linux/mips/syscalls.list: Add getdents64.
20 2000-09-06 Ulrich Drepper <drepper@redhat.com>
22 * sysdeps/unix/opendir.c: If O_DIRECTORY_WORKS is defined don't
23 use the hack with tryopen_o_directory to determine at runtime
25 * sysdeps/unix/sysv/linux/opendir.c: New file.
26 * sysdeps/unix/sysv/linux/kernel-features.h: Define
27 __ASSUME_O_DIRECTORY if kernel knows O_DIRECTORY.
29 * catgets/Depend: New file. Add intl.
30 * catgets/Makefile (tests): Add tst-catgets.
31 (generated): Remove de.msg.
32 (generated-dirs): Add de.
33 Add dependency if tst-catgets output on de/libc.cat.
34 * catgets/tst-catgets.c: New file.
37 * po/el.po: Update from translation team.
39 * wcsmbs/Depend: New file.
40 * wcsmbs/Makefile (tests): Add tst-btowc.
41 (tst-btowc-ENV): Define.
42 * wcsmbs/tst-btowc.c: New file.
44 * sysdeps/unix/sysv/linux/_G_config.h: Moved to...
45 * sysdeps/gnu/_G_config.h: ...here to be shared with Hurd.
47 * sysdeps/posix/signal.c: Add sig to act.sa_mask for completeness.
49 * stdlib/Makefile (tests): Add tst-bsearch.
50 * stdlib/tst-bsearch.c: New file.
52 * posix/getopt.c (_getopt_internal): Don't recognize an option
53 name as ambiguous if it's a prefix for more than one name but the
54 other struct option values are identical.
56 * posix/tstgetopt.c: Add test for improved ambiguity recognition.
57 Don't depend on visual inspection of the output file to recognize
59 * posix/Makefile (tstgetopt-ARGS): Add a few more parameters.
61 2000-09-06 Andreas Jaeger <aj@suse.de>
63 * sysdeps/alpha/soft-fp/Dist: New file.
64 * sysdeps/i386/soft-fp/Dist: New file.
65 * sysdeps/mips/mips64/soft-fp/Dist: New file.
66 * sysdeps/mips/soft-fp/Dist: New file.
67 * sysdeps/powerpc/soft-fp/Dist: New file.
68 * sysdeps/sparc/sparc32/soft-fp/Dist: New file.
69 * sysdeps/sparc/sparc64/soft-fp/Dist: New file.
71 * sysdeps/sparc/sparc64/soft-fp/Makefile [$(subdir) = soft-fp]:
72 Use sysdep_routines instead of routines to fix make dist failure.
73 * sysdeps/sparc/sparc32/soft-fp/Makefile: Likewise (in commented
75 * sysdeps/powerpc/soft-fp/Makefile [$(subdir) = soft-fp]: Likewise.
77 * sysdeps/mips/Makefile [$(subdir) = misc]: Use
78 sysdep_headers instead of headers for make dist.
80 * sysdeps/unix/sysv/linux/mips/Makefile [$(subdir) = misc]:
83 2000-09-06 Andreas Schwab <schwab@suse.de>
85 * sysdeps/unix/sysv/linux/m68k/bits/fcntl.h: New file.
87 2000-09-06 Andreas Jaeger <aj@suse.de>
89 * soft-fp/Makefile (distribute): Remove ChangeLog.
91 * sysdeps/sparc/sparc32/Makefile [$(subdir) = gnulib]: Use
92 sysdep_routines instead of routines for make dist.
94 2000-09-05 Ulrich Drepper <drepper@redhat.com>
96 * libio/libio.h (_IO_fwide_maybe_incompatible): For glibc 2.0
97 compatibility check for old stream and call _IO_wide in doubt.
98 (_IO_fwide): Use _IO_fwide_maybe_incompatible macro.
99 * libio/iofwide.c (_IO_fwide): If compatibility with glibc 2.0 is
100 needed tst for such an old structure and don't do anything.
101 * libio/freopen.c: Remove declaration of _IO_stdin_used.
103 2000-09-06 Andreas Jaeger <aj@suse.de>
105 * sysdeps/powerpc/Makefile [$(subdir) = elf]: Modify
106 sysdep-dl-routines and sysdep_routines instead of rtld-routines
109 * soft-fp/ChangeLog: Merged with this file.
111 2000-06-13 Ulrich Drepper <drepper@redhat.com>
113 * soft-fp/Makefile (distribute): Add op-8.h and testit.c.
115 * soft-fp/Makefile (distribute): Add the math functions, too.
117 * soft-fp/Makefile (distribute): Add ChangeLog, Banner, and configure.
119 2000-03-03 Geoff Keating <geoffk@cygnus.com>
121 * soft-fp/soft-fp.h (_FP_ROUND_ZERO): Cast 0 to void before using it
124 * soft-fp/sysdeps/powerpc/Makefile (routines): New file.
125 * soft-fp/sysdeps/powerpc/q_*: New files.
127 2000-09-05 Ulrich Drepper <drepper@redhat.com>
129 * stdio-common/vfprintf.c (process_string_arg): Handle precision
130 in wide char case correctly. Don't allocate too long temporary
133 * stdio-common/Makefile (tests): Add tst-swprintf.
134 (tst-swprintf-ENV): New variable.
135 * stdio-common/tst-swprintf.c: New file.
137 2000-09-05 Andreas Jaeger <aj@suse.de>
139 * sysdeps/unix/sysv/linux/mips/bits/stat.h: Use st_pad5.
140 * sysdeps/unix/sysv/linux/mips/xstatconv.c: Fix assignments.
141 Patch by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
143 2000-09-05 Ulrich Drepper <drepper@redhat.com>
145 * configure.in: Strip out "unknown" from configuration names.
147 2000-09-05 Andreas Jaeger <aj@suse.de>
149 * sysdeps/powerpc/Subdirs: New file, adds soft-fp.
151 * sysdeps/sparc/sparc64/Implies: Add soft-fp.
152 * sysdeps/sparc/sparc32/Implies: Likewise.
153 * sysdeps/powerpc/Implies: Likewise.
155 * libio/oldiofsetpos64.c: Check for compatibility with glibc 2.1.
156 * libio/oldiofgetpos64.c: Likewise.
158 * soft-fp/Makefile (distribute): Remove configure.
160 * sysdeps/sparc/sparc64/soft-fp/Versions: Use version glibc 2.2.
162 * soft-fp/configure: Remove.
164 * soft-fp/sysdeps/sparc/sparc64/qp_neg.S: Move from here...
165 * sysdeps/sparc/sparc64/soft-fp/qp_neg.S: ... to here.
167 * soft-fp/sysdeps/sparc/sparc32/Makefile: Move from here...
168 * sysdeps/sparc/sparc32/soft-fp/Makefile: ... to here.
170 * soft-fp/sysdeps/powerpc/Makefile: Move from here...
171 * sysdeps/powerpc/soft-fp/Makefile: ... to here.
173 * soft-fp/sysdeps/sparc/sparc64/Makefile: Move from here...
174 * sysdeps/sparc/sparc64/soft-fp/Makefile: ... to here.
176 * soft-fp/sysdeps/sparc/sparc64/qp_neg.S: Move from here...
177 * sysdeps/sparc/sparc64/soft-fp/qp_neg.S: ... to here.
179 * soft-fp/sysdeps/powerpc/q_add.c: Move from here...
180 * sysdeps/powerpc/soft-fp/q_add.c: ... to here.
182 * soft-fp/sysdeps/powerpc/q_cmp.c: Move from here...
183 * sysdeps/powerpc/soft-fp/q_cmp.c: ... to here.
185 * soft-fp/sysdeps/powerpc/q_cmpe.c: Move from here...
186 * sysdeps/powerpc/soft-fp/q_cmpe.c: ... to here.
188 * soft-fp/sysdeps/powerpc/q_div.c: Move from here...
189 * sysdeps/powerpc/soft-fp/q_div.c: ... to here.
191 * soft-fp/sysdeps/powerpc/q_dtoq.c: Move from here...
192 * sysdeps/powerpc/soft-fp/q_dtoq.c: ... to here.
194 * soft-fp/sysdeps/powerpc/q_feq.c: Move from here...
195 * sysdeps/powerpc/soft-fp/q_feq.c: ... to here.
197 * soft-fp/sysdeps/powerpc/q_fge.c: Move from here...
198 * sysdeps/powerpc/soft-fp/q_fge.c: ... to here.
200 * soft-fp/sysdeps/powerpc/q_fgt.c: Move from here...
201 * sysdeps/powerpc/soft-fp/q_fgt.c: ... to here.
203 * soft-fp/sysdeps/powerpc/q_fle.c: Move from here...
204 * sysdeps/powerpc/soft-fp/q_fle.c: ... to here.
206 * soft-fp/sysdeps/powerpc/q_flt.c: Move from here...
207 * sysdeps/powerpc/soft-fp/q_flt.c: ... to here.
209 * soft-fp/sysdeps/powerpc/q_fne.c: Move from here...
210 * sysdeps/powerpc/soft-fp/q_fne.c: ... to here.
212 * soft-fp/sysdeps/powerpc/q_itoq.c: Move from here...
213 * sysdeps/powerpc/soft-fp/q_itoq.c: ... to here.
215 * soft-fp/sysdeps/powerpc/q_lltoq.c: Move from here...
216 * sysdeps/powerpc/soft-fp/q_lltoq.c: ... to here.
218 * soft-fp/sysdeps/powerpc/q_mul.c: Move from here...
219 * sysdeps/powerpc/soft-fp/q_mul.c: ... to here.
221 * soft-fp/sysdeps/powerpc/q_neg.c: Move from here...
222 * sysdeps/powerpc/soft-fp/q_neg.c: ... to here.
224 * soft-fp/sysdeps/powerpc/q_qtod.c: Move from here...
225 * sysdeps/powerpc/soft-fp/q_qtod.c: ... to here.
227 * soft-fp/sysdeps/powerpc/q_qtoi.c: Move from here...
228 * sysdeps/powerpc/soft-fp/q_qtoi.c: ... to here.
230 * soft-fp/sysdeps/powerpc/q_qtoll.c: Move from here...
231 * sysdeps/powerpc/soft-fp/q_qtoll.c: ... to here.
233 * soft-fp/sysdeps/powerpc/q_qtos.c: Move from here...
234 * sysdeps/powerpc/soft-fp/q_qtos.c: ... to here.
236 * soft-fp/sysdeps/powerpc/q_qtou.c: Move from here...
237 * sysdeps/powerpc/soft-fp/q_qtou.c: ... to here.
239 * soft-fp/sysdeps/powerpc/q_qtoull.c: Move from here...
240 * sysdeps/powerpc/soft-fp/q_qtoull.c: ... to here.
242 * soft-fp/sysdeps/powerpc/q_sqrt.c: Move from here...
243 * sysdeps/powerpc/soft-fp/q_sqrt.c: ... to here.
245 * soft-fp/sysdeps/powerpc/q_stoq.c: Move from here...
246 * sysdeps/powerpc/soft-fp/q_stoq.c: ... to here.
248 * soft-fp/sysdeps/powerpc/q_sub.c: Move from here...
249 * sysdeps/powerpc/soft-fp/q_sub.c: ... to here.
251 * soft-fp/sysdeps/powerpc/q_ulltoq.c: Move from here...
252 * sysdeps/powerpc/soft-fp/q_ulltoq.c: ... to here.
254 * soft-fp/sysdeps/powerpc/q_util.c: Move from here...
255 * sysdeps/powerpc/soft-fp/q_util.c: ... to here.
257 * soft-fp/sysdeps/powerpc/q_utoq.c: Move from here...
258 * sysdeps/powerpc/soft-fp/q_utoq.c: ... to here.
260 * soft-fp/sysdeps/sparc/sparc32/q_add.c: Move from here...
261 * sysdeps/sparc/sparc32/soft-fp/q_add.c: ... to here.
263 * soft-fp/sysdeps/sparc/sparc32/q_cmp.c: Move from here...
264 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c: ... to here.
266 * soft-fp/sysdeps/sparc/sparc32/q_cmpe.c: Move from here...
267 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c: ... to here.
269 * soft-fp/sysdeps/sparc/sparc32/q_div.c: Move from here...
270 * sysdeps/sparc/sparc32/soft-fp/q_div.c: ... to here.
272 * soft-fp/sysdeps/sparc/sparc32/q_dtoq.c: Move from here...
273 * sysdeps/sparc/sparc32/soft-fp/q_dtoq.c: ... to here.
275 * soft-fp/sysdeps/sparc/sparc32/q_feq.c: Move from here...
276 * sysdeps/sparc/sparc32/soft-fp/q_feq.c: ... to here.
278 * soft-fp/sysdeps/sparc/sparc32/q_fge.c: Move from here...
279 * sysdeps/sparc/sparc32/soft-fp/q_fge.c: ... to here.
281 * soft-fp/sysdeps/sparc/sparc32/q_fgt.c: Move from here...
282 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c: ... to here.
284 * soft-fp/sysdeps/sparc/sparc32/q_fle.c: Move from here...
285 * sysdeps/sparc/sparc32/soft-fp/q_fle.c: ... to here.
287 * soft-fp/sysdeps/sparc/sparc32/q_flt.c: Move from here...
288 * sysdeps/sparc/sparc32/soft-fp/q_flt.c: ... to here.
290 * soft-fp/sysdeps/sparc/sparc32/q_fne.c: Move from here...
291 * sysdeps/sparc/sparc32/soft-fp/q_fne.c: ... to here.
293 * soft-fp/sysdeps/sparc/sparc32/q_itoq.c: Move from here...
294 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: ... to here.
296 * soft-fp/sysdeps/sparc/sparc32/q_mul.c: Move from here...
297 * sysdeps/sparc/sparc32/soft-fp/q_mul.c: ... to here.
299 * soft-fp/sysdeps/sparc/sparc32/q_neg.c: Move from here...
300 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: ... to here.
302 * soft-fp/sysdeps/sparc/sparc32/q_qtod.c: Move from here...
303 * sysdeps/sparc/sparc32/soft-fp/q_qtod.c: ... to here.
305 * soft-fp/sysdeps/sparc/sparc32/q_qtoi.c: Move from here...
306 * sysdeps/sparc/sparc32/soft-fp/q_qtoi.c: ... to here.
308 * soft-fp/sysdeps/sparc/sparc32/q_qtos.c: Move from here...
309 * sysdeps/sparc/sparc32/soft-fp/q_qtos.c: ... to here.
311 * soft-fp/sysdeps/sparc/sparc32/q_qtoui.c: Move from here...
312 * sysdeps/sparc/sparc32/soft-fp/q_qtoui.c: ... to here.
314 * soft-fp/sysdeps/sparc/sparc32/q_qtoux.c: Move from here...
315 * sysdeps/sparc/sparc32/soft-fp/q_qtoux.c: ... to here.
317 * soft-fp/sysdeps/sparc/sparc32/q_qtox.c: Move from here...
318 * sysdeps/sparc/sparc32/soft-fp/q_qtox.c: ... to here.
320 * soft-fp/sysdeps/sparc/sparc32/q_sqrt.c: Move from here...
321 * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c: ... to here.
323 * soft-fp/sysdeps/sparc/sparc32/q_stoq.c: Move from here...
324 * sysdeps/sparc/sparc32/soft-fp/q_stoq.c: ... to here.
326 * soft-fp/sysdeps/sparc/sparc32/q_sub.c: Move from here...
327 * sysdeps/sparc/sparc32/soft-fp/q_sub.c: ... to here.
329 * soft-fp/sysdeps/sparc/sparc32/q_uitoq.c: Move from here...
330 * sysdeps/sparc/sparc32/soft-fp/q_uitoq.c: ... to here.
332 * soft-fp/sysdeps/sparc/sparc32/q_util.c: Move from here...
333 * sysdeps/sparc/sparc32/soft-fp/q_util.c: ... to here.
335 * soft-fp/sysdeps/sparc/sparc32/q_uxtoq.c: Move from here...
336 * sysdeps/sparc/sparc32/soft-fp/q_uxtoq.c: ... to here.
338 * soft-fp/sysdeps/sparc/sparc32/q_xtoq.c: Move from here...
339 * sysdeps/sparc/sparc32/soft-fp/q_xtoq.c: ... to here.
341 * soft-fp/sysdeps/sparc/sparc64/qp_add.c: Move from here...
342 * sysdeps/sparc/sparc64/soft-fp/qp_add.c: ... to here.
344 * soft-fp/sysdeps/sparc/sparc64/qp_cmp.c: Move from here...
345 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: ... to here.
347 * soft-fp/sysdeps/sparc/sparc64/qp_cmpe.c: Move from here...
348 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: ... to here.
350 * soft-fp/sysdeps/sparc/sparc64/qp_div.c: Move from here...
351 * sysdeps/sparc/sparc64/soft-fp/qp_div.c: ... to here.
353 * soft-fp/sysdeps/sparc/sparc64/qp_dtoq.c: Move from here...
354 * sysdeps/sparc/sparc64/soft-fp/qp_dtoq.c: ... to here.
356 * soft-fp/sysdeps/sparc/sparc64/qp_feq.c: Move from here...
357 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: ... to here.
359 * soft-fp/sysdeps/sparc/sparc64/qp_fge.c: Move from here...
360 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: ... to here.
362 * soft-fp/sysdeps/sparc/sparc64/qp_fgt.c: Move from here...
363 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: ... to here.
365 * soft-fp/sysdeps/sparc/sparc64/qp_fle.c: Move from here...
366 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: ... to here.
368 * soft-fp/sysdeps/sparc/sparc64/qp_flt.c: Move from here...
369 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: ... to here.
371 * soft-fp/sysdeps/sparc/sparc64/qp_fne.c: Move from here...
372 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: ... to here.
374 * soft-fp/sysdeps/sparc/sparc64/qp_itoq.c: Move from here...
375 * sysdeps/sparc/sparc64/soft-fp/qp_itoq.c: ... to here.
377 * soft-fp/sysdeps/sparc/sparc64/qp_mul.c: Move from here...
378 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: ... to here.
380 * soft-fp/sysdeps/sparc/sparc64/qp_qtod.c: Move from here...
381 * sysdeps/sparc/sparc64/soft-fp/qp_qtod.c: ... to here.
383 * soft-fp/sysdeps/sparc/sparc64/qp_qtoi.c: Move from here...
384 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: ... to here.
386 * soft-fp/sysdeps/sparc/sparc64/qp_qtos.c: Move from here...
387 * sysdeps/sparc/sparc64/soft-fp/qp_qtos.c: ... to here.
389 * soft-fp/sysdeps/sparc/sparc64/qp_qtoui.c: Move from here...
390 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: ... to here.
392 * soft-fp/sysdeps/sparc/sparc64/qp_qtoux.c: Move from here...
393 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: ... to here.
395 * soft-fp/sysdeps/sparc/sparc64/qp_qtox.c: Move from here...
396 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: ... to here.
398 * soft-fp/sysdeps/sparc/sparc64/qp_sqrt.c: Move from here...
399 * sysdeps/sparc/sparc64/soft-fp/qp_sqrt.c: ... to here.
401 * soft-fp/sysdeps/sparc/sparc64/qp_stoq.c: Move from here...
402 * sysdeps/sparc/sparc64/soft-fp/qp_stoq.c: ... to here.
404 * soft-fp/sysdeps/sparc/sparc64/qp_sub.c: Move from here...
405 * sysdeps/sparc/sparc64/soft-fp/qp_sub.c: ... to here.
407 * soft-fp/sysdeps/sparc/sparc64/qp_uitoq.c: Move from here...
408 * sysdeps/sparc/sparc64/soft-fp/qp_uitoq.c: ... to here.
410 * soft-fp/sysdeps/sparc/sparc64/qp_util.c: Move from here...
411 * sysdeps/sparc/sparc64/soft-fp/qp_util.c: ... to here.
413 * soft-fp/sysdeps/sparc/sparc64/qp_uxtoq.c: Move from here...
414 * sysdeps/sparc/sparc64/soft-fp/qp_uxtoq.c: ... to here.
416 * soft-fp/sysdeps/sparc/sparc64/qp_xtoq.c: Move from here...
417 * sysdeps/sparc/sparc64/soft-fp/qp_xtoq.c: ... to here.
419 * soft-fp/sysdeps/sparc/sparc64/s_frexpl.c: Move from here...
420 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: ... to here.
422 * soft-fp/sysdeps/sparc/sparc64/s_ilogbl.c: Move from here...
423 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: ... to here.
425 * soft-fp/sysdeps/sparc/sparc64/s_scalblnl.c: Move from here...
426 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: ... to here.
428 * soft-fp/sysdeps/sparc/sparc64/s_scalbnl.c: Move from here...
429 * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c: ... to here.
431 * soft-fp/sysdeps/alpha/sfp-machine.h: Move from here...
432 * sysdeps/alpha/soft-fp/sfp-machine.h: ... to here.
434 * soft-fp/sysdeps/i386/sfp-machine.h: Move from here...
435 * sysdeps/i386/soft-fp/sfp-machine.h: ... to here.
437 * soft-fp/sysdeps/mips/mips64/sfp-machine.h: Move from here...
438 * sysdeps/mips/mips64/soft-fp/sfp-machine.h: ... to here.
440 * soft-fp/sysdeps/mips/sfp-machine.h: Move from here...
441 * sysdeps/mips/soft-fp/sfp-machine.h: ... to here.
443 * soft-fp/sysdeps/powerpc/sfp-machine.h: Move from here...
444 * sysdeps/powerpc/soft-fp/sfp-machine.h: ... to here.
446 * soft-fp/sysdeps/sparc/sparc32/sfp-machine.h: Move from here...
447 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h: ... to here.
449 * soft-fp/sysdeps/sparc/sparc64/sfp-machine.h: Move from here...
450 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: ... to here.
452 * soft-fp/sysdeps/powerpc/Versions: Move from here...
453 * sysdeps/powerpc/soft-fp/Versions: ... to here.
455 * soft-fp/sysdeps/sparc/sparc64/Versions: Move from here...
456 * sysdeps/sparc/sparc64/soft-fp/Versions: ... to here.
458 * libio/oldiofsetpos64.c: iofsetpos was introduced in glibc 2.1,
459 change symbol version.
460 * libio/oldiofgetpos64.c: Likewise.
461 Reported by Martin v. Loewis <martin@loewis.home.cs.tu-berlin.de>.
463 * locale/programs/ld-ctype.c (charclass_charcode_ellipsis): Fix
465 Reported by dyky@kondara.org, closes PR libc/1886.
467 * stdlib/tst-strtod.c: Add testcases for denormal numbers from PR
470 2000-09-04 Ulrich Drepper <drepper@redhat.com>
472 * iconvdata/run-iconv-test.sh: Add code to immediately stop the
473 script when ^C is hit.
475 * locale/programs/localedef.c (construct_output_path): Correct
476 computation of endp after asprintf.
477 * locale/programs/locfile.c (write_locale_data): Don't add extra
480 2000-09-05 Andreas Jaeger <aj@suse.de>
482 * scripts/config.guess: New upstream version.
483 * scripts/config.sub: Likewise.
484 * manual/texinfo.tex: Likewise.
486 2000-09-04 Andreas Schwab <schwab@suse.de>
488 * elf/Makefile (all-dl-routines): New variable.
489 (elide-routines.os): Use it instead of $(dl-routines).
490 (all-rtld-routines): New variable.
491 (extra-objs): Use it instead of $(rtld-routines).
492 ($(objpfx)dl-allobjs.os): Likewise.
493 * sysdeps/ia64/Makefile [$(subdir) = elf]: Modify
494 sysdep-dl-routines and sysdep_routines instead of rtld-routines
497 2000-09-03 Bruno Haible <haible@clisp.cons.org>
499 * iconv/gconv_trans.c (__gconv_translit_find): Update open_count.
500 Set fname to NULL if the module wasn't found.
502 2000-09-03 Bruno Haible <haible@clisp.cons.org>
504 * iconv/gconv_trans.c (__gconv_translit_find): Don't set need_so to
505 true if trans->name already ends in ".so".
507 2000-09-03 Bruno Haible <haible@clisp.cons.org>
509 * iconv/gconv_int.h (__gconv_release_shlib): Change return type to
511 * iconv/gconv_dl.c (do_release_shlib): Don't decrement the counter
512 below -TRIES_BEFORE_UNLOAD-1, to avoid wraparound.
513 (__gconv_release_shlib): Change return type to void.
514 * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Don't set
515 step->__counter here.
516 * iconv/gconv_db.c (free_derivation): Don't call a step's destructor
517 if the reference is zero.
518 (release_step): New function.
519 (gen_steps): Always initialize the __counter to 1. Use release_step.
520 Don't call the destructor on the step whose initializer failed.
521 (increment_counter): Use release_step. Don't normally run destructors
523 (__gconv_close_transform): Use release_step.
525 2000-09-03 Bruno Haible <haible@clisp.cons.org>
527 * iconv/gconv_simple.c (encoding_mask, encoding_byte): Remove.
528 (__gconv_transform_internal_utf8) [BODY]: Use simple shifts instead.
530 2000-09-03 Bruno Haible <haible@clisp.cons.org>
532 * iconvdata/euc-tw.c (BODY for FROM_LOOP): Initialize ch2 correctly.
533 If the first byte is 0x8E, don't ask for 4 bytes until it has been
534 verified that the second byte is valid. Leave it to cns11643_to_ucs4
535 to check for incomplete input.
536 * iconvdata/cns11643.h (cns11643_to_ucs4): The plane number is
537 ch - 0x20 - offset, not ch - 0x21 - offset. Upper bound for
538 __cns11643l1_to_ucs4_tab is 0x21f2, not 0x2196.
539 (ucs4_to_cns11643): Fix mapping for ranges 0x3105..0x3129 and
541 * iconvdata/cns11643l1.h (cns11643l1_to_ucs4): Upper bound for
542 __cns11643l1_to_ucs4_tab is 0x21f2, not 0x2196.
543 (ucs4_to_cns11643l1): Fix mapping for range 0x3105..0x3129.
544 * iconvdata/cns11643l1.c (__cns11643l1_from_ucs4_tab6): Extend
547 2000-09-03 Bruno Haible <haible@clisp.cons.org>
549 * iconv/gconv_db.c (find_derivation): Always use the least-cost
552 2000-09-03 Bruno Haible <haible@clisp.cons.org>
554 * iconvdata/big5.c (BODY for FROM_LOOP): Bytes 0x81..0xA0, 0xFA..0xFF
557 2000-09-03 Bruno Haible <haible@clisp.cons.org>
559 * iconvdata/jis0208.c (__jis0208_to_ucs): Map EUC-JP 0xA1C0 to U+005C.
560 * iconvdata/jis0212.c (__jisx0212_to_ucs): Map EUC-JP 0x8FA2B7 to
563 2000-09-03 Bruno Haible <haible@clisp.cons.org>
565 * iconvdata/sjis.c (cjk_block1): Map 0x815F to U+005C.
567 2000-09-03 Bruno Haible <haible@clisp.cons.org>
569 * iconvdata/iso_6937-2.c (to_ucs4): Map 0xB4 to U+00D7.
571 2000-09-03 Bruno Haible <haible@clisp.cons.org>
573 * iconvdata/tst-tables.sh: New file.
574 * iconvdata/tst-table.sh: New file.
575 * iconvdata/tst-table-from.c: New file.
576 * iconvdata/tst-table-to.c: New file.
577 * iconvdata/tst-table-charmap.sh: New file.
578 * iconvdata/Makefile (test-srcs): Set to tst-table-from tst-table-to.
579 (distribute): Add tst-tables.sh, tst-table.sh, tst-table-charmap.sh,
580 tst-table-from.c, tst-table-to.c, EUC-JP.irreversible,
581 ISIRI-3342.irreversible, SJIS.irreversible.
582 (tests): Add dependency on tst-tables.out.
583 (tst-tables.out, tst-tables-clean): New rules.
584 (do-tests-clean, common-mostlyclean): Require tst-tables-clean.
585 * iconvdata/ISIRI-3342.irreversible: New file.
586 * iconvdata/EUC-JP.irreversible: New file.
587 * iconvdata/SJIS.irreversible: New file.
589 2000-09-04 Ulrich Drepper <drepper@redhat.com>
591 * manual/locale.texi (General Numeric): Update description of
592 representation of the grouping information in the locale data.
593 Patch by Gaute B. Strokkenes <gs234@cam.ac.uk>.
595 2000-09-04 Andreas Jaeger <aj@suse.de>
597 * locale/programs/ld-monetary.c (monetary_read): Fix typo.
598 * iconv/iconv_prog.c (options): Fix typo.
599 Reported by dyky@kondara.org, closes PR libc/1885.
601 2000-09-04 Andreas Jaeger <aj@suse.de>
603 * sysdeps/generic/fegetenv.c: It's __fegetenv.
604 Reported by Rob Levin <lilo@transvirtual.com>.
606 2000-09-03 Ulrich Drepper <drepper@redhat.com>
608 * time/sys/time.h (gettimeofday): Move restrict for tz parameter
609 to the typedefs of __timezone_ptr_t.
610 Reported by MATSUMURA Hiromitsu <coji2@mb.infoweb.ne.jp>.
612 2000-09-02 Jakub Jelinek <jakub@redhat.com>
614 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Increment counter in
617 2000-09-01 H.J. Lu <hjl@gnu.org>
619 * Makeconfig (built-program-cmd): Don't use the dynamic linker
620 to run a binary if it is in $(tests-static).
622 * Rules (binaries-static): Add $(tests-static).
624 2000-09-02 Andreas Jaeger <aj@suse.de>
626 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Fixes for fcntl64.
628 * libio/fmemopen.c (fmemopen_close): Revert one part of last
631 2000-09-01 Ulrich Drepper <drepper@redhat.com>
633 * iconvdata/big5hkscs.c: Regenerated from charmap.
634 * iconvdata/testdata/BIG5HKSCS: Regenerated.
635 * iconvdata/testdata/BIG5HKSCS..UTF8: Regenerated.
637 * libio/fmemopen.c (fmemopen_seek): Add default case in switch
638 statement. General cleanup.
640 2000-08-31 Bruno Haible <haible@clisp.cons.org>
642 * wctype/wcfuncs.c (iswblank): New function.
643 * wctype/wcfuncs_l.c (__iswblank_l): New function.
644 * wctype/wcextra.c: Remove file.
645 * wctype/wcextra_l.c: Remove file.
646 * wctype/Makefile (distribute): Remove wcextra and wcextra_l.
648 2000-08-31 Bruno Haible <haible@clisp.cons.org>
650 * locale/programs/ld-collate.c (collate_output): Remove redundant
652 * string/strcoll.c: Likewise.
653 * string/strxfrm.c: Include assert.h. Add assert calls like in
656 2000-08-31 Bruno Haible <haible@clisp.cons.org>
658 * locale/categories.def (_NL_COLLATE_HASH_SIZE,
659 _NL_COLLATE_HASH_LAYERS, _NL_COLLATE_NAMES, _NL_CTYPE_NAMES,
660 _NL_CTYPE_HASH_SIZE, _NL_CTYPE_HASH_LAYERS): Remove definitions.
661 * locale/langinfo.h (_NL_COLLATE_HASH_SIZE, _NL_COLLATE_HASH_LAYERS,
662 _NL_COLLATE_NAMES): Rename to _NL_COLLATE_GAP1/2/3 respectively.
663 (_NL_CTYPE_NAMES): Rename to _NL_CTYPE_GAP3.
664 (_NL_CTYPE_GAP3): Rename to _NL_CTYPE_GAP4.
665 (_NL_CTYPE_HASH_SIZE, _NL_CTYPE_HASH_LAYERS): Rename to
666 _NL_CTYPE_GAP5/6 respectively.
668 * locale/C-ctype.c (_nl_C_LC_CTYPE): Update.
669 * ctype/ctype-info.c (__ctype_names, __ctype_width): Remove variables.
670 * locale/lc-ctype.c (_nl_postload_ctype): Assume new locale format.
671 Don't initialize __ctype_names and __ctype_width.
672 * wctype/cname-lookup.h: Remove file.
673 * wctype/Makefile (distribute): Remove cname-lookup.h.
674 * wctype/wchar-lookup.h: Include stdint.h.
675 * wctype/wctype.c (__wctype): Assume new locale format.
676 * wctype/wctype_l.c (__wctype_l): Likewise.
677 * wctype/iswctype.c: Don't include cname-lookup.h.
678 (__iswctype): Assume new locale format.
679 * wctype/iswctype_l.c: Don't include cname-lookup.h.
680 (__iswctype_l): Assume new locale format.
681 * wctype/wctrans.c: Don't include ctype.h.
682 (wctrans): Assume new locale format.
683 * wctype/wctrans_l.c (__wctrans_l): Likewise.
684 * wctype/towctrans.c: Don't include cname-lookup.h.
685 (__towctrans): Assume new locale format.
686 * wctype/towctrans_l.c: Don't include cname-lookup.h.
687 (__towctrans_l): Assume new locale format.
688 * wctype/wcfuncs.c: Don't include ctype.h and cname-lookup.h. Include
689 localeinfo.h instead.
690 (__NO_WCTYPE): Remove unused macro.
691 (__ctype32_b, __ctype32_toupper, __ctype32_tolower): Remove
693 (iswalnum, iswalpha, iswcntrl, iswdigit, iswlower, iswgraph, iswprint,
694 iswpunct, iswspace, iswupper, iswxdigit): Assume new locale format.
695 (towlower, towupper): Likewise.
696 * wctype/wcfuncs_l.c: Don't include cname-lookup.h. Include
697 localeinfo.h instead.
698 (__NO_WCTYPE): Remove unused macro.
699 (__iswalnum_l, __iswalpha_l, __iswcntrl_l, __iswdigit_l, __iswlower_l,
700 __iswgraph_l, __iswprint_l, __iswpunct_l, __iswspace_l, __iswupper_l,
701 __iswxdigit_l): Assume new locale format.
702 (__towlower_l, __towupper_l): Likewise.
703 * wcsmbs/wcwidth.h: Don't include cname-lookup.h.
704 (__ctype32_b): Remove declaration.
705 (internal_wcwidth): Assume new locale format.
706 * locale/programs/ld-ctype.c (struct locale_ctype_t): Remove fields
707 plane_size, plane_cnt, names, width. Rename map to map_b, rename map32
708 to map32_b, rename width_3level to width.
709 (ctype_output): Always create new locale format. Don't emit
710 _NL_CTYPE_NAMES, _NL_CTYPE_HASH_SIZE, _NL_CTYPE_HASH_LAYERS any more.
711 (allocate_arrays): Always create new locale format.
713 * locale/C-collate.c (_nl_C_LC_COLLATE): Update.
714 * locale/weightwc.h (findidx): Assume new locale format.
715 * string/strcoll.c (wcscoll): Remove local variables size, layers,
717 * string/strxfrm.c (wcsxfrm): Likewise.
718 * posix/fnmatch_loop.c (internal_fnwmatch): Likewise. Change type of
719 local variable collseq to 'const char *'.
720 (SUFFIX): Don't use, don't undefine.
721 * posix/fnmatch.c: Remove SUFFIX definition.
722 * locale/programs/ld-collate.c (struct locale_collate_t): Remove
723 fields plane_size, plane_cnt, wcheads, wcseqorder. Rename
724 wcheads_3level to wcheads, rename wcseqorder_3level to wcseqorder.
725 (collate_finish): Always create new locale format. Remove local
726 variables min_total, act_size.
727 (collate_output): Always create new locale format. Remove local
728 variables table_size, names, tablewc. Rename tablewc_3level to
731 2000-08-31 Bruno Haible <haible@clisp.cons.org>
733 * locale/programs/ld-collate.c (obstack_int32_grow,
734 obstack_int32_grow_fast): New inline functions.
735 (output_weightwc, collate_output): Use them where possible.
737 2000-09-01 Ulrich Drepper <drepper@redhat.com>
739 * libio/libio.h (_IO_flockfile, _IO_funlockfile): Fix typo in last
740 patch (_mode -> _flags).
742 * libio/Makefile (headers): Add stdio_ext.h.
743 (routines): Add __fbufsize, __freading, __fwriting, __freadable,
744 __fwritable, __flbf, __fpurge, __fpending, and __fsetlocking.
745 * libio/Versions [libc] (GLIBC_2.2): Add __fbufsize, __freading,
746 __fwriting, __freadable, __fwritable, __flbf, __fpurge, __fpending,
747 __fsetlocking, and _flushlbf.
748 * libio/__fbufsize.c: New file.
749 * libio/__flbf.c: New file.
750 * libio/__fpending.c: New file.
751 * libio/__fpurge.c: New file.
752 * libio/__freadable.c: New file.
753 * libio/__freading.c: New file.
754 * libio/__fsetlocking.c: New file.
755 * libio/__fwritable.c: New file.
756 * libio/__fwriting.c: New file.
757 * libio/stdio_ext.h: New file.
758 * libio/genops.c (_IO_flush_all_linebuffered): Add alias _flushlbf.
759 * libio/libio.h (_IO_USER_LOCK): Define.
760 [_IO_MTSAFE_IO] (_IO_flockfile, _IO_funlockfile): Add macros which
761 test _IO_USER_LOCK flag first.
763 * iconv/gconv_open.c (__gconv_open): Set res to __GCONV_NOMEM is
766 2000-09-01 Andreas Jaeger <aj@suse.de>
768 * sysdeps/unix/sysv/linux/bits/fcntl.h: Always fail.
770 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: New file.
772 2000-08-31 Ulrich Drepper <drepper@redhat.com>
774 * math/Makefile (tests): Add tst-defintions.
775 * math/tst-definitions.c: New file.
777 * stdlib/Makefile (headers): Add bits/wchar.h.
778 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: New file.
779 * sysdeps/generic/bits/wchar.h: New file.
780 * sysdeps/generic/stdint.h: Include <bits/wchar.h>. Use values in this
781 file to define WCHAR_MIN and WCHAR_MAX.
782 Change UINT*8_MAX and UIN*16_MAX value to type int.
783 * wcsmbs/wchar.h: Include <bits/wchar.h>. Use values in this
784 file to define WCHAR_MIN and WCHAR_MAX.
785 * sysdeps/alpha/fpu/bits/mathdef.h: Make FP_ILOGB0 and FP_ILOGBNAN
787 * sysdeps/arm/fpu/bits/mathdef.h: Likewise.
788 * sysdeps/generic/bits/mathdef.h: Likewise.
789 * sysdeps/i386/fpu/bits/mathdef.h: Likewise.
790 * sysdeps/m68k/fpu/bits/mathdef.h: Likewise.
791 * sysdeps/powerpc/fpu/bits/mathdef.h: Likewise.
792 * sysdeps/sparc/fpu/bits/mathdef.h: Likewise.
793 * locale/locale.h (struct lconv): Add __ prefix to the new members
795 * sysdeps/generic/inttypes.h: Remove unnecessary imaxabs and
796 imaxdiv optimizations.
797 * sysdeps/wordsize-32/lldiv.c: Add hack to make alias work.
798 * sysdeps/wordsize-64/ldiv.c: Likewise.
799 * sysdeps/alpha/fpu/bits/fenv.h: Change type of FE_*_ENV macros to
801 * sysdeps/generic/bits/fenv.h: Likewise.
802 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
803 * sysdeps/ia64/bits/fenv.h: Likewise.
804 * sysdeps/m68k/fpu/bits/fenv.h: Likewise.
805 * sysdeps/mips/bits/fenv.h: Likewise.
806 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
807 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
808 Reported by Joseph S. Myers <jsm28@cam.ac.uk>.
810 * inet/rcmd.c: Use *stat64 instead of *stat internally.
811 * inet/ruserpass.c: Likewise.
812 * catgets/open_catalog.c: Likewise.
813 * intl/loadmsgcat.c: Likewise.
814 * io/getdirname.c: Likewise.
815 * locale/loadlocale.c: Likewise.
816 * misc/getusershell.c: Likewise.
817 * stdlib/canonicalize.c: Likewise.
818 * sysdeps/posix/euidaccess.c: Likewise.
819 * sysdeps/posix/isfdtype.c: Likewise.
820 * sysdeps/posix/posix_fallocate.c: Likewise.
821 * sysdeps/posix/tempname.c: Likewise.
822 * sysdeps/unix/grantpt.c: Likewise.
823 * sysdeps/unix/opendir.c: Likewise.
824 * sysdeps/unix/sysv/linux/fstatvfs.c: Likewise.
825 * sysdeps/unix/sysv/linux/internal_statvfs.c: Likewise.
826 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
827 * sysdeps/unix/sysv/linux/statvfs.c: Likewise.
828 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
829 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
830 * sysvipc/ftok.c: Likewise.
831 * time/getdate.c: Likewise.
833 * time/getdate.c: Add extra access test.
835 2000-08-31 Ulrich Drepper <drepper@redhat.com>
837 * version.h (VERSION): Bump to 2.1.93.
839 * sysdeps/unix/sysv/linux/powerpc/Dist: Add fe_nomask.c.
840 * sysdeps/unix/sysv/linux/i386/Dist: Add olddirent.h.
842 * intl/Makefile (tests): Depend in mtrace-tst-gettext.
843 Make this a new rule depending on tst-gettext.out and run mtrace.
844 * intl/tst-gettext.c: Call mtrace.
845 * intl/tst-gettext.sh: Put MALLOC_TRACE in environment of tst-gettext.
847 * elf/dl-reloc.c: Add a few more __builtin_expect.
849 * configure.in: Remove --with-gettext option.
851 * intl/dcigettext.c (free_mem): Correct freeing of
852 _nl_domain_bindings list.
854 * sysdeps/generic/setenv.c (free_mem): New function. Free all
857 * intl/locale.alias: Add aliases for bokmal and nynorsk.
859 * locale/iso-639.def: Fix 639-1 code for Bokmal.
861 * stdio-common/itoa-digits.c: Move upper digits to...
862 * stdio-common/itoa-udigits.c: ...here. New file.
863 * stdio-common/Makefile (routines): Add itoa-udigits.
865 * sysdeps/i386/dl-machine.h (elf_machine_rel): For the version to
866 relocate ld.so don't add supprt for relocations which should not
869 * malloc/malloc.c (ptmalloc_init): Optimize a bit by not calling
870 __secure_getenv. Instead test __libc_enable_secure once.
872 * io/pwd.c (main): Provide a good example, use *_unlocked function.
874 2000-08-30 Ulrich Drepper <drepper@redhat.com>
876 * iconv/gconv_conf.c (insert_module): Take extra parameter to decide
877 whether the new record should be freed if it's a duplicate.
878 (add_module): Adjust insert_module call.
879 (__gconv_read_conf): Likewise.
880 * iconvdata/Makefile (generated): Add tst-loading.mtrace and
882 (tests): Make $(objpfx)mtrace-tst-loading a dependency. Add rule.
884 * sysdeps/generic/ldsodefs.h: Add declaration for _dl_all_dirs and
886 * include/link.h (struct r_search_path_struct): New.
887 (struct link_map): Use it for l_rpath_dirs and l_runpath_dirs.
888 * elf/Versions [ld] (GLIBC_2.2): Add _dl_all_dirs and
890 * elf/dl-close.c (_dl_close): Free l_rpath_dirs and l_runpath_dirs.
891 * elf/dl-libc.c (free_mem): Free _dl_all_dirs list except elements
892 added at startup time.
893 * elf/dl-load.c: Fix memory handling. r_search_path_struct
894 contains element to remember fact that we can free memory.
895 (all_dirs): Renamed to _dl_all_dirs. Made global.
896 (_dl_init_all_dirs): New variable.
897 (fillin_rpath): Save one malloc call.
898 (decompose_rpath): Change interface. New first parameter points to
899 r_search_path_struct.
900 (_dl_init_paths): Adjust for changes. Mark all memory as not
901 deletable. Set _dl_init_all_paths value.
902 (open_path): Remove may_free_dirs parameter. r_search_path_elem ***
903 parameter replaced with r_search_path_struct *. Information about
904 freeing now contained in r_search_path_struct.
905 (_dl_map_object): Adjust for above changes.
907 * elf/dl-open.c (dl_open_worker): Change format of debug info a bit.
909 * elf/dl-load.c (fillin_rpath): Only check for trusted directories
910 when adding new entries.
912 * elf/dl-load.c (fillin_rpath): Make local copy of where string
913 since the object being loaded can be unloaded.
915 * iconvdata/Makefile (tests): Add tst-loading.
916 * iconvdata/tst-loading.c: New file.
918 2000-08-29 Bruno Haible <haible@clisp.cons.org>
920 * stdio-common/vfscanf.c (_IO_vfscanf): Back out last ungetc change.
921 When comparing a char with an int, always cast the char to
922 'unsigned char'. New macro ungetc_not_eof, to avoid warnings when
923 compiling with -funsigned-char. Use UCHAR_MAX+1 instead of UCHAR_MAX.
925 2000-08-30 Ulrich Drepper <drepper@redhat.com>
927 * time/strftime.c (my_strftime): Add compatibility code for use
928 outside glibc. Patch by Jim Meyering <meyering@ascend.com>.
930 * sysdeps/posix/getaddrinfo.c (gaih_local): uname does not everywhere
931 return 0 for success but always < 0 on failure.
933 * nss/getXXbyYY_r.c: Define result to *result before including
936 2000-08-30 Andreas Jaeger <aj@suse.de>
938 * math/gen-libm-test.pl (parse_ulps): Remove extra \.
940 2000-08-29 Ulrich Drepper <drepper@redhat.com>
942 * iconvdata/big5hkscs.c: Rewritten. Regenerate data from the
944 * iconvdata/TESTS: Add BIG5HKSCS entry.
945 * iconvdata/testdata/BIG5HKSCS: New file.
946 * iconvdata/testdata/BIG5HKSCS..UTF8: New file.
948 * iconvdata/big5.c (BODY for FROM_LOOP): Remove condition which is
951 * libio/iogetline.c: Set mode before the loop in case n==0.
952 * libio/iogetwline.c: Likewise.
954 2000-08-29 H.J. Lu <hjl@gnu.org>
956 * libio/fileops.c (new_do_write): Check fp->_mode <= 0 instead
958 (_IO_new_file_overflow): Likewise.
959 * libio/genops.c (_IO_flush_all): Likewise.
960 * libio/ioftell.c (_IO_ftell): Likewise.
962 2000-08-29 Akira Higuchi <a@kondara.org>
964 * iconv/gconv_db.c (increment_counter): Reset __init_fct, __fct,
965 and __end_fct fields of struct __gconv_step.
966 * iconv/Makefile (tests): Add iconv-bug2.
967 * iconv/iconv-bug2.c: New file.
969 * iconvdata/euc-kr.c (BODY for FROM_LOOP): Pass 'inend - inptr'
970 instead of 'inptr - inend' to ksc5601_to_ucs4.
972 * iconvdata/sjis.c (BODY for FROM_LOOP): Allow 0x7f character.
974 * iconvdata/iso-2022-cn.c (BODY for FROM_LOOP): If an incomplete
975 character or shift sequence is found at the end of the input
976 string, return__GCONV_INCOMPLETE_INPUT instead of
978 * iconvdata/iso-2022-jp.c (BODY for FROM_LOOP): Likewise.
979 * iconvdata/iso-2022-kr.c (BODY for FROM_LOOP): Likewise.
981 * iconvdata/iso-2022-jp.c (BODY for FROM_LOOP): Return
982 __GCONV_ILLEGAL_INPUT for 8bit characters.
984 2000-08-29 Ulrich Drepper <drepper@redhat.com>
986 * signal/signal.h (sigpause): Move __THROW before __asm__.
988 * inet/rcmd.c (__checkhost_sa): If getnameinfo succeeds but the
989 names don't match don't return.
990 Patch by Olaf Kirch <okir@flash.lst.de>.
992 2000-08-28 Ulrich Drepper <drepper@redhat.com>
994 * time/strftime.c (my_strftime): Handle # flag for %b as well.
996 2000-08-27 H.J. Lu <hjl@gnu.org>
998 * posix/Makefile (otherlibs): Add for building with static-nss
1001 2000-08-28 Ulrich Drepper <drepper@redhat.com>
1003 * libio/stdio.h: Add fmemopen prototype.
1005 2000-08-25 Andreas Jaeger <aj@suse.de>
1007 * libio/Makefile (routines): Add fmemopen.
1008 (tests): Add test-fmemopen.
1009 * libio/Versions: Add fmemopen with version GLIBC_2.2.
1010 * libio/test-fmemopen.c: New file.
1011 * libio/fmemopen.c: New file.
1012 Patches by Hanno Mueller <kontakt@hanno.de>.
1014 2000-08-28 Ulrich Drepper <drepper@redhat.com>
1016 * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h: Prevent double
1017 inclusion. Patch by Jes Sorensen <jes@linuxcare.com>.
1019 * locale/localeinfo.h (LIMAGIC): Change base number to 0x20000828
1020 to avoid crashing statically linked applications.
1022 2000-08-27 Bruno Haible <haible@clisp.cons.org>
1024 * string/strxfrm.c (strxfrm, wcsxfrm): Include <sys/param.h>.
1025 If nrules == 0 and srclen < n, copy only srclen + 1 characters.
1027 * sysdeps/generic/getdomain.c (getdomainname): Include <sys/param.h>.
1028 If the result is fits in the buffer, copy only as many bytes as needed.
1030 * sysdeps/generic/_strerror.c (__strerror_r): Don't zero-fill the
1031 buffer after copying numbuf into it.
1032 * sysdeps/mach/_strerror.c (__strerror_r): Likewise.
1034 2000-08-27 Bruno Haible <haible@clisp.cons.org>
1036 * posix/confstr.c (confstr): When string_len > len, NUL-terminate
1037 the result. When string_len < len, don't clear the rest of the buffer.
1039 2000-08-27 Bruno Haible <haible@clisp.cons.org>
1041 Support for new LC_COLLATE format.
1042 * locale/coll-lookup.h: New file.
1043 * locale/weightwc.h (findidx): When size == 0, call
1044 collidx_table_lookup.
1045 * wcsmbs/wcscoll.c: Include coll-lookup.h.
1046 * wcsmbs/wcsxfrm.c: Likewise.
1047 * posix/fnmatch.c: Likewise.
1048 * posix/fnmatch_loop.c (internal_fnwmatch): When size == 0, call
1049 collseq_table_lookup.
1050 * locale/programs/3level.h: New file.
1051 * locale/programs/ld-ctype.c: (wcwidth_table, wctrans_table): Define
1052 by including "3level.h".
1053 * locale/programs/ld-collate.c (wchead_table, collidx_table,
1054 collseq_table): New types, defined by including "3level.h".
1055 (locale_collate_t): New wcheads_3level, wcseqorder_3level fields.
1056 (encoding_mask, encoding_byte): Remove.
1057 (utf8_encode): Use simple shifts instead.
1058 (collate_finish): When !oldstyle_tables, set plane_size and plane_cnt
1059 to 0, and initialize and fill wcheads_3level and wcseqorder_3level.
1060 (collate_output): New local variable tablewc_3level. When
1061 !oldstyle_tables, set table_size to 0 and names to NULL and fill
1062 tablewc_3level instead of tablewc. Change format of TABLEWC and
1063 COLLSEQWC entries written to the file.
1064 * locale/C-collate.c (collseqwc): Change format.
1065 (_nl_C_LC_COLLATE): Set HASH_SIZE and HASH_LAYERS to 0, change format
1067 * locale/Makefile (distribute): Add coll-lookup.h, programs/3level.h.
1069 2000-08-27 Bruno Haible <haible@clisp.cons.org>
1071 * locale/programs/ld-ctype.c (MAX_CHARNAMES_IDX): New macro.
1072 (locale_ctype_t): New charnames_idx field.
1073 (ctype_startup): Initialize charnames_idx field.
1074 (find_idx): Speed up dramatically by using charnames_idx inverse table.
1076 2000-08-27 Bruno Haible <haible@clisp.cons.org>
1078 * locale/C-ctype.c: Switch to new locale format.
1079 (_nl_C_LC_CTYPE_names): Remove array.
1080 (STRUCT_CTYPE_CLASS): New macro.
1081 (_nl_C_LC_CTYPE_class_{upper,lower,alpha,digit,xdigit,space,print,
1082 graph,blank,cntrl,punct,alnum}, _nl_C_LC_CTYPE_map_{toupper,tolower}):
1083 New three-level tables.
1084 (_nl_C_LC_CTYPE_width): Change from array to three-level table.
1085 (_nl_C_LC_CTYPE): Fix nstrings value. Set HASH_SIZE and HASH_LAYERS
1086 to 0. Change WIDTH format. Set CLASS_OFFSET and MAP_OFFSET. Add
1087 12 class tables and 2 map tables at the end.
1088 * ctype/ctype-info.c (_nl_C_LC_CTYPE_names): Remove declaration.
1089 (_nl_C_LC_CTYPE_class_{upper,lower,alpha,digit,xdigit,space,print,
1090 graph,blank,cntrl,punct,alnum}, _nl_C_LC_CTYPE_map_{toupper,tolower}):
1092 (b): Remove trailing semicolon.
1093 (__ctype_names, __ctype_width): Don't initialize.
1094 (__ctype32_wctype, __ctype32_wctrans, __ctype32_width): Initialize.
1096 2000-08-27 Bruno Haible <haible@clisp.cons.org>
1098 * elf/dl-load.c (open_path): Add a argument telling whether *dirsp
1099 is guaranteed to be allocated with the same malloc() and may be
1101 (_dl_map_object): Update open_path calls. If rtld_search_dirs has
1102 been set to empty by an earlier open_path call, don't pass it again.
1104 2000-08-28 Ulrich Drepper <drepper@redhat.com>
1106 * include/libintl.h: Include <locale.h> since libintl.h doesn't if
1107 we are not optimizing.
1109 * sysdeps/unix/sysv/linux/powerpc/sysdep.h: Protect against double
1112 * stdio-common/vfscanf.c (ungetc): Cast c to signed char first to
1114 Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
1116 2000-08-28 Andreas Jaeger <aj@suse.de>
1118 * sysdeps/i386/fpu/libm-test-ulps: Tweaks for AMD Athlon.
1120 2000-08-28 Mark Kettenis <kettenis@gnu.org>
1122 * sysdeps/mach/hurd/getpeername.c (__getpeername): Renamed from
1123 getpeername. Use ISO C style function definition.
1124 (getpeername): Provide weak alias.
1125 * sysdeps/mach/hurd/setrlimit.c (__setrlimit): Renamed from
1126 setrlimit. Use ISO C style function definition.
1127 (setrlimit): Provide weak alias.
1129 2000-08-28 Martin Schwidefsky <schwidefsky@de.ibm.com>
1131 * shlib-versions: Add a rule for S/390 to the libm version list.
1132 * sysdeps/s390/Versions: New file.
1133 * sysdeps/unix/sysv/linux/s390/Dist: Add oldgetrlimit64.c.
1134 * sysdeps/unix/sysv/linux/s390/Makefile: Add oldgetrlimit64.
1135 * sysdeps/unix/sysv/linux/s390/Versions: New file.
1136 * sysdeps/unix/sysv/linux/s390/alphasort64.c: New file.
1137 * sysdeps/unix/sysv/linux/s390/chown.c: New file.
1138 * sysdeps/unix/sysv/linux/s390/fxstat.c: New file.
1139 * sysdeps/unix/sysv/linux/s390/getdents64.c: New file.
1140 * sysdeps/unix/sysv/linux/s390/getrlimit.c: New file.
1141 * sysdeps/unix/sysv/linux/s390/getrlimit64.c: New file.
1142 * sysdeps/unix/sysv/linux/s390/lxstat.c: New file.
1143 * sysdeps/unix/sysv/linux/s390/oldgetrlimit64.c: New file.
1144 * sysdeps/unix/sysv/linux/s390/readdir64.c: New file.
1145 * sysdeps/unix/sysv/linux/s390/readdir64_r.c: New file.
1146 * sysdeps/unix/sysv/linux/s390/scandir64.c: New file.
1147 * sysdeps/unix/sysv/linux/s390/setrlimit.c: New file.
1148 * sysdeps/unix/sysv/linux/s390/syscalls.list: New file.
1149 * sysdeps/unix/sysv/linux/s390/versionsort64.c: New file.
1150 * sysdeps/unix/sysv/linux/s390/xstat.c: New file.
1152 2000-08-28 Ulrich Drepper <drepper@redhat.com>
1154 * sysdeps/unix/sysv/linux/powerpc/Makefile [$(subdir)==csu]
1155 (CFLAGS-initfini.s): Add -DWEAK_GMON_START.
1157 * elf/Versions [ld] (GLIBC_2.2): Export _dl_debug_files.
1158 * elf/dl-close.c (_dl_close): Print debug message if object is not
1160 * elf/dl-open.c (dl_open_worked): Print message about opencount before
1161 returning to caller.
1163 * po/zh.po: Renamed to...
1164 * po/zh_TW.po: ...this.
1166 2000-08-27 Geoff Keating <geoffk@cygnus.com>
1168 * sysdeps/powerpc/fpu/feenablxcpt.c: Correct bogus checkin.
1170 * sysdeps/powerpc/fpu/fedisblxcpt.c: New file.
1171 * sysdeps/powerpc/fpu/feenablxcpt.c: New file.
1172 * sysdeps/powerpc/fpu/fegetexcept.c: New file.
1173 * sysdeps/unix/sysv/linux/powerpc/fe_nomask.c: New file.
1175 2000-08-27 Ulrich Drepper <drepper@redhat.com>
1177 * locale/programs/ld-collate.c (insert_weights): Also update
1178 backpointer of next element.
1179 (collate_read): Allow definition of new collation symbols in stage 2.
1180 Symbol after reorder-after can be UCS4 value.
1181 Allow reordering of collation symbols and elements.
1182 Do not only move reorder entry in new position. Instead call
1183 insert_weight to do this and read the weights.
1185 * locale/findlocale.c (free_mem): Add cast to avoid warning.
1187 * intl/dcigettext.c (DCIGETTEXT): Remove _nl_find_language in code
1188 to determine invalid locale name.
1189 * locale/findlocale.c (_nl_find_locale): Likewise.
1191 * posix/annexc.c: Correct test for unavailable feature.
1193 * sysdeps/unix/sysv/linux/i386/sys/io.h (outw): Fix __INLINE ->
1196 2000-08-26 Ulrich Drepper <drepper@redhat.com>
1198 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add getdents64
1201 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir)==resource]
1202 (sysdep_routines): Add oldgetrlimit64.
1204 * elf/Makefile (distribute): Add unloadmod.c, reldepmod1.c,
1205 reldepmod2.c, reldepmod3.c, and reldepmod4.c.
1206 (tests): Add unload, reldep, reldep2, and reldep3.
1207 (modules-names): Add unloadmod, reldepmod1, reldepmod2, reldepmod3,
1209 Add rules to build and run unload, reldep, reldep2, and reldep3.
1210 * elf/dl-lookup.c (_dl_lookup_symbol): Add new parameter explicit.
1211 Don't create relocation dependency if it is nonzero.
1212 (_dl_lookup_symbol_skip): Remove relocation dependency stuff. This
1213 can never happen here.
1214 (_dl_lookup_versioned_symbol): Add new parameter explicit.
1215 Don't create relocation dependency if it is nonzero.
1216 (_dl_lookup_versioned_symbol_skip): Remove relocation dependency
1217 stuff. This can never happen here.
1218 * sysdeps/generic/ldsodefs.h: Change prototypes.
1219 * elf/dl-reloc.c (RESOLVE_MAP): Pass 0 in explicit parameter to
1220 _dl_lookup_up and _dl_lookup_versioned_symbol.
1222 * elf/dl-runtime.c (fixup): Likewise.
1223 (profile_fixup): Likewise.
1224 * elf/dl-libc.c (do_dlsym): Pass 1 in explicit parameter to
1226 * elf/dl-symbol.c (_dl_symbol_value): Likewise.
1227 * elf/rtld.c (dl_main): Likewise.
1228 * elf/dl-sym.c (_dl_sym): Pass 1 in explicit parameter to
1229 _dl_lookup_symbol if handle is not RTLD_DEFAULT. Always compute
1230 and pass down the caller map.
1231 (_dl_vsym): Likewise.
1232 * elf/reldep.c: New file.
1233 * elf/reldep2.c: New file.
1234 * elf/reldep3.c: New file.
1235 * elf/reldepmod1.c: New file.
1236 * elf/reldepmod2.c: New file.
1237 * elf/reldepmod3.c: New file.
1238 * elf/reldepmod4.c: New file.
1239 * elf/unload.c: New file.
1240 * elf/unloadmod.c: New file.
1242 * elf/do-lookup.h: Remove unused undef_name parameter.
1243 * elf/dl-lookup.c: Adjust callers.
1245 2000-08-25 Ulrich Drepper <drepper@redhat.com>
1247 * iconv/gconv_trans.c (__gconv_transliterate): Pass NULL instead of
1248 irreversible in recursive call of conversion function to signal that
1249 no error handling is wanted.
1250 * iconv/loop.c (ignore_errors_p): irreversible must be != NULL, too.
1251 (STANDARD_ERR_HANDLER): Don't do anything if irreversible == NULL.
1252 * iconv/skeleton.c (lirreversiblep): New variable. Set to NULL is
1253 recursive error handling call, otherwise to &lirreversible. Use it
1254 for calls to conversion functions.
1255 * iconv/gconv_simple.c (ucs4_internal_loop): Don't handle errors when
1257 (ucs4_internal_loop_unaligned): Likewise.
1258 (ucs4le_internal_loop): Likewise.
1259 (ucs4le_internal_loop_unaligned): Likewise.
1261 2000-08-25 Greg McGary <greg@mcgary.org>
1263 * sysdeps/i386/memchr.S: Check high bound against chars
1265 * sysdeps/i386/memcmp.S: Likewise.
1266 * sysdeps/i386/stpncpy.S: Adjust high-bound check to
1267 account for pointers that lie one beyond end-of-buffer.
1269 2000-08-25 Ulrich Drepper <drepper@redhat.com>
1271 * elf/Makefile (LDFLAGS-nodelete): Add -rdynamic.
1272 * elf/nodelete.c (fini_ran): New global variable.
1273 (do_test): Before every dlclose call clear fini_ran and test
1274 afterwards that it is not set by the destructors.
1275 * elf/nodelmod1.c: Add destructor which sets fini_ran.
1276 * elf/nodelmod2.c: Likewise.
1277 * elf/nodelmod4.c: Likewise.
1279 2000-08-21 Jes Sorensen <jes@linuxcare.com>
1281 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add getrlimit and
1282 getrlimit to the list.
1284 2000-08-18 Jes Sorensen <jes@linuxcare.com>
1286 * sysdeps/ia64/Implies: gcc now has support for the Intel 80 bit
1287 long double format so use ldbl-96 instead of ldbl-128.
1289 2000-08-25 Ulrich Drepper <drepper@redhat.com>
1291 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap): Return -EINVAL
1292 even if bits 10 a 11 are non-zero.
1293 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64): Likewise.
1295 * Makeconfig: Ensures the soversions.mk part of Makefile gets
1296 included before building gnu/lib-names.h
1297 Patch by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
1299 * elf/dl-close.c (_dl_close): Don't run destructors of objects
1300 marked DF_1_NODELETE.
1302 * sysdeps/posix/system.c (__libc_system): We cannot use vfork here
1303 since we call sigaction in the child.
1305 2000-08-25 Andreas Jaeger <aj@suse.de>
1307 * iconvdata/Makefile ($(objpfx)bug-iconv1.out): Depend on
1310 2000-08-25 Andreas Jaeger <aj@suse.de>
1312 * manual/arith.texi (Control Functions): Clarify possible
1313 arguments. Closes PR libc/1856.
1315 2000-08-24 H.J. Lu <hjl@gnu.org>
1317 * stdio-common/Makefile (tests): Don't do it for cross compiling.
1318 * malloc/Makefile (tests): Likewise.
1320 2000-08-24 Ulrich Drepper <drepper@redhat.com>
1322 * iconvdata/unicode.c (gconv_init): Correct test for direction.
1324 2000-08-24 Andreas Jaeger <aj@suse.de>
1326 * malloc/Makefile (extra-objs): Fix last patch, build memusagestat
1327 only if LIBGD is available.
1329 2000-08-24 Ulrich Drepper <drepper@redhat.com>
1331 * resolv/res_send.c (res_ourserver_p): Cleanup the type mess to avoid
1332 problems with now restrict parameter types.
1333 (convaddr4to6): Likewise.
1335 2000-08-24 Denis Joseph Barrow <djbarrow@de.ibm.com>
1337 * sysdeps/s390/fpu/fedisblxcpt.c: New file.
1338 * sysdeps/s390/fpu/feenablxcpt.c: New file.
1339 * sysdeps/s390/fpu/fegetexcept.c: New file.
1340 * sysdeps/s390/fpu/fenv_libc.h: Some reordering, new definition
1343 2000-08-24 Andreas Jaeger <aj@suse.de>
1345 * malloc/Makefile (extra-objs): Add memusagestat.o.
1346 (generated): Added memusage and memusagestat for make clean.
1348 * libio/tst_putwc.c (do_test): Delete temporary file.
1349 Move inclusion of test-skeleton to front to have prototype for
1352 * posix/Makefile (generated): Add wordexp-tst.out.
1354 2000-08-24 Ulrich Drepper <drepper@redhat.com>
1356 * resolv/res_hconf.c (free_mem): Remove not needed if.
1358 * time/tzset.c (free_mem): New function.
1359 * string/strsignal.c (free_mem): New function.
1360 * inet/inet_ntoa.c (free_mem): New function.
1361 * sunrpc/clnt_perr.c (free_mem): New function.
1363 2000-08-24 Andreas Jaeger <aj@suse.de>
1365 * sysdeps/unix/syscalls.list: Use __setrlimit as strong name.
1366 * sysdeps/unix/sysv/syscalls.list: Likewise.
1368 * posix/unistd.h: Move internal prototypes from here ...
1369 * include/unistd.h: ... to here.
1371 * sysvipc/sys/shm.h: Add const attribute to __getpagesize.
1373 2000-08-24 Ulrich Drepper <drepper@redhat.com>
1375 * grp/initgroups.c (initgroups): Deallocate groups array.
1376 Reported by jani.raiha@sonera.com [PR libc/1868].
1378 * sysdeps/s390/Dist: Add fpu/fenv_libc.h.
1379 * sysdeps/alpha/Dist: Likewise.
1381 2000-08-23 Ulrich Drepper <drepper@redhat.com>
1383 * crypt/md5-crypt.c (free_mem): Fix typo (constructor ->
1384 destructor). Reported by Solar Designer <solar@false.com>.
1386 * iconv/gconv_conf.c (add_module): Remove some unneeded code to
1387 avoid adding double slashes.
1389 2000-08-23 Jakub Jelinek <jakub@redhat.com>
1391 * dirent/dirent.h (alphasort, versionsort): Move __attribute_pure__
1392 out of the __REDIRECT macro.
1394 2000-08-23 Ulrich Drepper <drepper@redhat.com>
1396 * stdio-common/vfscanf.c: Add %F format support.
1398 * locale/programs/ld-ctype.c (ctype_output): Make sure
1399 _NL_CTYPE_TRANSLIT_DEFAULT_MISSING_LEN and
1400 _NL_CTYPE_TRANSLIT_IGNORE_LEN are aligned.
1401 (ctype_read): Enable returning of wide character strings for reading
1402 transliteration information.
1404 2000-08-23 Andreas Jaeger <aj@suse.de>
1406 * sysdeps/unix/sysv/linux/i386/sys/io.h (_EXTERN_INLINE): Remove.
1407 Use static __inline instead of _EXTERN_INLINE.
1409 * misc/sys/select.h: Move prototypes of __select from here ...
1410 * include/sys/select.h: ... to here.
1412 * socket/sys/socket.h: Move prototypes of __send and __connect
1414 * include/sys/socket.h: ... to here.
1416 * locale/programs/ld-ctype.c (ctype_read): Fix parameter for
1419 2000-08-23 Jakub Jelinek <jakub@redhat.com>
1421 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Use
1422 __setrlimit as strong name. Takes only 2 arguments.
1424 * sysdeps/unix/sysv/linux/sh/syscalls.list: __syscall_setrlimit
1425 takes only 2 arguments.
1427 2000-08-23 Martin Schwidefsky <schwidefsky@de.ibm.com>
1429 * sysdeps/s390/__longjmp.c: Add __ to JB_GPR*.
1431 * sysdeps/s390/bits/setjmp.h: Add __ to JB_GPR* defines.
1433 2000-08-23 Ulrich Drepper <drepper@redhat.com>
1435 * locale/programs/ld-ctype.c (ctype_read): Allow more than one
1436 default_missing character being specified, pick the first
1439 2000-08-23 Andreas Jaeger <aj@suse.de>
1441 * include/wchar.h: Add some pure attributes.
1443 * time/time.h: Add const attribute for dysize.
1445 * include/stdlib.h: Add malloc attribute to __posix memalign.
1447 * stdlib/stdlib.h: Add some pure and malloc attributes.
1448 * wcsmbs/wchar.h: Likewise.
1450 * dirent/dirent.h: Add some pure attributes.
1451 * include/dirent.h: Likewise.
1453 2000-08-23 Jakub Jelinek <jakub@redhat.com>
1455 * inet/netinet/in.h (struct in6_addr): Don't enforce 64bit alignment
1458 2000-08-22 Ulrich Drepper <drepper@redhat.com>
1460 * iconvdata/iso-2022-jp.c: In conversion to ISO-2022-JP, add two
1461 missing buffer size checks.
1463 2000-08-23 Andreas Jaeger <aj@suse.de>
1465 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Use __setrlimit as
1467 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
1469 * sysdeps/unix/sysv/linux/dl-osinfo.h: Include "kernel-features.h",
1470 otherwise __LINUX_KERNEL_VERSION might not be defined.
1471 (MIN): Define if not already defined.
1473 2000-08-22 Ulrich Drepper <drepper@redhat.com>
1475 * stdio-common/vfprintf.c: Handle %F format.
1476 * stdio-common/printf-parse.h (parse_one_spec): Likewise.
1477 Reported by Joseph S. Myers <jsm28@cam.ac.uk>.
1479 * stdio-common/tstdiomisc.c: Add test for %F printf format.
1481 * po/zh.po: New file.
1483 * iconvdata/sjis.c: In conversion from UCS4, correct test for
1484 enough room in target buffer.
1485 Patch by KUSANO Takayuki <AE5T-KSN@asahi-net.or.jp> [PR libc/1865].
1486 * iconvdata/bug-iconv1.c: New file.
1487 * iconvdata/Makefile (tests): Add bug-iconv1.
1489 * locale/iso-4217.def: Update entry for Nicaragua.
1491 2000-08-22 Mark Kettenis <kettenis@gnu.org>
1493 * hurd/hurdsig.c: Rearrange headers a bit.
1494 (_hurdsig_init): Block until _hurd_msgport_thread is initialized
1495 when cthreads is being used.
1497 2000-08-22 Ulrich Drepper <drepper@redhat.com>
1499 * elf/Makefile (distribute): Add dl-osinfo.h.
1500 * sysdeps/generic/dl-osinfo.h: New file.
1501 * sysdeps/unix/sysv/linux/dl-osinfo.h: New file.
1502 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Use DL_SYSDEP_OSCHECK
1504 * sysdeps/unix/sysv/linux/init-first.c: Perform kernel version test
1505 only for !SHARED case. Get the code from dl-osinfo.h.
1507 * stdlib/random_r.c: Cleanups.
1508 * stdlib/tst-random.c: New file.
1509 * stdlib/Makefile (tests): Add tst-random.
1510 Patches by Michael Fischer <fischer-michael@cs.yale.edu>.
1512 2000-08-21 Martin Schwidefsky <schwidefsky@de.ibm.com>
1514 * sysdeps/unix/sysv/linux/s390/getmsg.c: Remove.
1515 * sysdeps/unix/sysv/linux/s390/getpmsg.c: Remove.
1516 * sysdeps/unix/sysv/linux/s390/putmsg.c: Remove.
1517 * sysdeps/unix/sysv/linux/s390/putpmsg.c: Remove.
1519 2000-08-22 Jakub Jelinek <jakub@redhat.com>
1521 * sysdeps/unix/sysv/linux/alpha/syscalls.list (sysctl): Remove.
1522 * sysdeps/unix/sysv/linux/ia64/syscalls.list (sysctl): Remove.
1523 (__syscall__sysctl): Add.
1525 2000-08-21 Andreas Jaeger <aj@suse.de>
1527 * stdlib/tst-strtol.c: Add test for 0xFFFFFFFFFFFF00FF (from PR
1529 * stdlib/tst-strtoll.c: Likewise.
1531 2000-08-21 Ulrich Drepper <drepper@redhat.com>
1533 * stdlib/random_r.c (__setstate_r): Also compute end_ptr
1535 (__initstate_r): Set errno on error.
1536 (__random_r): Likewise.
1537 (__setstate_r): Correct offset when computing
1538 new rptr and fptr. Test for arg_state being NULL.
1539 Reported by Michael Fischer <fischer@cs.yale.edu>.
1541 * posix/regex.h: Add macro definitions to allow compiling outside
1544 * sysdeps/i370/Implies: Removed.
1545 * sysdeps/mvs/Implies: Removed.
1547 * catgets/catgets.c (catopen): Filter out env_var values with / if
1550 * locale/findlocale.c (_nl_find_locale): Move test for unusable
1551 locale name after all getenvs.
1553 * configure.in: Allow sed versions like 3.02.8.
1554 Patch by Rodrigo Barbosa <rodrigob@conectiva.com.br>.
1556 2000-08-21 Marko Myllynen <myllynen@lut.fi>
1558 * inet/netinet/icmp6.h: Add Mobile IPv6 extensions structures.
1560 2000-08-21 Ulrich Drepper <drepper@redhat.com>
1562 * sysdeps/posix/getaddrinfo.c (gethosts): Handle TRY_AGAIN error
1563 of gethostbyname2_r call.
1565 * intl/locale.alias: Add aliases for Korean.
1567 2000-08-21 Martin Schwidefsky <schwidefsky@de.ibm.com>
1569 * sysdeps/s390/__longjmp.c: Remove unused variable result.
1570 * sysdeps/s390/fpu/bits/fenv.h: Move FPC_* definitions to fenv_libc.h.
1571 * sysdeps/s390/fpu/fclrexcpt.c: Include fenv_libc.h instead of fenv.h.
1572 * sysdeps/s390/fpu/fegetenv.c: New file.
1573 * sysdeps/s390/fpu/fegetround.c: Include fenv_libc.h instead of fenv.h.
1574 * sysdeps/s390/fpu/feholdexcpt.c: New file.
1575 * sysdeps/s390/fpu/fenv_libc.h: New file.
1576 * sysdeps/s390/fpu/fesetenv.c: New file.
1577 * sysdeps/s390/fpu/fesetround.c: Include fenv_libc.h instead of fenv.h.
1578 * sysdeps/s390/fpu/feupdateenv.c: New file.
1579 * sysdeps/s390/fpu/fgetexcptflg.c: Reformatted.
1580 * sysdeps/s390/fpu/fpu_control.h: Corrected header.
1581 * sysdeps/s390/fpu/fraiseexcpt.c: New file.
1582 * sysdeps/s390/fpu/fsetexcptflg.c: New file.
1583 * sysdeps/s390/fpu/ftestexcept.c: New file.
1584 * sysdeps/s390/fpu/libm-test-ulps: New file.
1585 * sysdeps/s390/gmp-mparam.h: Add end of comment.
1586 * sysdeps/s390/initfini.c: New file.
1587 * sysdeps/unix/sysv/linux/s390/Dist: Add sys/procfs.h.
1588 * sysdeps/unix/sysv/linux/s390/Makefile: Remove sys/reg.h.
1589 * sysdeps/unix/sysv/linux/s390/bits/stat.h: New file.
1590 * sysdeps/unix/sysv/linux/s390/lchown.c: New file.
1591 * sysdeps/unix/sysv/linux/s390/sys/elf.h: Move elf definitions to
1592 sys/procfs.h as proposed by Mark Kettenis.
1593 * sysdeps/unix/sysv/linux/s390/sys/procfs.h: New file.
1595 2000-08-21 Andreas Jaeger <aj@suse.de>
1597 * include/poll.h: Include include/sys/poll.h to get __poll
1600 * io/sys/poll.h: Move __poll declaration from here...
1601 * include/sys/poll.h: ...to here.
1603 * include/sys/socket.h (__getpeername): Add declaration.
1605 * include/wchar.h (__vswprintf): Add declaration.
1607 * include/stdio.h (__flockfile): Add declaration.
1608 (__funlockfile): Likewise.
1610 2000-08-20 Ulrich Drepper <drepper@redhat.com>
1612 * misc/sys/cdefs.h: Define __restrict_arr.
1613 * include/sys/time.h: Add restrict where required by AGd4.
1614 * inet/arpa/inet.h: Likewise.
1615 * io/sys/stat.h: Likewise.
1616 * io/sys/statvfs.h: Likewise.
1617 * misc/search.h: Likewise.
1618 * misc/sys/select.h: Likewise.
1619 * posix/glob.h: Likewise.
1620 * posix/regex.h: Likewise.
1621 * posix/spawn.h: Likewise.
1622 * posix/unistd.h: Likewise.
1623 * rt/aio.h: Likewise.
1624 * signal/signal.h: Likewise.
1625 * socket/sys/socket.h: Likewise.
1626 * stdlib/ucontext.h: Likewise.
1627 * streams/stropts.h: Likewise.
1628 * string/string.h: Likewise.
1629 * time/time.h: Likewise.
1630 * time/sys/time.h: Likewise.
1632 * posix/spawn.h: Add declarations for posix_spawnattr_getscheparam
1633 and posix_spawnattr_setscheparam.
1635 * libio/stdio.h: Make cuserid prototype again available for all
1638 * argp/argp-help.c: Unify use of function aliases to make more compact
1640 * include/libintl.h: Likewise.
1641 * inet/rcmd.c: Likewise.
1642 * intl/dcigettext.c: Likewise.
1643 * libio/iofputws.c: Likewise.
1644 * libio/iofputws_u.c: Likewise.
1645 * libio/iogetwline.c: Likewise.
1646 * libio/swprintf.c: Likewise.
1647 * malloc/malloc.c: Likewise.
1648 * nss/digits_dots.c: Likewise.
1649 * posix/fnmatch.c: Likewise.
1650 * posix/spawn_faction_addclose.c: Likewise.
1651 * posix/spawn_faction_adddup2.c: Likewise.
1652 * posix/spawn_faction_addopen.c: Likewise.
1653 * posix/spawni.c: Likewise.
1654 * posix/wordexp.c: Likewise.
1655 * posix/spawni.c: Likewise.
1656 * resolv/res_hconf.c: Likewise.
1657 * resolv/res_init.c: Likewise.
1658 * shadow/lckpwdf.c: Likewise.
1659 * signal/sighold.c: Likewise.
1660 * signal/sigrelse.c: Likewise.
1661 * stdio-common/printf-parse.h: Likewise.
1662 * stdio-common/printf-prs.c: Likewise.
1663 * stdio-common/printf_fp.c: Likewise.
1664 * stdio-common/vfprintf.c: Likewise.
1665 * stdio-common/vfscanf.c: Likewise.
1666 * stdlib/rpmatch.c: Likewise.
1667 * sunrpc/create_xid.c: Likewise.
1668 * sunrpc/key_call.c: Likewise.
1669 * sysdeps/generic/setrlimit64.c: Likewise.
1670 * sysdeps/generic/utmp_file.c: Likewise.
1671 * sysdeps/generic/vlimit.c: Likewise.
1672 * sysdeps/posix/posix_fallocate.c: Likewise.
1673 * sysdeps/posix/posix_fallocate64.c: Likewise.
1674 * sysdeps/posix/sigpause.c: Likewise.
1675 * sysdeps/posix/sigset.c: Likewise.
1676 * sysdeps/unix/grantpt.c: Likewise.
1677 * sysdeps/unix/bsd/ualarm.c: Likewise.
1678 * sysdeps/unix/sysv/linux/dl-origin.c: Likewise.
1679 * sysdeps/unix/sysv/linux/getloadavg.c: Likewise.
1680 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
1681 * sysdeps/unix/sysv/linux/ulimit.c: Likewise.
1682 * time/strftime.c: Likewise.
1683 * wcsmbs/wcscoll.c: Likewise.
1684 * wcsmbs/wcsxfrm.c: Likewise.
1686 * time/tst-getdate.c (main): Make error messages more human readable.
1688 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Allow gcc to generate
1689 postinc/predec instruction.
1690 (_FPU_SETCW): Likewise.
1691 Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
1693 2000-08-20 Andreas Jaeger <aj@suse.de>
1695 * time/tst-getdate.c (main): Increase error in case of wrong
1697 Fix typo in test case.
1699 2000-08-20 Ulrich Drepper <drepper@redhat.com>
1701 * ctype/ctype.h (isblank): Make available if ISO C99.
1702 * wctype/wctype.h (iswblank): Make available if ISO C99.
1703 * math/math.h (signgam): Don't make available if ISO C99.
1704 * math/tgmath.h (tgamma): Renamed from gamma.
1705 Patches by Joseph S. Myers <jsm28@cam.ac.uk>.
1707 * intl/loadmsgcat.c (_nl_unload_domain): Also free conv_tab element.
1709 * intl/plural.y (new_exp): Take number of optional parameters in
1710 second parameter. Test for correct number of parameters and free
1711 correctly in case of failure. Adjust all callers.
1712 (yylex): Allow ';' as terminator character.
1714 2000-08-19 Ulrich Drepper <drepper@redhat.com>
1716 * locale/lc-time.c (free_mem): New function. Free alt_digits and
1719 * locale/findlocale.c (free_mem): Also free here->filename.
1721 * locale/loadlocale.c (_nl_unload_locale): Also free locale->name.
1723 * math/test-fenv.c (feenv_tests): Clear all exceptions before
1725 (feexcp_nomask_test): Correct printf args.
1726 (feexcp_mask_test): Likewise.
1728 2000-08-19 Andreas Jaeger <aj@suse.de>
1730 * inet/tst-gethnm.c: Include string.h to provide prototype for
1733 * malloc/mtrace.pl (usage): Inform about --help.
1735 2000-08-19 Wolfram Gloger <wg@malloc.de>
1737 * malloc/malloc.c (new_heap): Try harder to get an aligned chunk of
1740 2000-08-19 Andreas Jaeger <aj@suse.de>
1742 * shlib-versions: Remove libnss_db, libdb and libdb1.
1744 2000-08-19 Jakub Jelinek <jakub@redhat.com>
1746 * sysdeps/unix/sysv/linux/alpha/readdir.c: Move...
1747 * sysdeps/unix/sysv/linux/ia64/readdir.c: ...here and
1748 * sysdeps/unix/sysv/linux/sparc/sparc64/readdir.c: ...here.
1749 * sysdeps/unix/sysv/linux/alpha/readdir_r.c: Move...
1750 * sysdeps/unix/sysv/linux/ia64/readdir_r.c: ...here and
1751 * sysdeps/unix/sysv/linux/sparc/sparc64/readdir_r.c: ...here.
1752 * sysdeps/unix/sysv/linux/alpha/readdir64.c: Remove.
1753 * sysdeps/unix/sysv/linux/alpha/readdir64_r.c: Remove.
1754 * sysdeps/unix/sysv/linux/alpha/getdents64.c: Remove.
1755 * sysdeps/unix/sysv/linux/alpha/getdents.c: Only use for non-LFS
1757 * sysdeps/unix/sysv/linux/readdir64.c: Remove versioning.
1758 * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
1760 2000-08-18 Jakub Jelinek <jakub@redhat.com>
1762 * include/glob.h (__glob64): Add prototype.
1763 * sysdeps/generic/glob.c: If GLOB_ONLY_P is defined, only
1764 define glob and glob_in_dir.
1765 * sysdeps/unix/sysv/linux/i386/Versions: Add glob64@@GLIBC_2.2.
1766 * sysdeps/unix/sysv/linux/arm/Versions: Likewise.
1767 * sysdeps/unix/sysv/linux/powerpc/Versions: Likewise.
1768 * sysdeps/unix/sysv/linux/sparc/sparc32/Versions: Likewise.
1769 * sysdeps/unix/sysv/linux/i386/glob64.c: New file.
1770 * sysdeps/unix/sysv/linux/arm/glob64.c: New file.
1771 * sysdeps/unix/sysv/linux/powerpc/glob64.c: New file.
1772 * sysdeps/unix/sysv/linux/sparc/sparc32/glob64.c: New file.
1774 2000-08-18 Jakub Jelinek <jakub@redhat.com>
1776 * malloc/Makefile (memusage): libmemusage.so is installed in slibdir.
1778 2000-08-17 Andreas Jaeger <aj@suse.de>
1780 * math/test-fenv.c (fe_single_test): New function.
1781 (fe_env_tests): Use fe_single_test.
1782 (feenable_test): New tests for feenable/fedisable and
1784 (feexcp_mask_test): New function.
1785 (feexcp_nomask_test): New function.
1787 2000-08-19 Richard Henderson <rth@cygnus.com>
1789 * sysdeps/alpha/fpu/fenv_libc.h: New file.
1790 * sysdeps/alpha/fpu/fclrexcpt.c: Use it.
1791 * sysdeps/alpha/fpu/fegetenv.c: Likewise.
1792 * sysdeps/alpha/fpu/fesetround.c: Likewise.
1793 * sysdeps/alpha/fpu/fegetround.c: Likewise.
1794 * sysdeps/alpha/fpu/fgetexcptflg.c: Likewise.
1795 * sysdeps/alpha/fpu/fraiseexcpt.c: Likewise.
1796 * sysdeps/alpha/fpu/ftestexcept.c: Likewise.
1797 * sysdeps/alpha/fpu/fedisblxcpt.c: Likewise. Use the smaller mask.
1798 * sysdeps/alpha/fpu/feenablxcpt.c: Likewise.
1799 * sysdeps/alpha/fpu/fegetexcept.c: Likewise.
1800 * sysdeps/alpha/fpu/feholdexcpt.c: Retain the SWCR_MAP bits.
1801 * sysdeps/alpha/fpu/fesetenv.c: Likewise.
1802 * sysdeps/alpha/fpu/feupdateenv.c: Likewise.
1803 * sysdeps/alpha/fpu/fsetexcptflg.c: Likewise.
1804 * sysdeps/alpha/fpu/bits/fenv.h (FE_DENORMAL): New.
1805 (FE_MAP_DMZ, FE_MAP_UMZ, FE_NONIEEE_ENV): New.
1807 2000-08-19 Andreas Jaeger <aj@suse.de>
1809 * elf/constload1.c: Include <stdio.h> for puts prototype.
1811 2000-08-19 Ulrich Drepper <drepper@redhat.com>
1813 * elf/Versions [ld] (GLIBC_2.2): Export _dl_check_map_versions.
1814 * elf/dl-deps.c (_dl_map_object_deps): If object was dependency of
1815 a dynamically loaded object remove old l_initfini list.
1816 * elf/dl-libc.c (free_mem): Used as __libc_subfreeres callback to
1817 remove some dynamically allocated memory blocks in the dynamic
1818 loading data structures.
1819 * elf/dl-load.c (add_name_to_object): Initialize dont_free to 0.
1820 * elf/dl-open.c (dl_open_workder): Don't call _dl_check_all_versions.
1821 Instead call _dl_check_map_versions only for the dependencies.
1822 * elf/rtld.c: Avoid unneccessary initializations. Mark l_libname
1823 information of initial objects as not free-able.
1824 * sysdeps/generic/ldsodefs.h (struct libname_list): Add dont_free
1827 * elf/filter.c: Call mtrace.
1828 * elf/restest1.c: Likewise. Close the objects.
1829 * elf/loadtest.c: Call mtrace. Check result of dlclose. Print more
1832 * elf/constload1.c: Add comment explaining not freed memory.
1834 2000-08-18 Andreas Jaeger <aj@suse.de>
1836 * sysdeps/unix/sysv/linux/mips/bits/stat.h: Add pads to show
1837 alignment for structs stat and stat64.
1838 Patch by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
1840 2000-08-17 Ulrich Drepper <drepper@redhat.com>
1842 * sysdeps/unix/sysv/linux/alpha/getdents.c: Remove special d_ino
1843 handling. Patch by Richard Henderson <rth@twiddle.net>.
1845 * nss/Versions: Remove libnss_db information.
1847 2000-08-16 Jakub Jelinek <jakub@redhat.com>
1849 * sysdeps/sparc/fpu/fedisblxcpt.c: New file.
1850 * sysdeps/sparc/fpu/feenablxcpt.c: New file.
1851 * sysdeps/sparc/fpu/fegetexcept.c: New file.
1852 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: New file.
1854 * sysdeps/sparc/sparc64/dl-machine.h: Subtract 4 .rela.plt entries
1857 2000-08-17 Ulrich Drepper <drepper@redhat.com>
1859 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Use type-correct code.
1860 (_FPU_SETCW): Likewise.
1861 Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
1863 * stdio-common/printf_fp.c: Fix chars_needed computation.
1864 Patch by Greg McGary <greg@mcgary.org>.
1866 2000-08-17 Jakub Jelinek <jakub@redhat.com>
1868 * elf/dl-load.c (_dl_map_object): Don't crash if both loader and
1869 _dl_loaded are NULL.
1871 2000-08-17 Jakub Jelinek <jakub@redhat.com>
1873 * manual/arith.texi (feholdexcept): Returns 0 on success.
1875 2000-08-17 Andreas Jaeger <aj@suse.de>
1877 * sysdeps/gnu/net/if.h (struct ifreq): Add ifru_newname.
1879 Reported by Andi Kleen <ak@suse.de>.
1881 2000-08-17 Jakub Jelinek <jakub@redhat.com>
1883 * sysdeps/alpha/fpu/fedisblxcpt.c: New file.
1884 * sysdeps/alpha/fpu/feenablxcpt.c: New file.
1885 * sysdeps/alpha/fpu/fegetexcept.c: New file.
1887 2000-08-16 Jakub Jelinek <jakub@redhat.com>
1889 * sysdeps/unix/sysv/linux/xstatconv.c (xstat32_conv): Test sizes
1890 of buf->st_ino and kbuf->st_ino, not __st_ino.
1891 If _HAVE_STAT64___ST_INO is not defined, don't use __st_ino at all.
1892 * sysdeps/unix/sysv/linux/getdents64.c: Change path in #include
1893 directive so that only linux/getdents.c is used, not some
1894 architecture specific one.
1896 2000-08-16 Jakub Jelinek <jakub@redhat.com>
1898 * sysdeps/i386/fpu/fegetexcept.c (fegetexcept): Return currently
1899 enabled, not disabled exceptions.
1900 * sysdeps/i386/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
1901 * sysdeps/i386/fpu/feenablxcpt.c (feenableexcept): Likewise.
1903 2000-08-17 Greg McGary <greg@mcgary.org>
1905 * Makeconfig (link-extra-libs-bounded): Strip `-bp' suffix
1906 from test program name when constructing suffix for $(LDLIBS-*).
1907 (bounded-thread-library): New variable.
1909 [build-shared, build-static] (libcrypt-dep): Remove variable.
1910 ($(addprefix $(objpfx),$(tests))): Consolidate individual dependencies.
1911 [build-bounded] ($(tests:%=$(objpfx)%-bp)): Add dependencies.
1912 * linuxthreads/Makefile (libpthread, librt): Remove variables.
1913 (librt-tests): Add variable. (tests): Use it.
1914 [build-shared, build-static]
1915 ($(addprefix $(objpfx),$(tests)),
1916 $(addprefix $(objpfx),$(librt-tests))):
1917 Consolidate individual dependencies.
1919 ($(tests:%=$(objpfx)%-bp), $(librt-tests:%=$(objpfx)%-bp)):
1921 * math/Makefile (LDLIBS-*): Remove variables (they are redundant).
1922 [build-bounded] ($(tests:%=$(objpfx)%-bp)): Add dependencies.
1924 [build-bounded] ($(objpfx)tst-tsearch-bp): Add dependencies.
1926 [build-shared, build-static]
1927 ($(addprefix $(objpfx),$(tests))): Consolidate individual dependencies.
1928 [build-bounded] ($(tests:%=$(objpfx)%-bp)): Add dependencies.
1930 2000-08-17 Greg McGary <greg@mcgary.org>
1932 * sysdeps/generic/bp-checks.h: s/\(CHECK\w+\)opt/\1_NULL_OK/
1933 * sysdeps/unix/make-syscalls.sh: Likewise.
1934 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
1935 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
1936 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
1937 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c: Likewise.
1938 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Likewise.
1940 2000-08-17 Greg McGary <greg@mcgary.org>
1942 * sysdeps/i386/fpu/s_frexp.S: Check bounds.
1943 Wrap extern symbols in BP_SYM ().
1944 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
1945 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
1946 * sysdeps/i386/fpu/s_remquo.S: Likewise.
1947 * sysdeps/i386/fpu/s_remquof.S: Likewise.
1948 * sysdeps/i386/fpu/s_remquol.S: Likewise.
1949 * sysdeps/i386/fpu/s_sincos.S: Likewise.
1950 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
1951 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
1952 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
1953 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
1955 2000-08-16 Andreas Schwab <schwab@suse.de>
1957 * sysdeps/m68k/fpu/fegetexcept.c: New file.
1958 * sysdeps/m68k/fpu/fedisblxcpt.c: New file.
1959 * sysdeps/m68k/fpu/feenablxcpt.c: New file.
1961 2000-08-15 Ulrich Drepper <drepper@redhat.com>
1963 * sysdeps/generic/ldsodefs.h: Declare _nl_nloaded.
1964 * elf/Versions [ld] (GLIBC_2.2): Add _nl_nloaded.
1965 * elf/dl-support.c: Define _nl_nloaded.
1966 * elf/rtld.c: Likewise. Increment _nl_nloaded for rtld itself.
1967 * elf/dl-object.c (_dl_new_object): Increment _nl_nloaded after adding
1968 object to global list.
1969 * elf/dl-close.c (_dl_close): Decrement _nl_nloaded after removing
1970 from _dl_loaded list.
1971 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
1972 * elf/dl-fini.c (_dl_fini): Use _nl_nloaded instead of computing the
1975 * sysdeps/i386/fpu/fedisblxcpt.c (fedisableexcept): Mask, not
1977 * sysdeps/i386/fpu/feenablxcpt.c (feenableexcept): Unmask, not mask,
1979 Reported by Harvey J. Stein <hjstein@bfr.co.il>.
1981 2000-08-16 Andreas Jaeger <aj@suse.de>
1983 * elf/elf.h (EM_X8664): Add official x86-64 specific value.
1985 2000-08-15 Marko Myllynen <myllynen@lut.fi>
1987 * inet/netinet/icmp6.h: Added Mobile IPv6 definitions.
1989 2000-08-15 Ulrich Drepper <drepper@redhat.com>
1991 * sysdeps/unix/sysv/linux/powerpc/Dist: Add oldgetrlimit64.c.
1992 * sysdeps/unix/sysv/linux/powerpc/Makefile [$(subdir)=resource]
1993 (sysdep_routines): Add oldgetrlimit64.
1994 * sysdeps/unix/sysv/linux/powerpc/oldgetrlimit64.c: New file.
1995 Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
1997 * include/link.h: Undo last patches. Hurd now has stat64.
1998 * elf/Makefile: Likewise.
1999 * elf/dl-load.c: Likewise.
2000 * elf/dl-misc.c: Likewise.
2001 * elf/dl-profile.c: Likewise.
2002 * sysdeps/generic/sysd-link.h: Removed.
2003 * sysdeps/unix/sysv/linux/sysd-link.h: Removed.
2005 * rt/aio_notify.c (notify_func_wrapper): Wrapper function to call
2006 thread event callback function.
2007 (__aio_notify_only): Use function above.
2008 Patch by Kaz Kylheku <kaz@ashi.footprints.net>.
2010 2000-08-16 Mark Kettenis <kettenis@gnu.org>
2012 * sysdeps/mach/hurd/lseek64.c: New file.
2014 2000-08-15 Mark Kettenis <kettenis@gnu.org>
2016 * sysdeps/mach/hurd/i386/bits/time.h (__clockid_t, __timer_t):
2018 * sysdeps/mach/hurd/bits/time.h (__clockid_t, __timer_t): Remove
2020 * sysdeps/generic/bits/time.h (__clockid_t, __timer_t): Remove
2022 * sysdeps/generic/bits/types.h (__clockid_t, __timer_t): New typedefs.
2024 2000-08-15 Mark Kettenis <kettenis@gnu.org>
2026 * sysdeps/mach/hurd/xstatconv.c: New file.
2027 * sysdeps/mach/hurd/fxstat64.c: New file.
2028 * sysdeps/mach/hurd/lxstat64.c: New file.
2029 * sysdeps/mach/hurd/xstat64.c: New file.
2030 * sysdeps/mach/hurd/Dist: Add xstatconv.c.
2032 2000-08-15 Mark Kettenis <kettenis@gnu.org>
2034 * sysdeps/mach/hurd/dl-sysdep.c (__libc_multiple_libcs):
2035 Initialize, needed for change in common symbol handling in newer
2036 binutils. Mirrors 2000-01-03 change made by Andreas Schwab.
2038 2000-08-15 Ulrich Drepper <drepper@redhat.com>
2040 * elf/constload1.c: Call mtrace. Check return value of dlclose call.
2041 * elf/constload2.c: Add destructor to unload constload3.
2043 * include/link.h: Include sysd-link.h.
2044 * sysdeps/generic/sysd-link.h: New file.
2045 * sysdeps/unix/sysv/linux/sysd-link.h: New file.
2046 * elf/Makefile (distribute): Add sysd-link.h.
2047 * elf/dl-load.c: Use definitions from sysd-link.h instead of stat
2048 types and functions directly.
2049 * elf/dl-misc.c: Likewise.
2050 * elf/dl-profile.c: Likewise.
2052 * elf/loadfail.c (main): Close all successfully loaded objects.
2054 * elf/multiload.c: Add mtrace call. Call dlclose for all handles and
2056 * elf/dl-deps.c (_dl_map_object_deps): Don't allocate needed list if
2057 there is already one.
2059 * elf/dl-close.c: Pretty print.
2061 2000-08-14 Ulrich Drepper <drepper@redhat.com>
2063 * sysdeps/posix/ttyname.c: Make name variable from getttyname function
2064 global (with file scope). Add __libc_subfreeres function to free the
2066 * sysdeps/unix/sysv/linux/ttyname.c: Likewise. Also for buf variable
2067 in ttyname function.
2069 * sysdeps/generic/strtok.c: Remove initializer for olds variable.
2071 * crypt/md5-crypt.c: Let destructor deallocate static buffer.
2073 * iconvdata/sjis.c (from_ucs4_lat1): Handle U005C and U007E by
2074 mapping them to /x5c and /x7e respectively.
2076 * locale/programs/ld-ctype.c: Add support for more definitions after
2079 2000-08-14 Jakub Jelinek <jakub@redhat.com>
2081 * dirent/Versions (getdirentries64): Export at GLIBC_2.2.
2082 * sysdeps/unix/sysv/linux/kernel-features.h
2083 (__ASSUME_GETDENTS64_SYSCALL): Define.
2084 * sysdeps/unix/sysv/linux/getdents.c (__getdents): Use getdents64
2085 syscall if available to get d_type fields.
2086 * sysdeps/unix/sysv/linux/alpha/getdents.c (DIRENT_TYPE): Define.
2087 * sysdeps/unix/sysv/linux/arm/Versions (__xstat64, __fxstat64,
2088 __lxstat64): Export at GLIBC_2.2.
2089 (alphasort64, readdir64, readdir64_r, scandir64, versionsort64):
2091 * sysdeps/unix/sysv/linux/i386/Versions (getdirentries64): Remove.
2092 * sysdeps/unix/sysv/linux/i386/getdents64.c (kernel_dirent64): Define.
2093 * sysdeps/unix/sysv/linux/powerpc/Versions (alphasort64,
2094 getdirentries64, versionsort64): Remove.
2095 * sysdeps/unix/sysv/linux/sparc/sparc32/Versions (alphasort64,
2096 getdirentries64, versionsort64): Remove.
2098 2000-08-13 Ulrich Drepper <drepper@redhat.com>
2100 * posix/Makefile: Remove rules to generate glob package.
2102 * posix/Makefile (tests): Add tst-regexloc.
2103 (tst-regexloc-ENV): Add LOCPATH.
2104 * posix/tst-regexloc.c: New file.
2106 2000-08-12 Andreas Jaeger <aj@suse.de>
2108 * include/features.h (__STDC_ISO_10646__): Define.
2109 Reported by Markus Kuhn <Markus.Kuhn@cl.cam.ac.uk>.
2111 2000-08-13 Ulrich Drepper <drepper@redhat.com>
2113 * include/features.h (__USE_ISOC99): Define for _XOPEN_SOURCE >= 600.
2115 * locale/langinfo.h: Define YESSTR and NOSTR also for XPG4 (but not
2116 for revision 6 and up).
2118 * posix/sys/types.h: Define __need_timer_t and __need_clockid_t before
2120 * time/time.h: Allow __need_timer_t and __need_clockid_t to be defined
2121 to get definitions of just these types.
2123 * signal/signal.h: Define thread signal handling functions also for
2126 * sysdeps/unix/sysv/linux/bits/types.h: Define thread types also for
2128 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
2129 * sysdeps/unix/sysv/linux/ia64/bits/types.h: Likewise.
2130 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
2131 * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
2133 * sysvipc/sys/shm.h: Define pid_t for XPG.
2135 * posix/unistd.h: Remove setkey, rename, and cuserid prototypes as
2136 they are not anymore required here.
2138 * wcsmbs/wchar.h: Make the various wide char string and stream
2139 functions available for the respective XPG versions.
2141 * nss/Makefile: Remove rules to build and distribute nss_db.
2143 * sysdeps/generic/alphasort64.c: Remove unnecessary versioning.
2144 * sysdeps/generic/scandir64.c: Likewise.
2145 * sysdeps/generic/versionsort64.c: Likewise.
2147 2000-08-13 Ulrich Drepper <drepper@redhat.com>
2148 Benjamin Koznik <bkoz@redhat.com>
2150 * libio/fileops.c: Merge with libstdc++-v3.
2151 * libio/genops.c: Likewise.
2152 * libio/iofclose.c: Likewise.
2153 * libio/iofopen.c: Likewise.
2154 * libio/iofwide.c: Likewise.
2155 * libio/libio.h: Likewise.
2156 * libio/libioP.h: Likewise.
2157 * libio/stdfiles.c: Likewise.
2158 * libio/stdio.c: Likewise.
2159 * libio/wfileops.c: Likewise.
2160 * libio/wgenops.c: Likewise.
2162 * libio/Versions: Export functions needed by libstdc++-v3 in GLIBC_2.2.
2164 2000-08-12 Ulrich Drepper <drepper@redhat.com>
2166 * locale/programs/localedef.c: Implement --prefix option to allow
2167 writing in standard places of alternative install directories.
2169 * posix/regex.c (compile_range): Implement collation sequence
2170 handling for glibc. Use simple character ordering otherwise and
2173 2000-08-12 Mark Kettenis <kettenis@gnu.org>
2175 * sysdeps/generic/scandir64.c: Include <dirent.h>.
2177 2000-08-12 Andreas Jaeger <aj@suse.de>
2179 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Handle
2180 __USE_FILE_OFFSET64 correctly for locking.
2181 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
2183 2000-08-12 Jakub Jelinek <jakub@redhat.com>
2185 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
2186 Define for 2.4.1 on sparc as well.
2187 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Fill in correct values
2188 for F_GETLK64, F_SETLK64, and F_SETLKW64.
2189 * sysdeps/unix/sysv/linux/sparc/sparc32/fcntl.c: New file.
2190 * sysdeps/unix/sysv/linux/sparc/sparc32/lockf64.c: New file.
2192 2000-08-12 Ulrich Drepper <drepper@redhat.com>
2194 * io/fts.c (fts_stat): Recognize DT_WHT only if S_IFWHT is also
2197 2000-08-12 Andreas Jaeger <aj@suse.de>
2199 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h (F_GETLK64,
2200 F_SETLK64, F_SETLKW64): Define with F_GETLK etc.
2202 * sysdeps/unix/sysv/linux/mips/sys/tas.h (_test_and_set): Add .set
2203 mips2 for assembler.
2205 * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Try fcntl
2206 if fnctl64 is not available for F_*LK*64.
2208 * sysdeps/unix/sysv/linux/i386/lockf64.c: New file.
2210 2000-08-12 Ulrich Drepper <drepper@redhat.com>
2212 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
2213 Define for 2.4.1 on x86.
2214 * sysdeps/unix/sysv/linux/i386/fcntl.c: New file.
2215 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Fill in correct values
2216 for F_GETLK64, F_SETLK64, and F_SETLKW64.
2218 * dirent/dirent.h: Define DT_WHT.
2220 * sysdeps/unix/sysv/linux/arm/alphasort64.c: New file.
2221 * sysdeps/unix/sysv/linux/arm/getdents64.c: New file.
2222 * sysdeps/unix/sysv/linux/arm/readdir64.c: New file.
2223 * sysdeps/unix/sysv/linux/arm/readdir64_r.c: New file.
2224 * sysdeps/unix/sysv/linux/arm/scandir64.c: New file.
2225 * sysdeps/unix/sysv/linux/arm/versionsort64.c: New file.
2227 2000-08-11 Ulrich Drepper <drepper@redhat.com>
2229 * nss/digits_dots.c: Don't pass NULL in h_aliases for successful
2230 lookup, pass pointer to array with NULL pointer [PR libc/1858].
2231 * inet/Makefile (tests): Add tst-gethnm.
2232 * inet/tst-gethnm.c: New file.
2234 * rt/aio_cancel.c: If canceling a specific request which is running
2235 *really* do nothing.
2236 * rt/aio_misc.h: Add `done' to states of a request.
2237 * rt/aio_misc.c: Add several tests for the correct state.
2238 Simplify request table memory handling.
2240 2000-08-10 Jakub Jelinek <jakub@redhat.com>
2242 * dirent/scandir.c: Use it for scandir64 and old_scandir64 as well.
2243 * dirent/scandir64.c: Move...
2244 * sysdeps/generic/scandir64.c: ...here.
2245 * dirent/alphasort64.c: Move...
2246 * sysdeps/generic/alphasort64.c: ...here.
2247 * dirent/versionsort64.c: Move...
2248 * sysdeps/generic/versionsort64.c: ...here.
2249 * sysdeps/unix/sysv/linux/i386/dirent/Versions (alphasort64,
2250 getdirentries64, readdir64, readdir64_r, scandir64, versionsort64):
2251 Export symbols at GLIBC_2.2.
2252 * sysdeps/unix/sysv/linux/powerpc/dirent/Versions: Likewise.
2253 * sysdeps/unix/sysv/linux/sparc/sparc32/dirent/Versions: Likewise.
2254 * include/dirent.h (__readdir64_r, __scandir64, __alphasort64,
2255 __versionsort64): Add prototypes.
2256 * io/Versions (__xstat64, __fxstat64, __lxstat64): Export at GLIBC_2.2.
2257 * sysdeps/unix/sysv/linux/alpha/kernel_stat.h (__xstat_conv): Remove
2259 * sysdeps/unix/sysv/linux/alpha/readdir.c: Export at both GLIBC_2.1
2261 * sysdeps/unix/sysv/linux/alpha/readdir_r.c: Likewise.
2262 * sysdeps/unix/sysv/linux/alpha/getdents.c: New.
2263 * sysdeps/unix/sysv/linux/alpha/getdents64.c: New.
2264 * sysdeps/unix/sysv/linux/bits/types.h (__ino64_t): Change to
2266 * sysdeps/unix/sysv/linux/bits/stat.h (struct stat, struct stat64):
2267 Adjust for kernel-2.4.0-test6 layout.
2268 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat64): Export at both
2269 GLIBC_2.1 and GLIBC_2.2.
2270 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat64): Likewise.
2271 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat64): Likewise.
2272 * sysdeps/unix/sysv/linux/i386/getdents64.c: New.
2273 * sysdeps/unix/sysv/linux/i386/olddirent.h: New.
2274 * sysdeps/unix/sysv/linux/i386/readdir64.c: New.
2275 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: New.
2276 * sysdeps/unix/sysv/linux/i386/scandir64.c: New.
2277 * sysdeps/unix/sysv/linux/i386/alphasort64.c: New.
2278 * sysdeps/unix/sysv/linux/i386/versionsort64.c: New.
2279 * sysdeps/unix/sysv/linux/ia64/getdents.c: New.
2280 * sysdeps/unix/sysv/linux/ia64/getdents64.c: New.
2281 * sysdeps/unix/sysv/linux/ia64/readdir.c: Include alpha/readdir.c.
2282 * sysdeps/unix/sysv/linux/ia64/readdir_r.c: Include alpha/readdir_r.c.
2283 * sysdeps/unix/sysv/linux/mips/bits/types.h (__ino64_t): Change to
2285 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: New.
2286 * sysdeps/unix/sysv/linux/powerpc/kernel_stat.h (_HAVE_STAT*): Define.
2287 * sysdeps/unix/sysv/linux/powerpc/scandir64.c: New.
2288 * sysdeps/unix/sysv/linux/powerpc/getdents64.c: New.
2289 * sysdeps/unix/sysv/linux/powerpc/readdir64.c: New.
2290 * sysdeps/unix/sysv/linux/powerpc/readdir64_r.c: New.
2291 * sysdeps/unix/sysv/linux/sparc/bits/types.h (__ino64_t): Change to
2293 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: New.
2294 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h (_HAVE_STAT*):
2296 * sysdeps/unix/sysv/linux/sparc/sparc32/getdents64.c: New.
2297 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64.c: New.
2298 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64_r.c: New.
2299 * sysdeps/unix/sysv/linux/sparc/sparc32/scandir64.c: New.
2300 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h (_HAVE_STAT*):
2302 * sysdeps/unix/sysv/linux/sparc/sparc64/readdir.c: Include
2304 * sysdeps/unix/sysv/linux/sparc/sparc64/readdir_r.c: Include
2306 * sysdeps/unix/sysv/linux/sparc/sparc64/getdents.c: New.
2307 * sysdeps/unix/sysv/linux/sparc/sparc64/getdents64.c: New.
2308 * sysdeps/unix/sysv/linux/fxstat64.c (__fxstat64): If
2309 _HAVE_STAT64___ST_INO and __st_ino != (uint32_t)st_ino, set
2310 st_ino from __st_ino.
2311 * sysdeps/unix/sysv/linux/lxstat64.c (__lxstat64): Likewise.
2312 * sysdeps/unix/sysv/linux/xstat64.c (__xstat64): Likewise.
2313 * sysdeps/unix/sysv/linux/xstatconv.c (xstat_conv, xstat64_conv,
2314 xstat32_conv): Use _HAVE_STAT* macros. If _HAVE_STAT64___ST_INO,
2315 set __st_ino in addition to st_ino.
2316 * sysdeps/unix/sysv/linux/kernel_stat.h (_HAVE_STAT*): Define.
2317 * sysdeps/unix/sysv/linux/getdents.c: Use it for __getdents64 and
2318 __old_getdents64 as well.
2319 * sysdeps/unix/sysv/linux/getdirentries.c: Use it for
2320 getdirentries64 and old_getdirentries64 as well.
2321 * sysdeps/unix/sysv/linux/getdirentries64.c (GETDIRENTRIES,
2322 __GETDENTS): Define.
2323 (GETDENTS64): Remove.
2324 * sysdeps/unix/sysv/linux/getdents64.c (__GETDENTS, DIRENT_TYPE):
2326 (GETDENTS64): Remove.
2327 * sysdeps/unix/sysv/linux/readdir64.c: Use sysdeps/unix/readdir.c.
2328 * sysdeps/unix/sysv/linux/readdir64_r.c: Use sysdeps/unix/readdir_r.c.
2329 * sysdeps/unix/readdir.c: Use it for readdir64 and __old_readdir64
2331 * sysdeps/unix/readdir_r.c: Use it for readdir64_r and
2332 __old_readdir64_r as well.
2333 * sysdeps/unix/sysv/linux/kernel-features.h: Define
2334 __ASSUME_ST_INO_64_bit for kernel 2.4.1 and up.
2336 2000-08-08 Jes Sorensen <jes@linuxcare.com>
2338 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Add SI_KERNEL define.
2339 Add missing ILL_BADIADDR to enum and make ILL_BREAK match the
2340 define of the kernel.
2341 Add missing __SEG_PSTKOVF definition.
2342 Adjust the padding of struct siginfo and struct sigevent to
2343 match the fact that sigval_t is 64 bit.
2345 2000-08-10 Ulrich Drepper <drepper@redhat.com>
2347 * timezone/zic.c: Update from tzcode2000f.
2348 * timezone/australasia: Update from tzdata2000f.
2349 * timezone/europe: Likewise.
2350 * timezone/southamerica: Likewise.
2351 * timezone/yearistype: Likewise.
2353 2000-08-10 Andreas Jaeger <aj@suse.de>
2355 * sysdeps/unix/sysv/linux/mips/bits/stat.h: Synch struct stat64 and
2356 stat with current MIPS kernel.
2358 2000-08-01 Mark Kettenis <kettenis@gnu.org>
2360 * sysdeps/unix/sysv/linux/i386/sys/elf.h (elf_greg_t, ELF_NGREG,
2361 elf_gregset_t, elf_fpregset_t, elf_fpxregset_t): Moved to
2362 sysdeps/unix/sysv/linux/i386/sys/procfs.h.
2363 Remove the junk that's only relevant in the Linux kernel itself.
2364 Add a warning saying that this file is now obsolete, and include
2366 * sysdeps/unix/sysv/linux/i386/sys/procfs.h (elf_greg_t,
2367 ELF_NGREG, elf_gregset_t, elf_fpregset_t, elf_fpxregset_t): Moved
2368 here from sysdeps/unix/sysv/linux/i386/sys/elf.h. Don't include
2369 <signal.h>, <sys/ucontext.h> and <sys/elf.h>. Remove parts of
2370 `struct elf_prstatus' that are #ifdef'ed out. Improve comments
2371 and add the notice that the file is primarily there for GDB.
2372 * sysdeps/unix/sysv/linux/i386/sys/user.h: Fix comment.
2374 2000-08-09 Jakub Jelinek <jakub@redhat.com>
2376 * time/tzfile.c (__tzfile_compute): __tzstring zones
2379 2000-08-09 Jakub Jelinek <jakub@redhat.com>
2381 * resolv/resolv.h (__res_state): Surround prototype with
2382 __BEGIN_DECLS/__END_DECLS.
2383 * sysdeps/unix/sysv/linux/m68k/chown.c: Include kernel-features.h.
2385 2000-08-04 Jes Sorensen <jes@linuxcare.com>
2387 * sysdeps/unix/sysv/linux/ia64/bits/resource.h (__rlimit_resource):
2388 Make independant of asm/resource.h from the Linux kernel.
2390 2000-08-06 Bruno Haible <haible@clisp.cons.org>
2392 * iconv/gconv_conf.c (__gconv_read_conf): Don't call realpath.
2394 2000-08-06 Bruno Haible <haible@clisp.cons.org>
2396 * intl/Makefile (CPPFLAGS): Remove $(i18ndir) from LOCALE_ALIAS_PATH.
2397 * locale/Makefile (locale-CPPFLAGS): Likewise.
2399 2000-08-09 Ulrich Drepper <drepper@redhat.com>
2401 * sysdeps/i386/fpu/libm-test-ulps: Increase several error values
2404 2000-08-03 Jakub Jelinek <jakub@redhat.com>
2406 * misc/Versions (mincore): Export at GLIBC_2.2.
2408 2000-08-03 Bruno Haible <haible@clisp.cons.org>
2410 * intl/libintl.h (gettext, dgettext, dcgettext): Add back __THROW.
2412 2000-08-02 Mark Kettenis <kettenis@gnu.org>
2414 * sysdeps/mach/hurd/socketpair.c (__socketpair): Renamed from
2415 socketpair. Made socketpair a weak alias.
2416 * sysdeps/mach/hurd/pipe.c (__pipe): Reimplemented using
2417 __socketpair. Use S_IFIFO protocol to make pipes POSIX
2418 conforming, but fall back on the old protocol if the socket server
2420 * include/sys/socket.h: Add prototype for __socketpair.
2422 2000-08-09 Andreas Schwab <schwab@suse.de>
2424 * stdio-common/vfprintf.c (vfprintf): Also set `is_long' if the
2425 long long modifier is seen.
2427 * elf/nodelete.c (do_test): Remove reference to undefined member
2429 * rt/tst-aio4.c (do_test): Likewise.
2431 * configure.in: Add `-lm' when checking for libgd.
2432 * malloc/Makefile ($(objpfx)memusagestat): Add `-lm' during
2435 2000-08-09 Andreas Jaeger <aj@suse.de>
2437 * configure.in: Change required make versions.
2439 * manual/install.texi (Tools for Compilation): Document required
2441 (Supported Configurations): Update list of supported
2444 2000-08-08 Ulrich Drepper <drepper@redhat.com>
2446 * locale/linereader.c (get_string): Don't print an error is a string
2447 contains an unknown character.
2449 2000-08-06 Ulrich Drepper <drepper@redhat.com>
2451 * locale/programs/ld-collate.c (struct symbol_t): Add name element.
2452 (new_symbol): Take new parameters with name of the symbol.
2454 (handle_ellipsis): Don't only allow character symbols.
2455 (collate_read): Allow string of collating elements contain invalid
2456 characters; ignore entry in this case.
2457 Handle ellipsis of collating symbols before first order_start.
2458 Allow ellipsis in state 0.
2460 2000-08-04 Ulrich Drepper <drepper@redhat.com>
2462 * locale/programs/ld-collate.c (handle_ellipsis): Fix typo in
2464 Reported by Tung-Han Hsieh <thhsieh@twcpro.phys.ntu.edu.tw>.
2466 2000-08-04 Greg McGary <greg@mcgary.org>
2468 * posix/regex.c (SET_HIGH_BOUND): New macro.
2469 (MOVE_BUFFER_POINTER): Use it.
2470 (ELSE_EXTEND_BUFFER_HIGH_BOUND): New macro.
2471 (EXTEND_BUFFER): Use it.
2473 2000-08-03 Ulrich Drepper <drepper@redhat.com>
2475 * libio/iofwide.c (_IO_fwide): Initialize fp->_codecvt as well.
2476 * libio/fileops.c (_IO_new_file_fopen): Use _codecvt not from
2477 _wide_data but from _IO_FILE directly.
2478 * libio/iofclose.c: Likewise.
2479 * libio/wfileops.c: Likewise.
2481 * libio/genops.c (_IO_default_showmanyc): Change return type to size_t.
2482 * libio/libioP.h: Change prototypes.
2484 2000-08-03 Greg McGary <greg@mcgary.org>
2486 * sysdeps/i386/setjmp.S (__sigsetjmp): Pop our
2487 frame pointer early so that we save caller's frame pointer.
2488 * sysdeps/i386/elf/setjmp.S: Likewise.
2490 * sysdeps/unix/sysv/syscalls.list (time, utime): Correct signatures.
2491 * io/test-utime.c: Test passing NULL as utimbuf* arg.
2493 * posix/regex.c (EXTEND_BUFFER_HIGH_BOUND): Remove macro.
2494 (MOVE_BUFFER_POINTER): Handle high_bound properly.
2495 (EXTEND_BUFFER): Don't call EXTEND_BUFFER_HIGH_BOUND.
2497 2000-08-03 Ulrich Drepper <drepper@redhat.com>
2499 * iconvdata/big5.c: Updated.
2500 Patch by Tung-Han Hsieh <thhsieh@twcpro.phys.ntu.edu.tw>.
2502 2000-08-02 Ulrich Drepper <drepper@redhat.com>
2504 * Makeconfig (all-subdirs): Add conform.
2505 * conform/Makefile: Include ../Rules.
2507 * Makefile (README): Add rules to generate here as well.
2509 2000-08-02 Ulrich Drepper <drepper@redhat.com>
2511 * version.h (VERSION): Bump to 2.1.92.
2513 * sysdeps/ia64/Dist: Add _mcount.S.
2515 * sysdeps/unix/sysv/linux/ia64/Dist: Add clone.S.
2517 * sysdeps/unix/sysv/linux/mips/Dist: Add _test_and_set.c.
2519 * elf/Makefile (distribute): Add missing modules.
2521 * sysdeps/unix/sysv/linux/s390/Dist: Remove nonexisting files.
2523 * posix/regex.c (compile_range): Translate range start and end
2524 characters to avoid empty range in case of REG_ICASE [PR libc/1842].
2526 * sysdeps/unix/sysv/linux/ia64/bits/resource.h: Don't include
2529 * sysdeps/unix/sysv/linux/arm/Makefile: Undo last change.
2531 2000-08-02 Andreas Jaeger <aj@suse.de>
2533 * elf/elf.h (EM_S390): Added.
2534 (R_390_*): New relocs for S390.
2536 * sysdeps/unix/sysv/linux/s390/Dist: New file.
2537 * sysdeps/unix/sysv/linux/s390/sysdep.h: New file.
2538 * sysdeps/unix/sysv/linux/s390/sysdep.S: New file.
2539 * sysdeps/unix/sysv/linux/s390/syscall.S: New file.
2540 * sysdeps/unix/sysv/linux/s390/sys/user.h: New file.
2541 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
2542 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: New file.
2543 * sysdeps/unix/sysv/linux/s390/sys/elf.h: New file.
2544 * sysdeps/unix/sysv/linux/s390/socket.S: New file.
2545 * sysdeps/unix/sysv/linux/s390/sigcontextinfo.h: New file.
2546 * sysdeps/unix/sysv/linux/s390/shmctl.c: New file.
2547 * sysdeps/unix/sysv/linux/s390/setreuid.c: New file.
2548 * sysdeps/unix/sysv/linux/s390/setresuid.c: New file.
2549 * sysdeps/unix/sysv/linux/s390/setresgid.c: New file.
2550 * sysdeps/unix/sysv/linux/s390/setregid.c: New file.
2551 * sysdeps/unix/sysv/linux/s390/setgroups.c: New file.
2552 * sysdeps/unix/sysv/linux/s390/setgid.c: New file.
2553 * sysdeps/unix/sysv/linux/s390/setfsuid.c: New file.
2554 * sysdeps/unix/sysv/linux/s390/setfsgid.c: New file.
2555 * sysdeps/unix/sysv/linux/s390/seteuid.c: New file.
2556 * sysdeps/unix/sysv/linux/s390/setegid.c: New file.
2557 * sysdeps/unix/sysv/linux/s390/semctl.c: New file.
2558 * sysdeps/unix/sysv/linux/s390/register-dump.h: New file.
2559 * sysdeps/unix/sysv/linux/s390/putpmsg.c: New file.
2560 * sysdeps/unix/sysv/linux/s390/putmsg.c: New file.
2561 * sysdeps/unix/sysv/linux/s390/profil-counter.h: New file.
2562 * sysdeps/unix/sysv/linux/s390/msgctl.c: New file.
2563 * sysdeps/unix/sysv/linux/s390/mmap.S: New file.
2564 * sysdeps/unix/sysv/linux/s390/getuid.c: New file.
2565 * sysdeps/unix/sysv/linux/s390/getresuid.c: New file.
2566 * sysdeps/unix/sysv/linux/s390/getresgid.c: New file.
2567 * sysdeps/unix/sysv/linux/s390/getpmsg.c: New file.
2568 * sysdeps/unix/sysv/linux/s390/getmsg.c: New file.
2569 * sysdeps/unix/sysv/linux/s390/getgroups.c: New file.
2570 * sysdeps/unix/sysv/linux/s390/getegid.c: New file.
2571 * sysdeps/unix/sysv/linux/s390/geteuid.c: New file.
2572 * sysdeps/unix/sysv/linux/s390/fchown.c: New file.
2573 * sysdeps/unix/sysv/linux/s390/clone.S: New file.
2574 * sysdeps/unix/sysv/linux/s390/brk.c: New file.
2575 * sysdeps/unix/sysv/linux/s390/bits/time.h: New file.
2576 * sysdeps/unix/sysv/linux/s390/bits/resource.h: New file.
2577 * sysdeps/unix/sysv/linux/s390/bits/mman.h: New file.
2578 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: New file.
2579 * sysdeps/unix/sysv/linux/s390/Makefile: New file.
2580 * sysdeps/s390/sysdep.h: New file.
2581 * sysdeps/s390/sys/ucontext.h: New file.
2582 * sysdeps/s390/sub_n.S: New file.
2583 * sysdeps/s390/strncpy.S: New file.
2584 * sysdeps/s390/strcpy.S: New file.
2585 * sysdeps/s390/stackinfo.h: New file.
2586 * sysdeps/s390/setjmp.S: New file.
2587 * sysdeps/s390/s390-mcount.S: New file.
2588 * sysdeps/s390/mul_1.S: New file.
2589 * sysdeps/s390/memusage.h: New file.
2590 * sysdeps/s390/memset.S: New file.
2591 * sysdeps/s390/memcpy.S: New file.
2592 * sysdeps/s390/memchr.S: New file.
2593 * sysdeps/s390/machine-gmon.h: New file.
2594 * sysdeps/s390/ldbl2mpn.c: New file.
2595 * sysdeps/s390/gmp-mparam.h: New file.
2596 * sysdeps/s390/fpu/fpu_control.h: New file.
2597 * sysdeps/s390/fpu/fesetround.c: New file.
2598 * sysdeps/s390/fpu/fegetround.c: New file.
2599 * sysdeps/s390/fpu/fclrexcpt.c: New file.
2600 * sysdeps/s390/fpu/bits/fenv.h: New file.
2601 * sysdeps/s390/ffs.c: New file.
2602 * sysdeps/s390/elf/start.S: New file.
2603 * sysdeps/s390/elf/setjmp.S: New file.
2604 * sysdeps/s390/elf/bsd-setjmp.S: New file.
2605 * sysdeps/s390/elf/bsd-_setjmp.S: New file.
2606 * sysdeps/s390/dl-machine.h: New file.
2607 * sysdeps/s390/bzero.S: New file.
2608 * sysdeps/s390/bsd-setjmp.S: New file.
2609 * sysdeps/s390/bsd-_setjmp.S: New file.
2610 * sysdeps/s390/bits/string.h: New file.
2611 * sysdeps/s390/bits/setjmp.h: New file.
2612 * sysdeps/s390/bits/huge_val.h: New file.
2613 * sysdeps/s390/bits/endian.h: New file.
2614 * sysdeps/s390/bits/byteswap.h: New file.
2615 * sysdeps/s390/bcopy.S: New file.
2616 * sysdeps/s390/backtrace.c: New file.
2617 * sysdeps/s390/atomicity.h: New file.
2618 * sysdeps/s390/asm-syntax.h: New file.
2619 * sysdeps/s390/addmul_1.S: New file.
2620 * sysdeps/s390/add_n.S: New file.
2621 * sysdeps/s390/abort-instr.h: New file.
2622 * sysdeps/s390/__longjmp.c: New file.
2623 * sysdeps/s390/Makefile: New file.
2624 * sysdeps/s390/Implies: New file.
2625 * sysdeps/s390/Dist: New file.
2626 Patches by Martin Schwidefsky <schwidefsky@de.ibm.com>.
2628 2000-08-01 Ulrich Drepper <drepper@redhat.com>
2630 Remove incompatible IPv6 extension of RPC.
2631 * sunrpc/Makefile: Undo changes.
2632 * sunrpc/rpc_main.c: Likewise.
2633 * sunrpc/rpc/clnt.h: Likewise.
2634 * sunrpc/rpc/svc.h: Likewise.
2635 * sunrpc/bindrsvprt6.c: Removed.
2636 * sunrpc/clnt_tcp6.c: Removed.
2637 * sunrpc/clnt_udp6.c: Removed.
2638 * sunrpc/svc_tcp6.c: Removed.
2639 * sunrpc/svc_udp6.c: Removed.
2641 * intl/libintl.h: Don't use __attribute_format_arg__ for gettext,
2642 dgettext, and dcgettetxt.
2644 * intl/locale.alias: Update japanese aliases.
2646 * sysdeps/ia64/bits/byteswap.h: New file.
2647 Patch by Dan Pop <Dan.Pop@cern.ch>.
2649 * misc/sys/cdefs.h: Define __attribute_format_arg__.
2650 * intl/libintl.h: Use it here instead of using __attribute__ directly.
2652 2000-07-13 H.J. Lu <hjl@gnu.org>
2654 * posix/regex.c (re_max_failures): Set to 4000.
2656 2000-08-01 Ulrich Drepper <drepper@redhat.com>
2658 * gnulib/Makefile (tests): Add tst-gcc.
2659 * gnulib/tst-gcc.c: New file.
2661 * assert/Makefile (routines): Add __assert.
2662 * assert/Versions: Export __assert for glibc 2.2.
2663 * assert/__assert.c: New file.
2664 * assert/assert.h: Declare __assert.
2666 2000-07-27 Bruno Haible <haible@clisp.cons.org>
2668 * locale/localeinfo.h (_ISCTYPE): New macro.
2669 * posix/fnmatch_loop.c (internal_fnmatch): Use it, support new
2670 LC_CTYPE locale format.
2671 * locale/programs/ld-ctype.c (locale_ctype_t): New field class_b.
2672 (ctype_output): Output class_b[nr] right before class_3level[nr].
2673 (allocate_arrays): Fill class_b, similarly to class_3level.
2675 2000-08-01 Ulrich Drepper <drepper@redhat.com>
2676 Joseph S. Myers <jsm28@cam.ac.uk>
2678 * math/tgmath.h: Make standard compliant. Don't ask how.
2680 2000-07-04 H.J. Lu <hjl@gnu.org>
2682 * elf/Makefile ($(inst_slibdir)/$(rtld-version-installed-name)):
2683 Use $(do-install-program) instead of "$(INSTALL_PROGRAM) $< $@.new".
2684 ($(inst_slibdir)/$(rtld-installed-name)): Use $(make-shlib-link) only.
2686 2000-07-30 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
2688 * include/features.h (_XOPEN_SOURCE): Update the explanation.
2689 (__USE_LARGEFILE): Add an explanation.
2690 (_POSIX_C_SOURCE): Define to 2 only if _XOPEN_SOURCE < 500.
2691 (__USE_XOPEN2K): Define whenever _XOPEN_SOURCE >= 600.
2693 2000-08-01 Ulrich Drepper <drepper@redhat.com>
2695 * libio/Makefile: Enable exception handling for genops, wgenops,
2696 fileops, and wfileops.
2698 2000-07-29 Mark Kettenis <kettenis@gnu.org>
2700 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Take into
2701 acount that elf/rtld's main program might remove some varibales
2702 from the environment if we're trying to be secure. Move the Hurd
2703 startup data if necessary, or, if we there is no startup data,
2704 make sure the magical convention that ARGV[0] is stored just after
2705 the environment list.
2707 2000-08-01 Philip Blundell <philb@gnu.org>
2709 * sysdeps/unix/sysv/linux/arm/Makefile [subdir=resource]
2710 (sysdep_routines): Add oldgetrlimit, oldsetrlimit.
2711 * sysdeps/unix/sysv/linux/arm/syscalls.list: Add oldgetrlimit,
2712 oldsetrlimit for GLIBC_2.0.
2714 2000-08-01 Andreas Jaeger <aj@suse.de>
2716 * nss/nss_files/files-ethers.c: Use case-insensitive lookup.
2717 (LINE_PARSER): Allow any number of spaces between ip address and
2718 number. Fixes PR libc/1833, reported by rp010gf@voruta.vu.lt.
2720 * conform/data/netdb.h-data: Remove getipnodebyaddr and friends.
2722 * include/netdb.h: Remove getipnodebyaddr and friends, leave
2725 * nis/Versions: Remove _nss_nis_getipnodebyname_r and
2726 _nss_nisplus_getipnodebyname_r.
2728 * nis/nss_nis/nis-hosts.c (_nss_nis_getipnodebyname_r): #if 0 for
2729 now, getipnodebyname is deprecated.
2730 * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_getipnodebyname_r):
2733 * inet/Makefile (routines): Don't build getipnodebyaddr and
2736 * intl/Makefile (distribute): Add tst-translit.sh and translit.po.
2738 * hesiod/Makefile (distribute): Add nss_hesiod/nss_hesiod.h.
2740 * elf/Makefile (distribute): Add filtmod1.c and filtmod2.c.
2742 * wctype/Makefile (distribute): Add wchar-lookup.h.
2744 * sysdeps/generic/Dist: Add bp-checks.h and bp-semctl.h.
2746 * iconvdata/Makefile (distribute): Add isiri-3342.h.
2748 2000-08-01 Andreas Schwab <schwab@suse.de>
2750 * Make-dist (dist): Resolve `..' in file names.
2752 2000-08-01 Andreas Jaeger <aj@suse.de>
2754 * stdio-common/Makefile (distribute): Remove removed files, add
2757 * Makefile (distribute): Remove include/db_185.h and db.h.
2759 * include/db_185.h: Remove, it's not needed anymore.
2760 * include/db.h: Likewise.
2762 2000-07-31 Ulrich Drepper <drepper@redhat.com>
2764 * inet/Makefile (tests): Remove tst-ipnode.
2765 * include/netdb.h: Add stuff removed from resolv/netdb.h here for
2768 2000-07-31 Jes Sorensen <jes@linuxcare.com>
2770 * sysdeps/ia64/elf/initfini.c: Kill dummy section since align and
2771 endp statements have already been added.
2773 2000-04-18 David Mosberger <davidm@hpl.hp.com>
2775 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Include
2776 <sysdeps/ia64/sysdep.h>.
2778 * sysdeps/ia64/_mcount.S: New file.
2780 * sysdeps/ia64/elf/initfini.c (_init): Preserve gp around call to
2781 __gmon_start__. Fix up extraneous whitespace.
2783 2000-01-12 H.J. Lu <hjl@gnu.org>
2785 * sysdeps/ia64/elf/initfini.c: New file.
2787 2000-07-31 Jes Sorensen <jes@linuxcare.com>
2789 * sysdeps/unix/sysv/linux/ia64/clone.S: Add stop bit to avoid WAW
2790 dependency between branch and ar.pfs write.
2792 2000-07-31 H.J. Lu <hjl@gnu.org>
2794 * sysdeps/generic/printf_fphex.c (__printf_fphex): Correctly
2795 handle the wchar_t array.
2797 2000-07-31 Ulrich Drepper <drepper@redhat.com>
2799 * iconvdata/gb18030.c: Don't map to and from positions in ISO
2800 10646 which are not yet assigned.
2801 Patch by wang shouhua <shouhuawang@redflag-linux.com>.
2803 2000-07-31 Andreas Jaeger <aj@suse.de>
2805 * inet/Versions: Remove getipnodebyaddr and friends from
2808 * resolv/netdb.h: Remove getipnodebyaddr and friends.
2810 2000-07-30 Bruno Haible <haible@clisp.cons.org>
2812 * iconvdata/sjis.c (BODY for FROM_LOOP): Treat the case
2813 ch >= 0x81 && ch2 < 0x40 as invalid.
2815 2000-07-30 Bruno Haible <haible@clisp.cons.org>
2817 * iconvdata/uhc.c (BODY for FROM_LOOP): Reject ch2 == 0xff as invalid.
2818 (BODY for TO_LOOP): Accept 0x7f. Increment outptr as needed.
2820 2000-07-30 Bruno Haible <haible@clisp.cons.org>
2822 * iconvdata/johab.c (BODY for TO_LOOP): After calling
2823 ucs4_to_ksc5601_sym, fix the conversion to JOHAB.
2825 2000-07-30 Bruno Haible <haible@clisp.cons.org>
2827 * iconvdata/t.61.c (to_ucs4): Change values of 0xa4, 0a6, 0xa8, 0xb4,
2829 (from_ucs4): Change values of U+00A4, U+00BB, U+00ED.
2831 2000-07-30 Bruno Haible <haible@clisp.cons.org>
2833 * iconvdata/macintosh.c (HAS_HOLES): Set to 1.
2835 2000-07-30 Bruno Haible <haible@clisp.cons.org>
2837 * iconvdata/iso_6937.c (to_ucs4): Change values of 0x24 and 0xb4.
2838 (from_ucs4): Change values of U+00A4 and U+00ED.
2839 (BODY of TO_LOOP): Remove mapping from U+02DC to 0x0020.
2841 2000-07-30 Bruno Haible <haible@clisp.cons.org>
2843 * iconvdata/ansi_x3.110.c (from_ucs4): Change entry for 0xed.
2844 (BODY for TO_LOOP): Map U+2122, U+2126, not U+2022, U+2026.
2846 2000-07-30 Bruno Haible <haible@clisp.cons.org>
2848 * iconvdata/Makefile (gen-8bit-gap-modules): Remove isiri-3342.
2849 * iconvdata/isiri-3342.h: New file.
2850 * iconvdata/isiri-3342.c (HAS_HOLES): Avoid gaps >= 0xe0, but don't
2851 treat 0x80 as a gap.
2853 2000-07-30 Bruno Haible <haible@clisp.cons.org>
2855 * string/strxfrm.c (encoding_mask, encoding_byte): Remove.
2856 (utf8_encode): Use simple shifts instead. Fix return value.
2858 2000-07-31 Ulrich Drepper <drepper@redhat.com>
2860 * timezone/private.h: Update from tzcode2000e.
2861 * timezone/asia: Update from tzdata2000e.
2862 * timezone/australasia: Likewise.
2863 * timezone/europe: Likewise.
2864 * timezone/northamerica: Likewise.
2865 * timezone/zone-tab: Likewise.
2867 2000-07-30 Ralf Baechle <ralf@gnu.org>
2869 * sysdeps/unix/sysv/linux/mips/bits/sigstack.h: New file. On MIPS
2870 the order of struct sigaltstack members is different.
2872 2000-07-26 Philip Blundell <philb@gnu.org>
2874 * sysdeps/unix/sysv/linux/arm/bits/fcntl.h: New file.
2876 2000-07-29 Ulrich Drepper <drepper@redhat.com>
2878 * locale/langinfo.h: Add entries for extra tables in CTYPE data.
2879 * locale/programs/ld-ctype.c: Adjust for this.
2881 * locale/programs/ld-collate.c: Add more alignment checks.
2882 * locale/string/strcoll.c: Likewise.
2884 2000-07-30 Mark Kettenis <kettenis@gnu.org>
2886 * stdio-common/vfprintf.c: Move inclusion of _i18n_number.h
2887 outside USE_IN_LIBIO block.
2889 2000-07-26 Philip Blundell <philb@gnu.org>
2891 * sysdeps/arm/dl-machine.h (fix_bad_pc24): New function.
2892 (elf_machine_rel): Use it for out-of-range PC24 relocs.
2894 2000-07-28 Philip Blundell <philb@gnu.org>
2896 * math/test-fpucw.c: Ignore reserved bits in control word.
2898 2000-07-28 Philip Blundell <philb@gnu.org>
2900 * sysdeps/unix/sysv/linux/arm/sysdep.h (PSEUDO_RET): New macro.
2901 (ret): Redefine to PSEUDO_RET.
2902 (PSEUDO): Remove jump to syscall_error.
2904 2000-07-29 Mark Kettenis <kettenis@gnu.org>
2906 * resolv/README: Add some information about using the resolver in
2907 multi-threaded code and with C++. Spelling fixes.
2909 2000-07-29 Mark Kettenis <kettenis@gnu.org>
2911 * resolv/resolv.h (struct __sockaddr_in): Remove.
2912 (struct __res_state) [!_LIBC]: Remove reference to __sockaddr_in.
2914 2000-07-29 Greg McGary <greg@mcgary.org>
2916 * Rules (test-bp-inputs, make-test-out): New variables.
2917 ($(objpfx)%-bp.out): New rule.
2918 ($(objpfx)%.out): Rewrite in terms of new variables.
2920 * libio/iovswscanf.c (vswscanf): Pass _IO_FILE_plus pointer to
2921 internal function that uses vtable.
2922 * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
2923 * libio/vswprintf.c (_IO_vswprintf): Likewise.
2925 * malloc/malloc.c (mem2chunk): Define in terms of chunk_at_offset.
2926 (malloc_extend_top): Convert brk to chunk using chunk_at_offset.
2927 (chunk_align): Likewise.
2929 * time/asctime.c (ab_day_name, ab_month_name): Rewrite expression
2930 in a way that conforms to decl, and avoids spurious bounds violation.
2932 * sysdeps/arm/frame.h (struct layout): Make pointers __unbounded.
2933 * sysdeps/generic/frame.h: Likewise.
2934 * sysdeps/generic/backtrace.c (ADVANCE_STACK_FRAME): Wrap bounds
2935 around return value.
2936 (__backtrace): Qualify frame-pointer chain and return address
2937 pointers as __unbounded. Wrap bounds around variable `current'.
2938 * sysdeps/generic/segfault.c (ADVANCE_STACK_FRAME): Wrap bounds
2939 around return value.
2940 (catch_segfault): Qualify frame-pointer chain and return address
2941 pointers as __unbounded. Wrap bounds around variable `current'.
2942 * sysdeps/i386/backtrace.c (struct layout): Make pointers __unbounded.
2943 (ADVANCE_STACK_FRAME): Wrap bounds around return value.
2944 * sysdeps/powerpc/backtrace.c (struct layout): Make pointers
2946 (__backtrace): Qualify frame-pointer chain and return address
2947 pointers as __unbounded. Wrap bounds around variable `current'.
2949 * sysdeps/i386/addmul_1.S: s2_limb is scalar so remove bounds check.
2950 * sysdeps/i386/mul_1.S: Likewise.
2951 * sysdeps/i386/submul_1.S: Likewise.
2952 * sysdeps/i386/i586/addmul_1.S: Likewise.
2953 * sysdeps/i386/i586/mul_1.S: Add bounds checks.
2954 * sysdeps/i386/i586/submul_1.S: Likewise.
2956 2000-07-27 Andreas Jaeger <aj@suse.de>
2958 * libio/Depend: New file, libio needs localedata for tests.
2959 * posix/Depend: Likewise.
2961 2000-07-28 Ulrich Drepper <drepper@redhat.com>
2963 * stdio-common/_i18n_itoa.c: Removed.
2964 * stdio-common/_i18n_itoa.h: Removed.
2965 * stdio-common/_i18n_itowa.c: Removed.
2966 * stdio-common/_i18n_itowa.h: Removed.
2967 * stdio-common/_i18n_number.h: New file.
2968 * stdio-common/Depend: New file.
2969 * stdio-common/printf-parse.h: Handle I modifier correctly. Optimize.
2970 * stdio-common/vfprintf.c: Rewrite buffer handling for integer
2971 printing. Change printing of numbers with locale specific digits to
2972 use new code in _i18n_number.h.
2973 * stdio-common/Makefile (routines): Remove _i18n_itoa and
2976 * stdio-common/bug13.c: Improve messages.
2978 * locale/programs/ld-ctype.c (ctype_read): Improve error message.
2979 (set_class_defaults): Always search also for Uxxxx names.
2980 Detect insufficient number of outdigits.
2982 * locale/Makefile (C-translit.h): Use mv not $(move-if-changed).
2984 2000-07-27 Bruno Haible <haible@clisp.cons.org>
2986 * locale/C-ctype.c (_nl_C_LC_CTYPE): Swap the two names in
2987 _NL_CTYPE_MAP_NAMES.
2988 * locale/localeinfo.h (__TOW_toupper, __TOW_tolower): New enum values.
2989 * wctype/wcfuncs.c (towlower, towupper): Use them.
2990 * wctype/wcfuncs_l.c (__towlower_l, __towupper_l): Likewise.
2991 * wctype/wctrans.c (wctrans): Likewise.
2992 * wctype/wctrans_l.c (__wctrans_l): Likewise.
2994 2000-07-27 Bruno Haible <haible@clisp.cons.org>
2996 * posix/fnmatch.c (is_char_class): Fix logic. Avoid buffer overrun.
2997 Use the optimized version of this function outside glibc as well.
2999 2000-07-27 Jakub Jelinek <jakub@redhat.com>
3001 * locale/indigits.h (indigit_value): Correct.
3002 * locale/indigitswc.h (indigitwc_value): Correct.
3003 * stdio-common/vfscanf.c (__vfscanf): Fix I18N number
3004 conversion, add GROUP checking for it, fix GROUP number
3005 conversion with strlen(thousands) > 1.
3006 Honour width correctly in the presence of floating
3007 decimal points and thousands separators.
3008 * stdio-common/tst-sscanf.c: New test.
3009 * stdio-common/Makefile: Add it to tests.
3010 * sysdeps/generic/strtol.c (strtol): Fix conversion if there are
3011 thousands separators and group argument is non-zero.
3013 2000-07-25 Bruno Haible <haible@clisp.cons.org>
3015 * locale/Versions: Enumerate __*_l functions individually. __wctrans_l
3016 starts at GLIBC_2.2.
3018 2000-07-12 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
3020 * sysdeps/unix/sysv/linux/mips/Dist: Add sys/tas.h.
3021 * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines): Add
3023 (headers): Add sys/tas.h.
3024 * sysdeps/unix/sysv/linux/mips/Versions: Export _test_and_set for
3025 GLIBC_2.2 from libc.
3026 * sysdeps/unix/sysv/linux/mips/_test_and_set.c: New file.
3027 * sysdeps/unix/sysv/linux/mips/sys/tas.h: New file for
3030 2000-07-28 Andreas Jaeger <aj@suse.de>
3032 * sysdeps/gnu/netinet/tcp.h: Add TCP options from Linux 2.4.
3034 * dlfcn/Makefile ($(objpfx)tst-dladdr): New.
3035 ($(objpfx)tst-dladdr.out): new.
3036 (tests): Add tst-dladdr.
3037 ($(objpfx)glrefmain): Use libdl.
3039 * dlfcn/tst-dladdr.c: New file. Based on a test by Volkmar Sieh
3042 2000-07-27 Jes Sorensen <jes@linuxcare.com>
3044 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add truncate(64) and
3045 ftruncate(64) calls.
3047 2000-07-27 Jes Sorensen <jes@linuxcare.com>
3049 * intl/tst-translit.c: Include string.h to get prototype for
3052 2000-07-27 Jes Sorensen <jes@linuxcare.com>
3054 * sysdeps/unix/sysv/linux/ia64/fork.c: Make __libc_fork the strong
3055 name and add weak alias for __fork.
3057 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Change llseek, pread
3058 & pwrite to use __libc_<name> as strong names instead of
3061 * include/sched.h: Add clone2 prototype.
3063 2000-07-26 Jes Sorensen <jes@linuxcare.com>
3065 * sysdeps/unix/sysv/linux/ia64/sysdep.h (ENTRY): Don't declare the
3066 procedure name twice.
3068 2000-07-27 Philip Blundell <philb@gnu.org>
3070 * malloc/malloc.c (HAVE_MREMAP): Undo change of 1997-12-04.
3072 2000-07-27 Andreas Jaeger <aj@suse.de>
3074 * sysdeps/unix/sysv/linux/bits/socket.h: Rename MSG_URG TO
3075 MSG_CONFIRM following kernel 2.4.0 (MSG_URG was never used).
3076 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
3077 Reported by Andi Kleen <ak@suse.de>.
3079 * rt/tst-aio64.c: Add tests for aio_fsync64 and aio_cancel64.
3080 (do_wait): Test requests with aio_return64.
3081 (do_test): Change callers of do_wait.
3083 2000-07-26 Andreas Jaeger <aj@suse.de>
3085 * rt/tst-aio.c: Add tests for aio_fsync and aio_cancel.
3086 (do_wait): Test requests with aio_return.
3087 (do_test): Change callers of do_wait.
3089 2000-07-27 Ulrich Drepper <drepper@redhat.com>
3091 * rt/aio_misc.c (__aio_remove_request): New function. Handle removing
3092 from request list. Don't do the list handling here, call
3093 __aio_remove_request.
3094 * rt/aio_misc.h: Add prototype for __aio_remove_request.
3095 * rt/aio_cancel.c: Don't assume __aio_find_req_fd succeeds since the
3096 request might already be processed. Don't do the list handling
3097 here, call __aio_remove_request.
3099 * rt/aio_misc.c: Don't depend on aio_reqprio field for LIO_SYNC and
3102 * rt/aio_misc.c: Add comment explaining why writer memory barriers
3105 2000-07-27 Greg McGary <greg@mcgary.org>
3107 * sysdeps/generic/bp-checks.h (BOUNDED_N): Make it work for void*.
3108 * sysdeps/generic/bp-semctl.h (check_semctl): Fix syntax error
3109 in union init. Pass zero for ignored semnum arg to semctl.
3110 * sysdeps/unix/sysv/linux/shmat.c (shmat): Fix typo.
3112 2000-07-26 Greg McGary <greg@mcgary.org>
3114 * sysdeps/gnu/bits/msq.h: Qualify kernel's
3115 data structure pointers as __unbounded.
3116 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
3117 * sysdeps/generic/bp-semctl.h: New file.
3118 * sysdeps/unix/sysv/linux/msgctl.c: Qualify kernel's data structure
3119 pointers as __unbounded. Check bounds of syscall args.
3120 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
3121 * sysdeps/unix/sysv/linux/msgsnd.c: Likewise.
3122 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
3123 * sysdeps/unix/sysv/linux/semop.c: Likewise.
3124 * sysdeps/unix/sysv/linux/shmat.c: Likewise.
3125 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
3126 * sysdeps/unix/sysv/linux/shmdt.c: Likewise.
3127 * sysdeps/unix/sysv/linux/alpha/msgctl.c: Likewise.
3128 * sysdeps/unix/sysv/linux/alpha/semctl.c: Likewise.
3129 * sysdeps/unix/sysv/linux/alpha/shmctl.c: Likewise.
3130 * sysdeps/unix/sysv/linux/i386/msgctl.c: Likewise.
3131 * sysdeps/unix/sysv/linux/i386/semctl.c: Likewise.
3132 * sysdeps/unix/sysv/linux/i386/shmctl.c: Likewise.
3133 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Likewise.
3134 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Likewise.
3135 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Likewise.
3137 2000-07-26 Ulrich Drepper <drepper@redhat.com>
3139 * libio/iofwide.c: Enable transliteration for conversion from wchar_t
3141 * locale/C-ctype.c: Likewise.
3142 * wcsmbs/wcsmbsload.c: Likewise.
3144 2000-07-26 Greg McGary <greg@mcgary.org>
3146 * Makeconfig (+link-bounded, link-libc-bounded,
3147 link-extra-libs-bounded): New variables.
3148 (built-program-cmd): Omit $(run-program-prefix) for static BP tests.
3149 * Makerules (do-tests-clean, common-mostlyclean): Remove BP test files.
3150 * Rules (tests-bp.out): New variable.
3151 (tests): Conditionally add BP tests.
3152 (binaries-bounded): Add variable and associated rule.
3153 * csu/Makefile [build-bounded] (extra-objs, install-lib):
3154 Move conditional stuff after place where condition is defined.
3156 * malloc/malloc.c (bp-checks.h): Add #include.
3157 (mem2chunk, chunk_at_offset, bin_at): Wrap BOUNDED_1 around expression.
3158 (_bin_at): Add unbounded version of bin_at.
3159 (IAV, chunk_alloc): Use unbounded _bin_at.
3160 (mALLOc, rEALLOc, chunk_realloc, mEMALIGn, cALLOc,
3161 chunk2mem_check, realloc_check, malloc_starter, malloc_atfork):
3162 Wrap BOUNDED_N around return value.
3163 (chunk_realloc): Adjust oldsize once.
3165 * sysdeps/generic/bp-checks.h (__memchr): Remove incorrect decl.
3166 (__ubp_memchr): Add correct decl.
3167 (_CHECK_STRING): Use __ubp_memchr.
3168 * sysdeps/alpha/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
3169 New alias for unbounded-pointer __memchr.
3170 * sysdeps/i386/memchr.S: Likewise.
3171 * sysdeps/ia64/memchr.S: Likewise.
3172 * sysdeps/m68k/memchr.S: Likewise.
3173 * sysdeps/sparc/sparc32/memchr.S: Likewise.
3174 * sysdeps/sparc/sparc64/memchr.S: Likewise.
3175 * sysdeps/vax/memchr.s: Likewise.
3177 * sysdeps/i386/strtok.S: Fix bounds checks to pass tests.
3178 (SAVE_PTR): New macro. (save_ptr): Expand size as BP.
3179 (strtok): Don't bother to write into SAVE_PTR when returning NULL.
3180 * sysdeps/i386/i686/strtok.S: Likewise.
3181 * sysdeps/i386/bp-asm.h (RETURN_BOUNDED_POINTER,
3182 RETURN_NULL_BOUNDED_POINTER): Use %ecx as the scratch register.
3184 * sysdeps/i386/bits/string.h [!__BOUNDED_POINTERS__]: Disable inlines.
3185 * sysdeps/i386/i486/bits/string.h [!__BOUNDED_POINTERS__]: Likewise.
3187 * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path): Copy
3188 bounds of copy_result to mount_proc.
3190 2000-07-25 Bruno Haible <haible@clisp.cons.org>
3192 * wctype/wctype.h (__wctrans_l): New declaration.
3193 * wctype/wctrans_l.c: New file.
3194 * wctype/Makefile (routines): Add wctrans_l.
3196 2000-07-26 Ulrich Drepper <drepper@redhat.com>
3198 * posix/fnmatch_loop.c: Fixes for use outside glibc.
3199 Patch by MacGyver <macgyver@tos.net>.
3201 2000-07-26 Andreas Jaeger <aj@suse.de>
3203 * rt/tst-aio4.c: New file, slightly modified version of tst-aio2.
3204 * rt/tst-aio5.c: New file, slightly modified version of tst-aio2.
3205 * rt/Makefile: Add rules to build and run tst-aio4 and tst-aio5.
3207 * rt/tst-aio.c (test_file): Fix typo.
3208 * rt/tst-aio64.c (test_file): Likewise.
3210 * rt/tst-aio3.c: New file, slightly modified version of tst-aio2.
3211 * rt/Makefile: Add rules to build and run tst-aio3.
3213 * sysdeps/unix/sysv/linux/netinet/ip.h: Removed ip_options since
3214 it's not needed and confuses only.
3216 2000-07-26 Ulrich Drepper <drepper@redhat.com>
3218 * resolv/res_init.c: Add support for nameserver communication with
3220 * resolv/res_send.c: Likewise.
3221 * resolv/resolv.h (struct __res_state): Store IPv6 address, not IPv4
3223 Patch by <venaas@nvg.ntnu.no>.
3225 2000-07-25 Bruno Haible <haible@clisp.cons.org>
3227 * locale/programs/ld-ctype.c (wctype_table_get): New function.
3228 (wcwidth_table_get): New function.
3229 (wcwidth_table_add): Call it.
3230 (wctrans_table_get): New function.
3231 (wctrans_table_add): Call it.
3233 2000-07-25 Ulrich Drepper <drepper@redhat.com>
3235 * rt/lio_listio.c (lio_listio): Always disable individual
3237 * rt/Makefile: Add rules to build and run tst-aio2.
3238 * rt/tst-aio2.c: New file.
3240 * rt/lio_listio.c (lio_listio): Handle case of SIG == NULL correctly.
3241 Reported by Kevin Beard <beardk@gatwick.Geco-Prakla.slb.com>.
3243 2000-07-25 Mark Kettenis <kettenis@gnu.org>
3245 * nss/nss_files/files-netgrp.c (strip_whitespace): New function.
3246 (_nss_netgroup_parseline): Use strip_whitespace to strip off any
3247 leading and trailing spaces from host, user and domain name.
3249 2000-07-25 Jes Sorensen <jes@linuxcare.com>
3251 * csu/defs.awk: Add support for need_endp.
3253 2000-07-25 Mark Kettenis <kettenis@gnu.org>
3255 * resolv/resolv.h: Remove __P from res_send_qhook and
3256 res_send_rhook typedefs.
3258 2000-07-25 Bruno Haible <haible@clisp.cons.org>
3260 * intl/tst-translit.c (main): Unset OUTPUT_CHARSET.
3262 2000-07-25 Ulrich Drepper <drepper@redhat.com>
3264 * iconv/gconv_builtin.h: Add WCHAR_T alias.
3266 2000-07-25 Mark Kettenis <kettenis@gnu.org>
3268 * hurd/thread-cancel.c (hurd_thread_cancel): When cancelling the
3269 calling thread, set the cancellation flag and return success
3272 2000-07-25 Ulrich Drepper <drepper@redhat.com>
3274 * libio/Makefile: Add rules build, run, and distribute tst-widetext.c.
3275 * libio/tst-widetext.c: New file.
3276 * libio/tst-widetext.input: New file.
3278 * libio/iogetwline.c (_IO_getwline_info): Pretty print.
3280 * libio/wfileops.c (_IO_wfile_underflow): Handle not entirely
3281 empty external buffer correctly.
3283 2000-07-25 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
3285 * sysdeps/mips/dl-machine.h (_RTLD_PROLOGUE): Stringify using
3286 __STRING(entry) and not #entry.
3287 (_RTLD_EPILOGUE): Likewise.
3288 * sysdeps/mips/mips64/dl-machine.h: Likewise.
3290 2000-07-25 Andreas Jaeger <aj@suse.de>
3292 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Change parameter
3293 according to changes in test program, run also with static only
3295 ($(objpfx)tst-printf.out): Likewise.
3297 * stdio-common/tst-unbputc.sh: Likewise.
3298 * stdio-common/tst-printf.sh: Likewise.
3300 2000-07-25 Ulrich Drepper <drepper@redhat.com>
3302 * libio/wfileops.c (_IO_wdo_write): Correct return value.
3304 * libio/wfileops.c (_IO_wdo_write): Allow partial conversions in the
3307 * libio/fileops.c: Pretty print.
3309 2000-07-23 Bruno Haible <haible@clisp.cons.org>
3311 * wctype/wchar-lookup.h: New file.
3312 * wctype/iswctype.c: Include "wchar-lookup.h".
3313 (__iswctype): Support alternate locale format with 3-level tables.
3314 * wctype/iswctype_l.c (__iswctype_l): Likewise.
3315 * wctype/towctrans.c (__towctrans): Likewise.
3316 * wctype/towctrans_l.c (__towctrans_l): Likewise.
3317 * wctype/wcfuncs.c: Include "wchar-lookup.h".
3318 (__ctype32_wctype, __ctype32_wctrans): Declare external.
3319 (__iswalnum, __iswalpha, __iswcntrl, __iswdigit, __iswlower,
3320 __iswgraph, __iswprint, __iswpunct, __iswspace, __iswupper,
3321 __iswxdigit, towlower, towupper): Support alternate locale format
3322 with 3-level tables.
3323 * wctype/wcextra.c (iswblank): Likewise.
3324 * wctype/wcfuncs_l.c: Include "wchar-lookup.h".
3325 (__iswalnum_l, __iswalpha_l, __iswcntrl_l, __iswdigit_l, __iswlower_l,
3326 __iswgraph_l, __iswprint_l, __iswpunct_l, __iswspace_l, __iswupper_l,
3327 __iswxdigit_l, __towlower_l, __towupper_l): Support alternate locale
3328 format with 3-level tables.
3329 * wctype/wcextra_l.c (__iswblank_l): Likewise.
3330 * wctype/wctype.c (__wctype): Likewise. In the alternate locale
3331 format, return a 3-level table pointer.
3332 * wctype/wctype_l.c (__wctype_l): Likewise.
3333 * wctype/wctrans.c (wctrans): Likewise.
3334 * wctype/wctype.h (__ISwupper, __ISwlower, __ISwalpha, __ISwdigit,
3335 __ISwxdigit, __ISwspace, __ISwprint, __ISwgraph, __ISwblank,
3336 __ISwcntrl, __ISwpunct, __ISwalnum): New enum values.
3337 (iswctype): Remove macro definition.
3338 * wcsmbs/wcwidth.h: Include "wchar-lookup.h".
3339 (internal_wcwidth): Support alternate locale format with 3-level
3341 * locale/langinfo.h (_NL_CTYPE_CLASS_OFFSET, _NL_CTYPE_MAP_OFFSET):
3343 * locale/categories.def (_NL_CTYPE_CLASS_OFFSET, _NL_CTYPE_MAP_OFFSET):
3344 Define them as being type "word".
3345 * locale/C-ctype.c (_nl_C_LC_CTYPE): Add initializers for them.
3346 * ctype/ctype-info.c (__ctype32_wctype, __ctype32_wctrans,
3347 __ctype32_width): New exported variables.
3348 * locale/lc-ctype.c (_nl_postload_ctype): Initialize them in the
3349 alternate locale format. Don't initialize __ctype_names and
3350 __ctype_width in the alternate locale format.
3351 * locale/programs/localedef.h (oldstyle_tables): New declaration.
3352 * locale/programs/localedef.c (oldstyle_tables): New variable.
3353 (OPT_OLDSTYLE): New macro.
3354 (options): Add --old-style option.
3355 (parse_opt): Handle --old-style option.
3356 * locale/programs/ld-ctype.c (locale_ctype_t): Add class_offset,
3357 map_offset, class_3level, map_3level, width_3level members.
3358 (ctype_output): Support for alternate locale format: Computation of
3359 nelems changes. _NL_CTYPE_TOUPPER32, _NL_CTYPE_TOLOWER32 and
3360 _NL_CTYPE_CLASS32 only 256 characters. _NL_CTYPE_NAMES empty.
3361 New fields _NL_CTYPE_CLASS_OFFSET, _NL_CTYPE_MAP_OFFSET. Field
3362 _NL_CTYPE_WIDTH now contains the three-level table. Extra elems
3363 now contain both class and map tables.
3364 (struct wctype_table): New type.
3365 (wctype_table_init, wctype_table_add, wctype_table_finalize): New
3367 (struct wcwidth_table): New type.
3368 (wcwidth_table_init, wcwidth_table_add, wcwidth_table_finalize): New
3370 (struct wctrans_table): New type.
3371 (wctrans_table_init, wctrans_table_add, wctrans_table_finalize): New
3373 (allocate_arrays): Support for alternate locale format: Set
3374 plane_size and plane_cnt to 0. Restrict ctype->ctype32_b to the first
3375 256 characters. Compute ctype->class_3level. Restrict ctype->map32[idx]
3376 to the first 256 characters. Compute ctype->map_3level. Set
3377 ctype->class_offset and ctype->map_offset. Compute ctype->width_3level
3378 instead of ctype->width.
3380 2000-07-24 Ulrich Drepper <drepper@redhat.com>
3382 * libio/iogetwline.c (_IO_getwline_info): Use wide character
3385 2000-07-24 Jakub Jelinek <jakub@redhat.com>
3387 * libio/wfiledoalloc.c (_IO_wfile_doallocate): Measure size
3388 in wide characters, not bytes.
3389 * libio/tst_putwc.c (do_test): Add test for writing lots of data
3392 2000-07-22 Bruno Haible <haible@clisp.cons.org>
3394 * locale/nl_langinfo.c (nl_langinfo): Accept items belonging to the
3395 new categories LC_PAPER, LC_NAME, LC_ADDRESS, LC_TELEPHONE,
3396 LC_MEASUREMENT, LC_IDENTIFICATION.
3398 * locale/xlocale.h (struct __locale_struct): Increase size of
3400 * locale/duplocale.c (__duplocale): Copy newly added categories as
3402 * locale/freelocale.c (__freelocale): Free newly added categories.
3403 * locale/newlocale.c (__newlocale): Fix typo in sanity check.
3404 If a base is given, use it, don't simply return it.
3406 2000-07-22 Bruno Haible <haible@clisp.cons.org>
3408 * crypt/md5-crypt.c (__md5_crypt_r): Avoid gcc warnings: Use pointer
3409 variables, copied_key and copied_salt, instead of boolean variables.
3411 2000-07-24 Andreas Jaeger <aj@suse.de>
3413 * sysdeps/unix/sysv/linux/powerpc/mmap64.c (__mmap64): Really fix
3416 * grp/initgroups.c (initgroups_dyn_function): Renamed from
3417 initgroups_function, adopted prototype for change from 2000-07-23.
3418 (initgroups): Follow type change.
3420 * sysdeps/unix/sysv/linux/powerpc/mmap64.c (__mmap64): Fix offset
3421 & PAGE_MASK case, reformat.
3423 * string/Makefile ($(objpfx)tst-svc.out): Fix rule to read input
3424 from stdin and setup environment.
3426 2000-07-24 Andreas Schwab <schwab@suse.de>
3428 * sysdeps/unix/sysv/linux/m68k/mmap.S: Remove mmap64 alias.
3430 2000-07-23 Ulrich Drepper <drepper@redhat.com>
3432 * string/endian.h: Explain the _*_ENDIAN constant values a bit
3433 more. Patch by scarlet@mit.edu [PR libc/1799].
3435 * io/ftwtest-sh: Add -f parameter to chmod if -R is also given.
3438 * argp/argp-parse.c (parser_finalize): Reverse order in which
3439 parsers are run for ARGP_KEY_END. [PR libc/1755].
3441 * grp/initgroups.c (initgroups): Don't limit the possible number
3442 of groups to NGROUPS_MAX. Allow dynamic resizing. Loop around
3443 the setgroups call while the call fails and descrease the number
3444 of groups each round.
3445 The name of the initgroups function in the NSS modules changed.
3446 (compat_call): Adapt for dynamic resizing.
3447 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
3448 Implement dynamic resizing.
3449 * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
3451 * nis/nss_nis/compat-initgroups.c (_nss_nis_initgroups_dyn): Likewise.
3452 * hesiod/Versions: Change exported interface name.
3453 * nis/Versions: Change exported interface name.
3455 2000-07-23 Ulrich Drepper <drepper@redhat.com>
3457 * locale/iso-639.def: Some errors corrected.
3458 Patch by Keld Simonsen.
3460 * include/limits.h: Update non-gcc portion.
3461 Patch by Joseph S. Myers <jsm28@cam.ac.uk>.
3463 2000-07-22 Mark Kettenis <kettenis@gnu.org>
3465 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When shrinking the
3466 program's data space, reallocate only the space that was just
3467 deallocated to release its backing space.
3469 2000-07-23 Ulrich Drepper <drepper@redhat.com>
3471 * stdio-common/vfprintf.c (process_string_arg): For wide character
3472 version, handle precision also correctly.
3474 * nss/nss_files/files-hosts.c: Correct problem with three or more
3475 entries with the same name.
3477 * nss/nss_files/files-hosts.c: Implement multi handling.
3478 * resolv/Versions: Export _res_hconf for GLIBC_2.2 from libc.
3480 2000-07-22 Ulrich Drepper <drepper@redhat.com>
3482 * nss/nss_files/files-parse.c: Don't pollute namespace by using
3485 * grp/Makefile: Change Makefiles and tests to run only when necessary.
3486 * malloc/Makefile: Likewise.
3487 * malloc/tst-mtrace.sh: Likewise.
3488 * posix/Makefile: Likewise.
3489 * posix/globtest.sh: Likewise.
3490 * posix/wordexp-tst.sh: Likewise.
3491 * string/Makefile: Likewise.
3493 2000-07-22 Mark Kettenis <kettenis@gnu.org>
3495 * locale/findlocale.c (locale_file_list): Use __LC_LAST as array
3496 size instead of LC_ALL to take into account the new locale
3499 2000-07-22 Ulrich Drepper <drepper@redhat.com>
3501 * iconv/gconv_trans.c: Correct a few bugs in the search loop. Remove
3502 remainders of hash table.
3503 * locale/categories.def: Remove remainders of transliteration
3505 * locale/langinfo.h: Likewise.
3506 * locale/programs/ld-ctype.c: Likewise. Fix code to write out
3507 transliteration tables.
3509 * locale/gen-translit.pl: New file.
3510 * locale/C-translit.h.in: New file.
3511 * locale/C-ctype.c: Include C-translit.h. Initialize transliteration
3512 data pointers with data from this file.
3513 * locale/Makefile (distribute): Add C-translit.h.in, C-translit.h,
3514 and gen-translit.pl.
3515 Add rule to generate C-translit.h.
3516 * intl/tst-translit.c (main): Update for now performed
3519 * stdio-common/vfscanf.c: Handle input -- with format %f correctly
3520 (it's no input error).
3521 * stdio-common/tstscanf.c: Add test case for format %f with input --.
3522 * stdio-common/scanf12.c: Correct expected result for first scanf.
3524 * stdio-common/vfprintf.c (process_string_arg): Correct handling
3525 of multibyte character strings in %s format with precision.
3527 2000-07-21 Ulrich Drepper <drepper@redhat.com>
3529 * locale/programs/ld-collate.c (collate_read): Allow collating
3530 symbols and elements be named in reorder-after instructions.
3531 Reported by Yoshito Kawada <KAWADA@jp.ibm.com>.
3533 * locale/programs/ld-collate.c (handle_ellipsis): Test for
3534 duplication with generated name, not the name of the first
3536 Patch by Yong Li <yong.li@asu.edu>.
3538 * sysdeps/powerpc/strchr.S: Correct bugs introduced in BP-ification.
3539 Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
3541 2000-07-21 Wolfram Gloger <wg@malloc.de>
3543 * malloc/malloc.c (chunk_alloc): Try mmap_chunk() for smaller
3544 allocations only if a non-main arena cannot be extended.
3546 2000-07-21 Ulrich Drepper <drepper@redhat.com>
3548 * elf/dl-load.c (_dl_map_object): Take loader==NULL into account
3549 in DF_1_NODEFLIB handling.
3551 2000-07-21 Andreas Jaeger <aj@suse.de>
3553 * elf/Makefile ($(test-modules)): Exclude filtmod1.so, it has its
3556 * libio/fwide.c: Include <wchar.h> for prototype.
3558 2000-07-21 Greg McGary <greg@mcgary.org>
3560 * malloc/malloc.c (next_chunk, prev_chunk, inuse_bit_at_offset,
3561 set_inuse_bit_at_offset, clear_inuse_bit_at_offset, set_foot):
3562 Define in terms of chunk_at_offset.
3563 (inuse, set_inuse, clear_inuse): Define in terms of next_chunk.
3564 (next_bin, prev_bin): offset by size of real array elements.
3565 (chunk_align): Make `m' a scalar, since that's how it's used.
3567 2000-07-21 Greg McGary <greg@mcgary.org>
3569 * sysdeps/powerpc/bp-asm.h (DISCARD_BOUNDS): Rename from
3571 * sysdeps/powerpc/bits/setjmp.h (JB_SIZE): New constant.
3572 * sysdeps/powerpc/elf/libc-start.c (__libc_start_main):
3573 Wrap bounds around argv & envp and each of their string members.
3574 * sysdeps/powerpc/elf/start.S: Designate BP symbols.
3575 * sysdeps/unix/sysv/linux/powerpc/brk.S: Wrap entry-point
3576 symbol in BP_SYM (). Discard bounds of address arg.
3577 * sysdeps/unix/sysv/linux/powerpc/clone.S: Likewise.
3578 * sysdeps/unix/sysv/linux/powerpc/mmap64.c (__mmap64):
3579 Discard bounds on address arg, add bounds to return value.
3581 2000-07-20 Ulrich Drepper <drepper@redhat.com>
3583 * elf/Makefile (tests): Add filter. Add rules to generate filter.
3584 * elf/filter.c: New file.
3585 * elf/filtmod1.c: New file.
3586 * elf/filtmod2.c: New file.
3588 * elf/rtld.c: Define _dl_bind_not variable.
3589 (process_envvars): Recognize LD_BIND_NOT and set _dl_bind_not.
3590 * elf/dl-support.c: Likewise.
3591 * sysdeps/generic/ldsodefs.h: Declare _dl_bind_not.
3592 * elf/dl-runtime.c (fixup): Don't remember looked up value if
3594 (profile_fixup): Likewise.
3596 * libio/Makefile (routines): Add fwide.
3597 * libio/iofwide.c (_IO_fwide): Remove locking. This is done in
3598 fwide now. Internal calls to _IO_fwide must do locking themselves
3599 or don't need locking.
3600 * libio/fwide.c: New file.
3602 * elf/dl-load.c (_dl_map_object): Implement handling of DF_1_NODEFLIB.
3604 * elf/Makefile: Add no modules for nodelete test.
3605 * elf/nodelmod3.c: New file.
3606 * elf/nodelmod4.c: New file.
3607 * elf/nodelete.c: Also test case where dependency of dlopen() object
3610 * elf/Makefile (tests): Add nodlopen. Add rules to generate nodlopen.
3611 * elf/nodlopen.c: New file.
3612 * elf/nodlopenmod.c: New file.
3613 * include/dlfcn.h: Define __RTLD_DLOPEN.
3614 * elf/dl-load.c (_dl_map_object_from_fd): If DF_1_NOOPEN is set
3615 and this is a dlopen() call, do not load the binary.
3616 * dlfcn/dlopen.c: Add __RTLD_DLOPEN to mode passed down to _dl_open.
3617 * dlfcn/dlopenold.c: Likewise.
3618 * configure.in: Add test for -z nodelete option.
3619 * config.make.in: Define have-z-nodelete with libc_cv_z_nodelete.
3621 2000-07-20 Mark Kettenis <kettenis@gnu.org>
3623 Make Hesiod NSS module thread-safe.
3625 * hesiod/README.hesiod: Update.
3627 * hesiod/Versions [GLIBC_2.2]: Add _nss_hesiod_getservbyport_r,
3628 _nss_hesiod_setprotoent, _nss_hesiod_endprotoent,
3629 _nss_hesiod_getprotobyname_r, and _nss_hesiod_getprotobynumber_r.
3630 * hesiod/Makefile (libnss_hesiod-routines): Add hesiod-init and
3632 * hesiod/nss_hesiod/hesiod-init.c: New file.
3633 * hesiod/nss_hesiod/hesiod-pwd.c: Rewritten for thread-safeness.
3634 * hesiod/nss_hesiod/hesiod-grp.c: Likewise.
3635 * hesiod/nss_hesiod/nss_hesiod.h: New file.
3636 * hesiod/nss_hesiod/hesiod-service.c
3637 (_nss_hesiod_getservbyport_r): New function. Provide support for
3638 looking up services by port number.
3639 * hesiod/nss_hesiod/hesiod-proto.c: New file.
3641 * hesiod/hesiod.c: Update from BIND 8.2.3-T5B.
3642 * hesiod/hesiod.h: Likewise.
3643 * hesiod/hesiod_p.h: Likewise.
3645 2000-07-20 Mark Kettenis <kettenis@gnu.org>
3647 Fix problems with `struct __res_state' getting too big.
3648 * resolv/resolv.h (struct __sockaddr_in): New definition.
3649 (struct __res_state): Use __sockaddr_in instead of sockaddr_in in
3650 the private parts of the structure to save some space.
3651 * resolv/res_send.c (res_nsend): Cast &EXT(statp).nsaddrs[ns] to
3652 (struct sockaddr_in *) in call to sock_eq.
3653 Use memcpy to copy statp->nsaddr_list[ns] to &EXT(statp).nsaddrs[ns].
3655 2000-07-20 Ulrich Drepper <drepper@redhat.com>
3657 * elf/elf.h: Add various DF_1_*, DTF_1_*, and DF_P1_* entries.
3658 * elf/dl-close.c (_dl_close): Don't close an object if it is marked
3660 * elf/dl-open.c (dl_open_worker): Pass RTLD_NOLOAD as new parameter
3661 to _dl_map_object. Return immediately if no object loaded.
3662 Set DF_1_NODELETE bit in l_flags_1 if RTLD_NODELETE was passed.
3663 * elf/dynamic-link.h (elf_get_dynamic_info): Copy DT_FLAGS_1 entry
3664 if it exists into l_flags_1 word.
3665 * elf/dl-load.c (_dl_map_object_from_fd): Take no parameter and use
3666 it to determine whether loading is wanted or not.
3667 (_dl_map_object): Likewise.
3668 Call _dl_map_object_from_fd with new parameter.
3669 * sysdeps/generic/ldsodefs.h: Update prototype.
3670 * elf/dl-deps.c: Add new parameter to _dl_map_object calls.
3671 * elf/rtld.c: Likewise.
3672 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
3673 * elf/Makefile (tests): Add noload. Add rules to generate noload.
3674 * elf/noload.c: New file.
3675 * include/link.h (struct link_map): Add l_feature_1 and l_flags_1.
3676 * sysdeps/generic/bits/dlfcn.h: Define RTLD_NOLOAD and RTLD_NODELETE.
3677 * sysdeps/mips/bits/dlfcn.h: Likewise.
3678 * elf/Makefile (tests): Add $(tests-nodelete-$(have-z-nodelete)).
3679 (tests-nodelete-yes): Define.
3680 (modules-names): Add $(modules-nodelete-$(have-z-nodelete)).
3681 Add rules to build nodelete and modules.
3682 * elf/nodelete.c: New file.
3683 * elf/nodelmod1.c: New file.
3684 * elf/nodelmod2.c: New file.
3685 * configure.in: Add test for -z nodelete option.
3686 * config.make.in: Define have-z-nodelete with libc_cv_z_nodelete.
3688 * libio/Makefile (tests): Add tst_wprintf2.
3689 (tst_wprintf2-ARGS): Define.
3690 * libio/tst_wprintf2.c: New file.
3691 Based on a test case by Yoshito Kawada <KAWADA@jp.ibm.com>.
3693 * libio/wfiledoalloc.c: Only allocate external buffer if this
3694 hasn't happened yet.
3696 * libio/wfileops.c (_IO_wdo_write): Overflow only if there is really
3697 something in the buffer. gconv call can write up to end of the
3698 buffer, not only _IO_write_end.
3699 (_IO_wfile_overflow): Allocate also external buffer.
3701 2000-07-19 Ulrich Drepper <drepper@redhat.com>
3703 * stdio-common/vfprintf.c (process_string_arg): Handle multibyte
3704 strings with precision in vfwprintf correctly.
3705 * stdio-common/vfprintf.c: Fix completely broken handling of
3706 unbuffered wide character streams.
3707 Reported by Yoshito Kawada <KAWADA@jp.ibm.com>.
3709 * resolv/Makefile (distribute): Add README.
3711 * resolv/README: New file. By Mark Kettenis <kettenis@gnu.org>.
3713 2000-07-18 Mark Kettenis <kettenis@gnu.org>
3715 Update resolver code to BIND 8.2.3-T5B.
3717 * resolv/Versions [GLIBC_2.2] (libc): Add __res_init and
3719 [GLIBC_2.2] (libresolv): Add __dn_expand, __ns_samename,
3720 __res_mkquery, __res_nsend, __res_query, __res_querydomain and
3722 * resolv/Banner: BIND-8.2.3-T5B.
3724 * resolv/base64.c: Update from BIND 8.2.3-T5B.
3725 * resolv/herror.c: Likewise.
3726 * resolv/inet_addr.c: Likewise.
3727 * resolv/inet_net_ntop.c: Likewise.
3728 * resolv/inet_net_pton.c: Likewise.
3729 * resolv/inet_neta.c: Likewise.
3730 * resolv/inet_ntop.c: Likewise.
3731 * resolv/nsap_addr.c: Likewise.
3732 * resolv/inet_pton.c: Likewise. Reject a few more more invalid
3733 IPv6 addresses (ISC bug #520).
3735 * resolv/ns_name.c: Avoid emitting RCS ID in object file.
3736 * resolv/ns_parse.c: Likewise.
3737 * resolv/ns_netint.c: Likewise.
3738 * resolv/ns_samedomain.c: Likewise.
3739 * resolv/ns_ttl.c: Likewise.
3740 * resolv/ns_print.c: Update from BIND 8.2.3-T5B. Avoid emitting
3741 RCS ID in object file.
3743 * resolv/res_debug.c: Update from BIND 8.2.3-T5B.
3744 * resolv/res_mkquery.c: Likewise.
3745 * resolv/res_query.c: Likewise.
3746 * resolv/res_init.c: Likewise.
3747 (res_setoptions): Mark internal.
3748 * resolv/res_send.c: Likewise.
3749 [_LIBC]: Fully reinstate the code that avoids the FD_SETSIZE limit
3750 by using poll instead.
3751 * resolv/res_comp.c: Likewise.
3752 [SHLIB_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_2)]: Make dn_expand a
3753 weak alias for __dn_expand.
3754 * resolv/res_data.c: Likewise.
3755 (res_close) [_LIBC]: Don't call res_nclose if RES_INIT isn't set
3756 in _res.options. Avoids a potential security risk by avoiding a
3758 [SHLIB_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_2)]: Make
3759 res_mkquery, res_query, res_querydomain adn res_search weak
3760 aliases for __res_mkquery, __res_query, __res_querydomain and
3762 * resolv/res_libc.c: (_res): Don't initialize. Fix res_close
3763 instead to avoid close(0).
3764 (res_init): Always use the static resolver context.
3765 [SHLIB_COMPAT (libc, GLIBC_2.0, GLIBC_2_2)]: Make res_init a weak
3766 alias for __res_init.
3768 * resolv/resolv.h: Update from BIND 8.2.3-T5B. Move definition of
3769 RES_SET_H_ERRNO and accompanying comment to...
3770 * include/resolv.h: ... here.
3772 * resolv/arpa/namser.h: Update from BIND 8.2.3-T5B.
3773 * resolv/arpa/nameser_compat.h: Likewise.
3775 2000-07-18 Ulrich Drepper <drepper@redhat.com>
3777 * nss/makedb.c (main): Compare result of load_db with
3778 NSS_STATUS_SUCCESS and not 0.
3779 Patch by Jan Rekorajski <baggins@sith.mimuw.edu.pl>.
3781 * sysdeps/unix/sysv/linux/Versions: Export __sysctl for GLIBC_2.2.
3783 2000-07-18 Greg McGary <greg@mcgary.org>
3785 * posix/regex.c (EXTEND_BUFFER_HIGH_BOUND): New macro.
3786 (EXTEND_BUFFER): Use it.
3788 2000-07-18 Ulrich Drepper <drepper@redhat.com>
3790 * include/libc-symbols.h: Define RETURN_ADDRESS macro.
3791 * dlfcn/dlopen.c: Use RETURN_ADDRESS instead of
3792 __builtin_return_address.
3793 * dlfcn/dlopenold.c: Likewise.
3794 * dlfcn/dlsym.c: Likewise.
3795 * dlfcn/dlvsym.c: Likewise.
3796 * elf/dl-profstub.c: Likewise.
3797 * malloc/malloc.c: Likewise.
3798 * sysdeps/generic/machine-gmon.h: Likewise.
3799 Based on a patch by schwidefsky@de.ibm.com.
3801 2000-07-18 Andreas Jaeger <aj@suse.de>
3803 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Pass 0 instead of
3804 NULL to elf_machine_fixup_plt t argument to silence GCC.
3806 * include/string.h: Add prototype for __memchr.
3808 * sysdeps/alpha/memchr.S: Fix copy & error in weak_alias.
3810 * sysdeps/generic/memchr.c: Fix copy & paste error: Use memchr
3813 2000-07-18 Ulrich Drepper <drepper@redhat.com>
3815 * intl/Makefile: Make sure tst-translit is run after tst-gettext.
3817 * locale/C-ctype.c: Add initializers for gap elements.
3818 * locale/programs/ld-ctype.c (ctype_output): Write out index entries
3821 2000-07-16 Ulrich Drepper <drepper@redhat.com>
3823 * nscd/nscd.c (print_version): Update copyright year.
3825 2000-07-17 Greg McGary <greg@mcgary.org>
3827 * sysdeps/unix/make-syscalls.sh: Handle new arg signature
3828 keyletters F, I, S, W. Remove unused keyletter V. Surround
3829 signature argnames with angle-brackets for use as word delimiters,
3830 and to induce syntax errors for any args not handled. Split
3831 multi-echo echoes and comment each stage.
3832 * sysdeps/unix/common/syscalls.list: Refine & correct signatures.
3833 * sysdeps/unix/inet/syscalls.list: Likewise.
3834 * sysdeps/unix/mman/syscalls.list: Likewise.
3835 * sysdeps/unix/syscalls.list: Likewise.
3836 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
3837 * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
3838 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
3839 * sysdeps/unix/sysv/syscalls.list: Likewise.
3840 * sysdeps/unix/sysv/linux/powerpc/syscalls.list
3842 * sysdeps/generic/strcpy.c (strcpy): Stifle unused-value warnings.
3843 * sysdeps/unix/sysv/linux/execve.c (__execve): Add const
3844 qualifiers. Don't check NULL-terminator of argv & envp.
3845 * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path): Use
3846 unbounded pointer type in word-size assertion.
3847 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Add missing
3848 cases to stifle warnings.
3850 * libio/iofdopen.c (_IO_new_fdopen): Pass _IO_FILE_plus pointer to
3852 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
3854 * include/libc-symbols.h (symbol_set_declare): Revert 2000-06-26 mods.
3855 * include/set-hooks.h (RUN_HOOK): Revert 2000-06-26 mods. Qualify
3858 * Makerules (o-objects): Supplement with $(o-objects$o).
3859 * string/Makefile (o-objects.ob): Add variable to pull
3860 unbounded versions of memcpy, memset and memchr into libc_b.
3862 * sysdeps/generic/bp-checks.h: Use unbounded __memchr
3863 rather than non-existent __ubp_memchr.
3864 (CHECK_STRINGopt, CHECK_FCNTL, BOUNDED_N, BOUNDED_1): New macros.
3865 (_CHECK_STRING, _CHECK_N): New macros.
3866 (CHECK_STRING, CHECK_N, CHECK_Nopt): Rewrite in terms of _CHECK_*.
3867 (CHECK_IOCTL): Move inside `#if !__ASSEMBLER__'.
3868 * sysdeps/alpha/memchr.S: Change strong name to "__memchr".
3869 Add weak alias "memchr".
3870 * sysdeps/generic/memchr.c: Likewise.
3871 * sysdeps/i386/memchr.S: Likewise.
3872 * sysdeps/ia64/memchr.S: Likewise.
3873 * sysdeps/m68k/memchr.S: Likewise.
3874 * sysdeps/sparc/sparc32/memchr.S: Likewise.
3875 * sysdeps/sparc/sparc64/memchr.S: Likewise.
3876 * sysdeps/vax/memchr.s: Likewise.
3878 * iconv/gconv_trans.c: Add #include <stdlib.h> to get malloc decl.
3880 * elf/dl-runtime.c (fixup): Trampoline passes unbounded pointer.
3881 (profile_fixup): Don't define for __BOUNDED_POINTERS__.
3882 * sysdeps/i386/dl-machine.h: Don't use regparm attribute for
3883 __BOUNDED_POINTERS__.
3884 (ELF_MACHINE_RUNTIME_TRAMPOLINE): Use non-regparm version
3885 for __BOUNDED_POINTERS__.
3887 2000-07-17 Bruno Haible <haible@clisp.cons.org>
3889 * iconv/gconv_open.c (__gconv_open): Initialize the __data
3890 field of struct __gconv_trans_data differently. Don't pass NULL to
3891 trans_init_fct. Simplify list append operation.
3893 2000-07-14 Bruno Haible <haible@clisp.cons.org>
3895 * intl/dcigettext.c (dcigettext): Call plural_eval on all platforms,
3896 not only those having tsearch.
3898 2000-07-17 Ulrich Drepper <drepper@redhat.com>
3900 * locale/langinfo.h: Add placeholder values in enum for removed
3903 2000-07-17 Jakub Jelinek <jakub@redhat.com>
3905 * elf/dl-addr.c (_dl_addr): Keep searching in the _dl_loaded
3906 chain if the PHDR check fails.
3908 2000-07-17 Mark Kettenis <kettenis@gnu.org>
3910 * nss/getent.c (print_hosts): Make sure we always print a space
3911 between numeric addresses and hostnames.
3913 2000-07-17 Wolfram Gloger <wg@malloc.de>
3915 * malloc/malloc.c (chunk_alloc): Use mmap_chunk() only if allowed,
3916 i.e. if n_mmaps_max>0.
3918 2000-07-16 Mark Kettenis <kettenis@gnu.org>
3920 * resolv/netdb.h (AI_V4MAPPED, AI_ALL, AI_ADDRCONFIG): Adjust
3921 values to remove possible clash with other AI_* constants.
3922 (AI_PASSIVE, AI_CANONNAME, AI_NUMERICHOST): Define as
3923 hexadecimal constants to stress the fact they're in fact
3926 2000-07-15 Mark Kettenis <kettenis@gnu.org>
3928 * nss/getXXent_r.c [NEED__RES]: Include <resolv.h>.
3929 (SETFUNC_NAME, ENDFUNC_NAME, REENTRANT_GETNAME): Use res_ninit
3930 instead of res_init.
3932 2000-07-16 Ulrich Drepper <drepper@redhat.com>
3934 * crypt/md5-crypt.c (__md5_crypt_r): Add casts for first
3935 parameters of memset calls to avoid warnings.
3937 2000-07-15 Ulrich Drepper <drepper@redhat.com>
3939 * stdlib/Makefile: Rewrite rules to avoid running isomac unless
3942 * sysdeps/unix/sysv/linux/getcwd.c: Correct last patch.
3943 Patch by Greg McGary <greg@mcgary.org>.
3945 * io/Makefile (tests): Add tst-getcwd.
3946 * io/tst-getcwd.c: New file.
3948 * io/Makefile: Rewrite rules to avoid running ftwtest unless necessary.
3950 2000-07-15 Jakub Jelinek <jakub@redhat.com>
3952 * iconv/gconv_open (__gconv_open): Initialize whole __gconv_trans_data
3955 2000-07-13 Jakub Jelinek <jakub@redhat.com>
3957 * sysdeps/posix/sysconf.c: Undef __sysconf before weak_alias.
3958 * sysdeps/unix/bsd/getpt.c: Undef __getpt before weak_alias.
3960 2000-07-12 H.J. Lu <hjl@gnu.org>
3962 * sysdeps/unix/sysv/linux/ia64/Versions (libc): Add __clone2 to
3964 * sysdeps/unix/sysv/linux/ia64/Dist: Add clone2.S.
3965 * sysdeps/unix/sysv/linux/ia64/Makefile [$(subdir)=misc]
3966 (sysdep-routines): Add clone2.
3967 * sysdeps/unix/sysv/linux/ia64/clone2.S: New.
3969 2000-07-13 Jes Sorensen <jes@linuxcare.com>
3971 * sysdeps/unix/sysv/linux/ia64/clone.S: New file.
3972 * sysdeps/unix/sysv/linux/ia64/fork.c: New file.
3974 2000-06-05 David Mosberger <davidm@hpl.hp.com>
3976 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: New file
3977 based on sysdeps/unix/sysv/linux/bits/siginfo.h.
3978 Change type of si_band from "int" to "long".
3979 (si_imm) [USE_GNU]: Define
3980 (si_isr) [USE_GNU]: Ditto.
3981 (ILL_BREAK) [USE_GNU]: Ditto.
3982 (FPE_DECOVF) [USE_GNU]: Ditto.
3983 (FPE_DECDIV) [USE_GNU]: Ditto.
3984 (FPE_DECERR) [USE_GNU]: Ditto.
3985 (FPE_INVASC) [USE_GNU]: Ditto.
3986 (FPE_INVDEC) [USE_GNU]: Ditto.
3987 (TRAP_BRANCH) [USE_GNU]: Ditto.
3988 (TRAP_HWBKPT) [USE_GNU]: Ditto.
3990 2000-07-06 Jes Sorensen <jes@linuxcare.com>
3992 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
3993 bits/sigcontext as struct mcontext does not depend on it.
3995 * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h: New file.
3997 2000-07-04 Jes Sorensen <jes@linuxcare.com>
3999 * sysdeps/unix/sysv/linux/ia64/shmctl.c: Removed.
4001 2000-07-04 David Mosberger-Tang <davidm@hpl.hp.com>
4003 * sysdeps/unix/sysv/linux/ia64/bits/msq.h: New file.
4005 2000-06-22 Jes Sorensen <jes@linuxcare.com>
4007 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: New file.
4009 2000-07-15 Ulrich Drepper <drepper@redhat.com>
4011 * intl/Makefile (test-srcs): Add tst-translit.
4013 Add rules to build and run tst-translit.
4014 * intl/tst-translit.c: New file.
4015 * intl/tst-translit.sh: New file.
4016 * intl/translit.po: New file.
4018 2000-07-14 Ulrich Drepper <drepper@redhat.com>
4020 * iconv/loop.c (STANDARD_ERR_HANDLER): If one of the
4021 transliteration function did its job, continue, don't stop.
4023 * iconvdata/iso646.c: Little optimizations in body for conversion
4026 2000-07-14 Mark Kettenis <kettenis@gnu.org>
4028 * dlfcn/dlerror.c (free_key_mem): Add cast to silence compiler warning.
4030 2000-07-14 Mark Kettenis <kettenis@gnu.org>
4032 * configure.in: Check for pwd binary.
4033 * config.make.in: Add PWD_P to be subsituted.
4034 * Makerules: Use $(PWD_P) instead of /bin/pwd.
4036 2000-07-14 Ulrich Drepper <drepper@redhat.com>
4038 * iconvdata/Makefile (modules): Add GB18030.
4039 (distribute): Add gb18030.c.
4040 * iconvdata/gconv-modules: Add entries for GB18030 module.
4041 * iconvdata/gb18030.c: New file.
4042 Contributed by Wang ShouHua <shouhuawang@redflag-linux.com>
4045 2000-07-13 Andreas Jaeger <aj@suse.de>
4047 * sysdeps/unix/sysv/linux/getsysstats.c (free_mem): Revert last
4050 * grp/fgetgrent.c (free_mem): Remove if - free (0) is valid.
4051 * inet/getnetgrent.c (free_mem): Likewise.
4052 * misc/mntent.c (free_mem): Likewise.
4053 * nss/getXXbyYY.c (free_mem): Likewise.
4054 * nss/getXXent.c (free_mem): Likewise.
4055 * pwd/fgetpwent.c (free_mem): Likewise.
4056 * shadow/fgetspent.c (free_mem): Likewise.
4058 2000-07-14 Ulrich Drepper <drepper@redhat.com>
4060 * sunrpc/xdr.c (xdr_u_long): Handle reading of unsigned long on
4061 64-bit architecture correctly [PR libc/1794].
4063 2000-07-13 Ulrich Drepper <drepper@redhat.com>
4065 * elf/Versions (ld): Export _dl_out_of_memory for GLIBC_2.2.
4066 * dlfcn/dlerror.c (dlerror): Don't free the error string if it is the
4067 report that we are out of memory.
4068 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
4069 * elf/dl-libc.c (dlerror_run): Likewise.
4070 * elf/dl-open.c (_dl_open): Likewise.
4071 * elf/rtld.c (dl_main): Likewise.
4072 * elf/dl-error.c: Define _dl_out_of_memory.
4073 (_dl_signal_error): Return _dl_out_of_memory if we cannot duplicate
4075 * sysdeps/generic/ldsodefs.h: Declare _dl_out_of_memory.
4078 * dlfcn/dlerror.c (free_key_mem): Also free error string.
4080 * iconv/loop.c: Fix comment.
4082 * malloc/mtrace.c (tr_freehook): Return immediately if ptr is NULL.
4084 2000-07-13 Andreas Jaeger <aj@suse.de>
4086 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Correctly handle
4087 getcwd (NULL, size) with size > 0.
4088 Fixes PR libc/1788, reported by John Buddery <jvb@cyberscience.com>.
4090 2000-07-13 Andreas Jaeger <aj@suse.de>
4092 * posix/Makefile: Remove build rules for libposix.
4094 2000-07-13 Andreas Schwab <schwab@suse.de>
4096 * sysdeps/generic/glob.c (glob): Fix memory leak.
4097 [SHELL]: Remove reference to undefined variable `files'.
4100 2000-07-13 Andreas Jaeger <aj@suse.de>
4102 * sysdeps/unix/sysv/linux/mips/Versions: Add libgcc frame handling
4105 * sysdeps/unix/sysv/linux/getsysstats.c (free_mem): Only free
4106 memory if it was allocated.
4108 2000-07-12 Ulrich Drepper <drepper@redhat.com>
4110 * iconv/gconv_db.c (gen_steps): Always initialize __data field of
4113 * iconv/gconv_open.c (__gconv_open): Reapply
4114 2000-07-12 Bruno Haible <haible@clisp.cons.org>
4116 * iconv/gconv_open.c (__gconv_open): Merge duplicated code.
4118 * iconv/gconv_open.c: Undo last two changes for now. They break
4121 2000-07-12 Andreas Jaeger <aj@suse.de>
4123 * elf/Makefile (SYSCONF-FLAGS): Added to pass sysconfdir to
4125 (CFLAGS-cache.c): Added, uses SYSCONF-FLAGS.
4126 (CFLAGS-dl-cache.c): Likewise.
4127 (CFLAGS-ldconfig.c): Added, passes directory locations.
4129 * sysdeps/generic/dl-cache.h (LD_SO_CACHE): Use SYSCONFDIR to
4131 * elf/ldconfig.c (LD_SO_CONF): Likewise.
4132 (main): Use configured LIBDIR and SLIBDIR.
4134 2000-07-11 Jakub Jelinek <jakub@redhat.com>
4136 * math/bits/cmathcalls.h (cimag): Add __THROW.
4137 (creal, conj): Likewise.
4138 * wctype/wctype.h (_ISwbit): Avoid warnings about shifting left
4141 2000-07-12 H.J. Lu <hjl@gnu.org>
4143 * resolv/Versions (libresolv): Add __res_hostalias to GLIBC_2.2
4144 for _nss_dns_gethostbyname2_r in resolv/nss_dns/dns-host.c.
4146 2000-07-12 Ulrich Drepper <drepper@redhat.com>
4148 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Shut gcc up although
4151 2000-07-12 Bruno Haible <haible@clisp.cons.org>
4153 * iconv/gconv_open.c (__gconv_open): Merge duplicated code.
4155 2000-07-12 Bruno Haible <haible@clisp.cons.org>
4157 * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Initialize
4160 2000-07-12 Bruno Haible <haible@clisp.cons.org>
4162 * iconv/gconv_open.c (__gconv_open): Initialize
4163 result->__steps[cnt].__data.
4165 2000-07-12 Mark Kettenis <kettenis@gnu.org>
4167 * nss/getent.c (services_keys): Pass port number in network byte
4168 order in call to getservbyport.
4170 2000-07-11 Andreas Jaeger <aj@suse.de>
4172 * stdlib/Makefile (test-canon-ARGS): Fix for building in the
4174 * intl/Makefile (do-gettext-test): Likewise.
4175 * dirent/Makefile (opendir-tst1-ARGS): Likewise.
4177 2000-07-11 Andreas Schwab <schwab@suse.de>
4179 * Makeconfig (run-program-prefix): New rule.
4180 (built-program-cmd): Use run-program-prefix.
4182 2000-07-12 Ulrich Drepper <drepper@redhat.com>
4184 * locale/langinfo.h: Make CRNCYSTR, RADIXCHAR, THOUSANDS_SEP, YESEXPR,
4185 and NOEXPR unconditionally available.
4187 2000-07-12 Greg McGary <greg@mcgary.org>
4189 * sysdeps/generic/open64.c: Wrap extern symbols in BP_SYM ().
4190 * sysdeps/posix/open64.c: Likewise.
4191 * sysdeps/generic/fegetenv.c: Likewise.
4192 * sysdeps/powerpc/fpu/fegetenv.c: Likewise.
4193 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
4194 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
4195 * sysdeps/powerpc/fpu/fgetexcptflg.c: Likewise.
4196 * sysdeps/powerpc/fpu/fraiseexcpt.c: Likewise.
4197 * sysdeps/powerpc/fpu/fsetexcptflg.c: Likewise.
4199 2000-07-11 Greg McGary <greg@mcgary.org>
4201 * include/libc-symbols.h [!__ASSEMBLER__] (strong_alias):
4202 Add extra level of macro expansion.
4203 [!__ASSEMBLER__ && HAVE_WEAK_SYMBOLS] (weak_alias): nLikewise.
4204 * sysdeps/generic/bp-thunks.h: Ensure `struct timeval' definition
4205 is available at the time `select' prototype is declared.
4206 * sysdeps/unix/make-syscalls.sh: Remove unused variables.
4207 Collect non-versioned weak aliases. Consider only non-versioned
4208 aliases for the user-visible systemcall name. Do checks inline with
4209 call to primitive system call.
4210 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Add void cast to
4211 stand-alone bounds checks to suppress unused value warnings.
4212 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
4214 2000-07-10 Mark Kettenis <kettenis@gnu.org>
4216 * sysdeps/mach/hurd/check_fds.c: New file. Implements
4217 file descriptor checking in SUID programs for the Hurd.
4219 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname2_r): Use
4220 res_hostalias instead of __hostalias for thread-safety.
4222 2000-07-09 Mark Kettenis <kettenis@gnu.org>
4224 * elf/rtld.c (dl_main): Move call to __libc_check_standard_fds...
4225 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): ... to here.
4227 2000-07-10 Ulrich Drepper <drepper@redhat.com>
4229 * include/features.h: Include ISO C99 features if the compiler used
4230 is an ISO C99 compiler.
4231 Patch by Joseph S. Myers <jsm28@cam.ac.uk>.
4233 2000-07-08 Mark Kettenis <kettenis@gnu.org>
4235 * iconv/gconv_conf.c: Include <bits/libc-lock.h>.
4237 2000-07-10 Andreas Jaeger <aj@suse.de>
4239 * sysdeps/unix/sysv/linux/i386/sigaction.c: Make alias weak since
4240 it's overridden by libpthreads.
4241 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
4242 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
4243 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
4244 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
4245 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
4247 * malloc/Makefile: Run tst-mtrace only with shared libs.
4249 * stdio-common/Makefile: Run unbputc and tst-printf tests only
4252 2000-07-10 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
4254 * sysdeps/mips/dl-machine.h (elf_machine_runtime_link_map): Verify
4255 that gpreg really points to the GOT section of the calling object.
4256 Scan all PT_LOAD segments of objects for stub_pc, instead of only
4257 checking a start address of first one.
4259 * sysdeps/mips/mips64/dl-machine.h (elf_machine_runtime_link_map):
4262 * sysdeps/mips/dl-machine.h (__dl_runtime_resolve): Fix a typo.
4264 2000-07-10 Andreas Jaeger <aj@suse.de>
4266 * sysdeps/unix/sysv/linux/sigaction.c: Fix typo
4267 (string_alias->strong_alias).
4269 2000-07-08 Mark Kettenis <kettenis@gnu.org>
4271 * hurd/hurd/fd.h: Include <cthreads.h> instead of <lock-intern.h>.
4273 2000-07-07 Greg McGary <greg@mcgary.org>
4275 * sysdeps/unix/make-syscalls.sh: Tolerate syscalls that
4276 have no names without leading underscores.
4278 2000-07-07 Ulrich Drepper <drepper@redhat.com>
4280 * iconvdata/sjis.c (from_ucs4_lat1): Fix mappng of U005C and
4283 * stdio-common/Makefile (tests): Remove tst-printf here...
4284 (tests-srcs): ...and add it here.
4285 (distribute): Add tst-unbputc.sh and tst-printf.sh.
4286 Add rules to run tst-printf.sh.
4287 * stdio-common/tst-printf.c: Move code around so that there is really
4288 no further output where it's stated.
4289 * stdio-common/tst-printf.sh: New file.
4291 2000-07-07 Mark Kettenis <kettenis@gnu.org>
4293 * hurd/vpprintf.c [USE_IN_LIBIO]: Include <libioP.h>.
4294 (do_write): Renamed from pwrite.
4295 (vpprintf) [USE_IN_LIBIO]: Adjust for renaming and reshufling of
4296 `struct _IO_cookie_file'.
4298 2000-07-07 Ulrich Drepper <drepper@redhat.com>
4300 * malloc/mtrace.pl: Exit with exit code 1 if any leak was
4302 * malloc/tst-mtrace.sh: Run mtrace script.
4304 2000-07-07 Greg McGary <greg@mcgary.org>
4306 * posix/regex.c (EXTEND_BUFFER): Compute increment once.
4307 Move all three components of a bounded pointer.
4309 2000-07-07 Ulrich Drepper <drepper@redhat.com>
4311 * locale/programs/locale.c (write_locales): Don't simply add all
4312 directories found in the subdir, test whether at least the
4313 LC_CTYPE file is in there.
4315 2000-07-06 Ulrich Drepper <drepper@redhat.com>
4317 * iconvdata/euc-jp.c: Map characters in C1 area to itself.
4318 * iconvdata/euc-kr.c: Likewise.
4320 * stdio-common/vfprintf.c (process_string_arg): Check result of
4321 wcrtomb call and bail out if it failed.
4323 * malloc/Makefile (test-srcs): Add tst-mtrace.
4324 (distribute): Add tst-mtrace.sh.
4325 Add rule to run tst-mtrace.sh.
4326 * malloc/tst-mtrace.c: New file.
4327 * malloc/tst-mtrace.sh: New file.
4329 * include/signal.h: Declare __libc_sigaction.
4330 * sysdeps/unix/sysv/linux/Versions: Export __libc_sigaction.
4331 * sysdeps/unix/sysv/linux/sigaction.c: Add __libc_sigaction alias.
4332 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
4333 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
4334 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
4335 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
4336 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
4338 * configure.in: Fix CFLAGS-memprofstat.c definition after
4340 Patch by Bradford W. Johnson <bradford@math.umn.edu>.
4342 2000-07-06 Jakub Jelinek <jakub@redhat.com>
4344 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Pass 0
4345 instead of NULL to elf_machine_fixup_plt t argument.
4346 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
4347 * sysdeps/unix/sysv/linux/sparc/sparc32/mmap64.c (__mmap64): Add
4350 2000-07-06 Andreas Jaeger <aj@suse.de>
4352 * crypt/Makefile (LDLIBS-cert): Removed.
4353 (LDLIBS-md5c-test): Removed.
4354 ($(objpfx)cert): Renamed from cert.out to fix dependencies.
4355 ($(objpfx)md5c-test): Likewise for md5c-test.out.
4357 2000-07-06 Andreas Jaeger <aj@suse.de>
4359 * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path): The type
4360 of the proc system is "proc".
4362 * sysdeps/generic/libc-start.c (__libc_start_main): Initialize
4363 thread library for static programs.
4365 2000-07-06 Greg McGary <greg@mcgary.org>
4367 * sysdeps/generic/bp-checks.h (CHECK_SIGSET, CHECK_SIGSETopt):
4369 * sysdeps/generic/strcpy.c: Add bounds checks.
4370 * sysdeps/unix/fxstat.c: Likewise.
4371 * sysdeps/unix/xstat.c: Likewise.
4372 * sysdeps/unix/common/lxstat.c: Likewise.
4373 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
4374 * sysdeps/unix/sysv/linux/execve.c: Likewise.
4375 * sysdeps/unix/sysv/linux/fxstat.c: Likewise.
4376 * sysdeps/unix/sysv/linux/fxstat64.c: Likewise.
4377 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
4378 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
4379 * sysdeps/unix/sysv/linux/llseek.c: Likewise.
4380 * sysdeps/unix/sysv/linux/lxstat.c: Likewise.
4381 * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
4382 * sysdeps/unix/sysv/linux/poll.c: Likewise.
4383 * sysdeps/unix/sysv/linux/pread.c: Likewise.
4384 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
4385 * sysdeps/unix/sysv/linux/ptrace.c: Likewise.
4386 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
4387 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
4388 * sysdeps/unix/sysv/linux/readv.c: Likewise.
4389 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
4390 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
4391 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
4392 * sysdeps/unix/sysv/linux/sigqueue.c: Likewise.
4393 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
4394 * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
4395 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
4396 * sysdeps/unix/sysv/linux/sysctl.c: Likewise.
4397 * sysdeps/unix/sysv/linux/truncate64.c: Likewise.
4398 * sysdeps/unix/sysv/linux/ustat.c: Likewise.
4399 * sysdeps/unix/sysv/linux/writev.c: Likewise.
4400 * sysdeps/unix/sysv/linux/xmknod.c: Likewise.
4401 * sysdeps/unix/sysv/linux/xstat.c: Likewise.
4402 * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
4403 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
4404 * sysdeps/unix/sysv/linux/i386/brk.c: Likewise.
4405 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
4406 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
4407 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
4408 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
4409 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
4410 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Likewise.
4411 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
4412 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
4413 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
4414 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
4415 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
4416 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
4417 * sysdeps/unix/sysv/linux/ia64/fxstat.c: Likewise.
4418 * sysdeps/unix/sysv/linux/ia64/lxstat.c: Likewise.
4419 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
4420 * sysdeps/unix/sysv/linux/ia64/sigpending.c: Likewise.
4421 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c: Likewise.
4422 * sysdeps/unix/sysv/linux/ia64/sigsuspend.c: Likewise.
4423 * sysdeps/unix/sysv/linux/ia64/xstat.c: Likewise.
4424 * sysdeps/unix/sysv/linux/m68k/chown.c: Likewise.
4425 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
4426 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
4427 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
4428 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
4429 * sysdeps/unix/sysv/linux/mips/truncate64.c: Likewise.
4430 * sysdeps/unix/sysv/linux/mips/ustat.c: Likewise.
4431 * sysdeps/unix/sysv/linux/mips/xmknod.c: Likewise.
4432 * sysdeps/unix/sysv/linux/sparc/sparc32/mmap64.c: Likewise.
4433 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
4434 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Likewise.
4435 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Likewise.
4436 * sysdeps/unix/sysv/linux/sparc/sparc64/sigsuspend.c: Likewise.
4438 * string/endian.h (__LONG_LONG_PAIR): New macro.
4439 * sysdeps/unix/sysv/linux/ftruncate64.c: Use it.
4440 * sysdeps/unix/sysv/linux/pread.c: Likewise.
4441 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
4442 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
4443 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
4444 * sysdeps/unix/sysv/linux/truncate64.c: Likewise.
4445 * sysdeps/unix/sysv/linux/mips/ftruncate64.c: Likewise.
4446 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
4447 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
4448 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
4449 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
4450 * sysdeps/unix/sysv/linux/mips/truncate64.c: Likewise.
4452 * sysdeps/unix/sysv/linux/sys/ptrace.h (PT_SYSCALL): Fix LHS.
4454 2000-07-06 Andreas Jaeger <aj@suse.de>
4456 * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path):
4459 * math/test-fpucw.c: Include <stdio.h> for printf.
4461 2000-07-05 Greg McGary <greg@mcgary.org>
4463 * sysdeps/generic/bp-checks.h: New file.
4464 * sysdeps/generic/bp-thunks.h: Replace generic thunk definitions
4465 with list of #include files.
4466 * sysdeps/unix/make-syscalls.sh: Handle new arg signature
4467 keyletters a, b, B, f, n, N, P, v, V. Fixup some indentation.
4468 Don't generate BP thunk if `V' appears in signature.
4469 Generate thunks with complete bounds checks.
4470 * sysdeps/unix/syscalls.list: Refine signatures using new keyletters.
4471 * sysdeps/unix/inet/syscalls.list: Likewise.
4472 * sysdeps/unix/mman/syscalls.list: Likewise.
4473 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
4474 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
4475 * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
4476 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Likewise.
4478 2000-07-05 Ulrich Drepper <drepper@redhat.com>
4480 * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path): Cache
4481 result. Search first in /etc/mtab (proc/mounts would be stupid).
4482 If mount not in the file fall back on /proc.
4484 * crypt/md5-crypt.c (__md5_crypt_r): Clear arrays the key and salt
4485 string got copied in.
4486 Patch by Solar Designer <solar@false.com>.
4488 2000-07-05 Andreas Jaeger <aj@suse.de>
4490 * manual/install.texi (Installation): Update information about
4492 (Configuring and compiling): Update for glibc 2.2.
4494 2000-07-04 Andreas Jaeger <aj@suse.de>
4496 * sysdeps/i386/fpu_control.h (_FPU_DEFAULT): Correct value.
4497 (_FPU_IEEE): Likewise.
4499 * math/Makefile (tests): Add test-fpucw.
4501 * math/test-fpucw.c (main): New file.
4503 2000-07-05 Ulrich Drepper <drepper@redhat.com>
4505 * locale/loadlocale.c (_nl_unload_locale): Add cast to avoid warning.
4507 * locale/programs/ld-collate.c (collate_output): Also write out the
4508 collation sequence values and the wide character string for the
4509 collation symbol table.
4511 * posix/fnmatch.c: Include "../locale/elem-hash.h".
4512 * posix/fnmatch_loop.c: Implement collating symbol handling.
4513 * posix/tst-fnmatch.input: Add more tests, especially for collating
4516 * posix/regex.c: Fix comment.
4518 2000-07-05 Andreas Jaeger <aj@suse.de>
4520 * sysdeps/mips/fpu_control.h: Fix type of fpu_control_t.
4521 (_FPU_GETCW): Remove extra colon.
4522 Patch by Ralf Baechle <ralf@uni-koblenz.de>.
4524 * posix/fnmatch_loop.c (FCT): Only declare len if
4525 !WIDE_CHAR_VERSION to silence GCC.
4527 * sysdeps/generic/rawmemchr.c: Include <stdlib.h> for abort
4529 * sysdeps/generic/strchrnul.c: Likewise.
4530 * sysdeps/generic/strlen.c: Likewise.
4531 * sysdeps/generic/strchr.c: Likewise.
4532 * sysdeps/generic/memchr.c: Likewise.
4534 2000-07-04 Ulrich Drepper <drepper@redhat.com>
4536 * posix/fnmatch_loop.c: Implement equivalence class handling.
4537 * posix/tst-fnmatch.input: Add tests for equivalence class
4540 * posix/fnmatch_loop.c: Improve performance for single-byte
4541 character sets by not using btowc.
4543 * posix/tst-fnmatch.input: Add tests for locale dependent
4545 * posix/tst-fnmatch.c (main): Also set LC_CTYPE category.
4547 * posix/tst-fnmatch.input: Add more test cases.
4549 * crypt/md5-crypt.c (__md5_crypt_r): If buffers for key and salt
4550 are not aligned to alignof(md5_uint32) do it before calling
4551 __md5_process_bytes.
4552 * crypt/md5.c: Make sure buffers are aligned.
4553 * crypt/md5.h: Likewise.
4554 Reported by Solar Designer <solar@false.com>.
4556 * crypt/Makefile: Add dependencies for test programs.
4558 * Rules: Define LC_ALL=C in environments of all programs we run.
4560 * intl/tst-gettext.sh (LC_ALL): Define to C and export.
4562 2000-07-03 H.J. Lu <hjl@gnu.org>
4564 * locale/programs/ld-ctype.c (ctype_output): The size of iov
4565 is 2 + elem + offset, not 2 + elem + offset + 2.
4567 2000-07-04 Ulrich Drepper <drepper@redhat.com>
4569 * posix/fnmatch_loop.c: Fix two problems uncovered by the new test
4571 * posix/Makefile (tests): Add tst-fnmatch.
4572 (tst-fnmatch-ENV): Define.
4573 * posix/tst-fnmatch.c: New file.
4574 * posix/tst-fnmatch.sh: New file.
4576 2000-07-04 NIIBE Yutaka <gniibe@chroot.org>
4578 * locale/programs/charmap.c (charmap_read): Prepend
4579 the condition filename == NULL.
4581 2000-07-03 Greg McGary <greg@mcgary.org>
4583 * sysdeps/i386/bits/setjmp.h (PUSH_SIGNAL_MASK): Fix typo.
4585 * csu/Makefile (extra-objs, install-lib): Add BP objects conditionally.
4586 ($(objpfx)b$(start-installed-name)): Add non-elf rule.
4588 * libio/libio.h (_IO_FILE): Revert type of _chain to _IO_FILE*.
4589 * libio/libioP.h (_IO_ITER): Revert to type _IO_FILE*.
4590 (FILEBUF_LITERAL): Add cast for CHAIN init.
4591 * libio/genops.c (_IO_un_link, _IO_link_in, _IO_iter_begin): Add casts.
4592 (_IO_flush_all, _IO_flush_all_linebuffered, _IO_unbuffer_write):
4593 Revert type of `fp' to _IO_FILE*.
4594 (_IO_iter_file): Remove cast.
4595 (_IO_iter_next): Elide intermediate member reference.
4597 * sysdeps/powerpc/strchr.S: Check bounds.
4598 Wrap extern symbols in BP_SYM ().
4600 2000-07-03 Andreas Jaeger <aj@suse.de>
4602 * dlfcn/Makefile (generated): New.
4604 2000-07-03 Ulrich Drepper <drepper@redhat.com>
4606 * libio/genops.c (__overflow): Use _IO_fwide to orient the stream.
4607 (__uflow): Likewise.
4608 (__underflow): Likewise.
4609 * libio/wgenops.c (__wunderflow): Likewise.
4610 * stdio-common/tst-unbputc.c: New file.
4611 * stdio-common/tst-unbputc.sh: New file.
4612 * stdio-common/Makefile: Add rules to build and run tst-unbputc.
4614 * po/en_GB.po: New file.
4615 Contributed by Robert Brady <rwb197@ecs.soton.ac.uk>.
4617 2000-07-01 Andreas Jaeger <aj@suse.de>
4619 * intl/Makefile (generated-dirs): New.
4621 * elf/Makefile (generated): trusted-dirs.h is always generated,
4622 move out of build-shared condition.
4623 (generated): Merge the two entries for build-shared.
4625 2000-07-01 Ulrich Drepper <drepper@redhat.com>
4627 * debug/Makefile (distribute): Add xtrace.sh.
4629 2000-06-30 Ulrich Drepper <drepper@redhat.com>
4631 * version.h (VERSION): Bump to 2.1.91.
4633 * configure.in: Update warning comment. glibc should not be
4636 * sysdeps/unix/sysv/linux/ia64/Dist: Remove old content. Add
4637 ioperm.c, sys/procfs.h, and sys/io.h.
4639 * sysdeps/powerpc/Dist: Add bp-asm.h.
4641 * assert/Depend: Add localedata.
4642 * assert/Makefile (test-assert-ENV): New. Define LANGUAGE=C.
4643 (test-assert-perr-ENV): New. Define LANGUAGE=C.
4645 * sysdeps/alpha/dl-machine.h (elf_machine_rela) [r_type ==
4646 R_ALPHA_REFQUAD]: Use memcpy to load and store value from
4647 relocation address to prevent unaligned trap.
4648 Suggested by Richard Henderson <rth@cygnus.com>.
4650 2000-06-30 Jakub Jelinek <jakub@redhat.com>
4652 * io/sys/stat.h (stat64, lstat64, fstat64): Don't define inlines
4653 if redirecting and either redirection is done using defines or
4656 2000-06-30 Ulrich Drepper <drepper@redhat.com>
4658 * sunrpc/rpc_cout.c (inline_struct): Add missing parenthesis in
4659 generated expressions.
4660 Patch by Darren McClelland <dmcclell@zetec.com>.
4662 * timezone/Makefile (build-testdata): Set LANGUAGE and LC_ALL
4663 since zic uses setlocale and gettext but we cannot make it use the
4664 new locale data since zic calls a shell which might not use the
4667 * stdlib/strfmon.c: Move somewhat closer to the standard wrt to
4668 handling the internation currency symbol. POSIX says that the
4669 fourth character is used to separate the currency symbol from the
4670 value. Therefore it does not have to be printed. But we cannot
4671 remove the space if the currency symbol is printed before the
4672 number since this is what many locales expect.
4674 * iconv/gconv_trans.c: Test with _NL_CTYPE_TRANSLIT_DEFAULT_MISSING_LEN
4675 whether this information is available.
4677 * intl/dcigettext.c (_nl_find_msg): Correct reallocation of
4678 buffers in case the translation is too large. Remember allocated
4679 memory blocks in a list.
4680 (free_mem): Free memory for translations.
4682 * intl/tst-gettext.c: Use correct locale. Improve error messages.
4684 * locale/programs/ld-ctype.c (ctype_output): If no default_missing
4685 information is available set the string length to zero.
4687 * sysdeps/i386/i686/strcmp.S: Little optimization in non-BP case.
4689 2000-06-30 Greg McGary <greg@mcgary.org>
4691 * sysdeps/powerpc/bp-asm.h: New file.
4692 * sysdeps/powerpc/__longjmp.S: Check bounds.
4693 Wrap extern symbols in BP_SYM ().
4694 * sysdeps/powerpc/bsd-_setjmp.S: Likewise.
4695 * sysdeps/powerpc/bsd-setjmp.S: Likewise.
4696 * sysdeps/powerpc/setjmp.S: Likewise.
4697 * sysdeps/powerpc/add_n.S: Likewise.
4698 * sysdeps/powerpc/addmul_1.S: Likewise.
4699 * sysdeps/powerpc/lshift.S: Likewise.
4700 * sysdeps/powerpc/rshift.S: Likewise.
4701 * sysdeps/powerpc/mul_1.S: Likewise.
4702 * sysdeps/powerpc/sub_n.S: Likewise.
4703 * sysdeps/powerpc/submul_1.S: Likewise.
4704 * sysdeps/powerpc/strlen.S: Likewise.
4705 * sysdeps/powerpc/memset.S: Likewise.
4706 * sysdeps/powerpc/stpcpy.S: Likewise.
4707 * sysdeps/powerpc/strcmp.S: Likewise.
4708 * sysdeps/powerpc/strcpy.S: Likewise.
4709 * sysdeps/powerpc/elf/bzero.S: Likewise.
4711 * sysdeps/powerpc/stpcpy.S: Define & use symbolic register names.
4712 Line up operands column with tabs.
4714 2000-06-30 Ulrich Drepper <drepper@redhat.com>
4716 * elf/Makefile (LDFLAGS-origtest): Actually add it.
4718 * sysdeps/ia64/htonl.S: New file.
4719 * sysdeps/ia64/htons.S: New file.
4720 * sysdeps/ia64/memcpy.S: Replace with version which does not use
4721 floating point registers.
4722 Patches by Dan Pop <Dan.Pop@cern.ch>.
4724 2000-06-30 Andreas Jaeger <aj@suse.de>
4726 * posix/Makefile (tests): tst-exec and tst-spawn only work with
4729 * io/Makefile (CFLAGS-test-lfs.c): New.
4730 (tests): Add test-lfs.
4732 * io/test-lfs.c: New file.
4734 2000-06-30 Jakub Jelinek <jakub@redhat.com>
4736 * sysdeps/i386/bits/string.h (strcmp): Use 8bit register in 8bit
4739 2000-06-29 David Mosberger-Tang <davidm@hpl.hp.com>
4741 * sysdeps/unix/sysv/linux/ia64/ioperm.c: New file.
4743 2000-06-29 Jes Sorensen <jes@linuxcare.com>
4745 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add __fstatfs64
4746 alias to the fstatfs call.
4748 * sysdeps/unix/sysv/linux/ia64/getrlimit64.c: New file.
4749 * sysdeps/unix/sysv/linux/ia64/setrlimit64.c: New file.
4751 * sysdeps/unix/sysv/linux/ia64/ftruncate64.c: New file.
4752 * sysdeps/unix/sysv/linux/ia64/truncate64.c: New file.
4754 * sysdeps/unix/sysv/linux/ia64/readdir.c: New file.
4755 * sysdeps/unix/sysv/linux/ia64/readdir_r.c: New file.
4756 * sysdeps/unix/sysv/linux/ia64/readdir64.c: New file.
4757 * sysdeps/unix/sysv/linux/ia64/readdir64_r.c: New file.
4759 * sysdeps/unix/sysv/linux/ia64/glob.c: New file.
4760 * sysdeps/unix/sysv/linux/ia64/glob64.c: New file.
4762 * sysdeps/unix/sysv/linux/ia64/fstatfs64.c: New file.
4763 * sysdeps/unix/sysv/linux/ia64/statfs64.c: New file.
4765 * sysdeps/unix/sysv/linux/ia64/pread64.c: New file.
4766 * sysdeps/unix/sysv/linux/ia64/pwrite64.c: New file.
4768 * sysdeps/unix/sysv/linux/ia64/shmctl.c: New file.
4770 2000-06-29 Andreas Jaeger <aj@suse.de>
4772 * sunrpc/rpc_svcout.c (write_msg_out): Always use format string
4774 (print_err_message): Likewise.
4775 Reported by Chris Evans <chris@ferret.lmh.ox.ac.uk>.
4777 2000-06-29 Ulrich Drepper <drepper@redhat.com>
4779 * locale/loadlocale.c (_nl_load_locale): Make sure all locale data
4780 used as words is properly aligned.
4782 * locale/programs/ld-ctype.c (ctype_output): Don't generate unaligned
4785 2000-06-29 Greg McGary <greg@mcgary.org>
4787 * sysdeps/generic/libc-start.c (__libc_stack_end): Chop __unbounded.
4788 * sysdeps/unix/make-syscalls.sh: Handle signatures of
4789 length 7..9, just in case...
4790 * misc/sys/cdefs.h (__ptrvalue): Define as nothing for non-BP.
4792 * sysdeps/i386/bp-asm.h (PCOFF): New constant.
4793 (POP_ERRNO_LOCATION_RETURN): Fold insns.
4794 * sysdeps/i386/bits/setjmp.h (JB_SIZE): New constant.
4795 (PUSH_SIGNAL_MASK): New macro.
4796 * sysdeps/i386/__longjmp.S (__longjmp): Wrap symbol in BP_SYM ().
4797 LEAVE is unnecessary. Check bounds of jmp_buf.
4798 * sysdeps/i386/elf/setjmp.S: Call PUSH_SIGNAL_MASK. Wrap symbols
4799 in BP_SYM (). Check bounds of jmp_buf. Don't call LEAVE until
4800 immediately before tail-call.
4801 * sysdeps/i386/setjmp.S: Likewise.
4802 * sysdeps/i386/bsd-_setjmp.S: Likewise.
4803 * sysdeps/i386/bsd-setjmp.S: Likewise.
4805 2000-06-29 Jakub Jelinek <jakub@redhat.com>
4807 * sysdeps/sparc/fpu/fclrexcpt.c: Use SHLIB_COMPAT, compat_symbol and
4809 * sysdeps/sparc/fpu/fesetenv.c: Likewise.
4810 * sysdeps/sparc/fpu/feupdateenv.c: Likewise.
4811 * sysdeps/sparc/fpu/fgetexcptflg.c: Likewise.
4812 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
4813 * sysdeps/sparc/fpu/fsetexcptflg.c: Likewise.
4814 * sysdeps/sparc/fpu/fegetenv.c: Likewise.
4815 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions: New file.
4816 * shlib-versions: Make sparc64 GLIBC_2.2+ only.
4818 2000-06-29 Ulrich Drepper <drepper@redhat.com>
4820 * stdio-common/printf_fp.c (__printf_fp): Don't clobber pointer which
4821 we later need to calling free().
4822 Patch by Matt Wilson <msw@redhat.com>.
4824 * stdio-common/tst-printf.c: Add test for above problem.
4826 2000-06-27 David Mosberger-Tang <davidm@hpl.hp.com>
4828 * sysdeps/unix/sysv/linux/ia64/bits/ipc.h: New file.
4829 * sysdeps/unix/sysv/linux/ia64/bits/shm.h: New file.
4831 2000-06-28 Jes Sorensen <jes@linuxcare.com>
4833 * sysdeps/ieee754/dbl-64/s_exp2.c: Add include stdlib.h to get
4834 prototype for abs().
4835 * sysdeps/ieee754/flt-32/s_exp2f.c: ditto.
4837 2000-06-23 Andreas Jaeger <aj@suse.de>
4839 * config.h.in: Don't use regparm with bounded pointers.
4841 2000-06-29 Ulrich Drepper <drepper@redhat.com>
4843 * stdlib/grouping.h: Correctly handle multibyte thousands
4844 separator and decimal point.
4845 * stdlib/stdtod.c: Likewise.
4846 * sysdeps/generic/strtol.c: Likewise.
4848 * locale/categories.def: Add entries for wide character decimal point
4849 and thousands separator in numeric and monetary category.
4851 2000-06-28 Ulrich Drepper <drepper@redhat.com>
4853 * stdio-common/printf_fp.c (__printf_fp): Remove unnecessary
4854 second definition and initialization of decimal.
4856 2000-06-28 Greg McGary <greg@mcgary.org>
4858 * libio/libio.h (struct _IO_cookie_file): Move struct type defintion
4860 (_IO_FILE): Declare chain as (struct _IO_FILE_plus *).
4861 * libio/libioP.h (struct _IO_cookie_file): Move struct type defintion
4863 (_IO_JUMPS): Don't cast THIS--expect arg to be a
4864 (struct _IO_FILE_plus *).
4865 (_IO_JUMPS_FUNC): Express in terms of _IO_JUMPS, and add cast to
4866 THIS, since _IO_JUMPS no longer does it implicitly.
4867 (_IO_file_init, _IO_old_file_init, _IO_new_file_init): Declare
4868 arg type as (struct _IO_FILE_plus *).
4869 (_IO_str_init_static, _IO_str_init_readonly): Declare 1st
4870 arg as (_IO_strfile *).
4871 * libio/strops.c (_IO_str_init_static, _IO_str_init_readonly):
4872 Declare 1st arg as (_IO_strfile *).
4873 * libio/fileops.c (_IO_new_file_init): Declare
4874 arg type as (struct _IO_FILE_plus *).
4875 * libio/oldfileops.c (_IO_old_file_init): Likewise.
4876 * libio/genops.c (_IO_link_in, _IO_un_link): Likewise.
4877 (_IO_flush_all, _IO_flush_all_linebuffered, _IO_unbuffer_write):
4878 Declare iteration pointer as (struct _IO_FILE_plus *).
4879 (_IO_iter_next, _IO_iter_file): _IO_ITER is now
4880 (struct _IO_FILE_plus *).
4881 * libio/stdfiles.c (_IO_list_all): Declare as (struct _IO_FILE_plus *).
4882 * libio/oldstdfiles.c (_IO_list_all): Likewise.
4883 (_IO_check_libio): Set user-visible handles to
4884 (struct _IO_FILE_plus *).
4885 * libio/stdio.c (stdin, stdout, stderr): Set user-visible handles
4886 to (struct _IO_FILE_plus *).
4888 * libio/iofdopen.c (_IO_new_fdopen): Pass FILE handle pointer
4889 whose high bound includes vtable to all functions that will use
4890 vtable. For streambufs, pass pointer whose bounds include struct
4892 * libio/wgenops.c (_IO_wdefault_finish): Likewise.
4893 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
4894 * libio/iofopen.c (_IO_new_fopen): Likewise.
4895 * libio/oldiofopen.c (_IO_old_fopen): Likewise.
4896 * libio/iofopen64.c (_IO_fopen64): Likewise.
4897 * libio/iopopen.c (_IO_new_popen): Likewise.
4898 * libio/oldiopopen.c (_IO_old_popen): Likewise.
4899 * libio/memstream.c (open_memstream): Likewise.
4900 * libio/iovsscanf.c (_IO_vsscanf): Likewise.
4901 * libio/iovsprintf.c (_IO_vsprintf): Likewise.
4902 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
4903 * libio/iofopncook.c (_IO_cookie_init): Likewise.
4904 * libio/obprintf.c (_IO_obstack_vprintf): Likewise.
4905 * libio/vasprintf.c (_IO_vasprintf): Likewise.
4906 * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
4907 * libio/stdfiles.c (_IO_stdout_, _IO_stderr_): Likewise.
4908 * libio/oldstdfiles.c (_IO_stdout_, _IO_stderr_): Likewise.
4909 * stdlib/strfmon.c (__strfmon_l): Likewise.
4910 * stdio-common/vfprintf.c (buffered_vfprintf): Likewise.
4911 (vfprintf): Qualify computed-goto targets as unbounded.
4913 2000-06-28 Ulrich Drepper <drepper@redhat.com>
4915 * stdio-common/vfscanf.c: Finally handle multibyte decimal point and
4916 thousands separator correctly.
4918 * stdio-common/vfscanf.c: Use COMPILE_WSCANF not COMPILE_WPRINTF.
4919 * stdio-common/vfwscanf.c: Likewise.
4921 2000-06-27 Jes Sorensen <jes@linuxcare.com>
4923 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Change argument
4924 count into signatures for most calls.
4926 2000-06-28 Ulrich Drepper <drepper@redhat.com>
4928 * sysdeps/unix/sysv/linux/ia64/getsysstats.c: Removed. We can use
4929 the generic parser now.
4931 2000-06-28 Jes Sorensen <jes@linuxcare.com>
4933 * sysdeps/unix/sysv/linux/ia64/bits/elfclass.h: Deleted. Hash
4934 table entries are 32 bit on the ia64 (as specified by the ABI),
4935 not 64 bit as on the Alpha.
4937 * shlib-versions: Bump ia64 soname to ld-linux-ia64.so.2 to mark
4938 change of objects to use 32 bit hash table indices (see above).
4940 2000-06-28 Jes Sorensen <jes@linuxcare.com>
4942 * sysdeps/ieee754/dbl-64/e_exp.c: Add include stdlib.h to get
4943 prototype for abs().
4945 2000-06-28 Wolfram Gloger <wg@malloc.de>
4947 * malloc/malloc.c (chunk_alloc): If extension of the linear heap
4948 fails, try mmap_chunk() as a last resort even though n_mmaps_max
4949 may have been reached.
4951 2000-06-28 Ulrich Drepper <drepper@redhat.com>
4953 * locale/programs/ld-collate.c (insert_weights): Handle <Uxxxx>
4954 symbols in multi-character weights correctly.
4956 * wcsmbs/mbrtowc.c: Set flush to 1 for conversion function calls
4957 depending on whether the input string is empty or not.
4959 * wcsmbs/mbrtowc.c: Calling function without input means clearing the
4960 given state and not avoiding this by modifying a local object.
4961 * wcsmbs/wcrtomb.c: Likewise.
4963 * iconv/skeleton.c: If no EMIT_SHIFT_TO_INIT is defined clear state
4964 object since some incomplete characters might be in there.
4966 * iconvdata/euc-jp.c: In conversion to UCS4, handling invalid
4967 sequences with first byte 0x8e correctly.
4969 * iconvdata/jis0208.h: Remove redundant test.
4971 2000-06-27 Ulrich Drepper <drepper@redhat.com>
4973 * sysdeps/generic/initfini.c (SECTION): Remove trailing semicolon.
4974 Add it where it is needed now.
4976 * locale/programs/ld-ctype.c (ctype_finish): Take all characters from
4977 the input charset into account when generating the hash table.
4978 (allocate_arrays): Correct setting default width. Not all empty slots
4979 in the table are filled, only those not covert explicitly by the
4980 locale description and in the charset.
4982 * wctype/towctrans.c (__towctrans): Be graceful and accept error
4983 return values from the wctrans function.
4985 * stdio-common/vfscanf.c: Make sure to always return WEOF and EOF for
4986 wide character version.
4987 For %C handling, test correct pointer variable for NULL.
4989 * wcsmbs/wctob.c: Handle WEOF special.
4991 * wcsmbs/wcwidth.h: 0xff in width array means invalid character.
4993 * wctype/wctype.h: Protect gcc-isms with __extension__. Avoid
4994 always-true test to avoid warning.
4996 2000-06-27 Greg McGary <greg@mcgary.org>
4998 * elf/dl-open.c (_dl_sysdep_start): Wrap weak_extern decl in BP_SYM ().
4999 * include/libc-symbols.h (weak_extern): Add extra level of expansion.
5000 (symbol_version, default_symbol_version): Factor redundant
5001 definitions out of conditional.
5003 2000-06-27 Jakub Jelinek <jakub@redhat.com>
5005 * libio/obprintf.c (_IO_obstack_vprintf): Call obstack_make_room,
5008 2000-06-26 Ulrich Drepper <drepper@redhat.com>
5010 * include/libc-symbols.h (symbol_version): Add extra level of
5012 (default_symbol_version): Likewise.
5014 2000-06-26 Greg McGary <greg@mcgary.org>
5016 * sysdeps/unix/i386/sysdep.S (syscall_error): Push & pop space
5017 for BP return value & push implicit struct-return pointer to
5019 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
5020 (SYSCALL_ERROR_HANDLER): Likewise.
5021 * sysdeps/unix/sysv/linux/i386/i686/sysdep.h
5022 (SYSCALL_ERROR_HANDLER): Likewise.
5024 * Makeconfig: Add missing comment.
5025 * csu/Makefile (extra-objs, omit-deps, install-lib): Add
5026 BP-flavored startup object.
5027 ($(objpfx)b$(start-installed-name)): New rule.
5028 * include/libc-symbols.h (symbol_set_declare): Change type
5029 of `__start_##set' and `__stop_##set' to pointer-to-function.
5030 (symbol_set_declare): Change type of `set' to array of
5031 pointer-to-function.
5032 * include/set-hooks.h (RUN_HOOK): Change type of `ptr' to
5033 pointer-to-function.
5035 * string/bits/string2.h: Inhibit inlines if __BOUNDED_POINTERS__.
5037 * sysdeps/unix/sysv/linux/syscalls.list: Add missing signatures.
5038 Remove clock_* and timer_* entries.
5039 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Replace
5040 arg-count with signatures.
5042 * sysdeps/i386/add_n.S: Wrap entry-point symbol in BP_SYM ().
5043 Check bounds of arguments.
5044 * sysdeps/i386/addmul_1.S: Likewise.
5045 * sysdeps/i386/lshift.S: Likewise.
5046 * sysdeps/i386/mul_1.S: Likewise.
5047 * sysdeps/i386/rshift.S: Likewise.
5048 * sysdeps/i386/sub_n.S: Likewise.
5049 * sysdeps/i386/submul_1.S: Likewise.
5050 * sysdeps/i386/i586/add_n.S: Likewise.
5051 * sysdeps/i386/i586/addmul_1.S: Likewise.
5052 * sysdeps/i386/i586/lshift.S: Likewise.
5053 * sysdeps/i386/i586/rshift.S: Likewise.
5054 * sysdeps/i386/i586/sub_n.S: Likewise.
5055 * sysdeps/i386/i686/add_n.S: Likewise.
5057 * sysdeps/i386/memchr.S: Likewise.
5058 * sysdeps/i386/memcmp.S: Likewise.
5059 * sysdeps/i386/rawmemchr.S: Likewise.
5060 * sysdeps/i386/i586/bzero.S: Likewise.
5061 * sysdeps/i386/i586/memcpy.S: Likewise.
5062 * sysdeps/i386/i586/mempcpy.S: Likewise.
5063 * sysdeps/i386/i586/memset.S: Likewise.
5064 * sysdeps/i386/i686/bzero.S: Likewise.
5065 * sysdeps/i386/i686/memcpy.S: Likewise.
5066 * sysdeps/i386/i686/mempcpy.S: Likewise.
5067 * sysdeps/i386/i686/memset.S: Likewise.
5069 * sysdeps/i386/stpcpy.S: Likewise.
5070 * sysdeps/i386/stpncpy.S: Likewise.
5071 * sysdeps/i386/strchr.S: Likewise.
5072 * sysdeps/i386/strchrnul.S: Likewise.
5073 * sysdeps/i386/strcspn.S: Likewise.
5074 * sysdeps/i386/strpbrk.S: Likewise.
5075 * sysdeps/i386/strrchr.S: Likewise.
5076 * sysdeps/i386/strspn.S: Likewise.
5077 * sysdeps/i386/strtok.S: Likewise.
5078 * sysdeps/i386/strtok_r.S: Likewise.
5079 * sysdeps/i386/i486/strcat.S: Likewise.
5080 * sysdeps/i386/i486/strlen.S: Likewise.
5081 * sysdeps/i386/i586/strchr.S: Likewise.
5082 * sysdeps/i386/i586/strcpy.S: Likewise.
5083 * sysdeps/i386/i586/strlen.S: Likewise.
5084 * sysdeps/i386/i686/strcmp.S: Likewise.
5085 * sysdeps/i386/i686/strtok.S: Likewise.
5086 * sysdeps/i386/i686/strtok_r.S: Likewise.
5088 * sysdeps/i386/fpu/fegetenv.c: Wrap symbol names with BP_SYM ().
5089 * sysdeps/i386/fpu/fesetenv.c: Likewise.
5090 * sysdeps/i386/fpu/feupdateenv.c: Likewise.
5091 * sysdeps/i386/fpu/fgetexcptflg.c: Likewise.
5092 * sysdeps/i386/fpu/fsetexcptflg.c: Likewise.
5094 * sysdeps/i386/addmul_1.S: Exchange roles of %ebp and %ebx.
5095 * sysdeps/i386/mul_1.S: Likewise.
5096 * sysdeps/i386/submul_1.S: Likewise.
5097 * sysdeps/i386/i586/add_n.S: Likewise.
5098 * sysdeps/i386/i586/addmul_1.S: Likewise.
5099 * sysdeps/i386/i586/lshift.S: Likewise.
5100 * sysdeps/i386/i586/mul_1.S: Likewise.
5101 * sysdeps/i386/i586/rshift.S: Likewise.
5102 * sysdeps/i386/i586/sub_n.S: Likewise.
5103 * sysdeps/i386/i586/submul_1.S: Likewise.
5105 2000-06-26 Ulrich Drepper <drepper@redhat.com>
5107 * rt/Makefile (librt-routines): Add clock_nanosleep.
5108 * rt/Versions [GLIBC_2.2] (librt): Add clock_nanosleep.
5109 * sysdeps/generic/clock_nanosleep.c: New file.
5110 * sysdeps/unix/clock_nanosleep.c: New file.
5111 * sysdeps/unix/i386/i586/clock_nanosleep.c: New file.
5112 * time/time.h: Declare clock_nanosleep.
5114 2000-06-26 Greg McGary <greg@mcgary.org>
5116 * sysdeps/i386/asm-syntax.h (R, MEM, MEM_DISP, MEM_INDEX,
5117 INSN1, INSN2, TEXT, GLOBL): Remove macros.
5118 (ALIGN): Cleanup surrounding conditionals.
5120 * sysdeps/i386/addmul_1.S: Replace asm-syntax macros with gas syntax.
5121 Call ENTER/LEAVE macros.
5122 * sysdeps/i386/mul_1.S: Replace asm-syntax macros with gas syntax.
5123 * sysdeps/i386/submul_1.S: Likewise.
5125 * sysdeps/i386/i586/addmul_1.S: Replace asm-syntax macros with gas
5126 syntax. Define & use symbolic argument stack offsets. Call
5128 * sysdeps/i386/i586/mul_1.S: Likewise.
5129 * sysdeps/i386/i586/submul_1.S: Likewise.
5131 2000-06-25 Greg McGary <greg@mcgary.org>
5133 * sysdeps/i386/i586/memcpy.S: Redefine memcpy as mempcpy,
5136 2000-06-25 Ulrich Drepper <drepper@redhat.com>
5138 * iconvdata/gen-8bit-gap-1.sh: Update for new charmap format.
5139 * iconvdata/gen-8bit-gap.sh: Likewise.
5140 * iconvdata/gen-8bit.sh: Likewise.
5142 * iconv/gconv_open.c (__gconv_open): Move comment to correct position.
5144 * locale/programs/ld-collate.c (collate_read): Don't actually read
5145 the copy locale if we are ignoring the content.
5147 * locale/programs/ld-address.c (INT_STR_ELEM): Correct test for
5150 * locale/programs/ld-collate.c: Correct handling of different
5152 * locale/programs/localedef.c (add_to_readlist): Take locale pointer
5153 as extra parameter from which to copy category information.
5155 (load_locale): Likewise.
5156 * locale/programs/localedef.h: Update prototypes of add_to_readlist
5158 * locale/programs/ld-ctype.c: Update call to add_to_readlist.
5159 * locale/programs/locfile.h: Likewise.
5160 * locale/programs/locfile-kw.gperf: Add entry for script.
5161 * locale/programs/locfile-token.h: Add tok_script.
5163 * locale/programs/locale.c: Update copyright year.
5164 * locale/programs/localedef.c: Likewise.
5166 2000-06-23 Thorsten Kukuk <kukuk@suse.de>
5168 * sunrpc/xdr_rec.c (set_input_fragment): Fix PR libc/1549, patch from
5169 Jens Moeller <jens.moeller@waii.com>.
5171 2000-06-24 Ulrich Drepper <drepper@redhat.com>
5173 * locale/programs/ld-name.c (name_finish): Add missing format
5174 specifier to test for name_fmt.
5176 * locale/programs/ld-address.c (iso639): Correct length of string
5178 (iso3166): Likewise.
5180 * sysdeps/unix/sysv/linux/i386/sys/elf.h (elf_fpxregset_t): Define.
5182 * sysdeps/unix/sysv/linux/i386/sys/user.h (struct user_fpxregs_struct):
5185 * elf/elf.h (NT_PRFPXREG): Define.
5187 2000-06-23 Ulrich Drepper <drepper@redhat.com>
5189 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_request): Define
5190 PTRACE_GETFPXREGS and PTRACE_SETFPXREGS.
5192 2000-06-23 Andreas Schwab <schwab@suse.de>
5194 * sysdeps/unix/sysv/linux/m68k/syscalls.list: Replace arg-count
5197 2000-06-23 Andreas Jaeger <aj@suse.de>
5199 * iconv/gconv_int.h (norm_add_slashes): Protect suffix expansion.
5201 * io/test-stat.c: Add copyright header, mention Maciej.
5203 * sysdeps/unix/sysv/linux/mips/sys/syscall.h (SYS_pivot_root,
5204 SYS_mincore, SYS_madvise): Added.
5206 * sysdeps/unix/sysv/linux/mips/syscalls.list: Fix signature of
5209 2000-06-22 Ulrich Drepper <drepper@redhat.com>
5211 * libio/Makefile (tests): Add tst-getwc and tst_putwc.
5212 (CFLAGS-tst_putwc.c): New definition.
5213 * libio/tst_getwc.c: New file.
5214 * libio/tst_getwc.input: New file.
5215 * libio/tst_putwc.c: New file.
5217 * include/string.h: Add prototype for __strdup.
5219 2000-06-22 Greg McGary <greg@mcgary.org>
5221 * sysdeps/unix/syscalls.list (sys_mknod): Fix signatures.
5222 * sysdeps/unix/inet/syscalls.list (accept, getpeername, getsockname):
5225 2000-06-23 Jes Sorensen <jes@linuxcare.com>
5227 * sysdeps/ia64/memcpy.S: Disable branch predict instruction.
5229 2000-06-22 Jes Sorensen <jes@linuxcare.com>
5231 * sysdeps/unix/sysv/linux/ia64/bits/statfs.h: New file.
5233 2000-06-22 Jes Sorensen <jes@linuxcare.com>
5235 * shlib-versions: Bump so versions to 6.1 for libc and libm on the
5236 ia64 to allow 2.2+ libraries to coexist with 2.1 ones.
5238 2000-06-22 Ulrich Drepper <drepper@redhat.com>
5240 * io/sys/stat.h: Define S_TYPEISMQ, S_TYPEISSEM, and S_TYPEISSHM.
5241 * sysdeps/generic/bits/stat.h: Define __S_TYPEISMQ, __S_TYPEISSEM,
5243 * sysdeps/mach/hurd/bits/stat.h: Likewise.
5244 * sysdeps/unix/bsd/bits/stat.h: Likewise.
5245 * sysdeps/unix/bsd/osf/alpha/bits/stat.h: Likewise.
5246 * sysdeps/unix/sysv/bits/stat.h: Likewise.
5247 * sysdeps/unix/sysv/irix4/bits/stat.h: Likewise.
5248 * sysdeps/unix/sysv/hpux/bits/stat.h: Likewise.
5249 * sysdeps/unix/sysv/linux/alpha/bits/stat.h: Likewise.
5250 * sysdeps/unix/sysv/linux/ia64/bits/stat.h: Likewise.
5251 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
5252 * sysdeps/unix/sysv/linux/mips/bits/stat.h: Likewise.
5253 * sysdeps/unix/sysv/sysv4/i386/bits/stat.h: Likewise.
5254 * sysdeps/unix/sysv/sysv4/solaris2/bits/stat.h: Likewise.
5255 * sysdeps/unix/sysv/aix/bits/stat.h: Likewise.
5256 * manual/filesys.texi: Document S_TYPEISMQ, S_TYPEISSEM, and
5259 2000-06-22 Andreas Jaeger <aj@suse.de>
5261 * sysdeps/unix/sysv/linux/mips/syscalls.list: Replace arg-count
5264 * elf/dl-reloc.c (_dl_relocate_object): Fix typos.
5266 * sysdeps/unix/sysv/linux/mips/syscalls.list: Fix sysctl entry.
5268 2000-06-21 Ulrich Drepper <drepper@redhat.com>
5270 * iconv/gconv_trans.c: Move initialization of winbuf and winbufend
5273 2000-06-21 Greg McGary <greg@mcgary.org>
5275 * Makerules (elide-routines.*, elide-bp-thunks):
5276 Define unconditionally.
5278 2000-06-21 Jes Sorensen <jes@linuxcare.com>
5280 * sysdeps/unix/sysv/linux/ia64/Makefile: New file.
5282 2000-06-21 Andreas Jaeger <aj@suse.de>
5284 * io/Makefile (tests): Add test-stat.
5285 (CFLAGS-test-stat.c): New.
5287 * io/test-stat.c: New file from Maciej W. Rozycki
5288 <macro@ds2.pg.gda.pl>.
5290 2000-06-21 Jes Sorensen <jes@linuxcare.com>
5292 * sysdeps/unix/sysv/linux/ia64/bits/resource.h: Reorder elements
5293 in __rlimit_resource to make them match the kernel order.
5294 rlim_t is always 64 bit, use __rlim64_t to declare it
5297 2000-05-04 Jes Sorensen <jes@linuxcare.com>
5299 * sysdeps/unix/sysv/linux/ia64/bits/resource.h: Undef
5300 RLIM_INFINITY before defining it to avoid clash with kernel header
5302 2000-05-03 Jes Sorensen <jes@linuxcare.com>
5304 * sysdeps/unix/sysv/linux/ia64/bits/resource.h: New file.
5306 2000-06-21 Ulrich Drepper <drepper@redhat.com>
5308 * sysdeps/unix/sysv/linux/ia64/Versions: New file.
5310 2000-06-21 Andreas Jaeger <aj@suse.de>
5312 * stdio-common/temptest.c: Include <stdlib.h>.
5313 * stdio-common/tst-fileno.c: Likewise.
5314 * stdio-common/scanf4.c: Likewise.
5315 * stdio-common/scanf5.c: Likewise.
5316 * time/clocktest.c: Likewise.
5317 * posix/test-vfork.c: Likewise.
5318 * posix/globtest.c: Likewise.
5319 * io/test-utime.c: Likewise.
5320 * wctype/test_wcfuncs.c: Likewise.
5321 * crypt/cert.c: Likewise.
5323 * stdio-common/tst-printfsz.c: Include <string.h>.
5324 * libio/tst_swscanf.c: Likewise.
5325 * libio/tst_wscanf.c: Likewise.
5326 * posix/runtests.c: Likewise.
5327 * posix/tst-getaddrinfo.c: Likewise.
5328 * posix/wordexp-test.c: Likewise.
5329 * misc/tst-efgcvt.c: Likewise.
5331 * stdlib/tst-xpg-basename.c: Include <stdlib.h> and <string.h>.
5332 * nss/test-netdb.c: Likewise.
5334 * sysdeps/unix/sysv/linux/configure.in: Add check for minimal
5335 supported kernel for MIPS.
5337 * elf/vismod2.c: Include <stdlib.h> for abort prototype.
5338 * rt/aio_suspend.c: Likewise.
5340 2000-06-20 Ulrich Drepper <drepper@redhat.com>
5342 * math/libm-test.inc: Include <string.h>.
5344 2000-06-20 Jes Sorensen <jes@linuxcare.com>
5346 * sysdeps/unix/sysv/linux/ia64/syscalls.list: New file.
5348 2000-06-20 Jes Sorensen <jes@linuxcare.com>
5350 * sysdeps/unix/sysv/linux/ia64/machine-gmon.h: New file.
5351 * sysdeps/unix/sysv/linux/ia64/profil-counter.h: New file.
5353 2000-06-20 David Mosberger-Tang <davidm@hpl.hp.com>
5355 * sysdeps/unix/sysv/linux/ia64/getpagesize.c: New file.
5357 2000-06-20 Jes Sorensen <jes@linuxcare.com>
5359 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Fix typo.
5361 2000-06-20 Ulrich Drepper <drepper@redhat.com>
5363 * locale/programs/ld-collate.c (insert_value): Now take string and
5364 length instead of struct token* parameter. Adjust use of token.
5365 (handle_ellipsis): Likewise.
5366 (collate_read): Allow <Uxxxx> names and transform them into names
5367 to be passed to insert_value and handle_ellipsis.
5369 * locale/programs/ld-ctype.c (uninames): New array with names of
5370 digits in <Uxxxxxxxx> format.
5371 (ctype_finish): Correct search for space character value. Likewise
5372 for default outdigits values.
5374 2000-06-20 Greg McGary <greg@mcgary.org>
5376 * Makerules (objects): Add BP thunks.
5378 2000-06-20 Ulrich Drepper <drepper@redhat.com>
5380 * locale/programs/charmap.c (parse_charmap): Handle UCS names also
5381 in width definitions.
5383 2000-06-20 Andreas Jaeger <aj@suse.de>
5385 * sysdeps/mips/fpu/libm-test-ulps: New file.
5387 * sysdeps/mips/fpu/fesetenv.c (__fesetenv): Flush fpu pipeline
5390 * sysdeps/mips/fpu/feholdexcpt.c: New file.
5392 * sysdeps/mips/fpu/fraiseexcpt.c: New file.
5394 2000-06-19 Ulrich Drepper <drepper@redhat.com>
5396 * iconv/gconv_builtin.c (BUILTIN_TRANSFORMATION): Update for
5397 change in gconv_builtin.h.
5399 * malloc/Makefile: Change all references to memprof into memusage.
5400 * malloc/memprof.c: Rename to...
5401 * malloc/memusage.c: ...this. New file.
5402 * malloc/memprof.sh: Rename to...
5403 * malloc/memusage.sh: ...this. New file.
5404 * malloc/memprofstat.c: Rename to...
5405 * malloc/memusagestat.c: ...this. New file.
5406 * sysdeps/alpha/memprof.h: Rename to..
5407 * sysdeps/alpha/memusage.h: ...this. New file.
5408 * sysdeps/arm/memprof.h: Rename to..
5409 * sysdeps/arm/memusage.h: ...this. New file.
5410 * sysdeps/generic/memprof.h: Rename to..
5411 * sysdeps/generic/memusage.h: ...this. New file.
5412 * sysdeps/i386/memprof.h: Rename to..
5413 * sysdeps/i386/memusage.h: ...this. New file.
5414 * sysdeps/ia64/memprof.h: Rename to..
5415 * sysdeps/ia64/memusage.h: ...this. New file.
5416 * sysdeps/m68k/memprof.h: Rename to..
5417 * sysdeps/m68k/memusage.h: ...this. New file.
5418 * sysdeps/mips/memprof.h: Rename to..
5419 * sysdeps/mips/memusage.h: ...this. New file.
5420 * sysdeps/powerpc/memprof.h: Rename to..
5421 * sysdeps/powerpc/memusage.h: ...this. New file.
5422 * sysdeps/sparc/memprof.h: Rename to..
5423 * sysdeps/sparc/memusage.h: ...this. New file.
5424 * sysdeps/sh/memprof.h: Rename to..
5425 * sysdeps/sh/memusage.h: ...this. New file.
5427 * elf/sprof.c (print_version): Update year.
5429 * elf/sprof.c (load_shobj): Don't always add load address to dynamic
5430 table entry values. Use D_PTR.
5431 * elf/dl-reloc.c (_dl_relocate_object): Don't start profiling weird
5432 binaries without PLT. Patches by James Mathiesen <james@curl.com>.
5434 2000-06-20 Jes Sorensen <jes@linuxcare.com>
5436 * sysdeps/unix/sysv/linux/ia64/Makefile: New file.
5437 * sysdeps/unix/sysv/linux/ia64/sys/io.h: New file.
5438 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: New file.
5439 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: New file.
5441 2000-05-05 Jes Sorensen <jes@linuxcare.com>
5443 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: New file.
5445 2000-06-16 Jes Sorensen <jes@linuxcare.com>
5447 * sysdeps/unix/sysv/linux/ia64/xstat.c: New file.
5448 * sysdeps/unix/sysv/linux/ia64/fxstat.c: New file.
5449 * sysdeps/unix/sysv/linux/ia64/lxstat.c: New file.
5451 * sysdeps/unix/sysv/linux/ia64/xstatconv.c: Deleted.
5453 * sysdeps/unix/sysv/linux/ia64/bits/stat.h: Update after latest
5456 * sysdeps/unix/sysv/linux/ia64/bits/types.h: Make __ino_t,
5457 __nlink_t and __blkcnt_t 64 bit to accomodate new kernel stat data
5459 Change __fsblkcnt_t and __fsfilcnt_t to 64 bit to match kernel
5462 2000-06-15 Jes Sorensen <jes@linuxcare.com>
5464 * sysdeps/unix/sysv/linux/ia64/kernel_stat.h: Deleted.
5466 2000-06-08 Jes Sorensen <jes@linuxcare.com>
5468 * sysdeps/unix/sysv/linux/ia64/mmap64.c: New file.
5470 2000-06-19 Ulrich Drepper <drepper@redhat.com>
5472 * iconv/gconv_int.h (strict gconv_module): Remove all members
5473 associated with regular expressions. Use a simple string as the
5475 * iconv/gconv_db.c: Remove code handling regular expressions.
5476 * iconv/gconv_conf.c: Likewise.
5477 * iconv/iconv_prog.c: Likewise.
5478 * iconv/gconv_builtin.h: Adjust for change in gconv_conf.c.
5480 * iconv/gconv.h (__gconv_trans_fct): Add new parameter.
5481 General namespace cleanup.
5482 (struct __gconv_trans_data): Add next field.
5483 (struct __gconv_step_data): Make __trans a pointer.
5484 * iconv/gconv_conf.c: Split out code to find gconv directories from
5485 __gconv_read_conf in new functions.
5486 * iconv/gconv_int.h: Define new data structure and declare new
5487 functions for handling of gconv directory list.
5488 * iconv/gconv_open.c: Allow more than one error handling step being
5489 used. Call function to load error handling module if it is none
5490 of the builtin transformations.
5491 * iconv/gconv_close.c: Add code to free transliteration data.
5492 * iconv/gconv_trans.c: Add functions to load and unload modules
5493 implementing transliteration etc.
5494 * iconv/skeleton.c: Call all context functions now that more than
5495 one module is allowed.
5496 * iconv/loop.c (STANDARD_ERR_HANDLING): New macro.
5497 * iconv/gconv_simple.c: Use STANDARD_ERR_HANDLING macro for places
5498 where the full error handling using transliteration is needed.
5499 * iconvdata/8bit-gap.c: Likewise.
5500 * iconvdata/8bit-generic.c: Likewise.
5501 * iconvdata/ansi_x3.110.c: Likewise.
5502 * iconvdata/big5.c: Likewise.
5503 * iconvdata/big5hkscs.c: Likewise.
5504 * iconvdata/euc-cn.c: Likewise.
5505 * iconvdata/euc-jp.c: Likewise.
5506 * iconvdata/euc-kr.c: Likewise.
5507 * iconvdata/euc-tw.c: Likewise.
5508 * iconvdata/gbgbk.c: Likewise.
5509 * iconvdata/gbk.c: Likewise.
5510 * iconvdata/iso-2022-cn.c: Likewise.
5511 * iconvdata/iso-2022-jp.c: Likewise.
5512 * iconvdata/iso-2022-kr.c: Likewise.
5513 * iconvdata/iso646.c: Likewise.
5514 * iconvdata/iso8859-1.c: Likewise.
5515 * iconvdata/iso_6937-2.c: Likewise.
5516 * iconvdata/iso_6937.c: Likewise.
5517 * iconvdata/johab.c: Likewise.
5518 * iconvdata/sjis.c: Likewise.
5519 * iconvdata/t.61.c: Likewise.
5520 * iconvdata/uhc.c: Likewise.
5521 * iconvdata/unicode.c: Likewise.
5522 * iconvdata/utf-16.c: Likewise.
5523 * libio/iofwide.c: Reset __trans member of __gconv_trans_data
5524 structure correctly after last change.
5525 * wcsmbs/btowc.c: Likewise.
5526 * wcsmbs/mbrtowc.c: Likewise.
5527 * wcsmbs/mbsnrtowcs.c: Likewise.
5528 * wcsmbs/mbsrtowcs.c: Likewise.
5529 * wcsmbs/wcrtomb.c: Likewise.
5530 * wcsmbs/wcsnrtombs.c: Likewise.
5531 * wcsmbs/wcsrtombs.c: Likewise.
5532 * wcsmbs/wctob.c: Likewise.
5534 * localedata/Makefile: Set -Wno-format for some files since gcc does
5535 not know all the format specifiers.
5537 2000-06-18 Ulrich Drepper <drepper@redhat.com>
5539 * locale/loadlocale.c (_nl_unload_locale): Remove a bit of
5541 * locale/lc-time.c (_nl_init_era_entries): Likewise.
5543 2000-06-18 Andreas Jaeger <aj@suse.de>
5545 * sysdeps/mips/dl-machine.h: Always use $25 as jump register.
5546 Patch by Ralf Baechle <ralf@uni-koblenz.de>.
5548 2000-06-17 Ulrich Drepper <drepper@redhat.com>
5550 * sysdeps/unix/sysv/linux/alpha/fpathconf.c: Define and use
5552 * sysdeps/unix/sysv/linux/alpha/pathconf.c: Likewise.
5554 * locale/programs/ld-ctype.c (ctype_output): Really write out
5555 mboutdigits information.
5556 * localedata/tst-trans.c: Add code to test printf's I flag with locale.
5557 * localedata/tst-trans.sh: Set GCONV_PATH for compilation environment.
5558 * localedata/tests/trans.def: Add outdigit information.
5560 * localedata/tst-mbswcs3.c: Remove comment.
5562 * stdio-common/vfprintf.c (vfprintf): Fix handling of I flag.
5563 * stdio-common/tiformat.c (sprint_ints): Add tests for I flag.
5564 * libio/tst_wprintf.c (main): Add test for I flag.
5566 * iconv/gconv_trans.c: Implement handling if translit_ignore.
5567 * locale/langinfo.h: Add entries for translit_ignore information.
5568 * locale/categories.def: Add entries for new LC_CTYPE elements.
5569 * locale/C-ctype.c: Add initializers for new fields. Use NULL
5570 pointer instead of "" where possible.
5571 * locale/programs/ld-ctype.c: Write out translit_ignore information.
5572 * intl/Depend: Add localedata.
5573 * intl/tst-gettext.c: Call setlocale for LC_CTYPE.
5574 * intl/tst-gettext.sh: Set LOCPATH to localedata build dir.
5576 2000-06-16 Ulrich Drepper <drepper@redhat.com>
5578 * locale/langinfo.h: Add entries for default_missing information.
5579 * locale/C-ctype.c: Add initializers for new fields.
5580 * iconv/gconv_trans.c: If nothing matched, try to use default_missing
5582 * locale/categories.h: Add entries for all LC_CTYPE values.
5583 * locale/programs/ld-ctype.c (ctype_output): Write out default_missing
5586 * localedata/tst-trans.c: Write out an error message if class is
5589 * iconv/gconv_int.h (norm_add_slashes): Optionally add given suffix.
5590 * iconv/gconv_open.c: Remove error handling specification from `from'
5592 * intl/loadmsgcat.c (_nl_load_domain): Call norm_add_slashes with
5593 new parameter to always enable transliteration.
5594 * locale/localeinfo.h (LIMAGIC): Bump number because of incompatible
5596 (struct locale_data): Add new members use_translit and options.
5597 * locale/findlocale.c (_nl_find_locale): Set use_translit flag is
5598 character set name contained modifier TRANSLIT.
5599 * locale/loadlocale.c (_nl_load_locale): Initialize new use_translit
5601 (_nl_unload_locale): Free options string if necessary.
5602 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Enable translation if
5603 the locale names suggested this.
5604 * locale/C-address.c: Add two new initialilzers to adjust data
5605 structure for new format.
5606 * locale/C-collate.c: Likewise.
5607 * locale/C-ctype.c: Likewise.
5608 * locale/C-identification.c: Likewise.
5609 * locale/C-measurement.c: Likewise.
5610 * locale/C-messages.c: Likewise.
5611 * locale/C-monetary.c: Likewise.
5612 * locale/C-name.c: Likewise.
5613 * locale/C-numeric.c: Likewise.
5614 * locale/C-paper.c: Likewise.
5615 * locale/C-telephone.c: Likewise.
5616 * locale/C-time.c: Likewise.
5618 * locale/setlocale.c: Add some more __builtin_expect.
5620 2000-06-15 Ulrich Drepper <drepper@redhat.com>
5622 * iconv/gconv.h (__gconv_fct): Change type of fifth parameter to
5624 (__gconv_init_fct): Remove two parameters.
5625 * iconv/gconv_int.h (__gconv_transliterate): Renamed from
5626 gconv_transliterate. Remove two parameters.
5627 Change prototypes of builtin functions according to __gconv_fct change.
5628 * iconv/skeleton.c: Change type of fifth parameter. make sure it is
5629 != NULL only during error handling. Stop in this case after the
5631 * iconv/gconv_trans.c: Replace with real implementation for
5632 __gconv_transliterate.
5633 * iconv/gconv_open.c: Adjust for renaming of __gconv_transliterate.
5634 * iconv/gconv.c: Change calls to downstream functions once again.
5635 Use NULL for the fifth parameter instead of pointer to output buffer.
5636 * libio/iofwide.c: Likewise.
5637 * wcsmbs/btowc.c: Likewise.
5638 * wcsmbs/mbrtowc.c: Likewise.
5639 * wcsmbs/mbsnrtowcs.c: Likewise.
5640 * wcsmbs/mbsrtowcs.c: Likewise.
5641 * wcsmbs/wcrtomb.c: Likewise.
5642 * wcsmbs/wcsnrtombs.c: Likewise.
5643 * wcsmbs/wcsrtombs.c: Likewise.
5644 * wcsmbs/wctob.c: Likewise.
5645 * iconv/gconv_simple.c: Remove two parameters from error handling
5647 * iconvdata/8bit-gap.c: Likewise.
5648 * iconvdata/8bit-generic.c: Likewise.
5649 * iconvdata/ansi_x3.110.c: Likewise.
5650 * iconvdata/big5.c: Likewise.
5651 * iconvdata/big5hkscs.c: Likewise.
5652 * iconvdata/euc-cn.c: Likewise.
5653 * iconvdata/euc-jp.c: Likewise.
5654 * iconvdata/euc-kr.c: Likewise.
5655 * iconvdata/euc-tw.c: Likewise.
5656 * iconvdata/gbgbk.c: Likewise.
5657 * iconvdata/gbk.c: Likewise.
5658 * iconvdata/iso-2022-cn.c: Likewise.
5659 * iconvdata/iso-2022-jp.c: Likewise.
5660 * iconvdata/iso-2022-kr.c: Likewise.
5661 * iconvdata/iso646.c: Likewise.
5662 * iconvdata/iso8859-1.c: Likewise.
5663 * iconvdata/iso_6937-2.c: Likewise.
5664 * iconvdata/iso_6937.c: Likewise.
5665 * iconvdata/johab.c: Likewise.
5666 * iconvdata/sjis.c: Likewise.
5667 * iconvdata/t.61.c: Likewise.
5668 * iconvdata/uhc.c: Likewise.
5669 * iconvdata/unicode.c: Likewise.
5670 * iconvdata/utf-16.c: Likewise.
5672 2000-06-15 Greg McGary <greg@mcgary.org>
5674 * sysdeps/unix/make-syscalls.sh: Strip leading whitespace from lhs
5675 of callnum assignment. Tolerate callnum expressions containing
5678 2000-06-14 Ulrich Drepper <drepper@redhat.com>
5680 * login/Makefile (utmpd): Remove rule to build utmpd.
5682 * csu/Versions: Move libgcc frame handling functions from here...
5683 * sysdeps/unix/sysv/linux/alpha/Versions: ...to here...
5684 * sysdeps/unix/sysv/linux/arm/Versions: ...to here...
5685 * sysdeps/unix/sysv/linux/i386/Versions: ...to here...
5686 * sysdeps/unix/sysv/linux/m68k/Versions: ...to here...
5687 * sysdeps/unix/sysv/linux/powerpc/Versions: ...to here...
5688 * sysdeps/unix/sysv/linux/sparc/sparc32/Versions: ...and here.
5690 * sysdeps/mach/hurd/i386/Versions: ...and here. New file.
5692 * locale/programs/ld-ctype.c (allocate_arrays): Correct a comment.
5694 * misc/syslog.c (vsyslog): Initialize msgoff in all cases.
5696 2000-06-14 Kazumoto Kojima <kkojima@rr.iij4u.or.jp>
5698 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Remove definitions for backward
5700 * sysdeps/sh/sh4/fpu/fegetenv.c: Likewise.
5701 * sysdeps/sh/sh4/fpu/fesetenv.c: Likewise.
5702 * sysdeps/sh/sh4/fpu/fraiseexcpt.c: Likewise.
5703 * sysdeps/sh/sh4/fpu/fsetexcptflg.c: Likewise.
5705 2000-06-14 Jakub Jelinek <jakub@redhat.com>
5707 * include/libc-symbols.h (link_warning): If HAVE_SECTION_QUOTES is
5708 defined, terminate quotes and read them after the comment char.
5709 * configure.in (HAVE_SECTION_QUOTES): Test whether
5710 __attribute__((section ("x"))) puts quotes around x or not.
5711 * config.h.in (HAVE_SECTION_QUOTES): Add.
5712 * configure: Rebuilt.
5714 2000-06-14 Andreas Jaeger <aj@suse.de>
5716 * sysdeps/unix/sysv/linux/configure.in: Set libc_cv_sysconfdir
5717 depending on the configure option --sysconfdir.
5718 Closes PR libc/1762.
5719 Patch by Andreas Schwab <schwab@suse.de>.
5721 * sysdeps/mips/dl-machine.h: Pass finalizer correctly to user
5723 Reported by Jim Pick <jim@jimpick.com>.
5725 2000-06-14 Ulrich Drepper <drepper@redhat.com>
5727 * misc/syslog.c (vsyslog): Allow open_memstream to fail without
5728 crashing the application. Emit some simple error message.
5729 Reported by mju@panasas.com [PR libc/1769].
5731 2000-06-13 Ulrich Drepper <drepper@redhat.com>
5733 * malloc/Makefile (distribute): Add memprof.sh and memprofstat.c.
5735 * crypt/Makefile (distribute): Add md5.h.
5737 * Makefile (distribute): Add include/shlib-compat.h.
5739 * Make-dist: Search for tests also in sysdeps hierachy.
5741 * crypt/Makefile (distribute): Add ufc-crypt.h, crypt-private.h,
5742 ufc.c, speeds.c, README.ufc-crypt, and Banner.
5744 * sysdeps/sparc/Subdirs: New file.
5746 * locale/Makefile (distribute): Add weightwc.h and
5747 programs/localedef.h.
5749 * time/Makefile (distribute): Add datemsk.
5751 * sysdeps/ia64/Dist: Add softpipe.h.
5753 * sysdeps/unix/sysv/aix/Dist: New file.
5755 * posix/setpgrp.c: Moved to...
5756 * sysdeps/generic/setpgrp.c: ...here. New file.
5757 * io/mknod.c: Moved to...
5758 * sysdeps/generic/mknod.c: ...here. New file.
5760 * sysdeps/unix/sysv/linux/ia64/Dist: New file.
5762 * sysdeps/unix/sysv/linux/sparc/Dist: Add sys/procfs.h.
5764 * sysdeps/unix/sysv/linux/arm/Dist: Add oldgetrlimit64.c.
5766 * sysdeps/powerpc/Dist: Add fprrest.S, fprsave.S, gprsave1.S,
5767 gprsave0.S, gprrest1.S, and gprrest0.S.
5769 * sysdeps/generic/Dist: Add bp-thunks.h, bp-sym.h, and bp-start.h.
5771 * posix/Makefile (routines): Add spawnattr_getsigmask,
5772 spawnattr_getschedpolicy, spawnattr_getschedparam,
5773 spawnattr_setsigmask, spawnattr_setschedpolicy, and
5774 spawnattr_setschedparam.
5775 * posix/Versions: Add posix_spawnattr_getschedpolicy,
5776 posix_spawnattr_setschedpolicy, posix_spawnattr_getschedparam, and
5777 posix_spawnattr_setschedparam.
5779 * posix/spawnattr_setschedparam.c: Fix typo.
5781 * posix/spawnattr_setsigmask.c (posix_spawnattr_setsigmask):
5784 * login/programs/utmpd.c: Removed.
5785 * login/programs/utmpd.h: Removed.
5786 * login/programs/utmpd-private.h: Removed.
5788 * Makefile (distribute): Add include/db_185.h and include/db.h.
5790 * iconvdata/Makefile (distribute): Add iso-ir-165.c and
5793 * elf/Makefile (distribute): Add missing files.
5795 * dlfcn/Makefile: Add back rules to include eval in libdl.so.
5796 * elf/eval.c: Moved to...
5797 * dlfcn/eval.c: ...here. New file.
5799 * Makefile (distribute): Also distribute ChangeLog.1?.
5801 * Make-dist (+tsrcs): Remove .args handling here as well.
5803 * rt/Makefile (tests): Add tst-timer.
5804 * sysdeps/generic/tst-timer.c: New file.
5806 * Makerules (sources): Don't add BP sources here.
5808 * login/Makefile (distribute): Remove xtmp.h.
5810 * iconv/iconv_prog.c (main): Fix appending slashes if omit_invalid
5811 is true. Reported by Bruno Haible <haible@ilog.fr>.
5813 2000-06-13 Andreas Jaeger <aj@suse.de>
5815 * sysdeps/mips/elf/start.S (ENTRY_POINT): Remove mips64 defines.
5816 Patch by Ralf Baechle <ralf@gnu.org>.
5818 2000-06-13 Ulrich Drepper <drepper@redhat.com>
5820 * sysdeps/unix/sysv/linux/syscalls.list: Add parameter information
5821 for mincore syscall.
5823 * misc/sys/cdefs.h: Define __bounded and __unbounded if
5824 __BOUNDED_POINTERS__ is not defined.
5826 2000-06-07 Greg McGary <greg@mcgary.org>
5828 * sysdeps/generic/bp-sym.h: New file.
5829 * sysdeps/generic/bp-start.h: New file.
5830 * sysdeps/i386/elf/start.S: Designate BP symbols.
5831 * sysdeps/generic/libc-start.c: Wrap bounds around
5832 argv & envp and each of their string members.
5834 2000-06-07 Greg McGary <greg@mcgary.org>
5836 * sysdeps/unix/make-syscalls.sh: Add comments to
5837 output that aid debugging & comprehension.
5838 Map simple syscall signatures to number of args.
5839 Generate BP syscall thunk definitions.
5840 * sysdeps/generic/bp-thunks.h: New file.
5841 * sysdeps/unix/syscalls.list: Replace arg-count with
5842 simple return+arg signature.
5843 * sysdeps/unix/common/syscalls.list: Likewise.
5844 * sysdeps/unix/inet/syscalls.list: Likewise.
5845 * sysdeps/unix/mman/syscalls.list: Likewise.
5846 * sysdeps/unix/sysv/syscalls.list: Likewise.
5847 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
5848 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
5850 2000-06-07 Greg McGary <greg@mcgary.org>
5852 * Makeconfig (CPPFLAGS-.ob): Pass -fbounded-pointers
5853 for all files *.[cS].
5854 (CFLAGS-.ob): Don't optimize sibling calls.
5855 (bppfx): New variable.
5856 * Makerules (elide-bp-thunks): New variable.
5857 (elide-routines.*): Elide BP-* files for all but *.ob.
5858 (sources): Include bp-thunks.
5860 2000-06-12 Ulrich Drepper <drepper@redhat.com>
5862 * iconv/gconv_simple.c: Remove unnecessary prototype.
5864 * iconv/gconv_trans.c: Pretty print.
5866 * elf/elf.h (R_SH_NUM): Got accidently dropped.
5868 * sysdeps/unix/sysv/linux/configure.in: Improve handling of
5869 minimal kernel versions. Add information about IA-64 kernel.
5871 * sysdeps/unix/sysv/linux/configure.in: Allow architecture
5872 specific minimal supported kernel versions to be specified.
5874 * libio/iofwide.c (_IO_fwide): Initialize transliteration part of
5875 step data structure.
5876 * wcsmbs/btowc.c: Likewise.
5877 * wcsmbs/mbrtowc.c: Likewise.
5878 * wcsmbs/mbsnrtowcs.c: Likewise.
5879 * wcsmbs/mbsrtowcs.c: Likewise.
5880 * wcsmbs/wcrtomb.c: Likewise.
5881 * wcsmbs/wcsnrtombs.c: Likewise.
5882 * wcsmbs/wcsrtombs.c: Likewise.
5883 * wcsmbs/wctob.c: Likewise.
5885 * sysdeps/unix/sysv/linux/sh/Dist: There is no ioperm file.
5886 * sysdeps/unix/sysv/linux/sh/oldgetrlimit64.c: Removed.
5888 * shlib-versions: Earliest backward compatible version for SH is 2.2.
5890 * misc/sys/cdefs.h: Remove one more __P.
5892 * sysvipc/sys/shm.h: Move __getpagesize declaration inside extern C.
5895 * sysdeps/sh/sh3/bits/setjmp.h: Removed.
5896 * sysdeps/sh/sh4/bits/setjmp.h: Moved to...
5897 * sysdeps/sh/bits/setjmp.h: ...here. New file.
5899 2000-06-12 Kazumoto Kojima <kkojima@rr.iij4u.or.jp>
5900 Yutaka Niibe <gniibe@chroot.org>
5902 * configure.in: Add machine sh3, sh4.
5903 * elf/elf.h: Add SH specific declarations of relocations.
5904 * shlib-versions: Add sh*-*-linux* cases.
5906 2000-06-12 Ulrich Drepper <drepper@redhat.com>
5908 * sysdeps/sh/sh3/bsd-_setjmp.S: Move to...
5909 * sysdeps/sh/bsd-_setjmp.S: ...here. New file.
5910 * sysdeps/sh/sh4/bsd-_setjmp.S: Removed.
5911 * sysdeps/sh/sh3/bsd-setjmp.S: Move to...
5912 * sysdeps/sh/bsd-setjmp.S: ...here. New file.
5913 * sysdeps/sh/sh4/bsd-setjmp.S: Removed.
5915 * sysdeps/sh/dl-machine.h (FGR_SAVE): Protect using HAVE_FPU macro
5916 instead of KERNEL_MATH_EMULATION.
5917 * sysdeps/sh/sh4/dl-machine.h: Define HAVE_FPU not
5918 KERNEL_MATH_EMULATION.
5920 * sysdeps/sh/Dist: Removed. There is no ieee754.h file.
5921 * sysdeps/sh/sh3/dl-machine.h: Moved to...
5922 * sysdeps/sh/dl-machine.h: ...here. New file.
5923 * sysdeps/sh/sh4/dl-machine.h: Simply define KERNEL_MATH_EMULATION
5924 and include generic SH version.
5925 * sysdeps/sh/sh3/bits/endian.h: Move to...
5926 * sysdeps/sh/bits/endian.h: ...here. New file.
5927 * sysdeps/sh/sh4/bits/endian.h: Removed.
5928 * sysdeps/sh/sh3/bits/huge_val.h: Move to...
5929 * sysdeps/sh/bits/huge_val.h: ...here. New file.
5930 * sysdeps/sh/sh4/bits/huge_val.h: Removed.
5932 * include/libc-symbols.h (link_warning): Work around a change in
5933 GAS which warns about changing section attributes.
5934 Proposed by Nick Clifton <nickc@redhat.com>.
5936 2000-06-12 H.J. Lu <hjl@gnu.org>
5938 * sysdeps/i386/fpu/bits/mathinline.h (__sgn1l): Add __extension__.
5940 2000-06-11 H.J. Lu <hjl@gnu.org>
5942 * sysdeps/i386/fpu/Versions: New file.
5944 2000-06-12 Ulrich Drepper <drepper@redhat.com>
5946 * iconv/gconv.h (__gconv_trans_context_fct): Remove two
5948 * iconv/skeleton.c (FUNCTION_NAME): Call __trans_context_fct if it
5951 2000-06-12 Jes Sorensen <jes@linuxcare.com>
5953 * sysdeps/unix/sysv/linux/ia64/kernel_stat.h: New file.
5954 * sysdeps/unix/sysv/linux/ia64/xstatconv.c: New file.
5955 * sysdeps/unix/sysv/linux/ia64/bits/stat.h: New file.
5957 * sysdeps/unix/sysv/linux/ia64/fxstat64.c: New file.
5958 * sysdeps/unix/sysv/linux/ia64/lxstat64.c: New file.
5959 * sysdeps/unix/sysv/linux/ia64/xstat64.c: New file.
5961 2000-06-12 Kazumoto Kojima <kkojima@rr.iij4u.or.jp>
5962 Yutaka Niibe <gniibe@chroot.org>
5964 * sysdeps/sh/Dist: New file.
5965 * sysdeps/sh/Implies: New file.
5966 * sysdeps/sh/elf/initfini.c: New file.
5967 * sysdeps/sh/gmp-mparam.h: New file.
5968 * sysdeps/sh/init-first.c: New file.
5969 * sysdeps/sh/machine-gmon.h: New file.
5970 * sysdeps/sh/memcpy.S: New file.
5971 * sysdeps/sh/memprof.h: New file.
5972 * sysdeps/sh/memset.S: New file.
5973 * sysdeps/sh/sh3/__longjmp.S: New file.
5974 * sysdeps/sh/sh3/bits/endian.h: New file.
5975 * sysdeps/sh/sh3/bits/huge_val.h: New file.
5976 * sysdeps/sh/sh3/bits/setjmp.h: New file.
5977 * sysdeps/sh/sh3/bsd-_setjmp.S: New file.
5978 * sysdeps/sh/sh3/bsd-setjmp.S: New file.
5979 * sysdeps/sh/sh3/dl-machine.h: New file.
5980 * sysdeps/sh/sh3/setjmp.S: New file.
5981 * sysdeps/sh/sh4/__longjmp.S: New file.
5982 * sysdeps/sh/sh4/bits/endian.h: New file.
5983 * sysdeps/sh/sh4/bits/huge_val.h: New file.
5984 * sysdeps/sh/sh4/bits/setjmp.h: New file.
5985 * sysdeps/sh/sh4/bsd-_setjmp.S: New file.
5986 * sysdeps/sh/sh4/bsd-setjmp.S: New file.
5987 * sysdeps/sh/sh4/dl-machine.h: New file.
5988 * sysdeps/sh/sh4/fpu/bits/fenv.h: New file.
5989 * sysdeps/sh/sh4/fpu/bits/huge_val.h: New file.
5990 * sysdeps/sh/sh4/fpu/bits/mathdef.h: New file.
5991 * sysdeps/sh/sh4/fpu/fclrexcpt.c: New file.
5992 * sysdeps/sh/sh4/fpu/fegetenv.c: New file.
5993 * sysdeps/sh/sh4/fpu/fegetround.c: New file.
5994 * sysdeps/sh/sh4/fpu/feholdexcpt.c: New file.
5995 * sysdeps/sh/sh4/fpu/fesetenv.c: New file.
5996 * sysdeps/sh/sh4/fpu/fesetround.c: New file.
5997 * sysdeps/sh/sh4/fpu/fpu_control.h: New file.
5998 * sysdeps/sh/sh4/fpu/fraiseexcpt.c: New file.
5999 * sysdeps/sh/sh4/fpu/fsetexcptflg.c: New file.
6000 * sysdeps/sh/sh4/fpu/ftestexcept.c: New file.
6001 * sysdeps/sh/sh4/fpu/libm-test-ulps: New file.
6002 * sysdeps/sh/sh4/setjmp.S: New file.
6003 * sysdeps/sh/elf/start.S: New file.
6004 * sysdeps/sh/sys/ucontext.h: New file.
6005 * sysdeps/sh/strlen.S: New file.
6006 * sysdeps/sh/sysdep.h: New file.
6007 * sysdeps/unix/sh/sysdep.S: New file.
6008 * sysdeps/unix/sh/sysdep.h: New file.
6009 * sysdeps/unix/sysv/linux/sh/Dist: New file.
6010 * sysdeps/unix/sysv/linux/sh/Makefile: New file.
6011 * sysdeps/unix/sysv/linux/sh/Versions: New file.
6012 * sysdeps/unix/sysv/linux/sh/bits/mman.h: New file.
6013 * sysdeps/unix/sysv/linux/sh/bits/resource.h: New file.
6014 * sysdeps/unix/sysv/linux/sh/brk.c: New file.
6015 * sysdeps/unix/sysv/linux/sh/chown.c: New file.
6016 * sysdeps/unix/sysv/linux/sh/clone.S: New file.
6017 * sysdeps/unix/sysv/linux/sh/fchown.c: New file.
6018 * sysdeps/unix/sysv/linux/sh/fxstat.c: New file.
6019 * sysdeps/unix/sysv/linux/sh/getegid.c: New file.
6020 * sysdeps/unix/sysv/linux/sh/geteuid.c: New file.
6021 * sysdeps/unix/sysv/linux/sh/getgroups.c: New file.
6022 * sysdeps/unix/sysv/linux/sh/getresgid.c: New file.
6023 * sysdeps/unix/sysv/linux/sh/getresuid.c: New file.
6024 * sysdeps/unix/sysv/linux/sh/getrlimit.c: New file.
6025 * sysdeps/unix/sysv/linux/sh/getrlimit64.c: New file.
6026 * sysdeps/unix/sysv/linux/sh/getuid.c: New file.
6027 * sysdeps/unix/sysv/linux/sh/lchown.c: New file.
6028 * sysdeps/unix/sysv/linux/sh/lxstat.c: New file.
6029 * sysdeps/unix/sysv/linux/sh/msgctl.c: New file.
6030 * sysdeps/unix/sysv/linux/sh/oldgetrlimit64.c: New file.
6031 * sysdeps/unix/sysv/linux/sh/pipe.S: New file.
6032 * sysdeps/unix/sysv/linux/sh/profil-counter.h: New file.
6033 * sysdeps/unix/sysv/linux/sh/semctl.c: New file.
6034 * sysdeps/unix/sysv/linux/sh/setegid.c: New file.
6035 * sysdeps/unix/sysv/linux/sh/seteuid.c: New file.
6036 * sysdeps/unix/sysv/linux/sh/setfsgid.c: New file.
6037 * sysdeps/unix/sysv/linux/sh/setfsuid.c: New file.
6038 * sysdeps/unix/sysv/linux/sh/setgid.c: New file.
6039 * sysdeps/unix/sysv/linux/sh/setgroups.c: New file.
6040 * sysdeps/unix/sysv/linux/sh/setregid.c: New file.
6041 * sysdeps/unix/sysv/linux/sh/setresgid.c: New file.
6042 * sysdeps/unix/sysv/linux/sh/setresuid.c: New file.
6043 * sysdeps/unix/sysv/linux/sh/setreuid.c: New file.
6044 * sysdeps/unix/sysv/linux/sh/setrlimit.c: New file.
6045 * sysdeps/unix/sysv/linux/sh/setuid.c: New file.
6046 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: New file.
6047 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: New file.
6048 * sysdeps/unix/sysv/linux/sh/shmctl.c: New file.
6049 * sysdeps/unix/sysv/linux/sh/sigcontextinfo.h: New file.
6050 * sysdeps/unix/sysv/linux/sh/socket.S: New file.
6051 * sysdeps/unix/sysv/linux/sh/sys/io.h: New file.
6052 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
6053 * sysdeps/unix/sysv/linux/sh/sys/user.h: New file.
6054 * sysdeps/unix/sysv/linux/sh/syscalls.list: New file.
6055 * sysdeps/unix/sysv/linux/sh/sysdep.S: New file.
6056 * sysdeps/unix/sysv/linux/sh/sysdep.h: New file.
6057 * sysdeps/unix/sysv/linux/sh/vfork.S: New file.
6058 * sysdeps/unix/sysv/linux/sh/xstat.c: New file.
6060 2000-06-12 Ulrich Drepper <drepper@redhat.com>
6062 * Rules (%.out): Define GCONV_PATH in the environment.
6063 * assert/Depend: New file.
6064 * iconvdata/Depend: New file.
6065 * intl/Depend: New file.
6066 * timezone/Makefile (build-testdata): Add GCONV_PATH to environment.
6067 * intl/tst-gettext.sh: Likewise.
6068 * iconv/Makefile (routines): Add gconv_trans.
6069 * iconv/gconv_trans.c: New file.
6070 * iconv/gconv.h (struct __gconv_trans_data): New type.
6071 (__gconv_fct): New parameter with starting position in output buffer.
6072 (__gconv_trans_fct, __gconv_trans_context_fct, __gconv_trans_query_fct,
6073 __gconv_trans_init_fct, __gconv_trans_end_fct): New types.
6074 (struct __gconv_step): Add new member __trans.
6075 * iconv/gconv_int.h: Pretty print prototypes.
6076 (gconv_transliterate): New prototype.
6077 (__BUILTIN_TRANS): Update for new conversion function interface.
6078 * iconv/gconv.c (__gconv): Pass new parameter to conversion function.
6079 * iconv/gconv_open.c (__gconv_open): Recognize error handling suffix
6080 in names, find appropriate function, and install in the conversion
6081 steps it can be used.
6082 * iconv/skeleton.c: Add additional parameter for beginning of output
6083 buffer. Change calls of downstream functions.
6084 * iconv/loop.c: Change loop function interface completely. Pass in
6085 step and step_data structure. Remove optimization for BODY with
6086 NEED_LENGTH_TEST == 0.
6087 * iconv/gconv_simple.c: Update interfaces of functions. Insert
6088 appropriate error handling code to use transliteration steps. Remove
6089 optimization for BODY with NEED_LENGTH_TEST == 0.
6090 * iconvdata/8bit-gap.c: Likewise.
6091 * iconvdata/8bit-generic.c: Likewise.
6092 * iconvdata/ansi_x3.110.c: Likewise.
6093 * iconvdata/big5.c: Likewise.
6094 * iconvdata/big5hkscs.c: Likewise.
6095 * iconvdata/euc-cn.c: Likewise.
6096 * iconvdata/euc-jp.c: Likewise.
6097 * iconvdata/euc-kr.c: Likewise.
6098 * iconvdata/euc-tw.c: Likewise.
6099 * iconvdata/gbgbk.c: Likewise.
6100 * iconvdata/gbk.c: Likewise.
6101 * iconvdata/iso-2022-cn.c: Likewise.
6102 * iconvdata/iso-2022-jp.c: Likewise.
6103 * iconvdata/iso-2022-kr.c: Likewise.
6104 * iconvdata/iso646.c: Likewise.
6105 * iconvdata/iso8859-1.c: Likewise.
6106 * iconvdata/iso_6937-2.c: Likewise.
6107 * iconvdata/iso_6937.c: Likewise.
6108 * iconvdata/johab.c: Likewise.
6109 * iconvdata/sjis.c: Likewise.
6110 * iconvdata/t.61.c: Likewise.
6111 * iconvdata/uhc.c: Likewise.
6112 * iconvdata/unicode.c: Likewise.
6113 * iconvdata/utf-16.c: Likewise.
6114 * libio/iofwide.c: Adjust to new interface of gconv functions. Use
6116 * wcsmbs/btowc.c: Likewise.
6117 * wcsmbs/mbrtowc.c: Likewise.
6118 * wcsmbs/mbsnrtowcs.c: Likewise.
6119 * wcsmbs/mbsrtowcs.c: Likewise.
6120 * wcsmbs/wcrtomb.c: Likewise.
6121 * wcsmbs/wcsnrtombs.c: Likewise.
6122 * wcsmbs/wcsrtombs.c: Likewise.
6123 * wcsmbs/wctob.c: Likewise.
6125 2000-04-11 Geoff Keating <geoffk@cygnus.com>
6127 * sysdeps/powerpc/dl-machine.c: Include dl-machine.h after the
6128 other header files. Mention about 128-byte cache line sizes.
6129 (__elf_machine_fixup_plt): Make types match elf_machine_fixup_plt.
6130 * sysdeps/powerpc/dl-machine.h (elf_machine_fixup_plt): Update
6131 for current calling sequence.
6132 * sysdeps/powerpc/dl-start.S (_dl_start_user): Close comment.
6134 * sysdeps/powerpc/fpu/s_rint.c: Handle rounding to -0 correctly.
6135 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
6137 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add getrlimit
6138 and setrlimit syscalls for backwards compatibility.
6140 2000-06-10 Ulrich Drepper <drepper@redhat.com>
6142 * iconv/skeleton.c: Rename converted written to correcter name
6144 * iconv/gconv.c: Rename converted variable to correcter name
6146 * iconv/gconv_int.h: Likewise.
6147 * iconv/gconv_simple.c: Likewise.
6148 * iconv/iconv.c: Likewise.
6149 * iconv/loop.c: Likewise.
6150 * iconvdata/8bit-gap.c: Likewise.
6151 * iconvdata/8bit-generic.c: Likewise.
6152 * iconvdata/ansi_x3.110.c: Likewise.
6153 * iconvdata/big5.c: Likewise.
6154 * iconvdata/big5hkscs.c: Likewise.
6155 * iconvdata/euc-cn.c: Likewise.
6156 * iconvdata/euc-jp.c: Likewise.
6157 * iconvdata/euc-kr.c: Likewise.
6158 * iconvdata/gbgbk.c: Likewise.
6159 * iconvdata/gbk.c: Likewise.
6160 * iconvdata/iso-2022-cn.c: Likewise.
6161 * iconvdata/iso-2022-jp.c: Likewise.
6162 * iconvdata/iso-2022-kr.c: Likewise.
6163 * iconvdata/iso646.c: Likewise.
6164 * iconvdata/iso8859-1.c: Likewise.
6165 * iconvdata/iso_6937-2.c: Likewise.
6166 * iconvdata/iso_6937.c: Likewise.
6167 * iconvdata/johab.c: Likewise.
6168 * iconvdata/sjis.c: Likewise.
6169 * iconvdata/t.61.c: Likewise.
6170 * iconvdata/uhc.c: Likewise.
6171 * iconvdata/unicode.c: Likewise.
6172 * iconvdata/utf-16.c: Likewise.
6174 * sysdeps/unix/sysv/linux/bits/socket.h (struct cmsghdr): Mark
6175 __cmsg_data field with __extension__.
6177 2000-06-10 David Mosberger <davidm@hpl.hp.com>
6179 * sysdeps/unix/sysv/linux/ia64/syscall.S: Fix it so it actually works.
6181 2000-06-10 Ulrich Drepper <drepper@redhat.com>
6183 * iconv/gconv_simple.c: Fix various small bugs in several
6186 * iconv/loop.c: Fix comment.
6188 2000-06-10 Jakub Jelinek <jakub@redhat.com>
6190 * elf/link.h: Remove libc internal declarations.
6191 * include/link.h: Move them here.
6193 2000-06-09 Ulrich Drepper <drepper@redhat.com>
6195 * sysdeps/unix/sysv/linux/ia64/getsysstats.c: New file.
6196 Patch by Dan Pop <Dan.Pop@cern.ch>.
6198 Rewrite error message handling.
6199 * elf/dl-deps.c (_dl_map_object_deps): Pass new parameter to
6201 * elf/dl-error (struct catch): Add objname member.
6202 (_dl_signal_error): Take new parameter with object name. When
6203 passing message on simply store object name and duplicate error
6205 (_dl_catch_error): Take new parameter. Store object name in the
6207 * include/dlfcn.h: Adjust _dl_catch_error prototype.
6208 * sysdeps/generic/ldsodefs.h: Adjust _dl_signal_error prototype.
6209 * dlfcn/dlerror.c (struct dl_action_result): Add objname member.
6210 (dlerror): Add objname to asprintf() parameters.
6211 (_dl_error_run): Pass new parameter to _dl_catch_error.
6212 * elf/dl-libc.c (dlerror_run): Pass new parameter to _dl_catch_error.
6213 * elf/dl-open.c (_dl_open): Likewise.
6214 * elf/rtld.c (dl_main): Likewise.
6215 * elf/dl-close.c: Mark error messages with N_().
6216 * elf/dl-deps.c: Likewise.
6217 * elf/dl-error.c: Likewise.
6218 * elf/dl-load.c: Likewise.
6219 * elf/dl-open.c: Likewise.
6220 * elf/dl-reloc.c: Likewise.
6221 * elf/dl-support.c: Likewise.
6222 * elf/dl-sym.c: Likewise.
6223 * elf/dl-version.c: Likewise.
6224 * elf/dl-lookup.c: Add comments about problems with error message
6226 * elf/dl-reloc.c: Likewise.
6227 * elf/dl-version.c: Likewise.
6229 2000-06-09 H.J. Lu <hjl@gnu.org>
6231 * dlfcn/dlerror.c (_dlerror_run): Set result->errstring to NULL
6234 * dlfcn/Makefile (distribute): Add failtestmod.c.
6235 (tests): Add failtest.
6236 Add rules to build and run failtest.
6237 * dlfcn/failtest.c: New file.
6238 * dlfcn/failtestmod.c: New file.
6240 2000-06-09 David Mosberger-Tang <davidm@hpl.hp.com>
6242 * sysdeps/unix/sysv/linux/ia64/__longjmp.S: new file
6243 * sysdeps/unix/sysv/linux/ia64/bsd-_setjmp.S: new file
6244 * sysdeps/unix/sysv/linux/ia64/bsd-setjmp.S: new file
6245 * sysdeps/unix/sysv/linux/ia64/setjmp.S: new file
6246 * sysdeps/unix/sysv/linux/ia64/bits/setjmp.h: new file
6248 2000-06-09 Jes Sorensen <jes@linuxcare.com>
6250 * sysdeps/unix/sysv/linux/ia64/brk.S: New file.
6251 * sysdeps/unix/sysv/linux/ia64/pipe.S: New file.
6253 2000-06-09 Jes Sorensen <jes@linuxcare.com>
6254 Ulrich Drepper <drepper@redhat.com>
6256 * sysdeps/unix/sysv/linux/ia64/sigaction.c: New file.
6257 * sysdeps/unix/sysv/linux/ia64/sigpending.c: New file.
6258 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c: New file.
6259 * sysdeps/unix/sysv/linux/ia64/sigsuspend.c: New file.
6260 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h: New file.
6261 * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h: New file.
6263 2000-06-09 Ulrich Drepper <drepper@redhat.com>
6265 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Try harder
6266 to find correct mount point despite wrong information from the
6269 2000-06-09 Jes Sorensen <jes@linuxcare.com>
6271 * elf/dl-libc.c (__libc_dlsym): Use DL_SYMBOL_ADDRESS() to obtain
6272 the address of a symbol so function pointers are handled properly.
6274 2000-06-08 Ulrich Drepper <drepper@redhat.com>
6276 * sysdeps/i386/Dist: Add bp-asm.h.
6278 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Use
6279 defaultdir variable instead of "/var/shm" everywhere.
6280 (defaultdir): Change to /dev/shm/.
6282 2000-06-08 Greg McGary <greg@mcgary.org>
6284 * sysdeps/i386/bp-asm.h: New file.
6285 * sysdeps/i386/__longjmp.S: Define & use symbolic argument stack
6286 offsets. Add ENTER/LEAVE macros for optionally maintaining
6287 frame-pointer chain when debugging.
6288 * sysdeps/i386/add_n.S: Likewise.
6289 * sysdeps/i386/addmul_1.S: Likewise.
6290 * sysdeps/i386/lshift.S: Likewise.
6291 * sysdeps/i386/memchr.S: Likewise.
6292 * sysdeps/i386/memcmp.S: Likewise.
6293 * sysdeps/i386/mul_1.S: Likewise.
6294 * sysdeps/i386/rawmemchr.S: Likewise.
6295 * sysdeps/i386/rshift.S: Likewise.
6296 * sysdeps/i386/stpcpy.S: Likewise.
6297 * sysdeps/i386/stpncpy.S: Likewise.
6298 * sysdeps/i386/strchr.S: Likewise.
6299 * sysdeps/i386/strchrnul.S: Likewise.
6300 * sysdeps/i386/strcspn.S: Likewise.
6301 * sysdeps/i386/strpbrk.S: Likewise.
6302 * sysdeps/i386/strrchr.S: Likewise.
6303 * sysdeps/i386/strspn.S: Likewise.
6304 * sysdeps/i386/strtok.S: Likewise.
6305 * sysdeps/i386/sub_n.S: Likewise.
6306 * sysdeps/i386/submul_1.S: Likewise.
6307 * sysdeps/i386/elf/setjmp.S: Likewise.
6308 * sysdeps/i386/i486/strcat.S: Likewise.
6309 * sysdeps/i386/i486/strlen.S: Likewise.
6310 * sysdeps/i386/i586/add_n.S: Likewise.
6311 * sysdeps/i386/i586/lshift.S: Likewise.
6312 * sysdeps/i386/i586/memcpy.S: Likewise.
6313 * sysdeps/i386/i586/memset.S: Likewise.
6314 * sysdeps/i386/i586/rshift.S: Likewise.
6315 * sysdeps/i386/i586/strchr.S: Likewise.
6316 * sysdeps/i386/i586/strcpy.S: Likewise.
6317 * sysdeps/i386/i586/strlen.S: Likewise.
6318 * sysdeps/i386/i586/sub_n.S: Likewise.
6319 * sysdeps/i386/i686/add_n.S: Likewise.
6320 * sysdeps/i386/i686/memcpy.S: Likewise.
6321 * sysdeps/i386/i686/mempcpy.S: Likewise.
6322 * sysdeps/i386/i686/memset.S: Likewise.
6323 * sysdeps/i386/i686/strcmp.S: Likewise.
6325 2000-06-08 Ulrich Drepper <drepper@redhat.com>
6327 * sysdeps/unix/sysv/linux/getdtsz.c: New file.
6329 * sysdeps/unix/sysv/linux/sys/param.h: Define NOFILE directly as
6330 256 and don't use OPEN_MAX.
6332 * sysdeps/unix/sysv/linux/pathconf.c: Define LINUX_LINK_MAX and
6333 use it instead of LINK_MAX.
6334 * sysdeps/unix/sysv/linux/fpathconf.c: Likewise.
6336 2000-06-08 Andreas Jaeger <aj@suse.de>
6338 * libio/genops.c (_IO_list_lock): Only compile body if we're
6340 (_IO_list_unlock): Likewise.
6341 (_IO_list_resetlock): Likewise.
6343 2000-06-07 Ulrich Drepper <drepper@redhat.com>
6345 * sysdeps/unix/sysv/linux/bits/local_lim.h: Undefine OPEN_MAX
6346 unless user defined it.
6348 * sysdeps/unix/sysv/linux/bits/local_lim.h: Also undefine LINK_MAX
6349 if not defined by the user.
6351 * libio/iofwrite_u.c (fwrite_unlocked): Remove obsolete comment.
6352 * libio/iofwrite.c (_IO_fwrite): Likewise.
6354 * time/time.h: Add missing __THROW for clock_getcpuclockid
6357 * elf/Makefile (distribute): Add dl-dtprocnum.h.
6358 * include/elf.h: Include also <dl-dtprocnum.h>.
6359 * elf/dl-deps.c: Likewise.
6360 * elf/dl-lookup.c: Likewise.
6361 * elf/dl-runtime.c: Likewise.
6362 * elf/dl-version.c: Likewise.
6363 * elf/do-rel.h: Likewise.
6364 * elf/dynamic-link.h: Likewise.
6365 * elf/link.h: Likewise.
6366 * elf/rtld.c: Likewise.
6367 * sysdeps/generic/dl-dtprocnum.h: New file.
6368 * sysdeps/ia64/dl-dtprocnum.h: New file.
6369 * sysdeps/mips/dl-dtprocnum.h: New file.
6370 * sysdeps/sparc/dl-dtprocnum.h: New file.
6372 * sysdeps/i386/dl-machine.h: Add more __builtin_expect.
6374 * elf/do-lookup.h: Add some __builtin_expect.
6376 * dlfcn/dlfcn.h: Pretty print dladdr declaraction.
6378 * elf/rtld.c (process_envvars): Recognize LD_DYNAMIC_WEAK.
6379 (_dl_dynamic_weak): New variable.
6380 * elf/dl-support.c: Likewise.
6381 * sysdeps/generic/ldsodefs.h: Declare _dl_dynamic_weak.
6382 * elf/do-lookup.h: If we find a weak definition treat it like a
6383 normal symbol unless _dl_dynamic_weak is nonzero. In the latter
6384 case treat it like before.
6386 * elf/dl-addr.c (_dl_addr): Fill in correct information if symbol
6388 * elf/Versions [ld] (GLIBC_2.2): Export _dl_argv.
6390 * elf/dl-addr.c (_dl_addr): Do exact testing of address range
6391 using l_map_start and l_map_end.
6393 * elf/dl-version.c: Add __builtin_expect in many places.
6395 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (x86_cap_flags):
6398 2000-06-04 Kaz Kylheku <kaz@ashi.footprints.net>
6400 Lock for stdio stream list becomes global, for use in LinuxThreads.
6402 * libio/genops.c (_IO_iter_begin, _IO_iter_end,
6403 _IO_iter_next, _IO_iter_file, _IO_list_lock, _IO_list_unlock,
6404 _IO_list_resetlock): New interface for iterating global list of
6405 streams without accessing the _IO_list_all global variable,
6406 and for manipulating the lock which protects this list.
6407 * libio/libioP.h: Likewise.
6408 * libio/Version: Add entries for the new functions.
6410 * libio/libioP.h (_IO_ITER): New typedef, just an alias for
6411 pointer to _IO_FILE.
6413 2000-06-07 Ulrich Drepper <drepper@redhat.com>
6415 * locale/programs/ld-ctype.c (set_class_defaults): Several uses of
6416 BIT() must actually be BITw().
6418 * locale/programs/ld-ctype.c: Handle SP and space consistently.
6420 * locale/programs/charmap.c: Allow string arguments for
6421 code_set_name and repertoiremap.
6423 2000-06-07 Andreas Jaeger <aj@suse.de>
6425 * elf/Makefile: Build ldconfig only when building shared libraries.
6427 2000-06-07 Jakub Jelinek <jakub@redhat.com>
6429 * sysdeps/alpha/fpu/bits/mathinline.h (__fdimf): Only declare if
6431 (fdimf, __fdim, fdim): Likewise.
6433 2000-06-07 Ulrich Drepper <drepper@redhat.com>
6435 * locale/findlocale.c: Add __builtin_expect in many places.
6436 * locale/loadlocale.c: Likewise.
6438 2000-06-06 Greg McGary <greg@mcgary.org>
6440 * sysdeps/mips/elf/start.S: Trim redundant code.
6442 * sysdeps/powerpc/memset.S: Define & use symbolic register names.
6443 Use C comments throughout. Line up operands column with tabs.
6444 * sysdeps/powerpc/strchr.S: Likewise.
6445 * sysdeps/powerpc/strcmp.S: Likewise.
6446 * sysdeps/powerpc/strcpy.S: Likewise.
6447 * sysdeps/powerpc/strlen.S: Likewise.
6449 * sysdeps/unix/sysv/linux/powerpc/brk.S [!PIC]:
6450 Get low part of &__curbrk with @l.
6452 2000-06-06 Ulrich Drepper <drepper@redhat.com>
6454 * iconvdata/utf-16.c: Add __builtin_expect in many places.
6455 * iconvdata/unicode.c: Likewise.
6456 * iconvdata/uhc.c: Likewise.
6457 * iconvdata/t.61.c: Likewise.
6458 * iconvdata/sjis.c: Likewise.
6459 * iconvdata/johab.c: Likewise.
6460 * iconvdata/iso_6937.c: Likewise.
6461 * iconvdata/iso_6937-2.c: Likewise.
6462 * iconvdata/iso8859-1.c: Likewise.
6463 * iconvdata/iso646.c: Likewise.
6464 * iconvdata/iso-2022-kr.c: Likewise.
6465 * iconvdata/iso-2022-jp.c: Likewise.
6466 * iconvdata/iso-2022-cn.c: Likewise.
6467 * iconvdata/gbgbk.c: Likewise.
6468 * iconvdata/gbk.c: Likewise.
6469 * iconvdata/euc-kr.c: Likewise.
6470 * iconvdata/euc-jp.c: Likewise.
6471 * iconvdata/euc-cn.c: Likewise.
6473 2000-06-05 Ulrich Drepper <drepper@redhat.com>
6475 * iconvdata/big5hkscs.c: Add __builtin_expect in many places.
6476 * iconvdata/big5.c: Likewise.
6477 * iconvdata/ansi_x3.110.c: Likewise.
6478 * iconvdata/8bit-generic.c: Likewise.
6479 * iconvdata/8bit-gap.c: Likewise.
6480 * iconv/loop.c: Likewise.
6481 * iconv/gconv_db.c: Likewise.
6482 * iconv/gconv_dl.c: Likewise.
6483 * iconv/gconv_simple.c: Likewise.
6484 * iconv/skeleton.c: Likewise.
6486 * iconv/gconv.h (__GCONV_IS_LAST, __GCONV_IGNORE_ERRORS): Define.
6487 (struct __gconv_step_data): Rename __is_last to __flags.
6488 * iconv/gconv_close.c: Change all uses of __is_last.
6489 * iconv/skeleton.c: Likewise.
6490 * iconvdata/iso-2022-cn.c: Likewise.
6491 * iconvdata/iso-2022-jp.c: Likewise.
6492 * iconvdata/iso-2022-kr.c: Likewise.
6493 * iconv/gconv_open.c: Likewise. Avoid unneeded initializations.
6494 Recognize IGNORE error handling, set flag, and remove from name.
6495 * iconv/loop.c (ignore_errors_p): Define.
6496 Add flags parameter to both functions.
6497 * iconv/skeleton.c: Pass flags to all conversion functions.
6498 * iconv/gconv_simple.c: Add flags parameter to all functions.
6499 Don't return error for invald error if ignore flag is set.
6500 (ucs4_internal_loop_single): Add missing pointer increment.
6501 (internal_ucs4le_loop_single): Likewise.
6502 * iconv/iconv_prog.c: Implement handling of -c parameter.
6503 * iconvdata/8bit-gap.c: Don't return error for invald error if
6505 * iconvdata/8bit-generic.c: Likewise.
6506 * iconvdata/ansi_x3.110.c: Likewise.
6507 * iconvdata/big5.c: Likewise.
6508 * iconvdata/big5hkscs.c: Likewise.
6509 * iconvdata/euc-cn.c: Likewise.
6510 * iconvdata/euc-jp.c: Likewise.
6511 * iconvdata/euc-kr.c: Likewise.
6512 * iconvdata/gbgbk.c: Likewise.
6513 * iconvdata/gbk.c: Likewise.
6514 * iconvdata/iso-2022-cn.c: Likewise.
6515 * iconvdata/iso-2022-jp.c: Likewise.
6516 * iconvdata/iso-2022-kr.c: Likewise.
6517 * iconvdata/iso646.c: Likewise.
6518 * iconvdata/iso8859-1.c: Likewise.
6519 * iconvdata/iso_6937-2.c: Likewise.
6520 * iconvdata/iso_6937.c: Likewise.
6521 * iconvdata/johab.c: Likewise.
6522 * iconvdata/sjis.c: Likewise.
6523 * iconvdata/t.61.c: Likewise.
6524 * iconvdata/uhc.c: Likewise.
6525 * iconvdata/unicode.c: Likewise.
6526 * iconvdata/utf-16.c: Likewise.
6527 * libio/fileops.c: Likewise.
6528 * libio/iofwide.c: Likewise.
6529 * wcsmbs/btowc.c: Likewise.
6530 * wcsmbs/mbrtowc.c: Likewise.
6531 * wcsmbs/mbsnrtowcs.c: Likewise.
6532 * wcsmbs/mbsrtowcs.c: Likewise.
6533 * wcsmbs/wcrtomb.c: Likewise.
6534 * wcsmbs/wcsnrtombs.c: Likewise.
6535 * wcsmbs/wcsrtombs.c: Likewise.
6536 * wcsmbs/wctob.c: Likewise.
6538 * iconvdata/ksc5601.h (ksc5601_to_ucs4): Undo *s change in all cases of
6541 2000-06-04 Ulrich Drepper <drepper@redhat.com>
6543 * iconv/gconv_dl.c (do_release_shlib): Don't reset reference
6544 counter for the object we are releasing, just decrement it.
6545 Patch by Akira Higuchi <a-higuti@math.sci.hokudai.ac.jp>.
6547 2000-06-04 Jakub Jelinek <jakub@redhat.com>
6549 * sysdeps/i386/fpu/bits/mathinline.h: Only inline sinh, cosh and tanh
6552 2000-06-04 Ulrich Drepper <drepper@redhat.com>
6554 * iconvdata/big5hkscs.c: New file.
6555 Modified from big5.c by Roger So <rogerso@sis.dhs.org>.
6557 * iconvdata/gconv-modules: Add entry for new module.
6558 * iconvdata/Makefile (modules): Add BIG5HKSCS.
6559 (distribute): Add big5hkscs.c.
6561 2000-06-01 Jakub Jelinek <jakub@redhat.com>
6563 * libc/sysdeps/alpha/fpu/bits/mathinline.h: Add __THROW to all
6564 inlines to match prototypes in mathcalls.h.
6565 * libc/sysdeps/i386/fpu/bits/mathinline.h: Likewise.
6566 * libc/sysdeps/m68k/fpu/bits/mathinline.h: Likewise.
6567 * libc/sysdeps/powerpc/fpu/bits/mathinline.h: Likewise.
6568 * libc/sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
6570 2000-06-03 Ulrich Drepper <drepper@redhat.com>
6572 * elf/elf.h (SHT_SUNW_move): Define.
6574 * elf/elf.h: Add more Solaris compatiblity definitions.
6576 2000-06-03 Andreas Jaeger <aj@suse.de>
6578 * sysdeps/powerpc/dl-start.S: Close open comment.
6580 2000-06-03 Jakub Jelinek <jakub@redhat.com>
6582 * inet/Versions: Fix typo in rresvport_af export.
6584 2000-06-02 Ulrich Drepper <drepper@redhat.com>
6586 * math/tgmath.h: Pretty print.
6588 2000-06-02 Andreas Jaeger <aj@suse.de>
6590 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Fix typo.
6591 Reported by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
6593 2000-06-02 Ulrich Drepper <drepper@redhat.com>
6595 * elf/rtld.c (process_envvars): Test for = after variable name.
6597 2000-06-01 Ulrich Drepper <drepper@redhat.com>
6599 * sysdeps/generic/initfini.c (_init): One less relocation. Don't
6600 have extra call to __gmon_start__, use the pointer we already have.
6602 * elf/elf.h (ELF64_R_INFO): Cast sym value to Elf64_Xword before
6605 * sysdeps/i386/elf/setjmp.S: Work around change is recent
6606 binutils. gas now emits a jump through the PLT instead of a
6607 relative jump if the jump target is an exported symbol.
6609 2000-05-31 Ulrich Drepper <drepper@redhat.com>
6611 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Define AIX_CBAUD.
6613 2000-05-31 Andreas Jaeger <aj@suse.de>
6615 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Use array for
6618 * sysdeps/unix/sysv/linux/mips/Versions: Export _flush_cache.
6619 Patches by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
6621 * sysdeps/unix/sysv/linux/mips/ftruncate64.c: Fix prototype of
6623 * sysdeps/unix/sysv/linux/mips/truncate64.c: Likewise.
6625 2000-05-30 Ulrich Drepper <drepper@redhat.com>
6627 * sysdeps/unix/sysv/linux/alpha/oldglob.c (__old_glob): Loose __P.
6629 * locale/Versions [libc] (GLIBC_2.2): Add localeconv.
6630 * locale/localeconv.c: Make function versioned (with same definition).
6632 * elf/Makefile (modules-names): Strip before using it.
6634 2000-05-30 Andreas Jaeger <aj@suse.de>
6636 * sysdeps/unix/sysv/linux/mips/truncate64.c: New file.
6637 * sysdeps/unix/sysv/linux/mips/ftruncate64.c: New file.
6638 * sysdeps/unix/sysv/linux/mips/pread64.c: Readded file.
6639 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Readded file.
6640 * sysdeps/unix/sysv/linux/mips/pread.c: Readded file.
6641 * sysdeps/unix/sysv/linux/mips/pwrite.c: Readded file.
6643 2000-05-29 Ulrich Drepper <drepper@redhat.com>
6645 * Makefile: Add GNU make magic.
6647 * inet/Makefile (CFLAGS-rcmd.c, CFLAGS-rexec.c, CFLAGS-ruserpass.c):
6649 * inet/rcmd.c: Remove __P. Remove unused variables.
6650 (iruserfopen): Make first parameter const.
6651 (ruserok_sa): Return result of ruserok2_sa.
6652 (__checkhost_sa): Correctly iterate through results of getaddrinfo.
6653 * inet/rexec.c: Remove unused variables. Other small cleanups.
6654 * inet/ruserpass.c: Remove __P. Remove unused variables.
6655 (ruserpass): Check results of memory allocation.
6656 * include/netdb.h: Add prototype for ruserpass.
6658 2000-05-29 Andreas Jaeger <aj@suse.de>
6660 * elf/readlib.c (interpreters): Use LD_SO since this is supported
6663 2000-05-29 Jakub Jelinek <jakub@redhat.com>
6665 * inet/rcmd.c (rresvport_af): Use correct port number.
6667 2000-05-26 Andreas Schwab <schwab@suse.de>
6669 * Makeconfig ($(common-objpfx)soversions.mk): Prepend `$lib=' to
6670 entries in all-sonames.
6671 ($(common-objpfx)gnu/lib-names.h): Use it for the CPP symbol,
6672 preserving the old name if different for compatibility.
6674 2000-05-29 Ulrich Drepper <drepper@redhat.com>
6676 * posix/Makefile (tests): Add tst-spawn.
6677 (tst-spawn-ARGS): New variable.
6678 * posix/tst-spawn.c: New file.
6680 * posix/spawn_faction_addclose.c: Correctly account for new entry.
6681 * posix/spawn_faction_adddup2.c: Likewise.
6682 * posix/spawn_faction_addopen.c: Likewise.
6683 * posix/spawni.c: Correctly test for success of dup2 calls.
6685 * posix/tst-preadwrite.c: Check success of malloc call.
6687 2000-05-28 Ulrich Drepper <drepper@redhat.com>
6689 * posix/Makefile (tests): Add tst-exec.
6690 (tst-exec-ARGS): New variable.
6691 * posix/tst-exec.c: New file.
6693 * sysdeps/arm/atomicity.h (compare_and_swap): Return result.
6695 2000-05-04 Andreas Jaeger <aj@suse.de>
6697 * string/string.h: Remove __strdup prototype, it's not needed in
6700 2000-05-28 Ulrich Drepper <drepper@redhat.com>
6702 * posix/Makefile (tests): Add tst-fork.
6703 * posix/tst-fork.c: New file.
6705 * resolv/inet_pton.c: Loose __P.
6707 2000-05-21 Jakub Jelinek <jakub@redhat.com>
6709 * libio/libioP.h (_IO_CHECK_WIDE): Define.
6710 * libio/iosetbuffer.c (_IO_setbuffer): Use it.
6711 * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
6712 * libio/fileops.c (_IO_new_file_fopen): Return NULL if
6713 _IO_CHECK_WIDE fails.
6715 2000-05-28 Ulrich Drepper <drepper@redhat.com>
6717 * po/da.po: New file.
6719 * manual/arith.texi (Rounding Functions): Fix documentation of trunc.
6720 Patch by Steven G. Johnson <stevenj@gil-galad.mit.edu>.
6722 * manual/charset.texi (Extended Char Intro): Fix typo (and -> as).
6723 (Other iconv Implementations): Fix typo.
6724 Patch by Martin Pool <mbp@wistful.humbug.org.au>.
6726 2000-05-27 Andreas Jaeger <aj@suse.de>
6728 * sysdeps/unix/sysv/linux/i386/pread.c: Removed, we can use the
6730 * sysdeps/unix/sysv/linux/i386/pwrite.c: Likewise.
6731 * sysdeps/unix/sysv/linux/i386/pwrite64.c: Likewise.
6732 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
6733 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
6734 * sysdeps/unix/sysv/linux/arm/pread.c: Likewise.
6735 * sysdeps/unix/sysv/linux/arm/pwrite.c: Likewise.
6737 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Check
6738 endianness to decide how to pass arguments.
6739 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
6741 * elf/vismain.c: Use test-skeleton interface.
6742 (TEST_FUNCTION): New macro.
6743 (do_test): Renamed from main.
6745 2000-05-27 Ulrich Drepper <drepper@redhat.com>
6747 * sysdeps/posix/getaddrinfo.c (gaih_inet): If req->ai_family ==
6748 AF_UNSPEC don't allow the IPv6 lookup to return mapped IPv4 addresses.
6750 * nss/nss_files/files-hosts.c (LINE_PARSER): Simplify. Correct
6751 handling of AI_V4MAPPED flag.
6753 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname2_r): If lookup
6754 of IPv6 address failed and RES_USE_INET6 bit in _res.options is set,
6755 perform lookup for T_A type and tell getanswer_r to convert the
6756 result with new argument.
6757 (_nss_dns_gethostbyaddr_r): Pass zero as new argument to getanswer_r.
6758 Don't convert addresses from IPv4 to IPv6 here.
6759 (getanswer_r): Take new parameter indicating if mapping from IPv4 to
6760 IPv6 is wanted. Allow qtype and type from reply to disagree if
6761 IPv4 mapping has to be done. Perform mappings if required by the
6762 caller and not if RES_USE_INET6 bit in _res.options is set.
6763 Add several __builtin_expect.
6765 2000-05-26 Ulrich Drepper <drepper@redhat.com>
6767 * catgets/open_catalog.c (__open_catalog): Add a few __builtin_expect.
6769 * elf/dl-load.c (_dl_map_object): Don't ignore RPATHs if loader ==
6772 * posix/tst-preadwrite.c: Allow parallel execution of
6773 tst-preadwrite and tst-preadwrite64.
6775 * posix/Makefile (tests): Add tst-truncate and tst-truncate64.
6776 * posix/tst-truncate.c: New file.
6777 * posix/tst-truncate64.c: New file.
6779 * sysdeps/unix/sysv/linux/pread64.c: The little/big endian code
6782 * posix/Makefile (tests): Add tst-preadwrite64.
6783 * posix/tst-preadwrite.c: Alloc file being used also for testing
6784 pread64 and pwrite64.
6785 * posix/tst-preadwrite64.c: New file.
6787 2000-05-26 Andreas Jaeger <aj@suse.de>
6789 * sysdeps/unix/sysv/linux/ftruncate64.c (ftruncate64): Make order
6790 of arguments dependend on endianness.
6791 * sysdeps/unix/sysv/linux/truncate64.c: Likewise.
6793 * sysdeps/unix/sysv/linux/i386/pread64.c: Removed, we can use the
6795 * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
6796 * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
6797 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
6798 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
6800 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Check
6801 endianness to check how to pass argument.
6802 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
6804 * elf/ldconfig.h: Update parameter list for process_elf_file.
6806 * sysdeps/unix/sysv/linux/sparc/readelflib.c (process_elf_file):
6807 Add parameter file_length and pass it ot process_elf*file.
6809 * sysdeps/generic/readelflib.c (check_ptr): New.
6810 (process_elf_file): Use check_ptr to check all accesses to the
6811 mmapped file. Add parameter file_length.
6813 * elf/readlib.c (known_libs): Use <gnu/lib-names.h> to specify
6816 * sunrpc/xdr_intXX_t.c (xdr_uint8_t): Fix conversion.
6817 Closes PR libc/1573, reported by Bradley White
6818 <bww@laurelnetworks.com>.
6820 2000-05-25 Ulrich Drepper <drepper@redhat.com>
6822 * sysdeps/i386/fpu/bits/mathinline.h: Define expm1 inline only if
6823 __FAST_MATH__ is defined.
6825 2000-05-22 Andreas Jaeger <aj@suse.de>
6827 * math/Makefile: Add -D__FAST_MATH__ to CFLAGS-test-ifloat.c,
6828 CFLAGS-test-idouble.c, CFLAGS-test-ildoubl.c.
6830 * manual/math.texi (FP Function Optimizations): Document gcc
6831 -ffast-math behaviour with mathinlines.
6833 * sysdeps/i386/fpu/bits/mathinline.h: Only use save inline
6834 functions unless -ffast-math is given to gcc.
6836 2000-05-23 Jakub Jelinek <jakub@redhat.com>
6838 * sysdeps/i386/fpu/bits/mathinline.h (__sincos, __sincosf,
6839 __sincosl): Guard with __USE_GNU.
6841 2000-05-24 Ulrich Drepper <drepper@redhat.com>
6843 * csu/Makefile (routines): Add check_fds.
6844 * elf/rtld.c (dl_main): Call __libc_check_standard_fds for SUID
6845 binaries. Add various __builtin_expect.
6846 * sysdeps/generic/libc-start.c: Move check_fds and helper functions...
6847 * sysdeps/generic/check_fds.c: ...here. New file.
6849 * malloc/malloc.c (ptmalloc_init): Only enable debugging for SUID
6850 binaries if file /etc/suid-debug is available.
6852 * locale/programs/ld-collate.c (struct element_t): Add mbseqorder
6853 and wcseqorder members.
6854 (struct locale_collate_t): Likewise.
6855 (collate_finish): Assign collation sequence value to each character.
6856 Create tables for output.
6857 (collate_output): Write out tables with collation sequence information.
6858 * locale/C-collate.c: Provide C locale data for collation sequence
6860 * locale/langinfo.h: Add _NL_COLLATE_COLLSEQMB and
6861 _NL_COLLATE_COLLSEQWC.
6862 * locale/categories.def: Add entries for _NL_COLLATE_COLLSEQMB and
6863 _NL_COLLATE_COLLSEQWC.
6864 * posix/fnmatch.c: Define SUFFIX and WIDE_CHAR_VERSION before
6865 include fnmatch_loop.c.
6866 * posix/fnmatch_loop.c: Don't use strcoll while determining whether
6867 character is matched by range expression. Use collation sequence
6868 table. Outside glibc fall back on simple character value comparison.
6870 2000-05-24 Andreas Jaeger <aj@suse.de>
6872 * sysdeps/mips/elf/start.S (ENTRY_POINT): Align stack for double
6875 * intl/Makefile: Run gettext-test only if msgfmt is available.
6877 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_LDT_WORKS):
6878 Define it for newer kernels.
6880 2000-05-23 Ulrich Drepper <drepper@redhat.com>
6882 * elf/dl-sym.c: Minor cleanups.
6884 * configure.in: Add test for .protected.
6885 * config.make.in: Add have-protected variable.
6886 * elf/Makefile (tests): Add $(tests-vis-$(have-protected)).
6887 (tests-vis-yes): Add vismain.
6888 (modules-names): Add $(modules-vis-$(have-protected)).
6889 (modules-vis-yes): Add vismod1, vismod2, and vismod3.
6890 Add rules to generate and run vismain.
6891 * elf/vismain.c: New file.
6892 * elf/vismod1.c: New file.
6893 * elf/vismod2.c: New file.
6894 * elf/vismod3.c: New file.
6896 2000-05-23 Andreas Jaeger <aj@suse.de>
6898 * stdio-common/tfformat.c (sprint_doubles): Add testcase for %a.
6900 * manual/search.texi (Array Sort Function): Document that qsort is
6901 not necessarily in-place.
6903 * sunrpc/rpc_main.c (parseargs): Don't accept -M and -N.
6904 Closes PR libc/1731.
6906 * csu/munch-tmpl.c (__libc_init): Remove K&R support.
6907 * dirent/scandir64.c: Likewise.
6908 * pwd/getpw.c: Likewise.
6909 * stdlib/bsearch.c (bsearch): Likewise.
6910 * stdlib/tst-strtoll.c: Likewise.
6911 * localedata/collate-test.c: Likewise.
6912 * localedata/xfrm-test.c: Likewise.
6913 * posix/bsd-getpgrp.c: Likewise.
6914 * sysdeps/alpha/fpu/bits/fenv.h: Likewise.
6915 * sysdeps/generic/bits/siginfo.h: Likewise.
6916 * sysdeps/generic/bits/sockaddr.h: Likewise.
6917 * sysdeps/generic/sys/swap.h: Likewise.
6918 * sysdeps/generic/sys/sysinfo.h: Likewise.
6919 * sysdeps/generic/vfork.c: Likewise.
6920 * sysdeps/m68k/fpu/switch/68881-sw.h: Likewise.
6921 * sysdeps/mach/hurd/fdopen.c: Likewise.
6922 * sysdeps/unix/sysv/linux/alpha/sys/acct.h: Likewise.
6923 * sysdeps/unix/sysv/linux/poll.c: Likewise.
6924 * sysdeps/unix/sysv/linux/readv.c: Likewise.
6925 * sysdeps/unix/sysv/linux/writev.c: Likewise.
6926 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
6927 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
6928 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
6930 * misc/tst-dirname.c: Remove K&R support, use ANSI C prototypes.
6931 * shadow/lckpwdf.c: Likewise.
6932 * stdlib/tst-strtol.c: Likewise.
6933 * sysdeps/generic/tcsetattr.c: Likewise.
6934 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
6935 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
6937 2000-05-22 Jakub Jelinek <jakub@redhat.com>
6939 * elf/dl-load.c (_dl_init_paths): If env_path_list has 0 elements,
6940 free it and set to (void *) -1.
6942 2000-05-22 Jakub Jelinek <jakub@redhat.com>
6944 * stdio-common/vfscanf.c (__vfscanf): Remove bogus check if '-' is
6945 not the second character in the range.
6946 * stdio-common/tstscanf.c (main): Add testcase for the above.
6947 Reported by jik@kamens.brookline.ma.us.
6949 2000-05-21 H.J. Lu <hjl@gnu.org>
6951 * elf/do-lookup.h (do_lookup_versioned): Replace reloc_type parameter
6952 with noexec and noplt parameter.
6953 (do_lookup): Likewise.
6955 * elf/dl-lookup.c (_dl_lookup_symbol): Change for new parameters of
6956 do_lookup. Support STV_PROTECTED.
6957 (_dl_lookup_symbol_skip): Likewise.
6958 (_dl_lookup_versioned_symbol): Likewise.
6959 (_dl_lookup_versioned_symbol_skip): Likewise.
6961 * elf/dl-reloc.c (RESOLVE): Check STB_LOCAL instead of ST_VISIBILITY.
6963 * elf/dl-runtime.c (profile_fixup): Fix a typo in comment.
6965 2000-05-21 Jakub Jelinek <jakub@redhat.com>
6967 * sysdeps/arm/bits/huge_val.h: Prereq gcc 2.96+, not 2.95.
6968 * sysdeps/i386/bits/huge_val.h: Likewise.
6969 * sysdeps/ieee754/bits/huge_val.h: Likewise.
6970 * sysdeps/m68k/bits/huge_val.h: Likewise.
6971 * sysdeps/sparc/sparc32/bits/huge_val.h: Likewise.
6972 * sysdeps/sparc/sparc64/bits/huge_val.h: Likewise.
6974 2000-05-22 Andreas Jaeger <aj@suse.de>
6976 * iconv/tst-iconv1.c (main): Remove const from inbuf to follow
6979 2000-05-19 Andreas Jaeger <aj@suse.de>
6981 * sysdeps/unix/sysv/linux/i386/i686/sysdep.h
6982 (SYSCALL_ERROR_HANDLER): Remove unneeded syscall_error which
6983 breaks compilation without linuxthreads.
6985 2000-05-21 Ulrich Drepper <drepper@redhat.com>
6987 * sysdeps/ia64/memccpy.S: New file.
6988 * sysdeps/ia64/memchr.S: New file.
6989 * sysdeps/ia64/memcmp.S: New file.
6990 * sysdeps/ia64/memcpy.S: New file.
6991 * sysdeps/ia64/memmove.S: New file.
6992 * sysdeps/ia64/memset.S: New file.
6993 * sysdeps/ia64/strcat.S: New file.
6994 * sysdeps/ia64/strchr.S: New file.
6995 * sysdeps/ia64/strcmp.S: New file.
6996 * sysdeps/ia64/strcpy.S: New file.
6997 * sysdeps/ia64/strlen.S: New file.
6998 * sysdeps/ia64/strncmp.S: New file.
6999 * sysdeps/ia64/strncpy.S: New file.
7000 * sysdeps/ia64/softpipe.h: New file.
7001 Patches by Dan Pop <Dan.Pop@cern.ch>.
7003 * manual/memory.texi: Document memory handling functions (mlock,
7004 munlock, mlockall, munlockall, brk, and sbrk)
7005 * manual/time.texi: Document timespec and friends.
7006 * manual/conf.texi: Fix references.
7007 * manual/ctype.texi: Likewise.
7008 * manual/errno.texi: Likewise.
7009 * manual/intro.texi: Likewise.
7010 * manual/locale.texi: Likewise.
7011 * manual/sysinfo.texi: Likewise.
7012 Patches by Bryan Henderson <bryanh@giraffe-data.com>.
7014 2000-05-09 Jes Sorensen <jes@linuxcare.com>
7016 * sysdeps/ia64/dl-machine.h: Move DL_SYMBOL_ADDRESS definition to...
7017 * sysdeps/ia64/dl-lookupcfg.h: ...here.
7019 2000-05-21 Jakub Jelinek <jakub@redhat.com>
7021 * sysdeps/unix/sysv/linux/scsi/sg.h (sg_io_hdr_t): Remove duplicate
7024 2000-05-21 Ulrich Drepper <drepper@redhat.com>
7026 * locale/locale.h (struct lconv): Add new elements from ISO C99.
7027 * locale/localeconv.c: Initialize new elements from ISO C99.
7028 * locale/langinfo.h: Remove _NL_MONETARY prefix from descriptors for
7029 new standard elements.
7030 * locale/categories.def: Adjust accordingly.
7032 * iconv/iconv.h (iconv): Remove const from inbuf parameter.
7033 * iconv/iconv.c: Likewise.
7034 * conform/data/iconv.h-data: Likewise.
7035 * iconv/iconv_prog.c (process_block): Remove const from second
7037 (main): Remove const from addr definition.
7038 * manual/charset.texi (Generic Conversion Interface): Remove from
7039 inbuf parameter of iconv.
7041 * intl/dcigettext.c: Fix typo in comment.
7043 2000-05-20 2000 H.J. Lu <hjl@gnu.org>
7045 * resolv/res_libc.c (_res): Initialize _sock to -1.
7047 2000-05-18 Jakub Jelinek <jakub@redhat.com>
7049 * libio/iofopncook.c (_IO_fopencookie): Renamed from fopencookie.
7050 (fopencookie@@GLIBC_2.2): New.
7051 (_IO_old_cookie_seek, _IO_old_fopencookie, _IO_old_cookie_jumps): New.
7052 (fopencookie@GLIBC_2.0): New.
7053 * libio/Versions: Add fopencookie to GLIBC_2.2.
7055 2000-05-18 Andreas Jaeger <aj@suse.de>
7057 * sunrpc/rpc_main.c (parseargs): Don't accept -M and -N.
7058 Closes PR libc/1731.
7060 * manual/arith.texi (Parsing of Integers): Fix typo.
7061 Closes PR libc/1744, reported by blp@gnu.org.
7063 2000-05-17 Jakub Jelinek <jakub@redhat.com>
7065 * sysdeps/arm/bits/huge_val.h (HUGE_VAL, HUGE_VALF): Add
7066 __extension__ to hexadecimal floating constant notation.
7067 * sysdeps/i386/bits/huge_val.h (HUGE_VAL, HUGE_VALF, HUGE_VALL):
7069 * sysdeps/ieee754/bits/huge_val.h (HUGE_VAL, HUGE_VALF): Likewise.
7070 * sysdeps/m68k/bits/huge_val.h (HUGE_VAL, HUGE_VALF, HUGE_VALL):
7072 * sysdeps/sparc/sparc64/bits/huge_val.h (HUGE_VAL, HUGE_VALF,
7073 HUGE_VALL): Likewise.
7074 * sysdeps/sparc/sparc32/bits/huge_val.h (HUGE_VAL, HUGE_VALF,
7075 HUGE_VALL): Likewise.
7076 (HUGE_VALL): Set to HUGE_VAL on sparc32.
7078 2000-05-17 Andreas Jaeger <aj@suse.de>
7080 * string/envz.h: Add pure attributes if possible.
7082 * string/argz.h: argz_count is a pure function.
7084 * string/strings.h: Add pure and const attributes if possible.
7086 * sysdeps/generic/memmem.c (memmem): Check arguments to avoid
7087 possibly searching through the whole memory.
7088 Closes PR libc/1730, reported by Greg Hudson <ghudson@mit.edu>.
7090 2000-05-17 Jakub Jelinek <jakub@redhat.com>
7092 * sysdeps/generic/dl-cache.h (_DL_CACHE_DEFAULT_ID): Only define if
7094 (_dl_cache_check_flags): Likewise.
7095 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-cache.h: include_next
7098 2000-05-17 Andreas Jaeger <aj@suse.de>
7100 * manual/creature.texi (Feature Test Macros): Remove paragraph
7101 since the description is wrong.
7102 Closes PR libc/1691, reported by Geoff Clare <gwc@unisoft.com>.
7104 * scripts/config.sub: New version.
7105 * scripts/config.guess: Likewise.
7106 * manual/texinfo.tex: Likewise.
7108 * time/test_time.args: Removed.
7109 * time/Makefile (test_time-ARGS): Added contents here instead.
7111 * posix/tstgetopt.args: Removed.
7112 * posix/Makefile (tstgetopt-ARGS): Added contents here instead.
7114 * Rules: Allow arguments for test files to be specified in
7115 Makefile with testname-ARGS; remove rules with .args in it.
7117 * dirent/Makefile (opendir-tst1-ARGS): Use this for opendir-tst1,
7118 remove old bogus rule for opendir-tst1.args.
7120 * stdlib/test-canon.c: Rewrite to use test-skeleton.c.
7122 * stdlib/Makefile (test-canon-ARGS): New, supply argument to chdir
7123 into objdir. This allows a readonly sourcetree.
7124 Reported by lrgallardo@yahoo.com, closes PR libc/1421.
7126 2000-05-16 Andreas Jaeger <aj@suse.de>,
7127 David Huggins-Daines <dhd@linuxcare.com>
7129 * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Set
7130 cache_data in case of only new cache format correctly.
7132 * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Align struct
7135 * sysdeps/generic/dl-cache.h (ALIGN_CACHE): New macro to align
7136 struct cache_file_new.
7138 * elf/cache.c (save_cache): Fix str_offset if only new cache is
7141 * elf/cache.c (save_cache): Align struct new_file_cache.
7142 (print_cache): Likewise.
7144 2000-05-13 Jakub Jelinek <jakub@redhat.com>
7146 * elf/soinit.c (__libc_global_ctors): Move
7147 __pthread_initialize_minimal call out of HAVE_DWARF2_* defines.
7148 * resolv/resolv.h (__res_state): Added __attribute__((const)).
7149 (_res): If __RES_PTHREAD_INTERNAL is defined, declare it as
7150 variable, don't define it to __res_state call.
7152 2000-05-13 Andreas Jaeger <aj@suse.de>
7154 * sysdeps/unix/sysv/linux/bits/socket.h (PF_PPPOX): New, from
7156 (AF_PPPOX): Likewise.
7157 * sysdeps/unix/sysv/linux/mips/bits/socket.h (PF_PPPOX): Likewise.
7158 (AF_PPPOX): Likewise.
7160 2000-05-12 Andreas Jaeger <aj@suse.de>
7162 * inet/netinet/in.h (IN6_ARE_ADDR_EQUAL): Correct indices.
7163 Reported by tmoestl@gmx.net, closes PR libc/1732.
7165 2000-05-11 Jan Hubicka <jh@suse.cz>
7167 * misc/sys/cdefs.h: Add support for pure attribute.
7169 * include/string.h: Add __attribute_pure__ to various functions.
7170 * string/string.h: Likewise.
7172 2000-05-10 Jakub Jelinek <jakub@redhat.com>
7174 * elf/dl-reloc.c (_dl_reloc_bad_type): Sync messages with plt
7176 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
7178 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: New file.
7180 2000-05-10 Jakub Jelinek <jakub@redhat.com>
7182 * elf/dl-reloc.c (_dl_reloc_bad_type): Write type into the message
7183 at proper place. Compute the high nibble correctly.
7185 2000-05-09 Jakub Jelinek <jakub@redhat.com>
7187 * elf/ldconfig.c: Include elf.h.
7189 * elf/dl-sym.c (_dl_sym): Test ref not result for non-zero.
7190 (_dl_vsym): Likewise.
7191 Reported by Owen Taylor <otaylor@redhat.com>.
7193 * elf/dl-deps.c (_dl_map_object_deps): Zero terminate L->l_initfini
7196 2000-05-08 Andreas Jaeger <aj@suse.de>
7198 * include/libintl.h: Add prototype for __bind_textdomain_codeset.
7200 * intl/bindtextdom.c (set_binding_values): Add prototype.
7202 2000-05-08 Jakub Jelinek <jakub@redhat.com>
7204 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Fix arguments in
7205 call to elf_machine_fixup_plt.
7206 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
7207 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
7209 2000-05-08 Jakub Jelinek <jakub@redhat.com>
7211 * elf/dl-fini.c (_dl_fini): Bump l_opencount of all objects so that
7212 they are not dlclose'd from underneath us.
7214 2000-05-08 Andreas Schwab <schwab@suse.de>
7216 * posix/execle.c: Fix size parameter of memcpy.
7218 2000-05-08 Andreas Schwab <schwab@suse.de>
7220 * sysdeps/unix/sysv/linux/m68k/getpagesize.c: New file. Use
7221 getpagesize syscall if available.
7223 2000-05-08 Andreas Jaeger <aj@suse.de>
7225 * sysdeps/generic/lockf64.c (lockf64): Return -1 for overflow and
7228 2000-05-08 Jakub Jelinek <jakub@redhat.com>
7230 * elf/dl-lookup.c (add_dependency): Reallocate l_reldeps in
7231 sizeof(struct link_map *) chunks, not in bytes.
7233 2000-05-07 Ulrich Drepper <drepper@redhat.com>
7235 * locale/Makefile (locale-CPPFLAGS): Renamed from CPPFLAGS. It's
7236 only needed for locale.
7237 * catgets/Makefile (catgets-CPPFLAGS): Renamed from CPPFLAGS.
7238 It's only needed for catgets.
7239 Patches by Greg McGary <gkm@eng.ascend.com>.
7241 2000-05-07 Mark Kettenis <kettenis@gnu.org>
7243 * nss/nss_db/db-open.c: Cleanup and add comments. Pretty print.
7244 Remove duplicate <errno.h> include. Remove inclusion of
7245 <libintl.h> and "nsswitch.h".
7246 (set_cloexec_flag): New function, broken out of dbopen.
7247 (dbopen): Changed return type to `enum
7248 nss_status'. Mostly rewritten to make sure that we do not report
7249 NSS_STATUS_SUCCESS if something went wrong. Remove unnecessary casts.
7250 (internal_setent): Change return type to nss_status.
7251 Document, and make sure that the function
7252 behaves accordingly. Make dynamically loading the database
7253 library really thread-safe and return NSS_STATUS_UNAVAIL if it
7255 (db_cursor): Return ENOMEM is memory allocation failed. Remove
7257 * nss/nss_db/dummy-db.h: Add copyright notice. Improve
7259 (struct dbc24, struct dbc27): Use DBT type in parameter lists for
7260 c_get function member.
7261 * nss/nss_db/nss_db.h: Add and tweak some comments.
7262 (DBT): Move typedef before NSS_DBC typedef.
7263 (NSS_DBC, NSS_DB): Use DBT in function member parameter lists.
7265 2000-05-07 H.J. Lu <hjl@gnu.org>
7267 * csu/initfini.c: Moved to ....
7268 * sysdeps/generic/initfini.c: ...here.
7270 * csu/Makefile (initfini.c): Set vpath to $(full_config_sysdirs).
7272 2000-05-07 Ulrich Drepper <drepper@redhat.com>
7274 * manual/resource.texi: Document POSIX scheduling functions.
7275 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
7277 * inet/rcmd.c (rcmd_af): errno is not set if read returns without
7278 reading anything. Reported by Andries.Brouwer@cwi.nl.
7280 * sysdeps/generic/memccpy.c (__memccpy): Don't use reg_char type
7281 for x since promotion in comparison might leads to unexpected
7282 results. Reported by Dan Pop <Dan.Pop@cern.ch>.
7284 * iconv/Makefile (tests): Add tst-iconv1.
7285 * iconv/tst-iconv1.c: New file.
7286 * iconv/gconv_simple.c (internal_ucs4_loop): Prefer reporting
7287 empty input buffer over full output buffer.
7288 (ucs4_internal_loop): Likewise.
7289 (ucs4_internal_loop_unaligned): Likewise.
7290 (internal_ucs4le_loop): Likewise.
7291 (internal_ucs4le_loop_unaligned): Likewise.
7292 (ucs4le_internal_loop): Likewise.
7293 (ucs4le_internal_loop_unaligned): Likewise.
7294 Reported by yaoz@nih.gov.
7296 2000-05-06 Bruno Haible <haible@clisp.cons.org>
7298 * iconv/gconv_open.c (__gconv_open): If __gconv_find_transform
7299 returned != __GCONV_OK, there is nothing to clean up.
7301 2000-05-06 Bruno Haible <haible@clisp.cons.org>
7303 * intl/tst-gettext.c (main): Disable possibly existing LC_CTYPE and
7304 OUTPUT_CHARSET environment variables.
7306 2000-05-06 Andreas Jaeger <aj@suse.de>
7308 * sysdeps/generic/dl-cache.h (struct file_entry_new): New.
7309 (struct cache_file_new): New.
7310 (struct file_entry): New (moved from cache.c).
7311 (struct cache_file): New (moved from cache.c).
7313 * sysdeps/generic/dl-cache.c (SEARCH_CACHE): New macro, broken out
7314 from _dl_load_cache_lookup.
7315 (_dl_load_cache_lookup): Move search to SEARCH_CACHE macro, handle
7316 the different cache formats.
7317 New variable cache_new for new format.
7319 * elf/ldconfig.h: Change according to changes in cache.c and
7320 ldconfig.c; remove cache_libcmp; add opt_format.
7322 * elf/ldconfig.c: Include "dl-cache.h" and "dl-procinfo.h"; remove
7323 stuff that's defined in those headers.
7324 Add hwcap to struct lib_entry.
7325 (opt_format): New variable to select cache format.
7326 (options): Add format parameter.
7327 (is_hwcap): New function.
7328 (path_hwcap): New function.
7329 (parse_opt): Handle new format parameter.
7330 (search_dir): Handle hwcap, search also subdirectories with hwcap.
7332 * elf/cache.c (_GNU_SOURCE): Removed. Not needed anymore since
7333 ldconfig is part of glibc.
7334 Include dl-cache.h and remove stuff that's defined there.
7335 (struct cache_entry): Add new member hwcap.
7336 (print_entry): Print hwcap, cleanup a bit.
7337 (print_cache): Print new and old formats.
7338 (compare): Use _dl_cache_libcmp from dl-cache.h; handle hwcap.
7339 (save_cache): Save new and old formats.
7340 (add_to_cache): Handle hwcap.
7342 * sysdeps/generic/dl-cache.c (_dl_cache_libcmp): Moved from here...
7343 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): ...to here.
7344 * sysdeps/generic/dl-cache.c (LD_SO_CACHE): Moved from here...
7345 * sysdeps/generic/dl-cache.h (LD_SO_CACHE): ...to here.
7346 * sysdeps/generic/dl-cache.c (CACHEMAGIC): Moved from here...
7347 * sysdeps/generic/dl-cache.h (CACHEMAGIC): ...to here.
7349 2000-05-05 Bruno Haible <haible@clisp.cons.org>
7351 * intl/dcigettext.c (alignof): New macro.
7352 (_nl_find_msg): Use it instead of __alignof__. Pass correct output
7353 buffer length to __gconv/iconv. If malloc (freemem_size) fails, set
7356 2000-05-05 Bruno Haible <haible@clisp.cons.org>
7358 * intl/dcigettext.c (dcigettext): Fix interpretation of tsearch
7361 2000-05-06 Ulrich Drepper <drepper@redhat.com>
7363 * intl/dcigettext.c (DCIGETTEXT): Always define local variable `index'.
7364 (mempcpy): Correct typo is parameter list.
7366 2000-05-06 Andreas Jaeger <aj@suse.de>
7368 * sysdeps/i386/fpu/bits/mathinline.h: Disable some inline
7369 functions unless -ffast-math is given to gcc.
7371 2000-05-06 Ulrich Drepper <drepper@redhat.com>
7373 * po/ko.po: Update from translation team.
7375 2000-05-05 Ulrich Drepper <drepper@redhat.com>
7377 * sysdeps/unix/sysv/aix/linux/errnoconv.c: Moved to...
7378 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: ...here.
7379 * sysdeps/unix/sysv/aix/linux/statconv.c: Moved to...
7380 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: ...here.
7381 * sysdeps/unix/sysv/aix/linux/direntconv.c: Moved to...
7382 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: ...here.
7384 * sysdeps/unix/sysv/aix/linux/linux-errno.h: Removed.
7385 * sysdeps/unix/sysv/aix/linux/linux-stat.h: Removed
7386 * sysdeps/unix/sysv/aix/linux/linux-dirent.h: Removed.
7388 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: New file.
7389 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: New file.
7390 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: New file.
7391 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: New file.
7393 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: New file.
7394 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: New file.
7396 2000-05-05 Jes Sorensen <jes@linuxcare.com>
7398 * sysdeps/unix/sysv/linux/ia64/sysdep.h: New file.
7399 * sysdeps/unix/sysv/linux/ia64/syscall.S: New file.
7401 * sysdeps/unix/sysv/linux/ia64/bits/types.h: New file.
7402 * sysdeps/unix/sysv/linux/ia64/bits/endian.h: New file.
7404 * sysdeps/ia64/Implies: New file.
7405 * sysdeps/ia64/Versions: New file. Declare _dl_symbol_address.
7406 * sysdeps/ia64/Makefile: New file.
7407 * sysdeps/ia64/gmp-mparam.h: New file,
7409 * sysdeps/ia64/elf/start.S: New file.
7411 * sysdeps/ia64/bits/fenv.h: New file.
7413 2000-05-05 David Mosberger-Tang <davidm@hpl.hp.com>
7415 * sysdeps/unix/sysv/linux/ia64/sysdep.S: New file.
7417 2000-04-26 Jes Sorensen <Jes.Sorensen@cern.ch>
7419 * sysdeps/unix/sysv/linux/ia64/bits/elfclass.h: New file. The
7420 ia64 has 64 bit .hash entries just as the Alpha.
7422 2000-04-25 Jes Sorensen <Jes.Sorensen@cern.ch>
7424 * sysdeps/ia64/memprof.h: New file. Provide GETSP() macro.
7426 2000-04-17 Jes Sorensen <Jes.Sorensen@cern.ch>
7428 * sysdeps/ia64/fpu/fclrexcpt.c: New file.
7429 * sysdeps/ia64/fpu/fedisblxcpt.c: New file.
7430 * sysdeps/ia64/fpu/feenablxcpt.c: New file.
7431 * sysdeps/ia64/fpu/fegetenv.c: New file.
7432 * sysdeps/ia64/fpu/fegetexcept.c: New file.
7433 * sysdeps/ia64/fpu/fegetround.c: New file.
7434 * sysdeps/ia64/fpu/feholdexcpt.c: New file.
7435 * sysdeps/ia64/fpu/fesetenv.c: New file.
7436 * sysdeps/ia64/fpu/fesetround.c: New file.
7437 * sysdeps/ia64/fpu/feupdateenv.c: New file.
7438 * sysdeps/ia64/fpu/fgetexcptflg.c: New file.
7439 * sysdeps/ia64/fpu/fraiseexcpt.c: New file.
7440 * sysdeps/ia64/fpu/fsetexcptflg.c: New file.
7441 * sysdeps/ia64/fpu/ftestexcept.c: New file.
7443 2000-05-05 Andreas Jaeger <aj@suse.de>
7445 * misc/tst-tsearch.c (main): Correct type for initstate argument.
7447 * sysdeps/generic/dl-procinfo.h (_DL_HWCAP_COUNT): New.
7448 (_dl_string_hwcap): New, does nothing.
7450 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (_DL_HWCAP_COUNT): New.
7451 (_dl_procinfo): Use _DL_HWCAP_COUNT instead of a constant.
7452 (_dl_string_hwcap): New function, converts from string to hwcap
7454 * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h
7455 (_DL_HWCAP_COUNT): New.
7456 (_dl_procinfo): Use _DL_HWCAP_COUNT instead of a constant.
7457 (_dl_string_hwcap): New function, converts from string to hwcap
7459 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h
7460 (_DL_HWCAP_COUNT): New.
7461 (_dl_procinfo): Use _DL_HWCAP_COUNT instead of a constant.
7462 (_dl_string_hwcap): New function, converts from string to hwcap
7465 2000-05-05 Ulrich Drepper <drepper@redhat.com>
7467 * elf/Makefile (distribute): Add dl-lookupcfg.h.
7468 * sysdeps/ia64/Dist: New file.
7470 * elf/dl-load.c (_dl_map_object_from_fd): Little of computation of
7471 parameter to mprotect and for variable assignments.
7473 2000-05-03 Jes Sorensen <jes@linuxcare.com>
7475 * sysdeps/generic/ldsodefs.h (LOOKUP_VALUE_ADDRESS): Check the
7476 validity of map before dereferencing it.
7478 * elf/dl-reloc.c (RESOLVE_MAP): Define.
7480 2000-05-02 Jes Sorensen <jes@linuxcare.com>
7482 * elf/dl-runtime.c (fixup): Add the value returned in the symbol
7483 lookup to the arguments to elf_machine_fixup_plt().
7485 * sysdeps/ia64/dl-machine.h (elf_machine_fixup_plt): Add Link_map
7486 of the symbol being resolved to input argument list and make the
7487 function return the pointer to the reloc.
7489 * sysdeps/alpha/dl-machine.h (elf_machine_fixup_plt): Change
7490 return valuie to lookup_t and return the value.
7491 * sysdeps/arm/dl-machine.h (elf_machine_fixup_plt): Likewise.
7492 * sysdeps/generic/dl-machine.h (elf_machine_fixup_plt): Likewise.
7493 * sysdeps/i386/dl-machine.h (elf_machine_fixup_plt): Likewise.
7494 * sysdeps/m68k/dl-machine.h (elf_machine_fixup_plt): Likewise.
7495 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_fixup_plt): Likewise.
7496 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_fixup_plt): Likewise.
7498 * sysdeps/powerpc/dl-machine.h (elf_machine_fixup_plt): Likewise.
7499 Make it an inline function returning value after calling
7500 __elf_machine_fixup_plt().
7502 * elf/dl-sym.c (_dl_vsym): Use DL_SYMBOL_ADDRESS() to obtain the
7505 * elf/dl-symbol.c (_dl_symbol_value): Use LOOKUP_VALUE_ADDRESS to
7506 obtain the symbol address.
7508 * sysdeps/generic/ldsodefs.h: Add generic DL_SYMBOL_ADDRESS() macro
7509 depending on the definition of ELF_FUNCTION_PTR_IS_SPECIAL.
7511 * sysdeps/ia64/dl-machine.h: Add DL_SYMBOL_ADDRESS() macro calling
7512 _dl_symbol_address() - this way DL_SYMBOL_ADDRESS() turns into an
7515 2000-04-28 Jes Sorensen <jes@linuxcare.com>
7517 * elf/dl-runtime.c (fixup): Use the portable macros to get the
7518 symbol address of an object.
7520 * elf/dl-runtime.c (fixup-profile): Use the portable macros to get
7521 the symbol address of an object.
7523 * elf/dl-libc.c (struct do_dlsym_args): Change loadbase to a lookup_t.
7524 * elf/dl-lookup.c (_dl_lookup_symbol): Likewise.
7525 (_dl_lookup_symbol_skip): Likewise.
7526 (_dl_lookup_versioned_symbol): Likewise.
7527 (_dl_lookup_versioned_symbol_skip): Likewise.
7529 2000-04-27 Jes Sorensen <jes@linuxcare.com>
7531 * elf/rtld.c (_dl_start): Get the function pointer return address
7532 via _dl_start_address for architectures that need a function
7533 pointer descriptor rather than just a pointer (ia64).
7535 * sysdeps/generic/dl-lookupcfg.h: New file.
7536 * sysdeps/ia64/dl-lookupcfg.h: New file.
7537 * sysdeps/ia64/dl-machine.h: New file.
7538 * sysdeps/ia64/dl-symaddr.c: New file.
7539 * sysdeps/ia64/dl-fptr.c: New file.
7541 * elf/elf.h: Add IA-64 specific definitions.
7543 2000-05-04 Jakub Jelinek <jakub@redhat.com>
7545 * sysdeps/generic/bits/confname.h (_SC* enum): Avoid comma at the
7548 2000-05-04 Jakub Jelinek <jakub@redhat.com>
7550 * iconv/gconv.h (__gconv_t): Add __extension__ to make gcc -pedantic
7553 2000-04-11 Geoff Keating <geoffk@cygnus.com>
7555 * sysdeps/powerpc/dl-start.S (_dl_start): Add _dl_start_user
7556 symbol. Call _dl_init rather than the old way.
7558 2000-05-04 Ulrich Drepper <drepper@redhat.com>
7560 * elf/dl-open.c (dl_open_worker): Use l_map_start and l_map_end to
7561 test for pointer in range of DSO address space.
7563 2000-05-04 Andreas Jaeger <aj@suse.de>
7565 * nscd/pwdcache.c (addpwbyname): Initialize oldeuid to silence GCC.
7567 2000-05-03 Ulrich Drepper <drepper@redhat.com>
7569 * locale/findlocale.c (_nl_find_locale): Add new parameter to
7570 calls of _nl_make_l10nflist.
7572 * libio/stdio.h: Make fseeko and ftello prototypes available is
7573 __USE_LARGEFILE. Patch by Paul Eggert <eggert@twinsun.com>.
7575 * sysdeps/generic/dl-environ.c (unsetenv): Follow change to the
7576 real unsetenv implementation from 1999-07-29 [PR libc/1714].
7578 2000-05-03 Bruno Haible <haible@clisp.cons.org>
7580 * intl/dcigettext.c (dcigettext): Do the defaulting of 'domainname'
7581 before calling tfind.
7583 2000-03-05 Jakub Jelinek <jakub@redhat.com>
7585 * resolv/resolv.h (res_querydomain): Remove redefinition to
7586 __res_querydomain (reported by Owen Taylor <otaylor@redhat.com>).
7588 2000-05-03 Ulrich Drepper <drepper@redhat.com>
7590 * po/gl.po: Update from translation team.
7592 * manual/intro.texi (Program Basics): Change section title.
7593 * manual/process.texi: Fix reference.
7594 (Executing a File): Add reference exec in other section.
7595 * manual/signal.texi: Fix reference.
7596 * manual/startup.texi: Document syscall function.
7597 Patches by Bryan Henderson <bryanh@giraffe-data.com>.
7599 2000-04-29 Bruno Haible <haible@clisp.cons.org>
7601 * intl/libintl.h (bind_textdomain_codeset): New declaration.
7602 * intl/bindtextdom.c (set_binding_values): New function.
7603 (bindtextdomain): Call it.
7604 (bind_textdomain_codeset): New function.
7605 * intl/dcigettext.c (dcigettext): Pass binding to _nl_find_domain.
7606 (free_mem): Free each binding's codeset.
7607 * intl/gettextP.h (struct binding): Add codeset field.
7608 (_nl_find_domain): Add domainbinding argument.
7609 * intl/finddomain.c (_nl_find_domain): Add domainbinding argument.
7610 Pass it to _nl_make_l10nflist.
7611 * intl/loadinfo.h (struct loaded_l10nfile): Add domainbinding field.
7612 (_nl_make_l10nflist): Add domainbinding argument.
7613 * intl/l10nflist.c (_nl_make_l10nflist): Add domainbinding argument.
7614 * intl/loadmsgcat.c (_nl_load_domain): Look at the domainbinding's
7615 codeset when determining outcharset. If !_LIBC && HAVE_ICONV, call
7617 * manual/message.texi: New node "Charset conversion in gettext".
7619 2000-04-30 Bruno Haible <haible@clisp.cons.org>
7621 * catgets/open_catalog.c (__open_catalog): Use __builtin_expect where
7622 appropriate. Handle possible __read error.
7624 2000-04-29 Bruno Haible <haible@clisp.cons.org>
7626 * intl/gettextP.h (__builtin_expect): Define as empty if not a
7628 * intl/loadinfo.h (__builtin_expect): Likewise.
7629 * intl/dcigettext.c (dcigettext, _nl_find_msg): Use
7630 __builtin_expect where appropriate.
7631 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
7632 * intl/localealias.c (extend_alias_table): Return an error indicator.
7633 (read_alias_file): Bail out if extend_alias_table fails.
7635 2000-04-29 Bruno Haible <haible@clisp.cons.org>
7637 * intl/loadmsgcat.c: Define _GNU_SOURCE as early as possible.
7638 * intl/localealias.c: Likewise.
7640 2000-05-01 Bruno Haible <haible@clisp.cons.org>
7642 * intl/loadmsgcat.c (_nl_load_domain): Initialize domain->conv_tab.
7643 Initialize domain->plural and domain->nplurals even if there is no
7646 2000-05-01 Bruno Haible <haible@clisp.cons.org>
7648 * intl/dcigettext.c (_nl_find_msg): Terminate __gconv loop if return
7649 value is == __GCONV_OK or == __GCONV_EMPTY_INPUT, not != __GCONV_OK.
7650 In case of failure, goto converted.
7652 2000-05-01 Bruno Haible <haible@clisp.cons.org>
7654 * wcsmbs/wcsmbsload.c (norm_add_slashes): Move away.
7655 * iconv/gconv_int.h (norm_add_slashes): Move to here.
7656 * intl/loadmsgcat.c (_nl_load_domain): Normalize strings passed to
7659 2000-04-29 Bruno Haible <haible@clisp.cons.org>
7661 * intl/dcigettext.c (transcmp): Compare the domains as well.
7662 (dcigettext): Call strlen (msgid1) after testing msgid1 against NULL,
7664 * intl/loadmsgcat.c (_nl_load_domain): Deal with EINTR. Include
7667 2000-05-03 Ulrich Drepper <drepper@redhat.com>
7669 * string/bits/string2.h: Declare __strdup and __strndup if necessary.
7670 Reported by Bruno Haible.
7672 2000-04-29 Bruno Haible <haible@clisp.cons.org>
7674 * manual/arith.texi: Remove @w from @itemize.
7676 2000-05-02 Andreas Jaeger <aj@suse.de>
7678 * conform/data/tar.h-data: Add some checks for specific values.
7680 * conform/data/stdlib.h-data: Add checks for value of EXIT_SUCCESS
7683 * conform/data/stdio.h-data: Add checks for value of TMP_MAX and
7686 * conform/data/netinet/in.h-data: Add exact checks for the values
7687 fo INET_ADDRSTRLEN and INET6_ADDRSTRLEN.
7689 * conform/data/float.h-data: Add some minimal values.
7691 * conform/conformtest.pl: Test for macros with string constants,
7692 check for minimum and maximum values.
7693 Add limits.h to headers.
7695 * conform/data/cpio.h-data: Test for value of MAGIC.
7697 * conform/data/limits.h-data: New file.
7699 2000-04-30 Bruno Haible <haible@clisp.cons.org>
7701 * math/Makefile (headers): Add bits/fenvinline.h.
7703 2000-05-01 Ulrich Drepper <drepper@redhat.com>
7705 * sysdeps/unix/sysv/aix/linux/linux-dirent.h: New file.
7706 * sysdeps/unix/sysv/aix/linux/direntconv.c: New file.
7708 * posix/Versions: Change posix_spawnattr_getdefault and
7709 posix_spawnattr_setdefault to posix_spawnattr_getsigdefault
7710 and posix_spawnattr_setsigdefault respectively.
7711 * posix/spawn.h: Likewise.
7712 * posix/spawnattr_getdefault.h: Likewise.
7713 * posix/spawnattr_setdefault.h: Likewise.
7714 * conform/data/spawn.h-data: Likewise.
7716 2000-05-01 Andreas Jaeger <aj@suse.de>
7718 * nscd/nscd.c: Include <grp.h> for setgroups prototype.
7720 2000-04-30 Ulrich Drepper <drepper@redhat.com>
7722 * manual/sysinfo.texi: Document getdomainname, setdomainname
7724 * manual/string.texi: Fix typo.
7725 * manual/terminal.texi: Document gtty and stty.
7726 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
7728 2000-04-30 Andreas Jaeger <aj@suse.de>
7730 * posix/bits/posix1_lim.h (_POSIX_PATH_MAX): Increase to 256 in
7731 accordance with Austin Draft.
7733 2000-04-30 Ulrich Drepper <drepper@redhat.com>
7735 * catgets/gencat.c (read_input_file): Use isblank and not isspace
7736 to recognize second character in comment line.
7738 * sysdeps/unix/sysv/linux/if_index.c (if_nameindex): Set errno to
7739 ENOBUFS if we are out of memory.
7741 * sysdeps/generic/bits/fcntl.h (F_SETOWN, F_GETOWN): Make
7742 available if __USE_XOPEN2K.
7743 * sysdeps/mach/hurd/bits/fcntl.h: Likewise.
7744 * sysdeps/unix/common/bits/fcntl.h: Likewise.
7745 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Likewise.
7746 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
7747 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
7748 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
7749 * sysdeps/unix/sysv/aix/bits/fcntl.h: Likewise.
7750 * sysdeps/unix/sysv/linux/bits/fcntl.h: Likewise.
7752 2000-04-29 Ulrich Drepper <drepper@redhat.com>
7754 * iconv/iconv_prog.c (main): Handle input file name "-" correctly.
7755 Recognize option -s, -c, and -l.
7757 2000-04-20 Thorsten Kukuk <kukuk@suse.de>
7759 * nscd/nscd.c: Start new session for nscd, drop privilegs
7760 to configured user if requested and no -S parameter are used.
7761 * nscd/nscd.conf: Add new option "server-user".
7762 * nscd/nscd_conf.c: Add support for new "server-user" option.
7763 * nscd/nscd.h: Add declaration for server_user variable.
7764 Based on patch by Chris Wing <wingc@engin.umich.edu>
7766 2000-04-29 Mark Kettenis <kettenis@gnu.org>
7768 * sysdeps/unix/sysv/linux/i386/sigaction.c: Add comment explaining
7769 that changing the __restore and __restore_rt signal return code
7772 2000-04-29 Mark Kettenis <kettenis@gnu.org>
7774 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Do not include
7777 2000-04-29 Mark Kettenis <kettenis@gnu.org>
7779 * conform/data/ucontext.h-data: Allow ss_* instead of SS_*.
7781 2000-04-29 Ulrich Drepper <drepper@redhat.com>
7783 * conform/conformtest.pl (@headers): Add sys/utsname.h, sys/un.h,
7784 sys/socket.h, spawn.h, netinet/tcp.h, netinet/in.h, net/if.h, and
7786 * conform/data/fcntl.h-data: Add F_GETOWN, F_SETOWN,
7787 SEEK_SET, SEEK_CUR, SEEK_END, S_IFMT, S_IFBLK, S_IFCHR, S_IFIFO,
7788 S_IFREG, S_IFDIR, S_IFLNK, S_IFSOCK, S_IRWXU, S_IRUSR S_IWUSR,
7789 S_IXUSR, S_IRWXG, S_IRGRP, S_IWGRP, S_IXGRP, S_IRWXO, S_IROTH,
7790 S_IWOTH, S_IXOTH, S_ISUID, S_ISGID, S_ISVTX, POSIX_FADV_NORMAL,
7791 POSIX_FADV_SEQUENTIAL, POSIX_FADV_RANDOM, POSIX_FADV_WILLNEED,
7792 POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE, posix_fadvise,
7793 posix_fallocate, and posix_madvise.
7794 * conform/data/netdb.h-data: New file.
7795 * conform/data/pthread.h-data: Add pthread_barrier_t,
7796 pthread_barrierattr_t, pthread_barrier_destroy,
7797 pthread_barrier_init, pthread_barrier_wait,
7798 pthread_barrierattr_destroy, pthread_barrierattr_getpshared,
7799 pthread_barrierattr_init, pthread_barrierattr_setpshared,
7800 pthread_condattr_getclock, pthread_condattr_setclock,
7801 pthread_getcpuclockid, pthread_mutex_timedlock,
7802 pthread_rwlock_timedrdlock, pthread_rwlock_timedwrlock,
7803 pthread_sigmask, pthread_spin_destroy, pthread_spin_init,
7804 pthread_spin_lock, pthread_spin_trylock, and pthread_spin_unlock.
7805 * conform/data/sched.h-data: Add sched_ss_low_priority,
7806 sched_ss_repl_period, sched_ss_init_budget, sched_ss_max_repl, and
7808 * conform/data/semaphore.h-data: Add sem_timedwait.
7809 * conform/data/signal.h-data: Add SIGIO.
7810 * conform/data/spawn.h-data: New file.
7811 * conform/data/stdlib.h-data: Add posix_memalign, setenv, and unsetenv.
7812 * conform/data/time.h-data: Add CLOCK_PROCESS_CPUTIME_ID,
7813 CLOCK_THREAD_CPUTIME_ID, clock_getcpuclockid, and clock_nanosleep.
7814 Fix typo in gmtime_r definition.
7815 * conform/data/unistd.h-data: Add _POSIX_ADVISORY_INFO,
7816 _POSIX_ASYNCHRONOUS_IO, _POSIX_BARRIERS, _POSIX_MONOTONIC_CLOCK,
7817 _POSIX_READER_WRITER_LOCKS, _POSIX_SHELL, _POSIX_SPAWN,
7818 _POSIX_SPIN_LOCKS, _POSIX_SPORADIC_SERVER, _POSIX_THREAD_CPUTIME,
7819 _POSIX_TYPED_MEMORY_OBJECTS, _POSIX_THREAD_SPORADIC_SERVER,
7820 _XOPEN_STREAMS, _POSIX_TIMEOUTS, _POSIX2_PBS,
7821 _POSIX2_PBS_ACCOUNTING, _POSIX2_PBS_CHECKPOINT,
7822 _POSIX2_PBS_LOCATE, _POSIX2_PBS_MESSAGE, _POSIX2_PBS_TRACK,
7823 _SC_2_PBS, _SC_2_PBS_ACCOUNTING, _SC_2_PBS_CHECKPOINT,
7824 _SC_2_PBS_LOCATE, _SC_2_PBS_MESSAGE, _SC_2_PBS_TRACK,
7825 _SC_BARRIERS, _SC_BASE, _SC_CLOCK_SELECTION, _SC_DEVICE_IO,
7826 _SC_DEVICE_SPECIFIC, _SC_DEVICE_SPECIFIC_R, _SC_FD_MGMT, _SC_FIFO,
7827 _SC_FILE_ATTRIBUTES, _SC_FILE_LOCKING, _SC_FILE_SYSTEM,
7828 _SC_MEMORY_PROTECTION, _SC_MESSAGE_PASSING, _SC_MONOTONIC_CLOCK,
7829 _SC_MESSAGE_PASSING, _SC_MONOTONIC_CLOCK, _SC_MULTIPLE_PROCESS,
7830 _SC_NETWORKING, _SC_PIPE, _SC_READER_WRITER_LOCKS, _SC_REGEXP,
7831 _SC_SHELL, _SC_SIGNALS, _SC_SINGLE_PROCESS, _SC_SPIN_LOCKS,
7832 _SC_TYPED_MEMORY_OBJECTS, _SC_USER_GROUPS, _SC_USER_GROUPS_R,
7833 _SC_STREAMS, _PC_REC_INCR_XFER_SIZE, _PC_REC_MAX_XFER_SIZE,
7834 _PC_REC_MIN_XFER_SIZE, _PC_REC_XFER_ALIGN, setegid, seteuid. Fix
7835 typo in off_t definition.
7836 * conform/data/net/if.h-data: New file.
7837 * conform/data/netinet/in.h-data: New file.
7838 * conform/data/netinet/tcp.h-data: New file.
7839 * conform/data/sys/mman.h-data: Add POSIX_MADV_NORMAL,
7840 POSIX_MADV_SEQUENTIAL, POSIX_MADV_RANDOM, POSIX_MADV_WILLNEED,
7841 POSIX_MADV_DONTNEED, POSIX_TYPED_MEM_ALLOCATE,
7842 POSIX_TYPED_MEM_ALLOCATE_CONTIG, POSIX_TYPED_MEM_MAP_ALLOCATABLE,
7843 posix_typedmem_info, posix_mem_offset, posix_typed_mem_get_info,
7844 and posix_typed_mem_open.
7845 * conform/data/sys/socket.h-data: New file.
7846 * conform/data/sys/stat.h-data: Add S_TYPEISTMO and isfdtype.
7847 * conform/data/sys/types.h-data: Add pthread_barrier_t,
7848 pthread_barrierattr_t, and pthread_spinlock_t.
7849 * conform/data/sys/un.h-data: New file.
7850 * conform/data/sys/utsname.h-data: New file.
7852 * include/netdb.h (__gethostbyaddr_r): Fix types of first and second
7854 * inet/gethstbyad.c (gethostbyname): Likewise.
7855 * inet/gethstbyad_t.c (gethostbyname_r): Likewise.
7856 * inet/getipnodebyad.c (getipnodebyad): Likewise.
7857 * nis/nss_nis/nis-hosts.c (_nss_nis_gethostbyaddr_r): Likewise.
7858 * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_gethostbyaddr_r):
7860 * nscd/gethstbyad_r.c (gethostbyaddr_r): Likewise.
7861 * nscd/nscd_gethst_r.c (__nscd_gethostbyaddr_r): Likewise.
7862 * nscd/nscd_proto.h (__nscd_gethostbyaddr_r): Likewise.
7863 * nss/nss_files/files-hosts.c (_nss_files_gethostbyaddr_r): Likewise.
7864 * resolv/gethnamaddr.c (gethostbyname): Likewise.
7865 * resolv/netdb.h (struct hostent): Fix type of h_length member.
7866 (gethostbyaddr, getipnodebyaddr, gethostbyaddr_r): Fix types of first
7867 and second parameter.
7869 * wcsmbs/mbrtowc.c (__mbrtowc): Set end of buffer correctly if s
7872 2000-04-29 Andreas Jaeger <aj@suse.de>
7874 * conform/data/arpa/inet.h-data: New file.
7876 2000-04-28 Geoff Clare <gwc@unisoft.com>
7878 * io/ftw.c: Set errno to ENOENT (instead of ENOTDIR) when the
7879 path passed to ftw() or nftw() is an empty string.
7880 Closes PR libc/1710.
7882 2000-04-27 Ulrich Drepper <drepper@redhat.com>
7884 * localedata/Makefile (test-srcs): Add tst-mbswcs4 and tst-mbswcs5.
7885 (do-tst-mbswcs): Add tst-mbswcs4 and tst-mbswcs5 to dependencies.
7886 * localedata/tst-mbswcs.sh: Run tst-mbswcs4 and tst-mbswcs5.
7887 * localedata/tst-mbswcs4.c: New file.
7888 * localedata/tst-mbswcs5.c: New file.
7890 * wcsmbs/wcrtomb.c (__wcrtomb): Set end of buffer correctly if s
7891 == NULL. Little optimization.
7893 * elf/dl-init.c (_dl_init): Correct typo (DT_PREINIT_ARRAY not
7894 DT_PREINIT_ARRAYSZ).
7895 Reported by Jes Sorensen <Jes.Sorensen@cern.ch>.
7897 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups): Handle
7898 overflows in conversion from ASCII.
7900 2000-04-26 Jakub Jelinek <jakub@redhat.com>
7902 * Makeconfig (full_config_sysdirs): Renamed from full-config-sysdirs.
7903 * Makerules (full_config_sysdirs): Likewise.
7904 * MakeTAGS (full_config_sysdirs): Likewise.
7906 2000-04-26 Jakub Jelinek <jakub@redhat.com>
7908 * .cvsignore: Remove linuxthreads.
7909 * po/.cvsignore: Remove *.pot.
7910 * posix/glob/.cvsignore: Removed.
7911 * sysdeps/unix/bsd/osf/.cvsignore: Removed.
7913 2000-04-25 Andreas Jaeger <aj@suse.de>
7915 * conform/Makefile (distribute): Also distribute contents of
7918 * Makerules (no_deps): Remove abi-versions.h.
7920 * nis/nis_print_group_entry.c: Include alloca.h for alloca prototype.
7922 2000-04-25 Jakub Jelinek <jakub@redhat.com>
7924 * sysdeps/sparc/sparc64/elf/Dist: Remove.
7925 * sysdeps/sparc/sparc64/elf/crtbegin.S: Remove.
7926 * sysdeps/sparc/sparc64/elf/crtbeginS.S: Remove.
7927 * sysdeps/sparc/sparc64/elf/crtend.S: Remove.
7928 * sysdeps/sparc/sparc64/elf/crtendS.S: Remove.
7929 * sysdeps/sparc/sparc64/elf/Makefile: Don't build crtbegin/crtend
7932 2000-04-25 Thorsten Kukuk <kukuk@suse.de>
7934 * nscd/grpcache.c: Fix gr_name pointer [PR/1702].
7936 2000-04-23 Bruno Haible <haible@clisp.cons.org>
7938 * intl/dcigettext.c: Define _GNU_SOURCE as early as possible.
7939 * intl/l10nflist.c: Likewise.
7941 2000-04-23 Bruno Haible <haible@clisp.cons.org>
7943 * intl/bindtextdom.c [!_LIBC]: Define __libc_rwlock_define,
7944 __libc_rwlock_wrlock, __libc_rwlock_unlock as empty.
7945 * intl/textdomain.c [!_LIBC]: Likewise.
7946 * intl/dcigettext.c [!_LIBC]: Define __libc_rwlock_define_initialized,
7947 __libc_rwlock_rdlock, __libc_rwlock_unlock as empty.
7948 * intl/loadmsgcat.c (_nl_load_domain) [!_LIBC, !HAVE_ICONV]: Avoid
7951 2000-04-23 Bruno Haible <haible@clisp.cons.org>
7953 * intl/dcigettext.c (_nl_find_msg): Do the plural treatment and
7954 character set conversion also in the case the translation was found
7955 after a hash collision or through binary search. Store the maximum
7956 index together with the converted message. Use iconv() when available.
7957 In case of out of memory during conversion, return the unconverted
7958 translated string, not NULL.
7960 2000-04-25 Jes Sorensen <Jes.Sorensen@cern.ch>
7962 * shlib-versions: Rename ia64 dynamic linker to ld-linux-ia64.so.1
7963 to avoid name clashes with the ia32 linker.
7965 2000-04-25 Jakub Jelinek <jakub@redhat.com>
7967 * sysdeps/alpha/dl-machine.h (_dl_start_user): Fix the _dl_skip_args
7970 2000-04-27 Ulrich Drepper <drepper@redhat.com>
7972 * manual/string.texi: Document strcasestr, strchrnul, strtoimax,
7973 strtoumax, strfry, and memfrob.
7974 * manual/arith.texi: Document {,u}int*_t types, and strto{i,u}max.
7975 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
7977 * elf/soinit.c (__libc_global_ctors): Call __pthread_initialize_minimal
7978 if this function is available.
7980 * sysdeps/i386/i486/atomicity.h (exchange_and_add): Use uint32_t for
7983 2000-04-27 Jakub Jelinek <jakub@redhat.com>
7985 * nss/getXXbyYY_r.c: Fix a typo in __old_getxxbyyy_r versioning.
7987 2000-04-27 Ulrich Drepper <drepper@redhat.com>
7989 * localedata/Makefile (test-srcs); Add tst-mbswcs3.
7990 Add rule to build tst-mbswcs3 before running tst-mbswcs.sh.
7991 * localedata/tst-mbswcs.sh: Run tst-mbswcs3.
7992 * localedata/tst-mbswcs3.c: New file.
7994 2000-04-26 Ulrich Drepper <drepper@redhat.com>
7996 * wcsmbs/mbsnrtowcs.c: Correctly compute number of converted
7997 characters. Don't handle incomplete characters as errors.
7998 * wcsmbs/mbsrtowcs.c: Don't handle incomplete characters as errors.
7999 * localedata/Makefile (test-srcs): Add tst-mbswcs2.
8000 Add rule to build tst-mbswcs2 before running tst-mbswcs.sh.
8001 * localedata/tst-mbswcs.sh: Run tst-mbswcs2.
8002 * localedata/tst-mbswcs2.c: New file.
8004 * iconv/gconv_simple.c (utf8_internal_loop): Correctly reconstruct
8005 stored character in state in UNPACK_BYTES macro.
8006 * iconv/loop.c (SINGLE(LOOPFCT)): Make it actually work. Correct
8007 test for available characters, handle result of BODY code correctly.
8008 * localedata/Makefile (test-srcs): Add tst-mbswcs1.
8009 (distribute): Add tst-mbswcs.sh.
8010 Add rule to run tst-mbswcs.sh.
8011 * localedata/tst-mbswcs.sh: New file.
8012 * localedata/tst-mbswcs1.c: New file.
8014 2000-04-26 Jakub Jelinek <jakub@redhat.com>
8016 * nis/nis_callback.c (__nis_create_callback): Do failed memory
8017 allocation fixups centrally, fix __builtin_expect call, return NULL
8018 on failure, not NIS_NOMEMORY.
8020 2000-04-27 Bruno Haible <haible@clisp.cons.org>
8022 * intl/ngettext.c [!_LIBC]: Fix definition of NGETTEXT.
8024 * intl/loadinfo.h (internal_function): Define if not already defined.
8026 2000-04-27 Andreas Jaeger <aj@suse.de>
8028 * intl/libintl.h: Fix typo, reported by Bruno Haible
8029 <haible@clisp.cons.org>.
8031 2000-04-25 Ulrich Drepper <drepper@redhat.com>
8033 * elf/dl-profile.c (_dl_mcount): Try to be thread-safe while not
8034 setting the state to GMON_PROF_BUSY.
8036 2000-04-24 Ulrich Drepper <drepper@redhat.com>
8038 * elf/dl-profile.c (_dl_start_profile): define all variables which
8039 do not have to be global as local variables.
8041 * nis/nis_callback.c (__nis_create_callback): Partially undo last
8042 patch. Keep needed tests for failed memory allocation.
8044 * elf/dl-reloc.c (_dl_relocate_object): Add one more
8045 __builtin_expect saying that we don't normally expect to profile.
8047 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add
8048 __builtin_expect where desirable.
8050 2000-04-23 Ulrich Drepper <drepper@redhat.com>
8052 * manual/Makefile (chapters): Add syslog.
8053 * manual/syslog.texi: New file.
8054 * manual/math.texi: Fix references.
8055 * manual/terminal.texi: Likewise.
8056 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
8058 2000-04-18 Jakub Jelinek <jakub@redhat.com>
8060 * posix/sys/wait.h: Define __WAIT_STATUS and the like either if
8061 stdlib.h was not included or __USE_XOPEN not defined.
8063 2000-04-23 Ulrich Drepper <drepper@redhat.com>
8065 * nss/Makefile (libnss_db-dbs): Remove stray backslash.
8066 Patch by Zack Weinberg <zack@wolery.cumb.org>.
8068 2000-04-22 Ulrich Drepper <drepper@redhat.com>
8070 * manual/examples/subopt.c (mount_opts): Add missing terminating
8072 Reported by Michael Deutschmann <michael@talamasca.ocis.net>.
8074 * assert/assert-perr.c: Include <stdlib.h> for abort prototype.
8075 * libio/ftello.c: Likewise.
8076 * libio/ftello64.c: Likewise.
8077 * libio/ioftell.c: Likewise.
8078 * sysdeps/generic/memrchr.c: Likewise.
8079 * sysdeps/posix/libc_fatal.c: Likewise.
8080 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
8081 * misc/fstab.c: Include <string.h> for strcmp prototype.
8082 * sysdeps/generic/ldsodefs.h: Likewise.
8083 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
8084 Patch by Kurt Roeckx <Q@ping.be>.
8086 * nss/Makefile (libnss_db-dbs): Renamed from libnss_db-routines.
8087 Remove db-open. Change all uses.
8088 (libnss_db-routines): Define as $(libnss_db-dbs) db-open.
8090 2000-04-21 Jakub Jelinek <jakub@redhat.com>
8092 * sysdeps/unix/sysv/linux/alpha/msgctl.c (__syscall_msgctl): Declare.
8093 * sysdeps/unix/sysv/linux/alpha/semctl.c (__syscall_semctl): Declare.
8094 * sysdeps/unix/sysv/linux/alpha/shmctl.c (__syscall_shmctl): Declare.
8095 * sysdeps/unix/sysv/linux/alpha/getrusage.S: Surround uses of $f28
8096 with .set noat/at to shut up warnings.
8097 * sysdeps/unix/sysv/linux/alpha/syscalls.list (__fstatfs64): Add alias.
8098 * sysdeps/unix/sysv/linux/alpha/ioperm.c (init_iosys): Allow
8099 compilation if __NR_pciconfig_iobase is not defined.
8100 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (__fstatfs64):
8103 2000-04-21 Ulrich Drepper <drepper@redhat.com>
8105 * manual/sysinfo.texi: Fix typo.
8106 * manual/time.texi: Document timelocal, timegm, adjtimex, and stime.
8107 Replace "high precision time" with "high accuracy clock".
8109 Patches by Bryan Henderson <bryanh@giraffe-data.com>.
8111 * nis/nis_findserv.c (__nis_findfastest): Improve memory handling.
8112 * nis/nis_print_group_entry.c (nis_print_group_entry): Use alloca
8114 * nis/nis_subr.c: Use __builtin_expect.
8115 * nis/ypclnt.c: Likewise.
8116 * nis/nis_getservlist.c: Likewise.
8117 * nis/nis_creategroup.c: Likewise.
8119 * nis/nis_callback.c (__nis_create_callback): Check result of
8120 memory allocation. Fix memory leaks. Use __builtin_expect.
8121 (__nis_destroy_callback): Fix memory leaks.
8123 2000-04-21 Andreas Jaeger <aj@suse.de>
8125 * sysdeps/mips/elf/start.S: Use __PIC__ instead of PIC.
8126 * sysdeps/mips/mips64/add_n.S: Likewise.
8127 * sysdeps/mips/mips64/bsd-_setjmp.S: Likewise.
8128 * sysdeps/mips/mips64/lshift.S: Likewise.
8129 * sysdeps/mips/mips64/mul_1.S: Likewise.
8130 * sysdeps/mips/mips64/rshift.S: Likewise.
8131 * sysdeps/mips/mips64/setjmp.S: Likewise.
8132 * sysdeps/mips/mips64/sub_n.S: Likewise.
8133 * sysdeps/mips/mips64/submul_1.S: Likewise
8134 * sysdeps/unix/mips/sysdep.S: Likewise.
8136 * sysdeps/mips/dl-machine.h (elf_machine_got_rel): Remove strtab
8137 and update comment. The strtab from _dl_relocate_object can be
8140 2000-04-21 Ulrich Drepper <drepper@redhat.com>
8142 * iconv/iconv.c (iconv): Add __builtin_expect where useful.
8143 * iconv/iconv_close.c (iconv_close): Likewise.
8144 * iconv/iconv_open.c (iconv_open): Likewise.
8146 * grp/putgrent.c (putgrent): Unlock steam if fprintf failed. Add
8147 __builtin_expect where useful.
8149 * grp/initgroups.c (initgroups): Test for result of memory
8150 allocation and punt if it fails.
8152 * dirent/scandir.c (scandir): Add __builtin_expect where useful.
8153 * grp/fgetgrent.c (fgetfrent): Likewise.
8154 * grp/fgetgrent_r.c (__fgetgrent_r): Likewise.
8156 2000-04-21 Jakub Jelinek <jakub@redhat.com>
8158 * libio/vasprintf.c: Include string.h to get memcpy prototype.
8160 2000-04-20 Ulrich Drepper <drepper@redhat.com>
8162 * wcsmbs/wcsrtombs.c (__wcsrtombs): If output buffer is too small
8163 don't search for NUL byte to decrement counter.
8164 Reported by Ulrich.Brink@sap.com.
8166 * iconv/gconv_simple.c: Define separate functions to convert from
8167 UCS4/UCS4-LE to the internal encoding.
8168 * iconv/gconv_builtin.h: Use separate functions to convert from
8169 UCS4/UCS4-LE to the internal encoding.
8170 * iconv/gconv_int.h: Declare __gconv_transform_ucs4_internal and
8171 __gconv_transform_ucs4le_internal.
8173 * iconv/gconv_simple.c (internal_utf8_loop): Correct check for
8174 output buffer overflow. Reported by Ulrich.Brink@sap.com.
8176 * iconv/skeleton.c: Add some more __builtin_expect.
8177 * iconv/loop.c: Likewise.
8179 2000-03-08 H.J. Lu <hjl@gnu.org>
8181 * posix/regex.c (regex_compile): Correctly handle "\{" when
8182 the RE_INTERVALS is set and the RE_NO_BK_BRACES bit is not set.
8184 2000-04-20 Ulrich Drepper <drepper@redhat.com>
8186 * manual/stdio.texi: Give advise about handling error when using
8188 Patch by Michael Deutschmann <michael@talamasca.ocis.net>.
8190 2000-04-19 Jakub Jelinek <jakub@redhat.com>
8192 * locale/programs/ld-ctype.c (ctype_output): Set size of the idx
8193 field to nelems * sizeof (uint32_t).
8194 * locale/programs/ld-address.c (address_output): Align word fields
8196 * locale/programs/ld-monetary.c (monetary_output): Likewise.
8197 Don't restart idx pointers to idx end at the duo_int_curr_symbol
8199 Avoid giving arbitrary garbage in the crncystr field.
8200 Use sizeof(uint32_t) instead of 4 for len in uno_valid_from,
8201 uno_valid_to, duo_valid_from, duo_valid_to and conversion_rate
8203 * locale/programs/ld-numeric.c (numeric_output): Likewise.
8204 Don't restart idx pointers to idx end at the decimal_point_wc field.
8205 * locale/programs/ld-time.c (time_output): week_1stday should be
8206 word, not byte. Align it properly.
8208 2000-04-19 H.J. Lu <hjl@gnu.org>
8210 * csu/gmon-start.c (_start): Declared as "extern void".
8213 2000-04-18 Andreas Jaeger <aj@suse.de>
8215 * manual/install.texi (Running make install): Don't mention utmpd
8218 2000-04-18 Andreas Jaeger <aj@suse.de>
8220 * linuxthreads/Versions: Use ld instead of ld.so.
8222 * elf/Makefile (ld-map): Use ld.map.
8224 * Versions.def: Use ld instead of ld.so.
8225 * elf/Versions: Likewise.
8226 * sysdeps/mach/hurd/Versions: Likewise.
8228 2000-04-20 Andreas Jaeger <aj@suse.de>
8230 * elf/rtld.c (print_statistics): Move ifndef further up.
8231 (_dl_start_final): Added HP_TIMINIG_NONAVAIL to avoid warnings.
8232 (dl_main): Likewise.
8234 2000-04-18 Ulrich Drepper <drepper@redhat.com>
8236 * gmon/gmon.c: Add weak alias moncontrol for __moncontrol.
8237 * gmon/Versions: Move moncontrol to GLIBC_2.2.
8239 * po/cs.po: Update from translation team.
8241 * sysdeps/generic/updwtmp.c: Remove daemon support.
8243 * login/Makefile (routines): Remove utmp_daemon.
8245 * sysdeps/unix/sysv/aix/gethostname.c: Fix type of len argument.
8246 * sysdeps/unix/sysv/aix/access.c: Define ACC_INVOKER.
8247 * sysdeps/unix/sysv/aix/getegid.c: Define ID_EFFECTIVE.
8248 * sysdeps/unix/sysv/aix/geteuid.c: Likewise.
8250 * elf/rtld.c: Display statitics option also if hp timing is not
8253 * login/programs/connection.c: Removed.
8254 * login/programs/database.c Removed.
8255 * login/programs/error.c: Removed.
8256 * login/programs/request.c: Removed.
8257 * login/programs/xtmp.c: Removed.
8258 * login/programs/xtmp.h: Removed.
8259 * login/Makefile: Remove rules for utmpd.
8260 * login/README.utmpd: Removed.
8261 * login/utmp_daemon.c: Removed.
8262 * login/getutent_r.c: Remove references to daemon functions.
8263 * login/utmp-private.h (__libc_utmp_daemon_functions): Remove
8266 2000-04-18 Andreas Jaeger <aj@suse.de>
8268 * shlib-versions (mips.*-.*-linux.*): Support only GLIBC 2.0 and
8269 2.2 for libnsl, libresolv, librt, libnss_*.
8271 * elf/rtld.c (process_dl_debug): Remove obsolete comment.
8273 * sysdeps/mips/dl-machine.h (elf_machine_rel): Fix relocation.
8275 2000-04-18 Ulrich Drepper <drepper@redhat.com>
8277 * sysdeps/unix/sysv/aix/geteuid.c: Don't try to include <sys/id.h>.
8278 * sysdeps/unix/sysv/aix/getegid.c: Likewise.
8279 * sysdeps/unix/sysv/aix/xstat64.c: Define STX_NORMAL and STX_64.
8280 * sysdeps/unix/sysv/aix/xstat.c: Define STX_NORMAL.
8281 * sysdeps/unix/sysv/aix/sys/param.h: Define NGROUPS.
8282 * sysdeps/unix/sysv/aix/setreuid.c: Define ID_EFFECTIVE and ID_REAL.
8283 * sysdeps/unix/sysv/aix/setregid.c: Likewise.
8284 * sysdeps/unix/sysv/aix/setuid.c: Define ID_REAL.
8285 * sysdeps/unix/sysv/aix/setgid.c: Likewise.
8286 * sysdeps/unix/sysv/aix/seteuid.c: Define ID_EFFECTIVE.
8287 * sysdeps/unix/sysv/aix/setegid.c: Likewise.
8288 * sysdeps/unix/sysv/aix/sbrk.c: Update parameter type.
8289 * sysdeps/unix/sysv/aix/nanosleep.c (struct timestruc_t): Define
8291 * sysdeps/unix/sysv/aix/msync.c: New file.
8292 * sysdeps/unix/sysv/aix/msgsnd.c: New file.
8293 * sysdeps/unix/sysv/aix/net/if.h: New file.
8294 * sysdeps/unix/sysv/aix/pipe.c: New file.
8295 * sysdeps/unix/sysv/aix/poll.c: New file.
8296 * sysdeps/unix/sysv/aix/rename.c: New file.
8297 * sysdeps/unix/sysv/aix/rmdir.c: New file.
8298 * sysdeps/unix/sysv/aix/select.c: New file.
8299 * sysdeps/unix/sysv/aix/semctl.c: New file.
8300 * sysdeps/unix/sysv/aix/semget.c: New file.
8301 * sysdeps/unix/sysv/aix/semop.c: New file.
8302 * sysdeps/unix/sysv/aix/sendto.c: New file.
8303 * sysdeps/unix/sysv/aix/setgroups.c: New file.
8304 * sysdeps/unix/sysv/aix/setpgid.c: New file.
8305 * sysdeps/unix/sysv/aix/setpgrp.c: New file.
8306 * sysdeps/unix/sysv/aix/setpriority.c: New file.
8307 * sysdeps/unix/sysv/aix/setrlimit.c: New file.
8308 * sysdeps/unix/sysv/aix/setrlimit64.c: New file.
8309 * sysdeps/unix/sysv/aix/setsid.c: New file.
8310 * sysdeps/unix/sysv/aix/setsockopt.c: New file.
8311 * sysdeps/unix/sysv/aix/shmat.c: New file.
8312 * sysdeps/unix/sysv/aix/shmctl.c: New file.
8313 * sysdeps/unix/sysv/aix/shmdt.c: New file.
8314 * sysdeps/unix/sysv/aix/shmget.c: New file.
8315 * sysdeps/unix/sysv/aix/sigaltstack.c: New file.
8316 * sysdeps/unix/sysv/aix/sigstack.c: New file.
8317 * sysdeps/unix/sysv/aix/socket.c: New file.
8318 * sysdeps/unix/sysv/aix/socketpair.c: New file.
8319 * sysdeps/unix/sysv/aix/speed.c: New file.
8320 * sysdeps/unix/sysv/aix/symlink.c: New file.
8321 * sysdeps/unix/sysv/aix/sync.c: New file.
8322 * sysdeps/unix/sysv/aix/tcgetattr.c: New file.
8323 * sysdeps/unix/sysv/aix/tcsetattr.c: New file.
8324 * sysdeps/unix/sysv/aix/times.c: New file.
8325 * sysdeps/unix/sysv/aix/ulimit.c: New file.
8326 * sysdeps/unix/sysv/aix/umask.c: New file.
8327 * sysdeps/unix/sysv/aix/unlink.c: New file.
8328 * sysdeps/unix/sysv/aix/ustat.c: New file.
8329 * sysdeps/unix/sysv/aix/utimes.c: New file.
8331 2000-04-18 Andreas Jaeger <aj@suse.de>
8333 * manual/startup.texi (Environment Access): Fix putenv prototype
8334 according to recent changes.
8335 Reported by Andries Brouwer <Andries.Brouwer@cwi.nl>, closes
8338 * elf/rtld.c (print_statistics): Added HP_TIMINIG_NONAVAIL where
8341 2000-04-18 Ulrich Drepper <drepper@redhat.com>
8343 * posix/Makefile (tests): Add tst-getaddrinfo.
8344 * posix/tst-getaddrinfo.c: New file.
8346 2000-04-17 Ulrich Drepper <drepper@redhat.com>
8348 * manual/sysinfo.texi: Document that umount2 is not widely available.
8350 * sysdeps/generic/hp-timing.h (HP_TIMING_NONAVAIL): Define to
8351 signal timing is not really implemented.
8353 2000-04-17 Andreas Jaeger <aj@suse.de>
8355 * elf/rtld.c (process_dl_debug): Mention statistics in help message.
8357 2000-04-17 Jakub Jelinek <jakub@redhat.com>
8359 * Makefile (install): Use slibdir and libdir instead of inst_slibdir
8362 2000-04-17 Ulrich Drepper <drepper@redhat.com>
8364 * manual/intro.texi: Change reference from System Information to
8366 * manual/users.texi: Likewise.
8367 * manual/conf.texi: Likewise.
8368 * manual/sysinfo.texi: Document mount, umount, and umount2.
8369 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
8371 2000-04-17 Jakub Jelinek <jakub@redhat.com>
8373 * sysdeps/ieee754/ldbl-128/printf_fphex.c (PRINT_FPHEX_LONG_DOUBLE):
8374 Create wnumstr as well as numstr to support wide character output
8377 2000-04-15 Jakub Jelinek <jakub@redhat.com>
8379 * sysdeps/sparc/sparc64/Makefile: Remove sysdep-CFLAGS
8380 modification and move it...
8381 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: ...here.
8382 Add -melf64_sparc switch to $(LD) on sparc64-linux.
8383 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile: Add -melf32_sparc
8384 switch to $(LD) on sparc-linux.
8386 2000-04-17 Thorsten Kukuk <kukuk@suse.de>
8388 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile: Remove setresgid
8389 and setresuid from sysdep_routines.
8391 2000-04-17 Ulrich Drepper <drepper@redhat.com>
8393 * manual/Makefile (chapters): Add resource.
8395 * manual/time.texi: Move section on resources to...
8396 * manual/resource.texi: ...here. New file. Document ulimit, vlimit,
8398 * manual/setjmp.texi: Adjust back reference.
8399 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
8401 * sysdeps/unix/sysv/aix/lxstat64.c: Uncomment STX_LINK and STX_64
8403 * sysdeps/unix/sysv/aix/lxstat.c: Uncomment STX_LINK definition.
8404 * sysdeps/unix/sysv/aix/kill.c: Add copyright.
8405 * sysdeps/unix/sysv/aix/getuid.c: Define ID_REAL.
8406 * sysdeps/unix/sysv/aix/getgid.c: Define ID_REAL.
8407 * sysdeps/unix/sysv/aix/execve.c: Add copyright.
8408 * sysdeps/unix/sysv/aix/euidaccess.c: Add copyright.
8409 * sysdeps/unix/sysv/aix/close.c: Add copyright.
8410 * sysdeps/unix/sysv/aix/brk.c: Add copyright.
8411 * sysdeps/unix/sysv/aix/bits/errno.h: Add EAFNOSUPPORT.
8412 * sysdeps/unix/sysv/aix/access.c: Add copyright.
8413 * sysdeps/unix/sysv/aix/Makefile: Add some temporary definitions.
8414 * sysdeps/unix/sysv/aix/Implies: New file.
8415 * sysdeps/unix/sysv/aix/Versions: New file.
8416 * sysdeps/unix/sysv/aix/bind.c: New file.
8417 * sysdeps/unix/sysv/aix/bits/ioctl-types.h: New file.
8418 * sysdeps/unix/sysv/aix/bits/ioctls.h: New file.
8419 * sysdeps/unix/sysv/aix/bits/poll.h: New file.
8420 * sysdeps/unix/sysv/aix/bits/termios.h: New file.
8421 * sysdeps/unix/sysv/aix/chdir.c: New file.
8422 * sysdeps/unix/sysv/aix/chmod.c: New file.
8423 * sysdeps/unix/sysv/aix/chroot.c: New file.
8424 * sysdeps/unix/sysv/aix/creat.c: New file.
8425 * sysdeps/unix/sysv/aix/dl-close.c: New file.
8426 * sysdeps/unix/sysv/aix/dl-open.c: New file.
8427 * sysdeps/unix/sysv/aix/dl-sym.c: New file.
8428 * sysdeps/unix/sysv/aix/fchdir.c: New file.
8429 * sysdeps/unix/sysv/aix/fchmod.c: New file.
8430 * sysdeps/unix/sysv/aix/getgroups.c: New file.
8431 * sysdeps/unix/sysv/aix/gethostname.c: New file.
8432 * sysdeps/unix/sysv/aix/getpriority.c: New file.
8433 * sysdeps/unix/sysv/aix/getrlimit.c: New file.
8434 * sysdeps/unix/sysv/aix/getrlimit64.c: New file.
8435 * sysdeps/unix/sysv/aix/getrusage.c: New file.
8436 * sysdeps/unix/sysv/aix/link.c: New file.
8437 * sysdeps/unix/sysv/aix/madvise.c: New file.
8438 * sysdeps/unix/sysv/aix/mkdir.c: New file.
8439 * sysdeps/unix/sysv/aix/mknod.c: New file.
8440 * sysdeps/unix/sysv/aix/mprotect.c: New file.
8441 * sysdeps/unix/sysv/aix/msgctl.c: New file.
8442 * sysdeps/unix/sysv/aix/msgget.c: New file.
8443 * sysdeps/unix/sysv/aix/msgrcv.c: New file.
8445 2000-04-17 Andreas Jaeger <aj@suse.de>
8447 * sysdeps/mips/dl-machine.h (elf_machine_got_rel): Optimize a bit
8448 as suggested by Ulrich Drepper.
8449 (__dl_runtime_resolve): Remove unused variable, initialize sym
8451 (RTLD_START): Document OFFSET_GP_GOT.
8452 (OFFSET_GP_GOT): New magic value.
8453 (elf_mips_got_from_gpreg): Use OFFSET_GP_GOT.
8454 (elf_machine_got_rel): Only declare strtab if needed.
8455 (elf_machine_relplt): Removed, it's not needed.
8456 (_dl_runtime_resolve): Fix \n for a comment, safe gp and not pc.
8458 * sysdeps/mips/add_n.S: Add newline at EOF.
8459 * sysdeps/mips/rshift.S: Likewise.
8460 * sysdeps/mips/mul_1.S: Likewise.
8461 * sysdeps/mips/lshift.S: Likewise.
8462 * sysdeps/mips/addmul_1.S: Likewise.
8464 2000-04-17 Ulrich Drepper <drepper@redhat.com>
8466 * sysdeps/powerpc/fpu/s_isnan.c: Pretty printing.
8468 * elf/dl-reloc.c (_dl_relocate_object): Add more __builtin_expect.
8469 * elf/dl-lookup.c: Likewise.
8470 * elf/dl-init.c (_dl_init): Likewise.
8471 * elf/dl-fini.c (_dl_fini): Likewise.
8472 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
8473 * elf/dl-close.c (_dl_close): Likewise.
8474 * elf/rtld.c (_dl_start_final): Likewise.
8476 * elf/dl-lookup.c (add_dependency): Correct __builtin_expect use.
8478 2000-04-15 Ulrich Drepper <drepper@redhat.com>
8480 * csu/Makefile ($(objpfx)version-info.h): Get OS name from uname and
8481 only fall back on using Linux.
8483 * elf/dl-version.c (_dl_check_map_versions): New argument trace_mode.
8484 Before testing versions check that we actually loaded the object
8485 and whether we are in trace mode. If not loaded during tracing don't
8486 test versions in this object.
8487 (_dl_check_all_versions): Take new parameter and pass to
8488 _dl_check_map_versions.
8489 * sysdeps/generic/ldsodefs.h: Update prototypes for
8490 _dl_check_all_versions and _dl_check_map_versions.
8491 * elf/rtld.c (struct version_check_args): Add dotrace.
8492 (version_check_doit): Pass args->dotrace to _dl_check_all_versions.
8493 (dl_main): Pass info about trace mode to version_check_doit.
8494 * elf/dl-open.c (dl_open_worker): Pass zero as new argument to
8495 _dl_check_all_versions.
8497 * manual/users.texi (XPG Functions): Document utmpxname, getutmp,
8499 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
8501 * manual/argp.texi: Document index parameter of argp_parse.
8503 Reported by Andrew Schulman <SCHULMAN.ANDREW@epamail.epa.gov>.
8505 2000-04-14 Andreas Jaeger <aj@suse.de>
8507 * sysdeps/unix/sysv/linux/shm_open.c: Include linux_fsinfo for
8508 SHMFS_SUPER_MAGIC. Remove definition of SHMFS_SUPER_MAGIC.
8510 * sysdeps/unix/sysv/linux/linux_fsinfo.h (SHMFS_SUPER_MAGIC): Added.
8512 2000-04-15 Ulrich Drepper <drepper@redhat.com>
8514 * sysdeps/unix/sysv/linux/alpha/adjtime.c: Fix typo in
8515 compat_symbol call for old adjtime.
8517 * sysdeps/alpha/dl-machine.h (RTLD_START): Rewrite for new init
8518 function interface. Patch by Richard Henderson <rth@cygnus.com>.
8520 * posix/Makefile (headers): Add spawn.h.
8521 (distribute): Add spawn_int.h.
8522 (routines): Add spawn_faction_init, spawn_faction_destroy,
8523 spawn_faction_addclose, spawn_faction_addopen, spawn_faction_adddup2,
8524 spawnattr_init, spawnattr_destroy, spawnattr_getdefault,
8525 spawnattr_setdefault, spawnattr_getflags, spawnattr_setflags,
8526 spawnattr_getpgroup, spawnattr_setpgroup, spawn, spawnp, and spawni.
8527 * posix/Versions [libc] (GLIBC_2.2): Add posix_spawn_file_actions_init,
8528 posix_spawn_file_actions_destroy, posix_spawn_file_actions_addclose,
8529 posix_spawn_file_actions_addopen, posix_spawn_file_actions_adddup2,
8530 posix_spawnattr_init, posix_spawnattr_destroy,
8531 posix_spawnattr_getdefault, posix_spawnattr_setdefault,
8532 posix_spawnattr_getflags, posix_spawnattr_setflags,
8533 posix_spawnattr_getpgroup, posix_spawnattr_setpgroup, posix_spawn,
8535 * posix/spawn.c: New file.
8536 * posix/spawn.h: New file.
8537 * posix/spawn_faction_addclose.c: New file.
8538 * posix/spawn_faction_adddup2.c: New file.
8539 * posix/spawn_faction_addopen.c: New file.
8540 * posix/spawn_faction_destroy.c: New file.
8541 * posix/spawn_faction_init.c: New file.
8542 * posix/spawn_int.h: New file.
8543 * posix/spawnattr_destroy.c: New file.
8544 * posix/spawnattr_getdefault.c: New file.
8545 * posix/spawnattr_getflags.c: New file.
8546 * posix/spawnattr_getpgroup.c: New file.
8547 * posix/spawnattr_getschedparam.c: New file.
8548 * posix/spawnattr_getschedpolicy.c: New file.
8549 * posix/spawnattr_getsigmask.c: New file.
8550 * posix/spawnattr_init.c: New file.
8551 * posix/spawnattr_setdefault.c: New file.
8552 * posix/spawnattr_setflags.c: New file.
8553 * posix/spawnattr_setpgroup.c: New file.
8554 * posix/spawnattr_setschedparam.c: New file.
8555 * posix/spawnattr_setschedpolicy.c: New file.
8556 * posix/spawnattr_setsigmask.c: New file.
8557 * posix/spawni.c: New file.
8558 * posix/spawnp.c: New file.
8560 * sysdeps/mach/hurd/bits/posix_opt.h: Add _POSIX_SPAWN.
8561 * sysdeps/unix/sysv/linux/bits/posix_opt.h: Likewise.
8563 2000-04-14 Ulrich Drepper <drepper@redhat.com>
8565 * malloc/Versions [libc] (GLIBC_2.2): Add posix_memalign.
8566 * malloc/malloc.c: Implement posix_memalign for glibc.
8567 * include/stdlib.h: Add prototype for __posix_memalign.
8568 * stdlib/stdlib.h: Add prototype for posix_memalign.
8570 2000-04-14 Andreas Jaeger <aj@suse.de>
8572 * sysdeps/mips/dl-machine.h (elf_machine_got_rel): Initialize
8574 (elf_machine_got_rel): Cast sym correctly.
8576 * sysdeps/mips/add_n.S: Use __PIC__, add end directive.
8577 * sysdeps/mips/addmul_1.S: Likewise.
8578 * sysdeps/mips/lshift.S: Likewise.
8579 * sysdeps/mips/mul_1.S: Likewise.
8580 * sysdeps/mips/rshift.S: Likewise.
8581 * sysdeps/mips/sub_n.S: Likewise.
8582 * sysdeps/mips/submul_1.S: Likewise.
8584 * stdlib/stdlib.h: Fix typo in comment.
8586 * shlib-versions (mips.*-.*-linux.*): Support only GLIBC 2.0 and
8587 2.2 for libdl, ld and libm.
8589 * sysdeps/generic/madvise.c: Fix typos.
8591 * sysdeps/unix/sysv/linux/mips/clone.S (error): Use __PIC__.
8593 * sysdeps/mips/bits/setjmp.h: Remove K&R compatibility.
8595 * sysdeps/mips/setjmp_aux.c (__sigsetjmp_aux): Silence gcc
8598 2000-04-14 Ulrich Drepper <drepper@redhat.com>
8600 * include/sys/statfs.h: Add prototypes for __statfs64 and __fstatfs64.
8601 * sysdeps/generic/fstatfs64.c (__fstatfs64): Renamed to fstatfs64.
8602 Make old name weak alias.
8603 * sysdeps/unix/sysv/linux/fstatfs64.c: Likewise.
8604 * sysdeps/generic/statfs64.c (__statfs64): Renamed to statfs64.
8605 Make old name weak alias.
8606 * sysdeps/unix/sysv/linux/statfs64.c: Likewise.
8608 * io/Makefile (routines): Add posix_fadvise, posix_fadvise64,
8609 posix_fallocate, and posix_fallocate64.
8610 * io/Versions [libc] (GLIBC_2.2): Add posix_fadvise, posix_fadvise64,
8611 posix_fallocate, and posix_fallocate64.
8612 * io/fcntl.h: Declare posix_fadvise, posix_fadvise64,
8613 posix_fallocate, and posix_fallocate64.
8614 * sysdeps/generic/fadvise.c: New file.
8615 * sysdeps/generic/fadvise64.c: New file.
8616 * sysdeps/generic/fallocate.c: New file.
8617 * sysdeps/generic/fallocate64.c: New file.
8618 * sysdeps/posix/fallocate.c: New file.
8619 * sysdeps/posix/fallocate64.c: New file.
8620 * sysdeps/generic/bits/fcntl.h: Define POSIX_FADV_NORMAL,
8621 POSIX_FADV_RANDOM, POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED,
8622 POSIX_FADV_DONTNEED, and POSIX_FADV_NOREUSE.
8623 * sysdeps/mach/hurd/bits/fcntl.h: Likewise.
8624 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Likewise.
8625 * sysdeps/unix/sysv/linux/bits/fcntl.h: Likewise.
8626 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
8627 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
8628 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
8630 * sysdeps/generic/madvise.c (__madvise): Renamed to posix_madvise.
8631 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
8633 2000-04-13 Ulrich Drepper <drepper@redhat.com>
8635 * misc/Versions [libc] (GLIBC_2.2): Add posix_madvice.
8636 * misc/sys/mman.h (posix_madvise): Add prototype.
8637 * sysdeps/generic/madvise.c (madvise): Renamed to __madvise. Make
8638 old name and posix_madvise weak aliases.
8639 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
8640 * sysdeps/generic/bits/mman.h: Add POSIX_MADV_* constants.
8641 * sysdeps/unix/sysv/linux/alpha/bits/mman.h: Likewise.
8642 * sysdeps/unix/sysv/linux/arm/bits/mman.h: Likewise.
8643 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Likewise.
8644 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
8645 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
8647 2000-04-13 Andreas Jaeger <aj@suse.de>
8649 * sysdeps/mips/dl-machine.h (__dl_runtime_resolve): Handle symbol
8651 (elf_machine_got_rel): Only add runtime display if needed.
8652 (elf_machine_got_rel): Handle symbol versioning.
8654 2000-04-13 Andreas Jaeger <aj@suse.de>
8656 * sysdeps/unix/sysv/linux/mips/clone.S: Fix function.
8658 * sysdeps/unix/mips/pipe.S: Reorder instructions since .reorder is
8661 * sysdeps/mips/__longjmp.c (__longjmp): Use $25 to fix problems
8662 with some applications.
8663 Patches by Ralf Baechle <ralf@uni-koblenz.de>.
8665 * sysdeps/mips/bsd-setjmp.S: Use __PIC__.
8666 * sysdeps/mips/bsd-_setjmp.S: Likewise.
8667 * sysdeps/mips/setjmp.S: Likewise.
8669 * sysdeps/unix/sysv/linux/mips/pipe.S: New file.
8671 2000-04-13 Ulrich Drepper <drepper@redhat.com>
8673 * posix/globtest.sh: Work around inconsistency with expanding ~/
8674 in shell (PR libc/1690). Reported by patsmith@pobox.com.
8676 2000-04-12 Ulrich Drepper <drepper@redhat.com>
8678 * posix/getconf.c: Add support for many more POSIX options.
8679 * sysdeps/posix/sysconf.c: Likewise.
8680 * sysdeps/generic/bits/confname.h: Add many more POSIX options.
8681 * sysdeps/mach/hurd/bits/posix_opt.h: Add _POSIX_REGEXP and
8683 * sysdeps/unix/sysv/linux/bits/posix_opt.h: Likewise.
8684 * sysdeps/unix/sysv/linux/i386/bits/time.h: Rename __CLOCK_HIGHRES to
8685 CLOCK_PROCESS_CPUTIME_ID. Add define CLOCK_MONOTONIC and
8686 CLOCK_THREAD_CPUTIME_ID.
8687 * sysdeps/unix/i386/clock_getcpuclockid.c: Set *clock_id to
8688 CLOCK_PROCESS_CPUTIME_ID.
8689 * sysdeps/unix/i386/i586/clock_getres.c: Change for renaming of
8690 __CLOCK_HIGHRES to CLOCK_PROCESS_CPUTIME_ID. Handle
8691 CLOCK_THREAD_CPUTIME_ID and CLOCK_MONOTONIC the same.
8692 * sysdeps/unix/i386/i586/clock_gettime.c: Likewise.
8694 * malloc/Makefile (tests): Add tst-calloc.
8695 * malloc/tst-calloc.c: New file.
8697 * sysdeps/arm/libm-test-ulps: New file.
8699 * malloc/malloc.c: Undo all of today's changes.
8701 * locale/programs/locale.c (show_info): Don't try to look into
8702 data for LC_ALL (there is none).
8704 * malloc/malloc.c (cALLOc): Clear only what the user asked for and
8705 avoid writing over boundary.
8706 Patch by Greg McGary <gkm@eng.ascend.com>.
8708 * sysdeps/arm/memprof.h: New file.
8710 2000-04-12 Andreas Jaeger <aj@suse.de>
8712 * sysdeps/unix/i386/i586/clock_gettime.c: Fix typo.
8714 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Include <string.h>
8715 for memmem declaration.
8717 2000-04-12 Ulrich Drepper <drepper@redhat.com>
8719 * sysdeps/unix/clock_gettime.c (clock_gettime): Initialize retval
8721 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
8723 * libio/iopopen.c (_IO_new_proc_open): Close pipes in case the
8725 * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
8726 Patch by Bart Veer <bartv@redhat.com>.
8728 * sysdeps/arm/dl-machine.h (RTLD_START): Rewrite for new init
8731 2000-04-11 Andreas Jaeger <aj@suse.de>
8733 * sysdeps/mips/dl-machine.h: Update some comments.
8734 (ELF_MACHINE_ALIGN_MASK): Removed, it's not needed.
8736 2000-04-11 Ulrich Drepper <drepper@redhat.com>
8738 * sysdeps/unix/sysv/linux/bits/posix_opt.h: Add
8739 _POSIX_SHARED_MEMORY_OBJECTS.
8741 * rt/Makefile (tests): Add tst-shm.
8742 Add rules to generate tst-shm.
8743 * rt/tst-shm.c: New file.
8745 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Set FD_CLOEXEC
8748 * misc/sys/mman.h: Add prototypes for shm_open and shm_unlink.
8749 * rt/Makefile (librt-routines): Add shm_open and shm_unlink.
8750 * rt/Versions [librt] (GLIBC_2.2): Add shm_open and shm_unlink.
8751 * sysdeps/generic/shm_open.c: New file.
8752 * sysdeps/generic/shm_unlink.c: New file.
8753 * sysdeps/unix/sysv/linux/shm_open.c: New file.
8754 * sysdeps/unix/sysv/linux/shm_unlink.c: New file.
8755 * sysdeps/unix/sysv/linux/Versions [libc] (GLIBC_2.2): Export
8756 __endmntent, __getmntent_r, __setmntent, and __statfs.
8758 * libio/vasprintf.c (_IO_vasprintf): Try to avoid memory
8759 fragmentation by allocating new memory at the end instead of
8762 * posix/globtest.sh: Fix last change.
8764 2000-04-10 Philip Blundell <philb@gnu.org>
8766 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_JOIN_GROUP,
8767 IPV6_LEAVE_GROUP): New names for IPV6_ADD_MEMBERSHIP,
8768 IPV6_DROP_MEMBERSHIP.
8769 * sysdeps/generic/bits/in.h (IPV6_JOIN_GROUP, IPV6_LEAVE_GROUP):
8772 2000-04-11 Ulrich Drepper <drepper@redhat.com>
8774 * elf/readlib (process_file): Close streams in case of an error.
8776 2000-04-09 Andreas Jaeger <aj@suse.de>
8778 * elf/readlib.c (process_file): Check if file is big enough to
8779 contain aout and ELF headers.
8780 Reported by Reinhard Moosauer <RMoosauer@steinecker.com>.
8782 2000-04-10 Jes Sorensen <Jes.Sorensen@cern.ch>
8784 * elf/dl-fini.c: Include alloca.h to get proper prototype for alloca().
8786 2000-04-11 Ulrich Drepper <drepper@redhat.com>
8788 * test-skeleton.c (main): If STDOUT_UNBUFFERED is defined, make stdout
8790 * rt/Makefile (tests): Add tst-clock.
8791 Add rules to build tst-clock.
8792 * rt/tst-clock.c: New file.
8793 * sysdeps/unix/i386/i586/clock_getres.c: Correct expression to decide
8794 about initialization of nsec.
8795 * sysdeps/unix/i386/i586/clock_gettime.c: Correct expression to decide
8796 about initialization of freq. Set retval to zero if successful.
8797 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Cache result.
8799 2000-04-10 Ulrich Drepper <drepper@redhat.com>
8801 * Versions.def (librt): Add GLIBC_2.2.
8802 * rt/Makefile (librt-routines): Add get_clockfreq, clock_getcpuclockid,
8803 clock_getres, clock_gettime, clock_settime, timer_create, timer_delete,
8804 timer_getoverr, timer_gettime, and timer_settime.
8805 * rt/Versions [librt] (GLIBC_2.2): Add clock_getres, clock_gettime,
8806 clock_settime, timer_create, timer_delete, timer_getoverrun,
8807 timer_gettime, and timer_settime.
8808 * sysdeps/generic/clock_getcpuclockid.c: New file.
8809 * sysdeps/generic/get_clockfreq.c: New file.
8810 * sysdeps/unix/i386/clock_getcpuclockid.c: New file.
8811 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: New file.
8812 * sysdeps/mach/hurd/i386/bits/time.h: New file.
8813 * sysdeps/unix/i386/i586/clock_getres.c: New file.
8814 * sysdeps/unix/i386/i586/clock_gettime.c: New file.
8815 * sysdeps/unix/i386/i686/Implies: New file.
8816 * sysdpes/unix/sysv/linux/i386/bits/time.h: New file.
8817 * time/Makefile (routines): Move clock_getres, clock_gettime,
8818 clock_settime, timer_create, timer_delete, timer_getoverr,
8819 timer_gettime, and timer_settime to rt/Makefile.
8820 * time/Versions [libc] (GLIBC_2.2): Remove clock_getres, clock_gettime,
8821 clock_settime, timer_create, timer_delete, timer_getoverrun,
8822 timer_gettime, and timer_settime.
8823 * time/time.h: Define pid_t. Add prototype for clock_getcpuclockid.
8825 * sysdeps/mach/hurd/bits/time.h: Drop K&R compatibility. Use __const__
8826 and not const as attribute name.
8828 2000-04-10 Thorsten Kukuk <kukuk@suse.de>
8830 * elf/cache.c (save_cache): Make sure /etc/ld.so.cache is mode 644.
8832 2000-04-10 Andreas Schwab <schwab@suse.de>
8834 * posix/globtest.sh: Skip tests that depend on unreadable
8835 directories if run as root.
8837 2000-04-10 Ulrich Drepper <drepper@redhat.com>
8839 * sysdeps/unix/clock_settime.c (clock_settime): Test tv_nsec value
8840 for correct range. From code by Kaz Kylheku <kaz@ashi.footprints.net>.
8842 2000-04-09 Ulrich Drepper <drepper@redhat.com>
8844 * sysdeps/unix/clock_gettime.c: New file.
8845 * sysdeps/unix/clock_settime.c: New file.
8846 * sysdeps/posix/clock_getres.c: New file.
8848 * conform/data/ftw.h-data: Add allow-header sys/stat.h.
8850 * sysdeps/unix/sysv/linux/getdents.c (__getdents): Avoid initial
8851 lseek call be passing in a buffer which never allow a successful
8852 first getdents syscall if not at leas the initial entry can be
8853 stored in the user buffer.
8855 * localedata/Makefile: Add rules to clean up directories created by
8858 2000-04-09 Geoff Clare <gwc@unisoft.com>
8860 * localedata/tst-fmon.data: Added new tests for strfmon()
8861 using test locales with all combinations of cs_precedes,
8862 sign_posn and sep_by_space.
8863 * localedata/tst-fmon.sh: Updated to support the new tests.
8864 * localedata/tst-fmon-locales/tstfmon_n01y12: New file containing
8865 the localedef source for the new strfmon() test locale.
8866 * localedata/tst-fmon-locales/tstfmon_n02n40: Likewise.
8867 * localedata/tst-fmon-locales/tstfmon_n10y31: Likewise.
8868 * localedata/tst-fmon-locales/tstfmon_n11y41: Likewise.
8869 * localedata/tst-fmon-locales/tstfmon_n12y11: Likewise.
8870 * localedata/tst-fmon-locales/tstfmon_n20n32: Likewise.
8871 * localedata/tst-fmon-locales/tstfmon_n30y20: Likewise.
8872 * localedata/tst-fmon-locales/tstfmon_n41n00: Likewise.
8873 * localedata/tst-fmon-locales/tstfmon_y01y10: Likewise.
8874 * localedata/tst-fmon-locales/tstfmon_y02n22: Likewise.
8875 * localedata/tst-fmon-locales/tstfmon_y22n42: Likewise.
8876 * localedata/tst-fmon-locales/tstfmon_y30y21: Likewise.
8877 * localedata/tst-fmon-locales/tstfmon_y32n31: Likewise.
8878 * localedata/tst-fmon-locales/tstfmon_y40y00: Likewise.
8879 * localedata/tst-fmon-locales/tstfmon_y42n21: Likewise.
8881 * stdlib/strfmon.c: Correct problems with missing or extra
8882 spaces for unusual combinations of sign_posn and sep_by_space.
8883 Improved left-precision alignment code.
8885 2000-04-07 Andreas Jaeger <aj@suse.de>
8887 * posix/Makefile (CFLAGS-regex.c): Remove DEBUG.
8889 2000-04-10 Andreas Jaeger <aj@suse.de>
8891 * intl/Makefile: Don't run do-gettext-test when cross-compiling.
8893 2000-04-09 Ulrich Drepper <drepper@redhat.com>
8895 Implement handling of restartable conversion functions according to
8897 * iconv/gconv.h (__gconv_fct): Add additional parameter.
8898 * iconv/gconv_int.h (__BUILTIN_TRANS): Likewise.
8899 * iconv/gconv.c: Pass additional parameter to conversion function.
8900 * iconv/gconv_simple.c (internal_ucs4_loop_single): New function.
8901 (internal_ucs4le_loop_single): New function.
8902 (__gconv_transform_ascii_internal): Define ONE_DIRECTION.
8903 (__gconv_transform_internal_ascii): Likewise.
8904 (__gconv_transform_internal_utf8): Likewise.
8905 (__gconv_transform_utf8_internal): Likewise.
8906 (__gconv_transform_ucs2_internal): Likewise.
8907 (__gconv_transform_internal_ucs2): Likewise.
8908 (__gconv_transform_ucs2reverse_internal): Likewise.
8909 (__gconv_transform_internal_ucs2reverse): Likewise.
8910 (internal_ucs4le_loop_unaligned): Before return
8911 __GCONV_INCOMPLETE_INPUT check that the remaining bytes really form
8912 a valid character. Otherwise return __GCONV_ILLEGAL_INPUT.
8913 (__gconv_transform_utf8_internal): Define STORE_REST and UNPACK_BYTES.
8914 * iconv/loop.c: Fit in definition of function to convert one character
8915 for processing of left-over bytes from the state object.
8916 * iconv/skeleton.c (gconv): Rename inbuf to inptrp and inbufend to
8917 inend to match names in loop functions.
8918 (RESET_INPUT_BUFFER): Change apprpriately.
8919 (gconv): If needed, call function to process bytes from the state
8920 object. Similar at the end: store left over bytes if input is
8922 Take extra argument and add new argument to all calls of the
8923 conversion function.
8924 * iconvdata/iso-2022-cn.c: Adjust numeric values used to store
8925 information in the state object to not conflict with length count.
8926 * iconvdata/iso-2022-jp.c: Likewise.
8927 * iconvdata/iso-2022-kr.c: Likewise.
8928 * iconvdata/unicode.c: Adjust for change change in parameters of
8930 * iconvdata/utf-16.c: Likewise.
8931 * libio/iofwide.c: Add new parameter to all calls of conversion
8933 * wcsmbs/btowc.c: Likewise.
8934 * wcsmbs/mbrtowc.c: Likewise.
8935 * wcsmbs/mbsnrtowcs.c: Likewise.
8936 * wcsmbs/mbsrtowcs.c: Likewise.
8937 * wcsmbs/wcrtomb.c: Likewise.
8938 * wcsmbs/wcsnrtombs.c: Likewise.
8939 * wcsmbs/wcsrtombs.c: Likewise.
8940 * wcsmbs/wctob.c: Likewise.
8942 * iconvdata/gbgbk.c: Always define MAX_NEEDED_OUTPUT and
8945 2000-04-07 Andreas Jaeger <aj@suse.de>
8947 * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Updated for
8950 2000-04-07 Ulrich Drepper <drepper@redhat.com>
8952 * wcsmbs/wchar.h (__mbstate_t): Rename elements. Make __value
8953 element a union to allow byte access.
8954 * iconvdata/iso-2022-cn.c: Adjust for change of element name in
8956 * iconvdata/iso-2022-jp.c: Likewise.
8957 * iconvdata/iso-2022-kr.c: Likewise.
8958 * wcsmbs/mbsinit.c: Likewise.
8959 * stdlib/mblen.c: Likewise.
8960 * stdio-common/printf-parse.h: Likewise.
8962 2000-04-06 Ulrich Drepper <drepper@redhat.com>
8964 * sysdeps/unix/sysv/linux/getdents.c (__getdents): The Linux
8965 kernel does not allow relative seeks on descriptors associated
8966 with directories. Go back to get the position in the directory
8967 every time we enter the function. Return -1 and set errno if one
8968 entry could be read from the kernel but does not fit into the
8969 buffer passed in by the user.
8971 * locale/programs/charmap.c (charmap_new_char): Add parameter step.
8972 Support ..(2).. ellipsis.
8973 (parse_charmap): Recognize ..(2).. etc and pass step down.
8974 Correctly generate names for UCS4 characters.
8976 * locale/programs/ld-ctype.c (struct translit_ignore_t): Add step.
8977 (ctype_finish): We know the wide character value for <SP>,
8979 (charclass_symbolic_ellipsis): Handle ..(2).. ellipsis.
8980 (charclass_ucs4_ellipsis): Likewise.
8981 (read_translit_ignore_entry): Store ellipsis step.
8982 (ctype_read): Recognize ..(2).. etc and pass step down.
8984 * locale/programs/linereader.c (lr_token): When seeing comment
8985 character ignore only rest of line in sources but stop at escaped
8987 Recognize ..(2).. and ....(2).....
8989 * locale/programs/locfile-token.h (enum token_t): Add tok_ellipsis2_2
8990 and tok_ellipsis4_2.
8992 2000-04-06 Andreas Jaeger <aj@suse.de>
8994 * sysdeps/unix/sysv/linux/alpha/Dist: init-first.h has been
8995 removed, remove it here also.
8996 * sysdeps/unix/sysv/linux/arm/Dist: Likewise.
8997 * sysdeps/unix/sysv/linux/powerpc/Dist: Likewise.
8998 * sysdeps/unix/sysv/linux/sparc/sparc32/Dist: Likewise.
8999 * sysdeps/unix/sysv/linux/sparc/sparc64/Dist: Likewise.
9001 2000-04-06 Jakub Jelinek <jakub@redhat.com>
9003 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Don't
9004 include bits/sigcontext.h.
9005 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
9007 2000-04-06 Ulrich Drepper <drepper@redhat.com>
9009 * locale/programs/ld-collate.c (collate_read): Handle ellipsis in
9010 collation symbol definition. Value in quivalence definition must
9011 be defined, don't check that it is not.
9013 * locale/programs/charmap.c (parse_charmap): Recognize <Uxxxx>
9014 values as character names.
9016 * locale/programs/ld-ctype.c (get_character): Handle missing
9017 repertoire map correctly.
9019 2000-04-05 Cristian Gafton <gafton@redhat.com>
9021 * ctype/ctype.h (__isctype_l): Define even if not __OPTIMIZE__
9022 because it is used in generic code.
9023 * wctype/wctrans.c: Define __ctype32_toupper and __ctype32_tolower.
9024 * wcsmbs/wcwidth.h: Declare __ctype32_b.
9025 * intl/gettext.c: Include <locale.h>.
9026 * intl/ngettext.c: Likewise.
9028 2000-04-05 Jakub Jelinek <jakub@redhat.com>
9030 * resolv/inet_ntop.c (inet_ntop4, inet_ntop6, inet_ntop): Use
9031 socklen_t type for size.
9032 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Rewrite for new
9033 init function interface.
9034 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
9035 * sysdeps/unix/sysv/linux/sparc/bits/setjmp.h: Don't include
9037 (__jmp_buf): Declare the whole type structure here, don't use
9040 2000-04-05 Ulrich Drepper <drepper@redhat.com>
9042 * iconv/skeleton.c (put16u): Fix typo.
9043 Reported by Bruno Haible <haible@ilog.fr>.
9045 * sysdeps/unix/sysv/linux/alpha/init-first.h: Not needed anymore.
9046 * sysdeps/unix/sysv/linux/arm/init-first.h: Likewise.
9047 * sysdeps/unix/sysv/linux/mips/init-first.h: Likewise.
9048 * sysdeps/unix/sysv/linux/powerpc/init-first.h: Likewise.
9049 * sysdeps/unix/sysv/linux/sparc/sparc32/init-first.h: Likewise.
9050 * sysdeps/unix/sysv/linux/sparc/sparc64/init-first.h: Likewise.
9052 * sysdeps/unix/sysv/linux/Dist: Remove getresuid and getresgid.
9053 * Makefile (distribute): Add abi-versions.awk and
9055 Patches by Torsten Duwe <duwe@caldera.de>.
9057 2000-04-05 Andreas Schwab <schwab@suse.de>
9059 * nss/Makefile ($(objpfx)makedb): Move $(libdl) after db-open.o.
9061 2000-04-05 Andreas Schwab <schwab@suse.de>
9063 * sysdeps/m68k/dl-machine.h (RTLD_START): Readd _dl_start_user
9064 entry point, used on Hurd.
9066 2000-04-04 Andreas Jaeger <aj@suse.de>
9068 * intl/Makefile: Only run the gettext test with shared libraries.
9070 2000-03-16 Mark Kettenis <kettenis@gnu.org>
9072 * sysdeps/unix/sysv/linux/i386/sys/procfs.h (prfpregset_t):
9073 Typedef for elf_fpregset_t instead of `elf_fpregset_t *'.
9075 2000-04-05 Roland McGrath <roland@baalperazim.frob.com>
9077 * Makeconfig: Undo last change.
9078 * configure.in: If --disable-shared was given, don't set VERSIONING,
9079 don't define DO_VERSIONING, and don't give scare warning for no
9081 * configure: Regenerated.
9083 2000-04-04 Roland McGrath <roland@baalperazim.frob.com>
9085 * Makeconfig [$(build-shared) != yes] (versioning): Set to `no'.
9087 2000-04-04 Andreas Jaeger <aj@suse.de>
9089 * sysdeps/generic/fgetexcptflg.c: Use shlib-compat macros.
9091 2000-04-04 Ulrich Drepper <drepper@redhat.com>
9093 * elf/dl-runtime.c (fixup): Correct handling of symbols marked
9094 STV_HIDDEN and STV_INTERNAL during lookup.
9095 (profile_fixup): Likewise.
9096 * elf/dl-reloc.c (RESOLVE): Likewise.
9098 * iconv/skeleton.c (FUNCTION_NAME): Reorder initialization of
9099 unaligned so that it compiles for system which need unaligned
9102 2000-04-04 Andreas Schwab <schwab@suse.de>
9104 * elf/cache.c (print_entry): Only look at the type field when
9107 2000-04-04 Andreas Schwab <schwab@suse.de>
9109 * iconvdata/big5.c (BODY): Fix typo.
9111 2000-04-04 Andreas Schwab <schwab@suse.de>
9113 * sysdeps/m68k/dl-machine.h (RTLD_START): Rewrite for new init
9114 function interface. Remove unused _dl_start_user entry point.
9116 2000-04-03 Andreas Jaeger <aj@suse.de>
9118 * include/arpa/inet.h (__inet_aton): Add protoype.
9120 2000-04-01 Andreas Jaeger <aj@suse.de>
9122 * sysdeps/mach/hurd/mips/init-first.c: Use SHARED instead of PIC.
9124 * sysdeps/unix/mips/sysdep.h: Use __PIC__ instead of PIC.
9125 * sysdeps/mach/mips/thread_state.h: Likewise.
9127 * sysdeps/generic/fclrexcpt.c: Use shlib-compat macros.
9128 * sysdeps/generic/fegetenv.c: Likewise.
9129 * sysdeps/generic/fesetenv.c: Likewise.
9130 * sysdeps/generic/feupdateenv.c: Likewise.
9131 * sysdeps/generic/fraiseexcpt.c: Likewise.
9132 * sysdeps/generic/fsetexcptflg.c: Likewise.
9133 * sysdeps/unix/sysv/linux/alpha/glob.c: Likewise.
9134 * sysdeps/unix/sysv/linux/arm/errlist.c: Likewise.
9135 * sysdeps/unix/sysv/linux/errlist.c: Likewise.
9136 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
9138 2000-04-02 H.J. Lu <hjl@gnu.org>
9140 * elf/ldconfig.h (FLAG_IA64_LIB64): New. Defined.
9142 2000-04-03 Ulrich Drepper <drepper@redhat.com>
9144 * elf/dl-load.c (_dl_dst_substitute): Pretty print comment.
9145 (add_name_to_object): Add cast in malloc call.
9146 (fillin_rpath): Optimize loop to initialize ->status a bit.
9148 * sysdeps/i386/dl-machine.h: Undo last change.
9149 * sysdeps/mach/hurd/i386/dl-machine.h (RTLD_START_SPECIAL_INIT):
9150 Restore %edx register after call here.
9152 * sysdeps/arm/atomicity.h: New file.
9153 Contributed by Jesper Skov <jskov@redhat.com>.
9155 2000-04-03 Roland McGrath <roland@baalperazim.frob.com>
9157 * Makeconfig (preprocess-versions): Undo last change.
9158 Instead, pass -I$(common-objdir) -I$(..)include instead of $(CPPFLAGS).
9160 * sysdeps/mach/hurd/i386/init-first.c (init): Don't set __environ
9161 here, before we might move the stack.
9162 (posixland_init): Set __libc_argc, __libc_argc, and __environ here.
9163 (init1): And not here.
9165 * sysdeps/i386/dl-machine.h (RTLD_START): Fix code broken by last
9166 change, to restore argc value in call-clobbered register after
9167 RTLD_START_SPECIAL_INIT, which will contain a call.
9169 * elf/dl-deps.c (_dl_map_object_deps): Fix size calculations for
9170 allocating and initializing L->l_initfini.
9172 * resolv/Makefile (headers): Add bits/netdb.h, so it gets installed.
9174 2000-04-03 Ulrich Drepper <drepper@redhat.com>
9176 * elf/dl-load.c (_dl_init_paths): Use (void*) -1 to signal non-existing
9177 RUNPATH, RPATH, and LD_LIBRARY_PATH.
9178 (open_path): Change type of fourth parameter. Make pointer to array
9179 of pointers. Create variable dirs with original type.
9180 Track whether any directory for the object exists and if not,
9181 change *DIRSP to (void*) -1 to signal there is no such search path.
9182 (_dl_map_object): Change all calls of open_path.
9183 Rewrite decompose_rpath calls.
9185 2000-03-31 Andreas Schwab <schwab@suse.de>
9187 * string/strfry.c: Declare STATE as array of char instead of int
9188 and do not initialize it (done by initstate_r). Pass correct
9191 2000-04-03 Ulrich Drepper <drepper@redhat.com>
9193 * sysdeps/generic/ldsodefs.h: Fix typo in comment.
9195 * sysdeps/i386/dl-machine.h (RTLD_START): Squeeze one more
9196 instruction out of the code.
9198 2000-04-02 Ulrich Drepper <drepper@redhat.com>
9200 * elf/dl-fini.c (_dl_fini): Increment j counter after swapping in
9201 element at this position.
9203 * elf/Versions [ld.so] (GLIBC_2.2): Export _dl_load_lock.
9204 * elf/link.h (struct link_map): Add l_reldepsmax, l_reldepsact, and
9206 * elf/dl-lookup.c (add_dependency): New function.
9207 (_dl_lookup_symbol): Use it whenever symbol was found in a global,
9208 dynamically loaded object.
9209 (_dl_lookup_symbol_skip): Likewise.
9210 (_dl_lookup_versioned_symbol): Likewise.
9211 (_dl_lookup_versioned_symbol_skip): Likewise.
9212 * elf/dl-open.c: Don't define _dl_load_lock here...
9213 * elf/rtld.c: ...but here...
9214 * elf/dl-support.c: ...and here.
9215 * elf/dl-close.c (_dl_close): Close also dependent objects introduce
9217 * elf/dl-fini.c (_dl_fini): Also take dependencies introduced through
9219 * dlfcn/Makefile (glrefmain.out): Test is not expected to fail
9221 * dlfcn/glrefmain.c: Add one more debug message.
9223 * Makeconfig (preprocess-versions): Don't add $(CPPFLAGS) to compiler
9225 * Makerules (sysd-versions): Use ( ) instead of { }.
9227 * elf/dl-load.c: Use __builtin_expect to signal that compiler should
9228 optimize for the non-debugging case.
9229 * elf/dl-lookup.c: Likewise.
9230 * sysdeps/generic/libc-start.c: Likewise.
9232 2000-04-02 Roland McGrath <roland@baalperazim.frob.com>
9234 * sysdeps/mach/hurd/i386/init-first.c: Replace PIC #ifdefs with SHARED.
9235 (init1): Don't initialize __environ here, since init already does it.
9236 (first_init): New function, broken out of _init.
9237 (_hurd_stack_setup): Use it.
9238 [SHARED] (_dl_init_first): New function, renamed from old _init.
9239 (init1) [SHARED]: Don't call posixland_init here.
9240 (posixland_init): Take ENVP arg, so signature is usual for initializer.
9241 [SHARED] (_init): Define as alias for posixland_init.
9242 [! SHARED] (__libc_first_init): Define as alias for posixland_init.
9243 * sysdeps/i386/dl-machine.h (RTLD_START): Insert the macro
9244 RTLD_START_SPECIAL_INIT before calling initializers.
9245 (RTLD_START_SPECIAL_INIT): Define to empty if undefined.
9246 * sysdeps/mach/hurd/i386/dl-machine.h: New file.
9247 * sysdeps/mach/hurd/dl-sysdep.c (_dl_init_first): New weak function.
9248 * elf/Versions ({libc,ld.so}: GLIBC_2.2): Add _dl_init_first.
9250 * stdio-common/tmpfile.c [! USE_IN_LIBIO]: No alias needed,
9251 since we define the function with the name `tmpfile'.
9253 * mach/Versions: Define SHARED instead of PIC to affect shlib-compat.h.
9254 * hurd/Versions: Likewise.
9256 2000-04-02 Ulrich Drepper <drepper@redhat.com>
9258 * elf/dl-runtime.c (fixup): Fix typo in comment.
9260 * resolv/netdb.h (getnameinfo): All length parameters are of type
9262 * inet/getnameinfo.c: Likewise.
9264 2000-04-01 Ulrich Drepper <drepper@redhat.com>
9266 * posix/unistd.h (socklen_t): Define if it has not yet happened.
9267 (gethostname): Change type of second parameter to socklen_t.
9268 * include/unistd.h (__gethostname): Change type of second
9269 parameter to socklen_t.
9270 * sysdeps/generic/gethostname.c (__gethostname): Likewise.
9271 * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
9272 * sysdeps/unix/sysv/gethostname.c (__gethostname): Likewise.
9273 * sysdeps/unix/sysv/sysv4/solaris2/gethostname.c (__gethostname):
9275 * sysdeps/unix/sysv/linux/gethostname.c: Removed.
9276 * sysdeps/generic/bits/socket.h: Use __socklen_t to define socklen_t.
9277 Allow definition elsewhere.
9278 * sysdeps/unix/sysv/aix/bits/socket.h: Likewise.
9279 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
9280 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
9281 * sysdeps/generic/bits/types.h: Define __socklen_t.
9282 * sysdeps/unix/sysv/aix/bits/types.h: Likewise.
9283 * sysdeps/unix/sysv/hpux/bits/types.h: Likewise.
9284 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
9285 * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
9286 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
9287 * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
9288 * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
9290 * inet/arpa/inet.h (inet_addr): Change return type to in_addr_t.
9291 (inet_lnaof): Likewise.
9292 (inet_netof): Likewise.
9293 (inet_network): Likewise.
9294 (inet_aton): Likewise.
9295 (inet_makeaddr): Change parameter types to in_addr_t.
9296 (inet_neta): Likewise.
9297 (inet_ntop): Change type of last parameter to socklen_t.
9298 (inet_aton): Only make available if __USE_MISC.
9299 (inet_neta): Likewise.
9300 (inet_net_ntop): Likewise.
9301 (inet_net_pton): Likewise.
9302 (inet_nsap_ntoa): Likewise.
9304 * inet/in.h: Define in_port_t type.
9305 Define in_addr_t type.
9306 (struct in_addr): Use in_addr_t in definition.
9307 (IN_CLASSA): Use cast to in_addr_t.
9308 (IN_CLASSB): Likewise.
9309 (IN_CLASSC): Likewise.
9310 (IN_CLASSD): Likewise.
9311 (IN_EXPERIMENTAL): Likewise.
9312 (IN_BADCLASS): Likewise.
9313 (INADDR_ANY): Likewise.
9314 (INADDR_BROADCAST): Likewise.
9315 (INADDR_NONE): Likewise.
9316 (INADDR_LOOPBACK): Likewise.
9317 (INADDR_UNSPEC_GROUP): Likewise.
9318 (INADDR_ALLHOSTS_GROUP): Likewise.
9319 (INADDR_ALLRTRS_GROUP): Likewise.
9320 (INADDR_MAX_LOCAL_GROUP): Likewise.
9321 (struct sockaddr_in): Use in_port_t for sin_port element.
9322 (struct sockaddr_in6): Use in_port_t for sin6_port element.
9323 Use uint8_t instead of u_int8_t.
9325 * resolv/inet_addr.c (inet_addr): Change return type to in_addr_t.
9326 Call __inet_aton instead of inet_aton.
9327 (__inet_aton): Renamed from inet_aton. Add weak alias under old name.
9329 * resolv/netdb.h (gethostbyname2): Define only is __USE_MISC.
9330 (innetgr): Likewise.
9331 (struct addrinfo): Use socklen_t for ai_addrlen element.
9333 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_MTU_DISCOVER, IPV6_MTU,
9334 IPV6_RECVERR): New defines.
9336 * include/netdb.h: Change type of first parameter of __getnetbyaddr_r.
9337 * inet/getnetbyad.c: Likewise.
9338 * inet/getnetbyad_r.c: Likewise.
9339 * nis/nss_nis/nis-network.c: Likewise.
9340 * nis/nssplus_nis/nisplus-network.c: Likewise.
9341 * nss/nss_files/files-network.c: Likewise.
9342 * resolv/netdb.h: Define uint32_t if not already happened.
9343 Include bits/netdb.h. Remove definition of struct netent.
9344 Change type of first parameter of getnetbyaddr_r and getnetbyaddr.
9345 * sysdeps/generic/stdint.h: Allow definition of uint32_t elsewhere.
9346 * sysdeps/generic/bits/netdb.h: New file.
9347 * sysdeps/unix/sysv/linux/alpha/bits/netdb.h: New file.
9349 * dlfcn/Makefile (distribute): Add glreflib1.c and glreflib2.c.
9350 (tests): Add glrefmain.
9351 Add rules to build modules and run tests. Ignore result of glrefmain
9352 for now since it fails.
9353 * dlfcn/glrefmain.c: New file.
9354 * dlfcn/glreflib1.c: New file.
9355 * dlfcn/glreflib2.c: New file.
9357 * test-skeleton.c: Include <string.h> for strsignal prototype.
9359 * locale/programs/ld-collate.c (check_duplicate): Allow repertoire
9362 * sysdeps/unix/sysv/linux/init-first.c (init): Add code from
9363 former init-first.h. Initialize __libc_multiple_libcs.
9365 2000-03-31 Ulrich Drepper <drepper@redhat.com>
9367 * iconv/skeleton.c: Define access macros with u suffix. Adjust
9368 #if expression for use of unaligned function to the one used in
9369 the definition of these functions.
9370 * iconv/loop.c: Undefined `unaligned' before recursive inclusion.
9371 * iconv/gconv_simple.c (internal_ucs4_loop_unaligned): New function.
9372 (internal_ucs4le_loop_unaligned): New function.
9374 * elf/Makefile (distribute): Add dep1.c, dep2.c, dep3.c, and dep4.c.
9376 (module-names): Add dep1, dep2, dep3, and dep4.
9377 Add dependencies for dep* modules and order.
9378 Define rule for order.out which checks the result.
9379 * elf/dep1.c: New file.
9380 * elf/dep2.c: New file.
9381 * elf/dep3.c: New file.
9382 * elf/dep4.c: New file.
9383 * elf/order.c: New file.
9385 * elf/dl-init.c: Fix typo in comment.
9387 2000-03-31 Andreas Jaeger <aj@suse.de>
9389 * sysdeps/mips/dl-machine.h (RTLD_START): Rewritten to match new
9390 init function interface.
9391 * sysdeps/mips/mips64/dl-machine.h (RTLD_START): Likewise.
9393 2000-03-31 Andreas Jaeger <aj@suse.de>
9395 * sysdeps/mips/fpu/fgetexcptflg.c: Fix last patch to use #if.
9396 * sysdeps/mips/fpu/fegetenv.c: Likewise.
9397 * sysdeps/mips/fpu/feupdateenv.c: Likewise.
9398 * sysdeps/mips/fpu/fclrexcpt.c: Likewise.
9399 * sysdeps/mips/fpu/fesetenv.c: Likewise.
9401 * sysdeps/generic/ldsodefs.h: DT_INIT_ARRAY is not relocated
9402 anymore, update comment.
9404 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
9406 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Remove
9407 SHLIB_COMPAT - the struct is always needed.
9409 2000-03-31 Ulrich Drepper <drepper@redhat.com>
9411 * sysdeps/i386/dl-machine.h (RTLD_START): Optimize for i686.
9412 * elf/dl-support.c: Define _dl_starting_up.
9414 2000-03-30 Ulrich Drepper <drepper@redhat.com>
9416 * elf/dl-init.c (_dl_init): Clear _dl_starting_up at end of function.
9417 * sysdeps/i386/dl-machine.h: Remove code to clear _dl_starting_up.
9419 * misc/sys/cdefs.h: Don't allow gcc in traditional mode to be used.
9421 * elf/Makefile (dl-routines): Remove preinit.
9422 * elf/Versions: Remove _dl_preinit.
9423 * elf/dl-preinit.c: Removed. Move content into...
9424 * elf/dl-init.c: ...here.
9425 * sysdeps/i386/dl-machine.h (RTLD_START): Remove call to _dl_preinit.
9427 * sysdeps/generic/bits/shm.h (struct shmid_ds): Correct names of
9430 2000-03-29 Geoff Clare <gwc@unisoft.com>
9432 * stdlib/strfmon.c: Corrected problems with the code that
9433 sets default values for [np]_sep_by_space and
9434 [np]_sign_posn; also the new positive/negative alignment
9435 code from the previous patch was not quite right for
9438 * localedata/tst-fmon.data: Changes corresponding to the
9439 two sets of fixes made to stdlib/strfmon.c.
9441 2000-03-29 Jes Sorensen <jes@pcatls01.cern.ch>
9443 * malloc/malloc.c: Declare bit flags UL so that they will not
9444 default to int size when being inverted.
9446 2000-03-29 Andreas Jaeger <aj@suse.de>
9448 * sysdeps/unix/sysv/linux/arm/errlist.c: Use shlib-compat macros.
9449 * sysdeps/unix/sysv/linux/arm/siglist.c: Likewise.
9451 2000-03-29 Andreas Jaeger <aj@suse.de>,
9452 Ralf Baechle <ralf@uni-koblenz.de>
9454 * Makeconfig: Introduce new variable SHARED to mark code used in
9456 * elf/dl-close.c: Use it instead of PIC.
9457 * elf/dl-load.c: Likewise.
9458 * elf/dl-open.c: Likewise.
9459 * hurd/geteuids.c: Likewise.
9460 * include/libc-symbols.h: Likewise.
9461 * include/shlib-compat.h: Likewise.
9462 * libio/freopen.c: Likewise.
9463 * linuxthreads/cancel.c: Likewise.
9464 * linuxthreads/pthread.c: Likewise.
9465 * linuxthreads/wrapsyscall.c: Likewise.
9466 * nss/nsswitch.c: Likewise.
9467 * stdio-common/vfprintf.c: Likewise.
9468 * sysdeps/arm/init-first.c: Likewise.
9469 * sysdeps/i386/init-first.c: Likewise
9470 * sysdeps/generic/init-first.c: Likewise.
9471 * sysdeps/generic/libc-start.c: Likewise.
9472 * sysdeps/mips/init-first.c: Likewise.
9473 * sysdeps/powerpc/elf/libc-start.c: Likewise.
9474 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
9475 * sysdeps/unix/sysv/linux/arm/siglist.c: Likewise.
9476 * sysdeps/unix/sysv/linux/arm/errlist.c: Likewise.
9477 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
9479 * sysdeps/mips/machine-gmon.h (asm): Use __PIC__ as check.
9481 2000-03-29 Andreas Jaeger <aj@suse.de>
9483 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_runtime_setup):
9484 Use D_PTR to access relocated entries in l_info.
9485 (elf_machine_rela): Likewise.
9487 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_runtime_setup):
9489 (elf_machine_rela): Likewise.
9491 * sysdeps/powerpc/dl-machine.c (__elf_machine_runtime_setup):
9493 (__elf_machine_fixup_plt): Likewise.
9494 (__process_machine_rela): Likewise.
9496 * sysdeps/m68k/dl-machine.h (elf_machine_runtime_setup): Likewise.
9497 (elf_machine_rela): Likewise.
9499 * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): Likewise.
9500 (elf_machine_rel): Likewise.
9502 * sysdeps/alpha/dl-machine.h (elf_machine_runtime_setup): Likewise.
9503 (elf_machine_fixup_plt): Likewise.
9504 (elf_machine_rela): Likewise.
9506 2000-03-29 Andreas Jaeger <aj@suse.de>
9508 * sysdeps/unix/sysv/linux/msgctl.c: Use shlib-compat macros.
9509 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
9510 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
9511 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Likewise.
9512 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
9513 * sysdeps/unix/sysv/linux/i386/msgctl.c: Likewise.
9514 * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Likewise.
9515 * sysdeps/unix/sysv/linux/i386/semctl.c: Likewise.
9516 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
9517 * sysdeps/unix/sysv/linux/i386/shmctl.c: Likewise.
9518 * sysdeps/unix/sysv/linux/alpha/msgctl.c: Likewise.
9519 * sysdeps/unix/sysv/linux/alpha/semctl.c: Likewise.
9520 * sysdeps/unix/sysv/linux/alpha/shmctl.c: Likewise.
9521 * sysdeps/unix/sysv/linux/alpha/adjtime.c: Likewise.
9522 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
9524 * sysdeps/unix/sysv/linux/alpha/oldglob.c: Use shlib-compat
9525 macros, remove K&R prototypes.
9527 2000-03-30 Ulrich Drepper <drepper@redhat.com>
9529 * posix/getopt.c (_getopt_internal): Return -1 if argc < 1.
9530 Reported by Andrew Wiseman <a.wiseman@bandc.dircon.co.uk>
9533 2000-03-30 Andreas Jaeger <aj@suse.de>
9535 * misc/sys/cdefs.h: Remove K&R support.
9537 2000-03-30 Ulrich Drepper <drepper@redhat.com>
9539 * iconv/skeleton.c: Avoid compiling unaligned versions in some
9541 * iconv/loop.c: Likewise.
9543 2000-03-29 Bruno Haible <haible@clisp.cons.org>
9545 * iconv/loop.c (put16): Remove __const. Fix access index.
9546 (put32): Remove __const. Use uint32_t instead of uint16_t.
9547 * iconv/skeleton.c: Likewise.
9549 2000-03-30 Roland McGrath <roland@baalperazim.frob.com>
9551 * mach/Versions (libc: GLIBC_2.0)
9552 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)]: Conditionalize
9553 __vm_allocate on this.
9554 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)]: Conditionalize
9555 mutex- and spinlock-related symbols on this.
9556 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)] (libc: HURD_CTHREADS_0.3):
9557 New version set. Lock-related symbols go here instead in this case.
9558 * sysdeps/mach/hurd/Versions (libc: GLIBC_2.0): Remove
9559 _cthread_exit_routine, _cthread_init_routine, cthread_keycreate,
9560 cthread_getspecific, cthread_setspecific, __libc_getspecific.
9562 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)] (libc: GLIBC_2.0):
9563 Put them here instead.
9564 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)] (libc: HURD_CTHREADS_0.3):
9565 New version set. Those cthreads symbols go here instead in this case.
9566 * Versions.def (libc) [USE_IN_LIBIO]: Add HURD_CTHREADS_0.3 version.
9568 2000-03-30 Ulrich Drepper <drepper@redhat.com>
9570 * elf/dl-init.c (_dl_init): We don't need to call constructors
9571 recursively. Fold _dl_init_rec in _dl_init and optimize a bit more.
9573 Implement dynamic determination of constructor/destructor order in
9575 * elf/Versions [ld.so] (GLIBC_2.0): Remove _dl_init_next.
9576 (GLIBC_2.2): Add _dl_init.
9577 * elf/dl-close.c: Also call all destructors in FINI_ARRAY.
9578 r_duplist is not anymore allocated separately. l_initfini is and
9579 therefore free it if necessary.
9580 * elf/dl-deps.c: If a searchlist has to be allocated, put all in one
9581 malloc block. Otherwise allocate l_initfini list only.
9582 Put dependencies for the object in l_initfini list.
9583 Sort dependencies for the object to be loaded topologically.
9584 * elf/dl-fini.c: Before running the destructors sort the topologically.
9585 * elf/dl-init.c (_dl_init): Renamed from _dl_init_next. Rewrite to
9586 call constructors instead of iterating over the pointers. Get list of
9587 objects for which to run constructors from l_initfini element. Accept
9588 argc, argv, and env as parameters and pass them to the constructors.
9589 * elf/ld-load.c (_dl_map_object_from_fd): Initialize l_ldnum member
9590 with size of dynamic section.
9591 * elf/dl-open.c (dl_open_worker): Only call _dl_init instead of
9592 _dl_init_next and calling constructors ourself.
9593 * elf/dl-preinit.c (_dl_preinit): Renamed from _dl_preinit_next.
9594 Take argc, argv, and env as parameters and pass them to the
9595 constructors. Rewrite to call all constructors and not iterate over
9597 * elf/dynamic-link.h: Don't relocate DT_FINI_ARRAY entry. Don't
9598 precompute l_initcount and l_preinitcount.
9599 * elf/link.h (struct link_map): Add l_ldnum member.
9600 Make l_phdr_allocated part of the bitfield. Remove l_runcount,
9601 l_initcount, and l_preinitcount. Add l_initfini.
9602 * sysdeps/generic/ldsodefs.h: Replace _dl_init_next prototype with
9604 * sysdeps/i386/dl-machine (RTLD_START): Rewrite to match new init
9606 * sysdeps/unix/sysv/linux/init-first.h: Removed.
9607 * sysdeps/unix/sysv/linux/Dist: Delete file here as well.
9608 * sysdeps/unix/sysv/linux/init-first.c [PIC]: Don't use
9609 SYSDEP_CALL_INIT. Make _init a strong alias of init. The calling
9610 conventions now match.
9612 * sysdeps/generic/libc-start.c: Calling __libc_init_first has no
9613 effect for shared objects. Don't emit message and call only for
9616 2000-03-29 Ulrich Drepper <drepper@redhat.com>
9618 * iconvdata/testdata/CSA_Z243.4-1985-1..UCS-2BE: Renamed from
9619 CSA_Z243.4-1985-1..UCS2.
9620 * iconvdata/testdata/ISO-8859-10..UCS-2BE: Renamed from
9623 2000-03-29 Andreas Jaeger <aj@suse.de>
9625 * include/unistd.h: Remove duplicate entry for __rmdir.
9626 Remove declaration of __mkdir since __mkdir is declared in
9629 * manual/creature.texi (Feature Test Macros): Fix typo, reported
9630 by Michael Deutschmann <michael@talamasca.ocis.net>.
9632 * sysdeps/mips/fpu/fclrexcpt.c: Use shlib-compat macros.
9633 * sysdeps/mips/fpu/fegetenv.c: Likewise.
9634 * sysdeps/mips/fpu/fesetenv.c: Likewise.
9635 * sysdeps/mips/fpu/feupdateenv.c: Likewise.
9636 * sysdeps/mips/fpu/fgetexcptflg.c: Likewise.
9638 2000-03-28 Andreas Jaeger <aj@suse.de>
9640 * sysdeps/i386/fpu/bits/mathinline.h (__sincos): Remove redundant
9641 declaration, the prototype is defined via bits/mathcalls.h.
9642 (__sincosf): Likewise.
9643 (__sincosl): Likewise.
9647 (__finite): Likewise.
9648 (__inline_mathcodeNP): New macro without prototype
9650 (__inline_mathcodeNP2): Likewise.
9651 (__inline_mathcodeNP3): Likewise.
9652 (__inline_mathcodeNP_): Likewise.
9653 (__inline_mathcodeNP2_): Likewise.
9654 (__inline_mathcodeNP3_): Likewise.
9655 (__inline_mathopNP): Likewise.
9656 (__inline_mathop_declNP): Likewise.
9657 (__inline_mathop_declNP_): Likewise.
9658 (__inline_mathcode_): Use __inline_mathcodeNP_.
9659 (__inline_mathcode2_): Use __inline_mathcodeNP2_.
9660 (__inline_mathcode3_): Use __inline_mathcodeNP3_.
9661 (__inline_mathop_decl_): Use __inline_mathop_declNP__.
9662 (__expm1l): Don't define prototype, the prototype is defined via
9668 (__atan2l): Likewise.
9673 (__fabsl): Likewise.
9691 (__sqrtl): Likewise.
9701 2000-03-28 Ulrich Drepper <drepper@redhat.com>
9703 * Makerules: If make variable md5 is defined to yes after
9704 generating dependencies generate MD5 sum for the object.
9706 * iconv/gconv_builtin.h: Fix length in transformation definition
9709 * iconvdata/TESTS: Use UCS-2BE instead of UCS2.
9711 * iconv/loop.c: Define get16, get32, put16, and put32 macros to
9712 allow as well reading from/writing to unaligned addresses on machines
9713 which don't support this in hardware. Use FCTNAME macro to define
9714 function name. Include the file a second time for platforms which
9715 need special unaligned handling.
9716 * iconv/skeleton.c: Define get16u, get32u, put16u, and put32u macros
9717 to access potentially unaligned addresses. These macros are intended
9718 to be used only outside the loops.
9719 (unaligned): New definition. In case the machine can handle unaligned
9720 access define as zero. Otherwise as a variable which is initialized
9721 as nonzero in case the buffer passed in at runtime is unaligned with
9722 respect to the character set encoding involved.
9723 Call aligned or unaligned looop functions according to unaligned
9725 * iconvdata/8bit-gap.c: Use get16, get32, put16, and put32 instead
9726 of direct casting pointer to potentially handle unaligned memory
9728 * iconvdata/8bit-generic.c: Likewise.
9729 * iconvdata/ansi_x3.110.c: Likewise.
9730 * iconvdata/big5.c: Likewise.
9731 * iconvdata/euc-cn.c: Likewise.
9732 * iconvdata/euc-jp.c: Likewise.
9733 * iconvdata/euc-kr.c: Likewise.
9734 * iconvdata/euc-tw.c: Likewise.
9735 * iconvdata/gbk.c: Likewise.
9736 * iconvdata/iso-2022-cn.c: Likewise.
9737 * iconvdata/iso-2022-jp.c: Likewise.
9738 * iconvdata/iso-2022-kr.c: Likewise.
9739 * iconvdata/iso646.c: Likewise.
9740 * iconvdata/iso_6937-2.c: Likewise.
9741 * iconvdata/iso_6937.c: Likewise.
9742 * iconvdata/johab.c: Likewise.
9743 * iconvdata/sjis.c: Likewise.
9744 * iconvdata/t.61.c: Likewise.
9745 * iconvdata/uhc.c: Likewise.
9746 * iconvdata/unicode.c: Likewise.
9747 * iconvdata/utf-16.c: Likewise.
9749 * locale/programs/simple-hash.c: Little optimizations. Remove K&R
9752 * malloc/Versions [libc] (GLIBC_2.2): Add mcheck_check_all.
9753 * malloc/mcheck.c (mcheck_check_all): Renamed from check_all and made
9755 * malloc/mcheck.h (mcheck_check_all): Declare.
9757 * stdio-common/Makefile (tests): Add tst-obprintf.
9759 2000-03-28 Roland McGrath <roland@baalperazim.frob.com>
9761 * sysdeps/generic/bits/sigthread.h: Clean up conditionals.
9762 Declare pthread_sigmask.
9764 * csu/version.c: Add 2000 to copyright years.
9765 Remove Emacs local variables section.
9767 2000-03-23 Bruno Haible <haible@clisp.cons.org>
9769 * iconv/gconv_int.h (__gconv_transform_ucs2little_internal,
9770 __gconv_transform_internal_ucs2little): Remove declarations.
9771 * iconv/gconv_simple.c (__gconv_transform_ucs2_internal,
9772 __gconv_transform_internal_ucs2): Never need to bswap_16.
9773 (__gconv_transform_ucs2reverse_internal,
9774 __gconv_transform_internal_ucs2reverse): Always need to bswap_16.
9776 2000-03-27 Roland McGrath <roland@baalperazim.frob.com>
9778 * include/shlib-compat.h (SHLIB_COMPAT): Make the test handle the
9779 obsoleting version not being defined at all, in which case the
9780 result is always true.
9782 * Makeconfig (preprocess-versions): New canned sequence for running
9783 cpp on shlib-versions and the like.
9784 (soversions.i): Use it.
9785 * Makerules (Versions.all, sysd-versions): Use it to preprocess the
9786 Versions.def and Versions files.
9788 2000-03-27 Ulrich Drepper <drepper@redhat.com>
9790 * stdio-common/tst-obprintf.c (main): Add another check to see
9791 obstack_printf handling all possible beginnings of the block
9792 inside an obstack chunk.
9794 * locale/programs/localedef.c: Use __malloc_initialize_hook to
9795 install mcheck handler.
9797 * libio/obprintf.c (_IO_obstack_vprintf): Fix one more memory
9800 2000-03-27 Roland McGrath <roland@baalperazim.frob.com>
9802 * stdio-common/tmpfile.c: Use <shlib-compat.h> macros.
9804 * include/shlib-compat.h: Conditionalize <abi-versions.h> include
9805 on [HAVE_ELF && DO_VERSIONING].
9807 2000-03-27 Ulrich Drepper <drepper@redhat.com>
9809 * stdio-common/tst-obprintf.c: New file.
9811 2000-03-26 Ulrich Drepper <drepper@redhat.com>
9813 * libio/genops.c (_IO_default_xsputn): Little optimization. Call
9814 _IO_OVERFLOW directly instead through __overflow.
9816 * locale/programs/localedef.c (construct_output_path): If path
9817 contains a / compute the end of the directory name correctly.
9819 * include/features.h: Undef and document __USE_XOPEN2K.
9821 * malloc/mcheck.c: Implement pedantic checking of all allocated blocks
9822 whenever a function is called. Initiated by calling mcheck_pedantic
9824 * malloc/mcheck.h: Declare mcheck_pedantic.
9825 * malloc/Versions [libc] (GLIBC_2.2): Add mcheck_pedantic.
9826 * locale/programs/localdef.c: Use mcheck_pedantic instead of mcheck
9829 2000-03-26 Roland McGrath <roland@baalperazim.frob.com>
9831 * dlfcn/dlopen.c: Use <shlib-compat.h> macros.
9832 * dlfcn/dlopenold.c: Likewise.
9833 * nss/getXXbyYY_r.c: Likewise.
9834 * nss/getXXent_r.c: Likewise.
9835 * hurd/hurdinit.c: Likewise.
9836 * hurd/compat-20.c: Likewise.
9837 * libio/oldiofopen.c: Likewise.
9838 * libio/oldiofclose.c: Likewise.
9839 * libio/oldiofdopen.c: Likewise.
9840 * libio/oldfileops.c: Likewise.
9841 * libio/oldstdfiles.c: Likewise.
9842 * libio/oldiofsetpos.c: Likewise.
9843 * libio/oldiofgetpos.c: Likewise.
9844 * libio/oldiofgetpos64.c: Likewise.
9845 * libio/oldiofsetpos64.c: Likewise.
9846 * libio/oldiopopen.c: Likewise.
9847 * libio/oldpclose.c: Likewise.
9848 * libio/oldtmpfile.c: Likewise.
9849 * libio/freopen.c (freopen): Likewise.
9850 * libio/iofclose.c (_IO_new_fclose): Likewise.
9852 * sysdeps/mach/sys/reboot.h: Include <features.h>.
9853 (reboot): Declare it.
9855 * libio/Makefile (headers): Add bits/stdio-lock.h here.
9857 * sysdeps/mach/hurd/bits/stdio-lock.h: New file.
9859 * include/shlib-compat.h: Include <abi-versions.h> unconditionally.
9861 * posix/unistd.h (intptr_t): Conditionalize on [__USE_MISC ||
9862 __USE_XOPEN_EXTENDED] rather than on [__USE_UNIX98].
9863 We need this for the sbrk decl, which can be included without Unix98.
9865 2000-03-20 Richard Henderson <rth@cygnus.com>
9867 * nis/nss_nis/nis-service.c (_nss_nis_getservbyport_r): Last
9868 argument to yperr2nss is an int, not size_t.
9869 * posix/regex.c (print_partial_compiled_pattern): Cast all
9870 ptrdiff_t to long for printing.
9871 (print_compiled_pattern): Use Z for printing size_t.
9872 * posix/testfnm.c (tests): Avoid trigraphs.
9873 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE):
9874 Use a C comment, not an assembly comment.
9876 * sysdeps/unix/sysv/linux/alpha/msgctl.c: Clarify use
9877 of __ASSUME_32BITUIDS.
9879 2000-03-26 Ulrich Drepper <drepper@redhat.com>
9881 * libio/iofopncook.c: Remove K&R prototypes.
9883 2000-03-26 Roland McGrath <roland@baalperazim.frob.com>
9885 * hurd/hurdrlimit.c (init_rlimit): Give the RLIMIT_NOFILE soft limit
9886 an initial value of 1024 instead of RLIM_INFINITY.
9888 * Versions.def (libmachuser, libhurduser): Remove these sections,
9889 since these libraries do not presently use symbol versions.
9891 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): If the resource limit
9892 is RLIM_INFINITY, return -1 instead.
9894 2000-03-24 Andreas Jaeger <aj@suse.de>
9896 * Makefile (postclean): Added soversions.i.
9898 2000-03-24 Scott Bambrough <scottb@netwinder.org>
9900 * sysdeps/arm/fpu/fpu_control.h: Define _FPU_MASK_IM, _FPU_MASK_ZM,
9901 _FPU_MASK_OM, _FPU_MASK_UM, _FPU_MASK_PM, _FPU_MASK_DM, _FPU_DEFAULT,
9902 and _FPU_IEEE. Change _FPU_RESERVED.
9904 2000-03-24 Scott Bambrough <scottb@netwinder.org>
9906 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: New file.
9908 2000-03-24 Roland McGrath <roland@baalperazim.frob.com>
9910 * sysdeps/posix/getaddrinfo.c: Include <net/if.h> for if_nametoindex.
9911 (gaih_inet): Remove unused duplicate variable.
9913 * inet/getnameinfo.c (getnameinfo): Use IFNAMSIZ, not MAXHOSTNAMELEN.
9914 Don't use __libc_sa_len, which only exists for Linux. Just handle
9915 AF_INET and AF_INET6 directly as well as AF_LOCAL, since those are the
9916 only flavors supported by this function anyway.
9918 2000-03-24 Geoff Clare <gwc@unisoft.com>
9920 * stdlib/strfmon.c: Corrected problems with missing signs and
9921 missing or extra spaces; allow for sign strings longer than
9922 one character; add padding to ensure positive and negative
9923 formats are aligned when a left precision is used.
9925 2000-03-26 Ulrich Drepper <drepper@redhat.com>
9927 * stdlib/random_r.c (__setstate_r): Allow RNGs of type 4.
9928 Patch by John Mizel <John.Mizel@msdw.com>.
9930 2000-03-25 Ulrich Drepper <drepper@redhat.com>
9932 * manual/install.texi: Remove references to crypt add-on.
9934 2000-03-25 Roland McGrath <roland@baalperazim.frob.com>
9936 * sysdeps/mach/hurd/setrlimit.c (setrlimit): Go into a critical
9937 section while taking the _hurd_rlimit_lock.
9938 * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
9940 2000-03-24 Roland McGrath <roland@baalperazim.frob.com>
9942 * Makerules [$(cross-compiling) = yes] (symbolic-link-prog): Define
9945 * sysdeps/mach/hurd/if_index.c: New file.
9947 * sysdeps/unix/sysv/linux/net/if.h: Moved to ...
9948 * sysdeps/gnu/net/if.h: here.
9949 (_IOT_ifconf, _IOT_ifreq): Hurd ioctl type macros moved from ...
9950 * sysdeps/mach/hurd/net/if.h: ... here; this file now removed.
9951 * sysdeps/generic/net/if.h: New file. Declares just the standard
9952 functions and `struct if_nameindex' type.
9953 * socket/Makefile (headers): Add net/if.h here.
9954 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Not here.
9955 * sysdeps/mach/hurd/Dist: Remove it here.
9956 * sysdeps/unix/sysv/linux/Dist: And here.
9957 * sysdeps/generic/if_index.c: Include <net/if.h>.
9959 2000-03-24 Andreas Jaeger <aj@suse.de>
9961 * sysdeps/mips/dl-machine.h (__dl_runtime_resolve): Use D_PTR to
9962 access relocated entries in l_info.
9963 (elf_machine_got_rel): Likewise.
9964 (elf_machine_runtime_setup): Likewise.
9965 * sysdeps/mips/mips64/dl-machine.h (elf_machine_got_rel): Likewise.
9966 (elf_machine_runtime_setup): Likewise.
9967 (__dl_runtime_resolve): Likewise.
9969 2000-03-23 Ulrich Drepper <drepper@redhat.com>
9971 * resolv/netdb.h (SCOPE_DELIMITER): New definitions.
9972 * inet/netinet/in.h (struct sockaddr_in6): Add sin6_scope_id
9973 according to RFC 2553.
9974 * sysdeps/posix/getaddrinfo.c: Change to follow latest RFC draft.
9975 * inet/getnameinfo.c: Likewise.
9976 Patches by YOSHIFUJI Hideaki <yoshfuji@v6.linux.or.jp>.
9978 2000-03-23 Bruno Haible <haible@clisp.cons.org>
9980 * iconv/gconv_simple.c (internal_ucs4_loop, internal_ucs4le_loop):
9981 Remove no-op pointer increment.
9983 2000-03-23 Andreas Jaeger <aj@suse.de>
9985 * stdio-common/tst-cookie.c (cookieseek): Change prototype to
9986 follow change for libio.h from 2000-03-10.
9988 2000-03-23 Andreas Jaeger <aj@suse.de>
9990 * elf/dl-addr.c: Adjust include paths for ldsodefs location
9992 * elf/dl-debug.c: Likewise.
9993 * elf/dl-deps.c: Likewise.
9994 * elf/dl-error.c: Likewise.
9995 * elf/dl-fini.c: Likewise.
9996 * elf/dl-init.c: Likewise.
9997 * elf/dl-load.c: Likewise.
9998 * elf/dl-lookup.c: Likewise.
9999 * elf/dl-minimal.c: Likewise.
10000 * elf/dl-object.c: Likewise.
10001 * elf/dl-open.c: Likewise.
10002 * elf/dl-preinit.c: Likewise.
10003 * elf/dl-profile.c: Likewise.
10004 * elf/dl-profstub.c: Likewise.
10005 * elf/dl-reloc.c: Likewise.
10006 * elf/dl-runtime.c: Likewise.
10007 * elf/dl-support.c: Likewise.
10008 * elf/dl-symbol.c: Likewise.
10009 * elf/dl-version.c: Likewise.
10010 * elf/rtld.c: Likewise.
10011 * elf/sprof.c: Likewise.
10012 * sysdeps/generic/dl-cache.c: Likewise.
10013 * sysdeps/generic/dl-origin.c: Likewise.
10014 * sysdeps/generic/dl-sysdep.c: Likewise.
10015 * sysdeps/generic/elf/backtracesyms.c: Likewise.
10016 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
10017 * sysdeps/generic/libc-start.c: Likewise.
10018 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
10019 * sysdeps/powerpc/dl-machine.c: Likewise.
10020 * sysdeps/powerpc/elf/libc-start.c: Likewise.
10021 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
10022 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
10023 * sysdeps/unix/sysv/linux/dl-origin.c: Likewise.
10025 * elf/ldsodefs.h: Move file to ...
10026 * sysdeps/generic/ldsodefs.h: ... here.
10028 * sysdeps/generic/ldsodefs.h: Add definition for D_PTR.
10030 * sysdeps/mips/elf/ldsodefs.h: New file.
10032 * elf/dl-version.c (match_symbol): Use D_PTR to access relocated
10034 (_dl_check_map_versions): Likewise.
10035 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
10036 * elf/dl-load.c (_dl_init_paths): Likewise.
10037 (_dl_map_object): Likewise.
10038 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Likewise.
10039 (elf_get_dynamic_info): Likewise.
10040 * elf/do-lookup.h (FCT): Likewise.
10041 * elf/do-rel.h (elf_dynamic_do_rel): Likewise.
10042 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
10043 * elf/dl-addr.c (_dl_addr): Likewise.
10044 * elf/dl-runtime.c (profile_fixup): Likewise.
10046 * elf/dl-init.c (_dl_init_next): Likewise.
10047 * sysdeps/generic/dl-machine.h (elf_machine_runtime_setup): Likewise.
10048 * sysdeps/unix/sysv/linux/i386/dl-librecon.h
10049 (DISTINGUISH_LIB_VERSIONS): Likewise.
10050 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup): Likewise.
10051 (elf_machine_rel): Likewise.
10053 * elf/dynamic-link.h (elf_get_dynamic_info): Only change l_info
10054 for writable dynamic section.
10056 2000-03-22 Ulrich Drepper <drepper@redhat.com>
10058 * inet/getnameinfo.c (getnameinfo): Check that addrlen value is
10059 large enough. Patch by YOSHIFUJI Hideaki <yoshfuji@v6.linux.or.jp>.
10061 2000-03-22 Andreas Jaeger <aj@suse.de>
10063 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MADV_*): Add flags
10064 from latest Linux kernel.
10066 2000-03-21 Andreas Jaeger <aj@suse.de>
10068 * Versions.def: Add version 2.1.4.
10070 2000-03-21 Ulrich Drepper <drepper@redhat.com>
10072 * libio/oldtmpfile.c: Update for new SHLIB_COMPAT definition.
10073 * libio/oldiofopen.c: Likewise.
10074 * libio/oldiofclose.c: Likewise.
10075 * sysdeps/unix/sysv/linux/errlist.c: Likewise.
10077 2000-03-22 Roland McGrath <roland@baalperazim.frob.com>
10079 * include/shlib-compat.h (SHLIB_COMPAT): Take a third argument,
10080 indicating the first version set to obsolete the conditionalized code.
10081 (compat_symbol): New macro.
10082 * scripts/abi-versions.awk: For subsumed versions, make ABI_* defn's
10083 rhs be the ABI_* macro for the subsuming version. Assign increasing
10084 integer values to the ABI_* macros for supported versions.
10085 * sysdeps/gnu/siglist.c: Use new SHLIB_COMPAT convention, and use
10086 compat_symbol macro.
10088 2000-03-21 Ulrich Drepper <drepper@redhat.com>
10090 * nscd/connections.c (nscd_run): Pretty print.
10091 * elf/dl-runtime.c: Include stdlib.h for alloca prototype.
10093 * manual/charset.texi: Fix typos. Rephrase.
10094 * manual/process.texi: Likewise.
10095 * manual/signal.texi: Likewise.
10096 Patches by Mike Coleman <mkc@kc.net>.
10098 * libio/oldtmpfile.c: Use new macros from shlib-compat.h to define
10100 * libio/iofdopen.c: Likewise.
10101 * libio/iofgetpos.c: Likewise.
10102 * libio/iofgetpos64.c: Likewise.
10103 * libio/iofopen.c: Likewise.
10104 * libio/iofsetpos.c: Likewise.
10105 * libio/iofsetpos64.c: Likewise.
10106 * libio/iopopen.c: Likewise.
10107 * libio/oldiofopen.c: Likewise.
10108 * libio/pclose.c: Likewise.
10109 * sysdeps/gnu/siglist.c: Likewise.
10110 * sysdeps/unix/sysv/linux/errlist.c: Likewise.
10112 * include/shlib-compat.h (versioned_symbol): Give preprocessor the
10113 chance to expand VERSION_##lib##_##version.
10115 * libio/fileops.c: Use new macros from shlib-compat.h to define
10117 * libio/iofclose.c: Likewise.
10118 * libio/oldiofclose.c: Likewise.
10119 Patch by Roland McGrath <roland@frob.com>.
10121 2000-03-21 Jakub Jelinek <jakub@redhat.com>
10123 * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h: Clean up namespace.
10124 Lay out struct sigcontext according to what really gets passed on
10126 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Don't include asm/elf.h.
10127 (elf_gregset_t, elf_greg_t, elf_fpregset_t, ELF_NGREG): Define.
10128 (prgregset_t, prfpregset_t): Define to elf_* types.
10129 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_WRITEDATA):
10130 Define to correct value.
10131 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h: Use struct
10133 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: Likewise.
10135 2000-03-21 Roland McGrath <roland@baalperazim.frob.com>
10137 * scripts/firstversions.awk: Allow multiple version sets in the
10138 "earliest version" specification, meaning that version sets in the
10139 gaps between listed versions should be folded into the earliest later
10140 version that is explicitly listed.
10141 * shlib-versions (mips.*-.*-linux.*): Use that syntax for to say
10142 we support GLIBC_2.0 and GLIBC_2.2 but not the intervening sets.
10144 2000-03-21 Ulrich Drepper <drepper@redhat.com>
10146 * iconv/gconv_builtin.c: Include <endian.h>.
10147 * iconv/gconv_builtin.h: Add UCS-BE aliases.
10148 Add UCS-4LE transformation. Define UNICODEBIG and UNICODELITTLE
10149 according to current platform.
10150 * iconv/gconv_int.h: Declare __gconv_transform_ucs2reverse_internal,
10151 __gconv_transform_internal_ucs2reverse, and
10152 __gconv_transform_internal_ucs4le.
10153 * iconv/gconv_simple.c: Implement __gconv_transform_internal_ucs4le,
10154 __gconv_transform_ucs2reverse_internal and
10155 __gconv_transform_internal_ucs2reverse.
10156 * iconvdata/Makefile (modules): Add UNICODE.
10157 (distribute): Add unicode.c.
10158 * iconvdata/gconv-modules: Add definitions for UNICODE module.
10159 * iconvdata/unicode.c: New file.
10161 * iconvdata/utf-16.c: Rewrite code to emit BOM. Correct code to
10162 determine byte order of input and convert accordingly.
10164 * iconvdata/utf-16.c (gconv_init): Fix typo.
10166 2000-03-20 Ulrich Drepper <drepper@redhat.com>
10168 * iconvdata/gconv-modules: Fix typo.
10170 * sysdeps/unix/sysv/linux/configure.in: Remove `crypt' from one
10173 * sysdeps/unix/sysv/aix/*: Add initial code for port to AIX 4.3.
10175 2000-03-16 Thorsten Kukuk <kukuk@suse.de>
10177 * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h: New.
10179 2000-03-20 Ulrich Drepper <drepper@redhat.com>
10181 * misc/Makefile (routines): Add mincore.
10183 2000-03-20 Andreas Jaeger <aj@suse.de>
10185 * sysdeps/generic/mincore.c: New stub file.
10187 * sysdeps/unix/sysv/linux/arm/bits/mman.h (MADV_*): Add flags
10188 from latest Linux kernel.
10190 2000-03-20 Ulrich Drepper <drepper@redhat.com>
10192 * grp/initgroups.c (compat_call): Use _SC_GETGR_R_SIZE_MAX instead of
10193 _SC_GETPW_R_SIZE_MAX.
10195 2000-03-20 Richard Henderson <rth@cygnus.com>
10197 * sysdeps/unix/sysv/linux/alpha/Versions: Put pciconfig_iobase
10200 2000-03-20 Richard Henderson <rth@cygnus.com>
10202 * sysdeps/alpha/fpu/fraiseexcpt.c: Use get/set_fp_control instead
10203 of arithmetic instructions.
10205 * sysdeps/alpha/fpu/s_ceil.c: Use round to -inf instead of playing
10206 with the fpcr. Protect from INV exception.
10207 * sysdeps/alpha/fpu/s_ceilf.c: Likewise.
10208 * sysdeps/alpha/fpu/s_floor.c: Protect from INV exception.
10209 * sysdeps/alpha/fpu/s_floorf.c: Likewise.
10211 * sysdeps/alpha/fpu/s_copysign.c: New.
10212 * sysdeps/alpha/fpu/s_copysignf.c: New.
10213 * sysdeps/alpha/fpu/s_fabs.c: New.
10214 * sysdeps/alpha/fpu/s_fabsf.c: New.
10215 * sysdeps/alpha/fpu/s_rint.c: New.
10216 * sysdeps/alpha/fpu/s_rintf.c: New.
10218 * sysdeps/unix/sysv/linux/alpha/bits/mman.h: Add MADV constants.
10220 * sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_routines):
10222 * sysdeps/unix/sysv/linux/alpha/Versions: Add pciconfig_iobase.
10223 * sysdeps/unix/sysv/linux/alpha/ioperm.c (all address constants):
10224 Use physical addresses not KSEG addresses.
10225 (io_system): Add PYXIS.
10226 (io): Remove hae.reg, sys, hae_shift.
10227 (stb_mb, stw_mb, stl_mb, __sethae): New.
10228 (inline_outb, inline_outw, inline_outl): Don't set hae.
10229 (inline_inb, inline_inw, inline_inl): Likewise.
10230 (dense_sethae): New null function.
10231 (struct cpuinfo_data): New.
10232 (process_cpuinfo): Use local and stack variables, not static.
10233 Move readlink check here from init_iosys.
10234 (init_iosys): Use __pciconfig_iobase first. Know SX and LX as PYXIS.
10236 (_hae_shift): Calculate it here.
10237 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove sethae,
10238 add pciconfig_iobase.
10240 2000-03-20 Roland McGrath <roland@baalperazim.frob.com>
10242 * locale/programs/ld-time.c (time_finish): Use %Z instead of %z.
10243 * locale/programs/ld-ctype.c (ctype_finish, ctype_class_new): Likewise.
10245 * scripts/versions.awk: Fixed version renaming code to distinguish
10246 libraries properly.
10248 2000-03-19 Ulrich Drepper <drepper@redhat.com>
10250 * include/stdlib.h: Add prototype for __cxa_atexit.
10252 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Update comment about
10253 _SLOWDOWN flags. Patch by Jim Blandy <jimb@cygnus.com>.
10255 2000-03-17 Cristian Gafton <gafton@redhat.com>
10257 * elf/Makefile ($(rtld-version-installed-name)): Delay replacing
10258 existing rtld-installed-name.
10259 ($(rtld-installed-name)): Request libc-$(version) be installed too.
10260 replace existing rtld-installed-name using $(symbolic-link-prog).
10262 2000-03-17 Roland McGrath <roland@baalperazim.frob.com>
10264 * locale/programs/ld-collate.c (collate_read): Remove bogus cast.
10265 (insert_value, handle_ellipsis, collate_read): Replace %zu in format
10266 strings with %Zu, because gcc-2.95.2's -Wformat knows about the latter
10267 but not the former.
10269 2000-03-19 Ulrich Drepper <drepper@redhat.com>
10271 * sysdeps/generic/glob.c [_LIBC]: Always use __xstat64, not only for
10272 glob64. Since there is no glob64 in the LFS proposal applications
10273 can assume that glob handles LFS situations. glob64 is only needed
10274 if alternative filesystem functions are used.
10276 2000-03-19 Geoff Clare <gwc@unisoft.com>
10278 * sysdeps/generic/glob.c: Correct gl_pathc value returned
10279 when GLOB_DOOFFS is set; correct handling of patterns
10280 containing escaped wildcards (and no unescaped ones);
10281 GLOB_ERR flag was being ignored in some situations.
10283 * posix/globtest.c, posix/globtest.sh: Updated to include
10284 tests for the problems fixed by the above changes to glob.c.
10286 * manual/pattern.texi (Calling Glob): Update description of gl_pathc.
10288 2000-03-19 Roland McGrath <roland@baalperazim.frob.com>
10290 * Makeconfig (soversion.i): Use only first match for each lib.
10292 * Makeconfig (soversion.i): Pass -undef to $(CC) -E.
10294 * Makerules (Versions.all, sysd-versions): Test $(sysd-sorted-done)
10295 rather than $(sysd-dirs-done) to protect these rules.
10297 * Makerules (version-renames.def): Target removed.
10298 (Versions.all): Depend on soversions.i directly and parse it.
10300 * Makeconfig (soversions.i): New target, input-reading parts of
10301 soversions.mk generation moved here; result is a canonicalized
10302 list "LIB VERSION [SET]" for this configuration.
10303 (soversions.mk): Use that as input. Don't emit map-firstversions.
10304 * Makerules (version-renames.def): New target, generated from
10305 soversions.i with contents that was in $(map-firstversions).
10306 (Versions.all): Don't depend on soversions.mk, depend on
10307 version-renames.def instead; just cat it into the input.
10309 * Makerules (Versions.all): Use $(foreach ...) instead of sh for loop
10310 for $(map-firstversions), which better handles it being empty.
10312 * shlib-versions [USE_IN_LIBIO] (.*-.*-gnu-gnu*): Set earliest
10313 supported version for libc 0.2.90.libio to GLIBC_2.2.
10315 * Makeconfig (soversions.mk): Grok new third column in shlib-versions,
10316 and use it to emit new variable `map-firstversions'.
10317 * scripts/firstversions.awk: New file.
10318 * Makerules (Versions.all): Use scripts/firstversions.awk and
10319 the $(map-firstversions) value to generate a modified versions list
10320 that includes renames in "A = B" syntax for each version set earlier
10321 than the "earliest symbol version" named in shlib-versions.
10322 * scripts/versions.awk: Recognize "A = B" lines in the input to mean
10323 rename version set A to B in the output to the intermediate file.
10324 * scripts/abi-versions.awk: New file.
10325 * Makerules (abi-versions.h): New target, generated by that script.
10326 [$(versioning) = yes] (before-compile): Prepend abi-versions.h.
10327 * include/shlib-compat.h: New file, uses that generated header.
10329 2000-03-18 Roland McGrath <roland@baalperazim.frob.com>
10331 * Makeconfig (soversions.mk): Convert % -> # in shlib-versions
10332 after stripping # comments, and then run it through cpp.
10333 This allows things like "%ifdef FOO" based on config.h settings.
10334 * shlib-versions [USE_IN_LIBIO] (.*-.*-gnu-gnu*): libc=0.2.90.libio
10336 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): For MACH_SEND_INTERRUPTED
10337 and other errors that indicate a pseudo-receive happened, grok through
10338 the message buffer for port rights that need references fixed up.
10340 2000-03-16 Andreas Jaeger <aj@suse.de>
10342 * sysdeps/unix/sysv/linux/syscalls.list: Added madvise and mincore.
10344 * sysdeps/unix/sysv/linux/madvise.c: Remove.
10346 * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MADV_*): Add flags
10347 from latest Linux kernel.
10348 * sysdeps/unix/sysv/linux/i386/bits/mman.h (MADV_*): Likewise.
10350 * misc/sys/mman.h: Add prototype for mincore.
10352 2000-03-17 Ulrich Drepper <drepper@redhat.com>
10354 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add oldsetrlimit
10355 entry for GLIBC_2.0 version of setrlimit.
10356 Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
10358 2000-03-16 Thorsten Kukuk <kukuk@suse.de>
10360 * nis/nss_nis/nis-ethers.c: Return with error if malloc fails.
10361 * nis/nss_compat/compat-initgroups.c: Likewise.
10362 * nis/nss_nis/nis-initgroups.c: Likewise.
10363 * nis/nss_nis/nis-netgrp.c: Likewise.
10364 * nis/nss_nis/nis-proto.c: Likewise.
10365 * nis/nss_nis/nis-rpc.c: Likewise.
10366 * nis/nss_nis/nis-service.c: Likewise.
10367 * nis/ypclnt.c: Likewise.
10369 2000-03-16 Andreas Jaeger <aj@suse.de>
10371 * manual/Makefile: MAKEINFO is set to `:' from configure if it
10372 doesn't exist, correct checks. Fixes PR libc/1649.
10374 2000-03-16 Thorsten Kukuk <kukuk@suse.de>
10376 * nscd/hstcache.c: Restore correct UID.
10377 * nscd/pwdcache.c: Likewise.
10378 Patch from Gabor Gombas <gombasg@inf.elte.hu>.
10380 2000-03-17 Roland McGrath <roland@baalperazim.frob.com>
10382 * sysdeps/i386/sys/ucontext.h: Prepend REG_ to enum values and
10383 macros for register names, in line with 2000-03-14 linux change.
10385 * sysdeps/mach/sched_yield.c: New file.
10387 2000-03-13 Roland McGrath <roland@baalperazim.frob.com>
10389 * sysdeps/generic/lockfile.c: Include <stdio.h>
10390 (_IO_flockfile, _IO_funlockfile, _IO_ftrylockfile): #undef these in
10391 case <libio.h> defined them.
10392 (__flockfile, __funlockfile, __ftrylockfile): Functions renamed
10394 (flockfile, _IO_flockfile, funlockfile, _IO_funlockfile,
10395 ftrylockfile, _IO_ftrylockfile): Fix aliases accordingly.
10397 * sysdeps/generic/bits/stdio-lock.h (_IO_lock_initializer): Use ...
10398 for more pleasing parse error.
10400 2000-03-16 Ulrich Drepper <drepper@redhat.com>
10402 * locale/lc-time.c (_nl_init_era_entries): Correct allocation of
10404 Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
10406 * elf/Makefile: Add rules to compile and run constload1 test.
10407 * elf/constload1.c: New file.
10408 * elf/constload2.c: New file.
10409 * elf/constload3.c: New file.
10411 2000-03-15 Ulrich Drepper <drepper@redhat.com>
10413 * sysdeps/posix/open64.c: Make __open64 weak alias.
10414 * sysdeps/posix/pread64.c: Make __pread64 weak alias.
10415 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
10416 * sysdeps/unix/sysv/linux/i386/pread64.c: Likewise.
10417 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
10418 * sysdeps/unix/sysv/linux/powerpc/pread64.c: Likewise.
10419 * sysdeps/posix/pwrite64.c: Make __pwrite64 weak alias.
10420 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
10421 * sysdeps/unix/sysv/linux/i386/pwrite64.c: Likewise.
10422 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
10423 * sysdeps/unix/sysv/linux/powerpc/pwrite64.c: Likewise.
10425 2000-03-14 Ulrich Drepper <drepper@redhat.com>
10427 * sysdeps/unix/sysv/linux/alpha/ioperm.c (platform): Add entry for
10428 Nautilus. Patch by Soohoon Lee <soohoon.lee@alpha-processor.com>.
10430 2000-03-16 Mark Kettenis <kettenis@gnu.org>
10432 * sysdeps/unix/sysv/linux/i386/sys/procfs.h (prfpregset_t):
10433 Typedef for elf_fpregset_t instead of `elf_fpregset_t *'.
10435 2000-03-08 Andreas Jaeger <aj@suse.de>
10437 * sysdeps/unix/sysv/linux/scsi/sg.h: Sync with Linux 2.3.50.
10439 2000-03-14 Ulrich Drepper <drepper@redhat.com>
10441 * timezone/africa: Update from tzdata2000d.
10442 * timezone/asia: Likewise.
10443 * timezone/australasia: Likewise.
10444 * timezone/europe: Likewise.
10445 * timezone/northamerica: Likewise.
10446 * timezone/southamerica: Likewise.
10448 * po/fr.po: Update from translation team.
10449 * po/de.po: Likewise.
10451 * elf/dl-deps.c (_dl_map_object_deps): Change return type and remove
10452 last parameter. Move code to add map to global scope from here...
10453 * elf/dl-open.c (dl_open_worker): ...here.
10454 * elf/ldsodefs.h: Adjust declaration of _dl_map_object_deps.
10455 * elf/rtld.c: Adjust call to _dl_map_object_deps.
10457 * locale/programs/ld-collate.c (collate_read): Fix warning.
10459 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Prepend REG_ to enum
10460 values and macros for register names.
10462 * libio/iofopncook.c (_IO_cookie_seek): Return error only if value
10463 returned by seek cookie function is -1.
10465 2000-03-14 Andreas Jaeger <aj@suse.de>
10467 * locale/localeconv.c (localeconv): Fix typo.
10468 Reported by Andre Charbonneau <andrec@corel.com>.
10470 2000-03-14 Ulrich Drepper <drepper@redhat.com>
10472 * iconv/skeleton.c: Increment __invocation_counter in inner loop
10473 since modules depend on it counting the number of times the conversion
10474 function got called.
10476 * iconv/gconv_open.c: Optimize loop to setup step data structure.
10478 * iconv/gconv.h: Pretty print.
10480 2000-03-04 Ulrich Drepper <drepper@redhat.com>
10482 * posix/wordexp-test.c: Correct one of the tests added in the last
10483 change. Really get the root passwd entry to check again ~root.
10485 2000-03-10 Andreas Jaeger <aj@suse.de>
10487 * manual/filesys.texi (Working Directory): Fix last patch.
10488 Patch by Martin Buchholz <martin@xemacs.org>.
10490 2000-03-10 Andreas Jaeger <aj@suse.de>
10492 * manual/creature.texi (Feature Test Macros): Fix language.
10494 2000-03-10 Roland McGrath <roland@baalperazim.frob.com>
10496 * mach/devstream.c (devstream_write, devstream_read): New functions.
10497 (input, output): Functions removed.
10498 (mach_open_devstream): Use devstream_{read,write} as cookie functions,
10499 using only the vanilla fopencookie interface.
10501 * hurd/fopenport.c [! USE_IN_LIBIO] (cookie_io_functions_t): Define
10502 as macro for __io_functions.
10503 (funcsio): Use cookie_io_functions_t type name.
10504 (fopenport): Renamed from __fopenport. Rewrite to call fopencookie.
10506 * libio/iofopncook.c (_IO_cookie_init): New function, broken out of
10508 (fopencookie): Use it.
10509 * libio/libio.h: Declare _IO_cookie_init.
10510 * hurd/vpprintf.c (vpprintf) [USE_IN_LIBIO]: Implement using
10513 * libio/libio.h (__io_seek_fn): Fix second argument type
10514 to be a pointer, in line with the manual and the old stdio.
10515 * libio/iofopncook.c (_IO_cookie_seek): Fix (sole) caller.
10517 * sysdeps/generic/bits/stdio-lock.h: New file.
10518 This is a stub with #error, but that's better than no file at all.
10520 2000-03-09 Martin Buchholz <martin@xemacs.org>
10522 * sysdeps/unix/sysv/linux/alpha/syscall.S: Doc Fixes.
10523 * manual/message.texi (Using gettextized software): Doc Fixes.
10524 * manual/message.texi (Message Translation): Doc Fixes.
10525 * manual/filesys.texi (File Size): Doc Fixes.
10526 * manual/charset.texi (glibc iconv Implementation): Doc Fixes.
10527 * locale/programs/ld-collate.c (collate_output): Doc Fixes.
10528 * iconv/gconv_db.c (find_derivation): Doc Fixes.
10529 * manual/install.texi: Doc Fixes.
10530 * manual/search.texi (Hash Search Function): Doc Fixes.
10531 * manual/stdio.texi (Output Conversion Syntax): Doc Fixes.
10532 * FAQ.in: Doc Fixes.
10533 * config.h.in: Doc Fixes.
10534 * sysdeps/generic/dl-sysdep.c: Doc Fixes.
10535 Doc Fixes. `allows to' is not correct English.
10537 * elf/rtld.c: Doc fixes.
10538 * manual/creature.texi (Feature Test Macros): Doc fixes.
10539 * manual/memory.texi (Hooks for Malloc): Doc Fixes.
10541 * manual/filesys.texi (Working Directory): Check for ERANGE to
10544 2000-02-23 Roland McGrath <roland@baalperazim.frob.com>
10546 * string/argz-stringify.c (__argz_stringify): Fix loop termination
10547 conditions so as not to clobber the final '\0' when there is only one
10548 element in the vector.
10550 2000-03-09 Roland McGrath <roland@baalperazim.frob.com>
10552 * io/sys/stat.h: Fix inverted sense of `defined __S_IFSOCK' test,
10553 broken by 2000-02-27 change.
10555 * sysdeps/generic/bits/poll.h (POLLRDNORM, POLLRDBAND): New macros.
10557 2000-02-23 Roland McGrath <roland@baalperazim.frob.com>
10559 * sysdeps/mach/hurd/sigstack.c (sigstack): Remove `const' from
10560 argument type, for 2000-02-22 change in signal/signal.h declaration.
10562 2000-03-09 Roland McGrath <roland@baalperazim.frob.com>
10564 * sysdeps/generic/getdents64.c (__getdirentries64): Renamed
10565 to getdirentries64 (no __), since the Linux implementation
10566 has no __ name, and there is no declaration for the __ name.
10568 * sysdeps/mach/bits/libc-lock.h (__libc_cleanup_end): New macro.
10570 * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Tighten up
10571 sed regexp so as not to break directory names including /../ within.
10573 * sysdeps/unix/bsd/bits/waitflags.h: File removed.
10574 The sysdeps/generic file is right for BSD. This file was in fact the
10575 Hurd file, but the only difference was the WNOREAP flag that was never
10576 actually implemented or used anywhere.
10578 * configure.in (PERL, INSTALL_INFO): Don't AC_SUBST these,
10579 since AC_PATH_PROG already does it for us.
10580 (PERL): Rewrite check added in 2000-02-29 change for syntactic
10581 correctness and sh portability. I replaced the broken check
10582 with a more sensible implementation of the apparently intended
10583 semantics, which might still be questionable. Using expr causes
10584 a non-numeric value for `perl -V:apiversion` to be accepted,
10585 refusing to use only a perl that reports a number less than 5;
10586 on my system, perl (5.004_04) -V:apiversion produces UNKNOWN.
10587 * configure: Regenerated.
10589 2000-03-08 Andreas Jaeger <aj@suse.de>
10591 * manual/crypt.texi: Fix paths.
10593 2000-03-07 Andreas Jaeger <aj@suse.de>
10595 * resolv/netdb.h: The descriptions of rresvport and rresvport_af
10597 Patch by YOSHIFUJI Hideaki <yoshfuji@ecei.tohoku.ac.jp>, closes PR
10600 2000-03-06 Andreas Jaeger <aj@suse.de>
10602 * sysdeps/i386/fpu/bits/mathinline.h: Fix union definition error
10603 in __sgn1l, otherwise g++ fails to parse this.
10604 Reported by Sean Chen <sean.chen@turbolinux.com>.
10606 2000-03-03 Geoff Keating <geoffk@cygnus.com>
10608 * configure.in: Compute sizeof-long-double.
10609 * configure: Regenerated.
10610 * config.make.in: Make sizeof-long-double available to sub-makes.
10612 2000-03-03 Ulrich Drepper <drepper@cygnus.com>
10614 * sysdeps/unix/sysv/linux/init-first.c: Remove trace of personality
10617 2000-03-03 Geoff Keating <geoffk@cygnus.com>
10619 * Makeconfig (rpath-dirs): Add crypt.
10620 (all-subdirs): Remove md5crypt.
10621 * crypt/sysdeps/unix/crypt.c: Move to crypt/.
10622 * crypt/sysdeps/unix/crypt-entry.c: Move to crypt/.
10623 * sysdeps/generic/crypt-entry.c: Delete.
10624 * crypt/sysdeps/unix/crypt.h: Move to crypt/.
10625 * sysdeps/generic/crypt.h: Delete.
10626 * crypt/sysdeps/unix/crypt-private.h: Move to crypt/.
10627 * crypt/sysdeps/unix/crypt_util.c: Move to crypt/.
10628 * crypt/sysdeps/unix/des_impl.c: Move to sunrpc/.
10629 * sysdeps/generic/des_impl.c: Delete.
10630 * crypt/sysdeps/unix/ufc-crypt.h: Move to crypt/.
10631 * crypt/sysdeps: Delete.
10632 * crypt/crypt_util.c: Don't use `patchlevel.h'.
10633 * md5-crypt/Versions: Move to crypt/.
10634 * md5-crypt/md5-crypt.c: Move to crypt/.
10635 * md5-crypt/md5.c: Move to crypt/.
10636 * md5-crypt/md5c-test.c: Move to crypt/.
10637 * md5-crypt/md5test.c: Move to crypt/.
10638 * md5-crypt: Delete.
10639 * crypt/Makefile: Adjust for new structure.
10641 2000-03-03 Paul Eggert <eggert@twinsun.com>
10643 * posix/regex.c (MB_LEN_MAX): Include <limits.h> to define;
10644 define to 1 if not defined.
10646 2000-03-03 Andreas Jaeger <aj@suse.de>
10648 * sunrpc/xdr.c (xdr_hyper): Correctly handle lower half of llp.
10650 2000-03-03 Andreas Jaeger <aj@suse.de>
10652 * sunrpc/xdr_intXX_t.c (xdr_uint16_t): Fix ENCODE and DECODE
10654 (xdr_int64_t): Correctly handle lower half.
10655 Fix by Sten Dahlgren <stda@enea.se>, closes PR libc/1623.
10657 2000-03-03 Ulrich Drepper <drepper@cygnus.com>
10659 * sysdeps/unix/sysv/linux/init-first.c: Remove trace of personality
10662 2000-03-02 Andreas Jaeger <aj@suse.de>
10664 * sysdeps/unix/sysv/linux/scsi/sg.h: Integrate changes from Linux
10667 2000-03-02 Andreas Jaeger <aj@suse.de>
10669 * resolv/Makefile (headers): Add arpa/nameser_compat.h.
10671 2000-03-01 Andreas Jaeger <aj@suse.de>
10673 * time/Makefile (tst-getdate-ENV): New flag to pass DATEMSK.
10674 (tests): Added tst-getdate.
10676 * time/tst-getdate.c: New file.
10678 * time/datemsk: New file, needed for tst-getdate.
10680 2000-02-29 Cristian Gafton <gafton@redhat.com>
10682 * configure.in (CCVERSION): Require at least veersion 5 of perl API.
10684 2000-02-17 H.J. Lu <hjl@gnu.org>
10686 * sunrpc/rpc/svc.h (SVCXPRT): Add a "xp_pad" field at the end.
10688 * sunrpc/svc_udp.c (svcudp_bufcreate): Turn on IP_PKTINFO if
10690 (svcudp_recv): Set up message with the new "xp_pad" field for
10692 (svcudp_reply): Support IP_PKTINFO if available.
10694 2000-03-01 Andreas Jaeger <aj@suse.de>
10696 * time/getdate.c (check_mday): Fix check for february.
10697 Reported by ane@np.bs1.fc.nec.co.jp and Akira YOSHIYAMA
10698 <yosshy@cts.ne.jp>, closes PR libc/1617 and PR libc/1619.
10700 2000-03-02 Andreas Jaeger <aj@suse.de>
10702 * posix/unistd.h: __THROW has to precede __attribute__, otherwise
10703 g++ fails to parse this.
10704 Reported by Sean Chen <sean.chen@turbolinux.com>.
10706 2000-02-28 Ulrich Drepper <drepper@redhat.com>
10708 * io/creat.c: Moved to...
10709 * sysdeps/generic/creat.c: ...here.
10710 * io/creat64.c: Moved to...
10711 * sysdeps/generic/creat64.c: ...here.
10712 * io/lockf.c: Moved to...
10713 * sysdeps/generic/lockf.c: ...here.
10715 * crypt/crypt.texi: Moved to...
10716 * manual/crypt.texi: ...here.
10717 * crypt/examples/genpass.c: Moved to...
10718 * manual/examples/genpass.c: ...here.
10719 * crypt/examples/mygenpass.c: Moved to...
10720 * manual/examples/mygenpass.c: ...here.
10721 * crypt/examples/testpass.c: Moved to...
10722 * manual/examples/testpass.c: ...here.
10724 * manual/Makefile (chapters): Add crypt.
10725 * manual/conf.texi: Add usual header for not-last chapter.
10726 * manual/crypt.texi: Add special header for last chapter.
10728 2000-02-28 Geoff Keating <geoffk@cygnus.com>
10730 * Makeconfig (all-subdirs): Add 'crypt' subdirectory.
10731 * sysdeps/unix/sysv/linux/configure.in (inhibit_glue): Don't
10732 complain if there is no crypt add-on.
10733 * crypt/configure: Removed.
10735 * crypt/crypt.texi: Update documentation of US export restrictions
10736 to match the 14 Jan 2000 regulations.
10738 2000-02-28 Geoff Keating <geoffk@cygnus.com>
10740 * crypt: New subdirectory, merged in from the crypt add-on.
10742 2000-02-28 Ulrich Drepper <drepper@redhat.com>
10744 * include/unistd.h: Add __rmdir and __mkdir prototypes.
10747 See ChangeLog.10 for earlier changes.