1 2000-09-07 Ulrich Drepper <drepper@redhat.com>
3 * elf/dl-load.c (lose): Decrement _nl_loaded.
4 (_dl_map_object_from_fd): Don't try to dlopen executables.
6 * iconvdata/tst-tables.sh: Actually return with an error if
8 * iconvdata/tst-table.sh: Return with an error if any of the cmp fails.
9 * iconvdata/big5hkscs.c (BODY of FROM_LOOP): Reject 0xff as input.
11 * iconvdata/tst-tables.sh: Add BIG5HKSCS.
13 * iconvdata/tst-table-to.c (main): Correct cast in iconv call.
14 * iconvdata/tst-table-from.c: Include <string.h>.
15 (try): Correct cast in iconv call.
17 * elf/Makefile (all-rtld-routines): Evaluate $(sysdep-rtld-routines)
19 * sysdeps/powerpc/Makefile (sysdep-rtld-routines): New variable.
20 (sysdep_routines): Remove dl-start.
21 Patches by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
23 * assert/__assert.c: Undefine NDEBUG before include <assert.h>.
25 * sysdeps/unix/sysv/linux/msgsnd.c (msgsnd): Add cast to avoid warning.
26 * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
28 2000-09-06 Andreas Schwab <schwab@suse.de>
30 * sysdeps/unix/sysv/linux/ia64/bits/time.h: New file.
32 2000-09-07 Ulrich Drepper <drepper@redhat.com>
34 * sysdeps/unix/sysv/linux/gethostid.c: Find hostid file in /etc.
36 * scripts/config.sub: Strip out -unknown for Linux targets.
37 Patch by Scott Bambrough <scottb@netwinder.org>.
39 * posix/tst-dir.c (main): Correct one bug (missing NULL test) and
42 2000-09-07 Andreas Jaeger <aj@suse.de>
44 * sysdeps/unix/sysv/linux/mips/lockf64.c: New file.
46 * sysdeps/unix/sysv/linux/i386/fcntl.c: Add prototypes for the
49 * sysdeps/unix/sysv/linux/mips/syscalls.list: Add __syscall_fcntl.
51 * sysdeps/mips/dl-machine.h (RESOLVE_GOTSYM): Fix calls to dl_lookup.
52 (ELF_MACHINE_RUNTIME_TRAMPOLINE): Likewise.
54 * sysdeps/unix/sysv/linux/mips/fcntl.c: New file.
56 * stdlib/tst-bsearch.c (main): Add more test cases.
58 * locale/programs/ld-collate.c (handle_ellipsis): Fix typo.
59 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
60 Reported by GOTO Masanori <gotom@debian.or.jp>.
62 2000-09-07 Ulrich Drepper <drepper@redhat.com>
64 * posix/Makefile (tests): Add tst-dir.
65 (tst-dir-ARGS): New variable.
66 * posix/tst-dir.c: New file.
68 2000-09-07 Andreas Jaeger <aj@suse.de>
70 * sysdeps/unix/sysv/linux/mips/sys/syscall.h (SYS_getdents64): New.
73 * sysdeps/unix/sysv/linux/mips/syscalls.list: Add getdents64.
75 2000-09-06 Ulrich Drepper <drepper@redhat.com>
77 * sysdeps/unix/opendir.c: If O_DIRECTORY_WORKS is defined don't
78 use the hack with tryopen_o_directory to determine at runtime
80 * sysdeps/unix/sysv/linux/opendir.c: New file.
81 * sysdeps/unix/sysv/linux/kernel-features.h: Define
82 __ASSUME_O_DIRECTORY if kernel knows O_DIRECTORY.
84 * catgets/Depend: New file. Add intl.
85 * catgets/Makefile (tests): Add tst-catgets.
86 (generated): Remove de.msg.
87 (generated-dirs): Add de.
88 Add dependency if tst-catgets output on de/libc.cat.
89 * catgets/tst-catgets.c: New file.
92 * po/el.po: Update from translation team.
94 * wcsmbs/Depend: New file.
95 * wcsmbs/Makefile (tests): Add tst-btowc.
96 (tst-btowc-ENV): Define.
97 * wcsmbs/tst-btowc.c: New file.
99 * sysdeps/unix/sysv/linux/_G_config.h: Moved to...
100 * sysdeps/gnu/_G_config.h: ...here to be shared with Hurd.
102 * sysdeps/posix/signal.c: Add sig to act.sa_mask for completeness.
104 * stdlib/Makefile (tests): Add tst-bsearch.
105 * stdlib/tst-bsearch.c: New file.
107 * posix/getopt.c (_getopt_internal): Don't recognize an option
108 name as ambiguous if it's a prefix for more than one name but the
109 other struct option values are identical.
111 * posix/tstgetopt.c: Add test for improved ambiguity recognition.
112 Don't depend on visual inspection of the output file to recognize
114 * posix/Makefile (tstgetopt-ARGS): Add a few more parameters.
116 2000-09-06 Andreas Jaeger <aj@suse.de>
118 * sysdeps/alpha/soft-fp/Dist: New file.
119 * sysdeps/i386/soft-fp/Dist: New file.
120 * sysdeps/mips/mips64/soft-fp/Dist: New file.
121 * sysdeps/mips/soft-fp/Dist: New file.
122 * sysdeps/powerpc/soft-fp/Dist: New file.
123 * sysdeps/sparc/sparc32/soft-fp/Dist: New file.
124 * sysdeps/sparc/sparc64/soft-fp/Dist: New file.
126 * sysdeps/sparc/sparc64/soft-fp/Makefile [$(subdir) = soft-fp]:
127 Use sysdep_routines instead of routines to fix make dist failure.
128 * sysdeps/sparc/sparc32/soft-fp/Makefile: Likewise (in commented
130 * sysdeps/powerpc/soft-fp/Makefile [$(subdir) = soft-fp]: Likewise.
132 * sysdeps/mips/Makefile [$(subdir) = misc]: Use
133 sysdep_headers instead of headers for make dist.
135 * sysdeps/unix/sysv/linux/mips/Makefile [$(subdir) = misc]:
138 2000-09-06 Andreas Schwab <schwab@suse.de>
140 * sysdeps/unix/sysv/linux/m68k/bits/fcntl.h: New file.
142 2000-09-06 Andreas Jaeger <aj@suse.de>
144 * soft-fp/Makefile (distribute): Remove ChangeLog.
146 * sysdeps/sparc/sparc32/Makefile [$(subdir) = gnulib]: Use
147 sysdep_routines instead of routines for make dist.
149 2000-09-05 Ulrich Drepper <drepper@redhat.com>
151 * libio/libio.h (_IO_fwide_maybe_incompatible): For glibc 2.0
152 compatibility check for old stream and call _IO_wide in doubt.
153 (_IO_fwide): Use _IO_fwide_maybe_incompatible macro.
154 * libio/iofwide.c (_IO_fwide): If compatibility with glibc 2.0 is
155 needed tst for such an old structure and don't do anything.
156 * libio/freopen.c: Remove declaration of _IO_stdin_used.
158 2000-09-06 Andreas Jaeger <aj@suse.de>
160 * sysdeps/powerpc/Makefile [$(subdir) = elf]: Modify
161 sysdep-dl-routines and sysdep_routines instead of rtld-routines
164 * soft-fp/ChangeLog: Merged with this file.
166 2000-06-13 Ulrich Drepper <drepper@redhat.com>
168 * soft-fp/Makefile (distribute): Add op-8.h and testit.c.
170 * soft-fp/Makefile (distribute): Add the math functions, too.
172 * soft-fp/Makefile (distribute): Add ChangeLog, Banner, and configure.
174 2000-03-03 Geoff Keating <geoffk@cygnus.com>
176 * soft-fp/soft-fp.h (_FP_ROUND_ZERO): Cast 0 to void before using it
179 * soft-fp/sysdeps/powerpc/Makefile (routines): New file.
180 * soft-fp/sysdeps/powerpc/q_*: New files.
182 2000-09-05 Ulrich Drepper <drepper@redhat.com>
184 * stdio-common/vfprintf.c (process_string_arg): Handle precision
185 in wide char case correctly. Don't allocate too long temporary
188 * stdio-common/Makefile (tests): Add tst-swprintf.
189 (tst-swprintf-ENV): New variable.
190 * stdio-common/tst-swprintf.c: New file.
192 2000-09-05 Andreas Jaeger <aj@suse.de>
194 * sysdeps/unix/sysv/linux/mips/bits/stat.h: Use st_pad5.
195 * sysdeps/unix/sysv/linux/mips/xstatconv.c: Fix assignments.
196 Patch by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
198 2000-09-05 Ulrich Drepper <drepper@redhat.com>
200 * configure.in: Strip out "unknown" from configuration names.
202 2000-09-05 Andreas Jaeger <aj@suse.de>
204 * sysdeps/powerpc/Subdirs: New file, adds soft-fp.
206 * sysdeps/sparc/sparc64/Implies: Add soft-fp.
207 * sysdeps/sparc/sparc32/Implies: Likewise.
208 * sysdeps/powerpc/Implies: Likewise.
210 * libio/oldiofsetpos64.c: Check for compatibility with glibc 2.1.
211 * libio/oldiofgetpos64.c: Likewise.
213 * soft-fp/Makefile (distribute): Remove configure.
215 * sysdeps/sparc/sparc64/soft-fp/Versions: Use version glibc 2.2.
217 * soft-fp/configure: Remove.
219 * soft-fp/sysdeps/sparc/sparc64/qp_neg.S: Move from here...
220 * sysdeps/sparc/sparc64/soft-fp/qp_neg.S: ... to here.
222 * soft-fp/sysdeps/sparc/sparc32/Makefile: Move from here...
223 * sysdeps/sparc/sparc32/soft-fp/Makefile: ... to here.
225 * soft-fp/sysdeps/powerpc/Makefile: Move from here...
226 * sysdeps/powerpc/soft-fp/Makefile: ... to here.
228 * soft-fp/sysdeps/sparc/sparc64/Makefile: Move from here...
229 * sysdeps/sparc/sparc64/soft-fp/Makefile: ... to here.
231 * soft-fp/sysdeps/sparc/sparc64/qp_neg.S: Move from here...
232 * sysdeps/sparc/sparc64/soft-fp/qp_neg.S: ... to here.
234 * soft-fp/sysdeps/powerpc/q_add.c: Move from here...
235 * sysdeps/powerpc/soft-fp/q_add.c: ... to here.
237 * soft-fp/sysdeps/powerpc/q_cmp.c: Move from here...
238 * sysdeps/powerpc/soft-fp/q_cmp.c: ... to here.
240 * soft-fp/sysdeps/powerpc/q_cmpe.c: Move from here...
241 * sysdeps/powerpc/soft-fp/q_cmpe.c: ... to here.
243 * soft-fp/sysdeps/powerpc/q_div.c: Move from here...
244 * sysdeps/powerpc/soft-fp/q_div.c: ... to here.
246 * soft-fp/sysdeps/powerpc/q_dtoq.c: Move from here...
247 * sysdeps/powerpc/soft-fp/q_dtoq.c: ... to here.
249 * soft-fp/sysdeps/powerpc/q_feq.c: Move from here...
250 * sysdeps/powerpc/soft-fp/q_feq.c: ... to here.
252 * soft-fp/sysdeps/powerpc/q_fge.c: Move from here...
253 * sysdeps/powerpc/soft-fp/q_fge.c: ... to here.
255 * soft-fp/sysdeps/powerpc/q_fgt.c: Move from here...
256 * sysdeps/powerpc/soft-fp/q_fgt.c: ... to here.
258 * soft-fp/sysdeps/powerpc/q_fle.c: Move from here...
259 * sysdeps/powerpc/soft-fp/q_fle.c: ... to here.
261 * soft-fp/sysdeps/powerpc/q_flt.c: Move from here...
262 * sysdeps/powerpc/soft-fp/q_flt.c: ... to here.
264 * soft-fp/sysdeps/powerpc/q_fne.c: Move from here...
265 * sysdeps/powerpc/soft-fp/q_fne.c: ... to here.
267 * soft-fp/sysdeps/powerpc/q_itoq.c: Move from here...
268 * sysdeps/powerpc/soft-fp/q_itoq.c: ... to here.
270 * soft-fp/sysdeps/powerpc/q_lltoq.c: Move from here...
271 * sysdeps/powerpc/soft-fp/q_lltoq.c: ... to here.
273 * soft-fp/sysdeps/powerpc/q_mul.c: Move from here...
274 * sysdeps/powerpc/soft-fp/q_mul.c: ... to here.
276 * soft-fp/sysdeps/powerpc/q_neg.c: Move from here...
277 * sysdeps/powerpc/soft-fp/q_neg.c: ... to here.
279 * soft-fp/sysdeps/powerpc/q_qtod.c: Move from here...
280 * sysdeps/powerpc/soft-fp/q_qtod.c: ... to here.
282 * soft-fp/sysdeps/powerpc/q_qtoi.c: Move from here...
283 * sysdeps/powerpc/soft-fp/q_qtoi.c: ... to here.
285 * soft-fp/sysdeps/powerpc/q_qtoll.c: Move from here...
286 * sysdeps/powerpc/soft-fp/q_qtoll.c: ... to here.
288 * soft-fp/sysdeps/powerpc/q_qtos.c: Move from here...
289 * sysdeps/powerpc/soft-fp/q_qtos.c: ... to here.
291 * soft-fp/sysdeps/powerpc/q_qtou.c: Move from here...
292 * sysdeps/powerpc/soft-fp/q_qtou.c: ... to here.
294 * soft-fp/sysdeps/powerpc/q_qtoull.c: Move from here...
295 * sysdeps/powerpc/soft-fp/q_qtoull.c: ... to here.
297 * soft-fp/sysdeps/powerpc/q_sqrt.c: Move from here...
298 * sysdeps/powerpc/soft-fp/q_sqrt.c: ... to here.
300 * soft-fp/sysdeps/powerpc/q_stoq.c: Move from here...
301 * sysdeps/powerpc/soft-fp/q_stoq.c: ... to here.
303 * soft-fp/sysdeps/powerpc/q_sub.c: Move from here...
304 * sysdeps/powerpc/soft-fp/q_sub.c: ... to here.
306 * soft-fp/sysdeps/powerpc/q_ulltoq.c: Move from here...
307 * sysdeps/powerpc/soft-fp/q_ulltoq.c: ... to here.
309 * soft-fp/sysdeps/powerpc/q_util.c: Move from here...
310 * sysdeps/powerpc/soft-fp/q_util.c: ... to here.
312 * soft-fp/sysdeps/powerpc/q_utoq.c: Move from here...
313 * sysdeps/powerpc/soft-fp/q_utoq.c: ... to here.
315 * soft-fp/sysdeps/sparc/sparc32/q_add.c: Move from here...
316 * sysdeps/sparc/sparc32/soft-fp/q_add.c: ... to here.
318 * soft-fp/sysdeps/sparc/sparc32/q_cmp.c: Move from here...
319 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c: ... to here.
321 * soft-fp/sysdeps/sparc/sparc32/q_cmpe.c: Move from here...
322 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c: ... to here.
324 * soft-fp/sysdeps/sparc/sparc32/q_div.c: Move from here...
325 * sysdeps/sparc/sparc32/soft-fp/q_div.c: ... to here.
327 * soft-fp/sysdeps/sparc/sparc32/q_dtoq.c: Move from here...
328 * sysdeps/sparc/sparc32/soft-fp/q_dtoq.c: ... to here.
330 * soft-fp/sysdeps/sparc/sparc32/q_feq.c: Move from here...
331 * sysdeps/sparc/sparc32/soft-fp/q_feq.c: ... to here.
333 * soft-fp/sysdeps/sparc/sparc32/q_fge.c: Move from here...
334 * sysdeps/sparc/sparc32/soft-fp/q_fge.c: ... to here.
336 * soft-fp/sysdeps/sparc/sparc32/q_fgt.c: Move from here...
337 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c: ... to here.
339 * soft-fp/sysdeps/sparc/sparc32/q_fle.c: Move from here...
340 * sysdeps/sparc/sparc32/soft-fp/q_fle.c: ... to here.
342 * soft-fp/sysdeps/sparc/sparc32/q_flt.c: Move from here...
343 * sysdeps/sparc/sparc32/soft-fp/q_flt.c: ... to here.
345 * soft-fp/sysdeps/sparc/sparc32/q_fne.c: Move from here...
346 * sysdeps/sparc/sparc32/soft-fp/q_fne.c: ... to here.
348 * soft-fp/sysdeps/sparc/sparc32/q_itoq.c: Move from here...
349 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: ... to here.
351 * soft-fp/sysdeps/sparc/sparc32/q_mul.c: Move from here...
352 * sysdeps/sparc/sparc32/soft-fp/q_mul.c: ... to here.
354 * soft-fp/sysdeps/sparc/sparc32/q_neg.c: Move from here...
355 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: ... to here.
357 * soft-fp/sysdeps/sparc/sparc32/q_qtod.c: Move from here...
358 * sysdeps/sparc/sparc32/soft-fp/q_qtod.c: ... to here.
360 * soft-fp/sysdeps/sparc/sparc32/q_qtoi.c: Move from here...
361 * sysdeps/sparc/sparc32/soft-fp/q_qtoi.c: ... to here.
363 * soft-fp/sysdeps/sparc/sparc32/q_qtos.c: Move from here...
364 * sysdeps/sparc/sparc32/soft-fp/q_qtos.c: ... to here.
366 * soft-fp/sysdeps/sparc/sparc32/q_qtoui.c: Move from here...
367 * sysdeps/sparc/sparc32/soft-fp/q_qtoui.c: ... to here.
369 * soft-fp/sysdeps/sparc/sparc32/q_qtoux.c: Move from here...
370 * sysdeps/sparc/sparc32/soft-fp/q_qtoux.c: ... to here.
372 * soft-fp/sysdeps/sparc/sparc32/q_qtox.c: Move from here...
373 * sysdeps/sparc/sparc32/soft-fp/q_qtox.c: ... to here.
375 * soft-fp/sysdeps/sparc/sparc32/q_sqrt.c: Move from here...
376 * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c: ... to here.
378 * soft-fp/sysdeps/sparc/sparc32/q_stoq.c: Move from here...
379 * sysdeps/sparc/sparc32/soft-fp/q_stoq.c: ... to here.
381 * soft-fp/sysdeps/sparc/sparc32/q_sub.c: Move from here...
382 * sysdeps/sparc/sparc32/soft-fp/q_sub.c: ... to here.
384 * soft-fp/sysdeps/sparc/sparc32/q_uitoq.c: Move from here...
385 * sysdeps/sparc/sparc32/soft-fp/q_uitoq.c: ... to here.
387 * soft-fp/sysdeps/sparc/sparc32/q_util.c: Move from here...
388 * sysdeps/sparc/sparc32/soft-fp/q_util.c: ... to here.
390 * soft-fp/sysdeps/sparc/sparc32/q_uxtoq.c: Move from here...
391 * sysdeps/sparc/sparc32/soft-fp/q_uxtoq.c: ... to here.
393 * soft-fp/sysdeps/sparc/sparc32/q_xtoq.c: Move from here...
394 * sysdeps/sparc/sparc32/soft-fp/q_xtoq.c: ... to here.
396 * soft-fp/sysdeps/sparc/sparc64/qp_add.c: Move from here...
397 * sysdeps/sparc/sparc64/soft-fp/qp_add.c: ... to here.
399 * soft-fp/sysdeps/sparc/sparc64/qp_cmp.c: Move from here...
400 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: ... to here.
402 * soft-fp/sysdeps/sparc/sparc64/qp_cmpe.c: Move from here...
403 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: ... to here.
405 * soft-fp/sysdeps/sparc/sparc64/qp_div.c: Move from here...
406 * sysdeps/sparc/sparc64/soft-fp/qp_div.c: ... to here.
408 * soft-fp/sysdeps/sparc/sparc64/qp_dtoq.c: Move from here...
409 * sysdeps/sparc/sparc64/soft-fp/qp_dtoq.c: ... to here.
411 * soft-fp/sysdeps/sparc/sparc64/qp_feq.c: Move from here...
412 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: ... to here.
414 * soft-fp/sysdeps/sparc/sparc64/qp_fge.c: Move from here...
415 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: ... to here.
417 * soft-fp/sysdeps/sparc/sparc64/qp_fgt.c: Move from here...
418 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: ... to here.
420 * soft-fp/sysdeps/sparc/sparc64/qp_fle.c: Move from here...
421 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: ... to here.
423 * soft-fp/sysdeps/sparc/sparc64/qp_flt.c: Move from here...
424 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: ... to here.
426 * soft-fp/sysdeps/sparc/sparc64/qp_fne.c: Move from here...
427 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: ... to here.
429 * soft-fp/sysdeps/sparc/sparc64/qp_itoq.c: Move from here...
430 * sysdeps/sparc/sparc64/soft-fp/qp_itoq.c: ... to here.
432 * soft-fp/sysdeps/sparc/sparc64/qp_mul.c: Move from here...
433 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: ... to here.
435 * soft-fp/sysdeps/sparc/sparc64/qp_qtod.c: Move from here...
436 * sysdeps/sparc/sparc64/soft-fp/qp_qtod.c: ... to here.
438 * soft-fp/sysdeps/sparc/sparc64/qp_qtoi.c: Move from here...
439 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: ... to here.
441 * soft-fp/sysdeps/sparc/sparc64/qp_qtos.c: Move from here...
442 * sysdeps/sparc/sparc64/soft-fp/qp_qtos.c: ... to here.
444 * soft-fp/sysdeps/sparc/sparc64/qp_qtoui.c: Move from here...
445 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: ... to here.
447 * soft-fp/sysdeps/sparc/sparc64/qp_qtoux.c: Move from here...
448 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: ... to here.
450 * soft-fp/sysdeps/sparc/sparc64/qp_qtox.c: Move from here...
451 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: ... to here.
453 * soft-fp/sysdeps/sparc/sparc64/qp_sqrt.c: Move from here...
454 * sysdeps/sparc/sparc64/soft-fp/qp_sqrt.c: ... to here.
456 * soft-fp/sysdeps/sparc/sparc64/qp_stoq.c: Move from here...
457 * sysdeps/sparc/sparc64/soft-fp/qp_stoq.c: ... to here.
459 * soft-fp/sysdeps/sparc/sparc64/qp_sub.c: Move from here...
460 * sysdeps/sparc/sparc64/soft-fp/qp_sub.c: ... to here.
462 * soft-fp/sysdeps/sparc/sparc64/qp_uitoq.c: Move from here...
463 * sysdeps/sparc/sparc64/soft-fp/qp_uitoq.c: ... to here.
465 * soft-fp/sysdeps/sparc/sparc64/qp_util.c: Move from here...
466 * sysdeps/sparc/sparc64/soft-fp/qp_util.c: ... to here.
468 * soft-fp/sysdeps/sparc/sparc64/qp_uxtoq.c: Move from here...
469 * sysdeps/sparc/sparc64/soft-fp/qp_uxtoq.c: ... to here.
471 * soft-fp/sysdeps/sparc/sparc64/qp_xtoq.c: Move from here...
472 * sysdeps/sparc/sparc64/soft-fp/qp_xtoq.c: ... to here.
474 * soft-fp/sysdeps/sparc/sparc64/s_frexpl.c: Move from here...
475 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: ... to here.
477 * soft-fp/sysdeps/sparc/sparc64/s_ilogbl.c: Move from here...
478 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: ... to here.
480 * soft-fp/sysdeps/sparc/sparc64/s_scalblnl.c: Move from here...
481 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: ... to here.
483 * soft-fp/sysdeps/sparc/sparc64/s_scalbnl.c: Move from here...
484 * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c: ... to here.
486 * soft-fp/sysdeps/alpha/sfp-machine.h: Move from here...
487 * sysdeps/alpha/soft-fp/sfp-machine.h: ... to here.
489 * soft-fp/sysdeps/i386/sfp-machine.h: Move from here...
490 * sysdeps/i386/soft-fp/sfp-machine.h: ... to here.
492 * soft-fp/sysdeps/mips/mips64/sfp-machine.h: Move from here...
493 * sysdeps/mips/mips64/soft-fp/sfp-machine.h: ... to here.
495 * soft-fp/sysdeps/mips/sfp-machine.h: Move from here...
496 * sysdeps/mips/soft-fp/sfp-machine.h: ... to here.
498 * soft-fp/sysdeps/powerpc/sfp-machine.h: Move from here...
499 * sysdeps/powerpc/soft-fp/sfp-machine.h: ... to here.
501 * soft-fp/sysdeps/sparc/sparc32/sfp-machine.h: Move from here...
502 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h: ... to here.
504 * soft-fp/sysdeps/sparc/sparc64/sfp-machine.h: Move from here...
505 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: ... to here.
507 * soft-fp/sysdeps/powerpc/Versions: Move from here...
508 * sysdeps/powerpc/soft-fp/Versions: ... to here.
510 * soft-fp/sysdeps/sparc/sparc64/Versions: Move from here...
511 * sysdeps/sparc/sparc64/soft-fp/Versions: ... to here.
513 * libio/oldiofsetpos64.c: iofsetpos was introduced in glibc 2.1,
514 change symbol version.
515 * libio/oldiofgetpos64.c: Likewise.
516 Reported by Martin v. Loewis <martin@loewis.home.cs.tu-berlin.de>.
518 * locale/programs/ld-ctype.c (charclass_charcode_ellipsis): Fix
520 Reported by dyky@kondara.org, closes PR libc/1886.
522 * stdlib/tst-strtod.c: Add testcases for denormal numbers from PR
525 2000-09-04 Ulrich Drepper <drepper@redhat.com>
527 * iconvdata/run-iconv-test.sh: Add code to immediately stop the
528 script when ^C is hit.
530 * locale/programs/localedef.c (construct_output_path): Correct
531 computation of endp after asprintf.
532 * locale/programs/locfile.c (write_locale_data): Don't add extra
535 2000-09-05 Andreas Jaeger <aj@suse.de>
537 * scripts/config.guess: New upstream version.
538 * scripts/config.sub: Likewise.
539 * manual/texinfo.tex: Likewise.
541 2000-09-04 Andreas Schwab <schwab@suse.de>
543 * elf/Makefile (all-dl-routines): New variable.
544 (elide-routines.os): Use it instead of $(dl-routines).
545 (all-rtld-routines): New variable.
546 (extra-objs): Use it instead of $(rtld-routines).
547 ($(objpfx)dl-allobjs.os): Likewise.
548 * sysdeps/ia64/Makefile [$(subdir) = elf]: Modify
549 sysdep-dl-routines and sysdep_routines instead of rtld-routines
552 2000-09-03 Bruno Haible <haible@clisp.cons.org>
554 * iconv/gconv_trans.c (__gconv_translit_find): Update open_count.
555 Set fname to NULL if the module wasn't found.
557 2000-09-03 Bruno Haible <haible@clisp.cons.org>
559 * iconv/gconv_trans.c (__gconv_translit_find): Don't set need_so to
560 true if trans->name already ends in ".so".
562 2000-09-03 Bruno Haible <haible@clisp.cons.org>
564 * iconv/gconv_int.h (__gconv_release_shlib): Change return type to
566 * iconv/gconv_dl.c (do_release_shlib): Don't decrement the counter
567 below -TRIES_BEFORE_UNLOAD-1, to avoid wraparound.
568 (__gconv_release_shlib): Change return type to void.
569 * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Don't set
570 step->__counter here.
571 * iconv/gconv_db.c (free_derivation): Don't call a step's destructor
572 if the reference is zero.
573 (release_step): New function.
574 (gen_steps): Always initialize the __counter to 1. Use release_step.
575 Don't call the destructor on the step whose initializer failed.
576 (increment_counter): Use release_step. Don't normally run destructors
578 (__gconv_close_transform): Use release_step.
580 2000-09-03 Bruno Haible <haible@clisp.cons.org>
582 * iconv/gconv_simple.c (encoding_mask, encoding_byte): Remove.
583 (__gconv_transform_internal_utf8) [BODY]: Use simple shifts instead.
585 2000-09-03 Bruno Haible <haible@clisp.cons.org>
587 * iconvdata/euc-tw.c (BODY for FROM_LOOP): Initialize ch2 correctly.
588 If the first byte is 0x8E, don't ask for 4 bytes until it has been
589 verified that the second byte is valid. Leave it to cns11643_to_ucs4
590 to check for incomplete input.
591 * iconvdata/cns11643.h (cns11643_to_ucs4): The plane number is
592 ch - 0x20 - offset, not ch - 0x21 - offset. Upper bound for
593 __cns11643l1_to_ucs4_tab is 0x21f2, not 0x2196.
594 (ucs4_to_cns11643): Fix mapping for ranges 0x3105..0x3129 and
596 * iconvdata/cns11643l1.h (cns11643l1_to_ucs4): Upper bound for
597 __cns11643l1_to_ucs4_tab is 0x21f2, not 0x2196.
598 (ucs4_to_cns11643l1): Fix mapping for range 0x3105..0x3129.
599 * iconvdata/cns11643l1.c (__cns11643l1_from_ucs4_tab6): Extend
602 2000-09-03 Bruno Haible <haible@clisp.cons.org>
604 * iconv/gconv_db.c (find_derivation): Always use the least-cost
607 2000-09-03 Bruno Haible <haible@clisp.cons.org>
609 * iconvdata/big5.c (BODY for FROM_LOOP): Bytes 0x81..0xA0, 0xFA..0xFF
612 2000-09-03 Bruno Haible <haible@clisp.cons.org>
614 * iconvdata/jis0208.c (__jis0208_to_ucs): Map EUC-JP 0xA1C0 to U+005C.
615 * iconvdata/jis0212.c (__jisx0212_to_ucs): Map EUC-JP 0x8FA2B7 to
618 2000-09-03 Bruno Haible <haible@clisp.cons.org>
620 * iconvdata/sjis.c (cjk_block1): Map 0x815F to U+005C.
622 2000-09-03 Bruno Haible <haible@clisp.cons.org>
624 * iconvdata/iso_6937-2.c (to_ucs4): Map 0xB4 to U+00D7.
626 2000-09-03 Bruno Haible <haible@clisp.cons.org>
628 * iconvdata/tst-tables.sh: New file.
629 * iconvdata/tst-table.sh: New file.
630 * iconvdata/tst-table-from.c: New file.
631 * iconvdata/tst-table-to.c: New file.
632 * iconvdata/tst-table-charmap.sh: New file.
633 * iconvdata/Makefile (test-srcs): Set to tst-table-from tst-table-to.
634 (distribute): Add tst-tables.sh, tst-table.sh, tst-table-charmap.sh,
635 tst-table-from.c, tst-table-to.c, EUC-JP.irreversible,
636 ISIRI-3342.irreversible, SJIS.irreversible.
637 (tests): Add dependency on tst-tables.out.
638 (tst-tables.out, tst-tables-clean): New rules.
639 (do-tests-clean, common-mostlyclean): Require tst-tables-clean.
640 * iconvdata/ISIRI-3342.irreversible: New file.
641 * iconvdata/EUC-JP.irreversible: New file.
642 * iconvdata/SJIS.irreversible: New file.
644 2000-09-04 Ulrich Drepper <drepper@redhat.com>
646 * manual/locale.texi (General Numeric): Update description of
647 representation of the grouping information in the locale data.
648 Patch by Gaute B. Strokkenes <gs234@cam.ac.uk>.
650 2000-09-04 Andreas Jaeger <aj@suse.de>
652 * locale/programs/ld-monetary.c (monetary_read): Fix typo.
653 * iconv/iconv_prog.c (options): Fix typo.
654 Reported by dyky@kondara.org, closes PR libc/1885.
656 2000-09-04 Andreas Jaeger <aj@suse.de>
658 * sysdeps/generic/fegetenv.c: It's __fegetenv.
659 Reported by Rob Levin <lilo@transvirtual.com>.
661 2000-09-03 Ulrich Drepper <drepper@redhat.com>
663 * time/sys/time.h (gettimeofday): Move restrict for tz parameter
664 to the typedefs of __timezone_ptr_t.
665 Reported by MATSUMURA Hiromitsu <coji2@mb.infoweb.ne.jp>.
667 2000-09-02 Jakub Jelinek <jakub@redhat.com>
669 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Increment counter in
672 2000-09-01 H.J. Lu <hjl@gnu.org>
674 * Makeconfig (built-program-cmd): Don't use the dynamic linker
675 to run a binary if it is in $(tests-static).
677 * Rules (binaries-static): Add $(tests-static).
679 2000-09-02 Andreas Jaeger <aj@suse.de>
681 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Fixes for fcntl64.
683 * libio/fmemopen.c (fmemopen_close): Revert one part of last
686 2000-09-01 Ulrich Drepper <drepper@redhat.com>
688 * iconvdata/big5hkscs.c: Regenerated from charmap.
689 * iconvdata/testdata/BIG5HKSCS: Regenerated.
690 * iconvdata/testdata/BIG5HKSCS..UTF8: Regenerated.
692 * libio/fmemopen.c (fmemopen_seek): Add default case in switch
693 statement. General cleanup.
695 2000-08-31 Bruno Haible <haible@clisp.cons.org>
697 * wctype/wcfuncs.c (iswblank): New function.
698 * wctype/wcfuncs_l.c (__iswblank_l): New function.
699 * wctype/wcextra.c: Remove file.
700 * wctype/wcextra_l.c: Remove file.
701 * wctype/Makefile (distribute): Remove wcextra and wcextra_l.
703 2000-08-31 Bruno Haible <haible@clisp.cons.org>
705 * locale/programs/ld-collate.c (collate_output): Remove redundant
707 * string/strcoll.c: Likewise.
708 * string/strxfrm.c: Include assert.h. Add assert calls like in
711 2000-08-31 Bruno Haible <haible@clisp.cons.org>
713 * locale/categories.def (_NL_COLLATE_HASH_SIZE,
714 _NL_COLLATE_HASH_LAYERS, _NL_COLLATE_NAMES, _NL_CTYPE_NAMES,
715 _NL_CTYPE_HASH_SIZE, _NL_CTYPE_HASH_LAYERS): Remove definitions.
716 * locale/langinfo.h (_NL_COLLATE_HASH_SIZE, _NL_COLLATE_HASH_LAYERS,
717 _NL_COLLATE_NAMES): Rename to _NL_COLLATE_GAP1/2/3 respectively.
718 (_NL_CTYPE_NAMES): Rename to _NL_CTYPE_GAP3.
719 (_NL_CTYPE_GAP3): Rename to _NL_CTYPE_GAP4.
720 (_NL_CTYPE_HASH_SIZE, _NL_CTYPE_HASH_LAYERS): Rename to
721 _NL_CTYPE_GAP5/6 respectively.
723 * locale/C-ctype.c (_nl_C_LC_CTYPE): Update.
724 * ctype/ctype-info.c (__ctype_names, __ctype_width): Remove variables.
725 * locale/lc-ctype.c (_nl_postload_ctype): Assume new locale format.
726 Don't initialize __ctype_names and __ctype_width.
727 * wctype/cname-lookup.h: Remove file.
728 * wctype/Makefile (distribute): Remove cname-lookup.h.
729 * wctype/wchar-lookup.h: Include stdint.h.
730 * wctype/wctype.c (__wctype): Assume new locale format.
731 * wctype/wctype_l.c (__wctype_l): Likewise.
732 * wctype/iswctype.c: Don't include cname-lookup.h.
733 (__iswctype): Assume new locale format.
734 * wctype/iswctype_l.c: Don't include cname-lookup.h.
735 (__iswctype_l): Assume new locale format.
736 * wctype/wctrans.c: Don't include ctype.h.
737 (wctrans): Assume new locale format.
738 * wctype/wctrans_l.c (__wctrans_l): Likewise.
739 * wctype/towctrans.c: Don't include cname-lookup.h.
740 (__towctrans): Assume new locale format.
741 * wctype/towctrans_l.c: Don't include cname-lookup.h.
742 (__towctrans_l): Assume new locale format.
743 * wctype/wcfuncs.c: Don't include ctype.h and cname-lookup.h. Include
744 localeinfo.h instead.
745 (__NO_WCTYPE): Remove unused macro.
746 (__ctype32_b, __ctype32_toupper, __ctype32_tolower): Remove
748 (iswalnum, iswalpha, iswcntrl, iswdigit, iswlower, iswgraph, iswprint,
749 iswpunct, iswspace, iswupper, iswxdigit): Assume new locale format.
750 (towlower, towupper): Likewise.
751 * wctype/wcfuncs_l.c: Don't include cname-lookup.h. Include
752 localeinfo.h instead.
753 (__NO_WCTYPE): Remove unused macro.
754 (__iswalnum_l, __iswalpha_l, __iswcntrl_l, __iswdigit_l, __iswlower_l,
755 __iswgraph_l, __iswprint_l, __iswpunct_l, __iswspace_l, __iswupper_l,
756 __iswxdigit_l): Assume new locale format.
757 (__towlower_l, __towupper_l): Likewise.
758 * wcsmbs/wcwidth.h: Don't include cname-lookup.h.
759 (__ctype32_b): Remove declaration.
760 (internal_wcwidth): Assume new locale format.
761 * locale/programs/ld-ctype.c (struct locale_ctype_t): Remove fields
762 plane_size, plane_cnt, names, width. Rename map to map_b, rename map32
763 to map32_b, rename width_3level to width.
764 (ctype_output): Always create new locale format. Don't emit
765 _NL_CTYPE_NAMES, _NL_CTYPE_HASH_SIZE, _NL_CTYPE_HASH_LAYERS any more.
766 (allocate_arrays): Always create new locale format.
768 * locale/C-collate.c (_nl_C_LC_COLLATE): Update.
769 * locale/weightwc.h (findidx): Assume new locale format.
770 * string/strcoll.c (wcscoll): Remove local variables size, layers,
772 * string/strxfrm.c (wcsxfrm): Likewise.
773 * posix/fnmatch_loop.c (internal_fnwmatch): Likewise. Change type of
774 local variable collseq to 'const char *'.
775 (SUFFIX): Don't use, don't undefine.
776 * posix/fnmatch.c: Remove SUFFIX definition.
777 * locale/programs/ld-collate.c (struct locale_collate_t): Remove
778 fields plane_size, plane_cnt, wcheads, wcseqorder. Rename
779 wcheads_3level to wcheads, rename wcseqorder_3level to wcseqorder.
780 (collate_finish): Always create new locale format. Remove local
781 variables min_total, act_size.
782 (collate_output): Always create new locale format. Remove local
783 variables table_size, names, tablewc. Rename tablewc_3level to
786 2000-08-31 Bruno Haible <haible@clisp.cons.org>
788 * locale/programs/ld-collate.c (obstack_int32_grow,
789 obstack_int32_grow_fast): New inline functions.
790 (output_weightwc, collate_output): Use them where possible.
792 2000-09-01 Ulrich Drepper <drepper@redhat.com>
794 * libio/libio.h (_IO_flockfile, _IO_funlockfile): Fix typo in last
795 patch (_mode -> _flags).
797 * libio/Makefile (headers): Add stdio_ext.h.
798 (routines): Add __fbufsize, __freading, __fwriting, __freadable,
799 __fwritable, __flbf, __fpurge, __fpending, and __fsetlocking.
800 * libio/Versions [libc] (GLIBC_2.2): Add __fbufsize, __freading,
801 __fwriting, __freadable, __fwritable, __flbf, __fpurge, __fpending,
802 __fsetlocking, and _flushlbf.
803 * libio/__fbufsize.c: New file.
804 * libio/__flbf.c: New file.
805 * libio/__fpending.c: New file.
806 * libio/__fpurge.c: New file.
807 * libio/__freadable.c: New file.
808 * libio/__freading.c: New file.
809 * libio/__fsetlocking.c: New file.
810 * libio/__fwritable.c: New file.
811 * libio/__fwriting.c: New file.
812 * libio/stdio_ext.h: New file.
813 * libio/genops.c (_IO_flush_all_linebuffered): Add alias _flushlbf.
814 * libio/libio.h (_IO_USER_LOCK): Define.
815 [_IO_MTSAFE_IO] (_IO_flockfile, _IO_funlockfile): Add macros which
816 test _IO_USER_LOCK flag first.
818 * iconv/gconv_open.c (__gconv_open): Set res to __GCONV_NOMEM is
821 2000-09-01 Andreas Jaeger <aj@suse.de>
823 * sysdeps/unix/sysv/linux/bits/fcntl.h: Always fail.
825 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: New file.
827 2000-08-31 Ulrich Drepper <drepper@redhat.com>
829 * math/Makefile (tests): Add tst-defintions.
830 * math/tst-definitions.c: New file.
832 * stdlib/Makefile (headers): Add bits/wchar.h.
833 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: New file.
834 * sysdeps/generic/bits/wchar.h: New file.
835 * sysdeps/generic/stdint.h: Include <bits/wchar.h>. Use values in this
836 file to define WCHAR_MIN and WCHAR_MAX.
837 Change UINT*8_MAX and UIN*16_MAX value to type int.
838 * wcsmbs/wchar.h: Include <bits/wchar.h>. Use values in this
839 file to define WCHAR_MIN and WCHAR_MAX.
840 * sysdeps/alpha/fpu/bits/mathdef.h: Make FP_ILOGB0 and FP_ILOGBNAN
842 * sysdeps/arm/fpu/bits/mathdef.h: Likewise.
843 * sysdeps/generic/bits/mathdef.h: Likewise.
844 * sysdeps/i386/fpu/bits/mathdef.h: Likewise.
845 * sysdeps/m68k/fpu/bits/mathdef.h: Likewise.
846 * sysdeps/powerpc/fpu/bits/mathdef.h: Likewise.
847 * sysdeps/sparc/fpu/bits/mathdef.h: Likewise.
848 * locale/locale.h (struct lconv): Add __ prefix to the new members
850 * sysdeps/generic/inttypes.h: Remove unnecessary imaxabs and
851 imaxdiv optimizations.
852 * sysdeps/wordsize-32/lldiv.c: Add hack to make alias work.
853 * sysdeps/wordsize-64/ldiv.c: Likewise.
854 * sysdeps/alpha/fpu/bits/fenv.h: Change type of FE_*_ENV macros to
856 * sysdeps/generic/bits/fenv.h: Likewise.
857 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
858 * sysdeps/ia64/bits/fenv.h: Likewise.
859 * sysdeps/m68k/fpu/bits/fenv.h: Likewise.
860 * sysdeps/mips/bits/fenv.h: Likewise.
861 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
862 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
863 Reported by Joseph S. Myers <jsm28@cam.ac.uk>.
865 * inet/rcmd.c: Use *stat64 instead of *stat internally.
866 * inet/ruserpass.c: Likewise.
867 * catgets/open_catalog.c: Likewise.
868 * intl/loadmsgcat.c: Likewise.
869 * io/getdirname.c: Likewise.
870 * locale/loadlocale.c: Likewise.
871 * misc/getusershell.c: Likewise.
872 * stdlib/canonicalize.c: Likewise.
873 * sysdeps/posix/euidaccess.c: Likewise.
874 * sysdeps/posix/isfdtype.c: Likewise.
875 * sysdeps/posix/posix_fallocate.c: Likewise.
876 * sysdeps/posix/tempname.c: Likewise.
877 * sysdeps/unix/grantpt.c: Likewise.
878 * sysdeps/unix/opendir.c: Likewise.
879 * sysdeps/unix/sysv/linux/fstatvfs.c: Likewise.
880 * sysdeps/unix/sysv/linux/internal_statvfs.c: Likewise.
881 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
882 * sysdeps/unix/sysv/linux/statvfs.c: Likewise.
883 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
884 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
885 * sysvipc/ftok.c: Likewise.
886 * time/getdate.c: Likewise.
888 * time/getdate.c: Add extra access test.
890 2000-08-31 Ulrich Drepper <drepper@redhat.com>
892 * version.h (VERSION): Bump to 2.1.93.
894 * sysdeps/unix/sysv/linux/powerpc/Dist: Add fe_nomask.c.
895 * sysdeps/unix/sysv/linux/i386/Dist: Add olddirent.h.
897 * intl/Makefile (tests): Depend in mtrace-tst-gettext.
898 Make this a new rule depending on tst-gettext.out and run mtrace.
899 * intl/tst-gettext.c: Call mtrace.
900 * intl/tst-gettext.sh: Put MALLOC_TRACE in environment of tst-gettext.
902 * elf/dl-reloc.c: Add a few more __builtin_expect.
904 * configure.in: Remove --with-gettext option.
906 * intl/dcigettext.c (free_mem): Correct freeing of
907 _nl_domain_bindings list.
909 * sysdeps/generic/setenv.c (free_mem): New function. Free all
912 * intl/locale.alias: Add aliases for bokmal and nynorsk.
914 * locale/iso-639.def: Fix 639-1 code for Bokmal.
916 * stdio-common/itoa-digits.c: Move upper digits to...
917 * stdio-common/itoa-udigits.c: ...here. New file.
918 * stdio-common/Makefile (routines): Add itoa-udigits.
920 * sysdeps/i386/dl-machine.h (elf_machine_rel): For the version to
921 relocate ld.so don't add supprt for relocations which should not
924 * malloc/malloc.c (ptmalloc_init): Optimize a bit by not calling
925 __secure_getenv. Instead test __libc_enable_secure once.
927 * io/pwd.c (main): Provide a good example, use *_unlocked function.
929 2000-08-30 Ulrich Drepper <drepper@redhat.com>
931 * iconv/gconv_conf.c (insert_module): Take extra parameter to decide
932 whether the new record should be freed if it's a duplicate.
933 (add_module): Adjust insert_module call.
934 (__gconv_read_conf): Likewise.
935 * iconvdata/Makefile (generated): Add tst-loading.mtrace and
937 (tests): Make $(objpfx)mtrace-tst-loading a dependency. Add rule.
939 * sysdeps/generic/ldsodefs.h: Add declaration for _dl_all_dirs and
941 * include/link.h (struct r_search_path_struct): New.
942 (struct link_map): Use it for l_rpath_dirs and l_runpath_dirs.
943 * elf/Versions [ld] (GLIBC_2.2): Add _dl_all_dirs and
945 * elf/dl-close.c (_dl_close): Free l_rpath_dirs and l_runpath_dirs.
946 * elf/dl-libc.c (free_mem): Free _dl_all_dirs list except elements
947 added at startup time.
948 * elf/dl-load.c: Fix memory handling. r_search_path_struct
949 contains element to remember fact that we can free memory.
950 (all_dirs): Renamed to _dl_all_dirs. Made global.
951 (_dl_init_all_dirs): New variable.
952 (fillin_rpath): Save one malloc call.
953 (decompose_rpath): Change interface. New first parameter points to
954 r_search_path_struct.
955 (_dl_init_paths): Adjust for changes. Mark all memory as not
956 deletable. Set _dl_init_all_paths value.
957 (open_path): Remove may_free_dirs parameter. r_search_path_elem ***
958 parameter replaced with r_search_path_struct *. Information about
959 freeing now contained in r_search_path_struct.
960 (_dl_map_object): Adjust for above changes.
962 * elf/dl-open.c (dl_open_worker): Change format of debug info a bit.
964 * elf/dl-load.c (fillin_rpath): Only check for trusted directories
965 when adding new entries.
967 * elf/dl-load.c (fillin_rpath): Make local copy of where string
968 since the object being loaded can be unloaded.
970 * iconvdata/Makefile (tests): Add tst-loading.
971 * iconvdata/tst-loading.c: New file.
973 2000-08-29 Bruno Haible <haible@clisp.cons.org>
975 * stdio-common/vfscanf.c (_IO_vfscanf): Back out last ungetc change.
976 When comparing a char with an int, always cast the char to
977 'unsigned char'. New macro ungetc_not_eof, to avoid warnings when
978 compiling with -funsigned-char. Use UCHAR_MAX+1 instead of UCHAR_MAX.
980 2000-08-30 Ulrich Drepper <drepper@redhat.com>
982 * time/strftime.c (my_strftime): Add compatibility code for use
983 outside glibc. Patch by Jim Meyering <meyering@ascend.com>.
985 * sysdeps/posix/getaddrinfo.c (gaih_local): uname does not everywhere
986 return 0 for success but always < 0 on failure.
988 * nss/getXXbyYY_r.c: Define result to *result before including
991 2000-08-30 Andreas Jaeger <aj@suse.de>
993 * math/gen-libm-test.pl (parse_ulps): Remove extra \.
995 2000-08-29 Ulrich Drepper <drepper@redhat.com>
997 * iconvdata/big5hkscs.c: Rewritten. Regenerate data from the
999 * iconvdata/TESTS: Add BIG5HKSCS entry.
1000 * iconvdata/testdata/BIG5HKSCS: New file.
1001 * iconvdata/testdata/BIG5HKSCS..UTF8: New file.
1003 * iconvdata/big5.c (BODY for FROM_LOOP): Remove condition which is
1006 * libio/iogetline.c: Set mode before the loop in case n==0.
1007 * libio/iogetwline.c: Likewise.
1009 2000-08-29 H.J. Lu <hjl@gnu.org>
1011 * libio/fileops.c (new_do_write): Check fp->_mode <= 0 instead
1013 (_IO_new_file_overflow): Likewise.
1014 * libio/genops.c (_IO_flush_all): Likewise.
1015 * libio/ioftell.c (_IO_ftell): Likewise.
1017 2000-08-29 Akira Higuchi <a@kondara.org>
1019 * iconv/gconv_db.c (increment_counter): Reset __init_fct, __fct,
1020 and __end_fct fields of struct __gconv_step.
1021 * iconv/Makefile (tests): Add iconv-bug2.
1022 * iconv/iconv-bug2.c: New file.
1024 * iconvdata/euc-kr.c (BODY for FROM_LOOP): Pass 'inend - inptr'
1025 instead of 'inptr - inend' to ksc5601_to_ucs4.
1027 * iconvdata/sjis.c (BODY for FROM_LOOP): Allow 0x7f character.
1029 * iconvdata/iso-2022-cn.c (BODY for FROM_LOOP): If an incomplete
1030 character or shift sequence is found at the end of the input
1031 string, return__GCONV_INCOMPLETE_INPUT instead of
1032 __GCONV_EMPTY_INPUT.
1033 * iconvdata/iso-2022-jp.c (BODY for FROM_LOOP): Likewise.
1034 * iconvdata/iso-2022-kr.c (BODY for FROM_LOOP): Likewise.
1036 * iconvdata/iso-2022-jp.c (BODY for FROM_LOOP): Return
1037 __GCONV_ILLEGAL_INPUT for 8bit characters.
1039 2000-08-29 Ulrich Drepper <drepper@redhat.com>
1041 * signal/signal.h (sigpause): Move __THROW before __asm__.
1043 * inet/rcmd.c (__checkhost_sa): If getnameinfo succeeds but the
1044 names don't match don't return.
1045 Patch by Olaf Kirch <okir@flash.lst.de>.
1047 2000-08-28 Ulrich Drepper <drepper@redhat.com>
1049 * time/strftime.c (my_strftime): Handle # flag for %b as well.
1051 2000-08-27 H.J. Lu <hjl@gnu.org>
1053 * posix/Makefile (otherlibs): Add for building with static-nss
1056 2000-08-28 Ulrich Drepper <drepper@redhat.com>
1058 * libio/stdio.h: Add fmemopen prototype.
1060 2000-08-25 Andreas Jaeger <aj@suse.de>
1062 * libio/Makefile (routines): Add fmemopen.
1063 (tests): Add test-fmemopen.
1064 * libio/Versions: Add fmemopen with version GLIBC_2.2.
1065 * libio/test-fmemopen.c: New file.
1066 * libio/fmemopen.c: New file.
1067 Patches by Hanno Mueller <kontakt@hanno.de>.
1069 2000-08-28 Ulrich Drepper <drepper@redhat.com>
1071 * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h: Prevent double
1072 inclusion. Patch by Jes Sorensen <jes@linuxcare.com>.
1074 * locale/localeinfo.h (LIMAGIC): Change base number to 0x20000828
1075 to avoid crashing statically linked applications.
1077 2000-08-27 Bruno Haible <haible@clisp.cons.org>
1079 * string/strxfrm.c (strxfrm, wcsxfrm): Include <sys/param.h>.
1080 If nrules == 0 and srclen < n, copy only srclen + 1 characters.
1082 * sysdeps/generic/getdomain.c (getdomainname): Include <sys/param.h>.
1083 If the result is fits in the buffer, copy only as many bytes as needed.
1085 * sysdeps/generic/_strerror.c (__strerror_r): Don't zero-fill the
1086 buffer after copying numbuf into it.
1087 * sysdeps/mach/_strerror.c (__strerror_r): Likewise.
1089 2000-08-27 Bruno Haible <haible@clisp.cons.org>
1091 * posix/confstr.c (confstr): When string_len > len, NUL-terminate
1092 the result. When string_len < len, don't clear the rest of the buffer.
1094 2000-08-27 Bruno Haible <haible@clisp.cons.org>
1096 Support for new LC_COLLATE format.
1097 * locale/coll-lookup.h: New file.
1098 * locale/weightwc.h (findidx): When size == 0, call
1099 collidx_table_lookup.
1100 * wcsmbs/wcscoll.c: Include coll-lookup.h.
1101 * wcsmbs/wcsxfrm.c: Likewise.
1102 * posix/fnmatch.c: Likewise.
1103 * posix/fnmatch_loop.c (internal_fnwmatch): When size == 0, call
1104 collseq_table_lookup.
1105 * locale/programs/3level.h: New file.
1106 * locale/programs/ld-ctype.c: (wcwidth_table, wctrans_table): Define
1107 by including "3level.h".
1108 * locale/programs/ld-collate.c (wchead_table, collidx_table,
1109 collseq_table): New types, defined by including "3level.h".
1110 (locale_collate_t): New wcheads_3level, wcseqorder_3level fields.
1111 (encoding_mask, encoding_byte): Remove.
1112 (utf8_encode): Use simple shifts instead.
1113 (collate_finish): When !oldstyle_tables, set plane_size and plane_cnt
1114 to 0, and initialize and fill wcheads_3level and wcseqorder_3level.
1115 (collate_output): New local variable tablewc_3level. When
1116 !oldstyle_tables, set table_size to 0 and names to NULL and fill
1117 tablewc_3level instead of tablewc. Change format of TABLEWC and
1118 COLLSEQWC entries written to the file.
1119 * locale/C-collate.c (collseqwc): Change format.
1120 (_nl_C_LC_COLLATE): Set HASH_SIZE and HASH_LAYERS to 0, change format
1122 * locale/Makefile (distribute): Add coll-lookup.h, programs/3level.h.
1124 2000-08-27 Bruno Haible <haible@clisp.cons.org>
1126 * locale/programs/ld-ctype.c (MAX_CHARNAMES_IDX): New macro.
1127 (locale_ctype_t): New charnames_idx field.
1128 (ctype_startup): Initialize charnames_idx field.
1129 (find_idx): Speed up dramatically by using charnames_idx inverse table.
1131 2000-08-27 Bruno Haible <haible@clisp.cons.org>
1133 * locale/C-ctype.c: Switch to new locale format.
1134 (_nl_C_LC_CTYPE_names): Remove array.
1135 (STRUCT_CTYPE_CLASS): New macro.
1136 (_nl_C_LC_CTYPE_class_{upper,lower,alpha,digit,xdigit,space,print,
1137 graph,blank,cntrl,punct,alnum}, _nl_C_LC_CTYPE_map_{toupper,tolower}):
1138 New three-level tables.
1139 (_nl_C_LC_CTYPE_width): Change from array to three-level table.
1140 (_nl_C_LC_CTYPE): Fix nstrings value. Set HASH_SIZE and HASH_LAYERS
1141 to 0. Change WIDTH format. Set CLASS_OFFSET and MAP_OFFSET. Add
1142 12 class tables and 2 map tables at the end.
1143 * ctype/ctype-info.c (_nl_C_LC_CTYPE_names): Remove declaration.
1144 (_nl_C_LC_CTYPE_class_{upper,lower,alpha,digit,xdigit,space,print,
1145 graph,blank,cntrl,punct,alnum}, _nl_C_LC_CTYPE_map_{toupper,tolower}):
1147 (b): Remove trailing semicolon.
1148 (__ctype_names, __ctype_width): Don't initialize.
1149 (__ctype32_wctype, __ctype32_wctrans, __ctype32_width): Initialize.
1151 2000-08-27 Bruno Haible <haible@clisp.cons.org>
1153 * elf/dl-load.c (open_path): Add a argument telling whether *dirsp
1154 is guaranteed to be allocated with the same malloc() and may be
1156 (_dl_map_object): Update open_path calls. If rtld_search_dirs has
1157 been set to empty by an earlier open_path call, don't pass it again.
1159 2000-08-28 Ulrich Drepper <drepper@redhat.com>
1161 * include/libintl.h: Include <locale.h> since libintl.h doesn't if
1162 we are not optimizing.
1164 * sysdeps/unix/sysv/linux/powerpc/sysdep.h: Protect against double
1167 * stdio-common/vfscanf.c (ungetc): Cast c to signed char first to
1169 Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
1171 2000-08-28 Andreas Jaeger <aj@suse.de>
1173 * sysdeps/i386/fpu/libm-test-ulps: Tweaks for AMD Athlon.
1175 2000-08-28 Mark Kettenis <kettenis@gnu.org>
1177 * sysdeps/mach/hurd/getpeername.c (__getpeername): Renamed from
1178 getpeername. Use ISO C style function definition.
1179 (getpeername): Provide weak alias.
1180 * sysdeps/mach/hurd/setrlimit.c (__setrlimit): Renamed from
1181 setrlimit. Use ISO C style function definition.
1182 (setrlimit): Provide weak alias.
1184 2000-08-28 Martin Schwidefsky <schwidefsky@de.ibm.com>
1186 * shlib-versions: Add a rule for S/390 to the libm version list.
1187 * sysdeps/s390/Versions: New file.
1188 * sysdeps/unix/sysv/linux/s390/Dist: Add oldgetrlimit64.c.
1189 * sysdeps/unix/sysv/linux/s390/Makefile: Add oldgetrlimit64.
1190 * sysdeps/unix/sysv/linux/s390/Versions: New file.
1191 * sysdeps/unix/sysv/linux/s390/alphasort64.c: New file.
1192 * sysdeps/unix/sysv/linux/s390/chown.c: New file.
1193 * sysdeps/unix/sysv/linux/s390/fxstat.c: New file.
1194 * sysdeps/unix/sysv/linux/s390/getdents64.c: New file.
1195 * sysdeps/unix/sysv/linux/s390/getrlimit.c: New file.
1196 * sysdeps/unix/sysv/linux/s390/getrlimit64.c: New file.
1197 * sysdeps/unix/sysv/linux/s390/lxstat.c: New file.
1198 * sysdeps/unix/sysv/linux/s390/oldgetrlimit64.c: New file.
1199 * sysdeps/unix/sysv/linux/s390/readdir64.c: New file.
1200 * sysdeps/unix/sysv/linux/s390/readdir64_r.c: New file.
1201 * sysdeps/unix/sysv/linux/s390/scandir64.c: New file.
1202 * sysdeps/unix/sysv/linux/s390/setrlimit.c: New file.
1203 * sysdeps/unix/sysv/linux/s390/syscalls.list: New file.
1204 * sysdeps/unix/sysv/linux/s390/versionsort64.c: New file.
1205 * sysdeps/unix/sysv/linux/s390/xstat.c: New file.
1207 2000-08-28 Ulrich Drepper <drepper@redhat.com>
1209 * sysdeps/unix/sysv/linux/powerpc/Makefile [$(subdir)==csu]
1210 (CFLAGS-initfini.s): Add -DWEAK_GMON_START.
1212 * elf/Versions [ld] (GLIBC_2.2): Export _dl_debug_files.
1213 * elf/dl-close.c (_dl_close): Print debug message if object is not
1215 * elf/dl-open.c (dl_open_worked): Print message about opencount before
1216 returning to caller.
1218 * po/zh.po: Renamed to...
1219 * po/zh_TW.po: ...this.
1221 2000-08-27 Geoff Keating <geoffk@cygnus.com>
1223 * sysdeps/powerpc/fpu/feenablxcpt.c: Correct bogus checkin.
1225 * sysdeps/powerpc/fpu/fedisblxcpt.c: New file.
1226 * sysdeps/powerpc/fpu/feenablxcpt.c: New file.
1227 * sysdeps/powerpc/fpu/fegetexcept.c: New file.
1228 * sysdeps/unix/sysv/linux/powerpc/fe_nomask.c: New file.
1230 2000-08-27 Ulrich Drepper <drepper@redhat.com>
1232 * locale/programs/ld-collate.c (insert_weights): Also update
1233 backpointer of next element.
1234 (collate_read): Allow definition of new collation symbols in stage 2.
1235 Symbol after reorder-after can be UCS4 value.
1236 Allow reordering of collation symbols and elements.
1237 Do not only move reorder entry in new position. Instead call
1238 insert_weight to do this and read the weights.
1240 * locale/findlocale.c (free_mem): Add cast to avoid warning.
1242 * intl/dcigettext.c (DCIGETTEXT): Remove _nl_find_language in code
1243 to determine invalid locale name.
1244 * locale/findlocale.c (_nl_find_locale): Likewise.
1246 * posix/annexc.c: Correct test for unavailable feature.
1248 * sysdeps/unix/sysv/linux/i386/sys/io.h (outw): Fix __INLINE ->
1251 2000-08-26 Ulrich Drepper <drepper@redhat.com>
1253 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add getdents64
1256 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir)==resource]
1257 (sysdep_routines): Add oldgetrlimit64.
1259 * elf/Makefile (distribute): Add unloadmod.c, reldepmod1.c,
1260 reldepmod2.c, reldepmod3.c, and reldepmod4.c.
1261 (tests): Add unload, reldep, reldep2, and reldep3.
1262 (modules-names): Add unloadmod, reldepmod1, reldepmod2, reldepmod3,
1264 Add rules to build and run unload, reldep, reldep2, and reldep3.
1265 * elf/dl-lookup.c (_dl_lookup_symbol): Add new parameter explicit.
1266 Don't create relocation dependency if it is nonzero.
1267 (_dl_lookup_symbol_skip): Remove relocation dependency stuff. This
1268 can never happen here.
1269 (_dl_lookup_versioned_symbol): Add new parameter explicit.
1270 Don't create relocation dependency if it is nonzero.
1271 (_dl_lookup_versioned_symbol_skip): Remove relocation dependency
1272 stuff. This can never happen here.
1273 * sysdeps/generic/ldsodefs.h: Change prototypes.
1274 * elf/dl-reloc.c (RESOLVE_MAP): Pass 0 in explicit parameter to
1275 _dl_lookup_up and _dl_lookup_versioned_symbol.
1277 * elf/dl-runtime.c (fixup): Likewise.
1278 (profile_fixup): Likewise.
1279 * elf/dl-libc.c (do_dlsym): Pass 1 in explicit parameter to
1281 * elf/dl-symbol.c (_dl_symbol_value): Likewise.
1282 * elf/rtld.c (dl_main): Likewise.
1283 * elf/dl-sym.c (_dl_sym): Pass 1 in explicit parameter to
1284 _dl_lookup_symbol if handle is not RTLD_DEFAULT. Always compute
1285 and pass down the caller map.
1286 (_dl_vsym): Likewise.
1287 * elf/reldep.c: New file.
1288 * elf/reldep2.c: New file.
1289 * elf/reldep3.c: New file.
1290 * elf/reldepmod1.c: New file.
1291 * elf/reldepmod2.c: New file.
1292 * elf/reldepmod3.c: New file.
1293 * elf/reldepmod4.c: New file.
1294 * elf/unload.c: New file.
1295 * elf/unloadmod.c: New file.
1297 * elf/do-lookup.h: Remove unused undef_name parameter.
1298 * elf/dl-lookup.c: Adjust callers.
1300 2000-08-25 Ulrich Drepper <drepper@redhat.com>
1302 * iconv/gconv_trans.c (__gconv_transliterate): Pass NULL instead of
1303 irreversible in recursive call of conversion function to signal that
1304 no error handling is wanted.
1305 * iconv/loop.c (ignore_errors_p): irreversible must be != NULL, too.
1306 (STANDARD_ERR_HANDLER): Don't do anything if irreversible == NULL.
1307 * iconv/skeleton.c (lirreversiblep): New variable. Set to NULL is
1308 recursive error handling call, otherwise to &lirreversible. Use it
1309 for calls to conversion functions.
1310 * iconv/gconv_simple.c (ucs4_internal_loop): Don't handle errors when
1312 (ucs4_internal_loop_unaligned): Likewise.
1313 (ucs4le_internal_loop): Likewise.
1314 (ucs4le_internal_loop_unaligned): Likewise.
1316 2000-08-25 Greg McGary <greg@mcgary.org>
1318 * sysdeps/i386/memchr.S: Check high bound against chars
1320 * sysdeps/i386/memcmp.S: Likewise.
1321 * sysdeps/i386/stpncpy.S: Adjust high-bound check to
1322 account for pointers that lie one beyond end-of-buffer.
1324 2000-08-25 Ulrich Drepper <drepper@redhat.com>
1326 * elf/Makefile (LDFLAGS-nodelete): Add -rdynamic.
1327 * elf/nodelete.c (fini_ran): New global variable.
1328 (do_test): Before every dlclose call clear fini_ran and test
1329 afterwards that it is not set by the destructors.
1330 * elf/nodelmod1.c: Add destructor which sets fini_ran.
1331 * elf/nodelmod2.c: Likewise.
1332 * elf/nodelmod4.c: Likewise.
1334 2000-08-21 Jes Sorensen <jes@linuxcare.com>
1336 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add getrlimit and
1337 getrlimit to the list.
1339 2000-08-18 Jes Sorensen <jes@linuxcare.com>
1341 * sysdeps/ia64/Implies: gcc now has support for the Intel 80 bit
1342 long double format so use ldbl-96 instead of ldbl-128.
1344 2000-08-25 Ulrich Drepper <drepper@redhat.com>
1346 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap): Return -EINVAL
1347 even if bits 10 a 11 are non-zero.
1348 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64): Likewise.
1350 * Makeconfig: Ensures the soversions.mk part of Makefile gets
1351 included before building gnu/lib-names.h
1352 Patch by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
1354 * elf/dl-close.c (_dl_close): Don't run destructors of objects
1355 marked DF_1_NODELETE.
1357 * sysdeps/posix/system.c (__libc_system): We cannot use vfork here
1358 since we call sigaction in the child.
1360 2000-08-25 Andreas Jaeger <aj@suse.de>
1362 * iconvdata/Makefile ($(objpfx)bug-iconv1.out): Depend on
1365 2000-08-25 Andreas Jaeger <aj@suse.de>
1367 * manual/arith.texi (Control Functions): Clarify possible
1368 arguments. Closes PR libc/1856.
1370 2000-08-24 H.J. Lu <hjl@gnu.org>
1372 * stdio-common/Makefile (tests): Don't do it for cross compiling.
1373 * malloc/Makefile (tests): Likewise.
1375 2000-08-24 Ulrich Drepper <drepper@redhat.com>
1377 * iconvdata/unicode.c (gconv_init): Correct test for direction.
1379 2000-08-24 Andreas Jaeger <aj@suse.de>
1381 * malloc/Makefile (extra-objs): Fix last patch, build memusagestat
1382 only if LIBGD is available.
1384 2000-08-24 Ulrich Drepper <drepper@redhat.com>
1386 * resolv/res_send.c (res_ourserver_p): Cleanup the type mess to avoid
1387 problems with now restrict parameter types.
1388 (convaddr4to6): Likewise.
1390 2000-08-24 Denis Joseph Barrow <djbarrow@de.ibm.com>
1392 * sysdeps/s390/fpu/fedisblxcpt.c: New file.
1393 * sysdeps/s390/fpu/feenablxcpt.c: New file.
1394 * sysdeps/s390/fpu/fegetexcept.c: New file.
1395 * sysdeps/s390/fpu/fenv_libc.h: Some reordering, new definition
1398 2000-08-24 Andreas Jaeger <aj@suse.de>
1400 * malloc/Makefile (extra-objs): Add memusagestat.o.
1401 (generated): Added memusage and memusagestat for make clean.
1403 * libio/tst_putwc.c (do_test): Delete temporary file.
1404 Move inclusion of test-skeleton to front to have prototype for
1407 * posix/Makefile (generated): Add wordexp-tst.out.
1409 2000-08-24 Ulrich Drepper <drepper@redhat.com>
1411 * resolv/res_hconf.c (free_mem): Remove not needed if.
1413 * time/tzset.c (free_mem): New function.
1414 * string/strsignal.c (free_mem): New function.
1415 * inet/inet_ntoa.c (free_mem): New function.
1416 * sunrpc/clnt_perr.c (free_mem): New function.
1418 2000-08-24 Andreas Jaeger <aj@suse.de>
1420 * sysdeps/unix/syscalls.list: Use __setrlimit as strong name.
1421 * sysdeps/unix/sysv/syscalls.list: Likewise.
1423 * posix/unistd.h: Move internal prototypes from here ...
1424 * include/unistd.h: ... to here.
1426 * sysvipc/sys/shm.h: Add const attribute to __getpagesize.
1428 2000-08-24 Ulrich Drepper <drepper@redhat.com>
1430 * grp/initgroups.c (initgroups): Deallocate groups array.
1431 Reported by jani.raiha@sonera.com [PR libc/1868].
1433 * sysdeps/s390/Dist: Add fpu/fenv_libc.h.
1434 * sysdeps/alpha/Dist: Likewise.
1436 2000-08-23 Ulrich Drepper <drepper@redhat.com>
1438 * crypt/md5-crypt.c (free_mem): Fix typo (constructor ->
1439 destructor). Reported by Solar Designer <solar@false.com>.
1441 * iconv/gconv_conf.c (add_module): Remove some unneeded code to
1442 avoid adding double slashes.
1444 2000-08-23 Jakub Jelinek <jakub@redhat.com>
1446 * dirent/dirent.h (alphasort, versionsort): Move __attribute_pure__
1447 out of the __REDIRECT macro.
1449 2000-08-23 Ulrich Drepper <drepper@redhat.com>
1451 * stdio-common/vfscanf.c: Add %F format support.
1453 * locale/programs/ld-ctype.c (ctype_output): Make sure
1454 _NL_CTYPE_TRANSLIT_DEFAULT_MISSING_LEN and
1455 _NL_CTYPE_TRANSLIT_IGNORE_LEN are aligned.
1456 (ctype_read): Enable returning of wide character strings for reading
1457 transliteration information.
1459 2000-08-23 Andreas Jaeger <aj@suse.de>
1461 * sysdeps/unix/sysv/linux/i386/sys/io.h (_EXTERN_INLINE): Remove.
1462 Use static __inline instead of _EXTERN_INLINE.
1464 * misc/sys/select.h: Move prototypes of __select from here ...
1465 * include/sys/select.h: ... to here.
1467 * socket/sys/socket.h: Move prototypes of __send and __connect
1469 * include/sys/socket.h: ... to here.
1471 * locale/programs/ld-ctype.c (ctype_read): Fix parameter for
1474 2000-08-23 Jakub Jelinek <jakub@redhat.com>
1476 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Use
1477 __setrlimit as strong name. Takes only 2 arguments.
1479 * sysdeps/unix/sysv/linux/sh/syscalls.list: __syscall_setrlimit
1480 takes only 2 arguments.
1482 2000-08-23 Martin Schwidefsky <schwidefsky@de.ibm.com>
1484 * sysdeps/s390/__longjmp.c: Add __ to JB_GPR*.
1486 * sysdeps/s390/bits/setjmp.h: Add __ to JB_GPR* defines.
1488 2000-08-23 Ulrich Drepper <drepper@redhat.com>
1490 * locale/programs/ld-ctype.c (ctype_read): Allow more than one
1491 default_missing character being specified, pick the first
1494 2000-08-23 Andreas Jaeger <aj@suse.de>
1496 * include/wchar.h: Add some pure attributes.
1498 * time/time.h: Add const attribute for dysize.
1500 * include/stdlib.h: Add malloc attribute to __posix memalign.
1502 * stdlib/stdlib.h: Add some pure and malloc attributes.
1503 * wcsmbs/wchar.h: Likewise.
1505 * dirent/dirent.h: Add some pure attributes.
1506 * include/dirent.h: Likewise.
1508 2000-08-23 Jakub Jelinek <jakub@redhat.com>
1510 * inet/netinet/in.h (struct in6_addr): Don't enforce 64bit alignment
1513 2000-08-22 Ulrich Drepper <drepper@redhat.com>
1515 * iconvdata/iso-2022-jp.c: In conversion to ISO-2022-JP, add two
1516 missing buffer size checks.
1518 2000-08-23 Andreas Jaeger <aj@suse.de>
1520 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Use __setrlimit as
1522 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
1524 * sysdeps/unix/sysv/linux/dl-osinfo.h: Include "kernel-features.h",
1525 otherwise __LINUX_KERNEL_VERSION might not be defined.
1526 (MIN): Define if not already defined.
1528 2000-08-22 Ulrich Drepper <drepper@redhat.com>
1530 * stdio-common/vfprintf.c: Handle %F format.
1531 * stdio-common/printf-parse.h (parse_one_spec): Likewise.
1532 Reported by Joseph S. Myers <jsm28@cam.ac.uk>.
1534 * stdio-common/tstdiomisc.c: Add test for %F printf format.
1536 * po/zh.po: New file.
1538 * iconvdata/sjis.c: In conversion from UCS4, correct test for
1539 enough room in target buffer.
1540 Patch by KUSANO Takayuki <AE5T-KSN@asahi-net.or.jp> [PR libc/1865].
1541 * iconvdata/bug-iconv1.c: New file.
1542 * iconvdata/Makefile (tests): Add bug-iconv1.
1544 * locale/iso-4217.def: Update entry for Nicaragua.
1546 2000-08-22 Mark Kettenis <kettenis@gnu.org>
1548 * hurd/hurdsig.c: Rearrange headers a bit.
1549 (_hurdsig_init): Block until _hurd_msgport_thread is initialized
1550 when cthreads is being used.
1552 2000-08-22 Ulrich Drepper <drepper@redhat.com>
1554 * elf/Makefile (distribute): Add dl-osinfo.h.
1555 * sysdeps/generic/dl-osinfo.h: New file.
1556 * sysdeps/unix/sysv/linux/dl-osinfo.h: New file.
1557 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Use DL_SYSDEP_OSCHECK
1559 * sysdeps/unix/sysv/linux/init-first.c: Perform kernel version test
1560 only for !SHARED case. Get the code from dl-osinfo.h.
1562 * stdlib/random_r.c: Cleanups.
1563 * stdlib/tst-random.c: New file.
1564 * stdlib/Makefile (tests): Add tst-random.
1565 Patches by Michael Fischer <fischer-michael@cs.yale.edu>.
1567 2000-08-21 Martin Schwidefsky <schwidefsky@de.ibm.com>
1569 * sysdeps/unix/sysv/linux/s390/getmsg.c: Remove.
1570 * sysdeps/unix/sysv/linux/s390/getpmsg.c: Remove.
1571 * sysdeps/unix/sysv/linux/s390/putmsg.c: Remove.
1572 * sysdeps/unix/sysv/linux/s390/putpmsg.c: Remove.
1574 2000-08-22 Jakub Jelinek <jakub@redhat.com>
1576 * sysdeps/unix/sysv/linux/alpha/syscalls.list (sysctl): Remove.
1577 * sysdeps/unix/sysv/linux/ia64/syscalls.list (sysctl): Remove.
1578 (__syscall__sysctl): Add.
1580 2000-08-21 Andreas Jaeger <aj@suse.de>
1582 * stdlib/tst-strtol.c: Add test for 0xFFFFFFFFFFFF00FF (from PR
1584 * stdlib/tst-strtoll.c: Likewise.
1586 2000-08-21 Ulrich Drepper <drepper@redhat.com>
1588 * stdlib/random_r.c (__setstate_r): Also compute end_ptr
1590 (__initstate_r): Set errno on error.
1591 (__random_r): Likewise.
1592 (__setstate_r): Correct offset when computing
1593 new rptr and fptr. Test for arg_state being NULL.
1594 Reported by Michael Fischer <fischer@cs.yale.edu>.
1596 * posix/regex.h: Add macro definitions to allow compiling outside
1599 * sysdeps/i370/Implies: Removed.
1600 * sysdeps/mvs/Implies: Removed.
1602 * catgets/catgets.c (catopen): Filter out env_var values with / if
1605 * locale/findlocale.c (_nl_find_locale): Move test for unusable
1606 locale name after all getenvs.
1608 * configure.in: Allow sed versions like 3.02.8.
1609 Patch by Rodrigo Barbosa <rodrigob@conectiva.com.br>.
1611 2000-08-21 Marko Myllynen <myllynen@lut.fi>
1613 * inet/netinet/icmp6.h: Add Mobile IPv6 extensions structures.
1615 2000-08-21 Ulrich Drepper <drepper@redhat.com>
1617 * sysdeps/posix/getaddrinfo.c (gethosts): Handle TRY_AGAIN error
1618 of gethostbyname2_r call.
1620 * intl/locale.alias: Add aliases for Korean.
1622 2000-08-21 Martin Schwidefsky <schwidefsky@de.ibm.com>
1624 * sysdeps/s390/__longjmp.c: Remove unused variable result.
1625 * sysdeps/s390/fpu/bits/fenv.h: Move FPC_* definitions to fenv_libc.h.
1626 * sysdeps/s390/fpu/fclrexcpt.c: Include fenv_libc.h instead of fenv.h.
1627 * sysdeps/s390/fpu/fegetenv.c: New file.
1628 * sysdeps/s390/fpu/fegetround.c: Include fenv_libc.h instead of fenv.h.
1629 * sysdeps/s390/fpu/feholdexcpt.c: New file.
1630 * sysdeps/s390/fpu/fenv_libc.h: New file.
1631 * sysdeps/s390/fpu/fesetenv.c: New file.
1632 * sysdeps/s390/fpu/fesetround.c: Include fenv_libc.h instead of fenv.h.
1633 * sysdeps/s390/fpu/feupdateenv.c: New file.
1634 * sysdeps/s390/fpu/fgetexcptflg.c: Reformatted.
1635 * sysdeps/s390/fpu/fpu_control.h: Corrected header.
1636 * sysdeps/s390/fpu/fraiseexcpt.c: New file.
1637 * sysdeps/s390/fpu/fsetexcptflg.c: New file.
1638 * sysdeps/s390/fpu/ftestexcept.c: New file.
1639 * sysdeps/s390/fpu/libm-test-ulps: New file.
1640 * sysdeps/s390/gmp-mparam.h: Add end of comment.
1641 * sysdeps/s390/initfini.c: New file.
1642 * sysdeps/unix/sysv/linux/s390/Dist: Add sys/procfs.h.
1643 * sysdeps/unix/sysv/linux/s390/Makefile: Remove sys/reg.h.
1644 * sysdeps/unix/sysv/linux/s390/bits/stat.h: New file.
1645 * sysdeps/unix/sysv/linux/s390/lchown.c: New file.
1646 * sysdeps/unix/sysv/linux/s390/sys/elf.h: Move elf definitions to
1647 sys/procfs.h as proposed by Mark Kettenis.
1648 * sysdeps/unix/sysv/linux/s390/sys/procfs.h: New file.
1650 2000-08-21 Andreas Jaeger <aj@suse.de>
1652 * include/poll.h: Include include/sys/poll.h to get __poll
1655 * io/sys/poll.h: Move __poll declaration from here...
1656 * include/sys/poll.h: ...to here.
1658 * include/sys/socket.h (__getpeername): Add declaration.
1660 * include/wchar.h (__vswprintf): Add declaration.
1662 * include/stdio.h (__flockfile): Add declaration.
1663 (__funlockfile): Likewise.
1665 2000-08-20 Ulrich Drepper <drepper@redhat.com>
1667 * misc/sys/cdefs.h: Define __restrict_arr.
1668 * include/sys/time.h: Add restrict where required by AGd4.
1669 * inet/arpa/inet.h: Likewise.
1670 * io/sys/stat.h: Likewise.
1671 * io/sys/statvfs.h: Likewise.
1672 * misc/search.h: Likewise.
1673 * misc/sys/select.h: Likewise.
1674 * posix/glob.h: Likewise.
1675 * posix/regex.h: Likewise.
1676 * posix/spawn.h: Likewise.
1677 * posix/unistd.h: Likewise.
1678 * rt/aio.h: Likewise.
1679 * signal/signal.h: Likewise.
1680 * socket/sys/socket.h: Likewise.
1681 * stdlib/ucontext.h: Likewise.
1682 * streams/stropts.h: Likewise.
1683 * string/string.h: Likewise.
1684 * time/time.h: Likewise.
1685 * time/sys/time.h: Likewise.
1687 * posix/spawn.h: Add declarations for posix_spawnattr_getscheparam
1688 and posix_spawnattr_setscheparam.
1690 * libio/stdio.h: Make cuserid prototype again available for all
1693 * argp/argp-help.c: Unify use of function aliases to make more compact
1695 * include/libintl.h: Likewise.
1696 * inet/rcmd.c: Likewise.
1697 * intl/dcigettext.c: Likewise.
1698 * libio/iofputws.c: Likewise.
1699 * libio/iofputws_u.c: Likewise.
1700 * libio/iogetwline.c: Likewise.
1701 * libio/swprintf.c: Likewise.
1702 * malloc/malloc.c: Likewise.
1703 * nss/digits_dots.c: Likewise.
1704 * posix/fnmatch.c: Likewise.
1705 * posix/spawn_faction_addclose.c: Likewise.
1706 * posix/spawn_faction_adddup2.c: Likewise.
1707 * posix/spawn_faction_addopen.c: Likewise.
1708 * posix/spawni.c: Likewise.
1709 * posix/wordexp.c: Likewise.
1710 * posix/spawni.c: Likewise.
1711 * resolv/res_hconf.c: Likewise.
1712 * resolv/res_init.c: Likewise.
1713 * shadow/lckpwdf.c: Likewise.
1714 * signal/sighold.c: Likewise.
1715 * signal/sigrelse.c: Likewise.
1716 * stdio-common/printf-parse.h: Likewise.
1717 * stdio-common/printf-prs.c: Likewise.
1718 * stdio-common/printf_fp.c: Likewise.
1719 * stdio-common/vfprintf.c: Likewise.
1720 * stdio-common/vfscanf.c: Likewise.
1721 * stdlib/rpmatch.c: Likewise.
1722 * sunrpc/create_xid.c: Likewise.
1723 * sunrpc/key_call.c: Likewise.
1724 * sysdeps/generic/setrlimit64.c: Likewise.
1725 * sysdeps/generic/utmp_file.c: Likewise.
1726 * sysdeps/generic/vlimit.c: Likewise.
1727 * sysdeps/posix/posix_fallocate.c: Likewise.
1728 * sysdeps/posix/posix_fallocate64.c: Likewise.
1729 * sysdeps/posix/sigpause.c: Likewise.
1730 * sysdeps/posix/sigset.c: Likewise.
1731 * sysdeps/unix/grantpt.c: Likewise.
1732 * sysdeps/unix/bsd/ualarm.c: Likewise.
1733 * sysdeps/unix/sysv/linux/dl-origin.c: Likewise.
1734 * sysdeps/unix/sysv/linux/getloadavg.c: Likewise.
1735 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
1736 * sysdeps/unix/sysv/linux/ulimit.c: Likewise.
1737 * time/strftime.c: Likewise.
1738 * wcsmbs/wcscoll.c: Likewise.
1739 * wcsmbs/wcsxfrm.c: Likewise.
1741 * time/tst-getdate.c (main): Make error messages more human readable.
1743 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Allow gcc to generate
1744 postinc/predec instruction.
1745 (_FPU_SETCW): Likewise.
1746 Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
1748 2000-08-20 Andreas Jaeger <aj@suse.de>
1750 * time/tst-getdate.c (main): Increase error in case of wrong
1752 Fix typo in test case.
1754 2000-08-20 Ulrich Drepper <drepper@redhat.com>
1756 * ctype/ctype.h (isblank): Make available if ISO C99.
1757 * wctype/wctype.h (iswblank): Make available if ISO C99.
1758 * math/math.h (signgam): Don't make available if ISO C99.
1759 * math/tgmath.h (tgamma): Renamed from gamma.
1760 Patches by Joseph S. Myers <jsm28@cam.ac.uk>.
1762 * intl/loadmsgcat.c (_nl_unload_domain): Also free conv_tab element.
1764 * intl/plural.y (new_exp): Take number of optional parameters in
1765 second parameter. Test for correct number of parameters and free
1766 correctly in case of failure. Adjust all callers.
1767 (yylex): Allow ';' as terminator character.
1769 2000-08-19 Ulrich Drepper <drepper@redhat.com>
1771 * locale/lc-time.c (free_mem): New function. Free alt_digits and
1774 * locale/findlocale.c (free_mem): Also free here->filename.
1776 * locale/loadlocale.c (_nl_unload_locale): Also free locale->name.
1778 * math/test-fenv.c (feenv_tests): Clear all exceptions before
1780 (feexcp_nomask_test): Correct printf args.
1781 (feexcp_mask_test): Likewise.
1783 2000-08-19 Andreas Jaeger <aj@suse.de>
1785 * inet/tst-gethnm.c: Include string.h to provide prototype for
1788 * malloc/mtrace.pl (usage): Inform about --help.
1790 2000-08-19 Wolfram Gloger <wg@malloc.de>
1792 * malloc/malloc.c (new_heap): Try harder to get an aligned chunk of
1795 2000-08-19 Andreas Jaeger <aj@suse.de>
1797 * shlib-versions: Remove libnss_db, libdb and libdb1.
1799 2000-08-19 Jakub Jelinek <jakub@redhat.com>
1801 * sysdeps/unix/sysv/linux/alpha/readdir.c: Move...
1802 * sysdeps/unix/sysv/linux/ia64/readdir.c: ...here and
1803 * sysdeps/unix/sysv/linux/sparc/sparc64/readdir.c: ...here.
1804 * sysdeps/unix/sysv/linux/alpha/readdir_r.c: Move...
1805 * sysdeps/unix/sysv/linux/ia64/readdir_r.c: ...here and
1806 * sysdeps/unix/sysv/linux/sparc/sparc64/readdir_r.c: ...here.
1807 * sysdeps/unix/sysv/linux/alpha/readdir64.c: Remove.
1808 * sysdeps/unix/sysv/linux/alpha/readdir64_r.c: Remove.
1809 * sysdeps/unix/sysv/linux/alpha/getdents64.c: Remove.
1810 * sysdeps/unix/sysv/linux/alpha/getdents.c: Only use for non-LFS
1812 * sysdeps/unix/sysv/linux/readdir64.c: Remove versioning.
1813 * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
1815 2000-08-18 Jakub Jelinek <jakub@redhat.com>
1817 * include/glob.h (__glob64): Add prototype.
1818 * sysdeps/generic/glob.c: If GLOB_ONLY_P is defined, only
1819 define glob and glob_in_dir.
1820 * sysdeps/unix/sysv/linux/i386/Versions: Add glob64@@GLIBC_2.2.
1821 * sysdeps/unix/sysv/linux/arm/Versions: Likewise.
1822 * sysdeps/unix/sysv/linux/powerpc/Versions: Likewise.
1823 * sysdeps/unix/sysv/linux/sparc/sparc32/Versions: Likewise.
1824 * sysdeps/unix/sysv/linux/i386/glob64.c: New file.
1825 * sysdeps/unix/sysv/linux/arm/glob64.c: New file.
1826 * sysdeps/unix/sysv/linux/powerpc/glob64.c: New file.
1827 * sysdeps/unix/sysv/linux/sparc/sparc32/glob64.c: New file.
1829 2000-08-18 Jakub Jelinek <jakub@redhat.com>
1831 * malloc/Makefile (memusage): libmemusage.so is installed in slibdir.
1833 2000-08-17 Andreas Jaeger <aj@suse.de>
1835 * math/test-fenv.c (fe_single_test): New function.
1836 (fe_env_tests): Use fe_single_test.
1837 (feenable_test): New tests for feenable/fedisable and
1839 (feexcp_mask_test): New function.
1840 (feexcp_nomask_test): New function.
1842 2000-08-19 Richard Henderson <rth@cygnus.com>
1844 * sysdeps/alpha/fpu/fenv_libc.h: New file.
1845 * sysdeps/alpha/fpu/fclrexcpt.c: Use it.
1846 * sysdeps/alpha/fpu/fegetenv.c: Likewise.
1847 * sysdeps/alpha/fpu/fesetround.c: Likewise.
1848 * sysdeps/alpha/fpu/fegetround.c: Likewise.
1849 * sysdeps/alpha/fpu/fgetexcptflg.c: Likewise.
1850 * sysdeps/alpha/fpu/fraiseexcpt.c: Likewise.
1851 * sysdeps/alpha/fpu/ftestexcept.c: Likewise.
1852 * sysdeps/alpha/fpu/fedisblxcpt.c: Likewise. Use the smaller mask.
1853 * sysdeps/alpha/fpu/feenablxcpt.c: Likewise.
1854 * sysdeps/alpha/fpu/fegetexcept.c: Likewise.
1855 * sysdeps/alpha/fpu/feholdexcpt.c: Retain the SWCR_MAP bits.
1856 * sysdeps/alpha/fpu/fesetenv.c: Likewise.
1857 * sysdeps/alpha/fpu/feupdateenv.c: Likewise.
1858 * sysdeps/alpha/fpu/fsetexcptflg.c: Likewise.
1859 * sysdeps/alpha/fpu/bits/fenv.h (FE_DENORMAL): New.
1860 (FE_MAP_DMZ, FE_MAP_UMZ, FE_NONIEEE_ENV): New.
1862 2000-08-19 Andreas Jaeger <aj@suse.de>
1864 * elf/constload1.c: Include <stdio.h> for puts prototype.
1866 2000-08-19 Ulrich Drepper <drepper@redhat.com>
1868 * elf/Versions [ld] (GLIBC_2.2): Export _dl_check_map_versions.
1869 * elf/dl-deps.c (_dl_map_object_deps): If object was dependency of
1870 a dynamically loaded object remove old l_initfini list.
1871 * elf/dl-libc.c (free_mem): Used as __libc_subfreeres callback to
1872 remove some dynamically allocated memory blocks in the dynamic
1873 loading data structures.
1874 * elf/dl-load.c (add_name_to_object): Initialize dont_free to 0.
1875 * elf/dl-open.c (dl_open_workder): Don't call _dl_check_all_versions.
1876 Instead call _dl_check_map_versions only for the dependencies.
1877 * elf/rtld.c: Avoid unneccessary initializations. Mark l_libname
1878 information of initial objects as not free-able.
1879 * sysdeps/generic/ldsodefs.h (struct libname_list): Add dont_free
1882 * elf/filter.c: Call mtrace.
1883 * elf/restest1.c: Likewise. Close the objects.
1884 * elf/loadtest.c: Call mtrace. Check result of dlclose. Print more
1887 * elf/constload1.c: Add comment explaining not freed memory.
1889 2000-08-18 Andreas Jaeger <aj@suse.de>
1891 * sysdeps/unix/sysv/linux/mips/bits/stat.h: Add pads to show
1892 alignment for structs stat and stat64.
1893 Patch by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
1895 2000-08-17 Ulrich Drepper <drepper@redhat.com>
1897 * sysdeps/unix/sysv/linux/alpha/getdents.c: Remove special d_ino
1898 handling. Patch by Richard Henderson <rth@twiddle.net>.
1900 * nss/Versions: Remove libnss_db information.
1902 2000-08-16 Jakub Jelinek <jakub@redhat.com>
1904 * sysdeps/sparc/fpu/fedisblxcpt.c: New file.
1905 * sysdeps/sparc/fpu/feenablxcpt.c: New file.
1906 * sysdeps/sparc/fpu/fegetexcept.c: New file.
1907 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: New file.
1909 * sysdeps/sparc/sparc64/dl-machine.h: Subtract 4 .rela.plt entries
1912 2000-08-17 Ulrich Drepper <drepper@redhat.com>
1914 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Use type-correct code.
1915 (_FPU_SETCW): Likewise.
1916 Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
1918 * stdio-common/printf_fp.c: Fix chars_needed computation.
1919 Patch by Greg McGary <greg@mcgary.org>.
1921 2000-08-17 Jakub Jelinek <jakub@redhat.com>
1923 * elf/dl-load.c (_dl_map_object): Don't crash if both loader and
1924 _dl_loaded are NULL.
1926 2000-08-17 Jakub Jelinek <jakub@redhat.com>
1928 * manual/arith.texi (feholdexcept): Returns 0 on success.
1930 2000-08-17 Andreas Jaeger <aj@suse.de>
1932 * sysdeps/gnu/net/if.h (struct ifreq): Add ifru_newname.
1934 Reported by Andi Kleen <ak@suse.de>.
1936 2000-08-17 Jakub Jelinek <jakub@redhat.com>
1938 * sysdeps/alpha/fpu/fedisblxcpt.c: New file.
1939 * sysdeps/alpha/fpu/feenablxcpt.c: New file.
1940 * sysdeps/alpha/fpu/fegetexcept.c: New file.
1942 2000-08-16 Jakub Jelinek <jakub@redhat.com>
1944 * sysdeps/unix/sysv/linux/xstatconv.c (xstat32_conv): Test sizes
1945 of buf->st_ino and kbuf->st_ino, not __st_ino.
1946 If _HAVE_STAT64___ST_INO is not defined, don't use __st_ino at all.
1947 * sysdeps/unix/sysv/linux/getdents64.c: Change path in #include
1948 directive so that only linux/getdents.c is used, not some
1949 architecture specific one.
1951 2000-08-16 Jakub Jelinek <jakub@redhat.com>
1953 * sysdeps/i386/fpu/fegetexcept.c (fegetexcept): Return currently
1954 enabled, not disabled exceptions.
1955 * sysdeps/i386/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
1956 * sysdeps/i386/fpu/feenablxcpt.c (feenableexcept): Likewise.
1958 2000-08-17 Greg McGary <greg@mcgary.org>
1960 * Makeconfig (link-extra-libs-bounded): Strip `-bp' suffix
1961 from test program name when constructing suffix for $(LDLIBS-*).
1962 (bounded-thread-library): New variable.
1964 [build-shared, build-static] (libcrypt-dep): Remove variable.
1965 ($(addprefix $(objpfx),$(tests))): Consolidate individual dependencies.
1966 [build-bounded] ($(tests:%=$(objpfx)%-bp)): Add dependencies.
1967 * linuxthreads/Makefile (libpthread, librt): Remove variables.
1968 (librt-tests): Add variable. (tests): Use it.
1969 [build-shared, build-static]
1970 ($(addprefix $(objpfx),$(tests)),
1971 $(addprefix $(objpfx),$(librt-tests))):
1972 Consolidate individual dependencies.
1974 ($(tests:%=$(objpfx)%-bp), $(librt-tests:%=$(objpfx)%-bp)):
1976 * math/Makefile (LDLIBS-*): Remove variables (they are redundant).
1977 [build-bounded] ($(tests:%=$(objpfx)%-bp)): Add dependencies.
1979 [build-bounded] ($(objpfx)tst-tsearch-bp): Add dependencies.
1981 [build-shared, build-static]
1982 ($(addprefix $(objpfx),$(tests))): Consolidate individual dependencies.
1983 [build-bounded] ($(tests:%=$(objpfx)%-bp)): Add dependencies.
1985 2000-08-17 Greg McGary <greg@mcgary.org>
1987 * sysdeps/generic/bp-checks.h: s/\(CHECK\w+\)opt/\1_NULL_OK/
1988 * sysdeps/unix/make-syscalls.sh: Likewise.
1989 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
1990 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
1991 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
1992 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c: Likewise.
1993 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Likewise.
1995 2000-08-17 Greg McGary <greg@mcgary.org>
1997 * sysdeps/i386/fpu/s_frexp.S: Check bounds.
1998 Wrap extern symbols in BP_SYM ().
1999 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
2000 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
2001 * sysdeps/i386/fpu/s_remquo.S: Likewise.
2002 * sysdeps/i386/fpu/s_remquof.S: Likewise.
2003 * sysdeps/i386/fpu/s_remquol.S: Likewise.
2004 * sysdeps/i386/fpu/s_sincos.S: Likewise.
2005 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
2006 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
2007 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
2008 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
2010 2000-08-16 Andreas Schwab <schwab@suse.de>
2012 * sysdeps/m68k/fpu/fegetexcept.c: New file.
2013 * sysdeps/m68k/fpu/fedisblxcpt.c: New file.
2014 * sysdeps/m68k/fpu/feenablxcpt.c: New file.
2016 2000-08-15 Ulrich Drepper <drepper@redhat.com>
2018 * sysdeps/generic/ldsodefs.h: Declare _nl_nloaded.
2019 * elf/Versions [ld] (GLIBC_2.2): Add _nl_nloaded.
2020 * elf/dl-support.c: Define _nl_nloaded.
2021 * elf/rtld.c: Likewise. Increment _nl_nloaded for rtld itself.
2022 * elf/dl-object.c (_dl_new_object): Increment _nl_nloaded after adding
2023 object to global list.
2024 * elf/dl-close.c (_dl_close): Decrement _nl_nloaded after removing
2025 from _dl_loaded list.
2026 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
2027 * elf/dl-fini.c (_dl_fini): Use _nl_nloaded instead of computing the
2030 * sysdeps/i386/fpu/fedisblxcpt.c (fedisableexcept): Mask, not
2032 * sysdeps/i386/fpu/feenablxcpt.c (feenableexcept): Unmask, not mask,
2034 Reported by Harvey J. Stein <hjstein@bfr.co.il>.
2036 2000-08-16 Andreas Jaeger <aj@suse.de>
2038 * elf/elf.h (EM_X8664): Add official x86-64 specific value.
2040 2000-08-15 Marko Myllynen <myllynen@lut.fi>
2042 * inet/netinet/icmp6.h: Added Mobile IPv6 definitions.
2044 2000-08-15 Ulrich Drepper <drepper@redhat.com>
2046 * sysdeps/unix/sysv/linux/powerpc/Dist: Add oldgetrlimit64.c.
2047 * sysdeps/unix/sysv/linux/powerpc/Makefile [$(subdir)=resource]
2048 (sysdep_routines): Add oldgetrlimit64.
2049 * sysdeps/unix/sysv/linux/powerpc/oldgetrlimit64.c: New file.
2050 Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
2052 * include/link.h: Undo last patches. Hurd now has stat64.
2053 * elf/Makefile: Likewise.
2054 * elf/dl-load.c: Likewise.
2055 * elf/dl-misc.c: Likewise.
2056 * elf/dl-profile.c: Likewise.
2057 * sysdeps/generic/sysd-link.h: Removed.
2058 * sysdeps/unix/sysv/linux/sysd-link.h: Removed.
2060 * rt/aio_notify.c (notify_func_wrapper): Wrapper function to call
2061 thread event callback function.
2062 (__aio_notify_only): Use function above.
2063 Patch by Kaz Kylheku <kaz@ashi.footprints.net>.
2065 2000-08-16 Mark Kettenis <kettenis@gnu.org>
2067 * sysdeps/mach/hurd/lseek64.c: New file.
2069 2000-08-15 Mark Kettenis <kettenis@gnu.org>
2071 * sysdeps/mach/hurd/i386/bits/time.h (__clockid_t, __timer_t):
2073 * sysdeps/mach/hurd/bits/time.h (__clockid_t, __timer_t): Remove
2075 * sysdeps/generic/bits/time.h (__clockid_t, __timer_t): Remove
2077 * sysdeps/generic/bits/types.h (__clockid_t, __timer_t): New typedefs.
2079 2000-08-15 Mark Kettenis <kettenis@gnu.org>
2081 * sysdeps/mach/hurd/xstatconv.c: New file.
2082 * sysdeps/mach/hurd/fxstat64.c: New file.
2083 * sysdeps/mach/hurd/lxstat64.c: New file.
2084 * sysdeps/mach/hurd/xstat64.c: New file.
2085 * sysdeps/mach/hurd/Dist: Add xstatconv.c.
2087 2000-08-15 Mark Kettenis <kettenis@gnu.org>
2089 * sysdeps/mach/hurd/dl-sysdep.c (__libc_multiple_libcs):
2090 Initialize, needed for change in common symbol handling in newer
2091 binutils. Mirrors 2000-01-03 change made by Andreas Schwab.
2093 2000-08-15 Ulrich Drepper <drepper@redhat.com>
2095 * elf/constload1.c: Call mtrace. Check return value of dlclose call.
2096 * elf/constload2.c: Add destructor to unload constload3.
2098 * include/link.h: Include sysd-link.h.
2099 * sysdeps/generic/sysd-link.h: New file.
2100 * sysdeps/unix/sysv/linux/sysd-link.h: New file.
2101 * elf/Makefile (distribute): Add sysd-link.h.
2102 * elf/dl-load.c: Use definitions from sysd-link.h instead of stat
2103 types and functions directly.
2104 * elf/dl-misc.c: Likewise.
2105 * elf/dl-profile.c: Likewise.
2107 * elf/loadfail.c (main): Close all successfully loaded objects.
2109 * elf/multiload.c: Add mtrace call. Call dlclose for all handles and
2111 * elf/dl-deps.c (_dl_map_object_deps): Don't allocate needed list if
2112 there is already one.
2114 * elf/dl-close.c: Pretty print.
2116 2000-08-14 Ulrich Drepper <drepper@redhat.com>
2118 * sysdeps/posix/ttyname.c: Make name variable from getttyname function
2119 global (with file scope). Add __libc_subfreeres function to free the
2121 * sysdeps/unix/sysv/linux/ttyname.c: Likewise. Also for buf variable
2122 in ttyname function.
2124 * sysdeps/generic/strtok.c: Remove initializer for olds variable.
2126 * crypt/md5-crypt.c: Let destructor deallocate static buffer.
2128 * iconvdata/sjis.c (from_ucs4_lat1): Handle U005C and U007E by
2129 mapping them to /x5c and /x7e respectively.
2131 * locale/programs/ld-ctype.c: Add support for more definitions after
2134 2000-08-14 Jakub Jelinek <jakub@redhat.com>
2136 * dirent/Versions (getdirentries64): Export at GLIBC_2.2.
2137 * sysdeps/unix/sysv/linux/kernel-features.h
2138 (__ASSUME_GETDENTS64_SYSCALL): Define.
2139 * sysdeps/unix/sysv/linux/getdents.c (__getdents): Use getdents64
2140 syscall if available to get d_type fields.
2141 * sysdeps/unix/sysv/linux/alpha/getdents.c (DIRENT_TYPE): Define.
2142 * sysdeps/unix/sysv/linux/arm/Versions (__xstat64, __fxstat64,
2143 __lxstat64): Export at GLIBC_2.2.
2144 (alphasort64, readdir64, readdir64_r, scandir64, versionsort64):
2146 * sysdeps/unix/sysv/linux/i386/Versions (getdirentries64): Remove.
2147 * sysdeps/unix/sysv/linux/i386/getdents64.c (kernel_dirent64): Define.
2148 * sysdeps/unix/sysv/linux/powerpc/Versions (alphasort64,
2149 getdirentries64, versionsort64): Remove.
2150 * sysdeps/unix/sysv/linux/sparc/sparc32/Versions (alphasort64,
2151 getdirentries64, versionsort64): Remove.
2153 2000-08-13 Ulrich Drepper <drepper@redhat.com>
2155 * posix/Makefile: Remove rules to generate glob package.
2157 * posix/Makefile (tests): Add tst-regexloc.
2158 (tst-regexloc-ENV): Add LOCPATH.
2159 * posix/tst-regexloc.c: New file.
2161 2000-08-12 Andreas Jaeger <aj@suse.de>
2163 * include/features.h (__STDC_ISO_10646__): Define.
2164 Reported by Markus Kuhn <Markus.Kuhn@cl.cam.ac.uk>.
2166 2000-08-13 Ulrich Drepper <drepper@redhat.com>
2168 * include/features.h (__USE_ISOC99): Define for _XOPEN_SOURCE >= 600.
2170 * locale/langinfo.h: Define YESSTR and NOSTR also for XPG4 (but not
2171 for revision 6 and up).
2173 * posix/sys/types.h: Define __need_timer_t and __need_clockid_t before
2175 * time/time.h: Allow __need_timer_t and __need_clockid_t to be defined
2176 to get definitions of just these types.
2178 * signal/signal.h: Define thread signal handling functions also for
2181 * sysdeps/unix/sysv/linux/bits/types.h: Define thread types also for
2183 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
2184 * sysdeps/unix/sysv/linux/ia64/bits/types.h: Likewise.
2185 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
2186 * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
2188 * sysvipc/sys/shm.h: Define pid_t for XPG.
2190 * posix/unistd.h: Remove setkey, rename, and cuserid prototypes as
2191 they are not anymore required here.
2193 * wcsmbs/wchar.h: Make the various wide char string and stream
2194 functions available for the respective XPG versions.
2196 * nss/Makefile: Remove rules to build and distribute nss_db.
2198 * sysdeps/generic/alphasort64.c: Remove unnecessary versioning.
2199 * sysdeps/generic/scandir64.c: Likewise.
2200 * sysdeps/generic/versionsort64.c: Likewise.
2202 2000-08-13 Ulrich Drepper <drepper@redhat.com>
2203 Benjamin Koznik <bkoz@redhat.com>
2205 * libio/fileops.c: Merge with libstdc++-v3.
2206 * libio/genops.c: Likewise.
2207 * libio/iofclose.c: Likewise.
2208 * libio/iofopen.c: Likewise.
2209 * libio/iofwide.c: Likewise.
2210 * libio/libio.h: Likewise.
2211 * libio/libioP.h: Likewise.
2212 * libio/stdfiles.c: Likewise.
2213 * libio/stdio.c: Likewise.
2214 * libio/wfileops.c: Likewise.
2215 * libio/wgenops.c: Likewise.
2217 * libio/Versions: Export functions needed by libstdc++-v3 in GLIBC_2.2.
2219 2000-08-12 Ulrich Drepper <drepper@redhat.com>
2221 * locale/programs/localedef.c: Implement --prefix option to allow
2222 writing in standard places of alternative install directories.
2224 * posix/regex.c (compile_range): Implement collation sequence
2225 handling for glibc. Use simple character ordering otherwise and
2228 2000-08-12 Mark Kettenis <kettenis@gnu.org>
2230 * sysdeps/generic/scandir64.c: Include <dirent.h>.
2232 2000-08-12 Andreas Jaeger <aj@suse.de>
2234 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Handle
2235 __USE_FILE_OFFSET64 correctly for locking.
2236 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
2238 2000-08-12 Jakub Jelinek <jakub@redhat.com>
2240 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
2241 Define for 2.4.1 on sparc as well.
2242 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Fill in correct values
2243 for F_GETLK64, F_SETLK64, and F_SETLKW64.
2244 * sysdeps/unix/sysv/linux/sparc/sparc32/fcntl.c: New file.
2245 * sysdeps/unix/sysv/linux/sparc/sparc32/lockf64.c: New file.
2247 2000-08-12 Ulrich Drepper <drepper@redhat.com>
2249 * io/fts.c (fts_stat): Recognize DT_WHT only if S_IFWHT is also
2252 2000-08-12 Andreas Jaeger <aj@suse.de>
2254 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h (F_GETLK64,
2255 F_SETLK64, F_SETLKW64): Define with F_GETLK etc.
2257 * sysdeps/unix/sysv/linux/mips/sys/tas.h (_test_and_set): Add .set
2258 mips2 for assembler.
2260 * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Try fcntl
2261 if fnctl64 is not available for F_*LK*64.
2263 * sysdeps/unix/sysv/linux/i386/lockf64.c: New file.
2265 2000-08-12 Ulrich Drepper <drepper@redhat.com>
2267 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
2268 Define for 2.4.1 on x86.
2269 * sysdeps/unix/sysv/linux/i386/fcntl.c: New file.
2270 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Fill in correct values
2271 for F_GETLK64, F_SETLK64, and F_SETLKW64.
2273 * dirent/dirent.h: Define DT_WHT.
2275 * sysdeps/unix/sysv/linux/arm/alphasort64.c: New file.
2276 * sysdeps/unix/sysv/linux/arm/getdents64.c: New file.
2277 * sysdeps/unix/sysv/linux/arm/readdir64.c: New file.
2278 * sysdeps/unix/sysv/linux/arm/readdir64_r.c: New file.
2279 * sysdeps/unix/sysv/linux/arm/scandir64.c: New file.
2280 * sysdeps/unix/sysv/linux/arm/versionsort64.c: New file.
2282 2000-08-11 Ulrich Drepper <drepper@redhat.com>
2284 * nss/digits_dots.c: Don't pass NULL in h_aliases for successful
2285 lookup, pass pointer to array with NULL pointer [PR libc/1858].
2286 * inet/Makefile (tests): Add tst-gethnm.
2287 * inet/tst-gethnm.c: New file.
2289 * rt/aio_cancel.c: If canceling a specific request which is running
2290 *really* do nothing.
2291 * rt/aio_misc.h: Add `done' to states of a request.
2292 * rt/aio_misc.c: Add several tests for the correct state.
2293 Simplify request table memory handling.
2295 2000-08-10 Jakub Jelinek <jakub@redhat.com>
2297 * dirent/scandir.c: Use it for scandir64 and old_scandir64 as well.
2298 * dirent/scandir64.c: Move...
2299 * sysdeps/generic/scandir64.c: ...here.
2300 * dirent/alphasort64.c: Move...
2301 * sysdeps/generic/alphasort64.c: ...here.
2302 * dirent/versionsort64.c: Move...
2303 * sysdeps/generic/versionsort64.c: ...here.
2304 * sysdeps/unix/sysv/linux/i386/dirent/Versions (alphasort64,
2305 getdirentries64, readdir64, readdir64_r, scandir64, versionsort64):
2306 Export symbols at GLIBC_2.2.
2307 * sysdeps/unix/sysv/linux/powerpc/dirent/Versions: Likewise.
2308 * sysdeps/unix/sysv/linux/sparc/sparc32/dirent/Versions: Likewise.
2309 * include/dirent.h (__readdir64_r, __scandir64, __alphasort64,
2310 __versionsort64): Add prototypes.
2311 * io/Versions (__xstat64, __fxstat64, __lxstat64): Export at GLIBC_2.2.
2312 * sysdeps/unix/sysv/linux/alpha/kernel_stat.h (__xstat_conv): Remove
2314 * sysdeps/unix/sysv/linux/alpha/readdir.c: Export at both GLIBC_2.1
2316 * sysdeps/unix/sysv/linux/alpha/readdir_r.c: Likewise.
2317 * sysdeps/unix/sysv/linux/alpha/getdents.c: New.
2318 * sysdeps/unix/sysv/linux/alpha/getdents64.c: New.
2319 * sysdeps/unix/sysv/linux/bits/types.h (__ino64_t): Change to
2321 * sysdeps/unix/sysv/linux/bits/stat.h (struct stat, struct stat64):
2322 Adjust for kernel-2.4.0-test6 layout.
2323 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat64): Export at both
2324 GLIBC_2.1 and GLIBC_2.2.
2325 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat64): Likewise.
2326 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat64): Likewise.
2327 * sysdeps/unix/sysv/linux/i386/getdents64.c: New.
2328 * sysdeps/unix/sysv/linux/i386/olddirent.h: New.
2329 * sysdeps/unix/sysv/linux/i386/readdir64.c: New.
2330 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: New.
2331 * sysdeps/unix/sysv/linux/i386/scandir64.c: New.
2332 * sysdeps/unix/sysv/linux/i386/alphasort64.c: New.
2333 * sysdeps/unix/sysv/linux/i386/versionsort64.c: New.
2334 * sysdeps/unix/sysv/linux/ia64/getdents.c: New.
2335 * sysdeps/unix/sysv/linux/ia64/getdents64.c: New.
2336 * sysdeps/unix/sysv/linux/ia64/readdir.c: Include alpha/readdir.c.
2337 * sysdeps/unix/sysv/linux/ia64/readdir_r.c: Include alpha/readdir_r.c.
2338 * sysdeps/unix/sysv/linux/mips/bits/types.h (__ino64_t): Change to
2340 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: New.
2341 * sysdeps/unix/sysv/linux/powerpc/kernel_stat.h (_HAVE_STAT*): Define.
2342 * sysdeps/unix/sysv/linux/powerpc/scandir64.c: New.
2343 * sysdeps/unix/sysv/linux/powerpc/getdents64.c: New.
2344 * sysdeps/unix/sysv/linux/powerpc/readdir64.c: New.
2345 * sysdeps/unix/sysv/linux/powerpc/readdir64_r.c: New.
2346 * sysdeps/unix/sysv/linux/sparc/bits/types.h (__ino64_t): Change to
2348 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: New.
2349 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h (_HAVE_STAT*):
2351 * sysdeps/unix/sysv/linux/sparc/sparc32/getdents64.c: New.
2352 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64.c: New.
2353 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64_r.c: New.
2354 * sysdeps/unix/sysv/linux/sparc/sparc32/scandir64.c: New.
2355 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h (_HAVE_STAT*):
2357 * sysdeps/unix/sysv/linux/sparc/sparc64/readdir.c: Include
2359 * sysdeps/unix/sysv/linux/sparc/sparc64/readdir_r.c: Include
2361 * sysdeps/unix/sysv/linux/sparc/sparc64/getdents.c: New.
2362 * sysdeps/unix/sysv/linux/sparc/sparc64/getdents64.c: New.
2363 * sysdeps/unix/sysv/linux/fxstat64.c (__fxstat64): If
2364 _HAVE_STAT64___ST_INO and __st_ino != (uint32_t)st_ino, set
2365 st_ino from __st_ino.
2366 * sysdeps/unix/sysv/linux/lxstat64.c (__lxstat64): Likewise.
2367 * sysdeps/unix/sysv/linux/xstat64.c (__xstat64): Likewise.
2368 * sysdeps/unix/sysv/linux/xstatconv.c (xstat_conv, xstat64_conv,
2369 xstat32_conv): Use _HAVE_STAT* macros. If _HAVE_STAT64___ST_INO,
2370 set __st_ino in addition to st_ino.
2371 * sysdeps/unix/sysv/linux/kernel_stat.h (_HAVE_STAT*): Define.
2372 * sysdeps/unix/sysv/linux/getdents.c: Use it for __getdents64 and
2373 __old_getdents64 as well.
2374 * sysdeps/unix/sysv/linux/getdirentries.c: Use it for
2375 getdirentries64 and old_getdirentries64 as well.
2376 * sysdeps/unix/sysv/linux/getdirentries64.c (GETDIRENTRIES,
2377 __GETDENTS): Define.
2378 (GETDENTS64): Remove.
2379 * sysdeps/unix/sysv/linux/getdents64.c (__GETDENTS, DIRENT_TYPE):
2381 (GETDENTS64): Remove.
2382 * sysdeps/unix/sysv/linux/readdir64.c: Use sysdeps/unix/readdir.c.
2383 * sysdeps/unix/sysv/linux/readdir64_r.c: Use sysdeps/unix/readdir_r.c.
2384 * sysdeps/unix/readdir.c: Use it for readdir64 and __old_readdir64
2386 * sysdeps/unix/readdir_r.c: Use it for readdir64_r and
2387 __old_readdir64_r as well.
2388 * sysdeps/unix/sysv/linux/kernel-features.h: Define
2389 __ASSUME_ST_INO_64_bit for kernel 2.4.1 and up.
2391 2000-08-08 Jes Sorensen <jes@linuxcare.com>
2393 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Add SI_KERNEL define.
2394 Add missing ILL_BADIADDR to enum and make ILL_BREAK match the
2395 define of the kernel.
2396 Add missing __SEG_PSTKOVF definition.
2397 Adjust the padding of struct siginfo and struct sigevent to
2398 match the fact that sigval_t is 64 bit.
2400 2000-08-10 Ulrich Drepper <drepper@redhat.com>
2402 * timezone/zic.c: Update from tzcode2000f.
2403 * timezone/australasia: Update from tzdata2000f.
2404 * timezone/europe: Likewise.
2405 * timezone/southamerica: Likewise.
2406 * timezone/yearistype: Likewise.
2408 2000-08-10 Andreas Jaeger <aj@suse.de>
2410 * sysdeps/unix/sysv/linux/mips/bits/stat.h: Synch struct stat64 and
2411 stat with current MIPS kernel.
2413 2000-08-01 Mark Kettenis <kettenis@gnu.org>
2415 * sysdeps/unix/sysv/linux/i386/sys/elf.h (elf_greg_t, ELF_NGREG,
2416 elf_gregset_t, elf_fpregset_t, elf_fpxregset_t): Moved to
2417 sysdeps/unix/sysv/linux/i386/sys/procfs.h.
2418 Remove the junk that's only relevant in the Linux kernel itself.
2419 Add a warning saying that this file is now obsolete, and include
2421 * sysdeps/unix/sysv/linux/i386/sys/procfs.h (elf_greg_t,
2422 ELF_NGREG, elf_gregset_t, elf_fpregset_t, elf_fpxregset_t): Moved
2423 here from sysdeps/unix/sysv/linux/i386/sys/elf.h. Don't include
2424 <signal.h>, <sys/ucontext.h> and <sys/elf.h>. Remove parts of
2425 `struct elf_prstatus' that are #ifdef'ed out. Improve comments
2426 and add the notice that the file is primarily there for GDB.
2427 * sysdeps/unix/sysv/linux/i386/sys/user.h: Fix comment.
2429 2000-08-09 Jakub Jelinek <jakub@redhat.com>
2431 * time/tzfile.c (__tzfile_compute): __tzstring zones
2434 2000-08-09 Jakub Jelinek <jakub@redhat.com>
2436 * resolv/resolv.h (__res_state): Surround prototype with
2437 __BEGIN_DECLS/__END_DECLS.
2438 * sysdeps/unix/sysv/linux/m68k/chown.c: Include kernel-features.h.
2440 2000-08-04 Jes Sorensen <jes@linuxcare.com>
2442 * sysdeps/unix/sysv/linux/ia64/bits/resource.h (__rlimit_resource):
2443 Make independant of asm/resource.h from the Linux kernel.
2445 2000-08-06 Bruno Haible <haible@clisp.cons.org>
2447 * iconv/gconv_conf.c (__gconv_read_conf): Don't call realpath.
2449 2000-08-06 Bruno Haible <haible@clisp.cons.org>
2451 * intl/Makefile (CPPFLAGS): Remove $(i18ndir) from LOCALE_ALIAS_PATH.
2452 * locale/Makefile (locale-CPPFLAGS): Likewise.
2454 2000-08-09 Ulrich Drepper <drepper@redhat.com>
2456 * sysdeps/i386/fpu/libm-test-ulps: Increase several error values
2459 2000-08-03 Jakub Jelinek <jakub@redhat.com>
2461 * misc/Versions (mincore): Export at GLIBC_2.2.
2463 2000-08-03 Bruno Haible <haible@clisp.cons.org>
2465 * intl/libintl.h (gettext, dgettext, dcgettext): Add back __THROW.
2467 2000-08-02 Mark Kettenis <kettenis@gnu.org>
2469 * sysdeps/mach/hurd/socketpair.c (__socketpair): Renamed from
2470 socketpair. Made socketpair a weak alias.
2471 * sysdeps/mach/hurd/pipe.c (__pipe): Reimplemented using
2472 __socketpair. Use S_IFIFO protocol to make pipes POSIX
2473 conforming, but fall back on the old protocol if the socket server
2475 * include/sys/socket.h: Add prototype for __socketpair.
2477 2000-08-09 Andreas Schwab <schwab@suse.de>
2479 * stdio-common/vfprintf.c (vfprintf): Also set `is_long' if the
2480 long long modifier is seen.
2482 * elf/nodelete.c (do_test): Remove reference to undefined member
2484 * rt/tst-aio4.c (do_test): Likewise.
2486 * configure.in: Add `-lm' when checking for libgd.
2487 * malloc/Makefile ($(objpfx)memusagestat): Add `-lm' during
2490 2000-08-09 Andreas Jaeger <aj@suse.de>
2492 * configure.in: Change required make versions.
2494 * manual/install.texi (Tools for Compilation): Document required
2496 (Supported Configurations): Update list of supported
2499 2000-08-08 Ulrich Drepper <drepper@redhat.com>
2501 * locale/linereader.c (get_string): Don't print an error is a string
2502 contains an unknown character.
2504 2000-08-06 Ulrich Drepper <drepper@redhat.com>
2506 * locale/programs/ld-collate.c (struct symbol_t): Add name element.
2507 (new_symbol): Take new parameters with name of the symbol.
2509 (handle_ellipsis): Don't only allow character symbols.
2510 (collate_read): Allow string of collating elements contain invalid
2511 characters; ignore entry in this case.
2512 Handle ellipsis of collating symbols before first order_start.
2513 Allow ellipsis in state 0.
2515 2000-08-04 Ulrich Drepper <drepper@redhat.com>
2517 * locale/programs/ld-collate.c (handle_ellipsis): Fix typo in
2519 Reported by Tung-Han Hsieh <thhsieh@twcpro.phys.ntu.edu.tw>.
2521 2000-08-04 Greg McGary <greg@mcgary.org>
2523 * posix/regex.c (SET_HIGH_BOUND): New macro.
2524 (MOVE_BUFFER_POINTER): Use it.
2525 (ELSE_EXTEND_BUFFER_HIGH_BOUND): New macro.
2526 (EXTEND_BUFFER): Use it.
2528 2000-08-03 Ulrich Drepper <drepper@redhat.com>
2530 * libio/iofwide.c (_IO_fwide): Initialize fp->_codecvt as well.
2531 * libio/fileops.c (_IO_new_file_fopen): Use _codecvt not from
2532 _wide_data but from _IO_FILE directly.
2533 * libio/iofclose.c: Likewise.
2534 * libio/wfileops.c: Likewise.
2536 * libio/genops.c (_IO_default_showmanyc): Change return type to size_t.
2537 * libio/libioP.h: Change prototypes.
2539 2000-08-03 Greg McGary <greg@mcgary.org>
2541 * sysdeps/i386/setjmp.S (__sigsetjmp): Pop our
2542 frame pointer early so that we save caller's frame pointer.
2543 * sysdeps/i386/elf/setjmp.S: Likewise.
2545 * sysdeps/unix/sysv/syscalls.list (time, utime): Correct signatures.
2546 * io/test-utime.c: Test passing NULL as utimbuf* arg.
2548 * posix/regex.c (EXTEND_BUFFER_HIGH_BOUND): Remove macro.
2549 (MOVE_BUFFER_POINTER): Handle high_bound properly.
2550 (EXTEND_BUFFER): Don't call EXTEND_BUFFER_HIGH_BOUND.
2552 2000-08-03 Ulrich Drepper <drepper@redhat.com>
2554 * iconvdata/big5.c: Updated.
2555 Patch by Tung-Han Hsieh <thhsieh@twcpro.phys.ntu.edu.tw>.
2557 2000-08-02 Ulrich Drepper <drepper@redhat.com>
2559 * Makeconfig (all-subdirs): Add conform.
2560 * conform/Makefile: Include ../Rules.
2562 * Makefile (README): Add rules to generate here as well.
2564 2000-08-02 Ulrich Drepper <drepper@redhat.com>
2566 * version.h (VERSION): Bump to 2.1.92.
2568 * sysdeps/ia64/Dist: Add _mcount.S.
2570 * sysdeps/unix/sysv/linux/ia64/Dist: Add clone.S.
2572 * sysdeps/unix/sysv/linux/mips/Dist: Add _test_and_set.c.
2574 * elf/Makefile (distribute): Add missing modules.
2576 * sysdeps/unix/sysv/linux/s390/Dist: Remove nonexisting files.
2578 * posix/regex.c (compile_range): Translate range start and end
2579 characters to avoid empty range in case of REG_ICASE [PR libc/1842].
2581 * sysdeps/unix/sysv/linux/ia64/bits/resource.h: Don't include
2584 * sysdeps/unix/sysv/linux/arm/Makefile: Undo last change.
2586 2000-08-02 Andreas Jaeger <aj@suse.de>
2588 * elf/elf.h (EM_S390): Added.
2589 (R_390_*): New relocs for S390.
2591 * sysdeps/unix/sysv/linux/s390/Dist: New file.
2592 * sysdeps/unix/sysv/linux/s390/sysdep.h: New file.
2593 * sysdeps/unix/sysv/linux/s390/sysdep.S: New file.
2594 * sysdeps/unix/sysv/linux/s390/syscall.S: New file.
2595 * sysdeps/unix/sysv/linux/s390/sys/user.h: New file.
2596 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
2597 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: New file.
2598 * sysdeps/unix/sysv/linux/s390/sys/elf.h: New file.
2599 * sysdeps/unix/sysv/linux/s390/socket.S: New file.
2600 * sysdeps/unix/sysv/linux/s390/sigcontextinfo.h: New file.
2601 * sysdeps/unix/sysv/linux/s390/shmctl.c: New file.
2602 * sysdeps/unix/sysv/linux/s390/setreuid.c: New file.
2603 * sysdeps/unix/sysv/linux/s390/setresuid.c: New file.
2604 * sysdeps/unix/sysv/linux/s390/setresgid.c: New file.
2605 * sysdeps/unix/sysv/linux/s390/setregid.c: New file.
2606 * sysdeps/unix/sysv/linux/s390/setgroups.c: New file.
2607 * sysdeps/unix/sysv/linux/s390/setgid.c: New file.
2608 * sysdeps/unix/sysv/linux/s390/setfsuid.c: New file.
2609 * sysdeps/unix/sysv/linux/s390/setfsgid.c: New file.
2610 * sysdeps/unix/sysv/linux/s390/seteuid.c: New file.
2611 * sysdeps/unix/sysv/linux/s390/setegid.c: New file.
2612 * sysdeps/unix/sysv/linux/s390/semctl.c: New file.
2613 * sysdeps/unix/sysv/linux/s390/register-dump.h: New file.
2614 * sysdeps/unix/sysv/linux/s390/putpmsg.c: New file.
2615 * sysdeps/unix/sysv/linux/s390/putmsg.c: New file.
2616 * sysdeps/unix/sysv/linux/s390/profil-counter.h: New file.
2617 * sysdeps/unix/sysv/linux/s390/msgctl.c: New file.
2618 * sysdeps/unix/sysv/linux/s390/mmap.S: New file.
2619 * sysdeps/unix/sysv/linux/s390/getuid.c: New file.
2620 * sysdeps/unix/sysv/linux/s390/getresuid.c: New file.
2621 * sysdeps/unix/sysv/linux/s390/getresgid.c: New file.
2622 * sysdeps/unix/sysv/linux/s390/getpmsg.c: New file.
2623 * sysdeps/unix/sysv/linux/s390/getmsg.c: New file.
2624 * sysdeps/unix/sysv/linux/s390/getgroups.c: New file.
2625 * sysdeps/unix/sysv/linux/s390/getegid.c: New file.
2626 * sysdeps/unix/sysv/linux/s390/geteuid.c: New file.
2627 * sysdeps/unix/sysv/linux/s390/fchown.c: New file.
2628 * sysdeps/unix/sysv/linux/s390/clone.S: New file.
2629 * sysdeps/unix/sysv/linux/s390/brk.c: New file.
2630 * sysdeps/unix/sysv/linux/s390/bits/time.h: New file.
2631 * sysdeps/unix/sysv/linux/s390/bits/resource.h: New file.
2632 * sysdeps/unix/sysv/linux/s390/bits/mman.h: New file.
2633 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: New file.
2634 * sysdeps/unix/sysv/linux/s390/Makefile: New file.
2635 * sysdeps/s390/sysdep.h: New file.
2636 * sysdeps/s390/sys/ucontext.h: New file.
2637 * sysdeps/s390/sub_n.S: New file.
2638 * sysdeps/s390/strncpy.S: New file.
2639 * sysdeps/s390/strcpy.S: New file.
2640 * sysdeps/s390/stackinfo.h: New file.
2641 * sysdeps/s390/setjmp.S: New file.
2642 * sysdeps/s390/s390-mcount.S: New file.
2643 * sysdeps/s390/mul_1.S: New file.
2644 * sysdeps/s390/memusage.h: New file.
2645 * sysdeps/s390/memset.S: New file.
2646 * sysdeps/s390/memcpy.S: New file.
2647 * sysdeps/s390/memchr.S: New file.
2648 * sysdeps/s390/machine-gmon.h: New file.
2649 * sysdeps/s390/ldbl2mpn.c: New file.
2650 * sysdeps/s390/gmp-mparam.h: New file.
2651 * sysdeps/s390/fpu/fpu_control.h: New file.
2652 * sysdeps/s390/fpu/fesetround.c: New file.
2653 * sysdeps/s390/fpu/fegetround.c: New file.
2654 * sysdeps/s390/fpu/fclrexcpt.c: New file.
2655 * sysdeps/s390/fpu/bits/fenv.h: New file.
2656 * sysdeps/s390/ffs.c: New file.
2657 * sysdeps/s390/elf/start.S: New file.
2658 * sysdeps/s390/elf/setjmp.S: New file.
2659 * sysdeps/s390/elf/bsd-setjmp.S: New file.
2660 * sysdeps/s390/elf/bsd-_setjmp.S: New file.
2661 * sysdeps/s390/dl-machine.h: New file.
2662 * sysdeps/s390/bzero.S: New file.
2663 * sysdeps/s390/bsd-setjmp.S: New file.
2664 * sysdeps/s390/bsd-_setjmp.S: New file.
2665 * sysdeps/s390/bits/string.h: New file.
2666 * sysdeps/s390/bits/setjmp.h: New file.
2667 * sysdeps/s390/bits/huge_val.h: New file.
2668 * sysdeps/s390/bits/endian.h: New file.
2669 * sysdeps/s390/bits/byteswap.h: New file.
2670 * sysdeps/s390/bcopy.S: New file.
2671 * sysdeps/s390/backtrace.c: New file.
2672 * sysdeps/s390/atomicity.h: New file.
2673 * sysdeps/s390/asm-syntax.h: New file.
2674 * sysdeps/s390/addmul_1.S: New file.
2675 * sysdeps/s390/add_n.S: New file.
2676 * sysdeps/s390/abort-instr.h: New file.
2677 * sysdeps/s390/__longjmp.c: New file.
2678 * sysdeps/s390/Makefile: New file.
2679 * sysdeps/s390/Implies: New file.
2680 * sysdeps/s390/Dist: New file.
2681 Patches by Martin Schwidefsky <schwidefsky@de.ibm.com>.
2683 2000-08-01 Ulrich Drepper <drepper@redhat.com>
2685 Remove incompatible IPv6 extension of RPC.
2686 * sunrpc/Makefile: Undo changes.
2687 * sunrpc/rpc_main.c: Likewise.
2688 * sunrpc/rpc/clnt.h: Likewise.
2689 * sunrpc/rpc/svc.h: Likewise.
2690 * sunrpc/bindrsvprt6.c: Removed.
2691 * sunrpc/clnt_tcp6.c: Removed.
2692 * sunrpc/clnt_udp6.c: Removed.
2693 * sunrpc/svc_tcp6.c: Removed.
2694 * sunrpc/svc_udp6.c: Removed.
2696 * intl/libintl.h: Don't use __attribute_format_arg__ for gettext,
2697 dgettext, and dcgettetxt.
2699 * intl/locale.alias: Update japanese aliases.
2701 * sysdeps/ia64/bits/byteswap.h: New file.
2702 Patch by Dan Pop <Dan.Pop@cern.ch>.
2704 * misc/sys/cdefs.h: Define __attribute_format_arg__.
2705 * intl/libintl.h: Use it here instead of using __attribute__ directly.
2707 2000-07-13 H.J. Lu <hjl@gnu.org>
2709 * posix/regex.c (re_max_failures): Set to 4000.
2711 2000-08-01 Ulrich Drepper <drepper@redhat.com>
2713 * gnulib/Makefile (tests): Add tst-gcc.
2714 * gnulib/tst-gcc.c: New file.
2716 * assert/Makefile (routines): Add __assert.
2717 * assert/Versions: Export __assert for glibc 2.2.
2718 * assert/__assert.c: New file.
2719 * assert/assert.h: Declare __assert.
2721 2000-07-27 Bruno Haible <haible@clisp.cons.org>
2723 * locale/localeinfo.h (_ISCTYPE): New macro.
2724 * posix/fnmatch_loop.c (internal_fnmatch): Use it, support new
2725 LC_CTYPE locale format.
2726 * locale/programs/ld-ctype.c (locale_ctype_t): New field class_b.
2727 (ctype_output): Output class_b[nr] right before class_3level[nr].
2728 (allocate_arrays): Fill class_b, similarly to class_3level.
2730 2000-08-01 Ulrich Drepper <drepper@redhat.com>
2731 Joseph S. Myers <jsm28@cam.ac.uk>
2733 * math/tgmath.h: Make standard compliant. Don't ask how.
2735 2000-07-04 H.J. Lu <hjl@gnu.org>
2737 * elf/Makefile ($(inst_slibdir)/$(rtld-version-installed-name)):
2738 Use $(do-install-program) instead of "$(INSTALL_PROGRAM) $< $@.new".
2739 ($(inst_slibdir)/$(rtld-installed-name)): Use $(make-shlib-link) only.
2741 2000-07-30 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
2743 * include/features.h (_XOPEN_SOURCE): Update the explanation.
2744 (__USE_LARGEFILE): Add an explanation.
2745 (_POSIX_C_SOURCE): Define to 2 only if _XOPEN_SOURCE < 500.
2746 (__USE_XOPEN2K): Define whenever _XOPEN_SOURCE >= 600.
2748 2000-08-01 Ulrich Drepper <drepper@redhat.com>
2750 * libio/Makefile: Enable exception handling for genops, wgenops,
2751 fileops, and wfileops.
2753 2000-07-29 Mark Kettenis <kettenis@gnu.org>
2755 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Take into
2756 acount that elf/rtld's main program might remove some varibales
2757 from the environment if we're trying to be secure. Move the Hurd
2758 startup data if necessary, or, if we there is no startup data,
2759 make sure the magical convention that ARGV[0] is stored just after
2760 the environment list.
2762 2000-08-01 Philip Blundell <philb@gnu.org>
2764 * sysdeps/unix/sysv/linux/arm/Makefile [subdir=resource]
2765 (sysdep_routines): Add oldgetrlimit, oldsetrlimit.
2766 * sysdeps/unix/sysv/linux/arm/syscalls.list: Add oldgetrlimit,
2767 oldsetrlimit for GLIBC_2.0.
2769 2000-08-01 Andreas Jaeger <aj@suse.de>
2771 * nss/nss_files/files-ethers.c: Use case-insensitive lookup.
2772 (LINE_PARSER): Allow any number of spaces between ip address and
2773 number. Fixes PR libc/1833, reported by rp010gf@voruta.vu.lt.
2775 * conform/data/netdb.h-data: Remove getipnodebyaddr and friends.
2777 * include/netdb.h: Remove getipnodebyaddr and friends, leave
2780 * nis/Versions: Remove _nss_nis_getipnodebyname_r and
2781 _nss_nisplus_getipnodebyname_r.
2783 * nis/nss_nis/nis-hosts.c (_nss_nis_getipnodebyname_r): #if 0 for
2784 now, getipnodebyname is deprecated.
2785 * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_getipnodebyname_r):
2788 * inet/Makefile (routines): Don't build getipnodebyaddr and
2791 * intl/Makefile (distribute): Add tst-translit.sh and translit.po.
2793 * hesiod/Makefile (distribute): Add nss_hesiod/nss_hesiod.h.
2795 * elf/Makefile (distribute): Add filtmod1.c and filtmod2.c.
2797 * wctype/Makefile (distribute): Add wchar-lookup.h.
2799 * sysdeps/generic/Dist: Add bp-checks.h and bp-semctl.h.
2801 * iconvdata/Makefile (distribute): Add isiri-3342.h.
2803 2000-08-01 Andreas Schwab <schwab@suse.de>
2805 * Make-dist (dist): Resolve `..' in file names.
2807 2000-08-01 Andreas Jaeger <aj@suse.de>
2809 * stdio-common/Makefile (distribute): Remove removed files, add
2812 * Makefile (distribute): Remove include/db_185.h and db.h.
2814 * include/db_185.h: Remove, it's not needed anymore.
2815 * include/db.h: Likewise.
2817 2000-07-31 Ulrich Drepper <drepper@redhat.com>
2819 * inet/Makefile (tests): Remove tst-ipnode.
2820 * include/netdb.h: Add stuff removed from resolv/netdb.h here for
2823 2000-07-31 Jes Sorensen <jes@linuxcare.com>
2825 * sysdeps/ia64/elf/initfini.c: Kill dummy section since align and
2826 endp statements have already been added.
2828 2000-04-18 David Mosberger <davidm@hpl.hp.com>
2830 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Include
2831 <sysdeps/ia64/sysdep.h>.
2833 * sysdeps/ia64/_mcount.S: New file.
2835 * sysdeps/ia64/elf/initfini.c (_init): Preserve gp around call to
2836 __gmon_start__. Fix up extraneous whitespace.
2838 2000-01-12 H.J. Lu <hjl@gnu.org>
2840 * sysdeps/ia64/elf/initfini.c: New file.
2842 2000-07-31 Jes Sorensen <jes@linuxcare.com>
2844 * sysdeps/unix/sysv/linux/ia64/clone.S: Add stop bit to avoid WAW
2845 dependency between branch and ar.pfs write.
2847 2000-07-31 H.J. Lu <hjl@gnu.org>
2849 * sysdeps/generic/printf_fphex.c (__printf_fphex): Correctly
2850 handle the wchar_t array.
2852 2000-07-31 Ulrich Drepper <drepper@redhat.com>
2854 * iconvdata/gb18030.c: Don't map to and from positions in ISO
2855 10646 which are not yet assigned.
2856 Patch by wang shouhua <shouhuawang@redflag-linux.com>.
2858 2000-07-31 Andreas Jaeger <aj@suse.de>
2860 * inet/Versions: Remove getipnodebyaddr and friends from
2863 * resolv/netdb.h: Remove getipnodebyaddr and friends.
2865 2000-07-30 Bruno Haible <haible@clisp.cons.org>
2867 * iconvdata/sjis.c (BODY for FROM_LOOP): Treat the case
2868 ch >= 0x81 && ch2 < 0x40 as invalid.
2870 2000-07-30 Bruno Haible <haible@clisp.cons.org>
2872 * iconvdata/uhc.c (BODY for FROM_LOOP): Reject ch2 == 0xff as invalid.
2873 (BODY for TO_LOOP): Accept 0x7f. Increment outptr as needed.
2875 2000-07-30 Bruno Haible <haible@clisp.cons.org>
2877 * iconvdata/johab.c (BODY for TO_LOOP): After calling
2878 ucs4_to_ksc5601_sym, fix the conversion to JOHAB.
2880 2000-07-30 Bruno Haible <haible@clisp.cons.org>
2882 * iconvdata/t.61.c (to_ucs4): Change values of 0xa4, 0a6, 0xa8, 0xb4,
2884 (from_ucs4): Change values of U+00A4, U+00BB, U+00ED.
2886 2000-07-30 Bruno Haible <haible@clisp.cons.org>
2888 * iconvdata/macintosh.c (HAS_HOLES): Set to 1.
2890 2000-07-30 Bruno Haible <haible@clisp.cons.org>
2892 * iconvdata/iso_6937.c (to_ucs4): Change values of 0x24 and 0xb4.
2893 (from_ucs4): Change values of U+00A4 and U+00ED.
2894 (BODY of TO_LOOP): Remove mapping from U+02DC to 0x0020.
2896 2000-07-30 Bruno Haible <haible@clisp.cons.org>
2898 * iconvdata/ansi_x3.110.c (from_ucs4): Change entry for 0xed.
2899 (BODY for TO_LOOP): Map U+2122, U+2126, not U+2022, U+2026.
2901 2000-07-30 Bruno Haible <haible@clisp.cons.org>
2903 * iconvdata/Makefile (gen-8bit-gap-modules): Remove isiri-3342.
2904 * iconvdata/isiri-3342.h: New file.
2905 * iconvdata/isiri-3342.c (HAS_HOLES): Avoid gaps >= 0xe0, but don't
2906 treat 0x80 as a gap.
2908 2000-07-30 Bruno Haible <haible@clisp.cons.org>
2910 * string/strxfrm.c (encoding_mask, encoding_byte): Remove.
2911 (utf8_encode): Use simple shifts instead. Fix return value.
2913 2000-07-31 Ulrich Drepper <drepper@redhat.com>
2915 * timezone/private.h: Update from tzcode2000e.
2916 * timezone/asia: Update from tzdata2000e.
2917 * timezone/australasia: Likewise.
2918 * timezone/europe: Likewise.
2919 * timezone/northamerica: Likewise.
2920 * timezone/zone-tab: Likewise.
2922 2000-07-30 Ralf Baechle <ralf@gnu.org>
2924 * sysdeps/unix/sysv/linux/mips/bits/sigstack.h: New file. On MIPS
2925 the order of struct sigaltstack members is different.
2927 2000-07-26 Philip Blundell <philb@gnu.org>
2929 * sysdeps/unix/sysv/linux/arm/bits/fcntl.h: New file.
2931 2000-07-29 Ulrich Drepper <drepper@redhat.com>
2933 * locale/langinfo.h: Add entries for extra tables in CTYPE data.
2934 * locale/programs/ld-ctype.c: Adjust for this.
2936 * locale/programs/ld-collate.c: Add more alignment checks.
2937 * locale/string/strcoll.c: Likewise.
2939 2000-07-30 Mark Kettenis <kettenis@gnu.org>
2941 * stdio-common/vfprintf.c: Move inclusion of _i18n_number.h
2942 outside USE_IN_LIBIO block.
2944 2000-07-26 Philip Blundell <philb@gnu.org>
2946 * sysdeps/arm/dl-machine.h (fix_bad_pc24): New function.
2947 (elf_machine_rel): Use it for out-of-range PC24 relocs.
2949 2000-07-28 Philip Blundell <philb@gnu.org>
2951 * math/test-fpucw.c: Ignore reserved bits in control word.
2953 2000-07-28 Philip Blundell <philb@gnu.org>
2955 * sysdeps/unix/sysv/linux/arm/sysdep.h (PSEUDO_RET): New macro.
2956 (ret): Redefine to PSEUDO_RET.
2957 (PSEUDO): Remove jump to syscall_error.
2959 2000-07-29 Mark Kettenis <kettenis@gnu.org>
2961 * resolv/README: Add some information about using the resolver in
2962 multi-threaded code and with C++. Spelling fixes.
2964 2000-07-29 Mark Kettenis <kettenis@gnu.org>
2966 * resolv/resolv.h (struct __sockaddr_in): Remove.
2967 (struct __res_state) [!_LIBC]: Remove reference to __sockaddr_in.
2969 2000-07-29 Greg McGary <greg@mcgary.org>
2971 * Rules (test-bp-inputs, make-test-out): New variables.
2972 ($(objpfx)%-bp.out): New rule.
2973 ($(objpfx)%.out): Rewrite in terms of new variables.
2975 * libio/iovswscanf.c (vswscanf): Pass _IO_FILE_plus pointer to
2976 internal function that uses vtable.
2977 * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
2978 * libio/vswprintf.c (_IO_vswprintf): Likewise.
2980 * malloc/malloc.c (mem2chunk): Define in terms of chunk_at_offset.
2981 (malloc_extend_top): Convert brk to chunk using chunk_at_offset.
2982 (chunk_align): Likewise.
2984 * time/asctime.c (ab_day_name, ab_month_name): Rewrite expression
2985 in a way that conforms to decl, and avoids spurious bounds violation.
2987 * sysdeps/arm/frame.h (struct layout): Make pointers __unbounded.
2988 * sysdeps/generic/frame.h: Likewise.
2989 * sysdeps/generic/backtrace.c (ADVANCE_STACK_FRAME): Wrap bounds
2990 around return value.
2991 (__backtrace): Qualify frame-pointer chain and return address
2992 pointers as __unbounded. Wrap bounds around variable `current'.
2993 * sysdeps/generic/segfault.c (ADVANCE_STACK_FRAME): Wrap bounds
2994 around return value.
2995 (catch_segfault): Qualify frame-pointer chain and return address
2996 pointers as __unbounded. Wrap bounds around variable `current'.
2997 * sysdeps/i386/backtrace.c (struct layout): Make pointers __unbounded.
2998 (ADVANCE_STACK_FRAME): Wrap bounds around return value.
2999 * sysdeps/powerpc/backtrace.c (struct layout): Make pointers
3001 (__backtrace): Qualify frame-pointer chain and return address
3002 pointers as __unbounded. Wrap bounds around variable `current'.
3004 * sysdeps/i386/addmul_1.S: s2_limb is scalar so remove bounds check.
3005 * sysdeps/i386/mul_1.S: Likewise.
3006 * sysdeps/i386/submul_1.S: Likewise.
3007 * sysdeps/i386/i586/addmul_1.S: Likewise.
3008 * sysdeps/i386/i586/mul_1.S: Add bounds checks.
3009 * sysdeps/i386/i586/submul_1.S: Likewise.
3011 2000-07-27 Andreas Jaeger <aj@suse.de>
3013 * libio/Depend: New file, libio needs localedata for tests.
3014 * posix/Depend: Likewise.
3016 2000-07-28 Ulrich Drepper <drepper@redhat.com>
3018 * stdio-common/_i18n_itoa.c: Removed.
3019 * stdio-common/_i18n_itoa.h: Removed.
3020 * stdio-common/_i18n_itowa.c: Removed.
3021 * stdio-common/_i18n_itowa.h: Removed.
3022 * stdio-common/_i18n_number.h: New file.
3023 * stdio-common/Depend: New file.
3024 * stdio-common/printf-parse.h: Handle I modifier correctly. Optimize.
3025 * stdio-common/vfprintf.c: Rewrite buffer handling for integer
3026 printing. Change printing of numbers with locale specific digits to
3027 use new code in _i18n_number.h.
3028 * stdio-common/Makefile (routines): Remove _i18n_itoa and
3031 * stdio-common/bug13.c: Improve messages.
3033 * locale/programs/ld-ctype.c (ctype_read): Improve error message.
3034 (set_class_defaults): Always search also for Uxxxx names.
3035 Detect insufficient number of outdigits.
3037 * locale/Makefile (C-translit.h): Use mv not $(move-if-changed).
3039 2000-07-27 Bruno Haible <haible@clisp.cons.org>
3041 * locale/C-ctype.c (_nl_C_LC_CTYPE): Swap the two names in
3042 _NL_CTYPE_MAP_NAMES.
3043 * locale/localeinfo.h (__TOW_toupper, __TOW_tolower): New enum values.
3044 * wctype/wcfuncs.c (towlower, towupper): Use them.
3045 * wctype/wcfuncs_l.c (__towlower_l, __towupper_l): Likewise.
3046 * wctype/wctrans.c (wctrans): Likewise.
3047 * wctype/wctrans_l.c (__wctrans_l): Likewise.
3049 2000-07-27 Bruno Haible <haible@clisp.cons.org>
3051 * posix/fnmatch.c (is_char_class): Fix logic. Avoid buffer overrun.
3052 Use the optimized version of this function outside glibc as well.
3054 2000-07-27 Jakub Jelinek <jakub@redhat.com>
3056 * locale/indigits.h (indigit_value): Correct.
3057 * locale/indigitswc.h (indigitwc_value): Correct.
3058 * stdio-common/vfscanf.c (__vfscanf): Fix I18N number
3059 conversion, add GROUP checking for it, fix GROUP number
3060 conversion with strlen(thousands) > 1.
3061 Honour width correctly in the presence of floating
3062 decimal points and thousands separators.
3063 * stdio-common/tst-sscanf.c: New test.
3064 * stdio-common/Makefile: Add it to tests.
3065 * sysdeps/generic/strtol.c (strtol): Fix conversion if there are
3066 thousands separators and group argument is non-zero.
3068 2000-07-25 Bruno Haible <haible@clisp.cons.org>
3070 * locale/Versions: Enumerate __*_l functions individually. __wctrans_l
3071 starts at GLIBC_2.2.
3073 2000-07-12 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
3075 * sysdeps/unix/sysv/linux/mips/Dist: Add sys/tas.h.
3076 * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines): Add
3078 (headers): Add sys/tas.h.
3079 * sysdeps/unix/sysv/linux/mips/Versions: Export _test_and_set for
3080 GLIBC_2.2 from libc.
3081 * sysdeps/unix/sysv/linux/mips/_test_and_set.c: New file.
3082 * sysdeps/unix/sysv/linux/mips/sys/tas.h: New file for
3085 2000-07-28 Andreas Jaeger <aj@suse.de>
3087 * sysdeps/gnu/netinet/tcp.h: Add TCP options from Linux 2.4.
3089 * dlfcn/Makefile ($(objpfx)tst-dladdr): New.
3090 ($(objpfx)tst-dladdr.out): new.
3091 (tests): Add tst-dladdr.
3092 ($(objpfx)glrefmain): Use libdl.
3094 * dlfcn/tst-dladdr.c: New file. Based on a test by Volkmar Sieh
3097 2000-07-27 Jes Sorensen <jes@linuxcare.com>
3099 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add truncate(64) and
3100 ftruncate(64) calls.
3102 2000-07-27 Jes Sorensen <jes@linuxcare.com>
3104 * intl/tst-translit.c: Include string.h to get prototype for
3107 2000-07-27 Jes Sorensen <jes@linuxcare.com>
3109 * sysdeps/unix/sysv/linux/ia64/fork.c: Make __libc_fork the strong
3110 name and add weak alias for __fork.
3112 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Change llseek, pread
3113 & pwrite to use __libc_<name> as strong names instead of
3116 * include/sched.h: Add clone2 prototype.
3118 2000-07-26 Jes Sorensen <jes@linuxcare.com>
3120 * sysdeps/unix/sysv/linux/ia64/sysdep.h (ENTRY): Don't declare the
3121 procedure name twice.
3123 2000-07-27 Philip Blundell <philb@gnu.org>
3125 * malloc/malloc.c (HAVE_MREMAP): Undo change of 1997-12-04.
3127 2000-07-27 Andreas Jaeger <aj@suse.de>
3129 * sysdeps/unix/sysv/linux/bits/socket.h: Rename MSG_URG TO
3130 MSG_CONFIRM following kernel 2.4.0 (MSG_URG was never used).
3131 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
3132 Reported by Andi Kleen <ak@suse.de>.
3134 * rt/tst-aio64.c: Add tests for aio_fsync64 and aio_cancel64.
3135 (do_wait): Test requests with aio_return64.
3136 (do_test): Change callers of do_wait.
3138 2000-07-26 Andreas Jaeger <aj@suse.de>
3140 * rt/tst-aio.c: Add tests for aio_fsync and aio_cancel.
3141 (do_wait): Test requests with aio_return.
3142 (do_test): Change callers of do_wait.
3144 2000-07-27 Ulrich Drepper <drepper@redhat.com>
3146 * rt/aio_misc.c (__aio_remove_request): New function. Handle removing
3147 from request list. Don't do the list handling here, call
3148 __aio_remove_request.
3149 * rt/aio_misc.h: Add prototype for __aio_remove_request.
3150 * rt/aio_cancel.c: Don't assume __aio_find_req_fd succeeds since the
3151 request might already be processed. Don't do the list handling
3152 here, call __aio_remove_request.
3154 * rt/aio_misc.c: Don't depend on aio_reqprio field for LIO_SYNC and
3157 * rt/aio_misc.c: Add comment explaining why writer memory barriers
3160 2000-07-27 Greg McGary <greg@mcgary.org>
3162 * sysdeps/generic/bp-checks.h (BOUNDED_N): Make it work for void*.
3163 * sysdeps/generic/bp-semctl.h (check_semctl): Fix syntax error
3164 in union init. Pass zero for ignored semnum arg to semctl.
3165 * sysdeps/unix/sysv/linux/shmat.c (shmat): Fix typo.
3167 2000-07-26 Greg McGary <greg@mcgary.org>
3169 * sysdeps/gnu/bits/msq.h: Qualify kernel's
3170 data structure pointers as __unbounded.
3171 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
3172 * sysdeps/generic/bp-semctl.h: New file.
3173 * sysdeps/unix/sysv/linux/msgctl.c: Qualify kernel's data structure
3174 pointers as __unbounded. Check bounds of syscall args.
3175 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
3176 * sysdeps/unix/sysv/linux/msgsnd.c: Likewise.
3177 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
3178 * sysdeps/unix/sysv/linux/semop.c: Likewise.
3179 * sysdeps/unix/sysv/linux/shmat.c: Likewise.
3180 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
3181 * sysdeps/unix/sysv/linux/shmdt.c: Likewise.
3182 * sysdeps/unix/sysv/linux/alpha/msgctl.c: Likewise.
3183 * sysdeps/unix/sysv/linux/alpha/semctl.c: Likewise.
3184 * sysdeps/unix/sysv/linux/alpha/shmctl.c: Likewise.
3185 * sysdeps/unix/sysv/linux/i386/msgctl.c: Likewise.
3186 * sysdeps/unix/sysv/linux/i386/semctl.c: Likewise.
3187 * sysdeps/unix/sysv/linux/i386/shmctl.c: Likewise.
3188 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Likewise.
3189 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Likewise.
3190 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Likewise.
3192 2000-07-26 Ulrich Drepper <drepper@redhat.com>
3194 * libio/iofwide.c: Enable transliteration for conversion from wchar_t
3196 * locale/C-ctype.c: Likewise.
3197 * wcsmbs/wcsmbsload.c: Likewise.
3199 2000-07-26 Greg McGary <greg@mcgary.org>
3201 * Makeconfig (+link-bounded, link-libc-bounded,
3202 link-extra-libs-bounded): New variables.
3203 (built-program-cmd): Omit $(run-program-prefix) for static BP tests.
3204 * Makerules (do-tests-clean, common-mostlyclean): Remove BP test files.
3205 * Rules (tests-bp.out): New variable.
3206 (tests): Conditionally add BP tests.
3207 (binaries-bounded): Add variable and associated rule.
3208 * csu/Makefile [build-bounded] (extra-objs, install-lib):
3209 Move conditional stuff after place where condition is defined.
3211 * malloc/malloc.c (bp-checks.h): Add #include.
3212 (mem2chunk, chunk_at_offset, bin_at): Wrap BOUNDED_1 around expression.
3213 (_bin_at): Add unbounded version of bin_at.
3214 (IAV, chunk_alloc): Use unbounded _bin_at.
3215 (mALLOc, rEALLOc, chunk_realloc, mEMALIGn, cALLOc,
3216 chunk2mem_check, realloc_check, malloc_starter, malloc_atfork):
3217 Wrap BOUNDED_N around return value.
3218 (chunk_realloc): Adjust oldsize once.
3220 * sysdeps/generic/bp-checks.h (__memchr): Remove incorrect decl.
3221 (__ubp_memchr): Add correct decl.
3222 (_CHECK_STRING): Use __ubp_memchr.
3223 * sysdeps/alpha/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
3224 New alias for unbounded-pointer __memchr.
3225 * sysdeps/i386/memchr.S: Likewise.
3226 * sysdeps/ia64/memchr.S: Likewise.
3227 * sysdeps/m68k/memchr.S: Likewise.
3228 * sysdeps/sparc/sparc32/memchr.S: Likewise.
3229 * sysdeps/sparc/sparc64/memchr.S: Likewise.
3230 * sysdeps/vax/memchr.s: Likewise.
3232 * sysdeps/i386/strtok.S: Fix bounds checks to pass tests.
3233 (SAVE_PTR): New macro. (save_ptr): Expand size as BP.
3234 (strtok): Don't bother to write into SAVE_PTR when returning NULL.
3235 * sysdeps/i386/i686/strtok.S: Likewise.
3236 * sysdeps/i386/bp-asm.h (RETURN_BOUNDED_POINTER,
3237 RETURN_NULL_BOUNDED_POINTER): Use %ecx as the scratch register.
3239 * sysdeps/i386/bits/string.h [!__BOUNDED_POINTERS__]: Disable inlines.
3240 * sysdeps/i386/i486/bits/string.h [!__BOUNDED_POINTERS__]: Likewise.
3242 * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path): Copy
3243 bounds of copy_result to mount_proc.
3245 2000-07-25 Bruno Haible <haible@clisp.cons.org>
3247 * wctype/wctype.h (__wctrans_l): New declaration.
3248 * wctype/wctrans_l.c: New file.
3249 * wctype/Makefile (routines): Add wctrans_l.
3251 2000-07-26 Ulrich Drepper <drepper@redhat.com>
3253 * posix/fnmatch_loop.c: Fixes for use outside glibc.
3254 Patch by MacGyver <macgyver@tos.net>.
3256 2000-07-26 Andreas Jaeger <aj@suse.de>
3258 * rt/tst-aio4.c: New file, slightly modified version of tst-aio2.
3259 * rt/tst-aio5.c: New file, slightly modified version of tst-aio2.
3260 * rt/Makefile: Add rules to build and run tst-aio4 and tst-aio5.
3262 * rt/tst-aio.c (test_file): Fix typo.
3263 * rt/tst-aio64.c (test_file): Likewise.
3265 * rt/tst-aio3.c: New file, slightly modified version of tst-aio2.
3266 * rt/Makefile: Add rules to build and run tst-aio3.
3268 * sysdeps/unix/sysv/linux/netinet/ip.h: Removed ip_options since
3269 it's not needed and confuses only.
3271 2000-07-26 Ulrich Drepper <drepper@redhat.com>
3273 * resolv/res_init.c: Add support for nameserver communication with
3275 * resolv/res_send.c: Likewise.
3276 * resolv/resolv.h (struct __res_state): Store IPv6 address, not IPv4
3278 Patch by <venaas@nvg.ntnu.no>.
3280 2000-07-25 Bruno Haible <haible@clisp.cons.org>
3282 * locale/programs/ld-ctype.c (wctype_table_get): New function.
3283 (wcwidth_table_get): New function.
3284 (wcwidth_table_add): Call it.
3285 (wctrans_table_get): New function.
3286 (wctrans_table_add): Call it.
3288 2000-07-25 Ulrich Drepper <drepper@redhat.com>
3290 * rt/lio_listio.c (lio_listio): Always disable individual
3292 * rt/Makefile: Add rules to build and run tst-aio2.
3293 * rt/tst-aio2.c: New file.
3295 * rt/lio_listio.c (lio_listio): Handle case of SIG == NULL correctly.
3296 Reported by Kevin Beard <beardk@gatwick.Geco-Prakla.slb.com>.
3298 2000-07-25 Mark Kettenis <kettenis@gnu.org>
3300 * nss/nss_files/files-netgrp.c (strip_whitespace): New function.
3301 (_nss_netgroup_parseline): Use strip_whitespace to strip off any
3302 leading and trailing spaces from host, user and domain name.
3304 2000-07-25 Jes Sorensen <jes@linuxcare.com>
3306 * csu/defs.awk: Add support for need_endp.
3308 2000-07-25 Mark Kettenis <kettenis@gnu.org>
3310 * resolv/resolv.h: Remove __P from res_send_qhook and
3311 res_send_rhook typedefs.
3313 2000-07-25 Bruno Haible <haible@clisp.cons.org>
3315 * intl/tst-translit.c (main): Unset OUTPUT_CHARSET.
3317 2000-07-25 Ulrich Drepper <drepper@redhat.com>
3319 * iconv/gconv_builtin.h: Add WCHAR_T alias.
3321 2000-07-25 Mark Kettenis <kettenis@gnu.org>
3323 * hurd/thread-cancel.c (hurd_thread_cancel): When cancelling the
3324 calling thread, set the cancellation flag and return success
3327 2000-07-25 Ulrich Drepper <drepper@redhat.com>
3329 * libio/Makefile: Add rules build, run, and distribute tst-widetext.c.
3330 * libio/tst-widetext.c: New file.
3331 * libio/tst-widetext.input: New file.
3333 * libio/iogetwline.c (_IO_getwline_info): Pretty print.
3335 * libio/wfileops.c (_IO_wfile_underflow): Handle not entirely
3336 empty external buffer correctly.
3338 2000-07-25 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
3340 * sysdeps/mips/dl-machine.h (_RTLD_PROLOGUE): Stringify using
3341 __STRING(entry) and not #entry.
3342 (_RTLD_EPILOGUE): Likewise.
3343 * sysdeps/mips/mips64/dl-machine.h: Likewise.
3345 2000-07-25 Andreas Jaeger <aj@suse.de>
3347 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Change parameter
3348 according to changes in test program, run also with static only
3350 ($(objpfx)tst-printf.out): Likewise.
3352 * stdio-common/tst-unbputc.sh: Likewise.
3353 * stdio-common/tst-printf.sh: Likewise.
3355 2000-07-25 Ulrich Drepper <drepper@redhat.com>
3357 * libio/wfileops.c (_IO_wdo_write): Correct return value.
3359 * libio/wfileops.c (_IO_wdo_write): Allow partial conversions in the
3362 * libio/fileops.c: Pretty print.
3364 2000-07-23 Bruno Haible <haible@clisp.cons.org>
3366 * wctype/wchar-lookup.h: New file.
3367 * wctype/iswctype.c: Include "wchar-lookup.h".
3368 (__iswctype): Support alternate locale format with 3-level tables.
3369 * wctype/iswctype_l.c (__iswctype_l): Likewise.
3370 * wctype/towctrans.c (__towctrans): Likewise.
3371 * wctype/towctrans_l.c (__towctrans_l): Likewise.
3372 * wctype/wcfuncs.c: Include "wchar-lookup.h".
3373 (__ctype32_wctype, __ctype32_wctrans): Declare external.
3374 (__iswalnum, __iswalpha, __iswcntrl, __iswdigit, __iswlower,
3375 __iswgraph, __iswprint, __iswpunct, __iswspace, __iswupper,
3376 __iswxdigit, towlower, towupper): Support alternate locale format
3377 with 3-level tables.
3378 * wctype/wcextra.c (iswblank): Likewise.
3379 * wctype/wcfuncs_l.c: Include "wchar-lookup.h".
3380 (__iswalnum_l, __iswalpha_l, __iswcntrl_l, __iswdigit_l, __iswlower_l,
3381 __iswgraph_l, __iswprint_l, __iswpunct_l, __iswspace_l, __iswupper_l,
3382 __iswxdigit_l, __towlower_l, __towupper_l): Support alternate locale
3383 format with 3-level tables.
3384 * wctype/wcextra_l.c (__iswblank_l): Likewise.
3385 * wctype/wctype.c (__wctype): Likewise. In the alternate locale
3386 format, return a 3-level table pointer.
3387 * wctype/wctype_l.c (__wctype_l): Likewise.
3388 * wctype/wctrans.c (wctrans): Likewise.
3389 * wctype/wctype.h (__ISwupper, __ISwlower, __ISwalpha, __ISwdigit,
3390 __ISwxdigit, __ISwspace, __ISwprint, __ISwgraph, __ISwblank,
3391 __ISwcntrl, __ISwpunct, __ISwalnum): New enum values.
3392 (iswctype): Remove macro definition.
3393 * wcsmbs/wcwidth.h: Include "wchar-lookup.h".
3394 (internal_wcwidth): Support alternate locale format with 3-level
3396 * locale/langinfo.h (_NL_CTYPE_CLASS_OFFSET, _NL_CTYPE_MAP_OFFSET):
3398 * locale/categories.def (_NL_CTYPE_CLASS_OFFSET, _NL_CTYPE_MAP_OFFSET):
3399 Define them as being type "word".
3400 * locale/C-ctype.c (_nl_C_LC_CTYPE): Add initializers for them.
3401 * ctype/ctype-info.c (__ctype32_wctype, __ctype32_wctrans,
3402 __ctype32_width): New exported variables.
3403 * locale/lc-ctype.c (_nl_postload_ctype): Initialize them in the
3404 alternate locale format. Don't initialize __ctype_names and
3405 __ctype_width in the alternate locale format.
3406 * locale/programs/localedef.h (oldstyle_tables): New declaration.
3407 * locale/programs/localedef.c (oldstyle_tables): New variable.
3408 (OPT_OLDSTYLE): New macro.
3409 (options): Add --old-style option.
3410 (parse_opt): Handle --old-style option.
3411 * locale/programs/ld-ctype.c (locale_ctype_t): Add class_offset,
3412 map_offset, class_3level, map_3level, width_3level members.
3413 (ctype_output): Support for alternate locale format: Computation of
3414 nelems changes. _NL_CTYPE_TOUPPER32, _NL_CTYPE_TOLOWER32 and
3415 _NL_CTYPE_CLASS32 only 256 characters. _NL_CTYPE_NAMES empty.
3416 New fields _NL_CTYPE_CLASS_OFFSET, _NL_CTYPE_MAP_OFFSET. Field
3417 _NL_CTYPE_WIDTH now contains the three-level table. Extra elems
3418 now contain both class and map tables.
3419 (struct wctype_table): New type.
3420 (wctype_table_init, wctype_table_add, wctype_table_finalize): New
3422 (struct wcwidth_table): New type.
3423 (wcwidth_table_init, wcwidth_table_add, wcwidth_table_finalize): New
3425 (struct wctrans_table): New type.
3426 (wctrans_table_init, wctrans_table_add, wctrans_table_finalize): New
3428 (allocate_arrays): Support for alternate locale format: Set
3429 plane_size and plane_cnt to 0. Restrict ctype->ctype32_b to the first
3430 256 characters. Compute ctype->class_3level. Restrict ctype->map32[idx]
3431 to the first 256 characters. Compute ctype->map_3level. Set
3432 ctype->class_offset and ctype->map_offset. Compute ctype->width_3level
3433 instead of ctype->width.
3435 2000-07-24 Ulrich Drepper <drepper@redhat.com>
3437 * libio/iogetwline.c (_IO_getwline_info): Use wide character
3440 2000-07-24 Jakub Jelinek <jakub@redhat.com>
3442 * libio/wfiledoalloc.c (_IO_wfile_doallocate): Measure size
3443 in wide characters, not bytes.
3444 * libio/tst_putwc.c (do_test): Add test for writing lots of data
3447 2000-07-22 Bruno Haible <haible@clisp.cons.org>
3449 * locale/nl_langinfo.c (nl_langinfo): Accept items belonging to the
3450 new categories LC_PAPER, LC_NAME, LC_ADDRESS, LC_TELEPHONE,
3451 LC_MEASUREMENT, LC_IDENTIFICATION.
3453 * locale/xlocale.h (struct __locale_struct): Increase size of
3455 * locale/duplocale.c (__duplocale): Copy newly added categories as
3457 * locale/freelocale.c (__freelocale): Free newly added categories.
3458 * locale/newlocale.c (__newlocale): Fix typo in sanity check.
3459 If a base is given, use it, don't simply return it.
3461 2000-07-22 Bruno Haible <haible@clisp.cons.org>
3463 * crypt/md5-crypt.c (__md5_crypt_r): Avoid gcc warnings: Use pointer
3464 variables, copied_key and copied_salt, instead of boolean variables.
3466 2000-07-24 Andreas Jaeger <aj@suse.de>
3468 * sysdeps/unix/sysv/linux/powerpc/mmap64.c (__mmap64): Really fix
3471 * grp/initgroups.c (initgroups_dyn_function): Renamed from
3472 initgroups_function, adopted prototype for change from 2000-07-23.
3473 (initgroups): Follow type change.
3475 * sysdeps/unix/sysv/linux/powerpc/mmap64.c (__mmap64): Fix offset
3476 & PAGE_MASK case, reformat.
3478 * string/Makefile ($(objpfx)tst-svc.out): Fix rule to read input
3479 from stdin and setup environment.
3481 2000-07-24 Andreas Schwab <schwab@suse.de>
3483 * sysdeps/unix/sysv/linux/m68k/mmap.S: Remove mmap64 alias.
3485 2000-07-23 Ulrich Drepper <drepper@redhat.com>
3487 * string/endian.h: Explain the _*_ENDIAN constant values a bit
3488 more. Patch by scarlet@mit.edu [PR libc/1799].
3490 * io/ftwtest-sh: Add -f parameter to chmod if -R is also given.
3493 * argp/argp-parse.c (parser_finalize): Reverse order in which
3494 parsers are run for ARGP_KEY_END. [PR libc/1755].
3496 * grp/initgroups.c (initgroups): Don't limit the possible number
3497 of groups to NGROUPS_MAX. Allow dynamic resizing. Loop around
3498 the setgroups call while the call fails and descrease the number
3499 of groups each round.
3500 The name of the initgroups function in the NSS modules changed.
3501 (compat_call): Adapt for dynamic resizing.
3502 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
3503 Implement dynamic resizing.
3504 * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
3506 * nis/nss_nis/compat-initgroups.c (_nss_nis_initgroups_dyn): Likewise.
3507 * hesiod/Versions: Change exported interface name.
3508 * nis/Versions: Change exported interface name.
3510 2000-07-23 Ulrich Drepper <drepper@redhat.com>
3512 * locale/iso-639.def: Some errors corrected.
3513 Patch by Keld Simonsen.
3515 * include/limits.h: Update non-gcc portion.
3516 Patch by Joseph S. Myers <jsm28@cam.ac.uk>.
3518 2000-07-22 Mark Kettenis <kettenis@gnu.org>
3520 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When shrinking the
3521 program's data space, reallocate only the space that was just
3522 deallocated to release its backing space.
3524 2000-07-23 Ulrich Drepper <drepper@redhat.com>
3526 * stdio-common/vfprintf.c (process_string_arg): For wide character
3527 version, handle precision also correctly.
3529 * nss/nss_files/files-hosts.c: Correct problem with three or more
3530 entries with the same name.
3532 * nss/nss_files/files-hosts.c: Implement multi handling.
3533 * resolv/Versions: Export _res_hconf for GLIBC_2.2 from libc.
3535 2000-07-22 Ulrich Drepper <drepper@redhat.com>
3537 * nss/nss_files/files-parse.c: Don't pollute namespace by using
3540 * grp/Makefile: Change Makefiles and tests to run only when necessary.
3541 * malloc/Makefile: Likewise.
3542 * malloc/tst-mtrace.sh: Likewise.
3543 * posix/Makefile: Likewise.
3544 * posix/globtest.sh: Likewise.
3545 * posix/wordexp-tst.sh: Likewise.
3546 * string/Makefile: Likewise.
3548 2000-07-22 Mark Kettenis <kettenis@gnu.org>
3550 * locale/findlocale.c (locale_file_list): Use __LC_LAST as array
3551 size instead of LC_ALL to take into account the new locale
3554 2000-07-22 Ulrich Drepper <drepper@redhat.com>
3556 * iconv/gconv_trans.c: Correct a few bugs in the search loop. Remove
3557 remainders of hash table.
3558 * locale/categories.def: Remove remainders of transliteration
3560 * locale/langinfo.h: Likewise.
3561 * locale/programs/ld-ctype.c: Likewise. Fix code to write out
3562 transliteration tables.
3564 * locale/gen-translit.pl: New file.
3565 * locale/C-translit.h.in: New file.
3566 * locale/C-ctype.c: Include C-translit.h. Initialize transliteration
3567 data pointers with data from this file.
3568 * locale/Makefile (distribute): Add C-translit.h.in, C-translit.h,
3569 and gen-translit.pl.
3570 Add rule to generate C-translit.h.
3571 * intl/tst-translit.c (main): Update for now performed
3574 * stdio-common/vfscanf.c: Handle input -- with format %f correctly
3575 (it's no input error).
3576 * stdio-common/tstscanf.c: Add test case for format %f with input --.
3577 * stdio-common/scanf12.c: Correct expected result for first scanf.
3579 * stdio-common/vfprintf.c (process_string_arg): Correct handling
3580 of multibyte character strings in %s format with precision.
3582 2000-07-21 Ulrich Drepper <drepper@redhat.com>
3584 * locale/programs/ld-collate.c (collate_read): Allow collating
3585 symbols and elements be named in reorder-after instructions.
3586 Reported by Yoshito Kawada <KAWADA@jp.ibm.com>.
3588 * locale/programs/ld-collate.c (handle_ellipsis): Test for
3589 duplication with generated name, not the name of the first
3591 Patch by Yong Li <yong.li@asu.edu>.
3593 * sysdeps/powerpc/strchr.S: Correct bugs introduced in BP-ification.
3594 Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
3596 2000-07-21 Wolfram Gloger <wg@malloc.de>
3598 * malloc/malloc.c (chunk_alloc): Try mmap_chunk() for smaller
3599 allocations only if a non-main arena cannot be extended.
3601 2000-07-21 Ulrich Drepper <drepper@redhat.com>
3603 * elf/dl-load.c (_dl_map_object): Take loader==NULL into account
3604 in DF_1_NODEFLIB handling.
3606 2000-07-21 Andreas Jaeger <aj@suse.de>
3608 * elf/Makefile ($(test-modules)): Exclude filtmod1.so, it has its
3611 * libio/fwide.c: Include <wchar.h> for prototype.
3613 2000-07-21 Greg McGary <greg@mcgary.org>
3615 * malloc/malloc.c (next_chunk, prev_chunk, inuse_bit_at_offset,
3616 set_inuse_bit_at_offset, clear_inuse_bit_at_offset, set_foot):
3617 Define in terms of chunk_at_offset.
3618 (inuse, set_inuse, clear_inuse): Define in terms of next_chunk.
3619 (next_bin, prev_bin): offset by size of real array elements.
3620 (chunk_align): Make `m' a scalar, since that's how it's used.
3622 2000-07-21 Greg McGary <greg@mcgary.org>
3624 * sysdeps/powerpc/bp-asm.h (DISCARD_BOUNDS): Rename from
3626 * sysdeps/powerpc/bits/setjmp.h (JB_SIZE): New constant.
3627 * sysdeps/powerpc/elf/libc-start.c (__libc_start_main):
3628 Wrap bounds around argv & envp and each of their string members.
3629 * sysdeps/powerpc/elf/start.S: Designate BP symbols.
3630 * sysdeps/unix/sysv/linux/powerpc/brk.S: Wrap entry-point
3631 symbol in BP_SYM (). Discard bounds of address arg.
3632 * sysdeps/unix/sysv/linux/powerpc/clone.S: Likewise.
3633 * sysdeps/unix/sysv/linux/powerpc/mmap64.c (__mmap64):
3634 Discard bounds on address arg, add bounds to return value.
3636 2000-07-20 Ulrich Drepper <drepper@redhat.com>
3638 * elf/Makefile (tests): Add filter. Add rules to generate filter.
3639 * elf/filter.c: New file.
3640 * elf/filtmod1.c: New file.
3641 * elf/filtmod2.c: New file.
3643 * elf/rtld.c: Define _dl_bind_not variable.
3644 (process_envvars): Recognize LD_BIND_NOT and set _dl_bind_not.
3645 * elf/dl-support.c: Likewise.
3646 * sysdeps/generic/ldsodefs.h: Declare _dl_bind_not.
3647 * elf/dl-runtime.c (fixup): Don't remember looked up value if
3649 (profile_fixup): Likewise.
3651 * libio/Makefile (routines): Add fwide.
3652 * libio/iofwide.c (_IO_fwide): Remove locking. This is done in
3653 fwide now. Internal calls to _IO_fwide must do locking themselves
3654 or don't need locking.
3655 * libio/fwide.c: New file.
3657 * elf/dl-load.c (_dl_map_object): Implement handling of DF_1_NODEFLIB.
3659 * elf/Makefile: Add no modules for nodelete test.
3660 * elf/nodelmod3.c: New file.
3661 * elf/nodelmod4.c: New file.
3662 * elf/nodelete.c: Also test case where dependency of dlopen() object
3665 * elf/Makefile (tests): Add nodlopen. Add rules to generate nodlopen.
3666 * elf/nodlopen.c: New file.
3667 * elf/nodlopenmod.c: New file.
3668 * include/dlfcn.h: Define __RTLD_DLOPEN.
3669 * elf/dl-load.c (_dl_map_object_from_fd): If DF_1_NOOPEN is set
3670 and this is a dlopen() call, do not load the binary.
3671 * dlfcn/dlopen.c: Add __RTLD_DLOPEN to mode passed down to _dl_open.
3672 * dlfcn/dlopenold.c: Likewise.
3673 * configure.in: Add test for -z nodelete option.
3674 * config.make.in: Define have-z-nodelete with libc_cv_z_nodelete.
3676 2000-07-20 Mark Kettenis <kettenis@gnu.org>
3678 Make Hesiod NSS module thread-safe.
3680 * hesiod/README.hesiod: Update.
3682 * hesiod/Versions [GLIBC_2.2]: Add _nss_hesiod_getservbyport_r,
3683 _nss_hesiod_setprotoent, _nss_hesiod_endprotoent,
3684 _nss_hesiod_getprotobyname_r, and _nss_hesiod_getprotobynumber_r.
3685 * hesiod/Makefile (libnss_hesiod-routines): Add hesiod-init and
3687 * hesiod/nss_hesiod/hesiod-init.c: New file.
3688 * hesiod/nss_hesiod/hesiod-pwd.c: Rewritten for thread-safeness.
3689 * hesiod/nss_hesiod/hesiod-grp.c: Likewise.
3690 * hesiod/nss_hesiod/nss_hesiod.h: New file.
3691 * hesiod/nss_hesiod/hesiod-service.c
3692 (_nss_hesiod_getservbyport_r): New function. Provide support for
3693 looking up services by port number.
3694 * hesiod/nss_hesiod/hesiod-proto.c: New file.
3696 * hesiod/hesiod.c: Update from BIND 8.2.3-T5B.
3697 * hesiod/hesiod.h: Likewise.
3698 * hesiod/hesiod_p.h: Likewise.
3700 2000-07-20 Mark Kettenis <kettenis@gnu.org>
3702 Fix problems with `struct __res_state' getting too big.
3703 * resolv/resolv.h (struct __sockaddr_in): New definition.
3704 (struct __res_state): Use __sockaddr_in instead of sockaddr_in in
3705 the private parts of the structure to save some space.
3706 * resolv/res_send.c (res_nsend): Cast &EXT(statp).nsaddrs[ns] to
3707 (struct sockaddr_in *) in call to sock_eq.
3708 Use memcpy to copy statp->nsaddr_list[ns] to &EXT(statp).nsaddrs[ns].
3710 2000-07-20 Ulrich Drepper <drepper@redhat.com>
3712 * elf/elf.h: Add various DF_1_*, DTF_1_*, and DF_P1_* entries.
3713 * elf/dl-close.c (_dl_close): Don't close an object if it is marked
3715 * elf/dl-open.c (dl_open_worker): Pass RTLD_NOLOAD as new parameter
3716 to _dl_map_object. Return immediately if no object loaded.
3717 Set DF_1_NODELETE bit in l_flags_1 if RTLD_NODELETE was passed.
3718 * elf/dynamic-link.h (elf_get_dynamic_info): Copy DT_FLAGS_1 entry
3719 if it exists into l_flags_1 word.
3720 * elf/dl-load.c (_dl_map_object_from_fd): Take no parameter and use
3721 it to determine whether loading is wanted or not.
3722 (_dl_map_object): Likewise.
3723 Call _dl_map_object_from_fd with new parameter.
3724 * sysdeps/generic/ldsodefs.h: Update prototype.
3725 * elf/dl-deps.c: Add new parameter to _dl_map_object calls.
3726 * elf/rtld.c: Likewise.
3727 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
3728 * elf/Makefile (tests): Add noload. Add rules to generate noload.
3729 * elf/noload.c: New file.
3730 * include/link.h (struct link_map): Add l_feature_1 and l_flags_1.
3731 * sysdeps/generic/bits/dlfcn.h: Define RTLD_NOLOAD and RTLD_NODELETE.
3732 * sysdeps/mips/bits/dlfcn.h: Likewise.
3733 * elf/Makefile (tests): Add $(tests-nodelete-$(have-z-nodelete)).
3734 (tests-nodelete-yes): Define.
3735 (modules-names): Add $(modules-nodelete-$(have-z-nodelete)).
3736 Add rules to build nodelete and modules.
3737 * elf/nodelete.c: New file.
3738 * elf/nodelmod1.c: New file.
3739 * elf/nodelmod2.c: New file.
3740 * configure.in: Add test for -z nodelete option.
3741 * config.make.in: Define have-z-nodelete with libc_cv_z_nodelete.
3743 * libio/Makefile (tests): Add tst_wprintf2.
3744 (tst_wprintf2-ARGS): Define.
3745 * libio/tst_wprintf2.c: New file.
3746 Based on a test case by Yoshito Kawada <KAWADA@jp.ibm.com>.
3748 * libio/wfiledoalloc.c: Only allocate external buffer if this
3749 hasn't happened yet.
3751 * libio/wfileops.c (_IO_wdo_write): Overflow only if there is really
3752 something in the buffer. gconv call can write up to end of the
3753 buffer, not only _IO_write_end.
3754 (_IO_wfile_overflow): Allocate also external buffer.
3756 2000-07-19 Ulrich Drepper <drepper@redhat.com>
3758 * stdio-common/vfprintf.c (process_string_arg): Handle multibyte
3759 strings with precision in vfwprintf correctly.
3760 * stdio-common/vfprintf.c: Fix completely broken handling of
3761 unbuffered wide character streams.
3762 Reported by Yoshito Kawada <KAWADA@jp.ibm.com>.
3764 * resolv/Makefile (distribute): Add README.
3766 * resolv/README: New file. By Mark Kettenis <kettenis@gnu.org>.
3768 2000-07-18 Mark Kettenis <kettenis@gnu.org>
3770 Update resolver code to BIND 8.2.3-T5B.
3772 * resolv/Versions [GLIBC_2.2] (libc): Add __res_init and
3774 [GLIBC_2.2] (libresolv): Add __dn_expand, __ns_samename,
3775 __res_mkquery, __res_nsend, __res_query, __res_querydomain and
3777 * resolv/Banner: BIND-8.2.3-T5B.
3779 * resolv/base64.c: Update from BIND 8.2.3-T5B.
3780 * resolv/herror.c: Likewise.
3781 * resolv/inet_addr.c: Likewise.
3782 * resolv/inet_net_ntop.c: Likewise.
3783 * resolv/inet_net_pton.c: Likewise.
3784 * resolv/inet_neta.c: Likewise.
3785 * resolv/inet_ntop.c: Likewise.
3786 * resolv/nsap_addr.c: Likewise.
3787 * resolv/inet_pton.c: Likewise. Reject a few more more invalid
3788 IPv6 addresses (ISC bug #520).
3790 * resolv/ns_name.c: Avoid emitting RCS ID in object file.
3791 * resolv/ns_parse.c: Likewise.
3792 * resolv/ns_netint.c: Likewise.
3793 * resolv/ns_samedomain.c: Likewise.
3794 * resolv/ns_ttl.c: Likewise.
3795 * resolv/ns_print.c: Update from BIND 8.2.3-T5B. Avoid emitting
3796 RCS ID in object file.
3798 * resolv/res_debug.c: Update from BIND 8.2.3-T5B.
3799 * resolv/res_mkquery.c: Likewise.
3800 * resolv/res_query.c: Likewise.
3801 * resolv/res_init.c: Likewise.
3802 (res_setoptions): Mark internal.
3803 * resolv/res_send.c: Likewise.
3804 [_LIBC]: Fully reinstate the code that avoids the FD_SETSIZE limit
3805 by using poll instead.
3806 * resolv/res_comp.c: Likewise.
3807 [SHLIB_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_2)]: Make dn_expand a
3808 weak alias for __dn_expand.
3809 * resolv/res_data.c: Likewise.
3810 (res_close) [_LIBC]: Don't call res_nclose if RES_INIT isn't set
3811 in _res.options. Avoids a potential security risk by avoiding a
3813 [SHLIB_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_2)]: Make
3814 res_mkquery, res_query, res_querydomain adn res_search weak
3815 aliases for __res_mkquery, __res_query, __res_querydomain and
3817 * resolv/res_libc.c: (_res): Don't initialize. Fix res_close
3818 instead to avoid close(0).
3819 (res_init): Always use the static resolver context.
3820 [SHLIB_COMPAT (libc, GLIBC_2.0, GLIBC_2_2)]: Make res_init a weak
3821 alias for __res_init.
3823 * resolv/resolv.h: Update from BIND 8.2.3-T5B. Move definition of
3824 RES_SET_H_ERRNO and accompanying comment to...
3825 * include/resolv.h: ... here.
3827 * resolv/arpa/namser.h: Update from BIND 8.2.3-T5B.
3828 * resolv/arpa/nameser_compat.h: Likewise.
3830 2000-07-18 Ulrich Drepper <drepper@redhat.com>
3832 * nss/makedb.c (main): Compare result of load_db with
3833 NSS_STATUS_SUCCESS and not 0.
3834 Patch by Jan Rekorajski <baggins@sith.mimuw.edu.pl>.
3836 * sysdeps/unix/sysv/linux/Versions: Export __sysctl for GLIBC_2.2.
3838 2000-07-18 Greg McGary <greg@mcgary.org>
3840 * posix/regex.c (EXTEND_BUFFER_HIGH_BOUND): New macro.
3841 (EXTEND_BUFFER): Use it.
3843 2000-07-18 Ulrich Drepper <drepper@redhat.com>
3845 * include/libc-symbols.h: Define RETURN_ADDRESS macro.
3846 * dlfcn/dlopen.c: Use RETURN_ADDRESS instead of
3847 __builtin_return_address.
3848 * dlfcn/dlopenold.c: Likewise.
3849 * dlfcn/dlsym.c: Likewise.
3850 * dlfcn/dlvsym.c: Likewise.
3851 * elf/dl-profstub.c: Likewise.
3852 * malloc/malloc.c: Likewise.
3853 * sysdeps/generic/machine-gmon.h: Likewise.
3854 Based on a patch by schwidefsky@de.ibm.com.
3856 2000-07-18 Andreas Jaeger <aj@suse.de>
3858 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Pass 0 instead of
3859 NULL to elf_machine_fixup_plt t argument to silence GCC.
3861 * include/string.h: Add prototype for __memchr.
3863 * sysdeps/alpha/memchr.S: Fix copy & error in weak_alias.
3865 * sysdeps/generic/memchr.c: Fix copy & paste error: Use memchr
3868 2000-07-18 Ulrich Drepper <drepper@redhat.com>
3870 * intl/Makefile: Make sure tst-translit is run after tst-gettext.
3872 * locale/C-ctype.c: Add initializers for gap elements.
3873 * locale/programs/ld-ctype.c (ctype_output): Write out index entries
3876 2000-07-16 Ulrich Drepper <drepper@redhat.com>
3878 * nscd/nscd.c (print_version): Update copyright year.
3880 2000-07-17 Greg McGary <greg@mcgary.org>
3882 * sysdeps/unix/make-syscalls.sh: Handle new arg signature
3883 keyletters F, I, S, W. Remove unused keyletter V. Surround
3884 signature argnames with angle-brackets for use as word delimiters,
3885 and to induce syntax errors for any args not handled. Split
3886 multi-echo echoes and comment each stage.
3887 * sysdeps/unix/common/syscalls.list: Refine & correct signatures.
3888 * sysdeps/unix/inet/syscalls.list: Likewise.
3889 * sysdeps/unix/mman/syscalls.list: Likewise.
3890 * sysdeps/unix/syscalls.list: Likewise.
3891 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
3892 * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
3893 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
3894 * sysdeps/unix/sysv/syscalls.list: Likewise.
3895 * sysdeps/unix/sysv/linux/powerpc/syscalls.list
3897 * sysdeps/generic/strcpy.c (strcpy): Stifle unused-value warnings.
3898 * sysdeps/unix/sysv/linux/execve.c (__execve): Add const
3899 qualifiers. Don't check NULL-terminator of argv & envp.
3900 * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path): Use
3901 unbounded pointer type in word-size assertion.
3902 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Add missing
3903 cases to stifle warnings.
3905 * libio/iofdopen.c (_IO_new_fdopen): Pass _IO_FILE_plus pointer to
3907 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
3909 * include/libc-symbols.h (symbol_set_declare): Revert 2000-06-26 mods.
3910 * include/set-hooks.h (RUN_HOOK): Revert 2000-06-26 mods. Qualify
3913 * Makerules (o-objects): Supplement with $(o-objects$o).
3914 * string/Makefile (o-objects.ob): Add variable to pull
3915 unbounded versions of memcpy, memset and memchr into libc_b.
3917 * sysdeps/generic/bp-checks.h: Use unbounded __memchr
3918 rather than non-existent __ubp_memchr.
3919 (CHECK_STRINGopt, CHECK_FCNTL, BOUNDED_N, BOUNDED_1): New macros.
3920 (_CHECK_STRING, _CHECK_N): New macros.
3921 (CHECK_STRING, CHECK_N, CHECK_Nopt): Rewrite in terms of _CHECK_*.
3922 (CHECK_IOCTL): Move inside `#if !__ASSEMBLER__'.
3923 * sysdeps/alpha/memchr.S: Change strong name to "__memchr".
3924 Add weak alias "memchr".
3925 * sysdeps/generic/memchr.c: Likewise.
3926 * sysdeps/i386/memchr.S: Likewise.
3927 * sysdeps/ia64/memchr.S: Likewise.
3928 * sysdeps/m68k/memchr.S: Likewise.
3929 * sysdeps/sparc/sparc32/memchr.S: Likewise.
3930 * sysdeps/sparc/sparc64/memchr.S: Likewise.
3931 * sysdeps/vax/memchr.s: Likewise.
3933 * iconv/gconv_trans.c: Add #include <stdlib.h> to get malloc decl.
3935 * elf/dl-runtime.c (fixup): Trampoline passes unbounded pointer.
3936 (profile_fixup): Don't define for __BOUNDED_POINTERS__.
3937 * sysdeps/i386/dl-machine.h: Don't use regparm attribute for
3938 __BOUNDED_POINTERS__.
3939 (ELF_MACHINE_RUNTIME_TRAMPOLINE): Use non-regparm version
3940 for __BOUNDED_POINTERS__.
3942 2000-07-17 Bruno Haible <haible@clisp.cons.org>
3944 * iconv/gconv_open.c (__gconv_open): Initialize the __data
3945 field of struct __gconv_trans_data differently. Don't pass NULL to
3946 trans_init_fct. Simplify list append operation.
3948 2000-07-14 Bruno Haible <haible@clisp.cons.org>
3950 * intl/dcigettext.c (dcigettext): Call plural_eval on all platforms,
3951 not only those having tsearch.
3953 2000-07-17 Ulrich Drepper <drepper@redhat.com>
3955 * locale/langinfo.h: Add placeholder values in enum for removed
3958 2000-07-17 Jakub Jelinek <jakub@redhat.com>
3960 * elf/dl-addr.c (_dl_addr): Keep searching in the _dl_loaded
3961 chain if the PHDR check fails.
3963 2000-07-17 Mark Kettenis <kettenis@gnu.org>
3965 * nss/getent.c (print_hosts): Make sure we always print a space
3966 between numeric addresses and hostnames.
3968 2000-07-17 Wolfram Gloger <wg@malloc.de>
3970 * malloc/malloc.c (chunk_alloc): Use mmap_chunk() only if allowed,
3971 i.e. if n_mmaps_max>0.
3973 2000-07-16 Mark Kettenis <kettenis@gnu.org>
3975 * resolv/netdb.h (AI_V4MAPPED, AI_ALL, AI_ADDRCONFIG): Adjust
3976 values to remove possible clash with other AI_* constants.
3977 (AI_PASSIVE, AI_CANONNAME, AI_NUMERICHOST): Define as
3978 hexadecimal constants to stress the fact they're in fact
3981 2000-07-15 Mark Kettenis <kettenis@gnu.org>
3983 * nss/getXXent_r.c [NEED__RES]: Include <resolv.h>.
3984 (SETFUNC_NAME, ENDFUNC_NAME, REENTRANT_GETNAME): Use res_ninit
3985 instead of res_init.
3987 2000-07-16 Ulrich Drepper <drepper@redhat.com>
3989 * crypt/md5-crypt.c (__md5_crypt_r): Add casts for first
3990 parameters of memset calls to avoid warnings.
3992 2000-07-15 Ulrich Drepper <drepper@redhat.com>
3994 * stdlib/Makefile: Rewrite rules to avoid running isomac unless
3997 * sysdeps/unix/sysv/linux/getcwd.c: Correct last patch.
3998 Patch by Greg McGary <greg@mcgary.org>.
4000 * io/Makefile (tests): Add tst-getcwd.
4001 * io/tst-getcwd.c: New file.
4003 * io/Makefile: Rewrite rules to avoid running ftwtest unless necessary.
4005 2000-07-15 Jakub Jelinek <jakub@redhat.com>
4007 * iconv/gconv_open (__gconv_open): Initialize whole __gconv_trans_data
4010 2000-07-13 Jakub Jelinek <jakub@redhat.com>
4012 * sysdeps/posix/sysconf.c: Undef __sysconf before weak_alias.
4013 * sysdeps/unix/bsd/getpt.c: Undef __getpt before weak_alias.
4015 2000-07-12 H.J. Lu <hjl@gnu.org>
4017 * sysdeps/unix/sysv/linux/ia64/Versions (libc): Add __clone2 to
4019 * sysdeps/unix/sysv/linux/ia64/Dist: Add clone2.S.
4020 * sysdeps/unix/sysv/linux/ia64/Makefile [$(subdir)=misc]
4021 (sysdep-routines): Add clone2.
4022 * sysdeps/unix/sysv/linux/ia64/clone2.S: New.
4024 2000-07-13 Jes Sorensen <jes@linuxcare.com>
4026 * sysdeps/unix/sysv/linux/ia64/clone.S: New file.
4027 * sysdeps/unix/sysv/linux/ia64/fork.c: New file.
4029 2000-06-05 David Mosberger <davidm@hpl.hp.com>
4031 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: New file
4032 based on sysdeps/unix/sysv/linux/bits/siginfo.h.
4033 Change type of si_band from "int" to "long".
4034 (si_imm) [USE_GNU]: Define
4035 (si_isr) [USE_GNU]: Ditto.
4036 (ILL_BREAK) [USE_GNU]: Ditto.
4037 (FPE_DECOVF) [USE_GNU]: Ditto.
4038 (FPE_DECDIV) [USE_GNU]: Ditto.
4039 (FPE_DECERR) [USE_GNU]: Ditto.
4040 (FPE_INVASC) [USE_GNU]: Ditto.
4041 (FPE_INVDEC) [USE_GNU]: Ditto.
4042 (TRAP_BRANCH) [USE_GNU]: Ditto.
4043 (TRAP_HWBKPT) [USE_GNU]: Ditto.
4045 2000-07-06 Jes Sorensen <jes@linuxcare.com>
4047 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
4048 bits/sigcontext as struct mcontext does not depend on it.
4050 * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h: New file.
4052 2000-07-04 Jes Sorensen <jes@linuxcare.com>
4054 * sysdeps/unix/sysv/linux/ia64/shmctl.c: Removed.
4056 2000-07-04 David Mosberger-Tang <davidm@hpl.hp.com>
4058 * sysdeps/unix/sysv/linux/ia64/bits/msq.h: New file.
4060 2000-06-22 Jes Sorensen <jes@linuxcare.com>
4062 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: New file.
4064 2000-07-15 Ulrich Drepper <drepper@redhat.com>
4066 * intl/Makefile (test-srcs): Add tst-translit.
4068 Add rules to build and run tst-translit.
4069 * intl/tst-translit.c: New file.
4070 * intl/tst-translit.sh: New file.
4071 * intl/translit.po: New file.
4073 2000-07-14 Ulrich Drepper <drepper@redhat.com>
4075 * iconv/loop.c (STANDARD_ERR_HANDLER): If one of the
4076 transliteration function did its job, continue, don't stop.
4078 * iconvdata/iso646.c: Little optimizations in body for conversion
4081 2000-07-14 Mark Kettenis <kettenis@gnu.org>
4083 * dlfcn/dlerror.c (free_key_mem): Add cast to silence compiler warning.
4085 2000-07-14 Mark Kettenis <kettenis@gnu.org>
4087 * configure.in: Check for pwd binary.
4088 * config.make.in: Add PWD_P to be subsituted.
4089 * Makerules: Use $(PWD_P) instead of /bin/pwd.
4091 2000-07-14 Ulrich Drepper <drepper@redhat.com>
4093 * iconvdata/Makefile (modules): Add GB18030.
4094 (distribute): Add gb18030.c.
4095 * iconvdata/gconv-modules: Add entries for GB18030 module.
4096 * iconvdata/gb18030.c: New file.
4097 Contributed by Wang ShouHua <shouhuawang@redflag-linux.com>
4100 2000-07-13 Andreas Jaeger <aj@suse.de>
4102 * sysdeps/unix/sysv/linux/getsysstats.c (free_mem): Revert last
4105 * grp/fgetgrent.c (free_mem): Remove if - free (0) is valid.
4106 * inet/getnetgrent.c (free_mem): Likewise.
4107 * misc/mntent.c (free_mem): Likewise.
4108 * nss/getXXbyYY.c (free_mem): Likewise.
4109 * nss/getXXent.c (free_mem): Likewise.
4110 * pwd/fgetpwent.c (free_mem): Likewise.
4111 * shadow/fgetspent.c (free_mem): Likewise.
4113 2000-07-14 Ulrich Drepper <drepper@redhat.com>
4115 * sunrpc/xdr.c (xdr_u_long): Handle reading of unsigned long on
4116 64-bit architecture correctly [PR libc/1794].
4118 2000-07-13 Ulrich Drepper <drepper@redhat.com>
4120 * elf/Versions (ld): Export _dl_out_of_memory for GLIBC_2.2.
4121 * dlfcn/dlerror.c (dlerror): Don't free the error string if it is the
4122 report that we are out of memory.
4123 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
4124 * elf/dl-libc.c (dlerror_run): Likewise.
4125 * elf/dl-open.c (_dl_open): Likewise.
4126 * elf/rtld.c (dl_main): Likewise.
4127 * elf/dl-error.c: Define _dl_out_of_memory.
4128 (_dl_signal_error): Return _dl_out_of_memory if we cannot duplicate
4130 * sysdeps/generic/ldsodefs.h: Declare _dl_out_of_memory.
4133 * dlfcn/dlerror.c (free_key_mem): Also free error string.
4135 * iconv/loop.c: Fix comment.
4137 * malloc/mtrace.c (tr_freehook): Return immediately if ptr is NULL.
4139 2000-07-13 Andreas Jaeger <aj@suse.de>
4141 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Correctly handle
4142 getcwd (NULL, size) with size > 0.
4143 Fixes PR libc/1788, reported by John Buddery <jvb@cyberscience.com>.
4145 2000-07-13 Andreas Jaeger <aj@suse.de>
4147 * posix/Makefile: Remove build rules for libposix.
4149 2000-07-13 Andreas Schwab <schwab@suse.de>
4151 * sysdeps/generic/glob.c (glob): Fix memory leak.
4152 [SHELL]: Remove reference to undefined variable `files'.
4155 2000-07-13 Andreas Jaeger <aj@suse.de>
4157 * sysdeps/unix/sysv/linux/mips/Versions: Add libgcc frame handling
4160 * sysdeps/unix/sysv/linux/getsysstats.c (free_mem): Only free
4161 memory if it was allocated.
4163 2000-07-12 Ulrich Drepper <drepper@redhat.com>
4165 * iconv/gconv_db.c (gen_steps): Always initialize __data field of
4168 * iconv/gconv_open.c (__gconv_open): Reapply
4169 2000-07-12 Bruno Haible <haible@clisp.cons.org>
4171 * iconv/gconv_open.c (__gconv_open): Merge duplicated code.
4173 * iconv/gconv_open.c: Undo last two changes for now. They break
4176 2000-07-12 Andreas Jaeger <aj@suse.de>
4178 * elf/Makefile (SYSCONF-FLAGS): Added to pass sysconfdir to
4180 (CFLAGS-cache.c): Added, uses SYSCONF-FLAGS.
4181 (CFLAGS-dl-cache.c): Likewise.
4182 (CFLAGS-ldconfig.c): Added, passes directory locations.
4184 * sysdeps/generic/dl-cache.h (LD_SO_CACHE): Use SYSCONFDIR to
4186 * elf/ldconfig.c (LD_SO_CONF): Likewise.
4187 (main): Use configured LIBDIR and SLIBDIR.
4189 2000-07-11 Jakub Jelinek <jakub@redhat.com>
4191 * math/bits/cmathcalls.h (cimag): Add __THROW.
4192 (creal, conj): Likewise.
4193 * wctype/wctype.h (_ISwbit): Avoid warnings about shifting left
4196 2000-07-12 H.J. Lu <hjl@gnu.org>
4198 * resolv/Versions (libresolv): Add __res_hostalias to GLIBC_2.2
4199 for _nss_dns_gethostbyname2_r in resolv/nss_dns/dns-host.c.
4201 2000-07-12 Ulrich Drepper <drepper@redhat.com>
4203 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Shut gcc up although
4206 2000-07-12 Bruno Haible <haible@clisp.cons.org>
4208 * iconv/gconv_open.c (__gconv_open): Merge duplicated code.
4210 2000-07-12 Bruno Haible <haible@clisp.cons.org>
4212 * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Initialize
4215 2000-07-12 Bruno Haible <haible@clisp.cons.org>
4217 * iconv/gconv_open.c (__gconv_open): Initialize
4218 result->__steps[cnt].__data.
4220 2000-07-12 Mark Kettenis <kettenis@gnu.org>
4222 * nss/getent.c (services_keys): Pass port number in network byte
4223 order in call to getservbyport.
4225 2000-07-11 Andreas Jaeger <aj@suse.de>
4227 * stdlib/Makefile (test-canon-ARGS): Fix for building in the
4229 * intl/Makefile (do-gettext-test): Likewise.
4230 * dirent/Makefile (opendir-tst1-ARGS): Likewise.
4232 2000-07-11 Andreas Schwab <schwab@suse.de>
4234 * Makeconfig (run-program-prefix): New rule.
4235 (built-program-cmd): Use run-program-prefix.
4237 2000-07-12 Ulrich Drepper <drepper@redhat.com>
4239 * locale/langinfo.h: Make CRNCYSTR, RADIXCHAR, THOUSANDS_SEP, YESEXPR,
4240 and NOEXPR unconditionally available.
4242 2000-07-12 Greg McGary <greg@mcgary.org>
4244 * sysdeps/generic/open64.c: Wrap extern symbols in BP_SYM ().
4245 * sysdeps/posix/open64.c: Likewise.
4246 * sysdeps/generic/fegetenv.c: Likewise.
4247 * sysdeps/powerpc/fpu/fegetenv.c: Likewise.
4248 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
4249 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
4250 * sysdeps/powerpc/fpu/fgetexcptflg.c: Likewise.
4251 * sysdeps/powerpc/fpu/fraiseexcpt.c: Likewise.
4252 * sysdeps/powerpc/fpu/fsetexcptflg.c: Likewise.
4254 2000-07-11 Greg McGary <greg@mcgary.org>
4256 * include/libc-symbols.h [!__ASSEMBLER__] (strong_alias):
4257 Add extra level of macro expansion.
4258 [!__ASSEMBLER__ && HAVE_WEAK_SYMBOLS] (weak_alias): nLikewise.
4259 * sysdeps/generic/bp-thunks.h: Ensure `struct timeval' definition
4260 is available at the time `select' prototype is declared.
4261 * sysdeps/unix/make-syscalls.sh: Remove unused variables.
4262 Collect non-versioned weak aliases. Consider only non-versioned
4263 aliases for the user-visible systemcall name. Do checks inline with
4264 call to primitive system call.
4265 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Add void cast to
4266 stand-alone bounds checks to suppress unused value warnings.
4267 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
4269 2000-07-10 Mark Kettenis <kettenis@gnu.org>
4271 * sysdeps/mach/hurd/check_fds.c: New file. Implements
4272 file descriptor checking in SUID programs for the Hurd.
4274 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname2_r): Use
4275 res_hostalias instead of __hostalias for thread-safety.
4277 2000-07-09 Mark Kettenis <kettenis@gnu.org>
4279 * elf/rtld.c (dl_main): Move call to __libc_check_standard_fds...
4280 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): ... to here.
4282 2000-07-10 Ulrich Drepper <drepper@redhat.com>
4284 * include/features.h: Include ISO C99 features if the compiler used
4285 is an ISO C99 compiler.
4286 Patch by Joseph S. Myers <jsm28@cam.ac.uk>.
4288 2000-07-08 Mark Kettenis <kettenis@gnu.org>
4290 * iconv/gconv_conf.c: Include <bits/libc-lock.h>.
4292 2000-07-10 Andreas Jaeger <aj@suse.de>
4294 * sysdeps/unix/sysv/linux/i386/sigaction.c: Make alias weak since
4295 it's overridden by libpthreads.
4296 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
4297 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
4298 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
4299 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
4300 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
4302 * malloc/Makefile: Run tst-mtrace only with shared libs.
4304 * stdio-common/Makefile: Run unbputc and tst-printf tests only
4307 2000-07-10 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
4309 * sysdeps/mips/dl-machine.h (elf_machine_runtime_link_map): Verify
4310 that gpreg really points to the GOT section of the calling object.
4311 Scan all PT_LOAD segments of objects for stub_pc, instead of only
4312 checking a start address of first one.
4314 * sysdeps/mips/mips64/dl-machine.h (elf_machine_runtime_link_map):
4317 * sysdeps/mips/dl-machine.h (__dl_runtime_resolve): Fix a typo.
4319 2000-07-10 Andreas Jaeger <aj@suse.de>
4321 * sysdeps/unix/sysv/linux/sigaction.c: Fix typo
4322 (string_alias->strong_alias).
4324 2000-07-08 Mark Kettenis <kettenis@gnu.org>
4326 * hurd/hurd/fd.h: Include <cthreads.h> instead of <lock-intern.h>.
4328 2000-07-07 Greg McGary <greg@mcgary.org>
4330 * sysdeps/unix/make-syscalls.sh: Tolerate syscalls that
4331 have no names without leading underscores.
4333 2000-07-07 Ulrich Drepper <drepper@redhat.com>
4335 * iconvdata/sjis.c (from_ucs4_lat1): Fix mappng of U005C and
4338 * stdio-common/Makefile (tests): Remove tst-printf here...
4339 (tests-srcs): ...and add it here.
4340 (distribute): Add tst-unbputc.sh and tst-printf.sh.
4341 Add rules to run tst-printf.sh.
4342 * stdio-common/tst-printf.c: Move code around so that there is really
4343 no further output where it's stated.
4344 * stdio-common/tst-printf.sh: New file.
4346 2000-07-07 Mark Kettenis <kettenis@gnu.org>
4348 * hurd/vpprintf.c [USE_IN_LIBIO]: Include <libioP.h>.
4349 (do_write): Renamed from pwrite.
4350 (vpprintf) [USE_IN_LIBIO]: Adjust for renaming and reshufling of
4351 `struct _IO_cookie_file'.
4353 2000-07-07 Ulrich Drepper <drepper@redhat.com>
4355 * malloc/mtrace.pl: Exit with exit code 1 if any leak was
4357 * malloc/tst-mtrace.sh: Run mtrace script.
4359 2000-07-07 Greg McGary <greg@mcgary.org>
4361 * posix/regex.c (EXTEND_BUFFER): Compute increment once.
4362 Move all three components of a bounded pointer.
4364 2000-07-07 Ulrich Drepper <drepper@redhat.com>
4366 * locale/programs/locale.c (write_locales): Don't simply add all
4367 directories found in the subdir, test whether at least the
4368 LC_CTYPE file is in there.
4370 2000-07-06 Ulrich Drepper <drepper@redhat.com>
4372 * iconvdata/euc-jp.c: Map characters in C1 area to itself.
4373 * iconvdata/euc-kr.c: Likewise.
4375 * stdio-common/vfprintf.c (process_string_arg): Check result of
4376 wcrtomb call and bail out if it failed.
4378 * malloc/Makefile (test-srcs): Add tst-mtrace.
4379 (distribute): Add tst-mtrace.sh.
4380 Add rule to run tst-mtrace.sh.
4381 * malloc/tst-mtrace.c: New file.
4382 * malloc/tst-mtrace.sh: New file.
4384 * include/signal.h: Declare __libc_sigaction.
4385 * sysdeps/unix/sysv/linux/Versions: Export __libc_sigaction.
4386 * sysdeps/unix/sysv/linux/sigaction.c: Add __libc_sigaction alias.
4387 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
4388 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
4389 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
4390 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
4391 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
4393 * configure.in: Fix CFLAGS-memprofstat.c definition after
4395 Patch by Bradford W. Johnson <bradford@math.umn.edu>.
4397 2000-07-06 Jakub Jelinek <jakub@redhat.com>
4399 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Pass 0
4400 instead of NULL to elf_machine_fixup_plt t argument.
4401 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
4402 * sysdeps/unix/sysv/linux/sparc/sparc32/mmap64.c (__mmap64): Add
4405 2000-07-06 Andreas Jaeger <aj@suse.de>
4407 * crypt/Makefile (LDLIBS-cert): Removed.
4408 (LDLIBS-md5c-test): Removed.
4409 ($(objpfx)cert): Renamed from cert.out to fix dependencies.
4410 ($(objpfx)md5c-test): Likewise for md5c-test.out.
4412 2000-07-06 Andreas Jaeger <aj@suse.de>
4414 * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path): The type
4415 of the proc system is "proc".
4417 * sysdeps/generic/libc-start.c (__libc_start_main): Initialize
4418 thread library for static programs.
4420 2000-07-06 Greg McGary <greg@mcgary.org>
4422 * sysdeps/generic/bp-checks.h (CHECK_SIGSET, CHECK_SIGSETopt):
4424 * sysdeps/generic/strcpy.c: Add bounds checks.
4425 * sysdeps/unix/fxstat.c: Likewise.
4426 * sysdeps/unix/xstat.c: Likewise.
4427 * sysdeps/unix/common/lxstat.c: Likewise.
4428 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
4429 * sysdeps/unix/sysv/linux/execve.c: Likewise.
4430 * sysdeps/unix/sysv/linux/fxstat.c: Likewise.
4431 * sysdeps/unix/sysv/linux/fxstat64.c: Likewise.
4432 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
4433 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
4434 * sysdeps/unix/sysv/linux/llseek.c: Likewise.
4435 * sysdeps/unix/sysv/linux/lxstat.c: Likewise.
4436 * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
4437 * sysdeps/unix/sysv/linux/poll.c: Likewise.
4438 * sysdeps/unix/sysv/linux/pread.c: Likewise.
4439 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
4440 * sysdeps/unix/sysv/linux/ptrace.c: Likewise.
4441 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
4442 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
4443 * sysdeps/unix/sysv/linux/readv.c: Likewise.
4444 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
4445 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
4446 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
4447 * sysdeps/unix/sysv/linux/sigqueue.c: Likewise.
4448 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
4449 * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
4450 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
4451 * sysdeps/unix/sysv/linux/sysctl.c: Likewise.
4452 * sysdeps/unix/sysv/linux/truncate64.c: Likewise.
4453 * sysdeps/unix/sysv/linux/ustat.c: Likewise.
4454 * sysdeps/unix/sysv/linux/writev.c: Likewise.
4455 * sysdeps/unix/sysv/linux/xmknod.c: Likewise.
4456 * sysdeps/unix/sysv/linux/xstat.c: Likewise.
4457 * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
4458 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
4459 * sysdeps/unix/sysv/linux/i386/brk.c: Likewise.
4460 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
4461 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
4462 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
4463 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
4464 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
4465 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Likewise.
4466 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
4467 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
4468 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
4469 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
4470 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
4471 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
4472 * sysdeps/unix/sysv/linux/ia64/fxstat.c: Likewise.
4473 * sysdeps/unix/sysv/linux/ia64/lxstat.c: Likewise.
4474 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
4475 * sysdeps/unix/sysv/linux/ia64/sigpending.c: Likewise.
4476 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c: Likewise.
4477 * sysdeps/unix/sysv/linux/ia64/sigsuspend.c: Likewise.
4478 * sysdeps/unix/sysv/linux/ia64/xstat.c: Likewise.
4479 * sysdeps/unix/sysv/linux/m68k/chown.c: Likewise.
4480 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
4481 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
4482 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
4483 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
4484 * sysdeps/unix/sysv/linux/mips/truncate64.c: Likewise.
4485 * sysdeps/unix/sysv/linux/mips/ustat.c: Likewise.
4486 * sysdeps/unix/sysv/linux/mips/xmknod.c: Likewise.
4487 * sysdeps/unix/sysv/linux/sparc/sparc32/mmap64.c: Likewise.
4488 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
4489 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Likewise.
4490 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Likewise.
4491 * sysdeps/unix/sysv/linux/sparc/sparc64/sigsuspend.c: Likewise.
4493 * string/endian.h (__LONG_LONG_PAIR): New macro.
4494 * sysdeps/unix/sysv/linux/ftruncate64.c: Use it.
4495 * sysdeps/unix/sysv/linux/pread.c: Likewise.
4496 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
4497 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
4498 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
4499 * sysdeps/unix/sysv/linux/truncate64.c: Likewise.
4500 * sysdeps/unix/sysv/linux/mips/ftruncate64.c: Likewise.
4501 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
4502 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
4503 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
4504 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
4505 * sysdeps/unix/sysv/linux/mips/truncate64.c: Likewise.
4507 * sysdeps/unix/sysv/linux/sys/ptrace.h (PT_SYSCALL): Fix LHS.
4509 2000-07-06 Andreas Jaeger <aj@suse.de>
4511 * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path):
4514 * math/test-fpucw.c: Include <stdio.h> for printf.
4516 2000-07-05 Greg McGary <greg@mcgary.org>
4518 * sysdeps/generic/bp-checks.h: New file.
4519 * sysdeps/generic/bp-thunks.h: Replace generic thunk definitions
4520 with list of #include files.
4521 * sysdeps/unix/make-syscalls.sh: Handle new arg signature
4522 keyletters a, b, B, f, n, N, P, v, V. Fixup some indentation.
4523 Don't generate BP thunk if `V' appears in signature.
4524 Generate thunks with complete bounds checks.
4525 * sysdeps/unix/syscalls.list: Refine signatures using new keyletters.
4526 * sysdeps/unix/inet/syscalls.list: Likewise.
4527 * sysdeps/unix/mman/syscalls.list: Likewise.
4528 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
4529 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
4530 * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
4531 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Likewise.
4533 2000-07-05 Ulrich Drepper <drepper@redhat.com>
4535 * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path): Cache
4536 result. Search first in /etc/mtab (proc/mounts would be stupid).
4537 If mount not in the file fall back on /proc.
4539 * crypt/md5-crypt.c (__md5_crypt_r): Clear arrays the key and salt
4540 string got copied in.
4541 Patch by Solar Designer <solar@false.com>.
4543 2000-07-05 Andreas Jaeger <aj@suse.de>
4545 * manual/install.texi (Installation): Update information about
4547 (Configuring and compiling): Update for glibc 2.2.
4549 2000-07-04 Andreas Jaeger <aj@suse.de>
4551 * sysdeps/i386/fpu_control.h (_FPU_DEFAULT): Correct value.
4552 (_FPU_IEEE): Likewise.
4554 * math/Makefile (tests): Add test-fpucw.
4556 * math/test-fpucw.c (main): New file.
4558 2000-07-05 Ulrich Drepper <drepper@redhat.com>
4560 * locale/loadlocale.c (_nl_unload_locale): Add cast to avoid warning.
4562 * locale/programs/ld-collate.c (collate_output): Also write out the
4563 collation sequence values and the wide character string for the
4564 collation symbol table.
4566 * posix/fnmatch.c: Include "../locale/elem-hash.h".
4567 * posix/fnmatch_loop.c: Implement collating symbol handling.
4568 * posix/tst-fnmatch.input: Add more tests, especially for collating
4571 * posix/regex.c: Fix comment.
4573 2000-07-05 Andreas Jaeger <aj@suse.de>
4575 * sysdeps/mips/fpu_control.h: Fix type of fpu_control_t.
4576 (_FPU_GETCW): Remove extra colon.
4577 Patch by Ralf Baechle <ralf@uni-koblenz.de>.
4579 * posix/fnmatch_loop.c (FCT): Only declare len if
4580 !WIDE_CHAR_VERSION to silence GCC.
4582 * sysdeps/generic/rawmemchr.c: Include <stdlib.h> for abort
4584 * sysdeps/generic/strchrnul.c: Likewise.
4585 * sysdeps/generic/strlen.c: Likewise.
4586 * sysdeps/generic/strchr.c: Likewise.
4587 * sysdeps/generic/memchr.c: Likewise.
4589 2000-07-04 Ulrich Drepper <drepper@redhat.com>
4591 * posix/fnmatch_loop.c: Implement equivalence class handling.
4592 * posix/tst-fnmatch.input: Add tests for equivalence class
4595 * posix/fnmatch_loop.c: Improve performance for single-byte
4596 character sets by not using btowc.
4598 * posix/tst-fnmatch.input: Add tests for locale dependent
4600 * posix/tst-fnmatch.c (main): Also set LC_CTYPE category.
4602 * posix/tst-fnmatch.input: Add more test cases.
4604 * crypt/md5-crypt.c (__md5_crypt_r): If buffers for key and salt
4605 are not aligned to alignof(md5_uint32) do it before calling
4606 __md5_process_bytes.
4607 * crypt/md5.c: Make sure buffers are aligned.
4608 * crypt/md5.h: Likewise.
4609 Reported by Solar Designer <solar@false.com>.
4611 * crypt/Makefile: Add dependencies for test programs.
4613 * Rules: Define LC_ALL=C in environments of all programs we run.
4615 * intl/tst-gettext.sh (LC_ALL): Define to C and export.
4617 2000-07-03 H.J. Lu <hjl@gnu.org>
4619 * locale/programs/ld-ctype.c (ctype_output): The size of iov
4620 is 2 + elem + offset, not 2 + elem + offset + 2.
4622 2000-07-04 Ulrich Drepper <drepper@redhat.com>
4624 * posix/fnmatch_loop.c: Fix two problems uncovered by the new test
4626 * posix/Makefile (tests): Add tst-fnmatch.
4627 (tst-fnmatch-ENV): Define.
4628 * posix/tst-fnmatch.c: New file.
4629 * posix/tst-fnmatch.sh: New file.
4631 2000-07-04 NIIBE Yutaka <gniibe@chroot.org>
4633 * locale/programs/charmap.c (charmap_read): Prepend
4634 the condition filename == NULL.
4636 2000-07-03 Greg McGary <greg@mcgary.org>
4638 * sysdeps/i386/bits/setjmp.h (PUSH_SIGNAL_MASK): Fix typo.
4640 * csu/Makefile (extra-objs, install-lib): Add BP objects conditionally.
4641 ($(objpfx)b$(start-installed-name)): Add non-elf rule.
4643 * libio/libio.h (_IO_FILE): Revert type of _chain to _IO_FILE*.
4644 * libio/libioP.h (_IO_ITER): Revert to type _IO_FILE*.
4645 (FILEBUF_LITERAL): Add cast for CHAIN init.
4646 * libio/genops.c (_IO_un_link, _IO_link_in, _IO_iter_begin): Add casts.
4647 (_IO_flush_all, _IO_flush_all_linebuffered, _IO_unbuffer_write):
4648 Revert type of `fp' to _IO_FILE*.
4649 (_IO_iter_file): Remove cast.
4650 (_IO_iter_next): Elide intermediate member reference.
4652 * sysdeps/powerpc/strchr.S: Check bounds.
4653 Wrap extern symbols in BP_SYM ().
4655 2000-07-03 Andreas Jaeger <aj@suse.de>
4657 * dlfcn/Makefile (generated): New.
4659 2000-07-03 Ulrich Drepper <drepper@redhat.com>
4661 * libio/genops.c (__overflow): Use _IO_fwide to orient the stream.
4662 (__uflow): Likewise.
4663 (__underflow): Likewise.
4664 * libio/wgenops.c (__wunderflow): Likewise.
4665 * stdio-common/tst-unbputc.c: New file.
4666 * stdio-common/tst-unbputc.sh: New file.
4667 * stdio-common/Makefile: Add rules to build and run tst-unbputc.
4669 * po/en_GB.po: New file.
4670 Contributed by Robert Brady <rwb197@ecs.soton.ac.uk>.
4672 2000-07-01 Andreas Jaeger <aj@suse.de>
4674 * intl/Makefile (generated-dirs): New.
4676 * elf/Makefile (generated): trusted-dirs.h is always generated,
4677 move out of build-shared condition.
4678 (generated): Merge the two entries for build-shared.
4680 2000-07-01 Ulrich Drepper <drepper@redhat.com>
4682 * debug/Makefile (distribute): Add xtrace.sh.
4684 2000-06-30 Ulrich Drepper <drepper@redhat.com>
4686 * version.h (VERSION): Bump to 2.1.91.
4688 * configure.in: Update warning comment. glibc should not be
4691 * sysdeps/unix/sysv/linux/ia64/Dist: Remove old content. Add
4692 ioperm.c, sys/procfs.h, and sys/io.h.
4694 * sysdeps/powerpc/Dist: Add bp-asm.h.
4696 * assert/Depend: Add localedata.
4697 * assert/Makefile (test-assert-ENV): New. Define LANGUAGE=C.
4698 (test-assert-perr-ENV): New. Define LANGUAGE=C.
4700 * sysdeps/alpha/dl-machine.h (elf_machine_rela) [r_type ==
4701 R_ALPHA_REFQUAD]: Use memcpy to load and store value from
4702 relocation address to prevent unaligned trap.
4703 Suggested by Richard Henderson <rth@cygnus.com>.
4705 2000-06-30 Jakub Jelinek <jakub@redhat.com>
4707 * io/sys/stat.h (stat64, lstat64, fstat64): Don't define inlines
4708 if redirecting and either redirection is done using defines or
4711 2000-06-30 Ulrich Drepper <drepper@redhat.com>
4713 * sunrpc/rpc_cout.c (inline_struct): Add missing parenthesis in
4714 generated expressions.
4715 Patch by Darren McClelland <dmcclell@zetec.com>.
4717 * timezone/Makefile (build-testdata): Set LANGUAGE and LC_ALL
4718 since zic uses setlocale and gettext but we cannot make it use the
4719 new locale data since zic calls a shell which might not use the
4722 * stdlib/strfmon.c: Move somewhat closer to the standard wrt to
4723 handling the internation currency symbol. POSIX says that the
4724 fourth character is used to separate the currency symbol from the
4725 value. Therefore it does not have to be printed. But we cannot
4726 remove the space if the currency symbol is printed before the
4727 number since this is what many locales expect.
4729 * iconv/gconv_trans.c: Test with _NL_CTYPE_TRANSLIT_DEFAULT_MISSING_LEN
4730 whether this information is available.
4732 * intl/dcigettext.c (_nl_find_msg): Correct reallocation of
4733 buffers in case the translation is too large. Remember allocated
4734 memory blocks in a list.
4735 (free_mem): Free memory for translations.
4737 * intl/tst-gettext.c: Use correct locale. Improve error messages.
4739 * locale/programs/ld-ctype.c (ctype_output): If no default_missing
4740 information is available set the string length to zero.
4742 * sysdeps/i386/i686/strcmp.S: Little optimization in non-BP case.
4744 2000-06-30 Greg McGary <greg@mcgary.org>
4746 * sysdeps/powerpc/bp-asm.h: New file.
4747 * sysdeps/powerpc/__longjmp.S: Check bounds.
4748 Wrap extern symbols in BP_SYM ().
4749 * sysdeps/powerpc/bsd-_setjmp.S: Likewise.
4750 * sysdeps/powerpc/bsd-setjmp.S: Likewise.
4751 * sysdeps/powerpc/setjmp.S: Likewise.
4752 * sysdeps/powerpc/add_n.S: Likewise.
4753 * sysdeps/powerpc/addmul_1.S: Likewise.
4754 * sysdeps/powerpc/lshift.S: Likewise.
4755 * sysdeps/powerpc/rshift.S: Likewise.
4756 * sysdeps/powerpc/mul_1.S: Likewise.
4757 * sysdeps/powerpc/sub_n.S: Likewise.
4758 * sysdeps/powerpc/submul_1.S: Likewise.
4759 * sysdeps/powerpc/strlen.S: Likewise.
4760 * sysdeps/powerpc/memset.S: Likewise.
4761 * sysdeps/powerpc/stpcpy.S: Likewise.
4762 * sysdeps/powerpc/strcmp.S: Likewise.
4763 * sysdeps/powerpc/strcpy.S: Likewise.
4764 * sysdeps/powerpc/elf/bzero.S: Likewise.
4766 * sysdeps/powerpc/stpcpy.S: Define & use symbolic register names.
4767 Line up operands column with tabs.
4769 2000-06-30 Ulrich Drepper <drepper@redhat.com>
4771 * elf/Makefile (LDFLAGS-origtest): Actually add it.
4773 * sysdeps/ia64/htonl.S: New file.
4774 * sysdeps/ia64/htons.S: New file.
4775 * sysdeps/ia64/memcpy.S: Replace with version which does not use
4776 floating point registers.
4777 Patches by Dan Pop <Dan.Pop@cern.ch>.
4779 2000-06-30 Andreas Jaeger <aj@suse.de>
4781 * posix/Makefile (tests): tst-exec and tst-spawn only work with
4784 * io/Makefile (CFLAGS-test-lfs.c): New.
4785 (tests): Add test-lfs.
4787 * io/test-lfs.c: New file.
4789 2000-06-30 Jakub Jelinek <jakub@redhat.com>
4791 * sysdeps/i386/bits/string.h (strcmp): Use 8bit register in 8bit
4794 2000-06-29 David Mosberger-Tang <davidm@hpl.hp.com>
4796 * sysdeps/unix/sysv/linux/ia64/ioperm.c: New file.
4798 2000-06-29 Jes Sorensen <jes@linuxcare.com>
4800 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add __fstatfs64
4801 alias to the fstatfs call.
4803 * sysdeps/unix/sysv/linux/ia64/getrlimit64.c: New file.
4804 * sysdeps/unix/sysv/linux/ia64/setrlimit64.c: New file.
4806 * sysdeps/unix/sysv/linux/ia64/ftruncate64.c: New file.
4807 * sysdeps/unix/sysv/linux/ia64/truncate64.c: New file.
4809 * sysdeps/unix/sysv/linux/ia64/readdir.c: New file.
4810 * sysdeps/unix/sysv/linux/ia64/readdir_r.c: New file.
4811 * sysdeps/unix/sysv/linux/ia64/readdir64.c: New file.
4812 * sysdeps/unix/sysv/linux/ia64/readdir64_r.c: New file.
4814 * sysdeps/unix/sysv/linux/ia64/glob.c: New file.
4815 * sysdeps/unix/sysv/linux/ia64/glob64.c: New file.
4817 * sysdeps/unix/sysv/linux/ia64/fstatfs64.c: New file.
4818 * sysdeps/unix/sysv/linux/ia64/statfs64.c: New file.
4820 * sysdeps/unix/sysv/linux/ia64/pread64.c: New file.
4821 * sysdeps/unix/sysv/linux/ia64/pwrite64.c: New file.
4823 * sysdeps/unix/sysv/linux/ia64/shmctl.c: New file.
4825 2000-06-29 Andreas Jaeger <aj@suse.de>
4827 * sunrpc/rpc_svcout.c (write_msg_out): Always use format string
4829 (print_err_message): Likewise.
4830 Reported by Chris Evans <chris@ferret.lmh.ox.ac.uk>.
4832 2000-06-29 Ulrich Drepper <drepper@redhat.com>
4834 * locale/loadlocale.c (_nl_load_locale): Make sure all locale data
4835 used as words is properly aligned.
4837 * locale/programs/ld-ctype.c (ctype_output): Don't generate unaligned
4840 2000-06-29 Greg McGary <greg@mcgary.org>
4842 * sysdeps/generic/libc-start.c (__libc_stack_end): Chop __unbounded.
4843 * sysdeps/unix/make-syscalls.sh: Handle signatures of
4844 length 7..9, just in case...
4845 * misc/sys/cdefs.h (__ptrvalue): Define as nothing for non-BP.
4847 * sysdeps/i386/bp-asm.h (PCOFF): New constant.
4848 (POP_ERRNO_LOCATION_RETURN): Fold insns.
4849 * sysdeps/i386/bits/setjmp.h (JB_SIZE): New constant.
4850 (PUSH_SIGNAL_MASK): New macro.
4851 * sysdeps/i386/__longjmp.S (__longjmp): Wrap symbol in BP_SYM ().
4852 LEAVE is unnecessary. Check bounds of jmp_buf.
4853 * sysdeps/i386/elf/setjmp.S: Call PUSH_SIGNAL_MASK. Wrap symbols
4854 in BP_SYM (). Check bounds of jmp_buf. Don't call LEAVE until
4855 immediately before tail-call.
4856 * sysdeps/i386/setjmp.S: Likewise.
4857 * sysdeps/i386/bsd-_setjmp.S: Likewise.
4858 * sysdeps/i386/bsd-setjmp.S: Likewise.
4860 2000-06-29 Jakub Jelinek <jakub@redhat.com>
4862 * sysdeps/sparc/fpu/fclrexcpt.c: Use SHLIB_COMPAT, compat_symbol and
4864 * sysdeps/sparc/fpu/fesetenv.c: Likewise.
4865 * sysdeps/sparc/fpu/feupdateenv.c: Likewise.
4866 * sysdeps/sparc/fpu/fgetexcptflg.c: Likewise.
4867 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
4868 * sysdeps/sparc/fpu/fsetexcptflg.c: Likewise.
4869 * sysdeps/sparc/fpu/fegetenv.c: Likewise.
4870 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions: New file.
4871 * shlib-versions: Make sparc64 GLIBC_2.2+ only.
4873 2000-06-29 Ulrich Drepper <drepper@redhat.com>
4875 * stdio-common/printf_fp.c (__printf_fp): Don't clobber pointer which
4876 we later need to calling free().
4877 Patch by Matt Wilson <msw@redhat.com>.
4879 * stdio-common/tst-printf.c: Add test for above problem.
4881 2000-06-27 David Mosberger-Tang <davidm@hpl.hp.com>
4883 * sysdeps/unix/sysv/linux/ia64/bits/ipc.h: New file.
4884 * sysdeps/unix/sysv/linux/ia64/bits/shm.h: New file.
4886 2000-06-28 Jes Sorensen <jes@linuxcare.com>
4888 * sysdeps/ieee754/dbl-64/s_exp2.c: Add include stdlib.h to get
4889 prototype for abs().
4890 * sysdeps/ieee754/flt-32/s_exp2f.c: ditto.
4892 2000-06-23 Andreas Jaeger <aj@suse.de>
4894 * config.h.in: Don't use regparm with bounded pointers.
4896 2000-06-29 Ulrich Drepper <drepper@redhat.com>
4898 * stdlib/grouping.h: Correctly handle multibyte thousands
4899 separator and decimal point.
4900 * stdlib/stdtod.c: Likewise.
4901 * sysdeps/generic/strtol.c: Likewise.
4903 * locale/categories.def: Add entries for wide character decimal point
4904 and thousands separator in numeric and monetary category.
4906 2000-06-28 Ulrich Drepper <drepper@redhat.com>
4908 * stdio-common/printf_fp.c (__printf_fp): Remove unnecessary
4909 second definition and initialization of decimal.
4911 2000-06-28 Greg McGary <greg@mcgary.org>
4913 * libio/libio.h (struct _IO_cookie_file): Move struct type defintion
4915 (_IO_FILE): Declare chain as (struct _IO_FILE_plus *).
4916 * libio/libioP.h (struct _IO_cookie_file): Move struct type defintion
4918 (_IO_JUMPS): Don't cast THIS--expect arg to be a
4919 (struct _IO_FILE_plus *).
4920 (_IO_JUMPS_FUNC): Express in terms of _IO_JUMPS, and add cast to
4921 THIS, since _IO_JUMPS no longer does it implicitly.
4922 (_IO_file_init, _IO_old_file_init, _IO_new_file_init): Declare
4923 arg type as (struct _IO_FILE_plus *).
4924 (_IO_str_init_static, _IO_str_init_readonly): Declare 1st
4925 arg as (_IO_strfile *).
4926 * libio/strops.c (_IO_str_init_static, _IO_str_init_readonly):
4927 Declare 1st arg as (_IO_strfile *).
4928 * libio/fileops.c (_IO_new_file_init): Declare
4929 arg type as (struct _IO_FILE_plus *).
4930 * libio/oldfileops.c (_IO_old_file_init): Likewise.
4931 * libio/genops.c (_IO_link_in, _IO_un_link): Likewise.
4932 (_IO_flush_all, _IO_flush_all_linebuffered, _IO_unbuffer_write):
4933 Declare iteration pointer as (struct _IO_FILE_plus *).
4934 (_IO_iter_next, _IO_iter_file): _IO_ITER is now
4935 (struct _IO_FILE_plus *).
4936 * libio/stdfiles.c (_IO_list_all): Declare as (struct _IO_FILE_plus *).
4937 * libio/oldstdfiles.c (_IO_list_all): Likewise.
4938 (_IO_check_libio): Set user-visible handles to
4939 (struct _IO_FILE_plus *).
4940 * libio/stdio.c (stdin, stdout, stderr): Set user-visible handles
4941 to (struct _IO_FILE_plus *).
4943 * libio/iofdopen.c (_IO_new_fdopen): Pass FILE handle pointer
4944 whose high bound includes vtable to all functions that will use
4945 vtable. For streambufs, pass pointer whose bounds include struct
4947 * libio/wgenops.c (_IO_wdefault_finish): Likewise.
4948 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
4949 * libio/iofopen.c (_IO_new_fopen): Likewise.
4950 * libio/oldiofopen.c (_IO_old_fopen): Likewise.
4951 * libio/iofopen64.c (_IO_fopen64): Likewise.
4952 * libio/iopopen.c (_IO_new_popen): Likewise.
4953 * libio/oldiopopen.c (_IO_old_popen): Likewise.
4954 * libio/memstream.c (open_memstream): Likewise.
4955 * libio/iovsscanf.c (_IO_vsscanf): Likewise.
4956 * libio/iovsprintf.c (_IO_vsprintf): Likewise.
4957 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
4958 * libio/iofopncook.c (_IO_cookie_init): Likewise.
4959 * libio/obprintf.c (_IO_obstack_vprintf): Likewise.
4960 * libio/vasprintf.c (_IO_vasprintf): Likewise.
4961 * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
4962 * libio/stdfiles.c (_IO_stdout_, _IO_stderr_): Likewise.
4963 * libio/oldstdfiles.c (_IO_stdout_, _IO_stderr_): Likewise.
4964 * stdlib/strfmon.c (__strfmon_l): Likewise.
4965 * stdio-common/vfprintf.c (buffered_vfprintf): Likewise.
4966 (vfprintf): Qualify computed-goto targets as unbounded.
4968 2000-06-28 Ulrich Drepper <drepper@redhat.com>
4970 * stdio-common/vfscanf.c: Finally handle multibyte decimal point and
4971 thousands separator correctly.
4973 * stdio-common/vfscanf.c: Use COMPILE_WSCANF not COMPILE_WPRINTF.
4974 * stdio-common/vfwscanf.c: Likewise.
4976 2000-06-27 Jes Sorensen <jes@linuxcare.com>
4978 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Change argument
4979 count into signatures for most calls.
4981 2000-06-28 Ulrich Drepper <drepper@redhat.com>
4983 * sysdeps/unix/sysv/linux/ia64/getsysstats.c: Removed. We can use
4984 the generic parser now.
4986 2000-06-28 Jes Sorensen <jes@linuxcare.com>
4988 * sysdeps/unix/sysv/linux/ia64/bits/elfclass.h: Deleted. Hash
4989 table entries are 32 bit on the ia64 (as specified by the ABI),
4990 not 64 bit as on the Alpha.
4992 * shlib-versions: Bump ia64 soname to ld-linux-ia64.so.2 to mark
4993 change of objects to use 32 bit hash table indices (see above).
4995 2000-06-28 Jes Sorensen <jes@linuxcare.com>
4997 * sysdeps/ieee754/dbl-64/e_exp.c: Add include stdlib.h to get
4998 prototype for abs().
5000 2000-06-28 Wolfram Gloger <wg@malloc.de>
5002 * malloc/malloc.c (chunk_alloc): If extension of the linear heap
5003 fails, try mmap_chunk() as a last resort even though n_mmaps_max
5004 may have been reached.
5006 2000-06-28 Ulrich Drepper <drepper@redhat.com>
5008 * locale/programs/ld-collate.c (insert_weights): Handle <Uxxxx>
5009 symbols in multi-character weights correctly.
5011 * wcsmbs/mbrtowc.c: Set flush to 1 for conversion function calls
5012 depending on whether the input string is empty or not.
5014 * wcsmbs/mbrtowc.c: Calling function without input means clearing the
5015 given state and not avoiding this by modifying a local object.
5016 * wcsmbs/wcrtomb.c: Likewise.
5018 * iconv/skeleton.c: If no EMIT_SHIFT_TO_INIT is defined clear state
5019 object since some incomplete characters might be in there.
5021 * iconvdata/euc-jp.c: In conversion to UCS4, handling invalid
5022 sequences with first byte 0x8e correctly.
5024 * iconvdata/jis0208.h: Remove redundant test.
5026 2000-06-27 Ulrich Drepper <drepper@redhat.com>
5028 * sysdeps/generic/initfini.c (SECTION): Remove trailing semicolon.
5029 Add it where it is needed now.
5031 * locale/programs/ld-ctype.c (ctype_finish): Take all characters from
5032 the input charset into account when generating the hash table.
5033 (allocate_arrays): Correct setting default width. Not all empty slots
5034 in the table are filled, only those not covert explicitly by the
5035 locale description and in the charset.
5037 * wctype/towctrans.c (__towctrans): Be graceful and accept error
5038 return values from the wctrans function.
5040 * stdio-common/vfscanf.c: Make sure to always return WEOF and EOF for
5041 wide character version.
5042 For %C handling, test correct pointer variable for NULL.
5044 * wcsmbs/wctob.c: Handle WEOF special.
5046 * wcsmbs/wcwidth.h: 0xff in width array means invalid character.
5048 * wctype/wctype.h: Protect gcc-isms with __extension__. Avoid
5049 always-true test to avoid warning.
5051 2000-06-27 Greg McGary <greg@mcgary.org>
5053 * elf/dl-open.c (_dl_sysdep_start): Wrap weak_extern decl in BP_SYM ().
5054 * include/libc-symbols.h (weak_extern): Add extra level of expansion.
5055 (symbol_version, default_symbol_version): Factor redundant
5056 definitions out of conditional.
5058 2000-06-27 Jakub Jelinek <jakub@redhat.com>
5060 * libio/obprintf.c (_IO_obstack_vprintf): Call obstack_make_room,
5063 2000-06-26 Ulrich Drepper <drepper@redhat.com>
5065 * include/libc-symbols.h (symbol_version): Add extra level of
5067 (default_symbol_version): Likewise.
5069 2000-06-26 Greg McGary <greg@mcgary.org>
5071 * sysdeps/unix/i386/sysdep.S (syscall_error): Push & pop space
5072 for BP return value & push implicit struct-return pointer to
5074 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
5075 (SYSCALL_ERROR_HANDLER): Likewise.
5076 * sysdeps/unix/sysv/linux/i386/i686/sysdep.h
5077 (SYSCALL_ERROR_HANDLER): Likewise.
5079 * Makeconfig: Add missing comment.
5080 * csu/Makefile (extra-objs, omit-deps, install-lib): Add
5081 BP-flavored startup object.
5082 ($(objpfx)b$(start-installed-name)): New rule.
5083 * include/libc-symbols.h (symbol_set_declare): Change type
5084 of `__start_##set' and `__stop_##set' to pointer-to-function.
5085 (symbol_set_declare): Change type of `set' to array of
5086 pointer-to-function.
5087 * include/set-hooks.h (RUN_HOOK): Change type of `ptr' to
5088 pointer-to-function.
5090 * string/bits/string2.h: Inhibit inlines if __BOUNDED_POINTERS__.
5092 * sysdeps/unix/sysv/linux/syscalls.list: Add missing signatures.
5093 Remove clock_* and timer_* entries.
5094 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Replace
5095 arg-count with signatures.
5097 * sysdeps/i386/add_n.S: Wrap entry-point symbol in BP_SYM ().
5098 Check bounds of arguments.
5099 * sysdeps/i386/addmul_1.S: Likewise.
5100 * sysdeps/i386/lshift.S: Likewise.
5101 * sysdeps/i386/mul_1.S: Likewise.
5102 * sysdeps/i386/rshift.S: Likewise.
5103 * sysdeps/i386/sub_n.S: Likewise.
5104 * sysdeps/i386/submul_1.S: Likewise.
5105 * sysdeps/i386/i586/add_n.S: Likewise.
5106 * sysdeps/i386/i586/addmul_1.S: Likewise.
5107 * sysdeps/i386/i586/lshift.S: Likewise.
5108 * sysdeps/i386/i586/rshift.S: Likewise.
5109 * sysdeps/i386/i586/sub_n.S: Likewise.
5110 * sysdeps/i386/i686/add_n.S: Likewise.
5112 * sysdeps/i386/memchr.S: Likewise.
5113 * sysdeps/i386/memcmp.S: Likewise.
5114 * sysdeps/i386/rawmemchr.S: Likewise.
5115 * sysdeps/i386/i586/bzero.S: Likewise.
5116 * sysdeps/i386/i586/memcpy.S: Likewise.
5117 * sysdeps/i386/i586/mempcpy.S: Likewise.
5118 * sysdeps/i386/i586/memset.S: Likewise.
5119 * sysdeps/i386/i686/bzero.S: Likewise.
5120 * sysdeps/i386/i686/memcpy.S: Likewise.
5121 * sysdeps/i386/i686/mempcpy.S: Likewise.
5122 * sysdeps/i386/i686/memset.S: Likewise.
5124 * sysdeps/i386/stpcpy.S: Likewise.
5125 * sysdeps/i386/stpncpy.S: Likewise.
5126 * sysdeps/i386/strchr.S: Likewise.
5127 * sysdeps/i386/strchrnul.S: Likewise.
5128 * sysdeps/i386/strcspn.S: Likewise.
5129 * sysdeps/i386/strpbrk.S: Likewise.
5130 * sysdeps/i386/strrchr.S: Likewise.
5131 * sysdeps/i386/strspn.S: Likewise.
5132 * sysdeps/i386/strtok.S: Likewise.
5133 * sysdeps/i386/strtok_r.S: Likewise.
5134 * sysdeps/i386/i486/strcat.S: Likewise.
5135 * sysdeps/i386/i486/strlen.S: Likewise.
5136 * sysdeps/i386/i586/strchr.S: Likewise.
5137 * sysdeps/i386/i586/strcpy.S: Likewise.
5138 * sysdeps/i386/i586/strlen.S: Likewise.
5139 * sysdeps/i386/i686/strcmp.S: Likewise.
5140 * sysdeps/i386/i686/strtok.S: Likewise.
5141 * sysdeps/i386/i686/strtok_r.S: Likewise.
5143 * sysdeps/i386/fpu/fegetenv.c: Wrap symbol names with BP_SYM ().
5144 * sysdeps/i386/fpu/fesetenv.c: Likewise.
5145 * sysdeps/i386/fpu/feupdateenv.c: Likewise.
5146 * sysdeps/i386/fpu/fgetexcptflg.c: Likewise.
5147 * sysdeps/i386/fpu/fsetexcptflg.c: Likewise.
5149 * sysdeps/i386/addmul_1.S: Exchange roles of %ebp and %ebx.
5150 * sysdeps/i386/mul_1.S: Likewise.
5151 * sysdeps/i386/submul_1.S: Likewise.
5152 * sysdeps/i386/i586/add_n.S: Likewise.
5153 * sysdeps/i386/i586/addmul_1.S: Likewise.
5154 * sysdeps/i386/i586/lshift.S: Likewise.
5155 * sysdeps/i386/i586/mul_1.S: Likewise.
5156 * sysdeps/i386/i586/rshift.S: Likewise.
5157 * sysdeps/i386/i586/sub_n.S: Likewise.
5158 * sysdeps/i386/i586/submul_1.S: Likewise.
5160 2000-06-26 Ulrich Drepper <drepper@redhat.com>
5162 * rt/Makefile (librt-routines): Add clock_nanosleep.
5163 * rt/Versions [GLIBC_2.2] (librt): Add clock_nanosleep.
5164 * sysdeps/generic/clock_nanosleep.c: New file.
5165 * sysdeps/unix/clock_nanosleep.c: New file.
5166 * sysdeps/unix/i386/i586/clock_nanosleep.c: New file.
5167 * time/time.h: Declare clock_nanosleep.
5169 2000-06-26 Greg McGary <greg@mcgary.org>
5171 * sysdeps/i386/asm-syntax.h (R, MEM, MEM_DISP, MEM_INDEX,
5172 INSN1, INSN2, TEXT, GLOBL): Remove macros.
5173 (ALIGN): Cleanup surrounding conditionals.
5175 * sysdeps/i386/addmul_1.S: Replace asm-syntax macros with gas syntax.
5176 Call ENTER/LEAVE macros.
5177 * sysdeps/i386/mul_1.S: Replace asm-syntax macros with gas syntax.
5178 * sysdeps/i386/submul_1.S: Likewise.
5180 * sysdeps/i386/i586/addmul_1.S: Replace asm-syntax macros with gas
5181 syntax. Define & use symbolic argument stack offsets. Call
5183 * sysdeps/i386/i586/mul_1.S: Likewise.
5184 * sysdeps/i386/i586/submul_1.S: Likewise.
5186 2000-06-25 Greg McGary <greg@mcgary.org>
5188 * sysdeps/i386/i586/memcpy.S: Redefine memcpy as mempcpy,
5191 2000-06-25 Ulrich Drepper <drepper@redhat.com>
5193 * iconvdata/gen-8bit-gap-1.sh: Update for new charmap format.
5194 * iconvdata/gen-8bit-gap.sh: Likewise.
5195 * iconvdata/gen-8bit.sh: Likewise.
5197 * iconv/gconv_open.c (__gconv_open): Move comment to correct position.
5199 * locale/programs/ld-collate.c (collate_read): Don't actually read
5200 the copy locale if we are ignoring the content.
5202 * locale/programs/ld-address.c (INT_STR_ELEM): Correct test for
5205 * locale/programs/ld-collate.c: Correct handling of different
5207 * locale/programs/localedef.c (add_to_readlist): Take locale pointer
5208 as extra parameter from which to copy category information.
5210 (load_locale): Likewise.
5211 * locale/programs/localedef.h: Update prototypes of add_to_readlist
5213 * locale/programs/ld-ctype.c: Update call to add_to_readlist.
5214 * locale/programs/locfile.h: Likewise.
5215 * locale/programs/locfile-kw.gperf: Add entry for script.
5216 * locale/programs/locfile-token.h: Add tok_script.
5218 * locale/programs/locale.c: Update copyright year.
5219 * locale/programs/localedef.c: Likewise.
5221 2000-06-23 Thorsten Kukuk <kukuk@suse.de>
5223 * sunrpc/xdr_rec.c (set_input_fragment): Fix PR libc/1549, patch from
5224 Jens Moeller <jens.moeller@waii.com>.
5226 2000-06-24 Ulrich Drepper <drepper@redhat.com>
5228 * locale/programs/ld-name.c (name_finish): Add missing format
5229 specifier to test for name_fmt.
5231 * locale/programs/ld-address.c (iso639): Correct length of string
5233 (iso3166): Likewise.
5235 * sysdeps/unix/sysv/linux/i386/sys/elf.h (elf_fpxregset_t): Define.
5237 * sysdeps/unix/sysv/linux/i386/sys/user.h (struct user_fpxregs_struct):
5240 * elf/elf.h (NT_PRFPXREG): Define.
5242 2000-06-23 Ulrich Drepper <drepper@redhat.com>
5244 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_request): Define
5245 PTRACE_GETFPXREGS and PTRACE_SETFPXREGS.
5247 2000-06-23 Andreas Schwab <schwab@suse.de>
5249 * sysdeps/unix/sysv/linux/m68k/syscalls.list: Replace arg-count
5252 2000-06-23 Andreas Jaeger <aj@suse.de>
5254 * iconv/gconv_int.h (norm_add_slashes): Protect suffix expansion.
5256 * io/test-stat.c: Add copyright header, mention Maciej.
5258 * sysdeps/unix/sysv/linux/mips/sys/syscall.h (SYS_pivot_root,
5259 SYS_mincore, SYS_madvise): Added.
5261 * sysdeps/unix/sysv/linux/mips/syscalls.list: Fix signature of
5264 2000-06-22 Ulrich Drepper <drepper@redhat.com>
5266 * libio/Makefile (tests): Add tst-getwc and tst_putwc.
5267 (CFLAGS-tst_putwc.c): New definition.
5268 * libio/tst_getwc.c: New file.
5269 * libio/tst_getwc.input: New file.
5270 * libio/tst_putwc.c: New file.
5272 * include/string.h: Add prototype for __strdup.
5274 2000-06-22 Greg McGary <greg@mcgary.org>
5276 * sysdeps/unix/syscalls.list (sys_mknod): Fix signatures.
5277 * sysdeps/unix/inet/syscalls.list (accept, getpeername, getsockname):
5280 2000-06-23 Jes Sorensen <jes@linuxcare.com>
5282 * sysdeps/ia64/memcpy.S: Disable branch predict instruction.
5284 2000-06-22 Jes Sorensen <jes@linuxcare.com>
5286 * sysdeps/unix/sysv/linux/ia64/bits/statfs.h: New file.
5288 2000-06-22 Jes Sorensen <jes@linuxcare.com>
5290 * shlib-versions: Bump so versions to 6.1 for libc and libm on the
5291 ia64 to allow 2.2+ libraries to coexist with 2.1 ones.
5293 2000-06-22 Ulrich Drepper <drepper@redhat.com>
5295 * io/sys/stat.h: Define S_TYPEISMQ, S_TYPEISSEM, and S_TYPEISSHM.
5296 * sysdeps/generic/bits/stat.h: Define __S_TYPEISMQ, __S_TYPEISSEM,
5298 * sysdeps/mach/hurd/bits/stat.h: Likewise.
5299 * sysdeps/unix/bsd/bits/stat.h: Likewise.
5300 * sysdeps/unix/bsd/osf/alpha/bits/stat.h: Likewise.
5301 * sysdeps/unix/sysv/bits/stat.h: Likewise.
5302 * sysdeps/unix/sysv/irix4/bits/stat.h: Likewise.
5303 * sysdeps/unix/sysv/hpux/bits/stat.h: Likewise.
5304 * sysdeps/unix/sysv/linux/alpha/bits/stat.h: Likewise.
5305 * sysdeps/unix/sysv/linux/ia64/bits/stat.h: Likewise.
5306 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
5307 * sysdeps/unix/sysv/linux/mips/bits/stat.h: Likewise.
5308 * sysdeps/unix/sysv/sysv4/i386/bits/stat.h: Likewise.
5309 * sysdeps/unix/sysv/sysv4/solaris2/bits/stat.h: Likewise.
5310 * sysdeps/unix/sysv/aix/bits/stat.h: Likewise.
5311 * manual/filesys.texi: Document S_TYPEISMQ, S_TYPEISSEM, and
5314 2000-06-22 Andreas Jaeger <aj@suse.de>
5316 * sysdeps/unix/sysv/linux/mips/syscalls.list: Replace arg-count
5319 * elf/dl-reloc.c (_dl_relocate_object): Fix typos.
5321 * sysdeps/unix/sysv/linux/mips/syscalls.list: Fix sysctl entry.
5323 2000-06-21 Ulrich Drepper <drepper@redhat.com>
5325 * iconv/gconv_trans.c: Move initialization of winbuf and winbufend
5328 2000-06-21 Greg McGary <greg@mcgary.org>
5330 * Makerules (elide-routines.*, elide-bp-thunks):
5331 Define unconditionally.
5333 2000-06-21 Jes Sorensen <jes@linuxcare.com>
5335 * sysdeps/unix/sysv/linux/ia64/Makefile: New file.
5337 2000-06-21 Andreas Jaeger <aj@suse.de>
5339 * io/Makefile (tests): Add test-stat.
5340 (CFLAGS-test-stat.c): New.
5342 * io/test-stat.c: New file from Maciej W. Rozycki
5343 <macro@ds2.pg.gda.pl>.
5345 2000-06-21 Jes Sorensen <jes@linuxcare.com>
5347 * sysdeps/unix/sysv/linux/ia64/bits/resource.h: Reorder elements
5348 in __rlimit_resource to make them match the kernel order.
5349 rlim_t is always 64 bit, use __rlim64_t to declare it
5352 2000-05-04 Jes Sorensen <jes@linuxcare.com>
5354 * sysdeps/unix/sysv/linux/ia64/bits/resource.h: Undef
5355 RLIM_INFINITY before defining it to avoid clash with kernel header
5357 2000-05-03 Jes Sorensen <jes@linuxcare.com>
5359 * sysdeps/unix/sysv/linux/ia64/bits/resource.h: New file.
5361 2000-06-21 Ulrich Drepper <drepper@redhat.com>
5363 * sysdeps/unix/sysv/linux/ia64/Versions: New file.
5365 2000-06-21 Andreas Jaeger <aj@suse.de>
5367 * stdio-common/temptest.c: Include <stdlib.h>.
5368 * stdio-common/tst-fileno.c: Likewise.
5369 * stdio-common/scanf4.c: Likewise.
5370 * stdio-common/scanf5.c: Likewise.
5371 * time/clocktest.c: Likewise.
5372 * posix/test-vfork.c: Likewise.
5373 * posix/globtest.c: Likewise.
5374 * io/test-utime.c: Likewise.
5375 * wctype/test_wcfuncs.c: Likewise.
5376 * crypt/cert.c: Likewise.
5378 * stdio-common/tst-printfsz.c: Include <string.h>.
5379 * libio/tst_swscanf.c: Likewise.
5380 * libio/tst_wscanf.c: Likewise.
5381 * posix/runtests.c: Likewise.
5382 * posix/tst-getaddrinfo.c: Likewise.
5383 * posix/wordexp-test.c: Likewise.
5384 * misc/tst-efgcvt.c: Likewise.
5386 * stdlib/tst-xpg-basename.c: Include <stdlib.h> and <string.h>.
5387 * nss/test-netdb.c: Likewise.
5389 * sysdeps/unix/sysv/linux/configure.in: Add check for minimal
5390 supported kernel for MIPS.
5392 * elf/vismod2.c: Include <stdlib.h> for abort prototype.
5393 * rt/aio_suspend.c: Likewise.
5395 2000-06-20 Ulrich Drepper <drepper@redhat.com>
5397 * math/libm-test.inc: Include <string.h>.
5399 2000-06-20 Jes Sorensen <jes@linuxcare.com>
5401 * sysdeps/unix/sysv/linux/ia64/syscalls.list: New file.
5403 2000-06-20 Jes Sorensen <jes@linuxcare.com>
5405 * sysdeps/unix/sysv/linux/ia64/machine-gmon.h: New file.
5406 * sysdeps/unix/sysv/linux/ia64/profil-counter.h: New file.
5408 2000-06-20 David Mosberger-Tang <davidm@hpl.hp.com>
5410 * sysdeps/unix/sysv/linux/ia64/getpagesize.c: New file.
5412 2000-06-20 Jes Sorensen <jes@linuxcare.com>
5414 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Fix typo.
5416 2000-06-20 Ulrich Drepper <drepper@redhat.com>
5418 * locale/programs/ld-collate.c (insert_value): Now take string and
5419 length instead of struct token* parameter. Adjust use of token.
5420 (handle_ellipsis): Likewise.
5421 (collate_read): Allow <Uxxxx> names and transform them into names
5422 to be passed to insert_value and handle_ellipsis.
5424 * locale/programs/ld-ctype.c (uninames): New array with names of
5425 digits in <Uxxxxxxxx> format.
5426 (ctype_finish): Correct search for space character value. Likewise
5427 for default outdigits values.
5429 2000-06-20 Greg McGary <greg@mcgary.org>
5431 * Makerules (objects): Add BP thunks.
5433 2000-06-20 Ulrich Drepper <drepper@redhat.com>
5435 * locale/programs/charmap.c (parse_charmap): Handle UCS names also
5436 in width definitions.
5438 2000-06-20 Andreas Jaeger <aj@suse.de>
5440 * sysdeps/mips/fpu/libm-test-ulps: New file.
5442 * sysdeps/mips/fpu/fesetenv.c (__fesetenv): Flush fpu pipeline
5445 * sysdeps/mips/fpu/feholdexcpt.c: New file.
5447 * sysdeps/mips/fpu/fraiseexcpt.c: New file.
5449 2000-06-19 Ulrich Drepper <drepper@redhat.com>
5451 * iconv/gconv_builtin.c (BUILTIN_TRANSFORMATION): Update for
5452 change in gconv_builtin.h.
5454 * malloc/Makefile: Change all references to memprof into memusage.
5455 * malloc/memprof.c: Rename to...
5456 * malloc/memusage.c: ...this. New file.
5457 * malloc/memprof.sh: Rename to...
5458 * malloc/memusage.sh: ...this. New file.
5459 * malloc/memprofstat.c: Rename to...
5460 * malloc/memusagestat.c: ...this. New file.
5461 * sysdeps/alpha/memprof.h: Rename to..
5462 * sysdeps/alpha/memusage.h: ...this. New file.
5463 * sysdeps/arm/memprof.h: Rename to..
5464 * sysdeps/arm/memusage.h: ...this. New file.
5465 * sysdeps/generic/memprof.h: Rename to..
5466 * sysdeps/generic/memusage.h: ...this. New file.
5467 * sysdeps/i386/memprof.h: Rename to..
5468 * sysdeps/i386/memusage.h: ...this. New file.
5469 * sysdeps/ia64/memprof.h: Rename to..
5470 * sysdeps/ia64/memusage.h: ...this. New file.
5471 * sysdeps/m68k/memprof.h: Rename to..
5472 * sysdeps/m68k/memusage.h: ...this. New file.
5473 * sysdeps/mips/memprof.h: Rename to..
5474 * sysdeps/mips/memusage.h: ...this. New file.
5475 * sysdeps/powerpc/memprof.h: Rename to..
5476 * sysdeps/powerpc/memusage.h: ...this. New file.
5477 * sysdeps/sparc/memprof.h: Rename to..
5478 * sysdeps/sparc/memusage.h: ...this. New file.
5479 * sysdeps/sh/memprof.h: Rename to..
5480 * sysdeps/sh/memusage.h: ...this. New file.
5482 * elf/sprof.c (print_version): Update year.
5484 * elf/sprof.c (load_shobj): Don't always add load address to dynamic
5485 table entry values. Use D_PTR.
5486 * elf/dl-reloc.c (_dl_relocate_object): Don't start profiling weird
5487 binaries without PLT. Patches by James Mathiesen <james@curl.com>.
5489 2000-06-20 Jes Sorensen <jes@linuxcare.com>
5491 * sysdeps/unix/sysv/linux/ia64/Makefile: New file.
5492 * sysdeps/unix/sysv/linux/ia64/sys/io.h: New file.
5493 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: New file.
5494 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: New file.
5496 2000-05-05 Jes Sorensen <jes@linuxcare.com>
5498 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: New file.
5500 2000-06-16 Jes Sorensen <jes@linuxcare.com>
5502 * sysdeps/unix/sysv/linux/ia64/xstat.c: New file.
5503 * sysdeps/unix/sysv/linux/ia64/fxstat.c: New file.
5504 * sysdeps/unix/sysv/linux/ia64/lxstat.c: New file.
5506 * sysdeps/unix/sysv/linux/ia64/xstatconv.c: Deleted.
5508 * sysdeps/unix/sysv/linux/ia64/bits/stat.h: Update after latest
5511 * sysdeps/unix/sysv/linux/ia64/bits/types.h: Make __ino_t,
5512 __nlink_t and __blkcnt_t 64 bit to accomodate new kernel stat data
5514 Change __fsblkcnt_t and __fsfilcnt_t to 64 bit to match kernel
5517 2000-06-15 Jes Sorensen <jes@linuxcare.com>
5519 * sysdeps/unix/sysv/linux/ia64/kernel_stat.h: Deleted.
5521 2000-06-08 Jes Sorensen <jes@linuxcare.com>
5523 * sysdeps/unix/sysv/linux/ia64/mmap64.c: New file.
5525 2000-06-19 Ulrich Drepper <drepper@redhat.com>
5527 * iconv/gconv_int.h (strict gconv_module): Remove all members
5528 associated with regular expressions. Use a simple string as the
5530 * iconv/gconv_db.c: Remove code handling regular expressions.
5531 * iconv/gconv_conf.c: Likewise.
5532 * iconv/iconv_prog.c: Likewise.
5533 * iconv/gconv_builtin.h: Adjust for change in gconv_conf.c.
5535 * iconv/gconv.h (__gconv_trans_fct): Add new parameter.
5536 General namespace cleanup.
5537 (struct __gconv_trans_data): Add next field.
5538 (struct __gconv_step_data): Make __trans a pointer.
5539 * iconv/gconv_conf.c: Split out code to find gconv directories from
5540 __gconv_read_conf in new functions.
5541 * iconv/gconv_int.h: Define new data structure and declare new
5542 functions for handling of gconv directory list.
5543 * iconv/gconv_open.c: Allow more than one error handling step being
5544 used. Call function to load error handling module if it is none
5545 of the builtin transformations.
5546 * iconv/gconv_close.c: Add code to free transliteration data.
5547 * iconv/gconv_trans.c: Add functions to load and unload modules
5548 implementing transliteration etc.
5549 * iconv/skeleton.c: Call all context functions now that more than
5550 one module is allowed.
5551 * iconv/loop.c (STANDARD_ERR_HANDLING): New macro.
5552 * iconv/gconv_simple.c: Use STANDARD_ERR_HANDLING macro for places
5553 where the full error handling using transliteration is needed.
5554 * iconvdata/8bit-gap.c: Likewise.
5555 * iconvdata/8bit-generic.c: Likewise.
5556 * iconvdata/ansi_x3.110.c: Likewise.
5557 * iconvdata/big5.c: Likewise.
5558 * iconvdata/big5hkscs.c: Likewise.
5559 * iconvdata/euc-cn.c: Likewise.
5560 * iconvdata/euc-jp.c: Likewise.
5561 * iconvdata/euc-kr.c: Likewise.
5562 * iconvdata/euc-tw.c: Likewise.
5563 * iconvdata/gbgbk.c: Likewise.
5564 * iconvdata/gbk.c: Likewise.
5565 * iconvdata/iso-2022-cn.c: Likewise.
5566 * iconvdata/iso-2022-jp.c: Likewise.
5567 * iconvdata/iso-2022-kr.c: Likewise.
5568 * iconvdata/iso646.c: Likewise.
5569 * iconvdata/iso8859-1.c: Likewise.
5570 * iconvdata/iso_6937-2.c: Likewise.
5571 * iconvdata/iso_6937.c: Likewise.
5572 * iconvdata/johab.c: Likewise.
5573 * iconvdata/sjis.c: Likewise.
5574 * iconvdata/t.61.c: Likewise.
5575 * iconvdata/uhc.c: Likewise.
5576 * iconvdata/unicode.c: Likewise.
5577 * iconvdata/utf-16.c: Likewise.
5578 * libio/iofwide.c: Reset __trans member of __gconv_trans_data
5579 structure correctly after last change.
5580 * wcsmbs/btowc.c: Likewise.
5581 * wcsmbs/mbrtowc.c: Likewise.
5582 * wcsmbs/mbsnrtowcs.c: Likewise.
5583 * wcsmbs/mbsrtowcs.c: Likewise.
5584 * wcsmbs/wcrtomb.c: Likewise.
5585 * wcsmbs/wcsnrtombs.c: Likewise.
5586 * wcsmbs/wcsrtombs.c: Likewise.
5587 * wcsmbs/wctob.c: Likewise.
5589 * localedata/Makefile: Set -Wno-format for some files since gcc does
5590 not know all the format specifiers.
5592 2000-06-18 Ulrich Drepper <drepper@redhat.com>
5594 * locale/loadlocale.c (_nl_unload_locale): Remove a bit of
5596 * locale/lc-time.c (_nl_init_era_entries): Likewise.
5598 2000-06-18 Andreas Jaeger <aj@suse.de>
5600 * sysdeps/mips/dl-machine.h: Always use $25 as jump register.
5601 Patch by Ralf Baechle <ralf@uni-koblenz.de>.
5603 2000-06-17 Ulrich Drepper <drepper@redhat.com>
5605 * sysdeps/unix/sysv/linux/alpha/fpathconf.c: Define and use
5607 * sysdeps/unix/sysv/linux/alpha/pathconf.c: Likewise.
5609 * locale/programs/ld-ctype.c (ctype_output): Really write out
5610 mboutdigits information.
5611 * localedata/tst-trans.c: Add code to test printf's I flag with locale.
5612 * localedata/tst-trans.sh: Set GCONV_PATH for compilation environment.
5613 * localedata/tests/trans.def: Add outdigit information.
5615 * localedata/tst-mbswcs3.c: Remove comment.
5617 * stdio-common/vfprintf.c (vfprintf): Fix handling of I flag.
5618 * stdio-common/tiformat.c (sprint_ints): Add tests for I flag.
5619 * libio/tst_wprintf.c (main): Add test for I flag.
5621 * iconv/gconv_trans.c: Implement handling if translit_ignore.
5622 * locale/langinfo.h: Add entries for translit_ignore information.
5623 * locale/categories.def: Add entries for new LC_CTYPE elements.
5624 * locale/C-ctype.c: Add initializers for new fields. Use NULL
5625 pointer instead of "" where possible.
5626 * locale/programs/ld-ctype.c: Write out translit_ignore information.
5627 * intl/Depend: Add localedata.
5628 * intl/tst-gettext.c: Call setlocale for LC_CTYPE.
5629 * intl/tst-gettext.sh: Set LOCPATH to localedata build dir.
5631 2000-06-16 Ulrich Drepper <drepper@redhat.com>
5633 * locale/langinfo.h: Add entries for default_missing information.
5634 * locale/C-ctype.c: Add initializers for new fields.
5635 * iconv/gconv_trans.c: If nothing matched, try to use default_missing
5637 * locale/categories.h: Add entries for all LC_CTYPE values.
5638 * locale/programs/ld-ctype.c (ctype_output): Write out default_missing
5641 * localedata/tst-trans.c: Write out an error message if class is
5644 * iconv/gconv_int.h (norm_add_slashes): Optionally add given suffix.
5645 * iconv/gconv_open.c: Remove error handling specification from `from'
5647 * intl/loadmsgcat.c (_nl_load_domain): Call norm_add_slashes with
5648 new parameter to always enable transliteration.
5649 * locale/localeinfo.h (LIMAGIC): Bump number because of incompatible
5651 (struct locale_data): Add new members use_translit and options.
5652 * locale/findlocale.c (_nl_find_locale): Set use_translit flag is
5653 character set name contained modifier TRANSLIT.
5654 * locale/loadlocale.c (_nl_load_locale): Initialize new use_translit
5656 (_nl_unload_locale): Free options string if necessary.
5657 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Enable translation if
5658 the locale names suggested this.
5659 * locale/C-address.c: Add two new initialilzers to adjust data
5660 structure for new format.
5661 * locale/C-collate.c: Likewise.
5662 * locale/C-ctype.c: Likewise.
5663 * locale/C-identification.c: Likewise.
5664 * locale/C-measurement.c: Likewise.
5665 * locale/C-messages.c: Likewise.
5666 * locale/C-monetary.c: Likewise.
5667 * locale/C-name.c: Likewise.
5668 * locale/C-numeric.c: Likewise.
5669 * locale/C-paper.c: Likewise.
5670 * locale/C-telephone.c: Likewise.
5671 * locale/C-time.c: Likewise.
5673 * locale/setlocale.c: Add some more __builtin_expect.
5675 2000-06-15 Ulrich Drepper <drepper@redhat.com>
5677 * iconv/gconv.h (__gconv_fct): Change type of fifth parameter to
5679 (__gconv_init_fct): Remove two parameters.
5680 * iconv/gconv_int.h (__gconv_transliterate): Renamed from
5681 gconv_transliterate. Remove two parameters.
5682 Change prototypes of builtin functions according to __gconv_fct change.
5683 * iconv/skeleton.c: Change type of fifth parameter. make sure it is
5684 != NULL only during error handling. Stop in this case after the
5686 * iconv/gconv_trans.c: Replace with real implementation for
5687 __gconv_transliterate.
5688 * iconv/gconv_open.c: Adjust for renaming of __gconv_transliterate.
5689 * iconv/gconv.c: Change calls to downstream functions once again.
5690 Use NULL for the fifth parameter instead of pointer to output buffer.
5691 * libio/iofwide.c: Likewise.
5692 * wcsmbs/btowc.c: Likewise.
5693 * wcsmbs/mbrtowc.c: Likewise.
5694 * wcsmbs/mbsnrtowcs.c: Likewise.
5695 * wcsmbs/mbsrtowcs.c: Likewise.
5696 * wcsmbs/wcrtomb.c: Likewise.
5697 * wcsmbs/wcsnrtombs.c: Likewise.
5698 * wcsmbs/wcsrtombs.c: Likewise.
5699 * wcsmbs/wctob.c: Likewise.
5700 * iconv/gconv_simple.c: Remove two parameters from error handling
5702 * iconvdata/8bit-gap.c: Likewise.
5703 * iconvdata/8bit-generic.c: Likewise.
5704 * iconvdata/ansi_x3.110.c: Likewise.
5705 * iconvdata/big5.c: Likewise.
5706 * iconvdata/big5hkscs.c: Likewise.
5707 * iconvdata/euc-cn.c: Likewise.
5708 * iconvdata/euc-jp.c: Likewise.
5709 * iconvdata/euc-kr.c: Likewise.
5710 * iconvdata/euc-tw.c: Likewise.
5711 * iconvdata/gbgbk.c: Likewise.
5712 * iconvdata/gbk.c: Likewise.
5713 * iconvdata/iso-2022-cn.c: Likewise.
5714 * iconvdata/iso-2022-jp.c: Likewise.
5715 * iconvdata/iso-2022-kr.c: Likewise.
5716 * iconvdata/iso646.c: Likewise.
5717 * iconvdata/iso8859-1.c: Likewise.
5718 * iconvdata/iso_6937-2.c: Likewise.
5719 * iconvdata/iso_6937.c: Likewise.
5720 * iconvdata/johab.c: Likewise.
5721 * iconvdata/sjis.c: Likewise.
5722 * iconvdata/t.61.c: Likewise.
5723 * iconvdata/uhc.c: Likewise.
5724 * iconvdata/unicode.c: Likewise.
5725 * iconvdata/utf-16.c: Likewise.
5727 2000-06-15 Greg McGary <greg@mcgary.org>
5729 * sysdeps/unix/make-syscalls.sh: Strip leading whitespace from lhs
5730 of callnum assignment. Tolerate callnum expressions containing
5733 2000-06-14 Ulrich Drepper <drepper@redhat.com>
5735 * login/Makefile (utmpd): Remove rule to build utmpd.
5737 * csu/Versions: Move libgcc frame handling functions from here...
5738 * sysdeps/unix/sysv/linux/alpha/Versions: ...to here...
5739 * sysdeps/unix/sysv/linux/arm/Versions: ...to here...
5740 * sysdeps/unix/sysv/linux/i386/Versions: ...to here...
5741 * sysdeps/unix/sysv/linux/m68k/Versions: ...to here...
5742 * sysdeps/unix/sysv/linux/powerpc/Versions: ...to here...
5743 * sysdeps/unix/sysv/linux/sparc/sparc32/Versions: ...and here.
5745 * sysdeps/mach/hurd/i386/Versions: ...and here. New file.
5747 * locale/programs/ld-ctype.c (allocate_arrays): Correct a comment.
5749 * misc/syslog.c (vsyslog): Initialize msgoff in all cases.
5751 2000-06-14 Kazumoto Kojima <kkojima@rr.iij4u.or.jp>
5753 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Remove definitions for backward
5755 * sysdeps/sh/sh4/fpu/fegetenv.c: Likewise.
5756 * sysdeps/sh/sh4/fpu/fesetenv.c: Likewise.
5757 * sysdeps/sh/sh4/fpu/fraiseexcpt.c: Likewise.
5758 * sysdeps/sh/sh4/fpu/fsetexcptflg.c: Likewise.
5760 2000-06-14 Jakub Jelinek <jakub@redhat.com>
5762 * include/libc-symbols.h (link_warning): If HAVE_SECTION_QUOTES is
5763 defined, terminate quotes and read them after the comment char.
5764 * configure.in (HAVE_SECTION_QUOTES): Test whether
5765 __attribute__((section ("x"))) puts quotes around x or not.
5766 * config.h.in (HAVE_SECTION_QUOTES): Add.
5767 * configure: Rebuilt.
5769 2000-06-14 Andreas Jaeger <aj@suse.de>
5771 * sysdeps/unix/sysv/linux/configure.in: Set libc_cv_sysconfdir
5772 depending on the configure option --sysconfdir.
5773 Closes PR libc/1762.
5774 Patch by Andreas Schwab <schwab@suse.de>.
5776 * sysdeps/mips/dl-machine.h: Pass finalizer correctly to user
5778 Reported by Jim Pick <jim@jimpick.com>.
5780 2000-06-14 Ulrich Drepper <drepper@redhat.com>
5782 * misc/syslog.c (vsyslog): Allow open_memstream to fail without
5783 crashing the application. Emit some simple error message.
5784 Reported by mju@panasas.com [PR libc/1769].
5786 2000-06-13 Ulrich Drepper <drepper@redhat.com>
5788 * malloc/Makefile (distribute): Add memprof.sh and memprofstat.c.
5790 * crypt/Makefile (distribute): Add md5.h.
5792 * Makefile (distribute): Add include/shlib-compat.h.
5794 * Make-dist: Search for tests also in sysdeps hierachy.
5796 * crypt/Makefile (distribute): Add ufc-crypt.h, crypt-private.h,
5797 ufc.c, speeds.c, README.ufc-crypt, and Banner.
5799 * sysdeps/sparc/Subdirs: New file.
5801 * locale/Makefile (distribute): Add weightwc.h and
5802 programs/localedef.h.
5804 * time/Makefile (distribute): Add datemsk.
5806 * sysdeps/ia64/Dist: Add softpipe.h.
5808 * sysdeps/unix/sysv/aix/Dist: New file.
5810 * posix/setpgrp.c: Moved to...
5811 * sysdeps/generic/setpgrp.c: ...here. New file.
5812 * io/mknod.c: Moved to...
5813 * sysdeps/generic/mknod.c: ...here. New file.
5815 * sysdeps/unix/sysv/linux/ia64/Dist: New file.
5817 * sysdeps/unix/sysv/linux/sparc/Dist: Add sys/procfs.h.
5819 * sysdeps/unix/sysv/linux/arm/Dist: Add oldgetrlimit64.c.
5821 * sysdeps/powerpc/Dist: Add fprrest.S, fprsave.S, gprsave1.S,
5822 gprsave0.S, gprrest1.S, and gprrest0.S.
5824 * sysdeps/generic/Dist: Add bp-thunks.h, bp-sym.h, and bp-start.h.
5826 * posix/Makefile (routines): Add spawnattr_getsigmask,
5827 spawnattr_getschedpolicy, spawnattr_getschedparam,
5828 spawnattr_setsigmask, spawnattr_setschedpolicy, and
5829 spawnattr_setschedparam.
5830 * posix/Versions: Add posix_spawnattr_getschedpolicy,
5831 posix_spawnattr_setschedpolicy, posix_spawnattr_getschedparam, and
5832 posix_spawnattr_setschedparam.
5834 * posix/spawnattr_setschedparam.c: Fix typo.
5836 * posix/spawnattr_setsigmask.c (posix_spawnattr_setsigmask):
5839 * login/programs/utmpd.c: Removed.
5840 * login/programs/utmpd.h: Removed.
5841 * login/programs/utmpd-private.h: Removed.
5843 * Makefile (distribute): Add include/db_185.h and include/db.h.
5845 * iconvdata/Makefile (distribute): Add iso-ir-165.c and
5848 * elf/Makefile (distribute): Add missing files.
5850 * dlfcn/Makefile: Add back rules to include eval in libdl.so.
5851 * elf/eval.c: Moved to...
5852 * dlfcn/eval.c: ...here. New file.
5854 * Makefile (distribute): Also distribute ChangeLog.1?.
5856 * Make-dist (+tsrcs): Remove .args handling here as well.
5858 * rt/Makefile (tests): Add tst-timer.
5859 * sysdeps/generic/tst-timer.c: New file.
5861 * Makerules (sources): Don't add BP sources here.
5863 * login/Makefile (distribute): Remove xtmp.h.
5865 * iconv/iconv_prog.c (main): Fix appending slashes if omit_invalid
5866 is true. Reported by Bruno Haible <haible@ilog.fr>.
5868 2000-06-13 Andreas Jaeger <aj@suse.de>
5870 * sysdeps/mips/elf/start.S (ENTRY_POINT): Remove mips64 defines.
5871 Patch by Ralf Baechle <ralf@gnu.org>.
5873 2000-06-13 Ulrich Drepper <drepper@redhat.com>
5875 * sysdeps/unix/sysv/linux/syscalls.list: Add parameter information
5876 for mincore syscall.
5878 * misc/sys/cdefs.h: Define __bounded and __unbounded if
5879 __BOUNDED_POINTERS__ is not defined.
5881 2000-06-07 Greg McGary <greg@mcgary.org>
5883 * sysdeps/generic/bp-sym.h: New file.
5884 * sysdeps/generic/bp-start.h: New file.
5885 * sysdeps/i386/elf/start.S: Designate BP symbols.
5886 * sysdeps/generic/libc-start.c: Wrap bounds around
5887 argv & envp and each of their string members.
5889 2000-06-07 Greg McGary <greg@mcgary.org>
5891 * sysdeps/unix/make-syscalls.sh: Add comments to
5892 output that aid debugging & comprehension.
5893 Map simple syscall signatures to number of args.
5894 Generate BP syscall thunk definitions.
5895 * sysdeps/generic/bp-thunks.h: New file.
5896 * sysdeps/unix/syscalls.list: Replace arg-count with
5897 simple return+arg signature.
5898 * sysdeps/unix/common/syscalls.list: Likewise.
5899 * sysdeps/unix/inet/syscalls.list: Likewise.
5900 * sysdeps/unix/mman/syscalls.list: Likewise.
5901 * sysdeps/unix/sysv/syscalls.list: Likewise.
5902 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
5903 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
5905 2000-06-07 Greg McGary <greg@mcgary.org>
5907 * Makeconfig (CPPFLAGS-.ob): Pass -fbounded-pointers
5908 for all files *.[cS].
5909 (CFLAGS-.ob): Don't optimize sibling calls.
5910 (bppfx): New variable.
5911 * Makerules (elide-bp-thunks): New variable.
5912 (elide-routines.*): Elide BP-* files for all but *.ob.
5913 (sources): Include bp-thunks.
5915 2000-06-12 Ulrich Drepper <drepper@redhat.com>
5917 * iconv/gconv_simple.c: Remove unnecessary prototype.
5919 * iconv/gconv_trans.c: Pretty print.
5921 * elf/elf.h (R_SH_NUM): Got accidently dropped.
5923 * sysdeps/unix/sysv/linux/configure.in: Improve handling of
5924 minimal kernel versions. Add information about IA-64 kernel.
5926 * sysdeps/unix/sysv/linux/configure.in: Allow architecture
5927 specific minimal supported kernel versions to be specified.
5929 * libio/iofwide.c (_IO_fwide): Initialize transliteration part of
5930 step data structure.
5931 * wcsmbs/btowc.c: Likewise.
5932 * wcsmbs/mbrtowc.c: Likewise.
5933 * wcsmbs/mbsnrtowcs.c: Likewise.
5934 * wcsmbs/mbsrtowcs.c: Likewise.
5935 * wcsmbs/wcrtomb.c: Likewise.
5936 * wcsmbs/wcsnrtombs.c: Likewise.
5937 * wcsmbs/wcsrtombs.c: Likewise.
5938 * wcsmbs/wctob.c: Likewise.
5940 * sysdeps/unix/sysv/linux/sh/Dist: There is no ioperm file.
5941 * sysdeps/unix/sysv/linux/sh/oldgetrlimit64.c: Removed.
5943 * shlib-versions: Earliest backward compatible version for SH is 2.2.
5945 * misc/sys/cdefs.h: Remove one more __P.
5947 * sysvipc/sys/shm.h: Move __getpagesize declaration inside extern C.
5950 * sysdeps/sh/sh3/bits/setjmp.h: Removed.
5951 * sysdeps/sh/sh4/bits/setjmp.h: Moved to...
5952 * sysdeps/sh/bits/setjmp.h: ...here. New file.
5954 2000-06-12 Kazumoto Kojima <kkojima@rr.iij4u.or.jp>
5955 Yutaka Niibe <gniibe@chroot.org>
5957 * configure.in: Add machine sh3, sh4.
5958 * elf/elf.h: Add SH specific declarations of relocations.
5959 * shlib-versions: Add sh*-*-linux* cases.
5961 2000-06-12 Ulrich Drepper <drepper@redhat.com>
5963 * sysdeps/sh/sh3/bsd-_setjmp.S: Move to...
5964 * sysdeps/sh/bsd-_setjmp.S: ...here. New file.
5965 * sysdeps/sh/sh4/bsd-_setjmp.S: Removed.
5966 * sysdeps/sh/sh3/bsd-setjmp.S: Move to...
5967 * sysdeps/sh/bsd-setjmp.S: ...here. New file.
5968 * sysdeps/sh/sh4/bsd-setjmp.S: Removed.
5970 * sysdeps/sh/dl-machine.h (FGR_SAVE): Protect using HAVE_FPU macro
5971 instead of KERNEL_MATH_EMULATION.
5972 * sysdeps/sh/sh4/dl-machine.h: Define HAVE_FPU not
5973 KERNEL_MATH_EMULATION.
5975 * sysdeps/sh/Dist: Removed. There is no ieee754.h file.
5976 * sysdeps/sh/sh3/dl-machine.h: Moved to...
5977 * sysdeps/sh/dl-machine.h: ...here. New file.
5978 * sysdeps/sh/sh4/dl-machine.h: Simply define KERNEL_MATH_EMULATION
5979 and include generic SH version.
5980 * sysdeps/sh/sh3/bits/endian.h: Move to...
5981 * sysdeps/sh/bits/endian.h: ...here. New file.
5982 * sysdeps/sh/sh4/bits/endian.h: Removed.
5983 * sysdeps/sh/sh3/bits/huge_val.h: Move to...
5984 * sysdeps/sh/bits/huge_val.h: ...here. New file.
5985 * sysdeps/sh/sh4/bits/huge_val.h: Removed.
5987 * include/libc-symbols.h (link_warning): Work around a change in
5988 GAS which warns about changing section attributes.
5989 Proposed by Nick Clifton <nickc@redhat.com>.
5991 2000-06-12 H.J. Lu <hjl@gnu.org>
5993 * sysdeps/i386/fpu/bits/mathinline.h (__sgn1l): Add __extension__.
5995 2000-06-11 H.J. Lu <hjl@gnu.org>
5997 * sysdeps/i386/fpu/Versions: New file.
5999 2000-06-12 Ulrich Drepper <drepper@redhat.com>
6001 * iconv/gconv.h (__gconv_trans_context_fct): Remove two
6003 * iconv/skeleton.c (FUNCTION_NAME): Call __trans_context_fct if it
6006 2000-06-12 Jes Sorensen <jes@linuxcare.com>
6008 * sysdeps/unix/sysv/linux/ia64/kernel_stat.h: New file.
6009 * sysdeps/unix/sysv/linux/ia64/xstatconv.c: New file.
6010 * sysdeps/unix/sysv/linux/ia64/bits/stat.h: New file.
6012 * sysdeps/unix/sysv/linux/ia64/fxstat64.c: New file.
6013 * sysdeps/unix/sysv/linux/ia64/lxstat64.c: New file.
6014 * sysdeps/unix/sysv/linux/ia64/xstat64.c: New file.
6016 2000-06-12 Kazumoto Kojima <kkojima@rr.iij4u.or.jp>
6017 Yutaka Niibe <gniibe@chroot.org>
6019 * sysdeps/sh/Dist: New file.
6020 * sysdeps/sh/Implies: New file.
6021 * sysdeps/sh/elf/initfini.c: New file.
6022 * sysdeps/sh/gmp-mparam.h: New file.
6023 * sysdeps/sh/init-first.c: New file.
6024 * sysdeps/sh/machine-gmon.h: New file.
6025 * sysdeps/sh/memcpy.S: New file.
6026 * sysdeps/sh/memprof.h: New file.
6027 * sysdeps/sh/memset.S: New file.
6028 * sysdeps/sh/sh3/__longjmp.S: New file.
6029 * sysdeps/sh/sh3/bits/endian.h: New file.
6030 * sysdeps/sh/sh3/bits/huge_val.h: New file.
6031 * sysdeps/sh/sh3/bits/setjmp.h: New file.
6032 * sysdeps/sh/sh3/bsd-_setjmp.S: New file.
6033 * sysdeps/sh/sh3/bsd-setjmp.S: New file.
6034 * sysdeps/sh/sh3/dl-machine.h: New file.
6035 * sysdeps/sh/sh3/setjmp.S: New file.
6036 * sysdeps/sh/sh4/__longjmp.S: New file.
6037 * sysdeps/sh/sh4/bits/endian.h: New file.
6038 * sysdeps/sh/sh4/bits/huge_val.h: New file.
6039 * sysdeps/sh/sh4/bits/setjmp.h: New file.
6040 * sysdeps/sh/sh4/bsd-_setjmp.S: New file.
6041 * sysdeps/sh/sh4/bsd-setjmp.S: New file.
6042 * sysdeps/sh/sh4/dl-machine.h: New file.
6043 * sysdeps/sh/sh4/fpu/bits/fenv.h: New file.
6044 * sysdeps/sh/sh4/fpu/bits/huge_val.h: New file.
6045 * sysdeps/sh/sh4/fpu/bits/mathdef.h: New file.
6046 * sysdeps/sh/sh4/fpu/fclrexcpt.c: New file.
6047 * sysdeps/sh/sh4/fpu/fegetenv.c: New file.
6048 * sysdeps/sh/sh4/fpu/fegetround.c: New file.
6049 * sysdeps/sh/sh4/fpu/feholdexcpt.c: New file.
6050 * sysdeps/sh/sh4/fpu/fesetenv.c: New file.
6051 * sysdeps/sh/sh4/fpu/fesetround.c: New file.
6052 * sysdeps/sh/sh4/fpu/fpu_control.h: New file.
6053 * sysdeps/sh/sh4/fpu/fraiseexcpt.c: New file.
6054 * sysdeps/sh/sh4/fpu/fsetexcptflg.c: New file.
6055 * sysdeps/sh/sh4/fpu/ftestexcept.c: New file.
6056 * sysdeps/sh/sh4/fpu/libm-test-ulps: New file.
6057 * sysdeps/sh/sh4/setjmp.S: New file.
6058 * sysdeps/sh/elf/start.S: New file.
6059 * sysdeps/sh/sys/ucontext.h: New file.
6060 * sysdeps/sh/strlen.S: New file.
6061 * sysdeps/sh/sysdep.h: New file.
6062 * sysdeps/unix/sh/sysdep.S: New file.
6063 * sysdeps/unix/sh/sysdep.h: New file.
6064 * sysdeps/unix/sysv/linux/sh/Dist: New file.
6065 * sysdeps/unix/sysv/linux/sh/Makefile: New file.
6066 * sysdeps/unix/sysv/linux/sh/Versions: New file.
6067 * sysdeps/unix/sysv/linux/sh/bits/mman.h: New file.
6068 * sysdeps/unix/sysv/linux/sh/bits/resource.h: New file.
6069 * sysdeps/unix/sysv/linux/sh/brk.c: New file.
6070 * sysdeps/unix/sysv/linux/sh/chown.c: New file.
6071 * sysdeps/unix/sysv/linux/sh/clone.S: New file.
6072 * sysdeps/unix/sysv/linux/sh/fchown.c: New file.
6073 * sysdeps/unix/sysv/linux/sh/fxstat.c: New file.
6074 * sysdeps/unix/sysv/linux/sh/getegid.c: New file.
6075 * sysdeps/unix/sysv/linux/sh/geteuid.c: New file.
6076 * sysdeps/unix/sysv/linux/sh/getgroups.c: New file.
6077 * sysdeps/unix/sysv/linux/sh/getresgid.c: New file.
6078 * sysdeps/unix/sysv/linux/sh/getresuid.c: New file.
6079 * sysdeps/unix/sysv/linux/sh/getrlimit.c: New file.
6080 * sysdeps/unix/sysv/linux/sh/getrlimit64.c: New file.
6081 * sysdeps/unix/sysv/linux/sh/getuid.c: New file.
6082 * sysdeps/unix/sysv/linux/sh/lchown.c: New file.
6083 * sysdeps/unix/sysv/linux/sh/lxstat.c: New file.
6084 * sysdeps/unix/sysv/linux/sh/msgctl.c: New file.
6085 * sysdeps/unix/sysv/linux/sh/oldgetrlimit64.c: New file.
6086 * sysdeps/unix/sysv/linux/sh/pipe.S: New file.
6087 * sysdeps/unix/sysv/linux/sh/profil-counter.h: New file.
6088 * sysdeps/unix/sysv/linux/sh/semctl.c: New file.
6089 * sysdeps/unix/sysv/linux/sh/setegid.c: New file.
6090 * sysdeps/unix/sysv/linux/sh/seteuid.c: New file.
6091 * sysdeps/unix/sysv/linux/sh/setfsgid.c: New file.
6092 * sysdeps/unix/sysv/linux/sh/setfsuid.c: New file.
6093 * sysdeps/unix/sysv/linux/sh/setgid.c: New file.
6094 * sysdeps/unix/sysv/linux/sh/setgroups.c: New file.
6095 * sysdeps/unix/sysv/linux/sh/setregid.c: New file.
6096 * sysdeps/unix/sysv/linux/sh/setresgid.c: New file.
6097 * sysdeps/unix/sysv/linux/sh/setresuid.c: New file.
6098 * sysdeps/unix/sysv/linux/sh/setreuid.c: New file.
6099 * sysdeps/unix/sysv/linux/sh/setrlimit.c: New file.
6100 * sysdeps/unix/sysv/linux/sh/setuid.c: New file.
6101 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: New file.
6102 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: New file.
6103 * sysdeps/unix/sysv/linux/sh/shmctl.c: New file.
6104 * sysdeps/unix/sysv/linux/sh/sigcontextinfo.h: New file.
6105 * sysdeps/unix/sysv/linux/sh/socket.S: New file.
6106 * sysdeps/unix/sysv/linux/sh/sys/io.h: New file.
6107 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
6108 * sysdeps/unix/sysv/linux/sh/sys/user.h: New file.
6109 * sysdeps/unix/sysv/linux/sh/syscalls.list: New file.
6110 * sysdeps/unix/sysv/linux/sh/sysdep.S: New file.
6111 * sysdeps/unix/sysv/linux/sh/sysdep.h: New file.
6112 * sysdeps/unix/sysv/linux/sh/vfork.S: New file.
6113 * sysdeps/unix/sysv/linux/sh/xstat.c: New file.
6115 2000-06-12 Ulrich Drepper <drepper@redhat.com>
6117 * Rules (%.out): Define GCONV_PATH in the environment.
6118 * assert/Depend: New file.
6119 * iconvdata/Depend: New file.
6120 * intl/Depend: New file.
6121 * timezone/Makefile (build-testdata): Add GCONV_PATH to environment.
6122 * intl/tst-gettext.sh: Likewise.
6123 * iconv/Makefile (routines): Add gconv_trans.
6124 * iconv/gconv_trans.c: New file.
6125 * iconv/gconv.h (struct __gconv_trans_data): New type.
6126 (__gconv_fct): New parameter with starting position in output buffer.
6127 (__gconv_trans_fct, __gconv_trans_context_fct, __gconv_trans_query_fct,
6128 __gconv_trans_init_fct, __gconv_trans_end_fct): New types.
6129 (struct __gconv_step): Add new member __trans.
6130 * iconv/gconv_int.h: Pretty print prototypes.
6131 (gconv_transliterate): New prototype.
6132 (__BUILTIN_TRANS): Update for new conversion function interface.
6133 * iconv/gconv.c (__gconv): Pass new parameter to conversion function.
6134 * iconv/gconv_open.c (__gconv_open): Recognize error handling suffix
6135 in names, find appropriate function, and install in the conversion
6136 steps it can be used.
6137 * iconv/skeleton.c: Add additional parameter for beginning of output
6138 buffer. Change calls of downstream functions.
6139 * iconv/loop.c: Change loop function interface completely. Pass in
6140 step and step_data structure. Remove optimization for BODY with
6141 NEED_LENGTH_TEST == 0.
6142 * iconv/gconv_simple.c: Update interfaces of functions. Insert
6143 appropriate error handling code to use transliteration steps. Remove
6144 optimization for BODY with NEED_LENGTH_TEST == 0.
6145 * iconvdata/8bit-gap.c: Likewise.
6146 * iconvdata/8bit-generic.c: Likewise.
6147 * iconvdata/ansi_x3.110.c: Likewise.
6148 * iconvdata/big5.c: Likewise.
6149 * iconvdata/big5hkscs.c: Likewise.
6150 * iconvdata/euc-cn.c: Likewise.
6151 * iconvdata/euc-jp.c: Likewise.
6152 * iconvdata/euc-kr.c: Likewise.
6153 * iconvdata/euc-tw.c: Likewise.
6154 * iconvdata/gbgbk.c: Likewise.
6155 * iconvdata/gbk.c: Likewise.
6156 * iconvdata/iso-2022-cn.c: Likewise.
6157 * iconvdata/iso-2022-jp.c: Likewise.
6158 * iconvdata/iso-2022-kr.c: Likewise.
6159 * iconvdata/iso646.c: Likewise.
6160 * iconvdata/iso8859-1.c: Likewise.
6161 * iconvdata/iso_6937-2.c: Likewise.
6162 * iconvdata/iso_6937.c: Likewise.
6163 * iconvdata/johab.c: Likewise.
6164 * iconvdata/sjis.c: Likewise.
6165 * iconvdata/t.61.c: Likewise.
6166 * iconvdata/uhc.c: Likewise.
6167 * iconvdata/unicode.c: Likewise.
6168 * iconvdata/utf-16.c: Likewise.
6169 * libio/iofwide.c: Adjust to new interface of gconv functions. Use
6171 * wcsmbs/btowc.c: Likewise.
6172 * wcsmbs/mbrtowc.c: Likewise.
6173 * wcsmbs/mbsnrtowcs.c: Likewise.
6174 * wcsmbs/mbsrtowcs.c: Likewise.
6175 * wcsmbs/wcrtomb.c: Likewise.
6176 * wcsmbs/wcsnrtombs.c: Likewise.
6177 * wcsmbs/wcsrtombs.c: Likewise.
6178 * wcsmbs/wctob.c: Likewise.
6180 2000-04-11 Geoff Keating <geoffk@cygnus.com>
6182 * sysdeps/powerpc/dl-machine.c: Include dl-machine.h after the
6183 other header files. Mention about 128-byte cache line sizes.
6184 (__elf_machine_fixup_plt): Make types match elf_machine_fixup_plt.
6185 * sysdeps/powerpc/dl-machine.h (elf_machine_fixup_plt): Update
6186 for current calling sequence.
6187 * sysdeps/powerpc/dl-start.S (_dl_start_user): Close comment.
6189 * sysdeps/powerpc/fpu/s_rint.c: Handle rounding to -0 correctly.
6190 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
6192 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add getrlimit
6193 and setrlimit syscalls for backwards compatibility.
6195 2000-06-10 Ulrich Drepper <drepper@redhat.com>
6197 * iconv/skeleton.c: Rename converted written to correcter name
6199 * iconv/gconv.c: Rename converted variable to correcter name
6201 * iconv/gconv_int.h: Likewise.
6202 * iconv/gconv_simple.c: Likewise.
6203 * iconv/iconv.c: Likewise.
6204 * iconv/loop.c: Likewise.
6205 * iconvdata/8bit-gap.c: Likewise.
6206 * iconvdata/8bit-generic.c: Likewise.
6207 * iconvdata/ansi_x3.110.c: Likewise.
6208 * iconvdata/big5.c: Likewise.
6209 * iconvdata/big5hkscs.c: Likewise.
6210 * iconvdata/euc-cn.c: Likewise.
6211 * iconvdata/euc-jp.c: Likewise.
6212 * iconvdata/euc-kr.c: Likewise.
6213 * iconvdata/gbgbk.c: Likewise.
6214 * iconvdata/gbk.c: Likewise.
6215 * iconvdata/iso-2022-cn.c: Likewise.
6216 * iconvdata/iso-2022-jp.c: Likewise.
6217 * iconvdata/iso-2022-kr.c: Likewise.
6218 * iconvdata/iso646.c: Likewise.
6219 * iconvdata/iso8859-1.c: Likewise.
6220 * iconvdata/iso_6937-2.c: Likewise.
6221 * iconvdata/iso_6937.c: Likewise.
6222 * iconvdata/johab.c: Likewise.
6223 * iconvdata/sjis.c: Likewise.
6224 * iconvdata/t.61.c: Likewise.
6225 * iconvdata/uhc.c: Likewise.
6226 * iconvdata/unicode.c: Likewise.
6227 * iconvdata/utf-16.c: Likewise.
6229 * sysdeps/unix/sysv/linux/bits/socket.h (struct cmsghdr): Mark
6230 __cmsg_data field with __extension__.
6232 2000-06-10 David Mosberger <davidm@hpl.hp.com>
6234 * sysdeps/unix/sysv/linux/ia64/syscall.S: Fix it so it actually works.
6236 2000-06-10 Ulrich Drepper <drepper@redhat.com>
6238 * iconv/gconv_simple.c: Fix various small bugs in several
6241 * iconv/loop.c: Fix comment.
6243 2000-06-10 Jakub Jelinek <jakub@redhat.com>
6245 * elf/link.h: Remove libc internal declarations.
6246 * include/link.h: Move them here.
6248 2000-06-09 Ulrich Drepper <drepper@redhat.com>
6250 * sysdeps/unix/sysv/linux/ia64/getsysstats.c: New file.
6251 Patch by Dan Pop <Dan.Pop@cern.ch>.
6253 Rewrite error message handling.
6254 * elf/dl-deps.c (_dl_map_object_deps): Pass new parameter to
6256 * elf/dl-error (struct catch): Add objname member.
6257 (_dl_signal_error): Take new parameter with object name. When
6258 passing message on simply store object name and duplicate error
6260 (_dl_catch_error): Take new parameter. Store object name in the
6262 * include/dlfcn.h: Adjust _dl_catch_error prototype.
6263 * sysdeps/generic/ldsodefs.h: Adjust _dl_signal_error prototype.
6264 * dlfcn/dlerror.c (struct dl_action_result): Add objname member.
6265 (dlerror): Add objname to asprintf() parameters.
6266 (_dl_error_run): Pass new parameter to _dl_catch_error.
6267 * elf/dl-libc.c (dlerror_run): Pass new parameter to _dl_catch_error.
6268 * elf/dl-open.c (_dl_open): Likewise.
6269 * elf/rtld.c (dl_main): Likewise.
6270 * elf/dl-close.c: Mark error messages with N_().
6271 * elf/dl-deps.c: Likewise.
6272 * elf/dl-error.c: Likewise.
6273 * elf/dl-load.c: Likewise.
6274 * elf/dl-open.c: Likewise.
6275 * elf/dl-reloc.c: Likewise.
6276 * elf/dl-support.c: Likewise.
6277 * elf/dl-sym.c: Likewise.
6278 * elf/dl-version.c: Likewise.
6279 * elf/dl-lookup.c: Add comments about problems with error message
6281 * elf/dl-reloc.c: Likewise.
6282 * elf/dl-version.c: Likewise.
6284 2000-06-09 H.J. Lu <hjl@gnu.org>
6286 * dlfcn/dlerror.c (_dlerror_run): Set result->errstring to NULL
6289 * dlfcn/Makefile (distribute): Add failtestmod.c.
6290 (tests): Add failtest.
6291 Add rules to build and run failtest.
6292 * dlfcn/failtest.c: New file.
6293 * dlfcn/failtestmod.c: New file.
6295 2000-06-09 David Mosberger-Tang <davidm@hpl.hp.com>
6297 * sysdeps/unix/sysv/linux/ia64/__longjmp.S: new file
6298 * sysdeps/unix/sysv/linux/ia64/bsd-_setjmp.S: new file
6299 * sysdeps/unix/sysv/linux/ia64/bsd-setjmp.S: new file
6300 * sysdeps/unix/sysv/linux/ia64/setjmp.S: new file
6301 * sysdeps/unix/sysv/linux/ia64/bits/setjmp.h: new file
6303 2000-06-09 Jes Sorensen <jes@linuxcare.com>
6305 * sysdeps/unix/sysv/linux/ia64/brk.S: New file.
6306 * sysdeps/unix/sysv/linux/ia64/pipe.S: New file.
6308 2000-06-09 Jes Sorensen <jes@linuxcare.com>
6309 Ulrich Drepper <drepper@redhat.com>
6311 * sysdeps/unix/sysv/linux/ia64/sigaction.c: New file.
6312 * sysdeps/unix/sysv/linux/ia64/sigpending.c: New file.
6313 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c: New file.
6314 * sysdeps/unix/sysv/linux/ia64/sigsuspend.c: New file.
6315 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h: New file.
6316 * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h: New file.
6318 2000-06-09 Ulrich Drepper <drepper@redhat.com>
6320 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Try harder
6321 to find correct mount point despite wrong information from the
6324 2000-06-09 Jes Sorensen <jes@linuxcare.com>
6326 * elf/dl-libc.c (__libc_dlsym): Use DL_SYMBOL_ADDRESS() to obtain
6327 the address of a symbol so function pointers are handled properly.
6329 2000-06-08 Ulrich Drepper <drepper@redhat.com>
6331 * sysdeps/i386/Dist: Add bp-asm.h.
6333 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Use
6334 defaultdir variable instead of "/var/shm" everywhere.
6335 (defaultdir): Change to /dev/shm/.
6337 2000-06-08 Greg McGary <greg@mcgary.org>
6339 * sysdeps/i386/bp-asm.h: New file.
6340 * sysdeps/i386/__longjmp.S: Define & use symbolic argument stack
6341 offsets. Add ENTER/LEAVE macros for optionally maintaining
6342 frame-pointer chain when debugging.
6343 * sysdeps/i386/add_n.S: Likewise.
6344 * sysdeps/i386/addmul_1.S: Likewise.
6345 * sysdeps/i386/lshift.S: Likewise.
6346 * sysdeps/i386/memchr.S: Likewise.
6347 * sysdeps/i386/memcmp.S: Likewise.
6348 * sysdeps/i386/mul_1.S: Likewise.
6349 * sysdeps/i386/rawmemchr.S: Likewise.
6350 * sysdeps/i386/rshift.S: Likewise.
6351 * sysdeps/i386/stpcpy.S: Likewise.
6352 * sysdeps/i386/stpncpy.S: Likewise.
6353 * sysdeps/i386/strchr.S: Likewise.
6354 * sysdeps/i386/strchrnul.S: Likewise.
6355 * sysdeps/i386/strcspn.S: Likewise.
6356 * sysdeps/i386/strpbrk.S: Likewise.
6357 * sysdeps/i386/strrchr.S: Likewise.
6358 * sysdeps/i386/strspn.S: Likewise.
6359 * sysdeps/i386/strtok.S: Likewise.
6360 * sysdeps/i386/sub_n.S: Likewise.
6361 * sysdeps/i386/submul_1.S: Likewise.
6362 * sysdeps/i386/elf/setjmp.S: Likewise.
6363 * sysdeps/i386/i486/strcat.S: Likewise.
6364 * sysdeps/i386/i486/strlen.S: Likewise.
6365 * sysdeps/i386/i586/add_n.S: Likewise.
6366 * sysdeps/i386/i586/lshift.S: Likewise.
6367 * sysdeps/i386/i586/memcpy.S: Likewise.
6368 * sysdeps/i386/i586/memset.S: Likewise.
6369 * sysdeps/i386/i586/rshift.S: Likewise.
6370 * sysdeps/i386/i586/strchr.S: Likewise.
6371 * sysdeps/i386/i586/strcpy.S: Likewise.
6372 * sysdeps/i386/i586/strlen.S: Likewise.
6373 * sysdeps/i386/i586/sub_n.S: Likewise.
6374 * sysdeps/i386/i686/add_n.S: Likewise.
6375 * sysdeps/i386/i686/memcpy.S: Likewise.
6376 * sysdeps/i386/i686/mempcpy.S: Likewise.
6377 * sysdeps/i386/i686/memset.S: Likewise.
6378 * sysdeps/i386/i686/strcmp.S: Likewise.
6380 2000-06-08 Ulrich Drepper <drepper@redhat.com>
6382 * sysdeps/unix/sysv/linux/getdtsz.c: New file.
6384 * sysdeps/unix/sysv/linux/sys/param.h: Define NOFILE directly as
6385 256 and don't use OPEN_MAX.
6387 * sysdeps/unix/sysv/linux/pathconf.c: Define LINUX_LINK_MAX and
6388 use it instead of LINK_MAX.
6389 * sysdeps/unix/sysv/linux/fpathconf.c: Likewise.
6391 2000-06-08 Andreas Jaeger <aj@suse.de>
6393 * libio/genops.c (_IO_list_lock): Only compile body if we're
6395 (_IO_list_unlock): Likewise.
6396 (_IO_list_resetlock): Likewise.
6398 2000-06-07 Ulrich Drepper <drepper@redhat.com>
6400 * sysdeps/unix/sysv/linux/bits/local_lim.h: Undefine OPEN_MAX
6401 unless user defined it.
6403 * sysdeps/unix/sysv/linux/bits/local_lim.h: Also undefine LINK_MAX
6404 if not defined by the user.
6406 * libio/iofwrite_u.c (fwrite_unlocked): Remove obsolete comment.
6407 * libio/iofwrite.c (_IO_fwrite): Likewise.
6409 * time/time.h: Add missing __THROW for clock_getcpuclockid
6412 * elf/Makefile (distribute): Add dl-dtprocnum.h.
6413 * include/elf.h: Include also <dl-dtprocnum.h>.
6414 * elf/dl-deps.c: Likewise.
6415 * elf/dl-lookup.c: Likewise.
6416 * elf/dl-runtime.c: Likewise.
6417 * elf/dl-version.c: Likewise.
6418 * elf/do-rel.h: Likewise.
6419 * elf/dynamic-link.h: Likewise.
6420 * elf/link.h: Likewise.
6421 * elf/rtld.c: Likewise.
6422 * sysdeps/generic/dl-dtprocnum.h: New file.
6423 * sysdeps/ia64/dl-dtprocnum.h: New file.
6424 * sysdeps/mips/dl-dtprocnum.h: New file.
6425 * sysdeps/sparc/dl-dtprocnum.h: New file.
6427 * sysdeps/i386/dl-machine.h: Add more __builtin_expect.
6429 * elf/do-lookup.h: Add some __builtin_expect.
6431 * dlfcn/dlfcn.h: Pretty print dladdr declaraction.
6433 * elf/rtld.c (process_envvars): Recognize LD_DYNAMIC_WEAK.
6434 (_dl_dynamic_weak): New variable.
6435 * elf/dl-support.c: Likewise.
6436 * sysdeps/generic/ldsodefs.h: Declare _dl_dynamic_weak.
6437 * elf/do-lookup.h: If we find a weak definition treat it like a
6438 normal symbol unless _dl_dynamic_weak is nonzero. In the latter
6439 case treat it like before.
6441 * elf/dl-addr.c (_dl_addr): Fill in correct information if symbol
6443 * elf/Versions [ld] (GLIBC_2.2): Export _dl_argv.
6445 * elf/dl-addr.c (_dl_addr): Do exact testing of address range
6446 using l_map_start and l_map_end.
6448 * elf/dl-version.c: Add __builtin_expect in many places.
6450 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (x86_cap_flags):
6453 2000-06-04 Kaz Kylheku <kaz@ashi.footprints.net>
6455 Lock for stdio stream list becomes global, for use in LinuxThreads.
6457 * libio/genops.c (_IO_iter_begin, _IO_iter_end,
6458 _IO_iter_next, _IO_iter_file, _IO_list_lock, _IO_list_unlock,
6459 _IO_list_resetlock): New interface for iterating global list of
6460 streams without accessing the _IO_list_all global variable,
6461 and for manipulating the lock which protects this list.
6462 * libio/libioP.h: Likewise.
6463 * libio/Version: Add entries for the new functions.
6465 * libio/libioP.h (_IO_ITER): New typedef, just an alias for
6466 pointer to _IO_FILE.
6468 2000-06-07 Ulrich Drepper <drepper@redhat.com>
6470 * locale/programs/ld-ctype.c (set_class_defaults): Several uses of
6471 BIT() must actually be BITw().
6473 * locale/programs/ld-ctype.c: Handle SP and space consistently.
6475 * locale/programs/charmap.c: Allow string arguments for
6476 code_set_name and repertoiremap.
6478 2000-06-07 Andreas Jaeger <aj@suse.de>
6480 * elf/Makefile: Build ldconfig only when building shared libraries.
6482 2000-06-07 Jakub Jelinek <jakub@redhat.com>
6484 * sysdeps/alpha/fpu/bits/mathinline.h (__fdimf): Only declare if
6486 (fdimf, __fdim, fdim): Likewise.
6488 2000-06-07 Ulrich Drepper <drepper@redhat.com>
6490 * locale/findlocale.c: Add __builtin_expect in many places.
6491 * locale/loadlocale.c: Likewise.
6493 2000-06-06 Greg McGary <greg@mcgary.org>
6495 * sysdeps/mips/elf/start.S: Trim redundant code.
6497 * sysdeps/powerpc/memset.S: Define & use symbolic register names.
6498 Use C comments throughout. Line up operands column with tabs.
6499 * sysdeps/powerpc/strchr.S: Likewise.
6500 * sysdeps/powerpc/strcmp.S: Likewise.
6501 * sysdeps/powerpc/strcpy.S: Likewise.
6502 * sysdeps/powerpc/strlen.S: Likewise.
6504 * sysdeps/unix/sysv/linux/powerpc/brk.S [!PIC]:
6505 Get low part of &__curbrk with @l.
6507 2000-06-06 Ulrich Drepper <drepper@redhat.com>
6509 * iconvdata/utf-16.c: Add __builtin_expect in many places.
6510 * iconvdata/unicode.c: Likewise.
6511 * iconvdata/uhc.c: Likewise.
6512 * iconvdata/t.61.c: Likewise.
6513 * iconvdata/sjis.c: Likewise.
6514 * iconvdata/johab.c: Likewise.
6515 * iconvdata/iso_6937.c: Likewise.
6516 * iconvdata/iso_6937-2.c: Likewise.
6517 * iconvdata/iso8859-1.c: Likewise.
6518 * iconvdata/iso646.c: Likewise.
6519 * iconvdata/iso-2022-kr.c: Likewise.
6520 * iconvdata/iso-2022-jp.c: Likewise.
6521 * iconvdata/iso-2022-cn.c: Likewise.
6522 * iconvdata/gbgbk.c: Likewise.
6523 * iconvdata/gbk.c: Likewise.
6524 * iconvdata/euc-kr.c: Likewise.
6525 * iconvdata/euc-jp.c: Likewise.
6526 * iconvdata/euc-cn.c: Likewise.
6528 2000-06-05 Ulrich Drepper <drepper@redhat.com>
6530 * iconvdata/big5hkscs.c: Add __builtin_expect in many places.
6531 * iconvdata/big5.c: Likewise.
6532 * iconvdata/ansi_x3.110.c: Likewise.
6533 * iconvdata/8bit-generic.c: Likewise.
6534 * iconvdata/8bit-gap.c: Likewise.
6535 * iconv/loop.c: Likewise.
6536 * iconv/gconv_db.c: Likewise.
6537 * iconv/gconv_dl.c: Likewise.
6538 * iconv/gconv_simple.c: Likewise.
6539 * iconv/skeleton.c: Likewise.
6541 * iconv/gconv.h (__GCONV_IS_LAST, __GCONV_IGNORE_ERRORS): Define.
6542 (struct __gconv_step_data): Rename __is_last to __flags.
6543 * iconv/gconv_close.c: Change all uses of __is_last.
6544 * iconv/skeleton.c: Likewise.
6545 * iconvdata/iso-2022-cn.c: Likewise.
6546 * iconvdata/iso-2022-jp.c: Likewise.
6547 * iconvdata/iso-2022-kr.c: Likewise.
6548 * iconv/gconv_open.c: Likewise. Avoid unneeded initializations.
6549 Recognize IGNORE error handling, set flag, and remove from name.
6550 * iconv/loop.c (ignore_errors_p): Define.
6551 Add flags parameter to both functions.
6552 * iconv/skeleton.c: Pass flags to all conversion functions.
6553 * iconv/gconv_simple.c: Add flags parameter to all functions.
6554 Don't return error for invald error if ignore flag is set.
6555 (ucs4_internal_loop_single): Add missing pointer increment.
6556 (internal_ucs4le_loop_single): Likewise.
6557 * iconv/iconv_prog.c: Implement handling of -c parameter.
6558 * iconvdata/8bit-gap.c: Don't return error for invald error if
6560 * iconvdata/8bit-generic.c: Likewise.
6561 * iconvdata/ansi_x3.110.c: Likewise.
6562 * iconvdata/big5.c: Likewise.
6563 * iconvdata/big5hkscs.c: Likewise.
6564 * iconvdata/euc-cn.c: Likewise.
6565 * iconvdata/euc-jp.c: Likewise.
6566 * iconvdata/euc-kr.c: Likewise.
6567 * iconvdata/gbgbk.c: Likewise.
6568 * iconvdata/gbk.c: Likewise.
6569 * iconvdata/iso-2022-cn.c: Likewise.
6570 * iconvdata/iso-2022-jp.c: Likewise.
6571 * iconvdata/iso-2022-kr.c: Likewise.
6572 * iconvdata/iso646.c: Likewise.
6573 * iconvdata/iso8859-1.c: Likewise.
6574 * iconvdata/iso_6937-2.c: Likewise.
6575 * iconvdata/iso_6937.c: Likewise.
6576 * iconvdata/johab.c: Likewise.
6577 * iconvdata/sjis.c: Likewise.
6578 * iconvdata/t.61.c: Likewise.
6579 * iconvdata/uhc.c: Likewise.
6580 * iconvdata/unicode.c: Likewise.
6581 * iconvdata/utf-16.c: Likewise.
6582 * libio/fileops.c: Likewise.
6583 * libio/iofwide.c: Likewise.
6584 * wcsmbs/btowc.c: Likewise.
6585 * wcsmbs/mbrtowc.c: Likewise.
6586 * wcsmbs/mbsnrtowcs.c: Likewise.
6587 * wcsmbs/mbsrtowcs.c: Likewise.
6588 * wcsmbs/wcrtomb.c: Likewise.
6589 * wcsmbs/wcsnrtombs.c: Likewise.
6590 * wcsmbs/wcsrtombs.c: Likewise.
6591 * wcsmbs/wctob.c: Likewise.
6593 * iconvdata/ksc5601.h (ksc5601_to_ucs4): Undo *s change in all cases of
6596 2000-06-04 Ulrich Drepper <drepper@redhat.com>
6598 * iconv/gconv_dl.c (do_release_shlib): Don't reset reference
6599 counter for the object we are releasing, just decrement it.
6600 Patch by Akira Higuchi <a-higuti@math.sci.hokudai.ac.jp>.
6602 2000-06-04 Jakub Jelinek <jakub@redhat.com>
6604 * sysdeps/i386/fpu/bits/mathinline.h: Only inline sinh, cosh and tanh
6607 2000-06-04 Ulrich Drepper <drepper@redhat.com>
6609 * iconvdata/big5hkscs.c: New file.
6610 Modified from big5.c by Roger So <rogerso@sis.dhs.org>.
6612 * iconvdata/gconv-modules: Add entry for new module.
6613 * iconvdata/Makefile (modules): Add BIG5HKSCS.
6614 (distribute): Add big5hkscs.c.
6616 2000-06-01 Jakub Jelinek <jakub@redhat.com>
6618 * libc/sysdeps/alpha/fpu/bits/mathinline.h: Add __THROW to all
6619 inlines to match prototypes in mathcalls.h.
6620 * libc/sysdeps/i386/fpu/bits/mathinline.h: Likewise.
6621 * libc/sysdeps/m68k/fpu/bits/mathinline.h: Likewise.
6622 * libc/sysdeps/powerpc/fpu/bits/mathinline.h: Likewise.
6623 * libc/sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
6625 2000-06-03 Ulrich Drepper <drepper@redhat.com>
6627 * elf/elf.h (SHT_SUNW_move): Define.
6629 * elf/elf.h: Add more Solaris compatiblity definitions.
6631 2000-06-03 Andreas Jaeger <aj@suse.de>
6633 * sysdeps/powerpc/dl-start.S: Close open comment.
6635 2000-06-03 Jakub Jelinek <jakub@redhat.com>
6637 * inet/Versions: Fix typo in rresvport_af export.
6639 2000-06-02 Ulrich Drepper <drepper@redhat.com>
6641 * math/tgmath.h: Pretty print.
6643 2000-06-02 Andreas Jaeger <aj@suse.de>
6645 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Fix typo.
6646 Reported by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
6648 2000-06-02 Ulrich Drepper <drepper@redhat.com>
6650 * elf/rtld.c (process_envvars): Test for = after variable name.
6652 2000-06-01 Ulrich Drepper <drepper@redhat.com>
6654 * sysdeps/generic/initfini.c (_init): One less relocation. Don't
6655 have extra call to __gmon_start__, use the pointer we already have.
6657 * elf/elf.h (ELF64_R_INFO): Cast sym value to Elf64_Xword before
6660 * sysdeps/i386/elf/setjmp.S: Work around change is recent
6661 binutils. gas now emits a jump through the PLT instead of a
6662 relative jump if the jump target is an exported symbol.
6664 2000-05-31 Ulrich Drepper <drepper@redhat.com>
6666 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Define AIX_CBAUD.
6668 2000-05-31 Andreas Jaeger <aj@suse.de>
6670 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Use array for
6673 * sysdeps/unix/sysv/linux/mips/Versions: Export _flush_cache.
6674 Patches by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
6676 * sysdeps/unix/sysv/linux/mips/ftruncate64.c: Fix prototype of
6678 * sysdeps/unix/sysv/linux/mips/truncate64.c: Likewise.
6680 2000-05-30 Ulrich Drepper <drepper@redhat.com>
6682 * sysdeps/unix/sysv/linux/alpha/oldglob.c (__old_glob): Loose __P.
6684 * locale/Versions [libc] (GLIBC_2.2): Add localeconv.
6685 * locale/localeconv.c: Make function versioned (with same definition).
6687 * elf/Makefile (modules-names): Strip before using it.
6689 2000-05-30 Andreas Jaeger <aj@suse.de>
6691 * sysdeps/unix/sysv/linux/mips/truncate64.c: New file.
6692 * sysdeps/unix/sysv/linux/mips/ftruncate64.c: New file.
6693 * sysdeps/unix/sysv/linux/mips/pread64.c: Readded file.
6694 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Readded file.
6695 * sysdeps/unix/sysv/linux/mips/pread.c: Readded file.
6696 * sysdeps/unix/sysv/linux/mips/pwrite.c: Readded file.
6698 2000-05-29 Ulrich Drepper <drepper@redhat.com>
6700 * Makefile: Add GNU make magic.
6702 * inet/Makefile (CFLAGS-rcmd.c, CFLAGS-rexec.c, CFLAGS-ruserpass.c):
6704 * inet/rcmd.c: Remove __P. Remove unused variables.
6705 (iruserfopen): Make first parameter const.
6706 (ruserok_sa): Return result of ruserok2_sa.
6707 (__checkhost_sa): Correctly iterate through results of getaddrinfo.
6708 * inet/rexec.c: Remove unused variables. Other small cleanups.
6709 * inet/ruserpass.c: Remove __P. Remove unused variables.
6710 (ruserpass): Check results of memory allocation.
6711 * include/netdb.h: Add prototype for ruserpass.
6713 2000-05-29 Andreas Jaeger <aj@suse.de>
6715 * elf/readlib.c (interpreters): Use LD_SO since this is supported
6718 2000-05-29 Jakub Jelinek <jakub@redhat.com>
6720 * inet/rcmd.c (rresvport_af): Use correct port number.
6722 2000-05-26 Andreas Schwab <schwab@suse.de>
6724 * Makeconfig ($(common-objpfx)soversions.mk): Prepend `$lib=' to
6725 entries in all-sonames.
6726 ($(common-objpfx)gnu/lib-names.h): Use it for the CPP symbol,
6727 preserving the old name if different for compatibility.
6729 2000-05-29 Ulrich Drepper <drepper@redhat.com>
6731 * posix/Makefile (tests): Add tst-spawn.
6732 (tst-spawn-ARGS): New variable.
6733 * posix/tst-spawn.c: New file.
6735 * posix/spawn_faction_addclose.c: Correctly account for new entry.
6736 * posix/spawn_faction_adddup2.c: Likewise.
6737 * posix/spawn_faction_addopen.c: Likewise.
6738 * posix/spawni.c: Correctly test for success of dup2 calls.
6740 * posix/tst-preadwrite.c: Check success of malloc call.
6742 2000-05-28 Ulrich Drepper <drepper@redhat.com>
6744 * posix/Makefile (tests): Add tst-exec.
6745 (tst-exec-ARGS): New variable.
6746 * posix/tst-exec.c: New file.
6748 * sysdeps/arm/atomicity.h (compare_and_swap): Return result.
6750 2000-05-04 Andreas Jaeger <aj@suse.de>
6752 * string/string.h: Remove __strdup prototype, it's not needed in
6755 2000-05-28 Ulrich Drepper <drepper@redhat.com>
6757 * posix/Makefile (tests): Add tst-fork.
6758 * posix/tst-fork.c: New file.
6760 * resolv/inet_pton.c: Loose __P.
6762 2000-05-21 Jakub Jelinek <jakub@redhat.com>
6764 * libio/libioP.h (_IO_CHECK_WIDE): Define.
6765 * libio/iosetbuffer.c (_IO_setbuffer): Use it.
6766 * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
6767 * libio/fileops.c (_IO_new_file_fopen): Return NULL if
6768 _IO_CHECK_WIDE fails.
6770 2000-05-28 Ulrich Drepper <drepper@redhat.com>
6772 * po/da.po: New file.
6774 * manual/arith.texi (Rounding Functions): Fix documentation of trunc.
6775 Patch by Steven G. Johnson <stevenj@gil-galad.mit.edu>.
6777 * manual/charset.texi (Extended Char Intro): Fix typo (and -> as).
6778 (Other iconv Implementations): Fix typo.
6779 Patch by Martin Pool <mbp@wistful.humbug.org.au>.
6781 2000-05-27 Andreas Jaeger <aj@suse.de>
6783 * sysdeps/unix/sysv/linux/i386/pread.c: Removed, we can use the
6785 * sysdeps/unix/sysv/linux/i386/pwrite.c: Likewise.
6786 * sysdeps/unix/sysv/linux/i386/pwrite64.c: Likewise.
6787 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
6788 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
6789 * sysdeps/unix/sysv/linux/arm/pread.c: Likewise.
6790 * sysdeps/unix/sysv/linux/arm/pwrite.c: Likewise.
6792 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Check
6793 endianness to decide how to pass arguments.
6794 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
6796 * elf/vismain.c: Use test-skeleton interface.
6797 (TEST_FUNCTION): New macro.
6798 (do_test): Renamed from main.
6800 2000-05-27 Ulrich Drepper <drepper@redhat.com>
6802 * sysdeps/posix/getaddrinfo.c (gaih_inet): If req->ai_family ==
6803 AF_UNSPEC don't allow the IPv6 lookup to return mapped IPv4 addresses.
6805 * nss/nss_files/files-hosts.c (LINE_PARSER): Simplify. Correct
6806 handling of AI_V4MAPPED flag.
6808 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname2_r): If lookup
6809 of IPv6 address failed and RES_USE_INET6 bit in _res.options is set,
6810 perform lookup for T_A type and tell getanswer_r to convert the
6811 result with new argument.
6812 (_nss_dns_gethostbyaddr_r): Pass zero as new argument to getanswer_r.
6813 Don't convert addresses from IPv4 to IPv6 here.
6814 (getanswer_r): Take new parameter indicating if mapping from IPv4 to
6815 IPv6 is wanted. Allow qtype and type from reply to disagree if
6816 IPv4 mapping has to be done. Perform mappings if required by the
6817 caller and not if RES_USE_INET6 bit in _res.options is set.
6818 Add several __builtin_expect.
6820 2000-05-26 Ulrich Drepper <drepper@redhat.com>
6822 * catgets/open_catalog.c (__open_catalog): Add a few __builtin_expect.
6824 * elf/dl-load.c (_dl_map_object): Don't ignore RPATHs if loader ==
6827 * posix/tst-preadwrite.c: Allow parallel execution of
6828 tst-preadwrite and tst-preadwrite64.
6830 * posix/Makefile (tests): Add tst-truncate and tst-truncate64.
6831 * posix/tst-truncate.c: New file.
6832 * posix/tst-truncate64.c: New file.
6834 * sysdeps/unix/sysv/linux/pread64.c: The little/big endian code
6837 * posix/Makefile (tests): Add tst-preadwrite64.
6838 * posix/tst-preadwrite.c: Alloc file being used also for testing
6839 pread64 and pwrite64.
6840 * posix/tst-preadwrite64.c: New file.
6842 2000-05-26 Andreas Jaeger <aj@suse.de>
6844 * sysdeps/unix/sysv/linux/ftruncate64.c (ftruncate64): Make order
6845 of arguments dependend on endianness.
6846 * sysdeps/unix/sysv/linux/truncate64.c: Likewise.
6848 * sysdeps/unix/sysv/linux/i386/pread64.c: Removed, we can use the
6850 * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
6851 * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
6852 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
6853 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
6855 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Check
6856 endianness to check how to pass argument.
6857 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
6859 * elf/ldconfig.h: Update parameter list for process_elf_file.
6861 * sysdeps/unix/sysv/linux/sparc/readelflib.c (process_elf_file):
6862 Add parameter file_length and pass it ot process_elf*file.
6864 * sysdeps/generic/readelflib.c (check_ptr): New.
6865 (process_elf_file): Use check_ptr to check all accesses to the
6866 mmapped file. Add parameter file_length.
6868 * elf/readlib.c (known_libs): Use <gnu/lib-names.h> to specify
6871 * sunrpc/xdr_intXX_t.c (xdr_uint8_t): Fix conversion.
6872 Closes PR libc/1573, reported by Bradley White
6873 <bww@laurelnetworks.com>.
6875 2000-05-25 Ulrich Drepper <drepper@redhat.com>
6877 * sysdeps/i386/fpu/bits/mathinline.h: Define expm1 inline only if
6878 __FAST_MATH__ is defined.
6880 2000-05-22 Andreas Jaeger <aj@suse.de>
6882 * math/Makefile: Add -D__FAST_MATH__ to CFLAGS-test-ifloat.c,
6883 CFLAGS-test-idouble.c, CFLAGS-test-ildoubl.c.
6885 * manual/math.texi (FP Function Optimizations): Document gcc
6886 -ffast-math behaviour with mathinlines.
6888 * sysdeps/i386/fpu/bits/mathinline.h: Only use save inline
6889 functions unless -ffast-math is given to gcc.
6891 2000-05-23 Jakub Jelinek <jakub@redhat.com>
6893 * sysdeps/i386/fpu/bits/mathinline.h (__sincos, __sincosf,
6894 __sincosl): Guard with __USE_GNU.
6896 2000-05-24 Ulrich Drepper <drepper@redhat.com>
6898 * csu/Makefile (routines): Add check_fds.
6899 * elf/rtld.c (dl_main): Call __libc_check_standard_fds for SUID
6900 binaries. Add various __builtin_expect.
6901 * sysdeps/generic/libc-start.c: Move check_fds and helper functions...
6902 * sysdeps/generic/check_fds.c: ...here. New file.
6904 * malloc/malloc.c (ptmalloc_init): Only enable debugging for SUID
6905 binaries if file /etc/suid-debug is available.
6907 * locale/programs/ld-collate.c (struct element_t): Add mbseqorder
6908 and wcseqorder members.
6909 (struct locale_collate_t): Likewise.
6910 (collate_finish): Assign collation sequence value to each character.
6911 Create tables for output.
6912 (collate_output): Write out tables with collation sequence information.
6913 * locale/C-collate.c: Provide C locale data for collation sequence
6915 * locale/langinfo.h: Add _NL_COLLATE_COLLSEQMB and
6916 _NL_COLLATE_COLLSEQWC.
6917 * locale/categories.def: Add entries for _NL_COLLATE_COLLSEQMB and
6918 _NL_COLLATE_COLLSEQWC.
6919 * posix/fnmatch.c: Define SUFFIX and WIDE_CHAR_VERSION before
6920 include fnmatch_loop.c.
6921 * posix/fnmatch_loop.c: Don't use strcoll while determining whether
6922 character is matched by range expression. Use collation sequence
6923 table. Outside glibc fall back on simple character value comparison.
6925 2000-05-24 Andreas Jaeger <aj@suse.de>
6927 * sysdeps/mips/elf/start.S (ENTRY_POINT): Align stack for double
6930 * intl/Makefile: Run gettext-test only if msgfmt is available.
6932 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_LDT_WORKS):
6933 Define it for newer kernels.
6935 2000-05-23 Ulrich Drepper <drepper@redhat.com>
6937 * elf/dl-sym.c: Minor cleanups.
6939 * configure.in: Add test for .protected.
6940 * config.make.in: Add have-protected variable.
6941 * elf/Makefile (tests): Add $(tests-vis-$(have-protected)).
6942 (tests-vis-yes): Add vismain.
6943 (modules-names): Add $(modules-vis-$(have-protected)).
6944 (modules-vis-yes): Add vismod1, vismod2, and vismod3.
6945 Add rules to generate and run vismain.
6946 * elf/vismain.c: New file.
6947 * elf/vismod1.c: New file.
6948 * elf/vismod2.c: New file.
6949 * elf/vismod3.c: New file.
6951 2000-05-23 Andreas Jaeger <aj@suse.de>
6953 * stdio-common/tfformat.c (sprint_doubles): Add testcase for %a.
6955 * manual/search.texi (Array Sort Function): Document that qsort is
6956 not necessarily in-place.
6958 * sunrpc/rpc_main.c (parseargs): Don't accept -M and -N.
6959 Closes PR libc/1731.
6961 * csu/munch-tmpl.c (__libc_init): Remove K&R support.
6962 * dirent/scandir64.c: Likewise.
6963 * pwd/getpw.c: Likewise.
6964 * stdlib/bsearch.c (bsearch): Likewise.
6965 * stdlib/tst-strtoll.c: Likewise.
6966 * localedata/collate-test.c: Likewise.
6967 * localedata/xfrm-test.c: Likewise.
6968 * posix/bsd-getpgrp.c: Likewise.
6969 * sysdeps/alpha/fpu/bits/fenv.h: Likewise.
6970 * sysdeps/generic/bits/siginfo.h: Likewise.
6971 * sysdeps/generic/bits/sockaddr.h: Likewise.
6972 * sysdeps/generic/sys/swap.h: Likewise.
6973 * sysdeps/generic/sys/sysinfo.h: Likewise.
6974 * sysdeps/generic/vfork.c: Likewise.
6975 * sysdeps/m68k/fpu/switch/68881-sw.h: Likewise.
6976 * sysdeps/mach/hurd/fdopen.c: Likewise.
6977 * sysdeps/unix/sysv/linux/alpha/sys/acct.h: Likewise.
6978 * sysdeps/unix/sysv/linux/poll.c: Likewise.
6979 * sysdeps/unix/sysv/linux/readv.c: Likewise.
6980 * sysdeps/unix/sysv/linux/writev.c: Likewise.
6981 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
6982 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
6983 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
6985 * misc/tst-dirname.c: Remove K&R support, use ANSI C prototypes.
6986 * shadow/lckpwdf.c: Likewise.
6987 * stdlib/tst-strtol.c: Likewise.
6988 * sysdeps/generic/tcsetattr.c: Likewise.
6989 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
6990 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
6992 2000-05-22 Jakub Jelinek <jakub@redhat.com>
6994 * elf/dl-load.c (_dl_init_paths): If env_path_list has 0 elements,
6995 free it and set to (void *) -1.
6997 2000-05-22 Jakub Jelinek <jakub@redhat.com>
6999 * stdio-common/vfscanf.c (__vfscanf): Remove bogus check if '-' is
7000 not the second character in the range.
7001 * stdio-common/tstscanf.c (main): Add testcase for the above.
7002 Reported by jik@kamens.brookline.ma.us.
7004 2000-05-21 H.J. Lu <hjl@gnu.org>
7006 * elf/do-lookup.h (do_lookup_versioned): Replace reloc_type parameter
7007 with noexec and noplt parameter.
7008 (do_lookup): Likewise.
7010 * elf/dl-lookup.c (_dl_lookup_symbol): Change for new parameters of
7011 do_lookup. Support STV_PROTECTED.
7012 (_dl_lookup_symbol_skip): Likewise.
7013 (_dl_lookup_versioned_symbol): Likewise.
7014 (_dl_lookup_versioned_symbol_skip): Likewise.
7016 * elf/dl-reloc.c (RESOLVE): Check STB_LOCAL instead of ST_VISIBILITY.
7018 * elf/dl-runtime.c (profile_fixup): Fix a typo in comment.
7020 2000-05-21 Jakub Jelinek <jakub@redhat.com>
7022 * sysdeps/arm/bits/huge_val.h: Prereq gcc 2.96+, not 2.95.
7023 * sysdeps/i386/bits/huge_val.h: Likewise.
7024 * sysdeps/ieee754/bits/huge_val.h: Likewise.
7025 * sysdeps/m68k/bits/huge_val.h: Likewise.
7026 * sysdeps/sparc/sparc32/bits/huge_val.h: Likewise.
7027 * sysdeps/sparc/sparc64/bits/huge_val.h: Likewise.
7029 2000-05-22 Andreas Jaeger <aj@suse.de>
7031 * iconv/tst-iconv1.c (main): Remove const from inbuf to follow
7034 2000-05-19 Andreas Jaeger <aj@suse.de>
7036 * sysdeps/unix/sysv/linux/i386/i686/sysdep.h
7037 (SYSCALL_ERROR_HANDLER): Remove unneeded syscall_error which
7038 breaks compilation without linuxthreads.
7040 2000-05-21 Ulrich Drepper <drepper@redhat.com>
7042 * sysdeps/ia64/memccpy.S: New file.
7043 * sysdeps/ia64/memchr.S: New file.
7044 * sysdeps/ia64/memcmp.S: New file.
7045 * sysdeps/ia64/memcpy.S: New file.
7046 * sysdeps/ia64/memmove.S: New file.
7047 * sysdeps/ia64/memset.S: New file.
7048 * sysdeps/ia64/strcat.S: New file.
7049 * sysdeps/ia64/strchr.S: New file.
7050 * sysdeps/ia64/strcmp.S: New file.
7051 * sysdeps/ia64/strcpy.S: New file.
7052 * sysdeps/ia64/strlen.S: New file.
7053 * sysdeps/ia64/strncmp.S: New file.
7054 * sysdeps/ia64/strncpy.S: New file.
7055 * sysdeps/ia64/softpipe.h: New file.
7056 Patches by Dan Pop <Dan.Pop@cern.ch>.
7058 * manual/memory.texi: Document memory handling functions (mlock,
7059 munlock, mlockall, munlockall, brk, and sbrk)
7060 * manual/time.texi: Document timespec and friends.
7061 * manual/conf.texi: Fix references.
7062 * manual/ctype.texi: Likewise.
7063 * manual/errno.texi: Likewise.
7064 * manual/intro.texi: Likewise.
7065 * manual/locale.texi: Likewise.
7066 * manual/sysinfo.texi: Likewise.
7067 Patches by Bryan Henderson <bryanh@giraffe-data.com>.
7069 2000-05-09 Jes Sorensen <jes@linuxcare.com>
7071 * sysdeps/ia64/dl-machine.h: Move DL_SYMBOL_ADDRESS definition to...
7072 * sysdeps/ia64/dl-lookupcfg.h: ...here.
7074 2000-05-21 Jakub Jelinek <jakub@redhat.com>
7076 * sysdeps/unix/sysv/linux/scsi/sg.h (sg_io_hdr_t): Remove duplicate
7079 2000-05-21 Ulrich Drepper <drepper@redhat.com>
7081 * locale/locale.h (struct lconv): Add new elements from ISO C99.
7082 * locale/localeconv.c: Initialize new elements from ISO C99.
7083 * locale/langinfo.h: Remove _NL_MONETARY prefix from descriptors for
7084 new standard elements.
7085 * locale/categories.def: Adjust accordingly.
7087 * iconv/iconv.h (iconv): Remove const from inbuf parameter.
7088 * iconv/iconv.c: Likewise.
7089 * conform/data/iconv.h-data: Likewise.
7090 * iconv/iconv_prog.c (process_block): Remove const from second
7092 (main): Remove const from addr definition.
7093 * manual/charset.texi (Generic Conversion Interface): Remove from
7094 inbuf parameter of iconv.
7096 * intl/dcigettext.c: Fix typo in comment.
7098 2000-05-20 2000 H.J. Lu <hjl@gnu.org>
7100 * resolv/res_libc.c (_res): Initialize _sock to -1.
7102 2000-05-18 Jakub Jelinek <jakub@redhat.com>
7104 * libio/iofopncook.c (_IO_fopencookie): Renamed from fopencookie.
7105 (fopencookie@@GLIBC_2.2): New.
7106 (_IO_old_cookie_seek, _IO_old_fopencookie, _IO_old_cookie_jumps): New.
7107 (fopencookie@GLIBC_2.0): New.
7108 * libio/Versions: Add fopencookie to GLIBC_2.2.
7110 2000-05-18 Andreas Jaeger <aj@suse.de>
7112 * sunrpc/rpc_main.c (parseargs): Don't accept -M and -N.
7113 Closes PR libc/1731.
7115 * manual/arith.texi (Parsing of Integers): Fix typo.
7116 Closes PR libc/1744, reported by blp@gnu.org.
7118 2000-05-17 Jakub Jelinek <jakub@redhat.com>
7120 * sysdeps/arm/bits/huge_val.h (HUGE_VAL, HUGE_VALF): Add
7121 __extension__ to hexadecimal floating constant notation.
7122 * sysdeps/i386/bits/huge_val.h (HUGE_VAL, HUGE_VALF, HUGE_VALL):
7124 * sysdeps/ieee754/bits/huge_val.h (HUGE_VAL, HUGE_VALF): Likewise.
7125 * sysdeps/m68k/bits/huge_val.h (HUGE_VAL, HUGE_VALF, HUGE_VALL):
7127 * sysdeps/sparc/sparc64/bits/huge_val.h (HUGE_VAL, HUGE_VALF,
7128 HUGE_VALL): Likewise.
7129 * sysdeps/sparc/sparc32/bits/huge_val.h (HUGE_VAL, HUGE_VALF,
7130 HUGE_VALL): Likewise.
7131 (HUGE_VALL): Set to HUGE_VAL on sparc32.
7133 2000-05-17 Andreas Jaeger <aj@suse.de>
7135 * string/envz.h: Add pure attributes if possible.
7137 * string/argz.h: argz_count is a pure function.
7139 * string/strings.h: Add pure and const attributes if possible.
7141 * sysdeps/generic/memmem.c (memmem): Check arguments to avoid
7142 possibly searching through the whole memory.
7143 Closes PR libc/1730, reported by Greg Hudson <ghudson@mit.edu>.
7145 2000-05-17 Jakub Jelinek <jakub@redhat.com>
7147 * sysdeps/generic/dl-cache.h (_DL_CACHE_DEFAULT_ID): Only define if
7149 (_dl_cache_check_flags): Likewise.
7150 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-cache.h: include_next
7153 2000-05-17 Andreas Jaeger <aj@suse.de>
7155 * manual/creature.texi (Feature Test Macros): Remove paragraph
7156 since the description is wrong.
7157 Closes PR libc/1691, reported by Geoff Clare <gwc@unisoft.com>.
7159 * scripts/config.sub: New version.
7160 * scripts/config.guess: Likewise.
7161 * manual/texinfo.tex: Likewise.
7163 * time/test_time.args: Removed.
7164 * time/Makefile (test_time-ARGS): Added contents here instead.
7166 * posix/tstgetopt.args: Removed.
7167 * posix/Makefile (tstgetopt-ARGS): Added contents here instead.
7169 * Rules: Allow arguments for test files to be specified in
7170 Makefile with testname-ARGS; remove rules with .args in it.
7172 * dirent/Makefile (opendir-tst1-ARGS): Use this for opendir-tst1,
7173 remove old bogus rule for opendir-tst1.args.
7175 * stdlib/test-canon.c: Rewrite to use test-skeleton.c.
7177 * stdlib/Makefile (test-canon-ARGS): New, supply argument to chdir
7178 into objdir. This allows a readonly sourcetree.
7179 Reported by lrgallardo@yahoo.com, closes PR libc/1421.
7181 2000-05-16 Andreas Jaeger <aj@suse.de>,
7182 David Huggins-Daines <dhd@linuxcare.com>
7184 * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Set
7185 cache_data in case of only new cache format correctly.
7187 * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Align struct
7190 * sysdeps/generic/dl-cache.h (ALIGN_CACHE): New macro to align
7191 struct cache_file_new.
7193 * elf/cache.c (save_cache): Fix str_offset if only new cache is
7196 * elf/cache.c (save_cache): Align struct new_file_cache.
7197 (print_cache): Likewise.
7199 2000-05-13 Jakub Jelinek <jakub@redhat.com>
7201 * elf/soinit.c (__libc_global_ctors): Move
7202 __pthread_initialize_minimal call out of HAVE_DWARF2_* defines.
7203 * resolv/resolv.h (__res_state): Added __attribute__((const)).
7204 (_res): If __RES_PTHREAD_INTERNAL is defined, declare it as
7205 variable, don't define it to __res_state call.
7207 2000-05-13 Andreas Jaeger <aj@suse.de>
7209 * sysdeps/unix/sysv/linux/bits/socket.h (PF_PPPOX): New, from
7211 (AF_PPPOX): Likewise.
7212 * sysdeps/unix/sysv/linux/mips/bits/socket.h (PF_PPPOX): Likewise.
7213 (AF_PPPOX): Likewise.
7215 2000-05-12 Andreas Jaeger <aj@suse.de>
7217 * inet/netinet/in.h (IN6_ARE_ADDR_EQUAL): Correct indices.
7218 Reported by tmoestl@gmx.net, closes PR libc/1732.
7220 2000-05-11 Jan Hubicka <jh@suse.cz>
7222 * misc/sys/cdefs.h: Add support for pure attribute.
7224 * include/string.h: Add __attribute_pure__ to various functions.
7225 * string/string.h: Likewise.
7227 2000-05-10 Jakub Jelinek <jakub@redhat.com>
7229 * elf/dl-reloc.c (_dl_reloc_bad_type): Sync messages with plt
7231 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
7233 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: New file.
7235 2000-05-10 Jakub Jelinek <jakub@redhat.com>
7237 * elf/dl-reloc.c (_dl_reloc_bad_type): Write type into the message
7238 at proper place. Compute the high nibble correctly.
7240 2000-05-09 Jakub Jelinek <jakub@redhat.com>
7242 * elf/ldconfig.c: Include elf.h.
7244 * elf/dl-sym.c (_dl_sym): Test ref not result for non-zero.
7245 (_dl_vsym): Likewise.
7246 Reported by Owen Taylor <otaylor@redhat.com>.
7248 * elf/dl-deps.c (_dl_map_object_deps): Zero terminate L->l_initfini
7251 2000-05-08 Andreas Jaeger <aj@suse.de>
7253 * include/libintl.h: Add prototype for __bind_textdomain_codeset.
7255 * intl/bindtextdom.c (set_binding_values): Add prototype.
7257 2000-05-08 Jakub Jelinek <jakub@redhat.com>
7259 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Fix arguments in
7260 call to elf_machine_fixup_plt.
7261 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
7262 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
7264 2000-05-08 Jakub Jelinek <jakub@redhat.com>
7266 * elf/dl-fini.c (_dl_fini): Bump l_opencount of all objects so that
7267 they are not dlclose'd from underneath us.
7269 2000-05-08 Andreas Schwab <schwab@suse.de>
7271 * posix/execle.c: Fix size parameter of memcpy.
7273 2000-05-08 Andreas Schwab <schwab@suse.de>
7275 * sysdeps/unix/sysv/linux/m68k/getpagesize.c: New file. Use
7276 getpagesize syscall if available.
7278 2000-05-08 Andreas Jaeger <aj@suse.de>
7280 * sysdeps/generic/lockf64.c (lockf64): Return -1 for overflow and
7283 2000-05-08 Jakub Jelinek <jakub@redhat.com>
7285 * elf/dl-lookup.c (add_dependency): Reallocate l_reldeps in
7286 sizeof(struct link_map *) chunks, not in bytes.
7288 2000-05-07 Ulrich Drepper <drepper@redhat.com>
7290 * locale/Makefile (locale-CPPFLAGS): Renamed from CPPFLAGS. It's
7291 only needed for locale.
7292 * catgets/Makefile (catgets-CPPFLAGS): Renamed from CPPFLAGS.
7293 It's only needed for catgets.
7294 Patches by Greg McGary <gkm@eng.ascend.com>.
7296 2000-05-07 Mark Kettenis <kettenis@gnu.org>
7298 * nss/nss_db/db-open.c: Cleanup and add comments. Pretty print.
7299 Remove duplicate <errno.h> include. Remove inclusion of
7300 <libintl.h> and "nsswitch.h".
7301 (set_cloexec_flag): New function, broken out of dbopen.
7302 (dbopen): Changed return type to `enum
7303 nss_status'. Mostly rewritten to make sure that we do not report
7304 NSS_STATUS_SUCCESS if something went wrong. Remove unnecessary casts.
7305 (internal_setent): Change return type to nss_status.
7306 Document, and make sure that the function
7307 behaves accordingly. Make dynamically loading the database
7308 library really thread-safe and return NSS_STATUS_UNAVAIL if it
7310 (db_cursor): Return ENOMEM is memory allocation failed. Remove
7312 * nss/nss_db/dummy-db.h: Add copyright notice. Improve
7314 (struct dbc24, struct dbc27): Use DBT type in parameter lists for
7315 c_get function member.
7316 * nss/nss_db/nss_db.h: Add and tweak some comments.
7317 (DBT): Move typedef before NSS_DBC typedef.
7318 (NSS_DBC, NSS_DB): Use DBT in function member parameter lists.
7320 2000-05-07 H.J. Lu <hjl@gnu.org>
7322 * csu/initfini.c: Moved to ....
7323 * sysdeps/generic/initfini.c: ...here.
7325 * csu/Makefile (initfini.c): Set vpath to $(full_config_sysdirs).
7327 2000-05-07 Ulrich Drepper <drepper@redhat.com>
7329 * manual/resource.texi: Document POSIX scheduling functions.
7330 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
7332 * inet/rcmd.c (rcmd_af): errno is not set if read returns without
7333 reading anything. Reported by Andries.Brouwer@cwi.nl.
7335 * sysdeps/generic/memccpy.c (__memccpy): Don't use reg_char type
7336 for x since promotion in comparison might leads to unexpected
7337 results. Reported by Dan Pop <Dan.Pop@cern.ch>.
7339 * iconv/Makefile (tests): Add tst-iconv1.
7340 * iconv/tst-iconv1.c: New file.
7341 * iconv/gconv_simple.c (internal_ucs4_loop): Prefer reporting
7342 empty input buffer over full output buffer.
7343 (ucs4_internal_loop): Likewise.
7344 (ucs4_internal_loop_unaligned): Likewise.
7345 (internal_ucs4le_loop): Likewise.
7346 (internal_ucs4le_loop_unaligned): Likewise.
7347 (ucs4le_internal_loop): Likewise.
7348 (ucs4le_internal_loop_unaligned): Likewise.
7349 Reported by yaoz@nih.gov.
7351 2000-05-06 Bruno Haible <haible@clisp.cons.org>
7353 * iconv/gconv_open.c (__gconv_open): If __gconv_find_transform
7354 returned != __GCONV_OK, there is nothing to clean up.
7356 2000-05-06 Bruno Haible <haible@clisp.cons.org>
7358 * intl/tst-gettext.c (main): Disable possibly existing LC_CTYPE and
7359 OUTPUT_CHARSET environment variables.
7361 2000-05-06 Andreas Jaeger <aj@suse.de>
7363 * sysdeps/generic/dl-cache.h (struct file_entry_new): New.
7364 (struct cache_file_new): New.
7365 (struct file_entry): New (moved from cache.c).
7366 (struct cache_file): New (moved from cache.c).
7368 * sysdeps/generic/dl-cache.c (SEARCH_CACHE): New macro, broken out
7369 from _dl_load_cache_lookup.
7370 (_dl_load_cache_lookup): Move search to SEARCH_CACHE macro, handle
7371 the different cache formats.
7372 New variable cache_new for new format.
7374 * elf/ldconfig.h: Change according to changes in cache.c and
7375 ldconfig.c; remove cache_libcmp; add opt_format.
7377 * elf/ldconfig.c: Include "dl-cache.h" and "dl-procinfo.h"; remove
7378 stuff that's defined in those headers.
7379 Add hwcap to struct lib_entry.
7380 (opt_format): New variable to select cache format.
7381 (options): Add format parameter.
7382 (is_hwcap): New function.
7383 (path_hwcap): New function.
7384 (parse_opt): Handle new format parameter.
7385 (search_dir): Handle hwcap, search also subdirectories with hwcap.
7387 * elf/cache.c (_GNU_SOURCE): Removed. Not needed anymore since
7388 ldconfig is part of glibc.
7389 Include dl-cache.h and remove stuff that's defined there.
7390 (struct cache_entry): Add new member hwcap.
7391 (print_entry): Print hwcap, cleanup a bit.
7392 (print_cache): Print new and old formats.
7393 (compare): Use _dl_cache_libcmp from dl-cache.h; handle hwcap.
7394 (save_cache): Save new and old formats.
7395 (add_to_cache): Handle hwcap.
7397 * sysdeps/generic/dl-cache.c (_dl_cache_libcmp): Moved from here...
7398 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): ...to here.
7399 * sysdeps/generic/dl-cache.c (LD_SO_CACHE): Moved from here...
7400 * sysdeps/generic/dl-cache.h (LD_SO_CACHE): ...to here.
7401 * sysdeps/generic/dl-cache.c (CACHEMAGIC): Moved from here...
7402 * sysdeps/generic/dl-cache.h (CACHEMAGIC): ...to here.
7404 2000-05-05 Bruno Haible <haible@clisp.cons.org>
7406 * intl/dcigettext.c (alignof): New macro.
7407 (_nl_find_msg): Use it instead of __alignof__. Pass correct output
7408 buffer length to __gconv/iconv. If malloc (freemem_size) fails, set
7411 2000-05-05 Bruno Haible <haible@clisp.cons.org>
7413 * intl/dcigettext.c (dcigettext): Fix interpretation of tsearch
7416 2000-05-06 Ulrich Drepper <drepper@redhat.com>
7418 * intl/dcigettext.c (DCIGETTEXT): Always define local variable `index'.
7419 (mempcpy): Correct typo is parameter list.
7421 2000-05-06 Andreas Jaeger <aj@suse.de>
7423 * sysdeps/i386/fpu/bits/mathinline.h: Disable some inline
7424 functions unless -ffast-math is given to gcc.
7426 2000-05-06 Ulrich Drepper <drepper@redhat.com>
7428 * po/ko.po: Update from translation team.
7430 2000-05-05 Ulrich Drepper <drepper@redhat.com>
7432 * sysdeps/unix/sysv/aix/linux/errnoconv.c: Moved to...
7433 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: ...here.
7434 * sysdeps/unix/sysv/aix/linux/statconv.c: Moved to...
7435 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: ...here.
7436 * sysdeps/unix/sysv/aix/linux/direntconv.c: Moved to...
7437 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: ...here.
7439 * sysdeps/unix/sysv/aix/linux/linux-errno.h: Removed.
7440 * sysdeps/unix/sysv/aix/linux/linux-stat.h: Removed
7441 * sysdeps/unix/sysv/aix/linux/linux-dirent.h: Removed.
7443 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: New file.
7444 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: New file.
7445 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: New file.
7446 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: New file.
7448 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: New file.
7449 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: New file.
7451 2000-05-05 Jes Sorensen <jes@linuxcare.com>
7453 * sysdeps/unix/sysv/linux/ia64/sysdep.h: New file.
7454 * sysdeps/unix/sysv/linux/ia64/syscall.S: New file.
7456 * sysdeps/unix/sysv/linux/ia64/bits/types.h: New file.
7457 * sysdeps/unix/sysv/linux/ia64/bits/endian.h: New file.
7459 * sysdeps/ia64/Implies: New file.
7460 * sysdeps/ia64/Versions: New file. Declare _dl_symbol_address.
7461 * sysdeps/ia64/Makefile: New file.
7462 * sysdeps/ia64/gmp-mparam.h: New file,
7464 * sysdeps/ia64/elf/start.S: New file.
7466 * sysdeps/ia64/bits/fenv.h: New file.
7468 2000-05-05 David Mosberger-Tang <davidm@hpl.hp.com>
7470 * sysdeps/unix/sysv/linux/ia64/sysdep.S: New file.
7472 2000-04-26 Jes Sorensen <Jes.Sorensen@cern.ch>
7474 * sysdeps/unix/sysv/linux/ia64/bits/elfclass.h: New file. The
7475 ia64 has 64 bit .hash entries just as the Alpha.
7477 2000-04-25 Jes Sorensen <Jes.Sorensen@cern.ch>
7479 * sysdeps/ia64/memprof.h: New file. Provide GETSP() macro.
7481 2000-04-17 Jes Sorensen <Jes.Sorensen@cern.ch>
7483 * sysdeps/ia64/fpu/fclrexcpt.c: New file.
7484 * sysdeps/ia64/fpu/fedisblxcpt.c: New file.
7485 * sysdeps/ia64/fpu/feenablxcpt.c: New file.
7486 * sysdeps/ia64/fpu/fegetenv.c: New file.
7487 * sysdeps/ia64/fpu/fegetexcept.c: New file.
7488 * sysdeps/ia64/fpu/fegetround.c: New file.
7489 * sysdeps/ia64/fpu/feholdexcpt.c: New file.
7490 * sysdeps/ia64/fpu/fesetenv.c: New file.
7491 * sysdeps/ia64/fpu/fesetround.c: New file.
7492 * sysdeps/ia64/fpu/feupdateenv.c: New file.
7493 * sysdeps/ia64/fpu/fgetexcptflg.c: New file.
7494 * sysdeps/ia64/fpu/fraiseexcpt.c: New file.
7495 * sysdeps/ia64/fpu/fsetexcptflg.c: New file.
7496 * sysdeps/ia64/fpu/ftestexcept.c: New file.
7498 2000-05-05 Andreas Jaeger <aj@suse.de>
7500 * misc/tst-tsearch.c (main): Correct type for initstate argument.
7502 * sysdeps/generic/dl-procinfo.h (_DL_HWCAP_COUNT): New.
7503 (_dl_string_hwcap): New, does nothing.
7505 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (_DL_HWCAP_COUNT): New.
7506 (_dl_procinfo): Use _DL_HWCAP_COUNT instead of a constant.
7507 (_dl_string_hwcap): New function, converts from string to hwcap
7509 * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h
7510 (_DL_HWCAP_COUNT): New.
7511 (_dl_procinfo): Use _DL_HWCAP_COUNT instead of a constant.
7512 (_dl_string_hwcap): New function, converts from string to hwcap
7514 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h
7515 (_DL_HWCAP_COUNT): New.
7516 (_dl_procinfo): Use _DL_HWCAP_COUNT instead of a constant.
7517 (_dl_string_hwcap): New function, converts from string to hwcap
7520 2000-05-05 Ulrich Drepper <drepper@redhat.com>
7522 * elf/Makefile (distribute): Add dl-lookupcfg.h.
7523 * sysdeps/ia64/Dist: New file.
7525 * elf/dl-load.c (_dl_map_object_from_fd): Little of computation of
7526 parameter to mprotect and for variable assignments.
7528 2000-05-03 Jes Sorensen <jes@linuxcare.com>
7530 * sysdeps/generic/ldsodefs.h (LOOKUP_VALUE_ADDRESS): Check the
7531 validity of map before dereferencing it.
7533 * elf/dl-reloc.c (RESOLVE_MAP): Define.
7535 2000-05-02 Jes Sorensen <jes@linuxcare.com>
7537 * elf/dl-runtime.c (fixup): Add the value returned in the symbol
7538 lookup to the arguments to elf_machine_fixup_plt().
7540 * sysdeps/ia64/dl-machine.h (elf_machine_fixup_plt): Add Link_map
7541 of the symbol being resolved to input argument list and make the
7542 function return the pointer to the reloc.
7544 * sysdeps/alpha/dl-machine.h (elf_machine_fixup_plt): Change
7545 return valuie to lookup_t and return the value.
7546 * sysdeps/arm/dl-machine.h (elf_machine_fixup_plt): Likewise.
7547 * sysdeps/generic/dl-machine.h (elf_machine_fixup_plt): Likewise.
7548 * sysdeps/i386/dl-machine.h (elf_machine_fixup_plt): Likewise.
7549 * sysdeps/m68k/dl-machine.h (elf_machine_fixup_plt): Likewise.
7550 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_fixup_plt): Likewise.
7551 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_fixup_plt): Likewise.
7553 * sysdeps/powerpc/dl-machine.h (elf_machine_fixup_plt): Likewise.
7554 Make it an inline function returning value after calling
7555 __elf_machine_fixup_plt().
7557 * elf/dl-sym.c (_dl_vsym): Use DL_SYMBOL_ADDRESS() to obtain the
7560 * elf/dl-symbol.c (_dl_symbol_value): Use LOOKUP_VALUE_ADDRESS to
7561 obtain the symbol address.
7563 * sysdeps/generic/ldsodefs.h: Add generic DL_SYMBOL_ADDRESS() macro
7564 depending on the definition of ELF_FUNCTION_PTR_IS_SPECIAL.
7566 * sysdeps/ia64/dl-machine.h: Add DL_SYMBOL_ADDRESS() macro calling
7567 _dl_symbol_address() - this way DL_SYMBOL_ADDRESS() turns into an
7570 2000-04-28 Jes Sorensen <jes@linuxcare.com>
7572 * elf/dl-runtime.c (fixup): Use the portable macros to get the
7573 symbol address of an object.
7575 * elf/dl-runtime.c (fixup-profile): Use the portable macros to get
7576 the symbol address of an object.
7578 * elf/dl-libc.c (struct do_dlsym_args): Change loadbase to a lookup_t.
7579 * elf/dl-lookup.c (_dl_lookup_symbol): Likewise.
7580 (_dl_lookup_symbol_skip): Likewise.
7581 (_dl_lookup_versioned_symbol): Likewise.
7582 (_dl_lookup_versioned_symbol_skip): Likewise.
7584 2000-04-27 Jes Sorensen <jes@linuxcare.com>
7586 * elf/rtld.c (_dl_start): Get the function pointer return address
7587 via _dl_start_address for architectures that need a function
7588 pointer descriptor rather than just a pointer (ia64).
7590 * sysdeps/generic/dl-lookupcfg.h: New file.
7591 * sysdeps/ia64/dl-lookupcfg.h: New file.
7592 * sysdeps/ia64/dl-machine.h: New file.
7593 * sysdeps/ia64/dl-symaddr.c: New file.
7594 * sysdeps/ia64/dl-fptr.c: New file.
7596 * elf/elf.h: Add IA-64 specific definitions.
7598 2000-05-04 Jakub Jelinek <jakub@redhat.com>
7600 * sysdeps/generic/bits/confname.h (_SC* enum): Avoid comma at the
7603 2000-05-04 Jakub Jelinek <jakub@redhat.com>
7605 * iconv/gconv.h (__gconv_t): Add __extension__ to make gcc -pedantic
7608 2000-04-11 Geoff Keating <geoffk@cygnus.com>
7610 * sysdeps/powerpc/dl-start.S (_dl_start): Add _dl_start_user
7611 symbol. Call _dl_init rather than the old way.
7613 2000-05-04 Ulrich Drepper <drepper@redhat.com>
7615 * elf/dl-open.c (dl_open_worker): Use l_map_start and l_map_end to
7616 test for pointer in range of DSO address space.
7618 2000-05-04 Andreas Jaeger <aj@suse.de>
7620 * nscd/pwdcache.c (addpwbyname): Initialize oldeuid to silence GCC.
7622 2000-05-03 Ulrich Drepper <drepper@redhat.com>
7624 * locale/findlocale.c (_nl_find_locale): Add new parameter to
7625 calls of _nl_make_l10nflist.
7627 * libio/stdio.h: Make fseeko and ftello prototypes available is
7628 __USE_LARGEFILE. Patch by Paul Eggert <eggert@twinsun.com>.
7630 * sysdeps/generic/dl-environ.c (unsetenv): Follow change to the
7631 real unsetenv implementation from 1999-07-29 [PR libc/1714].
7633 2000-05-03 Bruno Haible <haible@clisp.cons.org>
7635 * intl/dcigettext.c (dcigettext): Do the defaulting of 'domainname'
7636 before calling tfind.
7638 2000-03-05 Jakub Jelinek <jakub@redhat.com>
7640 * resolv/resolv.h (res_querydomain): Remove redefinition to
7641 __res_querydomain (reported by Owen Taylor <otaylor@redhat.com>).
7643 2000-05-03 Ulrich Drepper <drepper@redhat.com>
7645 * po/gl.po: Update from translation team.
7647 * manual/intro.texi (Program Basics): Change section title.
7648 * manual/process.texi: Fix reference.
7649 (Executing a File): Add reference exec in other section.
7650 * manual/signal.texi: Fix reference.
7651 * manual/startup.texi: Document syscall function.
7652 Patches by Bryan Henderson <bryanh@giraffe-data.com>.
7654 2000-04-29 Bruno Haible <haible@clisp.cons.org>
7656 * intl/libintl.h (bind_textdomain_codeset): New declaration.
7657 * intl/bindtextdom.c (set_binding_values): New function.
7658 (bindtextdomain): Call it.
7659 (bind_textdomain_codeset): New function.
7660 * intl/dcigettext.c (dcigettext): Pass binding to _nl_find_domain.
7661 (free_mem): Free each binding's codeset.
7662 * intl/gettextP.h (struct binding): Add codeset field.
7663 (_nl_find_domain): Add domainbinding argument.
7664 * intl/finddomain.c (_nl_find_domain): Add domainbinding argument.
7665 Pass it to _nl_make_l10nflist.
7666 * intl/loadinfo.h (struct loaded_l10nfile): Add domainbinding field.
7667 (_nl_make_l10nflist): Add domainbinding argument.
7668 * intl/l10nflist.c (_nl_make_l10nflist): Add domainbinding argument.
7669 * intl/loadmsgcat.c (_nl_load_domain): Look at the domainbinding's
7670 codeset when determining outcharset. If !_LIBC && HAVE_ICONV, call
7672 * manual/message.texi: New node "Charset conversion in gettext".
7674 2000-04-30 Bruno Haible <haible@clisp.cons.org>
7676 * catgets/open_catalog.c (__open_catalog): Use __builtin_expect where
7677 appropriate. Handle possible __read error.
7679 2000-04-29 Bruno Haible <haible@clisp.cons.org>
7681 * intl/gettextP.h (__builtin_expect): Define as empty if not a
7683 * intl/loadinfo.h (__builtin_expect): Likewise.
7684 * intl/dcigettext.c (dcigettext, _nl_find_msg): Use
7685 __builtin_expect where appropriate.
7686 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
7687 * intl/localealias.c (extend_alias_table): Return an error indicator.
7688 (read_alias_file): Bail out if extend_alias_table fails.
7690 2000-04-29 Bruno Haible <haible@clisp.cons.org>
7692 * intl/loadmsgcat.c: Define _GNU_SOURCE as early as possible.
7693 * intl/localealias.c: Likewise.
7695 2000-05-01 Bruno Haible <haible@clisp.cons.org>
7697 * intl/loadmsgcat.c (_nl_load_domain): Initialize domain->conv_tab.
7698 Initialize domain->plural and domain->nplurals even if there is no
7701 2000-05-01 Bruno Haible <haible@clisp.cons.org>
7703 * intl/dcigettext.c (_nl_find_msg): Terminate __gconv loop if return
7704 value is == __GCONV_OK or == __GCONV_EMPTY_INPUT, not != __GCONV_OK.
7705 In case of failure, goto converted.
7707 2000-05-01 Bruno Haible <haible@clisp.cons.org>
7709 * wcsmbs/wcsmbsload.c (norm_add_slashes): Move away.
7710 * iconv/gconv_int.h (norm_add_slashes): Move to here.
7711 * intl/loadmsgcat.c (_nl_load_domain): Normalize strings passed to
7714 2000-04-29 Bruno Haible <haible@clisp.cons.org>
7716 * intl/dcigettext.c (transcmp): Compare the domains as well.
7717 (dcigettext): Call strlen (msgid1) after testing msgid1 against NULL,
7719 * intl/loadmsgcat.c (_nl_load_domain): Deal with EINTR. Include
7722 2000-05-03 Ulrich Drepper <drepper@redhat.com>
7724 * string/bits/string2.h: Declare __strdup and __strndup if necessary.
7725 Reported by Bruno Haible.
7727 2000-04-29 Bruno Haible <haible@clisp.cons.org>
7729 * manual/arith.texi: Remove @w from @itemize.
7731 2000-05-02 Andreas Jaeger <aj@suse.de>
7733 * conform/data/tar.h-data: Add some checks for specific values.
7735 * conform/data/stdlib.h-data: Add checks for value of EXIT_SUCCESS
7738 * conform/data/stdio.h-data: Add checks for value of TMP_MAX and
7741 * conform/data/netinet/in.h-data: Add exact checks for the values
7742 fo INET_ADDRSTRLEN and INET6_ADDRSTRLEN.
7744 * conform/data/float.h-data: Add some minimal values.
7746 * conform/conformtest.pl: Test for macros with string constants,
7747 check for minimum and maximum values.
7748 Add limits.h to headers.
7750 * conform/data/cpio.h-data: Test for value of MAGIC.
7752 * conform/data/limits.h-data: New file.
7754 2000-04-30 Bruno Haible <haible@clisp.cons.org>
7756 * math/Makefile (headers): Add bits/fenvinline.h.
7758 2000-05-01 Ulrich Drepper <drepper@redhat.com>
7760 * sysdeps/unix/sysv/aix/linux/linux-dirent.h: New file.
7761 * sysdeps/unix/sysv/aix/linux/direntconv.c: New file.
7763 * posix/Versions: Change posix_spawnattr_getdefault and
7764 posix_spawnattr_setdefault to posix_spawnattr_getsigdefault
7765 and posix_spawnattr_setsigdefault respectively.
7766 * posix/spawn.h: Likewise.
7767 * posix/spawnattr_getdefault.h: Likewise.
7768 * posix/spawnattr_setdefault.h: Likewise.
7769 * conform/data/spawn.h-data: Likewise.
7771 2000-05-01 Andreas Jaeger <aj@suse.de>
7773 * nscd/nscd.c: Include <grp.h> for setgroups prototype.
7775 2000-04-30 Ulrich Drepper <drepper@redhat.com>
7777 * manual/sysinfo.texi: Document getdomainname, setdomainname
7779 * manual/string.texi: Fix typo.
7780 * manual/terminal.texi: Document gtty and stty.
7781 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
7783 2000-04-30 Andreas Jaeger <aj@suse.de>
7785 * posix/bits/posix1_lim.h (_POSIX_PATH_MAX): Increase to 256 in
7786 accordance with Austin Draft.
7788 2000-04-30 Ulrich Drepper <drepper@redhat.com>
7790 * catgets/gencat.c (read_input_file): Use isblank and not isspace
7791 to recognize second character in comment line.
7793 * sysdeps/unix/sysv/linux/if_index.c (if_nameindex): Set errno to
7794 ENOBUFS if we are out of memory.
7796 * sysdeps/generic/bits/fcntl.h (F_SETOWN, F_GETOWN): Make
7797 available if __USE_XOPEN2K.
7798 * sysdeps/mach/hurd/bits/fcntl.h: Likewise.
7799 * sysdeps/unix/common/bits/fcntl.h: Likewise.
7800 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Likewise.
7801 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
7802 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
7803 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
7804 * sysdeps/unix/sysv/aix/bits/fcntl.h: Likewise.
7805 * sysdeps/unix/sysv/linux/bits/fcntl.h: Likewise.
7807 2000-04-29 Ulrich Drepper <drepper@redhat.com>
7809 * iconv/iconv_prog.c (main): Handle input file name "-" correctly.
7810 Recognize option -s, -c, and -l.
7812 2000-04-20 Thorsten Kukuk <kukuk@suse.de>
7814 * nscd/nscd.c: Start new session for nscd, drop privilegs
7815 to configured user if requested and no -S parameter are used.
7816 * nscd/nscd.conf: Add new option "server-user".
7817 * nscd/nscd_conf.c: Add support for new "server-user" option.
7818 * nscd/nscd.h: Add declaration for server_user variable.
7819 Based on patch by Chris Wing <wingc@engin.umich.edu>
7821 2000-04-29 Mark Kettenis <kettenis@gnu.org>
7823 * sysdeps/unix/sysv/linux/i386/sigaction.c: Add comment explaining
7824 that changing the __restore and __restore_rt signal return code
7827 2000-04-29 Mark Kettenis <kettenis@gnu.org>
7829 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Do not include
7832 2000-04-29 Mark Kettenis <kettenis@gnu.org>
7834 * conform/data/ucontext.h-data: Allow ss_* instead of SS_*.
7836 2000-04-29 Ulrich Drepper <drepper@redhat.com>
7838 * conform/conformtest.pl (@headers): Add sys/utsname.h, sys/un.h,
7839 sys/socket.h, spawn.h, netinet/tcp.h, netinet/in.h, net/if.h, and
7841 * conform/data/fcntl.h-data: Add F_GETOWN, F_SETOWN,
7842 SEEK_SET, SEEK_CUR, SEEK_END, S_IFMT, S_IFBLK, S_IFCHR, S_IFIFO,
7843 S_IFREG, S_IFDIR, S_IFLNK, S_IFSOCK, S_IRWXU, S_IRUSR S_IWUSR,
7844 S_IXUSR, S_IRWXG, S_IRGRP, S_IWGRP, S_IXGRP, S_IRWXO, S_IROTH,
7845 S_IWOTH, S_IXOTH, S_ISUID, S_ISGID, S_ISVTX, POSIX_FADV_NORMAL,
7846 POSIX_FADV_SEQUENTIAL, POSIX_FADV_RANDOM, POSIX_FADV_WILLNEED,
7847 POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE, posix_fadvise,
7848 posix_fallocate, and posix_madvise.
7849 * conform/data/netdb.h-data: New file.
7850 * conform/data/pthread.h-data: Add pthread_barrier_t,
7851 pthread_barrierattr_t, pthread_barrier_destroy,
7852 pthread_barrier_init, pthread_barrier_wait,
7853 pthread_barrierattr_destroy, pthread_barrierattr_getpshared,
7854 pthread_barrierattr_init, pthread_barrierattr_setpshared,
7855 pthread_condattr_getclock, pthread_condattr_setclock,
7856 pthread_getcpuclockid, pthread_mutex_timedlock,
7857 pthread_rwlock_timedrdlock, pthread_rwlock_timedwrlock,
7858 pthread_sigmask, pthread_spin_destroy, pthread_spin_init,
7859 pthread_spin_lock, pthread_spin_trylock, and pthread_spin_unlock.
7860 * conform/data/sched.h-data: Add sched_ss_low_priority,
7861 sched_ss_repl_period, sched_ss_init_budget, sched_ss_max_repl, and
7863 * conform/data/semaphore.h-data: Add sem_timedwait.
7864 * conform/data/signal.h-data: Add SIGIO.
7865 * conform/data/spawn.h-data: New file.
7866 * conform/data/stdlib.h-data: Add posix_memalign, setenv, and unsetenv.
7867 * conform/data/time.h-data: Add CLOCK_PROCESS_CPUTIME_ID,
7868 CLOCK_THREAD_CPUTIME_ID, clock_getcpuclockid, and clock_nanosleep.
7869 Fix typo in gmtime_r definition.
7870 * conform/data/unistd.h-data: Add _POSIX_ADVISORY_INFO,
7871 _POSIX_ASYNCHRONOUS_IO, _POSIX_BARRIERS, _POSIX_MONOTONIC_CLOCK,
7872 _POSIX_READER_WRITER_LOCKS, _POSIX_SHELL, _POSIX_SPAWN,
7873 _POSIX_SPIN_LOCKS, _POSIX_SPORADIC_SERVER, _POSIX_THREAD_CPUTIME,
7874 _POSIX_TYPED_MEMORY_OBJECTS, _POSIX_THREAD_SPORADIC_SERVER,
7875 _XOPEN_STREAMS, _POSIX_TIMEOUTS, _POSIX2_PBS,
7876 _POSIX2_PBS_ACCOUNTING, _POSIX2_PBS_CHECKPOINT,
7877 _POSIX2_PBS_LOCATE, _POSIX2_PBS_MESSAGE, _POSIX2_PBS_TRACK,
7878 _SC_2_PBS, _SC_2_PBS_ACCOUNTING, _SC_2_PBS_CHECKPOINT,
7879 _SC_2_PBS_LOCATE, _SC_2_PBS_MESSAGE, _SC_2_PBS_TRACK,
7880 _SC_BARRIERS, _SC_BASE, _SC_CLOCK_SELECTION, _SC_DEVICE_IO,
7881 _SC_DEVICE_SPECIFIC, _SC_DEVICE_SPECIFIC_R, _SC_FD_MGMT, _SC_FIFO,
7882 _SC_FILE_ATTRIBUTES, _SC_FILE_LOCKING, _SC_FILE_SYSTEM,
7883 _SC_MEMORY_PROTECTION, _SC_MESSAGE_PASSING, _SC_MONOTONIC_CLOCK,
7884 _SC_MESSAGE_PASSING, _SC_MONOTONIC_CLOCK, _SC_MULTIPLE_PROCESS,
7885 _SC_NETWORKING, _SC_PIPE, _SC_READER_WRITER_LOCKS, _SC_REGEXP,
7886 _SC_SHELL, _SC_SIGNALS, _SC_SINGLE_PROCESS, _SC_SPIN_LOCKS,
7887 _SC_TYPED_MEMORY_OBJECTS, _SC_USER_GROUPS, _SC_USER_GROUPS_R,
7888 _SC_STREAMS, _PC_REC_INCR_XFER_SIZE, _PC_REC_MAX_XFER_SIZE,
7889 _PC_REC_MIN_XFER_SIZE, _PC_REC_XFER_ALIGN, setegid, seteuid. Fix
7890 typo in off_t definition.
7891 * conform/data/net/if.h-data: New file.
7892 * conform/data/netinet/in.h-data: New file.
7893 * conform/data/netinet/tcp.h-data: New file.
7894 * conform/data/sys/mman.h-data: Add POSIX_MADV_NORMAL,
7895 POSIX_MADV_SEQUENTIAL, POSIX_MADV_RANDOM, POSIX_MADV_WILLNEED,
7896 POSIX_MADV_DONTNEED, POSIX_TYPED_MEM_ALLOCATE,
7897 POSIX_TYPED_MEM_ALLOCATE_CONTIG, POSIX_TYPED_MEM_MAP_ALLOCATABLE,
7898 posix_typedmem_info, posix_mem_offset, posix_typed_mem_get_info,
7899 and posix_typed_mem_open.
7900 * conform/data/sys/socket.h-data: New file.
7901 * conform/data/sys/stat.h-data: Add S_TYPEISTMO and isfdtype.
7902 * conform/data/sys/types.h-data: Add pthread_barrier_t,
7903 pthread_barrierattr_t, and pthread_spinlock_t.
7904 * conform/data/sys/un.h-data: New file.
7905 * conform/data/sys/utsname.h-data: New file.
7907 * include/netdb.h (__gethostbyaddr_r): Fix types of first and second
7909 * inet/gethstbyad.c (gethostbyname): Likewise.
7910 * inet/gethstbyad_t.c (gethostbyname_r): Likewise.
7911 * inet/getipnodebyad.c (getipnodebyad): Likewise.
7912 * nis/nss_nis/nis-hosts.c (_nss_nis_gethostbyaddr_r): Likewise.
7913 * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_gethostbyaddr_r):
7915 * nscd/gethstbyad_r.c (gethostbyaddr_r): Likewise.
7916 * nscd/nscd_gethst_r.c (__nscd_gethostbyaddr_r): Likewise.
7917 * nscd/nscd_proto.h (__nscd_gethostbyaddr_r): Likewise.
7918 * nss/nss_files/files-hosts.c (_nss_files_gethostbyaddr_r): Likewise.
7919 * resolv/gethnamaddr.c (gethostbyname): Likewise.
7920 * resolv/netdb.h (struct hostent): Fix type of h_length member.
7921 (gethostbyaddr, getipnodebyaddr, gethostbyaddr_r): Fix types of first
7922 and second parameter.
7924 * wcsmbs/mbrtowc.c (__mbrtowc): Set end of buffer correctly if s
7927 2000-04-29 Andreas Jaeger <aj@suse.de>
7929 * conform/data/arpa/inet.h-data: New file.
7931 2000-04-28 Geoff Clare <gwc@unisoft.com>
7933 * io/ftw.c: Set errno to ENOENT (instead of ENOTDIR) when the
7934 path passed to ftw() or nftw() is an empty string.
7935 Closes PR libc/1710.
7937 2000-04-27 Ulrich Drepper <drepper@redhat.com>
7939 * localedata/Makefile (test-srcs): Add tst-mbswcs4 and tst-mbswcs5.
7940 (do-tst-mbswcs): Add tst-mbswcs4 and tst-mbswcs5 to dependencies.
7941 * localedata/tst-mbswcs.sh: Run tst-mbswcs4 and tst-mbswcs5.
7942 * localedata/tst-mbswcs4.c: New file.
7943 * localedata/tst-mbswcs5.c: New file.
7945 * wcsmbs/wcrtomb.c (__wcrtomb): Set end of buffer correctly if s
7946 == NULL. Little optimization.
7948 * elf/dl-init.c (_dl_init): Correct typo (DT_PREINIT_ARRAY not
7949 DT_PREINIT_ARRAYSZ).
7950 Reported by Jes Sorensen <Jes.Sorensen@cern.ch>.
7952 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups): Handle
7953 overflows in conversion from ASCII.
7955 2000-04-26 Jakub Jelinek <jakub@redhat.com>
7957 * Makeconfig (full_config_sysdirs): Renamed from full-config-sysdirs.
7958 * Makerules (full_config_sysdirs): Likewise.
7959 * MakeTAGS (full_config_sysdirs): Likewise.
7961 2000-04-26 Jakub Jelinek <jakub@redhat.com>
7963 * .cvsignore: Remove linuxthreads.
7964 * po/.cvsignore: Remove *.pot.
7965 * posix/glob/.cvsignore: Removed.
7966 * sysdeps/unix/bsd/osf/.cvsignore: Removed.
7968 2000-04-25 Andreas Jaeger <aj@suse.de>
7970 * conform/Makefile (distribute): Also distribute contents of
7973 * Makerules (no_deps): Remove abi-versions.h.
7975 * nis/nis_print_group_entry.c: Include alloca.h for alloca prototype.
7977 2000-04-25 Jakub Jelinek <jakub@redhat.com>
7979 * sysdeps/sparc/sparc64/elf/Dist: Remove.
7980 * sysdeps/sparc/sparc64/elf/crtbegin.S: Remove.
7981 * sysdeps/sparc/sparc64/elf/crtbeginS.S: Remove.
7982 * sysdeps/sparc/sparc64/elf/crtend.S: Remove.
7983 * sysdeps/sparc/sparc64/elf/crtendS.S: Remove.
7984 * sysdeps/sparc/sparc64/elf/Makefile: Don't build crtbegin/crtend
7987 2000-04-25 Thorsten Kukuk <kukuk@suse.de>
7989 * nscd/grpcache.c: Fix gr_name pointer [PR/1702].
7991 2000-04-23 Bruno Haible <haible@clisp.cons.org>
7993 * intl/dcigettext.c: Define _GNU_SOURCE as early as possible.
7994 * intl/l10nflist.c: Likewise.
7996 2000-04-23 Bruno Haible <haible@clisp.cons.org>
7998 * intl/bindtextdom.c [!_LIBC]: Define __libc_rwlock_define,
7999 __libc_rwlock_wrlock, __libc_rwlock_unlock as empty.
8000 * intl/textdomain.c [!_LIBC]: Likewise.
8001 * intl/dcigettext.c [!_LIBC]: Define __libc_rwlock_define_initialized,
8002 __libc_rwlock_rdlock, __libc_rwlock_unlock as empty.
8003 * intl/loadmsgcat.c (_nl_load_domain) [!_LIBC, !HAVE_ICONV]: Avoid
8006 2000-04-23 Bruno Haible <haible@clisp.cons.org>
8008 * intl/dcigettext.c (_nl_find_msg): Do the plural treatment and
8009 character set conversion also in the case the translation was found
8010 after a hash collision or through binary search. Store the maximum
8011 index together with the converted message. Use iconv() when available.
8012 In case of out of memory during conversion, return the unconverted
8013 translated string, not NULL.
8015 2000-04-25 Jes Sorensen <Jes.Sorensen@cern.ch>
8017 * shlib-versions: Rename ia64 dynamic linker to ld-linux-ia64.so.1
8018 to avoid name clashes with the ia32 linker.
8020 2000-04-25 Jakub Jelinek <jakub@redhat.com>
8022 * sysdeps/alpha/dl-machine.h (_dl_start_user): Fix the _dl_skip_args
8025 2000-04-27 Ulrich Drepper <drepper@redhat.com>
8027 * manual/string.texi: Document strcasestr, strchrnul, strtoimax,
8028 strtoumax, strfry, and memfrob.
8029 * manual/arith.texi: Document {,u}int*_t types, and strto{i,u}max.
8030 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
8032 * elf/soinit.c (__libc_global_ctors): Call __pthread_initialize_minimal
8033 if this function is available.
8035 * sysdeps/i386/i486/atomicity.h (exchange_and_add): Use uint32_t for
8038 2000-04-27 Jakub Jelinek <jakub@redhat.com>
8040 * nss/getXXbyYY_r.c: Fix a typo in __old_getxxbyyy_r versioning.
8042 2000-04-27 Ulrich Drepper <drepper@redhat.com>
8044 * localedata/Makefile (test-srcs); Add tst-mbswcs3.
8045 Add rule to build tst-mbswcs3 before running tst-mbswcs.sh.
8046 * localedata/tst-mbswcs.sh: Run tst-mbswcs3.
8047 * localedata/tst-mbswcs3.c: New file.
8049 2000-04-26 Ulrich Drepper <drepper@redhat.com>
8051 * wcsmbs/mbsnrtowcs.c: Correctly compute number of converted
8052 characters. Don't handle incomplete characters as errors.
8053 * wcsmbs/mbsrtowcs.c: Don't handle incomplete characters as errors.
8054 * localedata/Makefile (test-srcs): Add tst-mbswcs2.
8055 Add rule to build tst-mbswcs2 before running tst-mbswcs.sh.
8056 * localedata/tst-mbswcs.sh: Run tst-mbswcs2.
8057 * localedata/tst-mbswcs2.c: New file.
8059 * iconv/gconv_simple.c (utf8_internal_loop): Correctly reconstruct
8060 stored character in state in UNPACK_BYTES macro.
8061 * iconv/loop.c (SINGLE(LOOPFCT)): Make it actually work. Correct
8062 test for available characters, handle result of BODY code correctly.
8063 * localedata/Makefile (test-srcs): Add tst-mbswcs1.
8064 (distribute): Add tst-mbswcs.sh.
8065 Add rule to run tst-mbswcs.sh.
8066 * localedata/tst-mbswcs.sh: New file.
8067 * localedata/tst-mbswcs1.c: New file.
8069 2000-04-26 Jakub Jelinek <jakub@redhat.com>
8071 * nis/nis_callback.c (__nis_create_callback): Do failed memory
8072 allocation fixups centrally, fix __builtin_expect call, return NULL
8073 on failure, not NIS_NOMEMORY.
8075 2000-04-27 Bruno Haible <haible@clisp.cons.org>
8077 * intl/ngettext.c [!_LIBC]: Fix definition of NGETTEXT.
8079 * intl/loadinfo.h (internal_function): Define if not already defined.
8081 2000-04-27 Andreas Jaeger <aj@suse.de>
8083 * intl/libintl.h: Fix typo, reported by Bruno Haible
8084 <haible@clisp.cons.org>.
8086 2000-04-25 Ulrich Drepper <drepper@redhat.com>
8088 * elf/dl-profile.c (_dl_mcount): Try to be thread-safe while not
8089 setting the state to GMON_PROF_BUSY.
8091 2000-04-24 Ulrich Drepper <drepper@redhat.com>
8093 * elf/dl-profile.c (_dl_start_profile): define all variables which
8094 do not have to be global as local variables.
8096 * nis/nis_callback.c (__nis_create_callback): Partially undo last
8097 patch. Keep needed tests for failed memory allocation.
8099 * elf/dl-reloc.c (_dl_relocate_object): Add one more
8100 __builtin_expect saying that we don't normally expect to profile.
8102 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add
8103 __builtin_expect where desirable.
8105 2000-04-23 Ulrich Drepper <drepper@redhat.com>
8107 * manual/Makefile (chapters): Add syslog.
8108 * manual/syslog.texi: New file.
8109 * manual/math.texi: Fix references.
8110 * manual/terminal.texi: Likewise.
8111 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
8113 2000-04-18 Jakub Jelinek <jakub@redhat.com>
8115 * posix/sys/wait.h: Define __WAIT_STATUS and the like either if
8116 stdlib.h was not included or __USE_XOPEN not defined.
8118 2000-04-23 Ulrich Drepper <drepper@redhat.com>
8120 * nss/Makefile (libnss_db-dbs): Remove stray backslash.
8121 Patch by Zack Weinberg <zack@wolery.cumb.org>.
8123 2000-04-22 Ulrich Drepper <drepper@redhat.com>
8125 * manual/examples/subopt.c (mount_opts): Add missing terminating
8127 Reported by Michael Deutschmann <michael@talamasca.ocis.net>.
8129 * assert/assert-perr.c: Include <stdlib.h> for abort prototype.
8130 * libio/ftello.c: Likewise.
8131 * libio/ftello64.c: Likewise.
8132 * libio/ioftell.c: Likewise.
8133 * sysdeps/generic/memrchr.c: Likewise.
8134 * sysdeps/posix/libc_fatal.c: Likewise.
8135 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
8136 * misc/fstab.c: Include <string.h> for strcmp prototype.
8137 * sysdeps/generic/ldsodefs.h: Likewise.
8138 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
8139 Patch by Kurt Roeckx <Q@ping.be>.
8141 * nss/Makefile (libnss_db-dbs): Renamed from libnss_db-routines.
8142 Remove db-open. Change all uses.
8143 (libnss_db-routines): Define as $(libnss_db-dbs) db-open.
8145 2000-04-21 Jakub Jelinek <jakub@redhat.com>
8147 * sysdeps/unix/sysv/linux/alpha/msgctl.c (__syscall_msgctl): Declare.
8148 * sysdeps/unix/sysv/linux/alpha/semctl.c (__syscall_semctl): Declare.
8149 * sysdeps/unix/sysv/linux/alpha/shmctl.c (__syscall_shmctl): Declare.
8150 * sysdeps/unix/sysv/linux/alpha/getrusage.S: Surround uses of $f28
8151 with .set noat/at to shut up warnings.
8152 * sysdeps/unix/sysv/linux/alpha/syscalls.list (__fstatfs64): Add alias.
8153 * sysdeps/unix/sysv/linux/alpha/ioperm.c (init_iosys): Allow
8154 compilation if __NR_pciconfig_iobase is not defined.
8155 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (__fstatfs64):
8158 2000-04-21 Ulrich Drepper <drepper@redhat.com>
8160 * manual/sysinfo.texi: Fix typo.
8161 * manual/time.texi: Document timelocal, timegm, adjtimex, and stime.
8162 Replace "high precision time" with "high accuracy clock".
8164 Patches by Bryan Henderson <bryanh@giraffe-data.com>.
8166 * nis/nis_findserv.c (__nis_findfastest): Improve memory handling.
8167 * nis/nis_print_group_entry.c (nis_print_group_entry): Use alloca
8169 * nis/nis_subr.c: Use __builtin_expect.
8170 * nis/ypclnt.c: Likewise.
8171 * nis/nis_getservlist.c: Likewise.
8172 * nis/nis_creategroup.c: Likewise.
8174 * nis/nis_callback.c (__nis_create_callback): Check result of
8175 memory allocation. Fix memory leaks. Use __builtin_expect.
8176 (__nis_destroy_callback): Fix memory leaks.
8178 2000-04-21 Andreas Jaeger <aj@suse.de>
8180 * sysdeps/mips/elf/start.S: Use __PIC__ instead of PIC.
8181 * sysdeps/mips/mips64/add_n.S: Likewise.
8182 * sysdeps/mips/mips64/bsd-_setjmp.S: Likewise.
8183 * sysdeps/mips/mips64/lshift.S: Likewise.
8184 * sysdeps/mips/mips64/mul_1.S: Likewise.
8185 * sysdeps/mips/mips64/rshift.S: Likewise.
8186 * sysdeps/mips/mips64/setjmp.S: Likewise.
8187 * sysdeps/mips/mips64/sub_n.S: Likewise.
8188 * sysdeps/mips/mips64/submul_1.S: Likewise
8189 * sysdeps/unix/mips/sysdep.S: Likewise.
8191 * sysdeps/mips/dl-machine.h (elf_machine_got_rel): Remove strtab
8192 and update comment. The strtab from _dl_relocate_object can be
8195 2000-04-21 Ulrich Drepper <drepper@redhat.com>
8197 * iconv/iconv.c (iconv): Add __builtin_expect where useful.
8198 * iconv/iconv_close.c (iconv_close): Likewise.
8199 * iconv/iconv_open.c (iconv_open): Likewise.
8201 * grp/putgrent.c (putgrent): Unlock steam if fprintf failed. Add
8202 __builtin_expect where useful.
8204 * grp/initgroups.c (initgroups): Test for result of memory
8205 allocation and punt if it fails.
8207 * dirent/scandir.c (scandir): Add __builtin_expect where useful.
8208 * grp/fgetgrent.c (fgetfrent): Likewise.
8209 * grp/fgetgrent_r.c (__fgetgrent_r): Likewise.
8211 2000-04-21 Jakub Jelinek <jakub@redhat.com>
8213 * libio/vasprintf.c: Include string.h to get memcpy prototype.
8215 2000-04-20 Ulrich Drepper <drepper@redhat.com>
8217 * wcsmbs/wcsrtombs.c (__wcsrtombs): If output buffer is too small
8218 don't search for NUL byte to decrement counter.
8219 Reported by Ulrich.Brink@sap.com.
8221 * iconv/gconv_simple.c: Define separate functions to convert from
8222 UCS4/UCS4-LE to the internal encoding.
8223 * iconv/gconv_builtin.h: Use separate functions to convert from
8224 UCS4/UCS4-LE to the internal encoding.
8225 * iconv/gconv_int.h: Declare __gconv_transform_ucs4_internal and
8226 __gconv_transform_ucs4le_internal.
8228 * iconv/gconv_simple.c (internal_utf8_loop): Correct check for
8229 output buffer overflow. Reported by Ulrich.Brink@sap.com.
8231 * iconv/skeleton.c: Add some more __builtin_expect.
8232 * iconv/loop.c: Likewise.
8234 2000-03-08 H.J. Lu <hjl@gnu.org>
8236 * posix/regex.c (regex_compile): Correctly handle "\{" when
8237 the RE_INTERVALS is set and the RE_NO_BK_BRACES bit is not set.
8239 2000-04-20 Ulrich Drepper <drepper@redhat.com>
8241 * manual/stdio.texi: Give advise about handling error when using
8243 Patch by Michael Deutschmann <michael@talamasca.ocis.net>.
8245 2000-04-19 Jakub Jelinek <jakub@redhat.com>
8247 * locale/programs/ld-ctype.c (ctype_output): Set size of the idx
8248 field to nelems * sizeof (uint32_t).
8249 * locale/programs/ld-address.c (address_output): Align word fields
8251 * locale/programs/ld-monetary.c (monetary_output): Likewise.
8252 Don't restart idx pointers to idx end at the duo_int_curr_symbol
8254 Avoid giving arbitrary garbage in the crncystr field.
8255 Use sizeof(uint32_t) instead of 4 for len in uno_valid_from,
8256 uno_valid_to, duo_valid_from, duo_valid_to and conversion_rate
8258 * locale/programs/ld-numeric.c (numeric_output): Likewise.
8259 Don't restart idx pointers to idx end at the decimal_point_wc field.
8260 * locale/programs/ld-time.c (time_output): week_1stday should be
8261 word, not byte. Align it properly.
8263 2000-04-19 H.J. Lu <hjl@gnu.org>
8265 * csu/gmon-start.c (_start): Declared as "extern void".
8268 2000-04-18 Andreas Jaeger <aj@suse.de>
8270 * manual/install.texi (Running make install): Don't mention utmpd
8273 2000-04-18 Andreas Jaeger <aj@suse.de>
8275 * linuxthreads/Versions: Use ld instead of ld.so.
8277 * elf/Makefile (ld-map): Use ld.map.
8279 * Versions.def: Use ld instead of ld.so.
8280 * elf/Versions: Likewise.
8281 * sysdeps/mach/hurd/Versions: Likewise.
8283 2000-04-20 Andreas Jaeger <aj@suse.de>
8285 * elf/rtld.c (print_statistics): Move ifndef further up.
8286 (_dl_start_final): Added HP_TIMINIG_NONAVAIL to avoid warnings.
8287 (dl_main): Likewise.
8289 2000-04-18 Ulrich Drepper <drepper@redhat.com>
8291 * gmon/gmon.c: Add weak alias moncontrol for __moncontrol.
8292 * gmon/Versions: Move moncontrol to GLIBC_2.2.
8294 * po/cs.po: Update from translation team.
8296 * sysdeps/generic/updwtmp.c: Remove daemon support.
8298 * login/Makefile (routines): Remove utmp_daemon.
8300 * sysdeps/unix/sysv/aix/gethostname.c: Fix type of len argument.
8301 * sysdeps/unix/sysv/aix/access.c: Define ACC_INVOKER.
8302 * sysdeps/unix/sysv/aix/getegid.c: Define ID_EFFECTIVE.
8303 * sysdeps/unix/sysv/aix/geteuid.c: Likewise.
8305 * elf/rtld.c: Display statitics option also if hp timing is not
8308 * login/programs/connection.c: Removed.
8309 * login/programs/database.c Removed.
8310 * login/programs/error.c: Removed.
8311 * login/programs/request.c: Removed.
8312 * login/programs/xtmp.c: Removed.
8313 * login/programs/xtmp.h: Removed.
8314 * login/Makefile: Remove rules for utmpd.
8315 * login/README.utmpd: Removed.
8316 * login/utmp_daemon.c: Removed.
8317 * login/getutent_r.c: Remove references to daemon functions.
8318 * login/utmp-private.h (__libc_utmp_daemon_functions): Remove
8321 2000-04-18 Andreas Jaeger <aj@suse.de>
8323 * shlib-versions (mips.*-.*-linux.*): Support only GLIBC 2.0 and
8324 2.2 for libnsl, libresolv, librt, libnss_*.
8326 * elf/rtld.c (process_dl_debug): Remove obsolete comment.
8328 * sysdeps/mips/dl-machine.h (elf_machine_rel): Fix relocation.
8330 2000-04-18 Ulrich Drepper <drepper@redhat.com>
8332 * sysdeps/unix/sysv/aix/geteuid.c: Don't try to include <sys/id.h>.
8333 * sysdeps/unix/sysv/aix/getegid.c: Likewise.
8334 * sysdeps/unix/sysv/aix/xstat64.c: Define STX_NORMAL and STX_64.
8335 * sysdeps/unix/sysv/aix/xstat.c: Define STX_NORMAL.
8336 * sysdeps/unix/sysv/aix/sys/param.h: Define NGROUPS.
8337 * sysdeps/unix/sysv/aix/setreuid.c: Define ID_EFFECTIVE and ID_REAL.
8338 * sysdeps/unix/sysv/aix/setregid.c: Likewise.
8339 * sysdeps/unix/sysv/aix/setuid.c: Define ID_REAL.
8340 * sysdeps/unix/sysv/aix/setgid.c: Likewise.
8341 * sysdeps/unix/sysv/aix/seteuid.c: Define ID_EFFECTIVE.
8342 * sysdeps/unix/sysv/aix/setegid.c: Likewise.
8343 * sysdeps/unix/sysv/aix/sbrk.c: Update parameter type.
8344 * sysdeps/unix/sysv/aix/nanosleep.c (struct timestruc_t): Define
8346 * sysdeps/unix/sysv/aix/msync.c: New file.
8347 * sysdeps/unix/sysv/aix/msgsnd.c: New file.
8348 * sysdeps/unix/sysv/aix/net/if.h: New file.
8349 * sysdeps/unix/sysv/aix/pipe.c: New file.
8350 * sysdeps/unix/sysv/aix/poll.c: New file.
8351 * sysdeps/unix/sysv/aix/rename.c: New file.
8352 * sysdeps/unix/sysv/aix/rmdir.c: New file.
8353 * sysdeps/unix/sysv/aix/select.c: New file.
8354 * sysdeps/unix/sysv/aix/semctl.c: New file.
8355 * sysdeps/unix/sysv/aix/semget.c: New file.
8356 * sysdeps/unix/sysv/aix/semop.c: New file.
8357 * sysdeps/unix/sysv/aix/sendto.c: New file.
8358 * sysdeps/unix/sysv/aix/setgroups.c: New file.
8359 * sysdeps/unix/sysv/aix/setpgid.c: New file.
8360 * sysdeps/unix/sysv/aix/setpgrp.c: New file.
8361 * sysdeps/unix/sysv/aix/setpriority.c: New file.
8362 * sysdeps/unix/sysv/aix/setrlimit.c: New file.
8363 * sysdeps/unix/sysv/aix/setrlimit64.c: New file.
8364 * sysdeps/unix/sysv/aix/setsid.c: New file.
8365 * sysdeps/unix/sysv/aix/setsockopt.c: New file.
8366 * sysdeps/unix/sysv/aix/shmat.c: New file.
8367 * sysdeps/unix/sysv/aix/shmctl.c: New file.
8368 * sysdeps/unix/sysv/aix/shmdt.c: New file.
8369 * sysdeps/unix/sysv/aix/shmget.c: New file.
8370 * sysdeps/unix/sysv/aix/sigaltstack.c: New file.
8371 * sysdeps/unix/sysv/aix/sigstack.c: New file.
8372 * sysdeps/unix/sysv/aix/socket.c: New file.
8373 * sysdeps/unix/sysv/aix/socketpair.c: New file.
8374 * sysdeps/unix/sysv/aix/speed.c: New file.
8375 * sysdeps/unix/sysv/aix/symlink.c: New file.
8376 * sysdeps/unix/sysv/aix/sync.c: New file.
8377 * sysdeps/unix/sysv/aix/tcgetattr.c: New file.
8378 * sysdeps/unix/sysv/aix/tcsetattr.c: New file.
8379 * sysdeps/unix/sysv/aix/times.c: New file.
8380 * sysdeps/unix/sysv/aix/ulimit.c: New file.
8381 * sysdeps/unix/sysv/aix/umask.c: New file.
8382 * sysdeps/unix/sysv/aix/unlink.c: New file.
8383 * sysdeps/unix/sysv/aix/ustat.c: New file.
8384 * sysdeps/unix/sysv/aix/utimes.c: New file.
8386 2000-04-18 Andreas Jaeger <aj@suse.de>
8388 * manual/startup.texi (Environment Access): Fix putenv prototype
8389 according to recent changes.
8390 Reported by Andries Brouwer <Andries.Brouwer@cwi.nl>, closes
8393 * elf/rtld.c (print_statistics): Added HP_TIMINIG_NONAVAIL where
8396 2000-04-18 Ulrich Drepper <drepper@redhat.com>
8398 * posix/Makefile (tests): Add tst-getaddrinfo.
8399 * posix/tst-getaddrinfo.c: New file.
8401 2000-04-17 Ulrich Drepper <drepper@redhat.com>
8403 * manual/sysinfo.texi: Document that umount2 is not widely available.
8405 * sysdeps/generic/hp-timing.h (HP_TIMING_NONAVAIL): Define to
8406 signal timing is not really implemented.
8408 2000-04-17 Andreas Jaeger <aj@suse.de>
8410 * elf/rtld.c (process_dl_debug): Mention statistics in help message.
8412 2000-04-17 Jakub Jelinek <jakub@redhat.com>
8414 * Makefile (install): Use slibdir and libdir instead of inst_slibdir
8417 2000-04-17 Ulrich Drepper <drepper@redhat.com>
8419 * manual/intro.texi: Change reference from System Information to
8421 * manual/users.texi: Likewise.
8422 * manual/conf.texi: Likewise.
8423 * manual/sysinfo.texi: Document mount, umount, and umount2.
8424 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
8426 2000-04-17 Jakub Jelinek <jakub@redhat.com>
8428 * sysdeps/ieee754/ldbl-128/printf_fphex.c (PRINT_FPHEX_LONG_DOUBLE):
8429 Create wnumstr as well as numstr to support wide character output
8432 2000-04-15 Jakub Jelinek <jakub@redhat.com>
8434 * sysdeps/sparc/sparc64/Makefile: Remove sysdep-CFLAGS
8435 modification and move it...
8436 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: ...here.
8437 Add -melf64_sparc switch to $(LD) on sparc64-linux.
8438 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile: Add -melf32_sparc
8439 switch to $(LD) on sparc-linux.
8441 2000-04-17 Thorsten Kukuk <kukuk@suse.de>
8443 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile: Remove setresgid
8444 and setresuid from sysdep_routines.
8446 2000-04-17 Ulrich Drepper <drepper@redhat.com>
8448 * manual/Makefile (chapters): Add resource.
8450 * manual/time.texi: Move section on resources to...
8451 * manual/resource.texi: ...here. New file. Document ulimit, vlimit,
8453 * manual/setjmp.texi: Adjust back reference.
8454 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
8456 * sysdeps/unix/sysv/aix/lxstat64.c: Uncomment STX_LINK and STX_64
8458 * sysdeps/unix/sysv/aix/lxstat.c: Uncomment STX_LINK definition.
8459 * sysdeps/unix/sysv/aix/kill.c: Add copyright.
8460 * sysdeps/unix/sysv/aix/getuid.c: Define ID_REAL.
8461 * sysdeps/unix/sysv/aix/getgid.c: Define ID_REAL.
8462 * sysdeps/unix/sysv/aix/execve.c: Add copyright.
8463 * sysdeps/unix/sysv/aix/euidaccess.c: Add copyright.
8464 * sysdeps/unix/sysv/aix/close.c: Add copyright.
8465 * sysdeps/unix/sysv/aix/brk.c: Add copyright.
8466 * sysdeps/unix/sysv/aix/bits/errno.h: Add EAFNOSUPPORT.
8467 * sysdeps/unix/sysv/aix/access.c: Add copyright.
8468 * sysdeps/unix/sysv/aix/Makefile: Add some temporary definitions.
8469 * sysdeps/unix/sysv/aix/Implies: New file.
8470 * sysdeps/unix/sysv/aix/Versions: New file.
8471 * sysdeps/unix/sysv/aix/bind.c: New file.
8472 * sysdeps/unix/sysv/aix/bits/ioctl-types.h: New file.
8473 * sysdeps/unix/sysv/aix/bits/ioctls.h: New file.
8474 * sysdeps/unix/sysv/aix/bits/poll.h: New file.
8475 * sysdeps/unix/sysv/aix/bits/termios.h: New file.
8476 * sysdeps/unix/sysv/aix/chdir.c: New file.
8477 * sysdeps/unix/sysv/aix/chmod.c: New file.
8478 * sysdeps/unix/sysv/aix/chroot.c: New file.
8479 * sysdeps/unix/sysv/aix/creat.c: New file.
8480 * sysdeps/unix/sysv/aix/dl-close.c: New file.
8481 * sysdeps/unix/sysv/aix/dl-open.c: New file.
8482 * sysdeps/unix/sysv/aix/dl-sym.c: New file.
8483 * sysdeps/unix/sysv/aix/fchdir.c: New file.
8484 * sysdeps/unix/sysv/aix/fchmod.c: New file.
8485 * sysdeps/unix/sysv/aix/getgroups.c: New file.
8486 * sysdeps/unix/sysv/aix/gethostname.c: New file.
8487 * sysdeps/unix/sysv/aix/getpriority.c: New file.
8488 * sysdeps/unix/sysv/aix/getrlimit.c: New file.
8489 * sysdeps/unix/sysv/aix/getrlimit64.c: New file.
8490 * sysdeps/unix/sysv/aix/getrusage.c: New file.
8491 * sysdeps/unix/sysv/aix/link.c: New file.
8492 * sysdeps/unix/sysv/aix/madvise.c: New file.
8493 * sysdeps/unix/sysv/aix/mkdir.c: New file.
8494 * sysdeps/unix/sysv/aix/mknod.c: New file.
8495 * sysdeps/unix/sysv/aix/mprotect.c: New file.
8496 * sysdeps/unix/sysv/aix/msgctl.c: New file.
8497 * sysdeps/unix/sysv/aix/msgget.c: New file.
8498 * sysdeps/unix/sysv/aix/msgrcv.c: New file.
8500 2000-04-17 Andreas Jaeger <aj@suse.de>
8502 * sysdeps/mips/dl-machine.h (elf_machine_got_rel): Optimize a bit
8503 as suggested by Ulrich Drepper.
8504 (__dl_runtime_resolve): Remove unused variable, initialize sym
8506 (RTLD_START): Document OFFSET_GP_GOT.
8507 (OFFSET_GP_GOT): New magic value.
8508 (elf_mips_got_from_gpreg): Use OFFSET_GP_GOT.
8509 (elf_machine_got_rel): Only declare strtab if needed.
8510 (elf_machine_relplt): Removed, it's not needed.
8511 (_dl_runtime_resolve): Fix \n for a comment, safe gp and not pc.
8513 * sysdeps/mips/add_n.S: Add newline at EOF.
8514 * sysdeps/mips/rshift.S: Likewise.
8515 * sysdeps/mips/mul_1.S: Likewise.
8516 * sysdeps/mips/lshift.S: Likewise.
8517 * sysdeps/mips/addmul_1.S: Likewise.
8519 2000-04-17 Ulrich Drepper <drepper@redhat.com>
8521 * sysdeps/powerpc/fpu/s_isnan.c: Pretty printing.
8523 * elf/dl-reloc.c (_dl_relocate_object): Add more __builtin_expect.
8524 * elf/dl-lookup.c: Likewise.
8525 * elf/dl-init.c (_dl_init): Likewise.
8526 * elf/dl-fini.c (_dl_fini): Likewise.
8527 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
8528 * elf/dl-close.c (_dl_close): Likewise.
8529 * elf/rtld.c (_dl_start_final): Likewise.
8531 * elf/dl-lookup.c (add_dependency): Correct __builtin_expect use.
8533 2000-04-15 Ulrich Drepper <drepper@redhat.com>
8535 * csu/Makefile ($(objpfx)version-info.h): Get OS name from uname and
8536 only fall back on using Linux.
8538 * elf/dl-version.c (_dl_check_map_versions): New argument trace_mode.
8539 Before testing versions check that we actually loaded the object
8540 and whether we are in trace mode. If not loaded during tracing don't
8541 test versions in this object.
8542 (_dl_check_all_versions): Take new parameter and pass to
8543 _dl_check_map_versions.
8544 * sysdeps/generic/ldsodefs.h: Update prototypes for
8545 _dl_check_all_versions and _dl_check_map_versions.
8546 * elf/rtld.c (struct version_check_args): Add dotrace.
8547 (version_check_doit): Pass args->dotrace to _dl_check_all_versions.
8548 (dl_main): Pass info about trace mode to version_check_doit.
8549 * elf/dl-open.c (dl_open_worker): Pass zero as new argument to
8550 _dl_check_all_versions.
8552 * manual/users.texi (XPG Functions): Document utmpxname, getutmp,
8554 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
8556 * manual/argp.texi: Document index parameter of argp_parse.
8558 Reported by Andrew Schulman <SCHULMAN.ANDREW@epamail.epa.gov>.
8560 2000-04-14 Andreas Jaeger <aj@suse.de>
8562 * sysdeps/unix/sysv/linux/shm_open.c: Include linux_fsinfo for
8563 SHMFS_SUPER_MAGIC. Remove definition of SHMFS_SUPER_MAGIC.
8565 * sysdeps/unix/sysv/linux/linux_fsinfo.h (SHMFS_SUPER_MAGIC): Added.
8567 2000-04-15 Ulrich Drepper <drepper@redhat.com>
8569 * sysdeps/unix/sysv/linux/alpha/adjtime.c: Fix typo in
8570 compat_symbol call for old adjtime.
8572 * sysdeps/alpha/dl-machine.h (RTLD_START): Rewrite for new init
8573 function interface. Patch by Richard Henderson <rth@cygnus.com>.
8575 * posix/Makefile (headers): Add spawn.h.
8576 (distribute): Add spawn_int.h.
8577 (routines): Add spawn_faction_init, spawn_faction_destroy,
8578 spawn_faction_addclose, spawn_faction_addopen, spawn_faction_adddup2,
8579 spawnattr_init, spawnattr_destroy, spawnattr_getdefault,
8580 spawnattr_setdefault, spawnattr_getflags, spawnattr_setflags,
8581 spawnattr_getpgroup, spawnattr_setpgroup, spawn, spawnp, and spawni.
8582 * posix/Versions [libc] (GLIBC_2.2): Add posix_spawn_file_actions_init,
8583 posix_spawn_file_actions_destroy, posix_spawn_file_actions_addclose,
8584 posix_spawn_file_actions_addopen, posix_spawn_file_actions_adddup2,
8585 posix_spawnattr_init, posix_spawnattr_destroy,
8586 posix_spawnattr_getdefault, posix_spawnattr_setdefault,
8587 posix_spawnattr_getflags, posix_spawnattr_setflags,
8588 posix_spawnattr_getpgroup, posix_spawnattr_setpgroup, posix_spawn,
8590 * posix/spawn.c: New file.
8591 * posix/spawn.h: New file.
8592 * posix/spawn_faction_addclose.c: New file.
8593 * posix/spawn_faction_adddup2.c: New file.
8594 * posix/spawn_faction_addopen.c: New file.
8595 * posix/spawn_faction_destroy.c: New file.
8596 * posix/spawn_faction_init.c: New file.
8597 * posix/spawn_int.h: New file.
8598 * posix/spawnattr_destroy.c: New file.
8599 * posix/spawnattr_getdefault.c: New file.
8600 * posix/spawnattr_getflags.c: New file.
8601 * posix/spawnattr_getpgroup.c: New file.
8602 * posix/spawnattr_getschedparam.c: New file.
8603 * posix/spawnattr_getschedpolicy.c: New file.
8604 * posix/spawnattr_getsigmask.c: New file.
8605 * posix/spawnattr_init.c: New file.
8606 * posix/spawnattr_setdefault.c: New file.
8607 * posix/spawnattr_setflags.c: New file.
8608 * posix/spawnattr_setpgroup.c: New file.
8609 * posix/spawnattr_setschedparam.c: New file.
8610 * posix/spawnattr_setschedpolicy.c: New file.
8611 * posix/spawnattr_setsigmask.c: New file.
8612 * posix/spawni.c: New file.
8613 * posix/spawnp.c: New file.
8615 * sysdeps/mach/hurd/bits/posix_opt.h: Add _POSIX_SPAWN.
8616 * sysdeps/unix/sysv/linux/bits/posix_opt.h: Likewise.
8618 2000-04-14 Ulrich Drepper <drepper@redhat.com>
8620 * malloc/Versions [libc] (GLIBC_2.2): Add posix_memalign.
8621 * malloc/malloc.c: Implement posix_memalign for glibc.
8622 * include/stdlib.h: Add prototype for __posix_memalign.
8623 * stdlib/stdlib.h: Add prototype for posix_memalign.
8625 2000-04-14 Andreas Jaeger <aj@suse.de>
8627 * sysdeps/mips/dl-machine.h (elf_machine_got_rel): Initialize
8629 (elf_machine_got_rel): Cast sym correctly.
8631 * sysdeps/mips/add_n.S: Use __PIC__, add end directive.
8632 * sysdeps/mips/addmul_1.S: Likewise.
8633 * sysdeps/mips/lshift.S: Likewise.
8634 * sysdeps/mips/mul_1.S: Likewise.
8635 * sysdeps/mips/rshift.S: Likewise.
8636 * sysdeps/mips/sub_n.S: Likewise.
8637 * sysdeps/mips/submul_1.S: Likewise.
8639 * stdlib/stdlib.h: Fix typo in comment.
8641 * shlib-versions (mips.*-.*-linux.*): Support only GLIBC 2.0 and
8642 2.2 for libdl, ld and libm.
8644 * sysdeps/generic/madvise.c: Fix typos.
8646 * sysdeps/unix/sysv/linux/mips/clone.S (error): Use __PIC__.
8648 * sysdeps/mips/bits/setjmp.h: Remove K&R compatibility.
8650 * sysdeps/mips/setjmp_aux.c (__sigsetjmp_aux): Silence gcc
8653 2000-04-14 Ulrich Drepper <drepper@redhat.com>
8655 * include/sys/statfs.h: Add prototypes for __statfs64 and __fstatfs64.
8656 * sysdeps/generic/fstatfs64.c (__fstatfs64): Renamed to fstatfs64.
8657 Make old name weak alias.
8658 * sysdeps/unix/sysv/linux/fstatfs64.c: Likewise.
8659 * sysdeps/generic/statfs64.c (__statfs64): Renamed to statfs64.
8660 Make old name weak alias.
8661 * sysdeps/unix/sysv/linux/statfs64.c: Likewise.
8663 * io/Makefile (routines): Add posix_fadvise, posix_fadvise64,
8664 posix_fallocate, and posix_fallocate64.
8665 * io/Versions [libc] (GLIBC_2.2): Add posix_fadvise, posix_fadvise64,
8666 posix_fallocate, and posix_fallocate64.
8667 * io/fcntl.h: Declare posix_fadvise, posix_fadvise64,
8668 posix_fallocate, and posix_fallocate64.
8669 * sysdeps/generic/fadvise.c: New file.
8670 * sysdeps/generic/fadvise64.c: New file.
8671 * sysdeps/generic/fallocate.c: New file.
8672 * sysdeps/generic/fallocate64.c: New file.
8673 * sysdeps/posix/fallocate.c: New file.
8674 * sysdeps/posix/fallocate64.c: New file.
8675 * sysdeps/generic/bits/fcntl.h: Define POSIX_FADV_NORMAL,
8676 POSIX_FADV_RANDOM, POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED,
8677 POSIX_FADV_DONTNEED, and POSIX_FADV_NOREUSE.
8678 * sysdeps/mach/hurd/bits/fcntl.h: Likewise.
8679 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Likewise.
8680 * sysdeps/unix/sysv/linux/bits/fcntl.h: Likewise.
8681 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
8682 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
8683 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
8685 * sysdeps/generic/madvise.c (__madvise): Renamed to posix_madvise.
8686 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
8688 2000-04-13 Ulrich Drepper <drepper@redhat.com>
8690 * misc/Versions [libc] (GLIBC_2.2): Add posix_madvice.
8691 * misc/sys/mman.h (posix_madvise): Add prototype.
8692 * sysdeps/generic/madvise.c (madvise): Renamed to __madvise. Make
8693 old name and posix_madvise weak aliases.
8694 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
8695 * sysdeps/generic/bits/mman.h: Add POSIX_MADV_* constants.
8696 * sysdeps/unix/sysv/linux/alpha/bits/mman.h: Likewise.
8697 * sysdeps/unix/sysv/linux/arm/bits/mman.h: Likewise.
8698 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Likewise.
8699 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
8700 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
8702 2000-04-13 Andreas Jaeger <aj@suse.de>
8704 * sysdeps/mips/dl-machine.h (__dl_runtime_resolve): Handle symbol
8706 (elf_machine_got_rel): Only add runtime display if needed.
8707 (elf_machine_got_rel): Handle symbol versioning.
8709 2000-04-13 Andreas Jaeger <aj@suse.de>
8711 * sysdeps/unix/sysv/linux/mips/clone.S: Fix function.
8713 * sysdeps/unix/mips/pipe.S: Reorder instructions since .reorder is
8716 * sysdeps/mips/__longjmp.c (__longjmp): Use $25 to fix problems
8717 with some applications.
8718 Patches by Ralf Baechle <ralf@uni-koblenz.de>.
8720 * sysdeps/mips/bsd-setjmp.S: Use __PIC__.
8721 * sysdeps/mips/bsd-_setjmp.S: Likewise.
8722 * sysdeps/mips/setjmp.S: Likewise.
8724 * sysdeps/unix/sysv/linux/mips/pipe.S: New file.
8726 2000-04-13 Ulrich Drepper <drepper@redhat.com>
8728 * posix/globtest.sh: Work around inconsistency with expanding ~/
8729 in shell (PR libc/1690). Reported by patsmith@pobox.com.
8731 2000-04-12 Ulrich Drepper <drepper@redhat.com>
8733 * posix/getconf.c: Add support for many more POSIX options.
8734 * sysdeps/posix/sysconf.c: Likewise.
8735 * sysdeps/generic/bits/confname.h: Add many more POSIX options.
8736 * sysdeps/mach/hurd/bits/posix_opt.h: Add _POSIX_REGEXP and
8738 * sysdeps/unix/sysv/linux/bits/posix_opt.h: Likewise.
8739 * sysdeps/unix/sysv/linux/i386/bits/time.h: Rename __CLOCK_HIGHRES to
8740 CLOCK_PROCESS_CPUTIME_ID. Add define CLOCK_MONOTONIC and
8741 CLOCK_THREAD_CPUTIME_ID.
8742 * sysdeps/unix/i386/clock_getcpuclockid.c: Set *clock_id to
8743 CLOCK_PROCESS_CPUTIME_ID.
8744 * sysdeps/unix/i386/i586/clock_getres.c: Change for renaming of
8745 __CLOCK_HIGHRES to CLOCK_PROCESS_CPUTIME_ID. Handle
8746 CLOCK_THREAD_CPUTIME_ID and CLOCK_MONOTONIC the same.
8747 * sysdeps/unix/i386/i586/clock_gettime.c: Likewise.
8749 * malloc/Makefile (tests): Add tst-calloc.
8750 * malloc/tst-calloc.c: New file.
8752 * sysdeps/arm/libm-test-ulps: New file.
8754 * malloc/malloc.c: Undo all of today's changes.
8756 * locale/programs/locale.c (show_info): Don't try to look into
8757 data for LC_ALL (there is none).
8759 * malloc/malloc.c (cALLOc): Clear only what the user asked for and
8760 avoid writing over boundary.
8761 Patch by Greg McGary <gkm@eng.ascend.com>.
8763 * sysdeps/arm/memprof.h: New file.
8765 2000-04-12 Andreas Jaeger <aj@suse.de>
8767 * sysdeps/unix/i386/i586/clock_gettime.c: Fix typo.
8769 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Include <string.h>
8770 for memmem declaration.
8772 2000-04-12 Ulrich Drepper <drepper@redhat.com>
8774 * sysdeps/unix/clock_gettime.c (clock_gettime): Initialize retval
8776 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
8778 * libio/iopopen.c (_IO_new_proc_open): Close pipes in case the
8780 * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
8781 Patch by Bart Veer <bartv@redhat.com>.
8783 * sysdeps/arm/dl-machine.h (RTLD_START): Rewrite for new init
8786 2000-04-11 Andreas Jaeger <aj@suse.de>
8788 * sysdeps/mips/dl-machine.h: Update some comments.
8789 (ELF_MACHINE_ALIGN_MASK): Removed, it's not needed.
8791 2000-04-11 Ulrich Drepper <drepper@redhat.com>
8793 * sysdeps/unix/sysv/linux/bits/posix_opt.h: Add
8794 _POSIX_SHARED_MEMORY_OBJECTS.
8796 * rt/Makefile (tests): Add tst-shm.
8797 Add rules to generate tst-shm.
8798 * rt/tst-shm.c: New file.
8800 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Set FD_CLOEXEC
8803 * misc/sys/mman.h: Add prototypes for shm_open and shm_unlink.
8804 * rt/Makefile (librt-routines): Add shm_open and shm_unlink.
8805 * rt/Versions [librt] (GLIBC_2.2): Add shm_open and shm_unlink.
8806 * sysdeps/generic/shm_open.c: New file.
8807 * sysdeps/generic/shm_unlink.c: New file.
8808 * sysdeps/unix/sysv/linux/shm_open.c: New file.
8809 * sysdeps/unix/sysv/linux/shm_unlink.c: New file.
8810 * sysdeps/unix/sysv/linux/Versions [libc] (GLIBC_2.2): Export
8811 __endmntent, __getmntent_r, __setmntent, and __statfs.
8813 * libio/vasprintf.c (_IO_vasprintf): Try to avoid memory
8814 fragmentation by allocating new memory at the end instead of
8817 * posix/globtest.sh: Fix last change.
8819 2000-04-10 Philip Blundell <philb@gnu.org>
8821 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_JOIN_GROUP,
8822 IPV6_LEAVE_GROUP): New names for IPV6_ADD_MEMBERSHIP,
8823 IPV6_DROP_MEMBERSHIP.
8824 * sysdeps/generic/bits/in.h (IPV6_JOIN_GROUP, IPV6_LEAVE_GROUP):
8827 2000-04-11 Ulrich Drepper <drepper@redhat.com>
8829 * elf/readlib (process_file): Close streams in case of an error.
8831 2000-04-09 Andreas Jaeger <aj@suse.de>
8833 * elf/readlib.c (process_file): Check if file is big enough to
8834 contain aout and ELF headers.
8835 Reported by Reinhard Moosauer <RMoosauer@steinecker.com>.
8837 2000-04-10 Jes Sorensen <Jes.Sorensen@cern.ch>
8839 * elf/dl-fini.c: Include alloca.h to get proper prototype for alloca().
8841 2000-04-11 Ulrich Drepper <drepper@redhat.com>
8843 * test-skeleton.c (main): If STDOUT_UNBUFFERED is defined, make stdout
8845 * rt/Makefile (tests): Add tst-clock.
8846 Add rules to build tst-clock.
8847 * rt/tst-clock.c: New file.
8848 * sysdeps/unix/i386/i586/clock_getres.c: Correct expression to decide
8849 about initialization of nsec.
8850 * sysdeps/unix/i386/i586/clock_gettime.c: Correct expression to decide
8851 about initialization of freq. Set retval to zero if successful.
8852 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Cache result.
8854 2000-04-10 Ulrich Drepper <drepper@redhat.com>
8856 * Versions.def (librt): Add GLIBC_2.2.
8857 * rt/Makefile (librt-routines): Add get_clockfreq, clock_getcpuclockid,
8858 clock_getres, clock_gettime, clock_settime, timer_create, timer_delete,
8859 timer_getoverr, timer_gettime, and timer_settime.
8860 * rt/Versions [librt] (GLIBC_2.2): Add clock_getres, clock_gettime,
8861 clock_settime, timer_create, timer_delete, timer_getoverrun,
8862 timer_gettime, and timer_settime.
8863 * sysdeps/generic/clock_getcpuclockid.c: New file.
8864 * sysdeps/generic/get_clockfreq.c: New file.
8865 * sysdeps/unix/i386/clock_getcpuclockid.c: New file.
8866 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: New file.
8867 * sysdeps/mach/hurd/i386/bits/time.h: New file.
8868 * sysdeps/unix/i386/i586/clock_getres.c: New file.
8869 * sysdeps/unix/i386/i586/clock_gettime.c: New file.
8870 * sysdeps/unix/i386/i686/Implies: New file.
8871 * sysdpes/unix/sysv/linux/i386/bits/time.h: New file.
8872 * time/Makefile (routines): Move clock_getres, clock_gettime,
8873 clock_settime, timer_create, timer_delete, timer_getoverr,
8874 timer_gettime, and timer_settime to rt/Makefile.
8875 * time/Versions [libc] (GLIBC_2.2): Remove clock_getres, clock_gettime,
8876 clock_settime, timer_create, timer_delete, timer_getoverrun,
8877 timer_gettime, and timer_settime.
8878 * time/time.h: Define pid_t. Add prototype for clock_getcpuclockid.
8880 * sysdeps/mach/hurd/bits/time.h: Drop K&R compatibility. Use __const__
8881 and not const as attribute name.
8883 2000-04-10 Thorsten Kukuk <kukuk@suse.de>
8885 * elf/cache.c (save_cache): Make sure /etc/ld.so.cache is mode 644.
8887 2000-04-10 Andreas Schwab <schwab@suse.de>
8889 * posix/globtest.sh: Skip tests that depend on unreadable
8890 directories if run as root.
8892 2000-04-10 Ulrich Drepper <drepper@redhat.com>
8894 * sysdeps/unix/clock_settime.c (clock_settime): Test tv_nsec value
8895 for correct range. From code by Kaz Kylheku <kaz@ashi.footprints.net>.
8897 2000-04-09 Ulrich Drepper <drepper@redhat.com>
8899 * sysdeps/unix/clock_gettime.c: New file.
8900 * sysdeps/unix/clock_settime.c: New file.
8901 * sysdeps/posix/clock_getres.c: New file.
8903 * conform/data/ftw.h-data: Add allow-header sys/stat.h.
8905 * sysdeps/unix/sysv/linux/getdents.c (__getdents): Avoid initial
8906 lseek call be passing in a buffer which never allow a successful
8907 first getdents syscall if not at leas the initial entry can be
8908 stored in the user buffer.
8910 * localedata/Makefile: Add rules to clean up directories created by
8913 2000-04-09 Geoff Clare <gwc@unisoft.com>
8915 * localedata/tst-fmon.data: Added new tests for strfmon()
8916 using test locales with all combinations of cs_precedes,
8917 sign_posn and sep_by_space.
8918 * localedata/tst-fmon.sh: Updated to support the new tests.
8919 * localedata/tst-fmon-locales/tstfmon_n01y12: New file containing
8920 the localedef source for the new strfmon() test locale.
8921 * localedata/tst-fmon-locales/tstfmon_n02n40: Likewise.
8922 * localedata/tst-fmon-locales/tstfmon_n10y31: Likewise.
8923 * localedata/tst-fmon-locales/tstfmon_n11y41: Likewise.
8924 * localedata/tst-fmon-locales/tstfmon_n12y11: Likewise.
8925 * localedata/tst-fmon-locales/tstfmon_n20n32: Likewise.
8926 * localedata/tst-fmon-locales/tstfmon_n30y20: Likewise.
8927 * localedata/tst-fmon-locales/tstfmon_n41n00: Likewise.
8928 * localedata/tst-fmon-locales/tstfmon_y01y10: Likewise.
8929 * localedata/tst-fmon-locales/tstfmon_y02n22: Likewise.
8930 * localedata/tst-fmon-locales/tstfmon_y22n42: Likewise.
8931 * localedata/tst-fmon-locales/tstfmon_y30y21: Likewise.
8932 * localedata/tst-fmon-locales/tstfmon_y32n31: Likewise.
8933 * localedata/tst-fmon-locales/tstfmon_y40y00: Likewise.
8934 * localedata/tst-fmon-locales/tstfmon_y42n21: Likewise.
8936 * stdlib/strfmon.c: Correct problems with missing or extra
8937 spaces for unusual combinations of sign_posn and sep_by_space.
8938 Improved left-precision alignment code.
8940 2000-04-07 Andreas Jaeger <aj@suse.de>
8942 * posix/Makefile (CFLAGS-regex.c): Remove DEBUG.
8944 2000-04-10 Andreas Jaeger <aj@suse.de>
8946 * intl/Makefile: Don't run do-gettext-test when cross-compiling.
8948 2000-04-09 Ulrich Drepper <drepper@redhat.com>
8950 Implement handling of restartable conversion functions according to
8952 * iconv/gconv.h (__gconv_fct): Add additional parameter.
8953 * iconv/gconv_int.h (__BUILTIN_TRANS): Likewise.
8954 * iconv/gconv.c: Pass additional parameter to conversion function.
8955 * iconv/gconv_simple.c (internal_ucs4_loop_single): New function.
8956 (internal_ucs4le_loop_single): New function.
8957 (__gconv_transform_ascii_internal): Define ONE_DIRECTION.
8958 (__gconv_transform_internal_ascii): Likewise.
8959 (__gconv_transform_internal_utf8): Likewise.
8960 (__gconv_transform_utf8_internal): Likewise.
8961 (__gconv_transform_ucs2_internal): Likewise.
8962 (__gconv_transform_internal_ucs2): Likewise.
8963 (__gconv_transform_ucs2reverse_internal): Likewise.
8964 (__gconv_transform_internal_ucs2reverse): Likewise.
8965 (internal_ucs4le_loop_unaligned): Before return
8966 __GCONV_INCOMPLETE_INPUT check that the remaining bytes really form
8967 a valid character. Otherwise return __GCONV_ILLEGAL_INPUT.
8968 (__gconv_transform_utf8_internal): Define STORE_REST and UNPACK_BYTES.
8969 * iconv/loop.c: Fit in definition of function to convert one character
8970 for processing of left-over bytes from the state object.
8971 * iconv/skeleton.c (gconv): Rename inbuf to inptrp and inbufend to
8972 inend to match names in loop functions.
8973 (RESET_INPUT_BUFFER): Change apprpriately.
8974 (gconv): If needed, call function to process bytes from the state
8975 object. Similar at the end: store left over bytes if input is
8977 Take extra argument and add new argument to all calls of the
8978 conversion function.
8979 * iconvdata/iso-2022-cn.c: Adjust numeric values used to store
8980 information in the state object to not conflict with length count.
8981 * iconvdata/iso-2022-jp.c: Likewise.
8982 * iconvdata/iso-2022-kr.c: Likewise.
8983 * iconvdata/unicode.c: Adjust for change change in parameters of
8985 * iconvdata/utf-16.c: Likewise.
8986 * libio/iofwide.c: Add new parameter to all calls of conversion
8988 * wcsmbs/btowc.c: Likewise.
8989 * wcsmbs/mbrtowc.c: Likewise.
8990 * wcsmbs/mbsnrtowcs.c: Likewise.
8991 * wcsmbs/mbsrtowcs.c: Likewise.
8992 * wcsmbs/wcrtomb.c: Likewise.
8993 * wcsmbs/wcsnrtombs.c: Likewise.
8994 * wcsmbs/wcsrtombs.c: Likewise.
8995 * wcsmbs/wctob.c: Likewise.
8997 * iconvdata/gbgbk.c: Always define MAX_NEEDED_OUTPUT and
9000 2000-04-07 Andreas Jaeger <aj@suse.de>
9002 * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Updated for
9005 2000-04-07 Ulrich Drepper <drepper@redhat.com>
9007 * wcsmbs/wchar.h (__mbstate_t): Rename elements. Make __value
9008 element a union to allow byte access.
9009 * iconvdata/iso-2022-cn.c: Adjust for change of element name in
9011 * iconvdata/iso-2022-jp.c: Likewise.
9012 * iconvdata/iso-2022-kr.c: Likewise.
9013 * wcsmbs/mbsinit.c: Likewise.
9014 * stdlib/mblen.c: Likewise.
9015 * stdio-common/printf-parse.h: Likewise.
9017 2000-04-06 Ulrich Drepper <drepper@redhat.com>
9019 * sysdeps/unix/sysv/linux/getdents.c (__getdents): The Linux
9020 kernel does not allow relative seeks on descriptors associated
9021 with directories. Go back to get the position in the directory
9022 every time we enter the function. Return -1 and set errno if one
9023 entry could be read from the kernel but does not fit into the
9024 buffer passed in by the user.
9026 * locale/programs/charmap.c (charmap_new_char): Add parameter step.
9027 Support ..(2).. ellipsis.
9028 (parse_charmap): Recognize ..(2).. etc and pass step down.
9029 Correctly generate names for UCS4 characters.
9031 * locale/programs/ld-ctype.c (struct translit_ignore_t): Add step.
9032 (ctype_finish): We know the wide character value for <SP>,
9034 (charclass_symbolic_ellipsis): Handle ..(2).. ellipsis.
9035 (charclass_ucs4_ellipsis): Likewise.
9036 (read_translit_ignore_entry): Store ellipsis step.
9037 (ctype_read): Recognize ..(2).. etc and pass step down.
9039 * locale/programs/linereader.c (lr_token): When seeing comment
9040 character ignore only rest of line in sources but stop at escaped
9042 Recognize ..(2).. and ....(2).....
9044 * locale/programs/locfile-token.h (enum token_t): Add tok_ellipsis2_2
9045 and tok_ellipsis4_2.
9047 2000-04-06 Andreas Jaeger <aj@suse.de>
9049 * sysdeps/unix/sysv/linux/alpha/Dist: init-first.h has been
9050 removed, remove it here also.
9051 * sysdeps/unix/sysv/linux/arm/Dist: Likewise.
9052 * sysdeps/unix/sysv/linux/powerpc/Dist: Likewise.
9053 * sysdeps/unix/sysv/linux/sparc/sparc32/Dist: Likewise.
9054 * sysdeps/unix/sysv/linux/sparc/sparc64/Dist: Likewise.
9056 2000-04-06 Jakub Jelinek <jakub@redhat.com>
9058 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Don't
9059 include bits/sigcontext.h.
9060 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
9062 2000-04-06 Ulrich Drepper <drepper@redhat.com>
9064 * locale/programs/ld-collate.c (collate_read): Handle ellipsis in
9065 collation symbol definition. Value in quivalence definition must
9066 be defined, don't check that it is not.
9068 * locale/programs/charmap.c (parse_charmap): Recognize <Uxxxx>
9069 values as character names.
9071 * locale/programs/ld-ctype.c (get_character): Handle missing
9072 repertoire map correctly.
9074 2000-04-05 Cristian Gafton <gafton@redhat.com>
9076 * ctype/ctype.h (__isctype_l): Define even if not __OPTIMIZE__
9077 because it is used in generic code.
9078 * wctype/wctrans.c: Define __ctype32_toupper and __ctype32_tolower.
9079 * wcsmbs/wcwidth.h: Declare __ctype32_b.
9080 * intl/gettext.c: Include <locale.h>.
9081 * intl/ngettext.c: Likewise.
9083 2000-04-05 Jakub Jelinek <jakub@redhat.com>
9085 * resolv/inet_ntop.c (inet_ntop4, inet_ntop6, inet_ntop): Use
9086 socklen_t type for size.
9087 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Rewrite for new
9088 init function interface.
9089 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
9090 * sysdeps/unix/sysv/linux/sparc/bits/setjmp.h: Don't include
9092 (__jmp_buf): Declare the whole type structure here, don't use
9095 2000-04-05 Ulrich Drepper <drepper@redhat.com>
9097 * iconv/skeleton.c (put16u): Fix typo.
9098 Reported by Bruno Haible <haible@ilog.fr>.
9100 * sysdeps/unix/sysv/linux/alpha/init-first.h: Not needed anymore.
9101 * sysdeps/unix/sysv/linux/arm/init-first.h: Likewise.
9102 * sysdeps/unix/sysv/linux/mips/init-first.h: Likewise.
9103 * sysdeps/unix/sysv/linux/powerpc/init-first.h: Likewise.
9104 * sysdeps/unix/sysv/linux/sparc/sparc32/init-first.h: Likewise.
9105 * sysdeps/unix/sysv/linux/sparc/sparc64/init-first.h: Likewise.
9107 * sysdeps/unix/sysv/linux/Dist: Remove getresuid and getresgid.
9108 * Makefile (distribute): Add abi-versions.awk and
9110 Patches by Torsten Duwe <duwe@caldera.de>.
9112 2000-04-05 Andreas Schwab <schwab@suse.de>
9114 * nss/Makefile ($(objpfx)makedb): Move $(libdl) after db-open.o.
9116 2000-04-05 Andreas Schwab <schwab@suse.de>
9118 * sysdeps/m68k/dl-machine.h (RTLD_START): Readd _dl_start_user
9119 entry point, used on Hurd.
9121 2000-04-04 Andreas Jaeger <aj@suse.de>
9123 * intl/Makefile: Only run the gettext test with shared libraries.
9125 2000-03-16 Mark Kettenis <kettenis@gnu.org>
9127 * sysdeps/unix/sysv/linux/i386/sys/procfs.h (prfpregset_t):
9128 Typedef for elf_fpregset_t instead of `elf_fpregset_t *'.
9130 2000-04-05 Roland McGrath <roland@baalperazim.frob.com>
9132 * Makeconfig: Undo last change.
9133 * configure.in: If --disable-shared was given, don't set VERSIONING,
9134 don't define DO_VERSIONING, and don't give scare warning for no
9136 * configure: Regenerated.
9138 2000-04-04 Roland McGrath <roland@baalperazim.frob.com>
9140 * Makeconfig [$(build-shared) != yes] (versioning): Set to `no'.
9142 2000-04-04 Andreas Jaeger <aj@suse.de>
9144 * sysdeps/generic/fgetexcptflg.c: Use shlib-compat macros.
9146 2000-04-04 Ulrich Drepper <drepper@redhat.com>
9148 * elf/dl-runtime.c (fixup): Correct handling of symbols marked
9149 STV_HIDDEN and STV_INTERNAL during lookup.
9150 (profile_fixup): Likewise.
9151 * elf/dl-reloc.c (RESOLVE): Likewise.
9153 * iconv/skeleton.c (FUNCTION_NAME): Reorder initialization of
9154 unaligned so that it compiles for system which need unaligned
9157 2000-04-04 Andreas Schwab <schwab@suse.de>
9159 * elf/cache.c (print_entry): Only look at the type field when
9162 2000-04-04 Andreas Schwab <schwab@suse.de>
9164 * iconvdata/big5.c (BODY): Fix typo.
9166 2000-04-04 Andreas Schwab <schwab@suse.de>
9168 * sysdeps/m68k/dl-machine.h (RTLD_START): Rewrite for new init
9169 function interface. Remove unused _dl_start_user entry point.
9171 2000-04-03 Andreas Jaeger <aj@suse.de>
9173 * include/arpa/inet.h (__inet_aton): Add protoype.
9175 2000-04-01 Andreas Jaeger <aj@suse.de>
9177 * sysdeps/mach/hurd/mips/init-first.c: Use SHARED instead of PIC.
9179 * sysdeps/unix/mips/sysdep.h: Use __PIC__ instead of PIC.
9180 * sysdeps/mach/mips/thread_state.h: Likewise.
9182 * sysdeps/generic/fclrexcpt.c: Use shlib-compat macros.
9183 * sysdeps/generic/fegetenv.c: Likewise.
9184 * sysdeps/generic/fesetenv.c: Likewise.
9185 * sysdeps/generic/feupdateenv.c: Likewise.
9186 * sysdeps/generic/fraiseexcpt.c: Likewise.
9187 * sysdeps/generic/fsetexcptflg.c: Likewise.
9188 * sysdeps/unix/sysv/linux/alpha/glob.c: Likewise.
9189 * sysdeps/unix/sysv/linux/arm/errlist.c: Likewise.
9190 * sysdeps/unix/sysv/linux/errlist.c: Likewise.
9191 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
9193 2000-04-02 H.J. Lu <hjl@gnu.org>
9195 * elf/ldconfig.h (FLAG_IA64_LIB64): New. Defined.
9197 2000-04-03 Ulrich Drepper <drepper@redhat.com>
9199 * elf/dl-load.c (_dl_dst_substitute): Pretty print comment.
9200 (add_name_to_object): Add cast in malloc call.
9201 (fillin_rpath): Optimize loop to initialize ->status a bit.
9203 * sysdeps/i386/dl-machine.h: Undo last change.
9204 * sysdeps/mach/hurd/i386/dl-machine.h (RTLD_START_SPECIAL_INIT):
9205 Restore %edx register after call here.
9207 * sysdeps/arm/atomicity.h: New file.
9208 Contributed by Jesper Skov <jskov@redhat.com>.
9210 2000-04-03 Roland McGrath <roland@baalperazim.frob.com>
9212 * Makeconfig (preprocess-versions): Undo last change.
9213 Instead, pass -I$(common-objdir) -I$(..)include instead of $(CPPFLAGS).
9215 * sysdeps/mach/hurd/i386/init-first.c (init): Don't set __environ
9216 here, before we might move the stack.
9217 (posixland_init): Set __libc_argc, __libc_argc, and __environ here.
9218 (init1): And not here.
9220 * sysdeps/i386/dl-machine.h (RTLD_START): Fix code broken by last
9221 change, to restore argc value in call-clobbered register after
9222 RTLD_START_SPECIAL_INIT, which will contain a call.
9224 * elf/dl-deps.c (_dl_map_object_deps): Fix size calculations for
9225 allocating and initializing L->l_initfini.
9227 * resolv/Makefile (headers): Add bits/netdb.h, so it gets installed.
9229 2000-04-03 Ulrich Drepper <drepper@redhat.com>
9231 * elf/dl-load.c (_dl_init_paths): Use (void*) -1 to signal non-existing
9232 RUNPATH, RPATH, and LD_LIBRARY_PATH.
9233 (open_path): Change type of fourth parameter. Make pointer to array
9234 of pointers. Create variable dirs with original type.
9235 Track whether any directory for the object exists and if not,
9236 change *DIRSP to (void*) -1 to signal there is no such search path.
9237 (_dl_map_object): Change all calls of open_path.
9238 Rewrite decompose_rpath calls.
9240 2000-03-31 Andreas Schwab <schwab@suse.de>
9242 * string/strfry.c: Declare STATE as array of char instead of int
9243 and do not initialize it (done by initstate_r). Pass correct
9246 2000-04-03 Ulrich Drepper <drepper@redhat.com>
9248 * sysdeps/generic/ldsodefs.h: Fix typo in comment.
9250 * sysdeps/i386/dl-machine.h (RTLD_START): Squeeze one more
9251 instruction out of the code.
9253 2000-04-02 Ulrich Drepper <drepper@redhat.com>
9255 * elf/dl-fini.c (_dl_fini): Increment j counter after swapping in
9256 element at this position.
9258 * elf/Versions [ld.so] (GLIBC_2.2): Export _dl_load_lock.
9259 * elf/link.h (struct link_map): Add l_reldepsmax, l_reldepsact, and
9261 * elf/dl-lookup.c (add_dependency): New function.
9262 (_dl_lookup_symbol): Use it whenever symbol was found in a global,
9263 dynamically loaded object.
9264 (_dl_lookup_symbol_skip): Likewise.
9265 (_dl_lookup_versioned_symbol): Likewise.
9266 (_dl_lookup_versioned_symbol_skip): Likewise.
9267 * elf/dl-open.c: Don't define _dl_load_lock here...
9268 * elf/rtld.c: ...but here...
9269 * elf/dl-support.c: ...and here.
9270 * elf/dl-close.c (_dl_close): Close also dependent objects introduce
9272 * elf/dl-fini.c (_dl_fini): Also take dependencies introduced through
9274 * dlfcn/Makefile (glrefmain.out): Test is not expected to fail
9276 * dlfcn/glrefmain.c: Add one more debug message.
9278 * Makeconfig (preprocess-versions): Don't add $(CPPFLAGS) to compiler
9280 * Makerules (sysd-versions): Use ( ) instead of { }.
9282 * elf/dl-load.c: Use __builtin_expect to signal that compiler should
9283 optimize for the non-debugging case.
9284 * elf/dl-lookup.c: Likewise.
9285 * sysdeps/generic/libc-start.c: Likewise.
9287 2000-04-02 Roland McGrath <roland@baalperazim.frob.com>
9289 * sysdeps/mach/hurd/i386/init-first.c: Replace PIC #ifdefs with SHARED.
9290 (init1): Don't initialize __environ here, since init already does it.
9291 (first_init): New function, broken out of _init.
9292 (_hurd_stack_setup): Use it.
9293 [SHARED] (_dl_init_first): New function, renamed from old _init.
9294 (init1) [SHARED]: Don't call posixland_init here.
9295 (posixland_init): Take ENVP arg, so signature is usual for initializer.
9296 [SHARED] (_init): Define as alias for posixland_init.
9297 [! SHARED] (__libc_first_init): Define as alias for posixland_init.
9298 * sysdeps/i386/dl-machine.h (RTLD_START): Insert the macro
9299 RTLD_START_SPECIAL_INIT before calling initializers.
9300 (RTLD_START_SPECIAL_INIT): Define to empty if undefined.
9301 * sysdeps/mach/hurd/i386/dl-machine.h: New file.
9302 * sysdeps/mach/hurd/dl-sysdep.c (_dl_init_first): New weak function.
9303 * elf/Versions ({libc,ld.so}: GLIBC_2.2): Add _dl_init_first.
9305 * stdio-common/tmpfile.c [! USE_IN_LIBIO]: No alias needed,
9306 since we define the function with the name `tmpfile'.
9308 * mach/Versions: Define SHARED instead of PIC to affect shlib-compat.h.
9309 * hurd/Versions: Likewise.
9311 2000-04-02 Ulrich Drepper <drepper@redhat.com>
9313 * elf/dl-runtime.c (fixup): Fix typo in comment.
9315 * resolv/netdb.h (getnameinfo): All length parameters are of type
9317 * inet/getnameinfo.c: Likewise.
9319 2000-04-01 Ulrich Drepper <drepper@redhat.com>
9321 * posix/unistd.h (socklen_t): Define if it has not yet happened.
9322 (gethostname): Change type of second parameter to socklen_t.
9323 * include/unistd.h (__gethostname): Change type of second
9324 parameter to socklen_t.
9325 * sysdeps/generic/gethostname.c (__gethostname): Likewise.
9326 * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
9327 * sysdeps/unix/sysv/gethostname.c (__gethostname): Likewise.
9328 * sysdeps/unix/sysv/sysv4/solaris2/gethostname.c (__gethostname):
9330 * sysdeps/unix/sysv/linux/gethostname.c: Removed.
9331 * sysdeps/generic/bits/socket.h: Use __socklen_t to define socklen_t.
9332 Allow definition elsewhere.
9333 * sysdeps/unix/sysv/aix/bits/socket.h: Likewise.
9334 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
9335 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
9336 * sysdeps/generic/bits/types.h: Define __socklen_t.
9337 * sysdeps/unix/sysv/aix/bits/types.h: Likewise.
9338 * sysdeps/unix/sysv/hpux/bits/types.h: Likewise.
9339 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
9340 * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
9341 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
9342 * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
9343 * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
9345 * inet/arpa/inet.h (inet_addr): Change return type to in_addr_t.
9346 (inet_lnaof): Likewise.
9347 (inet_netof): Likewise.
9348 (inet_network): Likewise.
9349 (inet_aton): Likewise.
9350 (inet_makeaddr): Change parameter types to in_addr_t.
9351 (inet_neta): Likewise.
9352 (inet_ntop): Change type of last parameter to socklen_t.
9353 (inet_aton): Only make available if __USE_MISC.
9354 (inet_neta): Likewise.
9355 (inet_net_ntop): Likewise.
9356 (inet_net_pton): Likewise.
9357 (inet_nsap_ntoa): Likewise.
9359 * inet/in.h: Define in_port_t type.
9360 Define in_addr_t type.
9361 (struct in_addr): Use in_addr_t in definition.
9362 (IN_CLASSA): Use cast to in_addr_t.
9363 (IN_CLASSB): Likewise.
9364 (IN_CLASSC): Likewise.
9365 (IN_CLASSD): Likewise.
9366 (IN_EXPERIMENTAL): Likewise.
9367 (IN_BADCLASS): Likewise.
9368 (INADDR_ANY): Likewise.
9369 (INADDR_BROADCAST): Likewise.
9370 (INADDR_NONE): Likewise.
9371 (INADDR_LOOPBACK): Likewise.
9372 (INADDR_UNSPEC_GROUP): Likewise.
9373 (INADDR_ALLHOSTS_GROUP): Likewise.
9374 (INADDR_ALLRTRS_GROUP): Likewise.
9375 (INADDR_MAX_LOCAL_GROUP): Likewise.
9376 (struct sockaddr_in): Use in_port_t for sin_port element.
9377 (struct sockaddr_in6): Use in_port_t for sin6_port element.
9378 Use uint8_t instead of u_int8_t.
9380 * resolv/inet_addr.c (inet_addr): Change return type to in_addr_t.
9381 Call __inet_aton instead of inet_aton.
9382 (__inet_aton): Renamed from inet_aton. Add weak alias under old name.
9384 * resolv/netdb.h (gethostbyname2): Define only is __USE_MISC.
9385 (innetgr): Likewise.
9386 (struct addrinfo): Use socklen_t for ai_addrlen element.
9388 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_MTU_DISCOVER, IPV6_MTU,
9389 IPV6_RECVERR): New defines.
9391 * include/netdb.h: Change type of first parameter of __getnetbyaddr_r.
9392 * inet/getnetbyad.c: Likewise.
9393 * inet/getnetbyad_r.c: Likewise.
9394 * nis/nss_nis/nis-network.c: Likewise.
9395 * nis/nssplus_nis/nisplus-network.c: Likewise.
9396 * nss/nss_files/files-network.c: Likewise.
9397 * resolv/netdb.h: Define uint32_t if not already happened.
9398 Include bits/netdb.h. Remove definition of struct netent.
9399 Change type of first parameter of getnetbyaddr_r and getnetbyaddr.
9400 * sysdeps/generic/stdint.h: Allow definition of uint32_t elsewhere.
9401 * sysdeps/generic/bits/netdb.h: New file.
9402 * sysdeps/unix/sysv/linux/alpha/bits/netdb.h: New file.
9404 * dlfcn/Makefile (distribute): Add glreflib1.c and glreflib2.c.
9405 (tests): Add glrefmain.
9406 Add rules to build modules and run tests. Ignore result of glrefmain
9407 for now since it fails.
9408 * dlfcn/glrefmain.c: New file.
9409 * dlfcn/glreflib1.c: New file.
9410 * dlfcn/glreflib2.c: New file.
9412 * test-skeleton.c: Include <string.h> for strsignal prototype.
9414 * locale/programs/ld-collate.c (check_duplicate): Allow repertoire
9417 * sysdeps/unix/sysv/linux/init-first.c (init): Add code from
9418 former init-first.h. Initialize __libc_multiple_libcs.
9420 2000-03-31 Ulrich Drepper <drepper@redhat.com>
9422 * iconv/skeleton.c: Define access macros with u suffix. Adjust
9423 #if expression for use of unaligned function to the one used in
9424 the definition of these functions.
9425 * iconv/loop.c: Undefined `unaligned' before recursive inclusion.
9426 * iconv/gconv_simple.c (internal_ucs4_loop_unaligned): New function.
9427 (internal_ucs4le_loop_unaligned): New function.
9429 * elf/Makefile (distribute): Add dep1.c, dep2.c, dep3.c, and dep4.c.
9431 (module-names): Add dep1, dep2, dep3, and dep4.
9432 Add dependencies for dep* modules and order.
9433 Define rule for order.out which checks the result.
9434 * elf/dep1.c: New file.
9435 * elf/dep2.c: New file.
9436 * elf/dep3.c: New file.
9437 * elf/dep4.c: New file.
9438 * elf/order.c: New file.
9440 * elf/dl-init.c: Fix typo in comment.
9442 2000-03-31 Andreas Jaeger <aj@suse.de>
9444 * sysdeps/mips/dl-machine.h (RTLD_START): Rewritten to match new
9445 init function interface.
9446 * sysdeps/mips/mips64/dl-machine.h (RTLD_START): Likewise.
9448 2000-03-31 Andreas Jaeger <aj@suse.de>
9450 * sysdeps/mips/fpu/fgetexcptflg.c: Fix last patch to use #if.
9451 * sysdeps/mips/fpu/fegetenv.c: Likewise.
9452 * sysdeps/mips/fpu/feupdateenv.c: Likewise.
9453 * sysdeps/mips/fpu/fclrexcpt.c: Likewise.
9454 * sysdeps/mips/fpu/fesetenv.c: Likewise.
9456 * sysdeps/generic/ldsodefs.h: DT_INIT_ARRAY is not relocated
9457 anymore, update comment.
9459 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
9461 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Remove
9462 SHLIB_COMPAT - the struct is always needed.
9464 2000-03-31 Ulrich Drepper <drepper@redhat.com>
9466 * sysdeps/i386/dl-machine.h (RTLD_START): Optimize for i686.
9467 * elf/dl-support.c: Define _dl_starting_up.
9469 2000-03-30 Ulrich Drepper <drepper@redhat.com>
9471 * elf/dl-init.c (_dl_init): Clear _dl_starting_up at end of function.
9472 * sysdeps/i386/dl-machine.h: Remove code to clear _dl_starting_up.
9474 * misc/sys/cdefs.h: Don't allow gcc in traditional mode to be used.
9476 * elf/Makefile (dl-routines): Remove preinit.
9477 * elf/Versions: Remove _dl_preinit.
9478 * elf/dl-preinit.c: Removed. Move content into...
9479 * elf/dl-init.c: ...here.
9480 * sysdeps/i386/dl-machine.h (RTLD_START): Remove call to _dl_preinit.
9482 * sysdeps/generic/bits/shm.h (struct shmid_ds): Correct names of
9485 2000-03-29 Geoff Clare <gwc@unisoft.com>
9487 * stdlib/strfmon.c: Corrected problems with the code that
9488 sets default values for [np]_sep_by_space and
9489 [np]_sign_posn; also the new positive/negative alignment
9490 code from the previous patch was not quite right for
9493 * localedata/tst-fmon.data: Changes corresponding to the
9494 two sets of fixes made to stdlib/strfmon.c.
9496 2000-03-29 Jes Sorensen <jes@pcatls01.cern.ch>
9498 * malloc/malloc.c: Declare bit flags UL so that they will not
9499 default to int size when being inverted.
9501 2000-03-29 Andreas Jaeger <aj@suse.de>
9503 * sysdeps/unix/sysv/linux/arm/errlist.c: Use shlib-compat macros.
9504 * sysdeps/unix/sysv/linux/arm/siglist.c: Likewise.
9506 2000-03-29 Andreas Jaeger <aj@suse.de>,
9507 Ralf Baechle <ralf@uni-koblenz.de>
9509 * Makeconfig: Introduce new variable SHARED to mark code used in
9511 * elf/dl-close.c: Use it instead of PIC.
9512 * elf/dl-load.c: Likewise.
9513 * elf/dl-open.c: Likewise.
9514 * hurd/geteuids.c: Likewise.
9515 * include/libc-symbols.h: Likewise.
9516 * include/shlib-compat.h: Likewise.
9517 * libio/freopen.c: Likewise.
9518 * linuxthreads/cancel.c: Likewise.
9519 * linuxthreads/pthread.c: Likewise.
9520 * linuxthreads/wrapsyscall.c: Likewise.
9521 * nss/nsswitch.c: Likewise.
9522 * stdio-common/vfprintf.c: Likewise.
9523 * sysdeps/arm/init-first.c: Likewise.
9524 * sysdeps/i386/init-first.c: Likewise
9525 * sysdeps/generic/init-first.c: Likewise.
9526 * sysdeps/generic/libc-start.c: Likewise.
9527 * sysdeps/mips/init-first.c: Likewise.
9528 * sysdeps/powerpc/elf/libc-start.c: Likewise.
9529 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
9530 * sysdeps/unix/sysv/linux/arm/siglist.c: Likewise.
9531 * sysdeps/unix/sysv/linux/arm/errlist.c: Likewise.
9532 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
9534 * sysdeps/mips/machine-gmon.h (asm): Use __PIC__ as check.
9536 2000-03-29 Andreas Jaeger <aj@suse.de>
9538 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_runtime_setup):
9539 Use D_PTR to access relocated entries in l_info.
9540 (elf_machine_rela): Likewise.
9542 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_runtime_setup):
9544 (elf_machine_rela): Likewise.
9546 * sysdeps/powerpc/dl-machine.c (__elf_machine_runtime_setup):
9548 (__elf_machine_fixup_plt): Likewise.
9549 (__process_machine_rela): Likewise.
9551 * sysdeps/m68k/dl-machine.h (elf_machine_runtime_setup): Likewise.
9552 (elf_machine_rela): Likewise.
9554 * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): Likewise.
9555 (elf_machine_rel): Likewise.
9557 * sysdeps/alpha/dl-machine.h (elf_machine_runtime_setup): Likewise.
9558 (elf_machine_fixup_plt): Likewise.
9559 (elf_machine_rela): Likewise.
9561 2000-03-29 Andreas Jaeger <aj@suse.de>
9563 * sysdeps/unix/sysv/linux/msgctl.c: Use shlib-compat macros.
9564 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
9565 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
9566 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Likewise.
9567 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
9568 * sysdeps/unix/sysv/linux/i386/msgctl.c: Likewise.
9569 * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Likewise.
9570 * sysdeps/unix/sysv/linux/i386/semctl.c: Likewise.
9571 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
9572 * sysdeps/unix/sysv/linux/i386/shmctl.c: Likewise.
9573 * sysdeps/unix/sysv/linux/alpha/msgctl.c: Likewise.
9574 * sysdeps/unix/sysv/linux/alpha/semctl.c: Likewise.
9575 * sysdeps/unix/sysv/linux/alpha/shmctl.c: Likewise.
9576 * sysdeps/unix/sysv/linux/alpha/adjtime.c: Likewise.
9577 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
9579 * sysdeps/unix/sysv/linux/alpha/oldglob.c: Use shlib-compat
9580 macros, remove K&R prototypes.
9582 2000-03-30 Ulrich Drepper <drepper@redhat.com>
9584 * posix/getopt.c (_getopt_internal): Return -1 if argc < 1.
9585 Reported by Andrew Wiseman <a.wiseman@bandc.dircon.co.uk>
9588 2000-03-30 Andreas Jaeger <aj@suse.de>
9590 * misc/sys/cdefs.h: Remove K&R support.
9592 2000-03-30 Ulrich Drepper <drepper@redhat.com>
9594 * iconv/skeleton.c: Avoid compiling unaligned versions in some
9596 * iconv/loop.c: Likewise.
9598 2000-03-29 Bruno Haible <haible@clisp.cons.org>
9600 * iconv/loop.c (put16): Remove __const. Fix access index.
9601 (put32): Remove __const. Use uint32_t instead of uint16_t.
9602 * iconv/skeleton.c: Likewise.
9604 2000-03-30 Roland McGrath <roland@baalperazim.frob.com>
9606 * mach/Versions (libc: GLIBC_2.0)
9607 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)]: Conditionalize
9608 __vm_allocate on this.
9609 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)]: Conditionalize
9610 mutex- and spinlock-related symbols on this.
9611 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)] (libc: HURD_CTHREADS_0.3):
9612 New version set. Lock-related symbols go here instead in this case.
9613 * sysdeps/mach/hurd/Versions (libc: GLIBC_2.0): Remove
9614 _cthread_exit_routine, _cthread_init_routine, cthread_keycreate,
9615 cthread_getspecific, cthread_setspecific, __libc_getspecific.
9617 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)] (libc: GLIBC_2.0):
9618 Put them here instead.
9619 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)] (libc: HURD_CTHREADS_0.3):
9620 New version set. Those cthreads symbols go here instead in this case.
9621 * Versions.def (libc) [USE_IN_LIBIO]: Add HURD_CTHREADS_0.3 version.
9623 2000-03-30 Ulrich Drepper <drepper@redhat.com>
9625 * elf/dl-init.c (_dl_init): We don't need to call constructors
9626 recursively. Fold _dl_init_rec in _dl_init and optimize a bit more.
9628 Implement dynamic determination of constructor/destructor order in
9630 * elf/Versions [ld.so] (GLIBC_2.0): Remove _dl_init_next.
9631 (GLIBC_2.2): Add _dl_init.
9632 * elf/dl-close.c: Also call all destructors in FINI_ARRAY.
9633 r_duplist is not anymore allocated separately. l_initfini is and
9634 therefore free it if necessary.
9635 * elf/dl-deps.c: If a searchlist has to be allocated, put all in one
9636 malloc block. Otherwise allocate l_initfini list only.
9637 Put dependencies for the object in l_initfini list.
9638 Sort dependencies for the object to be loaded topologically.
9639 * elf/dl-fini.c: Before running the destructors sort the topologically.
9640 * elf/dl-init.c (_dl_init): Renamed from _dl_init_next. Rewrite to
9641 call constructors instead of iterating over the pointers. Get list of
9642 objects for which to run constructors from l_initfini element. Accept
9643 argc, argv, and env as parameters and pass them to the constructors.
9644 * elf/ld-load.c (_dl_map_object_from_fd): Initialize l_ldnum member
9645 with size of dynamic section.
9646 * elf/dl-open.c (dl_open_worker): Only call _dl_init instead of
9647 _dl_init_next and calling constructors ourself.
9648 * elf/dl-preinit.c (_dl_preinit): Renamed from _dl_preinit_next.
9649 Take argc, argv, and env as parameters and pass them to the
9650 constructors. Rewrite to call all constructors and not iterate over
9652 * elf/dynamic-link.h: Don't relocate DT_FINI_ARRAY entry. Don't
9653 precompute l_initcount and l_preinitcount.
9654 * elf/link.h (struct link_map): Add l_ldnum member.
9655 Make l_phdr_allocated part of the bitfield. Remove l_runcount,
9656 l_initcount, and l_preinitcount. Add l_initfini.
9657 * sysdeps/generic/ldsodefs.h: Replace _dl_init_next prototype with
9659 * sysdeps/i386/dl-machine (RTLD_START): Rewrite to match new init
9661 * sysdeps/unix/sysv/linux/init-first.h: Removed.
9662 * sysdeps/unix/sysv/linux/Dist: Delete file here as well.
9663 * sysdeps/unix/sysv/linux/init-first.c [PIC]: Don't use
9664 SYSDEP_CALL_INIT. Make _init a strong alias of init. The calling
9665 conventions now match.
9667 * sysdeps/generic/libc-start.c: Calling __libc_init_first has no
9668 effect for shared objects. Don't emit message and call only for
9671 2000-03-29 Ulrich Drepper <drepper@redhat.com>
9673 * iconvdata/testdata/CSA_Z243.4-1985-1..UCS-2BE: Renamed from
9674 CSA_Z243.4-1985-1..UCS2.
9675 * iconvdata/testdata/ISO-8859-10..UCS-2BE: Renamed from
9678 2000-03-29 Andreas Jaeger <aj@suse.de>
9680 * include/unistd.h: Remove duplicate entry for __rmdir.
9681 Remove declaration of __mkdir since __mkdir is declared in
9684 * manual/creature.texi (Feature Test Macros): Fix typo, reported
9685 by Michael Deutschmann <michael@talamasca.ocis.net>.
9687 * sysdeps/mips/fpu/fclrexcpt.c: Use shlib-compat macros.
9688 * sysdeps/mips/fpu/fegetenv.c: Likewise.
9689 * sysdeps/mips/fpu/fesetenv.c: Likewise.
9690 * sysdeps/mips/fpu/feupdateenv.c: Likewise.
9691 * sysdeps/mips/fpu/fgetexcptflg.c: Likewise.
9693 2000-03-28 Andreas Jaeger <aj@suse.de>
9695 * sysdeps/i386/fpu/bits/mathinline.h (__sincos): Remove redundant
9696 declaration, the prototype is defined via bits/mathcalls.h.
9697 (__sincosf): Likewise.
9698 (__sincosl): Likewise.
9702 (__finite): Likewise.
9703 (__inline_mathcodeNP): New macro without prototype
9705 (__inline_mathcodeNP2): Likewise.
9706 (__inline_mathcodeNP3): Likewise.
9707 (__inline_mathcodeNP_): Likewise.
9708 (__inline_mathcodeNP2_): Likewise.
9709 (__inline_mathcodeNP3_): Likewise.
9710 (__inline_mathopNP): Likewise.
9711 (__inline_mathop_declNP): Likewise.
9712 (__inline_mathop_declNP_): Likewise.
9713 (__inline_mathcode_): Use __inline_mathcodeNP_.
9714 (__inline_mathcode2_): Use __inline_mathcodeNP2_.
9715 (__inline_mathcode3_): Use __inline_mathcodeNP3_.
9716 (__inline_mathop_decl_): Use __inline_mathop_declNP__.
9717 (__expm1l): Don't define prototype, the prototype is defined via
9723 (__atan2l): Likewise.
9728 (__fabsl): Likewise.
9746 (__sqrtl): Likewise.
9756 2000-03-28 Ulrich Drepper <drepper@redhat.com>
9758 * Makerules: If make variable md5 is defined to yes after
9759 generating dependencies generate MD5 sum for the object.
9761 * iconv/gconv_builtin.h: Fix length in transformation definition
9764 * iconvdata/TESTS: Use UCS-2BE instead of UCS2.
9766 * iconv/loop.c: Define get16, get32, put16, and put32 macros to
9767 allow as well reading from/writing to unaligned addresses on machines
9768 which don't support this in hardware. Use FCTNAME macro to define
9769 function name. Include the file a second time for platforms which
9770 need special unaligned handling.
9771 * iconv/skeleton.c: Define get16u, get32u, put16u, and put32u macros
9772 to access potentially unaligned addresses. These macros are intended
9773 to be used only outside the loops.
9774 (unaligned): New definition. In case the machine can handle unaligned
9775 access define as zero. Otherwise as a variable which is initialized
9776 as nonzero in case the buffer passed in at runtime is unaligned with
9777 respect to the character set encoding involved.
9778 Call aligned or unaligned looop functions according to unaligned
9780 * iconvdata/8bit-gap.c: Use get16, get32, put16, and put32 instead
9781 of direct casting pointer to potentially handle unaligned memory
9783 * iconvdata/8bit-generic.c: Likewise.
9784 * iconvdata/ansi_x3.110.c: Likewise.
9785 * iconvdata/big5.c: Likewise.
9786 * iconvdata/euc-cn.c: Likewise.
9787 * iconvdata/euc-jp.c: Likewise.
9788 * iconvdata/euc-kr.c: Likewise.
9789 * iconvdata/euc-tw.c: Likewise.
9790 * iconvdata/gbk.c: Likewise.
9791 * iconvdata/iso-2022-cn.c: Likewise.
9792 * iconvdata/iso-2022-jp.c: Likewise.
9793 * iconvdata/iso-2022-kr.c: Likewise.
9794 * iconvdata/iso646.c: Likewise.
9795 * iconvdata/iso_6937-2.c: Likewise.
9796 * iconvdata/iso_6937.c: Likewise.
9797 * iconvdata/johab.c: Likewise.
9798 * iconvdata/sjis.c: Likewise.
9799 * iconvdata/t.61.c: Likewise.
9800 * iconvdata/uhc.c: Likewise.
9801 * iconvdata/unicode.c: Likewise.
9802 * iconvdata/utf-16.c: Likewise.
9804 * locale/programs/simple-hash.c: Little optimizations. Remove K&R
9807 * malloc/Versions [libc] (GLIBC_2.2): Add mcheck_check_all.
9808 * malloc/mcheck.c (mcheck_check_all): Renamed from check_all and made
9810 * malloc/mcheck.h (mcheck_check_all): Declare.
9812 * stdio-common/Makefile (tests): Add tst-obprintf.
9814 2000-03-28 Roland McGrath <roland@baalperazim.frob.com>
9816 * sysdeps/generic/bits/sigthread.h: Clean up conditionals.
9817 Declare pthread_sigmask.
9819 * csu/version.c: Add 2000 to copyright years.
9820 Remove Emacs local variables section.
9822 2000-03-23 Bruno Haible <haible@clisp.cons.org>
9824 * iconv/gconv_int.h (__gconv_transform_ucs2little_internal,
9825 __gconv_transform_internal_ucs2little): Remove declarations.
9826 * iconv/gconv_simple.c (__gconv_transform_ucs2_internal,
9827 __gconv_transform_internal_ucs2): Never need to bswap_16.
9828 (__gconv_transform_ucs2reverse_internal,
9829 __gconv_transform_internal_ucs2reverse): Always need to bswap_16.
9831 2000-03-27 Roland McGrath <roland@baalperazim.frob.com>
9833 * include/shlib-compat.h (SHLIB_COMPAT): Make the test handle the
9834 obsoleting version not being defined at all, in which case the
9835 result is always true.
9837 * Makeconfig (preprocess-versions): New canned sequence for running
9838 cpp on shlib-versions and the like.
9839 (soversions.i): Use it.
9840 * Makerules (Versions.all, sysd-versions): Use it to preprocess the
9841 Versions.def and Versions files.
9843 2000-03-27 Ulrich Drepper <drepper@redhat.com>
9845 * stdio-common/tst-obprintf.c (main): Add another check to see
9846 obstack_printf handling all possible beginnings of the block
9847 inside an obstack chunk.
9849 * locale/programs/localedef.c: Use __malloc_initialize_hook to
9850 install mcheck handler.
9852 * libio/obprintf.c (_IO_obstack_vprintf): Fix one more memory
9855 2000-03-27 Roland McGrath <roland@baalperazim.frob.com>
9857 * stdio-common/tmpfile.c: Use <shlib-compat.h> macros.
9859 * include/shlib-compat.h: Conditionalize <abi-versions.h> include
9860 on [HAVE_ELF && DO_VERSIONING].
9862 2000-03-27 Ulrich Drepper <drepper@redhat.com>
9864 * stdio-common/tst-obprintf.c: New file.
9866 2000-03-26 Ulrich Drepper <drepper@redhat.com>
9868 * libio/genops.c (_IO_default_xsputn): Little optimization. Call
9869 _IO_OVERFLOW directly instead through __overflow.
9871 * locale/programs/localedef.c (construct_output_path): If path
9872 contains a / compute the end of the directory name correctly.
9874 * include/features.h: Undef and document __USE_XOPEN2K.
9876 * malloc/mcheck.c: Implement pedantic checking of all allocated blocks
9877 whenever a function is called. Initiated by calling mcheck_pedantic
9879 * malloc/mcheck.h: Declare mcheck_pedantic.
9880 * malloc/Versions [libc] (GLIBC_2.2): Add mcheck_pedantic.
9881 * locale/programs/localdef.c: Use mcheck_pedantic instead of mcheck
9884 2000-03-26 Roland McGrath <roland@baalperazim.frob.com>
9886 * dlfcn/dlopen.c: Use <shlib-compat.h> macros.
9887 * dlfcn/dlopenold.c: Likewise.
9888 * nss/getXXbyYY_r.c: Likewise.
9889 * nss/getXXent_r.c: Likewise.
9890 * hurd/hurdinit.c: Likewise.
9891 * hurd/compat-20.c: Likewise.
9892 * libio/oldiofopen.c: Likewise.
9893 * libio/oldiofclose.c: Likewise.
9894 * libio/oldiofdopen.c: Likewise.
9895 * libio/oldfileops.c: Likewise.
9896 * libio/oldstdfiles.c: Likewise.
9897 * libio/oldiofsetpos.c: Likewise.
9898 * libio/oldiofgetpos.c: Likewise.
9899 * libio/oldiofgetpos64.c: Likewise.
9900 * libio/oldiofsetpos64.c: Likewise.
9901 * libio/oldiopopen.c: Likewise.
9902 * libio/oldpclose.c: Likewise.
9903 * libio/oldtmpfile.c: Likewise.
9904 * libio/freopen.c (freopen): Likewise.
9905 * libio/iofclose.c (_IO_new_fclose): Likewise.
9907 * sysdeps/mach/sys/reboot.h: Include <features.h>.
9908 (reboot): Declare it.
9910 * libio/Makefile (headers): Add bits/stdio-lock.h here.
9912 * sysdeps/mach/hurd/bits/stdio-lock.h: New file.
9914 * include/shlib-compat.h: Include <abi-versions.h> unconditionally.
9916 * posix/unistd.h (intptr_t): Conditionalize on [__USE_MISC ||
9917 __USE_XOPEN_EXTENDED] rather than on [__USE_UNIX98].
9918 We need this for the sbrk decl, which can be included without Unix98.
9920 2000-03-20 Richard Henderson <rth@cygnus.com>
9922 * nis/nss_nis/nis-service.c (_nss_nis_getservbyport_r): Last
9923 argument to yperr2nss is an int, not size_t.
9924 * posix/regex.c (print_partial_compiled_pattern): Cast all
9925 ptrdiff_t to long for printing.
9926 (print_compiled_pattern): Use Z for printing size_t.
9927 * posix/testfnm.c (tests): Avoid trigraphs.
9928 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE):
9929 Use a C comment, not an assembly comment.
9931 * sysdeps/unix/sysv/linux/alpha/msgctl.c: Clarify use
9932 of __ASSUME_32BITUIDS.
9934 2000-03-26 Ulrich Drepper <drepper@redhat.com>
9936 * libio/iofopncook.c: Remove K&R prototypes.
9938 2000-03-26 Roland McGrath <roland@baalperazim.frob.com>
9940 * hurd/hurdrlimit.c (init_rlimit): Give the RLIMIT_NOFILE soft limit
9941 an initial value of 1024 instead of RLIM_INFINITY.
9943 * Versions.def (libmachuser, libhurduser): Remove these sections,
9944 since these libraries do not presently use symbol versions.
9946 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): If the resource limit
9947 is RLIM_INFINITY, return -1 instead.
9949 2000-03-24 Andreas Jaeger <aj@suse.de>
9951 * Makefile (postclean): Added soversions.i.
9953 2000-03-24 Scott Bambrough <scottb@netwinder.org>
9955 * sysdeps/arm/fpu/fpu_control.h: Define _FPU_MASK_IM, _FPU_MASK_ZM,
9956 _FPU_MASK_OM, _FPU_MASK_UM, _FPU_MASK_PM, _FPU_MASK_DM, _FPU_DEFAULT,
9957 and _FPU_IEEE. Change _FPU_RESERVED.
9959 2000-03-24 Scott Bambrough <scottb@netwinder.org>
9961 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: New file.
9963 2000-03-24 Roland McGrath <roland@baalperazim.frob.com>
9965 * sysdeps/posix/getaddrinfo.c: Include <net/if.h> for if_nametoindex.
9966 (gaih_inet): Remove unused duplicate variable.
9968 * inet/getnameinfo.c (getnameinfo): Use IFNAMSIZ, not MAXHOSTNAMELEN.
9969 Don't use __libc_sa_len, which only exists for Linux. Just handle
9970 AF_INET and AF_INET6 directly as well as AF_LOCAL, since those are the
9971 only flavors supported by this function anyway.
9973 2000-03-24 Geoff Clare <gwc@unisoft.com>
9975 * stdlib/strfmon.c: Corrected problems with missing signs and
9976 missing or extra spaces; allow for sign strings longer than
9977 one character; add padding to ensure positive and negative
9978 formats are aligned when a left precision is used.
9980 2000-03-26 Ulrich Drepper <drepper@redhat.com>
9982 * stdlib/random_r.c (__setstate_r): Allow RNGs of type 4.
9983 Patch by John Mizel <John.Mizel@msdw.com>.
9985 2000-03-25 Ulrich Drepper <drepper@redhat.com>
9987 * manual/install.texi: Remove references to crypt add-on.
9989 2000-03-25 Roland McGrath <roland@baalperazim.frob.com>
9991 * sysdeps/mach/hurd/setrlimit.c (setrlimit): Go into a critical
9992 section while taking the _hurd_rlimit_lock.
9993 * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
9995 2000-03-24 Roland McGrath <roland@baalperazim.frob.com>
9997 * Makerules [$(cross-compiling) = yes] (symbolic-link-prog): Define
10000 * sysdeps/mach/hurd/if_index.c: New file.
10002 * sysdeps/unix/sysv/linux/net/if.h: Moved to ...
10003 * sysdeps/gnu/net/if.h: here.
10004 (_IOT_ifconf, _IOT_ifreq): Hurd ioctl type macros moved from ...
10005 * sysdeps/mach/hurd/net/if.h: ... here; this file now removed.
10006 * sysdeps/generic/net/if.h: New file. Declares just the standard
10007 functions and `struct if_nameindex' type.
10008 * socket/Makefile (headers): Add net/if.h here.
10009 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Not here.
10010 * sysdeps/mach/hurd/Dist: Remove it here.
10011 * sysdeps/unix/sysv/linux/Dist: And here.
10012 * sysdeps/generic/if_index.c: Include <net/if.h>.
10014 2000-03-24 Andreas Jaeger <aj@suse.de>
10016 * sysdeps/mips/dl-machine.h (__dl_runtime_resolve): Use D_PTR to
10017 access relocated entries in l_info.
10018 (elf_machine_got_rel): Likewise.
10019 (elf_machine_runtime_setup): Likewise.
10020 * sysdeps/mips/mips64/dl-machine.h (elf_machine_got_rel): Likewise.
10021 (elf_machine_runtime_setup): Likewise.
10022 (__dl_runtime_resolve): Likewise.
10024 2000-03-23 Ulrich Drepper <drepper@redhat.com>
10026 * resolv/netdb.h (SCOPE_DELIMITER): New definitions.
10027 * inet/netinet/in.h (struct sockaddr_in6): Add sin6_scope_id
10028 according to RFC 2553.
10029 * sysdeps/posix/getaddrinfo.c: Change to follow latest RFC draft.
10030 * inet/getnameinfo.c: Likewise.
10031 Patches by YOSHIFUJI Hideaki <yoshfuji@v6.linux.or.jp>.
10033 2000-03-23 Bruno Haible <haible@clisp.cons.org>
10035 * iconv/gconv_simple.c (internal_ucs4_loop, internal_ucs4le_loop):
10036 Remove no-op pointer increment.
10038 2000-03-23 Andreas Jaeger <aj@suse.de>
10040 * stdio-common/tst-cookie.c (cookieseek): Change prototype to
10041 follow change for libio.h from 2000-03-10.
10043 2000-03-23 Andreas Jaeger <aj@suse.de>
10045 * elf/dl-addr.c: Adjust include paths for ldsodefs location
10047 * elf/dl-debug.c: Likewise.
10048 * elf/dl-deps.c: Likewise.
10049 * elf/dl-error.c: Likewise.
10050 * elf/dl-fini.c: Likewise.
10051 * elf/dl-init.c: Likewise.
10052 * elf/dl-load.c: Likewise.
10053 * elf/dl-lookup.c: Likewise.
10054 * elf/dl-minimal.c: Likewise.
10055 * elf/dl-object.c: Likewise.
10056 * elf/dl-open.c: Likewise.
10057 * elf/dl-preinit.c: Likewise.
10058 * elf/dl-profile.c: Likewise.
10059 * elf/dl-profstub.c: Likewise.
10060 * elf/dl-reloc.c: Likewise.
10061 * elf/dl-runtime.c: Likewise.
10062 * elf/dl-support.c: Likewise.
10063 * elf/dl-symbol.c: Likewise.
10064 * elf/dl-version.c: Likewise.
10065 * elf/rtld.c: Likewise.
10066 * elf/sprof.c: Likewise.
10067 * sysdeps/generic/dl-cache.c: Likewise.
10068 * sysdeps/generic/dl-origin.c: Likewise.
10069 * sysdeps/generic/dl-sysdep.c: Likewise.
10070 * sysdeps/generic/elf/backtracesyms.c: Likewise.
10071 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
10072 * sysdeps/generic/libc-start.c: Likewise.
10073 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
10074 * sysdeps/powerpc/dl-machine.c: Likewise.
10075 * sysdeps/powerpc/elf/libc-start.c: Likewise.
10076 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
10077 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
10078 * sysdeps/unix/sysv/linux/dl-origin.c: Likewise.
10080 * elf/ldsodefs.h: Move file to ...
10081 * sysdeps/generic/ldsodefs.h: ... here.
10083 * sysdeps/generic/ldsodefs.h: Add definition for D_PTR.
10085 * sysdeps/mips/elf/ldsodefs.h: New file.
10087 * elf/dl-version.c (match_symbol): Use D_PTR to access relocated
10089 (_dl_check_map_versions): Likewise.
10090 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
10091 * elf/dl-load.c (_dl_init_paths): Likewise.
10092 (_dl_map_object): Likewise.
10093 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Likewise.
10094 (elf_get_dynamic_info): Likewise.
10095 * elf/do-lookup.h (FCT): Likewise.
10096 * elf/do-rel.h (elf_dynamic_do_rel): Likewise.
10097 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
10098 * elf/dl-addr.c (_dl_addr): Likewise.
10099 * elf/dl-runtime.c (profile_fixup): Likewise.
10101 * elf/dl-init.c (_dl_init_next): Likewise.
10102 * sysdeps/generic/dl-machine.h (elf_machine_runtime_setup): Likewise.
10103 * sysdeps/unix/sysv/linux/i386/dl-librecon.h
10104 (DISTINGUISH_LIB_VERSIONS): Likewise.
10105 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup): Likewise.
10106 (elf_machine_rel): Likewise.
10108 * elf/dynamic-link.h (elf_get_dynamic_info): Only change l_info
10109 for writable dynamic section.
10111 2000-03-22 Ulrich Drepper <drepper@redhat.com>
10113 * inet/getnameinfo.c (getnameinfo): Check that addrlen value is
10114 large enough. Patch by YOSHIFUJI Hideaki <yoshfuji@v6.linux.or.jp>.
10116 2000-03-22 Andreas Jaeger <aj@suse.de>
10118 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MADV_*): Add flags
10119 from latest Linux kernel.
10121 2000-03-21 Andreas Jaeger <aj@suse.de>
10123 * Versions.def: Add version 2.1.4.
10125 2000-03-21 Ulrich Drepper <drepper@redhat.com>
10127 * libio/oldtmpfile.c: Update for new SHLIB_COMPAT definition.
10128 * libio/oldiofopen.c: Likewise.
10129 * libio/oldiofclose.c: Likewise.
10130 * sysdeps/unix/sysv/linux/errlist.c: Likewise.
10132 2000-03-22 Roland McGrath <roland@baalperazim.frob.com>
10134 * include/shlib-compat.h (SHLIB_COMPAT): Take a third argument,
10135 indicating the first version set to obsolete the conditionalized code.
10136 (compat_symbol): New macro.
10137 * scripts/abi-versions.awk: For subsumed versions, make ABI_* defn's
10138 rhs be the ABI_* macro for the subsuming version. Assign increasing
10139 integer values to the ABI_* macros for supported versions.
10140 * sysdeps/gnu/siglist.c: Use new SHLIB_COMPAT convention, and use
10141 compat_symbol macro.
10143 2000-03-21 Ulrich Drepper <drepper@redhat.com>
10145 * nscd/connections.c (nscd_run): Pretty print.
10146 * elf/dl-runtime.c: Include stdlib.h for alloca prototype.
10148 * manual/charset.texi: Fix typos. Rephrase.
10149 * manual/process.texi: Likewise.
10150 * manual/signal.texi: Likewise.
10151 Patches by Mike Coleman <mkc@kc.net>.
10153 * libio/oldtmpfile.c: Use new macros from shlib-compat.h to define
10155 * libio/iofdopen.c: Likewise.
10156 * libio/iofgetpos.c: Likewise.
10157 * libio/iofgetpos64.c: Likewise.
10158 * libio/iofopen.c: Likewise.
10159 * libio/iofsetpos.c: Likewise.
10160 * libio/iofsetpos64.c: Likewise.
10161 * libio/iopopen.c: Likewise.
10162 * libio/oldiofopen.c: Likewise.
10163 * libio/pclose.c: Likewise.
10164 * sysdeps/gnu/siglist.c: Likewise.
10165 * sysdeps/unix/sysv/linux/errlist.c: Likewise.
10167 * include/shlib-compat.h (versioned_symbol): Give preprocessor the
10168 chance to expand VERSION_##lib##_##version.
10170 * libio/fileops.c: Use new macros from shlib-compat.h to define
10172 * libio/iofclose.c: Likewise.
10173 * libio/oldiofclose.c: Likewise.
10174 Patch by Roland McGrath <roland@frob.com>.
10176 2000-03-21 Jakub Jelinek <jakub@redhat.com>
10178 * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h: Clean up namespace.
10179 Lay out struct sigcontext according to what really gets passed on
10181 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Don't include asm/elf.h.
10182 (elf_gregset_t, elf_greg_t, elf_fpregset_t, ELF_NGREG): Define.
10183 (prgregset_t, prfpregset_t): Define to elf_* types.
10184 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_WRITEDATA):
10185 Define to correct value.
10186 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h: Use struct
10188 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: Likewise.
10190 2000-03-21 Roland McGrath <roland@baalperazim.frob.com>
10192 * scripts/firstversions.awk: Allow multiple version sets in the
10193 "earliest version" specification, meaning that version sets in the
10194 gaps between listed versions should be folded into the earliest later
10195 version that is explicitly listed.
10196 * shlib-versions (mips.*-.*-linux.*): Use that syntax for to say
10197 we support GLIBC_2.0 and GLIBC_2.2 but not the intervening sets.
10199 2000-03-21 Ulrich Drepper <drepper@redhat.com>
10201 * iconv/gconv_builtin.c: Include <endian.h>.
10202 * iconv/gconv_builtin.h: Add UCS-BE aliases.
10203 Add UCS-4LE transformation. Define UNICODEBIG and UNICODELITTLE
10204 according to current platform.
10205 * iconv/gconv_int.h: Declare __gconv_transform_ucs2reverse_internal,
10206 __gconv_transform_internal_ucs2reverse, and
10207 __gconv_transform_internal_ucs4le.
10208 * iconv/gconv_simple.c: Implement __gconv_transform_internal_ucs4le,
10209 __gconv_transform_ucs2reverse_internal and
10210 __gconv_transform_internal_ucs2reverse.
10211 * iconvdata/Makefile (modules): Add UNICODE.
10212 (distribute): Add unicode.c.
10213 * iconvdata/gconv-modules: Add definitions for UNICODE module.
10214 * iconvdata/unicode.c: New file.
10216 * iconvdata/utf-16.c: Rewrite code to emit BOM. Correct code to
10217 determine byte order of input and convert accordingly.
10219 * iconvdata/utf-16.c (gconv_init): Fix typo.
10221 2000-03-20 Ulrich Drepper <drepper@redhat.com>
10223 * iconvdata/gconv-modules: Fix typo.
10225 * sysdeps/unix/sysv/linux/configure.in: Remove `crypt' from one
10228 * sysdeps/unix/sysv/aix/*: Add initial code for port to AIX 4.3.
10230 2000-03-16 Thorsten Kukuk <kukuk@suse.de>
10232 * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h: New.
10234 2000-03-20 Ulrich Drepper <drepper@redhat.com>
10236 * misc/Makefile (routines): Add mincore.
10238 2000-03-20 Andreas Jaeger <aj@suse.de>
10240 * sysdeps/generic/mincore.c: New stub file.
10242 * sysdeps/unix/sysv/linux/arm/bits/mman.h (MADV_*): Add flags
10243 from latest Linux kernel.
10245 2000-03-20 Ulrich Drepper <drepper@redhat.com>
10247 * grp/initgroups.c (compat_call): Use _SC_GETGR_R_SIZE_MAX instead of
10248 _SC_GETPW_R_SIZE_MAX.
10250 2000-03-20 Richard Henderson <rth@cygnus.com>
10252 * sysdeps/unix/sysv/linux/alpha/Versions: Put pciconfig_iobase
10255 2000-03-20 Richard Henderson <rth@cygnus.com>
10257 * sysdeps/alpha/fpu/fraiseexcpt.c: Use get/set_fp_control instead
10258 of arithmetic instructions.
10260 * sysdeps/alpha/fpu/s_ceil.c: Use round to -inf instead of playing
10261 with the fpcr. Protect from INV exception.
10262 * sysdeps/alpha/fpu/s_ceilf.c: Likewise.
10263 * sysdeps/alpha/fpu/s_floor.c: Protect from INV exception.
10264 * sysdeps/alpha/fpu/s_floorf.c: Likewise.
10266 * sysdeps/alpha/fpu/s_copysign.c: New.
10267 * sysdeps/alpha/fpu/s_copysignf.c: New.
10268 * sysdeps/alpha/fpu/s_fabs.c: New.
10269 * sysdeps/alpha/fpu/s_fabsf.c: New.
10270 * sysdeps/alpha/fpu/s_rint.c: New.
10271 * sysdeps/alpha/fpu/s_rintf.c: New.
10273 * sysdeps/unix/sysv/linux/alpha/bits/mman.h: Add MADV constants.
10275 * sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_routines):
10277 * sysdeps/unix/sysv/linux/alpha/Versions: Add pciconfig_iobase.
10278 * sysdeps/unix/sysv/linux/alpha/ioperm.c (all address constants):
10279 Use physical addresses not KSEG addresses.
10280 (io_system): Add PYXIS.
10281 (io): Remove hae.reg, sys, hae_shift.
10282 (stb_mb, stw_mb, stl_mb, __sethae): New.
10283 (inline_outb, inline_outw, inline_outl): Don't set hae.
10284 (inline_inb, inline_inw, inline_inl): Likewise.
10285 (dense_sethae): New null function.
10286 (struct cpuinfo_data): New.
10287 (process_cpuinfo): Use local and stack variables, not static.
10288 Move readlink check here from init_iosys.
10289 (init_iosys): Use __pciconfig_iobase first. Know SX and LX as PYXIS.
10291 (_hae_shift): Calculate it here.
10292 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove sethae,
10293 add pciconfig_iobase.
10295 2000-03-20 Roland McGrath <roland@baalperazim.frob.com>
10297 * locale/programs/ld-time.c (time_finish): Use %Z instead of %z.
10298 * locale/programs/ld-ctype.c (ctype_finish, ctype_class_new): Likewise.
10300 * scripts/versions.awk: Fixed version renaming code to distinguish
10301 libraries properly.
10303 2000-03-19 Ulrich Drepper <drepper@redhat.com>
10305 * include/stdlib.h: Add prototype for __cxa_atexit.
10307 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Update comment about
10308 _SLOWDOWN flags. Patch by Jim Blandy <jimb@cygnus.com>.
10310 2000-03-17 Cristian Gafton <gafton@redhat.com>
10312 * elf/Makefile ($(rtld-version-installed-name)): Delay replacing
10313 existing rtld-installed-name.
10314 ($(rtld-installed-name)): Request libc-$(version) be installed too.
10315 replace existing rtld-installed-name using $(symbolic-link-prog).
10317 2000-03-17 Roland McGrath <roland@baalperazim.frob.com>
10319 * locale/programs/ld-collate.c (collate_read): Remove bogus cast.
10320 (insert_value, handle_ellipsis, collate_read): Replace %zu in format
10321 strings with %Zu, because gcc-2.95.2's -Wformat knows about the latter
10322 but not the former.
10324 2000-03-19 Ulrich Drepper <drepper@redhat.com>
10326 * sysdeps/generic/glob.c [_LIBC]: Always use __xstat64, not only for
10327 glob64. Since there is no glob64 in the LFS proposal applications
10328 can assume that glob handles LFS situations. glob64 is only needed
10329 if alternative filesystem functions are used.
10331 2000-03-19 Geoff Clare <gwc@unisoft.com>
10333 * sysdeps/generic/glob.c: Correct gl_pathc value returned
10334 when GLOB_DOOFFS is set; correct handling of patterns
10335 containing escaped wildcards (and no unescaped ones);
10336 GLOB_ERR flag was being ignored in some situations.
10338 * posix/globtest.c, posix/globtest.sh: Updated to include
10339 tests for the problems fixed by the above changes to glob.c.
10341 * manual/pattern.texi (Calling Glob): Update description of gl_pathc.
10343 2000-03-19 Roland McGrath <roland@baalperazim.frob.com>
10345 * Makeconfig (soversion.i): Use only first match for each lib.
10347 * Makeconfig (soversion.i): Pass -undef to $(CC) -E.
10349 * Makerules (Versions.all, sysd-versions): Test $(sysd-sorted-done)
10350 rather than $(sysd-dirs-done) to protect these rules.
10352 * Makerules (version-renames.def): Target removed.
10353 (Versions.all): Depend on soversions.i directly and parse it.
10355 * Makeconfig (soversions.i): New target, input-reading parts of
10356 soversions.mk generation moved here; result is a canonicalized
10357 list "LIB VERSION [SET]" for this configuration.
10358 (soversions.mk): Use that as input. Don't emit map-firstversions.
10359 * Makerules (version-renames.def): New target, generated from
10360 soversions.i with contents that was in $(map-firstversions).
10361 (Versions.all): Don't depend on soversions.mk, depend on
10362 version-renames.def instead; just cat it into the input.
10364 * Makerules (Versions.all): Use $(foreach ...) instead of sh for loop
10365 for $(map-firstversions), which better handles it being empty.
10367 * shlib-versions [USE_IN_LIBIO] (.*-.*-gnu-gnu*): Set earliest
10368 supported version for libc 0.2.90.libio to GLIBC_2.2.
10370 * Makeconfig (soversions.mk): Grok new third column in shlib-versions,
10371 and use it to emit new variable `map-firstversions'.
10372 * scripts/firstversions.awk: New file.
10373 * Makerules (Versions.all): Use scripts/firstversions.awk and
10374 the $(map-firstversions) value to generate a modified versions list
10375 that includes renames in "A = B" syntax for each version set earlier
10376 than the "earliest symbol version" named in shlib-versions.
10377 * scripts/versions.awk: Recognize "A = B" lines in the input to mean
10378 rename version set A to B in the output to the intermediate file.
10379 * scripts/abi-versions.awk: New file.
10380 * Makerules (abi-versions.h): New target, generated by that script.
10381 [$(versioning) = yes] (before-compile): Prepend abi-versions.h.
10382 * include/shlib-compat.h: New file, uses that generated header.
10384 2000-03-18 Roland McGrath <roland@baalperazim.frob.com>
10386 * Makeconfig (soversions.mk): Convert % -> # in shlib-versions
10387 after stripping # comments, and then run it through cpp.
10388 This allows things like "%ifdef FOO" based on config.h settings.
10389 * shlib-versions [USE_IN_LIBIO] (.*-.*-gnu-gnu*): libc=0.2.90.libio
10391 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): For MACH_SEND_INTERRUPTED
10392 and other errors that indicate a pseudo-receive happened, grok through
10393 the message buffer for port rights that need references fixed up.
10395 2000-03-16 Andreas Jaeger <aj@suse.de>
10397 * sysdeps/unix/sysv/linux/syscalls.list: Added madvise and mincore.
10399 * sysdeps/unix/sysv/linux/madvise.c: Remove.
10401 * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MADV_*): Add flags
10402 from latest Linux kernel.
10403 * sysdeps/unix/sysv/linux/i386/bits/mman.h (MADV_*): Likewise.
10405 * misc/sys/mman.h: Add prototype for mincore.
10407 2000-03-17 Ulrich Drepper <drepper@redhat.com>
10409 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add oldsetrlimit
10410 entry for GLIBC_2.0 version of setrlimit.
10411 Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
10413 2000-03-16 Thorsten Kukuk <kukuk@suse.de>
10415 * nis/nss_nis/nis-ethers.c: Return with error if malloc fails.
10416 * nis/nss_compat/compat-initgroups.c: Likewise.
10417 * nis/nss_nis/nis-initgroups.c: Likewise.
10418 * nis/nss_nis/nis-netgrp.c: Likewise.
10419 * nis/nss_nis/nis-proto.c: Likewise.
10420 * nis/nss_nis/nis-rpc.c: Likewise.
10421 * nis/nss_nis/nis-service.c: Likewise.
10422 * nis/ypclnt.c: Likewise.
10424 2000-03-16 Andreas Jaeger <aj@suse.de>
10426 * manual/Makefile: MAKEINFO is set to `:' from configure if it
10427 doesn't exist, correct checks. Fixes PR libc/1649.
10429 2000-03-16 Thorsten Kukuk <kukuk@suse.de>
10431 * nscd/hstcache.c: Restore correct UID.
10432 * nscd/pwdcache.c: Likewise.
10433 Patch from Gabor Gombas <gombasg@inf.elte.hu>.
10435 2000-03-17 Roland McGrath <roland@baalperazim.frob.com>
10437 * sysdeps/i386/sys/ucontext.h: Prepend REG_ to enum values and
10438 macros for register names, in line with 2000-03-14 linux change.
10440 * sysdeps/mach/sched_yield.c: New file.
10442 2000-03-13 Roland McGrath <roland@baalperazim.frob.com>
10444 * sysdeps/generic/lockfile.c: Include <stdio.h>
10445 (_IO_flockfile, _IO_funlockfile, _IO_ftrylockfile): #undef these in
10446 case <libio.h> defined them.
10447 (__flockfile, __funlockfile, __ftrylockfile): Functions renamed
10449 (flockfile, _IO_flockfile, funlockfile, _IO_funlockfile,
10450 ftrylockfile, _IO_ftrylockfile): Fix aliases accordingly.
10452 * sysdeps/generic/bits/stdio-lock.h (_IO_lock_initializer): Use ...
10453 for more pleasing parse error.
10455 2000-03-16 Ulrich Drepper <drepper@redhat.com>
10457 * locale/lc-time.c (_nl_init_era_entries): Correct allocation of
10459 Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
10461 * elf/Makefile: Add rules to compile and run constload1 test.
10462 * elf/constload1.c: New file.
10463 * elf/constload2.c: New file.
10464 * elf/constload3.c: New file.
10466 2000-03-15 Ulrich Drepper <drepper@redhat.com>
10468 * sysdeps/posix/open64.c: Make __open64 weak alias.
10469 * sysdeps/posix/pread64.c: Make __pread64 weak alias.
10470 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
10471 * sysdeps/unix/sysv/linux/i386/pread64.c: Likewise.
10472 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
10473 * sysdeps/unix/sysv/linux/powerpc/pread64.c: Likewise.
10474 * sysdeps/posix/pwrite64.c: Make __pwrite64 weak alias.
10475 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
10476 * sysdeps/unix/sysv/linux/i386/pwrite64.c: Likewise.
10477 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
10478 * sysdeps/unix/sysv/linux/powerpc/pwrite64.c: Likewise.
10480 2000-03-14 Ulrich Drepper <drepper@redhat.com>
10482 * sysdeps/unix/sysv/linux/alpha/ioperm.c (platform): Add entry for
10483 Nautilus. Patch by Soohoon Lee <soohoon.lee@alpha-processor.com>.
10485 2000-03-16 Mark Kettenis <kettenis@gnu.org>
10487 * sysdeps/unix/sysv/linux/i386/sys/procfs.h (prfpregset_t):
10488 Typedef for elf_fpregset_t instead of `elf_fpregset_t *'.
10490 2000-03-08 Andreas Jaeger <aj@suse.de>
10492 * sysdeps/unix/sysv/linux/scsi/sg.h: Sync with Linux 2.3.50.
10494 2000-03-14 Ulrich Drepper <drepper@redhat.com>
10496 * timezone/africa: Update from tzdata2000d.
10497 * timezone/asia: Likewise.
10498 * timezone/australasia: Likewise.
10499 * timezone/europe: Likewise.
10500 * timezone/northamerica: Likewise.
10501 * timezone/southamerica: Likewise.
10503 * po/fr.po: Update from translation team.
10504 * po/de.po: Likewise.
10506 * elf/dl-deps.c (_dl_map_object_deps): Change return type and remove
10507 last parameter. Move code to add map to global scope from here...
10508 * elf/dl-open.c (dl_open_worker): ...here.
10509 * elf/ldsodefs.h: Adjust declaration of _dl_map_object_deps.
10510 * elf/rtld.c: Adjust call to _dl_map_object_deps.
10512 * locale/programs/ld-collate.c (collate_read): Fix warning.
10514 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Prepend REG_ to enum
10515 values and macros for register names.
10517 * libio/iofopncook.c (_IO_cookie_seek): Return error only if value
10518 returned by seek cookie function is -1.
10520 2000-03-14 Andreas Jaeger <aj@suse.de>
10522 * locale/localeconv.c (localeconv): Fix typo.
10523 Reported by Andre Charbonneau <andrec@corel.com>.
10525 2000-03-14 Ulrich Drepper <drepper@redhat.com>
10527 * iconv/skeleton.c: Increment __invocation_counter in inner loop
10528 since modules depend on it counting the number of times the conversion
10529 function got called.
10531 * iconv/gconv_open.c: Optimize loop to setup step data structure.
10533 * iconv/gconv.h: Pretty print.
10535 2000-03-04 Ulrich Drepper <drepper@redhat.com>
10537 * posix/wordexp-test.c: Correct one of the tests added in the last
10538 change. Really get the root passwd entry to check again ~root.
10540 2000-03-10 Andreas Jaeger <aj@suse.de>
10542 * manual/filesys.texi (Working Directory): Fix last patch.
10543 Patch by Martin Buchholz <martin@xemacs.org>.
10545 2000-03-10 Andreas Jaeger <aj@suse.de>
10547 * manual/creature.texi (Feature Test Macros): Fix language.
10549 2000-03-10 Roland McGrath <roland@baalperazim.frob.com>
10551 * mach/devstream.c (devstream_write, devstream_read): New functions.
10552 (input, output): Functions removed.
10553 (mach_open_devstream): Use devstream_{read,write} as cookie functions,
10554 using only the vanilla fopencookie interface.
10556 * hurd/fopenport.c [! USE_IN_LIBIO] (cookie_io_functions_t): Define
10557 as macro for __io_functions.
10558 (funcsio): Use cookie_io_functions_t type name.
10559 (fopenport): Renamed from __fopenport. Rewrite to call fopencookie.
10561 * libio/iofopncook.c (_IO_cookie_init): New function, broken out of
10563 (fopencookie): Use it.
10564 * libio/libio.h: Declare _IO_cookie_init.
10565 * hurd/vpprintf.c (vpprintf) [USE_IN_LIBIO]: Implement using
10568 * libio/libio.h (__io_seek_fn): Fix second argument type
10569 to be a pointer, in line with the manual and the old stdio.
10570 * libio/iofopncook.c (_IO_cookie_seek): Fix (sole) caller.
10572 * sysdeps/generic/bits/stdio-lock.h: New file.
10573 This is a stub with #error, but that's better than no file at all.
10575 2000-03-09 Martin Buchholz <martin@xemacs.org>
10577 * sysdeps/unix/sysv/linux/alpha/syscall.S: Doc Fixes.
10578 * manual/message.texi (Using gettextized software): Doc Fixes.
10579 * manual/message.texi (Message Translation): Doc Fixes.
10580 * manual/filesys.texi (File Size): Doc Fixes.
10581 * manual/charset.texi (glibc iconv Implementation): Doc Fixes.
10582 * locale/programs/ld-collate.c (collate_output): Doc Fixes.
10583 * iconv/gconv_db.c (find_derivation): Doc Fixes.
10584 * manual/install.texi: Doc Fixes.
10585 * manual/search.texi (Hash Search Function): Doc Fixes.
10586 * manual/stdio.texi (Output Conversion Syntax): Doc Fixes.
10587 * FAQ.in: Doc Fixes.
10588 * config.h.in: Doc Fixes.
10589 * sysdeps/generic/dl-sysdep.c: Doc Fixes.
10590 Doc Fixes. `allows to' is not correct English.
10592 * elf/rtld.c: Doc fixes.
10593 * manual/creature.texi (Feature Test Macros): Doc fixes.
10594 * manual/memory.texi (Hooks for Malloc): Doc Fixes.
10596 * manual/filesys.texi (Working Directory): Check for ERANGE to
10599 2000-02-23 Roland McGrath <roland@baalperazim.frob.com>
10601 * string/argz-stringify.c (__argz_stringify): Fix loop termination
10602 conditions so as not to clobber the final '\0' when there is only one
10603 element in the vector.
10605 2000-03-09 Roland McGrath <roland@baalperazim.frob.com>
10607 * io/sys/stat.h: Fix inverted sense of `defined __S_IFSOCK' test,
10608 broken by 2000-02-27 change.
10610 * sysdeps/generic/bits/poll.h (POLLRDNORM, POLLRDBAND): New macros.
10612 2000-02-23 Roland McGrath <roland@baalperazim.frob.com>
10614 * sysdeps/mach/hurd/sigstack.c (sigstack): Remove `const' from
10615 argument type, for 2000-02-22 change in signal/signal.h declaration.
10617 2000-03-09 Roland McGrath <roland@baalperazim.frob.com>
10619 * sysdeps/generic/getdents64.c (__getdirentries64): Renamed
10620 to getdirentries64 (no __), since the Linux implementation
10621 has no __ name, and there is no declaration for the __ name.
10623 * sysdeps/mach/bits/libc-lock.h (__libc_cleanup_end): New macro.
10625 * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Tighten up
10626 sed regexp so as not to break directory names including /../ within.
10628 * sysdeps/unix/bsd/bits/waitflags.h: File removed.
10629 The sysdeps/generic file is right for BSD. This file was in fact the
10630 Hurd file, but the only difference was the WNOREAP flag that was never
10631 actually implemented or used anywhere.
10633 * configure.in (PERL, INSTALL_INFO): Don't AC_SUBST these,
10634 since AC_PATH_PROG already does it for us.
10635 (PERL): Rewrite check added in 2000-02-29 change for syntactic
10636 correctness and sh portability. I replaced the broken check
10637 with a more sensible implementation of the apparently intended
10638 semantics, which might still be questionable. Using expr causes
10639 a non-numeric value for `perl -V:apiversion` to be accepted,
10640 refusing to use only a perl that reports a number less than 5;
10641 on my system, perl (5.004_04) -V:apiversion produces UNKNOWN.
10642 * configure: Regenerated.
10644 2000-03-08 Andreas Jaeger <aj@suse.de>
10646 * manual/crypt.texi: Fix paths.
10648 2000-03-07 Andreas Jaeger <aj@suse.de>
10650 * resolv/netdb.h: The descriptions of rresvport and rresvport_af
10652 Patch by YOSHIFUJI Hideaki <yoshfuji@ecei.tohoku.ac.jp>, closes PR
10655 2000-03-06 Andreas Jaeger <aj@suse.de>
10657 * sysdeps/i386/fpu/bits/mathinline.h: Fix union definition error
10658 in __sgn1l, otherwise g++ fails to parse this.
10659 Reported by Sean Chen <sean.chen@turbolinux.com>.
10661 2000-03-03 Geoff Keating <geoffk@cygnus.com>
10663 * configure.in: Compute sizeof-long-double.
10664 * configure: Regenerated.
10665 * config.make.in: Make sizeof-long-double available to sub-makes.
10667 2000-03-03 Ulrich Drepper <drepper@cygnus.com>
10669 * sysdeps/unix/sysv/linux/init-first.c: Remove trace of personality
10672 2000-03-03 Geoff Keating <geoffk@cygnus.com>
10674 * Makeconfig (rpath-dirs): Add crypt.
10675 (all-subdirs): Remove md5crypt.
10676 * crypt/sysdeps/unix/crypt.c: Move to crypt/.
10677 * crypt/sysdeps/unix/crypt-entry.c: Move to crypt/.
10678 * sysdeps/generic/crypt-entry.c: Delete.
10679 * crypt/sysdeps/unix/crypt.h: Move to crypt/.
10680 * sysdeps/generic/crypt.h: Delete.
10681 * crypt/sysdeps/unix/crypt-private.h: Move to crypt/.
10682 * crypt/sysdeps/unix/crypt_util.c: Move to crypt/.
10683 * crypt/sysdeps/unix/des_impl.c: Move to sunrpc/.
10684 * sysdeps/generic/des_impl.c: Delete.
10685 * crypt/sysdeps/unix/ufc-crypt.h: Move to crypt/.
10686 * crypt/sysdeps: Delete.
10687 * crypt/crypt_util.c: Don't use `patchlevel.h'.
10688 * md5-crypt/Versions: Move to crypt/.
10689 * md5-crypt/md5-crypt.c: Move to crypt/.
10690 * md5-crypt/md5.c: Move to crypt/.
10691 * md5-crypt/md5c-test.c: Move to crypt/.
10692 * md5-crypt/md5test.c: Move to crypt/.
10693 * md5-crypt: Delete.
10694 * crypt/Makefile: Adjust for new structure.
10696 2000-03-03 Paul Eggert <eggert@twinsun.com>
10698 * posix/regex.c (MB_LEN_MAX): Include <limits.h> to define;
10699 define to 1 if not defined.
10701 2000-03-03 Andreas Jaeger <aj@suse.de>
10703 * sunrpc/xdr.c (xdr_hyper): Correctly handle lower half of llp.
10705 2000-03-03 Andreas Jaeger <aj@suse.de>
10707 * sunrpc/xdr_intXX_t.c (xdr_uint16_t): Fix ENCODE and DECODE
10709 (xdr_int64_t): Correctly handle lower half.
10710 Fix by Sten Dahlgren <stda@enea.se>, closes PR libc/1623.
10712 2000-03-03 Ulrich Drepper <drepper@cygnus.com>
10714 * sysdeps/unix/sysv/linux/init-first.c: Remove trace of personality
10717 2000-03-02 Andreas Jaeger <aj@suse.de>
10719 * sysdeps/unix/sysv/linux/scsi/sg.h: Integrate changes from Linux
10722 2000-03-02 Andreas Jaeger <aj@suse.de>
10724 * resolv/Makefile (headers): Add arpa/nameser_compat.h.
10726 2000-03-01 Andreas Jaeger <aj@suse.de>
10728 * time/Makefile (tst-getdate-ENV): New flag to pass DATEMSK.
10729 (tests): Added tst-getdate.
10731 * time/tst-getdate.c: New file.
10733 * time/datemsk: New file, needed for tst-getdate.
10735 2000-02-29 Cristian Gafton <gafton@redhat.com>
10737 * configure.in (CCVERSION): Require at least veersion 5 of perl API.
10739 2000-02-17 H.J. Lu <hjl@gnu.org>
10741 * sunrpc/rpc/svc.h (SVCXPRT): Add a "xp_pad" field at the end.
10743 * sunrpc/svc_udp.c (svcudp_bufcreate): Turn on IP_PKTINFO if
10745 (svcudp_recv): Set up message with the new "xp_pad" field for
10747 (svcudp_reply): Support IP_PKTINFO if available.
10749 2000-03-01 Andreas Jaeger <aj@suse.de>
10751 * time/getdate.c (check_mday): Fix check for february.
10752 Reported by ane@np.bs1.fc.nec.co.jp and Akira YOSHIYAMA
10753 <yosshy@cts.ne.jp>, closes PR libc/1617 and PR libc/1619.
10755 2000-03-02 Andreas Jaeger <aj@suse.de>
10757 * posix/unistd.h: __THROW has to precede __attribute__, otherwise
10758 g++ fails to parse this.
10759 Reported by Sean Chen <sean.chen@turbolinux.com>.
10761 2000-02-28 Ulrich Drepper <drepper@redhat.com>
10763 * io/creat.c: Moved to...
10764 * sysdeps/generic/creat.c: ...here.
10765 * io/creat64.c: Moved to...
10766 * sysdeps/generic/creat64.c: ...here.
10767 * io/lockf.c: Moved to...
10768 * sysdeps/generic/lockf.c: ...here.
10770 * crypt/crypt.texi: Moved to...
10771 * manual/crypt.texi: ...here.
10772 * crypt/examples/genpass.c: Moved to...
10773 * manual/examples/genpass.c: ...here.
10774 * crypt/examples/mygenpass.c: Moved to...
10775 * manual/examples/mygenpass.c: ...here.
10776 * crypt/examples/testpass.c: Moved to...
10777 * manual/examples/testpass.c: ...here.
10779 * manual/Makefile (chapters): Add crypt.
10780 * manual/conf.texi: Add usual header for not-last chapter.
10781 * manual/crypt.texi: Add special header for last chapter.
10783 2000-02-28 Geoff Keating <geoffk@cygnus.com>
10785 * Makeconfig (all-subdirs): Add 'crypt' subdirectory.
10786 * sysdeps/unix/sysv/linux/configure.in (inhibit_glue): Don't
10787 complain if there is no crypt add-on.
10788 * crypt/configure: Removed.
10790 * crypt/crypt.texi: Update documentation of US export restrictions
10791 to match the 14 Jan 2000 regulations.
10793 2000-02-28 Geoff Keating <geoffk@cygnus.com>
10795 * crypt: New subdirectory, merged in from the crypt add-on.
10797 2000-02-28 Ulrich Drepper <drepper@redhat.com>
10799 * include/unistd.h: Add __rmdir and __mkdir prototypes.
10802 See ChangeLog.10 for earlier changes.