1 2000-09-13 Ulrich Drepper <drepper@redhat.com>
3 * csu/Makefile: Work around a gcc bug when creating csu-dummies.
5 * sysdeps/unix/sysv/linux/getdents.c: Pretty print.
7 2000-09-01 Jes Sorensen <jes@linuxcare.com>
9 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add
10 __syscall_getdents64 wrapper.
12 * sysdeps/unix/sysv/linux/ia64/net/route.h: New file.
14 2000-09-12 Ulrich Drepper <drepper@redhat.com>
16 * iconvdata/gb18030.c: Many many changes. Make consistent with
17 charmap and with itself.
18 * iconvdata/tst-tables.sh: Test GB18030.
20 2000-09-11 Ulrich Drepper <drepper@redhat.com>
22 * iconv/skeleton.c: Fix last patch, add missing parameter to
23 unaligned function call.
25 2000-09-10 Bruno Haible <haible@clisp.cons.org>
27 * locale/programs/ld-collate.c (collate_read): Fix typo in handling
30 2000-09-11 Bruno Haible <haible@clisp.cons.org>
32 * locale/programs/ld-collate.c (collate_read): Always initialize
35 2000-09-10 Bruno Haible <haible@clisp.cons.org>
37 * locale/programs/ld-collate.c (collate_finish): Upper bound for
38 ruleidx is 128, not 256.
40 2000-09-11 Ulrich Drepper <drepper@redhat.com>
42 * locale/programs/ld-collate.c (collate_read): Correct check for
43 already inserted entries.
45 2000-09-10 Bruno Haible <haible@clisp.cons.org>
47 * iconv/skeleton.c (FUNCTION_NAME): Handle unaligned access in
50 2000-09-10 Bruno Haible <haible@clisp.cons.org>
52 * iconv/skeleton.c (FUNCTION_NAME): Optimize an `if' if
53 MAX_NEEDED_FROM > 1 && MAX_NEEDED_TO > 1.
55 2000-09-10 Bruno Haible <haible@clisp.cons.org>
57 * iconv/skeleton.c (gconv_init): Replace all uses of RESET_STATE with
60 2000-09-10 Bruno Haible <haible@clisp.cons.org>
62 * iconvdata/utf-7.c: New file.
63 * iconvdata/gconv-modules (UTF-7): New module entries.
64 * iconvdata/Makefile (modules): Add UTF-7.
65 (distribute): Add utf-7.c.
66 * iconvdata/testdata/UTF-7: New file.
67 * iconvdata/testdata/UTF-7..UTF8: New file.
68 * iconvdata/TESTS (UTF-7): New entry.
69 * iconvdata/run-iconv-test.sh: Fix confusing output.
71 2000-09-11 Ulrich Drepper <drepper@redhat.com>
73 * sysdeps/posix/tempname.c (__gen_tempname): Use __lxstat and __xstat.
75 2000-09-10 David S. Miller <davem@redhat.com>
77 * sysdeps/sparc/sparc32/__longjmp.S (__longjmp): Correct %fp
78 frame pointer offset for non-fast path.
80 2000-09-10 Ulrich Drepper <drepper@redhat.com>
82 * locale/programs/3level.h (*_init): Initialize level1, level2,
84 (*_add): Remove a few unnecessary conditionals.
86 2000-09-05 Wolfram Gloger <wg@malloc.de>
88 * malloc/thread-m.h [_LIBC]: Even if not linking with libpthread,
89 ensure usability of mutex as an `in use' flag.
91 2000-09-10 Ulrich Drepper <drepper@redhat.com>
93 * shlib-versions: Simplify libm entries. Correct a few Hurd entries.
95 * sysdeps/generic/initfini.c: Rewrite slightly to get rid of the
96 ugly GMON_WEAK_START hack.
97 Patch by Philip Blundell <philb@gnu.org>.
99 * sysdeps/i386/i486/bits/string.h: Pretty printing.
101 2000-09-09 Ulrich Drepper <drepper@redhat.com>
103 * sysdeps/powerpc/dl-machine.c: Add volatile to PPC_DCBST, PPC_SYNC,
104 and PPC_ICBI asm for broken compilers.
105 Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
107 2000-09-09 Andreas Jaeger <aj@suse.de>
109 * manual/message.texi (Advanced gettext functions): Fix typo.
111 * sysdeps/unix/sysv/linux/dl-osinfo.h: Include <string.h> for
114 2000-09-09 Ulrich Drepper <drepper@redhat.com>
116 * sysdeps/ia64/memchr.S: Add .pred.rel to avoid wrong assembler
118 * sysdeps/ia64/memccpy.S: Likewise.
119 Patches by Jim Wilson <wilson@redhat.com>.
121 * sysdeps/unix/sysv/linux/dl-osinfo.h (DL_SYSDEP_OSCHECK): Use uname
122 before trying to read /proc.
123 Patch by Matt Wilson <msw@redhat.com>.
124 * include/sys/utsname.h: Declare __uname.
125 * sysdeps/generic/uname.c: Make uname a weak alias of __uname.
126 * sysdeps/mach/hurd/uname.c: Likewise.
127 * sysdeps/unix/syscalls.list: Likewise.
129 * iconv/gconv_dl.c (do_release_shlib): Rewrite condition for
132 2000-09-08 Ulrich Drepper <drepper@redhat.com>
134 * posix/getopt.c (_getopt_internal): When long_only is set always
135 recognize conflicts just like before.
137 2000-09-08 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
139 * sysdeps/ia64/Makefile (sysdep-rtld-routines): New variable.
141 2000-09-08 Greg McGary <greg@mcgary.org>
143 * sysdeps/unix/sysv/linux/syscalls.list (mincore): Fix arg signature.
144 * sysdeps/unix/make-syscalls.sh: New signature keyletter `V'.
145 * sysdeps/generic/bp-checks.h (CHECK_N_PAGES): New macro.
147 2000-09-08 Andreas Jaeger <aj@suse.de>
149 * sysdeps/unix/sysv/linux/arm/lockf64.c: New file.
151 * sysdeps/unix/sysv/linux/arm/fcntl.c: New file.
153 * sysdeps/unix/sysv/linux/arm/bits/fcntl.h
154 (F_GETLK64,F_SETLK64,F_SETLKW64): Use values from 2.4.0-test8.
155 (F_GETLK,F_SETLK,F_SETLKW): Handle __USE_FILE_OFFSET64 correctly.
157 2000-09-07 Ulrich Drepper <drepper@redhat.com>
159 * iconvdata/tst-tables.sh: Enable EUC-KR test.
161 * elf/dl-load.c (lose): Decrement _nl_loaded.
162 (_dl_map_object_from_fd): Don't try to dlopen executables.
164 * iconvdata/tst-tables.sh: Actually return with an error if
165 something goes wrong.
166 * iconvdata/tst-table.sh: Return with an error if any of the cmp fails.
167 * iconvdata/big5hkscs.c (BODY of FROM_LOOP): Reject 0xff as input.
169 * iconvdata/tst-tables.sh: Add BIG5HKSCS.
171 * iconvdata/tst-table-to.c (main): Correct cast in iconv call.
172 * iconvdata/tst-table-from.c: Include <string.h>.
173 (try): Correct cast in iconv call.
175 * elf/Makefile (all-rtld-routines): Evaluate $(sysdep-rtld-routines)
177 * sysdeps/powerpc/Makefile (sysdep-rtld-routines): New variable.
178 (sysdep_routines): Remove dl-start.
179 Patches by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
181 * assert/__assert.c: Undefine NDEBUG before include <assert.h>.
183 * sysdeps/unix/sysv/linux/msgsnd.c (msgsnd): Add cast to avoid warning.
184 * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
186 2000-09-06 Andreas Schwab <schwab@suse.de>
188 * sysdeps/unix/sysv/linux/ia64/bits/time.h: New file.
190 2000-09-07 Ulrich Drepper <drepper@redhat.com>
192 * sysdeps/unix/sysv/linux/gethostid.c: Find hostid file in /etc.
194 * scripts/config.sub: Strip out -unknown for Linux targets.
195 Patch by Scott Bambrough <scottb@netwinder.org>.
197 * posix/tst-dir.c (main): Correct one bug (missing NULL test) and
200 2000-09-07 Andreas Jaeger <aj@suse.de>
202 * sysdeps/unix/sysv/linux/mips/lockf64.c: New file.
204 * sysdeps/unix/sysv/linux/i386/fcntl.c: Add prototypes for the
207 * sysdeps/unix/sysv/linux/mips/syscalls.list: Add __syscall_fcntl.
209 * sysdeps/mips/dl-machine.h (RESOLVE_GOTSYM): Fix calls to dl_lookup.
210 (ELF_MACHINE_RUNTIME_TRAMPOLINE): Likewise.
212 * sysdeps/unix/sysv/linux/mips/fcntl.c: New file.
214 * stdlib/tst-bsearch.c (main): Add more test cases.
216 * locale/programs/ld-collate.c (handle_ellipsis): Fix typo.
217 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
218 Reported by GOTO Masanori <gotom@debian.or.jp>.
220 2000-09-07 Ulrich Drepper <drepper@redhat.com>
222 * posix/Makefile (tests): Add tst-dir.
223 (tst-dir-ARGS): New variable.
224 * posix/tst-dir.c: New file.
226 2000-09-07 Andreas Jaeger <aj@suse.de>
228 * sysdeps/unix/sysv/linux/mips/sys/syscall.h (SYS_getdents64): New.
231 * sysdeps/unix/sysv/linux/mips/syscalls.list: Add getdents64.
233 2000-09-06 Ulrich Drepper <drepper@redhat.com>
235 * sysdeps/unix/opendir.c: If O_DIRECTORY_WORKS is defined don't
236 use the hack with tryopen_o_directory to determine at runtime
238 * sysdeps/unix/sysv/linux/opendir.c: New file.
239 * sysdeps/unix/sysv/linux/kernel-features.h: Define
240 __ASSUME_O_DIRECTORY if kernel knows O_DIRECTORY.
242 * catgets/Depend: New file. Add intl.
243 * catgets/Makefile (tests): Add tst-catgets.
244 (generated): Remove de.msg.
245 (generated-dirs): Add de.
246 Add dependency if tst-catgets output on de/libc.cat.
247 * catgets/tst-catgets.c: New file.
249 * po/ja.po: New file.
250 * po/el.po: Update from translation team.
252 * wcsmbs/Depend: New file.
253 * wcsmbs/Makefile (tests): Add tst-btowc.
254 (tst-btowc-ENV): Define.
255 * wcsmbs/tst-btowc.c: New file.
257 * sysdeps/unix/sysv/linux/_G_config.h: Moved to...
258 * sysdeps/gnu/_G_config.h: ...here to be shared with Hurd.
260 * sysdeps/posix/signal.c: Add sig to act.sa_mask for completeness.
262 * stdlib/Makefile (tests): Add tst-bsearch.
263 * stdlib/tst-bsearch.c: New file.
265 * posix/getopt.c (_getopt_internal): Don't recognize an option
266 name as ambiguous if it's a prefix for more than one name but the
267 other struct option values are identical.
269 * posix/tstgetopt.c: Add test for improved ambiguity recognition.
270 Don't depend on visual inspection of the output file to recognize
272 * posix/Makefile (tstgetopt-ARGS): Add a few more parameters.
274 2000-09-06 Andreas Jaeger <aj@suse.de>
276 * sysdeps/alpha/soft-fp/Dist: New file.
277 * sysdeps/i386/soft-fp/Dist: New file.
278 * sysdeps/mips/mips64/soft-fp/Dist: New file.
279 * sysdeps/mips/soft-fp/Dist: New file.
280 * sysdeps/powerpc/soft-fp/Dist: New file.
281 * sysdeps/sparc/sparc32/soft-fp/Dist: New file.
282 * sysdeps/sparc/sparc64/soft-fp/Dist: New file.
284 * sysdeps/sparc/sparc64/soft-fp/Makefile [$(subdir) = soft-fp]:
285 Use sysdep_routines instead of routines to fix make dist failure.
286 * sysdeps/sparc/sparc32/soft-fp/Makefile: Likewise (in commented
288 * sysdeps/powerpc/soft-fp/Makefile [$(subdir) = soft-fp]: Likewise.
290 * sysdeps/mips/Makefile [$(subdir) = misc]: Use
291 sysdep_headers instead of headers for make dist.
293 * sysdeps/unix/sysv/linux/mips/Makefile [$(subdir) = misc]:
296 2000-09-06 Andreas Schwab <schwab@suse.de>
298 * sysdeps/unix/sysv/linux/m68k/bits/fcntl.h: New file.
300 2000-09-06 Andreas Jaeger <aj@suse.de>
302 * soft-fp/Makefile (distribute): Remove ChangeLog.
304 * sysdeps/sparc/sparc32/Makefile [$(subdir) = gnulib]: Use
305 sysdep_routines instead of routines for make dist.
307 2000-09-05 Ulrich Drepper <drepper@redhat.com>
309 * libio/libio.h (_IO_fwide_maybe_incompatible): For glibc 2.0
310 compatibility check for old stream and call _IO_wide in doubt.
311 (_IO_fwide): Use _IO_fwide_maybe_incompatible macro.
312 * libio/iofwide.c (_IO_fwide): If compatibility with glibc 2.0 is
313 needed tst for such an old structure and don't do anything.
314 * libio/freopen.c: Remove declaration of _IO_stdin_used.
316 2000-09-06 Andreas Jaeger <aj@suse.de>
318 * sysdeps/powerpc/Makefile [$(subdir) = elf]: Modify
319 sysdep-dl-routines and sysdep_routines instead of rtld-routines
322 * soft-fp/ChangeLog: Merged with this file.
324 2000-06-13 Ulrich Drepper <drepper@redhat.com>
326 * soft-fp/Makefile (distribute): Add op-8.h and testit.c.
328 * soft-fp/Makefile (distribute): Add the math functions, too.
330 * soft-fp/Makefile (distribute): Add ChangeLog, Banner, and configure.
332 2000-03-03 Geoff Keating <geoffk@cygnus.com>
334 * soft-fp/soft-fp.h (_FP_ROUND_ZERO): Cast 0 to void before using it
337 * soft-fp/sysdeps/powerpc/Makefile (routines): New file.
338 * soft-fp/sysdeps/powerpc/q_*: New files.
340 2000-09-05 Ulrich Drepper <drepper@redhat.com>
342 * stdio-common/vfprintf.c (process_string_arg): Handle precision
343 in wide char case correctly. Don't allocate too long temporary
346 * stdio-common/Makefile (tests): Add tst-swprintf.
347 (tst-swprintf-ENV): New variable.
348 * stdio-common/tst-swprintf.c: New file.
350 2000-09-05 Andreas Jaeger <aj@suse.de>
352 * sysdeps/unix/sysv/linux/mips/bits/stat.h: Use st_pad5.
353 * sysdeps/unix/sysv/linux/mips/xstatconv.c: Fix assignments.
354 Patch by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
356 2000-09-05 Ulrich Drepper <drepper@redhat.com>
358 * configure.in: Strip out "unknown" from configuration names.
360 2000-09-05 Andreas Jaeger <aj@suse.de>
362 * sysdeps/powerpc/Subdirs: New file, adds soft-fp.
364 * sysdeps/sparc/sparc64/Implies: Add soft-fp.
365 * sysdeps/sparc/sparc32/Implies: Likewise.
366 * sysdeps/powerpc/Implies: Likewise.
368 * libio/oldiofsetpos64.c: Check for compatibility with glibc 2.1.
369 * libio/oldiofgetpos64.c: Likewise.
371 * soft-fp/Makefile (distribute): Remove configure.
373 * sysdeps/sparc/sparc64/soft-fp/Versions: Use version glibc 2.2.
375 * soft-fp/configure: Remove.
377 * soft-fp/sysdeps/sparc/sparc64/qp_neg.S: Move from here...
378 * sysdeps/sparc/sparc64/soft-fp/qp_neg.S: ... to here.
380 * soft-fp/sysdeps/sparc/sparc32/Makefile: Move from here...
381 * sysdeps/sparc/sparc32/soft-fp/Makefile: ... to here.
383 * soft-fp/sysdeps/powerpc/Makefile: Move from here...
384 * sysdeps/powerpc/soft-fp/Makefile: ... to here.
386 * soft-fp/sysdeps/sparc/sparc64/Makefile: Move from here...
387 * sysdeps/sparc/sparc64/soft-fp/Makefile: ... to here.
389 * soft-fp/sysdeps/sparc/sparc64/qp_neg.S: Move from here...
390 * sysdeps/sparc/sparc64/soft-fp/qp_neg.S: ... to here.
392 * soft-fp/sysdeps/powerpc/q_add.c: Move from here...
393 * sysdeps/powerpc/soft-fp/q_add.c: ... to here.
395 * soft-fp/sysdeps/powerpc/q_cmp.c: Move from here...
396 * sysdeps/powerpc/soft-fp/q_cmp.c: ... to here.
398 * soft-fp/sysdeps/powerpc/q_cmpe.c: Move from here...
399 * sysdeps/powerpc/soft-fp/q_cmpe.c: ... to here.
401 * soft-fp/sysdeps/powerpc/q_div.c: Move from here...
402 * sysdeps/powerpc/soft-fp/q_div.c: ... to here.
404 * soft-fp/sysdeps/powerpc/q_dtoq.c: Move from here...
405 * sysdeps/powerpc/soft-fp/q_dtoq.c: ... to here.
407 * soft-fp/sysdeps/powerpc/q_feq.c: Move from here...
408 * sysdeps/powerpc/soft-fp/q_feq.c: ... to here.
410 * soft-fp/sysdeps/powerpc/q_fge.c: Move from here...
411 * sysdeps/powerpc/soft-fp/q_fge.c: ... to here.
413 * soft-fp/sysdeps/powerpc/q_fgt.c: Move from here...
414 * sysdeps/powerpc/soft-fp/q_fgt.c: ... to here.
416 * soft-fp/sysdeps/powerpc/q_fle.c: Move from here...
417 * sysdeps/powerpc/soft-fp/q_fle.c: ... to here.
419 * soft-fp/sysdeps/powerpc/q_flt.c: Move from here...
420 * sysdeps/powerpc/soft-fp/q_flt.c: ... to here.
422 * soft-fp/sysdeps/powerpc/q_fne.c: Move from here...
423 * sysdeps/powerpc/soft-fp/q_fne.c: ... to here.
425 * soft-fp/sysdeps/powerpc/q_itoq.c: Move from here...
426 * sysdeps/powerpc/soft-fp/q_itoq.c: ... to here.
428 * soft-fp/sysdeps/powerpc/q_lltoq.c: Move from here...
429 * sysdeps/powerpc/soft-fp/q_lltoq.c: ... to here.
431 * soft-fp/sysdeps/powerpc/q_mul.c: Move from here...
432 * sysdeps/powerpc/soft-fp/q_mul.c: ... to here.
434 * soft-fp/sysdeps/powerpc/q_neg.c: Move from here...
435 * sysdeps/powerpc/soft-fp/q_neg.c: ... to here.
437 * soft-fp/sysdeps/powerpc/q_qtod.c: Move from here...
438 * sysdeps/powerpc/soft-fp/q_qtod.c: ... to here.
440 * soft-fp/sysdeps/powerpc/q_qtoi.c: Move from here...
441 * sysdeps/powerpc/soft-fp/q_qtoi.c: ... to here.
443 * soft-fp/sysdeps/powerpc/q_qtoll.c: Move from here...
444 * sysdeps/powerpc/soft-fp/q_qtoll.c: ... to here.
446 * soft-fp/sysdeps/powerpc/q_qtos.c: Move from here...
447 * sysdeps/powerpc/soft-fp/q_qtos.c: ... to here.
449 * soft-fp/sysdeps/powerpc/q_qtou.c: Move from here...
450 * sysdeps/powerpc/soft-fp/q_qtou.c: ... to here.
452 * soft-fp/sysdeps/powerpc/q_qtoull.c: Move from here...
453 * sysdeps/powerpc/soft-fp/q_qtoull.c: ... to here.
455 * soft-fp/sysdeps/powerpc/q_sqrt.c: Move from here...
456 * sysdeps/powerpc/soft-fp/q_sqrt.c: ... to here.
458 * soft-fp/sysdeps/powerpc/q_stoq.c: Move from here...
459 * sysdeps/powerpc/soft-fp/q_stoq.c: ... to here.
461 * soft-fp/sysdeps/powerpc/q_sub.c: Move from here...
462 * sysdeps/powerpc/soft-fp/q_sub.c: ... to here.
464 * soft-fp/sysdeps/powerpc/q_ulltoq.c: Move from here...
465 * sysdeps/powerpc/soft-fp/q_ulltoq.c: ... to here.
467 * soft-fp/sysdeps/powerpc/q_util.c: Move from here...
468 * sysdeps/powerpc/soft-fp/q_util.c: ... to here.
470 * soft-fp/sysdeps/powerpc/q_utoq.c: Move from here...
471 * sysdeps/powerpc/soft-fp/q_utoq.c: ... to here.
473 * soft-fp/sysdeps/sparc/sparc32/q_add.c: Move from here...
474 * sysdeps/sparc/sparc32/soft-fp/q_add.c: ... to here.
476 * soft-fp/sysdeps/sparc/sparc32/q_cmp.c: Move from here...
477 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c: ... to here.
479 * soft-fp/sysdeps/sparc/sparc32/q_cmpe.c: Move from here...
480 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c: ... to here.
482 * soft-fp/sysdeps/sparc/sparc32/q_div.c: Move from here...
483 * sysdeps/sparc/sparc32/soft-fp/q_div.c: ... to here.
485 * soft-fp/sysdeps/sparc/sparc32/q_dtoq.c: Move from here...
486 * sysdeps/sparc/sparc32/soft-fp/q_dtoq.c: ... to here.
488 * soft-fp/sysdeps/sparc/sparc32/q_feq.c: Move from here...
489 * sysdeps/sparc/sparc32/soft-fp/q_feq.c: ... to here.
491 * soft-fp/sysdeps/sparc/sparc32/q_fge.c: Move from here...
492 * sysdeps/sparc/sparc32/soft-fp/q_fge.c: ... to here.
494 * soft-fp/sysdeps/sparc/sparc32/q_fgt.c: Move from here...
495 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c: ... to here.
497 * soft-fp/sysdeps/sparc/sparc32/q_fle.c: Move from here...
498 * sysdeps/sparc/sparc32/soft-fp/q_fle.c: ... to here.
500 * soft-fp/sysdeps/sparc/sparc32/q_flt.c: Move from here...
501 * sysdeps/sparc/sparc32/soft-fp/q_flt.c: ... to here.
503 * soft-fp/sysdeps/sparc/sparc32/q_fne.c: Move from here...
504 * sysdeps/sparc/sparc32/soft-fp/q_fne.c: ... to here.
506 * soft-fp/sysdeps/sparc/sparc32/q_itoq.c: Move from here...
507 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: ... to here.
509 * soft-fp/sysdeps/sparc/sparc32/q_mul.c: Move from here...
510 * sysdeps/sparc/sparc32/soft-fp/q_mul.c: ... to here.
512 * soft-fp/sysdeps/sparc/sparc32/q_neg.c: Move from here...
513 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: ... to here.
515 * soft-fp/sysdeps/sparc/sparc32/q_qtod.c: Move from here...
516 * sysdeps/sparc/sparc32/soft-fp/q_qtod.c: ... to here.
518 * soft-fp/sysdeps/sparc/sparc32/q_qtoi.c: Move from here...
519 * sysdeps/sparc/sparc32/soft-fp/q_qtoi.c: ... to here.
521 * soft-fp/sysdeps/sparc/sparc32/q_qtos.c: Move from here...
522 * sysdeps/sparc/sparc32/soft-fp/q_qtos.c: ... to here.
524 * soft-fp/sysdeps/sparc/sparc32/q_qtoui.c: Move from here...
525 * sysdeps/sparc/sparc32/soft-fp/q_qtoui.c: ... to here.
527 * soft-fp/sysdeps/sparc/sparc32/q_qtoux.c: Move from here...
528 * sysdeps/sparc/sparc32/soft-fp/q_qtoux.c: ... to here.
530 * soft-fp/sysdeps/sparc/sparc32/q_qtox.c: Move from here...
531 * sysdeps/sparc/sparc32/soft-fp/q_qtox.c: ... to here.
533 * soft-fp/sysdeps/sparc/sparc32/q_sqrt.c: Move from here...
534 * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c: ... to here.
536 * soft-fp/sysdeps/sparc/sparc32/q_stoq.c: Move from here...
537 * sysdeps/sparc/sparc32/soft-fp/q_stoq.c: ... to here.
539 * soft-fp/sysdeps/sparc/sparc32/q_sub.c: Move from here...
540 * sysdeps/sparc/sparc32/soft-fp/q_sub.c: ... to here.
542 * soft-fp/sysdeps/sparc/sparc32/q_uitoq.c: Move from here...
543 * sysdeps/sparc/sparc32/soft-fp/q_uitoq.c: ... to here.
545 * soft-fp/sysdeps/sparc/sparc32/q_util.c: Move from here...
546 * sysdeps/sparc/sparc32/soft-fp/q_util.c: ... to here.
548 * soft-fp/sysdeps/sparc/sparc32/q_uxtoq.c: Move from here...
549 * sysdeps/sparc/sparc32/soft-fp/q_uxtoq.c: ... to here.
551 * soft-fp/sysdeps/sparc/sparc32/q_xtoq.c: Move from here...
552 * sysdeps/sparc/sparc32/soft-fp/q_xtoq.c: ... to here.
554 * soft-fp/sysdeps/sparc/sparc64/qp_add.c: Move from here...
555 * sysdeps/sparc/sparc64/soft-fp/qp_add.c: ... to here.
557 * soft-fp/sysdeps/sparc/sparc64/qp_cmp.c: Move from here...
558 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: ... to here.
560 * soft-fp/sysdeps/sparc/sparc64/qp_cmpe.c: Move from here...
561 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: ... to here.
563 * soft-fp/sysdeps/sparc/sparc64/qp_div.c: Move from here...
564 * sysdeps/sparc/sparc64/soft-fp/qp_div.c: ... to here.
566 * soft-fp/sysdeps/sparc/sparc64/qp_dtoq.c: Move from here...
567 * sysdeps/sparc/sparc64/soft-fp/qp_dtoq.c: ... to here.
569 * soft-fp/sysdeps/sparc/sparc64/qp_feq.c: Move from here...
570 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: ... to here.
572 * soft-fp/sysdeps/sparc/sparc64/qp_fge.c: Move from here...
573 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: ... to here.
575 * soft-fp/sysdeps/sparc/sparc64/qp_fgt.c: Move from here...
576 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: ... to here.
578 * soft-fp/sysdeps/sparc/sparc64/qp_fle.c: Move from here...
579 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: ... to here.
581 * soft-fp/sysdeps/sparc/sparc64/qp_flt.c: Move from here...
582 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: ... to here.
584 * soft-fp/sysdeps/sparc/sparc64/qp_fne.c: Move from here...
585 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: ... to here.
587 * soft-fp/sysdeps/sparc/sparc64/qp_itoq.c: Move from here...
588 * sysdeps/sparc/sparc64/soft-fp/qp_itoq.c: ... to here.
590 * soft-fp/sysdeps/sparc/sparc64/qp_mul.c: Move from here...
591 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: ... to here.
593 * soft-fp/sysdeps/sparc/sparc64/qp_qtod.c: Move from here...
594 * sysdeps/sparc/sparc64/soft-fp/qp_qtod.c: ... to here.
596 * soft-fp/sysdeps/sparc/sparc64/qp_qtoi.c: Move from here...
597 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: ... to here.
599 * soft-fp/sysdeps/sparc/sparc64/qp_qtos.c: Move from here...
600 * sysdeps/sparc/sparc64/soft-fp/qp_qtos.c: ... to here.
602 * soft-fp/sysdeps/sparc/sparc64/qp_qtoui.c: Move from here...
603 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: ... to here.
605 * soft-fp/sysdeps/sparc/sparc64/qp_qtoux.c: Move from here...
606 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: ... to here.
608 * soft-fp/sysdeps/sparc/sparc64/qp_qtox.c: Move from here...
609 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: ... to here.
611 * soft-fp/sysdeps/sparc/sparc64/qp_sqrt.c: Move from here...
612 * sysdeps/sparc/sparc64/soft-fp/qp_sqrt.c: ... to here.
614 * soft-fp/sysdeps/sparc/sparc64/qp_stoq.c: Move from here...
615 * sysdeps/sparc/sparc64/soft-fp/qp_stoq.c: ... to here.
617 * soft-fp/sysdeps/sparc/sparc64/qp_sub.c: Move from here...
618 * sysdeps/sparc/sparc64/soft-fp/qp_sub.c: ... to here.
620 * soft-fp/sysdeps/sparc/sparc64/qp_uitoq.c: Move from here...
621 * sysdeps/sparc/sparc64/soft-fp/qp_uitoq.c: ... to here.
623 * soft-fp/sysdeps/sparc/sparc64/qp_util.c: Move from here...
624 * sysdeps/sparc/sparc64/soft-fp/qp_util.c: ... to here.
626 * soft-fp/sysdeps/sparc/sparc64/qp_uxtoq.c: Move from here...
627 * sysdeps/sparc/sparc64/soft-fp/qp_uxtoq.c: ... to here.
629 * soft-fp/sysdeps/sparc/sparc64/qp_xtoq.c: Move from here...
630 * sysdeps/sparc/sparc64/soft-fp/qp_xtoq.c: ... to here.
632 * soft-fp/sysdeps/sparc/sparc64/s_frexpl.c: Move from here...
633 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: ... to here.
635 * soft-fp/sysdeps/sparc/sparc64/s_ilogbl.c: Move from here...
636 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: ... to here.
638 * soft-fp/sysdeps/sparc/sparc64/s_scalblnl.c: Move from here...
639 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: ... to here.
641 * soft-fp/sysdeps/sparc/sparc64/s_scalbnl.c: Move from here...
642 * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c: ... to here.
644 * soft-fp/sysdeps/alpha/sfp-machine.h: Move from here...
645 * sysdeps/alpha/soft-fp/sfp-machine.h: ... to here.
647 * soft-fp/sysdeps/i386/sfp-machine.h: Move from here...
648 * sysdeps/i386/soft-fp/sfp-machine.h: ... to here.
650 * soft-fp/sysdeps/mips/mips64/sfp-machine.h: Move from here...
651 * sysdeps/mips/mips64/soft-fp/sfp-machine.h: ... to here.
653 * soft-fp/sysdeps/mips/sfp-machine.h: Move from here...
654 * sysdeps/mips/soft-fp/sfp-machine.h: ... to here.
656 * soft-fp/sysdeps/powerpc/sfp-machine.h: Move from here...
657 * sysdeps/powerpc/soft-fp/sfp-machine.h: ... to here.
659 * soft-fp/sysdeps/sparc/sparc32/sfp-machine.h: Move from here...
660 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h: ... to here.
662 * soft-fp/sysdeps/sparc/sparc64/sfp-machine.h: Move from here...
663 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: ... to here.
665 * soft-fp/sysdeps/powerpc/Versions: Move from here...
666 * sysdeps/powerpc/soft-fp/Versions: ... to here.
668 * soft-fp/sysdeps/sparc/sparc64/Versions: Move from here...
669 * sysdeps/sparc/sparc64/soft-fp/Versions: ... to here.
671 * libio/oldiofsetpos64.c: iofsetpos was introduced in glibc 2.1,
672 change symbol version.
673 * libio/oldiofgetpos64.c: Likewise.
674 Reported by Martin v. Loewis <martin@loewis.home.cs.tu-berlin.de>.
676 * locale/programs/ld-ctype.c (charclass_charcode_ellipsis): Fix
678 Reported by dyky@kondara.org, closes PR libc/1886.
680 * stdlib/tst-strtod.c: Add testcases for denormal numbers from PR
683 2000-09-04 Ulrich Drepper <drepper@redhat.com>
685 * iconvdata/run-iconv-test.sh: Add code to immediately stop the
686 script when ^C is hit.
688 * locale/programs/localedef.c (construct_output_path): Correct
689 computation of endp after asprintf.
690 * locale/programs/locfile.c (write_locale_data): Don't add extra
693 2000-09-05 Andreas Jaeger <aj@suse.de>
695 * scripts/config.guess: New upstream version.
696 * scripts/config.sub: Likewise.
697 * manual/texinfo.tex: Likewise.
699 2000-09-04 Andreas Schwab <schwab@suse.de>
701 * elf/Makefile (all-dl-routines): New variable.
702 (elide-routines.os): Use it instead of $(dl-routines).
703 (all-rtld-routines): New variable.
704 (extra-objs): Use it instead of $(rtld-routines).
705 ($(objpfx)dl-allobjs.os): Likewise.
706 * sysdeps/ia64/Makefile [$(subdir) = elf]: Modify
707 sysdep-dl-routines and sysdep_routines instead of rtld-routines
710 2000-09-03 Bruno Haible <haible@clisp.cons.org>
712 * iconv/gconv_trans.c (__gconv_translit_find): Update open_count.
713 Set fname to NULL if the module wasn't found.
715 2000-09-03 Bruno Haible <haible@clisp.cons.org>
717 * iconv/gconv_trans.c (__gconv_translit_find): Don't set need_so to
718 true if trans->name already ends in ".so".
720 2000-09-03 Bruno Haible <haible@clisp.cons.org>
722 * iconv/gconv_int.h (__gconv_release_shlib): Change return type to
724 * iconv/gconv_dl.c (do_release_shlib): Don't decrement the counter
725 below -TRIES_BEFORE_UNLOAD-1, to avoid wraparound.
726 (__gconv_release_shlib): Change return type to void.
727 * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Don't set
728 step->__counter here.
729 * iconv/gconv_db.c (free_derivation): Don't call a step's destructor
730 if the reference is zero.
731 (release_step): New function.
732 (gen_steps): Always initialize the __counter to 1. Use release_step.
733 Don't call the destructor on the step whose initializer failed.
734 (increment_counter): Use release_step. Don't normally run destructors
736 (__gconv_close_transform): Use release_step.
738 2000-09-03 Bruno Haible <haible@clisp.cons.org>
740 * iconv/gconv_simple.c (encoding_mask, encoding_byte): Remove.
741 (__gconv_transform_internal_utf8) [BODY]: Use simple shifts instead.
743 2000-09-03 Bruno Haible <haible@clisp.cons.org>
745 * iconvdata/euc-tw.c (BODY for FROM_LOOP): Initialize ch2 correctly.
746 If the first byte is 0x8E, don't ask for 4 bytes until it has been
747 verified that the second byte is valid. Leave it to cns11643_to_ucs4
748 to check for incomplete input.
749 * iconvdata/cns11643.h (cns11643_to_ucs4): The plane number is
750 ch - 0x20 - offset, not ch - 0x21 - offset. Upper bound for
751 __cns11643l1_to_ucs4_tab is 0x21f2, not 0x2196.
752 (ucs4_to_cns11643): Fix mapping for ranges 0x3105..0x3129 and
754 * iconvdata/cns11643l1.h (cns11643l1_to_ucs4): Upper bound for
755 __cns11643l1_to_ucs4_tab is 0x21f2, not 0x2196.
756 (ucs4_to_cns11643l1): Fix mapping for range 0x3105..0x3129.
757 * iconvdata/cns11643l1.c (__cns11643l1_from_ucs4_tab6): Extend
760 2000-09-03 Bruno Haible <haible@clisp.cons.org>
762 * iconv/gconv_db.c (find_derivation): Always use the least-cost
765 2000-09-03 Bruno Haible <haible@clisp.cons.org>
767 * iconvdata/big5.c (BODY for FROM_LOOP): Bytes 0x81..0xA0, 0xFA..0xFF
770 2000-09-03 Bruno Haible <haible@clisp.cons.org>
772 * iconvdata/jis0208.c (__jis0208_to_ucs): Map EUC-JP 0xA1C0 to U+005C.
773 * iconvdata/jis0212.c (__jisx0212_to_ucs): Map EUC-JP 0x8FA2B7 to
776 2000-09-03 Bruno Haible <haible@clisp.cons.org>
778 * iconvdata/sjis.c (cjk_block1): Map 0x815F to U+005C.
780 2000-09-03 Bruno Haible <haible@clisp.cons.org>
782 * iconvdata/iso_6937-2.c (to_ucs4): Map 0xB4 to U+00D7.
784 2000-09-03 Bruno Haible <haible@clisp.cons.org>
786 * iconvdata/tst-tables.sh: New file.
787 * iconvdata/tst-table.sh: New file.
788 * iconvdata/tst-table-from.c: New file.
789 * iconvdata/tst-table-to.c: New file.
790 * iconvdata/tst-table-charmap.sh: New file.
791 * iconvdata/Makefile (test-srcs): Set to tst-table-from tst-table-to.
792 (distribute): Add tst-tables.sh, tst-table.sh, tst-table-charmap.sh,
793 tst-table-from.c, tst-table-to.c, EUC-JP.irreversible,
794 ISIRI-3342.irreversible, SJIS.irreversible.
795 (tests): Add dependency on tst-tables.out.
796 (tst-tables.out, tst-tables-clean): New rules.
797 (do-tests-clean, common-mostlyclean): Require tst-tables-clean.
798 * iconvdata/ISIRI-3342.irreversible: New file.
799 * iconvdata/EUC-JP.irreversible: New file.
800 * iconvdata/SJIS.irreversible: New file.
802 2000-09-04 Ulrich Drepper <drepper@redhat.com>
804 * manual/locale.texi (General Numeric): Update description of
805 representation of the grouping information in the locale data.
806 Patch by Gaute B. Strokkenes <gs234@cam.ac.uk>.
808 2000-09-04 Andreas Jaeger <aj@suse.de>
810 * locale/programs/ld-monetary.c (monetary_read): Fix typo.
811 * iconv/iconv_prog.c (options): Fix typo.
812 Reported by dyky@kondara.org, closes PR libc/1885.
814 2000-09-04 Andreas Jaeger <aj@suse.de>
816 * sysdeps/generic/fegetenv.c: It's __fegetenv.
817 Reported by Rob Levin <lilo@transvirtual.com>.
819 2000-09-03 Ulrich Drepper <drepper@redhat.com>
821 * time/sys/time.h (gettimeofday): Move restrict for tz parameter
822 to the typedefs of __timezone_ptr_t.
823 Reported by MATSUMURA Hiromitsu <coji2@mb.infoweb.ne.jp>.
825 2000-09-02 Jakub Jelinek <jakub@redhat.com>
827 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Increment counter in
830 2000-09-01 H.J. Lu <hjl@gnu.org>
832 * Makeconfig (built-program-cmd): Don't use the dynamic linker
833 to run a binary if it is in $(tests-static).
835 * Rules (binaries-static): Add $(tests-static).
837 2000-09-02 Andreas Jaeger <aj@suse.de>
839 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Fixes for fcntl64.
841 * libio/fmemopen.c (fmemopen_close): Revert one part of last
844 2000-09-01 Ulrich Drepper <drepper@redhat.com>
846 * iconvdata/big5hkscs.c: Regenerated from charmap.
847 * iconvdata/testdata/BIG5HKSCS: Regenerated.
848 * iconvdata/testdata/BIG5HKSCS..UTF8: Regenerated.
850 * libio/fmemopen.c (fmemopen_seek): Add default case in switch
851 statement. General cleanup.
853 2000-08-31 Bruno Haible <haible@clisp.cons.org>
855 * wctype/wcfuncs.c (iswblank): New function.
856 * wctype/wcfuncs_l.c (__iswblank_l): New function.
857 * wctype/wcextra.c: Remove file.
858 * wctype/wcextra_l.c: Remove file.
859 * wctype/Makefile (distribute): Remove wcextra and wcextra_l.
861 2000-08-31 Bruno Haible <haible@clisp.cons.org>
863 * locale/programs/ld-collate.c (collate_output): Remove redundant
865 * string/strcoll.c: Likewise.
866 * string/strxfrm.c: Include assert.h. Add assert calls like in
869 2000-08-31 Bruno Haible <haible@clisp.cons.org>
871 * locale/categories.def (_NL_COLLATE_HASH_SIZE,
872 _NL_COLLATE_HASH_LAYERS, _NL_COLLATE_NAMES, _NL_CTYPE_NAMES,
873 _NL_CTYPE_HASH_SIZE, _NL_CTYPE_HASH_LAYERS): Remove definitions.
874 * locale/langinfo.h (_NL_COLLATE_HASH_SIZE, _NL_COLLATE_HASH_LAYERS,
875 _NL_COLLATE_NAMES): Rename to _NL_COLLATE_GAP1/2/3 respectively.
876 (_NL_CTYPE_NAMES): Rename to _NL_CTYPE_GAP3.
877 (_NL_CTYPE_GAP3): Rename to _NL_CTYPE_GAP4.
878 (_NL_CTYPE_HASH_SIZE, _NL_CTYPE_HASH_LAYERS): Rename to
879 _NL_CTYPE_GAP5/6 respectively.
881 * locale/C-ctype.c (_nl_C_LC_CTYPE): Update.
882 * ctype/ctype-info.c (__ctype_names, __ctype_width): Remove variables.
883 * locale/lc-ctype.c (_nl_postload_ctype): Assume new locale format.
884 Don't initialize __ctype_names and __ctype_width.
885 * wctype/cname-lookup.h: Remove file.
886 * wctype/Makefile (distribute): Remove cname-lookup.h.
887 * wctype/wchar-lookup.h: Include stdint.h.
888 * wctype/wctype.c (__wctype): Assume new locale format.
889 * wctype/wctype_l.c (__wctype_l): Likewise.
890 * wctype/iswctype.c: Don't include cname-lookup.h.
891 (__iswctype): Assume new locale format.
892 * wctype/iswctype_l.c: Don't include cname-lookup.h.
893 (__iswctype_l): Assume new locale format.
894 * wctype/wctrans.c: Don't include ctype.h.
895 (wctrans): Assume new locale format.
896 * wctype/wctrans_l.c (__wctrans_l): Likewise.
897 * wctype/towctrans.c: Don't include cname-lookup.h.
898 (__towctrans): Assume new locale format.
899 * wctype/towctrans_l.c: Don't include cname-lookup.h.
900 (__towctrans_l): Assume new locale format.
901 * wctype/wcfuncs.c: Don't include ctype.h and cname-lookup.h. Include
902 localeinfo.h instead.
903 (__NO_WCTYPE): Remove unused macro.
904 (__ctype32_b, __ctype32_toupper, __ctype32_tolower): Remove
906 (iswalnum, iswalpha, iswcntrl, iswdigit, iswlower, iswgraph, iswprint,
907 iswpunct, iswspace, iswupper, iswxdigit): Assume new locale format.
908 (towlower, towupper): Likewise.
909 * wctype/wcfuncs_l.c: Don't include cname-lookup.h. Include
910 localeinfo.h instead.
911 (__NO_WCTYPE): Remove unused macro.
912 (__iswalnum_l, __iswalpha_l, __iswcntrl_l, __iswdigit_l, __iswlower_l,
913 __iswgraph_l, __iswprint_l, __iswpunct_l, __iswspace_l, __iswupper_l,
914 __iswxdigit_l): Assume new locale format.
915 (__towlower_l, __towupper_l): Likewise.
916 * wcsmbs/wcwidth.h: Don't include cname-lookup.h.
917 (__ctype32_b): Remove declaration.
918 (internal_wcwidth): Assume new locale format.
919 * locale/programs/ld-ctype.c (struct locale_ctype_t): Remove fields
920 plane_size, plane_cnt, names, width. Rename map to map_b, rename map32
921 to map32_b, rename width_3level to width.
922 (ctype_output): Always create new locale format. Don't emit
923 _NL_CTYPE_NAMES, _NL_CTYPE_HASH_SIZE, _NL_CTYPE_HASH_LAYERS any more.
924 (allocate_arrays): Always create new locale format.
926 * locale/C-collate.c (_nl_C_LC_COLLATE): Update.
927 * locale/weightwc.h (findidx): Assume new locale format.
928 * string/strcoll.c (wcscoll): Remove local variables size, layers,
930 * string/strxfrm.c (wcsxfrm): Likewise.
931 * posix/fnmatch_loop.c (internal_fnwmatch): Likewise. Change type of
932 local variable collseq to 'const char *'.
933 (SUFFIX): Don't use, don't undefine.
934 * posix/fnmatch.c: Remove SUFFIX definition.
935 * locale/programs/ld-collate.c (struct locale_collate_t): Remove
936 fields plane_size, plane_cnt, wcheads, wcseqorder. Rename
937 wcheads_3level to wcheads, rename wcseqorder_3level to wcseqorder.
938 (collate_finish): Always create new locale format. Remove local
939 variables min_total, act_size.
940 (collate_output): Always create new locale format. Remove local
941 variables table_size, names, tablewc. Rename tablewc_3level to
944 2000-08-31 Bruno Haible <haible@clisp.cons.org>
946 * locale/programs/ld-collate.c (obstack_int32_grow,
947 obstack_int32_grow_fast): New inline functions.
948 (output_weightwc, collate_output): Use them where possible.
950 2000-09-01 Ulrich Drepper <drepper@redhat.com>
952 * libio/libio.h (_IO_flockfile, _IO_funlockfile): Fix typo in last
953 patch (_mode -> _flags).
955 * libio/Makefile (headers): Add stdio_ext.h.
956 (routines): Add __fbufsize, __freading, __fwriting, __freadable,
957 __fwritable, __flbf, __fpurge, __fpending, and __fsetlocking.
958 * libio/Versions [libc] (GLIBC_2.2): Add __fbufsize, __freading,
959 __fwriting, __freadable, __fwritable, __flbf, __fpurge, __fpending,
960 __fsetlocking, and _flushlbf.
961 * libio/__fbufsize.c: New file.
962 * libio/__flbf.c: New file.
963 * libio/__fpending.c: New file.
964 * libio/__fpurge.c: New file.
965 * libio/__freadable.c: New file.
966 * libio/__freading.c: New file.
967 * libio/__fsetlocking.c: New file.
968 * libio/__fwritable.c: New file.
969 * libio/__fwriting.c: New file.
970 * libio/stdio_ext.h: New file.
971 * libio/genops.c (_IO_flush_all_linebuffered): Add alias _flushlbf.
972 * libio/libio.h (_IO_USER_LOCK): Define.
973 [_IO_MTSAFE_IO] (_IO_flockfile, _IO_funlockfile): Add macros which
974 test _IO_USER_LOCK flag first.
976 * iconv/gconv_open.c (__gconv_open): Set res to __GCONV_NOMEM is
979 2000-09-01 Andreas Jaeger <aj@suse.de>
981 * sysdeps/unix/sysv/linux/bits/fcntl.h: Always fail.
983 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: New file.
985 2000-08-31 Ulrich Drepper <drepper@redhat.com>
987 * math/Makefile (tests): Add tst-defintions.
988 * math/tst-definitions.c: New file.
990 * stdlib/Makefile (headers): Add bits/wchar.h.
991 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: New file.
992 * sysdeps/generic/bits/wchar.h: New file.
993 * sysdeps/generic/stdint.h: Include <bits/wchar.h>. Use values in this
994 file to define WCHAR_MIN and WCHAR_MAX.
995 Change UINT*8_MAX and UIN*16_MAX value to type int.
996 * wcsmbs/wchar.h: Include <bits/wchar.h>. Use values in this
997 file to define WCHAR_MIN and WCHAR_MAX.
998 * sysdeps/alpha/fpu/bits/mathdef.h: Make FP_ILOGB0 and FP_ILOGBNAN
1000 * sysdeps/arm/fpu/bits/mathdef.h: Likewise.
1001 * sysdeps/generic/bits/mathdef.h: Likewise.
1002 * sysdeps/i386/fpu/bits/mathdef.h: Likewise.
1003 * sysdeps/m68k/fpu/bits/mathdef.h: Likewise.
1004 * sysdeps/powerpc/fpu/bits/mathdef.h: Likewise.
1005 * sysdeps/sparc/fpu/bits/mathdef.h: Likewise.
1006 * locale/locale.h (struct lconv): Add __ prefix to the new members
1008 * sysdeps/generic/inttypes.h: Remove unnecessary imaxabs and
1009 imaxdiv optimizations.
1010 * sysdeps/wordsize-32/lldiv.c: Add hack to make alias work.
1011 * sysdeps/wordsize-64/ldiv.c: Likewise.
1012 * sysdeps/alpha/fpu/bits/fenv.h: Change type of FE_*_ENV macros to
1014 * sysdeps/generic/bits/fenv.h: Likewise.
1015 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
1016 * sysdeps/ia64/bits/fenv.h: Likewise.
1017 * sysdeps/m68k/fpu/bits/fenv.h: Likewise.
1018 * sysdeps/mips/bits/fenv.h: Likewise.
1019 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
1020 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
1021 Reported by Joseph S. Myers <jsm28@cam.ac.uk>.
1023 * inet/rcmd.c: Use *stat64 instead of *stat internally.
1024 * inet/ruserpass.c: Likewise.
1025 * catgets/open_catalog.c: Likewise.
1026 * intl/loadmsgcat.c: Likewise.
1027 * io/getdirname.c: Likewise.
1028 * locale/loadlocale.c: Likewise.
1029 * misc/getusershell.c: Likewise.
1030 * stdlib/canonicalize.c: Likewise.
1031 * sysdeps/posix/euidaccess.c: Likewise.
1032 * sysdeps/posix/isfdtype.c: Likewise.
1033 * sysdeps/posix/posix_fallocate.c: Likewise.
1034 * sysdeps/posix/tempname.c: Likewise.
1035 * sysdeps/unix/grantpt.c: Likewise.
1036 * sysdeps/unix/opendir.c: Likewise.
1037 * sysdeps/unix/sysv/linux/fstatvfs.c: Likewise.
1038 * sysdeps/unix/sysv/linux/internal_statvfs.c: Likewise.
1039 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
1040 * sysdeps/unix/sysv/linux/statvfs.c: Likewise.
1041 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
1042 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
1043 * sysvipc/ftok.c: Likewise.
1044 * time/getdate.c: Likewise.
1046 * time/getdate.c: Add extra access test.
1048 2000-08-31 Ulrich Drepper <drepper@redhat.com>
1050 * version.h (VERSION): Bump to 2.1.93.
1052 * sysdeps/unix/sysv/linux/powerpc/Dist: Add fe_nomask.c.
1053 * sysdeps/unix/sysv/linux/i386/Dist: Add olddirent.h.
1055 * intl/Makefile (tests): Depend in mtrace-tst-gettext.
1056 Make this a new rule depending on tst-gettext.out and run mtrace.
1057 * intl/tst-gettext.c: Call mtrace.
1058 * intl/tst-gettext.sh: Put MALLOC_TRACE in environment of tst-gettext.
1060 * elf/dl-reloc.c: Add a few more __builtin_expect.
1062 * configure.in: Remove --with-gettext option.
1064 * intl/dcigettext.c (free_mem): Correct freeing of
1065 _nl_domain_bindings list.
1067 * sysdeps/generic/setenv.c (free_mem): New function. Free all
1070 * intl/locale.alias: Add aliases for bokmal and nynorsk.
1072 * locale/iso-639.def: Fix 639-1 code for Bokmal.
1074 * stdio-common/itoa-digits.c: Move upper digits to...
1075 * stdio-common/itoa-udigits.c: ...here. New file.
1076 * stdio-common/Makefile (routines): Add itoa-udigits.
1078 * sysdeps/i386/dl-machine.h (elf_machine_rel): For the version to
1079 relocate ld.so don't add supprt for relocations which should not
1082 * malloc/malloc.c (ptmalloc_init): Optimize a bit by not calling
1083 __secure_getenv. Instead test __libc_enable_secure once.
1085 * io/pwd.c (main): Provide a good example, use *_unlocked function.
1087 2000-08-30 Ulrich Drepper <drepper@redhat.com>
1089 * iconv/gconv_conf.c (insert_module): Take extra parameter to decide
1090 whether the new record should be freed if it's a duplicate.
1091 (add_module): Adjust insert_module call.
1092 (__gconv_read_conf): Likewise.
1093 * iconvdata/Makefile (generated): Add tst-loading.mtrace and
1095 (tests): Make $(objpfx)mtrace-tst-loading a dependency. Add rule.
1097 * sysdeps/generic/ldsodefs.h: Add declaration for _dl_all_dirs and
1099 * include/link.h (struct r_search_path_struct): New.
1100 (struct link_map): Use it for l_rpath_dirs and l_runpath_dirs.
1101 * elf/Versions [ld] (GLIBC_2.2): Add _dl_all_dirs and
1103 * elf/dl-close.c (_dl_close): Free l_rpath_dirs and l_runpath_dirs.
1104 * elf/dl-libc.c (free_mem): Free _dl_all_dirs list except elements
1105 added at startup time.
1106 * elf/dl-load.c: Fix memory handling. r_search_path_struct
1107 contains element to remember fact that we can free memory.
1108 (all_dirs): Renamed to _dl_all_dirs. Made global.
1109 (_dl_init_all_dirs): New variable.
1110 (fillin_rpath): Save one malloc call.
1111 (decompose_rpath): Change interface. New first parameter points to
1112 r_search_path_struct.
1113 (_dl_init_paths): Adjust for changes. Mark all memory as not
1114 deletable. Set _dl_init_all_paths value.
1115 (open_path): Remove may_free_dirs parameter. r_search_path_elem ***
1116 parameter replaced with r_search_path_struct *. Information about
1117 freeing now contained in r_search_path_struct.
1118 (_dl_map_object): Adjust for above changes.
1120 * elf/dl-open.c (dl_open_worker): Change format of debug info a bit.
1122 * elf/dl-load.c (fillin_rpath): Only check for trusted directories
1123 when adding new entries.
1125 * elf/dl-load.c (fillin_rpath): Make local copy of where string
1126 since the object being loaded can be unloaded.
1128 * iconvdata/Makefile (tests): Add tst-loading.
1129 * iconvdata/tst-loading.c: New file.
1131 2000-08-29 Bruno Haible <haible@clisp.cons.org>
1133 * stdio-common/vfscanf.c (_IO_vfscanf): Back out last ungetc change.
1134 When comparing a char with an int, always cast the char to
1135 'unsigned char'. New macro ungetc_not_eof, to avoid warnings when
1136 compiling with -funsigned-char. Use UCHAR_MAX+1 instead of UCHAR_MAX.
1138 2000-08-30 Ulrich Drepper <drepper@redhat.com>
1140 * time/strftime.c (my_strftime): Add compatibility code for use
1141 outside glibc. Patch by Jim Meyering <meyering@ascend.com>.
1143 * sysdeps/posix/getaddrinfo.c (gaih_local): uname does not everywhere
1144 return 0 for success but always < 0 on failure.
1146 * nss/getXXbyYY_r.c: Define result to *result before including
1149 2000-08-30 Andreas Jaeger <aj@suse.de>
1151 * math/gen-libm-test.pl (parse_ulps): Remove extra \.
1153 2000-08-29 Ulrich Drepper <drepper@redhat.com>
1155 * iconvdata/big5hkscs.c: Rewritten. Regenerate data from the
1157 * iconvdata/TESTS: Add BIG5HKSCS entry.
1158 * iconvdata/testdata/BIG5HKSCS: New file.
1159 * iconvdata/testdata/BIG5HKSCS..UTF8: New file.
1161 * iconvdata/big5.c (BODY for FROM_LOOP): Remove condition which is
1164 * libio/iogetline.c: Set mode before the loop in case n==0.
1165 * libio/iogetwline.c: Likewise.
1167 2000-08-29 H.J. Lu <hjl@gnu.org>
1169 * libio/fileops.c (new_do_write): Check fp->_mode <= 0 instead
1171 (_IO_new_file_overflow): Likewise.
1172 * libio/genops.c (_IO_flush_all): Likewise.
1173 * libio/ioftell.c (_IO_ftell): Likewise.
1175 2000-08-29 Akira Higuchi <a@kondara.org>
1177 * iconv/gconv_db.c (increment_counter): Reset __init_fct, __fct,
1178 and __end_fct fields of struct __gconv_step.
1179 * iconv/Makefile (tests): Add iconv-bug2.
1180 * iconv/iconv-bug2.c: New file.
1182 * iconvdata/euc-kr.c (BODY for FROM_LOOP): Pass 'inend - inptr'
1183 instead of 'inptr - inend' to ksc5601_to_ucs4.
1185 * iconvdata/sjis.c (BODY for FROM_LOOP): Allow 0x7f character.
1187 * iconvdata/iso-2022-cn.c (BODY for FROM_LOOP): If an incomplete
1188 character or shift sequence is found at the end of the input
1189 string, return__GCONV_INCOMPLETE_INPUT instead of
1190 __GCONV_EMPTY_INPUT.
1191 * iconvdata/iso-2022-jp.c (BODY for FROM_LOOP): Likewise.
1192 * iconvdata/iso-2022-kr.c (BODY for FROM_LOOP): Likewise.
1194 * iconvdata/iso-2022-jp.c (BODY for FROM_LOOP): Return
1195 __GCONV_ILLEGAL_INPUT for 8bit characters.
1197 2000-08-29 Ulrich Drepper <drepper@redhat.com>
1199 * signal/signal.h (sigpause): Move __THROW before __asm__.
1201 * inet/rcmd.c (__checkhost_sa): If getnameinfo succeeds but the
1202 names don't match don't return.
1203 Patch by Olaf Kirch <okir@flash.lst.de>.
1205 2000-08-28 Ulrich Drepper <drepper@redhat.com>
1207 * time/strftime.c (my_strftime): Handle # flag for %b as well.
1209 2000-08-27 H.J. Lu <hjl@gnu.org>
1211 * posix/Makefile (otherlibs): Add for building with static-nss
1214 2000-08-28 Ulrich Drepper <drepper@redhat.com>
1216 * libio/stdio.h: Add fmemopen prototype.
1218 2000-08-25 Andreas Jaeger <aj@suse.de>
1220 * libio/Makefile (routines): Add fmemopen.
1221 (tests): Add test-fmemopen.
1222 * libio/Versions: Add fmemopen with version GLIBC_2.2.
1223 * libio/test-fmemopen.c: New file.
1224 * libio/fmemopen.c: New file.
1225 Patches by Hanno Mueller <kontakt@hanno.de>.
1227 2000-08-28 Ulrich Drepper <drepper@redhat.com>
1229 * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h: Prevent double
1230 inclusion. Patch by Jes Sorensen <jes@linuxcare.com>.
1232 * locale/localeinfo.h (LIMAGIC): Change base number to 0x20000828
1233 to avoid crashing statically linked applications.
1235 2000-08-27 Bruno Haible <haible@clisp.cons.org>
1237 * string/strxfrm.c (strxfrm, wcsxfrm): Include <sys/param.h>.
1238 If nrules == 0 and srclen < n, copy only srclen + 1 characters.
1240 * sysdeps/generic/getdomain.c (getdomainname): Include <sys/param.h>.
1241 If the result is fits in the buffer, copy only as many bytes as needed.
1243 * sysdeps/generic/_strerror.c (__strerror_r): Don't zero-fill the
1244 buffer after copying numbuf into it.
1245 * sysdeps/mach/_strerror.c (__strerror_r): Likewise.
1247 2000-08-27 Bruno Haible <haible@clisp.cons.org>
1249 * posix/confstr.c (confstr): When string_len > len, NUL-terminate
1250 the result. When string_len < len, don't clear the rest of the buffer.
1252 2000-08-27 Bruno Haible <haible@clisp.cons.org>
1254 Support for new LC_COLLATE format.
1255 * locale/coll-lookup.h: New file.
1256 * locale/weightwc.h (findidx): When size == 0, call
1257 collidx_table_lookup.
1258 * wcsmbs/wcscoll.c: Include coll-lookup.h.
1259 * wcsmbs/wcsxfrm.c: Likewise.
1260 * posix/fnmatch.c: Likewise.
1261 * posix/fnmatch_loop.c (internal_fnwmatch): When size == 0, call
1262 collseq_table_lookup.
1263 * locale/programs/3level.h: New file.
1264 * locale/programs/ld-ctype.c: (wcwidth_table, wctrans_table): Define
1265 by including "3level.h".
1266 * locale/programs/ld-collate.c (wchead_table, collidx_table,
1267 collseq_table): New types, defined by including "3level.h".
1268 (locale_collate_t): New wcheads_3level, wcseqorder_3level fields.
1269 (encoding_mask, encoding_byte): Remove.
1270 (utf8_encode): Use simple shifts instead.
1271 (collate_finish): When !oldstyle_tables, set plane_size and plane_cnt
1272 to 0, and initialize and fill wcheads_3level and wcseqorder_3level.
1273 (collate_output): New local variable tablewc_3level. When
1274 !oldstyle_tables, set table_size to 0 and names to NULL and fill
1275 tablewc_3level instead of tablewc. Change format of TABLEWC and
1276 COLLSEQWC entries written to the file.
1277 * locale/C-collate.c (collseqwc): Change format.
1278 (_nl_C_LC_COLLATE): Set HASH_SIZE and HASH_LAYERS to 0, change format
1280 * locale/Makefile (distribute): Add coll-lookup.h, programs/3level.h.
1282 2000-08-27 Bruno Haible <haible@clisp.cons.org>
1284 * locale/programs/ld-ctype.c (MAX_CHARNAMES_IDX): New macro.
1285 (locale_ctype_t): New charnames_idx field.
1286 (ctype_startup): Initialize charnames_idx field.
1287 (find_idx): Speed up dramatically by using charnames_idx inverse table.
1289 2000-08-27 Bruno Haible <haible@clisp.cons.org>
1291 * locale/C-ctype.c: Switch to new locale format.
1292 (_nl_C_LC_CTYPE_names): Remove array.
1293 (STRUCT_CTYPE_CLASS): New macro.
1294 (_nl_C_LC_CTYPE_class_{upper,lower,alpha,digit,xdigit,space,print,
1295 graph,blank,cntrl,punct,alnum}, _nl_C_LC_CTYPE_map_{toupper,tolower}):
1296 New three-level tables.
1297 (_nl_C_LC_CTYPE_width): Change from array to three-level table.
1298 (_nl_C_LC_CTYPE): Fix nstrings value. Set HASH_SIZE and HASH_LAYERS
1299 to 0. Change WIDTH format. Set CLASS_OFFSET and MAP_OFFSET. Add
1300 12 class tables and 2 map tables at the end.
1301 * ctype/ctype-info.c (_nl_C_LC_CTYPE_names): Remove declaration.
1302 (_nl_C_LC_CTYPE_class_{upper,lower,alpha,digit,xdigit,space,print,
1303 graph,blank,cntrl,punct,alnum}, _nl_C_LC_CTYPE_map_{toupper,tolower}):
1305 (b): Remove trailing semicolon.
1306 (__ctype_names, __ctype_width): Don't initialize.
1307 (__ctype32_wctype, __ctype32_wctrans, __ctype32_width): Initialize.
1309 2000-08-27 Bruno Haible <haible@clisp.cons.org>
1311 * elf/dl-load.c (open_path): Add a argument telling whether *dirsp
1312 is guaranteed to be allocated with the same malloc() and may be
1314 (_dl_map_object): Update open_path calls. If rtld_search_dirs has
1315 been set to empty by an earlier open_path call, don't pass it again.
1317 2000-08-28 Ulrich Drepper <drepper@redhat.com>
1319 * include/libintl.h: Include <locale.h> since libintl.h doesn't if
1320 we are not optimizing.
1322 * sysdeps/unix/sysv/linux/powerpc/sysdep.h: Protect against double
1325 * stdio-common/vfscanf.c (ungetc): Cast c to signed char first to
1327 Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
1329 2000-08-28 Andreas Jaeger <aj@suse.de>
1331 * sysdeps/i386/fpu/libm-test-ulps: Tweaks for AMD Athlon.
1333 2000-08-28 Mark Kettenis <kettenis@gnu.org>
1335 * sysdeps/mach/hurd/getpeername.c (__getpeername): Renamed from
1336 getpeername. Use ISO C style function definition.
1337 (getpeername): Provide weak alias.
1338 * sysdeps/mach/hurd/setrlimit.c (__setrlimit): Renamed from
1339 setrlimit. Use ISO C style function definition.
1340 (setrlimit): Provide weak alias.
1342 2000-08-28 Martin Schwidefsky <schwidefsky@de.ibm.com>
1344 * shlib-versions: Add a rule for S/390 to the libm version list.
1345 * sysdeps/s390/Versions: New file.
1346 * sysdeps/unix/sysv/linux/s390/Dist: Add oldgetrlimit64.c.
1347 * sysdeps/unix/sysv/linux/s390/Makefile: Add oldgetrlimit64.
1348 * sysdeps/unix/sysv/linux/s390/Versions: New file.
1349 * sysdeps/unix/sysv/linux/s390/alphasort64.c: New file.
1350 * sysdeps/unix/sysv/linux/s390/chown.c: New file.
1351 * sysdeps/unix/sysv/linux/s390/fxstat.c: New file.
1352 * sysdeps/unix/sysv/linux/s390/getdents64.c: New file.
1353 * sysdeps/unix/sysv/linux/s390/getrlimit.c: New file.
1354 * sysdeps/unix/sysv/linux/s390/getrlimit64.c: New file.
1355 * sysdeps/unix/sysv/linux/s390/lxstat.c: New file.
1356 * sysdeps/unix/sysv/linux/s390/oldgetrlimit64.c: New file.
1357 * sysdeps/unix/sysv/linux/s390/readdir64.c: New file.
1358 * sysdeps/unix/sysv/linux/s390/readdir64_r.c: New file.
1359 * sysdeps/unix/sysv/linux/s390/scandir64.c: New file.
1360 * sysdeps/unix/sysv/linux/s390/setrlimit.c: New file.
1361 * sysdeps/unix/sysv/linux/s390/syscalls.list: New file.
1362 * sysdeps/unix/sysv/linux/s390/versionsort64.c: New file.
1363 * sysdeps/unix/sysv/linux/s390/xstat.c: New file.
1365 2000-08-28 Ulrich Drepper <drepper@redhat.com>
1367 * sysdeps/unix/sysv/linux/powerpc/Makefile [$(subdir)==csu]
1368 (CFLAGS-initfini.s): Add -DWEAK_GMON_START.
1370 * elf/Versions [ld] (GLIBC_2.2): Export _dl_debug_files.
1371 * elf/dl-close.c (_dl_close): Print debug message if object is not
1373 * elf/dl-open.c (dl_open_worked): Print message about opencount before
1374 returning to caller.
1376 * po/zh.po: Renamed to...
1377 * po/zh_TW.po: ...this.
1379 2000-08-27 Geoff Keating <geoffk@cygnus.com>
1381 * sysdeps/powerpc/fpu/feenablxcpt.c: Correct bogus checkin.
1383 * sysdeps/powerpc/fpu/fedisblxcpt.c: New file.
1384 * sysdeps/powerpc/fpu/feenablxcpt.c: New file.
1385 * sysdeps/powerpc/fpu/fegetexcept.c: New file.
1386 * sysdeps/unix/sysv/linux/powerpc/fe_nomask.c: New file.
1388 2000-08-27 Ulrich Drepper <drepper@redhat.com>
1390 * locale/programs/ld-collate.c (insert_weights): Also update
1391 backpointer of next element.
1392 (collate_read): Allow definition of new collation symbols in stage 2.
1393 Symbol after reorder-after can be UCS4 value.
1394 Allow reordering of collation symbols and elements.
1395 Do not only move reorder entry in new position. Instead call
1396 insert_weight to do this and read the weights.
1398 * locale/findlocale.c (free_mem): Add cast to avoid warning.
1400 * intl/dcigettext.c (DCIGETTEXT): Remove _nl_find_language in code
1401 to determine invalid locale name.
1402 * locale/findlocale.c (_nl_find_locale): Likewise.
1404 * posix/annexc.c: Correct test for unavailable feature.
1406 * sysdeps/unix/sysv/linux/i386/sys/io.h (outw): Fix __INLINE ->
1409 2000-08-26 Ulrich Drepper <drepper@redhat.com>
1411 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add getdents64
1414 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir)==resource]
1415 (sysdep_routines): Add oldgetrlimit64.
1417 * elf/Makefile (distribute): Add unloadmod.c, reldepmod1.c,
1418 reldepmod2.c, reldepmod3.c, and reldepmod4.c.
1419 (tests): Add unload, reldep, reldep2, and reldep3.
1420 (modules-names): Add unloadmod, reldepmod1, reldepmod2, reldepmod3,
1422 Add rules to build and run unload, reldep, reldep2, and reldep3.
1423 * elf/dl-lookup.c (_dl_lookup_symbol): Add new parameter explicit.
1424 Don't create relocation dependency if it is nonzero.
1425 (_dl_lookup_symbol_skip): Remove relocation dependency stuff. This
1426 can never happen here.
1427 (_dl_lookup_versioned_symbol): Add new parameter explicit.
1428 Don't create relocation dependency if it is nonzero.
1429 (_dl_lookup_versioned_symbol_skip): Remove relocation dependency
1430 stuff. This can never happen here.
1431 * sysdeps/generic/ldsodefs.h: Change prototypes.
1432 * elf/dl-reloc.c (RESOLVE_MAP): Pass 0 in explicit parameter to
1433 _dl_lookup_up and _dl_lookup_versioned_symbol.
1435 * elf/dl-runtime.c (fixup): Likewise.
1436 (profile_fixup): Likewise.
1437 * elf/dl-libc.c (do_dlsym): Pass 1 in explicit parameter to
1439 * elf/dl-symbol.c (_dl_symbol_value): Likewise.
1440 * elf/rtld.c (dl_main): Likewise.
1441 * elf/dl-sym.c (_dl_sym): Pass 1 in explicit parameter to
1442 _dl_lookup_symbol if handle is not RTLD_DEFAULT. Always compute
1443 and pass down the caller map.
1444 (_dl_vsym): Likewise.
1445 * elf/reldep.c: New file.
1446 * elf/reldep2.c: New file.
1447 * elf/reldep3.c: New file.
1448 * elf/reldepmod1.c: New file.
1449 * elf/reldepmod2.c: New file.
1450 * elf/reldepmod3.c: New file.
1451 * elf/reldepmod4.c: New file.
1452 * elf/unload.c: New file.
1453 * elf/unloadmod.c: New file.
1455 * elf/do-lookup.h: Remove unused undef_name parameter.
1456 * elf/dl-lookup.c: Adjust callers.
1458 2000-08-25 Ulrich Drepper <drepper@redhat.com>
1460 * iconv/gconv_trans.c (__gconv_transliterate): Pass NULL instead of
1461 irreversible in recursive call of conversion function to signal that
1462 no error handling is wanted.
1463 * iconv/loop.c (ignore_errors_p): irreversible must be != NULL, too.
1464 (STANDARD_ERR_HANDLER): Don't do anything if irreversible == NULL.
1465 * iconv/skeleton.c (lirreversiblep): New variable. Set to NULL is
1466 recursive error handling call, otherwise to &lirreversible. Use it
1467 for calls to conversion functions.
1468 * iconv/gconv_simple.c (ucs4_internal_loop): Don't handle errors when
1470 (ucs4_internal_loop_unaligned): Likewise.
1471 (ucs4le_internal_loop): Likewise.
1472 (ucs4le_internal_loop_unaligned): Likewise.
1474 2000-08-25 Greg McGary <greg@mcgary.org>
1476 * sysdeps/i386/memchr.S: Check high bound against chars
1478 * sysdeps/i386/memcmp.S: Likewise.
1479 * sysdeps/i386/stpncpy.S: Adjust high-bound check to
1480 account for pointers that lie one beyond end-of-buffer.
1482 2000-08-25 Ulrich Drepper <drepper@redhat.com>
1484 * elf/Makefile (LDFLAGS-nodelete): Add -rdynamic.
1485 * elf/nodelete.c (fini_ran): New global variable.
1486 (do_test): Before every dlclose call clear fini_ran and test
1487 afterwards that it is not set by the destructors.
1488 * elf/nodelmod1.c: Add destructor which sets fini_ran.
1489 * elf/nodelmod2.c: Likewise.
1490 * elf/nodelmod4.c: Likewise.
1492 2000-08-21 Jes Sorensen <jes@linuxcare.com>
1494 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add getrlimit and
1495 getrlimit to the list.
1497 2000-08-18 Jes Sorensen <jes@linuxcare.com>
1499 * sysdeps/ia64/Implies: gcc now has support for the Intel 80 bit
1500 long double format so use ldbl-96 instead of ldbl-128.
1502 2000-08-25 Ulrich Drepper <drepper@redhat.com>
1504 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap): Return -EINVAL
1505 even if bits 10 a 11 are non-zero.
1506 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64): Likewise.
1508 * Makeconfig: Ensures the soversions.mk part of Makefile gets
1509 included before building gnu/lib-names.h
1510 Patch by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
1512 * elf/dl-close.c (_dl_close): Don't run destructors of objects
1513 marked DF_1_NODELETE.
1515 * sysdeps/posix/system.c (__libc_system): We cannot use vfork here
1516 since we call sigaction in the child.
1518 2000-08-25 Andreas Jaeger <aj@suse.de>
1520 * iconvdata/Makefile ($(objpfx)bug-iconv1.out): Depend on
1523 2000-08-25 Andreas Jaeger <aj@suse.de>
1525 * manual/arith.texi (Control Functions): Clarify possible
1526 arguments. Closes PR libc/1856.
1528 2000-08-24 H.J. Lu <hjl@gnu.org>
1530 * stdio-common/Makefile (tests): Don't do it for cross compiling.
1531 * malloc/Makefile (tests): Likewise.
1533 2000-08-24 Ulrich Drepper <drepper@redhat.com>
1535 * iconvdata/unicode.c (gconv_init): Correct test for direction.
1537 2000-08-24 Andreas Jaeger <aj@suse.de>
1539 * malloc/Makefile (extra-objs): Fix last patch, build memusagestat
1540 only if LIBGD is available.
1542 2000-08-24 Ulrich Drepper <drepper@redhat.com>
1544 * resolv/res_send.c (res_ourserver_p): Cleanup the type mess to avoid
1545 problems with now restrict parameter types.
1546 (convaddr4to6): Likewise.
1548 2000-08-24 Denis Joseph Barrow <djbarrow@de.ibm.com>
1550 * sysdeps/s390/fpu/fedisblxcpt.c: New file.
1551 * sysdeps/s390/fpu/feenablxcpt.c: New file.
1552 * sysdeps/s390/fpu/fegetexcept.c: New file.
1553 * sysdeps/s390/fpu/fenv_libc.h: Some reordering, new definition
1556 2000-08-24 Andreas Jaeger <aj@suse.de>
1558 * malloc/Makefile (extra-objs): Add memusagestat.o.
1559 (generated): Added memusage and memusagestat for make clean.
1561 * libio/tst_putwc.c (do_test): Delete temporary file.
1562 Move inclusion of test-skeleton to front to have prototype for
1565 * posix/Makefile (generated): Add wordexp-tst.out.
1567 2000-08-24 Ulrich Drepper <drepper@redhat.com>
1569 * resolv/res_hconf.c (free_mem): Remove not needed if.
1571 * time/tzset.c (free_mem): New function.
1572 * string/strsignal.c (free_mem): New function.
1573 * inet/inet_ntoa.c (free_mem): New function.
1574 * sunrpc/clnt_perr.c (free_mem): New function.
1576 2000-08-24 Andreas Jaeger <aj@suse.de>
1578 * sysdeps/unix/syscalls.list: Use __setrlimit as strong name.
1579 * sysdeps/unix/sysv/syscalls.list: Likewise.
1581 * posix/unistd.h: Move internal prototypes from here ...
1582 * include/unistd.h: ... to here.
1584 * sysvipc/sys/shm.h: Add const attribute to __getpagesize.
1586 2000-08-24 Ulrich Drepper <drepper@redhat.com>
1588 * grp/initgroups.c (initgroups): Deallocate groups array.
1589 Reported by jani.raiha@sonera.com [PR libc/1868].
1591 * sysdeps/s390/Dist: Add fpu/fenv_libc.h.
1592 * sysdeps/alpha/Dist: Likewise.
1594 2000-08-23 Ulrich Drepper <drepper@redhat.com>
1596 * crypt/md5-crypt.c (free_mem): Fix typo (constructor ->
1597 destructor). Reported by Solar Designer <solar@false.com>.
1599 * iconv/gconv_conf.c (add_module): Remove some unneeded code to
1600 avoid adding double slashes.
1602 2000-08-23 Jakub Jelinek <jakub@redhat.com>
1604 * dirent/dirent.h (alphasort, versionsort): Move __attribute_pure__
1605 out of the __REDIRECT macro.
1607 2000-08-23 Ulrich Drepper <drepper@redhat.com>
1609 * stdio-common/vfscanf.c: Add %F format support.
1611 * locale/programs/ld-ctype.c (ctype_output): Make sure
1612 _NL_CTYPE_TRANSLIT_DEFAULT_MISSING_LEN and
1613 _NL_CTYPE_TRANSLIT_IGNORE_LEN are aligned.
1614 (ctype_read): Enable returning of wide character strings for reading
1615 transliteration information.
1617 2000-08-23 Andreas Jaeger <aj@suse.de>
1619 * sysdeps/unix/sysv/linux/i386/sys/io.h (_EXTERN_INLINE): Remove.
1620 Use static __inline instead of _EXTERN_INLINE.
1622 * misc/sys/select.h: Move prototypes of __select from here ...
1623 * include/sys/select.h: ... to here.
1625 * socket/sys/socket.h: Move prototypes of __send and __connect
1627 * include/sys/socket.h: ... to here.
1629 * locale/programs/ld-ctype.c (ctype_read): Fix parameter for
1632 2000-08-23 Jakub Jelinek <jakub@redhat.com>
1634 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Use
1635 __setrlimit as strong name. Takes only 2 arguments.
1637 * sysdeps/unix/sysv/linux/sh/syscalls.list: __syscall_setrlimit
1638 takes only 2 arguments.
1640 2000-08-23 Martin Schwidefsky <schwidefsky@de.ibm.com>
1642 * sysdeps/s390/__longjmp.c: Add __ to JB_GPR*.
1644 * sysdeps/s390/bits/setjmp.h: Add __ to JB_GPR* defines.
1646 2000-08-23 Ulrich Drepper <drepper@redhat.com>
1648 * locale/programs/ld-ctype.c (ctype_read): Allow more than one
1649 default_missing character being specified, pick the first
1652 2000-08-23 Andreas Jaeger <aj@suse.de>
1654 * include/wchar.h: Add some pure attributes.
1656 * time/time.h: Add const attribute for dysize.
1658 * include/stdlib.h: Add malloc attribute to __posix memalign.
1660 * stdlib/stdlib.h: Add some pure and malloc attributes.
1661 * wcsmbs/wchar.h: Likewise.
1663 * dirent/dirent.h: Add some pure attributes.
1664 * include/dirent.h: Likewise.
1666 2000-08-23 Jakub Jelinek <jakub@redhat.com>
1668 * inet/netinet/in.h (struct in6_addr): Don't enforce 64bit alignment
1671 2000-08-22 Ulrich Drepper <drepper@redhat.com>
1673 * iconvdata/iso-2022-jp.c: In conversion to ISO-2022-JP, add two
1674 missing buffer size checks.
1676 2000-08-23 Andreas Jaeger <aj@suse.de>
1678 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Use __setrlimit as
1680 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
1682 * sysdeps/unix/sysv/linux/dl-osinfo.h: Include "kernel-features.h",
1683 otherwise __LINUX_KERNEL_VERSION might not be defined.
1684 (MIN): Define if not already defined.
1686 2000-08-22 Ulrich Drepper <drepper@redhat.com>
1688 * stdio-common/vfprintf.c: Handle %F format.
1689 * stdio-common/printf-parse.h (parse_one_spec): Likewise.
1690 Reported by Joseph S. Myers <jsm28@cam.ac.uk>.
1692 * stdio-common/tstdiomisc.c: Add test for %F printf format.
1694 * po/zh.po: New file.
1696 * iconvdata/sjis.c: In conversion from UCS4, correct test for
1697 enough room in target buffer.
1698 Patch by KUSANO Takayuki <AE5T-KSN@asahi-net.or.jp> [PR libc/1865].
1699 * iconvdata/bug-iconv1.c: New file.
1700 * iconvdata/Makefile (tests): Add bug-iconv1.
1702 * locale/iso-4217.def: Update entry for Nicaragua.
1704 2000-08-22 Mark Kettenis <kettenis@gnu.org>
1706 * hurd/hurdsig.c: Rearrange headers a bit.
1707 (_hurdsig_init): Block until _hurd_msgport_thread is initialized
1708 when cthreads is being used.
1710 2000-08-22 Ulrich Drepper <drepper@redhat.com>
1712 * elf/Makefile (distribute): Add dl-osinfo.h.
1713 * sysdeps/generic/dl-osinfo.h: New file.
1714 * sysdeps/unix/sysv/linux/dl-osinfo.h: New file.
1715 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Use DL_SYSDEP_OSCHECK
1717 * sysdeps/unix/sysv/linux/init-first.c: Perform kernel version test
1718 only for !SHARED case. Get the code from dl-osinfo.h.
1720 * stdlib/random_r.c: Cleanups.
1721 * stdlib/tst-random.c: New file.
1722 * stdlib/Makefile (tests): Add tst-random.
1723 Patches by Michael Fischer <fischer-michael@cs.yale.edu>.
1725 2000-08-21 Martin Schwidefsky <schwidefsky@de.ibm.com>
1727 * sysdeps/unix/sysv/linux/s390/getmsg.c: Remove.
1728 * sysdeps/unix/sysv/linux/s390/getpmsg.c: Remove.
1729 * sysdeps/unix/sysv/linux/s390/putmsg.c: Remove.
1730 * sysdeps/unix/sysv/linux/s390/putpmsg.c: Remove.
1732 2000-08-22 Jakub Jelinek <jakub@redhat.com>
1734 * sysdeps/unix/sysv/linux/alpha/syscalls.list (sysctl): Remove.
1735 * sysdeps/unix/sysv/linux/ia64/syscalls.list (sysctl): Remove.
1736 (__syscall__sysctl): Add.
1738 2000-08-21 Andreas Jaeger <aj@suse.de>
1740 * stdlib/tst-strtol.c: Add test for 0xFFFFFFFFFFFF00FF (from PR
1742 * stdlib/tst-strtoll.c: Likewise.
1744 2000-08-21 Ulrich Drepper <drepper@redhat.com>
1746 * stdlib/random_r.c (__setstate_r): Also compute end_ptr
1748 (__initstate_r): Set errno on error.
1749 (__random_r): Likewise.
1750 (__setstate_r): Correct offset when computing
1751 new rptr and fptr. Test for arg_state being NULL.
1752 Reported by Michael Fischer <fischer@cs.yale.edu>.
1754 * posix/regex.h: Add macro definitions to allow compiling outside
1757 * sysdeps/i370/Implies: Removed.
1758 * sysdeps/mvs/Implies: Removed.
1760 * catgets/catgets.c (catopen): Filter out env_var values with / if
1763 * locale/findlocale.c (_nl_find_locale): Move test for unusable
1764 locale name after all getenvs.
1766 * configure.in: Allow sed versions like 3.02.8.
1767 Patch by Rodrigo Barbosa <rodrigob@conectiva.com.br>.
1769 2000-08-21 Marko Myllynen <myllynen@lut.fi>
1771 * inet/netinet/icmp6.h: Add Mobile IPv6 extensions structures.
1773 2000-08-21 Ulrich Drepper <drepper@redhat.com>
1775 * sysdeps/posix/getaddrinfo.c (gethosts): Handle TRY_AGAIN error
1776 of gethostbyname2_r call.
1778 * intl/locale.alias: Add aliases for Korean.
1780 2000-08-21 Martin Schwidefsky <schwidefsky@de.ibm.com>
1782 * sysdeps/s390/__longjmp.c: Remove unused variable result.
1783 * sysdeps/s390/fpu/bits/fenv.h: Move FPC_* definitions to fenv_libc.h.
1784 * sysdeps/s390/fpu/fclrexcpt.c: Include fenv_libc.h instead of fenv.h.
1785 * sysdeps/s390/fpu/fegetenv.c: New file.
1786 * sysdeps/s390/fpu/fegetround.c: Include fenv_libc.h instead of fenv.h.
1787 * sysdeps/s390/fpu/feholdexcpt.c: New file.
1788 * sysdeps/s390/fpu/fenv_libc.h: New file.
1789 * sysdeps/s390/fpu/fesetenv.c: New file.
1790 * sysdeps/s390/fpu/fesetround.c: Include fenv_libc.h instead of fenv.h.
1791 * sysdeps/s390/fpu/feupdateenv.c: New file.
1792 * sysdeps/s390/fpu/fgetexcptflg.c: Reformatted.
1793 * sysdeps/s390/fpu/fpu_control.h: Corrected header.
1794 * sysdeps/s390/fpu/fraiseexcpt.c: New file.
1795 * sysdeps/s390/fpu/fsetexcptflg.c: New file.
1796 * sysdeps/s390/fpu/ftestexcept.c: New file.
1797 * sysdeps/s390/fpu/libm-test-ulps: New file.
1798 * sysdeps/s390/gmp-mparam.h: Add end of comment.
1799 * sysdeps/s390/initfini.c: New file.
1800 * sysdeps/unix/sysv/linux/s390/Dist: Add sys/procfs.h.
1801 * sysdeps/unix/sysv/linux/s390/Makefile: Remove sys/reg.h.
1802 * sysdeps/unix/sysv/linux/s390/bits/stat.h: New file.
1803 * sysdeps/unix/sysv/linux/s390/lchown.c: New file.
1804 * sysdeps/unix/sysv/linux/s390/sys/elf.h: Move elf definitions to
1805 sys/procfs.h as proposed by Mark Kettenis.
1806 * sysdeps/unix/sysv/linux/s390/sys/procfs.h: New file.
1808 2000-08-21 Andreas Jaeger <aj@suse.de>
1810 * include/poll.h: Include include/sys/poll.h to get __poll
1813 * io/sys/poll.h: Move __poll declaration from here...
1814 * include/sys/poll.h: ...to here.
1816 * include/sys/socket.h (__getpeername): Add declaration.
1818 * include/wchar.h (__vswprintf): Add declaration.
1820 * include/stdio.h (__flockfile): Add declaration.
1821 (__funlockfile): Likewise.
1823 2000-08-20 Ulrich Drepper <drepper@redhat.com>
1825 * misc/sys/cdefs.h: Define __restrict_arr.
1826 * include/sys/time.h: Add restrict where required by AGd4.
1827 * inet/arpa/inet.h: Likewise.
1828 * io/sys/stat.h: Likewise.
1829 * io/sys/statvfs.h: Likewise.
1830 * misc/search.h: Likewise.
1831 * misc/sys/select.h: Likewise.
1832 * posix/glob.h: Likewise.
1833 * posix/regex.h: Likewise.
1834 * posix/spawn.h: Likewise.
1835 * posix/unistd.h: Likewise.
1836 * rt/aio.h: Likewise.
1837 * signal/signal.h: Likewise.
1838 * socket/sys/socket.h: Likewise.
1839 * stdlib/ucontext.h: Likewise.
1840 * streams/stropts.h: Likewise.
1841 * string/string.h: Likewise.
1842 * time/time.h: Likewise.
1843 * time/sys/time.h: Likewise.
1845 * posix/spawn.h: Add declarations for posix_spawnattr_getscheparam
1846 and posix_spawnattr_setscheparam.
1848 * libio/stdio.h: Make cuserid prototype again available for all
1851 * argp/argp-help.c: Unify use of function aliases to make more compact
1853 * include/libintl.h: Likewise.
1854 * inet/rcmd.c: Likewise.
1855 * intl/dcigettext.c: Likewise.
1856 * libio/iofputws.c: Likewise.
1857 * libio/iofputws_u.c: Likewise.
1858 * libio/iogetwline.c: Likewise.
1859 * libio/swprintf.c: Likewise.
1860 * malloc/malloc.c: Likewise.
1861 * nss/digits_dots.c: Likewise.
1862 * posix/fnmatch.c: Likewise.
1863 * posix/spawn_faction_addclose.c: Likewise.
1864 * posix/spawn_faction_adddup2.c: Likewise.
1865 * posix/spawn_faction_addopen.c: Likewise.
1866 * posix/spawni.c: Likewise.
1867 * posix/wordexp.c: Likewise.
1868 * posix/spawni.c: Likewise.
1869 * resolv/res_hconf.c: Likewise.
1870 * resolv/res_init.c: Likewise.
1871 * shadow/lckpwdf.c: Likewise.
1872 * signal/sighold.c: Likewise.
1873 * signal/sigrelse.c: Likewise.
1874 * stdio-common/printf-parse.h: Likewise.
1875 * stdio-common/printf-prs.c: Likewise.
1876 * stdio-common/printf_fp.c: Likewise.
1877 * stdio-common/vfprintf.c: Likewise.
1878 * stdio-common/vfscanf.c: Likewise.
1879 * stdlib/rpmatch.c: Likewise.
1880 * sunrpc/create_xid.c: Likewise.
1881 * sunrpc/key_call.c: Likewise.
1882 * sysdeps/generic/setrlimit64.c: Likewise.
1883 * sysdeps/generic/utmp_file.c: Likewise.
1884 * sysdeps/generic/vlimit.c: Likewise.
1885 * sysdeps/posix/posix_fallocate.c: Likewise.
1886 * sysdeps/posix/posix_fallocate64.c: Likewise.
1887 * sysdeps/posix/sigpause.c: Likewise.
1888 * sysdeps/posix/sigset.c: Likewise.
1889 * sysdeps/unix/grantpt.c: Likewise.
1890 * sysdeps/unix/bsd/ualarm.c: Likewise.
1891 * sysdeps/unix/sysv/linux/dl-origin.c: Likewise.
1892 * sysdeps/unix/sysv/linux/getloadavg.c: Likewise.
1893 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
1894 * sysdeps/unix/sysv/linux/ulimit.c: Likewise.
1895 * time/strftime.c: Likewise.
1896 * wcsmbs/wcscoll.c: Likewise.
1897 * wcsmbs/wcsxfrm.c: Likewise.
1899 * time/tst-getdate.c (main): Make error messages more human readable.
1901 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Allow gcc to generate
1902 postinc/predec instruction.
1903 (_FPU_SETCW): Likewise.
1904 Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
1906 2000-08-20 Andreas Jaeger <aj@suse.de>
1908 * time/tst-getdate.c (main): Increase error in case of wrong
1910 Fix typo in test case.
1912 2000-08-20 Ulrich Drepper <drepper@redhat.com>
1914 * ctype/ctype.h (isblank): Make available if ISO C99.
1915 * wctype/wctype.h (iswblank): Make available if ISO C99.
1916 * math/math.h (signgam): Don't make available if ISO C99.
1917 * math/tgmath.h (tgamma): Renamed from gamma.
1918 Patches by Joseph S. Myers <jsm28@cam.ac.uk>.
1920 * intl/loadmsgcat.c (_nl_unload_domain): Also free conv_tab element.
1922 * intl/plural.y (new_exp): Take number of optional parameters in
1923 second parameter. Test for correct number of parameters and free
1924 correctly in case of failure. Adjust all callers.
1925 (yylex): Allow ';' as terminator character.
1927 2000-08-19 Ulrich Drepper <drepper@redhat.com>
1929 * locale/lc-time.c (free_mem): New function. Free alt_digits and
1932 * locale/findlocale.c (free_mem): Also free here->filename.
1934 * locale/loadlocale.c (_nl_unload_locale): Also free locale->name.
1936 * math/test-fenv.c (feenv_tests): Clear all exceptions before
1938 (feexcp_nomask_test): Correct printf args.
1939 (feexcp_mask_test): Likewise.
1941 2000-08-19 Andreas Jaeger <aj@suse.de>
1943 * inet/tst-gethnm.c: Include string.h to provide prototype for
1946 * malloc/mtrace.pl (usage): Inform about --help.
1948 2000-08-19 Wolfram Gloger <wg@malloc.de>
1950 * malloc/malloc.c (new_heap): Try harder to get an aligned chunk of
1953 2000-08-19 Andreas Jaeger <aj@suse.de>
1955 * shlib-versions: Remove libnss_db, libdb and libdb1.
1957 2000-08-19 Jakub Jelinek <jakub@redhat.com>
1959 * sysdeps/unix/sysv/linux/alpha/readdir.c: Move...
1960 * sysdeps/unix/sysv/linux/ia64/readdir.c: ...here and
1961 * sysdeps/unix/sysv/linux/sparc/sparc64/readdir.c: ...here.
1962 * sysdeps/unix/sysv/linux/alpha/readdir_r.c: Move...
1963 * sysdeps/unix/sysv/linux/ia64/readdir_r.c: ...here and
1964 * sysdeps/unix/sysv/linux/sparc/sparc64/readdir_r.c: ...here.
1965 * sysdeps/unix/sysv/linux/alpha/readdir64.c: Remove.
1966 * sysdeps/unix/sysv/linux/alpha/readdir64_r.c: Remove.
1967 * sysdeps/unix/sysv/linux/alpha/getdents64.c: Remove.
1968 * sysdeps/unix/sysv/linux/alpha/getdents.c: Only use for non-LFS
1970 * sysdeps/unix/sysv/linux/readdir64.c: Remove versioning.
1971 * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
1973 2000-08-18 Jakub Jelinek <jakub@redhat.com>
1975 * include/glob.h (__glob64): Add prototype.
1976 * sysdeps/generic/glob.c: If GLOB_ONLY_P is defined, only
1977 define glob and glob_in_dir.
1978 * sysdeps/unix/sysv/linux/i386/Versions: Add glob64@@GLIBC_2.2.
1979 * sysdeps/unix/sysv/linux/arm/Versions: Likewise.
1980 * sysdeps/unix/sysv/linux/powerpc/Versions: Likewise.
1981 * sysdeps/unix/sysv/linux/sparc/sparc32/Versions: Likewise.
1982 * sysdeps/unix/sysv/linux/i386/glob64.c: New file.
1983 * sysdeps/unix/sysv/linux/arm/glob64.c: New file.
1984 * sysdeps/unix/sysv/linux/powerpc/glob64.c: New file.
1985 * sysdeps/unix/sysv/linux/sparc/sparc32/glob64.c: New file.
1987 2000-08-18 Jakub Jelinek <jakub@redhat.com>
1989 * malloc/Makefile (memusage): libmemusage.so is installed in slibdir.
1991 2000-08-17 Andreas Jaeger <aj@suse.de>
1993 * math/test-fenv.c (fe_single_test): New function.
1994 (fe_env_tests): Use fe_single_test.
1995 (feenable_test): New tests for feenable/fedisable and
1997 (feexcp_mask_test): New function.
1998 (feexcp_nomask_test): New function.
2000 2000-08-19 Richard Henderson <rth@cygnus.com>
2002 * sysdeps/alpha/fpu/fenv_libc.h: New file.
2003 * sysdeps/alpha/fpu/fclrexcpt.c: Use it.
2004 * sysdeps/alpha/fpu/fegetenv.c: Likewise.
2005 * sysdeps/alpha/fpu/fesetround.c: Likewise.
2006 * sysdeps/alpha/fpu/fegetround.c: Likewise.
2007 * sysdeps/alpha/fpu/fgetexcptflg.c: Likewise.
2008 * sysdeps/alpha/fpu/fraiseexcpt.c: Likewise.
2009 * sysdeps/alpha/fpu/ftestexcept.c: Likewise.
2010 * sysdeps/alpha/fpu/fedisblxcpt.c: Likewise. Use the smaller mask.
2011 * sysdeps/alpha/fpu/feenablxcpt.c: Likewise.
2012 * sysdeps/alpha/fpu/fegetexcept.c: Likewise.
2013 * sysdeps/alpha/fpu/feholdexcpt.c: Retain the SWCR_MAP bits.
2014 * sysdeps/alpha/fpu/fesetenv.c: Likewise.
2015 * sysdeps/alpha/fpu/feupdateenv.c: Likewise.
2016 * sysdeps/alpha/fpu/fsetexcptflg.c: Likewise.
2017 * sysdeps/alpha/fpu/bits/fenv.h (FE_DENORMAL): New.
2018 (FE_MAP_DMZ, FE_MAP_UMZ, FE_NONIEEE_ENV): New.
2020 2000-08-19 Andreas Jaeger <aj@suse.de>
2022 * elf/constload1.c: Include <stdio.h> for puts prototype.
2024 2000-08-19 Ulrich Drepper <drepper@redhat.com>
2026 * elf/Versions [ld] (GLIBC_2.2): Export _dl_check_map_versions.
2027 * elf/dl-deps.c (_dl_map_object_deps): If object was dependency of
2028 a dynamically loaded object remove old l_initfini list.
2029 * elf/dl-libc.c (free_mem): Used as __libc_subfreeres callback to
2030 remove some dynamically allocated memory blocks in the dynamic
2031 loading data structures.
2032 * elf/dl-load.c (add_name_to_object): Initialize dont_free to 0.
2033 * elf/dl-open.c (dl_open_workder): Don't call _dl_check_all_versions.
2034 Instead call _dl_check_map_versions only for the dependencies.
2035 * elf/rtld.c: Avoid unneccessary initializations. Mark l_libname
2036 information of initial objects as not free-able.
2037 * sysdeps/generic/ldsodefs.h (struct libname_list): Add dont_free
2040 * elf/filter.c: Call mtrace.
2041 * elf/restest1.c: Likewise. Close the objects.
2042 * elf/loadtest.c: Call mtrace. Check result of dlclose. Print more
2045 * elf/constload1.c: Add comment explaining not freed memory.
2047 2000-08-18 Andreas Jaeger <aj@suse.de>
2049 * sysdeps/unix/sysv/linux/mips/bits/stat.h: Add pads to show
2050 alignment for structs stat and stat64.
2051 Patch by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
2053 2000-08-17 Ulrich Drepper <drepper@redhat.com>
2055 * sysdeps/unix/sysv/linux/alpha/getdents.c: Remove special d_ino
2056 handling. Patch by Richard Henderson <rth@twiddle.net>.
2058 * nss/Versions: Remove libnss_db information.
2060 2000-08-16 Jakub Jelinek <jakub@redhat.com>
2062 * sysdeps/sparc/fpu/fedisblxcpt.c: New file.
2063 * sysdeps/sparc/fpu/feenablxcpt.c: New file.
2064 * sysdeps/sparc/fpu/fegetexcept.c: New file.
2065 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: New file.
2067 * sysdeps/sparc/sparc64/dl-machine.h: Subtract 4 .rela.plt entries
2070 2000-08-17 Ulrich Drepper <drepper@redhat.com>
2072 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Use type-correct code.
2073 (_FPU_SETCW): Likewise.
2074 Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
2076 * stdio-common/printf_fp.c: Fix chars_needed computation.
2077 Patch by Greg McGary <greg@mcgary.org>.
2079 2000-08-17 Jakub Jelinek <jakub@redhat.com>
2081 * elf/dl-load.c (_dl_map_object): Don't crash if both loader and
2082 _dl_loaded are NULL.
2084 2000-08-17 Jakub Jelinek <jakub@redhat.com>
2086 * manual/arith.texi (feholdexcept): Returns 0 on success.
2088 2000-08-17 Andreas Jaeger <aj@suse.de>
2090 * sysdeps/gnu/net/if.h (struct ifreq): Add ifru_newname.
2092 Reported by Andi Kleen <ak@suse.de>.
2094 2000-08-17 Jakub Jelinek <jakub@redhat.com>
2096 * sysdeps/alpha/fpu/fedisblxcpt.c: New file.
2097 * sysdeps/alpha/fpu/feenablxcpt.c: New file.
2098 * sysdeps/alpha/fpu/fegetexcept.c: New file.
2100 2000-08-16 Jakub Jelinek <jakub@redhat.com>
2102 * sysdeps/unix/sysv/linux/xstatconv.c (xstat32_conv): Test sizes
2103 of buf->st_ino and kbuf->st_ino, not __st_ino.
2104 If _HAVE_STAT64___ST_INO is not defined, don't use __st_ino at all.
2105 * sysdeps/unix/sysv/linux/getdents64.c: Change path in #include
2106 directive so that only linux/getdents.c is used, not some
2107 architecture specific one.
2109 2000-08-16 Jakub Jelinek <jakub@redhat.com>
2111 * sysdeps/i386/fpu/fegetexcept.c (fegetexcept): Return currently
2112 enabled, not disabled exceptions.
2113 * sysdeps/i386/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
2114 * sysdeps/i386/fpu/feenablxcpt.c (feenableexcept): Likewise.
2116 2000-08-17 Greg McGary <greg@mcgary.org>
2118 * Makeconfig (link-extra-libs-bounded): Strip `-bp' suffix
2119 from test program name when constructing suffix for $(LDLIBS-*).
2120 (bounded-thread-library): New variable.
2122 [build-shared, build-static] (libcrypt-dep): Remove variable.
2123 ($(addprefix $(objpfx),$(tests))): Consolidate individual dependencies.
2124 [build-bounded] ($(tests:%=$(objpfx)%-bp)): Add dependencies.
2125 * linuxthreads/Makefile (libpthread, librt): Remove variables.
2126 (librt-tests): Add variable. (tests): Use it.
2127 [build-shared, build-static]
2128 ($(addprefix $(objpfx),$(tests)),
2129 $(addprefix $(objpfx),$(librt-tests))):
2130 Consolidate individual dependencies.
2132 ($(tests:%=$(objpfx)%-bp), $(librt-tests:%=$(objpfx)%-bp)):
2134 * math/Makefile (LDLIBS-*): Remove variables (they are redundant).
2135 [build-bounded] ($(tests:%=$(objpfx)%-bp)): Add dependencies.
2137 [build-bounded] ($(objpfx)tst-tsearch-bp): Add dependencies.
2139 [build-shared, build-static]
2140 ($(addprefix $(objpfx),$(tests))): Consolidate individual dependencies.
2141 [build-bounded] ($(tests:%=$(objpfx)%-bp)): Add dependencies.
2143 2000-08-17 Greg McGary <greg@mcgary.org>
2145 * sysdeps/generic/bp-checks.h: s/\(CHECK\w+\)opt/\1_NULL_OK/
2146 * sysdeps/unix/make-syscalls.sh: Likewise.
2147 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
2148 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
2149 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
2150 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c: Likewise.
2151 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Likewise.
2153 2000-08-17 Greg McGary <greg@mcgary.org>
2155 * sysdeps/i386/fpu/s_frexp.S: Check bounds.
2156 Wrap extern symbols in BP_SYM ().
2157 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
2158 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
2159 * sysdeps/i386/fpu/s_remquo.S: Likewise.
2160 * sysdeps/i386/fpu/s_remquof.S: Likewise.
2161 * sysdeps/i386/fpu/s_remquol.S: Likewise.
2162 * sysdeps/i386/fpu/s_sincos.S: Likewise.
2163 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
2164 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
2165 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
2166 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
2168 2000-08-16 Andreas Schwab <schwab@suse.de>
2170 * sysdeps/m68k/fpu/fegetexcept.c: New file.
2171 * sysdeps/m68k/fpu/fedisblxcpt.c: New file.
2172 * sysdeps/m68k/fpu/feenablxcpt.c: New file.
2174 2000-08-15 Ulrich Drepper <drepper@redhat.com>
2176 * sysdeps/generic/ldsodefs.h: Declare _nl_nloaded.
2177 * elf/Versions [ld] (GLIBC_2.2): Add _nl_nloaded.
2178 * elf/dl-support.c: Define _nl_nloaded.
2179 * elf/rtld.c: Likewise. Increment _nl_nloaded for rtld itself.
2180 * elf/dl-object.c (_dl_new_object): Increment _nl_nloaded after adding
2181 object to global list.
2182 * elf/dl-close.c (_dl_close): Decrement _nl_nloaded after removing
2183 from _dl_loaded list.
2184 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
2185 * elf/dl-fini.c (_dl_fini): Use _nl_nloaded instead of computing the
2188 * sysdeps/i386/fpu/fedisblxcpt.c (fedisableexcept): Mask, not
2190 * sysdeps/i386/fpu/feenablxcpt.c (feenableexcept): Unmask, not mask,
2192 Reported by Harvey J. Stein <hjstein@bfr.co.il>.
2194 2000-08-16 Andreas Jaeger <aj@suse.de>
2196 * elf/elf.h (EM_X8664): Add official x86-64 specific value.
2198 2000-08-15 Marko Myllynen <myllynen@lut.fi>
2200 * inet/netinet/icmp6.h: Added Mobile IPv6 definitions.
2202 2000-08-15 Ulrich Drepper <drepper@redhat.com>
2204 * sysdeps/unix/sysv/linux/powerpc/Dist: Add oldgetrlimit64.c.
2205 * sysdeps/unix/sysv/linux/powerpc/Makefile [$(subdir)=resource]
2206 (sysdep_routines): Add oldgetrlimit64.
2207 * sysdeps/unix/sysv/linux/powerpc/oldgetrlimit64.c: New file.
2208 Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
2210 * include/link.h: Undo last patches. Hurd now has stat64.
2211 * elf/Makefile: Likewise.
2212 * elf/dl-load.c: Likewise.
2213 * elf/dl-misc.c: Likewise.
2214 * elf/dl-profile.c: Likewise.
2215 * sysdeps/generic/sysd-link.h: Removed.
2216 * sysdeps/unix/sysv/linux/sysd-link.h: Removed.
2218 * rt/aio_notify.c (notify_func_wrapper): Wrapper function to call
2219 thread event callback function.
2220 (__aio_notify_only): Use function above.
2221 Patch by Kaz Kylheku <kaz@ashi.footprints.net>.
2223 2000-08-16 Mark Kettenis <kettenis@gnu.org>
2225 * sysdeps/mach/hurd/lseek64.c: New file.
2227 2000-08-15 Mark Kettenis <kettenis@gnu.org>
2229 * sysdeps/mach/hurd/i386/bits/time.h (__clockid_t, __timer_t):
2231 * sysdeps/mach/hurd/bits/time.h (__clockid_t, __timer_t): Remove
2233 * sysdeps/generic/bits/time.h (__clockid_t, __timer_t): Remove
2235 * sysdeps/generic/bits/types.h (__clockid_t, __timer_t): New typedefs.
2237 2000-08-15 Mark Kettenis <kettenis@gnu.org>
2239 * sysdeps/mach/hurd/xstatconv.c: New file.
2240 * sysdeps/mach/hurd/fxstat64.c: New file.
2241 * sysdeps/mach/hurd/lxstat64.c: New file.
2242 * sysdeps/mach/hurd/xstat64.c: New file.
2243 * sysdeps/mach/hurd/Dist: Add xstatconv.c.
2245 2000-08-15 Mark Kettenis <kettenis@gnu.org>
2247 * sysdeps/mach/hurd/dl-sysdep.c (__libc_multiple_libcs):
2248 Initialize, needed for change in common symbol handling in newer
2249 binutils. Mirrors 2000-01-03 change made by Andreas Schwab.
2251 2000-08-15 Ulrich Drepper <drepper@redhat.com>
2253 * elf/constload1.c: Call mtrace. Check return value of dlclose call.
2254 * elf/constload2.c: Add destructor to unload constload3.
2256 * include/link.h: Include sysd-link.h.
2257 * sysdeps/generic/sysd-link.h: New file.
2258 * sysdeps/unix/sysv/linux/sysd-link.h: New file.
2259 * elf/Makefile (distribute): Add sysd-link.h.
2260 * elf/dl-load.c: Use definitions from sysd-link.h instead of stat
2261 types and functions directly.
2262 * elf/dl-misc.c: Likewise.
2263 * elf/dl-profile.c: Likewise.
2265 * elf/loadfail.c (main): Close all successfully loaded objects.
2267 * elf/multiload.c: Add mtrace call. Call dlclose for all handles and
2269 * elf/dl-deps.c (_dl_map_object_deps): Don't allocate needed list if
2270 there is already one.
2272 * elf/dl-close.c: Pretty print.
2274 2000-08-14 Ulrich Drepper <drepper@redhat.com>
2276 * sysdeps/posix/ttyname.c: Make name variable from getttyname function
2277 global (with file scope). Add __libc_subfreeres function to free the
2279 * sysdeps/unix/sysv/linux/ttyname.c: Likewise. Also for buf variable
2280 in ttyname function.
2282 * sysdeps/generic/strtok.c: Remove initializer for olds variable.
2284 * crypt/md5-crypt.c: Let destructor deallocate static buffer.
2286 * iconvdata/sjis.c (from_ucs4_lat1): Handle U005C and U007E by
2287 mapping them to /x5c and /x7e respectively.
2289 * locale/programs/ld-ctype.c: Add support for more definitions after
2292 2000-08-14 Jakub Jelinek <jakub@redhat.com>
2294 * dirent/Versions (getdirentries64): Export at GLIBC_2.2.
2295 * sysdeps/unix/sysv/linux/kernel-features.h
2296 (__ASSUME_GETDENTS64_SYSCALL): Define.
2297 * sysdeps/unix/sysv/linux/getdents.c (__getdents): Use getdents64
2298 syscall if available to get d_type fields.
2299 * sysdeps/unix/sysv/linux/alpha/getdents.c (DIRENT_TYPE): Define.
2300 * sysdeps/unix/sysv/linux/arm/Versions (__xstat64, __fxstat64,
2301 __lxstat64): Export at GLIBC_2.2.
2302 (alphasort64, readdir64, readdir64_r, scandir64, versionsort64):
2304 * sysdeps/unix/sysv/linux/i386/Versions (getdirentries64): Remove.
2305 * sysdeps/unix/sysv/linux/i386/getdents64.c (kernel_dirent64): Define.
2306 * sysdeps/unix/sysv/linux/powerpc/Versions (alphasort64,
2307 getdirentries64, versionsort64): Remove.
2308 * sysdeps/unix/sysv/linux/sparc/sparc32/Versions (alphasort64,
2309 getdirentries64, versionsort64): Remove.
2311 2000-08-13 Ulrich Drepper <drepper@redhat.com>
2313 * posix/Makefile: Remove rules to generate glob package.
2315 * posix/Makefile (tests): Add tst-regexloc.
2316 (tst-regexloc-ENV): Add LOCPATH.
2317 * posix/tst-regexloc.c: New file.
2319 2000-08-12 Andreas Jaeger <aj@suse.de>
2321 * include/features.h (__STDC_ISO_10646__): Define.
2322 Reported by Markus Kuhn <Markus.Kuhn@cl.cam.ac.uk>.
2324 2000-08-13 Ulrich Drepper <drepper@redhat.com>
2326 * include/features.h (__USE_ISOC99): Define for _XOPEN_SOURCE >= 600.
2328 * locale/langinfo.h: Define YESSTR and NOSTR also for XPG4 (but not
2329 for revision 6 and up).
2331 * posix/sys/types.h: Define __need_timer_t and __need_clockid_t before
2333 * time/time.h: Allow __need_timer_t and __need_clockid_t to be defined
2334 to get definitions of just these types.
2336 * signal/signal.h: Define thread signal handling functions also for
2339 * sysdeps/unix/sysv/linux/bits/types.h: Define thread types also for
2341 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
2342 * sysdeps/unix/sysv/linux/ia64/bits/types.h: Likewise.
2343 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
2344 * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
2346 * sysvipc/sys/shm.h: Define pid_t for XPG.
2348 * posix/unistd.h: Remove setkey, rename, and cuserid prototypes as
2349 they are not anymore required here.
2351 * wcsmbs/wchar.h: Make the various wide char string and stream
2352 functions available for the respective XPG versions.
2354 * nss/Makefile: Remove rules to build and distribute nss_db.
2356 * sysdeps/generic/alphasort64.c: Remove unnecessary versioning.
2357 * sysdeps/generic/scandir64.c: Likewise.
2358 * sysdeps/generic/versionsort64.c: Likewise.
2360 2000-08-13 Ulrich Drepper <drepper@redhat.com>
2361 Benjamin Koznik <bkoz@redhat.com>
2363 * libio/fileops.c: Merge with libstdc++-v3.
2364 * libio/genops.c: Likewise.
2365 * libio/iofclose.c: Likewise.
2366 * libio/iofopen.c: Likewise.
2367 * libio/iofwide.c: Likewise.
2368 * libio/libio.h: Likewise.
2369 * libio/libioP.h: Likewise.
2370 * libio/stdfiles.c: Likewise.
2371 * libio/stdio.c: Likewise.
2372 * libio/wfileops.c: Likewise.
2373 * libio/wgenops.c: Likewise.
2375 * libio/Versions: Export functions needed by libstdc++-v3 in GLIBC_2.2.
2377 2000-08-12 Ulrich Drepper <drepper@redhat.com>
2379 * locale/programs/localedef.c: Implement --prefix option to allow
2380 writing in standard places of alternative install directories.
2382 * posix/regex.c (compile_range): Implement collation sequence
2383 handling for glibc. Use simple character ordering otherwise and
2386 2000-08-12 Mark Kettenis <kettenis@gnu.org>
2388 * sysdeps/generic/scandir64.c: Include <dirent.h>.
2390 2000-08-12 Andreas Jaeger <aj@suse.de>
2392 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Handle
2393 __USE_FILE_OFFSET64 correctly for locking.
2394 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
2396 2000-08-12 Jakub Jelinek <jakub@redhat.com>
2398 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
2399 Define for 2.4.1 on sparc as well.
2400 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Fill in correct values
2401 for F_GETLK64, F_SETLK64, and F_SETLKW64.
2402 * sysdeps/unix/sysv/linux/sparc/sparc32/fcntl.c: New file.
2403 * sysdeps/unix/sysv/linux/sparc/sparc32/lockf64.c: New file.
2405 2000-08-12 Ulrich Drepper <drepper@redhat.com>
2407 * io/fts.c (fts_stat): Recognize DT_WHT only if S_IFWHT is also
2410 2000-08-12 Andreas Jaeger <aj@suse.de>
2412 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h (F_GETLK64,
2413 F_SETLK64, F_SETLKW64): Define with F_GETLK etc.
2415 * sysdeps/unix/sysv/linux/mips/sys/tas.h (_test_and_set): Add .set
2416 mips2 for assembler.
2418 * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Try fcntl
2419 if fnctl64 is not available for F_*LK*64.
2421 * sysdeps/unix/sysv/linux/i386/lockf64.c: New file.
2423 2000-08-12 Ulrich Drepper <drepper@redhat.com>
2425 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
2426 Define for 2.4.1 on x86.
2427 * sysdeps/unix/sysv/linux/i386/fcntl.c: New file.
2428 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Fill in correct values
2429 for F_GETLK64, F_SETLK64, and F_SETLKW64.
2431 * dirent/dirent.h: Define DT_WHT.
2433 * sysdeps/unix/sysv/linux/arm/alphasort64.c: New file.
2434 * sysdeps/unix/sysv/linux/arm/getdents64.c: New file.
2435 * sysdeps/unix/sysv/linux/arm/readdir64.c: New file.
2436 * sysdeps/unix/sysv/linux/arm/readdir64_r.c: New file.
2437 * sysdeps/unix/sysv/linux/arm/scandir64.c: New file.
2438 * sysdeps/unix/sysv/linux/arm/versionsort64.c: New file.
2440 2000-08-11 Ulrich Drepper <drepper@redhat.com>
2442 * nss/digits_dots.c: Don't pass NULL in h_aliases for successful
2443 lookup, pass pointer to array with NULL pointer [PR libc/1858].
2444 * inet/Makefile (tests): Add tst-gethnm.
2445 * inet/tst-gethnm.c: New file.
2447 * rt/aio_cancel.c: If canceling a specific request which is running
2448 *really* do nothing.
2449 * rt/aio_misc.h: Add `done' to states of a request.
2450 * rt/aio_misc.c: Add several tests for the correct state.
2451 Simplify request table memory handling.
2453 2000-08-10 Jakub Jelinek <jakub@redhat.com>
2455 * dirent/scandir.c: Use it for scandir64 and old_scandir64 as well.
2456 * dirent/scandir64.c: Move...
2457 * sysdeps/generic/scandir64.c: ...here.
2458 * dirent/alphasort64.c: Move...
2459 * sysdeps/generic/alphasort64.c: ...here.
2460 * dirent/versionsort64.c: Move...
2461 * sysdeps/generic/versionsort64.c: ...here.
2462 * sysdeps/unix/sysv/linux/i386/dirent/Versions (alphasort64,
2463 getdirentries64, readdir64, readdir64_r, scandir64, versionsort64):
2464 Export symbols at GLIBC_2.2.
2465 * sysdeps/unix/sysv/linux/powerpc/dirent/Versions: Likewise.
2466 * sysdeps/unix/sysv/linux/sparc/sparc32/dirent/Versions: Likewise.
2467 * include/dirent.h (__readdir64_r, __scandir64, __alphasort64,
2468 __versionsort64): Add prototypes.
2469 * io/Versions (__xstat64, __fxstat64, __lxstat64): Export at GLIBC_2.2.
2470 * sysdeps/unix/sysv/linux/alpha/kernel_stat.h (__xstat_conv): Remove
2472 * sysdeps/unix/sysv/linux/alpha/readdir.c: Export at both GLIBC_2.1
2474 * sysdeps/unix/sysv/linux/alpha/readdir_r.c: Likewise.
2475 * sysdeps/unix/sysv/linux/alpha/getdents.c: New.
2476 * sysdeps/unix/sysv/linux/alpha/getdents64.c: New.
2477 * sysdeps/unix/sysv/linux/bits/types.h (__ino64_t): Change to
2479 * sysdeps/unix/sysv/linux/bits/stat.h (struct stat, struct stat64):
2480 Adjust for kernel-2.4.0-test6 layout.
2481 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat64): Export at both
2482 GLIBC_2.1 and GLIBC_2.2.
2483 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat64): Likewise.
2484 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat64): Likewise.
2485 * sysdeps/unix/sysv/linux/i386/getdents64.c: New.
2486 * sysdeps/unix/sysv/linux/i386/olddirent.h: New.
2487 * sysdeps/unix/sysv/linux/i386/readdir64.c: New.
2488 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: New.
2489 * sysdeps/unix/sysv/linux/i386/scandir64.c: New.
2490 * sysdeps/unix/sysv/linux/i386/alphasort64.c: New.
2491 * sysdeps/unix/sysv/linux/i386/versionsort64.c: New.
2492 * sysdeps/unix/sysv/linux/ia64/getdents.c: New.
2493 * sysdeps/unix/sysv/linux/ia64/getdents64.c: New.
2494 * sysdeps/unix/sysv/linux/ia64/readdir.c: Include alpha/readdir.c.
2495 * sysdeps/unix/sysv/linux/ia64/readdir_r.c: Include alpha/readdir_r.c.
2496 * sysdeps/unix/sysv/linux/mips/bits/types.h (__ino64_t): Change to
2498 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: New.
2499 * sysdeps/unix/sysv/linux/powerpc/kernel_stat.h (_HAVE_STAT*): Define.
2500 * sysdeps/unix/sysv/linux/powerpc/scandir64.c: New.
2501 * sysdeps/unix/sysv/linux/powerpc/getdents64.c: New.
2502 * sysdeps/unix/sysv/linux/powerpc/readdir64.c: New.
2503 * sysdeps/unix/sysv/linux/powerpc/readdir64_r.c: New.
2504 * sysdeps/unix/sysv/linux/sparc/bits/types.h (__ino64_t): Change to
2506 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: New.
2507 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h (_HAVE_STAT*):
2509 * sysdeps/unix/sysv/linux/sparc/sparc32/getdents64.c: New.
2510 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64.c: New.
2511 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64_r.c: New.
2512 * sysdeps/unix/sysv/linux/sparc/sparc32/scandir64.c: New.
2513 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h (_HAVE_STAT*):
2515 * sysdeps/unix/sysv/linux/sparc/sparc64/readdir.c: Include
2517 * sysdeps/unix/sysv/linux/sparc/sparc64/readdir_r.c: Include
2519 * sysdeps/unix/sysv/linux/sparc/sparc64/getdents.c: New.
2520 * sysdeps/unix/sysv/linux/sparc/sparc64/getdents64.c: New.
2521 * sysdeps/unix/sysv/linux/fxstat64.c (__fxstat64): If
2522 _HAVE_STAT64___ST_INO and __st_ino != (uint32_t)st_ino, set
2523 st_ino from __st_ino.
2524 * sysdeps/unix/sysv/linux/lxstat64.c (__lxstat64): Likewise.
2525 * sysdeps/unix/sysv/linux/xstat64.c (__xstat64): Likewise.
2526 * sysdeps/unix/sysv/linux/xstatconv.c (xstat_conv, xstat64_conv,
2527 xstat32_conv): Use _HAVE_STAT* macros. If _HAVE_STAT64___ST_INO,
2528 set __st_ino in addition to st_ino.
2529 * sysdeps/unix/sysv/linux/kernel_stat.h (_HAVE_STAT*): Define.
2530 * sysdeps/unix/sysv/linux/getdents.c: Use it for __getdents64 and
2531 __old_getdents64 as well.
2532 * sysdeps/unix/sysv/linux/getdirentries.c: Use it for
2533 getdirentries64 and old_getdirentries64 as well.
2534 * sysdeps/unix/sysv/linux/getdirentries64.c (GETDIRENTRIES,
2535 __GETDENTS): Define.
2536 (GETDENTS64): Remove.
2537 * sysdeps/unix/sysv/linux/getdents64.c (__GETDENTS, DIRENT_TYPE):
2539 (GETDENTS64): Remove.
2540 * sysdeps/unix/sysv/linux/readdir64.c: Use sysdeps/unix/readdir.c.
2541 * sysdeps/unix/sysv/linux/readdir64_r.c: Use sysdeps/unix/readdir_r.c.
2542 * sysdeps/unix/readdir.c: Use it for readdir64 and __old_readdir64
2544 * sysdeps/unix/readdir_r.c: Use it for readdir64_r and
2545 __old_readdir64_r as well.
2546 * sysdeps/unix/sysv/linux/kernel-features.h: Define
2547 __ASSUME_ST_INO_64_bit for kernel 2.4.1 and up.
2549 2000-08-08 Jes Sorensen <jes@linuxcare.com>
2551 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Add SI_KERNEL define.
2552 Add missing ILL_BADIADDR to enum and make ILL_BREAK match the
2553 define of the kernel.
2554 Add missing __SEG_PSTKOVF definition.
2555 Adjust the padding of struct siginfo and struct sigevent to
2556 match the fact that sigval_t is 64 bit.
2558 2000-08-10 Ulrich Drepper <drepper@redhat.com>
2560 * timezone/zic.c: Update from tzcode2000f.
2561 * timezone/australasia: Update from tzdata2000f.
2562 * timezone/europe: Likewise.
2563 * timezone/southamerica: Likewise.
2564 * timezone/yearistype: Likewise.
2566 2000-08-10 Andreas Jaeger <aj@suse.de>
2568 * sysdeps/unix/sysv/linux/mips/bits/stat.h: Synch struct stat64 and
2569 stat with current MIPS kernel.
2571 2000-08-01 Mark Kettenis <kettenis@gnu.org>
2573 * sysdeps/unix/sysv/linux/i386/sys/elf.h (elf_greg_t, ELF_NGREG,
2574 elf_gregset_t, elf_fpregset_t, elf_fpxregset_t): Moved to
2575 sysdeps/unix/sysv/linux/i386/sys/procfs.h.
2576 Remove the junk that's only relevant in the Linux kernel itself.
2577 Add a warning saying that this file is now obsolete, and include
2579 * sysdeps/unix/sysv/linux/i386/sys/procfs.h (elf_greg_t,
2580 ELF_NGREG, elf_gregset_t, elf_fpregset_t, elf_fpxregset_t): Moved
2581 here from sysdeps/unix/sysv/linux/i386/sys/elf.h. Don't include
2582 <signal.h>, <sys/ucontext.h> and <sys/elf.h>. Remove parts of
2583 `struct elf_prstatus' that are #ifdef'ed out. Improve comments
2584 and add the notice that the file is primarily there for GDB.
2585 * sysdeps/unix/sysv/linux/i386/sys/user.h: Fix comment.
2587 2000-08-09 Jakub Jelinek <jakub@redhat.com>
2589 * time/tzfile.c (__tzfile_compute): __tzstring zones
2592 2000-08-09 Jakub Jelinek <jakub@redhat.com>
2594 * resolv/resolv.h (__res_state): Surround prototype with
2595 __BEGIN_DECLS/__END_DECLS.
2596 * sysdeps/unix/sysv/linux/m68k/chown.c: Include kernel-features.h.
2598 2000-08-04 Jes Sorensen <jes@linuxcare.com>
2600 * sysdeps/unix/sysv/linux/ia64/bits/resource.h (__rlimit_resource):
2601 Make independant of asm/resource.h from the Linux kernel.
2603 2000-08-06 Bruno Haible <haible@clisp.cons.org>
2605 * iconv/gconv_conf.c (__gconv_read_conf): Don't call realpath.
2607 2000-08-06 Bruno Haible <haible@clisp.cons.org>
2609 * intl/Makefile (CPPFLAGS): Remove $(i18ndir) from LOCALE_ALIAS_PATH.
2610 * locale/Makefile (locale-CPPFLAGS): Likewise.
2612 2000-08-09 Ulrich Drepper <drepper@redhat.com>
2614 * sysdeps/i386/fpu/libm-test-ulps: Increase several error values
2617 2000-08-03 Jakub Jelinek <jakub@redhat.com>
2619 * misc/Versions (mincore): Export at GLIBC_2.2.
2621 2000-08-03 Bruno Haible <haible@clisp.cons.org>
2623 * intl/libintl.h (gettext, dgettext, dcgettext): Add back __THROW.
2625 2000-08-02 Mark Kettenis <kettenis@gnu.org>
2627 * sysdeps/mach/hurd/socketpair.c (__socketpair): Renamed from
2628 socketpair. Made socketpair a weak alias.
2629 * sysdeps/mach/hurd/pipe.c (__pipe): Reimplemented using
2630 __socketpair. Use S_IFIFO protocol to make pipes POSIX
2631 conforming, but fall back on the old protocol if the socket server
2633 * include/sys/socket.h: Add prototype for __socketpair.
2635 2000-08-09 Andreas Schwab <schwab@suse.de>
2637 * stdio-common/vfprintf.c (vfprintf): Also set `is_long' if the
2638 long long modifier is seen.
2640 * elf/nodelete.c (do_test): Remove reference to undefined member
2642 * rt/tst-aio4.c (do_test): Likewise.
2644 * configure.in: Add `-lm' when checking for libgd.
2645 * malloc/Makefile ($(objpfx)memusagestat): Add `-lm' during
2648 2000-08-09 Andreas Jaeger <aj@suse.de>
2650 * configure.in: Change required make versions.
2652 * manual/install.texi (Tools for Compilation): Document required
2654 (Supported Configurations): Update list of supported
2657 2000-08-08 Ulrich Drepper <drepper@redhat.com>
2659 * locale/linereader.c (get_string): Don't print an error is a string
2660 contains an unknown character.
2662 2000-08-06 Ulrich Drepper <drepper@redhat.com>
2664 * locale/programs/ld-collate.c (struct symbol_t): Add name element.
2665 (new_symbol): Take new parameters with name of the symbol.
2667 (handle_ellipsis): Don't only allow character symbols.
2668 (collate_read): Allow string of collating elements contain invalid
2669 characters; ignore entry in this case.
2670 Handle ellipsis of collating symbols before first order_start.
2671 Allow ellipsis in state 0.
2673 2000-08-04 Ulrich Drepper <drepper@redhat.com>
2675 * locale/programs/ld-collate.c (handle_ellipsis): Fix typo in
2677 Reported by Tung-Han Hsieh <thhsieh@twcpro.phys.ntu.edu.tw>.
2679 2000-08-04 Greg McGary <greg@mcgary.org>
2681 * posix/regex.c (SET_HIGH_BOUND): New macro.
2682 (MOVE_BUFFER_POINTER): Use it.
2683 (ELSE_EXTEND_BUFFER_HIGH_BOUND): New macro.
2684 (EXTEND_BUFFER): Use it.
2686 2000-08-03 Ulrich Drepper <drepper@redhat.com>
2688 * libio/iofwide.c (_IO_fwide): Initialize fp->_codecvt as well.
2689 * libio/fileops.c (_IO_new_file_fopen): Use _codecvt not from
2690 _wide_data but from _IO_FILE directly.
2691 * libio/iofclose.c: Likewise.
2692 * libio/wfileops.c: Likewise.
2694 * libio/genops.c (_IO_default_showmanyc): Change return type to size_t.
2695 * libio/libioP.h: Change prototypes.
2697 2000-08-03 Greg McGary <greg@mcgary.org>
2699 * sysdeps/i386/setjmp.S (__sigsetjmp): Pop our
2700 frame pointer early so that we save caller's frame pointer.
2701 * sysdeps/i386/elf/setjmp.S: Likewise.
2703 * sysdeps/unix/sysv/syscalls.list (time, utime): Correct signatures.
2704 * io/test-utime.c: Test passing NULL as utimbuf* arg.
2706 * posix/regex.c (EXTEND_BUFFER_HIGH_BOUND): Remove macro.
2707 (MOVE_BUFFER_POINTER): Handle high_bound properly.
2708 (EXTEND_BUFFER): Don't call EXTEND_BUFFER_HIGH_BOUND.
2710 2000-08-03 Ulrich Drepper <drepper@redhat.com>
2712 * iconvdata/big5.c: Updated.
2713 Patch by Tung-Han Hsieh <thhsieh@twcpro.phys.ntu.edu.tw>.
2715 2000-08-02 Ulrich Drepper <drepper@redhat.com>
2717 * Makeconfig (all-subdirs): Add conform.
2718 * conform/Makefile: Include ../Rules.
2720 * Makefile (README): Add rules to generate here as well.
2722 2000-08-02 Ulrich Drepper <drepper@redhat.com>
2724 * version.h (VERSION): Bump to 2.1.92.
2726 * sysdeps/ia64/Dist: Add _mcount.S.
2728 * sysdeps/unix/sysv/linux/ia64/Dist: Add clone.S.
2730 * sysdeps/unix/sysv/linux/mips/Dist: Add _test_and_set.c.
2732 * elf/Makefile (distribute): Add missing modules.
2734 * sysdeps/unix/sysv/linux/s390/Dist: Remove nonexisting files.
2736 * posix/regex.c (compile_range): Translate range start and end
2737 characters to avoid empty range in case of REG_ICASE [PR libc/1842].
2739 * sysdeps/unix/sysv/linux/ia64/bits/resource.h: Don't include
2742 * sysdeps/unix/sysv/linux/arm/Makefile: Undo last change.
2744 2000-08-02 Andreas Jaeger <aj@suse.de>
2746 * elf/elf.h (EM_S390): Added.
2747 (R_390_*): New relocs for S390.
2749 * sysdeps/unix/sysv/linux/s390/Dist: New file.
2750 * sysdeps/unix/sysv/linux/s390/sysdep.h: New file.
2751 * sysdeps/unix/sysv/linux/s390/sysdep.S: New file.
2752 * sysdeps/unix/sysv/linux/s390/syscall.S: New file.
2753 * sysdeps/unix/sysv/linux/s390/sys/user.h: New file.
2754 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
2755 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: New file.
2756 * sysdeps/unix/sysv/linux/s390/sys/elf.h: New file.
2757 * sysdeps/unix/sysv/linux/s390/socket.S: New file.
2758 * sysdeps/unix/sysv/linux/s390/sigcontextinfo.h: New file.
2759 * sysdeps/unix/sysv/linux/s390/shmctl.c: New file.
2760 * sysdeps/unix/sysv/linux/s390/setreuid.c: New file.
2761 * sysdeps/unix/sysv/linux/s390/setresuid.c: New file.
2762 * sysdeps/unix/sysv/linux/s390/setresgid.c: New file.
2763 * sysdeps/unix/sysv/linux/s390/setregid.c: New file.
2764 * sysdeps/unix/sysv/linux/s390/setgroups.c: New file.
2765 * sysdeps/unix/sysv/linux/s390/setgid.c: New file.
2766 * sysdeps/unix/sysv/linux/s390/setfsuid.c: New file.
2767 * sysdeps/unix/sysv/linux/s390/setfsgid.c: New file.
2768 * sysdeps/unix/sysv/linux/s390/seteuid.c: New file.
2769 * sysdeps/unix/sysv/linux/s390/setegid.c: New file.
2770 * sysdeps/unix/sysv/linux/s390/semctl.c: New file.
2771 * sysdeps/unix/sysv/linux/s390/register-dump.h: New file.
2772 * sysdeps/unix/sysv/linux/s390/putpmsg.c: New file.
2773 * sysdeps/unix/sysv/linux/s390/putmsg.c: New file.
2774 * sysdeps/unix/sysv/linux/s390/profil-counter.h: New file.
2775 * sysdeps/unix/sysv/linux/s390/msgctl.c: New file.
2776 * sysdeps/unix/sysv/linux/s390/mmap.S: New file.
2777 * sysdeps/unix/sysv/linux/s390/getuid.c: New file.
2778 * sysdeps/unix/sysv/linux/s390/getresuid.c: New file.
2779 * sysdeps/unix/sysv/linux/s390/getresgid.c: New file.
2780 * sysdeps/unix/sysv/linux/s390/getpmsg.c: New file.
2781 * sysdeps/unix/sysv/linux/s390/getmsg.c: New file.
2782 * sysdeps/unix/sysv/linux/s390/getgroups.c: New file.
2783 * sysdeps/unix/sysv/linux/s390/getegid.c: New file.
2784 * sysdeps/unix/sysv/linux/s390/geteuid.c: New file.
2785 * sysdeps/unix/sysv/linux/s390/fchown.c: New file.
2786 * sysdeps/unix/sysv/linux/s390/clone.S: New file.
2787 * sysdeps/unix/sysv/linux/s390/brk.c: New file.
2788 * sysdeps/unix/sysv/linux/s390/bits/time.h: New file.
2789 * sysdeps/unix/sysv/linux/s390/bits/resource.h: New file.
2790 * sysdeps/unix/sysv/linux/s390/bits/mman.h: New file.
2791 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: New file.
2792 * sysdeps/unix/sysv/linux/s390/Makefile: New file.
2793 * sysdeps/s390/sysdep.h: New file.
2794 * sysdeps/s390/sys/ucontext.h: New file.
2795 * sysdeps/s390/sub_n.S: New file.
2796 * sysdeps/s390/strncpy.S: New file.
2797 * sysdeps/s390/strcpy.S: New file.
2798 * sysdeps/s390/stackinfo.h: New file.
2799 * sysdeps/s390/setjmp.S: New file.
2800 * sysdeps/s390/s390-mcount.S: New file.
2801 * sysdeps/s390/mul_1.S: New file.
2802 * sysdeps/s390/memusage.h: New file.
2803 * sysdeps/s390/memset.S: New file.
2804 * sysdeps/s390/memcpy.S: New file.
2805 * sysdeps/s390/memchr.S: New file.
2806 * sysdeps/s390/machine-gmon.h: New file.
2807 * sysdeps/s390/ldbl2mpn.c: New file.
2808 * sysdeps/s390/gmp-mparam.h: New file.
2809 * sysdeps/s390/fpu/fpu_control.h: New file.
2810 * sysdeps/s390/fpu/fesetround.c: New file.
2811 * sysdeps/s390/fpu/fegetround.c: New file.
2812 * sysdeps/s390/fpu/fclrexcpt.c: New file.
2813 * sysdeps/s390/fpu/bits/fenv.h: New file.
2814 * sysdeps/s390/ffs.c: New file.
2815 * sysdeps/s390/elf/start.S: New file.
2816 * sysdeps/s390/elf/setjmp.S: New file.
2817 * sysdeps/s390/elf/bsd-setjmp.S: New file.
2818 * sysdeps/s390/elf/bsd-_setjmp.S: New file.
2819 * sysdeps/s390/dl-machine.h: New file.
2820 * sysdeps/s390/bzero.S: New file.
2821 * sysdeps/s390/bsd-setjmp.S: New file.
2822 * sysdeps/s390/bsd-_setjmp.S: New file.
2823 * sysdeps/s390/bits/string.h: New file.
2824 * sysdeps/s390/bits/setjmp.h: New file.
2825 * sysdeps/s390/bits/huge_val.h: New file.
2826 * sysdeps/s390/bits/endian.h: New file.
2827 * sysdeps/s390/bits/byteswap.h: New file.
2828 * sysdeps/s390/bcopy.S: New file.
2829 * sysdeps/s390/backtrace.c: New file.
2830 * sysdeps/s390/atomicity.h: New file.
2831 * sysdeps/s390/asm-syntax.h: New file.
2832 * sysdeps/s390/addmul_1.S: New file.
2833 * sysdeps/s390/add_n.S: New file.
2834 * sysdeps/s390/abort-instr.h: New file.
2835 * sysdeps/s390/__longjmp.c: New file.
2836 * sysdeps/s390/Makefile: New file.
2837 * sysdeps/s390/Implies: New file.
2838 * sysdeps/s390/Dist: New file.
2839 Patches by Martin Schwidefsky <schwidefsky@de.ibm.com>.
2841 2000-08-01 Ulrich Drepper <drepper@redhat.com>
2843 Remove incompatible IPv6 extension of RPC.
2844 * sunrpc/Makefile: Undo changes.
2845 * sunrpc/rpc_main.c: Likewise.
2846 * sunrpc/rpc/clnt.h: Likewise.
2847 * sunrpc/rpc/svc.h: Likewise.
2848 * sunrpc/bindrsvprt6.c: Removed.
2849 * sunrpc/clnt_tcp6.c: Removed.
2850 * sunrpc/clnt_udp6.c: Removed.
2851 * sunrpc/svc_tcp6.c: Removed.
2852 * sunrpc/svc_udp6.c: Removed.
2854 * intl/libintl.h: Don't use __attribute_format_arg__ for gettext,
2855 dgettext, and dcgettetxt.
2857 * intl/locale.alias: Update japanese aliases.
2859 * sysdeps/ia64/bits/byteswap.h: New file.
2860 Patch by Dan Pop <Dan.Pop@cern.ch>.
2862 * misc/sys/cdefs.h: Define __attribute_format_arg__.
2863 * intl/libintl.h: Use it here instead of using __attribute__ directly.
2865 2000-07-13 H.J. Lu <hjl@gnu.org>
2867 * posix/regex.c (re_max_failures): Set to 4000.
2869 2000-08-01 Ulrich Drepper <drepper@redhat.com>
2871 * gnulib/Makefile (tests): Add tst-gcc.
2872 * gnulib/tst-gcc.c: New file.
2874 * assert/Makefile (routines): Add __assert.
2875 * assert/Versions: Export __assert for glibc 2.2.
2876 * assert/__assert.c: New file.
2877 * assert/assert.h: Declare __assert.
2879 2000-07-27 Bruno Haible <haible@clisp.cons.org>
2881 * locale/localeinfo.h (_ISCTYPE): New macro.
2882 * posix/fnmatch_loop.c (internal_fnmatch): Use it, support new
2883 LC_CTYPE locale format.
2884 * locale/programs/ld-ctype.c (locale_ctype_t): New field class_b.
2885 (ctype_output): Output class_b[nr] right before class_3level[nr].
2886 (allocate_arrays): Fill class_b, similarly to class_3level.
2888 2000-08-01 Ulrich Drepper <drepper@redhat.com>
2889 Joseph S. Myers <jsm28@cam.ac.uk>
2891 * math/tgmath.h: Make standard compliant. Don't ask how.
2893 2000-07-04 H.J. Lu <hjl@gnu.org>
2895 * elf/Makefile ($(inst_slibdir)/$(rtld-version-installed-name)):
2896 Use $(do-install-program) instead of "$(INSTALL_PROGRAM) $< $@.new".
2897 ($(inst_slibdir)/$(rtld-installed-name)): Use $(make-shlib-link) only.
2899 2000-07-30 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
2901 * include/features.h (_XOPEN_SOURCE): Update the explanation.
2902 (__USE_LARGEFILE): Add an explanation.
2903 (_POSIX_C_SOURCE): Define to 2 only if _XOPEN_SOURCE < 500.
2904 (__USE_XOPEN2K): Define whenever _XOPEN_SOURCE >= 600.
2906 2000-08-01 Ulrich Drepper <drepper@redhat.com>
2908 * libio/Makefile: Enable exception handling for genops, wgenops,
2909 fileops, and wfileops.
2911 2000-07-29 Mark Kettenis <kettenis@gnu.org>
2913 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Take into
2914 acount that elf/rtld's main program might remove some varibales
2915 from the environment if we're trying to be secure. Move the Hurd
2916 startup data if necessary, or, if we there is no startup data,
2917 make sure the magical convention that ARGV[0] is stored just after
2918 the environment list.
2920 2000-08-01 Philip Blundell <philb@gnu.org>
2922 * sysdeps/unix/sysv/linux/arm/Makefile [subdir=resource]
2923 (sysdep_routines): Add oldgetrlimit, oldsetrlimit.
2924 * sysdeps/unix/sysv/linux/arm/syscalls.list: Add oldgetrlimit,
2925 oldsetrlimit for GLIBC_2.0.
2927 2000-08-01 Andreas Jaeger <aj@suse.de>
2929 * nss/nss_files/files-ethers.c: Use case-insensitive lookup.
2930 (LINE_PARSER): Allow any number of spaces between ip address and
2931 number. Fixes PR libc/1833, reported by rp010gf@voruta.vu.lt.
2933 * conform/data/netdb.h-data: Remove getipnodebyaddr and friends.
2935 * include/netdb.h: Remove getipnodebyaddr and friends, leave
2938 * nis/Versions: Remove _nss_nis_getipnodebyname_r and
2939 _nss_nisplus_getipnodebyname_r.
2941 * nis/nss_nis/nis-hosts.c (_nss_nis_getipnodebyname_r): #if 0 for
2942 now, getipnodebyname is deprecated.
2943 * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_getipnodebyname_r):
2946 * inet/Makefile (routines): Don't build getipnodebyaddr and
2949 * intl/Makefile (distribute): Add tst-translit.sh and translit.po.
2951 * hesiod/Makefile (distribute): Add nss_hesiod/nss_hesiod.h.
2953 * elf/Makefile (distribute): Add filtmod1.c and filtmod2.c.
2955 * wctype/Makefile (distribute): Add wchar-lookup.h.
2957 * sysdeps/generic/Dist: Add bp-checks.h and bp-semctl.h.
2959 * iconvdata/Makefile (distribute): Add isiri-3342.h.
2961 2000-08-01 Andreas Schwab <schwab@suse.de>
2963 * Make-dist (dist): Resolve `..' in file names.
2965 2000-08-01 Andreas Jaeger <aj@suse.de>
2967 * stdio-common/Makefile (distribute): Remove removed files, add
2970 * Makefile (distribute): Remove include/db_185.h and db.h.
2972 * include/db_185.h: Remove, it's not needed anymore.
2973 * include/db.h: Likewise.
2975 2000-07-31 Ulrich Drepper <drepper@redhat.com>
2977 * inet/Makefile (tests): Remove tst-ipnode.
2978 * include/netdb.h: Add stuff removed from resolv/netdb.h here for
2981 2000-07-31 Jes Sorensen <jes@linuxcare.com>
2983 * sysdeps/ia64/elf/initfini.c: Kill dummy section since align and
2984 endp statements have already been added.
2986 2000-04-18 David Mosberger <davidm@hpl.hp.com>
2988 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Include
2989 <sysdeps/ia64/sysdep.h>.
2991 * sysdeps/ia64/_mcount.S: New file.
2993 * sysdeps/ia64/elf/initfini.c (_init): Preserve gp around call to
2994 __gmon_start__. Fix up extraneous whitespace.
2996 2000-01-12 H.J. Lu <hjl@gnu.org>
2998 * sysdeps/ia64/elf/initfini.c: New file.
3000 2000-07-31 Jes Sorensen <jes@linuxcare.com>
3002 * sysdeps/unix/sysv/linux/ia64/clone.S: Add stop bit to avoid WAW
3003 dependency between branch and ar.pfs write.
3005 2000-07-31 H.J. Lu <hjl@gnu.org>
3007 * sysdeps/generic/printf_fphex.c (__printf_fphex): Correctly
3008 handle the wchar_t array.
3010 2000-07-31 Ulrich Drepper <drepper@redhat.com>
3012 * iconvdata/gb18030.c: Don't map to and from positions in ISO
3013 10646 which are not yet assigned.
3014 Patch by wang shouhua <shouhuawang@redflag-linux.com>.
3016 2000-07-31 Andreas Jaeger <aj@suse.de>
3018 * inet/Versions: Remove getipnodebyaddr and friends from
3021 * resolv/netdb.h: Remove getipnodebyaddr and friends.
3023 2000-07-30 Bruno Haible <haible@clisp.cons.org>
3025 * iconvdata/sjis.c (BODY for FROM_LOOP): Treat the case
3026 ch >= 0x81 && ch2 < 0x40 as invalid.
3028 2000-07-30 Bruno Haible <haible@clisp.cons.org>
3030 * iconvdata/uhc.c (BODY for FROM_LOOP): Reject ch2 == 0xff as invalid.
3031 (BODY for TO_LOOP): Accept 0x7f. Increment outptr as needed.
3033 2000-07-30 Bruno Haible <haible@clisp.cons.org>
3035 * iconvdata/johab.c (BODY for TO_LOOP): After calling
3036 ucs4_to_ksc5601_sym, fix the conversion to JOHAB.
3038 2000-07-30 Bruno Haible <haible@clisp.cons.org>
3040 * iconvdata/t.61.c (to_ucs4): Change values of 0xa4, 0a6, 0xa8, 0xb4,
3042 (from_ucs4): Change values of U+00A4, U+00BB, U+00ED.
3044 2000-07-30 Bruno Haible <haible@clisp.cons.org>
3046 * iconvdata/macintosh.c (HAS_HOLES): Set to 1.
3048 2000-07-30 Bruno Haible <haible@clisp.cons.org>
3050 * iconvdata/iso_6937.c (to_ucs4): Change values of 0x24 and 0xb4.
3051 (from_ucs4): Change values of U+00A4 and U+00ED.
3052 (BODY of TO_LOOP): Remove mapping from U+02DC to 0x0020.
3054 2000-07-30 Bruno Haible <haible@clisp.cons.org>
3056 * iconvdata/ansi_x3.110.c (from_ucs4): Change entry for 0xed.
3057 (BODY for TO_LOOP): Map U+2122, U+2126, not U+2022, U+2026.
3059 2000-07-30 Bruno Haible <haible@clisp.cons.org>
3061 * iconvdata/Makefile (gen-8bit-gap-modules): Remove isiri-3342.
3062 * iconvdata/isiri-3342.h: New file.
3063 * iconvdata/isiri-3342.c (HAS_HOLES): Avoid gaps >= 0xe0, but don't
3064 treat 0x80 as a gap.
3066 2000-07-30 Bruno Haible <haible@clisp.cons.org>
3068 * string/strxfrm.c (encoding_mask, encoding_byte): Remove.
3069 (utf8_encode): Use simple shifts instead. Fix return value.
3071 2000-07-31 Ulrich Drepper <drepper@redhat.com>
3073 * timezone/private.h: Update from tzcode2000e.
3074 * timezone/asia: Update from tzdata2000e.
3075 * timezone/australasia: Likewise.
3076 * timezone/europe: Likewise.
3077 * timezone/northamerica: Likewise.
3078 * timezone/zone-tab: Likewise.
3080 2000-07-30 Ralf Baechle <ralf@gnu.org>
3082 * sysdeps/unix/sysv/linux/mips/bits/sigstack.h: New file. On MIPS
3083 the order of struct sigaltstack members is different.
3085 2000-07-26 Philip Blundell <philb@gnu.org>
3087 * sysdeps/unix/sysv/linux/arm/bits/fcntl.h: New file.
3089 2000-07-29 Ulrich Drepper <drepper@redhat.com>
3091 * locale/langinfo.h: Add entries for extra tables in CTYPE data.
3092 * locale/programs/ld-ctype.c: Adjust for this.
3094 * locale/programs/ld-collate.c: Add more alignment checks.
3095 * locale/string/strcoll.c: Likewise.
3097 2000-07-30 Mark Kettenis <kettenis@gnu.org>
3099 * stdio-common/vfprintf.c: Move inclusion of _i18n_number.h
3100 outside USE_IN_LIBIO block.
3102 2000-07-26 Philip Blundell <philb@gnu.org>
3104 * sysdeps/arm/dl-machine.h (fix_bad_pc24): New function.
3105 (elf_machine_rel): Use it for out-of-range PC24 relocs.
3107 2000-07-28 Philip Blundell <philb@gnu.org>
3109 * math/test-fpucw.c: Ignore reserved bits in control word.
3111 2000-07-28 Philip Blundell <philb@gnu.org>
3113 * sysdeps/unix/sysv/linux/arm/sysdep.h (PSEUDO_RET): New macro.
3114 (ret): Redefine to PSEUDO_RET.
3115 (PSEUDO): Remove jump to syscall_error.
3117 2000-07-29 Mark Kettenis <kettenis@gnu.org>
3119 * resolv/README: Add some information about using the resolver in
3120 multi-threaded code and with C++. Spelling fixes.
3122 2000-07-29 Mark Kettenis <kettenis@gnu.org>
3124 * resolv/resolv.h (struct __sockaddr_in): Remove.
3125 (struct __res_state) [!_LIBC]: Remove reference to __sockaddr_in.
3127 2000-07-29 Greg McGary <greg@mcgary.org>
3129 * Rules (test-bp-inputs, make-test-out): New variables.
3130 ($(objpfx)%-bp.out): New rule.
3131 ($(objpfx)%.out): Rewrite in terms of new variables.
3133 * libio/iovswscanf.c (vswscanf): Pass _IO_FILE_plus pointer to
3134 internal function that uses vtable.
3135 * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
3136 * libio/vswprintf.c (_IO_vswprintf): Likewise.
3138 * malloc/malloc.c (mem2chunk): Define in terms of chunk_at_offset.
3139 (malloc_extend_top): Convert brk to chunk using chunk_at_offset.
3140 (chunk_align): Likewise.
3142 * time/asctime.c (ab_day_name, ab_month_name): Rewrite expression
3143 in a way that conforms to decl, and avoids spurious bounds violation.
3145 * sysdeps/arm/frame.h (struct layout): Make pointers __unbounded.
3146 * sysdeps/generic/frame.h: Likewise.
3147 * sysdeps/generic/backtrace.c (ADVANCE_STACK_FRAME): Wrap bounds
3148 around return value.
3149 (__backtrace): Qualify frame-pointer chain and return address
3150 pointers as __unbounded. Wrap bounds around variable `current'.
3151 * sysdeps/generic/segfault.c (ADVANCE_STACK_FRAME): Wrap bounds
3152 around return value.
3153 (catch_segfault): Qualify frame-pointer chain and return address
3154 pointers as __unbounded. Wrap bounds around variable `current'.
3155 * sysdeps/i386/backtrace.c (struct layout): Make pointers __unbounded.
3156 (ADVANCE_STACK_FRAME): Wrap bounds around return value.
3157 * sysdeps/powerpc/backtrace.c (struct layout): Make pointers
3159 (__backtrace): Qualify frame-pointer chain and return address
3160 pointers as __unbounded. Wrap bounds around variable `current'.
3162 * sysdeps/i386/addmul_1.S: s2_limb is scalar so remove bounds check.
3163 * sysdeps/i386/mul_1.S: Likewise.
3164 * sysdeps/i386/submul_1.S: Likewise.
3165 * sysdeps/i386/i586/addmul_1.S: Likewise.
3166 * sysdeps/i386/i586/mul_1.S: Add bounds checks.
3167 * sysdeps/i386/i586/submul_1.S: Likewise.
3169 2000-07-27 Andreas Jaeger <aj@suse.de>
3171 * libio/Depend: New file, libio needs localedata for tests.
3172 * posix/Depend: Likewise.
3174 2000-07-28 Ulrich Drepper <drepper@redhat.com>
3176 * stdio-common/_i18n_itoa.c: Removed.
3177 * stdio-common/_i18n_itoa.h: Removed.
3178 * stdio-common/_i18n_itowa.c: Removed.
3179 * stdio-common/_i18n_itowa.h: Removed.
3180 * stdio-common/_i18n_number.h: New file.
3181 * stdio-common/Depend: New file.
3182 * stdio-common/printf-parse.h: Handle I modifier correctly. Optimize.
3183 * stdio-common/vfprintf.c: Rewrite buffer handling for integer
3184 printing. Change printing of numbers with locale specific digits to
3185 use new code in _i18n_number.h.
3186 * stdio-common/Makefile (routines): Remove _i18n_itoa and
3189 * stdio-common/bug13.c: Improve messages.
3191 * locale/programs/ld-ctype.c (ctype_read): Improve error message.
3192 (set_class_defaults): Always search also for Uxxxx names.
3193 Detect insufficient number of outdigits.
3195 * locale/Makefile (C-translit.h): Use mv not $(move-if-changed).
3197 2000-07-27 Bruno Haible <haible@clisp.cons.org>
3199 * locale/C-ctype.c (_nl_C_LC_CTYPE): Swap the two names in
3200 _NL_CTYPE_MAP_NAMES.
3201 * locale/localeinfo.h (__TOW_toupper, __TOW_tolower): New enum values.
3202 * wctype/wcfuncs.c (towlower, towupper): Use them.
3203 * wctype/wcfuncs_l.c (__towlower_l, __towupper_l): Likewise.
3204 * wctype/wctrans.c (wctrans): Likewise.
3205 * wctype/wctrans_l.c (__wctrans_l): Likewise.
3207 2000-07-27 Bruno Haible <haible@clisp.cons.org>
3209 * posix/fnmatch.c (is_char_class): Fix logic. Avoid buffer overrun.
3210 Use the optimized version of this function outside glibc as well.
3212 2000-07-27 Jakub Jelinek <jakub@redhat.com>
3214 * locale/indigits.h (indigit_value): Correct.
3215 * locale/indigitswc.h (indigitwc_value): Correct.
3216 * stdio-common/vfscanf.c (__vfscanf): Fix I18N number
3217 conversion, add GROUP checking for it, fix GROUP number
3218 conversion with strlen(thousands) > 1.
3219 Honour width correctly in the presence of floating
3220 decimal points and thousands separators.
3221 * stdio-common/tst-sscanf.c: New test.
3222 * stdio-common/Makefile: Add it to tests.
3223 * sysdeps/generic/strtol.c (strtol): Fix conversion if there are
3224 thousands separators and group argument is non-zero.
3226 2000-07-25 Bruno Haible <haible@clisp.cons.org>
3228 * locale/Versions: Enumerate __*_l functions individually. __wctrans_l
3229 starts at GLIBC_2.2.
3231 2000-07-12 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
3233 * sysdeps/unix/sysv/linux/mips/Dist: Add sys/tas.h.
3234 * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines): Add
3236 (headers): Add sys/tas.h.
3237 * sysdeps/unix/sysv/linux/mips/Versions: Export _test_and_set for
3238 GLIBC_2.2 from libc.
3239 * sysdeps/unix/sysv/linux/mips/_test_and_set.c: New file.
3240 * sysdeps/unix/sysv/linux/mips/sys/tas.h: New file for
3243 2000-07-28 Andreas Jaeger <aj@suse.de>
3245 * sysdeps/gnu/netinet/tcp.h: Add TCP options from Linux 2.4.
3247 * dlfcn/Makefile ($(objpfx)tst-dladdr): New.
3248 ($(objpfx)tst-dladdr.out): new.
3249 (tests): Add tst-dladdr.
3250 ($(objpfx)glrefmain): Use libdl.
3252 * dlfcn/tst-dladdr.c: New file. Based on a test by Volkmar Sieh
3255 2000-07-27 Jes Sorensen <jes@linuxcare.com>
3257 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add truncate(64) and
3258 ftruncate(64) calls.
3260 2000-07-27 Jes Sorensen <jes@linuxcare.com>
3262 * intl/tst-translit.c: Include string.h to get prototype for
3265 2000-07-27 Jes Sorensen <jes@linuxcare.com>
3267 * sysdeps/unix/sysv/linux/ia64/fork.c: Make __libc_fork the strong
3268 name and add weak alias for __fork.
3270 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Change llseek, pread
3271 & pwrite to use __libc_<name> as strong names instead of
3274 * include/sched.h: Add clone2 prototype.
3276 2000-07-26 Jes Sorensen <jes@linuxcare.com>
3278 * sysdeps/unix/sysv/linux/ia64/sysdep.h (ENTRY): Don't declare the
3279 procedure name twice.
3281 2000-07-27 Philip Blundell <philb@gnu.org>
3283 * malloc/malloc.c (HAVE_MREMAP): Undo change of 1997-12-04.
3285 2000-07-27 Andreas Jaeger <aj@suse.de>
3287 * sysdeps/unix/sysv/linux/bits/socket.h: Rename MSG_URG TO
3288 MSG_CONFIRM following kernel 2.4.0 (MSG_URG was never used).
3289 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
3290 Reported by Andi Kleen <ak@suse.de>.
3292 * rt/tst-aio64.c: Add tests for aio_fsync64 and aio_cancel64.
3293 (do_wait): Test requests with aio_return64.
3294 (do_test): Change callers of do_wait.
3296 2000-07-26 Andreas Jaeger <aj@suse.de>
3298 * rt/tst-aio.c: Add tests for aio_fsync and aio_cancel.
3299 (do_wait): Test requests with aio_return.
3300 (do_test): Change callers of do_wait.
3302 2000-07-27 Ulrich Drepper <drepper@redhat.com>
3304 * rt/aio_misc.c (__aio_remove_request): New function. Handle removing
3305 from request list. Don't do the list handling here, call
3306 __aio_remove_request.
3307 * rt/aio_misc.h: Add prototype for __aio_remove_request.
3308 * rt/aio_cancel.c: Don't assume __aio_find_req_fd succeeds since the
3309 request might already be processed. Don't do the list handling
3310 here, call __aio_remove_request.
3312 * rt/aio_misc.c: Don't depend on aio_reqprio field for LIO_SYNC and
3315 * rt/aio_misc.c: Add comment explaining why writer memory barriers
3318 2000-07-27 Greg McGary <greg@mcgary.org>
3320 * sysdeps/generic/bp-checks.h (BOUNDED_N): Make it work for void*.
3321 * sysdeps/generic/bp-semctl.h (check_semctl): Fix syntax error
3322 in union init. Pass zero for ignored semnum arg to semctl.
3323 * sysdeps/unix/sysv/linux/shmat.c (shmat): Fix typo.
3325 2000-07-26 Greg McGary <greg@mcgary.org>
3327 * sysdeps/gnu/bits/msq.h: Qualify kernel's
3328 data structure pointers as __unbounded.
3329 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
3330 * sysdeps/generic/bp-semctl.h: New file.
3331 * sysdeps/unix/sysv/linux/msgctl.c: Qualify kernel's data structure
3332 pointers as __unbounded. Check bounds of syscall args.
3333 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
3334 * sysdeps/unix/sysv/linux/msgsnd.c: Likewise.
3335 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
3336 * sysdeps/unix/sysv/linux/semop.c: Likewise.
3337 * sysdeps/unix/sysv/linux/shmat.c: Likewise.
3338 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
3339 * sysdeps/unix/sysv/linux/shmdt.c: Likewise.
3340 * sysdeps/unix/sysv/linux/alpha/msgctl.c: Likewise.
3341 * sysdeps/unix/sysv/linux/alpha/semctl.c: Likewise.
3342 * sysdeps/unix/sysv/linux/alpha/shmctl.c: Likewise.
3343 * sysdeps/unix/sysv/linux/i386/msgctl.c: Likewise.
3344 * sysdeps/unix/sysv/linux/i386/semctl.c: Likewise.
3345 * sysdeps/unix/sysv/linux/i386/shmctl.c: Likewise.
3346 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Likewise.
3347 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Likewise.
3348 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Likewise.
3350 2000-07-26 Ulrich Drepper <drepper@redhat.com>
3352 * libio/iofwide.c: Enable transliteration for conversion from wchar_t
3354 * locale/C-ctype.c: Likewise.
3355 * wcsmbs/wcsmbsload.c: Likewise.
3357 2000-07-26 Greg McGary <greg@mcgary.org>
3359 * Makeconfig (+link-bounded, link-libc-bounded,
3360 link-extra-libs-bounded): New variables.
3361 (built-program-cmd): Omit $(run-program-prefix) for static BP tests.
3362 * Makerules (do-tests-clean, common-mostlyclean): Remove BP test files.
3363 * Rules (tests-bp.out): New variable.
3364 (tests): Conditionally add BP tests.
3365 (binaries-bounded): Add variable and associated rule.
3366 * csu/Makefile [build-bounded] (extra-objs, install-lib):
3367 Move conditional stuff after place where condition is defined.
3369 * malloc/malloc.c (bp-checks.h): Add #include.
3370 (mem2chunk, chunk_at_offset, bin_at): Wrap BOUNDED_1 around expression.
3371 (_bin_at): Add unbounded version of bin_at.
3372 (IAV, chunk_alloc): Use unbounded _bin_at.
3373 (mALLOc, rEALLOc, chunk_realloc, mEMALIGn, cALLOc,
3374 chunk2mem_check, realloc_check, malloc_starter, malloc_atfork):
3375 Wrap BOUNDED_N around return value.
3376 (chunk_realloc): Adjust oldsize once.
3378 * sysdeps/generic/bp-checks.h (__memchr): Remove incorrect decl.
3379 (__ubp_memchr): Add correct decl.
3380 (_CHECK_STRING): Use __ubp_memchr.
3381 * sysdeps/alpha/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
3382 New alias for unbounded-pointer __memchr.
3383 * sysdeps/i386/memchr.S: Likewise.
3384 * sysdeps/ia64/memchr.S: Likewise.
3385 * sysdeps/m68k/memchr.S: Likewise.
3386 * sysdeps/sparc/sparc32/memchr.S: Likewise.
3387 * sysdeps/sparc/sparc64/memchr.S: Likewise.
3388 * sysdeps/vax/memchr.s: Likewise.
3390 * sysdeps/i386/strtok.S: Fix bounds checks to pass tests.
3391 (SAVE_PTR): New macro. (save_ptr): Expand size as BP.
3392 (strtok): Don't bother to write into SAVE_PTR when returning NULL.
3393 * sysdeps/i386/i686/strtok.S: Likewise.
3394 * sysdeps/i386/bp-asm.h (RETURN_BOUNDED_POINTER,
3395 RETURN_NULL_BOUNDED_POINTER): Use %ecx as the scratch register.
3397 * sysdeps/i386/bits/string.h [!__BOUNDED_POINTERS__]: Disable inlines.
3398 * sysdeps/i386/i486/bits/string.h [!__BOUNDED_POINTERS__]: Likewise.
3400 * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path): Copy
3401 bounds of copy_result to mount_proc.
3403 2000-07-25 Bruno Haible <haible@clisp.cons.org>
3405 * wctype/wctype.h (__wctrans_l): New declaration.
3406 * wctype/wctrans_l.c: New file.
3407 * wctype/Makefile (routines): Add wctrans_l.
3409 2000-07-26 Ulrich Drepper <drepper@redhat.com>
3411 * posix/fnmatch_loop.c: Fixes for use outside glibc.
3412 Patch by MacGyver <macgyver@tos.net>.
3414 2000-07-26 Andreas Jaeger <aj@suse.de>
3416 * rt/tst-aio4.c: New file, slightly modified version of tst-aio2.
3417 * rt/tst-aio5.c: New file, slightly modified version of tst-aio2.
3418 * rt/Makefile: Add rules to build and run tst-aio4 and tst-aio5.
3420 * rt/tst-aio.c (test_file): Fix typo.
3421 * rt/tst-aio64.c (test_file): Likewise.
3423 * rt/tst-aio3.c: New file, slightly modified version of tst-aio2.
3424 * rt/Makefile: Add rules to build and run tst-aio3.
3426 * sysdeps/unix/sysv/linux/netinet/ip.h: Removed ip_options since
3427 it's not needed and confuses only.
3429 2000-07-26 Ulrich Drepper <drepper@redhat.com>
3431 * resolv/res_init.c: Add support for nameserver communication with
3433 * resolv/res_send.c: Likewise.
3434 * resolv/resolv.h (struct __res_state): Store IPv6 address, not IPv4
3436 Patch by <venaas@nvg.ntnu.no>.
3438 2000-07-25 Bruno Haible <haible@clisp.cons.org>
3440 * locale/programs/ld-ctype.c (wctype_table_get): New function.
3441 (wcwidth_table_get): New function.
3442 (wcwidth_table_add): Call it.
3443 (wctrans_table_get): New function.
3444 (wctrans_table_add): Call it.
3446 2000-07-25 Ulrich Drepper <drepper@redhat.com>
3448 * rt/lio_listio.c (lio_listio): Always disable individual
3450 * rt/Makefile: Add rules to build and run tst-aio2.
3451 * rt/tst-aio2.c: New file.
3453 * rt/lio_listio.c (lio_listio): Handle case of SIG == NULL correctly.
3454 Reported by Kevin Beard <beardk@gatwick.Geco-Prakla.slb.com>.
3456 2000-07-25 Mark Kettenis <kettenis@gnu.org>
3458 * nss/nss_files/files-netgrp.c (strip_whitespace): New function.
3459 (_nss_netgroup_parseline): Use strip_whitespace to strip off any
3460 leading and trailing spaces from host, user and domain name.
3462 2000-07-25 Jes Sorensen <jes@linuxcare.com>
3464 * csu/defs.awk: Add support for need_endp.
3466 2000-07-25 Mark Kettenis <kettenis@gnu.org>
3468 * resolv/resolv.h: Remove __P from res_send_qhook and
3469 res_send_rhook typedefs.
3471 2000-07-25 Bruno Haible <haible@clisp.cons.org>
3473 * intl/tst-translit.c (main): Unset OUTPUT_CHARSET.
3475 2000-07-25 Ulrich Drepper <drepper@redhat.com>
3477 * iconv/gconv_builtin.h: Add WCHAR_T alias.
3479 2000-07-25 Mark Kettenis <kettenis@gnu.org>
3481 * hurd/thread-cancel.c (hurd_thread_cancel): When cancelling the
3482 calling thread, set the cancellation flag and return success
3485 2000-07-25 Ulrich Drepper <drepper@redhat.com>
3487 * libio/Makefile: Add rules build, run, and distribute tst-widetext.c.
3488 * libio/tst-widetext.c: New file.
3489 * libio/tst-widetext.input: New file.
3491 * libio/iogetwline.c (_IO_getwline_info): Pretty print.
3493 * libio/wfileops.c (_IO_wfile_underflow): Handle not entirely
3494 empty external buffer correctly.
3496 2000-07-25 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
3498 * sysdeps/mips/dl-machine.h (_RTLD_PROLOGUE): Stringify using
3499 __STRING(entry) and not #entry.
3500 (_RTLD_EPILOGUE): Likewise.
3501 * sysdeps/mips/mips64/dl-machine.h: Likewise.
3503 2000-07-25 Andreas Jaeger <aj@suse.de>
3505 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Change parameter
3506 according to changes in test program, run also with static only
3508 ($(objpfx)tst-printf.out): Likewise.
3510 * stdio-common/tst-unbputc.sh: Likewise.
3511 * stdio-common/tst-printf.sh: Likewise.
3513 2000-07-25 Ulrich Drepper <drepper@redhat.com>
3515 * libio/wfileops.c (_IO_wdo_write): Correct return value.
3517 * libio/wfileops.c (_IO_wdo_write): Allow partial conversions in the
3520 * libio/fileops.c: Pretty print.
3522 2000-07-23 Bruno Haible <haible@clisp.cons.org>
3524 * wctype/wchar-lookup.h: New file.
3525 * wctype/iswctype.c: Include "wchar-lookup.h".
3526 (__iswctype): Support alternate locale format with 3-level tables.
3527 * wctype/iswctype_l.c (__iswctype_l): Likewise.
3528 * wctype/towctrans.c (__towctrans): Likewise.
3529 * wctype/towctrans_l.c (__towctrans_l): Likewise.
3530 * wctype/wcfuncs.c: Include "wchar-lookup.h".
3531 (__ctype32_wctype, __ctype32_wctrans): Declare external.
3532 (__iswalnum, __iswalpha, __iswcntrl, __iswdigit, __iswlower,
3533 __iswgraph, __iswprint, __iswpunct, __iswspace, __iswupper,
3534 __iswxdigit, towlower, towupper): Support alternate locale format
3535 with 3-level tables.
3536 * wctype/wcextra.c (iswblank): Likewise.
3537 * wctype/wcfuncs_l.c: Include "wchar-lookup.h".
3538 (__iswalnum_l, __iswalpha_l, __iswcntrl_l, __iswdigit_l, __iswlower_l,
3539 __iswgraph_l, __iswprint_l, __iswpunct_l, __iswspace_l, __iswupper_l,
3540 __iswxdigit_l, __towlower_l, __towupper_l): Support alternate locale
3541 format with 3-level tables.
3542 * wctype/wcextra_l.c (__iswblank_l): Likewise.
3543 * wctype/wctype.c (__wctype): Likewise. In the alternate locale
3544 format, return a 3-level table pointer.
3545 * wctype/wctype_l.c (__wctype_l): Likewise.
3546 * wctype/wctrans.c (wctrans): Likewise.
3547 * wctype/wctype.h (__ISwupper, __ISwlower, __ISwalpha, __ISwdigit,
3548 __ISwxdigit, __ISwspace, __ISwprint, __ISwgraph, __ISwblank,
3549 __ISwcntrl, __ISwpunct, __ISwalnum): New enum values.
3550 (iswctype): Remove macro definition.
3551 * wcsmbs/wcwidth.h: Include "wchar-lookup.h".
3552 (internal_wcwidth): Support alternate locale format with 3-level
3554 * locale/langinfo.h (_NL_CTYPE_CLASS_OFFSET, _NL_CTYPE_MAP_OFFSET):
3556 * locale/categories.def (_NL_CTYPE_CLASS_OFFSET, _NL_CTYPE_MAP_OFFSET):
3557 Define them as being type "word".
3558 * locale/C-ctype.c (_nl_C_LC_CTYPE): Add initializers for them.
3559 * ctype/ctype-info.c (__ctype32_wctype, __ctype32_wctrans,
3560 __ctype32_width): New exported variables.
3561 * locale/lc-ctype.c (_nl_postload_ctype): Initialize them in the
3562 alternate locale format. Don't initialize __ctype_names and
3563 __ctype_width in the alternate locale format.
3564 * locale/programs/localedef.h (oldstyle_tables): New declaration.
3565 * locale/programs/localedef.c (oldstyle_tables): New variable.
3566 (OPT_OLDSTYLE): New macro.
3567 (options): Add --old-style option.
3568 (parse_opt): Handle --old-style option.
3569 * locale/programs/ld-ctype.c (locale_ctype_t): Add class_offset,
3570 map_offset, class_3level, map_3level, width_3level members.
3571 (ctype_output): Support for alternate locale format: Computation of
3572 nelems changes. _NL_CTYPE_TOUPPER32, _NL_CTYPE_TOLOWER32 and
3573 _NL_CTYPE_CLASS32 only 256 characters. _NL_CTYPE_NAMES empty.
3574 New fields _NL_CTYPE_CLASS_OFFSET, _NL_CTYPE_MAP_OFFSET. Field
3575 _NL_CTYPE_WIDTH now contains the three-level table. Extra elems
3576 now contain both class and map tables.
3577 (struct wctype_table): New type.
3578 (wctype_table_init, wctype_table_add, wctype_table_finalize): New
3580 (struct wcwidth_table): New type.
3581 (wcwidth_table_init, wcwidth_table_add, wcwidth_table_finalize): New
3583 (struct wctrans_table): New type.
3584 (wctrans_table_init, wctrans_table_add, wctrans_table_finalize): New
3586 (allocate_arrays): Support for alternate locale format: Set
3587 plane_size and plane_cnt to 0. Restrict ctype->ctype32_b to the first
3588 256 characters. Compute ctype->class_3level. Restrict ctype->map32[idx]
3589 to the first 256 characters. Compute ctype->map_3level. Set
3590 ctype->class_offset and ctype->map_offset. Compute ctype->width_3level
3591 instead of ctype->width.
3593 2000-07-24 Ulrich Drepper <drepper@redhat.com>
3595 * libio/iogetwline.c (_IO_getwline_info): Use wide character
3598 2000-07-24 Jakub Jelinek <jakub@redhat.com>
3600 * libio/wfiledoalloc.c (_IO_wfile_doallocate): Measure size
3601 in wide characters, not bytes.
3602 * libio/tst_putwc.c (do_test): Add test for writing lots of data
3605 2000-07-22 Bruno Haible <haible@clisp.cons.org>
3607 * locale/nl_langinfo.c (nl_langinfo): Accept items belonging to the
3608 new categories LC_PAPER, LC_NAME, LC_ADDRESS, LC_TELEPHONE,
3609 LC_MEASUREMENT, LC_IDENTIFICATION.
3611 * locale/xlocale.h (struct __locale_struct): Increase size of
3613 * locale/duplocale.c (__duplocale): Copy newly added categories as
3615 * locale/freelocale.c (__freelocale): Free newly added categories.
3616 * locale/newlocale.c (__newlocale): Fix typo in sanity check.
3617 If a base is given, use it, don't simply return it.
3619 2000-07-22 Bruno Haible <haible@clisp.cons.org>
3621 * crypt/md5-crypt.c (__md5_crypt_r): Avoid gcc warnings: Use pointer
3622 variables, copied_key and copied_salt, instead of boolean variables.
3624 2000-07-24 Andreas Jaeger <aj@suse.de>
3626 * sysdeps/unix/sysv/linux/powerpc/mmap64.c (__mmap64): Really fix
3629 * grp/initgroups.c (initgroups_dyn_function): Renamed from
3630 initgroups_function, adopted prototype for change from 2000-07-23.
3631 (initgroups): Follow type change.
3633 * sysdeps/unix/sysv/linux/powerpc/mmap64.c (__mmap64): Fix offset
3634 & PAGE_MASK case, reformat.
3636 * string/Makefile ($(objpfx)tst-svc.out): Fix rule to read input
3637 from stdin and setup environment.
3639 2000-07-24 Andreas Schwab <schwab@suse.de>
3641 * sysdeps/unix/sysv/linux/m68k/mmap.S: Remove mmap64 alias.
3643 2000-07-23 Ulrich Drepper <drepper@redhat.com>
3645 * string/endian.h: Explain the _*_ENDIAN constant values a bit
3646 more. Patch by scarlet@mit.edu [PR libc/1799].
3648 * io/ftwtest-sh: Add -f parameter to chmod if -R is also given.
3651 * argp/argp-parse.c (parser_finalize): Reverse order in which
3652 parsers are run for ARGP_KEY_END. [PR libc/1755].
3654 * grp/initgroups.c (initgroups): Don't limit the possible number
3655 of groups to NGROUPS_MAX. Allow dynamic resizing. Loop around
3656 the setgroups call while the call fails and descrease the number
3657 of groups each round.
3658 The name of the initgroups function in the NSS modules changed.
3659 (compat_call): Adapt for dynamic resizing.
3660 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
3661 Implement dynamic resizing.
3662 * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
3664 * nis/nss_nis/compat-initgroups.c (_nss_nis_initgroups_dyn): Likewise.
3665 * hesiod/Versions: Change exported interface name.
3666 * nis/Versions: Change exported interface name.
3668 2000-07-23 Ulrich Drepper <drepper@redhat.com>
3670 * locale/iso-639.def: Some errors corrected.
3671 Patch by Keld Simonsen.
3673 * include/limits.h: Update non-gcc portion.
3674 Patch by Joseph S. Myers <jsm28@cam.ac.uk>.
3676 2000-07-22 Mark Kettenis <kettenis@gnu.org>
3678 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When shrinking the
3679 program's data space, reallocate only the space that was just
3680 deallocated to release its backing space.
3682 2000-07-23 Ulrich Drepper <drepper@redhat.com>
3684 * stdio-common/vfprintf.c (process_string_arg): For wide character
3685 version, handle precision also correctly.
3687 * nss/nss_files/files-hosts.c: Correct problem with three or more
3688 entries with the same name.
3690 * nss/nss_files/files-hosts.c: Implement multi handling.
3691 * resolv/Versions: Export _res_hconf for GLIBC_2.2 from libc.
3693 2000-07-22 Ulrich Drepper <drepper@redhat.com>
3695 * nss/nss_files/files-parse.c: Don't pollute namespace by using
3698 * grp/Makefile: Change Makefiles and tests to run only when necessary.
3699 * malloc/Makefile: Likewise.
3700 * malloc/tst-mtrace.sh: Likewise.
3701 * posix/Makefile: Likewise.
3702 * posix/globtest.sh: Likewise.
3703 * posix/wordexp-tst.sh: Likewise.
3704 * string/Makefile: Likewise.
3706 2000-07-22 Mark Kettenis <kettenis@gnu.org>
3708 * locale/findlocale.c (locale_file_list): Use __LC_LAST as array
3709 size instead of LC_ALL to take into account the new locale
3712 2000-07-22 Ulrich Drepper <drepper@redhat.com>
3714 * iconv/gconv_trans.c: Correct a few bugs in the search loop. Remove
3715 remainders of hash table.
3716 * locale/categories.def: Remove remainders of transliteration
3718 * locale/langinfo.h: Likewise.
3719 * locale/programs/ld-ctype.c: Likewise. Fix code to write out
3720 transliteration tables.
3722 * locale/gen-translit.pl: New file.
3723 * locale/C-translit.h.in: New file.
3724 * locale/C-ctype.c: Include C-translit.h. Initialize transliteration
3725 data pointers with data from this file.
3726 * locale/Makefile (distribute): Add C-translit.h.in, C-translit.h,
3727 and gen-translit.pl.
3728 Add rule to generate C-translit.h.
3729 * intl/tst-translit.c (main): Update for now performed
3732 * stdio-common/vfscanf.c: Handle input -- with format %f correctly
3733 (it's no input error).
3734 * stdio-common/tstscanf.c: Add test case for format %f with input --.
3735 * stdio-common/scanf12.c: Correct expected result for first scanf.
3737 * stdio-common/vfprintf.c (process_string_arg): Correct handling
3738 of multibyte character strings in %s format with precision.
3740 2000-07-21 Ulrich Drepper <drepper@redhat.com>
3742 * locale/programs/ld-collate.c (collate_read): Allow collating
3743 symbols and elements be named in reorder-after instructions.
3744 Reported by Yoshito Kawada <KAWADA@jp.ibm.com>.
3746 * locale/programs/ld-collate.c (handle_ellipsis): Test for
3747 duplication with generated name, not the name of the first
3749 Patch by Yong Li <yong.li@asu.edu>.
3751 * sysdeps/powerpc/strchr.S: Correct bugs introduced in BP-ification.
3752 Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
3754 2000-07-21 Wolfram Gloger <wg@malloc.de>
3756 * malloc/malloc.c (chunk_alloc): Try mmap_chunk() for smaller
3757 allocations only if a non-main arena cannot be extended.
3759 2000-07-21 Ulrich Drepper <drepper@redhat.com>
3761 * elf/dl-load.c (_dl_map_object): Take loader==NULL into account
3762 in DF_1_NODEFLIB handling.
3764 2000-07-21 Andreas Jaeger <aj@suse.de>
3766 * elf/Makefile ($(test-modules)): Exclude filtmod1.so, it has its
3769 * libio/fwide.c: Include <wchar.h> for prototype.
3771 2000-07-21 Greg McGary <greg@mcgary.org>
3773 * malloc/malloc.c (next_chunk, prev_chunk, inuse_bit_at_offset,
3774 set_inuse_bit_at_offset, clear_inuse_bit_at_offset, set_foot):
3775 Define in terms of chunk_at_offset.
3776 (inuse, set_inuse, clear_inuse): Define in terms of next_chunk.
3777 (next_bin, prev_bin): offset by size of real array elements.
3778 (chunk_align): Make `m' a scalar, since that's how it's used.
3780 2000-07-21 Greg McGary <greg@mcgary.org>
3782 * sysdeps/powerpc/bp-asm.h (DISCARD_BOUNDS): Rename from
3784 * sysdeps/powerpc/bits/setjmp.h (JB_SIZE): New constant.
3785 * sysdeps/powerpc/elf/libc-start.c (__libc_start_main):
3786 Wrap bounds around argv & envp and each of their string members.
3787 * sysdeps/powerpc/elf/start.S: Designate BP symbols.
3788 * sysdeps/unix/sysv/linux/powerpc/brk.S: Wrap entry-point
3789 symbol in BP_SYM (). Discard bounds of address arg.
3790 * sysdeps/unix/sysv/linux/powerpc/clone.S: Likewise.
3791 * sysdeps/unix/sysv/linux/powerpc/mmap64.c (__mmap64):
3792 Discard bounds on address arg, add bounds to return value.
3794 2000-07-20 Ulrich Drepper <drepper@redhat.com>
3796 * elf/Makefile (tests): Add filter. Add rules to generate filter.
3797 * elf/filter.c: New file.
3798 * elf/filtmod1.c: New file.
3799 * elf/filtmod2.c: New file.
3801 * elf/rtld.c: Define _dl_bind_not variable.
3802 (process_envvars): Recognize LD_BIND_NOT and set _dl_bind_not.
3803 * elf/dl-support.c: Likewise.
3804 * sysdeps/generic/ldsodefs.h: Declare _dl_bind_not.
3805 * elf/dl-runtime.c (fixup): Don't remember looked up value if
3807 (profile_fixup): Likewise.
3809 * libio/Makefile (routines): Add fwide.
3810 * libio/iofwide.c (_IO_fwide): Remove locking. This is done in
3811 fwide now. Internal calls to _IO_fwide must do locking themselves
3812 or don't need locking.
3813 * libio/fwide.c: New file.
3815 * elf/dl-load.c (_dl_map_object): Implement handling of DF_1_NODEFLIB.
3817 * elf/Makefile: Add no modules for nodelete test.
3818 * elf/nodelmod3.c: New file.
3819 * elf/nodelmod4.c: New file.
3820 * elf/nodelete.c: Also test case where dependency of dlopen() object
3823 * elf/Makefile (tests): Add nodlopen. Add rules to generate nodlopen.
3824 * elf/nodlopen.c: New file.
3825 * elf/nodlopenmod.c: New file.
3826 * include/dlfcn.h: Define __RTLD_DLOPEN.
3827 * elf/dl-load.c (_dl_map_object_from_fd): If DF_1_NOOPEN is set
3828 and this is a dlopen() call, do not load the binary.
3829 * dlfcn/dlopen.c: Add __RTLD_DLOPEN to mode passed down to _dl_open.
3830 * dlfcn/dlopenold.c: Likewise.
3831 * configure.in: Add test for -z nodelete option.
3832 * config.make.in: Define have-z-nodelete with libc_cv_z_nodelete.
3834 2000-07-20 Mark Kettenis <kettenis@gnu.org>
3836 Make Hesiod NSS module thread-safe.
3838 * hesiod/README.hesiod: Update.
3840 * hesiod/Versions [GLIBC_2.2]: Add _nss_hesiod_getservbyport_r,
3841 _nss_hesiod_setprotoent, _nss_hesiod_endprotoent,
3842 _nss_hesiod_getprotobyname_r, and _nss_hesiod_getprotobynumber_r.
3843 * hesiod/Makefile (libnss_hesiod-routines): Add hesiod-init and
3845 * hesiod/nss_hesiod/hesiod-init.c: New file.
3846 * hesiod/nss_hesiod/hesiod-pwd.c: Rewritten for thread-safeness.
3847 * hesiod/nss_hesiod/hesiod-grp.c: Likewise.
3848 * hesiod/nss_hesiod/nss_hesiod.h: New file.
3849 * hesiod/nss_hesiod/hesiod-service.c
3850 (_nss_hesiod_getservbyport_r): New function. Provide support for
3851 looking up services by port number.
3852 * hesiod/nss_hesiod/hesiod-proto.c: New file.
3854 * hesiod/hesiod.c: Update from BIND 8.2.3-T5B.
3855 * hesiod/hesiod.h: Likewise.
3856 * hesiod/hesiod_p.h: Likewise.
3858 2000-07-20 Mark Kettenis <kettenis@gnu.org>
3860 Fix problems with `struct __res_state' getting too big.
3861 * resolv/resolv.h (struct __sockaddr_in): New definition.
3862 (struct __res_state): Use __sockaddr_in instead of sockaddr_in in
3863 the private parts of the structure to save some space.
3864 * resolv/res_send.c (res_nsend): Cast &EXT(statp).nsaddrs[ns] to
3865 (struct sockaddr_in *) in call to sock_eq.
3866 Use memcpy to copy statp->nsaddr_list[ns] to &EXT(statp).nsaddrs[ns].
3868 2000-07-20 Ulrich Drepper <drepper@redhat.com>
3870 * elf/elf.h: Add various DF_1_*, DTF_1_*, and DF_P1_* entries.
3871 * elf/dl-close.c (_dl_close): Don't close an object if it is marked
3873 * elf/dl-open.c (dl_open_worker): Pass RTLD_NOLOAD as new parameter
3874 to _dl_map_object. Return immediately if no object loaded.
3875 Set DF_1_NODELETE bit in l_flags_1 if RTLD_NODELETE was passed.
3876 * elf/dynamic-link.h (elf_get_dynamic_info): Copy DT_FLAGS_1 entry
3877 if it exists into l_flags_1 word.
3878 * elf/dl-load.c (_dl_map_object_from_fd): Take no parameter and use
3879 it to determine whether loading is wanted or not.
3880 (_dl_map_object): Likewise.
3881 Call _dl_map_object_from_fd with new parameter.
3882 * sysdeps/generic/ldsodefs.h: Update prototype.
3883 * elf/dl-deps.c: Add new parameter to _dl_map_object calls.
3884 * elf/rtld.c: Likewise.
3885 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
3886 * elf/Makefile (tests): Add noload. Add rules to generate noload.
3887 * elf/noload.c: New file.
3888 * include/link.h (struct link_map): Add l_feature_1 and l_flags_1.
3889 * sysdeps/generic/bits/dlfcn.h: Define RTLD_NOLOAD and RTLD_NODELETE.
3890 * sysdeps/mips/bits/dlfcn.h: Likewise.
3891 * elf/Makefile (tests): Add $(tests-nodelete-$(have-z-nodelete)).
3892 (tests-nodelete-yes): Define.
3893 (modules-names): Add $(modules-nodelete-$(have-z-nodelete)).
3894 Add rules to build nodelete and modules.
3895 * elf/nodelete.c: New file.
3896 * elf/nodelmod1.c: New file.
3897 * elf/nodelmod2.c: New file.
3898 * configure.in: Add test for -z nodelete option.
3899 * config.make.in: Define have-z-nodelete with libc_cv_z_nodelete.
3901 * libio/Makefile (tests): Add tst_wprintf2.
3902 (tst_wprintf2-ARGS): Define.
3903 * libio/tst_wprintf2.c: New file.
3904 Based on a test case by Yoshito Kawada <KAWADA@jp.ibm.com>.
3906 * libio/wfiledoalloc.c: Only allocate external buffer if this
3907 hasn't happened yet.
3909 * libio/wfileops.c (_IO_wdo_write): Overflow only if there is really
3910 something in the buffer. gconv call can write up to end of the
3911 buffer, not only _IO_write_end.
3912 (_IO_wfile_overflow): Allocate also external buffer.
3914 2000-07-19 Ulrich Drepper <drepper@redhat.com>
3916 * stdio-common/vfprintf.c (process_string_arg): Handle multibyte
3917 strings with precision in vfwprintf correctly.
3918 * stdio-common/vfprintf.c: Fix completely broken handling of
3919 unbuffered wide character streams.
3920 Reported by Yoshito Kawada <KAWADA@jp.ibm.com>.
3922 * resolv/Makefile (distribute): Add README.
3924 * resolv/README: New file. By Mark Kettenis <kettenis@gnu.org>.
3926 2000-07-18 Mark Kettenis <kettenis@gnu.org>
3928 Update resolver code to BIND 8.2.3-T5B.
3930 * resolv/Versions [GLIBC_2.2] (libc): Add __res_init and
3932 [GLIBC_2.2] (libresolv): Add __dn_expand, __ns_samename,
3933 __res_mkquery, __res_nsend, __res_query, __res_querydomain and
3935 * resolv/Banner: BIND-8.2.3-T5B.
3937 * resolv/base64.c: Update from BIND 8.2.3-T5B.
3938 * resolv/herror.c: Likewise.
3939 * resolv/inet_addr.c: Likewise.
3940 * resolv/inet_net_ntop.c: Likewise.
3941 * resolv/inet_net_pton.c: Likewise.
3942 * resolv/inet_neta.c: Likewise.
3943 * resolv/inet_ntop.c: Likewise.
3944 * resolv/nsap_addr.c: Likewise.
3945 * resolv/inet_pton.c: Likewise. Reject a few more more invalid
3946 IPv6 addresses (ISC bug #520).
3948 * resolv/ns_name.c: Avoid emitting RCS ID in object file.
3949 * resolv/ns_parse.c: Likewise.
3950 * resolv/ns_netint.c: Likewise.
3951 * resolv/ns_samedomain.c: Likewise.
3952 * resolv/ns_ttl.c: Likewise.
3953 * resolv/ns_print.c: Update from BIND 8.2.3-T5B. Avoid emitting
3954 RCS ID in object file.
3956 * resolv/res_debug.c: Update from BIND 8.2.3-T5B.
3957 * resolv/res_mkquery.c: Likewise.
3958 * resolv/res_query.c: Likewise.
3959 * resolv/res_init.c: Likewise.
3960 (res_setoptions): Mark internal.
3961 * resolv/res_send.c: Likewise.
3962 [_LIBC]: Fully reinstate the code that avoids the FD_SETSIZE limit
3963 by using poll instead.
3964 * resolv/res_comp.c: Likewise.
3965 [SHLIB_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_2)]: Make dn_expand a
3966 weak alias for __dn_expand.
3967 * resolv/res_data.c: Likewise.
3968 (res_close) [_LIBC]: Don't call res_nclose if RES_INIT isn't set
3969 in _res.options. Avoids a potential security risk by avoiding a
3971 [SHLIB_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_2)]: Make
3972 res_mkquery, res_query, res_querydomain adn res_search weak
3973 aliases for __res_mkquery, __res_query, __res_querydomain and
3975 * resolv/res_libc.c: (_res): Don't initialize. Fix res_close
3976 instead to avoid close(0).
3977 (res_init): Always use the static resolver context.
3978 [SHLIB_COMPAT (libc, GLIBC_2.0, GLIBC_2_2)]: Make res_init a weak
3979 alias for __res_init.
3981 * resolv/resolv.h: Update from BIND 8.2.3-T5B. Move definition of
3982 RES_SET_H_ERRNO and accompanying comment to...
3983 * include/resolv.h: ... here.
3985 * resolv/arpa/namser.h: Update from BIND 8.2.3-T5B.
3986 * resolv/arpa/nameser_compat.h: Likewise.
3988 2000-07-18 Ulrich Drepper <drepper@redhat.com>
3990 * nss/makedb.c (main): Compare result of load_db with
3991 NSS_STATUS_SUCCESS and not 0.
3992 Patch by Jan Rekorajski <baggins@sith.mimuw.edu.pl>.
3994 * sysdeps/unix/sysv/linux/Versions: Export __sysctl for GLIBC_2.2.
3996 2000-07-18 Greg McGary <greg@mcgary.org>
3998 * posix/regex.c (EXTEND_BUFFER_HIGH_BOUND): New macro.
3999 (EXTEND_BUFFER): Use it.
4001 2000-07-18 Ulrich Drepper <drepper@redhat.com>
4003 * include/libc-symbols.h: Define RETURN_ADDRESS macro.
4004 * dlfcn/dlopen.c: Use RETURN_ADDRESS instead of
4005 __builtin_return_address.
4006 * dlfcn/dlopenold.c: Likewise.
4007 * dlfcn/dlsym.c: Likewise.
4008 * dlfcn/dlvsym.c: Likewise.
4009 * elf/dl-profstub.c: Likewise.
4010 * malloc/malloc.c: Likewise.
4011 * sysdeps/generic/machine-gmon.h: Likewise.
4012 Based on a patch by schwidefsky@de.ibm.com.
4014 2000-07-18 Andreas Jaeger <aj@suse.de>
4016 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Pass 0 instead of
4017 NULL to elf_machine_fixup_plt t argument to silence GCC.
4019 * include/string.h: Add prototype for __memchr.
4021 * sysdeps/alpha/memchr.S: Fix copy & error in weak_alias.
4023 * sysdeps/generic/memchr.c: Fix copy & paste error: Use memchr
4026 2000-07-18 Ulrich Drepper <drepper@redhat.com>
4028 * intl/Makefile: Make sure tst-translit is run after tst-gettext.
4030 * locale/C-ctype.c: Add initializers for gap elements.
4031 * locale/programs/ld-ctype.c (ctype_output): Write out index entries
4034 2000-07-16 Ulrich Drepper <drepper@redhat.com>
4036 * nscd/nscd.c (print_version): Update copyright year.
4038 2000-07-17 Greg McGary <greg@mcgary.org>
4040 * sysdeps/unix/make-syscalls.sh: Handle new arg signature
4041 keyletters F, I, S, W. Remove unused keyletter V. Surround
4042 signature argnames with angle-brackets for use as word delimiters,
4043 and to induce syntax errors for any args not handled. Split
4044 multi-echo echoes and comment each stage.
4045 * sysdeps/unix/common/syscalls.list: Refine & correct signatures.
4046 * sysdeps/unix/inet/syscalls.list: Likewise.
4047 * sysdeps/unix/mman/syscalls.list: Likewise.
4048 * sysdeps/unix/syscalls.list: Likewise.
4049 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
4050 * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
4051 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
4052 * sysdeps/unix/sysv/syscalls.list: Likewise.
4053 * sysdeps/unix/sysv/linux/powerpc/syscalls.list
4055 * sysdeps/generic/strcpy.c (strcpy): Stifle unused-value warnings.
4056 * sysdeps/unix/sysv/linux/execve.c (__execve): Add const
4057 qualifiers. Don't check NULL-terminator of argv & envp.
4058 * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path): Use
4059 unbounded pointer type in word-size assertion.
4060 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Add missing
4061 cases to stifle warnings.
4063 * libio/iofdopen.c (_IO_new_fdopen): Pass _IO_FILE_plus pointer to
4065 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
4067 * include/libc-symbols.h (symbol_set_declare): Revert 2000-06-26 mods.
4068 * include/set-hooks.h (RUN_HOOK): Revert 2000-06-26 mods. Qualify
4071 * Makerules (o-objects): Supplement with $(o-objects$o).
4072 * string/Makefile (o-objects.ob): Add variable to pull
4073 unbounded versions of memcpy, memset and memchr into libc_b.
4075 * sysdeps/generic/bp-checks.h: Use unbounded __memchr
4076 rather than non-existent __ubp_memchr.
4077 (CHECK_STRINGopt, CHECK_FCNTL, BOUNDED_N, BOUNDED_1): New macros.
4078 (_CHECK_STRING, _CHECK_N): New macros.
4079 (CHECK_STRING, CHECK_N, CHECK_Nopt): Rewrite in terms of _CHECK_*.
4080 (CHECK_IOCTL): Move inside `#if !__ASSEMBLER__'.
4081 * sysdeps/alpha/memchr.S: Change strong name to "__memchr".
4082 Add weak alias "memchr".
4083 * sysdeps/generic/memchr.c: Likewise.
4084 * sysdeps/i386/memchr.S: Likewise.
4085 * sysdeps/ia64/memchr.S: Likewise.
4086 * sysdeps/m68k/memchr.S: Likewise.
4087 * sysdeps/sparc/sparc32/memchr.S: Likewise.
4088 * sysdeps/sparc/sparc64/memchr.S: Likewise.
4089 * sysdeps/vax/memchr.s: Likewise.
4091 * iconv/gconv_trans.c: Add #include <stdlib.h> to get malloc decl.
4093 * elf/dl-runtime.c (fixup): Trampoline passes unbounded pointer.
4094 (profile_fixup): Don't define for __BOUNDED_POINTERS__.
4095 * sysdeps/i386/dl-machine.h: Don't use regparm attribute for
4096 __BOUNDED_POINTERS__.
4097 (ELF_MACHINE_RUNTIME_TRAMPOLINE): Use non-regparm version
4098 for __BOUNDED_POINTERS__.
4100 2000-07-17 Bruno Haible <haible@clisp.cons.org>
4102 * iconv/gconv_open.c (__gconv_open): Initialize the __data
4103 field of struct __gconv_trans_data differently. Don't pass NULL to
4104 trans_init_fct. Simplify list append operation.
4106 2000-07-14 Bruno Haible <haible@clisp.cons.org>
4108 * intl/dcigettext.c (dcigettext): Call plural_eval on all platforms,
4109 not only those having tsearch.
4111 2000-07-17 Ulrich Drepper <drepper@redhat.com>
4113 * locale/langinfo.h: Add placeholder values in enum for removed
4116 2000-07-17 Jakub Jelinek <jakub@redhat.com>
4118 * elf/dl-addr.c (_dl_addr): Keep searching in the _dl_loaded
4119 chain if the PHDR check fails.
4121 2000-07-17 Mark Kettenis <kettenis@gnu.org>
4123 * nss/getent.c (print_hosts): Make sure we always print a space
4124 between numeric addresses and hostnames.
4126 2000-07-17 Wolfram Gloger <wg@malloc.de>
4128 * malloc/malloc.c (chunk_alloc): Use mmap_chunk() only if allowed,
4129 i.e. if n_mmaps_max>0.
4131 2000-07-16 Mark Kettenis <kettenis@gnu.org>
4133 * resolv/netdb.h (AI_V4MAPPED, AI_ALL, AI_ADDRCONFIG): Adjust
4134 values to remove possible clash with other AI_* constants.
4135 (AI_PASSIVE, AI_CANONNAME, AI_NUMERICHOST): Define as
4136 hexadecimal constants to stress the fact they're in fact
4139 2000-07-15 Mark Kettenis <kettenis@gnu.org>
4141 * nss/getXXent_r.c [NEED__RES]: Include <resolv.h>.
4142 (SETFUNC_NAME, ENDFUNC_NAME, REENTRANT_GETNAME): Use res_ninit
4143 instead of res_init.
4145 2000-07-16 Ulrich Drepper <drepper@redhat.com>
4147 * crypt/md5-crypt.c (__md5_crypt_r): Add casts for first
4148 parameters of memset calls to avoid warnings.
4150 2000-07-15 Ulrich Drepper <drepper@redhat.com>
4152 * stdlib/Makefile: Rewrite rules to avoid running isomac unless
4155 * sysdeps/unix/sysv/linux/getcwd.c: Correct last patch.
4156 Patch by Greg McGary <greg@mcgary.org>.
4158 * io/Makefile (tests): Add tst-getcwd.
4159 * io/tst-getcwd.c: New file.
4161 * io/Makefile: Rewrite rules to avoid running ftwtest unless necessary.
4163 2000-07-15 Jakub Jelinek <jakub@redhat.com>
4165 * iconv/gconv_open (__gconv_open): Initialize whole __gconv_trans_data
4168 2000-07-13 Jakub Jelinek <jakub@redhat.com>
4170 * sysdeps/posix/sysconf.c: Undef __sysconf before weak_alias.
4171 * sysdeps/unix/bsd/getpt.c: Undef __getpt before weak_alias.
4173 2000-07-12 H.J. Lu <hjl@gnu.org>
4175 * sysdeps/unix/sysv/linux/ia64/Versions (libc): Add __clone2 to
4177 * sysdeps/unix/sysv/linux/ia64/Dist: Add clone2.S.
4178 * sysdeps/unix/sysv/linux/ia64/Makefile [$(subdir)=misc]
4179 (sysdep-routines): Add clone2.
4180 * sysdeps/unix/sysv/linux/ia64/clone2.S: New.
4182 2000-07-13 Jes Sorensen <jes@linuxcare.com>
4184 * sysdeps/unix/sysv/linux/ia64/clone.S: New file.
4185 * sysdeps/unix/sysv/linux/ia64/fork.c: New file.
4187 2000-06-05 David Mosberger <davidm@hpl.hp.com>
4189 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: New file
4190 based on sysdeps/unix/sysv/linux/bits/siginfo.h.
4191 Change type of si_band from "int" to "long".
4192 (si_imm) [USE_GNU]: Define
4193 (si_isr) [USE_GNU]: Ditto.
4194 (ILL_BREAK) [USE_GNU]: Ditto.
4195 (FPE_DECOVF) [USE_GNU]: Ditto.
4196 (FPE_DECDIV) [USE_GNU]: Ditto.
4197 (FPE_DECERR) [USE_GNU]: Ditto.
4198 (FPE_INVASC) [USE_GNU]: Ditto.
4199 (FPE_INVDEC) [USE_GNU]: Ditto.
4200 (TRAP_BRANCH) [USE_GNU]: Ditto.
4201 (TRAP_HWBKPT) [USE_GNU]: Ditto.
4203 2000-07-06 Jes Sorensen <jes@linuxcare.com>
4205 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
4206 bits/sigcontext as struct mcontext does not depend on it.
4208 * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h: New file.
4210 2000-07-04 Jes Sorensen <jes@linuxcare.com>
4212 * sysdeps/unix/sysv/linux/ia64/shmctl.c: Removed.
4214 2000-07-04 David Mosberger-Tang <davidm@hpl.hp.com>
4216 * sysdeps/unix/sysv/linux/ia64/bits/msq.h: New file.
4218 2000-06-22 Jes Sorensen <jes@linuxcare.com>
4220 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: New file.
4222 2000-07-15 Ulrich Drepper <drepper@redhat.com>
4224 * intl/Makefile (test-srcs): Add tst-translit.
4226 Add rules to build and run tst-translit.
4227 * intl/tst-translit.c: New file.
4228 * intl/tst-translit.sh: New file.
4229 * intl/translit.po: New file.
4231 2000-07-14 Ulrich Drepper <drepper@redhat.com>
4233 * iconv/loop.c (STANDARD_ERR_HANDLER): If one of the
4234 transliteration function did its job, continue, don't stop.
4236 * iconvdata/iso646.c: Little optimizations in body for conversion
4239 2000-07-14 Mark Kettenis <kettenis@gnu.org>
4241 * dlfcn/dlerror.c (free_key_mem): Add cast to silence compiler warning.
4243 2000-07-14 Mark Kettenis <kettenis@gnu.org>
4245 * configure.in: Check for pwd binary.
4246 * config.make.in: Add PWD_P to be subsituted.
4247 * Makerules: Use $(PWD_P) instead of /bin/pwd.
4249 2000-07-14 Ulrich Drepper <drepper@redhat.com>
4251 * iconvdata/Makefile (modules): Add GB18030.
4252 (distribute): Add gb18030.c.
4253 * iconvdata/gconv-modules: Add entries for GB18030 module.
4254 * iconvdata/gb18030.c: New file.
4255 Contributed by Wang ShouHua <shouhuawang@redflag-linux.com>
4258 2000-07-13 Andreas Jaeger <aj@suse.de>
4260 * sysdeps/unix/sysv/linux/getsysstats.c (free_mem): Revert last
4263 * grp/fgetgrent.c (free_mem): Remove if - free (0) is valid.
4264 * inet/getnetgrent.c (free_mem): Likewise.
4265 * misc/mntent.c (free_mem): Likewise.
4266 * nss/getXXbyYY.c (free_mem): Likewise.
4267 * nss/getXXent.c (free_mem): Likewise.
4268 * pwd/fgetpwent.c (free_mem): Likewise.
4269 * shadow/fgetspent.c (free_mem): Likewise.
4271 2000-07-14 Ulrich Drepper <drepper@redhat.com>
4273 * sunrpc/xdr.c (xdr_u_long): Handle reading of unsigned long on
4274 64-bit architecture correctly [PR libc/1794].
4276 2000-07-13 Ulrich Drepper <drepper@redhat.com>
4278 * elf/Versions (ld): Export _dl_out_of_memory for GLIBC_2.2.
4279 * dlfcn/dlerror.c (dlerror): Don't free the error string if it is the
4280 report that we are out of memory.
4281 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
4282 * elf/dl-libc.c (dlerror_run): Likewise.
4283 * elf/dl-open.c (_dl_open): Likewise.
4284 * elf/rtld.c (dl_main): Likewise.
4285 * elf/dl-error.c: Define _dl_out_of_memory.
4286 (_dl_signal_error): Return _dl_out_of_memory if we cannot duplicate
4288 * sysdeps/generic/ldsodefs.h: Declare _dl_out_of_memory.
4291 * dlfcn/dlerror.c (free_key_mem): Also free error string.
4293 * iconv/loop.c: Fix comment.
4295 * malloc/mtrace.c (tr_freehook): Return immediately if ptr is NULL.
4297 2000-07-13 Andreas Jaeger <aj@suse.de>
4299 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Correctly handle
4300 getcwd (NULL, size) with size > 0.
4301 Fixes PR libc/1788, reported by John Buddery <jvb@cyberscience.com>.
4303 2000-07-13 Andreas Jaeger <aj@suse.de>
4305 * posix/Makefile: Remove build rules for libposix.
4307 2000-07-13 Andreas Schwab <schwab@suse.de>
4309 * sysdeps/generic/glob.c (glob): Fix memory leak.
4310 [SHELL]: Remove reference to undefined variable `files'.
4313 2000-07-13 Andreas Jaeger <aj@suse.de>
4315 * sysdeps/unix/sysv/linux/mips/Versions: Add libgcc frame handling
4318 * sysdeps/unix/sysv/linux/getsysstats.c (free_mem): Only free
4319 memory if it was allocated.
4321 2000-07-12 Ulrich Drepper <drepper@redhat.com>
4323 * iconv/gconv_db.c (gen_steps): Always initialize __data field of
4326 * iconv/gconv_open.c (__gconv_open): Reapply
4327 2000-07-12 Bruno Haible <haible@clisp.cons.org>
4329 * iconv/gconv_open.c (__gconv_open): Merge duplicated code.
4331 * iconv/gconv_open.c: Undo last two changes for now. They break
4334 2000-07-12 Andreas Jaeger <aj@suse.de>
4336 * elf/Makefile (SYSCONF-FLAGS): Added to pass sysconfdir to
4338 (CFLAGS-cache.c): Added, uses SYSCONF-FLAGS.
4339 (CFLAGS-dl-cache.c): Likewise.
4340 (CFLAGS-ldconfig.c): Added, passes directory locations.
4342 * sysdeps/generic/dl-cache.h (LD_SO_CACHE): Use SYSCONFDIR to
4344 * elf/ldconfig.c (LD_SO_CONF): Likewise.
4345 (main): Use configured LIBDIR and SLIBDIR.
4347 2000-07-11 Jakub Jelinek <jakub@redhat.com>
4349 * math/bits/cmathcalls.h (cimag): Add __THROW.
4350 (creal, conj): Likewise.
4351 * wctype/wctype.h (_ISwbit): Avoid warnings about shifting left
4354 2000-07-12 H.J. Lu <hjl@gnu.org>
4356 * resolv/Versions (libresolv): Add __res_hostalias to GLIBC_2.2
4357 for _nss_dns_gethostbyname2_r in resolv/nss_dns/dns-host.c.
4359 2000-07-12 Ulrich Drepper <drepper@redhat.com>
4361 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Shut gcc up although
4364 2000-07-12 Bruno Haible <haible@clisp.cons.org>
4366 * iconv/gconv_open.c (__gconv_open): Merge duplicated code.
4368 2000-07-12 Bruno Haible <haible@clisp.cons.org>
4370 * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Initialize
4373 2000-07-12 Bruno Haible <haible@clisp.cons.org>
4375 * iconv/gconv_open.c (__gconv_open): Initialize
4376 result->__steps[cnt].__data.
4378 2000-07-12 Mark Kettenis <kettenis@gnu.org>
4380 * nss/getent.c (services_keys): Pass port number in network byte
4381 order in call to getservbyport.
4383 2000-07-11 Andreas Jaeger <aj@suse.de>
4385 * stdlib/Makefile (test-canon-ARGS): Fix for building in the
4387 * intl/Makefile (do-gettext-test): Likewise.
4388 * dirent/Makefile (opendir-tst1-ARGS): Likewise.
4390 2000-07-11 Andreas Schwab <schwab@suse.de>
4392 * Makeconfig (run-program-prefix): New rule.
4393 (built-program-cmd): Use run-program-prefix.
4395 2000-07-12 Ulrich Drepper <drepper@redhat.com>
4397 * locale/langinfo.h: Make CRNCYSTR, RADIXCHAR, THOUSANDS_SEP, YESEXPR,
4398 and NOEXPR unconditionally available.
4400 2000-07-12 Greg McGary <greg@mcgary.org>
4402 * sysdeps/generic/open64.c: Wrap extern symbols in BP_SYM ().
4403 * sysdeps/posix/open64.c: Likewise.
4404 * sysdeps/generic/fegetenv.c: Likewise.
4405 * sysdeps/powerpc/fpu/fegetenv.c: Likewise.
4406 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
4407 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
4408 * sysdeps/powerpc/fpu/fgetexcptflg.c: Likewise.
4409 * sysdeps/powerpc/fpu/fraiseexcpt.c: Likewise.
4410 * sysdeps/powerpc/fpu/fsetexcptflg.c: Likewise.
4412 2000-07-11 Greg McGary <greg@mcgary.org>
4414 * include/libc-symbols.h [!__ASSEMBLER__] (strong_alias):
4415 Add extra level of macro expansion.
4416 [!__ASSEMBLER__ && HAVE_WEAK_SYMBOLS] (weak_alias): nLikewise.
4417 * sysdeps/generic/bp-thunks.h: Ensure `struct timeval' definition
4418 is available at the time `select' prototype is declared.
4419 * sysdeps/unix/make-syscalls.sh: Remove unused variables.
4420 Collect non-versioned weak aliases. Consider only non-versioned
4421 aliases for the user-visible systemcall name. Do checks inline with
4422 call to primitive system call.
4423 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Add void cast to
4424 stand-alone bounds checks to suppress unused value warnings.
4425 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
4427 2000-07-10 Mark Kettenis <kettenis@gnu.org>
4429 * sysdeps/mach/hurd/check_fds.c: New file. Implements
4430 file descriptor checking in SUID programs for the Hurd.
4432 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname2_r): Use
4433 res_hostalias instead of __hostalias for thread-safety.
4435 2000-07-09 Mark Kettenis <kettenis@gnu.org>
4437 * elf/rtld.c (dl_main): Move call to __libc_check_standard_fds...
4438 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): ... to here.
4440 2000-07-10 Ulrich Drepper <drepper@redhat.com>
4442 * include/features.h: Include ISO C99 features if the compiler used
4443 is an ISO C99 compiler.
4444 Patch by Joseph S. Myers <jsm28@cam.ac.uk>.
4446 2000-07-08 Mark Kettenis <kettenis@gnu.org>
4448 * iconv/gconv_conf.c: Include <bits/libc-lock.h>.
4450 2000-07-10 Andreas Jaeger <aj@suse.de>
4452 * sysdeps/unix/sysv/linux/i386/sigaction.c: Make alias weak since
4453 it's overridden by libpthreads.
4454 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
4455 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
4456 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
4457 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
4458 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
4460 * malloc/Makefile: Run tst-mtrace only with shared libs.
4462 * stdio-common/Makefile: Run unbputc and tst-printf tests only
4465 2000-07-10 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
4467 * sysdeps/mips/dl-machine.h (elf_machine_runtime_link_map): Verify
4468 that gpreg really points to the GOT section of the calling object.
4469 Scan all PT_LOAD segments of objects for stub_pc, instead of only
4470 checking a start address of first one.
4472 * sysdeps/mips/mips64/dl-machine.h (elf_machine_runtime_link_map):
4475 * sysdeps/mips/dl-machine.h (__dl_runtime_resolve): Fix a typo.
4477 2000-07-10 Andreas Jaeger <aj@suse.de>
4479 * sysdeps/unix/sysv/linux/sigaction.c: Fix typo
4480 (string_alias->strong_alias).
4482 2000-07-08 Mark Kettenis <kettenis@gnu.org>
4484 * hurd/hurd/fd.h: Include <cthreads.h> instead of <lock-intern.h>.
4486 2000-07-07 Greg McGary <greg@mcgary.org>
4488 * sysdeps/unix/make-syscalls.sh: Tolerate syscalls that
4489 have no names without leading underscores.
4491 2000-07-07 Ulrich Drepper <drepper@redhat.com>
4493 * iconvdata/sjis.c (from_ucs4_lat1): Fix mappng of U005C and
4496 * stdio-common/Makefile (tests): Remove tst-printf here...
4497 (tests-srcs): ...and add it here.
4498 (distribute): Add tst-unbputc.sh and tst-printf.sh.
4499 Add rules to run tst-printf.sh.
4500 * stdio-common/tst-printf.c: Move code around so that there is really
4501 no further output where it's stated.
4502 * stdio-common/tst-printf.sh: New file.
4504 2000-07-07 Mark Kettenis <kettenis@gnu.org>
4506 * hurd/vpprintf.c [USE_IN_LIBIO]: Include <libioP.h>.
4507 (do_write): Renamed from pwrite.
4508 (vpprintf) [USE_IN_LIBIO]: Adjust for renaming and reshufling of
4509 `struct _IO_cookie_file'.
4511 2000-07-07 Ulrich Drepper <drepper@redhat.com>
4513 * malloc/mtrace.pl: Exit with exit code 1 if any leak was
4515 * malloc/tst-mtrace.sh: Run mtrace script.
4517 2000-07-07 Greg McGary <greg@mcgary.org>
4519 * posix/regex.c (EXTEND_BUFFER): Compute increment once.
4520 Move all three components of a bounded pointer.
4522 2000-07-07 Ulrich Drepper <drepper@redhat.com>
4524 * locale/programs/locale.c (write_locales): Don't simply add all
4525 directories found in the subdir, test whether at least the
4526 LC_CTYPE file is in there.
4528 2000-07-06 Ulrich Drepper <drepper@redhat.com>
4530 * iconvdata/euc-jp.c: Map characters in C1 area to itself.
4531 * iconvdata/euc-kr.c: Likewise.
4533 * stdio-common/vfprintf.c (process_string_arg): Check result of
4534 wcrtomb call and bail out if it failed.
4536 * malloc/Makefile (test-srcs): Add tst-mtrace.
4537 (distribute): Add tst-mtrace.sh.
4538 Add rule to run tst-mtrace.sh.
4539 * malloc/tst-mtrace.c: New file.
4540 * malloc/tst-mtrace.sh: New file.
4542 * include/signal.h: Declare __libc_sigaction.
4543 * sysdeps/unix/sysv/linux/Versions: Export __libc_sigaction.
4544 * sysdeps/unix/sysv/linux/sigaction.c: Add __libc_sigaction alias.
4545 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
4546 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
4547 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
4548 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
4549 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
4551 * configure.in: Fix CFLAGS-memprofstat.c definition after
4553 Patch by Bradford W. Johnson <bradford@math.umn.edu>.
4555 2000-07-06 Jakub Jelinek <jakub@redhat.com>
4557 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Pass 0
4558 instead of NULL to elf_machine_fixup_plt t argument.
4559 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
4560 * sysdeps/unix/sysv/linux/sparc/sparc32/mmap64.c (__mmap64): Add
4563 2000-07-06 Andreas Jaeger <aj@suse.de>
4565 * crypt/Makefile (LDLIBS-cert): Removed.
4566 (LDLIBS-md5c-test): Removed.
4567 ($(objpfx)cert): Renamed from cert.out to fix dependencies.
4568 ($(objpfx)md5c-test): Likewise for md5c-test.out.
4570 2000-07-06 Andreas Jaeger <aj@suse.de>
4572 * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path): The type
4573 of the proc system is "proc".
4575 * sysdeps/generic/libc-start.c (__libc_start_main): Initialize
4576 thread library for static programs.
4578 2000-07-06 Greg McGary <greg@mcgary.org>
4580 * sysdeps/generic/bp-checks.h (CHECK_SIGSET, CHECK_SIGSETopt):
4582 * sysdeps/generic/strcpy.c: Add bounds checks.
4583 * sysdeps/unix/fxstat.c: Likewise.
4584 * sysdeps/unix/xstat.c: Likewise.
4585 * sysdeps/unix/common/lxstat.c: Likewise.
4586 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
4587 * sysdeps/unix/sysv/linux/execve.c: Likewise.
4588 * sysdeps/unix/sysv/linux/fxstat.c: Likewise.
4589 * sysdeps/unix/sysv/linux/fxstat64.c: Likewise.
4590 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
4591 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
4592 * sysdeps/unix/sysv/linux/llseek.c: Likewise.
4593 * sysdeps/unix/sysv/linux/lxstat.c: Likewise.
4594 * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
4595 * sysdeps/unix/sysv/linux/poll.c: Likewise.
4596 * sysdeps/unix/sysv/linux/pread.c: Likewise.
4597 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
4598 * sysdeps/unix/sysv/linux/ptrace.c: Likewise.
4599 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
4600 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
4601 * sysdeps/unix/sysv/linux/readv.c: Likewise.
4602 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
4603 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
4604 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
4605 * sysdeps/unix/sysv/linux/sigqueue.c: Likewise.
4606 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
4607 * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
4608 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
4609 * sysdeps/unix/sysv/linux/sysctl.c: Likewise.
4610 * sysdeps/unix/sysv/linux/truncate64.c: Likewise.
4611 * sysdeps/unix/sysv/linux/ustat.c: Likewise.
4612 * sysdeps/unix/sysv/linux/writev.c: Likewise.
4613 * sysdeps/unix/sysv/linux/xmknod.c: Likewise.
4614 * sysdeps/unix/sysv/linux/xstat.c: Likewise.
4615 * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
4616 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
4617 * sysdeps/unix/sysv/linux/i386/brk.c: Likewise.
4618 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
4619 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
4620 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
4621 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
4622 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
4623 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Likewise.
4624 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
4625 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
4626 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
4627 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
4628 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
4629 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
4630 * sysdeps/unix/sysv/linux/ia64/fxstat.c: Likewise.
4631 * sysdeps/unix/sysv/linux/ia64/lxstat.c: Likewise.
4632 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
4633 * sysdeps/unix/sysv/linux/ia64/sigpending.c: Likewise.
4634 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c: Likewise.
4635 * sysdeps/unix/sysv/linux/ia64/sigsuspend.c: Likewise.
4636 * sysdeps/unix/sysv/linux/ia64/xstat.c: Likewise.
4637 * sysdeps/unix/sysv/linux/m68k/chown.c: Likewise.
4638 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
4639 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
4640 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
4641 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
4642 * sysdeps/unix/sysv/linux/mips/truncate64.c: Likewise.
4643 * sysdeps/unix/sysv/linux/mips/ustat.c: Likewise.
4644 * sysdeps/unix/sysv/linux/mips/xmknod.c: Likewise.
4645 * sysdeps/unix/sysv/linux/sparc/sparc32/mmap64.c: Likewise.
4646 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
4647 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Likewise.
4648 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Likewise.
4649 * sysdeps/unix/sysv/linux/sparc/sparc64/sigsuspend.c: Likewise.
4651 * string/endian.h (__LONG_LONG_PAIR): New macro.
4652 * sysdeps/unix/sysv/linux/ftruncate64.c: Use it.
4653 * sysdeps/unix/sysv/linux/pread.c: Likewise.
4654 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
4655 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
4656 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
4657 * sysdeps/unix/sysv/linux/truncate64.c: Likewise.
4658 * sysdeps/unix/sysv/linux/mips/ftruncate64.c: Likewise.
4659 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
4660 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
4661 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
4662 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
4663 * sysdeps/unix/sysv/linux/mips/truncate64.c: Likewise.
4665 * sysdeps/unix/sysv/linux/sys/ptrace.h (PT_SYSCALL): Fix LHS.
4667 2000-07-06 Andreas Jaeger <aj@suse.de>
4669 * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path):
4672 * math/test-fpucw.c: Include <stdio.h> for printf.
4674 2000-07-05 Greg McGary <greg@mcgary.org>
4676 * sysdeps/generic/bp-checks.h: New file.
4677 * sysdeps/generic/bp-thunks.h: Replace generic thunk definitions
4678 with list of #include files.
4679 * sysdeps/unix/make-syscalls.sh: Handle new arg signature
4680 keyletters a, b, B, f, n, N, P, v, V. Fixup some indentation.
4681 Don't generate BP thunk if `V' appears in signature.
4682 Generate thunks with complete bounds checks.
4683 * sysdeps/unix/syscalls.list: Refine signatures using new keyletters.
4684 * sysdeps/unix/inet/syscalls.list: Likewise.
4685 * sysdeps/unix/mman/syscalls.list: Likewise.
4686 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
4687 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
4688 * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
4689 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Likewise.
4691 2000-07-05 Ulrich Drepper <drepper@redhat.com>
4693 * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path): Cache
4694 result. Search first in /etc/mtab (proc/mounts would be stupid).
4695 If mount not in the file fall back on /proc.
4697 * crypt/md5-crypt.c (__md5_crypt_r): Clear arrays the key and salt
4698 string got copied in.
4699 Patch by Solar Designer <solar@false.com>.
4701 2000-07-05 Andreas Jaeger <aj@suse.de>
4703 * manual/install.texi (Installation): Update information about
4705 (Configuring and compiling): Update for glibc 2.2.
4707 2000-07-04 Andreas Jaeger <aj@suse.de>
4709 * sysdeps/i386/fpu_control.h (_FPU_DEFAULT): Correct value.
4710 (_FPU_IEEE): Likewise.
4712 * math/Makefile (tests): Add test-fpucw.
4714 * math/test-fpucw.c (main): New file.
4716 2000-07-05 Ulrich Drepper <drepper@redhat.com>
4718 * locale/loadlocale.c (_nl_unload_locale): Add cast to avoid warning.
4720 * locale/programs/ld-collate.c (collate_output): Also write out the
4721 collation sequence values and the wide character string for the
4722 collation symbol table.
4724 * posix/fnmatch.c: Include "../locale/elem-hash.h".
4725 * posix/fnmatch_loop.c: Implement collating symbol handling.
4726 * posix/tst-fnmatch.input: Add more tests, especially for collating
4729 * posix/regex.c: Fix comment.
4731 2000-07-05 Andreas Jaeger <aj@suse.de>
4733 * sysdeps/mips/fpu_control.h: Fix type of fpu_control_t.
4734 (_FPU_GETCW): Remove extra colon.
4735 Patch by Ralf Baechle <ralf@uni-koblenz.de>.
4737 * posix/fnmatch_loop.c (FCT): Only declare len if
4738 !WIDE_CHAR_VERSION to silence GCC.
4740 * sysdeps/generic/rawmemchr.c: Include <stdlib.h> for abort
4742 * sysdeps/generic/strchrnul.c: Likewise.
4743 * sysdeps/generic/strlen.c: Likewise.
4744 * sysdeps/generic/strchr.c: Likewise.
4745 * sysdeps/generic/memchr.c: Likewise.
4747 2000-07-04 Ulrich Drepper <drepper@redhat.com>
4749 * posix/fnmatch_loop.c: Implement equivalence class handling.
4750 * posix/tst-fnmatch.input: Add tests for equivalence class
4753 * posix/fnmatch_loop.c: Improve performance for single-byte
4754 character sets by not using btowc.
4756 * posix/tst-fnmatch.input: Add tests for locale dependent
4758 * posix/tst-fnmatch.c (main): Also set LC_CTYPE category.
4760 * posix/tst-fnmatch.input: Add more test cases.
4762 * crypt/md5-crypt.c (__md5_crypt_r): If buffers for key and salt
4763 are not aligned to alignof(md5_uint32) do it before calling
4764 __md5_process_bytes.
4765 * crypt/md5.c: Make sure buffers are aligned.
4766 * crypt/md5.h: Likewise.
4767 Reported by Solar Designer <solar@false.com>.
4769 * crypt/Makefile: Add dependencies for test programs.
4771 * Rules: Define LC_ALL=C in environments of all programs we run.
4773 * intl/tst-gettext.sh (LC_ALL): Define to C and export.
4775 2000-07-03 H.J. Lu <hjl@gnu.org>
4777 * locale/programs/ld-ctype.c (ctype_output): The size of iov
4778 is 2 + elem + offset, not 2 + elem + offset + 2.
4780 2000-07-04 Ulrich Drepper <drepper@redhat.com>
4782 * posix/fnmatch_loop.c: Fix two problems uncovered by the new test
4784 * posix/Makefile (tests): Add tst-fnmatch.
4785 (tst-fnmatch-ENV): Define.
4786 * posix/tst-fnmatch.c: New file.
4787 * posix/tst-fnmatch.sh: New file.
4789 2000-07-04 NIIBE Yutaka <gniibe@chroot.org>
4791 * locale/programs/charmap.c (charmap_read): Prepend
4792 the condition filename == NULL.
4794 2000-07-03 Greg McGary <greg@mcgary.org>
4796 * sysdeps/i386/bits/setjmp.h (PUSH_SIGNAL_MASK): Fix typo.
4798 * csu/Makefile (extra-objs, install-lib): Add BP objects conditionally.
4799 ($(objpfx)b$(start-installed-name)): Add non-elf rule.
4801 * libio/libio.h (_IO_FILE): Revert type of _chain to _IO_FILE*.
4802 * libio/libioP.h (_IO_ITER): Revert to type _IO_FILE*.
4803 (FILEBUF_LITERAL): Add cast for CHAIN init.
4804 * libio/genops.c (_IO_un_link, _IO_link_in, _IO_iter_begin): Add casts.
4805 (_IO_flush_all, _IO_flush_all_linebuffered, _IO_unbuffer_write):
4806 Revert type of `fp' to _IO_FILE*.
4807 (_IO_iter_file): Remove cast.
4808 (_IO_iter_next): Elide intermediate member reference.
4810 * sysdeps/powerpc/strchr.S: Check bounds.
4811 Wrap extern symbols in BP_SYM ().
4813 2000-07-03 Andreas Jaeger <aj@suse.de>
4815 * dlfcn/Makefile (generated): New.
4817 2000-07-03 Ulrich Drepper <drepper@redhat.com>
4819 * libio/genops.c (__overflow): Use _IO_fwide to orient the stream.
4820 (__uflow): Likewise.
4821 (__underflow): Likewise.
4822 * libio/wgenops.c (__wunderflow): Likewise.
4823 * stdio-common/tst-unbputc.c: New file.
4824 * stdio-common/tst-unbputc.sh: New file.
4825 * stdio-common/Makefile: Add rules to build and run tst-unbputc.
4827 * po/en_GB.po: New file.
4828 Contributed by Robert Brady <rwb197@ecs.soton.ac.uk>.
4830 2000-07-01 Andreas Jaeger <aj@suse.de>
4832 * intl/Makefile (generated-dirs): New.
4834 * elf/Makefile (generated): trusted-dirs.h is always generated,
4835 move out of build-shared condition.
4836 (generated): Merge the two entries for build-shared.
4838 2000-07-01 Ulrich Drepper <drepper@redhat.com>
4840 * debug/Makefile (distribute): Add xtrace.sh.
4842 2000-06-30 Ulrich Drepper <drepper@redhat.com>
4844 * version.h (VERSION): Bump to 2.1.91.
4846 * configure.in: Update warning comment. glibc should not be
4849 * sysdeps/unix/sysv/linux/ia64/Dist: Remove old content. Add
4850 ioperm.c, sys/procfs.h, and sys/io.h.
4852 * sysdeps/powerpc/Dist: Add bp-asm.h.
4854 * assert/Depend: Add localedata.
4855 * assert/Makefile (test-assert-ENV): New. Define LANGUAGE=C.
4856 (test-assert-perr-ENV): New. Define LANGUAGE=C.
4858 * sysdeps/alpha/dl-machine.h (elf_machine_rela) [r_type ==
4859 R_ALPHA_REFQUAD]: Use memcpy to load and store value from
4860 relocation address to prevent unaligned trap.
4861 Suggested by Richard Henderson <rth@cygnus.com>.
4863 2000-06-30 Jakub Jelinek <jakub@redhat.com>
4865 * io/sys/stat.h (stat64, lstat64, fstat64): Don't define inlines
4866 if redirecting and either redirection is done using defines or
4869 2000-06-30 Ulrich Drepper <drepper@redhat.com>
4871 * sunrpc/rpc_cout.c (inline_struct): Add missing parenthesis in
4872 generated expressions.
4873 Patch by Darren McClelland <dmcclell@zetec.com>.
4875 * timezone/Makefile (build-testdata): Set LANGUAGE and LC_ALL
4876 since zic uses setlocale and gettext but we cannot make it use the
4877 new locale data since zic calls a shell which might not use the
4880 * stdlib/strfmon.c: Move somewhat closer to the standard wrt to
4881 handling the internation currency symbol. POSIX says that the
4882 fourth character is used to separate the currency symbol from the
4883 value. Therefore it does not have to be printed. But we cannot
4884 remove the space if the currency symbol is printed before the
4885 number since this is what many locales expect.
4887 * iconv/gconv_trans.c: Test with _NL_CTYPE_TRANSLIT_DEFAULT_MISSING_LEN
4888 whether this information is available.
4890 * intl/dcigettext.c (_nl_find_msg): Correct reallocation of
4891 buffers in case the translation is too large. Remember allocated
4892 memory blocks in a list.
4893 (free_mem): Free memory for translations.
4895 * intl/tst-gettext.c: Use correct locale. Improve error messages.
4897 * locale/programs/ld-ctype.c (ctype_output): If no default_missing
4898 information is available set the string length to zero.
4900 * sysdeps/i386/i686/strcmp.S: Little optimization in non-BP case.
4902 2000-06-30 Greg McGary <greg@mcgary.org>
4904 * sysdeps/powerpc/bp-asm.h: New file.
4905 * sysdeps/powerpc/__longjmp.S: Check bounds.
4906 Wrap extern symbols in BP_SYM ().
4907 * sysdeps/powerpc/bsd-_setjmp.S: Likewise.
4908 * sysdeps/powerpc/bsd-setjmp.S: Likewise.
4909 * sysdeps/powerpc/setjmp.S: Likewise.
4910 * sysdeps/powerpc/add_n.S: Likewise.
4911 * sysdeps/powerpc/addmul_1.S: Likewise.
4912 * sysdeps/powerpc/lshift.S: Likewise.
4913 * sysdeps/powerpc/rshift.S: Likewise.
4914 * sysdeps/powerpc/mul_1.S: Likewise.
4915 * sysdeps/powerpc/sub_n.S: Likewise.
4916 * sysdeps/powerpc/submul_1.S: Likewise.
4917 * sysdeps/powerpc/strlen.S: Likewise.
4918 * sysdeps/powerpc/memset.S: Likewise.
4919 * sysdeps/powerpc/stpcpy.S: Likewise.
4920 * sysdeps/powerpc/strcmp.S: Likewise.
4921 * sysdeps/powerpc/strcpy.S: Likewise.
4922 * sysdeps/powerpc/elf/bzero.S: Likewise.
4924 * sysdeps/powerpc/stpcpy.S: Define & use symbolic register names.
4925 Line up operands column with tabs.
4927 2000-06-30 Ulrich Drepper <drepper@redhat.com>
4929 * elf/Makefile (LDFLAGS-origtest): Actually add it.
4931 * sysdeps/ia64/htonl.S: New file.
4932 * sysdeps/ia64/htons.S: New file.
4933 * sysdeps/ia64/memcpy.S: Replace with version which does not use
4934 floating point registers.
4935 Patches by Dan Pop <Dan.Pop@cern.ch>.
4937 2000-06-30 Andreas Jaeger <aj@suse.de>
4939 * posix/Makefile (tests): tst-exec and tst-spawn only work with
4942 * io/Makefile (CFLAGS-test-lfs.c): New.
4943 (tests): Add test-lfs.
4945 * io/test-lfs.c: New file.
4947 2000-06-30 Jakub Jelinek <jakub@redhat.com>
4949 * sysdeps/i386/bits/string.h (strcmp): Use 8bit register in 8bit
4952 2000-06-29 David Mosberger-Tang <davidm@hpl.hp.com>
4954 * sysdeps/unix/sysv/linux/ia64/ioperm.c: New file.
4956 2000-06-29 Jes Sorensen <jes@linuxcare.com>
4958 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add __fstatfs64
4959 alias to the fstatfs call.
4961 * sysdeps/unix/sysv/linux/ia64/getrlimit64.c: New file.
4962 * sysdeps/unix/sysv/linux/ia64/setrlimit64.c: New file.
4964 * sysdeps/unix/sysv/linux/ia64/ftruncate64.c: New file.
4965 * sysdeps/unix/sysv/linux/ia64/truncate64.c: New file.
4967 * sysdeps/unix/sysv/linux/ia64/readdir.c: New file.
4968 * sysdeps/unix/sysv/linux/ia64/readdir_r.c: New file.
4969 * sysdeps/unix/sysv/linux/ia64/readdir64.c: New file.
4970 * sysdeps/unix/sysv/linux/ia64/readdir64_r.c: New file.
4972 * sysdeps/unix/sysv/linux/ia64/glob.c: New file.
4973 * sysdeps/unix/sysv/linux/ia64/glob64.c: New file.
4975 * sysdeps/unix/sysv/linux/ia64/fstatfs64.c: New file.
4976 * sysdeps/unix/sysv/linux/ia64/statfs64.c: New file.
4978 * sysdeps/unix/sysv/linux/ia64/pread64.c: New file.
4979 * sysdeps/unix/sysv/linux/ia64/pwrite64.c: New file.
4981 * sysdeps/unix/sysv/linux/ia64/shmctl.c: New file.
4983 2000-06-29 Andreas Jaeger <aj@suse.de>
4985 * sunrpc/rpc_svcout.c (write_msg_out): Always use format string
4987 (print_err_message): Likewise.
4988 Reported by Chris Evans <chris@ferret.lmh.ox.ac.uk>.
4990 2000-06-29 Ulrich Drepper <drepper@redhat.com>
4992 * locale/loadlocale.c (_nl_load_locale): Make sure all locale data
4993 used as words is properly aligned.
4995 * locale/programs/ld-ctype.c (ctype_output): Don't generate unaligned
4998 2000-06-29 Greg McGary <greg@mcgary.org>
5000 * sysdeps/generic/libc-start.c (__libc_stack_end): Chop __unbounded.
5001 * sysdeps/unix/make-syscalls.sh: Handle signatures of
5002 length 7..9, just in case...
5003 * misc/sys/cdefs.h (__ptrvalue): Define as nothing for non-BP.
5005 * sysdeps/i386/bp-asm.h (PCOFF): New constant.
5006 (POP_ERRNO_LOCATION_RETURN): Fold insns.
5007 * sysdeps/i386/bits/setjmp.h (JB_SIZE): New constant.
5008 (PUSH_SIGNAL_MASK): New macro.
5009 * sysdeps/i386/__longjmp.S (__longjmp): Wrap symbol in BP_SYM ().
5010 LEAVE is unnecessary. Check bounds of jmp_buf.
5011 * sysdeps/i386/elf/setjmp.S: Call PUSH_SIGNAL_MASK. Wrap symbols
5012 in BP_SYM (). Check bounds of jmp_buf. Don't call LEAVE until
5013 immediately before tail-call.
5014 * sysdeps/i386/setjmp.S: Likewise.
5015 * sysdeps/i386/bsd-_setjmp.S: Likewise.
5016 * sysdeps/i386/bsd-setjmp.S: Likewise.
5018 2000-06-29 Jakub Jelinek <jakub@redhat.com>
5020 * sysdeps/sparc/fpu/fclrexcpt.c: Use SHLIB_COMPAT, compat_symbol and
5022 * sysdeps/sparc/fpu/fesetenv.c: Likewise.
5023 * sysdeps/sparc/fpu/feupdateenv.c: Likewise.
5024 * sysdeps/sparc/fpu/fgetexcptflg.c: Likewise.
5025 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
5026 * sysdeps/sparc/fpu/fsetexcptflg.c: Likewise.
5027 * sysdeps/sparc/fpu/fegetenv.c: Likewise.
5028 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions: New file.
5029 * shlib-versions: Make sparc64 GLIBC_2.2+ only.
5031 2000-06-29 Ulrich Drepper <drepper@redhat.com>
5033 * stdio-common/printf_fp.c (__printf_fp): Don't clobber pointer which
5034 we later need to calling free().
5035 Patch by Matt Wilson <msw@redhat.com>.
5037 * stdio-common/tst-printf.c: Add test for above problem.
5039 2000-06-27 David Mosberger-Tang <davidm@hpl.hp.com>
5041 * sysdeps/unix/sysv/linux/ia64/bits/ipc.h: New file.
5042 * sysdeps/unix/sysv/linux/ia64/bits/shm.h: New file.
5044 2000-06-28 Jes Sorensen <jes@linuxcare.com>
5046 * sysdeps/ieee754/dbl-64/s_exp2.c: Add include stdlib.h to get
5047 prototype for abs().
5048 * sysdeps/ieee754/flt-32/s_exp2f.c: ditto.
5050 2000-06-23 Andreas Jaeger <aj@suse.de>
5052 * config.h.in: Don't use regparm with bounded pointers.
5054 2000-06-29 Ulrich Drepper <drepper@redhat.com>
5056 * stdlib/grouping.h: Correctly handle multibyte thousands
5057 separator and decimal point.
5058 * stdlib/stdtod.c: Likewise.
5059 * sysdeps/generic/strtol.c: Likewise.
5061 * locale/categories.def: Add entries for wide character decimal point
5062 and thousands separator in numeric and monetary category.
5064 2000-06-28 Ulrich Drepper <drepper@redhat.com>
5066 * stdio-common/printf_fp.c (__printf_fp): Remove unnecessary
5067 second definition and initialization of decimal.
5069 2000-06-28 Greg McGary <greg@mcgary.org>
5071 * libio/libio.h (struct _IO_cookie_file): Move struct type defintion
5073 (_IO_FILE): Declare chain as (struct _IO_FILE_plus *).
5074 * libio/libioP.h (struct _IO_cookie_file): Move struct type defintion
5076 (_IO_JUMPS): Don't cast THIS--expect arg to be a
5077 (struct _IO_FILE_plus *).
5078 (_IO_JUMPS_FUNC): Express in terms of _IO_JUMPS, and add cast to
5079 THIS, since _IO_JUMPS no longer does it implicitly.
5080 (_IO_file_init, _IO_old_file_init, _IO_new_file_init): Declare
5081 arg type as (struct _IO_FILE_plus *).
5082 (_IO_str_init_static, _IO_str_init_readonly): Declare 1st
5083 arg as (_IO_strfile *).
5084 * libio/strops.c (_IO_str_init_static, _IO_str_init_readonly):
5085 Declare 1st arg as (_IO_strfile *).
5086 * libio/fileops.c (_IO_new_file_init): Declare
5087 arg type as (struct _IO_FILE_plus *).
5088 * libio/oldfileops.c (_IO_old_file_init): Likewise.
5089 * libio/genops.c (_IO_link_in, _IO_un_link): Likewise.
5090 (_IO_flush_all, _IO_flush_all_linebuffered, _IO_unbuffer_write):
5091 Declare iteration pointer as (struct _IO_FILE_plus *).
5092 (_IO_iter_next, _IO_iter_file): _IO_ITER is now
5093 (struct _IO_FILE_plus *).
5094 * libio/stdfiles.c (_IO_list_all): Declare as (struct _IO_FILE_plus *).
5095 * libio/oldstdfiles.c (_IO_list_all): Likewise.
5096 (_IO_check_libio): Set user-visible handles to
5097 (struct _IO_FILE_plus *).
5098 * libio/stdio.c (stdin, stdout, stderr): Set user-visible handles
5099 to (struct _IO_FILE_plus *).
5101 * libio/iofdopen.c (_IO_new_fdopen): Pass FILE handle pointer
5102 whose high bound includes vtable to all functions that will use
5103 vtable. For streambufs, pass pointer whose bounds include struct
5105 * libio/wgenops.c (_IO_wdefault_finish): Likewise.
5106 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
5107 * libio/iofopen.c (_IO_new_fopen): Likewise.
5108 * libio/oldiofopen.c (_IO_old_fopen): Likewise.
5109 * libio/iofopen64.c (_IO_fopen64): Likewise.
5110 * libio/iopopen.c (_IO_new_popen): Likewise.
5111 * libio/oldiopopen.c (_IO_old_popen): Likewise.
5112 * libio/memstream.c (open_memstream): Likewise.
5113 * libio/iovsscanf.c (_IO_vsscanf): Likewise.
5114 * libio/iovsprintf.c (_IO_vsprintf): Likewise.
5115 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
5116 * libio/iofopncook.c (_IO_cookie_init): Likewise.
5117 * libio/obprintf.c (_IO_obstack_vprintf): Likewise.
5118 * libio/vasprintf.c (_IO_vasprintf): Likewise.
5119 * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
5120 * libio/stdfiles.c (_IO_stdout_, _IO_stderr_): Likewise.
5121 * libio/oldstdfiles.c (_IO_stdout_, _IO_stderr_): Likewise.
5122 * stdlib/strfmon.c (__strfmon_l): Likewise.
5123 * stdio-common/vfprintf.c (buffered_vfprintf): Likewise.
5124 (vfprintf): Qualify computed-goto targets as unbounded.
5126 2000-06-28 Ulrich Drepper <drepper@redhat.com>
5128 * stdio-common/vfscanf.c: Finally handle multibyte decimal point and
5129 thousands separator correctly.
5131 * stdio-common/vfscanf.c: Use COMPILE_WSCANF not COMPILE_WPRINTF.
5132 * stdio-common/vfwscanf.c: Likewise.
5134 2000-06-27 Jes Sorensen <jes@linuxcare.com>
5136 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Change argument
5137 count into signatures for most calls.
5139 2000-06-28 Ulrich Drepper <drepper@redhat.com>
5141 * sysdeps/unix/sysv/linux/ia64/getsysstats.c: Removed. We can use
5142 the generic parser now.
5144 2000-06-28 Jes Sorensen <jes@linuxcare.com>
5146 * sysdeps/unix/sysv/linux/ia64/bits/elfclass.h: Deleted. Hash
5147 table entries are 32 bit on the ia64 (as specified by the ABI),
5148 not 64 bit as on the Alpha.
5150 * shlib-versions: Bump ia64 soname to ld-linux-ia64.so.2 to mark
5151 change of objects to use 32 bit hash table indices (see above).
5153 2000-06-28 Jes Sorensen <jes@linuxcare.com>
5155 * sysdeps/ieee754/dbl-64/e_exp.c: Add include stdlib.h to get
5156 prototype for abs().
5158 2000-06-28 Wolfram Gloger <wg@malloc.de>
5160 * malloc/malloc.c (chunk_alloc): If extension of the linear heap
5161 fails, try mmap_chunk() as a last resort even though n_mmaps_max
5162 may have been reached.
5164 2000-06-28 Ulrich Drepper <drepper@redhat.com>
5166 * locale/programs/ld-collate.c (insert_weights): Handle <Uxxxx>
5167 symbols in multi-character weights correctly.
5169 * wcsmbs/mbrtowc.c: Set flush to 1 for conversion function calls
5170 depending on whether the input string is empty or not.
5172 * wcsmbs/mbrtowc.c: Calling function without input means clearing the
5173 given state and not avoiding this by modifying a local object.
5174 * wcsmbs/wcrtomb.c: Likewise.
5176 * iconv/skeleton.c: If no EMIT_SHIFT_TO_INIT is defined clear state
5177 object since some incomplete characters might be in there.
5179 * iconvdata/euc-jp.c: In conversion to UCS4, handling invalid
5180 sequences with first byte 0x8e correctly.
5182 * iconvdata/jis0208.h: Remove redundant test.
5184 2000-06-27 Ulrich Drepper <drepper@redhat.com>
5186 * sysdeps/generic/initfini.c (SECTION): Remove trailing semicolon.
5187 Add it where it is needed now.
5189 * locale/programs/ld-ctype.c (ctype_finish): Take all characters from
5190 the input charset into account when generating the hash table.
5191 (allocate_arrays): Correct setting default width. Not all empty slots
5192 in the table are filled, only those not covert explicitly by the
5193 locale description and in the charset.
5195 * wctype/towctrans.c (__towctrans): Be graceful and accept error
5196 return values from the wctrans function.
5198 * stdio-common/vfscanf.c: Make sure to always return WEOF and EOF for
5199 wide character version.
5200 For %C handling, test correct pointer variable for NULL.
5202 * wcsmbs/wctob.c: Handle WEOF special.
5204 * wcsmbs/wcwidth.h: 0xff in width array means invalid character.
5206 * wctype/wctype.h: Protect gcc-isms with __extension__. Avoid
5207 always-true test to avoid warning.
5209 2000-06-27 Greg McGary <greg@mcgary.org>
5211 * elf/dl-open.c (_dl_sysdep_start): Wrap weak_extern decl in BP_SYM ().
5212 * include/libc-symbols.h (weak_extern): Add extra level of expansion.
5213 (symbol_version, default_symbol_version): Factor redundant
5214 definitions out of conditional.
5216 2000-06-27 Jakub Jelinek <jakub@redhat.com>
5218 * libio/obprintf.c (_IO_obstack_vprintf): Call obstack_make_room,
5221 2000-06-26 Ulrich Drepper <drepper@redhat.com>
5223 * include/libc-symbols.h (symbol_version): Add extra level of
5225 (default_symbol_version): Likewise.
5227 2000-06-26 Greg McGary <greg@mcgary.org>
5229 * sysdeps/unix/i386/sysdep.S (syscall_error): Push & pop space
5230 for BP return value & push implicit struct-return pointer to
5232 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
5233 (SYSCALL_ERROR_HANDLER): Likewise.
5234 * sysdeps/unix/sysv/linux/i386/i686/sysdep.h
5235 (SYSCALL_ERROR_HANDLER): Likewise.
5237 * Makeconfig: Add missing comment.
5238 * csu/Makefile (extra-objs, omit-deps, install-lib): Add
5239 BP-flavored startup object.
5240 ($(objpfx)b$(start-installed-name)): New rule.
5241 * include/libc-symbols.h (symbol_set_declare): Change type
5242 of `__start_##set' and `__stop_##set' to pointer-to-function.
5243 (symbol_set_declare): Change type of `set' to array of
5244 pointer-to-function.
5245 * include/set-hooks.h (RUN_HOOK): Change type of `ptr' to
5246 pointer-to-function.
5248 * string/bits/string2.h: Inhibit inlines if __BOUNDED_POINTERS__.
5250 * sysdeps/unix/sysv/linux/syscalls.list: Add missing signatures.
5251 Remove clock_* and timer_* entries.
5252 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Replace
5253 arg-count with signatures.
5255 * sysdeps/i386/add_n.S: Wrap entry-point symbol in BP_SYM ().
5256 Check bounds of arguments.
5257 * sysdeps/i386/addmul_1.S: Likewise.
5258 * sysdeps/i386/lshift.S: Likewise.
5259 * sysdeps/i386/mul_1.S: Likewise.
5260 * sysdeps/i386/rshift.S: Likewise.
5261 * sysdeps/i386/sub_n.S: Likewise.
5262 * sysdeps/i386/submul_1.S: Likewise.
5263 * sysdeps/i386/i586/add_n.S: Likewise.
5264 * sysdeps/i386/i586/addmul_1.S: Likewise.
5265 * sysdeps/i386/i586/lshift.S: Likewise.
5266 * sysdeps/i386/i586/rshift.S: Likewise.
5267 * sysdeps/i386/i586/sub_n.S: Likewise.
5268 * sysdeps/i386/i686/add_n.S: Likewise.
5270 * sysdeps/i386/memchr.S: Likewise.
5271 * sysdeps/i386/memcmp.S: Likewise.
5272 * sysdeps/i386/rawmemchr.S: Likewise.
5273 * sysdeps/i386/i586/bzero.S: Likewise.
5274 * sysdeps/i386/i586/memcpy.S: Likewise.
5275 * sysdeps/i386/i586/mempcpy.S: Likewise.
5276 * sysdeps/i386/i586/memset.S: Likewise.
5277 * sysdeps/i386/i686/bzero.S: Likewise.
5278 * sysdeps/i386/i686/memcpy.S: Likewise.
5279 * sysdeps/i386/i686/mempcpy.S: Likewise.
5280 * sysdeps/i386/i686/memset.S: Likewise.
5282 * sysdeps/i386/stpcpy.S: Likewise.
5283 * sysdeps/i386/stpncpy.S: Likewise.
5284 * sysdeps/i386/strchr.S: Likewise.
5285 * sysdeps/i386/strchrnul.S: Likewise.
5286 * sysdeps/i386/strcspn.S: Likewise.
5287 * sysdeps/i386/strpbrk.S: Likewise.
5288 * sysdeps/i386/strrchr.S: Likewise.
5289 * sysdeps/i386/strspn.S: Likewise.
5290 * sysdeps/i386/strtok.S: Likewise.
5291 * sysdeps/i386/strtok_r.S: Likewise.
5292 * sysdeps/i386/i486/strcat.S: Likewise.
5293 * sysdeps/i386/i486/strlen.S: Likewise.
5294 * sysdeps/i386/i586/strchr.S: Likewise.
5295 * sysdeps/i386/i586/strcpy.S: Likewise.
5296 * sysdeps/i386/i586/strlen.S: Likewise.
5297 * sysdeps/i386/i686/strcmp.S: Likewise.
5298 * sysdeps/i386/i686/strtok.S: Likewise.
5299 * sysdeps/i386/i686/strtok_r.S: Likewise.
5301 * sysdeps/i386/fpu/fegetenv.c: Wrap symbol names with BP_SYM ().
5302 * sysdeps/i386/fpu/fesetenv.c: Likewise.
5303 * sysdeps/i386/fpu/feupdateenv.c: Likewise.
5304 * sysdeps/i386/fpu/fgetexcptflg.c: Likewise.
5305 * sysdeps/i386/fpu/fsetexcptflg.c: Likewise.
5307 * sysdeps/i386/addmul_1.S: Exchange roles of %ebp and %ebx.
5308 * sysdeps/i386/mul_1.S: Likewise.
5309 * sysdeps/i386/submul_1.S: Likewise.
5310 * sysdeps/i386/i586/add_n.S: Likewise.
5311 * sysdeps/i386/i586/addmul_1.S: Likewise.
5312 * sysdeps/i386/i586/lshift.S: Likewise.
5313 * sysdeps/i386/i586/mul_1.S: Likewise.
5314 * sysdeps/i386/i586/rshift.S: Likewise.
5315 * sysdeps/i386/i586/sub_n.S: Likewise.
5316 * sysdeps/i386/i586/submul_1.S: Likewise.
5318 2000-06-26 Ulrich Drepper <drepper@redhat.com>
5320 * rt/Makefile (librt-routines): Add clock_nanosleep.
5321 * rt/Versions [GLIBC_2.2] (librt): Add clock_nanosleep.
5322 * sysdeps/generic/clock_nanosleep.c: New file.
5323 * sysdeps/unix/clock_nanosleep.c: New file.
5324 * sysdeps/unix/i386/i586/clock_nanosleep.c: New file.
5325 * time/time.h: Declare clock_nanosleep.
5327 2000-06-26 Greg McGary <greg@mcgary.org>
5329 * sysdeps/i386/asm-syntax.h (R, MEM, MEM_DISP, MEM_INDEX,
5330 INSN1, INSN2, TEXT, GLOBL): Remove macros.
5331 (ALIGN): Cleanup surrounding conditionals.
5333 * sysdeps/i386/addmul_1.S: Replace asm-syntax macros with gas syntax.
5334 Call ENTER/LEAVE macros.
5335 * sysdeps/i386/mul_1.S: Replace asm-syntax macros with gas syntax.
5336 * sysdeps/i386/submul_1.S: Likewise.
5338 * sysdeps/i386/i586/addmul_1.S: Replace asm-syntax macros with gas
5339 syntax. Define & use symbolic argument stack offsets. Call
5341 * sysdeps/i386/i586/mul_1.S: Likewise.
5342 * sysdeps/i386/i586/submul_1.S: Likewise.
5344 2000-06-25 Greg McGary <greg@mcgary.org>
5346 * sysdeps/i386/i586/memcpy.S: Redefine memcpy as mempcpy,
5349 2000-06-25 Ulrich Drepper <drepper@redhat.com>
5351 * iconvdata/gen-8bit-gap-1.sh: Update for new charmap format.
5352 * iconvdata/gen-8bit-gap.sh: Likewise.
5353 * iconvdata/gen-8bit.sh: Likewise.
5355 * iconv/gconv_open.c (__gconv_open): Move comment to correct position.
5357 * locale/programs/ld-collate.c (collate_read): Don't actually read
5358 the copy locale if we are ignoring the content.
5360 * locale/programs/ld-address.c (INT_STR_ELEM): Correct test for
5363 * locale/programs/ld-collate.c: Correct handling of different
5365 * locale/programs/localedef.c (add_to_readlist): Take locale pointer
5366 as extra parameter from which to copy category information.
5368 (load_locale): Likewise.
5369 * locale/programs/localedef.h: Update prototypes of add_to_readlist
5371 * locale/programs/ld-ctype.c: Update call to add_to_readlist.
5372 * locale/programs/locfile.h: Likewise.
5373 * locale/programs/locfile-kw.gperf: Add entry for script.
5374 * locale/programs/locfile-token.h: Add tok_script.
5376 * locale/programs/locale.c: Update copyright year.
5377 * locale/programs/localedef.c: Likewise.
5379 2000-06-23 Thorsten Kukuk <kukuk@suse.de>
5381 * sunrpc/xdr_rec.c (set_input_fragment): Fix PR libc/1549, patch from
5382 Jens Moeller <jens.moeller@waii.com>.
5384 2000-06-24 Ulrich Drepper <drepper@redhat.com>
5386 * locale/programs/ld-name.c (name_finish): Add missing format
5387 specifier to test for name_fmt.
5389 * locale/programs/ld-address.c (iso639): Correct length of string
5391 (iso3166): Likewise.
5393 * sysdeps/unix/sysv/linux/i386/sys/elf.h (elf_fpxregset_t): Define.
5395 * sysdeps/unix/sysv/linux/i386/sys/user.h (struct user_fpxregs_struct):
5398 * elf/elf.h (NT_PRFPXREG): Define.
5400 2000-06-23 Ulrich Drepper <drepper@redhat.com>
5402 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_request): Define
5403 PTRACE_GETFPXREGS and PTRACE_SETFPXREGS.
5405 2000-06-23 Andreas Schwab <schwab@suse.de>
5407 * sysdeps/unix/sysv/linux/m68k/syscalls.list: Replace arg-count
5410 2000-06-23 Andreas Jaeger <aj@suse.de>
5412 * iconv/gconv_int.h (norm_add_slashes): Protect suffix expansion.
5414 * io/test-stat.c: Add copyright header, mention Maciej.
5416 * sysdeps/unix/sysv/linux/mips/sys/syscall.h (SYS_pivot_root,
5417 SYS_mincore, SYS_madvise): Added.
5419 * sysdeps/unix/sysv/linux/mips/syscalls.list: Fix signature of
5422 2000-06-22 Ulrich Drepper <drepper@redhat.com>
5424 * libio/Makefile (tests): Add tst-getwc and tst_putwc.
5425 (CFLAGS-tst_putwc.c): New definition.
5426 * libio/tst_getwc.c: New file.
5427 * libio/tst_getwc.input: New file.
5428 * libio/tst_putwc.c: New file.
5430 * include/string.h: Add prototype for __strdup.
5432 2000-06-22 Greg McGary <greg@mcgary.org>
5434 * sysdeps/unix/syscalls.list (sys_mknod): Fix signatures.
5435 * sysdeps/unix/inet/syscalls.list (accept, getpeername, getsockname):
5438 2000-06-23 Jes Sorensen <jes@linuxcare.com>
5440 * sysdeps/ia64/memcpy.S: Disable branch predict instruction.
5442 2000-06-22 Jes Sorensen <jes@linuxcare.com>
5444 * sysdeps/unix/sysv/linux/ia64/bits/statfs.h: New file.
5446 2000-06-22 Jes Sorensen <jes@linuxcare.com>
5448 * shlib-versions: Bump so versions to 6.1 for libc and libm on the
5449 ia64 to allow 2.2+ libraries to coexist with 2.1 ones.
5451 2000-06-22 Ulrich Drepper <drepper@redhat.com>
5453 * io/sys/stat.h: Define S_TYPEISMQ, S_TYPEISSEM, and S_TYPEISSHM.
5454 * sysdeps/generic/bits/stat.h: Define __S_TYPEISMQ, __S_TYPEISSEM,
5456 * sysdeps/mach/hurd/bits/stat.h: Likewise.
5457 * sysdeps/unix/bsd/bits/stat.h: Likewise.
5458 * sysdeps/unix/bsd/osf/alpha/bits/stat.h: Likewise.
5459 * sysdeps/unix/sysv/bits/stat.h: Likewise.
5460 * sysdeps/unix/sysv/irix4/bits/stat.h: Likewise.
5461 * sysdeps/unix/sysv/hpux/bits/stat.h: Likewise.
5462 * sysdeps/unix/sysv/linux/alpha/bits/stat.h: Likewise.
5463 * sysdeps/unix/sysv/linux/ia64/bits/stat.h: Likewise.
5464 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
5465 * sysdeps/unix/sysv/linux/mips/bits/stat.h: Likewise.
5466 * sysdeps/unix/sysv/sysv4/i386/bits/stat.h: Likewise.
5467 * sysdeps/unix/sysv/sysv4/solaris2/bits/stat.h: Likewise.
5468 * sysdeps/unix/sysv/aix/bits/stat.h: Likewise.
5469 * manual/filesys.texi: Document S_TYPEISMQ, S_TYPEISSEM, and
5472 2000-06-22 Andreas Jaeger <aj@suse.de>
5474 * sysdeps/unix/sysv/linux/mips/syscalls.list: Replace arg-count
5477 * elf/dl-reloc.c (_dl_relocate_object): Fix typos.
5479 * sysdeps/unix/sysv/linux/mips/syscalls.list: Fix sysctl entry.
5481 2000-06-21 Ulrich Drepper <drepper@redhat.com>
5483 * iconv/gconv_trans.c: Move initialization of winbuf and winbufend
5486 2000-06-21 Greg McGary <greg@mcgary.org>
5488 * Makerules (elide-routines.*, elide-bp-thunks):
5489 Define unconditionally.
5491 2000-06-21 Jes Sorensen <jes@linuxcare.com>
5493 * sysdeps/unix/sysv/linux/ia64/Makefile: New file.
5495 2000-06-21 Andreas Jaeger <aj@suse.de>
5497 * io/Makefile (tests): Add test-stat.
5498 (CFLAGS-test-stat.c): New.
5500 * io/test-stat.c: New file from Maciej W. Rozycki
5501 <macro@ds2.pg.gda.pl>.
5503 2000-06-21 Jes Sorensen <jes@linuxcare.com>
5505 * sysdeps/unix/sysv/linux/ia64/bits/resource.h: Reorder elements
5506 in __rlimit_resource to make them match the kernel order.
5507 rlim_t is always 64 bit, use __rlim64_t to declare it
5510 2000-05-04 Jes Sorensen <jes@linuxcare.com>
5512 * sysdeps/unix/sysv/linux/ia64/bits/resource.h: Undef
5513 RLIM_INFINITY before defining it to avoid clash with kernel header
5515 2000-05-03 Jes Sorensen <jes@linuxcare.com>
5517 * sysdeps/unix/sysv/linux/ia64/bits/resource.h: New file.
5519 2000-06-21 Ulrich Drepper <drepper@redhat.com>
5521 * sysdeps/unix/sysv/linux/ia64/Versions: New file.
5523 2000-06-21 Andreas Jaeger <aj@suse.de>
5525 * stdio-common/temptest.c: Include <stdlib.h>.
5526 * stdio-common/tst-fileno.c: Likewise.
5527 * stdio-common/scanf4.c: Likewise.
5528 * stdio-common/scanf5.c: Likewise.
5529 * time/clocktest.c: Likewise.
5530 * posix/test-vfork.c: Likewise.
5531 * posix/globtest.c: Likewise.
5532 * io/test-utime.c: Likewise.
5533 * wctype/test_wcfuncs.c: Likewise.
5534 * crypt/cert.c: Likewise.
5536 * stdio-common/tst-printfsz.c: Include <string.h>.
5537 * libio/tst_swscanf.c: Likewise.
5538 * libio/tst_wscanf.c: Likewise.
5539 * posix/runtests.c: Likewise.
5540 * posix/tst-getaddrinfo.c: Likewise.
5541 * posix/wordexp-test.c: Likewise.
5542 * misc/tst-efgcvt.c: Likewise.
5544 * stdlib/tst-xpg-basename.c: Include <stdlib.h> and <string.h>.
5545 * nss/test-netdb.c: Likewise.
5547 * sysdeps/unix/sysv/linux/configure.in: Add check for minimal
5548 supported kernel for MIPS.
5550 * elf/vismod2.c: Include <stdlib.h> for abort prototype.
5551 * rt/aio_suspend.c: Likewise.
5553 2000-06-20 Ulrich Drepper <drepper@redhat.com>
5555 * math/libm-test.inc: Include <string.h>.
5557 2000-06-20 Jes Sorensen <jes@linuxcare.com>
5559 * sysdeps/unix/sysv/linux/ia64/syscalls.list: New file.
5561 2000-06-20 Jes Sorensen <jes@linuxcare.com>
5563 * sysdeps/unix/sysv/linux/ia64/machine-gmon.h: New file.
5564 * sysdeps/unix/sysv/linux/ia64/profil-counter.h: New file.
5566 2000-06-20 David Mosberger-Tang <davidm@hpl.hp.com>
5568 * sysdeps/unix/sysv/linux/ia64/getpagesize.c: New file.
5570 2000-06-20 Jes Sorensen <jes@linuxcare.com>
5572 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Fix typo.
5574 2000-06-20 Ulrich Drepper <drepper@redhat.com>
5576 * locale/programs/ld-collate.c (insert_value): Now take string and
5577 length instead of struct token* parameter. Adjust use of token.
5578 (handle_ellipsis): Likewise.
5579 (collate_read): Allow <Uxxxx> names and transform them into names
5580 to be passed to insert_value and handle_ellipsis.
5582 * locale/programs/ld-ctype.c (uninames): New array with names of
5583 digits in <Uxxxxxxxx> format.
5584 (ctype_finish): Correct search for space character value. Likewise
5585 for default outdigits values.
5587 2000-06-20 Greg McGary <greg@mcgary.org>
5589 * Makerules (objects): Add BP thunks.
5591 2000-06-20 Ulrich Drepper <drepper@redhat.com>
5593 * locale/programs/charmap.c (parse_charmap): Handle UCS names also
5594 in width definitions.
5596 2000-06-20 Andreas Jaeger <aj@suse.de>
5598 * sysdeps/mips/fpu/libm-test-ulps: New file.
5600 * sysdeps/mips/fpu/fesetenv.c (__fesetenv): Flush fpu pipeline
5603 * sysdeps/mips/fpu/feholdexcpt.c: New file.
5605 * sysdeps/mips/fpu/fraiseexcpt.c: New file.
5607 2000-06-19 Ulrich Drepper <drepper@redhat.com>
5609 * iconv/gconv_builtin.c (BUILTIN_TRANSFORMATION): Update for
5610 change in gconv_builtin.h.
5612 * malloc/Makefile: Change all references to memprof into memusage.
5613 * malloc/memprof.c: Rename to...
5614 * malloc/memusage.c: ...this. New file.
5615 * malloc/memprof.sh: Rename to...
5616 * malloc/memusage.sh: ...this. New file.
5617 * malloc/memprofstat.c: Rename to...
5618 * malloc/memusagestat.c: ...this. New file.
5619 * sysdeps/alpha/memprof.h: Rename to..
5620 * sysdeps/alpha/memusage.h: ...this. New file.
5621 * sysdeps/arm/memprof.h: Rename to..
5622 * sysdeps/arm/memusage.h: ...this. New file.
5623 * sysdeps/generic/memprof.h: Rename to..
5624 * sysdeps/generic/memusage.h: ...this. New file.
5625 * sysdeps/i386/memprof.h: Rename to..
5626 * sysdeps/i386/memusage.h: ...this. New file.
5627 * sysdeps/ia64/memprof.h: Rename to..
5628 * sysdeps/ia64/memusage.h: ...this. New file.
5629 * sysdeps/m68k/memprof.h: Rename to..
5630 * sysdeps/m68k/memusage.h: ...this. New file.
5631 * sysdeps/mips/memprof.h: Rename to..
5632 * sysdeps/mips/memusage.h: ...this. New file.
5633 * sysdeps/powerpc/memprof.h: Rename to..
5634 * sysdeps/powerpc/memusage.h: ...this. New file.
5635 * sysdeps/sparc/memprof.h: Rename to..
5636 * sysdeps/sparc/memusage.h: ...this. New file.
5637 * sysdeps/sh/memprof.h: Rename to..
5638 * sysdeps/sh/memusage.h: ...this. New file.
5640 * elf/sprof.c (print_version): Update year.
5642 * elf/sprof.c (load_shobj): Don't always add load address to dynamic
5643 table entry values. Use D_PTR.
5644 * elf/dl-reloc.c (_dl_relocate_object): Don't start profiling weird
5645 binaries without PLT. Patches by James Mathiesen <james@curl.com>.
5647 2000-06-20 Jes Sorensen <jes@linuxcare.com>
5649 * sysdeps/unix/sysv/linux/ia64/Makefile: New file.
5650 * sysdeps/unix/sysv/linux/ia64/sys/io.h: New file.
5651 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: New file.
5652 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: New file.
5654 2000-05-05 Jes Sorensen <jes@linuxcare.com>
5656 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: New file.
5658 2000-06-16 Jes Sorensen <jes@linuxcare.com>
5660 * sysdeps/unix/sysv/linux/ia64/xstat.c: New file.
5661 * sysdeps/unix/sysv/linux/ia64/fxstat.c: New file.
5662 * sysdeps/unix/sysv/linux/ia64/lxstat.c: New file.
5664 * sysdeps/unix/sysv/linux/ia64/xstatconv.c: Deleted.
5666 * sysdeps/unix/sysv/linux/ia64/bits/stat.h: Update after latest
5669 * sysdeps/unix/sysv/linux/ia64/bits/types.h: Make __ino_t,
5670 __nlink_t and __blkcnt_t 64 bit to accomodate new kernel stat data
5672 Change __fsblkcnt_t and __fsfilcnt_t to 64 bit to match kernel
5675 2000-06-15 Jes Sorensen <jes@linuxcare.com>
5677 * sysdeps/unix/sysv/linux/ia64/kernel_stat.h: Deleted.
5679 2000-06-08 Jes Sorensen <jes@linuxcare.com>
5681 * sysdeps/unix/sysv/linux/ia64/mmap64.c: New file.
5683 2000-06-19 Ulrich Drepper <drepper@redhat.com>
5685 * iconv/gconv_int.h (strict gconv_module): Remove all members
5686 associated with regular expressions. Use a simple string as the
5688 * iconv/gconv_db.c: Remove code handling regular expressions.
5689 * iconv/gconv_conf.c: Likewise.
5690 * iconv/iconv_prog.c: Likewise.
5691 * iconv/gconv_builtin.h: Adjust for change in gconv_conf.c.
5693 * iconv/gconv.h (__gconv_trans_fct): Add new parameter.
5694 General namespace cleanup.
5695 (struct __gconv_trans_data): Add next field.
5696 (struct __gconv_step_data): Make __trans a pointer.
5697 * iconv/gconv_conf.c: Split out code to find gconv directories from
5698 __gconv_read_conf in new functions.
5699 * iconv/gconv_int.h: Define new data structure and declare new
5700 functions for handling of gconv directory list.
5701 * iconv/gconv_open.c: Allow more than one error handling step being
5702 used. Call function to load error handling module if it is none
5703 of the builtin transformations.
5704 * iconv/gconv_close.c: Add code to free transliteration data.
5705 * iconv/gconv_trans.c: Add functions to load and unload modules
5706 implementing transliteration etc.
5707 * iconv/skeleton.c: Call all context functions now that more than
5708 one module is allowed.
5709 * iconv/loop.c (STANDARD_ERR_HANDLING): New macro.
5710 * iconv/gconv_simple.c: Use STANDARD_ERR_HANDLING macro for places
5711 where the full error handling using transliteration is needed.
5712 * iconvdata/8bit-gap.c: Likewise.
5713 * iconvdata/8bit-generic.c: Likewise.
5714 * iconvdata/ansi_x3.110.c: Likewise.
5715 * iconvdata/big5.c: Likewise.
5716 * iconvdata/big5hkscs.c: Likewise.
5717 * iconvdata/euc-cn.c: Likewise.
5718 * iconvdata/euc-jp.c: Likewise.
5719 * iconvdata/euc-kr.c: Likewise.
5720 * iconvdata/euc-tw.c: Likewise.
5721 * iconvdata/gbgbk.c: Likewise.
5722 * iconvdata/gbk.c: Likewise.
5723 * iconvdata/iso-2022-cn.c: Likewise.
5724 * iconvdata/iso-2022-jp.c: Likewise.
5725 * iconvdata/iso-2022-kr.c: Likewise.
5726 * iconvdata/iso646.c: Likewise.
5727 * iconvdata/iso8859-1.c: Likewise.
5728 * iconvdata/iso_6937-2.c: Likewise.
5729 * iconvdata/iso_6937.c: Likewise.
5730 * iconvdata/johab.c: Likewise.
5731 * iconvdata/sjis.c: Likewise.
5732 * iconvdata/t.61.c: Likewise.
5733 * iconvdata/uhc.c: Likewise.
5734 * iconvdata/unicode.c: Likewise.
5735 * iconvdata/utf-16.c: Likewise.
5736 * libio/iofwide.c: Reset __trans member of __gconv_trans_data
5737 structure correctly after last change.
5738 * wcsmbs/btowc.c: Likewise.
5739 * wcsmbs/mbrtowc.c: Likewise.
5740 * wcsmbs/mbsnrtowcs.c: Likewise.
5741 * wcsmbs/mbsrtowcs.c: Likewise.
5742 * wcsmbs/wcrtomb.c: Likewise.
5743 * wcsmbs/wcsnrtombs.c: Likewise.
5744 * wcsmbs/wcsrtombs.c: Likewise.
5745 * wcsmbs/wctob.c: Likewise.
5747 * localedata/Makefile: Set -Wno-format for some files since gcc does
5748 not know all the format specifiers.
5750 2000-06-18 Ulrich Drepper <drepper@redhat.com>
5752 * locale/loadlocale.c (_nl_unload_locale): Remove a bit of
5754 * locale/lc-time.c (_nl_init_era_entries): Likewise.
5756 2000-06-18 Andreas Jaeger <aj@suse.de>
5758 * sysdeps/mips/dl-machine.h: Always use $25 as jump register.
5759 Patch by Ralf Baechle <ralf@uni-koblenz.de>.
5761 2000-06-17 Ulrich Drepper <drepper@redhat.com>
5763 * sysdeps/unix/sysv/linux/alpha/fpathconf.c: Define and use
5765 * sysdeps/unix/sysv/linux/alpha/pathconf.c: Likewise.
5767 * locale/programs/ld-ctype.c (ctype_output): Really write out
5768 mboutdigits information.
5769 * localedata/tst-trans.c: Add code to test printf's I flag with locale.
5770 * localedata/tst-trans.sh: Set GCONV_PATH for compilation environment.
5771 * localedata/tests/trans.def: Add outdigit information.
5773 * localedata/tst-mbswcs3.c: Remove comment.
5775 * stdio-common/vfprintf.c (vfprintf): Fix handling of I flag.
5776 * stdio-common/tiformat.c (sprint_ints): Add tests for I flag.
5777 * libio/tst_wprintf.c (main): Add test for I flag.
5779 * iconv/gconv_trans.c: Implement handling if translit_ignore.
5780 * locale/langinfo.h: Add entries for translit_ignore information.
5781 * locale/categories.def: Add entries for new LC_CTYPE elements.
5782 * locale/C-ctype.c: Add initializers for new fields. Use NULL
5783 pointer instead of "" where possible.
5784 * locale/programs/ld-ctype.c: Write out translit_ignore information.
5785 * intl/Depend: Add localedata.
5786 * intl/tst-gettext.c: Call setlocale for LC_CTYPE.
5787 * intl/tst-gettext.sh: Set LOCPATH to localedata build dir.
5789 2000-06-16 Ulrich Drepper <drepper@redhat.com>
5791 * locale/langinfo.h: Add entries for default_missing information.
5792 * locale/C-ctype.c: Add initializers for new fields.
5793 * iconv/gconv_trans.c: If nothing matched, try to use default_missing
5795 * locale/categories.h: Add entries for all LC_CTYPE values.
5796 * locale/programs/ld-ctype.c (ctype_output): Write out default_missing
5799 * localedata/tst-trans.c: Write out an error message if class is
5802 * iconv/gconv_int.h (norm_add_slashes): Optionally add given suffix.
5803 * iconv/gconv_open.c: Remove error handling specification from `from'
5805 * intl/loadmsgcat.c (_nl_load_domain): Call norm_add_slashes with
5806 new parameter to always enable transliteration.
5807 * locale/localeinfo.h (LIMAGIC): Bump number because of incompatible
5809 (struct locale_data): Add new members use_translit and options.
5810 * locale/findlocale.c (_nl_find_locale): Set use_translit flag is
5811 character set name contained modifier TRANSLIT.
5812 * locale/loadlocale.c (_nl_load_locale): Initialize new use_translit
5814 (_nl_unload_locale): Free options string if necessary.
5815 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Enable translation if
5816 the locale names suggested this.
5817 * locale/C-address.c: Add two new initialilzers to adjust data
5818 structure for new format.
5819 * locale/C-collate.c: Likewise.
5820 * locale/C-ctype.c: Likewise.
5821 * locale/C-identification.c: Likewise.
5822 * locale/C-measurement.c: Likewise.
5823 * locale/C-messages.c: Likewise.
5824 * locale/C-monetary.c: Likewise.
5825 * locale/C-name.c: Likewise.
5826 * locale/C-numeric.c: Likewise.
5827 * locale/C-paper.c: Likewise.
5828 * locale/C-telephone.c: Likewise.
5829 * locale/C-time.c: Likewise.
5831 * locale/setlocale.c: Add some more __builtin_expect.
5833 2000-06-15 Ulrich Drepper <drepper@redhat.com>
5835 * iconv/gconv.h (__gconv_fct): Change type of fifth parameter to
5837 (__gconv_init_fct): Remove two parameters.
5838 * iconv/gconv_int.h (__gconv_transliterate): Renamed from
5839 gconv_transliterate. Remove two parameters.
5840 Change prototypes of builtin functions according to __gconv_fct change.
5841 * iconv/skeleton.c: Change type of fifth parameter. make sure it is
5842 != NULL only during error handling. Stop in this case after the
5844 * iconv/gconv_trans.c: Replace with real implementation for
5845 __gconv_transliterate.
5846 * iconv/gconv_open.c: Adjust for renaming of __gconv_transliterate.
5847 * iconv/gconv.c: Change calls to downstream functions once again.
5848 Use NULL for the fifth parameter instead of pointer to output buffer.
5849 * libio/iofwide.c: Likewise.
5850 * wcsmbs/btowc.c: Likewise.
5851 * wcsmbs/mbrtowc.c: Likewise.
5852 * wcsmbs/mbsnrtowcs.c: Likewise.
5853 * wcsmbs/mbsrtowcs.c: Likewise.
5854 * wcsmbs/wcrtomb.c: Likewise.
5855 * wcsmbs/wcsnrtombs.c: Likewise.
5856 * wcsmbs/wcsrtombs.c: Likewise.
5857 * wcsmbs/wctob.c: Likewise.
5858 * iconv/gconv_simple.c: Remove two parameters from error handling
5860 * iconvdata/8bit-gap.c: Likewise.
5861 * iconvdata/8bit-generic.c: Likewise.
5862 * iconvdata/ansi_x3.110.c: Likewise.
5863 * iconvdata/big5.c: Likewise.
5864 * iconvdata/big5hkscs.c: Likewise.
5865 * iconvdata/euc-cn.c: Likewise.
5866 * iconvdata/euc-jp.c: Likewise.
5867 * iconvdata/euc-kr.c: Likewise.
5868 * iconvdata/euc-tw.c: Likewise.
5869 * iconvdata/gbgbk.c: Likewise.
5870 * iconvdata/gbk.c: Likewise.
5871 * iconvdata/iso-2022-cn.c: Likewise.
5872 * iconvdata/iso-2022-jp.c: Likewise.
5873 * iconvdata/iso-2022-kr.c: Likewise.
5874 * iconvdata/iso646.c: Likewise.
5875 * iconvdata/iso8859-1.c: Likewise.
5876 * iconvdata/iso_6937-2.c: Likewise.
5877 * iconvdata/iso_6937.c: Likewise.
5878 * iconvdata/johab.c: Likewise.
5879 * iconvdata/sjis.c: Likewise.
5880 * iconvdata/t.61.c: Likewise.
5881 * iconvdata/uhc.c: Likewise.
5882 * iconvdata/unicode.c: Likewise.
5883 * iconvdata/utf-16.c: Likewise.
5885 2000-06-15 Greg McGary <greg@mcgary.org>
5887 * sysdeps/unix/make-syscalls.sh: Strip leading whitespace from lhs
5888 of callnum assignment. Tolerate callnum expressions containing
5891 2000-06-14 Ulrich Drepper <drepper@redhat.com>
5893 * login/Makefile (utmpd): Remove rule to build utmpd.
5895 * csu/Versions: Move libgcc frame handling functions from here...
5896 * sysdeps/unix/sysv/linux/alpha/Versions: ...to here...
5897 * sysdeps/unix/sysv/linux/arm/Versions: ...to here...
5898 * sysdeps/unix/sysv/linux/i386/Versions: ...to here...
5899 * sysdeps/unix/sysv/linux/m68k/Versions: ...to here...
5900 * sysdeps/unix/sysv/linux/powerpc/Versions: ...to here...
5901 * sysdeps/unix/sysv/linux/sparc/sparc32/Versions: ...and here.
5903 * sysdeps/mach/hurd/i386/Versions: ...and here. New file.
5905 * locale/programs/ld-ctype.c (allocate_arrays): Correct a comment.
5907 * misc/syslog.c (vsyslog): Initialize msgoff in all cases.
5909 2000-06-14 Kazumoto Kojima <kkojima@rr.iij4u.or.jp>
5911 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Remove definitions for backward
5913 * sysdeps/sh/sh4/fpu/fegetenv.c: Likewise.
5914 * sysdeps/sh/sh4/fpu/fesetenv.c: Likewise.
5915 * sysdeps/sh/sh4/fpu/fraiseexcpt.c: Likewise.
5916 * sysdeps/sh/sh4/fpu/fsetexcptflg.c: Likewise.
5918 2000-06-14 Jakub Jelinek <jakub@redhat.com>
5920 * include/libc-symbols.h (link_warning): If HAVE_SECTION_QUOTES is
5921 defined, terminate quotes and read them after the comment char.
5922 * configure.in (HAVE_SECTION_QUOTES): Test whether
5923 __attribute__((section ("x"))) puts quotes around x or not.
5924 * config.h.in (HAVE_SECTION_QUOTES): Add.
5925 * configure: Rebuilt.
5927 2000-06-14 Andreas Jaeger <aj@suse.de>
5929 * sysdeps/unix/sysv/linux/configure.in: Set libc_cv_sysconfdir
5930 depending on the configure option --sysconfdir.
5931 Closes PR libc/1762.
5932 Patch by Andreas Schwab <schwab@suse.de>.
5934 * sysdeps/mips/dl-machine.h: Pass finalizer correctly to user
5936 Reported by Jim Pick <jim@jimpick.com>.
5938 2000-06-14 Ulrich Drepper <drepper@redhat.com>
5940 * misc/syslog.c (vsyslog): Allow open_memstream to fail without
5941 crashing the application. Emit some simple error message.
5942 Reported by mju@panasas.com [PR libc/1769].
5944 2000-06-13 Ulrich Drepper <drepper@redhat.com>
5946 * malloc/Makefile (distribute): Add memprof.sh and memprofstat.c.
5948 * crypt/Makefile (distribute): Add md5.h.
5950 * Makefile (distribute): Add include/shlib-compat.h.
5952 * Make-dist: Search for tests also in sysdeps hierachy.
5954 * crypt/Makefile (distribute): Add ufc-crypt.h, crypt-private.h,
5955 ufc.c, speeds.c, README.ufc-crypt, and Banner.
5957 * sysdeps/sparc/Subdirs: New file.
5959 * locale/Makefile (distribute): Add weightwc.h and
5960 programs/localedef.h.
5962 * time/Makefile (distribute): Add datemsk.
5964 * sysdeps/ia64/Dist: Add softpipe.h.
5966 * sysdeps/unix/sysv/aix/Dist: New file.
5968 * posix/setpgrp.c: Moved to...
5969 * sysdeps/generic/setpgrp.c: ...here. New file.
5970 * io/mknod.c: Moved to...
5971 * sysdeps/generic/mknod.c: ...here. New file.
5973 * sysdeps/unix/sysv/linux/ia64/Dist: New file.
5975 * sysdeps/unix/sysv/linux/sparc/Dist: Add sys/procfs.h.
5977 * sysdeps/unix/sysv/linux/arm/Dist: Add oldgetrlimit64.c.
5979 * sysdeps/powerpc/Dist: Add fprrest.S, fprsave.S, gprsave1.S,
5980 gprsave0.S, gprrest1.S, and gprrest0.S.
5982 * sysdeps/generic/Dist: Add bp-thunks.h, bp-sym.h, and bp-start.h.
5984 * posix/Makefile (routines): Add spawnattr_getsigmask,
5985 spawnattr_getschedpolicy, spawnattr_getschedparam,
5986 spawnattr_setsigmask, spawnattr_setschedpolicy, and
5987 spawnattr_setschedparam.
5988 * posix/Versions: Add posix_spawnattr_getschedpolicy,
5989 posix_spawnattr_setschedpolicy, posix_spawnattr_getschedparam, and
5990 posix_spawnattr_setschedparam.
5992 * posix/spawnattr_setschedparam.c: Fix typo.
5994 * posix/spawnattr_setsigmask.c (posix_spawnattr_setsigmask):
5997 * login/programs/utmpd.c: Removed.
5998 * login/programs/utmpd.h: Removed.
5999 * login/programs/utmpd-private.h: Removed.
6001 * Makefile (distribute): Add include/db_185.h and include/db.h.
6003 * iconvdata/Makefile (distribute): Add iso-ir-165.c and
6006 * elf/Makefile (distribute): Add missing files.
6008 * dlfcn/Makefile: Add back rules to include eval in libdl.so.
6009 * elf/eval.c: Moved to...
6010 * dlfcn/eval.c: ...here. New file.
6012 * Makefile (distribute): Also distribute ChangeLog.1?.
6014 * Make-dist (+tsrcs): Remove .args handling here as well.
6016 * rt/Makefile (tests): Add tst-timer.
6017 * sysdeps/generic/tst-timer.c: New file.
6019 * Makerules (sources): Don't add BP sources here.
6021 * login/Makefile (distribute): Remove xtmp.h.
6023 * iconv/iconv_prog.c (main): Fix appending slashes if omit_invalid
6024 is true. Reported by Bruno Haible <haible@ilog.fr>.
6026 2000-06-13 Andreas Jaeger <aj@suse.de>
6028 * sysdeps/mips/elf/start.S (ENTRY_POINT): Remove mips64 defines.
6029 Patch by Ralf Baechle <ralf@gnu.org>.
6031 2000-06-13 Ulrich Drepper <drepper@redhat.com>
6033 * sysdeps/unix/sysv/linux/syscalls.list: Add parameter information
6034 for mincore syscall.
6036 * misc/sys/cdefs.h: Define __bounded and __unbounded if
6037 __BOUNDED_POINTERS__ is not defined.
6039 2000-06-07 Greg McGary <greg@mcgary.org>
6041 * sysdeps/generic/bp-sym.h: New file.
6042 * sysdeps/generic/bp-start.h: New file.
6043 * sysdeps/i386/elf/start.S: Designate BP symbols.
6044 * sysdeps/generic/libc-start.c: Wrap bounds around
6045 argv & envp and each of their string members.
6047 2000-06-07 Greg McGary <greg@mcgary.org>
6049 * sysdeps/unix/make-syscalls.sh: Add comments to
6050 output that aid debugging & comprehension.
6051 Map simple syscall signatures to number of args.
6052 Generate BP syscall thunk definitions.
6053 * sysdeps/generic/bp-thunks.h: New file.
6054 * sysdeps/unix/syscalls.list: Replace arg-count with
6055 simple return+arg signature.
6056 * sysdeps/unix/common/syscalls.list: Likewise.
6057 * sysdeps/unix/inet/syscalls.list: Likewise.
6058 * sysdeps/unix/mman/syscalls.list: Likewise.
6059 * sysdeps/unix/sysv/syscalls.list: Likewise.
6060 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
6061 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
6063 2000-06-07 Greg McGary <greg@mcgary.org>
6065 * Makeconfig (CPPFLAGS-.ob): Pass -fbounded-pointers
6066 for all files *.[cS].
6067 (CFLAGS-.ob): Don't optimize sibling calls.
6068 (bppfx): New variable.
6069 * Makerules (elide-bp-thunks): New variable.
6070 (elide-routines.*): Elide BP-* files for all but *.ob.
6071 (sources): Include bp-thunks.
6073 2000-06-12 Ulrich Drepper <drepper@redhat.com>
6075 * iconv/gconv_simple.c: Remove unnecessary prototype.
6077 * iconv/gconv_trans.c: Pretty print.
6079 * elf/elf.h (R_SH_NUM): Got accidently dropped.
6081 * sysdeps/unix/sysv/linux/configure.in: Improve handling of
6082 minimal kernel versions. Add information about IA-64 kernel.
6084 * sysdeps/unix/sysv/linux/configure.in: Allow architecture
6085 specific minimal supported kernel versions to be specified.
6087 * libio/iofwide.c (_IO_fwide): Initialize transliteration part of
6088 step data structure.
6089 * wcsmbs/btowc.c: Likewise.
6090 * wcsmbs/mbrtowc.c: Likewise.
6091 * wcsmbs/mbsnrtowcs.c: Likewise.
6092 * wcsmbs/mbsrtowcs.c: Likewise.
6093 * wcsmbs/wcrtomb.c: Likewise.
6094 * wcsmbs/wcsnrtombs.c: Likewise.
6095 * wcsmbs/wcsrtombs.c: Likewise.
6096 * wcsmbs/wctob.c: Likewise.
6098 * sysdeps/unix/sysv/linux/sh/Dist: There is no ioperm file.
6099 * sysdeps/unix/sysv/linux/sh/oldgetrlimit64.c: Removed.
6101 * shlib-versions: Earliest backward compatible version for SH is 2.2.
6103 * misc/sys/cdefs.h: Remove one more __P.
6105 * sysvipc/sys/shm.h: Move __getpagesize declaration inside extern C.
6108 * sysdeps/sh/sh3/bits/setjmp.h: Removed.
6109 * sysdeps/sh/sh4/bits/setjmp.h: Moved to...
6110 * sysdeps/sh/bits/setjmp.h: ...here. New file.
6112 2000-06-12 Kazumoto Kojima <kkojima@rr.iij4u.or.jp>
6113 Yutaka Niibe <gniibe@chroot.org>
6115 * configure.in: Add machine sh3, sh4.
6116 * elf/elf.h: Add SH specific declarations of relocations.
6117 * shlib-versions: Add sh*-*-linux* cases.
6119 2000-06-12 Ulrich Drepper <drepper@redhat.com>
6121 * sysdeps/sh/sh3/bsd-_setjmp.S: Move to...
6122 * sysdeps/sh/bsd-_setjmp.S: ...here. New file.
6123 * sysdeps/sh/sh4/bsd-_setjmp.S: Removed.
6124 * sysdeps/sh/sh3/bsd-setjmp.S: Move to...
6125 * sysdeps/sh/bsd-setjmp.S: ...here. New file.
6126 * sysdeps/sh/sh4/bsd-setjmp.S: Removed.
6128 * sysdeps/sh/dl-machine.h (FGR_SAVE): Protect using HAVE_FPU macro
6129 instead of KERNEL_MATH_EMULATION.
6130 * sysdeps/sh/sh4/dl-machine.h: Define HAVE_FPU not
6131 KERNEL_MATH_EMULATION.
6133 * sysdeps/sh/Dist: Removed. There is no ieee754.h file.
6134 * sysdeps/sh/sh3/dl-machine.h: Moved to...
6135 * sysdeps/sh/dl-machine.h: ...here. New file.
6136 * sysdeps/sh/sh4/dl-machine.h: Simply define KERNEL_MATH_EMULATION
6137 and include generic SH version.
6138 * sysdeps/sh/sh3/bits/endian.h: Move to...
6139 * sysdeps/sh/bits/endian.h: ...here. New file.
6140 * sysdeps/sh/sh4/bits/endian.h: Removed.
6141 * sysdeps/sh/sh3/bits/huge_val.h: Move to...
6142 * sysdeps/sh/bits/huge_val.h: ...here. New file.
6143 * sysdeps/sh/sh4/bits/huge_val.h: Removed.
6145 * include/libc-symbols.h (link_warning): Work around a change in
6146 GAS which warns about changing section attributes.
6147 Proposed by Nick Clifton <nickc@redhat.com>.
6149 2000-06-12 H.J. Lu <hjl@gnu.org>
6151 * sysdeps/i386/fpu/bits/mathinline.h (__sgn1l): Add __extension__.
6153 2000-06-11 H.J. Lu <hjl@gnu.org>
6155 * sysdeps/i386/fpu/Versions: New file.
6157 2000-06-12 Ulrich Drepper <drepper@redhat.com>
6159 * iconv/gconv.h (__gconv_trans_context_fct): Remove two
6161 * iconv/skeleton.c (FUNCTION_NAME): Call __trans_context_fct if it
6164 2000-06-12 Jes Sorensen <jes@linuxcare.com>
6166 * sysdeps/unix/sysv/linux/ia64/kernel_stat.h: New file.
6167 * sysdeps/unix/sysv/linux/ia64/xstatconv.c: New file.
6168 * sysdeps/unix/sysv/linux/ia64/bits/stat.h: New file.
6170 * sysdeps/unix/sysv/linux/ia64/fxstat64.c: New file.
6171 * sysdeps/unix/sysv/linux/ia64/lxstat64.c: New file.
6172 * sysdeps/unix/sysv/linux/ia64/xstat64.c: New file.
6174 2000-06-12 Kazumoto Kojima <kkojima@rr.iij4u.or.jp>
6175 Yutaka Niibe <gniibe@chroot.org>
6177 * sysdeps/sh/Dist: New file.
6178 * sysdeps/sh/Implies: New file.
6179 * sysdeps/sh/elf/initfini.c: New file.
6180 * sysdeps/sh/gmp-mparam.h: New file.
6181 * sysdeps/sh/init-first.c: New file.
6182 * sysdeps/sh/machine-gmon.h: New file.
6183 * sysdeps/sh/memcpy.S: New file.
6184 * sysdeps/sh/memprof.h: New file.
6185 * sysdeps/sh/memset.S: New file.
6186 * sysdeps/sh/sh3/__longjmp.S: New file.
6187 * sysdeps/sh/sh3/bits/endian.h: New file.
6188 * sysdeps/sh/sh3/bits/huge_val.h: New file.
6189 * sysdeps/sh/sh3/bits/setjmp.h: New file.
6190 * sysdeps/sh/sh3/bsd-_setjmp.S: New file.
6191 * sysdeps/sh/sh3/bsd-setjmp.S: New file.
6192 * sysdeps/sh/sh3/dl-machine.h: New file.
6193 * sysdeps/sh/sh3/setjmp.S: New file.
6194 * sysdeps/sh/sh4/__longjmp.S: New file.
6195 * sysdeps/sh/sh4/bits/endian.h: New file.
6196 * sysdeps/sh/sh4/bits/huge_val.h: New file.
6197 * sysdeps/sh/sh4/bits/setjmp.h: New file.
6198 * sysdeps/sh/sh4/bsd-_setjmp.S: New file.
6199 * sysdeps/sh/sh4/bsd-setjmp.S: New file.
6200 * sysdeps/sh/sh4/dl-machine.h: New file.
6201 * sysdeps/sh/sh4/fpu/bits/fenv.h: New file.
6202 * sysdeps/sh/sh4/fpu/bits/huge_val.h: New file.
6203 * sysdeps/sh/sh4/fpu/bits/mathdef.h: New file.
6204 * sysdeps/sh/sh4/fpu/fclrexcpt.c: New file.
6205 * sysdeps/sh/sh4/fpu/fegetenv.c: New file.
6206 * sysdeps/sh/sh4/fpu/fegetround.c: New file.
6207 * sysdeps/sh/sh4/fpu/feholdexcpt.c: New file.
6208 * sysdeps/sh/sh4/fpu/fesetenv.c: New file.
6209 * sysdeps/sh/sh4/fpu/fesetround.c: New file.
6210 * sysdeps/sh/sh4/fpu/fpu_control.h: New file.
6211 * sysdeps/sh/sh4/fpu/fraiseexcpt.c: New file.
6212 * sysdeps/sh/sh4/fpu/fsetexcptflg.c: New file.
6213 * sysdeps/sh/sh4/fpu/ftestexcept.c: New file.
6214 * sysdeps/sh/sh4/fpu/libm-test-ulps: New file.
6215 * sysdeps/sh/sh4/setjmp.S: New file.
6216 * sysdeps/sh/elf/start.S: New file.
6217 * sysdeps/sh/sys/ucontext.h: New file.
6218 * sysdeps/sh/strlen.S: New file.
6219 * sysdeps/sh/sysdep.h: New file.
6220 * sysdeps/unix/sh/sysdep.S: New file.
6221 * sysdeps/unix/sh/sysdep.h: New file.
6222 * sysdeps/unix/sysv/linux/sh/Dist: New file.
6223 * sysdeps/unix/sysv/linux/sh/Makefile: New file.
6224 * sysdeps/unix/sysv/linux/sh/Versions: New file.
6225 * sysdeps/unix/sysv/linux/sh/bits/mman.h: New file.
6226 * sysdeps/unix/sysv/linux/sh/bits/resource.h: New file.
6227 * sysdeps/unix/sysv/linux/sh/brk.c: New file.
6228 * sysdeps/unix/sysv/linux/sh/chown.c: New file.
6229 * sysdeps/unix/sysv/linux/sh/clone.S: New file.
6230 * sysdeps/unix/sysv/linux/sh/fchown.c: New file.
6231 * sysdeps/unix/sysv/linux/sh/fxstat.c: New file.
6232 * sysdeps/unix/sysv/linux/sh/getegid.c: New file.
6233 * sysdeps/unix/sysv/linux/sh/geteuid.c: New file.
6234 * sysdeps/unix/sysv/linux/sh/getgroups.c: New file.
6235 * sysdeps/unix/sysv/linux/sh/getresgid.c: New file.
6236 * sysdeps/unix/sysv/linux/sh/getresuid.c: New file.
6237 * sysdeps/unix/sysv/linux/sh/getrlimit.c: New file.
6238 * sysdeps/unix/sysv/linux/sh/getrlimit64.c: New file.
6239 * sysdeps/unix/sysv/linux/sh/getuid.c: New file.
6240 * sysdeps/unix/sysv/linux/sh/lchown.c: New file.
6241 * sysdeps/unix/sysv/linux/sh/lxstat.c: New file.
6242 * sysdeps/unix/sysv/linux/sh/msgctl.c: New file.
6243 * sysdeps/unix/sysv/linux/sh/oldgetrlimit64.c: New file.
6244 * sysdeps/unix/sysv/linux/sh/pipe.S: New file.
6245 * sysdeps/unix/sysv/linux/sh/profil-counter.h: New file.
6246 * sysdeps/unix/sysv/linux/sh/semctl.c: New file.
6247 * sysdeps/unix/sysv/linux/sh/setegid.c: New file.
6248 * sysdeps/unix/sysv/linux/sh/seteuid.c: New file.
6249 * sysdeps/unix/sysv/linux/sh/setfsgid.c: New file.
6250 * sysdeps/unix/sysv/linux/sh/setfsuid.c: New file.
6251 * sysdeps/unix/sysv/linux/sh/setgid.c: New file.
6252 * sysdeps/unix/sysv/linux/sh/setgroups.c: New file.
6253 * sysdeps/unix/sysv/linux/sh/setregid.c: New file.
6254 * sysdeps/unix/sysv/linux/sh/setresgid.c: New file.
6255 * sysdeps/unix/sysv/linux/sh/setresuid.c: New file.
6256 * sysdeps/unix/sysv/linux/sh/setreuid.c: New file.
6257 * sysdeps/unix/sysv/linux/sh/setrlimit.c: New file.
6258 * sysdeps/unix/sysv/linux/sh/setuid.c: New file.
6259 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: New file.
6260 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: New file.
6261 * sysdeps/unix/sysv/linux/sh/shmctl.c: New file.
6262 * sysdeps/unix/sysv/linux/sh/sigcontextinfo.h: New file.
6263 * sysdeps/unix/sysv/linux/sh/socket.S: New file.
6264 * sysdeps/unix/sysv/linux/sh/sys/io.h: New file.
6265 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
6266 * sysdeps/unix/sysv/linux/sh/sys/user.h: New file.
6267 * sysdeps/unix/sysv/linux/sh/syscalls.list: New file.
6268 * sysdeps/unix/sysv/linux/sh/sysdep.S: New file.
6269 * sysdeps/unix/sysv/linux/sh/sysdep.h: New file.
6270 * sysdeps/unix/sysv/linux/sh/vfork.S: New file.
6271 * sysdeps/unix/sysv/linux/sh/xstat.c: New file.
6273 2000-06-12 Ulrich Drepper <drepper@redhat.com>
6275 * Rules (%.out): Define GCONV_PATH in the environment.
6276 * assert/Depend: New file.
6277 * iconvdata/Depend: New file.
6278 * intl/Depend: New file.
6279 * timezone/Makefile (build-testdata): Add GCONV_PATH to environment.
6280 * intl/tst-gettext.sh: Likewise.
6281 * iconv/Makefile (routines): Add gconv_trans.
6282 * iconv/gconv_trans.c: New file.
6283 * iconv/gconv.h (struct __gconv_trans_data): New type.
6284 (__gconv_fct): New parameter with starting position in output buffer.
6285 (__gconv_trans_fct, __gconv_trans_context_fct, __gconv_trans_query_fct,
6286 __gconv_trans_init_fct, __gconv_trans_end_fct): New types.
6287 (struct __gconv_step): Add new member __trans.
6288 * iconv/gconv_int.h: Pretty print prototypes.
6289 (gconv_transliterate): New prototype.
6290 (__BUILTIN_TRANS): Update for new conversion function interface.
6291 * iconv/gconv.c (__gconv): Pass new parameter to conversion function.
6292 * iconv/gconv_open.c (__gconv_open): Recognize error handling suffix
6293 in names, find appropriate function, and install in the conversion
6294 steps it can be used.
6295 * iconv/skeleton.c: Add additional parameter for beginning of output
6296 buffer. Change calls of downstream functions.
6297 * iconv/loop.c: Change loop function interface completely. Pass in
6298 step and step_data structure. Remove optimization for BODY with
6299 NEED_LENGTH_TEST == 0.
6300 * iconv/gconv_simple.c: Update interfaces of functions. Insert
6301 appropriate error handling code to use transliteration steps. Remove
6302 optimization for BODY with NEED_LENGTH_TEST == 0.
6303 * iconvdata/8bit-gap.c: Likewise.
6304 * iconvdata/8bit-generic.c: Likewise.
6305 * iconvdata/ansi_x3.110.c: Likewise.
6306 * iconvdata/big5.c: Likewise.
6307 * iconvdata/big5hkscs.c: Likewise.
6308 * iconvdata/euc-cn.c: Likewise.
6309 * iconvdata/euc-jp.c: Likewise.
6310 * iconvdata/euc-kr.c: Likewise.
6311 * iconvdata/euc-tw.c: Likewise.
6312 * iconvdata/gbgbk.c: Likewise.
6313 * iconvdata/gbk.c: Likewise.
6314 * iconvdata/iso-2022-cn.c: Likewise.
6315 * iconvdata/iso-2022-jp.c: Likewise.
6316 * iconvdata/iso-2022-kr.c: Likewise.
6317 * iconvdata/iso646.c: Likewise.
6318 * iconvdata/iso8859-1.c: Likewise.
6319 * iconvdata/iso_6937-2.c: Likewise.
6320 * iconvdata/iso_6937.c: Likewise.
6321 * iconvdata/johab.c: Likewise.
6322 * iconvdata/sjis.c: Likewise.
6323 * iconvdata/t.61.c: Likewise.
6324 * iconvdata/uhc.c: Likewise.
6325 * iconvdata/unicode.c: Likewise.
6326 * iconvdata/utf-16.c: Likewise.
6327 * libio/iofwide.c: Adjust to new interface of gconv functions. Use
6329 * wcsmbs/btowc.c: Likewise.
6330 * wcsmbs/mbrtowc.c: Likewise.
6331 * wcsmbs/mbsnrtowcs.c: Likewise.
6332 * wcsmbs/mbsrtowcs.c: Likewise.
6333 * wcsmbs/wcrtomb.c: Likewise.
6334 * wcsmbs/wcsnrtombs.c: Likewise.
6335 * wcsmbs/wcsrtombs.c: Likewise.
6336 * wcsmbs/wctob.c: Likewise.
6338 2000-04-11 Geoff Keating <geoffk@cygnus.com>
6340 * sysdeps/powerpc/dl-machine.c: Include dl-machine.h after the
6341 other header files. Mention about 128-byte cache line sizes.
6342 (__elf_machine_fixup_plt): Make types match elf_machine_fixup_plt.
6343 * sysdeps/powerpc/dl-machine.h (elf_machine_fixup_plt): Update
6344 for current calling sequence.
6345 * sysdeps/powerpc/dl-start.S (_dl_start_user): Close comment.
6347 * sysdeps/powerpc/fpu/s_rint.c: Handle rounding to -0 correctly.
6348 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
6350 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add getrlimit
6351 and setrlimit syscalls for backwards compatibility.
6353 2000-06-10 Ulrich Drepper <drepper@redhat.com>
6355 * iconv/skeleton.c: Rename converted written to correcter name
6357 * iconv/gconv.c: Rename converted variable to correcter name
6359 * iconv/gconv_int.h: Likewise.
6360 * iconv/gconv_simple.c: Likewise.
6361 * iconv/iconv.c: Likewise.
6362 * iconv/loop.c: Likewise.
6363 * iconvdata/8bit-gap.c: Likewise.
6364 * iconvdata/8bit-generic.c: Likewise.
6365 * iconvdata/ansi_x3.110.c: Likewise.
6366 * iconvdata/big5.c: Likewise.
6367 * iconvdata/big5hkscs.c: Likewise.
6368 * iconvdata/euc-cn.c: Likewise.
6369 * iconvdata/euc-jp.c: Likewise.
6370 * iconvdata/euc-kr.c: Likewise.
6371 * iconvdata/gbgbk.c: Likewise.
6372 * iconvdata/gbk.c: Likewise.
6373 * iconvdata/iso-2022-cn.c: Likewise.
6374 * iconvdata/iso-2022-jp.c: Likewise.
6375 * iconvdata/iso-2022-kr.c: Likewise.
6376 * iconvdata/iso646.c: Likewise.
6377 * iconvdata/iso8859-1.c: Likewise.
6378 * iconvdata/iso_6937-2.c: Likewise.
6379 * iconvdata/iso_6937.c: Likewise.
6380 * iconvdata/johab.c: Likewise.
6381 * iconvdata/sjis.c: Likewise.
6382 * iconvdata/t.61.c: Likewise.
6383 * iconvdata/uhc.c: Likewise.
6384 * iconvdata/unicode.c: Likewise.
6385 * iconvdata/utf-16.c: Likewise.
6387 * sysdeps/unix/sysv/linux/bits/socket.h (struct cmsghdr): Mark
6388 __cmsg_data field with __extension__.
6390 2000-06-10 David Mosberger <davidm@hpl.hp.com>
6392 * sysdeps/unix/sysv/linux/ia64/syscall.S: Fix it so it actually works.
6394 2000-06-10 Ulrich Drepper <drepper@redhat.com>
6396 * iconv/gconv_simple.c: Fix various small bugs in several
6399 * iconv/loop.c: Fix comment.
6401 2000-06-10 Jakub Jelinek <jakub@redhat.com>
6403 * elf/link.h: Remove libc internal declarations.
6404 * include/link.h: Move them here.
6406 2000-06-09 Ulrich Drepper <drepper@redhat.com>
6408 * sysdeps/unix/sysv/linux/ia64/getsysstats.c: New file.
6409 Patch by Dan Pop <Dan.Pop@cern.ch>.
6411 Rewrite error message handling.
6412 * elf/dl-deps.c (_dl_map_object_deps): Pass new parameter to
6414 * elf/dl-error (struct catch): Add objname member.
6415 (_dl_signal_error): Take new parameter with object name. When
6416 passing message on simply store object name and duplicate error
6418 (_dl_catch_error): Take new parameter. Store object name in the
6420 * include/dlfcn.h: Adjust _dl_catch_error prototype.
6421 * sysdeps/generic/ldsodefs.h: Adjust _dl_signal_error prototype.
6422 * dlfcn/dlerror.c (struct dl_action_result): Add objname member.
6423 (dlerror): Add objname to asprintf() parameters.
6424 (_dl_error_run): Pass new parameter to _dl_catch_error.
6425 * elf/dl-libc.c (dlerror_run): Pass new parameter to _dl_catch_error.
6426 * elf/dl-open.c (_dl_open): Likewise.
6427 * elf/rtld.c (dl_main): Likewise.
6428 * elf/dl-close.c: Mark error messages with N_().
6429 * elf/dl-deps.c: Likewise.
6430 * elf/dl-error.c: Likewise.
6431 * elf/dl-load.c: Likewise.
6432 * elf/dl-open.c: Likewise.
6433 * elf/dl-reloc.c: Likewise.
6434 * elf/dl-support.c: Likewise.
6435 * elf/dl-sym.c: Likewise.
6436 * elf/dl-version.c: Likewise.
6437 * elf/dl-lookup.c: Add comments about problems with error message
6439 * elf/dl-reloc.c: Likewise.
6440 * elf/dl-version.c: Likewise.
6442 2000-06-09 H.J. Lu <hjl@gnu.org>
6444 * dlfcn/dlerror.c (_dlerror_run): Set result->errstring to NULL
6447 * dlfcn/Makefile (distribute): Add failtestmod.c.
6448 (tests): Add failtest.
6449 Add rules to build and run failtest.
6450 * dlfcn/failtest.c: New file.
6451 * dlfcn/failtestmod.c: New file.
6453 2000-06-09 David Mosberger-Tang <davidm@hpl.hp.com>
6455 * sysdeps/unix/sysv/linux/ia64/__longjmp.S: new file
6456 * sysdeps/unix/sysv/linux/ia64/bsd-_setjmp.S: new file
6457 * sysdeps/unix/sysv/linux/ia64/bsd-setjmp.S: new file
6458 * sysdeps/unix/sysv/linux/ia64/setjmp.S: new file
6459 * sysdeps/unix/sysv/linux/ia64/bits/setjmp.h: new file
6461 2000-06-09 Jes Sorensen <jes@linuxcare.com>
6463 * sysdeps/unix/sysv/linux/ia64/brk.S: New file.
6464 * sysdeps/unix/sysv/linux/ia64/pipe.S: New file.
6466 2000-06-09 Jes Sorensen <jes@linuxcare.com>
6467 Ulrich Drepper <drepper@redhat.com>
6469 * sysdeps/unix/sysv/linux/ia64/sigaction.c: New file.
6470 * sysdeps/unix/sysv/linux/ia64/sigpending.c: New file.
6471 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c: New file.
6472 * sysdeps/unix/sysv/linux/ia64/sigsuspend.c: New file.
6473 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h: New file.
6474 * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h: New file.
6476 2000-06-09 Ulrich Drepper <drepper@redhat.com>
6478 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Try harder
6479 to find correct mount point despite wrong information from the
6482 2000-06-09 Jes Sorensen <jes@linuxcare.com>
6484 * elf/dl-libc.c (__libc_dlsym): Use DL_SYMBOL_ADDRESS() to obtain
6485 the address of a symbol so function pointers are handled properly.
6487 2000-06-08 Ulrich Drepper <drepper@redhat.com>
6489 * sysdeps/i386/Dist: Add bp-asm.h.
6491 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Use
6492 defaultdir variable instead of "/var/shm" everywhere.
6493 (defaultdir): Change to /dev/shm/.
6495 2000-06-08 Greg McGary <greg@mcgary.org>
6497 * sysdeps/i386/bp-asm.h: New file.
6498 * sysdeps/i386/__longjmp.S: Define & use symbolic argument stack
6499 offsets. Add ENTER/LEAVE macros for optionally maintaining
6500 frame-pointer chain when debugging.
6501 * sysdeps/i386/add_n.S: Likewise.
6502 * sysdeps/i386/addmul_1.S: Likewise.
6503 * sysdeps/i386/lshift.S: Likewise.
6504 * sysdeps/i386/memchr.S: Likewise.
6505 * sysdeps/i386/memcmp.S: Likewise.
6506 * sysdeps/i386/mul_1.S: Likewise.
6507 * sysdeps/i386/rawmemchr.S: Likewise.
6508 * sysdeps/i386/rshift.S: Likewise.
6509 * sysdeps/i386/stpcpy.S: Likewise.
6510 * sysdeps/i386/stpncpy.S: Likewise.
6511 * sysdeps/i386/strchr.S: Likewise.
6512 * sysdeps/i386/strchrnul.S: Likewise.
6513 * sysdeps/i386/strcspn.S: Likewise.
6514 * sysdeps/i386/strpbrk.S: Likewise.
6515 * sysdeps/i386/strrchr.S: Likewise.
6516 * sysdeps/i386/strspn.S: Likewise.
6517 * sysdeps/i386/strtok.S: Likewise.
6518 * sysdeps/i386/sub_n.S: Likewise.
6519 * sysdeps/i386/submul_1.S: Likewise.
6520 * sysdeps/i386/elf/setjmp.S: Likewise.
6521 * sysdeps/i386/i486/strcat.S: Likewise.
6522 * sysdeps/i386/i486/strlen.S: Likewise.
6523 * sysdeps/i386/i586/add_n.S: Likewise.
6524 * sysdeps/i386/i586/lshift.S: Likewise.
6525 * sysdeps/i386/i586/memcpy.S: Likewise.
6526 * sysdeps/i386/i586/memset.S: Likewise.
6527 * sysdeps/i386/i586/rshift.S: Likewise.
6528 * sysdeps/i386/i586/strchr.S: Likewise.
6529 * sysdeps/i386/i586/strcpy.S: Likewise.
6530 * sysdeps/i386/i586/strlen.S: Likewise.
6531 * sysdeps/i386/i586/sub_n.S: Likewise.
6532 * sysdeps/i386/i686/add_n.S: Likewise.
6533 * sysdeps/i386/i686/memcpy.S: Likewise.
6534 * sysdeps/i386/i686/mempcpy.S: Likewise.
6535 * sysdeps/i386/i686/memset.S: Likewise.
6536 * sysdeps/i386/i686/strcmp.S: Likewise.
6538 2000-06-08 Ulrich Drepper <drepper@redhat.com>
6540 * sysdeps/unix/sysv/linux/getdtsz.c: New file.
6542 * sysdeps/unix/sysv/linux/sys/param.h: Define NOFILE directly as
6543 256 and don't use OPEN_MAX.
6545 * sysdeps/unix/sysv/linux/pathconf.c: Define LINUX_LINK_MAX and
6546 use it instead of LINK_MAX.
6547 * sysdeps/unix/sysv/linux/fpathconf.c: Likewise.
6549 2000-06-08 Andreas Jaeger <aj@suse.de>
6551 * libio/genops.c (_IO_list_lock): Only compile body if we're
6553 (_IO_list_unlock): Likewise.
6554 (_IO_list_resetlock): Likewise.
6556 2000-06-07 Ulrich Drepper <drepper@redhat.com>
6558 * sysdeps/unix/sysv/linux/bits/local_lim.h: Undefine OPEN_MAX
6559 unless user defined it.
6561 * sysdeps/unix/sysv/linux/bits/local_lim.h: Also undefine LINK_MAX
6562 if not defined by the user.
6564 * libio/iofwrite_u.c (fwrite_unlocked): Remove obsolete comment.
6565 * libio/iofwrite.c (_IO_fwrite): Likewise.
6567 * time/time.h: Add missing __THROW for clock_getcpuclockid
6570 * elf/Makefile (distribute): Add dl-dtprocnum.h.
6571 * include/elf.h: Include also <dl-dtprocnum.h>.
6572 * elf/dl-deps.c: Likewise.
6573 * elf/dl-lookup.c: Likewise.
6574 * elf/dl-runtime.c: Likewise.
6575 * elf/dl-version.c: Likewise.
6576 * elf/do-rel.h: Likewise.
6577 * elf/dynamic-link.h: Likewise.
6578 * elf/link.h: Likewise.
6579 * elf/rtld.c: Likewise.
6580 * sysdeps/generic/dl-dtprocnum.h: New file.
6581 * sysdeps/ia64/dl-dtprocnum.h: New file.
6582 * sysdeps/mips/dl-dtprocnum.h: New file.
6583 * sysdeps/sparc/dl-dtprocnum.h: New file.
6585 * sysdeps/i386/dl-machine.h: Add more __builtin_expect.
6587 * elf/do-lookup.h: Add some __builtin_expect.
6589 * dlfcn/dlfcn.h: Pretty print dladdr declaraction.
6591 * elf/rtld.c (process_envvars): Recognize LD_DYNAMIC_WEAK.
6592 (_dl_dynamic_weak): New variable.
6593 * elf/dl-support.c: Likewise.
6594 * sysdeps/generic/ldsodefs.h: Declare _dl_dynamic_weak.
6595 * elf/do-lookup.h: If we find a weak definition treat it like a
6596 normal symbol unless _dl_dynamic_weak is nonzero. In the latter
6597 case treat it like before.
6599 * elf/dl-addr.c (_dl_addr): Fill in correct information if symbol
6601 * elf/Versions [ld] (GLIBC_2.2): Export _dl_argv.
6603 * elf/dl-addr.c (_dl_addr): Do exact testing of address range
6604 using l_map_start and l_map_end.
6606 * elf/dl-version.c: Add __builtin_expect in many places.
6608 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (x86_cap_flags):
6611 2000-06-04 Kaz Kylheku <kaz@ashi.footprints.net>
6613 Lock for stdio stream list becomes global, for use in LinuxThreads.
6615 * libio/genops.c (_IO_iter_begin, _IO_iter_end,
6616 _IO_iter_next, _IO_iter_file, _IO_list_lock, _IO_list_unlock,
6617 _IO_list_resetlock): New interface for iterating global list of
6618 streams without accessing the _IO_list_all global variable,
6619 and for manipulating the lock which protects this list.
6620 * libio/libioP.h: Likewise.
6621 * libio/Version: Add entries for the new functions.
6623 * libio/libioP.h (_IO_ITER): New typedef, just an alias for
6624 pointer to _IO_FILE.
6626 2000-06-07 Ulrich Drepper <drepper@redhat.com>
6628 * locale/programs/ld-ctype.c (set_class_defaults): Several uses of
6629 BIT() must actually be BITw().
6631 * locale/programs/ld-ctype.c: Handle SP and space consistently.
6633 * locale/programs/charmap.c: Allow string arguments for
6634 code_set_name and repertoiremap.
6636 2000-06-07 Andreas Jaeger <aj@suse.de>
6638 * elf/Makefile: Build ldconfig only when building shared libraries.
6640 2000-06-07 Jakub Jelinek <jakub@redhat.com>
6642 * sysdeps/alpha/fpu/bits/mathinline.h (__fdimf): Only declare if
6644 (fdimf, __fdim, fdim): Likewise.
6646 2000-06-07 Ulrich Drepper <drepper@redhat.com>
6648 * locale/findlocale.c: Add __builtin_expect in many places.
6649 * locale/loadlocale.c: Likewise.
6651 2000-06-06 Greg McGary <greg@mcgary.org>
6653 * sysdeps/mips/elf/start.S: Trim redundant code.
6655 * sysdeps/powerpc/memset.S: Define & use symbolic register names.
6656 Use C comments throughout. Line up operands column with tabs.
6657 * sysdeps/powerpc/strchr.S: Likewise.
6658 * sysdeps/powerpc/strcmp.S: Likewise.
6659 * sysdeps/powerpc/strcpy.S: Likewise.
6660 * sysdeps/powerpc/strlen.S: Likewise.
6662 * sysdeps/unix/sysv/linux/powerpc/brk.S [!PIC]:
6663 Get low part of &__curbrk with @l.
6665 2000-06-06 Ulrich Drepper <drepper@redhat.com>
6667 * iconvdata/utf-16.c: Add __builtin_expect in many places.
6668 * iconvdata/unicode.c: Likewise.
6669 * iconvdata/uhc.c: Likewise.
6670 * iconvdata/t.61.c: Likewise.
6671 * iconvdata/sjis.c: Likewise.
6672 * iconvdata/johab.c: Likewise.
6673 * iconvdata/iso_6937.c: Likewise.
6674 * iconvdata/iso_6937-2.c: Likewise.
6675 * iconvdata/iso8859-1.c: Likewise.
6676 * iconvdata/iso646.c: Likewise.
6677 * iconvdata/iso-2022-kr.c: Likewise.
6678 * iconvdata/iso-2022-jp.c: Likewise.
6679 * iconvdata/iso-2022-cn.c: Likewise.
6680 * iconvdata/gbgbk.c: Likewise.
6681 * iconvdata/gbk.c: Likewise.
6682 * iconvdata/euc-kr.c: Likewise.
6683 * iconvdata/euc-jp.c: Likewise.
6684 * iconvdata/euc-cn.c: Likewise.
6686 2000-06-05 Ulrich Drepper <drepper@redhat.com>
6688 * iconvdata/big5hkscs.c: Add __builtin_expect in many places.
6689 * iconvdata/big5.c: Likewise.
6690 * iconvdata/ansi_x3.110.c: Likewise.
6691 * iconvdata/8bit-generic.c: Likewise.
6692 * iconvdata/8bit-gap.c: Likewise.
6693 * iconv/loop.c: Likewise.
6694 * iconv/gconv_db.c: Likewise.
6695 * iconv/gconv_dl.c: Likewise.
6696 * iconv/gconv_simple.c: Likewise.
6697 * iconv/skeleton.c: Likewise.
6699 * iconv/gconv.h (__GCONV_IS_LAST, __GCONV_IGNORE_ERRORS): Define.
6700 (struct __gconv_step_data): Rename __is_last to __flags.
6701 * iconv/gconv_close.c: Change all uses of __is_last.
6702 * iconv/skeleton.c: Likewise.
6703 * iconvdata/iso-2022-cn.c: Likewise.
6704 * iconvdata/iso-2022-jp.c: Likewise.
6705 * iconvdata/iso-2022-kr.c: Likewise.
6706 * iconv/gconv_open.c: Likewise. Avoid unneeded initializations.
6707 Recognize IGNORE error handling, set flag, and remove from name.
6708 * iconv/loop.c (ignore_errors_p): Define.
6709 Add flags parameter to both functions.
6710 * iconv/skeleton.c: Pass flags to all conversion functions.
6711 * iconv/gconv_simple.c: Add flags parameter to all functions.
6712 Don't return error for invald error if ignore flag is set.
6713 (ucs4_internal_loop_single): Add missing pointer increment.
6714 (internal_ucs4le_loop_single): Likewise.
6715 * iconv/iconv_prog.c: Implement handling of -c parameter.
6716 * iconvdata/8bit-gap.c: Don't return error for invald error if
6718 * iconvdata/8bit-generic.c: Likewise.
6719 * iconvdata/ansi_x3.110.c: Likewise.
6720 * iconvdata/big5.c: Likewise.
6721 * iconvdata/big5hkscs.c: Likewise.
6722 * iconvdata/euc-cn.c: Likewise.
6723 * iconvdata/euc-jp.c: Likewise.
6724 * iconvdata/euc-kr.c: Likewise.
6725 * iconvdata/gbgbk.c: Likewise.
6726 * iconvdata/gbk.c: Likewise.
6727 * iconvdata/iso-2022-cn.c: Likewise.
6728 * iconvdata/iso-2022-jp.c: Likewise.
6729 * iconvdata/iso-2022-kr.c: Likewise.
6730 * iconvdata/iso646.c: Likewise.
6731 * iconvdata/iso8859-1.c: Likewise.
6732 * iconvdata/iso_6937-2.c: Likewise.
6733 * iconvdata/iso_6937.c: Likewise.
6734 * iconvdata/johab.c: Likewise.
6735 * iconvdata/sjis.c: Likewise.
6736 * iconvdata/t.61.c: Likewise.
6737 * iconvdata/uhc.c: Likewise.
6738 * iconvdata/unicode.c: Likewise.
6739 * iconvdata/utf-16.c: Likewise.
6740 * libio/fileops.c: Likewise.
6741 * libio/iofwide.c: Likewise.
6742 * wcsmbs/btowc.c: Likewise.
6743 * wcsmbs/mbrtowc.c: Likewise.
6744 * wcsmbs/mbsnrtowcs.c: Likewise.
6745 * wcsmbs/mbsrtowcs.c: Likewise.
6746 * wcsmbs/wcrtomb.c: Likewise.
6747 * wcsmbs/wcsnrtombs.c: Likewise.
6748 * wcsmbs/wcsrtombs.c: Likewise.
6749 * wcsmbs/wctob.c: Likewise.
6751 * iconvdata/ksc5601.h (ksc5601_to_ucs4): Undo *s change in all cases of
6754 2000-06-04 Ulrich Drepper <drepper@redhat.com>
6756 * iconv/gconv_dl.c (do_release_shlib): Don't reset reference
6757 counter for the object we are releasing, just decrement it.
6758 Patch by Akira Higuchi <a-higuti@math.sci.hokudai.ac.jp>.
6760 2000-06-04 Jakub Jelinek <jakub@redhat.com>
6762 * sysdeps/i386/fpu/bits/mathinline.h: Only inline sinh, cosh and tanh
6765 2000-06-04 Ulrich Drepper <drepper@redhat.com>
6767 * iconvdata/big5hkscs.c: New file.
6768 Modified from big5.c by Roger So <rogerso@sis.dhs.org>.
6770 * iconvdata/gconv-modules: Add entry for new module.
6771 * iconvdata/Makefile (modules): Add BIG5HKSCS.
6772 (distribute): Add big5hkscs.c.
6774 2000-06-01 Jakub Jelinek <jakub@redhat.com>
6776 * libc/sysdeps/alpha/fpu/bits/mathinline.h: Add __THROW to all
6777 inlines to match prototypes in mathcalls.h.
6778 * libc/sysdeps/i386/fpu/bits/mathinline.h: Likewise.
6779 * libc/sysdeps/m68k/fpu/bits/mathinline.h: Likewise.
6780 * libc/sysdeps/powerpc/fpu/bits/mathinline.h: Likewise.
6781 * libc/sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
6783 2000-06-03 Ulrich Drepper <drepper@redhat.com>
6785 * elf/elf.h (SHT_SUNW_move): Define.
6787 * elf/elf.h: Add more Solaris compatiblity definitions.
6789 2000-06-03 Andreas Jaeger <aj@suse.de>
6791 * sysdeps/powerpc/dl-start.S: Close open comment.
6793 2000-06-03 Jakub Jelinek <jakub@redhat.com>
6795 * inet/Versions: Fix typo in rresvport_af export.
6797 2000-06-02 Ulrich Drepper <drepper@redhat.com>
6799 * math/tgmath.h: Pretty print.
6801 2000-06-02 Andreas Jaeger <aj@suse.de>
6803 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Fix typo.
6804 Reported by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
6806 2000-06-02 Ulrich Drepper <drepper@redhat.com>
6808 * elf/rtld.c (process_envvars): Test for = after variable name.
6810 2000-06-01 Ulrich Drepper <drepper@redhat.com>
6812 * sysdeps/generic/initfini.c (_init): One less relocation. Don't
6813 have extra call to __gmon_start__, use the pointer we already have.
6815 * elf/elf.h (ELF64_R_INFO): Cast sym value to Elf64_Xword before
6818 * sysdeps/i386/elf/setjmp.S: Work around change is recent
6819 binutils. gas now emits a jump through the PLT instead of a
6820 relative jump if the jump target is an exported symbol.
6822 2000-05-31 Ulrich Drepper <drepper@redhat.com>
6824 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Define AIX_CBAUD.
6826 2000-05-31 Andreas Jaeger <aj@suse.de>
6828 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Use array for
6831 * sysdeps/unix/sysv/linux/mips/Versions: Export _flush_cache.
6832 Patches by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
6834 * sysdeps/unix/sysv/linux/mips/ftruncate64.c: Fix prototype of
6836 * sysdeps/unix/sysv/linux/mips/truncate64.c: Likewise.
6838 2000-05-30 Ulrich Drepper <drepper@redhat.com>
6840 * sysdeps/unix/sysv/linux/alpha/oldglob.c (__old_glob): Loose __P.
6842 * locale/Versions [libc] (GLIBC_2.2): Add localeconv.
6843 * locale/localeconv.c: Make function versioned (with same definition).
6845 * elf/Makefile (modules-names): Strip before using it.
6847 2000-05-30 Andreas Jaeger <aj@suse.de>
6849 * sysdeps/unix/sysv/linux/mips/truncate64.c: New file.
6850 * sysdeps/unix/sysv/linux/mips/ftruncate64.c: New file.
6851 * sysdeps/unix/sysv/linux/mips/pread64.c: Readded file.
6852 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Readded file.
6853 * sysdeps/unix/sysv/linux/mips/pread.c: Readded file.
6854 * sysdeps/unix/sysv/linux/mips/pwrite.c: Readded file.
6856 2000-05-29 Ulrich Drepper <drepper@redhat.com>
6858 * Makefile: Add GNU make magic.
6860 * inet/Makefile (CFLAGS-rcmd.c, CFLAGS-rexec.c, CFLAGS-ruserpass.c):
6862 * inet/rcmd.c: Remove __P. Remove unused variables.
6863 (iruserfopen): Make first parameter const.
6864 (ruserok_sa): Return result of ruserok2_sa.
6865 (__checkhost_sa): Correctly iterate through results of getaddrinfo.
6866 * inet/rexec.c: Remove unused variables. Other small cleanups.
6867 * inet/ruserpass.c: Remove __P. Remove unused variables.
6868 (ruserpass): Check results of memory allocation.
6869 * include/netdb.h: Add prototype for ruserpass.
6871 2000-05-29 Andreas Jaeger <aj@suse.de>
6873 * elf/readlib.c (interpreters): Use LD_SO since this is supported
6876 2000-05-29 Jakub Jelinek <jakub@redhat.com>
6878 * inet/rcmd.c (rresvport_af): Use correct port number.
6880 2000-05-26 Andreas Schwab <schwab@suse.de>
6882 * Makeconfig ($(common-objpfx)soversions.mk): Prepend `$lib=' to
6883 entries in all-sonames.
6884 ($(common-objpfx)gnu/lib-names.h): Use it for the CPP symbol,
6885 preserving the old name if different for compatibility.
6887 2000-05-29 Ulrich Drepper <drepper@redhat.com>
6889 * posix/Makefile (tests): Add tst-spawn.
6890 (tst-spawn-ARGS): New variable.
6891 * posix/tst-spawn.c: New file.
6893 * posix/spawn_faction_addclose.c: Correctly account for new entry.
6894 * posix/spawn_faction_adddup2.c: Likewise.
6895 * posix/spawn_faction_addopen.c: Likewise.
6896 * posix/spawni.c: Correctly test for success of dup2 calls.
6898 * posix/tst-preadwrite.c: Check success of malloc call.
6900 2000-05-28 Ulrich Drepper <drepper@redhat.com>
6902 * posix/Makefile (tests): Add tst-exec.
6903 (tst-exec-ARGS): New variable.
6904 * posix/tst-exec.c: New file.
6906 * sysdeps/arm/atomicity.h (compare_and_swap): Return result.
6908 2000-05-04 Andreas Jaeger <aj@suse.de>
6910 * string/string.h: Remove __strdup prototype, it's not needed in
6913 2000-05-28 Ulrich Drepper <drepper@redhat.com>
6915 * posix/Makefile (tests): Add tst-fork.
6916 * posix/tst-fork.c: New file.
6918 * resolv/inet_pton.c: Loose __P.
6920 2000-05-21 Jakub Jelinek <jakub@redhat.com>
6922 * libio/libioP.h (_IO_CHECK_WIDE): Define.
6923 * libio/iosetbuffer.c (_IO_setbuffer): Use it.
6924 * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
6925 * libio/fileops.c (_IO_new_file_fopen): Return NULL if
6926 _IO_CHECK_WIDE fails.
6928 2000-05-28 Ulrich Drepper <drepper@redhat.com>
6930 * po/da.po: New file.
6932 * manual/arith.texi (Rounding Functions): Fix documentation of trunc.
6933 Patch by Steven G. Johnson <stevenj@gil-galad.mit.edu>.
6935 * manual/charset.texi (Extended Char Intro): Fix typo (and -> as).
6936 (Other iconv Implementations): Fix typo.
6937 Patch by Martin Pool <mbp@wistful.humbug.org.au>.
6939 2000-05-27 Andreas Jaeger <aj@suse.de>
6941 * sysdeps/unix/sysv/linux/i386/pread.c: Removed, we can use the
6943 * sysdeps/unix/sysv/linux/i386/pwrite.c: Likewise.
6944 * sysdeps/unix/sysv/linux/i386/pwrite64.c: Likewise.
6945 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
6946 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
6947 * sysdeps/unix/sysv/linux/arm/pread.c: Likewise.
6948 * sysdeps/unix/sysv/linux/arm/pwrite.c: Likewise.
6950 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Check
6951 endianness to decide how to pass arguments.
6952 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
6954 * elf/vismain.c: Use test-skeleton interface.
6955 (TEST_FUNCTION): New macro.
6956 (do_test): Renamed from main.
6958 2000-05-27 Ulrich Drepper <drepper@redhat.com>
6960 * sysdeps/posix/getaddrinfo.c (gaih_inet): If req->ai_family ==
6961 AF_UNSPEC don't allow the IPv6 lookup to return mapped IPv4 addresses.
6963 * nss/nss_files/files-hosts.c (LINE_PARSER): Simplify. Correct
6964 handling of AI_V4MAPPED flag.
6966 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname2_r): If lookup
6967 of IPv6 address failed and RES_USE_INET6 bit in _res.options is set,
6968 perform lookup for T_A type and tell getanswer_r to convert the
6969 result with new argument.
6970 (_nss_dns_gethostbyaddr_r): Pass zero as new argument to getanswer_r.
6971 Don't convert addresses from IPv4 to IPv6 here.
6972 (getanswer_r): Take new parameter indicating if mapping from IPv4 to
6973 IPv6 is wanted. Allow qtype and type from reply to disagree if
6974 IPv4 mapping has to be done. Perform mappings if required by the
6975 caller and not if RES_USE_INET6 bit in _res.options is set.
6976 Add several __builtin_expect.
6978 2000-05-26 Ulrich Drepper <drepper@redhat.com>
6980 * catgets/open_catalog.c (__open_catalog): Add a few __builtin_expect.
6982 * elf/dl-load.c (_dl_map_object): Don't ignore RPATHs if loader ==
6985 * posix/tst-preadwrite.c: Allow parallel execution of
6986 tst-preadwrite and tst-preadwrite64.
6988 * posix/Makefile (tests): Add tst-truncate and tst-truncate64.
6989 * posix/tst-truncate.c: New file.
6990 * posix/tst-truncate64.c: New file.
6992 * sysdeps/unix/sysv/linux/pread64.c: The little/big endian code
6995 * posix/Makefile (tests): Add tst-preadwrite64.
6996 * posix/tst-preadwrite.c: Alloc file being used also for testing
6997 pread64 and pwrite64.
6998 * posix/tst-preadwrite64.c: New file.
7000 2000-05-26 Andreas Jaeger <aj@suse.de>
7002 * sysdeps/unix/sysv/linux/ftruncate64.c (ftruncate64): Make order
7003 of arguments dependend on endianness.
7004 * sysdeps/unix/sysv/linux/truncate64.c: Likewise.
7006 * sysdeps/unix/sysv/linux/i386/pread64.c: Removed, we can use the
7008 * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
7009 * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
7010 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
7011 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
7013 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Check
7014 endianness to check how to pass argument.
7015 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
7017 * elf/ldconfig.h: Update parameter list for process_elf_file.
7019 * sysdeps/unix/sysv/linux/sparc/readelflib.c (process_elf_file):
7020 Add parameter file_length and pass it ot process_elf*file.
7022 * sysdeps/generic/readelflib.c (check_ptr): New.
7023 (process_elf_file): Use check_ptr to check all accesses to the
7024 mmapped file. Add parameter file_length.
7026 * elf/readlib.c (known_libs): Use <gnu/lib-names.h> to specify
7029 * sunrpc/xdr_intXX_t.c (xdr_uint8_t): Fix conversion.
7030 Closes PR libc/1573, reported by Bradley White
7031 <bww@laurelnetworks.com>.
7033 2000-05-25 Ulrich Drepper <drepper@redhat.com>
7035 * sysdeps/i386/fpu/bits/mathinline.h: Define expm1 inline only if
7036 __FAST_MATH__ is defined.
7038 2000-05-22 Andreas Jaeger <aj@suse.de>
7040 * math/Makefile: Add -D__FAST_MATH__ to CFLAGS-test-ifloat.c,
7041 CFLAGS-test-idouble.c, CFLAGS-test-ildoubl.c.
7043 * manual/math.texi (FP Function Optimizations): Document gcc
7044 -ffast-math behaviour with mathinlines.
7046 * sysdeps/i386/fpu/bits/mathinline.h: Only use save inline
7047 functions unless -ffast-math is given to gcc.
7049 2000-05-23 Jakub Jelinek <jakub@redhat.com>
7051 * sysdeps/i386/fpu/bits/mathinline.h (__sincos, __sincosf,
7052 __sincosl): Guard with __USE_GNU.
7054 2000-05-24 Ulrich Drepper <drepper@redhat.com>
7056 * csu/Makefile (routines): Add check_fds.
7057 * elf/rtld.c (dl_main): Call __libc_check_standard_fds for SUID
7058 binaries. Add various __builtin_expect.
7059 * sysdeps/generic/libc-start.c: Move check_fds and helper functions...
7060 * sysdeps/generic/check_fds.c: ...here. New file.
7062 * malloc/malloc.c (ptmalloc_init): Only enable debugging for SUID
7063 binaries if file /etc/suid-debug is available.
7065 * locale/programs/ld-collate.c (struct element_t): Add mbseqorder
7066 and wcseqorder members.
7067 (struct locale_collate_t): Likewise.
7068 (collate_finish): Assign collation sequence value to each character.
7069 Create tables for output.
7070 (collate_output): Write out tables with collation sequence information.
7071 * locale/C-collate.c: Provide C locale data for collation sequence
7073 * locale/langinfo.h: Add _NL_COLLATE_COLLSEQMB and
7074 _NL_COLLATE_COLLSEQWC.
7075 * locale/categories.def: Add entries for _NL_COLLATE_COLLSEQMB and
7076 _NL_COLLATE_COLLSEQWC.
7077 * posix/fnmatch.c: Define SUFFIX and WIDE_CHAR_VERSION before
7078 include fnmatch_loop.c.
7079 * posix/fnmatch_loop.c: Don't use strcoll while determining whether
7080 character is matched by range expression. Use collation sequence
7081 table. Outside glibc fall back on simple character value comparison.
7083 2000-05-24 Andreas Jaeger <aj@suse.de>
7085 * sysdeps/mips/elf/start.S (ENTRY_POINT): Align stack for double
7088 * intl/Makefile: Run gettext-test only if msgfmt is available.
7090 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_LDT_WORKS):
7091 Define it for newer kernels.
7093 2000-05-23 Ulrich Drepper <drepper@redhat.com>
7095 * elf/dl-sym.c: Minor cleanups.
7097 * configure.in: Add test for .protected.
7098 * config.make.in: Add have-protected variable.
7099 * elf/Makefile (tests): Add $(tests-vis-$(have-protected)).
7100 (tests-vis-yes): Add vismain.
7101 (modules-names): Add $(modules-vis-$(have-protected)).
7102 (modules-vis-yes): Add vismod1, vismod2, and vismod3.
7103 Add rules to generate and run vismain.
7104 * elf/vismain.c: New file.
7105 * elf/vismod1.c: New file.
7106 * elf/vismod2.c: New file.
7107 * elf/vismod3.c: New file.
7109 2000-05-23 Andreas Jaeger <aj@suse.de>
7111 * stdio-common/tfformat.c (sprint_doubles): Add testcase for %a.
7113 * manual/search.texi (Array Sort Function): Document that qsort is
7114 not necessarily in-place.
7116 * sunrpc/rpc_main.c (parseargs): Don't accept -M and -N.
7117 Closes PR libc/1731.
7119 * csu/munch-tmpl.c (__libc_init): Remove K&R support.
7120 * dirent/scandir64.c: Likewise.
7121 * pwd/getpw.c: Likewise.
7122 * stdlib/bsearch.c (bsearch): Likewise.
7123 * stdlib/tst-strtoll.c: Likewise.
7124 * localedata/collate-test.c: Likewise.
7125 * localedata/xfrm-test.c: Likewise.
7126 * posix/bsd-getpgrp.c: Likewise.
7127 * sysdeps/alpha/fpu/bits/fenv.h: Likewise.
7128 * sysdeps/generic/bits/siginfo.h: Likewise.
7129 * sysdeps/generic/bits/sockaddr.h: Likewise.
7130 * sysdeps/generic/sys/swap.h: Likewise.
7131 * sysdeps/generic/sys/sysinfo.h: Likewise.
7132 * sysdeps/generic/vfork.c: Likewise.
7133 * sysdeps/m68k/fpu/switch/68881-sw.h: Likewise.
7134 * sysdeps/mach/hurd/fdopen.c: Likewise.
7135 * sysdeps/unix/sysv/linux/alpha/sys/acct.h: Likewise.
7136 * sysdeps/unix/sysv/linux/poll.c: Likewise.
7137 * sysdeps/unix/sysv/linux/readv.c: Likewise.
7138 * sysdeps/unix/sysv/linux/writev.c: Likewise.
7139 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
7140 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
7141 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
7143 * misc/tst-dirname.c: Remove K&R support, use ANSI C prototypes.
7144 * shadow/lckpwdf.c: Likewise.
7145 * stdlib/tst-strtol.c: Likewise.
7146 * sysdeps/generic/tcsetattr.c: Likewise.
7147 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
7148 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
7150 2000-05-22 Jakub Jelinek <jakub@redhat.com>
7152 * elf/dl-load.c (_dl_init_paths): If env_path_list has 0 elements,
7153 free it and set to (void *) -1.
7155 2000-05-22 Jakub Jelinek <jakub@redhat.com>
7157 * stdio-common/vfscanf.c (__vfscanf): Remove bogus check if '-' is
7158 not the second character in the range.
7159 * stdio-common/tstscanf.c (main): Add testcase for the above.
7160 Reported by jik@kamens.brookline.ma.us.
7162 2000-05-21 H.J. Lu <hjl@gnu.org>
7164 * elf/do-lookup.h (do_lookup_versioned): Replace reloc_type parameter
7165 with noexec and noplt parameter.
7166 (do_lookup): Likewise.
7168 * elf/dl-lookup.c (_dl_lookup_symbol): Change for new parameters of
7169 do_lookup. Support STV_PROTECTED.
7170 (_dl_lookup_symbol_skip): Likewise.
7171 (_dl_lookup_versioned_symbol): Likewise.
7172 (_dl_lookup_versioned_symbol_skip): Likewise.
7174 * elf/dl-reloc.c (RESOLVE): Check STB_LOCAL instead of ST_VISIBILITY.
7176 * elf/dl-runtime.c (profile_fixup): Fix a typo in comment.
7178 2000-05-21 Jakub Jelinek <jakub@redhat.com>
7180 * sysdeps/arm/bits/huge_val.h: Prereq gcc 2.96+, not 2.95.
7181 * sysdeps/i386/bits/huge_val.h: Likewise.
7182 * sysdeps/ieee754/bits/huge_val.h: Likewise.
7183 * sysdeps/m68k/bits/huge_val.h: Likewise.
7184 * sysdeps/sparc/sparc32/bits/huge_val.h: Likewise.
7185 * sysdeps/sparc/sparc64/bits/huge_val.h: Likewise.
7187 2000-05-22 Andreas Jaeger <aj@suse.de>
7189 * iconv/tst-iconv1.c (main): Remove const from inbuf to follow
7192 2000-05-19 Andreas Jaeger <aj@suse.de>
7194 * sysdeps/unix/sysv/linux/i386/i686/sysdep.h
7195 (SYSCALL_ERROR_HANDLER): Remove unneeded syscall_error which
7196 breaks compilation without linuxthreads.
7198 2000-05-21 Ulrich Drepper <drepper@redhat.com>
7200 * sysdeps/ia64/memccpy.S: New file.
7201 * sysdeps/ia64/memchr.S: New file.
7202 * sysdeps/ia64/memcmp.S: New file.
7203 * sysdeps/ia64/memcpy.S: New file.
7204 * sysdeps/ia64/memmove.S: New file.
7205 * sysdeps/ia64/memset.S: New file.
7206 * sysdeps/ia64/strcat.S: New file.
7207 * sysdeps/ia64/strchr.S: New file.
7208 * sysdeps/ia64/strcmp.S: New file.
7209 * sysdeps/ia64/strcpy.S: New file.
7210 * sysdeps/ia64/strlen.S: New file.
7211 * sysdeps/ia64/strncmp.S: New file.
7212 * sysdeps/ia64/strncpy.S: New file.
7213 * sysdeps/ia64/softpipe.h: New file.
7214 Patches by Dan Pop <Dan.Pop@cern.ch>.
7216 * manual/memory.texi: Document memory handling functions (mlock,
7217 munlock, mlockall, munlockall, brk, and sbrk)
7218 * manual/time.texi: Document timespec and friends.
7219 * manual/conf.texi: Fix references.
7220 * manual/ctype.texi: Likewise.
7221 * manual/errno.texi: Likewise.
7222 * manual/intro.texi: Likewise.
7223 * manual/locale.texi: Likewise.
7224 * manual/sysinfo.texi: Likewise.
7225 Patches by Bryan Henderson <bryanh@giraffe-data.com>.
7227 2000-05-09 Jes Sorensen <jes@linuxcare.com>
7229 * sysdeps/ia64/dl-machine.h: Move DL_SYMBOL_ADDRESS definition to...
7230 * sysdeps/ia64/dl-lookupcfg.h: ...here.
7232 2000-05-21 Jakub Jelinek <jakub@redhat.com>
7234 * sysdeps/unix/sysv/linux/scsi/sg.h (sg_io_hdr_t): Remove duplicate
7237 2000-05-21 Ulrich Drepper <drepper@redhat.com>
7239 * locale/locale.h (struct lconv): Add new elements from ISO C99.
7240 * locale/localeconv.c: Initialize new elements from ISO C99.
7241 * locale/langinfo.h: Remove _NL_MONETARY prefix from descriptors for
7242 new standard elements.
7243 * locale/categories.def: Adjust accordingly.
7245 * iconv/iconv.h (iconv): Remove const from inbuf parameter.
7246 * iconv/iconv.c: Likewise.
7247 * conform/data/iconv.h-data: Likewise.
7248 * iconv/iconv_prog.c (process_block): Remove const from second
7250 (main): Remove const from addr definition.
7251 * manual/charset.texi (Generic Conversion Interface): Remove from
7252 inbuf parameter of iconv.
7254 * intl/dcigettext.c: Fix typo in comment.
7256 2000-05-20 2000 H.J. Lu <hjl@gnu.org>
7258 * resolv/res_libc.c (_res): Initialize _sock to -1.
7260 2000-05-18 Jakub Jelinek <jakub@redhat.com>
7262 * libio/iofopncook.c (_IO_fopencookie): Renamed from fopencookie.
7263 (fopencookie@@GLIBC_2.2): New.
7264 (_IO_old_cookie_seek, _IO_old_fopencookie, _IO_old_cookie_jumps): New.
7265 (fopencookie@GLIBC_2.0): New.
7266 * libio/Versions: Add fopencookie to GLIBC_2.2.
7268 2000-05-18 Andreas Jaeger <aj@suse.de>
7270 * sunrpc/rpc_main.c (parseargs): Don't accept -M and -N.
7271 Closes PR libc/1731.
7273 * manual/arith.texi (Parsing of Integers): Fix typo.
7274 Closes PR libc/1744, reported by blp@gnu.org.
7276 2000-05-17 Jakub Jelinek <jakub@redhat.com>
7278 * sysdeps/arm/bits/huge_val.h (HUGE_VAL, HUGE_VALF): Add
7279 __extension__ to hexadecimal floating constant notation.
7280 * sysdeps/i386/bits/huge_val.h (HUGE_VAL, HUGE_VALF, HUGE_VALL):
7282 * sysdeps/ieee754/bits/huge_val.h (HUGE_VAL, HUGE_VALF): Likewise.
7283 * sysdeps/m68k/bits/huge_val.h (HUGE_VAL, HUGE_VALF, HUGE_VALL):
7285 * sysdeps/sparc/sparc64/bits/huge_val.h (HUGE_VAL, HUGE_VALF,
7286 HUGE_VALL): Likewise.
7287 * sysdeps/sparc/sparc32/bits/huge_val.h (HUGE_VAL, HUGE_VALF,
7288 HUGE_VALL): Likewise.
7289 (HUGE_VALL): Set to HUGE_VAL on sparc32.
7291 2000-05-17 Andreas Jaeger <aj@suse.de>
7293 * string/envz.h: Add pure attributes if possible.
7295 * string/argz.h: argz_count is a pure function.
7297 * string/strings.h: Add pure and const attributes if possible.
7299 * sysdeps/generic/memmem.c (memmem): Check arguments to avoid
7300 possibly searching through the whole memory.
7301 Closes PR libc/1730, reported by Greg Hudson <ghudson@mit.edu>.
7303 2000-05-17 Jakub Jelinek <jakub@redhat.com>
7305 * sysdeps/generic/dl-cache.h (_DL_CACHE_DEFAULT_ID): Only define if
7307 (_dl_cache_check_flags): Likewise.
7308 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-cache.h: include_next
7311 2000-05-17 Andreas Jaeger <aj@suse.de>
7313 * manual/creature.texi (Feature Test Macros): Remove paragraph
7314 since the description is wrong.
7315 Closes PR libc/1691, reported by Geoff Clare <gwc@unisoft.com>.
7317 * scripts/config.sub: New version.
7318 * scripts/config.guess: Likewise.
7319 * manual/texinfo.tex: Likewise.
7321 * time/test_time.args: Removed.
7322 * time/Makefile (test_time-ARGS): Added contents here instead.
7324 * posix/tstgetopt.args: Removed.
7325 * posix/Makefile (tstgetopt-ARGS): Added contents here instead.
7327 * Rules: Allow arguments for test files to be specified in
7328 Makefile with testname-ARGS; remove rules with .args in it.
7330 * dirent/Makefile (opendir-tst1-ARGS): Use this for opendir-tst1,
7331 remove old bogus rule for opendir-tst1.args.
7333 * stdlib/test-canon.c: Rewrite to use test-skeleton.c.
7335 * stdlib/Makefile (test-canon-ARGS): New, supply argument to chdir
7336 into objdir. This allows a readonly sourcetree.
7337 Reported by lrgallardo@yahoo.com, closes PR libc/1421.
7339 2000-05-16 Andreas Jaeger <aj@suse.de>,
7340 David Huggins-Daines <dhd@linuxcare.com>
7342 * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Set
7343 cache_data in case of only new cache format correctly.
7345 * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Align struct
7348 * sysdeps/generic/dl-cache.h (ALIGN_CACHE): New macro to align
7349 struct cache_file_new.
7351 * elf/cache.c (save_cache): Fix str_offset if only new cache is
7354 * elf/cache.c (save_cache): Align struct new_file_cache.
7355 (print_cache): Likewise.
7357 2000-05-13 Jakub Jelinek <jakub@redhat.com>
7359 * elf/soinit.c (__libc_global_ctors): Move
7360 __pthread_initialize_minimal call out of HAVE_DWARF2_* defines.
7361 * resolv/resolv.h (__res_state): Added __attribute__((const)).
7362 (_res): If __RES_PTHREAD_INTERNAL is defined, declare it as
7363 variable, don't define it to __res_state call.
7365 2000-05-13 Andreas Jaeger <aj@suse.de>
7367 * sysdeps/unix/sysv/linux/bits/socket.h (PF_PPPOX): New, from
7369 (AF_PPPOX): Likewise.
7370 * sysdeps/unix/sysv/linux/mips/bits/socket.h (PF_PPPOX): Likewise.
7371 (AF_PPPOX): Likewise.
7373 2000-05-12 Andreas Jaeger <aj@suse.de>
7375 * inet/netinet/in.h (IN6_ARE_ADDR_EQUAL): Correct indices.
7376 Reported by tmoestl@gmx.net, closes PR libc/1732.
7378 2000-05-11 Jan Hubicka <jh@suse.cz>
7380 * misc/sys/cdefs.h: Add support for pure attribute.
7382 * include/string.h: Add __attribute_pure__ to various functions.
7383 * string/string.h: Likewise.
7385 2000-05-10 Jakub Jelinek <jakub@redhat.com>
7387 * elf/dl-reloc.c (_dl_reloc_bad_type): Sync messages with plt
7389 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
7391 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: New file.
7393 2000-05-10 Jakub Jelinek <jakub@redhat.com>
7395 * elf/dl-reloc.c (_dl_reloc_bad_type): Write type into the message
7396 at proper place. Compute the high nibble correctly.
7398 2000-05-09 Jakub Jelinek <jakub@redhat.com>
7400 * elf/ldconfig.c: Include elf.h.
7402 * elf/dl-sym.c (_dl_sym): Test ref not result for non-zero.
7403 (_dl_vsym): Likewise.
7404 Reported by Owen Taylor <otaylor@redhat.com>.
7406 * elf/dl-deps.c (_dl_map_object_deps): Zero terminate L->l_initfini
7409 2000-05-08 Andreas Jaeger <aj@suse.de>
7411 * include/libintl.h: Add prototype for __bind_textdomain_codeset.
7413 * intl/bindtextdom.c (set_binding_values): Add prototype.
7415 2000-05-08 Jakub Jelinek <jakub@redhat.com>
7417 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Fix arguments in
7418 call to elf_machine_fixup_plt.
7419 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
7420 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
7422 2000-05-08 Jakub Jelinek <jakub@redhat.com>
7424 * elf/dl-fini.c (_dl_fini): Bump l_opencount of all objects so that
7425 they are not dlclose'd from underneath us.
7427 2000-05-08 Andreas Schwab <schwab@suse.de>
7429 * posix/execle.c: Fix size parameter of memcpy.
7431 2000-05-08 Andreas Schwab <schwab@suse.de>
7433 * sysdeps/unix/sysv/linux/m68k/getpagesize.c: New file. Use
7434 getpagesize syscall if available.
7436 2000-05-08 Andreas Jaeger <aj@suse.de>
7438 * sysdeps/generic/lockf64.c (lockf64): Return -1 for overflow and
7441 2000-05-08 Jakub Jelinek <jakub@redhat.com>
7443 * elf/dl-lookup.c (add_dependency): Reallocate l_reldeps in
7444 sizeof(struct link_map *) chunks, not in bytes.
7446 2000-05-07 Ulrich Drepper <drepper@redhat.com>
7448 * locale/Makefile (locale-CPPFLAGS): Renamed from CPPFLAGS. It's
7449 only needed for locale.
7450 * catgets/Makefile (catgets-CPPFLAGS): Renamed from CPPFLAGS.
7451 It's only needed for catgets.
7452 Patches by Greg McGary <gkm@eng.ascend.com>.
7454 2000-05-07 Mark Kettenis <kettenis@gnu.org>
7456 * nss/nss_db/db-open.c: Cleanup and add comments. Pretty print.
7457 Remove duplicate <errno.h> include. Remove inclusion of
7458 <libintl.h> and "nsswitch.h".
7459 (set_cloexec_flag): New function, broken out of dbopen.
7460 (dbopen): Changed return type to `enum
7461 nss_status'. Mostly rewritten to make sure that we do not report
7462 NSS_STATUS_SUCCESS if something went wrong. Remove unnecessary casts.
7463 (internal_setent): Change return type to nss_status.
7464 Document, and make sure that the function
7465 behaves accordingly. Make dynamically loading the database
7466 library really thread-safe and return NSS_STATUS_UNAVAIL if it
7468 (db_cursor): Return ENOMEM is memory allocation failed. Remove
7470 * nss/nss_db/dummy-db.h: Add copyright notice. Improve
7472 (struct dbc24, struct dbc27): Use DBT type in parameter lists for
7473 c_get function member.
7474 * nss/nss_db/nss_db.h: Add and tweak some comments.
7475 (DBT): Move typedef before NSS_DBC typedef.
7476 (NSS_DBC, NSS_DB): Use DBT in function member parameter lists.
7478 2000-05-07 H.J. Lu <hjl@gnu.org>
7480 * csu/initfini.c: Moved to ....
7481 * sysdeps/generic/initfini.c: ...here.
7483 * csu/Makefile (initfini.c): Set vpath to $(full_config_sysdirs).
7485 2000-05-07 Ulrich Drepper <drepper@redhat.com>
7487 * manual/resource.texi: Document POSIX scheduling functions.
7488 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
7490 * inet/rcmd.c (rcmd_af): errno is not set if read returns without
7491 reading anything. Reported by Andries.Brouwer@cwi.nl.
7493 * sysdeps/generic/memccpy.c (__memccpy): Don't use reg_char type
7494 for x since promotion in comparison might leads to unexpected
7495 results. Reported by Dan Pop <Dan.Pop@cern.ch>.
7497 * iconv/Makefile (tests): Add tst-iconv1.
7498 * iconv/tst-iconv1.c: New file.
7499 * iconv/gconv_simple.c (internal_ucs4_loop): Prefer reporting
7500 empty input buffer over full output buffer.
7501 (ucs4_internal_loop): Likewise.
7502 (ucs4_internal_loop_unaligned): Likewise.
7503 (internal_ucs4le_loop): Likewise.
7504 (internal_ucs4le_loop_unaligned): Likewise.
7505 (ucs4le_internal_loop): Likewise.
7506 (ucs4le_internal_loop_unaligned): Likewise.
7507 Reported by yaoz@nih.gov.
7509 2000-05-06 Bruno Haible <haible@clisp.cons.org>
7511 * iconv/gconv_open.c (__gconv_open): If __gconv_find_transform
7512 returned != __GCONV_OK, there is nothing to clean up.
7514 2000-05-06 Bruno Haible <haible@clisp.cons.org>
7516 * intl/tst-gettext.c (main): Disable possibly existing LC_CTYPE and
7517 OUTPUT_CHARSET environment variables.
7519 2000-05-06 Andreas Jaeger <aj@suse.de>
7521 * sysdeps/generic/dl-cache.h (struct file_entry_new): New.
7522 (struct cache_file_new): New.
7523 (struct file_entry): New (moved from cache.c).
7524 (struct cache_file): New (moved from cache.c).
7526 * sysdeps/generic/dl-cache.c (SEARCH_CACHE): New macro, broken out
7527 from _dl_load_cache_lookup.
7528 (_dl_load_cache_lookup): Move search to SEARCH_CACHE macro, handle
7529 the different cache formats.
7530 New variable cache_new for new format.
7532 * elf/ldconfig.h: Change according to changes in cache.c and
7533 ldconfig.c; remove cache_libcmp; add opt_format.
7535 * elf/ldconfig.c: Include "dl-cache.h" and "dl-procinfo.h"; remove
7536 stuff that's defined in those headers.
7537 Add hwcap to struct lib_entry.
7538 (opt_format): New variable to select cache format.
7539 (options): Add format parameter.
7540 (is_hwcap): New function.
7541 (path_hwcap): New function.
7542 (parse_opt): Handle new format parameter.
7543 (search_dir): Handle hwcap, search also subdirectories with hwcap.
7545 * elf/cache.c (_GNU_SOURCE): Removed. Not needed anymore since
7546 ldconfig is part of glibc.
7547 Include dl-cache.h and remove stuff that's defined there.
7548 (struct cache_entry): Add new member hwcap.
7549 (print_entry): Print hwcap, cleanup a bit.
7550 (print_cache): Print new and old formats.
7551 (compare): Use _dl_cache_libcmp from dl-cache.h; handle hwcap.
7552 (save_cache): Save new and old formats.
7553 (add_to_cache): Handle hwcap.
7555 * sysdeps/generic/dl-cache.c (_dl_cache_libcmp): Moved from here...
7556 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): ...to here.
7557 * sysdeps/generic/dl-cache.c (LD_SO_CACHE): Moved from here...
7558 * sysdeps/generic/dl-cache.h (LD_SO_CACHE): ...to here.
7559 * sysdeps/generic/dl-cache.c (CACHEMAGIC): Moved from here...
7560 * sysdeps/generic/dl-cache.h (CACHEMAGIC): ...to here.
7562 2000-05-05 Bruno Haible <haible@clisp.cons.org>
7564 * intl/dcigettext.c (alignof): New macro.
7565 (_nl_find_msg): Use it instead of __alignof__. Pass correct output
7566 buffer length to __gconv/iconv. If malloc (freemem_size) fails, set
7569 2000-05-05 Bruno Haible <haible@clisp.cons.org>
7571 * intl/dcigettext.c (dcigettext): Fix interpretation of tsearch
7574 2000-05-06 Ulrich Drepper <drepper@redhat.com>
7576 * intl/dcigettext.c (DCIGETTEXT): Always define local variable `index'.
7577 (mempcpy): Correct typo is parameter list.
7579 2000-05-06 Andreas Jaeger <aj@suse.de>
7581 * sysdeps/i386/fpu/bits/mathinline.h: Disable some inline
7582 functions unless -ffast-math is given to gcc.
7584 2000-05-06 Ulrich Drepper <drepper@redhat.com>
7586 * po/ko.po: Update from translation team.
7588 2000-05-05 Ulrich Drepper <drepper@redhat.com>
7590 * sysdeps/unix/sysv/aix/linux/errnoconv.c: Moved to...
7591 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: ...here.
7592 * sysdeps/unix/sysv/aix/linux/statconv.c: Moved to...
7593 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: ...here.
7594 * sysdeps/unix/sysv/aix/linux/direntconv.c: Moved to...
7595 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: ...here.
7597 * sysdeps/unix/sysv/aix/linux/linux-errno.h: Removed.
7598 * sysdeps/unix/sysv/aix/linux/linux-stat.h: Removed
7599 * sysdeps/unix/sysv/aix/linux/linux-dirent.h: Removed.
7601 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: New file.
7602 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: New file.
7603 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: New file.
7604 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: New file.
7606 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: New file.
7607 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: New file.
7609 2000-05-05 Jes Sorensen <jes@linuxcare.com>
7611 * sysdeps/unix/sysv/linux/ia64/sysdep.h: New file.
7612 * sysdeps/unix/sysv/linux/ia64/syscall.S: New file.
7614 * sysdeps/unix/sysv/linux/ia64/bits/types.h: New file.
7615 * sysdeps/unix/sysv/linux/ia64/bits/endian.h: New file.
7617 * sysdeps/ia64/Implies: New file.
7618 * sysdeps/ia64/Versions: New file. Declare _dl_symbol_address.
7619 * sysdeps/ia64/Makefile: New file.
7620 * sysdeps/ia64/gmp-mparam.h: New file,
7622 * sysdeps/ia64/elf/start.S: New file.
7624 * sysdeps/ia64/bits/fenv.h: New file.
7626 2000-05-05 David Mosberger-Tang <davidm@hpl.hp.com>
7628 * sysdeps/unix/sysv/linux/ia64/sysdep.S: New file.
7630 2000-04-26 Jes Sorensen <Jes.Sorensen@cern.ch>
7632 * sysdeps/unix/sysv/linux/ia64/bits/elfclass.h: New file. The
7633 ia64 has 64 bit .hash entries just as the Alpha.
7635 2000-04-25 Jes Sorensen <Jes.Sorensen@cern.ch>
7637 * sysdeps/ia64/memprof.h: New file. Provide GETSP() macro.
7639 2000-04-17 Jes Sorensen <Jes.Sorensen@cern.ch>
7641 * sysdeps/ia64/fpu/fclrexcpt.c: New file.
7642 * sysdeps/ia64/fpu/fedisblxcpt.c: New file.
7643 * sysdeps/ia64/fpu/feenablxcpt.c: New file.
7644 * sysdeps/ia64/fpu/fegetenv.c: New file.
7645 * sysdeps/ia64/fpu/fegetexcept.c: New file.
7646 * sysdeps/ia64/fpu/fegetround.c: New file.
7647 * sysdeps/ia64/fpu/feholdexcpt.c: New file.
7648 * sysdeps/ia64/fpu/fesetenv.c: New file.
7649 * sysdeps/ia64/fpu/fesetround.c: New file.
7650 * sysdeps/ia64/fpu/feupdateenv.c: New file.
7651 * sysdeps/ia64/fpu/fgetexcptflg.c: New file.
7652 * sysdeps/ia64/fpu/fraiseexcpt.c: New file.
7653 * sysdeps/ia64/fpu/fsetexcptflg.c: New file.
7654 * sysdeps/ia64/fpu/ftestexcept.c: New file.
7656 2000-05-05 Andreas Jaeger <aj@suse.de>
7658 * misc/tst-tsearch.c (main): Correct type for initstate argument.
7660 * sysdeps/generic/dl-procinfo.h (_DL_HWCAP_COUNT): New.
7661 (_dl_string_hwcap): New, does nothing.
7663 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (_DL_HWCAP_COUNT): New.
7664 (_dl_procinfo): Use _DL_HWCAP_COUNT instead of a constant.
7665 (_dl_string_hwcap): New function, converts from string to hwcap
7667 * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h
7668 (_DL_HWCAP_COUNT): New.
7669 (_dl_procinfo): Use _DL_HWCAP_COUNT instead of a constant.
7670 (_dl_string_hwcap): New function, converts from string to hwcap
7672 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h
7673 (_DL_HWCAP_COUNT): New.
7674 (_dl_procinfo): Use _DL_HWCAP_COUNT instead of a constant.
7675 (_dl_string_hwcap): New function, converts from string to hwcap
7678 2000-05-05 Ulrich Drepper <drepper@redhat.com>
7680 * elf/Makefile (distribute): Add dl-lookupcfg.h.
7681 * sysdeps/ia64/Dist: New file.
7683 * elf/dl-load.c (_dl_map_object_from_fd): Little of computation of
7684 parameter to mprotect and for variable assignments.
7686 2000-05-03 Jes Sorensen <jes@linuxcare.com>
7688 * sysdeps/generic/ldsodefs.h (LOOKUP_VALUE_ADDRESS): Check the
7689 validity of map before dereferencing it.
7691 * elf/dl-reloc.c (RESOLVE_MAP): Define.
7693 2000-05-02 Jes Sorensen <jes@linuxcare.com>
7695 * elf/dl-runtime.c (fixup): Add the value returned in the symbol
7696 lookup to the arguments to elf_machine_fixup_plt().
7698 * sysdeps/ia64/dl-machine.h (elf_machine_fixup_plt): Add Link_map
7699 of the symbol being resolved to input argument list and make the
7700 function return the pointer to the reloc.
7702 * sysdeps/alpha/dl-machine.h (elf_machine_fixup_plt): Change
7703 return valuie to lookup_t and return the value.
7704 * sysdeps/arm/dl-machine.h (elf_machine_fixup_plt): Likewise.
7705 * sysdeps/generic/dl-machine.h (elf_machine_fixup_plt): Likewise.
7706 * sysdeps/i386/dl-machine.h (elf_machine_fixup_plt): Likewise.
7707 * sysdeps/m68k/dl-machine.h (elf_machine_fixup_plt): Likewise.
7708 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_fixup_plt): Likewise.
7709 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_fixup_plt): Likewise.
7711 * sysdeps/powerpc/dl-machine.h (elf_machine_fixup_plt): Likewise.
7712 Make it an inline function returning value after calling
7713 __elf_machine_fixup_plt().
7715 * elf/dl-sym.c (_dl_vsym): Use DL_SYMBOL_ADDRESS() to obtain the
7718 * elf/dl-symbol.c (_dl_symbol_value): Use LOOKUP_VALUE_ADDRESS to
7719 obtain the symbol address.
7721 * sysdeps/generic/ldsodefs.h: Add generic DL_SYMBOL_ADDRESS() macro
7722 depending on the definition of ELF_FUNCTION_PTR_IS_SPECIAL.
7724 * sysdeps/ia64/dl-machine.h: Add DL_SYMBOL_ADDRESS() macro calling
7725 _dl_symbol_address() - this way DL_SYMBOL_ADDRESS() turns into an
7728 2000-04-28 Jes Sorensen <jes@linuxcare.com>
7730 * elf/dl-runtime.c (fixup): Use the portable macros to get the
7731 symbol address of an object.
7733 * elf/dl-runtime.c (fixup-profile): Use the portable macros to get
7734 the symbol address of an object.
7736 * elf/dl-libc.c (struct do_dlsym_args): Change loadbase to a lookup_t.
7737 * elf/dl-lookup.c (_dl_lookup_symbol): Likewise.
7738 (_dl_lookup_symbol_skip): Likewise.
7739 (_dl_lookup_versioned_symbol): Likewise.
7740 (_dl_lookup_versioned_symbol_skip): Likewise.
7742 2000-04-27 Jes Sorensen <jes@linuxcare.com>
7744 * elf/rtld.c (_dl_start): Get the function pointer return address
7745 via _dl_start_address for architectures that need a function
7746 pointer descriptor rather than just a pointer (ia64).
7748 * sysdeps/generic/dl-lookupcfg.h: New file.
7749 * sysdeps/ia64/dl-lookupcfg.h: New file.
7750 * sysdeps/ia64/dl-machine.h: New file.
7751 * sysdeps/ia64/dl-symaddr.c: New file.
7752 * sysdeps/ia64/dl-fptr.c: New file.
7754 * elf/elf.h: Add IA-64 specific definitions.
7756 2000-05-04 Jakub Jelinek <jakub@redhat.com>
7758 * sysdeps/generic/bits/confname.h (_SC* enum): Avoid comma at the
7761 2000-05-04 Jakub Jelinek <jakub@redhat.com>
7763 * iconv/gconv.h (__gconv_t): Add __extension__ to make gcc -pedantic
7766 2000-04-11 Geoff Keating <geoffk@cygnus.com>
7768 * sysdeps/powerpc/dl-start.S (_dl_start): Add _dl_start_user
7769 symbol. Call _dl_init rather than the old way.
7771 2000-05-04 Ulrich Drepper <drepper@redhat.com>
7773 * elf/dl-open.c (dl_open_worker): Use l_map_start and l_map_end to
7774 test for pointer in range of DSO address space.
7776 2000-05-04 Andreas Jaeger <aj@suse.de>
7778 * nscd/pwdcache.c (addpwbyname): Initialize oldeuid to silence GCC.
7780 2000-05-03 Ulrich Drepper <drepper@redhat.com>
7782 * locale/findlocale.c (_nl_find_locale): Add new parameter to
7783 calls of _nl_make_l10nflist.
7785 * libio/stdio.h: Make fseeko and ftello prototypes available is
7786 __USE_LARGEFILE. Patch by Paul Eggert <eggert@twinsun.com>.
7788 * sysdeps/generic/dl-environ.c (unsetenv): Follow change to the
7789 real unsetenv implementation from 1999-07-29 [PR libc/1714].
7791 2000-05-03 Bruno Haible <haible@clisp.cons.org>
7793 * intl/dcigettext.c (dcigettext): Do the defaulting of 'domainname'
7794 before calling tfind.
7796 2000-03-05 Jakub Jelinek <jakub@redhat.com>
7798 * resolv/resolv.h (res_querydomain): Remove redefinition to
7799 __res_querydomain (reported by Owen Taylor <otaylor@redhat.com>).
7801 2000-05-03 Ulrich Drepper <drepper@redhat.com>
7803 * po/gl.po: Update from translation team.
7805 * manual/intro.texi (Program Basics): Change section title.
7806 * manual/process.texi: Fix reference.
7807 (Executing a File): Add reference exec in other section.
7808 * manual/signal.texi: Fix reference.
7809 * manual/startup.texi: Document syscall function.
7810 Patches by Bryan Henderson <bryanh@giraffe-data.com>.
7812 2000-04-29 Bruno Haible <haible@clisp.cons.org>
7814 * intl/libintl.h (bind_textdomain_codeset): New declaration.
7815 * intl/bindtextdom.c (set_binding_values): New function.
7816 (bindtextdomain): Call it.
7817 (bind_textdomain_codeset): New function.
7818 * intl/dcigettext.c (dcigettext): Pass binding to _nl_find_domain.
7819 (free_mem): Free each binding's codeset.
7820 * intl/gettextP.h (struct binding): Add codeset field.
7821 (_nl_find_domain): Add domainbinding argument.
7822 * intl/finddomain.c (_nl_find_domain): Add domainbinding argument.
7823 Pass it to _nl_make_l10nflist.
7824 * intl/loadinfo.h (struct loaded_l10nfile): Add domainbinding field.
7825 (_nl_make_l10nflist): Add domainbinding argument.
7826 * intl/l10nflist.c (_nl_make_l10nflist): Add domainbinding argument.
7827 * intl/loadmsgcat.c (_nl_load_domain): Look at the domainbinding's
7828 codeset when determining outcharset. If !_LIBC && HAVE_ICONV, call
7830 * manual/message.texi: New node "Charset conversion in gettext".
7832 2000-04-30 Bruno Haible <haible@clisp.cons.org>
7834 * catgets/open_catalog.c (__open_catalog): Use __builtin_expect where
7835 appropriate. Handle possible __read error.
7837 2000-04-29 Bruno Haible <haible@clisp.cons.org>
7839 * intl/gettextP.h (__builtin_expect): Define as empty if not a
7841 * intl/loadinfo.h (__builtin_expect): Likewise.
7842 * intl/dcigettext.c (dcigettext, _nl_find_msg): Use
7843 __builtin_expect where appropriate.
7844 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
7845 * intl/localealias.c (extend_alias_table): Return an error indicator.
7846 (read_alias_file): Bail out if extend_alias_table fails.
7848 2000-04-29 Bruno Haible <haible@clisp.cons.org>
7850 * intl/loadmsgcat.c: Define _GNU_SOURCE as early as possible.
7851 * intl/localealias.c: Likewise.
7853 2000-05-01 Bruno Haible <haible@clisp.cons.org>
7855 * intl/loadmsgcat.c (_nl_load_domain): Initialize domain->conv_tab.
7856 Initialize domain->plural and domain->nplurals even if there is no
7859 2000-05-01 Bruno Haible <haible@clisp.cons.org>
7861 * intl/dcigettext.c (_nl_find_msg): Terminate __gconv loop if return
7862 value is == __GCONV_OK or == __GCONV_EMPTY_INPUT, not != __GCONV_OK.
7863 In case of failure, goto converted.
7865 2000-05-01 Bruno Haible <haible@clisp.cons.org>
7867 * wcsmbs/wcsmbsload.c (norm_add_slashes): Move away.
7868 * iconv/gconv_int.h (norm_add_slashes): Move to here.
7869 * intl/loadmsgcat.c (_nl_load_domain): Normalize strings passed to
7872 2000-04-29 Bruno Haible <haible@clisp.cons.org>
7874 * intl/dcigettext.c (transcmp): Compare the domains as well.
7875 (dcigettext): Call strlen (msgid1) after testing msgid1 against NULL,
7877 * intl/loadmsgcat.c (_nl_load_domain): Deal with EINTR. Include
7880 2000-05-03 Ulrich Drepper <drepper@redhat.com>
7882 * string/bits/string2.h: Declare __strdup and __strndup if necessary.
7883 Reported by Bruno Haible.
7885 2000-04-29 Bruno Haible <haible@clisp.cons.org>
7887 * manual/arith.texi: Remove @w from @itemize.
7889 2000-05-02 Andreas Jaeger <aj@suse.de>
7891 * conform/data/tar.h-data: Add some checks for specific values.
7893 * conform/data/stdlib.h-data: Add checks for value of EXIT_SUCCESS
7896 * conform/data/stdio.h-data: Add checks for value of TMP_MAX and
7899 * conform/data/netinet/in.h-data: Add exact checks for the values
7900 fo INET_ADDRSTRLEN and INET6_ADDRSTRLEN.
7902 * conform/data/float.h-data: Add some minimal values.
7904 * conform/conformtest.pl: Test for macros with string constants,
7905 check for minimum and maximum values.
7906 Add limits.h to headers.
7908 * conform/data/cpio.h-data: Test for value of MAGIC.
7910 * conform/data/limits.h-data: New file.
7912 2000-04-30 Bruno Haible <haible@clisp.cons.org>
7914 * math/Makefile (headers): Add bits/fenvinline.h.
7916 2000-05-01 Ulrich Drepper <drepper@redhat.com>
7918 * sysdeps/unix/sysv/aix/linux/linux-dirent.h: New file.
7919 * sysdeps/unix/sysv/aix/linux/direntconv.c: New file.
7921 * posix/Versions: Change posix_spawnattr_getdefault and
7922 posix_spawnattr_setdefault to posix_spawnattr_getsigdefault
7923 and posix_spawnattr_setsigdefault respectively.
7924 * posix/spawn.h: Likewise.
7925 * posix/spawnattr_getdefault.h: Likewise.
7926 * posix/spawnattr_setdefault.h: Likewise.
7927 * conform/data/spawn.h-data: Likewise.
7929 2000-05-01 Andreas Jaeger <aj@suse.de>
7931 * nscd/nscd.c: Include <grp.h> for setgroups prototype.
7933 2000-04-30 Ulrich Drepper <drepper@redhat.com>
7935 * manual/sysinfo.texi: Document getdomainname, setdomainname
7937 * manual/string.texi: Fix typo.
7938 * manual/terminal.texi: Document gtty and stty.
7939 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
7941 2000-04-30 Andreas Jaeger <aj@suse.de>
7943 * posix/bits/posix1_lim.h (_POSIX_PATH_MAX): Increase to 256 in
7944 accordance with Austin Draft.
7946 2000-04-30 Ulrich Drepper <drepper@redhat.com>
7948 * catgets/gencat.c (read_input_file): Use isblank and not isspace
7949 to recognize second character in comment line.
7951 * sysdeps/unix/sysv/linux/if_index.c (if_nameindex): Set errno to
7952 ENOBUFS if we are out of memory.
7954 * sysdeps/generic/bits/fcntl.h (F_SETOWN, F_GETOWN): Make
7955 available if __USE_XOPEN2K.
7956 * sysdeps/mach/hurd/bits/fcntl.h: Likewise.
7957 * sysdeps/unix/common/bits/fcntl.h: Likewise.
7958 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Likewise.
7959 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
7960 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
7961 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
7962 * sysdeps/unix/sysv/aix/bits/fcntl.h: Likewise.
7963 * sysdeps/unix/sysv/linux/bits/fcntl.h: Likewise.
7965 2000-04-29 Ulrich Drepper <drepper@redhat.com>
7967 * iconv/iconv_prog.c (main): Handle input file name "-" correctly.
7968 Recognize option -s, -c, and -l.
7970 2000-04-20 Thorsten Kukuk <kukuk@suse.de>
7972 * nscd/nscd.c: Start new session for nscd, drop privilegs
7973 to configured user if requested and no -S parameter are used.
7974 * nscd/nscd.conf: Add new option "server-user".
7975 * nscd/nscd_conf.c: Add support for new "server-user" option.
7976 * nscd/nscd.h: Add declaration for server_user variable.
7977 Based on patch by Chris Wing <wingc@engin.umich.edu>
7979 2000-04-29 Mark Kettenis <kettenis@gnu.org>
7981 * sysdeps/unix/sysv/linux/i386/sigaction.c: Add comment explaining
7982 that changing the __restore and __restore_rt signal return code
7985 2000-04-29 Mark Kettenis <kettenis@gnu.org>
7987 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Do not include
7990 2000-04-29 Mark Kettenis <kettenis@gnu.org>
7992 * conform/data/ucontext.h-data: Allow ss_* instead of SS_*.
7994 2000-04-29 Ulrich Drepper <drepper@redhat.com>
7996 * conform/conformtest.pl (@headers): Add sys/utsname.h, sys/un.h,
7997 sys/socket.h, spawn.h, netinet/tcp.h, netinet/in.h, net/if.h, and
7999 * conform/data/fcntl.h-data: Add F_GETOWN, F_SETOWN,
8000 SEEK_SET, SEEK_CUR, SEEK_END, S_IFMT, S_IFBLK, S_IFCHR, S_IFIFO,
8001 S_IFREG, S_IFDIR, S_IFLNK, S_IFSOCK, S_IRWXU, S_IRUSR S_IWUSR,
8002 S_IXUSR, S_IRWXG, S_IRGRP, S_IWGRP, S_IXGRP, S_IRWXO, S_IROTH,
8003 S_IWOTH, S_IXOTH, S_ISUID, S_ISGID, S_ISVTX, POSIX_FADV_NORMAL,
8004 POSIX_FADV_SEQUENTIAL, POSIX_FADV_RANDOM, POSIX_FADV_WILLNEED,
8005 POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE, posix_fadvise,
8006 posix_fallocate, and posix_madvise.
8007 * conform/data/netdb.h-data: New file.
8008 * conform/data/pthread.h-data: Add pthread_barrier_t,
8009 pthread_barrierattr_t, pthread_barrier_destroy,
8010 pthread_barrier_init, pthread_barrier_wait,
8011 pthread_barrierattr_destroy, pthread_barrierattr_getpshared,
8012 pthread_barrierattr_init, pthread_barrierattr_setpshared,
8013 pthread_condattr_getclock, pthread_condattr_setclock,
8014 pthread_getcpuclockid, pthread_mutex_timedlock,
8015 pthread_rwlock_timedrdlock, pthread_rwlock_timedwrlock,
8016 pthread_sigmask, pthread_spin_destroy, pthread_spin_init,
8017 pthread_spin_lock, pthread_spin_trylock, and pthread_spin_unlock.
8018 * conform/data/sched.h-data: Add sched_ss_low_priority,
8019 sched_ss_repl_period, sched_ss_init_budget, sched_ss_max_repl, and
8021 * conform/data/semaphore.h-data: Add sem_timedwait.
8022 * conform/data/signal.h-data: Add SIGIO.
8023 * conform/data/spawn.h-data: New file.
8024 * conform/data/stdlib.h-data: Add posix_memalign, setenv, and unsetenv.
8025 * conform/data/time.h-data: Add CLOCK_PROCESS_CPUTIME_ID,
8026 CLOCK_THREAD_CPUTIME_ID, clock_getcpuclockid, and clock_nanosleep.
8027 Fix typo in gmtime_r definition.
8028 * conform/data/unistd.h-data: Add _POSIX_ADVISORY_INFO,
8029 _POSIX_ASYNCHRONOUS_IO, _POSIX_BARRIERS, _POSIX_MONOTONIC_CLOCK,
8030 _POSIX_READER_WRITER_LOCKS, _POSIX_SHELL, _POSIX_SPAWN,
8031 _POSIX_SPIN_LOCKS, _POSIX_SPORADIC_SERVER, _POSIX_THREAD_CPUTIME,
8032 _POSIX_TYPED_MEMORY_OBJECTS, _POSIX_THREAD_SPORADIC_SERVER,
8033 _XOPEN_STREAMS, _POSIX_TIMEOUTS, _POSIX2_PBS,
8034 _POSIX2_PBS_ACCOUNTING, _POSIX2_PBS_CHECKPOINT,
8035 _POSIX2_PBS_LOCATE, _POSIX2_PBS_MESSAGE, _POSIX2_PBS_TRACK,
8036 _SC_2_PBS, _SC_2_PBS_ACCOUNTING, _SC_2_PBS_CHECKPOINT,
8037 _SC_2_PBS_LOCATE, _SC_2_PBS_MESSAGE, _SC_2_PBS_TRACK,
8038 _SC_BARRIERS, _SC_BASE, _SC_CLOCK_SELECTION, _SC_DEVICE_IO,
8039 _SC_DEVICE_SPECIFIC, _SC_DEVICE_SPECIFIC_R, _SC_FD_MGMT, _SC_FIFO,
8040 _SC_FILE_ATTRIBUTES, _SC_FILE_LOCKING, _SC_FILE_SYSTEM,
8041 _SC_MEMORY_PROTECTION, _SC_MESSAGE_PASSING, _SC_MONOTONIC_CLOCK,
8042 _SC_MESSAGE_PASSING, _SC_MONOTONIC_CLOCK, _SC_MULTIPLE_PROCESS,
8043 _SC_NETWORKING, _SC_PIPE, _SC_READER_WRITER_LOCKS, _SC_REGEXP,
8044 _SC_SHELL, _SC_SIGNALS, _SC_SINGLE_PROCESS, _SC_SPIN_LOCKS,
8045 _SC_TYPED_MEMORY_OBJECTS, _SC_USER_GROUPS, _SC_USER_GROUPS_R,
8046 _SC_STREAMS, _PC_REC_INCR_XFER_SIZE, _PC_REC_MAX_XFER_SIZE,
8047 _PC_REC_MIN_XFER_SIZE, _PC_REC_XFER_ALIGN, setegid, seteuid. Fix
8048 typo in off_t definition.
8049 * conform/data/net/if.h-data: New file.
8050 * conform/data/netinet/in.h-data: New file.
8051 * conform/data/netinet/tcp.h-data: New file.
8052 * conform/data/sys/mman.h-data: Add POSIX_MADV_NORMAL,
8053 POSIX_MADV_SEQUENTIAL, POSIX_MADV_RANDOM, POSIX_MADV_WILLNEED,
8054 POSIX_MADV_DONTNEED, POSIX_TYPED_MEM_ALLOCATE,
8055 POSIX_TYPED_MEM_ALLOCATE_CONTIG, POSIX_TYPED_MEM_MAP_ALLOCATABLE,
8056 posix_typedmem_info, posix_mem_offset, posix_typed_mem_get_info,
8057 and posix_typed_mem_open.
8058 * conform/data/sys/socket.h-data: New file.
8059 * conform/data/sys/stat.h-data: Add S_TYPEISTMO and isfdtype.
8060 * conform/data/sys/types.h-data: Add pthread_barrier_t,
8061 pthread_barrierattr_t, and pthread_spinlock_t.
8062 * conform/data/sys/un.h-data: New file.
8063 * conform/data/sys/utsname.h-data: New file.
8065 * include/netdb.h (__gethostbyaddr_r): Fix types of first and second
8067 * inet/gethstbyad.c (gethostbyname): Likewise.
8068 * inet/gethstbyad_t.c (gethostbyname_r): Likewise.
8069 * inet/getipnodebyad.c (getipnodebyad): Likewise.
8070 * nis/nss_nis/nis-hosts.c (_nss_nis_gethostbyaddr_r): Likewise.
8071 * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_gethostbyaddr_r):
8073 * nscd/gethstbyad_r.c (gethostbyaddr_r): Likewise.
8074 * nscd/nscd_gethst_r.c (__nscd_gethostbyaddr_r): Likewise.
8075 * nscd/nscd_proto.h (__nscd_gethostbyaddr_r): Likewise.
8076 * nss/nss_files/files-hosts.c (_nss_files_gethostbyaddr_r): Likewise.
8077 * resolv/gethnamaddr.c (gethostbyname): Likewise.
8078 * resolv/netdb.h (struct hostent): Fix type of h_length member.
8079 (gethostbyaddr, getipnodebyaddr, gethostbyaddr_r): Fix types of first
8080 and second parameter.
8082 * wcsmbs/mbrtowc.c (__mbrtowc): Set end of buffer correctly if s
8085 2000-04-29 Andreas Jaeger <aj@suse.de>
8087 * conform/data/arpa/inet.h-data: New file.
8089 2000-04-28 Geoff Clare <gwc@unisoft.com>
8091 * io/ftw.c: Set errno to ENOENT (instead of ENOTDIR) when the
8092 path passed to ftw() or nftw() is an empty string.
8093 Closes PR libc/1710.
8095 2000-04-27 Ulrich Drepper <drepper@redhat.com>
8097 * localedata/Makefile (test-srcs): Add tst-mbswcs4 and tst-mbswcs5.
8098 (do-tst-mbswcs): Add tst-mbswcs4 and tst-mbswcs5 to dependencies.
8099 * localedata/tst-mbswcs.sh: Run tst-mbswcs4 and tst-mbswcs5.
8100 * localedata/tst-mbswcs4.c: New file.
8101 * localedata/tst-mbswcs5.c: New file.
8103 * wcsmbs/wcrtomb.c (__wcrtomb): Set end of buffer correctly if s
8104 == NULL. Little optimization.
8106 * elf/dl-init.c (_dl_init): Correct typo (DT_PREINIT_ARRAY not
8107 DT_PREINIT_ARRAYSZ).
8108 Reported by Jes Sorensen <Jes.Sorensen@cern.ch>.
8110 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups): Handle
8111 overflows in conversion from ASCII.
8113 2000-04-26 Jakub Jelinek <jakub@redhat.com>
8115 * Makeconfig (full_config_sysdirs): Renamed from full-config-sysdirs.
8116 * Makerules (full_config_sysdirs): Likewise.
8117 * MakeTAGS (full_config_sysdirs): Likewise.
8119 2000-04-26 Jakub Jelinek <jakub@redhat.com>
8121 * .cvsignore: Remove linuxthreads.
8122 * po/.cvsignore: Remove *.pot.
8123 * posix/glob/.cvsignore: Removed.
8124 * sysdeps/unix/bsd/osf/.cvsignore: Removed.
8126 2000-04-25 Andreas Jaeger <aj@suse.de>
8128 * conform/Makefile (distribute): Also distribute contents of
8131 * Makerules (no_deps): Remove abi-versions.h.
8133 * nis/nis_print_group_entry.c: Include alloca.h for alloca prototype.
8135 2000-04-25 Jakub Jelinek <jakub@redhat.com>
8137 * sysdeps/sparc/sparc64/elf/Dist: Remove.
8138 * sysdeps/sparc/sparc64/elf/crtbegin.S: Remove.
8139 * sysdeps/sparc/sparc64/elf/crtbeginS.S: Remove.
8140 * sysdeps/sparc/sparc64/elf/crtend.S: Remove.
8141 * sysdeps/sparc/sparc64/elf/crtendS.S: Remove.
8142 * sysdeps/sparc/sparc64/elf/Makefile: Don't build crtbegin/crtend
8145 2000-04-25 Thorsten Kukuk <kukuk@suse.de>
8147 * nscd/grpcache.c: Fix gr_name pointer [PR/1702].
8149 2000-04-23 Bruno Haible <haible@clisp.cons.org>
8151 * intl/dcigettext.c: Define _GNU_SOURCE as early as possible.
8152 * intl/l10nflist.c: Likewise.
8154 2000-04-23 Bruno Haible <haible@clisp.cons.org>
8156 * intl/bindtextdom.c [!_LIBC]: Define __libc_rwlock_define,
8157 __libc_rwlock_wrlock, __libc_rwlock_unlock as empty.
8158 * intl/textdomain.c [!_LIBC]: Likewise.
8159 * intl/dcigettext.c [!_LIBC]: Define __libc_rwlock_define_initialized,
8160 __libc_rwlock_rdlock, __libc_rwlock_unlock as empty.
8161 * intl/loadmsgcat.c (_nl_load_domain) [!_LIBC, !HAVE_ICONV]: Avoid
8164 2000-04-23 Bruno Haible <haible@clisp.cons.org>
8166 * intl/dcigettext.c (_nl_find_msg): Do the plural treatment and
8167 character set conversion also in the case the translation was found
8168 after a hash collision or through binary search. Store the maximum
8169 index together with the converted message. Use iconv() when available.
8170 In case of out of memory during conversion, return the unconverted
8171 translated string, not NULL.
8173 2000-04-25 Jes Sorensen <Jes.Sorensen@cern.ch>
8175 * shlib-versions: Rename ia64 dynamic linker to ld-linux-ia64.so.1
8176 to avoid name clashes with the ia32 linker.
8178 2000-04-25 Jakub Jelinek <jakub@redhat.com>
8180 * sysdeps/alpha/dl-machine.h (_dl_start_user): Fix the _dl_skip_args
8183 2000-04-27 Ulrich Drepper <drepper@redhat.com>
8185 * manual/string.texi: Document strcasestr, strchrnul, strtoimax,
8186 strtoumax, strfry, and memfrob.
8187 * manual/arith.texi: Document {,u}int*_t types, and strto{i,u}max.
8188 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
8190 * elf/soinit.c (__libc_global_ctors): Call __pthread_initialize_minimal
8191 if this function is available.
8193 * sysdeps/i386/i486/atomicity.h (exchange_and_add): Use uint32_t for
8196 2000-04-27 Jakub Jelinek <jakub@redhat.com>
8198 * nss/getXXbyYY_r.c: Fix a typo in __old_getxxbyyy_r versioning.
8200 2000-04-27 Ulrich Drepper <drepper@redhat.com>
8202 * localedata/Makefile (test-srcs); Add tst-mbswcs3.
8203 Add rule to build tst-mbswcs3 before running tst-mbswcs.sh.
8204 * localedata/tst-mbswcs.sh: Run tst-mbswcs3.
8205 * localedata/tst-mbswcs3.c: New file.
8207 2000-04-26 Ulrich Drepper <drepper@redhat.com>
8209 * wcsmbs/mbsnrtowcs.c: Correctly compute number of converted
8210 characters. Don't handle incomplete characters as errors.
8211 * wcsmbs/mbsrtowcs.c: Don't handle incomplete characters as errors.
8212 * localedata/Makefile (test-srcs): Add tst-mbswcs2.
8213 Add rule to build tst-mbswcs2 before running tst-mbswcs.sh.
8214 * localedata/tst-mbswcs.sh: Run tst-mbswcs2.
8215 * localedata/tst-mbswcs2.c: New file.
8217 * iconv/gconv_simple.c (utf8_internal_loop): Correctly reconstruct
8218 stored character in state in UNPACK_BYTES macro.
8219 * iconv/loop.c (SINGLE(LOOPFCT)): Make it actually work. Correct
8220 test for available characters, handle result of BODY code correctly.
8221 * localedata/Makefile (test-srcs): Add tst-mbswcs1.
8222 (distribute): Add tst-mbswcs.sh.
8223 Add rule to run tst-mbswcs.sh.
8224 * localedata/tst-mbswcs.sh: New file.
8225 * localedata/tst-mbswcs1.c: New file.
8227 2000-04-26 Jakub Jelinek <jakub@redhat.com>
8229 * nis/nis_callback.c (__nis_create_callback): Do failed memory
8230 allocation fixups centrally, fix __builtin_expect call, return NULL
8231 on failure, not NIS_NOMEMORY.
8233 2000-04-27 Bruno Haible <haible@clisp.cons.org>
8235 * intl/ngettext.c [!_LIBC]: Fix definition of NGETTEXT.
8237 * intl/loadinfo.h (internal_function): Define if not already defined.
8239 2000-04-27 Andreas Jaeger <aj@suse.de>
8241 * intl/libintl.h: Fix typo, reported by Bruno Haible
8242 <haible@clisp.cons.org>.
8244 2000-04-25 Ulrich Drepper <drepper@redhat.com>
8246 * elf/dl-profile.c (_dl_mcount): Try to be thread-safe while not
8247 setting the state to GMON_PROF_BUSY.
8249 2000-04-24 Ulrich Drepper <drepper@redhat.com>
8251 * elf/dl-profile.c (_dl_start_profile): define all variables which
8252 do not have to be global as local variables.
8254 * nis/nis_callback.c (__nis_create_callback): Partially undo last
8255 patch. Keep needed tests for failed memory allocation.
8257 * elf/dl-reloc.c (_dl_relocate_object): Add one more
8258 __builtin_expect saying that we don't normally expect to profile.
8260 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add
8261 __builtin_expect where desirable.
8263 2000-04-23 Ulrich Drepper <drepper@redhat.com>
8265 * manual/Makefile (chapters): Add syslog.
8266 * manual/syslog.texi: New file.
8267 * manual/math.texi: Fix references.
8268 * manual/terminal.texi: Likewise.
8269 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
8271 2000-04-18 Jakub Jelinek <jakub@redhat.com>
8273 * posix/sys/wait.h: Define __WAIT_STATUS and the like either if
8274 stdlib.h was not included or __USE_XOPEN not defined.
8276 2000-04-23 Ulrich Drepper <drepper@redhat.com>
8278 * nss/Makefile (libnss_db-dbs): Remove stray backslash.
8279 Patch by Zack Weinberg <zack@wolery.cumb.org>.
8281 2000-04-22 Ulrich Drepper <drepper@redhat.com>
8283 * manual/examples/subopt.c (mount_opts): Add missing terminating
8285 Reported by Michael Deutschmann <michael@talamasca.ocis.net>.
8287 * assert/assert-perr.c: Include <stdlib.h> for abort prototype.
8288 * libio/ftello.c: Likewise.
8289 * libio/ftello64.c: Likewise.
8290 * libio/ioftell.c: Likewise.
8291 * sysdeps/generic/memrchr.c: Likewise.
8292 * sysdeps/posix/libc_fatal.c: Likewise.
8293 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
8294 * misc/fstab.c: Include <string.h> for strcmp prototype.
8295 * sysdeps/generic/ldsodefs.h: Likewise.
8296 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
8297 Patch by Kurt Roeckx <Q@ping.be>.
8299 * nss/Makefile (libnss_db-dbs): Renamed from libnss_db-routines.
8300 Remove db-open. Change all uses.
8301 (libnss_db-routines): Define as $(libnss_db-dbs) db-open.
8303 2000-04-21 Jakub Jelinek <jakub@redhat.com>
8305 * sysdeps/unix/sysv/linux/alpha/msgctl.c (__syscall_msgctl): Declare.
8306 * sysdeps/unix/sysv/linux/alpha/semctl.c (__syscall_semctl): Declare.
8307 * sysdeps/unix/sysv/linux/alpha/shmctl.c (__syscall_shmctl): Declare.
8308 * sysdeps/unix/sysv/linux/alpha/getrusage.S: Surround uses of $f28
8309 with .set noat/at to shut up warnings.
8310 * sysdeps/unix/sysv/linux/alpha/syscalls.list (__fstatfs64): Add alias.
8311 * sysdeps/unix/sysv/linux/alpha/ioperm.c (init_iosys): Allow
8312 compilation if __NR_pciconfig_iobase is not defined.
8313 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (__fstatfs64):
8316 2000-04-21 Ulrich Drepper <drepper@redhat.com>
8318 * manual/sysinfo.texi: Fix typo.
8319 * manual/time.texi: Document timelocal, timegm, adjtimex, and stime.
8320 Replace "high precision time" with "high accuracy clock".
8322 Patches by Bryan Henderson <bryanh@giraffe-data.com>.
8324 * nis/nis_findserv.c (__nis_findfastest): Improve memory handling.
8325 * nis/nis_print_group_entry.c (nis_print_group_entry): Use alloca
8327 * nis/nis_subr.c: Use __builtin_expect.
8328 * nis/ypclnt.c: Likewise.
8329 * nis/nis_getservlist.c: Likewise.
8330 * nis/nis_creategroup.c: Likewise.
8332 * nis/nis_callback.c (__nis_create_callback): Check result of
8333 memory allocation. Fix memory leaks. Use __builtin_expect.
8334 (__nis_destroy_callback): Fix memory leaks.
8336 2000-04-21 Andreas Jaeger <aj@suse.de>
8338 * sysdeps/mips/elf/start.S: Use __PIC__ instead of PIC.
8339 * sysdeps/mips/mips64/add_n.S: Likewise.
8340 * sysdeps/mips/mips64/bsd-_setjmp.S: Likewise.
8341 * sysdeps/mips/mips64/lshift.S: Likewise.
8342 * sysdeps/mips/mips64/mul_1.S: Likewise.
8343 * sysdeps/mips/mips64/rshift.S: Likewise.
8344 * sysdeps/mips/mips64/setjmp.S: Likewise.
8345 * sysdeps/mips/mips64/sub_n.S: Likewise.
8346 * sysdeps/mips/mips64/submul_1.S: Likewise
8347 * sysdeps/unix/mips/sysdep.S: Likewise.
8349 * sysdeps/mips/dl-machine.h (elf_machine_got_rel): Remove strtab
8350 and update comment. The strtab from _dl_relocate_object can be
8353 2000-04-21 Ulrich Drepper <drepper@redhat.com>
8355 * iconv/iconv.c (iconv): Add __builtin_expect where useful.
8356 * iconv/iconv_close.c (iconv_close): Likewise.
8357 * iconv/iconv_open.c (iconv_open): Likewise.
8359 * grp/putgrent.c (putgrent): Unlock steam if fprintf failed. Add
8360 __builtin_expect where useful.
8362 * grp/initgroups.c (initgroups): Test for result of memory
8363 allocation and punt if it fails.
8365 * dirent/scandir.c (scandir): Add __builtin_expect where useful.
8366 * grp/fgetgrent.c (fgetfrent): Likewise.
8367 * grp/fgetgrent_r.c (__fgetgrent_r): Likewise.
8369 2000-04-21 Jakub Jelinek <jakub@redhat.com>
8371 * libio/vasprintf.c: Include string.h to get memcpy prototype.
8373 2000-04-20 Ulrich Drepper <drepper@redhat.com>
8375 * wcsmbs/wcsrtombs.c (__wcsrtombs): If output buffer is too small
8376 don't search for NUL byte to decrement counter.
8377 Reported by Ulrich.Brink@sap.com.
8379 * iconv/gconv_simple.c: Define separate functions to convert from
8380 UCS4/UCS4-LE to the internal encoding.
8381 * iconv/gconv_builtin.h: Use separate functions to convert from
8382 UCS4/UCS4-LE to the internal encoding.
8383 * iconv/gconv_int.h: Declare __gconv_transform_ucs4_internal and
8384 __gconv_transform_ucs4le_internal.
8386 * iconv/gconv_simple.c (internal_utf8_loop): Correct check for
8387 output buffer overflow. Reported by Ulrich.Brink@sap.com.
8389 * iconv/skeleton.c: Add some more __builtin_expect.
8390 * iconv/loop.c: Likewise.
8392 2000-03-08 H.J. Lu <hjl@gnu.org>
8394 * posix/regex.c (regex_compile): Correctly handle "\{" when
8395 the RE_INTERVALS is set and the RE_NO_BK_BRACES bit is not set.
8397 2000-04-20 Ulrich Drepper <drepper@redhat.com>
8399 * manual/stdio.texi: Give advise about handling error when using
8401 Patch by Michael Deutschmann <michael@talamasca.ocis.net>.
8403 2000-04-19 Jakub Jelinek <jakub@redhat.com>
8405 * locale/programs/ld-ctype.c (ctype_output): Set size of the idx
8406 field to nelems * sizeof (uint32_t).
8407 * locale/programs/ld-address.c (address_output): Align word fields
8409 * locale/programs/ld-monetary.c (monetary_output): Likewise.
8410 Don't restart idx pointers to idx end at the duo_int_curr_symbol
8412 Avoid giving arbitrary garbage in the crncystr field.
8413 Use sizeof(uint32_t) instead of 4 for len in uno_valid_from,
8414 uno_valid_to, duo_valid_from, duo_valid_to and conversion_rate
8416 * locale/programs/ld-numeric.c (numeric_output): Likewise.
8417 Don't restart idx pointers to idx end at the decimal_point_wc field.
8418 * locale/programs/ld-time.c (time_output): week_1stday should be
8419 word, not byte. Align it properly.
8421 2000-04-19 H.J. Lu <hjl@gnu.org>
8423 * csu/gmon-start.c (_start): Declared as "extern void".
8426 2000-04-18 Andreas Jaeger <aj@suse.de>
8428 * manual/install.texi (Running make install): Don't mention utmpd
8431 2000-04-18 Andreas Jaeger <aj@suse.de>
8433 * linuxthreads/Versions: Use ld instead of ld.so.
8435 * elf/Makefile (ld-map): Use ld.map.
8437 * Versions.def: Use ld instead of ld.so.
8438 * elf/Versions: Likewise.
8439 * sysdeps/mach/hurd/Versions: Likewise.
8441 2000-04-20 Andreas Jaeger <aj@suse.de>
8443 * elf/rtld.c (print_statistics): Move ifndef further up.
8444 (_dl_start_final): Added HP_TIMINIG_NONAVAIL to avoid warnings.
8445 (dl_main): Likewise.
8447 2000-04-18 Ulrich Drepper <drepper@redhat.com>
8449 * gmon/gmon.c: Add weak alias moncontrol for __moncontrol.
8450 * gmon/Versions: Move moncontrol to GLIBC_2.2.
8452 * po/cs.po: Update from translation team.
8454 * sysdeps/generic/updwtmp.c: Remove daemon support.
8456 * login/Makefile (routines): Remove utmp_daemon.
8458 * sysdeps/unix/sysv/aix/gethostname.c: Fix type of len argument.
8459 * sysdeps/unix/sysv/aix/access.c: Define ACC_INVOKER.
8460 * sysdeps/unix/sysv/aix/getegid.c: Define ID_EFFECTIVE.
8461 * sysdeps/unix/sysv/aix/geteuid.c: Likewise.
8463 * elf/rtld.c: Display statitics option also if hp timing is not
8466 * login/programs/connection.c: Removed.
8467 * login/programs/database.c Removed.
8468 * login/programs/error.c: Removed.
8469 * login/programs/request.c: Removed.
8470 * login/programs/xtmp.c: Removed.
8471 * login/programs/xtmp.h: Removed.
8472 * login/Makefile: Remove rules for utmpd.
8473 * login/README.utmpd: Removed.
8474 * login/utmp_daemon.c: Removed.
8475 * login/getutent_r.c: Remove references to daemon functions.
8476 * login/utmp-private.h (__libc_utmp_daemon_functions): Remove
8479 2000-04-18 Andreas Jaeger <aj@suse.de>
8481 * shlib-versions (mips.*-.*-linux.*): Support only GLIBC 2.0 and
8482 2.2 for libnsl, libresolv, librt, libnss_*.
8484 * elf/rtld.c (process_dl_debug): Remove obsolete comment.
8486 * sysdeps/mips/dl-machine.h (elf_machine_rel): Fix relocation.
8488 2000-04-18 Ulrich Drepper <drepper@redhat.com>
8490 * sysdeps/unix/sysv/aix/geteuid.c: Don't try to include <sys/id.h>.
8491 * sysdeps/unix/sysv/aix/getegid.c: Likewise.
8492 * sysdeps/unix/sysv/aix/xstat64.c: Define STX_NORMAL and STX_64.
8493 * sysdeps/unix/sysv/aix/xstat.c: Define STX_NORMAL.
8494 * sysdeps/unix/sysv/aix/sys/param.h: Define NGROUPS.
8495 * sysdeps/unix/sysv/aix/setreuid.c: Define ID_EFFECTIVE and ID_REAL.
8496 * sysdeps/unix/sysv/aix/setregid.c: Likewise.
8497 * sysdeps/unix/sysv/aix/setuid.c: Define ID_REAL.
8498 * sysdeps/unix/sysv/aix/setgid.c: Likewise.
8499 * sysdeps/unix/sysv/aix/seteuid.c: Define ID_EFFECTIVE.
8500 * sysdeps/unix/sysv/aix/setegid.c: Likewise.
8501 * sysdeps/unix/sysv/aix/sbrk.c: Update parameter type.
8502 * sysdeps/unix/sysv/aix/nanosleep.c (struct timestruc_t): Define
8504 * sysdeps/unix/sysv/aix/msync.c: New file.
8505 * sysdeps/unix/sysv/aix/msgsnd.c: New file.
8506 * sysdeps/unix/sysv/aix/net/if.h: New file.
8507 * sysdeps/unix/sysv/aix/pipe.c: New file.
8508 * sysdeps/unix/sysv/aix/poll.c: New file.
8509 * sysdeps/unix/sysv/aix/rename.c: New file.
8510 * sysdeps/unix/sysv/aix/rmdir.c: New file.
8511 * sysdeps/unix/sysv/aix/select.c: New file.
8512 * sysdeps/unix/sysv/aix/semctl.c: New file.
8513 * sysdeps/unix/sysv/aix/semget.c: New file.
8514 * sysdeps/unix/sysv/aix/semop.c: New file.
8515 * sysdeps/unix/sysv/aix/sendto.c: New file.
8516 * sysdeps/unix/sysv/aix/setgroups.c: New file.
8517 * sysdeps/unix/sysv/aix/setpgid.c: New file.
8518 * sysdeps/unix/sysv/aix/setpgrp.c: New file.
8519 * sysdeps/unix/sysv/aix/setpriority.c: New file.
8520 * sysdeps/unix/sysv/aix/setrlimit.c: New file.
8521 * sysdeps/unix/sysv/aix/setrlimit64.c: New file.
8522 * sysdeps/unix/sysv/aix/setsid.c: New file.
8523 * sysdeps/unix/sysv/aix/setsockopt.c: New file.
8524 * sysdeps/unix/sysv/aix/shmat.c: New file.
8525 * sysdeps/unix/sysv/aix/shmctl.c: New file.
8526 * sysdeps/unix/sysv/aix/shmdt.c: New file.
8527 * sysdeps/unix/sysv/aix/shmget.c: New file.
8528 * sysdeps/unix/sysv/aix/sigaltstack.c: New file.
8529 * sysdeps/unix/sysv/aix/sigstack.c: New file.
8530 * sysdeps/unix/sysv/aix/socket.c: New file.
8531 * sysdeps/unix/sysv/aix/socketpair.c: New file.
8532 * sysdeps/unix/sysv/aix/speed.c: New file.
8533 * sysdeps/unix/sysv/aix/symlink.c: New file.
8534 * sysdeps/unix/sysv/aix/sync.c: New file.
8535 * sysdeps/unix/sysv/aix/tcgetattr.c: New file.
8536 * sysdeps/unix/sysv/aix/tcsetattr.c: New file.
8537 * sysdeps/unix/sysv/aix/times.c: New file.
8538 * sysdeps/unix/sysv/aix/ulimit.c: New file.
8539 * sysdeps/unix/sysv/aix/umask.c: New file.
8540 * sysdeps/unix/sysv/aix/unlink.c: New file.
8541 * sysdeps/unix/sysv/aix/ustat.c: New file.
8542 * sysdeps/unix/sysv/aix/utimes.c: New file.
8544 2000-04-18 Andreas Jaeger <aj@suse.de>
8546 * manual/startup.texi (Environment Access): Fix putenv prototype
8547 according to recent changes.
8548 Reported by Andries Brouwer <Andries.Brouwer@cwi.nl>, closes
8551 * elf/rtld.c (print_statistics): Added HP_TIMINIG_NONAVAIL where
8554 2000-04-18 Ulrich Drepper <drepper@redhat.com>
8556 * posix/Makefile (tests): Add tst-getaddrinfo.
8557 * posix/tst-getaddrinfo.c: New file.
8559 2000-04-17 Ulrich Drepper <drepper@redhat.com>
8561 * manual/sysinfo.texi: Document that umount2 is not widely available.
8563 * sysdeps/generic/hp-timing.h (HP_TIMING_NONAVAIL): Define to
8564 signal timing is not really implemented.
8566 2000-04-17 Andreas Jaeger <aj@suse.de>
8568 * elf/rtld.c (process_dl_debug): Mention statistics in help message.
8570 2000-04-17 Jakub Jelinek <jakub@redhat.com>
8572 * Makefile (install): Use slibdir and libdir instead of inst_slibdir
8575 2000-04-17 Ulrich Drepper <drepper@redhat.com>
8577 * manual/intro.texi: Change reference from System Information to
8579 * manual/users.texi: Likewise.
8580 * manual/conf.texi: Likewise.
8581 * manual/sysinfo.texi: Document mount, umount, and umount2.
8582 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
8584 2000-04-17 Jakub Jelinek <jakub@redhat.com>
8586 * sysdeps/ieee754/ldbl-128/printf_fphex.c (PRINT_FPHEX_LONG_DOUBLE):
8587 Create wnumstr as well as numstr to support wide character output
8590 2000-04-15 Jakub Jelinek <jakub@redhat.com>
8592 * sysdeps/sparc/sparc64/Makefile: Remove sysdep-CFLAGS
8593 modification and move it...
8594 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: ...here.
8595 Add -melf64_sparc switch to $(LD) on sparc64-linux.
8596 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile: Add -melf32_sparc
8597 switch to $(LD) on sparc-linux.
8599 2000-04-17 Thorsten Kukuk <kukuk@suse.de>
8601 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile: Remove setresgid
8602 and setresuid from sysdep_routines.
8604 2000-04-17 Ulrich Drepper <drepper@redhat.com>
8606 * manual/Makefile (chapters): Add resource.
8608 * manual/time.texi: Move section on resources to...
8609 * manual/resource.texi: ...here. New file. Document ulimit, vlimit,
8611 * manual/setjmp.texi: Adjust back reference.
8612 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
8614 * sysdeps/unix/sysv/aix/lxstat64.c: Uncomment STX_LINK and STX_64
8616 * sysdeps/unix/sysv/aix/lxstat.c: Uncomment STX_LINK definition.
8617 * sysdeps/unix/sysv/aix/kill.c: Add copyright.
8618 * sysdeps/unix/sysv/aix/getuid.c: Define ID_REAL.
8619 * sysdeps/unix/sysv/aix/getgid.c: Define ID_REAL.
8620 * sysdeps/unix/sysv/aix/execve.c: Add copyright.
8621 * sysdeps/unix/sysv/aix/euidaccess.c: Add copyright.
8622 * sysdeps/unix/sysv/aix/close.c: Add copyright.
8623 * sysdeps/unix/sysv/aix/brk.c: Add copyright.
8624 * sysdeps/unix/sysv/aix/bits/errno.h: Add EAFNOSUPPORT.
8625 * sysdeps/unix/sysv/aix/access.c: Add copyright.
8626 * sysdeps/unix/sysv/aix/Makefile: Add some temporary definitions.
8627 * sysdeps/unix/sysv/aix/Implies: New file.
8628 * sysdeps/unix/sysv/aix/Versions: New file.
8629 * sysdeps/unix/sysv/aix/bind.c: New file.
8630 * sysdeps/unix/sysv/aix/bits/ioctl-types.h: New file.
8631 * sysdeps/unix/sysv/aix/bits/ioctls.h: New file.
8632 * sysdeps/unix/sysv/aix/bits/poll.h: New file.
8633 * sysdeps/unix/sysv/aix/bits/termios.h: New file.
8634 * sysdeps/unix/sysv/aix/chdir.c: New file.
8635 * sysdeps/unix/sysv/aix/chmod.c: New file.
8636 * sysdeps/unix/sysv/aix/chroot.c: New file.
8637 * sysdeps/unix/sysv/aix/creat.c: New file.
8638 * sysdeps/unix/sysv/aix/dl-close.c: New file.
8639 * sysdeps/unix/sysv/aix/dl-open.c: New file.
8640 * sysdeps/unix/sysv/aix/dl-sym.c: New file.
8641 * sysdeps/unix/sysv/aix/fchdir.c: New file.
8642 * sysdeps/unix/sysv/aix/fchmod.c: New file.
8643 * sysdeps/unix/sysv/aix/getgroups.c: New file.
8644 * sysdeps/unix/sysv/aix/gethostname.c: New file.
8645 * sysdeps/unix/sysv/aix/getpriority.c: New file.
8646 * sysdeps/unix/sysv/aix/getrlimit.c: New file.
8647 * sysdeps/unix/sysv/aix/getrlimit64.c: New file.
8648 * sysdeps/unix/sysv/aix/getrusage.c: New file.
8649 * sysdeps/unix/sysv/aix/link.c: New file.
8650 * sysdeps/unix/sysv/aix/madvise.c: New file.
8651 * sysdeps/unix/sysv/aix/mkdir.c: New file.
8652 * sysdeps/unix/sysv/aix/mknod.c: New file.
8653 * sysdeps/unix/sysv/aix/mprotect.c: New file.
8654 * sysdeps/unix/sysv/aix/msgctl.c: New file.
8655 * sysdeps/unix/sysv/aix/msgget.c: New file.
8656 * sysdeps/unix/sysv/aix/msgrcv.c: New file.
8658 2000-04-17 Andreas Jaeger <aj@suse.de>
8660 * sysdeps/mips/dl-machine.h (elf_machine_got_rel): Optimize a bit
8661 as suggested by Ulrich Drepper.
8662 (__dl_runtime_resolve): Remove unused variable, initialize sym
8664 (RTLD_START): Document OFFSET_GP_GOT.
8665 (OFFSET_GP_GOT): New magic value.
8666 (elf_mips_got_from_gpreg): Use OFFSET_GP_GOT.
8667 (elf_machine_got_rel): Only declare strtab if needed.
8668 (elf_machine_relplt): Removed, it's not needed.
8669 (_dl_runtime_resolve): Fix \n for a comment, safe gp and not pc.
8671 * sysdeps/mips/add_n.S: Add newline at EOF.
8672 * sysdeps/mips/rshift.S: Likewise.
8673 * sysdeps/mips/mul_1.S: Likewise.
8674 * sysdeps/mips/lshift.S: Likewise.
8675 * sysdeps/mips/addmul_1.S: Likewise.
8677 2000-04-17 Ulrich Drepper <drepper@redhat.com>
8679 * sysdeps/powerpc/fpu/s_isnan.c: Pretty printing.
8681 * elf/dl-reloc.c (_dl_relocate_object): Add more __builtin_expect.
8682 * elf/dl-lookup.c: Likewise.
8683 * elf/dl-init.c (_dl_init): Likewise.
8684 * elf/dl-fini.c (_dl_fini): Likewise.
8685 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
8686 * elf/dl-close.c (_dl_close): Likewise.
8687 * elf/rtld.c (_dl_start_final): Likewise.
8689 * elf/dl-lookup.c (add_dependency): Correct __builtin_expect use.
8691 2000-04-15 Ulrich Drepper <drepper@redhat.com>
8693 * csu/Makefile ($(objpfx)version-info.h): Get OS name from uname and
8694 only fall back on using Linux.
8696 * elf/dl-version.c (_dl_check_map_versions): New argument trace_mode.
8697 Before testing versions check that we actually loaded the object
8698 and whether we are in trace mode. If not loaded during tracing don't
8699 test versions in this object.
8700 (_dl_check_all_versions): Take new parameter and pass to
8701 _dl_check_map_versions.
8702 * sysdeps/generic/ldsodefs.h: Update prototypes for
8703 _dl_check_all_versions and _dl_check_map_versions.
8704 * elf/rtld.c (struct version_check_args): Add dotrace.
8705 (version_check_doit): Pass args->dotrace to _dl_check_all_versions.
8706 (dl_main): Pass info about trace mode to version_check_doit.
8707 * elf/dl-open.c (dl_open_worker): Pass zero as new argument to
8708 _dl_check_all_versions.
8710 * manual/users.texi (XPG Functions): Document utmpxname, getutmp,
8712 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
8714 * manual/argp.texi: Document index parameter of argp_parse.
8716 Reported by Andrew Schulman <SCHULMAN.ANDREW@epamail.epa.gov>.
8718 2000-04-14 Andreas Jaeger <aj@suse.de>
8720 * sysdeps/unix/sysv/linux/shm_open.c: Include linux_fsinfo for
8721 SHMFS_SUPER_MAGIC. Remove definition of SHMFS_SUPER_MAGIC.
8723 * sysdeps/unix/sysv/linux/linux_fsinfo.h (SHMFS_SUPER_MAGIC): Added.
8725 2000-04-15 Ulrich Drepper <drepper@redhat.com>
8727 * sysdeps/unix/sysv/linux/alpha/adjtime.c: Fix typo in
8728 compat_symbol call for old adjtime.
8730 * sysdeps/alpha/dl-machine.h (RTLD_START): Rewrite for new init
8731 function interface. Patch by Richard Henderson <rth@cygnus.com>.
8733 * posix/Makefile (headers): Add spawn.h.
8734 (distribute): Add spawn_int.h.
8735 (routines): Add spawn_faction_init, spawn_faction_destroy,
8736 spawn_faction_addclose, spawn_faction_addopen, spawn_faction_adddup2,
8737 spawnattr_init, spawnattr_destroy, spawnattr_getdefault,
8738 spawnattr_setdefault, spawnattr_getflags, spawnattr_setflags,
8739 spawnattr_getpgroup, spawnattr_setpgroup, spawn, spawnp, and spawni.
8740 * posix/Versions [libc] (GLIBC_2.2): Add posix_spawn_file_actions_init,
8741 posix_spawn_file_actions_destroy, posix_spawn_file_actions_addclose,
8742 posix_spawn_file_actions_addopen, posix_spawn_file_actions_adddup2,
8743 posix_spawnattr_init, posix_spawnattr_destroy,
8744 posix_spawnattr_getdefault, posix_spawnattr_setdefault,
8745 posix_spawnattr_getflags, posix_spawnattr_setflags,
8746 posix_spawnattr_getpgroup, posix_spawnattr_setpgroup, posix_spawn,
8748 * posix/spawn.c: New file.
8749 * posix/spawn.h: New file.
8750 * posix/spawn_faction_addclose.c: New file.
8751 * posix/spawn_faction_adddup2.c: New file.
8752 * posix/spawn_faction_addopen.c: New file.
8753 * posix/spawn_faction_destroy.c: New file.
8754 * posix/spawn_faction_init.c: New file.
8755 * posix/spawn_int.h: New file.
8756 * posix/spawnattr_destroy.c: New file.
8757 * posix/spawnattr_getdefault.c: New file.
8758 * posix/spawnattr_getflags.c: New file.
8759 * posix/spawnattr_getpgroup.c: New file.
8760 * posix/spawnattr_getschedparam.c: New file.
8761 * posix/spawnattr_getschedpolicy.c: New file.
8762 * posix/spawnattr_getsigmask.c: New file.
8763 * posix/spawnattr_init.c: New file.
8764 * posix/spawnattr_setdefault.c: New file.
8765 * posix/spawnattr_setflags.c: New file.
8766 * posix/spawnattr_setpgroup.c: New file.
8767 * posix/spawnattr_setschedparam.c: New file.
8768 * posix/spawnattr_setschedpolicy.c: New file.
8769 * posix/spawnattr_setsigmask.c: New file.
8770 * posix/spawni.c: New file.
8771 * posix/spawnp.c: New file.
8773 * sysdeps/mach/hurd/bits/posix_opt.h: Add _POSIX_SPAWN.
8774 * sysdeps/unix/sysv/linux/bits/posix_opt.h: Likewise.
8776 2000-04-14 Ulrich Drepper <drepper@redhat.com>
8778 * malloc/Versions [libc] (GLIBC_2.2): Add posix_memalign.
8779 * malloc/malloc.c: Implement posix_memalign for glibc.
8780 * include/stdlib.h: Add prototype for __posix_memalign.
8781 * stdlib/stdlib.h: Add prototype for posix_memalign.
8783 2000-04-14 Andreas Jaeger <aj@suse.de>
8785 * sysdeps/mips/dl-machine.h (elf_machine_got_rel): Initialize
8787 (elf_machine_got_rel): Cast sym correctly.
8789 * sysdeps/mips/add_n.S: Use __PIC__, add end directive.
8790 * sysdeps/mips/addmul_1.S: Likewise.
8791 * sysdeps/mips/lshift.S: Likewise.
8792 * sysdeps/mips/mul_1.S: Likewise.
8793 * sysdeps/mips/rshift.S: Likewise.
8794 * sysdeps/mips/sub_n.S: Likewise.
8795 * sysdeps/mips/submul_1.S: Likewise.
8797 * stdlib/stdlib.h: Fix typo in comment.
8799 * shlib-versions (mips.*-.*-linux.*): Support only GLIBC 2.0 and
8800 2.2 for libdl, ld and libm.
8802 * sysdeps/generic/madvise.c: Fix typos.
8804 * sysdeps/unix/sysv/linux/mips/clone.S (error): Use __PIC__.
8806 * sysdeps/mips/bits/setjmp.h: Remove K&R compatibility.
8808 * sysdeps/mips/setjmp_aux.c (__sigsetjmp_aux): Silence gcc
8811 2000-04-14 Ulrich Drepper <drepper@redhat.com>
8813 * include/sys/statfs.h: Add prototypes for __statfs64 and __fstatfs64.
8814 * sysdeps/generic/fstatfs64.c (__fstatfs64): Renamed to fstatfs64.
8815 Make old name weak alias.
8816 * sysdeps/unix/sysv/linux/fstatfs64.c: Likewise.
8817 * sysdeps/generic/statfs64.c (__statfs64): Renamed to statfs64.
8818 Make old name weak alias.
8819 * sysdeps/unix/sysv/linux/statfs64.c: Likewise.
8821 * io/Makefile (routines): Add posix_fadvise, posix_fadvise64,
8822 posix_fallocate, and posix_fallocate64.
8823 * io/Versions [libc] (GLIBC_2.2): Add posix_fadvise, posix_fadvise64,
8824 posix_fallocate, and posix_fallocate64.
8825 * io/fcntl.h: Declare posix_fadvise, posix_fadvise64,
8826 posix_fallocate, and posix_fallocate64.
8827 * sysdeps/generic/fadvise.c: New file.
8828 * sysdeps/generic/fadvise64.c: New file.
8829 * sysdeps/generic/fallocate.c: New file.
8830 * sysdeps/generic/fallocate64.c: New file.
8831 * sysdeps/posix/fallocate.c: New file.
8832 * sysdeps/posix/fallocate64.c: New file.
8833 * sysdeps/generic/bits/fcntl.h: Define POSIX_FADV_NORMAL,
8834 POSIX_FADV_RANDOM, POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED,
8835 POSIX_FADV_DONTNEED, and POSIX_FADV_NOREUSE.
8836 * sysdeps/mach/hurd/bits/fcntl.h: Likewise.
8837 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Likewise.
8838 * sysdeps/unix/sysv/linux/bits/fcntl.h: Likewise.
8839 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
8840 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
8841 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
8843 * sysdeps/generic/madvise.c (__madvise): Renamed to posix_madvise.
8844 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
8846 2000-04-13 Ulrich Drepper <drepper@redhat.com>
8848 * misc/Versions [libc] (GLIBC_2.2): Add posix_madvice.
8849 * misc/sys/mman.h (posix_madvise): Add prototype.
8850 * sysdeps/generic/madvise.c (madvise): Renamed to __madvise. Make
8851 old name and posix_madvise weak aliases.
8852 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
8853 * sysdeps/generic/bits/mman.h: Add POSIX_MADV_* constants.
8854 * sysdeps/unix/sysv/linux/alpha/bits/mman.h: Likewise.
8855 * sysdeps/unix/sysv/linux/arm/bits/mman.h: Likewise.
8856 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Likewise.
8857 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
8858 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
8860 2000-04-13 Andreas Jaeger <aj@suse.de>
8862 * sysdeps/mips/dl-machine.h (__dl_runtime_resolve): Handle symbol
8864 (elf_machine_got_rel): Only add runtime display if needed.
8865 (elf_machine_got_rel): Handle symbol versioning.
8867 2000-04-13 Andreas Jaeger <aj@suse.de>
8869 * sysdeps/unix/sysv/linux/mips/clone.S: Fix function.
8871 * sysdeps/unix/mips/pipe.S: Reorder instructions since .reorder is
8874 * sysdeps/mips/__longjmp.c (__longjmp): Use $25 to fix problems
8875 with some applications.
8876 Patches by Ralf Baechle <ralf@uni-koblenz.de>.
8878 * sysdeps/mips/bsd-setjmp.S: Use __PIC__.
8879 * sysdeps/mips/bsd-_setjmp.S: Likewise.
8880 * sysdeps/mips/setjmp.S: Likewise.
8882 * sysdeps/unix/sysv/linux/mips/pipe.S: New file.
8884 2000-04-13 Ulrich Drepper <drepper@redhat.com>
8886 * posix/globtest.sh: Work around inconsistency with expanding ~/
8887 in shell (PR libc/1690). Reported by patsmith@pobox.com.
8889 2000-04-12 Ulrich Drepper <drepper@redhat.com>
8891 * posix/getconf.c: Add support for many more POSIX options.
8892 * sysdeps/posix/sysconf.c: Likewise.
8893 * sysdeps/generic/bits/confname.h: Add many more POSIX options.
8894 * sysdeps/mach/hurd/bits/posix_opt.h: Add _POSIX_REGEXP and
8896 * sysdeps/unix/sysv/linux/bits/posix_opt.h: Likewise.
8897 * sysdeps/unix/sysv/linux/i386/bits/time.h: Rename __CLOCK_HIGHRES to
8898 CLOCK_PROCESS_CPUTIME_ID. Add define CLOCK_MONOTONIC and
8899 CLOCK_THREAD_CPUTIME_ID.
8900 * sysdeps/unix/i386/clock_getcpuclockid.c: Set *clock_id to
8901 CLOCK_PROCESS_CPUTIME_ID.
8902 * sysdeps/unix/i386/i586/clock_getres.c: Change for renaming of
8903 __CLOCK_HIGHRES to CLOCK_PROCESS_CPUTIME_ID. Handle
8904 CLOCK_THREAD_CPUTIME_ID and CLOCK_MONOTONIC the same.
8905 * sysdeps/unix/i386/i586/clock_gettime.c: Likewise.
8907 * malloc/Makefile (tests): Add tst-calloc.
8908 * malloc/tst-calloc.c: New file.
8910 * sysdeps/arm/libm-test-ulps: New file.
8912 * malloc/malloc.c: Undo all of today's changes.
8914 * locale/programs/locale.c (show_info): Don't try to look into
8915 data for LC_ALL (there is none).
8917 * malloc/malloc.c (cALLOc): Clear only what the user asked for and
8918 avoid writing over boundary.
8919 Patch by Greg McGary <gkm@eng.ascend.com>.
8921 * sysdeps/arm/memprof.h: New file.
8923 2000-04-12 Andreas Jaeger <aj@suse.de>
8925 * sysdeps/unix/i386/i586/clock_gettime.c: Fix typo.
8927 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Include <string.h>
8928 for memmem declaration.
8930 2000-04-12 Ulrich Drepper <drepper@redhat.com>
8932 * sysdeps/unix/clock_gettime.c (clock_gettime): Initialize retval
8934 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
8936 * libio/iopopen.c (_IO_new_proc_open): Close pipes in case the
8938 * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
8939 Patch by Bart Veer <bartv@redhat.com>.
8941 * sysdeps/arm/dl-machine.h (RTLD_START): Rewrite for new init
8944 2000-04-11 Andreas Jaeger <aj@suse.de>
8946 * sysdeps/mips/dl-machine.h: Update some comments.
8947 (ELF_MACHINE_ALIGN_MASK): Removed, it's not needed.
8949 2000-04-11 Ulrich Drepper <drepper@redhat.com>
8951 * sysdeps/unix/sysv/linux/bits/posix_opt.h: Add
8952 _POSIX_SHARED_MEMORY_OBJECTS.
8954 * rt/Makefile (tests): Add tst-shm.
8955 Add rules to generate tst-shm.
8956 * rt/tst-shm.c: New file.
8958 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Set FD_CLOEXEC
8961 * misc/sys/mman.h: Add prototypes for shm_open and shm_unlink.
8962 * rt/Makefile (librt-routines): Add shm_open and shm_unlink.
8963 * rt/Versions [librt] (GLIBC_2.2): Add shm_open and shm_unlink.
8964 * sysdeps/generic/shm_open.c: New file.
8965 * sysdeps/generic/shm_unlink.c: New file.
8966 * sysdeps/unix/sysv/linux/shm_open.c: New file.
8967 * sysdeps/unix/sysv/linux/shm_unlink.c: New file.
8968 * sysdeps/unix/sysv/linux/Versions [libc] (GLIBC_2.2): Export
8969 __endmntent, __getmntent_r, __setmntent, and __statfs.
8971 * libio/vasprintf.c (_IO_vasprintf): Try to avoid memory
8972 fragmentation by allocating new memory at the end instead of
8975 * posix/globtest.sh: Fix last change.
8977 2000-04-10 Philip Blundell <philb@gnu.org>
8979 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_JOIN_GROUP,
8980 IPV6_LEAVE_GROUP): New names for IPV6_ADD_MEMBERSHIP,
8981 IPV6_DROP_MEMBERSHIP.
8982 * sysdeps/generic/bits/in.h (IPV6_JOIN_GROUP, IPV6_LEAVE_GROUP):
8985 2000-04-11 Ulrich Drepper <drepper@redhat.com>
8987 * elf/readlib (process_file): Close streams in case of an error.
8989 2000-04-09 Andreas Jaeger <aj@suse.de>
8991 * elf/readlib.c (process_file): Check if file is big enough to
8992 contain aout and ELF headers.
8993 Reported by Reinhard Moosauer <RMoosauer@steinecker.com>.
8995 2000-04-10 Jes Sorensen <Jes.Sorensen@cern.ch>
8997 * elf/dl-fini.c: Include alloca.h to get proper prototype for alloca().
8999 2000-04-11 Ulrich Drepper <drepper@redhat.com>
9001 * test-skeleton.c (main): If STDOUT_UNBUFFERED is defined, make stdout
9003 * rt/Makefile (tests): Add tst-clock.
9004 Add rules to build tst-clock.
9005 * rt/tst-clock.c: New file.
9006 * sysdeps/unix/i386/i586/clock_getres.c: Correct expression to decide
9007 about initialization of nsec.
9008 * sysdeps/unix/i386/i586/clock_gettime.c: Correct expression to decide
9009 about initialization of freq. Set retval to zero if successful.
9010 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Cache result.
9012 2000-04-10 Ulrich Drepper <drepper@redhat.com>
9014 * Versions.def (librt): Add GLIBC_2.2.
9015 * rt/Makefile (librt-routines): Add get_clockfreq, clock_getcpuclockid,
9016 clock_getres, clock_gettime, clock_settime, timer_create, timer_delete,
9017 timer_getoverr, timer_gettime, and timer_settime.
9018 * rt/Versions [librt] (GLIBC_2.2): Add clock_getres, clock_gettime,
9019 clock_settime, timer_create, timer_delete, timer_getoverrun,
9020 timer_gettime, and timer_settime.
9021 * sysdeps/generic/clock_getcpuclockid.c: New file.
9022 * sysdeps/generic/get_clockfreq.c: New file.
9023 * sysdeps/unix/i386/clock_getcpuclockid.c: New file.
9024 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: New file.
9025 * sysdeps/mach/hurd/i386/bits/time.h: New file.
9026 * sysdeps/unix/i386/i586/clock_getres.c: New file.
9027 * sysdeps/unix/i386/i586/clock_gettime.c: New file.
9028 * sysdeps/unix/i386/i686/Implies: New file.
9029 * sysdpes/unix/sysv/linux/i386/bits/time.h: New file.
9030 * time/Makefile (routines): Move clock_getres, clock_gettime,
9031 clock_settime, timer_create, timer_delete, timer_getoverr,
9032 timer_gettime, and timer_settime to rt/Makefile.
9033 * time/Versions [libc] (GLIBC_2.2): Remove clock_getres, clock_gettime,
9034 clock_settime, timer_create, timer_delete, timer_getoverrun,
9035 timer_gettime, and timer_settime.
9036 * time/time.h: Define pid_t. Add prototype for clock_getcpuclockid.
9038 * sysdeps/mach/hurd/bits/time.h: Drop K&R compatibility. Use __const__
9039 and not const as attribute name.
9041 2000-04-10 Thorsten Kukuk <kukuk@suse.de>
9043 * elf/cache.c (save_cache): Make sure /etc/ld.so.cache is mode 644.
9045 2000-04-10 Andreas Schwab <schwab@suse.de>
9047 * posix/globtest.sh: Skip tests that depend on unreadable
9048 directories if run as root.
9050 2000-04-10 Ulrich Drepper <drepper@redhat.com>
9052 * sysdeps/unix/clock_settime.c (clock_settime): Test tv_nsec value
9053 for correct range. From code by Kaz Kylheku <kaz@ashi.footprints.net>.
9055 2000-04-09 Ulrich Drepper <drepper@redhat.com>
9057 * sysdeps/unix/clock_gettime.c: New file.
9058 * sysdeps/unix/clock_settime.c: New file.
9059 * sysdeps/posix/clock_getres.c: New file.
9061 * conform/data/ftw.h-data: Add allow-header sys/stat.h.
9063 * sysdeps/unix/sysv/linux/getdents.c (__getdents): Avoid initial
9064 lseek call be passing in a buffer which never allow a successful
9065 first getdents syscall if not at leas the initial entry can be
9066 stored in the user buffer.
9068 * localedata/Makefile: Add rules to clean up directories created by
9071 2000-04-09 Geoff Clare <gwc@unisoft.com>
9073 * localedata/tst-fmon.data: Added new tests for strfmon()
9074 using test locales with all combinations of cs_precedes,
9075 sign_posn and sep_by_space.
9076 * localedata/tst-fmon.sh: Updated to support the new tests.
9077 * localedata/tst-fmon-locales/tstfmon_n01y12: New file containing
9078 the localedef source for the new strfmon() test locale.
9079 * localedata/tst-fmon-locales/tstfmon_n02n40: Likewise.
9080 * localedata/tst-fmon-locales/tstfmon_n10y31: Likewise.
9081 * localedata/tst-fmon-locales/tstfmon_n11y41: Likewise.
9082 * localedata/tst-fmon-locales/tstfmon_n12y11: Likewise.
9083 * localedata/tst-fmon-locales/tstfmon_n20n32: Likewise.
9084 * localedata/tst-fmon-locales/tstfmon_n30y20: Likewise.
9085 * localedata/tst-fmon-locales/tstfmon_n41n00: Likewise.
9086 * localedata/tst-fmon-locales/tstfmon_y01y10: Likewise.
9087 * localedata/tst-fmon-locales/tstfmon_y02n22: Likewise.
9088 * localedata/tst-fmon-locales/tstfmon_y22n42: Likewise.
9089 * localedata/tst-fmon-locales/tstfmon_y30y21: Likewise.
9090 * localedata/tst-fmon-locales/tstfmon_y32n31: Likewise.
9091 * localedata/tst-fmon-locales/tstfmon_y40y00: Likewise.
9092 * localedata/tst-fmon-locales/tstfmon_y42n21: Likewise.
9094 * stdlib/strfmon.c: Correct problems with missing or extra
9095 spaces for unusual combinations of sign_posn and sep_by_space.
9096 Improved left-precision alignment code.
9098 2000-04-07 Andreas Jaeger <aj@suse.de>
9100 * posix/Makefile (CFLAGS-regex.c): Remove DEBUG.
9102 2000-04-10 Andreas Jaeger <aj@suse.de>
9104 * intl/Makefile: Don't run do-gettext-test when cross-compiling.
9106 2000-04-09 Ulrich Drepper <drepper@redhat.com>
9108 Implement handling of restartable conversion functions according to
9110 * iconv/gconv.h (__gconv_fct): Add additional parameter.
9111 * iconv/gconv_int.h (__BUILTIN_TRANS): Likewise.
9112 * iconv/gconv.c: Pass additional parameter to conversion function.
9113 * iconv/gconv_simple.c (internal_ucs4_loop_single): New function.
9114 (internal_ucs4le_loop_single): New function.
9115 (__gconv_transform_ascii_internal): Define ONE_DIRECTION.
9116 (__gconv_transform_internal_ascii): Likewise.
9117 (__gconv_transform_internal_utf8): Likewise.
9118 (__gconv_transform_utf8_internal): Likewise.
9119 (__gconv_transform_ucs2_internal): Likewise.
9120 (__gconv_transform_internal_ucs2): Likewise.
9121 (__gconv_transform_ucs2reverse_internal): Likewise.
9122 (__gconv_transform_internal_ucs2reverse): Likewise.
9123 (internal_ucs4le_loop_unaligned): Before return
9124 __GCONV_INCOMPLETE_INPUT check that the remaining bytes really form
9125 a valid character. Otherwise return __GCONV_ILLEGAL_INPUT.
9126 (__gconv_transform_utf8_internal): Define STORE_REST and UNPACK_BYTES.
9127 * iconv/loop.c: Fit in definition of function to convert one character
9128 for processing of left-over bytes from the state object.
9129 * iconv/skeleton.c (gconv): Rename inbuf to inptrp and inbufend to
9130 inend to match names in loop functions.
9131 (RESET_INPUT_BUFFER): Change apprpriately.
9132 (gconv): If needed, call function to process bytes from the state
9133 object. Similar at the end: store left over bytes if input is
9135 Take extra argument and add new argument to all calls of the
9136 conversion function.
9137 * iconvdata/iso-2022-cn.c: Adjust numeric values used to store
9138 information in the state object to not conflict with length count.
9139 * iconvdata/iso-2022-jp.c: Likewise.
9140 * iconvdata/iso-2022-kr.c: Likewise.
9141 * iconvdata/unicode.c: Adjust for change change in parameters of
9143 * iconvdata/utf-16.c: Likewise.
9144 * libio/iofwide.c: Add new parameter to all calls of conversion
9146 * wcsmbs/btowc.c: Likewise.
9147 * wcsmbs/mbrtowc.c: Likewise.
9148 * wcsmbs/mbsnrtowcs.c: Likewise.
9149 * wcsmbs/mbsrtowcs.c: Likewise.
9150 * wcsmbs/wcrtomb.c: Likewise.
9151 * wcsmbs/wcsnrtombs.c: Likewise.
9152 * wcsmbs/wcsrtombs.c: Likewise.
9153 * wcsmbs/wctob.c: Likewise.
9155 * iconvdata/gbgbk.c: Always define MAX_NEEDED_OUTPUT and
9158 2000-04-07 Andreas Jaeger <aj@suse.de>
9160 * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Updated for
9163 2000-04-07 Ulrich Drepper <drepper@redhat.com>
9165 * wcsmbs/wchar.h (__mbstate_t): Rename elements. Make __value
9166 element a union to allow byte access.
9167 * iconvdata/iso-2022-cn.c: Adjust for change of element name in
9169 * iconvdata/iso-2022-jp.c: Likewise.
9170 * iconvdata/iso-2022-kr.c: Likewise.
9171 * wcsmbs/mbsinit.c: Likewise.
9172 * stdlib/mblen.c: Likewise.
9173 * stdio-common/printf-parse.h: Likewise.
9175 2000-04-06 Ulrich Drepper <drepper@redhat.com>
9177 * sysdeps/unix/sysv/linux/getdents.c (__getdents): The Linux
9178 kernel does not allow relative seeks on descriptors associated
9179 with directories. Go back to get the position in the directory
9180 every time we enter the function. Return -1 and set errno if one
9181 entry could be read from the kernel but does not fit into the
9182 buffer passed in by the user.
9184 * locale/programs/charmap.c (charmap_new_char): Add parameter step.
9185 Support ..(2).. ellipsis.
9186 (parse_charmap): Recognize ..(2).. etc and pass step down.
9187 Correctly generate names for UCS4 characters.
9189 * locale/programs/ld-ctype.c (struct translit_ignore_t): Add step.
9190 (ctype_finish): We know the wide character value for <SP>,
9192 (charclass_symbolic_ellipsis): Handle ..(2).. ellipsis.
9193 (charclass_ucs4_ellipsis): Likewise.
9194 (read_translit_ignore_entry): Store ellipsis step.
9195 (ctype_read): Recognize ..(2).. etc and pass step down.
9197 * locale/programs/linereader.c (lr_token): When seeing comment
9198 character ignore only rest of line in sources but stop at escaped
9200 Recognize ..(2).. and ....(2).....
9202 * locale/programs/locfile-token.h (enum token_t): Add tok_ellipsis2_2
9203 and tok_ellipsis4_2.
9205 2000-04-06 Andreas Jaeger <aj@suse.de>
9207 * sysdeps/unix/sysv/linux/alpha/Dist: init-first.h has been
9208 removed, remove it here also.
9209 * sysdeps/unix/sysv/linux/arm/Dist: Likewise.
9210 * sysdeps/unix/sysv/linux/powerpc/Dist: Likewise.
9211 * sysdeps/unix/sysv/linux/sparc/sparc32/Dist: Likewise.
9212 * sysdeps/unix/sysv/linux/sparc/sparc64/Dist: Likewise.
9214 2000-04-06 Jakub Jelinek <jakub@redhat.com>
9216 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Don't
9217 include bits/sigcontext.h.
9218 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
9220 2000-04-06 Ulrich Drepper <drepper@redhat.com>
9222 * locale/programs/ld-collate.c (collate_read): Handle ellipsis in
9223 collation symbol definition. Value in quivalence definition must
9224 be defined, don't check that it is not.
9226 * locale/programs/charmap.c (parse_charmap): Recognize <Uxxxx>
9227 values as character names.
9229 * locale/programs/ld-ctype.c (get_character): Handle missing
9230 repertoire map correctly.
9232 2000-04-05 Cristian Gafton <gafton@redhat.com>
9234 * ctype/ctype.h (__isctype_l): Define even if not __OPTIMIZE__
9235 because it is used in generic code.
9236 * wctype/wctrans.c: Define __ctype32_toupper and __ctype32_tolower.
9237 * wcsmbs/wcwidth.h: Declare __ctype32_b.
9238 * intl/gettext.c: Include <locale.h>.
9239 * intl/ngettext.c: Likewise.
9241 2000-04-05 Jakub Jelinek <jakub@redhat.com>
9243 * resolv/inet_ntop.c (inet_ntop4, inet_ntop6, inet_ntop): Use
9244 socklen_t type for size.
9245 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Rewrite for new
9246 init function interface.
9247 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
9248 * sysdeps/unix/sysv/linux/sparc/bits/setjmp.h: Don't include
9250 (__jmp_buf): Declare the whole type structure here, don't use
9253 2000-04-05 Ulrich Drepper <drepper@redhat.com>
9255 * iconv/skeleton.c (put16u): Fix typo.
9256 Reported by Bruno Haible <haible@ilog.fr>.
9258 * sysdeps/unix/sysv/linux/alpha/init-first.h: Not needed anymore.
9259 * sysdeps/unix/sysv/linux/arm/init-first.h: Likewise.
9260 * sysdeps/unix/sysv/linux/mips/init-first.h: Likewise.
9261 * sysdeps/unix/sysv/linux/powerpc/init-first.h: Likewise.
9262 * sysdeps/unix/sysv/linux/sparc/sparc32/init-first.h: Likewise.
9263 * sysdeps/unix/sysv/linux/sparc/sparc64/init-first.h: Likewise.
9265 * sysdeps/unix/sysv/linux/Dist: Remove getresuid and getresgid.
9266 * Makefile (distribute): Add abi-versions.awk and
9268 Patches by Torsten Duwe <duwe@caldera.de>.
9270 2000-04-05 Andreas Schwab <schwab@suse.de>
9272 * nss/Makefile ($(objpfx)makedb): Move $(libdl) after db-open.o.
9274 2000-04-05 Andreas Schwab <schwab@suse.de>
9276 * sysdeps/m68k/dl-machine.h (RTLD_START): Readd _dl_start_user
9277 entry point, used on Hurd.
9279 2000-04-04 Andreas Jaeger <aj@suse.de>
9281 * intl/Makefile: Only run the gettext test with shared libraries.
9283 2000-03-16 Mark Kettenis <kettenis@gnu.org>
9285 * sysdeps/unix/sysv/linux/i386/sys/procfs.h (prfpregset_t):
9286 Typedef for elf_fpregset_t instead of `elf_fpregset_t *'.
9288 2000-04-05 Roland McGrath <roland@baalperazim.frob.com>
9290 * Makeconfig: Undo last change.
9291 * configure.in: If --disable-shared was given, don't set VERSIONING,
9292 don't define DO_VERSIONING, and don't give scare warning for no
9294 * configure: Regenerated.
9296 2000-04-04 Roland McGrath <roland@baalperazim.frob.com>
9298 * Makeconfig [$(build-shared) != yes] (versioning): Set to `no'.
9300 2000-04-04 Andreas Jaeger <aj@suse.de>
9302 * sysdeps/generic/fgetexcptflg.c: Use shlib-compat macros.
9304 2000-04-04 Ulrich Drepper <drepper@redhat.com>
9306 * elf/dl-runtime.c (fixup): Correct handling of symbols marked
9307 STV_HIDDEN and STV_INTERNAL during lookup.
9308 (profile_fixup): Likewise.
9309 * elf/dl-reloc.c (RESOLVE): Likewise.
9311 * iconv/skeleton.c (FUNCTION_NAME): Reorder initialization of
9312 unaligned so that it compiles for system which need unaligned
9315 2000-04-04 Andreas Schwab <schwab@suse.de>
9317 * elf/cache.c (print_entry): Only look at the type field when
9320 2000-04-04 Andreas Schwab <schwab@suse.de>
9322 * iconvdata/big5.c (BODY): Fix typo.
9324 2000-04-04 Andreas Schwab <schwab@suse.de>
9326 * sysdeps/m68k/dl-machine.h (RTLD_START): Rewrite for new init
9327 function interface. Remove unused _dl_start_user entry point.
9329 2000-04-03 Andreas Jaeger <aj@suse.de>
9331 * include/arpa/inet.h (__inet_aton): Add protoype.
9333 2000-04-01 Andreas Jaeger <aj@suse.de>
9335 * sysdeps/mach/hurd/mips/init-first.c: Use SHARED instead of PIC.
9337 * sysdeps/unix/mips/sysdep.h: Use __PIC__ instead of PIC.
9338 * sysdeps/mach/mips/thread_state.h: Likewise.
9340 * sysdeps/generic/fclrexcpt.c: Use shlib-compat macros.
9341 * sysdeps/generic/fegetenv.c: Likewise.
9342 * sysdeps/generic/fesetenv.c: Likewise.
9343 * sysdeps/generic/feupdateenv.c: Likewise.
9344 * sysdeps/generic/fraiseexcpt.c: Likewise.
9345 * sysdeps/generic/fsetexcptflg.c: Likewise.
9346 * sysdeps/unix/sysv/linux/alpha/glob.c: Likewise.
9347 * sysdeps/unix/sysv/linux/arm/errlist.c: Likewise.
9348 * sysdeps/unix/sysv/linux/errlist.c: Likewise.
9349 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
9351 2000-04-02 H.J. Lu <hjl@gnu.org>
9353 * elf/ldconfig.h (FLAG_IA64_LIB64): New. Defined.
9355 2000-04-03 Ulrich Drepper <drepper@redhat.com>
9357 * elf/dl-load.c (_dl_dst_substitute): Pretty print comment.
9358 (add_name_to_object): Add cast in malloc call.
9359 (fillin_rpath): Optimize loop to initialize ->status a bit.
9361 * sysdeps/i386/dl-machine.h: Undo last change.
9362 * sysdeps/mach/hurd/i386/dl-machine.h (RTLD_START_SPECIAL_INIT):
9363 Restore %edx register after call here.
9365 * sysdeps/arm/atomicity.h: New file.
9366 Contributed by Jesper Skov <jskov@redhat.com>.
9368 2000-04-03 Roland McGrath <roland@baalperazim.frob.com>
9370 * Makeconfig (preprocess-versions): Undo last change.
9371 Instead, pass -I$(common-objdir) -I$(..)include instead of $(CPPFLAGS).
9373 * sysdeps/mach/hurd/i386/init-first.c (init): Don't set __environ
9374 here, before we might move the stack.
9375 (posixland_init): Set __libc_argc, __libc_argc, and __environ here.
9376 (init1): And not here.
9378 * sysdeps/i386/dl-machine.h (RTLD_START): Fix code broken by last
9379 change, to restore argc value in call-clobbered register after
9380 RTLD_START_SPECIAL_INIT, which will contain a call.
9382 * elf/dl-deps.c (_dl_map_object_deps): Fix size calculations for
9383 allocating and initializing L->l_initfini.
9385 * resolv/Makefile (headers): Add bits/netdb.h, so it gets installed.
9387 2000-04-03 Ulrich Drepper <drepper@redhat.com>
9389 * elf/dl-load.c (_dl_init_paths): Use (void*) -1 to signal non-existing
9390 RUNPATH, RPATH, and LD_LIBRARY_PATH.
9391 (open_path): Change type of fourth parameter. Make pointer to array
9392 of pointers. Create variable dirs with original type.
9393 Track whether any directory for the object exists and if not,
9394 change *DIRSP to (void*) -1 to signal there is no such search path.
9395 (_dl_map_object): Change all calls of open_path.
9396 Rewrite decompose_rpath calls.
9398 2000-03-31 Andreas Schwab <schwab@suse.de>
9400 * string/strfry.c: Declare STATE as array of char instead of int
9401 and do not initialize it (done by initstate_r). Pass correct
9404 2000-04-03 Ulrich Drepper <drepper@redhat.com>
9406 * sysdeps/generic/ldsodefs.h: Fix typo in comment.
9408 * sysdeps/i386/dl-machine.h (RTLD_START): Squeeze one more
9409 instruction out of the code.
9411 2000-04-02 Ulrich Drepper <drepper@redhat.com>
9413 * elf/dl-fini.c (_dl_fini): Increment j counter after swapping in
9414 element at this position.
9416 * elf/Versions [ld.so] (GLIBC_2.2): Export _dl_load_lock.
9417 * elf/link.h (struct link_map): Add l_reldepsmax, l_reldepsact, and
9419 * elf/dl-lookup.c (add_dependency): New function.
9420 (_dl_lookup_symbol): Use it whenever symbol was found in a global,
9421 dynamically loaded object.
9422 (_dl_lookup_symbol_skip): Likewise.
9423 (_dl_lookup_versioned_symbol): Likewise.
9424 (_dl_lookup_versioned_symbol_skip): Likewise.
9425 * elf/dl-open.c: Don't define _dl_load_lock here...
9426 * elf/rtld.c: ...but here...
9427 * elf/dl-support.c: ...and here.
9428 * elf/dl-close.c (_dl_close): Close also dependent objects introduce
9430 * elf/dl-fini.c (_dl_fini): Also take dependencies introduced through
9432 * dlfcn/Makefile (glrefmain.out): Test is not expected to fail
9434 * dlfcn/glrefmain.c: Add one more debug message.
9436 * Makeconfig (preprocess-versions): Don't add $(CPPFLAGS) to compiler
9438 * Makerules (sysd-versions): Use ( ) instead of { }.
9440 * elf/dl-load.c: Use __builtin_expect to signal that compiler should
9441 optimize for the non-debugging case.
9442 * elf/dl-lookup.c: Likewise.
9443 * sysdeps/generic/libc-start.c: Likewise.
9445 2000-04-02 Roland McGrath <roland@baalperazim.frob.com>
9447 * sysdeps/mach/hurd/i386/init-first.c: Replace PIC #ifdefs with SHARED.
9448 (init1): Don't initialize __environ here, since init already does it.
9449 (first_init): New function, broken out of _init.
9450 (_hurd_stack_setup): Use it.
9451 [SHARED] (_dl_init_first): New function, renamed from old _init.
9452 (init1) [SHARED]: Don't call posixland_init here.
9453 (posixland_init): Take ENVP arg, so signature is usual for initializer.
9454 [SHARED] (_init): Define as alias for posixland_init.
9455 [! SHARED] (__libc_first_init): Define as alias for posixland_init.
9456 * sysdeps/i386/dl-machine.h (RTLD_START): Insert the macro
9457 RTLD_START_SPECIAL_INIT before calling initializers.
9458 (RTLD_START_SPECIAL_INIT): Define to empty if undefined.
9459 * sysdeps/mach/hurd/i386/dl-machine.h: New file.
9460 * sysdeps/mach/hurd/dl-sysdep.c (_dl_init_first): New weak function.
9461 * elf/Versions ({libc,ld.so}: GLIBC_2.2): Add _dl_init_first.
9463 * stdio-common/tmpfile.c [! USE_IN_LIBIO]: No alias needed,
9464 since we define the function with the name `tmpfile'.
9466 * mach/Versions: Define SHARED instead of PIC to affect shlib-compat.h.
9467 * hurd/Versions: Likewise.
9469 2000-04-02 Ulrich Drepper <drepper@redhat.com>
9471 * elf/dl-runtime.c (fixup): Fix typo in comment.
9473 * resolv/netdb.h (getnameinfo): All length parameters are of type
9475 * inet/getnameinfo.c: Likewise.
9477 2000-04-01 Ulrich Drepper <drepper@redhat.com>
9479 * posix/unistd.h (socklen_t): Define if it has not yet happened.
9480 (gethostname): Change type of second parameter to socklen_t.
9481 * include/unistd.h (__gethostname): Change type of second
9482 parameter to socklen_t.
9483 * sysdeps/generic/gethostname.c (__gethostname): Likewise.
9484 * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
9485 * sysdeps/unix/sysv/gethostname.c (__gethostname): Likewise.
9486 * sysdeps/unix/sysv/sysv4/solaris2/gethostname.c (__gethostname):
9488 * sysdeps/unix/sysv/linux/gethostname.c: Removed.
9489 * sysdeps/generic/bits/socket.h: Use __socklen_t to define socklen_t.
9490 Allow definition elsewhere.
9491 * sysdeps/unix/sysv/aix/bits/socket.h: Likewise.
9492 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
9493 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
9494 * sysdeps/generic/bits/types.h: Define __socklen_t.
9495 * sysdeps/unix/sysv/aix/bits/types.h: Likewise.
9496 * sysdeps/unix/sysv/hpux/bits/types.h: Likewise.
9497 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
9498 * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
9499 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
9500 * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
9501 * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
9503 * inet/arpa/inet.h (inet_addr): Change return type to in_addr_t.
9504 (inet_lnaof): Likewise.
9505 (inet_netof): Likewise.
9506 (inet_network): Likewise.
9507 (inet_aton): Likewise.
9508 (inet_makeaddr): Change parameter types to in_addr_t.
9509 (inet_neta): Likewise.
9510 (inet_ntop): Change type of last parameter to socklen_t.
9511 (inet_aton): Only make available if __USE_MISC.
9512 (inet_neta): Likewise.
9513 (inet_net_ntop): Likewise.
9514 (inet_net_pton): Likewise.
9515 (inet_nsap_ntoa): Likewise.
9517 * inet/in.h: Define in_port_t type.
9518 Define in_addr_t type.
9519 (struct in_addr): Use in_addr_t in definition.
9520 (IN_CLASSA): Use cast to in_addr_t.
9521 (IN_CLASSB): Likewise.
9522 (IN_CLASSC): Likewise.
9523 (IN_CLASSD): Likewise.
9524 (IN_EXPERIMENTAL): Likewise.
9525 (IN_BADCLASS): Likewise.
9526 (INADDR_ANY): Likewise.
9527 (INADDR_BROADCAST): Likewise.
9528 (INADDR_NONE): Likewise.
9529 (INADDR_LOOPBACK): Likewise.
9530 (INADDR_UNSPEC_GROUP): Likewise.
9531 (INADDR_ALLHOSTS_GROUP): Likewise.
9532 (INADDR_ALLRTRS_GROUP): Likewise.
9533 (INADDR_MAX_LOCAL_GROUP): Likewise.
9534 (struct sockaddr_in): Use in_port_t for sin_port element.
9535 (struct sockaddr_in6): Use in_port_t for sin6_port element.
9536 Use uint8_t instead of u_int8_t.
9538 * resolv/inet_addr.c (inet_addr): Change return type to in_addr_t.
9539 Call __inet_aton instead of inet_aton.
9540 (__inet_aton): Renamed from inet_aton. Add weak alias under old name.
9542 * resolv/netdb.h (gethostbyname2): Define only is __USE_MISC.
9543 (innetgr): Likewise.
9544 (struct addrinfo): Use socklen_t for ai_addrlen element.
9546 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_MTU_DISCOVER, IPV6_MTU,
9547 IPV6_RECVERR): New defines.
9549 * include/netdb.h: Change type of first parameter of __getnetbyaddr_r.
9550 * inet/getnetbyad.c: Likewise.
9551 * inet/getnetbyad_r.c: Likewise.
9552 * nis/nss_nis/nis-network.c: Likewise.
9553 * nis/nssplus_nis/nisplus-network.c: Likewise.
9554 * nss/nss_files/files-network.c: Likewise.
9555 * resolv/netdb.h: Define uint32_t if not already happened.
9556 Include bits/netdb.h. Remove definition of struct netent.
9557 Change type of first parameter of getnetbyaddr_r and getnetbyaddr.
9558 * sysdeps/generic/stdint.h: Allow definition of uint32_t elsewhere.
9559 * sysdeps/generic/bits/netdb.h: New file.
9560 * sysdeps/unix/sysv/linux/alpha/bits/netdb.h: New file.
9562 * dlfcn/Makefile (distribute): Add glreflib1.c and glreflib2.c.
9563 (tests): Add glrefmain.
9564 Add rules to build modules and run tests. Ignore result of glrefmain
9565 for now since it fails.
9566 * dlfcn/glrefmain.c: New file.
9567 * dlfcn/glreflib1.c: New file.
9568 * dlfcn/glreflib2.c: New file.
9570 * test-skeleton.c: Include <string.h> for strsignal prototype.
9572 * locale/programs/ld-collate.c (check_duplicate): Allow repertoire
9575 * sysdeps/unix/sysv/linux/init-first.c (init): Add code from
9576 former init-first.h. Initialize __libc_multiple_libcs.
9578 2000-03-31 Ulrich Drepper <drepper@redhat.com>
9580 * iconv/skeleton.c: Define access macros with u suffix. Adjust
9581 #if expression for use of unaligned function to the one used in
9582 the definition of these functions.
9583 * iconv/loop.c: Undefined `unaligned' before recursive inclusion.
9584 * iconv/gconv_simple.c (internal_ucs4_loop_unaligned): New function.
9585 (internal_ucs4le_loop_unaligned): New function.
9587 * elf/Makefile (distribute): Add dep1.c, dep2.c, dep3.c, and dep4.c.
9589 (module-names): Add dep1, dep2, dep3, and dep4.
9590 Add dependencies for dep* modules and order.
9591 Define rule for order.out which checks the result.
9592 * elf/dep1.c: New file.
9593 * elf/dep2.c: New file.
9594 * elf/dep3.c: New file.
9595 * elf/dep4.c: New file.
9596 * elf/order.c: New file.
9598 * elf/dl-init.c: Fix typo in comment.
9600 2000-03-31 Andreas Jaeger <aj@suse.de>
9602 * sysdeps/mips/dl-machine.h (RTLD_START): Rewritten to match new
9603 init function interface.
9604 * sysdeps/mips/mips64/dl-machine.h (RTLD_START): Likewise.
9606 2000-03-31 Andreas Jaeger <aj@suse.de>
9608 * sysdeps/mips/fpu/fgetexcptflg.c: Fix last patch to use #if.
9609 * sysdeps/mips/fpu/fegetenv.c: Likewise.
9610 * sysdeps/mips/fpu/feupdateenv.c: Likewise.
9611 * sysdeps/mips/fpu/fclrexcpt.c: Likewise.
9612 * sysdeps/mips/fpu/fesetenv.c: Likewise.
9614 * sysdeps/generic/ldsodefs.h: DT_INIT_ARRAY is not relocated
9615 anymore, update comment.
9617 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
9619 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Remove
9620 SHLIB_COMPAT - the struct is always needed.
9622 2000-03-31 Ulrich Drepper <drepper@redhat.com>
9624 * sysdeps/i386/dl-machine.h (RTLD_START): Optimize for i686.
9625 * elf/dl-support.c: Define _dl_starting_up.
9627 2000-03-30 Ulrich Drepper <drepper@redhat.com>
9629 * elf/dl-init.c (_dl_init): Clear _dl_starting_up at end of function.
9630 * sysdeps/i386/dl-machine.h: Remove code to clear _dl_starting_up.
9632 * misc/sys/cdefs.h: Don't allow gcc in traditional mode to be used.
9634 * elf/Makefile (dl-routines): Remove preinit.
9635 * elf/Versions: Remove _dl_preinit.
9636 * elf/dl-preinit.c: Removed. Move content into...
9637 * elf/dl-init.c: ...here.
9638 * sysdeps/i386/dl-machine.h (RTLD_START): Remove call to _dl_preinit.
9640 * sysdeps/generic/bits/shm.h (struct shmid_ds): Correct names of
9643 2000-03-29 Geoff Clare <gwc@unisoft.com>
9645 * stdlib/strfmon.c: Corrected problems with the code that
9646 sets default values for [np]_sep_by_space and
9647 [np]_sign_posn; also the new positive/negative alignment
9648 code from the previous patch was not quite right for
9651 * localedata/tst-fmon.data: Changes corresponding to the
9652 two sets of fixes made to stdlib/strfmon.c.
9654 2000-03-29 Jes Sorensen <jes@pcatls01.cern.ch>
9656 * malloc/malloc.c: Declare bit flags UL so that they will not
9657 default to int size when being inverted.
9659 2000-03-29 Andreas Jaeger <aj@suse.de>
9661 * sysdeps/unix/sysv/linux/arm/errlist.c: Use shlib-compat macros.
9662 * sysdeps/unix/sysv/linux/arm/siglist.c: Likewise.
9664 2000-03-29 Andreas Jaeger <aj@suse.de>,
9665 Ralf Baechle <ralf@uni-koblenz.de>
9667 * Makeconfig: Introduce new variable SHARED to mark code used in
9669 * elf/dl-close.c: Use it instead of PIC.
9670 * elf/dl-load.c: Likewise.
9671 * elf/dl-open.c: Likewise.
9672 * hurd/geteuids.c: Likewise.
9673 * include/libc-symbols.h: Likewise.
9674 * include/shlib-compat.h: Likewise.
9675 * libio/freopen.c: Likewise.
9676 * linuxthreads/cancel.c: Likewise.
9677 * linuxthreads/pthread.c: Likewise.
9678 * linuxthreads/wrapsyscall.c: Likewise.
9679 * nss/nsswitch.c: Likewise.
9680 * stdio-common/vfprintf.c: Likewise.
9681 * sysdeps/arm/init-first.c: Likewise.
9682 * sysdeps/i386/init-first.c: Likewise
9683 * sysdeps/generic/init-first.c: Likewise.
9684 * sysdeps/generic/libc-start.c: Likewise.
9685 * sysdeps/mips/init-first.c: Likewise.
9686 * sysdeps/powerpc/elf/libc-start.c: Likewise.
9687 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
9688 * sysdeps/unix/sysv/linux/arm/siglist.c: Likewise.
9689 * sysdeps/unix/sysv/linux/arm/errlist.c: Likewise.
9690 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
9692 * sysdeps/mips/machine-gmon.h (asm): Use __PIC__ as check.
9694 2000-03-29 Andreas Jaeger <aj@suse.de>
9696 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_runtime_setup):
9697 Use D_PTR to access relocated entries in l_info.
9698 (elf_machine_rela): Likewise.
9700 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_runtime_setup):
9702 (elf_machine_rela): Likewise.
9704 * sysdeps/powerpc/dl-machine.c (__elf_machine_runtime_setup):
9706 (__elf_machine_fixup_plt): Likewise.
9707 (__process_machine_rela): Likewise.
9709 * sysdeps/m68k/dl-machine.h (elf_machine_runtime_setup): Likewise.
9710 (elf_machine_rela): Likewise.
9712 * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): Likewise.
9713 (elf_machine_rel): Likewise.
9715 * sysdeps/alpha/dl-machine.h (elf_machine_runtime_setup): Likewise.
9716 (elf_machine_fixup_plt): Likewise.
9717 (elf_machine_rela): Likewise.
9719 2000-03-29 Andreas Jaeger <aj@suse.de>
9721 * sysdeps/unix/sysv/linux/msgctl.c: Use shlib-compat macros.
9722 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
9723 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
9724 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Likewise.
9725 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
9726 * sysdeps/unix/sysv/linux/i386/msgctl.c: Likewise.
9727 * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Likewise.
9728 * sysdeps/unix/sysv/linux/i386/semctl.c: Likewise.
9729 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
9730 * sysdeps/unix/sysv/linux/i386/shmctl.c: Likewise.
9731 * sysdeps/unix/sysv/linux/alpha/msgctl.c: Likewise.
9732 * sysdeps/unix/sysv/linux/alpha/semctl.c: Likewise.
9733 * sysdeps/unix/sysv/linux/alpha/shmctl.c: Likewise.
9734 * sysdeps/unix/sysv/linux/alpha/adjtime.c: Likewise.
9735 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
9737 * sysdeps/unix/sysv/linux/alpha/oldglob.c: Use shlib-compat
9738 macros, remove K&R prototypes.
9740 2000-03-30 Ulrich Drepper <drepper@redhat.com>
9742 * posix/getopt.c (_getopt_internal): Return -1 if argc < 1.
9743 Reported by Andrew Wiseman <a.wiseman@bandc.dircon.co.uk>
9746 2000-03-30 Andreas Jaeger <aj@suse.de>
9748 * misc/sys/cdefs.h: Remove K&R support.
9750 2000-03-30 Ulrich Drepper <drepper@redhat.com>
9752 * iconv/skeleton.c: Avoid compiling unaligned versions in some
9754 * iconv/loop.c: Likewise.
9756 2000-03-29 Bruno Haible <haible@clisp.cons.org>
9758 * iconv/loop.c (put16): Remove __const. Fix access index.
9759 (put32): Remove __const. Use uint32_t instead of uint16_t.
9760 * iconv/skeleton.c: Likewise.
9762 2000-03-30 Roland McGrath <roland@baalperazim.frob.com>
9764 * mach/Versions (libc: GLIBC_2.0)
9765 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)]: Conditionalize
9766 __vm_allocate on this.
9767 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)]: Conditionalize
9768 mutex- and spinlock-related symbols on this.
9769 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)] (libc: HURD_CTHREADS_0.3):
9770 New version set. Lock-related symbols go here instead in this case.
9771 * sysdeps/mach/hurd/Versions (libc: GLIBC_2.0): Remove
9772 _cthread_exit_routine, _cthread_init_routine, cthread_keycreate,
9773 cthread_getspecific, cthread_setspecific, __libc_getspecific.
9775 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)] (libc: GLIBC_2.0):
9776 Put them here instead.
9777 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)] (libc: HURD_CTHREADS_0.3):
9778 New version set. Those cthreads symbols go here instead in this case.
9779 * Versions.def (libc) [USE_IN_LIBIO]: Add HURD_CTHREADS_0.3 version.
9781 2000-03-30 Ulrich Drepper <drepper@redhat.com>
9783 * elf/dl-init.c (_dl_init): We don't need to call constructors
9784 recursively. Fold _dl_init_rec in _dl_init and optimize a bit more.
9786 Implement dynamic determination of constructor/destructor order in
9788 * elf/Versions [ld.so] (GLIBC_2.0): Remove _dl_init_next.
9789 (GLIBC_2.2): Add _dl_init.
9790 * elf/dl-close.c: Also call all destructors in FINI_ARRAY.
9791 r_duplist is not anymore allocated separately. l_initfini is and
9792 therefore free it if necessary.
9793 * elf/dl-deps.c: If a searchlist has to be allocated, put all in one
9794 malloc block. Otherwise allocate l_initfini list only.
9795 Put dependencies for the object in l_initfini list.
9796 Sort dependencies for the object to be loaded topologically.
9797 * elf/dl-fini.c: Before running the destructors sort the topologically.
9798 * elf/dl-init.c (_dl_init): Renamed from _dl_init_next. Rewrite to
9799 call constructors instead of iterating over the pointers. Get list of
9800 objects for which to run constructors from l_initfini element. Accept
9801 argc, argv, and env as parameters and pass them to the constructors.
9802 * elf/ld-load.c (_dl_map_object_from_fd): Initialize l_ldnum member
9803 with size of dynamic section.
9804 * elf/dl-open.c (dl_open_worker): Only call _dl_init instead of
9805 _dl_init_next and calling constructors ourself.
9806 * elf/dl-preinit.c (_dl_preinit): Renamed from _dl_preinit_next.
9807 Take argc, argv, and env as parameters and pass them to the
9808 constructors. Rewrite to call all constructors and not iterate over
9810 * elf/dynamic-link.h: Don't relocate DT_FINI_ARRAY entry. Don't
9811 precompute l_initcount and l_preinitcount.
9812 * elf/link.h (struct link_map): Add l_ldnum member.
9813 Make l_phdr_allocated part of the bitfield. Remove l_runcount,
9814 l_initcount, and l_preinitcount. Add l_initfini.
9815 * sysdeps/generic/ldsodefs.h: Replace _dl_init_next prototype with
9817 * sysdeps/i386/dl-machine (RTLD_START): Rewrite to match new init
9819 * sysdeps/unix/sysv/linux/init-first.h: Removed.
9820 * sysdeps/unix/sysv/linux/Dist: Delete file here as well.
9821 * sysdeps/unix/sysv/linux/init-first.c [PIC]: Don't use
9822 SYSDEP_CALL_INIT. Make _init a strong alias of init. The calling
9823 conventions now match.
9825 * sysdeps/generic/libc-start.c: Calling __libc_init_first has no
9826 effect for shared objects. Don't emit message and call only for
9829 2000-03-29 Ulrich Drepper <drepper@redhat.com>
9831 * iconvdata/testdata/CSA_Z243.4-1985-1..UCS-2BE: Renamed from
9832 CSA_Z243.4-1985-1..UCS2.
9833 * iconvdata/testdata/ISO-8859-10..UCS-2BE: Renamed from
9836 2000-03-29 Andreas Jaeger <aj@suse.de>
9838 * include/unistd.h: Remove duplicate entry for __rmdir.
9839 Remove declaration of __mkdir since __mkdir is declared in
9842 * manual/creature.texi (Feature Test Macros): Fix typo, reported
9843 by Michael Deutschmann <michael@talamasca.ocis.net>.
9845 * sysdeps/mips/fpu/fclrexcpt.c: Use shlib-compat macros.
9846 * sysdeps/mips/fpu/fegetenv.c: Likewise.
9847 * sysdeps/mips/fpu/fesetenv.c: Likewise.
9848 * sysdeps/mips/fpu/feupdateenv.c: Likewise.
9849 * sysdeps/mips/fpu/fgetexcptflg.c: Likewise.
9851 2000-03-28 Andreas Jaeger <aj@suse.de>
9853 * sysdeps/i386/fpu/bits/mathinline.h (__sincos): Remove redundant
9854 declaration, the prototype is defined via bits/mathcalls.h.
9855 (__sincosf): Likewise.
9856 (__sincosl): Likewise.
9860 (__finite): Likewise.
9861 (__inline_mathcodeNP): New macro without prototype
9863 (__inline_mathcodeNP2): Likewise.
9864 (__inline_mathcodeNP3): Likewise.
9865 (__inline_mathcodeNP_): Likewise.
9866 (__inline_mathcodeNP2_): Likewise.
9867 (__inline_mathcodeNP3_): Likewise.
9868 (__inline_mathopNP): Likewise.
9869 (__inline_mathop_declNP): Likewise.
9870 (__inline_mathop_declNP_): Likewise.
9871 (__inline_mathcode_): Use __inline_mathcodeNP_.
9872 (__inline_mathcode2_): Use __inline_mathcodeNP2_.
9873 (__inline_mathcode3_): Use __inline_mathcodeNP3_.
9874 (__inline_mathop_decl_): Use __inline_mathop_declNP__.
9875 (__expm1l): Don't define prototype, the prototype is defined via
9881 (__atan2l): Likewise.
9886 (__fabsl): Likewise.
9904 (__sqrtl): Likewise.
9914 2000-03-28 Ulrich Drepper <drepper@redhat.com>
9916 * Makerules: If make variable md5 is defined to yes after
9917 generating dependencies generate MD5 sum for the object.
9919 * iconv/gconv_builtin.h: Fix length in transformation definition
9922 * iconvdata/TESTS: Use UCS-2BE instead of UCS2.
9924 * iconv/loop.c: Define get16, get32, put16, and put32 macros to
9925 allow as well reading from/writing to unaligned addresses on machines
9926 which don't support this in hardware. Use FCTNAME macro to define
9927 function name. Include the file a second time for platforms which
9928 need special unaligned handling.
9929 * iconv/skeleton.c: Define get16u, get32u, put16u, and put32u macros
9930 to access potentially unaligned addresses. These macros are intended
9931 to be used only outside the loops.
9932 (unaligned): New definition. In case the machine can handle unaligned
9933 access define as zero. Otherwise as a variable which is initialized
9934 as nonzero in case the buffer passed in at runtime is unaligned with
9935 respect to the character set encoding involved.
9936 Call aligned or unaligned looop functions according to unaligned
9938 * iconvdata/8bit-gap.c: Use get16, get32, put16, and put32 instead
9939 of direct casting pointer to potentially handle unaligned memory
9941 * iconvdata/8bit-generic.c: Likewise.
9942 * iconvdata/ansi_x3.110.c: Likewise.
9943 * iconvdata/big5.c: Likewise.
9944 * iconvdata/euc-cn.c: Likewise.
9945 * iconvdata/euc-jp.c: Likewise.
9946 * iconvdata/euc-kr.c: Likewise.
9947 * iconvdata/euc-tw.c: Likewise.
9948 * iconvdata/gbk.c: Likewise.
9949 * iconvdata/iso-2022-cn.c: Likewise.
9950 * iconvdata/iso-2022-jp.c: Likewise.
9951 * iconvdata/iso-2022-kr.c: Likewise.
9952 * iconvdata/iso646.c: Likewise.
9953 * iconvdata/iso_6937-2.c: Likewise.
9954 * iconvdata/iso_6937.c: Likewise.
9955 * iconvdata/johab.c: Likewise.
9956 * iconvdata/sjis.c: Likewise.
9957 * iconvdata/t.61.c: Likewise.
9958 * iconvdata/uhc.c: Likewise.
9959 * iconvdata/unicode.c: Likewise.
9960 * iconvdata/utf-16.c: Likewise.
9962 * locale/programs/simple-hash.c: Little optimizations. Remove K&R
9965 * malloc/Versions [libc] (GLIBC_2.2): Add mcheck_check_all.
9966 * malloc/mcheck.c (mcheck_check_all): Renamed from check_all and made
9968 * malloc/mcheck.h (mcheck_check_all): Declare.
9970 * stdio-common/Makefile (tests): Add tst-obprintf.
9972 2000-03-28 Roland McGrath <roland@baalperazim.frob.com>
9974 * sysdeps/generic/bits/sigthread.h: Clean up conditionals.
9975 Declare pthread_sigmask.
9977 * csu/version.c: Add 2000 to copyright years.
9978 Remove Emacs local variables section.
9980 2000-03-23 Bruno Haible <haible@clisp.cons.org>
9982 * iconv/gconv_int.h (__gconv_transform_ucs2little_internal,
9983 __gconv_transform_internal_ucs2little): Remove declarations.
9984 * iconv/gconv_simple.c (__gconv_transform_ucs2_internal,
9985 __gconv_transform_internal_ucs2): Never need to bswap_16.
9986 (__gconv_transform_ucs2reverse_internal,
9987 __gconv_transform_internal_ucs2reverse): Always need to bswap_16.
9989 2000-03-27 Roland McGrath <roland@baalperazim.frob.com>
9991 * include/shlib-compat.h (SHLIB_COMPAT): Make the test handle the
9992 obsoleting version not being defined at all, in which case the
9993 result is always true.
9995 * Makeconfig (preprocess-versions): New canned sequence for running
9996 cpp on shlib-versions and the like.
9997 (soversions.i): Use it.
9998 * Makerules (Versions.all, sysd-versions): Use it to preprocess the
9999 Versions.def and Versions files.
10001 2000-03-27 Ulrich Drepper <drepper@redhat.com>
10003 * stdio-common/tst-obprintf.c (main): Add another check to see
10004 obstack_printf handling all possible beginnings of the block
10005 inside an obstack chunk.
10007 * locale/programs/localedef.c: Use __malloc_initialize_hook to
10008 install mcheck handler.
10010 * libio/obprintf.c (_IO_obstack_vprintf): Fix one more memory
10013 2000-03-27 Roland McGrath <roland@baalperazim.frob.com>
10015 * stdio-common/tmpfile.c: Use <shlib-compat.h> macros.
10017 * include/shlib-compat.h: Conditionalize <abi-versions.h> include
10018 on [HAVE_ELF && DO_VERSIONING].
10020 2000-03-27 Ulrich Drepper <drepper@redhat.com>
10022 * stdio-common/tst-obprintf.c: New file.
10024 2000-03-26 Ulrich Drepper <drepper@redhat.com>
10026 * libio/genops.c (_IO_default_xsputn): Little optimization. Call
10027 _IO_OVERFLOW directly instead through __overflow.
10029 * locale/programs/localedef.c (construct_output_path): If path
10030 contains a / compute the end of the directory name correctly.
10032 * include/features.h: Undef and document __USE_XOPEN2K.
10034 * malloc/mcheck.c: Implement pedantic checking of all allocated blocks
10035 whenever a function is called. Initiated by calling mcheck_pedantic
10037 * malloc/mcheck.h: Declare mcheck_pedantic.
10038 * malloc/Versions [libc] (GLIBC_2.2): Add mcheck_pedantic.
10039 * locale/programs/localdef.c: Use mcheck_pedantic instead of mcheck
10042 2000-03-26 Roland McGrath <roland@baalperazim.frob.com>
10044 * dlfcn/dlopen.c: Use <shlib-compat.h> macros.
10045 * dlfcn/dlopenold.c: Likewise.
10046 * nss/getXXbyYY_r.c: Likewise.
10047 * nss/getXXent_r.c: Likewise.
10048 * hurd/hurdinit.c: Likewise.
10049 * hurd/compat-20.c: Likewise.
10050 * libio/oldiofopen.c: Likewise.
10051 * libio/oldiofclose.c: Likewise.
10052 * libio/oldiofdopen.c: Likewise.
10053 * libio/oldfileops.c: Likewise.
10054 * libio/oldstdfiles.c: Likewise.
10055 * libio/oldiofsetpos.c: Likewise.
10056 * libio/oldiofgetpos.c: Likewise.
10057 * libio/oldiofgetpos64.c: Likewise.
10058 * libio/oldiofsetpos64.c: Likewise.
10059 * libio/oldiopopen.c: Likewise.
10060 * libio/oldpclose.c: Likewise.
10061 * libio/oldtmpfile.c: Likewise.
10062 * libio/freopen.c (freopen): Likewise.
10063 * libio/iofclose.c (_IO_new_fclose): Likewise.
10065 * sysdeps/mach/sys/reboot.h: Include <features.h>.
10066 (reboot): Declare it.
10068 * libio/Makefile (headers): Add bits/stdio-lock.h here.
10070 * sysdeps/mach/hurd/bits/stdio-lock.h: New file.
10072 * include/shlib-compat.h: Include <abi-versions.h> unconditionally.
10074 * posix/unistd.h (intptr_t): Conditionalize on [__USE_MISC ||
10075 __USE_XOPEN_EXTENDED] rather than on [__USE_UNIX98].
10076 We need this for the sbrk decl, which can be included without Unix98.
10078 2000-03-20 Richard Henderson <rth@cygnus.com>
10080 * nis/nss_nis/nis-service.c (_nss_nis_getservbyport_r): Last
10081 argument to yperr2nss is an int, not size_t.
10082 * posix/regex.c (print_partial_compiled_pattern): Cast all
10083 ptrdiff_t to long for printing.
10084 (print_compiled_pattern): Use Z for printing size_t.
10085 * posix/testfnm.c (tests): Avoid trigraphs.
10086 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE):
10087 Use a C comment, not an assembly comment.
10089 * sysdeps/unix/sysv/linux/alpha/msgctl.c: Clarify use
10090 of __ASSUME_32BITUIDS.
10092 2000-03-26 Ulrich Drepper <drepper@redhat.com>
10094 * libio/iofopncook.c: Remove K&R prototypes.
10096 2000-03-26 Roland McGrath <roland@baalperazim.frob.com>
10098 * hurd/hurdrlimit.c (init_rlimit): Give the RLIMIT_NOFILE soft limit
10099 an initial value of 1024 instead of RLIM_INFINITY.
10101 * Versions.def (libmachuser, libhurduser): Remove these sections,
10102 since these libraries do not presently use symbol versions.
10104 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): If the resource limit
10105 is RLIM_INFINITY, return -1 instead.
10107 2000-03-24 Andreas Jaeger <aj@suse.de>
10109 * Makefile (postclean): Added soversions.i.
10111 2000-03-24 Scott Bambrough <scottb@netwinder.org>
10113 * sysdeps/arm/fpu/fpu_control.h: Define _FPU_MASK_IM, _FPU_MASK_ZM,
10114 _FPU_MASK_OM, _FPU_MASK_UM, _FPU_MASK_PM, _FPU_MASK_DM, _FPU_DEFAULT,
10115 and _FPU_IEEE. Change _FPU_RESERVED.
10117 2000-03-24 Scott Bambrough <scottb@netwinder.org>
10119 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: New file.
10121 2000-03-24 Roland McGrath <roland@baalperazim.frob.com>
10123 * sysdeps/posix/getaddrinfo.c: Include <net/if.h> for if_nametoindex.
10124 (gaih_inet): Remove unused duplicate variable.
10126 * inet/getnameinfo.c (getnameinfo): Use IFNAMSIZ, not MAXHOSTNAMELEN.
10127 Don't use __libc_sa_len, which only exists for Linux. Just handle
10128 AF_INET and AF_INET6 directly as well as AF_LOCAL, since those are the
10129 only flavors supported by this function anyway.
10131 2000-03-24 Geoff Clare <gwc@unisoft.com>
10133 * stdlib/strfmon.c: Corrected problems with missing signs and
10134 missing or extra spaces; allow for sign strings longer than
10135 one character; add padding to ensure positive and negative
10136 formats are aligned when a left precision is used.
10138 2000-03-26 Ulrich Drepper <drepper@redhat.com>
10140 * stdlib/random_r.c (__setstate_r): Allow RNGs of type 4.
10141 Patch by John Mizel <John.Mizel@msdw.com>.
10143 2000-03-25 Ulrich Drepper <drepper@redhat.com>
10145 * manual/install.texi: Remove references to crypt add-on.
10147 2000-03-25 Roland McGrath <roland@baalperazim.frob.com>
10149 * sysdeps/mach/hurd/setrlimit.c (setrlimit): Go into a critical
10150 section while taking the _hurd_rlimit_lock.
10151 * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
10153 2000-03-24 Roland McGrath <roland@baalperazim.frob.com>
10155 * Makerules [$(cross-compiling) = yes] (symbolic-link-prog): Define
10158 * sysdeps/mach/hurd/if_index.c: New file.
10160 * sysdeps/unix/sysv/linux/net/if.h: Moved to ...
10161 * sysdeps/gnu/net/if.h: here.
10162 (_IOT_ifconf, _IOT_ifreq): Hurd ioctl type macros moved from ...
10163 * sysdeps/mach/hurd/net/if.h: ... here; this file now removed.
10164 * sysdeps/generic/net/if.h: New file. Declares just the standard
10165 functions and `struct if_nameindex' type.
10166 * socket/Makefile (headers): Add net/if.h here.
10167 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Not here.
10168 * sysdeps/mach/hurd/Dist: Remove it here.
10169 * sysdeps/unix/sysv/linux/Dist: And here.
10170 * sysdeps/generic/if_index.c: Include <net/if.h>.
10172 2000-03-24 Andreas Jaeger <aj@suse.de>
10174 * sysdeps/mips/dl-machine.h (__dl_runtime_resolve): Use D_PTR to
10175 access relocated entries in l_info.
10176 (elf_machine_got_rel): Likewise.
10177 (elf_machine_runtime_setup): Likewise.
10178 * sysdeps/mips/mips64/dl-machine.h (elf_machine_got_rel): Likewise.
10179 (elf_machine_runtime_setup): Likewise.
10180 (__dl_runtime_resolve): Likewise.
10182 2000-03-23 Ulrich Drepper <drepper@redhat.com>
10184 * resolv/netdb.h (SCOPE_DELIMITER): New definitions.
10185 * inet/netinet/in.h (struct sockaddr_in6): Add sin6_scope_id
10186 according to RFC 2553.
10187 * sysdeps/posix/getaddrinfo.c: Change to follow latest RFC draft.
10188 * inet/getnameinfo.c: Likewise.
10189 Patches by YOSHIFUJI Hideaki <yoshfuji@v6.linux.or.jp>.
10191 2000-03-23 Bruno Haible <haible@clisp.cons.org>
10193 * iconv/gconv_simple.c (internal_ucs4_loop, internal_ucs4le_loop):
10194 Remove no-op pointer increment.
10196 2000-03-23 Andreas Jaeger <aj@suse.de>
10198 * stdio-common/tst-cookie.c (cookieseek): Change prototype to
10199 follow change for libio.h from 2000-03-10.
10201 2000-03-23 Andreas Jaeger <aj@suse.de>
10203 * elf/dl-addr.c: Adjust include paths for ldsodefs location
10205 * elf/dl-debug.c: Likewise.
10206 * elf/dl-deps.c: Likewise.
10207 * elf/dl-error.c: Likewise.
10208 * elf/dl-fini.c: Likewise.
10209 * elf/dl-init.c: Likewise.
10210 * elf/dl-load.c: Likewise.
10211 * elf/dl-lookup.c: Likewise.
10212 * elf/dl-minimal.c: Likewise.
10213 * elf/dl-object.c: Likewise.
10214 * elf/dl-open.c: Likewise.
10215 * elf/dl-preinit.c: Likewise.
10216 * elf/dl-profile.c: Likewise.
10217 * elf/dl-profstub.c: Likewise.
10218 * elf/dl-reloc.c: Likewise.
10219 * elf/dl-runtime.c: Likewise.
10220 * elf/dl-support.c: Likewise.
10221 * elf/dl-symbol.c: Likewise.
10222 * elf/dl-version.c: Likewise.
10223 * elf/rtld.c: Likewise.
10224 * elf/sprof.c: Likewise.
10225 * sysdeps/generic/dl-cache.c: Likewise.
10226 * sysdeps/generic/dl-origin.c: Likewise.
10227 * sysdeps/generic/dl-sysdep.c: Likewise.
10228 * sysdeps/generic/elf/backtracesyms.c: Likewise.
10229 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
10230 * sysdeps/generic/libc-start.c: Likewise.
10231 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
10232 * sysdeps/powerpc/dl-machine.c: Likewise.
10233 * sysdeps/powerpc/elf/libc-start.c: Likewise.
10234 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
10235 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
10236 * sysdeps/unix/sysv/linux/dl-origin.c: Likewise.
10238 * elf/ldsodefs.h: Move file to ...
10239 * sysdeps/generic/ldsodefs.h: ... here.
10241 * sysdeps/generic/ldsodefs.h: Add definition for D_PTR.
10243 * sysdeps/mips/elf/ldsodefs.h: New file.
10245 * elf/dl-version.c (match_symbol): Use D_PTR to access relocated
10247 (_dl_check_map_versions): Likewise.
10248 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
10249 * elf/dl-load.c (_dl_init_paths): Likewise.
10250 (_dl_map_object): Likewise.
10251 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Likewise.
10252 (elf_get_dynamic_info): Likewise.
10253 * elf/do-lookup.h (FCT): Likewise.
10254 * elf/do-rel.h (elf_dynamic_do_rel): Likewise.
10255 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
10256 * elf/dl-addr.c (_dl_addr): Likewise.
10257 * elf/dl-runtime.c (profile_fixup): Likewise.
10259 * elf/dl-init.c (_dl_init_next): Likewise.
10260 * sysdeps/generic/dl-machine.h (elf_machine_runtime_setup): Likewise.
10261 * sysdeps/unix/sysv/linux/i386/dl-librecon.h
10262 (DISTINGUISH_LIB_VERSIONS): Likewise.
10263 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup): Likewise.
10264 (elf_machine_rel): Likewise.
10266 * elf/dynamic-link.h (elf_get_dynamic_info): Only change l_info
10267 for writable dynamic section.
10269 2000-03-22 Ulrich Drepper <drepper@redhat.com>
10271 * inet/getnameinfo.c (getnameinfo): Check that addrlen value is
10272 large enough. Patch by YOSHIFUJI Hideaki <yoshfuji@v6.linux.or.jp>.
10274 2000-03-22 Andreas Jaeger <aj@suse.de>
10276 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MADV_*): Add flags
10277 from latest Linux kernel.
10279 2000-03-21 Andreas Jaeger <aj@suse.de>
10281 * Versions.def: Add version 2.1.4.
10283 2000-03-21 Ulrich Drepper <drepper@redhat.com>
10285 * libio/oldtmpfile.c: Update for new SHLIB_COMPAT definition.
10286 * libio/oldiofopen.c: Likewise.
10287 * libio/oldiofclose.c: Likewise.
10288 * sysdeps/unix/sysv/linux/errlist.c: Likewise.
10290 2000-03-22 Roland McGrath <roland@baalperazim.frob.com>
10292 * include/shlib-compat.h (SHLIB_COMPAT): Take a third argument,
10293 indicating the first version set to obsolete the conditionalized code.
10294 (compat_symbol): New macro.
10295 * scripts/abi-versions.awk: For subsumed versions, make ABI_* defn's
10296 rhs be the ABI_* macro for the subsuming version. Assign increasing
10297 integer values to the ABI_* macros for supported versions.
10298 * sysdeps/gnu/siglist.c: Use new SHLIB_COMPAT convention, and use
10299 compat_symbol macro.
10301 2000-03-21 Ulrich Drepper <drepper@redhat.com>
10303 * nscd/connections.c (nscd_run): Pretty print.
10304 * elf/dl-runtime.c: Include stdlib.h for alloca prototype.
10306 * manual/charset.texi: Fix typos. Rephrase.
10307 * manual/process.texi: Likewise.
10308 * manual/signal.texi: Likewise.
10309 Patches by Mike Coleman <mkc@kc.net>.
10311 * libio/oldtmpfile.c: Use new macros from shlib-compat.h to define
10313 * libio/iofdopen.c: Likewise.
10314 * libio/iofgetpos.c: Likewise.
10315 * libio/iofgetpos64.c: Likewise.
10316 * libio/iofopen.c: Likewise.
10317 * libio/iofsetpos.c: Likewise.
10318 * libio/iofsetpos64.c: Likewise.
10319 * libio/iopopen.c: Likewise.
10320 * libio/oldiofopen.c: Likewise.
10321 * libio/pclose.c: Likewise.
10322 * sysdeps/gnu/siglist.c: Likewise.
10323 * sysdeps/unix/sysv/linux/errlist.c: Likewise.
10325 * include/shlib-compat.h (versioned_symbol): Give preprocessor the
10326 chance to expand VERSION_##lib##_##version.
10328 * libio/fileops.c: Use new macros from shlib-compat.h to define
10330 * libio/iofclose.c: Likewise.
10331 * libio/oldiofclose.c: Likewise.
10332 Patch by Roland McGrath <roland@frob.com>.
10334 2000-03-21 Jakub Jelinek <jakub@redhat.com>
10336 * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h: Clean up namespace.
10337 Lay out struct sigcontext according to what really gets passed on
10339 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Don't include asm/elf.h.
10340 (elf_gregset_t, elf_greg_t, elf_fpregset_t, ELF_NGREG): Define.
10341 (prgregset_t, prfpregset_t): Define to elf_* types.
10342 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_WRITEDATA):
10343 Define to correct value.
10344 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h: Use struct
10346 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: Likewise.
10348 2000-03-21 Roland McGrath <roland@baalperazim.frob.com>
10350 * scripts/firstversions.awk: Allow multiple version sets in the
10351 "earliest version" specification, meaning that version sets in the
10352 gaps between listed versions should be folded into the earliest later
10353 version that is explicitly listed.
10354 * shlib-versions (mips.*-.*-linux.*): Use that syntax for to say
10355 we support GLIBC_2.0 and GLIBC_2.2 but not the intervening sets.
10357 2000-03-21 Ulrich Drepper <drepper@redhat.com>
10359 * iconv/gconv_builtin.c: Include <endian.h>.
10360 * iconv/gconv_builtin.h: Add UCS-BE aliases.
10361 Add UCS-4LE transformation. Define UNICODEBIG and UNICODELITTLE
10362 according to current platform.
10363 * iconv/gconv_int.h: Declare __gconv_transform_ucs2reverse_internal,
10364 __gconv_transform_internal_ucs2reverse, and
10365 __gconv_transform_internal_ucs4le.
10366 * iconv/gconv_simple.c: Implement __gconv_transform_internal_ucs4le,
10367 __gconv_transform_ucs2reverse_internal and
10368 __gconv_transform_internal_ucs2reverse.
10369 * iconvdata/Makefile (modules): Add UNICODE.
10370 (distribute): Add unicode.c.
10371 * iconvdata/gconv-modules: Add definitions for UNICODE module.
10372 * iconvdata/unicode.c: New file.
10374 * iconvdata/utf-16.c: Rewrite code to emit BOM. Correct code to
10375 determine byte order of input and convert accordingly.
10377 * iconvdata/utf-16.c (gconv_init): Fix typo.
10379 2000-03-20 Ulrich Drepper <drepper@redhat.com>
10381 * iconvdata/gconv-modules: Fix typo.
10383 * sysdeps/unix/sysv/linux/configure.in: Remove `crypt' from one
10386 * sysdeps/unix/sysv/aix/*: Add initial code for port to AIX 4.3.
10388 2000-03-16 Thorsten Kukuk <kukuk@suse.de>
10390 * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h: New.
10392 2000-03-20 Ulrich Drepper <drepper@redhat.com>
10394 * misc/Makefile (routines): Add mincore.
10396 2000-03-20 Andreas Jaeger <aj@suse.de>
10398 * sysdeps/generic/mincore.c: New stub file.
10400 * sysdeps/unix/sysv/linux/arm/bits/mman.h (MADV_*): Add flags
10401 from latest Linux kernel.
10403 2000-03-20 Ulrich Drepper <drepper@redhat.com>
10405 * grp/initgroups.c (compat_call): Use _SC_GETGR_R_SIZE_MAX instead of
10406 _SC_GETPW_R_SIZE_MAX.
10408 2000-03-20 Richard Henderson <rth@cygnus.com>
10410 * sysdeps/unix/sysv/linux/alpha/Versions: Put pciconfig_iobase
10413 2000-03-20 Richard Henderson <rth@cygnus.com>
10415 * sysdeps/alpha/fpu/fraiseexcpt.c: Use get/set_fp_control instead
10416 of arithmetic instructions.
10418 * sysdeps/alpha/fpu/s_ceil.c: Use round to -inf instead of playing
10419 with the fpcr. Protect from INV exception.
10420 * sysdeps/alpha/fpu/s_ceilf.c: Likewise.
10421 * sysdeps/alpha/fpu/s_floor.c: Protect from INV exception.
10422 * sysdeps/alpha/fpu/s_floorf.c: Likewise.
10424 * sysdeps/alpha/fpu/s_copysign.c: New.
10425 * sysdeps/alpha/fpu/s_copysignf.c: New.
10426 * sysdeps/alpha/fpu/s_fabs.c: New.
10427 * sysdeps/alpha/fpu/s_fabsf.c: New.
10428 * sysdeps/alpha/fpu/s_rint.c: New.
10429 * sysdeps/alpha/fpu/s_rintf.c: New.
10431 * sysdeps/unix/sysv/linux/alpha/bits/mman.h: Add MADV constants.
10433 * sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_routines):
10435 * sysdeps/unix/sysv/linux/alpha/Versions: Add pciconfig_iobase.
10436 * sysdeps/unix/sysv/linux/alpha/ioperm.c (all address constants):
10437 Use physical addresses not KSEG addresses.
10438 (io_system): Add PYXIS.
10439 (io): Remove hae.reg, sys, hae_shift.
10440 (stb_mb, stw_mb, stl_mb, __sethae): New.
10441 (inline_outb, inline_outw, inline_outl): Don't set hae.
10442 (inline_inb, inline_inw, inline_inl): Likewise.
10443 (dense_sethae): New null function.
10444 (struct cpuinfo_data): New.
10445 (process_cpuinfo): Use local and stack variables, not static.
10446 Move readlink check here from init_iosys.
10447 (init_iosys): Use __pciconfig_iobase first. Know SX and LX as PYXIS.
10449 (_hae_shift): Calculate it here.
10450 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove sethae,
10451 add pciconfig_iobase.
10453 2000-03-20 Roland McGrath <roland@baalperazim.frob.com>
10455 * locale/programs/ld-time.c (time_finish): Use %Z instead of %z.
10456 * locale/programs/ld-ctype.c (ctype_finish, ctype_class_new): Likewise.
10458 * scripts/versions.awk: Fixed version renaming code to distinguish
10459 libraries properly.
10461 2000-03-19 Ulrich Drepper <drepper@redhat.com>
10463 * include/stdlib.h: Add prototype for __cxa_atexit.
10465 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Update comment about
10466 _SLOWDOWN flags. Patch by Jim Blandy <jimb@cygnus.com>.
10468 2000-03-17 Cristian Gafton <gafton@redhat.com>
10470 * elf/Makefile ($(rtld-version-installed-name)): Delay replacing
10471 existing rtld-installed-name.
10472 ($(rtld-installed-name)): Request libc-$(version) be installed too.
10473 replace existing rtld-installed-name using $(symbolic-link-prog).
10475 2000-03-17 Roland McGrath <roland@baalperazim.frob.com>
10477 * locale/programs/ld-collate.c (collate_read): Remove bogus cast.
10478 (insert_value, handle_ellipsis, collate_read): Replace %zu in format
10479 strings with %Zu, because gcc-2.95.2's -Wformat knows about the latter
10480 but not the former.
10482 2000-03-19 Ulrich Drepper <drepper@redhat.com>
10484 * sysdeps/generic/glob.c [_LIBC]: Always use __xstat64, not only for
10485 glob64. Since there is no glob64 in the LFS proposal applications
10486 can assume that glob handles LFS situations. glob64 is only needed
10487 if alternative filesystem functions are used.
10489 2000-03-19 Geoff Clare <gwc@unisoft.com>
10491 * sysdeps/generic/glob.c: Correct gl_pathc value returned
10492 when GLOB_DOOFFS is set; correct handling of patterns
10493 containing escaped wildcards (and no unescaped ones);
10494 GLOB_ERR flag was being ignored in some situations.
10496 * posix/globtest.c, posix/globtest.sh: Updated to include
10497 tests for the problems fixed by the above changes to glob.c.
10499 * manual/pattern.texi (Calling Glob): Update description of gl_pathc.
10501 2000-03-19 Roland McGrath <roland@baalperazim.frob.com>
10503 * Makeconfig (soversion.i): Use only first match for each lib.
10505 * Makeconfig (soversion.i): Pass -undef to $(CC) -E.
10507 * Makerules (Versions.all, sysd-versions): Test $(sysd-sorted-done)
10508 rather than $(sysd-dirs-done) to protect these rules.
10510 * Makerules (version-renames.def): Target removed.
10511 (Versions.all): Depend on soversions.i directly and parse it.
10513 * Makeconfig (soversions.i): New target, input-reading parts of
10514 soversions.mk generation moved here; result is a canonicalized
10515 list "LIB VERSION [SET]" for this configuration.
10516 (soversions.mk): Use that as input. Don't emit map-firstversions.
10517 * Makerules (version-renames.def): New target, generated from
10518 soversions.i with contents that was in $(map-firstversions).
10519 (Versions.all): Don't depend on soversions.mk, depend on
10520 version-renames.def instead; just cat it into the input.
10522 * Makerules (Versions.all): Use $(foreach ...) instead of sh for loop
10523 for $(map-firstversions), which better handles it being empty.
10525 * shlib-versions [USE_IN_LIBIO] (.*-.*-gnu-gnu*): Set earliest
10526 supported version for libc 0.2.90.libio to GLIBC_2.2.
10528 * Makeconfig (soversions.mk): Grok new third column in shlib-versions,
10529 and use it to emit new variable `map-firstversions'.
10530 * scripts/firstversions.awk: New file.
10531 * Makerules (Versions.all): Use scripts/firstversions.awk and
10532 the $(map-firstversions) value to generate a modified versions list
10533 that includes renames in "A = B" syntax for each version set earlier
10534 than the "earliest symbol version" named in shlib-versions.
10535 * scripts/versions.awk: Recognize "A = B" lines in the input to mean
10536 rename version set A to B in the output to the intermediate file.
10537 * scripts/abi-versions.awk: New file.
10538 * Makerules (abi-versions.h): New target, generated by that script.
10539 [$(versioning) = yes] (before-compile): Prepend abi-versions.h.
10540 * include/shlib-compat.h: New file, uses that generated header.
10542 2000-03-18 Roland McGrath <roland@baalperazim.frob.com>
10544 * Makeconfig (soversions.mk): Convert % -> # in shlib-versions
10545 after stripping # comments, and then run it through cpp.
10546 This allows things like "%ifdef FOO" based on config.h settings.
10547 * shlib-versions [USE_IN_LIBIO] (.*-.*-gnu-gnu*): libc=0.2.90.libio
10549 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): For MACH_SEND_INTERRUPTED
10550 and other errors that indicate a pseudo-receive happened, grok through
10551 the message buffer for port rights that need references fixed up.
10553 2000-03-16 Andreas Jaeger <aj@suse.de>
10555 * sysdeps/unix/sysv/linux/syscalls.list: Added madvise and mincore.
10557 * sysdeps/unix/sysv/linux/madvise.c: Remove.
10559 * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MADV_*): Add flags
10560 from latest Linux kernel.
10561 * sysdeps/unix/sysv/linux/i386/bits/mman.h (MADV_*): Likewise.
10563 * misc/sys/mman.h: Add prototype for mincore.
10565 2000-03-17 Ulrich Drepper <drepper@redhat.com>
10567 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add oldsetrlimit
10568 entry for GLIBC_2.0 version of setrlimit.
10569 Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
10571 2000-03-16 Thorsten Kukuk <kukuk@suse.de>
10573 * nis/nss_nis/nis-ethers.c: Return with error if malloc fails.
10574 * nis/nss_compat/compat-initgroups.c: Likewise.
10575 * nis/nss_nis/nis-initgroups.c: Likewise.
10576 * nis/nss_nis/nis-netgrp.c: Likewise.
10577 * nis/nss_nis/nis-proto.c: Likewise.
10578 * nis/nss_nis/nis-rpc.c: Likewise.
10579 * nis/nss_nis/nis-service.c: Likewise.
10580 * nis/ypclnt.c: Likewise.
10582 2000-03-16 Andreas Jaeger <aj@suse.de>
10584 * manual/Makefile: MAKEINFO is set to `:' from configure if it
10585 doesn't exist, correct checks. Fixes PR libc/1649.
10587 2000-03-16 Thorsten Kukuk <kukuk@suse.de>
10589 * nscd/hstcache.c: Restore correct UID.
10590 * nscd/pwdcache.c: Likewise.
10591 Patch from Gabor Gombas <gombasg@inf.elte.hu>.
10593 2000-03-17 Roland McGrath <roland@baalperazim.frob.com>
10595 * sysdeps/i386/sys/ucontext.h: Prepend REG_ to enum values and
10596 macros for register names, in line with 2000-03-14 linux change.
10598 * sysdeps/mach/sched_yield.c: New file.
10600 2000-03-13 Roland McGrath <roland@baalperazim.frob.com>
10602 * sysdeps/generic/lockfile.c: Include <stdio.h>
10603 (_IO_flockfile, _IO_funlockfile, _IO_ftrylockfile): #undef these in
10604 case <libio.h> defined them.
10605 (__flockfile, __funlockfile, __ftrylockfile): Functions renamed
10607 (flockfile, _IO_flockfile, funlockfile, _IO_funlockfile,
10608 ftrylockfile, _IO_ftrylockfile): Fix aliases accordingly.
10610 * sysdeps/generic/bits/stdio-lock.h (_IO_lock_initializer): Use ...
10611 for more pleasing parse error.
10613 2000-03-16 Ulrich Drepper <drepper@redhat.com>
10615 * locale/lc-time.c (_nl_init_era_entries): Correct allocation of
10617 Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
10619 * elf/Makefile: Add rules to compile and run constload1 test.
10620 * elf/constload1.c: New file.
10621 * elf/constload2.c: New file.
10622 * elf/constload3.c: New file.
10624 2000-03-15 Ulrich Drepper <drepper@redhat.com>
10626 * sysdeps/posix/open64.c: Make __open64 weak alias.
10627 * sysdeps/posix/pread64.c: Make __pread64 weak alias.
10628 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
10629 * sysdeps/unix/sysv/linux/i386/pread64.c: Likewise.
10630 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
10631 * sysdeps/unix/sysv/linux/powerpc/pread64.c: Likewise.
10632 * sysdeps/posix/pwrite64.c: Make __pwrite64 weak alias.
10633 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
10634 * sysdeps/unix/sysv/linux/i386/pwrite64.c: Likewise.
10635 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
10636 * sysdeps/unix/sysv/linux/powerpc/pwrite64.c: Likewise.
10638 2000-03-14 Ulrich Drepper <drepper@redhat.com>
10640 * sysdeps/unix/sysv/linux/alpha/ioperm.c (platform): Add entry for
10641 Nautilus. Patch by Soohoon Lee <soohoon.lee@alpha-processor.com>.
10643 2000-03-16 Mark Kettenis <kettenis@gnu.org>
10645 * sysdeps/unix/sysv/linux/i386/sys/procfs.h (prfpregset_t):
10646 Typedef for elf_fpregset_t instead of `elf_fpregset_t *'.
10648 2000-03-08 Andreas Jaeger <aj@suse.de>
10650 * sysdeps/unix/sysv/linux/scsi/sg.h: Sync with Linux 2.3.50.
10652 2000-03-14 Ulrich Drepper <drepper@redhat.com>
10654 * timezone/africa: Update from tzdata2000d.
10655 * timezone/asia: Likewise.
10656 * timezone/australasia: Likewise.
10657 * timezone/europe: Likewise.
10658 * timezone/northamerica: Likewise.
10659 * timezone/southamerica: Likewise.
10661 * po/fr.po: Update from translation team.
10662 * po/de.po: Likewise.
10664 * elf/dl-deps.c (_dl_map_object_deps): Change return type and remove
10665 last parameter. Move code to add map to global scope from here...
10666 * elf/dl-open.c (dl_open_worker): ...here.
10667 * elf/ldsodefs.h: Adjust declaration of _dl_map_object_deps.
10668 * elf/rtld.c: Adjust call to _dl_map_object_deps.
10670 * locale/programs/ld-collate.c (collate_read): Fix warning.
10672 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Prepend REG_ to enum
10673 values and macros for register names.
10675 * libio/iofopncook.c (_IO_cookie_seek): Return error only if value
10676 returned by seek cookie function is -1.
10678 2000-03-14 Andreas Jaeger <aj@suse.de>
10680 * locale/localeconv.c (localeconv): Fix typo.
10681 Reported by Andre Charbonneau <andrec@corel.com>.
10683 2000-03-14 Ulrich Drepper <drepper@redhat.com>
10685 * iconv/skeleton.c: Increment __invocation_counter in inner loop
10686 since modules depend on it counting the number of times the conversion
10687 function got called.
10689 * iconv/gconv_open.c: Optimize loop to setup step data structure.
10691 * iconv/gconv.h: Pretty print.
10693 2000-03-04 Ulrich Drepper <drepper@redhat.com>
10695 * posix/wordexp-test.c: Correct one of the tests added in the last
10696 change. Really get the root passwd entry to check again ~root.
10698 2000-03-10 Andreas Jaeger <aj@suse.de>
10700 * manual/filesys.texi (Working Directory): Fix last patch.
10701 Patch by Martin Buchholz <martin@xemacs.org>.
10703 2000-03-10 Andreas Jaeger <aj@suse.de>
10705 * manual/creature.texi (Feature Test Macros): Fix language.
10707 2000-03-10 Roland McGrath <roland@baalperazim.frob.com>
10709 * mach/devstream.c (devstream_write, devstream_read): New functions.
10710 (input, output): Functions removed.
10711 (mach_open_devstream): Use devstream_{read,write} as cookie functions,
10712 using only the vanilla fopencookie interface.
10714 * hurd/fopenport.c [! USE_IN_LIBIO] (cookie_io_functions_t): Define
10715 as macro for __io_functions.
10716 (funcsio): Use cookie_io_functions_t type name.
10717 (fopenport): Renamed from __fopenport. Rewrite to call fopencookie.
10719 * libio/iofopncook.c (_IO_cookie_init): New function, broken out of
10721 (fopencookie): Use it.
10722 * libio/libio.h: Declare _IO_cookie_init.
10723 * hurd/vpprintf.c (vpprintf) [USE_IN_LIBIO]: Implement using
10726 * libio/libio.h (__io_seek_fn): Fix second argument type
10727 to be a pointer, in line with the manual and the old stdio.
10728 * libio/iofopncook.c (_IO_cookie_seek): Fix (sole) caller.
10730 * sysdeps/generic/bits/stdio-lock.h: New file.
10731 This is a stub with #error, but that's better than no file at all.
10733 2000-03-09 Martin Buchholz <martin@xemacs.org>
10735 * sysdeps/unix/sysv/linux/alpha/syscall.S: Doc Fixes.
10736 * manual/message.texi (Using gettextized software): Doc Fixes.
10737 * manual/message.texi (Message Translation): Doc Fixes.
10738 * manual/filesys.texi (File Size): Doc Fixes.
10739 * manual/charset.texi (glibc iconv Implementation): Doc Fixes.
10740 * locale/programs/ld-collate.c (collate_output): Doc Fixes.
10741 * iconv/gconv_db.c (find_derivation): Doc Fixes.
10742 * manual/install.texi: Doc Fixes.
10743 * manual/search.texi (Hash Search Function): Doc Fixes.
10744 * manual/stdio.texi (Output Conversion Syntax): Doc Fixes.
10745 * FAQ.in: Doc Fixes.
10746 * config.h.in: Doc Fixes.
10747 * sysdeps/generic/dl-sysdep.c: Doc Fixes.
10748 Doc Fixes. `allows to' is not correct English.
10750 * elf/rtld.c: Doc fixes.
10751 * manual/creature.texi (Feature Test Macros): Doc fixes.
10752 * manual/memory.texi (Hooks for Malloc): Doc Fixes.
10754 * manual/filesys.texi (Working Directory): Check for ERANGE to
10757 2000-02-23 Roland McGrath <roland@baalperazim.frob.com>
10759 * string/argz-stringify.c (__argz_stringify): Fix loop termination
10760 conditions so as not to clobber the final '\0' when there is only one
10761 element in the vector.
10763 2000-03-09 Roland McGrath <roland@baalperazim.frob.com>
10765 * io/sys/stat.h: Fix inverted sense of `defined __S_IFSOCK' test,
10766 broken by 2000-02-27 change.
10768 * sysdeps/generic/bits/poll.h (POLLRDNORM, POLLRDBAND): New macros.
10770 2000-02-23 Roland McGrath <roland@baalperazim.frob.com>
10772 * sysdeps/mach/hurd/sigstack.c (sigstack): Remove `const' from
10773 argument type, for 2000-02-22 change in signal/signal.h declaration.
10775 2000-03-09 Roland McGrath <roland@baalperazim.frob.com>
10777 * sysdeps/generic/getdents64.c (__getdirentries64): Renamed
10778 to getdirentries64 (no __), since the Linux implementation
10779 has no __ name, and there is no declaration for the __ name.
10781 * sysdeps/mach/bits/libc-lock.h (__libc_cleanup_end): New macro.
10783 * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Tighten up
10784 sed regexp so as not to break directory names including /../ within.
10786 * sysdeps/unix/bsd/bits/waitflags.h: File removed.
10787 The sysdeps/generic file is right for BSD. This file was in fact the
10788 Hurd file, but the only difference was the WNOREAP flag that was never
10789 actually implemented or used anywhere.
10791 * configure.in (PERL, INSTALL_INFO): Don't AC_SUBST these,
10792 since AC_PATH_PROG already does it for us.
10793 (PERL): Rewrite check added in 2000-02-29 change for syntactic
10794 correctness and sh portability. I replaced the broken check
10795 with a more sensible implementation of the apparently intended
10796 semantics, which might still be questionable. Using expr causes
10797 a non-numeric value for `perl -V:apiversion` to be accepted,
10798 refusing to use only a perl that reports a number less than 5;
10799 on my system, perl (5.004_04) -V:apiversion produces UNKNOWN.
10800 * configure: Regenerated.
10802 2000-03-08 Andreas Jaeger <aj@suse.de>
10804 * manual/crypt.texi: Fix paths.
10806 2000-03-07 Andreas Jaeger <aj@suse.de>
10808 * resolv/netdb.h: The descriptions of rresvport and rresvport_af
10810 Patch by YOSHIFUJI Hideaki <yoshfuji@ecei.tohoku.ac.jp>, closes PR
10813 2000-03-06 Andreas Jaeger <aj@suse.de>
10815 * sysdeps/i386/fpu/bits/mathinline.h: Fix union definition error
10816 in __sgn1l, otherwise g++ fails to parse this.
10817 Reported by Sean Chen <sean.chen@turbolinux.com>.
10819 2000-03-03 Geoff Keating <geoffk@cygnus.com>
10821 * configure.in: Compute sizeof-long-double.
10822 * configure: Regenerated.
10823 * config.make.in: Make sizeof-long-double available to sub-makes.
10825 2000-03-03 Ulrich Drepper <drepper@cygnus.com>
10827 * sysdeps/unix/sysv/linux/init-first.c: Remove trace of personality
10830 2000-03-03 Geoff Keating <geoffk@cygnus.com>
10832 * Makeconfig (rpath-dirs): Add crypt.
10833 (all-subdirs): Remove md5crypt.
10834 * crypt/sysdeps/unix/crypt.c: Move to crypt/.
10835 * crypt/sysdeps/unix/crypt-entry.c: Move to crypt/.
10836 * sysdeps/generic/crypt-entry.c: Delete.
10837 * crypt/sysdeps/unix/crypt.h: Move to crypt/.
10838 * sysdeps/generic/crypt.h: Delete.
10839 * crypt/sysdeps/unix/crypt-private.h: Move to crypt/.
10840 * crypt/sysdeps/unix/crypt_util.c: Move to crypt/.
10841 * crypt/sysdeps/unix/des_impl.c: Move to sunrpc/.
10842 * sysdeps/generic/des_impl.c: Delete.
10843 * crypt/sysdeps/unix/ufc-crypt.h: Move to crypt/.
10844 * crypt/sysdeps: Delete.
10845 * crypt/crypt_util.c: Don't use `patchlevel.h'.
10846 * md5-crypt/Versions: Move to crypt/.
10847 * md5-crypt/md5-crypt.c: Move to crypt/.
10848 * md5-crypt/md5.c: Move to crypt/.
10849 * md5-crypt/md5c-test.c: Move to crypt/.
10850 * md5-crypt/md5test.c: Move to crypt/.
10851 * md5-crypt: Delete.
10852 * crypt/Makefile: Adjust for new structure.
10854 2000-03-03 Paul Eggert <eggert@twinsun.com>
10856 * posix/regex.c (MB_LEN_MAX): Include <limits.h> to define;
10857 define to 1 if not defined.
10859 2000-03-03 Andreas Jaeger <aj@suse.de>
10861 * sunrpc/xdr.c (xdr_hyper): Correctly handle lower half of llp.
10863 2000-03-03 Andreas Jaeger <aj@suse.de>
10865 * sunrpc/xdr_intXX_t.c (xdr_uint16_t): Fix ENCODE and DECODE
10867 (xdr_int64_t): Correctly handle lower half.
10868 Fix by Sten Dahlgren <stda@enea.se>, closes PR libc/1623.
10870 2000-03-03 Ulrich Drepper <drepper@cygnus.com>
10872 * sysdeps/unix/sysv/linux/init-first.c: Remove trace of personality
10875 2000-03-02 Andreas Jaeger <aj@suse.de>
10877 * sysdeps/unix/sysv/linux/scsi/sg.h: Integrate changes from Linux
10880 2000-03-02 Andreas Jaeger <aj@suse.de>
10882 * resolv/Makefile (headers): Add arpa/nameser_compat.h.
10884 2000-03-01 Andreas Jaeger <aj@suse.de>
10886 * time/Makefile (tst-getdate-ENV): New flag to pass DATEMSK.
10887 (tests): Added tst-getdate.
10889 * time/tst-getdate.c: New file.
10891 * time/datemsk: New file, needed for tst-getdate.
10893 2000-02-29 Cristian Gafton <gafton@redhat.com>
10895 * configure.in (CCVERSION): Require at least veersion 5 of perl API.
10897 2000-02-17 H.J. Lu <hjl@gnu.org>
10899 * sunrpc/rpc/svc.h (SVCXPRT): Add a "xp_pad" field at the end.
10901 * sunrpc/svc_udp.c (svcudp_bufcreate): Turn on IP_PKTINFO if
10903 (svcudp_recv): Set up message with the new "xp_pad" field for
10905 (svcudp_reply): Support IP_PKTINFO if available.
10907 2000-03-01 Andreas Jaeger <aj@suse.de>
10909 * time/getdate.c (check_mday): Fix check for february.
10910 Reported by ane@np.bs1.fc.nec.co.jp and Akira YOSHIYAMA
10911 <yosshy@cts.ne.jp>, closes PR libc/1617 and PR libc/1619.
10913 2000-03-02 Andreas Jaeger <aj@suse.de>
10915 * posix/unistd.h: __THROW has to precede __attribute__, otherwise
10916 g++ fails to parse this.
10917 Reported by Sean Chen <sean.chen@turbolinux.com>.
10919 2000-02-28 Ulrich Drepper <drepper@redhat.com>
10921 * io/creat.c: Moved to...
10922 * sysdeps/generic/creat.c: ...here.
10923 * io/creat64.c: Moved to...
10924 * sysdeps/generic/creat64.c: ...here.
10925 * io/lockf.c: Moved to...
10926 * sysdeps/generic/lockf.c: ...here.
10928 * crypt/crypt.texi: Moved to...
10929 * manual/crypt.texi: ...here.
10930 * crypt/examples/genpass.c: Moved to...
10931 * manual/examples/genpass.c: ...here.
10932 * crypt/examples/mygenpass.c: Moved to...
10933 * manual/examples/mygenpass.c: ...here.
10934 * crypt/examples/testpass.c: Moved to...
10935 * manual/examples/testpass.c: ...here.
10937 * manual/Makefile (chapters): Add crypt.
10938 * manual/conf.texi: Add usual header for not-last chapter.
10939 * manual/crypt.texi: Add special header for last chapter.
10941 2000-02-28 Geoff Keating <geoffk@cygnus.com>
10943 * Makeconfig (all-subdirs): Add 'crypt' subdirectory.
10944 * sysdeps/unix/sysv/linux/configure.in (inhibit_glue): Don't
10945 complain if there is no crypt add-on.
10946 * crypt/configure: Removed.
10948 * crypt/crypt.texi: Update documentation of US export restrictions
10949 to match the 14 Jan 2000 regulations.
10951 2000-02-28 Geoff Keating <geoffk@cygnus.com>
10953 * crypt: New subdirectory, merged in from the crypt add-on.
10955 2000-02-28 Ulrich Drepper <drepper@redhat.com>
10957 * include/unistd.h: Add __rmdir and __mkdir prototypes.
10960 See ChangeLog.10 for earlier changes.